RDMA-friendly SPARQL query method based on multi-mode switching

A query method and multi-modal technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as difficulty in processing RDF data, large differences in SPARQL queries, etc., to reduce delay, reduce communication overhead, and improve The effect of parallelism

Active Publication Date: 2017-05-31
SHANGHAI JIAO TONG UNIV
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Different SPARQL queries are very different. Some queries only involve a small part of the data in the graph, while some queries involve all the data of the same type. It is difficult to use the same method to uniformly process RDF data queries.

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
  • RDMA-friendly SPARQL query method based on multi-mode switching
  • RDMA-friendly SPARQL query method based on multi-mode switching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0025] Such as figure 1 As shown, the RDMA-friendly SPARQL query method based on multi-mode switching of the present invention comprises the following steps:

[0026] Step 1, receive the message and judge the message type;

[0027] Step 2: Execute one-step SPARQL query, and use the method of graph traversal to find new nodes that meet the conditions;

[0028] Step 3, judge whether the execution of the request is completed, and if so, return a reply; otherwise, go to step 4;

[0029] Step 4, judging whether the required RDMA operand is greater than or equal to a predetermined threshold (critical) value when executing the next step of the request; if yes, perform step 5; otherwise, perform step 6;

[0030] Step 5, generate a new sub-request, send it to other machines, and record the num...

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 an RDMA-friendly SPARQL query method based on multi-mode switching. The method comprises the following steps: 1, receiving information and judging the information type; 2, executing one-step query, finding a new node by using the graph traversal method; 3, determining whether the request is executed or not; 4, determining whether the RDMA operation number in the next step is equal to or bigger than a critical value or not; 5, generating a new sub request, sending the new sub request to other machines, recording the number of waiting replies; 6, when the needed RDMA operation number is smaller than the critical value, reading long-distance data directly, finishing the next request, and repeating the third step. The method can utilize a long-distance direct memory access mode provided by high-performance network connected devices, more reasonably select the query execution model, reduce the communication cost of a system and improve the parallelism of complex queries.

Description

technical field [0001] The invention relates to a SPARQL query method, in particular to an RDMA-friendly SPARQL query method based on multi-mode switching. Background technique [0002] In the era of big data, many knowledge bases such as DBpedia (a special semantic web application paradigm) are usually stored in the form of RDF (Resource Description Framework, resource description framework). RDF data is actually composed of a series of triples, where each triple is composed of subject, predicate, and object. If the subject and the object are regarded as a vertex, then each triple is actually an edge from the starting vertex of the subject to the terminating node of the object, and the entire RDF data set is regarded as a directed graph. SPARQL (Simple Protocol and RDFQuery Language) is a standard query language on RDF data, which consists of a series of similar triples, where each element is a constant or a variable. The result of the query is a set of variables satisfyi...

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/24561
Inventor 陈榕陈海波臧斌宇
Owner SHANGHAI JIAO TONG UNIV
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