Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Engineering
Spring Semester, 2008
Copyright Reserved
Building Design Model
Today’s Topic
Building Architecture Design Model
Data Flow Oriented Design Technology
Requirements
Requirements Mapping Designs
Designs
(SRS)
(SRS) (SDS)
(SDS)
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Complete and
Design Related
Requirement Technology Software
Requirement Software
AnalysisModels
Analysis Models DesignModels
Design Models
DataFlow
Data Flow Software
Software
Requirement
Requirement Data Flow Architecture
Architecture
Models
Models Oriented Design DesignModels
Design Models
Technology
©Copyright Xinjun Mao 9
Building Design Model
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Internal
Time
Action
Paths
Transaction
Center
Transaction
Transaction
©Copyright Xinjun Mao 17
Center
Building Design Model
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Transform Mapping
Mapping the transform data flow diagram into
software architecture design model
– Input: transform data flow diagram
– Output: software architecture
Control panle
Display info.
User commands and data
SafeHome
Alarm type Alarm
software
Sensor status
Telephone number tones
Sensors
Control panel
display
Control panle
Display info.
User commands and data
SafeHome
Alarm type Alarm
software
Sensor status
Telephone number tones
Sensors
Telephone
line
Time
A B F
E H I J
C D G
Low level
©Copyright Xinjun Mao 32
Building Design Model
A B F
E H I J
C D G
M a in C o n tro lle r
B D E I
A C F G J
H
Building Design Model
A B F
E H I J
C D G
M a in C o n tro lle r
B D E I
A C F G J
H
Incoming Flow Transform Center Outgoing Flow
A B F
E H I J
C D G
Main Controller
B D E J
A C F G
H
Building Design Model
Main Control
Main Control
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Transaction Mapping
Mapping the transaction data flow diagram into
software architecture design model
– Input: transaction data flow diagram
– Output: software architecture
action path
T
commands
operator process
report display
operator
commands screen
robot control
robot
control
software
Transaction assembly
record
in reality, other
commands
would also be shown
R ecep tio n
In p u t C o n tro ller C D isp a tch er
B P a th
C1 Cn
C
P A ctio n P a th
E
Q
D
R
Sample (1/3)
Sample (2/3)
Sample (3/3)
Reception
Input Controller C Dispatcher
B Path
C1 Cn
B
C
P
A P Q S
E
Q
R
D
R
Reception
Input Controller C Dispatcher
Path
B
C1 Cn
B
C
P
A P Q S
E
Q
R
D
R
S
©Copyright Xinjun Mao 53
Building Design Model
Reception
B C Dispatcher
B Path
C1 Cn
C A
P
P Q S
E
Q
R
D
R
S
©Copyright Xinjun Mao 54
Building Design Model
Display
msg&status Produce
invalid
message
Display
msg&status Produce
invalid
message
©Copyright Xinjun Mao 57
Building Design Model
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Agenda
From Analysis to Design
Two Kinds of Data Flows
Transform Mapping
Transaction Mapping
Refine the Architecture Design
Summary
Summary (1/2)
Requirements (DFD) Î Architecture Design
– Systematic approaches should be presented to guide the
software design
– To guarantee the completeness and correctness of software
design
Data flow oriented design technology
– Provide methods and steps to map the requirements model
into design models
– DFD diagrams Î Hierarchy diagrams
– Architecture design
©Copyright Xinjun Mao 62
Building Design Model
Summary (2/2)
Two kinds of DFD
– Transform DFD
– Transaction DFD
Two kinds of approaches
– Transform mapping
– Transaction mapping
Refinement strategy
– High quality software design
©Copyright Xinjun Mao 63
Building Design Model
Assignment
See assignment3 (doc)
Next Lecture
Software testing
Chapter 13 and 14 in
Textbook
Q&A