Quick flow grouping method based on two-level cache

A cache and cache technology, applied in the field of high-speed network traffic group flow technology, can solve the problems of high price and cost, difficulty in maintaining flow records by measuring devices, and high price, and achieve the effect of improving group flow efficiency.

Active Publication Date: 2011-03-16
JIANGSU XINSHENG BELLOW +1
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the large scale of network traffic, especially in the backbone network, the number of quintuple flows is also very large, and it is difficult to maintain all flow records in the meter
[0004] At present, two different types of cache are used in routers and measuring instruments: SRAM and DRAM. SRAM is a static random access memory, a memory with static access function, which can s...

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
  • Quick flow grouping method based on two-level cache
  • Quick flow grouping method based on two-level cache
  • Quick flow grouping method based on two-level cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Assume that the five-tuple information and the length of a group of messages are: {a, 100}, {b, 50}, {a, 200}, {a, 500}, {a, 100}, {c , 100}, {b, 50}, where a, b, and c identify different five-tuple identifiers respectively, and 100, 50, 200, 500, 100, 100, and 50 respectively identify the message of each five-tuple identifier message text length,

[0027] A fast flow grouping method based on two-level cache, characterized in that the measurer maintains a flow table in the low-capacity high-speed cache and high-capacity low-speed cache respectively during the measurement period, and first checks whether there is a flow table in the cache for each arriving message. There is no flow record, if there is a record, the message information is accumulated in the flow record, if there is no record, the message is randomly sampled, if the message is selected, the flow record is created in the cache, otherwise The message is recorded in the low-speed cache, and the specific step...

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 quick flow grouping method based on two-level cache, which comprises the following steps: in the measuring period, a measurer maintains a flow table respectively in a low-capacity high-speed cache and a high-capacity low-speed cache; for each incoming message, firstly checking whether the high-speed cache has a flow record thereof or not; if the high-speed cache has the flow record, accumulating the message information in the flow record; if the high-speed cache does not have the flow record, randomly sampling the message; and if the message is sampled, establishing the flow record in the high-speed cache, otherwise recording the message in the low-speed cache. In the invention, the characteristic of heavy-tailed distribution of flow length in network flow is utilized, the long-flow information comprising a large quantity of messages in the high-speed cache is recorded, the low-speed flow in the low-speed cache is recorded, flow is grouped by adopting the two-level cache, the flow grouping efficiency of the network flow is greatly improved, and simultaneously each message in equal probability is sampled, so that the long flow is recorded in the high-speed cache in a very high probability, and the probability that the short-flow with a small quantity of messages is recorded in the high-speed cache is very low.

Description

technical field [0001] The invention relates to a network flow measurement technology, in particular to a group flow technology beneficial to high-speed network flow. The measurement method makes full use of different characteristics of two-level buffers to greatly improve the flow group flow efficiency technology. The invention belongs to the field of network traffic measurement. Background technique [0002] Network traffic is composed of packets, and each TCP or UDP packet includes five-tuple information such as source IP address, sink IP address, protocol, source port, and sink port, and will have the same A packet collection of five-tuple information such as source IP address, sink IP address, protocol, source port, and sink port is called a flow record. Group flow is to aggregate all packets with the same quintuple information into one record during the measurement process. Group flow of network traffic is a very important task in the field of network measurement, man...

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
IPC IPC(8): H04L12/26H04L12/56H04L12/743
Inventor 程光
Owner JIANGSU XINSHENG BELLOW
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products