Overview
Info
This document is a work in progress.
Data Collector Service, a subset of Telenav Vivid Nav SDK, collects and stores many kinds of event data into Telenav’s Smart Data Lake so that Telenav can use such data for various analysis to enable personalization related features and functionality in addition to product developments & improvements. Such as:
- Home area detection
- Predictive Cards
- Personalization
- RoadSense
The Data Collector Service consists of two components - Data Collector and Data Source
Data Collector
On the edge, DataCollector works like a typical messaging middleware; when an event is reported by a producer, it will notify all consumers that subscribed to this event. In general, DataCollector concentrates on two kinds of events - user operation events from the application and sensor events from the vehicle. With a supported event data model provided as an API, user will construct a specific event and then send a request to DataCollector which contains the event data.
Important capabilities of Data Collector service include:
- Support various event data models for application & sensor events
- Packing & Compression to save bandwidth when uploading data to the cloud
- Support realtime customized consumer when events arrive
- Accomodate data caps for network usage
- Local database to store events when network is not available
- Upload data to Cloud Data Lake
- Enables data analysis for powerful insights
The data collector package provides classes to send application and vehicle sensor events to cloud, and support realtime event consumption on the edge.
The TNDataCollectorClient currently supports 3 methods (Send, Subscribe and Unsubscribe). Refer sections for details:
Data Source
Data Source is provided as an optional component to facilitate generation of data from various iOS data sensors.
Data Source can help produce event data regularly and automatically at pre-configured intervals and send them to the Data Collector component.
Currently, GPS probe, Acceleration, Gravity and Gyroscope data collection is supported.
Relationship between Data Source & Data Collector: