Summary
Ant colony optimization (ACO) and unequal clustering algorithms in wireless sensor networks (WSNs) prove their efficiency in protracting the network lifetime. However, the existing ACO and unequal clustering algorithms, respectively, do not consider jointly energy efficiency and reliability and focus only on some normal parameters to adjust the cluster radius, then neglecting the cluster head (CH) neighborhood information as it is wise to reduce the cluster radius when there are more neighbor CHs in order to balance the load and energy consumption. To resolve these problems, we propose a fault‐tolerant distributed ACO‐based routing (DACOR) protocol for mitigating the hot spot problem in fog‐enabled WSN architecture. To improve the performance of the network, we propose a multiple fog nodes (FNs) and unequal clustering‐based network model. The proposed model is energy efficient as it avoids repetitive clustering and affects CHs to FNs based on distance. Also, unlike the existing works which use either single FN/sink‐based unequal clustering or multiple FNs/sinks to mitigate hot spot problem, we propose to distribute unequal clustering to multiple FNs (partitions). Additionally, we formulate a different rule to calculate the cluster radius based on significant parameters ensuring energy efficiency and balancing. To route data from source to destination, we devise a new probabilistic formula which considers not only energy efficiency but also reliability. The performance of the proposed DACOR protocol has been investigated under different scenarios through simulations. The results show that the proposed DACOR protocol outperforms the existing protocols in terms of various main metrics.