Network Connection Tracking via Priority-Based Eviction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Network devices face memory capacity limitations in their connection-tracking tables, leading to hindered communications when the table is full, as they cannot remove existing entries and block new network connections without a method to prioritize and manage data packet output effectively.

Innovation Solution

A method where a network device stores connection-tracking data and determines the priority level of new network connections based on data packets, deciding whether to output data packets based on the current tracked-connection count and priority level, allowing for the management of new connections by updating the connection count and potentially removing lower-priority entries to accommodate higher-priority ones.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the network device stores all connection-tracking entries in the Conntrack table, then the tracking accuracy is improved, but the memory capacity is exceeded and new connections are blocked

Engineering Contradiction:
Improveconnection tracking accuracyVSAvoidmemory capacity
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent applies local quality by assigning different priority levels to different connection-tracking entries based on their importance. High-priority entries (such as those from critical services or authenticated users) are retained in the Conntrack table with guaranteed tracking, while low-priority entries are subject to removal when memory is full. This differential treatment resolves the contradiction by ensuring accurate tracking for important connections while managing overall memory usage.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameter of connection priority by introducing a priority field in the Conntrack table structure. Each connection entry is assigned a priority value that determines its retention behavior. When the table is full, the system selectively removes low-priority entries rather than uniformly evicting any entry, thus maintaining tracking accuracy for high-priority connections while making room for new connections.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If the network device removes existing entries from the Conntrack table to accommodate new connections, then the adaptability is improved, but the connection tracking stability deteriorates

Engineering Contradiction:
Improveconnection acceptance capabilityVSAvoidconnection tracking stability
Core Design Contradiction:
Adaptability or versatilityVSStability of the object's composition

Solution Approach 1:

The patent ensures stability by differentiating between high-priority and low-priority entries. High-priority entries are protected from removal, maintaining stable tracking for critical connections. Low-priority entries are the ones subject to removal when memory is full, allowing the system to adapt to new connections without compromising the stability of important tracked connections.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic priority-based eviction policies that adapt to system conditions. The LRU (Least Recently Used) eviction strategy is modified to consider priority levels, creating a dynamic balance between maintaining stable tracking of important connections and adapting to new connection requests. This dynamic approach allows the system to respond flexibly while preserving stability for critical functions.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If the network device unconditionally blocks data packets from new connections when the Conntrack table is full, then the device complexity is reduced, but the communication reliability deteriorates

Engineering Contradiction:
Improvepacket management simplicityVSAvoidcommunication reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent improves communication reliability by applying local quality to packet handling decisions. Instead of uniformly blocking all packets from new connections, the system evaluates the priority of individual connection requests and selectively accepts or rejects them. High-priority new connections are accepted even when the table is full (after removing low-priority entries), while low-priority requests may be blocked, thus maintaining reliable communication for important services.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic packet acceptance behavior based on current system state and connection priority. The packet management policy transitions from static unconditional blocking to dynamic selective acceptance, where the decision to accept or block a packet depends on the priority level of the connection and the current memory state of the Conntrack table.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12155561B2Method for managing network connections
Publication Date: 2024.11.26 JOTUN TECH INC
  • US12155561B2 patent drawing
  • US12155561B2 patent drawing
  • US12155561B2 patent drawing

AI summary

A method for managing network connections includes steps of: in response to receipt of a request for establishing a new network connection, storing in a connection-tracking (Conntrack) table an entry of tracked connection data that is related to the new network connection to be established, and updating a current tracked-connection count by adding one thereto; determining a priority level of the new network connection according to a data packet transmitted through the new network connection; and determining whether to output data packets that are received through the new network connection based at least on the current tracked-connection count and the priority level of the new network connection.