The invention belongs to the technical field of buses, and particularly relates to an algorithm for calculating estimated arrival time of a bus based on historical arrival time of the bus. The method comprises the following specific steps: S1, collecting a distance Sn between uplink and downlink stations of each line; s2, based on historical station entering and exiting data of a bus, segmenting the station entering and exiting data of stations corresponding to uplink and downlink under different lines in different time periods, then calculating an average value of time spent by all vehicles in entering the station in the segment, and storing the data in a database; and S3, calculating the arrival time t of the vehicle. According to the method, the bus is operated every day according to the set route, the time spent by the bus for entering the station in different time periods well reflects the congestion degree of the road, and the arrival time can be predicted more accurately.
本发明属于公交车技术领域,尤其是基于公交车历史到站时间计算车辆预计到达时间的算法。本发明具体步骤如下:S1、收集各个线路上下行的站点之间的距离Sn;S2、基于公交车的历史进出站数据,先按照不同线路下的上下行对应的站点在不同时间段下的进出站数据进行分段,再计算该分段内所有车辆的进站所花费的时间平均值,并将此数据保存在数据库中;S3、计算车辆到站时间t。本发明公交车按照既定的线路每天营运,其车辆在不同的时间段的进站所花费的时间较好的反映了道路的拥堵程度,能够更加准确的预测到站时间。
Algorithm for calculating estimated arrival time of vehicle based on historical arrival time of bus
基于公交车历史到站时间计算车辆预计到达时间的算法
2024-03-29
Patent
Electronic Resource
Chinese
IPC: | G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS |
Algorithm for calculating estimated arrival time of vehicle based on bus GPS
European Patent Office | 2022
|METHOD FOR CALCULATING ESTIMATED ARRIVAL TIME OF PUBLIC TRANSPORTATION
European Patent Office | 2016
|METHOD FOR CALCULATING ESTIMATED ARRIVAL TIME OF PUBLIC TRANSPORTATION
European Patent Office | 2016