scispace - formally typeset
Search or ask a question
Proceedings ArticleDOI

A Ubiquitous Model for Wireless Sensor Networks Monitoring

TL;DR: This paper proposes a model for WSNs monitoring based on a REST Web service and XML messages to provide a mobile ubiquitous approach for W SN monitoring and shows that proposed solution is able to collect and present data in a mobile environment, and it is ready for use.
Abstract: Wireless sensor networks (WSNs) belong to emerging technologies where network devices can interact with the surrounding environment by sensing physical parameters. Recently, with the dissemination of mobile devices to Internet connectivity, users can interact with sensor networks and collect environmental data, anytime, anywhere using user-friendly mobile applications. Following the Internet of Things vision, the integration of all sorts of Internet-based devices is considered a big challenge. New infrastructures are required in order to interconnect these devices independently of the used technologies. This paper proposes a model for WSNs monitoring based on a REST Web service and XML messages to provide a mobile ubiquitous approach for WSN monitoring. Data collected from a WSN is stored in a database. Then, mobile clients send XML based messages to a HTTP server through a well-defined REST interface, requesting WSN collected data. A WSN laboratory test bed was used to perform the evaluation, demonstration, and validation of the proposed model. Results show that proposed solution is able to collect and present data in a mobile environment, and it is ready for use.

Summary (3 min read)

1. Introduction

  • Wireless sensors are tiny devices that are able to measure several environmental and vital variables.
  • A new emerging technology called wireless sensor networks (WSNs) has become a trend in technological research [11, 19].
  • Due to the heterogeneity of recent mobile devices and platforms, the construction of a Web service to interconnect these devices in a platform independent way require open technologies and protocols.
  • Section 3 introduces and describes the overall system architecture and the interaction between its modules.

3. System Architecture

  • The proposed four-tier architecture is based on the following main components: a Web service, a gateway, a relational database, and a mobile client application.
  • RESTful architectures are based on HTTP to communicate over the network.
  • Based on this analysis, several fields of the database were defined to store all the relevant data needed to remotely access and monitor a WSN.
  • The gateway can have more than one IPv6 interface and at least one 6LoWPAN interface to allow the communications between the regular IPv6 node and the WSN.
  • For real-time monitoring the mobile application sends requests over the Internet to a HTTP service running on the gateway computer that query the WSN and responds directly to the smartphone.

4. Construction of the Proposed Model

  • The proposed model architecture was constructed in a real environment with all the needed components for a full WSN monitoring solution.
  • The development process of the server-side components of the proposed model is described, including a database, a Web service, a push notifications system, and an end-to-end connectivity between mobile devices and sensor nodes.

4.1 Database Design

  • Based on the requirements analysis, the MySQL Database Management System (DBMS) was chosen for data storage [22].
  • In the context of WSNs, the performance of the database is an important issue due to the large amount of data collected by the sensors.
  • The user table stores information about user credentials such as username and password.
  • The third group of tables is formed by the tables sensor_data, report and data_report that store the collected data by the sensors for each parameter as well as the maximum, minimum and average values for each sensor parameter grouped by day, month or year.
  • These events are scheduled to work after each day, month and year.

4.2 REST Web Service

  • To enable the exchange of information between the database and the mobile devices, a RESTful Web service was built.
  • The Web service has a modular architecture and generic implementation in order to be scalable and accessed through several mobile 35 platforms.
  • A REST Web service can be defined as a set of resources, available through HTTP interfaces accessed using well-defined HTTP methods such as GET and POST.
  • It implements the annotations presented on the specification providing a Java API for RESTful Web services development.
  • The client may request the resource representation in XML or JSON media types.

4.3 Push Notifications

  • One of the main features of the proposed WSN monitoring architecture is the push notification system.
  • The push notification system is focused on the Android operating system because it is an open platform and integrates well the RESTful Web service and the mobile application.
  • The C2DM technology is part of the Android platform and provides libraries and APIs for developing push-enabled applications.
  • 38 Then, a unique registration ID is generated by the authentication server and sent to the mobile device.
  • By doing this, the computational costs of polling are on the server side instead of stressing the mobile devices, resulting in significant energy and bandwidth savings.

4.4 End-to-End Connectivity

  • In order to access real-time data from the wireless sensor network, a multiplatform software application was developed and deployed in the gateway computer enabling the mobile users to request sensor measures.
  • When the mobile client application requests data from the 6LoWPAN WSN, the software application deployed in the gateway computer handles the HTTP request and retrieves data directly from the WSN using the UDP transport protocol.
  • The requested data is transmitted through the IEEE 802.15.4 interface, connected to the gateway via USB.
  • Then, the gateway 39 application converts the collected data to XML format and forwards it to the smartphone over HTTP using an IEEE 802.11g wireless network with Internet connection.
  • On the client side, the Android application parses the received data and presents it to the user.

5. Android Application

  • The Android OS is an open mobile operating system, developed and supported by Google.
  • It was built from scratch, specifically for mobile devices and is based on Linux kernel.
  • The Android System Development Kit (SDK) provides libraries and APIs that enable developers to create Android applications and take advantage of hardware capabilities available on the devices using Java programming language.
  • Through the APIs, developers can use functionalities such as text messaging or accelerometers in order to build richer and immersive applications.
  • Since Android is an open platform, it integrates well with emerging technologies and Web services.

5.1 Android User Interface

  • The user interface was designed following the Android User Interface Guidelines [6] in order to be consistent with the operating system interface and other Android applications.
  • If the user authentication is successful, a new screen is presented with the tab bar at the top where the user could choose between three tabs: Sensors tab, History tab and Settings tab.
  • At the bottom of the screen, sensed data is presented graphically as indicated by “5”.
  • If the user switches to the History tab, a new screen is shown, which presents an interface that allows the user to choose a time interval as indicated by Fig.
  • The settings menu provides the following application options: enable or disable data updates; define the updates frequency; and enable or disable push notifications.

6. Performance Evaluation and Demonstration

  • In order to evaluate and demonstrate the architecture and mobile application, a 6LoWPAN wireless sensor network laboratory testbed was constructed.
  • The motes are capable of sensing air temperature and humidity, luminosity and battery voltage readings.
  • A 6LoWPAN gateway is used to provide IPv6 end-to-end connectivity between the sensor network and the Internet.
  • The smartphone used to evaluate the proposed architecture and mobile application was the Samsung Galaxy S, running Android 2.3 with a 1.0 GHz CPU and a Li-Ion 1500mAh battery.
  • As expected, the lower the polling rate, the lower the battery consumption of the smartphone, but more updates missed by the monitoring application.

7. Conclusion

  • This paper proposed a ubiquitous wireless sensor networks monitoring solution allowing users to receive latest sensor readings as well as historical measures on their 46 smartphones.
  • Since it is based on REST interfaces and XML/JSON messaging, the architecture is platform independent and supported in the majority of current mobile devices.
  • The proposed architecture was evaluated and demonstrated using a real wireless sensor testbed and an Android mobile application.
  • The experiments showed that the solution is reliable and the push notification system has a significant impact on smartphone’s energy savings.
  • In an outdoor environment, factors such as energy management, security and weather conditions should be considered.

Did you find this useful? Give us your feedback

Content maybe subject to copyright    Report

UNIVERSIDADE DA BEIRA INTERIOR
Faculdade de Engenharia
Departamento de Informática
Ubiquitous Model for Wireless
Sensor Networks Monitoring
André Gaudêncio Ferreira Elias
Submitted to the University of Beira Interior in candidature for the
Degree of Master of Science in Informatics Engineering
Supervised by Prof. Doutor Joel José Puga Coelho Rodrigues
Co-supervised by Prof. Doutor Bruno Bogaz Zarpelão
Department of Informatics
University of Beira Interior
Covilhã, Portugal
http://www.di.ubi.pt

ii

iii
Acknowledgments
First of all, I would like to express my gratitude to my supervisor
Professor Joel José Puga Coelho Rodrigues for his expertise, guidance,
continuous support and words of encouragement.
I also want to thank to my co-supervisor Professor Bruno Bogaz
Zarpelão for all the support throughout this work and for the fantastic
reception and guidance during my Master’s studies at University of
Campinas (UNICAMP), in Brazil.
I am most grateful to the University of Beira Interior, Instituto de
Telecomunicações (Covilhã Delegation), Next Generation Networks and
Applications Group (NetGNA), and University of Campinas (UNICAMP) for
many kinds of all the support that was given to me.
I owe particular thanks to Professor Luís Oliveira and my colleague
Gilberto Almeida, who worked closest to me and gave me all the necessary
support during this work.
Many thanks to all members of NetGNA for the constant support and
for creating an excellent work environment.
Special thanks to my friends David Albuquerque and Patrícia Nunes
for keeping me focused and motivated during this months of hard work and
dedication.
Last but not least, I am most grateful to my family, especially my
mother Maria Fernanda Gaudêncio Elias, my brother Bruno Elias and my
cousins Pedro Gaudêncio, Susana Baptista, Carolina and Mafalda, for their
support, love, patient and constant encouragement.
I dedicate this work to my father António Gabriel Elias for making
me the person I am today.

iv

v
Resumo
As redes de sensores sem fios fazem parte de uma nova tendência
tecnológica na qual pequenos dispositivos com recursos limitados
comunicam entre si, sem fios, e interagem com o ambiente envolvente
recolhendo uma grande diversidade de dados, tais como a temperatura e a
humidade.
Recentemente, devido ao enorme crescimento no uso de dispositivos
móveis com ligação à Internet, os smartphones estão a tornar-se o centro
das futuras redes sem fios ubíquas permitindo aos utilizadores aceder a
dados, a qualquer hora e em qualquer lugar. De acordo com a visão da
Internet of Things, interligar redes de sensores sem fios e smartphones
usando a Internet é um grande desafio e novas arquitecturas são
necessárias devido à heterogeneidade destes dispositivos.
Esta dissertação centra-se na proposta e construção de uma arquitectura
ubíqua para a monitorização de redes de sensores sem fios, baseada em
serviços Web, apoiada numa base de dados relacional e uma aplicação
móvel para o sistema operative Android. Esta arquitectura permite que os
utilizadores móveis acedam a dados em tempo real e também a dados
históricos, num ambiente móvel, usando smartphones. Além disso, foi
desenvolvido um sistema de notificações push que alerta o utilizador
quando um dado parâmetro de um sensor ultrapassa um limiar
pré-definido.
A solução construída foi testada e demonstrada utilizando uma testbed
laboratorial e está pronta para utilização.

Citations
More filters
Dissertation
01 Jan 2017
TL;DR: IoT solutions related to personal health monitoring and healthaware mobile devices, seen as an integrated system and the application of ubiquitous communication for plug-and-play, IP protocols, for interoperable low-power sensor networks are investigated.
Abstract: The world today is facing many health-related problems. Obesity-related health issues, often attributed to unhealthy lifestyle, represent one of the most serious global problems of the 21st century. Despite signi cant progress in the eld of medicine, the level of chronic diseases is still on the rise. These health issues are further exacerbated by a growing pressure on the healthcare system caused by a rapid growth of an aging population and a falling number of people of workforce age. Physical and mental health is of prime importance to every individual and to society as a whole. There is a growing interest in new ways to support and maintain an overstressed healthcare system, and there is an expectation for solutions that come from the areas of science and technology. One of the main ideas o ered is to move some of the traditional functions of clinicians, health centers and hospitals into the patient's home environment. The Internet of Things (IoT) and Big Data domains are rapidly evolving. From the initial concepts of connecting things to the Internet for monitoring, control and collecting data, the technology extends into Big Data analytics in a ubiquitous and pervasive computing environment. The number of healthcare applications is becoming a core part of the IoT world, with all its bene ts and challenges. This research focuses on IoT solutions related to personal health monitoring and healthaware mobile devices, seen as an integrated system. The application of ubiquitous communication for plug-and-play, IP protocols, for interoperable low-power sensor networks are investigated together with research into e ective resource management into Body Area Networks. The aim is to contribute to an area of health technology that can be available "everywhere, anytime and to anyone".

5 citations

Proceedings ArticleDOI
01 Jan 2016
TL;DR: This work performs a complete analysis of the E2E source-sink delay considering a cluster-tree topology and uses an autoregressive filter to estimate the average values of delay.
Abstract: The quality of service (QoS) in Smart Grid (SG) communications has a significant importance on emerging SG applications. Wireless sensor networks (WSNs) were considered as a compatible choice to fulfill this issue. In fact, WSNs could be widely used in a wide range of smart grid applications because they have been successfully adopted in several critical areas. Unlike other WSN applications, SG requires precise estimation of specific topologies and performance parameters such as the end to end (E2E) delay. In this paper, we perform a complete analysis of the E2E source-sink delay considering a cluster-tree topology. For this analysis, an autoregressive filter is used to estimate the average values of delay. The main contribution of this work is to perform a better interaction between physical, MAC, network and application layers for SG E2E communications. Our method is based on the assumption that the E2E delay is calculated after sending a beacon using the Markov model and considering Rayleigh fading channels.

5 citations


Cites background from "A Ubiquitous Model for Wireless Sen..."

  • ...WSNs are well suitable for monitoring applications for their ability to operate in harsh environments [7] [8]....

    [...]

Dissertation
13 Feb 2013
TL;DR: In this paper, the authors propose an adaptive range-free localization protocol (ARFL) based on DV-hopprotocol and selective 3-anchor DV-hop.
Abstract: Dans le contexte des reseaux de capteurs sans fil, la technique de localisation ”range-free” est plus efficiente, par rapport au principe ”range-based”. Par consequent, nous avons focalise nos travaux de cette these sur les techniques ”range-free”. Afin de permettre a chaque noeud mobile ou normal de choisir son propre algorithme de localisation, nous avons propose un mecanisme adapte en scindant les noeuds normaux en deux classes: les noeuds de la premiere classe ont au moins 3 ancres voisines, alors que les noeuds de la deuxieme classe ont moins de trois ancres voisines. Pour les noeuds normaux de la classe 1, nous avons propose un nouvel algorithme ”Mid-perpendicular”. Pour les noeuds normaux de la classe 2, nous avons propose deux nouveaux algorithmes ”Checkout DV-hop” et ”Selective 3-Anchor DV-hop”.Pour simuler et evaluer la performance de nos trois nouveaux algorithmes dans le contexte protocolaire des reseaux, nous avons pris soin de proposer deux protocoles associes : ”DV-hopprotocol” et ”Classe-1 protocol”. Par la suite, nous avons combine ces deux protocoles pour obtenir notre ”adaptive range-free localization protocol”. Base sur nos protocoles, en utilisant le simulateur WSNet, nous avons simule differents algorithmes ”range-free” dans le contexte des reseaux de capteurs conformes au standard IEEE 802.15.4. Les resultats ont ete presentes et analyses en termes de precision de la localisation, charge du reseau, mobilite des noeuds, et synchronisation de ces derniers.

5 citations

Patent
05 Jun 2015
TL;DR: In this article, the authors present a system and methods for monitoring and providing humidity control for an asset within a closed environment such as a storage container, with transmission of sensed humidity levels to at least one server that stores current and historical humidity levels.
Abstract: The invention relates to systems and methods for monitoring and providing humidity control for an asset within a closed environment such as a storage container, with transmission of sensed humidity levels to at least one server that stores current and historical humidity levels and comprises a processor and stored executable instructions that, when executed by the processor, may recommend an optimal humidity controller to use for the asset, determine when the recommended humidity controller requires replacement and predictively recommend an optimal replacement humidity controller based on at least historical humidity data and trending thereof, execution of a sales transaction, that may be pre-scheduled based on asset type, asset size and/or historical data, for the optimal replacement humidity controller, and providing the proper replacement humidity controller to the user

4 citations

Book ChapterDOI
01 Jan 2013
TL;DR: This paper describes the design of a new system architecture for monitoring and controlling purposes of a group of sensors and actuators within a wireless sensor network (WSN) that can manage an undefined amount of clustered networks.
Abstract: This paper describes the design of a new system architecture for monitoring and controlling purposes of a group of sensors and actuators within a wireless sensor network (WSN). This system can manage an undefined amount of clustered networks. The proposed system architecture enables Internet communications to reach the WSN in a highly efficient way. This structure reduces the bottleneck of the Internet/WSN bridge and the amount of messages inside the WSN when an Internet request arrives. Besides, each individual WSN implements an Intelligent Rule-Based System Automation (IRBSA) that performs the automation of the behaviour of the network motes according to the previously included rules. These rules describe the actions that are executed when all the conditions of that rule are met. Opposite to traditional approaches, IRBSA is placed in the WSN Header Mote rather than in the Internet server or in every mote.

3 citations

References
More filters
Journal ArticleDOI
TL;DR: The current state of the art of sensor networks is captured in this article, where solutions are discussed under their related protocol stack layer sections.
Abstract: The advancement in wireless communications and electronics has enabled the development of low-cost sensor networks. The sensor networks can be used for various application areas (e.g., health, military, home). For different application areas, there are different technical issues that researchers are currently resolving. The current state of the art of sensor networks is captured in this article, where solutions are discussed under their related protocol stack layer sections. This article also points out the open research issues and intends to spark new interests and developments in this field.

14,048 citations

Journal ArticleDOI
TL;DR: This survey is directed to those who want to approach this complex discipline and contribute to its development, and finds that still major issues shall be faced by the research community.

12,539 citations

01 Jan 2013
TL;DR: In this paper, various issues are discussed that actually put the limitations in the well working and the life time of the network.
Abstract: Wireless sensor networks are the networks consisting of large number of small and tiny sensor nodes. The nodes are supplied with limited power, memory and other resources and perform in-network processing. In this paper, various issues are discussed that actually put the limitations in the well working and the life time of the network. In Wireless sensor network, nodes should consume less power, memory and so data aggregation should be performed. Security is another aspect which should be present in the network. Quality of service, routing, medium access schemes all are considered in designing the protocols.

1,985 citations


"A Ubiquitous Model for Wireless Sen..." refers background in this paper

  • ...Based on this kind of sensors, a recent network approach, known as wireless sensor networks (WSNs), has become an important field of research....

    [...]

Journal ArticleDOI
TL;DR: This article presents a taxonomy of WSN programming approaches that captures the fundamental differences among existing solutions, and uses the taxonomy to provide an exhaustive classification of existing approaches.
Abstract: Wireless sensor networks (WSNs) are attracting great interest in a number of application domains concerned with monitoring and control of physical phenomena, as they enable dense and untethered deployments at low cost and with unprecedented flexibility. However, application development is still one of the main hurdles to a wide adoption of WSN technology. In current real-world WSN deployments, programming is typically carried out very close to the operating system, therefore requiring the programmer to focus on low-level system issues. This not only distracts the programmer from the application logic, but also requires a technical background rarely found among application domain experts. The need for appropriate high-level programming abstractions, capable of simplifying the programming chore without sacrificing efficiency, has long been recognized, and several solutions have hitherto been proposed, which differ along many dimensions. In this article, we survey the state of the art in programming approaches for WSNs. We begin by presenting a taxonomy of WSN applications, to identify the fundamental requirements programming platforms must deal with. Then, we introduce a taxonomy of WSN programming approaches that captures the fundamental differences among existing solutions, and constitutes the core contribution of this article. Our presentation style relies on concrete examples and code snippets taken from programming platforms representative of the taxonomy dimensions being discussed. We use the taxonomy to provide an exhaustive classification of existing approaches. Moreover, we also map existing approaches back to the application requirements, therefore providing not only a complete view of the state of the art, but also useful insights for selecting the programming abstraction most appropriate to the application at hand.

402 citations


"A Ubiquitous Model for Wireless Sen..." refers background in this paper

  • ...In this context, a new emerging technology called wireless sensor networks (WSNs) has become a trend in technological research [11, 19]....

    [...]

Journal ArticleDOI
TL;DR: This paper surveys a comprehensive review of the available solutions to support wireless sensor network environmental monitoring applications by deploying a larger number of disposable sensor nodes.
Abstract: Traditionally, environmental monitoring is achieved by a small number of expensive and high precision sensing unities. Collected data are retrieved directly from the equipment at the end of the experiment and after the unit is recovered. The implementation of a wireless sensor network provides an alternative solution by deploying a larger number of disposable sensor nodes. Nodes are equipped with sensors with less precision, however, the network as a whole provides better spatial resolution of the area and the users can have access to the data immediately. This paper surveys a comprehensive review of the available solutions to support wireless sensor network environmental monitoring applications.

330 citations


"A Ubiquitous Model for Wireless Sen..." refers background in this paper

  • ...It is now widely used in several areas since it provides a wide range of environment monitoring and military surveillance applications among others [1, 2]....

    [...]