Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Proxy server and data message processing method thereof

A proxy server and data processing technology, which is applied in the field of proxy server and its processing data message, can solve problems such as high soft interrupt, system performance bottleneck, and complex data message, so as to avoid deadlock, improve processing efficiency and high efficiency Effect

Inactive Publication Date: 2019-12-20
CHINANETCENT TECH
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The inventor of this patent application found by studying the existing data message processing process that the prior art has at least the following problems: first, it is more complicated to process data messages through the network protocol stack of the kernel, and the Netfilter module of the kernel processes data messages The efficiency of the text is low, and the data needs to be copied and switched between the kernel and the user space multiple times in the whole process, which not only makes compiling and debugging cumbersome, but also reduces the efficiency of data processing; secondly, the kernel uses interrupt When the concurrent data is large, it is easy to have very high soft interrupts and occupy system resources, which will become the performance bottleneck of the system; finally, in order to prevent resource preemption, the network protocol stack of the kernel needs to Lock the Process Control Block (PCB), which also affects the processing efficiency of data packets
[0004] It can be seen that the above reasons may lead to a decrease in the performance of the proxy server.

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
  • Proxy server and data message processing method thereof
  • Proxy server and data message processing method thereof
  • Proxy server and data message processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0031] figure 2 It is a flowchart of a method for processing data packets by a proxy server in Embodiment 1 of the present invention.

[0032] In the embodiment of the present invention, the proxy server can be a hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP) proxy server, a firewall security session transfer protocol (Protocol for Sessionstraversal across firewall securely, Socks) proxy server, a virtual private network (VirtualPrivate Network, VP...

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 provides a data message processing method by a proxy server, which comprises the following steps that: the proxy server receives a first request message through a network card driver andprovides a user space for the proxy server; the user space analyzes the first request message through a user mode network protocol stack to obtain first request data, and provides the first request data to an agent process of the user space; the agent process generates second request data according to an agent strategy and sends the second request data to the user mode network protocol stack; andthe user mode network protocol stack encapsulates the second request data to obtain a second request message, and sends the second request message to a network card driver of a proxy server. According to the proxy server and the data message processing method thereof provided by the invention, the performance of the proxy server can be improved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a proxy server and a method for processing data packets. Background technique [0002] Proxy servers are widely used in the Internet, and are mainly set between personal networks and Internet service providers to act as agents for clients to obtain network information. Most of the existing proxy servers run on the Linux operating system, and process and send and receive data packets through the kernel. figure 1 Shown is a schematic diagram of processing data packets by an existing proxy server. The network card sends the received data message to the network protocol stack in the kernel space for processing, and then copies the processed data message to the proxy process of the user space through the kernel context switch. The message is copied to the kernel, processed by the network protocol stack in the kernel space, and then sent to the network card. [0003] The invent...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/2876H04L69/30H04L67/56
Inventor 程杜勇
Owner CHINANETCENT TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products