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

基于模式的XML文档元素的序列化标识
引用本文:黄芳,孙建伶.基于模式的XML文档元素的序列化标识[J].计算机工程与应用,2004,40(17):181-183.
作者姓名:黄芳  孙建伶
作者单位:浙江大学计算机科学与工程学院人工智能研究所,杭州,310027
基金项目:国家部委预研基金项目资助
摘    要:在XML文档中,对象的顺序包含语义。为了提高查询和插入操作的效率,对象标识(OID)需要序列化。现在普遍采用的OID序列化方法是前序算法,但是该算法代价很大。该文设计了基于模式的OID序列化算法。算法的核心是OID区间预留,以实例文档的模式和统计信息为基础,将计算机可以表达的整数分成区间,然后将对象映射到区间内,从而给所有对象赋予OID。新算法大大降低了XML文档序列化的开销。

关 键 词:XML  OID序列化  节点长度  预留区间
文章编号:1002-8331-(2004)17-0181-03

Schema-based Sequential Identification for XML Elements
Huang Fang Sun Jianling.Schema-based Sequential Identification for XML Elements[J].Computer Engineering and Applications,2004,40(17):181-183.
Authors:Huang Fang Sun Jianling
Abstract:The sequence of objects in XML document contains important and useful meanings.We should identify objects sequentially to improve the efficiency of query and update operations upon XML document.At present ,preorder traversal algorithm is wildly used for OID serializing.However,great maintenance overhead is inevitable when we adopt this algorithm.Schema-based algorithm for OID serializing is presented in this paper.The main idea of the algorithm is OID interval reservation.Based on the Schema and the statistic information of a given example,the biggest integral interval computer supports is separated into several small intervals,then each object in the example is mapped into an interval,and so we can identify those objects sequentially.Accordingly,the maintenance overhead will be effectively reduced.
Keywords:XML  OID serializing  node's length  reserved interval  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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