3.2 The design model & Architectural design.ppt
1,616 views
25 slides
Feb 06, 2023
Slide 1 of 25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
About This Presentation
software
Size: 568.18 KB
Language: en
Added: Feb 06, 2023
Slides: 25 pages
Slide Content
THE DESIGN MODEL
DIMENSIONS OF THE DESIGN
MODEL
Process Dimension (Progression)
Abstraction Dimension
Data/Class
Elements
Interface
Elements
Architectural
Elements
Component-level
Elements
Deployment-level
Elements
Analysis model
Design model
ARCHITECTURAL DESIGN
STEPS
1)Represent the system in context
2)Define archetypes
3)Refine the architecture into components
4)Describe instantiations of the system
1. REPRESENT THE SYSTEM IN
CONTEXT
Usesanarchitecturalcontextdiagram(ACD)that
modelsthemannerinwhichsoftwareinteractswith
entitiesexternaltoitsboundaries
1. REPRESENT THE SYSTEM IN
CONTEXT
AnACDidentifiessystemsthatinteroperatewiththetargetsystem
(systemforwhicharchitecturaldesignistobedeveloped.
Super-ordinatesystems
Usetargetsystemaspartofsomehigherlevelprocessing
scheme
Sub-ordinatesystems
Usedbytargetsystemandprovidenecessarydataor
processingdetails
Peer-levelsystems
Interactonapeer-to-peerbasiswithtargetsystemto
produceorconsumedata
Actors
Peopleordevicesthatinteractwithtargetsystemtoproduce
orconsumedata
1. REPRESENT THE SYSTEM IN
CONTEXT
Target system
I/F I/F
I/F I/F I/F
Actors
Peers
"Super"ordinate systems
"Sub"ordinate systems
Used by
Produces or
consumesProduces or
consumes
Depends on
Uses
EXAMPLES
Archetypes in Software Example Architecture –
Node
Detector/Sensor
Indicator
ControllerFigure 10.7 UML relationships for SafeHome security function archetypes
(adapted from [BOS00])
Controller
Node
communicates with
Detector Indicator
3. REFINE THE ARCHITECTURE
INTO COMPONENTS
Basedonthearchetypes,thearchitecturaldesignerrefinethe
softwarearchitectureintocomponentstoillustratetheoverall
structureandarchitecturalstyleofthesystem
Thesecomponentsarederivedfromvarioussources
Theapplicationdomainprovidesapplicationcomponents,
whichrepresenttheentitiesintherealworld
Theinfrastructuredomainprovidesdesigncomponents(i.e.,
designclasses)thatenableapplicationcomponentsbuthaveno
businessconnection
TheinterfacesintheACDimplyoneormorespecialized
componentsthatprocessthedatathatflowacrosstheinterface
AnUMLclassdiagramcanrepresenttheclassesoftherefined
architectureandtheirrelationships
COMPONENT STRUCTURESafeHome
Executive
External
Communication
Management
GUI Internet
Interface
Function
selection
Security Surveillance
Home
management
Control
panel
processing
detector
management
alarm
processing
4. DESCRIBE INSTANTIATIONS OF
THE SYSTEM
Anactualinstantiationofthearchitectureis
developedbyapplyingittoaspecificproblem
Thisdemonstratesthatthearchitecturalstructure,
styleandcomponentsareappropriate
AnUMLcomponentdiagramcanbeusedto
representthisinstantiation
INSTANTIATIONS OF THE SYSTEMsensor
sensor
sensor
sensor
sensor
sensor
sensor
sensor
External
Communication
Management
GUI Internet
Interface
Security
Control
panel
processing
detector
management
alarm
processing
Keypad
processing
CP display
functions
scheduler
sensor
sensor
sensor
sensor
phone
communication
alarm
SafeHome
Executive
MIND MAP
SUMMARY
•The Design Model
–Dimensions
•Process Dimension
•Abstraction Dimension
–Data design elements
•Data architecting
–Architectural design elements
–Interface design elements
•User Interfaces
•External Interfaces
•Internal Interfaces
–Component-level design elements
–Deployment-level design elements
•Architectural Design
–Representing the System in Context
–Defining Archetypes
–Refining the Architecture into Components
–Describing Instantiations of the System