{'fraction_non_alphanumeric': 0.017786561264822136, 'fraction_numerical': 0.0, 'mean_word_length': 5.493589743589744, '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}}
Android/OSGi-based Machine-to-Machine context-aware system

This paper presents a context-aware system that uses Machine-to-Machine communication to retrieve sensor data collected by an Android operating system smartphone. It uses the eXtensible Messaging and Presence Protocol for communication with a remote server where data are stored, while both ends are implemented in the Open Service Gateway initiative framework providing system modularity and portability. Although our system is designed as a generic system that can be easily applicable for various monitoring purposes or on-event reactions, its functionality has been evaluated by implementing an environment-variables monitoring application used in industrial sectors. The case study presented in this paper elaborates a context-aware application in terms of monitoring and alarming functions. In our case study Android devices are used for communication purposes and monitoring environment parameters in order to track context data and react to it.