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

Graph data storage method and device

A technology of graph data and edge data, which is applied in the field of graph data storage methods and devices, can solve the problem of large space occupation and achieve the effect of dynamic reusability

Active Publication Date: 2022-03-29
GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, the technical problem to be solved by the present invention is to overcome the defect of large space occupied when storing graph relational networks in the prior art, thereby providing a graph data storage method and device

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 data storage method and device
  • Graph data storage method and device
  • Graph data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0022] In the description of the present invention, it should be noted that the technical features involved in the different embodiments of the present invention described below can be combined as long as they do not constitute conflicts with each other.

[0023] An embodiment of the present invention provides a graph data storage method, such as figure 1 shown, including:

[0024] Step S11: Determine vertex data and edge data according to the graph structure of the target business. The vertex data includes t...

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 provides a graph data storage method and device.The method comprises the steps that vertex data and edge data are determined according to a graph structure of a target business, the vertex data comprise vertex reference identifiers of all vertexes, and the edge data comprise edge reference identifiers of all edges; the vertex reference identifiers of the vertexes and the edge reference identifiers of the edges are stored in the fixed-length data segments respectively, the lengths of the fixed-length data segments storing the vertex reference identifiers of the vertexes are the same, and the lengths of the fixed-length data segments storing the edge reference identifiers of the edges are the same; and forming identifiers of the vertexes according to the storage positions of the vertexes in the file, and establishing an index tree of a graph structure by combining the identifiers of the vertexes. According to the method and the device, the vertex reference identifier and the edge reference identifier are stored in the fixed-length data segment, the dynamic multiplexing of the storage space is realized, and the identifier of each vertex is formed through the storage position of the vertex, so that each vertex has ID invariance, and the positioning efficiency of the data is improved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method and device for storing graph data. Background technique [0002] With the explosive development of the Internet, mobile Internet, social network, Internet of Things and related networks in the industrial field such as power networks, there is a great demand for the storage of relationship graphs and applications such as network topology analysis and functional analysis based on relationship graphs. At the same time, it also contributed to the upsurge of research and development of graph databases. When large-scale relational network data needs to be stored, it will take up a large space, and there are problems such as data reading delay and low writing efficiency. Contents of the invention [0003] Therefore, the technical problem to be solved by the present invention is to overcome the defect of large space occupied when storing graph relational networks in the ...

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 GLOBAL ENERGY INTERCONNECTION RES INST 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