Traffic route space and passenger flow pattern optimization method and system and storage medium
By reconstructing and quantitatively processing of station location and cross-section passenger flow information of traffic lines, and generating spatial direction maps and passenger flow direction maps, the accuracy and targeted analysis of the spatial direction and passenger flow direction of traffic lines in the existing technology are solved, and more efficient transportation resource allocation and utilization are achieved.
Patent Information
- Application Number
- CN202510086624.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-20
- Publication Date
- 2025-05-27
AI Technical Summary
When analyzing the spatial direction and passenger flow direction of the traffic line, the accuracy and targeting are insufficient, and it is impossible to intuitively display the passenger flow situation of the entire line.
By obtaining the station location and cross-section passenger flow information of the traffic line, reconstructing the traffic route map and converting it into a spatial direction map and a passenger flow direction map, and using quantitative methods to group and calculate these maps to obtain the spatial direction value and passenger flow direction value.
It improves the accuracy and pertinence of the spatial direction and passenger flow direction of the transportation route, provides more powerful decision-making support tools, helping to achieve optimal allocation and efficient utilization of transportation resources.
Smart Images

Figure CN120047574A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of traffic planning route optimization, and specifically relates to a method, system and storage medium for optimizing the traffic route space and passenger flow direction map. Background Art
[0002] Traffic routes are the basic components of the transportation system, which are of great significance for people's travel, goods transportation and economic development. Traffic routes include stations and routes, such as traffic routes like roads, railways, air routes, etc. Traffic routes have a certain running direction, and passengers get on and off the routes at stations. The traffic route space and passenger flow direction map (referred to as "passenger flow direction map" for short) is a graphical tool used to display the passenger flow direction and quantity between stations on a certain traffic route, which can clearly show the travel patterns, passenger flow distribution and directionality of passengers, and provide important references for traffic planning and operation.
[0003] Currently, the way of traffic assessment is to obtain the cross-sectional passenger flow of each section through card swiping and ticket purchase information, and conduct statistical analysis on the traffic volume of the traffic route based on the cross-sectional passenger flow to guide the subsequent traffic planning; however, the way of directly analyzing the cross-sectional passenger flow has poor accuracy for the route space direction and passenger flow, rough direction description, and the existing cross-sectional passenger flow method can only count the passenger flow between two stations, with poor pertinence for the passenger flow of the route, and it is impossible to directly obtain the passenger flow situation of the entire route. Summary of the Invention
[0004] The present invention aims to provide a method, system and storage medium for optimizing the traffic route space and passenger flow direction map, so as to quantitatively describe the traffic route space direction and passenger flow direction, and improve the accuracy and pertinence of the space direction value and passenger flow direction value through reconstruction and dynamic generation.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A method for optimizing the traffic route space and passenger flow direction map, comprising:
[0007] S1, obtaining the station positions and cross-sectional passenger flow information of the traffic route in the target area, and generating a space direction division method;
[0008] S2, reconstructing the traffic route based on the cross-sectional passenger flow information to obtain a reconstructed route map;
[0009] S3, forming sub-routes by adjacent stations in the reconstructed route map, and translating the starting points of the sub-routes to the same position to obtain a space direction map and a passenger flow direction map;
[0010] S4, grouping the space direction map and the passenger flow direction map respectively according to the space direction division method;
[0011] S5. Calculate the spatial direction value and passenger flow direction value based on the grouped spatial direction map and passenger flow direction map according to a preset method.
[0012] The principle and advantages of this solution are as follows: In practical applications, based on the station positions and cross-sectional passenger flows of traffic lines, by constructing a passenger flow route map and using the method of reconstructing station intervals, a traffic line spatial direction map and a passenger flow direction map are obtained to quantitatively describe the spatial direction and passenger flow direction characteristics of the line. Through this application, not only the operation efficiency of the traffic system is improved, but also a powerful decision-making support tool is provided for managers, which helps to achieve the optimal allocation and efficient utilization of traffic resources.
[0013] Preferably, as an improvement, S2 includes:
[0014] S21. Obtain the length corresponding to the unit passenger flow based on the total length and total cross-sectional passenger flow of the traffic line.
[0015] S22. Obtain the direction between adjacent stations and the cross-sectional passenger flow of the adjacent stations, obtain the passenger flow length between the two stations, and obtain the passenger flow interval line; repeat to obtain the passenger flow interval lines of all adjacent stations.
[0016] S23. Connect in the station order to obtain a reconstructed line map based on the passenger flow.
[0017] Technical effect: Facilitate the quantitative evaluation and display of traffic lines and passenger flow directions.
[0018] Preferably, as an improvement, the station positions are obtained through the planning map and the line map, and the cross-sectional passenger flow is obtained through the card swiping and ticket purchase data.
[0019] Technical effect: Facilitate the efficient acquisition of dynamic and static information respectively.
[0020] Preferably, as an improvement, the spatial direction value and the passenger flow direction value are obtained through vector operations.
[0021] Technical effect:
[0022] Preferably, as an improvement, the station positions of the traffic line are obtained through the planning map and the line map, and the cross-sectional passenger flow information is obtained through the card swiping and ticket purchase data.
[0023] Technical effect: Facilitate the accurate acquisition of dynamic cross-sectional passenger flow information and static station position information.
[0024] Preferably, as an improvement, the spatial direction division method includes: dividing the spatial direction into fixed intervals, and the directions within the interval are the same direction.
[0025] Technical effect: Facilitate the dimensionality reduction processing of multi-dimensional space.
[0026] Preferably, as an improvement, the spatial direction division method further includes: setting a division threshold for the same direction according to the direction characteristics of the line, and those less than the threshold are in the same direction.
[0027] Technical effect: Facilitate improving the accuracy of direction division.
[0028] Preferably, as an improvement, the passenger flow direction map is divided according to the time distribution characteristics on weekdays, weekends and holidays.
[0029] Technical effect: Facilitate analyzing the passenger flow distribution characteristics at different times.
[0030] It further includes a traffic line space and passenger flow direction map optimization system that uses the described traffic line space and passenger flow direction map optimization method.
[0031] It further includes a storage medium storing a computer program, and when the computer program runs, it executes the described traffic line space and passenger flow direction map optimization method. Description of the Drawings
[0032] Figure 1 It is a flowchart of the traffic line space and passenger flow direction map optimization method;
[0033] Figure 2 It is a schematic diagram of the track line and station of the traffic line space and passenger flow direction map optimization method;
[0034] Figure 3 It is a schematic diagram of the direction space division of the traffic line space and passenger flow direction map optimization method;
[0035] Figure 4 It is a schematic diagram of the track line reconstruction of the traffic line space and passenger flow direction map optimization method;
[0036] Figure 5 It is a schematic diagram of the relationship between the track line reconstruction and space division of the traffic line space and passenger flow direction map optimization method;
[0037] Figure 6 It is a schematic diagram of the track line direction of the traffic line space and passenger flow direction map optimization method;
[0038] Figure 7 It is a schematic diagram of the track passenger flow direction of the traffic line space and passenger flow direction map optimization method. Detailed Description of the Preferred Embodiments
[0039] The following is a further detailed description through specific embodiments:
[0040] The embodiment is basically as shown in the appendix Figure 1 as follows:
[0041] Optimization method for traffic line space and passenger flow direction map, including:
[0042] S1. Obtain the station positions and cross-section passenger flow information of traffic lines in the target area, and generate a spatial direction division method; as shown in the following legend is a schematic diagram of rail transit lines and stations, obtain the cross-section passenger flow information of each station section through the card-swipe data of passengers entering and leaving the station during a certain period; the spatial direction division method includes: dividing the spatial direction into fixed intervals, and the directions within this interval are the same direction. According to the direction characteristics of the line, set the division threshold for the same direction, and those less than the threshold are in the same direction. For example, according to the set threshold, if |α Figure 2 -α 1 -α 2 |<θ, then the two directions are grouped into one group, where α 1 and α 2 are the direction values of two sub-lines, θ is the set division threshold, group all sub-lines in the spatial direction map and the passenger flow direction map to obtain the final grouping result. The range of the sub-line direction value is [0, 2π). According to needs, divide this range into n intervals, and the value range of the direction of the i-th division interval is [θ i , θ i+1 ), where θ i+1 >θ i . If the direction value α satisfies θ i ≤α<θ i+1 , then this sub-line belongs to the i-th direction, group all sub-lines in the spatial direction map and the passenger flow direction map to obtain the final grouping result. As shown in Figure 3 , in this embodiment, the space is divided into 8 directions, and the included angle between each direction is 45 degrees.
[0043] S2. Reconstruct the traffic lines based on the cross-section passenger flow information to obtain a reconstructed line map; that is, re-combine the stations according to the direction, as shown in the appendix Figure 4 . Through line reconstruction, the spatial division of the overall line is realized. The S2 includes: S21. Obtain the length corresponding to the unit passenger flow based on the total length and total cross-section passenger flow of the traffic line; S22. Obtain the direction of adjacent stations and the cross-section passenger flow of this adjacent station, obtain the passenger flow length between the two stations to get the passenger flow interval line; repeat to obtain the passenger flow interval lines of all adjacent stations; S23. Connect in the order of stations to obtain a reconstructed line map based on the passenger flow. The reconstructed line and the spatial division direction in this embodiment are as shown in Figure 5 . At the same time, the passenger flow data of each sub-line can be obtained, and using the passenger flow volume as the length of each sub-line, a direction map of the passenger flow direction and the spatial division can be obtained.
[0044] S3. Form sub - routes by combining adjacent stations in the reconstructed route map, and translate the starting points of the sub - routes to the same position to obtain the spatial direction map and the passenger flow direction map. Specifically, obtain the first and second stations of the route, connect the two stations to form a sub - route, and translate the starting point of the sub - route to a point. Process the remaining stations and sub - routes in the same way until the starting points of all sub - routes are translated to the same point, thus obtaining the spatial direction map and the passenger flow direction map. The spatial direction map is as shown in Figure 6 as shown, and the passenger flow direction map is as shown in Figure 7 as shown. The starting point of adjacent stations is determined according to the running direction. For example, for rail transit from place A to place B, the starting point is place A and the end point is place B; for the direction from place B to place A, the starting point is place B and the end point is place A.
[0045] S4. According to the spatial direction division method, group the spatial direction map and the passenger flow direction map respectively. In this embodiment, the fixed - direction division method is adopted for the spatial direction division method, and the entire space is divided into 8 directions, as shown in the appendix Figure 3 as shown.
[0046] S5. Based on the preset method, calculate the spatial direction value and the passenger flow direction value for the grouped spatial direction map and the passenger flow direction map. In this embodiment, by summing in the same direction, the magnitudes of the spatial direction and the passenger flow direction in this direction are obtained.
[0047] Since there is a certain correlation between urban rail transit and time, in this embodiment, the passenger flow direction maps of rail transit are extracted separately according to weekdays, weekends, and holidays to analyze the spatio - temporal distribution characteristics of rail transit passenger flow.
[0048] For large cities, the rail transit generally consists of a rail transit network composed of multiple rail lines. Using this method to analyze the spatio - temporal distribution characteristics of different rail lines provides a reference for the subsequent planning of rail transit lines, optimizes the composition of the rail transit network, and improves the operation efficiency.
[0049] It also includes a traffic line space and passenger flow direction map optimization system, which uses the above - mentioned traffic line space and passenger flow direction map optimization method.
[0050] It also includes a storage medium storing a computer program, and when the computer program runs, it executes the above - mentioned traffic line space and passenger flow direction map optimization method.
[0051] The above are only embodiments of the present invention, and common general technical solutions and / or characteristics in the solutions are not described in detail herein. It should be noted that for those skilled in the art, without departing from the technical solutions of the present invention, several variations and improvements can be made, which should also be regarded as the protection scope of the present invention, and these will not affect the implementation effect of the present invention and the practicality of the patent. The protection scope claimed in this application shall be subject to the content of its claims, and the specific implementation manners and the like recorded in the specification can be used to interpret the content of the claims.
Claims
1. A method for optimizing traffic route space and passenger flow direction diagram, characterized in that: include: S1, obtain the station location and cross-sectional passenger flow information of the traffic lines in the target area, and generate a spatial direction division method; S2, reconstructing the traffic route based on the cross-sectional passenger flow information to obtain a reconstructed route map; S3, the adjacent stations in the reconstructed route map are grouped into sub-routes, and the starting points of the sub-routes are translated to the same position to obtain a spatial direction map and a passenger flow direction map; S4, grouping the spatial direction map and the passenger flow direction map respectively according to the spatial direction division method; S5, calculating the spatial direction value and the passenger flow direction value based on the grouped spatial direction map and the passenger flow direction map based on a preset method.
2. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The S2 includes: S21, obtaining the length corresponding to the unit passenger flow based on the total length of the traffic line and the total cross-sectional passenger flow; S22, obtaining the direction of the adjacent station and the cross-sectional passenger flow of the adjacent station, obtaining the passenger flow length of the two stations, and obtaining the passenger flow interval route; repeatedly obtaining the passenger flow interval routes of all adjacent stations; S23, connecting the stations in sequence to obtain a reconstructed route map based on passenger flow.
3. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The site locations are obtained through planning maps and route maps, and the cross-sectional passenger flow is obtained through card swiping and ticket purchase data.
4. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The spatial direction value and the passenger flow direction value are obtained through vector operation.
5. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The station locations of the transportation routes are obtained through planning maps and route maps, and the cross-sectional passenger flow information is obtained through card swiping and ticket purchase data.
6. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The spatial direction division method includes: dividing the spatial direction into fixed intervals, and the directions within the interval are the same direction.
7. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 6, characterized in that: The spatial direction division method further includes: setting a division threshold of the same direction according to the direction characteristics of the line, and directions smaller than the threshold are the same direction.
8. The method for optimizing the traffic route space and passenger flow direction diagram according to claim 1, characterized in that: The passenger flow direction diagram is divided into time distribution characteristics according to weekdays, weekends and holidays.
9. Traffic route space and passenger flow direction map optimization system, characterized by: The traffic route space and passenger flow direction diagram optimization method as described in any one of claims 1-8 is used.
10. A storage medium storing a computer program, characterized in that: When the computer program is running, the traffic route space and passenger flow direction diagram optimization method as described in claims 1-8 is executed.