A wireless ad hoc network intercom communication method and system
By establishing and optimizing the geographical location and signal strength information model of wireless communication nodes, using adaptive routing algorithms and multi-factor path optimization, we solve the performance and reliability problems of wireless ad hoc network intercom communication in complex environments, and achieve a better Efficient, stable communication and longer service life.
Patent Information
- Application Number
- CN202411031429.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-07-30
AI Technical Summary
The existing wireless self-organizing network intercom communication method has low performance and reliability in complex and changeable communication environments. It is difficult to adapt to complex terrains and the communication quality and stability are difficult to guarantee. Especially in terrains such as urban high-rise buildings or mountainous areas, problems are prone to occur. Signal interference or blocking, and lack of flexibility and adaptive capabilities make it difficult to dynamically adjust and optimize the network, leading to communication interruptions and rapid energy depletion.
By obtaining the geographical location information and signal strength information of wireless communication nodes, an initial network topology model is established, and graph theory analysis and optimization are performed. An adaptive routing algorithm is used to obtain the optimal communication path, and the distance sum is optimized by combining Kalman filtering and fuzzy rules. Signal strength threshold, communication path optimization using multi-factor path cost function and adaptive routing algorithm.
Significantly improve the overall performance and reliability of the network, enhance the quality and stability of communication, improve the flexibility and adaptive capabilities of the network, achieve more efficient and accurate communication path selection, reduce energy consumption, and extend the network service life and performs well in difficult terrain conditions.
Smart Images

Figure CN118574086B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intercom communication, and more specifically, to a wireless ad hoc network intercom communication method and system. Background Art
[0002] The patent with application publication number CN117156310A discloses a technology and method for integrated communication of a multi-standard wireless intercom system, wherein a multi-standard wireless intercom system includes: a first self-organizing network communication base station, a second self-organizing network communication base station, a third self-organizing network communication base station, an intercom terminal P1, an intercom terminal P2 and a control and scheduling platform, a wireless communication module is used for communication between the self-organizing network communication base station and the intercom terminal P1 and the intercom terminal P2; a power management module is used to provide the required voltage for each module and to count the power consumption, and a signal processing module is used to receive signals sent from other self-organizing network communication base stations and intercom terminals, and to filter, amplify, shape, compensate and process the signals.
[0003] However, the existing wireless ad hoc network intercom communication method still has low overall network performance and reliability, and it is difficult to guarantee communication quality and stability, especially in complex and changeable communication environments. For example, in complex terrains such as urban high-rise buildings or mountainous areas, communication signals are easily interfered or blocked, resulting in reduced call quality or even interruption; secondly, the existing technology lacks flexibility and adaptability, and it is difficult to dynamically adjust and optimize according to real-time network conditions. This results in the system being unable to respond in time when the network load suddenly increases or some nodes fail, affecting the overall communication effect; in addition, the existing communication path selection method is inefficient and inaccurate, and often only considers a single factor and ignores the influence of other important factors, resulting in the selected communication path being not optimal. For example, in field rescue scenarios In the process, only considering the shortest path may ignore the impact of terrain undulations on signal propagation, resulting in communication interruption. At the same time, the existing technology has deficiencies in energy management, which can easily cause rapid energy depletion and shorten the service life of the network. This is particularly evident in some long-term field operations or emergency rescue scenarios, which may cause communication equipment to be unusable at critical moments. Another significant problem is that the existing technology has poor adaptability under complex terrain conditions and it is difficult to ensure communication quality and coverage. For example, in environments such as mountains, jungles or urban canyons, the existing technology often finds it difficult to establish a stable communication link, which seriously limits its scope of application. Finally, the existing technology is difficult to effectively guarantee the core functions of the network. In the face of local node failures or network attacks, the communication capabilities of the entire network may be seriously affected.
[0004] In view of this, the present invention proposes a wireless ad hoc network intercom communication method and system to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solutions: A wireless ad hoc network intercom communication method, comprising: S1, obtaining geographical location information and wireless signal strength information of wireless communication nodes, and establishing an initial network topology structure model according to the geographical location information and wireless signal strength information;
[0006] S2. Performing graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimizing the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model;
[0007] S3. Based on the optimized network topology model, an adaptive routing algorithm is used to obtain the optimal communication path between wireless communication nodes, and the optimal communication path is allocated to each wireless communication node; the allocated optimal communication path is used for wireless intercom communication.
[0008] Furthermore, the method of establishing the initial network topology model includes:
[0009] The wireless signal strength information is subjected to Kalman filtering and smoothing processing to obtain a smoothed signal, and the smoothed signal is subjected to normalization processing to obtain standard signal data; the geographical location information is the longitude and latitude of the wireless communication node;
[0010] Calculate the spherical distance, actual path distance and elevation difference between wireless communication nodes based on geographic location information;
[0011] The calculation formula for spherical distance is:
[0012] ;
[0013] in, is the spherical distance between two wireless communication nodes, is the latitude of the first wireless communication node, is the latitude of the second wireless communication node, The longitude of the first wireless communication node, The longitude of the second wireless communication node, is the radius of the Earth;
[0014] Create an N×N multidimensional distance matrix, an N×N signal strength matrix, and an N×N network load matrix, where the element D[l][j][0] of the multidimensional distance matrix represents the spherical distance between wireless communication nodes l and j, the element D[I][j][1] represents the actual path distance between wireless communication nodes l and j, and the element D[I][j][2] represents the elevation difference between wireless communication nodes l and j; the element C[I][j][t] of the network load matrix represents the sum of the network loads of wireless communication nodes l and j at time t;
[0015] The element S[I][j][t] of the signal strength matrix represents the signal strength from wireless communication node l to j at time t;
[0016] Set the distance threshold, signal strength threshold and load threshold, and create a Boolean adjacency matrix according to the multidimensional distance matrix, signal strength matrix, distance threshold and signal strength threshold;
[0017] If the comprehensive distance between two wireless communication nodes is less than the distance threshold and the signal strength is greater than the signal strength threshold and the sum of the network load is less than the load threshold, it is marked as 1 in the Boolean adjacency matrix, otherwise it is 0; the comprehensive distance is the weighted sum of the spherical distance, the actual path distance and the elevation difference;
[0018] The Boolean adjacency matrix is converted into a network graph object using the graph theory library, and an initial network topology structure diagram is drawn. The location, connection relationship and signal strength of the wireless communication nodes are displayed in the initial network topology structure diagram; thus, the establishment of the initial network topology structure model is completed.
[0019] Furthermore, the manner of setting the distance threshold, the signal strength threshold and the load threshold includes:
[0020] The input variables of the fuzzy rules include distance, signal strength and network load; the output variables of the fuzzy rules include distance threshold adjustment and signal strength threshold adjustment; fuzzy sets are defined for each input variable and output variable;
[0021] Define membership functions for fuzzy sets, which are used to map exact values to membership of fuzzy sets;
[0022] Create a fuzzy rule base, convert input values into membership of fuzzy sets, evaluate the antecedents of each rule using fuzzy operators; combine the results of all rules into a fuzzy output set;
[0023] Use methods such as centroid method or maximum average method to convert the fuzzy output set into threshold adjustment values; threshold adjustment values include distance threshold adjustment values , Signal strength threshold adjustment value and load threshold adjustment value ;
[0024] Set an initial distance threshold , initial signal strength threshold and initial load threshold , then the distance threshold ; Signal strength threshold ; Load threshold .
[0025] Furthermore, the actual path distance is calculated by:
[0026] Initially, an adaptive digital elevation model is set to cover the area where all wireless communication nodes are located. The adaptive digital elevation model contains a size of n grids, dividing the adaptive digital elevation model into M areas;
[0027] Calculate the terrain relief index within each region ,in, is the benchmark elevation in the area, For the region The height of the wireless communication node, is the number of wireless communication nodes in the area;
[0028] Preset roughness threshold, if If the value is greater than the roughness threshold, the size of the grid in the corresponding area is adjusted; the formula for adjusting the size of the grid is:
[0029] ,in, is the terrain roughness index factor, is the slope factor, is the curvature factor, is the distance factor; , , and All are weight coefficients;
[0030] Initialize a quadtree, create a root node representing the entire adaptive digital elevation model, and set the maximum depth and minimum grid size;
[0031] Obtain the elevation change rate, curvature factor and terrain roughness index factor between adjacent areas; set the elevation change rate threshold, curvature threshold and terrain roughness threshold;
[0032] If the slope of an area is greater than the elevation change rate, the absolute value of the curvature factor is greater than the curvature threshold, or the terrain roughness index factor is greater than the terrain roughness threshold, the corresponding area is subdivided to obtain a comprehensive regional grid model;
[0033] Take any wireless communication node as the starting point and other wireless communication nodes as the target nodes; define the multi-factor path cost function based on the comprehensive regional grid model; set the goal of the multi-objective A* algorithm to the shortest distance and the smallest elevation change based on the cost value calculated by the multi-factor path cost function, and at the same time, minimize the cost value calculated by the multi-factor path cost function; obtain the length of the optimal path as the actual path distance.
[0034] Further, the terrain roughness index factor is the square root of the sum of the differences between the elevation of the adjusted grid and the elevation of the surrounding grids, divided by the number of surrounding grids;
[0035] Slope Factor ,in, To adjust the slope of the grid ground, is the minimum slope in the region, is the maximum slope in the region;
[0036] Curvature Factor ,in, represents the curvature of the adjusted mesh ground, Indicates the maximum curvature of the ground within the area;
[0037] Distance Factor The method of obtaining includes: calculating the minimum distance from the adjusted grid to the region boundary and normalizing the minimum distance; obtaining the normalized distance, and selecting the smaller value between the normalized distance and 1 as the distance factor ;
[0038] Ways to subdivide the corresponding areas include:
[0039] Starting from the root node, the node is divided into four sub-nodes, representing the northwest, northeast, southwest and southeast parts of the original area respectively. Each sub-node is repeatedly divided into four sub-nodes until the maximum depth or the minimum grid size is reached; that is, a quadtree structure is completed; the quadtree structure is traversed to generate a grid for each leaf node; and a comprehensive regional grid model is obtained.
[0040] Furthermore, the multi-factor path cost function ;in, From the starting point to the target node The actual cost function is From the target node The heuristic function to the starting point, is the cost weight coefficient; ,in, From the starting point to the target node The cost of moving is the elevation cost, is the obstacle cost; ,in, is the basic distance, From the starting point to the target node The slope factor of ,in, is the elevation of the starting point, The target node The elevation of is the elevation weight; ,in, From the starting point to the target node The Euclidean distance of is the terrain factor; ,in, From the starting point to the target node The average slope, From the starting point to the target node The maximum slope of the path;
[0041] Cost weight coefficient ,in, The depth or level of the node corresponding to the starting point in the quadtree structure, is the maximum depth, It is the maximum value of the preset cost weight coefficient.
[0042] Furthermore, the method of performing graph theory analysis on the initial network topology model includes:
[0043] Convert the initial network topology model into a weighted undirected graph ,in, Represents a collection of wireless communication nodes, represents a set of edges, corresponding to the communication links between nodes; represents the weight set of wireless communication nodes;
[0044] Define node energy level indicators ,in, Set energy threshold for wireless communication nodes , then calculate the degree centrality of the wireless communication node, preset the centrality threshold, and take the node with degree centrality greater than the centrality threshold as the key node;
[0045] The calculation formula of degree centrality is: ,in, Wireless communication node The traditional degree centrality of is the energy adjustment function; Wireless communication node The degree centrality of
[0046] like Greater than ,but is equal to 1, if Less than or equal to ,but ; ,in, Is a wireless communication node The number of directly connected edges, is the total number of wireless communication nodes;
[0047] Node energy level indicator Wireless communication node The current energy level divided by the wireless communication node Percentage of maximum energy capacity;
[0048] Defining link bandwidth metrics and stability indicators ,in, is the edge between wireless communication nodes;
[0049] The edge betweenness algorithm is used to calculate the betweenness of each edge, and when calculating the shortest path, the weight of the edge is defined as: ;in, For edge The weight of
[0050] Use weights to calculate the shortest path and get the edge Modified edge betweenness , get the edge Preliminary edge importance index ;
[0051] Defining Link Utilization , set the time window , regularly collect link traffic data and calculate the edge Average link utilization ;
[0052] Defining the utilization weight function ;
[0053] in, To adjust the parameters, is the average utilization of all links;
[0054] The edge is weighted using the utilization weight function. The initial edge importance index is further modified to obtain the corresponding link importance index ; Set the link threshold and take the edge whose link importance index is greater than the link threshold as the key link.
[0055] Furthermore, the method of optimizing the initial network topology model according to the key nodes and key links includes:
[0056] Define the node criticality index. The expression of the node criticality index is: ,in, For key nodes The closeness centrality, For key nodes The degree centrality of For key nodes Node key indicators, is the degree centrality weight, is the proximity centrality weight;
[0057] Define the link criticality indicator. The expression of the link criticality indicator is: ,in, For key links The key link indicators of For key links The edge betweenness of is the link reliability score; Edge betweenness weight, is the reliability weight;
[0058] Sort all key nodes according to the size of the node key indicators in descending order. Key nodes are used as optimization nodes;
[0059] Sort all key links according to the size of the link criticality index in descending order, and extract the first KP key links as the optimized links; ,in, is the total number of key nodes, is the average value of the key indicators of all nodes, is the standard deviation of all node criticality indicators;
[0060] Before The key nodes are divided into The division formula is: ,in, is an integer greater than or equal to 0;
[0061] For the front key nodes, and calculate the optimal number of connections; the calculation formula for the optimal number of connections is: ,in, For the The optimal number of connections between key nodes of the hierarchy;
[0062] Define comprehensive performance indicators: ,in, To optimize the link To optimize the link To optimize the link bandwidth, To optimize the link The delay, is the bandwidth weight, is the delay weight;
[0063] For optimizing links , defining its bandwidth ,in, To optimize the link The current bandwidth, To optimize the link The key link indicators of is the average load rate of the current initial network topology model;
[0064] Before The optimal number of connections calculated is used as the basis, and the optimization goal of the initial network topology model is defined as maximizing the comprehensive performance index; that is, the optimized network topology model is obtained.
[0065] Furthermore, the method for obtaining the optimal communication path includes:
[0066] Each node in the optimized network topology model Maintain a routing table, each item in the routing table is ,in represents the destination node, Indicates arrival The next-hop neighbor node, initially, only directly connected neighbor nodes are added to the routing table; each node periodically sends Hello packets to neighbor nodes; initialize a topology table, for each neighbor node The routing metric ;Will Join the node In the topology table;
[0067] For the destination node , search all routing tables to determine whether there is a path to Path , if it exists, the routing metric of the path is used as the initial routing metric, denoted as cmc;
[0068] Traverse neighbor nodes , find neighbor nodes Is there a topology table containing Path , if yes, calculate from node go through arrive The total routing metric is recorded as AMC; compare AMC and CMC, and take the smaller value as the new routing metric;
[0069] Repeat until all neighbor nodes are traversed, and the new routing metric is used as the The final routing metric value, Update all routing tables for corresponding neighbor nodes;
[0070] When a node detects a change in the connection status with a neighboring node, it actively sends an updated routing table to the neighboring node;
[0071] For paired wireless communication nodes ,exist The routing table is found Path , get the optimal next hop , then the final optimal path That is from Departure, through a series of Until arrival The optimal communication path is obtained.
[0072] A wireless ad hoc network intercom communication system, which is used to implement the wireless ad hoc network intercom communication method, comprises: an initial model building module, which is used to obtain geographical location information and wireless signal strength information of wireless communication nodes, and establish an initial network topology structure model according to the geographical location information and wireless signal strength information;
[0073] The model optimization module is used to perform graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimize the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model;
[0074] The optimal path allocation module, based on the optimized network topology model, adopts an adaptive routing algorithm to obtain the optimal communication path between wireless communication nodes, and allocates the optimal communication path to each wireless communication node; wireless intercom communication is performed using the allocated optimal communication path, and each module is connected by wired and / or wireless means.
[0075] The technical effects and advantages of the wireless ad hoc network intercom communication method and system of the present invention are as follows:
[0076] The present invention significantly improves the overall performance and reliability of the network by establishing an initial network topology model and performing graph theory analysis and optimization. The setting of the cost function and the adaptive routing algorithm greatly enhances the communication quality and stability. It can effectively adapt to complex and changeable communication environments and ensure that the core functions of the network are not interfered with. In addition, the flexibility and adaptability of the network are greatly improved, so that it can be dynamically adjusted and optimized according to real-time conditions. By comprehensively considering various factors, more efficient and accurate communication path selection is achieved, which significantly improves communication efficiency. At the same time, it can also effectively reduce energy consumption and extend the service life of the network. It is not only suitable for conventional environments, but also performs well under complex terrain conditions, greatly expanding its application scope, greatly improving the overall performance of wireless ad hoc network intercom communication, and providing users with a more reliable, efficient and flexible communication experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 A schematic diagram of a wireless ad hoc network intercom communication method of the present invention;
[0078] Figure 2 The present invention is a schematic diagram of a wireless ad hoc network intercom communication system. DETAILED DESCRIPTION
[0079] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0080] Example 1
[0081] See also Figure 1 As shown, the present embodiment provides a wireless ad hoc network intercom communication method, including:
[0082] S1. Obtaining geographical location information and wireless signal strength information of wireless communication nodes, and establishing an initial network topology model based on the geographical location information and wireless signal strength information;
[0083] S2. Performing graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimizing the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model;
[0084] S3. Based on the optimized network topology model, an adaptive routing algorithm is used to obtain the optimal communication path between wireless communication nodes, and the optimal communication path is allocated to each wireless communication node; the allocated optimal communication path is used for wireless intercom communication.
[0085] Further, the methods of establishing the initial network topology model include:
[0086] The wireless signal strength information is processed by Kalman filtering to obtain a smoothed signal, and the smoothed signal is normalized to obtain standard signal data; the geographic location information is the longitude and latitude of the wireless communication node.
[0087] Based on the relative position coordinates, the spherical distance, actual path distance and elevation difference between wireless communication nodes are calculated (the elevation difference between two wireless communication nodes is obtained by subtracting the elevation information of the nodes).
[0088] The calculation formula for spherical distance is:
[0089] ;
[0090] in, is the spherical distance between two wireless communication nodes, is the latitude of the first wireless communication node, is the latitude of the second wireless communication node, The longitude of the first wireless communication node, The longitude of the second wireless communication node, is the radius of the Earth.
[0091] The actual path distance is calculated using the following methods:
[0092] Initially, an adaptive digital elevation model is set. The adaptive digital elevation model covers the area where all wireless communication nodes are located. The adaptive digital elevation model contains a size of The adaptive digital elevation model is divided into M regions using n grids.
[0093] Calculate the terrain relief index within each region ,in, is the benchmark elevation in the area (the average elevation, median elevation or maximum / minimum elevation of all grids in the corresponding area); For the region The height of the wireless communication node, is the number of wireless communication nodes in the area.
[0094] Preset rugged threshold (preset a reasonable value empirically based on the terrain characteristics of the actual scene and the calculation accuracy requirements). If the value is greater than the roughness threshold, the size of the grid in the corresponding area is adjusted; the formula for adjusting the size of the grid is: ,in, is the terrain roughness index factor, is the slope factor, is the curvature factor, is the distance factor; , , and are weight coefficients, which are used to adjust the influence of each factor. .
[0095] The terrain roughness index factor is the square root of the sum of the differences between the elevation of the adjusted grid and the elevation of the surrounding grids, divided by the number of surrounding grids.
[0096] Slope Factor ,in, To adjust the slope of the grid ground, is the minimum slope in the region, is the maximum slope in the region;
[0097] Curvature Factor ,in, represents the curvature of the adjusted mesh ground, Indicates the maximum curvature of the ground within the region.
[0098] Distance Factor The method of obtaining includes: calculating the minimum distance from the adjusted grid to the region boundary and normalizing the minimum distance; obtaining the normalized distance, and selecting the smaller value between the normalized distance and 1 as the distance factor .
[0099] Initialize a quadtree, create a root node representing the entire adaptive digital elevation model, and set the maximum depth and minimum grid size. The maximum depth limits the number of layers of the quadtree to prevent over-subdivision; the minimum grid size ensures that we do not generate too small a grid and controls the computational complexity.
[0100] Get the elevation change rate, curvature factor and terrain roughness index factor between adjacent areas; set the elevation change rate threshold, curvature threshold and terrain roughness threshold.
[0101] If the slope of an area is greater than the elevation change rate, the absolute value of the curvature factor is greater than the curvature threshold, or the terrain roughness index factor is greater than the terrain roughness threshold, the corresponding area will be subdivided; the actual communication path will be evaluated more accurately and adapted to complex terrain.
[0102] Ways to subdivide the corresponding areas include:
[0103] Starting from the root node, the node is divided into four sub-nodes, representing the northwest, northeast, southwest and southeast parts of the original area respectively. Each sub-node is repeatedly divided into four sub-nodes until the maximum depth or the minimum grid size is reached; that is, a quadtree structure is completed; the quadtree structure is traversed to generate a grid for each leaf node; and a comprehensive regional grid model is obtained.
[0104] Take any wireless communication node as the starting point and other wireless communication nodes as the target node; define a multi-factor path cost function based on the comprehensive regional grid model ;in, From the starting point to the target node The actual cost function is From the target node The heuristic function to the starting point is obtained by multiplying the Euclidean distance by the terrain factor. is the cost weight coefficient, which is used to balance the impact of the actual cost and the heuristic function. ,in, From the starting point to the target node The mobility cost represents the ease of movement between nodes. Specifically, a mobility energy consumption model is constructed based on the node location and terrain information. The model takes into account a variety of influencing factors, such as terrain slope, ground roughness, obstacles, weather, etc. In the mobility energy consumption model, a benchmark mobility energy consumption value is defined to represent the mobility energy consumption per unit distance on an ideal flat ground. For the starting point and target nodes, based on their relative positions, terrain, etc., the actual energy consumption of moving from the starting point to the target node is calculated in the mobility energy consumption model. The mobility cost is the actual energy consumption divided by the benchmark mobility energy consumption value. is the elevation cost (similar to the way of obtaining the movement cost), which indicates the impact of elevation change on the path cost. is the obstacle cost, which takes into account the difficulty and penalty of the obstacle. ,in, Is the basic distance, that is, the starting point to the target node Is the basic distance, that is, the starting point to the target node From the starting point to the target node Slope factor.
[0105] ,in, is the elevation of the starting point, The target node The elevation of is the elevation weight, which is used to adjust the impact of elevation changes on costs. ,in, From the starting point to the target node The Euclidean distance of is the terrain factor, and the relationship between the ratio of the average slope to the target node and the maximum slope is considered. ,in, From the starting point to the target node The average slope, From the starting point to the target node The maximum slope of the path.
[0106] Cost weight coefficient ,in, The depth or level of the node corresponding to the starting point in the quadtree structure, is the maximum depth, It is the maximum value of the preset cost weight coefficient.
[0107] Based on the cost value calculated by the multi-factor path cost function, the multi-objective A* algorithm is used to search for the optimal path between the starting point and the target node; specifically, the goals of the multi-objective A* algorithm are set to be the shortest distance and the smallest elevation change, and the cost value calculated by the multi-factor path cost function is minimized; the length of the optimal path is obtained as the actual path distance.
[0108] Create an N×N multidimensional distance matrix, an N×N signal strength matrix, and an N×N network load matrix. The element D[l][j][0] of the multidimensional distance matrix represents the spherical distance between wireless communication nodes l and j, the element D[I][j][1] represents the actual path distance between wireless communication nodes l and j, and the element D[I][j][2] represents the elevation difference between wireless communication nodes l and j. The element C[I][j][t] of the network load matrix represents the sum of the network loads of wireless communication nodes l and j at time t.
[0109] The element S[I][j][t] of the signal strength matrix represents the signal strength of the wireless communication node l to j at time t, which is obtained based on the standard signal data;
[0110] Set the distance threshold, signal strength threshold and load threshold, and create a Boolean adjacency matrix based on the multidimensional distance matrix, signal strength matrix, distance threshold and signal strength threshold.
[0111] If the comprehensive distance between two wireless communication nodes is less than the distance threshold, the signal strength is greater than the signal strength threshold, and the sum of the network loads is less than the load threshold, then it is marked as 1 in the Boolean adjacency matrix, otherwise it is 0; the comprehensive distance is the weighted sum of the spherical distance, the actual path distance, and the elevation difference.
[0112] Ways to set distance thresholds and signal strength thresholds include:
[0113] The input variables for defining fuzzy rules include distance, signal strength and network load; distance represents the comprehensive distance between two communication nodes, signal strength represents the received signal strength, and network load represents the current network usage.
[0114] Defining the output variables of the fuzzy rules includes distance threshold adjustment and signal strength threshold adjustment; defining fuzzy sets for each input variable and output variable;
[0115] Fuzzy set {distance, signal strength, signal strength, network load, threshold adjustment}; distance includes near, medium and far; signal strength includes weak, medium and strong; network load includes low, medium and high; threshold adjustment includes greatly reduced, slightly reduced, unchanged, slightly increased and greatly increased.
[0116] Define membership functions for fuzzy sets, which are used to map exact values to membership of fuzzy sets, using triangular, trapezoidal, or Gaussian functions.
[0117] Create a fuzzy rule base, for example: if the distance is short, the signal strength is strong, and the network load is low, the distance threshold is slightly increased and the signal strength threshold is greatly increased; if the distance is long, the signal strength is weak, and the network load is high, the distance threshold is greatly reduced and the signal strength threshold is greatly reduced.
[0118] Convert the input values into membership of fuzzy sets and evaluate the antecedents of each rule using fuzzy operators (such as MIN for AND and MAX for OR); combine the results of all rules into a fuzzy output set;
[0119] Use methods such as centroid method or maximum average method to convert the fuzzy output set into threshold adjustment values; threshold adjustment values include distance threshold adjustment values , Signal strength threshold adjustment value and load threshold adjustment value .
[0120] Set an initial distance threshold , initial signal strength threshold and initial load threshold , then the distance threshold ; Signal strength threshold ; Load threshold , can be adaptively adjusted according to real-time conditions, improving flexibility.
[0121] Use a graph theory library (such as NetworkX) to convert the Boolean adjacency matrix into a network graph object, and draw an initial network topology diagram, in which the location, connection relationship and signal strength of the wireless communication nodes are displayed; thus, the establishment of the initial network topology model is completed.
[0122] Further, the methods of performing graph theory analysis on the initial network topology model include:
[0123] Convert the initial network topology model into a weighted undirected graph ,in, Represents a collection of wireless communication nodes, represents a set of edges, corresponding to the communication links between nodes; It represents the weight set of wireless communication nodes, which is calculated based on the comprehensive distance and signal strength between wireless communication nodes; the weight is obtained by fitting the data using the least squares method.
[0124] Define node energy level indicators ,in, Set energy threshold for wireless communication nodes For example, 30%; then calculate the degree centrality of the wireless communication node, preset the centrality threshold, and take the nodes with degree centrality greater than the centrality threshold as key nodes.
[0125] The calculation formula of degree centrality is:
[0126] ;
[0127] in, Wireless communication node The traditional degree centrality of is the energy adjustment function; Wireless communication node The degree centrality of .
[0128] like Greater than ,but is equal to 1, if Less than or equal to ,but ,but ,in, Is a wireless communication node The number of directly connected edges, is the total number of wireless communication nodes.
[0129] Node energy level indicator Wireless communication node The current energy level divided by the wireless communication node The current energy level is the full energy value minus the energy consumed.
[0130] Defining link bandwidth metrics and stability indicators ,in, are the edges between wireless communication nodes, ranging from 0 to 1.
[0131] The edge betweenness algorithm is used to calculate the betweenness of each edge, and when calculating the shortest path, the weight of the edge is defined as: ;in, For edge The weight of
[0132] Use weights to calculate the shortest path and get the edge Modified edge betweenness , get the edge Preliminary edge importance index .
[0133] Defining Link Utilization , which represents the ratio of the actual load of a link (edge) to its capacity; setting the time window (e.g., 5 minutes), collect link traffic data regularly and calculate the edge Average link utilization .
[0134] Defining the utilization weight function ;
[0135] in, To adjust the parameters, is the average utilization of all links (edges).
[0136] The edge is weighted using the utilization weight function. The initial edge importance index is further modified to obtain the corresponding link importance index ; Set the link threshold and take the edge whose link importance index is greater than the link threshold as the key link.
[0137] It should be noted that the link threshold is set as follows: calculate the mean and standard deviation std of all link importance indicators; set a hyperparameter α1 to control the looseness of the threshold; the larger the α1 value, the looser the threshold, and the more links are judged as critical links; link threshold = mean + α1 × std, and the specific value of α1 is adjusted according to actual scenarios and needs.
[0138] Furthermore, the methods for optimizing the initial network topology model according to key nodes and key links include:
[0139] Define the node criticality index. The expression of the node criticality index is:
[0140] ;
[0141] in, For key nodes The closeness centrality, For key nodes The degree centrality of For key nodes Node key indicators, is the degree centrality weight, is the proximity centrality weight.
[0142] Define the link criticality indicator. The expression of the link criticality indicator is:
[0143] ;
[0144] in, For key links The key link indicators of For key links The edge betweenness of is the link reliability score; is the link reliability score; is the edge betweenness weight, is the reliability weight; specifically, the link reliability score is calculated based on the signal strength RSSI value measured by the node at the receiving end, using an empirical formula or a lookup table to obtain the reliability score of the link.
[0145] Sort all key nodes according to the size of the node key indicators in descending order. Key nodes are used as optimization nodes;
[0146] All key links are sorted according to the size of the link criticality index in descending order, and the first KP key links are extracted as optimized links.
[0147] ;
[0148] in, is the total number of key nodes, is the average value of the key indicators of all nodes, is the standard deviation of the criticality indicators of all nodes.
[0149] Before The key nodes are divided into The division formula is: ,in, is an integer greater than or equal to 0;
[0150] For the front key nodes, and calculate the optimal number of connections; the calculation formula for the optimal number of connections is: ,in, For the The optimal number of connections between key nodes of the hierarchy.
[0151] It should be noted that all connections are not established at once, but are gradually increased in layers. After each connection is added, the network performance and node criticality are re-evaluated.
[0152] Define comprehensive performance indicators: ,in, To optimize the link Comprehensive performance indicators, To optimize the link bandwidth, To optimize the link The delay, is the bandwidth weight, is the delay weight.
[0153] For optimizing links , defining its bandwidth ,in, To optimize the link The current bandwidth, To optimize the link The key link indicators of It is the average load rate of the current initial network topology model. Specifically, a time window is set, such as 5 minutes. Within the time window, the sum of the network loads of each pair of nodes is continuously counted. The average of the sum of all network loads within the time window is calculated as the average load rate of the current network.
[0154] Before The optimal number of connections calculated is used as the basis, and the optimization goal of the initial network topology model is defined as maximizing the comprehensive performance index; that is, the optimized network topology model is obtained.
[0155] Furthermore, the method of obtaining the optimal communication path includes:
[0156] Each node in the optimized network topology model Maintain a routing table, each item in the routing table is ,in Indicates the destination node (node The node you want to link to). Indicates arrival The next-hop neighbor node, initially, only directly connected neighbor nodes are added to the routing table; each node periodically sends Hello packets to neighbor nodes to discover neighbors and maintain neighbor relationships; it should be explained that at regular intervals, each wireless communication node broadcasts a special control message to its neighbor nodes, which is called a Hello packet; initialize a topology table, for each neighbor node , calculate the arrival The routing metric ; The routing metric is calculated by normalizing the bandwidth, delay, load, and link reliability scores and performing a weighted sum; Join the node in the topology table.
[0157] For the destination node , search all routing tables to determine whether there is a path to Path , if it exists, the routing metric of the path is used as the initial routing metric, denoted as cmc.
[0158] Traverse neighbor nodes , find neighbor nodes Is there a topology table containing Path , if yes, calculate from node go through arrive The total routing metric is recorded as AMC; compare AMC and CMC, and take the smaller value as the new routing metric.
[0159] Repeat until all neighbor nodes are traversed, and the new routing metric is used as the The final routing metric value, Update all routing tables for the corresponding neighbor nodes.
[0160] When a node detects a change in the connection status (link or disconnection) with a neighbor node, it actively sends an updated routing table to the neighbor node.
[0161] For paired wireless communication nodes ,exist The routing table is found Path , get the optimal next hop , then the final optimal path That is from Departure, through a series of Until arrival The optimal communication path is obtained.
[0162] This embodiment significantly improves the overall performance and reliability of the network by establishing an initial network topology model and performing graph theory analysis and optimization. The setting of the cost function and the adaptive routing algorithm greatly enhances the communication quality and stability. It can effectively adapt to complex and changeable communication environments and ensure that the core functions of the network are not interfered with. In addition, it greatly improves the flexibility and adaptability of the network, so that it can be dynamically adjusted and optimized according to real-time conditions. By comprehensively considering various factors, more efficient and accurate communication path selection is achieved, which significantly improves communication efficiency. At the same time, it can also effectively reduce energy consumption and extend the service life of the network. It is not only suitable for conventional environments, but also performs well under complex terrain conditions, greatly expanding its scope of application, greatly improving the overall performance of wireless ad hoc network intercom communications, and providing users with a more reliable, efficient and flexible communication experience.
[0163] Example 2
[0164] See also Figure 2 As shown, the part not described in detail in this embodiment is described in Example 1, and a wireless ad hoc network intercom communication system is provided, including:
[0165] An initial model building module is used to obtain the geographical location information and wireless signal strength information of the wireless communication nodes, and to establish an initial network topology structure model based on the geographical location information and wireless signal strength information;
[0166] The model optimization module is used to perform graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimize the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model;
[0167] The optimal path allocation module, based on the optimized network topology model, adopts an adaptive routing algorithm to obtain the optimal communication path between wireless communication nodes, and allocates the optimal communication path to each wireless communication node; uses the allocated optimal communication path for wireless intercom communication; and connects each module by wired and / or wireless means to achieve data transmission between modules.
[0168] Example 3
[0169] This embodiment discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the operation mode of the wireless ad hoc network intercom communication method provided above is implemented.
[0170] Since the electronic device introduced in this embodiment is an electronic device used to implement a wireless ad hoc network intercom communication method in the embodiment of the present application, based on the wireless ad hoc network intercom communication method introduced in the embodiment of the present application, the technical personnel of this field can understand the specific implementation of the electronic device of this embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as the technical personnel of this field implement the electronic device used in the wireless ad hoc network intercom communication method in the embodiment of the present application, it belongs to the scope of protection of this application.
[0171] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0172] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technical users in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A wireless ad hoc network intercom communication method, characterized in that: include: S1. Obtaining geographical location information and wireless signal strength information of wireless communication nodes, and establishing an initial network topology model according to the geographical location information and wireless signal strength information; S2. Performing graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimizing the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model; S3. Based on the optimized network topology model, an adaptive routing algorithm is used to obtain the optimal communication path between wireless communication nodes, and the optimal communication path is allocated to each wireless communication node; Use the allocated optimal communication path for wireless intercom communication; The method of establishing the initial network topology model includes: The wireless signal strength information is subjected to Kalman filtering and smoothing processing to obtain a smoothed signal, and the smoothed signal is subjected to normalization processing to obtain standard signal data; the geographical location information is the longitude and latitude of the wireless communication node; Calculate the spherical distance, actual path distance and elevation difference between wireless communication nodes based on geographic location information; The calculation formula for spherical distance is: Wherein, d is the spherical distance between two wireless communication nodes, φ1 is the latitude of the first wireless communication node, φ2 is the latitude of the second wireless communication node, λ1 is the longitude of the first wireless communication node, λ2 is the longitude of the second wireless communication node, and R is the radius of the earth; Create an N×N multidimensional distance matrix, an N×N signal strength matrix, and an N×N network load matrix, where the element D[l][j][0] of the multidimensional distance matrix represents the spherical distance between wireless communication nodes l and j, the element D[I][j][1] represents the actual path distance between wireless communication nodes l and j, and the element D[I][j][2] represents the elevation difference between wireless communication nodes l and j; the element C[I][j][t] of the network load matrix represents the sum of the network loads of wireless communication nodes l and j at time t; The element S[I][j][t] of the signal strength matrix represents the signal strength from wireless communication node l to j at time t; Set the distance threshold, signal strength threshold and load threshold, and create a Boolean adjacency matrix according to the multidimensional distance matrix, signal strength matrix, distance threshold and signal strength threshold; If the comprehensive distance between two wireless communication nodes is less than the distance threshold and the signal strength is greater than the signal strength threshold and the sum of the network load is less than the load threshold, it is marked as 1 in the Boolean adjacency matrix, otherwise it is 0; the comprehensive distance is the weighted sum of the spherical distance, the actual path distance and the elevation difference; Use the graph theory library to convert the Boolean adjacency matrix into a network graph object, and draw an initial network topology diagram, in which the location, connection relationship and signal strength of the wireless communication nodes are displayed; that is, the establishment of the initial network topology model is completed; The method of setting the distance threshold, signal strength threshold and load threshold includes: The input variables of the fuzzy rules are defined to include distance, signal strength and network load; the output variables of the fuzzy rules are defined to include distance threshold adjustment and signal strength threshold adjustment; fuzzy sets are defined for each input variable and output variable; Define membership functions for fuzzy sets, which are used to map exact values to membership of fuzzy sets; Create a fuzzy rule base, convert input values into membership of fuzzy sets, evaluate the antecedents of each rule using fuzzy operators; combine the results of all rules into a fuzzy output set; The fuzzy output set is converted into a threshold adjustment value by using a method such as a centroid method or a maximum average method; the threshold adjustment value includes a distance threshold adjustment value TU, a signal strength threshold adjustment value TX and a load threshold adjustment value FT; An initial distance threshold CU, an initial signal strength threshold CX and an initial load threshold XR are set, then the distance threshold JU = CU·(1+TU); the signal strength threshold XU = CX·(1+TX); and the load threshold XW = XR·(1+FT).
2. The wireless ad hoc network intercom communication method according to claim 1, characterized in that: The actual path distance is calculated by: Initially, an adaptive digital elevation model is set to cover the area where all wireless communication nodes are located. The adaptive digital elevation model contains n grids of size BZ, and the adaptive digital elevation model is divided into M areas; Calculate the terrain relief index within each region Among them, z0 is the benchmark elevation in the area, zi is the elevation of the i-th wireless communication node in the area, and m is the number of wireless communication nodes in the area; A roughness threshold is preset. If TR is greater than the roughness threshold, the size of the grid in the corresponding area is adjusted. The formula for adjusting the size of the grid is: GS = BZ (1-α TI) (1-β SF) (1-γ CF) (1+δ DF), where TI is the terrain roughness index factor, SF is the slope factor, CF is the curvature factor, and DF is the distance factor; α, β, γ, and δ are all weight coefficients; Initialize a quadtree, create a root node representing the entire adaptive digital elevation model, and set the maximum depth and minimum grid size; Obtain the elevation change rate, curvature factor and terrain roughness index factor between adjacent areas; set the elevation change rate threshold, curvature threshold and terrain roughness threshold; If the slope of an area is greater than the elevation change rate, the absolute value of the curvature factor is greater than the curvature threshold, or the terrain roughness index factor is greater than the terrain roughness threshold, the corresponding area is subdivided to obtain a comprehensive regional grid model; Take any wireless communication node as the starting point and other wireless communication nodes as the target nodes; define the multi-factor path cost function based on the comprehensive regional grid model; set the goal of the multi-objective A* algorithm to the shortest distance and the smallest elevation change based on the cost value calculated by the multi-factor path cost function, and at the same time, minimize the cost value calculated by the multi-factor path cost function; obtain the length of the optimal path as the actual path distance.
3. The wireless ad hoc network intercom communication method according to claim 2, characterized in that: The terrain roughness index factor is the square root of the sum of the differences between the elevation of the adjusted grid and the elevation of the surrounding grids, divided by the number of surrounding grids; Slope Factor Among them, sp is the slope of the adjusted grid ground, sp min is the minimum slope in the region, sp max is the maximum slope in the region; Curvature Factor Among them, ct represents the curvature of the adjusted grid ground, ct max Indicates the maximum curvature of the ground within the area; The distance factor DF is obtained by: calculating the minimum distance from the adjusted grid to the region boundary and normalizing the minimum distance; obtaining the normalized distance, and selecting the smaller value between the normalized distance and 1 as the distance factor DF; Ways to subdivide the corresponding areas include: Starting from the root node, the node is divided into four sub-nodes, representing the northwest, northeast, southwest and southeast parts of the original area respectively. Each sub-node is repeatedly divided into four sub-nodes until the maximum depth or the minimum grid size is reached; that is, a quadtree structure is completed; the quadtree structure is traversed to generate a grid for each leaf node; and a comprehensive regional grid model is obtained.
4. The wireless ad hoc network intercom communication method according to claim 3, characterized in that: The multi-factor path cost function f(k)=g(k)+w·h(k); wherein g(k) is the actual cost function from the starting point to the target node k, h(k) is the heuristic function from the target node k to the starting point, and w is the cost weight coefficient; g(k)=mc+ec+oc, where mc is the moving cost from the starting point to the target node k, ec is the elevation cost, and oc is the obstacle cost; mc = nc·(1+sf), where nc is the base distance and sf is the slope factor from the starting point to the target node k; ec = |dg-mg|·ew, where dg is the elevation of the starting point, mg is the elevation of the target node k, and ew is the elevation weight; h(k) = edn·tf, where edn is the Euclidean distance from the starting point to the target node k; tf is the terrain factor; Where ag is the average slope from the starting point to the target node k, ag max is the maximum slope in the path from the starting point to the target node k; Cost weight coefficient Among them, cd is the depth or level of the node corresponding to the starting point in the quadtree structure, cd max is the maximum depth, w max It is the maximum value of the preset cost weight coefficient.
5. The wireless ad hoc network intercom communication method according to claim 4, characterized in that: The method of performing graph theory analysis on the initial network topology model includes: The initial network topology model is converted into a weighted undirected graph G(V,E,W), where V represents the set of wireless communication nodes, E represents the edge set, corresponding to the communication links between nodes; W represents the weight set of wireless communication nodes; Define the node energy level index EI(v), where v is a wireless communication node; set the energy threshold Eth, calculate the degree centrality of the wireless communication node, preset the centrality threshold, and take the node with degree centrality greater than the centrality threshold as the key node; The calculation formula of degree centrality is: DC'(v) = DC(v)·F(EI(v)), where DC(v) is the traditional degree centrality of the wireless communication node v, F(EI(v)) is the energy adjustment function; DC'(v) is the degree centrality of the wireless communication node v; If EI(v) is greater than Eth, then F(EI(v)) is equal to 1. If EI(v) is less than or equal to Eth, then Where DA(v) is the number of edges directly connected to the wireless communication node v, and N1 is the total number of wireless communication nodes; The node energy level index EI(v) is the percentage of the current energy level of the wireless communication node v divided by the maximum energy capacity of the wireless communication node v; Define the link bandwidth index B(e) and stability index S(e), where e is the edge between wireless communication nodes; The edge betweenness algorithm is used to calculate the betweenness of each edge, and when calculating the shortest path, the weight of the edge is defined as: Among them, w(e) is the weight of edge e; Use the weights to calculate the shortest path, obtain the corrected edge betweenness BC'(e) of edge e, and obtain the preliminary edge importance index I(e) = BC'(e)·B(e)·S(e); Define the link utilization U(e), set the time window TPI, regularly collect link traffic data, and calculate the average link utilization Uavg(e) of edge e; Define the utilization weight function GF(Uavg(e))=1+a1·(Uavg(e)-Uavg'); where a1 is the adjustment parameter and Uavg' is the average utilization of all links; The initial edge importance index of edge e is further modified using the utilization weight function to obtain the corresponding link importance index I'(e)=I(e)·GF(Uavg(e)); a link threshold is set, and the edge with a link importance index greater than the link threshold is regarded as a key link.
6. The wireless ad hoc network intercom communication method according to claim 5, characterized in that: The method of optimizing the initial network topology model according to key nodes and key links includes: Define the node criticality index. The expression of the node criticality index is: NC(c)=w1·DC'(c)+w2·CB(c), where CB(c) is the closeness centrality of key node c, DC'(c) is the degree centrality of key node c, NC(c) is the node criticality index of key node c, w1 is the degree centrality weight, and w2 is the closeness centrality weight; Define the link criticality indicator. The expression of the link criticality indicator is: LQ(po)=b1·BC'(po)+b2·RS(po), where LQ(po) is the link criticality index of the key link po, BC'(po) is the edge betweenness of the key link po, and RS(po) is the link reliability score; b1 is the edge betweenness weight, and b2 is the reliability weight; Sort all key nodes according to the size of the node key index in descending order, and extract the first KH key nodes as optimization nodes; Sort all key links according to the size of the link criticality index in descending order, and extract the first KP key links as the optimized links; Where N2 is the total number of critical nodes, μ is the average value of the criticality indicators of all nodes, and σ is the standard deviation of the criticality indicators of all nodes; Divide the first KH key nodes into L J The division formula is: L J ={cμ+J·σ≤NC(c)<μ+(J+1)·σ}, where J is an integer greater than or equal to 0; For the first KH key nodes, the optimal number of connections is calculated; the calculation formula for the optimal number of connections is: Among them, COP IP The optimal number of connections for key nodes at the IP level; Define the comprehensive performance index: JKP(uo) = s1·DKL(uo) + s2·CYH(uo), where JKP(uo) is the comprehensive performance index of the optimized link uo, DKL(uo) is the bandwidth of the optimized link uo, CYH(uo) is the delay of the optimized link uo, s1 is the bandwidth weight, and s2 is the delay weight; For the optimized link uo, its bandwidth is defined as DKL(uo) = DKL'(uo)·(1+min(1,max(0.1,1-DFZ))·LQ(uo)), where DKL'(uo) is the current bandwidth of the optimized link uo, LQ(uo) is the link criticality indicator of the optimized link uo, and DFZ is the average load rate of the current initial network topology model; The optimal number of connections calculated from the first KH key nodes is used as the basis, and the optimization goal of the initial network topology structure model is defined as maximizing the comprehensive performance index; that is, the optimized network topology structure model is obtained.
7. The wireless ad hoc network intercom communication method according to claim 6, characterized in that: The method for obtaining the optimal communication path includes: A routing table is maintained for each node uy in the optimized network topology model. Each item in the routing table is (ds, nexthop), where ds represents the destination node and nexthop represents the next hop neighbor node to reach ds. Initially, only directly connected neighbor nodes are added to the routing table. Each node periodically sends a Hello packet to its neighbor nodes. A topology table is initialized. For each neighbor node dj, the routing metric to reach dj is calculated. (dj, metric) is added to the topology table of node uy. For the destination node dt, search all routing tables to determine whether there is a path to dt (dt, nexthop). If so, use the routing metric of the path as the initial routing metric, denoted as cmc. Traverse the neighbor node dj and find out whether there is a path (dt, metric) to dt in the topology table of the neighbor node dj. If so, calculate the total routing metric from node uy through dj to dt, recorded as amc; compare amc and cmc, and take the smaller value as the new routing metric; Repeat until all neighbor nodes are traversed, and use the new routing metric as the final routing metric to dt, and nexthop as the corresponding neighbor node, and update all routing tables; When a node detects a change in the connection status with a neighboring node, it actively sends an updated routing table to the neighboring node; For a pair of wireless communication nodes (ds, dt), the path to dt (dt, nexthop) is found in the routing table of ds, and the optimal next hop is obtained. Then the final optimal path (ds, dt) is the path starting from ds, passing through a series of nexthops until reaching dt, that is, the optimal communication path is obtained.
8. A wireless ad hoc network intercom communication system, used to implement the wireless ad hoc network intercom communication method according to any one of claims 1 to 7, characterized in that: include: An initial model building module, used to obtain geographical location information and wireless signal strength information of wireless communication nodes, and to establish an initial network topology structure model according to the geographical location information and wireless signal strength information; The model optimization module is used to perform graph theory analysis on the initial network topology structure model to obtain key nodes and key links, and optimize the initial network topology structure model according to the key nodes and key links to obtain an optimized network topology structure model; The optimal path allocation module, based on the optimized network topology model, adopts an adaptive routing algorithm to obtain the optimal communication path between wireless communication nodes, and allocates the optimal communication path to each wireless communication node; wireless intercom communication is performed using the allocated optimal communication path, and each module is connected by wired and / or wireless means.
