CN102307208B - Cloud-computing-based virtual machine running control device and running control method thereof - Google Patents

Cloud-computing-based virtual machine running control device and running control method thereof Download PDF

Info

Publication number
CN102307208B
CN102307208B CN201010292159.7A CN201010292159A CN102307208B CN 102307208 B CN102307208 B CN 102307208B CN 201010292159 A CN201010292159 A CN 201010292159A CN 102307208 B CN102307208 B CN 102307208B
Authority
CN
China
Prior art keywords
virtual machine
processing unit
state
cloud computing
control device
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.)
Active
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 CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201010292159.7A priority Critical patent/CN102307208B/en
Publication of CN102307208A publication Critical patent/CN102307208A/en
Application granted granted Critical
Publication of CN102307208B publication Critical patent/CN102307208B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention relates to the technical field of cloud computing, in particular to a cloud-computing-based virtual machine running control device and a cloud-computing-based virtual machine running control method. The device comprises a virtual machine control command input/output processing unit, a virtual machine positioning processing unit, a virtual machine running control processing unit and a virtual machine state processing unit, wherein the virtual machine running control processing unit is used for reallocating physical resources according to the physical resources and virtual machine identification information provided by the virtual machine positioning processing unit, and providing the next state of a virtual machine life cycle for the virtual machine state processing unit; and the virtual machine state processing unit is used for performing state transformation on a virtual machine by using a virtual machine manager according to virtual machine life cycle information provided by the virtual machine running control processing unit, and simultaneously externally transmitting state information for processing and displaying. By the device and the method, problems about the normalization of virtual machine running control ways are effectively solved; and the device and the method can be widely applied to virtual machine running control.

Description

Virtual machine operating control device and progress control method thereof based on cloud computing
Technical field
The present invention relates to cloud computing technology field, refer in particular to a kind of virtual machine operating control device and progress control method thereof based on cloud computing.
Background technology
Computer application pattern substantially experienced take centralized architecture (data center 1.0) that large-scale computer is main body, client/server distributed computing architecture (data center 2.0) that the PC of take is main body, take Intel Virtualization Technology as the service-oriented architecture of core (SOA) and the novel framework based on Web2.0 application characteristic (data center 3.0).The differentiation of computer application pattern, Technical Architecture and realization character is the historical background of cloud computing development.
The essence of cloud computing is the application under network, by lP and the common structure of lT technology.From the angle of development, the technology of " cloud " and target are processes progressively developing.Such as, when Web technology occurs, with regard to having possessed the application characteristic of cloud computing, there is the blank of unified interface.Along with the maturation of the Intel Virtualization Technology in server application platform and the release of Web unified interface, virtual and Web moves towards combination, makes cloud computing can on the framework of an integration, unify to realize.
Virtual is the term of a broad sense, aspect computer, typically refer to computing element on virtual basis rather than real basis on move.Intel Virtualization Technology can expand the capacity of hardware, simplifies the process that reconfigures of software.It is parallel that the Intel Virtualization Technology of CPU can single CPU be simulated many CPU, allows a platform to move a plurality of operating system simultaneously, and application program can move and be independent of each other in separate space, thereby significantly improve the operating efficiency of computer.
Intel Virtualization Technology and multitask and Hyper-Threading are diverse.Multitask refers to a plurality of programs parallel running simultaneously in an operating system, and in Intel Virtualization Technology, can move a plurality of operating system simultaneously, and in each operating system, having a plurality of program operations, each operating system operates on a virtual CPU or fictitious host computer; And Hyper-Threading is single CPU simulated dual CPU, carry out equilibrium code runnability, these two simulations CPU is out indissociable, can only collaborative work.
Also to reach equally the software of virtual effect different from current VMware Workstation etc. for Intel Virtualization Technology, are huge technological progresses, are in particular in and reduce software virtual machine associated overhead and support operating system aspect widely.
Cloud computing is at present used maximum virtual machine manager Xen (open source code virtual machine monitor in field, by Cambridge University, developed), (full name is Kernel-based Virtual Machine to KVM, virtual machine based on kernel, the exploitation of You Hong cap company), the method aspect virtual machine operation control such as QEMU (a set of cross-platform simulator of increasing income of being write by Fabrice Bellard) is different, this situation brings challenges to the exploitation of cloud computing field Virtual Machine Manager and elasticity calculation procedure, therefore, the virtual machine operation control method that need to provide unified device that standard is provided.
Summary of the invention
One of technical problem that the present invention solves is to provide a virtual machine operating control device based on cloud computing unified, that simple, powerful and effective standard virtual machine operation is controlled.
Two of the technical problem that the present invention solves is to provide a progress control method for the virtual machine operating control device based on cloud computing unified, that simple, powerful and effective standard virtual machine operation is controlled.
The technical scheme that the present invention one of solves the problems of the technologies described above is: comprise virtual machine control command I/O processing unit, virtual machine localization process unit, virtual machine operation controlled processing unit and virtual machine state processing unit;
Described virtual machine control command I/O processing unit, for the virtual machine control command of outside input is exported to virtual machine localization process unit, and moves by virtual machine the result that controlled processing unit returns and exports to outside output unit;
Described virtual machine localization process unit, for the virtual machine manager from host's physical machine, find corresponding physical resource and virtual machine sign, and the aforementioned physical resource finding and virtual machine identification information are offered to virtual machine operation controlled processing unit;
Described virtual machine operation controlled processing unit, for the physical resource and the virtual machine identification information that provide according to virtual machine localization process unit, carry out redistributing of physical resource, and the next state of virtual machine life cycle is offered to virtual machine state processing unit;
Described virtual machine state processing unit, for the virtual machine life cycle information providing according to virtual machine operation controlled processing unit, use virtual machine manager to make virtual machine carry out state transformation, the state information of virtual machine is outputed to outside and process and display simultaneously.
Described virtual machine control command structure comprises control command title and virtual machine sign; Described control command title can make virtual machine state that the operation of migration occurs for representing, comprises operation, finishes, restarts, suspends, resumes operation; Described virtual machine sign, for identifying the virtual machine that will operate, is the globally unique identifier of distinguishing a virtual machine and other virtual machines.
Described virtual machine manager comprises Xen, KVM, QEMU, on dissimilar virtual machine manager, build unified interface, and the virtual machine control command providing according to virtual machine control command I/O processing unit (10) is carried out searching of virtual machine.
Described physical resource comprises CPU, internal memory, hard drive space and lP address.
Described virtual machine operation controlled processing unit is redistributed physical resource, represents to obtain or discharge CPU, internal memory, hard drive space and these physical resources of lP address.
Described virtual machine life cycle comprises the various states of virtual machine and the transfer process between state, and the state of virtual machine comprises wait, moves, suspends, stops, finishing.
Two the technical scheme that the present invention solves the problems of the technologies described above is: operation is controlled and comprised the steps:
The physical resource information that A, virtual machine operation controlled processing unit sink virtual machine localization process unit provide, is sent and is used request or releasing request by virtual machine manager;
B, virtual machine operation controlled processing unit are waited for the result response of virtual machine manager, and whether judged result is successful, if, virtual machine life cycle information is sent to virtual machine state processing unit, execution step C, otherwise, return and process failed information, jump to steps A;
The virtual machine life cycle information that C, virtual machine state processing unit provide according to virtual machine operation controlled processing unit is used virtual machine manager to make virtual machine carry out state transformation;
D, processing demonstration return results.
The beneficial effect that the present invention can reach is:
1, the interface that the present invention externally provides is followed Web Service interface specification, is conventional, a popular interface, and applicable scope is very wide.
2, between the interface that the present invention externally provides and subscription client program, communicate by letter and adopt SSL cipher mode, guarantee maintaining secrecy and the safety of data of Content of Communication.
3, the invention provides operation control interface unified on different virtual machine manager, for cloud computing field virtual machine operation control field provides a unification, simple, powerful and effective virtual machine operation controlling mechanism.
4, the present invention has unified the state description of different virtual machine type, for cloud computing builds unified virtual machine description layer, provides support.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described:
Fig. 1 is the structured flowchart of virtual machine operating control device of the present invention;
Fig. 2 is virtual machine operation controlled processing unit 12 of the present invention and virtual machine state processing unit 13 process charts;
Fig. 3 is the structure chart of the unified virtual machine operation control interface of the present invention;
Fig. 4 is that the present invention is virtual machine state transition graph.
Embodiment
See shown in accompanying drawing 1, the present invention includes virtual machine control command I/O processing unit 10, virtual machine localization process unit 11, virtual machine operation controlled processing unit 12 and virtual machine state processing unit 13; Virtual machine control command I/O processing unit 10, for the virtual machine control command of outside input is exported to virtual machine localization process unit 11, and moves by virtual machine the result that controlled processing unit 12 returns and exports to outside output unit.Virtual machine localization process unit 11, for the virtual machine manager from host's physical machine, find the sign of corresponding physical resource and virtual machine, and these information offered to virtual machine operation controlled processing unit 12.Virtual machine operation controlled processing unit 12, for the physical resource and the virtual machine identification information that provide according to virtual machine localization process unit 11, carry out redistributing of physical resource, and the next state of virtual machine life cycle is offered to virtual machine state processing unit 13.Virtual machine state processing unit 13, is used virtual machine manager to make virtual machine carry out state transformation for the virtual machine life cycle information providing according to virtual machine operation controlled processing unit 12, these state informations is outputed to outside and processs and displays simultaneously.
The control command structure of virtual machine control command I/O processing unit 10 comprises control command title and virtual machine sign; Described control command title can make virtual machine state that the operation of migration occurs for representing, comprises operation, finishes, restarts, suspends, resumes operation; Described virtual machine sign, for identifying the virtual machine that will operate, is the globally unique identifier of distinguishing a virtual machine and other virtual machines.
The virtual machine manager of virtual machine localization process unit 11 comprises Xen, KVM, QEMU, on described dissimilar virtual machine manager, build unified interface, and the virtual machine control command providing according to virtual machine control command I/O processing unit 10 is carried out searching of virtual machine.
The physical resource of virtual machine localization process unit 11 comprises CPU, internal memory, hard drive space and lP address.
12 pairs of physical resources of virtual machine operation controlled processing unit are redistributed, and represent to obtain or discharge CPU, internal memory, hard drive space and these physical resources of lP address.
The virtual machine life cycle of virtual machine operation controlled processing unit 12 comprises the various states of virtual machine and the transfer process between state, and the state of virtual machine comprises wait, moves, suspends, stops, finishing.
As shown in Figure 2, the operation of operating control device of the present invention is controlled and is comprised the steps:
The physical resource information that A, virtual machine operation controlled processing unit 12 sink virtual machine localization process unit 11 provide, is sent and is used request or releasing request by virtual machine manager;
B, virtual machine operation controlled processing unit 12 are waited for the result response of virtual machine manager, and whether judged result is successful, if, virtual machine life cycle information is sent to virtual machine state processing unit 13, execution step C, otherwise, return and process failed information, jump to steps A;
The virtual machine life cycle information that C, virtual machine state processing unit 13 provide according to virtual machine operation controlled processing unit 12 is used virtual machine manager to make virtual machine carry out state transformation;
D, processing demonstration return results.
As shown in Figure 3, virtual machine state processing unit 13 calls a unified virtual machine operation control interface, this interface be one with the irrelevant operation control interface of virtual machine manager, by the virtual machine manager different (Hypervisor) is upper, become different dialects to reach the object of unified control the command translation of interface.
The present invention has unified the state description of different virtual machine type, as shown in Figure 4, by carrying out different control commands, virtual machine redirect between each state:
Operation 41: carry out operation (run) order under initial situation, virtual machine jumps to wait (pending) state; Under pending state, this device is carried out the early stage initialization operation of virtual machine, after enter operation (running) state;
Operation 42: under running state, carry out and suspend (pause) order, virtual machine enters time-out (paused) state;
Operation 43: under paused state, carry out (unpause) order of resuming operation, virtual machine enters running state;
Operation 44: under running state, carry out and finish (terminate) order, virtual machine enters and stops (shuttingdown) state; Under shuttingdown state, this device is carried out the reclaimer operation of resources of virtual machine, after enter end (terminated) state;
Operation 45: under pending state, carry out terminate order, virtual machine enters shuttingdown state; Under shuttingdown state, this device is carried out the reclaimer operation of resources of virtual machine, after enter terminated state.

Claims (10)

1. the virtual machine operating control device based on cloud computing, is characterized in that: comprise virtual machine control command I/O processing unit (10), virtual machine localization process unit (11), virtual machine operation controlled processing unit (12) and virtual machine state processing unit (13);
Described virtual machine control command I/O processing unit (10), for the virtual machine control command of outside input is exported to virtual machine localization process unit (11), and virtual machine is moved to the result that controlled processing unit (12) returns and export to outside output unit;
Described virtual machine localization process unit (11), for the virtual machine manager from host's physical machine, find corresponding physical resource and virtual machine sign, and the aforementioned physical resource finding and virtual machine identification information are offered to virtual machine operation controlled processing unit (12);
Described virtual machine operation controlled processing unit (12), for the physical resource and the virtual machine identification information that provide according to virtual machine localization process unit (11), carry out redistributing of physical resource, and the next state of virtual machine life cycle is offered to virtual machine state processing unit (13);
Described virtual machine state processing unit (13), for the virtual machine life cycle information providing according to virtual machine operation controlled processing unit (12), use virtual machine manager to make virtual machine carry out state transformation, the state information of virtual machine is outputed to outside and process and display simultaneously.
2. the virtual machine operating control device based on cloud computing according to claim 1, is characterized in that: described virtual machine control command structure comprises control command title and virtual machine sign; Described control command title can make virtual machine state that the operation of migration occurs for representing, comprises operation, finishes, restarts, suspends, resumes operation; Described virtual machine sign, for identifying the virtual machine that will operate, is the globally unique identifier of distinguishing a virtual machine and other virtual machines.
3. the virtual machine operating control device based on cloud computing according to claim 1, it is characterized in that: described virtual machine manager comprises Xen, KVM, QEMU, on dissimilar virtual machine manager, build unified interface, and the virtual machine control command providing according to virtual machine control command I/O processing unit (10) is carried out searching of virtual machine.
4. the virtual machine operating control device based on cloud computing according to claim 2, it is characterized in that: described virtual machine manager comprises Xen, KVM, QEMU, on dissimilar virtual machine manager, build unified interface, and the virtual machine control command providing according to virtual machine control command I/O processing unit (10) is carried out searching of virtual machine.
5. according to the virtual machine operating control device based on cloud computing described in claim 1,2,3 or 4, it is characterized in that: described physical resource comprises CPU, internal memory, hard drive space and lP address.
6. according to the virtual machine operating control device based on cloud computing described in claim 1,2,3 or 4, it is characterized in that: described virtual machine operation controlled processing unit (12) is redistributed physical resource, represent to obtain or discharge CPU, internal memory, hard drive space and these physical resources of lP address.
7. according to the virtual machine operating control device based on cloud computing described in claim 1,2,3 or 4, it is characterized in that: described virtual machine life cycle comprises the various states of virtual machine and the transfer process between state, and the state of virtual machine comprises wait, moves, suspends, stops, finishing.
8. the virtual machine operating control device based on cloud computing according to claim 5, it is characterized in that: described virtual machine life cycle comprises the various states of virtual machine and the transfer process between state, and the state of virtual machine comprises wait, moves, suspends, stops, finishing.
9. the virtual machine operating control device based on cloud computing according to claim 6, it is characterized in that: described virtual machine life cycle comprises the various states of virtual machine and the transfer process between state, and the state of virtual machine comprises wait, moves, suspends, stops, finishing.
10. a progress control method for the virtual machine operating control device based on cloud computing claimed in claim 1, is characterized in that: operation is controlled and comprised the steps:
The physical resource information that A, virtual machine operation controlled processing unit (12) sink virtual machine localization process unit (11) provide, is sent and is used request or releasing request by virtual machine manager;
B, virtual machine operation controlled processing unit (12) are waited for the result response of virtual machine manager, whether judged result is successful, if, virtual machine life cycle information is sent to virtual machine state processing unit (13), execution step C, otherwise, return and process failed information, jump to steps A;
The virtual machine life cycle information that C, virtual machine state processing unit (13) provide according to virtual machine operation controlled processing unit (12) is used virtual machine manager to make virtual machine carry out state transformation;
D, processing demonstration return results.
CN201010292159.7A 2010-09-25 2010-09-25 Cloud-computing-based virtual machine running control device and running control method thereof Active CN102307208B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010292159.7A CN102307208B (en) 2010-09-25 2010-09-25 Cloud-computing-based virtual machine running control device and running control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010292159.7A CN102307208B (en) 2010-09-25 2010-09-25 Cloud-computing-based virtual machine running control device and running control method thereof

Publications (2)

Publication Number Publication Date
CN102307208A CN102307208A (en) 2012-01-04
CN102307208B true CN102307208B (en) 2014-08-06

Family

ID=45381017

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010292159.7A Active CN102307208B (en) 2010-09-25 2010-09-25 Cloud-computing-based virtual machine running control device and running control method thereof

Country Status (1)

Country Link
CN (1) CN102307208B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8904008B2 (en) 2012-01-09 2014-12-02 Microsoft Corporation Assignment of resources in virtual machine pools
US9372735B2 (en) 2012-01-09 2016-06-21 Microsoft Technology Licensing, Llc Auto-scaling of pool of virtual machines based on auto-scaling rules of user associated with the pool
CN102646062B (en) * 2012-03-20 2014-04-09 广东电子工业研究院有限公司 Flexible capacity enlargement method for cloud computing platform based application clusters
CN103475677B (en) * 2012-06-07 2018-08-28 南京中兴软件有限责任公司 The method, apparatus and system of dummy node are managed in a kind of PaaS cloud platforms
CN103049268B (en) * 2012-12-25 2016-08-03 中国科学院深圳先进技术研究院 A kind of application and development based on Naplet management system
CN104123170B (en) * 2013-04-23 2018-02-09 杭州迪普科技股份有限公司 A kind of virtual machine control device and method
CN103338257B (en) * 2013-07-04 2014-07-16 广西中烟工业有限责任公司 Management control method of electrical power units of multimedia conference
CN104216783B (en) * 2014-08-20 2017-07-11 上海交通大学 Virtual GPU resource autonomous management and control method in cloud game
CN104394011A (en) * 2014-11-11 2015-03-04 浪潮电子信息产业股份有限公司 A method for supporting server virtualization operation and maintenance by a warning message
CN106789407A (en) * 2016-12-05 2017-05-31 国云科技股份有限公司 A kind of method that cloud platform checks virtual machine connection status
CN106845168B (en) * 2016-12-20 2019-05-03 西安电子科技大学 A kind of obfuscating control flow method towards remote computation
WO2019000358A1 (en) * 2017-06-30 2019-01-03 Intel Corporation Techniques for live migration support for graphics processing unit virtualization

Citations (4)

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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8336046B2 (en) * 2006-12-29 2012-12-18 Intel Corporation Dynamic 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 number Priority date Publication date Assignee Title
CN1882913A (en) * 2003-12-10 2006-12-20 英特尔公司 Virtual machine management using activity information
CN1916855A (en) * 2005-08-19 2007-02-21 联想(北京)有限公司 System of virtual machine, and method for configuring hardware
CN1936845A (en) * 2005-09-19 2007-03-28 联想(北京)有限公司 Method and apparatus for dynamic distribution of virtual machine system input-output apparatus
CN101436966A (en) * 2008-12-23 2009-05-20 北京航空航天大学 Network monitoring and analysis system under virtual machine circumstance

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102307208B (en) Cloud-computing-based virtual machine running control device and running control method thereof
JP6826586B2 (en) Dependency-based container deployment methods, systems, and programs
Rosenblum et al. Virtual machine monitors: Current technology and future trends
JP5599804B2 (en) How to allocate virtual storage
US9594590B2 (en) Application migration with dynamic operating system containers
CN104866372B (en) The efficient physical machine that a kind of service-oriented device is integrated is to virtual machine conversion method
JP2011100431A (en) Device and method for controlling virtual machine
US20130332920A1 (en) Live virtual machine template creation
US8880764B2 (en) Pessimistic interrupt affinity for devices
US9003094B2 (en) Optimistic interrupt affinity for devices
US9367345B1 (en) Power efficient cross-VCPU notification by VM function
US9841983B2 (en) Single click host maintenance
CN106462451A (en) Interruption handling method and relevant device of virtual platform
US20170024231A1 (en) Configuration of a computer system for real-time response from a virtual machine
CN112463296B (en) Method and device for creating virtual machine
US9325576B2 (en) Dynamic server to server configuration and initialization
Chang et al. On construction and performance evaluation of a virtual desktop infrastructure with GPU accelerated
CN103227825A (en) Desktop all-in-one machine framework
US9354909B2 (en) Processing systems and methods
CN102959513B (en) Virtual machine merging method and system
US9684529B2 (en) Firmware and metadata migration across hypervisors based on supported capabilities
US10671425B2 (en) Lazy timer programming for virtual machines
US9740514B1 (en) Method and system to share data with snapshots in a virtualization environment
US8402191B2 (en) Computing element virtualization
Yang et al. The implementation of a virtual desktop infrastructure with GPU accelerated on OpenStack

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