RuCAS: Rule-Based Framework for Managing Context-Aware Services with Distributed Web Services

RuCAS: Rule-Based Framework for Managing Context-Aware Services with Distributed Web Services

Hiroki Takatsuka, Sachio Saiki, Shinsuke Matsumoto, Masahide Namamura
Copyright: © 2015 |Pages: 12
DOI: 10.4018/IJSI.2015070105
OnDemand:
(Individual Articles)
Available
$37.50
No Current Special Offers
TOTAL SAVINGS: $37.50

Abstract

Machine-to-Machine (M2M) systems and cloud services provide various kinds of data via distributed Web services. A context-aware service recognizes real-world contexts from such data and behaves autonomously. However, it has been challenging to manage contexts and services defined on the heterogeneous and distributed Web services. In this paper, the authors propose a framework, called RuCAS, which systematically creates and manages context-aware service using various Web services. RuCAS describes every context-aware service by an ECA (Event-Condition-Action) rule. For this, an event is a context triggering the service, a condition is a set of contexts to be satisfied for execution, and the action is a set of Web services to be executed by the service. Thus, every context-aware service is managed in a uniform manner. Since RuCAS is published as a Web service, created contexts and services are reusable. As a case study, RuCAS is applied to a real home network system.
Article Preview
Top

Introduction

The recent spread of cloud computing and Machine-to-Machine (M2M) technologies allows us to acquire various kinds of data from heterogeneous and distributed systems (Velte, Velte and Elsenpeter, 2010; Wu, Talwar, Johnsson Himayat and Johnson, 2011). The cloud computing provides computational resource and data as networked services, whereas the M2M enables devices to communicate with each other without human intervention. Typical data include temperature, power consumption, weather, system state, operation of a device. Data from the cloud or M2M systems can be obtained usually through Web services or Web-API. Variety of data achieves a context-aware service (Cohen et al. 2004), which recognizes a real-world context and behaves autonomously for the context. The context-aware services implement smarter services, which are sensible for the environment and human activities.

Traditionally, the context-aware services had been studied in the field of ubiquitous computing (Randell and Muller, 2000; Gellersen, Schmidt and Beigl, 2002). Many studies were reported on context acquisition, context reasoning and utilization, using ubiquitous sensors deployed on local smart space. Now, the context-aware services must evolve so that the services can deal with global and distributed contexts obtained from Web services of heterogeneous systems (e.g. information services, sensor services, networked appliances, etc.). However, there are few studies adopting distributed Web services for creating context-aware services. In our previous work, we proposed a sensor service framework (Nakamura, Matsuo, Matsumoto, Sakamoto and Igaki, 2011), which invokes Web services based on contexts with physical sensors. However, the focus was limited on the sensors only.

Using Web services for inputs and outputs can significantly improve the functionality and flexibility of the context-aware services. However, a major challenge lies in managing complex relations among distributed data sources, defined contexts, and actions caused by the contexts. Unless managed systematically, the service provision would be quite difficult. Therefore, it is essential to have a unified framework for managing advanced context-aware services based on the heterogeneous and distributed Web services.

In this paper, we present a framework called RuCAS (Rule-based management framework for Context-Aware Services), which systematically creates and manages context-aware service using various Web services. The framework consists of five layers: Web service layer, adapter layer, context layer, action layer and ECA rule layer. The existing Web services for data acquisition are managed in the Web service layer. The data acquisition from heterogeneous Web services is adapted to the standard API in the adapter layer. In the context layer, every context is defined based on the data obtained via the adapter. Every Web service that is triggered by a context is managed in the action layer.

Using these elements, RuCAS defines every context-aware service as an event-condition-action (ECA) rule. For this, the event defines a context that triggers a service. The condition refers to a guard condition to execute the service. The action defines Web services executed by the service. Thus, every context-aware service is simply defined and created as a uniformed rule.

To see the feasibility of the proposed method, we conduct a case study that applies the RuCAS framework to creating the context-aware services in a practical home network system. In the case study, it is shown that a smart air-conditioning service with environmental sensors can be easily created by a sequence of RuCAS API

Complete Article List

Search this Journal:
Reset
Volume 12: 1 Issue (2024)
Volume 11: 1 Issue (2023)
Volume 10: 4 Issues (2022): 2 Released, 2 Forthcoming
Volume 9: 4 Issues (2021)
Volume 8: 4 Issues (2020)
Volume 7: 4 Issues (2019)
Volume 6: 4 Issues (2018)
Volume 5: 4 Issues (2017)
Volume 4: 4 Issues (2016)
Volume 3: 4 Issues (2015)
Volume 2: 4 Issues (2014)
Volume 1: 4 Issues (2013)
View Complete Journal Contents Listing