
π Railways & Public Transport Β· Data Flow
How a city bus app shows live bus positions and arrival times: GPS devices on buses, a prediction model and updates to apps and stop displays.
Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.
Drawing diagramβ¦
Live bus tracking data flow: GPS devices on buses send location every 10 seconds over 4G to a tracking server. It matches positions to the route and stop sequence from the schedule database. An ETA model uses live speeds and historical travel times to predict arrivals at upcoming stops. Predictions go to the passenger app, electronic display boards at stops, and the depot control dashboard. The data is archived for service planning.
flowchart LR
subgraph EXT ["External entities"]
bus["Bus GPS Devices"]
pax["Passenger App"]
boards["Stop Display Boards"]
depot["Depot Control"]
planners["Service Planners"]
end
subgraph PROC ["Processes"]
p1("1.0 Receive and match positions to routes")
p2("2.0 Predict arrival times")
p3("3.0 Publish predictions")
p4("4.0 Archive trips")
p5("5.0 Report for service planning")
end
subgraph STORE ["Data stores"]
d1[("D1 Routes and Schedules")]
d2[("D2 Historical Travel Times")]
d3[("D3 Trip Archive")]
end
bus -->|"Location every 10 s over 4G"| p1
d1 -->|"Route and stop sequence"| p1
p1 -->|"Matched positions and live speeds"| p2
d2 -->|"Typical travel times"| p2
p2 -->|"Arrival predictions"| p3
p3 -->|"Arrival times"| pax
p3 -->|"Arrival times"| boards
p1 -->|"Live fleet view"| depot
p1 -->|"Trip data"| p4
p4 -->|"Completed trips"| d3
p4 -->|"Actual travel times"| d2
d3 -->|"Trip history"| p5
p5 -->|"Service reports"| plannersA data flow diagram with 10 processes and outside parties, 3 data stores and 13 data flows.
Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.
A railway reservation system in the style of IRCTC: seat inventory per train and class, waitlists, Tatkal quota, payments and e-tickets.
The states of a train ticket from booking to journey, including RAC and waitlist confirmation and cancellation.
How a metro fare is charged with a smart card or bank card: tap in at the entry gate, tap out at the exit, fare by distance and balance update.
How a modern railway signalling network is connected: interlocking at stations, track circuits, train control radio and the central traffic control centre.
A journey planner that combines metro, bus, suburban train and last-mile options into one trip plan with a single ticket.
Tables for train operations: trains, routes, stations, scheduled stops, coaches and daily running with actual times.