[go: up one dir, main page]

CN114884834A - Low-overhead Top-k network flow high-precision extraction framework and method - Google Patents

Low-overhead Top-k network flow high-precision extraction framework and method Download PDF

Info

Publication number
CN114884834A
CN114884834A CN202111536584.0A CN202111536584A CN114884834A CN 114884834 A CN114884834 A CN 114884834A CN 202111536584 A CN202111536584 A CN 202111536584A CN 114884834 A CN114884834 A CN 114884834A
Authority
CN
China
Prior art keywords
flow
stream
counter
hash
small
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.)
Pending
Application number
CN202111536584.0A
Other languages
Chinese (zh)
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 CN202111536584.0A priority Critical patent/CN114884834A/en
Publication of CN114884834A publication Critical patent/CN114884834A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/02Capturing of monitoring data
    • H04L43/028Capturing of monitoring data by filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

本发明公开了一种低开销的Top‑k网络流高精度提取架构及方法,包括:小流过滤器,用于过滤网络中的大部分小流,减小资源开销,并降低哈希冲突率;大流提取器,用于提取网络中的Top‑k流,提高Top‑k流识别的准确率。本发明方法提出一种基于计数器超值占比的自适应更新策略,每当小流过滤器中超过阈值的计数器数量占比过高时,每个计数器通过标志位记录其当前周期内是否超过阈值,然后重置进入下一个周期,以保持小流过滤器的持续有效性。同时,使用分段哈希算法设计大流提取器,为传入流提供多个候选位置,当所有候选哈希桶已满时,会通过投票机制进行替换策略,这样可以使得每次尽可能踢除小流,而使大流保存在哈希桶中,因此提高了Top‑k流提取的准确性。

Figure 202111536584

The invention discloses a low-overhead Top-k network flow high-precision extraction architecture and method, including: a small flow filter for filtering most small flows in the network, reducing resource overhead and reducing hash collision rate ; Large stream extractor, which is used to extract Top-k streams in the network and improve the accuracy of Top-k stream recognition. The method of the present invention proposes an adaptive update strategy based on the proportion of counters exceeding the value. Whenever the proportion of the number of counters exceeding the threshold in the small flow filter is too high, each counter records whether it exceeds the threshold in the current cycle through the flag bit. , and then reset into the next cycle to maintain the continued effectiveness of the small flow filter. At the same time, a segmented hash algorithm is used to design a large stream extractor to provide multiple candidate positions for the incoming stream. When all candidate hash buckets are full, the voting mechanism will be used to replace the strategy, which can make every possible kick as much as possible. In addition to small streams, large streams are kept in hash buckets, thus improving the accuracy of Top-k stream extraction.

Figure 202111536584

Description

一种低开销的Top-k网络流高精度提取架构及方法A Low-Overhead High-precision Extraction Architecture and Method for Top-k Network Streams

技术领域technical field

本发明涉及网络测量领域,具体涉及一种低开销的Top-k网络流高精度提取架构及方法。The invention relates to the field of network measurement, in particular to a low-overhead Top-k network flow high-precision extraction architecture and method.

背景技术Background technique

Top-k流提取主要用于找出网络流量中包数量排名前k的网络流,可以为拥塞控制、网络运营、网络计费和异常检测提供支持,是网络测量的一项基础性任务。目前主流的Top-k流提取方案是采用Sketch数据结构来记录所有流的包数量,进而通过小顶堆Min-heap提取Top-k流。然而,由于网络流数量远大于Sketch每行的计数器数量,许多条流可能会映射到Sketch的同一计数器,容易出现小流被误判成大流的问题。一种有效的改进方案是利用Sketch过滤小流,然后采用哈希结构记录筛选Top-k流,以提高Top-k流提取的准确率。然而,随着网络包流的持续到达,Sketch中的所有计数器将会不断增大直至溢出,最终导致小流过滤器彻底失效,进而严重影响后续大流提取的准确性。同时,多条流映射到大流提取器时可能产生哈希冲突,容易出现大流被踢除的情况,从而降低Top-k流提取的准确率。对此,本专利基于先过滤小流后提取大流的思路,提出了一种低开销的Top-k网络流高精度提取方法,解决了小流过滤器的失效性问题,同时降低了大流提取器的哈希冲突率,进而提高了Top-k流提取的准确率。Top-k flow extraction is mainly used to find out the top k network flows in the number of packets in the network traffic, which can provide support for congestion control, network operation, network charging and anomaly detection, and is a basic task of network measurement. The current mainstream Top-k stream extraction solution is to use the Sketch data structure to record the number of packets of all streams, and then extract the Top-k stream through the Min-heap of the small top heap. However, since the number of network flows is much larger than the number of counters per line in Sketch, many flows may be mapped to the same counter in Sketch, which is prone to the problem of small flows being misjudged as large flows. An effective improvement scheme is to use Sketch to filter small streams, and then use hash structure records to filter Top-k streams to improve the accuracy of Top-k stream extraction. However, as the network packet flow continues to arrive, all the counters in Sketch will continue to increase until they overflow, which will eventually lead to the complete failure of the small flow filter, which will seriously affect the accuracy of subsequent large flow extraction. At the same time, hash collisions may occur when multiple streams are mapped to the large stream extractor, which is prone to the situation that the large stream is kicked out, thereby reducing the accuracy of Top-k stream extraction. In this regard, based on the idea of filtering small flows first and then extracting large flows, this patent proposes a high-precision extraction method for Top-k network flows with low overhead, which solves the problem of ineffectiveness of small flow filters and reduces large flows at the same time. The hash collision rate of the extractor improves the accuracy of Top-k stream extraction.

对比文件:CN111262756A公开了一种高速网络大象流精确测量方法及架构,基于sketch的过滤器,能够对数据包中的老鼠流进行过滤,以降低后续的计算和空间开销,提高后续大象流测量的准确率;基于Cuckoo哈希的提取器,能够降低大象流被踢除的概率,既节省了提取资源又提高了大象流测量的准确率。该对比文件方案基于sketch的过滤器的设计存在过滤失效问题,基于Cuckoo哈希的提取器又存在着准确率不高的问题。对此,本专利设计一种支持自适应更新的紧凑型小流过滤器,保证小流过滤器在面对大流量时的持续有效性,同时减少后续处理小流的资源开销,同时通过小流过滤器筛除掉大部分小流,使得进入大流提取器的流基本上都是大流,从而提高Top-k流的提取精度。Comparative document: CN111262756A discloses an accurate measurement method and architecture of high-speed network elephant flow. The sketch-based filter can filter the mouse flow in the data packet, so as to reduce the subsequent calculation and space overhead, and improve the subsequent elephant flow. Measurement accuracy; the extractor based on Cuckoo hash can reduce the probability of elephant flow being kicked out, which not only saves extraction resources but also improves the accuracy of elephant flow measurement. The design of the filter based on sketch of the comparison file scheme has the problem of filtering failure, and the extractor based on Cuckoo hash has the problem of low accuracy. In this regard, this patent designs a compact small flow filter that supports adaptive update, which ensures the continuous effectiveness of the small flow filter in the face of large traffic, and reduces the resource overhead of subsequent processing of small flows. The filter screen removes most of the small flows, so that the flows entering the large flow extractor are basically large flows, thereby improving the extraction accuracy of the Top-k flow.

发明内容SUMMARY OF THE INVENTION

本专利基于过滤小流提取大流的思路,进而设计一种先过滤后提取的Top-k流精确提取方案。该方案中,小流过滤器采用紧凑的sketch数据结构,当过滤器中大数值的计数器数量占比达到预设比例时,每个计数器配置的标志位记录其是否超过阈值,将作为后一个周期内判定传入流是否被放行的依据,进而始终精确过滤小流,从而提高Top-k流提取精度。在此基础上,采用分段哈希算法设计大流提取器,以为每条流提供多个候选位置,并在候选位置均已满时,基于投票思想选出其中的最小流,进而判断是否替换为传入流以保留大流,从而实现Top-k流的精确提取。This patent is based on the idea of filtering small flows to extract large flows, and then designs an accurate extraction scheme for Top-k flows that is filtered first and then extracted. In this scheme, the small flow filter adopts a compact sketch data structure. When the number of counters with large values in the filter reaches the preset ratio, the flag bit configured for each counter records whether it exceeds the threshold, which will be used as the next cycle. The internal basis for determining whether the incoming stream is released, and then always accurately filter small streams, thereby improving the extraction accuracy of Top-k streams. On this basis, a segmented hash algorithm is used to design a large stream extractor to provide multiple candidate positions for each stream, and when the candidate positions are all full, the smallest stream is selected based on the voting idea, and then it is judged whether to replace it or not. For incoming streams to retain large streams, so as to achieve accurate extraction of Top-k streams.

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

本发明提供一种低开销的Top-k网络流高精度提取架构及方法,包括:The present invention provides a low-overhead Top-k network stream high-precision extraction architecture and method, including:

小流过滤器,提出一种基于计数器超值占比的自适应更新策略,其中的每个元素包含一个计数器和一个标志位,计数器用于记录当前周期内映射到此位置的包数量,由于计数器只需记录一个周期内的包数量,且周期通常设置较短,故可设置为少数几个比特,标志位占一个比特,用于记录对应计数器重置前即上一个周期结束时的状态,即是否超过阈值,作为当前周期内判定传入流是否被放行的依据,只有当传入流映射到sketch中的所有标志位都为1,或所有计数器都达到阈值时,该流很有可能是大流,才会放行,否则丢弃,从而实现过滤小流的作用,总之,每个元素仅占用几个比特,使得sketch数据结构占用空间小,空间利用率高;Small flow filter, proposes an adaptive update strategy based on the proportion of counter excess value, each element of which contains a counter and a flag bit, the counter is used to record the number of packets mapped to this position in the current cycle, because the counter It only needs to record the number of packets in one cycle, and the cycle is usually set to be short, so it can be set to a few bits, and the flag bit occupies one bit, which is used to record the state before the corresponding counter is reset, that is, at the end of the previous cycle, that is Whether the threshold is exceeded is used as the basis for judging whether the incoming stream is released in the current cycle. Only when all the flags in the incoming stream mapped to the sketch are 1, or all the counters reach the threshold, the stream is likely to be large. The stream will be released, otherwise it will be discarded, so as to realize the function of filtering small streams. In short, each element only occupies a few bits, which makes the sketch data structure occupy a small space and high space utilization;

大流提取器,基于分段哈希算法设计了一种大流提取结构,每个哈希桶包含多个用于记录流的槽,每个槽包含流签名、正票计数器和反票计数器,流签名用于标识流,正票计数器用于记录流的包数量,反票计数器用于记录映射到对应哈希桶但不属于其中任意一条流的包数量,对于每条传入流,大流识别器采用分段哈希方法提供多个候选位置,并从中任选一个空位存储,当所有候选位置均已满时,采用投票思想选出其中的最小流,进而判断是否替换为传入流,从而达到精确识别Top-k流的效果;The large flow extractor, based on the segmented hash algorithm, designs a large flow extraction structure, each hash bucket contains multiple slots for recording the flow, and each slot contains the flow signature, positive vote counter and negative vote counter, The flow signature is used to identify the flow, the positive ticket counter is used to record the number of packets in the flow, and the negative ticket counter is used to record the number of packets that are mapped to the corresponding hash bucket but do not belong to any one of the flows. The recognizer uses the segmented hash method to provide multiple candidate positions, and selects one of the vacancies for storage. When all the candidate positions are full, it uses the voting idea to select the smallest stream among them, and then judges whether to replace it with the incoming stream. So as to achieve the effect of accurately identifying the Top-k flow;

所述小流过滤器,用于小流过滤的过滤器,通过设置阈值来过滤小流,其中计数器counter代表当前周期内映射到此位置的包数量,标志位flag代表对应计数器重置前即上一个周期结束时的状态;The small flow filter, a filter used for small flow filtering, filters small flows by setting a threshold, wherein the counter represents the number of packets mapped to this position in the current cycle, and the flag bit indicates that the corresponding counter is reset immediately before it is reset. the state at the end of a cycle;

所述大流提取器,基于分段哈希的大流提取器,利用分段哈希算法提取大流,其中提取的内容字段是签名值sig用于标识流,计数器count用于记录流的包数量和反计数器countn用于记录映射到对应哈希桶但不属于其中任意一条流的包数量。The large flow extractor, the large flow extractor based on segment hash, uses the segment hash algorithm to extract the large flow, wherein the extracted content field is the signature value sig used to identify the flow, and the counter count is used to record the packets of the flow. The number and counter counter count n are used to record the number of packets that map to the corresponding hash bucket but do not belong to any one of the flows.

本发明方法还提供一种基于上述架构的方法,包括:The method of the present invention also provides a method based on the above-mentioned architecture, comprising:

所述小流过滤器首先在插入过程中,提取其流标识符fid,然后通过d个不同的哈希函数在sketch每个数组中映射一个元素,进而读取对应的标志位和计数器,将其中的最小计数器值加1,若所有标志位不全为1,且最小的计数器没有达到阈值,则表明对应的是一条小流,直接丢弃数据包,否则将其放行,若当前sketch中达到阈值的计数器数量超过一定比例,则根据计数器值更新对应的标志位值,若计数器值达到阈值,则标志位更新为1,否则为0。最后清空所有计数器值;The small stream filter first extracts its stream identifier fid during the insertion process, then maps an element in each array of sketch through d different hash functions, and then reads the corresponding flag bit and counter, Add 1 to the minimum counter value of , if all flag bits are not all 1, and the minimum counter does not reach the threshold, it indicates that the corresponding small flow is a small flow, and the data packet is directly discarded, otherwise it is released, if the counter in the current sketch reaches the threshold If the number exceeds a certain percentage, the corresponding flag bit value is updated according to the counter value. If the counter value reaches the threshold, the flag bit is updated to 1, otherwise it is 0. Finally clear all counter values;

所述大流提取器将其流标识符fid通过分段哈希函数映射到多个候选位置,进而在对应的哈希桶中并行查找,若成功找到一条流,则将该流的正票数加1,若查找失败,且候选位置中存在空位,则随机选取一个空位存入该流,同时将其正票数置1,否则将所有候选位置的反票数加1,并从所有候选位置中选出正票数与反票数比值最小的流,若该比值大于预设阈值,则直接丢弃数据包,否则将传入流替换最小流,同时将其正票数加1,反票数重置为0;The large flow extractor maps its flow identifier fid to multiple candidate positions through a segmented hash function, and then searches in parallel in the corresponding hash buckets. If a flow is successfully found, the positive votes of the flow are added. 1. If the search fails and there is a vacancy in the candidate position, a vacancy is randomly selected and stored in the stream, and the number of positive votes is set to 1, otherwise the number of negative votes of all candidate positions is increased by 1, and selected from all candidate positions. The stream with the smallest ratio of positive votes to negative votes, if the ratio is greater than the preset threshold, the data packet will be discarded directly, otherwise the incoming stream will be replaced with the smallest stream, and its positive votes will be increased by 1, and the negative votes will be reset to 0;

进一步的,所述高效方法包括如下操作:Further, the efficient method includes the following operations:

1、流提取流程;1. Stream extraction process;

当收到一个分组时,首先解析其协议首部,提取五元组字段,计算流标识符fid,然后进入小流判定流程,判断该流是否为小流,若为小流,则直接丢弃分组,否则进入Top-k流提取流程,记录所有Top-k流的流指纹和分组数量,以供查询使用;When a packet is received, it first parses its protocol header, extracts the quintuple field, calculates the flow identifier fid, and then enters the small flow determination process to determine whether the flow is a small flow. If it is a small flow, the packet is directly discarded. Otherwise, enter the Top-k flow extraction process, and record the flow fingerprints and number of groups of all Top-k flows for query;

2、流过滤方法;2. Flow filtration method;

通过小流过滤器对每条传入流进行过滤,若达到阈值则放行至大流提取器,若未达到阈值则直接丢弃,其中每条流均只提取包数量;Filter each incoming flow through the small flow filter. If the threshold is reached, it will be released to the large flow extractor. If the threshold is not reached, it will be discarded directly. Each flow only extracts the number of packets;

3、流识别方法;3. Flow identification method;

通过大流提取器对传入流进行提取,根据提取流的流标识进行判断,该传入流是否已经被大流提取器提取,其中每条流均提取流标识,包数量,哈希冲突次数。The incoming stream is extracted by the large stream extractor, and it is judged according to the stream identifier of the extracted stream whether the incoming stream has been extracted by the large stream extractor, and each stream extracts the stream identifier, the number of packets, and the number of hash collisions. .

4、流替换方法;4. Stream replacement method;

当传入流的映射位置已满,且满足替换条件,传入流会对已提取的哈希冲突流进行替换,其中每条流均提取流标识,包数量,哈希冲突次数。When the mapping position of the incoming flow is full and the replacement conditions are met, the incoming flow will replace the extracted hash conflict flow, in which each flow extracts the flow ID, the number of packets, and the number of hash collisions.

5、流输出方法;5. Stream output method;

大流提取器则并行遍历所有哈希桶中的槽,将流数量大于阈值的流提取出来,然后从大到小依次输出流id和流数量。The large stream extractor traverses all the slots in the hash bucket in parallel, extracts the streams whose number is greater than the threshold, and then outputs the stream id and the number of streams in order from large to small.

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

1、针对传统小流过滤器在网络数据包持续到达下容易出现失效性问题,本专利为小流过滤器提出一种基于计数器超值占比的自适应更新策略,以保证其持续有效性,当小流过滤器中超过阈值的计数器数量占比达到预设比例时,每个计数器用一个标志位记录其状态即是否超过阈值,然后重置为零,并进入下一个周期重新开始计数。在新周期中,某个数据包映射到一个计数器后,其标志位作为判定是否放行该数据包的依据,从而持续有效过滤小流;1. In view of the fact that the traditional small flow filter is prone to failure when network data packets continue to arrive, this patent proposes an adaptive update strategy based on the proportion of counter excess value for the small flow filter to ensure its continuous effectiveness. When the proportion of the number of counters exceeding the threshold in the small flow filter reaches the preset proportion, each counter uses a flag bit to record its status, that is, whether it exceeds the threshold, and then resets to zero, and starts counting again in the next cycle. In the new cycle, after a data packet is mapped to a counter, its flag bit is used as the basis for judging whether to release the data packet, so as to continuously and effectively filter the small flow;

2、针对传统的大流提取器通常只为传入流提供一个哈希候选位置,容易产生哈希冲突的问题,本专利采用分段哈希方法,在大流提取器中为每条传入流提供多个候选位置,以降低哈希冲突率,从而尽可能容纳所有大流。若所有候选位置已满,本专利采用投票思想从所有候选位置中选出最小流,进而判定传入流是否替换最小流,使大流保留下来,而丢弃的尽可能是小流,从而提高Top-k流提取的精度。2. Aiming at the traditional large stream extractor usually only provides a hash candidate position for the incoming stream, which is prone to the problem of hash collision, this patent adopts the segmented hash method, in the large stream extractor, for each incoming stream Streams provide multiple candidate locations to reduce the hash collision rate, thus accommodating all large streams as much as possible. If all the candidate positions are full, this patent uses the voting idea to select the minimum flow from all the candidate positions, and then determines whether the incoming flow replaces the minimum flow, so that the large flow is retained, and the small flow is discarded as much as possible, thereby improving the top flow. -k The precision of stream extraction.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying 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 also be obtained according to these drawings without creative efforts.

图1是本发明方法低开销的Top-k网络流高精度提取架构图。FIG. 1 is an architecture diagram of a low-overhead Top-k network stream high-precision extraction of the method of the present invention.

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

图3是本发明方法中大流提取器结构图。FIG. 3 is a structural diagram of a large flow extractor in the method of the present invention.

图4是本发明方法中流提取流程结构图。FIG. 4 is a structural diagram of the flow extraction process in the method of the present invention.

图5是本发明方法中流过滤方法流程图。Figure 5 is a flow chart of the flow filtration method in the method of the present invention.

图6是本发明方法中流识别方法流程图。FIG. 6 is a flow chart of the flow identification method in the method of the present invention.

图7是本发明方法中流替换方法流程图。FIG. 7 is a flow chart of the stream replacement method in the method of the present invention.

图8是本发明方法中流输出方法流程图。FIG. 8 is a flow chart of the stream output method in the method of the present invention.

具体实施方式Detailed ways

为了更好地阐述该发明的内容,下面通过具体实施例对本发明进一步的验证。特在此说明,实施例只是为更直接地描述本发明,它们只是本发明的一部分,不能对本发明构成任何限制。In order to better illustrate the content of the present invention, the present invention is further verified by specific embodiments below. It is hereby stated that the embodiments are only to describe 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 FIG. 1 , an embodiment of the present invention provides a low-overhead Top-k network stream high-precision extraction architecture and method, including:

所述小流过滤器首先在插入过程中,提取其流标识符fid,然后通过d个不同的哈希函数在sketch每个数组中映射一个元素,进而读取对应的标志位和计数器,将其中的最小计数器值加1,若所有标志位不全为1,且最小的计数器没有达到阈值,则表明对应的是一条小流,直接丢弃数据包,否则将其放行,若当前sketch中达到阈值的计数器数量超过一定比例,则根据计数器值更新对应的标志位值,若计数器值达到阈值,则标志位更新为1,否则为0。最后清空所有计数器值,如图2所示。The small stream filter first extracts its stream identifier fid during the insertion process, then maps an element in each array of sketch through d different hash functions, and then reads the corresponding flag bit and counter, Add 1 to the minimum counter value of , if all flag bits are not all 1, and the minimum counter does not reach the threshold, it indicates that the corresponding small flow is a small flow, and the data packet is directly discarded, otherwise it is released, if the counter in the current sketch reaches the threshold If the number exceeds a certain percentage, the corresponding flag bit value is updated according to the counter value. If the counter value reaches the threshold, the flag bit is updated to 1, otherwise it is 0. Finally, all counter values are cleared, as shown in Figure 2.

所述大流提取器将其流标识符fid通过分段哈希函数映射到多个候选位置,进而在对应的哈希桶中并行查找,若成功找到一条流,则将该流的正票数加1,若查找失败,且候选位置中存在空位,则随机选取一个空位存入该流,同时将其正票数置1,否则将所有候选位置的反票数加1,并从所有候选位置中选出正票数与反票数比值最小的流,若该比值大于预设阈值,则直接丢弃数据包,否则将传入流替换最小流,同时将其正票数加1,反票数重置为0,如图3所示。The large flow extractor maps its flow identifier fid to multiple candidate positions through a segmented hash function, and then searches in parallel in the corresponding hash buckets. If a flow is successfully found, the positive votes of the flow are added. 1. If the search fails and there is a vacancy in the candidate position, a vacancy is randomly selected and stored in the stream, and the number of positive votes is set to 1, otherwise the number of negative votes of all candidate positions is increased by 1, and selected from all candidate positions. The stream with the smallest ratio of positive votes to negative votes, if the ratio is greater than the preset threshold, the data packet will be discarded directly, otherwise the incoming stream will be replaced with the smallest stream, and its positive votes will be increased by 1, and the negative votes will be reset to 0, as shown in the figure 3 shown.

当交换机接收到某个数据包p时,首先解析其首部重要字段,如:源/目的IP地址、源/目的MAC地址、源/目的端口号、IP协议类型等,进而提取流关键字fid;之后,数据包进入第一层,即小流过滤器对小流进行过滤;最后,通过过滤器的数据包进入第二层,即大流提取器完成流量信息统计;When the switch receives a data packet p, it first parses the important fields in its header, such as: source/destination IP address, source/destination MAC address, source/destination port number, IP protocol type, etc., and then extracts the flow keyword fid; After that, the data packet enters the first layer, that is, the small flow filter filters the small flow; finally, the data packet passing through the filter enters the second layer, that is, the large flow extractor completes the traffic information statistics;

本实施例还提供一种基于上述架构的方法,包括以下步骤:This embodiment also provides a method based on the above architecture, comprising the following steps:

1、流提取流程;1. Stream extraction process;

如图4所示,当收到一个分组时,首先解析其协议首部,提取五元组字段,计算流标识符fid,然后进入小流判定流程,判断该流是否为小流,若为小流,则直接丢弃分组,否则进入Top-k流提取流程,记录所有Top-k流的流指纹和分组数量,以供查询使用;As shown in Figure 4, when a packet is received, it first parses its protocol header, extracts the quintuple field, calculates the flow identifier fid, and then enters the small flow determination process to determine whether the flow is a small flow, if it is a small flow , the packet is discarded directly, otherwise it enters the Top-k flow extraction process, and records the flow fingerprints and the number of packets of all Top-k flows for query use;

2、流过滤方法;2. Flow filtration method;

如图5所示,以过滤器中计数器的个数(k)达到阈值为标志,当接收到某个数据包p时,先通过过滤器对数据包进行相关处理;As shown in Figure 5, the number of counters in the filter (k) reaches the threshold as a mark, when a certain data packet p is received, the data packet is first processed by the filter;

判断flagi是否全部为1,若满足条件,使countermin自加1的同时,该流进入流识别过程;若反之,进一步判断countermin是否达到阈值,若达到,该流进入流识别过程;若没达到,将countermin自增1;Judge whether flag i is all 1. If the conditions are met, the flow enters the flow identification process while the counter min is incremented by 1; otherwise, it is further judged whether the counter min reaches the threshold. If it is not reached, the counter min will be incremented by 1;

判断此时的countermin是否达到阈值,若没有达到,操作结束;若达到,将满计数器的个数k加1;Determine whether the counter min at this time reaches the threshold, if not, the operation ends; if it does, add 1 to the number k of full counters;

判断k的值是否达到阈值,若没有达到,操作结束;若达到,则根据计数器值更新对应的标志位值,比如计数器值未达到阈值,则标志位更新为0;反之为1,之后将所有计数器值counteri重置为0,操作结束。Determine whether the value of k reaches the threshold, if not, the operation ends; if it does, update the corresponding flag bit value according to the counter value, for example, if the counter value does not reach the threshold value, the flag bit is updated to 0; otherwise, it is 1, and then all The counter value counter i is reset to 0, and the operation ends.

2、流识别方法;2. Flow identification method;

如图6所示,首先,解析数据包首部重要字段,提取流关键字fid;之后,利用哈希函数将流关键字fid生成连接签名值sig,再通过哈希函数Hash计算出m位的哈希值,每段随机选取n个bit,每段对应w个哈希表上的一个位置;As shown in Figure 6, first, the important fields in the header of the data packet are parsed to extract the flow keyword fid; then, the flow keyword fid is used to generate the connection signature value sig by the hash function, and then the hash function Hash is used to calculate the hash value of m bits. The value, n bits are randomly selected for each segment, and each segment corresponds to a position on the w hash tables;

并行查找w个候选哈希桶,当哈希桶中存在该流(Bj[indexj].sig==sig),将该流的计数器count加1,流识别过程结束;Search for w candidate hash buckets in parallel, when the flow (B j [index j ].sig==sig) exists in the hash bucket, add 1 to the counter count of the flow, and the flow identification process ends;

当哈希桶不存在该流且其对应位置是空时(Bj[indexj][i].sig==0),将连接签名值,计数器值,反计数器值(sig,1,0)写入空槽,流识别过程结束;When the hash bucket does not exist in the stream and its corresponding position is empty (B j [index j ][i].sig==0), the signature value, counter value, and inverse counter value (sig, 1, 0) will be concatenated Write the empty slot, the stream identification process ends;

当哈希桶中都有流且不是该流时,新建待替换缓存项item,进入流替换过程。When there is a stream in the hash bucket and it is not the stream, create a new cache item item to be replaced, and enter the stream replacement process.

3、流替换方法;3. Stream replacement method;

如图7所示,首先,输入待替换缓存项item的流关键字fid和连接签名值sig;As shown in Figure 7, first, input the stream keyword fid and the connection signature value sig of the cache item item to be replaced;

计算出待缓存项item的w个候选哈希桶位置Bj[indexj],然后,取出所有候选桶中的计数器值,比较找出反计数器值与计数器值比值最大的槽位置(Bj[indexj]),并取出其计数器值Cmin,计算出反计数器值与计数器值比值μ;Calculate the w candidate hash bucket positions B j [index j ] of the item to be cached, then take out the counter values in all candidate buckets, and compare and find the slot position with the largest ratio of the inverse counter value to the counter value (B j [ index j ]), and take out its counter value C min , and calculate the ratio μ of the inverse counter value to the counter value;

判断比值μ是否达到预定阈值,若达到,将该槽的流信息清空后,将待缓存项item中的流信息写入该哈希桶(sig,Cmin+1,0),操作结束。It is judged whether the ratio μ reaches the predetermined threshold. If it does, after clearing the flow information of the slot, write the flow information in the item item to be cached into the hash bucket (sig, C min +1, 0), and the operation ends.

若未达到,则删除待缓存替换项item,操作结束。If it is not reached, delete the item to be cached replacement item, and the operation ends.

4、流输出方法;4. Stream output method;

如图8所示,首先,我们输入一个定义大流的阈值(比如将大于数量500的流定义为大流,则输入500),大流提取器则并行遍历所有哈希桶中的槽,将流数量大于阈值的流提取出来,然后从大到小依次输出流id和流数量,操作结束。As shown in Figure 8, first, we input a threshold for defining a large flow (for example, if a flow greater than 500 is defined as a large flow, then enter 500), and the large flow extractor traverses all the slots in the hash bucket in parallel, and the The streams whose number of streams is greater than the threshold are extracted, and then the stream id and the number of streams are output in order from large to small, and the operation ends.

本专利采取过滤小流进而提取大流的思路,提出了低开销的Top-k网络流高精度提取方法,该发明有如下优点:(1)本专利在保证持续过滤小流的基础上尽可能存储所有大流,从而降低小流大量插入和替换占用的资源开销,进而以低开销实现Top-k流的精确提取。(2)小流过滤器通过标志位记录对应计数器重置前即上一个周期结束时的状态,确保其过滤小流的持续有效性,同时使得过滤器占用空间小,空间利用率高。(3)大流提取器通过为每条流提供多个候选位置,降低哈希冲突率,从而尽可能容纳所有大流,进而提高Top-k流的提取精度。This patent adopts the idea of filtering small flows and then extracting large flows, and proposes a high-precision extraction method for Top-k network flows with low overhead. The invention has the following advantages: (1) This patent is based on ensuring continuous filtering of small flows. All large streams are stored, thereby reducing the resource overhead occupied by a large number of insertions and replacements of small streams, and achieving accurate extraction of Top-k streams with low overhead. (2) The small flow filter records the state before the corresponding counter is reset, that is, at the end of the previous cycle, through the flag bit, so as to ensure the continuous effectiveness of filtering small flows, and at the same time, the filter occupies a small space and has a high space utilization rate. (3) The large stream extractor reduces the hash collision rate by providing multiple candidate positions for each stream, so as to accommodate all large streams as much as possible, thereby improving the extraction accuracy of Top-k streams.

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

Claims (6)

1.一种低开销的Top-k网络流高精度提取架构及方法,其特征在于,包括:1. a low-cost Top-k network flow high-precision extraction architecture and method, is characterized in that, comprising: 小流过滤器,提出一种基于计数器超值占比的自适应更新策略,其中的每个元素包含一个计数器和一个标志位,计数器用于记录当前周期内映射到此位置的包数量,由于计数器只需记录一个周期内的包数量,且周期通常设置较短,故可设置为少数几个比特,标志位占一个比特,用于记录对应计数器重置前即上一个周期结束时的状态,即是否超过阈值,作为当前周期内判定传入流是否被放行的依据,只有当传入流映射到sketch中的所有标志位都为1,或所有计数器都达到阈值时,该流很有可能是大流,才会放行,否则丢弃,从而实现过滤小流的作用,总之,每个元素仅占用几个比特,使得sketch数据结构占用空间小,空间利用率高;Small flow filter, proposes an adaptive update strategy based on the proportion of counter excess value, each element of which contains a counter and a flag bit, the counter is used to record the number of packets mapped to this position in the current cycle, because the counter It only needs to record the number of packets in one cycle, and the cycle is usually set to be short, so it can be set to a few bits, and the flag bit occupies one bit, which is used to record the state before the corresponding counter is reset, that is, at the end of the previous cycle, that is Whether the threshold is exceeded is used as the basis for judging whether the incoming stream is released in the current cycle. Only when all the flags in the incoming stream mapped to the sketch are 1, or all the counters reach the threshold, the stream is likely to be large. The stream will be released, otherwise it will be discarded, so as to realize the function of filtering small streams. In short, each element only occupies a few bits, which makes the sketch data structure occupy a small space and high space utilization; 大流提取器,基于分段哈希算法设计了一种大流提取结构,每个哈希桶包含多个用于记录流的槽,每个槽包含流签名、正票计数器和反票计数器,流签名用于标识流,正票计数器用于记录流的包数量,反票计数器用于记录映射到对应哈希桶但不属于其中任意一条流的包数量,对于每条传入流,大流识别器采用分段哈希方法提供多个候选位置,并从中任选一个空位存储,当所有候选位置均已满时,采用投票思想选出其中的最小流,进而判断是否替换为传入流,从而达到精确识别Top-k流的效果;The large flow extractor, based on the segmented hash algorithm, designs a large flow extraction structure, each hash bucket contains multiple slots for recording the flow, and each slot contains the flow signature, positive vote counter and negative vote counter, The flow signature is used to identify the flow, the positive ticket counter is used to record the number of packets in the flow, and the negative ticket counter is used to record the number of packets that are mapped to the corresponding hash bucket but do not belong to any one of the flows. For each incoming flow, the large flow The recognizer uses the segmented hash method to provide multiple candidate positions, and selects one of the vacancies for storage. When all the candidate positions are full, it adopts the voting idea to select the smallest stream among them, and then judges whether to replace it with the incoming stream. So as to achieve the effect of accurately identifying the Top-k flow; 所述小流过滤器,用于小流过滤的过滤器,通过设置阈值来过滤小流,其中计数器counter代表当前周期内映射到此位置的包数量,标志位flag代表对应计数器重置前即上一个周期结束时的状态;The small flow filter, a filter used for small flow filtering, filters small flows by setting a threshold, wherein the counter represents the number of packets mapped to this position in the current cycle, and the flag bit indicates that the corresponding counter is reset immediately before it is reset. the state at the end of a cycle; 所述大流提取器,基于分段哈希的大流提取器,利用多哈希算法提取大流,其中提取的内容字段是签名值sig用于标识流,计数器count用于记录流的包数量,反计数器countn用于记录映射到对应哈希桶但不属于其中任意一条流的包数量。The large flow extractor, the large flow extractor based on segmented hash, utilizes multi-hash algorithm to extract large flow, wherein the extracted content field is the signature value sig used to identify the flow, and the counter count is used to record the number of packets of the flow, The inverse counter count n is used to record the number of packets that are mapped to the corresponding hash bucket but do not belong to any one of the flows. 2.一种基于权利要求1所述架构的方法,其特征在于,包括以下步骤:2. a method based on the described framework of claim 1, is characterized in that, comprises the following steps: 所述小流过滤器首先在插入过程中,提取其流标识符fid,然后通过d个不同的哈希函数在sketch每个数组中映射一个元素,进而读取对应的标志位和计数器,将其中的最小计数器值加1,若所有标志位不全为1,且最小的计数器没有达到阈值,则表明对应的是一条小流,直接丢弃数据包,否则将其放行,若当前sketch中达到阈值的计数器数量超过一定比例,则根据计数器值更新对应的标志位值,若计数器值达到阈值,则标志位更新为1,否则为0。最后清空所有计数器值;The small stream filter first extracts its stream identifier fid during the insertion process, then maps an element in each array of sketch through d different hash functions, and then reads the corresponding flag bit and counter, Add 1 to the minimum counter value of , if all flag bits are not all 1, and the minimum counter does not reach the threshold, it indicates that the corresponding small flow is a small flow, and the data packet is directly discarded, otherwise it is released, if the counter in the current sketch reaches the threshold If the number exceeds a certain percentage, the corresponding flag bit value is updated according to the counter value. If the counter value reaches the threshold, the flag bit is updated to 1, otherwise it is 0. Finally clear all counter values; 所述大流提取器将其流标识符fid通过分段哈希函数映射到多个候选位置,进而在对应的哈希桶中并行查找,若成功找到一条流,则将该流的正票数加1,若查找失败,且候选位置中存在空位,则随机选取一个空位存入该流,同时将其正票数置1,否则将所有候选位置的反票数加1,并从所有候选位置中选出正票数与反票数比值最小的流,若该比值大于预设阈值,则直接丢弃数据包,否则将传入流替换最小流,同时将其正票数加1,反票数重置为0。The large flow extractor maps its flow identifier fid to multiple candidate positions through a segmented hash function, and then searches in parallel in the corresponding hash buckets. If a flow is successfully found, the positive votes of the flow are added. 1. If the search fails and there is a vacancy in the candidate position, a vacancy is randomly selected and stored in the stream, and the number of positive votes is set to 1, otherwise the number of negative votes of all candidate positions is increased by 1, and selected from all candidate positions. For the stream with the smallest ratio of positive votes to negative votes, if the ratio is greater than the preset threshold, the data packet will be discarded directly. Otherwise, the incoming stream will be replaced with the smallest stream, and its positive vote count will be increased by 1, and the negative vote count will be reset to 0. 3.根据权利要求2所述的方法,其特征在于,所述高效方法包括以下操作:3. The method of claim 2, wherein the efficient method comprises the following operations: a、流提取流程;a. Stream extraction process; 当收到一个分组时,首先解析其协议首部,提取五元组字段,计算流标识符fid,然后进入小流判定流程,判断该流是否为小流,若为小流,则直接丢弃分组,否则进入Top-k流提取流程,记录所有Top-k流的流指纹和分组数量,以供查询使用;When a packet is received, it first parses its protocol header, extracts the quintuple field, calculates the flow identifier fid, and then enters the small flow determination process to determine whether the flow is a small flow. If it is a small flow, the packet is directly discarded. Otherwise, enter the Top-k flow extraction process, and record the flow fingerprints and number of groups of all Top-k flows for query; b、流过滤方法;b. Flow filtration method; 通过小流过滤器对每条传入流进行过滤,若达到阈值则放行至大流提取器,若未达到阈值则直接丢弃,其中每条流均只提取包数量;Filter each incoming flow through the small flow filter. If the threshold is reached, it will be released to the large flow extractor. If the threshold is not reached, it will be discarded directly. Each flow only extracts the number of packets; c、流识别方法;c. Flow identification method; 通过大流提取器对传入流进行提取,根据提取流的流标识进行判断,该传入流是否已经被大流提取器提取,其中每条流均提取流标识,包数量,哈希冲突次数;The incoming stream is extracted by the large stream extractor, and it is judged according to the stream identifier of the extracted stream whether the incoming stream has been extracted by the large stream extractor, and each stream extracts the stream identifier, the number of packets, and the number of hash collisions. ; d、流替换方法;d. Stream replacement method; 当传入流的映射位置已满,且满足替换条件,传入流会对已提取的哈希冲突流进行替换,其中每条流均提取流标识,包数量,哈希冲突次数;When the mapping position of the incoming flow is full and the replacement conditions are met, the incoming flow will replace the extracted hash conflict flow, in which each flow extracts the flow ID, the number of packets, and the number of hash collisions; e、流输出方法;e. Stream output method; 大流提取器则并行遍历所有哈希桶中的槽,将流数量大于阈值的流提取出来,然后从大到小依次输出流id和流数量。The large stream extractor traverses all the slots in the hash bucket in parallel, extracts the streams whose number is greater than the threshold, and then outputs the stream id and the number of streams in order from large to small. 4.根据权利要求3所述的方法,其特征在于,本专利为小流过滤器提出一种基于计数器超值占比的自适应更新策略,以保证其持续有效性,当小流过滤器中超过阈值的计数器数量占比达到预设比例时,每个计数器用一个标志位记录其状态即是否超过阈值,然后重置为零,并进入下一个周期重新开始计数。在新周期中,某个数据包映射到一个计数器后,其标志位作为判定是否放行该数据包的依据,从而持续有效过滤小流。4. method according to claim 3, is characterized in that, this patent proposes a kind of self-adaptive update strategy based on counter excess value ratio for small flow filter, to ensure its continuous validity, when small flow filter in When the proportion of the number of counters exceeding the threshold reaches the preset proportion, each counter uses a flag bit to record its status, that is, whether it exceeds the threshold, and then resets to zero, and starts counting again in the next cycle. In the new cycle, after a certain data packet is mapped to a counter, its flag bit is used as the basis for judging whether to release the data packet, so as to continuously and effectively filter the small flow. 5.根据权利要求3所述的方法,其特征在于,本专利提出了一种基于分段哈希算法的大流提取方法。使每条流都能映射到数个候选哈希桶,每一个桶包含多个槽,并能存入其中任意一个哈希桶的空槽中,极大降低了哈希冲突率。5. The method according to claim 3, characterized in that, this patent proposes a method for extracting a large stream based on a segmented hash algorithm. Each stream can be mapped to several candidate hash buckets, each bucket contains multiple slots, and can be stored in the empty slot of any one of the hash buckets, which greatly reduces the hash collision rate. 6.根据权利要求3所述的方法,其特征在于,本专利尽可能使较小的流被踢除出去,若候选位置未满,则随机选择一个候选空位插入,否则必须在新流和所有候选位置的流中选择一条丢弃,当所有候选哈希桶已满时,会通过投票机制进行替换策略,这样可以使得每次尽可能踢除小流,而使大流保存在哈希桶中,因此提高了Top-k流提取的准确率。6. method according to claim 3, is characterized in that, this patent makes smaller flow be kicked out as far as possible, if candidate position is not full, then randomly selects a candidate slot to insert, otherwise must be in new flow and all. Select one of the candidate streams to be discarded. When all candidate hash buckets are full, the voting mechanism will be used to replace the strategy, so that the small stream can be kicked out each time as much as possible, and the large stream can be saved in the hash bucket. Therefore, the accuracy of Top-k stream extraction is improved.
CN202111536584.0A 2021-12-15 2021-12-15 Low-overhead Top-k network flow high-precision extraction framework and method Pending CN114884834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111536584.0A CN114884834A (en) 2021-12-15 2021-12-15 Low-overhead Top-k network flow high-precision extraction framework and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111536584.0A CN114884834A (en) 2021-12-15 2021-12-15 Low-overhead Top-k network flow high-precision extraction framework and method

Publications (1)

Publication Number Publication Date
CN114884834A true CN114884834A (en) 2022-08-09

Family

ID=82666898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111536584.0A Pending CN114884834A (en) 2021-12-15 2021-12-15 Low-overhead Top-k network flow high-precision extraction framework and method

Country Status (1)

Country Link
CN (1) CN114884834A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604154A (en) * 2022-08-30 2023-01-13 长沙理工大学(Cn) Network high-flow elasticity measurement method supporting flow jitter
CN115766528A (en) * 2022-11-14 2023-03-07 西南科技大学 A Detection Method of Top-K Elephant Flow

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025563A (en) * 2010-11-30 2011-04-20 东南大学 Network flow identification method based on Hash collision compensation
US20150016255A1 (en) * 2013-07-15 2015-01-15 Telefonakitiebolaget L M Ericsson (Publ) Removing lead filter from serial multiple-stage filter used to detect large flows in order to purge flows for prolonged operation
CN111835599A (en) * 2020-08-05 2020-10-27 中国人民解放军国防科技大学 A kind of hybrid network measurement method, device and medium based on SketchLearn
CN112671611A (en) * 2020-12-23 2021-04-16 清华大学 Sketch-based large stream detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025563A (en) * 2010-11-30 2011-04-20 东南大学 Network flow identification method based on Hash collision compensation
US20150016255A1 (en) * 2013-07-15 2015-01-15 Telefonakitiebolaget L M Ericsson (Publ) Removing lead filter from serial multiple-stage filter used to detect large flows in order to purge flows for prolonged operation
CN111835599A (en) * 2020-08-05 2020-10-27 中国人民解放军国防科技大学 A kind of hybrid network measurement method, device and medium based on SketchLearn
CN112671611A (en) * 2020-12-23 2021-04-16 清华大学 Sketch-based large stream detection method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115604154A (en) * 2022-08-30 2023-01-13 长沙理工大学(Cn) Network high-flow elasticity measurement method supporting flow jitter
CN115766528A (en) * 2022-11-14 2023-03-07 西南科技大学 A Detection Method of Top-K Elephant Flow
CN115766528B (en) * 2022-11-14 2024-03-26 西南科技大学 Top-K elephant flow detection method

Similar Documents

Publication Publication Date Title
CN114205253A (en) Active large flow accurate detection framework and method based on small flow filtering
CN113839835B (en) An accurate monitoring system for Top-k flows based on small flow filtering
US8239341B2 (en) Method and apparatus for pattern matching
US7894358B2 (en) Detection of heavy users of network resources
US9979624B1 (en) Large flow detection for network visibility monitoring
US6871265B1 (en) Method and apparatus for maintaining netflow statistics using an associative memory to identify and maintain netflows
CN115102907B (en) Active large flow accurate identification method and system based on small flow filtering
US20120119927A1 (en) Methods and devices for creating, compressing and searching binary tree
US10097464B1 (en) Sampling based on large flow detection for network visibility monitoring
CN114884834A (en) Low-overhead Top-k network flow high-precision extraction framework and method
US10536360B1 (en) Counters for large flow detection
CN111240599B (en) Data stream storage method and device
CN110808910A (en) An energy-saving storage architecture of OpenFlow flow table supporting QoS and its application
CN111131084A (en) QoS-aware OpenFlow flow table hierarchical storage architecture and application
US10003515B1 (en) Network visibility monitoring
CN115604154B (en) A network large flow elasticity measurement method supporting traffic jitter
CN112822077B (en) Method and system for measuring network-wide traffic in data center network, and packet loss detection method
CN112714077B (en) Message duplicate removal method and device, convergence and distribution equipment and storage medium
CN118018440A (en) A low-overhead architecture and method for accurate identification of continuous infrequent flows
Li et al. Ladderfilter: Filtering infrequent items with small memory and time overhead
CN116915709A (en) Load balancing method and device, electronic equipment and storage medium
CN115865425A (en) Method and system for identifying mining behaviors of hierarchical encrypted currency
CN1633111A (en) High-speed Network Traffic Classification Method
CN111200542B (en) A network traffic management method and system based on deterministic replacement strategy
CN114827043B (en) Flow characteristic matching method based on fingerprint dynamic update and key message identification

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