Virtual machine creation method and apparatus
AssigneeCloudminds (Shenzhen) Robotics Systems Co., Ltd.
InventorYonghui Wang
Life of this patent
Estimating the term…
Abstract
A virtual machine creation method and apparatus are disclosed. 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; 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.
Claims6
A virtual machine creation method, being characterized in that, the method comprising:
- acquiring a first installation package of a first application;
- determining a security level of the first application;
- determining, according to the security level of the first application, that a virtual machine needs to be created for the 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;
- packaging the simplified operating system and the first installation package to obtain a virtual machine installation package;
- running the virtual machine installation package to create a virtual machine;
- acquiring a second installation package;
- determining that the second installation package and the first installation package of the first application satisfy a predetermined condition;
- and
- installing the second installation package to the virtual machine;
- wherein the predetermined condition comprises:
- the second installation package is an installation package of a second application, and a security level of the second application is the same as the security level of the first application.
A virtual machine creation apparatus, being characterized in that, the apparatus comprising:
- a first acquiring module, configured to acquire a first installation package of a first application;
- a security module, configured to determine a 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;
- a compiling and packaging module, configured to determine essential environmental data corresponding to the first installation package, obtain a simplified operating system via compilation according to the essential environmental data, and package the simplified operating system and the first installation package to obtain a virtual machine installation package;
- a creating module, configured to run the virtual machine installation package to create a virtual machine;
- a second acquiring module, configured to acquire a second installation package after the creating module runs the virtual machine installation package to create a virtual machine;
- a condition determining module, configured to determine that the second installation package and the first installation package of the first application satisfy a predetermined condition;
- and
- an installing module, configured to install the second installation package to the virtual machine after the condition determining module determines that second installation package and the first installation package of the first application satisfy the predetermined condition;
- wherein the predetermined condition comprises:
- the second installation package is an installation package of a second application, and a security level of the second application is the same as the security level of the first application.
Dependencies are inferred from the claim text.