Next Article in Journal
MID-Crypt: A Cryptographic Algorithm for Advanced Medical Images Protection
Previous Article in Journal
Portable IoT Body Temperature Screening System to Combat the Adverse Effects of COVID-19
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Mathematical-Based Model for Estimating the Path Duration of the DSDV Routing Protocol in MANETs

Department of Computer Science, Al-Quds University, P.O. Box 89, Abu-Dies, Jerusalem 20002, Palestine
*
Author to whom correspondence should be addressed.
J. Sens. Actuator Netw. 2022, 11(2), 23; https://doi.org/10.3390/jsan11020023
Submission received: 25 February 2022 / Revised: 14 April 2022 / Accepted: 23 April 2022 / Published: 12 May 2022
(This article belongs to the Topic Wireless Sensor Networks)

Abstract

:
Mobile Ad Hoc Networks (MANETs) are kind of wireless networks where the nodes move in decentralized environments with a highly dynamic infrastructure. Many well-known routing protocols have been proposed, with each having its own design mechanism and its own strengths and weaknesses and most importantly, each protocol being mainly designed for specific applications and scenarios. Most of the research studies in this field used simulation testbeds to analyze routing protocols. Very few contributions suggested the use of analytical studies and mathematical approaches to model some of the existing routing protocols. In this research, we have built a comprehensive mathematical-based model to analyze the Destination-Sequenced Distance Vector protocol (DSDV), one of the main widely deployed proactive protocols and studied its performance on estimating the path duration based on the concepts of the probability density function and the expected values to find the best approximation values in real scenarios. We have tested the validity of the proposed model using simulation scenarios implemented by the Network Simulator tool (NS3). The results extracted from both the mathematical model and the simulation have shown that the path duration is inversely proportional to both the speed of the node and the hop count. Furthermore, it had shown that the path duration estimated from the DSDV protocol is less than the actual path duration, due to the implementation of the settling time concept and keeping the “periodic routes’ update” parameter at a constant level, despite the fact that the node’s speed reduces the effective path utilization.

1. Introduction

Mobile nodes that use Wireless Sensor Networks (WSNs) have increased significantly in recent years, due to the fact that mobile applications and their usage play a vital role in many sectors. A Mobile Ad Hoc Network (MANET) is a special type of WSNs which is defined as a collection of independent mobile nodes (mobile devices, laptops, Personal Digital Assistants (PDAs), etc.) that have the ability of exchanging information wirelessly without the need for fixed infrastructures, such as access points, switches or routers [1]. Due to the frequent physical changes of the topological infrastructure, mobile nodes must perform all the network activities on their own, including the discovery of a network topology, the process of building their own routing tables and the process of managing updates or sending control messages among nodes, as well as the capability of sending, receiving and forwarding information between nodes, i.e., in this case mobile nodes inherit the router operations to forward connection requests between nodes in a distributed fashion [2,3]. Mobile nodes have limited resources such as small memory, tiny power resource, limited bandwidth links and low processing power. Because the links are established wirelessly, data transmission over MANETs is vulnerable to high packet losses and more frequent path disconnections compared to wired networks. These issues might also degrade the reliability of the network in delivering data traffic. Mobile nodes that are in a radio range of other nodes can establish a direct communication link, otherwise they cooperate with intermediate nodes to manage the connection. MANETs have many interesting applications that fulfill human needs. Examples of such applications are military fields, emergency situations and natural disasters, etc. In such applications, it is extremely impossible to rely on fixed infrastructures due to their absence or their high implementation costs [4,5].
Routing information in MANETs is a big issue, and puts several challenges to researchers on how to design suitable routing protocols to handle them. Therefore, many routing protocols have been developed that are compatible with the characteristics and the dynamic nature of these networks. Existing routing protocols have their own design mechanisms to improve some of the MANET performance metrics. Among the most important metrics are throughput, Packet Delivery Ratio (PDR), routing overhead and end-to-end delay [5,6]. These metrics are interrelated and interdependent; this means that working to improve one often leads to negatively affecting others.
Routing protocols in MANETs are broadly classified into three categories: proactive, reactive or hybrid [7,8]. In proactive-based routing, every node manages its own routing table/s to store the routing information for all connected nodes. To keep the routing information constantly updated, the nodes exchange update messages frequently or periodically. This method makes routing information available whenever needed, but at the same time, increases routing overhead. Examples of this category are Fisheye State Routing protocol (FSR) [9] and Optimized Link State Routing protocol (OLSR) [10].
In reactive protocols, the nodes do not retain routing information—instead, they broadcast route requests to the destination node on demand. This step is only performed when data routing is required, which increases the throughput, but also increases the end-to-end delay. Ad Hoc On-demand Distance Vector (AODV) [11] and Dynamic Source Routing (DSR) [12] are well-known routing protocols belonging to this category.
Hybrid protocols like Zone Routing Protocol (ZRP) [13] and Temporally-Ordered Routing Algorithm (TORA) [14] utilize the positive characteristics of both mechanisms (proactive and reactive) to improve the performance of the routing process.
Due to the permanent movement of the nodes, their connections’ links are continuously broken. All the metrics mentioned above are affected by the age of the links established between nodes. This means that the path duration between any source-destination communication’s link might affect the performance metrics of the routing protocols. In the case the path duration is too long, there is greater throughput, greater PDR and lower routing overhead and vice versa. The path duration mainly depends on three parameters: speed of the node, direction of movement, and range of transmission signals.
Destination Sequenced Distance Vector (DSDV) [15,16] is a well-known MANET routing protocol, which has been extensively used by the researchers to enhance its performance. Many recent extended versions of this protocol were developed, such as Proactive Routing Protocol for Multi-Channel Wireless Ad Hoc Networks (DSDV-MC) [17], Hash-MAC-DSDV [18], Intelligent Promising Support DSDV (IPS DSDV) [19] and others are appearing on the horizon. It is a proactive loop-free distance vector routing protocol where the nodes periodically forward data packets based on their routing information. Upon receiving the data, the neighboring nodes update their routing tables accordingly. In this case, the required updates will be inserted into the routing table in various settings, e.g., when any required information for a specific destination is missing from the routing table, when the current update message contains a larger sequence number or when the update message with a similar sequence number contains a shorter connection path (smaller hop count). A new update in the routing table will be instantly forwarded to the neighboring nodes and the routing information will be periodically rebroadcast again to reach the convergence state. Figure 1 shows an example scenario of this process.
In this scenario, node (A) represents a new device that joined the network recently, so the routing table of node (A) shows only its routing information. All nodes periodically exchange the contents of their routing tables, and each record in the table contains the identity of the node, the number of hops and the sequence number of the record. When node (B) receives the updates from node (A), it increases the hop count to the destination by 1, and adds the new updates to its routing table. In the next periodic update, node (B) forwards its updated routing table to the other neighbors.
The DSDV routing table contains the following five fields:
-
Next hop: refers to the next node to be visited along the path from the source to the final destination.
-
Metric: represents the number of nodes involved in packets’ forwarding along the path from the source to the destination.
-
Sequence number: a unique identifier given to each update message to distinguish between new and old updates.
-
Settling time: the amount of elapsed time set by the node before broadcasting the incoming updates (this timer will be reset for each update).
-
Hold down time: the amount of time that determines the lifetime of the record, i.e., marking the record as expiry to consider broken connection.
Since the link and path durations play a crucial role in designing high-efficiency routing protocols, this is mainly due to their direct impact on throughput, end-to-end delay and routing overhead; having their values estimated in advance for a given network scenario can help in the optimal selection of other network parameters such as Time to Live (TTL)—a predetermined value that controls the lifetime of a given packet—and an optimal packet length, which minimizes the overall packet loss. However, the prediction of these durations for a given path is a challenging issue, as the estimation process mainly depends on several dynamic parameters such as node velocity, node direction, network size and number of nodes. Furthermore, due to the mobility nature of MANETs, the connectivity graph may change frequently, i.e., active links which are currently available might not be available at other times. This might affect the useful link and path durations, as well as the overall efficiency of the routing protocol. As a consequence, it is necessary for the routing process to find the best alternative route as soon as the route becomes unavailable due to node mobility. Therefore, building a mathematical model of the protocol can give a quick and easy impression of the performance of the protocol in specific circumstances, but when a deeper analysis of the protocol is required, the need for simulation programs still exists.
Existing models cited in the literature studied this problem for the reactive routing category. In this study, we targeted proactive routing and analyzed one of its main protocols, called the DSDV. Thus, we have built a mathematical-based model to analyze the link and path durations of this protocol to find the best approximated values in real scenarios, which in turn can give a good indication of the factors that might affect its performance.
Besides the introduction section, the remaining parts of the paper are structured as follows: A review of the related work is discussed in Section 2. In Section 3, we thoroughly detail the proposed mathematical model and discuss the main assumptions. The validation analysis of the model along the simulation results are provided in Section 4. Finally, in Section 5, we derive the conclusion and provide some future works.

2. Related Work

Although the routing process in MANETs is very hot research area, it is clearly shown in the literature that the majority of the contributions used simulation testbeds to implement and validate the developed routing protocols, compared to the mathematical models that have been developed so far. Existing mathematical models examined some of the reactive routing protocols that have adopted very specific conditions to build the mathematical models and this is due to the fact that the adoption of a mathematical model that considers all MANET’s factors make the mathematical model very complex. A brief description of each model is given below.
Patel, et al. [20] proposed a new statistical-based scheme named Least-Square Quadratic Polynomial Regression-Based-Link Failure (LSQPR-LFE) to estimate the link failure time in MANETs. It builds an optimal error quadratic model between packet arrival time and node distance considering signal levels of the delivered packets. The link failure time was calculated by obtaining the moment at which the maximum communication range will be reached. Several simulations scenarios were implemented to test the accuracy of the proposed scheme, considering various mobility models, node density and node velocity. In their proposed model, Namuduri, K. and Pendse, R. [21] analyzed the path duration using three parameters: node speed, signal level and node density. The main assumption is that the next hop is selected using a function of the Least Remaining Distance (LRD) to the final destination.
Sharm, et al. [22] proposed a routing protocol called Route Stability-based QoS routing (RSQR) to estimate the probability of link failures based on two parameters: node mobility and signal strength. It determines mobility speeds and relative positions of nodes without requiring any geographical information for nodes. It first uses the signal strength values from the MAC sublayer to compute link stability. Next, it uses less control overhead without enforcing a periodic pilot packet exchange to compute link stability values. Tilwari, et al. [23] developed a new a routing scheme titled Mobility, Residual energy, and Link quality Aware Multipath (MRLAM) to address the potential drawbacks of MANETs in the areas of link quality, battery consumption and mobility nature. In this routing scheme, a Q-Learning algorithm was implemented to manage the process of selecting the optimal set of intermediate nodes based on link quality, mobility and energy level parameters of a given scenario, positive and negative rewards are assigned to each node accordingly. Compared to other routing protocols, the proposed routing scheme showed a significant improvement in the overall performance in terms of consumed energy, end-to-end delay, packet loss ratio and convergence time. Shelly, et al. [24] analyzed path and link lifetime in one-dimensional vehicle wireless networks. They assumed a uniform distribution of velocity and lognormal headway distance. The study analyzed the effect of mobility of the vehicles and the transmission range on the average lifetime of the link. They also performed the Kolmogorov-Smirnov test to find the best PDF fits for the link duration. The results have shown that the PDF of link duration can be estimated to be lognormal.
Pal, et al. [25] conducted some experiments on two exiting statistical models: Autoregressive Integrated Moving Average (ARIMA); and multilayer perceptron (MLP) to predict the path length between a transmitter-receiver pair. They applied three different mobility models to collect path length data: the Random Way Point mobility model (RWP); the Manhattan Grid Mobility Model (MHG); and the Reference Point Group Mobility Model (RPGM). AODV routing protocol was used to evaluate the accuracy of the statistical models. The results showed that MLP-based neural network models outperform the ARIMA model in prediction accuracy. Yadav, et al. [26] developed a prediction method to estimate the link availability based on the signal strength. using the Newton divided difference method. In this method, each node determines its links’ breakage time, and forwards this information to other nodes in advance. Based on this information, the route discovery process will be initiated earlier to find alternate routes. The proposed approach was implemented on AODV routing protocol. Compared to the generic AODV, the results of the new proposal showed that packet loss and average end-to-end delay were significantly reduced and data packet delivery ratio was increased.
Srinivasan, M. [27] suggested an analytical model to estimate the average path duration in multihop routing using the Random Way Point (RWP) model. This work considered the node density as a network parameter and studied its impact on the path duration. The results have shown that the average path duration can be analytically predicted for the shortest path routing. Moreover, they showed that the analytical prediction of the average path duration parameter is beneficial in optimizing the routing functionalities such as TTL of a given routing protocol. Carofiglio, et al. [28] conducted a study to examine the duration probability and availability of routing paths that are subjected to frequent disconnections and link failures caused by the mobility nature of mobile nodes. This study specifically focused on the scenarios where the mobile nodes move according to the RWP model and derived the approximate and actual expressions of these probabilities to select the optimal routes in terms of path availability. It also proposed an approach to find the best routes of reactive routing protocols to improve the efficiency and reduce the routing overhead.
Triviño-Cabrera, et al. [29] developed an analytical model to predict both the link duration and the path duration in multi-hop WSNs. The developed model was tested using 50 simulation scenarios with various transmission and mobility conditions on two simulation platforms (NS2 and MATLAB). They found out that both the predicted and measured results are consistent with the simulation results estimated by the analytical equations derived from the analytical model. Sakhaee, et al. [30] developed a new routing algorithm to increase the link duration, improve routing stability and reduce the overall control overhead in high-mobility MANET scenarios. Compared to the existing reactive routing protocols, which consider only disjoint paths, a new discovery concept called non-disjoint paths was introduced in this approach. This study also introduced an approach to find the best estimation of the link lifetime without the need for Global Positioning System (GPS) services. The new approaches were simulated and the traffic overhead analysis showed good performance with promising results.
Bai, et al. [31] developed another approach to examine the effect of some path duration statistics (PDFs) that vary according to some network parameters such as relative node speed, hop count, transmission range and mobility model. The obtained results argued that at low mobility speeds, some mobility models may induce multimodal distributions that affect some characteristics such as mobility constraints, spatial map and traffic pattern, while at moderate to high velocities, the exponential distribution can provide good path duration approximation for a number of mobility models. Farheen, N. S. and Jain, A. [32] proposed a hybrid location-based prediction model to estimate the probable locations of mobile nodes with respect to their neighborhoods based on spatial and temporal characteristics. They developed a multi-path routing protocol considering the estimated probability of nodes’ locations with path diversion, in order to improve the routing performance and reduce packets’ overhead.
In summary, to the best of the authors’ knowledge, mathematical modeling of proactive routing protocols to estimate the link and path durations are at developing stages. Moreover, existing mathematical models targeted a small set of factors that directly affect the process of estimating the path duration; this is because including all factors increases the complexity of constructing the mathematical models. Therefore, in this research study, we proposed a mathematical-based model for estimating the link and path durations and studied their effects on the performance of the DSDV routing protocol—one of the main highly deployed proactive routing protocols. We thoroughly described this model on a step-by-step basis, and verified its validity by doing a comparative analysis between the simulation results and the predicted values derived from the mathematical model.

3. Mathematical Model

In this section, we thoroughly explain the proposed mathematical-based model for the link duration estimation process for the DSDV routing protocol. As mentioned above, the mobility nature of a mobile node causes several performance challenges for the routing protocol, especially during the process of estimating the path duration. The two most important factors that play a crucial rule in any mobility scenario are link and path durations. The link duration is the amount of time that determines how long the established link between two adjacent nodes will be active. This time period is affected by mobility speed model and direction, as well as the distance between the node and its neighbors. During the link activation period, neighboring nodes can exchange packets using direct links. In the case that some information is needed for a non-adjacent node, the path duration mainly depends on the duration of the links connecting all nodes along the path from the source to the destination. In this case, the optimal path duration is the one that contains the shortest link duration.

3.1. Assumptions

As previously noted, the process of estimating the link duration in MANETs considers many factors that make building a mathematical model a complex task. Nevertheless, to simplify this process several assumptions were made. First, in this model we assumed that the distribution of the nodes in a given scenario is uniform, and all nodes move in random directions like the RWP [33], which is considered as the most widely deployed mobility model used to build and analyze simulation scenarios of MANET routing protocols. In this mobility model, the nodes move in straight paths. At the beginning of the script, each node chooses the starting location randomly. Next, it selects the destination point, so that the direction of the target, the followed distance and the node’s speed are selected randomly. When the node moves closer to its destination, it keeps moving at constant speed and when it reaches the destination, it stays there for a random period of time and then selects a new destination in a continuous way, so that it will have a new direction, speed and random distance for every movement [34].
The DSDV protocol builds its routing table using the shortest path concept, i.e., the path with the smallest number of hops. In this mathematical-based model, we assumed that the intermediate nodes along the path between the source and the destination are located on a straight path. We also assumed that the mobility scenario follows medium- to high-density networks, i.e., in such a way that each node has at least one adjacent node.

3.2. PDF of the Relative Velocity

As illustrated in Figure 2, the relative velocity of a given node (A) with respect to another given node (B) is defined as the velocity of which that node (A) might appear to an observer located in node (B) and moving towards it. As illustrated in Figure 2, when the two nodes (A) and (B) are very close to each other, their initial starting coordinates can be considered the same. Therefore, the relative velocity of (A) with respect to node (B) is defined as the velocity of which node (A) might appear to an observer located in node (B) and moving towards it.
The relative velocity is calculated using Equation (1) [35]
v r = v 1 2 + v 2 2 v 1 v 2 cos ( α )
where vr, v1, v2 are the relative velocity, node (A) velocity and node (B) velocity, respectively; and α is the angle between v1 and v2.
The angle between the two moving nodes is within the interval [0, π] and the Probability Distribution Function (PDF) of α equals (1/π). To find the PDF of the relative velocity vr, it is assumed that the angle between the two nodes (A & B) is fixed at an angle of (π/2). This value represents the average value of all possible angles. In this case, the relative velocity vr (Equation (1)) is relaxed to the following equation (Equation (2)):
V r = v 1 2 + v 2 2
As demonstrated in Figure 3, the relative velocity written in this form represents a circle of radius vr. This means that the rules of the circle can be easily applied to find the Cumulative Density Function (CDF) to estimate the value of the relative velocity.
The minimum relative velocity can be characterized by the following equation (Equation (3))
v r = v 1 ( min ) 2 + v 2 ( min ) 2
where vr(min), v1(min) and v2(min) represent the minimum relative velocity, the minimum velocity of node (A) and the minimum velocity of node (B), respectively.
The highest value of the relative velocity between the two nodes (A) and (B) is calculated using the following equation (Equation (4)).
v r = v 1 ( max ) 2 + v 2 ( max ) 2
where vr(max), v1(max) and v2(max) represent the maximum relative velocity, the maximum velocity of node (A) and the maximum velocity of node (B), respectively.
From Equations (3) and (4), it is concluded that the relative velocity vr can take any value from the interval [vr(min), vr(max)]. Therefore, the cumulative function of the relative velocity vr is characterized by the following equation (Equation (5)):
F VR ( v r ) = π ( v r v r ( min ) ) 2 π ( v r ( max ) v r ( min ) ) 2
As illustrated in Figure 4, in this scenario, the CDF is defined as the ratio between the area covered by the outer circle (the circle with vr radius) and inner circle (the circle with vr(min) radius) to the area covered by the circles with vr(max) and vr(min) radius, respectively.
The PDF of the relative velocity (fVR(vr)) can now be calculated by taking the derivative of Equation (5). Thus, the probability distribution is represented by the following equation (Equation (6)):
f VR ( v r ) = 2 ( v r v r ( min ) ) ( v r ( max ) v r ( min ) ) 2
From Equation (6), the expected value of relative velocity EVR( v r ) is computed as follows (Equation (7)).
E VR ( v r ) = v r ( min ) v r ( max ) 2 v r × ( v r v r ( min ) ) ( v r ( max ) v r ( min ) ) 2   d v r

3.3. PDF of a Node Distance

In realistic scenarios, two adjacent nodes can establish a direct link to exchange data if they are within their signals’ ranges. Since the nodes in MANETs keep moving, the traveled distance to leave another node’s coverage area mainly depends on two parameters: the node’s direction taken by the node during its movement and the distance between the two nodes. As illustrated in Figure 5, node (A) broadcast’s range is represented in the circular area with radius R. The location of node (B) falls within the coverage area of node (A). In this case, the probability of the distance r between both nodes can be estimated by obtaining the Cumulative Density Function (CDF), as follows (Equation (8)):
F R ( r ) = π r 2 π R 2
To obtain the PDF of the distance between the two nodes, we take the derivative of the CDF. Consequently, the PDF can be estimated using the following equation (Equation (9)):
f R ( r ) = 2 r R 2
From Equation (9), the PDF of the shortest distance of node (B) required to leave the coverage area of node (A) is expressed by Equation (10).
f Y ( y ) = 2 ( R y ) R 2
As a consequence of moving the two nodes, node (B) can select any path from the list of paths (d1, d2, d3, d4, … dn). The path probability being taken is a uniformly distributed function among all distances. It ranges from the shortest distance required from node (B) to leave the coverage area of node (A), which is denoted by y to the longest distance that node (B) can move before leaving node (A) coverage area, which is denoted by the distance 2R. Consequently, to choose the path to be followed by node (B), its PDF can be calculated using Equation (11).
f M ( m ) = 1 2 R y
As mentioned above, the distance required by node (B) to be out of node’s A range mainly depends on two factors: P(r); the distance probability between node (B) to node (A) and P(m); the path probability to be taken by node (B). Considering the fact that both factors are independent, the PDF for the traveled distance (z) can be calculated using the following equation (Equation (12)):
f Z ( z ) = 1 2 R y 2 ( R y ) R 2
And the expected distance is represented by Equation (13).
E Z ( z ) = y 2 R z f z ( z ) dz

3.4. Estimating the Number of Hops from Source to Destination

In this mathematical-based model, it is assumed that the nodes move within a square dimensional area. This means that (Figure 6) the length of each side is one unit. Then, the average distance (D) between two nodes located inside this square area can be approximated by Equation (14) [36,37].
D 0.5217
Therefore, if it is assumed that the length of square base is L, then the average distance (D) between the two nodes located in this area can be calculated using Equation (15).
D 0.5214 × L
From Equation (9), the expected distance between the two adjacent nodes is represented as follows (Equation (16)).
E R ( r ) = 0 R 2 r 2 R 2 dr
Figure 7 demonstrates an example of the aforementioned concepts, where r represents the distance between the two adjacent nodes and D represents the distance between the source and the final destination.
From the above findings, the estimated number of hops can be computed using the following equation (Equation (17)):
E H ( h ) D E R ( r )

3.5. PDF of the Link Duration

Referring to the aforementioned relationships that relate velocity, time and distance, the link duration is calculated using the following equation (Equation (18)):
t = z v r
Since the value of the link duration depends on two random variables: v r and z, the PDF of the link duration is characterized by Equation (19).
f T ( t ) = v r min v r max v r f z Vr ( v r . t , v r ) d v r
Considering that v r and z are independent variables, Equation (19) can be rewritten as follows (Equation (20)).
  f T ( t ) = v r min v r max v r f Z ( v r . t ) f VR ( vr ) d v r

3.6. PDF of the Path Duration

The path duration from a source to a destination strictly depends on the time durations of all links established between intermediate nodes that form the complete transmission path. As shown in Figure 8, to calculate the duration of the full path from source to destination, the shortest durations among all the links will be taken, considering that an interruption of any link can lead to losing the connection [18]. Thus, the full path duration can be represented as follows (Equation (21)).
t path = M i n ( t 1 ,   t 2 ,   t 3 , .. ,   t n 1 )
By applying the Baye’s theorem [20], the PDF of Tpath can be represented by Equation (22)
f T path ( t path ) = E h f T ( t ) C T path E h 1
where (CTpath) is the complementary CDF of (Tpath) represented as follows (Equation (23)).
C T path = 1 F T path
By substituting Equation (22) in Equation (21), we get the following equation (Equation (24)).
f T path ( t path ) = h f T ( t ) ( 1 0 t path f T ( t ) ) h 1
Finally, the expected path duration can be estimated using Equation (25).
E T path ( t path ) = 0 a t path f T path ( t path ) dt path

3.7. DSDV Path Duration

When receiving new information about a new assigned path, all intermediate nodes that establish the full path between the source and the destination will wait for a specific time period, called the settling time. It is used by the node to make sure that it has obtained the shortest path before retransmitting the new updates. For estimating the path duration, the waiting time of every intermediate node will be excluded. Consequently, the DSDV path duration is calculated using the following equation (Equation (26)):
DSDV T path = E T path ( E h 2 ) × settling   Time
All nodes deploying the DSDV protocol can update their routing information on a specific time period, called the update period. This update period is determined by the arrival time of the update, and in case the path duration is expired, the routing information will remain unchanged until the expiry of this period. Therefore, the percentage of path useful time is represented by Equation (27).
useful   time = DSDV T path Update   period

4. Model Analysis and Discussion

To validate the proposed mathematical-based model and study the effect of the DSDV protocol on its path duration estimation, we have built two simulation scenarios (Table 1). In the first scenario, we selected a simulation area of 1000 × 1000 m2 and the node’s signal range of 250 m and the mobility of the nodes and their velocities are selected using the RWP model. The velocity of each step is increased by 5 m/s, (5, 10, 15, …). In the second scenario, we kept the scenario dimension as in the first one (1000 × 1000 m2), and fixed the nodes’ velocities at 10 m/s. The distribution of the movement of the nodes are kept random. The initial value of the signal range is 100 m, and this increases by 10 m in each step. The change in the signal range means a change in the hop count, which is needed to reach the destination node. Meanwhile, the node with a short-range signal requires more hops to reach the destination node. Table 1 summarizes these settings. Figure 9 illustrates the relationship between the node velocity and the path duration. It is observed that the path duration decreases with the increase in the node’s speed, and it is significantly reduced when the speed exceeds 10 m/s. It is also noted that the actual path duration is longer than the DSDV path duration, and this difference increases by increasing the nodes’ velocity.
Furthermore, we found out that the analysis of the DSDV path duration is less than the actual path duration, since the DSDV protocol needs to wait for a time period (settling time) before rebroadcasting the routing information. During the waiting period, the nodes keep moving, and consequently the path duration of the DSDV protocol will be decreased.
The nodes that install the DSDV instance periodically update their routing information. In the case the interval between the current and next update periods is longer than the path duration to the final destination, the node loses the connection to the destination node before the routing information is updated. Thus, the period between both update intervals is not fully utilized. Figure 10 shows the relationship between the utilization ratio of the path duration and the velocity of the node.
From Figure 10, it is assumed that the periodic update time is 15 s, which is the default value used by the NS3 simulation environment. It is observed that the utilization rate of the DSDV path duration decreases as the velocity of the nodes increases. This is because the path duration decreases with the increase in nodes’ velocity, while the periodic update remains constant.
Figure 11 illustrates the relationship between the number of hops and the path duration. It is shown that the path duration is inversely proportional to the hop count, and it is considerably decreased when the hop count is greater 4. It is also noted that the actual path duration (Model) is greater than the observed DSDV path duration (NS3), and this difference increases with increasing the hop count metric. Furthermore, the path duration decreases more than the calculated path duration when the number of hops increases, and this can be attributed to the increase in the amount of data that must be exchanged by the nodes to update their records.
Furthermore, the path duration of the DSDV protocol decreases much faster than the actual path duration, as the duration of the delay is increased with the increase in the number of hops between the source and the destination. If it is assumed that the number of hops between the source and the destination equals 1, and that each node will wait 5 s before rebroadcasting its routing information, the DSDV path duration will be decreased by 5 s. On the other side, when the hop count between the source and the destination equals 2, the observed path duration will lose an additional 10 s compared to the actual path duration.
Finally, Figure 12 shows the relationship between the number of hops and the path duration. It shows that the path duration is decreased when the number of hops becomes larger. It is also noted that the length of the path duration decreases significantly when the number of hops increases.
Table 2 summarizes the main findings of this research work. The results derived from the mathematical model are compared with those obtained from the simulation software. It is clearly shown that the path duration can be predicted analytically. When the node velocity changes from 5 to 30 m/s, the path duration is peaked at the beginning, and gradually decreases as velocity increases in an exponential distribution graph. The value-by-value comparison shows that the calculated values are aligned with the simulation values with an average of 5.6 m/s. This same analysis is valid for the number of hops. As this number increases, the path duration decreases. Normally, this situation could happen due to the process of finding the shortest path in routing protocols. The routing process works on minimizing the number of hops needed to reach the final destination by picking up longer links. These findings clearly indicate that the proposed mathematical model can give a good estimation of the link and path durations of the DSDV protocol.

5. Conclusions and Future Work

Routing in multi-hop ad hoc networks is a challenging task. Thus, analyzing routing protocols is essential to maintaining their development, modernization and maintenance. Various methods have been proposed to analyze routing protocols and evaluate their performance in a variety of scenarios. The majority of these methods used simulation testbeds; only very few contributions applied mathematical modeling to analyze reactive routing protocols. In this study, we have proposed a mathematical-based model targeting the DSDV protocol; it is one of the main widely deployed proactive routing protocols, with many new extensions and variants.
We tested the validity of the proposed model using simulations, and the results have shown that the DSDV path duration is inversely proportional to the speed of nodes, especially when this value exceeds 10 m/s. The path duration has the same curve, with better results due to the implementation of the settling time concept. Furthermore, we conclude that the rate of path utilization decreases with the increase of nodes’ speed, as it decreases in the path duration as the speed increases, and the periodic update interval remains constant. The path duration was significantly decreased when the number of hops becomes larger (more than three hops), even if the node’s speed was low. Furthermore, it has been shown that the settling time and keeping the periodic update interval fixed have a significant impact on the path duration and the path utilization rate. We have noticed that the protocol has a negative effect on the path duration when the number of hops increases—in contrast to the increase of the nodes’ speed, this effect remains limited.
As a future work, we will analyze both factors and try to reduce their impact without affecting other performance factors, such as routing overhead. Another research line is to study link duration, path duration and path utilization of routing protocols using other mobility models.

Author Contributions

Conceptualization and methodology, S.S., M.A. and R.Z.; software, M.A. and R.Z.; validation, formal analysis and investigation, S.S., M.A. and R.Z.; writing—original draft preparation, S.S.; and writing—review and editing and visualization, S.S., M.A. and R.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Dahiya, M. Evolution of Wireless LAN in Wireless Networks. Int. J. Comput. Sci. Eng. 2017, 9, 109–113. [Google Scholar]
  2. Moussaoui, A.; Boukeream, A. A Survey of Routing Protocols based on Link-Stability in Mobile Ad Hoc Networks. J. Netw. Comput. Appl. 2015, 47, 1–10. [Google Scholar] [CrossRef]
  3. Chitkara, M.; Ahmad, M.W. Review on Manet: Characteristics, Challenges, Imperatives and Routing Protocols. Int. J. Comput. Sci. Mob. Comput. 2014, 3, 432–437. [Google Scholar]
  4. Zemrane, H.; Badd, Y.; Hasb, A. Mobile AdHoc Networks for Intelligent Transportation System: Comparative Analysis of the Routing protocols. Procedia Comput. Sci. 2019, 160, 758–765. [Google Scholar] [CrossRef]
  5. Naveen, M.; Mishra, P. MANET: Application, Challenges, Characteristics, Protocols, Design Goals and Issues. Int. J. Adv. Sci. Technol. 2020, 29, 6491–6499. [Google Scholar]
  6. Priyambodo, T.K.; Wijayanto, D.; Gitakarma, M.S. Performance Optimization of MANET Networks through Routing Protocol Analysis. Computers 2020, 10, 2. [Google Scholar] [CrossRef]
  7. Ahmed, D.E.M.; Khalifa, O.O. A Comprehensive Classification of Manets Routing Protocols. Int. J. Comput. Appl. Technol. Res. 2017, 6, 141–158. [Google Scholar]
  8. Agarkhed, J. A Survey on DSDV Routing Protocol in Ad Hoc Network. Int. J. Emerg. Trends Technol. Comput. Sci. 2017, 6, 114–117. [Google Scholar]
  9. Hassan, M.A.; Ullah, S.I.; Salam, A.; Ullah, A.W.; Imad, M.; Ullah, F. Energy Efficient Hierarchical based Fisheye State Routing Protocol for Flying Ad-hoc Networks. Indones. J. Electr. Eng. Comput. Sci. 2021, 21, 465–471. [Google Scholar] [CrossRef]
  10. Benjbara, C.; Habbani, A.; Mouchfiq, N. New Multipath OLSR Protocol Version for Heterogeneous Ad Hoc Networks. J. Sens. Actuator Netw. 2022, 11, 3. [Google Scholar] [CrossRef]
  11. Sainia, T.K.; Sharma, S.C. Recent Advancements, Review Analysis, and Extensions of the AODV with the Illustration of the Applied Concept. Ad Hoc Netw. 2020, 103, 102148. [Google Scholar] [CrossRef]
  12. Soundarya, D.; Janane, S.; Ramachandran, K.A. A Survey on DSR Routing Protocol. Int. J. Res. Eng. Sci. Manag. 2021, 4, 142–145. [Google Scholar]
  13. Shanthy, R.; Padma, T. A Zone Routing Protocol Incorporated with Sleep Scheduling for MANETs. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 4181–4191. [Google Scholar] [CrossRef]
  14. Zemrane, H.; Baddi, Y.; Hasbi, A. VOIP in MANETs Based on the Routing Protocols OLSR and TORA. In Advances on Smart and Soft Computing; Springer: Singapore, 2021; pp. 443–453. [Google Scholar]
  15. Khan, I.U.; Hassan, M.A.; Fayaz, M.; Gwak, J.; Aziz, M.A. Improved Sequencing Heuristic DSDV Protocol Using Nomadic Mobility Model for FANETS. Comput., Mater. Contin. 2022, 70, 3653–3666. [Google Scholar] [CrossRef]
  16. Abdel Jawad, M.; Salah, S.; Zaghal, R. DSDV Extension to Enhance the Performance of Ad Hoc Networks in High Diverse-Velocity Environments. Int. J. Interact. Mob. Technol. (IJIM) 2020, 14, 95–114. [Google Scholar] [CrossRef]
  17. Lee, U.; Midkiff, C.F.; Park, J.S. A Proactive Routing Protocol for Multi-channel Wireless Ad-hoc Networks (DSDV-MC). In Proceedings of the International Conference on Information Technology: Coding and Computing (ITCC’05), Las Vegas, NV, USA, 4–6 April 2005; Volume 2, pp. 710–715. [Google Scholar]
  18. Adil, M.; Jan, M.A.; Mastorakis, S.; Song, H.; Jadoon, M.M.; Abbas, S.; Farouk, A. Hash-MAC-DSDV: Mutual Authentication for Intelligent IOT-based Cyber-Physical Systems. IEEE Internet Things J. 2021. [Google Scholar] [CrossRef]
  19. Garg, K.; Chauhan, N.; Dutta, C.; Choudhury, T. Promising Highest Resilient Network Using Preventive Route Selection Algorithm-IPS DSDV in MANET. In Emerging Technologies in Data Mining and Information Security; Springer: Singapore, 2021; pp. 33–45. [Google Scholar]
  20. Patel, S.; Pathak, H. A Mathematical Framework for Link Failure Time Estimation in MANETs. Eng. Sci. Technol. Int. J. 2022, 25, 100984. [Google Scholar] [CrossRef]
  21. Namuduri, K.; Pendse, R. Analytical Estimation of Path Duration in Mobile Ad Hoc Networks. IEEE Sens. J. 2012, 12, 562–566. [Google Scholar] [CrossRef]
  22. Sarma, N.; Nandi, S. Route Stability based QoS Routing in Mobile Ad Hoc Networks. Wirel. Pers. Commun. 2010, 54, 203–224. [Google Scholar] [CrossRef]
  23. Tilwari, V.; Dimyati, K.; Hindia, M.H.D.; Fattouh, A.; Amiri, I.S. Mobility, residual energy, and link quality aware multipath routing in MANETs with Q-learning algorithm. Appl. Sci. 2019, 9, 1582. [Google Scholar] [CrossRef] [Green Version]
  24. Shelly, S.; Vijay, V.; Babu, A.V. Model for Path Duration in Vehicular Ad Hoc Networks under Greedy Forwarding Strategy. Procedia Comput. Sci. 2015, 48, 394–400. [Google Scholar] [CrossRef] [Green Version]
  25. Pal, A.; Singh, J.P.; Dutta, P. Path Length Prediction in MANET under AODV Routing: Comparative Analysis of ARIMA and MLP Model. Egypt Inform. J. 2015, 16, 103–111. [Google Scholar] [CrossRef]
  26. Yadav, A.; Singh, Y.N.; Singh, R.R. Improving Routing Performance in AODV with Link Prediction in Mobile Adhoc Networks. Wirel. Pers. Commun. 2015, 83, 603–618. [Google Scholar] [CrossRef]
  27. Srinivasan, M. Analysis of Path Duration in Mobile Ad-hoc Networks. Doctoral Dissertation, Wichita State University, Wichita, KS, USA, 2008. [Google Scholar]
  28. Carofiglio, G.; Chiasserini, C.F.; Garetto, M.; Leonardi, E. Route Stability in MANETs under the Random Direction Mobility Model. IEEE Trans. Mob. Comput. 2009, 8, 1167–1179. [Google Scholar] [CrossRef] [Green Version]
  29. Triviño-Cabrera, A.; García-de-la-Nava, J.; Casilari, E.; González-Cañete, F.J. An Analytical Model to Estimate Path Duration in MANETs. In Proceedings of the 9th ACM International Symposium on Modeling Analysis and Simulation of Wireless and Mobile Systems, Terromolinos, Spain, 2–6 October 2006; pp. 183–186. [Google Scholar]
  30. Sakhaee, E.; Taleb, T.; Jamalipour, A.; Kato, N.; Nemoto, Y. A Novel Scheme to Reduce Control Overhead and Increase Link Duration in Highly Mobile Ad Hoc Networks. In Proceedings of the IEEE Wireless Communications and Networking Conference, Hong Kong, China, 11–15 March 2007; pp. 3972–3977. [Google Scholar]
  31. Bai, F.; Sadagopan, N.; Krishnamachari, B.; Helmy, A. Modeling Path Duration Distributions in MANETs and their Impact on Reactive Routing Protocols. IEEE J. Sel. Areas Commun. 2004, 22, 1357–1373. [Google Scholar] [CrossRef]
  32. Farheen, N.S.; Jain, A. Improved Routing in MANET with Optimized Multi Path Routing Fine Tuned with Hybrid Modeling. J. King Saud Univ.-Comput. Inf. Sci. 2020. [Google Scholar] [CrossRef]
  33. Pramanik, A.; Choudhury, B.; Choudhury, T.S.; Arif, W.; Mehedi, J. Simulative Study of Random Waypoint Mobility Model for Mobile Ad Hoc Networks. In Proceedings of the 2015 Global Conference on Communication Technologies (GCCT), IEEE, Thuckalay, India, 23–24 April 2015; pp. 112–116. [Google Scholar]
  34. Singh, K.; Singh, K. A Survey and Analysis of Mobility Models in Mobile Adhoc Network. Int. J. Adv. Electron. Comput. Sci. 2015, 2, 29–33. [Google Scholar]
  35. Oliveira, R.; Luís, M.; Furtado, A.; Bernardo, L.; Dinis, R.; Pinto, P. Improving Path Duration in High Mobility Vehicular Ad Hoc Networks. Ad Hoc Netw. 2013, 11, 89–103. [Google Scholar] [CrossRef] [Green Version]
  36. IB Math Resources from Intermathematics. 2021. Available online: https://ibmathsresources.com/2021/01/08/find-the-average-distance-between-2-points-on-a-square/ (accessed on 29 March 2022).
  37. Mathematics Stack Exchange. 2019. Available online: https://math.stackexchange.com/questions/1254129/average-distance-between-two-random-points-in-a-square (accessed on 29 March 2022).
Figure 1. Example of a routing mechanism of exchanging messages in the DSDV routing protocol.
Figure 1. Example of a routing mechanism of exchanging messages in the DSDV routing protocol.
Jsan 11 00023 g001
Figure 2. Relative velocity for which nodes A and B diverge.
Figure 2. Relative velocity for which nodes A and B diverge.
Jsan 11 00023 g002
Figure 3. Relative velocity represented using equation of a circle.
Figure 3. Relative velocity represented using equation of a circle.
Jsan 11 00023 g003
Figure 4. Cumulative function of the relative velocity—the ratio between the covered area and the area confined between v(min) and v(max).
Figure 4. Cumulative function of the relative velocity—the ratio between the covered area and the area confined between v(min) and v(max).
Jsan 11 00023 g004
Figure 5. Probability of the distance that neighbor node (B) is far from node (A), and the possible paths that can follow.
Figure 5. Probability of the distance that neighbor node (B) is far from node (A), and the possible paths that can follow.
Jsan 11 00023 g005
Figure 6. Average distance between any two nodes.
Figure 6. Average distance between any two nodes.
Jsan 11 00023 g006
Figure 7. Number of hops representing the expected distance between any two nodes.
Figure 7. Number of hops representing the expected distance between any two nodes.
Jsan 11 00023 g007
Figure 8. Path duration from node A to node F showing the least links’ durations between all paths.
Figure 8. Path duration from node A to node F showing the least links’ durations between all paths.
Jsan 11 00023 g008
Figure 9. The path duration vs. and the node velocity.
Figure 9. The path duration vs. and the node velocity.
Jsan 11 00023 g009
Figure 10. Utilization ratio of the path duration vs. the velocity of the node.
Figure 10. Utilization ratio of the path duration vs. the velocity of the node.
Jsan 11 00023 g010
Figure 11. DSDV path duration vs. number of hops.
Figure 11. DSDV path duration vs. number of hops.
Jsan 11 00023 g011
Figure 12. Relationship between the DSDV path duration and increasing the number of hops.
Figure 12. Relationship between the DSDV path duration and increasing the number of hops.
Jsan 11 00023 g012
Table 1. The settings of the two implemented scenarios of the mathematical model parameters.
Table 1. The settings of the two implemented scenarios of the mathematical model parameters.
ParameterScenario 1Scenario 2
Simulation area1 km × 1 km1 km × 1 km
Signal range (radius)250 m100, 110, 120, …
Nodes’ velocity5, 10, 15, …, 30 m/s10 m/s
Mobility modelRandom WaypointRandom Waypoint
Table 2. A summary table that shows the difference between both the calculated and simulation results.
Table 2. A summary table that shows the difference between both the calculated and simulation results.
51015202530
Velocity (m/s)Path Duration (Model)36.719.513.2108.16.8
Path Duration (NS3)3113.87.64.42.61.1
Difference5.75.75.65.65.55.7
22.62.833.23.5
Hop CountPath Duration (Model)403829.321.715.210.1
Path Duration (NS3)403525.316.692.3
Difference0345.16.27.8
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Salah, S.; Zaghal, R.; Abdeljawad, M. A Mathematical-Based Model for Estimating the Path Duration of the DSDV Routing Protocol in MANETs. J. Sens. Actuator Netw. 2022, 11, 23. https://doi.org/10.3390/jsan11020023

AMA Style

Salah S, Zaghal R, Abdeljawad M. A Mathematical-Based Model for Estimating the Path Duration of the DSDV Routing Protocol in MANETs. Journal of Sensor and Actuator Networks. 2022; 11(2):23. https://doi.org/10.3390/jsan11020023

Chicago/Turabian Style

Salah, Saeed, Raid Zaghal, and Mada Abdeljawad. 2022. "A Mathematical-Based Model for Estimating the Path Duration of the DSDV Routing Protocol in MANETs" Journal of Sensor and Actuator Networks 11, no. 2: 23. https://doi.org/10.3390/jsan11020023

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