作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (08): 77-79. doi: 10.3969/j.issn.1000-3428.2007.08.026

• 软件技术与数据库 • 上一篇    下一篇

一种基于路径分块索引的XML查询方法

陈冬霞,吉根林,肖 袁   

  1. (南京师范大学计算机科学系,南京 210097)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-04-20 发布日期:2007-04-20

XML Query Method Based on Path Fragment Index

CHEN Dongxia, JI Genlin, XIAO Yuan   

  1. (Department of Computer Science, Nanjing Normal University, Nanjing 210097)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-04-20 Published:2007-04-20

摘要: 针对XML的相对路径查询及引用路径查询问题,提出了一种面向XML数据的路径分块索引KI。探讨了KI索引构造方法、索引节点分裂算法和相关查询处理的算法,并用VC++实现,利用Shakespeare和Xorder数据集进行了XML查询测试,实验结果表明,提出的KI索引能有效地提高XML查询效率。

关键词: XML技术, 查询, 索引

Abstract: Focused on the problems of XML relative path query and XML references query, a path fragment index named KI is put forward. The algorithms about the index constructed and XML data query based on the index are proposed. In order to ensure the stability of XML index query, the index node’s splitting conditions and algorithms are studied. All algorithms proposed are implemented by VC++. Performances of them are studied by experiments. The experiment results show that the query algorithm based KI is effective and efficient.

Key words: XML technology, Query, Index