USB equipment accessing method, device and control system thereof in virtual machine system

A virtual machine monitor and equipment technology, applied in the direction of program control devices, software simulation/interpretation/simulation, instruments, etc., can solve the problems affecting the performance of USB equipment, USB transmission, etc., to improve access performance and reduce USB transmission process small effect

Active Publication Date: 2009-09-16
LENOVO (BEIJING) CO LTD
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, combining the above description and figure 1 It can be found that in the above-mentioned DM solution, one USB transmission needs to go through too many modules, resulting in too many USB transmission processes, and in the process of USB transmission, multiple modules need to be called to perform their functions, so Greatly affects the performance of USB devices

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
  • USB equipment accessing method, device and control system thereof in virtual machine system
  • USB equipment accessing method, device and control system thereof in virtual machine system
  • USB equipment accessing method, device and control system thereof in virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] In the embodiment of the present invention, a virtual USB hub is set in the GOS, a USB scheduler is set in the SOS, and the interaction between the two realizes the improvement of the access performance of the USB device.

[0075] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0076] Such as figure 2 As shown, it is a schematic structural diagram of a virtual machine system according to an embodiment of the present invention, which includes USB hardware, a VMM provided with a communication module, an SOS, and at least one GOS (for convenience of description, only one GOS is shown in the figure), wherein:

[0077] The GOS is provided with a USB device driver module and a virtual USB hub;

[0078] The SOS is provided with a USB scheduler and a real USB controller driver module;

[0079] The USB hub communicates with the USB scheduler through the communication module;

[0080] The virtual USB hub ...

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 provides a USB equipment accessing method, a device and a control system thereof in a virtual machine system, wherein the method comprises the following steps: a virtual USB concentrator packs a first USB request block data packet extracted from an IO request packet into a second USB request block data packet and then sends the second USB request block data packet to a virtual machine monitor; a USB dispatcher converts the received second USB request block data packet into a fourth USB request block data packet and sends the fourth USB request block data packet to a real USB controller driver; and the USB dispatcher returns the received first USB request block data packet to the virtual USB concentrator which packs the first data packet into a third USB request block data packet and sends the third USB request block data packet to a USB equipment driver according to the first USB request block data packet. The invention improves the accessing performance of the USB equipment in the virtual machine system and has universal property.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method, device and control system for accessing USB devices in a virtual machine system. Background technique [0002] In the existing virtual machine system, users often need to contact the virtualization of external USB devices. A commonly used solution for the virtualization of an external USB device in an existing virtual machine system is a DM (Device Module, device model) solution. [0003] The virtual machine system adopting the above-mentioned DM scheme is as follows: figure 1 As shown, one GOS (GuestOperation System, guest operating system) is taken as an example for illustration, and of course there may be multiple GOSs. Such as figure 1 As shown, a DM corresponding to the GOS is set in the SOS (Service Operation System, service operating system), here, it is a simulated USB host controller, and a simulated USB host controller is provided for the GOS. [...

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): G06F13/12G06F9/455
Inventor 席振新陈军林洋
Owner LENOVO (BEIJING) CO LTD
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