Virtual Machine Creation via Simplified Operating System Compilation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual machine creation methods waste terminal resources by installing complete operating systems for each application, and user operations are complex due to the need for separate virtual machines for each application, especially for those with high security requirements.
Innovation Solution
A method and apparatus that acquire and analyze installation packages to determine security levels and essential environmental data, compiling a simplified operating system to create a virtual machine installation package, which only includes the necessary environment for running the application, thereby reducing resource consumption and simplifying user operations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a complete operating system is installed on each virtual machine for independently running applications, then security isolation is improved, but terminal resources are excessively occupied causing waste
Solution Approach 1:
The patent extracts only the essential environmental data and necessary system components from a complete operating system to create a simplified operating system for each virtual machine. This extraction approach maintains the security isolation benefits while removing unnecessary components that consume terminal resources, directly resolving the contradiction between security and resource usage.
Solution Approach 2:
The patent applies local quality by customizing each virtual machine's operating system environment according to the specific needs of the application it hosts. Each simplified OS contains only the libraries and files necessary for that particular application, rather than including all components of a complete OS. This localized optimization maintains security isolation while reducing overall resource consumption across the terminal.
2Reliability
If a virtual machine is created for each independent application, then security isolation is improved, but user operations become very complicated and difficult for common users to perform
Solution Approach 1:
The patent implements self-service by enabling automatic creation of virtual machines and their simplified operating systems based on application installation packages. The system automatically analyzes the application's security requirements and configures the appropriate OS environment without requiring user intervention. This automation maintains strong security isolation while eliminating the complexity of manual virtual machine configuration for end users.
Solution Approach 2:
The patent applies preliminary action by pre-configuring the essential environmental data and simplified operating system before the application is installed. The system analyzes the application package in advance, determines the necessary system components, and prepares the virtual machine environment beforehand. This preliminary preparation eliminates the need for complex post-installation configuration steps, making the process simple for users while maintaining security isolation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
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.