1 / 26

National Diploma in Systems Analysis and Design Data Flow Modelling

National Diploma in Systems Analysis and Design Data Flow Modelling. Data Flow Modelling. A data flow model (DFM) defines the passage of data through a system, The DFM comprises: A consistent set of Hierarchic Data Flow Diagrams (DFD) Associated documentation. Components of DFD’s.

dionne
Download Presentation

National Diploma in Systems Analysis and Design Data Flow Modelling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. National Diploma in Systems Analysis and Design Data Flow Modelling

  2. Data Flow Modelling • A data flow model (DFM) defines the passage of data through a system, The DFM comprises: • A consistent set of Hierarchic Data Flow Diagrams (DFD) • Associated documentation

  3. Components of DFD’s • External Entities • Data Flows • Processes • Data Stores

  4. External Entities • An external entity is a person, organisation, department, computer system or anything else which either sends data into a system or which receives data from a system, but which for the purposes of the project in question are outside the scope of the system itself. Identifier A Customer Sends data into or receives data from a system Name

  5. Data Flows • A data flow is a route by which data may travel from one element of a DFD to another. Data flows are represented by arrows which are labelled with a simple meaningful name Customer Details A route by which data can flow from one element to a DFD to another

  6. Processes • Processes are transformations which change incoming data flows into outgoing data flows. Processes are represented as rectangles which contain a simple description of the process, e.g. verify customer details. Each process has a unique reference number. Identifier Location 1. Accts Check Customer Details Transformations which change incoming data flows to outgoing data flows Process Description

  7. Processes - continued • In the early stages it is possible to show where in the organisation the process takes place, e.g. Accounts Section, however this is a physical constraint imposed by the existing system and should not appear in a completed ‘logical’ data flow diagram

  8. Data Stores • A data store is a repository for data. A data store is represented by an open ended rectangle containing the name of the data store (usually a plural noun such as customers), each data store has a unique reference number prefixed by the letter D Identifier Name D1 Orders A repository for data

  9. Data Flow Diagrams • Having described the basic components of DFD’s , the next stage is to look at how the components can be fitted together to form a complete DFD. Essentially the External Entity, Process and Data Store components can be interlinked using certain valid data flows.

  10. External Entity to Process, i.e. receiving data from outside the system

  11. Process to External Entity, i.e. sending data out of the system

  12. Process to Data Store, i.e. writing data to a data store

  13. Data Store to Process. i.e. reading from a data store

  14. Process to Process, i.e simply passing data on within the system

  15. External Entity to Data Store This is the logical equivalent of giving customers and suppliers direct access to update/delete your files, eg using an editor. There has to be a process to transfer data from external entity to data store

  16. Data Store to External Entity This is the logical equivalent of giving customers and suppliers direct access to read your files, eg using an editor

  17. Data Store to Data Store In this case even a direct to file copy is considered to be carried out by a process

  18. How are DFD’s Constructed? • There are no hard and fast rules and many re-drafts will be necessary • as your understanding improves and new/changed requirements are • identified, however, the following steps may be useful: • Establish the major inputs and outputs of the system, their sources, • recipients and represent them in a context diagram; • Establish a process which handles each data flow on its arrival into • the system; • Establish a process that generates each output data flow;

  19. Identify the data stores which are required to link the input and output • processes, ie the data stores which need to be read from and written to; • Rationalise the Level 1 DFD so that it includes 6-10 processes • (This may be done by combining and /or splitting processes; • For each level 1 process draw a level 2 DFD and if necessary draw • any level 3 DFD’s required; • Review the entire DFD set against the identified requirements and • re-draft if necessary.

  20. 2 2.3 2.2 2.1 Process Process Process External Entity External Entity 1 3 2 Process Process Process Data Flow Diagram Levels Level 0 Level 1 Level2 Overall Process

  21. 2.2 2.2.1 2.2.2 2.2.3 Process Process Process Data Flow Diagram Levels Level 3 Level4 2.2.2 Elementary Process Description

  22. An Example of a simple DFD Consider for a moment that you are reading a book, and then passing the information that you have gained onto a friend. You have all the required components to construct a simple DFD: Process: You Data Store: Book External Entity: A Friend Data Flow: Book Information

  23. A Friend M1 Book 1 You Gather and explain the contents of the book An Example of a simple DFD Now if we put this diagram together we now have: (Data Store) (Data Flow) Book Information Data Flow) (External Entity) Book Information (Process) This is an example of a physical Diagram

  24. M1 Communication Data Recipient 1 Communicator Communicate An Example of a simple DFD DFD’s can be used to show the logical view of a situation: It does not matter anymore who or where the data is coming from or to!

  25. Conclusion DFD’s can be used to represent any situation a system can present. They can represent both physical and logical views of a situation. There are no hard or fast rules for the construction of DFD’s and Your design will change a number of times. Normally evolve from the context diagram, (identifying the major Inputs/outputs). Each level of your DFD should hold 5 or so process box’s.

  26. Conclusion There are commonly only 3 levels used. The lowest level (Level 4) that can be reached is the Elementary Process Description (EPD’s) EPD’s commonly use Decision trees, decision tables or Structured English. Further Reading: Systems Analysis Techniques by Mark Lejk and David Deeks, pages 23 - 57 (Introducing Data Flow Diagrams and Creating DFD’s)

More Related