Multi-Point Data Writing in Distributed Database Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current distributed consensus protocols only support single-point writing and do not support multi-point writing, which leads to poor user experience for users moving across regions, as they cannot write data into nodes in the current region.

Innovation Solution

A method and apparatus for data writing in a distributed database system, where a first node receives a message from a second node with a group identifier, modifies the group identifier in a data row to the received group identifier, and sends an update message to the second node, enabling multi-point writing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If distributed consensus protocols use single-point writing with fixed master nodes, then data consistency is ensured, but users moving across regions cannot write data in their current region

Engineering Contradiction:
Improvemulti-point writing capabilityVSAvoiddata consistency
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent applies dynamics by making the master node assignment dynamic rather than static. When a user moves to a different region, the system dynamically determines the user's current region and assigns a master node from that region, enabling multi-point writing while maintaining data consistency through the dynamic master node selection mechanism

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent introduces a region determination module as an intermediary that mediates between the user's write request and the master node selection. This intermediary determines the user's current region and uses this information to select an appropriate master node, enabling users to write data in their current region while maintaining system consistency

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If users can write data in their current region after moving, then user experience is improved, but the distributed consensus protocol complexity increases

Engineering Contradiction:
Improveuser experienceVSAvoidprotocol complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent segments the master node selection process into distinct components: a region determination module that identifies the user's current region, and a master node selection mechanism that chooses an appropriate master node based on region information. This segmentation allows the system to maintain relatively simple consensus protocols while improving user experience through region-aware writing

Inventive Principle:
Principle #1Segmentation

Data Source

PatentEP3844635B1Method and apparatus for data writing
Publication Date: 2025.05.14 ALIBABA GROUP HOLDING LTD
  • EP3844635B1 patent drawingFigure 1~2
  • EP3844635B1 patent drawingFigure 3A~3B
  • EP3844635B1 patent drawingFigure 3C~3D

AI summary

Embodiments of present disclosure provides a method and an apparatus for data writing. An exemplary method includes; obtaining first to-be-written data, determining a first group identifier corresponding to the first to-be-w7ritten data; determining a master node corresponding to the first group identifier; and writing the first to-be- written data if the master node is the current node.