Subway station walking network node facility congestion state prediction method and equipment

By constructing the pedestrian network graph and spatio-temporal hybrid prediction network of subway stations, the accuracy problem of congestion status prediction of pedestrian network node facilities in subway stations is solved, and the level of large passenger flow management and operational safety is improved.

CN118747288APending Publication Date: 2024-10-08SHANGHAI UNIV OF ENG SCI

Patent Information

Application Number
CN202410963493.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing technology is difficult to accurately predict the congestion status of pedestrian network node facilities in subway stations, especially when the station topology changes, resulting in a reduction in the efficiency of large passenger flow management and the level of operational safety.

Method used

By dividing the node facilities of the subway station into minimum capacity control units, a walking network graph is constructed, and the spatial graph convolution module, time processing module and dynamic residual module are used to construct a spatio-temporal hybrid prediction network, which captures topological structure changes and predicts the node facilities. Congestion status.

Benefits of technology

It achieves accurate prediction of congestion status of pedestrian network node facilities in subway stations, improves large passenger flow management and operational safety levels, and provides scientific basis for station operation management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747288A_ABST
    Figure CN118747288A_ABST
Patent Text Reader

Abstract

The invention discloses a subway station walking network node facility congestion state prediction method and equipment, relates to the technical field of intelligent traffic, and comprehensively considers a subway station node facility layout condition and a passenger transport organization scheme adjustment implementation condition. Constructing a station walking network by taking the minimum capacity regulation and control units of the node facilities as nodes and taking connection channels between the nodes as paths; aiming at the condition that network nodes are converted from passing to closing or from closing to passing due to adjustment of a station passenger flow organization scheme, constructing an adjacent matrix adjustment calculation method so as to capture change characteristics of a walking network topology structure; a historical queuing people number matrix of each node of the walking network and a corresponding adjacent matrix are used as input, a queuing people number matrix of each node in the next time period is used as output, a walking network node facility congestion state space-time hybrid prediction model is constructed, and the model comprises three sub-modules including a space graph convolution module, a time processing module and a dynamic residual module.
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 and device for predicting the congestion state of pedestrian network node facilities in a subway station taking into account topological time-varying conditions. Background Art

[0002] Under conditions of large passenger flow, node facilities such as entrances and exits, security inspection machines, gates, escalators, etc. are the main primary passenger flow bottlenecks in subway stations. Predicting the congestion of node facilities in the pedestrian network of subway stations is conducive to station management and reducing operational risks such as large passenger flow gathering and detention. Due to reasons such as station equipment failure maintenance or passenger transportation organization plan adjustments (such as closing gates, one-way traffic on two-way stairs, and changing the direction of escalators), the topological structure of the pedestrian network of subway stations often changes in a local area and for a limited period of time. In this case, if the station node facility congestion prediction method lacks the ability to adapt to the pedestrian network topological structure, the prediction result will have a large error, thereby reducing the efficiency of large passenger flow management and the level of operational safety of subway stations. Therefore, this field is in urgent need of a technical solution that can accurately predict the congestion status of node facilities while considering the time-varying topology of the station pedestrian network. Summary of the invention

[0003] The purpose of the present invention is to provide a method and device for predicting the congestion status of node facilities in a pedestrian network of a subway station, which can accurately predict the congestion status of nodes in the pedestrian network of a station, provide data support for the prediction of the congestion distribution and propagation of node facilities, the release of passenger dynamic information, and the induction of travel within the station under the condition that the topological structure of the pedestrian network of a subway station changes, and provide a scientific basis for the subway operation management department to formulate, start, adjust and evaluate the station large passenger flow organization plan.

[0004] To achieve the above object, the present invention provides the following solutions:

[0005] In a first aspect, the present invention provides a method for predicting the congestion status of pedestrian network node facilities in a subway station, the method comprising:

[0006] Each type of node facility in a subway station is divided into a number of minimum capacity control units. The minimum capacity control unit refers to a group of node facilities of the same type that must adjust their switches or running directions at the same time according to passenger management needs;

[0007] The minimum capacity control unit of the node facility is used as the node, and the connecting channels between the nodes are used as the path to construct the walking network diagram of the subway station entrance and exit.

[0008] Divide the data collection period according to the preset time interval;

[0009] Obtaining the number of people queuing at each node within each data collection period and the passenger transport organization plan adjustment measures;

[0010] According to the in-and-out walking network diagram, construct an initial distance-based adjacency matrix;

[0011] In view of the situation where a single or multiple nodes are changed from open to closed or from closed to open due to the adjustment measures of the station passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to automatically obtain the adjusted adjacency matrix of different time periods (different passenger flow organization plans);

[0012] Taking the historical queue number matrix of each node and the adjusted adjacency matrix of the corresponding time period as input and the queue number matrix of each node in the next time period as output, a spatiotemporal hybrid prediction network for the congestion state of the facilities in the pedestrian network nodes is constructed and trained to obtain a hybrid prediction model; the hybrid prediction model includes: a spatial graph convolution module, a temporal processing module and a dynamic residual module;

[0013] The node queue number matrix of several time periods before the subway station prediction period and the corresponding adjusted adjacency matrix are input into the hybrid prediction model to obtain the queue number matrix of each node in the next time period of the station.

[0014] Optionally, the subway station node facilities include entrances and exits, security inspection machines, gates, and escalators.

[0015] Optionally, a subway station entry and exit walking network graph G = (V, E, A), where V represents the set of all nodes in the subway station, E represents the set of pedestrian walking paths between all nodes in the subway station, and A ∈ R n×n It is a weighted adjacency matrix that describes the closeness of the spatial relationship between nodes. n is the number of network nodes, that is, the sum of the minimum capacity control units of each type of node facility. n×n It refers to a matrix of n*n dimensions.

[0016] Optionally, constructing an initial distance adjacency matrix based on distance according to the in-and-out walking network diagram, specifically including:

[0017] When node j (j = 1, 2, ..., n) is unreachable from node k (k = 1, 2, ..., n), the corresponding element a of the initial distance adjacency matrix j,k is 0; when node j is reachable from node k, the corresponding element a of the initial distance adjacency matrix j,k The value is assigned as the weighted data of the shortest reachable path length from node j to node k. The calculation formula for the value is:

[0018]

[0019] Among them, d jk is the length of the shortest path from node j to node k.

[0020] Optionally, for a situation where a single or multiple nodes are changed from open to closed or from closed to open due to the adjustment measures of the station passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to automatically obtain the adjusted adjacency matrix of different time periods, specifically including:

[0021] For the situation where some nodes are changed from open to closed:

[0022] According to the passenger transport organization plan adjustment measures, multiple associated elements of the node v that is changed from open to closed are set to 0, and other elements are set to 1, to obtain an auxiliary adjacency matrix; the associated elements are the associated upstream and downstream nodes of the node v that is changed from open to closed;

[0023] Performing a dot product of the auxiliary adjacency matrix and the initial distance adjacency matrix to obtain an adjacency matrix after the first adjustment;

[0024] Regarding the situation where some nodes are changed from closed to open:

[0025] According to the passenger transport organization plan adjustment measures, multiple associated elements of the minimum capacity control unit node v that is changed from closed to open are set as the weighted data a of the shortest reachable path length between the two nodes sv , other elements are set to 0, and the embedded adjacency matrix is ​​obtained; a sv The calculation formula is as follows:

[0026]

[0027] Among them, d sv is the shortest reachable path length from node s to node v;

[0028] The corresponding elements of the embedded adjacency matrix and the adjacency matrix after the first adjustment are added to obtain the adjusted adjacency matrix after the above two types of passenger organization plan adjustment measures are implemented during this period.

[0029] Optionally, the network node facility congestion state spatiotemporal hybrid prediction network includes three modules:

[0030] The first module is the spatial graph convolution module, which is used to extract the spatial features of the input sequence. Its input is the queue number matrix of the historical time period and the adjusted adjacency matrix corresponding to each historical time period.

[0031] The second module is the time processing module. Its input is the queue number matrix of the historical period and the spatial features obtained by the first module. The gated recurrent unit is used to identify the time correlation between the input time steps (historical queue number matrix) and perform time feature extraction. The output is the predicted queue number matrix.

[0032] The third module is the dynamic residual module, which superimposes the output of the second module and the original historical queue matrix to obtain the final prediction result of the queue matrix for the next period. The Adam optimizer is used to optimize the parameters of the graph convolution. The loss function is the root mean square error, mean absolute error, and goodness of fit coefficient.

[0033] In a second aspect, the present invention provides a computer device comprising: a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of a method for predicting the congestion status of a subway station pedestrian network node facility as described in any one of the above items.

[0034] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of a method for predicting the congestion status of a pedestrian network node facility in a subway station as described in any one of the above items are implemented.

[0035] In a fourth aspect, the present invention provides a computer program product, comprising a computer program, characterized in that when the computer program is executed by a processor, the computer program implements the steps of any of the above-mentioned methods for predicting the congestion status of pedestrian network node facilities in a subway station.

[0036] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:

[0037] The present invention provides a method for predicting the congestion state of a subway station pedestrian network node facility. The method comprehensively considers the layout of the subway station node facilities and the implementation of the adjustment of the passenger transportation organization plan, and constructs a station pedestrian network with the minimum capacity control unit of the node facility as the node and the connection channel between the nodes as the path; for the situation where the network node changes from open to closed or from closed to open due to the adjustment of the station passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to automatically capture the changing characteristics of the pedestrian network topological structure; with the historical queue number matrix of each node of the pedestrian network and its corresponding adjacency matrix as input and the queue number matrix of each node in the next time period as output, a spatiotemporal hybrid prediction model for the congestion state of the pedestrian network node facility is constructed, including three submodules: a spatial graph convolution module, a time processing module and a dynamic residual module. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] 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 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 these drawings without paying creative work.

[0039] Figure 1 A flowchart of a method for predicting the congestion status of pedestrian network node facilities in a subway station provided by an embodiment of the present invention.

[0040] Figure 2 A structural diagram of a subway station node facility provided in an embodiment of the present invention.

[0041] Figure 3 A bidirectional network diagram of pedestrian network node facilities in a subway station provided by an embodiment of the present invention.

[0042] Figure 4 A one-way network diagram of a subway station pedestrian network node facility provided by an embodiment of the present invention.

[0043] Figure 5 A unidirectional network diagram after adjustment of the control solution provided in an embodiment of the present invention.

[0044] Figure 6 A schematic diagram of an initial adjacency matrix provided by an embodiment of the present invention.

[0045] Figure 7 A schematic diagram of an adjacency matrix after the first adjustment according to the passenger flow organization plan provided in an embodiment of the present invention.

[0046] Figure 8 A schematic diagram of the adjacency matrix (final adjustment matrix) after the second adjustment according to the passenger flow organization plan provided in an embodiment of the present invention.

[0047] Fig. 9 A schematic diagram of the error in prediction results of bottleneck nodes (queuing nodes) provided in an embodiment of the present invention.

[0048] Fig.10 A schematic diagram comparing the prediction results of different models of security inspection facilities provided in an embodiment of the present invention with the actual values.

[0049] Fig.11 A schematic diagram of the root mean square error of prediction results of different models for bottleneck nodes (queuing nodes) provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of 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.

[0051] Under the condition of large passenger flow, node facilities such as entrances and exits, security inspection machines, gates, escalators, etc. are the main primary passenger flow bottlenecks of subway stations. When the passenger transportation organization plan of the station remains unchanged, the congestion events of the station during peak hours are generally frequent congestion with certain regularity, and usually occur at fixed time and fixed node facilities. However, when the station equipment fails to repair or the passenger transportation organization plan is temporarily adjusted (such as closing the entrances and exits, one-way traffic at the entrances and exits or transfer channels, changing the direction of escalator operation), the topological structure of the station's pedestrian network, passenger flow lines and passenger flow distribution will change, which will lead to congestion of the station node facilities. If the station node facility congestion prediction method lacks the ability to adapt to the topological structure of the pedestrian network (that is, it does not fully consider the impact of the adjustment of these passenger flow control plans), the prediction results will have large errors, thereby reducing the efficiency of large passenger flow management and the level of operational safety of subway stations.

[0052] Therefore, the present invention proposes a spatiotemporal hybrid prediction method for the congestion status of subway station pedestrian network nodes taking into account the time-varying topology, which provides data support for the congestion distribution and propagation prediction of node facilities, the release of passenger dynamic information, and the travel induction within the station under the condition that the topological structure of the subway station pedestrian network changes, and at the same time provides a scientific basis for the formulation, adjustment and evaluation of the station large passenger flow organization plan of the subway operation management department.

[0053] The purpose of the present invention is to provide a method and device for predicting the congestion status of node facilities in a pedestrian network of a subway station, which can accurately predict the congestion status of nodes in the pedestrian network of a station, provide data support for the prediction of the congestion distribution and propagation of node facilities, the release of passenger dynamic information, and the induction of travel within the station under the condition that the topological structure of the pedestrian network of a subway station changes, and provide a scientific basis for the formulation, adjustment and evaluation of large passenger flow organization plans of subway operation management departments.

[0054] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0055] Example 1

[0056] See also Figure 1 , this embodiment provides a method for training a pedestrian network node prediction model, the method comprising:

[0057] S1. Divide each type of subway station pedestrian network node facilities into minimum capacity regulation units to obtain nodes; the nodes are subway station pedestrian network nodes after the minimum capacity regulation unit division.

[0058] In order to improve the operability of the adjustment of the passenger flow organization plan, this embodiment divides each type of node facility of the station according to the minimum capacity control unit (a group of node facilities whose switches or running directions are adjusted at the same time. The minimum capacity control unit refers to a group of node facilities of the same type that must adjust their switches or running directions at the same time according to the passenger management needs of the station. For example, if 10 gates are arranged near the entrance and exit 2 of the station hall, and 2 gates that adjust their switches or running directions at the same time are regarded as a minimum capacity control unit, then there are a total of 5 minimum capacity control units at this gate). Each group of minimum capacity control units corresponds to a node of the entry and exit network graph G.

[0059] S2. Construct a subway station node facility entry and exit network diagram based on the node settings.

[0060] The network diagram of subway station node facilities entering and exiting the station is G = (V, E, A), where V represents the set of all nodes in the subway station, E represents the set of pedestrian paths between all nodes in the subway station, and A∈R n×n It is a weighted adjacency matrix that describes the closeness of the spatial relationship between nodes. n is the number of network nodes, that is, the sum of the minimum capacity control units of each type of node facility. n×n It refers to a matrix of n*n dimensions.

[0061] S3. Divide the data collection period according to the preset time interval.

[0062] The congestion process on different characteristic days is divided into time periods according to preset time intervals. The congestion process is based on the time period when congestion will occur, which is determined based on preliminary investigations. It does not refer to the whole day. If it is the morning rush hour, it is generally from 7 to 9 o'clock.

[0063] S4. Obtain the number of people queuing at each node within each data collection period.

[0064] Based on video recognition technology, the number of people queuing at each node in each time period in both directions of entry and exit is obtained.

[0065] S5. Construct an initial adjacency matrix A of the stations based on distance according to the entry and exit network diagram.

[0066] When node j (j = 1, 2, ..., n) is unreachable from node k (k = 1, 2, ..., n), the corresponding element a of the initial adjacency matrix j,k is 0; when node j is reachable from node k, the corresponding element a of the initial adjacency matrix j,k The value is assigned as the weighted data of the shortest reachable path length from node j to node k. The calculation formula for the value is:

[0067]

[0068] Among them, d jkis the length of the shortest path from node j to node k.

[0069] S6. According to the two situations that a number of minimum capacity control units are changed from open to closed and from closed to open, a matrix adjustment calculation method is constructed based on the entry and exit network diagram, the initial adjacency matrix and the passenger flow organization plan.

[0070] Construct a matrix adjustment calculation method. Based on the subway station entry and exit network diagram G, the initial adjacency matrix A, and the passenger flow organization plan during the data collection period, construct an auxiliary adjacency matrix (to cope with the situation where several minimum capacity control units change from open to closed), embedding the adjacency matrix (To cope with the situation where several minimum capacity control units are changed from closed to open), and the adjusted adjacency matrix A of the period is calculated based on the obtained auxiliary adjacency matrix and embedded adjacency matrix adj k .

[0071] For situations where the facilities of pedestrian network nodes are changed from open to closed due to station equipment failure or adjustment of passenger flow organization plan

[0072] The specific steps include:

[0073] A1. Generate an n*n dimensional identity matrix based on n nodes;

[0074] A2. Obtain the auxiliary adjacency matrix based on the passenger flow organization plan

[0075] For each element m in the identity matrix sv (where s is the row index and v is the column index): If node v in the passenger flow organization plan changes from open to closed, then multiple associated elements of the identity matrix node v such as a sv 、a vu The corresponding value of (node ​​s is the upstream node of node v, and node u is the downstream node of node v) is set to 0; if the running status of node v remains unchanged, the value of its related elements remains unchanged.

[0076] A3, the auxiliary adjacency matrix With the initial adjacency matrix A 0 Perform dot multiplication to obtain the adjacency matrix after the first adjustment. The formula is:

[0077]

[0078] In case of network node facilities being changed from closed to open due to station equipment failure or adjustment of passenger flow organization plan, the specific steps are as follows:

[0079] A4. Generate an n*n dimensional zero matrix based on n nodes;

[0080] A5. Obtain the embedded adjacency matrix based on the passenger flow organization plan

[0081] For every element m in the zero matrix sv (where s is the row index and v is the column index): If node v in the passenger flow organization plan changes from closed to open, then the positions of multiple associated elements corresponding to the zero matrix are changed to a sv 、a vu The corresponding value of (node ​​s is the upstream node of node v, and node u is the downstream node of node v) is set to the weighted data of the shortest reachable path length between the two nodes; if the running state of node v remains unchanged, the element value remains unchanged.

[0082] A6. Add corresponding elements of the embedded adjacency matrix and the adjacency matrix adjusted for the first time according to the passenger flow organization plan to obtain an adjusted adjacency matrix after the above two types of passenger flow organization plan adjustment measures are implemented during this period.

[0083]

[0084] S7, spatial graph convolution module

[0085] The spatial graph convolution module is mainly composed of a graph convolution module and an attention mechanism. This module uses the adjustment matrix calculated by the matrix calculation method and the historical node queue matrix as the input of the graph convolution. The update process of the k-th layer graph convolution is:

[0086]

[0087] In the formula, Z k is the node feature matrix of the kth layer, W k is the k-th weight matrix.

[0088] Finally, after k layers of graph convolution processing, the output result set Z of each layer is obtained = {Z 1 ,Z 2 ,…,Z k In order to effectively integrate information from all levels and obtain more accurate prediction results, a multi-layer fusion mechanism based on the attention mechanism is further adopted to fuse the output results of all graph convolutional layers:

[0089]

[0090] Where: W α and b α Represents the relevant weight parameters and bias, and h is the final output result.

[0091] S8, time processing module

[0092] A1. The time processing module takes the queue number matrix of historical nodes and the output of the spatial graph convolution module as input. The calculation process of this module is as follows:

[0093] r t =σ(Θ r * G [h t ,H t-1 ]+b r );

[0094] u t =σ(Θ u * G [h t ,H t-1 ]+b u );

[0095] c t =tanh(Θ c * G [h t ,(r t ,H t-1 )]+b c );

[0096] H t =u t ⊙H t-1 +(1-u t )⊙c t ;

[0097] In the formula, h t represents the output result of the graph convolution module at time t, H t is the output result of the gated recurrent unit. t Responsible for discarding irrelevant information and updating gate u t Then control the output of GRU at time t. Θ r , Θ u and θ c is the relevant parameter. r , b u and b c are the respective bias parameters.

[0098] A2. Model evaluation indicators

[0099] (1) Root mean square error

[0100]

[0101] In the formula, x n is the true value in the original dataset.

[0102] (2) Mean absolute error

[0103]

[0104] (3) Goodness of fit coefficient

[0105]

[0106] In the formula, is the average value of the actual samples.

[0107] S9, Dynamic Residual Module

[0108] The original historical passenger flow data contains a lot of valuable information. In order to make full use of this information to more accurately predict the congestion status in the future, a dynamic residual fusion module is further constructed. This module aims to effectively integrate the historical passenger flow data with the extracted spatiotemporal features to achieve dynamic fusion. The expression of the dynamic residual fusion mechanism is as follows:

[0109] Y=H*W h +X*W w ;

[0110] Where H is the spatiotemporal fusion feature generated by the time processing module and the spatial graph convolution module, X represents the historical passenger flow data, and W h and W w are two trainable parameters that are continuously adjusted and optimized during model training.

[0111] This embodiment can be used to predict the congestion status of subway station node facilities under different topological time variations, and has the following advantages:

[0112] (1) Taking into account the layout of subway station node facilities and the implementation of passenger transport organization plan adjustments, a group of node facilities of the same type that adjust their switches or running directions at the same time are set as the minimum capacity control unit of this type of node facilities. A directed graph of subway station pedestrian network in and out is constructed with the minimum capacity control unit as the node and the connecting channels between the nodes as the path, which improves the practical application value of the model.

[0113] (2) In response to the situation where node facilities change from open to closed or from closed to open due to station equipment failure or adjustment of passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to enable the prediction model to effectively capture and locate the changes in the topological structure of the pedestrian facility network G, thereby improving the model's adaptability to changes in the network topological structure, thereby improving the model's accuracy and practical application value.

[0114] (3) Considering the time-varying topology of the pedestrian network, a spatiotemporal hybrid prediction model for the number of people queuing at the pedestrian network nodes of subway stations is constructed, which includes a spatial graph convolution module, a temporal processing module, and a dynamic residual module. The established model can adapt to the dynamic changes of the network topology and accurately capture the spatiotemporal variation characteristics of the pedestrian network of subway stations and the number of people queuing at their nodes, thereby improving the prediction accuracy of the dynamic change law of the number of people queuing at the nodes in the pedestrian network.

[0115] The specific steps are:

[0116] Step 1: Data preparation. Collect the number of people queuing at each node (minimum capacity control unit), static graph structure information (i.e., initial adjacency matrix), and passenger transportation organization plan adjustment measures for each time period. The first 75% of the data is used as the training set, and the next 25% of the data is used as the test set;

[0117] Step 2: According to the passenger transport organization plan adjustment measures and the initial adjacency matrix in different time periods, the matrix adjustment calculation method is used to obtain the adjusted adjacency matrix in different time periods;

[0118] Step 3: Use the spatial graph convolution module to extract spatial feature information. Take the historical node queue matrix and the corresponding initial or adjusted adjacency matrix as the input of the graph convolution, and perform the graph convolution operation to extract spatial feature information;

[0119] Step 4: Use the time processing module to extract time feature information. Input the historical node queue matrix and the spatial features obtained in step 3 into the gated recurrent unit module to obtain the spatiotemporal fusion features of the fused time information;

[0120] Step 5: Through the dynamic residual module, the output of the previous step is superimposed with the original node queue time series to obtain the final output of the dynamic graph convolution model;

[0121] Step 6: Determine the number of training times. If the current number of training times has reached the preset upper limit, proceed to step 8; otherwise, continue training in step 7 until the expected prediction effect is achieved;

[0122] Step 7: Calculate the loss function and optimize the model. Calculate the loss error between the output of the prediction model and the actual passenger flow. If the error reaches the preset value, proceed to step 8; otherwise, adjust the model parameters according to the result of the loss function and return to step 3;

[0123] Step 8: Passenger flow prediction and model evaluation: Input the test set, obtain the prediction results, and compare them with the actual passenger flow data to further evaluate the prediction performance of the model.

[0124] Embodiment 2:

[0125] Construct a station walking network diagram:

[0126] This invention takes a subway station in Shanghai as an example. The station has an average daily passenger flow of more than 90,000 people, and the train departure interval during peak hours is 3 minutes. In this example, 3 minutes is used as the data collection interval. The station has 4 entrances and exits, 2 security inspection facilities, 10 sets of entry gates (the minimum control unit is 2 gates), 4 stairs, 2 escalators, and 10 sets of exit gates (the minimum control unit is 2 gates). The relevant data of the entry gates are shown in Table 1. The layout of the station node facilities is shown in Table 1. Figure 2 shown.

[0127] Table 1

[0128]

[0129]

[0130] Metro station walking network Figure 3 (Bidirectional), Figure 4 (One-way) is shown, the path distances between each node facility are measured in advance, and some path distances are shown in Table 2. The predefined weight adjacency matrix is ​​as follows: Figure 6 shown.

[0131] Table 2

[0132]

[0133] Collect passenger flow organization plans for stations on different characteristic days:

[0134] The station adopts different passenger flow organization plans on different characteristic days (different working days, major holidays, large-scale events, etc.). The subway station has a total of 27 nodes (minimum capacity control units), and each node has three adjustable states: closed, open to the station, or open to the station. Based on this, the station can form 81 different passenger flow organization plans. After preliminary investigation, the four most common passenger flow organization plan adjustment measures of the station are shown in Table 3:

[0135] Table 3

[0136]

[0137]

[0138] Collect passenger flow parameters of station nodes (minimum capacity control unit):

[0139] Cameras were set up in front of node facilities to collect queue data. Based on the video, the queue data of each node in the subway station was collected at 3-minute intervals for two weeks (6:00-22:00), and a total of 4,500 sample data were obtained.

[0140] Calculate the adjusted adjacency matrix for each sample collection period. For example, the station implements passenger flow control between 18:00-19:00 on weekdays, implements control measures for small packages exempt from inspection, and adjusts its two groups of exit gates (g10) to entry gates. At this time, its network diagram changes as follows Figure 5 As shown in (unidirectional network diagram after control plan adjustment), its initial weight adjacency matrix, the adjacency matrix after the first adjustment according to the passenger flow organization plan, and the adjacency matrix after the second adjustment according to the passenger flow organization plan are as follows: Figure 6-8 As shown in the figure, we can see that the weights of nodes 6 to 8 are relatively large, because pedestrians go directly to node 8 after exiting node 6. During the data collection time range, node 16 changed its running direction (i.e., it changed from an exit gate to an entry gate) due to the adjustment of the passenger flow organization plan. Pedestrians cannot choose to exit from this node and choose adjacent facilities instead. Figure 8 The corresponding weight has changed, and some passengers will choose to enter the station from this node, so Figure 8 The corresponding weight of the matrix increases, generating new links; superimposing the results of the two adjustments yields Figure 8 The final adjustment matrix.

[0141] Prediction of the number of people queuing at pedestrian network nodes:

[0142] The first 3375 data are used to train the directed graph convolutional neural network. During the training process, the root mean square error is selected to calculate the training loss value. After the model is stable, the remaining data is input into the model. The final prediction accuracy of each bottleneck node (queuing node) is as follows: Fig. 9 As shown, the average prediction accuracy R 2 =93.04%. We further applied the DSTGCN (0-1) model (i.e., replacing the distance-based adjacency matrix with the 0-1 adjacency matrix as input) and the STGCN model (i.e., the graph convolution prediction model without the dynamic residual module) for prediction and comparative analysis. For gate nodes, the prediction results of the three models are shown in Fig.10 The prediction accuracy comparison evaluation index is shown in Table 4. It can be seen that the DSTGCN model has the highest prediction accuracy. For each bottleneck node (queuing node), the prediction root mean square error comparison of the three models is shown in Fig.11 ,It can be seen that the DSTGCN prediction model proposed in the present invention has a relatively lowest prediction root mean square error.

[0143] Table 4

[0144]

[0145] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0146] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited thereto. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited thereto.

[0147] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0148] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for predicting the congestion status of pedestrian network node facilities in a subway station, characterized in that: The method comprises: Divide each type of node facility in the subway station into several minimum capacity control units; The minimum capacity control unit of the node facility is used as the node, and the connecting channels between the nodes are used as the path to construct the walking network diagram of the subway station entrance and exit. Divide the data collection period according to the preset time interval; Obtaining the number of people queuing at each node within each data collection period and the passenger transport organization plan adjustment measures; According to the in-and-out walking network diagram, construct an initial distance-based adjacency matrix; In view of the situation where a single or multiple nodes are changed from open to closed or from closed to open due to the adjustment measures of the station passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to automatically obtain the adjusted adjacency matrix of different time periods; Taking the historical queue number matrix of each node and the adjusted adjacency matrix of the corresponding time period as input and the queue number matrix of each node in the next time period as output, a spatiotemporal hybrid prediction network for the congestion state of the facilities in the pedestrian network nodes is constructed and trained to obtain a hybrid prediction model; the hybrid prediction model includes: a spatial graph convolution module, a temporal processing module and a dynamic residual module; The node queue number matrix of several time periods before the subway station prediction period and the corresponding adjusted adjacency matrix are input into the hybrid prediction model to obtain the queue number matrix of each node in the next time period of the station.

2. A method for predicting the congestion status of pedestrian network node facilities in a subway station according to claim 1, characterized in that: The subway station node facilities include entrances and exits, security inspection machines, gates, and escalators.

3. A method for predicting the congestion status of pedestrian network node facilities in a subway station according to claim 1, characterized in that: The walking network graph of subway station in and out is G = (V, E, A), where V represents the set of all nodes in the subway station, E represents the set of pedestrian paths between all nodes in the subway station, and A∈R n×n It is a weighted adjacency matrix that describes the closeness of the spatial relationship between nodes. n is the number of network nodes, that is, the sum of the minimum capacity control units of each type of node facility. n×n It refers to a matrix of n*n dimensions.

4. A method for predicting the congestion status of pedestrian network node facilities in a subway station according to claim 1, characterized in that: According to the in-and-out walking network diagram, an initial distance adjacency matrix based on distance is constructed, which specifically includes: When node j (j = 1, 2, ..., n) is unreachable from node k (k = 1, 2, ..., n), the corresponding element a of the initial distance adjacency matrix j,k is 0; when node j is reachable from node k, the corresponding element a of the initial distance adjacency matrix j,k The value is assigned as the weighted data of the shortest reachable path length from node j to node k. The calculation formula for the value is: Among them, d jk is the length of the shortest path from node j to node k.

5. A method for predicting the congestion status of a subway station pedestrian network node facility according to claim 1, characterized in that: In view of the situation where a single or multiple nodes are changed from open to closed or from closed to open due to the adjustment measures of the station passenger flow organization plan, an adjacency matrix adjustment calculation method is constructed to automatically obtain the adjusted adjacency matrix of different time periods, including: For the situation where some nodes are changed from open to closed: According to the passenger transport organization plan adjustment measures, multiple associated elements of the node v that is changed from open to closed are set to 0, and other elements are set to 1, to obtain an auxiliary adjacency matrix; the associated elements are the associated upstream and downstream nodes of the node v that is changed from open to closed; Performing a dot product of the auxiliary adjacency matrix and the initial adjacency matrix to obtain an adjacency matrix after the first adjustment; Regarding the situation where some nodes are changed from closed to open: According to the passenger transport organization plan adjustment measures, multiple associated elements of the minimum capacity control unit node v that is changed from closed to open are set as the weighted data a of the shortest reachable path length between the two nodes sv , other elements are set to 0, and the embedded adjacency matrix is ​​obtained; a sv The calculation formula is as follows: Among them, d sv is the shortest reachable path length from node s to node v; The corresponding elements of the embedded adjacency matrix and the adjacency matrix after the first adjustment are added to obtain the adjusted adjacency matrix after the above two types of passenger organization plan adjustment measures are implemented during this period.

6. A method for predicting the congestion status of pedestrian network node facilities in a subway station according to claim 1, characterized in that: The network node facility congestion status spatiotemporal hybrid prediction network includes three modules: The first module is the spatial graph convolution module, which is used to extract the spatial features of the input sequence. The input sequence is the queue number matrix of nodes in the historical period and the adjusted adjacency matrix corresponding to each historical period. The second module is the time processing module. Its input is the node queue number matrix of the historical period and the spatial features obtained by the first module. It uses the gated recurrent unit to identify the time correlation between the input time steps and extract the time features to obtain the spatiotemporal fusion features that integrate the time information. The third module is the dynamic residual module, which superimposes the output of the second module and the original input, that is, the historical node queue matrix, to obtain the final prediction result of the node queue matrix in the next period, and uses the Adam optimizer to optimize the parameters of the graph convolution; The loss functions are root mean square error, mean absolute error, and goodness of fit coefficient.

7. A computer device comprising: A memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of a method for predicting the congestion status of pedestrian network node facilities in a subway station as described in any one of claims 1-6.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of a method for predicting the congestion status of pedestrian network node facilities in a subway station described in any one of claims 1-6 are implemented.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of a method for predicting the congestion status of pedestrian network node facilities in a subway station described in any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • Urban rail transit short-time passenger flow prediction method based on generative adversarial network

    CN114626585A

  • DSTGCN-based traffic prediction method

    CN115578852A

  • Subway station streamline congestion state real-time evaluation method based on video identification

    CN116229305A

Cited By

  • Traffic jam prediction method, device, equipment and medium

    CN119740881A

  • Pedestrian guiding method and system for pedestrian flow OD demand in walking space

    CN121938177A

  • Pedestrian guidance method and system for pedestrian flow OD demand in walking space

    CN121938177B