Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for creating a virtual machine and electronic device

A technology of a virtual machine and a target host, applied in the field of virtual machine creation methods and electronic equipment, capable of solving problems such as low virtual machine creation efficiency, achieving fast startup speed, improving creation efficiency, and reducing I/O load

Active Publication Date: 2020-08-25
LENOVO (BEIJING) LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the method of starting the virtual machine has the following defects: the creation of each virtual machine needs to read the image file once, and the system I / O (Input / output, input / output) will become a bottleneck, and due to the need to start the virtual machine from the file machine, resulting in low virtual machine creation efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for creating a virtual machine and electronic device
  • Method for creating a virtual machine and electronic device
  • Method for creating a virtual machine and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Embodiment 1 of the present application provides a method for creating a virtual machine, which can be applied to the creation of a cloud platform virtual machine in a cloud computing environment, or can also be applied to the creation of a terminal virtual machine in a common virtual machine usage scenario. For example, in addition to The cloud platform uses the method of this application to create a virtual machine, and can also use the method of this application to create a virtual machine on various computer terminals such as a user's notebook, desktop, and all-in-one.

[0047] refer to figure 1 A flow chart of Embodiment 1 of a method for creating a virtual machine of the present application is shown, and the method may include the following steps:

[0048] Step 101, obtaining parameter information required for creating a virtual machine.

[0049]The parameter information is some basic or necessary parameter information required to create a virtual machine. Specif...

Embodiment 2

[0065] The second embodiment provides a possible implementation method of obtaining the virtual machine start-up site data of the target image file required for creating the virtual machine in step 102, refer to figure 2 The flow chart of Embodiment 2 of a method for creating a virtual machine of the present application is shown, and the step 102 can be implemented through the following steps:

[0066] Step 201. Obtain the complete start-up site data corresponding to the virtual machine start-up site of the target image file directly stored in advance.

[0067] In the method of this embodiment, the virtual machine is started from the image file to the predetermined time point in advance, and the complete start-up site data corresponding to the virtual machine start-up site from the start-up time point of the image file to the predetermined time point is saved.

[0068] For example, in terms of cloud computing environment, for various image files maintained in the image server...

Embodiment 3

[0072] In the third embodiment, the image information in the parameter information also includes the target type to which the target image file belongs. Another possible implementation of machine-enabled field data.

[0073] refer to image 3 The flow chart of Embodiment 2 of a method for creating a virtual machine of the present application is shown, and the step 102 can be implemented through the following steps:

[0074] Step 301. Obtain the startup site shared data corresponding to the image file of the target type; wherein, the startup site shared data includes: various image files corresponding to the target type correspond to The shared data in the virtual machine startup scene data.

[0075] This embodiment is different from the method of acquiring start-up site data provided in the second embodiment.

[0076] In this embodiment, preferably, the predetermined time node corresponding to the start-up site data of the virtual machine is set as the node corresponding to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a virtual machine creation method and electronic device. The virtual machine creation method includes the steps of recovering a virtual machine starting scene corresponding to virtual machine starting scene data in the memory of a target host computer, and continuing to complete the subsequent starting process of a virtual machine on the recovered scene, wherein the virtual machine starting scene data is scene data saved in advance when the virtual machine is started to a predetermined time node in a target mirroring file needed to create the virtual machine. In this way, the virtual machine creation method based on the memory does not need to read the mirroring file when creating the virtual machine, which reduces the I / O load of a system; moreover, the creation of the virtual machine can be directly completed in the memory based on recovering the virtual machine starting scene, which can omit at least basic processes needed to create the virtual machine, such as boot, load, kernel starting and initialization, so that the starting speed of the virtual machine is larger, and the creation efficiency of the virtual machine is improved.

Description

technical field [0001] The invention belongs to the technical field of virtual machine management in a cloud computing environment, and in particular relates to a method for creating a virtual machine and electronic equipment. Background technique [0002] In a cloud computing environment, creating a virtual machine is one of the most basic functions provided by the cloud platform to end users. [0003] At present, the creation of a virtual machine is generally completed by starting a virtual machine from an image file, which specifically includes: the virtual machine management platform obtains the parameter information required by the user to create a virtual machine, such as host name, image information, configuration information (processing server / memory / disk resources) and network information, etc.; the virtual management platform selects a suitable host according to the obtained parameter information, and notifies the host to create a virtual machine; The virtual mach...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558G06F2009/45562
Inventor 李光辉杨杰
Owner LENOVO (BEIJING) LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products