
🚗 Automotive · C4 Architecture · Pro
A connected vehicle platform: the telematics unit in the car, the cloud services that collect data and send commands, and the owner's mobile app.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
A connected car platform: each vehicle has a telematics control unit (TCU) that sends location and health data over MQTT to an IoT gateway. Cloud services include a vehicle data service storing telemetry in a time-series DB, a remote command service for lock/unlock and climate, and an OTA update service. Owners use a mobile app through an API gateway; roadside assistance is an external system.
C4Container
title Connected Car Platform
Person(owner, "Car Owner", "Uses the mobile app")
System_Ext(car, "Vehicle TCU", "Telematics unit in the car")
System_Boundary(cc, "Connected Car Cloud") {
Container(app, "Owner App", "iOS / Android", "Lock, locate, climate")
Container(api, "API Gateway", "Kong", "Auth and routing")
Container(iot, "IoT Gateway", "MQTT", "Vehicle connections")
Container(data, "Vehicle Data Service", "Go", "Location and health")
Container(cmd, "Remote Command Service", "Java", "Lock, climate, horn")
Container(ota, "OTA Update Service", "Java", "Software campaigns")
ContainerDb(tsdb, "Telemetry DB", "TimescaleDB", "Vehicle signals")
}
System_Ext(rsa, "Roadside Assistance", "Breakdown support")
Rel(owner, app, "Uses")
Rel(app, api, "Calls", "HTTPS")
Rel(api, cmd, "Routes")
Rel(api, data, "Routes")
Rel(car, iot, "Telemetry", "MQTT/TLS")
Rel(iot, data, "Forwards")
Rel(data, tsdb, "Stores")
Rel(cmd, iot, "Sends commands")
Rel(ota, iot, "Pushes updates")
Rel(data, rsa, "Crash alerts")Every state of an electric vehicle charging session at a public charger, from plug-in to payment, including faults and idle fees.
How a carmaker updates vehicle software over the air: campaign targeting, owner consent, download, safe installation and reporting.
A charge point operator's platform: chargers speaking OCPP, a central management system, driver app, payments and roaming.
Where each part of a fleet management system runs: GPS devices in trucks, cloud services for tracking and analytics, and apps for managers and drivers.
What happens when a rider books a cab: fare estimate, driver matching, pickup, the trip and payment.
A database schema for a car dealership: vehicles in stock, customers, test drives, bookings, sales and service jobs.