CN100553214C - Mobile virtual environment system - Google Patents
Mobile virtual environment system Download PDFInfo
- Publication number
- CN100553214C CN100553214C CNB200710121848XA CN200710121848A CN100553214C CN 100553214 C CN100553214 C CN 100553214C CN B200710121848X A CNB200710121848X A CN B200710121848XA CN 200710121848 A CN200710121848 A CN 200710121848A CN 100553214 C CN100553214 C CN 100553214C
- Authority
- CN
- China
- Prior art keywords
- host
- virtual
- interface
- task
- virtual environment
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
一种移动虚拟环境系统,包括监视层,虚拟机,虚拟环境任务管理器,主机操作系统,主机应用程序及前台界面。其分别构建于当前主机和目标主机上,使当前主机能呈现目标主机的工作环境,其能为用户在不同的工作地点提供熟悉的虚拟工作环境。
A mobile virtual environment system includes a monitoring layer, a virtual machine, a virtual environment task manager, a host operating system, a host application program and a front interface. They are respectively constructed on the current host and the target host, so that the current host can present the working environment of the target host, and can provide users with a familiar virtual working environment in different working places.
Description
技术领域 technical field
本发明涉及计算机科学中的普适计算环境领域,特别是涉及一种移动虚拟环境系统。The invention relates to the field of pervasive computing environment in computer science, in particular to a mobile virtual environment system.
背景技术 Background technique
在实际研究中,研究人员常常因为工作需要而离开实验室,到达另外的科研环境继续开展研究。在这种情况下,研究人员常常会面临和自己所熟悉的实验室环境差别很大的科研环境,从而迫切希望能够建立熟悉的、面向个人研究的流动科研环境。In actual research, researchers often leave the laboratory due to work needs and go to another scientific research environment to continue research. In this case, researchers often face a scientific research environment that is very different from the laboratory environment they are familiar with, so they urgently hope to establish a familiar mobile scientific research environment oriented to personal research.
建立以网络环境为基础的科学活动环境已经成为当前国际计算机技术研究和应用的热点和前沿领域,引起了国外政府、学术界和工业界的高度重视,各国政府纷纷设立重大计划和项目对网络计算环境进行研究和开发。The establishment of a scientific activity environment based on the network environment has become a hotspot and frontier field in the current international computer technology research and application, which has attracted great attention from foreign governments, academia and industry. environment for research and development.
目前,结合虚拟机技术的虚拟环境系统研究还刚刚起步,尚不成熟,没有形成一个统一的概念。At present, the research on the virtual environment system combined with the virtual machine technology has just started and is not yet mature, and a unified concept has not been formed.
美国密歇根大学(University of Michigan)的SVGrid项目提出了一种安全的虚拟网格计算环境,用以保护网格计算机的文件系统和网络免受恶意网格应用程序的攻击,其工作机制是把网格应用程序分配到一个或多个网格虚拟机上,而把这些虚拟机所涉及的文件系统和网络服务交给一个专用的监控虚拟机完成。这样所有的文件和网络访问请求就必须提交给监控虚拟机,因此安全策略得到保证,这种划分资源的方式保证了即使一个网格虚拟机的性能受到损害,也不能被绕开或者禁止执行安全策略。该研究更多关注了引入虚拟机技术后的对安全问题的保证。The SVGrid project of the University of Michigan (University of Michigan) proposes a secure virtual grid computing environment to protect the file system and network of grid computers from malicious grid application programs. Grid applications are assigned to one or more grid virtual machines, and the file system and network services involved in these virtual machines are handed over to a dedicated monitoring virtual machine. In this way, all file and network access requests must be submitted to the monitoring virtual machine, so the security policy is guaranteed. This way of dividing resources ensures that even if the performance of a grid virtual machine is compromised, it cannot be bypassed or prohibited from executing security. Strategy. This study pays more attention to the guarantee of security issues after the introduction of virtual machine technology.
美国中田纳西大学(Middle Tennessee State University)的计算机实验室正在研究开发一种可定制的便携式虚拟机(CPVM),并在上面静态复制实现了虚拟的实验室环境,用户通过任何有USB接口或者FTP客户端的计算机都可以运行这种虚拟机,进入虚拟的研究环境,它可以像虚拟操作系统一样提供编译器、桌面管理和智能磁盘设备,这种复制的结果和其实验室的主机环境十分相似。该项目的不足在于只能静态的构建这种虚拟的实验室环境,无法做到“移动”。The computer laboratory of Middle Tennessee State University in the United States is researching and developing a customizable portable virtual machine (CPVM), and statically replicated on it to realize a virtual laboratory environment. Users can use any USB interface or FTP Client computers can run this virtual machine and enter a virtual research environment. It can provide compilers, desktop management, and smart disk devices like a virtual operating system. The result of this replication is very similar to the host environment in the laboratory. The shortcoming of this project is that this kind of virtual laboratory environment can only be constructed statically, and cannot be "mobile".
美国佛罗里达大学和西北大学的研究人员联合提出了网格计算的一种新的方法,目标是改变传统的网格计算的实现方式,即把抽象层面从操作系统用户提到操作系统虚拟机上,这种方法基于传统的操作系统级虚拟机和在分布式环境中管理虚拟机的中间件机制,其抽象是集合了传统操作系统进程和VM状态文件的可以动态实例化和移动的虚拟机。Researchers from the University of Florida and Northwestern University jointly proposed a new method of grid computing. The goal is to change the traditional implementation of grid computing, that is, to move the abstraction level from the operating system user to the operating system virtual machine. This method is based on the traditional operating system-level virtual machine and the middleware mechanism for managing virtual machines in a distributed environment. Its abstraction is a virtual machine that can be dynamically instantiated and moved, which integrates traditional operating system processes and VM state files.
美国芝加哥大学(University of Chicago)和阿贡国家实验室(Argonne NationalLaboratory)的研究人员提出虚拟工作空间的概念,在网格环境中引入两种服务:虚拟机仓库,为工作空间提供一个管理接口;虚拟机管理器,用于协调虚拟机的应用。该项目将这种虚拟工作空间更多的视为一种网格服务,每个空间只能特定地针对某一具体任务,而对于资源要求不同的新任务,只能重新构建并执行,无法做到普适性。Researchers from the University of Chicago and Argonne National Laboratory proposed the concept of virtual workspace, introducing two services into the grid environment: a virtual machine warehouse, which provides a management interface for the workspace; The virtual machine manager is used to coordinate the application of virtual machines. This project regards this kind of virtual workspace more as a grid service. Each space can only be specific to a specific task. For new tasks with different resource requirements, they can only be rebuilt and executed. to universality.
发明内容 Contents of the invention
本发明即致力于满足这种现实中的迫切需要,提出了一种结合虚拟机技术的移动虚拟环境系统,其作用是在研究人员所使用的当前主机上,将目标主机的工作环境描述、定制、复制并呈现,从而为研究人员提供一个移动的熟悉的虚拟工作环境系统。The present invention is committed to satisfying the urgent needs in reality, and proposes a mobile virtual environment system combined with virtual machine technology, whose function is to describe and customize the working environment of the target host on the current host used by researchers , replicated and presented to provide researchers with a mobile and familiar virtual working environment system.
为此,本发明解决技术问题的技术方案是:提供一种移动虚拟环境系统,其分别构建于当前主机和目标主机上,使当前主机能呈现目标主机的工作环境,其特征在于,包括:监视层,虚拟机,虚拟环境任务管理器,主机操作系统,主机应用程序及前台界面,其中:For this reason, the technical solution of the present invention to solve the technical problem is: provide a kind of mobile virtual environment system, it is constructed on the current host and the target host respectively, makes the current host present the working environment of the target host, it is characterized in that, comprises: monitoring layer, virtual machine, virtual environment task manager, host operating system, host application and front-end interface, where:
监视层直接运行于当前主机的物理硬件之上,它向上层的虚拟机提供一个虚拟接口集,以和底层的物理硬件进行交互;The monitoring layer runs directly on the physical hardware of the current host, and it provides a virtual interface set to the upper-layer virtual machine to interact with the underlying physical hardware;
虚拟机为移动虚拟环境系统提供配置和装载的载体,其包括域0和域U,域0在系统引导时自动创建,其依靠监视层提供的域0控制接口来创建和管理域U,并能执行管理任务;域U是用户真正使用的域,其负责完成具体任务的接收、处理以及结果的返回;The virtual machine provides a configuration and loading carrier for the mobile virtual environment system, which includes domain 0 and domain U. Domain 0 is automatically created when the system is booted. It relies on the domain 0 control interface provided by the monitoring layer to create and manage domain U, and can Execute management tasks; domain U is the domain actually used by users, which is responsible for receiving, processing and returning results of specific tasks;
主机操作系统为运行在监视层上的操作系统,其结合运行于其中的软件资源共同为移动虚拟环境系统提供主机环境信息;The host operating system is the operating system running on the monitoring layer, which provides host environment information for the mobile virtual environment system in conjunction with the software resources running therein;
虚拟环境任务管理器负责在移动虚拟环境系统搭建起来后,保证移动虚拟环境系统对于研究人员提交的任务来说是可用的,是可以执行并返回结果的,该虚拟环境任务管理器包括本地接口、远程接口、输入接口和输出接口,本地接口用于与主机操作系统联系,远程接口用于与远程主机联系,输入接口用于接收前台界面提交的任务,输出接口用于将任务执行结果返回前台界面;The virtual environment task manager is responsible for ensuring that the mobile virtual environment system is available for the tasks submitted by the researchers after the mobile virtual environment system is built, and can be executed and return the results. The virtual environment task manager includes local interfaces, Remote interface, input interface and output interface, the local interface is used to contact the host operating system, the remote interface is used to contact the remote host, the input interface is used to receive the task submitted by the foreground interface, and the output interface is used to return the task execution result to the foreground interface ;
主机应用程序是在主机操作系统上运行的应用程序,其是主机环境信息的重要组成部分;The host application program is an application program running on the host operating system, which is an important part of the host environment information;
前台界面提供给用户定制虚拟环境的图形化界面,以及任务提交及结果返回的界面。The front-end interface provides a graphical interface for users to customize the virtual environment, as well as an interface for task submission and result return.
其中,所述监视层的虚拟接口集包括虚拟CPU,虚拟内存,虚拟磁盘,虚拟网卡等。Wherein, the virtual interface set of the monitoring layer includes virtual CPU, virtual memory, virtual disk, virtual network card and so on.
其中,所述域0中运行有虚拟环境控制器,通过监视层的域0控制接口负责对整个虚拟环境的定制、装载等任务,该虚拟环境控制器主要包括描述器、定制器、装载器及传送器,描述器负责描述环境信息及典型刻画各种软件资源生成描述文件;定制器根据用户的要求和描述文件生成配置策略;装载器根据配置策略装载虚拟机;传送器负责将目标主机的配置策略传送到当前主机,当前主机也通过传送器接受目标主机的配置策略,传送器也在移动虚拟环境系统装载起来后负责和虚拟环境任务管理器的交互,以完成任务的分发执行等功能。Wherein, there is a virtual environment controller running in the domain 0, and the domain 0 control interface of the monitoring layer is responsible for tasks such as customization and loading of the entire virtual environment. The virtual environment controller mainly includes a descriptor, a customizer, a loader and Transmitter, the descriptor is responsible for describing the environment information and typically describing various software resources to generate description files; the customizer generates configuration strategies according to user requirements and description files; the loader loads the virtual machine according to the configuration strategy; the transmitter is responsible for configuring the target host The policy is transmitted to the current host, and the current host also accepts the configuration policy of the target host through the transmitter. The transmitter is also responsible for interacting with the virtual environment task manager after the mobile virtual environment system is loaded, so as to complete the distribution and execution of tasks and other functions.
其中,所述虚拟环境任务管理器包括分发器,它主要负责判断一个具体的任务究竟是交付给虚拟机本身完成还是需要使用其他的主机或虚拟机资源,如果虚拟机自身的资源足够完成该任务,那么就直接在本地虚拟机上执行完毕,将结果从前台界面上返回给用户;否则需要使用当前主机的本地资源,或提交给远程的目的主机,由其调度适用的资源执行完成,并将结果返回给前台界面。Wherein, the virtual environment task manager includes a dispatcher, which is mainly responsible for judging whether a specific task is delivered to the virtual machine itself or needs to use other host or virtual machine resources, if the virtual machine itself has enough resources to complete the task , then execute it directly on the local virtual machine, and return the result to the user from the foreground interface; otherwise, you need to use the local resources of the current host, or submit them to the remote destination host, which will schedule the applicable resources to complete the execution, and send The result is returned to the foreground interface.
其中,所述的域U包括定制软件和任务展示层,定制软件是在创建配置该域时,由虚拟环境控制器根据主机环境信息及用户需求定制安装的软件资源,当任务来临时,定制软件参与任务的执行任务展示层负责任务的提交和结果的返回,并通过前台界面对研究人员“可见”。Wherein, the domain U includes customized software and a task display layer. The customized software is a software resource that is customized and installed by the virtual environment controller according to the host environment information and user requirements when creating and configuring the domain. When the task comes, the customized software Participating in the execution of tasks The task display layer is responsible for the submission of tasks and the return of results, and is "visible" to researchers through the front-end interface.
相对于现有技术,本发明具有如下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
相对于利用移动终端等设备携带个人工作空间的方法,移动虚拟环境系统的优势在于:研究人员无需随身携带物理设备,不负责物理资源的安全性,而转交给网络负责传输数据的安全和可靠性;最重要的,由于移动终端自身资源所限,原有科研环境中的一些大规模计算资源无法通过笔记本电脑等终端携带,造成其上的工作空间常常不可用。而使用结合网络环境的移动虚拟环境系统,可以通过建立与其他虚拟环境或主机的协同工作机制来解决这个问题。Compared with the method of using mobile terminals and other devices to carry personal workspaces, the advantage of the mobile virtual environment system is that researchers do not need to carry physical devices with them, and are not responsible for the security of physical resources, but the network is responsible for the security and reliability of data transmission. Most importantly, due to the limited resources of the mobile terminal itself, some large-scale computing resources in the original scientific research environment cannot be carried by terminals such as laptops, resulting in often unavailable workspaces on them. However, using the mobile virtual environment system combined with the network environment can solve this problem by establishing a cooperative working mechanism with other virtual environments or hosts.
附图说明 Description of drawings
图1是移动虚拟环境系统的体系结构;Fig. 1 is the architecture of the mobile virtual environment system;
图2是移动虚拟环境系统的层次结构;Fig. 2 is the hierarchical structure of the mobile virtual environment system;
图3是移动虚拟环境系统的工作流;Fig. 3 is the workflow of mobile virtual environment system;
图4是移动虚拟环境系统的应用场景。Fig. 4 is an application scenario of the mobile virtual environment system.
具体实施方式 Detailed ways
移动虚拟环境系统的体系结构Architecture of Mobile Virtual Environment System
如图1所示,移动虚拟环境系统的体系结构主要分为以下几个组成部分:监视层,虚拟机,虚拟环境任务管理器,主机应用程序,主机操作系统以及前台界面。其中虚拟机主要包括域0和域U,为移动虚拟环境系统提供配置和装载的载体;主机操作系统主要提供初始的主机环境信息。下面对图1中所示的各主要部件进行解释。As shown in Figure 1, the architecture of the mobile virtual environment system is mainly divided into the following components: monitoring layer, virtual machine, virtual environment task manager, host application program, host operating system and front-end interface. The virtual machine mainly includes domain 0 and domain U, which provide configuration and loading carriers for the mobile virtual environment system; the host operating system mainly provides initial host environment information. The respective main components shown in Fig. 1 are explained below.
监视层monitoring layer
移动虚拟环境系统基于虚拟机技术,监视层是直接运行于硬件之上的一层,它向上层的虚拟机提供一个虚拟接口集(例如虚拟CPU、虚拟内存、虚拟磁盘等),以和底层的物理硬件(处理器、内存、磁盘等)进行交互。The mobile virtual environment system is based on virtual machine technology. The monitoring layer is a layer that runs directly on the hardware. It provides a virtual interface set (such as virtual CPU, virtual memory, virtual disk, etc.) The physical hardware (processor, memory, disk, etc.) interacts.
虚拟机分为两种域:域0和域U。域0在系统引导时自动创建,它拥有特殊的管理权限,可以创建和管理其它更多的域(域U)。它能执行管理任务,包括虚拟机的体眠、唤醒和迁移等等。但是域0不能直接控制管理其他域,它必须依靠监视层提供的域0控制接口来完成任务。而对于该控制接口来说,也只允许被域0访问调用,其他域是没有权限访问使用该接口的。移动虚拟环境系统即通过域0访问监视层的控制接口,以管理整个系统。在域0中实现的虚拟环境控制器中的各个功能模块,也只有通过监视层的域0控制接口才能实现所想要达到的功能。Virtual machines are divided into two domains: domain 0 and domain U. Domain 0 is automatically created when the system is booted. It has special administrative rights and can create and manage other more domains (domain U). It can perform management tasks, including physical sleep, wake-up and migration of virtual machines, etc. But domain 0 cannot directly control and manage other domains, it must rely on the domain 0 control interface provided by the monitoring layer to complete the task. As for the control interface, it is only allowed to be accessed and called by domain 0, and other domains do not have permission to access and use this interface. The mobile virtual environment system accesses the control interface of the monitoring layer through domain 0 to manage the entire system. Each functional module in the virtual environment controller implemented in domain 0 can realize the desired function only through the domain 0 control interface of the monitoring layer.
运行在监视层上的操作系统称为主机操作系统,结合运行于其中的软件层资源共同为移动虚拟环境系统提供主机环境信息。如果该主机为目标主机,那么其主机环境信息就是研究人员定制个人化的移动虚拟环境系统生成配置策略时的主要参考来源之一。The operating system running on the monitoring layer is called the host operating system, which provides host environment information for the mobile virtual environment system in combination with the software layer resources running in it. If the host is the target host, then its host environment information is one of the main reference sources for researchers when customizing the generation and configuration strategy of the personalized mobile virtual environment system.
虚拟环境控制器Virtual Environment Controller
虚拟环境控制器是移动虚拟环境系统的关键组成部分之一,运行在域0中,通过监视层的控制接口负责对整个虚拟环境的定制、装载等任务。它主要包括描述器、定制器、装载器及传送器。描述器负责描述环境信息及典型刻画各种软件资源;定制器和装载器根据研究人员的要求或配置策略装载虚拟机;传送器负责将所需要的配置策略传送到当前主机,并在移动虚拟环境系统装载起来后负责和任务管理器的交互,以完成任务的分发执行等功能。The virtual environment controller is one of the key components of the mobile virtual environment system. It runs in domain 0 and is responsible for customizing and loading the entire virtual environment through the control interface of the monitoring layer. It mainly includes descriptors, customizers, loaders and transporters. The descriptor is responsible for describing the environment information and typically describing various software resources; the customizer and the loader load the virtual machine according to the researcher's requirements or configuration strategies; the transmitter is responsible for transferring the required configuration strategies to the current host and moving the virtual environment After the system is loaded, it is responsible for interacting with the task manager to complete tasks such as distribution and execution.
虚拟环境控制器主要负责前期的空间定制和装载工作。其中定制工作主要由描述器和定制器完成,装载主要由定制器和装载器完成。The virtual environment controller is mainly responsible for the space customization and loading work in the early stage. Among them, the customization work is mainly completed by the descriptor and the customizer, and the loading is mainly completed by the customizer and the loader.
描述器首先要描述目标主机的执行环境,这包括运行操作系统的版本等信息,以及一些常用软件的信息。通过典型化的刻画这些描述信息,得到目标主机描述环境的描述文件,并提供给定制器,供研究人员参考、选择以生成最后的配置策略。The descriptor must first describe the execution environment of the target host, which includes information such as the version of the operating system and information about some commonly used software. By typicalizing the description information, the description file of the target host's description environment is obtained, and provided to the customizer for reference and selection by researchers to generate the final configuration strategy.
定制器主要是结合描述文件及研究人员个人化的选择,得到虚拟机的基本配置信息,最终生成虚拟环境的配置策略。由于描述文件中所列出的软件资源并不一定是研究人员在本次研究活动中所必需的软件资源,研究人员可以根据本次研究活动的实际需求来选择需要用到的软件资源,这样就达到了尽量精简配置策略的目的。The customizer mainly combines the description file and the personal choice of the researcher to obtain the basic configuration information of the virtual machine, and finally generates the configuration strategy of the virtual environment. Since the software resources listed in the description file are not necessarily the necessary software resources for researchers in this research activity, researchers can choose the software resources that need to be used according to the actual needs of this research activity, so that The purpose of streamlining the configuration strategy as much as possible is achieved.
定制器主要是根据描述文件及研究人员实际选择,生成最后的配置策略,并提供给装载器和传送器。装载器用其来配置虚拟环境,当前主机请求传输配置策略,由目标主机的传送器通过网络将配置策略发送到当前主机的传送器。The customizer mainly generates the final configuration strategy based on the description file and the actual selection of the researcher, and provides it to the loader and the transmitter. The loader uses it to configure the virtual environment, the current host requests to transmit the configuration policy, and the transmitter of the target host sends the configuration policy to the transmitter of the current host through the network.
装载器根据配置策略按研究人员的需求分配相应虚拟机资源(虚拟内存的大小,虚拟磁盘的容量等),启动虚拟机,并根据配置策略选择安装相应的软件资源。The loader allocates the corresponding virtual machine resources (the size of the virtual memory, the capacity of the virtual disk, etc.) according to the researcher's needs according to the configuration policy, starts the virtual machine, and selects and installs the corresponding software resources according to the configuration policy.
虚拟环境任务管理器Virtual Environment Task Manager
虚拟环境任务管理器是移动虚拟环境系统的另一个关键组成部分,它主要负责在移动虚拟环境系统搭建起来后,保证其对于研究人员提交的任务来说是可用的,是可以执行并返回结果的。The virtual environment task manager is another key component of the mobile virtual environment system. It is mainly responsible for ensuring that the mobile virtual environment system is available for the tasks submitted by researchers, can be executed and returns results after the mobile virtual environment system is built. .
通过使用虚拟环境任务控制器,研究人员可以静态地搭建起一个基于虚拟机的移动虚拟环境系统,但是该虚拟环境限于自身虚拟机载体的有限资源,只能完成涉及较少资源的简单任务,即在自身虚拟机上可以直接执行完成的任务。这对于研究人员来说是十分不方便的,甚至是不可用的。实际的科研工作常常涉及大规模的数据计算,以及使用大规模的软件或硬件资源才能够完成。在这种情况下,搭建起来的移动虚拟环境系统对于研究人员来说不能仅仅是静态的工作环境,它应该能够和更丰富的资源相连接起来,如和当前主机及目标主机通过网络连接在一起,从而可以调度和使用各个主机上更丰富的资源为己所用,以完成研究人员可能提交的复杂任务。By using the virtual environment task controller, researchers can statically build a virtual machine-based mobile virtual environment system, but the virtual environment is limited to the limited resources of its own virtual machine carrier, and can only complete simple tasks involving fewer resources, namely Completed tasks can be directly executed on its own virtual machine. This is very inconvenient or even unusable for researchers. Practical scientific research often involves large-scale data calculations and can only be completed using large-scale software or hardware resources. In this case, the built mobile virtual environment system cannot be just a static working environment for researchers, it should be able to connect with more abundant resources, such as connecting with the current host and the target host through the network , so that it can schedule and use more abundant resources on each host for its own use, so as to complete the complex tasks that researchers may submit.
虚拟环境任务管理器的核心组成部分是分发器,它主要负责判断一个具体的任务究竟是交付给虚拟机本身完成还是需要使用其他的主机或虚拟机资源。如果虚拟机自身的资源足够完成该任务,那么就直接在本地虚拟机上执行完毕,将结果从前台界面上返回给研究人员;否则需要使用当前主机的本地资源,或提交给远程的目的主机,由其调度适用的资源执行完成,并将结果返回给移动虚拟环境系统的前台界面。The core component of the virtual environment task manager is the dispatcher, which is mainly responsible for judging whether a specific task is delivered to the virtual machine itself or needs to use other host or virtual machine resources. If the resources of the virtual machine itself are sufficient to complete the task, then it will be executed directly on the local virtual machine, and the result will be returned to the researcher from the foreground interface; otherwise, the local resources of the current host need to be used, or submitted to the remote destination host. The execution of the applicable resources scheduled by it is completed, and the result is returned to the foreground interface of the mobile virtual environment system.
基于分发器的功能,另外各部分组成部分的功能包括:Based on the functions of the distributor, the functions of the other components include:
输入接口主要是为研究人员提供任务的提交接口,前台界面通过它将任务提交给分发器,由其决定在何处执行;无论在本地还是远程,任务执行完毕后,得到的结果都通过输出接口输出到前台界面,即返回给研究人员任务执行完的结果。The input interface is mainly to provide researchers with a task submission interface. The front-end interface submits the task to the distributor through it, and it decides where to execute it; whether it is local or remote, after the task is executed, the results are obtained through the output interface. Output to the foreground interface, that is, return to the researcher the result of the task execution.
本地和远程接口都是和虚拟环境控制器中的传送器配合实现功能的,如果分发器决定执行任务需要本地主机软件资源的参与,那么就通过本地接口和传送器将任务提交给本地主机,由其调度必要的本地主机资源执行任务;如果分发器判断结合上本地主机软件资源的参与仍然不能完成任务,还需要远程主机上的资源,那么就通过远程接口和传送器将任务提交给远程主机,由其调度必要的远程主机资源执行任务。Both the local and remote interfaces cooperate with the transmitter in the virtual environment controller to realize the function. If the distributor decides that the execution of the task requires the participation of the software resources of the local host, then it submits the task to the local host through the local interface and the transmitter. It schedules the necessary local host resources to execute the task; if the distributor judges that the task cannot be completed in combination with the participation of the local host software resources and resources on the remote host are needed, then the task is submitted to the remote host through the remote interface and the transmitter. It schedules the necessary remote host resources to perform tasks.
移动虚拟环境系统前台界面Mobile virtual environment system foreground interface
移动虚拟环境系统前台界面是研究人员可以看到的界面,它屏蔽了任务在后台执行时的一切细节。对于研究人员来说,他们并不知道自己所提交的任务具体是在本地虚拟机还是在远程主机上完成的,即任务的执行过程对其来说是“透明”的,移动虚拟环境系统只是要确保研究人员在可以忍受的时间内得到任务的执行结果。The foreground interface of the mobile virtual environment system is the interface that the researchers can see, and it shields all the details when the task is executed in the background. For the researchers, they don't know whether the tasks they submit are completed on the local virtual machine or on the remote host, that is, the execution process of the tasks is "transparent" to them, and the mobile virtual environment system just needs to be completed. Make sure that the researchers get the results of the task execution within a tolerable time.
移动虚拟环境系统搭建起来之前,研究人员在当前主机上所面临的是关于定制虚拟环境的界面,研究人员可以根据目标主机的主机环境信息,根据自己的喜好和需要选择合适的硬件及软件资源,最终生成移动虚拟环境系统的个人化配置策略。Before the mobile virtual environment system is built, what researchers face on the current host is the interface of customizing the virtual environment. Researchers can choose the appropriate hardware and software resources according to their own preferences and needs according to the host environment information of the target host. Finally, the personalized configuration strategy of the mobile virtual environment system is generated.
根据配置策略装载配置起研究人员所需要的移动虚拟环境系统后,研究人员就可以在其中看到可以提交任务的虚拟环境执行界面。研究人员将任务提交给该界面,如果任务是简单任务,研究人员会很快地得到任务的执行结果;如果是复杂任务,需要主机资源的参与,那么研究人员在提交任务后可以利用虚拟环境进行其他工作,如执行一些需要资源较少的任务,之前的复杂任务自动地交由后台执行,一旦执行完毕后会立即将最后结果返回给研究人员。After loading and configuring the mobile virtual environment system required by the researcher according to the configuration strategy, the researcher can see the virtual environment execution interface where the task can be submitted. The researcher submits the task to this interface, if the task is a simple task, the researcher will get the execution result of the task quickly; if the task is complex and requires the participation of host resources, then the researcher can use the virtual environment to perform the task after submitting the task For other tasks, such as performing some tasks that require less resources, the previous complex tasks are automatically handed over to the background for execution, and the final results will be returned to the researchers immediately once the execution is completed.
移动虚拟环境系统的层次结构Hierarchical Structure of Mobile Virtual Environment System
如图2所示是移动虚拟环境系统的层级结构示意图。IP网络是最下面的一层,目标主机和其他要求复制呈现其虚拟环境的主机(当前主机1、2)通过IP网络连接起来,并彼此建立通信;在此基础之上,运行在各个主机上的虚拟机(虚拟机t、c1、c2、c3)构建连接彼此的虚拟的网络,可以抽象成为虚拟网络这一层;最上面一层即是在各个虚拟机之上所呈现的移动虚拟环境系统(移动虚拟环境系统t、c1、c2、c3),它们共同组成一个大的虚拟空间,在这种虚拟空间中协同的完成研究任务。Figure 2 is a schematic diagram of the hierarchical structure of the mobile virtual environment system. The IP network is the bottom layer. The target host and other hosts (current hosts 1 and 2) that require to replicate their virtual environment are connected through the IP network and establish communication with each other; on this basis, running on each host The virtual machines (virtual machines t, c1, c2, c3) build a virtual network connecting each other, which can be abstracted into a virtual network layer; the top layer is the mobile virtual environment system presented on each virtual machine (Mobile virtual environment system t, c1, c2, c3), they together form a large virtual space, in this virtual space collaboratively complete the research task.
从图2中也可以看出在整个移动虚拟环境系统的层次结构中任务到底层物力资源的映射关系。在虚拟空间这一层,所有的装载到目标主机或当前主机的移动虚拟环境系统,协同地完成同一任务;而在虚拟网络层,研究任务被映射成各种虚拟资源,它们通过虚拟网络互相交互,以支持上层任务的完成;在IP网络层,上层的各种虚拟资源被映射成相关的实际物理资源,它们通过物理网络分发和使用,并最终完成虚拟空间层的研究任务。It can also be seen from Figure 2 that the mapping relationship between tasks and underlying material resources in the hierarchical structure of the entire mobile virtual environment system. In the virtual space layer, all the mobile virtual environment systems loaded on the target host or the current host cooperate to complete the same task; while in the virtual network layer, research tasks are mapped into various virtual resources, which interact with each other through the virtual network , to support the completion of upper-layer tasks; in the IP network layer, various virtual resources in the upper layer are mapped into relevant actual physical resources, which are distributed and used through the physical network, and finally complete the research tasks of the virtual space layer.
移动虚拟环境系统的工作流Workflow of Mobile Virtual Environment System
移动虚拟环境系统工作流的主要步骤如图3所示。The main steps of the mobile virtual environment system workflow are shown in Figure 3.
当研究人员需要在当前主机建立一个移动虚拟环境系统时(系统开始):When researchers need to build a mobile virtual environment system on the current host (system start):
a)描述器收集目标主机环境的各种资源信息,刻画出足够描述该环境的典型信息,并提供给定制器;如果当前主机的传送器已经收到目标主机传送来的状态信息,那么无需描述器,而直接把状态信息提供给定制器。a) The descriptor collects various resource information of the target host environment, describes the typical information sufficient to describe the environment, and provides it to the customizer; if the transmitter of the current host has received the status information transmitted by the target host, no description is required implementer, and provide state information directly to the customizer.
b)定制器根据描述器提供的信息,并结合研究人员的需求,生成配置策略并提供给装载器和传送器。b) According to the information provided by the descriptor and combined with the researcher's needs, the customizer generates a configuration strategy and provides it to the loader and the transmitter.
c)通过监视层的域0控制接口,装载器在域U中按照配置策略装载虚拟机,虚拟环境即呈现在域U中,研究人员可以进入使用,至此虚拟环境完成装载实现(系统结束)。c) Through the domain 0 control interface of the monitoring layer, the loader loads the virtual machine in domain U according to the configuration policy, and the virtual environment is presented in domain U, and researchers can enter and use it. At this point, the virtual environment is loaded and realized (the system ends).
d)研究人员使用虚拟环境执行某项任务时(任务开始),如果虚拟机自身的资源足够执行这项任务,研究人员就能很快地得到返回结果(任务结束)。d) When the researcher uses the virtual environment to perform a certain task (task start), if the resources of the virtual machine itself are sufficient to perform the task, the researcher can quickly get the return result (task end).
e)如果虚拟机自身的资源不足以完成这项任务,那么就交由任务管理器来决定如何执行该任务。e) If the resources of the virtual machine itself are insufficient to complete the task, then it is left to the task manager to decide how to perform the task.
f)如果执行该任务需要当前主机的数据或软件资源,任务管理器就把该任务交由当前主机完成,并返回结果;如果当前主机所提供的资源仍不足以执行该任务,任务管理器就把其提交给目标主机,由目标主机调用网络环境中的适用资源来完成这项任务,并返回执行结果。当研究人员在演示界面看到任务的执行结果时,任务执行过程亦宣告结束(任务结束)。f) If the execution of the task requires the data or software resources of the current host, the task manager will hand over the task to the current host and return the result; if the resources provided by the current host are still not enough to perform the task, the task manager will Submit it to the target host, and the target host will call the applicable resources in the network environment to complete the task and return the execution result. When the researcher sees the execution result of the task on the demo interface, the task execution process is also declared to be over (task end).
移动虚拟环境系统的应用场景Application Scenarios of Mobile Virtual Environment System
研究人员因为研究任务的实际需要离开实验室,无法使用实验室的计算机及其所用的计算、存储、数据等资源。在这里,实验室的计算机即称为目标主机。Researchers leave the laboratory because of the actual needs of research tasks, and cannot use the computers in the laboratory and their computing, storage, data and other resources. Here, the lab's computer is called the target host.
研究人员到达新的地点,使用新的计算机,称为当前主机。研究人员面临新的工作环境,但是还想用自己实验室计算机上的工作环境,于是就需要将工作环境从目标主机复制到当前主机来满足要求,即虚拟环境的移动。Researchers arrive at new locations and use new computers, called current hosts. Researchers face a new working environment, but still want to use the working environment on their own laboratory computers, so they need to copy the working environment from the target host to the current host to meet the requirements, that is, the movement of the virtual environment.
虚拟环境的移动实际上是虚拟机之间通过底层的IP网络进行通信,通过实际的数据传输,将定制好的虚拟环境在另一台主机上通过虚拟机重新复制呈现出来,如附图4所示。两个实验环境之间,或说是当前主机和目标主机之间是通过IP网络相联系的,要满足研究人员的需要,需要将目标主机的执行环境虚拟化为一个虚拟环境,并通过网络传输复制到当前主机,并在装载好的虚拟机上装载配置呈现出来。The movement of the virtual environment is actually the communication between the virtual machines through the underlying IP network, and through the actual data transmission, the customized virtual environment is reproduced on another host through the virtual machine, as shown in Figure 4 Show. The two experimental environments, or the current host and the target host are connected through an IP network. To meet the needs of researchers, the execution environment of the target host needs to be virtualized into a virtual environment and transmitted through the network. Copy to the current host, and load the configuration on the mounted virtual machine to present it.
研究人员离开熟悉的实验室研究环境和目标主机,到达新的研究环境,这时他/她面对的是一个不熟悉的研究环境和当前主机,但是仍然想在这个新的研究环境里继续使用所熟悉的实验室研究环境以及目标主机上的各种连接资源①。When a researcher leaves the familiar laboratory research environment and target host, and arrives in a new research environment, he/she is facing an unfamiliar research environment and the current host, but still wants to continue to use it in this new research environment Familiar laboratory research environment and various connection resources on the target host ①.
目标主机首先即装载一个虚拟机并按主机执行环境进行配置,得到研究人员想要的虚拟环境②,然后把这台虚拟机的环境状态信息传送给当前主机③,由当前主机自动配置已经装载好的虚拟机,得到和目标主机上的虚拟机环境相同的虚拟机执行环境,即得到了研究人员想要的移动虚拟环境系统④。The target host first loads a virtual machine and configures it according to the host’s execution environment to obtain the virtual environment that researchers want②, and then transmits the environment status information of this virtual machine to the current host③, and the current host automatically configures and loads it. virtual machine, and get the same virtual machine execution environment as the virtual machine environment on the target host, that is, get the mobile virtual environment system that researchers want ④.
研究人员进入这个虚拟环境,即进入熟悉的目标主机的执行环境⑤,但这只是一种虚拟化的呈现,虚拟环境完成移动后,还需要与其它虚拟环境或其他主机基于网络协同地完成研究工作,使其最终对于研究人员来说是一个可操作可执行的研究环境。Researchers enter this virtual environment, that is, enter the execution environment of the familiar target host⑤, but this is only a virtualized presentation. After the virtual environment is moved, it is necessary to cooperate with other virtual environments or other hosts to complete research work based on the network , making it an operational and executable research environment for researchers.
这个过程在虚拟网络上即表现为虚拟环境系统的这种“移动”⑥,实际上仍是通过底层的物理网络所实现。This process is manifested as the "movement" of the virtual environment system on the virtual network⑥, but it is actually still realized through the underlying physical network.
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200710121848XA CN100553214C (en) | 2007-09-17 | 2007-09-17 | Mobile virtual environment system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200710121848XA CN100553214C (en) | 2007-09-17 | 2007-09-17 | Mobile virtual environment system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101132329A CN101132329A (en) | 2008-02-27 |
| CN100553214C true CN100553214C (en) | 2009-10-21 |
Family
ID=39129461
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB200710121848XA Expired - Fee Related CN100553214C (en) | 2007-09-17 | 2007-09-17 | Mobile virtual environment system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100553214C (en) |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8161479B2 (en) * | 2008-06-13 | 2012-04-17 | Microsoft Corporation | Synchronizing virtual machine and application life cycles |
| CN101430649B (en) * | 2008-11-19 | 2011-09-14 | 北京航空航天大学 | Virtual computation environmental system based on virtual machine |
| CN101419535B (en) * | 2008-11-19 | 2010-07-14 | 北京航空航天大学 | Distributed virtual disk system for virtual machines |
| CN101765225B (en) * | 2008-12-24 | 2012-05-23 | 华为技术有限公司 | Virtual cluster management method and cluster node |
| EP2389626A4 (en) * | 2009-01-23 | 2012-12-05 | Hewlett Packard Development Co | Verifying virtual machines |
| CN102566850A (en) * | 2010-12-14 | 2012-07-11 | 上海三旗通信科技股份有限公司 | Mobile terminal integrated management system |
| CN102065100B (en) * | 2011-01-04 | 2013-06-05 | 深信服网络科技(深圳)有限公司 | Terminal safety networking method and device |
| US20130083690A1 (en) * | 2011-10-04 | 2013-04-04 | International Business Machines Corporation | Network Adapter Hardware State Migration Discovery in a Stateful Environment |
| US20130086298A1 (en) | 2011-10-04 | 2013-04-04 | International Business Machines Corporation | Live Logical Partition Migration with Stateful Offload Connections Using Context Extraction and Insertion |
| CN103729229A (en) * | 2011-12-31 | 2014-04-16 | 华茂云天科技(北京)有限公司 | Elastic calculation service system |
| DE102020200969A1 (en) * | 2020-01-28 | 2021-07-29 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method for instantiating at least one execution environment |
-
2007
- 2007-09-17 CN CNB200710121848XA patent/CN100553214C/en not_active Expired - Fee Related
Non-Patent Citations (2)
| Title |
|---|
| CPVM: customizable portable virtual machines. Ralph Butler,Chrisila C.Pettey,Zach Lowry.ACM Southeast Regional Conference,Proceedings of the 44th annual Southeast regional conference,Melbourne, Florida. 2006 * |
| The Architecture of Mobile Virtual Environment. Peng Lv Yuebin Bai Jihong Ma Yanwen Ju Depei Qian.IEEE Network and Parallel Computing Workshops,2007.NPC Workshops. IFIP International Conference. 2007 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101132329A (en) | 2008-02-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100553214C (en) | Mobile virtual environment system | |
| Chen et al. | Enabling FPGAs in the cloud | |
| Foster et al. | Describing the Elephant: The Different Faces of IT as Service: Terms such as grid, on-demand, and service-oriented architecture are mired in confusion, but there is an overarching trend behind them all. | |
| Kuz et al. | CAmkES: A component model for secure microkernel-based embedded systems | |
| CN103561061B (en) | A Elastic Cloud Data Mining Platform Deployment Method | |
| US10795646B2 (en) | Methods and systems that generate proxy objects that provide an interface to third-party executables | |
| US11748162B2 (en) | Function execution environment selection for decomposed application | |
| US10057377B2 (en) | Dynamic resolution of servers in a distributed environment | |
| CN102479100A (en) | Pervasive computing environment virtual machine platform and creation method thereof | |
| WO2002033545A2 (en) | Pluggable instantiable distributed objects | |
| CN114816665B (en) | Hybrid arrangement system and virtual machine container resource hybrid arrangement method under super-fusion architecture | |
| De Alfonso et al. | An energy management system for cluster infrastructures | |
| US20210099354A1 (en) | Method and system that determines application topology using network metrics | |
| Bricker et al. | Architectural issues in microkernel-based operating systems: The CHORUS experience | |
| CN112764909B (en) | Sharing method and system based on cloud architecture workstation | |
| CN101226491A (en) | Component-Based Interaction Method of Grid Middleware | |
| Huai et al. | Civic: a hypervisor based virtual computing environment | |
| Webb et al. | Process networks as a high-level notation for metacomputing | |
| CN114579250B (en) | Method, device and storage medium for constructing virtual cluster | |
| CN114996750A (en) | Data sharing method and device | |
| CN117891581A (en) | Operating system | |
| EP4345615A1 (en) | Storage resource management method, apparatus, and system for container cluster | |
| Anjum et al. | Glueing grids and clouds together: a service-oriented approach | |
| CN116662008A (en) | Heterogeneous hardware unified nano-tube scheduling node controller | |
| CN115941709A (en) | A user collaboration method, system, and storage medium based on multi-availability zone storage |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091021 Termination date: 20130917 |