Journal of Intelligent Systems and Internet of Things

Trust Aware Moth Flame Optimization based Secure Clustering for Wireless Sensor Networks

Abdul Rahaman Wahab Sait, M. Ilayaraja
Volume 0, Issue 2, pp. 54-64 (2019)
DOI: https://doi.org/10.54216/JISIoT.000202
Online: https://www.americaspg.com/journal/18/article/849

Abstract

Wireless sensor networks (WSN) encompass numerous sensor nodes deployed in the physical environment to sense parameters and transmit to the base station (BS). Since the nodes in WSN communicate via a wireless channel, security remains a significant issue that needs to be resolved. The choice of cluster heads (CHs) is critical to achieving secure data transmission in WSN. In this aspect, this article presents a novel trust-aware mothflame optimization-based secure clustering (TAMFO-SC) technique for WSN. The goal of the TAMFO-SC technique is to determine the trust level of the nodes and determine the secure CHs. The proposed TAMFO-SC technique initially determines the nodes' trust level, and the node with maximum trust factor can be chosen as CHs. In addition, the TAMFO-SC technique derives a fitness function using two parameters, namely residual energy and trust level. The inclusion of trust level in the CH selection process helps to accomplish security in WSN. A comprehensive experimental analysis exhibits the promising performance of the TAMFO-SC technique over the other compared methods. 

Keywords: Wireless sensor networks; Trust level; Security; Clustering; Cluster heads; Moth flame optimization; Energy efficiency.

1. Introduction

With the rapid growth of sensing technology, wireless communications, and electronics, wireless sensor networks (WSN) [1] has gained huge interest. WSN includes several WSNs that contains data processing, short distance sensing, and wireless communication function. This embedded sensor works together and is self-organizing to collect and sense each kind of stimulating environmental information. Furthermore, the process and analyze the novel information for obtaining precise data in many environment scenarios [2]. The outstanding features of WSN make it possess extensive application prospects in environmental monitoring, military defense, medical, biological, commercial applications, disaster relief, etc. [3]. Generally, the WSNs node is armed with a separate battery and typically positioned of huge numbers in remote locations that people nearly couldn't attain. It is a complex process for recharging/replacing the sensor's battery. To decrease the power utilization, the transmission range of the nodes is severely restricted. The topology protocol of WSNs generally emphasis how to split the entire networks to cluster and create multihop constructions amongst these CHs to transfer sensory information to BS through selforganization. In dynamic, open, and distributed environments, the building of network topology, is susceptible, resulting in whole networks being dangerous. Fig. 1 illustrates the structure of WSN. For the WSN method, guaranteeing the privacy of the transmission is a significant problem in building network topologies [4].

Figure 1. WSN structure
Figure 1. WSN structure

Recently, a person has progressed to distinct privacy routing protocols. Many of this is on the conventional privacy mechanism of the cryptosystem that requires additional energy and memory utilization [5]. The WSN comprises multiple smaller sensors with constrained stringent and bandwidth nodes based on memory and power. The cryptosystem could withstand external attacks; they won't be recognized once the internal node has attacks/mutations. Hence the conventional cryptosystem of the privacy methodology isn't completely related to WSNs [6]. To resolve the challenges mentioned above, the authors have presented the trust management method. Trust is determined by the binary relationship arising in object and subject. Several CH algorithm was presented for WSNs [7]. Many of this CH method focuses on energy-effective CH election. The privacy aspects of CH node aren't taken into account while developing CH election method [8]. Hence, this algorithm must be developed to securely select CH via observing the bargained hubs and rejecting them of their CH candidacy in WSNs.

This article presents a novel trust aware mothflame optimization-based secure clustering (TAMFO-SC) technique for WSN. The goal of the TAMFO-SC technique is to determine the trust level of the nodes and determine the secure CHs. The proposed TAMFO-SC technique initially determines the nodes' trust level, and the node with maximum trust factor can be chosen as CHs. In addition, the TAMFO-SC technique derives a fitness function using two parameters: residual energy (RE) and trust level. The inclusion of trust level in the CH selection process helps to accomplish security in WSN. A comprehensive experimental analysis exhibits the promising performance of the TAMFO-SC technique over the other compared methods.

In Miglani et al. [9], an EETA-LEACH was presented, enhancing LEACH protocol by presenting trust to offer secure routing when preserving the novelty of LEACH protocols. These approaches integrate trust-based routing model and trust management model, which collaborates for selecting trusted CH. Gaber et al. [10] present a bioinspired and trust-based CH method for WSN adapted in ITS application. A trust-based method is developed and utilized for computing a trust level for all nodes. The BOA is utilized for selecting the CHs according to 3 variables: numbers of neighbors, RE, and trust value.

Karthick [11] developed a new method for the secured routing of WSN. The presented model is called TDP. According to the presented method, the routing is made in 4 phases. The early phase is topology management with the k-means model. The next phase is LQA, whereas the quality of all the network nodes is estimated. The last phase is grading, where it depends on the LQA values, and a grade point is selected for each node in the network. The more secured path for the routing is defined according to the grade point in the last stage. Yang et al. [12] developed a game theory-based dynamic behavior monitoring system for evidence collection in WSN. A tradeoff between energy conservation and network security is attained. According to this behavior monitoring system, a trust calculation method has been presented that is additionally incorporated with clusterbased routing protocols.

Sun and Li [13] proposed a new TRPM for WSN that integrates multi-attributes of sensors based on data, communication, recommendation, and energy. The presented trust method is based on an enhanced sliding time windows taking into account the frequency of the attacks for facilitating the detection of malicious behavior of the hackers. Integrated to an efficient maintenance protocol and routing detection, the performance of this result is verified by a wider range of simulations. AlFarraj et al. [14] presented an AF-TNS for resourcelimited WSN for enhancing network safety. AF-TNS functions in 2 stages: trust assessment with energy limitation and preservative metric-based node assessment for retaining the reliability of the neighbor. The arbitrary Transigmoid functions simplify the complicated decision-making procedure of the AF through differentiating un-trusted and trusted nodes for controlling network performances.

3. The Proposed Model

The nocturnal performance of moths is the stimulation to MFO is presented in 2017. In this model, the exploration and exploitation balance consider a partition of candidate solutions generating the population:

With another Metaheuristics, this one start with initiating a population:

𝑥!

Here, 𝑢 & 𝑙 represent the upper limit and lower limit of the search space, 𝑥! indicates the candidate solution, 𝑛 denotes the population size, 𝑑 signifies the dimension problem, and rand indicates an arbitrary number derived from a standard distribution [15].

To make the pathfinder cross-over it is essential to compute the variation coefficient and dispersal degree at iteration 𝑡:

< 1 # −𝑃
) 𝜇# = 1 # 𝑑@ 𝜎

Whereas 𝑛$ represents the number of pathfinders, and

&! # = 1 # 𝑃

In MFO, the crossover point with the low dispersal value, based on:

# ⩽𝜇#                    (5) 𝑗∈𝑐$ 𝑖𝑓 𝜎

From those, only 𝑛* ∈𝑐$ crossover point is being utilized to generate a novel sub‐trial pathfinder vector → 𝑣$ IIII⃗= K𝑣$(, 𝑣$%, … , 𝑣$&"M from the original pathfinder 𝑥$ IIII⃗= K𝑥$(, 𝑥$%, … , 𝑥$&"M by:

𝑣$# IIII⃗= 𝑥+# # IIIIII⃗+ 𝐿$( # ∙O𝑥+$ # IIIIII⃗−𝑥+% # IIIIII⃗P + 𝐿$% # ∙O𝑥+& # IIIIII⃗−𝑥+' # IIIIII⃗P                    (6)
∀𝑟( ≠𝑟% ≠𝑟, ≠𝑟- ≠𝑟. ≠𝑝∈T1, 2, … , 𝑛$U

Whereas 𝐿$( & 𝐿$% represent independent variables calculated from Lévy 𝛼‐stable distribution. The group of indexes 𝑟 should be chosen in the pathfinder solution, and this position is upgraded by the mutated variable extracted from the sub‐trail vectors as follows:

+ if 𝑗∈𝑐$ 𝑥$

Lastly, MFO employs selection strategies among the original and trial pathfinders determined by:

𝑥$# IIII⃗ if 𝑓O𝑉$# IIII⃗P ≥𝑓O𝑥$# IIII⃗P 𝑥$#/( IIIIIIII⃗= ] (8) 𝑣$# IIII⃗ otherwise

The likelihood of selecting the succeeding pathfinders are determined by:

𝑝$ = 𝑓𝑖𝑡$ ∑ 𝑓𝑖𝑡$ &! $'( (9)

That use the luminescence intensity evaluated as follows:

1 1 + 𝑓$ 𝑖𝑓 𝑓$ ≥0 𝑓𝑖𝑡$ = h (10) 1 + j𝑓$j 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒

From the pathfinder, 𝑛0 individual is chosen as a prospector; this value is dynamically changed as:

𝑛0 = 𝑟𝑜𝑢𝑛𝑑p(𝑛−𝑛$, × r1 −𝑡 𝑇tu       (11)

With 𝑇 presence, the maximal iteration number. For simulating a prospector moth moving from the spiral manner over pathfinders (as in natural counterpart), MFO use the succeeding determination:

#/( = j𝑥! # −𝑥$ #j ⋅𝑒1 ∙𝑐𝑜𝑠2𝜋𝜃+ 𝑥$ #         (12) 𝑥!
∀𝑝∈T1, 2, … , 𝑛$U; 𝑖∈T𝑛$ + 1, 𝑛$ + 2, … , 𝑛0U

In which 𝜃∈[𝑟, 1] represent an arbitrary value used for giving a spiral shape to the prospector path, where 𝑟= −1 −𝑡/𝑇⋅

The onlooker is the moth with the minimum luminescent intensity that moves to the shiniest source of light; in MFO, the onlooker stage has been used to intensify the exploitation of promissory spot the search spaces. The onlooker groups are additionally separated into two movement rules: Gaussian walks and associative learning mechanisms with immediate memory. Firstly, the onlooker in the actual iteration has been attained as follows:

#/( = 𝑥! # + 𝜀( + Kε% ∙𝑏𝑒𝑠𝑡3 # −ε, ∙𝑥! #M, ∀𝑖∈{1, 2, … , 𝑛4}             (13) 𝑥!

Whereas 𝜀% & 𝜀, are uniformly distributed arbitrary numbers, 𝑏𝑒𝑠𝑡3 denotes the global optimal candidate solution, 𝑛4 = 𝑟𝑜𝑢𝑛𝑑(𝑛5/2) indicates the number of onlookers which perform a Gaussian motion, 𝑛5 represents the number of onlookers, and 𝜀( means an arbitrary value evaluated by

#, 𝑙𝑜𝑔𝑡 𝑡 ∙(𝑥! # −𝑏𝑒𝑠𝑡3 #,‡            (14) ε( ∼𝑟𝑎𝑛𝑑𝑜𝑚(𝑠𝑖𝑧𝑒(𝑑), ⊕𝑁…𝑏𝑒𝑠𝑡3

The behavior of the moth considers associative learning and short term memory, upgrade as:

# + 0.001 ∙𝐺+ O1 −𝑔 #/( = 𝑥! # −𝑥! #, + 𝑥! 𝐺P ∙𝜀% ∙(𝑏𝑒𝑠𝑡$
r2𝑔 # −𝑥! #,, ∀𝑖∈{1, 2, 𝑛6}              (15) 𝐺t 𝜀, ∙(𝑏𝑒𝑠𝑡$

With 𝑛6 = 𝑛5 −𝑛4 being the number of onlookers who perform short-term memory and associative learning, 1 −𝑔/𝐺 denotes a cognitive factor, 2𝑔/𝐺 indicates a social factor, 𝑏𝑒𝑠𝑡$ represents the optimal light source in the pathfinder's group and 𝐺∼𝑁(𝑥!

6!&, 𝑥! 678 −𝑥! #,. The MFO pseudo-code shows each step of the original technique was illustrated in Algorithm 1.

# −𝑥!
Figure

Let WSN of 𝑛 sensors have been utilized arbitrarily. For CH selective, the projected OAFS applies a fish population used to generate suitable clusters and maintain the minimum power consumption of the model. Let 𝑋= (𝑋(, 𝑋%, … , 𝑋&) represent the population vector of WSN with 𝑛 sensor, where 𝑋!(𝑗) ∈{0, 1}. The CH and normal nodes have been demonstrated as 1 and 0. The whole population of 𝑁𝑃 solutions is stimulated arbitrarily with implies of 0s and 1s and shown as:

𝑋!(𝑗) = Œ1, 𝑖𝑓(𝑟𝑎𝑛𝑑 ≤𝑝4$#, 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 (16)

Where 𝑝4$# signifies the recommended percentage of CHs, and rand refers to the arbitrary uniform value in 0 and 1. An arbitrarily placed sensor nodes are decided that 𝐾 clusters: C(, C%, … , C9. The CH election has been responsible for decreasing the cost of FF. Therefore, the FF to CH election is illustrated as:

% 𝑓:;<(=> = @ 𝑤! × 𝑓!                                                (17) ?'(

with: ∑ 𝑤! % !'( = 1. Maximal stability period has been able with decreasing the Standard Deviation (SD) of RE of node is the main concern. Therefore, the SD (𝜎@A) has been appropriate to measure the supremacy of uniformly distributed load in sensors. In addition, the trust level is considered as another factor for CH selection.

A security-based trust is mainly based on the trust computations of a provided node. In general, there are 2 phases to calculate and manage the reliability of the node in the presented result: BS level and node level (CH node and average node).

In the Trust on Node Level phase, all the nodes are accountable for monitoring their neighbor's behaviors and calculating their trust value according to certain matrices. All the trust matrices have a specific weight that provides the capacity for controlling or adjusting the priority of all the matrices based on the essential applications. Eq. (18) represents how straightforward trust values are estimated as node 𝑖 for node 𝑗.

𝐷𝑇(𝑖, 𝑗) = @ 𝑊B ∗𝑇B(𝑖, 𝑗)                        (18) B'(

In the equation, 𝑚 represents the number of trust matrices; 𝑊B indicates the weight values of the 𝑘 metric thus ∑ 𝑊B 6 B'( = 1; 𝑇B(𝑖, 𝑗) represents the trust values fixed as node 𝑖 on 𝑘 metric for node 𝑗. CH calculates the reliability of the node in its cluster by Eq. (18); next, ask all the members in its cluster to send the value we calculated regarding their neighbor in the similar clusters. With Eq. (19), CH computes the aggregated trust values of all the nodes. Next, it gets the overall trust values of the node in its cluster by

C 𝐴𝑇(𝑗) = 1 ℎ∗@ 𝐷 𝑇(𝑟, 𝑗)                                    (19) +'(

Whereas ℎ represents the amount of neighboring nodes 𝑗; 𝐷𝑇(𝑟, 𝑗) represents the straightforward trust values calculated using node 𝑟 for node 𝑗.

𝑇𝑇(𝑗) = 𝑊7 ∗𝐷𝑇(𝐶𝐻, 𝑗) + 𝑊D ∗𝐴𝑇(𝑗)                (20)

In which 𝑊7 & 𝑊D represent weighting aspects, thus 𝑊7 + 𝑊D = 1.

At the trust on BS phase, the node transmits the estimated value to the adjacent BS to aggregate them and detect the last trust value Later, it estimates that node is trusted and malicious with a user-determined threshold. Eq. (19) represents the aggregated values are calculated for 𝑗 node. Also, Each BS collects trust value aggregated with another BS to be utilized as an indirect trust observation. Additionally, the precision of information transmitted from all the CHs would be estimated in BS through the user; when the information is accurate, CH and CM would receive a reward through growing their trust values. Or else they would be punished via decreasing their trust value.

4. Experimental Results Analysis

The simulation analysis of the TAMFO-SC technique takes place interms of network lifetime and energy efficiency.

Table 1 and Fig. 2 provide the number of alive node (NAN) analyses of the TAMFO-SC technique with existing techniques on scenario 1. The results have shown that the TAMFO-SC technique has showcased effective outcomes with the maximum NAN. For instance, with 800 rounds, the TAMFO-SC technique has attained a higher NAN of 100 nodes, whereas the TCCS, LEACH, DEEC, and SEP techniques have obtained a lower NAN of 86, 53, 4, and 8 nodes, respectively. Also, with 1200 rounds, the TAMFO-SC algorithm has attained a maximum NAN of 65 nodes, whereas the TCCS, LEACH, DEEC, and SEP techniques have obtained a lower NAN of 50, 18, 1, and 1 node correspondingly. At the same time, with 1800 rounds, the TAMFO-SC manner has attained an increased NAN of 24 nodes, whereas the TCCS, LEACH, DEEC, and SEP approaches have gained a minimum NAN of 2, 1, 1, and 1 node correspondingly.

Table 1. NAN analysis of TAMFO-SC model with existing technique under scenario 1
Table 1. NAN analysis of TAMFO-SC model with existing technique under scenario 1
Figure 2. NAN analysis of TAMFO-SC model under scenario 1
Figure 2. NAN analysis of TAMFO-SC model under scenario 1

Table 2 and Fig. 3 offer the NAN analysis of the TAMFO-SC algorithm with existing algorithms in scenario 2. The results have shown that the TAMFO-SC technique has outperformed effective outcomes with the maximal NAN. For instance, with 800 rounds, the TAMFO-SC manner has reached a superior NAN of 100 nodes, whereas the TCCS, LEACH, DEEC, and SEP techniques have obtained a lower NAN of 100, 93, 78, and 6 nodes correspondingly. Followed with 1200 rounds, the TAMFO-SC method has attained a higher NAN of 83 nodes, whereas the TCCS, LEACH, DEEC, and SEP techniques have obtained a lower NAN of 80, 57, 2, and 0 nodes correspondingly. Simultaneously, with 1800 rounds, the TAMFO-SC algorithm has attained a higher NAN of 119 nodes, whereas the TCCS, LEACH, DEEC, and SEP systems have achieved a lower NAN of 11, 5, 1, and 0 nodes correspondingly.

Table 2. NAN analysis of TAMFO-SC model with existing technique under scenario 2
Table 2. NAN analysis of TAMFO-SC model with existing technique under scenario 2
Figure 3. NAN analysis of TAMFO-SC model under scenario 2
Figure 3. NAN analysis of TAMFO-SC model under scenario 2

Table 3 and Fig. 4 give the average residual energy (AER) analysis of the TAMFO-SC manner with presented approaches on scenario 1. The outcomes portrayed that the TAMFO-SC method has outperformed effectual outcomes with maximal AER.

Table 3. AER analysis of TAMFO-SC model with existing technique under scenario 1
Table 3. AER analysis of TAMFO-SC model with existing technique under scenario 1
Figure 4. AER analysis of TAMFO-SC model under scenario 1
Figure 4. AER analysis of TAMFO-SC model under scenario 1

For instance, with 800 rounds, the TAMFO-SC approach has attained a superior AER of 0.19, whereas the TCCS, LEACH, DEEC, and SEP algorithms have obtained a lower AER of 0.16, 0.09, 0.00, and 0.00, respectively. With 1200 rounds, the TAMFO-SC technique has attained a higher AER of 0.05, whereas the TCCS, LEACH, DEEC, and SEP schemes have reached a lower AER of 0.03, 0.01, 0.00, and 0.00, respectively. At last, with 1800 rounds, the TAMFO-SC manner has attained a higher AER of 0.01, whereas the TCCS, LEACH, DEEC, and SEP methodologies have obtained a lower AER of 0.00, 0.01, 0.00, and 0.00, respectively.

Table 4. AER analysis of TAMFO-SC model with existing technique under scenario 2
Table 4. AER analysis of TAMFO-SC model with existing technique under scenario 2

Table 4 and Fig. 5 provide the AER analysis of the TAMFO-SC technique with recent manners on scenario 2. The results depicted that the TAMFO-SC technique has showcased effectual outcomes with the higher AER. For instance, with 800 rounds, the TAMFO-SC technique has attained a higher AER of 0.19, whereas the TCCS, LEACH, DEEC, and SEP manners have gained a lower AER of 0.14, 0.04, 0.00, and 0.00 correspondingly. Besides, with 1200 rounds, the TAMFO-SC approach has attained a higher AER of 0.03, whereas the TCCS, LEACH, DEEC, and SEP techniques have obtained a lower AER of 0.03, 0.00, 0.00, and 0.00, respectively. Lastly, with 1800 rounds, the TAMFO-SC methodology has attained a higher AER of 0.01, whereas the TCCS, LEACH, DEEC, and SEP methods have obtained a lower AER of 0.01, 0.00, 0.00, and 0.00 correspondingly.

Figure 5. AER analysis of TAMFO-SC model under scenario 2
Figure 5. AER analysis of TAMFO-SC model under scenario 2

5. Conclusion

This paper has developed a TAMFO-SC technique is to determine the trust level of the nodes and determine the secure CHs. The proposed TAMFO-SC technique initially determines the nodes' trust level, and the node with maximum trust factor can be chosen as CHs. In addition, the TAMFO-SC technique derives a fitness function using two parameters namely RE, and trust level. The inclusion of trust level in the CH selection process helps to accomplish security in WSN. A comprehensive experimental analysis exhibits the promising performance of the TAMFO-SC technique over the other compared methods. Therefore, the TAMFO-SC technique can be utilized to accomplish maximum security and in real-time.

References

  1. Pule, M., Yahya, A. and Chuma, J., 2017. Wireless sensor networks: A survey on monitoring water quality. Journal of applied research and technology, 15(6), pp.562-570.
  2. Xie, H., Yan, Z., Yao, Z. and Atiquzzaman, M., 2018. Data collection for security measurement in wireless sensor networks: A survey. IEEE Internet of Things Journal, 6(2), pp.2205-2224.
  3. Aponte-Luis, J., Gómez-Galán, J.A., Gómez-Bravo, F., Sánchez-Raya, M., Alcina-Espigado, J. and Teixido-Rovira, P.M., 2018. An efficient wireless sensor network for industrial monitoring and control. Sensors, 18(1), p.182.
  4. Wang, B., Gu, X., Ma, L. and Yan, S., 2017. Temperature error correction based on BP neural network in meteorological wireless sensor network. International Journal of Sensor Networks, 23(4), pp.265-278.
  5. Deng, F., Yue, X., Fan, X., Guan, S., Xu, Y. and Chen, J., 2018. Multisource energy harvesting system for a wireless sensor network node in the field environment. IEEE Internet of Things Journal, 6(1), pp.918-927.
  6. Mohamed, R.E., Saleh, A.I., Abdelrazzak, M. and Samra, A.S., 2018. Survey on wireless sensor network applications and energy efficient routing protocols. Wireless Personal Communications, 101(2), pp.1019-1055.
  7. Lombardo, L., Corbellini, S., Parvis, M., Elsayed, A., Angelini, E. and Grassini, S., 2017. Wireless sensor network for distributed environmental monitoring. IEEE Transactions on Instrumentation and Measurement, 67(5), pp.1214-1222.
  8. Qi, J. and Liu, G.P., 2017. A robust high-accuracy ultrasound indoor positioning system based on a wireless sensor network. Sensors, 17(11), p.2554.
  9. Miglani, A., Goel, S. and Bhatia, T.K., 2015. An energy efficient and trust aware framework for secure routing in LEACH for wireless sensor networks (Doctoral dissertation).
  10. Gaber, T., Abdelwahab, S., Elhoseny, M. and Hassanien, A.E., 2018. Trust-based secure clustering in WSN-based intelligent transportation systems. Computer Networks, 146, pp.151-158.
  11. Karthick, S., 2018. TDP: A novel secure and energy aware routing protocol for wireless sensor networks. International Journal of Intelligent Engineering and Systems, 11(2), pp.76-84.
  12. Yang, L., Lu, Y., Liu, S., Guo, T. and Liang, Z., 2018. A dynamic behavior monitoring game-based trust evaluation scheme for clustering in wireless sensor networks. IEEE Access, 6, pp.71404-71412.
  13. Sun, B. and Li, D., 2017. A comprehensive trust-aware routing protocol with multi-attributes for WSNs. IEEE Access, 6, pp.4725-4741.
  14. AlFarraj, O., AlZubi, A. and Tolba, A., 2018. Trust-based neighbor selection using activation function for secure routing in wireless sensor networks. Journal of Ambient Intelligence and Humanized Computing, pp.1-11.
  15. Mei, R.N.S., Sulaiman, M.H., Mustaffa, Z. and Daniyal, H., 2017. Optimal reactive power dispatch solution by loss minimization using moth-flame optimization technique. Applied Soft Computing, 59, pp.210-222.