Secure and Energy Concise Route Revamp Technique in Wireless Sensor Networks

Energy conservation has become a significant consideration in wireless sensor networks (WSN). In the sensor network, the sensor nodes have internal batteries, and as a result, they expire after a certain period. As a result, expanding the life duration of sensing devices by improving data depletion in an effective and sustainable energy-efficient way remains a challenge. Also, the clustering strategy employs to enhance or extend the life cycle of WSNs. We identify the supervisory head node (SH) or cluster head (CH) in every grouping considered the feasible strategy for power-saving route discovery in the clustering model, which diminishes the communication overhead in the WSN. However, the critical issue was determining the best SH for ensuring timely communication services. Our secure and energy concise route revamp technology (SECRET) protocol involves selecting an energy-concise cluster head (ECH) and route revamping to optimize navigation. The sensors transmit information over the ECH, which delivers the information to the base station via the determined optimal path using our strategy for effective data transmission. We modeled our methods to accomplish power-efficient multi-hop routing. Furthermore, protected navigation helps to preserve energy when routing. The suggested solution improves energy savings, packet delivery ratio (PDR), route latency (RL), network lifetime (NL), and scalability.


Introduction
WSNs have various applications in several fields [1][2][3]. Batteries usually give power to the sensor. They are small and affordable devices that capture valuable data and send it across wireless networks from the source region to sink nodes. The cells in these sensing nodes, on the other hand, are not interchangeable. The link terminates due to charge degradation. These sensors can communicate with one another or with the sink directly. As a result, optimize resource allocation and node interaction to lengthen the lifespan of the channel.
Furthermore, due to the limited computational capabilities and buffer features of WSNs, various challenges exist. A selection of appropriate limitations, routing techniques to reduce the power consumption, and grouping to ensure correct network functioning are some of the multiple methods to lengthen network life [4][5][6][7]. WSN routing techniques divide into two categories: multilevel routing and flat routing. The balanced routing algorithm considers all terminals simple because they are all placed at the same tier. Furthermore, restrictions over scalability because of the overhead packet management, and as the channel capacity grows, it increases energy usage. Therefore, the system divides into clusters according to hierarchical routing. Every group has a CH node, which collects data from different nodes in the group and transmits it to the access point. As a result, extending the network duration and the energy demand in WSN is optimally balanced. When evaluating the efficiency and versatility of flat vs. multilevel routing protocols, hierarchical (multilevel) routing protocols stand ahead-many researchers and scientists concentrating on cluster-based routing strategies [8][9][10].
WSNs, on either hand, focuses primarily on how to advance energy conservation while minimizing transmission overhead expenses. Scalability, low costs, accuracy, stability, and ease of delivery are significant benefits of WSN applications over traditional network technology. However, power utilization is a unique resource in WSN circumstances considering the limited restrictions, and it must be dealt with smartly to improve network life and route navigation accuracy. Furthermore, due to the prominent dynamic properties of sensors, conventional and unicast routing techniques are not viable for sensorbased technologies [10][11][12]. As a result, various academics have recently focused on creating adaptive and robust routing methods to increase power consumption and locate optimal routes to destinations.
Routing strategies play an essential role in WSN since they facilitate low power dissipation, reduced latency, and high bandwidth Quality of Service (QoS). Numerous methods have been designed for application-specific WSN to address the restrictions encountered while delivering datagrams that demand node geolocation data for additional processing. It can use the data or information to calculate the gap between two nodes and even the amount of energy expended. Multi-hop routing enables the system to route outside the energy-constrained network area [13]. The latency has now decreased at the expense of increased power consumption; thus, we must devise routing strategies to concise energy.
This study aims to reduce power consumption by adopting efficient ECH selection, resulting in more extended alive nodes. We organize the remaining portions of this work as follows: The literature review summary is in Section 2, and the discussion of driving factors and research problems is in Section 3. Section 4 describes the collaborative suggested method, Section 5 shows the outcomes and inferences, and Section 5 concludes with future direction.

Literature Review
Shende et al. [14] overcame the difficulties by introducing an energy-aware multichannel routing mechanism relying on whale optimization algorithm (WOA) and crow search algorithm (CSA) were combined in the crow whale energy trust routing optimizer [14] depending on power and trust parameters. To determine the paths picked effectively with crow whale optimizer algorithm (CWOA), trustworthiness, and power were calculated. Chose this channel as the best for data transfer; each node's reliability and capacity are updated at the end of each transaction, ensuring that selected trustworthy nodes boost the channel's security. The investigation with 100 and 200 nodes, with and without threats, yielded the shortest latency and highest power bandwidth.
The glowworm swarming optimization model (LBR-GSO) was invented by Sampathkumar et al. [15] and proved beneficial in load balancing and navigation. This strategy combined a pseudo-random pathfinding mechanism with an improved pheromone trail-based update strategy to deal with nodes' power consumption. Furthermore, for route optimization, use feasible heuristics update strategy, including cost-effective power measures. Finally, the LBR-GSO rendered energy-based broadcasts method decreased control overhead power usage. They examined LBR-GSO for various situations using metrics such as power consumption, power efficiency, and network throughput improvement, and it outperformed the competition.
First, utilizing the WOA by Mohan et al. [16] to select MANET's maximally protected route. Next, the trust feature and the range among nodes assess the routing's efficiency. Next, The k-disjoint path is identified, followed by optimal route analysis and interpretation of the assessed trustworthiness and range measurements. The performance indicators used to test WOA were increased power, bandwidth, and PDR. Finally, Ram et al. [17] suggested a hybrid M-Lion Whale optimizer that incorporated the lion approach and the WOA to find the optimal MANET routing plan for safe routing. Also, various QoS metrics such as range, power, lifespan, reputation, and latency examine these multiple objective approaches. In addition, designed fitness values are to find an optimal pathway with the parameters given. As a result, we attain the highest residual energy, performance, and PDR using this method.
Kumar et al. [18] developed a new exponentially ant colony optimizer (EACO) method to expose connectivity in WSNs after selecting CHs using the fractional artificial bee colony (FABC) strategy. First, CHs employed the fitness value, which takes a range, latency, and power into account. Second, to find multi-path routes, improve the ant colony optimizer (ACO) technique using an exponential smoothing prototype. Finally, EACO weighed several criteria such as power, range, and a revised fitness value to anticipate inter-cluster and intra-cluster delay to find the optimum data transmission paths from every node to BS. They also integrated the artificial bee colony (ABC) and ACO techniques to develop a new hybrid ABC-ACO system [19] that solved WSNs' non-deterministic polynomial constraints. The main functions of this approach are to select the optimal number of sub-regions, choose CH using the ABC algorithm, and effectively transfer data using the ACO strategy. Next, hierarchical clustering aids data transfer based on the cutoff. Finally, CH found the best path for transmitting data to BS using the ACO technique. This technology established a framework for wildfire detection and management. In addition, the ABCACO method increased robustness and performance.
Linear/Nonlinear Programming developed by Kuila et al. [20] created navigation methods that combined the techniques of multi-objective fitness value and particle swarm optimization (PSO). The clustering plan concentrates on load balance to conserve transmission power. By taking into account power consumption, network lifespan, dead sensor network, and packet delivery, the testing results demonstrated the superiority of this strategy.
Pachlor et al. [21] created a central routing scheme called Basestation controlled active clustering technique, which dispersed power dissipation uniformly between all nodes, conserving power and thus increasing network lifespan. Srbinovska et al. [22] proposed a stochastic optimization technique that used a genetic strategy to compute power consumption depending on transmitting duration and intensitysolely tested this optimization method in various settings, which increased in communication range. Del-Valle-Soto et al. [23] developed a power model to assess the amount of energy required by the multi-Parent hierarchical routing mechanism and other widely used communication sensors routing algorithms. Conduct experimentation with a random architecture design and two collector nodes. Different wireless systems, including Bluetooth, Zigbee, and LoRa over WiFi, are used by each node. This project met its goal of examining the efficiency of a power model constructed using multiple routing algorithms of various kinds, Behera et al. [24] focused on developing a strategy for selecting CH and rotating its positioning among nodes with the highest power. Primary and residual power and the optimum value of CH were taken into account while selecting suitable CHs for IoT systems.

Motivation and Problem Definition
The above study clearly shows that effective power utilization combined with secure routing is an important area of research. Many previous approaches, it has been discovered, are unable to alter routing efficiency concerning the prevailing situation and limited capabilities of WSN. Furthermore, contemporary work misses next-hop choice based on the best conclusion, and such techniques reduce network-wide performance with accuracy over routing. In addition, while data relay, routing pathways are reconstructed regularly, which adds to the effort and expense of communication. This inefficiency happens by the connection field's periodical transit of forwarding and control signals.
Furthermore, most previous work causes congestion issues and raises packet loss ratio in higher network-dense scenarios. As a result, we must explore the domain of power consumption centered on information gathering and transmission using a lightweight approach to improve network life while maintaining a consistent transmission rate. As a result, this research study proposes an energy-aware and dependable routing algorithm for heterogeneous networks that establish geographically scaled cluster centers by exploiting node positions to solve the challenges mentioned above. Furthermore, depending on a fitness value, the suggested protocol employs up-to-date neighborhood knowledge to uncover more efficient power shorter and far fewer congestion pathways over routing. Several aspects are associated with transmission power, the weighting value of Round Trip Time (RTT), and hop-count encompassed in the fitness weights. The RTT factor is vital in packet forwarding since it helps to avoid unreachable and distant companions and reduces the likelihood of repeated path re-discoveries [25]. Because the quantity of RTT changes from time to time, the suggested approach calculates a weighting factor. Moreover, rather than flood the overall network field with route request RREQ packets to facilitate data delivery, the suggested technique sends unicast messages to a single next-hop, reducing navigation overhead expenses and power consumption. As a result, the recommended protocol enables dependable next-hop determination, which substantially affects data passing and network connectivity. In addition, overweight wireless routes, identify the nodes and restructure the routed patterns according to network connection and node capabilities to improve route lifespan and packet transmission performance [26].

Proposed SECRET Protocol
With WSN optimization, We designed a novel energy-concise, multi-objective safe routing strategy. The suggested SECRET method, which included the route revamping methodologies, was used to perform multihop navigation. We created the suggested SECRET with many aims to enable safe energy-concise multi-hop path discovery in WSN. We depict the framework of the SECRET technique in Fig. 1.

Assumptions
Specific networking characteristics are assumed in a typical network, as highlighted below.
The network is initially homogeneity, with static nodes. Each node has a unique number that is arbitrary in the sensing region. Sensor networks are location-aware according to GPS or a positioning computation. Compared to regular nodes, heterogeneity nodes could have more considerable energy resources. The capacities and limits of all normal nodes are identical.
Can use the receiving distance to alter the network throughput of the sensor network. Each CH is in charge of data aggregation. Sensor nodes must always communicate in a single-hop transmission. CHs can communicate in either a single-hop or a multi-hop fashion.

Framework of SECRET Model
The node in the network is identified first, proceeded by cluster construction and ECH determination. Next, the suggested SECRET protocol performs multi-hop route discovery and route revamping techniques. Finally, it forwards the packets based on the SECRET protocol.

Energy Concise Cluster Head Selection
Clusters of sensor nodes form in the wireless channel, and the CH node is the node with the maximum energy efficiency (residual energy) within this cluster. The CH's task is to maintain the rest of the nodes and interact with other CHs till the data reaches the base station. The network's CHs gather, combine, and communicate data to the BS using the most efficient path. Furthermore, every active node has the potential to be a CH, rebalancing the network's total energy usage. As a result, a CH is a node with more energy (En) and the highest rating among several nodes. Thus, E n is given by Eq. (1), where E res and E tot denote the leftover and total power of a node, respectively, when ultimately charged. N f is the data transfer frequency of the node. Each round identifies the node violation and blocks such nodes from becoming a CH in the subsequent CH selection round since they cannot actively connect to a network. As a result, stop these compromised nodes from serving as a CH, extending the network's lifespan and improving performance.

Energy Model of SECRET Protocol
This segment describes the energy representation for the suggested SECRET technique for heterogeneous nodes. In the sensing area, arrange the nodes randomly, and n represents the proportion of heterogeneous nodes with increased power compared to regular nodes. Only chosen CHs with more energy (En) are accountable for sending sensing data to BS through a multi-hop route throughout packet transmission. The needed power for the data packet's 'S' volumes at range d n between sender and receiver calculate using Eqs. (2) and (3) using the wireless power consumption paradigm.
where; P c ¼ P n Â ðT =1000Þ Â S T En and R En represent the energy or power utilized in sending and receiving a single data bit. N f denotes node frequency, and P c indicates power consumption, and illustrated by Node power P n at time T is in Eq. (3), based on distance threshold d th from sender and receiver.

Fitness Function for Energy
We presented the fitness value (FCH)-based CH selection method, which also relies on the D nbs , D nch , starting energy of nodes (E n ), and remaining power (Eres) of the nodes (N). Because the CH must be near its neighbor nodes and BS for optimal energy usage. D nbs and D nch are the node's Euclidean distance (ED) from the BS and its Cluster head CH, correspondingly, and can be written as follows: Every ECH is chosen simultaneously among its cluster members. First, as shown in Eq. (1), the node with the best energy value in each cluster is picked as the network's ECH. Then, the F ECH is used to calculate each cluster member's fitness value calculated as follows: ðD nbs ¼ D nch Þ xRE n þ ð1 À xÞRD n ; ðD nbs , D nch Þ 8 < : where RE n is the ratio of the node's remaining power to its initial power, RD n and RD' n are the node's relative ED to the cluster head and BS, respectively.

Algorithm 1. Energy concise cluster head selection
if (E n = E th ) then, Cluster the nodes with high energy else Do not perform clustering process end if for opti(T En, R En ) do for every E n do Find the value of D nbs and D nch Find F ECH end for Cluster node with peak FCH, called as F ECH end for

Routing Revamping Fitness Function
Fitness Calculation for each link uses the fitness function to assess the route efficiency. The new fitness mechanism effectively creates a path from each gateway to the sink.
The mathematical model shows the overall distance (D) traversed by the gateways as follows: Total gateway hops are evaluated by where Ni is the neighboring node, and Ni(En) is the energy of the adjacent nodes.
CountðNi E n ð ÞÞ Consider the minimum hop count and the minimal distance covered when calculating the path. As a result, a better fitness value yields the optimized value, indicating that the variables mentioned above are inversely proportionate to fitness. Therefore, it describes the newly incorporated route revamping fitness feature as follows: where (a1, a2) ϵ {0, 1} such that, a1 + a2 = 1 as well as c1 is the constant of proportionality. The network's maximum displacements and entire hops are well balanced.

Simulation Outcomes and Analysis
The section compares previous works Taylor Based Grey Wolf Optimization Algorithm (TGWOA) [27], Reliable Cluster-based Energy-aware Routing protocol (RCER) [28] with our SECRET protocol. Using the NS2 simulator to analyze the routing performance of the SECRET protocol and various experiments relies on a node with high-density and variable network load are carried out during the evaluation. The NL, RL, network throughput, Power saving, and PDR are all used to measure the SECRET protocol's performance. Sensor nodes are stationary and distributed at random in a square-shaped network environment. In the beginning, it assigns power levels in the range of 2j to 6j to nodes to start transmission. In addition, the nodes' broadcast range is set to 25 m to compare the proposed protocol to existing work, and the simulation time is 1500 s as mentioned in Tab. 1. Fig. 2 compares the network life of the SECRET protocol to that of previous techniques in a scenario with a variable node density. The SECRET approach outperforms the others, with system lifespan improvements of 12.5%, 13.2%, 15.7%, and 25%.

Network Lifetime Analysis
In contrast to TGWOA and RCER, the SECRET protocol creates geographically sized groups and begins the CHs selection procedure among a small number of nodes. Furthermore, the most power effective, quickest, and select least congestion next-hops to follow data transmission. In addition, congested and remote next-hops are prevented during packet transmission, resulting in a significant increase in network lifetime for the SECRET protocol.   3 compares the network life of SECRET with that of other existing technologies under various network load scenarios. As a result of the increased network congestion, data traffic rises, and a more significant network load on either side reduces network longevity. The SECRET technique increased network longevity by 10.26%, 10.7%, 20.54%, and 45%, respectively, over existing options. Because the position factor is taken into account when generating groups, and the location of CHs is altered based on usage than regularly, SECRET significantly saves energy usage while also prolonging network life.

Energy Saving Analysis
We depict the behavior of the SECRET protocol in Fig. 4, along with a comparison of previous methods for an average power consumption model with various numbers of nodes. According to the findings, the SECRET protocol reduces network power consumption by 15.5%, 17%, 35.5%, and 50%, respectively, compared to existing systems.
SECRET method, unlike RCER and TGWOA, eliminates communication and computation overheads by allowing CHs electing procedure to take place within limited zones. Furthermore, just a tiny network size is responsible for routing decisions, resulting in regulated power consumption. Fig. 5 exhibits better power consumption efficiency by 25%, 35%, 45%, and 55% with varied network loads. Reduced energy usage aims to optimize network load between the next hops. Furthermore, a small number of sensor nodes participated in the voting and shifted their locations due to network measurements [29][30][31]. Integrating the connection latency factor into route selection also minimizes retransmissions, resulting in much lower energy use.

Network Throughput Analysis
In Fig. 6, The SECRET method's performance is contrasted to prior work in terms of system throughput by taking a varied number of nodes into account. In comparison to previous systems, SECRET obtained higher network throughput by 18.5%, 24.5%, 30.5%, and 38.5%, according to simulated data. RCER and TGWOA choose next-hops based on non-optimal routing decisions, but the SECRET method chooses next-hops based on multiple criteria.
As a result, SECRET identifies the least trafficked, dependable, and power-efficient nodes for datagram transmission. As a result, neighbors with the fewest hop counts, the highest residual power, and the shortest RTT gives greater weight [32,33]. The SECRET protocol's route decision reduces the length of the transmission link and conserves power, but it also creates a reliable way, increasing system throughput.
In a changing network load situation, Fig. 7 compares the performance of SECRET with other alternatives in terms of network performance. In reality, a more extensive network load affects bandwidth utilization and routing reliability in high-traffic environments. Based on the findings, the SECRET method has the best data delivery performance, with improvements of 18%, 20%, 35%, and 40% over previous work. Due to multi-criterion data navigators, the next-hop location is re-formulated using network measurements. Furthermore, including connection delay in routing decisions reduces traffic load by reducing the number of re-forwardings, which substantially impacts data delivery performance.   Fig. 8 shows the route lifespan compared to existing systems in a situation with a variable node density. According to the modeling results, SECRET obtains a 17% higher route lifespan than previous methods. 18%, 25%, and 37% are the percentages. SECRET's improved performance is that it incorporates node capabilities and a link latency component for routing revamp.  In contrast, RCER and TGWOA schemes regularly restructured routing pathways without viewing network restrictions. Furthermore, nodes with insufficient power levels have a lesser chance of being involved in routing decisions. Moreover, the multi-criteria for selecting next-hops increase the integrity of the transmission process [34][35][36].

Route Lifetime Analysis
From the perspective of route lifespan under fluctuating network load, Fig. 9 shows how SECRET performs better than previous systems. The computational results reveal that SECRET outperforms the opposition, with gains of 19%, 22%, 43%, and 47%. Existing techniques shortened the path lifespan due to substantial network traffic and many re-transmissions in increased network load circumstances. However, SECRET also leads to resilient navigation with a reasonably steady performance by detecting fatigued and increased latency nodes on multipath routing.

PDR Analysis
The simulation studies of SECRET with other alternatives under a variable amount of nodes situation are depicted in Fig. 10 to assess system stability. According to the results of the experiments, the SECRET method achieved a higher packet delivery than the previous method by 23.5, 25, 28, and 40 percent.
Unlike RCER and TGWOA, the SECRET method's established data transmission pathways are more trustworthy because the channel quality component considers the routing decision. Furthermore, SECRET stops energy-inefficient intermediary nodes from data forwarding, and the SECRET protocol honestly chooses the next-hop based on the multi-criteria SECRET approach [37][38][39].
SECRET's functionality concerning previous methods depicts in Fig. 11. The modeling tests determine the system reliability in PDR under changing network loads. Because it prioritizes those next-hops appropriate for message transmission, SECRET achieved superior reliability than current methods like 22, 25, 29, and 34 percent. In addition, due to the non-optimal selection procedure, present systems produce severe congestion issues under large network load, resulting in a low PDR. Furthermore, because SECRET regularly detects link traffic delays and faulty nodes based on response periods, overburdened nodes and connections are given the weakest weights for message transmission. As a result, the SECRET procedure has been successful in minimizing packet transmission disruptions and improving the network's performance [40,41].   We suggest a SECRET method for increasing the network's lifespan in this research. This technique presents a new fitness value for ECH classification. The route optimization technique relies on the nodes' residual energy, their ED from BS and the cluster head, and their relative ED. The routing protocol approach conserves energy by eliminating long distances between the transmitter and the receiver. We have proved that the SECRET outperforms other algorithms based on PDR, network lifespan, Route Lifespan, energy savings, and performance. Because more scientific studies are published annually, there would be plenty of future opportunities to suggest sophisticated meta-heuristic algorithms to improve WSN coverage and connection. The goal functions addressed here are range and latency and might include other essential restrictions to boost performance. Despite their suitability for handling the location-based sensor deployment challenge, existing algorithms affect the initiation and number of iterations. As a result, choosing the proper initialization process and convergence rate can attain the goals at low computational complexity. It is something that can research thoroughly in the future.
Funding Statement: The authors received no specific funding for this study.

Conflicts of Interest:
The authors declare that they have no conflicts of interest to report regarding the present study.