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

一种基于结构特征的XML数据查询方法
引用本文:秦杰,赵淑梅,杨树强.一种基于结构特征的XML数据查询方法[J].计算机科学,2007,34(3):98-103.
作者姓名:秦杰  赵淑梅  杨树强
作者单位:河南工业大学信息科学与工程学院,郑州,450052;国防科技大学计算机学院,长沙,410073
基金项目:国家高技术研究发展计划(863计划) , 国家高技术研究发展计划(863计划)
摘    要:针对XML数据特有的树型结构模式,提出了一种将树型结构的XML数据和查询语句转化为特定格式的字符串,基于串匹配原理对结构复杂的XML数据进行查询的方法,避免了传统的基于路径的查询方式所必需的路径之间的连接(join)操作,从而提高查询效率。利用本文提出的编码方式,可以建立关于XML数据结构和数据内容舍为一体的索引。实验显示,本文使用的针对XML数据查询的方法比传统的基于连接操作的数据查询方式高效,且本方法具有良好的扩展性。

关 键 词:XML  结构编码  查询  索引

A Structure-encoded Method for Searching XML Datas
QIN Jie,ZHAO Shu-Mei,YANG Shu-Qiang.A Structure-encoded Method for Searching XML Datas[J].Computer Science,2007,34(3):98-103.
Authors:QIN Jie  ZHAO Shu-Mei  YANG Shu-Qiang
Affiliation:1School of Information Science and Engineering, Henan University of Technology, Zhengzhou 450052;2 School of Computer, National University of Deference Technology, Changsha 410073
Abstract:Aiming at the special tree-structure of XML data, we propose a novel structure-encoded method for searching XML documents. By representing both XML documents and XML queries in structure-encoded sequences, we show that querying XML data is equivalent to finding subsequence matches. Unlike index methods that disassemble a query into multiple sub-queries, and then join the results of these sub-queries to provide the final answers. Our structure-encoded method uses tree structures as the basic unit of query to avoid expensive join operations. The proposed method also provides a unified index on both content and structure of the XML documents; hence it has a performance advantage over methods indexing either just content or structure. Experiments show that the proposed method is effective, scalable, and efficient in supporting structural queries.
Keywords:XML  Structure-encoded  Query  Index
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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