TUJUAN PERKULIAHAN
•
Memahami pemodelan perancangan dengan pendekatan
terstruktur
AGENDA PERKULIAHAN
•
Pemodelan perancangan terstruktur
METODE PEMODELAN PERANCANGAN TERSTRUKTUR
APS
•
Functional Design
•
Berorientasi pada fungsi
•
Structured Design (Constantin & Yourdon, 1979), Step wise
Refinement (Wirth, 1971, 1976), Jackson Structured
FUNCTIONAL DESIGN APPROACHES
APS
•
Transform Mapping
- langkah perancangan untuk tipe DFD
transform flow
•
Incoming flow : aliran/jalur informasi eksternal masuk ke
sistem untuk ditransformasikan menjadi informasi internal
•
Transform center : pusat transformasi di dalam sistem yang
akan mentriger informasi keluar dari system
•
Outgoing flow : aliran/jalur informasi internal keluar dari
sistem menjadi informasi eksternal
•
Transaction Mapping
- langkah perancangan untuk tipe DFD
transaction flow
•
Transaction : data tunggal yang mentriger satu atau beberapa
aliran data
•
Transaction center : penghubung antara aliran-aliran data
hasil pentrigeran dengan data trigernya
FUNCTIONAL DESIGN APPROACHES
APS
•
Transform Flow
•
Transaction Flow
a
b
c d
f
g e
h incoming
flow
transform center
outgoing flow
a c
b
d e
f
g h
transaction
transaction center
TRANSFORM MAPPING
APS
•
Langkah-langkah Transform Mapping
•
Incoming flow : aliran/jalur informasi eksternal masuk ke
•
Review dan refine DFD sampai ke level paling bawah
•
Tentukan apakah DFD tsb. memiliki karakteristik tipe
transform flow atau transaction flow
•
Tentukan batas antara incoming flow, transform center dan
outgoing flow
•
Bangun first level factoring
•
Bangun second level factoring
•
Refine first iteration
TRANSFORM MAPPING
APS
•
DFD Level 1
1* Interact with user
2* Configure
system
3 Activate /deactivate
sytem
4 Display messages and status 5*
Process password
6* Monitor
sensors
configuration information user commands
and data Control
panel
Sensors
Control panel display
Alarm
Telephone line configure
request
configuration data
start stop password
valid ID msg.
A/D msg.
configuration data
configuration data
sensor status
sensor information
alarm type
telephone number tones
TRANSFORM MAPPING
APS
•
DFD Level 2 : Monitor sensors
6.3* Format for
display
6.2* Assess against setup
6.4 Generate
alarm Dial phone configuration
information
sensor information
sensor status
sensor ID, type configuration data
alarm type
telephone number tones
TRANSFORM MAPPING
APS
•
DFD Level 3 : Monitor sensors
1 Read sensors
configuration information
sensor status
2 Acquire response
info
3 Establish
alarm conditions
8 Generate pulses to
line
4 Select phone number
5 Set up conn. to phone net
9 Generate
display 6
Format display
7 Generate
alarm signal
sensor ID, type
configuration data
sensor information
alarm type
telephone number tones
formated ID, type, location
alarm data
alarm cond. code, sensor ID, timing
information
list of numbers
telephone number
tone ready telephone number sensor ID, type,
TRANSFORM MAPPING
APS
•
First level factoring : Monitor sensors
configuration information
8 9 6
7 1
2
3
4
5
TRANSFORM MAPPING
APS
•
Second level factoring : Monitor sensors
Monitor sensors executive Sensor input
controller
Alarm conditions controller
Alarm output controller
Format display
Generate alarm signal
Set up conn. to phone net
Generate display
Generate pulses to line Establish alarm
conditions
Select phone number Acquire
response info
TRANSFORM MAPPING
APS
•
Refine first iteration : Monitor sensors
•
Incoming controller dihapus :
data input tunggal, cukup sederhana
•
Transform controller dihapus dan digabung
dalam satu modul : ada penurunan tingkat kohesifitas
•
Format display dan generate display digabung : sederhana
Monitor sensors executive Establish alarm
conditions
Alarm output controller Produce
display
Generate alarm signal
Set up conn. to phone net
Generate pulses to line Acquire
response info
TRANSACTION MAPPING
APS
•
Langkah-langkah Transaction Mapping
•
Review dan refine DFD sampai ke level paling bawah
•
Tentukan apakah DFD tsb. memiliki karakteristik tipe
transform flow atau transaction flow
•
Tentukan batas antara incoming path/transaction,
transaction center dan action path
•
Bangun first level factoring
•
Bangun second level factoring
•
Refine first iteration
TRANSACTION MAPPING
APS
•
Transaction Structuring
r
s
a b
d
p
q
Transaction control b
a
d c1
q r s
p
Dispatcher Reception
TRANSACTION MAPPING
APS
•
DFD Level 2 : User Interaction
3 Read password
2 Invoke command processing
4 Compare password
w/ file 1
Read user command
configuration information
5 Activate/d
eactivate system
6 Display message & status 7
Read system
data
8 Build configurat
ion file
command type
start stop user commands
and data
configure request
password
raw
configuration data
configuration data
A/D msg.
configuration data
configuration data
four digits display
TRANSACTION MAPPING
APS
•
First / Second level factoring: User Interaction
User interaction
executive
Read user command
System configuration
controller
Invoke command processing
Activate /deactivate
system
Password processing
controller
Read system data Build
configuration file Read password
Compare password w/
file Display
TRANSACTION MAPPING
APS
•
Arsitektur SafeHome Security Software
User interaction
executive
Read user command
System configuration
controller Invoke command processing
Activate /deactivate
system
Password processing
controller
Read system data Build
configuration file Read password
Compare password w/ Display
messages & SafeHome
Security
Monitor sensors executive
Establish alarm conditions
Alarm output controller
Produce display
Generate alarm signal
Set up conn. to phone net
Generate pulses to line Acquire
response info