Currently, analysts in a variety of nations have developed various WSN clustering protocols. The major characteristic is the Low Energy Adaptive Clustering Hierarchy (LEACH), which attained the objective of energy balance by sporadically varying the Cluster Heads (CHs) in the region. Nevertheless, because it implements an arbitrary number system, the appropriateness of CH is complete with suspicions. In this paper, an optimal cluster head selection (CHS) model is developed regarding secure and energy-aware routing in the Wireless Sensor Network (WSN). Here, optimal CH is preferred based on distance, energy, security (risk probability), delay, trust evaluation (direct and indirect trust), and Received Signal Strength Indicator (RSSI). Here, the energy level is predicted using an improved Deep Convolutional Neural Network (DCNN). To choose the finest CH in WSN, Bald Eagle Assisted SSA (BEA-SSA) is employed in this work. Finally, the results authenticate the effectiveness of BEA-SSA linked to trust, RSSI, security, etc. The Packet Delivery Ratio (PDR) for 100 nodes is 0.98 at 500 rounds, which is high when compared to Grey Wolf Optimization (GWO), Multi-Objective Fractional Particle Lion Algorithm (MOFPL), Sparrow Search Algorithm (SSA), Bald Eagle Search optimization (BES), Rider Optimization (ROA), Hunger Games Search (HGS), Shark Smell Optimization (SSO), Rider-Cat Swarm Optimization (RCSO), and Firefly Cyclic Randomization (FCR) methods.
Keywords: RSSI; WSN; improved DCNN; security; trust evaluation.