Foreign Key Index Generation for Web Service Data Replication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing technologies face challenges in efficiently managing and integrating data within distributed or federated database systems, particularly in reporting massive data and linking it with other relational data sources, due to limitations in data exchange and integration processes.

Innovation Solution

A computer-implemented method for loading data from remote web services into a relational database, which includes associating data structures with source record types, initiating queries for change notifications, transmitting and updating records, and generating foreign key indexes to manage data efficiently and reduce computational and communication loads.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If data is loaded from remote web services into a relational database without generating indexes, then data transfer is simpler, but query performance deteriorates and computational load increases

Engineering Contradiction:
Improvedata transfer efficiencyVSAvoidindex management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by generating foreign key indexes during the data loading process itself, before queries are executed. The system identifies foreign key relationships in the incoming data and creates appropriate indexes proactively, ensuring query performance is optimized from the start rather than requiring subsequent manual index creation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The data loading system performs self-service by automatically detecting foreign key relationships and generating necessary indexes without requiring external database administrators or manual intervention. The system autonomously analyzes the data structure, identifies relational dependencies, and creates indexes to optimize its own query performance.

Inventive Principle:
Principle #25Self-service

2Reliability

If all data is loaded into the relational database at once, then data integration is more complete, but computational load and query timeout risk increase

Engineering Contradiction:
Improvedata integration completenessVSAvoidquery execution time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies segmentation by dividing the data loading process into manageable batches or chunks rather than loading all data at once. The system processes data in segments, generating indexes for each batch as it arrives, which reduces memory pressure and allows queries to be executed on progressively available data rather than waiting for complete data loads.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system implements periodic action by continuously monitoring incoming data streams and periodically triggering index generation operations. Rather than waiting for complete data sets, the system periodically processes available data batches and updates indexes incrementally, maintaining query responsiveness throughout the data loading process.

Inventive Principle:
Principle #19Periodic action

3Speed

If foreign key indexes are generated automatically during data loading, then query performance is improved, but the data loading process becomes more complex

Engineering Contradiction:
Improvequery execution speedVSAvoiddata loading process complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent merges the index generation function with the existing data loading process. Instead of treating index creation as a separate post-processing step, the system integrates foreign key detection and index generation into the data loading pipeline itself, so that data ingestion and index creation occur in a unified, coordinated process.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The data loading system is enhanced with multi-functionality by adding foreign key detection and automatic index generation capabilities to an existing data loading utility. Rather than requiring separate tools for data ingestion and index management, the system performs multiple functions (data loading, relationship detection, index creation) within a single integrated process.

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

Data Source

PatentUS9928255B2Method for generating indexes for downloading data
Publication Date: 2018.03.27 SESAME SOFTWARE
  • US9928255B2 patent drawing
  • US9928255B2 patent drawing
  • US9928255B2 patent drawing

AI summary

A method for bi-directional data replication between a Web Service application and a relational database are provided. In an electronic communications network, a computer implemented method is provided for generating indexes of relationship fields by accessing the metadata of a remote web service. A plurality of records may be downloaded from the remote web service to a computer. The plurality of records may include metadata related to the identity of data fields involved in parent-child record relationships. An index may be built at least partially on the data fields involved in parent-child relationships.