A special event city zoning method based on multimodal public transportation travel data
The urban zoning method based on multi-mode public transportation travel data solves the problem of failure to consider travel characteristics in the existing technology, achieves more traffic-adaptive urban zoning, reduces the impact of zoning management on travel, and improves public health. Transportation system resilience and emergency response capabilities.
Patent Information
- Application Number
- CN202211184527.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-27
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2042-09-27
AI Technical Summary
Existing urban zoning methods fail to effectively consider the travel characteristics and patterns of urban residents, resulting in inconveniences in the operation and management of the public transportation system after special events, affecting the recovery of public transportation passenger flow, and the urban zoning management model has a greater impact on residents' travel .
An urban zoning method based on multi-mode public transportation travel data is used to divide traffic areas, obtain and preprocess user travel data, build a travel space interaction network, use Leiden algorithm to divide communities, and modify them according to the modulus value to form the final Urban zoning plan.
This method can divide urban zoning more scientifically and rationally, reduce the impact of zoning management on residents' travel, improve the resilience of the public transportation system, and provide a scientific and sustainable reference for emergency management and transportation organization strategies.
Smart Images

Figure CN116504050B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of prevention and control technology, in particular to a special event city zoning method based on multi-mode public transportation travel data. Background Art
[0002] In order to deal with special events, many cities have adopted zoning methods based on geographical separation or administrative boundaries. Studies have found that urban zoning can effectively save a lot of medical and social resources for special events. Kuo et al. found that regional management greatly delayed the peak of the impact after the special event occurred and effectively reduced the severity of the special event. Urban zoning management measures have played an important role in the global response to special events.
[0003] However, the existing urban zoning methods mainly divide regions based on the administrative divisions or geographical intervals of the city, and the boundaries defined by these two are historical evolution. The urban zoning obtained by the above method does not take into account the travel characteristics and patterns of urban residents, and at the same time brings many inconveniences to the operation and management of public transportation after special events. The public transportation of cities under urban zoning has been affected to varying degrees. Some cities have completely suspended public transportation services for management needs. Some areas only allow public transportation when there is a major demand or reduce the frequency of departure and close some stations accordingly. This has led to a continued downturn in public transportation passenger flow in various countries after special events. Even after the public transportation system resumes normal operations, due to changes in people's travel habits, public transportation passenger flow is still difficult to return to the previous level. The resilience of the public transportation system under emergency events has encountered severe challenges.
[0004] Therefore, in order to improve the urban zoning method, ensure the basic travel needs of urban residents and the basic public transportation services in the city when emergencies occur, and enhance the resilience of the public transportation system, it is necessary to summarize experience in contemporary society, explore the traffic adaptability of urban zoning under special events from a traffic perspective, and study more scientific and reasonable urban zoning strategies. Summary of the invention
[0005] The technical problem to be solved by the present invention is: in view of the deficiencies of the prior art, a special event city zoning method based on multi-mode public transportation travel data is proposed.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a special event city zoning method based on multi-mode public transportation travel data, comprising the following steps:
[0007] S1. Based on the urban traffic network, the urban traffic network is divided into several traffic zones;
[0008] S2. Obtaining urban multi-modal user travel data and pre-processing the user multi-modal travel data;
[0009] S3, based on each traffic community obtained in step S1 and the pre-processed user multi-modal travel data, the travel starting point and the travel destination in the pre-processed user multi-modal travel data are matched with the corresponding traffic communities, and an urban multi-modal travel spatial interaction network is constructed to statistically generate a joint data set about travel flow between each traffic community;
[0010] S4. Based on the joint data set about travel flow between each traffic community, the spatial interaction network is divided using the Leiden algorithm to obtain the community division scheme with the highest modulus value and its corresponding preliminary divided urban community;
[0011] S5. Use the modulus value to measure the preliminary urban communities obtained in step S4, and add constraints based on the measurement results to modify the preliminary urban communities to obtain the final urban divisions.
[0012] Furthermore, the aforementioned step S2 includes the following sub-steps:
[0013] S2.1. Acquiring urban multi-mode user travel data includes: acquiring data of six fields, namely, user number, order date, order start time and the location corresponding to the start time, order completion time and the location corresponding to the completion time, from subway data, bus data, shared bicycle data, taxi data, and online car-hailing data; S2.2. According to the order start time and the location corresponding to the start time, the order completion time and the location corresponding to the completion time, the order longitude and latitude matching conversion is performed to obtain user travel data: the longitude and latitude coordinates of the user's travel starting point, the longitude and latitude coordinates of the user's travel end point, the user's travel starting time, and the user's travel end time;
[0014] S2.3. Eliminate duplicate data, delete null value data, and delete abnormal data from user travel data.
[0015] Furthermore, the joint data set about traffic flow between each traffic community generated in the aforementioned step S3 includes the travel flow between each traffic community, the shortest network distance between the centroids of each traffic community, and the population in each community.
[0016] Furthermore, the aforementioned step S4 includes the following sub-steps:
[0017] S4.1. Number the centroids of each traffic zone to correspond to each node;
[0018] S4.2, taking each node as the initial community, moving the initial community to another community according to the joint data set attributes of the traffic flow between each traffic cell, and obtaining a class of communities of this algorithm; and calculating the modulus value of the current division result according to the modulus value calculation formula;
[0019] S4.3, refine the obtained community into a sub-community, and improve the modulus value of S4.2;
[0020] S4.4, agglomerate the nodes in each subcommunity to obtain new independent nodes, each of which represents a type of community in step S4.3;
[0021] S4.5. Based on the new independent node obtained in step S4.4, return to execute steps S4.1 to S4.3, and calculate the modulus value during the iteration process, retaining the classification results with improved modulus values until the modulus value can no longer be improved, and the community division corresponding to the modulus value corresponding to the last iteration is used as the final community division result.
[0022] Furthermore, the aforementioned step S5 specifically includes:
[0023] The modulus value is calculated as follows:
[0024]
[0025] Among them, A ij represents the weight of the edge between nodes i and j; parameter K i is the sum of the weights of the edges connected to node i; K j is the sum of the weights of the edges connected to node j; parameter m represents the number of edges; parameter C i is the community to which node i is assigned, if C i =C j , modularity δ(C i ,C j ) is equal to 1, otherwise it is equal to 0;
[0026] The constraints are: for a node with one adjacent node, it is directly merged with the adjacent node; for a surrounding node with multiple adjacent nodes with connecting edges, it is merged with the node that can achieve the maximum modulus value gain; for an isolated node that has no edges with any adjacent nodes, it is grouped with the node with the smallest area.
[0027] Furthermore, in the aforementioned step S2.2, the minimum entropy travel chain method is used to perform order longitude and latitude matching conversion to obtain the user's travel starting point and the user's travel destination.
[0028] Furthermore, in the aforementioned step S2.3, deleting abnormal data includes deleting longitude and latitude drift data, abnormal travel distance data, and abnormal travel time data.
[0029] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0030] 1. In response to special events in cities, traffic-adaptive urban zoning management models are becoming increasingly important, so we urgently need to explore scientific and reasonable urban zoning methods. This technology can effectively identify urban residents' public transportation trips and divide urban zoning into more traffic-adaptive urban zoning areas. Through community discovery algorithms, it can reduce the travel connections of urban residents that are cut off due to zoning management, and cover most of the trips within urban zoning areas. This reduces the impact of urban zoning management models on urban residents' travel.
[0031] 2. This urban zoning method has redefined the urban emergency management units, which has certain guiding significance for the scientific and sustainable response to special events in cities. At the same time, since the divided urban zoning is more traffic adaptable, it also provides a certain reference value for the adjustment of public transportation organization strategies under special events in cities. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a flow chart of a special event city zoning method based on multi-modal public transportation travel data of the present invention.
[0033] Figure 2 It is a step diagram of the Leiden community detection algorithm used in the present invention.
[0034] Figure 3 It is a schematic diagram of the preliminary urban zoning division of the implementation case of the present invention.
[0035] Figure 4 It is a schematic diagram of the final urban zoning division of the implementation case of the present invention.
[0036] Figure 5 2 is a schematic diagram for comparing partition results of implementation cases of the present invention. DETAILED DESCRIPTION
[0037] In order to better understand the technical content of the present invention, specific embodiments are given and described as follows in conjunction with the accompanying drawings.
[0038] Various aspects of the invention are described herein with reference to the accompanying drawings, in which many illustrative embodiments are shown. The embodiments of the invention are not limited to those described in the accompanying drawings. It should be understood that the invention is implemented by any of the various concepts and embodiments described above, as well as the concepts and embodiments described in detail below, because the concepts and embodiments disclosed in the invention are not limited to any implementation. In addition, some aspects disclosed in the invention may be used alone or in any appropriate combination with other aspects disclosed in the invention.
[0039] like Figure 1 As shown, a flow chart of a special event city zoning method based on multi-modal public transportation travel data includes the following steps:
[0040] S1. Based on the urban traffic network, the urban traffic network is divided into several traffic zones. A traffic zone refers to a combination of nodes or lines with a certain degree of traffic correlation and traffic similarity. Dividing the traffic network coverage area of a city into several traffic zones makes it easier to understand the traffic travel rules at the meso-level, which helps to formulate reasonable traffic management measures.
[0041] S2. Obtain urban multi-modal user travel data and pre-process the user multi-modal travel data; user travel data includes subway, bus, shared bicycle, taxi, online car-hailing, etc.
[0042] S3, based on each traffic community obtained in step S1 and the pre-processed user multi-modal travel data, extract the latitude and longitude coordinates of the travel starting point, the latitude and longitude coordinates of the travel end point, the travel start and end time and other field data, match the travel starting point and the travel end point in the pre-processed user multi-modal travel data with the corresponding traffic communities, and construct an urban multi-modal travel spatial interaction network for statistically generating a joint data set on travel flow between each traffic community;
[0043] S4. Based on the joint data set about travel flow between each traffic community, the spatial interaction network is divided using the Leiden algorithm to obtain the community division scheme with the highest modulus value and its corresponding preliminary divided urban community;
[0044] S5. Use the modulus value to measure the preliminary urban communities obtained in step S4, and add constraints based on the measurement results to modify the preliminary urban communities to obtain the final urban divisions.
[0045] This example selects a city A as a representative comprehensive transportation hub. By the end of a certain year, City A has 11 districts with a total area of nearly 80,000 square kilometers and a permanent population of nearly 10 million. City A has a complete multimodal transport system with 11 lines and 191 stations. The total length of the line is 427.1.10 kilometers, forming a subway network covering the entire city.
[0046] The urban road data (main roads, secondary roads, and branch roads) within the research scope of City A were input, and traffic zones (TAZs) were divided based on factors such as land use nature and land use conditions, as well as road network topology and traffic flow characteristics. 3028 traffic zones were obtained through division, such as Figure 3 shown.
[0047] Input the city's multimodal travel data: including subways, buses, shared bicycles, taxis, online ride-hailing cars, etc., and pre-process the city's multimodal travel data to extract field data such as the latitude and longitude coordinates of the trip starting point, the latitude and longitude coordinates of the trip end point, and the start and end time of the trip.
[0048] This research case mainly uses two types of data sets. The first type of data is the multi-modal travel data of residents in City A, and the other type is the transportation zone (TAZ) information. The first type of data includes four types of travel data: free floating bicycle sharing (FFBS) travel data, public bicycle data in City A, subway travel data in City A, and smart card data from buses in City A. These four types of data include the following fields: ID, date, starting location, end location, starting time, and end time, as shown in Table 1, the multi-modal public transportation travel data set table. The second type of data set is the transportation zone (TAZ) data of City A, including ID, population, area, and employment, as shown in Table 2, the transportation zone (TAZ) information table.
[0049] The bicycle sharing supervision platform in City A provided 3,647,984 shared bicycle trips in one week. The 459,609 public bicycle trips in City A in the same week were provided by the public bicycle company in City A. The subway company in City A provided 18,614,830 subway trips for one week. The bus company in City A provided IC card data for 46,514,543 bus trips in one week. The multi-modal public transportation trip data set in City A contains a total of 16,701,097 trips.
[0050] Table 1
[0051]
[0052] Table 2
[0053]
[0054] Data processing includes matching and converting the latitude and longitude of the starting and ending points of the trip. The bus travel data does not include the drop-off location, so it is necessary to use the minimum entropy rate improved trip chain method for starting-end estimation. Data cleaning mainly includes deduplication, deletion of null value data, and deletion of abnormal data. Abnormal data mainly includes longitude and latitude drift, travel distance anomaly, and travel time anomaly.
[0055] 3. Construct a spatial interactive network of urban multimodal travel and aggregate users’ travel into travel flows at the TAZ level. Through the spatial connection function of ArcGIS software, user travel data is aggregated into OD traffic flows according to the TAZ dataset. The starting and ending points of user travel are matched to the corresponding TAZs respectively, and the travel flows between each TAZ are counted to generate a joint dataset, as shown in Table 3 Joint dataset statistics. The dataset in this table records travel-related information from one TAZ to another TAZ. In addition to travel flows, the dataset also records population, employment, and the distance between any pair of TAZs. The distance used refers to the shortest network distance from the centroid of one TAZ to the centroid of another TAZ.
[0056] Table 3
[0057]
[0058] like Figure 2 As shown, the spatial interaction network is divided using the Leiden algorithm to obtain a community division scheme with the highest modulus value. The specific steps include the following steps S4.1 to S4.5. The value range of the modulus value is (0,1).
[0059] S4.1. Number the centroids of each traffic zone to correspond to each node;
[0060] S4.2, taking each node as the initial community, moving the initial community to another community according to the joint data set attributes of the traffic flow between each traffic cell, and obtaining a class of communities of this algorithm; and calculating the modulus value of the current division result according to the modulus value calculation formula;
[0061] S4.3. Refine the obtained community into a certain type, obtain the corresponding sub-community, and improve the modulus value of the algorithm result in the previous step.
[0062] S4.4. Agglomerate the nodes in each subcommunity to obtain new independent nodes, each of which represents a type of community in the previous round of the algorithm;
[0063] S4.5. Based on the new independent node obtained in step S4.4, return to execute steps S4.1 to S4.3, and calculate the modulus value in each round of algorithm iteration, retain the classification results with improved modulus value until the modulus value can no longer be improved, and use the community division corresponding to the modulus value corresponding to the last iteration as the final community division result.
[0064] The modulus value is calculated according to the following formula:
[0065]
[0066] Among them, A ij represents the weight of the edge between nodes i and j; parameter K i is the sum of the weights of the edges connected to node i; K j is the sum of the weights of the edges connected to node j; parameter m represents the number of edges; parameter C i is the community to which node i is assigned, if C i =C j , modularity δ(C i ,C j ) is equal to 1, otherwise it is equal to 0;
[0067] Generally speaking, higher modularity values will correspond to more stable community structures. Good community detection results are indicated in the form of higher similarity of nodes within the community and lower similarity of nodes outside the community.
[0068] The preliminary urban partitions are measured by constraint conditions, and the preliminary urban communities are modified by adding constraint conditions according to the measurement results to obtain the final urban partitions. The communities with poor spatial connectivity are corrected to obtain the final urban partition plan as follows: Figure 4 As shown. The constraints are: for a node with one adjacent node, merge it directly with the adjacent node; for a surrounding node with multiple adjacent nodes with connecting edges, merge it with the node that can achieve the maximum modulus value gain; for an isolated node that does not have any edges with adjacent nodes, group it with the node with the smallest area.
[0069] Comparative analysis of the effects of the invention: The travel network of City A was divided based on the multi-modal public transportation travel data of City A through the Leiden community detection algorithm, and the community classification scheme with the smallest modularity was obtained. This method minimizes the connection between communities and maximizes the connection within the community. Therefore, the demarcation of urban zoning by this method greatly reduces the traffic connection between urban zoning, so that the division of urban zoning cuts off the traffic travel connection as little as possible, thereby reducing the prevention and control costs after special events occur, and providing a refined and sustainable prevention and control reference for cities to deal with special events. The results of the comparison with the conventional scheme of urban zoning based on administrative districts are shown in Table 4, the statistical table of travel connection cut off by urban zoning, and Table 5, the statistical table of travel connection cut off by administrative district zoning scheme. It can be seen that the invention reduces the cut-off of 8.2% of traffic travel connections. Figure 5 The left side shows the districts of City A divided by the present invention, and the right side shows the administrative district division map of City A. By comparison, the present invention provides a refined and sustainable prevention and control reference for responding to special events.
[0070] Table 4
[0071] ID Travel within the zone Total trips by region Cut-off ratio ID Travel within the zone Total trips by region Cut-off ratio 1 814001 1445322 43.7% 2 793516 1565796 49.3% 3 203003 323750 37.3% 4 1216952 2765344 56.0% 5 626018 1409669 55.6% 6 660339 1221855 46.0% 7 181320 364057 50.2% 8 786739 1453103 45.9% 9 712767 1119151 36.3% 10 965260 1561400 38.2% 11 907676 1674548 45.8% 12 830472 1111477 25.3% 13 36331 63556 42.8% 14 339629 510470 33.5% 15 65767 111599 41.1% Sum 9139790 16701097 45.3%
[0072] Table 5
[0073] Administrative district number Travel Statistics within the District All travel statistics in the district Cut off travel ratio ① 1027089 1965139 47.7% ② 1136900 2742648 58.5% ③ 1268809 2418767 47.5% ④ 990459 2701024 63.3% ⑤ 497849 1387883 64.1% ⑥ 917562 1787173 48.7% ⑦ 752001 1521008 50.6% ⑧ 262370 690744 40.0% ⑨ 746350 1486711 49.8% total 7765393 16701097 53.5%
[0074] Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. A person skilled in the art of the present invention may make various modifications and improvements without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be determined by the claims.
Claims
1. A special event city zoning method based on multi-modal public transportation travel data, It is characterized in that The steps include: S1. Based on the urban traffic network, the urban traffic network is divided into several traffic zones; S2. Obtaining urban multi-modal user travel data and pre-processing the user multi-modal travel data; S3, based on each traffic community obtained in step S1 and the pre-processed user multi-modal travel data, the travel starting point and the travel destination in the pre-processed user multi-modal travel data are matched with the corresponding traffic communities, and an urban multi-modal travel spatial interaction network is constructed to statistically generate a joint data set about travel flow between each traffic community; S4. Based on the joint data set about travel flow between each traffic community, the spatial interaction network is divided using the Leiden algorithm to obtain the community division scheme with the highest modulus value and its corresponding preliminary divided urban community; It includes the following sub-steps: S4.
1. Number the centroids of each traffic zone to correspond to each node; S4.2, taking each node as the initial community, moving the initial community to another community according to the joint data set attributes of traffic flow between each traffic community, and obtaining a class of communities of this algorithm; And calculate the modulus value of the current division result according to the modulus value calculation formula; S4.3, refine the obtained community into a sub-community, and improve the modulus value of S4.2; S4.4, agglomerate the nodes in each subcommunity to obtain new independent nodes, each of which represents a type of community in step S4.3; S4.
5. Based on the new independent node obtained in step S4.4, return to execute steps S4.1 to S4.3, and calculate the modulus value in the iterative process, retain the classification results with improved modulus values, until the modulus value can no longer be improved, and use the community division corresponding to the modulus value corresponding to the last iteration as the final community division result; S5, using the modulus value to measure the preliminary urban partitions obtained in step S4, and adding constraints according to the measurement results to modify the preliminary urban communities to obtain the final urban partitions, The modulus value is calculated as follows: Among them, A ij represents the weight of the edge between nodes i and j; parameter K i is the sum of the weights of the edges connected to node i; K j is the sum of the weights of the edges connected to node j; parameter m represents the number of edges; parameter C i is the community to which node i is assigned, if C i =C j , modularity δ(C i ,C j ) is equal to 1, otherwise it is equal to 0; The constraints are: for a node with one adjacent node, it is directly merged with the adjacent node; for a surrounding node with multiple adjacent nodes with connecting edges, it is merged with the node that can achieve the maximum modulus value gain; for an isolated node that has no edges with any adjacent nodes, it is grouped with the node with the smallest area.
2. A special event city zoning method based on multi-modal public transportation travel data according to claim 1, It is characterized in that Step S2 includes the following sub-steps: S2.
1. Acquiring urban multi-mode user travel data includes: acquiring data of six fields, namely, user number, order date, order start time and the location corresponding to the start time, order completion time and the location corresponding to the completion time, from subway data, bus data, shared bicycle data, taxi data, and online car-hailing data; S2.
2. According to the order start time and the location corresponding to the start time, the order completion time and the location corresponding to the completion time, the order longitude and latitude matching conversion is performed to obtain user travel data: the longitude and latitude coordinates of the user's travel starting point, the longitude and latitude coordinates of the user's travel end point, the user's travel starting time, and the user's travel end time; S2.
3. Eliminate duplicate data, delete null value data, and delete abnormal data from user travel data.
3. A special event city zoning method based on multi-modal public transportation travel data according to claim 2, It is characterized in that In step S3, a joint data set about traffic flow between each traffic community is generated, including the travel flow between each traffic community, the shortest network distance between the centroids of each traffic community, and the population in each community.
4. A special event city zoning method based on multi-modal public transportation travel data according to claim 3, It is characterized in that In step S2.2, the minimum entropy travel chain method is used to perform order longitude and latitude matching conversion to obtain the user's travel starting point and user's travel destination.
5. A special event city zoning method based on multi-modal public transportation travel data according to claim 4, It is characterized in that In step S2.3, deleting abnormal data includes deleting longitude and latitude drift data, abnormal travel distance data, and abnormal travel time data.
