data flow diagram with data storage, data flows, function and interface
Quý khách đang xem: Data-flow diagram – Wikipedia
a data-flow diagram is a way of representing a flow of data through a process or a system (usually an information system). the dfd also provides information about the outputs and inputs of each entity and the process itself. a data-flow diagram has no control flow, there are no decision rules and no loops. specific operations based on the data can be represented by a flowchart.
there are several notations for displaying data-flow diagrams. the notation presented above was described in 1979 by tom demarco as part of structured analysis.
for each data flow, at least one of the endpoints (source and / or destination) must exist in a process. the refined representation of a process can be done in another data-flow diagram, which subdivides this process into sub-processes.
the data-flow diagram is part of the structured-analysis modeling tools. when using uml, the activity diagram typically takes over the role of the data-flow diagram. a special form of data-flow plan is a site-oriented data-flow plan.
data-flow diagrams can be regarded as inverted petri nets, because places in such networks correspond to the semantics of data memories. analogously, the semantics of transitions from petri nets and data flows and functions from data-flow diagrams should be considered equivalent.
the dfd notation draws on graph theory, originally used in operational research to model workflow in organizations. dfd originated from the activity diagram used in the structured analysis and design technique methodology at the end of the 1970s. dfd popularizers include edward yourdon, larry constantine, tom demarco, chris gane and trish sarson.
data-flow diagrams (dfd) quickly became a popular way to visualize the major steps and data involved in software-system processes. dfds were usually used to show data flow in a computer system, although they could in theory be applied to business process modeling. dfds were useful to document the major data flows or to explore a new high-level design in terms of data flow.
dfd consists of processes, flows, warehouses, and terminators. there are several ways to view these dfd components.
the process (function, transformation) is part of a system that transforms inputs to outputs. the symbol of a process is a circle, an oval, a rectangle or a rectangle with rounded corners (according to the type of notation). the process is named in one word, a short sentence, or a phrase that is clearly to express its essence.
data flow (flow, dataflow) shows the transfer of information (sometimes also material) from one part of the system to another. the symbol of the flow is the arrow. the flow should have a name that determines what information (or what material) is being moved. exceptions are flows where it is clear what information is transferred through the entities that are linked to these flows. material shifts are modeled in systems that are not merely informative. flow should only transmit one type of information (material). the arrow shows the flow direction (it can also be bi-directional if the information to/from the entity is logically dependent – e.g. question and answer). flows link processes, warehouses and terminators.
Xem nhiều hơn: 全民槍戰Crisis Action: FPS Game – Apps on Google Play
the warehouse (datastore, data store, file, database) is used to store data for later use. the symbol of the store is two horizontal lines, the other way of view is shown in the dfd notation. the name of the warehouse is a plural noun (e.g. orders) – it derives from the input and output streams of the warehouse. the warehouse does not have to be just a data file, for example, a
thư mục with documents, a filing cabinet, and optical discs. therefore, viewing the warehouse in dfd is independent of implementation. the flow from the warehouse usually represents the reading of the data stored in the warehouse, and the flow to the warehouse usually expresses data entry or updating (sometimes also deleting data). warehouse is represented by two parallel lines between which the memory name is located (it can be modeled as a uml buffer node).
the terminator is an external entity that communicates with the system and stands outside of the system. it can be, for example, various organizations (eg a bank), groups of people (e.g. customers), authorities (e.g. a tax office) or a department (e.g. a human-resources department) of the same organization, which does not belong to the model system. the terminator may be another system with which the modeled system communicates.
rules for creating dfd
entity names should be comprehensible without further comments. dfd is a system created by analysts based on interviews with system users. it is determined for system developers, on one hand, project contractor on the other, so the entity names should be adapted for model domain or amateur users or professionals. entity names should be general (independent, e.g. specific individuals carrying out the activity), but should clearly specify the entity. processes should be numbered for easier mapping and referral to specific processes. the numbering is random, however, it is necessary to maintain consistency across all dfd levels (see dfd hierarchy). dfd should be clear, as the maximum number of processes in one dfd is recommended to be from 6 to 9, minimum is 3 processes in one dfd. the exception is the so-called contextual diagram where the only process symbolizes the model system and all terminators with which the system communicates.
dfd must be consistent with other models of the system – entity relationship diagram, state-transition diagram, data dictionary, and process specification models. each process must have its name, inputs and outputs. each flow should have its name (exception see flow). each data store must have input and output flow. input and output flows do not have to be displayed in one dfd – but they must exist in another dfd describing the same system. an exception is warehouse standing outside the system (external storage) with which the system communicates.
to make the dfd more transparent (i.e. not too many processes), multi-level dfds can be created. dfds that are at a higher level are less detailed (aggregate more detailed dfd at lower levels). the contextual dfd is the highest in the hierarchy (see dfd creation rules). the so-called zero level is followed by dfd 0, starting with process numbering (e.g., process 1, process 2). in the next, the so-called first level – dfd 1 – the numbering continues. e.g. process 1 is divided into the first three levels of the dfd, which are numbered 1.1, 1.2 and 1.3. similarly, processes in the second level (dfd 2) are numbered eg 2.1.1, 2.1.2, 2.1.3 and 2.1.4. the number of levels depends on the size of the model system. dfd 0 processes may not have the same number of decomposition levels. dfd 0 contains the most important (aggregated) system functions. the lowest level should include processes that make it possible to create a process specification for roughly one a4 page. if the mini-specification should be longer, it is appropriate to create an additional level for the process where it will be decomposed into multiple processes. for a clear overview of the entire dfd hierarchy, a vertical (cross-sectional) diagram can be created. the warehouse is displayed at the highest level where it is first used and at every lower level as well.
- activity diagram
- business process model and notation
- control-flow diagram
- data island
- directed acyclic graph
- functional flow block diagram
- function model
- structured analysis and design technique
- structure chart
- system context diagram
- value-stream mapping
- list of graphical methods
- scott w. ambler. the object primer 3rd edition agile model driven development with uml 2
- schmidt, g., methode und techniken der organisation. 13. aufl., gießen 2003
- stahlknecht, p., hasenkamp, u.: einführung in die wirtschaftsinformatik. 12. aufl., berlin 2012
- gane, chris; sarson, trish. structured systems analysis: tools and techniques. new york: improved systems technologies, 1977. isbn updating. p. 373
- demarco, tom. structured analysis and system specification. new york: yourdon press, 1979. isbn updating. p. 352.
- yourdon, edward. structured design: fundamentals of a discipline of computer program and systems design. new york: yourdon press, 1979. isbn updating. p. 473.
- page-jones, meilir. practical guide to structured systems design. new york: yourdon press, 1988. isbn updating. p. 384.
- yourdon, edward. modern structured analysis. new york: yourdon press, 1988. isbn updating. p. 688.
- media related to data flow diagram at wikimedia commons