OSGiDevCon @ Jazoon 2009 Zurich, June 22, 2009 Experimenting with the OSGi platform in the Aspire RFID middleware   Clément Escoffier on behalf of   Lionel Touseau, Kiev Gama & Didier Donsez Université Grenoble 1, France [email_address]
Agenda What is Radio Frequency Identification (RFID) ? RFID Middleware architecture OSGi technologies in the RFID Middleware 23/06/09 OSGiDevCon 2009
RFID Everywhere The first wave of the Internet of Things Tag everything! Read everywhere! 23/06/09 OSGiDevCon 2009
Trends  Use sensors measurements in applications Environmental sensors (scattered in warehouses, containers, you …) Sensors embedded on the tagged objects 23/06/09 OSGiDevCon 2009 Location [timestamp],[position], [symbolicPos], [cellID] … Measurement [temperature], [humidity], [pressure], [weight], [distance], [accel.], [shock], [ECG], [O 2 ], [CO 2 ],  … Audio-Video [image stream], [snapshot] …
RFID “Common” Middleware Architecture 23/06/09 OSGiDevCon 2009 $100 Linux ARM $200 JavaPhone $1000 Linux/Win32 x86 $1000000 Linux/OpenSolaris/Win32 x86/itanium/ultrasparc cluster Event Report ALE Server (OSGi or JavaEE) Edge Edge (OSGi, MIDLet ) Tag read RFID Readers EPC IS (JavaEE) ONS (WS-based RESTful DNS ) sensors Other EPC ISs (Aspire,  Fostrack/ Accada,  …) Serial , Bluetooth, …
OSGi « technologies » inside the Edge Core Continuous provisioning Plug and Play (sensors, tag readers) Common Services Event Admin Wire Admin ( + WireAdmin Binder) JMX (MOSGi, future RFC 139) Component frameworks Apache Felix iPOJO Asynchronous Remoting Communications Bridges between Event Admin and MOM (JMS) 23/06/09 OSGiDevCon 2009
Event Admin RFID applications are  event-driven  by nature Publish-Subscribe Interactions Publishers : RFID Tag Readers Subscribers : data mediators (CEP) Bridges between Event Admin and MOM JMS, HTTP/SOAP, SMTP, XMPP 23/06/09 OSGiDevCon 2009 ALE  Reports EA /  MOM X Bridge RFID reader Collection & Filtering EPC IS
Wire Admin Sensors produce physical measurements But wiring is not automatic WireAdminBinder ADL and runtime describing wires 23/06/09 OSGiDevCon 2009 P C Wire Object P roducer C onsumer Wire Admin Create  Delete P Wire Object < wireapp  id=&quot;aspirerfid.sensor.wireadminbinder.sensors&quot;> < wireset  id=&quot;temperature-producers2consumer&quot;  producers-filter =    &quot;(&amp   (wireadmin.producer.flavors=*o.o.u.m.Measurement)   (data.type=temperature))&quot; consumers-filter = &quot;(service.pid=o.o.a.s.aleconsumer)&quot; removepolicy =&quot; ifDisconnected &quot; /> </ wireapp >
JMX for End-to-End Management Uniform management JavaEE servers OSGi edges Apache Felix MOSGi, RFC-139 iPOJO JMX administration and facilities RFID readers and sensors 23/06/09 OSGiDevCon 2009
Apache Felix iPOJO iPOJO eases the development of mediators Dynamism Configuration Introspection External handlers Event Admin Handler Mediators do not manipulate Events but ALE reports JMX Handler Mbean exposition JMX reconfiguration 23/06/09 OSGiDevCon 2009 Event  Reception Event  Emission JMX Reconfiguration
Visit demos on http://wiki.aspire.ow2.org In-vitro Supply chain demo i.e. EPC Global’ vision of RFID Customer info @ POS, @Fair, @Museum, @Park … Patient @ Home, Elder @ Home Professionals : Inventory, Maintenance, Picking … i.e. NFC Forum’ vision of RFID 23/06/09 OSGiDevCon 2009 Towards convergence between EPCGlobal and NFC Forum
Q & A 23/06/09 OSGiDevCon 2009 http://www.fp7-aspire.eu/ http://wiki.aspire.ow2.org
Acknowledgements Part of this work has been carried out in the scope of the ASPIRE project (http://www.fp7-aspire.eu) which is co-funded by the European Commission in the scope of the FP7 programme under contract number 215417. Help and contributions from all partners of the project and also the OW2 AspireRfid community are acknowledged . The authors thank Clément Escoffier for his help. 23/06/09 OSGiDevCon 2009
Toward M2M middlewares 23/06/09 OSGiDevCon 2009 Sensor Data Warehouse ONS Object Nanimg Service M2M Middleware is running on ~ 1 TeraHit per day Real World IT World 10^4 – 10^6 OSGi « edges » JavaEE servers Reporting Activation WMS, MES, ERP … Export Publish GPS [timestamp],[position] Measurement [position], [temperature], [humidity],[pressure], [weight] … Time Measure Sensor Event [ObjectId], [timestamp], measurements Sensor Event Mediation ©Didier Donsez Bar Codes RFID Smart Card contact,contactless Identification, authentication, tracking Buttons, Keys…
Aspire RFID @ OW2 http://wiki.aspire.objectweb.org OW2 project Leaders: John Soldatos & Didier Donsez Targets non-trivial M2M & RFID applications FOSS SW RFID/Sensor Middleware RFID/Sensor Apps Tools RFID/Sensor Applications samples Compliances with standards ( EPCGlobal, NFCForum, … ) with legacies ( 1D/2D barcodes, … ) and  proprietary   ( iButtons , …) Extensions Sensors (temp., geoloc, video streams, …) and BAT Filters and BEG Licence: LGPL v2.1 and CC by-sa 23/06/09 OSGiDevCon 2009
Edge 23/06/09 OSGiDevCon 2009
Premise 23/06/09 OSGiDevCon 2009
Server (EPCIS) 23/06/09 OSGiDevCon 2009

Experimenting with the OSGi platform in the Aspire RFID middleware

  • 1.
    OSGiDevCon @ Jazoon2009 Zurich, June 22, 2009 Experimenting with the OSGi platform in the Aspire RFID middleware Clément Escoffier on behalf of Lionel Touseau, Kiev Gama & Didier Donsez Université Grenoble 1, France [email_address]
  • 2.
    Agenda What isRadio Frequency Identification (RFID) ? RFID Middleware architecture OSGi technologies in the RFID Middleware 23/06/09 OSGiDevCon 2009
  • 3.
    RFID Everywhere Thefirst wave of the Internet of Things Tag everything! Read everywhere! 23/06/09 OSGiDevCon 2009
  • 4.
    Trends Usesensors measurements in applications Environmental sensors (scattered in warehouses, containers, you …) Sensors embedded on the tagged objects 23/06/09 OSGiDevCon 2009 Location [timestamp],[position], [symbolicPos], [cellID] … Measurement [temperature], [humidity], [pressure], [weight], [distance], [accel.], [shock], [ECG], [O 2 ], [CO 2 ], … Audio-Video [image stream], [snapshot] …
  • 5.
    RFID “Common” MiddlewareArchitecture 23/06/09 OSGiDevCon 2009 $100 Linux ARM $200 JavaPhone $1000 Linux/Win32 x86 $1000000 Linux/OpenSolaris/Win32 x86/itanium/ultrasparc cluster Event Report ALE Server (OSGi or JavaEE) Edge Edge (OSGi, MIDLet ) Tag read RFID Readers EPC IS (JavaEE) ONS (WS-based RESTful DNS ) sensors Other EPC ISs (Aspire, Fostrack/ Accada, …) Serial , Bluetooth, …
  • 6.
    OSGi « technologies » insidethe Edge Core Continuous provisioning Plug and Play (sensors, tag readers) Common Services Event Admin Wire Admin ( + WireAdmin Binder) JMX (MOSGi, future RFC 139) Component frameworks Apache Felix iPOJO Asynchronous Remoting Communications Bridges between Event Admin and MOM (JMS) 23/06/09 OSGiDevCon 2009
  • 7.
    Event Admin RFIDapplications are event-driven by nature Publish-Subscribe Interactions Publishers : RFID Tag Readers Subscribers : data mediators (CEP) Bridges between Event Admin and MOM JMS, HTTP/SOAP, SMTP, XMPP 23/06/09 OSGiDevCon 2009 ALE Reports EA / MOM X Bridge RFID reader Collection & Filtering EPC IS
  • 8.
    Wire Admin Sensorsproduce physical measurements But wiring is not automatic WireAdminBinder ADL and runtime describing wires 23/06/09 OSGiDevCon 2009 P C Wire Object P roducer C onsumer Wire Admin Create Delete P Wire Object < wireapp id=&quot;aspirerfid.sensor.wireadminbinder.sensors&quot;> < wireset id=&quot;temperature-producers2consumer&quot; producers-filter = &quot;(&amp (wireadmin.producer.flavors=*o.o.u.m.Measurement) (data.type=temperature))&quot; consumers-filter = &quot;(service.pid=o.o.a.s.aleconsumer)&quot; removepolicy =&quot; ifDisconnected &quot; /> </ wireapp >
  • 9.
    JMX for End-to-EndManagement Uniform management JavaEE servers OSGi edges Apache Felix MOSGi, RFC-139 iPOJO JMX administration and facilities RFID readers and sensors 23/06/09 OSGiDevCon 2009
  • 10.
    Apache Felix iPOJOiPOJO eases the development of mediators Dynamism Configuration Introspection External handlers Event Admin Handler Mediators do not manipulate Events but ALE reports JMX Handler Mbean exposition JMX reconfiguration 23/06/09 OSGiDevCon 2009 Event Reception Event Emission JMX Reconfiguration
  • 11.
    Visit demos onhttp://wiki.aspire.ow2.org In-vitro Supply chain demo i.e. EPC Global’ vision of RFID Customer info @ POS, @Fair, @Museum, @Park … Patient @ Home, Elder @ Home Professionals : Inventory, Maintenance, Picking … i.e. NFC Forum’ vision of RFID 23/06/09 OSGiDevCon 2009 Towards convergence between EPCGlobal and NFC Forum
  • 12.
    Q & A23/06/09 OSGiDevCon 2009 http://www.fp7-aspire.eu/ http://wiki.aspire.ow2.org
  • 13.
    Acknowledgements Part ofthis work has been carried out in the scope of the ASPIRE project (http://www.fp7-aspire.eu) which is co-funded by the European Commission in the scope of the FP7 programme under contract number 215417. Help and contributions from all partners of the project and also the OW2 AspireRfid community are acknowledged . The authors thank Clément Escoffier for his help. 23/06/09 OSGiDevCon 2009
  • 14.
    Toward M2M middlewares23/06/09 OSGiDevCon 2009 Sensor Data Warehouse ONS Object Nanimg Service M2M Middleware is running on ~ 1 TeraHit per day Real World IT World 10^4 – 10^6 OSGi « edges » JavaEE servers Reporting Activation WMS, MES, ERP … Export Publish GPS [timestamp],[position] Measurement [position], [temperature], [humidity],[pressure], [weight] … Time Measure Sensor Event [ObjectId], [timestamp], measurements Sensor Event Mediation ©Didier Donsez Bar Codes RFID Smart Card contact,contactless Identification, authentication, tracking Buttons, Keys…
  • 15.
    Aspire RFID @OW2 http://wiki.aspire.objectweb.org OW2 project Leaders: John Soldatos & Didier Donsez Targets non-trivial M2M & RFID applications FOSS SW RFID/Sensor Middleware RFID/Sensor Apps Tools RFID/Sensor Applications samples Compliances with standards ( EPCGlobal, NFCForum, … ) with legacies ( 1D/2D barcodes, … ) and proprietary ( iButtons , …) Extensions Sensors (temp., geoloc, video streams, …) and BAT Filters and BEG Licence: LGPL v2.1 and CC by-sa 23/06/09 OSGiDevCon 2009
  • 16.
  • 17.
  • 18.
    Server (EPCIS) 23/06/09OSGiDevCon 2009

Editor's Notes

  • #4 Store portals, RFID tunnel, Portable reader for picking, NFC phones ( Over 50.000.000 in Japan), Nabztag/tag ( Over 200.000)
  • #5 ie data loggers in BAT Applications Cold chain, Fragile shipping, Smart trash, …
  • #8 Why SMTP ? For modern and legacy industrial devices that only use protocoles such as FTP &amp; SMTP for pushing alerts and collecting logs. JMS : (OW2/Joram) HTTP/SOAP : kSOAP
  • #10 Scripting : (Catalina JMX Ant task)
  • #12 POS = Point of Sale Objects are tagged (Tag ISO 14443 + DataMatrix) Collect IDs+data and send them to a BT bridge (ie edge/premise) More data can completed the list : location (JSR179), survey answers, customer rating, …
  • #15 WMS (wharehouse management systems : Manhattan Associates, Red Prairie, Provia, etc) et MES (manufacturing execution systems