Anda di halaman 1dari 16

1

Desain PL
Functional Design approach

Fajar Pradana S.ST., M.Eng


2

Functional Design approach

• 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 sistem
 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
3

Functional Design approach


4

Functional Design Approaches

• Transform
incoming
flow :atipe dasar DFD e
flow d
c

transfor
h
m center f
g

outgoing
flow
transactio b
transactio • nTransaction
center flow :
n
a c f

action
path d e
g
h
5

Transform Mapping

• Langkah-langkah Transform 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 flow, transform center dan outgoing flow
 Bangun first level factoring
 Bangun second level factoring
 Refine first iteration
• Contoh Transform Mapping : SafeHome Security Software
6

Contoh

user commands configuration


Control 2* configuration
and data data
panel Configur information
e system
1*
Interact configure
with user request configuration configuration
data data

start stop 3
password Activate /
deactivate
sytem
A/D msg. 4
5* display Control
valid ID msg. Display information
Process panel
messages
password display
and status
sensor
Alarm
information
6*
sensor status alarm type
Sensors Monitor
Telephone
sensors telephone number tones line
7

Contoh

6.3*
Format sensor
for information
display
configuration
information configuration sensor ID, type,
data location 6.4
Generate alarm type
6.2* alarm
• Level 2
Assess signal
against alarm data
setup
telephone
6.1 sensor ID, type number
Read
sensors
sensor status
6.5*
Dial
phone telephone
number tones
8

Contoh
formated ID, sensor
configuration information
type, 9
information
location Generate
6 display telephone
configuration Format
number tones
data display
sensor status
7
sensor ID, alarm type
Generate
type, location alarm
8
1 signal
Read 2
• Level 3 Generate
alarm data pulses to
sensors Acquire
3 line
response
sensor ID, type info Establish
4 tone ready
alarm
alarm cond. conditions Select telephone
list of phone 5 number
code, sensor
numbers number Set up
ID, timing
conn. to
information telephone
phone net
number
9

Contoh

configuration
information
9
6
1
2 7
3
• First Level Factoring
4
5 8

Monitor
sensors
executive

Sensor input Alarm conditions Alarm output


controller controller controller
10

Transform Mapping – Contoh

Monitor
sensors
executive

Sensor input Alarm conditions Alarm output


controller controller controller

• Second level factoring


Acquire Establish alarm Select phone Generate alarm Set up conn. to
Format display
response info conditions number signal phone net

Generate Generate pulses


Read sensors
display to line
11

Contoh
• Refine first iteration : Monitor sensors

Monitor
sensors
executive

Acquire Establish alarm Alarm output


response info conditions controller

Produce Generate Set up conn.


Read sensors display alarm signal to phone net

Generate
 Incoming controller dihapus : 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
12

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
13

Transaction Mapping

Transaction
control
a
Reception
b d Dispatcher
path

b a c1
• Transaction structuring q r s
d
p
p

s
14

Transaction Mapping – Contoh

user commands raw


and data 7 configuration 8
Read data Build
1 configure configuration
Read user system configurat data
request
command data ion file
2
Invoke configuration
command
type • DFD
command level 2 : User interaction information
processing
configuration configuration
5 data data
start stop
password Activate/d
eactivate A/D msg. 6
system Display
message
3 & status
Read
password four digits 4 display
Compare information
valid ID msg.
password
w/ file
15

Transaction Mapping – Contoh

User
interaction
executive

Invoke
Read user
command
command
processing
• First/Second level factoring : User interaction
System Password
Activate
configuration processing
/deactivate system
controller controller

Build configuration Display


Read system data Read password Compare
file messages &
password w/ file
status
16

Arsitektur SafeHome Security Software


SafeHome
Security
Monitor
sensors
executive
User
interaction Acquire Establish alarm Alarm output
executive response info conditions controller

Invoke Produce Generate alarm Set up conn. to


Read user Read sensors
command display signal phone net
command
processing

Generate
System Activate Password
pulses to line
configuration /deactivate processing
controller system controller

Build Display Compare


Read system data Read password
configuration file messages & password w/
status file

Anda mungkin juga menyukai