CN107341039A - Method, main frame and the system being managed under a kind of virtual environment to USB device - Google Patents

Method, main frame and the system being managed under a kind of virtual environment to USB device Download PDF

Info

Publication number
CN107341039A
CN107341039A CN201610277997.4A CN201610277997A CN107341039A CN 107341039 A CN107341039 A CN 107341039A CN 201610277997 A CN201610277997 A CN 201610277997A CN 107341039 A CN107341039 A CN 107341039A
Authority
CN
China
Prior art keywords
usb device
virtual machine
information
usb
management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610277997.4A
Other languages
Chinese (zh)
Inventor
邱剑锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201610277997.4A priority Critical patent/CN107341039A/en
Priority to PCT/CN2017/079456 priority patent/WO2017185954A1/en
Publication of CN107341039A publication Critical patent/CN107341039A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45579I/O management, e.g. providing access to device drivers or storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses method, main frame and the system being managed under a kind of virtual environment to USB device, this method includes:The facility information of the USB device in terminal is obtained by the communication link established with terminal;Obtain the virtual machine information on main frame;The management information to USB device is determined according to facility information and virtual machine information;According to management information, management of the virtual machine to USB device is completed.The present invention utilizes the virtual machine information on the facility information and main frame of the USB device in terminal, the management information to USB device can be determined, can be according to the management information, complete management of the virtual machine to USB device, do not need the operational order of complexity that management of the virtual machine to USB device can be achieved with the inventive method, with management it is simple, effectively, easily realize the advantages of, and more excellent use feeling can be provided the user.

Description

Method, main frame and the system being managed under a kind of virtual environment to USB device
Technical field
The present invention relates to field of computer technology, and in particular to carries out pipe to USB device under a kind of virtual environment Method, main frame and the system of reason.
Background technology
The one kind of virtual machine technique as virtualization technology, it is suggested in the seventies of last century six, it is one The analogue simulation of kind hardware device is realized.The it is proposed of virtual machine technique is resource of the user between different terminals Shared, mutual access etc. provides more implementations.
Under virtual environment, the virtual machine that user uses is on the main frame for operate in remote equipment room.For thing Reason machine, USB flash disk can be directly inserted in the slot in physical machine, and the system of physical machine can directly access USB flash disk. But for virtual machine, it is software program, does not possess the interface of entity, in the prior art, In order to ensure that user can realize that read-write to USB flash disk etc. is operated, it is necessary to redirect skill using USB in virtual machine The USB flash disk that user is inserted in terminal by art is redirected in virtual machine so that user can be direct on a virtual machine File on reading and writing USB flash disk.Subject matter existing for this prior art is that step is complicated, and order performs It is cumbersome, easily error, and when needing to realize the operation such as read-write to multiple remote usb devices by virtual machine When, it is necessary to a pair of each USB devices carry out cumbersome USB and redirected, this significantly increases To the management time of USB device and the complexity of management under virtual environment, so prior art is badly in need of what is solved Problem is to provide one kind under virtual environment, simpler, USB Managed Solutions more efficiently.
The content of the invention
The main technical problem to be solved in the present invention is to provide under a kind of virtual environment and carries out pipe to USB device Method, main frame and the system of reason, solve virtual machine in the prior art and USB flash disk is entered using USB redirecting techniques The step of row management causes is complicated, and order execution is cumbersome, the problem of easily error.
In order to solve the above technical problems, the present invention provides USB device is managed under a kind of virtual environment Method, including:
The facility information of the USB device in terminal is obtained by the communication link established with terminal;
Obtain the virtual machine information on main frame;
The management information to USB device is determined according to facility information and virtual machine information;
According to management information, management of the virtual machine to USB device is completed.
Further, management information includes carry instruction and unloads instruction;
When management information is that carry indicates, according to management information, management of the virtual machine to USB device is completed Including:Indicated according to carry, by facility information write virtual machine configuration file in, for virtual machine according to Facility information in configuration file, simulates virtual USB device;One USB device carry can only exist simultaneously On one virtual machine;
When management information indicates for unloading, according to management information, management of the virtual machine to USB device is completed Including:Indicated, the sweep equipment information from the configuration file of virtual machine, or will be believed according to equipment according to unloading The virtual USB device of breath simulation is deleted from virtual machine.
Further, management information also includes deleting instruction;According to management information, virtual machine is completed to USB The management of equipment includes:Indicated according to deleting, determine whether USB device has been mounted on virtual machine, if so, The then load-off of USB apparatus from virtual machine.
Further, in addition to:When the USB device on virtual machine occurs abnormal, according on virtual machine The facility information of USB device on the facility information and terminal of USB device, determine what is pulled out in terminal USB device, the USB device pulled out is unloaded from virtual machine.
Further, facility information includes USB device title caused by terminal unification.
Further, USB device title is produced by the USB service ends in terminal are unified, and by USB Service end is transmitted to USB client by the communication link established with the USB client of main frame.
Further, facility information includes:For carrying out the identification information of unique mark to USB device.
Further, identification information includes:Manufacturer, production code member, bus, port, source IP.
Further, determine to include the management information of USB device according to facility information and virtual machine information: The management information that virtualization center outside receiving determines according to facility information and virtual machine information.
Above-mentioned in order to solve the problems, such as, the present invention also provides to be managed under a kind of virtual environment to USB device Main frame, including:First acquisition module, the second acquisition module, determining module and management module;
First acquisition module is used to obtain setting for the USB device in terminal with terminal by the communication link established Standby information;
Second acquisition module is used to obtain the virtual machine information on main frame;
Determining module is used to determine the management information to USB device according to facility information and virtual machine information;
Management module is used for according to management information, completes management of the virtual machine to USB device.
Further, management information includes carry instruction or unloads instruction;Management module include carry module and Unload module;
Carry module is used for, and is indicated according to carry, facility information is write in the configuration file of virtual machine, with For facility information of the virtual machine in configuration file, virtual USB device is simulated;One USB device is only Can simultaneously carry on a virtual machine;
Unload module is used for according to unloading instruction, the sweep equipment information from the configuration file of virtual machine, or will Deleted according to the virtual USB device that facility information is simulated from virtual machine.
Further, management information also includes deleting instruction;Management module also includes removing module, for root Indicated according to deleting, determine whether USB device has been mounted on virtual machine, if so, then being unloaded from virtual machine USB device.
Further, in addition to exception processing module, for when the USB device on virtual machine occurs abnormal, According to the facility information of the USB device on the facility information and terminal of the USB device on virtual machine, it is determined that eventually The USB device pulled out on end, the USB device pulled out is unloaded from virtual machine.
Further, the facility information that the first acquisition module obtains includes USB device name caused by terminal unification Claim.
Further, USB device title is produced by the USB service ends in terminal are unified, and by USB Service end is transmitted to USB client by the communication link established with the USB client of main frame.
Further, the facility information that the first acquisition module obtains includes:It is unique for being carried out to USB device The identification information of mark.
Further, the identification information that the first acquisition module obtains includes:Manufacturer, production code member, bus, Port, source IP.
Further, it is determined that module includes receiving module, for receiving the virtualization center of outside according to equipment The management information that information and virtual machine information determine.
To solve the above problems, the present invention also provide USB device is managed under a kind of virtual environment be System, including virtualization center and main frame;
Virtualization center is used to obtain the virtual machine information on main frame, and obtaining the USB in terminal by main frame sets Standby facility information, and the management information to USB device is determined according to facility information and virtual machine information, Management information is sent to main frame;
Main frame obtained by the communication link established with terminal the facility information of the USB device in terminal and by its Virtualization center is transmitted to, receives the management information that virtualization center is sent, according to management information, is completed empty Management of the plan machine to USB device.
The beneficial effects of the invention are as follows:
Method, main frame and the system being managed under a kind of virtual environment provided by the invention to USB, use The method of the present invention, the equipment that the USB device in terminal can be obtained by the communication link established with terminal Information;Obtain the virtual machine information on main frame;Determined according to facility information and virtual machine information to USB device Management information;According to management information, management of the virtual machine to USB device is completed.In the present invention, as long as The facility information can for having got virtual machine information and USB device is based on the determination of both information to USB The management information of equipment, then according to the management information, management of the virtual machine to USB device is completed, so The method of the present embodiment does not need complicated operational order that management of the virtual machine to USB device, tool can be achieved Have management it is simple, effectively, the advantages of easily realizing.
Brief description of the drawings
Fig. 1 is the stream for the method being managed under the virtual environment that the embodiment of the present invention one provides to USB device Cheng Tu;
Fig. 2 is the mould for the main frame being managed under the virtual environment that the embodiment of the present invention two provides to USB device Block schematic diagram;
Fig. 3 is the knot for the system being managed under the virtual environment that the embodiment of the present invention three provides to USB device Structure schematic diagram;
Fig. 4 is the method flow for the facility information that USB device is obtained using the system in the embodiment of the present invention three Figure;
Fig. 5 is the side that dynamic carry mode carry USB device is used using the system in the embodiment of the present invention three Method flow chart;
Fig. 6 is the method that dynamic offloading mode load-off of USB apparatus is used using system in the embodiment of the present invention three Flow chart;
Fig. 7 is the method flow diagram using system-kill USB device in the embodiment of the present invention three.
Embodiment
The present invention is described in further detail below by embodiment combination accompanying drawing.
Embodiment one:
The present embodiment provides a kind of method being managed under virtual environment to USB device, and it is relative to existing USB device is directed to the scheme operated on virtual machine in technology using USB redirecting techniques, had The advantages of management process is simple, the efficiency of management is high, the method for the present embodiment are particularly suitable for use in remote terminal USB device is managed.This method is shown in Figure 1, including:
S101, the facility information for obtaining by the communication link established with terminal the USB device in terminal;
Virtual machine information on S102, acquisition main frame;
S103, the management information to USB device determined according to facility information and virtual machine information;
S104, according to management information, complete management of the virtual machine to USB device.
The terminal of the present embodiment can be the terminal of the types such as computer, mobile phone, tablet personal computer, when terminal is hand When machine or tablet personal computer, general USB device interface is generally not present, in order to realize inserting for USB device Pull out, can utilize the instruments such as interface conversion line that USB device is connected on mobile phone or tablet personal computer.
In step S101, obtain terminal on USB device facility information mode have it is a variety of, it is more excellent Choosing, query statement is sent to terminal by communication link, the USB device of indicating terminal to report itself Facility information, the facility information that receiving terminal is sent by communication link;It can also be that receiving terminal itself is fixed When the facility information of USB device that reports.USB device in terminal can be multiple, accordingly, obtain Facility information can be multiple.In step S102, which the virtual machine information obtained on main frame can determine Virtual machine can use, it is contemplated that can run more virtual machines, that is, the void obtained simultaneously on main frame It can be multiple to intend machine information.
In embodiment, in the present embodiment, instruction completion can be understood as to the management information of USB device The information of management of the virtual machine to USB device, specific management type has a lot, such as carry, unloading, Delete etc..Management information to USB device can be determined according to facility information and virtual machine information, this is true Surely two layers of meaning has been comprised at least, first, determining a virtual machine as management from least one virtual machine The virtual machine of USB device, determine a USB device as quilt from the facility information of multiple USB devices The USB device of management;Two are to determine the particular type of management, such as carry, unloading, deletion etc..Can be with It is envisioned that the process for determining management information can be completed on main frame, according in management information control main frame Virtual machine complete the management information that the outside of management to USB device or reception is sent, according to The management information realizes management of the virtual machine to USB device.
Preferably, the management information in step S103 and S104 includes carry instruction and unloads instruction, respectively For indicating to be mounted to USB device on virtual machine and indicate the USB device for treating carry from its carry Unloaded on virtual machine.
When management information is that carry indicates, step S104 can be indicated according to carry, by equipment In the configuration file of information write-in virtual machine, for facility information of the virtual machine in configuration file, simulation Go out virtual USB device.
In the present embodiment, a USB device can only be mounted on a virtual machine, in order to avoid there is USB Equipment is repeated the situation of carry by virtual machine, can be by the carry of USB device and unloading (namely non-carry) State, which makes a distinction, shows user, and fairly simple mode is can be in the facility information of management USB device The page on, non-carry and the USB device of carry are divided into two row and shown, a row are non-carries, a row It is carry.Preferably, can also be non-carry on the page of the facility information of management USB device The USB device of carry sets different state flag bits, to identify the carry of USB device and unloading shape State, such as 1 expression carry is arranged to, the non-carry of 0 expression is arranged to, carry exists when USB device After on virtual machine, its corresponding state flag bit is changed into 1 from 0, represents its carry.
In addition, the present embodiment can also be by the way of other be feasible by the carry of USB device, do not hang Load state shows user.
Preferably, carry in the present embodiment can select two kinds of carry modes, and static carry and dynamic are hung Carry, static carry refers to, in the case where virtual machine is in off-mode, the facility information of USB device is write empty In the configuration file of plan machine, so, virtual machine is when start, it is possible to directly utilizes in configuration file Facility information simulate virtual USB device, complete the carry of USB device;And dynamic carry refers to When virtual machine is started shooting, facility information is written in the configuration file of virtual machine, recalls dynamic carry life Order, facility information of the control virtual machine in configuration file simulate virtual USB device.It is readily apparent that It is that during carry, the facility information used is the facility information of USB device corresponding to carry instruction.
When management information is that carry indicates, step S104 can be specifically, be indicated according to unloading, from virtual Sweep equipment information in the configuration file of machine, or by according to the virtual USB device that facility information is simulated from virtual Deleted on machine.Accordingly, after USB device unloads from virtual machine, clear 0 behaviour is performed to its status indicator position Make.
Corresponding to the two ways of carry, the unloading of the present embodiment is also classified into static unloading and dynamic offloading.It is quiet State unloading is, under virtual machine off-mode, the equipment of deletion USB device from the configuration file of virtual machine Information;Dynamic offloading is, under the open state of virtual machine, dynamic offloading order is called, from virtual machine Delete the virtual USB simulated according to the facility information of USB device.It is contemplated that unloading USB is set When standby, the USB device being unloaded corresponds to the USB device of unloading instruction.
In the present embodiment, the order of dynamic carry and dynamic offloading that libvirt function libraries provide can be called The process of dynamic carry and static carry is completed in order.
After carry USB device on virtual machine, user enters on main frame to the USB device of virtual machine carry Row read-write, you can reach the purpose being written and read to the USB device in terminal.When need not be on a virtual machine When the operation such as being written and read to the USB of terminal, the USB device on virtual machine needs just without existing meaning It is deleted, it is preferred that pair determined in step s 103 according to facility information and virtual machine information The management information of USB device also includes deleting instruction, it is to be understood that indicated according to deleting, can be true Fixed USB device to be deleted and the virtual machine where it.When management information is deletes instruction, step S104 Specially according to instruction is deleted, determine whether USB device has been mounted on virtual machine, if so, then from virtual The USB device is unloaded on machine.
In the present embodiment, in step S103, management information can be main frame according to facility information and virtual The information of outside that machine information determines or reception, can be specifically the virtualization of the outside received The management information that center determines according to facility information and virtual machine information.Substantially, it is to conceal in this scheme Virtualization center obtains facility information and obtains the scheme of virtual machine information.It is envisioned that in virtualization The heart can obtain multiple virtual machine informations, by determining management information, be issued the mode of main frame execution, Virtual machine is controlled to complete the management to USB device, described above unloading, carry, deletion etc..Work as management Information is when being produced by virtualization center, and the present embodiment there will necessarily be virtualization center and send unloading instruction, hang Carry instruction, delete the step of management informations such as instruction are to main frame.
It is envisioned that if the USB device in terminal is pulled out, virtual machine is not known that.When This is pulled out behavior and occurred before virtual machine startup, and has been written into what is pulled out in the configuration file in virtual machine The facility information of USB device, the startup of virtual machine can be impacted and even result in virtual machine and can not start; Occur if this pulls out behavior during using virtual machine, and carry exists the USB device pulled out On the virtual machine, then when user reads and writes USB device on a virtual machine, it may appear that read-write error or read-write The problem of failure, these can all bring the experience of extreme difference to user.In order to avoid USB device is pulled out in terminal Except the above mentioned problem brought, it is preferred that when the USB device on virtual machine occurs abnormal, according to virtual machine On USB device facility information and terminal on USB device facility information, determine to be pulled out in terminal USB device, the USB device pulled out is unloaded from virtual machine.In the present embodiment, in order to avoid different The bad experience that reason condition is brought to user, can with the facility information of the USB device in timing acquisition terminal, By it compared with the facility information of the USB device on virtual machine, determine the USB that is pulled out in terminal Equipment, the equipment pulled out then is unloaded from virtual machine.
For USB device, the USB device of different manufacturers, its VENDOR ID (manufacturer) with PRODUCT ID (production code member) are inconsistent, can be inserted in same terminal using the two values to distinguish On different manufacturers USB device.But for same a batch of USB device of same producer, VENDOR It is consistent with PRODUCT, if two USB devices with batch are inserted in terminal, distinguishes just It is cumbersome.It is consistent in order to solve same batch USB device characteristic information, the problem of leading to a conflict, it is preferable that The facility information of the USB device obtained in step S101 includes being used to carry out unique mark to USB device Identification information.
If it is envisioned that not only the VENDOR ID comprising USB device are (raw in facility information Business men) and PRODUCT ID (production code member), the also slot position comprising USB device, such as Remote_usb_192.168.1.10_1_0, wherein 1 is BUS value, 0 is PORT value, it is possible to will USB device with a batch of same producer makes a distinction, it is advantageous to, the identification information of the present embodiment Including manufacturer, production code member, bus, port, source IP.Manufacturer and production code member are that USB device goes out The mark carried during factory, port and bus can characterize USB device on which slot of terminal, source IP It may be used to determine the terminal of insertion USB device.These information are enough unique mark any one USB device.
In existing technology, when USB device has pointed to the main frame that virtual machine is run after, carry USB Virtual machine can only just start on this main frame, and can not be across host-initiated, the reason for causing this problem The title for being the USB device obtained on main frame is that this leads by the voluntarily layout of the USB client on main frame Cause the title for the same USB device that each main frame obtains may be inconsistent, during so as to cause across host-initiated, The USB device of virtual machine carry mistake.For this problem, it is preferable that what is obtained in step S101 sets Standby information includes USB device title caused by terminal unification.Preferably, the USB device title can be by The unified generation of USB service ends in terminal, and built by USB service ends by the USB client with main frame Vertical communication link is transmitted to USB client.Thus, the same USB device that each main frame obtains Title is all consistent.By this method, the virtual machine for solving carry USB device can not be across main frame Problem.
Beneficial effect:
Using the method being managed under the virtual environment of the present embodiment to USB device, can by with terminal The communication link of foundation obtains the facility information of the USB device in terminal;Obtain the virtual machine information on main frame; The management information to USB device is determined according to facility information and virtual machine information;According to management information, complete Management of the virtual machine to USB device.The equipment of the USB device for the terminal that the method for the present embodiment passes through acquisition Virtual machine information in information and the main frame obtained, it is determined that to the management information of USB device, complete virtual machine Management to USB device, as long as namely obtaining facility information and virtual machine information and can be completed according to this method Management of the virtual machine to USB device, so the operational order that the method for the present embodiment need not be complicated can be real Existing management of the virtual machine to USB device, have management it is simple, effectively, the advantages of easily realizing.
Further, the facility information of the present embodiment includes the identification information that unique mark is carried out to USB device, It can help to solve because the characteristic information of same batch USB device is the same, caused collision problem, be advantageous to The situation for repeating carry USB device is avoided to occur.
Further, the device name of the USB device of the present embodiment is produced by terminal is unified, can solve by In the main frame virtual machine that voluntarily layout USB device title is brought can not be across host-initiated the problem of.
Further, the present embodiment can be handled for the abnormal conditions of USB device on virtual machine, can Pulled out away with solving USB device from terminal, caused virtual machine starts the problem of failing.
Embodiment two:
The present embodiment proposes the main frame being managed under a kind of virtual environment to USB device, referring to Fig. 2, sheet The main frame 2 of embodiment includes the first acquisition module 21, the second acquisition module 22, determining module 23 and pipe Manage module 24;First acquisition module 21 is used to obtain the USB in terminal by the communication link established with terminal The facility information of equipment;Second acquisition module 22 is used to obtain the virtual machine information on main frame;Determining module 23 For determining the management information to USB device according to facility information and virtual machine information;Management module 24 is used According to management information, management of the virtual machine to USB device is completed.
The terminal of the present embodiment can be the terminal of the types such as computer, mobile phone, tablet personal computer, when terminal is hand When machine or tablet personal computer, general USB device interface is generally not present, in order to realize inserting for USB device Pull out, the instruments such as interface conversion line can be utilized USB device is connected on mobile phone or tablet personal computer.
In the present embodiment, the first acquisition module 21 obtains the mode of the facility information of the USB device in terminal Have a variety of, than even more preferably, query statement sent to terminal by communication link, indicating terminal to report from The facility information of the USB device of body, the facility information that receiving terminal is sent by communication link;It can also be The facility information for the USB device that receiving terminal itself regularly reports.USB device in terminal can be it is multiple, Accordingly, the facility information of acquisition can be multiple.The virtual machine on main frame that second acquisition module 22 obtains Which virtual machine is information, which may be used to determine, can use, it is contemplated that can run simultaneously on main frame is more The virtual machine information that platform virtual machine, i.e. the second acquisition module 22 obtain can be multiple.
Preferably, the management information that first acquisition module 21 of the present embodiment obtains includes carry and indicates or unload Instruction;Management module 24 includes carry module 241 and Unload module 242;Carry module 241 is used for, root Indicate, facility information is write in the configuration file of virtual machine, so that virtual machine is according to configuration file according to carry In facility information, simulate virtual USB device;One USB device can only simultaneously carry it is virtual at one On machine.
Preferably, the carry mode of carry module 241 includes in the present embodiment:Static carry and dynamic are hung Carry, static carry refers to that carry module 241 is in the case where virtual machine is in off-mode, by setting for USB device In the configuration file of standby information write-in virtual machine, so, virtual machine is when start, it is possible to directly profit Virtual USB device is simulated with the facility information in configuration file, completes the carry of USB device;And dynamic Carry refers to that carry module 241 when virtual machine is started shooting, facility information is written to the configuration of virtual machine In file, dynamic carry order is recalled, facility information of the control virtual machine in configuration file simulates Virtual USB device.It is contemplated that during carry, the facility information used is USB corresponding to carry instruction The facility information of equipment.
Unload module 242 is used for according to unloading instruction, the sweep equipment information from the configuration file of virtual machine, Or the virtual USB device simulated according to facility information is deleted from virtual machine.
Corresponding to the two ways of carry, the unloading manner of the present embodiment Unload module 242 also unloads including static state Load and dynamic offloading.Static state unloading is that Unload module 242 is under virtual machine off-mode, from virtual machine The facility information of USB device is deleted in configuration file;Dynamic offloading is that Unload module 242 is in virtual machine Under open state, dynamic offloading order is called, the facility information mould according to USB device is deleted from virtual machine The virtual USB of plan.It is contemplated that during load-off of USB apparatus, the USB device being unloaded is corresponding In the USB device of unloading instruction.
In the present embodiment, carry module 241 and Unload module 242 can call libvirt function libraries to carry The process of dynamic carry and static carry is completed in the order of dynamic carry and dynamic offloading order of confession.
After carry USB device on virtual machine, user enters on main frame to the USB device of virtual machine carry Row read-write, you can reach the purpose being written and read to the USB device in terminal.When need not be on a virtual machine When the operation such as being written and read to the USB of terminal, the USB device on virtual machine needs just without existing meaning It is deleted.Preferably, the management information of the present embodiment also includes deleting instruction, management module 24 Also include removing module 243, for according to instruction is deleted, determining whether USB device has been mounted to virtual machine On, if so, the then load-off of USB apparatus from virtual machine.
It is envisioned that if the USB device in terminal is pulled out, virtual machine is not known that.When This is pulled out behavior and occurred before virtual machine startup, and has been written into what is pulled out in the configuration file in virtual machine The facility information of USB device, the startup of virtual machine can be impacted and even result in virtual machine and can not start; Occur if this pulls out behavior during using virtual machine, and carry exists the USB device pulled out On the virtual machine, then when user reads and writes USB device on a virtual machine, it may appear that read-write error or read-write The problem of failure, these can all bring the experience of extreme difference to user.In order to avoid USB device is pulled out in terminal Except the above mentioned problem brought, it is preferred that the main frame 2 of the present embodiment also includes exception processing module 25, is used for When the USB device on virtual machine occurs abnormal, according to the facility information of the USB device on virtual machine and end The facility information of USB device on end, the USB device pulled out in terminal is determined, is unloaded from virtual machine The USB device pulled out.
In the present embodiment, determining module 23 can include receiving module 231, for receiving the virtual of outside The management information that change center determines according to facility information and virtual machine information.
Substantially, when management information is received by receiving module 231, imply virtualization center and obtain equipment Information and the scheme for obtaining virtual machine information.It is envisioned that virtualization center can obtain it is multiple virtual Machine information, by determining management information, receiving module 231 is issued, by management module 24 according to management Information, control virtual machine complete the management to USB device, described above unloading, carry, deletion etc. pipe Reason.Accordingly, when management information is produced by virtualization center, the present embodiment there will necessarily be in virtualization The heart sends unloading instruction, carry instruction, deletes the step of management informations such as instruction are to main frame.
For USB device, the USB device of different manufacturers, its VENDOR ID (manufacturer) with PRODUCT ID (production code member) are inconsistent, can be inserted in same terminal using the two values to distinguish On different manufacturers USB device.But for same a batch of USB device of same producer, VENDOR It is consistent with PRODUCT, if two USB devices with batch are inserted in terminal, main frame obtains empty Distinguish all cumbersome in planization center.It is consistent in order to solve same batch USB device characteristic information, cause The problem of conflict.Preferably, the facility information for the USB device that the first acquisition module 21 obtains includes being used for The identification information of unique mark is carried out to USB device.
If it is envisioned that not only the VENDOR ID comprising USB device are (raw in facility information Business men) and PRODUCT ID (production code member), the also slot position comprising USB device, such as Remote_usb_192.168.1.10_1_0, wherein 1 is BUS value, 0 is PORT value, it is possible to will USB device with a batch of same producer makes a distinction, it is advantageous to, the identification information of the present embodiment Including manufacturer, production code member, bus, port, source IP.Manufacturer and production code member are that USB device goes out The mark carried during factory, port and bus can characterize USB device on which slot of terminal, source IP It may be used to determine the terminal of insertion USB device.These information are enough unique mark any one USB device.
In existing technology, when USB device has pointed to the main frame that virtual machine is run after, carry USB Virtual machine can only just start on this main frame, and can not be across host-initiated, the reason for causing this problem The title for being the USB device obtained on main frame is that this leads by the voluntarily layout of the USB client on main frame Cause the title for the same USB device that each main frame obtains may be inconsistent, during so as to cause across host-initiated, The USB device of virtual machine carry mistake.For this problem, it is preferable that the first acquisition module 21 obtains Facility information include terminal it is unified caused by USB device title.Preferably, the USB device title can be with It is to be produced by the USB service ends in terminal are unified, and the USB client with main frame is passed through by USB service ends The communication link that end is established is transmitted to USB client.Thus, the same USB that each main frame obtains The title of equipment is all consistent.By this method, the virtual machine for solving carry USB device can not be across The problem of main frame.
Beneficial effect:
Using the main frame being managed under the virtual environment of the present embodiment to USB device, the first acquisition module is used The facility information of the USB device in terminal is obtained in the communication link by being established with terminal;Second obtains mould Block is used to obtain the virtual machine information on main frame;Determining module is used for true according to facility information and virtual machine information The fixed management information to USB device;Management module is used for according to management information, completes virtual machine to USB The management of equipment.The main frame of the present embodiment obtains facility information, virtual respectively by first and second acquisition module Machine information, the management information for determining to be managed USB device by determining module, management module is according to pipe Information pair is managed, completes management of the virtual machine to USB device, facility information and virtual machine information based on acquisition The management of USB device is carried out, management method is easy and effective, it is not necessary to performs cumbersome instruction, is less prone to Mistake.Further, it can also discharge because the USB device in terminal is pulled out caused exception, enter one Step improves the main frame by the present embodiment to the management effect of the USB device on virtual machine, improves Consumer's Experience.
Embodiment three:
Referring to Fig. 3, the present embodiment proposes the system being managed under a kind of virtual environment to USB device, bag Include virtualization center 31 and main frame 32;Virtualization center 31 is used to obtain the virtual machine information on main frame, leads to The facility information that main frame obtains the USB device in terminal is crossed, and it is true according to facility information and virtual machine information The fixed management information to USB device, management information is sent to main frame;Main frame 32 with terminal 33 by building Vertical communication link obtains the facility information of the USB device in terminal, receives management information, is believed according to management Breath, complete management of the virtual machine to USB device.
In the present embodiment, virtualization center can realize the centralized management of whole virtual resources, including master Machine information, virtual machine information etc..In the present embodiment, virtualization center can get the USB in terminal The facility information of equipment, and the virtual machine information on main frame, are to USB by virtual machine by the two information The management of equipment.
The management information that the virtual machine of the present embodiment is sent can include carry instruction, unloading instruction and delete Instruction, it is respectively used to control virtual machine carry USB device, the load-off of USB apparatus and from void from virtual machine USB device is deleted on plan machine.
The main frame 32 of the present embodiment can include host proxy module 321, and the host proxy module 321 can be with Realize the function of first and second acquisition module in embodiment two on main frame, determining module and management module.
The communication of main frame and terminal can lead to the setting USB client 323 on main frame, be set in terminal 33 USB service ends 331 realize that USB client 323 and USB service ends 331 can establish communication link, Realize communication.
Referring to Fig. 4, virtualize the USB device obtained centrally through main frame in terminal facility information it is specific Process can include:
S401, virtualization center initiate USB inquiry requests to host proxy module, and indicate the IP of terminal;
S402, host proxy module receive USB inquiry requests, and are transmitted to the USB client on main frame;
S403, USB client establish the TCP communication link with the USB service ends on designated terminal, lead to Cross the communication link and forward USB inquiry requests to the USB service ends in terminal;
USB service ends on S404, terminal perform USB Query Informations, the USB device in reading terminals List, USB device list is returned to the US clients on main frame by communication link;
USB client on S405, main frame returns to USB device list to host proxy module;
The USB device list of return is converted into internal response by S406, host proxy module, is sent to virtual Change center;
S407, virtualization center receive internal response, are saved into database, and in USB management pages Shown on face.
After virtualization center obtains the facility information of USB device, it can store it in database. In order to facilitate user's checking and operating to USB device information, can be also used for USB on virtualization center Facility information is shown on its USB administration page.What virtualization center can select according to user waits to hang The USB device of load and the virtual machine of carry USB device determine that carry indicates, carry instruction is issued into main frame Proxy module, facility information is write in the configuration file of virtual machine by host proxy module, for virtual Facility information of the machine in configuration file simulates virtual USB device.
Preferably, virtualization center can use static carry and dynamic carry two ways to hang USB device It is downloaded on virtual machine.Static carry:Virtualization center will treat the USB of carry under virtual machine off-mode In the configuration file of the facility information write-in virtual machine of equipment, it is easy to virtual machine directly literary according to configuration when starting Facility information in part simulates virtual USB device.
Dynamic carry:Virtualization center is under virtual machine open state, equipment that will treat the USB device of carry In the configuration file of information write-in virtual machine, send carry and be indicated to host proxy module, be easy to it according to extension Instruction is carried, calls dynamic carry order, facility information of the control virtual machine in configuration file simulates void Intend USB device.
Recognize virtual machine and the information such as corresponding relation of the USB device of carry, this reality in order to facilitate user Applying the virtualization center of example can also show virtual machine and corresponding carry in the void on USB device administration page USB device on plan machine, shows the terminal where these USB devices, and the model of USB device, The information such as size, it is easy to user when USB device administration page is checked, it will be appreciated that virtual machine and USB The information such as the state of equipment, corresponding relation, pipe then is carried out to different USB devices according to the needs of oneself Reason.
The state of the virtual machine of the present embodiment can include the shape that start, shutdown, standby etc. physical machine have State.Preferably, unloading of the virtualization center control virtual machine of the present embodiment to USB device includes:In void Under plan machine off-mode, the facility information of USB device to be unloaded is deleted from the configuration file of virtual machine; Or under virtual machine open state, send dynamic offloading and be indicated to host proxy module, it is easy to it according to dynamic State unloading instruction, calls dynamic offloading order, deletes the facility information mould in configuration file on virtual machine The virtual USB device of plan.
In the present embodiment, the order of dynamic carry and dynamic offloading order that host proxy module calls can profits Realized with existing software, such as the dynamic that host proxy module can call libvirt function libraries to provide is hung Carry and dynamic offloading order.Below so that libvirt provides dynamic carry and dynamic offloading order as an example, to dynamic The detailed process of carry and dynamic offloading, which is made, to be illustrated.
It is that the system of the present embodiment uses the method flow of dynamic carry mode carry USB device referring to Fig. 5 Figure, the process of dynamic carry are as follows:
S501, virtualization center send carry instruction to host proxy module;
S502, host proxy module receive carry instruction, and the facility information for the USB device for treating carry is write In the configuration file of virtual machine corresponding to entering, the carry order of libvvirt offers is provided, simulated in virtual machine Go out to treat the USB device of carry;
The result that S503, libvirt return command perform is to master agent;
S504, master agent send command response and give virtualization center.
It is that the system of the present embodiment uses the method flow of dynamic offloading mode load-off of USB apparatus referring to Fig. 6 Figure, the process of dynamic offloading are as follows;
S601, virtualization center send unloading instruction to host proxy module;
S602, host proxy module receive unloading instruction, by the facility information of USB device to be unloaded from Delete, the unloading order for calling libvvirt to provide, deleted in virtual machine in the configuration file of corresponding virtual machine Except the USB device to be unloaded of simulation;
The result that S603, libvirt return command perform is to host proxy module;
S604, host proxy module send command response and give virtualization center.
, can should in order to economize on resources when user need not be managed to some USB device USB device is deleted from corresponding virtual machine.Preferably, the virtualization center of the present embodiment, which can be sent, deletes Except host proxy module is indicated to, whether host proxy module determines USB device to be deleted according to the instruction Carry on a virtual machine, if carry, it is unloaded from virtual machine, pair that will be stored in virtualization center The facility information answered is deleted, and completes the complete deletion of USB device.If without carry, it is only necessary to will virtualize The facility information of central store is deleted.
Referring to Fig. 7, be using the method flow diagram of the system-kill USB device of the present embodiment, deletion it is specific Process is as follows:
S701, virtualization center obtain the USB device to be deleted that user selects in USB device management page;
Whether S702, virtualization center check USB device to be deleted carry, if being mounted to void Plan machine, into S703, otherwise into S704;
S703, transmission deletion are indicated to host proxy module, virtual machine load-off of USB apparatus are controlled, into S704;
S704, from virtualization center database in delete USB device facility information.
In order to ensure understanding of the user to the carry, unloaded state of USB device, it is preferable that the present embodiment Virtual machine center be additionally operable to each USB device set carry identification information, carry identification information be used for pair The carry state and unloaded state of USB device are identified.Such as carry can be identified and believed by virtualization center Cease the carry identification information and be arranged to a carry flag bit FLAG, if USB device is by carry, the mark Will position is 1, no, then clear to the mark position 0;Either, center is virtualized to be used to manage in USB The either text information of icon corresponding to the USB device of carry is lighted on the page, extinguishes unloading or non-carry The icon or text information of USB device.The state of current USB device can be thus reacted in real time.It is excellent Choosing, the USB administration pages at virtualization center can be arranged on by virtualizing centrally disposed carry identification information On to user show or in other way to user show.
During actual management USB device, the virtual USB device of simulation on a virtual machine can be deposited When state and corresponding actual USB device state are not inconsistent.Such as when the USB device quilt in terminal Pull out away, virtual machine can be caused not start, or virtual machine is in use, USB can not be read and write on a virtual machine Equipment.In order to solve these problems, it is preferred that the virtualization center of the present embodiment can be utilized to virtual machine On the abnormal conditions of USB device handled.So the virtualization center of the present embodiment can be also used for determining When send USB inquiry requests, obtain terminal on facility information, itself and the facility information in database are entered Row compares, and determines the USB device pulled out in terminal, and the USB pulled out is unloaded from corresponding virtual machine Equipment, the facility information for the USB device pulled out is deleted from database;It can also be to that can not start Facility information in the configuration file of virtual machine determines quilt in terminal compared with the facility information in terminal The USB device pulled out, the sweep equipment information from the configuration file for the virtual machine that can not start.
For USB device, the USB device of different manufacturers, its VENDOR ID (manufacturer) with PRODUCT ID (product) are inconsistent, can be inserted in using the two values to distinguish in same terminal The USB device of different manufacturers.But for same a batch of USB device of same producer, VENDOR with PRODUCT is consistent, if two are inserted in terminal with batch USB device, virtualization center is distinguished Get up just cumbersome.It is consistent in order to solve same batch USB device characteristic information, the problem of leading to a conflict, Preferably, included in the facility information that the virtualization center of the present embodiment obtains and be used to carry out only USB device The identification information of one mark.Specifically, identification information can include manufacturer, production code member, bus, end Mouth, source IP.Manufacturer and production code member are the marks carried when USB device dispatches from the factory, and port and bus can be with USB device is characterized on which slot of terminal, source IP may be used to determine the end of insertion USB device End.These information are enough unique mark any one USB device.
In existing technology, after USB device has pointed to the main frame that virtual machine is run, carry USB's Virtual machine can only just start on this main frame, and can not be across host-initiated, and the reason for causing this problem is, The title of the USB device obtained on main frame is the USB client voluntarily layout by main frame, and this causes each The title for the same USB device that main frame obtains may be inconsistent, during so as to cause across host-initiated, virtually The USB device of machine carry mistake.For this problem, solution can be the facility information that main frame obtains Including USB device title caused by terminal unification.Preferably, the USB device title is by terminal Caused by USB service ends are same, the client on main frame obtains the device name by communication link and supplies main frame Use.
Beneficial effect:
Using the system being managed under the virtual environment of the present embodiment to USB device, virtualization center can be with The virtual machine information on main frame is obtained, the facility information of the USB device in terminal is obtained by main frame, and Management information to USB device is determined according to facility information and virtual machine information, management information is sent to master Machine;Main frame can obtain the facility information of the USB device in terminal by the communication link established with terminal, The management information that virtualization center is sent is received, according to management information, completes pipe of the virtual machine to USB device Reason.The system architecture of the present embodiment is simple, by virtualize center and main frame interaction and main frame according to void Control of the instruction at planization center to virtual machine can complete virtual machine on main frame to the USB device in terminal Management, during management, without carrying out numerous and diverse order, without the step of complexity, management is easy and effective, Bring the good experience of user.
Obviously, those skilled in the art should be understood that each module of the invention described above or each step can be used General computing device realizes that they can be concentrated on single computing device, or be distributed in multiple On the network that computing device is formed, alternatively, they can with computing device can perform program code come Realize, it is thus possible to be stored in storage medium (ROM/RAM, magnetic disc, CD) by calculating Device performs, and in some cases, can be with shown or described by being performed different from order herein The step of, they are either fabricated to each integrated circuit modules respectively or by multiple modules in them Or step is fabricated to single integrated circuit module to realize.So the present invention be not restricted to it is any specific hard Part and software combine.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to is recognized The specific implementation of the fixed present invention is confined to these explanations.For the ordinary skill of the technical field of the invention For personnel, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, Protection scope of the present invention should be all considered as belonging to.

Claims (19)

1. a kind of method being managed under virtual environment to USB device, it is characterised in that including:
The facility information of the USB device in the terminal is obtained by the communication link established with terminal;
Obtain the virtual machine information on main frame;
The management information to the USB device is determined according to the facility information and the virtual machine information;
According to the management information, management of the virtual machine to the USB device is completed.
2. the method being managed under virtual environment as claimed in claim 1 to USB device, its feature It is, the management information includes carry and indicates and unload instruction;
It is described according to the management information when the management information is that carry indicates, complete the virtual machine Management to the USB device includes:Indicated according to the carry, the facility information is write into the void In the configuration file of plan machine, for facility information of the virtual machine in the configuration file, simulate Virtual USB device;One USB device can only simultaneously carry on a virtual machine;
It is described according to the management information when the management information indicates for unloading, complete the virtual machine Management to the USB device includes:Indicated according to the unloading, from the configuration file of the virtual machine Delete the facility information, or by according to the virtual USB device that the facility information is simulated from the virtual machine Upper deletion.
3. the method being managed under virtual environment as claimed in claim 1 to USB device, its feature It is, the management information also includes deleting instruction;It is described described virtual according to the management information, completion Management of the machine to the USB device includes:Indicated according to described delete, determine the USB device whether It is mounted on the virtual machine, if so, then unloading the USB device from the virtual machine.
4. the method being managed under virtual environment as claimed in claim 1 to USB device, its feature It is, in addition to:When the USB device on virtual machine occurs abnormal, according to the USB device on virtual machine Facility information and terminal on USB device facility information, determine the USB device pulled out in terminal, The USB device pulled out is unloaded from the virtual machine.
5. the method being managed under the virtual environment as described in claim any one of 1-4 to USB device, Characterized in that, the facility information includes USB device title caused by terminal unification.
6. the method being managed under virtual environment as claimed in claim 5 to USB device, its feature It is, the USB device title is produced by the USB service ends in the terminal are unified, and by described USB service ends are transmitted to USB client by the communication link established with the USB client of the main frame 's.
7. the method being managed under the virtual environment as described in claim any one of 1-4 to USB device, Characterized in that, the facility information includes:Mark for carrying out unique mark to the USB device is believed Breath.
8. the method being managed under virtual environment as claimed in claim 7 to USB device, its feature It is, the identification information includes:Manufacturer, production code member, bus, port, source IP.
9. the method being managed under the virtual environment as described in claim any one of 1-4 to USB device, Characterized in that, described determine to the USB device according to the facility information and the virtual machine information Management information includes:Virtualization center outside receiving is true according to the facility information and the virtual machine information Fixed management information.
A kind of 10. main frame being managed under virtual environment to USB device, it is characterised in that including:The One acquisition module, the second acquisition module, determining module and management module;
First acquisition module is used to obtain the USB in the terminal by the communication link established with terminal The facility information of equipment;
Second acquisition module is used to obtain the virtual machine information on main frame;
The determining module is used to determine to set the USB according to the facility information and the virtual machine information Standby management information;
The management module is used for according to the management information, completes the virtual machine to the USB device Management.
11. the main frame being managed under virtual environment as claimed in claim 10 to USB device, its feature It is, the management information includes carry and indicates or unload instruction;The management module include carry module and Unload module;
The carry module is used for, and is indicated according to the carry, and the facility information is write into the virtual machine Configuration file in, for facility information of the virtual machine in the configuration file, simulate virtual USB device;One USB device can only simultaneously carry on a virtual machine;
The Unload module is used to, according to the unloading instruction, institute is deleted from the configuration file of the virtual machine Facility information is stated, or the virtual USB device simulated according to the facility information is deleted from the virtual machine.
12. the main frame being managed under virtual environment as claimed in claim 10 to USB device, it is special Sign is that the management information also includes deleting instruction;The management module also includes removing module, is used for Indicated according to described delete, determine whether the USB device has been mounted on the virtual machine, if so, then The USB device is unloaded from the virtual machine.
13. the device being managed under virtual environment as claimed in claim 10 to USB device, it is special Sign is, in addition to exception processing module, for when on virtual machine USB device occur it is abnormal when, according to The facility information of USB device on the facility information and terminal of USB device on virtual machine, is determined in terminal The USB device pulled out, the USB device pulled out is unloaded from the virtual machine.
14. the master being managed under the virtual environment as described in claim any one of 10-13 to USB device Machine, it is characterised in that the facility information that first acquisition module obtains is included caused by terminal unification USB device title.
15. the main frame being managed under virtual environment as claimed in claim 14 to USB device, it is special Sign is that the USB device title is produced by the USB service ends in the terminal are unified, and by described USB service ends are transmitted to USB client by the communication link established with the USB client of the main frame 's.
16. the master being managed under the virtual environment as described in claim any one of 10-13 to USB device Machine, it is characterised in that the facility information that first acquisition module obtains includes:For to the USB Equipment carries out the identification information of unique mark.
17. the main frame being managed under virtual environment as claimed in claim 16 to USB device, it is special Sign is that the identification information that first acquisition module obtains includes:It is manufacturer, production code member, total Line, port, source IP.
18. the master being managed under the virtual environment as described in claim any one of 10-13 to USB device Machine, it is characterised in that the determining module includes receiving module, for receiving the virtualization Central Radical of outside The management information determined according to the facility information and the virtual machine information.
19. the system being managed under a kind of virtual environment to USB device, it is characterised in that including virtual Change center and main frame;
The virtualization center is used to obtain the virtual machine information on the main frame, is obtained eventually by the main frame The facility information of USB device on end, and according to the facility information and virtual machine information determination pair The management information of the USB device, the management information is sent to the main frame;
The equipment that the main frame obtains the USB device in the terminal by the communication link established with terminal is believed Cease and forward it to the virtualization center, receive the management information that the virtualization center is sent, According to the management information, management of the virtual machine to the USB device is completed.
CN201610277997.4A 2016-04-28 2016-04-28 Method, main frame and the system being managed under a kind of virtual environment to USB device Pending CN107341039A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610277997.4A CN107341039A (en) 2016-04-28 2016-04-28 Method, main frame and the system being managed under a kind of virtual environment to USB device
PCT/CN2017/079456 WO2017185954A1 (en) 2016-04-28 2017-04-05 Method, host, and system for implementing usb device management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610277997.4A CN107341039A (en) 2016-04-28 2016-04-28 Method, main frame and the system being managed under a kind of virtual environment to USB device

Publications (1)

Publication Number Publication Date
CN107341039A true CN107341039A (en) 2017-11-10

Family

ID=60161865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610277997.4A Pending CN107341039A (en) 2016-04-28 2016-04-28 Method, main frame and the system being managed under a kind of virtual environment to USB device

Country Status (2)

Country Link
CN (1) CN107341039A (en)
WO (1) WO2017185954A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943560A (en) * 2017-11-27 2018-04-20 郑州云海信息技术有限公司 The hanging method and carry device of a kind of universal serial bus device
CN109284170A (en) * 2018-09-11 2019-01-29 山东观海数据技术有限公司 USB shared system and sharing method in a kind of local area network
CN110413376A (en) * 2019-07-12 2019-11-05 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of Virtual Machine Manager USB device
CN110928644A (en) * 2019-11-15 2020-03-27 北京浪潮数据技术有限公司 USB management method, device, equipment and medium based on cloud platform
CN111103989A (en) * 2020-01-09 2020-05-05 南京艾拓维讯信息技术有限公司 KVM system for supermarket collection and payment condition management and transparent transmission method
CN114896188A (en) * 2022-04-26 2022-08-12 深圳市科陆电子科技股份有限公司 Method and system for network sharing automatic adaptation of USB (universal serial bus) equipment
CN115391255A (en) * 2022-10-27 2022-11-25 北京恩威特科技有限公司 High-availability USB equipment sharing server
CN116955236A (en) * 2023-09-20 2023-10-27 元内核(北京)科技有限公司 USB device sharing method and system based on virtualization

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114489815A (en) * 2021-12-17 2022-05-13 航天信息股份有限公司 System and method for managing USB peripheral of tax self-service terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145886A1 (en) * 2009-12-14 2011-06-16 Mckenzie James Methods and systems for allocating a usb device to a trusted virtual machine or a non-trusted virtual machine
CN104317759A (en) * 2014-10-15 2015-01-28 国云科技股份有限公司 Method for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment
CN104657690A (en) * 2013-11-20 2015-05-27 中兴通讯股份有限公司 External equipment control method and device
US20160062940A1 (en) * 2014-08-27 2016-03-03 Vmware, Inc. Safely Sharing USB Devices During PCI Passthrough Operation
CN105488000A (en) * 2015-12-23 2016-04-13 广东数字证书认证中心有限公司 Method and system for achieving rapid accessing of USB devices

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110049418A (en) * 2009-11-05 2011-05-12 한국전자통신연구원 Remote usb system for supporting multiple virtual machines of multiple host and method thereof
CN101980165A (en) * 2010-11-04 2011-02-23 福建升腾资讯有限公司 Method for realizing soft-swap of universal serial bus (USB) equipment on virtual server
CN104991871A (en) * 2015-06-15 2015-10-21 湖南昇云科技有限公司 Method and system for redirecting cloud terminal USB

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110145886A1 (en) * 2009-12-14 2011-06-16 Mckenzie James Methods and systems for allocating a usb device to a trusted virtual machine or a non-trusted virtual machine
CN104657690A (en) * 2013-11-20 2015-05-27 中兴通讯股份有限公司 External equipment control method and device
US20160062940A1 (en) * 2014-08-27 2016-03-03 Vmware, Inc. Safely Sharing USB Devices During PCI Passthrough Operation
CN104317759A (en) * 2014-10-15 2015-01-28 国云科技股份有限公司 Method for supporting hot plugging of virtual machine USB (universal serial bus) storage equipment
CN105488000A (en) * 2015-12-23 2016-04-13 广东数字证书认证中心有限公司 Method and system for achieving rapid accessing of USB devices

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943560A (en) * 2017-11-27 2018-04-20 郑州云海信息技术有限公司 The hanging method and carry device of a kind of universal serial bus device
CN109284170A (en) * 2018-09-11 2019-01-29 山东观海数据技术有限公司 USB shared system and sharing method in a kind of local area network
CN109284170B (en) * 2018-09-11 2021-10-26 山东观海数据技术有限公司 USB sharing system and sharing method in local area network
CN110413376A (en) * 2019-07-12 2019-11-05 苏州浪潮智能科技有限公司 A kind of method, equipment and the storage medium of Virtual Machine Manager USB device
CN110928644A (en) * 2019-11-15 2020-03-27 北京浪潮数据技术有限公司 USB management method, device, equipment and medium based on cloud platform
CN111103989A (en) * 2020-01-09 2020-05-05 南京艾拓维讯信息技术有限公司 KVM system for supermarket collection and payment condition management and transparent transmission method
CN114896188A (en) * 2022-04-26 2022-08-12 深圳市科陆电子科技股份有限公司 Method and system for network sharing automatic adaptation of USB (universal serial bus) equipment
CN115391255A (en) * 2022-10-27 2022-11-25 北京恩威特科技有限公司 High-availability USB equipment sharing server
CN115391255B (en) * 2022-10-27 2023-01-31 北京恩威特科技有限公司 High-availability USB equipment sharing server
CN116955236A (en) * 2023-09-20 2023-10-27 元内核(北京)科技有限公司 USB device sharing method and system based on virtualization
CN116955236B (en) * 2023-09-20 2023-12-12 元内核(北京)科技有限公司 USB device sharing method and system based on virtualization

Also Published As

Publication number Publication date
WO2017185954A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
CN107341039A (en) Method, main frame and the system being managed under a kind of virtual environment to USB device
US6799213B1 (en) System and method for performing interactive server load testing through use of one or more virtual users being configured as a server client capable of transmitting one or more server test actions
CN102662701A (en) Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer
JPS59154521A (en) Reconstruction of system
CN107357718A (en) One kind structure method of testing and device
CN108427728A (en) Management method, equipment and the computer-readable medium of metadata
CN108459824A (en) A kind of data modification write method and device
CN106557308A (en) A kind of software continuous integrated approach and device
CN101093477B (en) Data process method for electronic form, and data process system for electronic form
CN103561089B (en) Virtual machine desktop log-in, Apparatus and system
CN107293330A (en) The method and simulation checking system of simulating, verifying are carried out to random access memory ram
CN108460160A (en) Inserting method, device, terminal and the storage medium of database instance
CN109766313A (en) Geological project data processing method, device and computer equipment
CN109086214A (en) A kind of database write performance test methods, device, terminal and storage medium
CN109241110A (en) Order management method and system, electronic equipment, storage medium
CN113836152A (en) High-efficiency data consistency checking method and device and storage medium
CN116166344A (en) Tax control equipment claim method, tax control equipment claim device and tax self-service terminal
CN103559074B (en) A kind of analogue communication plug-in unit and method of work thereof
CN110489273A (en) A kind of storage backup method, system, terminal and storage medium based on SAN
CN109905478A (en) A kind of instruction maintenance system method of data synchronization, device, controlled terminal and storage medium
JP3578038B2 (en) Communication simulator
CN107728944A (en) RAID management methods, device and computer-readable recording medium
CN106453923A (en) Data processing method and mobile terminal
CN115454339A (en) Data storage method, device and medium
CN113672482A (en) Log message transmission method, device, equipment and medium of terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20171110

RJ01 Rejection of invention patent application after publication