CN114254213A - Top-k path sequence query method and system under multiple backgrounds - Google Patents

Top-k path sequence query method and system under multiple backgrounds Download PDF

Info

Publication number
CN114254213A
CN114254213A CN202111600508.1A CN202111600508A CN114254213A CN 114254213 A CN114254213 A CN 114254213A CN 202111600508 A CN202111600508 A CN 202111600508A CN 114254213 A CN114254213 A CN 114254213A
Authority
CN
China
Prior art keywords
time
node
road
path
nodes
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
Application number
CN202111600508.1A
Other languages
Chinese (zh)
Inventor
李艳红
冯雨
冯禹鹤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South Central Minzu University
Original Assignee
South Central University for Nationalities
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by South Central University for Nationalities filed Critical South Central University for Nationalities
Priority to CN202111600508.1A priority Critical patent/CN114254213A/en
Publication of CN114254213A publication Critical patent/CN114254213A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2474Sequence data queries, e.g. querying versioned data

Abstract

The invention discloses a Top-k path sequence query method and a system under multiple backgrounds, which relate to the field of path planning, and the method comprises the steps of defining a time-dependent road network based on a time function, and defining the time function, a strategy sequence and road attributes of the time-dependent road network; connecting adjacent nodes of the intersection nodes to obtain an intersection connection table; establishing a vertex index for each node in the time-dependent road network to form a vertex index set; inquiring adjacent strategy points of road nodes to obtain a plurality of paths which can reach the strategy points; defining the domination relation among the paths, and obtaining an optimal path sequence set containing a preset number of optimal paths based on a path domination algorithm under the multi-background road network. The method can improve the efficiency of road query and efficiently realize Top-k path sequence query in a time-dependent road network under multiple backgrounds.

Description

Top-k path sequence query method and system under multiple backgrounds
Technical Field
The invention relates to the field of path planning, in particular to a Top-k path sequence query method and a Top-k path sequence query system under multiple backgrounds.
Background
With the rapid development of mobile networks and GPS (Global Positioning System) technology, people can more easily obtain more detailed road information than before, and meanwhile, the accuracy of road network matching is improved by a large amount of high-precision track data. The increasing variety and number of vehicles brings more alternative routes for people to travel, and the functions of various navigation services, which give a travel path between a designated source point and destination point by calculation, are becoming more sophisticated. The query of the road network is also expanded from the path query that each road on the traditional road network has a fixed weight to the path query on the dynamic road network that the weight of the path on the road network changes along with the time; in query, the static weight (e.g., distance) and the dynamic weight (e.g., travel time, fuel consumption, travel cost, etc.) are also often used as the basis for Top-k ranking of each path. In a real road network, the optimal paths between the same set of source points and destinations are different when queries are made at different times, because the difference in query times results in a change in the dynamic weights required for the same path.
When the time-dependent road network is queried, the optimal path under the current condition cannot be obtained frequently, in the normal travel process, the road traffic condition is changed along with the time, the weather, the holidays and other factors, and in addition, the self attributes (such as expressways, main roads, branches and the like) of roads can also influence the selection of the people. Different degrees of congestion often occur in early peak hours and late peak hours of a working day, and how to reasonably plan a path to bypass a congested road section in a peak hour or reduce the number of the congested road sections as much as possible is a great challenge. The driving speed is affected by weather conditions, for example, the driving speed in rainy and snowy days and in heavy foggy days becomes slow, so that the whole travel time becomes long, the selection of road attributes is changed, the time for reaching each node is changed, and the subsequently planned path has to be adjusted. In addition, there are time-limited traffic lanes, which are also taken into account during the inquiry. Therefore, under different query times and weather backgrounds, the results obtained after the user initiates the path query are different, and a more excellent query result can be obtained only by combining the current time-dependent road network, the weather factor and the road attribute in the query process.
Optimal path sequence query is also a long-standing research hotspot, finding a path with minimal dynamic cost or static cost through different strategy sequences (such as restaurant → gas station → movie theatre). This query approach has many practical applications in route planning, crisis management, supply chain management, and logistics transportation. The OSR (Optimal sequential routing) query only considers finding the shortest path sequence on the static road network, and the Top-k Optimal sequential routing query considers the situation that each person has different preferences for the same policy point, as shown in fig. 1, for example, the cost from the starting point s to supermarket a is 15, the cost to supermarket b is 20, but supermarket b has a discount activity, and at this time, if only the shortest path is recommended, the query may not meet the preferences of the user, so the query may return the first k Optimal paths meeting the given policy sequence. However, these query methods are only applicable to static road networks, and are not considered on time-dependent road networks with multiple backgrounds, and Top-k paths obtained when users query with the same strategy sequence under different backgrounds are different.
For a time-dependent road network with multiple backgrounds, the following problems need to be faced in the implementation process: (1) how to integrate the weather attribute and the road attribute into a time-dependent road network; (2) how to handle important traffic nodes such as crossroads; (3) how to perform efficient queries at different temporal contexts; (4) how to filter unnecessary exploration paths so as to effectively improve the path query efficiency.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a Top-k path sequence query method and a Top-k path sequence query system under multiple backgrounds, which can improve the efficiency of road query and efficiently realize the Top-k path sequence query in a time-dependent road network under multiple backgrounds.
In order to achieve the above object, the Top-k path sequence query method under multiple backgrounds provided by the present invention specifically includes the following steps:
defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network, and defining time-dependent road network path sequence query by taking a weather factor as a query condition;
preprocessing the intersection nodes of the road network by combining the time-dependent road network based on an intersection end point connection algorithm, and connecting adjacent nodes of the intersection nodes to obtain an intersection connection table;
establishing a vertex index for each node in a time-dependent road network to form a vertex index set, wherein the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can be reached by the current node and a time function and road attributes of a road which passes through when the adjacent nodes are reached;
according to the adjacent strategy point query algorithm, vertex indexes established for each node in the time-dependent road network are integrated, and adjacent strategy points of road nodes are queried to obtain a plurality of paths which can reach the strategy points;
defining the domination relation among the paths, and inputting a source point, a destination, departure time, a strategy sequence, weather during departure and a required path sequence number of a query based on a path domination algorithm under the multi-background road network to obtain an optimal path sequence set containing the optimal paths with preset number.
On the basis of the above technical solution, the time-dependent road network specifically includes:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a different strategy point in the road network, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence time boxNumber Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
On the basis of the above technical solution, the time-dependent road network is defined by a time function, a strategy sequence and road attributes, wherein:
the definition process of the time function is as follows:
defining a time function f on a time-dependent networke(t) is a discrete function, and each edge e ═ v (v) in the time-dependent road networki,vj)∈EmAll have a time function fe(ti)=teIs used to indicate at time tiSlave node viInitiating a query to reach node vjThe required time is te
The definition process for the policy sequence is:
in a real road network, each node has a policy attribute, a set of policy attributes of all vertices on the road network is a policy set S, and when nodes are visited in sequence by a specific sequence in the travel process, the sequence is called a policy sequence C, and the policy sequence C is called a policy sequence C<C1,C2,...,Cj>Indicates that C is required in the process of query1,C2,...,CjThis sequence accesses in turn j corresponding attribute policy points, CjRepresenting the jth policy point attribute, for each policy attribute in the policy sequence there is Ci∈S(1≤i≤j),CiRepresenting the ith strategy point attribute;
the definition process for the road attribute is as follows:
connection path between two nodes e ═ vi,vj) Then, the road attribute R (e) of the route e is Ri,RiIndicating the road attribute of the route e.
On the basis of the technical proposal, the device comprises a shell,
the influence of the weather factors on road selection comprises traffic influence and travel time influence;
defining a weather factor influence coefficient for representing the influence of different weather on the running time of the roads with different attributes, wherein the weather factor influence coefficient is the ratio of the running time of a certain attribute road in normal weather to the running time of the same attribute road when the weather is w, and w represents the weather type.
On the basis of the technical scheme, the concrete steps of obtaining the intersection connection table comprise:
sequentially traversing nodes v of road networkiIf node viIf there is a crossing node v in the adjacent points, the node v will be connectediThe edge of the intersection node v is e1
Traversing each adjacent node v of intersection nodes vjLet the edge e2I.e. (v, v)j) Join to tuple eiIn (1), a new path is formed<vi,v,vj>;
Will be edge e1And edge e2And merging the time functions, and reserving the road attribute to obtain the intersection connection table.
On the basis of the technical scheme, the reverse connection lookup table specifically comprises:
Lin(vj)=(vi,fe(t),R(e))
wherein L isin(vj) Indicating a reverse connection look-up table, Lin(vj) In, viIndicating that node v can be reachedjThe edge e ═ vi,vj),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
On the basis of the above technical solution, the forward connection lookup table specifically includes:
Lout(vj)=(vi,fe(t),R(e))
wherein L isout(vj) Indicating a forward link look-up table, Lout(vj) In, viRepresenting a node vjReachable node, edge e ═ vj,vi),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
On the basis of the technical scheme, the method comprises the following specific steps of inquiring the adjacent strategy points of the road nodes according to the adjacent strategy point inquiry algorithm by integrating the vertex indexes established for each node in the time-dependent road network to obtain a plurality of paths which can reach the strategy points, wherein the specific steps comprise:
inputting the initial node v to be inquired currentlyiNode v to be queriediThe method comprises the following steps of (1) adjacent strategy attributes, query time t and current weather w;
establishing a path set BIFS _ list, wherein the path set BIFS _ list is used for storing a node viAll paths to the next policy attribute node and the tuple consisting of the arrival time;
traversing all nodes in the road network, and finding out the node v with the strategy attribute as the target attribute CjStarting a loop, repeatedly traversing the node viForward link look-up table Lout(vi) And node vjReverse connection look-up table Lin(vj) Finding a node va∈Lout(vi) And node vb∈Lin(vj) When v isa=vjTime, node viThe next adjacent node is the required strategy point, the connecting node viAnd node vj(ii) a When v isa=vbConnecting nodes, paths<vi,va,va,vj>Obtaining a path for the query; otherwise, the node v is connectedaAs the next query node Lout(vi) Inquiring until all nodes are traversed;
inquiring to obtain the road attribute R (v) under the current weather wi,vj) Obtaining corresponding weather factor influence coefficient according to road attribute and weather
Figure BDA0003432963070000061
Calculating to obtain the time of reaching the next strategy point, and adding the path into a path set BIFS _ list;
and sorting the paths in the path set BIFS _ list according to the sequence of the arrival time from low to high to obtain a sorted path set BIFS _ list, and selecting the kth path which can reach the strategy point according to the sorted path set BIFS _ list.
The invention provides a Top-k path sequence query system under multiple backgrounds, which comprises:
the system comprises a definition module, a time function module and a query module, wherein the definition module is used for defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network and defining the time-dependent road network path sequence query by taking a weather factor as a query condition;
the connection module is used for preprocessing the intersection nodes of the road network based on an intersection end point connection algorithm and in combination with the time-dependent road network, and connecting the adjacent nodes of the intersection nodes to obtain an intersection connection table;
the system comprises an establishing module, a searching module and a judging module, wherein the establishing module is used for establishing a vertex index for each node in a time-dependent road network to form a vertex index set, the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the adjacent node is reached;
the query module is used for querying the adjacent strategy points of the road nodes according to the adjacent strategy point query algorithm and by integrating the vertex indexes established for each node in the time-dependent road network to obtain a plurality of paths which can reach the strategy points;
and the determining module is used for defining the domination relationship among the paths, inputting a source point, a destination, a departure time, a strategy sequence, weather during departure and a required path sequence number of the query based on a path domination algorithm under the multi-background road network, and obtaining an optimal path sequence set containing the optimal paths with the preset number.
On the basis of the above technical solution, the time-dependent road network specifically includes:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a different strategy point in the road network, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence of a function of time Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
Compared with the prior art, the invention has the advantages that: firstly, simplifying the complex query problem caused by the existence of crossroads by a crossroad connection algorithm, secondly establishing forward and reverse query label indexes of nodes, taking the connection label indexes as a basic algorithm for querying proximity strategy points, and finally, providing a pruning algorithm based on path domination, and reasonably pruning according to the path domination relationship among roads so as to improve the efficiency of road query and efficiently realize Top-k path sequence query in a time-dependent road network under multiple backgrounds.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a road network according to an embodiment of the present invention;
FIG. 2 is a flowchart of a Top-k path sequence query method under multiple contexts according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an intersection according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
Referring to fig. 2, a Top-k path sequence query method under multiple backgrounds provided by the embodiment of the present invention specifically includes the following steps:
s1: defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network, and defining time-dependent road network path sequence query by taking a weather factor as a query condition;
the path weights of the time-dependent road network are mostly expressed by simple discrete functions, and the expression mode can make the expression of the path weights more diversified and intuitive, so the path weights of the time-dependent road network are expressed by adopting the time functions.
S2: preprocessing the intersection nodes of the road network by combining the time-dependent road network based on an intersection end point connection algorithm, and connecting adjacent nodes of the intersection nodes to obtain an intersection connection table;
s3: establishing a vertex index for each node in a time-dependent road network to form a vertex index set, wherein the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can be reached by the current node and a time function and road attributes of a road which passes through when the adjacent nodes are reached;
s4: according to the adjacent strategy point query algorithm, vertex indexes established for each node in the time-dependent road network are integrated, and adjacent strategy points of road nodes are queried to obtain a plurality of paths which can reach the strategy points;
s5: defining the domination relation among the paths, and inputting a source point, a destination, departure time, a strategy sequence, weather during departure and a required path sequence number of a query based on a path domination algorithm under the multi-background road network to obtain an optimal path sequence set containing the optimal paths with preset number.
In the embodiment of the present invention, the time-dependent road network specifically includes:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a different strategy point in the road network, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence of a function of time Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
That is, a time-dependent road network under multiple backgrounds can be described as Gm=(Vm,Em,Fm,Cm,Rm). Referring to fig. 1, the policy attributes are nodes a and c of a supermarket, the policy attributes are nodes B and d of a bank, the policy attributes are nodes e and f of a restaurant, the nodes a and B represent intersections of intersections, and the nodes s and t represent source points and destinations, respectively.
In the embodiment of the present invention, a time function, a strategy sequence and a road attribute are defined for the time-dependent road network, where:
(1) the definition process of the time function is as follows:
defining a time function f on a time-dependent networke(t) is a discrete function, and each edge e ═ v (v) in the time-dependent road networki,vj)∈EmAll have a time function fe(ti)=teIs used to indicate at time tiSlave node viInitiating a query to reach node vjThe required time is te
Time function f of paths on time-dependent road networke(t) is a simple discrete function, and in actual traffic conditions, the time-dependent function of the vehicle traffic flow on the same path follows a first-in first-out characteristic. In a real road network, the traffic conditions of roads are often distributed according to a certain rule along with time;
for fe(ti)=teCan also be expressed as
Figure BDA0003432963070000101
I.e. at node vjTime of departure minus at node viAnd at node vjTime of stay to reach node vjCan be expressed as Arr (v)j)=ti+fe(ti),Arr(vj) Representing an arriving node vjThe time of (d);
a path p is typically a set of edges p ═<e1=(v1,v2),e2=(v2,v3),...,ek=(vi,vj)>The travel time may be represented as trt (p) ═ Arr (v)j)-tiTrt (p) represents the travel time of the route p;
(2) the definition process for the policy sequence is:
in a real road network, each node has a policy attribute, a set of policy attributes of all vertexes on the road network is a policy set S, and a specific sequence is used for sequentially visiting the nodes in a trip process, so that the sequence is called a policy sequenceC, strategy sequence C ═<C1,C2,...,Cj>Indicates that C is required in the process of query1,C2,...,CjThis sequence accesses in turn j corresponding attribute policy points, CjRepresenting the jth policy point attribute, for each policy attribute in the policy sequence there is Ci∈S(1≤i≤j),CiRepresenting the ith strategy point attribute;
in a real road network, each node often has different policy attributes, such as restaurants, gas stations, movie theaters and the like, and a set of the policy attributes of all nodes on the road network is called a policy set S; defining | C | as the total number of strategies in the strategy sequence, and | C |iI is a policy attribute of CiThe number of nodes of (c);
(3) the definition process for the road attribute is as follows:
connection path between two nodes e ═ vi,vj) Then, the road attribute R (e) of the route e is Ri,RiIndicating the road attribute of the route e.
The road attribute may be classified into an expressway, a trunk road, a branch road, a residential road, and the like, for example, for a road attribute set R ═ R<R1,R2,R3>Each of which stands for highway, trunk and branch, e.g. e ═ s, a, with R (e) ═ R3This road from node s to node a is denoted as a branch.
In the embodiment of the invention, the influence of weather factors on road selection comprises traffic influence and travel time influence; defining a weather factor influence coefficient for representing the influence of different weather on the running time of the roads with different attributes, wherein the weather factor influence coefficient is the ratio of the running time of a certain attribute road in normal weather to the running time of the same attribute road when the weather is w, and w represents the weather type.
The influence of weather conditions on daily trip schemes is large, so that the influence of weather on road selection is generally divided into two types: the first is traffic influence, in extreme weather conditions, people can give up roads with some attributes, for example, in rainy and snowy weather, people often cannot select a highway when going out; the second is a travel time influence, where different weather conditions have different influences on the travel time of roads with different attributes, for example, the travel speed on a road with different attributes in rainy days is slower than that in normal weather, so that the overall travel time is longer, the time to reach the next policy point (node) is also changed, and the subsequent path expansion is also influenced.
For example, the travel time of a road of a certain attribute in normal weather is
Figure BDA0003432963070000111
When the weather is w, the travel time of the path is
Figure BDA0003432963070000112
Weather factor influence coefficient
Figure BDA0003432963070000113
I.e. the velocity influence ratio
Figure BDA0003432963070000114
The coefficient reflects the influence of different weather on the driving time of roads with different attributes, and an influence coefficient set delta (delta) is established for the influence coefficient delta of the weather factor1,δ2,...,δn) Delta in the setnRepresenting the influence coefficients under different weather and road properties.
For example, for time-dependent road network G in multiple contextsm=(Vm,Em,Fm,Cm,Rm) The query in (C) above may be defined as Q ═ s, d, t, C, w, k, which indicates that, when the time t and the weather condition are w, the first k path sets from the vertex s to the vertex d and with less travel time are found
Figure BDA0003432963070000121
Assuming that the set of influence coefficients of weather at the time of query is δ ═ (δ)1,δ2,...,δn) Then each path in the set of paths
Figure BDA0003432963070000122
The travel time can be expressed as
Figure BDA0003432963070000123
For Path Presence in Path set ζ
Figure BDA0003432963070000124
At the same time, the path
Figure BDA0003432963070000125
And v1=s,vqThe vertex traversed by d needs to satisfy the requirements of the policy sequence.
For example, a Top-k path sequence query Q ═ in a multiple context is initiated (s, t, 10:00,<su,ba,re>suw, 2), su shows supermarket, ba shows bank, re shows restaurant, snow shows weather is snow day, query returns from node s at 10:00 am on snow day, passes through supermarket, bank, restaurant, the policy sequence reaches the end point and takes 2 paths before the time, see fig. 1, multiple paths P conforming to the policy sequence can be obtained1=<s,a,d,f,t>、P2=<s,A,c,d,B,e,t>、P3=<s,a,A,b,e,t>Assuming that the traveling on snowy days does not pass through the highway, the influence coefficients delta of the weather on the main road and the branch road are 0.6 and 0.5 respectively, and the stay time at each strategy point does not exceed one hour, then due to P1Passing through the highway, pruning can be carried out, P2And P3Respectively Trt (P)2)=216、Trt(P3) 247, so the set of query paths is returned as { P2,P3}。
In the embodiment of the invention, the concrete steps of obtaining the intersection connection table comprise:
s201: sequentially traversing nodes v of road networkiIf node viIf there is a crossing node v in the adjacent points, the node v will be connectediThe edge of the intersection node v is e1
S202: traversing each adjacent node v of intersection nodes vjLet the edge e2I.e. (v, v)j) Join to tuple eiIn (1), a new path is formed<vi,v,vi>;
S203: will be edge e1And edge e2And merging the time functions, and reserving the road attribute to obtain the intersection connection table. By using the obtained intersection connection table IEL _ list, the time function and road attribute from the intersection starting point to the intersection connection point can be directly obtained during query processing.
The intersection is an important road form in a road network, and as an intersection of two roads, the intersection plays a great role in traffic trip, and at present, more and more algorithms are used for searching and reasonably calibrating the intersection on the real-time road network. However, in the conventional path query paper, the intersection is not well processed, and even the existence of the road attribute of the intersection is ignored, so the invention provides an effective algorithm for processing the special road condition.
Because of the special feature of connecting multiple roads at the intersection, it cannot be directly processed, see fig. 3, which shows a cross intersection and its topological graph in the road network, in fig. 3, the central point of the cross intersection is a, and the vertices on the roads passing through the point can all be connected to each other, for example, there are three paths from point a through the central point a:<a,A,b>、<a,A,c>、<a,A,d>in the inquiry process, if traversing the adjacent points of each crossroad brings unnecessary calculation time and affects the real-time inquiry processing, therefore, the invention preprocesses the crossroad in the step, connects the adjacent points, and establishes the method as (A), (B), (C) and (D) (C) in the step<a,A,b>,faAb(t),2),(<a,A,c>,faAc(t),2),(<a,A,d>,faAd(t, 2)) a connection table in which faAb(t)、faAc(t)、faAd(t) each represent a function of time over the respective current path.
In the embodiment of the present invention, the reverse connection lookup table specifically includes:
Lin(vj)=(vi,fe(t),R(e))
wherein L isin(vj) Indicating a reverse connection look-up table, Lin(vj) In, viIndicating that node v can be reachedjThe edge e ═ vi,vj),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
The forward connection lookup table specifically includes:
Lout(vj)=(vi,fe(t),R(e))
wherein L isout(vj) Indicating a forward link look-up table, Lout(vj) In, viRepresenting a node vjReachable node, edge e ═ vj,vi),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
The actual road network scale is often large, a large amount of time is consumed in the query process, and in order to improve the query processing efficiency, the method establishes the label index set for the nodes in the road network graph to assist in query. The reachable nodes of all the nodes occupy more storage space in the processing process, especially the space overhead is huge when the reachable nodes are used on a large-scale road network in reality, and the influence of weather on the road is difficult to calculate due to the combination of roads with different attributes, so that the method can only connect the road junction nodes, and establish a label index set for other nodes.
In the embodiment of the invention, according to an adjacent strategy point query algorithm, vertex indexes established for each node in a time-dependent road network are integrated, and adjacent strategy points of road nodes are queried to obtain a plurality of paths which can reach the strategy points, and the specific steps comprise:
s401: inputting the initial node v to be inquired currentlyiNode v to be queriediThe method comprises the following steps of (1) adjacent strategy attributes, query time t and current weather w; after the vertex index set of each node in the road network graph is obtained, the vertex index set can be established according to the node index setTwo labels L ofout(v) And Lin(v) And inquiring the adjacent strategy points of the road nodes.
S402: establishing a path set BIFS _ list, wherein the path set BIFS _ list is used for storing a node viAll paths to the next policy attribute node and the tuple consisting of the arrival time;
s403: traversing all nodes in the road network, and finding out the node v with the strategy attribute as the target attribute CjStarting a loop, repeatedly traversing the node viForward link look-up table Lout(vi) And node vjReverse connection look-up table Lin(vj) Finding a node va∈Lout(vi) And node vb∈Lin(vj) When v isa=vjTime, node viThe next adjacent node is the required strategy point, the connecting node viAnd node vj(ii) a When v isa=vbConnecting nodes, paths<vi,va,va,vj>Obtaining a path for the query; otherwise, the node v is connectedaAs the next query node Lout(vi) Inquiring until all nodes are traversed;
s404: inquiring to obtain the road attribute R (v) under the current weather wi,vj) Obtaining corresponding weather factor influence coefficient according to road attribute and weather
Figure BDA0003432963070000151
Calculating to obtain the time of reaching the next strategy point, and adding the path into a path set BIFS _ list; is calculated by the formula
Figure BDA0003432963070000152
S405: and sorting the paths in the path set BIFS _ list according to the sequence of the arrival time from low to high to obtain a sorted path set BIFS _ list, and selecting the kth path which can reach the strategy point according to the sorted path set BIFS _ list.
When v isa=vbThen, it is necessary to carry out routing on both ends (v)i,va) And (v)a,vj) Connecting, calculating the path set by using the formula, and adding (p, t) into the path set BIFS _ list after processing; when the adjacent point is not searched, v isaIs added to the next Lout(vi) The item is queried in the above way while preserving the path<vi,va>And reaches vaT, all L are traversed in the above mannerout(vi) And Lin(vj) And (4) sorting all strategy point paths which can reach the corresponding attributes and are found finally according to the arrival time from low to high to obtain a sorted path set BIFS _ list, and then selecting the kth path which can reach the strategy points according to the sorted path set.
In the present invention, as for the dominance relationship between paths, for example, in fig. 1, there are two paths p1=<s,a,d>And p2=<s,A,c,d>When the query is made at a certain time t with the weather w, the travel time of the two paths is Trt (p)1)=25,Trt(p2) In this context, it can be seen that path p is 401Required travel time ratio p2Less, so path p can be considered in this context1Dominating path p at node d2
In a multi-background road network, when the weather is assumed to be w, starting at a certain time t, a policy sequence C is satisfied<C1,C2,...,Cj>The path set of (1) comprises two paths
Figure BDA0003432963070000153
If it is not
Figure BDA0003432963070000154
And Trt (p)1)≤Trt(p2) Then say path p in the context of time tmeaty w1At the vertex
Figure BDA0003432963070000155
To the dominant path p2Can be represented as p1<p2Term "p1For dominant or skyline paths, called p2Is the dominated path.
After a set of dominant route and dominated route is obtained, road expansion can be continued on the basis of the dominant route in priority, and road expansion on the dominated route is not considered for the moment. Assume two paths
Figure BDA0003432963070000161
And
Figure BDA0003432963070000162
existence of dominating relationship p1<p2,Trt(p1)≤Trt(p2) After the two paths are continuously expanded on the basis of meeting the strategy sequence, the two expanded paths are obtained
Figure BDA0003432963070000163
Figure BDA0003432963070000164
And the expansion paths of the two paths are both p*=<vi+1,vi+2,...,t>. The travel time of the post-expansion route may be represented as Trt (p'1)=Trt(p1)+Trt(p*) And Trt (p'2)=Trt(p2)+Trt(p*) Because the travel time of the two routes on the extended route is the same, and the route p1And p2Since there is a dominant relationship, Trt (p'1)≤Trt(p′2). By the method, after the expansion path of the dominant path becomes the Top-k optimal path sequence, the dominant path is expanded, and because the expansion path generated by the dominant path is not superior to the path obtained by the expansion of the dominant path, after an optimal path is found, the dominant path is searched, and whether the expansion path of the path can become the next optimal path is calculated. The method for pruning in the query process can greatly reduce the calculation times and improve the qualityAnd searching efficiency.
When the path domination algorithm is used on the time-dependent road network, the algorithm may fail, because when the query is performed on the time-dependent road network, the difference of the query time background may cause the spent travel time to be different. Suppose two paths p1,p2Existence of dominating relationship p1<p2When the query time is t, the travel time of the two routes is Trt (p)1) And Trt (p)2) When the two roads are expanded, the time for initiating the query is t1=t+Trt(p1),t2=t+Trt(p2) From the dominance relation, t1≤t2. When t is1=t2At path p*Query time is the same in the upper extension, so Trt (p'1)=Trt(p′2) Must be true. But when t is1<t2For time function on extended path
Figure BDA0003432963070000165
Because the query time background is different, we cannot determine
Figure BDA0003432963070000166
And
Figure BDA0003432963070000167
the relationship between the two expanded path weights Trt (p'1),Trt(p′2) The magnitude relationship between them. This path-dominant relationship is therefore not applicable to the scenario described above.
In real life, the time function generated on the time-dependent road network is generally a linear function with a slow gradient, and the travel time does not change too much in a short time. When the background time difference of two queries is within an acceptable range, we can consider that the different query times do not affect the expansion after the dominant path, so a threshold value xi is set, and when the weight difference between the dominant path and the dominated path is less than the threshold value, i.e. Trt (p)2)-Trt(p1)≤Xi, we ignore the influence of different time backgrounds; when the threshold is exceeded, the two paths are considered to be not in a dominant relationship.
In the present invention, the Top-k path query algorithm based on the dominance relationship specifically includes the following steps:
for a Top-k path sequence query Q ═ (s, d, t, C, w, k) in a multiple background, the algorithm inputs the query's source and destination (s, d), departure time t, and policy sequence C ═<C1,C2,...,Cj>The weather w when the vehicle starts and the required path sequence number k, and outputting the first k optimal path sequence sets MCDR _ L. First, establish an initial query queue Q ←: (<s>T, 1), starting from the start s, the first sequence of paths at time t is queried. And then each node V E V establishes a dominant table and a dominated table V<cAnd v.HT>cAnd initializes both tables to null. The initialization query sequence set MCDR _ L is empty and the policy identification num is defined to be 0. When the query is started, it is first determined whether the queue Q is empty, and the number of sequences in the list L cannot be more than k. We mark the node popped from queue Q as ρ ═ (p ═<v0,v1,...,vi>T, x), wherein p ═<v0,v1,...,vi>Is a current path sequence which is already traveled, and t is a slave point viThe time of departure, x, represents the weighted ranking of the selected route from the last strategic point to the next. For the current path sequence p ═<v0,v1,...,vi>First from point viExpanding, searching the nearest vertex meeting the policy requirement C, and recording the found point as vi+1. If v isi+1Node domination table vi+1,HT<cFor an empty set, the expanded path p is defined as<v0,v1,...,vi,vi+1>Joining to node dominance table vi+1,HT<cIn (1).
V of when path sequenceiD, after the strategy sequence is traversed, the path is the searched path sequence, and rho is inserted into the sequence L. Is connected withThen all the nodes are searched for in the dominated table vj,HT>cIf the dominated path table of a certain node is not found to be empty, the sequence is taken out and is marked as (p' ═ m<v0,v′1,...,vi>Trt (p), -) and adds it to queue Q. After expanding to a new node, if the path dominance table of the node is not empty, the path p weight in the dominance table is compared with the weight of the current path p ', if the travel time difference Trt (p ') -Trt (p) ≦ ξ of two paths, the two paths form a dominance relation, and the path p ' is added to the dominated table v of the current nodei+1,HT>cIn (1). The sequence is inserted into queue Q if no dominance is constructed. After the judgment, if the node number | p! p of the current node sequence p is non-existent>1, find v againiFind it from vi-1The strategy point with the x +1 being close is marked as p<v0,v1,...,v′i>And adds the path to queue Q. After the query is finished, the algorithm returns the first k optimal path sequence sets MCDR _ L.
The invention processes the special road attribute of the crossroad and reduces the calculation redundancy brought by the crossroad in an efficient mode; the time-dependent road network definition is extended, expanded from the time dimension, added with road attributes, and the problem of path sequence query on the road network is solved; the path sequence query is expanded from a static road network to a time-dependent road network under multiple backgrounds, an optimized road domination algorithm is provided, and the problem of Top-k path sequence query on the time-dependent road network under multiple backgrounds is successfully solved.
According to the Top-k path sequence query method under the multiple backgrounds, firstly, a crossroad connection algorithm is used for simplifying the complex query problem caused by the existence of crossroads, secondly, forward and reverse query label indexes of nodes are established, the connection label indexes are used as a basic algorithm for querying adjacent strategy points, and finally, a pruning algorithm based on path domination is provided, and reasonable pruning is carried out through the path domination relation among the roads, so that the efficiency of road query is improved, and Top-k path sequence query in a time-dependent road network under the multiple backgrounds is efficiently realized.
The Top-k path sequence query system under the multiple backgrounds comprises a definition module, a connection module, an establishment module, a query module and a determination module.
The defining module is used for defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network, and defining the time-dependent road network path sequence query by taking a weather factor as a query condition; the connection module is used for preprocessing the intersection nodes of the road network based on an intersection end point connection algorithm and in combination with the time-dependent road network, and connecting adjacent nodes of the intersection nodes to obtain an intersection connection table; the establishing module is used for establishing a vertex index for each node in the time-dependent road network to form a vertex index set, wherein the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can be reached by the current node and a time function and road attributes of a road which passes through when the adjacent nodes are reached; the query module is used for querying the adjacent strategy points of the road nodes according to the adjacent strategy point query algorithm and by integrating the vertex indexes established for each node in the time-dependent road network, so as to obtain a plurality of paths which can reach the strategy points; the determining module is used for defining the domination relation among the paths, inputting a source point, a destination, a departure time, a strategy sequence, weather during departure and a required path sequence number of the query based on a path domination algorithm under the multi-background road network, and obtaining an optimal path sequence set containing the optimal paths with the preset number.
In the embodiment of the present invention, the time-dependent road network specifically includes:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a different strategy point in the road network, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence of a function of time Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. A Top-k path sequence query method under multiple backgrounds is characterized by comprising the following steps:
defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network, and defining time-dependent road network path sequence query by taking a weather factor as a query condition;
preprocessing the intersection nodes of the road network by combining the time-dependent road network based on an intersection end point connection algorithm, and connecting adjacent nodes of the intersection nodes to obtain an intersection connection table;
establishing a vertex index for each node in a time-dependent road network to form a vertex index set, wherein the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can be reached by the current node and a time function and road attributes of a road which passes through when the adjacent nodes are reached;
according to the adjacent strategy point query algorithm, vertex indexes established for each node in the time-dependent road network are integrated, and adjacent strategy points of road nodes are queried to obtain a plurality of paths which can reach the strategy points;
defining the domination relation among the paths, and inputting a source point, a destination, departure time, a strategy sequence, weather during departure and a required path sequence number of a query based on a path domination algorithm under the multi-background road network to obtain an optimal path sequence set containing the optimal paths with preset number.
2. The Top-k path sequence query method under the multiple backgrounds of claim 1, wherein the time-dependent road network specifically comprises:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a road networkSame policy point, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence of a function of time Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
3. The Top-k path sequence query method under multiple backgrounds of claim 2, wherein the defining of the time function, the strategy sequence and the road attribute is performed on the time-dependent road network, wherein:
the definition process of the time function is as follows:
defining a time function f on a time-dependent networke(t) is a discrete function, and each edge e ═ v (v) in the time-dependent road networki,vj)∈EmAll have a time function fe(ti)=teIs used to indicate at time tiSlave node viInitiating a query to reach node vjThe required time is te
The definition process for the policy sequence is:
in a real road network, each node has a policy attribute, a set of policy attributes of all vertexes on the road network is a policy set S, and when nodes are visited in sequence by a specific sequence in a trip process, the sequence is called a policy sequence C, and the policy sequence C is < C1,C2,...,Cj>. The expression requires C in the query process1,C2,...,CjThis sequence accesses in turn j corresponding attribute policy points, CjRepresenting the jth policy point attribute, for each policy attribute in the policy sequence there is Ci∈S(1≤i≤j),CiRepresenting the ith strategy point attribute;
the definition process for the road attribute is as follows:
connection path between two nodes e ═ vi,vj) Then, the road attribute R (e) of the route e is Ri,RiIndicating the road attribute of the route e.
4. The method of claim 3, wherein the Top-k path sequence query under multiple backgrounds comprises:
the influence of the weather factors on road selection comprises traffic influence and travel time influence;
defining a weather factor influence coefficient for representing the influence of different weather on the running time of the roads with different attributes, wherein the weather factor influence coefficient is the ratio of the running time of a certain attribute road in normal weather to the running time of the same attribute road when the weather is w, and w represents the weather type.
5. The method for searching for Top-k path sequences under multiple backgrounds as claimed in claim 4, wherein the step of obtaining the intersection connection table comprises:
sequentially traversing nodes v of road networkiIf node viIf there is a crossing node v in the adjacent points, the node v will be connectediThe edge of the intersection node v is e1
Traversing each adjacent node v of intersection nodes vjLet the edge e2I.e. (v, v)j) Join to tuple eiIn (1), a new path is formed<vi,v,vj>;
Will be edge e1And edge e2And merging the time functions, and reserving the road attribute to obtain the intersection connection table.
6. The method of claim 5, wherein the reverse link lookup table comprises:
Lin(vj)=(vi,fe(t),R(e))
wherein L isin(vj) Indicating a reverse connection look-up table, Lin(vj) In, viIndicating that node v can be reachedjThe edge e ═ vi,vj),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
7. The method for querying a Top-k path sequence under multiple backgrounds as claimed in claim 6, wherein said forward direction connection lookup table specifically comprises:
Lout(vj)=(vi,fe(t),R(e))
wherein L isout(vj) Indicating a forward link look-up table, Lout(vj) In, viRepresenting a node vjReachable node, edge e ═ vj,vi),fe(t) represents a time function of the edge e, and R (e) represents a road attribute of the edge e.
8. The method according to claim 7, wherein the method for querying Top-k path sequences under multiple backgrounds is characterized in that the method for querying the strategy points adjacent to the road nodes by integrating the vertex indexes established for each node in the time-dependent road network according to the adjacent strategy point query algorithm to obtain multiple paths which can reach the strategy points, and comprises the following specific steps:
inputting the initial node v to be inquired currentlyiNode v to be queriediThe method comprises the following steps of (1) adjacent strategy attributes, query time t and current weather w;
establishing a path set BIFS _ list, wherein the path set BIFS _ list is used for storing a node viAll paths to the next policy attribute node and the tuple consisting of the arrival time;
traversing all nodes in the road network, and finding out the node v with the strategy attribute as the target attribute CjStarting a loop, repeatedly traversing the node viForward link look-up table Lout(vi) And node vjReverse connection look-up table Lin(vj) Finding a node va∈Lout(vi) And node vb∈Lin(vj) When v isa=vjTime, node viThe next adjacent node is the required strategy point, the connecting node viAnd node vj(ii) a When v isa=vbConnecting nodes, paths<vi,va,va,vj>Obtaining a path for the query; otherwise, the node v is connectedaAs the next query node Lout(vi) Inquiring until all nodes are traversed;
inquiring to obtain the road attribute R (v) under the current weather wi,vj) Obtaining corresponding weather factor influence coefficient according to road attribute and weather
Figure FDA0003432963060000041
Calculating to obtain the time of reaching the next strategy point, and adding the path into a path set BIFS _ list;
and sorting the paths in the path set BIFS _ list according to the sequence of the arrival time from low to high to obtain a sorted path set BIFS _ list, and selecting the kth path which can reach the strategy point according to the sorted path set BIFS _ list.
9. A Top-k path sequence query system under multiple backgrounds, comprising:
the system comprises a definition module, a time function module and a query module, wherein the definition module is used for defining a time-dependent road network based on a time function, defining the time function, a strategy sequence and road attributes of the time-dependent road network and defining the time-dependent road network path sequence query by taking a weather factor as a query condition;
the connection module is used for preprocessing the intersection nodes of the road network based on an intersection end point connection algorithm and in combination with the time-dependent road network, and connecting the adjacent nodes of the intersection nodes to obtain an intersection connection table;
the system comprises an establishing module, a searching module and a judging module, wherein the establishing module is used for establishing a vertex index for each node in a time-dependent road network to form a vertex index set, the vertex index comprises a reverse connection lookup table and a forward connection lookup table, the reverse connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the current node is reached, and the forward connection lookup table comprises all adjacent nodes which can reach the current node and a time function and road attributes of a road which passes through when the adjacent node is reached;
the query module is used for querying the adjacent strategy points of the road nodes according to the adjacent strategy point query algorithm and by integrating the vertex indexes established for each node in the time-dependent road network to obtain a plurality of paths which can reach the strategy points;
and the determining module is used for defining the domination relationship among the paths, inputting a source point, a destination, a departure time, a strategy sequence, weather during departure and a required path sequence number of the query based on a path domination algorithm under the multi-background road network, and obtaining an optimal path sequence set containing the optimal paths with the preset number.
10. The Top-k path sequence query system under multiple backgrounds of claim 9, wherein the time-dependent road network specifically is:
Gm=(Vm,Em,Fm,Cm,Rm)
wherein G ismShowing time dependence of road network, VmRepresenting a set of nodes, each node representing a different strategy point in the road network, EmRepresenting a set of edges, each edge representing a path connecting two different nodes, for which edge e ═ vi,vj) Existence of a function of time Fm,viAnd vjNodes, C, corresponding to two vertices representing the edge emPolicy attributes for storage nodes when there is a node V ∈ VmWhen it is time, the policy attribute function C (v) returns the policy attribute of node v, RmFor storing road attributes, when there is an edge E ∈ EmThen the road attribute function r (e) returns the road attribute of edge e.
CN202111600508.1A 2021-12-24 2021-12-24 Top-k path sequence query method and system under multiple backgrounds Pending CN114254213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111600508.1A CN114254213A (en) 2021-12-24 2021-12-24 Top-k path sequence query method and system under multiple backgrounds

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111600508.1A CN114254213A (en) 2021-12-24 2021-12-24 Top-k path sequence query method and system under multiple backgrounds

Publications (1)

Publication Number Publication Date
CN114254213A true CN114254213A (en) 2022-03-29

Family

ID=80795022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111600508.1A Pending CN114254213A (en) 2021-12-24 2021-12-24 Top-k path sequence query method and system under multiple backgrounds

Country Status (1)

Country Link
CN (1) CN114254213A (en)

Similar Documents

Publication Publication Date Title
CN102538806B (en) A kind of paths planning method and relevant device
US7778769B2 (en) Method and system for calculating least-cost routes based on historical fuel efficiency, street mapping and location based services
CN101694749B (en) Method and device for speculating routes
US11047699B2 (en) Bloom filter multiple traffic-aware route decoding
US6785608B1 (en) System and method for calculating an optimized route and calculation thereof
EP1988362A1 (en) Route determination method and device
US10989553B2 (en) Method, apparatus and computer program product for determining likelihood of a route
JP2000258184A (en) Method and device for searching traffic network route
US11137259B2 (en) Bloom filter route decoding
CN103544291A (en) Mobile object continuous k-nearest neighbor (CKNN) query method based on road based road networks tree (RRN-Tree) in road network
Kirchler Efficient routing on multi-modal transportation networks
US11187546B2 (en) Bloom filter route encoding
US11193779B2 (en) Decoding routes to pois in proximity searches using bloom filters
US11054277B2 (en) Bloom filter multiple traffic-aware route encoding
JPH10504402A (en) A system that combines elements into complex junctions and links in a road network representation for vehicles.
CN107917716A (en) Fixed circuit air navigation aid, device, terminal and computer-readable recording medium
US11566911B2 (en) Encoding routes to POIs in proximity searches using bloom filters
CN114254213A (en) Top-k path sequence query method and system under multiple backgrounds
KR100983482B1 (en) System and method for searching station information based on road information
CN114580796B (en) Tour attribute path planning method and system
KR20070046384A (en) Method for finding nearest neighbors on a path
US11578989B2 (en) Encoding parking search cruise routes using bloom filters
US20200370917A1 (en) Decoding parking search cruise routes using bloom filters
Ohshima A landmark algorithm for the time-dependent shortest path problem
Mainali et al. Hierarchical efficient route planning in road networks

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