Method and device for creating a virtual machine

A virtual machine and installation package technology, applied in the field of virtualization, can solve the problems of complex user operations, occupation of terminal resources, waste, etc., and achieve the effect of saving terminal resources

Active Publication Date: 2019-03-15
CLOUDMINDS (SHENZHEN) ROBOTICS SYST CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Because many applications do not need the support of a complete operating system to run, if each virtual machine independently running each application is installed with a complete operating system, it will take up too much terminal resources and cause waste; and, for each independent The application creates a virtual machine, which requires complex user operations, which are difficult for ordinary users to complete

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] figure 2 A schematic flowchart of a method for creating a virtual machine in Embodiment 1 of the present invention is shown, as shown in figure 2 As shown, the virtual machine creation method includes:

[0046] Step 201, obtaining a first installation package of a first application;

[0047] Step 202, determining the security level of the first application, and determining that a virtual machine needs to be created for the first application according to the security level of the first application;

[0048] Step 203: Determine necessary environment data corresponding to the first installation package, compile and obtain a simplified operating system according to the necessary environment data; package the simplified operating system and the first installation package to obtain a virtual machine installation package;

[0049] Step 204: Run the virtual machine installation package to create a virtual machine.

[0050] In step 201, the method for creating a virtual mac...

Embodiment 2

[0060] Figure 4 A schematic flowchart of a method for creating a virtual machine in Embodiment 2 of the present invention is shown. For the similarities or repetitions between Embodiment 2 and Embodiment 1 above, reference may be made to the description of Embodiment 1 above. like Figure 4 As shown, the process includes:

[0061] Step 401, obtaining the first installation package of the first application;

[0062] Step 402: Determine the security level of the first application, and determine according to the security level of the first application that a virtual machine needs to be created for the first application;

[0063] Step 403: Determine necessary environment data corresponding to the first installation package, compile and obtain a simplified operating system according to the necessary environment data; package the simplified operating system and the first installation package to obtain a virtual machine installation package;

[0064] Step 404, running the virtual...

Embodiment 3

[0088] Based on the same inventive concept, an apparatus for creating a virtual machine is also provided in the embodiment of the present invention. Since the principle of solving the problem of these devices is similar to a method for creating a virtual machine, the implementation of these devices can refer to the implementation of the method, and the repetitions are repeated. No longer. Figure 5 A schematic structural diagram of a virtual machine creation apparatus in Embodiment 3 of the present invention is shown. As shown in the figure, the virtual machine creation apparatus 500 includes:

[0089] a first obtaining module 501, configured to obtain a first installation package of a first application;

[0090] The compiling and packaging module 503 is used to determine necessary environment data corresponding to the first installation package, and compile and obtain a simplified operating system according to the necessary environment data; package the simplified operating s...

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 present invention provides a virtual machine creation method and apparatus. The method includes: acquiring a first installation package of a first application; determining essential environmental data corresponding to the first installation package, obtaining a simplified operating system via compilation according to the essential environmental data, and packaging the simplified operating system and the first installation package to obtain a virtual machine installation package; and running the virtual machine installation package to create a virtual machine. The present application provides a method for automatically creating a virtual machine for independently running an application, and only a simplified operating system needed by the applications on the virtual machine is only configured for the virtual machine, instead of configuring an entire operating system environment. This greatly saves terminal resources.

Description

technical field [0001] The present invention relates to the field of virtualization technology, in particular to a method and device for creating a virtual machine. Background technique [0002] Mobile terminals have become an important tool for users' daily work and life. While mobile terminals promote the rapid development of the mobile Internet, the security issues of mobile terminals are becoming increasingly serious, which has aroused widespread concern in the society. Mobile virtualization allows multiple operating systems or virtual machines (VMs) to run simultaneously on mobile phones or wireless handheld devices, using the Hypervisor to create a secure and independent software runtime environment on the underlying hardware. With mobile virtualization, users can access multiple operating systems on one physical handheld device without having to carry two or more mobile devices. Mobile virtualization has significant security features. [0003] The isolation brought b...

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/45562G06F8/61G06F8/63G06F8/65G06F8/71G06F21/577G06F2009/45587G06F2221/033G06F2009/4557
Inventor 王永辉
Owner CLOUDMINDS (SHENZHEN) ROBOTICS SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products