Fingerprint Data Synchronization for Heterogeneous Databases

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing offline synchronization tools for heterogeneous data sources face challenges in handling different primary key types and lack secure processing mechanisms, leading to duplicate data insertion and data tampering during synchronization.

Innovation Solution

The method involves generating fingerprint data using algorithms like message digest or secure hash to serve as a primary key for data synchronization, ensuring data integrity and preventing duplicates by verifying the primary key before storing data in the target database.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If auto-increment primary keys are generated by the relational database for source data without primary keys, then data synchronization can proceed, but duplicate data insertion occurs during incremental-data synchronization

Engineering Contradiction:
Improvedata synchronization efficiencyVSAvoiddata accuracy
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system generates fingerprint data for source data in advance before synchronization occurs. This fingerprint serves as a unique identifier that is carried through the synchronization process, enabling the target database to identify and avoid duplicate data insertion during incremental synchronization operations.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

Fingerprint data acts as an intermediary between the source data and the target database primary key system. Instead of directly relying on the target database's auto-increment primary keys, the system uses fingerprints to match and identify source data records, preventing duplicate insertions while maintaining synchronization efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If Reader plugin and Writer plugin are located on different nodes for distributed processing, then processing capacity increases, but data security during transmission cannot be ensured

Engineering Contradiction:
Improveprocessing capacityVSAvoiddata security
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

Fingerprint data serves as a secure intermediary that travels with the source data during transmission between Reader and Writer plugins on different nodes. The fingerprint acts as a verification token that ensures data integrity and authenticity throughout the distributed transmission process.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system transforms source data into a different representation form (fingerprint data) that can be easily verified during transmission. This transformation allows the system to detect tampered data through verification failures, providing security without compromising the distributed processing architecture.

Inventive Principle:
Principle #32Color changes

3Adaptability or versatility

If existing synchronization tools use Framework+plugin architecture for heterogeneous data sources, then system flexibility and adaptability improve, but secure processing mechanisms are lacking

Engineering Contradiction:
Improvesystem flexibilityVSAvoidsecure processing capability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The fingerprint generation and verification mechanism is designed as a universal solution that works across different data source types and plugin configurations. The same fingerprinting approach can be applied regardless of the specific heterogeneous data sources being synchronized, providing secure processing throughout the Framework+plugin architecture.

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

Solution Approach 2:

The system performs self-verification through fingerprint checking during the synchronization process. The Reader plugin generates fingerprints for source data, and the Writer plugin automatically verifies these fingerprints before writing to the target database, creating a self-contained security mechanism within the existing architecture.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240241981A1Methods and systems for data synchronization, and computer-readable storage media
Publication Date: 2024.07.18 BOE TECHNOLOGY GROUP CO LTD
  • US20240241981A1 patent drawing
  • US20240241981A1 patent drawing
  • US20240241981A1 patent drawing

AI summary

The present disclosure relates to a method and a system for data synchronization, and a computer-readable storage medium. The method includes: obtaining initial source data from a source database; generating fingerprint data for the initial source data to obtain target source data containing the fingerprint data, where the fingerprint data serves as a primary key of the initial source data; and synchronizing the target source data to a target database, to enable the target source data to be stored in the target database after a verification for the primary key is passed. In this embodiment, generating fingerprint data with a unique feature for the initial source data can solve the problem of repeated synchronization during the data synchronization process, which improves the accuracy and efficiency of data synchronization.