
π Automotive Β· Sequence
What happens when a rider books a cab: fare estimate, driver matching, pickup, the trip and payment.
Drawing diagramβ¦
Ride-hailing sequence: the rider enters pickup and drop, the pricing service returns a fare estimate with surge, the rider confirms, the matching service finds nearby drivers and offers the ride to the best one, the driver accepts, the rider sees driver details and live location, the driver arrives and starts the trip with the rider's OTP, ends the trip at the drop point, the final fare is calculated and charged to the rider's saved payment method, and both rate each other.
sequenceDiagram actor R as Rider participant App as Rider App participant Pr as Pricing Service participant M as Matching Service actor D as Driver participant Pay as Payments R->>App: Pickup and drop App->>Pr: Estimate fare Pr-->>App: Rs 320 (surge 1.2x) R->>App: Confirm booking App->>M: Find driver M->>D: Ride offer D-->>M: Accept M-->>App: Driver details, ETA 4 min D->>App: Arrived R-->>D: Share OTP D->>M: Start trip D->>M: End trip M->>Pr: Final fare Rs 338 Pr->>Pay: Charge saved method Pay-->>R: Receipt
Every state of an electric vehicle charging session at a public charger, from plug-in to payment, including faults and idle fees.
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.
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.
A database schema for a car dealership: vehicles in stock, customers, test drives, bookings, sales and service jobs.