Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Key constrained automatic generation method for expandable mark language mode

An extended markup language, automatic generation technology, applied in the fields of instrumentation, computing, electronic digital data processing, etc., can solve the problem of no key constraints, lost relational database semantic constraints, unable to convert key constraints, etc., to achieve the effect of broad application prospects

Inactive Publication Date: 2007-01-24
PEKING UNIV
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] First of all, the current mapping rules from relational databases to XML documents only consider the data structure level, lacking the analysis of data integrity constraints
[0005] Secondly, although XML Schema has provided a mechanism for defining XML key constraints, in the process of data exchange, the original key and foreign key semantic constraints in relational databases cannot be automatically converted into key constraints on XML through the exchange process
[0006] For example, the XPERANTO system developed by IBM Almaden Research Center, although the system uses the Xquery view to realize the publishing and conversion from relational database to XML data, but any XML document generated by the system has no key constraints, so the original Semantic constraints such as keys and foreign keys in relational databases

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
  • Key constrained automatic generation method for expandable mark language mode
  • Key constrained automatic generation method for expandable mark language mode
  • Key constrained automatic generation method for expandable mark language mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention proposes a new technical solution for the generation of integrity constraints based on the requirements of XML data publishing by various application systems in the current network environment. and foreign key constraints are automatically generated as hierarchical relationships and key constraints described by XMLSchema, realizing XML publishing of relational database data.

[0023] The method of the present invention firstly utilizes the key and the foreign key of relational database to construct the model graph of database; Then establishes the selector XPath (Selector XPath) of key constraint in XML Schema name, candidate code and XML Schema, domain XPath in scanning model graph process (Field XPath) to generate the XML selector index of relational database key constraints; and then use the index to automatically generate key constraints on XMLSchema, thus realizing the automatic acquisition of key constraints in the process of publishing XML da...

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

The invention provides a method for layer description and key restrain based on XML Schema which can expand the label language generated by the relation databank mode diagram Schema Diagram. It includes: forms a mode diagram using the key and the external key of the relation databank; creates the relation table name, selector of candidate code and key restrain in the XML Schema, the correlation between the field XPath, generates the XML selector index of relation databank key restrain; generates the key restrain of XML Schema using the index, thus completes the automatic acquisition of key restrain based on XML data issuing process.

Description

technical field [0001] The invention relates to a method for generating database descriptions, in particular to a method for automatically generating XML Schema key constraints based on a relational database schema diagram Schema Diagram, which belongs to the technical field of computer data management. Background technique [0002] XML (eXtensible Markup Language) has become the de facto standard for data representation and exchange on the Internet, and more and more application systems use XML as a standard format to publish and exchange data. However, due to the maturity of relational database technology and its dominance in the market, how to convert relational database into XML documents has become an urgent problem to be solved. [0003] At present, there are some systems and tools that can convert relational databases and XML data, such as IBM's XML Extender, Oracle's XML Enable, XPERANTO, and SilkRoute systems, etc., but because these systems only consider the data s...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30
Inventor 杨冬青唐世渭刘云峰王腾蛟高军
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products