A ride planning method, device and storage medium
By obtaining and calculating the load information of subway cars, and using BP neural network and evidence fusion theory to optimize predictions, the problem of low passenger comfort caused by load differences in subway cars is solved and the passenger travel experience is improved.
Patent Information
- Application Number
- CN202210290629.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-03-23
AI Technical Summary
The load of subway carriages varies greatly, resulting in low comfort for passengers in carriages with larger carriage loads, which reduces the passengers' travel experience.
By obtaining the operation information and riding information of the target train, calculate and output the carriage load information, users can plan the ride based on this information, select a comfortable carriage, use the BP neural network model to predict the number of people in the future carriage, and optimize the prediction based on evidence fusion theory result.
It effectively solves the problem of low passenger comfort caused by the difference in carriage load, improves passengers' travel experience, and enables passengers to plan their rides while waiting and make car replacement decisions during the ride.
Smart Images

Figure CN114638422B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a ride planning method, device and storage medium. Background Art
[0002] As the scale of the subway network continues to expand, the accessibility and convenience of the subway continues to improve, and the subway passenger flow is also increasing day by day.
[0003] However, as passenger flow increases, the loads (i.e. the number of passengers) of different subway cars vary greatly, which results in lower comfort for passengers in cars with larger loads, reducing passengers' travel experience and being detrimental to promoting subway travel. Summary of the invention
[0004] The present application provides a ride planning method, device and storage medium, which are used to solve the problem of large differences in carriage loads, low comfort of passengers in carriages with large loads, and low travel experience for passengers.
[0005] In order to achieve the above objectives, this application adopts the following technical solutions:
[0006] In the first aspect, a ride planning method is provided, comprising: obtaining planning parameter information corresponding to the location information of the target terminal. In response to the location information indicating that the target terminal is located in the waiting area of the target train, the planning parameter information includes: the first operation information corresponding to the waiting station of the target train in the current train and the first ride information corresponding to the waiting station. In this case, the first carriage load information of the target train can be determined and output according to the first operation information and the first ride information. Among them, the first carriage load information is used for the ride planning of the waiting area of the target train. In response to the location information indicating that the target terminal is located in the carriage of the target train, the planning parameter information includes: the user information of the target terminal, the second operation information corresponding to the target train in the current train and all passing stations, and the second ride information corresponding to all passing stations. In this case, the second carriage load information of the target train can be determined and output according to the user information, the second operation information and the second ride information. Among them, the second carriage load information is used for the ride planning in the carriage of the target train.
[0007] Optionally, the first carriage load information includes the number of passengers in each carriage at the departure time at the waiting station; the first operation information includes: the departure time of the target train at the waiting station; the first passenger information includes: the number of passengers in each carriage at the arrival time at the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station and the historical number of passengers getting on each carriage at the waiting station; in response to the location information indicating that the target terminal is located in the waiting area of the target train, according to the first operation information and the first passenger information, it is determined The method for determining the first car load information of the target train specifically includes: determining the number of passengers boarding each car at the waiting station according to the departure time of the target train at the waiting station, the number of passengers waiting in each car at the waiting station at the current time, the historical number of passengers waiting in each car at the waiting station, the historical number of passengers boarding each car at the waiting station and a preset algorithm; determining the sum of the number of passengers boarding each car at the waiting station and the number of passengers at the arrival time of each car at the waiting station, and determining the difference between the sum and the number of passengers getting off each car at the waiting station as the number of passengers in each car at the departure time of the waiting station.
[0008] Optionally, the first car load also includes the car load status of each car at the departure time of the waiting station; in response to the first car load also including the car load status, the first operation information also includes: the car area of each car; after determining the car number of each car at the departure time of the waiting station according to the number of passengers getting on the car at the waiting station, the number of passengers arriving at the waiting station and the number of passengers getting off the car at the waiting station, the method also includes: determining the car critical number of passengers of the first car according to the car area of the first car, a preset comfort perception area and a preset environmental adjustment coefficient; the first car is any one of the cars; in response to the car number of passengers in the first car at the departure time of the waiting station being less than the car critical number of passengers, determining that the car load status of the first car is a comfortable status; in response to the car number of passengers in the first car at the departure time of the waiting station being greater than or equal to the car critical number of passengers, determining that the car load status of the first car is a crowded status.
[0009] Optionally, the method for determining the critical number of people in the first compartment according to the compartment area, the comfort perception area and the environmental adjustment coefficient of the first compartment specifically includes: calculating the per capita comfort area according to the comfort perception area and the environmental adjustment coefficient; the comfort perception area, the environmental adjustment coefficient and the per capita comfort area satisfy the following formula:
[0010] Te = Ts × β;
[0011] Among them, Te is the per capita comfort area; Ts is the comfort perception area; β is the environmental adjustment coefficient; according to the per capita comfort area and the compartment area of the first compartment, the critical number of people in the first compartment is calculated; the per capita comfort area, the compartment area of the first compartment and the critical number of people in the first compartment satisfy the following formula:
[0012] Mn=S÷Te;
[0013] Among them, Mn is the critical number of people in the first compartment; S is the compartment area of the first compartment.
[0014] Optionally, the method for outputting the first car load information of the target train specifically includes: sending the first car load information to a first output device; the first output device includes at least one of the output devices of the target terminal and the waiting station.
[0015] Optionally, the method further includes: determining the carriage to be transferred corresponding to the target terminal according to the load information of the first carriage, and sending the information of the carriage to be transferred to the first output device.
[0016] Optionally, the second car load information includes the number of passengers in the car of each station of the target train at the departure time of the next passing station; in response to the position information indicating that the target terminal is located in the car of the target train, the method for determining the second car load information of the target train according to the user information, the second operation information and the second passenger information specifically includes: obtaining prediction data corresponding to a pre-trained back propagation (BP) neural network model according to the second operation information and the second passenger information; predicting the number of passengers in the car of each station of the target train at the departure time of the next passing station according to the user information, the prediction data and the BP neural network model, and obtaining a prediction result corresponding to the target terminal; correcting the prediction result based on the evidence fusion theory, and determining the corrected prediction result as the number of passengers in the car of each station of the target train at the departure time of the next passing station.
[0017] Optionally, the method also includes: obtaining training data of the BP neural network model; the training data includes: user information corresponding to multiple terminals, the third operation information and the third riding information of the target train in historical schedules; and training the BP neural network model based on the training data and the BP algorithm.
[0018] Optionally, the prediction data includes: the number of people waiting in each carriage at the next passing station at the current moment; the second operation information includes: the departure time of the target train at the next passing station; the second passenger information includes: the number of people waiting in each carriage at the next passing station at the current moment, the historical number of people waiting in each carriage at the next passing station and the historical number of people on board each carriage at the next passing station; the method for obtaining prediction data corresponding to the pre-trained back-propagation BP neural network model based on the second operation information and the second passenger information specifically includes: determining the number of people waiting in each carriage at the next passing station at the current moment according to the departure time of the target train at the next passing station, the number of people waiting in each carriage at the next passing station at the current moment, the historical number of people waiting in each carriage at the next passing station, the historical number of people on board each carriage at the next passing station and a preset algorithm.
[0019] Optionally, the preset algorithm satisfies the following formula:
[0020]
[0021] Where f(t) is the number of people waiting for each carriage at the predicted time; k is the ratio of the number of people who boarded each carriage at any station it passed to the number of people waiting for each carriage at the previous station; M is the number of people waiting for each carriage at any station it passed at the current time; t0 is the current time; t is the predicted time; T is the departure time of each carriage at any station it passed; σ 2 is the variance of the normal distribution; μ is the mathematical expectation of the normal distribution; in response to the predicted time being the departure time of each carriage at any passing station, the number of people waiting in each carriage at the predicted time is the number of people getting on board each carriage at any passing station; any passing station includes the waiting station and the next passing station.
[0022] Optionally, the method for outputting the second car load information of the target train specifically includes: sending the second car load information to a second output device; the second output device includes at least one of the target terminal and the output device in the car of the target train.
[0023] Optionally, the method further includes: determining the carriage to be transferred corresponding to the target terminal according to the second carriage load information, and sending the information of the carriage to be transferred to the second output device.
[0024] In a second aspect, a ride planning device is provided, comprising: an acquisition unit, a first processing unit and a second processing unit; the acquisition unit is used to acquire planning parameter information corresponding to the location information of the target terminal; in response to the location information used to indicate that the target terminal is located in the waiting area of the target train, the planning parameter information includes: first operation information corresponding to the waiting station of the target train in the current train and first ride information corresponding to the waiting station; in response to the location information used to indicate that the target terminal is located in the carriage of the target train, the planning parameter information includes: user information of the target terminal, second operation information corresponding to all passing stations of the target train in the current train and second ride information corresponding to all passing stations; the first processing unit is used to determine and output the first carriage load information of the target train according to the first operation information and the first ride information acquired by the acquisition unit in response to the location information used to indicate that the target terminal is located in the waiting area of the target train; the second processing unit is used to determine and output the second carriage load information of the target train according to the user information, the second operation information and the second ride information acquired by the acquisition unit in response to the location information used to indicate that the target terminal is located in the carriage of the target train.
[0025] Optionally, the first carriage load information includes the number of passengers in each carriage at the departure time at the waiting station; the first operation information includes: the departure time of the target train at the waiting station; the first passenger information includes: the number of passengers in each carriage at the arrival time at the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station and the historical number of passengers getting on each carriage at the waiting station; the first processing unit is specifically used to: The number of passengers getting on each carriage at the waiting station is determined based on the departure time of the train at the waiting station, the number of passengers waiting in each carriage at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers getting on each carriage at the waiting station and a preset algorithm; the sum of the number of passengers getting on each carriage at the waiting station and the number of passengers at the arrival time of each carriage at the waiting station is determined, and the difference between the sum and the number of passengers getting off each carriage at the waiting station is determined as the number of passengers in each carriage at the departure time of the waiting station.
[0026] Optionally, the first car load also includes the car load status of each car at the departure time of the waiting station; the first operation information also includes: the car area of each car; the first processing unit is specifically used to: determine the critical number of people in each car according to the car area, a preset comfort perception area and a preset environmental adjustment coefficient; in response to the number of people in each car at the departure time of the waiting station being less than the critical number of people in the car, determine that the car load status is a comfortable state; in response to the number of people in each car at the departure time of the waiting station being greater than or equal to the critical number of people in the car, determine that the car load status is a crowded state.
[0027] Optionally, the first processing unit is specifically used to: calculate the per capita comfort area according to the comfort perception area and the environmental adjustment coefficient; the comfort perception area, the environmental adjustment coefficient and the per capita comfort area satisfy the following formula:
[0028] Te = Ts × β;
[0029] Among them, Te is the per capita comfort area; Ts is the comfort perception area; β is the environmental adjustment coefficient; according to the per capita comfort area and the compartment area of the first compartment, the critical number of people in the first compartment is calculated; the per capita comfort area, the compartment area of the first compartment and the critical number of people in the first compartment satisfy the following formula:
[0030] Mn=S÷Te;
[0031] Among them, Mn is the critical number of people in the first compartment; S is the compartment area of the first compartment.
[0032] Optionally, the first processing unit is specifically used to: send the first carriage load information to a first output device; the first output device includes at least one of the output devices of the target terminal and the waiting station.
[0033] Optionally, the first processing unit is further used to: determine the carriage to be transferred corresponding to the target terminal according to the first carriage load information, and send the information of the carriage to be transferred to the first output device.
[0034] Optionally, the second car load information includes the number of passengers in the cars of each station of the target train at the departure time of the next passing station; the second processing unit is specifically used to: obtain prediction data corresponding to the pre-trained BP neural network model based on the second operation information and the second passenger information; predict the number of passengers in the cars of each station of the target train at the departure time of the next passing station based on the user information, the prediction data and the BP neural network model, and obtain the prediction result corresponding to the target terminal; correct the prediction result based on the evidence fusion theory, and determine the corrected prediction result as the number of passengers in the cars of each station of the target train at the departure time of the next passing station.
[0035] Optionally, the device also includes: a third processing unit; the third processing unit is specifically used to: obtain training data for training the BP neural network model; the training data includes: user information corresponding to multiple terminals, third operation information and third passenger information of the target train in historical schedules; according to the training data and the BP algorithm, the BP neural network model is trained.
[0036] Optionally, the predicted data includes: the number of people waiting in each carriage at the next passing station at the current moment; the second operation information includes: the departure time of the target train at the next passing station; the second riding information includes: the number of people waiting in each carriage at the next passing station at the current moment, the historical number of people waiting in each carriage at the next passing station and the historical number of people on board each carriage at the next passing station; the second processing unit is specifically used to determine the number of people waiting in each carriage at the next passing station at the current moment based on the departure time of the target train at the next passing station, the number of people waiting in each carriage at the next passing station at the current moment, the historical number of people waiting in each carriage at the next passing station, the historical number of people on board each carriage at the next passing station and a preset algorithm.
[0037] Optionally, the preset algorithm satisfies the following formula:
[0038]
[0039] Where f(t) is the number of people waiting for each carriage at the predicted time; k is the ratio of the number of people who boarded each carriage at any station it passed to the number of people waiting for each carriage at the previous station; M is the number of people waiting for each carriage at any station it passed at the current time; t0 is the current time; t is the predicted time; T is the departure time of each carriage at any station it passed; σ 2 is the variance of the normal distribution; μ is the mathematical expectation of the normal distribution; in response to the predicted time being the departure time of each carriage at any passing station, the number of people waiting in each carriage at the predicted time is the number of people getting on board each carriage at any passing station; any passing station includes the waiting station and the next passing station.
[0040] Optionally, the second processing unit is specifically used to: send second car load information to a second output device; the second output device includes at least one of the output devices in the target terminal and the car of the target train.
[0041] Optionally, the second processing unit is further used to: determine the carriage to be transferred corresponding to the target terminal according to the second carriage load information, and send the information of the carriage to be transferred to the second output device.
[0042] In the third aspect, a ride planning device is provided, comprising a memory and a processor; the memory is used to store computer execution instructions, and the processor and the memory are connected via a bus; when the ride planning device is running, the processor executes the computer execution instructions stored in the memory, so that the ride planning device executes the ride planning method described in the first aspect.
[0043] The ride planning device may be a network device, or a part of a network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, such as obtaining, determining, and sending the data and / or information involved in the above-mentioned ride planning method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
[0044] In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, and when the computer execution instructions are run on a computer, the computer executes the ride planning method described in the first aspect.
[0045] In a fifth aspect, a computer program product is also provided, which includes computer instructions. When the computer instructions are executed on a ride planning device, the ride planning device executes the ride planning method as described in the first aspect above.
[0046] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the processor of the ride planning device, or may be packaged separately from the processor of the ride planning device, which is not limited in the present embodiment of the application.
[0047] The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0048] In the embodiments of the present application, the name of the above-mentioned ride planning device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.
[0049] These and other aspects of the present application will become more apparent from the following description.
[0050] The technical solution provided by this application brings at least the following beneficial effects:
[0051] Based on any of the above aspects, an embodiment of the present application provides a ride planning method that can obtain planning parameter information corresponding to the location information of the target terminal. Then, in response to the location information indicating that the target terminal is located in the waiting area of the target train, the first car load information of the target train can be determined and output according to the first operation information and the first ride information. In response to the location information indicating that the target terminal is located in the car of the target train, the second car load information of the target train can be determined and output according to the user information, the second operation information and the second ride information. In this way, the user holding the target terminal can realize the ride planning of the boarding car while waiting based on the first car load information, and can also realize the ride planning of changing cars during the ride based on the second car load information, which solves the problem of large differences in car loads in the prior art and improves the travel experience of passengers. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 A schematic diagram of the structure of a ride planning system provided in an embodiment of the present application;
[0053] Figure 2 A schematic diagram of the structure of a ride planning system provided in an embodiment of the present application;
[0054] Figure 3 A schematic diagram of the hardware structure of a ride planning device provided in an embodiment of the present application;
[0055] Figure 4 A schematic diagram of the hardware structure of another ride planning device provided in an embodiment of the present application;
[0056] Figure 5 A flowchart of a ride planning method provided in an embodiment of the present application;
[0057] Figure 6 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0058] Figure 7 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0059] Figure 8 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0060] Fig. 9 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0061] Fig.10 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0062] Fig.11A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0063] Fig.12 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0064] Fig.13 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0065] Fig.14 A flowchart of another method for planning a ride provided in an embodiment of the present application;
[0066] Fig.15 A schematic diagram of the structure of a ride planning device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0068] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0069] In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and order of execution.
[0070] In order to facilitate the understanding of the present application, the relevant elements involved in the present application are now described.
[0071] Back propagation (BP) neural network
[0072] BP neural network is a multi-layer feedforward network trained by error back propagation (abbreviated as error back propagation). Its algorithm is called BP algorithm. Its basic idea is gradient descent method, which uses gradient search technology to minimize the mean square error between the actual output value and the expected output value of the network.
[0073] The basic BP algorithm includes two processes: forward propagation of signals and back propagation of errors. That is, the calculation of error output is carried out from input to output, while the adjustment of weights and thresholds is carried out from output to input. During forward propagation, the input signal acts on the output node through the hidden layer, and after nonlinear transformation, an output signal is generated. If the actual output does not match the expected output, the error back propagation process is entered. Error back propagation is to propagate the output error through the hidden layer to the input layer layer by layer, and distribute the error to all units in each layer, and use the error signal obtained from each layer as the basis for adjusting the weights of each unit. By adjusting the connection strength between the input node and the hidden layer node, the connection strength between the hidden layer node and the output node, and the threshold, the error is reduced along the gradient direction. After repeated learning and training, the network parameters (weights and thresholds) corresponding to the minimum error are determined, and the training stops. At this time, the trained neural network can process the input information of similar samples and output the information with the minimum nonlinear transformation.
[0074] Since the process of training the BP neural network is time-consuming and each corresponding parameter and activation function needs to be selected during the training process, the acquired raw data is grouped into test data and training data. Among them, the training data is used to train the BP neural network to achieve the highest possible recognition rate. The test data is used to import the above-trained BP neural network. The input data is normalized and classified and recognized using the successfully trained BP neural network.
[0075] Dempster-Shafer Evidence Theory (DS Evidence Theory)
[0076] Based on the probability vector obtained by normalizing the output of the prediction model, that is, the basic probability vector that can be calculated by the DS evidence fusion theory, a suitable DS synthesis formula is selected. Then, the evidence source composed of the basic probability vector and subjective factors is synthesized.
[0077] Panoramic face recognition technology based on artificial intelligence (AI)
[0078] Based on the existing face privatization model, face detection, face comparison, face search, liveness detection, face recognition with masks and other functions are realized. A safe and complete face database is established to accurately locate multiple key points of the face, quickly identify a variety of face attribute information, support the management of face databases of tens of millions or more, and provide multiple interface capabilities such as face registration, update, deletion, user information query and full-level management interface for face visualization. It can achieve millisecond-level recognition response, support comparison of multiple faces in the face database, perform one-to-many or many-to-many retrieval, and return search results for predicting the user's arrival data. At the same time, it can perform face recognition on users wearing masks. By locating the key points of the user's face, accurately analyze their facial feature attributes and perform comparison and search services.
[0079] As described in the background art, the existing ride planning method has the problem that the carriage loads of different carriages of the subway vary greatly.
[0080] In response to the above problems, an embodiment of the present application provides a ride planning method, which can obtain planning parameter information corresponding to the location information of the target terminal. Then, in response to the location information indicating that the target terminal is located in the waiting area of the target train, the first car load information of the target train can be determined and output according to the first operation information and the first ride information. In response to the location information indicating that the target terminal is located in the car of the target train, the second car load information of the target train can be determined and output according to the user information, the second operation information and the second ride information. In this way, the user holding the target terminal can realize the ride planning of the boarding car while waiting based on the first car load information, and can also realize the ride planning of changing cars during the ride based on the second car load information, which solves the problem of low comfort of passengers in the car with large load due to large differences in car loads in the prior art, and improves the travel experience of passengers.
[0081] The ride planning method is applicable to a ride planning system. Figure 1 Figure 2 shows a structure of the ride planning system. Figure 1 As shown, the ride planning system includes: a target terminal 101, a ride planning device 102, a monitoring device 103 and an output device 104.
[0082] Among them, the ride planning device 102 is communicatively connected with the target terminal 101, the monitoring device 103, and the output device 104 respectively.
[0083] In practical applications, the ride planning device 102 can be connected to multiple terminals, multiple monitoring devices, and multiple output devices. For ease of understanding, this application takes the ride planning device 102 connected to one target terminal 101, one monitoring device 103, and one output device 104 as an example for explanation.
[0084] Optionally, the target terminal 101 may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connection function, or other processing device connected to a wireless modem. The wireless terminal may communicate with one or more core networks via a radio access network (RAN). The wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a radio access network, such as a mobile phone, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA).
[0085] Figure 1 The ride planning device 102 is used to determine the carriage load information based on the information obtained through the monitoring device 103, and send the carriage load information to the output device 104 for display.
[0086] Optionally, the ride planning device 102 can be a server in a server cluster (consisting of multiple servers), or a chip in the server, or a system on a chip in the server, or can be implemented by a virtual machine deployed on a physical machine, which is not limited in this embodiment of the present application.
[0087] Optional, Figure 1 The monitoring device 103 may include at least one of the monitoring devices in a station or a carriage.
[0088] In response to the monitoring device 103 being a monitoring device of the station, it can realize functions such as identifying the user identity information of the waiting area, detecting and broadcasting the number of people waiting at any time, etc. The monitoring device 103 can be a platform gate, a 360-degree surveillance camera deployed on the platform, etc., which is not limited in the embodiments of the present application.
[0089] In response to the monitoring device 103 being a monitoring device in the carriage, functions such as identifying the identity information of users in the carriage and detecting the number of people in the carriage at any time are realized. The monitoring device 103 can be a 360-degree monitoring camera deployed in the carriage, which is not limited in the embodiment of the present application.
[0090] Optionally, in response to the monitoring device 103 being a monitoring device inside the vehicle compartment, the monitoring device 103 may be deployed at the four corners of the vehicle compartment, which is not limited in the embodiment of the present application.
[0091] Figure 1 The output device 104 is used to periodically report the carriage load information determined by the ride planning device 102.
[0092] Optionally, the output device 104 may be a display device or a broadcasting device in a station or a carriage that is deployed independently from the target terminal 101, or may be the target terminal 101, which is not limited in this embodiment of the present application.
[0093] For ease of understanding, the present application is described by taking the output device 104 as a display device or broadcasting device in a station or carriage that is independently deployed from the target terminal 101 as an example.
[0094] Combination Figure 1 ,like Figure 2 As shown, the functional modules of the ride planning device 102 include: an information processing module 201 , a communication module 202 , and an information storage module 203 .
[0095] The information processing module 201 is used to perform face recognition on the original image information obtained by the monitoring device 103 based on AI panoramic face recognition technology, and is also used for user-level behavior profiling and determining car load information.
[0096] Optionally, the information processing module 201 may also perform user-level behavior profiling based on relevant information including user tracks pre-stored by the information storage module 203 .
[0097] The communication module 202 is used to periodically send the carriage load information determined by the information processing module 201 to the output device 104 .
[0098] The information storage module 203 is used to store the intermediate data and processing results during the processing of the information processing module 201.
[0099] The basic hardware structures of the target terminal 101, the ride planning device 102, the monitoring device 103 and the output device 104 in the ride planning system are similar, and all include Figure 3 or Figure 4 The components included in the communication device shown are described below. Figure 3 and Figure 4 Taking the communication device shown as an example, the hardware structure of the target terminal 101, the ride planning device 102, the monitoring device 103 and the output device 104 is introduced.
[0100] like Figure 3 , which is a schematic diagram of a hardware structure of a communication device provided in an embodiment of the present application. The communication device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 can be connected via a bus 24.
[0101] The processor 21 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0102] As an embodiment, the processor 21 may include one or more CPUs, such as Figure 3 CPU 0 and CPU 1 are shown in .
[0103] The memory 22 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0104] In a possible implementation, the memory 22 may exist independently of the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 to store instructions or program codes. When the processor 21 calls and executes the instructions or program codes stored in the memory 22, the ride planning method provided in the following embodiments of the present application can be implemented.
[0105] In the embodiment of the present application, the target terminal 101, the ride planning device 102, the monitoring device 103 and the output device 104 have different software programs stored in the memory 22, so the target terminal 101, the ride planning device 102, the monitoring device 103 and the output device 104 implement different functions. The functions performed by each device will be described in conjunction with the following flowchart.
[0106] In another possible implementation, the memory 22 may also be integrated with the processor 21 .
[0107] The communication interface 23 is used for the communication device to connect with other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.
[0108] The bus 24 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0109] Figure 4 FIG. 2 shows another hardware structure of the communication device in the embodiment of the present application. Figure 4 As shown, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to the communication interface 32.
[0110] The functions of the processor 31 may refer to the description of the processor 21. In addition, the processor 31 also has a storage function and can function as the memory 22.
[0111] The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the communication device, or an external interface of the communication device (equivalent to the communication interface 23).
[0112] It should be pointed out that Figure 3 (or Figure 4 ) does not constitute a limitation on the communication device, except Figure 3 (or Figure 4 ) In addition to the components shown in the figure, the communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0113] The following is a detailed description of the ride planning method provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0114] like Figure 5 As shown, the ride planning method provided in the embodiment of the present application applies a ride planning device, and the ride planning method includes: S501-S503.
[0115] S501. The ride planning device obtains planning parameter information corresponding to the location information of the target terminal.
[0116] Optionally, the location information may be geographical location information where the target terminal is currently located or network location information to which the target terminal is currently connected.
[0117] Optional, combined Figure 1 The method for the ride planning device 102 to obtain the location information may be: after the target terminal 101 establishes a communication connection with the ride planning device 102 , the target terminal 101 may send the location information to the ride planning device 102 .
[0118] Optionally, the target terminal 101 can establish a communication connection with the ride planning device 102 by logging into an application (APP) or a mini-program.
[0119] In response to the location information indicating that the target terminal is located in the waiting area of the target train, the planning parameter information includes: first operation information corresponding to the waiting station and first boarding information corresponding to the waiting station of the target train in the current shift.
[0120] Optionally, the first operation information may include the departure time of the target train at the waiting station, the carriage area of each carriage and other operation time information and operation environment information.
[0121] Optionally, the method for the ride planning device to obtain the first operation information may be: the ride planning device sends a request message for requesting the first operation information to a train management system for storing the operation information of the target train. Then, the train management system may send the first operation information to the ride planning device in response to the request message.
[0122] Optionally, the first passenger information may include the number of passengers in each carriage at the arrival time at the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station, and the historical number of passengers boarding each carriage at the waiting station, etc.
[0123] Optional, combined Figure 2 The method for the ride planning device 102 to obtain the first ride information may be: the monitoring device 103 may periodically send the original image information to the ride planning device 102. Then, the information processing module 201 in the ride planning device 102 analyzes and processes the original image information to obtain the first ride information.
[0124] In response to the location information indicating that the target terminal is located in the carriage of the target train, the planning parameter information includes: user information of the target terminal, second operation information corresponding to all passed stations of the target train in the current shift, and second riding information corresponding to all passed stations.
[0125] Optionally, the user information may include user identity information, the current car the user is riding in, the cars the user has ridden in in the past, the number of times the user has changed cars in the past, the number of times the user has ridden in the past, the user's historical boarding stations, and the user's historical alighting stations, etc.
[0126] Optionally, the user identity information may include the user's age, gender, physical health status, etc.
[0127] Optional, combined Figure 2 The method for the ride planning device 102 to obtain user information may be: the monitoring device 103 may periodically send original image information to the ride planning device 102. Then, the information processing module 201 in the ride planning device 102 performs face recognition processing on the original image information to obtain user information.
[0128] Optionally, the second operation information may include the departure time of the target train at all the stations it passes, the arrival time of the target train at all the stations it passes, the area of each carriage, and other operation time information and operation environment information.
[0129] Optionally, the method for the ride planning device to obtain the second operation information may be: the ride planning device sends a request message for requesting the second operation information to a train management system for storing the operation information of the target train. Then, the train management system may send the second operation information to the ride planning device in response to the request message.
[0130] Optionally, the second passenger information may include the number of passengers in each carriage at the current time, the number of passengers waiting for the target train at the next departure time of the passing station, the number of passengers who have boarded each carriage at the passing station, the number of passengers who have got off each carriage at the passing station, etc.
[0131] Optional, combined Figure 2 The method for the ride planning device 102 to obtain the second ride information may be: the monitoring device 103 may periodically send the original image information to the ride planning device 102. Then, the information processing module 201 in the ride planning device 102 analyzes and processes the original image information to obtain the second ride information.
[0132] S502. In response to the location information indicating that the target terminal is located in the waiting area of the target train, the boarding planning device determines and outputs the first car load information of the target train based on the first operation information and the first boarding information.
[0133] Optionally, the first carriage load information may include the number of passengers in each carriage at the departure time at the waiting station, and may also include the carriage load status of each carriage at the departure time at the waiting station.
[0134] Optionally, in response to the location information indicating that the target terminal is located in the waiting area of the target train, the boarding planning device determines the first carriage load information of the target train according to the first operation information and the first boarding information, including but not limited to the following two specific implementations:
[0135] Method 1: In response to the first carriage load information including the number of passengers in each carriage at the departure time at the waiting station, the first operation information may include: the departure time of the target train at the waiting station, and the first ride information may include: the number of passengers in each carriage at the arrival time at the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the current time at the waiting station, the historical number of passengers waiting in each carriage of the target train at the waiting station, and the historical number of passengers on board each carriage at the waiting station. The ride planning device may determine the number of passengers getting on board each carriage at the waiting station based on the departure time of the target train at the waiting station, the current number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers on board each carriage at the waiting station, and a preset algorithm. Then, the ride planning device can determine the number of passengers in each carriage at the departure time at the waiting station based on the number of passengers getting on each carriage at the waiting station, the number of passengers in each carriage at the arrival time at the waiting station, and the number of passengers getting off each carriage at the waiting station.
[0136] Mode 2: In response to the first carriage load, the carriage load state is also included. The first operation information may include: the departure time of the target train at the waiting station, the carriage area of each carriage, and the first ride information may include: the number of passengers in each carriage at the arrival time at the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the current time at the waiting station, the historical number of passengers waiting in each carriage of the target train at the waiting station, and the historical number of passengers on board each carriage at the waiting station. The ride planning device may determine the number of passengers getting on board each carriage at the waiting station based on the departure time of the target train at the waiting station, the current number of passengers waiting in each carriage at the waiting station, the historical number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers on board each carriage at the waiting station, and a preset algorithm. Then, the ride planning device can determine the number of passengers in each carriage at the departure time of the waiting station according to the number of passengers boarding each carriage at the waiting station, the number of passengers arriving at each carriage at the waiting station, and the number of passengers getting off each carriage at the waiting station. Next, the ride planning device determines the carriage load state according to the carriage area, the preset comfort perception area, the preset environment adjustment coefficient, and the number of passengers in each carriage at the departure time of the waiting station.
[0137] S503. In response to the position information indicating that the target terminal is located in the carriage of the target train, the boarding planning device determines and outputs the second carriage load information of the target train according to the user information, the second operation information and the second boarding information.
[0138] Optionally, the second carriage load information may include the number of carriages of each station of the target train at the departure time of the next passing station.
[0139] Optionally, in response to the second carriage load information including the number of carriage members of each station of the target train at the departure time of the next passing station, the ride planning device determines the second carriage load information of the target train according to the user information, the second operation information and the second ride information, including but not limited to the following two specific implementation methods:
[0140] Method 1: The ride planning device can obtain prediction data corresponding to the pre-trained BP neural network model based on the second operation information and the second ride information. Then, the ride planning device can predict the number of passengers in the carriage of each station of the target train at the departure time of the next passing station based on the user information, the prediction data and the BP neural network model, and obtain the prediction result corresponding to the target terminal. Then, the ride planning device can correct the prediction result based on the evidence fusion theory, and determine the corrected prediction result as the number of passengers in the carriage of each station of the target train at the departure time of the next passing station.
[0141] Method 2: In response to the user information including the user's historical alighting station, the second operation information including the departure time of the target train at the next passing station, and the second ride information including the number of passengers in each carriage at the current time and the number of passengers waiting at the departure time of the target train at the next passing station, the ride planning device can determine the number of passengers getting off the target train at the next passing station according to the user's historical alighting station. Then, the ride planning device can determine the sum of the number of passengers in each carriage at the current time and the number of passengers waiting at the departure time of the target train at the next passing station, and determine the difference between the sum and the number of passengers getting off the target train at the next passing station as the number of passengers in each carriage of the target train at the departure time of the next passing station.
[0142] In one embodiment, in combination Figure 5 ,like Figure 6 As shown, in response to the first carriage load information including the number of passengers in each carriage at the departure time of the waiting station, the first operation information includes: the departure time of the target train at the waiting station, and the first ride information includes: the number of passengers in each carriage at the arrival time of the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the current time at the waiting station, the historical number of passengers waiting in each carriage of the target train at the waiting station, and the historical number of passengers boarding each carriage at the waiting station. In this case, in S502, in response to the location information indicating that the target terminal is located in the waiting area of the target train, the method for the ride planning device to determine the first carriage load information of the target train according to the first operation information and the first ride information specifically includes: S601-S602.
[0143] S601. The boarding planning device determines the number of passengers boarding each carriage at the waiting station based on the departure time of the target train at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers boarding each carriage at the waiting station and a preset algorithm.
[0144] Optionally, the preset algorithm satisfies the following formula:
[0145]
[0146] Where f(t) is the number of people waiting for each carriage at the predicted time. k is the ratio of the number of people who boarded each carriage at any station it passed to the number of people waiting for each carriage at the previous station. M is the number of people waiting for each carriage at any station it passed at the current time. t0 is the current time. t is the predicted time. T is the departure time of each carriage at any station it passed. σ 2 is the variance of the normal distribution. μ is the mathematical expectation of the normal distribution.
[0147] Optionally, in response to the predicted time being the departure time of each carriage at any station it passes, the number of people waiting in each carriage at the predicted time can be the number of people boarding each carriage at any station it passes.
[0148] Optionally, any passing station may include a waiting station and the next passing station.
[0149] Optionally, in response to the predicted time being the departure time of the target train at the waiting station and any passing station being a waiting station, the ride planning device can determine the number of people waiting in each carriage at the predicted time as the number of people boarding each carriage at the waiting station.
[0150] Optionally, in response to the predicted time being the current time and any passing station being the next passing station, the ride planning device may determine the number of waiting passengers in each carriage at the predicted time as the number of waiting passengers in each carriage at the next passing station at the current time.
[0151] S602. The boarding planning device determines the sum of the number of passengers getting on each carriage at the waiting station and the number of passengers in each carriage at the arrival time at the waiting station, and determines the difference between the sum and the number of passengers getting off each carriage at the waiting station as the number of passengers in each carriage at the departure time at the waiting station.
[0152] The number of passengers boarding each carriage at the waiting station, the number of passengers arriving at the waiting station, the number of passengers getting off each carriage at the waiting station, and the number of passengers departing each carriage at the waiting station satisfy the following formula:
[0153] M1=M2+M3-M4.
[0154] Among them, M1 is the number of passengers in each carriage at the departure time at the waiting station. M2 is the number of passengers boarding each carriage at the waiting station. M3 is the number of passengers in each carriage at the arrival time at the waiting station. M4 is the number of passengers getting off each carriage at the waiting station.
[0155] Optionally, the ride planning device may first determine the difference between the number of passengers boarding each carriage at the waiting station and the number of passengers getting off each carriage at the waiting station. Then, the sum of the difference and the number of passengers at the arrival time of each carriage at the waiting station is determined as the number of passengers at the departure time of each carriage at the waiting station.
[0156] Optionally, the ride planning device may first determine the difference between the number of passengers in each carriage at the arrival time at the waiting station and the number of passengers getting off each carriage at the waiting station. Then, the sum of the difference and the number of passengers getting on each carriage at the waiting station is determined as the number of passengers in each carriage at the departure time at the waiting station.
[0157] In one embodiment, in combination Figure 6 ,like Figure 7 As shown, in response to the first car load also including the car load state, the first operation information also includes: the car area of each car, after S602, the method also includes: S701-S703.
[0158] S701. The passenger planning device determines the critical number of passengers in the first compartment according to the compartment area, the preset comfort perception area and the preset environment adjustment coefficient.
[0159] The first carriage is any one of the carriages.
[0160] Optionally, the comfort perception area can be adjusted based on characteristic information such as the local average body shape.
[0161] Optionally, the environmental adjustment coefficient can be adjusted based on passenger flow, including: adjusting the environmental adjustment coefficient according to information such as time (such as rush hour and non-peak hour, holidays or weekdays), route (such as scenic routes and other routes, urban routes and suburban routes).
[0162] Optionally, in response to an increase in passenger flow, the environmental adjustment factor may be decreased.
[0163] Optionally, the riding planning device determines the critical number of passengers in the first compartment according to the compartment area, the comfort perception area and the environmental adjustment coefficient, including but not limited to the following two specific implementations:
[0164] Method 1: The ride planning device can calculate the per capita comfort area according to the comfort perception area and the environmental adjustment coefficient. Then, the ride planning device can calculate the critical number of people in the carriage according to the per capita comfort area and the carriage area.
[0165] Method 2: The passenger planning device can calculate the standard number of passengers in the carriage according to the comfort perception area and the carriage area. Then, the passenger planning device can calculate the critical number of passengers in the carriage according to the standard number of passengers in the carriage and the environmental adjustment coefficient.
[0166] S702. In response to the fact that the number of passengers in the first carriage at the departure time at the waiting station is less than the critical number of passengers in the carriage, the boarding planning device determines that the carriage load state of the first carriage is a comfortable state.
[0167] S703. In response to the fact that the number of passengers in the first carriage at the departure time at the waiting station is greater than or equal to the critical number of passengers in the carriage, the boarding planning device determines that the carriage load state of the first carriage is a crowded state.
[0168] In one embodiment, in combination Figure 7 ,like Figure 8As shown, the method in S701 for the passenger planning device to determine the critical number of people in each compartment according to the compartment area, the comfort perception area and the environmental adjustment coefficient specifically includes: S801-S802.
[0169] S801. The ride planning device calculates the per capita comfort area based on the comfort perception area and the environmental adjustment coefficient.
[0170] The comfortable perceived area, environmental adjustment coefficient and per capita comfortable area satisfy the following formula:
[0171] Te = Ts × β;
[0172] Among them, Te is the per capita comfort area; Ts is the perceived comfort area; β is the environmental adjustment coefficient.
[0173] S802. The passenger planning device calculates the critical number of passengers in the first compartment according to the per capita comfort area and the compartment area of the first compartment.
[0174] The per capita comfort area, the area of the first compartment and the critical number of people in the first compartment satisfy the following formula:
[0175] Mn=S÷Te;
[0176] Among them, Mn is the critical number of people in the first compartment; S is the compartment area of the first compartment.
[0177] In one embodiment, in combination Figure 5 ,like Fig. 9 As shown, the method in S502 for the boarding planning device to output the first car load information of the target train specifically includes: S901.
[0178] S901. The boarding planning device sends first carriage load information to a first output device.
[0179] The first output device includes at least one of an output device of a target terminal and an output device of a waiting station.
[0180] Optional, combined Figure 2 After the information processing module 201 in the ride planning device 102 determines the first carriage load information, the first carriage load information may be sent to the output device 104 through the communication module 202. Then, the output device 104 may notify the first carriage load information.
[0181] Optionally, the ride planning device 102 may periodically send the first carriage load information to the output device 104 .
[0182] Optionally, the sending period of the first carriage load information may be adjusted according to the travel time between adjacent stations so as to reduce the impact of the signaling storm on the network pressure.
[0183] Exemplarily, the travel time between adjacent stations is preset to be 2-3 minutes, and the sending cycle of the first carriage load information may be 60-90 seconds each time.
[0184] Optionally, the method by which the output device 104 notifies the first compartment load information may include: displaying at least one of the first compartment load information or audio broadcasting the first compartment load information.
[0185] In one embodiment, in combination Figure 5 ,like Fig. 9 As shown, the method also includes: S902.
[0186] S902. The ride planning device determines the carriage to be transferred corresponding to the target terminal according to the load information of the first carriage, and sends the information of the carriage to be transferred to the first output device.
[0187] Optionally, the method for the ride planning device to determine the carriage to be transferred corresponding to the target terminal according to the load information of the first carriage includes but is not limited to the following two specific implementation methods:
[0188] Method 1: The ride planning device can determine the carriage with a passenger number less than the average passenger number in the first carriage load information as the carriage to be transferred.
[0189] Method 2: The ride planning device may determine the car whose car load status is a comfortable state in the first car load information as the car to be transferred.
[0190] Optionally, the information of the carriage to be transferred may be: the carriage number of the carriage to be transferred.
[0191] In one embodiment, in combination Figure 5 ,like Fig.10 As shown, in response to the second car load information including the number of people in the car of each station of the target train at the departure time of the next passing station, in S503, in response to the position information used to indicate that the target terminal is located in the car of the target train, the ride planning device determines the second car load information of the target train according to the user information, the second operation information and the second ride information, and the method specifically includes: S1001-S1003.
[0192] S1001. The ride planning device obtains prediction data corresponding to the pre-trained BP neural network model based on the second operation information and the second ride information.
[0193] Optionally, the predicted data may include: the departure time of the target train at all the passed stations, the arrival time of the target train at all the passed stations, the car area of each car, the environmental adjustment coefficient, the number of people in each car at the current time, the number of people waiting in each car at the next passed station at the current time, the number of people getting on each car at the passed stations, the number of people getting off each car at the passed stations, etc.
[0194] Optionally, the method for the ride planning device to obtain prediction data corresponding to the pre-trained BP neural network model according to the second operation information and the second ride information includes but is not limited to the following two specific implementation methods:
[0195] Method 1: In response to the prediction data including the number of people waiting for each carriage at the next passing station at the current moment, the second operation information includes: the departure time of the target train at the next passing station, and the second ride information includes: the number of people waiting for each carriage at the next passing station at the current moment, the historical number of people waiting for each carriage at the next passing station, and the historical number of people on board each carriage at the next passing station. The ride planning device can determine the number of people waiting for each carriage at the next passing station at the current moment according to the number of people waiting for each carriage at the next passing station at the current moment, the historical number of people waiting for each carriage at the next passing station, the historical number of people on board each carriage at the next passing station, and a preset algorithm.
[0196] In a second method, in response to the prediction data including the departure time of the target train at all the stations it passes, the arrival time of the target train at all the stations it passes, the area of each carriage, the number of passengers in each carriage at the current time, the number of passengers boarding each carriage at the stations it has passed, and the number of passengers getting off each carriage at the stations it has passed, the second operation information includes: the departure time of the target train at all the stations it passes, the arrival time of the target train at all the stations it passes, the area of each carriage, and the second ride information includes: the number of passengers in each carriage at the current time, the number of passengers boarding each carriage at the stations it has passed, and the number of passengers getting off each carriage at the stations it has passed. The ride planning device can determine the second operation information and the second ride information as the prediction data.
[0197] S1002. The boarding planning device predicts the number of passengers in the carriages of each station of the target train at the departure time of the next passing station based on user information, prediction data and BP neural network model, and obtains the prediction result corresponding to the target terminal.
[0198] Optionally, the ride planning device can input at least one of the user identity information, the current car of the user, the historical cars of the user, the ratio of the number of times the user has changed cars in history to the number of times the user has ridden in history, the departure time of the target train at all passing stations, the arrival time of the target train at all passing stations, the car area of each car, the environmental adjustment coefficient, the number of people in each car at the current time, the number of people waiting in each car at the next passing station at the current time, the number of people getting on each car at the passing station, and the number of people getting off each car at the passing station into the BP neural network model, and predict the number of people in the car of each station of the target train at the departure time of the next passing station to obtain the prediction result corresponding to the target terminal.
[0199] S1003. The boarding planning device corrects the prediction result based on the evidence fusion theory, and determines the corrected prediction result as the number of carriages of each station of the target train at the departure time of the next passing station.
[0200] In one embodiment, if Fig.11 As shown, the method also includes: S1101-S1102.
[0201] S1101. The ride planning device obtains training data of the BP neural network model.
[0202] The training data includes: user information corresponding to multiple terminals, the third operation information and the third riding information of the target train in historical schedules.
[0203] Optionally, the third operation information may include: the departure time of the target train at all the stations it passes, the arrival time of the target train at all the stations it passes, the area of each carriage, and other operation time information and operation environment information.
[0204] Optionally, the third running ride may include: the number of passengers in the target train carriage at a historical moment, the number of passengers waiting for the target train at a historical moment, the number of passengers getting on the target train at all the stations it has passed, and the number of passengers getting off each carriage at the stations it has passed.
[0205] S1102. The ride planning device trains a BP neural network model based on the training data and the BP algorithm.
[0206] In one embodiment, if Fig.12 As shown, the method also includes:
[0207] S1201. The ride planning device obtains training data and test data of the BP neural network model.
[0208] Optionally, the test data may include: user identity information, the current car the user is riding in, the cars the user has ridden in historically, the ratio of the number of times the user has changed cars in history to the number of times the user has ridden in history, the departure time of the target train at all passing stations, the arrival time of the target train at all passing stations, the car area of each car, the environmental adjustment coefficient, the number of people in each car at the current time, the number of people waiting in each car at the next passing station at the current time, the number of people who have boarded each car at the stations that have passed, and the number of people who have got off each car at the stations that have passed.
[0209] S1202: The ride planning device trains a BP neural network model based on the training data and the BP algorithm.
[0210] S1203. The passenger planning device predicts the number of passengers in the target train compartment based on the test data and the BP neural network model, and obtains a prediction result corresponding to the target terminal.
[0211] S1204. The boarding planning device corrects the prediction result based on the evidence fusion theory, and determines the corrected prediction result as the number of passengers in the carriage of the target train.
[0212] In one embodiment, in combination Fig.11 ,like Fig.13 As shown, in response to the prediction data including: the number of people waiting for each carriage at the next passing station at the current moment, the second operation information including: the departure time of the target train at the next passing station, the second ride information including: the number of people waiting for each carriage at the next passing station at the current moment, the historical number of people waiting for each carriage at the next passing station, and the historical number of people on board each carriage at the next passing station. In this case, the method for the ride planning device in S1001 to obtain the prediction data corresponding to the pre-trained BP neural network model according to the second operation information and the second ride information specifically includes: S1301.
[0213] S1301. The boarding planning device determines the number of passengers waiting for each carriage at the next passing station at the current moment based on the target train at the current moment, the number of passengers waiting for each carriage at the next passing station at the current moment, the historical number of passengers waiting for each carriage at the next passing station, the historical number of passengers on each carriage at the next passing station and a preset algorithm.
[0214] Optionally, the preset algorithm satisfies the following formula:
[0215]
[0216] Where f(t) is the number of people waiting for each carriage at the predicted time. k is the ratio of the number of people who boarded each carriage at any station it passed to the number of people waiting for each carriage at the previous station. M is the number of people waiting for each carriage at any station it passed at the current time. t0 is the current time. t is the predicted time. T is the departure time of each carriage at any station it passed. σ 2 is the variance of the normal distribution. μ is the mathematical expectation of the normal distribution.
[0217] Optionally, in response to the predicted time being the departure time of the target train at the waiting station and any passing station being a waiting station, the ride planning device can determine the number of people waiting in each carriage at the predicted time as the number of people boarding each carriage at the waiting station.
[0218] In one embodiment, in combination Figure 5 ,like Fig.14 As shown, the method in S503 for the boarding planning device to output the second car load information of the target train specifically includes: S1401.
[0219] S1401. The boarding planning device sends the second car load information to the second output device.
[0220] The second output device includes at least one of an output device of a target terminal and a carriage of a target train.
[0221] Optional, combined Figure 2 After the information processing module 201 in the ride planning device 102 determines the second carriage load information, the second carriage load information may be sent to the output device 104 through the communication module 202. Then, the output device 104 may notify the second carriage load information.
[0222] Optionally, the ride planning device 102 may periodically send the second carriage load information to the output device 104 .
[0223] Optionally, the sending period of the second carriage load information may be adjusted according to the travel time between adjacent stations so as to reduce the impact of the signaling storm on the network pressure.
[0224] Exemplarily, the travel time between adjacent stations is preset to be 2-3 minutes, and the sending cycle of the second car load information may be 60-90 seconds each time.
[0225] Optionally, the method by which the output device 104 notifies the second compartment load information may include: displaying at least one of the second compartment load information or audio broadcasting the second compartment load information.
[0226] In one embodiment, in combination Figure 5 ,like Fig.14 As shown, the method also includes: S1402.
[0227] S1402. The ride planning device determines the carriage to be transferred corresponding to the target terminal according to the load information of the second carriage, and sends the information of the carriage to be transferred to the second output device.
[0228] Optionally, the method for the ride planning device to determine the carriage to be transferred corresponding to the target terminal according to the second carriage load information includes but is not limited to the following two specific implementation methods:
[0229] Method 1: The ride planning device can determine the carriage with a passenger number less than the average passenger number in the second carriage load information as the carriage to be transferred.
[0230] Method 2: The passenger planning device may determine the car with the least number of passengers in the second car load information as the car to be transferred.
[0231] In summary, the embodiment of the present application provides a ride planning method, which can obtain planning parameter information corresponding to the location information of the target terminal. Then, in response to the location information indicating that the target terminal is located in the waiting area of the target train, the first car load information of the target train can be determined and output according to the first operation information and the first ride information. In response to the location information indicating that the target terminal is located in the car of the target train, the second car load information of the target train can be determined and output according to the user information, the second operation information and the second ride information. In this way, the user holding the target terminal can realize the ride planning of the boarding car while waiting based on the first car load information, and can also realize the ride planning of changing cars during the ride based on the second car load information, which solves the problem of large differences in car loads in the prior art and improves the travel experience of passengers.
[0232] The embodiment of the present application can divide the functional modules of the ride planning device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0233] like Fig.15 The figure is a schematic diagram of the structure of a ride planning device provided in an embodiment of the present application. The ride planning device can be used to execute Figure 5 , Figure 6 , Figure 7 , Figure 8 , Fig. 9 , Fig.10 , Fig.11 , Fig.12, Fig.13 or Fig.14 The method of ride planning is shown. Fig.15 The ride planning device shown includes: an acquisition unit 1501 , a first processing unit 1502 and a second processing unit 1503 .
[0234] The acquisition unit 1501 is configured to acquire planning parameter information corresponding to the location information of the target terminal. Figure 5 , the acquisition unit 1501 is used to execute S501.
[0235] The first processing unit 1502 is used to determine and output the first carriage load information of the target train in response to the location information indicating that the target terminal is located in the waiting area of the target train according to the first operation information and the first riding information acquired by the acquisition unit 1501. Figure 5 , the first processing unit 1502 is used to execute S502.
[0236] The second processing unit 1503 is used to determine and output the second carriage load information of the target train in response to the location information indicating that the target terminal is located in the carriage of the target train according to the user information, the second operation information and the second riding information acquired by the acquisition unit 1501. Figure 5 , the second processing unit 1503 is used to execute S503.
[0237] Optionally, the first processing unit 1502 is specifically used to determine the number of passengers boarding each carriage at the waiting station according to the departure time of the target train at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the historical number of passengers waiting in each carriage of the target train at the waiting station, the historical number of passengers boarding each carriage at the waiting station, and a preset algorithm; determine the sum of the number of passengers boarding each carriage at the waiting station and the number of passengers at the arrival time of each carriage at the waiting station, and determine the difference between the sum and the number of passengers getting off each carriage at the waiting station as the number of passengers at the departure time of each carriage at the waiting station. For example, in combination with Figure 6 , the first processing unit 1502 is used to execute S601-S602.
[0238] Optionally, the first processing unit 1502 is specifically configured to determine the critical number of passengers in each carriage according to the carriage area, the preset comfort perception area, and the preset environment adjustment coefficient; in response to the number of passengers in each carriage at the departure time of the waiting station being less than the critical number of passengers, determine that the carriage load state is a comfortable state; in response to the number of passengers in each carriage at the departure time of the waiting station being greater than or equal to the critical number of passengers, determine that the carriage load state is a crowded state. Figure 7 , the first processing unit 1502 is used to execute S701-S703.
[0239] Optionally, the first processing unit 1502 is specifically configured to calculate the per capita comfort area according to the comfort perception area and the environmental adjustment coefficient; and calculate the critical number of people in the carriage according to the per capita comfort area and the carriage area. Figure 8 , the first processing unit 1502 is used to execute S801-S802.
[0240] Optionally, the first processing unit 1502 is specifically configured to send the first carriage load information to the first output device. Fig. 9 , the first processing unit 1502 is used to execute S901.
[0241] Optionally, the first processing unit 1502 is further configured to determine the carriage to be transferred corresponding to the target terminal according to the first carriage load information, and send the information of the carriage to be transferred to the first output device. Fig. 9 , the first processing unit 1502 is used to execute S902.
[0242] Optionally, the second processing unit 1503 is specifically used to obtain prediction data corresponding to the pre-trained BP neural network model based on the second operation information and the second passenger information; predict the number of passengers in the carriage of each station of the target train at the departure time of the next passing station based on the user information, the prediction data and the BP neural network model to obtain the prediction result corresponding to the target terminal; and correct the prediction result based on the evidence fusion theory, and determine the corrected prediction result as the number of passengers in the carriage of each station of the target train at the departure time of the next passing station. For example, combined with Fig.10 , the second processing unit 1503 is used to execute S1001-S1003.
[0243] Optionally, the device also includes: a third processing unit 1504.
[0244] The third processing unit 1504 is specifically used to obtain training data for training the BP neural network model; the training data includes: user information corresponding to multiple terminals, the third operation information of the target train in the historical schedule, and the third riding information; according to the training data and the BP algorithm, the BP neural network model is trained. Fig.11 , the third processing unit 1504 is used to execute S1101-S1102.
[0245] Optionally, the second processing unit 1503 is specifically configured to determine the number of passengers waiting for each carriage at the next station at the current time according to the departure time of the target train at the next station, the number of passengers waiting for each carriage at the next station at the current time, the number of passengers waiting for each carriage at the next station at the historical time, the number of passengers on each carriage at the next station at the historical time, and a preset algorithm. Fig.13, the second processing unit 1503 is used to execute S1301.
[0246] Optionally, the second processing unit 1503 is specifically configured to send the second carriage load information to the second output device. Fig.14 , the second processing unit 1503 is used to execute S1401.
[0247] Optionally, the second processing unit 1503 is further configured to determine the carriage to be transferred corresponding to the target terminal according to the second carriage load information, and send the information of the carriage to be transferred to the second output device. Fig.14 , the second processing unit 1503 is used to execute S1402.
[0248] An embodiment of the present application also provides a computer-readable storage medium, which includes computer execution instructions. When the computer execution instructions are executed on a computer, the computer executes the ride planning method provided in the above embodiment.
[0249] An embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the ride planning method provided in the above embodiment.
[0250] Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media can be any available media that can be accessed by general or special-purpose computers.
[0251] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0252] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0253] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. 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 readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.
[0254] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A ride planning method, characterized in that: The first carriage load information includes the number of carriage passengers of each carriage of the target train at the departure time at the waiting station; The first operation information includes: the departure time of the target train at the waiting station; the first passenger information includes: the number of passengers in each carriage at the arrival time of the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the number of passengers waiting in each carriage at the waiting station in history, and the number of passengers getting on each carriage of the target train in history at the waiting station; the second carriage load information includes the number of passengers in each carriage of the target train at the departure time of the next passing station; including: Acquire planning parameter information corresponding to the location information of the target terminal; In response to the location information indicating that the target terminal is located in the waiting area of the target train, the planning parameter information includes: the first operation information corresponding to the waiting station of the target train in the current shift and the first boarding information corresponding to the waiting station; In response to the location information indicating that the target terminal is located in the carriage of the target train, the planning parameter information includes: user information of the target terminal, second operation information corresponding to each station of the target train in the current train and all passing stations, and second ride information corresponding to each station; Determine the number of passengers boarding each carriage at the waiting station according to the departure time of the target train at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the number of passengers waiting in each carriage at the waiting station in history, the number of passengers boarding each carriage at the waiting station in history, and a preset algorithm; Determine the sum of the number of passengers boarding each carriage at the waiting station and the number of passengers arriving at the waiting station, and determine the difference between the sum and the number of passengers getting off each carriage at the waiting station as the number of passengers at the departure time of each carriage at the waiting station; the first carriage load information is used to carry out passenger planning of the waiting area of the target train; According to the second operation information and the second riding information, prediction data corresponding to the pre-trained back propagation BP neural network model is obtained; the second operation information includes: the departure time of the target train at the next passing station; the second riding information includes: the number of passengers in each carriage at the current time, and the number of passengers waiting at the departure time of the target train at the next passing station; the prediction data is the number of passengers waiting in each carriage at the next passing station at the current time; According to the user information, the prediction data and the BP neural network model, the number of passengers in each carriage at the departure time of the next passing station is predicted to obtain the prediction result corresponding to the target terminal; the user information includes the user's historical getting-off stations; The prediction result is corrected based on the evidence fusion theory, and the corrected prediction result is determined as the number of passengers in each carriage at the departure time of the next passing station; the second carriage load information is used for passenger planning in the carriage of the target train.
2. The method for planning a ride according to claim 1, characterized in that: The first carriage load also includes the carriage load state of each carriage at the departure time of the waiting station; The first operation information further includes: the compartment area of each compartment; and the ride planning method further includes: Determining the critical number of people in the first compartment according to the compartment area of the first compartment, the preset comfort perception area and the preset environment adjustment coefficient; the first compartment is any one of the compartments; In response to the number of passengers in the first carriage at the departure time of the waiting station being less than the critical number of passengers in the carriage, determining that the carriage load state of the first carriage is a comfortable state; In response to the fact that the number of passengers in the first carriage at the departure time of the waiting station is greater than or equal to the critical number of passengers in the carriage, it is determined that the carriage load state of the first carriage is a crowded state.
3. The method for planning a ride according to claim 2, characterized in that: The determining the critical number of people in the first compartment according to the compartment area of the first compartment, the comfort perception area and the environment adjustment coefficient includes: The per capita comfort area is calculated according to the comfort perception area and the environmental adjustment coefficient; the comfort perception area, the environmental adjustment coefficient and the per capita comfort area satisfy the following formula: Te = Ts × β; Wherein, Te is the per capita comfort area; Ts is the comfort perception area; β is the environmental adjustment coefficient; The critical number of passengers in the first compartment is calculated according to the per capita comfort area and the compartment area of the first compartment; the per capita comfort area, the compartment area of the first compartment and the critical number of passengers in the first compartment satisfy the following formula: Mn=S÷Te; Wherein, Mn is the critical number of people in the first compartment; S is the compartment area of the first compartment.
4. The method for planning a ride according to claim 1, characterized in that: The first carriage load information is used to perform boarding planning of the waiting area of the target train, including: The first carriage load information is sent to a first output device; the first output device includes at least one of the output devices of the target terminal and the waiting station.
5. The method for planning a ride according to claim 4, characterized in that: Also includes: According to the first carriage load information, the carriage to be transferred corresponding to the target terminal is determined, and the information of the carriage to be transferred is sent to the first output device.
6. The method for planning a ride according to claim 1, characterized in that: Also includes: Acquiring training data for training the BP neural network model; The training data includes: user information corresponding to a plurality of terminals, third operation information and third riding information of the target train in historical schedules; The BP neural network model is obtained through training based on the training data and the BP algorithm.
7. The method for planning a ride according to claim 1, characterized in that: The prediction data includes: the number of people waiting for each carriage at the next passing station at the current time; the second operation information includes: the departure time of the target train at the next passing station; the second riding information includes: the number of people waiting for each carriage at the next passing station at the current time, the number of people waiting for each carriage at the next passing station in history, and the number of people on board each carriage at the next passing station in history; The step of obtaining prediction data corresponding to a pre-trained back propagation BP neural network model according to the second operation information and the second ride information includes: The number of passengers waiting for each carriage at the next passing station at the current time is determined based on the departure time of the target train at the next passing station, the number of passengers waiting for each carriage at the next passing station in history, the number of passengers on board each carriage at the next passing station in history and a preset algorithm.
8. The ride planning method according to claim 1 or 7, characterized in that: The preset algorithm satisfies the following formula: Wherein, f(t) is the number of people waiting for each carriage at the predicted time; k is the ratio of the number of people who boarded each carriage at any passing station to the number of people waiting for the carriage at the historical time; M is the number of people waiting for each carriage at any passing station at the current time; t0 is the current time; t is the predicted time; T is the departure time of the target train at any passing station; σ 2 is the variance of the normal distribution; μ is the mathematical expectation of the normal distribution; in response to the predicted time being the departure time of the target train at any of the passing stations, the number of people waiting in each carriage at the predicted time is the number of people boarding each carriage at any of the passing stations; any of the passing stations includes the waiting station and the next passing station.
9. The method for planning a ride according to claim 1, characterized in that: The second carriage load information is used to perform passenger planning in the carriage of the target train, including: The second carriage load information is sent to a second output device; the second output device includes at least one of the target terminal and an output device in the carriage of the target train.
10. The method for planning a ride according to claim 9, characterized in that: Also includes: According to the second car load information, the car to be transferred corresponding to the target terminal is determined, and the information of the car to be transferred is sent to the second output device.
11. A ride planning device, characterized in that: The first carriage load information includes the number of carriage passengers of each carriage of the target train at the departure time at the waiting station; The first operation information includes: the departure time of the target train at the waiting station; the first passenger information includes: the number of passengers in each carriage at the arrival time of the waiting station, the number of passengers getting off each carriage at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the number of passengers waiting in each carriage at the waiting station in history, and the number of passengers getting on each carriage of the target train in history at the waiting station; the second carriage load information includes the number of passengers in each carriage of the target train at the departure time of the next passing station; including: an acquisition unit, a first processing unit, and a second processing unit; The acquisition unit is used to acquire planning parameter information corresponding to the location information of the target terminal; in response to the location information indicating that the target terminal is located in the waiting area of the target train, the planning parameter information includes: first operation information corresponding to the waiting station of the target train in the current train and first boarding information corresponding to the waiting station; in response to the location information indicating that the target terminal is located in the carriage of the target train, the planning parameter information includes: user information of the target terminal, second operation information corresponding to the target train in the current train and each of all passing stations, and second boarding information corresponding to each of the stations; The first processing unit is used to determine the number of passengers boarding each carriage at the waiting station according to the departure time of the target train at the waiting station, the number of passengers waiting in each carriage at the waiting station at the current time, the number of passengers waiting in each carriage at the waiting station in history, the number of passengers boarding each carriage at the waiting station in history, and a preset algorithm; The first processing unit is further used to determine the sum of the number of passengers boarding each carriage at the waiting station and the number of passengers arriving at the waiting station, and determine the difference between the sum and the number of passengers getting off each carriage at the waiting station as the number of passengers at the departure time of each carriage at the waiting station; the first carriage load information is used to carry out passenger planning of the waiting area of the target train; The second processing unit is used to obtain prediction data corresponding to the pre-trained back propagation BP neural network model according to the second operation information and the second riding information; the second operation information includes: the departure time of the target train at the next passing station; the second riding information includes: the number of passengers in each carriage at the current time, and the number of passengers waiting at the departure time of the target train at the next passing station; the prediction data is the number of passengers waiting in each carriage at the next passing station at the current time; The second processing unit is further used to predict the number of passengers in each carriage at the departure time of the next passing station according to the user information, the prediction data and the BP neural network model, and obtain the prediction result corresponding to the target terminal; the user information includes the user's historical getting-off stations; The second processing unit is also used to correct the prediction result based on the evidence fusion theory, and determine the corrected prediction result as the number of passengers in each carriage at the departure time of the next passed station; the second carriage load information is used to carry out passenger planning in the carriage of the target train.
12. The ride planning device according to claim 11, characterized in that: The first carriage load also includes the carriage load state of each carriage at the departure time of the waiting station; the first operation information also includes: the carriage area of each carriage; The first processing unit is specifically configured to: Determining the critical number of passengers in each compartment according to the compartment area, the preset comfort perception area and the preset environment adjustment coefficient; In response to the number of passengers in each carriage at the departure time of the waiting station being less than the critical number of passengers in the carriage, determining that the carriage load state is a comfortable state; In response to the fact that the number of passengers in each carriage at the departure time of the waiting station is greater than or equal to the critical number of passengers in the carriage, it is determined that the carriage load state is a crowded state.
13. The ride planning device according to claim 12, characterized in that: The first processing unit is specifically configured to: The per capita comfort area is calculated according to the comfort perception area and the environmental adjustment coefficient; the comfort perception area, the environmental adjustment coefficient and the per capita comfort area satisfy the following formula: Te = Ts × β; Wherein, Te is the per capita comfort area; Ts is the comfort perception area; β is the environmental adjustment coefficient; The critical number of people in the carriage is calculated according to the per capita comfort area and the carriage area; the per capita comfort area, the carriage area and the critical number of people in the carriage satisfy the following formula: Mn=S÷Te; Wherein, Mn is the critical number of people in the carriage; S is the area of the carriage.
14. The ride planning device according to claim 11, characterized in that: The first processing unit is specifically configured to: The first carriage load information is sent to a first output device; the first output device includes at least one of the output devices of the target terminal and the waiting station.
15. The ride planning device according to claim 14, characterized in that: The first processing unit is further configured to: According to the first carriage load information, the carriage to be transferred corresponding to the target terminal is determined, and the information of the carriage to be transferred is sent to the first output device.
16. The ride planning device according to claim 11, characterized in that: Also includes: A third processing unit; The third processing unit is specifically configured to: Acquiring training data for training the BP neural network model; The training data includes: user information corresponding to a plurality of terminals, third operation information and third riding information of the target train in historical schedules; The BP neural network model is obtained through training based on the training data and the BP algorithm.
17. The ride planning device according to claim 11, characterized in that: The prediction data includes: the number of people waiting for each carriage at the next passing station at the current time; the second operation information includes: the departure time of the target train at the next passing station; the second riding information includes: the number of people waiting for each carriage at the next passing station at the current time, the number of people waiting for each carriage at the next passing station in history, and the number of people on board each carriage at the next passing station in history; The second processing unit is specifically configured to: The number of passengers waiting for each carriage at the next passing station at the current time is determined based on the departure time of the target train at the next passing station, the number of passengers waiting for each carriage at the next passing station in history, the number of passengers on board each carriage at the next passing station in history and a preset algorithm.
18. The ride planning device according to claim 11 or 17, characterized in that: The preset algorithm satisfies the following formula: Wherein, f(t) is the number of people waiting for each carriage at the predicted time; k is the ratio of the number of people who boarded each carriage at any passing station to the number of people waiting for the carriage at the historical time; M is the number of people waiting for each carriage at any passing station at the current time; t0 is the current time; t is the predicted time; T is the departure time of the target train at any passing station; σ 2 is the variance of the normal distribution; μ is the mathematical expectation of the normal distribution; in response to the predicted time being the departure time of the target train at any of the passing stations, the number of people waiting in each carriage at the predicted time is the number of people boarding each carriage at any of the passing stations; any of the passing stations includes the waiting station and the next passing station.
19. The ride planning device according to claim 11, characterized in that: The second processing unit is specifically configured to: The second carriage load information is sent to a second output device; the second output device includes at least one of the target terminal and an output device in the carriage of the target train.
20. The ride planning device according to claim 19, characterized in that: The second processing unit is further configured to: According to the second car load information, the car to be transferred corresponding to the target terminal is determined, and the information of the car to be transferred is sent to the second output device.
21. A ride planning device, characterized in that: It includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the ride planning device is running, the processor executes the computer execution instructions stored in the memory, so that the ride planning device executes the ride planning method as described in any one of claims 1-10.
22. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer executes the ride planning method according to any one of claims 1 to 10.
