摘要
基于XML的数据集成系统设计中XML文档的存储问题,提出一种由XML文档到关系型数据库的模型映射方法;所提出的连续标记方法,遍历XML文档树对所有节点进行标记编码,通过映射算法将节点数据映射到关系型数据库中。文中给出XML文档的数据模型、映射算法的设计和实验评估。实验结果表明,相比较现有的几种映射方法,该方法能有效地支持XML数据在关系型数据库中的存储和查询,实现高效的结构化查询,同时适用于任何模式的XML文档。
To solve the storage problem of XML documents in the design of a data integration system based on XML,this paper proposes a method of model-mapping from XML documents to relational database. By proposing a persistent labeling method,the paper makes coding for all the nodes by traversing XML documents tree,then nodes data would be mapped into relational database through mapping algorithm. Four aspects of data model of XML documents,design of the mapping algorithm and experimental evaluation results are discussed. The results of experiments show the effectiveness of this proposed method. Compared with the exiting methods,the new method can support storing and query XML data in relational database,and can realize efficient structured query and be a general solution for any schema of XML documents.
出处
《江南大学学报(自然科学版)》
CAS
2015年第5期590-595,共6页
Joural of Jiangnan University (Natural Science Edition)