• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (2): 19-24.

• 论文 • 上一篇    下一篇

一种基于树形结构的布鲁姆过滤器

程 聂,黄 昆,苏 欣,张大方   

  1. (湖南大学软件学院,湖南 长沙 410082)
  • 收稿日期:2010-05-20 修回日期:2010-10-26 出版日期:2012-02-25 发布日期:2012-02-25

Bloom Filters Based on the Tree Structure

CHENG Nie,HUANG Kun,SU Xin,ZHANG Dafang   

  1. (School of Software,Hunan Universty,Changsha 410082,China)
  • Received:2010-05-20 Revised:2010-10-26 Online:2012-02-25 Published:2012-02-25

摘要:

本文提出一种基于多层次结构的树形布鲁姆过滤器TBF。多层次结构是近年来布鲁姆过滤器及相关数据结构研究的热点。这一结构使得多层次的存储方式得以实现,减轻了片上存储的负担,而且也加快了片上查找的速度。TBF是针对BloomingTree算法存在的缺陷所改进的一种更高效的算法,它能够在低于CBF的空间需求的条件下实现与CBF相同的功能。实验证明:与BloomingTree算法相比,TBF能够有效地解决BloomingTree算法在逻辑索引时的错误问题,而且比BloomingTree算法时间上更加高效:在层数不变假阳性相同条件下,查询时间平均提高13.4%;在假阳性不变层数相同条件下,插入时间平均提高17.9%,删除时间平均提高12%。

关键词: 布鲁姆过滤器;多层次结构;数据结构;集合元素查询

Abstract:

This paper presents a multilevel structure called the Treebased Bloom Filter(TBF). Multilevel structure is the hot spots of Bloom filters and related data structure research in recent years. This structure achieves multiple levels of storage and reduces the burden of onchip memory, but it also accelerates the speed of onchip search. TBF is a more efficient algorithm which is the improvement based on the drawbacks of the BloomingTree algorithm, and TBF can reduce the conditions of the space requirements and achieve the same function of CBF under the same conditions. Our experiments show that compared with the BloomingTree algorithm, the TBF algorithm can effectively solve the index error in the logic problem of the BloomingTree algorithm, and show more time efficiency: under the conditions of the same false positiveness  and unchanged layers, the query time improve on  an average of 13.4%; under the conditions of the fixed false positiveness and the same layer changes, the time of insertion improves on an average of 17.9%, and 12% average improve the time of deletion.

Key words: Bloom filter;multilevel structure;data structure;set element search