{'fraction_non_alphanumeric': 0.013930348258706468, 'fraction_numerical': 0.003980099502487562, 'mean_word_length': 4.91764705882353, '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}}
Real-Time Encoding/Decoding for Pairwise Communication Over an Unreliable Sensor Network

The length of time that a wireless sensor can be deployed is limited by its internal power supply. To increase the deployment lifetime of these sensors we must find ways to conserve power. In this paper, we propose an algorithm that reduces the amount of energy the transceiver consumes by compressing the bytes that are sent and received over the network. The algorithm compresses a data stream by exploiting its temporal locality and is designed to function efficiently on an unreliable network in real-time. A stream is compressed by using fewer bits to represent elements that frequently recur. We evaluate the proposed compression algorithm using a collection of independently collected traces from the crawdad database. We calculated the compression ratio for each trace and found that we were able to reduce the number of bytes transmitted by an average of 60%, resulting in a 30% increase in energy savings.