Cluster-Based Random Walking for Graph Data Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing random walking algorithms are inefficient for large-scale graph data processing, requiring frequent database access and lacking in scalability.

Innovation Solution

A cluster-based random walking method that generates index and element vectors to represent node degrees and adjacent nodes, allowing for independent database access and efficient random sequence generation, thereby reducing database access and enhancing processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional random walking algorithm is used to process large-scale graph data, then the algorithm can be implemented, but the processing efficiency is low and database access frequency is high

Engineering Contradiction:
Improveprocessing efficiencyVSAvoiddatabase access time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent pre-calculates and stores the degree of each node and its adjacent nodes in the database before random walking operations. This preliminary action eliminates the need for repeated database queries during random walking, significantly reducing database access frequency and improving processing efficiency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates a local copy of the graph data structure (including node degrees and adjacent node information) in memory. This copying approach allows random walking algorithms to operate on the in-memory data structure rather than repeatedly accessing the database, thereby reducing database access time and enhancing overall processing efficiency

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If traditional random walking algorithm is used, then the implementation is simple, but it lacks scalability for large-scale graph data

Engineering Contradiction:
ImprovescalabilityVSAvoidalgorithm complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the graph data into node degree information and adjacent node information, storing them separately in the database. This segmentation allows the system to handle large-scale graph data more efficiently by enabling parallel processing and reducing the complexity of random walking operations on massive datasets

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS10776334B2Random walking and cluster-based random walking method, apparatus and device
Publication Date: 2020.09.15 ADVANCED NEW TECHNOLOGIES CO LTD
  • US10776334B2 patent drawing
  • US10776334B2 patent drawing
  • US10776334B2 patent drawing

AI summary

Embodiments of the present specification disclose random walking and a cluster-based random walking method, apparatus and device. A solution includes: obtaining information about each node included in graph data, generating, according to the information about each node, an index vector reflecting a degree value of a respective node, then generating an element vector reflecting an identifier of an adjacent node of the node, and generating a random sequence according to the index vector and the element vector, to implement random walks in the graph data. The solution is applicable to clusters and individual machines.