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

›› 2005, Vol. 31 ›› Issue (21): 73-75.

• 论文 • 上一篇    下一篇

XML文档过滤算法YFilter的一种改进技术

苏明柿,张守志   

  1. 复旦大学计算机与信息技术系,复旦大学计算机与信息技术系 上海 200433
  • 发布日期:2005-11-15

An Extended Algorithm for XML Filtering System YFilter

SU Mingshi,ZHANG Shouzhi   

  1. (Department of Computing and Information Technology,Fudan University,Shanghai 200433)
  • Published:2005-11-15

摘要: 采用索引技术,对输入的XML文档建立一个双索引结构来改进YFilter算法,优化XML文档过滤性能。藉助索引结构,该算法超前搜索元素结点在文档中的结构信息,预先排除不能保证得到任何匹配结果的元素结点,以避免大量不必要的查询处理。实验结果显示,当输入的XML文档较大时,该算法有较好的过滤性能。

关键词: XML, 文档过滤, 索引结构

Abstract: YFilter,an efficient and scalable filtering system of XML documents,is particularly effective for short documents and large numbers of queries.A new index-based technique is proposed to answer large numbers of XPath queries.It uses a dual index built over the incoming XML document to extend the YFilter algorithm,so that it is efficient as well to deal with large XML documents.It is able to retrieve the structure information of elements in the XML document in advance.Eliminating elements that are not guaranteed to be part of any match is able to avoid an amount of redundant processing.Finally,an experiment is conducted on synthetic XML documents,which shows that the algorithm is efficient to deal with large XML documents.

中图分类号: