Method for mapping XML type to RDB table

A technology of extended markup language and mapping method, applied in the field of extensible markup language, can solve the problems of complexity, low efficiency, inflexible modification, etc., and achieve the effect of efficient query

Inactive Publication Date: 2005-06-29
INST OF SOFTWARE - CHINESE ACAD OF SCI +1
View PDF0 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this entity is very complicated, and the efficiency of finding the nodes in the entity to obtain the corresponding relationship with the relational database is also very low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for mapping XML type to RDB table
  • Method for mapping XML type to RDB table
  • Method for mapping XML type to RDB table

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Such as figure 1 Shown, the mapping method of the present invention extensible markup language type to relational database table comprises the following steps:

[0053] 10) Store the dependency relationship between the modes in the relational database system table;

[0054] 20) Create a mapping file for each namespace in the Extensible Markup Language file, the mapping file includes all complex types, simple types, global elements and corresponding sub-elements in the schema;

[0055] 30) Generate a corresponding relational database table for each complex type, global element, and simple type element that appears more than once in the mapping file. A field in a relational database table.

[0056] By creating a mapping file for each namespace, and then mapping the xml type (complex type, global element, and simple type element that appears more than once) into a relational database table according to the mapping file, the mapping of the xml type to the relational datab...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

This invention discloses a mapping method between the extension mark language type to relation database, which comprises the following steps: first to store the relation of the modes into the relation database system form; second to establish a mapping file for each name space of the extension mark file; third to establish each relation database form for each complex type, whole element and at least one simple type of the mapping file.

Description

technical field [0001] The invention relates to the field of extensible markup language, in particular to a method for mapping extensible markup language types to relational database tables. Background technique [0002] With the rapid development of the Internet, xml (Extensible Markup Language, Extensible Markup Language), as a new standard for data representation on the Internet, is being widely used due to its advantages of self-description, flexibility, scalability and platform independence. It is used in various web applications. [0003] In recent years, a lot of research work is dedicated to applying database technology to xml files, and mapping xml files to relational database tables. How to map xml files to relational database tables is one of the important research topics in this field. [0004] The existing mapping methods from xml files to relational database tables all adopt manual mapping, and some mapping methods only support the mapping from xml files them...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 李安渝严兵傅朝霞秦良娟丁蔚耿建光秦怀平董胜涛
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products