CN113839835B - An accurate monitoring system for Top-k flows based on small flow filtering - Google Patents

An accurate monitoring system for Top-k flows based on small flow filtering Download PDF

Info

Publication number
CN113839835B
CN113839835B CN202111133411.4A CN202111133411A CN113839835B CN 113839835 B CN113839835 B CN 113839835B CN 202111133411 A CN202111133411 A CN 202111133411A CN 113839835 B CN113839835 B CN 113839835B
Authority
CN
China
Prior art keywords
flow
small
hash
flows
filter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN202111133411.4A
Other languages
Chinese (zh)
Other versions
CN113839835A (en
Inventor
罗可
周国徽
熊兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha University of Science and Technology
Original Assignee
Changsha University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha University of Science and Technology filed Critical Changsha University of Science and Technology
Priority to CN202111133411.4A priority Critical patent/CN113839835B/en
Publication of CN113839835A publication Critical patent/CN113839835A/en
Application granted granted Critical
Publication of CN113839835B publication Critical patent/CN113839835B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a Top-k flow accurate monitoring system based on small flow filtration, which comprises: the small flow filter is used for filtering small flows in network flow, reducing storage resource expenditure caused by accurate storage of small flow information, improving flow size estimation precision and solving the problem of failure of the traditional filter on small flow filtration; the large flow monitoring table is used for precisely storing large flow information to track and count the number of large flow packets, and improves the Top-k flow identification precision; the large flow monitoring table comprises a list Ha Xiduo mapping algorithm and a probability replacement strategy; the Shan Haxi multi-mapping algorithm firstly calculates the fingerprint value of the stream according to the identifier of the stream, and then repeatedly selects part of bits from the fingerprint value to rearrange and combine so as to generate a plurality of hash values, thereby reducing the expenditure of hash calculation and enabling the Top-k stream to have enough candidate positions for selection and storage. The probability replacement strategy determines whether to evict the minimum stream by searching the minimum stream in the mapping bucket and generating a replacement probability according to the packet number of the minimum stream, thereby providing a storage location for a relatively larger stream. The invention filters small flow with small storage resource cost, then accurately monitors large flow to accurately count, has high space utilization rate, and can reach high Top-k flow identification rate with small space cost.

Description

一种基于小流过滤的Top-k流精确监控系统An accurate monitoring system for Top-k flows based on small flow filtering

技术领域Technical field

本发明涉及网络测量领域,具体涉及一种高精度的Top-k流识别系统以及过滤数据流中小流的技术方案。The invention relates to the field of network measurement, and specifically to a high-precision Top-k flow identification system and a technical solution for filtering small flows in data flows.

背景技术Background technique

网络测量的任务包括识别Top-k流、流大小估计、流数量统计等,为分析网络流量的特性提供了关键信息,是网络管理和监控的基础。其中Top-k流识别通常定义为寻找网络流量中前k条最大的流,且流的大小定义为网络数据流的包数量。一般来说,网络测量程序为了识别Top-k流,会为到达的数据流分配一个计数器以跟踪检测流的大小,但对于百万级别数量的网络数据流来说,难以做到为每一条数据流维护一个计数器。同时,为了能够正确的识别Top-k流,测量程序对流大小的估计误差需要保证在极小的范围之内。因此,在保证算法处理速度的前提下,寻找一种高精度且低开销的Top-k流识别方法,成为当前Top-k流识别方法的重要挑战。The tasks of network measurement include identification of Top-k flows, flow size estimation, flow quantity statistics, etc. It provides key information for analyzing the characteristics of network traffic and is the basis for network management and monitoring. Top-k flow identification is usually defined as finding the top k largest flows in network traffic, and the size of the flow is defined as the number of packets in the network data flow. Generally speaking, in order to identify the Top-k flows, network measurement programs will allocate a counter to the arriving data flow to track the size of the detected flow. However, for millions of network data flows, it is difficult to measure each piece of data. The stream maintains a counter. At the same time, in order to correctly identify the Top-k flows, the estimation error of the flow size by the measurement program needs to be guaranteed to be within a very small range. Therefore, under the premise of ensuring the processing speed of the algorithm, finding a high-precision and low-overhead Top-k flow identification method has become an important challenge for current Top-k flow identification methods.

目前,主要的Top-k流识别方法大体分为三类。第一类是基于sketch的方法,并分为sketch与小顶堆、sketch与哈希表相结合的两种结构。第一种结构的sketch方法通过二维计数器来统计所有流的大小,并借助小顶堆跟踪识别其中的Top-k流。第二种结构的sketch方法则通过sketch存储小流,哈希表监控大流,以降低存储资源的开销,并采用替换算法将哈希表中的小流驱逐出去,以精确存储大流。第二类是基于计数器的方法,通过在缓存中为大流分配一个计数器来精确估计其流大小。第三类是基于过滤思想的方法,借助过滤器过滤网络流量中的小流,之后再提取出网络流量中的大流,避免小流对大流精确计数的影响,提高对流大小的估计精度。At present, the main Top-k flow identification methods are roughly divided into three categories. The first type is a method based on sketch, and is divided into two structures: sketch and small top heap, and sketch and hash table. The sketch method of the first structure counts the sizes of all flows through a two-dimensional counter, and identifies the Top-k flows among them with the help of small top heap tracking. The sketch method of the second structure stores small flows through sketch, and the hash table monitors the large flows to reduce the cost of storage resources, and uses a replacement algorithm to expel small flows in the hash table to accurately store large flows. The second category is counter-based methods that accurately estimate the flow size of large flows by allocating a counter in the cache for them. The third category is a method based on filtering ideas. Filters are used to filter small flows in network traffic, and then large flows in network traffic are extracted to avoid the impact of small flows on the accurate counting of large flows and improve the estimation accuracy of flow size.

但同时会面对以下问题:But you will also face the following problems:

1、无法同时满足高精度和低内存开销的需求1. Unable to meet the requirements of high precision and low memory overhead at the same time

随着互联网上的网络设备不断增加,导致网络数据流的数量早已达到了百万级别,且网络流量的大小服从重尾分布,即网络中少部分的大流占据了网络流量中大部分的数据包,而小流的数量庞大却只占网络流量中少量的数据包。对此,基于sketch方法必须使用足够数量的计数器以降低哈希冲突,且每个计数器必须使用足够多的比特位以避免发生溢出,从而无法降低存储资源的开销。基于计数器方法也必须分配足够多的计数器以追踪数量庞大的流,且存在将一条小流误判为一条大流的问题,影响Top-k流识别精度。As the number of network devices on the Internet continues to increase, the number of network data flows has already reached millions, and the size of network traffic obeys a heavy-tail distribution, that is, a small number of large flows in the network occupy most of the data in the network traffic. packets, while the large number of small flows only accounts for a small number of data packets in network traffic. In this regard, the sketch-based method must use a sufficient number of counters to reduce hash collisions, and each counter must use enough bits to avoid overflow, thus failing to reduce the cost of storage resources. The counter-based method must also allocate enough counters to track a huge number of flows, and there is a problem of misjudgment of a small flow as a large flow, which affects the accuracy of Top-k flow identification.

2、传统小流过滤器的过渡过滤和过滤失效问题2. Transitional filtration and filter failure problems of traditional small flow filters

传统的过滤器使用二维计数器数组记录流到达的包数量,且数据流映射到的所有计数器的值都达到阈值T时,将允许其通过过滤器。但是,过滤器中大部分的计数器在一段时间之后都将会达到阈值T,导致所有的流都能够直接通过过滤器,进而使得过滤器无法过滤小流。虽然现有的过滤器以测量固定的时间作为一个周期,以重置过滤器中的计数器,避免过滤器中的计数器始终保持为达到阈值的状态。然而,在过滤器的计数器被重置后,大流需要在过滤器中重新递增计数器的值才能通过过滤器,导致大流的数据包被意外消耗,进而使得大流的数据包数量被低估,即过渡过滤问题。Traditional filters use a two-dimensional counter array to record the number of packets arriving in a flow, and when the values of all counters mapped to the data flow reach the threshold T, they will be allowed to pass the filter. However, most of the counters in the filter will reach the threshold T after a period of time, causing all flows to pass through the filter directly, making the filter unable to filter small flows. Although existing filters measure a fixed time as a period to reset the counter in the filter, this avoids the counter in the filter always remaining in the state of reaching the threshold. However, after the filter counter is reset, the large flow needs to re-increment the counter value in the filter in order to pass the filter, causing the data packets of the large flow to be accidentally consumed, thus causing the number of data packets of the large flow to be underestimated. That is, the transition filtering problem.

对比文件:CN111262756A公开了一种高速网络大象流精确测量方法,首先通过基于sketch的过滤器过滤数据流中的小流,然后通过基于cuckoo哈希实现的提取器提取网络流量中的大流,减少对小流的存储资源开销,精确跟踪大流,以提高对大流的识别率。该对比文件方案并没有解决过滤失效的问题,使得小流过滤器在一段时间工作后,无法过滤网络流量中的小流,而基于cuckoo哈希的提取方法存在大流识别准确率不高的问题。Comparative document: CN111262756A discloses an accurate measurement method for high-speed network elephant flows. It first filters the small flows in the data flow through a sketch-based filter, and then extracts the large flows in the network traffic through an extractor based on cuckoo hashing. Reduce storage resource overhead for small flows and accurately track large flows to improve the recognition rate of large flows. The comparison file solution does not solve the problem of filtering failure, which makes the small flow filter unable to filter small flows in network traffic after working for a period of time. The extraction method based on cuckoo hash has the problem of low accuracy in identifying large flows. .

发明内容Contents of the invention

本发明要解决的技术问题是提出一种基于sketch技术,采用双计数器相结合的小流过滤器数据结构,并采用周期更新过滤器中计数器的方法,设计了分别对应两种计数器更新的策略,精准记录每条流在每个周期中到达的情况,以判别网络数据流中的大流和小流。同时,结合一种单哈希多映射的哈希算法设计了一种大流监控表,保证Top-k流有足够的的位置存储,并采用概率替换策略驱逐最小流,精确存储大流,提高Top-k流的识别精度。The technical problem to be solved by this invention is to propose a small flow filter data structure based on sketch technology, using a combination of dual counters, and using a method of periodically updating the counters in the filter, and designing strategies corresponding to two counter updates respectively. Accurately record the arrival of each flow in each cycle to identify large flows and small flows in network data flows. At the same time, a large flow monitoring table is designed based on a single hash multi-map hash algorithm to ensure that Top-k flows have sufficient location storage, and a probabilistic replacement strategy is used to expel the smallest flow, accurately store large flows, and improve Recognition accuracy of Top-k flows.

为了解决上述技术问题,本发明采用以下技术方案:In order to solve the above technical problems, the present invention adopts the following technical solutions:

本发明提供一种基于小流过滤的Top-k流精确监控系统,包括:The present invention provides a Top-k flow accurate monitoring system based on small flow filtering, including:

小流过滤器,用于区分网络流量中的大流和小流,便于提取出其中的大流以进行精确跟踪统计器包数量;所述小流过滤器采用两种小型计数器成对配合记录流的不同包数量信息,实现低内存空间的开销,且按周期更新自身中的计数器;所述的两种小型计数器分别用于记录流在每个周期平均到达的包数量和当前周期到达的包数量;The small flow filter is used to distinguish large flows and small flows in network traffic, so as to extract the large flows for accurate tracking of the number of statistic packets; the small flow filter uses two small counters in pairs to record the flow Different packet number information to achieve low memory space overhead, and update the counter in itself periodically; the two small counters are used to record the average number of packets arriving in each cycle and the number of packets arriving in the current cycle. ;

大流监控表,用于精确监控网络流量中的大流,精确统计大流的包数量;所述大流监控表是由哈希桶组成的哈希表,每个哈希桶中可存储多条流,采用单哈希多映射算法将每条流映射到多个候选哈希桶中,以保证Top-k流有足够的位置存储,采用概率替换策略,以精确监控大流;所述单哈希多映射算法是用通过一次哈希计算,产生多个哈希值,以映射到多个哈希桶;所述概率替换策略是在所有候选位置均无空位时,采用一定的概率替换所有候选位置中的最小流;The large flow monitoring table is used to accurately monitor large flows in network traffic and accurately count the number of packets in large flows; the large flow monitoring table is a hash table composed of hash buckets, and each hash bucket can store multiple For each stream, a single hash multi-mapping algorithm is used to map each stream into multiple candidate hash buckets to ensure that the Top-k flows have sufficient location storage, and a probabilistic replacement strategy is adopted to accurately monitor large flows; the single hash bucket The hash multi-mapping algorithm generates multiple hash values through one hash calculation to map to multiple hash buckets; the probability replacement strategy is to use a certain probability to replace all candidate positions when there are no vacancies. Minimum flow among candidate locations;

所述小流过滤器由d个数组组成,每个数组由w个桶构成,每个桶中包两种计数器,即新计数器和旧计数器;所述新计数器记录流在当前周期内到达的包数;所述旧计数器记录流在过去周期中平均到达的包数量;The small flow filter is composed of d arrays, each array is composed of w buckets, and each bucket contains two counters, namely a new counter and an old counter; the new counter records the packets arriving in the current cycle. Number; the old counter records the average number of packets arriving in the flow in the past cycle;

所述大流监控表由r个哈希桶组成,每个哈希桶包含c槽,每个槽存储一条流的指纹值FP和包数量计数器,即每个槽存储一条流。The large flow monitoring table is composed of r hash buckets, each hash bucket contains c slots, and each slot stores the fingerprint value FP and the packet number counter of a flow, that is, each slot stores a flow.

本发明方法还提供基于上述系统的技术方案,包括:The method of the present invention also provides technical solutions based on the above system, including:

所述小流过滤器在数据包到达时,首先根据流标识符通过d个两个独立的哈希函数映射到d个数组中的某一个桶,获取d个桶中最小的新计数器值和最小旧计数器值,并以最小新计数器值作为流在当前到达的包数量,以最小旧计数器值作为流在过去周期中平均到达的包数量。当流的最小新计数器值达到阈值T时,则认为该流为新到达的大流,允许其通过过滤器并进入大流监控表。当流的最小旧计数器值达到阈值T时,则认为该流为持续到达的大流,允许其通过过滤器并进入大流监控表。When the data packet arrives, the small flow filter first maps the flow identifier to a certain bucket in the d array through d two independent hash functions, and obtains the smallest new counter value and the smallest value in the d buckets. The old counter value is used, and the minimum new counter value is used as the number of packets arriving in the current flow, and the minimum old counter value is used as the average number of packets arriving in the flow in the past cycle. When the minimum new counter value of a flow reaches the threshold T, the flow is considered a newly arrived large flow and is allowed to pass the filter and enter the large flow monitoring table. When the minimum old counter value of a flow reaches the threshold T, the flow is considered to be a continuously arriving large flow and is allowed to pass the filter and enter the large flow monitoring table.

所述的两种计数器更加关注于是否达到阈值T,且阈值T通常很小,因此两种计数器只需设置为几个比特位大小,以达到小型低开销的目的。The two counters are more concerned about whether the threshold T is reached, and the threshold T is usually very small. Therefore, the two counters only need to be set to a few bit sizes to achieve the purpose of small size and low overhead.

所述大流监控表在流的数据包到达时,首先根据流标识符通过哈希函数计算出指纹值FP,然后多次从中随机选取固定数量的比特位进行排列,产生多个子哈希值,从而映射到多个哈希桶中。随后,所述大流监控表检查所有映射桶,若流已存储,则将该流对应的计数器加1;若流未存储,但存在空位,则将该流插入一个空位;若流未存储,且无空位,则查找出映射桶中的最小流,并以最小流的包数量作为根据产生一个替换概率,决定是否以新到达的流替换最小流。When the data packet of the flow arrives, the large flow monitoring table first calculates the fingerprint value FP through the hash function based on the flow identifier, and then randomly selects a fixed number of bits from it multiple times and arranges it to generate multiple sub-hash values. Thus mapped to multiple hash buckets. Subsequently, the large flow monitoring table checks all mapping buckets. If the flow has been stored, the counter corresponding to the flow is increased by 1; if the flow is not stored but there is a gap, the flow is inserted into a gap; if the flow is not stored, If there are no vacancies, the minimum flow in the mapping bucket is found, and a replacement probability is generated based on the number of packets in the minimum flow to decide whether to replace the minimum flow with the newly arrived flow.

进一步,所述Top-k流识别系统包括如下操作:Further, the Top-k flow identification system includes the following operations:

1、小流过滤器的插入以及报告;1. Insertion and reporting of small flow filters;

小流过滤器将每个到达的数据包映射到每个计数器数组上的一个桶,根据最小新计数器值和最小旧计数器值报告该数据包是否能通过过滤器,并决定是否更新其中的新计数器。The small flow filter maps each arriving packet to a bucket on each counter array, reports whether the packet can pass the filter based on the minimum new counter value and the minimum old counter value, and decides whether to update the new counter in it .

2、小流过滤器中计数器的周期更新;2. Periodic update of the counter in the small flow filter;

当小流过滤器在测量一定数量的数据包后,将对自身中的所有计数器进行更新。其中新计数器将直接重置为0,旧计数器则采用折半的更新策略,即更新为上一个周期新计数器的值与旧计数器的值的平均值。When a small flow filter measures a certain number of packets, it will update all counters in itself. The new counter will be directly reset to 0, and the old counter will adopt a half update strategy, that is, it will be updated to the average value of the new counter value and the old counter value in the previous cycle.

3、大流监控表的插入;3. Insertion of large flow monitoring table;

当一个数据包传入大流监控表时,首先根据该数据包所属流的流标识符计数出流的指纹值,然后根据流的指纹值去监控表中进行查询,并根据查询结果和哈希桶是否存在空位进行不同的更新步骤。When a data packet is introduced into the large flow monitoring table, the fingerprint value of the outgoing flow is first counted based on the flow identifier of the flow to which the data packet belongs, and then the flow fingerprint value is queried in the monitoring table, and the query result and hash are Different update steps are performed depending on whether there is an empty space in the bucket.

4、大流监控表的替换;4. Replacement of large flow monitoring table;

当一条流的数据包到达时,其映射的所有哈希桶都已满,且该流未记录在桶中,则首先根据桶中最小流的包数量Cmin产生一个替换概率1/(Cmin+1),然后与一个随机产生在0到1之间的实数比较。若替换概率大于实数,则替换最小流,否则,该流的数据包将被丢弃。When a data packet of a flow arrives, all its mapped hash buckets are full, and the flow is not recorded in the bucket, a replacement probability 1/(C min is first generated based on the number of packets of the smallest flow in the bucket C min +1) and then compare it with a randomly generated real number between 0 and 1. If the replacement probability is greater than a real number, the smallest flow is replaced, otherwise, the packets of this flow will be discarded.

5、大流监控表的Top-k流报告;5. Top-k flow report of large flow monitoring table;

大流监控表首先根据流的包数量将所有的流从大到小依次排列,提取出前k条流,并加上小流过滤器的阈值T作为流的最终包数量,然后向服务器报告这k条流为Top-k流。The large flow monitoring table first sorts all the flows from large to small according to the number of packets in the flow, extracts the top k flows, adds the threshold T of the small flow filter as the final number of packets of the flow, and then reports these k flows to the server. The streams are Top-k streams.

本发明的有益效果在于:The beneficial effects of the present invention are:

1、本发明使用两种小型的计数器构建小流过滤器,并以周期更新小流过滤器中的计数器。其中一种计数器记录流在当前周期内到达的包数量,以识别新到达的大流,另一种计数器记录流在过去的周期中平均到达的包数量,以识别持续到达的大流。两种小型计数器相结合以识别网络流量中的大流,减少因存储小流而造成的存储空间浪费,解决传统过滤器对小流过滤失效的问题,提高Top-k流的识别精度。1. The present invention uses two small counters to construct a small flow filter, and periodically updates the counters in the small flow filter. One counter records the number of packets that a flow has arrived in the current cycle to identify newly arriving large flows, and the other counter records the average number of packets that a flow has arrived in the past cycle to identify large flows that continue to arrive. The two small counters are combined to identify large flows in network traffic, reduce the waste of storage space caused by storing small flows, solve the problem of traditional filters failing to filter small flows, and improve the identification accuracy of Top-k flows.

2、本发明结合单哈希多映射算法,设计一种低开销而高精度的Top-k流识别方法。首先根据流标识符计算出的指纹值,然后从指纹值中选取比特重新组成一个哈希值以映射到哈希表中,降低哈希计算的开销。同时,由于每条流可以有多个候选哈希桶,因此可以保证Top-k流有足够的的存储位置可供其选择,避免Top-k因没有位置存储而造成无法监控其流大小的问题,提高Top-k流识别精度。2. The present invention combines a single hash multi-mapping algorithm to design a low-overhead and high-precision Top-k flow identification method. First, the fingerprint value is calculated based on the flow identifier, and then bits are selected from the fingerprint value to reassemble a hash value to be mapped to the hash table, reducing the cost of hash calculation. At the same time, since each stream can have multiple candidate hash buckets, it can be ensured that the Top-k stream has enough storage locations for it to choose from, avoiding the problem that Top-k cannot monitor its stream size due to no location storage. , improve the Top-k flow recognition accuracy.

附图说明Description of the drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.

图1是本发明方法基于小流过滤的Top-k流精确监控系统的结构图。Figure 1 is a structural diagram of the Top-k flow accurate monitoring system based on small flow filtering according to the method of the present invention.

图2是本发明方法中小流过滤器的数据结构图。Figure 2 is a data structure diagram of the small flow filter in the method of the present invention.

图3是本发明方法中大流监控表的数据结构图。Figure 3 is a data structure diagram of the large flow monitoring table in the method of the present invention.

图4是本发明方法中小流过滤器对数据包的插入与放行流程图。Figure 4 is a flow chart of inserting and releasing data packets by the small flow filter in the method of the present invention.

图5是本发明方法中小流过滤器中计数器的周期更新流程图。Figure 5 is a flow chart of periodic updating of the counter in the small flow filter in the method of the present invention.

图6是本发明方法中大流监控表数据包插入的流程图。Figure 6 is a flow chart of large flow monitoring table data packet insertion in the method of the present invention.

图7是本发明方法中大流监控表中流替换的流程图。Figure 7 is a flow chart of flow replacement in the large flow monitoring table in the method of the present invention.

图8是本发明方法中大流监控表向上报告Top-k流的流程图。Figure 8 is a flow chart of the large flow monitoring table reporting Top-k flows in the method of the present invention.

具体实施方式Detailed ways

为了更好地阐述该发明的内容,下面通过具体实施例对本发明进一步的验证。特在此说明,实施例只是为更直接地描述本发明,它们只是本发明的一部分,不能对本发明构成任何限制。In order to better explain the content of the invention, the invention will be further verified below through specific examples. It is hereby explained that the embodiments are only for describing the present invention more directly. They are only a part of the present invention and cannot constitute any limitation to the present invention.

如图1所示,本发明实施例提供一种基于小流过滤的Top-k流精确监控系统,包括:As shown in Figure 1, an embodiment of the present invention provides a Top-k flow accurate monitoring system based on small flow filtering, including:

小流过滤器,用于区分网络流量中的大流和小流,便于提取出其中的大流以进行精确跟踪统计器包数量;所述小流过滤器采用两种小型计数器成对配合记录流的不同包数量信息,实现低内存空间的开销,且按周期更新自身中的计数器;所述的两种小型计数器分别用于记录流在每个周期平均到达的包数量和当前周期到达的包数量;The small flow filter is used to distinguish large flows and small flows in network traffic, so as to extract the large flows for accurate tracking of the number of statistic packets; the small flow filter uses two small counters in pairs to record the flow Different packet number information to achieve low memory space overhead, and update the counter in itself periodically; the two small counters are used to record the average number of packets arriving in each cycle and the number of packets arriving in the current cycle. ;

如图2所示,小流过滤器由d个数组组成,每个数组由w个桶构成,每个桶中包含一对计数器,即新计数器和旧计数器;其中两种小型计数器的大小都为4比特。As shown in Figure 2, the small flow filter consists of d arrays, each array consists of w buckets, each bucket contains a pair of counters, namely a new counter and an old counter; the sizes of the two small counters are 4 bits.

大流监控表,用于精确监控网络流量中的大流,精确统计大流的包数量;所述大流监控表是由哈希桶组成的哈希表,每个哈希桶中可存储多条流,采用单哈希多映射算法将每条流映射到多个候选哈希桶中,以保证Top-k流有足够的位置存储,采用概率替换策略,以精确监控大流;所述单哈希多映射算法是用通过一次哈希计算,产生多个哈希值,以映射到多个哈希桶;所述概率替换策略是在所有候选位置均无空位时,采用一定的概率替换所有候选位置中的最小流;The large flow monitoring table is used to accurately monitor large flows in network traffic and accurately count the number of packets in large flows; the large flow monitoring table is a hash table composed of hash buckets, and each hash bucket can store multiple For each stream, a single hash multi-mapping algorithm is used to map each stream into multiple candidate hash buckets to ensure that the Top-k flows have sufficient location storage, and a probabilistic replacement strategy is adopted to accurately monitor large flows; the single hash bucket The hash multi-mapping algorithm generates multiple hash values through one hash calculation to map to multiple hash buckets; the probability replacement strategy is to use a certain probability to replace all candidate positions when there are no vacancies. Minimum flow among candidate locations;

如图3所示,大流监控表由r个哈希桶组成,每个哈希桶包含c槽,每个槽存储一条流的指纹值FP和包数量计数器,即每个槽存储一条流。当数据包Pfid到达时,我们通过哈希函数H(.)计算出流指纹FP,并通过子哈希函数subHi()映射到i个桶。子哈希函数subHi(.)的哈希值计算分为两个步骤:(1)从指纹值FP值中选取固定位置的n比特,且之后将一直选取这对应位置的比特位;(2)将选取的n个比特值进行排列产生一个新的哈希值。As shown in Figure 3, the large flow monitoring table consists of r hash buckets. Each hash bucket contains c slots. Each slot stores the fingerprint value FP and packet number counter of a flow, that is, each slot stores a flow. When the packet P fid arrives, we calculate the flow fingerprint FP through the hash function H(.) and map it to i buckets through the sub-hash function subH i (). The calculation of the hash value of the sub-hash function subH i (.) is divided into two steps: (1) Select n bits at a fixed position from the fingerprint value FP value, and then the bits at the corresponding position will always be selected; (2) ) arranges the selected n bit values to generate a new hash value.

本实施例还提供基于上述系统的技术方案,包括以下步骤:This embodiment also provides a technical solution based on the above system, including the following steps:

小流过滤器在数据包到达时,首先根据流标识符通过d个两个独立的哈希函数映射到d个数组中的某一个桶,获取d个桶中最小的新计数器值和最小旧计数器值,并以最小新计数器值作为流在当前到达的包数量,以最小旧计数器值作为流在过去周期中平均到达的包数量。当流的最小新计数器值达到阈值T时,则认为该流为新到达的大流,允许其通过过滤器。当流的最小旧计数器值达到阈值T时,则认为该流为持续到达的大流,允许其通过过滤器。When a data packet arrives, the small flow filter first maps the flow identifier to a bucket in d arrays through d two independent hash functions, and obtains the smallest new counter value and the smallest old counter in the d buckets. The minimum new counter value is used as the number of packets arriving in the current flow, and the minimum old counter value is used as the average number of packets arriving in the flow in the past cycle. When the minimum new counter value of a flow reaches the threshold T, the flow is considered a newly arrived large flow and is allowed to pass through the filter. When the minimum old counter value of a flow reaches the threshold T, the flow is considered to be a continuously arriving large flow and is allowed to pass through the filter.

大流监控表在流的数据包到达时,首先根据流标识符通过哈希函数计算出指纹值FP,然后多次从中随机选取固定数量的比特位进行排列,产生多个子哈希值,从而映射到多个哈希桶中。随后,所述大流监控表检查所有映射桶,若流已存储,则将该流对应的计数器加1;若流未存储,但存在空位,则将该流插入一个空位;若流未存储,且无空位,则查找出映射桶中的最小流,并以最小流的包数量作为根据产生一个替换概率,决定是否以新到达的流替换最小流。When the data packet of the flow arrives, the large flow monitoring table first calculates the fingerprint value FP through the hash function based on the flow identifier, and then randomly selects a fixed number of bits from it multiple times and arranges it to generate multiple sub-hash values, thereby mapping into multiple hash buckets. Subsequently, the large flow monitoring table checks all mapping buckets. If the flow has been stored, the counter corresponding to the flow is increased by 1; if the flow is not stored but there is a gap, the flow is inserted into a gap; if the flow is not stored, If there are no vacancies, the minimum flow in the mapping bucket is found, and a replacement probability is generated based on the number of packets in the minimum flow to decide whether to replace the minimum flow with the newly arrived flow.

1、小流过滤器对数据包的插入以及放行;1. The small flow filter inserts and releases data packets;

如图4所示,小流过滤器将每个到达的数据包映射到每个计数器数组上的一个桶,根据最小新计数器值和最小旧计数器值报告该数据包是否能通过过滤器,并决定是否更新其中的新计数器。As shown in Figure 4, the small flow filter maps each arriving packet to a bucket on each counter array, reports whether the packet can pass the filter based on the minimum new counter value and the minimum old counter value, and decides Whether to update new counters in it.

首先分析数据包头部信息,提取流标识符;然后通过d个哈希函数映射到小流过滤器的d个数组上的某一个桶,获取最小新计数器值和最小旧计数器值,进而比较最小值与阈值T。当最小新值大于阈值时,允许数据包通过过滤器进入到大流监控表。否则,更新d个映射桶中新值,并判断最小旧值是否大于阈值。若最小旧值大于阈值,则允许数据包通过过滤器进入到大流监控表。First analyze the packet header information and extract the flow identifier; then map it to a bucket on the d arrays of the small flow filter through d hash functions, obtain the minimum new counter value and the minimum old counter value, and then compare the minimum values with threshold T. When the minimum new value is greater than the threshold, data packets are allowed to pass through the filter and enter the large flow monitoring table. Otherwise, update the new values in d mapping buckets and determine whether the minimum old value is greater than the threshold. If the minimum old value is greater than the threshold, the data packet is allowed to pass through the filter and enter the large flow monitoring table.

2、小流过滤器中计数器的周期更新;2. Periodic update of the counter in the small flow filter;

如图5所示,当小流过滤器在测量一定数量的数据包后,将对自身中的所有计数器进行更新。过滤器将从每个数组的第一个桶开始更新桶中的计数器,直到更新完最后一个桶。As shown in Figure 5, when the small flow filter measures a certain number of packets, it will update all counters in itself. The filter will update the counters in the buckets starting from the first bucket of each array until the last bucket is updated.

其中新计数器将直接重置为0,旧计数器则采用折半的更新策略,即更新为上一个周期新计数器的值与旧计数器的值的平均值。The new counter will be directly reset to 0, and the old counter will adopt a half update strategy, that is, it will be updated to the average value of the new counter value and the old counter value in the previous cycle.

3、大流监控表的插入;3. Insertion of large flow monitoring table;

如图6所示,当一个数据包传入大流监控表时,首先根据该数据包所属流的流标识符计数出流的指纹值,然后根据流的指纹值去监控表中进行查询,并根据查询结果和哈希桶是否存在空位进行不同的更新步骤。As shown in Figure 6, when a data packet is introduced into the large flow monitoring table, the fingerprint value of the outgoing flow is first counted based on the flow identifier of the flow to which the data packet belongs, and then the monitoring table is queried based on the fingerprint value of the flow, and Different update steps are performed based on the query results and whether there are vacancies in the hash bucket.

首先,根据流标识符fid生成指纹值FP,之后通过单哈希多映射算法获得k个哈希桶的位置,并依次查询桶中的流。在遇到第一个空位时,将流插入并结束。或者在查询到该流时,将该流的计数器加1并结束。否则,将新建一个流的待替换项,进入流的替换操作。First, the fingerprint value FP is generated based on the flow identifier fid, and then the positions of k hash buckets are obtained through a single hash multi-mapping algorithm, and the flows in the buckets are queried sequentially. When the first gap is encountered, the stream is inserted and terminated. Or when the stream is queried, add 1 to the counter of the stream and end it. Otherwise, a new stream item to be replaced will be created and the stream replacement operation will be entered.

4、大流监控表的替换;4. Replacement of large flow monitoring table;

如图7所示,当一条流的数据包到达时,其映射的所有哈希桶都已满,且该流未记录在桶中,则首先根据桶中最小流的包数量Cmin产生一个替换概率1/(Cmin+1),然后与一个随机产生在0到1之间的实数比较。若替换概率大于实数,则替换最小流,否则,该流的数据包将被丢弃。As shown in Figure 7, when a data packet of a flow arrives, all its mapped hash buckets are full, and the flow is not recorded in the bucket, a replacement is first generated based on the number of packets C min of the smallest flow in the bucket. Probability 1/(C min +1), and then compare it with a randomly generated real number between 0 and 1. If the replacement probability is greater than a real number, the smallest flow is replaced, otherwise, the packets of this flow will be discarded.

5、大流监控表的Top-k流报告;5. Top-k flow report of large flow monitoring table;

如8所示,大流监控表首先根据流的包数量将所有的流从大到小依次排列,提取出前k条流,并加上小流过滤器的阈值T作为流的最终包数量,然后向服务器报告这k条流为Top-k流。As shown in 8, the large flow monitoring table first arranges all the flows from large to small according to the number of packets of the flow, extracts the top k flows, and adds the threshold T of the small flow filter as the final number of packets of the flow, and then Report these k flows to the server as Top-k flows.

本文中所描述的具体实施例仅仅是对本发明精神作举例说明。本发明所述技术领域的技术人员可以所描述的具体实施例做各种各样的修改或补充或采用类似的方式替代,但并不会偏离本发明的精神或者超越所附权利要求书所定义的范围。The specific embodiments described herein are merely illustrative of the spirit of the invention. Those skilled in the technical field of the present invention may make various modifications or additions to the described specific embodiments or substitute them in similar ways, but this will not deviate from the spirit of the present invention or exceed the definition of the appended claims. range.

Claims (6)

1.一种基于小流过滤的Top-k流精确监控系统,其特征在于,包括:1. A Top-k flow accurate monitoring system based on small flow filtering, which is characterized by: 小流过滤器,用于区分网络流量中的大流和小流,便于提取出其中的大流以进行精确跟踪统计器包数量;所述小流过滤器采用两种小型计数器成对配合记录流的不同包数量信息,实现低内存空间的开销,且按周期更新自身中的计数器;所述的两种小型计数器分别用于记录流在每个周期平均到达的包数量和当前周期到达的包数量;The small flow filter is used to distinguish large flows and small flows in network traffic, so as to extract the large flows for accurate tracking of the number of statistic packets; the small flow filter uses two small counters in pairs to record the flow Different packet number information to achieve low memory space overhead, and update the counter in itself periodically; the two small counters are used to record the average number of packets arriving in each cycle and the number of packets arriving in the current cycle. ; 大流监控表,用于精确监控网络流量中的大流,精确统计大流的包数量;所述大流监控表是由哈希桶组成的哈希表,每个哈希桶中可存储多条流,采用单哈希多映射算法将每条流映射到多个候选哈希桶中,以保证Top-k流有足够的位置存储,采用概率替换策略,以精确监控大流;所述单哈希多映射算法是用通过一次哈希计算,产生多个哈希值,以映射到多个哈希桶;所述概率替换策略是在所有候选位置均无空位时,采用一定的概率替换所有候选位置中的最小流;The large flow monitoring table is used to accurately monitor large flows in network traffic and accurately count the number of packets in large flows; the large flow monitoring table is a hash table composed of hash buckets, and each hash bucket can store multiple For each stream, a single hash multi-mapping algorithm is used to map each stream into multiple candidate hash buckets to ensure that the Top-k flows have sufficient location storage, and a probabilistic replacement strategy is adopted to accurately monitor large flows; the single hash bucket The hash multi-mapping algorithm generates multiple hash values through one hash calculation to map to multiple hash buckets; the probability replacement strategy is to use a certain probability to replace all candidate positions when there are no vacancies. Minimum flow among candidate locations; 所述小流过滤器由d个数组组成,每个数组由w个桶构成,每个桶中包含一对计数器,即新计数器和旧计数器;所述新计数器记录流在当前周期内到达的包数;所述旧计数器记录流在过去周期中平均到达的包数量;The small flow filter is composed of d arrays, each array is composed of w buckets, and each bucket contains a pair of counters, namely a new counter and an old counter; the new counter records the packets arriving in the current cycle. Number; the old counter records the average number of packets arriving in the flow in the past cycle; 所述大流监控表由r个哈希桶组成,每个哈希桶包含c槽,每个槽存储一条流的指纹值FP和包数量计数器,即每个槽存储一条流。The large flow monitoring table is composed of r hash buckets, each hash bucket contains c slots, and each slot stores the fingerprint value FP and the packet number counter of a flow, that is, each slot stores a flow. 2.一种基于权利要求1所述系统的方法,其特征在于,包括以下步骤:2. A method based on the system of claim 1, characterized in that it includes the following steps: 所述小流过滤器在数据包到达时,首先根据流标识符通过d个两个独立的哈希函数映射到d个数组中的某一个桶,获取d个桶中最小的新计数器值和最小旧计数器值,并以最小新计数器值作为流在当前到达的包数量,以最小旧计数器值作为流在过去周期中平均到达的包数量;当流的最小新计数器值达到阈值T时,则认为该流为新到达的大流,允许其通过过滤器并进入大流监控表;当流的最小旧计数器值达到阈值T时,则认为该流为持续到达的大流,允许其通过过滤器并进入大流监控表;When the data packet arrives, the small flow filter first maps the flow identifier to a certain bucket in the d array through d two independent hash functions, and obtains the smallest new counter value and the smallest value in the d buckets. The old counter value, and the minimum new counter value is used as the number of packets arriving in the current flow, and the minimum old counter value is used as the average number of packets arriving in the flow in the past cycle; when the minimum new counter value of the flow reaches the threshold T, it is considered This flow is a newly arrived large flow, which is allowed to pass through the filter and enter the large flow monitoring table; when the minimum old counter value of the flow reaches the threshold T, the flow is considered to be a continuously arriving large flow, and is allowed to pass through the filter and enter the large flow monitoring table. Enter the large flow monitoring table; 所述大流监控表在流的数据包到达时,首先根据流标识符通过哈希函数计算出指纹值FP,然后多次从中随机选取固定数量的比特位进行排列,产生多个子哈希值,从而映射到多个哈希桶中;随后,所述大流监控表检查所有映射桶,若流已存储,则将该流对应的计数器加1;若流未存储,但存在空位,则将该流插入一个空位;若流未存储,且无空位,则查找出映射桶中的最小流,并以最小流的包数量作为根据产生一个替换概率,决定是否以新到达的流替换最小流。When the data packet of the flow arrives, the large flow monitoring table first calculates the fingerprint value FP through the hash function based on the flow identifier, and then randomly selects a fixed number of bits from it multiple times and arranges it to generate multiple sub-hash values. Thus, it is mapped to multiple hash buckets; then, the large flow monitoring table checks all mapping buckets. If the flow has been stored, the counter corresponding to the flow is incremented by 1; if the flow is not stored but there is a vacancy, the flow is added to the counter. A gap is inserted into the flow; if the flow is not stored and there is no gap, the minimum flow in the mapping bucket is found, and a replacement probability is generated based on the number of packets in the minimum flow to decide whether to replace the minimum flow with the newly arrived flow. 3.根据权利要求2所述的方法,其特征在于,所述Top-k流精确监控系统由小流过滤器和大流监控表两个模块组成,具体包括如下操作:其中a、b属于小流过滤器,c、d、e属于大流监控表模块;3. The method according to claim 2, characterized in that the Top-k flow accurate monitoring system consists of two modules: a small flow filter and a large flow monitoring table, specifically including the following operations: where a and b belong to small flow. Flow filters, c, d, and e belong to the large flow monitoring table module; a、小流过滤器的插入以及报告;a. Insertion and reporting of small flow filters; 小流过滤器将每个到达的数据包映射到每个计数器数组上的一个桶,根据最小新计数器值和最小旧计数器值报告该数据包是否能通过过滤器,并决定是否更新其中的新计数器;The small flow filter maps each arriving packet to a bucket on each counter array, reports whether the packet can pass the filter based on the minimum new counter value and the minimum old counter value, and decides whether to update the new counter in it ; b、小流过滤器中计数器的周期更新;b. Periodic update of the counter in the small flow filter; 当小流过滤器在测量一定数量的数据包后,将对自身中的所有计数器进行更新;其中新计数器将直接重置为0,旧计数器则采用折半的更新策略,即更新为上一个周期新计数器的值与旧计数器的值的平均值;When the small flow filter measures a certain number of data packets, it will update all counters in itself; the new counters will be directly reset to 0, and the old counters will adopt a half update strategy, that is, they will be updated to the new ones in the previous cycle. The average of the counter value and the old counter value; c、大流监控表的插入;c. Insertion of large flow monitoring table; 当一个数据包传入大流监控表时,首先根据该数据包所属流的流标识符计数出流的指纹值,然后根据流的指纹值去监控表中进行查询,并根据查询结果和哈希桶是否存在空位进行不同的更新步骤;When a data packet is introduced into the large flow monitoring table, the fingerprint value of the outgoing flow is first counted based on the flow identifier of the flow to which the data packet belongs, and then the flow fingerprint value is queried in the monitoring table, and the query result and hash are Different update steps are performed depending on whether there is an empty space in the bucket; d、大流监控表的替换;d. Replacement of large flow monitoring table; 当一条流的数据包到达时,其映射的所有哈希桶都已满,且该流未记录在桶中,则首先根据桶中最小流的包数量Cmin产生一个替换概率1/(Cmin+1),然后与一个随机产生在0到1之间的实数比较;若替换概率大于实数,则替换最小流,否则,该流的数据包将被丢弃;When a data packet of a flow arrives, all its mapped hash buckets are full, and the flow is not recorded in the bucket, a replacement probability 1/(C min is first generated based on the number of packets of the smallest flow in the bucket C min +1), and then compare it with a randomly generated real number between 0 and 1; if the replacement probability is greater than the real number, replace the minimum flow, otherwise, the data packet of this flow will be discarded; e、大流监控表的Top-k流报告;e. Top-k flow report of large flow monitoring table; 大流监控表首先根据流的包数量将所有的流从大到小依次排列,提取出前k条流,并加上小流过滤器的阈值T作为流的最终包数量,然后向服务器报告这k条流为Top-k流。The large flow monitoring table first sorts all the flows from large to small according to the number of packets in the flow, extracts the top k flows, adds the threshold T of the small flow filter as the final number of packets of the flow, and then reports these k flows to the server. The streams are Top-k streams. 4.根据权利要求3所述的方法,其特征在于,使用两种小型的计数器构建小流过滤器,并以周期更新小流过滤器中的计数器;其中一种计数器记录流在当前周期内到达的包数量,以识别新到达的大流,另一种计数器记录流在过去的周期中平均到达的包数量,以识别持续到达的大流;两种小型计数器相结合以识别网络流量中的大流,减少因存储小流而造成的存储空间浪费,解决传统过滤器对小流过滤失效的问题,提高Top-k流的识别精度。4. The method according to claim 3, characterized in that two small counters are used to construct a small flow filter, and the counters in the small flow filter are updated periodically; one of the counters records the arrival of the flow in the current period. The number of packets to identify newly arriving large flows, and another counter to record the average number of packets arriving in the flow in the past cycle to identify large flows that continue to arrive; the two small counters are combined to identify large flows in network traffic. Streams, reducing the waste of storage space caused by storing small flows, solving the problem of traditional filters failing to filter small flows, and improving the recognition accuracy of Top-k flows. 5.根据权利要求3所述的方法,其特征在于,结合单哈希多映射算法,设计一种低开销而高精度的Top-k流识别方法;首先根据流标识符计算出的指纹值,然后从指纹值中选取比特重新组成一个哈希值以映射到哈希表中,降低哈希计算的开销。5. The method according to claim 3, characterized in that a low-overhead and high-precision Top-k flow identification method is designed in combination with a single hash multi-mapping algorithm; first, the fingerprint value calculated based on the flow identifier, Then select bits from the fingerprint value to reconstruct a hash value to map to the hash table, reducing the cost of hash calculation. 6.根据权利要求3所述的方法,其特征在于,由于每条流可以有多个候选哈希桶,因此可以保证Top-k流有足够的的存储位置可供其选择,避免Top-k因没有位置存储而造成无法监控其流大小的问题,提高Top-k流识别精度;同时,在替换最小流时,由于可以从多个候选位置选取最小流,因此可以准确选取最小流驱逐。6. The method according to claim 3, characterized in that since each flow can have multiple candidate hash buckets, it can be ensured that the Top-k flow has enough storage locations for it to choose, avoiding Top-k The problem of being unable to monitor the flow size due to the lack of location storage improves the Top-k flow identification accuracy; at the same time, when replacing the minimum flow, since the minimum flow can be selected from multiple candidate positions, the minimum flow eviction can be accurately selected.
CN202111133411.4A 2021-09-27 2021-09-27 An accurate monitoring system for Top-k flows based on small flow filtering Expired - Fee Related CN113839835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111133411.4A CN113839835B (en) 2021-09-27 2021-09-27 An accurate monitoring system for Top-k flows based on small flow filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111133411.4A CN113839835B (en) 2021-09-27 2021-09-27 An accurate monitoring system for Top-k flows based on small flow filtering

Publications (2)

Publication Number Publication Date
CN113839835A CN113839835A (en) 2021-12-24
CN113839835B true CN113839835B (en) 2023-09-26

Family

ID=78970546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111133411.4A Expired - Fee Related CN113839835B (en) 2021-09-27 2021-09-27 An accurate monitoring system for Top-k flows based on small flow filtering

Country Status (1)

Country Link
CN (1) CN113839835B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115914011B (en) * 2021-12-28 2024-08-02 长沙理工大学 Top-k flow elasticity measurement method supporting software definition
CN114785707B (en) * 2022-05-16 2023-06-20 电子科技大学 A Hierarchical Large Flow Collaborative Monitoring Method
CN115102907B (en) * 2022-06-17 2024-01-26 长沙理工大学 Active large flow accurate identification method and system based on small flow filtering
CN115460111B (en) * 2022-07-26 2023-07-25 西安电子科技大学 Top-k stream statistical method and system based on HINOC protocol
CN115604154B (en) * 2022-08-30 2025-03-21 长沙理工大学 A network large flow elasticity measurement method supporting traffic jitter
CN116055362B (en) * 2023-01-10 2025-01-24 之江实验室 Two-level Hash-Sketch network traffic measurement method based on time window
CN116760728A (en) * 2023-07-19 2023-09-15 沈阳师范大学 High-speed data stream-oriented general stream level filtering method
CN117873916A (en) * 2023-12-14 2024-04-12 天翼云科技有限公司 A retrieval method based on disk-level cache data redirection
CN118535569B (en) * 2024-04-08 2025-09-23 哈尔滨工业大学(深圳)(哈尔滨工业大学深圳科技创新研究院) Data processing method, system and storage medium for large flow detection
CN119172324B (en) * 2024-11-19 2025-06-13 苏州大学 A network flow status monitoring method, system, device, medium and product

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4492281A (en) * 1982-03-01 1985-01-08 Scans Associates, Inc. Weigh scale
CN102025563A (en) * 2010-11-30 2011-04-20 东南大学 Network flow identification method based on Hash collision compensation
CN104348740A (en) * 2013-07-31 2015-02-11 国际商业机器公司 Data package processing method and system
CN105427631A (en) * 2015-12-18 2016-03-23 天津通翔智能交通系统有限公司 System and method for optimizing multilevel self-adapted disturbance attenuation traffic signal
CN105745870A (en) * 2013-07-15 2016-07-06 瑞典爱立信有限公司 Removing lead filter from serial multiple-stage filter used to detect large flows in order to purge flows for prolonged operation
CN111200542A (en) * 2020-01-03 2020-05-26 国网山东省电力公司电力科学研究院 A network traffic management method and system based on deterministic replacement strategy
CN111262756A (en) * 2020-01-20 2020-06-09 长沙理工大学 An accurate measurement method and architecture of high-speed network elephant flow
CN111865635A (en) * 2019-04-29 2020-10-30 中国移动通信集团贵州有限公司 Method and device for determining time limit of ring network capacity
CN112671611A (en) * 2020-12-23 2021-04-16 清华大学 Sketch-based large stream detection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768856B (en) * 2018-07-27 2022-01-14 华为技术有限公司 Network flow measuring method, network measuring equipment and control plane equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4492281A (en) * 1982-03-01 1985-01-08 Scans Associates, Inc. Weigh scale
CN102025563A (en) * 2010-11-30 2011-04-20 东南大学 Network flow identification method based on Hash collision compensation
CN105745870A (en) * 2013-07-15 2016-07-06 瑞典爱立信有限公司 Removing lead filter from serial multiple-stage filter used to detect large flows in order to purge flows for prolonged operation
CN104348740A (en) * 2013-07-31 2015-02-11 国际商业机器公司 Data package processing method and system
CN105427631A (en) * 2015-12-18 2016-03-23 天津通翔智能交通系统有限公司 System and method for optimizing multilevel self-adapted disturbance attenuation traffic signal
CN111865635A (en) * 2019-04-29 2020-10-30 中国移动通信集团贵州有限公司 Method and device for determining time limit of ring network capacity
CN111200542A (en) * 2020-01-03 2020-05-26 国网山东省电力公司电力科学研究院 A network traffic management method and system based on deterministic replacement strategy
CN111262756A (en) * 2020-01-20 2020-06-09 长沙理工大学 An accurate measurement method and architecture of high-speed network elephant flow
CN112671611A (en) * 2020-12-23 2021-04-16 清华大学 Sketch-based large stream detection method and device

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
"一种基于大小流区分计数的公平抽样算法";王晶等,;《电子与信息学报》;第36卷(第10期);2350-2356 *
Mengkun Wu,et al.,."ActiveKeeper: An Accurate and Efficient Algorithm for Finding Top-k Elephant Flows".《 IEEE Communications Letters 》.2021,第25卷(第8期),全文. *
基于LRU的大流检测算法;王洪波;裴育杰;林宇;程时端;金跃辉;;电子与信息学报(第10期);全文 *
基于多智能体的交通干线动态智能协调控制;孔祥杰;沈国江;孙优贤;;解放军理工大学学报(自然科学版)(第05期);全文 *
基于散列和计数方法的网络流频繁项挖掘算法;赵小欢;夏靖波;付凯;;华中科技大学学报(自然科学版)(第09期);全文 *
邓祺."软件定义网络精细化测量技术研究".《中国优秀硕士学位论文全文数据库 (信息科技辑)》.2020,全文. *

Also Published As

Publication number Publication date
CN113839835A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN113839835B (en) An accurate monitoring system for Top-k flows based on small flow filtering
CN111262756B (en) A kind of high-speed network elephant flow accurate measurement method and device
CN107566206B (en) Flow measuring method, equipment and system
CN109861881B (en) Elephant flow detection method based on three-layer Sketch framework
CN111966284B (en) An OpenFlow large-scale flow table elastic energy-saving and efficient search system and method
CN115102907B (en) Active large flow accurate identification method and system based on small flow filtering
US20110167149A1 (en) Internet flow data analysis method using parallel computations
CN115604154B (en) A network large flow elasticity measurement method supporting traffic jitter
CN114205253A (en) Active large flow accurate detection framework and method based on small flow filtering
CN117421188A (en) Alarm grading method, device, equipment and readable storage medium
CN113965492A (en) Data flow statistical method and device
CN106682225B (en) A kind of big data collects storage method and system
Qi et al. Cuckoo counter: A novel framework for accurate per-flow frequency estimation in network measurement
CN105471893B (en) A kind of distributed equivalent data flow connection method
CN115580543B (en) A Method for Evaluating Network System Activity Based on Hash Counting
CN115599830A (en) Method, device, equipment and medium for determining data association relationship
CN107256130A (en) Data store optimization method and system based on Cuckoo Hash calculations
CN104836700B (en) NAT host number detection methods based on IPID and probability statistics model
CN108566335B (en) Network topology generation method based on NetFlow
CN114884834A (en) Low-overhead Top-k network flow high-precision extraction framework and method
Cheng et al. BurstDetector: Real-Time and Accurate Across-Period Burst Detection in High-Speed Networks
CN102833134A (en) Workload adaptation method for measuring flow of network data stream
Sun et al. HEE-Sketch: An efficient sketch for sliding-window frequency estimation over skewed data streams
CN109710610A (en) Data processing method, device and calculating equipment
CN115914011B (en) Top-k flow elasticity measurement method supporting software definition

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230926