Supercharge Your Innovation With Domain-Expert AI Agents!

Graphic database query result generation method and apparatus

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

Active Publication Date: 2017-11-24
ADVANCED NEW TECH CO LTD
View PDF10 Cites 3 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
  • Graphic database query result generation method and apparatus
  • Graphic database query result generation method and apparatus
  • Graphic database query result generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Generally, in a graph database (Graph Database), the entities (Object) represented by the vertices (Vertex) in the graph (Graph) can be: people, objects, objectively existing objects, abstract events, tables, tasks, etc., The relationship represented by the edge in the graph can be: dependency relationship, social relationship, etc. Each vertex in the graph has a vertex property, which refers to the attributes of the corresponding entity (such as the age, name, etc.) of the corresponding entity; each edge in the graph also has an edge property ( Edge Property), the edge property refers to the property of the relationship between the corresponding entities. The graph database can be used to build social networks, public transportation networks, maps and network topologies, etc. In the related art, since the subgraph obtained by the user query often contains a very large number of vertices and edges, it is not easy for the user to quickly obtain some overview information ...

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] This application relates to the field of database technology, and in particular to a method and device for generating query results of a graph database. Background technique [0002] Graph Database is a database that abstracts real-world entities (Objects) as vertices (Vertex), and abstracts the relationships between entities and entities as edges (Edge) for storage, and is used in many fields. Generally, the graphs stored in the graph database include a directed graph (Oriented Graph) and an undirected graph (Undirected Graph). The user can obtain the 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, a subgraph with the point corresponding to the vertex ID as the starting or ending point can be queried. Generally, because the subgraphs obtained by the user query contain a large number of vertices and edges, on...

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
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