Unlock instant, AI-driven research and patent intelligence for your innovation.

A Method of Querying the Shortest Path Between Two Points on a Graph

A technology of the shortest path and query method, which is applied in the fields of database technology and graph data management, can solve problems such as poor scalability, limited algorithm search efficiency, and inability to meet the needs of path query on graphs, achieving strong scalability and broad The effect of scope

Active Publication Date: 2014-10-15
PEKING UNIV
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, some of these methods are based on the improvement of Dijkstra's algorithm, and the search efficiency of these algorithms is limited; others improve the efficiency of path query by constructing distance information indexes on the points on the graph, but the existing The scalability of these indexing methods is not strong, and it cannot meet the path query requirements on the graph with a large amount of data.
It can be seen that the traditional graph database technology has been unable to meet the growing demand for graph data applications.

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
  • A Method of Querying the Shortest Path Between Two Points on a Graph
  • A Method of Querying the Shortest Path Between Two Points on a Graph
  • A Method of Querying the Shortest Path Between Two Points on a Graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] According to the characteristics of the graph data, the present invention constructs an index and calculates the results for the shortest path query on the graph. For the whole method, see figure 1 It is a schematic diagram of the overall framework in an embodiment of the 2-hop-based shortest path query method between two points of the present invention. The method is divided into two parts, the data preprocessing part and the query execution part.

[0033] see figure 2 It is a schematic diagram of a large-scale graph data preprocessing method in an embodiment of the 2-hop-based shortest path query method between two points of the present invention.

[0034] In an embodiment, the method for preprocessing large-scale graph data includes:

[0035] Step 1: Definition and classification method of hop information.

[0036] For querying the shortest path of graph data, a series of indexing methods have been proposed in the prior art, and quite a few of them use the hop in...

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 method for inquiring the shortest path between two points on a map, which includes steps of 1) randomly extracting a plurality of points to serve as supporting points from the map and calculating the betweenness estimated value of each point from the map according to the shortest paths among the supporting points; 2) utilizing the point with the betweenness estimated value higher than the preset value, adding the information of the shortest path between each point to each center point on the map into hop information of each point on the map and marking a set of the center points as a Wb; 3) removing the Wbs on the map, then dividing the map into a plurality of small maps Si and obtaining a point cut set Ws; 4) obtaining the hop information of all points in each small maps Si according to the shortest path between any two enumerated points of the small map Si; 5) acquiring the hop information among different small maps according to the shortest path between each point in the Wb and each point in the Ws; and 6) obtaining the shortest path between two inquired points input by the user according to the hop information of each point on the map. The method for inquiring the shortest path between two points on the map is feasible, high-efficiency and capable of computing the hop information on the large map within acceptable time.

Description

technical field [0001] The invention relates to database technology and graph data management, and mainly relates to a software implementation method for processing the shortest path query between two points based on 2-hop for large-scale graphs. Background technique [0002] Graph database is a new type of database technology that uses the structure and properties of graphs to represent and store information, and is a type of NoSQL database. A graphic database is a data set that uses computers to store the basic elements of points, lines, and graphs in a certain row. elements, and these graph elements are set up according to a certain data structure (usually a topological data structure). It includes two levels: the first level is the data collection of topological coding, which is composed of data files describing the relationship between graph elements such as points, lines, and planes, including polygon files, line segment files, node files, etc. The files are connecte...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 邹磊彭鹏赵东岩贾爱霞
Owner PEKING UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More