CN106846807B - A kind of public transport road chain speed determines method and device - Google Patents
A kind of public transport road chain speed determines method and device Download PDFInfo
- Publication number
- CN106846807B CN106846807B CN201710136936.0A CN201710136936A CN106846807B CN 106846807 B CN106846807 B CN 106846807B CN 201710136936 A CN201710136936 A CN 201710136936A CN 106846807 B CN106846807 B CN 106846807B
- Authority
- CN
- China
- Prior art keywords
- bus
- link
- time period
- positioning data
- speed
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004364 calculation method Methods 0.000 claims description 27
- 238000007781 pre-processing Methods 0.000 claims description 16
- 230000029305 taxis Effects 0.000 claims description 6
- 238000012512 characterization method Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 9
- 238000011160 research Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 5
- 240000002853 Nelumbo nucifera Species 0.000 description 3
- 235000006508 Nelumbo nucifera Nutrition 0.000 description 3
- 235000006510 Nelumbo pentapetala Nutrition 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000004927 fusion Effects 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0108—Measuring and analyzing of parameters relative to traffic conditions based on the source of data
- G08G1/0112—Measuring and analyzing of parameters relative to traffic conditions based on the source of data from the vehicle, e.g. floating car data [FCD]
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0137—Measuring and analyzing of parameters relative to traffic conditions for specific applications
Landscapes
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Traffic Control Systems (AREA)
Abstract
The present invention relates to a kind of public transport road chain speed to determine method and device, the determining method includes: to pre-process to bus dispatching data, bus location data, taxi location data, public transportation lane data and traffic lights data, obtains the road condition data of multi-data source characterization;Judge that road chain is public transportation lane or ordinary lane;Pretreated taxi location data is stored in first information table;The pretreated bus location data for belonging to public transportation lane is stored in the second information table;The pretreated bus location data for belonging to ordinary lane is stored in third information table;According to road chain judging result, location data in first information table, the location data in the second information table, the location data in third information table are counted according to date type, period, vehicle running state, determine the corresponding bus travel speed of each road chain using statistical result.
Description
Technical Field
The invention relates to the technical field of bus road condition analysis, in particular to a method and a device for determining bus link speed.
Background
Most of the research on road conditions at home and abroad is concentrated on urban road conditions, and the research on bus road conditions is quite few. The research point of road conditions is obviously different from the research technology due to different compositions of domestic and foreign traffic data sources.
The literature discloses a bus road condition processing system and method based on traffic multi-metadata fusion, and the system comprises a preprocessing module, a source data processing module, a data source evaluation module and a data fusion module. The data sources comprise three types of bus GPS positioning data, taxi GPS positioning data and road section video data. The preprocessing module is used for processing traffic multi-source data; the source data processing module is used for processing the non-public traffic data source road condition calculation result data; the data source evaluation module comprises an evaluation framework for evaluating the quality of the data source, and the credibility of the multi-source data on the calculation result of the bus road condition can be obtained through the processing of the evaluation framework; and the data fusion module performs weighted calculation on the multi-source data based on the data source evaluation result to finally obtain the required bus road condition data.
Although the technical scheme can calculate the bus road condition, the data sources are relatively few, and only the bus GPS data, the taxi GPS data and the road section video data are included. The bus lane information which has great influence on the bus road condition is calculated by video data and has certain difference with the real bus lane information; traffic lights greatly influence the bus road conditions, and the traffic light factor is not considered in the technical scheme. In addition, in the existing research on the bus road conditions, although the research exists by taking the historical speed and other information of the road as data sources, the historical information of the road is only divided according to time periods, the division granularity is too coarse, the bus road conditions are closely related to the time periods, and the working days and holidays have great influence on the bus road conditions. At present, no research exists for using the information of working days and holidays as the data source of the public traffic road conditions.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a method and a device for determining the speed of a bus link, solves the defects of the prior art, and provides a bus traffic condition analysis method based on bus dispatching and positioning data, which is used for improving the accuracy of a bus traffic condition calculation result and providing data support for bus driving planning, real-time dispatching and arrival and departure forecast.
In order to achieve the purpose, the invention provides a method for determining the speed of a bus link, which comprises the following steps:
preprocessing public transport scheduling data, public transport positioning data, taxi positioning data, public transport lane data and traffic light data to obtain road condition data represented by multiple data sources;
judging whether the road link is a bus lane or a common lane;
storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table; the positioning data in the information table is stored in a mode of date type, time period and vehicle running state; the vehicle running state is determined according to the bus dispatching data, the bus positioning data, the taxi positioning data and the traffic light data;
according to the road link judgment result, counting the positioning data in the first information table, the positioning data in the second information table and the positioning data in the third information table according to the date type, the time period and the vehicle running state, and determining the running speed of the bus corresponding to each road link by using the counting result; the vehicle running state is determined according to the bus scheduling data, the bus positioning data, the taxi positioning data and the traffic light data;
when the road links are ordinary lanes, counting the number of the bus positioning data information in each time period corresponding to each road link by using the data information in the third information table; if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is zero, counting the number of the taxi positioning data information in each time period corresponding to each link by using the data information in the first information table, and judging whether the number of the taxi positioning data information in the corresponding time period is zero or not; if the number of the taxi positioning data information in the corresponding time period is not zero, determining the bus link speed in the time period corresponding to the link by using the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link; the average speed of the taxis in the time period corresponding to the link is determined by dividing the sum of the speeds of the corresponding link and the taxi positioning data information in the corresponding time period in the first information table by the number of the taxi positioning data information in the link corresponding to the current time period.
Optionally, in an embodiment of the present invention, the link is a bus lane, and the number of pieces of bus location data information in each time period corresponding to each link is counted by using data information in the second information table; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the result of the speed addition in each piece of the bus positioning data information by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
Optionally, in an embodiment of the present invention, if the number of pieces of bus positioning data information of a link corresponding to a certain time period within a target time is zero, the bus link speed of the link corresponding to the time period is determined by using the bus link speed of the previous time period of the link and the average bus link speed of the current time period corresponding to the date type of the current time period, which is in the last year.
Optionally, in an embodiment of the present invention, if the number of pieces of bus positioning data information of a link corresponding to a certain time period within a target time is not zero, the bus link speed of the link corresponding to the time period is determined by dividing a result of adding speeds in the link corresponding to the third information table and each piece of bus positioning data information of the corresponding time period by the number of pieces of bus positioning data information of the link corresponding to the current time period.
Optionally, in an embodiment of the present invention, if the number of pieces of taxi positioning data information in the corresponding time period is zero, the speed of the bus link in the previous time period of the link and the average speed of the bus link in the last year of the corresponding date type in the current time period are used to determine the speed of the bus link in the corresponding time period.
Optionally, in an embodiment of the present invention, the bus positioning data in the second information table and the bus positioning data in the third information table both include bus positioning data of a vehicle driving state being a waiting light driving state and bus positioning data of an inter-station driving state.
Optionally, in an embodiment of the present invention, the taxi positioning data in the first information table includes taxi positioning data of a vehicle driving state that is a waiting light driving state and taxi positioning data of an unequal light driving state.
Correspondingly, in order to achieve the above object, the present invention further provides a device for determining a speed of a bus link, including:
the preprocessing unit is used for preprocessing the bus scheduling data, the bus positioning data, the taxi positioning data, the bus lane data and the traffic light data to obtain road condition data represented by multiple data sources;
the road link judging unit is used for judging whether the road link is a bus lane or a common lane;
the information table generating unit is used for storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table; the positioning data in the information table is stored in a mode of date type, time period and vehicle running state; the vehicle running state is determined according to the bus dispatching data, the bus positioning data, the taxi positioning data and the traffic light data;
the link speed calculation unit is used for carrying out statistics according to the link judgment result by using the positioning data in the first information table, the positioning data in the second information table and the positioning data in the third information table according to the date type, the time period and the vehicle running state, and determining the bus running speed corresponding to each link by using the statistical result; the vehicle running state is determined according to the bus scheduling data, the bus positioning data, the taxi positioning data and the traffic light data;
the road link speed calculating unit further comprises a third calculating module, and the third calculating module is used for counting the number of the bus positioning data information in each time period corresponding to each road link by using the data information in the third information table when the road link is a common lane;
the road chain speed calculation unit further comprises a fourth calculation module, wherein the fourth calculation module is used for counting the number of taxi positioning data information in each time period corresponding to each road chain by using the data information in the first information table if the number of the bus positioning data information of the road chain corresponding to a certain time period in the target time is zero, and judging whether the number of the taxi positioning data information in the corresponding time period is zero or not; if the number of the taxi positioning data information in the corresponding time period is not zero, determining the bus link speed in the time period corresponding to the link by using the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link; the average speed of the taxis in the time period corresponding to the link is determined by dividing the sum of the speeds of the corresponding link and the taxi positioning data information in the corresponding time period in the first information table by the number of the taxi positioning data information in the link corresponding to the current time period.
Optionally, in an embodiment of the present invention, the link speed calculating unit includes a first calculating module; the first calculation module is used for counting the number of the bus positioning data information in each time period corresponding to each link by using the data information in the second information table when the link is a bus lane; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the result of the speed addition in each piece of the bus positioning data information by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
Optionally, in an embodiment of the present invention, the link speed calculating unit further includes a second calculating module; and the second calculation module is used for determining the bus link speed of the link corresponding to the time period by using the bus link speed of the previous time period of the link and the average bus link speed of the current time period corresponding to the date type of the current time period, if the number of the bus positioning data information of the link corresponding to the time period in the target time is zero.
Optionally, in an embodiment of the present invention, the third calculating module is configured to, when the number of pieces of bus positioning data information of a link corresponding to a certain time period in the target time is not zero, divide a result of adding speeds in the corresponding link and each piece of bus positioning data information of the corresponding time period in the third information table by the number of pieces of bus positioning data information of the link corresponding to the current time period to determine the speed of the bus link corresponding to the time period.
Optionally, in an embodiment of the present invention, the road link speed calculating unit further includes a fifth calculating module, and the fifth calculating module is configured to determine, if the number of the taxi positioning data information in the corresponding time period is zero, the speed of the bus road link in the previous time period of the road link and the average speed of the bus road link in the current time period corresponding to the date type of the current year, where the time period corresponds to the time period.
The technical scheme has the following beneficial effects:
the technical scheme can accurately obtain the speed of each link of the bus, the speed value is closer to the actual running speed, and decision basis can be provided for bus driving planning, real-time scheduling, arrival and departure forecasting and the like.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method for determining the speed of a bus link according to the present invention;
FIG. 2 is a driving state diagram of a bus;
FIG. 3 is a block diagram of a bus link speed determination apparatus according to the present invention;
fig. 4 is a functional block diagram of a link speed calculating unit in the bus link speed determining apparatus according to the present invention;
FIG. 5 is a schematic diagram of a bus lane route according to the present embodiment;
fig. 6 is a schematic diagram of a general lane route according to the present embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The working principle of the technical scheme is as follows: the technical scheme divides the road chain into a bus lane and a common lane, and calculates the speed of the bus road chain by adopting bus scheduling data, bus positioning data, taxi positioning data, bus lane data and traffic light data.
Based on the working principle, the invention provides a method for determining the speed of a bus link, which is shown in fig. 1. The method comprises the following steps:
step 101): preprocessing public transport scheduling data, public transport positioning data, taxi positioning data, public transport lane data and traffic light data to obtain road condition data represented by multiple data sources;
in the step, the bus dispatching data, the bus positioning data, the taxi positioning data, the bus lane data and the traffic light data are preprocessed, so that a data set is provided for the subsequent steps; and acquiring road condition information represented by multiple data sources through data cleaning, geographic coordinate conversion and sequencing. Wherein,
1. the bus dispatching data preprocessing comprises information such as train number ID, line number, line direction, passing stations, vehicle self-numbering, planned departure time, actual departure time, planned arrival time and actual arrival time. And obtaining corrected bus dispatching data through abnormal data cleaning and external sequencing.
2. The method comprises the steps of preprocessing bus positioning data, wherein the bus positioning data comprise information such as line numbers, line directions, vehicle self-numbers, GPS equipment IDs, GPS system time, longitude, latitude, height, speed and azimuth angles, and corrected bus positioning data are obtained through abnormal data rejection, geographic coordinate conversion and external sorting.
3. Preprocessing taxi positioning data, wherein the taxi positioning data comprise information such as a GPS equipment ID, GPS system time, longitude, latitude, altitude, instantaneous speed, azimuth angle and the like; and obtaining corrected taxi positioning data through abnormal data rejection, geographic coordinate conversion and external sorting.
4. And preprocessing the bus lane data, wherein the bus lane data comprise information such as bus lane ID, road direction, special time and the like. And obtaining the corrected bus lane data through abnormal data elimination.
5. And preprocessing traffic light data, including traffic light ID, red light time, green light time, yellow light time and other information. And obtaining corrected traffic light data through abnormal data elimination.
Step 102): judging whether the road link is a bus lane or a common lane;
in this step, the links are divided into a bus exclusive link and a general lane exclusive link.
Step 103): storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table;
in this step, the dispatching data, the bus positioning data and the taxi positioning data are readData, bus lane data and traffic light data, whether each piece of positioning data belongs to a bus lane or a common lane is judged, and if the positioning data belongs to the bus lane, each piece of positioning data information is stored in a second information table NGZL according to the type of the corresponding date, the time period and the driving state of the vehiclei,j,kPerforming the following steps; if the vehicle belongs to the common lane, each piece of positioning data information is stored in a third information table NGPL according to the type of the date, the time period and the vehicle running state to which the positioning data information belongsi,j,kIn (1). The classification of the date type, the time period, and the vehicle driving state is as follows:
the date type:each piece of positioning data can only belong to one of the date types according to the sequence.
Time period: every 10 minutes, 00:00:00-23:59:59 of each day is divided into 6 x 24-144 segments, and the corresponding j values are 1-144 respectively.
Vehicle driving state:the vehicle driving state is shown in fig. 2.
In the second information table NGZLi,j,kAnd a third information table NGPLi,j,kThe vehicle running state corresponding to the stored bus positioning data information is a waiting lamp state and an inter-station running state. When the speed of the bus link is calculated, the bus positioning data that the running state of the bus is the in-out stop state is not involved.
Reading out taxi positioning data, and storing each taxi positioning information in a first information table NCPL according to the date type, time period and vehicle running statei,j,kIn (1). The types of dates, time periods and vehicle running states are classified as follows:
the date type:each piece of positioning data can only belong to one of the date types according to the sequence.
Time period: every 10 minutes, 00:00:00-23:59:59 of each day is divided into 6 x 24-144 segments, and the corresponding j values are 1-144 respectively.
Vehicle driving state:
step 104): according to the road link judgment result, counting the positioning data in the first information table, the positioning data in the second information table and the positioning data in the third information table according to the date type, the time period and the vehicle running state, and determining the running speed of the bus corresponding to each road link by using the counting result; and the vehicle running state is determined according to the bus dispatching data, the bus positioning data, the taxi positioning data and the traffic light data.
In this step, if the link is a bus-only link, the second information table NGZL is usedi,j,kExtracting bus positioning data information of a time period corresponding to the corresponding road link, if the number of the positioning data information is more than 0; the bus link speed corresponding to the time period of the link is determined by dividing the result of the speed addition in each piece of bus positioning data information by the number of pieces of bus positioning data information of the link corresponding to the current time period by the following formula (1).
Wherein, VnAnd the speed corresponding to the nth bus positioning data is represented, and N is the number of the bus positioning data.
If the number of pieces of bus positioning data information is equal to 0; and (3) determining the bus link speed of the link corresponding to the time period according to the bus link speed of the previous time period of the link and the average bus link speed of the current time period corresponding to the date type in the last year by using the following formula (2).
V=k1*HGZVi,j,k+k2*NGZVi,j-1,k (2)
Wherein, HGZVi,j,kIs as followsAverage speed of public traffic link, NGZV, of which the previous time period j is the last year date type i and the vehicle state is ki,j-1,kIs the link speed, k, of a time segment on the link1、k2The weight coefficient is obtained by historical data training.
In this step, if the link is a normal lane link, the third information table NGPL is usedi,j,kExtracting bus positioning data information of a time period corresponding to the corresponding road link, if the number of the positioning data information is more than 0; and according to the following formula (3), dividing the result of adding the speed in each piece of bus positioning data information of the corresponding link and the corresponding time period in the third information table by the number of pieces of bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
Wherein, VnThe' is the speed corresponding to the nth bus positioning data, and the N is the number of the bus positioning data.
If the number of the bus positioning data in the time period corresponding to the link in the target time is 0, extracting taxi positioning data information in the time period corresponding to the corresponding link from the first information table, and if the number of the taxi positioning data information is not 0, determining the bus link speed in the time period corresponding to the link by using the following formula (4), the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link.
V=k3*HGPVi,j,k+k4*Vi,j,k (4)
Among them, HGPVi,j,kThe average speed V of the bus link is that the current time period j is the bus link average speed of the last year with the link date type i and the vehicle state ki,j,kThe average speed of the taxis in the time period j corresponding to the link is obtained by dividing the sum of the speeds of the taxi positioning data information in the time period corresponding to the link and the corresponding link in the first information table by the current timeAnd determining the number of taxi positioning data information of the corresponding road link in the time period. k is a radical of3、k4The weight coefficient is obtained by historical data training.
And if the number of the taxi positioning data information is 0, determining the bus link speed of the link corresponding to the time period according to the bus link speed of the last time period of the link and the average speed of the bus links of the last year of the date type corresponding to the current time period by using the following formula (5).
V=k5*HGPVi,j,k+k6*NGPVi,j-1,k (5)
Among them, HGPVi,j,kThe average speed of the public transportation road link with the road link date type of i and the vehicle state of k in the last year of the current time period j is NGPVi,j-1,kIs the link speed, k, of a time segment on the link5、k6The weight coefficient is obtained by historical data training.
As shown in fig. 3, a block diagram of a bus link speed determination device is provided for the present invention. The method comprises the following steps:
the preprocessing unit 301 is configured to preprocess the bus scheduling data, the bus positioning data, the taxi positioning data, the bus lane data, and the traffic light data to obtain road condition data represented by multiple data sources;
a link determining unit 302, configured to determine whether a link is a bus lane or a common lane;
an information table generating unit 303, configured to store the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table;
the link speed calculation unit 304 is configured to count the positioning data in the first information table, the positioning data in the second information table, and the positioning data in the third information table according to the date type, the time period, and the vehicle driving state according to the link determination result, and determine the bus driving speed corresponding to each link by using the statistical result; and the vehicle running state is determined according to the bus dispatching data, the bus positioning data, the taxi positioning data and the traffic light data.
Fig. 4 is a functional block diagram of a link speed calculating unit in the bus link speed determining device according to the present invention. The road link speed calculating unit 304 includes a first calculating module 3041, a second calculating module 3042, a third calculating module 3043, a fourth calculating module 3044, and a fifth calculating module 3045; wherein,
the first calculating module 3041 is configured to, when the road link is a bus lane, count the number of pieces of bus location data information in each time period corresponding to each road link by using the data information in the second information table; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the result of the speed addition in each piece of the bus positioning data information by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
The second calculating module 3042 is configured to, if the number of pieces of bus location data information of a link corresponding to a certain time period within a target time is zero, determine the bus link speed of the link corresponding to the time period by using the bus link speed of the previous time period of the link and the average bus link speed of the last year of the corresponding date type of the current time period.
The third calculating module 3043, configured to count, when the road link is an ordinary lane, the number of pieces of bus location data information in each time period corresponding to each road link by using the data information in the third information table; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the sum of the speed in the corresponding link in the third information table and each piece of the bus positioning data information of the corresponding time period by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
The fourth calculating module 3044 is configured to, if the number of pieces of bus positioning data information of a link corresponding to a certain time period in the target time is zero, count the number of pieces of taxi positioning data information in each time period corresponding to each link by using the data information in the first information table, and determine whether the number of pieces of taxi positioning data information in the corresponding time period is zero; if the number of the taxi positioning data information in the corresponding time period is not zero, determining the bus link speed in the time period corresponding to the link by using the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link; the average speed of the taxis in the time period corresponding to the link is determined by dividing the sum of the speeds of the corresponding link and the taxi positioning data information in the corresponding time period in the first information table by the number of the taxi positioning data information in the link corresponding to the current time period.
The fifth calculating module 3045 is configured to, if the number of the taxi positioning data information in the corresponding time period is zero, determine the bus link speed of the link corresponding to the time period by using the bus link speed in the previous time period of the link and the average bus link speed in the last year of the date type corresponding to the current time period.
For the embodiment, the bus lane takes the west Chang' an street from the west station to the east station to the Tiananmen station at the west single intersection as an example, and the speed of each link between the two stations is calculated. The east station of the west single intersection has four bus lines of 1 way, 52 ways, 70 ways and 99 ways, the west station of the Tiananmen has two bus lines of 1 way and 52 ways, the length between the two stations is 1080 meters, and a traffic light is shared, and the schematic diagram is shown in figure 5.
The speed of each link between two stations is calculated by taking the example that the lotus treasure road is from the east station of the lotus treasure road to the west station of the officer from the west direction to the east direction. The east station of lotus treasure road has three bus lines of 68-554 combined transportation, 99 road and 473 road, the west station of horse officer has three bus lines of 68-554 combined transportation, 99 road and 473 road, the length between two stations is 515 meters, and there is a traffic light in common, the schematic diagram is shown in figure 6.
Selecting 2016 bus scheduling data, 8 month, 15 days, 8:00 to 9:00 bus positioning data, taxi positioning data, bus lane data and traffic light data as source data, and calculating the speed of the link as follows:
the method comprises the steps of preprocessing bus scheduling data, bus positioning data, taxi positioning data, bus lane data and traffic light data, judging whether a road link is a bus lane or a common lane, and storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; and storing the preprocessed bus positioning data belonging to the common lane in a third information table.
For the present embodiment, the information tables are counted as follows according to the link:
a public transport lane: and only bus positioning data is arranged on the same link. Relevant information table NGZL of bus special road chains ZYL1, ZYDD and ZYL2 from 8, month, 15, day, 8 and 9 in 201610,j,kThe data (j 43-48, k 1,2) are shown in table 1 below.
TABLE 1
Common lane: the same link has both bus positioning data and taxi positioning data. Related information table NGPL of common lane links PTL1, PTDD and PTL2 of buses from 8, 15 and 9 in 201610,j,kThe data (j 43-48, k 1,2) are shown in table 2 below.
TABLE 2
Relevant information table NCPL of 8-month-15-day-8-9-point rental car ordinary lane link PTL1, PTDD and PTL2 in 201610,j,kThe data (j 43-48, k 1,2) are shown in table 3 below.
TABLE 3
Through calculation, the speeds of the bus special road chains ZYL1, ZYDD and ZYL2 from 8 o 'clock to 9 o' clock in 2016 are shown in the following table 4.
TABLE 4
The calculated speeds of the 8 o 'clock to 9 o' clock ordinary lane links PTL1, PTDD, PTL2 in 2016 are shown in Table 5 below.
TABLE 5
The calculation result of the speed of the bus special road link and the speed of the common road link can be known as follows: the speed of the bus lane is obviously higher than that of the common lane, and the speed of the light areas such as the bus lane is also higher than that of the light areas such as the common lane.
According to the embodiment, the technical scheme relates to the calculation of the speed of the road link of the bus operation by adopting bus scheduling data, bus positioning data, taxi positioning data, bus lane data and traffic light data. The actual running condition of the bus in each link can be known, and data support is provided for bus running planning, real-time scheduling and arrival and departure forecasting.
The above embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, it should be understood that the above embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (12)
1. A method for determining the speed of a bus link is characterized by comprising the following steps:
preprocessing public transport scheduling data, public transport positioning data, taxi positioning data, public transport lane data and traffic light data to obtain road condition data represented by multiple data sources;
judging whether the road link is a bus lane or a common lane;
storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table;
according to the road link judgment result, counting the positioning data in the first information table, the positioning data in the second information table and the positioning data in the third information table according to the date type, the time period and the vehicle running state, and determining the running speed of the bus corresponding to each road link by using the counting result; the vehicle running state is determined according to the bus scheduling data, the bus positioning data, the taxi positioning data and the traffic light data;
when the road links are ordinary lanes, counting the number of the bus positioning data information in each time period corresponding to each road link by using the data information in the third information table; if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is zero, counting the number of the taxi positioning data information in each time period corresponding to each link by using the data information in the first information table, and judging whether the number of the taxi positioning data information in the corresponding time period is zero or not; if the number of the taxi positioning data information in the corresponding time period is not zero, determining the bus link speed in the time period corresponding to the link by using the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link; the average speed of the taxis in the time period corresponding to the link is determined by dividing the sum of the speeds of the corresponding link and the taxi positioning data information in the corresponding time period in the first information table by the number of the taxi positioning data information in the link corresponding to the current time period.
2. The method according to claim 1, wherein the links are bus lanes, and the number of pieces of bus location data information in each time period corresponding to each link is counted by using the data information in the second information table; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the result of the speed addition in each piece of the bus positioning data information by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
3. The method as claimed in claim 2, wherein if the number of pieces of bus location data information of a link corresponding to a certain time period within a target time is zero, determining the bus link speed of the link corresponding to the time period by using the bus link speed of the last time period of the link and the average speed of the bus links of the last year of the corresponding date type of the current time period.
4. The method according to claim 1, wherein if the number of pieces of bus location data information of a link corresponding to a certain time period within a target time is not zero, the bus link speed of the link corresponding to the time period is determined by dividing the result of adding the speed in the corresponding link and each piece of bus location data information of the corresponding time period in the third information table by the number of pieces of bus location data information of the link corresponding to the current time period.
5. The method as claimed in claim 1, wherein if the number of taxi location data information in the corresponding time period is zero, the speed of the bus link in the time period corresponding to the link is determined by using the speed of the bus link in the previous time period of the link and the average speed of the bus link in the last year of the corresponding date type in the current time period.
6. The method according to any one of claims 1 to 5, wherein the bus positioning data in the second information table and the bus positioning data in the third information table each comprise bus positioning data of a vehicle driving state being a waiting light driving state and bus positioning data of an inter-station driving state.
7. The method according to any one of claims 1 to 5, wherein the taxi positioning data in the first information table comprises taxi positioning data of a vehicle driving state being a waiting light driving state and taxi positioning data of an unequal light driving state.
8. A bus link speed determination device, comprising:
the preprocessing unit is used for preprocessing the bus scheduling data, the bus positioning data, the taxi positioning data, the bus lane data and the traffic light data to obtain road condition data represented by multiple data sources;
the road link judging unit is used for judging whether the road link is a bus lane or a common lane;
the information table generating unit is used for storing the preprocessed taxi positioning data in a first information table; storing the preprocessed bus positioning data belonging to the bus lane in a second information table; storing the preprocessed bus positioning data belonging to the common lane in a third information table; the positioning data in the information table is stored in a mode of date type, time period and vehicle running state; the vehicle running state is determined according to the bus dispatching data, the bus positioning data, the taxi positioning data and the traffic light data;
the link speed calculation unit is used for counting the positioning data in the first information table, the positioning data in the second information table and the positioning data in the third information table according to the date type, the time period and the vehicle running state according to the link judgment result, and determining the bus running speed corresponding to each link by using the counting result; the vehicle running state is determined according to the bus scheduling data, the bus positioning data, the taxi positioning data and the traffic light data;
the road link speed calculating unit further comprises a third calculating module, and the third calculating module is used for counting the number of the bus positioning data information in each time period corresponding to each road link by using the data information in the third information table when the road link is a common lane;
the road chain speed calculation unit further comprises a fourth calculation module, wherein the fourth calculation module is used for counting the number of taxi positioning data information in each time period corresponding to each road chain by using the data information in the first information table if the number of the bus positioning data information of the road chain corresponding to a certain time period in the target time is zero, and judging whether the number of the taxi positioning data information in the corresponding time period is zero or not; if the number of the taxi positioning data information in the corresponding time period is not zero, determining the bus link speed in the time period corresponding to the link by using the average speed of the bus link in the last year of the corresponding date type in the current time period and the average speed of the taxi in the time period corresponding to the link; the average speed of the taxis in the time period corresponding to the link is determined by dividing the sum of the speeds of the corresponding link and the taxi positioning data information in the corresponding time period in the first information table by the number of the taxi positioning data information in the link corresponding to the current time period.
9. The apparatus of claim 8, wherein the link speed calculation unit comprises a first calculation module; the first calculation module is used for counting the number of the bus positioning data information in each time period corresponding to each link by using the data information in the second information table when the link is a bus lane; and if the number of the bus positioning data information of the link corresponding to a certain time period in the target time is not zero, dividing the result of the speed addition in each piece of the bus positioning data information by the number of the bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
10. The apparatus of claim 9, wherein the link speed calculation unit further comprises a second calculation module; and the second calculation module is used for determining the bus link speed of the link corresponding to the time period by using the bus link speed of the previous time period of the link and the average bus link speed of the current time period in the last year of the corresponding date type if the number of the bus positioning data information of the link corresponding to the time period in the target time is zero.
11. The apparatus as claimed in claim 8, wherein the third calculating module is configured to, when the number of pieces of bus positioning data information of a link corresponding to a certain time period within a target time is not zero, divide a result of adding the speed in the corresponding link and each piece of bus positioning data information of the corresponding time period in the third information table by the number of pieces of bus positioning data information of the link corresponding to the current time period to determine the bus link speed of the link corresponding to the time period.
12. The apparatus of claim 8, wherein the link speed calculation unit further comprises a fifth calculation module, and the fifth calculation module is configured to determine the bus link speed corresponding to the time segment by using the bus link speed in the previous time segment of the link and the average bus link speed in the last year of the corresponding date type in the current time segment if the number of pieces of taxi positioning data information in the corresponding time segment is zero.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710136936.0A CN106846807B (en) | 2017-03-09 | 2017-03-09 | A kind of public transport road chain speed determines method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710136936.0A CN106846807B (en) | 2017-03-09 | 2017-03-09 | A kind of public transport road chain speed determines method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106846807A CN106846807A (en) | 2017-06-13 |
CN106846807B true CN106846807B (en) | 2019-11-12 |
Family
ID=59144156
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710136936.0A Active CN106846807B (en) | 2017-03-09 | 2017-03-09 | A kind of public transport road chain speed determines method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106846807B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116680547B (en) * | 2023-08-03 | 2023-10-10 | 南京智慧交通信息股份有限公司 | Public transport driving safety big data management method and system thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1736735A1 (en) * | 2005-06-21 | 2006-12-27 | Aisin Aw Co., Ltd. | Travel time database generating device and method |
CN102087788A (en) * | 2009-12-02 | 2011-06-08 | 上海济祥智能交通科技有限公司 | Method for estimating traffic state parameter based on confidence of speed of float car |
CN102254443A (en) * | 2011-06-28 | 2011-11-23 | 东南大学 | Intermittent bus lane control system and method |
CN104134349A (en) * | 2014-08-07 | 2014-11-05 | 北京航空航天大学 | Bus road condition processing system and method based on traffic multi-source data fusion |
CN106251642A (en) * | 2016-09-18 | 2016-12-21 | 北京航空航天大学 | A kind of public transport road based on real-time bus gps data chain speed calculation method |
-
2017
- 2017-03-09 CN CN201710136936.0A patent/CN106846807B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1736735A1 (en) * | 2005-06-21 | 2006-12-27 | Aisin Aw Co., Ltd. | Travel time database generating device and method |
CN102087788A (en) * | 2009-12-02 | 2011-06-08 | 上海济祥智能交通科技有限公司 | Method for estimating traffic state parameter based on confidence of speed of float car |
CN102254443A (en) * | 2011-06-28 | 2011-11-23 | 东南大学 | Intermittent bus lane control system and method |
CN104134349A (en) * | 2014-08-07 | 2014-11-05 | 北京航空航天大学 | Bus road condition processing system and method based on traffic multi-source data fusion |
CN106251642A (en) * | 2016-09-18 | 2016-12-21 | 北京航空航天大学 | A kind of public transport road based on real-time bus gps data chain speed calculation method |
Also Published As
Publication number | Publication date |
---|---|
CN106846807A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108564226B (en) | Bus route optimization method based on taxi GPS and mobile phone signaling data | |
CN110047279B (en) | Method for determining shared bicycle dispatching quantity based on order data | |
CN102737504B (en) | Method for estimating bus arrival time in real time based on drive characteristics | |
CN107563566B (en) | Inter-bus-station operation time interval prediction method based on support vector machine | |
Gong et al. | Hybrid dynamic prediction model of bus arrival time based on weighted of historical and real-time GPS data | |
CN105632222B (en) | Forecast the method and its system of arrival time | |
CN110298516B (en) | Method and device for splitting overlong bus line based on passenger flow OD data, mobile terminal equipment and server | |
CN109255972B (en) | Optimization method of ground public transport fixed line timetable based on big data | |
CN104134349A (en) | Bus road condition processing system and method based on traffic multi-source data fusion | |
CN104064024A (en) | Public transport vehicle arrival time prediction method based on history data | |
CN110009153B (en) | Bus shift scheduling optimization method and system based on OD passenger flow | |
CN112017429B (en) | Overload control monitoring stationing method based on truck GPS data | |
CN110675646B (en) | Method and device for acquiring position of bus station | |
Feng et al. | Empirical findings of bus bunching distributions and attributes using archived AVL/APC bus data | |
CN113506013B (en) | Multi-source data-based comprehensive benefit evaluation method for medium-traffic volume public transportation system | |
CN109637134A (en) | A kind of public transport device matching process | |
CN112150802B (en) | Urban road grade division method based on ground bus running state reliability | |
CN116142264B (en) | Urban rail transit operation planning method and system | |
CN115186920A (en) | Line-shiftable public traffic service area and station setting method based on data mining | |
CN109727474B (en) | Bus station entrance and exit accurate identification method based on fusion data | |
CN106846807B (en) | A kind of public transport road chain speed determines method and device | |
CN109740823B (en) | Taxi taking decision method and system oriented to real-time scene calculation | |
CN109584546B (en) | Method for determining departure flow threshold of quick-conventional bus sharing lane | |
CN114078322B (en) | Bus running state evaluation method, device, equipment and storage medium | |
CN107563537B (en) | Method and device for determining waiting time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |