Unidirectional agent method and system based on DPDK

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

Active Publication Date: 2017-12-15
CHINANETCENT TECH
View PDF5 Cites 4 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

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
  • Unidirectional agent method and system based on DPDK
  • Unidirectional agent method and system based on DPDK
  • Unidirectional agent 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 unidirectional agent method and a unidirectional agent system based on DPDK. The method comprises the steps as follows: a first agent end is guided by a bootstrap protocol according to a boundary route and adopts a DPDK to receive a response message of a response end; the first agent end modifies original message header information of the response message to be new message header information, meanwhile builds a mapping relation between the original message header information and the new message header information, and sends the modified response message and the mapping relation to a second agent end according to the new message header information; and the second agent end recovers the response message according to the mapping relation, and sends the recovered response message to a request end according to the original message header information. The method and the system provided by the invention do not change the original connection relation between the request end and the response end, have the advantages of high performance, free of requirement on resource connection and small memory footprint, well avoids the problems of exhausting of port, memory and connection resources, and also solves the problem of connection time and request response time distortion.

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
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