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

XML与关系数据库相互转换中的语义约束完整性
引用本文:叶飞跃,李霞,张滨. XML与关系数据库相互转换中的语义约束完整性[J]. 上海大学学报(自然科学版), 2007, 13(5): 532-538
作者姓名:叶飞跃  李霞  张滨
作者单位:上海大学,计算机工程与科学学院,上海,200072;上海大学,计算机工程与科学学院,上海,200072;上海大学,计算机工程与科学学院,上海,200072
摘    要:采用Shared Inlining方法,提出基于函数依赖的XML到关系的无损映射算法,使得原XML文档的内容和结构信息及语义约束完整地映射到关系数据库中.在此基础上利用外键连接与路径映射规则,提出基于语义约束的关系模式向XML模式的转换算法,以重构出原XML文档.提出的新观点是:映射得到的关系或XML文档的范式不但与映射算法有关,而且与XML文档或关系的规范化程度有关.定义了XML范式,提出XML文档与关系的相互转换中XML范式与关系范式对应关系的相关命题,并给出了相应证明.

关 键 词:XML函数依赖  XML范式  无损映射算法
文章编号:1007-2861(2007)05-0532-07
收稿时间:2007-04-25
修稿时间:2007-04-25

Semantic Constraint Maintenance in Transformation between XML and Relations
YE Fei-yue,LI Xia,ZHANG Bin. Semantic Constraint Maintenance in Transformation between XML and Relations[J]. Journal of Shanghai University(Natural Science), 2007, 13(5): 532-538
Authors:YE Fei-yue  LI Xia  ZHANG Bin
Affiliation:School of Computer Engineering and Science, Shanghai University, Shanghai 200072, China
Abstract:Based on shared inlining, we present a lossless algorithm to map XML to relations according to XML FDs, which can denote the relative constraints. A new algorithm is proposed to reconstruct the original XML document, using a foreign key join and a path-mapping ride. We show that the normal forms of relations or XML documents after mapping have relations with the mapping algorithm with a normalization degree of original XML DTD or relations. XML normal forms are defined, and propositions and proofs are presented to study the relationship between XML normal forms and the corresponding forms of relations after mapping.
Keywords:XML functional dependency   XML normal forms   lossless mapping algorithm
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《上海大学学报(自然科学版)》浏览原始摘要信息
点击此处可从《上海大学学报(自然科学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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