A method and system for clustering nodes in underwater acoustic networks based on biconnected graphs
Through the node clustering method of hydroacoustic network based on biconnected graph, the problems of high node cost and difficulty in redundancy coverage in hydroacoustic network are solved, the establishment of hierarchical network topology is realized, and the information conflict and packet loss rate are reduced. , extending the network life.
Patent Information
- Application Number
- CN202410505798.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-04-25
AI Technical Summary
In hydroacoustic networks, especially in shallow water acoustic networks composed of anchor bottom submersible nodes, the node cost is high and it is difficult to achieve high redundancy coverage. The existing clustering method results in clusters governed by each cluster head node. The number of members is too small to achieve the purpose of hierarchical management, resulting in increased information conflict probability, high packet loss rate, prolonged end-to-end time, and may even cause network collapse.
A hydroacoustic network node clustering method based on a biconnected graph is adopted. By establishing a full-power connectivity matrix and a propagation loss matrix, the biconnected graph segmentation algorithm is used to cluster the nodes, and the transmission power of the node is adjusted according to the propagation loss matrix, and necessary additions are made. links until preset connectivity requirements are met, and small clusters are merged to establish a hierarchical network topology.
It effectively establishes a hierarchical network topology, reduces the probability of information conflict and packet loss rate, extends the life of the network, and improves the connectivity and stability of the network.
Smart Images

Figure CN118201024B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of underwater acoustic communication data processing, and in particular to an underwater acoustic network node clustering method and system based on a dual-connectivity graph. Background Art
[0002] Considering the characteristics of underwater acoustic communication, when the scale of the underwater acoustic network is large (the number of nodes in the network exceeds a certain number, such as 16), the probability of information conflict will increase. If the flat network topology is still used, the data interaction process of the underwater acoustic network will face problems such as high packet loss rate and extended end-to-end time. In severe cases, it may even cause network collapse. At this time, network topology control and transmission power management become particularly important.
[0003] Existing clustering methods such as LEACH (Low Energy Adaptive Clustering Hierarchy), HEED, K-MEANS (k-means) and its improved methods are mostly suitable for wireless sensor networks with high coverage redundancy. That is to say, network nodes are arranged at a high density in the space that needs to be covered, so that there are more neighboring nodes within the communication range of a node, and then the network nodes are clustered according to the principle of minimum energy consumption, maximum connectivity, load balancing or uniform node density. Cluster member nodes can communicate with the cluster head node to which they belong. The cluster head node can communicate not only with the cluster members under its jurisdiction, but also with other cluster head nodes to ensure the connectivity of the entire network, and extend the network life by replacing the cluster head node and cluster member nodes.
[0004] However, in underwater acoustic networks, especially in shallow water acoustic networks composed of anchored buoy nodes, the node cost is high, and it is generally difficult to achieve high redundancy coverage of the mission sea area, that is, the number of neighbor nodes within the communication range of the node is small. If the existing clustering method is used, the number of cluster member nodes under the jurisdiction of each cluster head node will be small, and the purpose of hierarchical management of the network cannot be achieved. Summary of the invention
[0005] The purpose of the present invention is to overcome the above-mentioned defects of the prior art, thereby providing a method and system for clustering nodes in an underwater acoustic network based on a biconnected graph.
[0006] In order to solve the above technical problems, the technical solution of the present invention provides an underwater acoustic network node clustering method based on a biconnected graph, comprising:
[0007] Step 1: Establish the full power connectivity matrix M and propagation loss matrix TL of the underwater acoustic network including all nodes;
[0008] Step 2: Use the biconnected graph partitioning algorithm to cluster the nodes according to the full power connectivity matrix M;
[0009] Step 3: Make the nodes at the cut point transmit at full power, and based on the propagation loss matrix TL, reduce the transmission power level of other nodes, update the full power connectivity matrix M, and obtain the connectivity matrix M';
[0010] Step 4: Use the biconnected graph partitioning algorithm to cluster the nodes according to the connectivity matrix M';
[0011] Step 5: Determine the connectivity of the connectivity matrix M'. If it does not meet the preset connectivity requirements, add necessary links, update the connectivity matrix M' and use the biconnected graph partitioning algorithm to perform clustering until the connectivity matrix M' meets the preset connectivity requirements and execute step 6; otherwise, directly execute step 6;
[0012] Step 6: Merge clusters that contain the same nodes and whose number of nodes is less than the preset value to obtain the final clustering result.
[0013] As an improvement of the above method, the step 1 also includes: initializing parameter settings, wherein the total number of nodes in the underwater acoustic network is set to N, the upper limit of neighbor nodes is set to L, the upper limit of the number of nodes contained in each cluster is set to C, the node full-power transmission source level is set to SL, and the number of node transmission power gears is set to G; the full-power communication radius of the node is measured to be R kilometers in the deployment sea area; and the underwater acoustic network nodes are deployed one by one, wherein the distance between the newly deployed node and the deployed node is not less than R / 5 kilometers, and there is at least one or more deployed nodes within the communication radius of the newly deployed node to ensure the full connectivity of the entire underwater acoustic network.
[0014] As an improvement of the above method, the step 1 specifically includes:
[0015] Create a blank full-power connectivity matrix M0:
[0016]
[0017] The blank full-power connectivity matrix M0 contains N×N elements, and the element in the i-th column and j-th row is denoted by m ij , i∈[1,2,3,…,N], j∈[1,2,3,…,N], N is the total number of nodes in the underwater acoustic network;
[0018] Create a blank propagation loss matrix TL0:
[0019]
[0020] Among them, the blank propagation loss matrix TL0 contains N×N elements, and the element in the i-th column and j-th row is denoted as tl ij ;
[0021] Let all nodes transmit signals at full power in turn. If the signal transmitted by node i is correctly received by node j, then m ij The corresponding position is recorded as 1, and node j estimates the signal-to-noise ratio SNR based on the received signal, calculates the propagation loss = SL-SNR, and records the propagation loss result in tl ij Corresponding position, where SL is the node full power transmission source level; otherwise, m ij The corresponding position is recorded as 0, tl ij The corresponding position is recorded as ∞, and the full power connectivity matrix M and propagation loss matrix TL containing all nodes are obtained.
[0022] As an improvement of the above method, in step 2, step 4 and step 5, the step of clustering using the biconnected graph segmentation algorithm is:
[0023] The biconnected graph partitioning algorithm is used to perform clustering according to the corresponding full power connectivity matrix M or connectivity matrix M', and the obtained cluster sets are CS1, CS2, ..., CS d , the cut point set is CN, where d is a positive integer; each isolated node that does not belong to any biconnected cluster set is recorded as a biconnected cluster set CS d+1 ,CS d+2 ,…,CS D , where D is a positive integer and D ≥ d, to complete clustering.
[0024] As an improvement of the above method, step 3 specifically includes: for the i-th node, performing the following steps:
[0025] Determine whether the i-th node belongs to the cut point set CN. If so, keep the node transmitting at full power. The i-th column of the connectivity matrix M' is assigned to the i-th column of the full power connectivity matrix M. Otherwise, reduce the transmission power level of the node according to the propagation loss matrix TL so that the number of its neighbor nodes does not exceed L. The reduced transmission power level ensures that all L neighbor nodes can correctly decode the communication signal. The L neighbor nodes are denoted as {Nb1, Nb2, ..., Nb L}, the i-th column of the connectivity matrix M' is {Nb1, Nb2, ..., Nb L The row is assigned the value of the ith column {Nb1, Nb2, ..., Nb L} row, and all other rows in the i-th column of the connectivity matrix M' are set to 0.
[0026] As an improvement of the above method, in step 5, adding necessary links, updating the connectivity matrix M' and clustering specifically include:
[0027] Set the initial value of the preset propagation loss comparison value TLmin to ∞, and traverse all clusters with the fewest number of nodes. Among them, for each cluster CS with the fewest number of nodes x , where X ∈ [1, D], the following steps are performed for each one:
[0028] Each node in the cluster CS with the fewest number of nodes x is denoted as node P, and each node outside the cluster CS x is denoted as node Q; the following operations are performed for each node P and node Q:
[0029] If the element m PQ in the full-power connectivity matrix M is equal to the element m' PQ in the connectivity matrix M', or m PQ = 0 and m' PQ = 1, no operation is performed and continue traversing;
[0030] If m PQ = 1 and m' PQ = 0, compare the element tl PQ in the propagation loss matrix TL with the preset propagation loss comparison value TLmin. When tl PQ < TLmin, assign the preset propagation loss comparison value TLmin to tl PQ , denote the current node P as the starting node S of the shortest link, and the current node Q as the terminating node Z of the shortest link, continue traversing. When tl PQ ≥ TLmin, no operation is performed and continue traversing;
[0031] After completing the traversal, for all starting nodes S of the shortest links and the corresponding terminating nodes Z, assign 1 to the element m' SZ in the connectivity matrix M', and assign 1 to m' ZS ; adjust the transmission power levels of the starting node S and the terminating node Z respectively; use the biconnected graph partitioning algorithm to perform clustering according to the augmented connectivity matrix M'.
[0032] As an improvement of the above method, step 6 specifically includes: starting from cluster CS1, search backward one by one to check if there are the same nodes between any clusters
[0033] If the current cluster CS g has no same nodes with its subsequent cluster, skip the subsequent cluster and continue to check the next cluster of the subsequent cluster; if the current cluster CS g has the same nodes with its subsequent cluster, check the current cluster CS gThe sum of the number of nodes contained in the subsequent clusters is greater than the preset value C, then the subsequent cluster is skipped and the next cluster of the subsequent cluster is checked; if the sum of the number of nodes is less than the preset value C, the current cluster CS is g Merge into the subsequent cluster and delete the current cluster CS g ; Among them, 1≤g≤D;
[0034] After traversing all clusters, repeat step 6 until the sum of the number of nodes in any two clusters is greater than the preset value C.
[0035] To achieve another object of the present invention, the present invention also provides an underwater acoustic network node clustering system based on a dual-connected graph, comprising:
[0036] An initial establishment module is used to establish the full power connectivity matrix M and propagation loss matrix TL of the underwater acoustic network including all nodes;
[0037] A full power connectivity matrix clustering module is used to cluster nodes according to the full power connectivity matrix M using a biconnected graph partitioning algorithm;
[0038] The connectivity matrix establishment module is used to make the nodes at the cut points transmit at full power, and based on the propagation loss matrix TL, reduce the transmission power level of other nodes, update the full power connectivity matrix M, and obtain the connectivity matrix M';
[0039] A connectivity matrix clustering module is used to cluster nodes according to the connectivity matrix M' using a biconnected graph partitioning algorithm;
[0040] A link supplementation module, used to determine the connectivity of the connectivity matrix M'. If it does not meet the preset connectivity requirements, it is used to supplement necessary links, update the connectivity matrix M' and perform clustering using a biconnected graph partitioning algorithm until the connectivity matrix M' meets the preset connectivity requirements; and
[0041] The merging module is used to merge clusters containing the same nodes and the number of nodes contained is less than a preset value to obtain the final clustering result.
[0042] Compared with the prior art, the advantages of the present invention are that the method and system for clustering underwater acoustic network nodes based on a dual-connected graph of the present invention utilize the idea of topology management using a dual-connected segmentation graph, adjust the number of neighbors of each node by controlling the node transmission power, and then use the dual-connected graph segmentation algorithm to find reasonable dual-connected components (clusters), cluster the underwater acoustic network, and establish a hierarchical network topology structure. The so-called reasonable means that for several clusters separated from the underwater acoustic network, any two clusters are directly or indirectly connected, the number of nodes contained in each cluster is not much different, and the node distribution position is relatively concentrated. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 It is a schematic diagram of a method for clustering underwater acoustic network nodes based on a dual-connectivity graph provided in an embodiment of the present application;
[0045] Figure 2(a) is a schematic diagram of the connectivity of each node before clustering;
[0046] Figure 2(b) is the calculation result of the biconnected graph;
[0047] Figure 2(c) is the clustering result;
[0048] Figure 3 This is a clustering result diagram of 16 nodes provided in an embodiment of the present application;
[0049] Figure 4 This is a clustering result diagram of 36 nodes provided in an embodiment of the present application;
[0050] Figure 5 This is a clustering result diagram of 64 nodes provided in an embodiment of the present application;
[0051] Figure 6 This is a clustering result diagram of 100 nodes provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solution provided by the present invention is further illustrated below in conjunction with embodiments.
[0053] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0054] In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way.
[0055] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "multiple" means two or more. For example, multiple systems refers to two or more systems, and multiple screen terminals refers to two or more screen terminals.
[0056] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0057] Example 1
[0058] This embodiment provides a method for clustering nodes in an underwater acoustic network based on a biconnected graph. Figure 1 As shown, the following steps are included:
[0059] Step 1) Initialize parameter settings.
[0060] Set the total number of underwater acoustic network nodes to N, the upper limit of neighbor nodes to L, the upper limit of the number of nodes in each cluster to C, the node full-power transmission source level to SL, and the number of node transmission power gears to G; measure the node full-power communication radius to be R kilometers in the deployment sea area; deploy underwater acoustic network nodes one by one. To avoid nodes being too dense or too sparse, ensure that the distance between the newly deployed nodes and the deployed nodes is not less than R / 5 kilometers, and there must be at least one (including) deployed nodes within the communication radius of the newly deployed nodes to ensure full connectivity of the entire underwater acoustic network. After initialization, proceed to step 2).
[0061] Step 2) Establish the full power connectivity matrix M and propagation loss matrix TL of all nodes.
[0062] Each node establishes a blank full-power connectivity matrix M0 and a blank propagation loss matrix TL0; M0 contains N×N elements, denoted as m ij ,ij∈[1,2,3,…,N], as shown in formula (1); TL0 contains N×N elements, denoted as tl ij ,ij∈[1,2,3,…,N], as shown in formula (2);
[0063]
[0064]
[0065] All nodes transmit signals at full power in turn. If the signal transmitted by node i can be correctly received by node j, then m ij =1, and node j estimates the signal-to-noise ratio SNR based on the received signal and calculates the propagation loss tl ij =SL-SNR; On the contrary, if the signal transmitted by node i cannot be correctly received by node j, then m ij =0,tl ij Recorded as infinite; to establish the full power connectivity matrix M and propagation loss matrix TL containing all nodes, and after the establishment, proceed to step 3).
[0066] Step 3) Use the existing biconnected graph segmentation algorithm to find the cut points according to the full power connectivity matrix M.
[0067] The full power connectivity matrix M and the propagation loss matrix TL are summarized and distributed to each node. The following steps are completed independently by each node; the existing biconnected graph segmentation algorithm is used to find the cut point according to the full power connectivity matrix M; the set of biconnected components (clusters) obtained by scoring clusters is CS1, CS2, ..., CS d , (d is a positive integer), the set of cut points is CN; the cut points may belong to different biconnected components (clusters) at the same time; after clustering, a small number of isolated nodes that do not belong to any biconnected component (cluster) may be obtained, and each isolated node is recorded as a biconnected component (cluster) CS d+1 ,CS d+2 ,…,CS D , (D is a positive integer, and D≥d); after the initial clustering is completed, go to step 4).
[0068] Step 4) Reduce the transmission power level of each node in turn, and update the full power connectivity matrix M to M'.
[0069] Taking node i as an example, if node i belongs to the cut point set CN, it maintains its full power transmission, and the i-th column of M' is assigned to the i-th column of M; otherwise, according to the propagation loss matrix TL, the transmission power level of node i is reduced so that the number of its neighbor nodes does not exceed L, so as to ensure that these L neighbor nodes can correctly decode the communication signal. This is the principle of reducing the transmission power level. These L neighbor nodes are denoted as {Nb1, Nb2, ..., Nb L}, the i-th column of M' {Nb1, Nb2, ..., Nb L The value of the row is assigned to the i-th column of M {Nb1, Nb2, ..., Nb L} row, and all other rows in the i-th column of M' are set to 0; after the adjustment is completed, go to step 5).
[0070] Step 5) clustering is performed according to the connectivity matrix M' using the existing biconnected graph segmentation algorithm.
[0071] Cluster according to the connectivity matrix M' using the existing biconnected graph segmentation algorithm, and denote the obtained cluster set as CS1, CS2, …, CS d , and after clustering, there may be a small number of isolated nodes that do not belong to any cluster. Each isolated node is separately denoted as a cluster CS d+1 , CS d+2 , …, CS D ; After clustering is completed, proceed to step 6).
[0072] Step 6) Use the existing union-find algorithm to check the connectivity of the entire graph and supplement the necessary links.
[0073] For the full connectivity of the connectivity matrix M', if the full connectivity is satisfied, proceed to step 7); otherwise, find the link with the shortest distance between all the clusters with the smallest number and other clusters. Denote the starting and ending nodes as S and Z respectively, and supplement this link in M'.
[0074] The specific steps are as follows: Set a preset propagation loss comparison value, and traverse all the clusters with the smallest number. Taking the cluster CS x as an example, X ∈ [1, D], for each node (denoted as P) in the cluster CS x and each node (denoted as Q) outside the cluster CS x , if m PQ is equal to m' PQ or m PQ = 0 but m' PQ = 1, then do not perform any operation and continue traversing; otherwise, that is, when m PQ = 1 and m' PQ = 0, compare tl PQ with TLmin. If tl PQ ≥ TLmin, then do not perform any operation and continue traversing; otherwise, that is, when tl PQ < TLmin, assign TLmin to tl PQ , record the current node P as the starting node S of the shortest link, and the current node Q as the ending node Z of the shortest link;
[0075] After the traversal is completed, for all the starting nodes S of the shortest links and the corresponding ending nodes Z, assign the element m' SZ in M' to 1, and also assign m' ZS to 1; Adjust the transmission power levels of node S and node Z respectively based on the principle of ensuring that both node S and node Z can correctly decode each other's communication signals;
[0076] Cluster according to the connectivity matrix M' after supplementing the link using the existing biconnected graph segmentation algorithm, and denote the obtained cluster set as CS1, CS2, …, CS dAfter clustering, a small number of isolated nodes that do not belong to any cluster may be obtained. Each isolated node is recorded as a cluster CS. d+1 ,CS d+2 ,…,CS D ; Repeat step 6).
[0077] Step 7) Merge the scattered small clusters containing the same nodes into large clusters.
[0078] Starting from cluster CS1, search backwards one by one to see if there are any common nodes between any clusters, and merge the clusters containing the same nodes; the specific steps are: g For example, if cluster CS g Its successor cluster CS e (e is a positive integer,) if there is no identical node, skip CS e , continue to view CS e+1 ; If cluster CS g Its successor cluster CS e If there are identical nodes, check cluster CS g With cluster CS e The total number of nodes included. If the total number is greater than C, skip CS e , continue to view CS e+1 ; If the sum of the numbers is less than C, cluster CS g Merge into cluster CS e and delete cluster CS g ;
[0079] After traversing all clusters, repeat step 7) until the sum of the number of nodes in any two clusters is greater than C, and then the method ends.
[0080] The concept is explained with reference to Figure 2. Figure 2(a) shows the connectivity of each node before clustering, Figure 2(b) shows the calculation result of the dual-connected segmentation graph, and Figure 2(c) shows the clustering result obtained by this method. According to the dual-connected segmentation graph method, the cut points in the figure are determined to be 4, 6, and 7. Nodes 1, 2, and 3 connected to node 4 are divided into a cluster (marked in red), and nodes 8 and 9 connected to node 7 are divided into a cluster (marked in yellow). Since nodes 10 and 11 connected to node 6 are not connected to each other, they are each in a cluster (marked in green and orange, respectively). In addition, several cut points are connected to each other, forming a backbone network (marked in blue).
[0081] This method was used to simulate clustering of underwater acoustic networks consisting of 16 nodes, 36 nodes, 64 nodes, and 100 nodes. The nodes were randomly placed under the condition that there was at least one other node within the communication range of the node and the distance to the nearest node was not less than 3000m. Other simulation conditions are as follows:
[0082] Sea depth: 300m; Communication distance: 10km; Carrier frequency: 12kHz; Constant sound velocity profile.
[0083] The clustering results are as follows: Figure 3 , Figure 4 , Figure 5 , Figure 6 As shown. Figure 3 Take the example to briefly explain the implementation process.
[0084] First, the total number of underwater acoustic network nodes is set to 16, the upper limit of neighbor nodes is 2, the upper limit of the number of nodes in each cluster is 7, and the number of node transmission power levels is 10; the full-power communication radius of the node is measured to be 10 kilometers in the deployment sea area; the underwater acoustic network nodes are deployed one by one. To avoid the nodes being too dense or too sparse, it is necessary to ensure that the distance between the newly deployed nodes and the deployed nodes is not less than 2 kilometers, and there must be at least one (or more) deployed nodes within the communication radius of the newly deployed nodes to ensure the full connectivity of the entire underwater acoustic network.
[0085] Table 1 Figure 3 The full power connectivity matrix M of the 16 nodes shown
[0086] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 0 1 1 0 0 1 0 1 0 0 0 1 0 1 1 0 2 1 0 0 1 0 1 0 1 0 1 0 0 0 1 1 0 3 1 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 4 0 1 1 0 1 0 0 0 1 1 0 0 1 1 0 0 5 0 0 0 1 0 0 1 0 1 0 0 0 1 0 0 0 6 1 1 0 0 0 0 0 1 0 1 0 1 0 1 1 0 7 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 8 1 1 0 0 0 1 0 0 0 0 0 1 0 0 1 0 9 0 0 0 1 1 0 0 0 0 1 0 0 1 0 0 0 10 0 1 0 1 0 1 0 0 1 0 0 0 0 1 1 0 11 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 12 1 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 13 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 14 1 1 1 1 0 1 0 0 0 1 0 0 0 0 0 0 15 1 1 0 0 0 1 0 1 0 1 0 1 0 0 0 0 16 0 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0
[0087] Secondly, the connectivity matrix M under the full-power transmission condition of all nodes is established as shown in Table 1. The existing biconnected graph partitioning algorithm is used to find the cut points according to the full-power connectivity matrix M. As a result, all nodes are divided into the same cluster, and the cut point set is an empty set.
[0088] The propagation loss matrix TL is shown in Table 2.
[0089] Table 2 Figure 3 The propagation loss matrix TL of the 16 nodes shown
[0090]
[0091]
[0092]
[0093] The existing biconnected graph segmentation algorithm is used to perform clustering according to the connectivity matrix M. The clustering result is CS1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}, and CN is an empty set.
[0094] Then, the transmit power of each node is reduced in turn, and the full power connectivity matrix M is updated to M', as shown in Table 3. The existing biconnected graph partitioning algorithm is used to perform clustering according to the connectivity matrix M'. The clustering results are CS1 = {12,15}, CS2 = {8,15}, CS3 = {1,8}, CS4 = {11,16}, CS5 = {3,16}, CS6 = {3,14}, CS7 = {1,14}, CS8 = {2,6,10}, CS9 = {5,7}, CS 10 ={5,13}, CS 11 ={4,9,13}, CN={1,3,5,8,13,14,15,16}.
[0095] Table 3 Figure 3 The connectivity matrix M' of the 16 nodes shown
[0096] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 2 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 4 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 5 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 6 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 7 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 8 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 9 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 10 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 11 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 12 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 13 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 14 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 16 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0
[0097] Use the existing union-find algorithm to check the connectivity of the entire graph and find that it does not meet the connectivity of the entire graph. Find a link with the smallest number of clusters CS1 and CS8 that is closest to each other, with the starting and ending points being nodes 6 and 15 respectively. Replace the element m'6 in M' with 15 and m' 15 6 is set to 1, and the transmission power of node 6 and node 15 is adjusted to ensure that the other party can correctly receive the communication signal. The existing biconnected graph partitioning algorithm is used to cluster the connectivity matrix M' after adding links. The clustering results are CS1 = {2,6,10}, CS2 = {6,15}, CS3 = {12,15}, CS4 = {8,15}, CS5 = {1,8}, CS6 = {11,16}, CS7 = {3,16}, CS8 = {3,14}, CS9 = {1,14}, CS 10 ={5,7}, CS 11 ={5,13}, CS 12 ={4,9,13}, CN={1,3,5,6,8,13,14,15,16}.
[0098] The existing union-find algorithm is used again to check the connectivity of the entire graph. It is found that the connectivity of the entire graph is still not satisfied. The clusters CS8 and CS with the least number of clusters are found. 12 The closest link starts and ends at nodes 4 and 14 respectively. 14 and m' 144 is set to 1, and the transmission power of node 4 and node 14 is adjusted to ensure that the other party can correctly receive the communication signal. The existing biconnected graph partitioning algorithm is used to cluster the connectivity matrix M' after adding links. The clustering results are CS1 = {2,6,10}, CS2 = {6,15}, CS3 = {12,15}, CS4 = {8,15}, CS5 = {1,8}, CS6 = {11,16}, CS7 = {3,14}, CS8 = {3,16}, CS9 = {5,7}, CS 10 ={5,13}, CS 11 ={4,9,13}, CS 12 ={4,14},CS 13 ={1,14}, CN={1,3,4,5,6,8,13,14,15,16}.
[0099] The existing union-find algorithm is used again to check the connectivity of the entire graph. It is found that the connectivity of the entire graph has been met and no more links are added.
[0100] The scattered small clusters are merged into large clusters. The first round of merging process is as follows: merge CS1 into CS2, merge CS2 into CS3, merge CS3 into CS4, merge CS4 into CS5, and get the first large cluster CS5 = {1, 2, 6, 8, 10, 12, 15}; merge CS7 into CS 13 In , merge CS8 into CS 13 In the 12 Merge into CS 13 In the example above, we get the second large cluster CS 13 ={1,3,4,14,16}; merge CS9 into CS 10 In the 10 Merge into CS 11 In the above example, we get the third large cluster CS 11 ={4,5,7,9,13};
[0101] The second round of merging process, merging CS6 into CS 13 In the 13 Updated to {1,3,4,14,11,16}.
[0102] So far, three clusters are obtained: {1,2,6,8,10,12,15}, {1,3,4,14,11,16}, {4,5,7,9,13}, among which nodes 1 and 4 are cut points.
[0103] Finally, the transmit power gears of the 16 nodes are 4, 8, 5, 4, 4, 6, 6, 5, 6, 6, 4, 8, 4, 4, 6, 4, where gear 1 is the highest transmit power gear and gear 10 is the lowest transmit power gear.
[0104] This method ends.
[0105] Example 2
[0106] This embodiment provides an underwater acoustic network node clustering system based on a dual-connected graph, including:
[0107] An initial establishment module is used to establish the full power connectivity matrix M and propagation loss matrix TL of the underwater acoustic network including all nodes;
[0108] A full power connectivity matrix clustering module is used to cluster nodes according to the full power connectivity matrix M using a biconnected graph partitioning algorithm;
[0109] The connectivity matrix establishment module is used to make the nodes at the cut points transmit at full power, and based on the propagation loss matrix TL, reduce the transmission power level of other nodes, update the full power connectivity matrix M, and obtain the connectivity matrix M';
[0110] A connectivity matrix clustering module is used to cluster nodes according to the connectivity matrix M' using a biconnected graph partitioning algorithm;
[0111] A link supplementation module, used to determine the connectivity of the connectivity matrix M'. If it does not meet the preset connectivity requirements, it is used to supplement necessary links, update the connectivity matrix M' and perform clustering using a biconnected graph partitioning algorithm until the connectivity matrix M' meets the preset connectivity requirements; and
[0112] The merging module is used to merge clusters containing the same nodes and the number of nodes contained is less than a preset value to obtain the final clustering result.
[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention is described in detail with reference to the embodiments, it should be understood by those skilled in the art that any modification or equivalent replacement of the technical solutions of the present invention does not depart from the spirit and scope of the technical solutions of the present invention and should be included in the scope of the claims of the present invention.
Claims
1. A method for clustering underwater acoustic network nodes based on a dual-connected graph, comprising: Step 1: Establish the full power connectivity matrix M and propagation loss matrix TL of the underwater acoustic network including all nodes; Step 2: Use the biconnected graph partitioning algorithm to cluster the nodes according to the full power connectivity matrix M; Step 3: Make the nodes at the cut point transmit at full power, and based on the propagation loss matrix TL, reduce the transmission power level of other nodes, update the full power connectivity matrix M, and obtain the connectivity matrix M'; Step 4: Use the biconnected graph partitioning algorithm to cluster the nodes according to the connectivity matrix M'; Step 5: Determine the connectivity of the connectivity matrix M'. If it does not meet the preset connectivity requirements, add necessary links, update the connectivity matrix M' and use the biconnected graph partitioning algorithm to perform clustering until the connectivity matrix M' meets the preset connectivity requirements, and then execute step 6; Otherwise, go directly to step 6; Step 6: Merge clusters that contain the same nodes and whose number of nodes is less than the preset value to obtain the final clustering result; In step 2, step 4 and step 5, the steps of clustering using the biconnected graph segmentation algorithm are: The biconnected graph partitioning algorithm is used to perform clustering according to the corresponding full power connectivity matrix M or connectivity matrix M', and the obtained cluster sets are CS1, CS2, ..., CS d , the cut point set is CN, where d is a positive integer; each isolated node that does not belong to any biconnected cluster set is recorded as a biconnected cluster set CS d+1 ,CS d+2 ,…,CS D , where D is a positive integer and D ≥ d, to complete clustering; In step 5, adding necessary links, updating the connectivity matrix M' and clustering specifically include: Set the initial value of the preset propagation loss comparison value TLmin to ∞, traverse all clusters with the least number of nodes, where for each cluster CS with the least number of nodes x , where X∈[1,D], the following steps are performed: The cluster CS that contains the least number of nodes x Each node in is denoted as node P, and cluster CS x Each node outside is recorded as node Q; for each node P and node Q, the following operations are performed: If the element m in the full power connectivity matrix M PQ and element m' in the connectivity matrix M' PQ Equal or m PQ = 0 and m' PQ =1, do not perform the operation and continue traversal; If m PQ = 1 and m' PQ = 0, compare the element tl PQ in the propagation loss matrix TL with the preset propagation loss comparison value TLmin. When tl PQ < TLmin, assign the preset propagation loss comparison value TLmin to tl PQ , record the current node P as the starting node S of the shortest link, record the current node Q as the terminating node Z of the shortest link, and continue the traversal. When tl PQ ≥ TLmin, do not perform any operation and continue the traversal; After the traversal is completed, for all the shortest links of the starting node S and the corresponding end node Z, the element m' in the connectivity matrix M' is SZ Assign a value of 1, m' ZS Assign a value of 1; adjust the transmission power gears of the starting node S and the ending node Z respectively; and use the biconnected graph partitioning algorithm to perform clustering according to the connectivity matrix M' after adding links.
2. The method for clustering underwater acoustic network nodes based on a biconnected graph according to claim 1, characterized in that: Before step 1, it also includes: initialization parameter setting, wherein the total number of nodes in the underwater acoustic network is set to N, the upper limit of neighbor nodes is set to L, the upper limit of the number of nodes contained in each cluster is set to C, the node full-power transmission source level is set to SL, and the number of node transmission power gears is set to G; the full-power communication radius of the node is measured in the deployment sea area to be R kilometers; the underwater acoustic network nodes are deployed one by one, wherein the distance between the newly deployed node and the deployed node is not less than R / 5 kilometers, and there is at least one or more deployed nodes within the communication radius of the newly deployed node to ensure the full connectivity of the entire underwater acoustic network.
3. The method for clustering underwater acoustic network nodes based on a biconnected graph according to claim 1, characterized in that: The step 1 specifically includes: Create a blank full-power connectivity matrix M0: The blank full-power connectivity matrix M0 contains N×N elements, and the element in the i-th column and j-th row is denoted by m ij , i∈[1,2,3,…,N], j∈[1,2,3,…,N], N is the total number of nodes in the underwater acoustic network; Create a blank propagation loss matrix TL0: Among them, the blank propagation loss matrix TL0 contains N×N elements, and the element in the i-th column and j-th row is denoted as tl ij ; Let all nodes transmit signals at full power in turn. If the signal transmitted by node i is correctly received by node j, then m ij The corresponding position is recorded as 1, and node j estimates the signal-to-noise ratio SNR based on the received signal, calculates the propagation loss = SL-SNR, and records the propagation loss result in tl ij Corresponding position, where SL is the node full power transmission source level; otherwise, m ij The corresponding position is recorded as 0, tl ij The corresponding position is recorded as ∞, and the full power connectivity matrix M and propagation loss matrix TL containing all nodes are obtained.
4. The method for clustering underwater acoustic network nodes based on a biconnected graph according to claim 1, characterized in that: The step 3 specifically includes: for the i-th node, performing the following steps: Determine whether the i-th node belongs to the cut point set CN. If so, keep the node transmitting at full power. The i-th column of the connectivity matrix M' is assigned to the i-th column of the full power connectivity matrix M. Otherwise, reduce the transmission power level of the node according to the propagation loss matrix TL so that the number of its neighbor nodes does not exceed L. The reduced transmission power level ensures that all L neighbor nodes can correctly decode the communication signal. The L neighbor nodes are denoted as {Nb1, Nb2, ..., Nb L }, the i-th column of the connectivity matrix M' is {Nb1, Nb2, ..., Nb L The row is assigned the value of the ith column {Nb1, Nb2, ..., Nb L } row, and all other rows in the i-th column of the connectivity matrix M' are set to 0.
5. The method for clustering underwater acoustic network nodes based on a biconnected graph according to claim 1, characterized in that: The step 6 specifically includes: starting from cluster CS1, searching backward one by one whether there are the same nodes between any clusters, If the current cluster CS g If the current cluster CS has no common nodes with its subsequent cluster, the subsequent cluster is skipped and the next cluster of the subsequent cluster is checked. g If the same node exists in the subsequent cluster, check the current cluster CS g The sum of the number of nodes contained in the subsequent clusters is greater than the preset value C, then the subsequent cluster is skipped and the next cluster of the subsequent cluster is checked; if the sum of the number of nodes is less than the preset value C, the current cluster CS is g Merge into the subsequent cluster and delete the current cluster CS g ; Among them, 1≤g≤D; After traversing all clusters, repeat step 6 until the sum of the number of nodes in any two clusters is greater than the preset value C.
6. An underwater acoustic network node clustering system based on a dual-connected graph, comprising: An initial establishment module is used to establish the full power connectivity matrix M and propagation loss matrix TL of the underwater acoustic network including all nodes; A full power connectivity matrix clustering module is used to cluster nodes according to the full power connectivity matrix M using a biconnected graph partitioning algorithm; The connectivity matrix establishment module is used to make the nodes at the cut points transmit at full power, and based on the propagation loss matrix TL, reduce the transmission power level of other nodes, update the full power connectivity matrix M, and obtain the connectivity matrix M'; A connectivity matrix clustering module is used to cluster nodes according to the connectivity matrix M' using a biconnected graph partitioning algorithm; A link supplementation module is used to determine the connectivity of the connectivity matrix M'. If it does not meet the preset connectivity requirements, it is used to supplement necessary links, update the connectivity matrix M' and perform clustering using a biconnected graph partitioning algorithm until the connectivity matrix M' meets the preset connectivity requirements; and A merging module is used to merge clusters containing the same nodes and the number of nodes contained is less than a preset value to obtain the final clustering result; The steps of clustering by the full-power connectivity matrix clustering module, the connectivity matrix clustering module and the link supplementation module using the biconnected graph partitioning algorithm are as follows: The biconnected graph partitioning algorithm is used to perform clustering according to the corresponding full power connectivity matrix M or connectivity matrix M', and the obtained cluster sets are CS1, CS2, ..., CS d , the cut point set is CN, where d is a positive integer; each isolated node that does not belong to any biconnected cluster set is recorded as a biconnected cluster set CS d+1 ,CS d+2 ,…,CS D , where D is a positive integer and D ≥ d, to complete clustering; The link supplementation module supplements necessary links, updates the connectivity matrix M' and performs clustering, specifically including: Set the initial value of the preset propagation loss comparison value TLmin to ∞, traverse all clusters with the least number of nodes, where for each cluster CS with the least number of nodes x , where X∈[1,D], the following steps are performed: The cluster CS that contains the least number of nodes x Each node in is denoted as node P, and cluster CS x Each node outside is recorded as node Q; for each node P and node Q, the following operations are performed: If the element m in the full power connectivity matrix M PQ and element m' in the connectivity matrix M' PQ Equal or m PQ = 0 and m' PQ =1, do not perform the operation and continue traversal; If m PQ = 1 and m' PQ = 0, compare the element tl in the propagation loss matrix TL PQ with the preset propagation loss comparison value TLmin. When tl PQ < TLmin, assign the preset propagation loss comparison value TLmin to tl PQ , record the current node P as the starting node S of the shortest link, record the current node Q as the terminating node Z of the shortest link, and continue the traversal. When tl PQ ≥ TLmin, do not perform any operation and continue the traversal; After the traversal is completed, for all the shortest links of the starting node S and the corresponding end node Z, the element m' in the connectivity matrix M' is SZ Assign a value of 1, m' ZS Assign a value of 1; adjust the transmission power gears of the starting node S and the ending node Z respectively; and use the biconnected graph partitioning algorithm to perform clustering according to the connectivity matrix M' after adding links.
