Method and device for determining traffic connection ratio and data processing equipment
By using payment information to calculate the connection ratio between the subway station and the payment-bound transportation mode, combined with the estimated connection ratio, the problems of small survey sample size, weak representativeness and manual recording error in the prior art are solved, and a more accurate and scientific measurement of the traffic connection ratio is achieved.
Patent Information
- Application Number
- CN202410751055.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2044-06-12
AI Technical Summary
In the prior art, the sample size of the questionnaire method that surveys the traffic connection ratio of subway stations is low, has weak representativeness, and manual recording statistics are prone to errors, resulting in a difference between the results and the actual connection ratio, which affects the judgment of the connection characteristics of subway stations.
By obtaining payment information within the preset time period, the connection ratio between the transportation station and the payment-bound transportation mode is calculated, and combined with the estimated connection ratio, the connection ratio between each preset transportation mode is determined, and the accuracy and scientificity of the data are improved.
It improves the accuracy and scientificity of determining the traffic connection ratio, reduces manual recording errors, and ensures the authenticity and representativeness of the data.
Smart Images

Figure CN118761574B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of traffic technology, and more specifically, to a method and device for determining a traffic connection ratio and a data processing device. Background Art
[0002] The survey of subway station traffic connection ratio is an important measure to obtain the characteristics of subway station connection and improve the level of subway station connection service. At the same time, the survey of subway station traffic connection ratio can also provide data support for the connection planning and design of new subway stations.
[0003] At present, the common method for investigating the proportion of transportation connections at subway stations is to conduct surveys using on-site questionnaires around subway stations. The specific working method is to arrange a corresponding number of investigators at the entrances and exits of subway stations during peak hours to conduct on-site inquiries and record the connection methods of passengers entering and leaving. However, since passengers are busy commuting during peak hours in the morning and evening, only some people are willing to accept the survey, resulting in a low sample size and weak sample representativeness. In addition, due to manual record statistics, recording errors are inevitable. Therefore, there may be some differences between the questionnaire survey results of the proportion of transportation connections at subway stations and the actual connection ratio, which will directly affect the judgment of the connection characteristics of subway stations.
[0004] Therefore, how to improve the accuracy and scientificity of determining the proportion of transportation connections at subway stations has become a technical problem that needs to be solved in this field. Summary of the invention
[0005] In view of this, the present application proposes a method and device for determining a traffic connection ratio and a data processing device, which can improve the accuracy and scientificity of determining the traffic connection ratio of a traffic station.
[0006] In a first aspect, the present application proposes a method for determining a transportation connection ratio of a transportation station, the method comprising: for any preset transportation mode in a first preset transportation mode set, obtaining an estimated transportation connection ratio for connection between the transportation station and the preset transportation mode within a preset time period; based on payment information generated by using the transportation mode, determining a calculated transportation connection ratio for connection between the transportation station and the payment-bound transportation mode within the preset time period, wherein the payment-bound transportation mode is the preset transportation mode that can be paid using the same payment tool as the transportation mode corresponding to the transportation station; and determining the transportation connection ratio for connection between the transportation station and each preset transportation mode in the first preset transportation mode set based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio.
[0007] Optionally, based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, determining the transportation connection ratio between the transportation station and each preset transportation mode in the first preset transportation mode set, including: determining whether the difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode meets a preset condition; and determining the transportation connection ratio between the transportation station and each preset transportation mode in the first preset transportation mode set based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio.
[0008] Optionally, based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set is determined, including: when the determination result is that the preset condition is met, for any of the preset transportation modes in the first preset transportation mode set, the obtained estimated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the preset transportation mode; and / or when the determination result is that the preset condition is not met, the following content is performed: for the payment-bound transportation mode, the determined calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode; and for any of the preset transportation modes in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio for connecting between the transportation station and the preset transportation mode, wherein the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
[0009] Optionally, for any of the preset transportation modes in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio between the transportation station and the preset transportation mode, including: weighting the difference to the estimated transportation connection ratio corresponding to each of the preset transportation modes in the second preset transportation mode set to determine the transportation connection ratio between the transportation station and each of the preset transportation modes in the second preset transportation mode set.
[0010] Optionally, for any of the preset transportation modes in the second preset transportation mode set, the transportation connection ratio between the transportation station and the preset transportation mode is determined based on the following formula: Among them, Q i is the proportion of transportation connections between the transportation station and the preset transportation mode i, Qg is the estimated transportation connection ratio corresponding to the payment-bound transportation mode, Q gr is the calculated transportation connection ratio determined.
[0011] Optionally, based on the payment information generated by using the transportation method, the calculated transportation connection ratio between the transportation station and the payment-bound transportation method within the preset time period is determined, including: based on the payment information, determining the total number of people entering and exiting the transportation station within the preset time period; based on the payment information, determining the individual number of people who use the transportation station to connect with the payment-bound transportation method within the preset time period; and determining the calculated transportation connection ratio based on the determined total number of people and the determined individual number of people.
[0012] Optionally, the payment information includes identification information, start time, end time, start location, and end location of the payment tool, and based on the payment information, the number of people connecting between the transportation station and the payment-bound transportation method within the preset time period is determined, including: obtaining a first payment information set, wherein the first payment information set includes first payment information whose start time and end time are both within the preset time period, and the first payment information is payment information generated based on the transportation method corresponding to the transportation station, and the start location or end location included in the first payment information corresponds to the transportation station; obtaining a second payment information set, wherein the second payment information set includes second payment information whose start time and end time are both within the preset time period, and the second payment information is payment information generated using the payment-bound transportation method; and determining the number of people based on the first payment information set, the second payment information set and the identification information.
[0013] Optionally, the number of people is determined based on the first payment information set, the second payment information set and the identification information, including: matching the first payment information in the first payment information set with the second payment information in the second payment information set, and determining the first payment information and the second payment information including the same identification information as a quasi-docked payment information group; for any of the quasi-docked payment information groups, determining whether the first payment information and the second payment information included in the quasi-docked payment information group have a docking relationship based on at least one of the following: the start time and the end time, the start position and the end position; and determining the number of people based on the number of quasi-docked payment information groups in which the first payment information and the second payment information included have a docking relationship.
[0014] In a second aspect, the present application provides a device for determining the proportion of transportation connections at a transportation station, the device comprising: an estimated transportation connection proportion acquisition module, used to obtain, for any preset transportation mode in a first preset transportation mode set, an estimated transportation connection proportion of connections between the transportation station and the preset transportation mode within a preset time period; a calculated transportation connection proportion determination module, used to determine, based on payment information generated by using the transportation mode, a calculated transportation connection proportion of connections between the transportation station and the payment-bound transportation mode within the preset time period, wherein the payment-bound transportation mode is the preset transportation mode that can be paid using the same payment tool as the transportation mode corresponding to the transportation station; and a transportation connection proportion determination module, used to determine, based on each estimated transportation connection proportion obtained and the determined calculated transportation connection proportion, the transportation connection proportion of connections between the transportation station and each preset transportation mode in the first preset transportation mode set.
[0015] Optionally, the transportation connection ratio determination module determines the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, including: determining whether the difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode meets a preset condition; and determining the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio.
[0016] Optionally, based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set is determined, including: when the determination result is that the preset condition is met, for any of the preset transportation modes in the first preset transportation mode set, the obtained estimated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the preset transportation mode; and / or when the determination result is that the preset condition is not met, the following content is performed: for the payment-bound transportation mode, the determined calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode; and for any of the preset transportation modes in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio for connecting between the transportation station and the preset transportation mode, wherein the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
[0017] Optionally, for any of the preset transportation modes in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio between the transportation station and the preset transportation mode, including: weighting the difference to the estimated transportation connection ratio corresponding to each of the preset transportation modes in the second preset transportation mode set to determine the transportation connection ratio between the transportation station and each of the preset transportation modes in the second preset transportation mode set.
[0018] Optionally, for any of the preset transportation modes in the second preset transportation mode set, the transportation connection ratio between the transportation station and the preset transportation mode is determined based on the following formula: Among them, Q i is the proportion of transportation connections between the transportation station and the preset transportation mode i, Q g is the estimated transportation connection ratio corresponding to the payment-bound transportation mode, Q gr is the calculated transportation connection ratio determined.
[0019] Optionally, the module for calculating the transportation connection ratio determines the calculated transportation connection ratio of connections between the transportation station and the payment-bound transportation mode within the preset time period based on the payment information generated by using the transportation mode, including: determining the total number of people entering and exiting the transportation station within the preset time period based on the payment information; determining the individual number of people who use the transportation station to connect with the payment-bound transportation mode within the preset time period based on the payment information; and determining the calculated transportation connection ratio based on the determined total number of people and the determined individual number of people.
[0020] Optionally, the payment information includes identification information, start time, end time, start location, and end location of the payment tool, and based on the payment information, the number of people connecting between the transportation station and the payment-bound transportation method within the preset time period is determined, including: obtaining a first payment information set, wherein the first payment information set includes first payment information whose start time and end time are both within the preset time period, and the first payment information is payment information generated based on the transportation method corresponding to the transportation station, and the start location or end location included in the first payment information corresponds to the transportation station; obtaining a second payment information set, wherein the second payment information set includes second payment information whose start time and end time are both within the preset time period, and the second payment information is payment information generated using the payment-bound transportation method; and determining the number of people based on the first payment information set, the second payment information set and the identification information.
[0021] Optionally, the number of people is determined based on the first payment information set, the second payment information set and the identification information, including: matching the first payment information in the first payment information set with the second payment information in the second payment information set, and determining the first payment information and the second payment information including the same identification information as a quasi-docked payment information group; for any of the quasi-docked payment information groups, determining whether the first payment information and the second payment information included in the quasi-docked payment information group have a docking relationship based on at least one of the following: the start time and the end time, the start position and the end position; and determining the number of people based on the number of quasi-docked payment information groups in which the first payment information and the second payment information included have a docking relationship.
[0022] In a third aspect, the present application further provides a data processing device, which includes a memory and a processor, wherein the processor is configured to execute the above method based on instructions stored in the memory.
[0023] In a fourth aspect, the present application also provides a machine-readable storage medium, on which instructions are stored, and when the instructions are executed by a processor, the processor is configured to perform the steps according to the above method.
[0024] According to the technical solution of the present application, an estimated transportation connection ratio is obtained for any preset transportation mode in the first preset transportation mode set, and the calculated transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode in the first preset transportation mode set is determined based on the payment information, and then based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set is determined, so that the transportation connection ratio of the transportation station is determined. In addition, in the technical solution of the present application, when determining the transportation connection ratio of the transportation station, it is determined according to the calculated transportation connection ratio determined based on the payment information, and the acquisition of payment information does not require manual recording and statistics, avoiding the possibility of recording errors, and as long as the payment information that meets the conditions can be used, the data volume is sufficient and representative, so that the calculation of the transportation connection ratio based on the payment information is determined in a relatively accurate and scientific way, and the calculation of the transportation connection ratio based on the payment information is relatively real data. Therefore, the method of determining the traffic connection ratio of a transportation station according to the calculated traffic connection ratio determined based on payment information is relatively accurate and scientific, and the determined traffic connection ratio is more real and reliable, which improves the accuracy and scientificity of determining the traffic connection ratio of a transportation station. In addition, according to the technical solution of the present application, the traffic connection ratio of a transportation station can be determined simply and conveniently, which is highly operable, easy to promote, and has great reference value.
[0025] Other features and advantages of the present application will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The accompanying drawings constituting a part of the present application are used to provide a further understanding of the present application, and the schematic implementation modes and descriptions of the present application are used to explain the present application. In the accompanying drawings:
[0027] Figure 1 A flowchart of a method for determining a traffic connection ratio of a traffic station according to a preferred embodiment of the present application;
[0028] Figure 2 A schematic diagram of using an IC card to connect by bus and subway according to a preferred embodiment of the present application; and
[0029] Figure 3 It is a structural block diagram of a device for determining a traffic connection ratio of a traffic station according to a preferred embodiment of the present application. DETAILED DESCRIPTION
[0030] The technical solution of the present application will be described in detail below with reference to the accompanying drawings and in combination with the implementation modes.
[0031] In a first aspect, an embodiment of the present application provides a method for determining a transportation connection ratio of a transportation station.
[0032] Figure 1 Flow chart of a method for determining a traffic connection ratio of a traffic station according to a preferred embodiment of the present application. Figure 1 As shown, the method includes the following contents.
[0033] In step S10, for any preset transportation mode in the first preset transportation mode set, the estimated transportation connection ratio between the transportation station and the preset transportation mode within the preset time period is obtained. Among them, the preset transportation mode refers to the transportation mode included in the first preset transportation mode set. In addition, the first preset transportation mode set can be determined according to specific circumstances, and there is no restriction on this, as long as it can be directly connected with the transportation station. The number of preset transportation modes included in the first preset transportation mode set can also be determined according to specific circumstances, and there is no restriction on this, but at least includes payment-bound transportation modes. Among them, the payment-bound transportation mode is a preset transportation mode that can be paid with the same payment tool as the transportation mode corresponding to the transportation station. For example, the transportation station is a subway station, and the transportation mode corresponding to the subway station is taking the subway, and the payment tool for taking the subway can be an IC card. The payment tool for taking the bus is also an IC card. Taking the bus is a payment-bound transportation mode for taking the subway. In addition, in the embodiment of the present application, the transportation station can be a subway station, a bus station, or other stations that can carry out transportation, as long as it can meet the technical concept of the present application, and there is no restriction on this. In addition, the preset time period can be determined according to specific circumstances and there is no restriction on this.
[0034] Optionally, in the embodiment of the present application, for any preset transportation mode in the first preset transportation mode set, the estimated transportation connection ratio is the transportation connection ratio obtained by estimating statistics, for example, obtained by questionnaire survey, or estimated by residential information near transportation stations.
[0035] The following information can only be used when the estimated transportation connection ratio is obtained by questionnaire survey. During peak hours, a corresponding number of investigators are arranged at the entrance and exit of transportation stations to conduct on-site inquiries and record the connection methods of passengers entering and leaving. Statistics are collected based on the information obtained from the inquiries to obtain the estimated transportation connection ratio between the transportation station and any preset transportation mode. It should be noted that this includes the estimated transportation connection ratio between the transportation station and the payment-bound transportation mode.
[0036] In step S11, based on the payment information generated by using the transportation mode, the calculated transportation connection ratio of the transportation station and the payment-bound transportation mode within the preset time period is determined, wherein the payment-bound transportation mode is a preset transportation mode that can be paid with the same payment tool as the transportation mode corresponding to the transportation station. The calculated transportation connection ratio is the transportation connection ratio of the transportation station and the payment-bound transportation mode determined based on the payment information.
[0037] In step S12, based on each estimated traffic connection ratio obtained and the determined calculated traffic connection ratio, the traffic connection ratio between the traffic station and each preset traffic mode in the first preset traffic mode set is determined. Optionally, in the embodiment of the present application, the traffic connection ratio between the traffic station and each preset traffic mode in the first preset traffic mode set can be determined based on the size relationship between the determined calculated traffic connection ratio and the estimated traffic connection ratio corresponding to the payment-bound traffic mode. Specifically, the determined calculated traffic connection ratio is compared with the estimated traffic connection ratio corresponding to the payment-bound traffic mode, and based on the comparison result, each estimated traffic connection ratio obtained and the determined calculated traffic connection ratio, the traffic connection ratio between the traffic station and each preset traffic mode in the first preset traffic mode set is determined. It should be noted that the estimated traffic connection ratio corresponding to the payment-bound traffic mode is the estimated traffic connection ratio between the obtained traffic station and the payment-bound traffic mode.
[0038] Optionally, in an embodiment of the present application, based on each estimated traffic connection ratio obtained and the determined calculated traffic connection ratio, determining the traffic connection ratio for connecting between the traffic station and each preset traffic mode in the first preset traffic mode set may include the following content. Determine whether the difference between the determined calculated traffic connection ratio and the estimated traffic connection ratio corresponding to the payment-bound traffic mode meets the preset condition. Among them, the preset condition may be determined according to the situation. For example, the preset condition may be that the absolute value of the difference is within a preset difference range. Among them, the preset difference range may be determined according to the specific situation. For example, the preset difference range may be greater than or equal to 0 and less than or equal to 1. Or the preset condition may be that the difference is 0. Based on the determination result, each estimated traffic connection ratio obtained and the determined calculated traffic connection ratio, determine the traffic connection ratio for connecting between the traffic station and each preset traffic mode in the first preset traffic mode set.
[0039] Optionally, in an embodiment of the present application, based on the judgment result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, the transportation connection ratio between the transportation station and each preset transportation mode in the first preset transportation mode set is determined, which may include at least one of the following.
[0040] When the determination result is that the preset conditions are met, for any preset transportation mode in the first preset transportation mode set, the obtained estimated transportation connection ratio is determined as the transportation connection ratio between the transportation station and the preset transportation mode. In other words, when the determination structure is that the preset conditions are met, the estimated transportation connection ratio is relatively accurate, and for any preset transportation mode, the estimated transportation connection ratio is directly determined as the transportation connection ratio between the transportation station and the preset transportation mode.
[0041] If the result of the determination is that the preset conditions are not met, the following contents are executed. The estimated transportation connection ratios corresponding to the preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode are adjusted to determine the transportation connection ratios for connecting with transportation stations. Specifically, for the payment-bound transportation mode, the determined calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode. For any preset transportation mode in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio for connecting between the transportation station and the preset transportation mode. Among them, the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
[0042] Through the technical solution provided in the implementation mode of the present application, the estimated traffic connection ratio can be checked and adjusted, and the accuracy and scientificity of determining the traffic connection ratio of the transportation station are significantly and accurately improved.
[0043] Optionally, in the embodiment of the present application, for any preset transportation mode in the second preset transportation mode set, the estimated transportation connection ratio obtained is adjusted based on the difference to determine the transportation connection ratio for connecting between the transportation station and the preset transportation mode, which may include the following. The difference is weighted and distributed to the estimated transportation connection ratio corresponding to each preset transportation mode in the second preset transportation mode set to determine the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the second preset transportation mode set. It should be noted that for any preset transportation mode, the estimated transportation connection ratio corresponding to the preset transportation mode is the estimated transportation connection ratio for connecting between the obtained transportation station and the preset transportation mode. In addition, in the embodiment of the present application, the estimated transportation connection ratio corresponding to each preset transportation mode in the first preset transportation mode set is summed, and the result obtained is 100%. In the case where there is a difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode and the difference does not meet the preset condition, the difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode is distributed to each preset transportation mode in the second preset transportation mode set.
[0044] Optionally, in the implementation manner of the present application, for any preset transportation mode in the second preset transportation mode set, the transportation connection ratio between the transportation station and the preset transportation mode is determined based on the following formula: Among them, Q i ′ is the proportion of transportation connections between transportation stations and preset transportation mode i, Q g is the estimated transportation connection ratio corresponding to the payment-bound transportation mode g, Q gr is the calculated transportation connection ratio (the calculated transportation connection ratio between the transportation station and the payment-bound transportation mode g), Q i is the estimated transportation connection ratio corresponding to the preset transportation mode i.
[0045] For example, the first preset transportation mode set includes n+1 preset transportation modes, among which the payment-bound transportation mode is marked as g, and the other preset transportation modes are marked as 1, 2, 3, 4...i...n in sequence. In other words, the preset transportation modes in the second preset transportation mode set are marked as 1, 2, 3, 4...i...n in sequence. i ,...Q n They represent the estimated transportation connection ratios corresponding to preset transportation mode 1, preset transportation mode 2, preset transportation mode 3, preset transportation mode 4, ... preset transportation mode i, ... preset transportation mode n, respectively. Q g +Q1+Q2+Q3+Q4+...+Qi +…+Q n =100%. Q1′, Q2′, Q3′, Q4′,..., Q i ',...Q n ′ respectively represents the proportion of transportation connections between preset transportation mode 1, preset transportation mode 2, preset transportation mode 3, preset transportation mode 4, ... preset transportation mode i, ... preset transportation mode n and transportation stations. Q g Q is the estimated transportation connection ratio corresponding to the payment-bound transportation mode g. gr is the calculated traffic connection ratio. g ′ is the proportion of transportation connections between the payment-bound transportation mode g and the transportation station.
[0046]
[0047] In addition, Q g ′=Q gr .
[0048] Optionally, in an embodiment of the present application, based on the payment information generated by using the transportation method, determining the calculated transportation connection ratio for connecting between the transportation station and the payment-bound transportation method within a preset time period may include the following contents.
[0049] Based on the payment information, the total number of people entering and leaving the transportation station within the preset time period is determined. For example, the payment information indicates the start time, end time, start position and end position of the transportation method. Thus, based on the start time, end time, start position and end position included in the payment information, the total number of people entering and leaving the transportation station within the preset time period is determined. Specifically, the payment information whose start time and end time are both within the preset time period can be first screened out, and then the payment information whose start position or end position corresponds to the transportation station can be determined from the screened payment information, and finally the number of the determined payment information can be calculated, and the calculated number is the total number of people entering and leaving the transportation station within the preset time period. Among them, the correspondence between the start position or the end position and the transportation station indicates that the start position is the location where the transportation station is located or the end position is the location where the transportation station is located. Alternatively, the payment information whose start position or end position corresponds to the transportation station can be first screened out, and then the payment information whose start time and end time are both within the preset time period can be determined from the screened payment information, and the number of the payment information finally obtained can be counted, so as to obtain the total number of people entering and leaving the transportation station within the preset time period.
[0050] Based on the payment information, the number of people who use the transportation station and the payment-bound transportation mode for connection within the preset time period is determined. The number of people is the sum of the number of people who exit the station from the transportation station and then use the payment-bound transportation mode within the preset time period and the number of people who first use the payment-bound transportation mode and then enter the station from the transportation station within the preset time period.
[0051] Based on the determined total number of people and the determined individual number of people, the transportation connection ratio is determined. Specifically, the determined individual number of people is divided by the determined total number of people to obtain the transportation connection ratio. For example, the calculation formula is: Among them, Q gr is the calculated transportation connection ratio, M is the number of people, and N is the total number of people.
[0052] Optionally, in the implementation mode of the present application, the payment information includes the identification information of the payment tool, the start time, the end time, the start location, and the end location. The start time is the time when the use of the transportation method starts, the end time is the time when the use of the transportation method ends, the start location is the location where the use of the transportation method starts, and the end location is the location where the use of the transportation method ends. In addition, the payment information may also include other content, which is not limited. Figure 2 As shown, the payment tool is an IC card. When taking a bus, the payment information recorded by the bus card includes the card number, boarding time, boarding station, alighting station, alighting time, line number, boarding station longitude and latitude, and alighting station longitude and latitude; when taking the subway, the payment information recorded by the subway card includes the card number, entry time, entry station, exit station, exit time, line number, entry station longitude and latitude, and exit station longitude and latitude. Among them, the card number is the identification information of the IC card; the boarding time and the entry time correspond to the start time described in the embodiment of the present application; the alighting time and the exit time correspond to the end time described in the embodiment of the present application; the boarding station longitude and latitude and the entry station longitude and latitude correspond to the start position described in the embodiment of the present application; the alighting station longitude and latitude and the exit station longitude and latitude correspond to the end position described in the embodiment of the present application. In addition, for convenience, the payment information recorded by the bus card also records the boarding station, the alighting station and the line number; the payment information recorded by the subway card also includes the entry station, the exit station and the line number. In addition, in the implementation mode of the present application, the payment tool may also be a QR code presented by the APP, wherein the identification information may be the user name of the APP. Optionally, in the implementation mode of the present application, the starting position and / or the ending position may be coordinate information, or longitude and latitude information, or other information that can indicate the location, and there is no limitation on this.
[0053] Based on the payment information, the number of people connecting between the transportation station and the payment-bound transportation method within a preset time period is determined, which may include the following contents.
[0054] Get the first payment information set. Among them, the first payment information set includes the first payment information whose start time and end time are both within the preset time period. The first payment information is the payment information generated based on the transportation method corresponding to the transportation station. For example, if the transportation station is a subway station, the transportation method corresponding to the transportation station is taking the subway; if the transportation station is a bus station, the transportation method corresponding to the transportation station is taking the bus. The starting position or the ending position included in the first payment information corresponds to the transportation station. In other words, the starting position is the location of the transportation station or the ending position is the location of the transportation station. For example, taking the transportation station as a subway station as an example, the transportation method corresponding to the transportation station is taking the subway, and the payment information recorded by the subway card swiping refers to Figure 2 As shown, for the payment information of the subway card swiping records obtained, for any payment information, the start time and end time included therein are compared with the preset time period, the entry station or exit station included therein is compared with the transportation station, or the latitude and longitude of the entry station or the latitude and longitude of the exit station included therein are compared with the location of the transportation station to determine the first payment information set.
[0055] Get the second payment information set, where the second payment information set includes the second payment information whose start time and end time are both within the preset time period, and the second payment information is the payment information generated by using the payment-bound transportation method. For example, the transportation station is a subway station, and both taking the bus and taking the subway use IC cards for payment, and the payment-bound transportation method is taking the bus. Figure 2 Taking the payment information of the bus card swiping record as an example, for the obtained payment information of the bus card swiping record, for any payment information, the start time and end time included therein are compared with the preset time period to determine the second payment information set.
[0056] The number of people is determined based on the first payment information set, the second payment information set and the identification information.
[0057] Optionally, in an embodiment of the present application, determining the number of people based on the first payment information set, the second payment information set and the identification information may include the following contents.
[0058] Match the first payment information in the first payment information set with the second payment information in the second payment information set, and determine the first payment information and the second payment information including the same identification information as a quasi-connected payment information group. The first payment information and the second payment information including the same identification information may have a connection relationship. In other words, the behaviors of using the transportation methods corresponding to the first payment information and the second payment information including the same identification information may be transfer behaviors. For example, taking the transportation station as a subway station as an example, the transportation method corresponding to the transportation station is taking the subway, the payment-bound transportation method is taking the bus, the payment tool is an IC card, and the identification information is the card number, where the payment information can refer to Figure 2 As shown. When passengers make a subway-bus transfer, they normally use the same IC card to ride the bus. Therefore, when transferring between the subway and the bus, the corresponding payment information must include the same card number. Therefore, by judging whether the payment information of a bus ride record and the payment information of a subway ride record include the same card number, it is possible to determine whether the bus ride and the subway ride are transfer behaviors or whether they have a connection relationship, that is, to determine whether the payment information of the bus ride record and the payment information of the subway ride record have a connection relationship. It should be noted that the quasi-connection payment information group includes a first payment information and a second payment information. In the implementation manner of the present application, multiple quasi-connection payment information groups may be determined.
[0059] For any quasi-connection payment information group, whether the first payment information and the second payment information included in the quasi-connection payment information group have a connection relationship is determined based on at least one of the following: start time and end time, start location and end location. In an embodiment of the present application, when a passenger transfers between two modes of transportation, or when two modes of transportation connect, the time interval between the two modes of transportation is relatively short and / or the distance interval is relatively small. In other words, after determining that the transfer time interval between the two modes of transportation is relatively short and / or the transfer distance interval is relatively small, it can be determined as a transfer behavior. Therefore, for any quasi-connection payment information group, whether the first payment information and the second payment information included therein have a connection relationship is determined based on the start time and end time and / or the start location and end location.
[0060] Optionally, the start time and the end time are used to determine whether the time interval between the behaviors of using the mode of transportation corresponding to the first payment information and the second payment information is short. For example, determine whether the time interval between the end time included in the first payment information and the start time included in the second payment information is short; or, determine whether the time interval between the end time included in the second payment information and the start time included in the first payment information is short. Optionally, in an embodiment of the present application, a preset time interval threshold may be set, and the time interval may be compared with the preset time interval threshold to determine whether the time interval is short. Specifically, if the time interval is less than or equal to the preset time interval threshold, the time interval is determined to be short; if the time interval is greater than the preset time interval threshold, the time interval is determined to be long.
[0061] Optionally, the starting position and the ending position are used to determine whether the distance interval between the behaviors of using the mode of transportation corresponding to the first payment information and the second payment information is small. For example, determine whether the distance interval between the ending position included in the first payment information and the starting position included in the second payment information is small; or, determine whether the distance interval between the ending position included in the second payment information and the starting position included in the first payment information is small. Optionally, in an embodiment of the present application, a preset distance interval threshold may be set, and the distance interval may be compared with the preset distance interval threshold to determine whether the distance interval is small. Specifically, if the distance interval is less than or equal to the preset distance interval threshold, the distance interval is determined to be small; if the distance interval is greater than the preset distance interval threshold, the distance interval is determined to be large.
[0062] It should be noted that in the implementation manner of the present application, the preset time interval threshold and / or the preset distance interval threshold can be determined according to specific circumstances, and there is no limitation on this. For example, the preset time interval can be 30 minutes; the preset distance interval can be 1 kilometer.
[0063] The number of sub-numbers is determined based on the number of quasi-connected payment information groups in which the first payment information and the second payment information are connected. In other words, the number of sub-numbers is the number of quasi-connected payment information groups in which the first payment information and the second payment information are connected.
[0064] In a second aspect, the present application provides a device for determining a transportation connection ratio of a transportation station.
[0065] Figure 3 FIG. 1 is a structural block diagram of a device for determining a traffic connection ratio of a traffic station according to a preferred embodiment of the present application. Figure 3 As shown, the device includes a module 30 for obtaining an estimated traffic connection ratio, a module 32 for calculating a traffic connection ratio, and a module 31 for determining a traffic connection ratio.
[0066] The estimated transportation connection ratio acquisition module 30 is used to obtain the estimated transportation connection ratio of the connection between the transportation station and the preset transportation mode within the preset time period for any preset transportation mode in the first preset transportation mode set. The calculated transportation connection ratio determination module 32 is used to determine the calculated transportation connection ratio of the connection between the transportation station and the payment-bound transportation mode within the preset time period based on the payment information generated by the use of the transportation mode, wherein the payment-bound transportation mode is a preset transportation mode that can be paid with the same payment tool as the transportation mode corresponding to the transportation station. The transportation connection ratio determination module 31 is used to determine the transportation connection ratio of the connection between the transportation station and each preset transportation mode in the first preset transportation mode set based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio.
[0067] Optionally, in an embodiment of the present application, the transportation connection ratio determination module determines the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, including: determining whether the difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode meets a preset condition; and determining the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio.
[0068] Optionally, in an embodiment of the present application, based on the judgment result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, the transportation connection ratio between the transportation station and each preset transportation mode in the first preset transportation mode set is determined, including: when the judgment result is that the preset condition is met, for any preset transportation mode in the first preset transportation mode set, the obtained estimated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the preset transportation mode; and / or when the judgment result is that the preset condition is not met, the following content is executed: for the payment-bound transportation mode, the determined calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode; and for any preset transportation mode in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio for connecting between the transportation station and the preset transportation mode, wherein the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
[0069] Optionally, in an embodiment of the present application, for any preset transportation mode in the second preset transportation mode set, the obtained estimated transportation connection ratio is adjusted based on the difference to determine the transportation connection ratio between the transportation station and the preset transportation mode, including: weighting the difference to the estimated transportation connection ratio corresponding to each preset transportation mode in the second preset transportation mode set to determine the transportation connection ratio between the transportation station and each preset transportation mode in the second preset transportation mode set.
[0070] Optionally, in the implementation manner of the present application, for any preset transportation mode in the second preset transportation mode set, the transportation connection ratio between the transportation station and the preset transportation mode is determined based on the following formula: Among them, Q i is the proportion of transportation connections between transportation stations and preset transportation mode i, Q g Q is the estimated transportation connection ratio corresponding to the payment binding transportation mode. gr is the calculated transportation connection ratio determined.
[0071] Optionally, in an embodiment of the present application, a module for calculating the transportation connection ratio determines the calculated transportation connection ratio for connections between transportation stations and payment-bound transportation modes within a preset time period based on payment information generated by using the transportation mode, including: determining the total number of people entering and exiting the transportation station within the preset time period based on the payment information; determining the individual number of people who use the transportation station to connect with the payment-bound transportation mode within the preset time period based on the payment information; and determining the calculated transportation connection ratio based on the determined total number of people and the determined individual number of people.
[0072] Optionally, in an embodiment of the present application, the payment information includes identification information of the payment tool, a start time, an end time, a start location, and an end location, and based on the payment information, the number of people connecting between the transportation station and the payment-bound transportation method within a preset time period is determined, including: obtaining a first payment information set, wherein the first payment information set includes first payment information whose start time and end time are both within the preset time period, and the first payment information is payment information generated based on the transportation method corresponding to the transportation station, and the start location or end location included in the first payment information corresponds to the transportation station; obtaining a second payment information set, wherein the second payment information set includes second payment information whose start time and end time are both within the preset time period, and the second payment information is payment information generated using the payment-bound transportation method; and determining the number of people based on the first payment information set, the second payment information set and the identification information.
[0073] Optionally, in an embodiment of the present application, the number of people is determined based on the first payment information set, the second payment information set and the identification information, including: matching the first payment information in the first payment information set with the second payment information in the second payment information set, and determining the first payment information and the second payment information including the same identification information as a quasi-docked payment information group; for any quasi-docked payment information group, determining whether the first payment information and the second payment information included in the quasi-docked payment information group have a docking relationship based on at least one of the following: start time and end time, start position and end position; and determining the number of people based on the number of quasi-docked payment information groups in which the first payment information and the second payment information included have a docking relationship.
[0074] The specific working principle and benefits of the device for determining the traffic connection ratio of a transportation station provided in the embodiment of the present application are similar to the specific working principle and benefits of the method for determining the traffic connection ratio of a transportation station provided in the embodiment of the present application, and will not be repeated here.
[0075] In a third aspect, an embodiment of the present application further provides a data processing device, which includes a memory and a processor, and the processor is configured to execute the method described in the above embodiment based on instructions stored in the memory.
[0076] In a fourth aspect, an embodiment of the present application further provides a machine-readable storage medium, on which instructions are stored, and when the instructions are executed by a processor, the processor is configured to execute the steps of the method described in the above embodiment.
[0077] The preferred embodiments of the present application are described in detail above; however, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, a variety of simple modifications can be made to the technical solution of the present application, and these simple modifications all fall within the protection scope of the present application.
[0078] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this application will not further describe various possible combinations.
[0079] In addition, the various implementation modes of the present application may be arbitrarily combined, and as long as they do not violate the concept of the present application, they should also be regarded as the contents disclosed by the present invention.
Claims
1. A method for determining a traffic connection ratio of a traffic station, characterized in that: The method includes: For any preset transportation mode in the first preset transportation mode set, obtaining an estimated transportation connection ratio between the transportation station and the preset transportation mode within a preset time period; Based on the payment information generated by using the transportation mode, determining the calculated transportation connection ratio of the connection between the transportation station and the payment-bound transportation mode within the preset time period, wherein the payment-bound transportation mode is the preset transportation mode that can be paid with the same payment tool as the transportation mode corresponding to the transportation station; Determining whether a difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode satisfies a preset condition; and Determine a transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on the determination result, each estimated transportation connection ratio obtained, and the determined calculated transportation connection ratio; Wherein, based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, determining the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set includes: When the determination result satisfies the preset condition, for any of the preset transportation modes in the first preset transportation mode set, the estimated transportation connection ratio is determined as the transportation connection ratio between the transportation station and the preset transportation mode; and / or If the determination result is that the preset condition is not met, the following is performed: For the payment-bound transportation mode, the calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode; and For any of the preset transportation modes in the second preset transportation mode set, the estimated transportation connection ratio obtained is adjusted based on the difference to determine the transportation connection ratio between the transportation station and the preset transportation mode, wherein the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
2. The method according to claim 1, characterized in that For any of the preset transportation modes in the second preset transportation mode set, adjusting the obtained estimated transportation connection ratio based on the difference to determine the transportation connection ratio of connecting between the transportation station and the preset transportation mode, including: The difference is weighted and distributed to the estimated transportation connection ratio corresponding to each of the preset transportation modes in the second preset transportation mode set to determine the transportation connection ratio between the transportation station and each of the preset transportation modes in the second preset transportation mode set.
3. The method according to claim 2, characterized in that For any of the preset transportation modes in the second preset transportation mode set, the transportation connection ratio between the transportation station and the preset transportation mode is determined based on the following formula: Among them, Q i is the proportion of transportation connections between the transportation station and the preset transportation mode i, Q g is the estimated transportation connection ratio corresponding to the payment-bound transportation mode, Q gr is the calculated transportation connection ratio determined.
4. The method according to any one of claims 1 to 3, characterized in that Based on the payment information generated by using the transportation mode, determining the calculated transportation connection ratio of the connection between the transportation station and the payment-bound transportation mode within the preset time period, including: Based on the payment information, determining the total number of people entering and exiting the transportation station within the preset time period; Based on the payment information, determining the number of people who use the transportation station and the payment-bound transportation method for connection within the preset time period; and The calculated transportation connection ratio is determined based on the determined total number of people and the determined individual number of people.
5. The method according to claim 4, characterized in that The payment information includes the identification information, start time, end time, start location, and end location of the payment tool. Based on the payment information, the number of people connecting between the transportation station and the payment-bound transportation mode within the preset time period is determined, including: Obtaining a first payment information set, wherein the first payment information set includes first payment information where both the start time and the end time are within the preset time period, the first payment information is payment information generated based on the use of the transportation method corresponding to the transportation station, and the start location or the end location included in the first payment information corresponds to the transportation station; Obtaining a second payment information set, wherein the second payment information set includes second payment information where both the start time and the end time are within the preset time period, and the second payment information is payment information generated using the payment-bound transportation method; and The number of people is determined based on the first payment information set, the second payment information set and the identification information.
6. The method according to claim 5, characterized in that Determining the number of people based on the first payment information set, the second payment information set, and the identification information includes: matching the first payment information in the first payment information set with the second payment information in the second payment information set, and determining the first payment information and the second payment information including the same identification information as a quasi-connected payment information group; For any of the quasi-dock payment information groups, determining whether the first payment information and the second payment information included in the quasi-dock payment information group have a docking relationship based on at least one of the following: the start time and the end time, the start position and the end position; and The number of divided persons is determined based on the number of the quasi-docking payment information groups including the first payment information and the second payment information having a docking relationship.
7. A device for determining the traffic connection ratio of a traffic station, characterized in that: The device includes: An estimated traffic connection ratio acquisition module, used for acquiring, for any preset traffic mode in the first preset traffic mode set, an estimated traffic connection ratio of connection between the traffic station and the preset traffic mode within a preset time period; a calculated transportation connection ratio determination module, configured to determine, based on payment information generated by using the transportation method, a calculated transportation connection ratio for connecting between the transportation station and the payment-bound transportation method within the preset time period, wherein the payment-bound transportation method is the preset transportation method that can be paid with the transportation method corresponding to the transportation station using the same payment tool; and The module for determining the proportion of traffic connection is used to: Determining whether a difference between the determined calculated transportation connection ratio and the estimated transportation connection ratio corresponding to the payment-bound transportation mode satisfies a preset condition; and Determine a transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set based on the determination result, each estimated transportation connection ratio obtained, and the determined calculated transportation connection ratio; Wherein, based on the determination result, each estimated transportation connection ratio obtained and the determined calculated transportation connection ratio, determining the transportation connection ratio for connecting between the transportation station and each preset transportation mode in the first preset transportation mode set includes: When the determination result satisfies the preset condition, for any of the preset transportation modes in the first preset transportation mode set, the estimated transportation connection ratio is determined as the transportation connection ratio between the transportation station and the preset transportation mode; and / or If the determination result is that the preset condition is not met, the following is performed: For the payment-bound transportation mode, the calculated transportation connection ratio is determined as the transportation connection ratio for connecting between the transportation station and the payment-bound transportation mode; and For any of the preset transportation modes in the second preset transportation mode set, the estimated transportation connection ratio obtained is adjusted based on the difference to determine the transportation connection ratio between the transportation station and the preset transportation mode, wherein the second preset transportation mode set includes the remaining preset transportation modes in the first preset transportation mode set except the payment-bound transportation mode.
8. A data processing device, characterized in that: The data processing device comprises a memory and a processor, wherein the processor is configured to execute the method according to any one of claims 1 to 6 based on instructions stored in the memory.
9. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions, which, when executed by a processor, cause the processor to be configured to perform the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Method, device and system for determining travel passenger flow of public transport station
CN111932925A
Public transport means transfer data processing method and device, equipment and storage medium
CN114820264A