Movatterモバイル変換


[0]ホーム

URL:


CN102307208B - Virtual machine operation control device based on cloud computing and operation control method thereof - Google Patents

Virtual machine operation control device based on cloud computing and operation control method thereof
Download PDF

Info

Publication number
CN102307208B
CN102307208BCN201010292159.7ACN201010292159ACN102307208BCN 102307208 BCN102307208 BCN 102307208BCN 201010292159 ACN201010292159 ACN 201010292159ACN 102307208 BCN102307208 BCN 102307208B
Authority
CN
China
Prior art keywords
virtual machine
processing unit
operation control
state
cloud computing
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
Application number
CN201010292159.7A
Other languages
Chinese (zh)
Other versions
CN102307208A (en
Inventor
莫展鹏
杨松
肖翱
岳强
季统凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CASfiledCriticalInstitute of Computing Technology of CAS
Priority to CN201010292159.7ApriorityCriticalpatent/CN102307208B/en
Publication of CN102307208ApublicationCriticalpatent/CN102307208A/en
Application grantedgrantedCritical
Publication of CN102307208BpublicationCriticalpatent/CN102307208B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention relates to the technical field of cloud computing, in particular to a virtual machine operation control device based on cloud computing and an operation control method thereof. The system comprises a virtual machine control command input/output processing unit, a virtual machine positioning processing unit, a virtual machine operation control processing unit and a virtual machine state processing unit; the virtual machine operation control processing unit is used for executing the reallocation of the physical resources according to the physical resources and the virtual machine identification information provided by the virtual machine positioning processing unit and providing the next state of the life cycle of the virtual machine to the virtual machine state processing unit; and the virtual machine state processing unit is used for enabling the virtual machine to carry out state conversion by using the virtual machine manager according to the virtual machine life cycle information provided by the virtual machine operation control processing unit, and outputting the state information to the outside for processing and displaying. The invention effectively solves the problem of standardizing the operation control mode of the virtual machine; the method can be widely applied to the operation control of the virtual machine.

Description

Translated fromChinese
基于云计算的虚拟机运行控制装置及其运行控制方法Virtual machine operation control device and operation control method based on cloud computing

技术领域technical field

本发明涉及云计算技术领域,特指一种基于云计算的虚拟机运行控制装置及其运行控制方法。The invention relates to the technical field of cloud computing, in particular to a cloud computing-based virtual machine operation control device and an operation control method thereof.

背景技术Background technique

计算机的应用模式大体经历了以大型机为主体的集中式架构(数据中心1.0)、以PC机为主体的客户/服务器分布式计算架构(数据中心2.0)、以虚拟化技术为核心面向服务的体系结构(SOA)及基于Web2.0应用特征的新型架构(数据中心3.0)。计算机的应用模式、技术架构及实现特征的演变是云计算发展的时代背景。The computer application model generally experienced a centralized architecture with mainframes as the main body (data center 1.0), a client/server distributed computing architecture with PCs as the main body (data center 2.0), and a service-oriented architecture with virtualization technology as the core. System Architecture (SOA) and a new architecture based on Web2.0 application characteristics (Data Center 3.0). The evolution of computer application modes, technical architecture and implementation features is the background of the development of cloud computing.

云计算的实质是网络下的应用,是由lP和lT技术共同构建的。从发展的角度来看,“云”的技术和目标是一个逐步演化的过程。比如,Web技术出现时,就具备了云计算的应用特征有了统一界面的雏形。随着服务器应用平台上的虚拟化技术的成熟和Web统一界面的推出,虚拟化和Web走向结合,使得云计算可以在一个整合的架构上统一实现。The essence of cloud computing is the application under the network, which is jointly constructed by lP and lT technologies. From the perspective of development, the technology and goal of "cloud" is a process of gradual evolution. For example, when Web technology appeared, it possessed the application characteristics of cloud computing and had the embryonic form of a unified interface. With the maturity of the virtualization technology on the server application platform and the launch of the unified web interface, the combination of virtualization and the web enables cloud computing to be implemented uniformly on an integrated architecture.

虚拟化是一个广义的术语,在计算机方面通常是指计算元件在虚拟的基础上而不是真实的基础上运行。虚拟化技术可以扩大硬件的容量,简化软件的重新配置过程。CPU的虚拟化技术可以单CPU模拟多CPU并行,允许一个平台同时运行多个操作系统,并且应用程序都可以在相互独立的空间内运行而互不影响,从而显著提高计算机的工作效率。Virtualization is a broad term generally used in computing to refer to computing elements operating on a virtual basis rather than a real one. Virtualization technology can expand the capacity of hardware and simplify the process of reconfiguring software. CPU virtualization technology can simulate multiple CPUs in parallel with a single CPU, allowing one platform to run multiple operating systems at the same time, and applications can run in independent spaces without affecting each other, thereby significantly improving computer work efficiency.

虚拟化技术与多任务以及超线程技术是完全不同的。多任务是指在一个操作系统中多个程序同时并行运行,而在虚拟化技术中,则可以同时运行多个操作系统,而且每一个操作系统中都有多个程序运行,每一个操作系统都运行在一个虚拟的CPU或者是虚拟主机上;而超线程技术只是单CPU模拟双CPU来平衡程序运行性能,这两个模拟出来的CPU是不能分离的,只能协同工作。Virtualization technology is completely different from multitasking and hyperthreading technology. Multitasking means that multiple programs run in parallel in one operating system at the same time. In virtualization technology, multiple operating systems can run at the same time, and each operating system has multiple programs running. It runs on a virtual CPU or a virtual host; and hyper-threading technology is just a single CPU simulating dual CPUs to balance the performance of the program. The two simulated CPUs cannot be separated and can only work together.

虚拟化技术也与目前VMware Workstation等同样能达到虚拟效果的软件不同,是一个巨大的技术进步,具体表现在减少软件虚拟机相关开销和支持更广泛的操作系统方面。Virtualization technology is also different from the current VMware Workstation and other software that can also achieve virtual effects. It is a huge technological advancement, which is specifically reflected in the reduction of software virtual machine-related overhead and support for a wider range of operating systems.

目前云计算领域中使用最多的虚拟机管理器Xen(一个开放源代码虚拟机监视器,由剑桥大学开发)、KVM(全称是Kernel-based Virtual Machine,基于内核的虚拟机,由红帽公司开发)、QEMU(一套由Fabrice Bellard所编写的开源跨平台模拟器)等在虚拟机运行控制方面的方法各不相同,这种情况给云计算领域虚拟机管理和弹性计算程序的开发带来挑战,因此,需要提供统一的装置来提供规范的虚拟机运行控制方式。At present, the most used virtual machine managers in the field of cloud computing are Xen (an open source virtual machine monitor, developed by Cambridge University), KVM (full name is Kernel-based Virtual Machine, a kernel-based virtual machine, developed by Red Hat) ), QEMU (an open source cross-platform emulator written by Fabrice Bellard), etc. have different methods in virtual machine operation control, which brings challenges to the development of virtual machine management and elastic computing programs in the field of cloud computing , therefore, it is necessary to provide a unified device to provide a standardized virtual machine operation control method.

发明内容Contents of the invention

本发明解决的技术问题之一在于提供个统一的、简单的、功能强大和有效规范虚拟机运行控制的基于云计算的虚拟机运行控制装置。One of the technical problems solved by the present invention is to provide a unified, simple, powerful and effective virtual machine operation control device based on cloud computing.

本发明解决的技术问题之二在于提供个统一的、简单的、功能强大和有效规范虚拟机运行控制的基于云计算的虚拟机运行控制装置的运行控制方法。The second technical problem to be solved by the present invention is to provide a unified, simple, powerful and effective virtual machine operation control operation control method based on cloud computing virtual machine operation control device.

本发明解决上述技术问题之一的技术方案是:包括虚拟机控制命令输入/输出处理单元、虚拟机定位处理单元、虚拟机运行控制处理单元和虚拟机状态处理单元;The technical solution of the present invention to solve one of the above technical problems is: comprising a virtual machine control command input/output processing unit, a virtual machine positioning processing unit, a virtual machine operation control processing unit and a virtual machine state processing unit;

所述的虚拟机控制命令输入/输出处理单元,用于将外部输入的虚拟机控制命令输出给虚拟机定位处理单元,并将虚拟机运行控制处理单元返回的处理结果输出给外部的输出单元;The virtual machine control command input/output processing unit is used to output the externally input virtual machine control command to the virtual machine positioning processing unit, and output the processing result returned by the virtual machine operation control processing unit to the external output unit;

所述的虚拟机定位处理单元,用于从宿主物理机的虚拟机管理器中查找到相应的物理资源及虚拟机标识,并将前述查找到的物理资源及虚拟机标识信息提供给虚拟机运行控制处理单元;The virtual machine positioning processing unit is used to find the corresponding physical resources and virtual machine identifiers from the virtual machine manager of the host physical machine, and provide the aforementioned physical resources and virtual machine identifier information to the virtual machine to run control processing unit;

所述的虚拟机运行控制处理单元,用于根据虚拟机定位处理单元提供的物理资源及虚拟机标识信息执行物理资源的重新分配,并将虚拟机生命周期的下一个状态提供给虚拟机状态处理单元;The virtual machine operation control processing unit is used to perform reallocation of physical resources according to the physical resources and virtual machine identification information provided by the virtual machine positioning processing unit, and provide the next state of the virtual machine life cycle to the virtual machine state processing unit;

所述的虚拟机状态处理单元,用于根据虚拟机运行控制处理单元提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换,同时把虚拟机的状态信息输出到外部进行处理和显示。The virtual machine state processing unit is used to use the virtual machine manager to change the state of the virtual machine according to the life cycle information of the virtual machine provided by the virtual machine operation control processing unit, and at the same time output the state information of the virtual machine to the outside for processing and show.

所述的虚拟机控制命令结构包括控制命令名称和虚拟机标识;所述的控制命令名称用于表示能使虚拟机状态发生迁移的操作,包括运行、结束、重新启动、暂停、恢复运行;所述的虚拟机标识用于标识要操作的虚拟机,是区分一个虚拟机与其他虚拟机的全局唯一标识。The virtual machine control command structure includes a control command name and a virtual machine identifier; the control command name is used to represent operations that can cause the state of the virtual machine to migrate, including running, ending, restarting, suspending, and resuming operation; The virtual machine identifier described above is used to identify the virtual machine to be operated, and is a globally unique identifier to distinguish a virtual machine from other virtual machines.

所述的虚拟机管理器包括Xen、KVM、QEMU,在不同类型的虚拟机管理器上构建统一的接口,并根据虚拟机控制命令输入/输出处理单元(10)提供的虚拟机控制命令进行虚拟机的查找。Described virtual machine manager comprises Xen, KVM, QEMU, constructs unified interface on different types of virtual machine managers, and performs virtual machine control command according to the virtual machine control command input/output processing unit (10) that virtual machine provides. machine search.

所述的物理资源包括CPU、内存、硬盘空间和lP地址。The physical resources include CPU, memory, hard disk space and IP addresses.

所述的虚拟机运行控制处理单元对物理资源重新分配,表示获取或释放CPU、内存、硬盘空间和lP地址这些物理资源。The virtual machine operation control processing unit reallocates physical resources, which means acquiring or releasing physical resources such as CPU, memory, hard disk space and IP address.

所述的虚拟机生命周期包括虚拟机的各种状态以及状态之间的转换过程,虚拟机的状态包括等待、运行、暂停、停止、结束。The virtual machine life cycle includes various states of the virtual machine and transition processes between the states, and the states of the virtual machine include waiting, running, suspending, stopping, and ending.

本发明解决上述技术问题之二的技术方案是:运行控制包括如下步骤:The technical solution of the present invention to solve the above-mentioned technical problem two is: operation control comprises the following steps:

A、虚拟机运行控制处理单元接收虚拟机定位处理单元提供的物理资源信息,通过虚拟机管理器发出使用请求或释放请求;A. The virtual machine operation control processing unit receives the physical resource information provided by the virtual machine positioning processing unit, and sends a use request or a release request through the virtual machine manager;

B、虚拟机运行控制处理单元等待虚拟机管理器的处理结果响应,判断结果是否成功,如果是,把虚拟机生命周期信息发送给虚拟机状态处理单元,执行步骤C,否则,返回处理失败的信息,跳转至步骤A;B. The virtual machine operation control processing unit waits for the response of the processing result of the virtual machine manager, and judges whether the result is successful. If yes, sends the virtual machine life cycle information to the virtual machine state processing unit, and performs step C, otherwise, returns the processing failure information, skip to step A;

C、虚拟机状态处理单元根据虚拟机运行控制处理单元提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换;C. The virtual machine state processing unit uses the virtual machine manager to change the state of the virtual machine according to the virtual machine life cycle information provided by the virtual machine operation control processing unit;

D、处理并显示返回结果。D. Process and display the returned results.

本发明可以达到的有益效果是:The beneficial effect that the present invention can reach is:

1、本发明对外提供的接口遵循Web Service接口规范,是一个常用的、流行的接口,适用的范围非常广。1. The interface provided by the present invention follows the Web Service interface specification, and is a commonly used and popular interface with a wide range of applications.

2、本发明对外提供的接口与用户客户端程序之间通信采用SSL加密方式,确保通信内容的保密和数据的安全。2. The communication between the interface provided by the present invention and the user client program adopts the SSL encryption method to ensure the confidentiality of the communication content and the security of the data.

3、本发明提供在不同虚拟机管理器上统一的运行控制接口,为云计算领域虚拟机运行控制领域提供一个统一的、简单的、功能强大和有效的虚拟机运行控制机制。3. The present invention provides a unified operation control interface on different virtual machine managers, and provides a unified, simple, powerful and effective virtual machine operation control mechanism for the field of virtual machine operation control in the field of cloud computing.

4、本发明统一了不同虚拟机类型的状态描述,为云计算构建统一的虚拟机描述层提供了支持。4. The present invention unifies the state descriptions of different types of virtual machines, and provides support for building a unified virtual machine description layer for cloud computing.

附图说明Description of drawings

下面结合附图对本发明进一步说明:Below in conjunction with accompanying drawing, the present invention is further described:

图1是本发明虚拟机运行控制装置的结构框图;Fig. 1 is a structural block diagram of a virtual machine operation control device of the present invention;

图2是本发明虚拟机运行控制处理单元12和虚拟机状态处理单元13处理流程图;FIG. 2 is a flowchart of processing by the virtual machine operation control processing unit 12 and the virtual machine state processing unit 13 of the present invention;

图3是本发明统一的虚拟机运行控制接口的结构图;Fig. 3 is a structural diagram of the unified virtual machine operation control interface of the present invention;

图4是本发明为虚拟机状态迁移图。FIG. 4 is a state transition diagram of a virtual machine in the present invention.

具体实施方式Detailed ways

见附图1所示,本发明包括虚拟机控制命令输入/输出处理单元10、虚拟机定位处理单元11、虚拟机运行控制处理单元12和虚拟机状态处理单元13;虚拟机控制命令输入/输出处理单元10,用于将外部输入的虚拟机控制命令输出给虚拟机定位处理单元11,并将虚拟机运行控制处理单元12返回的处理结果输出给外部的输出单元。的虚拟机定位处理单元11,用于从宿主物理机的虚拟机管理器中查找到相应的物理资源及虚拟机的标识,并将这些信息提供给虚拟机运行控制处理单元12。虚拟机运行控制处理单元12,用于根据虚拟机定位处理单元11提供的物理资源及虚拟机标识信息执行物理资源的重新分配,并将虚拟机生命周期的下一个状态提供给虚拟机状态处理单元13。虚拟机状态处理单元13,用于根据虚拟机运行控制处理单元12提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换,同时把这些状态信息输出到外部进行处理和显示。See shown in accompanying drawing 1, the present invention comprises virtual machine control command input/output processing unit 10, virtual machine location processing unit 11, virtual machine operation control processing unit 12 and virtual machine state processing unit 13; Virtual machine control command input/output The processing unit 10 is configured to output an externally input virtual machine control command to the virtual machine positioning processing unit 11, and output a processing result returned by the virtual machine operation control processing unit 12 to an external output unit. The virtual machine location processing unit 11 is configured to find the corresponding physical resource and the identifier of the virtual machine from the virtual machine manager of the host physical machine, and provide the information to the virtual machine operation control processing unit 12 . The virtual machine operation control processing unit 12 is configured to perform reallocation of physical resources according to the physical resources and virtual machine identification information provided by the virtual machine location processing unit 11, and provide the next state of the virtual machine life cycle to the virtual machine state processing unit 13. The virtual machine state processing unit 13 is configured to use the virtual machine manager to change the state of the virtual machine according to the life cycle information of the virtual machine provided by the virtual machine operation control processing unit 12, and output the state information to the outside for processing and displaying.

虚拟机控制命令输入/输出处理单元10的控制命令结构包括控制命令名称和虚拟机标识;所述的控制命令名称用于表示能使虚拟机状态发生迁移的操作,包括运行、结束、重新启动、暂停、恢复运行;所述的虚拟机标识用于标识要操作的虚拟机,是区分一个虚拟机与其他虚拟机的全局唯一标识。The control command structure of the virtual machine control command input/output processing unit 10 includes a control command name and a virtual machine identifier; the control command name is used to represent operations that can cause the state of the virtual machine to migrate, including running, ending, restarting, Suspend and resume operation; the virtual machine identifier is used to identify the virtual machine to be operated, and is a globally unique identifier to distinguish a virtual machine from other virtual machines.

虚拟机定位处理单元11的虚拟机管理器包括Xen、KVM、QEMU,在所述不同类型的虚拟机管理器上构建统一的接口,并根据虚拟机控制命令输入/输出处理单元10提供的虚拟机控制命令进行虚拟机的查找。The virtual machine manager of the virtual machine location processing unit 11 includes Xen, KVM, QEMU, builds a unified interface on the different types of virtual machine managers, and according to the virtual machine control command input/output virtual machine provided by the processing unit 10 Control commands to search for virtual machines.

虚拟机定位处理单元11的物理资源包括CPU、内存、硬盘空间和lP地址。The physical resources of the virtual machine location processing unit 11 include CPU, memory, hard disk space and IP address.

虚拟机运行控制处理单元12对物理资源重新分配,表示获取或释放CPU、内存、硬盘空间和lP地址这些物理资源。The virtual machine operation control processing unit 12 reallocates physical resources, which means acquiring or releasing physical resources such as CPU, memory, hard disk space and IP address.

虚拟机运行控制处理单元12的虚拟机生命周期包括虚拟机的各种状态以及状态之间的转换过程,虚拟机的状态包括等待、运行、暂停、停止、结束。The virtual machine life cycle of the virtual machine operation control processing unit 12 includes various states of the virtual machine and transition processes between the states. The states of the virtual machine include waiting, running, suspending, stopping, and ending.

如图2所示,本发明的运行控制装置的运行控制包括如下步骤:As shown in Figure 2, the operation control of the operation control device of the present invention comprises the following steps:

A、虚拟机运行控制处理单元12接收虚拟机定位处理单元11提供的物理资源信息,通过虚拟机管理器发出使用请求或释放请求;A. The virtual machine operation control processing unit 12 receives the physical resource information provided by the virtual machine positioning processing unit 11, and sends a use request or a release request through the virtual machine manager;

B、虚拟机运行控制处理单元12等待虚拟机管理器的处理结果响应,判断结果是否成功,如果是,把虚拟机生命周期信息发送给虚拟机状态处理单元13,执行步骤C,否则,返回处理失败的信息,跳转至步骤A;B, the virtual machine operation control processing unit 12 waits for the processing result response of the virtual machine manager, and judges whether the result is successful, if yes, sends the virtual machine life cycle information to the virtual machine state processing unit 13, and executes step C, otherwise, returns to the processing Failed information, jump to step A;

C、虚拟机状态处理单元13根据虚拟机运行控制处理单元12提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换;C. The virtual machine state processing unit 13 uses the virtual machine manager to change the state of the virtual machine according to the virtual machine life cycle information provided by the virtual machine operation control processing unit 12;

D、处理并显示返回结果。D. Process and display the returned results.

如图3所示,虚拟机状态处理单元13调用一个统一的虚拟机运行控制接口,此接口是一个与虚拟机管理器无关的运行控制接口,通过在不同的虚拟机管理器(Hypervisor)上把接口的命令翻译成不同的方言来达到统一控制的目的。As shown in Figure 3, the virtual machine state processing unit 13 invokes a unified virtual machine operation control interface, which is an operation control interface independent of the virtual machine manager. Interface commands are translated into different dialects to achieve unified control.

本发明统一了不同虚拟机类型的状态描述,如图4所示,通过执行不同的控制命令,虚拟机在各个状态之间跳转:The present invention unifies the state description of different virtual machine types, as shown in Figure 4, by executing different control commands, the virtual machine jumps between states:

操作41:初始情况下执行运行(run)命令,虚拟机跳转到等待(pending)状态;在pending状态下,本装置执行虚拟机早期的初始化操作,完毕后进入运行(running)状态;Operation 41: Execute the run command initially, and the virtual machine jumps to the pending state; in the pending state, the device executes the early initialization operation of the virtual machine, and enters the running state after completion;

操作42:在running状态下,执行暂停(pause)命令,虚拟机进入暂停(paused)状态;Operation 42: In the running state, execute the pause (pause) command, and the virtual machine enters the paused (paused) state;

操作43:在paused状态下,执行恢复运行(unpause)命令,虚拟机进入running状态;Operation 43: In the paused state, execute the unpause command, and the virtual machine enters the running state;

操作44:在running状态下,执行结束(terminate)命令,虚拟机进入停止(shuttingdown)状态;在shuttingdown状态下,本装置执行虚拟机资源的回收操作,完毕后进入结束(terminated)状态;Operation 44: In the running state, execute the terminate command, and the virtual machine enters the shutting down state; in the shutting down state, the device executes the recycling operation of the virtual machine resources, and enters the terminated state after completion;

操作45:在pending状态下,执行terminate命令,虚拟机进入shuttingdown状态;在shuttingdown状态下,本装置执行虚拟机资源的回收操作,完毕后进入terminated状态。Operation 45: Execute the terminate command in the pending state, and the virtual machine enters the shutdown state; in the shutdown state, the device executes the resource recovery operation of the virtual machine, and enters the terminated state after completion.

Claims (10)

Translated fromChinese
1.基于云计算的虚拟机运行控制装置,其特征在于:包括虚拟机控制命令输入/输出处理单元(10)、虚拟机定位处理单元(11)、虚拟机运行控制处理单元(12)和虚拟机状态处理单元(13);1. The virtual machine operation control device based on cloud computing is characterized in that: it comprises a virtual machine control command input/output processing unit (10), a virtual machine location processing unit (11), a virtual machine operation control processing unit (12) and a virtual machine Machine state processing unit (13);所述的虚拟机控制命令输入/输出处理单元(10),用于将外部输入的虚拟机控制命令输出给虚拟机定位处理单元(11),并将虚拟机运行控制处理单元(12)返回的处理结果输出给外部的输出单元;The virtual machine control command input/output processing unit (10) is used to output the externally input virtual machine control command to the virtual machine positioning processing unit (11), and return the virtual machine operation control processing unit (12) The processing result is output to an external output unit;所述的虚拟机定位处理单元(11),用于从宿主物理机的虚拟机管理器中查找到相应的物理资源及虚拟机标识,并将前述查找到的物理资源及虚拟机标识信息提供给虚拟机运行控制处理单元(12);The virtual machine location processing unit (11) is configured to find corresponding physical resources and virtual machine identifiers from the virtual machine manager of the host physical machine, and provide the previously found physical resources and virtual machine identifier information to A virtual machine operation control processing unit (12);所述的虚拟机运行控制处理单元(12),用于根据虚拟机定位处理单元(11)提供的物理资源及虚拟机标识信息执行物理资源的重新分配,并将虚拟机生命周期的下一个状态提供给虚拟机状态处理单元(13);The virtual machine operation control processing unit (12) is used to perform reallocation of physical resources according to the physical resources and virtual machine identification information provided by the virtual machine positioning processing unit (11), and the next state of the virtual machine life cycle Provided to the virtual machine state processing unit (13);所述的虚拟机状态处理单元(13),用于根据虚拟机运行控制处理单元(12)提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换,同时把虚拟机的状态信息输出到外部进行处理和显示。The virtual machine state processing unit (13) is used to use the virtual machine manager to change the state of the virtual machine according to the life cycle information of the virtual machine provided by the virtual machine operation control processing unit (12), and simultaneously transfer the state information of the virtual machine to Output to external for processing and display.2.根据权利要求1所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机控制命令结构包括控制命令名称和虚拟机标识;所述的控制命令名称用于表示能使虚拟机状态发生迁移的操作,包括运行、结束、重新启动、暂停、恢复运行;所述的虚拟机标识用于标识要操作的虚拟机,是区分一个虚拟机与其他虚拟机的全局唯一标识。2. The virtual machine operation control device based on cloud computing according to claim 1, characterized in that: the virtual machine control command structure includes a control command name and a virtual machine identifier; the control command name is used to indicate that it can The operation of migrating the state of the virtual machine, including running, ending, restarting, suspending, and resuming operation; the virtual machine identifier is used to identify the virtual machine to be operated, and is a globally unique identifier that distinguishes a virtual machine from other virtual machines .3.根据权利要求1所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机管理器包括Xen、KVM、QEMU,在不同类型的虚拟机管理器上构建统一的接口,并根据虚拟机控制命令输入/输出处理单元(10)提供的虚拟机控制命令进行虚拟机的查找。3. The virtual machine operation control device based on cloud computing according to claim 1, characterized in that: said virtual machine manager includes Xen, KVM, QEMU, and builds a unified interface on different types of virtual machine managers , and search for the virtual machine according to the virtual machine control command provided by the virtual machine control command input/output processing unit (10).4.根据权利要求2所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的的虚拟机管理器包括Xen、KVM、QEMU,在不同类型的虚拟机管理器上构建统一的接口,并根据虚拟机控制命令输入/输出处理单元(10)提供的虚拟机控制命令进行虚拟机的查找。4. The virtual machine operation control device based on cloud computing according to claim 2, characterized in that: said virtual machine manager includes Xen, KVM, QEMU, and builds a unified virtual machine manager on different types of virtual machine managers interface, and perform virtual machine search according to the virtual machine control command provided by the virtual machine control command input/output processing unit (10).5.根据权利要求1、2、3或4所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的物理资源包括CPU、内存、硬盘空间和lP地址。5. The virtual machine operation control device based on cloud computing according to claim 1, 2, 3 or 4, characterized in that: said physical resources include CPU, memory, hard disk space and IP address.6.根据权利要求1、2、3或4所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机运行控制处理单元(12)对物理资源重新分配,表示获取或释放CPU、内存、硬盘空间和lP地址这些物理资源。6. The virtual machine operation control device based on cloud computing according to claim 1, 2, 3 or 4, characterized in that: the virtual machine operation control processing unit (12) redistributes physical resources, indicating acquisition or Release physical resources such as CPU, memory, hard disk space and IP address.7.根据权利要求1、2、3或4所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机生命周期包括虚拟机的各种状态以及状态之间的转换过程,虚拟机的状态包括等待、运行、暂停、停止、结束。7. The virtual machine operation control device based on cloud computing according to claim 1, 2, 3 or 4, characterized in that: the virtual machine life cycle includes various states of the virtual machine and transition processes between states , the state of the virtual machine includes waiting, running, suspending, stopping, and ending.8.根据权利要求5所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机生命周期包括虚拟机的各种状态以及状态之间的转换过程,虚拟机的状态包括等待、运行、暂停、停止、结束。8. The virtual machine operation control device based on cloud computing according to claim 5, wherein the life cycle of the virtual machine includes various states of the virtual machine and transition processes between states, and the state of the virtual machine includes Wait, run, pause, stop, end.9.根据权利要求6所述的基于云计算的虚拟机运行控制装置,其特征在于:所述的虚拟机生命周期包括虚拟机的各种状态以及状态之间的转换过程,虚拟机的状态包括等待、运行、暂停、停止、结束。9. The virtual machine operation control device based on cloud computing according to claim 6, characterized in that: the virtual machine life cycle includes various states of the virtual machine and transition processes between states, and the state of the virtual machine includes Wait, run, pause, stop, end.10.一种权利要求1所述的基于云计算的虚拟机运行控制装置的运行控制方法,其特征在于:运行控制包括如下步骤:10. The operation control method of the virtual machine operation control device based on cloud computing according to claim 1, characterized in that: operation control comprises the following steps:A、虚拟机运行控制处理单元(12)接收虚拟机定位处理单元(11)提供的物理资源信息,通过虚拟机管理器发出使用请求或释放请求;A. The virtual machine operation control processing unit (12) receives the physical resource information provided by the virtual machine positioning processing unit (11), and sends a use request or a release request through the virtual machine manager;B、虚拟机运行控制处理单元(12)等待虚拟机管理器的处理结果响应,判断结果是否成功,如果是,把虚拟机生命周期信息发送给虚拟机状态处理单元(13),执行步骤C,否则,返回处理失败的信息,跳转至步骤A;B, the virtual machine operation control processing unit (12) waits for the processing result response of the virtual machine manager, and judges whether the result is successful, if so, sends the virtual machine life cycle information to the virtual machine state processing unit (13), and performs step C, Otherwise, return the processing failure information and jump to step A;C、虚拟机状态处理单元(13)根据虚拟机运行控制处理单元(12)提供的虚拟机生命周期信息使用虚拟机管理器令虚拟机进行状态变换;C, the virtual machine state processing unit (13) uses the virtual machine manager to make the virtual machine perform a state change according to the virtual machine life cycle information provided by the virtual machine operation control processing unit (12);D、处理并显示返回结果。D. Process and display the returned result.
CN201010292159.7A2010-09-252010-09-25Virtual machine operation control device based on cloud computing and operation control method thereofExpired - Fee RelatedCN102307208B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201010292159.7ACN102307208B (en)2010-09-252010-09-25Virtual machine operation control device based on cloud computing and operation control method thereof

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201010292159.7ACN102307208B (en)2010-09-252010-09-25Virtual machine operation control device based on cloud computing and operation control method thereof

Publications (2)

Publication NumberPublication Date
CN102307208A CN102307208A (en)2012-01-04
CN102307208Btrue CN102307208B (en)2014-08-06

Family

ID=45381017

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201010292159.7AExpired - Fee RelatedCN102307208B (en)2010-09-252010-09-25Virtual machine operation control device based on cloud computing and operation control method thereof

Country Status (1)

CountryLink
CN (1)CN102307208B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9372735B2 (en)2012-01-092016-06-21Microsoft Technology Licensing, LlcAuto-scaling of pool of virtual machines based on auto-scaling rules of user associated with the pool
US8904008B2 (en)2012-01-092014-12-02Microsoft CorporationAssignment of resources in virtual machine pools
CN102646062B (en)*2012-03-202014-04-09广东电子工业研究院有限公司Flexible capacity enlargement method for cloud computing platform based application clusters
CN103475677B (en)*2012-06-072018-08-28南京中兴软件有限责任公司The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms
CN103049268B (en)*2012-12-252016-08-03中国科学院深圳先进技术研究院A kind of application and development based on Naplet management system
CN104123170B (en)*2013-04-232018-02-09杭州迪普科技股份有限公司A kind of virtual machine control device and method
CN103338257B (en)*2013-07-042014-07-16广西中烟工业有限责任公司Management control method of electrical power units of multimedia conference
CN104216783B (en)*2014-08-202017-07-11上海交通大学Virtual GPU resource autonomous management and control method in cloud game
CN104394011A (en)*2014-11-112015-03-04浪潮电子信息产业股份有限公司Method for supporting server virtualization operation and maintenance through alarm information
CN106789407A (en)*2016-12-052017-05-31国云科技股份有限公司 A method for checking the connection status of a virtual machine on a cloud platform
CN106845168B (en)*2016-12-202019-05-03西安电子科技大学 A Control Flow Hiding Method for Remote Computing
WO2019000358A1 (en)*2017-06-302019-01-03Intel CorporationTechniques for live migration support for graphics processing unit virtualization

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1882913A (en)*2003-12-102006-12-20英特尔公司Virtual machine management using activity information
CN1916855A (en)*2005-08-192007-02-21联想(北京)有限公司System of virtual machine, and method for configuring hardware
CN1936845A (en)*2005-09-192007-03-28联想(北京)有限公司Method and apparatus for dynamic distribution of virtual machine system input-output apparatus
CN101436966A (en)*2008-12-232009-05-20北京航空航天大学Network monitoring and analysis system under virtual machine circumstance

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8336046B2 (en)*2006-12-292012-12-18Intel CorporationDynamic VM cloning on request from application based on mapping of virtual hardware configuration to the identified physical hardware resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1882913A (en)*2003-12-102006-12-20英特尔公司Virtual machine management using activity information
CN1916855A (en)*2005-08-192007-02-21联想(北京)有限公司System of virtual machine, and method for configuring hardware
CN1936845A (en)*2005-09-192007-03-28联想(北京)有限公司Method and apparatus for dynamic distribution of virtual machine system input-output apparatus
CN101436966A (en)*2008-12-232009-05-20北京航空航天大学Network monitoring and analysis system under virtual machine circumstance

Also Published As

Publication numberPublication date
CN102307208A (en)2012-01-04

Similar Documents

PublicationPublication DateTitle
CN102307208B (en)Virtual machine operation control device based on cloud computing and operation control method thereof
US10871980B2 (en)Execution of a script based on properties of a virtual device associated with a virtual machine
US9996396B2 (en)Cross architecture virtual machine migration
US7971203B2 (en)Method, apparatus and system for dynamically reassigning a physical device from one virtual machine to another
JP5599804B2 (en) How to allocate virtual storage
RU2412468C2 (en)Systems and methods for multilevel processing of interceptions in virtual machine environment
US8510735B2 (en)Runtime environment for virtualizing information technology appliances
CN101968746B (en)A kind of implementation method of kernel virtual machine Organizational Structure Mode
US8904159B2 (en)Methods and systems for enabling control to a hypervisor in a cloud computing environment
CN107479943B (en) Multi-operating system operation method and device based on industrial Internet operating system
US9588793B2 (en)Creating new virtual machines based on post-boot virtual machine snapshots
US9201823B2 (en)Pessimistic interrupt affinity for devices
JP2011100431A (en)Device and method for controlling virtual machine
WO2021018267A1 (en)Live migration method for virtual machine and communication device
US9003094B2 (en)Optimistic interrupt affinity for devices
KR20060047772A (en) Systems and Methods for Initializing Multiple Virtual Processors in One Virtual Machine
US8793688B1 (en)Systems and methods for double hulled virtualization operations
US9841983B2 (en)Single click host maintenance
CN102799465B (en)Virtual interrupt management method and device of distributed virtual system
US8145471B2 (en)Non-destructive simulation of a failure in a virtualization environment
WO2012069276A1 (en)Device emulation in a virtualized computing environment
JP2021007027A (en) Speculative virtual machine execution
CN102609324A (en)Method, device and system for restoring deadlock of virtual machine
Masood et al.Virtualization tools and techniques: Survey
CN108762891A (en)A kind of cloud platform resource regulating method and device

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20140806


[8]ページ先頭

©2009-2025 Movatter.jp