Abstract
We propose a context-awareness routing algorithm—the DDV- (Dynamic Direction Vector-) hop algorithm—in mobile ad hoc networks. The existing algorithm in MANET has the limitations of the dynamic network topology and the absence of network expandability of the mobility of nodes. The proposed algorithm performs cluster formation for the base station using the range of direction and threshold of velocity. We calculate the exchange of the cluster head node probability using the direction and velocity for maintaining cluster formation. The DDV-hop algorithm, a probabilistic routing protocol for such networks, is proposed and then compared to the earlier presented algorithms through simulations. The simulations are conducted on a number of clusters, network areas, transmission ranges, and velocity of nodes in mobile networks. Our results suggest that the DDV-hop algorithm demonstrates efficiency of eventual delivery and maintains the proper number of clusters and cluster members regardless of topology changes with a lower communication overhead in several interesting environments.
1. Introduction
In recent years, with the development of wireless communication technologies and various sensor nodes which led to the emergence of the low-power and low-cost RF technology, wireless sensor networks have become the object of much scholarly attention. Wireless sensor networks consist of wireless devices based on various protocols to facilitate wireless transmission and a processing unit to process the data. Their main characteristics include the network expandability, self-recovery, and multicasting. Wireless sensor networks were originally designed to build a temporary network for emergencies, such as disasters, as well as for battlefield surveillance or other uses of the military. Later on, the applications of wireless sensor networks have become more versatile [1–3].
Mobile ad hoc network (MANET) consists of nodes that have mobility. The nodes both send and receive messages and can communicate with each other. Thus, the network builds its own network structure that is not dependent on infrastructure. Due to the characteristics of mobile ad hoc networks, MANET has been used in the environments of poor communication, such as those where infrastructure cannot be built, as in disaster areas or war zones [4, 5]. Cluster networks using properties of the node have been studied particularly extensively. A cluster network is divided into mobile groups by setting the rules of communication protocols. The mobile groups elect the cluster head node for managing groups. The cluster head node aggregates sensing data sent by a cluster member node and then sends the aggregated data to the base station [6]. However, if the cluster head node is discharged or does not move due to poor environmental conditions, the routing path is disconnected from the cluster head node. Therefore, the network cannot communicate in a stable fashion. In that case, the cluster network reelects the cluster head node to recover the routing path. However, dynamic properties of a node cause frequent disconnections and routing recovery. In addition, the nodes have constraints, such as limited transmission bandwidth and energy, as well as topology changes. To reduce the number of disconnections and in order to set the routing path, the network sends a control packet. Eventually, the load is increased [7–11].
In this paper, we propose a context-awareness routing algorithm: the DDV- (Dynamic Direction Vector-) hop algorithm. This algorithm considers dynamic properties of nodes, such as velocity, direction, to form clusters. In order to maintain clusters, the cluster head node finds cluster member nodes with similar velocity and direction.
The rest of the paper is organized as follows. Section 2 describes relevant research related to the proposed algorithm. Section 3 provides a detailed description of the DDV-hop algorithm. This analyses the algorithm using network models and optimization. The comparison of the performance of the DDV-hop algorithm with that of the Lowest-ID and the MOBIC algorithms is provided in Section 4. Finally, Section 5 shows the conclusions of the present paper.
2. Related Works
In MANET, Yan Zhang and Jim Mee Ng proposed the distributed group mobility adaptive (DGMA) clustering algorithm. In the DGMA, the node measures location information of the node by GPS and calculates the variation of the node location. Calculating variation of nodes is shown as
Similarly to the MANET environment, VANET (vehicular ad hoc network) has been reported to maintain routing by frequently changing topology. MDBC (Moving Direction Based Greedy Routing Algorithm) uses the direction property of several properties for routing. To set the direction of the node that has mobility, if the current coordinate X (X-position) is bigger than the former coordinate X, the direction of the node is east. If the current coordinate X is smaller than the former coordinate X, then the direction of the node is west. If the current coordinate Y (Y-position) is bigger than the former coordinate Y, the direction of the node is north. If the current coordinate Y is smaller than the former coordinate Y, the direction of the node is south. When the direction of the node is set, the node broadcasts hello message and stores the location and direction of the neighbor node in the table. To forward a packet to the destination node, the node uses DREQ (Destination REQuest) and DREP (Destination REPly) and finds a stable routing path [13].
Lili Hu proposed GPSR (Greedy Perimeter Stateless Routing) considering the direction and velocity of a node in VANET. In the GPSR algorithm, the node sends hello message that periodically includes velocity and direction, grasps current coordinates of neighbor nodes, and calculates the current coordinates using velocity and direction. The current coordinates of the node are shown in
The lowest ID cluster algorithm (LIC) is an initial clustering algorithm in MANET. This algorithm performs cluster formation using a unique ID of a node. To form a cluster, the network chooses the cluster head node with the minimum ID. The cluster head node chooses a cluster member node with the ID higher than its own. When a node is located within the transmission range of two or more cluster head nodes, the node, called a gateway node, is used for routing between clusters. However, since the node hears only the nodes with IDs higher than that of the cluster head node, the network consumes energy inefficiently and communication between the nodes is frequently disconnected [15].
The Mobility Based Metric for Clustering (MOBIC) algorithm proposes a local metric for cluster formation using speed properties in MANET. For cluster formation, network measures the speed of a node using its coordinates and the interval time by hello message. The network chooses the cluster head node that has a low speed variance. After the cluster head node is selected, it joins a node as a cluster member node in a 2-hop area. However, since the MOBIC algorithm elects the node with a low speed as the cluster head node, the network topology frequently changes and the communication between nodes is disconnected [16].
3. System Modeling and Methods
In this paper, we propose the DDV-hop algorithm which performs and maintains cluster formation taking into account mobility properties, such as direction and velocity. The existing clustering algorithm has the problem that the topology gets frequently changed by node mobility. Therefore, topology broadcasts change topology information, the network load increases, and there is a lack of the network expandability. According to the mobility of a node, the proposed algorithm forms clusters from the nodes with similar direction and velocity. Due to this method of cluster formation, the topology change of the network is reduced, packet delivery ratio increases, and the load of the network decreases. To form the initial cluster, the proposed algorithm sets a coverage as shown in
First, the network elects the initial cluster head node by coverage (see Figure 1).

Selection of the initial cluster head node by coverage.
In Figure 1, white circles mark cluster member nodes and black circles mark initial cluster head nodes. The black circle labelled “BS” refers to the base station and the broken-line circle means the coverage of the base station by the number of hop. The network builds the base station located in the center of network. When the number of hops is
3.1. The DDV-Hop Algorithm Scenario
With regard to performing cluster formation, the following two assumptions are made in the paper.
First, the base station is located in the center of the network.
Second, the network area is divided into four regions by the base station.
Based on these assumptions, the network initializes the network environment and the nodes randomly set the location in the network. Next, the direction of the nodes is randomly set by the base station. Furthermore, the node arbitrarily establishes its properties, such as velocity. The energy of the node is initialized.
In Figure 2, the cluster head node is elected by coverage and direction. In this paper, we assume that the number of hops is 1. Thus, the base station confirms all nodes in the network and elects the initial cluster head node in each region. Afterwards, the cluster head node searches for other nodes with similar properties. The nodes located on the boundary are included, based on their properties of direction and velocity, into the same region; furthermore, the nodes form a cluster in that region.

The procedure of the initial cluster formation.
When the cluster head node is elected, it sends an announcement message to the nodes nearby. A normal node receives the announcement message and selects the cluster head node that is closest to it and has the same direction and velocity. Then, the nodes send join message to select the cluster head node. The cluster head node receives that join message and registers those nodes as its cluster member nodes. At this point, cluster formation is completed. Now, the network has a routing structure that allows the cluster member nodes to send messages to the cluster head node and the latter node to send a message to the base station. As each node has mobility, the nodes get out of the cluster. In this case, the node is included into the region where it finally belongs. For example, when a node belongs to region A, but has moved to region B, the node performs cluster formation again using its direction and velocity. The cluster member node maintains its routing path.
According to the procedure of the cluster formation, the relationship of friendship with the cluster head node is as follows (see Figure 3).

The procedure of join the cluster head node by the attributes (velocity, direction, location, energy, and transmission range).
As shown in Figure 3, nodes X and Y are included into the transmission range of the cluster head nodes A and B. This is a simple example showing an efficient clustering method which selects the cluster head node. In the existing algorithm, a node selects the cluster head node that is closest to it, regardless of direction and velocity. However, in the DDV-hop algorithm, the node compares its own direction and velocity with those of the cluster head node and selects the cluster head node with similar direction and velocity. For example, node X is included by the cluster head nodes A and B. Node X compares the direction and velocity of its own with those of both cluster head nodes and then selects the cluster head node B, as this cluster head node has similar properties. Therefore, the load of the network is reduced and a stable topology is maintained with a lower communication overhead in mobile ad hoc networks [19].
3.2. Network Models and Analysis of the DDV-Hop Algorithm
In this paper, we propose the DDV-hop algorithm which performs and maintains cluster formation considering the properties of nodes such as direction and velocity. Specifically, the DDV-hop algorithm considers the following properties. A set of nodes defines N in the network; each node has a unique ID. Furthermore, each node has direction
As the DDV-hop algorithm performs and maintains cluster formation by the direction and velocity of nodes, the network can communicate for a long time. For the communication of the network, the proposed algorithm is divided into two major procedures, that of cluster formation and the other of exchanging the cluster head node (see Sections 3.2.1 and 3.2.2 for further detail).
3.2.1. The Procedure of Cluster Formation
According to one of the assumptions specified above, the base station is located in the center of the network area; the initial cluster is formed according to the following procedure.
Step 1.
For electing the initial cluster head node, the base station divides the network into four regions (see (6)):
In (9),
Step 2.
The method of measuring similarity of direction compares the differences in direction between the nodes (
Step 3.
The method of measuring similarity of the velocity between the nodes compares the differences of velocity between the nodes and sets a threshold of velocity using a deviation of velocity; the method is presented in (11) and (12) as follows:
Step 4.
The cluster head node selects cluster member nodes through measuring the similarity of direction and velocity in Steps 2 and 3; the method is presented in
3.2.2. The Procedure of Exchange of the Cluster Head Node
To reduce the network load, the exchange of the cluster head node is needed. After performing the cluster formation, the procedure of maintaining cluster is as follows. The cluster member nodes calculate successful probability by direction, velocity, and residual energy. The exchange of the cluster head follows the procedure specified below.
Step 1.
The cluster member nodes in the cluster calculate the exchange probability (
Step 2.
The probability of exchange by velocity and the direction is calculated using the similarity of direction and velocity and their threshold; the method is shown in
Step 3.
Using the calculated probabilities of exchange by Steps 1 and 2, the cluster member node calculates final probabilities using
Step 4.
The cluster head node elects the cluster member node that has the maximum probability of
3.3. The DDV-Hop Algorithm Modeling
In the DDV-hop algorithm, each node has a property table in the network (see Table 1).
Table of node's properties (example).
In Table 1, ID is the unique identification number of the node, Dir is the direction of the node, Velocity is the velocity of the node, and Region refers to the network area divided by the base station. When the nodes are assigned to the network, their properties are stored in the corresponding property tables. Using the information from these property tables, network performs cluster formation and changes the cluster head node.
3.3.1. Cluster Formation Modeling
According to one of the assumptions specified above, the base station is located in the center of the network area and the network is divided into regions by the base station. Then, the base station generates a region table to store cluster information (see Table 2).
Region table in the base station (example).
In Table 2,

The procedure of the selection of the cluster head node.
In Figure 4, the region table searches velocity and direction of the nodes and selects the cluster head node located in the coverage by the base station. The direction is included into the threshold of direction and the velocity is included in the threshold of velocity. Finally, the selected cluster head node is stored in the region table. The selected cluster head node generates a table to store the cluster member node (see Table 3).
Table of the cluster head node (example).
In Table 3, CMID refers to the cluster member node ID and

The procedure of cluster formation by the DDV-hop algorithm.
In Figure 5(a), the network area is divided into regions by the base station. Figure 5(b) shows the selection of the cluster head node by coverage of the base station, and the direction of the node is included by the base station. In Figure 5(c), the cluster head node selects cluster member nodes that are similar to it in terms of direction and velocity. Figure 5(d) shows the final result of cluster formation. Pseudocode 1 shows the pseudocode of cluster formation.
Procedure: initialize cluster formation of the DDV-hop algorithm Input Output Cluster head node group CH Cluster member node group of all cluster head node i CM Begin initialize CH initialize for for if ( if ( then CH[i] ← end end for for if (Region including CH[a] ≡ Region including if (0 ≤ ( end end output the cluster head node group CH output the cluster member node groups of all cluster head node i of cluster head node i end
As shown in Pseudocode 1,
3.3.2. Maintaining Cluster Formation Modeling
The cluster head node is exchanged to enhance the efficiency of energy consumption and to ensure continuous communication. For the exchange of the cluster head node, the cluster member nodes calculate the exchange probability and send the respective message to their cluster head node. When a cluster head node receives this message, it stores the exchange probability in the cluster head node table (see Table 4).
Storing the probability of exchange in the cluster head node table CH(
In the cluster head node table, the cluster head node compares the probabilities of exchange; furthermore, the cluster member node with the maximum probability of exchange becomes the next cluster head node. Then, for efficient energy consumption and continuous communication, the preceding cluster head node has “0” probability of exchange. The preceding cluster head node also sends the cluster information message making the cut point that permutates a cluster member node into the maximum

The procedure of updating cluster information.
The next permutation is that the cluster head node receives cluster information and sends message that the cluster head node is exchanged. When the base station receives the message making cut point. And the head node exchange

The procedure of updating the cluster head node in the region table.
As shown in Figure 7, the base station receives the message that there is a cluster head node exchange and changes the cluster head node information in the region table. The procedure of the exchange of the cluster head node is shown in Figure 8.

The procedure of the exchange of the cluster head node in the network.
Figure 8(a) shows the network before the exchange of the cluster head node. Figure 8(b) shows the procedure of the exchange of the cluster head node by the probability of exchange. Figure 8(c) shows the resulting network after the exchange. Pseudocode 2 shows the pseudocode of the exchange of the cluster head node.
Procedure: exchange of the cluster head node of the DDV-hop algorithm Input CH: Cluster head node group G: the number of cluster head node Gm: the number of cluster member node Output Change cluster head node group CH′ All change cluster member node group of cluster head node i Begin initialize CH′ nextCH ← 0 for for if (CH[a] ∋ calculate f( calculate f(DV(t)) of if ( nextCH ← end CH′[a] ← nextCH end for for if (Region including CH′[a] ≡ Region including
if (0 ≤ (
end end output cluster head node group CH′ output cluster member node group of all cluster head node i end
In Pseudocode 2,
4. Simulation and Results
In this paper, we demonstrate the efficient connection of the proposed algorithm. We compare the LIC algorithm that selects the cluster head node with the lowest ID algorithm and the MOBIC algorithm which selects the cluster head node with the slowest speed. The DDV-hop algorithm forms a cluster where the nodes are similar in their direction and velocity. Thus, we have a simulation by velocity, direction, energy, and transmission. Equation (19) shows the packet delivery ratio by velocity and direction:
The moving model of the node has adopted a random direction model that has set a new direction when the node is located around the network area. Furthermore, we assume that the base station is located in the center of the network and that the network area is divided into four regions by the base station. The simulation environments are shown in Table 5.
Simulation environments.
4.1. Number of Clusters
To confirm the packet delivery ratio, we have simulated by the number of clusters. The number of clusters depends on the direction and region. Therefore, we assume that the regions imply a division into quadrants and that the threshold of direction

The packet delivery ratio by the number of clusters and 1000 × 1000 m2.

The packet delivery ratio by the number of clusters and 1500 × 1500 m2.

The packet delivery ratio by the number of clusters and 2000 × 2000 m2.
The DDV-hop algorithm shows about 90% packet delivery ratio without a reference to the number of clusters when the network area is 1000 × 1000 m2 (see Figure 9). As shown in Figure 10, the DDV-hop algorithm yields about 78% packet delivery ratio without a reference to the number of clusters when the network area is 1500 × 1500 m2. As shown in Figure 11, the DDV-hop algorithm shows about 69% packet delivery ratio without a reference to the number of clusters when the network area is 2000 × 2000 m2. By contrast, the LIC algorithm generally shows 10% packet delivery ratio of the number of clusters and the MOBIC algorithm shows 20% packet delivery ratio. Therefore, the network area has increased and the packet delivery ratio of the DDV-hop algorithm has decreased and maintains a higher packet delivery ratio than those of other cluster algorithms. These simulation results suggest that the DDV-hop algorithm shows a more continuous connection as compared to other algorithms.
4.2. Network Area
In this section, we proceed to the test to see the packet delivery ratio according to the network area. The network area is increased from 1000 × 1000 m2 to 2000 × 2000 m2. The velocity of node is 1~16 m/s, transmission range is 450 m, and the number of clusters is 16 to 32 (see Figures 12–14).

The packet delivery ratio by the network area and number of clusters

The packet delivery ratio by the network area and the number of clusters

The packet delivery ratio by the network area and the number of clusters
As shown in Figure 12, despite the increase of the network area, the DDV-hop algorithm shows the packet delivery ratio that has decreased from 91% to 61% when the number of clusters is 16. Furthermore, as shown in Figure 13, the DDV-hop algorithm shows the packet delivery ratio that has decreased from 90% to 62% when the number of clusters is 24. Finally, the DDV-hop algorithm shows the packet delivery ratio that has decreased from 88% to 63% when the number of clusters is 32 (see Figure 14). The LIC algorithm shows the packet delivery ratio that has decreased from 18% to 6% when the network area is increased. The MOBIC algorithm also shows the packet delivery ratio that has decreased from 33% to 13% when the network area is increased. In these simulation results, the packet delivery ratio of the DDV-hop, the LIC, and the MOBIC algorithms is decreased when the network area is increased without a reference to the number of clusters. However, the DDV-hop algorithm shows the packet delivery ratio that is higher than that in the LIC and MOBIC algorithms.
4.3. Transmission Range
Furthermore, we simulated the packet delivery ratio by transmission range. In general, when transmission range increases, the cluster head node can join more cluster member nodes. Thus, we set transmission range from 400 m to 600 m. The network area was increased from 1000 × 1000 m2, 1500 × 1500 m2 and 2000 × 2000 m2, the number of clusters was set at 16, and the velocity was 1~16. The simulation results are shown in Figures 15–17.

The packet delivery ratio by transmission range and 1000 × 1000 m2.

The packet delivery ratio by transmission range and 1500 × 1500 m2.

The packet delivery ratio of transmission range and 2000 × 2000 m2.
As shown in Figure 15, when the transmission range is increased, the proposed algorithm shows the packet delivery ratio that has increased from 81% to 96% when the network area is 1000 × 1000 m2. Figure 16 illustrates that the DDV-hop algorithm shows the packet delivery ratio that has increased from 70% to 92% when the network area is 1500 × 1500 m2. In Figure 17, the DDV-hop algorithm shows the packet delivery ratio that has increased from 54% to 81% when the network area is 2000 × 2000 m2. According to the increase of transmission range, the LIC algorithm maintains the packet delivery ratio that is 2% to 20% without a reference to the network area. Furthermore, the MOBIC algorithm is shown in the packet delivery ratio that is 25% to 35% when the network area is 1000 × 1000 m2. However, the network area is increased and the packet delivery ratio of the MOBIC algorithm is decreased by 5%. These simulation results suggest that, according to the increased transmission range, the proposed algorithm offers a more continuous connection as compared to other algorithms.
4.4. Velocity of Nodes
Furthermore, we simulated the packet delivery ratio by velocity of a node. The max velocity of a node was set at 8 m/s to 24 m/s. The network area was increased from 1000 × 1000 m2, 1500 × 1500 m2 and 2000 × 2000 m2, the number of clusters was set at 16, and transmission was 450 m. Simulation results are shown in Figures 18–20.

The packet delivery ratio by max velocity and 1000 × 1000 m2.

The packet delivery ratio max velocity and 1500 × 1500 m2.

The packet delivery ratio by max velocity and 2000 × 2000 m2.
As shown in Figure 18, due to the increase the maximum velocity of a node, the cluster was broken frequently. So the packet delivery ratio of compared algorithm is lower than the proposed algorithm. The proposed algorithm maintains the packet delivery ratio higher than compared algorithm, because this algorithm performs the cluster by the velocity and the direction. In Figure 19, the DDV-hop algorithm shows the packet delivery ratio that has decreased from 79% to 74% when the network area is 1500 × 1500 m2. In Figure 20, the DDV-hop algorithm shows the packet delivery ratio that has decreased from 65% to 59% when the network area is 2000 × 2000 m2. The packet delivery ratio of the MOBIC algorithm has remained stable (from 30% to 33%) when the network area is 1000 × 1000 m2. The network area is increased and the packet delivery ratio of the MOBIC algorithm is decreased by 7%. The LIC algorithm maintains the packet delivery ratio of about 3% to 29% without a reference to the network area. These simulation results suggest that, according to the increased velocity and network area, the proposed algorithm offers a more continuous connection as compared to other algorithms.
5. Conclusions
MANET consists of nodes that have mobility properties such as direction and velocity. Due to the characteristics of a node, MANET frequently exchanges topology. Due to the exchange topology, MANET happens to experience overhead and energy consumption is inefficient. To solve these problems, this paper proposed the DDV-hop algorithm. The proposed algorithm is a cluster algorithm that uses direction and velocity as the components of cluster formation.
We proposed an algorithm for performing cluster formation where the base station establishes standards of direction and velocity. The cluster head node is determined by these standards. The cluster head node joins cluster members with similar velocity and direction. Afterwards, to maintain cluster formation, the cluster head node periodically exchanges. For the exchange of the cluster head node, a cluster member node calculates the exchange probability using the distance between the cluster head node and the cluster member node, direction, and velocity. Based on the calculated probability of cluster members, the cluster head node chooses the cluster member node with the maximum probability and updates cluster information. To prove the efficient connection of the proposed algorithm, we compared random cluster algorithms against the proposed algorithm. The simulation results suggest that the DDV-hop algorithm is higher than related cluster algorithms with regard to the packet delivery ratio. Thus, we can conclude that the proposed DDV-hop algorithm succeeded in its goal of maintaining communication with a lower communication overhead and overall shows a better performance than existing protocols.
Footnotes
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This research was supported by the Ministry of Science, ICT and Future Planning (MSIP) (2014H1C1A1066391), Republic of Korea, and partially supported by the Education and Research Promotion Program of KUT.
