Abstract
Traditional spatial indexing methods like R-trees struggle with the unique properties of moving object trajectories, often resulting in excessive "dead space" and a loss of object identity. This paper introduces two specialized index structures: the Spatio-Temporal R-tree (STR-tree) and the Trajectory-Bundle tree (TB-tree). By explicitly preserving the connectivity of trajectory segments, these structures—particularly the TB-tree—offer significant improvements in storage efficiency and query performance for complex spatiotemporal data.
Introduction
The proliferation of GPS-enabled devices and mobile computing has led to an explosion of spatiotemporal data. Tracking moving objects generates sequences of location samples over time. When these points are connected, they form a 3D polyline in a space-time cube, where two dimensions represent geographic coordinates (x, y) and the third represents time (t). Efficiently querying these trajectories is a significant challenge for modern database systems.
Traditional spatial access methods, such as the R-tree, are often ill-suited for this data. R-trees group line segments based on spatial proximity using Minimum Bounding Boxes (MBBs). This approach suffers from two primary issues:
- Dead Space: 3D bounding boxes around diagonal trajectory segments often contain significant empty space, leading to high overlap between index nodes and degraded search performance.
- Loss of Identity: R-trees treat segments as independent geometries, ignoring their sequential connectivity. Answering queries about an object's path (e.g., "Where did this object go next?") requires expensive searches to reconnect disjointed segments.
Proposed Index Structures: STR-tree and TB-tree
To address these limitations, this research introduces two novel tree-based structures designed specifically for trajectory data.
The STR-tree (Spatio-Temporal R-tree)
The STR-tree is an evolutionary improvement over the standard R-tree. It modifies insertion and node-splitting algorithms to prioritize "trajectory preservation." While it still attempts to maintain spatial boundaries, it seeks to keep connected segments of the same trajectory within the same node.
The TB-tree (Trajectory-Bundle tree)
The TB-tree represents a more radical shift. It prioritizes trajectory integrity over spatial discrimination. In a TB-tree, leaf nodes function as "bundles" containing segments from only a single trajectory. While this may increase spatial overlap between nodes, it guarantees that trajectories remain intact. To further optimize retrieval, leaf nodes belonging to the same trajectory are linked via a doubly linked list, allowing the system to traverse an entire path without returning to the root.
Experimental Evaluation
Due to the lack of large-scale real-world datasets at the time of publication, the authors utilized the Genoa Spatio-Temporal Data (GSTD) generator. The synthetic datasets ranged from 10 to 1,000 moving objects, encompassing up to 1.5 million line segments across 100,000 temporal snapshots.
Key Results
The evaluation revealed several critical advantages of the proposed structures:
- Storage Efficiency: The STR-tree and TB-tree achieved nearly 100% node utilization, compared to 55-60% for standard R-trees. This resulted in the TB-tree requiring approximately half the disk space of an equivalent R-tree.
- Query Performance: For complex queries involving both spatial constraints and trajectory following, the TB-tree outperformed the R-tree by up to an order of magnitude.
- The Trajectory Advantage: The TB-tree's strategy of "all-in" trajectory bundling proved superior to the STR-tree's compromise approach. By exploiting the naturally "append-only" nature of time, the TB-tree maintains temporal discrimination even as it sacrifices spatial partitioning.
Conclusion and Future Work
The research demonstrates that preserving the connected nature of trajectories is paramount for efficient spatiotemporal indexing. While the TB-tree may see performance degradation in extremely dense spatial range queries, its superiority in path-based retrieval makes it a powerful tool for moving object databases.
Future work involves testing these structures against real-world movement data constrained by road networks and developing more advanced algorithms for topological and navigational queries, such as identifying objects that "bypass" or "cross" specific zones.
Summary updated