Data Buffering Layer Routing for Long Relation Chain Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data processing systems for micro-blog users with long relation chains face slow data operation speeds due to inefficient processing by the stream and friend modules, leading to a low speed in processing follower information.

Innovation Solution

A data processing method and system that involves a data buffering layer pushing operation requests to a service layer, which caches requests by a minimum storage unit divided based on the user with a long relation chain, and performs operations on a specified database when preset conditions are met, allowing for batch operations and reduced data processing burden.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If one database stores both operation requests and entire follower information of a user with a long relation chain, then data completeness is maintained, but data operation speed becomes too slow

Engineering Contradiction:
Improvedata completenessVSAvoiddata operation speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the database into multiple databases, with each database storing follower information for a specific user with a long relation chain. Operation requests are routed to the corresponding database based on the target user ID, enabling parallel processing and improving data operation speed while maintaining data completeness.

Inventive Principle:
Principle #1Segmentation

2Reliability

If the stream module and friend module process all follower information operations sequentially, then data accuracy is ensured, but processing speed of follower information decreases

Engineering Contradiction:
Improvedata accuracyVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent divides the processing workload by segmenting follower information into multiple databases. Each database is processed independently by the stream module and friend module, enabling parallel processing of multiple user's follower information simultaneously, thus improving overall processing speed while maintaining data accuracy through consistent processing logic.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a new dimension of parallelism by organizing data across multiple databases instead of processing all operations in a single sequential stream. This dimensional change allows concurrent processing of multiple operation requests针对不同用户, significantly improving processing throughput.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Stability of the object's composition

If a single database stores all follower information for users with long relation chains, then data consistency is maintained, but the operational burden on the server increases

Engineering Contradiction:
Improvedata consistencyVSAvoidoperational burden
Core Design Contradiction:
Stability of the object's compositionVSDevice complexity

Solution Approach 1:

The patent segments the large-scale follower information storage into multiple smaller databases, each handling a portion of the data. This segmentation reduces the operational burden on the server by distributing the load across multiple database instances, while data consistency is maintained through centralized routing and consistent processing rules.

Inventive Principle:
Principle #1Segmentation

4Reliability

If the data buffering layer synchronizes all operation requests to a single stream module, then data integrity is preserved, but synchronization speed decreases

Engineering Contradiction:
Improvedata integrityVSAvoidsynchronization speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the synchronization process by routing operation requests to multiple stream modules based on the target user ID. Each stream module handles synchronization for its assigned user's data in parallel, significantly improving synchronization speed while preserving data integrity through consistent routing rules and isolated processing.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9357027B2Data processing method and system
Publication Date: 2016.05.31 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US9357027B2 patent drawing
  • US9357027B2 patent drawing
  • US9357027B2 patent drawing

AI summary

A data processing system relates to network communications technologies. A data buffering layer receives an operation request of a follower of a user having a long relation and of a client. The data buffer layer pushes the operation request to a service layer. The service layer receives the operation request pushed by the data buffering layer and caches the operation request according to a minimum storage unit. The minimum storage unit is determined by using the user having a long relation chain as a unit. The service layer determines a specified database that belongs to the user having a long relation chain and performs an operation on the specified database according to the operation request. The service layer determines the specified database according to a preset routing configuration when data cached in the minimum storage unit reaches a preset condition.