Pass-through method and device for device file and computer storage medium

A device file and device technology, applied in the container field, can solve problems such as device file failure

Active Publication Date: 2021-06-11
PENG CHENG LAB
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present application provides a device transparent transmission method, device and computer storage medium to solve the problem that the Kata container fails to access the device file in the virtual machine to which it belongs

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
  • Pass-through method and device for device file and computer storage medium
  • Pass-through method and device for device file and computer storage medium
  • Pass-through method and device for device file and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0055] refer to figure 1 , figure 1 It is the first embodiment of the transparent transmission method of the device file of this application, the method includes:

[0056] Step S110: Create a virtual machine image in a first preset mode.

[0057] Specifically, mirroring is a form of file storage and a type of redundancy, where the data on one disk has an identical copy on another disk, which is a mirror.

[0058] The virtual machine image may be a virtual machine image file, which is a disk partition installed with an operating system, and stores all information of the virtual machine hard disk.

[0059] Step S120: Based on the virtual machine image, start the virtual machine in a second preset mode.

[0060] Specifically, a virtual machine (Virtual Machine) refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. The work that can be done on a physical computer (physical ma...

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 pass-through method and device for device files and a computer storage medium. The method comprises the following steps: creating a virtual machine mirror image in a first preset mode; starting the virtual machine in a second preset mode based on the virtual machine mirror image; creating a container in the virtual machine in a third preset mode; creating a device dependence file in the container based on a preset path; according to the preset path, enabling a container in the virtual machine to successfully access the device dependent file; based on the pass-through strategy of the virtual machine and the accessed device dependent file, enabling the container in the virtual machine to successfully access a to-be-accessed device file. According to the invention, the problem that the Kata container fails to access the device file in the virtual machine to which the Kata container belongs is solved, and the Kata container successfully accesses the device file of the virtual machine to which the Kata container belongs and executes the operation.

Description

technical field [0001] The invention relates to container technology, in particular to a transparent transmission method, device and computer storage medium of device files. Background technique [0002] The technology of directly running the Android system in the container on the physical server has the characteristics of fast startup speed, and at the same time, the started container can directly access the device on the physical server. However, all containers on a physical server share the host kernel, which poses serious security risks. The main goal of the Kata container project is to build secure containers through a lightweight virtual machine. Building a virtualization environment based on Kata containers can combine the security isolation advantages of virtual machines with the fast startup characteristics of containers. [0003] However, there are two problems in building a virtualization environment based on Kata container. On the one hand, the container opera...

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/455G06F9/445G06F8/61
CPCG06F8/63G06F9/44505G06F9/45558G06F2009/45562
Inventor 梁俊朱方平陈红付志鹏高嘉淇陈一鸣
Owner PENG CHENG LAB
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