首页 | 本学科首页   官方微博 | 高级检索  
     

关系模式到XML Schema的约束保留映射
引用本文:周竞涛,张树生,孙宏伟,王明微.关系模式到XML Schema的约束保留映射[J].西北工业大学学报,2003,21(3):372-376.
作者姓名:周竞涛  张树生  孙宏伟  王明微
作者单位:西北工业大学,CAD/CAM国家专业实验室,陕西,西安,710072
基金项目:国家 8 6 3/ CIMS主题项目 (2 0 0 2 AA4 14 2 10 )
摘    要:随着XML逐渐成为网络数据表示和交换的标准,将关系数据描述为XML格式已经成为一种趋势。针对这种情况,提出了关系模式到XML Schema的保留约束映射算法,通过对关系模式和XML Schema数学建模,定义模式映射模板,将关系模式转化为XML Schema模式的描述,实现关系数据到XML文档的转化。由于在数学建模过程中充分保留了语义约束信息,与同类研究相比,算法的映射结果可以更完整的描述关系模式的结构和语义信息,保证了数据的连贯性。

关 键 词:XML  约束保留映射  XMLSchema  关系模式
文章编号:1000-2758(2003)03-0372-05
修稿时间:2002年4月18日

A New Translation Algorithm Based on Constraints-Preserved Mapping from Relational Schema to XML Schema
Zhou Jingtao,Zhang Shusheng,Sun Hongwei,Wang Mingwei.A New Translation Algorithm Based on Constraints-Preserved Mapping from Relational Schema to XML Schema[J].Journal of Northwestern Polytechnical University,2003,21(3):372-376.
Authors:Zhou Jingtao  Zhang Shusheng  Sun Hongwei  Wang Mingwei
Abstract:Although some translation algorithms from relational schema to XML DTD (Extensible Markup Language Document Type Definition) exist, they are unsatisfactory when more expressive and coherent results are required because of the inherent limitations of XML DTD. We now propose a better and new translation algorithm based on W3C XML Schema standard and on what we call constraints preserved mapping, which are the keys to the architecture proposed in our recent paper . In our approach, we define a data model based on directed graph theory, which we name DGDM (directed graph data model); we utilize it as an intergradation data model for schema translation to narrow down the areas of structure inconsistencies between flat relational schema and hierarchical XML Schema. Because XML Schema is more complex than relational schema and because there is no need for full model XML Schema, we construct a predigested model for XML Schema that conforms to graph structure as well; we name this predigested model XML Schema Template. By using DGDM and XML Schema Template, our algorithm not only has capability to capture the full structures and semantic constraints in relational schema, but also makes translation easy because of the similarity in structure of DGDM and the XML Schema Template. We also show how DGDM can be used to automatically derive structures and semantic constraints in relational schema, how the relational schema can be easily transformed into XML Schema by the translation between DGDM and the XML Schema Template, and how the semantic constraints can be well preserved. We give some experimental results that demonstrate preliminarily that our new translation algorithm is indeed better than those based on XML DTD.
Keywords:XML (Extensible Markup Language) Schema  DTD (Document Type Definition )  relational schema  constraints  preserved mapping
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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