CN102739795A - Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method - Google Patents
Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method Download PDFInfo
- Publication number
- CN102739795A CN102739795A CN2012102289727A CN201210228972A CN102739795A CN 102739795 A CN102739795 A CN 102739795A CN 2012102289727 A CN2012102289727 A CN 2012102289727A CN 201210228972 A CN201210228972 A CN 201210228972A CN 102739795 A CN102739795 A CN 102739795A
- Authority
- CN
- China
- Prior art keywords
- machine
- gateway server
- packet
- virtual machine
- data forwarding
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000008569 process Effects 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000013507 mapping Methods 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 230000007246 mechanism Effects 0.000 abstract description 2
- 238000000926 separation method Methods 0.000 abstract 1
- 239000003795 chemical substances by application Substances 0.000 description 11
- 230000002093 peripheral effect Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a network proxy data forwarding system applied to a virtual environment and a network proxy data forwarding method, wherein the method comprises the following steps that: a transparent gateway program is installed on a designated gateway server; and data of all virtual machines and terminals is forwarded to a destination virtual machine/terminal by a gateway server. In embodiments according to the invention, an proxy forwarding mechanism is added for network transmission components used by mappings of devices and ports of a virtual desktop environment, and all data streams are forwarded through the unified proxy server, which enables the unified proxy server to be capable of supporting a local area network having a separation zone, even enables the unified proxy server to ultimately be applied to a wide area network environment, thereby enlarging use range of mapping technologies of the devices and the ports.
Description
Technical field
The present invention relates to communication technical field, relate in particular to the network agent data forwarding system and the method for data flow in a kind of virtualized environment.
Background technology
Peripheral hardware and port mapping technology, the technology of promptly in the desktop virtual USB peripheral hardware, serial ports and the parallel port device redirection at terminal being used in the virtual desktop.
In the virtualized environment; Use the I/O that peripheral hardware the provided service on terminal thin client or the PC through peripheral hardware and port mapping technology; As USB device, serial ports and and jaws equipment etc.; This makes that the user experience of virtual desktop environment and conventional table environment is more approaching, and the user can use various peripheral hardwares easily, easily.
In the conventional art; Virtual desktop and terminal are directly to be communicated with, and without perhaps agency's the forwarding of any gateway, though network transmission efficiency is very high like this; But when running into more complicated network application scene such as the local area network (LAN) that has isolated area or wide area network, will feel simply helpless.
Summary of the invention
The object of the present invention is to provide a kind of network agent data forwarding system and method that is applied to virtualized environment; Transmit all data flow through unified acting server; Support complicated network application scene, enlarge the scope of application of peripheral hardware and port mapping technology.
The objective of the invention is to realize through following technical scheme:
A kind of network agent data forwarding system that is applied to virtualized environment comprises: virtual machine, gateway server and terminating machine, and said virtual machine is connected with gateway server respectively with terminating machine;
Said virtual machine is used at need when terminating machine sends data, the packet that carries target terminal machine address information being sent to said gateway server; Receive gateway server and transmit the packet of coming;
Said gateway server is equipped with the transparent gateway program, as the third party agency of virtual machine and terminating machine, is used for transmitting all packets according to the target address information of packet;
Said terminating machine is used at need when virtual machine sends data, the packet that carries target virtual machine address information being sent to said gateway server; Receive gateway server and transmit the packet of coming.
Wherein, said virtual machine and terminating machine quantity are at least one.
A kind of network agent data forwarding method that is applied to virtualized environment comprises:
The transparent gateway program is installed on the gateway server of appointment;
For the data of all virtual machines and the data of terminating machine, be forwarded to purpose virtual machine/terminating machine by said gateway server.
Wherein, said gateway server with the process that the packet of virtual machine is forwarded to the purpose terminating machine is:
Virtual machine is connected with said gateway server when sending data and control request, to its address of sending packet and the target terminal machine being provided in this packet;
Gateway server receives the request of self virtualizing machine, parses the address of the target terminal machine in the packet, establishes a connection to the target terminal machine then and said packet is sent to this target terminal machine, waits for the return results of terminal assembly afterwards.
Wherein, said gateway server also comprises the process that the packet of virtual machine is forwarded to the purpose terminating machine:
Handle after receiving the packet that gateway server transmits at the terminal, returns result to gateway server, carries the address of target virtual machine in the result;
Gateway server is liberated from the obstruction of waiting for return results, and the result that the terminal is returned returns to virtual machine.
Compared with prior art, the embodiment of the invention has following beneficial effect:
In the embodiment of the invention; For forwarding mechanism is acted on behalf of in the Network Transmission assembly interpolation that the mapping of equipment and port in the virtual desktop environment is used; Transmit all data flow through unified acting server; Make its support have the local area network (LAN) of isolated area, even can finally apply it in the wan environment and go, thereby strengthen the scope of application of this equipment and port mapping technology.
Description of drawings
Fig. 1 is the network agent repeater system structure chart that is applied to the data flow of virtualized environment in the embodiment of the invention.
Fig. 2 is the network agent retransmission method flow chart that is applied to the data flow of virtualized environment in the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
See also Fig. 1, the network agent repeater system that is applied to the data flow of virtualized environment in the present embodiment comprises: at least one virtual machine, transparent gateway, at least one terminating machine.
The definition of transparent gateway: use the third party agency between two nodes in the network communication, and this proxy gateway is transparent existence for the node as server, this proxy gateway is exactly a transparent gateway so.In the present embodiment, using transparent gateway comes the data flow between virtual machine and the terminating machine is transmitted.
See also Fig. 2, the network agent retransmission method of the data flow of above-mentioned network agent repeater system may further comprise the steps in the present embodiment:
201, transparent gateway program (Socket agency) is installed to the gateway server of appointment, the data of all afterwards terminals and virtual machine end all will be accomplished data flow through this gateway server and transmit.
When 202, sending data and control request in the virtual machine, the target machine of connection changes to gateway server address specified in the step 201, and the address of target terminal machine is provided in packet.
203, gateway server receives the request of self virtualizing machine assembly, parses the address of the target terminal machine in the packet, establishes a connection to the target terminal machine then and former request package is sent, and waits for the return results of terminal assembly at last.
204, identical in terminal assembly and the conventional art, do not need extra operation, only need to handle the request that receives and the result returned getting final product.
205, gateway program is liberated from the obstruction of waiting for return results, and the result that terminal assembly is returned returns to the virtual machine assembly.
206, identical in behavior after the virtual machine assembly and the conventional art: that the request results of returning is reacted to operating system and finally fed back to the user.
The method of above-mentioned network agent data forwarding can be applied to such as the local area network (LAN) that has isolated area equipment and port mapping technology, or even goes in the more complicated network application scene such as wide area network, promotes this The Application of Technology scope greatly.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. a network agent data forwarding system that is applied to virtualized environment is characterized in that, comprising: virtual machine, gateway server and terminating machine, and said virtual machine is connected with gateway server respectively with terminating machine;
Said virtual machine is used at need when terminating machine sends data, the packet that carries target terminal machine address information being sent to said gateway server; Receive gateway server and transmit the packet of coming;
Said gateway server is equipped with the transparent gateway program, as the third party agency of virtual machine and terminating machine, is used for transmitting all packets according to the target address information of packet;
Said terminating machine is used at need when virtual machine sends data, the packet that carries target virtual machine address information being sent to said gateway server; Receive gateway server and transmit the packet of coming.
2. be applied to the network agent data forwarding system of virtualized environment according to claim 1, it is characterized in that, said virtual machine and terminating machine quantity are at least one.
3. network agent data forwarding method that is applied to virtualized environment is characterized in that this method comprises:
The transparent gateway program is installed on the gateway server of appointment;
For the data of all virtual machines and the data of terminating machine, be forwarded to purpose virtual machine/terminating machine by said gateway server.
4. like the said network agent data forwarding method that is applied to virtualized environment of claim 3, it is characterized in that said gateway server with the process that the packet of virtual machine is forwarded to the purpose terminating machine is:
Virtual machine is connected with said gateway server when sending data and control request, to its address of sending packet and the target terminal machine being provided in this packet;
Gateway server receives the request of self virtualizing machine, parses the address of the target terminal machine in the packet, establishes a connection to the target terminal machine then and said packet is sent to this target terminal machine, waits for the return results of terminal assembly afterwards.
5. like the said network agent data forwarding method that is applied to virtualized environment of claim 4, it is characterized in that said gateway server also comprises the process that the packet of virtual machine is forwarded to the purpose terminating machine:
Handle after receiving the packet that gateway server transmits at the terminal, returns result to gateway server, carries the address of target virtual machine in the result;
Gateway server is liberated from the obstruction of waiting for return results, and the result that the terminal is returned returns to virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102289727A CN102739795A (en) | 2012-07-04 | 2012-07-04 | Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102289727A CN102739795A (en) | 2012-07-04 | 2012-07-04 | Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102739795A true CN102739795A (en) | 2012-10-17 |
Family
ID=46994566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102289727A Pending CN102739795A (en) | 2012-07-04 | 2012-07-04 | Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102739795A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103209190A (en) * | 2013-04-23 | 2013-07-17 | 深圳市京华科讯科技有限公司 | Desktop all-in-one machine access gateway and implementation method thereof |
CN109710379A (en) * | 2018-12-24 | 2019-05-03 | 广州供电局有限公司 | Virtual operation management method, apparatus, system, computer equipment and storage medium |
CN109918171A (en) * | 2019-02-22 | 2019-06-21 | 上海映云信息技术有限公司 | A kind of standard communication method based on QEMU-KVM hardware device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237468A (en) * | 2007-01-30 | 2008-08-06 | 株式会社日立制作所 | Relay device, program and relay method |
CN101924699A (en) * | 2010-08-05 | 2010-12-22 | 福建星网锐捷网络有限公司 | Message forwarding method, system and provider edge equipment |
CN102075537A (en) * | 2011-01-19 | 2011-05-25 | 华为技术有限公司 | Method and system for realizing data transmission between virtual machines |
CN102480404A (en) * | 2010-11-19 | 2012-05-30 | 财团法人工业技术研究院 | Data center network system and packet transmission method thereof |
-
2012
- 2012-07-04 CN CN2012102289727A patent/CN102739795A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237468A (en) * | 2007-01-30 | 2008-08-06 | 株式会社日立制作所 | Relay device, program and relay method |
CN101924699A (en) * | 2010-08-05 | 2010-12-22 | 福建星网锐捷网络有限公司 | Message forwarding method, system and provider edge equipment |
CN102480404A (en) * | 2010-11-19 | 2012-05-30 | 财团法人工业技术研究院 | Data center network system and packet transmission method thereof |
CN102075537A (en) * | 2011-01-19 | 2011-05-25 | 华为技术有限公司 | Method and system for realizing data transmission between virtual machines |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103209190A (en) * | 2013-04-23 | 2013-07-17 | 深圳市京华科讯科技有限公司 | Desktop all-in-one machine access gateway and implementation method thereof |
CN109710379A (en) * | 2018-12-24 | 2019-05-03 | 广州供电局有限公司 | Virtual operation management method, apparatus, system, computer equipment and storage medium |
CN109918171A (en) * | 2019-02-22 | 2019-06-21 | 上海映云信息技术有限公司 | A kind of standard communication method based on QEMU-KVM hardware device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101207604B (en) | Virtual machine system and communication processing method thereof | |
CN102077194B (en) | Network controller based pass-through communication mechanism between local host and management controller | |
CN103259703B (en) | It is applicable to the real-time bus cross-safety zone communication means of power industry | |
US8892723B2 (en) | Method and apparatus for enabling communication between iSCSI devices and SAS devices | |
US10375193B2 (en) | Source IP address transparency systems and methods | |
US20100217878A1 (en) | Method, system, and program for enabling communication between nodes | |
WO2014082577A1 (en) | Remote debugging method and system | |
JP4764737B2 (en) | Network system, terminal and gateway device | |
CN110999265A (en) | Managing network connectivity between cloud computing service endpoints and virtual machines | |
JP2005027289A5 (en) | ||
CN105284083B (en) | The methods, devices and systems that OpenFlow equipment is communicated with IP network equipment | |
CN102984237B (en) | A kind of data transmission system and method connecting based on socket | |
CN105162674A (en) | Method and network card for physical machine to access to virtual network | |
JP5506932B2 (en) | Method, system and communication terminal for realizing mutual communication between new network and Internet | |
CN108093041B (en) | Single-channel VDI proxy service system and implementation method | |
CN102185766A (en) | Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server | |
WO2015068255A1 (en) | Network system, communication control device, and communication method | |
CN103905510A (en) | Processing method and background server for data package | |
JP2007228294A5 (en) | ||
CA2533543A1 (en) | System and method for managing communication for component applications | |
CN102710518B (en) | The method and system that NAT penetrates are realized under wide area network | |
CN102739795A (en) | Network proxy data forwarding system applied to virtual environment and network proxy data forwarding method | |
EP1993268A2 (en) | Method, system and relay device for transmitting packet | |
WO2016206562A1 (en) | Method, device and system for configuring user equipment forwarding table | |
CN103701626A (en) | Method and equipment for acquiring bandwidth information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121017 |