Peer to Peer Overlay Network for Sensor net Eng. Husam Alzaq Computer Engineering Department Islamic University of Gaza 1.

Slides:



Advertisements
Similar presentations
UNIVERSITY OF JYVÄSKYLÄ Mobile Chedar – A Peer-to-Peer Middleware for Mobile Devices Presentation for International Workshop on Mobile Peer-to- Peer Computing.
Advertisements

A component- and message-based architectural style for GUI software
Martin Wagner and Gudrun Klinker Augmented Reality Group Institut für Informatik Technische Universität München December 19, 2003.
Sensor Network Platforms and Tools
Semantic Web Based Architecture for Managing Hardware Heterogeneity in Wireless Sensor Network Authors: Sinisa Nikolić, MSc Valentin Penca, MSc Milan Segedinac,
MobiShare: Sharing Context-Dependent Data & Services from Mobile Sources Efstratios Valavanis, Christopher Ververidis, Michalis Vazirgianis, George C.
Extensible Networking Platform IWAN 2005 Extensible Network Configuration and Communication Framework Todd Sproull and John Lockwood
Service Oriented Architectures in Heterogeneous Environments
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Technical Architectures
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
JAVA Technology. Java Technology Java technology is a portfolio of products that are based on the power of networks and the idea that the same software.
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
JXTA P2P Platform Denny Chen Dai CMPT 771, Spring 08.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
A Survey of Wireless Sensor Network Data Collection Schemes by Brett Wilson.
SensIT PI Meeting, April 17-20, Distributed Services for Self-Organizing Sensor Networks Alvin S. Lim Computer Science and Software Engineering.
8 Systems Analysis and Design in a Changing World, Fifth Edition.
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
JXTA Lecture 1.JXTA Overview a) Background to Project JXTA b) Design Constraints c) Terminology d) Overview and Architecture e) Introducing the Concepts.
A Study on Mobile P2P Systems Hongyu Li. Outline  Introduction  Characteristics of P2P  Architecture  Mobile P2P Applications  Conclusion.
Middleware for P2P architecture Jikai Yin, Shuai Zhang, Ziwen Zhang.
Client-Server Processing and Distributed Databases
Wireless Ad Hoc VoIP Thesis by: Patrick Stuedi & Gustavo Alonso Presentation by: Anil Kumar Marukala & Syed Khaja Najmuddin Ahmed.
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Sensor Coordination using Role- based Programming Steven Cheung NSF NeTS NOSS Informational Meeting October 18, 2005.
Cli/Serv.: JXTA/151 Client/Server Distributed Systems v Objective –explain JXTA, a support environment for P2P services and applications ,
Cmpe 494 Peer-to-Peer Computing Anıl Gürsel Didem Unat.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
Tufts Wireless Laboratory School Of Engineering Tufts University “Network QoS Management in Cyber-Physical Systems” Nicole Ng 9/16/20151 by Feng Xia, Longhua.
Common Devices Used In Computer Networks
Remote Access Chapter 4. Learning Objectives Understand implications of IEEE 802.1x and how it is used Understand VPN technology and its uses for securing.
Enabling Embedded Systems to access Internet Resources.
An affinity-driven clustering approach for service discovery and composition for pervasive computing J. Gaber and M.Bakhouya Laboratoire SeT Université.
Rev PA102/03/20041 Communication Between Peer Wireless Sensor Networks over 2.5G/3G Mobile Networks Srdjan Krco R&D Ericsson Ireland
Colin J. MacDougall.  Class of Systems and Applications  “Employ distributed resources to perform a critical function in a decentralized manner”  Distributed.
UbiStore: Ubiquitous and Opportunistic Backup Architecture. Feiselia Tan, Sebastien Ardon, Max Ott Presented by: Zainab Aljazzaf.
Evaluation of a Publish/Subscribe System for Collaboration and Mobile Working Collaborative Advertising over Internet with Agents Independent Study: Wireless.
Peer-to-Pee Computing HP Technical Report Chin-Yi Tsai.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
IntroductionRelated work 2 Contents Publish/Subscribe middleware Conclusion and Future works.
1 Introduction to Middleware. 2 Outline What is middleware? Purpose and origin Why use it? What Middleware does? Technical details Middleware services.
3-1 JXTA Platforms. 3-1 Learning Objectives ● Learn about the different platform implementations of the JXTA protocols – Features provided by each implementation.
MobileMAN Internal meetingHelsinki, June 8 th 2004 NETikos activity in MobileMAN project Veronica Vanni NETikos S.p.A.
Web Services Based on SOA: Concepts, Technology, Design by Thomas Erl MIS 181.9: Service Oriented Architecture 2 nd Semester,
Event-Based Hybrid Consistency Framework (EBHCF) for Distributed Annotation Records Ahmet Fatih Mustacoglu Advisor: Prof. Geoffrey.
Copyright © 2002 Intel Corporation. Intel Labs Towards Balanced Computing Weaving Peer-to-Peer Technologies into the Fabric of Computing over the Net Presented.
ICDL 2004 Improving Federated Service for Non-cooperating Digital Libraries R. Shi, K. Maly, M. Zubair Department of Computer Science Old Dominion University.
Dr. Ian Wang Cardiff University, U.K.. Ian Wang, Cardiff University Peer-to-Peer and Grids What does the Peer-to-Peer paradigm offer Grids? Scalable Decentralized.
Communication Paradigm for Sensor Networks Sensor Networks Sensor Networks Directed Diffusion Directed Diffusion SPIN SPIN Ishan Banerjee
9 Systems Analysis and Design in a Changing World, Fourth Edition.
An Architecture to Support Context-Aware Applications
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1P2P4mm workshop, Vico Equense 6. June 2008 Information Society Technologies VICTORY – a multimodal, cross-platform and distributed multimedia repository.
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
REST By: Vishwanath Vineet.
Providing web services to mobile users: The architecture design of an m-service portal Minder Chen - Dongsong Zhang - Lina Zhou Presented by: Juan M. Cubillos.
Peer-to-Peer Systems: An Overview Hongyu Li. Outline  Introduction  Characteristics of P2P  Algorithms  P2P Applications  Conclusion.
DHCP Vrushali sonar. Outline DHCP DHCPv6 Comparison Security issues Summary.
Multimedia Retrieval Architecture Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia Retrieval Architecture.
Building Wireless Efficient Sensor Networks with Low-Level Naming J. Heihmann, F.Silva, C. Intanagonwiwat, R.Govindan, D. Estrin, D. Ganesan Presentation.
Project JXTA Kaarthik Sivashanmugam. JXTA..? JXTA is a set of open, generalized peer-to-peer (P2P) protocols that allow any connected device on the network.
2.2 Interfacing Computers MR JOSEPH TAN CHOO KEE TUESDAY 1330 TO 1530
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
Systems Analysis and Design in a Changing World, Fifth Edition
University of Technology
Introduction to Cloud Computing
Presentation transcript:

Peer to Peer Overlay Network for Sensor net Eng. Husam Alzaq Computer Engineering Department Islamic University of Gaza 1

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Agenda ConclusionDesign & EvaluationBackgroundIntroduction  Introduction  Background on  Wireless Sensor Network  Peer to Peer Systems  Concept  Implementation  Results  Conclusion 2/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq What are Wireless Sensor Nodes? ConclusionDesign & EvaluationBackgroundIntroduction  They are small electronic components capable of sensing many types of information from the environment.  They are equipped with a certain amount of computational power, communication, storage and often actuation resources. 3/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq What is WSN? ConclusionDesign & EvaluationBackgroundIntroduction  It is a network that has multiple nodes connected to each other wirelessly  Sensor Network is distributed and is not structured. 4/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Constraints/Challanges ConclusionDesign & EvaluationBackgroundIntroduction  Hardware  Power Consumption  Software  Issues to be addresses:  Lifetime maximization  Robustness and fault tolerance  Self-configuration  Algorithms  Design of energy-aware algorithms 5/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Motivation ConclusionDesign & EvaluationBackgroundIntroduction  Motivation  Home/Office Observing –How can a user connect to Wireless Sensor Network over Internet? –How can a user retrieve the sensor data? What is the temperature at lab146?? 6/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Motivation ConclusionDesign & EvaluationBackgroundIntroduction  Solution  Peer to Peer Systems provide an overlay network that is able to connect a user to a Wireless Sensor Network.  Declarative Query would serve as a way to express user’s requests. 7/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq A Middleware for Sensor Networks ConclusionDesign & EvaluationBackgroundIntroduction  A middleware for sensor networks supports the development, maintenance, deployment, and execution of sensing-based applications.  Building a Peer to Peer application on existing WSN is important.  The complexity of accessing different sensor nodes must be hidden.  Many services can be offered. – Discovering Sensor gateway – Obtaining sensor data  Distributed Wireless Sensor Networks (WSNs) can be observed. 8/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Peer to Peer Systems ConclusionDesign & EvaluationBackgroundIntroduction  A Peer to Peer system is defined as a class of systems and applications that employs distributed resources to perform a critical function in a decentralized manner.  The resources encompass computing power, data, network bandwidth...etc.  The critical function can be distributed computing, data/content sharing, communication and collaboration, or platform services. 9/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Peer to Peer Characteristics ConclusionDesign & EvaluationBackgroundIntroduction  Symmetry  Decentralization  Scalability  Fault tolerant  Self-Organization  Resources Sharing  Fast Resource Location to determine where to find the resource 10/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Peer to Peer Classification ConclusionDesign & EvaluationBackgroundIntroduction P2PUnstructured Super P2P Model Hybrid Fully decentalized Structured 11/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Peer to Peer Classification ConclusionDesign & EvaluationBackgroundIntroduction 12/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Why Jxta? ConclusionDesign & EvaluationBackgroundIntroduction  Jxta is a generic overlay network system.  It consists of a set of protocols that are language, platform and network independent.  Java based and C implementation  It connects devices on the network ranging from embedded system and cellular phones to PCs and servers. 13/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Application Overview ConclusionDesign & EvaluationBackgroundIntroduction 14/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Requirements ConclusionDesign & EvaluationBackgroundIntroduction  Application Requirements  Detect sensor gateways.  Express user‘s requests in a SQL language.  Filter sensor data according to user request.  Technical Requirements.  Scalability.  Interoperability. 15/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Conceptual Design - Architecture ConclusionDesign & EvaluationBackgroundIntroduction  Jxta Layer  Governs the connection between a gateway and user agents, and the overlay network.  Ensures the interoperability between a gateway and user agents. 16/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Conceptual Design - Architecture ConclusionDesign & EvaluationBackgroundIntroduction  Sensor Gateway Layers  Sensor Network Interface Layer. – Extracts data from a sensor UDP packet and hands it to the Sensor Application layer.  Sensor Application Layer. –Manages all interactions between users and sensor nodes such as filtering data.  User Agents Layers  User Interface Layer.  WSN Application Layer. –Handles all user queries. –Handles all messages. 17/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Conceptual Design ConclusionDesign & EvaluationBackgroundIntroduction Block Diagram User AgentSensor Gateway 18/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Publishing & Discovery Process ConclusionDesign & EvaluationBackgroundIntroduction 1. Sensor Gateway publishes Advertisements on sensor nodes. 2. Jxta Overlay Network indexes these advertisements. 3. User Agent searches for advertisements.  Each advertisement includes  Set of properties that describe the sensor gateway –Name –Location –Description  Set of attributes that are provided by each sensor node. –types of data that the specified sensor can measure i.e. temperature, light... etc. and their units. 19/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Message Handler ConclusionDesign & EvaluationBackgroundIntroduction  A gateway and a user agents exchange a Jxta XML messages over a Jxta pipe.  Messages are used to  Create a new filter  Remove a filter  Send the filter results 20/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Distributed Query Process ConclusionDesign & EvaluationBackgroundIntroduction  Requests are expressed in a SQL-like query language to retrieve sensor data.  User query consists of  SELECT clause: specifies attributes, in which user is interested in.  FROM clause: specifies the name of the sensor gateway.  WHERE clause: filters sensor records by a predicate.  DURATION clause: is the period of time, which specifies how long the query should be run before terminated and removed from the filter list. (Select * From lab146.ibr.cs.tu-bs.de where Temperature < 20 duration = 600) 21/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Distributed Query Process ConclusionDesign & EvaluationBackgroundIntroduction  Query is distributively processed as follows: 1. The gateway name is extracted from the user query (specified in FROM) in order to establish a connection with the gateway. 2. The WHERE clause is encapsulated in a Query XML-based message. 3. The Query message is sent out to the gateway. 4. After that, the received results are displayed according to SELECT clause. 5. Query is terminated either by user or by gateway. 22/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Filter Process ConclusionDesign & EvaluationBackgroundIntroduction  Filter process is a way to suppress sensor tuples from randomly propagation and hand them in graceful manner to all interested users  Sensor tuples are a discrete raw of data  generated at discrete time  not stored in a data warehouse.  Filter is created by a user query.  Filter is activated for each received tuples.  Filter is only deleted in two cases  by user -> explicitly or implicitly  time is up 23/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Filter Process ConclusionDesign & EvaluationBackgroundIntroduction  Filter mechanism is based on attributes, which are described by key-value-operator.  Key indicates the semantics of the attribute  Operator describes how attributes will match when two attributes are compared (, =,... etc.)..  Typical attributes values – Sensor reading includes, temperature, voltage, light....etc. – Meta-data encompasses general information about a sensor node e.g. sensor ID. – Internal state is any information that is not related to sensor reading, such as timestamps. 24/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Implementation ConclusionDesign & EvaluationBackgroundIntroduction  A Sensor Gateway implements the basic functionality of the sensor agent.  The implementation is based on Jxta-C (version 2.5).  A User Agent prototype implements a user interface for JMSN, which is able to discover advertisements access any available sensor network.  The implementation is based on Jxta J2SE platform.  A prototype for a sensor application over a Peer to Peer System is named as Jxta Middleware for Sensor Network (JMSN). It consists of: 25/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq User Agent, GUI ConclusionDesign & EvaluationBackgroundIntroduction 26/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Evaluation ConclusionDesign & EvaluationBackgroundIntroduction Test-bed Equipments  Tests ware performed at the Workstation pool of IBR, where twelve machines of identical hardware are used.  They are equipped with –Intel Pentium(r) D CPU 3.2GHz –2.00 GB of RAM –Fast Ethernet card.  Half of them run Windows XP and the other run Debian GNU/Linux distribution. 27/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Evaluation - Memory Performance ConclusionDesign & EvaluationBackgroundIntroduction  This memory footprint is mainly due to the Apache Runtime (APR), which is embedded in the Jxta-C implementation.  It is observed that 8 threads are created (using DDD - Data Display Debugger) Summary of memory consumption tests. 28/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Evaluation – Filter Overhead ConclusionDesign & EvaluationBackgroundIntroduction  Constant message size  Time is linear in n with a slope of ms/filter operation.  The overhead of each filter process includes the time to  process the filter  searching for user PipeAdvertisement  establishing a connection  sending the message. – TCP transport is using blocking I/O. 29/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Conclusion Design & EvaluationBackgroundIntroduction  Peer to Peer Systems provide a decentralized approach that does not require any costly infrastructure.  Jxta was selected among other systems since it is a generic overlay network that connects devices on the network.  The design of “Peer to Peer overlay network for sensornets” combines a peer service discovery with a distributed query processing.  JMSN design doesn‘t come without cost. Results showed that the current implementation of Jxta-C consumes memory, which is not efficient for embedded system with limited memory. 30/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq Future Work ConclusionDesign & EvaluationBackgroundIntroduction  It is essential to extend the current version of Jxta-C implementation to cope with the limited memory devices.  It is necessary to enhance the user agent with  complex query  searching by partial names and attributes such as Location.  Aggregate function such as Average, Max, Count...etc. 31/31

Peer to Peer Overlay Netzwerk für Sensorennetze Husam Alzaq ConclusionDesign & EvaluationBackgroundIntroduction  شكراًَ لاستماعكم  Thanks for your attention 32/31