{'fraction_non_alphanumeric': 0.013806706114398421, 'fraction_numerical': 0.0, 'mean_word_length': 5.077844311377246, '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}}
Stream Processing in Networks of Smart Devices

Increasing attention on data streams has led to research in developing systems for querying streaming data. Special challenges arise, when data are gathered using networked devices which have constrained resources. Examples for such systems are sensor networks where motes can use their processing capability to reduce communication and save energy. Yet, it is still an open research issue how stream queries can optimally be processed in such networks. In this paper we address the problem of mapping stream queries to heterogeneous device-networks. We present a metric for handling the trade-off between quality of service (QoS) and energy consumption. This includes a model which describes how query operators and their hosting devices affect energy consumption and QoS. Based on the model we have developed an algorithm that optimizes mappings and the mapped query plans for a given network. We also discuss results calculated by a prototype that uses our metric