Transaction Queue Optimization for Offline Client-Server Sync

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing client-server systems face challenges in efficiently synchronizing local pending transactions with a server, especially when the client device operates in offline mode, leading to inefficiencies in data management and communication overhead.

Innovation Solution

The system optimizes a local pending transaction queue by applying net effects to transactions for each object, replacing multiple transactions with a single transaction if there is no net effect, and utilizing an object-agnostic data structure for partial search results, allowing for offline data management and reduced data transfer.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple transactions are synchronized individually with the server, then data consistency is maintained, but communication overhead and synchronization time increase

Engineering Contradiction:
Improvedata consistencyVSAvoidsynchronization time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent combines multiple individual transactions for the same object into a single aggregated transaction. Instead of sending each transaction separately to the server, the system merges them into one consolidated transaction that represents the net effect, thereby reducing communication overhead and synchronization time while maintaining data consistency.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary processing of transactions by identifying and merging compatible transactions before synchronization. By pre-aggregating transactions that affect the same object, the system reduces the number of individual synchronization operations needed, saving time and network resources.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If complete data sets are transferred between client and server, then data consistency is ensured, but data transfer volume and network bandwidth consumption increase

Engineering Contradiction:
Improvedata consistencyVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts and transfers only the essential synchronization information rather than complete data sets. By identifying and transmitting only the minimal necessary data to maintain consistency (such as transaction summaries or delta changes), the system reduces network bandwidth consumption while ensuring data integrity.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If the client operates in offline mode, then data access continuity is maintained, but real-time synchronization with the server is lost

Engineering Contradiction:
Improvedata access continuityVSAvoidreal-time synchronization
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs preliminary transaction merging and validation before offline operation begins. By pre-processing and consolidating transactions while online, the system enables smooth transition to offline mode without losing synchronization capability, as the merged transactions can be batched and synchronized later when connectivity is restored.

Inventive Principle:
Principle #10Preliminary action

4Reliability

If multiple transactions for the same object are processed separately, then transaction integrity is maintained, but processing efficiency and queue size increase

Engineering Contradiction:
Improvetransaction integrityVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent merges multiple transactions affecting the same object into a single consolidated transaction in the pending transaction queue. This reduces the total number of transactions that need to be processed and synchronized, improving processing efficiency while maintaining integrity through systematic merging rules that ensure no data loss or corruption.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11755580B2Method and system for defining an object-agnostic offlinable synchronization model
Publication Date: 2023.09.12 ORACLE INT CORP
  • US11755580B2 patent drawing
  • US11755580B2 patent drawing
  • US11755580B2 patent drawing

AI summary

Some embodiments optimize a local, pending transaction queue of transactions locally executed by a client application to be synchronized with a server. Multiple transactions, which may be executed by the client application for a same local object, need to be synchronized with a server. The transactions, in queue for synchronization with the server, may include transactions to add, delete, or modify objects. Each set of transactions for a particular object in queue for synchronization with the server corresponds to a particular net effect on the server if synchronized individually to the server. The client application may replace the set of transactions for the particular object with a reduced set of transactions corresponding to the net effect, or entirely removed without replacement if there is no net effect of the set of transactions on the server.