A Real-time Query Method for Graph Structure Data in Passenger Flow Data of Rail Transit Network

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

Active Publication Date: 2021-06-08
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
  • A Real-time Query Method for Graph Structure Data in Passenger Flow Data of Rail Transit Network
  • A Real-time Query Method for Graph Structure Data in Passenger Flow Data of Rail Transit Network
  • A Real-time Query Method for Graph Structure Data in Passenger Flow Data of Rail Transit Network

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 passenger flow data of a rail transit network. The data graph with attributes and labels is divided based on hops, and a relevant index is established; the query graph is input, and the radius of the query graph is calculated. and select the query starting point; generate the query sequence of the query graph; filter the query starting point of the data graph that meets the conditions according to the characteristics of the query starting point of the query graph in each partition; perform a cascaded graph query process; collect all partitions The query result is completed, and the distributed graph query process is completed. The invention transmits the query graph instead of the data graph in the cross-partition query process, thereby reducing the amount of data transmission; the cascaded query process is based on the starting point and is not performed within the entire data graph range, thereby greatly reducing the query range; asynchronous concurrency is adopted. It can maximize the query efficiency and meet the real-time query processing requirements of the graph structure data in the passenger flow data of the rail transit network.

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 Patents(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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products