CN103902351A - Virtual machine operation system and virtual machine operation method - Google Patents
Virtual machine operation system and virtual machine operation method Download PDFInfo
- Publication number
- CN103902351A CN103902351A CN201210582352.3A CN201210582352A CN103902351A CN 103902351 A CN103902351 A CN 103902351A CN 201210582352 A CN201210582352 A CN 201210582352A CN 103902351 A CN103902351 A CN 103902351A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- computing
- module
- computing environment
- execution
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a virtual machine operation system which is run in a host and comprises a building module, a receiving module, a determining module, an operation module and an integration module. The building module is used for building one or multiple operation environments for each virtual machine of the host, each operation environment represents execution of one operation type, the receiving module is used for receiving operation data and operation types set by a client side, the determining module is used for determining one or multiple virtual machines executing operations according to the received operation data and the operation types and determining the operation environment corresponding to each virtual machine executing the operation, the operation module is used for switching each virtual machine executing the operation into the corresponding operation environment for operation and acquiring an operation result of each virtual machine executing the operation, and the integration module is used for integrating the operation results of all virtual machines executing the operations and acquiring a total operation result. The invention further provides a virtual machine operation method. By the system and the method, different operations can be quickly and efficiently executed by utilizing the virtual machines.
Description
Technical field
The present invention relates to a kind of cloud service system and method, particularly about a kind of virtual machine arithmetic system and method.
Background technology
Cloud computing can make user that computing work is transferred on the server of far-end, has saved user's hardware acquisition cost, has improved operation efficiency.But in cloud computing, arithmetic facility (physical machine or virtual machine) need to be installed certain operation program to realize the computing of certain type.In the time that user need to carry out the computing of other types, need to upgrade the operation program of arithmetic facility, the elasticity that arithmetic facility is carried out computing is lower.And, upgrade operation program and need to spend more time and resource, reduce system effectiveness.
Summary of the invention
In view of above content, be necessary to provide a kind of virtual machine arithmetic system, can utilize virtual machine to carry out quickly and efficiently different computings.
In addition, be also necessary to provide a kind of virtual machine operational method, can utilize virtual machine to carry out quickly and efficiently different computings.
A kind of virtual machine arithmetic system, runs in main frame, and this system comprises: set up module, be used to each virtual machine of main frame to set up one or more computing environment, a kind of computing is carried out in each computing environment representative; Receiver module, operational data and the arithmetic type set for receiving client; Determination module, for determining the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determines the computing environment corresponding to virtual machine of each execution computing; Computing module, is switched to corresponding computing environment for the virtual machine that each is carried out to computing and carries out computing, obtains the operation result of the virtual machine of each execution computing; And integrate module, for integrating the operation result of virtual machine of all execution computings, obtain total operation result.
A kind of virtual machine operational method, is applied in main frame, and the method comprises: for each virtual machine of main frame is set up one or more computing environment, a kind of computing is carried out in each computing environment representative; Receive operational data and arithmetic type that client is set; Determine the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determine the computing environment corresponding to virtual machine of each execution computing; The virtual machine that each is carried out to computing is switched to corresponding computing environment and carries out computing, obtains the operation result of the virtual machine of each execution computing; And integrate the operation result of the virtual machine of all execution computings, obtain total operation result.
The present invention changes the computing environment of virtual machine according to different computing demands, realized and utilized virtual machine to carry out quickly and efficiently different computings.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of virtual machine arithmetic system of the present invention preferred embodiment.
Fig. 2 is the functional block diagram of virtual machine arithmetic system in Fig. 1.
Fig. 3 is the process flow diagram of virtual machine operational method of the present invention preferred embodiment.
Main element symbol description
|
1 |
|
2 |
|
3 |
Virtual machine |
10 |
|
11 |
|
12 |
Set up |
100 |
|
101 |
|
102 |
|
103 |
|
104 |
|
105 |
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Consulting shown in Fig. 1, is the applied environment schematic diagram of virtual machine arithmetic system of the present invention preferred embodiment.Described virtual machine arithmetic system 10 runs in main frame 1, and main frame 1 is connected with multiple clients 3 by network 2.Main frame 1 is provided with one or more virtual machine (Fig. 1 does not draw).For example, main frame 1 is provided with three virtual machines, is designated as respectively VM1, VM2 and VM3.Main frame 1 also comprises memory device 11 and processor 12.Required data in the program code of described memory device 11 storage virtual machine arithmetic systems 10 and operational process.Described processor 12 is carried out the program code of virtual machine arithmetic system 10, changes the computing environment of virtual machine, to carry out different computings according to different computing demands.Described network 2 can be in-house network (Intranet), can be also the communication network of internet (Internet) or other type, as GPRS, Wi-Fi/WLAN, 3G/WCDMA, 3.5G/HSDPA etc.
Consulting shown in Fig. 2, is the functional block diagram of virtual machine arithmetic system in Fig. 1.Described virtual machine arithmetic system 10 comprises sets up module 100, receiver module 101, determination module 102, computing module 103, integrate module 104 and operational module 105.
Describedly set up each virtual machine that module 100 is used to main frame 1 and set up one or more computing environment, and the computing environment of foundation is stored to memory device 11.A kind of computing is carried out in each computing environment representative.In the present embodiment, set up module 100 and set up by set up snapshot for virtual machine the computing environment of virtual machine.For example, main frame 1 is provided with three virtual machines, is respectively VM1, VM2 and VM3.Set up module 100 and in virtual machine VM1, set up three snapshots, be designated as respectively the first snapshot, the second snapshot and the 3rd snapshot; In virtual machine VM2, set up two snapshots, be designated as respectively the 4th snapshot and the 5th snapshot; In virtual machine VM3, set up three snapshots, be designated as respectively the 6th snapshot, the 7th snapshot and the 8th snapshot.Wherein, the first snapshot representative summation, the second snapshot representative is averaged, product is asked in the 3rd snapshot representative, and quadratic sum is asked in the 4th snapshot representative, and the 5th snapshot represents extraction of square root, logarithm is asked in the 6th snapshot representative, and the 7th snapshot representative is minimized, and the 8th snapshot represents maximizing.
Operational data and arithmetic type that described receiver module 101 is set by client 3 for receiving user.In the present embodiment, receiver module 101 provides a virtual machine computing page, and user accesses these virtual machine computing pages by client 3, and inputs operational data and arithmetic type from this virtual machine computing page.For example, the operational data that user sets is [1,2,3,4,5,6,7,8,9,10], and the arithmetic type of input is to average.
Described determination module 102 is for determining the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determines the computing environment corresponding to virtual machine of each execution computing.For example, the operational data that receiver module 101 receives is [1,2,3,4,5,6,7,8,9,10], and the arithmetic type of reception is to average.Correspondingly, determination module 102 determines that the virtual machine of execution computing is virtual machine VM1, determines that the computing environment that this virtual machine VM1 is corresponding is the second snapshot.If determination module 102 determines that the virtual machine of execution computing is one, virtual machine arithmetic system 10 is carried out unit computing.If determination module 102 determines that the virtual machine of execution computing is multiple, virtual machine arithmetic system 10 is carried out distributing parallel calculation.
Described computing module 103 is switched to corresponding computing environment for the virtual machine that each is carried out to computing and carries out computing, obtains the operation result of the virtual machine of each execution computing.For example, computing module 103 is switched to virtual machine VM1 the computing environment of the second snapshot, asks the mean value of described operational data under the computing environment of the second snapshot.
Described integrate module 104, for integrating the operation result of virtual machine of all execution computings, obtains total operation result, and this total operation result is exported to client 3.For example, integrate module 104 is integrated the operation result of virtual machine VM1 and virtual machine VM3 to obtain total operation result, and this total operation result is exported to client 3.
Described operational module 105 operates for the computing environment to virtual machine.That described operation comprises is newly-increased, revise and delete.For example, operational module 105 is deleted the 6th snapshot of virtual machine VM3 according to user instruction.
Consulting shown in Fig. 3, is the process flow diagram of virtual machine operational method of the present invention preferred embodiment.
Step S301, sets up each virtual machine that module 100 is main frame 1 and sets up one or more computing environment, and the computing environment of foundation is stored to memory device 11.A kind of computing is carried out in each computing environment representative.In the present embodiment, set up module 100 and set up by set up snapshot for virtual machine the computing environment of virtual machine.For example, main frame 1 is provided with three virtual machines, is respectively VM1, VM2 and VM3.Set up module 100 and in virtual machine VM1, set up three snapshots, be designated as respectively the first snapshot, the second snapshot and the 3rd snapshot; In virtual machine VM2, set up two snapshots, be designated as respectively the 4th snapshot and the 5th snapshot; In virtual machine VM3, set up three snapshots, be designated as respectively the 6th snapshot, the 7th snapshot and the 8th snapshot.Wherein, the first snapshot representative summation, the second snapshot representative is averaged, product is asked in the 3rd snapshot representative, and quadratic sum is asked in the 4th snapshot representative, and the 5th snapshot represents extraction of square root, logarithm is asked in the 6th snapshot representative, and the 7th snapshot representative is minimized, and the 8th snapshot represents maximizing.
Step S302, receiver module 101 receives operational data and the arithmetic type that user sets by client 3.In the present embodiment, receiver module 101 provides a virtual machine computing page, and user accesses these virtual machine computing pages by client 3, and inputs operational data and arithmetic type from this virtual machine computing page.For example, the operational data that user sets is [1,2,3,4,5,6,7,8,9,10], and the arithmetic type of input is to average.
Step S303, determination module 102 is determined the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determines the computing environment corresponding to virtual machine of each execution computing.For example, the operational data that receiver module 101 receives is [1,2,3,4,5,6,7,8,9,10], and the arithmetic type of reception is to average.Correspondingly, determination module 102 determines that the virtual machine of execution computing is virtual machine VM1, determines that the computing environment that this virtual machine VM1 is corresponding is the second snapshot.If determination module 102 determines that the virtual machine of execution computing is one, virtual machine arithmetic system 10 is carried out unit computing.If determination module 102 determines that the virtual machine of execution computing is multiple, virtual machine arithmetic system 10 is carried out distributing parallel calculation.
Step S304, the virtual machine that each is carried out computing by computing module 103 is switched to corresponding computing environment and carries out computing, obtains the operation result of the virtual machine of each execution computing.For example, computing module 103 is switched to virtual machine VM1 the computing environment of the second snapshot, asks the mean value of described operational data under the computing environment of the second snapshot.
Step S305, integrate module 104 is integrated the operation result of the virtual machine of all execution computings, obtains total operation result, and this total operation result is exported to client 3.For example, integrate module 104 is integrated the operation result of virtual machine VM1 and virtual machine VM3 to obtain total operation result, and this total operation result is exported to client 3.
Step S306, operational module 105 operates for the computing environment to virtual machine.That described operation comprises is newly-increased, revise and delete.For example, operational module 105 is deleted the 6th snapshot of virtual machine VM3 according to user instruction.
Claims (10)
1. a virtual machine arithmetic system, runs in main frame, it is characterized in that, this system comprises:
Set up module, be used to each virtual machine of main frame to set up one or more computing environment, a kind of computing is carried out in each computing environment representative;
Receiver module, operational data and the arithmetic type set for receiving client;
Determination module, for determining the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determines the computing environment corresponding to virtual machine of each execution computing;
Computing module, is switched to corresponding computing environment for the virtual machine that each is carried out to computing and carries out computing, obtains the operation result of the virtual machine of each execution computing; And
Integrate module, for integrating the operation result of virtual machine of all execution computings, obtains total operation result.
2. virtual machine arithmetic system as claimed in claim 1, is characterized in that, this system also comprises:
Operational module, operates for the computing environment to described virtual machine.
3. virtual machine arithmetic system as claimed in claim 2, is characterized in that, that described operation comprises is newly-increased, revise and delete.
4. virtual machine arithmetic system as claimed in claim 1, is characterized in that, the described computing environment of setting up module and set up by setting up snapshot virtual machine.
5. virtual machine arithmetic system as claimed in claim 1, is characterized in that, described integrate module is also for exporting to described client by described total operation result.
6. a virtual machine operational method, is applied in main frame, it is characterized in that, the method comprises:
For each virtual machine of main frame is set up one or more computing environment, a kind of computing is carried out in each computing environment representative;
Receive operational data and arithmetic type that client is set;
Determine the virtual machine of one or more execution computings according to the operational data receiving and arithmetic type, and determine the computing environment corresponding to virtual machine of each execution computing;
The virtual machine that each is carried out to computing is switched to corresponding computing environment and carries out computing, obtains the operation result of the virtual machine of each execution computing; And
Integrate the operation result of the virtual machine of all execution computings, obtain total operation result.
7. virtual machine operational method as claimed in claim 6, is characterized in that, the method also comprises:
Computing environment to described virtual machine operates.
8. virtual machine operational method as claimed in claim 7, is characterized in that, that described operation comprises is newly-increased, revise and delete.
9. virtual machine operational method as claimed in claim 6, is characterized in that, the computing environment of described virtual machine utilizes snapshot to set up.
10. virtual machine operational method as claimed in claim 6, is characterized in that, the method also comprises:
Described total operation result is exported to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210582352.3A CN103902351A (en) | 2012-12-28 | 2012-12-28 | Virtual machine operation system and virtual machine operation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210582352.3A CN103902351A (en) | 2012-12-28 | 2012-12-28 | Virtual machine operation system and virtual machine operation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103902351A true CN103902351A (en) | 2014-07-02 |
Family
ID=50993690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210582352.3A Pending CN103902351A (en) | 2012-12-28 | 2012-12-28 | Virtual machine operation system and virtual machine operation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902351A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326007A (en) * | 2016-08-22 | 2017-01-11 | 北京信安世纪科技有限公司 | Distribution operation method, device and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101421715A (en) * | 2006-04-17 | 2009-04-29 | 微软公司 | Creating host-level application-consistent backups of virtual machines |
CN101697134A (en) * | 2009-10-27 | 2010-04-21 | 北京大学 | Method for supporting quick start of similar virtual machine |
US7886294B2 (en) * | 2004-12-28 | 2011-02-08 | Sap Ag | Virtual machine monitoring |
CN102495759A (en) * | 2011-12-08 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Method for scheduling job in cloud computing environment |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN102779094A (en) * | 2012-08-21 | 2012-11-14 | 深圳中兴网信科技有限公司 | Terminal and software exception test method |
-
2012
- 2012-12-28 CN CN201210582352.3A patent/CN103902351A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7886294B2 (en) * | 2004-12-28 | 2011-02-08 | Sap Ag | Virtual machine monitoring |
CN101421715A (en) * | 2006-04-17 | 2009-04-29 | 微软公司 | Creating host-level application-consistent backups of virtual machines |
CN101697134A (en) * | 2009-10-27 | 2010-04-21 | 北京大学 | Method for supporting quick start of similar virtual machine |
CN102594849A (en) * | 2011-01-06 | 2012-07-18 | 阿里巴巴集团控股有限公司 | Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device |
CN102495759A (en) * | 2011-12-08 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Method for scheduling job in cloud computing environment |
CN102779094A (en) * | 2012-08-21 | 2012-11-14 | 深圳中兴网信科技有限公司 | Terminal and software exception test method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326007A (en) * | 2016-08-22 | 2017-01-11 | 北京信安世纪科技有限公司 | Distribution operation method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109918205B (en) | Edge equipment scheduling method, system, device and computer storage medium | |
CN102508718B (en) | Method and device for balancing load of virtual machine | |
CN109451051B (en) | Service request processing method and device, electronic equipment and storage medium | |
CN103150238A (en) | Service request processing method, simulation performance test method and simulation performance test device | |
CN103164253A (en) | Virtual machine deployment system and virtual machine deployment method | |
US11159604B2 (en) | Processing an operation with a plurality of processing steps | |
CN103902302A (en) | Software installation system and method for virtual machine | |
CN105243499A (en) | Order distribution method and system | |
KR20160096313A (en) | Apparatus and method for monitoring analysis application for analyzing big data | |
CN104219226A (en) | Method for determining number of optimal communication agent nodes in cloud platform | |
US20150269002A1 (en) | Allocation control method and apparatus | |
CN103377280A (en) | Information processing apparatus and method, program, and information processing system | |
CN112882833B (en) | Data acquisition method and device, computer equipment and storage medium | |
KR20180086919A (en) | Cloud security analysing apparatus, apparatus and method for management of security policy based on nsfv | |
CN103645935A (en) | Device and method for adjusting JVM (java virtual machine) parameters in domestic environment | |
CN117149665A (en) | Continuous integration method, control device, continuous integration system, and storage medium | |
CN103902351A (en) | Virtual machine operation system and virtual machine operation method | |
CN108234266A (en) | The data transmission method and device and storage medium of bus-type communication network | |
CN104732148A (en) | Distributed searching and killing method and system | |
CN105824682B (en) | A kind of monitoring method of virtual machine, device and system | |
CN111400241A (en) | Data reconstruction method and device | |
CN103916428A (en) | Private cloud inside data transmission method, private cloud platform and private cloud system | |
CN104468810A (en) | Method for monitoring high-performance computing resource based on loongson platform | |
CN108965295A (en) | A kind of compressing file merging method and relevant apparatus | |
CN107704290A (en) | A kind of method and instrument of dynamic regulation operating system parameter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140702 |