Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for generating graph database query results

A query result and database technology, applied in the database field, can solve problems such as affecting query efficiency, large storage space, and difficulty in obtaining overview information, and achieve the effect of improving query efficiency, small storage space, and improving efficiency

Active Publication Date: 2020-04-07
ADVANCED NEW TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Usually, because the subgraph obtained by the user query contains a large number of vertices and edges, on the one hand, it is not easy for the user to quickly obtain some general information from the subgraph obtained by the query; The storage space occupied is also large, which affects 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
  • Method and device for generating graph database query results
  • Method and device for generating graph database query results
  • Method and device for generating graph database query results

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Generally, in a graph database (Graph Database), the entity (Object) represented by the vertex (Vertex) in the graph (Graph) can be: a person, a thing, an objectively existing object, an abstractly existing event, a table, a task, etc. The relationship represented by the edge in the graph (Graph) can be: dependency relationship, social relationship, etc. Each vertex in the graph has a vertex property (Vertex Property), and the vertex property refers to the attribute of the corresponding entity (such as a person's age, name, etc.); each edge in the graph also has an edge property ( Edge Property), the edge property refers to the attribute of the relationship between the corresponding entities. Graph databases can be used to build social networks, public transportation networks, maps, and network topology. In related technologies, since the subgraph (Subgraph) obtained by the user's query often contains a very large number of vertices and edges, it is not easy for the us...

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 graphic database query result generation method and apparatus, and aims to optimize the display effect of a graphic database query result. The method comprises the steps of querying a graphic database according to input vertex IDs, thereby obtaining sub-graphs corresponding to the vertex IDs, wherein graphic elements in the sub-graphs include vertexes and an edge connected between the two vertexes; according to the type of each graphic element in the sub-graphs, determining at least one display index value related to the type; and according to the display index value, generating a to-be-displayed graph containing the graphic elements used for describing the display index values, and performing display.

Description

technical field [0001] The present application relates to the technical field of databases, in particular to a method and device for generating graph database query results. Background technique [0002] Graph Database is a database that abstracts entities (Object) in the real world into vertices (Vertex), and abstracts the relationship between entities into edges (Edge) for storage. It is used in many fields. Generally, graphs stored in a graph database include directed graphs (Oriented Graph) and undirected graphs (Undirected Graph). Users can obtain the subgraph (Subgraph) corresponding to a certain vertex by querying the image database. Taking an Oriented Graph as an example, when the user enters a vertex ID to be queried and specifies the query direction, the subgraph starting or ending at the point corresponding to the vertex ID can be queried. Usually, because the subgraph obtained by the user query contains a large number of vertices and edges, on the one hand, it ...

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): G06F16/901G06F16/9038
CPCG06F16/9024G06F16/9038
Inventor 左敬超
Owner ADVANCED NEW TECH CO LTD
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