{'fraction_non_alphanumeric': 0.019933554817275746, 'fraction_numerical': 0.0016611295681063123, 'mean_word_length': 5.1479591836734695, '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}}
Flexible Smart Home Architecture using Device Profile for Web Services: a Peer-to-Peer Approach

In this paper we propose the design and development of a flexible smart home architecture using a peer-to-peer (P2P) approach. We specifically focus on two distinct aspects of this proposed architecture. First, we analyze how the different home devices and services can be represented as individual peers in order to have a decentralized system, which is scalable by nature and avoids the single point-of-failure usually attributed to a centralized server. Second, we investigate the distribution of application workflow logic among the peers to develop a flexible home architecture with autonomous behavior of the peers. We analyze the suitability of Devices Profile for Web Services (DPWS) to realize the proposed P2P-like architecture for the smart home. We further show how to distribute the application workflow logic among the peers and yet achieving the same global behavior of the system. Our experimental results show that DPWS provides tools and techniques, in particular its discovery and eventing mechanism, which can be leveraged to provide flexibility and autonomy in the overall architecture.