Process Modelling - Information Management and Systems

Download Report

Transcript Process Modelling - Information Management and Systems

CSE1204 - Information Systems 1
Process Modelling
Using Data Flow Diagrams –
Building and Levelling Them;
Process Modelling Using Function
Decomposition
Example system:

a generic warehouse-inventory information system
Monash University, SIMS, Semester One, 2005
2
Levelling Data Flow Diagrams
any "real" system is too large to represent as
single data flow diagram

a
the solution is to decompose the system into a
hierarchy of levels of processing

the process model of the system then consists of a
set of levelled data flow diagrams

levelling of DFDs improves their readability and
usefulness as a communication tool

Monash University, SIMS, Semester One, 2005
3
Levelling of DFDs
Levelling creates a hierarchical decomposition
of the processing within the system

Context diagram

Level 0 diagram
Level
1 diagrams
 Level
2 diagrams
.
.
.
 Level n diagrams
Monash University, SIMS, Semester One, 2005
4
Context Diagram




the highest level data flow diagram is the context diagram
the context diagram shows the interaction of the system
with its environment in terms of data flows
the context diagram defines the boundary of the system
(the scope of the system)
only the data flows which leave the system and the data flows which
come from outside the system are shown
Monash University, SIMS, Semester One, 2005
5
Context Diagram

the entire system is represented as a single process

all external agents (sources and sinks) are shown

no data stores are shown: they are inside the boundary
of the system
EASY GO
HOTEL
Monash University, SIMS, Semester One, 2005
6
Example Context Diagram
sales order
Sales Order
System
purchase order
Suppliers
goods returned
goods unavailable
notice
shipping slip
supplier delivery
Inventory
System
checked supplier
invoice
Warehouse
Monash University, SIMS, Semester One, 2005
Accounts
Department
7
Level Zero Diagram

the level zero data flow diagram is the diagram at
the level immediately below the context diagram

it "expands" the single process on the context
diagram to show the major, high-level processes (or
functions) within the system
1.0
4.0
2.0
3.0
Monash University, SIMS, Semester One, 2005
8
Level Zero Diagram

all external agents (sources and sinks) are
included because the level zero diagram,
like the context diagram, represents the
entire system

the number of each process ends in .0
which corresponds to the level of the
diagram:
e.g.
1.0, 2.0, 3.0 etc.
often just 1, 2, 3 etc. are used
Monash University, SIMS, Semester One, 2005
9
Example Level Zero Diagram
Order Entry
System
purchase order
Suppliers
sales order
2.0
Monitor
Stock
levels
3.0
1.0
out of stock
notice
Fill
Sales
Orders
Accept
Deliveries
supplier
delivery
Stock file
shipping slip
Warehouse
checked supplier
invoice
Monash University, SIMS, Semester One, 2005
Accounts
Department
10
Levelling DFDs
Context diagram
1
2
3
1.1
Level zero diagram
1.2
Monash University, SIMS, Semester One, 2005
Diagram
1 (at Level 1)
11
Level 1 diagrams



a set of data flow diagrams is created at Level 1
there is one Level 1 diagram for each of the processes
at Level zero
each diagram decomposes a Level zero process into
several processes
2.4
2.1
2.3
2.5
2.2
Monash University, SIMS, Semester One, 2005
12
Level 1 and lower level diagrams




each Level 1 diagram and diagrams at lower
levels (e.g. Level 2, Level 3) show only a part of
the processing
Level 1 processes are numbered 1.1, 1.2, 1.3,
and 2.1, 2.2, 2.3 etc
that part is shown in more detail than on the
Level zero diagram
no external agents are shown on a Level 1 or
lower diagrams, as the entire system is not
being represented
Monash University, SIMS, Semester One, 2005
13
Example Level zero diagram
SUPPLIERS
CUSTOMERS
p.o.
number
Customer details
Product
details
product qty
1
Record and
Invoice
Sales
customer
invoice
product
holding
INVENTORY
product
delivered
qty
product product holding
order qty
SALES ORDERS
product
Monash University, SIMS, Semester One, 2005
order qty
product
p.o. invoice
order
qty
2
Maintain
Product
Inventory
delivery
qty
14
Example Level 1 diagram
Check
Stock Available
1.1
Check
Customer
Credit
Product
details
product
qty
customer credit
status
SALES ORDERS
product
product
holding
INVOICES
available qty
1.4
1.3
product
qty
INVENTORY
1.2
Customer
details
Create Sales
Invoice
Record
Sales
Demand
Monash University, SIMS, Semester One, 2005
customer
invoice
15
Levelling of DFDs
Context
Level 0
Level 1
Level 2
1
1.1
1.2
2
1.3
2.1
3
2.2
3.1
1.1.1 1.1.2
4
3.2
3.2.1
Monash University, SIMS, Semester One, 2005
4.1
4.2
4.3
3.2.2
16
References

WHITTEN, J.L., BENTLEY, L.D. and DITTMAN, K.C. (2001) 5th
ed., Systems Analysis and Design Methods, Irwin/McGraw-HilI,
New York, NY. Chapters 8

HOFFER, J.A., GEORGE, J.F. and VALACICH (2005) 4th ed.,
Modern Systems Analysis and Design, Benjamin/Cummings,
Massachusetts.
Chapter 7
Monash University, SIMS, Semester One, 2005
17