Research Article

A Deep Intelligent Attack Detection Framework for Fog-Based IoT Systems

Algorithm 5

Network update at FN.
Input:
Output: a refresh of the data in the regional table at FN
(1)iteration()
(2){
(3)
(4)
(5)
(6)
(7)for all FNs nearer to BSS do
(8)  ;
(9)end for
(10)}
(11)if communication takes place between and then
(12)  if = = P then checks its local table.
(13)    there is no interaction between the parties;
(14)  else
(15)    communicate;
(16)  end if
(17)end if