CN102170428B - Dynamic expansion management method of isomerous virtual machine platform - Google Patents

Dynamic expansion management method of isomerous virtual machine platform Download PDF

Info

Publication number
CN102170428B
CN102170428B CN2011100686807A CN201110068680A CN102170428B CN 102170428 B CN102170428 B CN 102170428B CN 2011100686807 A CN2011100686807 A CN 2011100686807A CN 201110068680 A CN201110068680 A CN 201110068680A CN 102170428 B CN102170428 B CN 102170428B
Authority
CN
China
Prior art keywords
virtual machine
machine platform
platform
information
type
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
CN2011100686807A
Other languages
Chinese (zh)
Other versions
CN102170428A (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.)
Wuxi City Cloud Computer Center Co.,Ltd.
Original Assignee
WUXI CITY CLOUD COMPUTER CENTER CO Ltd
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 WUXI CITY CLOUD COMPUTER CENTER CO Ltd filed Critical WUXI CITY CLOUD COMPUTER CENTER CO Ltd
Priority to CN2011100686807A priority Critical patent/CN102170428B/en
Publication of CN102170428A publication Critical patent/CN102170428A/en
Application granted granted Critical
Publication of CN102170428B publication Critical patent/CN102170428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a dynamic expansion management method of an isomerous virtual machine platform, which comprises the following step: an object module, a hypervisor management function module and a management function module of a virtual machine platform are respectively rewritten and deployed into specified positions of a system according to corresponding module interfaces of the system. By the support of the method to the isomerous virtual machine platform, the dynamic expansion can be realized, the operation of a software management system dose not need to be stopped, codes of an original system do not need to be modified, and the isomerous virtual machines can be supported.

Description

A kind of dynamic expansion management method of isomerous virtual machine platform
Technical field
The present invention relates to the Virtual Machine Manager field, be specifically related to a kind of method that isomery virtual machine platform dynamic expansion is supported.
Background technology
It is upper that virtual machine operates in virtual machine platform (being Hypervisor), is to realize by the operation to virtual machine platform to the various bookkeepings of virtual machine.To the management of dissimilar virtual machine, need the management of software management system support to dissimilar virtual machine platform.
Industry has multiple virtual machine platform at present, comprises VMware, Xen, Hyper-V, KVM etc.The management interface of these virtual machine platforms is different, and the function provided also has difference.Software management system will realize the management to virtual machine, the type of the virtual machine platform that the system that need to define at the beginning of system is supported, and define the operation-interface to this virtual machine platform.If the support to the isomery virtual machine platform is provided, need to define respectively the operation-interface of different virtual machine platforms.
The system run duration, can only provide the support to the virtual machine platform pre-defined.New virtual machine platform can't dynamic appending in software management system, namely can't realize the dynamic expansion support to the virtual machine platform outside system predefine.
Summary of the invention
For solving in existing virtual machine platform software management system, the defect of the operation-interface of the virtual machine platform of must predefine supporting, the invention provides a kind of without predefine virtual machine platform operation-interface, the method for can dynamic appending new virtual machine platform.
A kind of dynamic expansion management method of isomerous virtual machine platform, write and be deployed to the system assigned address according to the corresponding module interface of system respectively again by the object module of virtual machine platform, platform management functions module and management function module;
Step is as follows:
A1, system client send the solicited message to virtual machine operations to the system service end;
After B1, system service termination are received solicited message, the information content is analyzed, got respectively virtual machine platform information, virtual machine information and operation information;
C1, system service end are according to virtual machine platform information, and location virtual machine platform type, if system is supported the virtual machine platform of the type, perform step 4; Otherwise prompting makes mistakes and returns to system client;
D1, system service end, according to virtual machine information, are located concrete virtual machine platform and virtual machine, if system is located successfully, perform step 5; Otherwise prompting makes mistakes and returns to system client;
E1, system service end, according to operation information, are carried out concrete operation to virtual machine, if the success of system service end executable operations returns to system client by operating result; Otherwise prompting makes mistakes and returns to system client.
Preferably, described system client and system service end are respectively client and the service end of B/S framework and C/S Framework Software system.
Preferably, virtual machine platform information described in step B1 refers to the unique ID of the overall situation be used to the type that identifies virtual machine platform of system definition.
Preferably, virtual machine information described in step B1 refer to system definition be used to identifying the information of virtual machine, comprise the virtual machine platform ID under the unique ID of the overall situation, virtual machine title, virtual machine type, virtual machine of virtual machine.
Preferably, in step C1, location virtual machine platform type is according to virtual machine platform type I D, in system, searches registered virtual machine platform type, if expression system of success is supported the virtual machine platform of the type.
Preferably, in step D1, concrete virtual machine platform and the virtual machine in location is according to the virtual machine platform ID under virtual machine type and virtual machine, in system, search the platform of concrete this virtual machine of operation, then, according to virtual machine ID and virtual machine title, in system, search concrete virtual machine.
Preferably, described module interface is the general-purpose interface taken out according to virtual machine platform.
The present invention can realize dynamic expansion to the support of isomery virtual machine platform, without the operation that stops software management system, changes without the code to original system; Can support dissimilar virtual machine.
The accompanying drawing explanation
Fig. 1 is virtual machine architecture figure of the present invention
Embodiment
System designs based on dynamic extendible framework, and the module of take is carried out division and the realization of function as unit.System, when operation, can, by the interface that the unique ID of the overall situation searches and access modules defines, be organized the information flow of internal system between each module.System definition module expansion interface and registration service management interface, for the new virtual machine platform of system dynamic expansion provide mechanism.
Under the effect of above-mentioned mechanism, the virtual machine platform that dynamic expansion is new comprises the following steps:
Step 1), according to the virtual machine platform object module interface of system definition, write new virtual machine platform object module.
Step 2), according to the virtual machine platform management function module interface of system definition, write new virtual machine platform management function module.
Step 3), according to the management function of virtual machine module interface of system definition, write new management function of virtual machine module.
Step 4), according to the virtual machine platform register method of system definition, by management interface, above-mentioned 3 modules are deployed to the system assigned address, and revise the virtual machine platform configuration information.
In technique scheme, module refers to the programming unit of system definition, namely meets the set of the computer code of certain condition.Module interface refers to the description of the function that the module of system definition will realize, but does not need the implementation procedure of defined function.
Above-mentioned 3 class interfaces are the general-purpose interfaces to various virtual machine platforms, not for the virtual machine platform of particular type.
System comprises the following steps the management process of certain virtual machine:
Step 1), system client sends the solicited message to virtual machine operations to the system service end.
Step 2), after the system service termination receives solicited message, the information content is analyzed, get respectively virtual machine platform information, virtual machine information and operation information.
Step 3), the system service end is according to virtual machine platform information, location virtual machine platform type.If system is supported the virtual machine platform of the type, perform step 4; Otherwise prompting makes mistakes and returns to system client.
Step 4), the system service end is according to virtual machine information, locates concrete virtual machine platform and virtual machine.If system is located successfully, perform step 5; Otherwise prompting makes mistakes and returns to system client.
Step 5), the system service end is according to operation information, to the concrete operation of virtual machine execution.If the success of system service end executable operations, return to system client by operating result; Otherwise prompting makes mistakes and returns to system client.
Said system client and system service end, refer to respectively client and the service end of B/S framework and C/S Framework Software system.
The described virtual machine platform information of above-mentioned steps 2 refers to the unique ID of the overall situation be used to the type that identifies virtual machine platform of system definition.The definition of employing string format.String length is not limit.
The described virtual machine information of above-mentioned steps 2 refer to system definition be used to identifying the information of virtual machine, comprise the virtual machine platform ID under the unique ID of the overall situation, virtual machine title, virtual machine type, virtual machine of virtual machine.
The described operation information of above-mentioned steps 2 refers to the content to virtual machine operations, comprises the concrete operations type, operating parameter.
The described location of above-mentioned steps 3 virtual machine platform type, refer to according to virtual machine platform type I D, in system, searches registered virtual machine platform type.Search the successfully virtual machine platform of expression system support the type.
The virtual machine platform that the described location of above-mentioned steps 4 is concrete and virtual machine, refer to according to the virtual machine platform ID under virtual machine type and virtual machine, in system, search the platform of concrete this virtual machine of operation, then, according to virtual machine ID and virtual machine title, in system, search concrete virtual machine.
Above-mentioned steps 5 is described carries out concrete operations to virtual machine, refers to according to action type and operating parameter, and virtual machine is carried out to bookkeeping.
Management to virtual machine is to realize by the operation to virtual machine platform.System manages virtual machine platform, needs system to support virtual machine platform, the management interface of definition to virtual machine platform.The present invention is abstracted into different functional modules by virtual machine platform from the virtual machine platform management function, and realizes the functional interface of system definition, in the mode of module registration, adds in system, thereby realizes isomery virtual machine platform dynamic expansion.
Hierarchical relationship figure when Fig. 1 means the system operation between modules.The system service termination receives that when request, the call relation between modules are top-downly to call successively, realizes the management function to virtual machine.In figure, Hypervisor plug-in management object is responsible for receiving request analytical information, selects different virtual machine platform objects, i.e. the Hypervisor plug-in object.The Hypervisor plug-in object is selected corresponding virtual machine object according to the virtual machine information in solicited message, and calls corresponding functional module and carry out concrete Virtual Machine Manager operation.Functional module object and Hypervisor connection management are realized the supplementary module to Virtual Machine Manager to liking system.

Claims (7)

1. a dynamic expansion management method of isomerous virtual machine platform, is characterized in that: the system assigned address is write and be deployed to the object module of virtual machine platform, platform management functions module and management function module again according to the corresponding module interface of system respectively;
Step is as follows:
A1, system client send the solicited message to virtual machine operations to the system service end;
After B1, system service termination are received solicited message, the information content is analyzed, got respectively virtual machine platform information, virtual machine information and operation information;
C1, system service end are according to virtual machine platform information, and location virtual machine platform type, if system is supported the virtual machine platform of the type, perform step D1; Otherwise prompting makes mistakes and returns to system client;
D1, system service end, according to virtual machine information, are located concrete virtual machine platform and virtual machine, if system is located successfully, perform step E1; Otherwise prompting makes mistakes and returns to system client;
E1, system service end, according to operation information, are carried out concrete operation to virtual machine, if the success of system service end executable operations returns to system client by operating result; Otherwise prompting makes mistakes and returns to system client.
2. management method as claimed in claim 1, it is characterized in that: described system client and system service end are respectively client and the service end of B/S framework and C/S Framework Software system.
3. management method as claimed in claim 1 is characterized in that: the information of virtual machine platform described in step B1 refers to the unique ID of the overall situation be used to the type that identifies virtual machine platform of system definition.
4. management method as claimed in claim 1, it is characterized in that: virtual machine information described in step B1 refer to system definition be used to identifying the information of virtual machine, comprise the virtual machine platform ID under the unique ID of the overall situation, virtual machine title, virtual machine type, virtual machine of virtual machine.
5. management method as claimed in claim 1, it is characterized in that: in step C1, location virtual machine platform type is according to virtual machine platform type I D, in system, search registered virtual machine platform type, if expression system of success is supported the virtual machine platform of the type.
6. management method as claimed in claim 1, it is characterized in that: in step D1, concrete virtual machine platform and the virtual machine in location is according to the virtual machine platform ID under virtual machine type and virtual machine, in system, search the platform of concrete this virtual machine of operation, according to virtual machine ID and virtual machine title, in system, search concrete virtual machine again.
7. management method as claimed in claim 1, it is characterized in that: described module interface is the general-purpose interface taken out according to virtual machine platform.
CN2011100686807A 2011-03-22 2011-03-22 Dynamic expansion management method of isomerous virtual machine platform Active CN102170428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100686807A CN102170428B (en) 2011-03-22 2011-03-22 Dynamic expansion management method of isomerous virtual machine platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100686807A CN102170428B (en) 2011-03-22 2011-03-22 Dynamic expansion management method of isomerous virtual machine platform

Publications (2)

Publication Number Publication Date
CN102170428A CN102170428A (en) 2011-08-31
CN102170428B true CN102170428B (en) 2013-11-27

Family

ID=44491405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100686807A Active CN102170428B (en) 2011-03-22 2011-03-22 Dynamic expansion management method of isomerous virtual machine platform

Country Status (1)

Country Link
CN (1) CN102170428B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662745B (en) * 2012-04-18 2015-01-21 国家电网公司 Virtual machine management system and virtual machine management method
CN103019849B (en) * 2012-12-31 2015-10-07 无锡城市云计算中心有限公司 Virtual machine management method under cloud computing environment
CN103870314B (en) * 2014-03-06 2017-01-25 中国科学院信息工程研究所 Method and system for simultaneously operating different types of virtual machines by single node
CN107797842B (en) * 2016-08-30 2021-07-16 北京国双科技有限公司 Method and device for calling virtual machine management tool

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188624A (en) * 2007-12-07 2008-05-28 华中科技大学 Grid middleware system based on virtual machine
CN101650667A (en) * 2009-08-31 2010-02-17 曙光信息产业(北京)有限公司 Virtual machine management system and method
EP2182437A1 (en) * 2008-10-30 2010-05-05 Fujitsu Limited Virtual machine system, management method of virtual machine system, and recording medium
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188624A (en) * 2007-12-07 2008-05-28 华中科技大学 Grid middleware system based on virtual machine
EP2182437A1 (en) * 2008-10-30 2010-05-05 Fujitsu Limited Virtual machine system, management method of virtual machine system, and recording medium
CN101650667A (en) * 2009-08-31 2010-02-17 曙光信息产业(北京)有限公司 Virtual machine management system and method
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs

Also Published As

Publication number Publication date
CN102170428A (en) 2011-08-31

Similar Documents

Publication Publication Date Title
CN102915247B (en) APK plug-in unit management method
CN107133086B (en) Task processing method, device and system based on distributed system
EP2521033B1 (en) Startup method and device for application program on mobile device
CN102170428B (en) Dynamic expansion management method of isomerous virtual machine platform
JP6412276B2 (en) Virtual machine creation method and apparatus
CN103677807A (en) Customizing program logic for booting a system
WO2012072039A1 (en) Software upgrade method and apparatus
CN103699398A (en) Terminal equipment and starting control method thereof
CN102129385B (en) Management method capable of dynamically expanding management function of virtual machine
CN103207965A (en) Method and device for License authentication in virtual environment
CN104468226A (en) Nginx configuration method and device
CN103729235A (en) Java virtual machine (JVM) and compiling method thereof
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN105591778A (en) Method and system for updating configuration file in distributed system
CN110780871A (en) Negative one-screen loading method and device, terminal and computer readable storage medium
US20180203726A1 (en) Virtual machine migration method and apparatus
CN104932892A (en) Web application middleware asynchronous nested calling method realized based on WebWorker
CN103902890A (en) Monitoring method and monitoring system for Android program behaviors
CN102023857A (en) ServiceOS-based multi-platform application program service management method and system
US9128741B2 (en) System, method, and computer program product for conditionally preventing use of hardware virtualization
CN105224359A (en) Program loading method
CN105447382A (en) Sandbox based software registry redirection method and system
CN107315599B (en) Method and device for extracting graphic library
CN111078152A (en) Cloud hard disk creation method and device based on cloud platform
CN103019663A (en) Method and system for acquiring intermodule function interface in program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: WUXI CITY CLOUD COMPUTER CENTER CO., LTD.

Free format text: FORMER OWNER: SUGON INFORMATION INDUSTRY (BEIJING) CO., LTD.

Effective date: 20111027

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100084 HAIDIAN, BEIJING TO: 214135 WUXI, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20111027

Address after: Block B-2 No. 18 national software park, whale 214135 in Jiangsu province Wuxi City District Zhenze Road

Applicant after: Wuxi City Cloud Computer Center Co.,Ltd.

Address before: Haidian District City, Beijing City, 100084 West Street Beijing Shuimo Haidian District No. 64

Applicant before: Dawning Information Industry (Beijing) Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant