# Greedy Intersection-Mode Routing Strategy Protocol for Vehicular Networks

Authors: Marwan Mahmoud; Mahmoud Ahmad Al-Khasawneh
Journal: Complexity
 (2020)

---

## Abstract

The advantages of vehicular ad hoc networks (VANETs) have been acknowledged, particularly during the last decade. Furthermore, VANET-related issues have been addressed by different researchers. Forwarding information professionally in a VANET is considered a challenging task precisely at the intersections where forwarding the information turns out to be extremely problematic. To elucidate this problem, many researchers have established routing protocols. The improved greedy perimeter stateless routing protocol (IGPSR) has been suggested, in the direction of employing greedy-mode proceeding traditional transportation's streets as well as to employ intersection-method at the joints. In view of greedy mode, the selection of the following stage is as in GPSR. By contrast, in the mode at an intersection, we would expect the vehicle guidelines to govern the following stage. The recreated consequences expose the algorithm, which is anticipated to undeniably demonstrate its competency.


---

## Body

## 1. Introduction

Currently, with the growth of network technologies, driving tasks have turned out to be more puzzling when using innovative knowledge to identify road conditions, making it more essential to generate data from vehicle transmissions. An ad hoc system is a type of wireless network system that can change data between cars and create a vehicular ad hoc network (VANET) [1–4]. Although various protocols have been recommended to organize transport networks between vehicles [4], a supplementary investigation is still needed to cultivate a competent routing protocol that can reduce or decrease the hop count in the spread of data and to dodge a wrong track under several circumstances such as at intersections. The confidentiality of VANET routing protocols can be classified as follows: first, geographical routing protocols [5–13] that appoint the benefits of GPS obtain the vehicle spots where a message should be forwarded to reach the endpoint. The second category is topology-based routing protocols [14–17], which differ from the first category of protocols that use link data occurring in the network to accomplish packet advancement. The last category is cluster-based routing protocols [18, 19] in which a set of nodes are used to formulate clusters, and each cluster head shows the furthermost significant part in the choice of how the message is forwarded.The proposed routing protocol can be classified under the first category of geographical routing protocols and proceeds with the benefits of GPS hence making messages to be forwarded at nodes.


## 2. Background and Related Studies

A general idea of a supplementary routing protocol is presented in this section. We briefly describe three GPSR algorithms, considering the greedy perimeter coordinator routing (GPCR) algorithm and GpsrJ+. The GPSR algorithm [5], which is considered a position-based routing algorithm, at a midway node forwards a container to a direct nearest place that is nearer to the target of the node. This is known as greedy forwarding. To deal with this issue, every single node must be alerted to its location when surrounded along with the location identified as the last stop node. This study considers the manner in which locations are acquired or collected independently from their opportunity. Our assumption states that every node can acquire its particular location by employing a GPS device, interchange the information among the nearest nodes through what is known as beacon messages, and gain a better spot of the objective or target node through another location service [20].From the arrangements of position-based routing, which are constructed using confined local facts, in addition to being attributable to noneven circulations of nodes or the presence of radio complications, it is conceivable to think that the packet extents a surrounding supreme through reverence toward the expanse near the target. It can be stated that a node cannot discover a prospective advancement, which is nearer to the target than to the node (Figure1). To guarantee outflow from this local maximum, there is a mode known as a recovery mode is castoff to frontward a packet to a node that is closer to the target than the node where the packet copes with the local maximum. The packet will be advanced backward with reverence to its space to the target until it extents a node whose distance to the target is nearer and then the resumption of greedy mode will be considered. Thus, the packet is regressively advanced towards its space to reach the node nearest the target, and the resumption of greedy mode will be assumed.Figure 1
GPSR with local maximum.Numerous recovery algorithms have been established, including GPSR, Face-1, Face-2 [21], and GOAFR+ [22]. GPSR achieves progress at the beginning of a local supreme by using the perimeter mode and applying the rule of right-hand (Figure 2). These rule conditions while placing node x at the start are applied in recovery mode, and the furthering hop is a serial node that is counterclockwise with the fundamental second edge molded through x and the target D. Subsequently, the hop is succeeded serially counterclockwise toward the other edge designed through y and the preceding situation of node x (see [23] for more details).Figure 2
Routing by the right-hand rule.Aimed at understandable details, the rule of the right-hand involves the total noncrossing edges. The GPSR recommends each relative neighborhood graph (RNG) [24] or a Gabriel graph (GG) [25] changing the planar chart of the system without any intersection edges, despite the fact that additional methods advocate the usage of crossing trees or curved hulls [26]. The preservation of the chart planar by every node requires substantial work. Although every node is a prerequisite to preserve the chart of the planar at all stages, the mentioned material can be castoff through nodes fronting the local smallest occurrence. Based on this observation, a planar diagram aimed at the mode of recovery is retained, which creates recovery modes that are fuller than stateless.Our approach happens to ease what is necessary for planarization by discerning than possibly excerpting a graph of the planar commencing an urban diagram on no further price. Furthermore, to carry out the rule of the right-hand rule matching, theθ1 angle is between the x-axis and the edge, and the state of the preceding node (also a reliant target and what if first or remains happening inside the greedy perimeter mode) in addition to the θ2 angle among the x-axis besides the edge molded through the existing node and its surroundings. It is decided on the lowest angle θ2 effective intersection node, with GPCR coming across a local maximum with conviction (in Figure 3, case 1). Furthermore, once a packet does not face an earnest intersection (in Figure 3, the target node is D2), steering to an intersection node is a nonproductive approach of an overpass and the intersection toward transporting the relay in extreme space could have been chosen (in Figure 3, case 2). Considering this, this will be great if the surveillance of a grave intersection can be completed by nodes in advance to the intersection. This is exactly what we recommend herein, and GpsrJ+ is considered [8].Figure 3
Routing with GPCR.It is considered that GpsrJ+ would be a location establishing the steering protocol that contains the two methods that until now were considered an exceptional arrangement of a greedy advancement. For example, impediments (e.g., buildings) prevent radio signals, and the packets can remain strongly promoted across the road sections in place of a nearby target. Consequently, the main maneuvering choices are prepared at the intersection. When a packet is extended to a local extreme, there is no node that moves quickly toward the target, where the node modifications occur according to the mode recovery of the GpsrJ+. Considering the recovery mode, packets are greedily backpedaled sideways the border of roads. It is not essential to back frontward in minor stages over and done with planarized links, leading because the wide-ranging direction of the right-hand method continuously outcomes in the reverse direction of where packets were going in advance of recovery, and following because the target is to the response as quick as imaginable to an intersection. Unlike with GPCR, where packets essentially to be directed to an intersection node meanwhile intersection nodes organize the next advancing track, GpsrJ +  lets nodes that have intersection nodes as their surroundings to calculate on which road segment and what is its intersection nodes, which would be frontward packets onto, and consequently, may be without harm crossing them if not needed. The expectation is founded using the fact that the furthering node recognizes all road's sections on which its intersection surroundings have neighbors. The road sections, on which neighbor nodes are, are pulled out from the urban plot by the neighbor’s location. To end with, nodes combine these statistics in the adjusted beacon and show it to the advancing node that transports out of the expectation.Bearing in mind that the consequential following stage is on a street section that bonds the same ofx or y coordinate matching the advancing node’s intersection, the advancing node will only go forward to the containers to such an afterward stage and possibly will keep one stage. Nevertheless, if the consequential stage is on a street section that is not a part of the similar coordinates of x and y that matches the advancing node’s surrounding intersection, the advancing node’s following stage essentially will certainly be its intersection neighbor. In conclusion, we can state that GpsrJ+ improves the GPCR by claiming fewer stages to the target, although protecting the identical route and a similar large transfer ratio as GPCR over GPSR.


## 3. Proposed Method

The proposed method aims to solve the forwarding problem at intersections.The following is the pseudocode for the proposed routing Algorithm1:Algorithm 1: IGPSR.
(1)
nS node creates pkt (nS, nD, nDLoc (x, y), and TTL),(2)
broadcast to neighbor nodes(3)
forwarding pkt by greedy mode(4)
if (nd = = n max) then(5)
ﬁnd intersection mode(6)
Else(7)
ﬁnd next mode to transfer(8)
end if(9)
find direction of travel node in intersection broadcast table(10)
forwarding pkt by intersection mode(11)
if (ni = = nd) then(12)
Send RRP (nS, nD, and Rbest) return(13)
else(14)
if (rd = = straight road) then(15)
forwarding pkt by greedy mode


### 3.1. System Model

The estimation algorithm is a better-quality algorithm constructed on a GPSR routing protocol and some associated augmentations of a GPSR, such as GPCR and GpsrJ+, through various conventions, as clarified in the following:(1)
This algorithm thinks using the ad hoc mode of VANET, where every single vehicle can forward packets in ad hoc mode, as an alternative to the method of its infrastructure.(2)
Because GPSR maintains a geographic position-based routing rule, it is estimated that every vehicle has a GPS to acquire its specific position. A vehicle lacking geographic information system (GIS) statistics is uniquely starved of supplementary numerical diagrams.(3)
Each automobile distinguishes its own private matches. The foundation automobile packets its own position based on the ideal communication and thus the adjacent automobiles forward packets toward the location allowing ideal messaging.(4)
During an ideal stationary intermission, at every single-automobile exchange, the statistics of the adjacent automobiles are brought up to date regarding the surrounding list table by the ideal messages. At this time, the adjacent automobiles determine the one-stage surroundings.(5)
Uniquely, although the GPSR procedure is inadequate for forwarding packets in greedy mode, automobiles forward packets through perimeter mode. Meanwhile, the application of the right-hand method of the perimeter mode capacity advances toward the circle, where the relative neighboring graph (RNG) and Gabriel's graph (GG) are ordinarily anticipated in the direction of eradicating the opportunity of the circle. By contrast, considering an urban situation, this type of obstacle hardly occurs as vehicles are divided by loops and roads are infrequently present. Consequently, we proceeded using this system in our algorithm to diminish the timing of the scheming and the development difficulty.(6)
It is expected that the signals will be prevented by obstacles or houses because problems result from the signal to be attenuated and reduce the quality of the communication.A schematic of a city area is specified in Figure4. The spotted loop indicates the collection of the transmission data of the automobile. Automobile S (source) in the lower left is the foundation node. Automobile C (coordinator) in the middle is the coordinator of the intersection node. Automobile D (destination) in the upper left is the target.Figure 4
City scenario.


### 3.2. Improved GPSR Protocol (IGPSR)

#### 3.2.1. Route Establishment

This method sends beacon messages through source node routes, which can be recognized and implemented. The source node (s) originally transmits the message to the nearby neighbor nodes by greedy or intersection mode at the exact point of the intersection. In standing routing approaches, if the node is in a local extreme attributable to an end and has difficulties in switching to perimeter mode, the node will transmit again using additional time and hop counts. Each packet has an incomplete TTL because routing the packets within the TTL is considered significant. If there are no existing nodes to the frontward packets through the target, the existing node that has packets will forward it to the selected node in the direction of the target. At this location, more time loss will occur.


#### 3.2.2. Route Discovery Process

This process deals with the existing routing protocol. The route detection method begins as soon as the source node drives packets to where the destination node is available. Primarily, the source generates a propagation message, and the header of the propagation messages contains the source, target node statement, and TTL added to the data packets. The source node will transmit the message to the neighbor node, and afterward, it analyzes this process, which is the direct route to subsequently scope the target packet, which will forward to the next node. It is assumed that there is a node intersection and that its meaning is forwarded by an additional mode.At this time, the projected technique has the benefit of the direction of a node in the neighbor’s transmission board; consequently, it diminishes the hop count. Propagation is castoff to catch the following road sections and nodes. Occasionally, it scopes a local extreme under the circumstance in which recovery mode will take place. The propagation may have overcrowding-associated difficulties because of the propagation of the packet to each neighbor node. This type of complication is diminished owing to the investigation and node routes. This is considered during every occasion where the propagation message is directed to the node, and the node will examine both the source and statement of the target and at that point the direct route subsequently to forward the packet is evaluated. It is important to know that if the TTL of the packets terminates in advance of reaching the target, it means that the coordinator node will repropagate the message again to the node (Algorithm2).Algorithm 2: Route discovery and route reply based on IGPSR.
(1)
nS node creates pkt (nS, nD, nDLoc (x, y), and IDs TTL)(2)
broadcast to neighbor nodes(3)
if (ni = = nD) then(4)
forwarding pkt to the shortest path of destination(5)
else(6)
broadcast message to the neighbor nodes(7)
end if(8)
if (RBP reaches nd) then(9)
send reply response to the source node(10)
else(11)
broadcast message to the neighbor to reach destination(12)
end if(13)
if (TTL Expires) then(14)
re-broadcast message to the neighbor to reach the destination(15)
Send RRP (nS, nD, loc (x, y) IDS TTL) Return(16)
save hop count(17)
forward RPT to source node(18)
else(19)
broadcast message(20)
end if(21)
evaluate the best route based on routing protocol(22)
else(23)
forward RBP to the neighbor node(24)
end if


#### 3.2.3. Route Reply

Assuming the time at which the target node acquires the propagated message, it directs the comeback response message to the starting point by generating a reply message. Every time the reply message goes through the intersection or neighbor node, after which the routing tables will remain repeatedly informed.Accordingly, we can acquire the next material in which the packets are guided by these nodes. It is known that the header of the reply message contains the statement of the source, the statement of the target, and the direct path.


#### 3.2.4. Route Maintenance

The description of all nodes has been given, and we will update their routing table repeatedly owing to the high speed of the carriers, which may be cut off as carriers of high-speed vehicles. Therefore, preserving the routing is vital, and it keeps information in the table influenced by the source and movement targets. The central entity is the route that will be filled in every stage on every occasion a neighbor node transfers further than a variety, and it sustains the progression.


#### 3.2.5. Greedy Mode

Positioning the greedy mode is based on routing in which the node in front of the packets is along the path sections to the neighbor node, which is close to the target node. It considered having many guiding intersections to forward the packets if it is a large network, and if any local extreme occurs, it switches to recovery mode.The anticipated routing protocol of the greedy intersection mode routing strategy (GIRS), which states that this mode is castoff to choose the subsequent hop, picks out the vehicle node near the target. By bearing in mind the situation of vehicles within the transmission range, the vehicle next to the target is indicated as the following hop. It will take on the succeeding hops, and correspondingly, such a parameter is inadequate. It also embraces the space between two vehicles and the route of a node established on these parameters, and the position of the vehicle the packet will advance to in the succeeding hop. For this determination, every node requires a respectable awareness of its neighbor nodes as well as the target node and its personal status. Based on this perception, we accept that every node will recognize its and other nodes through a GPS device and will replace the material by a propagation message.Bearing in mind the GPSR greedy mode, considering the nonuniform suppliers of the nodes, it is imaginable to grasp the local extreme at that stage, and it changes to perimeter mode when the packets are backtracked.


#### 3.2.6. Intersection Mode

Previously, we stated that each vehicle will adjudicate or anticipate whether it is the coordinator based on the propagated messages. As a result, at any time, the vehicle will propagate the signal, which acts as a coordinator. At that point, the vehicle node changes to the mode of the intersection to discover the route of the neighbor vehicle.Momentarily, considering the corresponding state in Figure5, the source car S fluctuates in intersection mode and discovers the route of the neighboring vehicles. At this point, under these circumstances, car J transports into the left side of the road as the source node will prevent the packet from going to the target vehicle. The home vehicle investigates whether the route of the neighboring vehicles is headed to its target or not. If the route is not headed toward its target node at that time, the source will not direct its packets to the vehicle, taking in its place the source that will send packets to various other neighbor nodes, as shown in Figure 5. At any time, the circumstances occurred similarly. The nodes will alternate into a predictive mode. This is the part that we used for the enhanced method, as in the remaining classification, which is excluded from this article. It aids in transporting the packets to its target while such a position occurs.Figure 5
GIRS.


#### 3.2.7. Recovery Mode

By using this mode to avoid vehicles that have trouble with local maximum, at whatever time the local maximum trouble formerly occurs, the nodes will alternate into the mode of recovery allowing the problem to be resolved. The recovery mode was previously explained, and its anticipated structure itself is briefly considered. Furthermore, it accomplishes the assignment where the GPSRJ+ recovery mode is carried out. In recovery mode, it attempts to diminish the redundant hop count and traveling node. The foremost progression is to forward the statistics to the target over and the intersection mode.


## 3.1. System Model

The estimation algorithm is a better-quality algorithm constructed on a GPSR routing protocol and some associated augmentations of a GPSR, such as GPCR and GpsrJ+, through various conventions, as clarified in the following:(1)
This algorithm thinks using the ad hoc mode of VANET, where every single vehicle can forward packets in ad hoc mode, as an alternative to the method of its infrastructure.(2)
Because GPSR maintains a geographic position-based routing rule, it is estimated that every vehicle has a GPS to acquire its specific position. A vehicle lacking geographic information system (GIS) statistics is uniquely starved of supplementary numerical diagrams.(3)
Each automobile distinguishes its own private matches. The foundation automobile packets its own position based on the ideal communication and thus the adjacent automobiles forward packets toward the location allowing ideal messaging.(4)
During an ideal stationary intermission, at every single-automobile exchange, the statistics of the adjacent automobiles are brought up to date regarding the surrounding list table by the ideal messages. At this time, the adjacent automobiles determine the one-stage surroundings.(5)
Uniquely, although the GPSR procedure is inadequate for forwarding packets in greedy mode, automobiles forward packets through perimeter mode. Meanwhile, the application of the right-hand method of the perimeter mode capacity advances toward the circle, where the relative neighboring graph (RNG) and Gabriel's graph (GG) are ordinarily anticipated in the direction of eradicating the opportunity of the circle. By contrast, considering an urban situation, this type of obstacle hardly occurs as vehicles are divided by loops and roads are infrequently present. Consequently, we proceeded using this system in our algorithm to diminish the timing of the scheming and the development difficulty.(6)
It is expected that the signals will be prevented by obstacles or houses because problems result from the signal to be attenuated and reduce the quality of the communication.A schematic of a city area is specified in Figure4. The spotted loop indicates the collection of the transmission data of the automobile. Automobile S (source) in the lower left is the foundation node. Automobile C (coordinator) in the middle is the coordinator of the intersection node. Automobile D (destination) in the upper left is the target.Figure 4
City scenario.


## 3.2. Improved GPSR Protocol (IGPSR)

### 3.2.1. Route Establishment

This method sends beacon messages through source node routes, which can be recognized and implemented. The source node (s) originally transmits the message to the nearby neighbor nodes by greedy or intersection mode at the exact point of the intersection. In standing routing approaches, if the node is in a local extreme attributable to an end and has difficulties in switching to perimeter mode, the node will transmit again using additional time and hop counts. Each packet has an incomplete TTL because routing the packets within the TTL is considered significant. If there are no existing nodes to the frontward packets through the target, the existing node that has packets will forward it to the selected node in the direction of the target. At this location, more time loss will occur.


### 3.2.2. Route Discovery Process

This process deals with the existing routing protocol. The route detection method begins as soon as the source node drives packets to where the destination node is available. Primarily, the source generates a propagation message, and the header of the propagation messages contains the source, target node statement, and TTL added to the data packets. The source node will transmit the message to the neighbor node, and afterward, it analyzes this process, which is the direct route to subsequently scope the target packet, which will forward to the next node. It is assumed that there is a node intersection and that its meaning is forwarded by an additional mode.At this time, the projected technique has the benefit of the direction of a node in the neighbor’s transmission board; consequently, it diminishes the hop count. Propagation is castoff to catch the following road sections and nodes. Occasionally, it scopes a local extreme under the circumstance in which recovery mode will take place. The propagation may have overcrowding-associated difficulties because of the propagation of the packet to each neighbor node. This type of complication is diminished owing to the investigation and node routes. This is considered during every occasion where the propagation message is directed to the node, and the node will examine both the source and statement of the target and at that point the direct route subsequently to forward the packet is evaluated. It is important to know that if the TTL of the packets terminates in advance of reaching the target, it means that the coordinator node will repropagate the message again to the node (Algorithm2).Algorithm 2: Route discovery and route reply based on IGPSR.
(1)
nS node creates pkt (nS, nD, nDLoc (x, y), and IDs TTL)(2)
broadcast to neighbor nodes(3)
if (ni = = nD) then(4)
forwarding pkt to the shortest path of destination(5)
else(6)
broadcast message to the neighbor nodes(7)
end if(8)
if (RBP reaches nd) then(9)
send reply response to the source node(10)
else(11)
broadcast message to the neighbor to reach destination(12)
end if(13)
if (TTL Expires) then(14)
re-broadcast message to the neighbor to reach the destination(15)
Send RRP (nS, nD, loc (x, y) IDS TTL) Return(16)
save hop count(17)
forward RPT to source node(18)
else(19)
broadcast message(20)
end if(21)
evaluate the best route based on routing protocol(22)
else(23)
forward RBP to the neighbor node(24)
end if


### 3.2.3. Route Reply

Assuming the time at which the target node acquires the propagated message, it directs the comeback response message to the starting point by generating a reply message. Every time the reply message goes through the intersection or neighbor node, after which the routing tables will remain repeatedly informed.Accordingly, we can acquire the next material in which the packets are guided by these nodes. It is known that the header of the reply message contains the statement of the source, the statement of the target, and the direct path.


### 3.2.4. Route Maintenance

The description of all nodes has been given, and we will update their routing table repeatedly owing to the high speed of the carriers, which may be cut off as carriers of high-speed vehicles. Therefore, preserving the routing is vital, and it keeps information in the table influenced by the source and movement targets. The central entity is the route that will be filled in every stage on every occasion a neighbor node transfers further than a variety, and it sustains the progression.


### 3.2.5. Greedy Mode

Positioning the greedy mode is based on routing in which the node in front of the packets is along the path sections to the neighbor node, which is close to the target node. It considered having many guiding intersections to forward the packets if it is a large network, and if any local extreme occurs, it switches to recovery mode.The anticipated routing protocol of the greedy intersection mode routing strategy (GIRS), which states that this mode is castoff to choose the subsequent hop, picks out the vehicle node near the target. By bearing in mind the situation of vehicles within the transmission range, the vehicle next to the target is indicated as the following hop. It will take on the succeeding hops, and correspondingly, such a parameter is inadequate. It also embraces the space between two vehicles and the route of a node established on these parameters, and the position of the vehicle the packet will advance to in the succeeding hop. For this determination, every node requires a respectable awareness of its neighbor nodes as well as the target node and its personal status. Based on this perception, we accept that every node will recognize its and other nodes through a GPS device and will replace the material by a propagation message.Bearing in mind the GPSR greedy mode, considering the nonuniform suppliers of the nodes, it is imaginable to grasp the local extreme at that stage, and it changes to perimeter mode when the packets are backtracked.


### 3.2.6. Intersection Mode

Previously, we stated that each vehicle will adjudicate or anticipate whether it is the coordinator based on the propagated messages. As a result, at any time, the vehicle will propagate the signal, which acts as a coordinator. At that point, the vehicle node changes to the mode of the intersection to discover the route of the neighbor vehicle.Momentarily, considering the corresponding state in Figure5, the source car S fluctuates in intersection mode and discovers the route of the neighboring vehicles. At this point, under these circumstances, car J transports into the left side of the road as the source node will prevent the packet from going to the target vehicle. The home vehicle investigates whether the route of the neighboring vehicles is headed to its target or not. If the route is not headed toward its target node at that time, the source will not direct its packets to the vehicle, taking in its place the source that will send packets to various other neighbor nodes, as shown in Figure 5. At any time, the circumstances occurred similarly. The nodes will alternate into a predictive mode. This is the part that we used for the enhanced method, as in the remaining classification, which is excluded from this article. It aids in transporting the packets to its target while such a position occurs.Figure 5
GIRS.


### 3.2.7. Recovery Mode

By using this mode to avoid vehicles that have trouble with local maximum, at whatever time the local maximum trouble formerly occurs, the nodes will alternate into the mode of recovery allowing the problem to be resolved. The recovery mode was previously explained, and its anticipated structure itself is briefly considered. Furthermore, it accomplishes the assignment where the GPSRJ+ recovery mode is carried out. In recovery mode, it attempts to diminish the redundant hop count and traveling node. The foremost progression is to forward the statistics to the target over and the intersection mode.


## 3.2.1. Route Establishment

This method sends beacon messages through source node routes, which can be recognized and implemented. The source node (s) originally transmits the message to the nearby neighbor nodes by greedy or intersection mode at the exact point of the intersection. In standing routing approaches, if the node is in a local extreme attributable to an end and has difficulties in switching to perimeter mode, the node will transmit again using additional time and hop counts. Each packet has an incomplete TTL because routing the packets within the TTL is considered significant. If there are no existing nodes to the frontward packets through the target, the existing node that has packets will forward it to the selected node in the direction of the target. At this location, more time loss will occur.


## 3.2.2. Route Discovery Process

This process deals with the existing routing protocol. The route detection method begins as soon as the source node drives packets to where the destination node is available. Primarily, the source generates a propagation message, and the header of the propagation messages contains the source, target node statement, and TTL added to the data packets. The source node will transmit the message to the neighbor node, and afterward, it analyzes this process, which is the direct route to subsequently scope the target packet, which will forward to the next node. It is assumed that there is a node intersection and that its meaning is forwarded by an additional mode.At this time, the projected technique has the benefit of the direction of a node in the neighbor’s transmission board; consequently, it diminishes the hop count. Propagation is castoff to catch the following road sections and nodes. Occasionally, it scopes a local extreme under the circumstance in which recovery mode will take place. The propagation may have overcrowding-associated difficulties because of the propagation of the packet to each neighbor node. This type of complication is diminished owing to the investigation and node routes. This is considered during every occasion where the propagation message is directed to the node, and the node will examine both the source and statement of the target and at that point the direct route subsequently to forward the packet is evaluated. It is important to know that if the TTL of the packets terminates in advance of reaching the target, it means that the coordinator node will repropagate the message again to the node (Algorithm2).Algorithm 2: Route discovery and route reply based on IGPSR.
(1)
nS node creates pkt (nS, nD, nDLoc (x, y), and IDs TTL)(2)
broadcast to neighbor nodes(3)
if (ni = = nD) then(4)
forwarding pkt to the shortest path of destination(5)
else(6)
broadcast message to the neighbor nodes(7)
end if(8)
if (RBP reaches nd) then(9)
send reply response to the source node(10)
else(11)
broadcast message to the neighbor to reach destination(12)
end if(13)
if (TTL Expires) then(14)
re-broadcast message to the neighbor to reach the destination(15)
Send RRP (nS, nD, loc (x, y) IDS TTL) Return(16)
save hop count(17)
forward RPT to source node(18)
else(19)
broadcast message(20)
end if(21)
evaluate the best route based on routing protocol(22)
else(23)
forward RBP to the neighbor node(24)
end if


## 3.2.3. Route Reply

Assuming the time at which the target node acquires the propagated message, it directs the comeback response message to the starting point by generating a reply message. Every time the reply message goes through the intersection or neighbor node, after which the routing tables will remain repeatedly informed.Accordingly, we can acquire the next material in which the packets are guided by these nodes. It is known that the header of the reply message contains the statement of the source, the statement of the target, and the direct path.


## 3.2.4. Route Maintenance

The description of all nodes has been given, and we will update their routing table repeatedly owing to the high speed of the carriers, which may be cut off as carriers of high-speed vehicles. Therefore, preserving the routing is vital, and it keeps information in the table influenced by the source and movement targets. The central entity is the route that will be filled in every stage on every occasion a neighbor node transfers further than a variety, and it sustains the progression.


## 3.2.5. Greedy Mode

Positioning the greedy mode is based on routing in which the node in front of the packets is along the path sections to the neighbor node, which is close to the target node. It considered having many guiding intersections to forward the packets if it is a large network, and if any local extreme occurs, it switches to recovery mode.The anticipated routing protocol of the greedy intersection mode routing strategy (GIRS), which states that this mode is castoff to choose the subsequent hop, picks out the vehicle node near the target. By bearing in mind the situation of vehicles within the transmission range, the vehicle next to the target is indicated as the following hop. It will take on the succeeding hops, and correspondingly, such a parameter is inadequate. It also embraces the space between two vehicles and the route of a node established on these parameters, and the position of the vehicle the packet will advance to in the succeeding hop. For this determination, every node requires a respectable awareness of its neighbor nodes as well as the target node and its personal status. Based on this perception, we accept that every node will recognize its and other nodes through a GPS device and will replace the material by a propagation message.Bearing in mind the GPSR greedy mode, considering the nonuniform suppliers of the nodes, it is imaginable to grasp the local extreme at that stage, and it changes to perimeter mode when the packets are backtracked.


## 3.2.6. Intersection Mode

Previously, we stated that each vehicle will adjudicate or anticipate whether it is the coordinator based on the propagated messages. As a result, at any time, the vehicle will propagate the signal, which acts as a coordinator. At that point, the vehicle node changes to the mode of the intersection to discover the route of the neighbor vehicle.Momentarily, considering the corresponding state in Figure5, the source car S fluctuates in intersection mode and discovers the route of the neighboring vehicles. At this point, under these circumstances, car J transports into the left side of the road as the source node will prevent the packet from going to the target vehicle. The home vehicle investigates whether the route of the neighboring vehicles is headed to its target or not. If the route is not headed toward its target node at that time, the source will not direct its packets to the vehicle, taking in its place the source that will send packets to various other neighbor nodes, as shown in Figure 5. At any time, the circumstances occurred similarly. The nodes will alternate into a predictive mode. This is the part that we used for the enhanced method, as in the remaining classification, which is excluded from this article. It aids in transporting the packets to its target while such a position occurs.Figure 5
GIRS.


## 3.2.7. Recovery Mode

By using this mode to avoid vehicles that have trouble with local maximum, at whatever time the local maximum trouble formerly occurs, the nodes will alternate into the mode of recovery allowing the problem to be resolved. The recovery mode was previously explained, and its anticipated structure itself is briefly considered. Furthermore, it accomplishes the assignment where the GPSRJ+ recovery mode is carried out. In recovery mode, it attempts to diminish the redundant hop count and traveling node. The foremost progression is to forward the statistics to the target over and the intersection mode.


## 4. Performance Evaluation

The imitation situation is the Manhattan grid, as shown in Figure6, which is a part of various connections and is in the size of 500 m × 500 m. VanetMobiSim is a castoff used to produce suggestion files for NS-2. This suggestion file is castoff with a changed vehicle node configuration, and the output is transformed into input files for the program of the nodes in an NS-2 simulator.Figure 6
Manhattan grid.Considering the wireless configuration setup, the circulated coordination function is supplementary with IEEE 802.11 and participates in the MAC layer. The research is shown for numerous vehicle node actions with an unlikely node density. Approximately, 75 vehicles are handed down for condensed systems and 50 vehicles for medium networks are used. In conclusion, sparse networks use 25 vehicles. The parameters and their assessment used for recreation are listed in Table1.Table 1
Parameters.
ParametersValueSimulation dimensions700 m × 760  mSimulation area526060.5 mNumber of vehicles25-50-75-100Number of CBR sources1–12CBR rate0.5 6 pkts/sCBR packet size1024bytesTransmission range200 mSimulation time250 sMAC protocol802.11 with DCFObstaclesWithoutData packet size550 bytes approx.Figure7 shows the alteration among the three routing overhead procedures. The x-axis in the figure indicates the number of vehicles or carriers. Here, we adopt a single vehicle to simulate the consequences. This clarifies that, when the number of vehicles is amplified, the overhead values of the offered method decrease. Routing upward in the intelligence of packets is recurrently drifted with an erroneous retransmission. Practically, 50% of the routing overhead is reduced in the anticipated routing process GIRS equated with the other routing protocols (GPSR, GPCR, and GPSRJ+).Figure 7
Routing overhead.Consequently, the commencement of this packet supply ratio is augmented, and Figure8 elucidates the research conducted for numerous packets and recurrent simulations. At this time, we use the x-axis as the number of vehicles to determine the consequences. This clarifies that, when the number of vehicles is amplified, the packet delivery ratio will be clearly amplified. It undoubtedly positions the delivery of the packets and is nearly 30% finer than GPSRJ+, 50% finer than GPCR, and 85% finer than GPSR. The anticipated algorithm was more beneficial than GpsrJ+.Figure 8
Packet delivery ratio.Figure9 clarifies the research outcome for the quantity as compared with GPSR, GPCR, and GpsrJ+. For all recreations, we spent the exact x-axis, and every time the vehicle density grew, the quantity will rose, and we will have the amount of carriers to forward the data. This also gives the outcome of the suggested algorithm with increased quantity, and thus the suggested algorithm is effective in real time. An exploration of the result shows that the quantity has improved by above 80% compared to GPSR and 30% higher than GPSRJ+, and 40% of the quantity was amplified when equated to GPCR. The quantity of unlike vehicle nodes is highly amplified because we use a direction-finding strategy.Figure 9
Throughput.Figure10 clarifies the research results for end-to-end delay as with GPSR, GPCR, and GpsrJ+. A delay in the intelligence with the time taken to transport the packets is because of troubles or reduced vehicles. Compared to the GPR delay of packets, it has been reduced by nearly 60%, and when equated to the GPCR delay time, it decreased by 10%. This contrast outcome indicates that the delay of data packets is reduced in the anticipated technique, and thus statistical packets have been transported effectively and professionally.Figure 10
End-to-end delay.


## 5. Conclusions

Our approach here is to progress toward not only GPSR but also the geographic position-based routing protocol. However, similarly, the algorithm can be adjusted to outfit the urban situations in VANET. The replication outcome exposes the fact that the consumption of the direction is to control the following stage and moves to the predictive mode exactly at the connections. To certainly progress toward the routine, this is a suggested algorithm and raises the packet delivery ratio. In relation to the strong steering, the stability of the proposed algorithm is noticeably enhanced compared to that of GPSR, GPCR, and Gpsrj+. The future objective is toward challenging the flexibility of the proposed algorithm to dissimilar situations and attempt to apply the protocol of the geographical position-based steering that outfits the change in consequences. In accumulation, we challenge the difficulties in answering the confined supreme trouble and adjusting the recovery strategy.



---

*Source: 4870162-2020-12-12.xml*