首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 78 毫秒
1.
针对在访问中存在的异构数据问题,本文提出通过关系模式到XML模式的转换的解决方法,定义了关系模式到XML模式的映射模型,并给出此模型的实现方法及相关算法。  相似文献   

2.
关系模式到XML模式的影射   总被引:13,自引:4,他引:13  
在总结用DTD文档描述关系模式向XML模式转换信息的基础上,利用XML Schema相对于DTD更为强大的描述能力的特性,实现了关系模式向XML模式的完全转换。  相似文献   

3.
刘辉玲  叶锋 《电脑学习》2010,(1):143-145
本文首先分析了XML DTD中元素、属性和操作符,其次给出了XML DTD简化规划,最后讨论了XML DTD到关系模式的映射规则和映射步骤。给出了应用实例,在应用中证明了算法的有效性。  相似文献   

4.
XML已迅速成为了Intemet数据描述和数据交换的标准,如何准确全面地实现XML模式与关系模式的相互映射转换已成了一个重要的研究课题,针对目前基于XML的数据交换问题,研究XML模式与关系模式的相互映射规则,提出利用Velocity模板引擎实现两者相互映射转换的方法,并通过例子说明其映射过程,而且在一定程度上保留了数据完整性。  相似文献   

5.
XML DTD到关系模式的映射研究   总被引:4,自引:0,他引:4       下载免费PDF全文
现有的DTD到关系模式的映射方法存在的问题是,强调结构上的映射,忽略了约束保持,致使语义丢失。本文在分析了DTD中结构和语义约束的基础上,提出了一种LDG中间模型及相应的映射算法和实现。  相似文献   

6.
基于Schema的XML模式与关系模式映射算法的研究   总被引:9,自引:0,他引:9  
可扩展标记语言XML的模式有两种类型,DTD模式和Schema模式,目前的一些有关XML模式与关系模式映射算法大部分是基于DTD模式来实现的,而基于Schema的映射算法的研究具有更重要的意义,本文在介绍信息系统的基于XML的信息交换机制的基础上,详细分析了基于Scheme模式的映射算法的一些基本规则。  相似文献   

7.
基于Web的XML与数据库映射   总被引:2,自引:0,他引:2  
本文讨论了XML与数据之间的结构对比,并介绍了基于Web方式下的XML与数据库之间映射的实例。  相似文献   

8.
XML作为一种数据交换的国际标准,已经广泛应用于各个领域,如何准确地实现XML与关系数据库的转换已经成为一个重要的研究课题。本文主要研究XML Schema到关系模式的映射方法,通过对XML Schema的结构和语法进行分析,提取元素的语义信息,找到真正的复杂类型的元素,将XML Schema转换为E_Schema,E_Schema表达方式简单且信息完整,结合基于查询代价的思想对E_Schema进行处理,得到最优模式,再将其转换成关系模式,而且能保持原有的层次关系,从而实现了一个更为简单、完善的映射方案。  相似文献   

9.
XML文档架构与关系数据模型间的映射研究   总被引:6,自引:2,他引:6  
XML逐渐成为Internet上数据描述和交换的标准。随着Web上大量数据用XML文档表示出来,有必要对这些XML文档进行操纵管理。为了结合关系数据库系统强大的数据操纵能力,论文在对XML文档的逻辑结构进行简要介绍的基础上,就XML文档特别是结构化XML文档与关系数据模型数据之间的互动映射作了深入探讨,特别是在数据结构和数据完整性约束条件的映射关系上作了更深一层的研究,提出了一系列基于XML本身的映射规则。  相似文献   

10.
基于D_Schema的XML模式到关系模式的映射   总被引:7,自引:0,他引:7  
刘智  石锐  谢新泉 《计算机应用》2004,24(2):128-131
可扩展标记语言(XML)由于其简单性和自描述性使其正逐渐成为电子商务和因特网上信息表示和交换的标准。文中通过对xMLSchema结构和语法进行分析,提出了一种基于D_Schema的XML模式到关系模式的映射方法,并对映射中的一些难点问题,如多值元素映射和递归元素映射等问题提出了解决方法。  相似文献   

11.
为解决复杂XML文档中的递归元素、多命名空间信息、重复结构、面向未来可扩展元素和属性等关系模式的映射,针对P_Schema和B_Schema在XML模式到关系模式映射中的不足,提出了一种基于C_Schema的XML模式到关系模式的映射方法。C_Schema对P_Schema和B_Schema进行了继承和扩展,将上述复杂信息提取出来生成新类型,并在其相应的父元素中保留对新类型的引用。C_Schema与XML Schema模式是一种等价关系,根据一定的映射规则,将C_Schema直接映射为关系模式,实现将XML文档在数据库中的存储。依据该模式可实现各种基于模式的复杂XML文档到关系数据库的存储与还原,可广泛应用于各种基于XML的行业标准中。  相似文献   

12.
基于关系模式的向量模型和XML模式树模型,提出了一种关系模式到模块化的XML Schema的模型映射方法BTT,其映射规则保持了关系模式的结构、属性以及约束信息的完整保留,自底向上的映射顺序在没有牺牲转换效率的情况下,完成了模块化的封装与重用,使得对转换后的XML Schema文档的更新操作可以在模块化内部完成,大大提高了维护效率。实验结果表明了与传统的嵌套层次的XML Schema文档相比,BTT方法转换形成的XML Schema在维护效率上有明显优势。  相似文献   

13.
Many legacy systems have been created by using relational database operating not for the Internet expression. Since the relational database is not an efficient way for data explosion, electronic transfer of data, and electronic business on the Web, we introduce a methodology in which a relational schema will be translated to an Extensible Markup Language (XML) schema definition for creating an XML database that is a simple and efficient format on the Web. We apply the Indirect Schema Translation Method that is a semantic-based methodology in this project. The mechanism is that the Relational Schema will be translated into the conceptual model, an Extended Entity Relationship (EER) Model using Reverse Engineering. Afterward, the EER model will be mapped to an XML Schema Definition Language (XSD) Graph as an XML conceptual schema using Semantic Transformation. Finally, the XSD Graph will be mapped into the XSD as an XML logical schema in the process of Forward Engineering, and the data semantics of participation, cardinality, generalization, aggregation, categorization, N-ary and U-ary relationship are preserved in the translated XML schema definition.  相似文献   

14.
Many applications deal with highly flexible XML documents from different sources, which makes it difficult to define their structure by a fixed schema or a DTD. Therefore, it is necessary to explore ways to cope with such XML documents. The paper analyzes different storage and retrieval methods for schemaless XML documents using the capabilities of relational systems. We compare our experiences with the implementation of an XML-to-relational mapping with an LOB implementation in a commercial RDBMS. The paper concludes with a vision of how different storage methods could converge towards a common high-level XML-API for databases.  相似文献   

15.
Autonomous mapping of HL7 RIM and relational database schema   总被引:1,自引:0,他引:1  
Healthcare systems need to share information within and across the boundaries in order to provide better care to the patients. For this purpose, they take advantage of the full potential of current state of the art in healthcare standards providing interoperable solutions. HL7 V3 specification is an international message exchange and interoperability standard. HL7 V3 messages exchanged between healthcare applications are ultimately recorded into local healthcare databases, mostly in relational databases. In order to bring these relational databases in compliance with HL7, mappings between HL7 RIM (Reference Information Model) and relational database schema are required. Currently, RIM and database mapping is largely performed manually, therefore it is tedious, time consuming, error prone and expensive process. It is a challenging task to determine all correspondences between RIM and schema automatically because of extreme heterogeneity issues in healthcare databases. To reduce the amount of manual efforts as much as possible, autonomous mapping approaches are required. This paper proposes a technique that addresses the aforementioned mapping issue and aligns healthcare databases to HL7 V3 RIM specifications. Furthermore, the proposed technique has been implemented as a working application and tested on real world healthcare systems. The application loads the target healthcare schema and then identifies the most appropriate match for tables and the associated fields in the schema by using domain knowledge and the matching rules defined in the Mapping Knowledge Repository. These rules are designed to handle the complexity of semantics found in healthcare databases. The GUI allows users to view and edit/re-map the correspondences. Once all the mappings are defined, the application generates Mapping Specification, which contains all the mapping information i.e. database tables and fields with associated RIM classes and attributes. In order to enable the transactions, the application is facilitated with the autonomous code generation from the Mapping Specification. The Code Generator component focuses primarily on generating custom classes and hibernate mapping files against the runtime system to retrieve and parse the data from the data source—thus allows bi-directional HL7 to database communication, with minimum programming required. Our experimental results show 35–65% accuracy on real laboratory systems, thus demonstrating the promise of the approach. The proposed scheme is an effective step in bringing the clinical databases in compliance with RIM, providing ease and flexibility.  相似文献   

16.
通过比较基于可能世界模型的概率数据在关系数据模型和XML数据模型中的表示方法,根据概率属性与普通属性的关系把概率关系模式分为1NF和3NF,根据分布节点与普通节点的关系把概率XML模式也分为1NF和3NF,以扩展的概率DTD文件为例设计了概率关系模式和概率XML模式之间的转换算法。实例分析结果表明该算法是有效的,也为现存的概率关系数据与概率XML数据之间提供了一种有效的模式转换方法。  相似文献   

17.
关系模式与XML模式的相互转换   总被引:2,自引:0,他引:2  
XML数据具有自描述特性,所以能够从自身得到描述自己的类似于数据库的数据模式,又由于XML具有树型结构的特点,由此可以把XML模式转化为关系模式,同样关系模式也能够转化为XML模式,本文将分别给出如何实现这两个模式的相互转化的算法.  相似文献   

18.
XML文档到关系数据库映射方法的研究*   总被引:4,自引:0,他引:4  
针对现有映射方法对XML文档格式要求过严等不足,在模型映射方法基础上提出一种XML文档映射关系数据库的新方法。通过给XML文档树做标志,将映射算法转换后的数据放到两张预先定义结构的表进行存储。给出了逻辑数据模型、详细设计、映射算法和实验。实验结果表明,该方法能有效地保持XML文档的结构,能够对存储的数据进行语义检索,适用于任何树型数据结构。  相似文献   

19.
目前的XML文档映射关系数据库方法普遍存在生成的数据表较多、查询效率较低等问题,基于模型映射提出一种包含Dewey编码的XML文档映射关系数据库方法。给出了映射的逻辑结构模型、详细设计方案、映射算法和实验结果。实验结果表明,该方法生成的数据表结构简单,与传统算法相比在文档解析和数据查询方面具有一定的性能优势。  相似文献   

20.
XML是W3C组织于1998年2月发布的一种标记语言标准,其具有易于扩展、结构性强、交互性好、语义丰富、基于内容的数据标识、可格式化、易于处理、与平台无关的特点,使得数据层在XML技术的支持下得到统一。通过对海洋温盐深数据进行结构分析,本文设计了温盐深数据XML Schema,定义了温盐深数据的XML数据结构。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

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