首页 | 本学科首页   官方微博 | 高级检索  
     

利用频率特征的Trie树索引快速构造算法
引用本文:张启飞,吴吉义,李文娟,吕红兵,潘雪增. 利用频率特征的Trie树索引快速构造算法[J]. 北京邮电大学学报, 2013, 36(2): 84-88
作者姓名:张启飞  吴吉义  李文娟  吕红兵  潘雪增
作者单位:1. 浙江大学 计算机科学与技术学院, 杭州 310027; 2. 杭州师范大学 电子商务与信息安全重点实验室, 杭州 310036; 3. 杭州师范大学 钱江学院, 杭州 310036
基金项目:国家高技术研究发展计划项目(2008AA010A323);国家自然科学基金项目(60773182)
摘    要:随着物联网技术的日益成熟和云计算标准的确立以及各种智能终端的大规模出现,互联网数据呈指数增加,为数据建立索引至关重要,为此提出一种基于词频的Trie树索引快速构造算法,首先对索引字符串进行排序,然后对排序文件进行预处理,预处理生成一个三元组,分别由相同字符横向偏移、纵向偏移及字符组成. 快速算法依次扫描预处理数据的每一列,根据三元组的偏移跳过相同的字符前缀. 实验结果显示,本算法的时间明显少于传统构造算法,优于Aoe的双数组Trie构造算法.

关 键 词:索引构造  快速算法  Trie树  字符频率  双数组Trie
收稿时间:2012-09-29

A Fast Trie Tree Index Construction Algorithm Using Frequency Characteristic
ZHANG Qi-fei,WU Ji-yi,LI Wen-juan,Lü Hong-bing,PAN Xue-zeng. A Fast Trie Tree Index Construction Algorithm Using Frequency Characteristic[J]. Journal of Beijing University of Posts and Telecommunications, 2013, 36(2): 84-88
Authors:ZHANG Qi-fei  WU Ji-yi  LI Wen-juan  Lü Hong-bing  PAN Xue-zeng
Affiliation:1. College of Computer Science and Technology, Zhejiang University, Hangzhou 310027, China;
2. Key Laboratory of E-Business and Information Security, Hangzhou Normal University, Hangzhou 310036, China;
3. College of Qianjiang, Hangzhou Normal University, Hangzhou 310036, China
Abstract:With maturity of "the Internet of things" and establishment of cloud computing national standards, kinds of terminals appear quickly, and huge amounts of datas generation exponentially increase, so its crucial to construct index for the data. A fast Trie-tree index construction algorithm is proposed. All the strings are sorted and then the sorted strings are preprocessed, and after that a matrix with the element of triple is generated, consisting of the character, the horizontal and vertical offset of the character. The fast algorithm scans each column in turn and skips the repeated rows and columns with the same prefix according to offset value in triple array. The experimental results show that the fast algorithm significantly reduces the construction time compared with traditional algorithm and the performance is better than Aoes double-array Trie construction algorithm.
Keywords:index construction  fast algorithm  Trie-tree  character frequency  double-array Trie
本文献已被 CNKI 等数据库收录!
点击此处可从《北京邮电大学学报》浏览原始摘要信息
点击此处可从《北京邮电大学学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号