Public transportation network partitioning method, system, device and medium based on multi-source traffic data

By predicting the speed of bus sections through multi-source traffic data and neural network models, combined with the density peak clustering method and the region growing method, the partitioning of the bus network is realized, which solves the problem of insufficient partitioning of the bus network in the existing technology and improves the efficiency of public transportation. Operational efficiency and accuracy of resource allocation.

CN114358416BActive Publication Date: 2024-09-06GUANGDONG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111671486.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2024-09-06
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

The existing road network partitioning method is mainly aimed at social vehicles and multi-modal transportation, and cannot effectively identify the operating rules of the bus network, resulting in uncertainty in bus operation efficiency and resource allocation.

Method used

Using multi-source traffic data, combined with bus entry and exit GPS data, taxi GPS data and road structure data, a neural network model is used to predict the speed of the bus section, and the density peak clustering method and the region growing method are used to generate the initial community for sub-division. District merging and boundary adjustment are needed to realize the zoning of the bus network.

Benefits of technology

Accurately identify the operating rules of the bus network, improve the homogeneity and difference of the bus network zoning, and provide a better basis for resource optimization and allocation decision-making.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114358416B
    Figure CN114358416B
Patent Text Reader

Abstract

The present invention discloses a method, system, computer equipment and storage medium for zoning a bus network based on multi-source traffic data, the method comprising: calculating the speed of a bus section in a research area according to taxi GPS data and bus in-and-out GPS data; including predicting the speed of a bus section using a neural network model for a section with only taxi data; zoning the bus network according to the bus section speed; calculating the traffic parameters of the bus network according to the bus in-and-out GPS data and the road network data for the sub-areas obtained by zoning the bus network, thereby obtaining a macro basic map of the bus network. The method provided by the present invention can divide heterogeneous bus networks into homogeneous ones, can accurately identify the operating rules of the bus system in a large-scale road network under the interaction with the external environment, and provide a decision-making basis for optimizing the allocation of resources of the bus system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent transportation technology, and in particular to a method, system, computer equipment and storage medium for zoning a public transportation network based on multi-source traffic data. Background Art

[0002] At present, the urban road public transportation system has formed a development situation with conventional public transportation as the main body and demand-responsive public transportation such as customized public transportation as an effective supplement, which has played an important role in improving the quality of public transportation services and alleviating the travel difficulties of some passengers. However, in conventional public transportation services, changes in external factors such as road traffic conditions and passenger demand often lead to the inability of vehicles to achieve their approved transportation efficiency according to the established operation plan; even if demand-responsive public transportation services emphasize flexible operation plans to meet the personalized travel needs of passengers, their actual service effects (such as punctuality, system reliability, etc.) are still affected by road traffic conditions and are uncertain. During the driving process, public transportation vehicles have complex interactive relationships with the road network traffic conditions and passenger travel needs. The optimal allocation of public transportation resources and the improvement of public transportation efficiency depend on the identification of such interactive relationships. The macro basic map can reveal the laws between the average flow, density, and speed of vehicles in a homogeneous road network, providing a feasible way to identify the above interactive relationships. However, the identification of the macro traffic law of the road network (the macro basic map) is based on the premise of homogeneous division of the road network. Although there are studies on the road network division for social vehicles and multimodal transportation, there is no research specifically on the bus network division. Since buses have different operating characteristics from private cars, the bus network has its own operating laws, so it is necessary to conduct research specifically on the bus network division.

[0003] Most of the existing road network zoning methods are aimed at social vehicle operation road networks and multimodal traffic road networks. The former is based on social vehicle traffic data and can reveal the operation rules of social vehicle road networks. However, due to the different research objects and data characteristics, it is not suitable for bus road network zoning; the latter divides the road network based on the speed (or density) of social vehicles and bus sections. However, due to the limited coverage of bus routes in the road network, for sections with both social vehicle and bus traffic data, the speed (or density) of social vehicles and bus sections is comprehensively considered in the multimodal traffic sub-area division to determine the sub-area to which the section belongs. For sections with only social vehicle traffic data, the sub-area to which they belong can only be determined based on the speed (or density) of social vehicles. This means that the sub-area affiliation of these sections cannot be divided based on bus operation data. Therefore, the macro basic map of the bus network (operation rules of the bus network) identified based on its zoning results will undoubtedly have deviations, which is not conducive to the understanding of the operation rules of the bus. Summary of the invention

[0004] In order to solve the deficiencies of the above-mentioned prior art problems, the present invention provides a bus network partitioning method, system, computer equipment and storage medium based on multi-source traffic data. The method integrates the bus entry and exit GPS data, taxi GPS data and road structure data in the actual road network to calculate the road network traffic parameters; a neural network model is used to fill the bus section speed for the data missing sections; based on the bus section speed and the section adjacency relationship, the three-step method of initial cell generation, sub-area merging and boundary adjustment is used to divide the heterogeneous bus network into multiple sub-areas with uniform speed inside the sub-area and significant speed difference between the sub-areas, so as to accurately identify the operation law of the bus system in the large-scale road network under the interaction with the external environment, and provide a decision-making basis for the optimal allocation of bus system resources.

[0005] The first object of the present invention is to provide a method for partitioning a public transportation network based on multi-source traffic data.

[0006] The second object of the present invention is to provide a bus network zoning system based on multi-source traffic data.

[0007] A third object of the present invention is to provide a computer device.

[0008] A fourth object of the present invention is to provide a storage medium.

[0009] The first object of the present invention can be achieved by adopting the following technical solutions:

[0010] A method for partitioning a public transportation network based on multi-source traffic data, the method comprising:

[0011] In the study area, the bus speed is calculated based on the taxi GPS data and the bus entry and exit GPS data. This includes using a neural network model to predict the bus speed for sections where only taxi data is available.

[0012] According to the bus route speed and route adjacency, the bus route network is partitioned;

[0013] For the sub-areas obtained by dividing the bus network, the bus network traffic parameters are calculated based on the GPS data of bus entry and exit and the road network data, thereby obtaining a macro basic map of the bus network.

[0014] Furthermore, for all road sections with both bus entry and exit data and taxi data: for any road section i, the road section speed of the bus and the road section speed of the social vehicle on the road section i are calculated according to the bus entry and exit GPS data and the taxi GPS data respectively; for any road section i, the social vehicle road section speed and the latitude and longitude of the starting / ending point of the road section, the road section length, the number of lanes, and whether there is a bus lane are used as input parameters, and the Pearson correlation coefficient is used to describe the correlation between the input parameters and the bus road section speed, and the input parameter with the largest absolute value of the correlation coefficient is selected as the input parameter of the road section i; the input parameters of all road sections are used as a sample set;

[0015] According to the road section, the sample set is divided into a training set and a test set;

[0016] Use the training set to train the neural network model to obtain the final prediction model;

[0017] For the road sections with only taxi GPS data, the input parameters of the road section are input into the final prediction model to obtain the bus section speed.

[0018] Furthermore, the neural network model is trained using the training set to obtain the final prediction model, which specifically includes:

[0019] For any road section i in the training set, the input parameters of road section i are used as the input data of the neural network model;

[0020] Performing data normalization on the input data;

[0021] The normalized data are respectively input into the recurrent neural network and the convolutional neural network in the neural network model to obtain the predicted bus section speed of the corresponding section i;

[0022] According to the bus section speed of section i and the predicted bus section speed of section i, the bus section speed prediction error is calculated using the root mean square error and mean absolute error, and the neural network model with the highest accuracy is used as the final prediction model.

[0023] Furthermore, the calculation of the bus section speed according to the taxi GPS data and the bus entry and exit GPS data also includes:

[0024] For sections with bus entry and exit data, the bus section speed is calculated by combining the bus entry and exit GPS data and the road network distribution information of the bus lines. Specifically:

[0025] The roads in the road network are subdivided into several sections using the distribution information of bus routes in the road network and the road network topology structure; the average section speed of the buses in the section is calculated according to the speeds of the buses on different routes on the section.

[0026] Furthermore, the bus network partitioning is implemented according to the bus section speed and the section adjacency relationship, specifically including:

[0027] According to the adjacency relationship between different road sections in the road network and the speed of the bus section, the initial cells are generated by using the density peak clustering method and the region growing method;

[0028] Merging the initial cells to obtain a merged sub-area;

[0029] The boundaries of the merged sub-areas are adjusted to achieve bus network zoning.

[0030] Furthermore, the initial cells are generated by using the density peak clustering method and the region growing method according to the adjacency relationship between different road sections in the road network and the speed of the bus section, which specifically includes:

[0031] Calculate the sum of the Manhattan distances S between any road segment i and other road segments i , and S i Sort in descending order;

[0032] After sorting S i , calculate the difference between two adjacent numbers, all S before the maximum difference i The corresponding road section is used as the initial cell center; if there are N road sections before the point where the difference is the largest, it means that N initial cells are generated;

[0033] Select any initial cell center and identify the road sections adjacent to the road section in the cell; select the optimal road section to add to the initial cell based on the bus speed variance after the initial cell is added to each adjacent road section and the distance from each adjacent road section to the cell center; repeat this step until all road sections are clustered into the initial sub-area.

[0034] Further, the merging the initial cells to obtain a merged sub-area specifically includes:

[0035] The number of partitions is set to P. Under the premise of ensuring that the initial cells are adjacent to each other, the genetic algorithm is used to merge the initial cells to obtain the merged sub-areas with the goal of minimizing the total variance of the bus road speed in the merged sub-areas.

[0036] The adopting a genetic algorithm to merge the initial cells to obtain a merged sub-area specifically includes:

[0037] The chromosome is a 1×N vector, where N is the number of initial cells. It is encoded using real numbers, and the number on each gene position of the chromosome represents the sub-region into which the initial cell is divided.

[0038] Based on the adjacency relationship between cells, adjacent cells are randomly merged into a sub-region to generate chromosomes; the chromosomes are checked for legitimacy, and only chromosomes whose sub-regions are internally connected and whose sub-regions are not empty can become legal chromosomes; this step is repeated until the initial population is generated;

[0039] A chromosome is randomly selected as the parent chromosome using the roulette wheel principle, and a crossover operation is performed based on the adjacency relationship of the sub-regions. Specifically, for the selected parent chromosome, two gene positions are randomly selected in the crossover position for crossover, and the legitimacy of the chromosome after crossover is checked. Only legal chromosomes can proceed to the next step.

[0040] A chromosome is randomly selected as the parent chromosome using the roulette principle, and a mutation operation is performed based on the adjacency relationship of the sub-regions. Specifically, a chromosome is randomly selected using the roulette principle, a mutation point is randomly selected, the chromosome is mutated, and the legitimacy of the mutated chromosome is checked; this step is repeated until the mutated chromosome passes the legitimacy check;

[0041] Replace the worst chromosome in the current population with the best chromosome in the previous generation population;

[0042] If the specified number of iterations is reached, P merged sub-regions are obtained; otherwise, a chromosome is randomly selected as the parent chromosome using the roulette principle, a crossover operation is performed based on the adjacency relationship of the sub-regions, and subsequent operations are performed.

[0043] Furthermore, the boundary of the merged sub-area is adjusted to realize the bus network partition, which specifically includes:

[0044] Identifying a road segment that is located at a boundary of a merged sub-region and has only a few adjacent road segments to the merged sub-region;

[0045] The road section is divided into a merged sub-area adjacent to the merged sub-area, and if the total variance of the bus road section speed in the adjacent merged sub-area is reduced, the road section is adjusted to enter the adjacent merged sub-area;

[0046] Return to identify the road segments located at the boundary of the merged sub-area and having fewer adjacent road segments to the merged sub-area, and perform subsequent operations until the total variance of the bus road segment speed no longer decreases, thereby realizing the bus road network partitioning.

[0047] The second object of the present invention can be achieved by adopting the following technical solutions:

[0048] A bus network zoning system based on multi-source traffic data, the system comprising:

[0049] The bus section speed calculation module is used to calculate the bus section speed in the study area based on the taxi GPS data and the bus entry and exit GPS data; this includes using a neural network model to predict the bus section speed for sections with only taxi data;

[0050] A bus network partitioning module, used to partition the bus network according to the bus route speed and route adjacency;

[0051] The bus network macro basic map generation module is used to calculate the bus network traffic parameters for the sub-areas obtained by dividing the bus network according to the bus entry and exit GPS data and the road network data, so as to obtain the bus network macro basic map.

[0052] The third object of the present invention can be achieved by adopting the following technical solutions:

[0053] A computer device comprises a processor and a memory for storing a program executable by the processor. When the processor executes the program stored in the memory, the above-mentioned bus network zoning method is implemented.

[0054] The fourth object of the present invention can be achieved by adopting the following technical solutions:

[0055] A storage medium stores a program, and when the program is executed by a processor, the above-mentioned bus network zoning method is implemented.

[0056] The present invention has the following beneficial effects compared with the prior art:

[0057] 1. Aiming at the situation that some roads lack public transportation operation data, the present invention integrates the bus entry and exit GPS data, taxi GPS data and road structure data in the actual road network, and proposes to use a neural network prediction model to supplement the bus section speed for the sections with missing data.

[0058] 2. In the process of generating the initial cell, the present invention first uses the density peak clustering method to determine the center of the initial cell, and then clusters the surrounding sections with similar speeds to form the initial cell, which is beneficial to reducing the speed variance of the bus section in the initial sub-area and ensuring the uniformity of the speed within the initial cell, so that the internal homogeneity of the bus network sub-area finally divided is higher and the difference between the sub-areas is more significant, which can better meet the requirements of bus network sub-area division.

[0059] 3. The present invention can obtain a bus network division result with more uniform speeds within the sub-areas and more obvious differences between the sub-areas through subsequent sub-area merging and boundary adjustment, thereby improving the quality of bus network division.

[0060] 4. The method provided by the present invention can partition a large-scale heterogeneous bus network and identify a macro basic map of the bus network. The obtained results can provide a reference for bus management and control decisions. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0062] Figure 1 This is a flowchart of a bus network partitioning method based on multi-source traffic data according to embodiment 1 of the present invention.

[0063] Figure 2 This is a schematic diagram of road section division according to Embodiment 1 of the present invention.

[0064] Figure 3 This is a flow chart of bus section speed completion based on data fusion according to Example 1 of the present invention.

[0065] Figure 4 Schematic diagram of the Pearson correlation coefficient of Example 1 of the present invention.

[0066] FIG5( a ) is a recurrent neural network prediction process of Example 1 of the present invention.

[0067] FIG5(b) is a convolutional neural network prediction process of Example 1 of the present invention

[0068] Figure 6 This is a flow chart of bus network partitioning according to embodiment 1 of the present invention.

[0069] Figure 7 This is a schematic diagram of chromosome encoding of Example 1 of the present invention.

[0070] Figure 8 This is a schematic diagram of the crossover operation of Example 1 of the present invention.

[0071] Fig. 9 This is a schematic diagram of the variation operation of Example 1 of the present invention.

[0072] Fig.10 This is the bus network partitioning of 16 sub-areas in Example 2 of the present invention.

[0073] FIG. 11( a ) shows the sub-region homogeneity of different partitioning methods according to Embodiment 2 of the present invention.

[0074] FIG. 11( b ) shows the sub-interval similarities of different partitioning methods according to Embodiment 2 of the present invention.

[0075] FIG. 12( a ) shows the sub-area homogeneity of the partitioning of the present invention and the multi-modal traffic network partitioning according to Example 2 of the present invention.

[0076] FIG. 12( b ) shows the sub-interval similarity between the partition of the present invention and the multi-modal traffic network partition according to Example 2 of the present invention.

[0077] Fig.13 It is the average flow-density of the bus sub-areas of the 16 sub-areas in Example 2 of the present invention.

[0078] Fig.14 This is a structural block diagram of a bus network partitioning system based on multi-source traffic data according to Embodiment 3 of the present invention.

[0079] Fig.15 This is a structural block diagram of a computer device according to Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0080] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. It should be understood that the specific embodiments described are only used to explain the present application and are not used to limit the present application.

[0081] Embodiment 1:

[0082] like Figure 1 As shown, this embodiment provides a method for bus network partitioning based on multi-source traffic data, and the method includes the following steps:

[0083] S101. In the study area, calculate the bus section speed based on taxi GPS data and bus entry and exit GPS data.

[0084] (1) Calculate the speed of social vehicles on the road section.

[0085] Assuming that the driving behavior of passenger taxis is similar to that of social vehicles, the average speed of social vehicles on the road section can be calculated using the GPS data of passenger taxis, as shown in formula (1):

[0086]

[0087] In the formula, v (c) (j,m) is the average speed of social vehicles in the jth section and the mth period (m / s), c represents social vehicles; r is the trip number of social vehicles in the jth section and the mth period; R is the total number of social vehicle trips in the jth section and the mth period; t(c) (r,m) and d (c) (r,m) are the travel time (s) and travel distance (m) of the social vehicle trip r in the jth section and the mth period respectively; T (c) (j,m) and D (c) (j,m) are the total driving time and driving distance of social vehicles in the jth section and the mth period respectively.

[0088] (2) Calculate the bus route speed.

[0089] Compared with traditional buses, except for the stop behavior, the road driving behavior of on-demand buses is very similar to that of traditional buses. The road driving state of traditional buses after eliminating the stop behavior can also represent the road driving state of on-demand buses. Therefore, the driving state of the two types of buses can be restored through the existing bus GPS data and the road speed of the bus network can be estimated:

[0090]

[0091] In the formula, v (b) (j,m) is the average speed of the bus on the j section and the m period (m / s), b represents the bus; r is the bus trip number on the j section and the m period; R is the total number of bus trips on the j section and the m period; t (c) (r,m) and d (c) (r,m) are the travel time (s) and travel distance (m) of bus trip r in section j and time period m respectively; T (b) (j,m) and D (b) (j,m) are the total travel time and travel distance of all buses in section j and time period m respectively.

[0092] Since the available bus operation data is the GPS data of bus entry and exit, only the average speed of the bus between bus stops can be calculated, which is not accurate enough. Therefore, appropriate methods need to be used to reduce the estimation error caused by data reasons. In addition, some roads in the road network are not covered by bus lines, so the bus speed of such sections needs to be supplemented.

[0093] Furthermore, step S101 includes:

[0094] S1011. For a road section with bus entry and exit data, the bus section speed is calculated by combining the bus entry and exit GPS data and the road network distribution information of the bus lines.

[0095] Using the GPS data of buses entering and leaving the station alone can only calculate the average speed of each bus on the road between bus stops. It cannot reflect the speed differences of buses in different sections of the road between stations, which is not conducive to understanding the speed patterns of buses on different roads in the road network.

[0096] In the actual bus network, bus routes overlap on some roads. Therefore, the distribution information of bus routes in the network and the network topology can be used to subdivide the roads in the network into several sections. Then, the average bus section speed on each section can be calculated based on the bus speeds of different routes on the section. This method can estimate the bus section speed within a smaller section length and better reflect the speed differences of buses on different sections. Figure 2 As shown in Figure 2, after the road segment division is completed, the bus section speed can be calculated using formula (2).

[0097] S1012. For road sections with only taxi data, a neural network model is used to predict the speed of buses on the road sections.

[0098] For sections with only taxi data, it is necessary to supplement the speed of bus sections. Since the speed of buses in the road network is affected by factors such as total traffic flow (mainly private vehicles) and road conditions, speed supplementation can be performed based on the relationship between the speed of private vehicles, road structure and other factors and the speed of bus sections, such as Figure 3 shown.

[0099] (1) For all road sections covered by both bus entry and exit GPS and taxi GPS (because the driving behavior of passenger taxis is similar to that of private vehicles, when the collection of private vehicle GPS data is limited, taxi GPS data can be used to analyze the speed of private vehicles on the road section):

[0100] (1-1) For any road section i, the road section speed of social vehicles is calculated according to formula (1), and the road section speed of buses is calculated according to the method provided in step S1011.

[0101] (1-2) For any road section i, the speed of the social vehicle section and the longitude and latitude of the starting / ending point of the section, the length of the section, the number of lanes, the presence or absence of bus lanes and other road structure data are used as input parameters; the Pearson correlation coefficient is used to describe the correlation between the input parameters and the bus section speed, thereby obtaining the input parameters of the section i.

[0102] The larger the absolute value of the correlation coefficient (closer to 1 or -1), the stronger the correlation between the input parameter and the output parameter; conversely, the weaker the correlation. The input parameter with the largest absolute value of the correlation coefficient is selected as the input parameter of the road section i, which is the input data (input matrix) of the neural network prediction model. For example, assuming the Pearson correlation coefficient is Figure 4 As shown, the taxi (social car) section speed and the longitude of the starting point and end point of section i are selected as the input matrix of the neural network prediction model.

[0103] (1-3) The sample set includes the input parameters of all road sections. According to the road sections, the sample set is divided into a training set and a test set. The ratio of the division in this embodiment is 7:3. For example, if there are 1000 road sections with both taxi and bus GPS data, then the input parameters of 700 road sections are selected as the training set, and the input parameters of 300 road sections are selected as the test set.

[0104] (2) Use the training set to train the neural network model to obtain the final prediction model.

[0105] For any road section i in the training set, the input parameters of the road section i are used as the input data of the neural network model, and the neural network model is used to predict the bus section speed of the road section where the bus GPS data is missing. Among them, the neural network models used include recurrent neural networks (RNN, LSTM, GRU) and convolutional neural networks (CONV2D).

[0106] Furthermore, step (2) specifically includes:

[0107] (2-1) Normalize the input data.

[0108] The sigmoid function and tanh function in the neural network are most sensitive to numbers between 0 and 1, so all the input data and output values ​​of the model are converted to Z-score scores, as shown below:

[0109]

[0110] Among them, Z(x) is the Z-score of variable x, μ is the population mean, and σ is the population standard deviation.

[0111] (2-2) Bus route speed prediction.

[0112] Recurrent neural networks (RNN, LSTM, GRU) and convolutional neural networks (CONV2D) are used to predict the bus speed, that is, four neural network models, RNN, LSTM, GRU and CONV2D, are used to predict the bus section speed.

[0113] The prediction process of RNN, LSTM, and GRU recurrent neural networks is shown in Figure 5(a). The normalized input feature matrix is ​​put into the input layer, and first calculated in the fully connected layer to map the data to a higher dimension. Then it enters the activation function ReLU layer to increase the nonlinear characteristics of the data. The data is then passed to the kernel of the recurrent neural network model (RNN or LSTM or GRU), and then enters the activation function ReLU layer. Finally, the data is integrated through the linear function layer to output the bus section speed prediction matrix of section i.

[0114] The prediction process of CONV2D convolutional neural network is shown in Figure 5(b). The normalized input feature matrix is ​​put into the input layer, first enters the convolution layer, then enters the activation function ReLU layer, then passes through the maximum pooling layer to highlight useful feature values, then enters the fully connected layer, and finally outputs the bus section speed prediction matrix of section i.

[0115] (2-3) Evaluation of bus route speed prediction results.

[0116] The root mean square error (RMSE) and mean absolute error (MAE) are used to evaluate the bus section speed prediction matrix obtained by the recurrent neural network and the convolutional neural network, respectively, as shown in formulas (4)-(5). The bus section speed prediction error of section i is calculated based on the root mean square error and the mean absolute error, and the neural network model with the highest prediction accuracy is selected as the final prediction model.

[0117]

[0118]

[0119] Among them, Y i It refers to the actual bus section speed (m / s) of any section i; Refers to the predicted value of bus speed on section i (m / s); I refers to the number of samples.

[0120] This embodiment selects the neural network model (LSTM) with the smallest root mean square error and mean absolute error as the final prediction model.

[0121] (3) For the road sections with only taxi GPS data, the input parameters of the road section are input into the final prediction model to obtain the predicted bus section speed.

[0122] According to step (1-2), in this embodiment, the input parameters of the road section i with only taxi GPS data are the speed of the taxi (social vehicle) on the road section i and the longitudes of the starting point and the end point of the road section i.

[0123] S102: partition the bus network according to bus route speeds and route adjacency.

[0124] The purpose of bus network partitioning is to cluster sections with strong similarity and high correlation in bus speed (or density) into sub-areas in order to explore the traffic patterns in the sub-areas. Bus network partitioning must meet the following basic requirements: (1) The speed (or density) differences within the same sub-area are as small as possible, and the differences between different sub-areas are as large as possible; (2) The connectivity and compactness of the sub-area road network are ensured in space. In order to reduce the computational workload of the partitioning algorithm when partitioning large-scale road networks, this paper adopts a three-step method of initial cell generation, sub-area merging, and boundary adjustment to partition the bus network. The algorithm flow is as follows: Figure 6 shown.

[0125] Furthermore, step S102 specifically includes:

[0126] S1021. Generate an initial cell according to the adjacency relationship between different road sections in the road network and the speed of the bus section.

[0127] The initial cell is composed of several sections that are interconnected and have very similar bus speeds. The generation of the initial cell is the process of clustering the sections with the above characteristics. The size of the initial cell is generally small (that is, the number of sections contained in the initial cell will not be too many). This method uses the density peak clustering method and the regional growing method to generate the initial cell of the road network. The density peak clustering algorithm can identify data of any shape, can intuitively find the number of classes and class centers, and has good robustness; the regional growing method can cluster the sections that meet the conditions around the center of the initial cell into the initial cell based on the adjacency relationship. The combination of the two can well meet the requirements of initial cell generation. The purpose of generating the initial cell is to facilitate the initial cell as the basic unit, further merge the initial cell, and finally form a road network sub-area. Compared with directly dividing the road network sub-area based on a single road section as the basic unit, the computational workload of road network partitioning can be greatly reduced.

[0128] The steps for initial cell generation are:

[0129] (1) Calculate the local density ρ of the road section i and the relative distance δ i , as shown in formulas (6)-(7):

[0130]

[0131]

[0132] Among them, d ij is the distance between sections i and j. In this embodiment, the distance between different sections is measured from two aspects: the bus section speed and the starting position of the section. The distance between each section can form a distance matrix, d c is the cutoff distance. In this embodiment, the value at 2% of the distance matrix row number is taken as the cutoff distance; I is the road segment sequence number set; Ii is a subset of I, consisting of those satisfying I i ={k,k∈I,ρ k >ρ i} is composed of the road section serial number.

[0133] d ij The calculation of is shown in formula (8):

[0134]

[0135] Among them, v i represents the normalized value of the bus speed on section i, Lat i and Lon i They respectively represent the standardized values ​​of the longitude and latitude of the starting position of section i.

[0136] (2) Select the initial cell center based on the local density and relative distance of the road section.

[0137] First, the Manhattan distance of the relative density ρ and relative distance δ between segment i and segment j is calculated, as shown in formula (9):

[0138] M ij =|ρ i -ρ j |+|δ i -δ j | (9)

[0139] Where M ij is the Manhattan distance between segment i and segment j, and || represents the absolute value.

[0140] Then, calculate the sum of the Manhattan distances of each segment to other segments And S i Arrange in descending order. i , calculate the difference between two adjacent numbers in sequence, find the point where the difference changes the most, and all the sections before the point where the difference changes the most are the initial cell centers. Assuming there are N sections before the point where the difference is the largest, it means that N initial cells can be generated.

[0141] (3) Select any initial cell center and identify the road sections adjacent to the cell; calculate the bus speed variance after the initial cell is added to each adjacent road section and the distance from each adjacent road section to the cell center, and select an optimal road section to add to the initial cell based on the TOPSIS algorithm. Forming the initial cell in this way can reduce the bus speed difference between the internal sections of the initial cell, while ensuring the compactness and internal connectivity of the initial cell, thereby better meeting the basic requirements of road network partitioning.

[0142] The TOPSIS algorithm is as follows;

[0143] For each initial cell n, the standard decision matrix is ​​constructed as follows:

[0144]

[0145] Among them, A n The matrix is ​​the canonical decision matrix of the set of alternative sections. is the set of bus route speeds in community n, The bus speed on alternative route j, S n is the set of candidate road sections for community n, Var() represents the variance of bus speed, and dis() represents the calculation of the center cen of section j to community n. n distance.

[0146] On this basis, a weighted normative matrix is ​​constructed and the distances from each candidate segment to the positive ideal solution and the negative ideal solution are calculated, as shown in formulas (10) and (11):

[0147]

[0148]

[0149] Among them, a je is the element in the weighted norm matrix, w e is the weight of attribute e, U is the number of road segments in the set of candidate road segments, and are respectively the positive and negative ideal solutions of attribute e, and are the distances from the jth road segment to the positive ideal solution and the negative ideal solution respectively.

[0150] Select the optimal road section j according to the comprehensive evaluation index of each road section * Merge into initial sub-area n, j * The selection of is shown in formula (12):

[0151]

[0152] (4) Each time a road section is selected to be added to the cell, the process is repeated until all road sections are clustered into the initial cell. The generation process of the initial cell can be regarded as a continuous growth process starting from the cell center.

[0153] S1022. Merge the initial cells to obtain a merged sub-area.

[0154] According to the initial cell division results, the adjacency relationship between the initial cells is calculated. If there is a road connecting the initial cell i and the initial cell j, the two cells are considered to be adjacent. The adjacency relationship can be represented by a logical variable, which takes a value of 1 when the two initial cells are adjacent, otherwise, it takes a value of 0.

[0155] The number of partitions is set to P. Under the premise of ensuring the internal connectivity of the sub-area (that is, the initial cells constituting the sub-area are adjacent to each other), the goal is to minimize the total variance of the speed of the bus sections in the sub-area (the objective function is shown in formula (13)), and the optimal merging method between the initial cells is found.

[0156]

[0157] In the formula, is the number of road segments in subregion p, is the set of bus section speeds in sub-area p, is the mean variance of bus speed in sub-area p, and P is the number of sub-areas divided into the road network.

[0158] This embodiment uses a genetic algorithm to seek the optimal sub-area merging solution, and the specific process is as follows:

[0159] (1) Coding rules. The chromosome is a 1×N vector, where N is the number of initial cells. It is coded using real numbers, and the number on each gene position of the chromosome represents the sub-region into which the initial cell is divided, such as Figure 7 shown.

[0160] (2) Initialize the population. Based on the adjacency relationship between cells, randomly merge adjacent cells into a sub-region to generate chromosomes; perform a legitimacy check on the chromosomes, and only chromosomes whose sub-regions are internally connected and whose sub-regions are not empty can become legal chromosomes; repeat the above steps until the initial population is generated.

[0161] The virtual fitness of the chromosome is calculated. The smaller the total variance of the bus section speed calculated under the chromosome partitioning scheme, the higher the virtual fitness of the chromosome. The chromosome with a higher virtual fitness value has a greater advantage in population survival.

[0162] (3) The roulette wheel principle is used to randomly select chromosomes as parent chromosomes, and a crossover operation is performed based on the adjacency relationship of the sub-regions. The crossover operation rules are as follows:

[0163] For the selected parent chromosome, two gene positions are randomly selected in the crossover position for crossover, and the legitimacy of the chromosome after crossover is checked (the sub-regions must be connected internally). Figure 8As shown in the figure, the figure indicates that after the crossover operation, the sub-region to which the second initial cell belongs is changed from 9 to 14, and the sub-region to which the Nth initial cell belongs is changed from 14 to 9. Of course, the chromosomes after the crossover operation must meet the requirements of internal connectivity in the same sub-region, and only legal chromosomes can proceed to the next genetic operation.

[0164] (4) Use the roulette wheel principle to randomly select a chromosome as the parent chromosome, and perform mutation operations based on the adjacency relationship of the sub-regions. Randomly select a chromosome, randomly select a mutation point, mutate the chromosome and check the legitimacy of the mutated chromosome; repeat the mutation operation until the mutated chromosome passes the legitimacy check. Fig. 9 As shown in the figure, the sub-region to which the 4th initial cell belongs is changed from 13 to 5 after the mutation operation. Similarly, the chromosomes after the mutation operation must meet the requirements of internal connectivity in the same sub-region (i.e., legitimacy). Only legal chromosomes can proceed to the next genetic operation.

[0165] (5) Elite retention strategy.

[0166] In order to improve the solving effect of genetic algorithm, the elite retention strategy is adopted, that is, the best chromosome in the previous generation population is used to replace the worst chromosome in the current population.

[0167] (6) Repeat steps (3) to (5) until the specified number of iterations (i.e., the termination condition) is reached, and the calculation is terminated to obtain the merged result of the P sub-regions.

[0168] S1023. Adjust the boundaries of the sub-areas to ultimately achieve bus network zoning.

[0169] The purpose of boundary adjustment is to search for more suitable sub-areas for the road sections on the sub-area boundaries and further reduce the total variance of bus road speed (i.e., the objective function shown in formula (10)). The steps of boundary adjustment are:

[0170] (1) Identify the road segments that are located at the sub-area boundary and have only a few adjacent road segments in the sub-area;

[0171] (2) Try to classify the road section into the adjacent sub-area. If the total variance of the bus section speed decreases after the road section is classified into the adjacent sub-area, adjust the road section to enter the adjacent sub-area; otherwise, do not perform any operation on the road section.

[0172] (3) Traverse all eligible road sections on the sub-area boundary until the total variance of the bus road speed no longer decreases.

[0173] (4) Output the division results of P sub-areas.

[0174] S103, for the sub-areas obtained by dividing the bus network, calculate the bus network traffic parameters according to the bus entry and exit GPS data and the road network data, and obtain a macro basic map of the bus network.

[0175] Among them, the bus network traffic parameters include the average flow and average density of the bus network.

[0176] The average bus density and average bus flow in each sub-area are calculated according to the following formula:

[0177]

[0178]

[0179]

[0180] Among them, k (b) (j,m) is the average bus density (veh / km) on the jth section and the mth period; b represents the bus; t (b) (r,m) and d (b) (r,m) are the travel time (s) and travel distance (m) of bus trip r in section j and time period m respectively; T (b) (j,m) and D (b) (j,m) are the total travel time and travel distance of all buses in the j section and m period respectively; l(j) is the length of the j section (m); τ is the length of the time segment of the traffic dataset (s); k (b) (m) is the average bus density of the sub-area road network weighted by the length of the road segment; J is the number of bus routes in the sub-area area; L is the total lane length in the sub-area road network; q (b) (m) is the average bus flow rate in the sub-area (veh / km); s(j) is the number of lanes in the j-section; T (b) (m) and D (b) (m) are the total travel time and total travel distance of the bus on section j and time period m respectively.

[0181] Those skilled in the art will appreciate that all or part of the steps in the method for implementing the above embodiments may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium.

[0182] It should be noted that although the method operations of the above embodiments are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0183] Embodiment 2:

[0184] This embodiment uses the bus network of Nanshan District, Futian District and Luohu District of Shenzhen City, as well as the GPS data of bus in and out of the area and the GPS data of taxis on May 24, 2016 to conduct a bus network division experiment. The time interval for calculating the road network traffic parameters is 10 minutes, and 30 division experiments are carried out with different numbers of partitions.

[0185] The sub-area homogeneity (ASV) and sub-area similarity (NS K ) is the evaluation index, and its calculation formula is as follows:

[0186]

[0187]

[0188]

[0189]

[0190] Among them, k, k n are different sub-areas, Neighbor(k) is the sub-area adjacent to sub-area k; size[Neighbor(k)] is the number of sub-areas adjacent to sub-area k; v i is the bus route speed of route i; N k is the number of sections in sub-area k; K is the number of sub-areas; Var(v k ) is the bus route speed variance of sub-area k; u(v k ), For subareas k, k n The average speed of bus routes.

[0191] The sub-area homogeneity is represented by the mean variance of bus route speeds within all sub-areas. The smaller the value, the higher the homogeneity within the sub-area, and the more it can meet the requirements of bus network division. The sub-interval similarity reflects the similarity between the sub-area and its adjacent sub-areas. The smaller the value, the greater the difference between the sub-area and its adjacent sub-areas, and the more it can meet the requirements for sub-interval differences in road network division.

[0192] After the partitioning experiment, calculate ASV and NS K The results are shown in Table 1. When the number of partitions P is 16, the actual partitioning effect is as follows Fig.10 shown.

[0193] Table 1 Evaluation index values ​​under different partition numbers (the number of rows in this table has been adjusted)

[0194]

[0195] Compared with the K-means method for bus network partitioning, the ASV and NS obtained by the present invention are K It is better, as shown in Figure 11. This shows that the present invention can obtain a partitioning scheme with higher homogeneity within the sub-area and more obvious differences between the sub-areas; in addition, the partitioning method of the present invention ensures the connectivity and compactness within the sub-area, so it is believed that the method provided by the present invention can well meet the requirements of bus network division.

[0196] Compared with the multi-modal traffic network partitioning method, the ASV and NS obtained by the method provided by the present invention are K It is obviously better, as shown in FIG12 , which indicates that the method of the present invention can better partition the bus network, thereby better identifying the operation rules of the bus network.

[0197] The method provided by the present invention can effectively identify the macro basic map of the bus network (the operation rules of the bus network), and calculate the traffic parameters of the bus network by using the GPS data of bus entry and exit, taxi GPS data and road network data in the same area of ​​Shenzhen from May 24 to 26, 2016. Taking 16 sub-areas as an example, the average bus flow (per kilometer)-density relationship of the sub-areas can be identified, such as Fig.13 shown.

[0198] The quadratic polynomial function was used to fit the macro basic map of each sub-area. Under the 95% confidence interval, the average goodness of fit R 2 is 0.8853, and the mean root mean square error is 0.1238. After the multi-modal traffic network is partitioned, the observed bus macro basic map is fitted, and the average goodness of fit R 2 The average value of the root mean square error is 0.8585, and the average value of the root mean square error is 0.1338. By comparison, it can be seen that after the bus network is partitioned by the present invention, a macro basic map with better fitting goodness can be observed, which provides a good basis for applying the bus network macro basic map to bus management and control.

[0199] Embodiment 3:

[0200] like Fig.14 As shown, this embodiment provides a bus network partitioning system based on multi-source traffic data, the system includes a bus section speed calculation module 1401, a bus network partitioning module 1402 and a bus network macro basic map generation module 1403, wherein:

[0201] The bus section speed calculation module 1401 is used to calculate the bus section speed in the study area based on the taxi GPS data and the bus entry and exit GPS data; including using a neural network model to predict the bus section speed for sections with only taxi data;

[0202] The bus network partitioning module 1402 is used to partition the bus network according to the bus route speed and route adjacency relationship;

[0203] The bus network macro basic map generation module 1403 is used to calculate the bus network traffic parameters for the sub-areas obtained by dividing the bus network according to the bus entry and exit GPS data and the road network data, so as to obtain the bus network macro basic map.

[0204] The specific implementation of each module in this embodiment can refer to the above-mentioned embodiment 1, which will not be described one by one here; it should be noted that the system provided in this embodiment is only illustrated by the division of the above-mentioned functional modules. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure can be divided into different functional modules to complete all or part of the functions described above.

[0205] Embodiment 4:

[0206] This embodiment provides a computer device, which may be a computer, such as Fig.15 As shown, a processor 1502, a memory, an input system 1503, a display 1504 and a network interface 1505 connected via a system bus 1501 are provided. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium 1506 and an internal memory 1507. The non-volatile storage medium 1506 stores an operating system, a computer program and a database. The internal memory 1507 provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. When the processor 1502 executes the computer program stored in the memory, the bus network partitioning method of the above-mentioned embodiment 1 is implemented as follows:

[0207] In the study area, the bus speed is calculated based on the taxi GPS data and the bus entry and exit GPS data. This includes using a neural network model to predict the bus speed for sections where only taxi data is available.

[0208] According to the bus route speed and route adjacency, the bus route network is partitioned;

[0209] For the sub-areas obtained by dividing the bus network, the bus network traffic parameters are calculated based on the GPS data of bus entry and exit and the road network data, thereby obtaining a macro basic map of the bus network.

[0210] Embodiment 5:

[0211] This embodiment provides a storage medium, which is a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the bus network partitioning method of the above embodiment 1 is implemented as follows:

[0212] In the study area, the bus speed is calculated based on the taxi GPS data and the bus entry and exit GPS data. This includes using a neural network model to predict the bus speed for sections where only taxi data is available.

[0213] According to the bus route speed and route adjacency, the bus route network is partitioned;

[0214] For the sub-areas obtained by dividing the bus network, the bus network traffic parameters are calculated based on the GPS data of bus entry and exit and the road network data, thereby obtaining a macro basic map of the bus network.

[0215] In summary, the present invention calculates the traffic parameters of the road network by integrating the GPS data of bus entry and exit, taxi GPS data and road structure data in the actual road network; uses a neural network model to fill in the bus section speed for the data missing section; based on the bus section speed and the section adjacency relationship, the three-step method of initial cell generation, sub-area merging and boundary adjustment is used to divide the heterogeneous bus road network into multiple sub-areas with uniform speed inside the sub-area and significant speed difference between the sub-areas, thereby laying a foundation for identifying the operation law of the bus road network and providing a decision-making basis for the optimal allocation of bus resources.

[0216] It should be noted that the computer-readable storage medium of the present embodiment may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0217] In summary, the present invention takes the bus network division as the research object, integrates the bus entry and exit GPS data, taxi GPS data and road structure data in the actual road network, and proposes to use a neural network prediction model to fill the bus section speed for the data missing section, and then divide the bus network based on the bus section speed and the section adjacency relationship, and use the density peak clustering method to determine the initial cell center, and then cluster adjacent sections with similar speeds to form an initial cell, which is conducive to reducing the bus section speed variance in the initial sub-area. After subsequent sub-area merging and boundary adjustment, a bus network division result with more uniform speed inside the sub-area and more obvious differences between sub-areas can be obtained, thereby improving the quality of bus network division. The method provided by the present invention can divide heterogeneous bus networks into homogeneous ones, laying a foundation for identifying the operation rules of public transportation.

[0218] The above is only a preferred embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and inventive concept of the present invention within the scope disclosed by the present invention, which shall fall within the protection scope of the present invention.

Claims

1. A bus network partitioning method based on multi-source traffic data, characterized in that: The method comprises: In the study area, the bus section speed is calculated based on the taxi GPS data and the bus entry and exit GPS data. For sections with only taxi data, the bus section speed is predicted using a neural network model based on the geographical location of the section and the social vehicle section speed and bus section speed on all sections covered by both bus entry and exit GPS data and taxi GPS data. According to the adjacency relationship between different sections in the road network and the speed of the bus section, the density peak clustering method is used to determine the number of initial cells and the initial cell centers, and then the region growing method is used to generate the initial cells; Under the premise of ensuring that the initial cells are adjacent to each other, the genetic algorithm is used to merge the initial cells to obtain a merged sub-area with the goal of minimizing the total variance of bus road speeds in the merged sub-area; Adjusting the boundaries of the merged sub-areas to achieve bus network zoning; For the sub-areas obtained by dividing the bus network, the traffic parameters of the bus network are calculated based on the GPS data of bus entry and exit and the road network data, so as to obtain the macro basic map of the bus network; Among them, for the road section with only taxi data, based on the geographical location of the road section, the social vehicle section speed and the bus section speed on all sections covered by the bus entry and exit GPS data and taxi GPS data, a neural network model is used to predict the bus section speed, specifically including: For all road sections with both bus entry and exit data and taxi data: for any road section, calculate the section speed of buses and social vehicles on the road section based on the bus entry and exit GPS data and taxi GPS data respectively; for any road section, use the social vehicle section speed and the section start / end latitude and longitude, section length, number of lanes, and whether there is a bus lane as input parameters, use the Pearson correlation coefficient to describe the correlation between the input parameters and the bus section speed, and select the input parameter with the largest absolute value of the correlation coefficient as the input parameter of the road section; take the input parameters of all sections as a sample set; According to the road section, the sample set is divided into a training set and a test set; Use the training set to train the neural network model to obtain the final prediction model; For the road sections with only taxi GPS data, the input parameters of the road section are input into the final prediction model to obtain the bus section speed; The method of determining the number of initial cells and the centers of initial cells by using the density peak clustering method according to the adjacency relationship between different sections in the road network and the speed of the bus section, and then generating the initial cells by using the regional growing method includes: Calculate local density and relative distance of road segments; According to the local density and relative distance of the road segments, the sum of the Manhattan distances between any road segment and other road segments is calculated and arranged in descending order; For the sorted ones, the difference between two adjacent numbers is calculated, and the maximum difference is used as the boundary, and all corresponding road sections before the maximum difference are used as the initial cell center; Select any initial cell center and identify the road sections adjacent to the road sections in the initial cell. Select the optimal road section to be added to the initial cell based on the TOPSIS algorithm according to the bus speed variance after the initial cell is added to each adjacent road section and the distance from each adjacent road section to the cell center. Repeat this step until all road sections are clustered into the initial sub-area.

2. The bus network zoning method according to claim 1, characterized in that: The neural network model is trained using the training set to obtain the final prediction model, specifically including: For any road section in the training set, the input parameters of the road section are used as the input data of the neural network model; Performing data normalization on the input data; The normalized data are respectively input into the recurrent neural network and the convolutional neural network in the neural network model to obtain the predicted bus section speeds of the corresponding sections; According to the bus section speed of the road section and the predicted bus section speed of the road section, the bus section speed prediction error is calculated using the root mean square error and mean absolute error, and the neural network model with the highest accuracy is used as the final prediction model.

3. The bus network zoning method according to claim 1, characterized in that: The method of calculating the bus section speed according to the taxi GPS data and the bus entry and exit GPS data also includes: For sections with bus entry and exit data, the bus section speed is calculated by combining the bus entry and exit GPS data and the road network distribution information of the bus lines. Specifically: The roads in the road network are subdivided into several sections using the distribution information of bus routes in the road network and the road network topology structure; the average section speed of the buses in the section is calculated according to the speeds of the buses on different routes on the section.

4. The bus network zoning method according to claim 1, characterized in that: The method takes minimizing the total variance of bus road speeds in the merged sub-area as the goal, and uses a genetic algorithm to merge the initial cells to obtain the merged sub-area, specifically including: The number of partitions is set to, under the premise of ensuring that the initial cells are adjacent to each other, with the goal of minimizing the total variance of bus road speeds in the merged sub-areas, using a genetic algorithm to merge the initial cells to obtain a merged sub-area; The adopting a genetic algorithm to merge the initial cells to obtain a merged sub-area specifically includes: The chromosome is a 1×N vector, where N is the number of initial cells. It is encoded using real numbers, and the number on each gene position of the chromosome represents the sub-region into which the initial cell is divided. Based on the adjacency relationship between cells, adjacent cells are randomly merged into a sub-region to generate chromosomes; the chromosomes are checked for legitimacy, and only chromosomes whose sub-regions are internally connected and whose sub-regions are not empty can become legal chromosomes; this step is repeated until the initial population is generated; A chromosome is randomly selected as the parent chromosome using the roulette wheel principle, and a crossover operation is performed based on the adjacency relationship of the sub-regions. Specifically, for the selected parent chromosome, two gene positions are randomly selected in the crossover position for crossover, and the legitimacy of the chromosome after crossover is checked. Only legal chromosomes can proceed to the next step. A chromosome is randomly selected as the parent chromosome using the roulette principle, and a mutation operation is performed based on the adjacency relationship of the sub-regions. Specifically, a chromosome is randomly selected using the roulette principle, a mutation point is randomly selected, the chromosome is mutated, and the legitimacy of the mutated chromosome is checked; this step is repeated until the mutated chromosome passes the legitimacy check; Replace the worst chromosome in the current population with the best chromosome in the previous generation population; If the specified number of iterations is reached, a merged sub-region is obtained; otherwise, a chromosome is randomly selected as the parent chromosome using the roulette principle, a crossover operation is performed based on the adjacency relationship of the sub-regions, and subsequent operations are performed.

5. The bus network zoning method according to claim 1, characterized in that: The step of adjusting the boundary of the merged sub-area to realize the bus network partitioning specifically includes: Identifying a road segment that is located at a boundary of a merged sub-region and has only a few adjacent road segments to the merged sub-region; The road section is divided into a merged sub-area adjacent to the merged sub-area, and if the total variance of the bus road section speed in the adjacent merged sub-area is reduced, the road section is adjusted to enter the adjacent merged sub-area; Return to identify the road segments located at the boundary of the merged sub-area and having fewer adjacent road segments to the merged sub-area, and perform subsequent operations until the total variance of the bus road segment speed no longer decreases, thereby realizing the bus road network partitioning.

6. A bus network zoning system based on multi-source traffic data, characterized in that: The system comprises: The bus section speed calculation module is used to calculate the bus section speed in the study area based on the taxi GPS data and the bus entry and exit GPS data; for sections with only taxi data, the neural network model is used to predict the bus section speed based on the geographical location of the section, the social vehicle section speed and the bus section speed on all sections covered by the bus entry and exit GPS data and taxi GPS data; The bus network partitioning module is used to determine the number of initial cells and the initial cell centers by using the density peak clustering method according to the adjacency relationship between different sections in the road network and the speed of the bus section, and then generate the initial cells by using the regional growing method; on the premise of ensuring that the initial cells are mutually adjacent, with the goal of minimizing the total variance of the bus section speed in the merged sub-area, the genetic algorithm is used to merge the initial cells to obtain the merged sub-area; the boundaries of the merged sub-area are adjusted to achieve the bus network partitioning; The bus network macro basic map generation module is used to calculate the bus network traffic parameters according to the bus entry and exit GPS data and road network data for the sub-areas obtained by dividing the bus network, so as to obtain the bus network macro basic map; Among them, for the road section with only taxi data, based on the geographical location of the road section, the social vehicle section speed and the bus section speed on all sections covered by the bus entry and exit GPS data and taxi GPS data, a neural network model is used to predict the bus section speed, specifically including: For all road sections with both bus entry and exit data and taxi data: for any road section, calculate the section speed of buses and social vehicles on the road section based on the bus entry and exit GPS data and taxi GPS data respectively; for any road section, use the social vehicle section speed and the section start / end latitude and longitude, section length, number of lanes, and whether there is a bus lane as input parameters, use the Pearson correlation coefficient to describe the correlation between the input parameters and the bus section speed, and select the input parameter with the largest absolute value of the correlation coefficient as the input parameter of the road section; take the input parameters of all sections as a sample set; According to the road section, the sample set is divided into a training set and a test set; Use the training set to train the neural network model to obtain the final prediction model; For the road sections with only taxi GPS data, the input parameters of the road section are input into the final prediction model to obtain the bus section speed; The method of determining the number of initial cells and the centers of initial cells by using the density peak clustering method according to the adjacency relationship between different sections in the road network and the speed of the bus section, and then generating the initial cells by using the regional growing method includes: Calculate local density and relative distance of road segments; According to the local density and relative distance of the road segments, the sum of the Manhattan distances between any road segment and other road segments is calculated and arranged in descending order; For the sorted ones, the difference between two adjacent numbers is calculated, and the maximum difference is used as the boundary, and all corresponding road sections before the maximum difference are used as the initial cell center; Select any initial cell center and identify the road sections adjacent to the road sections in the initial cell. Select the optimal road section to be added to the initial cell based on the TOPSIS algorithm according to the bus speed variance after the initial cell is added to each adjacent road section and the distance from each adjacent road section to the cell center. Repeat this step until all road sections are clustered into the initial sub-area.

7. A storage medium storing a program, characterized in that: When the program is executed by a processor, the bus network partitioning method described in any one of claims 1 to 5 is implemented.