{'fraction_non_alphanumeric': 0.024703557312252964, 'fraction_numerical': 0.0, 'mean_word_length': 5.102409638554217, '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}}
Tree-Structured Network Based Hierarchical Complex Event Processing in Wireless Sensor Networks

Complex event processing (CEP) is a technique that handles massive data in the Internet of Things (IoT). A lot of researches have been done in RFID. However, most of the existing CEP engines are centralized which result in the resources of sensors are underutilized and wireless network overload. In this paper, wireless sensor network (WSN) will be organized into a logical tree structure. Tree-structured WSN is combined with automatic machine based CEP to form a novel hierarchical CEP. By query planning, the expression will be decomposed to sub-expressions and sub-expressions are assigned to each sensor and gateway. By processing sub-expressions, sensors and gateways would only need to transmit useful data meanwhile their computing and storage capacity are fully utilized. Experiments show that, in this way, the network bandwidth will be saved significantly and the pressure on the server will be reduced.