SlideShare a Scribd company logo
Lecture 09

Typical Processes
 Perform Computations
 Example – Process for calculating commission
 Make Decision
 Example – Order Management System
 Change Information
 Summarize Data
 Filter Data
 Example – ‘Where’ clause in SQL statements
 Sort Data
 Example – Issue logs

Typical Processes
 Triggering Processes
 Processes that trigger other processes.
 Process execution on a certain event.
 Example – Monthly billing cycle. Generate monthly bills against all
connections.
 Actions on stored data (CRUD)
 Create
 Create data and store it in database.
 Read
 Read stored data and take action.
 Update
 Modify and store data.
 Delete
 Delete the stored data.

 In data flow modeling only those processes can be
expressed that perform certain processing or
transformation of information. Now the question arises
how far these processes need to be expressed?
 Moreover, requirement analysis is an ongoing activity in
which knowledge expands as you dig out details of
processes. Therefore, it may not be possible for an analyst
to know each bit of all the processes of the system from
the very beginning. Keeping the complexity of systems in
view, data flow modeling technique has suggested
disseminating information of a system in more then just
one levels of abstraction.
Levels of Abstraction to
Data Flow Modeling

An Example - PMS

 Following is the 0-level or the context level data flow
diagram of the Patient Monitoring System. In this data
flow diagram, three external entities (users) are
interacting with the centralized system. Point to note here
is that in this context level diagram, only one process or
transform takes place that is the Patient Monitoring
System itself. A patient’s vital signs are transmitted to this
system which may invoke a warning message to the nurse
if these signs fall into the critical range. Nurse may
request for a report, which the patient monitoring system
retrieves from the patient log, and return it to the nurse
again. In this manner the 0-level data flow diagram
describes the context of this system.
An Example - PMS

Refining the Model

 Level 1 data flow diagram is the refinement of the context (0-level) data
flow diagram. All the external entities are the same (Nurse, and Patient),
however, the process of ‘Patient Monitoring System’ is further elaborated
by the three processes Local Monitoring, Report Generator, and Central
Monitoring. The Local Monitoring process transforms vital signs that it
receives from Patient entity into Patient data and passes this information to
Central Monitoring process. Central Monitoring process retrieves vital
signs bounds and compares Patient data and it may generate Warning
message if the Patient data goes out of normal Vital signs bounds. A nurse
may request for a report, in response the Report Generator process
retrieves Log data from Patient Log, generates the report and displays it
back to the nurse.
 It should be noted here that this level 1 diagram is a further refinement of
level 0 diagram such that the underlying system is the same but processes
which were hidden in level 0 are represented in this diagram.
Refining the Model

Information Flow in
“Central Monitoring”

 In the above level 2 data flow diagram, Patient’s data is sent to
the Unpack Signs process which unpacks it and send Pulse,
Temperature, and Blood pressure to the Evaluate Bounds
Violation process. This process retrieves Vital signs bounds
information, compares it with unpacked patient data and sends
a violation sign to the Produce Warning Message process upon
an out of bound result of the comparison. The patient data is
sent to Format Patient Data process that generates the
formatted patient data to be maintained against patient profile.
In this manner we elaborated the patient monitoring system up
to three levels describing different details at each level. In a
similar manner, other two processes in level 1 DFD could also
be expanded in their respective level two diagrams in order to
describe their functionality in more detail.
Information Flow in
“Central Monitoring”

Common Mistakes in DFD

Common Mistakes in DFD
 There is no input for the process Freeze Member Account.
 The Freeze Member Account process that does not have any input is an example
of a requirement whose source is not known.
 In a similar manner, the process Create a New Member Account does not
produce any output.
 Similarly, the Create a New Member Account process that does not produce any
output is an example of a requirement whose sink has not been specified.
 Similarly, Generate Employee Bank Statement process is having two inputs
and an output but the question really is, do these inputs correspond to the
output?
 Lastly, the Generate an Employee Bank Account process though have two
inputs and produces an output but in order to generate a bank statement, all
that is needed is an account number and the time period for which the statement
is required. If we analyze the inputs given to this process, we can observe that
both of these inputs cannot help in generating the account statement. Therefore,
these inputs are irrelevant to the output being generated by this process.

Illegal Data Flows

Illegal Data Flows

Illegal Data Flows

More Related Content

PDF
Keyrock and API Umbrella for Data Spaces
PPTX
Accenture Oracle Business Group: Helping You Become a High Velocity Enterprise
PPTX
Kafka Tutorial - DevOps, Admin and Ops
PPT
Training netbackup6x2
PDF
Ticketing System
PPTX
MemVerge: Past Present and Future of CXL
PPTX
Emc data domain
PDF
FIWARE Overview
Keyrock and API Umbrella for Data Spaces
Accenture Oracle Business Group: Helping You Become a High Velocity Enterprise
Kafka Tutorial - DevOps, Admin and Ops
Training netbackup6x2
Ticketing System
MemVerge: Past Present and Future of CXL
Emc data domain
FIWARE Overview

Similar to Lecture 09 (20)

PDF
P 00447--pharmacy database management system in vb(1)
PDF
Blood bank Management System Salesforce
DOC
Hospital management system report
PDF
Formal Verification of Distributed Checkpointing Using Event-B
PDF
Systems analysis and design (abe)
PDF
Building_a_Readmission_Model_Using_WEKA
PPTX
Health & Status Monitoring (2010-v8)
PPT
Week10 Analysing Client Requirements
PPTX
Global e-Business and Decision Support System.pptx
DOCX
SRS for Hospital Management System
PPTX
ISAD 313-3_ MODELS.pptx
PDF
Hospital Management System Project
PPTX
Lecture 07
PPTX
DOCX
DOC
CUSTOMER CARE ADMINISTRATION-developer-2000 and oracle 9i
PDF
Drish Infotech - Lab Information Management System LIMS
DOCX
Mobile store management
DOCX
ISAS 600 – Database Project Phase III RubricAs the final ste.docx
DOC
Early watch report
P 00447--pharmacy database management system in vb(1)
Blood bank Management System Salesforce
Hospital management system report
Formal Verification of Distributed Checkpointing Using Event-B
Systems analysis and design (abe)
Building_a_Readmission_Model_Using_WEKA
Health & Status Monitoring (2010-v8)
Week10 Analysing Client Requirements
Global e-Business and Decision Support System.pptx
SRS for Hospital Management System
ISAD 313-3_ MODELS.pptx
Hospital Management System Project
Lecture 07
CUSTOMER CARE ADMINISTRATION-developer-2000 and oracle 9i
Drish Infotech - Lab Information Management System LIMS
Mobile store management
ISAS 600 – Database Project Phase III RubricAs the final ste.docx
Early watch report
Ad

More from Rana Ali (14)

PPTX
PPTX
Lecture 14
PPTX
Lecture 13
PPTX
Lecture 12
PPTX
Lecture 11
PPTX
Lecture 10
PPTX
Lecture 08
PPTX
Lecture 06
PPTX
Lecture 05
PPTX
Lecture 04
PPTX
Lecture 03
PPTX
Lecture 02
PPTX
Lecture 01
PPTX
Lecture 15
Lecture 14
Lecture 13
Lecture 12
Lecture 11
Lecture 10
Lecture 08
Lecture 06
Lecture 05
Lecture 04
Lecture 03
Lecture 02
Lecture 01
Lecture 15
Ad

Lecture 09

  • 2.  Typical Processes  Perform Computations  Example – Process for calculating commission  Make Decision  Example – Order Management System  Change Information  Summarize Data  Filter Data  Example – ‘Where’ clause in SQL statements  Sort Data  Example – Issue logs
  • 3.  Typical Processes  Triggering Processes  Processes that trigger other processes.  Process execution on a certain event.  Example – Monthly billing cycle. Generate monthly bills against all connections.  Actions on stored data (CRUD)  Create  Create data and store it in database.  Read  Read stored data and take action.  Update  Modify and store data.  Delete  Delete the stored data.
  • 4.   In data flow modeling only those processes can be expressed that perform certain processing or transformation of information. Now the question arises how far these processes need to be expressed?  Moreover, requirement analysis is an ongoing activity in which knowledge expands as you dig out details of processes. Therefore, it may not be possible for an analyst to know each bit of all the processes of the system from the very beginning. Keeping the complexity of systems in view, data flow modeling technique has suggested disseminating information of a system in more then just one levels of abstraction. Levels of Abstraction to Data Flow Modeling
  • 6.   Following is the 0-level or the context level data flow diagram of the Patient Monitoring System. In this data flow diagram, three external entities (users) are interacting with the centralized system. Point to note here is that in this context level diagram, only one process or transform takes place that is the Patient Monitoring System itself. A patient’s vital signs are transmitted to this system which may invoke a warning message to the nurse if these signs fall into the critical range. Nurse may request for a report, which the patient monitoring system retrieves from the patient log, and return it to the nurse again. In this manner the 0-level data flow diagram describes the context of this system. An Example - PMS
  • 8.   Level 1 data flow diagram is the refinement of the context (0-level) data flow diagram. All the external entities are the same (Nurse, and Patient), however, the process of ‘Patient Monitoring System’ is further elaborated by the three processes Local Monitoring, Report Generator, and Central Monitoring. The Local Monitoring process transforms vital signs that it receives from Patient entity into Patient data and passes this information to Central Monitoring process. Central Monitoring process retrieves vital signs bounds and compares Patient data and it may generate Warning message if the Patient data goes out of normal Vital signs bounds. A nurse may request for a report, in response the Report Generator process retrieves Log data from Patient Log, generates the report and displays it back to the nurse.  It should be noted here that this level 1 diagram is a further refinement of level 0 diagram such that the underlying system is the same but processes which were hidden in level 0 are represented in this diagram. Refining the Model
  • 10.   In the above level 2 data flow diagram, Patient’s data is sent to the Unpack Signs process which unpacks it and send Pulse, Temperature, and Blood pressure to the Evaluate Bounds Violation process. This process retrieves Vital signs bounds information, compares it with unpacked patient data and sends a violation sign to the Produce Warning Message process upon an out of bound result of the comparison. The patient data is sent to Format Patient Data process that generates the formatted patient data to be maintained against patient profile. In this manner we elaborated the patient monitoring system up to three levels describing different details at each level. In a similar manner, other two processes in level 1 DFD could also be expanded in their respective level two diagrams in order to describe their functionality in more detail. Information Flow in “Central Monitoring”
  • 12.  Common Mistakes in DFD  There is no input for the process Freeze Member Account.  The Freeze Member Account process that does not have any input is an example of a requirement whose source is not known.  In a similar manner, the process Create a New Member Account does not produce any output.  Similarly, the Create a New Member Account process that does not produce any output is an example of a requirement whose sink has not been specified.  Similarly, Generate Employee Bank Statement process is having two inputs and an output but the question really is, do these inputs correspond to the output?  Lastly, the Generate an Employee Bank Account process though have two inputs and produces an output but in order to generate a bank statement, all that is needed is an account number and the time period for which the statement is required. If we analyze the inputs given to this process, we can observe that both of these inputs cannot help in generating the account statement. Therefore, these inputs are irrelevant to the output being generated by this process.