{'fraction_non_alphanumeric': 0.03051643192488263, 'fraction_numerical': 0.002347417840375587, 'mean_word_length': 4.965034965034965, '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}}
HC-LEACH: Huffman Coding-based energy-efficient LEACH protocol for WSN

Data aggregation is an energy-saving technology in wireless sensor networks (WSNs). Because of the high density of nodes in sensor networks, many nodes discover the same data (in many cases with a large quantity), leading to a lot of energy consumption and may be packets loss. These challenges can be resolved by using a data collection policy when routing packets from the source nodes to the base station (BS). Researchers are still struggling to choose an effective and appropriate data collection method from the current WSN literature. In this paper, we propose an energy-aware Huffman coding-based LEACH protocol for WSN (HC-LEACH). The experiment results show the effectiveness of the proposed scheme in enhancing energy consumption by approximately 38% compared to LEACH.