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