作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 移动互联与通信技术 • 上一篇    下一篇

基于维度分解的哈希多维快速流分类算法

佟海奇1,包秀国1,2,庹宇鹏3,袁庆升2,叶建伟4   

  1. (1.北京邮电大学信息与通信工程学院,北京 100876; 2.国家计算机网络应急技术处理协调中心,北京 100029; 3.中国科学院信息工程研究所,北京 100093; 4.哈尔滨工业大学计算机学院,哈尔滨 150001)
  • 收稿日期:2014-09-23 出版日期:2015-08-15 发布日期:2015-08-15
  • 作者简介:佟海奇(1989-),女,硕士研究生,主研方向:网络与信息安全;包秀国,教授级高级工程师、博士生导师;庹宇鹏,助理研究员、硕士;袁庆升,工程师、博士研究生;叶建伟,高级工程师、博士。
  • 基金资助:

    国家“863”计划基金资助项目(2012BAH01B01);国家自然科学基金资助项目(61100188)。

Fast Flow Classification Algorithm of Hash in Multi-dimensions Based on Dimensions Decomposition

TONG Haiqi 1,BAO Xiuguo 1,2,TUO Yupeng 3,YUAN Qingsheng 2,YE Jianwei 4   

  1. (1.School of Information and Communication Engineering,Beijing University of Posts and Telecommunications,Beijing 100876,China; 2.National Computer Network Emergency Response Technical Team/Coordination Center of China,Beijing 100029,China; 3.Institute of Information Engineering,Chinese Academy of Sciences,Beijing 100093,China; 4.School of Computer,Harbin Institute of Technology,Harbin 150001,China)
  • Received:2014-09-23 Online:2015-08-15 Published:2015-08-15

摘要:

在高速网络环境下,实现数据包的快速准确分类对新型网络发展具有重要意义。为此,从维度分解的角度出发,结合单步映射方式,利用哈希方法进行多维合并,提出一种新的哈希多维流分类算法。在完成准确包分类的基础上,通过引入哈希流表对规则与数据流的映射关系进行高速缓存,以加快算法的查找速度。实验结果表明,该算法的平均内存访问次数较HSM算法和RFC算法分别降低了86%和60%,在规则数目大于2 500的情况下,空间占用较RFC算法节约近8%。

关键词: 流分类, 哈希表, 维度分解, 单步映射, 高速缓存, 多维

Abstract:

In the high-speed network environment,to achieve fast and accurate packet classification is of great significance to the novel network.This paper designs and implements the Hash algorithm based on dimension decomposition(HDD) on the basis of the ideological of dimension decomposition and in combination with single step mapping and hash method.The algorithm first considers accurate packet classification,then significantly accelerates searching and improves performance by introducing a hash table for mapping between the rules and the data stream.Experimental results show that the number of average memory accesses of HDD algorithm is lower than Hierarchical Space Mapping(HSM) algorithm and Recursive Flow Classification(RFC) algorithm respectively by 86% and 60%,what’s more,HDD algorithm saves 8% of space usage than RFC algorithm when the rule number is more than 2 500.

Key words: flow classification, Hash table, dimension decomposition, single step mapping, cache, multi-dimensions

中图分类号: