Next Article in Journal
Estimation on the Importance of Semantic Web Integration for Art and Culture Related Online Media Outlets
Previous Article in Journal
Modelling and Analysis of Performance Characteristics in a 60 Ghz 802.11ad Wireless Mesh Backhaul Network for an Urban 5G Deployment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Efficient Next-Hop Selection in Multi-Hop Routing for IoT Enabled Wireless Sensor Networks

by
Saleh M. Altowaijri
Department of Information Systems, Faculty of Computing and Information Technology, Northern Border University, Rafha 91911, Saudi Arabia
Future Internet 2022, 14(2), 35; https://doi.org/10.3390/fi14020035
Submission received: 13 December 2021 / Revised: 18 January 2022 / Accepted: 19 January 2022 / Published: 21 January 2022

Abstract

:
The Internet of Things (IoT) paradigm allows the integration of cyber and physical worlds and other emerging technologies. IoT-enabled wireless sensor networks (WSNs) are rapidly gaining interest due to their ability to aggregate sensing data and transmit it towards the central or intermediate repositories, such as computational clouds and fogs. This paper presents an efficient multi-hop routing protocol (EMRP) for efficient data dissemination in IoT-enabled WSNs where hierarchy-based energy-efficient routing is involved. It considers a rank-based next-hop selection mechanism. For each device, it considers the residual energy to choose the route for data exchange. We extracted the residual energy at each node and evaluated it based on the connection degree to validate the maximum rank. It allowed us to identify the time slots for measuring the lifetime of the network. We also considered the battery expiry time of the first node to identify the network expiry time. We validated our work through extensive simulations using Network Simulator. We also implemented TCL scripts and C language code to configure low-power sensing devices, cluster heads and sink nodes. We extracted results from the trace files by utilizing AWK scripts. Results demonstrate that the proposed EMRP outperforms the existing related schemes in terms of the average lifetime, packet delivery ratio, time-slots, communication lost, communication area, first node expiry, number of alive nodes and residual energy.

1. Introduction

The Internet of Things (IoT) paradigm integrates cyber and physical worlds and other emerging technologies [1]. IoT consists of a complex network of different sensing devices with multiple sensing abilities to communicate across networks [2]. IoT applications are grouped into several domains; however, IoT is still at the development stage in terms of its applicability for security-critical applications. IoT is under discussion in a number of research areas to present dependable solutions for its real existence as per current industrial demands [3]. IoT-assisted wireless sensor networks (WSNs) have gained increasing attention because of their commercial applications in the fields of healthcare, smart homes and industrial information. The use of swarm intelligence is also widely applicable in IoT, where a number of smart sensing devices are deployed in large areas. IoT helps to manage communication across networks for wider level communication [4]. The energy efficiency-based routing performs a pivotal role. It comprises several sensing devices interconnected to perform a common task as per the targeted goal [5]. Sensor networks are used in many important domains including military and civil technologies such as for monitoring the conditions of physical peacetime and wartime environments [6]. IoT-based WSN applications should provide energy-efficient routing protocols for reliable data transmission because the WSN nodes carry low energy, storage, memory and computational energy [7].
Cyber-physical systems (CPS) involve a large number of sensor nodes that communicate to cyber-entities for exchanging information for data analysis and storage [8]. This information may need to be exchanged by nodes for immediate decision, such as in the edge layer, or the data may have to be moved to the fog or cloud layers for further processing, sharing, and analysis [9]. CPS are applicable in natural ecosystems by enhancing WSN capabilities for taking benefits from bioinspired algorithms in CPS. The design of software architecture in WSNs for cyber-physical systems is a critical task, and it must consider extreme efficiency in terms of maximizing battery life, synchronization of time, data, and event management [10].
In cluster-based routing schemes, a few architectures restrict the addition of new nodes or remove the existing member nodes until the battery of all the nodes is not expired. This applies to static networks only, where the nodes near the BS carry more data from neighbors. In the case of data aggregation from specific regions within a network, mobile WSN is efficiently utilized using a clustered approach [11]. Liang et al. presented the spatial range of privacy preserved and energy-efficient query-based aggregation schemes. Pre-established topologies are not considered, only considering the query area and relinquishing all nodes to cooperate in query distribution while aggregating data in a query range. Sensitive data are secured by implementing Shamir’s sharing technology. The dynamic route base aggregation techniques enhance the difficulty of aggregating data [12]. In data transmission, the significant aim of routing optimization is to enhance the lifespan of the network and also minimize energy consumption.
The main problem in hierarchy-based routing is that the sensor nodes near the base station (BS) or the cluster head (CH) consume energy rapidly compared to the other nodes that are far from the base station. These nearby nodes receive more data from the neighboring nodes. This results in faster battery utilization and the expiry of a node. The expired node may have collected or received critical data at the time it stopped working due to the battery lifetime. It also results in a sensing bottleneck in the physical world. In a similar vein, cyberspace also faces the bottleneck during huge data exchanges by the physical world. There should be a mechanism to predict and timely identify the expiry of nodes and utilize other nodes in the path that have more residual energy. Moreover, cyberspace should also be managed accordingly to efficiently handle sensing bottlenecks and delays in data exchange.
This paper proposes a scheme called EMRP that predicts routing paths by considering and analyzing the residual battery of sensors. The major contributions of the paper are as follows.
  • We reviewed the relevant literature for adaptive next-hop selection mechanisms and identify the research problems.
  • We devised a time slot selection mechanism based on the connection degree and maximum rank to collect data from all the member nodes.
  • Using the time slot selection mechanism, we proposed and developed the EMRP, a next-hop selection algorithm for multi-hop routing based on the residual node energy.
The remaining part of the paper is arranged as follows. The literature review is discussed in Section 2. Section 3 formulates the problem and the system model. Section 4 presents the proposed EMRP scheme. Section 5 presents the results and analysis. Section 6 concludes the proposed research work and considers future work.

2. Related Work

We explored the literature on energy-efficient multi-hop routing solutions that claim to enhance the lifetime of the network. Efficient energy consumption for IoT-based smart devices is a challenging task. Ideally, our focus is to identify the schemes that reduce the energy consumption in the data aggregation procedure from sensor node to BS. We consider the hierarchy-based energy-efficient routing mechanism. Han et al. presented a lightweight path and energy-aware algorithm. For energy awareness, it divides the energy of sensing devices into multiple energy levels to adjust the link weight of the nodes based on the distance and energy of nodes. Controller can also change the weight of links. Energy level g is calculated using (1) where e is a residual energy, E 0 is initial energy value and energy levels of sensing nodes are denoted by G . When the value of g changes, controller receives a P e c message from sensing nodes to inform about energy level.
g = e E 0 G
Controller estimates the time for route adjustment where timer T t i m e r is given in (2) where T 0 is an initial value of timer. N t h r e s h = ( N t h r e s h > 1 ) when P e c   value attains threshold. On receiving P e c , the value of T t i m e r decreases.
T t i m e r = ( i 1 ) ( t i t 1 ) + ( N t h r e s i ) T o N t h r e s 1
In [13], an improved distributed, multi-hop, adaptive, tree-based energy-balanced (DMATEB) solution is presented. It identifies the nearby node carrying high residual energy with less distance from the sensing node. It involves a multi-hop routing approach using clusters, which is helpful for better data collection and enhancing the network lifetime. N. Naji et al. presented the Energy Aware Context Recognition Algorithm (EACRA) to avoid redundant data transmission on a periodic basis. It transmits data from sensing devices in case of change in context at a certain time that results in less message sharing by reducing energy consumption. A network performance analysis is performed in terms of different network topologies. Sensing devices operate only when the heating process enables them, otherwise they remain disabled [14]. In [15], the reliable and energy-efficient route selection (REERS) was presented to provide energy efficiency for large-scale deployments. In the IoT scenario, massive communication is involved, which demands efficient route selection for data aggregation in critical application scenarios. The REER considers both real-time and non- real time scenarios. An energy-aware routing protocol provides efficient data routing by utilizing low cost paths for real-time applications, achieving better latency and energy consumption. W. Wen et al. presented the data aggregation from particular monitoring points, where the prime concern is the collection of data efficiently. The algorithm in the scheme constructs an appropriate path for aggregate data from collection regions and also aggregates data from those regions loaded with the data. The presented work contributes to enhancing the lifetime of the network, in this context, analyzing the path cost from one region to another region and then transmitting the load of each sensing node device. A mobile-based sink provides energy-efficient data collection because of mobility. Therefore, mobile devices connect with data sensing devices to aggregate data while following an appropriate path. It is based on three different phases: initialization, selection of aggregation region, and appropriate path construction [16]. In [17], the energy and dynamic spectrum issues in cluster-based routing were presented. The scheme conducts self-distribution-based clustering to attain minimum power consumption while creating several optimal clusters. It contains a greater number of channels for cooperative sensing. It transmits data between clusters by utilizing gateway nodes that contain more energy and common channels and also selects a head node based on residual energy, channels, neighboring nodes, and distance from the sink. The introduced scheme provides efficient data forwarding from the root node to the sink.
The implementation of a green routing protocol in a WSN is a challenging task. In a WSN, a limited amount of energy is available for performing critical tasks in remote areas as well. It results in limiting the network lifetime. Korhan et al. introduced an energy-aware multi-hop routing protocol that reduces the data aggregation cost, enhancing the life of the network and also reducing excessive overhead. Collected information is not directly transmitted from CH to the sink node; however, the relay nodes are utilized for minimizing the effective transmission distance. CH is assumed as intermediary to avoid the complexity of the protocol. It improved energy consumption, data transmission, scalability, and network lifetime [18].
The presented MDTA approach consumes a minimum amount of energy and also analyzes data delivery cost with the size of the network by comparing with other energy-aware routing schemes. Communication protocols utilize efficient data transmission between multiple nodes, for example, the agile data delivery framework. The MDTA provides optimal path formulation among the root nodes and the sink nodes based on end-to-end delay and efficient energy consumption. In this scenario, it is applicable to heterogeneous sensors and vehicle networks [19]. Reliable data monitoring with energy efficiency is a challenging issue in WSNs. In this regard, Kejiang et al. provided energy-aware and guaranteed quality-based scheduling by considering the energy of the sensing devices and network topologies. In data fusion, the transmission of data depends on the data forwarding cost and the battery power of the sensing node. The scheme minimizes the number of awakening nodes and also maintains reliability while aggregating data [20]. In [21], a location-based routing protocol that considers residual energy to link quality as a multi-objective optimization function was introduced. Equation (3) provides an energy consumption model where E T e l e c and E T a m p are denoted as transmitter and amplifier energy consumption.
E T ( m , d ) = E T e l e c ( m ) + E T a m p ( m , d ) = m E T e l e c ( m ) + m d r ,   2 r 4
Transmission range is represented as M, communication range is d and r is changeable coefficient. Energy consumption while receiving data is shown in (4), where a current node i selects next node Δ ( i , j ) . It also calculates Ω d i s t ( x , D ) , which is a distance between node x and destination node d. It minimizes energy consumption by 10% and maximizes lifetime by 45.2% while comparing with other routing protocols [21].
E R ( m ) = E R e l e c ( m ) + m E e l e c
K. Haseeb et al. presented a secret sharing scheme for security and enhanced energy efficiency of multiple hop nodes. The presented protocol is based on three aspects: a network divided into inner and outer fields based on node location, secure data transmission from CH to sink node, and minimizing the rate of disturbance in routing by analyzing the data link. Furthermore, it provides the shortest route to send data while considering the efficient energy consumption of nodes. To minimize data disturbance and retransmission, quantitative analysis is conducted to avoid and identify congestion while routing [22]. Jian et al. presented a centroid-based energy-efficient routing protocol considering three key features to improve the performance of WSN-assisted networks. Firstly, the organization of nodes is achieved by implementing a distributed cluster-based technique. Secondly, algorithms are used for cluster formation and efficient routing based on the centroid head node to manage energy load among sensing devices. Finally, an introduced mechanism is implemented to decrease the energy utilization of distant communications. To select the centroid position, the protocol considers the remaining battery power of the nodes [23]. In [24], L. Wu et al. present an energy-balanced clustered routing (EBCR) scheme for WSN based on the LEACH to maintain the structure of the cluster in K phases. In LEACH, CH is selected in the first phase. It involves energy prediction in the k − 1 phase, balancing the energy of the nodes, and determining the average energy of the nodes through residual energy. N is the number of nodes, E i r e s t is the residual energy of ith node and E a v e r e g e is the average energy of nodes, as defined in (5).
E a v e r a g e = 1 N i 1 N E i r e s t
Variance of residual energy represented as S a v e r a g e 2 is given in (6), where the square of difference for E i r e s t and E a v e r a g e is taken for all N nodes. Finally, all of these values are added and then divided by N to take the average.
S a v e r a g e 2 = 1 N i 1 N ( E i r e s t E a v e r a g e ) 2
This scheme efficiently enhances the lifetime of the nodes and also maximizes the network lifetime [24]. Zijing et al. present an uneven cluster-based energy-efficient routing protocol to balance the load at multiple layers. In each cluster, a distributed CH rotation-based mechanism is utilized to balance energy dissipation, and a multi-hop routing algorithm is used for distance-based routing between CH to BS. In inter cluster-based data packet transmission, the presented work considered two factors based on the distance to the CH node and residual energy. In Kth layer, i is the CH node and j is a neighboring node to i in (K − 1)th layer. d i , j is distance to CH nodes, and residual energy of j is denoted by E j . Cost of each CH node is as shown in (7).
C o s t i , j = { ε f   s d i , j 2 E j   d < d o ε m p d i , j 4 E j   d d o  
In [25], the power-efficient data-gathering and aggregation protocol (PEDAP) was based on a near-optimal spanning tree model to achieve better lifetime of the network. In [26], the localized PEDP scheme used a localized and distributed architecture, whereas other schemes discussed here use a centralized approach. In [27], the power-efficient gathering in sensor information systems (PEGASIS) considers only the nearby neighbors for transmitting the packets towards the BS. It improves the cost as compared to LEACH. In [28], a delay-aware data collection network structure (DADCNS), the prime focus is to identify the tracks that result in less delay for data collection. It adopts top-down and bottom-up approaches to construct a tree structure for managing the nodes as per the distances, rank and time delays.
Z. Wang et al. presented dynamic packet transmission within a cluster. The CH node rotation is adjustable according to the situation. The uneven clusters efficiently minimize energy consumption to assist in the extension of network lifetime [29]. In the Energy-Efficient and Reliable Routing (E2R2) scheme [30], the CH transmits the data by maintaining a certain throughput to ensure efficient utilization in single or multi-hop scenario. Moreover, alternative additional paths are also maintained for the selection of efficient routes. In [31], the authors minimize the energy consumption by balancing the routing cost by utilizing a multi-hop algorithm. The algorithm endures the failure of the head node and sensor nodes. The SEED algorithm minimizes redundant transmissions to attain efficient energy dissipation but cannot apply in the case of heterogeneous sensing device data. To overcome heterogeneous data trafficking and energy consumption between sensor nodes, another scheme was presented. In LEACH Vice Cluster Head (L-VH) [32], an additional sub CH with second highest energy is identified to manage the workload. The VH does not work in parallel with CH, but it sleeps unless a sufficient threshold amount of energy is consumed by CH. After that, VH wakes up to take over the tasks in progress at CH and then continues to work as CH. It reduces the time for the next head selection, and the number of messages are processed by VH to manage the communication. In [33], Traffic and Energy Aware Routing (TEAR) is presented for selecting those nodes that have a high traffic rate with less energy dissipation. In this scenario, TEAR does not provide redundant data filtration. To attain both benefits of redundant data filtration and heterogeneity-based data trafficking with efficient data consumption in the WSN scenario, a hybrid method, ETASA, provides enhanced load balancing with efficient energy utilization of sensing devices, and these devices wake and sleep based on energy and data rates. SEED also allots a slot to each member of the pair group, and the presented scheme amends the conventional scheduling of SEED by allotting one slot for each group pair within a cluster. In this way, the idle listening problem is addressed to reduce energy dissipation. ETASA improves the balanced energy dissipation and CH selection technique.

3. System Model and Problem Identification

In the literature, we found several related research studies for data aggregation that discussed different models with limitations such as energy efficiency and scalability. We observed a few problems in the delay-aware network model for the collection of data, where a single cluster is divided into sub-clusters and the remaining nodes are considered as member nodes. The model reduces the delay, but its structure is fixed. Therefore, it can only be applied in homogeneous WSNs. Researchers most probably work in homogenous networks, where all nodes have the same features such as residual energy, processing capability, and communication units. Conversely, for heterogeneous networks, these models vary because of the mobility, localization and trajectory management. In this context, every node does not have a fixed position, and in multivendor sensor-based networks, every sensing device has distinct features. This affects the packet delivery ratio, delay, energy consumption and available time slots that can be considered as decision variables as per the feasibility constraints for routing protocols to evaluate the performance.
The energy consumption for data exchange varies due to adoption of different types of small and large routing tracks. An efficient information collecting scheme for a hybrid network is needed to attain performance in heterogeneous systems with hierarchy-based energy-efficient routing paths. In the base paper, it is assumed that resources for sensor nodes are the same throughout the network. We present a system model where CH acts as a collector node to receive data from member nodes. In this model, a number of expired nodes are also considered, as shown in Figure 1. The energy of nodes decreases at a variable rate with time because each node receives and transmits several data packets at various distances. This results in high energy consumption and reduces the network lifetime. At the time of network creation, every node has an equal energy level of E = 100 μJoules.
Figure 2a illustrates the network state after a specific time interval t = 1, and the energy of each node varies on the basis of its utilization. The sensor node only forwards its sensing data, it consumes less energy as compared to other devices that are forwarding their data along with the data of other several nodes like N8 and N4. Moreover, Figure 2b presents the energy level of each node after a specific time t = 2. According to the figure, the node N4 loses its battery frequently as compared with other devices because of the maximum load of the network and other devices still have enough residual energy. Therefore, the main concern is to consider those nodes that have enough residual energy by reconstructing the network. The main problem is to choose the CH with the highest remaining energy for better network life and support. Thus, network is restructured in such a way that the CH must carry maximum number of neighboring nodes. The CH must carry maximum residual energy for long time support.

4. Proposed Solution

In this section, we present the Efficient Multi-hop Routing Protocol (EMRP) for data exchange in IoT-assisted WSNs. It analyzes the residual energy of nodes to decide about the routing paths. It improves the data exchange between source and destination. The proposed system model utilizes an efficient topology formation mechanism to enhance the lifetime of the network. Moreover, an efficient data collection algorithm considers a hybrid network where every node has distinct features as per the deployment in a topology. For development, the key objectives of our proposed protocol are as follows: (i) More reliable time for data gathering; (ii) Reliable data transmission time; (iii) Efficient energy consumption; (iv) Increased network lifetime; (v) Scalability for handling communication cost; (vi) Flexibility for adding/removing nodes. Our work minimizes energy consumption during data collection and transmission by selecting the suitable next hop. We present a next-hop selection-based efficient data collection algorithm to maximize the network lifetime. A list of notations for EMRP is provided in Table 1.
Next, we present the proposed work and its methodology. To answer the above-mentioned issues, our proposed solution efficiently handles the data collection, data transmission, and energy issues. The presented algorithm enhances the network lifetime as compared with the data gathering mechanism.

4.1. Next Hop Routing Protocol

Routing is the main factor in a WSN, as it changes the energy consumption of the sensing nodes while communicating with the other devices inside the network. In this context, less efficient routing mechanisms increase the energy consumption. This results in a large number of expired nodes in the network. To achieve efficient energy consumption, an adaptive routing mechanism is considered to attain the advantage of multi-hop and dynamically changing routing patterns based on variable conditions. For efficient energy utilization at each node, a routing protocol is utilized for load balancing while gathering and transmitting data to the BS. Moreover, the proposed model considers the following characteristics; (i) Archive improved network model for data gathering by efficient data routing; (ii) Efficient location of next node with maximum residual energy; (iii) Energy-efficient routing algorithm; (iv) Efficient and changeable routing mechanism for both one hop and multi-hop. We consider an improved network establishment mechanism for efficient energy consumption in the heterogeneous network. In this context, it is a critical issue while formulating the network because it also considers more parameters along with energy levels. In heterogeneous networks, the presented mechanism shuffles the node position on the basis of multiple parameters for maximizing the network lifetime. In the proposed network development, we consider these parameters to construct a network model.

4.2. Time Slot Identification

To achieve a better data collection mechanism, we utilize a tree-based model where each cluster node has some link points with other nodes for forwarding information to BS. There is a restriction on the network size N such that N = 2 p where p = 2, …, m. The data are so well correlated that data aggregation is not important at the sensor nodes. In this scenario, the number of required time slots N T S log 2 N + 1 . Furthermore, the highest connection degree of CH is K m a x = log 2 N + 1 . In this case, N T S demands a maximum rank or degree K m a x to gather information from its child nodes, with k m a x 1 =   log 2 N [28]. Next, the single-hop and multi-hop scenarios are presented. The time slots N T S needed for gathering the information from cluster member (CM) nodes are obtained as N T S   D n + 1 , where D n represents link level.
A cluster’s rank k is based on the CM node’s rank, where each member can maintain k − 1 data links. Each member node also maintains its rank k and can be considered as child of main node. The nodes with higher k values can be considered as parent nodes, where highest rank value is for CH as illustrated in Figure 3. The dashed arrow denotes the data connection among a pair of nodes, and the pointing direction of the sign presents the flow of data. For example, the presented system investigates with N = 16 , where N   denotes the number of nodes. In the given example, BS takes 5 × T time to obtain data from the 16 nodes. Moreover, it splits the total time into several time slots of period T , and a specific interval of time is denoted by T . The total time is divided into the T time slots where the collection process at the base node takes five time slots. We illustrated the movement of data exchanged from the rank 1 node towards CH.

4.3. Proposed Next-Hop Selection Scheme

In the proposed mechanism for next-hop selection, we considered the residual battery and the distance from the BS. In cases where the distance is minimum but the residual energy is less than the threshold value TV0, we then opted to select another neighboring node. In this top-down approach that holds centralized control, therefore, the BS contains information about the status of all the nodes in the cluster. To organizes all member nodes, the BS periodically checks the ranks of nodes for better communication and accessibility to BS. The BS and child nodes set data connections to develop a suitable network formation. The network configurations for N = 2 0 and N = 2 1 are small due to a smaller number of nodes. For N = 2 p nodes, the network is assumed to be completely connected. In this context, the completely connected network means the presence of a data link among two consecutive nodes. Moreover, if there is no direct link among two consecutive devices, then intermediaries are involved as next-hop neighbors. The link degree among two sensor devices shows the number of data connections connected to a node. In this context, if a connection level of a node is 3, that means a node has established three connections with other sensors. For N = 2 p nodes in the network, every node starts with N − 1 level. Sensors are elected from the set where b = N/2. In this context, the algorithm can remove all connections (data links) among nodes that are not suitable or if the battery is expired. In direct routing, the root node directly forwards information to the CH. Calculating the remaining energy periodically, every node of this routing protocol can share its remaining energy with other nodes of the network. THV denotes the threshold value specified at the initial stage, and RE is the remaining energy of each node. If the RE is less than the threshold value, then the protocol initializes multi-hop-based routing, otherwise data are transmitted to the CH through direct routing. In case the number of nodes in the next hop is only 1, then the data are directly transmitted to the node. Conversely, the mechanism chooses the next-hop node on the basis of the remaining battery power and selects the node with maximum energy. Algorithm 1 is explored step by step as follows.
Initially, the required variables are assigned initial values in steps 1 to 3. Next, the sensor nodes forward the messages to CH, which calculates the residual energy RE and the distance Di between neighbor and BS, as illustrated in steps 9 and 10. The distance to BS should be a minimum to choose the best suitable next hop. The algorithm should also consider the residual energy RE of that node. We check in step 7 whether the node status is not expired, that is, whether its energy is zero. In steps 11 to 15, the algorithm checks whether the distance to neighboring node Di is less than the minimum distance mDi. If the condition is true, then the new lower distance is reassigned as the minimum distance. The algorithm also sets a next-hop flag NhFlag to identify that this node may be the next hop for transmission. In step 14, the distance value of that node is saved in the array Arr_D_ N G i to be used later for further decision if needed. In steps 16 to 21, the algorithm first checks that the RE is greater than the threshold value TV0 to be selected as next-hop. Next, it checks that the rank k _ N G i of the node N G i must be larger than or equal to the rank of the previous next hop k _ P r e v h o p . This ensures that the next hop is near to the BS, as its rank k value is higher. The algorithm also checks the limit of rank value k of the next hop k _ N x t h o p , which should be less than the upper limit of L o g 2 N + 1 . For example, for a network of N = 16 nodes, its value will be 04. This means that all member nodes may have maximum rank of k = 4 when N = 16. The CH will carry the k + 1 rank. CH has the highest level of energy within the cluster. If the condition at step 17 is true, then the next-hop will be set as current hop, i.e., current neighboring node under process. If the condition is false, then the Nhflag is set to false so that another next-hop can be chosen in the next steps. In steps 22 to 24, the algorithm checks whether the RE value is 0, i.e., whether the node battery has expired. If yes, the node status will be set to expired. At the initial state of the network, every node has 100% energy. In step 26, the loop is terminated. In steps 27 to 33, the algorithm checks whether the NhFlag is true, then send the message to next hop. If the NhFlag remained false, then the node with minimum distance could not find a node with the RE larger than the threshold TV0. In such cases, a node with minimum distance will be taken from the list Arr_D_ N G i that was saved in step 14 for only those nodes whose distance was less, and reset the minimum distance value mDi. This node will be selected as next hop to transmit the data. In the final step, the previous hop value is set to current value, which will become the previous hop for the next execution of the steps. By considering n neighbors, a loop is applied to calculate the RE so that the computational asymptotic cost is O(n).
Algorithm 1: Next hop Selection in multi-hop routing
  • Set N x t h o p as null
  • Set Nh_Flag as False
  • Set N as Network Size
  • CM: Send data to CH
  • At CH:
  • For each N G i   in all neighbors A r r _ N G
  • If ( N G i → status Not Expired)
  • Set C u r r h o p = N G i
  • RE = Calculate Remaining energy N G i
  • Di = Calc_distance ( N G i , BS)
  • If (Di < mDi)
  • Set mDi = Di
  • Set Nh_Flag True
  • Arr_D_ N G i = Di
  • End If
  • If RE > TV0 then
  • If ( k _ N G i k _ P r e v h o p and k _ N x t h o p < L o g 2 N + 1)
  • Set N x t h o p = C u r r h o p
  • Else
  • Set Nh_Flag as False
  • End If
  • Else If RE equals 0 then
  • Set N G i → status as Expired
  • End If
  • End If
  • End For
  • If Nh_Flag equals True
  • Transmit data packets to N x t h o p
  • Else
  • Set mDx = min (Arr_D_ N G i )
  • C u r r h o p = N G i
  • Transmit data packets to selected node C u r r h o p
  • End if
  • Set P r e v h o p = C u r r h o p

5. Results and Analysis

This section introduces simulation features, hypotheses, topology, implementation information, and different situations to achieve the results. Simulation is conducted by using network simulator NS-2.35, where TCL scripts are written to deploy the nodes as per configuration. Moreover, the energy model is also configured to extract the residual energy of each node as the simulation time passes gradually. Messages are also initiated as per the communication scenario from TCL files. These messages are then processed in C coding for further transmission to destination nodes by setting the configuration parameters such as source and destination IDs, ports, and IP addresses along with the packet’s sequence number, type, and enumerated value. Similarly, the receive function is developed to further manage the functionality as per packet ID and then transmitted to other nodes until the destination nodes are not reached. We have used separate classes to configure CH and low-power sensor nodes. Objects of these classes are created in TCL files to create nodes as per configurations. Additionally, the battery storage of CH nodes is 20 times more than that of the ordinary sensors. The base schemes are LEACH [24], PEDAP [25], PEGASIS [27], DADCNS [28] and L-VH [32]. A list of simulation parameters is presented in Table 2.

5.1. Average Data Collection Time and Lifetime

Figure 4a presents the number of time slots needed to forward data to the BS. In the case of EMRP, the packet size of control information is quite small as compared to the size of the data packet. The earlier studies verified that the top-down method DADCNS and L-VH are much better than other existing strategies, including LEACH, PEDAP, and PEGASIS, for efficient data forwarding. Results show the sovereignty of EMRP as compared to counterparts. For the number of nodes equal to 50, L-VH, DADCNS, PEGASIS and LEACH require 10, 11, 17 and 24 time slots, respectively. The proposed EMRP performs quickly in six time slots by finishing extra data gathering processes within the required time. PEGASIS uses more slots when sharing the messages over nearby neighbors, but their distance was long with the BS. LEACH consumes much more as the strategy was to forward towards any of the selected neighbors. DADCNS identified the track with less delay, but the number of time slots remained somewhat higher. Similarly, L-VH consumed fewer slots by considering better tracks and neighboring nodes. Figure 4b illustrates the average number of data collection rounds performed in a specific timespan. For 50 nodes, 130, 128, 107 and 71 rounds of data collection are performed by L-VH, DADCNS, PEGASIS and LEACH, respectively. The proposed EMRP outperforms with 150 rounds. In these schemes, the number of rounds may vary as per the time of reply by the member nodes, and the delay increases when more packets are dropped on a selected path, e.g., in the case of 20 to 25 nodes. In the case of 30 nodes per cluster, improvements were made to achieve fewer delays and rounds. This metric helps to explore the network lifetime. The sensors perform a limited number of rounds for data sharing due to the insufficient battery power of sensor nodes. We varied the number of nodes from 5 to 70 for measuring the network lifetime by using the average number of rounds for data sharing. The number of nodes in a cluster was varied from a small number to a large number of deployed sensors. This increases the size of the entire network in a specified region with more density of nodes. Next, we evaluated the performance in terms of the first node’s energy expiry within the network. In Figure 4c, several existing routing mechanisms are graphically analyzed based on the first node expiry. Results show that in the case of PEDAP, LEACH, PEGASIS, DADCNS, and LV-H, the first node expires after 4.1, 4.21, 4.4, 4.58 and 4.65 min, respectively. EMRP achieves a better lifetime, where the first node expires after 4.71 min. In existing schemes, more energy is consumed for the data sharing messages, where a number of long tracks may be chosen to consume more energy. It results in early expiry of the node’s battery.

5.2. Residual Energy

Figure 4d elucidates the amount of residual energy left after a number of routing operations are performed. It highlights that EMRP contains more residual energy as compared to counterparts. We utilized the energy model to obtain these energy values in the trace files generated after simulation. Afterward, AWK script files were used to extract these values. Results show that 85.2456 µJoules, 90.3518 µJoules, 93.4127 µJoules, 96.6095 µJoules and 97.3356 µJoules were residual for PEDAP, LEACH, PEGASIS, DADCNS and L-VH, respectively. EMRP dominated with the maximum residual energy of 99.7463 µJoules. In existing schemes, more energy is consumed during messages for routing operations for data collection and retransmissions. In many cases, packets are either lost or traversed on a long path due to wrong neighbor selection. L-VH and DADCNS identified better tracks and consumed less energy as compared to the other base schemes.

5.3. Packet Delivery Ratio and Data Loss

Figure 5a illustrates the packet delivery ratio by calculating the number of packets sent and received during data exchange. Results show that packet delivery ratios were 66.38%, 71.27%, 73.91%, 77.18% and 80.23% for PEDAP, LEACH, PEGASIS, DADCNS and L-VH, respectively. Our proposed EMRP dominated by achieving 85.16%. The main reason for receiving fewer packets was due to the selection of lengthy paths where the message exchange may traverse in the opposite direction to BS. It may lead to excessive communication and fewer chances for packet delivery. Figure 5b depicts the amount of communication lost in kilobytes during message exchange using different routing protocols. The data packet’s size was set to 256 bytes as per the values exchanged in a message. Results show that the amount of communication lost due to packet drops was 258.13 KB, 281.20 KB, 200.35 KB, 175.23 KB and 134.33 KB, in the case of PEDAP, LEACH, PEGASIS, DADCNS and L-VH, respectively. EMRP achieved a minimum loss of 113.93 KB, where the loss ratio was 0.1483 when 3000 packets were exchanged for EMRP.

5.4. Communication Area and Number of Alive Nodes

Figure 5c illustrates the communication area involved as the number of nodes increased in the network. Results show that the communication area increased as per the increase in number of nodes, whereas the value decreased with 35 to 45 nodes, to 4846 m2 and 4756 m2, respectively. For 30 nodes, the communication area coverage was 5008 m2. It varied as per the topology of the nodes after deployment, i.e., the nodes deployed very close to each other may not increase the communication area. Figure 5d shows the number of alive nodes while the simulation time passed gradually. Results show that the nodes consumed energy for different data collection operations to expire battery life as per the increase in simulation time. After 800 s, there were 42 alive nodes out of a total of 70 nodes.

6. Conclusions

In this work, we highlighted the energy constraints of sensing nodes involved in routing data to destinations in a hierarchy-based network. EMRP efficiently selects the next-hop by considering the residual energies of the intermediate nodes. We considered the energy-specific utilization of nodes to enhance the expiry time of first nodes as well. We also focused on connection degree and maximum links for data collection from member nodes. It accelerates data exchange to the BS by enhancing the lifetime of the network. To validate our work, we performed simulations in NS 2.35 along with TCL scripts and C code to implement send and receive functionalities in a heterogeneous environment where node configurations are separately specified in code. Furthermore, results were obtained from the trace files by utilizing AWK files. Simulation results showed the supremacy of our proposed EMRP as compared to counterparts in terms of improved average lifetime, higher data collection rounds, improved PDR, reduced communication cost, increased residual energy, improved communication area and number of alive nodes. In future work, we will test our EMRP in grid topology along with available mobility models.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in the simulations have been reported in the manuscript.

Acknowledgments

The author wishes to acknowledge the approval and the support of this research study from the Deanship of the Scientific Research in Northern Border University, Arar, Kingdom of Saudi Arabia.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Mohammed, T.; Albeshri, A.; Katib, I.; Mehmood, R. UbiPriSEQ—Deep reinforcement learning to manage privacy, security, energy, and QoS in 5G IoT hetnets. Appl. Sci. 2020, 10, 7120. [Google Scholar] [CrossRef]
  2. Atzori, L.; Iera, A.; Morabito, G. The Internet of Things: A survey. Comput. Netw. 2010, 54, 2787–2805. [Google Scholar] [CrossRef]
  3. Čolaković, A.; Hadžialić, M. Internet of Things (IoT): A review of enabling technologies, challenges, and open research issues. Comput. Netw. 2018, 144, 17–39. [Google Scholar] [CrossRef]
  4. Sun, W.; Tang, M.; Zhang, L.; Huo, Z.; Shu, L. A Survey of Using Swarm Intelligence Algorithms in IoT. Sensors 2020, 20, 1420. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Shafiq, M.; Ashraf, H.; Ullah, A.; Tahira, S. Systematic Literature Review on Energy Efficient Routing Schemes in WSN—A Survey. Mob. Netw. Appl. 2020, 25, 882–895. [Google Scholar] [CrossRef]
  6. Chan, L.; Gomez Chavez, K.; Rudolph, H.; Hourani, A. Hierarchical routing protocols for wireless sensor network: A compressive survey. Wirel. Netw. 2020, 26, 3291–3314. [Google Scholar] [CrossRef]
  7. Kumar, A.; Zhao, M.; Wong, K.J.; Guan, Y.L.; Chong, P.H.J. A comprehensive study of IoT and WSN MAC protocols: Research issues, challenges and opportunities. IEEE Access 2018, 6, 76228–76262. [Google Scholar] [CrossRef]
  8. Darwish, A.; Hassanien, A.E. Cyber physical systems design, methodology, and integration: The current status and future outlook. J. Ambient. Intell. Humaniz. Comput. 2018, 9, 1541–1556. [Google Scholar] [CrossRef]
  9. Janbi, N.; Katib, I.; Albeshri, A.; Mehmood, R. Distributed Artificial Intelligence-as-a-Service (DAIaaS) for Smarter IoE and 6G Environments. Sensors 2020, 20, 5796. [Google Scholar] [CrossRef] [PubMed]
  10. Mohamed, R.E.; Saleh, A.I.; Abdelrazzak, M.; Samra, A.S. Survey on Wireless Sensor Network Applications and Energy Efficient Routing Protocols. Wirel. Pers. Commun. 2018, 101, 1019–1055. [Google Scholar] [CrossRef]
  11. Sumathi, J.; Velusamy, R.L. A review on distributed cluster based routing approaches in mobile wireless sensor networks. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 835–849. [Google Scholar] [CrossRef]
  12. Liu, L.; Hu, Z.; Wang, L. Energy-efficient and privacy-preserving spatial range aggregation query processing in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2019, 15, 15. [Google Scholar] [CrossRef] [Green Version]
  13. Arora, V.K.; Sharma, V.; Sachdeva, M. A distributed, multi-hop, adaptive, tree-based energy-balanced routing approach. Int. J. Commun. Syst. 2019, 32, e3949. [Google Scholar] [CrossRef]
  14. Naji, N.; Abid, M.R.; Krami, N.; Benhaddou, D. An energy-Aware wireless sensor network for data acquisition in smart energy efficient building. In Proceedings of the IEEE 5th international Conference on World Forum on Internet of Things, Limerick, Ireland, 15–18 April 2019; pp. 7–12. [Google Scholar] [CrossRef]
  15. Nayagi, D.S.; Sivasankari, G.G.; Ravi, V.; Venugopal, K.R.; Sennan, S. REERS: Reliable and energy-efficient route selection algorithm for heterogeneous Internet of things applications. Int. J. Commun. Syst. 2021, 34, e4900. [Google Scholar] [CrossRef]
  16. Wen, W.; Zhao, S.; Shang, C.; Chang, C.Y. EAPC: Energy-aware path construction for data collection using mobile sink in wireless sensor networks. IEEE Sens. J. 2018, 18, 890–901. [Google Scholar] [CrossRef]
  17. Yadav, R.N.; Misra, R.; Saini, D. Energy aware cluster based routing protocol over distributed cognitive radio sensor network. Comput. Commun. 2018, 129, 54–66. [Google Scholar] [CrossRef]
  18. Cengiz, K.; Dag, T. Energy Aware Multi-Hop Routing Protocol for WSNs. IEEE Access 2017, 6, 2622–2633. [Google Scholar] [CrossRef]
  19. Al-Turjman, F. Energy-aware data delivery framework for safety-oriented mobile IoT. IEEE Sens. J. 2018, 18, 470–478. [Google Scholar] [CrossRef]
  20. Xiao, K.; Wang, R.; Deng, H.; Zhang, L.; Yang, C. Energy-aware scheduling for information fusion in wireless sensor network surveillance. Inf. Fusion 2019, 48, 95–106. [Google Scholar] [CrossRef]
  21. Li, R.; Yin, C.; Zhang, X.; David, B. Location-Based Multi-objective Optimization Routing Algorithm for WSN. In Proceedings of the International Conference on Recent Developments in Intelligent Computing, Communication and Devices, Boston, MA, USA, 5–8 November 2019; pp. 523–529. [Google Scholar] [CrossRef]
  22. Haseeb, K.; Islam, N.; Almogren, A.; Ud Din, I.; Almajed, H.N.; Guizani, N. Secret Sharing-Based Energy-Aware and Multi-Hop Routing Protocol for IoT Based WSNs. IEEE Access 2019, 7, 79980–79988. [Google Scholar] [CrossRef]
  23. Shen, J.; Wang, A.; Wang, C.; Hung, P.C.K.; Lai, C.F. An Efficient Centroid-Based Routing Protocol for Energy Management in WSN-Assisted IoT. IEEE Access 2017, 5, 18469–18479. [Google Scholar] [CrossRef]
  24. Wu, L.; Nie, L.; Liu, B.; Cui, J.; Xiong, N. An energy-balanced cluster head selection method for clustering routing in WSN. J. Internet Technol. 2018, 19, 115–125. [Google Scholar] [CrossRef]
  25. Tan, H.; Korpeoglu, I. Power efficient data gathering and aggregation in wireless sensor networks. ACM SIGMOD Rec. 2003, 32, 66–71. [Google Scholar] [CrossRef]
  26. Ramya, K.M.; Shanthi, P. LPEDAP: Localized Power Efficient Data Aggregation Tree Protocol for Wireless Sensor Networks. Int. J. Adv. Res. Comput. Sci. Technol. 2014, 2, 229–234. [Google Scholar]
  27. Lindsey, S.; Raghavendra, C.S. PEGASIS: Power Efficient GAthering in Sensor Information Systems. In Proceedings of the IEEE Aerospace Conference, Big Sky, MT, USA, 9–16 March 2002; pp. 1125–1130. [Google Scholar] [CrossRef]
  28. Cheng, C.-T.; Tse, C.K.; Lau, F.C.M. A Delay-Aware Data Collection Network Structure for Wireless Sensor Networks. IEEE Sens. J. 2011, 11, 699–710. [Google Scholar] [CrossRef]
  29. Wang, Z.; Qin, X.; Liu, B. An energy-efficient clustering routing algorithm for WSN-assisted IoT. In Proceedings of the IEEE International Conference on Wireless Communications and Networking Conference, WCNC, Barcelona, Spain, 15–18 April 2018; pp. 1–6. [Google Scholar] [CrossRef]
  30. Deva Sarma, H.K.; Mall, R.; Kar, A. E2R2: Energy-Efficient and Reliable Routing for Mobile Wireless Sensor Networks. IEEE Syst. J. 2016, 10, 604–616. [Google Scholar] [CrossRef]
  31. Moussa, N.; Hamidi-Alaoui, Z.; El Belrhiti El Alaoui, A. ECRP: An energy-aware cluster-based routing protocol for wireless sensor networks. Wirel. Netw. 2020, 26, 2915–2928. [Google Scholar] [CrossRef]
  32. Mehmood, A.; Lloret, J.; Noman, M.; Song, H. Improvement of the Wireless Sensor Network Lifetime using LEACH with Vice-Cluster Head. Ad-Hoc Sens. Wirel. Netw. 2015, 28, 1–17. [Google Scholar]
  33. Shagari, N.M.; Idris, M.Y.I.; Bin Salleh, R.; Ahmedy, I.; Murtaza, G.; Shehadeh, H.A. Heterogeneous Energy and Traffic Aware Sleep-Awake Cluster-Based Routing Protocol for Wireless Sensor Network. IEEE Access 2020, 8, 12232–12252. [Google Scholar] [CrossRef]
Figure 1. Cluster-based routing with one-hop, two-hop and multi-hop routing.
Figure 1. Cluster-based routing with one-hop, two-hop and multi-hop routing.
Futureinternet 14 00035 g001
Figure 2. Energy level of nodes at (a) t = 1 and (b) t = 3.
Figure 2. Energy level of nodes at (a) t = 1 and (b) t = 3.
Futureinternet 14 00035 g002
Figure 3. Rank-based network model for N = 16.
Figure 3. Rank-based network model for N = 16.
Futureinternet 14 00035 g003
Figure 4. Average data collection time is presented in (a), average lifetime in (b), first node expiry time in (c), and average residual energy after routing operations in (d).
Figure 4. Average data collection time is presented in (a), average lifetime in (b), first node expiry time in (c), and average residual energy after routing operations in (d).
Futureinternet 14 00035 g004
Figure 5. Packet delivery ratio is presented in (a) and amount of data lost in (b). The communication area and the number of alive nodes are illustrated in (c,d).
Figure 5. Packet delivery ratio is presented in (a) and amount of data lost in (b). The communication area and the number of alive nodes are illustrated in (c,d).
Futureinternet 14 00035 g005
Table 1. List of Notations for EMRP.
Table 1. List of Notations for EMRP.
NotationDescription
B S Base station
C H Cluster head
C M Cluster member
N T S Number of time slots
K m a x Maximum rank or degree
D n Connection degree
THVThreshold value specified by the user
R.ERemaining energy
CH1 to CHnNodes at a distance of one-hop to n-hop from CH
b Number of nodes selected from Hs
kRank of each node
N x t h o p Next hop to forward the message
N G i Neighboring node
C 1 C 3 Constant values
Table 2. Simulation Parameters for EMRP.
Table 2. Simulation Parameters for EMRP.
ParametersValue
Transmission Radius60 m
Initial Node Energy1000 J
Tx Node Power0.819 μJ
Rx Receiving Power0.049 μJ
Data CollectionPeriodically
Simulation Time20 min
Minimum Energy Level300 mJ
Mac Protocol TypeMac/802-11
Queue TypeDropTail/PriQue
Queuing Delay10 ms
Tracing for RouterON
Agent TracingON
Max Packets in Queue50
Control Packet Size96 bits
Number of Nodes5–70 nodes
Communication Time100–1000 s
Sensor Field250 m × 250 m
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Altowaijri, S.M. Efficient Next-Hop Selection in Multi-Hop Routing for IoT Enabled Wireless Sensor Networks. Future Internet 2022, 14, 35. https://doi.org/10.3390/fi14020035

AMA Style

Altowaijri SM. Efficient Next-Hop Selection in Multi-Hop Routing for IoT Enabled Wireless Sensor Networks. Future Internet. 2022; 14(2):35. https://doi.org/10.3390/fi14020035

Chicago/Turabian Style

Altowaijri, Saleh M. 2022. "Efficient Next-Hop Selection in Multi-Hop Routing for IoT Enabled Wireless Sensor Networks" Future Internet 14, no. 2: 35. https://doi.org/10.3390/fi14020035

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop