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

Graph spectrum and reachable path number-based sub-graph query method for undirected weighted graph

A query method and path number technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of reducing query efficiency, reducing filtering efficiency, losing structural information, etc., to achieve faster speed, easy storage, and operation simple effect

Active Publication Date: 2018-11-13
XIAN UNIV OF TECH
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a subgraph query method of an undirected weighted graph based on the map and the number of reachable paths, which solves the problem that the structure of the intermediate spanning tree in the Gcoding index method existing in the prior art will lose part of the structural information of the graph , which reduces the filtering efficiency, thereby reducing the query efficiency

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 spectrum and reachable path number-based sub-graph query method for undirected weighted graph
  • Graph spectrum and reachable path number-based sub-graph query method for undirected weighted graph
  • Graph spectrum and reachable path number-based sub-graph query method for undirected weighted graph

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0042] Such as figure 1 As shown, the subgraph query method of the undirected weighted graph based on the map and the number of reachable paths of the present invention specifically includes the following steps:

[0043] Step 1. Calculate the codes of the node labels, the codes of the adjacent edge labels of the edge weights, and the codes of the number of reachable paths for each graph in the query graph and the known graph dataset.

[0044] The code generation method of the node label is to construct the hash function of the node label. The generation method of the hash function is to use the number of types of nodes in the graph as the length of the string. One type of node corresponds to a set of strings. In each type of node In the corresponding group of strings, one bit is marked with the number 1, and the remaining bits are 0. The mar...

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 spectrum and reachable path number-based sub-graph query method for an undirected weighted graph. The method comprises the steps of 1, calculating codes of node marks of a query graph and graphs in a known graph data set, codes of weighted adjacent edge marks and a code of a reachable path number; 2, generating graph spectrums of the query graph and the graphs in the known graph data set; 3, by using the codes of the node marks of the graphs in the known graph data set, the codes of the weighted adjacent edge marks, the code of the reachable path number and thegraph spectrums, constructing an index tree; and 4, comparing the query graph and the node graphs of the index tree layer by layer from top to bottom, and meanwhile, performing screening, until the bottommost layer is screened out, wherein the obtained graphs are candidate graphs similar to the query graph. According to the method, the topological information of the graph is better described. Meanwhile, the features are coded, so that the storage is easy, the operation is simple, the comparison between the features can be accelerated, and the query speed of the whole sub-graph can be increased.

Description

technical field [0001] The invention belongs to the technical field of computer data mining, and in particular relates to a subgraph query method of an undirected weighted graph based on a map and the number of reachable paths. Background technique [0002] In recent years, many fields, including computers, have applied graphs as a data structure to describe data information. For example, in chemistry, molecules or atoms are modeled as nodes, and the chemical bonds between them are modeled as edges; in computer networks, personal computers are modeled as nodes, and the routing relationship between them is modeled as side. The wide application of graphs has triggered the pattern query of graph databases, among which subgraph query has become one of the most important research directions. The subgraph query problem can be boiled down to: Given a graph dataset and a query graph, find the set of all data graphs that contain the query graph, even if the query graph is a subgrap...

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): G06F17/30
Inventor 朱磊张彤高勇王一川刘雁孝姬文江黑新宏姚燕妮刘征
Owner XIAN UNIV OF TECH
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