University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram...
-
Upload
winfred-cox -
Category
Documents
-
view
216 -
download
3
Transcript of University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram...
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1
context diagramshows system and allexternal entity interfaces
example =music CD storeon the web
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 2
customer's involvement
bank's involvement
selection by customer
1.1.1display main
screenaccess site
1.1.2 find cdenter search parameters
1.1.3 display cdview
information about the cd
1.1.4 add to orderdecide how many to buy
1.1.5display total
order
check order, then accept or refuse (exit)
order wrap-up
1.2.1accept payment
infokey in name,
credit card, etc.
1.2.2 contact bankreceive credit
card info
1.2.3process bank
reply
see error message if
credit no good
send either reject or
authorization number
1.2.4 accept order
see all info, then make final
"accept" decision
1.2.5 customer resetdeliberately "exit" or just
time out
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 3
part of thehierarchy diagram
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 4
manager involvement
staff involvement
vendor involvement
purchasing system
involvement
A/R system involvement
file maintenance
2.1.1add cd
descriptionaccept or reject
cd'sprovide soft
copy of cd info
2.1.2update cd
descriptionadd prices
2.1.3receive
shipment
compare cd's received to P.O
then update inventory
provide P.O. (purchase order) info
2.1.4change
inventory
count inventory and correct inventory if necessary
2.1.5maintain
marketing blurb
update discounts and
sales blurb
reports and interfaces
2.2.1send
confirmation e-mail
review orders and approve
2.2.2today's
shipment reportlook at what to
ship today
2.2.3confirm today's
shippingconfirm what is actually shipped
received shipped info
2.2.4inventory balances
decide what to order, what to
discontinuecreate P.O.
2.2.5 sales reportscompare cost to
revenue
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 5
another part of thehierarchy diagram
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 6
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 7
finalhierarchy diagram
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 8
cd
d
escri
pti
on
cd
in
ven
tory
mark
eti
ng
b
lurb
cu
sto
mer
info
rmati
on
cd
bu
y lis
t
selection by customer
1.1.1display main
screenR
1.1.2 find cd R R
1.1.3 display cd R
1.1.4 add to order R C
1.1.5display total
orderR R
order wrap-up
1.2.1accept payment
infoC
1.2.2 contact bank R
1.2.3process bank
replyU
1.2.4 accept order U
1.2.5 customer reset D D
note. customer information+ cd buy list = shopping cart
CreateReadUpdateDelete
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 9
note. customer information+ cd buy list = shopping cart
CreateReadUpdateDelete
cd
d
escri
pti
on
cd
in
ven
tory
mark
eti
ng
b
lurb
cu
sto
mer
info
rmati
on
cd
bu
y lis
t
file maintenance
2.1.1add cd
descriptionC C
2.1.2update cd
descriptionU
2.1.3receive
shipmentU
2.1.4change
inventoryU
2.1.5maintain
marketing blurbC/R
reports and interfaces
2.2.1send
confirmation e-mail
U U U
2.2.2today's
shipment reportR R
2.2.3confirm today's
shippingU U
2.2.4inventory balances
R R
2.2.5 sales reports R R R R
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 10
we are carrying informationabout these
we may also need some information about these !!
probably don’tneed info about these
in tutorial you willdiscuss theseentities
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 11
level 3 DFD
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 12
level 3 DFD
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 13
level 3 DFD
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 14
level 3 DFD
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 15
level 2 DFD
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 16
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 17
real-time extensions
Controlline
conditions3.1 material
inlet3.3
Controllingtension
3.4
MonitorTension
3.5
Reportline
status3.2
Tension settings table
Enable
Enable
Enable
Enable
Disable
DisableDisable
Disable
Line tension
Line status
Tension inlet
control
Current tension
Currentgauge
Line tension
Tension off
Tension ok
Inletcontrol
nameID
name
Control Transfor-mation
Control flow (continuous)ControlStore
Control flow(discrete)
KEY
Source: Svoboda, C. P. “Structured Analysis”. In Thayer, R. H and Dorfman, M. (eds.) “Software Requirements Engineering, Second Edition”. IEEE Computer Society Press, 1997, p255-274 © Steve Easterbrook