Distributed real-time graph construction and query method and system based on Spark and Ignite

A distributed real-time, real-time graph technology, applied in the field of data query, can solve the problem of slow query speed and achieve the effect of shortening the time

Inactive Publication Date: 2020-01-07
北京海致星图科技有限公司
View PDF11 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the case of hundreds of millions or tens of billions of data, traditional graph databases will be very slow in querying three-dimensional graphs, lasting several minutes or more than ten minutes, and sometimes even reporting errors

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
  • Distributed real-time graph construction and query method and system based on Spark and Ignite
  • Distributed real-time graph construction and query method and system based on Spark and Ignite
  • Distributed real-time graph construction and query method and system based on Spark and Ignite

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0039] figure 1 A flowchart of a method for constructing and querying a distributed real-time graph based on Spark and Ignite provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0040] S1, start the Spark real-time graph construction and graph query tasks, load the point and edge fields of the graph to be queried from the database into the data set of Ignite, cache the fields, and create an index for the fields;

[0041] Specifically, in this step, the Spark real-time graph construction and graph query tasks are first started. In computer science, a graph is a collection of vertices, and these vertices are paired (connected) through a series of edges. Generally, mai...

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 relates to a distributed real-time graph construction and query method and a system based on Spark and Ignite. The method comprises the steps of starting Spark real-time graph construction and graph query tasks, loading fields of points and edges of a to-be-queried graph into an Ignite data set from a database, caching the fields, and creating indexes for the fields; generating a corresponding request parameter theme from the request parameter in the request initiated by the front end by using an encryption algorithm, and monitoring the request parameter theme; putting the request parameter theme into the request parameter, sending the request parameter theme to a request theme, and monitoring the request theme; obtaining data for calculation, and sending a calculation resultto the request parameter theme; and returning the obtained result data to the front end. By means of the distributed graph construction and storage functions of the Spark and the Ignite, graph construction and graph query can be conducted on hundred million-level or even ten billion-level data in real time, and the graph query time can be effectively shortened.

Description

technical field [0001] The invention relates to the field of data query, in particular to a method and system for constructing and querying distributed real-time graphs based on Spark and Ignite. Background technique [0002] With the rapid increase in the number of Internet users, the amount of data has grown exponentially in recent years. In this context, many big data analysis technologies have flourished, such as artificial intelligence, deep learning and knowledge graphs. The amount of data analyzed by the traditional knowledge map is small, and a single machine can meet the demand. But in the case of massive data, the calculation speed and storage space of a single machine will soon exceed the limit. At this time, distributed storage and computing will bring huge advantages to knowledge map analysis. [0003] However, in the case of hundreds of millions or tens of billions of data, traditional graph databases will be very slow in querying three-dimensional graphs, l...

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/22G06F16/2455
CPCG06F16/2228G06F16/24552
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