{'fraction_non_alphanumeric': 0.022794117647058822, 'fraction_numerical': 0.0, 'mean_word_length': 5.103139013452915, '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}}
Event management for simultaneous actions in the Internet of Things

Complex event processing (CEP) is attracting much attention as a method for analyzing streaming data in the IoT environment. Since a CEP system selects and executes a rule from rules that match identified events, i.e., multiple rules are sequentially executed. This, however, causes a problem in the Internet of Things (IoT) environment since rule execution is slow and the remaining rules must wait to be executed. Simply executing rules in parallel may trigger interference between rules, and thus unexpected and undesirable results. This paper extends the traditional CEP system by developing an execution model for parallel rule firing in the IoT environment so as to be able to execute multiple rules in parallel without any interference. We start with an extended parallel firing condition by adding the definition of dependency between sensors and actuators to the condition. Next, we extend synchronization control of parallel firing so as to avoid the interference among rules that can occur when actions take a lot of time to execute. This paper reveals that the extended CEP system (i) realizes triple parallelism (i.e., data parallelism, task parallelism, and pipeline parallelism) in the IoT environment and (ii) avoids the case where rule execution triggers unexpected results.