Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Experimenting with the OSGi platform in the Aspire RFID middleware


Published on

RFID (Radio Frequency IDenfication) technology is becoming a key driving force for next generation IT systems, following the vision of the "Internet of Things". The OW2 AspireRFID project aims at developing and promoting an open-source middleware to ease the development, deployment and management of RFID-based applications and sensor-based applications. This middleware is lightweight, standards-compliant, scalable and privacy-friendly. OW2 Aspire implements and completes several specifications from consortiums such as EPC Global and NFC Forum. The Aspire architecture is mainly based on the collection and filtering of RFID events and sensors data from OSGi-based low-cost gateways to JavaEE high-end servers powered with OSGi (i.e., JOnAS). This presentation shows how we have benefited from the OSGi platform (modularity, provisioning, and dynamicity) to build the AspireRFID middleware, including specific aspects of, and tools for, OSGi, such as:

* JMX management with MOSGi
* Component-Based Software Engineering with iPOJO
* RFID tag readings published via the Event Admin mediator
* Sensor data collection and filtering performed through wires, dynamically and automatically managed by the Wire Admin service, thanks to the WireAdmin Binder engine and its W-ADL.

The OW2 Aspire RFID project is supported by the FP7 Aspire project. A short demonstration using industry quality RFID devices on a scale model may conclude the presentation.

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

Experimenting with the OSGi platform in the Aspire RFID middleware

  1. 1. 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]
  2. 2. Agenda <ul><li>What is Radio Frequency Identification (RFID) ? </li></ul><ul><li>RFID Middleware architecture </li></ul><ul><li>OSGi technologies in the RFID Middleware </li></ul>23/06/09 OSGiDevCon 2009
  3. 3. RFID Everywhere The first wave of the Internet of Things <ul><li>Tag everything! </li></ul><ul><li>Read everywhere! </li></ul>23/06/09 OSGiDevCon 2009
  4. 4. Trends <ul><li>Use sensors measurements in applications </li></ul><ul><ul><li>Environmental sensors (scattered in warehouses, containers, you …) </li></ul></ul><ul><ul><li>Sensors embedded on the tagged objects </li></ul></ul>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. 5. 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, …
  6. 6. OSGi « technologies » inside the Edge <ul><li>Core </li></ul><ul><ul><li>Continuous provisioning </li></ul></ul><ul><ul><li>Plug and Play (sensors, tag readers) </li></ul></ul><ul><li>Common Services </li></ul><ul><ul><li>Event Admin </li></ul></ul><ul><ul><li>Wire Admin ( + WireAdmin Binder) </li></ul></ul><ul><ul><li>JMX (MOSGi, future RFC 139) </li></ul></ul><ul><li>Component frameworks </li></ul><ul><ul><li>Apache Felix iPOJO </li></ul></ul><ul><li>Asynchronous Remoting Communications </li></ul><ul><ul><li>Bridges between Event Admin and MOM (JMS) </li></ul></ul>23/06/09 OSGiDevCon 2009
  7. 7. Event Admin <ul><li>RFID applications are event-driven by nature </li></ul><ul><li>Publish-Subscribe Interactions </li></ul><ul><ul><li>Publishers : RFID Tag Readers </li></ul></ul><ul><ul><li>Subscribers : data mediators (CEP) </li></ul></ul><ul><li>Bridges between Event Admin and MOM </li></ul><ul><ul><li>JMS, HTTP/SOAP, SMTP, XMPP </li></ul></ul>23/06/09 OSGiDevCon 2009 ALE Reports EA / MOM X Bridge RFID reader Collection & Filtering EPC IS
  8. 8. Wire Admin <ul><li>Sensors produce physical measurements </li></ul><ul><li>But wiring is not automatic </li></ul><ul><ul><li>WireAdminBinder </li></ul></ul><ul><ul><ul><li>ADL and runtime describing wires </li></ul></ul></ul>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;(; removepolicy =&quot; ifDisconnected &quot; /> </ wireapp >
  9. 9. JMX for End-to-End Management <ul><li>Uniform management </li></ul><ul><ul><li>JavaEE servers </li></ul></ul><ul><ul><li>OSGi edges </li></ul></ul><ul><ul><ul><li>Apache Felix MOSGi, RFC-139 </li></ul></ul></ul><ul><ul><ul><li>iPOJO JMX administration and facilities </li></ul></ul></ul><ul><ul><li>RFID readers and sensors </li></ul></ul>23/06/09 OSGiDevCon 2009
  10. 10. Apache Felix iPOJO <ul><li>iPOJO eases the development of mediators </li></ul><ul><ul><li>Dynamism </li></ul></ul><ul><ul><li>Configuration </li></ul></ul><ul><ul><li>Introspection </li></ul></ul><ul><li>External handlers </li></ul><ul><ul><li>Event Admin Handler </li></ul></ul><ul><ul><ul><li>Mediators do not manipulate Events but ALE reports </li></ul></ul></ul><ul><ul><li>JMX Handler </li></ul></ul><ul><ul><ul><li>Mbean exposition </li></ul></ul></ul><ul><ul><ul><li>JMX reconfiguration </li></ul></ul></ul>23/06/09 OSGiDevCon 2009 Event Reception Event Emission JMX Reconfiguration
  11. 11. Visit demos on <ul><li>In-vitro Supply chain demo </li></ul><ul><ul><li>i.e. EPC Global’ vision of RFID </li></ul></ul><ul><li>Customer info @ POS, @Fair, @Museum, @Park … </li></ul><ul><li>Patient @ Home, Elder @ Home </li></ul><ul><li>Professionals : Inventory, Maintenance, Picking … </li></ul><ul><ul><li>i.e. NFC Forum’ vision of RFID </li></ul></ul>23/06/09 OSGiDevCon 2009 Towards convergence between EPCGlobal and NFC Forum
  12. 12. Q & A 23/06/09 OSGiDevCon 2009
  13. 13. Acknowledgements <ul><li>Part of this work has been carried out in the scope of the ASPIRE project ( 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 . </li></ul><ul><li>The authors thank Clément Escoffier for his help. </li></ul>23/06/09 OSGiDevCon 2009
  14. 14. 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…
  15. 15. Aspire RFID @ OW2 <ul><li>OW2 project </li></ul><ul><ul><li>Leaders: John Soldatos & Didier Donsez </li></ul></ul><ul><li>Targets non-trivial M2M & RFID applications </li></ul><ul><li>FOSS SW </li></ul><ul><ul><li>RFID/Sensor Middleware </li></ul></ul><ul><ul><li>RFID/Sensor Apps Tools </li></ul></ul><ul><ul><li>RFID/Sensor Applications samples </li></ul></ul><ul><li>Compliances </li></ul><ul><ul><li>with standards ( EPCGlobal, NFCForum, … ) </li></ul></ul><ul><ul><li>with legacies ( 1D/2D barcodes, … ) and proprietary ( iButtons , …) </li></ul></ul><ul><li>Extensions </li></ul><ul><ul><li>Sensors (temp., geoloc, video streams, …) and BAT </li></ul></ul><ul><ul><li>Filters and BEG </li></ul></ul><ul><li>Licence: LGPL v2.1 and CC by-sa </li></ul>23/06/09 OSGiDevCon 2009
  16. 16. Edge 23/06/09 OSGiDevCon 2009
  17. 17. Premise 23/06/09 OSGiDevCon 2009
  18. 18. Server (EPCIS) 23/06/09 OSGiDevCon 2009