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

An Optimization Method of Connection Tracking under Netfilter Framework

A technology of connection tracking and optimization method, which is applied in the field of network communication, can solve problems such as difficult handling, poor signal quality, disconnection, etc., and achieve the effect of optimizing exception handling and preventing confusion

Active Publication Date: 2016-05-11
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1) When multi-user BT downloads, users cannot access the Internet normally;
[0004] 2) When multi-user BT downloads, the quality of services such as voice and video for users is significantly reduced or disconnected;
[0005] 3) When multi-user BT downloads, users or bureaus cannot manage CPE normally through the network;
[0006] 4) It is difficult for network CPE development users to deal with a large number of abnormal problems initiating new connections under the netfilter architecture
This random selection release method is no longer suitable for the current actual environment where BT downloads are becoming more and more common, especially the promotion of multi-network integration. The signal quality is poor and the flow is cut off; ③Normal Internet access cannot respond, and resources with good download speed are not well reserved

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
  • An Optimization Method of Connection Tracking under Netfilter Framework
  • An Optimization Method of Connection Tracking under Netfilter Framework
  • An Optimization Method of Connection Tracking under Netfilter Framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0043] (1) Optimization and improvement of the current connection tracking number nf_conntrack_count statistical method:

[0044] As shown in Table 1 below, "The increase statistics of nf_conntrack_count are changed from applying for connection tracking callback points to applying for connection tracking callback points, and increasing the limit on the number of applications already applied."

[0045] Table 1

[0046] Connection tracking number nf_conntrack_count statistical method statistical change standard kernel mode Application connection tracking callback point increase ...

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 method for optimizing connection tracking under a netfilter frame. The method comprises a step of defining and initializing a present connection tracking number M, a maximum connection tracking number Mmax, a present applied connection tracking number N and a maximum applied connection tracking number Nmax, wherein Nmax is larger than Mmax, and a step of adding 1 to N when new connection tracking is applied and judging whether M is larger than Mmax or not. If M is larger than Mmax, an aging treatment is carried out, and then new connection tracking is built. If M is not larger than Mmax, whether N is larger than Nmax or not is judged. If N is larger than Nmax, an error is returned. If N is not larger than Nmax, the new connection tacking is built. After the new applied connection tracking is confirmed, M plus 1 is carried out, and the result is added into a confirmed connection tracking chain table. According to the method for optimizing the connection tracking, the number of valid connection tracking is guaranteed, exception handling is optimized, the responsibilities of the connection tracking at the stage of alloc initialization and the stage of confirm are defined, normal surfing on the internet is guaranteed, and resources with a good rate in the process of downloading are well kept.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to an optimization method for connection tracking under the netfilter framework. Background technique [0002] At present, the code architecture of most network CPE (customer terminal equipment) in China is based on Linux, and netfilter is also a standard network core processing layer. However, as the current users' requirements for the speed and quality of the network increase, the code of netfilter itself begins to show problems. Regarding connection tracking, the main manifestations are: [0003] 1) When multi-user BT downloads, users cannot access the Internet normally; [0004] 2) When multi-user BT downloads, the quality of services such as voice and video for users is significantly reduced or disconnected; [0005] 3) When multi-user BT downloads, users or bureaus cannot manage CPE normally through the network; [0006] 4) It is difficult for network CPE deve...

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/12
Inventor 周明明
Owner SHENZHEN GONGJIN ELECTRONICS CO LTD
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