首页 | 官方网站   微博 | 高级检索  
     

支持更新的XML编码方案
引用本文:杨扬,申石磊.支持更新的XML编码方案[J].计算机工程与设计,2012,33(4):1629-1632.
作者姓名:杨扬  申石磊
作者单位:河南大学计算中心,河南开封,475004
基金项目:国家自然科学基金项目(61004006)
摘    要:为解决XML数据更新时变更相应的子树编码导致的低效更新问题,以及插入结点过多而预留的编码空间不足造成的溢出问题,分析相关编码低效的原因,提出了一种支持XML文档更新的编码方案.采用该编码,XML文档树中现有结点的编码不受插入或删除操作的影响,避免了二次编码,降低了空间成本,采用编码对应表替代了原Dewey编码中各层之间的“.”分隔符,缩短了编码长度,并给出了基于该编码的XPath查询轴的判别方法,可快速判断结点间的结构关系.理论分析和实验结果表明了该编码方案的准确性和有效性.

关 键 词:可扩展标记语言  Dewey编码  编码方案  编码更新  运行效率

XML coding scheme of supporting updates
YANG Yang , SHEN Shi-lei.XML coding scheme of supporting updates[J].Computer Engineering and Design,2012,33(4):1629-1632.
Authors:YANG Yang  SHEN Shi-lei
Affiliation:(Computing Center,Henan University,Kaifeng 475004,China)
Abstract:To effectively solve poor efficiency update problem owing to recoding when update operation is done and resolve overflow problem because of insufficient reserve space when excess nodes are inserted.By analyzing the relevant reasons for poor efficiency,a XML coding scheme is presented,which supports update operation.When XML update operations are executed,recoding is avoided and space costs are reduced with the coding scheme.The corresponding table is adopted to replace the dot separator of each layer,then the length of coding is shorten accordingly.Based on the coding scheme,the XPath query method is proposed and the structural relation of nodes can be judged quickly.Theoretical analysis and experimental results show the accuracy and efficiency of the proposed coding scheme.
Keywords:XML  Dewey coding  coding scheme  coding update  running efficiency
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号