作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (13): 64-66,78. doi: 10.3969/j.issn.1000-3428.2012.13.018

• 软件技术与数据库 • 上一篇    下一篇

基于向量的动态XML编码方法研究

冯少荣,陈天烁   

  1. (厦门大学计算机科学系,福建 厦门 361005)
  • 收稿日期:2012-02-01 出版日期:2012-07-05 发布日期:2012-07-05
  • 作者简介:冯少荣(1964-),男,副教授,主研方向:XML数据库技术,数据挖掘;陈天烁,硕士研究生
  • 基金资助:
    国家自然科学基金资助项目(50604012)

Research of Dynamic XML Coding Method Based on Vector

FENG Shao-rong, CHEN Tian-shuo   

  1. (Department of Computer Science, Xiamen University, Xiamen 361005, China)
  • Received:2012-02-01 Online:2012-07-05 Published:2012-07-05

摘要: 基于向量的动态可扩展标记语言(XML)编码方法计算简单,但不能对已删编码进行重用,严重影响XML更新效率。为此,利用Stern-Brocot树对中间向量计算进行改进,提出一种求解最短位长中间向量的多项式时间算法,对批量分配进行优化,从而提高向量编码的更新性能。实验结果证明改进的编码方法能较好地重用已删编码,适用于XML的频繁更新。

关键词: 动态可扩展标记语言, 向量编码, DDE编码, 中间向量, XML编码

Abstract: eXtensible Markup Language(XML) coding method based on vector is simple but it can not reuse the deleted code, and it impacts the update efficiency for XML. An improved algorithm is proposed to calculate the intermediate vector with smallest size, which only takes polynomial time. Based on Stern-Brocot tree and modeling the problem as an integer programming problem, this algorithm improves the calculation of the intermediate vector and optimize the bulk allocation, so the vector encoding is more effective on update. Experimental result shows that the improved coding method can use the deleted code effectively and it is more adapted for XML update.

Key words: dynamic eXtensible Markup Language(XML), vector coding, Dynamic Dewey(DDE) coding, middle vector, XML coding

中图分类号: