###### Abstract  
Due to its importance in prolonging the lifetime of battery-restricted wireless sensor networks, network longevity has garnered considerable research attention, with the rechargeable wireless sensor network emerging as a viable solution. In this research, the novel methodology of a trust-based mechanism for enhanced security integrated with an energy utility and re-usability model is proposed with software-defined networking (SDN) to maximize energy utilization. We proposed a novel framework with SDN for the service station in a wireless sensor network (WSN). The results showed that the life capacity of the network increases to a maximum of 290% when compared with no charging, with the charge increasing by 30% intervals. We also present how the network survives through this choice of sink. As there is variation in the network size while it increases, the proposed approach with the static method works well until the network size reaches 200. Furthermore, the proposed approach also uses the heuristic method to achieve the best performance. services sensor networks; energy utility model; unmanned aerial vehicle; intelligent-trust based model; wireless energy transfer +
Footnote †: journal: Applied  
necessary for neighboring troops (nodes) to perform very well or even exceedingly well in the battlefield [3; 4; 5; 6]. Another important issue that WSNs need to consider is the network lifetime as, on many occasions, outdoor sensor networks mostly rely on batteries for energy. Depending on the size of the deployments, proportionally larger batteries are required for larger deployments. If the network is located where regular recharging is not useful, crop growth under a bridge or in a field covered by sun and or affected by wind can significantly limit the battery life, relying solely on the effective network. We developed a system that allows for such situations in an energy feeding system using UAV by utilizing the energy of compromised nodes and external energy in the legitimate nodes to ensure 100% non-failure of the network system in the field, as shown in Figure 1.  
In our technique, we define the lifespan of a network and how it can be extended with UAV-based wireless charging. The extended life authenticates the addition of a recharge circuit to the sensor node. If there is a reasonable increase, we investigate under which conditions it works and focus on the amount of nodes that the UAV needs to reload. It also describes which nodes need to act as sinks for network data and how you can change the sinks to maximize network life in response to recharging. The benefits of UAV charging in terms of WSN and the optimal use of UAV charging through compromised nodes have not been investigated. However, a significant examination into the community of the sensor network has considered highly efficient modules based on the energy- and cost-effective hardware communication [3], improved protocols with the software communication [4; 5], and various approaches with data routing [6; 8; 9; 10]. A large subset is considering a sufficient mobilization strategy [11; 12; 13; 14; 15; 16]. Using this early research, we developed a method for sensor arrays to maximizes the benefits of UAV charging. In our research work, we proposed a new approach that reveals a technique to extend the life of a network using UAV-based wireless charging in three different cases. * UAV recharges nodes from the entire network using the energy utilization and re-usability method from the detected compromised node by using the intelligent trust evaluation system and external energy. * UAV recharges only the lowest-powered nodes in the network and utilizes the static method of choosing a sink, with the next sink consequently only utilizing the power from the energy utility model. * UAV renews the sink node by recharging energy from the network with a different sink selection algorithm and provides the best sink node selection algorithm and performance measures of each algorithm with network scalability.