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

Real-time query method for graph structure data in rail transit network passenger flow data

A rail transit network and passenger flow data technology, which is applied to the real-time query field of graph structure data in rail transit network passenger flow data, can solve problems such as excessively large intermediate result sets, reduced query efficiency, and low query efficiency

Active Publication Date: 2019-08-02
ZHEJIANG BANGSUN TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Based on the graph query statement decomposition method, the query results of simple sub-query statements need to be combined step by step. For more complex graph query statements with fewer bound nodes, an excessively large intermediate result set will be generated, which will greatly increase the query efficiency. At the same time, this method needs to query in the entire data graph, which also leads to low query efficiency; the iterative query method based on BSP (Block Synchronous Parallel Computing Model) has a high degree of concurrency, but it will generate many unnecessary calculation, because not all nodes need to participate in the iteration in each iteration

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
  • Real-time query method for graph structure data in rail transit network passenger flow data
  • Real-time query method for graph structure data in rail transit network passenger flow data
  • Real-time query method for graph structure data in rail transit network passenger flow data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0085] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments, and the purpose and effect of the present invention will be more obvious.

[0086] A real-time query method for graph structure data in rail transit network passenger flow data provided by the present invention, such as figure 1 As shown, the method includes the following steps:

[0087] (1) For the data graph with attributes and labels, first perform hash partitioning according to the vertices, and then copy the edges and vertices in each partition based on the number of hops, that is, other partitions whose distance from the border vertex does not exceed k hops The vertices and their associated edges are copied from other corresponding partitions to this partition; at the same time, the boundary vertex index and vertex attribute index are established;

[0088] This step specifically includes the following sub-steps:

[0089] (1.1) C...

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 real-time query method for graph structure data in rail transit network passenger flow data, which comprises the following steps of: partitioning a data graph with attributesand labels based on hop count, and establishing a relevant index; inputting a query graph, calculating the radius of the query graph and selecting a query starting point; generating a query sequenceof the query graph; filtering out query starting points of the data graph meeting the conditions in each partition according to the characteristics of the query starting points of the query graph; carrying out a cascade graph query process; and collecting query results of all the partitions to complete a distributed graph query process. According to the method, the query graph is transmitted instead of the data graph in the cross-partition query process, so that the data transmission quantity is reduced; the cascading query process is based on the starting point instead of being carried out inthe whole data graph range, so that the query range is greatly reduced; asynchronous concurrency and result set detection during query are adopted, the query efficiency can be maximized, and therefore the real-time query processing requirement for graph structure data in rail transit network passenger flow data can be met.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a real-time query method for graph structure data in rail transit network passenger flow data. Background technique [0002] Rail transit construction is one of the important infrastructure constructions. Currently, the construction of rail transit-related facilities is proceeding rapidly, accompanied by a sharp increase in data size and complexity. For the construction of new rail transit, it is necessary to meet the real-time processing requirements of big data in its life cycle, that is, to meet the requirements of high real-time and low hysteresis when querying. [0003] Network passenger flow data is an extremely important data type in the field of rail transit data. Passenger flow is the most basic and important factor in urban rail transit. The distribution characteristics and changing laws of passenger flow are systematically analyzed to grasp the curr...

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/242G06F16/2458G06F16/29
CPCG06F16/2255G06F16/2433G06F16/2471G06F16/29
Inventor 李白王刚黄滔高杨孙斌杰
Owner ZHEJIANG BANGSUN TECH 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