目前的XML文档映射关系数据库方法普遍存在生成的数据表较多、查询效率较低等问题,基于模型映射提出一种包含Dewey编码的XML文档映射关系数据库方法。给出了映射的逻辑结构模型、详细设计方案、映射算法和实验结果。实验结果表明,该方法生成的数据表结构简单,与传统算法相比在文档解析和数据查询方面具有一定的性能优势。
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 en- coding based on model mapping is proposed, which gives the logical structure model of the mapping, detailed de- sign, 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.