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

Method and device for creating virtual machine

A virtual machine and cloud host technology, applied in the field of cloud computing, can solve the problems of low utilization rate and low utilization rate of complex hardware resources of the machine learning platform, and achieve the effect of improving utilization rate and ensuring specificity

Active Publication Date: 2021-03-09
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] By providing a method and device for creating a virtual machine, the embodiment of the present invention solves the technical problems in the prior art that building a machine learning platform is complicated and the utilization rate of hardware resources is not high, and realizes the automatic creation of a virtual machine and the improvement of corresponding hardware resources. Technical Effects of Utilization

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 and device for creating virtual machine
  • Method and device for creating virtual machine
  • Method and device for creating virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] This embodiment provides a method for creating a virtual machine, the method can be run in the form of code in the OS operating system, the OS operating system can specifically be: Windows operating system, or DOS operating system, or MAC operating system, Etc., this embodiment does not make specific limitations.

[0029] A method for creating a virtual machine provided by the embodiment of the present invention can be applied to a cloud computing management platform, and the cloud computing management platform can be an OpenStack architecture: OpenStack is an open source cloud computing management platform project, which is a series of software open source projects. Combinations, other similar architectures can also be used. Such as figure 1 As shown, the method includes the following steps:

[0030] Step S101: Obtain a creation request, which carries resource specification information specified by the user.

[0031] In the specific implementation process, after the...

Embodiment 2

[0055] Based on the same inventive concept, an embodiment of the present invention provides an apparatus for creating a virtual machine, which is used for creating a virtual machine. refer to figure 2 As shown, the device for creating a virtual machine provided by the embodiment of the present invention includes:

[0056] The interactive interface 201 is used to obtain a creation request, and the creation request carries resource specification information specified by the user;

[0057] The acquiring unit 202 acquires target metadata based on resource specification information;

[0058] The determining unit 203 determines the virtual machine type based on the target metadata;

[0059] The selection unit 204 selects target hardware for the virtual machine type;

[0060] The creation unit 205 is configured to obtain a configuration file matching the target hardware, and use the configuration file and the target hardware to create a target virtual machine.

[0061] In an opt...

Embodiment approach

[0071] In an optional embodiment, the device also includes:

[0072] The verification unit is configured to verify the acquired creation request and the target metadata, and if the verification is passed, execute the step of selecting target hardware for the type of the virtual machine.

[0073] In an optional embodiment, the device also includes:

[0074] The starting unit is configured to start the target virtual machine and output prompt information, where the prompt information includes the creation status of the target virtual machine.

[0075] Since the device for creating a virtual machine described in this embodiment is an electronic device used to implement the method for creating a virtual machine in the embodiment of the present invention, based on the method for creating a virtual machine described in the embodiment of the present invention, the technology in the field Personnel can understand the specific implementation manner of the electronic device in this emb...

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 method and device for creating a virtual machine, and belongs to the technical field of cloud computing, and the method specifically comprises the steps: obtaining a creationrequest which carries resource specification information specified by a user; acquiring target metadata based on the resource specification information; determining a virtual machine type based on the target metadata; aiming at the virtual machine type, selecting target hardware; and obtaining a configuration file matched with the target hardware, and creating a target virtual machine by utilizing the configuration file and the target hardware. According to the method, the suitable hardware is selected according to the creation request of the user, and the virtual machine required by the useris created in combination with the configuration file, so that the specificity of the hardware is ensured, and the technical effects of automatically creating the virtual machine and improving the utilization rate of corresponding hardware resources are achieved.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method and device for creating a virtual machine. Background technique [0002] At present, with the rapid development of technologies such as AI, machine learning, and deep learning, various applications emerge in an endless stream, and the training of machine learning inference models uses more GPU resources on physical machines, ignoring CPU resources. Waste of resources, and GPU resources can only be used by a single user, which leads to low utilization of GPU resources. For individuals or small-scale enterprises, if they want to use or learn AI by building a physical machine, they first need to build a hardware environment, and it takes a long time to install and deploy a reasoning computing environment. The machine learning environment is too complicated to build. Moreover, the price of hardware platforms such as CPU and GPU suitable for running AI is high, which...

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 Applications(China)
IPC IPC(8): G06F9/455
CPCG06F9/45558
Inventor 杨亚伟苏广峰郭敬宇
Owner INSPUR SUZHOU INTELLIGENT TECH CO 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