Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Graph computation method and engine

A graph computing and engine technology, applied in the field of graph computing, which can solve problems such as inconvenience of use, no support for hot plug-in plug-ins, and no indexing module for GraphChi.

Active Publication Date: 2014-09-24
时趣互动(北京)科技有限公司
View PDF5 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] Although GraphChi can realize large-scale graph calculations on personal computers, there are still some deficiencies and defects: GraphChi does not have an indexing module, does not support custom graph calculation topology maps, does not support plug-in hot-swapping, etc.
Therefore, the above-mentioned existing graph computing methods and engines still have inconveniences and defects in use, and need to be further improved.

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 computation method and engine
  • Graph computation method and engine
  • Graph computation method and engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The graph computing method and engine of the present invention are based on the following two main steps:

[0070] The first step is to index the data; the second step is to realize the function plug-in of the graph computing platform and the graph walking algorithm based on "data, shared library, topology map" and "supporting hot swap of shared library".

[0071] Specifically, the first step of indexing data can be implemented in the form of a .so shared library written in C++. The code uses templates to provide support for the data carried by edges and nodes. Use mmap to load data from hard disk into memory. Use hash table to provide query service. Use some stl coll and algorithm to achieve some general functions. Use POSIX syscalls to interact with the Linux system.

[0072] The second step is to realize the function plug-in of the graph computing platform and the graph walking algorithm based on "data, shared library, topology map" and "support hot swap of share...

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 discloses a graph computation method and engine. The computation method includes the steps of (A) retrieving original relation data of a graph, and obtaining retrieval data corresponding to the vertexes and the edges of the graph, (B) selecting one or more vertexes of the graph to serve as start nodes for breadth-first or depth-first multi-step walking, obtaining walking topological graphs of multiple candidate final nodes, and calculating reach probability of the start nodes to the final nodes on the basis of a breadth-first or depth-first graph walking algorithm and according to the retrieval data corresponding to the vertexes and the edges participating in the walking path, (C) sequencing the calculated reach probability. The graph computation method can obtain results free of popular relations and strong relations. The graph computation engine can retrieve various graph data, supports various graph computation algorithms, supports topological graphs of self-defined graph computation, and supports real-time adding, deleting and modifying of the retrieval data, the topological graphs and shared library data.

Description

technical field [0001] The present invention relates to the field of graph computing, in particular to a graph computing method and engine. Background technique [0002] Graph computation plays an important role in relationship building, user group analysis and discovery, and attribute propagation. In the era of big data, when the scale of graphs reaches a certain level, it is difficult for a single machine to solve large-scale graph calculations. Therefore, it is of great significance to develop and debug graph algorithms for large-scale data. Currently more mature solutions include Graphx and GraphLab. One branch of the GraphLab project is GraphChi, which is a framework that can complete big data graph calculations on a single machine. [0003] GraphChi can efficiently perform large-scale graph calculations on personal computers. It has its own original optimization algorithm for obtaining graph data from the hard disk, and supports streaming graph updates and graph str...

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
IPC IPC(8): G06F17/30
CPCG06F16/51
Inventor 王绪刚吴桐宋磊张锐
Owner 时趣互动(北京)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products