Travel chain planning method and system based on traffic flow prediction

Through the travel chain planning method based on traffic flow prediction, a multi-objective multi-transportation cost matrix is ​​constructed and the improved A* path search algorithm is used to solve the problem of travel chain planning in the existing technology being divorced from the actual traffic situation, and realize the starting point to the destination. The optimal travel chain scheme between terminals can effectively avoid congestion and reduce costs.

CN118587879APending Publication Date: 2024-09-03YANSHAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410652332.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing travel chain planning solutions cannot provide low-cost travel solutions for multiple transportation modes based on real-time changes in travel conditions, and path planning is divorced from actual traffic conditions and cannot guarantee whether there will be a better travel chain combination under different paths.

Method used

Based on the traffic flow prediction model, the average vehicle speed information of the road section is obtained, a multi-objective multi-transportation cost matrix is ​​constructed, the improved A* path search algorithm is used to solve the lowest-cost path, and travel chain planning using different transportation modes on different road sections is realized.

Benefits of technology

By predicting road conditions in advance and flexibly adjusting transportation modes, we can effectively avoid congestion, reduce congestion duration, reduce travel costs, and build an integrated travel chain from the starting point to the end point.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587879A
    Figure CN118587879A
Patent Text Reader

Abstract

The invention relates to the technical field of route navigation, in particular to a trip chain planning method based on traffic flow prediction, which is used for solving the problem that low-cost trip of combination of multiple traffic modes from a starting point to a terminal point cannot be provided according to real-time change of trip road conditions in the prior art. The method comprises the following steps: acquiring a two-dimensional road section average speed information matrix composed of road sections and time by using a preset traffic flow prediction model based on the traffic flow condition of the current road network of each road section on the road network in an urban environment; based on the two-dimensional road section average vehicle speed information matrix, obtaining the lowest road network traffic cost under different traffic modes; road network traffic cost is simplified into a time-road section two-dimensional traffic cost matrix, and a path with the lowest cost is obtained by using a path search algorithm; and on the basis of the path with the lowest cost, different road sections are changed into a form of combining different traffic modes into a trip chain, so that the lowest-cost trip chain planning of integrating multiple traffic modes from the starting point to the ending point is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of route navigation, and specifically designs a travel chain planning method and system based on traffic flow prediction. Background Art

[0002] In recent years, the research and development of travel service-related industrial technologies has been active. The investment in various new technologies has brought the digitization and intelligence of travel services to a new level. At the same time, people's travel needs have become more diversified, and road conditions have become more complicated. The integrated travel mode of the travel chain composed of multiple transportation modes has become an effective travel mode that can reduce travel time, fuel and emission costs without increasing the cost of road facilities.

[0003] The current travel chain planning schemes determine the travel path first and then combine multiple travel modes under the path. Although this can ensure that a travel chain is constructed under the current travel path, it cannot guarantee whether there is a better travel chain combination under other paths. In this way, some travel chain planning schemes make short-term predictions of future road conditions to reflect the real-time changes in road conditions during travel, but this prediction information is used to judge the pros and cons of several target paths between the starting point and the end point, rather than for planning the target path, so that the target path planning is out of touch with the actual traffic situation. In addition, when solving the road section travel cost during the path, some schemes consider multiple objectives for calculation, but their actual operation is to solve according to a single objective first, then sort the path schemes accordingly, and then solve and sort them according to the second objective from these schemes, and then select the scheme with the highest goals, that is, the final travel chain planning scheme is a scheme with relatively balanced multiple objectives. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the purpose of the present invention is to propose a travel chain planning method based on traffic flow prediction, which is based on the prediction of road network traffic flow, takes it as the basis for calculating the travel cost of the road section, and then builds a cost matrix in combination with the difference in traffic of different modes of transportation, and finally solves the optimal path to obtain a travel chain planning solution. The specific technical solution is as follows.

[0005] On the first aspect, this case proposes a travel chain planning method based on traffic flow prediction, which includes the following steps: based on the current traffic flow conditions of preset sections on the road network in an urban environment, using a preset traffic flow prediction model, obtain a two-dimensional section average speed information matrix composed of sections and time; based on the two-dimensional section average speed information matrix, obtain the minimum road network travel cost under different transportation modes, and the road network travel cost includes time cost, emission cost, and energy consumption cost; simplify the road network travel cost into a two-dimensional travel cost matrix of time-section, and use a path search algorithm to obtain the path with the lowest cost; based on the path with the lowest cost, replace different sections with different transportation modes to form a travel chain, so as to realize the minimum cost travel chain planning of multiple transportation modes integrated from the starting point to the end point.

[0006] In one implementation of the above technical solution, the traffic flow prediction model is composed of a graph convolutional network and a long short-term memory network.

[0007] In one implementation of the above technical solution, the road network travel cost is calculated using the following formula: cost road_i =α·T i +β·E i +γ·F i , T i is the time cost of the i-th section of road, F i is the fuel consumption of the i-th section of road. Among them, α, β, γ are the proportional coefficients corresponding to different parts; E i is the emission cost of the i-th section of road, which is calculated as follows: Based on the length and time of the i-th section of road, calculate the average speed v and obtain the emission coefficient k of the pollutant CO at speed v v_CO 、Emission coefficient k of pollutant HC at speed v v_HC , the emission coefficient k of pollutant NO at speed v v_NO , then: E i =k v_CO L i +k v_HC L i +k v_NO L i .

[0008] In one implementation of the above technical solution, the path search algorithm is an improved A* path search algorithm, and the improved A* path search algorithm uses the path cost from the current node to the end point instead of the distance from the current node to the target point; the path cost is calculated using the following formula: Where: k is the current node, N is the set of nodes between the current node and the end point, cost road_i is the road network travel cost of the i-th road section.

[0009] In one implementation of the above technical solution, the road network travel cost is simplified into a two-dimensional travel cost matrix of time and section, and the steps include: based on the travel cost matrix calculated based on multiple different transportation modes, the transportation mode with the lowest travel cost in the same time period on the same section is marked as the best transportation mode; the above steps are repeated until the transportation modes with the lowest costs at all times on all sections are marked, and a two-dimensional travel cost matrix of time-section including transportation mode selection is obtained.

[0010] In the second aspect, according to the above method, a corresponding travel chain planning system based on traffic flow prediction is proposed, and the system includes the following modules: a first acquisition module, which is configured based on the current traffic flow conditions of a preset section on the road network in an urban environment, and uses a preset traffic flow prediction model to obtain a two-dimensional section average vehicle speed information matrix composed of sections and time; a second acquisition module, which is configured based on the two-dimensional section average vehicle speed information matrix, to obtain the minimum road network travel cost under different transportation modes, and the road network travel cost includes time cost, emission cost, and energy consumption cost; a third acquisition module, which is configured to simplify the road network travel cost into a two-dimensional travel cost matrix of time-section, and use a path search algorithm to obtain the path with the lowest cost; a planning module, which is configured based on the path with the lowest cost, replaces different sections with different transportation modes to form a travel chain, and realizes the lowest cost travel chain planning integrating multiple transportation modes between the starting point and the end point.

[0011] The beneficial technical effect of this case is: by constructing a multi-objective and multi-transportation mode travel cost matrix, the path search algorithm is used to solve the path with the lowest cost. This path uses different transportation modes in different sections and is the optimal travel chain solution between the starting point and the end point. This solution can predict the road conditions in advance, and through flexible path changes and adjustments of multiple transportation modes, it can effectively avoid congestion and reduce congestion duration, while reducing the travel costs of travelers, and construct an integrated travel chain between the starting point and the end point. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 , one A schematic diagram of a method flow chart in an embodiment of the present invention.

[0013] Figure 2 , one Schematic diagram of the principle of the improved A* algorithm in this implementation manner. DETAILED DESCRIPTION

[0014] In view of the fact that the existing technology cannot provide low-cost travel with a combination of multiple transportation modes from the starting point to the end point according to the real-time changes in travel road conditions, the following technical solution is adopted in one implementation: first, the traffic flow of each section of the urban transportation network in the future period is predicted; then, based on the predicted traffic flow information, the travel cost of the sections corresponding to different transportation modes including buses, cars, taxis, rail transit, bicycles, etc. under real-time traffic conditions is calculated; then, a multi-objective and multi-transportation mode travel cost matrix is ​​constructed, and the path search algorithm is used to solve the lowest cost path, which uses different transportation modes in different sections and becomes the optimal travel chain solution between the starting point and the end point. This solution can predict the road conditions in advance, and through flexible path changes and adjustments of multiple transportation modes, it can effectively avoid congestion and reduce congestion duration, while reducing the travel costs of travelers, and construct an integrated travel chain from the starting point to the end point.

[0015] The following will be combined with the attached Figure 1-2 , clearly and completely describing how to implement the technical solution of this case. Obviously, the described implementation method is only a part of the implementation method of this case, not all of the implementation methods. Based on the implementation method in this case, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0016] See also Figure 1 As shown, an implementation of a travel chain planning method based on traffic flow prediction includes the following steps:

[0017] S101. Collect road network traffic flow information and train traffic flow prediction model

[0018] Specifically, traffic flow information and section length information on sections within a preset range of the road network in an urban environment are obtained, and the data is processed into a one-dimensional section and a two-dimensional time traffic flow information matrix and a section length information vector, and then a two-dimensional section average vehicle speed information matrix consisting of the section and time is obtained.

[0019] The above-mentioned method of obtaining traffic flow information and length information of road sections within a preset range of the urban road network includes but is not limited to using vehicle-mounted equipment and road test equipment to collect data and transmit it to the cloud. Among them, the vehicle-mounted equipment collects vehicle driving information, and the vehicle-mounted equipment is equipped with an information transmission module, a positioning module, and a radar scanning device. The positioning module can be used to determine the driving status of vehicles on different road sections. The information transmission module transmits information to other vehicles and the cloud, and receives information transmitted by other vehicles, road test equipment, and the cloud, so as to process the data.

[0020] The collected and processed traffic flow information is input into the pre-trained traffic flow prediction model, and the future traffic flow information of the road network is output. The future traffic flow information is in the form of a two-dimensional average vehicle speed information matrix consisting of road sections and time.

[0021] The above traffic flow prediction model takes the average speed of traffic flow in each section of the road network at a certain future moment as the target feature to form the feature vector of the road network, and takes the average speed of traffic flow in each section of the same road network at the historical continuous moments as the input of the traffic flow prediction model. The length of the historical connection moment is a set value. A certain moment in the future can be the next moment of the current moment.

[0022] S102. Calculate the cost of different transportation modes based on the predicted traffic flow information

[0023] Multiple modes of transportation include buses, taxis, rail transit, and shared bikes. The calculation of travel costs includes time costs, fuel consumption costs, and emission costs. The emission costs are specifically divided into NO emission costs, CO emission costs, and HC emission costs.

[0024] The specific function for calculating emission costs under a certain mode of transportation is:

[0025] E i =k v_CO L i +k v_HC L i +k v_NO L i

[0026] Among them, E i is the pollutant emission of the i-th road section (g / km); k v_CO is the emission coefficient of pollutant CO at speed v; k v_HC is the emission coefficient of pollutant HC at speed v; k v_HC is the emission coefficient of pollutant NO at speed v; L i is the length of the i-th road segment.

[0027] The road network travel cost is calculated using the following formula:

[0028] cost road_i =α·T i +β·E i +γ·F i

[0029] Where, T i is the time cost of the i-th section of road, E i is the emission cost of the i-th road section, F i is the fuel consumption of the i-th section of road. Among them, α, β, and γ are the proportional coefficients corresponding to different parts.

[0030] According to different prediction times, multiple travel cost matrices calculated by different transportation modes can be obtained. The matrix consists of a one-dimensional road section and a two-dimensional time cost matrix.

[0031] S103. Constructing a multi-transportation mode road segment travel cost matrix

[0032] The travel cost matrix calculated by multiple different transportation modes obtained above is compared with the calculated costs of different transportation modes on the same road section and in the same time period. This cost is recorded as the best road section travel cost, and the corresponding time period of the road section is marked with the corresponding lowest cost transportation mode.

[0033] Repeat this step to mark the lowest cost transportation mode for all time periods of all road sections, and finally obtain the lowest travel cost matrix of one-dimensional time and two-dimensional road sections including transportation mode selection.

[0034] S104, using the improved A* path search algorithm to find the path with the lowest cost

[0035] Based on the path with the lowest cost, different transportation modes are transferred to different sections to form a travel chain, so as to realize the lowest cost travel chain planning of multiple transportation modes from the starting point to the end point.

[0036] Specifically, for the cost matrix, an improved A* path search algorithm is used to search for the best travel path. Since the cost matrix takes into account the impact of different transportation modes, the path is composed of different transportation modes on different sections, which is a complete travel link line that takes into account future traffic conditions.

[0037] The improved A* path search algorithm, in terms of the calculation method of the estimation function g(n), in the process of solving the path, its cost function is as follows:

[0038] f(n)=g(n)+h(n)

[0039] When calculating the distance h(n) from the current node to the target point, Figure 2 As shown in the schematic diagram of the A* algorithm principle, the upper left corner of each node is f(n), the lower left corner is g(n), and the lower right corner is h(n). In the traditional Euclidean distance basis, h(n) is the distance from the current node to the end point.

[0040] In this case, h(n) is the path cost from the current node to the end point.

[0041] The path cost is calculated using the following formula:

[0042]

[0043] Where k is the current node, and N is the set of nodes between the current node and the end point.

[0044] In another embodiment, a typical urban traffic scenario was designed using the NGSIM real traffic data set to verify the feasibility and effectiveness of the proposed method. All scenarios and algorithms were implemented based on Python, SUMO, and MATLAB. The effectiveness and accuracy of traffic flow prediction within a certain range and the rationality of the planned travel chain were verified.

[0045] In summary, this case uses the predicted traffic flow information of the urban traffic network to calculate the travel costs of different modes of transportation under the real-time traffic conditions of the corresponding sections, constructs a multi-objective and multi-mode travel cost matrix, and uses the improved A* path search algorithm to solve the lowest cost path. This path uses different modes of transportation in different sections of the road, and combines these different modes of transportation as the optimal travel chain solution between the starting point and the end point. This solution can predict the road conditions in advance, and through flexible path changes and adjustments of multiple modes of transportation, it can effectively avoid congestion and reduce congestion duration, while reducing the travel costs of travelers, and construct an integrated travel chain between the starting point and the end point.

[0046] Through the description of the above implementation methods, the technicians in the relevant field can clearly understand that the method disclosed herein can be implemented as a travel chain planning system based on traffic flow prediction. Exemplarily, one implementation of the system includes the following modules: a first acquisition module is configured based on the current traffic flow conditions of each road section on the road network in an urban environment, and uses a preset traffic flow prediction model to obtain a two-dimensional road section average speed information matrix composed of road sections and time; a second acquisition module is configured based on the two-dimensional road section average speed information matrix to obtain the lowest road network travel cost under different traffic modes, and the road network travel cost includes time cost, emission cost, and energy consumption cost; a third acquisition module is configured to simplify the road network travel cost into a two-dimensional travel cost matrix of a time section, and use a path search algorithm to obtain the path with the lowest cost; a planning module is configured based on the path with the lowest cost, and combines different road sections with different traffic modes into a travel chain, so as to realize the lowest cost travel chain planning of multiple transportation modes integrated between the starting point and the end point.

[0047] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method and system of the present disclosure can be implemented by means of software plus necessary general hardware, and of course can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions performed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structures used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits, etc. However, for the present disclosure, software program implementation is a better implementation method in most cases.

[0048] Although the embodiments of the present invention are described above in conjunction with the accompanying drawings, the present invention is not limited to the above specific embodiments and application fields, and the above specific embodiments are only illustrative and instructive, rather than restrictive. A person of ordinary skill in the art can also make many forms under the guidance of this specification and without departing from the scope of protection of the claims of the present invention, all of which belong to the protection of the present invention.

Claims

1. A trip chain planning method based on traffic flow prediction, characterized in that: The method comprises the following steps: Based on the current traffic flow conditions of a preset road section in an urban environment, a preset traffic flow prediction model is used to obtain a two-dimensional road section average vehicle speed information matrix consisting of road sections and time; Based on the two-dimensional road section average speed information matrix, the minimum road network travel cost under different transportation modes is obtained, and the road network travel cost includes time cost, emission cost, and energy consumption cost; Simplify the road network travel cost into a two-dimensional time-segment travel cost matrix and use the path search algorithm to obtain the path with the lowest cost; Based on the lowest-cost path, different transportation modes on different road sections are combined into a travel chain to achieve the lowest-cost travel chain planning that integrates multiple transportation modes from the starting point to the end point.

2. The method according to claim 1, wherein: The traffic flow prediction model is composed of a graph convolutional network and a long short-term memory network.

3. The method according to claim 1, characterized in that The road network travel cost is calculated using the following formula: cost road_i =α·T i +β·E i +γ·F i Where, T i is the time cost of the i-th section of road, E i is the emission cost of the i-th road section, F i is the fuel consumption of the i-th section of road. Where α, β, and γ are the proportional coefficients corresponding to different sections; Among them, the emission cost E i The calculation is as follows: Based on the length and time of the i-th section, calculate the average speed v and obtain the emission coefficient k of the pollutant CO at speed v v_Co , emission coefficient k of pollutant HC at speed v v_HC , emission coefficient k of pollutant NO at speed v v_NO ,but: E i =k v_CO L i +k v_HC L i +k v_NO L i 。 4. The method according to claim 1, wherein: The path search algorithm is an improved A* path search algorithm, which uses the path cost from the current node to the end point instead of the distance from the current node to the target point; The path cost is calculated using the following formula: Where: k is the current node, N is the set of nodes between the current node and the end point, cost road_i is the road network travel cost of the i-th road section.

5. The method according to claim 1, wherein Simplify the road network travel cost into a two-dimensional travel cost matrix of time plus road segments. The steps include: Based on the travel cost matrix calculated by multiple different transportation modes, the transportation mode with the lowest travel cost in the same road section and the same time period is marked as the best transportation mode; Repeat the above steps until the lowest-cost transportation mode for all road sections at all times is marked, and a two-dimensional travel cost matrix of time and road sections including transportation mode selection is obtained.

6. A trip chain planning system based on traffic flow prediction, characterized in that: The system includes the following modules: The first acquisition module is configured to obtain a two-dimensional average vehicle speed information matrix consisting of road sections and time based on the current traffic flow conditions of a preset road section on the road network in an urban environment and using a preset traffic flow prediction model; The second acquisition module is configured to obtain the minimum road network travel cost under different transportation modes based on the two-dimensional road section average vehicle speed information matrix, wherein the road network travel cost includes time cost, emission cost, and energy consumption cost; The third acquisition module is configured to simplify the road network travel cost into a two-dimensional travel cost matrix of time and road segment, and obtain the path with the lowest cost by using a path search algorithm; The planning module is configured based on the lowest-cost path, replacing different road sections with different transportation modes to form a travel chain, thereby realizing the lowest-cost travel chain planning that integrates multiple transportation modes from the starting point to the end point.

7. The system according to claim 6, characterized in that: The traffic flow prediction model is composed of a graph convolutional network and a long short-term memory network.

8. The system according to claim 6, wherein: The road network travel cost is calculated using the following formula: cost road_i =α·T i +β·E i +γ·F i Where, T i is the time cost of the i-th section of road, E i is the emission cost of the i-th road section, F i is the fuel consumption of the i-th section of road. Where α, β, and γ are the proportional coefficients corresponding to different sections; Among them, the emission cost E i The calculation is as follows: Based on the length and time of the i-th section, calculate the average speed v and obtain the emission coefficient k of the pollutant CO at speed v v_Co , emission coefficient k of pollutant HC at speed v v_HC , emission coefficient k of pollutant NO at speed v v_NO ,but: E i =k v_CO L i +k v _ HC L i +k v_NO L i 。 9. The system according to claim 6, characterized in that: The path search algorithm is an improved A* path search algorithm, which uses the path cost from the current node to the end point instead of the distance from the current node to the target point; The path cost is calculated using the following formula: Where: k is the current node, N is the set of nodes between the current node and the end point, cos troad_i is the road network travel cost of the i-th road section.

10. The system according to claim 6, wherein: Simplify the road network travel cost into a two-dimensional travel cost matrix of time plus road segments. The steps include: Based on the travel cost matrix calculated for multiple different transportation modes, the transportation mode with the lowest travel cost on the same road section within the same time period is marked as the best transportation mode; Repeat the above steps until the lowest-cost transportation mode for all road sections at all times is marked, and a two-dimensional travel cost matrix of time and road sections including transportation mode selection is obtained.