deployment. The user then starts a builder application
that, based on input such as: the kind of platform, the
readings the user is interested in and their sampling
frequencies - automatically builds and deploys a data
collection application onto the WSN. After this, the
user can manage the deployment by running a web
client, also supplied with the software, from anywhere
in the Internet with access to his home computer. The
client connects to the web-service and allows the user
to visualize the data coming from the sensors, and to
manage the WSN with tasks defined with the help of
a wizard, without writing code.
It is this level of seamlessness that we aim for, and
towards this goal we report, in this paper: an architec-
ture for monitoring WSN, which we call Sensor Ob-
servation aNd Actuation aRchitecture (SONAR), and;
prototype implementations for the SunSPOT and Ar-
duino platforms.
The remainder of the paper is divided as fol-
lows. The following section presents related work,
describes how SONAR fits in, and its contribution.
Section 3 describes the SONAR architecture. Sec-
tion 4 describes the current implementation focusing
on the data layer for the SunSPOT platform. Section 5
describes current work and the conclusions.
2 RELATED WORK AND
CONTRIBUTION
Several other architectures have been proposed to pro-
vide, at least in part, the kind of seamless configura-
tion, deployment and management described above.
TinySOA (Avil
´
es-L
´
opez and Garc
´
ıa-Mac
´
ıas, 2009)
is a multi-platform service-oriented architecture for
WSN that can be used to monitor data from differ-
ent deployments. Global Sensor Networks (Aberer
et al., 2006) introduces the concept of virtual sensor
to allow users to focus on XML-based high-level de-
scriptions of deployments to describe the applications
running on a WSN platform. Its zero-programming
philosophy is something that we pursue in SONAR.
Sens-ation (Gross et al., 2006) is a service-oriented ar-
chitecture that facilitates the development of context-
aware sensor-based infrastructures. It is aimed not
only at WSN infrastructures but also at ubiquitous
computing platforms. IrisNet (Gibbons et al., 2003)
envisions a world-wide sensor web in which users,
using standard web-services, can transparently make
queries on data from thousands to millions of widely
distributed, heterogeneous nodes. HERA (Alonso
et al., 2013) is an agent-based architecture that al-
lows the creation of a wireless sensor network using
nodes with different technologies. Corona (Khoury
et al., 2010) is a distributed query processor imple-
mented over SunSPOT WSN. MufFIN (Valente and
Martins, 2011) is a generic middleware framework
that allows for managing and programming Internet
of Things smart objects and to provide the resulting
data-streams through publish-subscribe web-services.
Most of the systems cited above provide program-
ming frameworks on top of which users may imple-
ment their own applications for WSN and manage the
deployments using a middleware. Setting up a de-
ployment and running applications on it requires a
degree of expertise from the user that is not trivial.
SONAR differs fundamentally in this respect. First,
we restrict the application domain to a very simple
scenario: nodes get readings from sensors at given
frequencies and send them to a sink; the sink sends
actuation commands to nodes based on some process-
ing of the aforementioned data. Second, we assume
that the end-user of the technology will be interested
in a holistic solution that allows him to configure and
build an application, deploy it to a WSN, and monitor
and interact with the nodes from the Internet. Most
users of WSN will not have the programming skills
nor the hardware expertise to perform this sequence
of operations without automation. Thus, we adhere to
a zero-programming philosophy, in which, except for
initial configuration information (e.g., platform, sen-
sors of interest and reading frequencies) the building
of an application is automated, based on pre-compiled
modules, and its deployment is transparent to the user,
which can henceforth monitor the deployment with
a web client application. Part of this monitoring in-
cludes a feature that is not provided by most of the
above systems and certainly not in the way SONAR
offers it: the possibility of defining simple (periodic)
tasks, disconnected from the client and persistent, that
process the data-streams generated by the data layer
and issue actuation commands on behalf of the user.
We find this feature essential to allow for the discon-
nected management of the deployment, e.g., from a
client installed in a mobile phone or tablet with only
occasional network connectivity.
3 ARCHITECTURE
SONAR is a fairly typical 3-layer architecture, similar
for example to TinySOA (Avil
´
es-L
´
opez and Garc
´
ıa-
Mac
´
ıas, 2009), depicted in Figure 1. The data layer
abstracts the WSN deployments managed by the ar-
chitecture. These deployments generate data-streams
that are stored in a data-store in the processing layer.
This data can be queried and processed by the client
layer in order to extract information on the status of
SENSORNETS2014-InternationalConferenceonSensorNetworks
74