Understanding Data Flow Diagrams (DFD) with an Airline Ticket Booking Example
This article introduces Data Flow Diagrams (DFD) as a visual tool for modeling system data flows, explains their core components and symbols, and demonstrates their application through a step‑by‑step airline ticket reservation case study, helping readers grasp DFD creation and interpretation.
Data Flow Diagrams (DFD) are graphical tools that help users understand and analyze the flow of data within a system by describing functions, inputs, outputs, and data stores without tying them to specific implementation details.
Components of a DFD include:
Data Flow : a named conduit showing the direction of data movement between processes, stores, or external entities.
Process (or "加工") : a transformation that converts input data flows into output data flows.
Data Store : a temporary repository for data, each with a distinct name.
External Entity : a person or organization that exists outside the software system.
Basic Symbol Set (Key) :
Square: source or destination of data.
Circle or ellipse: a process.
Arrow: a data flow.
Double‑line rectangle: a data store.
Practical Case Study – Airline Ticket Booking System
The article walks through drawing a DFD for a ticket‑booking scenario:
The airline (external entity) uses flight information (data) to arrange flights (process).
Flight information is stored in the "booking information" data store.
When a passenger books a ticket, the passenger (external entity) inputs personal data, which triggers a booking process.
The system queries the booking information store for suitable flights and returns ticket details.
The ticket information is then sent to a printer (process) to produce a physical ticket.
Finally, the ticket is delivered back to the passenger, completing the flow.
Each step is illustrated with diagrams (images) that map the described entities, processes, data flows, and stores, demonstrating how DFDs can be quickly constructed once the relationships are understood.
The article concludes by encouraging readers to practice DFD creation, noting that mastering the basics makes drawing more complex system diagrams straightforward.
Top Architect
Top Architect focuses on sharing practical architecture knowledge, covering enterprise, system, website, large‑scale distributed, and high‑availability architectures, plus architecture adjustments using internet technologies. We welcome idea‑driven, sharing‑oriented architects to exchange and learn together.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.