epc cloud: using the web to simplify the global rfid network
DESCRIPTION
EPC Cloud: Using the Web to Simplify the Global RFID NetworkTRANSCRIPT
04/10/2023 Dominique Guinard, MIT 1
Using Web Blueprints to SimplifyIoT / RFID Applications
Development and Deployment
Dominique GuinardChristian FloerkemeierMIT LMP / Auto-ID Labs
04/10/2023 Dominique Guinard, MIT 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
04/10/2023 Dominique Guinard, MIT 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
Web
??
??
04/10/2023 Dominique Guinard, MIT 4
Project Goals
1. Reduce the deployment complexity of standard RFID/IoT software stacks.
2. Allow easier (cheaper), more lightweight (mobile/WSNs) RFID application development.
3. 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!
04/10/2023 Dominique Guinard, MIT 5
1) Reducing Deployment Complexity
• Goal:– Reduce installation &
maintenance time and costs:• Software• Harware
• Remedy:– Virtualization– Cloud Computing
[www.flickr.com/photos/sunep]
04/10/2023 Dominique Guinard, MIT 6
A Typical Fosstrak Deployment…1
2 3
45
6
8 79
10
11) Java App Contrainer(e.g., Tomcat) 12) Java Enterprise SDK ~12 software components for
a typical RFID deployment!!
04/10/2023 Dominique Guinard, MIT 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.
04/10/2023 Dominique Guinard, MIT 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
04/10/2023 Dominique Guinard, MIT 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!
04/10/2023 Dominique Guinard, MIT 10
2) Ease Application Development
• Goal:– Offer lighter APIs– Allow integration with
IoT devices (sensors, mobile phones)
– Allow Web 2.0 integration
• Remedy:– RESTful APIs– Real-time Web
[www.flickr.com/photos/jgarber/]
04/10/2023 Dominique Guinard, MIT 11
Remedy 3: REST in a Nutshell
REST architecture:1. Identify resources and
links:– A resource: something,
that can and that’s worth, getting a URI and links
2. Design respresentations3. Use the uniform
interface
REPRESENTATION
HTTP
URI
Links
04/10/2023 Dominique Guinard, MIT 12
EPC Network Application Interface
Integration Interface
04/10/2023 Dominique Guinard, MIT 13
REST vs WS-* for App Integration?
Based on the programming experience of 40 neutral developers.
04/10/2023 Dominique Guinard, MIT 14
EPCIS Webadapter
04/10/2023 Dominique Guinard, MIT 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
04/10/2023 Dominique Guinard, MIT 16
So What?
• Easier to build mobile apps
• Easier to build Web apps (mashup dashboard)
• Shortcomings:– How about real-time?– Beyond EPCIS?– « Reader » push?
04/10/2023 Dominique Guinard, MIT 17
Remedy 4: Real-Time Web in a Nutshell
Current Web Real-Time Web
[Generated with websequencediagrams.com]
04/10/2023 Dominique Guinard, MIT 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
[Generated with websequencediagrams.com]
04/10/2023 Dominique Guinard, MIT 19
Capture Webadapter
• Modular Capture-App– Listening for ALE events– Multiplexer:
• 1 event -> n Connectors
– Control through RESTful API.
04/10/2023 Dominique Guinard, MIT 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 JQuery Plugin
04/10/2023 Dominique Guinard, MIT 21
Sample App: 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!
04/10/2023 Dominique Guinard, MIT 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
[www.flickr.com/photos/sunep]
[www.flickr.com/photos/dantheurer]
04/10/2023 Dominique Guinard, MIT 23
Remedy 5: Web of Things Mashups in a Nutshell
• Composition of services on the Web:– Mashup Editor– Mashup Engine
REST
REST API
REST
API
REST
[http://www.clickscript.ch][http://www.webothings.com/energievisible]
04/10/2023 Dominique Guinard, MIT 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
IPReader Name
EPC
IP
Business step
EPCEvents(json)
True/False
04/10/2023 Dominique Guinard, MIT 25
Clickscript-based RFID Mashup Editor
Demo!
[Clickscript.ch]
04/10/2023 Dominique Guinard, MIT 26
Sample App: 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!
04/10/2023 Dominique Guinard, MIT 27
Alltogether: Fosstrak EPC Cloud
04/10/2023 Dominique Guinard, MIT 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?
04/10/2023 Dominique Guinard, MIT 29
Thanks for your attention…
• Special thanks to:– Lukas Naef (Clickscript)– Mathias Mueller
(Webadapter)
• Contact:– www.guinard.org
• More on:– www.webofthings.com/rfid