Directional Greedy Geographic Routing Method for Smart Antennas
By introducing the DGPSR protocol with periodic omnidirectional Hello strategy, directional greedy forwarding mechanism and directional hole processing mechanism into MANET, it solves the problem that traditional GPSR cannot be applied to MANET with smart antennas, achieves efficient and reliable information transmission, and improves the efficiency of MANET. Network throughput and performance.
Patent Information
- Application Number
- CN202210445080.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-26
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-26
AI Technical Summary
The traditional GPSR protocol cannot be applied to MANETs built with smart antennas, cannot meet the application requirements of smart antennas in MANETs, and lacks a suitable directional greedy geographical routing protocol.
Design a directional greedy geographical routing method DGPSR for smart antennas. It adopts the periodic omnidirectional Hello strategy, directional greedy forwarding mechanism and directional hole processing mechanism. Through the directional greedy forwarding mechanism, the nearest next-hop node is selected, and when encountering When routing holes occur, switch to the directional hole processing mechanism to ensure the reliability and efficiency of information transmission.
The DGPSR protocol can effectively adapt to the performance advantages of smart antennas, meet the real-time and reliability requirements of information transmission, have low control overhead, high throughput, and short transmission paths, significantly improving network performance.
Smart Images

Figure CN114786232B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of communications and relates to a directional greedy geographic routing method for smart antennas. Background Art
[0002] Mobile Ad Hoc Network (MANET) is a distributed dynamic network composed of mobile terminal devices connected through wireless communication links. It has many advantages, such as flexible networking, no need for network infrastructure, convenient node access and exit, strong anti-destruction, etc. In recent years, it has been widely used in various military and civilian fields. Smart antennas are a type of antenna that transmits adjustable directional narrow beams through antenna technologies such as phased arrays. It has the advantages of large system capacity, good communication link quality, long communication distance, strong anti-interference ability, low energy consumption, and long system life. It has broad application prospects in MANET.
[0003] Routing protocol is a key technology of MANET. It mainly solves the problem of information transmission path selection in the network and is an important mechanism to determine performance indicators such as network throughput and information transmission delay. Among many MANET routing protocols, Greedy Perimeter Stateless Routing (GPSR) is currently the most widely used geographic routing protocol. This protocol uses a periodic Hello message sending mechanism to enable each node to maintain a neighbor node table. When a node needs to send or forward a packet, it selects the next hop node based on the neighbor node table. With the support of the neighbor node table, this protocol adopts two information forwarding methods: Greedy Forwarding and Perimeter Forwarding, and completely relies on the node geographic location information to build the packet transmission path.
[0004] However, the traditional GPSR protocol can only be applied to MANETs constructed by omnidirectional antennas. In order to meet the application of smart antennas in MANET, a reliable and efficient directional greedy geographic routing protocol must be adopted. Therefore, it is very necessary to design a directional greedy geographic routing protocol for MANET that is suitable for smart antenna applications and has excellent performance. Summary of the invention
[0005] The purpose of the present invention is to provide a directional greedy geographic routing method (DirectionalGreedy Perimeter Stateless Routing, DGPSR) for smart antennas to solve the problem that the traditional GPSR protocol cannot be applied to MANET constructed by smart antennas.
[0006] The technical solution adopted by the present invention is a directional greedy geographic routing method for smart antennas, which is specifically implemented according to the following steps:
[0007] Step 1: Each node in the network determines whether it is in working state or idle state according to whether it receives a packet from the upper layer;
[0008] Step 2: If the node does not receive any packet from the upper layer, it is an idle node and executes the periodic omnidirectional Hello strategy;
[0009] Step 3: After the periodic omnidirectional Hello strategy is executed, execute step 1;
[0010] Step 4: If the node receives a packet from the upper layer, it updates the node status to a working node, and determines whether there is a next-hop node that meets the conditions according to the geographical location information of the destination node and the directional greedy forwarding strategy;
[0011] Step 5: If yes, select the neighbor node closest to the destination node as the next hop node according to the information in the neighbor node table, and point the antenna beam to the next hop node to send the packet in a direction; if no, reselect the next hop node according to the directional hole processing mechanism, point the antenna beam to the next hop node, and send the packet in a direction;
[0012] Step 6: After receiving the packet, the next hop node determines whether the packet has reached the destination node. If so, the packet transmission is completed and the process of step 1 is executed; if not, the process of step 4 is executed.
[0013] The present invention is also characterized in that:
[0014] The periodic omnidirectional Hello strategy in step 2 is implemented as follows:
[0015] Step 2.1, the idle node periodically sends Hello messages to all neighbor nodes, and updates and maintains the neighbor node table according to the received Hello messages;
[0016] Step 2.2: If a node does not receive a Hello message sent by a neighbor node within two Hello message cycles, it deletes the neighbor node from its own neighbor node table.
[0017] The Hello message in step 2.1 specifically includes information such as the node's ID number, IP address, and current geographic location.
[0018] Step 4 is implemented according to the following steps:
[0019] Step 4.1, the current node determines whether there is a neighbor node closer to the destination node than the current node in the neighbor node table according to the geographical location of the destination node;
[0020] Step 4.2: Output the judgment result.
[0021] The directional hole processing mechanism in step 5 is implemented in the following steps:
[0022] Step 5.1, planarize the current network;
[0023] Step 5.2: Let the current node search for a route to the destination node along the hole boundary;
[0024] Step 5.3: Re-determine the new next hop node according to the route determined by the current node.
[0025] The beneficial effects of the present invention are:
[0026] The proposed DGPSR protocol can adapt to the application of smart antennas in MANET and effectively give play to the performance advantages of smart antennas; the DGPSR protocol can meet the real-time and reliability requirements of information transmission; as a MANET routing protocol based on smart antennas, the present invention is composed of an omnidirectional Hello strategy, a neighbor node table construction and maintenance mechanism, a directional greedy forwarding mechanism, a directional hole processing mechanism, etc., and has the advantages of low control overhead, high throughput, short transmission path, etc. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a work flow chart of a directional greedy geographic routing method for smart antennas of the present invention;
[0028] Figure 2 It is a schematic diagram of a network scenario of a directional greedy forwarding mechanism in a directional greedy geographic routing method for smart antennas of the present invention;
[0029] Figure 3 It is a schematic diagram of a network scenario of a directional hole processing mechanism in a directional greedy geographic routing method for smart antennas of the present invention;
[0030] Figure 4 It is a schematic diagram of a directional multi-hop transmission scenario of MANET information based on smart antennas in a directional greedy geographic routing method for smart antennas of the present invention;
[0031] Figure 5 It is a schematic diagram of the performance advantage of a directional routing protocol in a directional greedy geographic routing method for smart antennas of the present invention;
[0032] Figure 6It is a schematic diagram of the core composition mechanism of a directional greedy geographic routing method for smart antennas of the present invention;
[0033] Figure 7 It is a schematic diagram of the overall framework of a directional greedy geographic routing method for smart antennas of the present invention. DETAILED DESCRIPTION
[0034] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0035] The present invention provides a directional greedy geographic routing method for smart antennas, such as Figure 1 As shown, the specific implementation steps are as follows:
[0036] Step 1: Each node in the network determines whether it is in working state or idle state according to whether it receives a packet from the upper layer;
[0037] Step 2: If the node does not receive any packet from the upper layer, it is an idle node and executes the periodic omnidirectional Hello strategy;
[0038] Step 2.1, the idle node periodically sends Hello messages to all neighbor nodes, and updates and maintains the neighbor node table according to the received Hello messages;
[0039] Step 2.2: If a node does not receive a Hello message sent by a neighbor node within two Hello message cycles, it deletes the neighbor node from its own neighbor node table.
[0040] Step 3: After the periodic omnidirectional Hello strategy is executed, execute step 1;
[0041] Step 4: If the node receives a packet from the upper layer, it updates the node status to a working node, and determines whether there is a next-hop node that meets the conditions according to the geographical location information of the destination node and the directional greedy forwarding strategy;
[0042] Step 4.1, the current node determines whether there is a neighbor node closer to the destination node than the current node in the neighbor node table according to the geographical location of the destination node;
[0043] Step 4.2, output the judgment result;
[0044] Step 5: If there is a next-hop node that meets the conditions, the neighbor node closest to the destination node is selected as the next-hop node according to the information in the neighbor node table, and the antenna beam is directed to the next-hop node to send the packet in a direction; if there is no next-hop node that meets the conditions, the next-hop node is reselected according to the directional hole processing mechanism, the antenna beam is directed to the next-hop node, and the packet is sent in a direction;
[0045] Step 5.1, planarize the current network;
[0046] Step 5.2: Let the current node search for a route to the destination node along the hole boundary;
[0047] Step 5.3: Re-determine the new next hop node according to the route determined by the current node.
[0048] Step 6: After receiving the packet, the next hop node determines whether the packet has reached the destination node. If yes, the packet transmission is completed and the process of step 1 is executed; if not, the process of step 4 is executed.
[0049] In a directional greedy geographic routing method for smart antennas of the present invention:
[0050] The effects of steps 1-3 are:
[0051] The principle of adopting the periodic Hello omnidirectional strategy is that each node in the network periodically sends Hello messages omnidirectionally. After receiving the Hello message, each neighboring node stores the real-time location of the sending node and other information, thereby establishing a neighbor node table. The Hello message contains information such as the node's ID number, IP address, and current geographical location. The node's location information is represented by a pair of 4-byte floating-point numbers, representing the x and y coordinate values of the node respectively. For a certain node, it may have multiple neighboring nodes, and conflicts may occur when receiving Hello messages sent by these neighboring nodes. In order to avoid this problem, DGPSR adopts a strategy of randomly selecting the Hello message transmission interval. Under this strategy, the time interval between two consecutive Hello messages sent by a node is uniformly distributed in the interval [0.5B, 1.5B], where B is the average sending time interval of the Hello message. The Hello message transmission interval strategy can reduce the probability of conflicts between multiple neighboring nodes sending Hello messages.
[0052] The periodic omnidirectional Hello strategy has the following advantages: each node continuously updates and maintains its neighbor node table based on the received Hello messages. When a node needs to send or forward information, it selects the next hop node based on its neighbor node table and controls the antenna beam direction. This strategy can effectively meet the application of smart antennas in mobile scenarios.
[0053] The purpose of step 4 is to:
[0054] The directional greedy forwarding mechanism is adopted, and its principle is as follows: The network scenario of the directional greedy forwarding mechanism is as follows Figure 2As shown in Figure 1, when the source node S needs to send a packet to the destination node D, it first selects a node from its own omnidirectional neighbor nodes that is closest to the destination node D and closer to the destination node than itself ( Figure 2 Node F in the packet is used as the next hop node, and then the packet is directed to node F. This process is repeated until the packet is transmitted to the destination node D.
[0055] The advantages of using the directional greedy forwarding mechanism are: through the metric criteria of the directional greedy forwarding mechanism, the selected next hop node is the best, and its goal is to minimize the number of hops on the path. The node only forwards packets based on the location information of the neighboring nodes. Since the number of neighboring nodes of a single node is much less than the number of nodes in the entire network, the node status information that needs to be maintained in the neighbor node table of the node is very limited. In addition, since there is only one next hop node, it effectively avoids the flooding of packets in the network.
[0056] The purpose of step 5 is:
[0057] The directional hole processing mechanism is adopted, and its principle is as follows: The network scenario of the directional hole processing mechanism is as follows Figure 3 As shown in the figure, source node S sends a packet to destination node D. The greedy forwarding mechanism is used in the first two hops, and the packet is transmitted to node V through node A. Since the distances of all neighbor nodes of node V to destination node D are farther than the distance of node V itself to destination node D, node V cannot find a next hop node that meets the conditions according to the greedy forwarding mechanism, so the packet cannot be transmitted to destination node D. This is the routing hole problem. Figure 3 In the area surrounded by nodes V, F1, ..., F4, D, E8, ..., E1, no neighbor node closer to node D can be found. This area is called the hole area of node V. At this time, the DGPSR protocol needs to switch the packet forwarding mechanism from the directional greedy forwarding mechanism to the directional hole processing mechanism. According to the directional hole processing mechanism, the next hop node is selected. Node V will search for a route to node D along the hole boundary, that is, V→F1→F2→F3→F4→D. Therefore, Figure 3 The information transmission path between the source node S and the destination node D is S→A→V→F1→F2→F3→F4→D.
[0058] The main function of the directional hole processing mechanism is to solve the problem that the node cannot find the next hop node that meets the conditions based on the directional greedy forwarding mechanism.
[0059] from Figure 4-5 It can be seen that:
[0060] Information directional multi-hop transmission scenarios in MANET based on smart antennas, such as Figure 4As shown in the figure, when the source node S needs to send information to the destination node D, it selects the information transmission path according to a certain directional routing protocol, points the antenna beam to the next hop node when sending information, and transmits the information to the destination node D through the forwarding of nodes F1, F2, and F3 in turn.
[0061] The performance advantages of directional routing protocols, such as Figure 5 As shown in the figure, source node S1 needs to send information to destination node D1, and source node S2 needs to send information to destination node D2. According to a certain routing protocol, the information transmission path used by S1 is S1→N1→N2→D1, and the information transmission path used by S2 is S2→N5→N6→D2. When each node uses an omnidirectional antenna, since N1 and N5 are both within the communication coverage of S1 and S2, the information transmission of S1→N1 and S2→N5 cannot be carried out at the same time, otherwise it will interfere with the information received by N1 and N5. Therefore, only after the information transmission on one path is completed, the other path can transmit information, or another uninterfered path can be selected to transmit information. When each node uses a directional antenna, since the narrow beam of the antenna of the sending node can point to the receiving node to send information, thereby avoiding interference with other nodes, then the information transmission on the path S1→N1→N2→D1 and the path S2→N5→N6→D2 can be carried out simultaneously without interfering with each other. Therefore, the use of smart antennas and a reasonable and efficient directional routing protocol can significantly improve network throughput, reduce information transmission delay, and optimize network performance.
[0062] from Figure 6-7 It can be seen that:
[0063] Among the greedy geographic routing protocols, GPSR protocol is currently the most widely used protocol. In the GPSR protocol, each node obtains the location information of all its neighbor nodes through the periodic Hello strategy. When a node wants to send or forward a data packet, it can directly query the location information of its neighbor nodes. The GPSR protocol has two information sending modes: greedy forwarding and boundary forwarding. Usually, the greedy forwarding mode is used, and when the routing hole problem occurs, the boundary forwarding mode is used. However, the traditional GPSR protocol can only be applied to MANET constructed by omnidirectional antennas, and cannot meet the application requirements of MANET constructed by smart antennas.
[0064] The core component mechanism of a directional greedy geographic routing method for smart antennas, such as Figure 6As shown in the figure, the DGPSR protocol is an improvement on the traditional GPSR protocol. Its core components include omnidirectional neighbor node discovery and location tracking mechanism, directional greedy forwarding mechanism, and directional hole processing mechanism. Among them, the omnidirectional neighbor node discovery and location tracking mechanism is the basis for the operation of the protocol. Each node in the network builds and maintains the neighbor node table through the periodic omnidirectional Hello strategy, which can provide decision-making basis for the directional greedy forwarding mechanism and directional hole processing mechanism. The directional greedy forwarding mechanism and directional hole processing mechanism are the core mechanisms for constructing information transmission paths. The two mechanisms work together and cooperate with each other to achieve efficient information transmission.
[0065] Schematic diagram of the overall framework of a directional greedy geographic routing method for smart antennas. Figure 7 As shown in the figure, the omnidirectional Hello strategy is the basis of the protocol. Each node in the network periodically sends omnidirectional Hello messages to let neighbor nodes know their real-time location information, thereby building and maintaining a neighbor node table, which is the basis for the operation of the directional greedy forwarding mechanism and the directional hole processing mechanism. When a node has a packet transmission demand, it first selects the next hop node according to the algorithm and the relevant information in the neighbor node table using the directional greedy forwarding mechanism. If a routing hole is encountered, the network needs to be flattened and the next hop node is selected according to the directional hole processing mechanism. Therefore, the DGPSR protocol establishes an information transmission path between the source node and the destination node through the directional greedy forwarding mechanism and the directional hole processing mechanism.
[0066] In order to enable all nodes in the network to obtain the location information of their neighbor nodes, DGPSR adopts an omnidirectional Hello strategy. This strategy stipulates that each idle node periodically sends Hello messages to all neighbor nodes, which contain information such as the node's ID number, IP address, and current geographical location. The node's location information is represented by a pair of 4-byte floating-point numbers, representing the x and y coordinate values of the node respectively. For a certain node, it may have multiple neighbor nodes, and conflicts may occur when receiving Hello messages sent by these neighbor nodes. To avoid this problem, DGPSR adopts a strategy of randomly selecting the Hello message transmission interval. Under this strategy, the time interval between two consecutive Hello messages sent by a node follows a uniform distribution in the interval [0.5B, 1.5B], where B is the average sending time interval of the Hello message. Using this strategy, the probability of conflicts between multiple neighbor nodes sending Hello messages can be reduced. Within the 2B time period, if a node does not receive a Hello message sent by a neighbor node, it is considered that the node has moved out of its communication range and is deleted from its neighbor node table.
[0067] The examples are as follows:
[0068] First, the nodes in the network determine whether the node is in an idle state or a working state according to whether there is a packet from the upper layer. If it is in an idle state, the main task of the node is to periodically send Hello messages, receive Hello messages sent by neighboring nodes, and update and maintain the neighbor node table. If the node needs to send a packet, it enters the working state. First, according to the geographical location information of the destination node and the directional greedy forwarding mechanism, it determines whether there is a qualified next-hop node. If there is, according to the location information of the node in the neighbor node table, the antenna beam is pointed to the next-hop node, and the packet is sent in a directional manner; if not, the network is flattened, and then the next-hop node is selected according to the directional hole processing mechanism, and the antenna beam is pointed to the next-hop node, and the packet is sent in a directional manner. After the next-hop node receives the packet, it determines whether the packet has been transmitted to the destination node. If so, the packet transmission is completed; if not, the next-hop node selection process is repeated until the packet is transmitted to the destination node.
Claims
1. A directional greedy geographic routing method for smart antennas, characterized in that: Follow the steps below to implement it: Step 1: Each node in the network determines whether it is in working state or idle state according to whether it receives a packet from the upper layer; Step 2: If the node does not receive any packet from the upper layer, it is an idle node and executes the periodic omnidirectional Hello strategy; Step 3: After the periodic omnidirectional Hello strategy is executed, execute step 1; Step 4: If the node receives a packet from the upper layer, it updates the node status to a working node, and determines whether there is a next-hop node that meets the conditions according to the geographical location information of the destination node and the directional greedy forwarding strategy; Step 5: If there is a next-hop node that meets the conditions, the neighbor node closest to the destination node is selected as the next-hop node according to the information in the neighbor node table, and the antenna beam is pointed to the next-hop node to send the packet in a direction; If there is no next-hop node that meets the conditions, the next-hop node is reselected according to the directional hole processing mechanism, the antenna beam is pointed to the next-hop node, and the packet is sent in a directional manner; Step 6: After receiving the packet, the next hop node determines whether the packet has reached the destination node. If yes, the packet transmission is completed and the process of step 1 is executed; if no, the process of step 4 is executed; The periodic omnidirectional Hello strategy in step 2 is implemented as follows: Step 2.1, the idle node periodically sends Hello messages to all neighbor nodes, and updates and maintains the neighbor node table according to the received Hello messages; Step 2.2: If a node does not receive a Hello message from a neighbor node within two Hello message cycles, it deletes the neighbor node from its own neighbor node table. The step 4 is specifically implemented according to the following steps: Step 4.1, the current node determines whether there is a neighbor node closer to the destination node than the current node in the neighbor node table according to the geographical location of the destination node; Step 4.2, output the judgment result; The directional hole processing mechanism in step 5 is specifically implemented according to the following steps: Step 5.1, planarize the current network; Step 5.2: Let the current node search for a route to the destination node along the hole boundary; Step 5.3: Re-determine the new next hop node according to the route determined by the current node.
2. A directional greedy geographic routing method for smart antennas according to claim 1, characterized in that: The Hello message in step 2.1 specifically includes the node's ID number, IP address and current geographical location information.
