P2P Data Synchronization via Decentralized Time Offset Calibration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Peer-to-peer (P2P) ad hoc networks face challenges in real-time data synchronization due to device membership changes, clock drift leading to non-synchronized timestamps, and the absence of a centralized server for coordination, which complicates data synchronization and conflict resolution.

Innovation Solution

Implementing a decentralized data synchronization system using natural store modules within each device, comprising a P2PDataSync module for data synchronization, a TimeSync module for timestamp synchronization, and a SyncCommunicator module for communication, allowing devices to synchronize data and timestamps without a central server, and enabling operation even when devices go offline or lose network connectivity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a centralized server is used for data synchronization coordination, then data consistency can be maintained, but the system loses real-time responsiveness and introduces a single point of failure

Engineering Contradiction:
Improvedata consistencyVSAvoidcentralized coordination architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the centralized synchronization function into distributed peer-to-peer operations. Each device maintains its own data store and independently synchronizes with peers using cryptographic proofs, eliminating the need for a central coordinator while maintaining data consistency through decentralized consensus mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Devices perform self-synchronization by generating their own cryptographic proofs of data state and independently verifying peer data consistency. Each peer autonomously detects and resolves conflicts using timestamp-based rules without requiring centralized arbitration, enabling real-time synchronization without single points of failure.

Inventive Principle:
Principle #25Self-service

2Speed

If devices operate independently in P2P mode, then real-time synchronization is achieved, but clock drift causes timestamp inconsistencies

Engineering Contradiction:
Improvesynchronization speedVSAvoidtimestamp accuracy
Core Design Contradiction:
SpeedVSMeasurement precision

Solution Approach 1:

The system performs preliminary timestamp calibration by exchanging timing messages between peers before data synchronization begins. Devices measure round-trip times and adjust their local clocks to compensate for drift, establishing synchronized time references in advance to ensure accurate timestamp comparison during subsequent data operations.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If devices frequently communicate to synchronize data, then data consistency is maintained, but network overhead and latency increase

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

Solution Approach 1:

Instead of continuous communication, the system implements periodic synchronization intervals where devices exchange data state proofs and resolve conflicts only when necessary. Peers compare timestamps and cryptographic hashes at scheduled intervals, reducing network overhead while maintaining consistency by synchronizing only when actual data changes occur.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentEP3925198B1Data synchronization in a p2p network
Publication Date: 2024.09.25 HUAWEI TECH CO LTD
  • EP3925198B1 patent drawingFigure 1
  • EP3925198B1 patent drawingFigure 2
  • EP3925198B1 patent drawingFigure 3

AI summary

A computer- implemented method for data synchronization in a P2P ad hoc network includes retrieving network configuration information identifying a plurality of devices forming the P2P network. A time offset between a local physical time at a first device and a local physical time of a second device is determined. A change in a data object of a plurality of data objects stored at a key-value store within the first device is detected, each of the data objects including a synchronization indicator. The data object change is communicated to at least the second device based on the synchronization indicator. Upon receiving confirmation from the at least second device of receipt of the data object change, the network configuration information is updated with a timestamp based on the time offset and indicative of the local physical time at the first device when the data object change is communicated.