epc cloud: using the web to simplify the global rfid network

29
Using Web Blueprints to Simplify IoT / RFID Applications Development and Deployment Dominique Guinard Christian Floerkemeier MIT LMP / Auto-ID Labs 06/22/2022 Dominique Guinard, MIT 1

Upload: dominique-guinard

Post on 15-Jan-2015

23.366 views

Category:

Business


1 download

DESCRIPTION

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

TRANSCRIPT

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

04/10/2023 Dominique Guinard, MIT 1

Using Web Blueprints to SimplifyIoT / RFID Applications

Development and Deployment

Dominique GuinardChristian FloerkemeierMIT LMP / Auto-ID Labs

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

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

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

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

??

??

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

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!

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

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]

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

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!!

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

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.

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

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

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

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!

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

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/]

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

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

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

04/10/2023 Dominique Guinard, MIT 12

EPC Network Application Interface

Integration Interface

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

04/10/2023 Dominique Guinard, MIT 13

REST vs WS-* for App Integration?

Based on the programming experience of 40 neutral developers.

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

04/10/2023 Dominique Guinard, MIT 14

EPCIS Webadapter

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

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

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

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?

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

04/10/2023 Dominique Guinard, MIT 17

Remedy 4: Real-Time Web in a Nutshell

Current Web Real-Time Web

[Generated with websequencediagrams.com]

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

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]

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

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.

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

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

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

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!

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

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]

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

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]

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

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

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

04/10/2023 Dominique Guinard, MIT 25

Clickscript-based RFID Mashup Editor

Demo!

[Clickscript.ch]

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

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!

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

04/10/2023 Dominique Guinard, MIT 27

Alltogether: Fosstrak EPC Cloud

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

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?

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

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