{'fraction_non_alphanumeric': 0.023035230352303523, 'fraction_numerical': 0.0, 'mean_word_length': 5.008130081300813, '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}}
A modified LEACH protocol for wireless sensor networks

In order to reduce the energy consumption of nodes and prolong the lifetime of wireless sensor networks (WSN), a clustering protocol based on Chaos-PSO is proposed. The protocol improves the cluster-head selection mechanism, it considers the residual energy of nodes, distance to sink node and range of clusters. It optimizes cluster-head selection by Chaos-PSO. Then the other nodes decide whether join the cluster or not by comparing the signal strength of advertisement message with a predefined threshold, and the range of cluster is restricted. The simulation results show that, compared with LEACH, the new protocol can efficiently save energy and prolong the lifetime of WSN.