基于多维编码的快速分组分类

C. Huang, Chien Chen
{"title":"基于多维编码的快速分组分类","authors":"C. Huang, Chien Chen","doi":"10.1587/TRANSCOM.E92.B.2044","DOIUrl":null,"url":null,"abstract":"Internet routers need to classify incoming packets quickly into flows in order to support features such as Internet security, virtual private networks and quality of service (QoS). Packet classification uses information contained in the packet header, and a predefined rule table in the routers. Packet classification of multiple fields is generally a difficult problem. Hence, researchers have proposed various algorithms. This study proposes a multidimensional encoding method in which parameters such as the source IP address, destination IP address, source port, destination port and protocol type are placed in a multidimensional space. Similar to the previously best known algorithm, i.e., bitmap intersection, multi-dimensional encoding is based on the multi-dimensional range lookup approach, in which rules are divided into several multidimensional collision-free rule sets. These sets are then used to form the new coding vector to replace the bit vector of the bitmap intersection algorithm. The average memory storage of this encoding is ominus (L-N-logN) for each dimension, where L denotes the number of collision-free rule sets, and N represents the number of rules. The multi-dimensional encoding practically requires much less memory than bitmap intersection algorithm. Additionally, the computation needed for this encoding is as simple as bitmap intersection algorithm. The low memory requirement of the proposed scheme means that it not only decreases the cost of packet classification engine, but also increases the classification performance, since memory access represents the performance bottleneck in the packet classification engine implementation using a network processor.","PeriodicalId":258491,"journal":{"name":"2007 Workshop on High Performance Switching and Routing","volume":"20 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2007-07-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Fast Packet Classification Using Multi-Dimensional Encoding\",\"authors\":\"C. Huang, Chien Chen\",\"doi\":\"10.1587/TRANSCOM.E92.B.2044\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Internet routers need to classify incoming packets quickly into flows in order to support features such as Internet security, virtual private networks and quality of service (QoS). Packet classification uses information contained in the packet header, and a predefined rule table in the routers. Packet classification of multiple fields is generally a difficult problem. Hence, researchers have proposed various algorithms. This study proposes a multidimensional encoding method in which parameters such as the source IP address, destination IP address, source port, destination port and protocol type are placed in a multidimensional space. Similar to the previously best known algorithm, i.e., bitmap intersection, multi-dimensional encoding is based on the multi-dimensional range lookup approach, in which rules are divided into several multidimensional collision-free rule sets. These sets are then used to form the new coding vector to replace the bit vector of the bitmap intersection algorithm. The average memory storage of this encoding is ominus (L-N-logN) for each dimension, where L denotes the number of collision-free rule sets, and N represents the number of rules. The multi-dimensional encoding practically requires much less memory than bitmap intersection algorithm. Additionally, the computation needed for this encoding is as simple as bitmap intersection algorithm. The low memory requirement of the proposed scheme means that it not only decreases the cost of packet classification engine, but also increases the classification performance, since memory access represents the performance bottleneck in the packet classification engine implementation using a network processor.\",\"PeriodicalId\":258491,\"journal\":{\"name\":\"2007 Workshop on High Performance Switching and Routing\",\"volume\":\"20 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2007-07-30\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2007 Workshop on High Performance Switching and Routing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1587/TRANSCOM.E92.B.2044\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2007 Workshop on High Performance Switching and Routing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1587/TRANSCOM.E92.B.2044","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

为了支持Internet安全、虚拟专用网和服务质量(QoS)等特性,Internet路由器需要将传入的数据包快速分类为流。报文分类使用报文头中包含的信息和路由器中预定义的规则表。多字段的分组分类通常是一个难题。因此,研究人员提出了各种算法。本文提出了一种多维编码方法,将源IP地址、目的IP地址、源端口、目的端口、协议类型等参数置于多维空间中。与之前最著名的位图交叉算法类似,多维编码基于多维范围查找方法,其中将规则划分为多个多维无冲突的规则集。然后使用这些集合形成新的编码向量来替换位图相交算法的位向量。这种编码的平均内存存储为每个维度的负(L-N- logn),其中L表示无冲突规则集的数量,N表示规则的数量。多维编码实际上比位图交叉算法需要更少的内存。此外,该编码所需的计算与位图交点算法一样简单。该方案对内存的要求较低,不仅降低了包分类引擎的成本,而且提高了分类性能,因为内存访问是使用网络处理器实现包分类引擎的性能瓶颈。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Fast Packet Classification Using Multi-Dimensional Encoding
Internet routers need to classify incoming packets quickly into flows in order to support features such as Internet security, virtual private networks and quality of service (QoS). Packet classification uses information contained in the packet header, and a predefined rule table in the routers. Packet classification of multiple fields is generally a difficult problem. Hence, researchers have proposed various algorithms. This study proposes a multidimensional encoding method in which parameters such as the source IP address, destination IP address, source port, destination port and protocol type are placed in a multidimensional space. Similar to the previously best known algorithm, i.e., bitmap intersection, multi-dimensional encoding is based on the multi-dimensional range lookup approach, in which rules are divided into several multidimensional collision-free rule sets. These sets are then used to form the new coding vector to replace the bit vector of the bitmap intersection algorithm. The average memory storage of this encoding is ominus (L-N-logN) for each dimension, where L denotes the number of collision-free rule sets, and N represents the number of rules. The multi-dimensional encoding practically requires much less memory than bitmap intersection algorithm. Additionally, the computation needed for this encoding is as simple as bitmap intersection algorithm. The low memory requirement of the proposed scheme means that it not only decreases the cost of packet classification engine, but also increases the classification performance, since memory access represents the performance bottleneck in the packet classification engine implementation using a network processor.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信