共查询到18条相似文献,搜索用时 109 毫秒
1.
2.
基于XML的异构数据交换模型的研究 总被引:1,自引:0,他引:1
基于XML的异构数据交换系统通过XML提供通用数据格式,在异构数据源间信息交换的模型中使用XML文档作为中间文件.由于以往的交换系统只提取出了少部分用户自定义完整性约束,因此提出一种新的关系模式和XML模式相互转换的方法.在转换过程中,重新定义了关系模式的通用模型,从而保证了数据的完整性.通过实验证明了该转换方法的可行... 相似文献
3.
4.
陈富强 《数字社区&智能家居》2007,2(6):1203-1203
本文以一个基于XML的异构数据交换系统XESYS为例,对设计该类系统的一些关系技术如系统架构、数据转换方法、数据模型的选择、XML数据存储等做了相应的讨论和研究,运行的结果表明系统实现了相应的功能并具有较高的效率。 相似文献
5.
现实应用需要从关系数据库中提取数据并以XML的形式进行发布,需要利用定义在XML文档上的键检测发布后的XML文档是否满足原先关系数据库的语义及完整性约束。文章提出了生成XML键的方法,该方法由关系数据库中的键、外键约束构造规范化关系模式的约束概念层次图,并保持语义映射为有效的、完全的XML键约束。 相似文献
6.
7.
随着计算机网络的发展和企业规模的扩大,很多工控软件面临着系统的升级.从现实的需求出发,探讨了工控软件从原有的C/S结构向B/S结构转换的过渡方案,提出一种基于当下比较流行的异步JavaScript和XML(asynchronous JavaScript and XML,Ajax)技术的转换方法,并通过一个具体的横向项目<B/S模式的工业S监控系统中心站软件》的实施,验证了该方案的可行性. 相似文献
8.
XML是因特网中不同企业之间进行信息交流的一种标准的数据转换模式,为了加速数据之间的转换,企业组织通过定义公共数据文档接口来实现基于XML的应用。本文提出了一种新的将关系数据模式转换为XML模式的方法。在转换的过程中,不仅考虑关系模式的结构,而且考虑语义约束,比如内部函数依赖。该方法的输入模式是具有多值函数依赖的关系模式,输出模式是X-Schema。最后,通过实验对该转换方法进行了验证。 相似文献
9.
随着XML技术的不断发展和成熟,如何有效的利用关系数据库技术存储和查询XML文档显得非常重要。提出了一种XML文档DTD到关系表格的两阶段转换法,先将DTD文件映射为XSchema模式,通过对XSchema模式的约束简化、内联、添加键约束、数据类型和属性转换得到能够在RDBMS中存储的关系模型,映射后XML文档信息不会发生丢失且能保持键约束。实例的成功转换表明了该方法的可行性。 相似文献
10.
XML Schema语义约束在关系数据库中的实现 总被引:1,自引:0,他引:1
数据语义约束的完整保留是实现XML Schema向关系模式"无损"转换的关键问题.针对这一问题,本文简要分析XML Schema和关系模式的语义约束特征,较为详细地论述XML Schema语义约束与关系模式的完整性约束之间的转换方法. 相似文献
11.
键是数据库模式和概念设计的基础,是语义的一个重要组成部分。随着XML成为Web上一种通用的数据交换标准格式,将键的概念引入到XML领域就显得非常迫切。本文基于路径和树元组表达式,从数据库设计的角度出发,在XML函数依赖形式化定义的基础上给出XML键完整陆约束定义、XML绝对键和相对键的有效和完备的推理规则,并提出使用多项式时间求解XML候选键的算法,为XML数据库模式的规范化设计奠定了理论基础。 相似文献
12.
《Journal of Computer and System Sciences》2007,73(3):316-361
We present a technique for refining the design of relational storage for XML data. The technique is based on XML key propagation: given a set of keys on XML data and a mapping (transformation) from the XML data to relations, what functional dependencies must hold on the relations produced by the mapping? With the functional dependencies one can then convert the relational design into, e.g. 3NF, BCNF, and thus develop efficient relational storage for XML data. We provide several algorithms for computing XML key propagation. One algorithm is to check whether a functional dependency is propagated from a set of XML keys via a predefined mapping; this allows one to determine whether or not the relational design is in a normal form. The others are to compute a minimum cover for all functional dependencies that are propagated from a set of XML keys and hold on a universal relation; these provide guidance for how to design a relational schema for storing XML data. These algorithms show that XML key propagation and its associated minimum cover can be computed in polynomial time. Our experimental results verify that these algorithms are efficient in practice. We also investigate the complexity of propagating other XML constraints to relations. The ability to compute XML key propagation is a first step toward establishing a connection between XML data and its relational representation at the semantic level. 相似文献
13.
由于传统的Key约束理论难以适应XML的需求,XML Key约束已成为当前的研究热点。本文从XML文档变化检测的问题入手,提出基于多实例的Key约束概念,并以此作为构建高效XML文档变化检测算法的基础。 相似文献
14.
XML验证,特别是局部验证,是XML应用中的一个关键问题.调研分析了Xerces—J2工具包中的基于XML Schema的XML解析、验证体系,它是一种延迟的整体验证.利用Xerces—J2,设计实现了基于XML Schema的XML局部验证接口,包括类型检查和ID约束检查等. 相似文献
15.
16.
17.
18.
Boundaries occur naturally in everyday life. This paper introduces numerical constraints into the framework of XML to take advantage of the benefits that result from the explicit specification of such boundaries. Roughly speaking, numerical constraints restrict the number of elements in an XML data fragment based on the data values of selected subelements. Efficient reasoning about numerical constraints provides effective means for predicting the number of answers to XQuery and XPath queries, the number of updates when using the XQuery update facility, and the number of encryptions or decryptions when using XML encryption. Moreover, numerical constraints can help to optimise XQuery and XPath queries, to exclude certain choices of indices from the index selection problem, and to generate views for efficient processing of common queries and updates.We investigate decision problems associated with numerical constraints in order to capitalise on the range of applications in XML data processing. To begin with we demonstrate that the implication problem is strongly coNP-hard for several classes of numerical constraints. These sources of potential intractability direct our attention towards the class of numerical keys that permit the specification of positive upper bounds. Numerical keys are of interest as they are reminiscent of cardinality constraints that are widely used in conceptual data modelling. At the same time, they form a natural generalisation of XML keys that are popular in XML theory and practice. We show that numerical keys are finitely satisfiable and establish a finite axiomatisation for their implication problem. Finally, we propose an algorithm that decides numerical key implication in quadratic time using shortest path methods. 相似文献