###
DOI:
Journal of Software:2005.16(5):869-877

面向XPath执行的XML数据流压缩方法
王腾蛟,高军,杨冬青,唐世渭,刘云峰
(北京大学,信息科学技术学院,北京,100871)
XPath Evaluation Oriented XML Data Stream Compression
WANG Teng-Jiao,GAO Jun,YANG Dong-Qing,TANG Shi-Wei,LIU Yun-Feng
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 2600   Download 2993
Received:October 13, 2003    Revised:March 02, 2004
> 中文摘要: 由于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
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.
文章编号:     中图分类号:    文献标志码:
基金项目: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)) 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))
Foundation items:
Reference text:

王腾蛟,高军,杨冬青,唐世渭,刘云峰.面向XPath执行的XML数据流压缩方法.软件学报,2005,16(5):869-877

WANG Teng-Jiao,GAO Jun,YANG Dong-Qing,TANG Shi-Wei,LIU Yun-Feng.XPath Evaluation Oriented XML Data Stream Compression.Journal of Software,2005,16(5):869-877