A multi-line ticket payment clearing method based on random sampling and Bayesian analysis

Through random sampling and Bayesian analysis, it solves the problems of poor travel chain certainty and complicated profit division under the one-ticket transfer method in the existing technology, achieves more accurate ticket distribution, reduces equipment costs, and dynamically updates travel chain selection probability.

CN118551946BActive Publication Date: 2024-10-11NANJING UNIV OF INFORMATION SCI & TECH
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411022230.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-11
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

With the existing technology, it is difficult to accurately determine the travel chain of passengers under the one-ticket transfer method, which leads to entanglements in profit division. Moreover, passengers need to know the travel time of each station and the travel time information required for transfer, and it is impossible to comprehensively consider the non-conformity of passengers. Rational behavior and the contribution of multiple travel chains.

Method used

Using methods based on random sampling and Bayesian analysis, OD records are generated through the AFC system, the travel chain set is screened, the conditional probability of the travel chain is calculated using the Monte Carlo method and Bayesian analysis, and fares are allocated according to the contribution rate and travel probability. , dynamically update the selection probability of each travel chain.

Benefits of technology

There is no need for additional equipment to track passengers, reducing equipment construction costs. It can more accurately calculate the selection probability of travel links, reflect the latest passenger behavior and system status, and achieve more accurate ticket allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551946B_ABST
    Figure CN118551946B_ABST
Patent Text Reader

Abstract

The present invention provides a multi-line ticket fee clearing method based on random sampling and Bayesian analysis, including: reading OD record information and driving information and storing them in a database; generating a travel chain set of OD pairs with multiple transfer modes; screening out OD records within a selected window time, performing per-thousandth statistics on travel time, and reducing the travel chain set; after a given OD record, randomly sampling to obtain travel time, and obtaining a single exit time under a specific travel chain; using the Monte Carlo method to randomly sample the travel time and repeat the previous step to obtain the exit time under the travel chain, obtain the frequency estimate of the exit time on all travel chains, and calculate the conditional probability of the travel chain under a given entry time; combining the contribution rate with the conditional probability to obtain the distribution of transaction ticket fees between lines. The present invention provides an economical and effective ticket fee clearing method without the need to deploy WIFI probes at stations or monitor and track passenger travel chains.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of urban rail transit data processing, and in particular to a multi-line ticket payment clearing method based on random sampling and Bayesian analysis. Background Art

[0002] In recent years, due to the large passenger flow during peak hours in the morning and evening, more attention has been paid to traffic efficiency. At present, the one-ticket transfer method is generally implemented. The AFC system (Automatic Fare Collection System) has been widely used in urban rail transit, forming an OD record (Origin Destination) through the passenger ID.

[0003] The one-ticket transfer method enables passengers to quickly transfer between different lines, but different lines and different sections of the same line are usually built by different operators. The one-ticket transfer method makes it difficult to determine the travel chain of some OD records with multiple transfer methods, and there may be disputes over profit division.

[0004] At present, the route allocation method based on passenger travel chains is that in an ideal situation, passengers consider multiple factors such as travel time, transfer time, and travel time to select travel chains to allocate routes. This method requires passengers to travel according to the travel time as the priority. However, in the actual travel process, passengers do not know the travel time of each station, the travel time required for transfers, and other information, and usually take irrational actions during the travel process. Since the travel time of passengers is different according to different travel chains, and the entry and exit time of passengers is fixed, it is necessary to comprehensively consider the travel probability of passengers in various travel chains and distribute profits according to the contribution of different routes. Summary of the invention

[0005] Purpose of the invention: The technical problem to be solved by the present invention is to provide a multi-line ticket payment clearing method based on random sampling and Bayesian analysis in view of the shortcomings of the prior art, thereby providing a method for clearing OD records in the clearing window when the actual travel chain of passengers cannot be observed.

[0006] The method of the present invention specifically comprises the following steps:

[0007] Step 1: The AFC system (Automatic Fare Collection System) generates OD records (Origin Destination) based on the passenger entry and exit card data. In order to allocate between lines, the OD records are aggregated to the computer and stored in the passenger travel information database. At the same time, the driving data is obtained and stored in the train information database D 1 middle;

[0008] Step 2: List all the travel chains of OD pairs with more than two transfer modes according to the network structure. ;

[0009] Step 3, in the database Read passenger OD records , filter out the observation time window The OD record set is analyzed based on the travel time through the 10,000th percentile statistics, and the travel chain set is analyzed based on the actual data statistical analysis method. To make a reduction;

[0010] Step 4: For a single OD record, obtain the travel chain by sampling the travel time distribution function The k-th travel time set , read database D 1 Mid-day Train information , determine the travel chain The waiting time and driving time of the bus are obtained, and the travel chain is obtained. Departure time ; , travel chain Contains Transfer stations, For the transfer stations, O represents the source station, and D represents the destination station;

[0011] Step 5: Perform Z random sampling of the travel time and repeat step 3 by Monte Carlo method to obtain Frequency Estimation of Probability Distribution Function , using the trip chain estimation method of Bayesian analysis of travel time, the conditional probability of each trip chain under given entry and exit times is calculated;

[0012] Step 6: allocate routes according to the contribution rate of the travel chain to the route and the travel probability of the travel chain, and divide the observation time window into The total transaction amount is distributed among the routes according to the contribution rate.

[0013] In step 1, the train data is obtained from the train dispatch table or the ATS (Automatic Train Supervision) and stored in the database D 1 middle.

[0014] Step 2 includes the following steps:

[0015] Step 2-1, set the line network C to contain N stations, and the set of N stations is , using the matrix To describe the a-th station Departure to station b For travel, the values ​​of a and b are 1~N. represents the number of travel links between the a-th station and the b-th station; when a=b, let , indicating that the trip chain with the same source and destination is not considered; when ,and , In the case of belonging to the same line, let , indicating that there is no transfer in the trip; when ,and , Belong to different lines, but and There is only one way to transfer between , which means that the source station and the destination station are in different lines, but the transfer method is unique. This type of trip has transfers and the trip chain is unique; when ,and , Belong to different lines, but and There is more than one way to transfer between , indicating that the source station and the destination station are on different lines, and the transfer mode is not unique. This type of trip has transfers and the trip chain is not unique:

[0016] ,

[0017] Step 2-2, for The matrix entry of further lists all the travel chain sets ,in The source and destination stations are a and b respectively and The nth outbound chain of OD pairs.

[0018] In step 3, a method based on actual data statistical analysis is used to determine the source station and destination station The travel chain is reduced, which includes the following steps:

[0019] Step 3-1, for a given observation time window (e.g. within half a year), use database software to Filter out all the records with O as the source station and D as the destination station , observation time window The number of OD records is ;

[0020] Step 3-2, for the filtered record set Any record in , calculate the record Travel record time , It represents the time from the source station O to the destination station D, and the travel time set is formed by statistics ; Travel time collection Represents the observation time window All The collection of travel time of OD records;

[0021] Step 3-3, set the travel time , perform ten thousandth percentile statistics and obtain the threshold value under the ten thousandth percentile statistics ;

[0022] Step 3-4, for all trip links with O as the source station and D as the destination station , without considering waiting time and travel time, the scheduling plan based on line network C , calculate all travel chains The ideal minimum travel time between the source station and the destination station is denoted as ,in It represents the ideal minimum travel time required for the nth travel link when the source station and the destination station are a and b respectively;

[0023] Steps 3-5, group by travel time The ten thousandth percentile threshold As a constraint, for the ideal minimum travel time Travel chain To perform a reduction:

[0024] ,

[0025] in Abandoning the travel chain , ;

[0026] The reduced travel chain set is recorded as , that is, the set of trip chains to be cleared with O as the source station and D as the destination station; where the source and destination stations are O and D respectively and The nth outbound chain of OD pairs.

[0027] Step 4 includes the following steps:

[0028] Step 4-1, for a trip chain of OD records The kth calculation of :

[0029] ,

[0030] in represents the time of entering the station in the kth experiment, Indicates that in the kth experiment Transfer travel time at each transfer station, represents the departure time in the kth experiment;

[0031] Step 4-2, set the total number of lines in the line network C to , set Lines The actual number of stations in a single day The arrival and departure times of consecutive waves of trains are recorded as ,in The value is 1~ , For online The arrival and departure times of the trains at various stations. For Line The arrival and departure times of up and down trains at each station, and the driving information on all lines is ;

[0032] For the kth calculation, under the efficiency priority principle of getting on the bus as soon as it is available, for the arrival time OD records, within the set minimum boarding time threshold Next, calculate the waiting time and driving time :

[0033] ,

[0034] ,

[0035] in Based on driving information , Arrival time , Travel time collection The corresponding waiting time calculated is Based on driving information , Arrival time , Travel time collection The corresponding driving time calculated is For the travel chain The set of travel times generated by the k-th sampling;

[0036] Step 4-3, calculate the final departure time :

[0037] .

[0038] Step 5 includes the following steps:

[0039] Step 5-1, after repeating step 3 for Z times of Monte Carlo calculation (the N times involving Monte Carlo is changed to Z times, Z ≥ 100, and the value is 10000 in actual operation, but it can be set to 100, 1000, or even more than 10 million times. The higher the number of iterations, the higher the accuracy and stability of the results), the exit time is obtained. A frequency estimate of a probability distribution function ,but ,in For a given trip chain The departure time is probability; For a given trip chain The departure time is Frequency estimation of

[0040] against Any travel chain All are set to perform Z Monte Carlo calculations, and finally get:

[0041] , ,

[0042] Step 5-2, set the prior probability , then the departure time is The condition of the chain Probability for:

[0043] .

[0044] Step 6 includes the following steps:

[0045] Step 6-1, set up a chain set And the set of m routes involved in the travel chain , represents the mth line, Indicates a chain For Lines The normalized contribution rate of The value is 1~m, using the travel chain The set of m lines involved The mileage on each route is taken as the contribution, divided by the trip chain Total mileage, get the contribution rate ; For travel chain In the Lines Mileage on

[0046] Step 6-2, using the matrix Describe the chain set For m lines The contribution rate of each line above:

[0047] ,

[0048] in For travel chain For the mth line The normalized contribution rate of

[0049] Step 6-3, for any OD record ,make ,in For OD records At departure time Under the condition that The probability of each OD record is obtained by calculating the probability vector of the distribution of the travel chains. :

[0050] , ,

[0051] Step 6-4, in all Find the vector on the OD records The mean :

[0052] ;

[0053] Step 6-5: Comprehensive travel chain contribution to the route, record collection All trip OD records in The final allocation ratio of the lines for:

[0054] ;

[0055] Step 6-6, according to the final distribution ratio The observation time window The ticket money within the quota is allocated to the relevant routes.

[0056] The present invention also provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described above are implemented.

[0057] The present invention also provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.

[0058] Beneficial effects: Compared with the prior art, the present invention has the following advantages:

[0059] 1. The passenger's travel chain can be obtained without using additional equipment such as WIFI probes and surveillance cameras to track passengers, reducing equipment construction costs;

[0060] 2. It provides a dynamic update method to more accurately calculate the selection probability of each trip chain. This accuracy is continuously updated based on real-time or historical data, reflecting the latest passenger behavior and system status. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 The present invention is a flowchart of the steps of the method.

[0062] Figure 2 This is an example diagram of OD data recording.

[0063] Figure 3 This is an example diagram of train driving information.

[0064] Figure 4 This is an example diagram of the contribution rate matrix. DETAILED DESCRIPTION

[0065] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more clear.

[0066] like Figure 1As shown, in a specific embodiment of the present invention, a method for clearing fare between multiple lines based on random sampling and Bayesian analysis is provided. First, a set of travel chains of OD pairs with multiple travel modes needs to be listed according to the line network structure; passenger OD data is obtained from the AFC system, and the set of travel chains within the time window is reduced to remove impossible travel chains; in the reduced travel chains, the travel time is sampled to generate a single exit time of passengers in different travel chains under the sampled travel time; the travel time sampled Z times is converted into exit time through the Monte Carlo method, and the frequency estimate of the exit time and the corresponding travel chain is obtained, and the conditional probability of the travel chain under the determined exit time is obtained; the conditional probability is combined with the line in the travel chain to obtain the contribution rate of the line to the OD data, and the distribution of transaction fare is completed. The specific steps include:

[0067] Step 1: The AFC system (Automatic Fare Collection System) generates OD records (Origin Destination) based on the passenger entry and exit card data. In order to allocate between lines, the OD records are aggregated to the computer and stored in the passenger travel information database. At the same time, the driving data is obtained and stored in the train information database D. 1 middle;

[0068] Step 2: List all the travel chains of OD pairs with more than two transfer modes according to the network structure. ;

[0069] Step 3, in the database Read passenger OD records , filter out the observation time window The OD record set is analyzed based on the travel time through the 10,000th percentile statistics, and the travel chain set is analyzed based on the actual data statistical analysis method. To make a reduction;

[0070] Step 4: For a single OD record, obtain the travel chain by sampling the travel time distribution function The k-th travel time set , read database D 1 Mid-day Train information , determine the travel chain The waiting time and driving time of the bus are obtained, and the travel chain is obtained. Departure time ; , travel chain Contains Transfer stations, For the transfer stations, O represents the source station, and D represents the destination station;

[0071] Step 5: Perform Z random sampling of the travel time and repeat step 3 by Monte Carlo method to obtain Frequency Estimation of Probability Distribution Function , using the trip chain estimation method of Bayesian analysis of travel time, the conditional probability of each trip chain under given entry and exit times is calculated;

[0072] Step 6: allocate routes according to the contribution rate of the travel chain to the route and the travel probability of the travel chain, and divide the observation time window into The total transaction amount is distributed among the routes according to the contribution rate.

[0073] In this embodiment, step 1 specifically includes:

[0074] Each station is equipped with an AFC machine. At the end of each day, the OD records obtained are transmitted to the computer database. The record format of the database is as follows: Figure 2 When the train dispatch table and ATS exist at the same time, the ATS driving data is used first, and the driving data is transferred to the computer and entered into the database D 1 , the database D 1 The record format is as follows Figure 3 shown.

[0075] In this embodiment, step 2 specifically includes:

[0076] Step 2-1, assume that there are n=72 stations in the line network C, using the matrix To describe the a-th station Departure to station b For travel, the values ​​of a and b are 1~N. represents the number of travel links between the a-th station and the b-th station; when a=b, let , indicating that the trip chain with the same source and destination is not considered; when ,and , In the case of belonging to the same line, let , indicating that there is no transfer in the trip; when ,and , Belong to different lines, but and There is only one way to transfer between , which means that the source station and the destination station are in different lines, but the transfer method is unique. This type of trip has transfers and the trip chain is unique; when ,and , Belong to different lines, but and There is more than one way to transfer between , indicating that the source station and the destination station are on different lines, and the transfer mode is not unique. This type of trip has transfers and the trip chain is not unique:

[0077] ,

[0078] Step 2-2, for The matrix entry further lists all its travel chain sets .

[0079] In this embodiment, step 3 specifically includes:

[0080] Step 3-1, for a given observation time window day, using database software from the database Filter out all the records with O as the source station and D as the destination station , observation time window The number of OD records is ;

[0081] Step 3-2, for the filtered record set Any record in , calculate the record Travel record time , It represents the time from the source station O to the destination station D, and the travel time set is formed by statistics ; Travel time collection Represents the observation time window All The collection of travel time of OD records;

[0082] Step 3-3, set the travel time , perform ten thousandth percentile statistics and obtain the threshold value under the ten thousandth percentile statistics ;

[0083] Step 3-4, for all trip links with O as the source station and D as the destination station , without considering waiting time and travel time, the scheduling plan based on line network C , calculate all travel chains The ideal minimum travel time between the source station and the destination station is denoted as ,in It represents the ideal minimum travel time required for the nth travel link when the source station and the destination station are a and b respectively;

[0084] Steps 3-5, group by travel time The ten thousandth percentile threshold As a constraint, for the ideal minimum travel time Travel chain To perform a reduction:

[0085] ,

[0086] in Abandoning the travel chain , ;

[0087] The reduced travel chain set is recorded as , that is, the set of trip chains to be cleared with O as the source station and D as the destination station; where the source and destination stations are O and D respectively and The nth outbound chain of OD pairs.

[0088] In this embodiment, step 4 specifically includes:

[0089] Step 4-1, for a trip chain of OD records The kth calculation of :

[0090] ,

[0091] in represents the time of entering the station in the kth experiment, Indicates that in the kth experiment Transfer travel time at each transfer station, represents the departure time in the kth experiment;

[0092] Step 4-2, set the total number of lines in the line network C to , set Lines The actual number of stations in a single day The arrival and departure times of consecutive waves of trains are recorded as ,in The value is 1~ , For online The arrival and departure times of the trains at various stations. For Line The arrival and departure times of up and down trains at each station, and the driving information on all lines is ;

[0093] For the kth calculation, under the efficiency priority principle of getting on the bus as soon as it is available, for the arrival time OD records, within the set minimum boarding time threshold Next, calculate the waiting time and driving time :

[0094] ,

[0095] ,

[0096] in Based on driving information , Arrival time , Travel time collection The corresponding waiting time calculated is Based on driving information , Arrival time , Travel time collection The corresponding driving time calculated is For the travel chain The set of travel times generated by the k-th sampling;

[0097] Step 4-3, calculate the final departure time :

[0098] .

[0099] In this embodiment, step 5 specifically includes:

[0100] Step 5-1, repeat step 3 for Z=10000 times and get the exit time A frequency estimate of a probability distribution function ,but ,in For a given trip chain The departure time is The probability of For a given trip chain The departure time is Frequency estimation of

[0101] against Any travel chain All are set to perform Z Monte Carlo calculations, and finally get:

[0102] , ,

[0103] Step 5-2, set the prior probability , then the departure time is The condition of the chain Probability for:

[0104] .

[0105] In this embodiment of the present invention, step 6 specifically includes:

[0106] Step 6-1, set up a chain set And the set of m routes involved in the travel chain , represents the mth line, Indicates a chain For Lines The normalized contribution rate of The value is 1~m, using the travel chain The set of m lines involved The mileage on each route is taken as the contribution, divided by the trip chain Total mileage, get the contribution rate ; For travel chain In the Lines Mileage on

[0107] Step 6-2, using the matrix Describe the chain set For m lines The contribution rate of each line above:

[0108] ,

[0109] in For travel chain For the mth line The normalized contribution rate of

[0110] Step 6-3, for any OD record ,make ,in For OD records At departure time Under the condition that The probability of each OD record is obtained by calculating the probability vector of the distribution of the travel chains. :

[0111] , ,

[0112] Step 6-4, in all Find the vector on the OD records The mean :

[0113] ;

[0114] Step 6-5: Comprehensive travel chain contribution to the route, record collection All trip OD records in The final allocation ratio of the lines for:

[0115] ;

[0116] Step 6-6, get like Figure 4 As shown, according to the final distribution ratio The observation time window The ticket money within the quota is allocated to the relevant routes.

[0117] The present invention provides a multi-line ticket payment clearing method based on random sampling and Bayesian analysis. There are many methods and ways to implement the technical solution. The above is only a preferred implementation of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the protection scope of the present invention. All components not specified in this embodiment can be implemented by existing technologies.

Claims

1. A multi-line ticket payment clearing method based on random sampling and Bayesian analysis, characterized in that: The following steps are involved: Step 1: The AFC urban rail transit automatic ticketing system generates OD records based on the passenger entry and exit card swiping data. In order to distribute between lines, the OD records are summarized in the computer and stored in the passenger travel information database. At the same time, the driving data is obtained and stored in the train information database D1; Step 2: List all the travel chains of OD pairs with more than two transfer modes according to the network structure. ; Step 3, in the database Read passenger OD records , filter out the observation time window The OD record set is analyzed based on the travel time through the 10,000th percentile statistics, and the travel chain set is analyzed based on the actual data statistical analysis method. To make a reduction; Step 4: For a single OD record, obtain the travel chain by sampling the travel time distribution function The k-th travel time set , read the single day in database D1 Train information , determine the travel chain The waiting time and driving time of the bus are obtained, and the travel chain is obtained. Departure time ; , travel chain Contains Transfer stations, For the transfer stations, O represents the source station, and D represents the destination station; Step 5: Perform Z random sampling of the travel time and repeat step 3 by Monte Carlo method to obtain Frequency Estimation of Probability Distribution Function , using the trip chain estimation method of Bayesian analysis of travel time, the conditional probability of each trip chain under given entry and exit times is calculated; Step 6: allocate routes according to the contribution rate of the travel chain to the route and the travel probability of the travel chain, and divide the observation time window into The total transaction amount is distributed among the routes according to the contribution rate.

2. The method according to claim 1, characterized in that In step 1, the driving data is obtained from the train dispatch table or the ATS automatic train monitoring system and stored in the database D1.

3. The method according to claim 2, characterized in that Step 2 includes the following steps: Step 2-1, set the line network C to contain N stations, and the set of N stations is , using the matrix To describe the a-th station Departure to station b For travel, the values ​​of a and b are 1~N. represents the number of travel links between the a-th station and the b-th station; when a=b, let , indicating that the trip chain with the same source and destination is not considered; when ,and , In the case of belonging to the same line, let , indicating that there is no transfer in the trip; when ,and , Belong to different lines, but and There is only one way to transfer between , which means that the source station and the destination station are in different lines, but the transfer method is unique. This type of trip has transfers and the trip chain is unique; when ,and , Belong to different lines, but and There is more than one way to transfer between , indicating that the source station and the destination station are on different lines, and the transfer mode is not unique. This type of trip has transfers and the trip chain is not unique: , Step 2-2, for The matrix entry of further lists all the travel chain sets ,in The source and destination stations are a and b respectively and The nth outbound chain of OD pairs.

4. The method according to claim 3, characterized in that In step 3, a method based on actual data statistical analysis is used to determine the source station and destination station The travel chain is reduced, which includes the following steps: Step 3-1, for a given observation time window , from the database Filter out all the records with O as the source station and D as the destination station , observation time window The number of OD records is ; Step 3-2, for the filtered record set Any record in , calculate the record Travel record time , It represents the time from the source station O to the destination station D, and the travel time set is formed by statistics ; Travel time collection Represents the observation time window All The collection of travel time of OD records; Step 3-3, set the travel time , perform ten thousandth percentile statistics and obtain the threshold value under the ten thousandth percentile statistics ; Step 3-4, for all trip links with O as the source station and D as the destination station , without considering waiting time and travel time, the scheduling plan based on line network C , calculate all travel chains The ideal minimum travel time between the source station and the destination station is denoted as ,in It represents the ideal minimum travel time required for the nth travel link when the source station and the destination station are a and b respectively; Steps 3-5, group by travel time The ten thousandth percentile threshold As a constraint, for the ideal minimum travel time Travel chain To perform a reduction: , in Abandoning the travel chain , ; The reduced travel chain set is recorded as , that is, the set of trip chains to be cleared with O as the source station and D as the destination station; where the source and destination stations are O and D respectively and The nth outbound chain of OD pairs.

5. The method according to claim 4, characterized in that Step 4 includes the following steps: Step 4-1, for a trip chain of OD records The kth calculation of : , in represents the time of entering the station in the kth experiment, Indicates that in the kth experiment Transfer travel time at each transfer station, represents the departure time in the kth experiment; Step 4-2, set the total number of lines in the line network C to , set Lines The actual number of stations in a single day The arrival and departure times of consecutive waves of trains are recorded as ,in The value is 1~ , For online The arrival and departure times of the trains at various stations. For Line The arrival and departure times of up and down trains at each station, and the driving information on all lines is ; For the kth calculation, under the efficiency priority principle of getting on the bus as soon as it is available, for the arrival time OD records, within the set minimum boarding time threshold Next, calculate the waiting time and driving time : , , in Based on driving information , Arrival time , Travel time collection The corresponding waiting time calculated is Based on driving information , Arrival time , Travel time collection The corresponding driving time calculated is For the travel chain The set of travel times generated by the k-th sampling; Step 4-3, calculate the final departure time : 。 6. The method according to claim 5, characterized in that Step 5 includes the following steps: Step 5-1, repeat step 3 for Z times and calculate the exit time A frequency estimate of a probability distribution function ,but ,in For a given trip chain The departure time is probability; For a given trip chain The departure time is Frequency estimation of against Any travel chain All are set to perform Z Monte Carlo calculations, and finally get: , , Step 5-2, set the prior probability , then the departure time is The condition of the chain Probability for: 。 7. The method according to claim 6, characterized in that Step 6 includes the following steps: Step 6-1, set up a chain set And the set of m routes involved in the travel chain , represents the mth line, Indicates a chain For Lines The normalized contribution rate of The value is 1~m, using the travel chain The set of m lines involved The mileage on each route is taken as the contribution, divided by the trip chain Total mileage, get the contribution rate ; For travel chain In the Lines Mileage on Step 6-2, using the matrix Describe the chain set For m lines The contribution rate of each line above: , in For travel chain For the mth line The normalized contribution rate of Step 6-3, for any OD record ,make ,in For OD records At departure time Under the condition that The probability of each OD record is obtained by calculating the probability vector of the distribution of the travel chains. : , , Step 6-4, in all Find the vector on the OD records The mean : ; Step 6-5: Comprehensive travel chain contribution to the route, record collection All trip OD records in The final allocation ratio of the lines for: ; Step 6-6, according to the final distribution ratio The observation time window The ticket money within the limit will be allocated to the relevant routes.

8. A computer storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Ticket business classifying method of orbit traffic transfer

    CN101231718A

  • Method for distributing passenger flows based on Logit model and Bayesian decision

    CN101964085A

  • Staged multi-path model algorithm of urban rail transit network passenger flow distribution

    CN102169524A

  • Automatic fare collection system based passenger path selection analyzing method

    CN107067103A

  • Metro ticket clearing method based on Gaussian hybrid model

    CN107301492A