Unlock instant, AI-driven research and patent intelligence for your innovation.

A connection tracking management device and method

A technology of connection tracking and management device, applied in the field of data communication, can solve the problem of message forwarding efficiency, cache miss, thread blocking, etc. affecting the protocol stack, and achieve the effect of improving message forwarding efficiency

Active Publication Date: 2017-10-27
MAIPU COMM TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This locking and unlocking process will bring a certain amount of overhead. Even for a lock with high concurrency like RCU, there will be cache misses due to memory synchronization during the locking or unlocking process, and in a multi-threaded environment There will also be situations where threads are blocked due to multiple threads competing for the same lock at the same time, thus affecting the packet forwarding efficiency of the protocol stack

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
  • A connection tracking management device and method
  • A connection tracking management device and method
  • A connection tracking management device and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention will be further elaborated below in conjunction with the accompanying drawings of the description.

[0058] A connection tracking management device, comprising a forwarding table operating module and a control table operating module, the forwarding table operating module is used to search the forwarding table for the connection tracking corresponding to the message to be forwarded, if the corresponding connection tracking is obtained , then trigger other operation processes related to the connection tracking, otherwise notify the control table operation module to search; the control table operation module is used to search the control table for the connection tracking corresponding to the message to be forwarded, if After obtaining the corresponding connection tracking, other operations related to the connection tracking are performed; otherwise, a process of creating a new connection tracking corresponding to the message to be forwarded is triggere...

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 connection tracking management device and method. The device includes a forwarding table operation module and a control table operation module. The table operation module is used to search the connection tracking corresponding to the message to be forwarded in the control table, the entry of the forwarding table includes quintuple, status and reference count, and the entry of the control table includes the quintuple and pointing to A pointer to the forwarding table entry. The basic implementation idea of ​​the present invention is to divide the connection tracking table into two parts, the forwarding table and the control table. The forwarding table only realizes the basic forwarding function. There will be no locking and unlocking in this process, and other operations are implemented in the control table. Only these processes will have the lock protection to the conflict linked list, so the present invention realizes the lock-free access to the connection tracking table in the message forwarding process, thereby improving the message forwarding efficiency of the protocol stack, and at the same time achieves the connection tracking table mutually exclusive access.

Description

technical field [0001] The invention belongs to the technical field of data communication, relates to the connection tracking technology in the linux kernel protocol stack in the data communication field, and in particular relates to a more efficient connection tracking management system and method. Background technique [0002] At present, the field of data communication has entered the era of multi-core processors. Multi-core processors have great advantages in data processing, but also bring higher requirements to programming. Under the premise of ensuring the correctness of the program, the concurrency of the program should be improved as much as possible to give full play to the advantages of multi-core processors. [0003] A connection specifically refers to a complete communication process between two hosts in the network. A connection generally includes packets in two directions: the original packet sent from the source host to the destination host and the reverse p...

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): H04L12/741H04L45/74
Inventor 胡灿
Owner MAIPU COMM TECH CO LTD