Indonesi
an
Journa
l
of El
ect
ri
cal Engineer
ing
an
d
Comp
ut
er
Scie
nce
Vo
l.
23
,
No.
3
,
Septem
ber
20
21
,
pp.
1804
~
1813
IS
S
N:
25
02
-
4752, DO
I: 10
.11
591/ijeecs
.v
23
.i
3
.
pp
1804
-
1813
1804
Journ
al h
om
e
page
:
http:
//
ij
eecs.i
aesc
or
e.c
om
Des
i
gn a
nd
imp
lementatio
n of an
ad
aptive
mu
ltilevel
wi
rele
ss
securit
y system u
sing
I
oT
Moham
med
M.
Sult
an
1
,
A
mer T
. Saeed
2
,
A
hmed
M
. San
a
3
1
Ti
krit Unive
rsi
t
y
,
Ir
aq
2,
3
Depa
rt
m
ent of
Petroleum
S
y
ste
m
Control
Eng
in
ee
ring
,
Ti
kri
t
Un
ive
rsit
y
,
Ir
aq
Art
ic
le
In
f
o
ABSTR
A
CT
Art
ic
le
history:
Re
cei
ved
Oct
10, 202
0
Re
vised A
ug 4, 20
21
Accepte
d Aug
8,
2021
Secur
ing
prop
erty
p
lay
s
a
cru
cial
role
in
hum
an
l
ife
.
Therefore,
a
n
ada
p
ti
ve
m
ult
il
evel
wire
l
ess
sec
urity
s
y
s
te
m
(ML
-
W
SS
)
base
d
on
the
int
ern
et
of
thi
ngs
(IoT
)
has
bee
n
proposed
to
observe
and
s
ec
ure
a
certain
pla
c
e.
ML
-
W
SS
consists
of
har
dware
and
s
oftwa
re
components,
such
as
a
set
of
sensors
,
Wi
-
Fi
m
odule
,
and
oper
ation
and
m
onit
oring
m
obil
e
appl
icat
i
on
(OM
M).
The
OM
M
app
li
c
at
ion
is
desi
gned
to
remote
l
y
m
onit
or
and
cont
ro
l
th
e
proposed
s
y
ste
m
through
the
Inte
rne
t
and
b
y
using
Thi
ngSpe
ak
cl
oud
as
a
dat
a
stor
e.
The
proposed
sche
m
e
is
base
d
on
di
vidi
ng
th
e
req
u
i
red
zon
e
of
the
pl
ace
int
o
thre
e
r
egi
ons
(l
eve
ls),
low
-
risk
reg
ion
(
LRR)
as
le
v
el
-
1
,
m
oder
at
e
-
risk
r
e
gion
(MRR)
le
v
el
-
2,
and
high
-
r
i
sk
reg
ion
(HRR)
as
le
ve
l
-
3.
Ea
ch
l
eve
l
m
a
y
cont
a
in
one
or
set
of
sensors
,
so
the
num
ber
of
sensors
,
the
ir
pla
c
ement,
and
under
which
le
v
el
is
la
be
ll
ed
is
spec
ifi
ed
a
cc
or
ding
to
the
sec
urity
req
u
irem
ent
s.
Sever
al
p
roc
esses
are
done
base
d
on
the
se
le
vel
s
when
a
bre
ac
h
occ
u
rs
in
th
e
s
y
stem.
Mathe
m
at
i
ca
l
m
odel
and
pseud
ocode
wer
e
cre
a
te
d
to
il
lustr
at
e
the
m
ec
han
ism
of
the
propos
ed
s
y
st
em.
Th
e
r
esult
s
sh
ow
tha
t
th
e
propose
d
s
y
stem
has
bee
n
implemente
d
succ
essfull
y
and
the
num
ber
of
bre
ac
h
es
that
occ
urs
in
le
ve
l
-
3
are
a
was
red
u
ce
d
b
y
50%
as
compare
d
to
le
ve
l
-
1
.
Ke
yw
or
d
s
:
In
te
r
net
of thin
gs
Mob
il
e a
pp
li
ca
ti
on
Mult
il
evel
Secu
rity
W
i
reless
netw
orks
This
is an
open
acc
ess arti
cl
e
un
der
the
CC
B
Y
-
SA
l
ic
ense
.
Corres
pond
in
g
Aut
h
or
:
Am
er T.
Saee
d
Dep
a
rtm
ent o
f Pet
ro
le
um
Syst
e
m
Con
tr
ol E
nginee
rin
g
Tikrit U
nive
rsi
ty
40 St.,
Tik
rit,
Sala
huddin,
Ira
q
Em
a
il
: a
m
er.s
aeed@t
u.
e
du.iq
1.
INTROD
U
CTION
In
te
r
net
of
thi
ng
s
(
I
oT)
is
a
prom
isi
ng
te
c
hnology
a
nd
a
hot
to
pic
in
the
in
f
or
m
at
ion
te
chnol
og
y
fiel
d
[
1]
-
[
4].
I
t
is
def
ine
d
as
obj
ect
se
ns
in
g,
c
ontrolli
ng,
an
d
colle
ct
in
g
in
form
at
ion
rem
otely
thro
ugh
a
n
excit
ing
n
et
w
ork
or
eve
n
with
ou
t hu
m
an
inte
rv
e
ntio
n
[
5].
T
he
“t
hi
ng
s”
i
n
Io
T r
ef
ers
t
o
physi
cal
dev
ic
es
,
su
c
h
as
sens
ors
w
hi
ch
are
us
e
d
to
colle
ct
data
from
t
heir
env
ir
on
m
ent
[6
]
.
T
hese
dev
ic
es
a
re
co
nnect
ed
t
o
sm
al
l
com
pu
te
rs,
i.e
.
Ardu
i
no
an
d
Ra
sp
be
rr
y
that
are
res
pons
i
ble
for
pr
ocessin
g,
st
or
in
g,
a
nd
/or
tra
ns
m
itti
ng
data
thr
ough
a n
et
w
ork.
IoT p
la
ys a
cruci
al
ro
le
i
n
a w
ide
ra
ng
e
o
f
fiel
ds,
s
uch as
sm
art
ho
m
e,
secu
rity
,
wea
r
ables,
healt
hcar
e
,
f
or
ecast
,
retai
l,
a
nd
fa
rm
ing
.
A
ccordin
g
to
[
7]
,
nu
m
erous
r
eal
-
w
or
ld
ap
pl
ic
at
ion
s
of
IoT
are
avail
able
with
m
or
e
than
20
bill
ion
I
oT
de
vi
ces
that
hav
e
been
in
sta
ll
ed
betwee
n
2009
and
2020.
T
his
pap
e
r
is
co
ncerne
d
a
bout
I
oT
sec
uri
ty
syst
e
m
s
wh
ere
secu
rity
is
a
m
ajo
r
co
nc
ern
f
or
in
div
i
du
al
s
an
d
busi
ness
-
com
pan
ie
s.
Se
ver
al
a
ppro
ac
he
s w
it
h
di
ff
e
re
nt technolo
gies
h
ave
bee
n
pro
po
s
ed
to c
over
this issue,
Io
T
has
it
s
decen
t
s
ha
re
in
this
as
pect.
As
f
or
m
os
t
secur
it
y
syst
e
m
s
that
are
based
on
I
oT
te
ch
ni
qu
e
,
pa
ssive
i
nfra
red
(P
IR
)
sens
ors,
ultraso
nic
sens
or
s
,
an
d
survei
ll
ance
ca
m
eras
are
us
ed
in
th
ese
syst
e
m
s
to
detect
un
a
uthorize
d
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Desig
n a
nd im
pleme
nta
ti
on
of
a
n a
daptive
mu
lt
il
evel
wi
rel
ess security
sy
ste
m…
(
Mo
hamm
e
d
M
. S
ulta
n
)
1805
pr
ese
nce.
T
he
m
echan
ism
of
PI
R
sens
ors
is
based
on
se
ns
in
g
the
va
riat
ion
of
em
it
t
ed
heat
from
obj
ect
s
(p
e
ople
)
m
ov
em
ent
and
bac
kgr
ound
heat
w
hile
the
ultrason
ic
sen
sors
tr
ansm
it
ultraso
nic
so
un
d
wa
ve
s
into
sp
ace
a
nd
t
he
n
m
easur
e
the
sp
ee
d
of
ret
urne
d
wav
es
.
P
IR
sens
ors
re
qu
i
re
a
di
rect
li
ne
of
sig
ht
wh
il
e
ultraso
nic
se
nsors
do
not.
I
n
this
paper,
t
he
ultra
sonic
se
nsors
a
re
use
d
w
it
h
the
Ard
uino
boar
d
as
th
e
m
ain
com
po
ne
nts
of the
pro
po
se
d s
ecur
it
y sy
ste
m
.
In
[
8],
a
wireless
detect
i
on
syst
em
based
on
A
rduin
o
with
th
e
an
droid
a
ppli
cat
ion
for
com
m
un
ic
at
ion
is
pro
po
s
ed
.
The
m
ai
n
com
po
nen
ts
of
this
syst
e
m
are
a
n
Ard
uino
with
a
passi
ve
infr
a
red
sens
or
(PIR),
W
i
Fi
m
od
ule,
li
gh
t
-
em
itti
ng
diode
(
LED
)
,
and
a
buzze
r
.
Wh
en
the
P
IR
sens
or
det
ect
s
a
m
ov
e
m
ent
in
it
s
co
ver
a
ge
a
r
ea,
the
A
rduin
o
will
fire
a
lo
cal
al
arm
so
und
th
r
ough
the
bu
zze
r.
Alth
ou
gh
the
wireless
a
ppli
cat
ion
i
n
this
pa
per
co
uld
be
use
d
t
o
tu
r
n
off
the
al
arm
,
no
m
essage
or
not
ific
at
ion
will
be
sent
to
the
u
se
r.
I
n
add
it
io
n
t
o
the
se,
the
com
m
un
ic
at
ion
with
the
syst
em
is
est
ablished
on
ly
in
t
he
range
of
th
e
wireless
m
odule
of
the
A
r
du
i
no
w
hic
h
is
co
ns
ide
red
a
sm
al
l
area,
al
so
the
ap
plica
ti
on
has
lim
it
ed
functi
onal
it
ie
s.
Anothe
r
a
ppr
oach
is
pro
pos
ed
in
[9
]
wh
e
r
e
two
Ard
uino
bo
a
r
ds
are
util
iz
ed
with
tw
o
PI
R
sens
or
s
an
d
a
ca
m
era.
S
hort
m
essages
(SM
S)
th
r
ough
global
syst
em
for
m
ob
il
e
co
m
m
un
ic
at
ion
s
(
GS
M
)
netw
orks
are
use
d
f
or
com
m
un
ic
at
ion
bet
we
en
the
us
e
r
an
d
the
syst
e
m
.
W
hen
a
m
ov
em
e
nt
is
detect
ed
by
any
sens
or
,
the syst
e
m
w
il
l st
art tak
in
g
pictu
res
t
hro
ugh
the ca
m
era w
hic
h
is
po
i
nted
to
wa
rd the sen
s
ors for
a lat
er
check.
A
wa
r
ni
ng
SMS
is
al
so
sent
to
the
use
r
ind
ic
at
in
g
wh
ic
h
sens
or
ob
s
er
ved
the
m
ov
e
m
ent.
Af
te
r
that,
the
al
arm
will
be
trig
ge
red
by
the
syst
em
.
The
syst
em
c
an
be
t
urne
d
off
by
se
ndin
g
back
a
n
SM
S
with
“B
uzof”
co
de.
The
al
arm
sys
t
e
m
in
this
research
dep
e
nds
only
on
one
cas
e
without
any
diff
e
re
ntial
te
c
hn
i
qu
e
to
cat
eg
or
iz
e
the
m
otion
s
int
o
se
ve
ral
le
vel
s
inclu
ding
da
ng
e
r
ou
s
le
vels.
The
syst
em
in
this
p
a
per
al
so
has
a
lim
it
ed
com
m
un
ic
at
io
n
m
eth
od.
A
n
a
ddi
ti
on
al
as
pect
is
introd
uce
d
by
[10]
,
[11
]
wh
e
re
t
hey
us
e
a
tem
per
at
ur
e
s
e
ns
or
to
obse
rve
the
va
riat
ion
of
r
oo
m
temperat
ur
e
i
n
ca
se
of
una
uthor
iz
ed
prese
nce.
The
m
echan
ism
of
the
syst
e
m
is
t
o
sto
re
the
a
v
e
rag
e
value
of
t
he
no
rm
al
ro
om
tem
per
at
ur
e
and
t
o
co
ntin
uous
ly
com
par
e
it
wit
h
the
pr
e
sent.
Also
,
a
PI
R
se
ns
or
is
i
m
ple
m
ented
to
detect
m
ov
em
ent
wh
il
e
a
GS
M
m
o
du
le
is
us
e
d
for
the
co
m
m
un
ic
at
ion
be
tween
the
use
r
an
d
the
syst
em
.
To
con
tr
ol
the
secu
rity
sys
te
m,
sh
or
t
m
es
sages
are
us
ed
.
In
th
is
pa
per
,
aut
hors
di
dn’t
a
pp
l
y
furthe
r
c
ondi
ti
on
al
proce
ss
es
to
i
ncr
ease
the
accu
racy
of
the
al
arm
syst
e
m
since
the
al
ar
m
sys
tem
cou
ld
be
fire
d
just
acco
rd
i
ng
to
tem
per
at
ure
vari
at
ion
wh
ic
h
is
not
a
pro
per
m
et
ho
d.
The
m
or
e
adva
nced
te
c
hn
i
qu
e
was
pro
posed
by
[12],
[
13
]
wh
e
re
the
m
ajo
r
c
on
ce
r
n
of
these
pa
pe
rs
is
veh
ic
le
sec
uri
ty
and
dr
i
ver
safety
.
The
m
a
in
com
ponen
t
i
s
an
Ard
uino
boar
d
with
se
ve
ral
pe
rip
her
al
s,
su
c
h
as
lim
it
switc
h
to
detect
do
or
op
e
ning,
P
IR
s
ens
or
f
or
unaut
h
ori
zed
prese
nc
e
detect
io
n
in
side
the
car
an
d
Til
t
sens
or
f
or
car
t
ow
i
ng.
F
or
the
occ
up
a
nt’s
saf
et
y,
an
ey
e
blink
se
ns
or
is
use
d
to
m
on
it
or
t
he
rate
of
th
e
dr
i
ve
r
blink
i
ng.
The
r
efore,
in
case
of
sle
e
ping,
th
e
syst
e
m
red
uc
es
the
car
vel
oc
it
y
and
then
a
n
al
ar
m
so
und
is
fired
after
a
ce
rtai
n
a
m
ou
nt
of
tim
e
to
noti
fy
the
dr
i
ver.
A
vi
brat
ion
se
nsor
a
nd
a
G
SM
m
od
ule
a
re
pro
posed
t
o
est
i
m
at
e
car
acci
den
t
a
nd
to
est
ablish
a
c
omm
un
ic
at
ion
,
res
pecti
vely
.
The
c
omm
un
ic
at
ion
with
use
rs
is
cond
ucted
i
n
c
ase o
f
ca
r
the
ft
w
hile wit
h
t
he
au
th
ori
ti
es in
case o
f
a
n
acci
den
t.
More
se
nsors
wer
e
at
ta
c
hed
t
o
the
A
rduin
o
bo
a
r
d
in
[14],
su
c
h
as
a
fire
s
ens
or
,
do
or
se
ns
or,
m
otio
n
sens
or
,
a
nd
vi
br
at
io
n
sens
or
with
GS
M
c
om
m
un
ic
at
ion
m
et
ho
d.
Set
of
5V
relay
s
we
r
e
us
e
d
t
o
c
ontr
ol
ot
her
de
vices
s
uch
a
bu
zzer
,
le
d
an
d
direct
cu
rr
e
nt
(
DC
)
pum
p.
DC
pu
m
p
is
tri
gg
e
re
d
wh
e
n
the
fire
sens
or
detect
s
an
el
evate
d
le
vel
of
te
m
per
at
ur
e
to
co
ntr
ol
fires
an
d
r
est
rict
the
da
m
aged
ar
ea.
T
he
vib
rati
on
s
ens
or
is
equ
i
pp
e
d
with
industrial
m
ac
hin
es
t
o
a
void
dam
age
du
e
to
instabil
it
y,
an
d
to
trig
ger
the
buzzer
an
d
se
nd
s
a
no
ti
ficat
io
n
to
the
cust
om
er
t
hro
ugh
SMS
.
Both
m
otion
a
nd
door
se
ns
or
is
us
ed
t
o
trig
ger
t
he
al
arm
a
nd
se
nd
no
ti
ficat
io
n
m
essages
t
o
the
owne
r.
A
m
ulti
-
le
vel
hom
e
secu
rity
syst
e
m
fo
r
dev
el
op
i
ng
co
untrie
s
wa
s
i
m
ple
m
ented
in
[
15]
,
[
16
]
.
It
was
bu
il
t
by
usi
ng
a
novel,
e
ff
ect
ive,
an
d
a
si
m
ple
m
et
ho
d.
This
pap
e
r
ai
m
s
to
bu
il
d
a
reas
on
able,
strai
gh
tf
orward
ho
m
e
secur
it
y
syst
em
.
The
syst
e
m
con
sist
s
of
a
m
ic
ro
co
ntr
oller,
PIR
m
ot
ion
detect
or
se
nsors
,
fin
g
erprint
door
l
oc
k,
GS
M
m
od
ule
a
nd
a
s
urv
ei
ll
ance
we
b
c
a
m
era.
T
he
purpose
of
the
fin
gerpr
i
nt
door
lock
is
to
pr
e
ve
nt
un
a
uthorize
d
pe
op
le
f
ro
m
entering
t
he
ho
us
e.
Me
s
sages
are
se
nt
to
th
e
owne
r
th
rou
gh
the
GS
M
m
odule
w
he
n
s
om
e
on
e
at
te
m
pts
t
o
br
ea
k
i
nto
t
he
h
ouse.
The
s
yst
e
m
is
ver
y
chea
p
com
par
ed
t
o
hom
e
secur
it
y
syst
e
m
s,
wh
ic
h
pro
vid
es
secu
rity
fr
om
diff
e
ren
t
view
point
s.
T
he
re
su
lt
s
how
e
d
that t
he pr
opose
d
sec
ur
it
y sy
s
tem
h
as wor
ke
d
s
uccess
fu
ll
y.
Au
t
hors
in
[
17]
,
[
18
]
f
oc
us
on
buil
ding
ho
m
e
autom
ation
syst
em
s
t
o
co
ntr
ol
hom
e
app
li
an
ces
thr
ough
A
ndr
oi
d
ap
plica
ti
on
.
The
co
re
purpose
of
hom
e
a
uto
m
at
ion
is
to
help
disa
bili
ties
and
el
der
ly
peopl
e
wh
ic
h
will
al
l
ow
them
to
con
tr
ol
their
hom
e
facil
i
t
ie
s
e
asi
ly
,
su
ch
as
tur
ning
off
/
on
the
li
gh
t
us
in
g
andr
oid
app
li
cat
i
on.
Al
ert
is
al
so
act
iv
at
ed
throu
gh
a
m
ob
il
e
app
li
ca
ti
on
in
case
of
crit
ic
al
si
tuati
on
s.
Wh
e
n
there
is
a
gas
le
a
k,
t
he
s
m
art
ho
m
e
syst
e
m
turn
s
on
th
e
buzzer
as
a
warnin
g
si
gn.
I
n
[
19]
,
a
n
op
e
r
at
ive
an
d
fee
e
ff
ic
ie
nt
m
et
ho
d
was
pro
j
ect
ed
t
o
de
te
ct
el
ect
rica
l
t
hef
t
by
co
ns
tr
ucting
an
d
de
velo
ping
a
wir
el
ess
el
ect
rici
t
y
theft
detect
ion
an
d
m
on
it
or
in
g
s
yst
e
m
with
a
su
it
able
c
ombinati
on
of
both
t
he
hard
w
are
a
nd
the
s
of
t
war
e
.
The
num
ero
us
ad
va
ntage
s
of
wireless
net
work
c
omm
un
ic
ation
ha
ve
been
achieve
d
by
us
ing
I
o
T.
Re
searche
r
s
in
[
20
]
-
[
24
]
a
nd
[25
]
-
[
29]
ha
ve
fo
c
us
e
d
on
the
sec
ur
it
y
syst
e
m
fr
om
different
perspecti
ves,
su
c
h
a
s
util
iz
ing
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vo
l.
23
, N
o.
3
,
Se
ptem
ber
20
21
:
18
04
-
18
13
1806
sel
ect
ion
al
gor
it
h
m
,
ph
y
sic
al
la
ye
r
te
chn
ol
ogy
and
GS
M
.
Visio
n
-
base
d
te
chnolo
gy
is
addresse
d
in
[
25]
,
so
the
im
age
is
c
la
ssifie
d
by
t
he
trai
ned
net
w
ork
int
o
six
cl
asses
of
gestu
res
to
m
on
it
or
an
d
enc
oura
ge
the
worker
t
o
e
xerci
se
ha
nd
s
an
d
wr
ist
s
fr
e
que
ntly
thr
ough
pl
ay
ing
the
ga
m
e.
This
pap
e
r
ha
s
no
t
fo
c
use
d
on
visio
n
-
base
d
te
chnolo
gy
on
ly
because
se
ns
in
g
the
m
ov
em
ent
in
this
pa
per
is
en
ough
to
protect
the
de
dicat
ed
area a
nd it
can be a
dap
te
d wit
h
a
ny o
t
her sys
tem
s su
ch
a
s
vision te
ch
no
l
ogy.
As
they
wer
e
pr
ese
nted
ab
ove,
th
e
f
ram
e
work
in
the
a
bove
papers
,
s
uch
a
s
in
[8
]
-
[
15
]
do
es
not
div
ide
t
he
sec
ur
e
d
area
i
nto
le
vels.
I
ns
te
ad
,
any
s
ens
or
m
ay
sta
rt
the
local
al
ar
m
wh
ic
h
is
inconve
nient
an
d
m
os
tly
fo
r
the
ou
t
door
s
ens
or
s
w
her
e
a
nim
al
s’
m
ov
em
e
nt
are
m
or
e
frequ
e
nt.
T
he
pr
opos
e
d
m
et
ho
do
l
ogy
addresses
this
i
ssu
e
by
s
plit
ti
ng
the
sec
ur
e
d
a
rea
int
o
t
hr
ee
z
on
e
s.
T
he
first
and
the
seco
nd
le
vel
s
se
nd
sil
ence
wan
i
ng
with
br
ie
f
phone
vibra
ti
on
to
t
he
us
er
with
ou
t
firin
g
the
local
al
arm
an
d
le
t
the
use
r
deci
des
t
he
rig
ht
act
ion
.
H
ow
e
ve
r,
the
thir
d
le
vel
co
vers
the
high
-
risk
z
one
wh
ic
h
a
dap
ts
a
uto
m
at
ic
action
s.
To
su
m
up
,
al
l
the
aforem
entione
d
pap
e
rs
ha
ve
sever
al
draw
ba
cks
as
they
we
re
descr
i
bed.
T
her
e
fore,
to
a
void
t
hese
pro
ble
m
s,
adap
ti
ve
wirel
ess
secur
it
y
ap
proac
h
base
d
on
I
oT
was
desi
gn
e
d
an
d
im
pl
e
m
ented
in
this
arti
cl
e.
The
pa
per
is
orga
nized
as
fo
ll
ow:
the
de
ta
il
of
the
p
r
opos
e
d
m
et
ho
d
is
ex
pl
ai
ned
in
S
ect
ion
2
and
t
he
res
ul
ts
are
dem
on
strat
ed
and
disc
us
se
d
in
S
ect
io
n
3.
T
he
la
st
sect
io
n
w
hich
is
sect
i
on
4
i
nclu
des
t
he
c
on
cl
us
io
n
of
t
he
researc
h
.
2.
RESEA
R
CH MET
HO
D
In
t
his
pa
per,
a
m
ulti
le
vel
wireless
secu
rity
syst
e
m
(ML
-
WSS)
ha
s
bee
n
pro
pose
d
to
m
on
it
or
an
d
secur
e
a
sp
eci
fic
place
an
d
to
ens
ur
e
t
he
safety
is
app
li
ed.
ML
-
WSS
consi
sts
of
a
s
et
of
se
nsors,
W
i
-
Fi
m
od
ule
(ESP8
266),
Ard
uino
,
de
dicat
ed
po
wer
sup
ply
an
d
op
e
rati
on
a
nd
m
on
it
or
in
g
m
ob
il
e
app
li
ca
ti
on
(O
MM
)
as
s
ho
wn
in
Fig
ur
e
1
.
T
he
OMM
ap
p
li
cat
ion
is
buil
t
by
aut
hors
t
o
rem
otely
m
o
nitor
an
d
c
ontr
ol
th
e
pro
po
se
d
s
ecu
r
it
y
syst
e
m
through
t
he
In
te
r
ne
t
and
by
us
i
ng
a
Thi
ngSp
ea
k
cl
oud
se
rv
ic
e
a
s
a
da
ta
sto
re.
The
su
ggest
e
d
sc
he
m
e
is
based
on
di
vid
in
g
t
he
dange
r
zo
ne
of
t
he
place
i
nto
th
ree
reg
i
o
ns
(levels
);
low
-
ris
k
reg
i
on
(LRR)
as
le
vel
1,
m
od
erate
-
risk
re
gi
on
(MRR
)
le
ve
l
2,
a
nd
high
-
risk
reg
i
on
(
H
RR
)
as
le
vel
3.
Each
le
vel
m
ay
con
ta
in
on
e
or
set
of
se
ns
ors,
s
o
t
he
num
ber
of
s
ens
or
s,
thei
r
place
m
ent,
and
unde
r
w
hich
le
ve
l
is
la
belle
d
is de
fi
ned
acco
r
ding
to the s
ec
uri
ty
r
eq
uirem
ents.
Seve
ral proce
s
ses w
il
l be c
on
du
ct
e
d base
d
on these
le
vels whe
n
th
ere is a
breac
h
that occ
ur
s
in
this sec
ur
it
y sy
s
tem
.
Figure
1
.
Th
e
m
ul
ti
le
vel w
irel
ess secu
rity
syst
e
m
The
wa
r
ning
is
cl
assifi
ed
un
der
LRR
w
he
n
there
is
a
n
abno
rm
al
m
ov
e
m
ent
ind
ic
te
d
by
le
vel
1
sens
or
s
.
I
n
thi
s
case,
the
syst
e
m
delivers
an
al
arm
m
essage
to
the
OMM
app
li
cat
io
n
w
hich
disp
la
ys
it
with
the
breac
h
ti
m
e
and
sen
sor
I
D
that
detect
ed
the
a
bnorm
al
m
ov
em
ent
with
a
bri
ef
phon
e
vibrat
ion.
Wh
il
e
the
al
arm
is
cat
ego
rized
un
der
M
RR
wh
e
n
a
bre
ach
is
cau
gh
t
i
n
case
of
una
ut
horized
acce
ss
in
le
vel
2
area
.
The
syst
e
m
in
this
even
t
sen
ds
a
n
MM
R
al
arm
to
the
OMM
a
pp
w
hich
co
nt
ai
ns
the
breac
h
ti
m
e
and
sen
so
r
I
D
and
t
hen
th
e
app
li
cat
io
n
will
issue
a
10
se
conds
vibrat
io
n
to
in
form
th
e
us
er
.
Wh
ere
as
m
ulti
ple
step
s
ar
e
cond
ucted
in
t
he
case
of
the
third
le
vel
(
HRR)
w
hich
i
s
the
m
os
t
crit
ic
al
case:
an
al
arm
bu
zzer
i
s
fired
instantl
y
in
the
secu
red
locat
i
on,
OMM
ap
p
will
receive
H
RR
m
essage
a
nd
the
n
a
n
i
nten
sive
sou
nd
wi
ll
sta
rt
with
co
ntin
uous
phone
vibrat
ion.
I
f
the
al
a
r
m
is
no
t
tur
ne
d
off
afte
r
a
fi
xe
d
am
ou
nt
of
ti
m
e,
an
aut
om
a
ti
c
call
will
be
est
ablished
t
o
inf
orm
t
he
poli
ce
centr
e
about
the
bre
ach
by
usi
ng
a
pr
e
viously
rec
orde
d
voic
e
m
essag
e
that
con
ta
i
n
s
the
ad
dress
of
t
he
sec
ur
e
d
loc
at
ion
an
d
desc
ribes
the
breac
h
with
t
he
co
nt
act
nu
m
ber
and
al
l
oth
e
r deta
il
s o
f
the
fo
cal
point
.
T
he
al
arm
m
e
chan
ism
is repr
esented
m
at
he
m
at
ic
ally as:
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Desig
n a
nd im
pleme
nta
ti
on
of
a
n a
daptive
mu
lt
il
evel
wi
rel
ess security
sy
ste
m…
(
Mo
hamm
e
d
M
. S
ulta
n
)
1807
If
t
he
sta
tus
of
the
sen
sor
1,
2,
3,…
m
wh
ic
h
a
re
un
der
le
vel1
area
is
re
pr
esented
by
X
1
,
2
,
3
,
…
,
, th
e
LRR
alar
m
w
ill dep
e
nd
on the
(
1)
:
Լ
=
∑
X
n
m
n
=
1
=
X
1
+
X
2
+
X
3
+
⋯
+
X
m
(1)
1
,
2
,
3
…
=1
w
he
n
there
is
an
ab
norm
a
l
m
ov
em
ent,
oth
er
wise
it
equal
s
0.
T
he
al
ar
m
LRR
is
sent
wh
e
n
(
2)
i
s
ver
ifie
d:
Լ
≥
1
(2)
Wh
e
reas t
he
M
RR
al
arm
is b
ased
on (3
):
Ω
=
∑
=
1
=
1
+
2
+
3
+
⋯
+
(3)
Wh
e
n
re
pr
e
se
nts
the
sta
tus
of
the
n
th
se
ns
or
unde
r
le
ve
l
2.
The
al
a
rm
M
RR
is
cl
assifi
ed
under
ei
ther
ty
pe
1or 2
base
d on
the r
es
ult (
Ḿ
)
of
(
4) whic
h i
s r
el
at
ed
to
(
1)
a
nd
(3).
Ḿ
=
Ω
+
Լ
∗
Ω
(4)
The
al
arm
MR
R
ty
pe
1
is
se
nt
wh
e
n
t
her
e
is
no
a
bnorm
al
m
ov
e
m
ent
detect
ed
by
sens
ors
of
le
vel
1
,
but
the
re
is
unaut
horized
access
detect
ed by se
ns
ors
of level
2
,
s
o
Լ
=
0
, a
nd the
n
i
n (4)
w
il
l beco
m
e as
:
Ḿ
=
Ω
(5)
Ho
we
ve
r,
the
al
ar
m
MR
R
ty
pe
2
is
sent
wh
e
n
there
a
re
br
e
aches
unde
r
le
vel
1
a
nd
2.
T
her
e
fore,
in
(
4)
beco
m
es (
6):
Ḿ˃
Ω
(6)
HRR al
arm
is i
nd
ic
at
ed
base
d o
n (7):
=
∑
=
1
=
1
+
2
+
3
+
⋯
+
(7)
Z r
e
pr
ese
nts t
he
level 3
se
ns
or stat
us. I
n (
7)
will
co
nve
rt to (
8)
wh
e
n
ta
king call
ing t
he
poli
ce in
our
acc
ount:
ᾟ
=
(
+
)
(8)
:
The
s
pecific
durati
on
ti
m
e
to
wait
be
fore
ca
ll
ing
the
poli
ce,
inc
rem
ent
value
will
reach
to
0
if
t
he
us
e
r
do
e
s
no
t ca
nce
l t
he
al
arm
.
s
: The
set
ti
ng
va
lue which
is e
it
her
1
as
de
faul
t or
0 w
hen th
e ala
rm
is cancell
ed
by th
e
use
r bef
or
e
=
0
The
cal
l
will
be
c
onduct
ed
w
hen
t
he
value
of
=
0
,
and
th
e
us
e
r
di
d
not
press
the
ca
ncel
bott
om
,
so
=
1
.
The (7
) bec
ome
s (8)
:
ᾟ
=
(9)
The HRR
ala
r
m
w
ill be
om
it
t
ed wh
e
n
t
he
al
arm
is cancell
ed by t
he use
r,
s
o
s=
0:
ᾟ
=
(
+
)
∗
0
=
0
(10)
The
pse
ud
ocode
of
the
pro
pose
d
m
e
tho
d
a
nd
e
quat
ion
is
pr
ese
nted
in
Figure
2.
To
il
lustrate
it
in
m
or
e
detai
ls,
s
ever
al
scen
ari
os
will
be
disc
us
se
d.
F
or
inst
ance,
if
an
i
nt
ruder
br
eac
hes
the
le
vel1
are
a
and
passes
th
ree
se
ns
ors
of
le
ve
l1
wh
ic
h
le
ad
to
ℓ
=
3
and
as
res
ult
fu
lfil
s
the
co
ndit
ion
ℓ
≥
1
.
At
this
po
int
,
the
syst
e
m
will
con
nect
t
o
the
cl
oud
database
a
nd
sen
ds
LRR
al
arm
ty
pe,
sensor
ID
s
t
hat
de
te
ct
m
ov
em
en
ts,
an
d
the
breac
h
ti
m
e,
res
pecti
vely
.
And
if
t
he
int
ruder
c
onti
nue
s
to
le
vel2
zo
ne
and
break
s
th
r
ough
on
e
se
ns
or,
i
n
this
eve
nt
Ω
=
1
w
hich
passes
the
r
ule
Ω
≥
1
.
T
he
syst
em
instantl
y
co
nn
ect
s
an
d
sen
ds
MR
R
al
arm
with
t
he
sens
or
ID
a
nd
the
breac
h
ti
m
e
to
the
ce
ntral
database
.
H
oweve
r,
w
hen
r
eachin
g
the
le
vel
3
a
rea,
a
nd
if
two
sens
or
s
detect
un
a
utho
rized
m
ov
e
m
ent
Z
=
2
,
i
n
su
c
h
case
,
HHR
al
arm
ty
pe,
sens
or
I
Ds,
an
d
br
eac
h
ti
m
e
a
r
e
sent.
Als
o
,
t
he
syst
e
m
sta
rts
a
local
siren
al
arm
a
t
the
secur
e
d
locat
io
n
an
d
wait
s
f
or
30
seco
nds
befor
e
no
ti
fyi
ng
the
poli
ce.
If
t
he
use
r
sen
ds
a
ca
nc
el
al
ar
m
req
ue
st,
the
syst
em
will
stop
the
l
oc
al
al
ert
and
re
tur
n
to
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vo
l.
23
, N
o.
3
,
Se
ptem
ber
20
21
:
18
04
-
18
13
1808
the
init
ia
l
sta
te
.
Ne
ve
rtheless,
if
no
cancel
la
ti
on
re
qu
est
rec
ei
ved
,
the
syst
e
m
will
no
ti
fy
the
aut
horiti
es
on
c
e
the tim
er e
nds
.
Figure
2. Pse
udoc
ode
of the
ML
-
WSS
a
nd
equ
at
io
n
3.
IMPLEME
N
TATION
,
RE
SU
LT
S
A
ND
D
IS
CUSSI
ON
The
im
ple
m
entat
ion
of
t
he
propose
d
syst
em
as
well
as
re
s
ults
an
d
disc
ussi
on
s
are
prese
nted
i
n
t
his
sect
ion
.
T
he
im
ple
m
entat
ion
in
this
researc
h
is
div
ide
d
in
to
two
sta
ge
s,
instal
li
ng
eq
ui
pm
ent
in
the
secur
e
d
area
an
d
then
bu
il
di
ng
a
m
ob
il
e
app
li
cat
io
n
f
or
en
d
-
us
e
r
s.
The
ha
r
dw
a
re
is
rep
re
sent
ed
by
the
A
rduin
o,
ultraso
nic
sen
s
or
s
,
W
i
-
Fi
m
od
ule,
buzzer
a
nd
p
owe
r
sup
pl
y
as
sh
own
in
Figure
3
.
T
he
Ardu
i
no
is
th
e
m
ai
n
bo
a
r
d
w
here
al
l
the
oth
e
r
per
i
ph
e
rals
are
co
nn
ect
e
d
to
.
Wh
il
e
the
s
of
twa
re
pa
rt
is
re
pr
e
sented
by
crea
ti
ng
a
m
ob
il
e app
li
cat
ion
OMM ap
p
.
Figure
2. The
im
ple
m
entat
ion
of the
syst
em
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Desig
n a
nd im
pleme
nta
ti
on
of
a
n a
daptive
mu
lt
il
evel
wi
rel
ess security
sy
ste
m…
(
Mo
hamm
e
d
M
. S
ulta
n
)
1809
3.1.
H
ardw
ar
e w
ork
On
e
Ard
uino
and
Wi
-
Fi
m
o
du
le
wer
e
us
e
d
in
this
pa
per
to
co
ntr
ol
the
connecte
d
de
vices
an
d
t
o
exch
a
nge
data
am
on
g
placed
dev
ic
es
a
nd
the
OMM
ap
plica
ti
on
t
hro
ugh
t
he
c
loud
(Th
i
ngS
peak),
resp
ect
ively
.
F
or
the
sake
of
the
e
xperim
e
nt,
t
he
a
uthors
us
e
d
three
ultraso
nic
se
nso
rs
wh
e
re
each
on
e
represe
nts
one
of
the
se
cu
rity
le
vels.
A
b
uzz
er
is use
d
to
fir
e
sou
nd
al
arm
in
the
sam
e
locat
ion
w
he
n
the
re
is
a
br
eac
h.
This
si
de
of
t
he
syst
em
a
lso
has
a
s
of
t
war
e
par
t
w
hich
is
buil
t
in
the
A
r
du
i
no
t
o
c
on
tr
ol
a
nd
m
anag
e
al
l
the
per
ip
he
rals.
A
rduin
o
I
DE
1.8
.12
wa
s
us
ed
to
de
velop
a
n
al
arm
sy
stem
and
to
program
Ar
du
i
no
U
no
with
the
ES
P8266
W
i
-
Fi
m
od
ule
a
nd
oth
e
r
com
po
ne
nts.
The
A
r
du
i
no
c
omm
un
ic
at
es
with
ESP
8266
W
i
-
Fi
us
in
g AT
-
C
omm
and
s a
nd at 9
600
se
rial
b
a
ud
r
at
e. T
he ult
ra
so
nic
sens
ors
pro
gr
am
m
ed,
and
work as s
ho
wn in
F
igure
4
.
On
ce
a se
nsor
detect
s a m
ov
e
m
ent, the Ar
du
ino
t
ran
sm
it
s
sens
or
ID
wit
h al
arm
t
ype an
d t
he breac
h
tim
e to the
cl
oud ser
ve
r.
A
nd if th
e
alarm
typ
e is
HRR, t
he sy
stem
w
il
l fire an
ala
rm
so
und at
the
secu
r
ed
a
rea
and w
ai
ts
for 3
0
sec
onds t
o re
cei
ve
a
ca
nce
l
la
ti
on
from
the u
ser
. Othe
rw
is
e, the sy
stem
w
il
l cal
l t
he
po
li
ce to
no
ti
fy t
hem
ab
ou
t t
he un
a
ut
horize
d
m
ov
em
ent
.
Figure
4.
A
rdu
ino
c
ode
3.2.
O
M
M a
pp
The
ot
her
as
pe
ct
of
the
pro
po
s
ed
sec
ur
it
y
syst
e
m
is
the
op
e
rati
on
and
m
on
it
or
i
ng
of
m
ob
il
e
a
pp
li
cat
io
n
(
O
MM
).
A
ndr
oid
stu
dio
3.5.3
with
Ja
va
pro
gr
am
m
ing
la
nguag
e
is
use
d
to
dev
el
op
this
app
li
cat
io
n.
Ja
vaSc
ript
obj
ec
t
no
ta
ti
on
(
JS
ON)
is
us
e
d
t
o
c
omm
un
ic
ate
an
d
to
fetch
data
f
r
om
the
cl
oud
serv
e
r.
T
he
O
MM
app
li
cat
ion
is
sh
ow
n
in
F
igure
4.
The
m
ai
n
pag
e
co
nt
ai
ns
three
r
ows
of
te
xt
-
view
t
o
show
the
sta
tus
of
le
vel
1,
le
vel
2,
and
le
vel
3
se
ns
ors,
res
pecti
vely
.
The
ap
pl
ic
at
ion
aut
om
a
ti
cal
ly
co
m
m
u
nicat
e
s
with
the
cl
oud
serv
e
r
as
soon
as
it
sta
rt
s
ru
nn
in
g,
an
d
the
s
ta
tus
of
each
s
ecur
it
y
le
vel
is
updated
eve
ry
three
seco
nd
s
.
The
update
ti
m
e
is
s
how
n
in
the
bo
tt
o
m
te
xt
-
view
to
no
ti
fy
the
use
r
ab
ou
t
the
l
at
est
up
date
ti
m
e.
A
local
database
is
util
iz
ed
to
store
the
pr
e
vi
ous
val
ues
of
e
ach
secu
rity
le
v
el
an
d
to
co
m
par
e
it
with
t
he
ne
w
read
i
ng.
Wh
en
the
syst
e
m
det
ect
s
a
m
ov
em
e
nt
at
le
vel
1
sensors,
t
he
ap
pl
ic
at
ion
pr
e
sent
s
the
br
eac
h
ti
m
e
in
the
sp
eci
fied
te
xt
-
view
in
ye
ll
ow
c
olo
u
r
with
a
br
ie
f
phone
vibrat
ion
to
ge
t
the
us
er
at
te
ntion
an
d
as
sho
wn
in
F
i
gure
6
.
The
vi
br
at
io
n
of
le
ve
l
2
bre
ach
goes
for
te
n
seco
nds
as
w
e
ll
as
the
breac
h
ti
m
e
wit
h
a
wa
rn
i
ng
m
essage
in
orang
e
c
olo
u
r
is
disp
la
ye
d
unde
r
the
le
vel
2
la
bel.
Howe
ve
r,
w
hen
the
a
ppli
cat
ion
recei
ves
an
HRR
al
arm
(level
3)
f
r
om
the
ser
ver
,
seve
r
al
ste
ps
are
pe
rfor
m
ed
an
d
as
fo
ll
ow:
under
le
vel
3
se
nsor
sta
tus
la
bel
,
a
red
wa
rn
i
ng
m
essage
with
th
e
br
eac
h
ti
m
e
will
be
sh
ow
n
,
firi
ng
a
loud
sou
nd
al
arm
,
con
ti
nues
phone
vibrat
ion,
a
nd
sta
rting
a
co
un
tdown
tim
er
(30
sec
onds)
to
c
al
l
the
poli
ce
and
as
s
howing
in
F
ig
ur
e
6
.
I
n
case
of
a
ny
ty
pe
of
al
arm
,
the
us
er
has
the
pri
vilege
to
cancel
it
.
Wh
e
reas,
the
cancel
al
arm
m
od
ule
is
us
ed
to
stop
the
count
down
tim
er
fo
r
cal
lin
g
the
poli
ce
and
te
rm
inate
s
t
he
vibrat
io
n
m
od
e
.
H
ow
e
ve
r,
it
will
no
t
cl
ear
the
al
arm
m
essage
s
histo
ry
.
The
r
eset
al
arm
m
od
ule
perform
s
j
ust
li
ke
the
f
orm
er
in
add
it
io
n
to
resti
ng
t
he
al
ar
m
m
essages
an
d
pu
t
the
a
ppli
cat
ion
in
the
i
ni
ti
al
state
.
The
us
er
do
e
s
not
need
t
o
put
the
ap
plica
ti
on
in
the
disp
la
y m
od
e t
o get wa
r
nings,
it
is d
esi
gne
d
t
o wor
k i
n t
he b
ackgr
ound.
Nu
m
erous
te
sts
hav
e
bee
n
c
onduct
ed
in
t
hi
s
researc
h
to
assess
the
perf
or
m
ance
of
th
e
ML
-
W
S
S
s
y
stem
and
to
a
naly
z
e
it
s
eff
i
cienc
y
.
Som
e
sam
ple
s
of
the
se
t
ests
are
show
n
in
Figures
5
and
6.
Figure
5
show
s
the
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vo
l.
23
, N
o.
3
,
Se
ptem
ber
20
21
:
18
04
-
18
13
1810
m
od
e
wh
e
n
t
he
re
was
no
bre
ach
detect
ed
by
the
syst
em
wh
il
e
Fig
ur
e
5.a
and
b
il
lustrate
the
br
eac
hes
in
le
vel
1
a
nd
1
-
3,
re
sp
ect
ively
by
us
in
g
ye
ll
ow
colo
ur
f
or
le
ve
l
1,
or
a
nge
f
or
le
vel
2,
a
nd
re
d
f
or
le
ve
l
3.
A
com
par
is
on
betwee
n
the
ha
rdwar
e
an
d
s
oft
war
e
al
arm
(OM
M
app)
wa
s
c
onduct
ed
al
s
o
to
te
st
how
fa
st
the
syst
e
m
is
resp
onding
to
the
br
eac
h
thr
ough
the
OMM
appl
ic
at
ion
as
com
par
ed
to
the
sam
e
br
oken
a
rea
.
T
he
com
par
ison s
hows
that t
he
O
MM
ap
p
is
very
accur
at
e a
nd
fast
as
c
om
par
ed
to
the i
ns
ta
ll
ed
al
arm
syst
em
.
Figure
5.
OM
M ap
p
(a)
(b)
Figure
6
.
Th
e
s
e F
ig
ur
es
are;
(
a)
l
evel
1
al
a
r
m
,
and
(
b)
l
eve
l 2
a
nd 3 al
arm
Figure
7
s
hows
the
num
ber
of
br
eac
he
s
of
each
le
ve
l
of
sens
ors
at
certai
n
tim
es.
Ra
nd
om
un
a
utho
rized m
ov
e
m
ents
wer
e
us
e
d
for
ab
out
an
hour
-
fro
m
12
:18
to
13:
47
-
to
te
st
the
pr
op
os
ed
syst
e
m
and
to
cal
culat
e
the
num
ber
of
br
ea
ches
wh
e
reas
t
his
num
ber
is
accum
u
la
ti
ve
of
eac
h
le
vel.
It
is
ob
vious
t
o
no
ti
ce
that
le
vel1
sen
so
rs
s
po
tt
ed
th
e
highest
nu
m
ber
of
br
eac
he
s
w
her
e
these
sens
or
s
are
i
nst
al
le
d
at
the
fir
st
li
nes
of
the
sec
ur
e
d
area
(i.e.
buil
ding’s
fe
nce
).
The
num
ber
of
br
ea
ks
reac
he
d
to
19
at
13:47
un
der
thi
s
le
vel.
Level
2
se
nsor
s
ha
ve
a
sm
al
l
er
nu
m
ber
of
br
eac
hes
(
14)
as
com
par
e
d
t
o
le
vel
1
(
19)
wh
e
re
t
hey
s
houl
d
be
fixe
d
in
the a
re
a of
m
edium
se
cur
it
y p
rio
rity
.
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Desig
n a
nd im
pleme
nta
ti
on
of
a
n a
daptive
mu
lt
il
evel
wi
rel
ess security
sy
ste
m…
(
Mo
hamm
e
d
M
. S
ulta
n
)
1811
Level
3
sens
ors
are
desig
ned
to
be
m
ou
nte
d
in
the
high
-
risk
zo
nes
w
her
e
no
on
e
s
hould
be
acce
sse
d
without
a
uthor
iz
at
ion
.
T
he
breac
hes
nu
m
ber
for
le
vel
3
reduced
by
50%
a
nd
becam
e
the
lowest
nu
m
ber
(10
)
as
com
par
ed
t
o
ot
her
le
vels
since
this
are
a
is
a
usual
ly
s
m
al
l
zon
e
that
is
locat
ed
insi
de
of
furthe
r
tw
o
oth
e
r
areas
w
hich
ar
e
le
vel
1
and
2.
The
pur
pose
of
placi
ng
le
ve
l
3
reg
io
n
-
t
he
m
os
t
dan
gerous
area
-
insi
de
le
vel
1
and 2 i
s to
pro
t
ect
it
f
ro
m
the
br
ea
k
a
nd m
ake it so har
d
t
o be
br
eac
he
d.
Figure
7. N
o o
f br
eac
hes o
ver m
ult
il
evel
The
propose
d
syst
e
m
req
ui
res
ap
pro
xim
a
te
ly
two
seco
nd
s
t
o
in
form
the
us
e
r
ab
out
a
breac
h.
This tim
e
m
os
t
ly
d
epends on
the I
nte
rn
et
qua
li
ty
. F
igu
re 8
sh
ows the dur
at
ion
u
ti
li
zed to
n
otify t
he
us
e
r
abou
t
a
detect
ed
m
ov
em
ent
within
the
three
le
ve
ls.
The
a
ve
r
a
ge
rec
orde
d
ti
m
e
values
are
2038,
1855,
1916
m
illi
secon
ds
f
or
le
vel
1,
le
ve
l
2,
a
nd
le
ve
l
3
res
pecti
vel
y.
The
total
a
ver
a
ge
ti
m
e
of
the
th
ree
le
ve
ls
is
appr
ox
im
at
ely 2
sec
onds. T
hi
s tim
e can
be
re
du
ce
d wit
h fa
ste
r
inter
net c
onnecti
on.
Figure
8.
Re
spon
s
e ti
m
e o
f
al
ert
4.
CONCL
US
I
O
N
In
t
his
pa
per,
a
m
ulti
ple
le
vels
wireless
sec
uri
ty
fr
am
ewo
r
k
cal
le
d
ML
-
W
SS
ba
sed
on
I
oT
has
bee
n
plan
ned
a
nd
im
ple
m
ented
to
secur
e
a
ce
rta
in
area
of
li
ve
ly
pr
operti
es.
The
s
uggeste
d
schem
e
is
based
on
div
idi
ng
the
a
rea
t
hat
is
re
quire
d
to
be
protect
ed
int
o
s
ever
al
s
ub
-
a
re
as
acco
rd
i
ng
t
o
their
le
vel
of
ris
k.
Each
sub
-
a
rea
is
m
on
it
or
e
d
an
d
c
ontrolle
d
th
r
ough
a
m
ix
of
physi
c
al
an
d
lo
gical
com
ponen
ts
su
c
h
as
Ardu
i
no,
ultras
on
ic
se
nsor
s
a
nd
OMM
a
pp
li
cat
ion
.
Dif
fer
e
nt
al
arm
wa
rn
i
ng
s
will
be
dis
play
ed
a
nd
del
ivere
d
thr
ough
the
O
MM
app
li
cat
io
n
wh
e
n
the
re
i
s
a
br
eac
h
in
any
le
vel
(
1,
2,
a
nd
3).
Ba
se
d
on
the
se
warnin
gs
,
Evaluation Warning : The document was created with Spire.PDF for Python.
IS
S
N
:
2502
-
4752
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci,
Vo
l.
23
, N
o.
3
,
Se
ptem
ber
20
21
:
18
04
-
18
13
1812
sever
al
ste
ps
a
re
co
nducte
d
to
res
pond
to
t
he
breac
h,
s
uc
h
as
the
a
utom
at
ic
ca
ll
to
t
he
poli
ce,
fire
so
un
d.
Seve
r
al
m
at
hem
at
ic
al
equ
at
ion
s
a
nd
Pse
ud
ocode
we
re
al
s
o
dr
i
ven
a
nd
wr
it
te
n
i
n
t
his
pap
e
r
t
o
il
lustr
at
e
the
m
echan
ism
s
of
the
pro
po
se
d
syst
e
m
.
The
re
su
lt
sho
ws
t
hat
the
ML
-
WSS
was
s
uccess
f
ully
i
m
ple
m
ente
d
a
nd
the
num
ber
of
br
eac
hes
i
n
le
ve
l
3
area
re
duc
ed
by
50%
(10
br
eac
he
d)
as
com
par
ed
t
o
le
vel
1
(
19
brea
ches)
and
le
vel
2
(14
br
eac
hes).
Th
e
le
ast
nu
m
ber
of
breac
he
s
oc
curred
le
vel
3
reg
i
on
becau
se
the
area
is
pr
ot
ect
ed
by fur
t
her tw
o regi
on
s
level
1 and 2
.
REFERE
NCE
S
[1]
A.
Lui
gi
,
A.
I
er
a,
and
G.
Mora
bit
o,
“
Th
e
inter
net
of
th
ings:
A
surve
y
,
”
Comp
ute
r
net
works
,
v
ol.
54,
no.
15
,
p
p.
2787
-
2805,
201
0,
doi
:
10
.
1016/j.c
om
net.2010.
05
.
010.
[2]
S.
Farz
ad
,
L
.
Ba
uer
,
and
J.
Henk
el
,
“
IoT
technol
ogie
s
for
embed
ded
computing:
A
surve
y
,
”
In
2
016
Inte
rnationa
l
Confe
renc
e
on
Har
dware/Sof
tware
Codesign
and
Syste
m
Synt
he
sis
(
COD
ES+
IS
SS)
,
Pitt
sburg,
pp.
1
-
10,
2016,
d
oi
:
10.
1145/296845
6.
2974004.
[3]
M
Noor,
M.
Hass
an,
and
W
H.,
“
Curre
nt
rese
a
rch
on
Inte
rne
t
of
Thi
ngs
(IoT
)
sec
urity
:
A
surve
y
,
”
Computer
Net
works
,
vo
l. 1
48,
4
,
pp.
283
-
2
94,
2019
,
doi
:
10
.
1016/j.c
om
net.2
018.
11.
025
.
[4]
T.
S
Am
er,
R.
S.
Z
ai
d
,
M.
S.
A
hm
ed,
and
H.
A
.
Mus
a.,
“
Elim
ina
ti
ng
unwante
d
signal
s
in
sound
b
y
using
d
igi
t
a
l
si
gnal
proc
essin
g
sy
st
em,”
Indo
nesian
Journal
of
El
e
ct
rica
l
En
gine
ering
and
Computer
Sci
ence
(
IJE
CE)
,
vol.
18,
no
2,
pp.
829
-
83
4,
2020
,
doi
:
10
.
11591/i
jeec
s.v18
.
i2.
pp829
-
834
.
[5]
G.
Prad
y
um
na,
O.
Bhat
,
and
S.
Bhat
,
“
Introduct
ion
to
IOT,
”
Int
ernati
onal
Ad
va
n
ce
d
Re
sear
ch
J
ournal
in
Sci
ence
,
Engi
ne
ering
and
Technol
og
y
,
vol
.
5
,
no
.
1
,
pp
.
41
-
44,
2018
,
doi
:
1
0.
17148/IARJS
ET
.
2018.
517
.
[6]
A.
F.
Ay
o
tunde
,
M.
O.
Ibra
him,
A.
T.
Hashem
,
and
F.
Alota
ibi
,
“
Inte
rne
t
of
Thi
n
gs
sec
urity
:
A
su
rve
y
,
”
Journal
o
f
Net
work
and
Co
mputer
Applicati
ons
,
vol. 5, no. 8
8,
pp
.
10
-
28
,
20
17,
doi
:
10
.
1016
/j
.
jn
ca.2017.
04
.
0
02.
[7]
S.
O.
Dea
,
“
tuse
wor
ldwide
from
2009
to
2020.
”,
Dec
2019
,
[
onli
ne]
Available:
htt
ps://
ww
w.sta
t
ista
.
com/stat
ist
ics
/764026/
num
ber
-
of
-
iot
-
dev
ices
-
in
-
use
-
worldwid
e
,
[
acce
ss
ed
on
J
ul
y
,
23
2020)
.
[8]
S.
S.
S
y
a
zlina
Mohd
Soleh,
M.
M.
Som
,
M.
H.
Abd
W
aha
b,
A.
Mus
ta
pha,
N.
A.
Othm
an
a
nd
M.
Z.
Sa
ring
at
,
"A
rduino
-
Based
W
ire
le
ss
Motion
Dete
c
ti
ng
S
y
st
em,"
2018
IEEE
Confe
renc
e
on
Open
Syste
ms
(
I
COS)
,
2018,
pp.
71
-
75,
doi
:
10
.
1
109/ICO
S.2018.8632703.
[9]
B.
S.
Jeffri
,
an
d
M.
A.
Novradi
n,
“
Design
an
d
implementa
t
io
n
of
m
odula
r
hom
e
sec
urity
s
y
stem
with
short
m
essaging
s
y
ste
m
,
”
E
PJ
W
eb
o
f Confe
renc
es
,
vo
l
.
68
,
no
.
4
,
2014
,
doi: 10.
1051
/e
pj
conf
/201468000
25.
[10]
S.
S.
Bhav
y
a,
S.
S.
Varun,
and
Knhn
G.
Deba
rs
hi,
“
Hom
e
m
oni
tori
ng
and
sec
ur
ity
s
y
s
te
m
,
”
In
2
016
Inte
rnationa
l
Confe
renc
e
o
n
ICT
in
Busine
ss
Industry
&
G
ove
rnm
ent
(
ICT
BIG)
,
2016,
pp.
1
-
5
,
doi:
10.
1109/ICT
BI
G.2016.
7892665
.
[11]
M.
Andrians
y
ah
,
M.
Subali,
I
.
Purw
ant
o,
S.
A.
I
ria
nto
an
d
R.
A.
Pram
ono,
“
e
-
KTP
as
the
basis
of
hom
e
sec
uri
t
y
s
y
stem
using
ar
duino
UN
O,”
In
2017
4th
Int
er
nati
onal
Con
fe
r
enc
e
on
Comput
er
Appl
i
cat
ions
and
Information
Proce
ss
ing
Tech
nology
(
CAIP
T)
,
2017,
pp.
1
-
5,
d
oi:
10
.
1109/CAI
PT.
2017.
832069
3.
[12]
S.
Senthi
lkum
ar,
K.
Brindha,
an
d
S.
Bhanda
ri
,
“
Vehic
l
e
a
cc
id
ent
m
ana
gement
an
d
cont
rol
s
y
stem
using
MQ
TT
,
”
Inte
rnational
J
ournal
of
Advance
s
in
App
lied
Scienc
es
(
I
JA
AS)
,
vol
.
9,
no.
1,
pp
.
1
-
11,
2020,
doi
:
10.
11591/ijaa
s.v
9.
i1.
pp1
-
11
.
[13]
S.
W
ara
nkar
,
S. N
awa
le
,
T
.
B
ard
eska
r,
and
A.
M
hat
re
,
“
Arduino
base
d
Car
Se
cur
i
t
y
S
y
st
em,”
Int
e
rnational
Journa
l
of
Eng
ine
ering
Technol
og
y
S
ci
en
ce
and
R
ese
arch
,
vol
.
4
,
no
.
4
,
pp
.
32
-
43
,
2017
.
[14]
S.
Raut,
A.
Gai
kwad,
M.
R
agh
ura
ja
n
,
and
P.
Pati
l,
“
Industr
y
base
d
sec
ur
ity
s
y
stem
usin
g
gs
m
and
ard
uino
,
”
Inte
rnational
Jo
urnal
of Adv
an
c
e
Sc
ie
nt
if
i
c Re
se
arch
and
Eng
ineering
Tr
ends
,
vo
l.
5
,
no
.
3
,
pp
.
14
-
23,
2020
.
[15]
N.
Tejashwini
,
S.
Kum
ar,
and
K.
Sat
y
an
aray
a
n
a,
“
Multi
-
st
age
sec
ure
cl
ust
erh
e
ad
sel
ec
t
ion
usi
ng
discrete
rule
-
set
aga
inst
unknow
n
at
tacks
in
wire
l
ess
sensor
net
work”
Inte
r
nati
onal
Journ
al
of
El
e
ct
rica
l
and
Computer
Engi
ne
ering
(
IJ
ECE
)
,
”
vo
l. 10,
no.
4
,
pp
.
4
-
12
,
2020,
doi
:
10
.
11
591/i
jece
.
v10i4
.
pp4296
-
4304.
[16]
H.
U.
Za
m
an,
T.
E
.
Ta
b
assum,
T.
Isl
am
and
N.
Moham
m
ad,
“
Low
cost
m
ul
ti
-
le
v
el
hom
e
se
cur
ity
s
y
s
te
m
for
deve
lop
ing
coun
tri
es,
”
In
2017
I
nte
rnational
Co
nfe
renc
e
on
Int
e
ll
ige
n
t
Computin
g
and
Control
Syste
ms
(
ICICCS
)
,
2017,
doi
:
10
.
11
09/ICCONS
.
2017.
8250522.
[17]
D.
Java
le,
M.
Mohs
in,
S.
Nanda
nwar,
and
M.
Shingat
e,
“
Hom
e
au
tomati
on
and
sec
urity
s
y
s
te
m
using
Andr
oid
AD
K,”
Inte
rnati
onal
journal
of
el
e
ct
ronics
com
municat
ion
and
compute
r
techno
logy
(
IJE
CCT
)
,
vol.
3,
no.
2
,
pp
.
382
-
385,
2013
.
[18]
A.
S.
Rom
adhon,
“
S
y
stem
Secu
rity
And
Monitori
ng
On
Sm
ar
t
Hom
e
Us
ing
Android,
”
Jour
n
al
of
Phy
si
cs:
Confe
renc
e
S
eri
es
,
vol
.
953
,
no
.
1,
pp
.
1
-
5
,
2018
.
[19]
R.
Mee
n
al,
K.
M.
Kuruvilla,
A.
Denn
y
,
R.
V.
J
ose,
and
R.
Ro
y,
“
Pow
er
Monit
oring
and
The
f
t
Dete
c
ti
on
S
y
ste
m
using
IoT,”
Jo
urnal
of
Ph
ysi
cs:
Confe
ren
ce
Serie
s
,
vol.
1
362,
no.
1,
pp
.
1
-
7,
2019,
d
oi:
10.
1088
/174
2
-
6596/1362/
1/01
2027.
[20]
M.
Zey
ad
,
S.
Ghos
h,
and
K.
M.
Ahm
ed,
“De
sign
prototy
p
e
of
a
sm
art
househol
d
touc
h
sensiti
v
e
loc
ker
sec
ur
ity
s
y
stem
base
d
on
GS
M
te
chnol
og
y
,
”
In
te
rnationa
l
Journal
o
f
Pow
er
Elec
troni
cs
a
nd
Dr
iv
e
S
yste
m
s
(
IJ
PE
DS)
,
vol.
10,
no
.
4
,
pp
.
19
23
-
1930,
2019
,
doi:
10
.
11591/ij
peds.
v10.
i4
.
[21]
W
.
Andre,
and
O.
Couil
l
ard
,
“
Design
and
Im
ple
m
ent
a
ti
on
of
a
New
Archi
te
c
t
ure
of
a
Re
al
t
i
m
e
Rec
onfigurable
Digit
al
Modul
ator
(DM
)
int
o
Q
PS
K,”
Inte
rnati
onal
Journal
of
Re
configura
ble
and
Embe
dded
Syste
ms
(
IJR
ES)
,
vol.
7
,
no
.
3
,
pp
.
167
-
179,
2018
,
doi:
10
.
11591/ijr
es.
v7.
i3
.
pp167
-
1
79.
Evaluation Warning : The document was created with Spire.PDF for Python.
Ind
on
esi
a
n
J
E
le
c Eng &
Co
m
p
Sci
IS
S
N:
25
02
-
4752
Desig
n a
nd im
pleme
nta
ti
on
of
a
n a
daptive
mu
lt
il
evel
wi
rel
ess security
sy
ste
m…
(
Mo
hamm
e
d
M
. S
ulta
n
)
1813
[22]
Y.
A.
S.
Aldeen,
and
H.
M.
Abdulhadi
,
“
Secur
e
and
re
li
ab
l
e
wire
le
ss
adverti
sing
s
y
stem
using
int
el
l
ectu
al
cha
ra
cteri
sti
c
sele
c
ti
on
al
gor
it
h
m
for
sm
art
ci
ti
es,
”
Tel
ec
omm
unic
ati
on
,
Computing,
Elec
tronic
s
and
Control
(
TEL
K
OMNIKA)
,
vol.
18
,
no
.
5
,
pp.
2401
-
2411
,
2020,
doi
:
10
.
12
928/t
el
kom
nik
a.v18i5.
14859.
[23]
N.
S.
Ali,
H.
A.
Kadhim,
and
D.
M.
Abdu
lsahi
b,
“
Multi
-
f
unct
ion
intellig
ent
roboti
c
in
m
et
al
s
det
e
ct
io
n
appl
i
ca
t
ions,”
Te
le
communic
a
ti
o
n,
Computing,
E
le
c
tronic
s
and
C
ontrol
(
TEL
KO
MNIKA)
,
vol.
17
,
no.
4
,
pp.
2058
-
2069,
2019
,
doi
: 10.12928/
t
el
kom
nika
.
v17
i4.
1182
2.
[24]
H.
A.
Kadhim,
N.
S.
Ali,
and
M.
A.
Dhe
y
aa,
“
Mana
gement
an
d
ac
hi
evi
ng
s
y
st
em
for
m
et
al
detec
t
ion
robot
usi
ng
wire
le
ss
-
base
d
t
ec
hnolog
y
and
onli
ne
da
ta
b
ase
reg
istr
y
,
”
Int
ernati
onal
Journal
of
Powe
r
Elec
tronic
s
and
Dr
iv
e
Syste
m (
IJP
EDS
)
,
vol.
10
,
no
.
1
,
pp.
219
-
229
,
20
19,
doi
:
10
.
1159
1/i
jpe
ds
.
v10.
i1
.
p
p219
-
229.
[25]
M.
Rungruanga
n
ukul,
an
d
T.
Siri
borvornra
ta
n
aku
l,
“
Dee
p
Le
arn
in
g
Based
Gesture
Cla
ss
ifi
c
at
ion
fo
r
Hand
Phy
sic
al
The
rap
y
Inte
r
act
ive
Program
,
”
I
n
Inte
rnationa
l
Confe
renc
e
on
Hum
an
-
Comput
er
Inte
rac
ti
on
,
2
020,
pp.
349
-
35
8,
doi:
10
.
1007/97
8
-
3
-
030
-
49904
-
4_26.
[26]
A.
Te
desc
h
i,
S.
Cal
c
at
err
a,
and
F.
Bene
de
tt
o,
“
Ultra
sonic
RAda
r
S
y
stem
(URA
S):
Arduino
and
Virtua
l
Re
al
i
t
y
for
a
Li
gh
t
-
Free
Ma
pping
of
Indoor
Envi
ronm
ent
s,”
IEE
E
S
ensors
Jo
urnal
,
vol
.
17,
n
o.
14,
pp.
4595
-
4604,
2017,
doi:
10.
1109/JS
EN.
2
017.
2708840.
[27]
A.
Singh,
A.
Pa
l,
an
d
B
.
R
ai
.
,
“
GS
M
base
d
hom
e
aut
om
at
ion
,
safe
t
y
and
se
cur
ity
s
y
s
te
m
using
andr
oid
m
obile
phone,
”
Int
ernat
ional
Journal
of
Engi
ne
ering
R
ese
arch
&
Technology
(
IJE
RT)
,
vol
.
4
,
no
.
5
,
2015
.
[28]
K.
I.
Bok
ad,
N.
M.
Dee
pak
,
G.
A.
Ajink
y
a
,
M.
Y.
Birha
d
e,
and
S.
Rit
ik
a,
“
Pow
er
The
f
t
Det
ec
t
io
n
And
Monitoring
Us
ing
Gsm
Te
chnol
og
y
,
”
Int
ern
ati
onal
R
ese
arc
h
Journal
of
En
gine
ering
and
Technol
og
y
(
IRJ
E
T)
,
vol.
5,
no.
3,
pp.
2237
-
2240
,
2018.
[29]
S.
Ariva
zha
g
an,
A.
A.
Tsegay
e
,
and
A.
S.
Mo
hamm
ed,
“
GSM
and
Arduino
b
ase
d
p
ower
th
ef
t
detec
t
ion
and
prote
c
ti
on,
”
Inter
nati
onal
Journal
of
Adv
an
ce
d
Re
search,
Id
eas
and
Innov
ati
ons
in
Technol
ogy
,
vol.
5,
no.
4
,
pp
.
581
-
588,
2019
.
BIOGR
AP
HI
ES OF
A
UTH
ORS
Mohamme
d
M.
Su
ltan
is
an
instruc
tor
a
t
Ti
k
rit
Univer
si
t
y
.
He
has
a
m
aster’s
degr
ee
in
computer
sci
ence
from
Oklahoma
Cit
y
Un
ive
rsit
y
,
th
e
US
A
in
2
017.
His
m
ai
n
r
ese
arc
h
ar
ea
inc
lud
es
Radi
o
Freque
nc
y
Id
entificat
ion
,
Progra
m
ing,
Com
pute
r
Network
and
I
nte
rne
t
of
Thi
ng
.
Amer
T.
Saeed
is
an
instruc
tor
/lect
ur
er
at
Ti
kri
t
Univer
sit
y
–
Coll
ege
of
Petro
le
u
m
proc
esses.
He
holds
M.Sc.
degr
ee
in
e
le
c
trica
l
engi
n
ee
r
ing
from
the
Univer
s
ity
of
New
Have
n,
the
US
A
in
2016
and
recei
ved
B
.
S.
Deg
ree
in
Elec
tri
c
al
Engi
ne
eri
ng
fro
m
Ti
krit
U
niv
er
sit
y
-
Ir
aq
in
2009.
He
is
h
igh
l
y
intere
st
ed
in
4G
&
5G
communic
a
ti
ons
s
y
st
e
m
s,
wire
le
ss
netw
orking
and
comm
unic
at
ions
,
digital
signal
proc
essing
(DS
P).
He
has
pub
li
shed
m
an
y
pa
per
s
in
high
rep
ute
d
interna
tional and local co
nfe
ren
c
es
and
jo
urna
ls
.
Ah
me
d
M.
Sana
rec
e
ive
d
a
B
.
Sc.
degr
e
e
in
e
l
ec
tr
ic
a
l
engi
n
ee
r
ing
from
Ti
krit
Univer
sit
y
,
Ira
q,
in
2011
an
d
M.
Sc.
d
egr
e
e in
elec
tron
ic
s a
n
d
comm
unic
at
io
ns e
ngine
er
ing
fr
om
Baghda
d
Univer
sit
y
,
Ira
q
,
in
2014
.
In
20
15,
he
worked
a
s
a
power
elec
tr
onic
engi
ne
e
r
in
the
power
depa
rtment
orient
-
te
l
ec
om
in
te
r
net
servi
ce
compan
y
in
B
aghdad.
Sinc
e
2017
an
d
ti
l
l
now,
H
e
is
working
as
a
le
ct
ur
er
at
Ti
kr
it
Univer
sit
y
,
C
oll
eg
e
of
Petrol
eum
Proce
ss
es
Engi
ne
eri
ng
,
Petrol
eum
S
y
st
e
m
s
Control
depa
rtment.
His
res
ea
rch
intere
st
s
i
ncl
ude
Pow
er
E
le
c
troni
cs,
Digit
al Signa
l
Pr
oce
ss
ing,
and
4
G &
5G
comm
u
nic
a
ti
ons s
y
s
te
m
s.
Evaluation Warning : The document was created with Spire.PDF for Python.