


全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
基于语义的xml模式到关系模式的转换 基于语义的xml模式到关系模式的转换 translating from xml schema to relation schema on semantic constraint 【摘要】 可扩展标记语言xml技术自出现以来,在许多领域内得到广泛的支持并有着广阔的应用前景。xml的核心作用体现于数据的交换与共享。利用xml的样式语言来实现数据间的转换和显示,可以满足用户的多种需求。由于xml的诸多优势并没有表现在存储上,如何更为有效地存储和管理xml数据已成为一个研究热点。本文基于xml文档中的映射规则,从保持语义约束的角度考虑,展开对xml模式规范化存储的研究,包括:对xml文档用映射语言进行描述;基于映射规则对应的表树探讨一种生成键的方法;基于xml键和函数依赖之间的关系讨论简化键和简化函数依赖的定义,以及键向简化函数依赖的转换等;讨论xml模式到关系模式的转换,给出一种基于xml键的转换算法,把泛关系模式保持函数依赖且无损连接地分解为3nf模式集,使得到的关系模式合理化。本文的主要研究成果如下:(1)参考已有的xml映射规则定义,给出xml文档的泛关系定义和相应的映射规则。(2)提出基于xml文档的有效生成键的智能拓展算法:事先给出标识键文件,该文件存放可预知的能唯一标识其他数据的键字符串,在算法运行过程中能动态更新,然后基于映射规则对应的表树,得到完备的xml键集,并给出算法分析和证明。(3)提出一种新的xml模式到关系模式的转换方法,该方法不需要给定文档类型定义(document type description,dtd),先将xml键集转换为简化函数依赖集,减少属性结点的冗余,然后保持函数依赖的把泛关系分解为关系范式,使得到的关系模式中的关系表及其属性合理化。从理论和实验的角度,验证算法的有效性。【abstract】 extensible markup language xml technology has been widely supported in many domains and has had bright prospect of broad application since its appearance.the key role of xml lies in the data exchange and sharing.using the xml style language to realize the data translation and manifestation can satisfy various kinds of users demands.since many of xml s advantages could not be found in memory,how to store and manage the xml data effectively has become a hot research subject.based on the xml document s mapping rules,this paper did research into normalized storage of xml schema from the perspective of keeping semantic constraints.it includes: description of the xml document in mapping rules;discussion of a new method of generating xml key based on table tree from mapping rules;discussion of the definition of both simplified keys and simplified functional dependencies and of the translation from keys to simplified functional dependencies based on the connection between xml keys and functional dependencies;discussion of the translation from xml schema to relation schema and presentation of a new translation algorithm based on xml key.this algorithm can keep functional dependency and lossless connection to divide the universal relation into 3rd normal form schema set,and it can make the derived relation schema reasonable.the contributions of this paper are as follows:(1)referencing to the definition of xml mapping rules,we present the definition of the universal relation and the correlative mapping rules on xml document.(2)a algorithm for intelligent extending to efficiently deriving xml keys based on xml document is proposed.firstly we present label key file able to store a lot of key character strings which can foreseeably and exclusively mark the other data,and it is dynamically updated in the algorithm running. then the algorithm derives the key set from the table tree of mapping rules,and present the analysis and proof of this algorithm.(3)a new normalized translation method is proposed for translating xml schema to relational schema,without the dtd (document type description).firstly xml key set is translated into simplified functional dependencies,which can reduce the redundancy of attribute nodes.divide the universal relation into relational normal form while keeping functional dependency,and ensure the relational table and its attributes of the derived relational schema reasonable.the method has been proved to be valid from the view of theory and experiment. 【关键词】 xml; 关系数据库; 转换方法; xml键; 函数依赖 【key words】 xml; relational database; translation method; xml key; functional dependenc 基于语义的xml模式到关系模式的转换中文摘要 3-4 英文摘要 4-5 1.绪论 8-16 1.1 问题的提出 8-9 1.2 研究目的和意义 9-10 1.3 国内外研究现状 10-13 1.4 主要工作和成果 13-14 1.5 本文的结构 14-16 2.xml语言 16-26 2.1 引言 16 2.2 xml特点与语法规则 16-18 2.3 xml树 18-21 2.4 路径语言 21-23 2.5 xml键 23-24 2.6 函数依赖 24-25 2.7 本章小结 25-26 3.xml与关系数据库 26-38 3.1 引言 26 3.2 xml数据存储机制 26-28 3.3 xml与关系数据库技术的比较 28-30 3.4 xml模式到关系数据库的转换技术 30
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年中国风能用玻璃纤维行业市场分析及投资价值评估前景预测报告
- 第22课《太空一日》说课稿 2024-2025学年统编版语文七年级下册
- 2025年中国移动校园招聘面试技巧与模拟题解析
- Module 4 The Magic of Film说课稿高中英语外研版选修十-外研版2004
- 2025年中国交建县域交通管理岗位招聘面试常见问题解答指南
- 2024年高中化学 专题3 常见的烃 第一单元 第3课时 炔烃、脂肪烃的来源及其应用说课稿 苏教版选修5
- 2025年人防工程管理笔试模拟题与面试技巧指导
- 2025年市场营销师认证考试复习资料与模拟题
- 2025年企业内部晋升面试模拟题及答案解析
- 3.4 一元一次方程的应用 说课稿 2024-2025学年湘教版数学七年级上册
- 网络药理学评价方法指南
- 银行签字管理办法
- 小学生造纸课件
- 宣传委员竞选教学课件
- 2024年《初中英语课程标准》解读之写作教学
- 2025-2030年中国生猪养殖屠宰行业市场发展分析及发展趋势与投资机会究报告
- 2025年肌电图仪项目可行性研究报告
- 偷盗私了收钱协议书
- 模拟试卷10-【中职专用】2025年“面向人人”职业能力大赛语文模拟卷(原卷版)
- 防水工程监理细则范文
- 《招商专业知识》课件
评论
0/150
提交评论