{'fraction_non_alphanumeric': 0.027522935779816515, 'fraction_numerical': 0.0, 'mean_word_length': 5.474885844748859, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Security with Quality-of-Services optimization in Wireless Sensor Networks

In this work, we propose a new framework able to ensure the Quality-of-Services (QoS) with different security levels in Wireless Sensor Networks (WSNs). We propose a new model based on the PID (Proportional Integral Derivative) controller in order to dynamically select the security level adapted to QoS requirement while considering the energy consumption. The stability parameters in terms of security level and QoS are taken into account by using the principle of PID which is based on the past variation parameters (history), the current system state (present) and predictable system change (future). We introduce the proposed model in AODV routing protocol called QwS-AODV protocol. Unlike the classical Secure AODV, QwS-AODV protocol aims at adding or removing security services dynamically according to the network performance. Moreover, the validation and the evaluation of the proposed solution is carried out by the simulation. The performance evaluation is presented with different network parameters such as: throughput, delay, energy consumption and security services (authentication, confidentiality, Integrity). In addition, the comparison with a classical Secure AODV is done, and the results obtained from the simulation illustrate that the security is always ensured with lower costs in terms of QoS and energy consumption.