Graph data storage method and system based on distributed memory cloud

A technology for storing system and graph data, applied in transmission systems, electrical digital data processing, special data processing applications, etc.

Inactive Publication Date: 2018-09-28
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF3 Cites 45 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0022] When investigating memory-based graph databases, it was found that Microsoft has a closed-source implementation of Trinity, which is a solution for storing graph data in memory, but the frequency of use is not high, and this technology cannot be dynamically expanded. The study found that the solution to this defect can be achieved through a consistent hash algorithm
[0023] When studying the distributed computing of the graph engine, it was found that large network transmission between computing nodes affects computing efficiency, but there is locality in distributed graph computing. In order to solve this problem, the inventor investigated some graph computing framework, and finally use the memory cloud subgraph partition algorithm to solve the problem

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 data storage method and system based on distributed memory cloud
  • Graph data storage method and system based on distributed memory cloud
  • Graph data storage method and system based on distributed memory cloud

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Specifically, the invention discloses a graph data storage system based on a distributed memory cloud, including:

[0053] The graph service layer is used to allocate a virtual node to each server in the distributed memory cloud, and map the virtual node to 0~2 according to the hash value of the virtual node 31 On the numerical space, save the mapping relationship as a hash mapping table, and at the same time connect the numerical space end to end to generate a hash ring, obtain the graph data stored in each server, and retrieve the graph data on the hash mapping table Hash value, store the graph data into the corresponding virtual node;

[0054] When adding a new server, assign a new virtual node to the new server in the distributed memory cloud and update the hash mapping table, and add the new virtual node to the hash ring according to the hash value of the new virtual node, And perform data migration for each virtual node in the hash ring according to the hash valu...

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 relates to a graph data storage method and system based on distributed memory cloud. The system comprises a graph service layer which is used for allocating virtual nodes to each serverin the distributed memory cloud, mapping the virtual nodes to a Hash ring according to Hash values of the virtual nodes, storing a mapping relationship as a Hash mapping table, obtaining graph data stored by each server, searching the Hash values of the graph data on the Hash mapping table, storing the graph data to the corresponding virtual nodes, allocating new virtual nodes to new serves in thedistributed memory cloud when the new servers are increased, updating the Hash mapping table, adding the new virtual nodes to the Hash ring according to the Hash values of the new virtual nodes, andcarrying out data migration on each virtual node in the Hash ring according to the Hash values of the graph data stored by the virtual nodes and the updated Hash mapping table. Through utilization ofa consistent Hash algorithm, the method and the system support dynamic expansion, the nodes can be increased or deleted, and the loss can be reduced as much as possible when faults occur in the nodes.

Description

technical field [0001] The invention relates to the field of graph data storage, in particular to a graph data storage method and system based on a distributed memory cloud. Background technique [0002] In the past ten years, with the popularization of Internet technology and the promotion of Web2.0 technology, Internet social relationship data has grown rapidly. According to the "36th China Internet Development Status Report Technology" released by CNNIC, as of June 2015, micro The number of blog users reached 162 million, and the utilization rate reached 27.3%. The storage and computing problems brought about by the explosive growth of relational network data have become increasingly prominent, and the storage and analysis of massive data relational network graphs are facing great challenges. [0003] Graph storage system, where graph storage refers to the storage of structured data (called a graph from a mathematical point of view) on the network, and can be divided int...

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/08G06F17/30
CPCH04L67/10H04L67/1097
Inventor 许洪波李春尧陈波陈茂森严浩范鹏程程学旗
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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