% This data is distributed under the terms of the Open Data Commons Attribution License (ODC-By) v1.0 - See more at: http://opendatacommons.org/licenses/by/1-0/ @Article{OJIOT_2022v8i1n07_Khaled, title = {IoT Hub as a Service (HaaS): Data-Oriented Environment for Interactive Smart Spaces}, author = {Ahmed E. Khaled and Rousol Al Goboori}, journal = {Open Journal of Internet Of Things (OJIOT)}, issn = {2364-7108}, year = {2022}, volume = {8}, number = {1}, pages = {66--79}, url = {https://www.ronpub.com/ojiot/OJIOT_2022v8i1n07_Khaled.html}, publisher = {RonPub}, bibsource = {RonPub}, abstract = {Smart devices around us produce a considerable volume of data and interact in a wide range of scenarios that guide the evolution of the Internet of Things (IoT). IoT adds informative and interactive aspects to our living spaces, converting them into smart spaces. However, the development of applications is challenged by the fragmented nature due to the vast number of different IoT things, the format of reported information, communication standards, and the techniques used to design applications. This paper introduces IoT Hub as a Service (HaaS), a data-oriented framework to enable communication interoperability between the ecosystem's entities. The framework abstracts things' information, reported data items, and developers' applications into programmable objects referred to as Cards. Cards represent specific entities and interactions of focus with meta-data. The framework then indexes cards' meta-data to enable interoperability, data management, and application development. The framework allows users to create virtual smart spaces (VSS) to define cards' accessibility and visibility. Within VSS, users can identify accessible data items, things to communicate, and authorized applications. The framework, in this paper, defines four types of Cards to represent: participating IoT things, data items, VSS, and applications. The proposed framework enables the development of synchronous and asynchronous applications. The framework dynamically creates, updates, and links the cards throughout the life-cycle of the different entities. We present the details of the proposed framework and show how our framework is advantageous and applicable.} }