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

Method and device for migrating virtual machine to container

A virtual machine and virtual machine mirroring technology, applied in the computer field, can solve the problems of difficult migration, high cost, inability to convert virtual machine mirroring to container mirroring, etc., and achieve the effect of improving migration efficiency

Active Publication Date: 2020-11-24
CHINA TELECOM CORP LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because the architectures of virtual machines and containers are completely different, existing technologies cannot directly convert virtual machine images into container images that can run directly in containers
Therefore, the applications in the virtual machines need to be migrated one by one, making the migration difficult and costly

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 migrating virtual machine to container
  • Method and device for migrating virtual machine to container
  • Method and device for migrating virtual machine to container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0024] figure 1 It is a flowchart of an embodiment of the method for migrating a virtual machine to a container in the present invention. Such as figure 1 Shown, the method of this embodiment comprises:

[0025] Step S102, acquiring the image file of the virtual machine.

[0026] Wherein, a virtu...

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 a device of migration of a virtual machine to a container, and relates to the field of computer technology. The method of migration of the virtual machine to the container includes: acquiring a mirror image file of the virtual machine; parsing the mirror image file of the virtual machine to acquire multiple pieces of construction information of the virtual machine; establishing construction commands, which correspond to all the construction information, according to grammar formats which are of container mirror image construction commands and correspond totypes of the construction information; adopting the construction commands, which correspond to all the construction information, to form a mirror image construction file of the container; and runningthe mirror image construction file of the container to form a mirror image file which is of the container and corresponds to the mirror image file of the virtual machine. The construction informationacquired from the mirror image file of the virtual machine is adopted to form the mirror image construction file of the container according to grammar structures of the mirror image construction file,the mirror image file which has the same environment as an environment of the original virtual machine and is equipped with the same applications can be generated, thus automatic migration of the virtual machine to the container is realized, and migration efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for migrating a virtual machine to a container. Background technique [0002] Container technology is gradually replacing many virtual machine usage scenarios due to its advantages such as light weight, high performance, and fast start and stop. Therefore, there is a need to migrate the application originally deployed in the virtual machine to the container and ensure that the migration is consistent with the original application. [0003] Because the architectures of virtual machines and containers are completely different, existing technologies cannot directly convert virtual machine images into container images that can run directly in containers. Therefore, the applications in the virtual machines need to be migrated one by one, which makes the migration difficult and expensive. Contents of the invention [0004] A technical problem to be solved by t...

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/48
CPCG06F9/4856
Inventor 严丽云梁柏青杨新章陆钢何震苇
Owner CHINA TELECOM CORP 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