CN116504050A - A Special Event City Partitioning Method Based on Multimodal Public Transit Trip Data - Google Patents
A Special Event City Partitioning Method Based on Multimodal Public Transit Trip Data Download PDFInfo
- Publication number
- CN116504050A CN116504050A CN202211184527.5A CN202211184527A CN116504050A CN 116504050 A CN116504050 A CN 116504050A CN 202211184527 A CN202211184527 A CN 202211184527A CN 116504050 A CN116504050 A CN 116504050A
- Authority
- CN
- China
- Prior art keywords
- travel
- data
- urban
- traffic
- community
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000000638 solvent extraction Methods 0.000 title claims abstract description 7
- 238000005192 partition Methods 0.000 claims abstract description 10
- 230000003993 interaction Effects 0.000 claims abstract description 6
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 238000005259 measurement Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000012804 iterative process Methods 0.000 claims description 2
- 238000007781 pre-processing Methods 0.000 claims description 2
- 238000013316 zoning Methods 0.000 abstract description 14
- 238000007726 management method Methods 0.000 abstract description 6
- 238000001514 detection method Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000002265 prevention Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- VYMDGNCVAMGZFE-UHFFFAOYSA-N phenylbutazonum Chemical compound O=C1C(CCCC)C(=O)N(C=2C=CC=CC=2)N1C1=CC=CC=C1 VYMDGNCVAMGZFE-UHFFFAOYSA-N 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000029305 taxis Effects 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 1
- 238000010835 comparative analysis Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007667 floating Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/123—Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A30/00—Adapting or protecting infrastructure or their operation
- Y02A30/60—Planning or developing urban green infrastructure
Landscapes
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Strategic Management (AREA)
- Human Resources & Organizations (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Game Theory and Decision Science (AREA)
- Educational Administration (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Traffic Control Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本发明公开了一种基于多模式公共交通出行数据的特殊事件城市分区方法,根据城市道路数据划分交通小区,随后输入处理后的城市多模式公共交通出行数据,依据交通小区划分将多模式公共交通出行数据汇聚到交通小区中得到联合数据集。再根据联合数据集构建空间交互网络,以反映城市公共交通出行的时空特征。接着利用Leiden社区检测算法对空间交互网络进行划分,得到初步的城市分区方案。最后,根据空间约束条件对初步分区方案中的空间不连接区域进行修正,得到最终的城市分区方案。本发明能有效减少特殊事件而进行的城市分区对居民出行的影响,为城市应对特殊事件提供精细化、可持续的管理参考。
The invention discloses a special event city partitioning method based on multi-mode public transport travel data, which divides traffic areas according to urban road data, and then inputs processed urban multi-mode public transport travel data, divides multi-mode public transport according to the division of traffic areas The travel data is aggregated into the traffic area to obtain a joint data set. Then construct a spatial interaction network based on the joint dataset to reflect the spatio-temporal characteristics of urban public transport travel. Then, the Leiden community detection algorithm is used to divide the spatial interaction network, and a preliminary urban partition scheme is obtained. Finally, according to the spatial constraints, the spatially disconnected areas in the preliminary zoning scheme are corrected to obtain the final urban zoning scheme. The invention can effectively reduce the impact of urban zoning for special events on travel of residents, and provide refined and sustainable management reference for cities to deal with special events.
Description
技术领域technical field
本发明涉及城市疫情预防与控制技术领域,特别是一种基于多模式公共交通出行数据的特殊事件城市分区方法The invention relates to the technical field of urban epidemic prevention and control, in particular to a special event city partitioning method based on multi-mode public transport travel data
背景技术Background technique
现有的城市分区方法主要依据城市的行政区划或地理间隔进行区域划分,而依据这两者界定的边界属于历史沿革。依据上述方法得到的城市分区并没有考虑城市居民的出行特征及规律,同时对特殊事件发生后公共交通的运营管理带来诸多不便,城市分区下城市的公共交通受到了不同程度的影响。部分城市出于管理需要,完全暂停了公共交通服务。部分地区只允许在重大需求时乘坐公共交通或降低了发车频次并相应关闭了部分车站。这导致特殊事件发生后各国的公共交通客流持续低迷,甚至公共交通系统在恢复正常运营后,由于人们出行习惯的改变,公共交通客流仍难以恢复到之前的水准,应急事件下公共交通系统韧性遭遇了严峻的挑战。Existing urban zoning methods are mainly based on administrative divisions or geographical intervals of cities, and the boundaries defined by these two belong to historical evolution. The urban zoning obtained by the above method does not take into account the travel characteristics and rules of urban residents, and at the same time brings a lot of inconvenience to the operation and management of public transportation after special events. The urban public transportation under the urban zoning has been affected to varying degrees. Some cities have completely suspended public transport services for administrative reasons. In some areas, public transportation is only allowed in times of great demand or the frequency of departures has been reduced and some stations have been closed accordingly. This has led to the continuous sluggish passenger flow of public transport in various countries after the special event. Even after the public transport system resumes normal operation, due to changes in people's travel habits, the passenger flow of public transport is still difficult to return to the previous level. severe challenge.
因此为完善城市分区方法,保障应急事件发生时城市居民的基本出行需求及城市基本的公共交通服务,提升公共交通系统韧性,在当代社会有必要总结经验,从交通视角出发探究特殊事件下城市分区的交通适应性,研究更加科学合理的城市分区策略。Therefore, in order to improve the method of urban zoning, ensure the basic travel needs of urban residents and basic public transport services when emergency events occur, and improve the resilience of public transport systems, it is necessary to sum up experience in contemporary society and explore urban zoning under special events from the perspective of transportation. traffic adaptability, and research more scientific and reasonable urban zoning strategies.
发明内容Contents of the invention
本发明所要解决的技术问题是:针对现有技术的不足,提出一种基于多模式公共交通出行数据的特殊事件城市分区方法。The technical problem to be solved by the present invention is: aiming at the deficiencies of the prior art, a special event city partitioning method based on multi-mode public transport travel data is proposed.
为解决以上技术问题,本发明提供如下技术方案:一种基于多模式公共交通出行数据的特殊事件城市分区方法,包括如下步骤:In order to solve the above technical problems, the present invention provides the following technical solutions: a special event city partitioning method based on multi-mode public transport travel data, comprising the following steps:
S1、基于城市交通网络,将城市交通网络划分为若干个交通小区;S1. Based on the urban traffic network, divide the urban traffic network into several traffic districts;
S2、获取城市多模式用户出行数据,并对所述用户多模式出行数据预处理;S2. Acquiring urban multi-mode user travel data, and preprocessing the user multi-mode travel data;
S3、基于步骤S1获得的各个交通小区、以及预处理后的用户多模式出行数据,将预处理后的用户多模式出行数据中的出行起点、出行终点分别与其所对应的交通小区相匹配,构建城市多模式出行空间交互网络,用于统计生成各个交通小区间关于出行流量的联合数据集;S3. Based on the traffic districts obtained in step S1 and the preprocessed user multi-mode travel data, match the travel starting point and travel end point in the preprocessed user multi-mode travel data with their corresponding traffic districts respectively, construct Urban multi-modal travel space interactive network, used to statistically generate joint data sets about travel flow among various traffic areas;
S4、根据各个交通小区间关于出行流量的联合数据集,利用Leiden算法对空间交互网络进行划分,获得模度值最高的社区划分方案、以及其对应的初步划分的城市社区;S4. According to the joint data set about the travel flow between each traffic area, use the Leiden algorithm to divide the spatial interaction network, and obtain the community division plan with the highest modulus value and its corresponding preliminary divided urban community;
S5、利用模度值对步骤S4获得的初步划的城市社区进行衡量,并根据衡量结果增添约束条件对初步划分的城市社区进行修正,获得最终城市分区。S5. Using the modulus value to measure the preliminarily divided urban communities obtained in step S4, and adding constraints to correct the preliminary divided urban communities according to the measurement results, to obtain the final urban divisions.
进一步地,前述的步骤S2包括以下子步骤:Further, the aforementioned step S2 includes the following sub-steps:
S2.1、获取城市多模式用户出行数据包括:分别获取地铁数据、公交数据、共享单车数据、出租车数据、网约车数据中的用户编号、订单日期、订单开始时间及开始时间对应的位置、订单完成时间及完成时间对应的位置共六个字段的数据;S2.1. Obtaining urban multi-mode user travel data includes: separately obtaining subway data, bus data, shared bicycle data, taxi data, user number in online car-hailing data, order date, order start time and the location corresponding to the start time , order completion time and the location corresponding to the completion time, a total of six fields of data;
S2.2、根据订单开始时间及开始时间对应的位置、订单完成时间及完成时间对应的位置,进行订单经纬度匹配转换,获得用户出行数据:用户出行起点经纬度坐标、用户出行终点经纬度坐标、用户出行起点时间、用户出行终点时间;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, perform order latitude and longitude matching conversion to obtain user travel data: user travel starting point latitude and longitude coordinates, user travel end point latitude and longitude coordinates, user travel Starting time, end time of user travel;
S2.3、对用户出行数据进行重复数据消除、删除空值数据、删除异常数据。S2.3. Deduplicate the user travel data, delete null data, and delete abnormal data.
进一步地,前述的步骤S3中生成各个交通小区间关于交通流量的联合数据集包括各个交通小区之间的出行流量、各个交通小区质心之间的最短网络距离、各个小区内的人口数量。Further, the joint data set about the traffic flow between each traffic zone generated in the aforementioned step S3 includes the travel flow between each traffic zone, the shortest network distance between the centroids of each traffic zone, and the population in each zone.
进一步地,前述的步骤S4包括以下子步骤:Further, the aforementioned step S4 includes the following sub-steps:
S4.1、将各个交通小区的质心进行编号,对应为各个节点;S4.1. Number the centroids of each traffic area, corresponding to each node;
S4.2、以各个节点作为初始社区,根据各个交通小区间关于交通流量的联合数据集属性将初始社区移动至另一社区,获得本次算法的一类社区;并根据模度值计算公式计算当前划分结果的模度值;S4.2. Taking each node as the initial community, move the initial community to another community according to the attributes of the joint data set about traffic flow between each traffic area, and obtain a class of community in this algorithm; and calculate according to the modulus value calculation formula The modulus value of the current division result;
S4.3、对获得的一类社区内部进行细化,获得对应的子社区,提升S4.2的模度值;S4.3. Refine the interior of the obtained type of community, obtain the corresponding sub-community, and increase the modulus value of S4.2;
S4.4、对各个子社区中的节点进行凝聚,获得新的独立节点,每个独立节点代表步骤S4.3的一类社区;S4.4. Coagulate the nodes in each sub-community to obtain new independent nodes, each independent node represents a type of community in step S4.3;
S4.5、基于步骤S4.4获得的新的独立节点,返回执行步骤S4.1至步骤S4.3,并在迭代过程中计算模度值,保留模度值提升的分类结果,直到该模度值无法继续提升,并以该最后一次迭代对应的模度值对应获得的社区划分为最终的社区划分结果。S4.5. Based on the new independent node obtained in step S4.4, return to step S4.1 to step S4.3, and calculate the modulus value in the iterative process, and keep the classification result of modulus value promotion until the modulus The degree value cannot be further improved, and the community division obtained corresponding to the modulus value corresponding to the last iteration is the final community division result.
进一步地,前述的步骤S5具体包括;Further, the aforementioned step S5 specifically includes;
按如下公式计算模度值:Calculate the modulus value according to the following formula:
其中,Aij代表节点i和j之间的边的权重;参数Ki是与节点i相连的边的权重之和;Kj是与节点j相连的边的权重之和;参数m代表边的数量;参数Ci是节点i被分配到的社区,如果Ci=Cj,模块度δ(Ci,Cj)等于1,否则等于0;Among them, A ij represents the weight of the edge between nodes i and j; the 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; the parameter m represents the weight of the edge Quantity; 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, merge it directly with the adjacent node; for a surrounding node with multiple adjacent nodes with connecting edges, combine it with the node that can achieve the maximum modulus value gain Node merging; for an isolated node that does not have any edges with adjacent nodes, group it with the node with the smallest area.
进一步地,前述的步骤S2.2中,利用最小熵率出行链方法进行订单经纬度匹配转换,获得用户出行起点、用户出行终点。Further, in the aforementioned step S2.2, the minimum entropy rate travel chain method is used to perform order latitude and longitude matching conversion to obtain the user's travel starting point and user's travel destination.
进一步地,前述的步骤S2.3中,删除异常数据包括删除经纬度漂移数据、异常旅行距离数据、异常旅行时间数据。Further, in the aforementioned step S2.3, deleting the abnormal data includes deleting the longitude and latitude drift data, the abnormal travel distance data, and the abnormal travel time data.
本发明采用以上技术方案与现有技术相比,具有以下技术效果:Compared with the prior art, the present invention adopts the above technical scheme and has the following technical effects:
1、应对城市特殊事件,交通适应性的城市分区管理模式越来越重要,因此亟需我们探究科学合理的城市分区方法。本技术可以在有效识别城市居民公共交通出行的基础上划分更具交通适应性的城市分区,通过社区发现算法减少因分区管理而切断的城市居民出行联系,将大部分出行都涵盖在城市分区内部。从而减少城市分区管理模式对城市居民出行的影响。1. In response to special urban events, the traffic-adaptive urban zoning management model is becoming more and more important. Therefore, it is urgent for us to explore scientific and reasonable urban zoning methods. This technology can divide more traffic-adaptable urban subregions on the basis of effectively identifying urban residents' public transportation trips, reduce the travel connections of urban residents cut off due to partition management through community discovery algorithms, and cover most of the trips within urban subdivisions . Thereby reducing the impact of the urban zoning management mode on the travel of urban residents.
2、本城市分区方法重新划设了城市应急管理单元,对城市科学可持续的特殊事件处理响应具有一定的指导意义,同时由于划分的城市分区更具交通适应性,因此也为城市特殊事件下公共交通组织策略调整提供一定的参考价值。2. This urban zoning method redesignates the urban emergency management unit, which has a certain guiding significance for the urban scientific and sustainable response to special events. At the same time, because the divided urban zoning is more traffic-adaptable, it is also suitable for urban special events. The strategic adjustment of public transport organization provides a certain reference value.
附图说明Description of drawings
图1是本发明一种基于多模式公共交通出行数据的特殊事件城市分区方法流程图。Fig. 1 is a flow chart of a special event city partitioning method based on multi-mode public transport travel data according to the present invention.
图2是本发明所用的Leiden社区检测算法步骤图。Fig. 2 is a step diagram of the Leiden community detection algorithm used in the present invention.
图3是本发明实施案例的城市初步分区划分示意图。Fig. 3 is a schematic diagram of the preliminary division of cities in an embodiment of the present invention.
图4是本发明实施案例的城市最终分区划分示意图。Fig. 4 is a schematic diagram of the final division of the city in the embodiment of the present invention.
图5是本发明实施案例的分区结果对比示意图。Fig. 5 is a schematic diagram of comparison of partition results in the implementation cases of the present invention.
具体实施方式Detailed ways
为了更了解本发明的技术内容,特举具体实施例并配合所附图式说明如下。In order to better understand the technical content of the present invention, specific embodiments are given together with the attached drawings for description as follows.
在本发明中参照附图来描述本发明的各方面,附图中示出了许多说明性实施例。本发明的实施例不局限于附图所述。应当理解,本发明通过上面介绍的多种构思和实施例,以及下面详细描述的构思和实施方式中的任意一种来实现,这是因为本发明所公开的构思和实施例并不限于任何实施方式。另外,本发明公开的一些方面可以单独使用,或者与本发明公开的其他方面的任何适当组合来使用。Aspects of the invention are described herein with reference to the accompanying drawings, in which a number of illustrative embodiments are shown. Embodiments of the present invention are not limited to those described in the drawings. It should be understood that the present invention can be realized by any one of the various concepts and embodiments described above, as well as the concepts and embodiments described in detail below, because the disclosed concepts and embodiments of the present invention are not limited to any implementation Way. In addition, some aspects of the present disclosure may be used alone or in any suitable combination with other aspects of the present disclosure.
如图1所示,一种基于多模式公共交通出行数据的特殊事件城市分区方法流程图,包括如下步骤:As shown in Figure 1, a flow chart of a special event city partition method based on multi-mode public transport travel data, including the following steps:
S1、基于城市交通网络,将城市交通网络划分为若干个交通小区;其中交通小区指具有一定交通关联度和交通相似程度的节点或连线的组合,将一个城市的交通网络覆盖区域划分为若干个交通小区,便于从中观层次上理解交通出行规律,从而有助于制定合理的交通管理措施。S1. Based on the urban transportation network, the urban transportation network is divided into several traffic areas; the traffic area refers to the combination of nodes or connections with a certain degree of traffic correlation and traffic similarity, and the coverage area of a city's traffic network is divided into several It is easy to understand the traffic travel rules from the mesoscopic level, which is helpful to formulate reasonable traffic management measures.
S2、获取城市多模式用户出行数据,并对所述用户多模式出行数据预处理;用户出行数据包括地铁、公交、共享单车、出租车、网约车等。S2. Acquire urban multi-mode user travel data, and preprocess the user multi-mode travel data; user travel data includes subways, buses, shared bicycles, taxis, online car-hailing, etc.
S3、基于步骤S1获得的各个交通小区、以及预处理后的用户多模式出行数据,从中提取出行起点经纬度坐标、出行终点经纬度坐标、出行起终点时间等字段数据,将预处理后的用户多模式出行数据中的出行起点、出行终点分别与其所对应的交通小区相匹配,构建城市多模式出行空间交互网络,用于统计生成各个交通小区间关于出行流量的联合数据集;S3. Based on the various traffic districts obtained in step S1 and the preprocessed user multimodal travel data, field data such as the longitude and latitude coordinates of the travel start point, the longitude and latitude coordinates of the travel end point, and the travel start and end point time are extracted, and the preprocessed user multimode The travel start point and travel end point in the travel data are matched with their corresponding traffic districts, and an urban multi-mode travel space interactive network is constructed to statistically generate a joint data set of travel flow among various traffic districts;
S4、根据各个交通小区间关于出行流量的联合数据集,利用Leiden算法对空间交互网络进行划分,获得模度值最高的社区划分方案、以及其对应的初步划分的城市社区;S4. According to the joint data set about the travel flow between each traffic area, use the Leiden algorithm to divide the spatial interaction network, and obtain the community division plan with the highest modulus value and its corresponding preliminary divided urban community;
S5、利用模度值对步骤S4获得的初步划的城市社区进行衡量,并根据衡量结果增添约束条件对初步划分的城市社区进行修正,获得最终城市分区。S5. Using the modulus value to measure the preliminarily divided urban communities obtained in step S4, and adding constraints to correct the preliminary divided urban communities according to the measurement results, to obtain the final urban divisions.
本实施例选择某城市A作为代表性的综合交通枢纽,截至某年年底,A市共有11个区,总面积接近8万平方公里,常住人口近一千万人。A市拥有完善的多式联运系统,有11条线路和191个车站,线路全长427.1.10公里,形成了覆盖全市的地铁网络。In this embodiment, a certain city A is selected as a representative comprehensive transportation hub. By the end of a certain year, there are 11 districts in city A, 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, with a total length of 427.1.10 kilometers, forming a subway network covering the whole city.
输入A市研究范围内的城市道路(主干路、次干路、支路)数据,基于用地性质、土地利用情况等要素,同时以路网拓扑结构和交通流特征为依据划分交通小区(TAZ)。通过划分得到3028个交通小区,如图3所示。Input the data of urban roads (arterial roads, secondary roads, and branch roads) within the research scope of city A, and divide traffic zones (TAZ) based on the nature of land use, land use conditions and other factors, and at the same time, based on the road network topology and traffic flow characteristics . Through division, 3028 traffic districts are obtained, as shown in Figure 3.
输入城市多模式出行数据:包括地铁、公交、共享单车、出租车、网约车等,并对城市多模式出行数据进行预处理工作,从中提取出行起点经纬度坐标、出行终点经纬度坐标、出行起终点时间等字段数据。Input urban multi-modal travel data: including subway, bus, shared bicycles, taxis, online car-hailing, etc., and preprocess the urban multi-modal travel data, extracting the longitude and latitude coordinates of the starting point of travel, the longitude and latitude coordinates of the end point of travel, and the start and end of travel Field data such as time.
本研究案例主要采用了两种类型的数据集。第一类数据是A市居民多模式出行数据,另一类是交通小区(TAZ)信息。第一类数据包括四种类型的出行数据:自由浮动自行车共享(FFBS)出行数据、A市公共自行车数据、A市地铁出行数据、来自辆公交车的A市智能卡数据。这四种类型的数据包括以下字段:ID、日期、起点位置、终点位置、起点时间、终点时间,如表1多模式公共交通出行数据集表所示。数据集的第二类是A市的交通小区(TAZ)数据,包括ID、人口、面积、就业,如表2交通小区(TAZ)信息表所示。There are mainly two types of datasets used in this case study. The first type of data is the multi-modal travel data of city A residents, and the other type is the traffic area (TAZ) information. The first type of data includes four types of travel data: Free Floating Bike Share (FFBS) travel data, city A public bicycle data, city A subway travel data, city A smart card data from a bus. These four types of data include the following fields: ID, date, origin location, destination location, origin time, and destination time, as shown in Table 1, the multi-modal public transport travel data set table. The second type of data set is the traffic zone (TAZ) data of city A, including ID, population, area, and employment, as shown in Table 2 Traffic Zone (TAZ) Information Table.
其中A市自行车共享监管平台提供了一周3647984次的共享单车出行数据。在A市同一周的459609条公共自行车出行数据由A市公共自行车公司提供。A市地铁公司提供了18614830次地铁出行数据,为期一周。A市公交公司提供了一周46514543次公交出行的IC卡数据。A市多模式公共交通出行数据集共包含16701097次出行。Among them, the bicycle sharing supervision platform of city A provided data on 3,647,984 shared bicycle trips in a week. The data of 459,609 public bicycle trips in city A in the same week are provided by the public bicycle company of city A. The subway company of city A provided data on 18,614,830 subway trips for a period of one week. The bus company of city A provided the IC card data of 46,514,543 bus trips in a week. The multi-modal public transport trip data set of city A contains a total of 16,701,097 trips.
表1Table 1
表2Table 2
数据的处理包括旅行起点和终点的纬度和经度的匹配和转换。公交出行数据不包括下车位置,因此有必要使用最小熵率改进的出行链方法进行起点-终点估计。数据清理主要包括重复数据消除、删除空值数据以及删除异常数据。异常数据主要包括经纬度漂移、旅行距离异常和旅行时间异常。The processing of the data includes matching and converting the latitude and longitude of the origin and destination of the trip. The bus trip data does not include alighting locations, so it is necessary to use the minimum entropy rate modified trip chain method for origin-destination estimation. Data cleaning mainly includes deduplication, deletion of null data, and deletion of abnormal data. Anomaly data mainly include latitude and longitude drift, travel distance anomalies and travel time anomalies.
3、构建城市多模式出行空间交互网络,将用户的出行汇总为交通小区(TAZ)级别的出行流。通过ArcGIS软件的空间连接功能,根据交通小区(TAZ)数据集将用户出行数据聚合成为OD交通流,用户出行起终点分别被匹配到对应的交通小区中,并统计各小区间的出行流量,生成一个联合数据集,如表3联合数据集统计表所示。该表的数据集记录了从一个交通小区(TAZ)到另一个交通小区(TAZ)的出行相关信息。除了出行流量外,该数据集还记录了人口、就业和任何一对交通小区(TAZ)之间的距离。其中,所使用的距离是指从一个交通小区(TAZ)的质心到另一个交通小区(TAZ)的质心的最短网络距离。3. Build an urban multi-modal travel space interactive network, and summarize the travel of users into a travel flow at the traffic zone (TAZ) level. Through the spatial connection function of ArcGIS software, the user travel data is aggregated into OD traffic flow according to the traffic zone (TAZ) data set. A joint data set, as shown in Table 3 Joint Data Set Statistics Table. The data set of this table records travel-related information from one traffic zone (TAZ) to another traffic zone (TAZ). In addition to travel flows, the dataset also records population, employment, and the distance between any pair of traffic zones (TAZs). Wherein, the distance used refers to the shortest network distance from the centroid of one traffic zone (TAZ) to the centroid of another traffic zone (TAZ).
表3table 3
如图2所示,利用Leiden算法对空间交互网络进行划分,得到模度值最高的社区划分方案。具体步骤包括如下步骤S4.1至步骤S4.5。模度值的取值范围为(0,1)。As shown in Figure 2, the Leiden algorithm is used to divide the spatial interaction network, and the community division scheme with the highest modulus value is obtained. The specific steps include the following steps S4.1 to S4.5. The value range of the modulus value is (0,1).
S4.1、将各个交通小区的质心进行编号,对应为各个节点;S4.1. Number the centroids of each traffic area, corresponding to each node;
S4.2、以各个节点作为初始社区,根据各个交通小区间关于交通流量的联合数据集属性将初始社区移动至另一社区,获得本次算法的一类社区;并根据模度值计算公式计算当前划分结果的模度值;S4.2. Taking each node as the initial community, move the initial community to another community according to the attributes of the joint data set about traffic flow between each traffic area, and obtain a class of community in this algorithm; and calculate according to the modulus value calculation formula The modulus value of the current division result;
S4.3、对获得的一类社区内部进行细化,获得对应的子社区,提升上一步算法结果的模度值。S4.3. Subdivide the inside of the obtained type of community, obtain the corresponding sub-community, and increase the modulus value of the algorithm result in the previous step.
S4.4、对各个子社区中的节点进行凝聚,获得新的独立节点,每个独立节点代表上轮算法的一类社区;S4.4. Coagulate the nodes in each sub-community to obtain new independent nodes, and each independent node represents a type of community in the last round of algorithm;
S4.5、基于步骤S4.4获得的新的独立节点,返回执行步骤S4.1至步骤S4.3,并在每一轮算法迭代过程中计算模度值,保留模度值提升的分类结果,直到该模度值无法继续提升,并以该最后一次迭代对应的模度值对应获得的社区划分为最终的社区划分结果。S4.5. Based on the new independent node obtained in step S4.4, return to step S4.1 to step S4.3, and calculate the modulus value in each round of algorithm iteration, and keep the classification result of modulus value promotion , until the modulus value cannot continue to increase, and the community division obtained corresponding to the modulus value corresponding to the last iteration is the final community division result.
其中,按如下公式计算模度值:Among them, the modulus value is calculated according to the following formula:
其中,Aij代表节点i和j之间的边的权重;参数Ki是与节点i相连的边的权重之和;Kj是与节点j相连的边的权重之和;参数m代表边的数量;参数Ci是节点i被分配到的社区,如果Ci=Cj,模块度δ(Ci,Cj)等于1,否则等于0;Among them, A ij represents the weight of the edge between nodes i and j; the 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; the parameter m represents the weight of the edge Quantity; 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;
一般来说,较高的模块化值将对应于更稳定的社区结构。良好的社区检测结果以社区内节点的较高相似度和社区外节点的较低相似度的形式表示。In general, higher modularity values will correspond to more stable community structures. A good community detection result is expressed in the form of higher similarity of nodes within the community and lower similarity of nodes outside the community.
通过约束条件对初步划分的城市分区进行衡量,并根据衡量结果增添约束条件对初步划分的城市社区进行修正,获得最终城市分区修正空间连接不良的社区,得到最终的城市分区方案如图4所示。其中约束条件为:对于具有一个相邻节点的节点,将其直接与相邻节点合并;对于具有多个具有连接边的相邻节点的包围节点,将其与能够实现最大模度值增益的节点合并;对于与相邻节点没有任何边的孤立节点,将其与具有最小面积的节点分组。Measure the preliminarily divided urban divisions through constraints, and modify the initially divided urban communities by adding constraints based on the measurement results, and obtain the final urban divisions to correct communities with poor spatial connections. The final urban division plan is shown in Figure 4. . where 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 Merge; for an isolated node that does not have any edges with neighboring nodes, group it with the node with the smallest area.
发明效果对比分析:通过Leiden社区检测算法基于A市多模式公共交通出行数据对A市出行网络进行了划分,得到了模块度最小的社区分类方案,该方法最小化了社区间的联系,最大化社区内部的联系,因此通过此方法划定城市分区大大减少了城市分区之间的交通的联系,使得城市分区的划分尽量小的切断交通出行联系,从而起到减小特殊事件发生后的防控成本,为城市应对特殊事件提供精细化、可持续的防控参考。同以常规的以行政区为边界进行城市分区的方案进行对比结果如表4城市分区切断出行联系统计表、表5行政区分区方案切断出行联系统计表所示,可见该发明减少切断了8.2%的交通出行联系。图5左边为本发明所划分的A市分区、右边为A市行政区划分图。通过对比,本发明为应对特殊事件提供精细化、可持续的处置参考。Comparative analysis of the invention effect: the travel network of city A is divided based on the multi-mode public transportation travel data of city A through the Leiden community detection algorithm, and the community classification scheme with the smallest modularity is obtained. This method minimizes the connection between communities and maximizes the The connection within the community, so the delineation of urban divisions by this method greatly reduces the traffic connection between urban divisions, making the division of urban divisions as small as possible to cut off the traffic and travel connections, thereby reducing the prevention and control after special events occur Cost, providing refined and sustainable prevention and control reference for cities to deal with special events. Carry out the program of city division with routine with the administrative district as the boundary and compare the result as shown in table 4 city division cutting off travel connection statistical table, table 5 administrative district division plan cutting off travel connection statistical table, it can be seen that this invention has reduced and cut off 8.2% of the traffic Contact for travel. The left side of Fig. 5 is the district of city A divided by the present invention, and the right side is the division map of the administrative district of city A. By comparison, the present invention provides a refined and sustainable disposal reference for dealing with special events.
表4Table 4
表5table 5
虽然本发明已以较佳实施例阐述如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围当视权利要求书所界定者为准。Although the present invention has been described above with preferred embodiments, it is not intended to limit the present invention. Those skilled in the art of the present invention may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be defined by the claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211184527.5A CN116504050B (en) | 2022-09-27 | 2022-09-27 | Special event city partitioning method based on multi-mode public transport trip data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211184527.5A CN116504050B (en) | 2022-09-27 | 2022-09-27 | Special event city partitioning method based on multi-mode public transport trip data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116504050A true CN116504050A (en) | 2023-07-28 |
CN116504050B CN116504050B (en) | 2024-09-20 |
Family
ID=87320751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211184527.5A Active CN116504050B (en) | 2022-09-27 | 2022-09-27 | Special event city partitioning method based on multi-mode public transport trip data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116504050B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116701495A (en) * | 2023-08-07 | 2023-09-05 | 南京邮电大学 | Subway-bus composite network key station identification method |
CN117557011A (en) * | 2024-01-12 | 2024-02-13 | 交通运输部科学研究院 | Calculation method and device for average highway travel distance |
CN118015831A (en) * | 2024-02-02 | 2024-05-10 | 哈尔滨工业大学 | Urban road network dynamic traffic zoning method and system for commuting needs |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108648454A (en) * | 2018-05-18 | 2018-10-12 | 中山大学 | A kind of traffic zone method for dynamically partitioning based on trip data |
CN110415523A (en) * | 2019-08-13 | 2019-11-05 | 东南大学 | A Signal Control Subarea Division Method Based on Vehicle Travel Trajectory Data |
CN111145548A (en) * | 2019-12-27 | 2020-05-12 | 银江股份有限公司 | Important intersection identification and subregion division method based on data field and node compression |
CN111353202A (en) * | 2020-05-13 | 2020-06-30 | 南京邮电大学 | Partitioning method for underground pipe network general investigation in municipal administration |
-
2022
- 2022-09-27 CN CN202211184527.5A patent/CN116504050B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108648454A (en) * | 2018-05-18 | 2018-10-12 | 中山大学 | A kind of traffic zone method for dynamically partitioning based on trip data |
CN110415523A (en) * | 2019-08-13 | 2019-11-05 | 东南大学 | A Signal Control Subarea Division Method Based on Vehicle Travel Trajectory Data |
CN111145548A (en) * | 2019-12-27 | 2020-05-12 | 银江股份有限公司 | Important intersection identification and subregion division method based on data field and node compression |
CN111353202A (en) * | 2020-05-13 | 2020-06-30 | 南京邮电大学 | Partitioning method for underground pipe network general investigation in municipal administration |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116701495A (en) * | 2023-08-07 | 2023-09-05 | 南京邮电大学 | Subway-bus composite network key station identification method |
CN116701495B (en) * | 2023-08-07 | 2023-11-14 | 南京邮电大学 | Subway-bus composite network key station identification method |
CN117557011A (en) * | 2024-01-12 | 2024-02-13 | 交通运输部科学研究院 | Calculation method and device for average highway travel distance |
CN117557011B (en) * | 2024-01-12 | 2024-04-16 | 交通运输部科学研究院 | Method and device for measuring and calculating average distance of travel of highway |
CN118015831A (en) * | 2024-02-02 | 2024-05-10 | 哈尔滨工业大学 | Urban road network dynamic traffic zoning method and system for commuting needs |
Also Published As
Publication number | Publication date |
---|---|
CN116504050B (en) | 2024-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116504050B (en) | Special event city partitioning method based on multi-mode public transport trip data | |
CN105206048B (en) | A system and method for discovering transfer modes of urban resident groups based on traffic OD data | |
WO2023109720A1 (en) | Urban public transportation planning method | |
CN109325614B (en) | A method of bus station location selection based on GIS | |
Zhu et al. | Investigation on the driver-victim pairs in pedestrian and bicyclist crashes by latent class clustering and random forest algorithm | |
CN113569977B (en) | A travel purpose identification method based on mobile phone signaling data | |
Liu et al. | Understanding the route choice behaviour of metro-bikeshare users | |
CN103956042A (en) | Public bike scheduling area intelligent partition method based on graph theory | |
CN111931998A (en) | Individual trip mode prediction method and system based on mobile positioning data | |
CN117573740B (en) | Urban construction environment traffic accident spatial distribution influence factor analysis method | |
CN107798440B (en) | A route planning method for subway shuttle bus based on route candidate set | |
Kong et al. | The method and application of big data mining for mobile trajectory of taxi based on MapReduce | |
CN111310340B (en) | Urban area interaction abnormal relation identification method and equipment based on human movement | |
CN114862001B (en) | Urban crowd flow prediction method and system based on regional function enhancement features | |
CN113573238B (en) | Method for identifying trip passenger trip chain based on mobile phone signaling | |
CN117496695A (en) | A method for passenger transfer station identification and travel chain reconstruction based on IC card data | |
CN116882609A (en) | Customized bus route multi-objective optimization method based on improved track clustering algorithm | |
Feng et al. | How to analyze the urban rail transit network in the combination view of complex network and clustering: take Shenzhen as an example | |
Wang et al. | Planning Flexible Bus Service as an Alternative to Suspended Bicycle‐Sharing Service: A Data‐Driven Approach | |
CN114495484A (en) | Location recommendation method for bus stops based on multi-source data hierarchical graph clustering algorithm | |
Yin et al. | Integration between Dockless Bike-Sharing and Buses: The Effect of Urban Road Network Characteristics | |
Gonzalez | Rooftop-place suitability analysis for urban air mobility Hubs: A GIS and neural network approach | |
Bai et al. | Identifying the hotspots in urban areas using taxi GPS trajectories | |
Yu et al. | A Spatiotemporal Prediction Model for Regional Scheduling of Shared Bicycles Based on the INLA Method | |
CN114611019B (en) | Traffic route recommendation method, device, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |