MOBILITY DEMO - RIDES

Fleet Events from Pub/Sub


This page demonstrates how Fleet Engine events are:

  • Sent to Google's Pub/Sub
  • Pushed to a Cloud Function
  • Pushed to Pub/Sub topics
  • Pulled from Pub/Sub subscriptions for vehicles and trips
Click here for technical details.

Message Flow


Next message pull: seconds

  
*Note: Messages appear after performing tasks such as Uploading Schedile and Executing Rides.

Vehicle Messages

Topic: demo-eventsVehicle - Subscription: demo-eventsVehicle-sub

Trip Messages

Topic: demo-eventsTrip - Subscription: demo-eventsTrip-sub

Documentation

    

Architecture

    

Architecture & Data Flow

This diagram shows how delivery status and vehicle location data flows from the driver app through
Fleet Engine to a Pub/Sub Topic and ultimately to a Google Cloud Function.


  • Fleet Engine maintains vehicle location and delivery status
  • ETAs updated based on real-time road conditions and traffic information
  • GCP: Fleet Engine

Google Mobility Services

    

What is Mobility?

Google defines “mobility” as the movement of people, goods, and services.

To assist in development of mobility solutions, Google offers their Mobility Services.

These services include APIs and SDKs to solve two primary use cases:

  • Ride share services
  • Food and package deliveries

A core component of Mobility Services is Fleet Engine, a backend service to track vehicle locations, update ride and delivery statuses, and provide Analyze Fleet.

This demo focuses on Fleet Engine and its use in mobility solutions.

Learn more about Fleet Engine

Mobility Solution

Driver App

Dispatch App

Consumer App

Fleet Engine

    

What is Fleet Engine?

Fleet Engine is a cloud service and core component of Google's Mobility Services, designed to provide the following features:

  • Real-Time Fleet Visibility: Monitor every vehicle, ride, and delivery as it happens.
  • Developer-Ready SDKs & APIs: Easily integrate vehicle creation, tracking, and data exchange into mobile and web apps.
  • Seamless Journey Management: Orchestrate complex workflows of trips and tasks, with full visibility from dispatch to drop-off.
  • End-to-End Coordination: Keep drivers and customers in sync with live updates.

Mobility Solution

Ride Solution Architecture

    

Workflow

    

Delivery Solution Architecture

    

Workflow

    

Driver App

User Profile

    
Id:
Name:
Email:
Company: