A method, system, device and storage medium for counting the number of vertices and edges in a graph database

A statistical point and database technology, applied in the field of graph databases, can solve the problem of wasting computing resources and real-time statistical data

Active Publication Date: 2021-08-17
杭州悦数科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a method, system, device, and storage medium for counting the number of vertices and edges in a graph database, so as to at least solve the problem of how to reduce the waste of computing resources and improve the efficiency of real-time statistical data in related technologies

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, system, device and storage medium for counting the number of vertices and edges in a graph database
  • A method, system, device and storage medium for counting the number of vertices and edges in a graph database
  • A method, system, device and storage medium for counting the number of vertices and edges in a graph database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050]In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0051] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. In addition, it can also be understood that although such development efforts may be complex and lengthy, for those of o...

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 present application relates to a method, system, device, and storage medium for counting the number of vertices and edges in a graph database, wherein the method includes: obtaining a task request for counting the number of vertices and edges in the graph space, and checking the preset preparation queue in the preparation queue according to the task request. Task, returns the ID of the preset preparatory task, writes the information record of the preset preparatory task in the system table of the preset preparatory task according to the ID of the preset preparatory task, and writes the graph in the system table of statistical information according to the ID of the graph space For spatial information records, the preset preparatory tasks are grouped according to the Leader node to which the graph partition belongs, and several preset execution tasks are obtained, and the preset execution tasks are run through the storage node. It solves the problem of how to reduce the waste of computing resources and improve the efficiency of real-time statistical data, and realizes an efficient parallel strategy for point-edge statistical tasks based on the job mechanism and task mechanism in Nebula Graph.

Description

technical field [0001] The present application relates to the field of graph databases, in particular to a method, system, device and storage medium for counting vertices and edges in graph databases. Background technique [0002] With the rapid development of big data and artificial intelligence, super-large-scale relational networks are gradually being widely used in social recommendation, risk control, Internet of Things, blockchain, security and other fields, and the amount of data that needs to be processed by distributed graph databases increases geometrically. . Real-time and efficient statistical data volume in massive relational data is a problem that every graph database must face, that is, how to reduce the waste of computing resources and improve the efficiency of real-time statistical data in the case of large data volumes has become an urgent need. solved problem. [0003] At present, no effective solution has been proposed for the problem of how to reduce th...

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/2457G06F16/2458G06F16/901
CPCG06F16/24578G06F16/2462G06F16/9024
Inventor 岳通叶小萌王玉珏刘昱
Owner 杭州悦数科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products