CN103503381B - The method of data transmission of device redirection, Apparatus and system - Google Patents

The method of data transmission of device redirection, Apparatus and system Download PDF

Info

Publication number
CN103503381B
CN103503381B CN201180002856.7A CN201180002856A CN103503381B CN 103503381 B CN103503381 B CN 103503381B CN 201180002856 A CN201180002856 A CN 201180002856A CN 103503381 B CN103503381 B CN 103503381B
Authority
CN
China
Prior art keywords
compression
external equipment
service end
client
device type
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.)
Active
Application number
CN201180002856.7A
Other languages
Chinese (zh)
Other versions
CN103503381A (en
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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103503381A publication Critical patent/CN103503381A/en
Application granted granted Critical
Publication of CN103503381B publication Critical patent/CN103503381B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Abstract

The invention discloses the method for the data of a kind of device redirection transmission, Apparatus and system, relate to remote control field, reduce the network bandwidth that device redirection takies, save Internet resources。The present invention includes: when having detected that external equipment accesses, and client obtains the device type of described external equipment;Client obtains the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;The first data message obtained from described external equipment is compressed by client according to compression algorithm, generates the first compressed data information, and described first compressed data information is sent to described service end。Present invention is mainly used in the process of the data of device redirection transmission。

Description

The method of data transmission of device redirection, Apparatus and system
Technical field
The present invention relates to remote control field, particularly relate to a kind of method of data transmission of device redirection, Apparatus and system。
Background technology
Remote desktop technology is a kind of popular technique of current enterprise working environment, under this technical support, user can use specific telnet system to be logged on remote server computer by IP network on client computers, and normally uses remote server computer。When after user on client computers insertion equipment, user can also normally use this equipment to be accomplished by being realized by device redirection at remote service end computer, a kind of common scene is USB (USB (universal serial bus), UniversalSerialBus) device redirection。The implementation that USB device redirects is: client computer and be respectively provided with USB device module on remote server computer, is mutually transmitted by the described USB device module data by write USB device or the data that read from USB device。
State in the process that USB device redirects in realization, inventor have found that in prior art, at least there are the following problems: at present, high Qinghua along with equipment such as USB video, voices, the network bandwidth needed during transmission USB device data is also more and more higher, when the multiple USB device of user operation, need to transmit substantial amounts of data, occupy the significantly high network bandwidth。
Summary of the invention
Embodiments of the invention provide a kind of method of data transmission of device redirection, Apparatus and system, reduce the network bandwidth that device redirection takies, save Internet resources。
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
A kind of method of the data transmission of device redirection, including:
When having detected that external equipment accesses, client obtains the device type of described external equipment;
Client obtains the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;
The first data message obtained from described external equipment is compressed by client according to compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed。
A kind of client device, including:
Acquisition module, for when having detected that external equipment accesses, obtaining the device type of described external equipment;
Obtain sending module, for obtaining the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;
Compression module, for the first data message obtained from described external equipment being compressed according to compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed。
A kind of system of the data transmission of device redirection, including:
Described client, for when having detected that external equipment accesses, obtaining the device type of described external equipment;Obtain the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;According to compression algorithm, the first data message obtained from described external equipment is compressed, generates the first compressed data information, and described first compressed data information is sent to described service end;
Described service end, for obtaining, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed, obtain the first data message。
The method of the data transmission of the device redirection that the embodiment of the present invention provides, Apparatus and system, by when client is with service end transmission data, type at the external equipment that client identification accesses, thus determine suitable compression and decompression algorithm according to device type, data message is at one end compressed, generate compression data and be transferred to the other end, then at other end receiving compressed data, and data decompression will be compressed, generate described data message to use, decrease the data traffic between service end and client, reduce transmission bandwidth, save Internet resources。
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described 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 premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the method flow diagram of the data transmission of a kind of device redirection in the embodiment of the present invention 1;
Fig. 2 is the composition frame chart of the system of a kind of device redirection in the embodiment of the present invention 1;
Fig. 3 is the method flow diagram of the data transmission of the another kind of device redirection in the embodiment of the present invention 1;
Fig. 4 is the method flow diagram of the data transmission of a kind of device redirection in the embodiment of the present invention 2;
Fig. 5 is the composition frame chart of a kind of client device in the embodiment of the present invention 3;
Fig. 6 is the composition frame chart of the another kind of client device in the embodiment of the present invention 3;
Fig. 7 is the composition frame chart of the system of the data transmission of the device redirection in the embodiment of the present invention in 3。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments。Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention。
Embodiment 1
The method providing the data transmission of a kind of device redirection in the embodiment of the present invention, as it is shown in figure 1, the method is the method for client-side, particularly as follows:
101, when having detected that external equipment accesses, client obtains the device type of described external equipment。
Wherein, described external equipment can include being connected to the USB storage of client, USB camera by USB interface, be connected to other external equipments etc. of client by interfaces such as fire-wire interfaces, thunder and lightning (thunderbolt) interfaces, this is not limited by the embodiment of the present invention。
Wherein, described device type can be audio-video equipment, memorizer etc., and this is not limited by the embodiment of the present invention。
Wherein, when having detected that external equipment accesses, the device type obtaining described external equipment can be accomplished by, particularly as follows: when having detected that external equipment accesses, obtaining the facility information of described external equipment, described facility information includes the device type code of described external equipment;The type of described external equipment is determined according to described device type code。
Wherein, described facility information can but be not limited to include device type code, device name etc.。
102, client obtains the compression algorithm corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end。
Wherein, the described compression algorithm pre-set and decompression algorithm can but be not limited to include: H.264, MPEG (MovingPicturesExpertsGroup/MotinPicturesExpertsGroup, dynamic image expert group), Lossy Compression Algorithm or the lossless compression algorithm such as Shanno-Fano coding, Huffman coding, arithmetic coding, Run-Length Coding, LZW coding such as OggTheora, user can add other compression algorithms as required voluntarily。
Wherein, described identification information can be compression and the serial number of decompression algorithm setting for the title of compression and decompression algorithm or client, and this is not limited by the embodiment of the present invention。
It should be noted that the functional entity realizing step 102 can be independent equipment, it is also possible to being integrated on other hardware devices and realize, the embodiment of the present invention does not limit, and user can be arranged as required voluntarily。
103, the first data message obtained from described external equipment is compressed by client according to described compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed。
It should be noted that realize the first data message is compressed, generate the functional entity of the first compressed data information, it is possible to be independent equipment, it is also possible to being integrated on other hardware and realize, the present invention does not limit, and user can be arranged as required voluntarily。
Above-mentioned steps can realize in system architecture as shown in Figure 2。Described system architecture includes service end, client and external equipment;Wherein, service end includes photographic head application software, service end USB device module (service end USB device submodule includes USB device and drives and the driving of virtual master control device), data compressing module, data decompression module, remote desktop protocol stack;Client includes client USB device module (client USB device module includes virtual USB device driving, master controller driving, USB core driving, device type identification module, compression algorithm and decompression algorithm and selects module), data compressing module, data decompression module, remote desktop protocol stack。If external equipment is USB camera, then the data instance that the embodiment of the present invention reads USB camera with service end by client describes above-mentioned steps, as it is shown on figure 3, specifically comprise the following steps that
Step 301: master controller drives and detected that USB device accesses。
Step 302: master controller drives and the USB device information got is sent to USB core driving。
Step 303USB core drives and obtains, according to described USB device information, the USB device type codes that described USB device is corresponding, and USB device type codes is sent to device type identification module。
Step 304: by described USB device type codes, device type identification module determines that the device type of access is USB camera。
Wherein, it should be noted that, the device type being accessed all external equipments of client by USB interface, fire-wire interfaces and thunder and lightning interface all has the device type code of correspondence, described device type identification module just can be directly obtained the external equipment type of correspondence according to described device type code, the technology that concrete implementation process is known to the skilled person, this is no longer described in detail by the embodiment of the present invention。
Step 305: device type is sent to compression algorithm by device type identification module and decompression algorithm selects module。
Step 306: compression and decompression algorithm select module to obtain most suitable compression and decompression algorithm when receiving device type, and the identification information of described device type and compression and decompression algorithm is sent to server end。
Wherein, compression and decompression algorithm select module to select most suitable compression and decompression algorithm to be accomplished by when receiving device type, such as, when device type is USB camera, select H.264 Lossy Compression Algorithm, to realize when not affecting the display of USB camera video information, USB camera video information is made to be transmitted with minimum bandwidth。Other device type is also correspondingly arranged on compression and decompression algorithm, and concrete set-up mode can be configured according to actual needs, and this is not limited by the embodiment of the present invention。
Wherein, the described identification information by described device type and compression and decompression algorithm is sent to server end and can be realized by RDP, specifically include: client encapsulates the identification information of described compression and decompression algorithm and described device type by RDP, the information after encapsulation is sent to service end by RDP。
Step 307: after receiving the device type of client transmission and the identification information of compression and decompression algorithm, according to the device type that described client sends, server end detects that client has USB camera to access, and corresponding compression and decompression algorithm is searched in the compression sent according to described client with the identification information of decompression algorithm。
Step 308: use photographic head application software in service end, sends reading video data order, drives to USB device。
Reading order is sent to virtual master control device and drives by step 309:USB device drives。
Step 310: virtual master control device drives the remote desktop protocol stack that reading order is sent to service end。
Step 311: reading order is sent to the remote desktop protocol stack of client by remote desktop protocol stack。
Step 312: reading order is sent to virtual USB device and drives by the remote desktop protocol stack of client。
Step 313: virtual USB device drives and reading order is sent to master controller driving。
Step 314: master controller drives and reading order is sent to USB camera。
After step 315:USB photographic head receives reading order, produce video data, return data to master controller and drive。
Step 316: master controller drives and returns data to virtual USB device driving。
Step 317: virtual USB device drives the data compressing module transmitting data to client。
Step 318: client data compression module uses the fixed compression algorithm corresponding to described USB camera video information transmission, and data are compressed。
Step 319: the data after compression are returned to virtual USB device and drive by client data compression module。
Step 320: virtual USB device drives the data after by compression to return to the remote desktop protocol stack of client。
Step 321: the data after compression are returned to the remote desktop protocol stack of service end by the remote desktop protocol stack of client。
Wherein, the remote desktop protocol stack that the data after compression return to service end can be accomplished by by the remote desktop protocol stack of described client, including:
The remote desktop protocol stack of described client encapsulates the data after described compression according to RDP, and the data after the described compression after encapsulation are sent to the remote desktop protocol stack of described server end;The data after described compression after the remote desktop protocol stack decapsulation encapsulation of described server end。
Step 322: the data after compression are returned to virtual master control device and drive by the remote desktop protocol stack of service end。
Step 323: virtual master control device drives the data after by compression to be sent to the data decompression module of service end,
Step 324: service end data decompression module uses the decompression algorithm corresponding to described USB camera video information transmission, data are decompressed, compression that the described decompression algorithm corresponding to described USB camera video information transmission is server end to be sent according to described client and the corresponding decompression algorithm that the identification information of decompression algorithm finds。
Step 325: the data after decompression are returned to virtual master control device and drive by service end data decompression module。
Step 326: virtual master control device drives the data after by decompression to return to USB device and drives。
Data after decompression are returned to photographic head application software by step 327:USB device drives, and at this moment, user can check video produced by USB camera。
The method of the device redirection that the embodiment of the present invention provides, by when client is with service end transmission data, type at the external equipment that client identification accesses, thus determine suitable compression and decompression algorithm according to device type, data message is at one end compressed, generate compression data and be transferred to the other end, then at other end receiving compressed data, and data decompression will be compressed, generate described data message to use, decrease the data traffic between service end and client, reduce transmission bandwidth, save Internet resources。
Embodiment 2
The method embodiments providing the data transmission of a kind of device redirection, it is applied in system architecture as shown in Figure 2, if external equipment is USB storage, then the embodiment of the present invention is specifically described to USB storage write data for service end by client, as shown in Figure 4, step is as follows:
Step 401: driven by client master controller and detected that USB device accesses。
Step 402: master controller drives and the USB device information got is sent to USB core driving。
Step 403:USB core drives and obtains, according to described USB device information, the USB device type codes that described USB device is corresponding, and USB device type codes is sent to device type identification module。
Step 404: by described USB device type codes, device type identification module determines that the device type of access is USB storage。
Wherein, described device type identification module determines that by described USB device type codes the implementation of the device type of access is identical with the relevant description in described step 304, and this is repeated no more by the embodiment of the present invention。
Step 405: device type is sent to compression algorithm by device type identification module and decompression algorithm selects module。
Step 406: compression and decompression algorithm select module to obtain most suitable compression algorithm and decompression algorithm when receiving device type, and the identification information of described device type and compression and decompression algorithm is sent to server end。
Wherein, described compression selects module to select most suitable compression identical with the relevant description in described step 306 with the implementation of decompression algorithm when receiving device type with decompression algorithm, and this is repeated no more by the embodiment of the present invention。
Step 407: after receiving the device type of client transmission and the identification information of compression and decompression algorithm, according to the device type that described client sends, server end detects that client has USB storage to access, and corresponding compression and decompression algorithm is searched in the compression sent according to described client with the identification information of decompression algorithm。
Step 408: service end to USB storage write data by application program, is first transmitted data to USB device and drives。
Step 409:USB device drives transmits data to virtual master control device and drives。
Step 410: virtual master control device drives and transmits data to data compressing module。
Step 411: service end data compressing module uses the compression algorithm corresponding to described USB storage data, data are compressed, compression that the described compression algorithm corresponding to described USB storage data is server end to be sent according to described client and the corresponding compression algorithm that the identification information of decompression algorithm finds。
Data after compression are sent back virtual master control device and drive by step 412: after service end data compressing module compressing data is good。
Step 413: virtual master control device drives and data after compression are sent to remote desktop protocol stack。
Step 414: the data after compression are sent to the remote desktop protocol stack of client by the remote desktop protocol stack of server end。
Step 415: the data after compression are sent to virtual USB device and drive by the remote desktop protocol stack of client。
Step 416: virtual USB device drives the data after by compression to be sent to the data decompression module of client。
Step 417: client data decompression module uses the fixed decompression algorithm corresponding to described USB storage data, and data are decompressed。
Step 418: the data after decompression are sent back virtual USB device and drive by client data decompression module。
Step 419: virtual USB device drives the data after by decompression to be sent to master controller and drives。
Step 420: master controller drives the data write USB storage after by decompression。
The data transmission method of the device redirection that the embodiment of the present invention provides, by when client is with service end transmission data, type at the external equipment that client identification accesses, thus determine suitable compression and decompression algorithm according to device type, data message is at one end compressed, generate compression data and be transferred to the other end, then at other end receiving compressed data, and data decompression will be compressed, generate described data message to use, decrease the data traffic between service end and client, reduce transmission bandwidth, save Internet resources。
Embodiment 3
Embodiments provide a kind of client device, as it is shown in figure 5, this client device includes: acquisition module 41, acquisition sending module 42, compression module 43。
Acquisition module 41, for when having detected that external equipment accesses, obtaining the device type of described external equipment。
Wherein, described acquisition module is specifically for when having detected that external equipment accesses, obtaining the facility information of described external equipment, and described facility information includes the device type code of described external equipment;The type of described external equipment is determined according to described device type code。
Obtain sending module 42, for obtaining the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end。
Compression module 43, for the first data message obtained from described external equipment being compressed according to compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed。
Wherein, described compression module also includes remote desktop protocol stack, information after encapsulation, for being encapsulated the identification information of described compression and decompression algorithm and described device type by RDP, is sent to service end by RDP by described remote desktop protocol stack。
Further, as shown in Figure 6, this device also includes: decompression module 44。
Decompression module 44, for when described external equipment type is USB storage device, according to compression algorithm to needing to write the second compressed data information of the second data message compression generation of described external equipment, obtain the second data message and write described USB storage device。
Embodiments provide the system of the data transmission of a kind of device redirection, as it is shown in fig. 7, this system includes: client 51, service end 52。
Client 51, for when having detected that external equipment accesses, obtaining the device type of described external equipment;Obtain the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end 52;According to compression algorithm, the first data message obtained from described external equipment is compressed, generates the first compressed data information, and described first compressed data information is sent to described service end 52。
Service end 52, for obtaining, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed, obtain the first data message。
The Apparatus and system of the data transmission of the device redirection that the embodiment of the present invention provides, by when client is with service end transmission data, type at the external equipment that client identification accesses, thus determine suitable compression and decompression algorithm according to device type, data message is at one end compressed, generate compression data and be transferred to the other end, then at other end receiving compressed data, and data decompression will be compressed, generate described data message to use, decrease the data traffic between service end and client, reduce transmission bandwidth, save Internet resources。
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required common hardware by software to the present invention and realize, naturally it is also possible to by hardware, but in a lot of situation, the former is embodiment more preferably。Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in the storage medium that can read, floppy disk such as computer, hard disk or CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs the method described in each embodiment of the present invention。
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should be encompassed within protection scope of the present invention。Therefore, protection scope of the present invention should be as the criterion with described scope of the claims。

Claims (8)

1. the data transmission method of a device redirection, it is characterised in that including:
When having detected that external equipment accesses, client obtains the device type of described external equipment;
Client obtains the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;
The first data message obtained from described external equipment is compressed by client according to compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed;
Wherein, after the identification information of described compression and decompression algorithm and described device type are sent to service end, also include:
Service end receives the device type of the external equipment that client sends and the identification information of compression and decompression algorithm, and obtains corresponding compression algorithm according to described compression with the identification information of decompression algorithm;
When described external equipment type is USB storage device, service end according to compression algorithm to needing the second data message writing described external equipment to be compressed, generate the second compressed data information, and described second compressed data information is sent to described client, so that the second compressed data information received is decompressed by described client according to decompression algorithm, it is thus achieved that the second data message is also written in described USB storage device。
2. the method for the data transmission of device redirection according to claim 1, it is characterised in that described when having detected that external equipment accesses, the device type obtaining described external equipment includes:
When having detected that external equipment accesses, obtaining the facility information of described external equipment, described facility information includes the device type code of described external equipment;
The type of described external equipment is determined according to described device type code。
3. the method for the data transmission of device redirection according to claim 1, it is characterised in that the described identification information by described compression and decompression algorithm and described device type are sent to service end and include:
Client encapsulates the identification information of described compression and decompression algorithm and described device type by RDP, and by RDP, the information after encapsulation is sent to service end。
4. the method for the data transmission of device redirection according to claim 1, it is characterised in that described described first compressed data information is sent to described service end includes:
If described external equipment is general-purpose serial bus USB equipment, then the first compressed data information is sent to the virtual USB device driving of client by the data compressing module of client;
Described virtual USB device drives the remote desktop protocol stack that described first compressed data information is sent to client;
The remote desktop protocol stack of described client encapsulates described first compressed data information according to RDP, and the first compressed data information after encapsulation is sent to the remote desktop protocol stack of described service end;
The remote desktop protocol stack of described service end decapsulates the first compressed data information after described encapsulation, described first compressed data information is driven by the virtual master control device of service end and is sent to data decompression module。
5. a client device, it is characterised in that including:
Acquisition module, for when having detected that external equipment accesses, obtaining the device type of described external equipment;
Obtain sending module, for obtaining the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;
Compression module, for the first data message obtained from described external equipment being compressed according to compression algorithm, generate the first compressed data information, and described first compressed data information is sent to described service end, make described service end obtain, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed;
Also include:
Decompression module, for when described external equipment type is USB storage device, according to decompression algorithm, the second compressed data information received is decompressed, obtain the second data message and be written in described USB storage device, wherein, second compressed data information is that described service end obtains after corresponding compression algorithm according to described compression with the identification information of decompression algorithm, according to compression algorithm to needing the second data message writing described external equipment to be compressed, generate the second compressed data information, and be sent to described client。
6. client device according to claim 5, it is characterised in that
Described acquisition module is specifically for when having detected that external equipment accesses, obtaining the facility information of described external equipment, and described facility information includes the device type code of described external equipment;The type of described external equipment is determined according to described device type code。
7. client device according to claim 5, it is characterised in that described compression module also includes:
Remote desktop protocol stack, for being encapsulated the identification information of described compression and decompression algorithm and described device type by RDP, is sent to service end by the information after encapsulation by RDP。
8. the system of the data transmission of a device redirection, it is characterised in that include client and service end,
Described client, for when having detected that external equipment accesses, obtaining the device type of described external equipment;Obtain the compression corresponding with described external equipment and decompression algorithm according to described device type, and identification information and the described device type of described compression and decompression algorithm are sent to service end;According to compression algorithm, the first data message obtained from described external equipment is compressed, generates the first compressed data information, and described first compressed data information is sent to described service end;
Described service end, for obtaining, with the identification information of decompression algorithm and described device type, the decompression algorithm that described identification information is corresponding according to the described compression received, and according to described decompression algorithm, described first compressed data information is decompressed, obtain the first data message;
Wherein, after the identification information of described compression and decompression algorithm and described device type are sent to service end, described service end is additionally operable to receive the identification information of the device type of the external equipment that client sends and compression and decompression algorithm, and obtains corresponding compression algorithm according to described compression with the identification information of decompression algorithm;When described external equipment type is USB storage device, service end according to compression algorithm to needing the second data message writing described external equipment to be compressed, generate the second compressed data information, and described second compressed data information is sent to described client, so that the second compressed data information received is decompressed by described client according to decompression algorithm, it is thus achieved that the second data message is also written in described USB storage device。
CN201180002856.7A 2011-11-21 2011-11-21 The method of data transmission of device redirection, Apparatus and system Active CN103503381B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/082557 WO2012163059A1 (en) 2011-11-21 2011-11-21 Method, device and system for device redirection data transmission

Publications (2)

Publication Number Publication Date
CN103503381A CN103503381A (en) 2014-01-08
CN103503381B true CN103503381B (en) 2016-06-22

Family

ID=47258338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201180002856.7A Active CN103503381B (en) 2011-11-21 2011-11-21 The method of data transmission of device redirection, Apparatus and system

Country Status (2)

Country Link
CN (1) CN103503381B (en)
WO (1) WO2012163059A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103914525B (en) * 2014-03-25 2017-02-08 深圳市深信服电子科技有限公司 FAT32-formatted data reading method and system for use after USB equipment redirection
CN109783014B (en) * 2016-02-03 2022-04-05 华为技术有限公司 Data storage method and device
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
CN110555120B (en) * 2019-08-14 2023-09-08 项宇 Picture compression control method, device, computer equipment and storage medium
CN117555829B (en) * 2024-01-12 2024-03-22 中诚华隆计算机技术有限公司 USB redirection system and method for realizing network sharing of USB equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332337C (en) * 2000-08-28 2007-08-15 捷讯研究有限公司 System and method for pushing calendar event messages from a host system to a mobile data communication device
CN101035039A (en) * 2007-04-20 2007-09-12 福建升腾资讯有限公司 USB mapping method
CN101253489A (en) * 2005-09-09 2008-08-27 微软公司 Plug and play device redirection for remote systems
CN101373436A (en) * 2008-09-05 2009-02-25 四川登巅微电子有限公司 Method for automatically compressing and de-compressing data on U disk

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100568966C (en) * 2006-01-24 2009-12-09 成都索贝数码科技股份有限公司 A kind of network transfer method of audio/video data
US8010630B2 (en) * 2007-12-06 2011-08-30 Wyse Technology Inc. Local device redirection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332337C (en) * 2000-08-28 2007-08-15 捷讯研究有限公司 System and method for pushing calendar event messages from a host system to a mobile data communication device
CN101253489A (en) * 2005-09-09 2008-08-27 微软公司 Plug and play device redirection for remote systems
CN101035039A (en) * 2007-04-20 2007-09-12 福建升腾资讯有限公司 USB mapping method
CN101373436A (en) * 2008-09-05 2009-02-25 四川登巅微电子有限公司 Method for automatically compressing and de-compressing data on U disk

Also Published As

Publication number Publication date
WO2012163059A1 (en) 2012-12-06
CN103503381A (en) 2014-01-08

Similar Documents

Publication Publication Date Title
US10542301B2 (en) Multimedia redirection method, device, and system
CN108989885B (en) Video file transcoding system, segmentation method, transcoding method and device
CN102413150B (en) Server and virtual desktop control method and virtual desktop control system
CN103503381B (en) The method of data transmission of device redirection, Apparatus and system
US20140082052A1 (en) Data redirection system and method for providing data redirection service
DE112006003371T5 (en) Display system and method
US11500804B2 (en) Method for transmitting control instruction, transmitting device, and receiving device
CN104168439B (en) A kind of method for video coding and device
CN102611878A (en) Low-bandwidth-occupancy high-definition camera mapping method
JP2012523789A (en) Dual mode compression of images and video for reliable real-time transmission
CN101452418A (en) Method and system for computer management
CN105721934A (en) Video wireless transmission device and method, video play device and method, and system
CN109040786A (en) Transmission method, device, system and the storage medium of camera data
CN205105347U (en) Video wireless transmission equipment, video playback devices and system
US20080267284A1 (en) Moving picture compression apparatus and method of controlling operation of same
US9838463B2 (en) System and method for encoding control commands
CN106385627A (en) Video coding method and device
CN104717555A (en) Video stream acquiring method and device
CN101309259B (en) Distributed image display method
KR20160140012A (en) Image data transmission and reception method and apparatus
CN103561282A (en) Streaming media file data transmission method and device
JP6175681B2 (en) USB device server
CN113784206A (en) Method for mapping USB video equipment through network
JP2005110024A (en) Data transmitter, data transmission/reception system, and data transmission/reception method
EP3058658B1 (en) Cloud encoding system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220215

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right