# Intrusion Detection Analysis of Internet of Things considering Practical Byzantine Fault Tolerance (PBFT) Algorithm

Authors: Leixia Li; Yong Chen; Baojun Lin
Journal: Wireless Communications and Mobile Computing
 (2021)

---

## Abstract

In order to improve the security performance and accuracy of the Internet of things in the use process, it is necessary to use the Internet of things intrusion detection method. At present, the problem of inconsistency between the accuracy of detection results and nodes is more prominent when the Internet of things intrusion detection methods are running. This paper proposes a practical Byzantine fault-tolerant intrusion detection method for the use process of the Internet of things. This method introduces the intrusion detection method and the operation function of foreign attackers on the basis of practical Byzantine fault tolerance; using the expected utility function to the corresponding benefit function of practical Byzantine fault tolerance, the results of Internet of things intrusion detection model can be effectively calculated. Finally, the experimental results show that compared with the existing intrusion detection methods, the proposed method can effectively reduce the energy consumption of the Internet of things in the operation process, can effectively reduce 14.3% and 7.8%, and can effectively reduce the energy consumption of the Internet of things in the operation process.


---

## Body

## 1. Introduction

The Internet of things is a separate network established in the form of self-organization. The traditional Internet of things data can not meet people’s monitoring needs compared with simple ushering in the era of Internet of things intrusion detection and analysis network [1–3]. Internet of things intrusion detection analysis is to add CMOS microcameras, microphones, and other facilities on the premise of using traditional Internet of things nodes to realize the performance of image acquisition, audio, video, and other data. Realize the application of the Internet of things intrusion detection and analysis network in the monitoring field, adopt the combination of the advantages of the traditional Internet of things and the Internet of things intrusion detection and analysis network, and use the coordination function of the combination to achieve the purpose of long-term, effective, and accurate monitoring in the environment. The system can realize the effect of real-time monitoring of a wireless multimedia network. When there are problems in the Internet of things or equipment on the network, the Internet of things intrusion detection system will receive early warning information, and the system will locate the fault information and inform the next level system [4–7].In order to improve the efficiency of Internet of things intrusion detection and reduce the energy consumption in the use of Internet of things, this paper proposes an Internet of things intrusion detection method based on the practical Byzantine fault-tolerant algorithm. By giving priority to identifying nodes with high reliability for intrusion detection, all nodes in the network can be published at the end of detection, so as to realize the analysis of Internet of things intrusion detection.


## 2. Intrusion Detection Principle of Mobile Internet of Things

At present, the intrusion detection method for mobile network is to combine the principal component calculation method with fuzzy C uniform calculation to check the mobile network. The fuzzy c-means method is used to reduce the data aggregation in the mobile network, and the principal component method is used to reduce the data information after the cluster. The component aggregation of the data after dimension reduction needs to be compared with the corresponding dimension number and set the value. If the set value is the same as the comparison result, an alarm will be triggered to detect the mobile network.Using the calculation method of principal component, the variableX of the sample is changed and substituted into the low-dimensional space Y [8, 9]. The formula is as follows:
(1)Y=WTX.In the formula, the number of samples in the mobile network is represented byX, which is composed of the number of M observation objects and the number of N columns, and represents a value in the coordinates of M. The orthogonal photographic data combined by the sample covariance matrix is represented by W and calculated in the form of sample matrix. T stands for transpose matrix. C represents the covariance value of the sample.
(2)C=N−1∑i=1NX−ui2,where ui is the average value and the following formula exists:
(3)CWi=λiWi.In the formula,i=1,2,⋯,N and Wi represent the i-th column sample covariance matrix existing in W in the orthogonal matrix, λi represents the special values occurring in matrix C, and Wi represents the special values represented by and special values. Arrange the data in order according to the size of the data, and combine the value λi corresponding to the first l special values to obtain the L-dimensional data after dimension reduction.Set the random correlation matrix afteru initialization to take value in the interval [0, 1], and meet the constraints of the following formula:
(4)∑i=1cuij=1,∀j=1,⋯,n,∀i,∀j,uij∈0,1,∀i,∑j=1cuij>0.Letvi represent c cluster centers i=1,2,⋯,c, and the calculation formula of cluster centervi is
(5)vi=∑j=1nuij⋅xi∑j=1nuij,∀i.Calculate the cluster center and the second from the formula. The Euclidean distance between this sample isdij.
(6)dij=vi−xj.The fuzzy optimal solution is obtained by the objective functionJ.
(7)J=∑i=1C∑j=1nuijmdij2.In the formula,M represents the fuzzy weighting factor, and the objective function J represents the sum of squares of distances between each cluster center and each sample. Set the threshold ζ. When the target relationship value J is greater than the threshold ζ, prove that the sample data set is intrusion data, alarm, and complete the intrusion detection of mobile network.


## 3. Optimized Deployment of IoT Nodes and Information Fusion Processing

### 3.1. Optimized Deployment Design of IoT Nodes

In order to realize real-time feedback control of online learning and monitoring of things, firstly, the optimal structure design of single-networked nodes requires the use of balanced sensor node control methods for single-network node link distribution model structure, assuming that there arekk≥2 nodes in single network disjoint paths. Betweenvandvv, why the aggregate distribution of E, SN, RN nodes isV=v0,v1,v2,⋯,vn,invn+1,vn+m, the redundancy capacity of a single-layer relay node is described as RCvj=Cvj−wvi, and in Figure 1 in the defined multimedia monitoring area, the tree structure and cross structure are used to periodically forward data packets to the sensor node and cluster head node. The node dispersive link design that divides the time window between the sensor node and the cluster head node is presented.Figure 1
Distributed link design of IoT nodes.As shown in Figure1, the Internet of things is initialized through the monitoring node link model under multimedia, and the cluster head vector group Dn of the multimedia sensing data node is constructed, and the data set is divided into multiple two-dimensional subregions Ak according to the width of the time window. Ak is mainly a two-dimensional information entropy group dn−max−dn−min⋅1/K, which satisfies Ak=A. According to Figure 2, there is channel allocation layout of two relay nodes under the multimedia monitor.Figure 2
Layout of the channel allocation of two-layer relay nodes for multimedia monitoring.If there is a certain space between the SN and sink of the Internet of things,k=1 is initialized, and the position distribution set of multimedia sensor nodes under monitoring is S=s1,s2,⋯,sn, and the double-layer relay nodes are uniformly distributed. The layout method is constituted, using the obtained configuration feature distribution equation. The formula can be expressed by the following formula:
(8)fvi,vk≥0,(9)∑fv0,vk=01≤k≤n+m,(10)∑fvi,vk=01≤k≤n,(11)∑fvj,vk−fvh,vj=0,n+1≤k≤n+m,1≤h≤n+m.


### 3.2. Information Fusion Processing of Sensor Nodes in the Cluster

Based on the detailed design of the corresponding configuration design of the Internet of things nodes, the data is extracted for the two-dimensional entropy feature corresponding to the sensor nodes in the cluster to alleviate the computational overhead information of monitoring multimedia [8]. The processing steps are as follows:
(Step 1)
Enter the geographic coordinates of the Internet of things SN, sink, and initialize the operation of the scope of the Internet of things monitor.(Step 2)
Determine the sleep time. In the information data center, the distanced=d1,d2,⋯,dn between SN and sink is sorted. The group corresponding to the cluster location distribution of multimedia sensor nodes in the monitoring area is S=s1,s2,⋯,sn.(Step 3)
k=1 is initialized, the pseudorandom number adaptive sorting of the multimedia sensor sequence is determined from the current position, and Tag=1 is placed.(Step 4)
Whendk≥d0 and Tagk=1, obtain the best position of the data cluster fusion center and move to step 5. Otherwise, the algorithm ends.(Step 5)
Setting the maximum number of hops for the learning factorsk of the Internet of things. count_maxs,vχk is associated with the sensing IoT route itself and Tagk=0.(12)dsk,v0d0−χk≤0.5.(Step 6)
Select nodes randomly arranged on the connection line ofsk and sink under the sensing Internet of things, and adjust the energy and resources of a network node calculated by RN in the monitoring area χk−1 under the sensing Internet of things, and set sk. The next hop is marked as k, and the multimedia detection information output by the sink node in the range of d0 is quantified, fused, tracked, and identified.


### 3.3. Optimization of IoT Learning Monitoring Feedback

#### 3.3.1. Channel Balanced Allocation Design of the Internet of Things

In any state error under the sensor IoT node, the node variable can be defined asfT and, at the same time, clarify the different characteristics of random nodes in the cluster.
(13)χk≤hop_count_maxsk,v0dsk,v0d0−χk≤0.5.The threshold for selecting data isxmax,xmin. By defining the connection line between each node SN and sink in the cluster, the maximum number of hops can be obtained and the node dimension entropy of IoT learning can be obtained. Meet the following formula:
(14)dvi,v0=dvi′,v0.The average value of data near the monitoring node learned through the Internet of things has the spatial characteristics of the distribution of monitoring feedback data(15)dvi′,vj′>12dvi+1,vj;dvi′,vj=12dvi+1,vj;dvi′,vj<12dvi+1,vj.The information probabilitiesl and g of the unit data subset are integers, assuming that the probability weighted distance of each node determines the threshold group. After dvi′,vj>1/2dvi+1,vj, the channel allocation control function used for data transmission in a single node i has been described.
(16)dvi+1,vj/d0=ldvi+1,vjd0=l,dvi,vjd0⟶λ;dvi,vjd0+1=λ+1,dvi+1,vjd0=λ⋅γ.


#### 3.3.2. IOT Transmission Delay Control

The linear shift channel allocation method is used, and the intelligent search algorithm for the transmission delay control of the Internet of things is used to perform the processing of the Internet of things learning monitoring feedback link equalization.(17)e=1n_ever∑i=1n_eversqrtxi−x∧i2+yi−y∧i2,(18)hop_count_maxvi,vo=dvi,v0d0+1.When the distance from the SN to the sink is arranged in descending order and the load of the object’s network cluster headni is constant, the global balanced scheduling method is used to perform real-time feedback control of monitoring information. The fuzzy adaptive weighted control processing of multimedia sensor nodes describes the critical thresholds related to physical network learning to monitor real-time feedback.
(19)ETxL,d=LEelect+Lεfsd2,d<d0,LEelect+Lεmpd4,d>d0,(20)ERxL=LEelect.In the formula,Eelect represents the global energy equalization coefficient. Through the above processing, the global equalization control of the transmission link of the Internet of things is realized, and the real-time feedback capability of multimedia information learning and monitoring is improved through the optimal configuration of the smart phone node.


#### 3.3.3. IoT Performance Monitoring Model

RTFM is a working group established by IETF. We have proposed a general framework for describing and measuring single network services. And based on this framework, based on RTFM, the Internet of things intrusion detection and real-time risk based on the real-time monitoring platform of the Internet of Thousands of Things are proposed. The early warning and real-time risk early warning system model is shown in Figure3. The model is classified into four modules: rule input system, flow collection system, data analysis system, and database system.Figure 3
System model.In this model, the traffic collection system is based on the rules set by the rule input system. Thousands of real-time Internet of things traffic filter and aggregate the Internet of things traffic, save the effective data in the database system, and provide it for data analysis. The system handles it. The data analysis system processes valid data to obtain the changes and distribution information of the Internet of things intrusion to predict, adjust, and manage the actions of the Internet of things.The flow of the system model is shown in Figure4.Figure 4
System process.In the shared media Internet of things, any packet that flows through the Internet of things is higher than the grouping required by the hardware configuration of the Internet of things segment business, making it impossible to process the intercepted packets in time. As long as the server used for IoT intrusion analysis is installed in the network segment interconnected with the outside world and the network card of the machine is set to “hybrid” mode, all IP data packets entering and leaving the Internet of things can be captured, and if the IP packets are analyzed and then compiled if successful, you can get the necessary information such as the source address, destination address, data volume, and application protocol. Its advantage is that it does not change the structure of the Internet of things, does not increase the load of the Internet of things, and does not occupy the resources of the Internet of things. It has nothing to do with the waiting time of the Internet of things and does not affect the network usage of user items.This article uses Raw Socket to implement the Sniffer method is relatively simple but only cuts the packet above the IP layer and does not contain frame information. It can not meet some special requirements. From the analysis of the current Internet of things intrusion model, it can be seen that the entire Internet of things intrusion is mainly the practical Byzantine Fault Tolerance (PBFT) algorithm traffic, and the changes in the practical Byzantine Fault Tolerance (PBFT) algorithm traffic basically reflect the changes in the entire Internet of things intrusion, so it can use the Practical Byzantine Fault Tolerance (PBFT) algorithm traffic instead of total traffic to analyze the performance of the Internet of things; that is, you can use Raw Socket to obtain traffic information.


### 3.4. Practical Byzantine Fault Tolerant Intrusion Detection Method

#### 3.4.1. Practical Byzantine Fault Tolerance Algorithm

A practical Byzantine fault-tolerant algorithm is constructed through four tuples, the income function of attacker and intrusion detection system is obtained according to the model, the attack strategy group and defense strategy group are constructed according to the income function, the income matrix of the game model is obtained by using the desired function, and the Nash balance of the game model is calculated according to the income matrix.The representative is the practical Byzantine fault-tolerant algorithm, which represents the modelRRDM through the four tuple attender, action, profits, and times.
(21)RRDM=attender,action,profits,times.In the formula, attender has intrusion detection system and intruder. The attacker is replaced bya and the intrusion detection system is represented by B. The intrusion detection system is different from the attacker’s attack space: attacker a’s attack space. Aa=N,A,M,P includes normal, attack, abnormal, and preattack. Formula Ad=C,R,W,D represents the action space of intrusion detection system. It includes continuous execution, execution, early warning, and protection.Set the respective representatives ofUaAa and UdAd as the revenue function of attacker and intrusion detection system, T represents the total number of games, and equation (21) was converted into the following equation:
(22)RRDM=a,d;Aa,Ad;UaAa,UdAd;T.Make attack strategy suit and defense strategy suit according to formula (22). The expressions are as follows.
(23)Sa=SN,SM,SP,SA,(24)Sd=SC,SR,SW,SD.In the formula,SN, SN, SP, and SA represent normal, attack, abnormal, and preattack action strategies, respectively. SC,SR,SW,andSD, respectively, indicate continued execution, recommended execution, alarm, and protective action. Sad=sa,sdsa∈Sa,sd∈Sd expressed the action strategy of both sides of the bureau.In the case of action strategySad=SA,SC, the attacker obtains the highest benefit in the mobile network. In action strategy Sad=SP,SD, the intrusion detection system is beneficial to the attacker when the attacker attacks the moving body [10, 11]. If an attacker wants to attack a moving body on the network, the intrusion detection system will take preventive measures. Through the above analysis, the intrusion detection system and the attacker’s action strategy are converted into the corresponding preference set, and the expected utility function is used to set the preference set in the interval 0,1. UX represents the effective function of both sides of the game. The behavior of UX is as follows:
(25)UX=∑SadP1ux1+⋯+Pkuxk.The equation represents the probability of intrusion detection system or attacker adopting different strategies in mobile network each time and represents the benefits of various strategies. Under ideal conditions, the probability of different action processing by attacker and intrusion detection system is 0.25.uxi can calculate the income matrix of the game model and get the balance of the game model.


### 3.5. Optimization Method of Practical Byzantine Fault-Tolerant Intrusion Detection Method

The adjustment value of the balance calculation method can be fed back randomly, the practical performance of the mobile network is increased by the adjusted probability ofPi, the profit factor Pi is substituted into the function formula, and the intrusion detection method is actually optimized. The setting of P∗=P1∗,P2∗,⋯,Pi∗ represents the random optimal equilibrium value that occurs in the real Byzantine calculation method. Pi∗=P1∗,P2∗,⋯,Pk∗ represents the situation of intrusion detection system and tactics used by attackers in a game. Pi∗ represents the tactical hybrid probability set by the intrusion detection system and the attacker. Δi represents a collection of hybrid tactics.
(26)Δi=Pi∗=P1∗,P2∗,⋯,Pk∗.The mixed strategic spaceΔ=∏Δi of the intrusion detection system and the attacker is obtained by equation (26). Through the strategy space Δ, the probability function πi∗ of the intrusion detection system and the attacker’s choice of action strategy is obtained.
(27)πi∗=λuxi∑k=1iλuxi.In the formula,λ denotes the weighting coefficient. When λ approaches infinity, the stochastic optimization reflects that the equilibrium is close to nanometer equilibrium, and the final result can be obtained by equation (26).The ideal probability in a normal mobile network is almost zero, and attackers use different attack methods and strategies to attack the mobile network. Formulas (1) and (14) are optimized consistently to improve the detection accuracy of the actual Byzantine intrusion detection method. Suppose δ∈0,1 is representative of the profit factor. The profit of both parties during the game is determined by the profit factor. The larger the value of δ, the more important the intrusion detection system or the attacker attaches to the overall profit and the higher the rate of return. The smaller value ofδ indicates that the intrusion detection system or the attacker pays less attention to the overall income. If the efficiency function is imported, the following formula can be obtained:
(28)UX=∑k=1∞1−πi∗k−1πi∗δk−1.Formula (28) belongs to the revenue function. Players in each game need to actively change their action tactics to maximize the revenue value, check malicious attacks in the mobile network according to the revenue function, and delete the combination of malicious nodes to improve the security performance of the mobile network [12–14].


### 3.6. Disciplinary Mechanisms

The use of disciplinary agencies poses a threat to malicious nodes in the mobile network. The purpose of the retribution mechanism is to have one node representing the attack, but the other nodes are not represented by the malicious node transmitted from the next timeslot. There are three levels of punishment.(1)
If no malicious node is detected in the previous mobile network game, all nodes remain in the current state in the network, and if the malicious node is detected in the mobile network, it will move to the next step(2)
Punishment agencies punish malicious nodes and keep other nodes in the mobile network in their original state during punishment(3)
After malicious node operation, the real dataU1,⋯,UN of mobile network is shown below. If there is malicious behavior in the third step, it needs to go back to the second step according to the punishment malicious nodeIf the malicious nodeϑ becomes normal, the maximum profit of node ϑ in the departure time slot is v¯k, the profit of node ϑ in the punishment Tk time is v̇k, and the profit of node ϑ in the normal state is vk′. The average discounted utility value U^k of node ϑ in mobile Internet of things can be obtained:
(29)Uk=1−δv¯k+δ1−δTkv̇k+δTk+1vk′.The utility value of the average discount of the nodeϑ in the game when the node ϑ is in the normal state is
(30)Uk=1−δ∑t=0∞δvk=vkAccording to Formulas (29) and (30), the deviation profit ΔUk of node ϑ in mobile network can be obtained. ΔUk is calculated by the following formula:
(31)ΔUk=U^k−Uk.In formula (31), the deviation gain must be below zero, and the deviation gain of node ϑ is smaller than the cooperation gain. At this point, no rational node in the mobile network deviates from the normal state.


## 3.1. Optimized Deployment Design of IoT Nodes

In order to realize real-time feedback control of online learning and monitoring of things, firstly, the optimal structure design of single-networked nodes requires the use of balanced sensor node control methods for single-network node link distribution model structure, assuming that there arekk≥2 nodes in single network disjoint paths. Betweenvandvv, why the aggregate distribution of E, SN, RN nodes isV=v0,v1,v2,⋯,vn,invn+1,vn+m, the redundancy capacity of a single-layer relay node is described as RCvj=Cvj−wvi, and in Figure 1 in the defined multimedia monitoring area, the tree structure and cross structure are used to periodically forward data packets to the sensor node and cluster head node. The node dispersive link design that divides the time window between the sensor node and the cluster head node is presented.Figure 1
Distributed link design of IoT nodes.As shown in Figure1, the Internet of things is initialized through the monitoring node link model under multimedia, and the cluster head vector group Dn of the multimedia sensing data node is constructed, and the data set is divided into multiple two-dimensional subregions Ak according to the width of the time window. Ak is mainly a two-dimensional information entropy group dn−max−dn−min⋅1/K, which satisfies Ak=A. According to Figure 2, there is channel allocation layout of two relay nodes under the multimedia monitor.Figure 2
Layout of the channel allocation of two-layer relay nodes for multimedia monitoring.If there is a certain space between the SN and sink of the Internet of things,k=1 is initialized, and the position distribution set of multimedia sensor nodes under monitoring is S=s1,s2,⋯,sn, and the double-layer relay nodes are uniformly distributed. The layout method is constituted, using the obtained configuration feature distribution equation. The formula can be expressed by the following formula:
(8)fvi,vk≥0,(9)∑fv0,vk=01≤k≤n+m,(10)∑fvi,vk=01≤k≤n,(11)∑fvj,vk−fvh,vj=0,n+1≤k≤n+m,1≤h≤n+m.


## 3.2. Information Fusion Processing of Sensor Nodes in the Cluster

Based on the detailed design of the corresponding configuration design of the Internet of things nodes, the data is extracted for the two-dimensional entropy feature corresponding to the sensor nodes in the cluster to alleviate the computational overhead information of monitoring multimedia [8]. The processing steps are as follows:
(Step 1)
Enter the geographic coordinates of the Internet of things SN, sink, and initialize the operation of the scope of the Internet of things monitor.(Step 2)
Determine the sleep time. In the information data center, the distanced=d1,d2,⋯,dn between SN and sink is sorted. The group corresponding to the cluster location distribution of multimedia sensor nodes in the monitoring area is S=s1,s2,⋯,sn.(Step 3)
k=1 is initialized, the pseudorandom number adaptive sorting of the multimedia sensor sequence is determined from the current position, and Tag=1 is placed.(Step 4)
Whendk≥d0 and Tagk=1, obtain the best position of the data cluster fusion center and move to step 5. Otherwise, the algorithm ends.(Step 5)
Setting the maximum number of hops for the learning factorsk of the Internet of things. count_maxs,vχk is associated with the sensing IoT route itself and Tagk=0.(12)dsk,v0d0−χk≤0.5.(Step 6)
Select nodes randomly arranged on the connection line ofsk and sink under the sensing Internet of things, and adjust the energy and resources of a network node calculated by RN in the monitoring area χk−1 under the sensing Internet of things, and set sk. The next hop is marked as k, and the multimedia detection information output by the sink node in the range of d0 is quantified, fused, tracked, and identified.


## 3.3. Optimization of IoT Learning Monitoring Feedback

### 3.3.1. Channel Balanced Allocation Design of the Internet of Things

In any state error under the sensor IoT node, the node variable can be defined asfT and, at the same time, clarify the different characteristics of random nodes in the cluster.
(13)χk≤hop_count_maxsk,v0dsk,v0d0−χk≤0.5.The threshold for selecting data isxmax,xmin. By defining the connection line between each node SN and sink in the cluster, the maximum number of hops can be obtained and the node dimension entropy of IoT learning can be obtained. Meet the following formula:
(14)dvi,v0=dvi′,v0.The average value of data near the monitoring node learned through the Internet of things has the spatial characteristics of the distribution of monitoring feedback data(15)dvi′,vj′>12dvi+1,vj;dvi′,vj=12dvi+1,vj;dvi′,vj<12dvi+1,vj.The information probabilitiesl and g of the unit data subset are integers, assuming that the probability weighted distance of each node determines the threshold group. After dvi′,vj>1/2dvi+1,vj, the channel allocation control function used for data transmission in a single node i has been described.
(16)dvi+1,vj/d0=ldvi+1,vjd0=l,dvi,vjd0⟶λ;dvi,vjd0+1=λ+1,dvi+1,vjd0=λ⋅γ.


### 3.3.2. IOT Transmission Delay Control

The linear shift channel allocation method is used, and the intelligent search algorithm for the transmission delay control of the Internet of things is used to perform the processing of the Internet of things learning monitoring feedback link equalization.(17)e=1n_ever∑i=1n_eversqrtxi−x∧i2+yi−y∧i2,(18)hop_count_maxvi,vo=dvi,v0d0+1.When the distance from the SN to the sink is arranged in descending order and the load of the object’s network cluster headni is constant, the global balanced scheduling method is used to perform real-time feedback control of monitoring information. The fuzzy adaptive weighted control processing of multimedia sensor nodes describes the critical thresholds related to physical network learning to monitor real-time feedback.
(19)ETxL,d=LEelect+Lεfsd2,d<d0,LEelect+Lεmpd4,d>d0,(20)ERxL=LEelect.In the formula,Eelect represents the global energy equalization coefficient. Through the above processing, the global equalization control of the transmission link of the Internet of things is realized, and the real-time feedback capability of multimedia information learning and monitoring is improved through the optimal configuration of the smart phone node.


### 3.3.3. IoT Performance Monitoring Model

RTFM is a working group established by IETF. We have proposed a general framework for describing and measuring single network services. And based on this framework, based on RTFM, the Internet of things intrusion detection and real-time risk based on the real-time monitoring platform of the Internet of Thousands of Things are proposed. The early warning and real-time risk early warning system model is shown in Figure3. The model is classified into four modules: rule input system, flow collection system, data analysis system, and database system.Figure 3
System model.In this model, the traffic collection system is based on the rules set by the rule input system. Thousands of real-time Internet of things traffic filter and aggregate the Internet of things traffic, save the effective data in the database system, and provide it for data analysis. The system handles it. The data analysis system processes valid data to obtain the changes and distribution information of the Internet of things intrusion to predict, adjust, and manage the actions of the Internet of things.The flow of the system model is shown in Figure4.Figure 4
System process.In the shared media Internet of things, any packet that flows through the Internet of things is higher than the grouping required by the hardware configuration of the Internet of things segment business, making it impossible to process the intercepted packets in time. As long as the server used for IoT intrusion analysis is installed in the network segment interconnected with the outside world and the network card of the machine is set to “hybrid” mode, all IP data packets entering and leaving the Internet of things can be captured, and if the IP packets are analyzed and then compiled if successful, you can get the necessary information such as the source address, destination address, data volume, and application protocol. Its advantage is that it does not change the structure of the Internet of things, does not increase the load of the Internet of things, and does not occupy the resources of the Internet of things. It has nothing to do with the waiting time of the Internet of things and does not affect the network usage of user items.This article uses Raw Socket to implement the Sniffer method is relatively simple but only cuts the packet above the IP layer and does not contain frame information. It can not meet some special requirements. From the analysis of the current Internet of things intrusion model, it can be seen that the entire Internet of things intrusion is mainly the practical Byzantine Fault Tolerance (PBFT) algorithm traffic, and the changes in the practical Byzantine Fault Tolerance (PBFT) algorithm traffic basically reflect the changes in the entire Internet of things intrusion, so it can use the Practical Byzantine Fault Tolerance (PBFT) algorithm traffic instead of total traffic to analyze the performance of the Internet of things; that is, you can use Raw Socket to obtain traffic information.


## 3.3.1. Channel Balanced Allocation Design of the Internet of Things

In any state error under the sensor IoT node, the node variable can be defined asfT and, at the same time, clarify the different characteristics of random nodes in the cluster.
(13)χk≤hop_count_maxsk,v0dsk,v0d0−χk≤0.5.The threshold for selecting data isxmax,xmin. By defining the connection line between each node SN and sink in the cluster, the maximum number of hops can be obtained and the node dimension entropy of IoT learning can be obtained. Meet the following formula:
(14)dvi,v0=dvi′,v0.The average value of data near the monitoring node learned through the Internet of things has the spatial characteristics of the distribution of monitoring feedback data(15)dvi′,vj′>12dvi+1,vj;dvi′,vj=12dvi+1,vj;dvi′,vj<12dvi+1,vj.The information probabilitiesl and g of the unit data subset are integers, assuming that the probability weighted distance of each node determines the threshold group. After dvi′,vj>1/2dvi+1,vj, the channel allocation control function used for data transmission in a single node i has been described.
(16)dvi+1,vj/d0=ldvi+1,vjd0=l,dvi,vjd0⟶λ;dvi,vjd0+1=λ+1,dvi+1,vjd0=λ⋅γ.


## 3.3.2. IOT Transmission Delay Control

The linear shift channel allocation method is used, and the intelligent search algorithm for the transmission delay control of the Internet of things is used to perform the processing of the Internet of things learning monitoring feedback link equalization.(17)e=1n_ever∑i=1n_eversqrtxi−x∧i2+yi−y∧i2,(18)hop_count_maxvi,vo=dvi,v0d0+1.When the distance from the SN to the sink is arranged in descending order and the load of the object’s network cluster headni is constant, the global balanced scheduling method is used to perform real-time feedback control of monitoring information. The fuzzy adaptive weighted control processing of multimedia sensor nodes describes the critical thresholds related to physical network learning to monitor real-time feedback.
(19)ETxL,d=LEelect+Lεfsd2,d<d0,LEelect+Lεmpd4,d>d0,(20)ERxL=LEelect.In the formula,Eelect represents the global energy equalization coefficient. Through the above processing, the global equalization control of the transmission link of the Internet of things is realized, and the real-time feedback capability of multimedia information learning and monitoring is improved through the optimal configuration of the smart phone node.


## 3.3.3. IoT Performance Monitoring Model

RTFM is a working group established by IETF. We have proposed a general framework for describing and measuring single network services. And based on this framework, based on RTFM, the Internet of things intrusion detection and real-time risk based on the real-time monitoring platform of the Internet of Thousands of Things are proposed. The early warning and real-time risk early warning system model is shown in Figure3. The model is classified into four modules: rule input system, flow collection system, data analysis system, and database system.Figure 3
System model.In this model, the traffic collection system is based on the rules set by the rule input system. Thousands of real-time Internet of things traffic filter and aggregate the Internet of things traffic, save the effective data in the database system, and provide it for data analysis. The system handles it. The data analysis system processes valid data to obtain the changes and distribution information of the Internet of things intrusion to predict, adjust, and manage the actions of the Internet of things.The flow of the system model is shown in Figure4.Figure 4
System process.In the shared media Internet of things, any packet that flows through the Internet of things is higher than the grouping required by the hardware configuration of the Internet of things segment business, making it impossible to process the intercepted packets in time. As long as the server used for IoT intrusion analysis is installed in the network segment interconnected with the outside world and the network card of the machine is set to “hybrid” mode, all IP data packets entering and leaving the Internet of things can be captured, and if the IP packets are analyzed and then compiled if successful, you can get the necessary information such as the source address, destination address, data volume, and application protocol. Its advantage is that it does not change the structure of the Internet of things, does not increase the load of the Internet of things, and does not occupy the resources of the Internet of things. It has nothing to do with the waiting time of the Internet of things and does not affect the network usage of user items.This article uses Raw Socket to implement the Sniffer method is relatively simple but only cuts the packet above the IP layer and does not contain frame information. It can not meet some special requirements. From the analysis of the current Internet of things intrusion model, it can be seen that the entire Internet of things intrusion is mainly the practical Byzantine Fault Tolerance (PBFT) algorithm traffic, and the changes in the practical Byzantine Fault Tolerance (PBFT) algorithm traffic basically reflect the changes in the entire Internet of things intrusion, so it can use the Practical Byzantine Fault Tolerance (PBFT) algorithm traffic instead of total traffic to analyze the performance of the Internet of things; that is, you can use Raw Socket to obtain traffic information.


## 3.4. Practical Byzantine Fault Tolerant Intrusion Detection Method

### 3.4.1. Practical Byzantine Fault Tolerance Algorithm

A practical Byzantine fault-tolerant algorithm is constructed through four tuples, the income function of attacker and intrusion detection system is obtained according to the model, the attack strategy group and defense strategy group are constructed according to the income function, the income matrix of the game model is obtained by using the desired function, and the Nash balance of the game model is calculated according to the income matrix.The representative is the practical Byzantine fault-tolerant algorithm, which represents the modelRRDM through the four tuple attender, action, profits, and times.
(21)RRDM=attender,action,profits,times.In the formula, attender has intrusion detection system and intruder. The attacker is replaced bya and the intrusion detection system is represented by B. The intrusion detection system is different from the attacker’s attack space: attacker a’s attack space. Aa=N,A,M,P includes normal, attack, abnormal, and preattack. Formula Ad=C,R,W,D represents the action space of intrusion detection system. It includes continuous execution, execution, early warning, and protection.Set the respective representatives ofUaAa and UdAd as the revenue function of attacker and intrusion detection system, T represents the total number of games, and equation (21) was converted into the following equation:
(22)RRDM=a,d;Aa,Ad;UaAa,UdAd;T.Make attack strategy suit and defense strategy suit according to formula (22). The expressions are as follows.
(23)Sa=SN,SM,SP,SA,(24)Sd=SC,SR,SW,SD.In the formula,SN, SN, SP, and SA represent normal, attack, abnormal, and preattack action strategies, respectively. SC,SR,SW,andSD, respectively, indicate continued execution, recommended execution, alarm, and protective action. Sad=sa,sdsa∈Sa,sd∈Sd expressed the action strategy of both sides of the bureau.In the case of action strategySad=SA,SC, the attacker obtains the highest benefit in the mobile network. In action strategy Sad=SP,SD, the intrusion detection system is beneficial to the attacker when the attacker attacks the moving body [10, 11]. If an attacker wants to attack a moving body on the network, the intrusion detection system will take preventive measures. Through the above analysis, the intrusion detection system and the attacker’s action strategy are converted into the corresponding preference set, and the expected utility function is used to set the preference set in the interval 0,1. UX represents the effective function of both sides of the game. The behavior of UX is as follows:
(25)UX=∑SadP1ux1+⋯+Pkuxk.The equation represents the probability of intrusion detection system or attacker adopting different strategies in mobile network each time and represents the benefits of various strategies. Under ideal conditions, the probability of different action processing by attacker and intrusion detection system is 0.25.uxi can calculate the income matrix of the game model and get the balance of the game model.


## 3.4.1. Practical Byzantine Fault Tolerance Algorithm

A practical Byzantine fault-tolerant algorithm is constructed through four tuples, the income function of attacker and intrusion detection system is obtained according to the model, the attack strategy group and defense strategy group are constructed according to the income function, the income matrix of the game model is obtained by using the desired function, and the Nash balance of the game model is calculated according to the income matrix.The representative is the practical Byzantine fault-tolerant algorithm, which represents the modelRRDM through the four tuple attender, action, profits, and times.
(21)RRDM=attender,action,profits,times.In the formula, attender has intrusion detection system and intruder. The attacker is replaced bya and the intrusion detection system is represented by B. The intrusion detection system is different from the attacker’s attack space: attacker a’s attack space. Aa=N,A,M,P includes normal, attack, abnormal, and preattack. Formula Ad=C,R,W,D represents the action space of intrusion detection system. It includes continuous execution, execution, early warning, and protection.Set the respective representatives ofUaAa and UdAd as the revenue function of attacker and intrusion detection system, T represents the total number of games, and equation (21) was converted into the following equation:
(22)RRDM=a,d;Aa,Ad;UaAa,UdAd;T.Make attack strategy suit and defense strategy suit according to formula (22). The expressions are as follows.
(23)Sa=SN,SM,SP,SA,(24)Sd=SC,SR,SW,SD.In the formula,SN, SN, SP, and SA represent normal, attack, abnormal, and preattack action strategies, respectively. SC,SR,SW,andSD, respectively, indicate continued execution, recommended execution, alarm, and protective action. Sad=sa,sdsa∈Sa,sd∈Sd expressed the action strategy of both sides of the bureau.In the case of action strategySad=SA,SC, the attacker obtains the highest benefit in the mobile network. In action strategy Sad=SP,SD, the intrusion detection system is beneficial to the attacker when the attacker attacks the moving body [10, 11]. If an attacker wants to attack a moving body on the network, the intrusion detection system will take preventive measures. Through the above analysis, the intrusion detection system and the attacker’s action strategy are converted into the corresponding preference set, and the expected utility function is used to set the preference set in the interval 0,1. UX represents the effective function of both sides of the game. The behavior of UX is as follows:
(25)UX=∑SadP1ux1+⋯+Pkuxk.The equation represents the probability of intrusion detection system or attacker adopting different strategies in mobile network each time and represents the benefits of various strategies. Under ideal conditions, the probability of different action processing by attacker and intrusion detection system is 0.25.uxi can calculate the income matrix of the game model and get the balance of the game model.


## 3.5. Optimization Method of Practical Byzantine Fault-Tolerant Intrusion Detection Method

The adjustment value of the balance calculation method can be fed back randomly, the practical performance of the mobile network is increased by the adjusted probability ofPi, the profit factor Pi is substituted into the function formula, and the intrusion detection method is actually optimized. The setting of P∗=P1∗,P2∗,⋯,Pi∗ represents the random optimal equilibrium value that occurs in the real Byzantine calculation method. Pi∗=P1∗,P2∗,⋯,Pk∗ represents the situation of intrusion detection system and tactics used by attackers in a game. Pi∗ represents the tactical hybrid probability set by the intrusion detection system and the attacker. Δi represents a collection of hybrid tactics.
(26)Δi=Pi∗=P1∗,P2∗,⋯,Pk∗.The mixed strategic spaceΔ=∏Δi of the intrusion detection system and the attacker is obtained by equation (26). Through the strategy space Δ, the probability function πi∗ of the intrusion detection system and the attacker’s choice of action strategy is obtained.
(27)πi∗=λuxi∑k=1iλuxi.In the formula,λ denotes the weighting coefficient. When λ approaches infinity, the stochastic optimization reflects that the equilibrium is close to nanometer equilibrium, and the final result can be obtained by equation (26).The ideal probability in a normal mobile network is almost zero, and attackers use different attack methods and strategies to attack the mobile network. Formulas (1) and (14) are optimized consistently to improve the detection accuracy of the actual Byzantine intrusion detection method. Suppose δ∈0,1 is representative of the profit factor. The profit of both parties during the game is determined by the profit factor. The larger the value of δ, the more important the intrusion detection system or the attacker attaches to the overall profit and the higher the rate of return. The smaller value ofδ indicates that the intrusion detection system or the attacker pays less attention to the overall income. If the efficiency function is imported, the following formula can be obtained:
(28)UX=∑k=1∞1−πi∗k−1πi∗δk−1.Formula (28) belongs to the revenue function. Players in each game need to actively change their action tactics to maximize the revenue value, check malicious attacks in the mobile network according to the revenue function, and delete the combination of malicious nodes to improve the security performance of the mobile network [12–14].


## 3.6. Disciplinary Mechanisms

The use of disciplinary agencies poses a threat to malicious nodes in the mobile network. The purpose of the retribution mechanism is to have one node representing the attack, but the other nodes are not represented by the malicious node transmitted from the next timeslot. There are three levels of punishment.(1)
If no malicious node is detected in the previous mobile network game, all nodes remain in the current state in the network, and if the malicious node is detected in the mobile network, it will move to the next step(2)
Punishment agencies punish malicious nodes and keep other nodes in the mobile network in their original state during punishment(3)
After malicious node operation, the real dataU1,⋯,UN of mobile network is shown below. If there is malicious behavior in the third step, it needs to go back to the second step according to the punishment malicious nodeIf the malicious nodeϑ becomes normal, the maximum profit of node ϑ in the departure time slot is v¯k, the profit of node ϑ in the punishment Tk time is v̇k, and the profit of node ϑ in the normal state is vk′. The average discounted utility value U^k of node ϑ in mobile Internet of things can be obtained:
(29)Uk=1−δv¯k+δ1−δTkv̇k+δTk+1vk′.The utility value of the average discount of the nodeϑ in the game when the node ϑ is in the normal state is
(30)Uk=1−δ∑t=0∞δvk=vkAccording to Formulas (29) and (30), the deviation profit ΔUk of node ϑ in mobile network can be obtained. ΔUk is calculated by the following formula:
(31)ΔUk=U^k−Uk.In formula (31), the deviation gain must be below zero, and the deviation gain of node ϑ is smaller than the cooperation gain. At this point, no rational node in the mobile network deviates from the normal state.


## 4. Experimental Results and Analysis

### 4.1. Network Topology

The network cluster structure adopted in this paper is mainly composed of cluster head node and general node, which is a general topology structure in practical application. The common nodes, namely, sensor nodes, are terminal nodes in single network. The cluster head node (that is, the gateway device in a single network) manages the nodes in the cluster and reports data to the outside world. IDS operates at the cluster head node, and each cluster head node performs intrusion detection between it and other cluster head nodes based on PBFT [15]. The specific network topology is shown in Figure 5.Figure 5
Network topology.


### 4.2. Data Set Preprocessing

The KDD Train of the NSL-JDD data set was tested experimentally. The training model of 20 percent training set allows nodes to randomly select one from the test subset of KDD test-21 to record and perform intrusion detection operations as the node at this time (Table1).Table 1
Attack types.
Attack typesAttack subtypeNormalNormalDoSBack, land, Neptune, pod, smurf, teardrop, apache2, adpstorm, processtable, wormProbeIpsweep, nmap, portsweep, satan, mascan, saintU2Rbuffer_overflow, loadmodule, perl, rootkit, perl, sqlattack, xterm, ps


### 4.3. Experimental Evaluation Criteria

The security performance of intrusion detection method is mainly reflected in the detection rate indicator, especially the ratio of the number of detected malicious nodes to the total number of malicious nodes in the network. Common evaluation criteria are used here: (1) TP (True Positive) indicates the number of samples that are correctly judged as positive types, (2) TN (True Negative) indicates the number of samples that are correctly identified as Negative, and (3) FP (False Positive) indicates the number of samples whose sample error is judged to be negative.Then, Detection Rate (DR) is defined as(32)DR=TNTN+FN.The other mode of intrusion detection is energy consumption, which has the characteristics of the following: (1) EV is the energy consumption in node election, (2) EDI is the energy consumption of node intrusion detection, (3) EP is the energy consumption of node to publish detection results, and (4) EC is the statistical energy consumption of node measurement results.Energy consumption of all nodes in the network is(33)E=∑iNEVi+∑iN′EID+EP+∑iN∑jN″ECij.


### 4.4. Experimental Scheme Design

In order to test the effectiveness of the practical Byzantine fault tolerance algorithm proposed by ontology, the SVM algorithm is used to detect the NSL-KDD data set to obtain the detection rules. In the experimental process of this paper, the relevant rules of flow control and intrusion detection can be realized by using the microcontroller, and the Active Message layer can be used to effectively control the RF module, so as to realize the mutual communication between the communication nodes. Based on the previous single network intrusion detection methods, this paper presents a comparative experimental study. Detailed simulation environment parameters are shown in Table2.Table 2
Simulation parameters.
ParameterThe default valueNetwork area size400×400Number of nodes60~300Number of abnormal nodes15%-20%Initialize weightswi1Initialize the trusted listnodei,i∈0,N−1Detection intervalΔt70 sThe elapsed time20 min


### 4.5. Analysis of Results

In this paper, simulation experiments are conducted on different types of network nodes and abnormal proportion nodes in the initial state, as shown in Figure6. Experimental results obtained in different types of network states can be seen. As can be seen from the experimental results in Figure 6, due to the impact of dimensionality reduction, the accuracy of the training data set will also be affected to a certain extent. Therefore, the two-dimensional reduction detection method is used to optimize the model used by the algorithm in this paper to ensure that the detection rate of colleges and universities can be achieved under the condition of a large number of network nodes.Figure 6
Detection rates of three intrusion detection methods under different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the networkFigure7 shows the error rate in a single network with different proportions of the three methods attacking nodes. As can be seen from Figure 7, PBFT can modify the detection errors of a single node, and the introduced matching protocol has the lowest error rate. However, false positives occur on the network only when detection errors occur on nodes above M+1. On the other hand, IIDS and TDTC methods only rely on the detection results of a single node, especially the TDTC method which has the highest false positive rate of the three methods after the accuracy of the data set is reduced.Figure 7
False positive rate of three intrusion detection methods under different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the networkBy evaluating the network intrusion detection method, the network energy consumption can be obtained. Under the same experimental conditions, the algorithm proposed in this paper can complete the algorithm test under the environment of as little energy consumption as possible. As shown in Figure8, after setting 15% and 20% of the total number of different nodes for different attackers, the energy consumption of all nodes in the experimental system is compared and analyzed to ensure that the energy consumption of IPBFT on network nodes is as low as possible. Compared with the IDS algorithm, the energy consumed by IPBFT algorithm can be reduced to 13.5% when the attacking node process takes up 25%, and the network attacking node can also be reduced from 20% to 12.5%. Compared with the TDTC algorithm, IPBFT algorithm can reduce energy consumption by 6.9% when attack nodes account for 15% of network usage. Compared with the other two methods, the IPBFT algorithm in this paper consumes less energy.Figure 8
Energy consumption of three intrusion detection methods for different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the network


## 4.1. Network Topology

The network cluster structure adopted in this paper is mainly composed of cluster head node and general node, which is a general topology structure in practical application. The common nodes, namely, sensor nodes, are terminal nodes in single network. The cluster head node (that is, the gateway device in a single network) manages the nodes in the cluster and reports data to the outside world. IDS operates at the cluster head node, and each cluster head node performs intrusion detection between it and other cluster head nodes based on PBFT [15]. The specific network topology is shown in Figure 5.Figure 5
Network topology.


## 4.2. Data Set Preprocessing

The KDD Train of the NSL-JDD data set was tested experimentally. The training model of 20 percent training set allows nodes to randomly select one from the test subset of KDD test-21 to record and perform intrusion detection operations as the node at this time (Table1).Table 1
Attack types.
Attack typesAttack subtypeNormalNormalDoSBack, land, Neptune, pod, smurf, teardrop, apache2, adpstorm, processtable, wormProbeIpsweep, nmap, portsweep, satan, mascan, saintU2Rbuffer_overflow, loadmodule, perl, rootkit, perl, sqlattack, xterm, ps


## 4.3. Experimental Evaluation Criteria

The security performance of intrusion detection method is mainly reflected in the detection rate indicator, especially the ratio of the number of detected malicious nodes to the total number of malicious nodes in the network. Common evaluation criteria are used here: (1) TP (True Positive) indicates the number of samples that are correctly judged as positive types, (2) TN (True Negative) indicates the number of samples that are correctly identified as Negative, and (3) FP (False Positive) indicates the number of samples whose sample error is judged to be negative.Then, Detection Rate (DR) is defined as(32)DR=TNTN+FN.The other mode of intrusion detection is energy consumption, which has the characteristics of the following: (1) EV is the energy consumption in node election, (2) EDI is the energy consumption of node intrusion detection, (3) EP is the energy consumption of node to publish detection results, and (4) EC is the statistical energy consumption of node measurement results.Energy consumption of all nodes in the network is(33)E=∑iNEVi+∑iN′EID+EP+∑iN∑jN″ECij.


## 4.4. Experimental Scheme Design

In order to test the effectiveness of the practical Byzantine fault tolerance algorithm proposed by ontology, the SVM algorithm is used to detect the NSL-KDD data set to obtain the detection rules. In the experimental process of this paper, the relevant rules of flow control and intrusion detection can be realized by using the microcontroller, and the Active Message layer can be used to effectively control the RF module, so as to realize the mutual communication between the communication nodes. Based on the previous single network intrusion detection methods, this paper presents a comparative experimental study. Detailed simulation environment parameters are shown in Table2.Table 2
Simulation parameters.
ParameterThe default valueNetwork area size400×400Number of nodes60~300Number of abnormal nodes15%-20%Initialize weightswi1Initialize the trusted listnodei,i∈0,N−1Detection intervalΔt70 sThe elapsed time20 min


## 4.5. Analysis of Results

In this paper, simulation experiments are conducted on different types of network nodes and abnormal proportion nodes in the initial state, as shown in Figure6. Experimental results obtained in different types of network states can be seen. As can be seen from the experimental results in Figure 6, due to the impact of dimensionality reduction, the accuracy of the training data set will also be affected to a certain extent. Therefore, the two-dimensional reduction detection method is used to optimize the model used by the algorithm in this paper to ensure that the detection rate of colleges and universities can be achieved under the condition of a large number of network nodes.Figure 6
Detection rates of three intrusion detection methods under different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the networkFigure7 shows the error rate in a single network with different proportions of the three methods attacking nodes. As can be seen from Figure 7, PBFT can modify the detection errors of a single node, and the introduced matching protocol has the lowest error rate. However, false positives occur on the network only when detection errors occur on nodes above M+1. On the other hand, IIDS and TDTC methods only rely on the detection results of a single node, especially the TDTC method which has the highest false positive rate of the three methods after the accuracy of the data set is reduced.Figure 7
False positive rate of three intrusion detection methods under different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the networkBy evaluating the network intrusion detection method, the network energy consumption can be obtained. Under the same experimental conditions, the algorithm proposed in this paper can complete the algorithm test under the environment of as little energy consumption as possible. As shown in Figure8, after setting 15% and 20% of the total number of different nodes for different attackers, the energy consumption of all nodes in the experimental system is compared and analyzed to ensure that the energy consumption of IPBFT on network nodes is as low as possible. Compared with the IDS algorithm, the energy consumed by IPBFT algorithm can be reduced to 13.5% when the attacking node process takes up 25%, and the network attacking node can also be reduced from 20% to 12.5%. Compared with the TDTC algorithm, IPBFT algorithm can reduce energy consumption by 6.9% when attack nodes account for 15% of network usage. Compared with the other two methods, the IPBFT algorithm in this paper consumes less energy.Figure 8
Energy consumption of three intrusion detection methods for different proportions of abnormal nodes.
(a)
There are 10% attack nodes in the network(b)
There are 15% attack nodes in the network


## 5. Conclusions

The Internet of things has been widely used in many fields such as life service, machinery manufacturing, medical treatment, economy, and business, but it will lead to the loss of data and information and lead to serious losses when it is invaded by external hackers, viruses, and viruses. In existing mobile Internet of things in the intrusion detection, test results are not accurate, and node inconsistent problem, through the practical Byzantine fault tolerance in the mobile Internet of intrusion detection method, can effectively solve the serious problems that exist in the existing methods, through the experimental results which show that the method can effectively improve the safety and accuracy of the mobile Internet of things.



---

*Source: 6856284-2021-12-11.xml*