Electric power Internet of Things wireless terminal data transmission trust management model construction method
By building a trust management model between nodes in clusters and cluster head nodes and a comprehensive trust management model between cluster head nodes in power Internet of Things wireless terminals, the node trust is dynamically evaluated, and the trust management model in the existing technology is solved. The trust management model cannot adapt to nodes in the existing technology. Dynamic changes and detection of attack behaviors achieve the security, reliability and efficiency of data transmission.
Patent Information
- Application Number
- CN202311616623.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2024-12-13
AI Technical Summary
The existing trust management model cannot adapt to the dynamic changes of nodes in the data transmission of power IoT wireless terminals, is difficult to detect and respond to attack behaviors, and lacks an adaptive mechanism, resulting in inaccurate and inefficient trust management.
The trust management model between nodes in the cluster and cluster head nodes and the comprehensive trust management model between cluster head nodes are constructed. By calculating the energy factor, direct trust parameters and indirect trust parameters of the node, the node's trust degree is dynamically evaluated and the trust threshold is based on the trust threshold. The function determines whether the node is trustworthy and eliminates untrusted nodes to ensure the security of data transmission.
It realizes the security and reliability of the data transmission process of wireless terminals of the power Internet of Things, can respond to changes in node trust in a timely manner, improves the accuracy and efficiency of trust management, and ensures the stable operation of the network.
Smart Images

Figure CN119136234A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security of electric power Internet of Things, and more specifically, discloses a method for constructing a trust management model for data transmission of wireless terminals of electric power Internet of Things. Background Art
[0002] In the data transmission of wireless terminals of the power Internet of Things, the construction of a trust management model is crucial to ensure the safe and stable operation of the network. In the cluster routing protocol adopted, network nodes are usually divided into cluster head nodes and intra-cluster nodes. The cluster head node is responsible for managing and coordinating the communication and routing within the cluster, while the intra-cluster nodes are responsible for providing and forwarding data; the intra-cluster nodes are responsible for collecting data and sending the data to the cluster head node in a single hop manner, while the cluster head node is responsible for managing and controlling the intra-cluster nodes, including tasks such as data fusion and inter-cluster forwarding, and sending data to the central node in a multi-hop manner. By establishing a trust management model, the security and reliability of each node can be identified and evaluated. This ensures that only trusted nodes can participate in data transmission and processing, thereby ensuring the security of the entire network. The trust management model can evaluate based on information such as the node's historical behavior and network traffic, and assign a trust score to each node. Under this model, the cluster head node can select trusted intra-cluster nodes for data fusion and forwarding based on the node's trust score.
[0003] At present, most trust management models use fixed trust values to divide trust value intervals when evaluating the trust of each node, and perform different operations on nodes in different trust value intervals. This trust management model has the following main problems:
[0004] (1) Fixed trust values cannot adapt to the dynamic changes of nodes. The trust of nodes may change with time and network environment. Using fixed trust values cannot accurately reflect the current trust of nodes, which may lead to wrong judgments and decisions.
[0005] (2) Certain attack behaviors may cause abnormal fluctuations in the trust score of a node. Traditional trust management models often have difficulty accurately detecting and responding to these attacks and are easily interfered with and damaged by malicious nodes.
[0006] (3) The trust management model needs to dynamically update the trust score of the node. However, most models lack an adaptive mechanism to update the trust score of the node in real time according to the actual behavior and performance of the node. This may lead to a lag in the trust of the node and an inability to respond to changes in the node in a timely manner.
[0007] The current trust management model does not take into account the structural characteristics of cluster routing protocols during its construction, that is, the roles of nodes within a cluster and cluster head nodes are different. The current trust management model often regards all nodes as equal and does not fully utilize the characteristics of the cluster structure, which may lead to inaccuracy and inefficiency in trust management. Summary of the invention
[0008] The purpose of the present invention is to address the problems of incomplete elements considered when constructing existing trust management models and unreasonable calculation of trust values of each node, and to propose a scientific and reasonable trust management model construction method that can ensure the safe and reliable operation of the data transmission process of wireless terminals in the power Internet of Things.
[0009] The purpose of the present invention is to achieve the following technical solutions: a method for constructing a trust management model for data transmission of wireless terminals in the power Internet of Things, in which each wireless terminal in the power Internet of Things is regarded as a communication node, and there are N communication nodes in the power Internet of Things, and the initial energy of each node is E max , the communication nodes in the power Internet of Things network are divided into cluster head nodes and intra-cluster nodes, which are uniformly managed by the central node. The central node is responsible for cluster head election in each round, eliminating untrusted nodes, storing and broadcasting node address information; the method includes constructing a trust management model between intra-cluster nodes and cluster head nodes and constructing a comprehensive trust management model between cluster head nodes;
[0010] 1) Construct a trust management model between cluster nodes and cluster head nodes, specifically:
[0011] It is pre-set that in each round of data transmission, the communication nodes in the power Internet of Things network are divided into m clusters, each cluster is represented by C i , i = 1, 2, ..., m, the cluster head node of each cluster is represented by Ch i , i = 1, 2, ..., m, the nodes in each cluster are represented by C ik ,i=1,2,...,m,k=1,2,...,N i , N i represents the number of nodes in the i-th cluster. In each round of data transmission, each node C in the cluster ik To the cluster head node Ch of the cluster i To transmit D packets, the cluster head node Ch i The node C in the cluster to which it belongs ik The information is stored in the cluster head node Ch i In the trust value statistics table;
[0012] Assume that the node C in the cluster ik With cluster head node Ch i The initial trust value between is 0;
[0013] Before each round of data transmission begins, calculate the number of nodes C in the cluster ik Energy Factor R is the current round number;
[0014] In each round of data transmission, calculate the node C in the cluster ik The cluster head node Ch i Direct trust parameter between
[0015] Set the node C in the cluster ik Trust threshold function Direct trust parameters by comparing The relationship between the trust threshold of the nodes in the cluster and the trustworthiness of the nodes in the cluster is used to determine whether the nodes in the cluster are trustworthy. ik It is divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the cluster head node Ch i Report untrusted nodes and suspicious nodes to the central node, which will issue instructions to remove untrusted nodes and suspend one round of suspicious nodes from participating in cluster head elections;
[0016] 2) Construct a comprehensive trust management model between cluster head nodes, specifically:
[0017] Before each round of data transmission begins, calculate the i-th cluster head node Ch i Energy factor in round R;
[0018] Calculate the jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on and the jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on The jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on and the jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on Perform weighted addition to obtain the jth cluster head node Ch j At the i-th cluster head node Ch i The comprehensive trust parameter on
[0019] Set the cluster head node trust threshold function By comparing the comprehensive trust parameters The relationship between the cluster head node trust threshold and the cluster head node trustworthiness is used to determine whether the cluster head node is trustworthy. i They are divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the central node issues a command to remove untrusted nodes and suspends one round of suspicious nodes from participating in cluster head election.
[0020] Furthermore, in the process of building the trust management model between the cluster nodes and the cluster head node, before each round of data transmission begins, the cluster node C ik Energy factor in round R R is the current round number, The calculation formula is:
[0021]
[0022] in, Represents the node C in the cluster ik The remaining energy percentage at round R, The calculation formula is:
[0023]
[0024] in, Represents the node C in the cluster ik The remaining energy in the Rth round, E max Represents the initial energy of the node.
[0025] Furthermore, in the process of building the trust management model between the cluster nodes and the cluster head node, in each round of data transmission, the cluster node C ik Transmit data packets to cluster head node Ch i Once successful, the cluster head node Ch i The trust value statistics table of the node C in the cluster ik With cluster head node Ch i The trust value between the cluster heads is increased by 1. After each round of data transmission, the cluster head node Ch i Statistics of nodes C in the cluster in round R ik With cluster head node Ch i Trust value between Then calculate the node C in the cluster ik With cluster head node Ch i Direct trust parameter between
[0026]
[0027] Where D is the node C in the cluster ik To the cluster head node Ch of the cluster i Number of transmitted packets;
[0028] Set the trust threshold function of nodes in the cluster Direct trust parameters by comparing The relationship between the trust threshold of the nodes in the cluster is used to determine whether the nodes in the cluster are trustworthy. The calculation formula is:
[0029]
[0030] Through the trust threshold function of nodes in the cluster The node C in the cluster ik They are divided into trusted nodes, suspicious nodes and untrusted nodes.
[0031] Furthermore, in the process of building a comprehensive trust management model between cluster head nodes, before each round of data transmission begins, the central node broadcasts the location information of the cluster head node. i The cluster head node Ch that is one hop away from itself can be determined based on the location information j , calculate the i-th cluster head node Ch i Energy factor in round R R is the current round number, The calculation formula is:
[0032]
[0033] in, represents the i-th cluster head node Ch i The remaining energy percentage at round R, The calculation formula is:
[0034]
[0035] in, represents the i-th cluster head node Ch i The remaining energy in the Rth round, E max represents the initial energy of the node;
[0036] Among them, the jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on The calculation of is shown in formula (7), i = 1, 2, ..., m, j = 1, 2, ..., m, i ≠ j, the jth cluster head node Ch j is the distance from the i-th cluster head node Ch i Cluster head node at one hop distance;
[0037]
[0038] Among them, s(Ch j ,Ch i) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of successful data transmissions, f(Ch j ,Ch i ) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of failed data transmissions. is the jth cluster head node Ch j To the i-th cluster head node Ch i Transmit the correct number of packets, is the jth cluster head node Ch j Energy factor at round R;
[0039] The jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on It is expressed as:
[0040]
[0041] Among them, the cluster head node Ch l , l=1,2,...,m,i≠j≠l, is the node with cluster head Ch i and cluster head node Ch j The distance between nodes is one hop. is the cluster head node Ch l At the i-th cluster head node Ch i The direct trust parameter on, R is the current round number, s(Ch l ,Ch i ) is the cluster head node Ch l To the i-th cluster head node Ch i The number of successful data transmissions. is the cluster head node Ch l To the i-th cluster head node Ch i The correct number of packets transmitted, is the i-th cluster head node Ch i Energy factor in round R;
[0042] Therefore, the jth cluster head node Ch j At the i-th cluster head node Ch i The comprehensive trust parameter on It is expressed as:
[0043]
[0044] Among them, η 1 is the weight of the direct trust parameter, η 2is the weight of the indirect trust parameter, satisfying η 1 +η 2 =1;
[0045] Among them, the cluster head node trust threshold function is set By comparing the comprehensive trust parameters The relationship between the cluster head node trust threshold and the cluster head node trustworthiness is used to determine whether the cluster head node is trustworthy. The calculation formula is:
[0046]
[0047] Through the cluster head node trust threshold function The i-th cluster head node Ch i They are divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the central node issues a command to remove untrusted nodes and suspends one round of suspicious nodes from participating in cluster head election.
[0048] Through the above-mentioned design scheme, the present invention can bring the following beneficial effects: the method for constructing a trust management model for data transmission of wireless terminals of the power Internet of Things provided by the present invention is proposed to address the problems of incomplete elements and difficulty in ensuring the reliability and effectiveness of transmission when constructing existing trust management models. The method includes the construction of a trust management model between nodes within a cluster and cluster head nodes, and the calculation of direct trust parameters between nodes within a cluster and cluster head nodes by the number of successful information transmissions, the number of correct data packets transmitted, and the energy factor from the nodes within the cluster to the cluster head nodes in the same cluster; and the construction of a comprehensive trust management model between cluster head nodes, and the calculation of comprehensive trust parameters by direct trust parameters and indirect trust parameters between cluster head nodes. The method is scientific and reasonable and can ensure the secure transmission of data of wireless terminals of the power Internet of Things. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to understand the present invention and do not constitute improper limitations of the present invention. In the drawings:
[0050] Figure 1 Flowchart of the method for building a trust management model for data transmission of wireless terminals in the power Internet of Things. DETAILED DESCRIPTION
[0051] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical scheme in the present invention is clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the present invention is not limited to the following embodiments, and the specific implementation method can be determined according to the technical scheme of the present invention and the actual situation. In order to avoid confusing the essence of the present invention, the known methods, processes and flows are not described in detail.
[0052] Reference Figure 1 The method for constructing a trust management model for data transmission of a wireless terminal of the power Internet of Things of the present invention includes two steps: constructing a trust management model between nodes in a cluster and cluster head nodes, and constructing a comprehensive trust management model between cluster head nodes. The specific contents are as follows:
[0053] 1) Construction of trust management model between cluster nodes and cluster head nodes
[0054] Each wireless terminal of the power Internet of Things is regarded as a communication node. Assume that there are N communication nodes in the power Internet of Things, and the initial energy of each node is E max , the nodes of the power Internet of Things network are divided into cluster head nodes and cluster nodes, which are uniformly managed by the central node. The central node is responsible for each round of cluster head election, elimination of untrusted nodes, storage and broadcasting of node address information. In each round of data transmission, the communication nodes in the power Internet of Things network are divided into m clusters, each cluster is represented by C i , i = 1, 2, ..., m, the cluster head node of each cluster is represented by Ch i , i = 1, 2, ..., m, the nodes in each cluster are represented by C ik ,i=1,2,...,m,k=1,2,...,N i , N i represents the number of nodes in the i-th cluster. In each round of data transmission, each node C in the cluster ik To the cluster head node Ch of the cluster i To transmit D packets, the cluster head node Ch i The node C in the cluster to which it belongs ik The information is stored in the cluster head node Ch i In the trust value statistics table; suppose the node C in the cluster ik With cluster head node Ch i The initial trust value between nodes is 0. Before each round of data transmission, the trust value of nodes C in the cluster is calculated. ik Energy factor in round R R is the current round number, The calculation formula is:
[0055]
[0056] in, Represents the node C in the cluster ik The remaining energy percentage at round R, The calculation formula is:
[0057]
[0058] in, Represents the node C in the cluster ik The remaining energy in the Rth round, E max represents the initial energy of the node;
[0059] In each round of data transmission, the nodes C in the cluster ik Transmit data packets to cluster head node Ch i Once successful, cluster head node C ik The trust value statistics table of the node C in the cluster ik With cluster head node Ch i The trust value between the cluster heads is increased by 1. After each round of data transmission, the cluster head node Ch i Statistics of nodes C in the cluster in round R ik With cluster head node Ch i Trust value between Then calculate the node C in the cluster ik With cluster head node Ch i Direct trust parameter between
[0060]
[0061] Where D is the node C in the cluster ik To the cluster head node Ch of the cluster i Number of transmitted packets;
[0062] Set the trust threshold function of nodes in the cluster Direct trust parameters by comparing The relationship between the trust threshold of the nodes in the cluster and whether the nodes in the cluster are trustworthy is determined. The calculation formula is:
[0063]
[0064] Through the trust threshold function of nodes in the cluster The node C in the cluster ik It is divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the cluster head node Ch i Report untrusted nodes and suspicious nodes to the central node, which will issue instructions to remove untrusted nodes and suspend one round of suspicious nodes from participating in cluster head elections;
[0065] 2) Construction of comprehensive trust management model between cluster head nodes
[0066] In the process of building a comprehensive trust management model between cluster head nodes, before each round of data transmission, the central node broadcasts the location information of the cluster head nodes. i The jth cluster head node Ch that is one hop away from itself can be determined based on the location information jBefore each round of data transmission begins, the i-th cluster head node Ch is calculated i Energy factor in round R R is the current round number, The calculation formula is:
[0067]
[0068] in, represents the i-th cluster head node Ch i The remaining energy percentage at round R, The calculation formula is:
[0069]
[0070] in, represents the i-th cluster head node Ch i The remaining energy in the Rth round, E max represents the initial energy of the node;
[0071] Among them, the jth cluster head node Ch j The i-th cluster head node Ch i Direct trust parameters on The calculation of is shown in formula (7), i = 1, 2, ..., m, j = 1, 2, ..., m, i ≠ j;
[0072]
[0073] Among them, s(Ch j ,Ch i ) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of successful data transmissions, f(Ch j ,Ch i ) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of failed data transmissions. is the jth cluster head node Ch j To the i-th cluster head node Ch i Transmit the correct number of packets, is the jth cluster head node Ch j Energy factor at round R;
[0074] The jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on It is expressed as:
[0075]
[0076] Among them, the cluster head node Ch l , l=1,2,...,m,i≠j≠l, is the node with cluster head Ch i and cluster head node Ch j The distance between nodes is one hop. is the cluster head node Ch l At the i-th cluster head node Ch i The direct trust parameter on, R is the current round number, s(Ch l ,Ch i ) is the cluster head node Ch l To the i-th cluster head node Ch i The number of successful data transmissions. is the cluster head node Ch l To the i-th cluster head node Ch i The correct number of packets transmitted, is the i-th cluster head node Ch i Energy factor in round R;
[0077] Therefore, the jth cluster head node Ch j At the i-th cluster head node Ch i The comprehensive trust parameter on It is expressed as:
[0078]
[0079] Among them, η 1 is the weight of the direct trust parameter, η 2 is the weight of the indirect trust parameter, satisfying η 1 +η 2 =1, by default, By default, η 1 and η 2 The value can be adjusted according to actual conditions;
[0080] Among them, the cluster head node trust threshold function is set By comparing the comprehensive trust parameters The relationship between the cluster head node trust threshold and the cluster head node trustworthiness is used to determine whether the cluster head node is trustworthy. The calculation formula is:
[0081]
[0082] Through the cluster head node trust threshold function The i-th cluster head node Ch iThey are divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the central node issues a command to remove untrusted nodes and suspends one round of suspicious nodes from participating in cluster head election.
Claims
1. A method for constructing a trust management model for data transmission of wireless terminals in the power Internet of Things. In this method, each wireless terminal in the power Internet of Things is regarded as a communication node. There are N communication nodes in the power Internet of Things, and the initial energy of each node is E max , the communication nodes in the power Internet of Things network are divided into cluster head nodes and cluster nodes, which are uniformly managed by the central node. The central node is responsible for each round of cluster head election, elimination of untrusted nodes, storage and broadcasting of node address information; the characteristics are, The method includes constructing a trust management model between the nodes in the cluster and the cluster head node and constructing a comprehensive trust management model between the cluster head nodes; 1) Construct a trust management model between cluster nodes and cluster head nodes, specifically: It is pre-set that in each round of data transmission, the communication nodes in the power Internet of Things network are divided into m clusters, each cluster is represented by C i , i = 1, 2, ..., m, the cluster head node of each cluster is represented by Ch i , i = 1, 2, ..., m, the nodes in each cluster are represented by C ik ,i=1,2,...,m,k=1,2,...,N i , N i represents the number of nodes in the i-th cluster. In each round of data transmission, each node C in the cluster ik To the cluster head node Ch of the cluster i To transmit D packets, the cluster head node Ch i The node C in the cluster where it belongs ik The information is stored in the cluster head node Ch i In the trust value statistics table; Assume that the node C in the cluster ik With cluster head node Ch i The initial trust value between is 0; Before each round of data transmission begins, calculate the number of nodes C in the cluster ik Energy Factor R is the current round number; In each round of data transmission, calculate the node C in the cluster ik The cluster head node Ch i Direct trust parameter between Set the node C in the cluster ik Trust threshold function Direct trust parameters by comparing The relationship between the trust threshold of the nodes in the cluster and the trustworthiness of the nodes in the cluster is used to determine whether the nodes in the cluster are trustworthy. ik It is divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the cluster head node Ch i Report untrusted nodes and suspicious nodes to the central node, which will issue instructions to remove untrusted nodes and suspend one round of suspicious nodes from participating in cluster head elections; 2) Construct a comprehensive trust management model between cluster head nodes, specifically: Before each round of data transmission begins, calculate the i-th cluster head node Ch i Energy factor in round R; Calculate the jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on and the jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on The jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on and the jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on Perform weighted addition to obtain the jth cluster head node Ch j At the i-th cluster head node Ch i The comprehensive trust parameter on Set cluster head node trust threshold function By comparing the comprehensive trust parameters The relationship between the cluster head node trust threshold and the cluster head node trustworthiness is used to determine whether the cluster head node is trustworthy. i They are divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the central node issues a command to remove untrusted nodes and suspends one round of suspicious nodes from participating in cluster head election.
2. The method for constructing a trust management model for data transmission of wireless terminals of the power Internet of Things according to claim 1 is characterized in that: In the process of building the trust management model between the nodes in the cluster and the cluster head node, before each round of data transmission begins, the cluster node C is calculated. ik Energy factor in round R R is the current round number, The calculation formula is: in, Represents the node C in the cluster ik The remaining energy percentage at round R, The calculation formula is: in, Represents the node C in the cluster ik The remaining energy in the Rth round, E max Represents the initial energy of the node.
3. The method for constructing a trust management model for data transmission of wireless terminals of the power Internet of Things according to claim 2 is characterized in that: In the process of building the trust management model between the cluster nodes and the cluster head node, in each round of data transmission, the cluster node C ik Transmit data packets to cluster head node Ch i Once successful, the cluster head node Ch i The trust value statistics table of the node C in the cluster ik With cluster head node Ch i The trust value between the cluster heads is increased by 1. After each round of data transmission, the cluster head node Ch i Statistics of nodes C in the cluster in round R ik With cluster head node Ch i Trust value between Then calculate the node C in the cluster ik With cluster head node Ch i Direct trust parameter between Where D is the node C in the cluster ik To the cluster head node Ch of the cluster i Number of transmitted packets; Set the trust threshold function of nodes in the cluster Direct trust parameters by comparing The relationship between the trust threshold of the nodes in the cluster is used to determine whether the nodes in the cluster are trustworthy. The calculation formula is: Through the trust threshold function of nodes in the cluster The node C in the cluster ik They are divided into trusted nodes, suspicious nodes and untrusted nodes.
4. The method for constructing a trust management model for data transmission of wireless terminals of the power Internet of Things according to claim 3 is characterized in that: In the process of building a comprehensive trust management model between cluster head nodes, before each round of data transmission begins, the central node broadcasts the location information of the cluster head node. i The cluster head node Ch that is one hop away from itself can be determined based on the location information j , calculate the i-th cluster head node Ch i Energy factor in round R R is the current round number, The calculation formula is: in, Represents the i-th cluster head node Ch i The remaining energy percentage at round R, The calculation formula is: in, Represents the i-th cluster head node Ch i The remaining energy in the Rth round, E max represents the initial energy of the node; Among them, the jth cluster head node Ch j At the i-th cluster head node Ch i Direct trust parameters on The calculation of is shown in formula (7), i = 1, 2, ..., m, j = 1, 2, ..., m, i ≠ j, the jth cluster head node Ch j is the distance from the i-th cluster head node Ch i Cluster head node at one hop distance; Among them, s(Ch j ,Ch i ) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of successful data transmissions, f(Ch j ,Ch i ) is the jth cluster head node Ch j To the i-th cluster head node Ch i The number of failed data transmissions. is the jth cluster head node Ch j To the i-th cluster head node Ch i Transmit the correct number of packets, is the jth cluster head node Ch j Energy factor at round R; The jth cluster head node Ch j At the i-th cluster head node Ch i Indirect trust parameter on It is expressed as: Among them, the cluster head node Ch l , l=1,2,...,m,i≠j≠l, is the node with cluster head Ch i and cluster head node Ch j The distance between nodes is one hop. is the cluster head node Ch l At the i-th cluster head node Ch i The direct trust parameter on, R is the current round number, s(Ch l ,Ch i ) is the cluster head node Ch l To the i-th cluster head node Ch i The number of successful data transmissions. is the cluster head node Ch l To the i-th cluster head node Ch i The correct number of packets transmitted, is the i-th cluster head node Ch i Energy factor in round R; Therefore, the jth cluster head node Ch j At the i-th cluster head node Ch i The comprehensive trust parameter on It is expressed as: Where η1 is the weight of the direct trust parameter, η2 is the weight of the indirect trust parameter, and η1+η2=1; Among them, the cluster head node trust threshold function is set By comparing the comprehensive trust parameters The relationship between the cluster head node trust threshold and the cluster head node trustworthiness is used to determine whether the cluster head node is trustworthy. The calculation formula is: Through the cluster head node trust threshold function The i-th cluster head node Ch i They are divided into trusted nodes, suspicious nodes and untrusted nodes. Before the next round of data transmission begins, the central node issues a command to remove untrusted nodes and suspends one round of suspicious nodes from participating in cluster head election.
