Research Article

Network Access Control for Location-Based Mobile Services in Heterogeneous Wireless Networks

Algorithm 1

Decision algorithm for network access control: good WiFi status.
Decision-For-Network-Access-Control
(1)  
(2)  
(3)  If is good then
(4) If is normal then
(5)  If is stable then
(6)   If then
(7)    Find another WiFi
(8)   End if
(9)  Else
(10)   If then
(11)    Find another WiFi and then migrate to the WiFi
(12)   End if
(13)  End if
(14) Else if is low then
(15)  If is stable then
(16)   If then
(17)    Use cellular and WiFi simultaneously until the buffer meets THRD_M
(18)   Else
(19)    Use cellular and WiFi simultaneously until the buffer meets THRD_H
(20)    Find another WiFi and then migrate to the WiFi
(21)   End if
(22)  Else
(23)   If then
(24)    Use cellular and WiFi simultaneously until the buffer meets THRD_H
(25)    Find another WiFi and then migrate to the WiFi
(26)   Else
(27)    Find another WiFi and then migrate to the WiFi
(28)    Or transfer to cellular
(29)   End if
(30)  End if
(31) End if
(32)  End if