Graph calculation method based on key value pair storage

A graph computing and key-value pair technology, applied in electrical components, transmission systems, etc., can solve problems such as large performance overhead and inefficient traversal of graph data, achieve good spatial locality, overcome performance inefficiency, and reduce overhead.

Inactive Publication Date: 2020-01-10
SHANGHAI JIAO TONG UNIV
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, implementing efficient graph computing directly in the key-value pair storage faces many challenges: first, when the graph computing engine traverses and accesses all vertices, it needs to search through the hash table, which will cause a lot of performance overhead; second, In the key-value pair storage mode, how does the graph computing engine perform efficient data dissemination and update
[0006] Therefore, how to design a graph computing method based on key-value pair storage, which can overcome the shortcomings of the original key-value pair storage that is not efficient enough for graph data traversal, and reduce the overhead of data transmission in the graph computing process, has become a key-value pair storage. Graph Computing Problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Graph calculation method based on key value pair storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several changes and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0036] According to a graph calculation method based on key-value pair storage provided by the present invention, the method includes the following steps:

[0037] Storage step: Multiple machines start to load the graph dataset, and store the data in the memory in the form of key-value pairs.

[0038] Index building step: For graph computing tasks, add a traversal index to the key-value pair storage.

[0039] Parsing task steps: The server receives the graph computing request sent by the client, and se...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a graph calculation method based on key value pair storage, which comprises the following steps that: a server loads an original graph data set and stores the original graph data set into a memory according to a key value pair mode; for a graph calculation task, a traversal index is added to key value pair storage. The server receives the graph calculation request sent by the client, analyzes the graph calculation request and sends the graph calculation request to the graph calculation engine for execution. The graph calculation engine accesses graph data through the traversal index, updates key vertexes belonging to keys in the local key value storage, and sends the updated key vertexes to a remote server; and update data sent by other servers is received, and thenthe local data is updated. The above steps are repeated until all calculations are completed, and a calculation result is returned to the client. According to the method, traversal indexes are used, the graph data traversal speed is increased, meanwhile, the distribution characteristics of the key value pairs are fully utilized for data propagation and updating, communication expenditure is reduced, and efficient graph calculation can be conducted in the storage mode of the key value pairs.

Description

technical field [0001] The invention relates to a communication method for distributed computing, in particular to a communication method for processing query tasks in a distributed system. Background technique [0002] With the development of the Internet and the advent of the era of big data, more and more attention has been paid to the research of graph data. Many relational data can be abstracted into graph-structured data, including social network data, knowledge graphs, and links between web pages. At present, the research on graph data mainly includes two aspects: graph computing system and graph query system. [0003] Graph computing systems usually run complex algorithms on the whole graph, such as Pagerank, SSSP (single-source shortest path), etc., need to traverse all vertices of the whole graph, and return the result after multiple rounds of iterations. Therefore, in order to obtain better performance, graph computing uses a traversal access-friendly compressed...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/1097
Inventor 陈榕柯学翰陈海波臧斌宇
Owner SHANGHAI JIAO TONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products