Adam Hendra Brata Teknik Informatika FILKOM UB Semester Genap 2015/2016
APS TUJUAN PERKULIAHAN • Memahami pemodelan perancangan dengan pendekatan terstruktur
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS AGENDA PERKULIAHAN • Pemodelan perancangan terstruktur
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS METODE PEMODELAN PERANCANGAN TERSTRUKTUR • Functional Design • Berorientasi pada fungsi • Structured Design (Constantin & Yourdon, 1979), Step wise Refinement (Wirth, 1971, 1976), Jackson Structured Programming (Jackson, 1975), dll.
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS FUNCTIONAL DESIGN APPROACHES • 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 • Action path : aliran/jalur informasi hasil triger
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS FUNCTIONAL DESIGN APPROACHES b
• Transform Flow incoming flow
a
e d
c transform center
h
f g outgoing flow
• Transaction Flow transaction center
transaction
b
a
action path
g
c
d
f
e
h
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • 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
• Contoh Transform Mapping : SafeHome Security Software
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • DFD Level 1 Control panel
user commands and data 1* Interact with user
configuration data
2* Configure system configure request
start stop password
configuration data
configuration data
3 Activate /deactivate sytem A/D msg.
5* Process password
configuration information
valid ID msg.
4 Display messages and status
display information
sensor information Sensors
sensor status
6* Monitor sensors
Control panel display Alarm
alarm type telephone number tones
Telephone line
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • DFD Level 2 : Monitor sensors 6.3* Format for display configuration information
configuration data
sensor ID, type, location 6.2* Assess against setup
6.1 Read sensors
sensor ID, type
sensor information
6.4 Generate alarm signal
alarm type
alarm data
telephone number
sensor status 6.5* Dial phone
telephone number tones
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • DFD Level 3 : Monitor sensors configuration information
formated ID, type, location 6 Format display
configuration data
sensor information
9 Generate display
telephone number tones
sensor status 7 Generate alarm signal
sensor ID, type, location 1 Read sensors sensor ID, type
2 Acquire response info alarm cond. code, sensor ID, timing information
alarm type 8 Generate pulses to line
alarm data 3 Establish alarm conditions list of numbers
4 Select phone number telephone number
5 Set up conn. to phone net
tone ready telephone number
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • First level factoring : Monitor sensors configuration information 9 6 1 2
7 3 4 5
8
Monitor sensors executive
Sensor input controller
Alarm conditions controller
Alarm output controller
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • Second level factoring : Monitor sensors Monitor sensors executive
Sensor input controller
Acquire response info
Read sensors
Alarm conditions controller
Establish alarm conditions
Select phone number
Alarm output controller
Format display
Generate display
Generate alarm signal
Set up conn. to phone net
Generate pulses to line
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSFORM MAPPING • Refine first iteration : Monitor sensors Monitor sensors executive
Acquire response info
Read sensors
Establish alarm conditions
Alarm output controller
Produce display
Generate alarm signal
Set up conn. to phone net
• Incoming controller dihapus : Generate data input tunggal, cukup sederhana pulses to line • Transform controller dihapus dan digabung dalam satu modul : ada penurunan tingkat kohesifitas • Format display dan generate display digabung : sederhana T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSACTION MAPPING • 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
• Contoh Transaction Mapping : SafeHome Security Software
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSACTION MAPPING • Transaction Structuring Transaction control a
Reception path
b
b
d
Dispatcher
c1
a q
r
s
d p p q
r s
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSACTION MAPPING • DFD Level 2 : User Interaction user commands and data
1 Read user command
configure request command type
2 Invoke command processing
8 Build configurat ion file
configuration data configuration information
start stop password
3 Read password
7 Read system data
raw configuration data
5 Activate/d eactivate system
configuration data A/D msg.
four digits 4 Compare password w/ file
valid ID msg.
configuration data 6 Display message & status display information
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSACTION MAPPING • First / Second level factoring: User Interaction User interaction executive Invoke command processing
Read user command
Read system data
System configuration controller
Activate /deactivate system
Build configuration file
Display messages & status
Password processing controller
Read password
Compare password w/ file
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS TRANSACTION MAPPING • Arsitektur SafeHome Security Software SafeHome Security Monitor sensors executive User interaction executive
Read user command
Read system data
Invoke command processing
Acquire response info
Establish alarm conditions
Read sensors
System configuration controller
Activate /deactivate system
Build configuration file
Display messages & status
Produce display
Alarm output controller Generate alarm signal
Set up conn. to phone net
Generate pulses to line
Password processing controller
Read password
Compare password w/ file
T E K N I K I N F O R M AT I K A F I L K O M U B SEMESTER GENAP 2015/2016
APS
TERIMAKASIH V^^
To Infinity and Beyond !