WO2014063367A1 - 一种vdi文件传输的方法和装置 - Google Patents

一种vdi文件传输的方法和装置 Download PDF

Info

Publication number
WO2014063367A1
WO2014063367A1 PCT/CN2012/083625 CN2012083625W WO2014063367A1 WO 2014063367 A1 WO2014063367 A1 WO 2014063367A1 CN 2012083625 W CN2012083625 W CN 2012083625W WO 2014063367 A1 WO2014063367 A1 WO 2014063367A1
Authority
WO
WIPO (PCT)
Prior art keywords
vdi
message
file transmission
vdi file
data
Prior art date
Application number
PCT/CN2012/083625
Other languages
English (en)
French (fr)
Inventor
李光
姚子阳
李春强
孙福清
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280002158.1A priority Critical patent/CN104137472A/zh
Priority to PCT/CN2012/083625 priority patent/WO2014063367A1/zh
Priority to EP12874363.0A priority patent/EP2784976A4/en
Publication of WO2014063367A1 publication Critical patent/WO2014063367A1/zh
Priority to US14/333,227 priority patent/US20140330798A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • 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/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • 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

Definitions

  • the present invention relates to the field of communications, and in particular, to a VDI (Virtual Desktop Infrastructure) file transmission method and apparatus.
  • VDI Virtual Desktop Infrastructure
  • VDI is designed to deliver superior responsiveness and a customized user experience for intelligent distributed computing, while providing management and security benefits through a server-based model. It provides centralized management of the entire desktop image.
  • VDI file transfer channel File transfer between the client and the server is done through the VDI file transfer channel.
  • the prior art performs WAN (Wide Area Network) optimization.
  • WAN Wide Area Network
  • the VDI file transmission data stream is mixed with various VDI messages, and the contents of these VDI messages may be changed. Therefore, a large number of DRE (Data Redundance Elimination) is eliminated, and redundant entries cannot be reused, resulting in a low compression ratio during VDI file transmission.
  • DRE Data Redundance Elimination
  • the present invention provides a method and apparatus for VDI file transmission that can improve the compression ratio during VDI file transmission.
  • a first aspect provides a method for VDI file transmission, the method comprising: receiving a VDI message, the VDI message including at least a VDI file transmission message; separating the VDI file transmission message from the VDI message; The separated VDI file transmits a message;
  • the separating the VDI file transmission message from the VDI message is specifically:
  • the acquiring a VDI file transmission channel number is specifically: acquiring a VDI negotiation message, where the VDI negotiation message includes a VDI file transmission Channel number
  • the VDI file transmission message includes a write request message and Read the response message.
  • a method for VDI file transmission comprising: receiving a VDI file transmission message including compressed data, wherein the compressed data is derived from data separated from a VDI file transmission message. section;
  • the VDI file transmission message includes a write request message and a read response message.
  • the third aspect provides an apparatus for transmitting a VDI file, where the apparatus includes: a receiving unit, configured to receive a VDI message, where the VDI message includes at least a VDI file transmission message;
  • a processing unit configured to separate the VDI file transmission message from the VDI message received by the receiving unit;
  • the processing unit is further configured to parse the separated VDI file transmission message to obtain a data portion of the VDI file transmission message;
  • a data redundancy elimination DRE unit configured to compress a data portion of the VDI file transmission message obtained by the processing unit
  • a sending unit configured to send a VDI file transmission message that includes data compressed by the DRE unit, where the compressed data is derived from the data portion.
  • the processing unit includes: an acquiring module, configured to acquire a VDI file transmission channel number;
  • the separating module is configured to separate the VDI file transmission message from the VDI message according to the VDI file transmission channel number acquired by the acquiring module.
  • the acquiring module is specifically configured to:
  • VDI negotiation message includes a VDI file transmission channel number
  • the VDI file transmission message includes a write request message and Read the response message.
  • an apparatus for VDI file transfer of a virtual desktop infrastructure comprising:
  • a receiving unit configured to receive a VDI file transmission message including compressed data, where the compressed data is derived from a data portion separated from a VDI file transmission message; and a processing unit configured to receive the received unit Decoding the VDI file transfer message; obtaining the compressed data;
  • a data redundancy elimination DRE unit configured to decompress the compressed data obtained by the processing unit to obtain decompressed data
  • a sending unit configured to send a VDI file transmission message that includes data decompressed by the DRE unit.
  • the VDI file transmission message includes a write request message and a read response message.
  • a fifth aspect provides an apparatus for virtual desktop infrastructure VDI file transmission, the apparatus comprising a processor, a communication interface, a memory, and a bus;
  • the processor, the communication interface, and the memory complete communication with each other through a bus; the communication interface is configured to communicate with an external network element;
  • the memory is configured to store a program
  • the processor configured to execute the program
  • the program includes a receiving unit, a processing unit, a data redundancy elimination DRE unit, and a sending unit;
  • a receiving unit configured to receive a VDI message, where the VDI message includes at least a VDI file transmission message;
  • a processing unit configured to separate the VDI file transmission message from the VDI message received by the receiving unit
  • the processing unit is further configured to parse the separated VDI file transmission message, and obtain a data portion of the VDI file transmission message;
  • a DRE unit configured to compress a data portion of the VDI file transmission message obtained by the processing unit
  • a sending unit configured to send a VDI file transmission message that includes data compressed by the DRE unit, where the compressed data is derived from the data portion.
  • the processing unit includes: an acquiring module, configured to acquire a VDI file transmission channel number, and a separation module, configured to use, according to the VDI file transmission channel number acquired by the acquiring module, The VDI file transfer message is separated from the VDI message.
  • the acquiring module is specifically configured to:
  • VDI negotiation message includes a VDI file transmission Road number
  • the VDI file transmission message includes a write request message and Read the response message.
  • a device for transmitting a virtual desktop infrastructure VDI file includes a processor, a communication interface, a memory, and a bus; wherein, the processor, the communication interface, and the memory complete communication with each other through the bus; a communication interface, configured to communicate with an external network element;
  • the memory is configured to store a program
  • the processor is configured to execute the program, where the program includes a receiving unit, a processing unit, a data redundancy elimination DRE unit, and a sending unit;
  • a receiving unit configured to receive a VDI file transmission message including compressed data, where the compressed data is derived from a data portion separated from a VDI file transmission message; and a processing unit configured to receive the received unit Decoding the VDI file transfer message; obtaining the compressed data;
  • a DRE unit configured to decompress the compressed data obtained by the processing unit to obtain decompressed data
  • a sending unit configured to send a VDI file transmission message that includes data decompressed by the DRE unit.
  • the VDI file transmission message includes a write request message and a read response message.
  • the method and apparatus for VDI file transmission provided by the present invention separates a VDI file transmission message from a VDI message, and separates a data portion from the VDI file transmission message, and further Partially compressed and sent, it can guarantee that the content of the data part in the VDI file transmission message is compressed. Since there is no other VDI message during data compression, there is no data header in the VDI file transmission message. Therefore, a higher compression ratio can be achieved in the VDI file transfer process.
  • FIG. 1 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 1 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention
  • FIG. 5 is a structural block diagram of an apparatus for transmitting
  • FIG. 7 is a schematic diagram of an apparatus for VDI file transmission according to an embodiment of the present invention.
  • the technical solutions of the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. example. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention.
  • the executor of the VDI file transmission method provided by the embodiment of the present invention may be any network device having a routing function, such as a router, a switch, etc., but for convenience of description, only the execution subject is a router as an example for description.
  • a method for transmitting a VDI file may include:
  • VDI message including at least a VDI file transmission message.
  • the VDI file transfer message may include a write request message and a read response message.
  • the VDI message may include multiple messages, and may include, for example, a cache message, a bitmap update message, and the like, in addition to the VDI file transfer message.
  • the VDI file transfer message can be separated from the VDI message in various ways.
  • the method for separating the VDI file transmission message from the VDI message may be: acquiring a VDI file transmission channel number; and transmitting the VDI file from the VDI message according to the obtained VDI file transmission channel number. Separated in the middle.
  • VDI file transmission channel number After obtaining the VDI file transmission channel number, all VDI file transmission messages can be merged into the VDI file transmission channel corresponding to the VDI file transmission channel number, so that the VDI file transmission channel Only VDI files are transmitted in the message, and there are no other VDI messages.
  • the obtaining the VDI file transmission channel number may be specifically as follows:
  • VDI negotiation message includes a VDI file transmission channel number
  • the VDI file transmission channel number can be obtained by using the VDI negotiation message, where the VDI negotiation message can be obtained when the client interacts with the server. Specifically, before the VDI file is transmitted, the client interacts with the server to obtain information necessary for VDI file transmission. In the process, the client sends a VDI negotiation message to the server, and thus, is set on the client. The router between the server and the server can obtain the VDI file transmission channel number by receiving the VDI negotiation message sent by the client.
  • the router After the router separates the data header portion and the data portion of the separated VDI file transmission message by parsing, the data portion of the VDI file transmission message can be obtained.
  • the VDI file transfer message is specifically a write request message and/or a read response message
  • the data header and data portions of the write request message and/or the read response message are separated, respectively.
  • the router Compressing the data portion and transmitting a VDI file transfer message containing the compressed data, wherein the compressed data is derived from the data portion. After obtaining the data part of the VDI file transmission message, the router compresses the data part of the VDI file transmission message, and transmits the compressed data and the message header part of the VDI file transmission message to the peer router.
  • the "peer router” refers to a router at the other end of the communication. For example, the peer router of the router near the client side is the router near the server side; the peer router of the router near the server side is the router near the client side.
  • the VDI file transmission method provided by the present invention separates the VDI file transmission message from the VDI message, and separates the data part from the VDI file transmission message, and then compresses and transmits the data part, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, and there is no data header in the VDI file transfer message, it can be achieved in the VDI file transfer process. Compression rate.
  • FIG. 2 is a flowchart of a method for transmitting a VDI file according to an embodiment of the present invention.
  • the executor of the VDI file transmission method provided by the embodiment of the present invention may be any network device having a routing function, such as a router, a switch, etc., but for convenience of description, only the router is taken as an example for description.
  • the embodiment of the present invention further provides a method for VDI file transmission, which is described based on a peer router, and the method may include: 21.
  • the compressed data is carried in a VDI file transmission message.
  • the VDI file transfer message may include a write request message and a read response message.
  • the peer router may separate the compressed data from the VDI file transmission message by parsing the VDI file transmission message including the compressed data. come out.
  • the peer router After decompressing the compressed data, the peer router combines the header of the received VDI file transmission message, encapsulates the decompressed data and the message header into a VDI file transmission message, and sends the decompressed The VDI file of the data transfers the message.
  • the encapsulated VDI file transfer message is sent to the server; when the compressed data comes from the server side, the encapsulated VDI file transfer message is sent to the client.
  • the VDI file transmission method provided by the present invention separates the VDI file transmission message from the VDI message, and separates the data part from the VDI file transmission message, and then compresses and transmits the data part, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, and there is no data header in the VDI file transfer message, it can be achieved in the VDI file transfer process. Compression rate.
  • FIG. 3 is a schematic diagram of a method for transmitting a VDI file according to an embodiment of the present invention.
  • this embodiment provides a method for VDI file transmission, where the method includes: a client sends a VDI negotiation message to a server (for example, a server in a desktop cloud data center), where the VDI negotiation message includes a VDI file. Transmission channel number. Router 1 and Router 2, which are set between the client and the server, obtain the VDI file transmission channel number by receiving the VDI negotiation message sent by the client. Router 1 receives a VDI message sent by the server, and the VDI message includes at least a VDI file transfer message.
  • the router 1 separates the VDI file transmission message from the VDI message according to the obtained VDI file transmission channel number.
  • two VDI file transfer messages are shown by way of example in FIG. 3: a first VDI file transfer message containing data 1 and a second VDI file transfer message containing data 2.
  • the following two VDI file transmission messages are taken as an example for explanation.
  • Router 1 analyzes the first VDI file transfer message and the second VDI file transfer message to separate data 1 and data 2 from the two VDI file transfer messages, respectively.
  • the router 1 uses the DRE engine to compress the separated data 1 and data 2 into data 3, and encapsulates the compressed data 3 together with the header of the VDI file transmission message into a third VDI file transmission message and sends it to the router 2.
  • the router 2 receives the third VDI file transmission message including the data 3 sent by the router 1;
  • Router 2 parses the third VDI file transfer message to obtain compressed data
  • the router 2 decompresses the data 3 by using the DRE engine to obtain the decompressed data 4 and data 5; wherein the decompressed data 4 can be the same as or different from the data 1 or the data 2, and the decompressed data 5 can be The data 1 or the data 2 is the same or different, and the present invention does not limit this.
  • Router 2 encapsulates data 4 and data 5 together with the header of the VDI file transfer message into different VDI file transfer messages (ie, the fourth VDI file transfer message and the fifth) The VDI file transfers the message) and sends the encapsulated VDI file transfer message to the client.
  • VDI file transfer from the server to the client has been described above, and the VDI file transfer process from the client to the server is similar to the above, and will not be described here.
  • the VDI file transmission method provided by the present invention separates the VDI file transmission message from the VDI message, and separates the data part from the VDI file transmission message, and then compresses and transmits the data part, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, and there is no data header in the VDI file transfer message, it can be achieved in the VDI file transfer process. Compression rate.
  • FIG. 4 is a structural block diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention.
  • an embodiment of the present invention provides a device 40 for VDI file transmission, which corresponds to the method shown in FIG.
  • the apparatus 40 may include a receiving unit 41, a processing unit 42, a DRE unit 43, and a transmitting unit 44.
  • the receiving unit 41 is configured to receive a VDI message, where the VDI message includes at least a VDI file transmission message.
  • the processing unit 42 is configured to separate the VDI file transmission message from the VDI message received by the receiving unit 41.
  • the processing unit 42 is further configured to parse the separated VDI file transmission message to obtain a data portion of the VDI file transmission message.
  • the DRE unit 43 is configured to compress the data portion of the VDI file transmission message obtained by the processing unit 42.
  • the sending unit 44 is configured to send a VDI file transfer message including data compressed by the DRE unit 43, wherein the compressed data is derived from the data portion.
  • the VDI file transmission device separates the VDI file transmission message from the VDI message, and separates the data portion from the VDI file transmission message, and then compresses and transmits the data portion, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, there is no data header in the VDI file transfer message, so the VDI file transfer process A higher compression ratio can be achieved.
  • processing unit 42 may optionally include:
  • the acquisition module is used to obtain the VDI file transmission channel number.
  • the obtaining module may be specifically configured to: obtain a VDI negotiation message, where the VDI negotiation message includes a VDI file transmission channel number; and obtain a VDI file transmission channel number according to the VDI negotiation message.
  • the separating module is configured to separate the VDI file transmission message from the VDI message according to the VDI file transmission channel number acquired by the acquiring module.
  • the VDI file transfer message may include a write request message and a read response message.
  • FIG. 5 is a structural block diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention.
  • an embodiment of the present invention provides a device 50 for VDI file transmission, which corresponds to the method shown in FIG.
  • the apparatus 50 may include a receiving unit 51, a processing unit 52, a DRE unit 53, and a transmitting unit 54. among them:
  • the receiving unit 51 is configured to receive a VDI file transmission message that includes the compressed data, where the compressed data is derived from a data portion separated from the VDI file transmission message;
  • the processing unit 52 is configured to parse the VDI file transmission message received by the receiving unit 51; obtain the compressed data;
  • a DRE unit 53 is configured to decompress the compressed data obtained by the processing unit 52 to obtain decompressed data
  • the sending unit 53 is configured to send a VDI file transmission message that includes data decompressed by the DRE unit 53.
  • the VDI file transmission message includes a write request message and a read response message.
  • the VDI file transmission device provided by the present invention separates the VDI file transmission message from the VDI message, and separates the data portion from the VDI file transmission message, and then compresses and transmits the data portion, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message, because there is no other VDI during data compression.
  • the device for transmitting the VDI file may be a router or a switch, and may be other network devices that implement the functions described above.
  • each unit included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be realized;
  • the specific names are also for convenience of distinguishing from each other and are not intended to limit the scope of the present invention.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Is a read-only memory, a disk or a disc, and so on.
  • FIG. 6 is a schematic diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention.
  • the apparatus 600 for VDI file transmission in the embodiment of the present invention may be any network device having a routing function, such as a router, a switch, or the like.
  • the apparatus 600 for VDI file transfer includes: a processor 610, a communications interface 620, a memory 630, and a bus 640.
  • the processor 610, the communication interface 620, and the memory 630 complete communication with each other via the bus 640.
  • the communication interface 620 is configured to communicate with an external network element, such as a router, a user equipment, a server, and the like.
  • the processor 610 is configured to execute the program 632.
  • program 632 can include program code, the program code including computer operating instructions.
  • the processor 610 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 630 is configured to store the program 632.
  • the memory 630 may include a high speed RAM memory and may also include a non-volatile memory such as at least one disk memory.
  • the program 632 may specifically include a receiving unit 41, a processing unit 42, a DRE unit 43, and a transmitting unit 44.
  • the receiving unit 41 is configured to receive a VDI message, where the VDI message includes at least a VDI file transmission message.
  • the processing unit 42 is configured to separate the VDI file transmission message from the VDI message received by the receiving unit 41.
  • the processing unit 42 is further configured to parse the separated VDI file transmission message to obtain a data portion of the VDI file transmission message.
  • the DRE unit 43 is configured to compress the data portion of the VDI file transmission message obtained by the processing unit 42.
  • the sending unit 44 is configured to send a VDI file transfer message including data compressed by the DRE unit 43, wherein the compressed data is derived from the data portion.
  • the processing unit 42 may further include: an obtaining module, configured to acquire a VDI file transmission channel number.
  • the obtaining module may be specifically configured to: obtain a VDI negotiation message, where the VDI negotiation message includes a VDI file transmission channel number; and obtain a VDI file transmission channel number according to the VDI negotiation message.
  • the separating module is configured to separate the VDI file transmission message from the VDI message according to the VDI file transmission channel number acquired by the acquiring module.
  • the VDI file transfer message may include a write request message and a read response message.
  • each unit in the program 632 is the same as that in the embodiment shown in FIG.
  • the VDI file transmission device separates the VDI file transmission message from the VDI message, and separates the data portion from the VDI file transmission message, and then compresses and transmits the data portion, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, there is no data header in the VDI file transfer message, so the VDI file transfer process A higher compression ratio can be achieved.
  • FIG. 7 is a schematic diagram of an apparatus for transmitting a VDI file according to an embodiment of the present invention.
  • the apparatus 700 for VDI file transmission in the embodiment of the present invention may be any network device having a routing function, such as a router, a switch, or the like.
  • the apparatus 700 for VDI file transfer includes: a processor 710, a communication interface 720, a memory 730, and a bus 740.
  • the processor 710, the communication interface 720, and the memory 730 complete communication with each other via the bus 740.
  • the communication interface 720 is configured to communicate with an external network element, such as a router, a user equipment, a server, and the like.
  • the processor 710 is configured to execute the program 732.
  • program 732 can include program code, the program code including computer operating instructions.
  • Processor 710 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention.
  • the memory 730 is configured to store the program 732.
  • Memory 730 may contain high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the program 732 may specifically include a receiving unit 51, a processing unit 52, a DRE unit 53, and a transmitting unit 54. among them:
  • the receiving unit 51 is configured to receive a VDI file transmission message that includes the compressed data, where the compressed data is derived from a data portion separated from the VDI file transmission message;
  • the processing unit 52 is configured to parse the VDI file transmission message received by the receiving unit 51; obtain the compressed data;
  • a DRE unit 53 is configured to decompress the compressed data obtained by the processing unit 52 to obtain decompressed data;
  • the sending unit 53 is configured to send a VDI file transmission message that includes data decompressed by the DRE unit 53.
  • the VDI file transmission message includes a write request message and a read response message. It should be noted that the specific implementation of each unit in the program 732 is the same as that in the embodiment shown in FIG.
  • the VDI file transmission device provided by the present invention separates the VDI file transmission message from the VDI message, and separates the data portion from the VDI file transmission message, and then compresses and transmits the data portion, thereby ensuring Compressed are the contents of the data part of the VDI file transfer message. Since there is no other VDI message during data compression, and there is no data header in the VDI file transfer message, it can be achieved in the VDI file transfer process. Compression rate.

Abstract

本发明提供一种虚拟桌面基础设施VDI文件传输的方法,涉及通信领域,能够提高VDI文件传输过程中的压缩率。所述方法包括:接收VDI消息,所述VDI消息至少包括VDI文件传输消息;将VDI文件传输消息从所述VDI消息中分离出来;解析所述分离出来的VDI文件传输消息;获得所述VDI文件传输消息的数据部分;将所述数据部分进行压缩并发送包含经压缩的数据的VDI文件传输消息。本发明还提供相应的装置。

Description

一种 VDI文件传输的方法和装置 技术领域 本发明 涉及通信领域, 尤其涉及一种 VDI(Virtual Desktop Infrastructure , 虚拟桌面基础设施)文件传输的方法和装置。 背景技术
VDI 旨在为智能分布式计算带来出色的响应能力和定制化的用户体 验, 并通过基于服务器的模式提供管理和安全优势。 它能够为整个桌面 映像提供集中化的管理。
客户端和服务器之间的文件传输是通过 VDI文件传输通道进行的。 现有技术进行 WAN(Wide Area Network, 广域网)优化, 在通过 VDI文件 传输通道进行文件传输时, VDI 文件传输数据流里面参杂了各种不同的 VDI消息,而这些 VDI消息的内容可能是变化的,从而造成大量 DRE(Data Redundance Elimination,数据冗余消除), 冗余条目不能重复使用, 导致 VDI文件传输过程中的压缩率偏低。
发明内容
本发明提供一种 VDI文件传输的方法和装置, 能够提高 VDI文件传 输过程中的压缩率。
第一方面, 提供一种 VDI文件传输的方法, 所述方法包括: 接收 VDI消息, 所述 VDI消息至少包括 VDI文件传输消息; 将所述 VDI文件传输消息从所述 VDI消息中分离出来; 解析所述分离出来的 VDI文件传输消息;
获得所述 VDI文件传输消息的数据部分; 将所述数据部分进行压缩并发送包含经压缩的数据的 VDI文件传输 消息, 其中所述经压缩的数据来源于所述数据部分。 在第一方面的第一种可能的实现方式中, 所述将 V D I文件传输消息 从 VDI消息中分离出来具体为:
获取 VDI文件传输通道号; 根据所述获取的 VDI文件传输通道号,将 VDI文件传输消息从所述 VDI消息中分离出来。 结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述获取 VDI文件传输通道号具体为: 获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传输通 道号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。 结合第一方面或第一方面的第一种可能的实现方式或第一方面的第 二种可能的实现方式, 在第三种可能的实现方式中, 所述 VDI文件传输 消息包括写请求消息和读响应消息。
第二方面, 提供一种 VDI文件传输的方法, 所述方法包括: 接收包含经压缩的数据的 VDI文件传输消息, 其中, 所述经压缩的 数据来源于从 VDI文件传输消息中分离出来的数据部分;
对接收的所述 VDI文件传输消息进行解析;
获得所述经压缩的数据; 将所述经压缩的数据进行解压缩, 以获得解压缩后的数据; 发送包含所述解压缩后的数据的 VDI文件传输消息。 在第二方面的第一种可能的实现方式中, 所述 VDI文件传输消息包 括写请求消息和读响应消息。 第三方面, 提供一种 VDI文件传输的装置, 所述装置包括: 接收单元, 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文件 传输消息;
处理单元, 用于将所述 VDI文件传输消息从所述接收单元接收的所 述 VDI消息中分离出来; 所述处理单元, 还用于解析所述分离出来的 VDI文件传输消息, 获 得所述 VDI文件传输消息的数据部分;
数据冗余消除 DRE单元, 用于将所述处理单元获得的所述 VDI文 件传输消息的数据部分进行压缩;
发送单元, 用于发送包含经所述 DRE单元压缩的数据的 VDI文件 传输消息, 其中所述经压缩的数据来源于所述数据部分。
在第三方面的第一种可能的实现方式中, 所述处理单元包括: 获取模块, 用于获取 VDI文件传输通道号;
分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述获取模块具体用于:
获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传输通 道号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。
结合第三方面或第三方面的第一种可能的实现方式或第三方面的第 二种可能的实现方式, 在第三种可能的实现方式中, 所述 VDI文件传输 消息包括写请求消息和读响应消息。
第四方面, 提供一种虚拟桌面基础设施 VDI文件传输的装置, 所述 装置包括:
接收单元,用于接收包含经压缩的数据的 VDI文件传输消息,其中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部分; 处理单元,用于对接收单元接收的所述 VDI文件传输消息进行解析; 获得所述经压缩的数据;
数据冗余消除 DRE单元, 用于将所述处理单元获得的所述经压缩的 数据进行解压缩, 以获得解压缩后的数据;
发送单元, 用于发送包含经所述 DRE 单元解压缩后的数据的 VDI 文件传输消息。 在第四方面的第一种可能的实现方式中, 所述 V D I文件传输消息包 括写请求消息和读响应消息。 第五方面, 提供一种虚拟桌面基础设施 VDI文件传输的装置, 所述 装置包括处理器, 通信接口, 存储器和总线;
其中, 处理器、 通信接口、 存储器通过总线完成相互间的通信; 所述通信接口, 用于与外部网元通信;
所述存储器, 用于存放程序;
所述处理器, 用于执行所述程序;
其中, 所述程序包括接收单元、 处理单元、 数据冗余消除 DRE单元 和发送单元;
接收单元, 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文件 传输消息;
处理单元, 用于将所述 VDI文件传输消息从所述接收单元接收的所 述 VDI消息中分离出来;
所述处理单元, 还用于解析所述分离出来的 VDI文件传输消息, 获 得所述 VDI文件传输消息的数据部分;
DRE单元,用于将所述处理单元获得的所述 VDI文件传输消息的数 据部分进行压缩;
发送单元, 用于发送包含经所述 DRE单元压缩的数据的 VDI文件 传输消息, 其中所述经压缩的数据来源于所述数据部分。
在第五方面的第一种可能的实现方式中, 所述处理单元包括: 获取模块, 用于获取 VDI文件传输通道号; 分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。 结合第五方面的第一种可能的实现方式, 在第二种可能的实现方式 中, 所述获取模块具体用于:
获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传输通 道号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。 结合第五方面或第五方面的第一种可能的实现方式或第五方面的第 二种可能的实现方式, 在第三种可能的实现方式中, 所述 VDI文件传输 消息包括写请求消息和读响应消息。
第六方面, 提供一种虚拟桌面基础设施 VDI文件传输的装置, 所述 装置包括处理器, 通信接口, 存储器和总线; 其中, 处理器、 通信接口、 存储器通过总线完成相互间的通信; 所述通信接口, 用于与外部网元通信;
所述存储器, 用于存放程序;
所述处理器, 用于执行所述程序; 其中, 所述程序包括接收单元、 处理单元、 数据冗余消除 DRE单元 和发送单元;
接收单元,用于接收包含经压缩的数据的 VDI文件传输消息,其中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部分; 处理单元,用于对接收单元接收的所述 VDI文件传输消息进行解析; 获得所述经压缩的数据;
DRE单元, 用于将所述处理单元获得的所述经压缩的数据进行解压 缩, 以获得解压缩后的数据;
发送单元, 用于发送包含经所述 DRE 单元解压缩后的数据的 VDI 文件传输消息。
在第六方面的第一种可能的实现方式中, 所述 V D I文件传输消息包 括写请求消息和读响应消息。 采用上述技术方案后, 本发明提供的 VDI文件传输的方法和装置, 通过将 VDI文件传输消息从 VDI消息中分离出来,并从所述 VDI文件传 输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够 保证压缩的都是 VDI文件传输消息中的数据部分的内容, 由于在进行数 据压缩时,没有其他的 VDI消息,也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程中能够取得较高的压缩率。 附图说明
对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见 地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技 术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得 其他的附图。 图 1为本发明实施例提供的一种 VDI文件传输的方法的流程图; 图 2为本发明实施例提供的一种 VDI文件传输的方法的流程图; 图 3为本发明实施例提供的一种 VDI文件传输的方法的示意图; 图 4为本发明实施例提供的 VDI文件传输的装置的结构框图; 图 5为本发明实施例提供的 VDI文件传输的装置的结构框图; 图 6为本发明实施例提供的 VDI文件传输的装置的示意图; 图 7为本发明实施例提供的 VDI文件传输的装置的示意图。 具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的一部分实 施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术 人员在没有做出创造性劳动的前提下所获得的所有其它实施例, 都属于 本发明保护的范围。
图 1为本发明实施例提供的一种 VDI文件传输的方法的流程图。 本 发明实施例提供的 VDI文件传输的方法的执行主体可以为具有路由功能 的任何网络设备, 例如路由器、 交换机等, 但为便于描述, 下面仅以执 行主体是路由器为例进行说明。
参照图 1 , 本发明实施例提供的 VDI文件传输的方法可包括:
11、 接收 VDI消息, 所述 VDI消息至少包括 VDI文件传输消息。 其中, 所述 VDI文件传输消息可包括写请求 (write request)消息和读 响应 ( read response ) 消息。
在本发明实施例中, 所述 VDI消息可包括多种消息, 除了包括 VDI 文件传输消息之外, 举例而言还可包括緩存消息、 位图更新消息等。
12、 将所述 VDI文件传输消息从接收的所述 VDI消息中分离出来。 在本发明实施例中可通过各种方式将 VDI文件传输消息从 VDI消息 中分离出来。 举例而言, 所述将 VDI文件传输消息从 VDI消息中分离出 来的一种方式可以为: 获取 VDI文件传输通道号; 根据所述获取的 VDI文件传输通道号,将 VDI文件传输消息从 VDI 消息中分离出来。
具体而言, 在获取到 VDI文件传输通道号后, 即可将所有的 VDI文 件传输消息都归并于此 VDI文件传输通道号所对应的 VDI文件传输通道 中, 这样一来, 该 VDI文件传输通道中只有 VDI文件传输消息, 而不会 有其它 VDI消息。 其中, 所述获取 VDI文件传输通道号举例而言可具体为:
获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传输通 道号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。 在本发明实施例中,可通过 VDI协商消息来获取 VDI文件传输通道 号, 其中, 所述 VDI协商消息可以在客户端与服务器进行信息交互时获 取。 具体而言, 在 VDI文件传输之前, 客户端与服务器进行信息交互, 以获得进行 VDI文件传输所必需的信息, 在此过程中, 客户端会向服务 器发送 VDI协商消息, 因而, 设置在客户端与服务器之间的路由器通过 接收客户端发送的 VDI协商消息即可获取 VDI文件传输通道号。
13、 解析所述分离出来的 VDI文件传输消息。 路由器在将 VDI文件传输消息从 VDI消息中分离出来之后,对所述 分离出来的 VDI文件传输消息进行解析, 通过解析可以将所述分离出来 的 VDI文件传输消息的数据头部分和数据部分分离。
24、 获得所述 VDI文件传输消息的数据部分。
路由器通过解析将所述分离出来的 VDI文件传输消息的数据头部分 和数据部分分离后, 可获得所述 VDI文件传输消息的数据部分。
在 VDI 文件传输消息具体为写请求 (write request)消息和 /或读响应 ( read response )消息时, 分别对写请求消息和 /或读响应消息的数据头部 分和数据部分进行分离。
14、 将所述数据部分进行压缩并发送包含经压缩的数据的 VDI文件 传输消息, 其中所述经压缩的数据来源于所述数据部分。 路由器在获得 VDI文件传输消息的数据部分之后,对 VDI文件传输 消息的数据部分进行压缩, 并将压缩后得到的数据和 VDI文件传输消息 的消息头部分传输到对端路由器中。 在本发明实施例中, 所述"对端路由器"是指通信另一端的路由器。 举例而言, 靠近客户端一侧的路由器的对端路由器为靠近服务器一侧的 路由器; 靠近服务器一侧的路由器的对端路由器为靠近客户端一侧的路 由器。
本发明提供的 VDI 文件传输的方法, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
图 2为本发明实施例提供的一种 VDI文件传输的方法的流程图。 需 指出的是, 本发明实施例提供的 VDI文件传输的方法的执行主体可以为 具有路由功能的任何网络设备, 例如路由器、 交换机等, 但为便于描述, 下面仅是以路由器为例进行说明。
参照图 2, 与图 1 所示方法相对应, 本发明实施例还提供一种 VDI 文件传输的方法, 基于对端路由器而描述, 所述方法可包括: 21、 接收包含经压缩的数据的 VDI文件传输消息, 其中, 所述经压 缩的数据来源于从 VDI文件传输消息中分离出来的数据部分。 在本发明实施例中,所述经压缩的数据承载于 VDI文件传输消息中。 其中, 所述 VDI文件传输消息可包括写请求 (write request)消息和读 响应 ( read response ) 消息。
22、 对接收的所述 VDI文件传输消息进行解析。
对端路由器在接收到包含经压缩的数据的 VDI文件传输消息后, 通 过对包含经压缩的数据的 VDI文件传输消息进行解析, 可以将所述经压 缩的数据从所述 VDI文件传输消息中分离出来。
23、 获得所述经压缩的数据。
24、 将所述经压缩的数据进行解压缩, 以获得解压缩后的数据。
25、 发送包含所述解压缩后的数据的 VDI文件传输消息。
对端路由器在对经压缩的数据解压缩后, 结合接收到的 VDI文件传 输消息的消息头,将解压缩后的数据和消息头封装成 VDI文件传输消息, 并发送包含所述解压缩后的数据的 VDI文件传输消息。
当经压缩的数据来自于客户端一侧时, 将封装的 VDI文件传输消息 发送给服务器; 当经压缩的数据来自于服务器一侧时, 将封装的 VDI文 件传输消息发送给客户端。
本发明提供的 VDI 文件传输的方法, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
步说明。 亦须注意, 以下所列举的实施例只是本发明的一部分实施例, 本领域技术人员由本发明所述内容, 可易于想到其他实施例, 它们都在 本发明的范围内。
图 3为本发明实施例提供的 VDI文件传输的方法的示意图。 参照图 3 , 本实施例提供一种 VDI文件传输的方法, 所述方法包括: 客户端向服务器 (例如, 桌面云数据中心中的服务器)发送 VDI协商 消息, 所述 VDI协商消息中包含 VDI文件传输通道号。 设置在客户端与服务器之间的路由器 1和路由器 2通过接收客户端 发送的 VDI协商消息获取 VDI文件传输通道号。 路由器 1接收服务器发送的 VDI消息,所述 VDI消息至少包括 VDI 文件传输消息。
路由器 1根据所述获取的 VDI文件传输通道号,将 VDI文件传输消 息从 VDI消息中分离出来。 如图 3所示, 在图 3中以示例形式示出了两 个 VDI文件传输消息: 包含数据 1的第一 VDI文件传输消息和包含数据 2的第二 VDI文件传输消息。 下文中均以这两个 VDI文件传输消息为例 进行说明。
路由器 1对第一 VDI文件传输消息和第二 VDI文件传输消息进行解 析, 以将数据 1和数据 2分别从这两个 VDI文件传输消息中分离出来。
路由器 1利用 DRE引擎将分离出来的数据 1和数据 2压缩成数据 3 , 并将压缩后的数据 3连同 VDI文件传输消息的消息头封装成第三 VDI文 件传输消息发送给路由器 2。 路由器 2接收路由器 1发送过来的包含数据 3的第三 VDI文件传输 消息;
路由器 2对第三 VDI文件传输消息进行解析, 以获得经压缩的数据
3。 路由器 2利用 DRE引擎对数据 3进行解压缩, 获得解压缩后的数据 4和数据 5;其中,解压缩后的数据 4可以与数据 1或数据 2相同或不同, 解压缩后的数据 5 可以与数据 1或数据 2相同或不同, 本发明对此不作 限定。
路由器 2将数据 4和数据 5连同 VDI文件传输消息的消息头分别封 装到不同的 VDI文件传输消息中(即, 第第四 VDI文件传输消息和第五 VDI文件传输消息), 并向客户端发送封装后的 VDI文件传输消息。 需要指出的是, 上面已对从服务器到客户端的 VDI文件传输进行了 说明, 客户端到服务器的 VDI文件传输过程与上面类似, 在此不作贅述。 本发明提供的 VDI 文件传输的方法, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
图 4为本发明实施例提供的 VDI文件传输的装置的结构框图。 参照 图 4 , 本发明实施例提供一种 VDI文件传输的装置 40, 该装置与图 1所 示方法相对应。 所述装置 40可包括接收单元 41、 处理单元 42、 DRE单 元 43和发送单元 44。 其中: 接收单元 41 , 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文 件传输消息。
处理单元 42, 用于将所述 VDI文件传输消息从所述接收单元 41接 收的 VDI消息中分离出来。
所述处理单元 42, 还用于解析所述分离出来的 VDI文件传输消息, 获得所述 VDI文件传输消息的数据部分。
DRE单元 43 , 用于将所述处理单元 42获得的所述 VDI文件传输消 息的数据部分进行压缩。
发送单元 44, 用于发送包含经所述 DRE单元 43压缩的数据的 VDI 文件传输消息, 其中所述经压缩的数据来源于所述数据部分。
本发明提供的 VDI 文件传输的装置, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
在一个实施例中, 可选地, 所述处理单元 42可包括:
获取模块, 用于获取 VDI文件传输通道号。 其中, 所述获取模块可 具体用于: 获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传 输通道号; 根据所述 VDI协商消息, 获取 VDI文件传输通道号。 分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。 在一个实施例中, 所述 VDI文件传输消息可包括写请求消息和读响 应消息。
图 5为本发明实施例提供的 VDI文件传输的装置的结构框图。 参照 图 5 , 本发明实施例提供一种 VDI文件传输的装置 50, 该装置与图 2所 示方法相对应。 所述装置 50可包括接收单元 51、 处理单元 52、 DRE单 元 53和发送单元 54。 其中:
接收单元 51 , 用于接收包含经压缩的数据的 VDI文件传输消息, 其 中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部 分;
处理单元 52, 用于对接收单元 51接收的所述 VDI文件传输消息进 行解析; 获得所述经压缩的数据;
DRE单元 53 , 用于用于将所述处理单元 52获得的所述经压缩的数 据进行解压缩, 以获得解压缩后的数据;
发送单元 53 , 用于发送包含经所述 DRE单元 53解压缩后的数据的 VDI文件传输消息。
其中, 所述 VDI文件传输消息包括写请求消息和读响应消息。 本发明提供的 VDI 文件传输的装置, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
需要说明的是, 上述 VDI文件传输的装置可以为路由器、 交换机, 当然还可以为实现上面所述功能的其他网络设备, 本发明对此不作限定。
值得注意的是, 上述 VDI文件传输的装置中, 所包括的各个单元只 是按照功能逻辑进行划分的, 但并不局限于上述的划分, 只要能够实现 相应的功能即可; 另外, 各功能单元的具体名称也只是为了便于相互区 分, 并不用于限制本发明的保护范围。 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分 步骤是可以通过程序来指令相关的硬件完成, 所述的程序可以存储于一 种计算机可读存储介质中, 所述存储介质可以是只读存储器、 磁盘或光 盘等。
图 6为本发明实施例提供的 VDI文件传输的装置的示意图。 请参考 图 6 , 本发明实施例的 VDI文件传输的装置 600可为任何具有路由功能 的网络设备, 例如路由器、 交换机等。 VDI文件传输的装置 600包括: 处理器 (processor)610 , 通信接口 (Communications Interface)620 , 存 储器(memory)630 , 总线 640。 处理器 610 , 通信接口 620 , 存储器 630通过总线 640完成相互间的 通信。
通信接口 620 , 用于与外部网元通信, 比如路由器、 用户设备、 服 务器等。
处理器 610 , 用于执行程序 632。 具体地, 程序 632可以包括程序代码, 所述程序代码包括计算机操 作指令。
处理器 610可能是一个中央处理器 CPU,或者是特定集成电路 ASIC ( Application Specific Integrated Circuit ) , 或者是被配置成实施本发明实 施例的一个或多个集成电路。 存储器 630, 用于存放程序 632。 存储器 630可能包含高速 RAM存 储器, 也可能还包括非易失性存储器 (non-volatile memory ) , 例如至少 一个磁盘存储器。程序 632具体可以包括接收单元 41、处理单元 42、 DRE 单元 43和发送单元 44。 其中: 接收单元 41 , 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文 件传输消息。
处理单元 42, 用于将所述 VDI文件传输消息从所述接收单元 41接 收的 VDI消息中分离出来。
所述处理单元 42, 还用于解析所述分离出来的 VDI文件传输消息, 获得所述 VDI文件传输消息的数据部分。
DRE单元 43 , 用于将所述处理单元 42获得的所述 VDI文件传输消 息的数据部分进行压缩。
发送单元 44, 用于发送包含经所述 DRE单元 43压缩的数据的 VDI 文件传输消息, 其中所述经压缩的数据来源于所述数据部分。
在一个实施例中, 可选地, 所述处理单元 42可包括: 获取模块, 用于获取 VDI文件传输通道号。 其中, 所述获取模块可 具体用于: 获取 VDI协商消息, 所述 VDI协商消息中包含有 VDI文件传 输通道号; 根据所述 VDI协商消息, 获取 VDI文件传输通道号。
分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。 在一个实施例中, 所述 VDI文件传输消息可包括写请求消息和读响 应消息。
需指出的是, 程序 632中各单元的具体实现与图 4所示实施例中的 才目 t才目同。
本发明提供的 VDI 文件传输的装置, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
图 7为本发明实施例提供的 VDI文件传输的装置的示意图。 请参考 图 7 , 本发明实施例的 VDI文件传输的装置 700可能任何具有路由功能 的网络设备, 例如路由器、 交换机等。 VDI文件传输的装置 700包括: 处理器 (processor)710 , 通信接口 (Communications Interface)720 , 存 储器(memory)730 , 总线 740。 处理器 710 , 通信接口 720 , 存储器 730通过总线 740完成相互间的 通信。
通信接口 720 , 用于与外部网元通信, 比如路由器、 用户设备、 服 务器等。
处理器 710 , 用于执行程序 732。 具体地, 程序 732可以包括程序代码, 所述程序代码包括计算机操 作指令。
处理器 710可能是一个中央处理器 CPU,或者是特定集成电路 ASIC ( Application Specific Integrated Circuit ) , 或者是被配置成实施本发明实 施例的一个或多个集成电路。 存储器 730 , 用于存放程序 732。 存储器 730可能包含高速 RAM存 储器, 也可能还包括非易失性存储器 (non-volatile memory ) , 例如至少 一个磁盘存储器。程序 732具体可以包括接收单元 51、处理单元 52、 DRE 单元 53和发送单元 54。 其中:
接收单元 51 , 用于接收包含经压缩的数据的 VDI文件传输消息, 其 中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部 分;
处理单元 52 , 用于对接收单元 51接收的所述 VDI文件传输消息进 行解析; 获得所述经压缩的数据;
DRE单元 53 , 用于用于将所述处理单元 52获得的所述经压缩的数 据进行解压缩, 以获得解压缩后的数据; 发送单元 53 , 用于发送包含经所述 DRE单元 53解压缩后的数据的 VDI文件传输消息。
其中, 所述 VDI文件传输消息包括写请求消息和读响应消息。 需指出的是, 程序 732中各单元的具体实现与图 5所示实施例中的 才目 t才目同。 本发明提供的 VDI 文件传输的装置, 通过将 VDI文件传输消息从 VDI消息中分离出来, 并从所述 VDI文件传输消息中分离出数据部分, 进而对所述数据部分进行压缩并发送, 能够保证压缩的都是 VDI文件传 输消息中的数据部分的内容, 由于在进行数据压缩时, 没有其他的 VDI 消息, 也没有 VDI文件传输消息中的数据头, 因而在 VDI文件传输过程 中能够取得较高的压缩率。
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本 发明的保护范围应以权利要求的保护范围为准。

Claims

权 利 要 求 书
1. 一种虚拟桌面基础设施 VDI文件传输的方法, 其特征在于, 所 述方法包括:
接收 VDI消息, 所述 VDI消息至少包括 VDI文件传输消息; 将所述 VDI文件传输消息从所述 VDI消息中分离出来;
解析所述分离出来的 VDI文件传输消息;
获得所述 VDI文件传输消息的数据部分;
将所述数据部分进行压缩并发送包含经压缩的数据的 VDI文件传输 消息, 其中所述经压缩的数据来源于所述数据部分。
2.如权利要求 1所述的方法,其特征在于, 所述将 VDI文件传输消息 从 VDI消息中分离出来具体为:
获取 VDI文件传输通道号;
根据所述获取的 VDI文件传输通道号,将 VDI文件传输消息从所述 VDI消息中分离出来。
3.如权利要求 2所述的方法,其特征在于, 所述获取 VDI文件传输通 道号具体为:
获取 VDI协商消息,所述 VDI协商消息中包含有 VDI文件传输通道 号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。
4.如权利要求 1-3中任一项所述的方法, 其特征在于,所述 VDI文件 传输消息包括写请求消息和读响应消息。
5. 一种虚拟桌面基础设施 VDI文件传输的方法, 其特征在于, 所 述方法包括:
接收包含经压缩的数据的 VDI文件传输消息, 其中, 所述经压缩的 数据来源于从 VDI文件传输消息中分离出来的数据部分;
对接收的所述 VDI文件传输消息进行解析;
获得所述经压缩的数据;
将所述经压缩的数据进行解压缩, 以获得解压缩后的数据; 发送包含所述解压缩后的数据的 VDI文件传输消息。
6.如权利要求 5所述的方法, 其特征在于, 所述 VDI文件传输消息 包括写请求消息和读响应消息。
7. 一种虚拟桌面基础设施 VDI文件传输的装置, 其特征在于, 所 述装置包括:
接收单元, 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文件传 输消息;
处理单元, 用于将所述 VDI文件传输消息从所述接收单元接收的所 述 VDI消息中分离出来;
所述处理单元, 还用于解析所述分离出来的 VDI文件传输消息, 获 得所述 VDI文件传输消息的数据部分;
数据冗余消除 DRE单元,用于将所述处理单元获得的所述 VDI文件 传输消息的数据部分进行压缩;
发送单元,用于发送包含经所述 DRE单元压缩的数据的 VDI文件传 输消息, 其中所述经压缩的数据来源于所述数据部分。
8.如权利要求 7所述的装置,其特征在于, 所述处理单元包括: 获取模块, 用于获取 VDI文件传输通道号;
分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。
9.如权利要求 8所述的装置,其特征在于, 所述获取模块具体用于: 获取 VDI协商消息,所述 VDI协商消息中包含有 VDI文件传输通道 号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。
10.如权利要求 7-9中任一项所述的装置, 其特征在于, 所述 VDI文 件传输消息包括写请求消息和读响应消息。
11. 一种虚拟桌面基础设施 VDI文件传输的装置, 其特征在于, 所 述装置包括:
接收单元, 用于接收包含经压缩的数据的 VDI文件传输消息, 其中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部分; 处理单元,用于对接收单元接收的所述 VDI文件传输消息进行解析; 获得所述经压缩的数据;
数据冗余消除 DRE单元, 用于将所述处理单元获得的所述经压缩的 数据进行解压缩, 以获得解压缩后的数据;
发送单元, 用于发送包含经所述 DRE 单元解压缩后的数据的 VDI 文件传输消息。
12.如权利要求 1 1 所述的装置, 其特征在于, 所述 VDI文件传输消 息包括写请求消息和读响应消息。
13. 一种虚拟桌面基础设施 VDI文件传输的装置, 其特征在于, 所 述装置包括处理器, 通信接口, 存储器和总线;
其中, 处理器、 通信接口、 存储器通过总线完成相互间的通信; 所述通信接口, 用于与外部网元通信;
所述存储器, 用于存放程序;
所述处理器, 用于执行所述程序;
其中, 所述程序包括接收单元、 处理单元、 数据冗余消除 DRE单元 和发送单元;
接收单元, 用于接收 VDI消息, 所述 VDI消息至少包括 VDI文件传 输消息;
处理单元, 用于将所述 VDI文件传输消息从所述接收单元接收的所 述 VDI消息中分离出来;
所述处理单元, 还用于解析所述分离出来的 VDI文件传输消息, 获 得所述 VDI文件传输消息的数据部分;
DRE单元, 用于将所述处理单元获得的所述 VDI文件传输消息的数 据部分进行压缩;
发送单元,用于发送包含经所述 DRE单元压缩的数据的 VDI文件传 输消息, 其中所述经压缩的数据来源于所述数据部分。
14.如权利要求 13所述的装置,其特征在于, 所述处理单元包括: 获取模块, 用于获取 VDI文件传输通道号;
分离模块, 用于根据所述获取模块获取的 VDI文件传输通道号, 将 VDI文件传输消息从 VDI消息中分离出来。
15.如权利要求 14所述的装置,其特征在于, 所述获取模块具体用于: 获取 VDI协商消息,所述 VDI协商消息中包含有 VDI文件传输通道 号;
根据所述 VDI协商消息, 获取 VDI文件传输通道号。
16.如权利要求 13-15 中任一项所述的装置, 其特征在于, 所述 VDI 文件传输消息包括写请求消息和读响应消息。
17. 一种虚拟桌面基础设施 VDI文件传输的装置, 其特征在于, 所 述装置包括处理器, 通信接口, 存储器和总线;
其中, 处理器、 通信接口、 存储器通过总线完成相互间的通信; 所述通信接口, 用于与外部网元通信;
所述存储器, 用于存放程序;
所述处理器, 用于执行所述程序;
其中, 所述程序包括接收单元、 处理单元、 数据冗余消除 DRE单元 和发送单元;
接收单元, 用于接收包含经压缩的数据的 VDI文件传输消息, 其中, 所述经压缩的数据来源于从 VDI文件传输消息中分离出来的数据部分; 处理单元,用于对接收单元接收的所述 VDI文件传输消息进行解析; 获得所述经压缩的数据;
DRE单元, 用于将所述处理单元获得的所述经压缩的数据进行解压 缩, 以获得解压缩后的数据;
发送单元, 用于发送包含经所述 DRE 单元解压缩后的数据的 VDI 文件传输消息。
18.如权利要求 17所述的装置, 其特征在于, 所述 VDI文件传输消 息包括写请求消息和读响应消息。
PCT/CN2012/083625 2012-10-26 2012-10-26 一种vdi文件传输的方法和装置 WO2014063367A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201280002158.1A CN104137472A (zh) 2012-10-26 2012-10-26 一种vdi文件传输的方法和装置
PCT/CN2012/083625 WO2014063367A1 (zh) 2012-10-26 2012-10-26 一种vdi文件传输的方法和装置
EP12874363.0A EP2784976A4 (en) 2012-10-26 2012-10-26 VDI FILE TRANSMISSION PROCESS AND DEVICE
US14/333,227 US20140330798A1 (en) 2012-10-26 2014-07-16 VDI File Transfer Method and Apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/083625 WO2014063367A1 (zh) 2012-10-26 2012-10-26 一种vdi文件传输的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/333,227 Continuation US20140330798A1 (en) 2012-10-26 2014-07-16 VDI File Transfer Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2014063367A1 true WO2014063367A1 (zh) 2014-05-01

Family

ID=50543909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/083625 WO2014063367A1 (zh) 2012-10-26 2012-10-26 一种vdi文件传输的方法和装置

Country Status (4)

Country Link
US (1) US20140330798A1 (zh)
EP (1) EP2784976A4 (zh)
CN (1) CN104137472A (zh)
WO (1) WO2014063367A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220417319A1 (en) * 2021-06-28 2022-12-29 Dell Products L.P. System and method for edge analytics in a virtual desktop environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988512A (zh) * 2005-12-23 2007-06-27 国际商业机器公司 支持基于应用的多媒体消息发送接收的设备、方法和系统
US20110224811A1 (en) * 2010-03-09 2011-09-15 Avistar Communications Corporation Scalable high-performance interactive real-time media architectures for virtual desktop environments
CN101252620B (zh) * 2008-03-21 2012-03-07 中兴通讯股份有限公司 一种监听ip域通信的方法与系统
CN102695094A (zh) * 2012-05-15 2012-09-26 福建升腾资讯有限公司 Vdi环境下软硬件一体化音视频重定向的方法

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2156642B1 (en) * 2007-03-12 2013-05-22 Citrix Systems, Inc. Systems and methods for using compression histories to improve network performance
CN102158553B (zh) * 2011-03-31 2017-04-12 华为技术有限公司 用于远程桌面的播放多媒体文件的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988512A (zh) * 2005-12-23 2007-06-27 国际商业机器公司 支持基于应用的多媒体消息发送接收的设备、方法和系统
CN101252620B (zh) * 2008-03-21 2012-03-07 中兴通讯股份有限公司 一种监听ip域通信的方法与系统
US20110224811A1 (en) * 2010-03-09 2011-09-15 Avistar Communications Corporation Scalable high-performance interactive real-time media architectures for virtual desktop environments
CN102695094A (zh) * 2012-05-15 2012-09-26 福建升腾资讯有限公司 Vdi环境下软硬件一体化音视频重定向的方法

Also Published As

Publication number Publication date
CN104137472A (zh) 2014-11-05
US20140330798A1 (en) 2014-11-06
EP2784976A1 (en) 2014-10-01
EP2784976A4 (en) 2015-03-11

Similar Documents

Publication Publication Date Title
JP5792850B2 (ja) ネットワーク上でのファイルフォルダ送信
US9258349B2 (en) Method and apparatus of performing remote computer file exchange
US11757973B2 (en) Technologies for accelerated HTTP processing with hardware acceleration
US8868575B2 (en) Method and system for transformation of logical data objects for storage
JP2010529704A (ja) エンドポイント間認証状態を保ったデータ・パケットの圧縮
CN102638565A (zh) 一种基于云架构的手机云加密备份与恢复方法
WO1995010150A1 (en) Method and apparatus for connecting a node to a wireless network using a standard protocol
CN104219298B (zh) 集群系统及其数据备份的方法
CN111954028B (zh) 音频数据的投屏方法、装置、设备及存储介质
WO2015168840A1 (zh) 一种数据处理方法及装置
US9313291B2 (en) Systems and methods for transparent communication with bandwidth conservation and HTTP caching
JP2001092752A (ja) 画像データ配信システムおよびそれに用いる記録媒体
KR101724231B1 (ko) 이더넷 헤더 압축을 통한 네트워크 전송 효율 향상 방법 및 장치
WO2012163059A1 (zh) 设备重定向的数据传输的方法、装置及系统
WO2014063367A1 (zh) 一种vdi文件传输的方法和装置
CN102999626B (zh) 一种数据压缩/解压缩装置及其方法、系统
WO2013078614A1 (zh) 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统
WO2024036889A1 (zh) 一种镜像分发方法、系统和设备
CN111988264A (zh) 区块链与网络系统、数据接收与发送方法及设备
JP6212288B2 (ja) プッシュ配信サーバ、受信端末、受信プログラム及びシステム
CN103034702B (zh) 用于数据压缩/解压缩的装置、方法和系统
CN114221950A (zh) 上传配置文件的方法、下载配置文件的方法及装置
CN117135156B (zh) 一种基于发布/订阅消息协议的边缘集群纳管方法、系统、计算机可读存储介质和电子设备
TWI405439B (zh) 資料下載和上傳的實現方法、網路節點及通信系統
KR101181478B1 (ko) 데이터 전송 장치 및 방법, 데이터 수신 장치 및 방법, 그리고 데이터 송수신 시스템

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2012874363

Country of ref document: EP

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12874363

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE