Computer Engineering and Applications ›› 2013, Vol. 49 ›› Issue (1): 137-140.
Previous Articles Next Articles
YANG Ning, CHEN Qun
Online:
Published:
杨 宁,陈 群
Abstract: Dewey encoding is an important method used in XML keyword search. In the present research, Dewey codes are usually stored directly as a string, and the price of saving Dewey codes and calculating LCA is huge. This paper proposes a storage method called PSVL(Prefixes Sharing and Variable Length integer encoding) for Dewey codes. This method is based on variable length integer encoding and prefixes sharing method. Experimental results show that this storage method can notably reduce the storage cost of Dewey codes and improve LCA calculation of Dewey codes.
Key words: Dewey encoding storage, variable length integer encoding, prefixes sharing
摘要: Dewey码是XML关键字检索中采用的重要编码方式。在目前的研究当中,Dewey码通常以字符形式进行存储,这种方式造成Dewey码存储代价过大,并且在LCA求解过程中也必须通过字符比较才能获得Dewey码各层的数值,影响LCA求解效率。提出采用前缀共享和变长整形编码思路的PSVL存储方式,在消除字符比较操作的同时减少了Dewey码集合的存储代价。实验证明利用该存储方式对Dewey码集合进行存储,可以有效地降低其存储代价,并且减少获取Dewey码各层数值这一步骤花费的时间,间接提高了LCA的求解效率。
关键词: Dewey码存储, 变长整形编码, 前缀共享
YANG Ning, CHEN Qun. Dewey encoding storage for XML keyword search[J]. Computer Engineering and Applications, 2013, 49(1): 137-140.
杨 宁,陈 群. XML关键字检索中Dewey码存储方式的研究[J]. 计算机工程与应用, 2013, 49(1): 137-140.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/
http://cea.ceaj.org/EN/Y2013/V49/I1/137