EPC Cloud: Using the Web to Simplify the Global RFID Network


Published on

EPC Cloud: Using the Web to Simplify the Global RFID Network

Published in: Business, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

EPC Cloud: Using the Web to Simplify the Global RFID Network

  1. 1. Using Web Blueprints to SimplifyIoT / RFID Applications Development and Deployment<br />Dominique Guinard<br />Christian Floerkemeier<br />MIT LMP / Auto-ID Labs<br />3/1/2011<br />Dominique Guinard, MIT<br />1<br />
  2. 2. Motivation<br />RFID, EPC Network-based applications have a lot of potential:<br />Combined with other IoT devices (sensors, mobile phones, etc.)<br />Combined with service on the Web (visualization, storage, etc.)<br />SMEs (Small and medium enterprises) yet to convince!<br />Yet, lack of adoption of EPC Network software standards:<br />Complex (install, maintenance, integration) software stack<br />3/1/2011<br />Dominique Guinard, MIT<br />2<br />
  3. 3. Thinking Web of Things<br />Adopting Web blue-prints can foster RFID / EPC apps:<br />Ease of integration with existing Web of Things devices (mobile, sensors, machines, etc.)<br />Ease of integration with existing services and scripting languages<br />Leveraging virtual (cloud) infrastructures<br />3/1/2011<br />Dominique Guinard, MIT<br />3<br />?<br />?<br />Web<br />?<br />?<br />
  4. 4. Project Goals<br />Reduce the deployment complexity of standard RFID/IoT software stacks.<br />Allow easier (cheaper), more lightweight (mobile/WSNs) RFID application development.<br />Enable RFID mashability:<br />Composition of RFID/WSNs/appliances and existing services on the Web<br />Allow anyone to implement simple use-cases<br />…. By applying Web and Web of Things blueprints! <br />3/1/2011<br />Dominique Guinard, MIT<br />4<br />
  5. 5. 1) ReducingDeploymentComplexity<br />Goal:<br />Reduce installation & maintenance time and costs:<br />Software<br />Harware<br /> Remedy:<br />Virtualization<br />Cloud Computing<br />3/1/2011<br />Dominique Guinard, MIT<br />5<br />[www.flickr.com/photos/sunep]<br />
  6. 6. A TypicalFosstrakDeployment…<br />4<br />1<br />5<br />6<br />2<br />3<br />8<br />7<br />9<br />10<br />11) Java AppContrainer<br />(e.g., Tomcat)<br />12) Java Enterprise SDK<br />~12 software components for a typical RFID deployment!!<br />3/1/2011<br />Dominique Guinard, MIT<br />6<br />
  7. 7. Remedy 1 & 2: Virtualization and Cloud in a Nutshell<br />Virtualization (Private Cloud)<br />Package applications in a Virtual Machine<br />Run the Virtual Machine on any computer<br />Vendors:<br />VMWare, Virtual Box, Parallels, etc.<br />Cloud Computing (Public Cloud)<br />Utility Computing<br />Run virtual machines on distant hardware.<br />Add more machines, load-balance, scale within a few clicks.<br />Vendors:<br />Amazon WS (EC2), VmWare, Rackspace, GoGrid, etc.<br />3/1/2011<br />Dominique Guinard, MIT<br />7<br />
  8. 8. Remedy 1: Virtualization<br />Test / dev for the EPC Network locally in 5 minutes<br />Virtualized development environment:<br />Eclipse, LLRP Commander, Readers simulators, WSN simulators, toolkits, etc.<br />All Fosstrak components<br />Based on VMWare:<br />Private Cloud<br />3/1/2011<br />Dominique Guinard, MIT<br />8<br />
  9. 9. Remedy 2: Cloud Computing<br />Run your EPC Network server in 5 minutes! <br />Cloud appliance:<br />Full EPC Network server<br />Admin Web interface<br />Fully configured Tomcat Instance<br />Based on Amazon EC2:<br />Public Cloud<br />Utility Computing<br />Demo!<br />3/1/2011<br />Dominique Guinard, MIT<br />9<br />
  10. 10. 2) EaseApplication Development<br />Goal:<br />Offer lighter APIs<br />Allow integration with IoT devices (sensors, mobile phones)<br />Allow Web 2.0 integration<br />Remedy:<br />RESTful APIs<br />Real-time Web<br />3/1/2011<br />Dominique Guinard, MIT<br />10<br />[www.flickr.com/photos/jgarber/]<br />
  11. 11. Remedy 3: REST in a Nutshell<br />REST architecture:<br />Identify resources and links:<br />A resource: something, that can and that’s worth, getting a URI and links<br />Design respresentations<br />Use the uniform interface<br />3/1/2011<br />Dominique Guinard, MIT<br />11<br />Links<br />URI<br />REPRESENTATION<br />HTTP<br />
  12. 12. EPC Network Application Interface<br />Integration Interface<br />3/1/2011<br />Dominique Guinard, MIT<br />12<br />
  13. 13. REST vs WS-* for AppIntegration?<br />Based on the programming experience of 40 neutral developers.<br />3/1/2011<br />Dominique Guinard, MIT<br />13<br />
  14. 14. EPCIS Webadapter<br />3/1/2011<br />Dominique Guinard, MIT<br />14<br />
  15. 15. EPCIS Webadapter<br />Open-sourced as part of Fosstrak<br />One-click install on top of Fosstrak EPCIS<br />Cross-browser Web interface<br />Mobile User Interface<br />webofthings.com/rfid<br />http://.../location/migros:basel/reader/<br />warehouse:incoming/time/<br />2009-12-21T13:22:04.000Z/event/EPC<br />3/1/2011<br />Dominique Guinard, MIT<br />15<br />
  16. 16. So What?<br />Easier to build mobile apps<br />Easier to build Web apps (mashup dashboard)<br />Shortcomings:<br />How about real-time?<br />Beyond EPCIS?<br />« Reader » push? <br />3/1/2011<br />Dominique Guinard, MIT<br />16<br />
  17. 17. Remedy 4: Real-Time Web in a Nutshell<br />Current Web<br />Real-Time Web<br />[Generatedwith websequencediagrams.com]<br />3/1/2011<br />Dominique Guinard, MIT<br />17<br />
  18. 18. HTML 5 Websockets<br />Full-duplex in the browser<br />Part of the soon standard HTML 5 spec.<br />Subscription through Javascript<br />Increasing number of browsers support<br />[Generatedwith websequencediagrams.com]<br />3/1/2011<br />Dominique Guinard, MIT<br />18<br />
  19. 19. Capture Webadapter<br />Modular Capture-App<br />Listening for ALE events<br />Multiplexer:<br />1 event -> n Connectors<br />Control through RESTful API.<br />3/1/2011<br />Dominique Guinard, MIT<br />19<br />
  20. 20. tPusher<br />Web Push Service<br />Supports several transports:<br />Websockets<br />Long-polling / Comet<br />Streaming<br />Client (mobile/Web) application in 10 lines!<br />Based on Atmosphere/Jersey and its JQueryPlugin<br />3/1/2011<br />Dominique Guinard, MIT<br />20<br />
  21. 21. SampleApp: Mobile Reader Monitor<br />Use-case:<br />Scan QR code<br />Monitor an RFID reader (via LLRP/ALE) live from any mobile browser<br />Technology:<br />Fosstrak EPC Cloud<br />tPusher / capture Webadapter<br />~20 lines of Javascript compatible with most mobile browsers<br />Demo!<br />3/1/2011<br />Dominique Guinard, MIT<br />21<br />
  22. 22. 3) Enable RFID Mashability<br />Goal:<br />Encapsulate simple RFID use-case into components (e.g., EAS)<br />Allow re-mixing them with exiting Web services or Web of Things devices<br />Remedy:<br />RFID Mashup editor and engine<br />3/1/2011<br />Dominique Guinard, MIT<br />22<br />[www.flickr.com/photos/sunep]<br />[www.flickr.com/photos/dantheurer]<br />
  23. 23. Remedy 5: Web of ThingsMashups in a Nutshell<br />Composition of services on the Web:<br />Mashup Editor<br />Mashup Engine<br />3/1/2011<br />Dominique Guinard, MIT<br />23<br />REST<br />REST<br />REST API<br />REST API<br />[http://www.clickscript.ch]<br />[http://www.webothings.com/energievisible]<br />
  24. 24. Remedy 5: Mashup Editor for RFID<br />Modularize simple components of typical RFID applications<br />Offer a Mashup Framework + Engine:<br />Users can build their own use cases<br />Protoype based on:<br />Browser-based (Javascript)<br />Clickscript.ch added:<br />Web push support<br />Serveral RFID/WoT modules<br />IP<br />Reader <br />Name<br />EPCEvents<br />(json)<br />IP<br />EPC<br />True/<br />False<br />Business <br />step<br />3/1/2011<br />Dominique Guinard, MIT<br />24<br />
  25. 25. Clickscript-based RFID Mashup Editor<br />Demo!<br />[Clickscript.ch]<br />3/1/2011<br />Dominique Guinard, MIT<br />25<br />
  26. 26. SampleApp: Mobile EAS<br />Mashup:<br />Get EPCs from readers<br />Where products (EPC) already sold?<br />If not take a picture with Webcam<br />Push (websocket) picture to all clients on …/thefts<br />Mobile:<br />Subscribe to /thefts<br />Display snapshot and product info<br />Implemented with the Sencha Touch Javascript Library.<br />Demo!<br />3/1/2011<br />Dominique Guinard, MIT<br />26<br />
  27. 27. Alltogether: Fosstrak EPC Cloud<br />3/1/2011<br />Dominique Guinard, MIT<br />27<br />
  28. 28. Future Work<br />Qualitative/quantiative evaluation of the EPC Cloud project:<br />Latency? Quality of Service?<br />Real-world deployment/experience?<br />EPC Cloud as SAAS (Software as a Service) plateform :<br />Several SME’s on one (scalable) instance of the EPC Cloud<br />RFID use-cases as mashup modules:<br />Study most important RFID uses-cases<br />Extract (mashup) modules<br />Provide a scalable execution environment (engine)<br />Open-sourcing the EPC Cloud?<br />3/1/2011<br />Dominique Guinard, MIT<br />28<br />
  29. 29. Thanks for your attention…<br />Specialthanks to:<br />Lukas Naef (Clickscript)<br />Mathias Mueller (Webadapter)<br />Contact:<br />www.guinard.org<br />More on:<br />www.webofthings.com/rfid<br />3/1/2011<br />Dominique Guinard, MIT<br />29<br />