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

一种高效的XMLQuery基本模式匹配算法
引用本文:蒋科,郑有才.一种高效的XMLQuery基本模式匹配算法[J].微机发展,2007,17(7):87-90.
作者姓名:蒋科  郑有才
作者单位:西安电子科技大学计算机学院 陕西西安710071
摘    要:有效的支持结构连接是实现数据库系统XML文件查询的关键。结构连接是用来查找所有满足基本的结构关系的元素对,即指定XML树型结构文件元素对的关系(父亲-孩子和祖先-子孙的关系)。文中在分析常见的XMLQuery模式匹配算法(Stack-Tree连接算法)的基础上,提出一种改进的Stack-Tree连接算法将Stack-Tree-Desc算法和Stack-Tree-Anc算法统一;并且采用动态分配存储空间方法,比Stack-Tree-Anc大大节省了存储空间。最后给出了改进的Stack-Tree连接算法分析和试验结果。

关 键 词:结构连接  模式匹配  Stack-Tree连接算法
文章编号:1673-629X(2007)07-0087-04
修稿时间:2006年9月4日

A Primitive for Efficient XMLQuery Pattern Matching Algorithm
JIANG Ke,ZHENG You-cai.A Primitive for Efficient XMLQuery Pattern Matching Algorithm[J].Microcomputer Development,2007,17(7):87-90.
Authors:JIANG Ke  ZHENG You-cai
Abstract:Efficient support for structural joins is the key to efficient implementations of XML queries on database system.Structural joins are used to find all pairs of elements satisfying in the query,namely,parent-child and ancestor-descendant relationships.An improved algorithm is proposed to unify two algorithms of Stack-Tree-Desc and Stack-Tree-Anc together;also to use dynamic method to greatly save the storing space.In the end,the analysis of this algorithm's performance and results of experiment are given.
Keywords:structural joins  pattern matching  Stack-Tree join algorithm
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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