# Measurement Method of Distributed Nodes in Wireless Sensor Networks Based on Multiple Attributes

Authors: Bing Zheng; Jing Yang
Journal: Scientific Programming
 (2021)

---

## Abstract

Wireless sensor network (WSN) is usually organized in a particular area for achieving some specific tasks and functions. It has broad application prospects in military, environmental monitoring, disaster relief, and other many commercial areas. Measuring the significance of distributed nodes is the foundation of many applications of WSN. Therefore, this paper studies the distributed node measurement methods and approaches based on multiple attributes in wireless sensor networks to improve the accuracy of distributed node importance measurement. The entropy weight TOPSIS method is used to calculate the importance index of distributed nodes of degree centrality, eigenvector centrality, compactness centrality, betweenness centrality, K-kernel decomposition centrality, and aggregation coefficient; the PR value of each node is given by combining the PageRank algorithm; and then, the parametersα and β are introduced to calculate the comprehensive importance measurement results of each node, to finally obtain the importance measurement results of each node dynamically through the improved node deletion method. The experimental results of the research show that the proposed method can accurately measure the importance of distributed nodes in wireless sensor networks, and the accuracy is as high as 98%.


---

## Body

## 1. Introduction

Wireless sensor network is a hot research field in the world, which involves highly interdisciplinary and highly integrated knowledge [1]. It integrates sensor technology, embedded computing technology, modern network and wireless communication technology, distributed information processing technology, and so forth. It can monitor, perceive, and collect information of various environments or monitoring objects in real time through various integrated microsensors. The information is sent by the wireless way and transmitted to the user terminal by a self-organizing multihop network [2], so as to realize the connection of the physical world, the computing world, and the human society. Wireless sensor network has a very broad application prospect. It has potential practical value in many important fields, such as military defense, industry and agriculture, urban management, and biomedicine. It has attracted great attention of academic and industrial circles in many countries [3]. It is considered to be one of the technologies that have a great influence on the 21st century. As a new type of information acquisition and processing mode, wireless sensor network (WSN) has randomly distributed nodes integrated with sensors, data processing units, and communication modules [4].With the help of built-in various sensors, it can measure the thermal, infrared, sonar, radar, and seismic signals in its surrounding environment, so as to detect many networks including temperature, humidity, noise, and light intensity. With the rapid development of Internet technology, wireless communication technology, and electronic technology, wireless sensor network has attracted wide attention in the world [5]. Although the wireless sensor network is similar to the ad hoc network, there are also differences. The wireless sensor network is a network system integrated with monitoring, control, and wireless communication. The number of nodes is larger (thousands or even tens of thousands), and the distribution of nodes is more intensive. Due to environmental impact and limited energy, nodes are more prone to failure [6]. Environment interference and node failure are easy to cause the change of network topology. Usually, most sensor nodes are fixed. The processing capacity, storage capacity, and communication capacity of sensor nodes are very limited. In addition, sensor nodes are small in size and usually carry batteries with limited energy. Due to the large number of nodes, low-cost requirements, wide distribution area, and complex deployment area, some areas cannot even be reached by personnel. Therefore, compared with the traditional wireless network, the primary design goal is to provide high-quality service and bandwidth utilization. Wireless sensor network takes data acquisition as the center, and the primary design goal is the efficient use of energy [7], which is also one of the most important differences between the wireless sensor network and traditional network. The typical application of the wireless sensor network is deployed in a specific area to complete the functions of environmental monitoring, target tracking, and positioning. In these applications, sensor nodes transfer the collected data to the server for processing. In order to ensure the validity of data, the importance ranking information of nodes is often essential.Xiaoyang Sun et al. designed a distributed wireless sensor node monitoring system, which has been successfully applied to the evaluation of underground explosion damage effectiveness; Wang Lu et al. studied the node importance measurement based on the weighted method [8]. First, considering the global information of the network, the characteristic center vector value of each node was calculated, and the weights of the nodes at both ends and the edges formed a weighted network. The local information of weighted network is used to calculate the node importance of weighted network; and Gang Hu et al. [9] study the calculation of node importance of complex network based on interpretive structure model and apply interpretive structure model to matrix the relationship between nodes of the directed network to obtain the corresponding adjacency matrix and reachable matrix. The reachable matrix is divided by location and level; the matrix is reduced, and leapfrog and self-adaptive are deleted. The hierarchical digraph of the network is obtained, and the network matrix is weighted to simulate evolution, and the identification and division of network region importance and level importance are given. This method is not only suitable for the hierarchical division and identification of the directed network but also suitable for the node ranking calculation of the directed network. In order to solve the limitations of distributed node measurement, based on multiple attributes, a distributed node measurement method based on multiple attributes is studied, which effectively avoids the limitations of single attribute measurement and improves the accuracy of distributed node importance measurement. The entropy weight TOPSIS method is considered for calculating the importance index of distributed nodes of degree centrality, eigenvector centrality, compactness centrality, betweenness centrality, K-kernel decomposition centrality, and aggregation coefficient; the PR value of each node is given by combining the PageRank algorithm; then, the parameters α and β are introduced to calculate the comprehensive importance measurement results of each node, to finally obtain the importance measurement results of each node dynamically through the improved node deletion method.


## 2. Distributed Node Measurement Method Based on Multiple Attributes in Wireless Sensor Networks

The following sections briefly show the details of this section.


### 2.1. Distributed Node Importance Metrics in Wireless Sensor Networks

LetG=V,E be a wireless sensor network, where V=v1,v2,…,vNis the set of all distributed nodes in the wireless sensor network, V=N; E=e1,e2,…,em⊆V×V is the set of edges between distributed nodes, E=m, A=aij of wireless sensor network, where aij=1 means that distributed node i is connected to distributed node j; otherwise, aij=0.Due to the different evaluation criteria of the importance of distributed nodes, the definition of the importance index of distributed nodes is also different. The importance index of distributed nodes is defined as follows:(1)
Degree centrality:The degree of distributed nodei is defined as the number of neighbors of the node, specifically expressed as(1)Ki=∑j∈Gaij.(2)
Eigenvector centrality:The eigenvector index considers the status and reputation of distributed nodes in wireless sensor networks and considers the reputation of a single node as a linear combination of the reputation of other nodes, so as to obtain a linear equation group. The eigenvector corresponding to the maximum eigenvalue of the system is the importance of each distributed node, which can be specifically expressed as(2)Cei=λ−1∑j=1Naijej,whereλ is the maximum eigenvalue of the adjacency matrix A and e=e1,e2,…,enT is the eigenvector corresponding to the maximum eigenvalue λ of the adjacency matrix A.(3)
Closeness centrality:Compactness is used to measure the ability of distributed nodes in wireless sensor networks to exert influence on other nodes through wireless networks, which can be specifically expressed as(3)Cci=N−1∑j=1Ndij,whered represents the shortest distance from node i to node j.(4)
Betweenness:Betweenness is used to measure an individual's social status, which means the number of nodes passing through all the shortest paths in wireless sensor networks. It can be expressed as(4)Cbi=∑s<tσstiγst,whereγ represents the number of shortest paths between node s and node t and σ represents the number of shortest paths between node s and node t through node i.(5)
Index of location attributes in wireless sensor networks:The index of location attribute of wireless sensor network is K-shell centrality. K-shell is a distributed node importance ranking index obtained by the K-kernel decomposition method, and the importance of nodes is measured according to the position of nodes in the whole wireless sensor network [10].(6)
Aggregation coefficient:Aggregation coefficient is the local attribute of the wireless sensor network of distributed nodes, which reflects the frequency of communication between each node in the wireless sensor network. The aggregation coefficient is inversely proportional to the importance of the distributed node. The larger the calculated value, the weaker the importance of the node. The aggregation coefficient of distributed nodei is defined as the actual number of edges Ei among μi neighboring nodes directly connected to the node divided by the total number of possible edges Cki2, which can be expressed as(5)Cτi=EiCμi2=2Eiμiμi−1.


### 2.2. Node Importance Measurement Method Based on Multiple Attributes and Node Deletion

#### 2.2.1. Node Importance Measurement Attribute

A variety of distributed node importance measurement attributes, including degree centrality, intermediate centrality, and proximity centrality. Distributed node measurement attribute not only describes the basic characteristics of nodes but also can be easily calculated. Based on the above reasons, the six basic attributes of degree centrality, eigenvector centrality, compactness centrality, dielectric centrality, k-kernel decomposition centrality, and aggregation coefficient are selected as part of the multiple attributes in the node importance measurement method integrating multiple attributes and node deletion. After the measurement attribute is selected, it is necessary to consider the influence of attribute value on distributed node importance [11], whether it is positively correlated or negatively correlated, and then unify the attribute value with the node importance measurement relationship. The calculated values of the five attributes selected in this paper, namely, medium centrality, eigenvector centrality, compactness centrality, intermediate centrality, and k-kernel decomposition centrality, are positively correlated with the importance of nodes; that is, the larger the calculated result, the more important the node [12]. The results of the clustering coefficient attribute are negatively correlated with the importance of nodes. In order to unify the correlation of the selected attributes, the calculation formula of compactness centrality should be adjusted to change it into a positive correlation attribute. Given that the maximum value of compactness centrality is 1, the adjusted formula is(6)Cτ′i=1−Cτi=1−2Eiμiμi−1.


#### 2.2.2. PageRank Algorithm

PageRank algorithm is a link analysis algorithm. The idea of the algorithm is that when a high-quality distributed node points to another node, the quality of the other node is related to the quality of the node pointing to it. If the node pointing to it is of good quality and the node being pointed to is of good quality, the regression relationship is used to calculate the importance of the node [13]. The principle of the PageRank algorithm is as follows: firstly, PageRank assigns the same PR value to all nodes in the wireless sensor network; then, it updates the PR value of each node in real time through continuous iterative recursive operation, and so on until the PR value is stable. The result calculated by PageRank is the result of node importance measurement. Its expression is as follows:(7)PRP=1−qn+q∑i=1nPRUiNUi,where PR(P) is the value PR of node P and q is the damping factor bounded by the interval (0,1) and represents the probability that the user continues to visit backward in the process of accessing a certain node at any time [14]. The general value is q=0.85; n is the total number of nodes; U1,U2,…,Un is the node pointing to node P; PR(U) is the PR value of node U pointing to node P; and N is the number of nodes U points to. According to the calculation formula of PageRank, the importance of P node is related to the amount of data transmission of this node. The more the amount of data transmission is [15], the more important P is. At the same time, the more important the node pointing to node P is, the more important node P is, and the greater the PR value of P is.


#### 2.2.3. TOPSIS Algorithm Based on Entropy Weight

TOPSIS is a multiobjective decision-making method. The core idea of this method is to first select a positive ideal solution and a negative ideal solution in wireless sensor networks and then take the solution closest to the positive ideal solution and farthest from the negative ideal solution as the optimal solution [16]. However, TOPSIS does not explain the rationality of attribute weight setting, so the calculation results are subjective. As an objective weighting method, the entropy weight method is often used to determine the weight of each attribute. Its basic idea is to give weight to each attribute according to the amount of information reflected by the variation degree of each evaluation attribute [17]. Therefore, the concept of “information entropy” is introduced, and the entropy weight method is used in the process of giving multiple attribute weights in TOPSIS; the specific algorithm is as follows:In the multiattribute measurement problem, the metric matrixY=yiq and the normalized metric matrix Z=ziq are set, and the normalized metric matrix is calculated by the vector specification method. The calculation formula is as follows:(8)ziq=yiq∑i=1nyiq,i=1,2,…,n;q=1,2,…,p,where n represents the number of distributed nodes; p represents the number of attribute types that measure the importance of nodes; yiq is the value of the i-th node on the g-th attribute index.The entropy weight method is used to deal with the canonical metric matrix of multiple attributes, and the weight of each attributewq is obtained. The entropy weight of the g attribute is expressed as(9)wq=1−Hqp−∑q=1pHq,q=1,2,…,p,where Hq represents the information entropy value of the attribute of item q, and its expression is as follows:(10)Hq=−k∑i=1nziqlnziq,i=1,2,…,n;q=1,2,…,p.Set the weight of each attribute asw=w1,w2,…,wpT, and use formula (11) to form a weighted canonical matrix X=xiq:(11)xiq=wq⋅ziq.Using formulae (12) and (13), the positive ideal solution x∗and negative ideal solutionxo with each attribute are obtained. Let the q-th attribute value of ideal x∗ be xq∗. The q-th attribute value of the negative ideal solution xois xqo; then,(12)xq∗=maxxiqi,maxxiqi,(13)xqo=maxxiqi,maxxiqi,di∗ is the distance between xi and the positive ideal solution, and dio is the distance between xi and the negative ideal solution. Calculate the distance from each attribute to the positive and negative ideal solutions, respectively, according to equations (14) and (15):(14)di∗=∑q=1pxiq−xq∗2,i=1,2,…,n,(15)dio=∑q=1pxiq−xqo2,i=1,2,…,n.According to formula (16), the comprehensive measurement value of each attribute is calculated, and the value is sorted from large to small, and finally, the importance ranking measurement result of nodes is obtained; the formula is(16)Cio=diodio+di∗,i=1,2,…,n.


#### 2.2.4. Comprehensive Ranking Measurement Method

Degree centrality, eigenvector centrality, compactness centrality, betweenness centrality, K-kernel decomposition centrality, and aggregation coefficient are six kinds of centrality indexes that affect the ranking of distributed nodes [17]. Starting from the structural characteristics of wireless sensor networks, the importance of nodes is quantitatively analyzed; the PageRank algorithm theory is used to accurately locate nodes in wireless sensor networks importance, on the basis of the above, through the improved node removal method to investigate the influence of the change of wireless sensor network connectivity on the importance of nodes. Based on the above three main research methods of node importance in wireless sensor networks, a node importance measurement method combining multiple attributes and node deletion is proposed; the specific process of this method is shown in Figure 1.Figure 1
Flow chart of node importance measurement method integrating multiple attributes and node deletion.Figure1 shows the entropy-based multiattribute method and the node types in distributed wireless sensor networks. It is assumed that the node importance metric based on the PageRank algorithm is calculated as PRi, introducing α, β to Cio and get linear regression node scheduling PRi measurement Ci, node deletion method based on the improved dynamic get distributed node importance ranking of four parts; the concrete steps of the algorithm are as follows:Step 1: according to the acquired about the connection between the node and the node data to establish the corresponding wireless sensor network, computing degree of each node in wireless sensor network centricity, characteristic vector centricity, tightness of centricity, betweenness centrality,K nuclear decomposition of centricity, and six class attribute values and then by formula (8), the calculation results being normalized processing, establish a standardized measure of n × 4 matrix node properties.Step 2: the concept of information entropy is introduced into the determination of weight, and the normalized metric matrix obtained in step 1 is calculated by using the entropy weight method to obtain the entropy weights corresponding to various attributes [18], and then the weighted canonical matrix is obtained.Step 3: the six kinds of attribute values of distributed nodes are taken as multiple attributes in the TOPSIS method, the entropy weight corresponding to each attribute is taken as the attribute weight in the TOPSIS method, and the positive and negative ideal solutions of each attribute are calculated.Step 4: obtain the importance rankingCio of distributed nodes.Step 5: the PageRank algorithm is used for reference and its principle is introduced to calculate the PR value of distributed nodesPRi. According to the PR value, the importance measurement results of nodes can be obtained and taken as a part of the importance measurement of wireless sensor network nodes.Step 6: normalize the PR value of distributed nodes. Linear regression is conducted between the node ranking measurement resultCio calculated based on entropy weight TOPSIS method and the node ranking measurement value PR calculated based on PageRank algorithm to obtain the improved node importance comprehensive ranking measurement result Ci. The specific calculation formula is as follows:(17)Ci=α⋅Cio+β⋅PRi,α and β represent the weighting coefficients of node importance of TOPSIS method and PageRank node importance based on multiattribute entropy weight, respectively, α+β=1.Step 7: on the basis of the above steps, first disconnect theCi value maximum distributed nodes in wireless sensor network connection. Then connect the disconnected node to the node whose PR value is evenly distributed, and then according to the steps one to six to, recalculate the importance of remaining in the new wireless sensor network node measurement [19, 20], then disconnect the new Ci value maximum in the wireless sensor network node, and recalculate the importance of the residual node values. This cycle continues until only the last node is left in the wireless sensor network, thus obtaining the final node importance ranking metric.


## 2.1. Distributed Node Importance Metrics in Wireless Sensor Networks

LetG=V,E be a wireless sensor network, where V=v1,v2,…,vNis the set of all distributed nodes in the wireless sensor network, V=N; E=e1,e2,…,em⊆V×V is the set of edges between distributed nodes, E=m, A=aij of wireless sensor network, where aij=1 means that distributed node i is connected to distributed node j; otherwise, aij=0.Due to the different evaluation criteria of the importance of distributed nodes, the definition of the importance index of distributed nodes is also different. The importance index of distributed nodes is defined as follows:(1)
Degree centrality:The degree of distributed nodei is defined as the number of neighbors of the node, specifically expressed as(1)Ki=∑j∈Gaij.(2)
Eigenvector centrality:The eigenvector index considers the status and reputation of distributed nodes in wireless sensor networks and considers the reputation of a single node as a linear combination of the reputation of other nodes, so as to obtain a linear equation group. The eigenvector corresponding to the maximum eigenvalue of the system is the importance of each distributed node, which can be specifically expressed as(2)Cei=λ−1∑j=1Naijej,whereλ is the maximum eigenvalue of the adjacency matrix A and e=e1,e2,…,enT is the eigenvector corresponding to the maximum eigenvalue λ of the adjacency matrix A.(3)
Closeness centrality:Compactness is used to measure the ability of distributed nodes in wireless sensor networks to exert influence on other nodes through wireless networks, which can be specifically expressed as(3)Cci=N−1∑j=1Ndij,whered represents the shortest distance from node i to node j.(4)
Betweenness:Betweenness is used to measure an individual's social status, which means the number of nodes passing through all the shortest paths in wireless sensor networks. It can be expressed as(4)Cbi=∑s<tσstiγst,whereγ represents the number of shortest paths between node s and node t and σ represents the number of shortest paths between node s and node t through node i.(5)
Index of location attributes in wireless sensor networks:The index of location attribute of wireless sensor network is K-shell centrality. K-shell is a distributed node importance ranking index obtained by the K-kernel decomposition method, and the importance of nodes is measured according to the position of nodes in the whole wireless sensor network [10].(6)
Aggregation coefficient:Aggregation coefficient is the local attribute of the wireless sensor network of distributed nodes, which reflects the frequency of communication between each node in the wireless sensor network. The aggregation coefficient is inversely proportional to the importance of the distributed node. The larger the calculated value, the weaker the importance of the node. The aggregation coefficient of distributed nodei is defined as the actual number of edges Ei among μi neighboring nodes directly connected to the node divided by the total number of possible edges Cki2, which can be expressed as(5)Cτi=EiCμi2=2Eiμiμi−1.


## 2.2. Node Importance Measurement Method Based on Multiple Attributes and Node Deletion

### 2.2.1. Node Importance Measurement Attribute

A variety of distributed node importance measurement attributes, including degree centrality, intermediate centrality, and proximity centrality. Distributed node measurement attribute not only describes the basic characteristics of nodes but also can be easily calculated. Based on the above reasons, the six basic attributes of degree centrality, eigenvector centrality, compactness centrality, dielectric centrality, k-kernel decomposition centrality, and aggregation coefficient are selected as part of the multiple attributes in the node importance measurement method integrating multiple attributes and node deletion. After the measurement attribute is selected, it is necessary to consider the influence of attribute value on distributed node importance [11], whether it is positively correlated or negatively correlated, and then unify the attribute value with the node importance measurement relationship. The calculated values of the five attributes selected in this paper, namely, medium centrality, eigenvector centrality, compactness centrality, intermediate centrality, and k-kernel decomposition centrality, are positively correlated with the importance of nodes; that is, the larger the calculated result, the more important the node [12]. The results of the clustering coefficient attribute are negatively correlated with the importance of nodes. In order to unify the correlation of the selected attributes, the calculation formula of compactness centrality should be adjusted to change it into a positive correlation attribute. Given that the maximum value of compactness centrality is 1, the adjusted formula is(6)Cτ′i=1−Cτi=1−2Eiμiμi−1.


### 2.2.2. PageRank Algorithm

PageRank algorithm is a link analysis algorithm. The idea of the algorithm is that when a high-quality distributed node points to another node, the quality of the other node is related to the quality of the node pointing to it. If the node pointing to it is of good quality and the node being pointed to is of good quality, the regression relationship is used to calculate the importance of the node [13]. The principle of the PageRank algorithm is as follows: firstly, PageRank assigns the same PR value to all nodes in the wireless sensor network; then, it updates the PR value of each node in real time through continuous iterative recursive operation, and so on until the PR value is stable. The result calculated by PageRank is the result of node importance measurement. Its expression is as follows:(7)PRP=1−qn+q∑i=1nPRUiNUi,where PR(P) is the value PR of node P and q is the damping factor bounded by the interval (0,1) and represents the probability that the user continues to visit backward in the process of accessing a certain node at any time [14]. The general value is q=0.85; n is the total number of nodes; U1,U2,…,Un is the node pointing to node P; PR(U) is the PR value of node U pointing to node P; and N is the number of nodes U points to. According to the calculation formula of PageRank, the importance of P node is related to the amount of data transmission of this node. The more the amount of data transmission is [15], the more important P is. At the same time, the more important the node pointing to node P is, the more important node P is, and the greater the PR value of P is.


### 2.2.3. TOPSIS Algorithm Based on Entropy Weight

TOPSIS is a multiobjective decision-making method. The core idea of this method is to first select a positive ideal solution and a negative ideal solution in wireless sensor networks and then take the solution closest to the positive ideal solution and farthest from the negative ideal solution as the optimal solution [16]. However, TOPSIS does not explain the rationality of attribute weight setting, so the calculation results are subjective. As an objective weighting method, the entropy weight method is often used to determine the weight of each attribute. Its basic idea is to give weight to each attribute according to the amount of information reflected by the variation degree of each evaluation attribute [17]. Therefore, the concept of “information entropy” is introduced, and the entropy weight method is used in the process of giving multiple attribute weights in TOPSIS; the specific algorithm is as follows:In the multiattribute measurement problem, the metric matrixY=yiq and the normalized metric matrix Z=ziq are set, and the normalized metric matrix is calculated by the vector specification method. The calculation formula is as follows:(8)ziq=yiq∑i=1nyiq,i=1,2,…,n;q=1,2,…,p,where n represents the number of distributed nodes; p represents the number of attribute types that measure the importance of nodes; yiq is the value of the i-th node on the g-th attribute index.The entropy weight method is used to deal with the canonical metric matrix of multiple attributes, and the weight of each attributewq is obtained. The entropy weight of the g attribute is expressed as(9)wq=1−Hqp−∑q=1pHq,q=1,2,…,p,where Hq represents the information entropy value of the attribute of item q, and its expression is as follows:(10)Hq=−k∑i=1nziqlnziq,i=1,2,…,n;q=1,2,…,p.Set the weight of each attribute asw=w1,w2,…,wpT, and use formula (11) to form a weighted canonical matrix X=xiq:(11)xiq=wq⋅ziq.Using formulae (12) and (13), the positive ideal solution x∗and negative ideal solutionxo with each attribute are obtained. Let the q-th attribute value of ideal x∗ be xq∗. The q-th attribute value of the negative ideal solution xois xqo; then,(12)xq∗=maxxiqi,maxxiqi,(13)xqo=maxxiqi,maxxiqi,di∗ is the distance between xi and the positive ideal solution, and dio is the distance between xi and the negative ideal solution. Calculate the distance from each attribute to the positive and negative ideal solutions, respectively, according to equations (14) and (15):(14)di∗=∑q=1pxiq−xq∗2,i=1,2,…,n,(15)dio=∑q=1pxiq−xqo2,i=1,2,…,n.According to formula (16), the comprehensive measurement value of each attribute is calculated, and the value is sorted from large to small, and finally, the importance ranking measurement result of nodes is obtained; the formula is(16)Cio=diodio+di∗,i=1,2,…,n.


### 2.2.4. Comprehensive Ranking Measurement Method

Degree centrality, eigenvector centrality, compactness centrality, betweenness centrality, K-kernel decomposition centrality, and aggregation coefficient are six kinds of centrality indexes that affect the ranking of distributed nodes [17]. Starting from the structural characteristics of wireless sensor networks, the importance of nodes is quantitatively analyzed; the PageRank algorithm theory is used to accurately locate nodes in wireless sensor networks importance, on the basis of the above, through the improved node removal method to investigate the influence of the change of wireless sensor network connectivity on the importance of nodes. Based on the above three main research methods of node importance in wireless sensor networks, a node importance measurement method combining multiple attributes and node deletion is proposed; the specific process of this method is shown in Figure 1.Figure 1
Flow chart of node importance measurement method integrating multiple attributes and node deletion.Figure1 shows the entropy-based multiattribute method and the node types in distributed wireless sensor networks. It is assumed that the node importance metric based on the PageRank algorithm is calculated as PRi, introducing α, β to Cio and get linear regression node scheduling PRi measurement Ci, node deletion method based on the improved dynamic get distributed node importance ranking of four parts; the concrete steps of the algorithm are as follows:Step 1: according to the acquired about the connection between the node and the node data to establish the corresponding wireless sensor network, computing degree of each node in wireless sensor network centricity, characteristic vector centricity, tightness of centricity, betweenness centrality,K nuclear decomposition of centricity, and six class attribute values and then by formula (8), the calculation results being normalized processing, establish a standardized measure of n × 4 matrix node properties.Step 2: the concept of information entropy is introduced into the determination of weight, and the normalized metric matrix obtained in step 1 is calculated by using the entropy weight method to obtain the entropy weights corresponding to various attributes [18], and then the weighted canonical matrix is obtained.Step 3: the six kinds of attribute values of distributed nodes are taken as multiple attributes in the TOPSIS method, the entropy weight corresponding to each attribute is taken as the attribute weight in the TOPSIS method, and the positive and negative ideal solutions of each attribute are calculated.Step 4: obtain the importance rankingCio of distributed nodes.Step 5: the PageRank algorithm is used for reference and its principle is introduced to calculate the PR value of distributed nodesPRi. According to the PR value, the importance measurement results of nodes can be obtained and taken as a part of the importance measurement of wireless sensor network nodes.Step 6: normalize the PR value of distributed nodes. Linear regression is conducted between the node ranking measurement resultCio calculated based on entropy weight TOPSIS method and the node ranking measurement value PR calculated based on PageRank algorithm to obtain the improved node importance comprehensive ranking measurement result Ci. The specific calculation formula is as follows:(17)Ci=α⋅Cio+β⋅PRi,α and β represent the weighting coefficients of node importance of TOPSIS method and PageRank node importance based on multiattribute entropy weight, respectively, α+β=1.Step 7: on the basis of the above steps, first disconnect theCi value maximum distributed nodes in wireless sensor network connection. Then connect the disconnected node to the node whose PR value is evenly distributed, and then according to the steps one to six to, recalculate the importance of remaining in the new wireless sensor network node measurement [19, 20], then disconnect the new Ci value maximum in the wireless sensor network node, and recalculate the importance of the residual node values. This cycle continues until only the last node is left in the wireless sensor network, thus obtaining the final node importance ranking metric.


## 2.2.1. Node Importance Measurement Attribute

A variety of distributed node importance measurement attributes, including degree centrality, intermediate centrality, and proximity centrality. Distributed node measurement attribute not only describes the basic characteristics of nodes but also can be easily calculated. Based on the above reasons, the six basic attributes of degree centrality, eigenvector centrality, compactness centrality, dielectric centrality, k-kernel decomposition centrality, and aggregation coefficient are selected as part of the multiple attributes in the node importance measurement method integrating multiple attributes and node deletion. After the measurement attribute is selected, it is necessary to consider the influence of attribute value on distributed node importance [11], whether it is positively correlated or negatively correlated, and then unify the attribute value with the node importance measurement relationship. The calculated values of the five attributes selected in this paper, namely, medium centrality, eigenvector centrality, compactness centrality, intermediate centrality, and k-kernel decomposition centrality, are positively correlated with the importance of nodes; that is, the larger the calculated result, the more important the node [12]. The results of the clustering coefficient attribute are negatively correlated with the importance of nodes. In order to unify the correlation of the selected attributes, the calculation formula of compactness centrality should be adjusted to change it into a positive correlation attribute. Given that the maximum value of compactness centrality is 1, the adjusted formula is(6)Cτ′i=1−Cτi=1−2Eiμiμi−1.


## 2.2.2. PageRank Algorithm

PageRank algorithm is a link analysis algorithm. The idea of the algorithm is that when a high-quality distributed node points to another node, the quality of the other node is related to the quality of the node pointing to it. If the node pointing to it is of good quality and the node being pointed to is of good quality, the regression relationship is used to calculate the importance of the node [13]. The principle of the PageRank algorithm is as follows: firstly, PageRank assigns the same PR value to all nodes in the wireless sensor network; then, it updates the PR value of each node in real time through continuous iterative recursive operation, and so on until the PR value is stable. The result calculated by PageRank is the result of node importance measurement. Its expression is as follows:(7)PRP=1−qn+q∑i=1nPRUiNUi,where PR(P) is the value PR of node P and q is the damping factor bounded by the interval (0,1) and represents the probability that the user continues to visit backward in the process of accessing a certain node at any time [14]. The general value is q=0.85; n is the total number of nodes; U1,U2,…,Un is the node pointing to node P; PR(U) is the PR value of node U pointing to node P; and N is the number of nodes U points to. According to the calculation formula of PageRank, the importance of P node is related to the amount of data transmission of this node. The more the amount of data transmission is [15], the more important P is. At the same time, the more important the node pointing to node P is, the more important node P is, and the greater the PR value of P is.


## 2.2.3. TOPSIS Algorithm Based on Entropy Weight

TOPSIS is a multiobjective decision-making method. The core idea of this method is to first select a positive ideal solution and a negative ideal solution in wireless sensor networks and then take the solution closest to the positive ideal solution and farthest from the negative ideal solution as the optimal solution [16]. However, TOPSIS does not explain the rationality of attribute weight setting, so the calculation results are subjective. As an objective weighting method, the entropy weight method is often used to determine the weight of each attribute. Its basic idea is to give weight to each attribute according to the amount of information reflected by the variation degree of each evaluation attribute [17]. Therefore, the concept of “information entropy” is introduced, and the entropy weight method is used in the process of giving multiple attribute weights in TOPSIS; the specific algorithm is as follows:In the multiattribute measurement problem, the metric matrixY=yiq and the normalized metric matrix Z=ziq are set, and the normalized metric matrix is calculated by the vector specification method. The calculation formula is as follows:(8)ziq=yiq∑i=1nyiq,i=1,2,…,n;q=1,2,…,p,where n represents the number of distributed nodes; p represents the number of attribute types that measure the importance of nodes; yiq is the value of the i-th node on the g-th attribute index.The entropy weight method is used to deal with the canonical metric matrix of multiple attributes, and the weight of each attributewq is obtained. The entropy weight of the g attribute is expressed as(9)wq=1−Hqp−∑q=1pHq,q=1,2,…,p,where Hq represents the information entropy value of the attribute of item q, and its expression is as follows:(10)Hq=−k∑i=1nziqlnziq,i=1,2,…,n;q=1,2,…,p.Set the weight of each attribute asw=w1,w2,…,wpT, and use formula (11) to form a weighted canonical matrix X=xiq:(11)xiq=wq⋅ziq.Using formulae (12) and (13), the positive ideal solution x∗and negative ideal solutionxo with each attribute are obtained. Let the q-th attribute value of ideal x∗ be xq∗. The q-th attribute value of the negative ideal solution xois xqo; then,(12)xq∗=maxxiqi,maxxiqi,(13)xqo=maxxiqi,maxxiqi,di∗ is the distance between xi and the positive ideal solution, and dio is the distance between xi and the negative ideal solution. Calculate the distance from each attribute to the positive and negative ideal solutions, respectively, according to equations (14) and (15):(14)di∗=∑q=1pxiq−xq∗2,i=1,2,…,n,(15)dio=∑q=1pxiq−xqo2,i=1,2,…,n.According to formula (16), the comprehensive measurement value of each attribute is calculated, and the value is sorted from large to small, and finally, the importance ranking measurement result of nodes is obtained; the formula is(16)Cio=diodio+di∗,i=1,2,…,n.


## 2.2.4. Comprehensive Ranking Measurement Method

Degree centrality, eigenvector centrality, compactness centrality, betweenness centrality, K-kernel decomposition centrality, and aggregation coefficient are six kinds of centrality indexes that affect the ranking of distributed nodes [17]. Starting from the structural characteristics of wireless sensor networks, the importance of nodes is quantitatively analyzed; the PageRank algorithm theory is used to accurately locate nodes in wireless sensor networks importance, on the basis of the above, through the improved node removal method to investigate the influence of the change of wireless sensor network connectivity on the importance of nodes. Based on the above three main research methods of node importance in wireless sensor networks, a node importance measurement method combining multiple attributes and node deletion is proposed; the specific process of this method is shown in Figure 1.Figure 1
Flow chart of node importance measurement method integrating multiple attributes and node deletion.Figure1 shows the entropy-based multiattribute method and the node types in distributed wireless sensor networks. It is assumed that the node importance metric based on the PageRank algorithm is calculated as PRi, introducing α, β to Cio and get linear regression node scheduling PRi measurement Ci, node deletion method based on the improved dynamic get distributed node importance ranking of four parts; the concrete steps of the algorithm are as follows:Step 1: according to the acquired about the connection between the node and the node data to establish the corresponding wireless sensor network, computing degree of each node in wireless sensor network centricity, characteristic vector centricity, tightness of centricity, betweenness centrality,K nuclear decomposition of centricity, and six class attribute values and then by formula (8), the calculation results being normalized processing, establish a standardized measure of n × 4 matrix node properties.Step 2: the concept of information entropy is introduced into the determination of weight, and the normalized metric matrix obtained in step 1 is calculated by using the entropy weight method to obtain the entropy weights corresponding to various attributes [18], and then the weighted canonical matrix is obtained.Step 3: the six kinds of attribute values of distributed nodes are taken as multiple attributes in the TOPSIS method, the entropy weight corresponding to each attribute is taken as the attribute weight in the TOPSIS method, and the positive and negative ideal solutions of each attribute are calculated.Step 4: obtain the importance rankingCio of distributed nodes.Step 5: the PageRank algorithm is used for reference and its principle is introduced to calculate the PR value of distributed nodesPRi. According to the PR value, the importance measurement results of nodes can be obtained and taken as a part of the importance measurement of wireless sensor network nodes.Step 6: normalize the PR value of distributed nodes. Linear regression is conducted between the node ranking measurement resultCio calculated based on entropy weight TOPSIS method and the node ranking measurement value PR calculated based on PageRank algorithm to obtain the improved node importance comprehensive ranking measurement result Ci. The specific calculation formula is as follows:(17)Ci=α⋅Cio+β⋅PRi,α and β represent the weighting coefficients of node importance of TOPSIS method and PageRank node importance based on multiattribute entropy weight, respectively, α+β=1.Step 7: on the basis of the above steps, first disconnect theCi value maximum distributed nodes in wireless sensor network connection. Then connect the disconnected node to the node whose PR value is evenly distributed, and then according to the steps one to six to, recalculate the importance of remaining in the new wireless sensor network node measurement [19, 20], then disconnect the new Ci value maximum in the wireless sensor network node, and recalculate the importance of the residual node values. This cycle continues until only the last node is left in the wireless sensor network, thus obtaining the final node importance ranking metric.


## 3. Experimental Analysis

In order to verify the effectiveness and relative accuracy of this method, the simulation experiment of wireless sensor network distributed node measurement is carried out in MATLAB, and 20 and 100 randomly distributed nodes are set in the simulation program. The topology of the wireless sensor network in two cases is shown in Figure2.Figure 2
Topological structure of wireless sensor network. (a) Wireless sensor network topology with 20 distributed nodes. (b) Wireless sensor network topology with 100 distributed nodes.
(a)(b)


### 3.1. Effectiveness Analysis

Taking a wireless sensor network with 20 distributed nodes as an example, six kinds of attribute values of each distributed node in the wireless sensor network are calculated through simulation experiments, including degree centrality, eigenvector centrality, compactness centrality, betweenness centrality,K-kernel decomposition centrality, and aggregation coefficient. The calculation results of each attribute value are shown in Table 1; the result of the calculation is rounded to four decimal places.Table 1
Attribute values of each distributed node.
Distributed nodeDegree of centricityCentrality of eigenvectorsCompactness centralityIntermediate centralityK nuclear decomposition centralityAggregation coefficient10.11110.15320.26430.00000.13100.000020.21110.18850.29960.15920.16630.844430.21110.25710.36820.32690.23491.111140.11110.31750.32860.18950.29531.111150.11110.18430.29520.16770.16211.111160.16110.18430.29520.21240.16211.111170.11110.15320.26430.11770.13101.111180.11110.12880.23990.06990.10661.111190.11110.13260.24370.07290.11041.1111100.11110.15320.26430.11860.13101.1111110.11110.18570.29680.16680.16351.1111120.16110.23800.34910.28170.21581.1111130.11110.21750.32860.16990.19531.1111140.21110.21750.32860.18570.19531.1111150.16110.17780.28890.05720.15560.6778160.11110.17400.28510.02290.15181.1111170.11110.20770.31880.05850.18551.1111180.11110.23330.34440.12980.21111.1111190.16110.24480.35590.22650.22261.1111200.11110.18850.29960.09850.16631.1111Then, the normalization decision matrix is obtained by using the vector norm method, the entropy weight method is used to process the decision matrix, the information entropy valueHq and weight wq of each attribute are obtained, and the result retains four decimal numbers where the information entropy values of each attribute are, respectively, H1=0.9979, H2=0.9429, H3=0.9987, H4=0.9939, H5=0.9915, and H6=0.9865. The attribute weights are, respectively, w1=0.1412, w2=0.6863, w3=0.2495, w4=0.1819, w5=0.1607, and w6=0.5641. Then, the weighted gauge matrix X is obtained. After that, the positive ideal solution x∗ and negative ideal solution x0 for each attribute are calculated, and the calculated result remains four decimal places, positive ideal solution x∗=0.0111,0.0793,0.0015,0.0089 , and negative ideal solution xo=0.0051,0,0.0010,0. Finally, the distance between each attribute in the wireless sensor network and the positive ideal solution and the distance between each attribute and the negative ideal solution are calculated, and the comprehensive measurement value of each attribute is calculated. Finally, the distributed node importance value Cio of TOPSIS method based on the entropy weight of multiple attributes is obtained. The importance value and ranking measurement results of each node are shown in Table 2.Table 2
Importance values of each node and ranking measurement results.
Distributed nodeThe importance of value31.1000120.8661190.695160.651540.2512140.5694130.517950.5112110.498520.4891180.3989100.361970.3593200.331990.257880.2492170.1912150.1744160.119210.0012PageRank algorithm is used to calculate the PR value of each node in the wireless sensor network. The node PR value and ranking measurement results of the PageRank algorithm are shown in Table3.Table 3
Node PR value and ranking measurement results.
Distributed nodePR value30.0711140.069820.068260.0619120.0585190.0582150.052490.045980.0457100.045270.0445110.043350.0429200.042340.0422180.0396130.0393170.0377160.037110.0369It can be seen from Tables2 and 3 that the ranking of distributed nodes obtained by evaluating the importance of distributed nodes from different perspectives is not identical. In order to more comprehensively and more accurately get the importance of distributed node measurement, in the calculation method of TOPSIS attribute based on entropy, this method recalculates the importance ranking index of distributed nodes and the nodes after the PR value. Among them, the normalization processing and PR value are performed based on the Page Rank algorithm, and the proportion is introduced. The coefficients α and β are postprocessing linear regression calculated values. The results accord with the actual circumstances of the wireless sensor network and distributed nodes. The proportionality coefficient is α=0.7, β=0.3, after determining the proportionality coefficient; the comprehensive ranking measurement result of node importance of wireless sensor network containing 20 distributed nodes is calculated.Then, the node ranked first in the measurement result is deleted, and its PR value is evenly distributed to the neighbor nodes connected with it, making it a part of the PR value of neighbor nodes. Then, the remaining deleted nodes were used as a new wireless sensor network. The above steps were repeated to recalculate the attribute value, attribute weight,Cio, PR value, and comprehensive ranking Ci of the remaining nodes to obtain the new distributed node ranking measurement result. Then, continue to delete the first ranked node, until there is only one node left in the wireless sensor network. The importance of each distributed node in the wireless sensor network is measured by the method in this paper, and the ranking result of the final measurement is as follows [1–19, 21, 22].Network efficiency indicates the connectivity of the wireless sensor network. The higher the efficiency of the wireless sensor network is, the better the connectivity is. According to different importance metrics of distributed nodes, the same proportion of distributed nodes are deleted, and the larger the decline rate of network efficiency is, which indicates that the greater the impact of these distributed nodes on network efficiency is, the better the attack effect is, and the corresponding distributed nodes are selected. The point importance measure is more effective. In order to compare and verify the effectiveness of this method, which uses multiple attributes as metrics to measure the importance of distributed nodes in wireless sensor networks, six single attribute metrics, namely, degree centrality, eigenvector centrality, compactness centrality, betweenness centrality,K -kernel decomposition centrality, and aggregation coefficient, and multiple attribute metrics are used to measure the importance of distributed nodes in two wireless sensor networks. In this case, the network efficiency after the deletion of distributed nodes is compared and analyzed. The deletion of distributed nodes in the wireless sensor network is mainly to delete the top 10% sorted according to different metrics, and the proportion of deleted distributed nodes is from 0% to 20%. At the same time, the efficiency decline proportion of the wireless sensor network after the deletion of distributed nodes is calculated. The experimental results are shown in Figure 3.Figure 3
Ratio of efficiency decline of the wireless sensor network. (a) Decline ratio of network efficiency of wireless sensor network with 20 distributed nodes. (b) Decline ratio of network efficiency of wireless sensor network with 100 distributed nodes.
(a)(b)According to the analysis of Figure3, with the gradual increase of the proportion of deleted distributed nodes, the decline proportion of network efficiency using single attribute measurement index and multiple attribute measurement index in the two sizes of wireless sensor networks is increasing, and the decline proportion trend of network efficiency of the two types of wireless sensor networks is basically the same; for wireless sensor networks with fewer distributed nodes, the decline proportion of multiple attribute measurement index is increasing. When the proportion of deleting distributed nodes is less than 10% in the wireless sensor network with more distributed nodes, the gap between single attribute metrics and multiple attribute metrics is not obvious, but the overall network efficiency decline proportion of multiple attribute metrics is low. For each single attribute metric, when the proportion of deleted distributed nodes is more than 10%, the network efficiency decline proportion of multiattribute metric is significantly higher than that of single attribute metric; comprehensive analysis shows that the network efficiency decline proportion of multiattribute metric is the smallest. Experiments show that this method uses multiple attributes as the distributed node importance measurement index; compared with each single attribute measurement index, it has a better measurement effect on the wireless sensor network. Through the comparative analysis of the network efficiency decline ratio after the deletion of distributed nodes, the multiple attribute measurement index can better measure the importance of distributed nodes.


### 3.2. Comparative Analysis

In this paper, the node importance measurement method based on the weighted method (reference [8]) and the node importance measurement method of complex network based on interpretive structure model (reference [9]) are used to measure the importance of distributed nodes in wireless sensor networks. The two methods are recorded as method 1 and method 2. As a comparison method of the methods in this paper, the performance of the three methods under different network connectivity is tested. The test results are shown in Figure 4.Figure 4
Three methods of the distributed node measurement accuracy. (a) 20 distributed nodes of wireless sensor network distributed node measurement accuracy. (b) 100 distributed nodes of wireless sensor network distributed node measurement accuracy.
(a)(b)It can be seen from the analysis of Figure4 that in two-scale wireless sensor networks, the measurement accuracy of the three methods improves with the increase of network connectivity. In two-scale wireless sensor networks, the measurement accuracy of this method is higher than that of the other two methods. In larger scale wireless sensor networks, the measurement accuracy of this method is higher than that of the other two methods. When the network connectivity reaches a certain degree, the measurement accuracy of this method tends to be stable. In the small-scale wireless sensor network, the measurement accuracy of this method is as high as 96%, and the measurement accuracy of the other two methods is not as high as 90%; in the large-scale wireless sensor network, the measurement accuracy of this method is as high as 98%, and the measurement accuracy of the other two methods is not as high as 90%. The accuracy of the method is about 75%. Experimental results show that the proposed method has the highest accuracy in measuring the importance of distributed nodes in wireless sensor networks.


## 3.1. Effectiveness Analysis

Taking a wireless sensor network with 20 distributed nodes as an example, six kinds of attribute values of each distributed node in the wireless sensor network are calculated through simulation experiments, including degree centrality, eigenvector centrality, compactness centrality, betweenness centrality,K-kernel decomposition centrality, and aggregation coefficient. The calculation results of each attribute value are shown in Table 1; the result of the calculation is rounded to four decimal places.Table 1
Attribute values of each distributed node.
Distributed nodeDegree of centricityCentrality of eigenvectorsCompactness centralityIntermediate centralityK nuclear decomposition centralityAggregation coefficient10.11110.15320.26430.00000.13100.000020.21110.18850.29960.15920.16630.844430.21110.25710.36820.32690.23491.111140.11110.31750.32860.18950.29531.111150.11110.18430.29520.16770.16211.111160.16110.18430.29520.21240.16211.111170.11110.15320.26430.11770.13101.111180.11110.12880.23990.06990.10661.111190.11110.13260.24370.07290.11041.1111100.11110.15320.26430.11860.13101.1111110.11110.18570.29680.16680.16351.1111120.16110.23800.34910.28170.21581.1111130.11110.21750.32860.16990.19531.1111140.21110.21750.32860.18570.19531.1111150.16110.17780.28890.05720.15560.6778160.11110.17400.28510.02290.15181.1111170.11110.20770.31880.05850.18551.1111180.11110.23330.34440.12980.21111.1111190.16110.24480.35590.22650.22261.1111200.11110.18850.29960.09850.16631.1111Then, the normalization decision matrix is obtained by using the vector norm method, the entropy weight method is used to process the decision matrix, the information entropy valueHq and weight wq of each attribute are obtained, and the result retains four decimal numbers where the information entropy values of each attribute are, respectively, H1=0.9979, H2=0.9429, H3=0.9987, H4=0.9939, H5=0.9915, and H6=0.9865. The attribute weights are, respectively, w1=0.1412, w2=0.6863, w3=0.2495, w4=0.1819, w5=0.1607, and w6=0.5641. Then, the weighted gauge matrix X is obtained. After that, the positive ideal solution x∗ and negative ideal solution x0 for each attribute are calculated, and the calculated result remains four decimal places, positive ideal solution x∗=0.0111,0.0793,0.0015,0.0089 , and negative ideal solution xo=0.0051,0,0.0010,0. Finally, the distance between each attribute in the wireless sensor network and the positive ideal solution and the distance between each attribute and the negative ideal solution are calculated, and the comprehensive measurement value of each attribute is calculated. Finally, the distributed node importance value Cio of TOPSIS method based on the entropy weight of multiple attributes is obtained. The importance value and ranking measurement results of each node are shown in Table 2.Table 2
Importance values of each node and ranking measurement results.
Distributed nodeThe importance of value31.1000120.8661190.695160.651540.2512140.5694130.517950.5112110.498520.4891180.3989100.361970.3593200.331990.257880.2492170.1912150.1744160.119210.0012PageRank algorithm is used to calculate the PR value of each node in the wireless sensor network. The node PR value and ranking measurement results of the PageRank algorithm are shown in Table3.Table 3
Node PR value and ranking measurement results.
Distributed nodePR value30.0711140.069820.068260.0619120.0585190.0582150.052490.045980.0457100.045270.0445110.043350.0429200.042340.0422180.0396130.0393170.0377160.037110.0369It can be seen from Tables2 and 3 that the ranking of distributed nodes obtained by evaluating the importance of distributed nodes from different perspectives is not identical. In order to more comprehensively and more accurately get the importance of distributed node measurement, in the calculation method of TOPSIS attribute based on entropy, this method recalculates the importance ranking index of distributed nodes and the nodes after the PR value. Among them, the normalization processing and PR value are performed based on the Page Rank algorithm, and the proportion is introduced. The coefficients α and β are postprocessing linear regression calculated values. The results accord with the actual circumstances of the wireless sensor network and distributed nodes. The proportionality coefficient is α=0.7, β=0.3, after determining the proportionality coefficient; the comprehensive ranking measurement result of node importance of wireless sensor network containing 20 distributed nodes is calculated.Then, the node ranked first in the measurement result is deleted, and its PR value is evenly distributed to the neighbor nodes connected with it, making it a part of the PR value of neighbor nodes. Then, the remaining deleted nodes were used as a new wireless sensor network. The above steps were repeated to recalculate the attribute value, attribute weight,Cio, PR value, and comprehensive ranking Ci of the remaining nodes to obtain the new distributed node ranking measurement result. Then, continue to delete the first ranked node, until there is only one node left in the wireless sensor network. The importance of each distributed node in the wireless sensor network is measured by the method in this paper, and the ranking result of the final measurement is as follows [1–19, 21, 22].Network efficiency indicates the connectivity of the wireless sensor network. The higher the efficiency of the wireless sensor network is, the better the connectivity is. According to different importance metrics of distributed nodes, the same proportion of distributed nodes are deleted, and the larger the decline rate of network efficiency is, which indicates that the greater the impact of these distributed nodes on network efficiency is, the better the attack effect is, and the corresponding distributed nodes are selected. The point importance measure is more effective. In order to compare and verify the effectiveness of this method, which uses multiple attributes as metrics to measure the importance of distributed nodes in wireless sensor networks, six single attribute metrics, namely, degree centrality, eigenvector centrality, compactness centrality, betweenness centrality,K -kernel decomposition centrality, and aggregation coefficient, and multiple attribute metrics are used to measure the importance of distributed nodes in two wireless sensor networks. In this case, the network efficiency after the deletion of distributed nodes is compared and analyzed. The deletion of distributed nodes in the wireless sensor network is mainly to delete the top 10% sorted according to different metrics, and the proportion of deleted distributed nodes is from 0% to 20%. At the same time, the efficiency decline proportion of the wireless sensor network after the deletion of distributed nodes is calculated. The experimental results are shown in Figure 3.Figure 3
Ratio of efficiency decline of the wireless sensor network. (a) Decline ratio of network efficiency of wireless sensor network with 20 distributed nodes. (b) Decline ratio of network efficiency of wireless sensor network with 100 distributed nodes.
(a)(b)According to the analysis of Figure3, with the gradual increase of the proportion of deleted distributed nodes, the decline proportion of network efficiency using single attribute measurement index and multiple attribute measurement index in the two sizes of wireless sensor networks is increasing, and the decline proportion trend of network efficiency of the two types of wireless sensor networks is basically the same; for wireless sensor networks with fewer distributed nodes, the decline proportion of multiple attribute measurement index is increasing. When the proportion of deleting distributed nodes is less than 10% in the wireless sensor network with more distributed nodes, the gap between single attribute metrics and multiple attribute metrics is not obvious, but the overall network efficiency decline proportion of multiple attribute metrics is low. For each single attribute metric, when the proportion of deleted distributed nodes is more than 10%, the network efficiency decline proportion of multiattribute metric is significantly higher than that of single attribute metric; comprehensive analysis shows that the network efficiency decline proportion of multiattribute metric is the smallest. Experiments show that this method uses multiple attributes as the distributed node importance measurement index; compared with each single attribute measurement index, it has a better measurement effect on the wireless sensor network. Through the comparative analysis of the network efficiency decline ratio after the deletion of distributed nodes, the multiple attribute measurement index can better measure the importance of distributed nodes.


## 3.2. Comparative Analysis

In this paper, the node importance measurement method based on the weighted method (reference [8]) and the node importance measurement method of complex network based on interpretive structure model (reference [9]) are used to measure the importance of distributed nodes in wireless sensor networks. The two methods are recorded as method 1 and method 2. As a comparison method of the methods in this paper, the performance of the three methods under different network connectivity is tested. The test results are shown in Figure 4.Figure 4
Three methods of the distributed node measurement accuracy. (a) 20 distributed nodes of wireless sensor network distributed node measurement accuracy. (b) 100 distributed nodes of wireless sensor network distributed node measurement accuracy.
(a)(b)It can be seen from the analysis of Figure4 that in two-scale wireless sensor networks, the measurement accuracy of the three methods improves with the increase of network connectivity. In two-scale wireless sensor networks, the measurement accuracy of this method is higher than that of the other two methods. In larger scale wireless sensor networks, the measurement accuracy of this method is higher than that of the other two methods. When the network connectivity reaches a certain degree, the measurement accuracy of this method tends to be stable. In the small-scale wireless sensor network, the measurement accuracy of this method is as high as 96%, and the measurement accuracy of the other two methods is not as high as 90%; in the large-scale wireless sensor network, the measurement accuracy of this method is as high as 98%, and the measurement accuracy of the other two methods is not as high as 90%. The accuracy of the method is about 75%. Experimental results show that the proposed method has the highest accuracy in measuring the importance of distributed nodes in wireless sensor networks.


## 4. Conclusion

Wireless sensor network integrates sensor technology, microelectronics technology, wireless communication, and network technology. WSN has broad application prospects in the fields of data acquisition, environmental monitoring, target tracking, and many other areas. However, due to the characteristics of self-organization, large number of nodes, limited resources, and constantly changing network topology, node measurement has become a crucial problem to be solved. At present, a variety of measurement methods have been proposed, but these methods often have the disadvantages of low measurement accuracy, high complexity, and weak fault tolerance. In view of the existing importance ranking methods of distributed nodes in wireless sensor networks, such as the one sidedness of evaluation index, the objectivity of attribute weight setting, the neglect of network structure changes, and the influence of important neighbor nodes, a distributed node importance measurement method based on multiple attributes for WSN is proposed. This method uses various attributes to effectively and efficiently avoid the limitations of single attribute measurement; introduces the concept of information entropy into TOPSIS algorithm to weight the multiple attributes of nodes; eliminates the error caused by artificial weight; and uses page for reference. Rank algorithm is improved to make it a part of the importance measurement of distributed nodes; the improved node deletion method and repeated calculation are used to comprehensively measure the importance of nodes, so as to reduce the influence of topology changes and important neighbor nodes and improve the accuracy of the importance measurement of distributed nodes. The experimental results achieved the effectiveness of the proposed research.



---

*Source: 9936337-2021-04-22.xml*