Research Article

SmartMal: A Service-Oriented Behavioral Malware Detection Framework for Mobile Devices

Algorithm 1

Algorithm to elect the major server.
INPUT: Server Set and .
OUTPUT: Major Server ID
(1) for each server in
(2) send request with to all other servers
(3) receive requests from all other servers
(4) if then
(5)  set server as the main server
(6) else then
(7)  set server as main server
(8) end if
(9) end for