-
Notifications
You must be signed in to change notification settings - Fork 30
Interface Design
abmagil edited this page Dec 4, 2012
·
56 revisions
The public portion of the interface design is broken up into two parts:
- Inbound interfaces
- Outbound interfaces
- Schedule Data; General Transit Feed Specification (GTFS) is used to specify static schedule data in a consistent manner. GTFS was created by google and is available here
- Run, Trip, and DSC information; Should the GTFS not contain the complete schedule data, other input sources can be merged into the GTFS during the bundle building process
- Crew Assignment Data; mapping operator to run
- Depot Data; mapping bus to depot
- Destination Sign Code Data; mapping headsign to code and route number
- Pullouts Data; Linking buses to runs, blocks, and operators
- Service Alert Data; Service Interface for Real-time Data (SIRI) is currently used to describe service alerts (interruptions to service both scheduled and instantaneous)
- TCIP Bus Message; Transit Communication Interface Profiles (TCIP), used to describe the real-time bus messages input into the system and placed on the real-time queue.
- Inference Data; a JSON serialization of the java objects describing the inference engine results, as placed on the inference queue.
- App Services
- Operational API (RESTful service returns JSON)
- TDM services: [TDM]
- Crew Assignment API (RESTful service returns JSON)
- DSC API (RESTful service returns JSON)
- Depot API (RESTful service returns JSON)
- Pullouts API (RESTful service returns JSON)
- QR coding API (RESTful service returns image/zipped folder of images)
- Configuration API (RESTful service returns JSON)
- Logging API (RESTful service returns JSON)
- API Key API (RESTful service returns JSON)
- Bundle API (RESTful service returns JSON)
- Bundle-DSC-to-Route API (RESTful service returns JSON)
- Trips-For-Run API (RESTful service returns JSON)
- Runs-For-Stop API (RESTful service returns JSON)
- Historical API (RESTful service returns JSON)
These are less a formal API and more UI pages that facilitate status and debugging information
- Vehicle Tracking Webapp portal (HTML page which offers additional services)
- Current Vehicle Particles/Status (HTML page showing the most likely particle for each bus. Can additionally access all particles for a vehicle from this page)
- Bundle Status (HTML page showing the currently deployed bundle on the IE. Can additionally change to any IE stored on the TDM)
- Vehicle Simulator/Logged Data Playback (HTML page which allows replay of saved bus records (in csv or tab-delimited format)
- Data Debug/Sanity Check
- Vehicle Tracking Webapp portal (HTML page which offers additional services)