计算机工程与应用 ›› 2012, Vol. 48 ›› Issue (27): 128-131.

• 数据库、信号与信息处理 • 上一篇    下一篇

包含Dewey码的XML文档映射关系数据库策略

姚保峰,朱洪浩,王  磊,戚晓明,郭有强   

  1. 蚌埠学院 计算机科学与技术系,安徽 蚌埠 233000
  • 出版日期:2012-09-21 发布日期:2012-09-24

Strategy of mapping XML document to relational database with Dewey encoding

YAO Baofeng, ZHU Honghao, WANG Lei, QI Xiaoming, GUO Youqiang   

  1. Department of Computer Science and Technology, Bengbu College, Bengbu, Anhui 233000, China
  • Online:2012-09-21 Published:2012-09-24

摘要: 目前的XML文档映射关系数据库方法普遍存在生成的数据表较多、查询效率较低等问题,基于模型映射提出一种包含Dewey编码的XML文档映射关系数据库方法。给出了映射的逻辑结构模型、详细设计方案、映射算法和实验结果。实验结果表明,该方法生成的数据表结构简单,与传统算法相比在文档解析和数据查询方面具有一定的性能优势。

关键词: 可扩展标记语言(XML)文档, 模型映射, 关系数据库, Dewey编码

Abstract: At present, the problems of too many data tables generated and too low efficiency in querying are general in the method of mapping XML document to relational database. For this reason, a mapping method with Dewey encoding based on model mapping is proposed, which gives the logical structure model of the mapping, detailed design, the mapping algorithm and experimental results. The experimental results show that the structure of data tables generated by this method is simple. Compared with the traditional algorithm,?this method has ?some ?performance advantages in document resolving and data querying.

Key words: Extensible Markup Language(XML) document, model mapping, relational database, Dewey encoding