计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (11): 88-92.

• 网络、通信、安全 • 上一篇    下一篇

划分位无冲突哈希在trie树分组中的研究

张墨华,张永强   

  1. 河南财经政法大学 计算机与信息工程学院,郑州 450000
  • 出版日期:2012-04-11 发布日期:2012-04-16

Research on trie-tree partition processing using non-collision Hash functions based on partition bit

ZHANG Mohua, ZHANG Yongqiang   

  1. School of Computer and Information Engineering, Henan University of Economics and Laws, Zhengzhou 450000, China
  • Online:2012-04-11 Published:2012-04-16

摘要: 随着网络带宽的不断增长,迫切需要时空高效的数据包处理技术,满足线速处理和低存储需求。在高速片上存储器上存储所有的攻击特征,可以实现对数据包的高速检测,但受限于有限的片上存储器空间。通过基于划分位构建无冲突哈希函数,实现对片上存储器有效的控制,攻击特征平均分配到trie树每层的多个组中。该结构可以在同一个芯片中实现流水并行地执行,获得比较大的吞吐量。理论及实验表明该方法在片上存储器一次就执行完复杂的完全匹配操作,显著地降低片上存储空间需求。

关键词: 无冲突哈希, 划分位, trie树分组, 片上存储

Abstract: With the fast progress of Internet broadband, time and space efficient packet processing technology is urgently needed. One way to achieve high-speed packet processing is to store all the attack signatures on high-speed on-chip memory. Due to the limited on-chip memory, this paper proposes a new algorithm to create the non-collision functions based on middle-point partition. The algorithm evenly partitions attack signatures into multiple groups at each layer in trie tree. The data structure can be implemented on a single chip to perform pipelining and parallelism simultaneously, thus achieve high throughput. The theory and experimental results show that the algorithm can facilitate access to the signature string in the on-chip memory while allowing to perform the expensive exact match operations only once, and decreases the requirement of on-chip memory.

Key words: non-collision Hash, partition bit, trie-tree partition, on-chip memory