Trajectory service
Lindorm GanosBase SQL addresses the data management challenges of Internet of Vehicles (IoV) platforms: ingesting more than 10 TB of vehicle data per day, answering geofencing and range queries within milliseconds, and running batch trajectory analytics within seconds to minutes — all within a single database system.
IoV platform requirements
Modern automotive cloud platforms handle a diverse mix of workloads, each with distinct latency requirements:
-
Real-time geofencing: determine whether a vehicle has left a defined area within milliseconds.
-
Spatio-temporal statistics: count vehicles in a region and generate heatmaps in real time, within milliseconds.
-
Historical trajectory queries: retrieve a vehicle's trajectory within a spatio-temporal range over the last 24 hours, with results in milliseconds to seconds.
-
Circular range queries: find all vehicles within 2 kilometers of a given location, with results in milliseconds to seconds.
-
Trajectory entry/exit statistics: aggregate historical trajectory data to count entries and exits for a defined area, with results in seconds to minutes.
-
Trajectory length analysis: calculate the total distance each vehicle traveled in a specified period and analyze movement patterns.
Meeting all these requirements on a single platform demands high write throughput, cost-effective storage, and the ability to switch between millisecond-latency online queries and near-offline batch aggregation.
How Lindorm GanosBase addresses these requirements
Lindorm GanosBase covers all IoV workloads through two engines: LindormTable for online queries and storage, and the Lindorm streaming engine for real-time computing.
Query types, engines, index support, and response times
| Query type | Engine | Index support | Response time |
|---|---|---|---|
| Historical trajectory query (spatio-temporal range) | LindormTable | Spatio-temporal index | Milliseconds to seconds |
| Circular range query | LindormTable | Spatio-temporal index | Milliseconds to seconds |
| Geofencing (real-time) | Lindorm streaming engine | Spatio-temporal index | Milliseconds |
| Spatio-temporal statistics (real-time heatmap) | Lindorm streaming engine | Spatio-temporal index | Milliseconds |
| Trajectory entry/exit statistics | LindormTable | Aggregate functions | Seconds to minutes |
| Trajectory length calculation | LindormTable | Aggregate functions | — |
Online query and cost-effective storage
LindormTable stores trajectory points using the same data types supported by Lindorm GanosBase, so queries use standard SQL syntax without a schema conversion step. Spatio-temporal indexes in LindormTable accelerate historical trajectory queries and circular range queries. LindormTable's high write throughput and compression ratio keep storage costs low even at IoV data volumes.
Real-time computing
The Lindorm streaming engine shares the same data types as LindormTable, so the same SQL syntax works across both engines. Spatio-temporal indexes in the streaming engine accelerate geofencing checks and real-time spatio-temporal statistics to deliver millisecond-level responses.
Batch trajectory statistics
LindormTable aggregate functions support near-offline trajectory aggregation: counting trajectory entry and exit points, calculating trajectory lengths, and analyzing vehicle movement patterns over historical data.