期刊文献+

一种高效非归并的XML小枝模式匹配算法 被引量:9

An Efficient Algorithm of XML Twig Pattern Matching Without Merging
下载PDF
导出
摘要 在XML数据库中,小枝模式查询是XML查询处理的核心操作.近几年,研究人员已提出许多种算法,如Holistic Twig和TJFast算法等.然而它们都是基于归并的,会有很高的计算代价.已提出的Twig2Stack和TwigList算法虽然可以克服这一点,但算法非常复杂.针对这一问题,尤其是考虑了通常查询表达式中只有少数几个结点是最终的输出结点这一特点,提出了TiwgNM算法及其扩展算法TiwgNME算法.算法不需要归并,且只用了少数栈来实现.实验结果表明,这些算法优于以前算法,尤其是对查询中只有祖先-后裔关系的表达式更有效. In an XML database, finding all occurrences of a twig pattern is a core operation for XML query processing. In the past few years, many algorithms, such as Holistic Twig and TJFast, were proposed in the literatures. However, these algorithms are based on merging, with high computational cost. Recently Twig2Stack algorithm and TwigList algorithm are proposed to resolve this problem, but they are very complex. Aim at this problem, this paper considers the characteristic that most path expressions have only a few output nodes, and proposes two new algorithms without merging, named TwigNM and TwigNME, which use only a few stacks. Finally, the experimental results show that these algorithms are superior to the previous algorithms, especially for only ancestor-descendant relationship in XPath.
出处 《软件学报》 EI CSCD 北大核心 2009年第4期795-803,共9页 Journal of Software
基金 国家自然科学基金No.70471003 高等学校博士学科点专项科研基金No.20050108004~~
关键词 小枝模式匹配 归并 主路径 主结点 谓词结点 twig pattern matching merging main path main node predicate node
  • 相关文献

参考文献1

二级参考文献15

  • 1Bray T, Paoli J, Sperberg-McQueen CM, Maler E, eds. Extensible markup language (XML) 1.0 (second edition). W3C Recommendation 6, 2000. http://www.w3.org/TR/2000/REC-xml-20001006
  • 2Shanmugasundaram J, Tufte K, He G, Zhang C, DeWitt D, Naughton J. Relational databases for querying XML documents:Limitations and opportunities. In: Atkinson MP, Orlowska ME, Valduriez P, Zdonik SB, Brodie MK eds. Proc. of the 25th Int'l Conf. on Very Lar
  • 3Florescu D, Kossmann D. Storing and querying XML data using an RDBMS. IEEE Data Engineering Bulletin, 1999,22(3): 27-34.
  • 4Clark J, DeRose S, eds. XML path language (XPath) Version 1.0. W3C Recommendation 16, 1999, http://www.w3.org/TR/1999/REC-xpath- 19991116
  • 5Chamberlin D, Clark J, Florescu D, Robie J, Simeon J, Stefanescu M. XQuery. A query language for XML. W3C Working Draft 07,2001. http://www.w3.org/TR/2001/WD-xquery-20010607
  • 6Zhang C, Nanghton J, DeWitt D, Luo Q, Lohman G. On supporting containment queries in relational database management systems.In: Timos S, ed. Proc. of the 2001 ACM SIGMOD Int'l Conf. on Management of Data. New York: ACM Press, 2001. 425~436.
  • 7Li QZ, Moon B. Indexing and querying XML data for regular path expressions. In: Apers PMG, Atzeni P, Ceri S, Paraboschi S,Ramamohanarao K, Snodgrass RT, eds. Proc. of the 27th Int'l Conf. on Very Large Data Bases. San Francisco: Morgan Kaufmann Publishers
  • 8AI-Khalifa S, Jagadish HV, Koudas N, Patel JM, Srivastava D, Wu YQ. Structural joins: A primitive for efficient XML query pattern matching. In: Agrawal R, Dittrich K, Ngu AHH, eds. Proc. of the 18th Int'l Conf. on Data Engineering. Los Alamitos: IEEE Pres
  • 9Chien SY, Vagena Z, Zhang DH, Tsotras VJ, Zaniolo C. Efficient structural joins on indexed XML documents. In: Bernstein PA, et al., eds. Proc. of the 28th Int'l Conf. on Very Large Data Bases. San Francisco: Morgan Kaufmann Publishers, 2002. 263~274.
  • 10Jiang HF, Lu HJ, Wang W, Ooi BC. XR-Tree: Indexing XML data for efficient structural joins. In: Dayal U, Ramamritham K,Vijayaraman TM, eds. Proc. of the 19th Int'l Conf. on Data Engineering. Los Alamitos: IEEE Press, 2003.253~264.

共引文献34

同被引文献68

引证文献9

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部