Rail transit operation and maintenance method, device, equipment and storage medium
Through association relationship mining and multi-modal model training on rail transit data, a passenger flow prediction model is generated, which solves the problem of difficulty in considering differences in road networks with existing technologies and achieves accurate prediction and operation and maintenance of passenger flow on different road networks. The formulation of strategies improves traffic efficiency.
Patent Information
- Application Number
- CN202311822627.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-12-27
AI Technical Summary
Existing rail traffic flow prediction models are difficult to accurately predict the passenger flow of different road networks, and fail to effectively consider the differential factors between different road networks.
By obtaining the historical and real-time data of the target station, we conduct correlation mining and multi-modal model training, generate a passenger flow prediction model, and predict based on the spatio-temporal diagram and correlation degree.
It achieves accurate prediction of passenger flow on different road networks, helps operation and maintenance personnel formulate effective dispatching strategies, and improves traffic efficiency and the accuracy of operation and maintenance decisions.
Smart Images

Figure CN118095527B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of travel analysis, and in particular to a rail transit operation and maintenance method, device, equipment and storage medium. Background Art
[0002] With the acceleration of urbanization, urban rail transit systems have become an important way for people to travel in their daily lives. However, the problems that follow are that traffic congestion and insufficient capacity have gradually become prominent. Therefore, how to reasonably predict rail transit flow has put forward higher requirements for dispatching capacity, guiding passenger flow, and improving traffic efficiency. In this context, rail transit flow prediction has become a topic of great concern. In the prior art, commonly used passenger flow prediction models are usually based on historical data and some shared features for prediction. These models may consider shared features such as time-related features and weather factors, but do not explicitly consider the differences between different road networks. In actual situations, the factors affecting passenger flow in different road networks may be significantly different. For example, the road network in the central area of the city may be affected by factors such as commercial activities and tourist attractions, while the road network in the suburbs may be affected by factors such as the distribution of residential areas and the location of industrial areas. These differences make it difficult for existing models to accurately predict the passenger flow of different road networks. Summary of the invention
[0003] The main purpose of the present invention is to solve the technical problem that the differences between existing different road networks make it difficult for some models to accurately predict the passenger flow of different road networks.
[0004] A first aspect of the present invention provides a rail transit operation and maintenance method, the rail transit operation and maintenance method comprising:
[0005] Acquire the user location, user destination, travel time and user travel preference of the user to be recommended, and obtain various data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and various second data, the first data at least includes the historical passenger flow data of the target station, and the second data is various types of data collected by the rail transit operation and maintenance;
[0006] Performing association relationship mining on the first data and the plurality of second data to determine a plurality of historical associated data associated with the first data among the plurality of second data, and performing data association analysis on the first data and the plurality of historical associated data to obtain a degree of association between the first data and the plurality of historical associated data;
[0007] Performing multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model for the target station;
[0008] Acquire the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at the preset scheduling time;
[0009] According to the predicted passenger flow value of the target station, rail transit operation and maintenance work of the target station is carried out.
[0010] Optionally, in a first implementation manner of the first aspect of the present invention, the performing association relationship mining on the first data and the multiple second data, determining multiple historical associated data associated with the first data in the multiple second data, and performing data association analysis on the first data and the multiple historical associated data to obtain the degree of association between the first data and the multiple historical associated data includes:
[0011] Determine a plurality of frequent sets between the first data and the plurality of second data according to a preset mining algorithm, and calculate support and confidence corresponding to the plurality of frequent sets;
[0012] Determining a plurality of historical associated data associated with the first data in the plurality of second data based on the support and confidence of the plurality of frequent sets;
[0013] Data association analysis is performed on the first data and the plurality of historical association data to obtain a degree of association between the first data and the plurality of historical association data.
[0014] Optionally, in a second implementation of the first aspect of the present invention, the multimodal model training is performed based on the first data, the multiple historical correlation data, and the correlation degree to obtain the passenger flow prediction model of the target station, including:
[0015] Dividing the first data into input data and result data based on the preset scheduling time, wherein the input data includes traffic flow data corresponding to a plurality of traffic nodes in the rail transit network where the target station is located when they are not scheduled, and the result data includes traffic flow data corresponding to when the target station needs to be scheduled;
[0016] Generate a graph structure based on the plurality of traffic nodes and the connection relationship between the traffic nodes, and generate a spatiotemporal graph according to the time step of the traffic flow data and the graph structure;
[0017] generating an adjacency matrix according to the spatiotemporal graph, and generating a historical time series based on the input data at each time step;
[0018] A multimodal model training is performed based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain a traffic flow prediction model corresponding to the target station.
[0019] Optionally, in a third implementation of the first aspect of the present invention, generating an adjacency matrix according to the space-time graph, and generating a historical time series based on the input data of each time step includes:
[0020] Generate a first adjacency matrix according to the space-time graph, and obtain connection distances between connection relationships of each traffic node;
[0021] Adjusting the first adjacency matrix according to the connection distance to obtain a second adjacency matrix, and using the second adjacency matrix as the adjacency matrix corresponding to the space-time graph;
[0022] Dividing the traffic flow data of the plurality of traffic nodes according to the cycle type of the time step to obtain time step flow data corresponding to the plurality of cycle types;
[0023] The time step flow data corresponding to the multiple period types are fused to obtain a historical time series.
[0024] Optionally, in a fourth implementation of the first aspect of the present invention, the multimodal model training is performed based on the historical time series, the adjacency matrix, the plurality of historical association data, and the association degree to obtain the traffic flow prediction model corresponding to the target station, including:
[0025] Preprocessing the historical time series, the adjacency matrix, and the plurality of historical association data, and inputting the preprocessed historical time series, the adjacency matrix, the plurality of historical association data, and the association degree into a preset initial model, wherein the initial model includes a feature extraction part and a traffic prediction part;
[0026] Performing spatial feature extraction on the preprocessed adjacency matrix through the feature extraction part of the initial model to obtain spatial feature information, and performing data feature extraction on the multiple historical association data to obtain multiple data feature information;
[0027] Inputting the spatial feature information and the preprocessed historical time series into the gated recurrent unit of the traffic series prediction part to obtain an output result;
[0028] Calculate the attention weight vectors corresponding to the plurality of data feature information by combining the association degree through a preset attention mechanism;
[0029] Perform weighted fusion on multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and input the fused feature vector to the classification layer to obtain a traffic prediction result;
[0030] Calculating a preset loss function value according to the traffic prediction result and the result data, and determining whether the loss function value is less than a preset loss threshold;
[0031] If not, adjusting the parameters of the initial model according to the loss function value, and returning to the step of inputting the preprocessed historical time series, the adjacency matrix, the plurality of historical association data and the association degree into the preset initial model until the loss function value is less than the preset loss threshold;
[0032] If so, the initial model is used as the traffic flow prediction model corresponding to the target station.
[0033] Optionally, in a fifth implementation of the first aspect of the present invention, weighted fusion of multiple data feature information and the output result is performed according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain a traffic prediction result, including:
[0034] Mapping the fused feature vector linearly to a high-dimensional feature space through the classification layer to obtain a linear transformation result;
[0035] Performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result;
[0036] The traffic prediction result of the target station is calculated according to the nonlinear transformation result through the fully connected layer in the classification layer.
[0037] Optionally, in a sixth implementation of the first aspect of the present invention, performing rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station includes:
[0038] Formulate a rail transit dispatching strategy with a preset dispatching time according to the predicted passenger flow value of the target station;
[0039] Generate a visual report using the real-time passenger flow data, multiple real-time related data and the rail transit scheduling strategy;
[0040] The rail transit operation and maintenance work of the target station is performed based on the visual report.
[0041] A second aspect of the present invention provides a rail transit operation and maintenance device, the rail transit operation and maintenance device comprising:
[0042] A parsing module, used to obtain a variety of data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and multiple second data, the first data at least includes the historical passenger flow data of the target station, and the second data is multiple types of data collected by the rail transit operation and maintenance;
[0043] an association mining module, configured to mine the association relationship between the first data and the plurality of second data, determine a plurality of historical association data associated with the first data among the plurality of second data, and perform data association analysis on the first data and the plurality of historical association data to obtain the degree of association between the first data and the plurality of historical association data;
[0044] A model training module, used for performing multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model of the target station;
[0045] A prediction module, used to obtain the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at a preset scheduling time;
[0046] The operation and maintenance module is used to carry out rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station.
[0047] The third aspect of the present invention provides a rail transit operation and maintenance device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via a line; the at least one processor calls the instructions in the memory so that the rail transit operation and maintenance equipment executes the steps of the above-mentioned rail transit operation and maintenance method.
[0048] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the above-mentioned rail transit operation and maintenance method.
[0049] The above-mentioned rail transit operation and maintenance method, device, equipment and storage medium obtain the first data and multiple second data in the process of rail transit operation and maintenance; mine the association relationship between the first data and the multiple second data, determine multiple historical associated data associated with the first data in the multiple second data, and perform data association analysis to obtain the correlation between the first data and the multiple historical associated data; train a multimodal model based on the first data, multiple historical associated data and the correlation; calculate the predicted passenger flow value of the target station through the passenger flow prediction model obtained by training; and perform rail transit operation and maintenance work at the target station based on the predicted passenger flow value of the target station. This method mines the factors affecting the passenger flow of the target station through association mining and association analysis, and combines the multimodal model to predict the passenger flow, which can help the operation and maintenance personnel understand the passenger flow situation of the target station and make corresponding operation and maintenance decisions.
[0050] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0051] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of an embodiment of a rail transit operation and maintenance method in an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of an embodiment of a rail transit operation and maintenance device in an embodiment of the present invention;
[0054] Figure 3 It is a schematic diagram of another embodiment of the rail transit operation and maintenance device in the embodiment of the present invention;
[0055] Figure 4 It is a schematic diagram of an embodiment of rail transit operation and maintenance equipment in an embodiment of the present invention. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are 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.
[0057] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0058] To facilitate understanding of this embodiment, a rail transit operation and maintenance method disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the rail transit operation and maintenance method comprises the following steps:
[0059] 101. Acquire a plurality of data information in a rail transit operation and maintenance process in a rail transit operation and maintenance distributed file system of a target station, wherein the plurality of data information includes first data and a plurality of second data;
[0060] In practical applications, in modern urban rail transit systems, in order to ensure operational safety and improve operational efficiency, a large amount of data information needs to be collected and managed. These data cover multiple aspects such as equipment status, passenger flow, train operation status, etc., and play an important role in operation and maintenance decision-making and fault handling. Therefore, before rail transit operation and maintenance, it is necessary to establish an efficient distributed file system in advance, which can help the rail transit operation department to realize the storage, management and application of these data. The establishment of a distributed file system enables various departments to easily share and obtain data information, and at the same time, it can also ensure the security and integrity of the data. In this embodiment, at the target station, the rail transit operation and maintenance distributed file system collects data in the rail transit operation and maintenance process in advance, including but not limited to installing various sensors at key locations of the rail transit system, such as temperature sensors, pressure sensors, vibration sensors, etc. These sensors can monitor equipment status and environmental parameters in real time, and transmit data to the distributed file system. The equipment is installed on the train, such as a train control system, a traction system, etc. These devices can collect train operation data, passenger flow data, etc. in real time, and upload the data to the distributed file system through communication technology. Install surveillance cameras at key locations such as stations, vehicles and tunnels. These cameras can capture information such as train operation status and passenger behavior, and transmit video data to the distributed file system for processing and storage. Use modern communication networks, such as wireless networks and satellite communications, to connect various stations and equipment nodes. Through network connections, data transmission and sharing in the distributed file system can be achieved. In addition, operation and maintenance personnel can manually input data information, including equipment maintenance records, fault handling conditions, etc., through mobile terminals, workstations and other devices. These data can be directly uploaded to the distributed file system.
[0061] 102. Performing association relationship mining on the first data and the plurality of second data to determine a plurality of historical associated data associated with the first data among the plurality of second data, and performing data association analysis on the first data and the plurality of historical associated data to obtain the association degree between the first data and the plurality of historical associated data;
[0062] In one embodiment of the present invention, the performing of association relationship mining on the first data and the multiple second data, determining multiple historical association data associated with the first data in the multiple second data, and performing data association analysis on the first data and the multiple historical association data to obtain the association degree between the first data and the multiple historical association data includes: determining multiple frequent sets between the first data and the multiple second data according to a preset mining algorithm, and calculating the support and confidence corresponding to the multiple frequent sets; determining multiple historical association data associated with the first data in the multiple second data based on the support and confidence of the multiple frequent sets; and performing data association analysis on the first data and the multiple historical association data to obtain the association degree between the first data and the multiple historical association data.
[0063] Specifically, first, you need to collect passenger flow data and other possibly related data, such as weather conditions, holiday information, promotional activities, etc. Then clean and organize these data to ensure the consistency and accuracy of the data format. After that, you can use algorithms suitable for large-scale data mining (such as the Apriori algorithm or the FP-Growth algorithm) to find frequent item sets between different data and passenger flow. This may include changes in passenger flow under specific weather conditions, the impact of certain holidays or promotional activities on passenger flow, etc. Based on the frequent item sets, calculate the support and confidence of the association rules. For example, we may find association rules that passenger flow increases on rainy days, or on weekends. Through the above process, we can find the association between different stations and certain data, such as the association between time periods and passenger flow, weather conditions and passenger flow, holidays and passenger flow, equipment status and passenger flow, surrounding environment and passenger flow, social media activities and passenger flow, nearby events and passenger flow, traffic accidents and passenger flow, social events and passenger flow, and special population behavior and passenger flow, etc. The confidence and support calculations for these associations are similar to general association rule mining, but are adjusted accordingly for specific scenarios and data characteristics.
[0064] 103. Perform multimodal model training based on the first data, multiple historical related data and the correlation degree to obtain a passenger flow prediction model for the target station;
[0065] In this embodiment, the multimodal model training based on the first data, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model of the target station includes: dividing the first data into input data and result data based on the preset scheduling time, wherein the input data includes traffic flow data corresponding to multiple traffic nodes in the rail transit network where the target station is located when they are not scheduled, and the result data includes traffic flow data corresponding to the target station when scheduling is required; generating a graph structure based on the multiple traffic nodes and the connection relationship between each traffic node, and generating a space-time graph according to the time step of the traffic flow data and the graph structure; generating an adjacency matrix according to the space-time graph, and generating a historical time series based on the input data at each time step; performing multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the traffic flow prediction model corresponding to the target station.
[0066] Specifically, since the generated passenger flow prediction model is to predict the passenger flow when rail transit scheduling is required, it is necessary to divide the historical passenger flow data into traffic flow data corresponding to the unscheduled state and traffic flow data corresponding to the scheduled state. The former is one of the input data of the model, and the latter is equivalent to the label data in the model training process. In the process of generating the spatiotemporal graph, a multi-scale spatiotemporal graph convolutional network can be used, which can combine spatial and temporal information for prediction. When predicting traffic flow, traffic flow data is collected and the corresponding spatiotemporal graph structure is constructed. Each node represents a traffic node, that is, a station in the road network, and the edge represents the connection relationship between different nodes, and divides the time into different time segments or time steps, so that the time dimension can be taken into account in the model. Afterwards, according to the actual situation, spatiotemporal graphs of different scales are constructed to represent the traffic network structure at different levels. Based on the multi-scale spatiotemporal graph, a corresponding graph convolutional network structure is designed to model and predict traffic flow in the spatiotemporal domain and finally generate a historical time series. Then, a multimodal model is trained according to the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree, so that the multimodal model can integrate spatiotemporal information, historical information and various correlation information related to the prediction results to predict the passenger flow of the corresponding station.
[0067] Furthermore, the generating of an adjacency matrix according to the space-time graph and the generating of a historical time series based on the input data of each time step includes: generating a first adjacency matrix according to the space-time graph and obtaining a connection distance between connection relationships of each traffic node; adjusting the first adjacency matrix according to the connection distance to obtain a second adjacency matrix, and using the second adjacency matrix as the adjacency matrix corresponding to the space-time graph; dividing the traffic flow data of the multiple traffic nodes according to the cycle type of the time step to obtain time step flow data corresponding to multiple cycle types; and fusing the time step flow data corresponding to the multiple cycle types to obtain a historical time series.
[0068] Specifically, in order to reasonably represent the spatial relationship between each station, each traffic node in the road network is used as a node in the graph structure. The connection relationship between each node can be determined according to the traffic flow data corresponding to each traffic node, and the connection relationship is used as the edge between each node in the graph structure. After constructing the space-time graph, an adjacency matrix can be generated according to the space-time graph. In the adjacency matrix, the corresponding value is set according to whether there is an adjacency relationship between the stations. For example, if two traffic nodes are adjacent, the corresponding adjacency matrix element is set to 1, otherwise it is 0, and the first adjacency matrix is obtained. In addition, when generating the first adjacency matrix, the distance between the two traffic nodes can also be considered. For example, if two adjacent traffic nodes, their distance is called the node spacing. The larger the node spacing between the two traffic nodes, the smaller the degree of mutual influence; vice versa, so that a graph adjacency matrix integrating the distance factor can be generated, that is, the second adjacency matrix. The generation process of this new adjacency matrix is as follows:
[0069]
[0070] Among them, i represents the spatial dimension, j represents the time dimension, is the adjustment coefficient, which defines the weight ratio of the neighboring node relative to the self node; Represents the maximum value of the inverse of the distance among all nodes connected to the node, and normalizes it by dividing it. Set the main diagonal of the adjacency matrix to 1 to ensure that the self-node has the largest weight, and obtain the updated adjacency matrix; and according to the number of adjacent nodes of each node. It should be noted that in the multi-scale spatiotemporal graph convolutional network, there may be graphs of multiple scales, so it is necessary to construct corresponding multiple adjacency matrices to represent graph structures of different scales. These adjacency matrices can be used as one of the inputs of the graph convolutional network to transmit the connection information and topological structure between nodes, so as to perform effective feature extraction and spatiotemporal information fusion.
[0071] Specifically, traffic flow has a strong periodicity, showing regular periodic changes in different time periods every day, and there are slight differences between weekdays and weekends. Considering the daily and weekly periodicity of traffic flow, and combining it with the traffic flow in adjacent time periods, the time series are fused to construct a historical time series.
[0072] Furthermore, the multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the traffic flow prediction model corresponding to the target station includes: preprocessing the historical time series, the adjacency matrix and the multiple historical correlation data, and inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree into a preset initial model, wherein the initial model includes a feature extraction part and a traffic prediction part; performing spatial feature extraction on the preprocessed adjacency matrix through the feature extraction part of the initial model to obtain spatial feature information, and performing data feature extraction on the multiple historical correlation data to obtain multiple data feature information; inputting the spatial feature information and the preprocessed historical time series into the gated loop unit of the traffic sequence prediction part , and obtain the output result; calculate the attention weight vector corresponding to the multiple data feature information through the preset attention mechanism combined with the correlation; perform weighted fusion of the multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and input the fused feature vector to the classification layer to obtain a traffic prediction result; calculate the preset loss function value according to the traffic prediction result and the result data, and determine whether the loss function value is less than a preset loss threshold; if not, adjust the parameters of the initial model according to the loss function value, and return to the step of inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation into the preset initial model, until the loss function value is less than the preset loss threshold; if so, use the initial model as the traffic flow prediction model corresponding to the target station.
[0073] Specifically, the preprocessing process includes data outlier processing, data dimension conversion, matrix generation, sequence transformation and other processing processes to convert it into the data format required by the network model. In the spatial feature extraction process, in the deep network model, the adjacency matrix is combined with the deep neural network to analyze the spatiotemporal nature of traffic flow. For each hidden layer, the adjacency matrix is combined with the matrix multiplication, and the weight matrix is combined for weight multiplication linear transformation. The nonlinear change is performed through the activation function to obtain the input of the next hidden layer.
[0074] Specifically, the traffic prediction part is designed based on GRU. Its input includes the current input and the hidden state passed down from the previous node, including the relevant information of the previous node. GRU will obtain the output of the current hidden node and the hidden state passed to the next node. GRU contains two important gating mechanisms: reset gate and update gate. The two gate states are obtained through the state transmitted from the previous node and the input of the current node. Through the spatial graph convolution part of the previous layer, the model can obtain the spatial feature information in the road network. The spatial feature information and the output of the previous hidden layer are used as the input of the time series prediction part. In order to make the model pay attention to the periodic feature information of traffic flow, the model integrates the time period series, extracts features through multi-information fusion, and finally inputs it into the GRU network unit. The constructed deep spatiotemporal graph convolution recurrent neural network captures the complex spatial information in the topological structure of urban roads through the graph convolution part, and combines the gated recurrent unit to obtain the time correlation of traffic flow.
[0075] Specifically, since the historical associated data comes from different data sources, a multimodal neural network model that integrates multiple types of features can be used for processing. The multimodal neural network model can use the data from different data sources as different input layers, and merge them into one model through the connection layer. The degree fusion model can send the data from different data sources to their respective neural networks for feature extraction and classification prediction, and connect their outputs to the fully connected layer for comprehensive learning and classification prediction. This embodiment mainly uses an attention fusion model, which uses an attention mechanism to weightedly fuse different types of features. Among them, for the numerical data in the historical associated data, the numerical data can be used as neurons in the input layer, and feature extraction and conversion are performed through some fully connected layers to obtain a numerical feature vector with a dimension of d. The importance weight of each feature can be calculated using a self-attention mechanism, and the attention weight vector of different numerical features can be obtained based on the previously obtained association degree combined with the importance weight, and then the different numerical feature vectors are weighted and fused according to the attention weight to obtain the final fused feature vector, and finally the fused feature vector is input into the fully connected layer for classification prediction. This layer can include multiple fully connected layers, activation functions, and loss functions for model training and optimization.
[0076] Furthermore, the weighted fusion of multiple data feature information and the output result is performed according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain a traffic prediction result, including: linearly transforming the fused feature vector to a high-dimensional feature space through the classification layer to obtain a linear transformation result; performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result; and calculating the traffic prediction result of the target station according to the nonlinear transformation result through the fully connected layer in the classification layer.
[0077] Specifically, the obtained fused feature vector is used as the input of the fully connected layer, and the fused feature vector is mapped to a higher dimensional feature space through a linear transformation. This linear transformation is usually a fully connected layer, which contains multiple neurons (nodes), each neuron is connected to each element of the fused feature vector. The result of the linear transformation is nonlinearly transformed, and a nonlinear relationship is introduced to increase the expressive power of the model. Common activation functions include ReLU, sigmoid, tanh, etc. The choice of activation function depends on the specific task and model design. Depending on the task, the design of the output layer will also vary. For example, for a binary classification task, a neuron can be used and a sigmoid activation function can be applied to output a probability value between 0 and 1; for a multi-classification task, multiple neurons can be used and a softmax activation function can be applied to output the probability distribution of each category. In this embodiment, the predicted passenger flow can be divided into flow intervals to obtain multiple passenger flow intervals, and then the softmax activation function will calculate the probability of the passenger flow of the target station in different passenger flow intervals. According to the results of the output layer, the final classification prediction can be made according to a predefined threshold or by selecting the flow interval with the highest probability.
[0078] 104. Acquire real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into a passenger flow prediction model to obtain a predicted passenger flow value of the target station at a preset dispatch time;
[0079] In this embodiment, since the trained passenger flow model is a model exclusive to the target station, it can be known from the aforementioned content that the various real-time related data related to the predicted passenger flow value to be predicted by the real-time passenger flow data have been previously associated and mined. Therefore, the various real-time related data can be directly obtained and then input into the pre-trained model to obtain the predicted passenger flow value of the target station at the preset scheduling time.
[0080] 105. Carry out rail transit operation and maintenance work at the target station based on the predicted passenger flow value of the target station.
[0081] In one embodiment of the present invention, the rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station includes: formulating a rail transit scheduling strategy with a preset scheduling time according to the predicted passenger flow value of the target station; generating a visualization report of the real-time passenger flow data, a variety of real-time related data and the rail transit scheduling strategy; and performing the rail transit operation and maintenance work of the target station based on the visualization report.
[0082] Specifically, according to the passenger flow forecast results, determine the appropriate train departure time interval. During peak hours, the passenger flow is large, and the departure interval can be shortened to increase the supply of trains; while during low hours, the departure interval can be appropriately extended to reduce resource waste. This process requires balancing train capacity and passenger demand to achieve efficient transportation. In addition, according to the predicted passenger flow, the number of trains and timetables are reasonably arranged. By analyzing the peak passenger flow period and duration, the number of additional trains during the peak period is determined, and the number of train runs is appropriately reduced during the non-peak period. At the same time, it is also necessary to consider factors such as passenger transfers and line changes, and reasonably arrange the train stops and routes. During the operation and maintenance process, emergency dispatch plans can also be formulated for special events such as sudden weather and traffic accidents. According to the predicted passenger flow and the degree of impact of special events, the train departure frequency and timetable are adjusted in time to ensure the safety and convenience of passengers. Through the long-term accumulated passenger flow data, the seasonality and long-term trends of passenger flow changes are analyzed to further optimize the dispatching strategy. According to the passenger flow characteristics in different time periods, the departure interval can be adjusted and the operation plan can be optimized to improve transportation efficiency and service quality.
[0083] Specifically, visual reports can be designed based on real-time passenger flow data, multiple real-time related data and the rail transit scheduling strategy. Data visualization tools (such as Tableau, Power BI, Matplotlib, etc.) can be used to create visualization elements such as charts, maps, and dashboards to present real-time passenger flow data, train operation status, equipment status and other information. These visual reports can include real-time data updates, trend analysis, key indicator monitoring and other content. Based on the generated visual reports, rail transit operation and maintenance personnel can implement relevant decisions, such as adjusting train departure intervals, increasing temporary train schedules, and allocating human resources. At the same time, visual reports can also be used to monitor equipment status and passenger flow, detect anomalies in a timely manner, and take corresponding emergency measures. In the actual operation process, the rail transit scheduling strategy can be continuously optimized, transportation efficiency can be improved, and passenger travel experience can be optimized based on the feedback effect of the visual report and the operation and maintenance work.
[0084] In this embodiment, by acquiring the first data and multiple second data in the process of rail transit operation and maintenance; mining the association relationship between the first data and the multiple second data, determining multiple historical associated data associated with the first data in the multiple second data, and performing data association analysis to obtain the correlation between the first data and the multiple historical associated data; training a multimodal model based on the first data, multiple historical associated data and the correlation; calculating the predicted passenger flow value of the target station through the passenger flow prediction model obtained through training; and performing rail transit operation and maintenance work at the target station based on the predicted passenger flow value of the target station. This method mines the factors affecting the passenger flow of the target station through association mining and association analysis, and combines the multimodal model to predict the passenger flow, which can help the operation and maintenance personnel to grasp the passenger flow situation of the target station and make corresponding operation and maintenance decisions.
[0085] The rail transit operation and maintenance method in the embodiment of the present invention is described above. The rail transit operation and maintenance device in the embodiment of the present invention is described below. Figure 2 In one embodiment of the present invention, a rail transit operation and maintenance device includes:
[0086] The parsing module 201 is used to obtain a variety of data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and multiple second data, the first data at least includes the historical passenger flow data of the target station, and the second data is multiple types of data collected by the rail transit operation and maintenance;
[0087] The association mining module 202 is used to mine the association relationship between the first data and the multiple second data, determine multiple historical association data associated with the first data in the multiple second data, and perform data association analysis on the first data and the multiple historical association data to obtain the association degree between the first data and the multiple historical association data;
[0088] A model training module 203, configured to perform multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model for the target station;
[0089] The prediction module 204 is used to obtain the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at the preset scheduling time;
[0090] The operation and maintenance module 205 is used to perform rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station.
[0091] In an embodiment of the present invention, the rail transit operation and maintenance device runs the above-mentioned rail transit operation and maintenance method, and the rail transit operation and maintenance device obtains the first data and multiple second data in the rail transit operation and maintenance process; performs association relationship mining on the first data and multiple second data, determines multiple historical associated data associated with the first data in the multiple second data, and performs data association analysis to obtain the correlation between the first data and the multiple historical associated data; performs multimodal model training based on the first data, multiple historical associated data and the correlation; calculates the predicted passenger flow value of the target station through the passenger flow prediction model obtained through training; and performs rail transit operation and maintenance work at the target station according to the predicted passenger flow value of the target station. This method mines the factors affecting the passenger flow of the target station through association mining and association analysis, and performs passenger flow prediction in combination with the multimodal model, which can help operation and maintenance personnel grasp the passenger flow situation of the target station and make corresponding operation and maintenance decisions.
[0092] See also Figure 3 The second embodiment of the rail transit operation and maintenance device in the embodiment of the present invention includes:
[0093] The parsing module 201 is used to obtain a variety of data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and multiple second data, the first data at least includes the historical passenger flow data of the target station, and the second data is multiple types of data collected by the rail transit operation and maintenance;
[0094] The association mining module 202 is used to mine the association relationship between the first data and the multiple second data, determine multiple historical association data associated with the first data in the multiple second data, and perform data association analysis on the first data and the multiple historical association data to obtain the association degree between the first data and the multiple historical association data;
[0095] A model training module 203, configured to perform multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model for the target station;
[0096] The prediction module 204 is used to obtain the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at the preset scheduling time;
[0097] The operation and maintenance module 205 is used to perform rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station.
[0098] In one embodiment of the present invention, the association mining module 202 is specifically used for:
[0099] Determine a plurality of frequent sets between the first data and the plurality of second data according to a preset mining algorithm, and calculate support and confidence corresponding to the plurality of frequent sets;
[0100] Determining a plurality of historical associated data associated with the first data in the plurality of second data based on the support and confidence of the plurality of frequent sets;
[0101] Data association analysis is performed on the first data and the plurality of historical association data to obtain a degree of association between the first data and the plurality of historical association data.
[0102] In one embodiment of the present invention, the model training module 203 includes:
[0103] A time division unit 2031 is used to divide the first data into input data and result data based on the preset scheduling time, wherein the input data includes traffic flow data corresponding to a plurality of traffic nodes in the rail transit network where the target station is located when they are not scheduled, and the result data includes traffic flow data corresponding to when the target station needs to be scheduled;
[0104] A graph generation unit 2032, configured to generate a graph structure based on the plurality of traffic nodes and the connection relationship between the traffic nodes, and to generate a spatiotemporal graph according to the time step of the traffic flow data and the graph structure;
[0105] A sequence generation unit 2033, used to generate an adjacency matrix according to the space-time graph, and generate a historical time series based on the input data of each time step;
[0106] The multimodal training unit 2034 is used to perform multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain a traffic flow prediction model corresponding to the target station.
[0107] In one embodiment of the present invention, the sequence generation unit 2033 is specifically used to:
[0108] Generate a first adjacency matrix according to the space-time graph, and obtain connection distances between connection relationships of each traffic node;
[0109] Adjusting the first adjacency matrix according to the connection distance to obtain a second adjacency matrix, and using the second adjacency matrix as the adjacency matrix corresponding to the space-time graph;
[0110] Dividing the traffic flow data of the plurality of traffic nodes according to the cycle type of the time step to obtain time step flow data corresponding to the plurality of cycle types;
[0111] The time step flow data corresponding to the multiple period types are fused to obtain a historical time series.
[0112] In one embodiment of the present invention, the multi-mode training unit 2034 is specifically used for:
[0113] Preprocessing the historical time series, the adjacency matrix, and the plurality of historical association data, and inputting the preprocessed historical time series, the adjacency matrix, the plurality of historical association data, and the association degree into a preset initial model, wherein the initial model includes a feature extraction part and a traffic prediction part;
[0114] Performing spatial feature extraction on the preprocessed adjacency matrix through the feature extraction part of the initial model to obtain spatial feature information, and performing data feature extraction on the multiple historical association data to obtain multiple data feature information;
[0115] Inputting the spatial feature information and the preprocessed historical time series into the gated recurrent unit of the traffic series prediction part to obtain an output result;
[0116] Calculate the attention weight vectors corresponding to the plurality of data feature information by combining the association degree through a preset attention mechanism;
[0117] Perform weighted fusion on multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and input the fused feature vector to the classification layer to obtain a traffic prediction result;
[0118] Calculating a preset loss function value according to the traffic prediction result and the result data, and determining whether the loss function value is less than a preset loss threshold;
[0119] If not, adjusting the parameters of the initial model according to the loss function value, and returning to the step of inputting the preprocessed historical time series, the adjacency matrix, the plurality of historical association data and the association degree into the preset initial model until the loss function value is less than the preset loss threshold;
[0120] If so, the initial model is used as the traffic flow prediction model corresponding to the target station.
[0121] In one embodiment of the present invention, the multi-mode training unit 2034 is further configured to:
[0122] Mapping the fused feature vector linearly to a high-dimensional feature space through the classification layer to obtain a linear transformation result;
[0123] Performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result;
[0124] The traffic prediction result of the target station is calculated according to the nonlinear transformation result through the fully connected layer in the classification layer.
[0125] In one embodiment of the present invention, the operation and maintenance module 205 is specifically used to:
[0126] Formulate a rail transit dispatching strategy with a preset dispatching time according to the predicted passenger flow value of the target station;
[0127] Generate a visual report using the real-time passenger flow data, multiple real-time related data and the rail transit scheduling strategy;
[0128] The rail transit operation and maintenance work of the target station is performed based on the visual report.
[0129] Based on the previous embodiment, this embodiment describes in detail the specific functions of each module and the unit composition of some modules. Through the above modules and the units in the modules, the first data and multiple second data in the rail transit operation and maintenance process are obtained; the association relationship between the first data and the multiple second data is mined, and multiple historical associated data associated with the first data in the multiple second data are determined, and data association analysis is performed to obtain the correlation between the first data and the multiple historical associated data; multimodal model training is performed based on the first data, multiple historical associated data and the correlation; the predicted passenger flow value of the target station is calculated by the passenger flow prediction model obtained through training; and rail transit operation and maintenance work is performed at the target station according to the predicted passenger flow value of the target station. This method mines the factors affecting the passenger flow of the target station through association mining and association analysis, and combines the multimodal model to predict the passenger flow, which can help the operation and maintenance personnel to grasp the passenger flow situation of the target station and make corresponding operation and maintenance decisions.
[0130] above Figure 2 and Figure 3 The rail transit operation and maintenance device in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the rail transit operation and maintenance equipment in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0131] Figure 44 is a schematic diagram of the structure of a rail transit operation and maintenance device provided by an embodiment of the present invention. The rail transit operation and maintenance device 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 410 (for example, one or more processors) and a memory 420, and one or more storage media 430 (for example, one or more mass storage devices) storing application programs 433 or data 432. Among them, the memory 420 and the storage medium 430 can be short-term storage or permanent storage. The program stored in the storage medium 430 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the rail transit operation and maintenance device 400. Furthermore, the processor 410 can be configured to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the rail transit operation and maintenance device 400 to implement the steps of the above-mentioned rail transit operation and maintenance method.
[0132] The rail transit operation and maintenance equipment 400 may also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input and output interfaces 460, and / or one or more operating systems 431, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 4 The structure of the rail transit operation and maintenance equipment shown does not constitute a limitation on the rail transit operation and maintenance equipment provided by the present invention, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0133] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the rail transit operation and maintenance method.
[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.
[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0136] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A rail transit operation and maintenance method, characterized in that: The rail transit operation and maintenance method comprises: Acquire a variety of data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and multiple second data, the first data at least includes historical passenger flow data of the target station, and the second data is multiple types of data collected by the rail transit operation and maintenance; Performing association relationship mining on the first data and the plurality of second data to determine a plurality of historical associated data associated with the first data among the plurality of second data, and performing data association analysis on the first data and the plurality of historical associated data to obtain a degree of association between the first data and the plurality of historical associated data; Performing multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model for the target station; The multimodal model training based on the first data, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model of the target station includes: dividing the first data into input data and result data based on the preset scheduling time, wherein the input data includes the traffic flow data corresponding to multiple traffic nodes in the rail transit network where the target station is located when they are not scheduled, and the result data includes the traffic flow data corresponding to the target station when scheduling is required; generating a graph structure based on the multiple traffic nodes and the connection relationship between each traffic node, and generating a space-time graph according to the time step of the traffic flow data and the graph structure; generating an adjacency matrix according to the space-time graph, and generating a historical time series based on the input data of each time step; performing multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model corresponding to the target station; The generating of the adjacency matrix according to the space-time graph and the generating of the historical time series based on the input data of each time step includes: generating a first adjacency matrix according to the space-time graph and obtaining the connection distance between the connection relations of each traffic node; adjusting the first adjacency matrix according to the connection distance to obtain a second adjacency matrix, and using the second adjacency matrix as the adjacency matrix corresponding to the space-time graph; dividing the traffic flow data of the multiple traffic nodes according to the cycle type of the time step to obtain the time step flow data corresponding to the multiple cycle types; fusing the time step flow data corresponding to the multiple cycle types to obtain the historical time series; The multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model corresponding to the target station includes: preprocessing the historical time series, the adjacency matrix and the multiple historical correlation data, and inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree into a preset initial model, wherein the initial model includes a feature extraction part and a flow prediction part; performing spatial feature extraction on the preprocessed adjacency matrix through the feature extraction part of the initial model to obtain spatial feature information, and performing data feature extraction on the preprocessed multiple historical correlation data to obtain multiple data feature information; inputting the spatial feature information and the preprocessed historical time series into the gated loop unit of the flow prediction part, Obtain an output result; calculate the attention weight vector corresponding to the multiple data feature information by combining the correlation through a preset attention mechanism; perform weighted fusion of the multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and input the fused feature vector to the classification layer to obtain a flow prediction result; calculate a preset loss function value according to the flow prediction result and the result data, and determine whether the loss function value is less than a preset loss threshold; if not, adjust the parameters of the initial model according to the loss function value, and return to the step of inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation into the preset initial model until the loss function value is less than the preset loss threshold; if so, use the initial model as the passenger flow prediction model corresponding to the target station; The step of weighting and fusing the plurality of data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and inputting the fused feature vector into the classification layer to obtain a flow prediction result comprises: linearly transforming and mapping the fused feature vector to a high-dimensional feature space through the classification layer to obtain a linear transformation result; performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result; and calculating the flow prediction result of the target station according to the nonlinear transformation result through the fully connected layer in the classification layer; Acquire the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at the preset scheduling time; According to the predicted passenger flow value of the target station, rail transit operation and maintenance work of the target station is carried out.
2. The rail transit operation and maintenance method according to claim 1, characterized in that: The performing of association mining on the first data and the plurality of second data to determine a plurality of historical association data associated with the first data in the plurality of second data includes: Determine a plurality of frequent sets between the first data and the plurality of second data according to a preset mining algorithm, and calculate support and confidence corresponding to the plurality of frequent sets; A plurality of historical associated data associated with the first data in the plurality of second data is determined based on the support and confidence of the plurality of frequent sets.
3. The rail transit operation and maintenance method according to claim 1, characterized in that: The rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station includes: Formulate a rail transit dispatching strategy with a preset dispatching time according to the predicted passenger flow value of the target station; Generate a visual report using the real-time passenger flow data, multiple real-time related data and the rail transit scheduling strategy; The rail transit operation and maintenance work of the target station is performed based on the visual report.
4. A rail transit operation and maintenance device, characterized in that: The rail transit operation and maintenance device comprises: A parsing module, used to obtain a variety of data information in the rail transit operation and maintenance process in the rail transit operation and maintenance distributed file system of the target station, wherein the various data information includes first data and multiple second data, the first data at least includes the historical passenger flow data of the target station, and the second data is multiple types of data collected by the rail transit operation and maintenance; an association mining module, configured to mine the association relationship between the first data and the plurality of second data, determine a plurality of historical association data associated with the first data among the plurality of second data, and perform data association analysis on the first data and the plurality of historical association data to obtain the degree of association between the first data and the plurality of historical association data; A model training module, used for performing multimodal model training based on the first data, the plurality of historical correlation data and the correlation degree to obtain a passenger flow prediction model of the target station; The multimodal model training based on the first data, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model of the target station includes: dividing the first data into input data and result data based on the preset scheduling time, wherein the input data includes the traffic flow data corresponding to multiple traffic nodes in the rail transit network where the target station is located when they are not scheduled, and the result data includes the traffic flow data corresponding to the target station when scheduling is required; generating a graph structure based on the multiple traffic nodes and the connection relationship between each traffic node, and generating a space-time graph according to the time step of the traffic flow data and the graph structure; generating an adjacency matrix according to the space-time graph, and generating a historical time series based on the input data of each time step; performing multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model corresponding to the target station; The generating of the adjacency matrix according to the space-time graph and the generating of the historical time series based on the input data of each time step includes: generating a first adjacency matrix according to the space-time graph and obtaining the connection distance between the connection relations of each traffic node; adjusting the first adjacency matrix according to the connection distance to obtain a second adjacency matrix, and using the second adjacency matrix as the adjacency matrix corresponding to the space-time graph; dividing the traffic flow data of the multiple traffic nodes according to the cycle type of the time step to obtain the time step flow data corresponding to the multiple cycle types; fusing the time step flow data corresponding to the multiple cycle types to obtain the historical time series; The multimodal model training based on the historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree to obtain the passenger flow prediction model corresponding to the target station includes: preprocessing the historical time series, the adjacency matrix and the multiple historical correlation data, and inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation degree into a preset initial model, wherein the initial model includes a feature extraction part and a flow prediction part; performing spatial feature extraction on the preprocessed adjacency matrix through the feature extraction part of the initial model to obtain spatial feature information, and performing data feature extraction on the preprocessed multiple historical correlation data to obtain multiple data feature information; inputting the spatial feature information and the preprocessed historical time series into the gated loop unit of the flow prediction part, Obtain an output result; calculate the attention weight vector corresponding to the multiple data feature information by combining the correlation through a preset attention mechanism; perform weighted fusion of the multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and input the fused feature vector to the classification layer to obtain a flow prediction result; calculate a preset loss function value according to the flow prediction result and the result data, and determine whether the loss function value is less than a preset loss threshold; if not, adjust the parameters of the initial model according to the loss function value, and return to the step of inputting the preprocessed historical time series, the adjacency matrix, the multiple historical correlation data and the correlation into the preset initial model until the loss function value is less than the preset loss threshold; if so, use the initial model as the passenger flow prediction model corresponding to the target station; The step of weighting and fusing the plurality of data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and inputting the fused feature vector into the classification layer to obtain a flow prediction result comprises: linearly transforming and mapping the fused feature vector to a high-dimensional feature space through the classification layer to obtain a linear transformation result; performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result; and calculating the flow prediction result of the target station according to the nonlinear transformation result through the fully connected layer in the classification layer; A prediction module, used to obtain the real-time passenger flow data of the target station and multiple real-time associated data of the real-time passenger flow data, and input the real-time passenger flow data and the multiple real-time associated data into the passenger flow prediction model to obtain the predicted passenger flow value of the target station at a preset scheduling time; The operation and maintenance module is used to carry out rail transit operation and maintenance work of the target station according to the predicted passenger flow value of the target station.
5. A rail transit operation and maintenance equipment, characterized in that: The rail transit operation and maintenance equipment comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory so that the rail transit operation and maintenance equipment executes the steps of the rail transit operation and maintenance method as described in any one of claims 1-3.
6. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the rail transit operation and maintenance method as described in any one of claims 1 to 3 are implemented.
