CN105207975A - Data transmission method and data transmission system for USB image equipment under VDI architecture - Google Patents
Data transmission method and data transmission system for USB image equipment under VDI architecture Download PDFInfo
- Publication number
- CN105207975A CN105207975A CN201410276685.2A CN201410276685A CN105207975A CN 105207975 A CN105207975 A CN 105207975A CN 201410276685 A CN201410276685 A CN 201410276685A CN 105207975 A CN105207975 A CN 105207975A
- Authority
- CN
- China
- Prior art keywords
- data
- usb
- client
- vision facilities
- data transmission
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data transmission method and a data transmission system for USB image equipment under a VDI architecture. On the basis of a USB equipment redirection architecture under the original VDI architecture, a data transmission server and a data transmission client are newly added. The data transmission server is responsible for decompressing received image data, parsing the image data after decompression, synthesizing multiple small data packets into image data, and other tasks. The data transmission client is responsible for parsing received data, merging collected data, compressing a merged data packet, sending the compressed packet to a USB port mapping client, and other tasks. By parsing, merging and compressing the image data acquired by the USB image equipment, the amount of data transmitted via a network is reduced greatly, and efficient transmission of USB image equipment data frames is realized.
Description
Technical field
The present invention relates to USB technology and field of network data transmission technology, be specifically related to a kind of USB vision facilities data transmission technology under VDI framework.
Background technology
Virtual desktop architecture (VDI, VirtualizationDesktopInfrastructure) be a kind of server computing architecture centered by virtual desktop, wherein virtual desktop example is the virtual machine run for host with remote server or blade server, user, by the virtual machine of remote display protocol (as RDP, ICA, PCoIP, SPICE agreement etc.) access trustship on far-end server, obtains the experience that same PC desktop is the same.
Under VDI framework, if have when using the needing of USB device, usually utilize USB redirecting technique to realize local USB port to the mapping of server virtual USB port and exchanges data, thus by realizing the normal use of generic USB equipment at server end in the input of server end analog machine.
As shown in Figure of description 1, the data acquisition of the next USB device of VDI framework generally includes:
1) user signs in desktop virtual server 101 by virtual desktop client 107 and opens the application 103(that USB device is correlated with after getting user's desktop of virtual machine 102 is exactly the explorer that Windows operating system carries as USB flash disk);
2) select the USB device 109 being redirected to server end, then the application 103 that USB device is correlated with can send data acquisition instruction to the USB device 109 be connected with client device 106;
3) USB device 109 be connected with client device sends the data to USB port mapping services end 104 by USB port mapping client 108, and then sends to the application 103 that USB device is relevant;
4) application 103 that USB device is correlated with processes (being exactly list the listed files preserved in USB flash disk as USB flash disk) the data received, and accordingly, user interface changes thereupon;
5) change of user interface is sent to virtual desktop client 107 by network and then shows in the display by virtual machine 102.
The data acquisition of the next USB device of above-mentioned VDI framework is for no problem generic USB equipment (USB flash disk, USB portable hard drive), but for USB vision facilities (USB scanner, USB camera etc.), obtain due to it and need the data volume of transmission often very large, exceed the load capacity of the network bandwidth, therefore the image frame per second that USB vision facilities can be caused to apply receive declines, particularly when low bandwidth, the application of USB vision facilities almost can not normally run.
For the problems referred to above, be generally that requirement user promotes the network bandwidth (as 100M rises to 1000M) USB vision facilities is normally worked at present.But, the lifting of network infrastructure is not stranghtforward, often be subject to the restriction of user profile technical plan and budget, therefore and not all user has the ability to realize in a short time the target promoting network infrastructure, letter needs other solutions to solve the problem of the USB vision facilities mass data transmission under VDI framework.
Summary of the invention
The invention discloses a kind of USB vision facilities data transmission method under VDI framework and system, the data transmission performance under low bandwidth can be improved while keeping pattern definition.
A USB vision facilities data transmission system under VDI framework, on the basis of the USB device data transmission architecture under original VDI framework, has increased data transport service end 204 and transfer of data client 210 newly.Wherein data transfer server end 204 is responsible for carrying out decompress(ion) to the view data received, view data after decompress(ion) is resolved and multiple standard parcel data are merged into the tasks such as a two field picture, transfer of data client 210 is responsible for resolving the data collected, merge the data collected, the packet after being combined carries out compressing and compressed package being issued the tasks such as USB port mapping client.
Under VDI framework, promote a method for USB vision facilities data transmission efficiency, as shown in Figure of description 2, comprise the steps:
Step 1: user signs in the virtual machine 202 being positioned at server 201 end by virtual desktop client 209, is redirected to the virtual machine 202 of server 201 end simultaneously by USB vision facilities 211;
Step 2: run the USB vision facilities application 203 for obtaining view data and send image data acquisition instruction to USB vision facilities 211;
Step 3:USB vision facilities 211 continues obtain view data and send to transfer of data client 210;
Step 4: transfer of data client 210 is resolved the data collected, and be a large packet by multiple little packet combining;
Step 5: the packet generated in transfer of data client 210 pairs of steps 4 performs squeeze operation and sends to data transport service end 204 via USB port mapping client 207 and USB port mapping services end 205;
Step 6: data transport service end 204 performs decompress(ion), parse operation be reduced into the small data packets form of standard to the packet that receives;
Step 7: the small data packets of reduction sends to USB vision facilities to apply 203 by data transport service end 204, then USB vision facilities application 203 obtains a frame or the complete image of multiframe, causes this application interface to change;
Step 8: the user interface after change is sent to virtual desktop client 209 and shows by virtual machine 202.
USB vision facilities data transmission system under above-mentioned VDI framework is unified method, the data transmission procedure of USB vision facilities is optimized, by realizing the work such as full picture identification, picture packing in client, server end realizes picture and unpacks the work being reduced to original image frame, to reach, bandwidth is fallen, or fall the operation of frame per second according to bandwidth, thus realize the result of the data efficient transmission of USB vision facilities.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or existing technical scheme, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
USB device data acquisition schematic diagram under the virtual architecture of Fig. 1.
USB vision facilities data acquisition schematic diagram through optimizing under the virtual architecture of Fig. 2.
Embodiment
Be clearly and completely described the technical scheme in the embodiment of the present invention below in conjunction with the accompanying drawing in the embodiment of the present invention, obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, other embodiments that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belong to the scope of protection of the invention.
Implementation step one: first set up initial desktop virtual Technical Architecture running environment, comprise following content:
1) prepare more than two physical servers, more than two cloud terminals, desktop virtual management software, USB vision facilities and USB vision facilities data transmission softwares, guarantee that network between physical server and cloud terminal connects normal and USB graphics device and connects normal;
2) desktop virtual management software is installed on physical server, guarantees that cloud terminal can normally be connected to virtualized server and get virtual desktop;
3) service end and the client of USB vision facilities data transmission software are installed respectively on server end virtual machine and client device, after each virtual machine and client terminal start-up are set, all automatically run this data transmission software simultaneously.
Implementation step two: cloud terminal obtains virtual desktop to local display, comprises following content:
1) virtual desktop client 209 is run from cloud terminal 208;
2) from virtual desktop server list, required virtual desktop server title or IP address is selected;
3) the virtual machine list that virtual desktop server 201 obtains user's trustship is connected to;
4) select one of them virtual machine 202, then graphical interfaces is sent to cloud terminal 208 and shows by this virtual machine 202 of startup by virtual desktop server 201.
Implementation step three: continue to carry out image acquisition, data merging, data compression and transmit operation in client, then carry out the operation receiving data, data decompression, two field picture reduction and the graphical interfaces of the virtual desktop after change is dealt into client display at server end, specifically comprise following content:
1) run USB vision facilities application 203, send data acquisition instruction to USB vision facilities 211, then USB vision facilities 211 starts to obtain view data and issues transfer of data client 210;
2) transfer of data client 210 is resolved the view data received and carry out buffer memory in units of bag;
3) when all packets of a two field picture obtain successfully, all packets are done packing operation by transfer of data client 210;
4) packet carries out compressing and issues USB port mapping client 207 by packet client 210;
5) USB port mapping client 207 by compression after Packet Generation to USB port mapping services end 205;
6) USB port mapping services end 205 by compression after Packet Generation to data transport service end 204;
7) data transport service end 204 performs decompression operations to the Image Data Compression bag received;
8) frame image data carries out reducing and resolving to piece image by transfer of data client 204 in units of bag;
9) view data sends to USB vision facilities application 203 to cause its interface to change by transfer of data client 204;
10) change that 203 interfaces applied by USB vision facilities by virtual machine 202 is sent to virtual desktop client 209 and shows.
A kind of USB vision facilities data transmission method under VDI framework realized by above-described embodiment and system, owing to being optimized the data transmission procedure of USB vision facilities, by realizing the work such as full picture identification, picture packing in client, server end realizes picture and unpacks the work being reduced to original image frame, to reach, bandwidth is fallen, or fall the operation of frame per second according to bandwidth, thus realize the data efficient transmission of USB vision facilities.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD.
Above to the embodiment of the present invention provide a kind of under VDI framework, promote USB vision facilities handling property method and device be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Simultaneously for one of ordinary skill in the art, according to thought of the present invention, all can change in specific embodiments and applications and point out, in sum, this description should not be construed as limitation of the present invention.
Claims (7)
1. the USB vision facilities data transmission system under VDI framework, is characterized in that, under former VDI framework USB device redirecting structure basis on, increased data transport service end and transfer of data client component newly.
2. the USB vision facilities data transmission method under VDI framework, is characterized in that, comprise the steps:
Step 1: user signs in the virtual machine being positioned at server end by virtual desktop client;
Step 2: run the USB vision facilities application for obtaining view data and send image data acquisition instruction to USB vision facilities;
Step 3:USB vision facilities continues obtain view data and send to transfer of data client;
Step 4: transfer of data client is resolved the data collected, and be a large packet by multiple little packet combining;
Step 5: transfer of data client performs squeeze operation to the large packet generated in step 4 and sends to data transport service end via USB port mapping client and USB port mapping services end;
Step 6: data transport service end performs decompress(ion), parse operation be reduced into the small data packets form of standard to the packet that receives;
Step 7: the small data packets of reduction sends to USB vision facilities to apply by data transport service end, then the application of USB vision facilities obtains a frame or the complete image of multiframe, causes this application interface to change;
Step 8: the user interface after change is sent to virtual desktop client and shows by virtual machine.
3. data transport service end as claimed in claim 1, it is characterized in that, primary responsibility receives the view data obtained from USB vision facilities, carries out decompress(ion) to the data received, and resolves and be the tasks such as view data by the parcel Data Synthesis parsed to the data after decompress(ion).
4. transfer of data client as claimed in claim 1, it is characterized in that, primary responsibility is resolved the parcel data from USB vision facilities, the small data packets belonging to same frame is merged into a larger packet, larger packet is carried out compress and the packet after compression is issued the tasks such as USB vision facilities application.
5. data transport service end as claimed in claim 1, be further characterized in that, this data transport service end is one section of core resident code, and need implementation phase each virtual machine activation is set after all automatically run this data transport service end.
6. transfer of data client as claimed in claim 1, be further characterized in that, this transfer of data client is one section of core resident code, and need implementation phase arrange after each virtual desktop client starts and all automatically run this transfer of data client.
7. the USB vision facilities data transmission method under VDI framework as claimed in claim 2, it is characterized in that, first client device wants access of virtual desktop technology framework, and is got the virtual desktop of user by virtual desktop client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410276685.2A CN105207975A (en) | 2014-06-20 | 2014-06-20 | Data transmission method and data transmission system for USB image equipment under VDI architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410276685.2A CN105207975A (en) | 2014-06-20 | 2014-06-20 | Data transmission method and data transmission system for USB image equipment under VDI architecture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105207975A true CN105207975A (en) | 2015-12-30 |
Family
ID=54955413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410276685.2A Pending CN105207975A (en) | 2014-06-20 | 2014-06-20 | Data transmission method and data transmission system for USB image equipment under VDI architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105207975A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295036A (en) * | 2016-03-31 | 2017-10-24 | 华为技术有限公司 | A kind of data transmission method for uplink and data merge equipment |
CN107404536A (en) * | 2017-08-09 | 2017-11-28 | 鹤云来科技有限公司 | A kind of client flower screen method and system prevented based on OpenStack and Spice |
CN107404458A (en) * | 2016-05-19 | 2017-11-28 | 深圳市深信服电子科技有限公司 | A kind of image acquiring method, server device and client device |
CN107888594A (en) * | 2017-11-15 | 2018-04-06 | 北京易讯通信息技术股份有限公司 | A kind of high-definition image collecting device reorientation method in virtual desktop environment |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
CN109246435A (en) * | 2017-07-10 | 2019-01-18 | 中兴通讯股份有限公司 | A kind of USB device redirects data transmission method, data transmission device, local device and remote server |
CN109587566A (en) * | 2018-12-12 | 2019-04-05 | 四川九州电子科技股份有限公司 | The realization system and implementation method of cloud desktop terminal based on top box of digital machine |
CN111949344A (en) * | 2019-05-14 | 2020-11-17 | 华为技术有限公司 | Method for virtual machine to remotely access data of USB peripheral |
CN117555829A (en) * | 2024-01-12 | 2024-02-13 | 中诚华隆计算机技术有限公司 | USB redirection system and method for realizing network sharing of USB equipment |
-
2014
- 2014-06-20 CN CN201410276685.2A patent/CN105207975A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295036A (en) * | 2016-03-31 | 2017-10-24 | 华为技术有限公司 | A kind of data transmission method for uplink and data merge equipment |
CN107295036B (en) * | 2016-03-31 | 2021-02-23 | 华为技术有限公司 | Data sending method and data merging equipment |
CN107404458A (en) * | 2016-05-19 | 2017-11-28 | 深圳市深信服电子科技有限公司 | A kind of image acquiring method, server device and client device |
CN107404458B (en) * | 2016-05-19 | 2020-08-04 | 深信服科技股份有限公司 | Image acquisition method, server-side equipment and client-side equipment |
CN109246435A (en) * | 2017-07-10 | 2019-01-18 | 中兴通讯股份有限公司 | A kind of USB device redirects data transmission method, data transmission device, local device and remote server |
CN109246435B (en) * | 2017-07-10 | 2022-03-15 | 中兴通讯股份有限公司 | Method and device for transmitting redirected data of USB (universal serial bus) equipment, local device and remote server |
CN107404536A (en) * | 2017-08-09 | 2017-11-28 | 鹤云来科技有限公司 | A kind of client flower screen method and system prevented based on OpenStack and Spice |
CN107404536B (en) * | 2017-08-09 | 2020-03-17 | 鹤云来科技有限公司 | Method and system for preventing screen splash of client based on OpenStack and Spice |
CN107888594A (en) * | 2017-11-15 | 2018-04-06 | 北京易讯通信息技术股份有限公司 | A kind of high-definition image collecting device reorientation method in virtual desktop environment |
CN109040786B (en) * | 2018-09-03 | 2022-01-11 | 锐捷网络股份有限公司 | Camera data transmission method, device and system and storage medium |
CN109040786A (en) * | 2018-09-03 | 2018-12-18 | 锐捷网络股份有限公司 | Transmission method, device, system and the storage medium of camera data |
CN109587566A (en) * | 2018-12-12 | 2019-04-05 | 四川九州电子科技股份有限公司 | The realization system and implementation method of cloud desktop terminal based on top box of digital machine |
CN111949344A (en) * | 2019-05-14 | 2020-11-17 | 华为技术有限公司 | Method for virtual machine to remotely access data of USB peripheral |
CN117555829A (en) * | 2024-01-12 | 2024-02-13 | 中诚华隆计算机技术有限公司 | USB redirection system and method for realizing network sharing of USB equipment |
CN117555829B (en) * | 2024-01-12 | 2024-03-22 | 中诚华隆计算机技术有限公司 | USB redirection system and method for realizing network sharing of USB equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105207975A (en) | Data transmission method and data transmission system for USB image equipment under VDI architecture | |
CN102413150B (en) | Server and virtual desktop control method and virtual desktop control system | |
KR101773638B1 (en) | Methods for interfacing with a virtualized computing service over a network using a lightweight client | |
US9128893B2 (en) | Remote direct memory access socket aggregation | |
RU2745343C1 (en) | Cloud desktop system and method of coding with compression of image sequences, and corresponding data storage | |
CN110659246B (en) | Container-based file mounting method and device and electronic equipment | |
CN109040786B (en) | Camera data transmission method, device and system and storage medium | |
EP2954401B1 (en) | Transmitting hardware-rendered graphical data | |
CN108234659B (en) | Data processing method, device and system | |
CN104199723A (en) | Camera mapping method based on virtual equipment | |
CN104219298A (en) | Cluster system and data backup method thereof | |
CN104123244A (en) | USB redirection system and method | |
CN114697391A (en) | Data processing method, device, equipment and storage medium | |
US10552240B2 (en) | Automatically generating efficient remote procedure call (RPC) code for heterogeneous systems | |
CN104639501A (en) | Data stream transmission method, equipment and system | |
CN108289165B (en) | Method and device for realizing camera control based on mobile phone and terminal equipment | |
TW201436533A (en) | System and method of transmitting data stream | |
WO2016095377A1 (en) | Image display method and device for thin client and electronic equipment | |
CN113839964B (en) | Communication method for gateway device and gateway device | |
CN104821939A (en) | Method for realizing asynchronous communication between computer and mobile equipment, and device thereof | |
KR101635273B1 (en) | Apparatus for processing data based on virtual desktop and method for the same | |
CN103209178A (en) | Method for operating simple protocol independent computing environment (SPICE) protocol on Cloud Stack platform in compatible way | |
CN111190675A (en) | Three-dimensional image transmission method and equipment based on Roc processor | |
US20140330798A1 (en) | VDI File Transfer Method and Apparatus | |
CN105531678A (en) | Method and apparatus for synchronizing data of virtual machines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151230 |
|
WD01 | Invention patent application deemed withdrawn after publication |