Unit 3: Architectures and Models



Similar documents
INTERNET OF THE THINGS (IoT): An introduction to wireless sensor networking middleware

REMOTE TEMPERATURE AND HUMIDITY MONITORING SYSTEM USING WIRELESS SENSOR NETWORKS

APx4 Wireless System-on-Module 5/8/2013 1

Microchip Technology. February 2008 Valerio Moretto Slide 1

Secure data aggregation in mobile sink wireless sensor networks

Service and Resource Discovery in Smart Spaces Composed of Low Capacity Devices

INTRODUCTION TO WIRELESS SENSOR NETWORKS. Marco Zennaro, ICTP Trieste-Italy

Wireless Sensor Network for Continuous Monitoring a Patient s Physiological Conditions Using ZigBee

Drahtlose Kommunikation. Sensornetze

The design and implementation of the environment monitoring system of smart home based on EnOcean technology

BROWSER-BASED HOME MONITOR USING ZIGBEE SENSORS

Wireless sensor networks THE PLATFORMS ENABLING WIRELESS SENSOR NETWORKS

MOTEWORKS. Key Features. Overview

Implementation of Wireless Gateway for Smart Home

DESIGN ISSUES AND CLASSIFICATION OF WSNS OPERATING SYSTEMS

M2M I/O Modules. To view all of Advantech s M2M I/O Modules, please visit

Demystifying Wireless for Real-World Measurement Applications

The Internet of Things: Opportunities & Challenges

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

ÇANKAYA ÜNİVERSİTESİ ECE 491 SENIOR PROJECT I ERDİNÇ YILMAZ

Fachbereich Informatik und Elektrotechnik SunSPOT. Ubiquitous Computing. Ubiquitous Computing, Helmut Dispert

Wireless Sensor Networks: Motes, NesC, and TinyOS

Design of Environmental Parameters Monitoring System for Watermelon Seedlings Based on Wireless Sensor Networks

NanoMon: An Adaptable Sensor Network Monitoring Software

Design of Remote data acquisition system based on Internet of Things

Internet of Things 2015/2016

Master's thesis. Two years. Datateknik Computer Science

A Transport Protocol for Multimedia Wireless Sensor Networks

This idea could limit unnecessary visits and help developing countries to provide healthcare remotely as well.

Data Management in Sensor Networks

Vibration Measurement of Wireless Sensor Nodes for Structural Health Monitoring

Operating Systems for Wireless Sensor Networks: A Survey Technical Report

SIP Protocol as a Communication Bus to Control Embedded Devices

Water Quality Monitoring System Using Zigbee Based Wireless Sensor Network

Technical Article. NFiC: a new, economical way to make a device NFC-compliant. Prashant Dekate

Remote Monitoring and Controlling System Based on ZigBee Networks

Introduction to Wireless Sensor Network Security

ZigBee Technology Overview

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

Network connectivity controllers

Internet of things (IOT) applications covering industrial domain. Dev Bhattacharya

Wireless Sensor Network for Electric Meter Handling

Wireless monitoring system for temperature and humidity based on ZigBee

High-Frequency Distributed Sensing for Structure Monitoring

Sensor Networks. José Costa. Software for Embedded Systems. Departamento de Engenharia Informática (DEI) Instituto Superior Técnico

Figure 1.Block diagram of inventory management system using Proximity sensors.

in Health Care and Sensor Networks

Flexible Architecture for Internet of Things Utilizing an Local Manager

FLYPORT Wi-Fi G

A Study of Low Cost Meteorological Monitoring System Based on Wireless Sensor Networks

EPMOSt: An Energy-Efficient Passive Monitoring System for Wireless Sensor Networks

Fig. 1 BAN Architecture III. ATMEL BOARD

Smart Cities & Internet of Things (IoT): New training opportunities. Dr. Periklis Chatzimisios

Internet of Things based approach to Agriculture Monitoring

Development of cloud computing system based on wireless sensor network protocol and routing

Design of a Sensor Network Based Security System

Agriculture: Methods and Experiences

Virtual KNX/EIB devices in IP networks

LoRaWAN. What is it? A technical overview of LoRa and LoRaWAN. Technical Marketing Workgroup 1.0

Sensor network infrastructure for intelligent building monitoring and management system

Talon Communications Presentation

Design and Performance Analysis of Building Monitoring System with Wireless Sensor Networks

Medium Access Layer Performance Issues in Wireless Sensor Networks

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

Thingsquare Technology

BUILDING BLOCKS AND CHALLENGES. of the Internet of Things

A Middleware for OSCAR and Wireless Sensor Network Environments

ESP 8266: A BREAKTHROUGH IN WIRELESS SENSOR NETWORKS AND INTERNET OF THINGS

IPv6 Based Sensor Home Networking

ZIGBEE ECGR-6185 Advanced Embedded Systems. Charlotte. University of North Carolina-Charlotte. Chaitanya Misal Vamsee Krishna

The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications

Easy-Flow: Comparing and integrating Wireless and PLC Medium Access Control Protocols.

7a. System-on-chip design and prototyping platforms

Intelligent Fleet Management System Using Active RFID

From reconfigurable transceivers to reconfigurable networks, part II: Cognitive radio networks. Loreto Pescosolido

IMPLEMENTATION OF A SIMPLE WIRELESS SENSOR NODE FOR THE DETECTION OF GASEOUS SUBSTANCES LEAKAGE

BodyMAC: Energy Efficient TDMA-based MAC Protocol for Wireless Body Area Networks

IEEE Sub-1 GHz-Lösungen für Sensornetzwerke mit optimierter Funkabdeckung Dr. Wolf Wireless GmbH

DDS-Enabled Cloud Management Support for Fast Task Offloading

Configurable Sensor Nodes for AAL Applications

Forest Fire Monitoring System Based On ZIG-BEE Wireless Sensor Network

An Intelligent Car Park Management System based on Wireless Sensor Networks

Challenges. Department of Informatics University of Oslo. Presenter. October 25, 2011

Network Enabled Battery Health Monitoring System

XBee Wireless Sensor Networks for Temperature Monitoring

Transcription:

Ubiquitous and Secure Networks and Services Redes y Servicios Ubicuos y Seguros Unit 3: Architectures and Models José Fernán Martínez Ortega jfmartin@diatel.upm.es, jf.martinez@upm.es José Fernán Martínez Ortega 1

UNIT 3: Architectures and Models INTRODUCTION José Fernán Martínez Ortega 2

Evolution to pervasive computing José Fernán Martínez Ortega 3

Distributed System Features Heterogeneity Extensibility Security Scalability Fault management Concurrency Transparency José Fernán Martínez Ortega 4

Architectural Models To identify the functionality of the simple system components. To manage problems associated to component localization in the network (distributed patterns, information, workload). To analyze relationships among components (communication patterns), Starting point: Servers e Clients Peer to Peer José Fernán Martínez Ortega 5

Platform General Software Levels Hardware. Operating System. Low level software layers. Middleware Heterogeneity problem. Application and services José Fernán Martínez Ortega 6

Towards a Middleware approach What is distributed cooperation? Application/Service Application/Service José Fernán Martínez Ortega 7

Middleware Services Object Oriented Message Oriented Distributed Processing Clustering of Services Platforms Transaction Oriented DB Oriented RPC Oriented José Fernán Martínez Ortega 8

So What about WSN? José Fernán Martínez Ortega 9

UNIT 3: Architectures and Models PLATFORM LAYER José Fernán Martínez Ortega 10

Bird s Eye View José Fernán Martínez Ortega 11

Tmote Sky Developed in the Berkeley University. Features: USB interface. Built-in antenna 125 mts. Flash memory for software installation. José Fernán Martínez Ortega 12

Processing Unit Tmote Sky Interfaces Microcontroller MSP430F1611 Digital 6 GPIO RAM 10 KB RAM Analogical 6 ADC ROM 48 KB (FLASH) Serial I2C, SPI, USB Speed 8 MHz Sensors Humidity, light, temperature Operating TinyOS and Contiki Gateway Ethernet System Radiofrequency Others Transceiver Chipcon CC2420 Power source AA Batteries Band 2400 2483.5 MHz Power idle 5.1 ua Bit rate 250 Kbps Power (Rx/Tx) 19.5 ma / 21.8 ma Modulation O-QPSK Cost Unit 130 $ Range (out-door), (in-door) Gateway Tmote Connect Protocol 802.15.4 Licence BSD (Op. System) Security 802.15.4 Extras None José Fernán Martínez Ortega 13

Crossbow Family Monitorization and data acquisition Radio 916 MHz -2.4 24GHz(ZigBee compliant) Different HW and SW platforms Families: First Generation (MICAz, MICA 2, Telos B) Second Generation (Imote 2) Different Crossbow motes. More information at www.xbow.com. Used under Crossbow s terms of use: http://www.xbow.com/terms-of-use.html. José Fernán Martínez Ortega 14

Processing Unit Imote 2 Microcontroller Intel PXA271 Digital DIO RAM 256 KB Analogical 8 x ADC Interfaces ROM 32 MB (FLASH) Serial 3 UART, 2I2C, 2 SPI,, SDIO, GPIO Speed 13-416 MHz Sensors Sensor plug-in interface Operating System TinyOS Gateway Mini-USB(local) or Ethernet (base station) Radiofrequency Others Transceiver CC2420 Power source AA Batteries Band 2.4 GHz Power idle 31 ua Bit rate 250 Kbps Power (Rx/Tx) 44 ma / 44 ma Modulation O-QPSK Cost 404 $ unit Range 75-(out-door), 20- (in-door) Gateway None Protocol No specified Licence BSD (op. syst.) Security No specified Extras None José Fernán Martínez Ortega 15

Radiofrequency Technologies Frecuency Band Data speed Bluetooth ZigBee Z-wave WiFi Wavenis 2.4 GHz 2.4 GHz/ 5.2 GHz 868MHz 915MHz 2.4 GHz/ 5.2 GHz 433/868/915MHz (2,4GHz) 1 Mbps 250 Kbps few Kbps 5.5/11 MHz 4,8 / 19,2 / 250 Kbps Deployment Reliability Low consumption Range Low cost Range in-door (10m) (20m) (50m) (50m) (until 200m) Standard protocol Availability José Fernán Martínez Ortega 16

Open issues Size vs. costs. Integration of new functionalities (circuits). New encapsulation formats. New personalized solutions. Power consumption (harvesting). MAC, HW components and software must be improved. Consumption reduction. Uncorrelated antennas. Reliability (embedding QoS and security). José Fernán Martínez Ortega 17

Contiki MagnetOS SOS TinyOS Squawk Operating Sytems José Fernán Martínez Ortega 18

TinyOS -Berkeley Application = scheduler + graph of components. Compiled into one executable. Event-driven architecture. Single shared stack. No kernel/user space differentiation. José Fernán Martínez Ortega 19

UNIT 3: Architectures and Models MIDDLEWARE LAYER José Fernán Martínez Ortega 20

WSN Software Technologies Design Analysis for WSN. Distribution. Data source availability. Bandwidth and resources. Cooperating applications. Quality of Service (QoS). Security. José Fernán Martínez Ortega 21

Middleware must provide: Middleware at whole!! Appropriate interfaces for a wide range of applications. Run-time environment for coordination. Mechanisms to achieve efficient resource use. Middleware services: Independency of network services and low level layers. Facilities for interacting with other in- network applications. Increase availability and reliability. Guaranteeing scalability. José Fernán Martínez Ortega 22

WSN Middleware Features Nodes are small-scale devices. Nodes and sensors (actuators) are limited by power supply (batteries) Harvested! Nodes are likely to fail (batteries, environment). Nodes are resource constrained. José Fernán Martínez Ortega 23

WSN Middleware Challenges Supporting the configuration lifecycle Working in network with thousands of nodes Providing abstraction of the network Fulfilling main requirements: energy efficient, reliability and scalability Allowing event-based or periodic communication Providing self-configuring and selfmanagement Paying attention to the time and localization concepts Providing application knowledge in the WSN infrastructure Supporting real-time applications needs Supporting security issues José Fernán Martínez Ortega 24

WSN Middleware Approaches José Fernán Martínez Ortega 25

Maté Virtual Machine Figure 2: Maté Architecture and Execution Model: Capsules, Contexts, and Stacks. [Levis2002] Levis, P and Culler, D. Maté: A Tiny Virtual Machine for Sensor Networks. 10th International Conference on Architectural Support for Programming Languages (ASPLOS X), 2002. José Fernán Martínez Ortega 26

Autonomy Asynchronous working capacity Ubiquitous and Secure Networks and Services: Architectures and Models Agents in WSN Agents Capacity of maintain some task under control without external attention. Start to work when the agents receive some information. WSN Nodes Capacity to reach objective without network intervention. It senses stimulus and reacts. Collaboration and The agents exchange data for The nodes need to work together coordination achieving a common task. for reducing interactions among nodes. Communication Capacity to interaction with other agents. Capacity to exchange data. Objective driven The agents can reach their The sensed data by the nodes are objectives with some used in order to reach network information. goals Reactivity Capacity to provide a result Capacity to detect and react to when something happens. unforeseen events. Mobility Capacity to migrate. Capacity to migrate between nodes. José Fernán Martínez Ortega 27

UNIT 3: Architectures and Models USE CASE: AN EVENT-DRIVEN MIDDLEWARE: MICRO SUBSCRIPTION MANAGEMENT SYSTEM (µsms) José Fernán Martínez Ortega 28

Origin of This Middleware Approach The µsms Middleware was developed as part of a project of the 6th Framework Programme: Solving Major Problems in Micro Sensorial Wireless Networks µswn Project was working for 3 years from October 2006 to November 2009. The µswn Consortium was composed of 10 partners from different European countries: Spain, France, Greece and Lithuania. José Fernán Martínez Ortega 29

Origin of This Middleware Approach µswn s project main objectives: To research generic and reusable Software-Hardware solutions for WSNs that are common to existent and potential future applications. To research and develop a Middleware architecture enabling a platform for reusable components to ease future developments regarding similar systems under real-time restrictions. To apply WSN technology to three real world scenarios: Surveillance, Multi-trackingtracking and Critical-monitoring. José Fernán Martínez Ortega 30

The Middleware Architectural Context Architectural Approach José Fernán Martínez Ortega 31

Middleware Components µcomponent Stereotype for UML Implements: Load Unload Run Destroy <<use>> eventproduced Subscribe/unSubscribe S b Publish/unPublish publishexternalevent listevents trownevent Communication between receptacles and interfaces can be performed through events Basic operations: (Un)Publications and (Un)Subscriptions Two interaction modes: PUSH and PULL. Direct calls to component methods can be also enable José Fernán Martínez Ortega 32

Middleware Kernel << I >> µcomponent << manages >> << subsystem >> Framework << implements >> Subscriber << instantiates>> Event_t EDT 1 1 ERT EQ 1.. * 1 EST [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. José Fernán Martínez Ortega 33

µopen Distributed Inter-Component Communication Protocol Data Unit: Event EventType key value key value UINT16 UINT8 UINT16 UINT8 UINT16 Event Type: Type of event that will be dispatched. E.g. Temperature Threshold key-value pairs: event s useful data. E.g. Celsius-38º; Farenheit-100º [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. José Fernán Martínez Ortega 34

µopen Distributed Inter-Component Communication Protocol Publications and Subscriptions Network Agent A Subscription generates an entry in Event Routing Table EventType, ProducerID, ConsumerID and Event Filter José Fernán Martínez Ortega 35

µopen Distributed ib t Inter-Component t Communication Protocol Event dispatching (intra-node) José Fernán Martínez Ortega 36

µopen Distributed ib t Inter-Component t Communication Protocol Event dispatching (inter-node) [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. José Fernán Martínez Ortega 37

µopen Distributed Inter-Component Communication Protocol Event dispatching (inter-node) External Event Structure EventType key value key value key value EXTERNAL_EVENT CON_ID PRO_ID EVENT UINT16 UINT8 UINT8 UINT8 nodei D UINT16 µcomponent UINT16 nodei D UINT16 µcomponent UINT16 Local Event EventType key value key value UINT16 UINT8 UINT8 UINT16 UINT16 [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. José Fernán Martínez Ortega 38

Validation Scenario System deployment at Versme Sanatorium, Birstonas (Lithuania) Three real world validation scenarios Surveillance, Multi-tracking and Critical Monitoring [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. José Fernán Martínez Ortega 39

Validation Scenario Surveillance Scenario Objectives To detect intruders,,patients and medical staff crossing a virtual perimeter rounding the Sanatorium Deployment Fixed nodes connected to PIRs Surveillance Agent Bracelet nodes (mobile nodes) Fixed node with PIRs uswn CAD [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. [Martínez2010] J. F. Martínez, S. Bravo, A. B. García, I. Corredor, M.S. Familiar, L. Lopez, V. Hernandez and A. Da Silva, Pervasive surveillance-agent system based on wireless sensor networks: design and deployment, Measurement Science and Technology, vol. 21, num. 12, 2010. José Fernán Martínez Ortega 40

Validation Scenario Multi-tracking scenario Objectives To track patients wearing bracelet nodes Deployment Grid of fixed nodes (beacons) Multi-tracking Agent Bracelet nodes (mobile nodes) [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor,A.B.García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. Multi-tracking t operation Grid deployment José Fernán Martínez Ortega 41

Validation Scenario Critical Monitoring Scenario Objectives To monitor vital signs of patients (heart rate and body temperature) To monitor environmental parameters (temperature and humidity) Deployment Fixed nodes (out-door and in-door deployment) Critical Monitoring Bracelet nodes (mobile nodes) with biomedical sensors Agent Out-door deployment In-door deployment Bracelet node José Fernán Martínez Ortega 42

References [Fok2006] Fok, C. Roman, G., Lu, C. Agilla: A Mobile Agent Middleware for Sensor Networks. School of Engineering and Applied Science. Washington University, St. Louis. 2006. [Hadim2006] Hadim, S., Mohamed, N. Middleware Challenges and Approaches for Wireless Sensor Networks. IEEE DISTRIBUTED SYSTEMS ONLINE, Vol. 7, No. 3; March 2006. [Levis2002] Levis, P and Culler, D. Maté: A Tiny Virtual Machine for Sensor Networks. 10th International Conference on Architectural Support for Programming Languages (ASPLOS X), 2002. [Liu2003] T. Liu and M. Martonosi. Impala: A middleware system for managing autonomic, pararell sensor systems Symposium on Principles and Practice of Pararell Programming (PpoPP 03) 03), June 2003 [Lu2001] Lu, C. "Berkley Motes and TinyOS. www.cs.virginia.edu/~cl7v/cs851- talks/tinyos_chenyang.ppt [Martínez2010] J. F. Martínez, S. Bravo, A. B. García, I. Corredor, M.S. Familiar, L. Lopez, V. Hernandez and A. Da Silva, Pervasive surveillance-agent system based on wireless sensor networks: design and deployment, Measurement Science and Technology, vol. 21, num. 12, 2010. [Martinez2011] J. F. Martínez, M. S. Familiar, I. Corredor, A. B. García, S. Bravo and Lourdes López, Composition and deployment of e-health services over Wireless Sensor Networks. Mathematical and Computer Modelling, Elsevier, vol. 53, num. 3-4, pp. 485-503, 2011. [Oracle] Oracle. The Squawk Virtual Machine. labs.oracle.com/projects/squawk/squawk-rjvm.html [RUNES] Reconfigurable g Ubiquitous Networked Embedded Systems http://www.ist-runes.org/] José Fernán Martínez Ortega 43

Bibliography Analysis and validation of Wireless Sensor Networks Software Technologies. Luis D. Rosado, Advisor: José F. Martinez. Final project, ETSIT UPM January 2008. Composition and deploying of e-health services over Wireless Sensor Networks José F. Martínez, Miguel S. Familiar, Iván Corredor, Ana B. García, Sury Bravo, Lourdes López, Journal of Mathematical and Computer Modelling, Special issue: Telecommunications Software Engineering: Emerging Methods, Models and Tools, Elsevier, ISSN: 0895-7177, 2010. Middleware for Self-adaptative Environments in Wireless Sensor Networks, Iván Corredor, Master Thesis Dissertation, Advisor: José-F Martínez, EUITT UPM, October 2009 Pervasive Surveillance-Agent System based on Wireless Sensor Networks: Design and Deployment. José F Martínez, Sury Bravo, Ana B García, Iván Corredor, Miguel S Familiar, Lourdes López, Vicente Hernández and Antonio Da Silva, Journal of Measurement Science and Technology, Special Issue on Wireless Sensor Networks, December 2010, IOPscience. ISSN: 0957-0233. Problem Solving for Wireless Sensor Networks, Ana-B García, José-F Martínez, Juan-M López, Anggliki Prayati, Luis Redóndo., Springer Verlag Series: Computer Communications and Networks, ISBN 978-1-84800-202-9, 8 800 0 9, 2008. Reasoning System for Wireless Sensor Networks, Marta Zuazua, Master Thesis Dissertation, Advisor: José-F Martínez, EUITT UPM, September 2010 Virtualization on Wireless Sensor Networks, Patricia Vicente, Final project, Advisor: José F. Martinez, EUITT UPM September 2010. Wireless Sensor Network Subscription Management System, Miguel S. Familiar, Final project, Advisor: José F. Martinez, EUITT UPM February 2009. More WSN resources. http://www.diatel.upm.es/jfmartin/jfmartin_eng.html José Fernán Martínez Ortega 44