SlideShare a Scribd company logo
1 of 25
Download to read offline
Connecting Smart Things
                         through Web services
                            Orchestrations
                         Antonio Pintus, Davide Carboni, Andrea Piras, Alessandro Giordano*
                                                        CRS4

                                                 * Università di Cagliari

 Antonio Pintus - pintux@crs4.it              TouchTheWeb’10 - Vienna, 6th July 2010          1

giovedì 8 luglio 2010
Outline

       •    Who, where...
       •    Introduction
       •    Things as Web services (WS)
       •    Pipes
       •    Connecting Things: Pipes as WS Orchestrations
       •    Scenario & prototype
       •    Limitation and future works
       •    Technologies
       •    Conclusions

                                                                          2
 Antonio Pintus                  TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Who, where...
       • Antonio Pintus
       • ICT Group @ CRS4, an interdisciplinary applied research center based in
         Pula (Cagliari), SARDINIA, Italy




                                                                                   3
 Antonio Pintus                      TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Introduction

       • In the Web of Things (WoT) vision, things are connected to a pervasive wireless/wired
         network and can communicate with other objects and services using HTTP-based
         protocols
             – Everyday surrounding objects (phones, domestic appliances, advertisement
               billboards, musical instruments,... ) become nodes of the WoT


       • De ning simple mechanisms to connect things can foster a huge number of
         unpredictable applications:
             – users, objects and networks are the ingredients to build a WoT in which users are
               also the programmers


       • The Web is a real platform for Service-Oriented Computing (SOC) and Service-Oriented
         Architecture (SOA) paradigms
             – nowadays the Web Services (WSs) and related standards are the enabling
               technologies for SOC and SOA

                                                                                                   4
 Antonio Pintus                              TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Things as Web services?

       • ...and what if we imagine each thing as a (Web) service?
          – we could:
               – have a formal description for functional interfaces (WSDL)
                        – have well-de ned data types (XML Schema)
                        – have a messaging format (SOAP)
                                                                                   ?

                                                  BUT

      • what about “nature of things “ and connection and
        communication capabilities?

                                                                                       5
 Antonio Pintus                           TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Assumptions on Things

       • things must be able to connect to the network and to
         run a WS stack. Basically in two ways:
                    • the object itself is powerful enough
                    • or, it have to be connected and “driven” by a proxy computer
                      which satis es the requirements


       • Virtual Things: Web sites, social networks, ...
       • HTTP-enabled Smart Appliances: smartphones, printers, screens
         (proxied?)
       • Internet-enabled Things: TCP/IP, UDP/IP, proxied
       • Network-enabled Things: No IP protocol: X10, Bluetooth, ZigBee, proxied.
       • Things not digitally enabled: must have a digital peer, i.e.: a book
                                                                                     6
 Antonio Pintus                            TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Things as Web services!

       • “Proxied” or not, each Thing is represented by a Web
         service:
                    • WSDL describes things capabilities as WS operations using XML
                      Schema datatypes
                    • things functionalities can be activated using SOAP messages




                                                                                      7
 Antonio Pintus                             TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Connecting Things

       • Ok, we have WS representing Things...



       • The most interesting part is in

             –connecting them to build brand new applications!
             –Let users play with connections

                                                                        8
 Antonio Pintus                TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Pipes

       • Concept inspired by pipes in Unix world
       • A pipe is a simple logical connection between two things implemented as a
         process that retrieves data from one source, (adapts) and sends to a



                                Pipe := source ----> sink


                           Unix example:             ls -l | less



                               snapshot                    displayImage



                                                                                     9
 Antonio Pintus                      TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Hyperpipes

       • Basic concept: using a pipe to connect two Things
         functionalities

                             snapshot                 displayImage




      • How to describe hyperpipes?

             • Things are WS ------> use WS-BPEL to describe and execute
               pipes

                                                                             10
 Antonio Pintus                     TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Hyperpipes, de nitions

       • We de ne:
                    • src: a generic thing functionality (WS operation) which
                      represents a functional capability of the thing returning a value
                      due to its invocation


                    • snk: a generic thing functionality (WS operation) which
                      represents a functional capability of the thing able to accept a
                      value as input


                    • adapter: a generic WS able to provide data transformation or
                      data adaptation functionalities exposed as service operations


                                                                                          11
 Antonio Pintus                             TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Hyperpipes: patterns and...

       • synchronous: on an thing x is invoked an operation src, (the result is
         adapted) and then passed as an input to an operation snk exposed by a
         thing y


       • asynchronous: the pipe registers itself as a listener for an event produced
         by an exposed operation src on thing x. When the event is red, the data
         attached to the event is (adapted and then) sent to the snk operation
         exposed by the thing y


       • streaming: a thing y receives from a thing x a stream of data. A suitable real
         time media transmission protocol should be used after a negotiation and
         handshaking phase between things. The pipe represents and enables the
         handshaking step

                                                                                          12
 Antonio Pintus                        TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
...control pattern

       • A pipe is controlled using a VCR-like interface:
         start/pause, stop



       • VCR-like interface is exposed by a Pipe
         Controller



                                                                     13
 Antonio Pintus             TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Pipes as WS-BPEL processes




                        Synchronous Pipe                               Asynchronous Pipe
                                                                                           14
 Antonio Pintus                            TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Pipes composition: User Interaction


       • Pipes are composed by users through a simple interaction
         pattern, using “everyday” objects, where:


             –     Things are “augmented” with a QR Visual Tag (containing the WSDL URL of the
                  related WS)


             – Users, using an ad hoc smartphone application, are able to:


                        – Point the desired objects (which will be connected) with the
                          smartphone cam
                        – Click to import them in the hyperpipes system
                        – Compose pipes connecting Things functionalities

                                                                                                 15
 Antonio Pintus                                TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
•   pipe(pipe(snapshot,color-to-gray),TVsink)
                                            •   pipe(pipe(snapshot,supersampling),TVsink)

                                    A Scenario
                                            •
                                            •
                                                pipe(pipe(pipe(snapshot,color-to-gray),supersampling),TVsink)
                                                pipe(pipe(pipe(snapshot,supersampling),color-to-gray),TVsink)
                                          The same combinations have been tested replacing the synchrono
                                        snapshot with the asynchronous one moveDetected.

       • Three Things:
                    1. IPWebcam
                    2. image processing service
                    3. display/screen




       • We want to compose a2.pipescenario with multimedia and processing components
                          Fig. Simple that

                    • takes a snapshot from the IPWebcam
                    • makes a color-to-grayscale processing on the image
                                         8 The Prototype
                    • displays the image in the screen
                                        In SOA applications one of the main issues are related to service publi
                                        service discovery, often faced using registries and directory mechanisms
                                        [23]). We adopt a “zero discovery” approach in which the services are rea
                                                                                                             16
 Antonio Pintus                             TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
                                        an environment and it is the user with the point-click-and-compose pa
Prototype
      • Mainly the prototype is composed of two modules
                    • a smartphone app for the user




                    • a “server” module able to accept incoming “requests” from the
                      smartphone app, compose and execute the pipes




                                                                                      17
 Antonio Pintus                            TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Steps

                                                                                      Hyperpipes server




1. User collects Things and smartphone app decodes
QR (WSDL URLs)

2. User sends collected WSDL URLs to server
                                                                     3. Server analyzes WSDLs and sends back
                                                                     potential pipes between things matching the
                                                                     datatypes of discovered operations
4. User selects a particular match and
requests the start of the pipe
                                                                     5. The server composes the WS-BPEL
                                                                     following the pipe pattern and orchestrating the
                                                                     involved WSs

6. User can control the pipe execution using a
VCR-like UI: start/pause, stop


                                                                                                                   18
 Antonio Pintus                              TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
System Architecture



                                                Executes Pipes defined as WS-BPEL
                                                Processes




                                                analyzes WSDLs, proposes pipes, composes
                                                WS-BPEL for pipes, deploys them and accepts
                                                commands from mobile application




                                                                                              19
 Antonio Pintus           TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Limitations & future work (1)

       • Automatic matching of possible pipes given the WSDLs:
             – next versions will add a complete user responsibility in composing pipes
               using discovered things


       • Operations matching relies on shared XML Schemas
             – For simplicity, XML Schemas are shared and things operations use them
               to expose datatypes




                                                                                          20
 Antonio Pintus                         TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Limitations & future work (2)

       • We are investigating for a good compromise between datatypes
         generality and datatypes matching in our context (semantics?)


       • Streaming pipes not implemented, yet


       • We are working for the inclusion of other types of services for
         representing objects: REST services, RSS/ATOM feeds, ...

                    • WSDL wrappers?
                    • WS-BPEL extensions?



                                                                                     21
 Antonio Pintus                             TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Technology

       • Architecture written in Java

       • Apache ODE as WS-BPEL engine

       • MTOM (SOAP Message Transmission Optimization
         Mechanism) for optimization of binary data transmission
         with SOAP

       • Android platform for mobile application


                                                                        22
 Antonio Pintus                TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Conclusions
      • Representing things as WS implies interesting research topics about a
        SOA application in the eld of Web of Things, we’ve developed a
        simple mechanism based on the concept of pipe


                    • Things composition using broad adopted standards (WS-BPEL) --->
                      inclusion of things in business processes


                    • Main role of users in discovering and composing things


                    • several issues related to “nature” of things emerge: connection,
                      capabilities, proxies, ...


                    • datatypes de nition and matching, messaging, binary data, ...

                                                                                         23
 Antonio Pintus                              TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Contact

       • Antonio Pintus, pintux@crs4.it



       • My group @ CRS4: http://geoweb.crs4.it/


       • Hyper-pipes: http://geoweb.crs4.it/doku.php?id=Hyperpipes




                                                                          24
 Antonio Pintus                  TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010
Thank you for your attention



                              Any questions?




                                                                         25
 Antonio Pintus                 TouchTheWeb’10 - Vienna, 6th July 2010
giovedì 8 luglio 2010

More Related Content

Similar to Antonio Pintus- TouchTheWeb 2010

The Web of Things: Enabling the Physical World to the Web
The Web of Things: Enabling the Physical World to the WebThe Web of Things: Enabling the Physical World to the Web
The Web of Things: Enabling the Physical World to the WebAndreas Kamilaris
 
Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things PayamBarnaghi
 
Web-based Smart Things Ecosystems
Web-based Smart Things EcosystemsWeb-based Smart Things Ecosystems
Web-based Smart Things EcosystemsSimon Mayer
 
IoT and smart cities
IoT and smart citiesIoT and smart cities
IoT and smart citiesDunavNET
 
GPAC Team Research Highlights
GPAC Team Research HighlightsGPAC Team Research Highlights
GPAC Team Research HighlightsCyril Concolato
 
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...trappenl
 
The SenseBox project & Internet of Things standardization recommendations for...
The SenseBox project & Internet of Things standardization recommendations for...The SenseBox project & Internet of Things standardization recommendations for...
The SenseBox project & Internet of Things standardization recommendations for...Arne Bröring
 
Social Semantic (Sensor) Web
Social Semantic (Sensor) WebSocial Semantic (Sensor) Web
Social Semantic (Sensor) WebDavid Crowley
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of ThingsNikhil Patankar
 
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...benaam
 
iotunitpptsfor jntuh1-221211033603-33147820.pdf
iotunitpptsfor jntuh1-221211033603-33147820.pdfiotunitpptsfor jntuh1-221211033603-33147820.pdf
iotunitpptsfor jntuh1-221211033603-33147820.pdfHODECE18
 
ISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of ThingsISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of Thingscarolninap
 
OvertheAir 2010 html5 impact on application programming
OvertheAir 2010 html5 impact on application programmingOvertheAir 2010 html5 impact on application programming
OvertheAir 2010 html5 impact on application programmingTor Björn Minde
 
HTML5 impact on application programming
HTML5 impact on application programmingHTML5 impact on application programming
HTML5 impact on application programmingEricsson Labs
 

Similar to Antonio Pintus- TouchTheWeb 2010 (20)

The Web of Things: Enabling the Physical World to the Web
The Web of Things: Enabling the Physical World to the WebThe Web of Things: Enabling the Physical World to the Web
The Web of Things: Enabling the Physical World to the Web
 
Ppt 1 -io t - intro
Ppt   1 -io t - introPpt   1 -io t - intro
Ppt 1 -io t - intro
 
Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things Information Engineering in the Age of the Internet of Things
Information Engineering in the Age of the Internet of Things
 
PhD Admission Pitching
PhD Admission PitchingPhD Admission Pitching
PhD Admission Pitching
 
Web-based Smart Things Ecosystems
Web-based Smart Things EcosystemsWeb-based Smart Things Ecosystems
Web-based Smart Things Ecosystems
 
IoT overview 2014
IoT overview 2014IoT overview 2014
IoT overview 2014
 
IoT and smart cities
IoT and smart citiesIoT and smart cities
IoT and smart cities
 
GPAC Team Research Highlights
GPAC Team Research HighlightsGPAC Team Research Highlights
GPAC Team Research Highlights
 
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...
Towards Abundant Do-it-Yourself (DiY) Service Creativity in the Internet-of-T...
 
The SenseBox project & Internet of Things standardization recommendations for...
The SenseBox project & Internet of Things standardization recommendations for...The SenseBox project & Internet of Things standardization recommendations for...
The SenseBox project & Internet of Things standardization recommendations for...
 
Social Semantic (Sensor) Web
Social Semantic (Sensor) WebSocial Semantic (Sensor) Web
Social Semantic (Sensor) Web
 
Introduction to Internet of Things
Introduction to Internet of ThingsIntroduction to Internet of Things
Introduction to Internet of Things
 
IOT Unit 1.pdf
IOT Unit 1.pdfIOT Unit 1.pdf
IOT Unit 1.pdf
 
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...
Early Lessons from Building Sensor.Network: An Open Data Exchange for the Web...
 
IOT Unit 1.pptx
IOT Unit 1.pptxIOT Unit 1.pptx
IOT Unit 1.pptx
 
iotunitpptsfor jntuh1-221211033603-33147820.pdf
iotunitpptsfor jntuh1-221211033603-33147820.pdfiotunitpptsfor jntuh1-221211033603-33147820.pdf
iotunitpptsfor jntuh1-221211033603-33147820.pdf
 
ISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of ThingsISWC 2013 Tutorial on the Web of Things
ISWC 2013 Tutorial on the Web of Things
 
Internet of things
Internet of thingsInternet of things
Internet of things
 
OvertheAir 2010 html5 impact on application programming
OvertheAir 2010 html5 impact on application programmingOvertheAir 2010 html5 impact on application programming
OvertheAir 2010 html5 impact on application programming
 
HTML5 impact on application programming
HTML5 impact on application programmingHTML5 impact on application programming
HTML5 impact on application programming
 

More from CRS4 Research Center in Sardinia

Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015
Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015
Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015CRS4 Research Center in Sardinia
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...CRS4 Research Center in Sardinia
 
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...CRS4 Research Center in Sardinia
 
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid Alfonso Damiano (Università di Cagliari) ICT per Smart Grid
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid CRS4 Research Center in Sardinia
 
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...CRS4 Research Center in Sardinia
 
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...CRS4 Research Center in Sardinia
 
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015CRS4 Research Center in Sardinia
 
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...CRS4 Research Center in Sardinia
 
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)CRS4 Research Center in Sardinia
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...CRS4 Research Center in Sardinia
 
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...CRS4 Research Center in Sardinia
 

More from CRS4 Research Center in Sardinia (20)

The future is close
The future is closeThe future is close
The future is close
 
The future is close
The future is closeThe future is close
The future is close
 
Presentazione Linea B2 progetto Tutti a Iscol@ 2017
Presentazione Linea B2 progetto Tutti a Iscol@ 2017Presentazione Linea B2 progetto Tutti a Iscol@ 2017
Presentazione Linea B2 progetto Tutti a Iscol@ 2017
 
Iscola linea B 2016
Iscola linea B 2016Iscola linea B 2016
Iscola linea B 2016
 
Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015
Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015
Sequenziamento Esomico. Maria Valentini (CRS4), Cagliari, 18 Novembre 2015
 
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
Near Surface Geoscience Conference 2015, Turin - A Spatial Velocity Analysis ...
 
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...
GIS partecipativo. Laura Muscas e Valentina Spanu (CRS4), Cagliari, 21 Ottobr...
 
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid Alfonso Damiano (Università di Cagliari) ICT per Smart Grid
Alfonso Damiano (Università di Cagliari) ICT per Smart Grid
 
Big Data Infrastructures - Hadoop ecosystem, M. E. Piras
Big Data Infrastructures - Hadoop ecosystem, M. E. PirasBig Data Infrastructures - Hadoop ecosystem, M. E. Piras
Big Data Infrastructures - Hadoop ecosystem, M. E. Piras
 
Big Data Analytics, Giovanni Delussu e Marco Enrico Piras
 Big Data Analytics, Giovanni Delussu e Marco Enrico Piras  Big Data Analytics, Giovanni Delussu e Marco Enrico Piras
Big Data Analytics, Giovanni Delussu e Marco Enrico Piras
 
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...
Dinamica Molecolare e Modellistica dell'interazione di lipidi col recettore P...
 
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...
Innovazione e infrastrutture cloud per lo sviluppo di applicativi web e mobil...
 
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015
ORDBMS e NoSQL nel trattamento dei dati geografici parte seconda. 30 Sett. 2015
 
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...
Sistemi No-Sql e Object-Relational nella gestione dei dati geografici 30 Sett...
 
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)
Elementi di sismica a riflessione e Georadar (Gian Piero Deidda, UNICA)
 
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
Near Surface Geoscience Conference 2014, Athens - Real-­time or full­‐precisi...
 
SmartGeo/Eiagrid portal (Guido Satta, CRS4)
SmartGeo/Eiagrid portal (Guido Satta, CRS4)SmartGeo/Eiagrid portal (Guido Satta, CRS4)
SmartGeo/Eiagrid portal (Guido Satta, CRS4)
 
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...
Luigi Atzori Metabolomica: Introduzione e review di alcune applicazioni in am...
 
Mobile Graphics (part2)
Mobile Graphics (part2)Mobile Graphics (part2)
Mobile Graphics (part2)
 
Mobile Graphics (part1)
Mobile Graphics (part1)Mobile Graphics (part1)
Mobile Graphics (part1)
 

Recently uploaded

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 

Antonio Pintus- TouchTheWeb 2010

  • 1. Connecting Smart Things through Web services Orchestrations Antonio Pintus, Davide Carboni, Andrea Piras, Alessandro Giordano* CRS4 * Università di Cagliari Antonio Pintus - pintux@crs4.it TouchTheWeb’10 - Vienna, 6th July 2010 1 giovedì 8 luglio 2010
  • 2. Outline • Who, where... • Introduction • Things as Web services (WS) • Pipes • Connecting Things: Pipes as WS Orchestrations • Scenario & prototype • Limitation and future works • Technologies • Conclusions 2 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 3. Who, where... • Antonio Pintus • ICT Group @ CRS4, an interdisciplinary applied research center based in Pula (Cagliari), SARDINIA, Italy 3 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 4. Introduction • In the Web of Things (WoT) vision, things are connected to a pervasive wireless/wired network and can communicate with other objects and services using HTTP-based protocols – Everyday surrounding objects (phones, domestic appliances, advertisement billboards, musical instruments,... ) become nodes of the WoT • De ning simple mechanisms to connect things can foster a huge number of unpredictable applications: – users, objects and networks are the ingredients to build a WoT in which users are also the programmers • The Web is a real platform for Service-Oriented Computing (SOC) and Service-Oriented Architecture (SOA) paradigms – nowadays the Web Services (WSs) and related standards are the enabling technologies for SOC and SOA 4 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 5. Things as Web services? • ...and what if we imagine each thing as a (Web) service? – we could: – have a formal description for functional interfaces (WSDL) – have well-de ned data types (XML Schema) – have a messaging format (SOAP) ? BUT • what about “nature of things “ and connection and communication capabilities? 5 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 6. Assumptions on Things • things must be able to connect to the network and to run a WS stack. Basically in two ways: • the object itself is powerful enough • or, it have to be connected and “driven” by a proxy computer which satis es the requirements • Virtual Things: Web sites, social networks, ... • HTTP-enabled Smart Appliances: smartphones, printers, screens (proxied?) • Internet-enabled Things: TCP/IP, UDP/IP, proxied • Network-enabled Things: No IP protocol: X10, Bluetooth, ZigBee, proxied. • Things not digitally enabled: must have a digital peer, i.e.: a book 6 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 7. Things as Web services! • “Proxied” or not, each Thing is represented by a Web service: • WSDL describes things capabilities as WS operations using XML Schema datatypes • things functionalities can be activated using SOAP messages 7 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 8. Connecting Things • Ok, we have WS representing Things... • The most interesting part is in –connecting them to build brand new applications! –Let users play with connections 8 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 9. Pipes • Concept inspired by pipes in Unix world • A pipe is a simple logical connection between two things implemented as a process that retrieves data from one source, (adapts) and sends to a Pipe := source ----> sink Unix example: ls -l | less snapshot displayImage 9 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 10. Hyperpipes • Basic concept: using a pipe to connect two Things functionalities snapshot displayImage • How to describe hyperpipes? • Things are WS ------> use WS-BPEL to describe and execute pipes 10 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 11. Hyperpipes, de nitions • We de ne: • src: a generic thing functionality (WS operation) which represents a functional capability of the thing returning a value due to its invocation • snk: a generic thing functionality (WS operation) which represents a functional capability of the thing able to accept a value as input • adapter: a generic WS able to provide data transformation or data adaptation functionalities exposed as service operations 11 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 12. Hyperpipes: patterns and... • synchronous: on an thing x is invoked an operation src, (the result is adapted) and then passed as an input to an operation snk exposed by a thing y • asynchronous: the pipe registers itself as a listener for an event produced by an exposed operation src on thing x. When the event is red, the data attached to the event is (adapted and then) sent to the snk operation exposed by the thing y • streaming: a thing y receives from a thing x a stream of data. A suitable real time media transmission protocol should be used after a negotiation and handshaking phase between things. The pipe represents and enables the handshaking step 12 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 13. ...control pattern • A pipe is controlled using a VCR-like interface: start/pause, stop • VCR-like interface is exposed by a Pipe Controller 13 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 14. Pipes as WS-BPEL processes Synchronous Pipe Asynchronous Pipe 14 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 15. Pipes composition: User Interaction • Pipes are composed by users through a simple interaction pattern, using “everyday” objects, where: – Things are “augmented” with a QR Visual Tag (containing the WSDL URL of the related WS) – Users, using an ad hoc smartphone application, are able to: – Point the desired objects (which will be connected) with the smartphone cam – Click to import them in the hyperpipes system – Compose pipes connecting Things functionalities 15 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 16. pipe(pipe(snapshot,color-to-gray),TVsink) • pipe(pipe(snapshot,supersampling),TVsink) A Scenario • • pipe(pipe(pipe(snapshot,color-to-gray),supersampling),TVsink) pipe(pipe(pipe(snapshot,supersampling),color-to-gray),TVsink) The same combinations have been tested replacing the synchrono snapshot with the asynchronous one moveDetected. • Three Things: 1. IPWebcam 2. image processing service 3. display/screen • We want to compose a2.pipescenario with multimedia and processing components Fig. Simple that • takes a snapshot from the IPWebcam • makes a color-to-grayscale processing on the image 8 The Prototype • displays the image in the screen In SOA applications one of the main issues are related to service publi service discovery, often faced using registries and directory mechanisms [23]). We adopt a “zero discovery” approach in which the services are rea 16 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010 an environment and it is the user with the point-click-and-compose pa
  • 17. Prototype • Mainly the prototype is composed of two modules • a smartphone app for the user • a “server” module able to accept incoming “requests” from the smartphone app, compose and execute the pipes 17 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 18. Steps Hyperpipes server 1. User collects Things and smartphone app decodes QR (WSDL URLs) 2. User sends collected WSDL URLs to server 3. Server analyzes WSDLs and sends back potential pipes between things matching the datatypes of discovered operations 4. User selects a particular match and requests the start of the pipe 5. The server composes the WS-BPEL following the pipe pattern and orchestrating the involved WSs 6. User can control the pipe execution using a VCR-like UI: start/pause, stop 18 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 19. System Architecture Executes Pipes defined as WS-BPEL Processes analyzes WSDLs, proposes pipes, composes WS-BPEL for pipes, deploys them and accepts commands from mobile application 19 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 20. Limitations & future work (1) • Automatic matching of possible pipes given the WSDLs: – next versions will add a complete user responsibility in composing pipes using discovered things • Operations matching relies on shared XML Schemas – For simplicity, XML Schemas are shared and things operations use them to expose datatypes 20 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 21. Limitations & future work (2) • We are investigating for a good compromise between datatypes generality and datatypes matching in our context (semantics?) • Streaming pipes not implemented, yet • We are working for the inclusion of other types of services for representing objects: REST services, RSS/ATOM feeds, ... • WSDL wrappers? • WS-BPEL extensions? 21 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 22. Technology • Architecture written in Java • Apache ODE as WS-BPEL engine • MTOM (SOAP Message Transmission Optimization Mechanism) for optimization of binary data transmission with SOAP • Android platform for mobile application 22 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 23. Conclusions • Representing things as WS implies interesting research topics about a SOA application in the eld of Web of Things, we’ve developed a simple mechanism based on the concept of pipe • Things composition using broad adopted standards (WS-BPEL) ---> inclusion of things in business processes • Main role of users in discovering and composing things • several issues related to “nature” of things emerge: connection, capabilities, proxies, ... • datatypes de nition and matching, messaging, binary data, ... 23 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 24. Contact • Antonio Pintus, pintux@crs4.it • My group @ CRS4: http://geoweb.crs4.it/ • Hyper-pipes: http://geoweb.crs4.it/doku.php?id=Hyperpipes 24 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010
  • 25. Thank you for your attention Any questions? 25 Antonio Pintus TouchTheWeb’10 - Vienna, 6th July 2010 giovedì 8 luglio 2010