arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.02180cs.NI
收藏

使用 R-Tree 和字段拼接技术的多字段分组分类

Many-fields Packet Classification Using R-Tree and Field Concatenation Technique

Aladdin Abdulhassan, Mahmood Ahmadi

AI总结:

本文针对 SDN 多字段分组分类问题,提出基于 R-Tree 的方法,将 IP 地址映射为二维点并拼接其余字段,借助规则 ID 和二进制标志完成最高优先级匹配,仿真显示其提升速度并显著减少内存访问。

摘要:

软件定义网络是一种为企业网络提出的、将基于软件的控制平面与基于硬件的数据平面解耦的方法;OpenFlow 是最著名的灵活协议,可管理控制平面与数据平面之间的网络流量。软件定义网络(SDN)需要对照庞大的多字段规则集检查分组首部中多达 18 个字段,以将分组归类为流,而将分组归类为流的过程称为分组分类。网络交换机通过应用相应规则中定义的相同动作,以类似方式处理属于同一流的所有分组。分组分类有助于支持新服务,例如过滤、阻止不安全站点流量、基于分组首部信息路由分组,以及为特定流赋予优先级。用于多字段分组分类的高性能算法已在研究界引起广泛关注。本文提出了一种使用 Rectangle Tree(R-Tree,矩形树)实现 SDN 流表多字段分组分类的新方法。在该方法中,每个流表项中的源 IP 地址和目的 IP 地址已被转换为一个二维点。规则字段的其余部分通过提取最重要的位与规则 ID 拼接成单个字段,以便插入到 R-tree 中;对于每条规则,使用一个有效的小型二进制标志来指示字段的大小、类型和范围。随后,在矩形树上执行搜索,以根据最高优先级找到匹配规则。在使用 class-bench 数据库的仿真中,结果表明该方法取得了非常好的性能和分类速度,并显著减少了内存访问次数。

英文摘要:

Software-defined Networking is an approach that decouples the software-based control plane from the hardware-based data plane proposed for enterprise networks; OpenFlow is the most famous flexible protocol that can manage network traffic between the control and the data plane. Software-Defined Networking (SDN) requires up to 18 fields of the packets header to be checked against a big many-fields ruleset to categorize packets into flows, the process of categorizing packets into flows is called packet classification. Network switches process all packets belonging to the same flow in a similar manner by applying the same actions defined in the corresponding rule. Packet classification facilitates supporting new services such as filtering, blocking unsafe sites traffic, routing packets based on the packet's header information, and giving priority to specific flows. High-performance algorithms for many-field packet classification had been gained much interest in the research communities. This paper presents a new method to implement the many-fields packet classification of SDN flow table using Rectangle Tree (R-Tree). In this method, source and destination IP addresses from each flow table entry have been converted to a two-dimensional point. The remainders of the rule's fields have been concatenated into a single field by taking the most important bits with rules' ID in order to be inserted into the R-tree, for each rule an effective small binary flag is used to indicate the field's size, type, and ranges. Subsequently, searching is performed on the rectangle tree to find the matched rules according to the highest priority. In the simulation using the class-bench databases, the results show that this method achieves very good performance, classification speed and reduces the number of memory accesses significantly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑