CN118445318A - Road network indexing method supporting multi-type query - Google Patents
Road network indexing method supporting multi-type query Download PDFInfo
- Publication number
- CN118445318A CN118445318A CN202410439901.4A CN202410439901A CN118445318A CN 118445318 A CN118445318 A CN 118445318A CN 202410439901 A CN202410439901 A CN 202410439901A CN 118445318 A CN118445318 A CN 118445318A
- Authority
- CN
- China
- Prior art keywords
- nodes
- query
- road network
- node
- tree
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 239000011159 matrix material Substances 0.000 claims abstract description 37
- 230000008569 process Effects 0.000 claims description 35
- 238000010276 construction Methods 0.000 claims description 14
- 230000008901 benefit Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 claims description 6
- 238000013138 pruning Methods 0.000 claims description 6
- 238000005457 optimization Methods 0.000 claims description 5
- 238000000638 solvent extraction Methods 0.000 claims description 5
- 230000001174 ascending effect Effects 0.000 claims description 4
- 238000011156 evaluation Methods 0.000 abstract description 5
- 230000007547 defect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2228—Indexing structures
- G06F16/2246—Trees, e.g. B+trees
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a road network indexing method supporting multi-type inquiry, which comprises the following steps: 1) Defining a road network and shortest path distance query, k neighbor query and range query; 2) A tree structure with shortcuts (shortcuts) for hierarchical index SCG-tree for multi-type queries in road network; 3) A method for constructing an SCG-tree index on a given road network through an iterative graph dividing method and a shortcut selection strategy based on an evaluation index; 3) Based on the SCG-tree index structure, the query methods of shortest path query, k neighbor query and range query can be efficiently performed by using the distance matrix pre-calculated and stored in the index and the shortcut distance matrix; the invention can efficiently support three kinds of inquiry including shortest path inquiry, k neighbor inquiry and range inquiry in a large-scale road network, overcomes the defect that the existing index only supports single kind of inquiry, has small storage cost in a layering structure, and can obtain higher inquiry speed by utilizing shortcut in the index structure.
Description
Technical Field
The invention relates to the technical field of space data query under the constraint of a road network, in particular to a road network index technology capable of supporting multi-type query
Background
In recent years, with the popularity of mobile terminals, there is an increasing demand for location-based services, in which users can quickly acquire relevant latest information according to their current location and personal preferences. A large number of location-based services are each day required to respond to a vast variety of road network-based spatial queries, such as navigation systems, map services, point-of-interest searches, and the like. Three basic query types are used in a large number, including shortest path distance query, k-nearest neighbor query, and range query. For example, in urban taxi taking services, there are millions of query demands per day, and there are hundreds of thousands of query tasks per second at peak. However, classical road network searching methods (e.g., dijkstra, a, etc.) are not able to respond to dense query loads in time, and therefore use of road network indexing techniques is necessary.
There are many existing technologies for road network indexes for shortest path distance query, k-nearest neighbor query and range query respectively, wherein indexes for shortest path distance query are mainly classified into two major categories of hierarchical indexes and label-based indexes. The hierarchical indexing method is balanced in terms of construction time, storage space overhead and query efficiency, and the query is performed on a hierarchical structure, so that a plurality of unnecessary search spaces are reduced, and the query efficiency is high. The label-based index pre-calculates a label set for each node in the road network, and only the corresponding label set is required to be searched during query, so that the query efficiency is higher, but the storage cost is huge, and the method is difficult to effectively use on the large-scale road network. The index for k-nearest neighbor query is searched by gradually expanding the search space, or the query is accelerated by using extra space to maintain the nearest target node, however, as the road network scale increases, the storage cost is very huge. The index for range query is often extended based on the k-nearest neighbor query problem, but there is still much redundant computational overhead, making the query process inefficient.
However, the existing indexing method is designed for a single type of query, and is rarely capable of supporting multiple query problems at the same time and with high efficiency. Constructing a separate road network index for each query problem can result in a significant amount of additional storage overhead that is not economical and efficient. Therefore, the design of the efficient road network index technology supports various query tasks at the same time, and meets the requirements of the existing application based on the location service, so that the application can respond to the query requirements more quickly, and the user experience is improved. The hierarchical indexing technology has a certain potential in supporting multi-type query, has smaller construction time and storage space cost, and can be efficiently applied to a large-scale road network. However, since the query is performed in a hierarchical structure, as the distance between query locations increases, particularly as long-distance query increases, the search space increases significantly, and the query efficiency decreases, it is difficult to perform efficient query in a large-scale road network.
Disclosure of Invention
The invention aims to: aiming at the problems and the defects in the prior art, the invention provides a hierarchical road network indexing technology which supports multi-type query and is enhanced by using shortcut, and aims to solve the defect that the prior indexing technology only supports single-type query, and simultaneously solve the problem that the efficiency of hierarchical indexing is poor in long-distance query. According to the invention, a small amount of shortcut is introduced into the hierarchical structure by using the evaluation index and the optimization strategy, so that the query algorithms for carrying out shortest path distance query, k neighbor query and range query by fully using the shortcut are respectively designed, and the search cost during query is effectively reduced, thereby realizing the efficient support of multi-type query, and simultaneously having smaller construction time and storage space cost.
The technical scheme is as follows: a road network indexing method supporting multi-type queries, comprising the following:
(1) Concepts related to the road network model and the query model are defined, wherein the concepts comprise the road network represented as a weighted undirected graph, the road network divided representation, the boundary node definition and the query model in three road networks: shortest path distance query Q spsp(vi,vj), k neighbor query Q knn(vq, C, k), range query Q range(vq, C, d);
(2) Defining a structure of a road network index SCG-tree according to the definition of the road network, the representation of road network division and the definition of boundary nodes, wherein the structure is a hierarchical tree structure, a plurality of shortcuts exist in the tree, each node corresponds to a subgraph in the road network, each node in the tree is provided with a boundary node set, a joint boundary node set or subgraph node set, a shortcut set and a distance matrix, and each shortcut corresponds to a shortcut distance matrix;
(3) Giving a road network according to the structure of the road network index SCG-tree defined in the step (2), constructing a tree structure through iterative graph division, evaluating and selecting a shortcut through a plurality of indexes of benefits, use frequency, return and storage space, and finally calculating a distance matrix and a shortcut distance matrix respectively, and completing the construction of the index SCG-tree through the processes;
(4) Given a shortest path distance query Q spsp(vi,vj based on the structure of the road network index SCG-tree), firstly, finding a query path of a start position v i and a stop position v j in the index SCG-tree, namely a path formed from a leaf node containing v i to LCA to a leaf node containing v j or a path formed from a leaf node containing v i to a shortcut to a leaf node containing v j, and then using a dynamic programming method to obtain a result of the shortest path distance query according to the query path;
(5) Giving a k neighbor query Q knn(vq, C and k) based on the structure of a road network index SCG-tree, firstly identifying nodes with target objects in the tree, then gradually expanding the search range by using a two-stage expansion strategy from bottom to top and from near to far, only searching the nodes with target objects in the process, excluding the nodes without target objects until the nearest k objects are found, and finally returning a query result;
(6) Based on the structure of the road network index SCG-tree, a range query Q range(vq, C and d) is given, firstly, the node with the target object in the tree is identified, then the search range is gradually increased by using a two-stage expansion strategy from bottom to top and from near to far, when the distance from the search position to one node is greater than the distance condition d in the search, pruning is carried out on the node and all sub-nodes thereof, namely the node and all sub-nodes thereof are not searched, when the minimum distance from the search position to the boundary of the current search area is greater than the distance condition d, early stop is carried out so as to reduce unnecessary search expenditure, and finally the query result meeting the condition is returned.
Further, in step (1), the following concepts are modeled:
(11) The road network model is represented as a weighted undirected graph G= { V, E }, w- & gtR +, wherein G is a road network, V is a node set in the road network, E is a set of edges in the road network, E is a weight function of the edges, the distance or the transit time of the road is represented, the edge connecting two nodes V i and V j is represented as E i,j, the shortest path between the nodes V i and V j is represented as sp i,j, and the distance of the shortest path is represented as |sp i,j |;
(12) Given a road network g= { V, E }, w→r +, a graph-partitioning definition by edge-cutting divides the set of nodes in G into n disjoint subsets { V 1,…,Vn }, and One of the subgraphs is denoted as G i={Vi,Ei, the neutron atlas E i={ej,k∈E|vj,vk∈Vi;
(13) One node v i in the subgraph is denoted b i when it is a boundary node, satisfying the following
(14) The shortest path distance query is denoted Q spsp(vi,vj), where v i and v j represent the start node and the end node, respectively, the query returns the result of the shortest path distance |sp i,j |;
(15) The k-nearest neighbor query is denoted Q knn(vq, C, k), where v q denotes the query location, Representing a target object set of the query, k representing the number of the latest objects to be queried, and the returned result of the query is represented as R, satisfying the following conditionsAnd
(16) The range query is denoted Q range(vq, C, d), where v q denotes the query location,A target object set representing the query, d representing the distance condition to be queried, the returned result of the query being represented as R, satisfyingAnd v i∈R,|spq,i < d for all, v j∈C\R,|spq,j > d for each. C\R represents the element set left after the elements in the R set are removed from the elements in the C set.
Further, in step (2), the structure of the road network index SCG-tree includes:
(21) Each node in the tree corresponds to a subgraph in the road network, the root node corresponds to the whole road network, each non-leaf node has N f child nodes, and the number |V i | of the nodes in the node set V i of the subgraph corresponding to each leaf node N i is smaller than or equal to a given construction parameter N τ;
(22) Each leaf node stores a boundary node set in a corresponding sub-graph, a joint boundary node set of all child nodes or all node sets in the corresponding sub-graph, all shortcut sets connected with the leaf nodes, and a distance matrix;
(23) Each shortcut is connected with two non-brothers nodes located on the same layer, each shortcut corresponds to a shortcut distance matrix, and the total memory space overhead of all the shortcuts is smaller than or equal to a given construction parameter n λ.
Further, in step (3), the construction process of the road network index SCG-tree includes:
(31) Determining an input road network G and construction parameters n f、nτ and n λ;
(32) Starting from a root node of the SCG-tree, performing iterative graph division, dividing each time into n f sub-graphs until the number of nodes in node sets of all leaf nodes is less than or equal to n τ, constructing corresponding tree nodes for each sub-graph according to a division process, constructing a boundary node set and a joint boundary node set, and constructing a complete tree structure;
(33) Determining the lowest layer l in the layers capable of completely building the shortcuts according to N λ and the storage overhead of the possible shortcuts in each layer, building all the possible shortcuts among tree nodes of the layer, and evaluating the possible shortcuts by using several indexes of profit, use frequency, return and storage space for the unsatisfied layer l+1, wherein the profit of the shortcut connecting two nodes N i and N j is defined as:
Where TP i,j represents the path of every two consecutive nodes in the tree from nodes N i to N j, the path being a combination of the sub-path of N i to LCA and the sub-path of N j to LCA, (N x,Ny) for each pair represents two consecutive pairs of nodes in the path TP i,j, |B x | and |B y | represent the number of elements in the set of boundary nodes of nodes N x and N y, respectively, |B i | and |B j | represent the number of elements in the set of boundary nodes of nodes N i and N j, respectively;
The frequency of use of shortcut connecting two nodes N i and N j is:
wherein |V i | and |V j | respectively represent the number of nodes in the subgraph corresponding to the nodes N i and N j, and |V| represents the number of nodes in the whole road network;
the return of shortcut connecting two nodes N i and N j is:
ri,j=gi,j·pi,j
Where g i,j represents the benefit of shortcut connecting two nodes N i and N j, and p i,j represents the frequency of use of shortcut connecting two nodes N i and N j;
The memory space of the shortcut connecting the two nodes N i and N j is:
wi,j=|Bi|·|Bj|
Wherein |b i | and |b j | represent the number of elements in the boundary node sets of nodes N i and N j, respectively;
by evaluating all possible shortcuts of the unsatisfied layer, constructing the following optimization strategy and sequentially selecting the shortcuts to be constructed according to the order of unit values from high to low in a greedy manner until the space overhead constraint n λ is met;
Where K represents the total number of all possible shortcuts for the unsatisfied level, r k represents the return indicator for the kth shortcut, x k represents whether the kth shortcut is selected, delta l represents the total storage overhead for all shortcuts built in level l, n λ represents the total storage overhead constraint parameter for the shortcuts in a given SCG-tree, and n λ-δl represents the total storage overhead available in the unsatisfied level l+1.
(34) Calculating distance values in all distance matrixes and distance matrixes corresponding to shortcuts in a full layer by a Folyd method, calculating distance values in all shortcuts in the full layer by a dynamic programming method, and arranging the shortcuts in all nodes in ascending order according to the minimum value in the corresponding shortcuts distance matrix.
Further, in step (4), the shortest path distance query process includes:
(41) Given two nodes v i and v j, the highest level node in the tree where nodes v i and v j are located is calculated using the highest level node function, and the highest level node hn (v i, l) of node v i is defined as:
Where l is a given hierarchical constraint, leaf (v i) is the leaf node where node v i is located, B j is the set of boundary nodes for node N j, N j. Level is the layer where node N j is located;
Finding the lowest common ancestor node LCA corresponding to the hn (v i, l) and the hn (v j, l) and available shortcuts, if the LCA is located in a lower layer than the available shortcuts, using the LCA to connect two tree nodes to a sub-path of the LCA as a query path in a tree, otherwise using the shortcuts to connect two tree nodes to the sub-path of the LCA as a query path in the tree, and using the shortcuts to effectively reduce the search overhead in an upper node;
(42) On the obtained path in the tree, the shortest path distance between the nodes v i and v j is obtained by using a dynamic programming method, and the specific process is to calculate and cache the shortest path distance between the node v i and all boundary nodes of the next node in the path each time until the shortest path distance between the node v i and the node v j is calculated finally.
Further, in step (5), the k-nearest neighbor query procedure includes:
(51) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(52) Starting from the leaf node where the query position v q is located, a bottom-up expansion mode is used first, the search range is expanded to a child region corresponding to a father node each time, only the region containing the target object is searched during expansion, and the region not containing the target object is skipped. When reaching the layer of the fully built shortcut, the expansion is performed based on the shortcut from near to far according to the distance between nodes, and the distance between the nodes is defined as:
Where |b i | and |b j | denote the number of elements in the set of boundary nodes of nodes N i and N j respectively, Representing the shortest path distance of boundary nodes b i and b j;
The nearest node is selected according to the distance between nodes from small to large, and the distance between the query position and the node is calculated and expressed as:
Then find out the satisfaction from near to far In the formula (I)Ancestor nodes in the full-built shortcut layer, denoted v q, are added to the search area at the same time if they further satisfy Dist (v q,Nj)≤Dist(vq,Ni), and the search process is repeated until the search area is not expandable again when the search area is the whole road network, and the search is ended when k target objects are contained in the result set in the search process.
Further, in step (6), the range query process includes:
(61) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(62) Starting from the leaf node where the query position v q is located, using a two-stage expansion strategy from bottom to top and from near to far, discarding the region when the distance from the query position to a sub-graph is greater than the search distance condition during expansion, stopping searching when the whole search range is greater than the search distance condition, and finally returning all the found target objects.
A road network indexing system supporting multiple types of queries, comprising:
Definition module of the concept related to the road network model and the query model, wherein the definition module comprises a road network represented as a weighted undirected graph, a road network divided representation, a boundary node definition and query models in three road networks: shortest path distance query Q spsp(vi,′j), k neighbor query Q knn(vq, C, k), range query Q range(vq, C, d);
The definition module of the road network index SCG-tree structure defines the structure of the road network index SCG-tree according to the definition of the road network, the representation of road network division and the definition of boundary nodes, wherein the structure is a hierarchical tree structure, a plurality of shortcuts exist in the tree, each node corresponds to a subgraph in the road network, each node in the tree is provided with a boundary node set, a joint boundary node set or subgraph node set, a shortcut set and a distance matrix, and each shortcut corresponds to a shortcut distance matrix;
The road network definition module is used for giving a road network according to the structure of a defined road network index SCG-tree, constructing a tree structure through iterative graph division, evaluating and selecting a shortcut through a plurality of indexes of benefits, use frequency, return and storage space, and finally calculating a distance matrix and a shortcut distance matrix respectively, and constructing the index SCG-tree through the processes;
The shortest path distance query module, based on the structure of the road network index SCG-tree, gives a shortest path distance query Q spsp(vi,vj), firstly finds the query path of the starting position and the ending position in the index SCG-tree, namely the path formed from the leaf node containing v i to LCA to the leaf node containing v j or the path formed from the leaf node containing v i to a shortcut to the leaf node containing v j, and then uses a dynamic programming method to obtain the shortest path distance query result according to the query path;
The k-nearest neighbor query module is used for giving a k-nearest neighbor query Q knn(vq, C and k based on the structure of a road network index SCG-tree, firstly identifying nodes with target objects in a tree, then gradually expanding the search range by using a two-stage expansion strategy from bottom to top and from near to far, only searching the nodes with target objects in the process, excluding the nodes without target objects until the nearest k objects are found, and finally returning a query result;
The range query module, based on the structure of the road network index SCG-tree, gives a range query Q range(vq, C, d), firstly identifies the node with the target object in the tree, then uses a two-stage expansion strategy from bottom to top and from near to far to gradually increase the search range, and in the search, when the distance from the search position to one node is greater than the distance condition d, pruning the node and all the sub-nodes thereof, namely not searching the node and all the sub-nodes thereof, and when the minimum distance from the search position to the boundary of the current search area is greater than the distance condition d, early stopping is carried out to reduce unnecessary search expenditure, and finally, the query result meeting the condition is returned.
The implementation process and method of the system are the same and will not be described again.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a road network indexing method supporting multi-type queries as described above when executing the computer program.
A computer readable storage medium storing a computer program for executing the road network indexing method supporting multi-type queries as described above.
The beneficial effects are that: compared with the prior art, the invention has the following advantages:
(1) The method can efficiently support shortest path distance query, k neighbor query and range query simultaneously, does not need to construct a separate index for each query, is more efficient and economical, and meets the application requirements of location-based services;
(2) The construction process is efficient, the storage cost is low, and the method can be used for efficient expansion on a large-scale road network;
(3) By evaluating the index and optimizing the strategy, the shortcut which is more beneficial to the query task can be selected, the query efficiency can be effectively accelerated, and the storage cost is saved.
(4) The shortest path distance query algorithm based on the shortcut can realize microsecond query response, and the k-nearest neighbor query and range query algorithm based on the two-stage expansion search strategy can realize microsecond to millisecond query response, so that the method has a faster query speed for long-distance query.
Drawings
FIG. 1 is an overall workflow diagram of a method of an embodiment of the invention;
FIG. 2 is a schematic diagram of a road network index structure according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a query process according to an embodiment of the present invention.
Detailed Description
The present application is further illustrated below in conjunction with specific embodiments, it being understood that these embodiments are meant to be illustrative of the application and not limiting the scope of the application, and that modifications of the application, which are equivalent to those skilled in the art to which the application pertains, fall within the scope of the application defined in the appended claims after reading the application.
A road network index method supporting multi-type query is characterized in that on a given road network model, an index SCG-tree corresponding to the road network is constructed through three processes of iterative graph division, evaluation and selection of shortcut and calculation of distance matrix values, an index structure comprises three parameters n f、nτ and n λ, each node corresponds to a subgraph in the road network, shortcut (shortcut) exists in a tree, and the three query methods of shortest path distance query, k neighbor query and range query can be fully used for carrying out efficient calculation. The method specifically comprises the following steps:
(1) The method comprises the steps of defining a concept related to a road network model and a query model, wherein the concept comprises the steps of representing the road network as a weighted undirected graph, representing road network division, defining boundary nodes and querying models in three road networks, wherein the querying models in the three road networks are respectively: shortest path distance query Q spsp(vi,vj), k neighbor query Q knn(vq, C, k), range query Q range(vq, C, d);
(11) The road network model is expressed as a weighted undirected graph G= { V, E }, w- & gtR +, wherein G is a road network, V is a node set in the road network, E is a set of edges in the road network, w is a weight function of the edges, the edge connecting two nodes V i and V j is expressed as E i,j, the shortest path between the nodes V i and V j is expressed as sp i,j, and the distance of the shortest path is expressed as |sp i,j |;
(12) Given a road network g= { V, E }, w→r +, graph partitioning by edge-cutting is defined as partitioning the set of nodes in G into n disjoint subsets { V 1,…,Vn }, and One of the subgraphs is denoted as G i={Vi,Ei, the neutron atlas E i={ej,k∈E|vj,vk∈Vi;
(13) One node v i in the subgraph is denoted b i when it is a boundary node, satisfying the following
(14) The shortest path distance query is denoted Q spsp(vi,vj), where v i and v j represent the start node and the end node, respectively, the query returns the result of the shortest path distance |sp i,j |;
(15) The k-nearest neighbor query is denoted Q knn(vq, C, k), where v q denotes the query location, Representing a target object set of the query, k representing the number of the latest objects to be queried, and the returned result of the query is represented as R, satisfying the following conditionsAnd
(16) The range query is denoted Q range(vq, C, d), where v q denotes the query location,A target object set representing the query, d representing the distance condition to be queried, the returned result of the query being represented as R, satisfyingAnd for all v_i ε R, |sp_ { q, i } |d, for each' j∈C\R,|spq,j | > d.
(2) Defining a structure of a road network index SCG-tree according to the definition of the road network, the representation of road network division and the definition of boundary nodes, wherein the structure is a hierarchical tree structure, a plurality of shortcuts exist in the tree, and each shortcut corresponds to a shortcut distance matrix;
(21) Each node in the tree corresponds to a subgraph in the road network, the root node corresponds to the whole road network, each non-leaf node has n f child nodes, and the number of nodes in the node set of the subgraph corresponding to each leaf node is less than or equal to n τ;
(22) Each non-leaf node stores a boundary node set in the corresponding sub-graph, a joint boundary node set of all child nodes or all node sets in the corresponding sub-graph, all shortcut sets connected with the node and a distance matrix, and the shortcut sets are arranged in ascending order according to the minimum value in the distance matrix of the corresponding shortcut;
(23) Each shortcut is connected with two non-brothers nodes positioned on the same layer, each shortcut corresponds to a shortcut distance matrix, and the total memory space overhead of all the shortcuts is less than or equal to n λ.
(3) Giving a road network according to the structure of the road network index SCG-tree defined in the step (2), constructing a tree structure through iterative graph division, evaluating and selecting a shortcut through a plurality of indexes of benefits, use frequency, return and storage space, and finally calculating a distance matrix and a shortcut distance matrix respectively, and completing the construction of the index SCG-tree through the processes;
(31) Determining an input road network G and construction parameters n f、nτ and n λ;
(32) Starting from a root node, carrying out iterative graph division, dividing each time into n f sub-graphs until the number of nodes in node sets of all leaf nodes is less than or equal to n τ, constructing corresponding tree nodes for each sub-graph according to a division process, constructing a boundary node set and a joint boundary node set, and constructing a complete tree structure;
(33) Determining a layer capable of completely building the shortcuts according to N λ and the storage overhead of the possible shortcuts in each layer, building all the possible shortcuts in the layer, and evaluating the possible shortcuts by using several indexes of profit, use frequency, return and storage space for the unsatisfied layer, wherein the profit of the shortcuts connecting two nodes N i and N j is defined as:
Where TP i,j represents the path of every two consecutive nodes in the tree from nodes N i to N j, the path being a combination of the sub-path of N i to LCA and the sub-path of N j to LCA, (N x,Ny) for each pair represents two consecutive pairs of nodes in the path TP i,j, |B x | and |B y | represent the number of elements in the set of boundary nodes of nodes N x and N y, respectively, |B i | and |B j | represent the number of elements in the set of boundary nodes of nodes N i and N j, respectively;
The frequency of use of shortcut connecting two nodes N i and N j is:
wherein |V i | and |V j | respectively represent the number of nodes in the subgraph corresponding to the nodes N i and N j, and |V| represents the number of nodes in the whole road network;
the return of shortcut connecting two nodes N i and N j is:
ri,j=gi,j·pi,j
Where g i,j represents the benefit of shortcut connecting two nodes N i and N j, and p i,j represents the frequency of use of shortcut connecting two nodes N i and N j;
The memory space of the shortcut connecting the two nodes N i and N j is:
wi,j=|Bi|·|Bj|
Wherein |b i | and |b j | represent the number of elements in the boundary node sets of nodes N i and N j, respectively;
by evaluating all possible shortcuts of the unsatisfied layer, constructing the following optimization strategy and sequentially selecting the shortcuts to be constructed according to the order of unit values from high to low in a greedy manner until the space overhead constraint n λ is met;
(34) Calculating distance values in all distance matrixes and distance matrixes corresponding to shortcuts in a full layer by a Folyd method, calculating distance values in all shortcuts in the full layer by a dynamic programming method, and arranging the shortcuts in all nodes in ascending order according to the minimum value in the corresponding shortcuts distance matrix.
(4) Giving a shortest path distance query Q spsp(vi,vj based on the structure of a road network index SCG-tree), firstly finding a query path of a starting position and a termination position in the index SCG-tree, wherein the path comprises a combination of two sub paths from leaf nodes containing v i and v j to LCA or a shortcut respectively, and then obtaining a result of the shortest path distance query by using a dynamic programming method according to the query path;
(41) Given two nodes v i and v j, the highest level node in the tree where nodes v i and v j are located is calculated using the highest level node function, and the highest level node hn (v i, l) of node v i is defined as:
Where l is a given hierarchical constraint, leaf (v i) is the leaf node where node v i is located, B j is the set of boundary nodes for node N j, N j. Level is the layer where node N j is located;
Finding the lowest common ancestor node LCA corresponding to the hn (v i, l) and the hn (v j, l) and available shortcuts, if the LCA is located in a lower layer than the available shortcuts, using the LCA to connect two tree nodes to a sub-path of the LCA as a query path in a tree, otherwise using the shortcuts to connect two tree nodes to the sub-path of the LCA as a query path in the tree, and using the shortcuts to effectively reduce the search overhead in an upper node;
(42) On the obtained path in the tree, the shortest path distance between the nodes v i and v j is obtained by using a dynamic programming method, and the specific process is to calculate and cache the shortest path distance between the node v i and all boundary nodes of the next node in the path each time until the shortest path distance between the node v i and the node v j is calculated finally.
(5) Giving a k neighbor query Q knn(vq, C and k) based on the structure of a road network index SCG-tree, firstly identifying nodes with target objects in the tree, then gradually expanding the search range by using a two-stage expansion strategy from bottom to top and from near to far, only searching the nodes with target objects in the process, excluding the nodes without target objects until the nearest k objects are found, and finally returning a query result;
(51) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(52) Starting from the leaf node where the query position b q is located, a bottom-up expansion mode is used first, the search range is expanded to a child region corresponding to a father node each time, only the region containing the target object is searched during expansion, and the region not containing the target object is skipped. When reaching the layer of the fully built shortcut, the expansion is performed based on the shortcut from near to far according to the distance between nodes, and the distance between the nodes is defined as:
Where |b i | and |b j | denote the number of elements in the set of boundary nodes of nodes N i and N j respectively, Representing the shortest path distance of boundary nodes b i and b j;
The nearest node is selected according to the distance between nodes from small to large, and the distance between the query position and the node is calculated and expressed as:
Then find out the satisfaction from near to far In the formula (I)Ancestor nodes in the full-built shortcut layer, denoted v q, are added to the search area at the same time if they further satisfy Dist (v q,Nj)≤Dist(vq,Ni), and the search process is repeated until the search area is not expandable again when the search area is the whole road network, and the search is ended when k target objects are contained in the result set in the search process.
(6) Based on the structure of the road network index SCG-tree, a range query Q range(vq, C, d) is given, the node with the target object in the tree is firstly identified, then the search range is gradually increased by using a two-stage expansion strategy from bottom to top and from near to far, pruning is carried out when the distance from the search position to one node is greater than the distance condition d in the search, early stopping is carried out when the minimum distance from the search position to the boundary of the current search area is greater than the distance condition d, so that unnecessary search expenditure is reduced, and finally the query result meeting the condition is returned.
(61) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(62) Starting from the leaf node where the query position v q is located, using a two-stage expansion strategy from bottom to top and from near to far, discarding the region when the distance from the query position to a sub-graph is greater than the search distance condition during expansion, stopping searching when the whole search range is greater than the search distance condition, and finally returning all the found target objects.
FIG. 1 depicts an overall workflow diagram of the method of the present invention, including the following:
(1) Given a road network, an indexed tree structure is constructed by iterating the graph partitioning of the road network.
(2) And evaluating and selecting the shortcut through the evaluation index and the optimization strategy.
(3) And calculating the values of distance matrixes in all nodes, and calculating the values of all shortcut distance matrixes.
(4) And constructing an index SCG-tree of the corresponding road network through three processes of iterative graph division, evaluation and selection of shortcut and calculation of distance matrix values.
(5) Given shortest path distance query, k-nearest neighbor query, range query workload, query results can be obtained quickly by using the index.
FIG. 2 depicts a schematic diagram of the road network index structure of the present invention, including the following:
(1) Each node corresponds to a subgraph in the road network, and the root node corresponds to the whole road network.
(2) Each node has n f child nodes, the number of nodes in the node set of the subgraph corresponding to each leaf node is less than or equal to n τ, and the total memory space overhead of all shortcut matrixes is less than or equal to n λ.
(3) There are some shortcuts in the tree, each shortcut connecting two non-sibling nodes at the same level.
(4) Each non-leaf node includes a set of boundary nodes, a set of joint boundary nodes, a set of shortcut, and a distance matrix.
(5) Each leaf node includes a set of boundary nodes, a set of child nodes, a set of shortcut, and a distance matrix.
(6) Each shortcut in the tree corresponds to a shortcut distance matrix, and all the shortcuts distance matrices form a shortcut matrix set.
FIG. 3 depicts a schematic diagram of the query process of the present invention, including the following:
(1) The index structure can efficiently support multiple query types, including three types of shortest path distance query, k-nearest neighbor query and range query.
(2) When the shortest path distance query is carried out, the query path in the tree is a complete path formed by connecting the highest-layer node in the tree where the nodes v i and v j are positioned to the two sub-paths of the ancestor node of the full shortcut layer through the shortcut.
(3) When the shortest path distance query is carried out, the shortest path distance between the starting node v i and boundary nodes of all nodes in the path is sequentially calculated and stored on the query path in the tree by using a dynamic programming method, and finally the shortest path distance between the starting node v i and the target node v j is obtained.
(4) When the k neighbor is queried, starting from a leaf node where the query position v q is located, expanding according to a bottom-up mode, then expanding according to a near-to-far mode based on shortcut until the nearest k target objects are found, and finally returning a query result.
(5) And when the range is searched, searching is carried out according to a two-stage expansion strategy combining from bottom to top and from near to far, pruning is carried out if the distance from the searching area is greater than the distance condition in the process, and searching is stopped when the minimum boundary distance of the whole searching area is greater than the distance condition of the query.
It will be apparent to those skilled in the art that the steps of the method for indexing a road network supporting multiple types of queries or the modules of the system for indexing a road network supporting multiple types of queries in the embodiments of the invention described above may be implemented by general purpose computing devices, they may be centralized on a single computing device, or distributed across a network of multiple computing devices, or alternatively, they may be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by computing devices and, in some cases, the steps shown or described may be performed in a different order than what is shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Claims (10)
1. A road network indexing method supporting multi-type inquiry is characterized by comprising the following steps:
(1) Concepts related to the road network model and the query model are defined, wherein the concepts comprise the road network represented as a weighted undirected graph, the road network divided representation, the boundary node definition and the query model in three road networks: shortest path distance query Q spsp(vi,vj), k neighbor query Q knn(vq, C, k), range query Q range(vq, C, d);
(2) Defining a structure of a road network index SCG-tree according to the definition of the road network, the representation of road network division and the definition of boundary nodes, wherein the structure is a hierarchical tree structure, a plurality of shortcuts exist in the tree, each node corresponds to a subgraph in the road network, each node in the tree is provided with a boundary node set, a joint boundary node set or subgraph node set, a shortcut set and a distance matrix, and each shortcut corresponds to a shortcut distance matrix;
(3) Giving a road network according to the structure of the road network index SCG-tree defined in the step (2), constructing a tree structure through iterative graph division, evaluating and selecting a shortcut through a plurality of indexes of benefits, use frequency, return and storage space, and finally calculating a distance matrix and a shortcut distance matrix respectively, and completing the construction of the index SCG-tree through the processes;
(4) Giving a shortest path distance query Q spsp(vi,vj based on the structure of a road network index SCG-tree), firstly finding a query path of a starting position v i and a termination position v j in the index SCG-tree, wherein the path comprises a combination of two sub paths from leaf nodes containing v i and v j to LCA or a shortcut respectively, and then obtaining a result of the shortest path distance query by using a dynamic programming method according to the query path;
(5) Giving a k neighbor query Q knn(vq, C and k) based on the structure of a road network index SCG-tree, firstly identifying nodes with target objects in the tree, then gradually expanding the search range by using a two-stage expansion strategy from bottom to top and from near to far, only searching the nodes with target objects in the process, excluding the nodes without target objects until the nearest k objects are found, and finally returning a query result;
(6) Based on the structure of the road network index SCG-tree, a range query Q range(vq, C, d) is given, the node with the target object in the tree is firstly identified, then the search range is gradually increased by using a two-stage expansion strategy from bottom to top and from near to far, pruning is carried out when the distance from the search position to one node is greater than the distance condition d in the search, early stopping is carried out when the minimum distance from the search position to the boundary of the current search area is greater than the distance condition d, so that unnecessary search expenditure is reduced, and finally the query result meeting the condition is returned.
2. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (1), the following concepts are modeled:
(11) The road network model is represented as a weighted undirected graph g= { V, E }, w→r +, wherein G is a road network, V is a node set in the road network, represents a target object in the road network, E is a set of edges in the road network, represents a road, w is a weight function of the edges, represents a distance or a transit time of the road, an edge connecting two nodes V i and V j is represented as E i,j, a shortest path between the nodes V i and V j is represented as sp i,j, and a distance of a shortest path is represented as |sp i,j |;
(12) Given a road network g= { V, E }, w→r +, a graph-partitioning definition by edge-cutting divides the set of nodes in G into n disjoint subsets { V 1,...,Vn }, and One of the subgraphs is denoted as G i={Vi,Ei, the neutron atlas E i={ej,k∈E|vj,vk∈Vi;
(13) One node v i in the subgraph is denoted b i when it is a boundary node, satisfying the following
(14) The shortest path distance query is denoted Q spsp(vi,vj), where v i and v j represent the start node and the end node, respectively, the query returns the result of the shortest path distance |sp i,j |;
(15) The k-nearest neighbor query is denoted Q knn(vq, C, k), where v q denotes the query location, Representing a target object set of the query, k representing the number of the latest objects to be queried, and the returned result of the query is represented as R, satisfying the following conditions|R|=k, and month|spq,i|≤|spq,j|;
(16) The range query is denoted Q range(vq, C, d), where v q denotes the query location,A target object set representing the query, d representing the distance condition to be queried, the returned result of the query being represented as R, satisfyingAnd v i∈R,|spq,i < d for all, v j∈C\R,|spq,j > d for each.
3. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (2), the structure of the road network index SCG-tree comprises:
(21) Each node in the tree corresponds to a subgraph in the road network, the root node corresponds to the whole road network, each non-leaf node has n f child nodes, and the number of nodes in the node set of the subgraph corresponding to each leaf node is less than or equal to n τ;
(22) Each leaf node stores a boundary node set in a corresponding sub-graph, a joint boundary node set of all child nodes or all node sets in the corresponding sub-graph, all shortcut sets connected with the leaf nodes, and a distance matrix;
(23) Each shortcut is connected with two non-brothers nodes positioned on the same layer, each shortcut corresponds to a shortcut distance matrix, and the total memory space overhead of all the shortcuts is less than or equal to n λ.
4. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (3), the construction process of the road network index SCG-tree comprises:
(31) Determining an input road network G and construction parameters n f、nτ and n λ;
(32) Starting from a root node, carrying out iterative graph division, dividing each time into n f sub-graphs until the number of nodes in node sets of all leaf nodes is less than or equal to n τ, constructing corresponding tree nodes for each sub-graph according to a division process, constructing a boundary node set and a joint boundary node set, and constructing a complete tree structure;
(33) Determining a layer capable of completely building the shortcuts according to N λ and the storage overhead of the possible shortcuts in each layer, building all the possible shortcuts in the layer, and evaluating the possible shortcuts by using several indexes of profit, use frequency, return and storage space for the unsatisfied layer, wherein the profit of the shortcuts connecting two nodes N i and N j is defined as:
Where TP i,j represents the path of every two consecutive nodes in the tree from nodes N i to N j, the path being a combination of the sub-path of N i to LCA and the sub-path of N j to LCA, (N x,Ny) for each pair represents two consecutive pairs of nodes in the path TP i,j, |B x | and |B y | represent the number of elements in the set of boundary nodes of nodes N x and N y, respectively, |B i | and |B j | represent the number of elements in the set of boundary nodes of nodes N i and N j, respectively;
The frequency of use of shortcut connecting two nodes N i and N j is:
wherein |V i | and |V j | respectively represent the number of nodes in the subgraph corresponding to the nodes N i and N j, and |V| represents the number of nodes in the whole road network;
the return of shortcut connecting two nodes N i and N j is:
ri,j=gi,j·pi,j
Where g i,j represents the benefit of shortcut connecting two nodes N i and N j, and p i,j represents the frequency of use of shortcut connecting two nodes N i and N j;
The memory space of the shortcut connecting the two nodes N i and N j is:
wi,j=|Bi|·|Bj|
Wherein |b i | and |b j | represent the number of elements in the boundary node sets of nodes N i and N j, respectively;
by evaluating all possible shortcuts of the unsatisfied layer, constructing the following optimization strategy and sequentially selecting the shortcuts to be constructed according to the order of unit values from high to low in a greedy manner until the space overhead constraint n λ is met;
(34) Calculating distance values in all distance matrixes and distance matrixes corresponding to shortcuts in a full layer by a Folyd method, calculating distance values in all shortcuts in the full layer by a dynamic programming method, and arranging the shortcuts in all nodes in ascending order according to the minimum value in the corresponding shortcuts distance matrix.
5. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (4), the shortest path distance query procedure comprises:
(41) Given two nodes v i and v j, the highest level node in the tree where nodes v i and v j are located is calculated using the highest level node function, and the highest level node hn (v i, l) of node v i is defined as:
Where l is a given hierarchical constraint, leaf (v i) is the leaf node where node v i is located, B j is the set of boundary nodes for node N j, N j. Level is the layer where node N j is located;
Finding the lowest common ancestor node LCA corresponding to the hn (v i, l) and the hn (v j, l) and available shortcuts, if the LCA is located in a lower layer than the available shortcuts, using the LCA to connect two tree nodes to a sub-path of the LCA as a query path in a tree, otherwise using the shortcuts to connect two tree nodes to the sub-path of the LCA as a query path in the tree;
(42) On the obtained path in the tree, the shortest path distance between the nodes v i and v j is obtained by using a dynamic programming method, and the specific process is to calculate and cache the shortest path distance between the node v i and all boundary nodes of the next node in the path each time until the shortest path distance between the node v i and the node v j is calculated finally.
6. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (5), the k-nearest neighbor query procedure comprises:
(51) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(52) Starting from the leaf node where the query position v q is located, a bottom-up expansion mode is used first, the search range is expanded to a child region corresponding to a father node each time, only the region containing the target object is searched during expansion, and the region not containing the target object is skipped. When reaching the layer of the fully built shortcut, the expansion is performed based on the shortcut from near to far according to the distance between nodes, and the distance between the nodes is defined as:
Where |b i | and |b j | denote the number of elements in the set of boundary nodes of nodes N i and N j respectively, Representing the shortest path distance of boundary nodes b i and b j;
The nearest node is selected according to the distance between nodes from small to large, and the distance between the query position and the node is calculated and expressed as:
Then find out the satisfaction from near to far In the formula (I)Ancestor nodes in the full-built shortcut layer, denoted v q, are added to the search area at the same time if they further satisfy Dist (v q,Nj)≤Dist(vq,Ni), and the search process is repeated until the search area is not expandable again when the search area is the whole road network, and the search is ended when k target objects are contained in the result set in the search process.
7. The road network indexing method supporting multiple types of queries according to claim 1, wherein in step (6), the range query process comprises:
(61) According to a given target object set C, identifying leaf nodes containing target objects in the tree and ancestor nodes of the leaf nodes as candidate nodes;
(62) Starting from the leaf node where the query position v q is located, using a two-stage expansion strategy from bottom to top and from near to far, discarding the region when the distance from the query position to a sub-graph is greater than the search distance condition during expansion, stopping searching when the whole search range is greater than the search distance condition, and finally returning all the found target objects.
8. A road network indexing system supporting multiple types of queries, comprising the following modules:
Definition module of the concept related to the road network model and the query model, wherein the definition module comprises a road network represented as a weighted undirected graph, a road network divided representation, a boundary node definition and query models in three road networks: shortest path distance query Q spsp(vi,vj), k neighbor query Q knn(vq, C, k), range query Q range(vq, C, d);
The definition module of the road network index SCG-tree structure defines the structure of the road network index SCG-tree according to the definition of the road network, the representation of road network division and the definition of boundary nodes, wherein the structure is a hierarchical tree structure, a plurality of shortcuts exist in the tree, each node corresponds to a subgraph in the road network, each node in the tree is provided with a boundary node set, a joint boundary node set or subgraph node set, a shortcut set and a distance matrix, and each shortcut corresponds to a shortcut distance matrix;
The road network definition module is used for giving a road network according to the structure of a defined road network index SCG-tree, constructing a tree structure through iterative graph division, evaluating and selecting a shortcut through a plurality of indexes of benefits, use frequency, return and storage space, and finally calculating a distance matrix and a shortcut distance matrix respectively, and constructing the index SCG-tree through the processes;
The shortest path distance query module, based on the structure of the road network index SCG-tree, gives a shortest path distance query Q spsp(vi,vj, firstly finds a query path of a starting position and a termination position in the index SCG-tree, wherein the path comprises a combination of two sub paths from leaf nodes containing v i and v j to LCA or a shortcut respectively, and then obtains a result of the shortest path distance query by using a dynamic programming method according to the query path;
The k-nearest neighbor query module is used for giving a k-nearest neighbor query Q knn(vq, C and k based on the structure of a road network index SCG-tree, firstly identifying nodes with target objects in a tree, then gradually expanding the search range by using a two-stage expansion strategy from bottom to top and from near to far, only searching the nodes with target objects in the process, excluding the nodes without target objects until the nearest k objects are found, and finally returning a query result;
The range query module, based on the structure of the road network index SCG-tree, gives a range query Q range(vq, C, d), firstly identifies the node with the target object in the tree, then uses a two-stage expansion strategy from bottom to top and from near to far to gradually increase the search range, pruning the node when the distance from the search position to the node is greater than the distance condition d in the search, early stopping when the minimum distance from the search position to the boundary of the current search area is greater than the distance condition d, and finally returning the query result meeting the condition.
9. A computer device, characterized by: the computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the road network indexing method supporting multiple types of queries as claimed in any of claims 1-7 when the processor executes the computer program.
10. A computer-readable storage medium, characterized by: the computer readable storage medium stores a computer program for performing the road network indexing method supporting multi-type queries as claimed in any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410439901.4A CN118445318A (en) | 2024-04-12 | 2024-04-12 | Road network indexing method supporting multi-type query |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410439901.4A CN118445318A (en) | 2024-04-12 | 2024-04-12 | Road network indexing method supporting multi-type query |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118445318A true CN118445318A (en) | 2024-08-06 |
Family
ID=92332291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410439901.4A Pending CN118445318A (en) | 2024-04-12 | 2024-04-12 | Road network indexing method supporting multi-type query |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118445318A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118760696A (en) * | 2024-09-05 | 2024-10-11 | 烟台大学 | Multi-target continuous searching method and system in road network environment |
-
2024
- 2024-04-12 CN CN202410439901.4A patent/CN118445318A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118760696A (en) * | 2024-09-05 | 2024-10-11 | 烟台大学 | Multi-target continuous searching method and system in road network environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102693266B (en) | Search for method, the navigation equipment and method of generation index structure of database | |
CN112181991B (en) | Earth simulation system grid remapping method based on rapid construction of KD tree | |
US8935096B2 (en) | Apparatus for fast path search by learning heuristic function and method thereof | |
Anwar et al. | Capturing the spatiotemporal evolution in road traffic networks | |
CN106897374B (en) | Personalized recommendation method based on track big data nearest neighbor query | |
CN111325338A (en) | Neural network structure evaluation model construction and neural network structure search method | |
CN108549696B (en) | Time series data similarity query method based on memory calculation | |
CN106095920A (en) | Distributed index method towards extensive High dimensional space data | |
CN118445318A (en) | Road network indexing method supporting multi-type query | |
Liu et al. | FHL-cube: multi-constraint shortest path querying with flexible combination of constraints | |
CN109992590B (en) | Approximate space keyword query method and system with digital attributes in traffic network | |
KR100963352B1 (en) | Indexing method of trajectory data and apparatus using the method | |
CN103345509B (en) | Obtain the level partition tree method and system of the most farthest multiple neighbours on road network | |
CN113449052A (en) | Method for establishing spatial index, method and device for querying spatial region | |
CN105005627A (en) | Shortest path key node query method based on Spark distributed system | |
Goncalves et al. | Making recommendations using location-based skyline queries | |
CN113849498B (en) | Index construction and query method | |
Yoo et al. | Finding N-most prevalent colocated event sets | |
Bachiega et al. | An architecture for cost optimization in the processing of big geospatial data in public cloud providers | |
Huang et al. | Processing continuous K-nearest skyline query with uncertainty in spatio-temporal databases | |
US8645402B1 (en) | Matching trip data to transportation network data | |
Shaw et al. | Efficient approximation of spatial network queries using the m-tree with road network embedding | |
CN110688492B (en) | Knowledge graph query method based on lightweight index | |
CN110069592A (en) | The searching method that spatial key applied to electronic map is inquired | |
CN113722551A (en) | Frequent subgraph index method and device applied to frequent subgraph query |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |