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

面向XPath执行的XML数据流压缩方法
引用本文:王腾蛟,高军,杨冬青,唐世渭,刘云峰. 面向XPath执行的XML数据流压缩方法[J]. 软件学报, 2005, 16(5): 869-877
作者姓名:王腾蛟  高军  杨冬青  唐世渭  刘云峰
作者单位:北京大学,信息科学技术学院,北京,100871;北京大学,信息科学技术学院,北京,100871;北京大学,信息科学技术学院,北京,100871;北京大学,信息科学技术学院,北京,100871;北京大学,信息科学技术学院,北京,100871
基金项目:Supported by the National High-Tech Research and Development Plan of China under Grant No.2002AA4Z3440(国家高技术研究发展计划(863));the National Grand Fundamental Research 973 Program of China under Grant No.G1999032705(国家重点基础研究发展规划(973))
摘    要:由于XML(extensible markup language)本身是自描述的,所以XML数据流中存在大量冗余的结构信息.如何压缩XML数据流,使得在减少网络传输代价的同时有效支持压缩数据流上的查询处理,成为一个新的研究领域.目前已有的XML数据压缩技术,都需要扫描数据多遍,或者不支持数据流之上的实时查询处理.提出了一种XML数据流的压缩技术XSC(XML stream compression),实时完成XML数据流的压缩和解压缩,XSC动态构建XML元素事件序列字典并输出相关索引,能够根据XML数据流所遵从的DTD,产生XML元素事件序列图,在压缩扫描之前,产生更加合理的结构序列编码.压缩的XML数据流能够直接解压缩用于XPath的执行.实验表明,在XML数据流环境中,XSC在数据压缩率和压缩时间上要优于传统算法.同时,在压缩数据之上查询的执行代价是可以接受的.

关 键 词:XML  数据流  压缩  DTD  XPath
文章编号:1000-9825/2005/16(05)0869
收稿时间:2003-10-13
修稿时间:2004-03-02

XPath Evaluation Oriented XML Data Stream Compression
WANG Teng-Jiao,GAO Jun,YANG Dong-Qing,TANG Shi-Wei and LIU Yun-Feng. XPath Evaluation Oriented XML Data Stream Compression[J]. Journal of Software, 2005, 16(5): 869-877
Authors:WANG Teng-Jiao  GAO Jun  YANG Dong-Qing  TANG Shi-Wei  LIU Yun-Feng
Abstract:Because XML (extensible markup language) is self-described, there is much redundant structural information in XML data stream. How to compress XML data so as to reduce the network transfer cost and support XPath evaluation on the compressed data is a new area of research. The existing methods on XML compression require the multi-pass scan on data or can not support real time query processing on compressed data. In this paper, a novel compression method XSC (XML stream compression) is proposed to compress and decompress XML stream in real time. XSC constructs XML element event sequence dictionary and outputs the related index dynamically. When DTD is available, XSC can generate the XML element event sequence graph for producing more reasonable encoding before XML data stream is processed. The compressed XML data stream can be decomposed directly for XPath evaluation. Experimental results show that XSC outperforms other methods in compression ratio and compression efficiency, and the cost of XPath evaluation on compressed data stream is acceptable.
Keywords:XML (extensible markup language)  data stream  compression  DTD  XPath
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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