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

函数依赖和规范化在关系和XML间的传播
引用本文:谈子敬,施伯乐.函数依赖和规范化在关系和XML间的传播[J].软件学报,2005,16(4):533-539.
作者姓名:谈子敬  施伯乐
作者单位:复旦大学,计算机与信息技术系,上海,200433
基金项目:Supported bythe National High-Tech Research and Development Plan of China under Grant No.2002AA4Z3430(国家高技术研究发展计划(863))
摘    要:XML和关系的结合是一个重要的研究领域,讨论函数依赖和规范化在关系及XML间的传播问题.首先引入XML上函数依赖和键的定义,并进一步定义XML上的数据冗余和规范化DTD的概念.分别讨论在关系和XML相互转化的过程中,函数依赖的传播问题.针对一种一般化的关系模式DTD表示,证明原有关系中的函数依赖可以在生成的XML文档上得到表示.针对一种常见的XML关系存储方法,说明最终生成关系上的函数依赖与原有XML上函数依赖的对应关系.函数依赖传播的核心意义在于规范化的传播.证明使用上述方法时,若原有的关系是满足BCNF的,则发布得到的DTD也是规范化的;若原始的DTD是规范化的,则得到的关系存储也满足BCNF范式.

关 键 词:可扩展标记语言  关系  传播  函数依赖  规范化
文章编号:1000/9825/2005/16(04)0533
收稿时间:7/9/2004 12:00:00 AM
修稿时间:9/8/2004 12:00:00 AM

Propagating Functional Dependency and Normalization Between Relations and XML
TAN Zi-Jing and SHI Bai-Le.Propagating Functional Dependency and Normalization Between Relations and XML[J].Journal of Software,2005,16(4):533-539.
Authors:TAN Zi-Jing and SHI Bai-Le
Abstract:To combine XML with relations is a hotspot in research field. This paper studies the functional dependency and normalization propagation between relations and XML. First the paper gives the definition of functional dependencies and keys for XML; based on it, the concepts of redundancy and DTD normalization are defined. The paper then discusses the functional dependency propagation between relations and XML. When using a general mapping from relational schema to DTD, the paper shows that all the relational functional dependencies can be preserved in the DTD; and when applying a commonly used method to mapping DTD to relational schema, each functional dependency on relations has a corresponding one in the original DTD. The significance of functional dependency propagation lies in the normalization propagation. The paper proves that using the methods above, if the original relation is in BCNF, the generated DTD is normalized, and if the original DTD is normalized, the generated relations are in BCNF.
Keywords:XML  relation  propagation  functional dependency  normalization
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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