CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Automotive

🚗 Automotive · C4 Architecture · Pro

Connected Car Platform Architecture

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.

More Automotive templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Vehicle telematics unit connects over MQTT with its own certificate
  • Remote commands (lock, climate) go through a command service
  • Over-the-air updates are delivered from a separate OTA service

Prompt used

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.

Mermaid code
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")

Related templates

State MachineAutomotive

EV Charging Session State Machine

Every state of an electric vehicle charging session at a public charger, from plug-in to payment, including faults and idle fees.

SequenceAutomotive

Vehicle Software OTA Update

How a carmaker updates vehicle software over the air: campaign targeting, owner consent, download, safe installation and reporting.

C4 ArchitectureProAutomotive

EV Charging Network Architecture

A charge point operator's platform: chargers speaking OCPP, a central management system, driver app, payments and roaming.

DeploymentProAutomotive

Fleet Management Deployment

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.

SequenceAutomotive

Ride-Hailing Booking Sequence

What happens when a rider books a cab: fare estimate, driver matching, pickup, the trip and payment.

Database ERDAutomotive

Car Dealer Management Schema

A database schema for a car dealership: vehicles in stock, customers, test drives, bookings, sales and service jobs.