Comprehensive management method and system for subway station, computer equipment and readable storage medium
By constructing a prediction model, predicting the distribution of passenger flow and passenger flow density at subway stations and adjusting operation strategies, the problem of passenger stranding and congestion during peak periods of subway stations is solved, and more efficient passenger flow management is achieved.
Patent Information
- Application Number
- CN202411493932.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2025-02-25
AI Technical Summary
The subway station has a large passenger flow during peak hours, resulting in congestion in passengers. The measures taken by the existing technology are lagging behind, affecting passengers' travel.
By obtaining the historical and real-time data of the subway station, pre-processing and feature extraction, building a prediction model, predicting the distribution of passenger flow and passenger flow density, and adjusting the operation strategy based on the prediction results.
It is possible to take measures before passengers are stranded and congested, which is forward-looking, avoid congestion in subway stations and reduce the adverse impact on passengers' travel.
Smart Images

Figure CN119515293A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of traffic management, and in particular to a subway station comprehensive management method, system, computer equipment and readable storage medium. Background Art
[0002] With the development of technology, subways have become the preferred means of transportation for citizens in more and more cities. However, due to rush hours and other reasons, subway stations often have a large passenger flow during certain time periods, resulting in passenger congestion in subway stations. In response to the above situation, the current approach is to take some measures to adjust the operation strategy only after there is a large passenger flow at the subway station, causing passenger congestion. However, the above approach has serious lags and will still have a significant adverse impact on passenger travel. Summary of the invention
[0003] Based on this, it is necessary to provide a subway station comprehensive management method, system, computer equipment and readable storage medium to address the above technical issues.
[0004] In a first aspect, the present invention provides a subway station integrated management method, the subway station integrated management method comprising:
[0005] Acquire historical data of the subway station, the historical data including historical passenger flow, historical passenger entry and exit data, and historical environmental data;
[0006] Preprocessing the historical data, and extracting features from the preprocessed historical data to obtain historical features;
[0007] Selecting an initial prediction model, and training and validating the initial prediction model based on the historical features to obtain a prediction model;
[0008] Acquire real-time data of subway stations, including real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data;
[0009] Preprocessing the real-time data, and extracting features from the preprocessed real-time data to obtain real-time features;
[0010] Inputting the real-time features into the prediction model for prediction to obtain prediction results, wherein the prediction results include the passenger flow and passenger flow density distribution of the subway station;
[0011] The operation strategy is adjusted based on the prediction results.
[0012] Optionally, the operation strategy is adjusted based on the prediction result, including: adjusting the train interval time, adjusting the running direction of the escalator, adjusting the number of entry gates, the number of exit gates and the number of staff.
[0013] Optionally, the historical passenger flow and the real-time passenger flow are obtained based on a monitoring system; and the historical passenger entry and exit data and the real-time passenger entry and exit data are obtained based on a passenger information system.
[0014] Optionally, after adjusting the operation strategy based on the prediction result, it also includes: generating operation strategy notification information, and broadcasting the operation strategy notification information in the form of an in-station broadcast, or pushing the operation strategy notification information to historical passengers in the form of text messages.
[0015] Optionally, the subway management method further includes:
[0016] Obtain passenger flow density distribution information in the train that is about to enter the station;
[0017] The passenger flow density distribution information and the arrival time of the train that is about to enter the station are displayed in the subway station.
[0018] In a second aspect, the present invention further provides a subway station integrated management system, the subway station integrated management system comprising:
[0019] A data acquisition module is used to acquire historical data and real-time data of a subway station; the historical data includes historical passenger flow, historical passenger entry and exit data, and historical environmental data; the real-time data includes real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data;
[0020] A preprocessing module, used to preprocess the historical data and the real-time data, and perform feature extraction on the preprocessed historical data to obtain historical features, and perform feature extraction on the preprocessed real-time data to obtain real-time features;
[0021] A prediction model building module, used to select an initial prediction model, and train and verify the initial prediction model based on the historical features to obtain a prediction model; the prediction model is also used to make predictions based on the real-time features to obtain prediction results, and the prediction results include the passenger flow and passenger flow distribution of the subway station;
[0022] An operation strategy adjustment module is used to adjust the operation strategy based on the prediction result.
[0023] Optionally, the subway station integrated management system also includes: an operation strategy push module, which is used to generate operation strategy notification information, and push the operation strategy notification information to the station broadcast for broadcast, or push the operation strategy notification information to historical passengers in the form of text messages.
[0024] Optionally, the data acquisition module is also used to obtain passenger flow density distribution information in the train that is about to enter the station; the subway station comprehensive management system also includes: a display module, which is used to display the passenger flow density distribution information and the arrival time of the train that is about to enter the station.
[0025] In a third aspect, the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the subway station comprehensive management method as described in the first aspect when executing the computer program.
[0026] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the subway station comprehensive management method as described in the first aspect are implemented.
[0027] The above-mentioned subway station comprehensive management method, system, computer device and readable storage medium of the present invention construct a prediction model, and predict the passenger flow and passenger flow density distribution in the subway station based on the prediction model, and adjust the operation strategy according to the prediction results; the above-mentioned method can collect measures before causing passenger congestion in the subway station, has strong foresight, can avoid passenger congestion in the subway station, thereby reducing the adverse impact on passenger travel. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A schematic flow chart of a comprehensive management method for a subway station is provided in one embodiment of the present invention.
[0029] Figure 2 It is a structural block diagram of a subway station integrated management system provided in another embodiment of the present invention.
[0030] Figure 3 This is a diagram of the internal structure of a computer device provided in yet another embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0032] In one embodiment, see Figure 1The present invention provides a subway station comprehensive management method, and the subway station comprehensive management method includes: S10~S70.
[0033] S10: Acquire historical data of the subway station, where the historical data includes historical passenger flow, historical passenger entry and exit data, and historical environmental data.
[0034] S20: Preprocessing the historical data, and extracting features from the preprocessed historical data to obtain historical features.
[0035] S30: Select an initial prediction model, and train and verify the initial prediction model based on the historical characteristics to obtain a prediction model.
[0036] S40: Acquire real-time data of the subway station, where the real-time data includes real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data.
[0037] S50: preprocessing the real-time data, and extracting features from the preprocessed real-time data to obtain real-time features.
[0038] S60: Inputting the real-time features into the prediction model for prediction to obtain prediction results, wherein the prediction results include the passenger flow and passenger flow density distribution of the subway station.
[0039] S70: Adjusting the operation strategy based on the prediction result.
[0040] In the subway comprehensive management method of the present invention, a prediction model is constructed, and the passenger flow and passenger flow density distribution in the subway station are predicted based on the prediction model, and the operation strategy is adjusted according to the prediction results; the above method can collect measures before passengers are stranded and congested in the subway station, has strong foresight, can avoid passenger stranded and congested in the subway station, thereby reducing the adverse impact on passenger travel.
[0041] In step S10, refer to Figure 1 In step S10, historical data of the subway station is obtained, where the historical data includes historical passenger flow, historical passenger entry and exit data, and historical environmental data.
[0042] As an example, the historical passenger flow and the real-time passenger flow can be obtained based on a monitoring system, but is not limited to; the historical passenger entry and exit data and the real-time passenger entry and exit data can be obtained based on a passenger information system, but is not limited to; the historical environmental data can be obtained based on a weather forecast system, but is not limited to.
[0043] Specifically, the monitoring system can obtain the historical passenger flow and the real-time passenger flow by acquiring monitoring images or monitoring data in the subway station. The passenger information system can obtain the historical passenger entry and exit data and the real-time passenger entry and exit data through the passenger card entry and exit data. In addition to passenger flow and entry and exit data, weather will also affect the passenger flow of the subway station. By considering the weather as environmental data, subsequent predictions can be made more accurate.
[0044] In step S20, refer to Figure 1 In step S20, the historical data is preprocessed, and feature extraction is performed on the preprocessed historical data to obtain historical features.
[0045] As an example, preprocessing the historical data may include: cleaning the historical data to identify and remove noise and outliers in the historical data; filling missing values in the cleaned historical data; specifically, the missing values may be filled using the mean, median or mode; and standardizing and normalizing the filled historical data to facilitate subsequent processing.
[0046] As an example, the historical feature may be a multi-dimensional feature, and the historical feature may reflect relevant information such as historical passenger flow, historical passenger entry and exit data, and historical environmental data.
[0047] In step S30, refer to Figure 1 In step S30, an initial prediction model is selected, and the initial prediction model is trained and verified based on the historical features to obtain a prediction model.
[0048] As an example, the initial prediction model may include but is not limited to a Long Short-Term Memory (LSTM) model.
[0049] As an example, the mean square error or root mean square error may be used as a loss function to verify the trained initial prediction model to obtain the prediction model.
[0050] As an example, in step S40, see Figure 1 In step S40, real-time data of the subway station is obtained, and the real-time data includes real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data.
[0051] As an example, the way and method of obtaining the real-time data may refer to the way and method of obtaining the historical data in step S10, which will not be repeated here.
[0052] In step S50, refer to Figure 1In step S50, the real-time data is preprocessed, and feature extraction is performed on the preprocessed real-time data to obtain real-time features.
[0053] As an example, the real-time data preprocessing method can refer to the historical data preprocessing method in step S20, which is not repeated here. The feature extraction method of the preprocessed real-time data can also refer to the historical data feature extraction method in step S20, which is not repeated here.
[0054] In step S60, refer to Figure 1 In step S60, the real-time features are input into the prediction model for prediction to obtain a prediction result, which includes the passenger flow and passenger flow density distribution of the subway station.
[0055] As an example, the prediction model can predict the passenger flow and passenger flow density distribution in the subway station in the future based on the real-time characteristics, so as to provide a basis for the subsequent adjustment of the operation strategy.
[0056] In step S70, refer to Figure 1 In step S70, the operation strategy is adjusted based on the prediction result.
[0057] As an example, the operation strategy is adjusted based on the prediction result, including: adjusting the train interval time, adjusting the running direction of the escalator, adjusting the number of entry gates, the number of exit gates and the number of staff.
[0058] Specifically, when the prediction results show that passengers will be stranded and congested in the subway station, the following measures can be taken to deal with the congestion: shortening the train interval (i.e. increasing the number of trains), adjusting and increasing the number of downward trains running to the platform, reducing the number of entry gates (especially the number of entry gates at entrances with high passenger density, and even closing all entry gates at such entrances), and increasing the number of staff to deal with the congestion.
[0059] As an example, after step S70, that is, after adjusting the operation strategy based on the prediction result, it also includes: generating operation strategy notification information, and broadcasting the operation strategy notification information in the form of a station broadcast, or pushing the operation strategy notification information to historical passengers in the form of a text message. By generating and pushing or broadcasting the operation strategy notification information, passengers who have not entered the station can be informed of the adjustment of the operation strategy in a timely manner, which can facilitate passengers to adjust their travel methods in advance.
[0060] As an example, the subway management method may also include the following steps: obtaining passenger flow density distribution information in the train that is about to arrive; displaying the passenger flow density distribution information and the arrival time of the train that is about to arrive in the subway station. By obtaining and displaying the passenger flow density distribution information in the train that is about to arrive in the subway station, it is convenient for passengers waiting to board the train on the platform to know in advance the passenger flow density distribution of each car in the train that is about to arrive, and they can go to the car with less passenger flow density in advance to wait for boarding as needed, avoiding crowding or even being unable to board the train due to crowding.
[0061] In another embodiment, see Figure 2 The present invention also provides a subway station integrated management system, which may include: a data acquisition module 10, a preprocessing module 20, a prediction model construction module 30 and an operation strategy adjustment module 40; wherein the data acquisition module 10 is used to acquire historical data and real-time data of the subway station; the historical data includes historical passenger flow, historical passenger entry and exit data and historical environmental data; the real-time data includes real-time passenger flow, real-time passenger entry and exit data and real-time environmental data; the preprocessing module 20 is used to preprocess the historical data and the real-time data, and perform feature extraction on the preprocessed historical data to obtain historical features, and perform feature extraction on the preprocessed real-time data to obtain real-time features; the prediction model construction module 30 is used to select an initial prediction model, and train and verify the initial prediction model based on the historical features to obtain a prediction model; the prediction model is also used to predict based on the real-time features to obtain a prediction result, and the prediction result includes the passenger flow and crowd distribution of the subway station; the operation strategy adjustment module 40 is used to adjust the operation strategy based on the prediction result.
[0062] As an example, the data acquisition module 10 may include a monitoring system (not shown), a passenger information system (not shown) and a weather forecast system (not shown); the monitoring system is used to obtain the historical passenger flow and the real-time passenger flow; the passenger information system is used to obtain the historical passenger entry and exit data and the real-time passenger entry and exit data; the weather forecast system is used to obtain the historical environmental data.
[0063] As an example, see Figure 2The subway station integrated management system may further include: an operation strategy push module 50, which is used to generate operation strategy notification information, and push the operation strategy notification information to the station broadcast for broadcasting, or push the operation strategy notification information to historical passengers in the form of text messages. By setting the operation strategy push module 50 to generate and push or broadcast the operation strategy notification information, passengers who have not entered the station can be informed of the adjustment of the operation strategy in a timely manner, which can facilitate passengers to adjust their travel methods in advance.
[0064] As an example, see Figure 2 , the data acquisition module 10 is also used to acquire the passenger flow density distribution information in the train that is about to arrive at the station; the subway station integrated management system may also include: a display module 60, the display module 60 is used to display the passenger flow density distribution information and the arrival time of the train that is about to arrive at the station. By acquiring and displaying the passenger flow density distribution information in the train that is about to arrive at the station in the subway station through the display module 60, it is convenient for passengers waiting to board the train on the platform to know in advance the passenger flow density distribution of each car in the train that is about to arrive at the station, and they can go to the car with less passenger flow density in advance to wait for boarding as needed, so as to avoid crowding or even being unable to board the train due to crowding.
[0065] For the specific definition of the subway station integrated management system, please refer to the definition of the subway station integrated management method above, which will not be repeated here. Each module in the above subway station integrated management system can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0066] In another embodiment, the present invention further provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store historical data, real-time data and other data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it is implemented as follows Figure 1 And the comprehensive management method of subway stations provided in the corresponding embodiments.
[0067] In another embodiment, the present invention further provides a computer device, which may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it is implemented as follows Figure 1 The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse.
[0068] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0069] In another embodiment of the present invention, the present invention further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following is implemented: Figure 1 And the comprehensive management method of subway stations provided in the corresponding embodiments.
[0070] In another embodiment, the present invention further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following is achieved: Figure 1 And the comprehensive management method of subway stations provided in the corresponding embodiments.
[0071] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods 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 memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0072] The technical features of the above embodiments may be combined arbitrarily. 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.
[0073] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A comprehensive management method for subway stations, characterized in that: The subway station comprehensive management method comprises: Acquire historical data of the subway station, the historical data including historical passenger flow, historical passenger entry and exit data, and historical environmental data; Preprocessing the historical data, and extracting features from the preprocessed historical data to obtain historical features; Selecting an initial prediction model, and training and validating the initial prediction model based on the historical features to obtain a prediction model; Acquire real-time data of subway stations, including real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data; Preprocessing the real-time data, and extracting features from the preprocessed real-time data to obtain real-time features; Inputting the real-time features into the prediction model for prediction to obtain prediction results, wherein the prediction results include the passenger flow and passenger flow density distribution of the subway station; The operation strategy is adjusted based on the prediction results.
2. The comprehensive management method for subway stations according to claim 1, characterized in that: The adjustment of the operation strategy based on the prediction result includes: adjusting the train interval time, adjusting the running direction of the escalator, adjusting the number of entry gates, the number of exit gates and the number of staff.
3. The comprehensive management method for subway stations according to claim 1, characterized in that: The historical passenger flow and the real-time passenger flow are obtained based on a monitoring system; the historical passenger entry and exit data and the real-time passenger entry and exit data are obtained based on a passenger information system.
4. The comprehensive management method for subway stations according to claim 1, characterized in that: After adjusting the operation strategy based on the prediction result, it also includes: generating operation strategy notification information, and broadcasting the operation strategy notification information in the form of an in-station broadcast, or pushing the operation strategy notification information to historical passengers in the form of a text message.
5. The comprehensive management method for subway stations according to claim 1, characterized in that: The subway management method also includes: Obtain passenger flow density distribution information in the train that is about to enter the station; The passenger flow density distribution information and the arrival time of the train that is about to enter the station are displayed in the subway station.
6. A subway station integrated management system, characterized in that: The subway station integrated management system comprises: A data acquisition module is used to acquire historical data and real-time data of a subway station; the historical data includes historical passenger flow, historical passenger entry and exit data, and historical environmental data; the real-time data includes real-time passenger flow, real-time passenger entry and exit data, and real-time environmental data; A preprocessing module, used for preprocessing the historical data and the real-time data, and extracting features from the preprocessed historical data to obtain historical features, and extracting features from the preprocessed real-time data to obtain real-time features; A prediction model building module, used to select an initial prediction model, and train and verify the initial prediction model based on the historical features to obtain a prediction model; the prediction model is also used to make predictions based on the real-time features to obtain prediction results, and the prediction results include the passenger flow and crowd distribution of the subway station; An operation strategy adjustment module is used to adjust the operation strategy based on the prediction result.
7. The subway station integrated management system according to claim 6, characterized in that: The subway station integrated management system also includes: an operation strategy push module, which is used to generate operation strategy notification information, and push the operation strategy notification information to the station broadcast for broadcasting, or push the operation strategy notification information to historical passengers in the form of text messages.
8. The integrated management system for subway stations according to claim 6, characterized in that: The data acquisition module is also used to obtain the passenger flow density distribution information in the train that is about to enter the station; the subway station comprehensive management system also includes: a display module, which is used to display the passenger flow density distribution information and the arrival time of the train that is about to enter the station.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. 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 the method according to any one of claims 1 to 5 are implemented.
Citation Information
Cited By
Park access control management method and system, computer equipment and storage medium
CN120412136A