NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bus-OLAP: A Data Management Model for Non-on-Time Events Query Over Bus Journey Data

Lei Duan, Tinghai Pang, Jyrki Nummenmaa, Jie Zuo, Peng Zhang, Changjie TangData Sci. Eng 2018

Introduction

Urban transit systems increasingly rely on "on-time" performance to reduce congestion and emissions. Analyzing bus journey data is critical for identifying where and when schedules fail. However, bus data is massive, noisy, and multidimensional, making it difficult for traditional relational databases to handle complex "non-on-time" queries—such as identifying delay patterns during specific weather conditions or peak hours.

The Bus-OLAP Framework

To address these challenges, researchers developed Bus-OLAP, a specialized data management model that optimizes spatio-temporal queries through discretization and parallel computing.

The Bus-OLAP system architecture, showing the pipeline from raw data sources to Spark-based user queries.

The framework consists of four primary stages:

  1. Data Preprocessing: Raw GPS data is cleaned and segmented into journeys and links between stops.
  2. Attribute Domain Partitioning: Continuous variables like time and space are divided into discrete partitions (e.g., a $2000 \times 1000$ grid for a city).
  3. Bit-Vector Indexing: Each record is indexed using bit-vectors, where a '1' indicates membership in a specific partition. This transforms complex filtering into fast bitwise operations.
  4. Parallel Computation with Spark: The model is implemented on Apache Spark to distribute these bitwise operations across a cluster, enabling high-speed analysis of millions of records.
Discretization of temporal data into bit-vectors, allowing for efficient date-based filtering.

Experimental Results

The system was evaluated using a dataset from Tampere, Finland, containing over 6.2 million records and external weather data.

  • Performance: Bus-OLAP demonstrated significant speed advantages over MySQL 5.5. Its runtime remained stable even as query complexity increased, whereas MySQL's runtime grew exponentially.
  • Scalability: The system achieved linear scalability, with processing times halving when the number of Spark nodes was doubled.
  • Practical Insights: The analysis identified that while 75% of bus events were within $\pm 3$ minutes of the schedule, significant delay "hot zones" occurred during Friday afternoon rush hours (14:00–18:00). The model also successfully mapped how weather conditions like fog and rain uniquely impact morning and evening delays.

Conclusion

Bus-OLAP provides a robust solution for transit planners to analyze non-on-time events at scale. By trading a small amount of spatial and temporal precision for massive gains in query efficiency, the model enables deep dives into the factors driving urban gridlock. Future work will focus on integrating real-time data for live predictions and accounting for dynamic factors like passenger load.

Summary updated

BibTeX
@article{duan2018bus,
  author = {Lei Duan and Tinghai Pang and Jyrki Nummenmaa and Jie Zuo and Peng Zhang and Changjie Tang},
  title = {{Bus-OLAP: A Data Management Model for Non-on-Time Events Query Over Bus Journey Data}},
  journal = {Data Sci. Eng.},
  year = {2018},
  doi = {10.1007/s41019-018-0061-9},
}
Figure