首页> 外国专利> Method for storing XML documents in a relational database system while exploiting XML schema

Method for storing XML documents in a relational database system while exploiting XML schema

机译:利用XML模式在关系数据库系统中存储XML文档的方法

摘要

A method for storing XML documents in a relational database system while exploiting XML Schema information to capture information about types, inheritance, equivalence classes, and integrity constraints in the generated relational schema, enabling efficient querying. The invention simplifies complex XML schema types, translates the simplified XML schema types into relational tables, and then stores relations corresponding to each XML element in relational table rows. The simplification includes grouping all occurrences of a given element together, assembling two or more element types into element groups if the schema indicates that elements of those element types will occur the same number of times, and applying a number of transformation rules to the element groups. The translation includes constructing a type graph from the simplified schema, building an element graph for each global element in the simplified schema from the type graph, and generating relational tables from the element graph.
机译:一种用于在关系数据库系统中存储XML文档,同时利用XML Schema信息捕获有关所生成的关系模式中的类型,继承,对等类和完整性约束的信息的方法,从而实现高效的查询。本发明简化了复杂的XML模式类型,将简化的XML模式类型转换为关系表,然后将与每个XML元素相对应的关系存储在关系表行中。简化包括将给定元素的所有出现都分组在一起,如果模式表明那些元素类型的元素将出现相同的次数,则将两个或多个元素类型组合到元素组中,并对元素组应用许多转换规则。转换包括从简化模式构建类型图,从类型图为简化模式中的每个全局元素构建元素图,以及从元素图生成关系表。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号