Service Type Determination via 5-Tuple Analysis for Dynamic Port Traffic
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional methods for determining traffic type in communications systems, based on port numbers or protocols, are inadequate due to the increasing use of dynamic port numbers, leading to issues like congestion and packet loss, especially during microburst traffic events.
Innovation Solution
A service type determining method that identifies traffic types using a 5-tuple dataset, including source and destination addresses, ports, and protocols, to determine target features indicating service types such as CS, P2P, VoIP, or instant message modes, without relying on port numbers or protocols, facilitating traffic control and application identification.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If traffic type is determined based on port number or communications protocol, then the detection method is simple, but it becomes inapplicable when dynamic port numbers are used
Solution Approach 1:
The patent changes the detection parameters from port numbers and protocols to 5-tuple combinations (source IP, destination IP, source port, destination port, protocol) and their statistical characteristics. By analyzing parameters like peer port quantity, address quantity sets, and 5-tuple distribution patterns, the system can identify service types (P2P, CS, instant messaging) without relying on fixed port numbers, thus resolving the contradiction between detection simplicity and adaptability to dynamic ports
Solution Approach 2:
The patent employs feedback mechanisms by continuously monitoring 5-tuple datasets and adjusting service type identification based on observed traffic patterns. The system collects statistical data about peer ports, addresses, and 5-tuple distributions, then uses this feedback to dynamically determine service types, enabling accurate detection even when port numbers change dynamically
2Ease of manufacture
If conventional detection methods are used, then the implementation is straightforward, but congestion and packet loss occur during microburst traffic
Solution Approach 1:
The patent performs preliminary classification of traffic into different service types (P2P, CS, instant messaging, VoIP) before traffic control decisions are made. By pre-identifying traffic types using 5-tuple statistical analysis, the system can apply appropriate traffic control strategies to different service types, preventing congestion and packet loss during microburst traffic while maintaining straightforward implementation through automated classification
Solution Approach 2:
The patent segments traffic into different service type categories based on 5-tuple characteristics. By dividing traffic into distinct segments (P2P, CS, instant messaging, VoIP), the system can apply differentiated traffic control measures to each segment, improving reliability during microburst traffic while keeping the overall implementation manageable through modular classification
Data Source
Figure 1
Figure 2
Figure 3
AI summary
Embodiments of this application disclose a service type determining method and a related device. The method in this embodiment of this application includes: A first device obtains a dataset, where the dataset includes at least two 5-tuples. The first device determines a target feature (the target feature is used to indicate a service type corresponding to a target triplet) corresponding to the target triplet based on the dataset. In this way, the first device can identify the service type corresponding to the target triplet based on the target feature, to facilitate implementation of an operation such as packet transmission traffic control or application identification based on importance of the service type.