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

Method for improving exploration performance of Janus Graph path

A path and performance technology, applied in the field of graph computing, can solve problems such as rising consumption, high memory consumption, and unsuitability for real-time computing scenarios, and achieve the effect of increasing cache, reducing access and occupation, and promoting application value.

Pending Publication Date: 2020-02-07
INSPUR SOFTWARE CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] (1) Poor performance and long response time: Depth-first traversal adopts an idea similar to exploring and building a maze, and needs to traverse every possible vertex of the graph. It is not suitable for real-time computing scenarios, but more suitable for offline computing;
[0008] (2) High resource consumption: when the algorithm is executed, it is necessary to record all traversed vertex information into the memory to meet the needs of the algorithm. When the amount of data calculation is relatively intensive, the memory consumption will gradually increase, which will affect the calculation. Resource requirements are also high
[0009] These problems make it difficult for Janusgraph's path exploration function to respond to external path exploration requests quickly and with low latency in the face of large amounts of data and real-time (real) requirements, and the memory consumption during the query process is very high

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
  • Method for improving exploration performance of Janus Graph path

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0036] Such as figure 1 As shown, the method for improving the performance of Janusgraph path exploration of the present invention uses a bidirectional breadth-first traversal algorithm to change the process of starting from the original node to the target node to traverse from two nodes simultaneously, and the total number of vertices that need to be traversed Reduce the number of iterations.

[0037] The method for improving the performance of Janusgraph path exploration specifically includes the following steps:

[0038] S1. Define set v1 and set v2.

[0039] S2. Traverse the source vertex and the target vertex through the source node and the target node, take out the source node and load it into set v1, and take out the target node and load it into set v2.

[0040] S3. Traverse the set v1, and take out each vertex v.

[0041] S4. Expand the vertex v, find the node path, load the matching vertex into v1a, judge whether there is overlap and intersection between v1a and v2...

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 method for improving exploration performance of a Janus Graph path, and belongs to the technical field of graph calculation of an application data mining technology. A bidirectional breadth-first traversal algorithm is used, the process of gradual transition from an original node to a target node is changed into the process of simultaneous traversal from two nodes, the total number of vertexes needing to be traversed is reduced, and the number of iterations is reduced. Consumption of storage memory resources can be reduced. M eanwhile, the response time is shortened,the requirements for large data volume, real-time calculation and low response time are met, and the method has good application and popularization value.

Description

technical field [0001] The invention relates to the technical field of graph calculation using data mining technology, and specifically provides a method for improving the performance of Janusgraph path exploration. Background technique [0002] Graph (Graph) is a mathematical logic object representing the relationship between entities. It is expressed in mathematics as a G=(V,E) binary group, which itself consists of N vertices (V=vertex) and M Each edge (E=edge), each vertex corresponds to multiple edges (<=M), each edge is connected to two vertices, and the edge can have a direction. If the edge contained in the graph has a direction, it is called A directed graph (oriented graph), and vice versa for an undirected graph (undirected graph). Graph Theory (Graph Theory) is a branch of mathematics with graphs as its basic research object, and the algorithm that uses graph theory to solve graphs is called graph algorithm (Graph Algorithm). [0003] In today's Internet inf...

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): G06F16/901G06F16/903
CPCG06F16/9024G06F16/90335
Inventor 解一豪周庆勇赵振修
Owner INSPUR SOFTWARE CO LTD
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