Data Flow Diagram
A data-flow diagram (DFD) is a graphical representation of
the "flow" of data through an information system. DFDs can also be used for
the visualization of data
processing (structured design). On a DFD, data items flow from an external data source or an
internal data store to an
internal data store or an external data sink, via an internal process.
A DFD provides no
information about the timing or ordering of processes, or about whether
processes will operate in sequence or in parallel. It is therefore quite
different from a flowchart, which shows the flow of control through an algorithm, allowing a reader to
determine what operations will be performed, in what order, and under what
circumstances, but not
what kinds of data will be input to and output from the system, nor where the data will come from
and go to, nor where the
data will be stored (all of which are shown on a DFD).
It is common
practice to draw a context-level data flow diagram first, which
shows the interaction between the system and external agents which act as data
sources and data sinks. On the context diagram (also known as the Level 0
DFD) the system's interactions with the outside world are modelled purely
in terms of data flows across the system boundary. The context diagram
shows the entire system as a single process, and gives no clues as to its
internal organization.
This context-level
DFD is next "exploded", to produce a Level 1 DFD that shows some of
the detail of the system being modeled. The Level 1 DFD shows how the system is
divided into sub-systems (processes), each of which deals with one or more of
the data flows to or from an external agent, and which together provide all of
the functionality of the system as a whole. It also identifies internal data
stores that must be present in order for the system to do its job, and shows
the flow of data between the various parts of the system.
The
DFDs are used to:
- discuss with the user a
diagrammatic interpretation of the processes in the system and clarify
what is currently being performed
- determine what the new
system should be able to do and what information is required for each
different process that should be carried out
- check that the completed
system conforms to its intended design
Components
of Data Flow Diagrams
The components of a Data flow
Diagram are always the same but there are different diagrammatic notations
used. The notation used here is one adopted by a methodology known as SSADM
(Structured Systems Analysis and Design Methods)
Components
- External entities
- Processes
- Data stores
- Data flows
No comments:
Post a Comment