XML Database Integration via XSLT Mapping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for integrating XML documents with databases on the web face challenges such as low promptness in data storage and potential inaccuracies during the storage process, particularly when dealing with diverse schema structures and user requests.

Innovation Solution

A method utilizing XML replacement technology, involving user-defined tags, XSL format documents for data mapping, and SQL query statements generated through XSLT transformation to dynamically integrate XML data with databases, allowing for efficient storage and revision of data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If XML documents are stored in a newly created database table, then data storage capability is improved, but system complexity and data migration requirements worsen

Engineering Contradiction:
Improvedata storage capabilityVSAvoidsystem complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary mapping mechanism that translates between XML document structures and existing database schema structures. This mediator enables XML data to be stored in pre-existing database tables without requiring new table creations, thereby reducing system complexity while maintaining data storage capability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent employs dynamic parameter mapping where the mapping between XML elements and database columns is determined by configurable parameters rather than fixed structural assumptions. This allows flexible adaptation of XML data to existing database schemas, avoiding the need for schema changes or new table creations.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If XML documents with different schema structures are stored in separate database tables, then data storage flexibility is improved, but data reuse and integration capability worsen

Engineering Contradiction:
Improvedata storage flexibilityVSAvoiddata reuse and integration capability
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements a universal mapping framework that can handle multiple XML schema structures through a single unified approach. The same mapping mechanism works for different XML document types by dynamically configuring parameter mappings, enabling data from diverse schemas to be stored in common database tables while maintaining flexibility.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent segments the mapping process into configurable parameter sets that can be selectively applied to different XML schemas. This segmentation allows the system to maintain flexibility for different data types while using a common database structure, thereby improving data integration capability without sacrificing storage flexibility.

Inventive Principle:
Principle #1Segmentation

3Quantity of substance

If existing database data is migrated to a new database, then data storage capability is improved, but time consumption and operational complexity worsen

Engineering Contradiction:
Improvedata storage capabilityVSAvoidtime consumption
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent performs preliminary configuration of mapping parameters before data storage occurs. By pre-defining how XML structures map to database tables, the system eliminates the need for time-consuming migration operations when storing XML data, as the mapping is already established and can be applied directly to existing data.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS8762398B2Method of integrating data of XML document with database on web
Publication Date: 2014.06.24 CHUN GI KIM
  • US8762398B2 patent drawing
  • US8762398B2 patent drawing
  • US8762398B2 patent drawing

AI summary

Disclosed herein is a method of integrating data of an XML document with a DB on a web. In the method, an XML document provided with user-defined tags is designed. An XSL format document for normal data mapping and an XSL format document for repetitive data mapping are designed. Mapping information required to map the normal data and the repetitive data of the XML document to the XSL format document for normal data mapping and the XSL format document for repetitive data mapping is created. An XSL document for normal data mapping and an XSL document for repetitive data mapping are generated using the mapping information. An SQL query statement required to integrate the normal data and the repetitive data of the XML document with a DB is generated. Data of the XML document is integrated with the DB by executing the SQL query statement on the DB.