Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (28): 125-127.DOI: 10.3778/j.issn.1002-8331.2008.28.042
• 数据库、信号与信息处理 • Previous Articles Next Articles
ZHANG Xiao-lin,CUI Min,TAN Yue-sheng
Received:
Revised:
Online:
Published:
Contact:
张晓琳,崔 敏,谭跃生
通讯作者:
Abstract: This paper gives a solution based on lazyDFA technology and presents the optimized algorithm which aims at the XPath query processing and query optimization problem over XML data stream.Shared NFA state table,which divides the states in NFA into two sets,they are shared set and exclusive set.By this algorithm we can reduce the memory usage of lazyDFA.Another optimizational algorithm adds a state transition table in lazyDFA structure,which can improve lazyDFA query speed.The experimental results show that the method is superior to the traditional algorithms in the implementational efficiency and spacial cost.
Key words: XML data stream, XPath, lazyDFA, query optimization
摘要: 针对XML数据流上XPath查询处理及查询优化问题,给出了一种基于lazyDFA技术的解决方案,并提出了优化算法。共享NFA状态表,通过将NFA中的状态分成共享和独享两个状态集来降低lazyDFA的内存使用量;建立状态转移表优化算法通过在lazyDFA状态结构中增加一个状态转移表,来提高lazyDFA的查询速度。实验结果表明,提出的方法能够在执行效率和空间代价方面优于传统算法。
关键词: XML数据流, XPath, lazyDFA, 查询优化
ZHANG Xiao-lin,CUI Min,TAN Yue-sheng. LazyDFA based XPath query optimized algorithm over XML data stream[J]. Computer Engineering and Applications, 2008, 44(28): 125-127.
张晓琳,崔 敏,谭跃生. 基于LazyDFA的XPath在XML数据流上查询优化算法[J]. 计算机工程与应用, 2008, 44(28): 125-127.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://cea.ceaj.org/EN/10.3778/j.issn.1002-8331.2008.28.042
http://cea.ceaj.org/EN/Y2008/V44/I28/125