One-way proxy method and system based on dpdk

A one-way, purposeful technology, applied in the field of computer communication, it can solve the problems of slow server response, affect performance, port exhaustion, etc., to solve the problem of connection time and response time distortion, no need for connection resources, and less memory usage. Effect

Inactive Publication Date: 2020-09-18
CHINANETCENT TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above-mentioned traditional proxy method, because the proxy server needs to participate and establish connections, in the scenario with a high number of connections, the frequent establishment and release of connections greatly affects the performance and is prone to port exhaustion; At the same time, for each connection, the system needs to create a connection tracking item and allocate some memory resources when processing it, which is prone to exhaustion of memory and connection resources
[0005] Moreover, in the usual deployment scenarios of traditional proxies, the proxy server and the client are usually a LAN, and its network delay will be much smaller than the WAN network delay between the client and the server, because in the proxy scenario, It is actually the proxy server that completes the connection establishment with the client, which will cause the connection establishment speed perceived by the client to be faster. However, because the response content still needs to be sent by the server after receiving the request, the client will eventually perceive the connection. The establishment speed is faster, but the illusion of slower server response speed, resulting in distortion of connection time and response time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • One-way proxy method and system based on dpdk
  • One-way proxy method and system based on dpdk
  • One-way proxy method and system based on dpdk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The embodiment of the present invention provides a DPDK-based one-way proxy method, see figure 1 , including the following steps:

[0049] S101: The proxy end guides according to the border routing guidance protocol and uses the DPDK to receive the response message from the response end.

[0050] In actual application scenarios, since the user's request traffic is often characterized by small traffic and little optimization significance, it is only necessary to optimize the response traffic in response to the request, which can significantly improve bandwidth utilization and user experience.

[0051] In this embodiment, the border routing guidance protocol is OSPF (Open Shortest Path First, Open Shortest Path First) protocol or BGP (Border Gateway Protocol, Border Gateway Protocol).

[0052]Specifically, one end of the agent and the corresponding switch are deployed and run with border routing guidance protocol services, such as OSPF protocol or BGP. The above border r...

Embodiment 2

[0091] see image 3 , the embodiment of the present invention provides a DPDK-based one-way proxy system, which can implement the DPDK-based one-way proxy method provided in Embodiment 1, including proxy one end 31 and proxy two end 32, and the proxy one end 31 includes bootstrap Module 311 and configuration module 312, the proxy two-terminal 32 includes a restoration module 321;

[0092] The guidance module 311 is used to guide and use DPDK to receive the response message of the response end according to the border routing guidance protocol;

[0093] The configuration module 312 is configured to modify the original header information of the response message as new header information, and simultaneously establish a mapping relationship between the original header information and the new header information, and modify the modified header information according to the new header information. The response message and the mapping relationship are sent to the agent two ends;

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a DPDK-based one-way proxy method and system, the method comprising: the proxy end guides according to the border routing guidance protocol and uses DPDK to receive the response message of the response terminal; the proxy end modifies the response message of the response message The original header information is new header information, and the mapping relationship between the original header information and the new header information is established at the same time, and the modified response message and the mapping relationship are sent to the agent 2 according to the new header information end; the proxy end restores the response message according to the mapping relationship, and sends the restored response message to the requesting end according to the original header information. The present invention does not change the original connection relationship between the requesting end and the responding end, has the advantages of high performance, no need for connection resources, and small memory usage, well avoids the problem of exhaustion of resources such as ports, memory, and connections, and also solves the problem of connection Time and request response time distortion issues.

Description

technical field [0001] The invention relates to the technical field of computer communication, in particular to a DPDK-based one-way agent method and system. Background technique [0002] In the current network environment, the redundancy of network traffic is high, and users have higher and higher requirements for network response speed. It is often necessary to accelerate user traffic, redundant deletion and other optimization techniques to improve bandwidth utilization and user experience. In order to accelerate or optimize user traffic, the traffic is usually directed to an acceleration or optimization environment through a proxy or other means for processing. [0003] In the traditional proxy mode, the proxy forwards the request message by redirecting the user. In actual implementation, the client establishes a connection with the proxy server, and the proxy server establishes a connection with the request response server. It needs to be fully transparent to users and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L12/781H04L12/721H04L45/52
CPCH04L45/38H04L45/52H04L67/56
Inventor 林鹏陈迅陆兆新林明惶
Owner CHINANETCENT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products