Wireless sensor network (WSN) is a collection of a huge number of autonomous sensor nodes having capabilities such as sensing, processing, and manipulation.In any WSN, routing protocols are the backbone for performing all type tasks such as sensing, controlling, and transmission of packets in ubiquitous environment. In this article, a LEACH protocol with Levenberg-Marquardt neural network (LEACH-LMNN) is considered to analyze the overall network lifetime. The aim of LEACH-LMNN protocol comprises two parts: selection of cluster head node using LMNN approach and the second part is to locate the shortest path from the cluster-head node to base-station node adopting various route discovery algorithms, that is, breadth-first search, Bellman-Ford, and Dijkstra.The simulation result shows that the LEACH-LMNN protocol with the Dijkstra shortest path algorithm outperforms other route discovery algorithms. In addition to this, this work also analyzes normal and anomaly detection based on intrusion detection system in wireless sensor networks using gated mechanism, that is, long short-term memory (LSTM) and gated recurrent unit (GRU) in deep learning models. The proposed model achieves the highest detection rate of 97.84% for GRU and 97.85% for LSTM as well as improves the false positive rate (FPR) of 5.87% and 3.88% FPR for GRU and LSTM, respectively.
INTRODUCTIONWireless sensor networks is a collaboration of huge range of autonomous sensors. It communicates with each other via radio signals. 1,2 Each node has capability of sensing, processing, and communicating. The communication is done either directly if the base-station (BS) node is one-hop distant or via intermediate sensor nodes in multihop formation. The sensor routing protocols play a vital role in managing various processes of communication, manipulation, and other functional activities. Moreover, sensor routing protocols are a valuable part of signal processing and provide a platform for autonomous sensor nodes that do work collaboratively. [3][4][5] The communication between sensor nodes is responsible for energy depletion of those involved in communication. The consumption of energy is at highest level, while sensor node communicates with neighboring sensor nodes. The proper utilization of energy consumption of each node is a prime