Method for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment

A storage device and virtual machine technology, applied in the field of cloud computing, can solve security threats, increase the maintenance workload of application administrators, IO speed bottlenecks, etc., and achieve the effect of high data transmission rate

Inactive Publication Date: 2015-01-28
G CLOUD TECH
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. The use of the USB storage device depends on the remote desktop connection. After the remote desktop connection is disconnected, the USB storage device cannot be used by the virtual machine;
[0009] 2. The data access from the virtual machine to the USB storage device depends on the network. If the amount of data to be accessed from the USB storage device is large, there will be a bott...

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 for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment
  • Method for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] like figure 1 As shown, the present invention takes the KVM virtual machine as an example below to illustrate how to support the hot plugging of the USB storage device in the virtual machine.

[0030] (1) Obtain the usb device list through the 1susb command

[0031] Execute 1susb on the host

[0032] The following data is obtained:

[0033] #1susb

[0034] Bus 001Device 002: ID 0951: 1665Kingston Technology

[0035] Bus 001 Device 003: ID 046b: ff01 American Megatrends, Inc.

[0036] Bus 001Device 001:ID 1d6b:0002Linux Foundation 2.0root hub

[0037] Bus 002Device 001:ID 1d6b:0001Linux Foundation 1.1root hub

[0038] Bus 003Device 001:ID 1d6b:0001Linux Foundation 1.1root hub

[0039] Bus 004Device 001:ID 1d6b:0001Linux Foundation 1.1root hub

[0040] Bus 001 Device 004: ID 046b: ff10 American Megatrends, Inc. Virtual Keyboard and Mouse

[0041] From the above, we know that the first record indicates the U disk device used, and this can be obtained by comparing ...

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 relates to the technical field of cloud computing, in particular to a method for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment. According to the method, firstly, a list of USB storage equipment is firstly scanned on a host computer; when new USB storage equipment is plugged, the version ID and the manufacturer ID of the equipment are obtained; then, one piece of storage equipment is newly built on a virtual machine according to the obtained vision ID and the manufacturer ID; next, the storage equipment is mounted into the corresponding virtual machine on the host machine according to the virtual machine ID; when the use of a USB in the virtual machine is completed, the USB storage equipment can be removed from an operation system; the storage equipment is dismounted according to the obtained virtual machine ID in the host machine, and the storage equipment is deleted. The method provided by the invention solves the problems that in the traditional USB use process through combining the remote desktop protocol, the operation excessively relies on the network, the data path needs to be frequently changed, the maintenance work load of managers is great, and the like. The method can be used for virtual machine USB storage equipment hot plugging.

Description

technical field [0001] The invention relates to the technical field of cloud computing, in particular to a method for supporting hot plugging of a virtual machine USB storage device. Background technique [0002] In a cloud computing environment, a virtual machine exists as an entity without a fixed form, and it is difficult to use an exclusive device such as USB storage. The common way to use a USB storage device on a virtual machine is to combine the remote desktop protocol. Steps as follows: [0003] 1. Insert the USB storage device into the computer where the remote desktop client is located; [0004] 2. The computer uses the remote desktop client to access the remote desktop of the virtual machine; [0005] 3. Map the USB storage device into a network disk through the remote desktop protocol; [0006] 4. Access the network disk on the virtual machine. [0007] This method has the following disadvantages: [0008] 1. The use of the USB storage device depends on the ...

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
IPC IPC(8): G06F13/40
CPCG06F13/4081
Inventor 魏琳琳杨松莫展鹏季统凯
Owner G CLOUD TECH
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