CN103092674A - Virtual machine system - Google Patents

Virtual machine system Download PDF

Info

Publication number
CN103092674A
CN103092674A CN 201210544726 CN201210544726A CN103092674A CN 103092674 A CN103092674 A CN 103092674A CN 201210544726 CN201210544726 CN 201210544726 CN 201210544726 A CN201210544726 A CN 201210544726A CN 103092674 A CN103092674 A CN 103092674A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
unit
virtual machine
system
user
template
Prior art date
Application number
CN 201210544726
Other languages
Chinese (zh)
Inventor
李瑞平
Original Assignee
北京伸得纬科技有限公司
国际伸得纬有限公司
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

Links

Abstract

The invention discloses a virtual machine system. The virtual machine system can create a plurality of mutually independent virtual machines to be used by a plurality of users simultaneously. The virtual machine system comprises an operating system unit, a template unit, a plurality of user data units and a unit combining technical architecture. Each unit has a respective file data structure and each unit is stored in a preset storage medium. Each unit is used for creating and storing user files and is used for operating application programs. An operating system, an application program, user data and the like of each virtual machine are processed independently. The operating data and files are respectively stored in units. The structure can excellently achieve backup / recover function of the virtual machine. The virtual machine system can improve the reliability of a computer information system obviously. In addition, the virtual machine system can bring more powerful flexibility and security to the using of terminal users.

Description

一种虚拟机系统 A kind of virtual machine system

技术领域 FIELD

[0001] 本发明涉及计算机技术领域,具体涉及并行的多个虚拟机的实现技术,尤其涉及一种新的虚拟机系统。 [0001] The present invention relates to computer technologies, and particularly relates to a technique implemented in parallel a plurality of virtual machines, particularly to a new virtual machine system.

背景技术 Background technique

[0002] 虚拟化是一个广义的术语,在计算机方面,通常是指:计算元件在虚拟的基础上,而不是真实的基础上运行。 [0002] Virtualization is a broad term, in terms of the computer, usually refers to: virtual computing element basis, rather than on the basis of the real operation. 虚拟化技术可以扩大硬件的容量,简化软件的重新配置过程。 Hardware virtualization technology can expand the capacity, simplifying software re-configuration process. (PU的虚拟化技术,可以单CPU模拟多CPU并行,允许一个平台同时运行多个操作系统,并且应用程序都可以在相互独立的空间内运行,而互不影响,从而显著提高计算机的工作效率与稳定性。 (PU of virtualization technology, a single CPU may simulate multi-CPU parallel, allows a platform to run multiple operating systems, and applications can be run independent of each other in space, independently of each other, thereby significantly improving the working efficiency of a computer and stability.

[0003] 现有技术中的虚拟机(VM, Virtual Machine),大都采用机器层虚拟(MachineLevel Virtualization)和操作系统层(OS Level Virtualization)虚拟技术,前者是以虚拟硬件平台来达到在一台电脑中,隔离出多个环境的虚拟机,后者是一种在操作系统层面中创建虚拟机的技术,可以将同一个操作系统划分成多个隔离的虚拟机环境。 [0003] The prior art virtual machine (VM, Virtual Machine), mostly using a virtual machine layer (MachineLevel Virtualization) and the operating system layer (OS Level Virtualization) technology virtualization, virtual hardware platforms former is achieved in a computer , the isolation of a virtual machine multiple environments, which is a technology to create a virtual machine at the operating system level, you can apply the same operating system into multiple isolated virtual machine environment.

[0004]目前大多数虚拟机产品主要是针对虚拟机内的虚拟磁盘做分层的技术,主要是用来制作快照与回滚,并不会自动的将虚拟机内的应用与资料分离出来当使用者在虚拟机内加入一个新的层时,虚拟机就会创建一个与虚拟机当前虚拟磁盘同大小的空白虚拟磁盘,此时,所有对虚拟磁盘的扇区(Sector)更动的异动资料,就会被记录到这个新建出来的虚拟磁盘上。 [0004] Most virtual machine products are mainly made of layered technology for virtual disks within a virtual machine, it is mainly used to make a snapshot and rollback, and does not automatically apply and when to separate data within the virtual machine when users add a new layer inside a virtual machine, the virtual machine creates a blank virtual disk and virtual machine virtual disks with the current size, in which case, all sectors of the virtual disk (sector) modifier of transaction data , it will be recorded on the new out of the virtual disk. 通常使用者会利用这个新的层,来保存之后的虚拟磁盘异动资料,当虚拟机发生状况时,就可以随时恢复未新增新层前的虚拟磁盘资料。 Usually users will take advantage of this new layer, the virtual disk data after the transaction to save, when a virtual machine has a condition that can restore virtual disk before the data did not add a new layer at any time. 这种分层机制并不会自动将虚拟机内的资料,依特性分成数个独立的层。 This layered mechanism does not automatically information in the virtual machine, depending on the characteristics of the layer is divided into several independent. 但这种分层技术带来的弊端也是显而易见的,比如当虚拟机出现故障并将用户的数据和应用程序叠加到正常的虚拟机上使用的时候,需要重新安装操作系统、软件和数据,此外,这种虚拟机的分层与硬件的耦合性太高,是无法在配置不同的虚拟机上使用。 But the evils of this layering technique is obvious, such as when the virtual machine fails and the user's data and applications when superimposed on the normal use of the virtual machine, you need to reinstall the operating system, software and data, in addition coupling stratification and hardware of this virtual machine is too high, can not be used on different virtual machine configuration.

发明内容 SUMMARY

[0005] 有鉴于此,本发明提供一种虚拟机系统,可构建多个相互独立的虚拟机,供若干用户同时使用,可以很好地实现虚拟机的备份/恢复功能,还为终端用户的使用带来了更加强大灵活的功能。 [0005] Accordingly, the present invention provides a virtual machine system may be constructed of a plurality of independent virtual machine, for a number of simultaneous users, a virtual machine can realize the backup / restore functionality, as well as end-user use bring a more powerful and flexible features.

[0006] 为了实现本发明的目的,提供以下具体方案: [0006] To achieve the object of the present invention, there is provided the following specific programs:

[0007] 本发明提供一种虚拟机系统,该系统可构建多个相互独立的虚拟机,供若干用户同时使用;包括操作系统单元、模板单元和若干用户数据单元,各单元具有各自的文件数据结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和运行应用程序,其中, [0007] The present invention provides a virtual machine system, the system can construct a plurality of independent virtual machine, for a number of simultaneous users; includes an operating system unit, a plurality of user units and the template data units each having a respective data file structure, and are stored in a predetermined storage medium, for creating, storing user files and run applications, wherein

[0008] 操作系统单元,包含有操作系统文件、系统配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配宿主系统; [0008] The operating system unit, with operating system files, the system configuration database for constructing a virtual operating system environment that provides the operating environment for the virtual machines, the host system calls and distribution;

[0009] 模板单元,用于存放应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; [0009] template unit for storing application software templates or related information for each virtual machine sharing, call, or a virtual machine dedicated;

[0010] 若干相互独立的用户数据单元,用于存储与管理各虚拟机的用户数据和/或文件,分别供各虚拟机专用; [0010] Several independent user data unit, for storing user data and management of virtual machines and / or files, respectively, dedicated for each virtual machine;

[0011] 单元合并技术框架,用于为各虚拟机的操作运行、文件处理提供支持; [0011] The frame unit combining techniques, to provide support for each virtual machine running operation, document processing;

[0012] 本虚拟机系统是以操作系统单元为基础,从所述模板单元获取应用软件模板或相关信息,再从用户数据单元中的数据进行叠加操作,保存在所述用户数据单元,组合成的合并数据单元当用户操作使用该虚拟系统时,所述单元合并技术框架基于所述单元模拟构建一虚拟的文件系统环境,然后通过图形外壳将界面推送给用户。 [0012] The present system is based on a virtual machine operating system unit basis, obtain information related application software from the template or the template unit, then superimposing operation data from the user data unit, data stored in the user unit, a combination of the combined data unit when the user operates using the virtual system, the frame unit combining technique of constructing a virtual file system based on the cell environment simulation, and the housing through the graphical user interface pushed.

[0013] 更适宜地,该虚拟机系统中,同一虚拟机可一次调用所述模板单元中的至少两个应用软件模板。 [0013] More suitably, the virtual machine system, the same virtual machine may invoke at least one of the two application software templates template unit.

[0014] 更适宜地,该虚拟机系统中,基于同一操作系统,可供至少两个虚拟机并行构建其运行环境,以及同时调用模板单元中的软件模板。 [0014] More suitably, the virtual machine system, based on the same operating system, a virtual machine for at least two parallel constructs which Runtime Environment, and the simultaneous calling software Templates Templates unit.

[0015] 更适宜地,该虚拟机系统中,对于任一虚拟机用户而言,系统单元及模板单元的操作权限为只读; [0015] More suitably, the virtual machine system, a virtual machine to any user, the system unit and the operating authority of the template unit is read-only;

[0016] 各虚拟机用户对其专用的数据单元的操作权限为;可读写、可删除,对其他虚拟机用户的数据单元不可进行读写操作。 [0016] Each virtual machine dedicated to their user rights data operation unit is; read-write, delete, data units of other virtual machines can not read and write user.

[0017] 本发明还提供一种虚拟机系统的实现方法,该虚拟机系统可构建多个相互独立的虚拟机,供若干用户同时使用;该方法包括: [0017] The present invention also provides a method for implementing a virtual machine system, the virtual machine system may construct a plurality of independent virtual machine, for several users simultaneously; the method comprising:

[0018] 在该虚拟机系统中设置操作系统单元、模板单元和用户数据单元,各单元具有各自的文件结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和应用程序,其中,所述操作系统单元,包含有操作系统文件、系统配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配硬件资源;所述模板单元,用于存放各种虚拟机环境信息、应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; [0018] In the virtual machine system is provided in the operating system unit, the template data unit and the user units each having a respective file structure, and are stored in a predetermined storage medium, for creating, storing user files and applications, wherein said operating system means includes operating system files, the system configuration database for constructing a virtual operating system environment that provides the operating environment for the virtual machine, the hardware resource allocation and call; the template unit for storing each kind of virtual machine environment information, application software templates or related information for each virtual machine sharing, call, or a virtual machine dedicated;

[0019] 所述若干用户数据单元,用于存储与管理用户数据和/或文件,分别供各虚拟机专用;以及 [0019] The plurality of user data unit for storing and managing user data and / or files, respectively, dedicated for each virtual machine; and

[0020] 设置单元合并技术框架,用于为各虚拟机的操作运行、文件处理提供支持; [0020] The frame setting unit combining techniques, to provide support for each virtual machine running operation, document processing;

[0021]当用户操作使用该虚拟机系统时,所述单元合并技术框架基于所述操作系统单元构建一虚拟的操作系统环境; [0021] When the user operates to use the virtual machine system, the frame unit combining technique based on the operating system to build a unit of the virtual operating system environment;

[0022] 从所述模板单元获取应用软件模板或相关信息或创建或处理相应文件; [0022] Get the application-related information from the template or templates or create a processing unit or the file;

[0023] 利用用户数据单元中的数据进行相应操作,并将修改信息及修改数据保存在所述用户数据单元。 [0023] user using the data in the corresponding data unit operation, modification information and to modify data stored in the user data unit.

[0024] 其中,单元合并技术框架处理文件的步骤具体包括: [0024] wherein the step of combining technique processing documents frame unit comprises:

[0025] 当虚拟机用户需要修改或调用模板单元中或操作系统单元中的文件,所述文件处理模块将该文件拷贝到用户数据层再进行修改,并将修改后的文件保存在所述用户数据单元,以供所述虚拟机用户后续使用。 [0025] When the user needs to modify the virtual machine or the template unit calls the operating system or the file unit, the file copy of the document processing module layer further modify the user data, and modifying the file stored in the user data unit to the user for subsequent use the virtual machine.

[0026] 本发明提供一种虚拟机系统的技术方案,可构建多个相互独立的虚拟机,供若干用户同时使用,各虚拟机中的操作系统、应用程序、用户数据等都是各自独立进行处理的,操作数据和文件分别存放在各自的单元中,这样的架构,可以很好地实现虚拟机的备份/恢复功能,采用本发明提供的虚拟机系统可显著提高了计算机信息系统的可靠性,另外,还为终端用户的使用带来了更加强大灵活性和安全性。 [0026] The technical solution of the present invention to provide a virtual machine system can be constructed of a plurality of independent virtual machine, for a number of simultaneous users, each virtual machine operating system, applications, user data and the like are each independently processing, operations and data files are stored in the respective cell, such architectures, can realize a virtual machine backup / restore functionality, the virtual machine system of the present invention can provide significantly improved the reliability of the computer information system in addition, also brings more powerful flexibility and security for the end user to use. 本发明可以根据客户需求将虚拟机内的资料,以不同属性或类别,分成不同独立的部分,以方便管理与维护。 The present invention may be based on customer demand information within the virtual machine to different classes or attributes, separate into different portions, to facilitate management and maintenance.

附图说明 BRIEF DESCRIPTION

[0027] 图1是本发明提供的虚拟机系统的原理示意图; [0027] FIG. 1 is a schematic view of the principles of the present invention to provide a virtual machine system;

[0028] 图2是本发明中提供的虚拟机系统工作方式的示意图; [0028] FIG. 2 is a schematic diagram of the virtual machine system work the present invention is provided;

[0029] 图3是本发明实施方案中提供的虚拟机系统架构示意图; [0029] FIG. 3 is a schematic diagram of architecture of the virtual machine system embodiment of the invention provided;

[0030] 图4是本发明实施例中提供的虚拟机系统的应用实例示意图。 [0030] FIG. 4 is a schematic example of application of the virtual machine system embodiment of the present invention is provided in the embodiment.

具体实施方式 Detailed ways

[0031] 现有虚拟机,如VMware (虚拟PC软件),主要是针对虚拟机内的虚拟磁盘做分层的技术。 [0031] existing virtual machines, such as VMware (Virtual PC software), mainly to do layered technology for virtual disks within a virtual machine. 当使用者在虚拟机内加入一个新的层时,虚拟机就会创建一个与虚拟机当前虚拟磁盘同大小的空白虚拟磁盘,此时,所有对虚拟磁盘的扇区(Sector)上经过修改的文件资料,就会被记录到这个新建出来的虚拟磁盘上。 When users add a new layer inside a virtual machine, the virtual machine creates a blank virtual disk and virtual disk with the size of the current virtual machine, in which case, modified on all sectors of the virtual disk (Sector) of documents, will be recorded on the new out of the virtual disk. 通常使用者会利用这个新的层,来保存之后的虚拟磁盘异动资料,当虚拟机发生状况时,就可以随时恢复未新增新层前的虚拟磁盘资料。 Usually users will take advantage of this new layer, the virtual disk data after the transaction to save, when a virtual machine has a condition that can restore virtual disk before the data did not add a new layer at any time. 此外,VMware的分层机制,并不会自动将虚拟机内的资料,依特性分成数个独立的层。 In addition, VMware's layered mechanism, does not automatically information in the virtual machine, depending on the characteristics of the layer is divided into several independent.

[0032] 本发明以用户的资料(比如说,相关文档、目录、配置数据库的键值等)为单位划分的,而不是以整个虚拟磁盘为单位进行划分。 [0032] The present invention user data (for example, related documents, directory, key configuration database, etc.) is divided in the unit, rather than the entire virtual disk is divided into units. 所以在客户的层里所存放的资料,不是磁盘的数据,而是目录、档案、配置数据库的键值等。 So in the customer's data layer in the storage, not disk data, but directories, files, and other key configuration database. 而且客户会主动将虚拟机内的资料,以各种不同的特性,分成数个独立的单元,以方便管理与维护。 And customers will take the initiative to the information in the virtual machine to a variety of different properties, divided into several independent units, to facilitate management and maintenance.

[0033] 本发明提供一种虚拟机系统的技术实现方案,并且虚拟机中的操作系统、应用程序、用户数据等都是分开来处理的,分别存放在不同的单元中,这样的架构,除了可以很好的实现虚拟机的备份/恢复功能之外,还为终端用户的使用带来了更加强大灵活的功能。 [0033] The present invention provides a technical scheme implemented virtual machine system, the virtual machine and the operating system, applications, user data are separately processed are stored in different units, such architectures, in addition to It can be a good backup of virtual machines / beyond recovery, but also brings more powerful and flexible functionality for end users to use.

[0034] 如图1所示,在使用本发明的虚拟机系统架构中,除设置有操作系统单元、模板单元外,还设置有若干相互独立的用户数据单元,用于存储与管理各虚拟机的用户数据和/或文件,分别供各虚拟机专用。 [0034] 1, using the present invention, a virtual machine system architecture is provided in addition to the operating system means, the template element, also provided with a plurality of independent user data unit, for storage and management of the virtual machines user data and / or files, respectively, dedicated for each virtual machine. 每一个虚拟机都是直接运行在主机操作系统之上,再由虚拟机里的程序内核来统一协调管理的。 Each virtual machine is run directly on top of the host operating system, and then by the virtual machine's kernel to the harmonization of management. 特别需要指出的是,使用本发明的虚拟机系统与包括VMware等现有的单个虚拟机一样拥有各式各样的虚拟设备,例如虚拟磁盘、虚拟声卡、虚拟网卡、虚拟摄像头等。 Of particular note is the use of a virtual machine system of the present invention include existing VMware and other virtual machines as a single virtual possess a wide range of devices, such as virtual disk, virtual sound card, virtual card, virtual cameras. 并且,因为本产品/技术是利用主机操作系统来模拟周边设备的,所以使用本发明的虚拟机系统,可以支持热插拔与共享,这使得虚拟设备的使用更加的灵活。 Further, since the product / technology is the use of the host operating system to emulate the peripheral devices, the virtual machine system of the present invention, and sharing hot swappable, which makes use of virtual devices more flexible.

[0035] 本发明提供的虚拟机系统中,自动将每个虚拟机分成至少三个虚拟单元,每一单元都有独立的文件、目录和配置数据库,这三个虚拟单元的所在位置既可以是主机本地磁盘,也可以是服务器、网盘、U盘、加密盘等指定存储介质。 [0035] The virtual machine system of the present invention provided herein, each virtual machine is automatically divided into at least three dummy cells, each cell has its own files, directories and configuration database, the location of these three virtual cell can be both host a local disk, it can also be a server, network disk, U disk, encryption, disk and other designated storage media.

[0036] 参照图2,本发明提供的一种虚拟机系统,该系统中可构建多个相互独立的虚拟机VMl,VM2...VMn,供若干虚拟机用户同时使用; [0036] Referring to FIG. 2 A virtual machine system provided by the present invention, the system may construct a plurality of independent virtual machine VMl, VM2 ... VMn, for a number of users simultaneously using the virtual machine;

[0037] 用户只需采用虚拟机终端设备VMT(VMT,Virtual Machine Terminal),VMT通常只有显示器、键盘和鼠标,该VMT通过物理连接设备连接到虚拟机系统主机(或者称作'虚拟机系统服务器')进行操作使用,就如同在一个独立的PC机上操作一样。 [0037] The user simply virtual terminal apparatus VMT (VMT, Virtual Machine Terminal), VMT usually only a display, keyboard, and mouse, the VMT system connected to the virtual machine host device through a physical connection (otherwise known as a 'virtual server system ') is operated using, just as in a separate operation on the PC the same. 各用户的虚拟机相互独立,各自的数据文件也各自保存在主机上或其他指定的存储介质上。 Each user independent virtual machines, each of the respective data files stored on the host or other designated storage medium. [0038] 图3所示为本发明实施例中提供的虚拟机系统架构示意图。 [0038] FIG. 3 is a schematic architecture of a virtual machine system according to the invention provided in the embodiment shown in FIG.

[0039] 参照图3,该虚拟机系统300包括操作系统单元31、模板单元32和用户数据单元33,各单元具有各自的文件数据结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和运行应用程序,其中, [0039] Referring to Figure 3, the virtual machine operating system 300 includes a system unit 31, the template 32 and the unit 33 user data unit, each unit having a respective data file structure, and are stored in a predetermined storage medium, for creating, storing user files and run applications, which,

[0040] 操作系统单元31,包含有操作系统文件、系统配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配硬件资源; [0040] The operating system unit 31, a file containing an operating system, a database system is configured for constructing a virtual operating system environment that provides the operating environment for the virtual machine, and the allocation of hardware resources calls;

[0041] 模板单元32,用于存放各种虚拟机环境信息、应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; [0041] template unit 32 for storing various virtual machine environment information, application software templates or related information for each virtual machine sharing, call, or a virtual machine dedicated;

[0042] 若干个相互独立的用户数据单元33,用于存储与管理各虚拟机的用户数据和/或文件,分别供各虚拟机专用; [0042] The number of independent user data unit 33, for storing user data and management of virtual machines and / or files, respectively, dedicated for each virtual machine;

[0043] 单元合并技术框架34,用于为各虚拟机的操作运行、文件处理提供支持; [0043] The combined technology unit frame 34, for providing support for each virtual machine running operation, document processing;

[0044]当用户操作使用该虚拟机系统时,所述单元合并技术框架基于所述操作系统单元构建一虚拟的操作系统环境,从所述模板单元获取应用软件模板或相关信息或创建或处理相应文件,利用用户数据单元中的数据进行相应操作,并将修改信息及修改数据保存在所述用户数据单元。 [0044] When the user operates to use the virtual machine system, the frame constructing unit combining technique and a virtual operating system environment based on the operating system unit, the application unit acquires related information from the template or templates or create or handle a corresponding file, user data unit using the data in the corresponding operation, and the modification information to modify data stored in the user data unit.

[0045] 所述单元合并技术框架34包括下述模块中至少之一: [0045] The merging unit 34 comprises at least one of the technical framework of the following modules:

[0046] 合并处理模块,用于在虚拟机系统中,将用户数据单元覆盖模板单元、模板单元覆盖系统单元,对相关的文件进行操作和处理,以将所述用户数据单元、模板单元及操作系统单元合并为一个文件系统; [0046] Merge processing module for the virtual machine system, the user data unit cover unit template, the template unit covers the system unit, the relevant documents for handling and processing, to the user data unit, the operating unit, and the template system unit into a single file system;

[0047] 新增处理模块,用于将新增的用户数据定位到用户数据单元; [0047] Add a processing module for the new user data to the user data unit is positioned;

[0048] 删除处理模块,用于删除用户单元数据; [0048] The deletion processing module, configured to delete the user data unit;

[0049] 修改处理模块,用于对用户数据单元的数据直接修改,对于其他单元的数据采用拷贝到用户数据单元后修改。 [0049] The modification processing module for user data directly modify the data unit, the data to other units using the modified copy to the user data unit.

[0050] 所述应用软件相关信息包括下述信息中至少之一: [0050] The application-related information includes at least one of the following information:

[0051] 目录、文件、配置数据库。 [0051] directories, files, configuration database.

[0052] 模板单元32中存放的应用软件模板或相关信息可动态调整,构建需要将新的软件模板或相关信息加入所述模板单元中,或者删除模板单元中已有的软件模板或相关信 [0052] The template storing unit 32 in the software application, or the template information can be dynamically adjusted, we need to build new software related information is added to the template or the template unit or deletes the template of existing software unit or templates associated channel

肩、O Shoulder, O

[0053] 操作系统单元31、模板单元32和用户数据单元33的文件与数据可存放在以下存储介质中至少之一: [0053] The operating system unit 31, the template 32 and the user data unit and the data file unit 33 may be stored in a storage medium, at least one of the following:

[0054] 本地磁盘、服务器、外挂硬盘、闪存盘。 [0054] local disk, server, external hard drives, flash drives.

[0055] 该虚拟机系统中,同一虚拟机可一次调用所述模板单元中的至少两个应用软件模板。 [0055] The virtual machine system, the same virtual machine may invoke at least one of the two application software templates template unit.

[0056] 该虚拟机系统中,基于同一操作系统,可供至少两个虚拟机并行构建其运行环境,以及同时调用模板单元中的软件模板。 [0056] The virtual machine system, based on the same operating system, for at least two virtual machines running in parallel to build their environment, and at the same time calling software template template unit.

[0057] 该虚拟机系统中,按照显示优先级划分依次为操作系统单元31、模板单元32及用户数据单元33 ; [0057] The virtual machine system, according to the display order of the prioritization unit 31 operating system, user data and the template unit 32 unit 33;

[0058] 该虚拟机系统中,对于任一虚拟机用户而言,系统单元及模板单元的操作权限为只读;[0059] 该虚拟机系统中,各虚拟机用户对其专用的数据单元的操作权限为;可读写、可删除,对其他虚拟机用户的数据单元不可进行读写操作。 [0058] The virtual machine system, a virtual machine to any user, the system unit and the operating authority of the template unit is read-only; [0059] The virtual machine system, each virtual machine for its specific user data units operation permissions; read-write, delete, data units of other virtual machines can not read and write user.

[0060] 下面结合具体实施例进一步说明本发明实施例的技术方案。 [0060] The following specific examples further illustrate the technical solutions in conjunction with embodiments of the present invention.

[0061 ] 本发明的具体实施例中的虚拟机系统包括: [0061] Specific embodiments of the present invention, the virtual machine system comprising:

[0062] (I)操作系统单元:用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配硬件资源; [0062] (I) the operation system unit: for constructing a virtual operating system environment that provides the operating environment for the virtual machine, and the allocation of hardware resources calls;

[0063] 具体地,当操作运行某一虚拟机时,从该操作系统单元获取相关的系统文件和系统配置数据库,为某一虚拟及构建一个新的操作系统环境。 [0063] Specifically, when a running operation of the virtual machine, the relevant unit acquires the system configuration database and the file system from the operating system, and is a virtual construct a new operating system environment.

[0064] (2)模板单元:用于存放各种虚拟机环境信息、应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用;可以供各虚拟机共享,也可单独为某一个或多个虚拟机使用。 [0064] (2) form unit: a virtual machine environment for storing various information, software application, or the template information for each virtual machine shared, private call, or a virtual machine; for each virtual machine can be shared, also may be used alone to use one or more virtual machines. 具体地,把各种虚拟机环境、应用软件(如office、QQ等应用程序)打包成模板并集中管理,使用者可以随时选择需要的样版,而不需要使用者进行软件安装,只要模板里面有所需要的软件,用户进行选择即可使用。 Specifically, the various virtual machine environments, applications (such as office, QQ and other applications) packaged into templates and centralized management, the user can select the desired sample version at any time, without requiring the user to install the software, as long as the template inside in need of software, the user can choose to use.

[0065] 本发明的模板构建技术方案是从分层技术延伸出来的,通过捕捉安装某款应用程序前后,系统文件的变化来制作模板的。 [0065] template constructs of the invention from the aspect of extending out of the layering technology, to create a template by mounting a section for the capture application changes, the file system. 但最大不同的地方是,本发明的模板存放的是索引信息,如目录、文件、配置数据库等,而不是具体的磁盘扇区数据。 But the biggest difference is the template of the present invention is stored in the index information, such as directories, files, configuration database, rather than specific disk sector data. 因此,本产品/技术的模板不会绑死虚拟磁盘的大小,虚拟机要使用模板时,虚拟机的虚拟磁盘不需要与制作模板时的虚拟磁盘大小相同,任何的虚拟机,不管它的虚拟磁盘多大,都可以使用同一个模板,不需重复制作。 Therefore, the template of this product / technology will not die tied to the size of the virtual disk when the virtual machine is using a template, the virtual machine's virtual disk and virtual disk does not require the same time making the size of the template, any virtual machine, regardless of its virtual how much disk, you can use the same template, without duplication of production. 此外,本发明的模板也可以随意组合,没有任何顺序上的限制,所占用的储存空间也要小得多。 Further, the template of the present invention may be freely combined, without any limitation on the order, but also the space occupied by much smaller storage.

[0066] 若希望在模板单元里放入一个应用软件程序,如图3所示,首先将软件程序安装在虚拟机系统中,正如在本地电脑安装普通的软件程序一样,软件安装后,在模板单元里产生该软件的配置数据库信息和文件信息,并把这两类信息放到模板单元中保存。 [0066] When placed in a desired form units in a software application program, shown in Figure 3, the first software program installed in the virtual machine system, as common software programs installed in the same local computer, the software installed in the template generating unit in the configuration database information and file information of the software, and these two types of information into the template saving unit. 同时,在模板单元使用某一个软件的时候,系统单元会调用和分配硬件资源(如内存)。 Meanwhile, when the template unit using a piece of software, the system unit will call and allocation of hardware resources (such as memory). 这样,如果多个用户使用同一个软件模板(如office办公软件),只需使用同一个程序内核即可完成软件共用。 Thus, if multiple users use the same software templates (such as office software), simply use the same procedure to complete the software kernel shared.

[0067] 例如,在一个Windows7的虚拟环境中创建一个20G的虚拟磁盘(本产品/技术的虚拟机无需安装操作系统)。 [0067] For example, create a virtual disk 20G in a virtual environment in Windows7 (product / technology of virtual machines without having to install the operating system). 接着,以这个Windows7的环境为基础,安装一套0ffice2007办公应用软件。 Then, this environment is based on Windows7, install a 0ffice2007 office applications. 这时,可以制作出一个Off ice2007的模板,这个模板的内容记录了在Windows7上安装0ffice2007时在操作系统的文件系统、注册表(即系统配置数据)等产生的数据修改。 At this point, you can create a template Off ice2007 of the contents of the template record the installation (ie, the system configuration data) in the operating system's file system, registry 0ffice2007 isochronous data modification generated on Windows7. 由于模板里记录的是高阶的资料,所以,这个0ffice2007的模板就能用在任何的采用本发明的虚拟机中,而不是只能用在与刚刚制作模板的Windows7虚拟机配置一模一样的虚拟机中。 Since the template record high order data, so this template 0ffice2007 will be able to be used in any virtual machine of the present invention, rather than just making and can only be used in Windows7 virtual machine configuration template exactly the same virtual machine in. 假设再以刚刚的Wind0ws7环境为基础,再安装一套MSN2011程序软件,这时,同样可以制作出一个MSN2011的模板,而这个模板也同样能用在任何使用本发明的虚拟机中。 Then to assume that just based on the Wind0ws7 environment, and then install a software program MSN2011, then, we can also produce a MSN2011 template, and this template also can be used in any virtual machine using the present invention. 倘若想要在虚拟机中,同时出现0ffice2007与MSN2011时,就只要直接把MSN2011的Image与0ffice2007的模板合并使用就行了,不需要重新制作同时包含MSN2011 与0ffice2007 的模板。 If you want the virtual machine, while there 0ffice2007 when MSN2011, as long as it directly MSN2011 the Image and the template used in combination 0ffice2007 on the line, do not need to re-create the template contains MSN2011 of 0ffice2007.

[0068] (3)用户数据单元: [0068] (3) user data unit:

[0069] 本发明实施例中提供的虚拟机系统中,设置有若干个相互独立的用户数据单元,用于存储与管理各虚拟机的用户数据和/或文件,分别供各虚拟机专用;在本发明具体实施方案中,用户可以看到和使用系统单元和模板单元的文件、软件等信息。 [0069] The virtual machine system of the present invention provided in the embodiment, is provided with a plurality of independent user data unit for user data storage and management of virtual machines and / or files, respectively, dedicated for each virtual machine; in specific embodiments of the present invention, the user can see the information and use the file system unit and the template unit software. 若创建新的文件或安装新的软件,首先在系统单元和模板单元查看是否存在,如果没有,则直接创建文件或安装软件;用户所需文件在系统单元或模板单元;若要使用或修改系统单元或模板单元的文件、软件等信息,那么用户需要将其拷贝到用户数据单元;在数据单元进行修改并保存相关的修改信息,也就是说,用户调用软件所发生的配置修改或产生的文件修改信息都保存在用户数据单元中。 If you create a new file or install new software in the system unit and the first unit to see if there is a template, if not directly create files or install the software; the desired user template file in the system unit or unit; to use or modify the system unit or template units, software and other information, then the user needs to be copied to the user data unit; modify the data unit and save the changes related information, that is, the user invokes the software configuration changes that occur or produce documents modify information stored in the user data unit. 如果用户再次调用模板单元或系统单元的文件或软件,只需将之前存放的原始文件与在数据单元保留的修改文件进行叠加后使用、保存即可,这样在任何一台安装有本发明的虚拟机上,用户都可以随时使用自己修改的文件或使用的应用程序,而无需重新修改或编辑原有文件。 If the user invokes the template unit or system files or software unit again, just before the original file stored with superimposed modify files in the data unit reserved for use, save it, so any virtual one equipped with the present invention on the computer, the user can always use the application file, or use your own modified without re-modify or edit the original file.

[0070] 所述模板单元中存放的应用软件模板或相关信息可动态调整,构建需要将新的软件模板或相关信息加入所述模板单元中,或者删除模板单元中已有的软件模板或相关信 [0070] unit in the template stored in the template or the application related information can be dynamically adjusted to the needs of building new software related information is added to the template or the template unit or deletes the template of existing software unit or templates associated channel

肩、O Shoulder, O

[0071] 本发明还提供一种虚拟机系统的实现方法,该虚拟机系统可构建多个相互独立的虚拟机,供若干用户同时使用;该方法包括: [0071] The present invention also provides a method for implementing a virtual machine system, the virtual machine system may construct a plurality of independent virtual machine, for several users simultaneously; the method comprising:

[0072] 在该虚拟机系统中设置操作系统单元、模板单元和用户数据单元,各单元具有各自的文件结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和应用程序,其中,所述操作系统单元,包含有操作系统文件、系统配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配;所述模板单元,用于存放应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; [0072] In the virtual machine system is provided in the operating system unit, the template data unit and the user units each having a respective file structure, and are stored in a predetermined storage medium, for creating, storing user files and applications, wherein said operating system means includes operating system files, the system configuration database for constructing a virtual operating system environment that provides the operating environment for the virtual machine, and call distribution; the template unit for storing application software templates or related information for each virtual machine sharing, call, or a virtual machine dedicated;

[0073] 所述若干用户数据单元,用于存储与管理用户数据和/或文件,分别供各虚拟机专用;以及 [0073] The plurality of user data unit for storing and managing user data and / or files, respectively, dedicated for each virtual machine; and

[0074] 设置单元合并技术框架,用于为各虚拟机的操作运行、文件处理提供支持; [0074] The frame setting unit combining techniques, to provide support for each virtual machine running operation, document processing;

[0075] 从所述模板单元获取应用软件模板或相关信息或创建或处理相应文件; [0075] Get the application-related information from the template or templates or create a processing unit or the file;

[0076] 利用用户数据单元中的数据进行相应操作,并将修改信息及修改数据保存在所述用户数据单元;组合成的合并数据单元当用户操作使用该虚拟系统时,所述单元合并技术框架基于所述单元模拟构建一虚拟的文件系统环境。 [0076] The use of user data in the corresponding operation unit, and the modification information to modify data stored in the user data unit; when combined merged into a data unit when the user operates to use the virtual system, the frame unit combining technique constructing a virtual file system based on the cell environment simulation. 然后通过图形外壳将界面推送给用户。 Graphical interface shell is then pushed to the user.

[0077] 所述单元合并技术框架处理文件的步骤具体包括: [0077] The step of combining technique processing documents frame unit comprises:

[0078] 当虚拟机用户需要修改或调用模板单元中或操作系统单元中的文件,所述文件处理模块将该文件拷贝到用户数据层再进行修改,并将修改后的文件保存在所述用户数据单元,以供所述虚拟机用户后续使用。 [0078] When the user needs to modify the virtual machine or the template unit calls the operating system or the file unit, the file copy of the document processing module layer further modify the user data, and modifying the file stored in the user data unit to the user for subsequent use the virtual machine.

[0079] 本发明提供的虚拟机系统,其中的同一虚拟机可一次调用所述模板单元中的至少两个应用软件模板。 [0079] The virtual machine system of the present invention is provided, wherein the same virtual machine may be a software application calling the at least two templates in the template unit.

[0080] 另外,基于同一操作系统,可供至少两个虚拟机并行构建其各自的运行环境,以及同时调用模板单元中的软件模板。 [0080] In addition, based on the same operating system, virtual machine for at least two parallel build their own operating environment, and at the same time calling software template template unit.

[0081] 具体应用中,使用本发明的虚拟机系统,可以根据样版自动组合出使用者需要的工作环境,组合出的虚拟机环境内的软件,与手动安装在虚拟机内的软件的状态与行为相同。 Status [0081] In particular applications, a virtual machine system according to the present invention, a user needs to work environment automatically combined with the templates, the combination of software within the virtual machine environment, the virtual machine in the manual installation of the software the same behavior. 图4所示为本发明提供的虚拟机系统的应用实例示意图。 Application Example 4 shown in FIG virtual machine system provides a schematic diagram of the present invention. 从图4中可以看到,在虚拟环境VEl中,用户想要创建一个工作环境的虚拟机,所以用户可以选择Work Template。 Can be seen from Figure 4, in a virtual environment VEl, the user wants to create a virtual machine environment, the user can choose to Work Template. 本产品/技术根据用户的选择,除了在操作系统OS上快速的创建了一个隔离的虚拟环境VEl之夕卜,还根据用户选定的工作用软件模板,添加MSN、Office等用于工作的软件样版,叠加到虚拟机之上,并且根据用户的身份,自动加载了用户数据信息叠加到了虚拟机之上。 The product / technology based on the user's choice, in addition to the operating system OS to quickly create an isolated virtual environment VEl the evening Bu, also based on user selected operating software templates, add MSN, Office and other software for work patterns, superimposed onto a virtual machine, and according to the identity of the user, automatically loads the user data information superimposed on the virtual machine. 另外,采用的游戏模板创建一个游戏用的虚拟环境VE2。 In addition, the use of a template to create a virtual game environment VE2 a game with. 使用本发明的虚拟机创建样版和加载用户数据,全部过程只需要短短2-5分钟的时间,还可以快速为用户创建一个可以进行工作用或游戏用的虚拟环境,为用户节约了大量时间,而且用户也可以根据自己的需要创建属于自己的个性化样版。 Use the virtual machine of the invention to create a sample version and the user data is loaded, the entire process takes only 2-5 minutes short period of time, you can quickly create a work can be carried out with a game or virtual environment used for the user, for the user to save a lot time, and users can also create their own personalized version of the sample according to their needs.

[0082] 此外,与VMware威睿的Application Virtualization (虚拟化软件应用)技术相t匕,客户的多层式结构(有系统层、样版层、数据层、异动层等,层数不限,可视需要动态增加)与软件样版(又叫应用样版)的功能就比VMware的软件虚拟来的要有弹性多了,除了有软件免安装的好处外,也不会造成大量的重复与无法交互的问题。 [0082] In addition, the VMware K Wise Application Virtualization (virtualization software application) technology t dagger, the multilayer structure of the client (with a system layer, pattern layer, a data layer, layer or the like changes, the number of layers is not limited to, dynamically increased as needed) and software-like version (also known as application-like version) functionality than the VMware virtualization software must be flexible to the more, in addition to the benefits of free software installed, but it will not cause a lot of repetition and the problem can not interact.

[0083] 可以把使用本发明的虚拟机的模板单元当作一个很大的虚拟应用程序软件包,所有会在这个虚拟机内跑的软件模板,都被打包在这个软件包内。 [0083] can use a virtual machine template unit according to the invention as a large virtual application package, all will run within the virtual machine software template, are packaged within the package. 所以,软件彼此间的交互与调用、文件与资料的共享、还有功能组件的共享,就会如同这些软件都已经安装在一起一样,不会有任何的问题,也不会有任何的重复。 So, share interactions between software and call each other, share documents and data, as well as functional components, as the software will have been installed together, it would not have any problem, there will not be any repetition. 更好的是,软件模板可以随时加入虚拟机的模板单元中,也可以随时从模板单元中移除,所以本发明不会限制软件的可扩充性。 More preferably, the template unit software templates can be added at any time in the virtual machine, the template may be removed at any time from the unit, the present invention does not limit the scalability of software. 此外,在本发明用到的模板单元中,每个软件模板就跟安装在本机的软件一样,都是独立的个体。 Further, the present invention is used in the form units, each installed software templates just as in the software of the machine, is an individual. 所以,任何软件模板的升级,都不会影响到其他不需升级的软件模板,因而不会造成像现有厂家的虚拟应用软件一样,产生一堆不必要的升级。 Therefore, any software upgrades template will not affect the template does not need other software upgrades, and thus will not cause existing manufacturers like virtual application software, generated a bunch of unnecessary upgrades.

[0084] 此外,根据具体应用中的需要,本发明中在所述操作系统单元、模版单元和用户数据单元上还可以叠加其他单元,并且虚拟机中的操作系统、应用程序、用户数据等都是分开来处理的,分别存放在不同的单元中,每个单元都有各自独立的文件结构、目录结构和配置数据库结构用于新建、存储文用户文件和应用程序。 [0084] Further, depending on the particular application needs, the present invention also other units can be superimposed on the operating system unit, the stencil unit and a user data unit, and the operating system, applications, user data and so the virtual machine is treated separately, each in separate cells, each cell has its own independent file structure, the directory structure and configuration of the new database structure for storing text files and user applications.

[0085] 这样的架构,除了可以很好的实现虚拟机的备份/恢复功能之外,还为终端用户的使用带来了更加强大灵活的功能: [0085] This architecture, in addition to the virtual machine can be a good backup / restore function, but also brings more powerful and flexible functionality for end users to use:

[0086] a)利用本发明的多单元架构,用户的数据和应用与虚拟机是彼此独立的,所以,数据与应用可单独存放与管理。 [0086] a) using the cell architecture of the present invention is a multi-user applications and data and virtual machine are independent from each other, so that application data can be stored and managed separately. 在虚拟机出现故障的时候,就可以直接将用户的数据和应用程序,叠加到正常的虚拟机上使用,软件与数据都不需要重新安装,就可以直接使用。 When a virtual machine fails, it can direct the user's data and applications, superimposed on the normal use of the virtual machine, software, and data do not need to re-install, can be used directly. 这样就可以随时恢复用户的工作环境,这是现有虚拟机架构无法做到的; So that you can resume at any time the user's working environment, which is an existing virtual machine architecture can not be done;

[0087] b)现有虚拟机的分层与硬件的耦合性太高,是无法在配置不同的虚拟机上使用的,而本产品/技术处理的是索引数据,可以随意跨虚拟机使用; Hardware Hierarchy and [0087] b) coupling the existing virtual machine is too high, the configuration is not in use on different virtual machines, and the product / process technology is the index data, can be used freely across virtual machines;

[0088] c)当用户的计算机崩溃,或者由于其他的原因需要还原或者重装操作系统的时候,没有必要担心数据丢失,也无需花费大量时间重新安装应用软件,因为用户所有的数据和应用程序都保存在相应的单元中,只要主机中的操作系统重新安装完毕之后,启动本产品/技术,所有的用户数据都可以立即还原,以前安装过的应用程序也都会立即出现。 [0088] c) When the user's computer to crash, or for other reasons need to restore or reinstall the operating system when there is no need to worry about data loss, no need to spend a lot of time to re-install the application software, because all user data and applications are stored in the corresponding unit, then as long as the host operating system re-installed after the start of the product / technology, all user data will be restored immediately, applications that were previously installed will also appear immediately.

[0089] 由此可见,无论是初次创建虚拟机的用户还是虚拟机的老用户都会从本发明提出的模板技术中受益。 [0089] Thus, whether the user is first created virtual machine or virtual machine template old users will benefit from the technology proposed by the present invention. 除此以外,模板技术还可以为终端用户带来非常多的优点: In addition, end-user template technology can also bring a lot of advantages:

[0090] 根据本发明,可以把各种虚拟机环境、软件打包管理,使用者可以随时选择需要的样版,本产品/技术会根据样版自动组合出使用者需要的工作环境,与手动安装在虚拟机内的软件的状态与行为相同。 [0090] According to the present invention, the various virtual machine environment, the management software package, the user can always select the desired patterns, the product / technology will require the user environment with the templates automatically combined with the manual installation state within a virtual machine software with the same behavior. 虽然现有厂家也有虚拟软件技术,可以达成软件的随选随用,但却会破坏软件间的交互功能,并造成大量的重复与浪费。 Although there are existing manufacturers virtualization software technology, can be achieved with the use of software on demand, but it will destroy the interaction between software function, and cause a lot of duplication and waste. 这与手动安装在虚拟机内的软件行为是不同的; This behavior manually install software inside a virtual machine is different;

[0091] 使用本发明的虚拟机配合模板的功能,实现不同虚拟机中的多个相同应用程序会在内存中与存储中共享一份程序的拷贝,具有更高的资源利用率和效率。 [0091] The present invention is used with the function of the virtual machine templates, to achieve the same plurality of different applications in the virtual machine will be shared copy program stored in a memory, and has a higher efficiency of resource utilization.

[0092] 以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照所述实施例对本发明进行了具体的说明,本领域的普通技术人员应当理解:其依然可以对所述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 [0092] The above embodiments are intended to illustrate the present invention, rather than limiting; While the embodiments with reference to the embodiment of the present invention has been specifically described, those of ordinary skill in the art should be understood: as it can still each of said modified technical solutions described in the embodiments, some technical features or equivalent replacements; such modifications or replacements do not cause the essence of corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

  1. 1.一种虚拟机系统,其特征在于,该系统可构建多个相互独立的虚拟机,供若干用户同时使用;包括操作系统单元、模板单元和若干用户数据单元,各单元具有各自的文件数据结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和运行应用程序,其中, 操作系统单元,包含有操作系统文件、配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配宿主系统; 模板单元,用于存放应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; 若干相互独立的用户数据单元,用于存储与管理各虚拟机的用户数据和/或文件,分别供各虚拟机专用; 单元合并技术框架,用于为各虚拟机的操作运行、文件处理提供支持; 本虚拟机系统是以操作系统单元为基础,从所述模板单元获取应用软件模板或相关信息 A virtual machine system, characterized in that the system may construct a plurality of independent virtual machine, for a number of simultaneous users; includes an operating system unit, a plurality of user units and the template data units each having a respective data file structure, and are stored in a predetermined storage medium, for creating, storing user files and run applications, wherein the operating system unit, with operating system files, configuration database, for constructing a virtual operating system environment for the providing a virtual machine runtime environment, call distribution, and a host system; template unit storing template or application software related information, for each virtual machine shared, private call, or a virtual machine; a plurality of independent user data unit for storing manage user data for each virtual machine and / or files, respectively, dedicated for each virtual machine; unit combining techniques framework for the operation of each virtual machine running document processing support; the present system is based on a virtual machine operating system unit base, the application unit acquires related information from the template or template 程叠加,再从用户数据单元中的数据进行叠加操作,保存在所述用户数据单元;组合成的合并数据单元当用户操作使用该虚拟系统时,所述单元合并技术框架基于所述单元模拟构建一虚拟的文件系统环境。 Superimposing process, and then superimposing the operation data from the user data unit, data stored in the user unit; combined into a combined data unit when the user operates to use the virtual system, the frame constructing unit combining technique based on the simulation unit a virtual file system environments. 然后通过图形外壳将界面推送给用户。 Graphical interface shell is then pushed to the user.
  2. 2.按权利要求1中所述的虚拟机系统,其特征在于,所述单元合并技术框架包括下述模块中至少之一: 合并处理模块,用于在虚拟机系统中,将用户数据单元覆盖模板单元、模板单元覆盖系统单元,对相关的文件进行操作和处理,以将所述用户数据单元、模板单元及操作系统单元合并为一个文件系统; 新增处理模块,用于将新增的用户数据定位到用户数据单元; 删除处理模块,用于删除用户单元数据; 修改处理模块,用于对用户数据单元的数据直接修改,对于其他单元的数据采用拷贝到用户数据单元后修改。 2. The virtual machine system according to claim in said 1, wherein the frame unit combining technique includes at least one module: merging processing module for the virtual machine system, the user data unit cover means template, the template unit covers the system unit, the relevant documents for handling and processing, the user data to the merging unit, the operating unit, and the template of a document system unit system; new processing module, configured to add user user data to locate data unit; deletion processing module, configured to delete the user data unit; modification processing module, a data unit for user data directly modify the data to other units using the modified copy to the user data unit.
  3. 3.按权利要求1中所述的虚拟机系统,其特征在于,所述用户数据相关信息包括下述信息中至少之一: 目录、文件、配置数据库。 3. A virtual machine system according to claim in said 1, wherein said user data includes information related to at least one of the following information: directory, file, database configuration.
  4. 4.按权利要求1中所述的虚拟机系统,其特征在于, 所述模板单元中存放的应用软件模板或相关信息可动态调整,构建需要将新的软件模板或相关信息加入所述模板单元中,或者删除模板单元中已有的软件模板或相关信息。 4. The virtual machine system according to claim in said 1, wherein said template stored in unit or application software templates related information can be dynamically adjusted, the need to build a new template or software related information added to the form unit , the template or delete existing software unit template or related information.
  5. 5.按权利要求1中所述的虚拟机系统,其特征在于, 所述操作系统单元、模板单元和数据单元的文件与数据可存放在以下存储介质中至少之一: 本地磁盘、服务器、外挂硬盘、闪存盘。 5. The virtual machine system according to claim in said 1, characterized in that the operating system unit, the template file unit and the data unit and the data can be stored in at least one storage medium of the following: local disk, server, plug hard disk, flash disk.
  6. 6.按权利要求1中所述的虚拟机系统,其特征在于, 同一虚拟机可一次调用所述模板单元中的至少两个应用软件模板。 6. The virtual machine system according to claim in said 1, characterized in that the same virtual machine software application can invoke the at least two templates in the template unit time.
  7. 7.按权利要求1中所述的虚拟机系统,其特征在于,基于同一操作系统,可供至少两个虚拟机并行构建其运行环境,以及同时调用模板单元中的软件模板。 7. The virtual machine system according to claim in said 1, characterized in that, based on the same operating system, a virtual machine for at least two parallel constructs which Runtime Environment, and the simultaneous calling software Templates Templates unit.
  8. 8.按权利要求1至7中任一项所述的虚拟机系统,其特征在于, 对于任一虚拟机用户而言,系统单元及模板单元的操作权限为只读;各虚拟机用户对其专用的数据单元的操作权限为;可读写、可删除,对其他虚拟机用户的数据单元不可进行读写操作。 8. claims 1 to 7, the virtual machine system as claimed in any one of, wherein a virtual machine to any user, the system unit and the operating authority of the template unit is read-only; each virtual machine user thereof specific data unit is operating authority; read-write, delete, data units of other virtual machines can not read and write user.
  9. 9.一种用于如权利要求1-8所述的虚拟机系统的实现方法,其特征在于,该虚拟机系统可构建多个相互独立的虚拟机,供若干用户同时使用;该方法包括: 在该虚拟机系统中设置操作系统单元、模板单元和用户数据单元,各单元具有各自的文件结构,并且分别存放在预定的存储介质,用于创建、存储用户文件和应用程序,其中,所述操作系统单元,包含有操作系统文件、系统配置数据库,用于构建一虚拟的操作系统环境,为各虚拟机提供运行环境、调用和分配宿主系统;所述模板单元,用于存放应用软件模板或相关信息,供各虚拟机共享、调用或某个虚拟机专用; 所述若干用户数据单元,用于存储与管理用户数据和/或文件,分别供各虚拟机专用;以及设置单元合并技术框架,用于为各虚拟机的操作运行、文件处理提供支持; 本虚拟机系统是以操作系 9. A method for a virtual machine implemented method as claimed in system claims 1-8, characterized in that the virtual machine system may construct a plurality of independent virtual machine, for several users simultaneously; the method comprising: setting the operating system means, the template data unit and a user unit in the virtual machine system, each unit having a respective file structure, and are stored in a predetermined storage medium, for creating, storing user files and applications, wherein the operating system means includes operating system files, the system configuration database for constructing a virtual operating system environment that provides the operating environment for the virtual machines, the host system calls and distribution; the template unit for storing application software templates or related information for each virtual machine shared, private call, or a virtual machine; said plurality of user data unit for storing and managing user data and / or files, respectively, dedicated for each virtual machine; combining technique and a setting unit frame, for providing support for each virtual machine running operation, document processing; the present system is based on a virtual machine operating system 统单元为基础,从所述模板单元获取应用软件模板或相关信息或创建或处理相应文件; 利用用户数据单元中的数据进行相应操作,并将修改信息及修改数据保存在所述用户数据单元;组合成的合并数据单元当用户操作使用该虚拟系统时,所述单元合并技术框架基于所述单元模拟构建一虚拟的文件系统环境。 System unit basis, the application unit acquires related information from the template or templates or create or handle a corresponding file; user data using the data in the corresponding operation unit, and the modification information to modify data stored in the user data unit; combined into a combined data unit when the user operates using the virtual system, the frame unit combining technique of constructing a virtual file system based on the cell environment simulation. 然后通过图形外壳将界面推送给用户。 Graphical interface shell is then pushed to the user.
  10. 10.按权利要求9中所述的方法,其特征在于,所述单元合并技术框架处理文件的步骤具体包括: 当虚拟机用户需要修改或调用模板单元中或操作系统单元中的文件,所述文件处理模块将该文件拷贝到用户数据层再进行修改,并将修改后的文件保存在所述用户数据单元,以供所述虚拟机用户后续使用。 10. A method as claimed in Claim 9, characterized in that said step of combining technique frame processing unit file comprises: a virtual machine when the user needs to modify the template or calling unit or operating unit file system, the processing module user copy of the document data layer was modified, and modifying the file stored in the user data unit, the virtual machine to the user for subsequent use.
CN 201210544726 2012-12-14 2012-12-14 Virtual machine system CN103092674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201210544726 CN103092674A (en) 2012-12-14 2012-12-14 Virtual machine system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201210544726 CN103092674A (en) 2012-12-14 2012-12-14 Virtual machine system

Publications (1)

Publication Number Publication Date
CN103092674A true true CN103092674A (en) 2013-05-08

Family

ID=48205284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201210544726 CN103092674A (en) 2012-12-14 2012-12-14 Virtual machine system

Country Status (1)

Country Link
CN (1) CN103092674A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190806A1 (en) * 2013-05-31 2014-12-04 International Business Machines Corporation Application backup and restore
CN104765624A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Update processing method and device for virtual machine application
CN104978197A (en) * 2015-07-02 2015-10-14 深圳市云舒网络技术有限公司 Hot plug system and hot plug method for virtual computer desktop
CN105138403A (en) * 2015-09-02 2015-12-09 浪潮集团有限公司 Cloud host multi-service parallel achieving method
CN105765534A (en) * 2013-09-23 2016-07-13 Gopc有限公司 Virtual computing systems and methods
CN106354547A (en) * 2016-08-31 2017-01-25 浪潮电子信息产业股份有限公司 BS (browser/server) based virtual machine establishment realizing method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014190806A1 (en) * 2013-05-31 2014-12-04 International Business Machines Corporation Application backup and restore
CN104216793B (en) * 2013-05-31 2017-10-17 国际商业机器公司 Application backup, recovery methods and equipment
GB2529117B (en) * 2013-05-31 2017-11-15 Ibm Application Backup and restore
GB2529117A (en) * 2013-05-31 2016-02-10 Ibm Application Backup and restore
US10067692B2 (en) 2013-05-31 2018-09-04 International Business Machines Corporation Method and apparatus for backing up and restoring cross-virtual machine application
CN105765534A (en) * 2013-09-23 2016-07-13 Gopc有限公司 Virtual computing systems and methods
CN104765624A (en) * 2014-01-06 2015-07-08 腾讯科技(深圳)有限公司 Update processing method and device for virtual machine application
CN104978197B (en) * 2015-07-02 2018-06-26 深圳市云舒网络技术有限公司 Kind of virtual desktop computer system and a method of hot-swappable
CN104978197A (en) * 2015-07-02 2015-10-14 深圳市云舒网络技术有限公司 Hot plug system and hot plug method for virtual computer desktop
CN105138403A (en) * 2015-09-02 2015-12-09 浪潮集团有限公司 Cloud host multi-service parallel achieving method
CN106354547A (en) * 2016-08-31 2017-01-25 浪潮电子信息产业股份有限公司 BS (browser/server) based virtual machine establishment realizing method

Similar Documents

Publication Publication Date Title
Rosenblum et al. Virtual machine monitors: Current technology and future trends
Huang et al. Virtual machine aware communication libraries for high performance computing
US20140082612A1 (en) Dynamic Virtual Machine Resizing in a Cloud Computing Infrastructure
US20110071983A1 (en) Server image migration
US8996468B1 (en) Block status mapping system for reducing virtual machine backup storage
US20130275973A1 (en) Virtualisation system
US20090089781A1 (en) System for and Method of Migrating One or More Virtual Machines
US20110061046A1 (en) Installing Software Applications in a Layered Virtual Workspace
US20110040812A1 (en) Layered Virtual File System
US20080271017A1 (en) Managing Virtual Machines Using Shared Image
US20060005189A1 (en) Systems and methods for voluntary migration of a virtual machine between hosts with common storage connectivity
US20140033201A1 (en) System and Method of Replicating Virtual Machines for Live Migration Between Data Centers
US20090216970A1 (en) Apparatus, system, and method for virtual machine backup
US20120131578A1 (en) Optimization of Virtual Appliance Deployment
US20130227558A1 (en) Provisioning of distributed computing clusters
US20130086585A1 (en) Managing the Persistent Data of a Pre-Installed Application in an Elastic Virtual Machine Instance
Daniels Server virtualization architecture and implementation
US20100122248A1 (en) Cloning virtual machines
Williams Virtualization with Xen (tm): Including XenEnterprise, XenServer, and XenExpress
US20110265183A1 (en) Secure virtualization environment bootable from an external media device
Tantisiriroj et al. On the duality of data-intensive file system design: reconciling HDFS and PVFS
Von Hagen Professional xen virtualization
CN101765225A (en) Virtual cluster management system and cluster node
Zhang et al. A survey on cloud interoperability: taxonomies, standards, and practice
CN102402446A (en) Method and device for installing application software

Legal Events

Date Code Title Description
C06 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)