Search

CN-116704805-B - Bus driving position data compensation method, system, electronic equipment and storage medium

CN116704805BCN 116704805 BCN116704805 BCN 116704805BCN-116704805-B

Abstract

The invention provides a bus driving position data compensation method, a system, electronic equipment and a storage medium, wherein the method comprises the steps of obtaining current position point data of a target bus route to be compensated, wherein next position point data of the current position point data needs to be compensated; the method comprises the steps of obtaining all historical bus driving data which drive on a target bus route to be compensated and pass through current position point data, obtaining next position point data of the current position point data in any piece of historical bus driving data, and carrying out aggregation processing on the next position point data on all the historical bus driving data to obtain the next position point data to be compensated of the current position point data of the target bus route to be compensated. According to the invention, the running data of the target line operation vehicle in the same area of the historical condition is used for prediction, the characteristic that the speeds of buses in the same coordinate position are similar is fully considered, the error can be reduced, and the bus data compensation of the actual bus running condition can be restored.

Inventors

  • YAN YAN
  • ZHOU XINGTIAN
  • HU BI
  • SUN XI
  • ZHANG ZHIJIAN
  • YU AIJUN

Assignees

  • 武汉元光科技有限公司

Dates

Publication Date
20260508
Application Date
20230531

Claims (6)

  1. 1. The bus driving position data compensation method is characterized by comprising the following steps of: Acquiring current position point data of a target bus route to be compensated, wherein next position point data of the current position point data needs to be compensated; acquiring all historical bus driving data which travel on the to-be-compensated target bus route and pass through the current position point data; Acquiring next position point data of current position point data in any piece of historical bus driving data; the next position point data on all the historical bus driving data are subjected to aggregation processing to obtain the next position point data to be compensated of the current position point data of the target bus route to be compensated; Obtaining all historical bus driving data which travel on the to-be-compensated target bus route and pass through the current position point data, wherein the method comprises the following steps of: Taking the current position point as a central point, taking the direction of the target bus route to be compensated as the length direction, and determining a square area with the side length as a set value; acquiring all historical bus driving data which drive on the target public route to be compensated in a set historical time period and pass through the square area; The obtaining the next position point data of the current position point data on any historical bus driving data comprises the following steps: traversing each piece of historical bus driving data, and acquiring next position point data which is separated from the acquisition time of the current position point data by a fixed time interval in all pieces of historical bus driving data to acquire next position point data of a plurality of histories; Decomposing the target bus route to be compensated, splitting the target bus route to be compensated into a plurality of line segments with fixed lengths, taking the middle point of each line segment as a center point, taking the fixed length as the length of a square side length, and determining a square area along the direction of the bus route; calculating compensation data of a next position point of each piece of current position point data by taking each center point as the current position point data; establishing a compensation data index table based on the data and the acquisition time of each current position point and the compensation data and the acquisition time of the next position point corresponding to the data of each current position point; acquiring position point data to be compensated on a target public route to be compensated; And searching in the compensation data index table based on the position point data needing compensation, and finding the compensation data of the next position point of the position point data.
  2. 2. The bus driving position data compensation method according to claim 1, wherein the side length of the square area is 10m.
  3. 3. The bus driving location data compensation method according to claim 1, wherein the aggregating the next location point data on all the historical bus driving data comprises: Acquiring longitude and latitude of next position point data of each history; And calculating the longitude average value and the latitude average value of the next position point data of all histories, and taking the longitude average value and the latitude average value as compensation data of the next position point on the target intersection route to be compensated.
  4. 4. A bus travel position data compensation system for performing the bus travel position data compensation method according to any one of claims 1 to 3, comprising: The first acquisition module is used for acquiring current position point data of a target bus route to be compensated, wherein the next position point data of the current position point data needs to be compensated; the second acquisition module is used for acquiring all historical bus driving data which are driven on the to-be-compensated target bus route and pass through the current position point data; the third acquisition module is used for acquiring the next position point data of the current position point data in any piece of historical bus driving data; The data processing module is used for carrying out aggregation processing on the next position point data on all the historical bus driving data to obtain the next position point data to be compensated of the current position point data of the target bus route to be compensated.
  5. 5. An electronic device comprising a memory, a processor for implementing the steps of the bus travel position data compensation method according to any one of claims 1-3 when executing a computer management class program stored in the memory.
  6. 6. A computer-readable storage medium, on which a computer-management-class program is stored, which when executed by a processor implements the steps of the bus travel position data compensation method according to any one of claims 1 to 3.

Description

Bus driving position data compensation method, system, electronic equipment and storage medium Technical Field The invention relates to the field of intelligent buses, in particular to a bus driving position data compensation method, a bus driving position data compensation system, electronic equipment and a storage medium. Background GPS positioning data of buses plays an extremely important role in a real-time bus system. The real-time bus system can monitor the running condition of the bus in real time through the GPS positioning technology and display the position and the running track of the bus on a map, thereby helping passengers to master the position information of the bus at any time. In addition, the positioning data can provide more accurate real-time data support for the real-time bus system, so that the running condition of the bus can be monitored in real time, and the data support is provided for urban traffic management and optimization. In order to ensure that the position information of the bus can be accurately reflected in real time, the real-time bus system needs to acquire the GPS positioning data of the bus in real time. Although the GPS positioning system of the bus has higher accuracy and reliability under most conditions, the conditions of signal blind area, signal interference, unstable network transmission and the like influence the accuracy and stability of real-time positioning information. Therefore, real-time bus software needs to design a set of algorithm mechanism to accurately compensate the lost or delayed GPS data. Disclosure of Invention Aiming at the technical problems in the prior art, the invention provides a bus driving position data compensation method, a bus driving position data compensation system, electronic equipment and a storage medium. According to a first aspect of the present invention, there is provided a bus driving position data compensation method, comprising: Acquiring current position point data of a target bus route to be compensated, wherein next position point data of the current position point data needs to be compensated; acquiring all historical bus driving data which travel on the to-be-compensated target bus route and pass through the current position point data; Acquiring next position point data of current position point data in any piece of historical bus driving data; And carrying out aggregation processing on the next position point data on all the historical bus driving data to obtain the next position point data to be compensated of the current position point data of the target bus route to be compensated. On the basis of the technical scheme, the invention can also make the following improvements. Optionally, obtaining all historical bus driving data that travel on the target bus route to be compensated and pass through the current position point data includes: Taking the current position point as a central point, taking the direction of the target bus route to be compensated as the length direction, and determining a square area with the side length as a set value; And acquiring all historical bus driving data which are driven on the target public route to be compensated in a set historical time period and pass through the square area. Optionally, the side length of the positive direction area is 10m. Optionally, the acquiring the next location point data of the current location point data on any piece of historical bus driving data includes: Traversing each piece of historical bus driving data, and acquiring next position point data which is separated from the acquisition time of the current position point data by a fixed time interval in all pieces of historical bus driving data to acquire next position point data of a plurality of histories. Optionally, the aggregating the next location point data on all the historical bus driving data includes: Acquiring longitude and latitude of next position point data of each history; And calculating the longitude average value and the latitude average value of the next position point data of all histories, and taking the longitude average value and the latitude average value as compensation data of the next position point on the target intersection route to be compensated. Optionally, the method further comprises: Decomposing the target bus route to be compensated, splitting the target bus route to be compensated into a plurality of line segments with fixed lengths, taking the middle point of each line segment as a center point, taking the fixed length as the length of a square side length, and determining a square area along the direction of the bus route; calculating compensation data of a next position point of each piece of current position point data by taking each center point as the current position point data; and establishing a compensation data index table based on the data and the acquisition time of each current position point and the compensation data and the acquisition time o