University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram...

17
University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interface example = music CD store on the web

Transcript of University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram...

Page 1: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 2: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 3: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 3

part of thehierarchy diagram

Page 4: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 5: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 5

another part of thehierarchy diagram

Page 6: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 6

Page 7: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 7

finalhierarchy diagram

Page 8: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 9: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 10: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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

Page 11: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 11

level 3 DFD

Page 12: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 12

level 3 DFD

Page 13: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 13

level 3 DFD

Page 14: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 14

level 3 DFD

Page 15: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 15

level 2 DFD

Page 16: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 16

Page 17: University of Toronto at Scarborough © Kersti Wain-Bantin CSCC40 DFD examples 1 context diagram shows system and all external entity interfaces example.

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