The popularity of fog-enabled smart cities is increasing due to the advantages provided by modern communication and information technologies, which contribute to an improved quality of life. Wireless networks make them more vulnerable when the network is under malicious attacks that cause a collision in the medium. Furthermore, diverse applications of smart cities demand a contention-free medium access control (MAC) protocol to meet adaptive data requirements. In this work, a time-slot-based medium access control protocol to meet adaptive data requirements (TMPAD) for IoT nodes in fog-enabled smart cities is proposed. TMPAD proposes a trust mechanism to differentiate malicious and legitimate data requests. In addition, it accommodates more legitimate data-requesting nodes to transfer their data during a session by applying the technique for order performance by similarity to ideal solution (TOPSIS) and 0/1 knapsack algorithm. The performance of TMPAD is compared with well-known techniques such as first come first serve (FCFS), shortest job first (SJF), and longest job first (LJF) in different prospective scenarios. The results show that TMPAD scrutinizes more data-requesting nodes in slot allocation, allowing more data transmission in a session, with better mean trust value, as compared to other algorithms.
Read full abstract