User Tools

Site Tools


Sidebar

Jump to
AmbientTalk
CRIME
iScheme

research:rfid

This is an old revision of the document!


Software Abstractions for the Development of Mobile RFID-enabled Applications

Representing RFID-tagged physical objects as mutable software objects.

RFID-enabled Library

The RFID-enabled library is a mobile RFID-enabled application and illustrates the kind of application we target. The application runs on a mobile device, such as a smartphone and shows the books that are in the vicinity of the user and allows certain operations to be performed on them. Users can attach a small review message to a book, rate a book or associate keywords with the book, etc. This data is all stored on the book directly, using RFID tag(s). The application lets the user also filter the books based on rating or comparison with a keyword profile describing the user's preferences. For example, the user could just swipe his smartphone over a shelf of books and discover which books on the shelf are must-read books!

Towards naturally expressing RFID applications

Developing such mobile RFID-enabled applications with traditional software abstractions is a daunting task given the extreme volatility of connections to RFID tags. Simple repositioning of the mobile (reader) device, interference, etc. cause such applications to be very prone to failures. Currently the programmer is left to deal with these issues manually.

We even go one step further, by representing RFID-tagged objects as full-blown software objects. State-of-the-art RFID applications merely use RFID tags as digital barcodes and remain oblivious to the enormous potential of RFID technology in ubiquitous computing scenarios. For example, they do not use the writable memory on RFID tags to store contextual information.

Using the abstractions we present further on this page, programming RFID applications becomes more natural as application logic can be directly expressed in terms of the presence or absence of software objects representing physical items. Building on the ambient oriented programming model of AmbientTalk we provide integrated support for fault-tolerant connections and asynchronous communication with RFID tags.

In short, we consider RFID tags as the bridge between the physical and digital world. They effectively store digital stand-ins for real world items.

Demo

The movies below show a small prototype showing discovery of books on a shelf and a user adding a comment to a book.

Requirements

To align physical objects tagged with writable RFID tags as true mutable software objects we model these objects as proxy objects acting as stand-ins for physical objects. For this model to be applicable to mobile RFID- enabled applications, it must adhere to the following requirements:

  1. Addressing physical objects RFID communication is based on broad- casting a signal. However, to be able to associate a software object with one particular physical object, it is necessary to address a single designated physical object.
  2. Storing application-specific data on RFID tags Since mobile RFID- enabled applications do not rely on a backend database, the data on the RFID tags should be self-contained and stored on the writable memory of the tags.
  3. Reactivity to appearing and disappearing objects It is necessary to observe the connection, reconnection and disconnection of RFID tags to keep the proxy objects synchronized with their physical counterparts. Differen- tiating between connection and reconnection is important to preserve the identity of the proxy object. Furthermore, it should be possible to react upon these events from within the application.
  4. Asynchronous communication To hide latency and keep applications responsive, communication with proxy objects representing physical objects should happen asynchronously. Blocking communication will freeze the ap- plication as soon as one physical object is unreachable.
  5. Fault-tolerant communication. Treating communication failures as the rule instead of the exception allows applications to deal with temporary unavailability of the physical objects and makes them resilient to failures. For example, read/write operations frequently fail due hardware phenomena.

Software Abstractions

RFID event loop
RFID tags as mutable proxy objects
Ambient References
Multiway References

Further Reading

  • Distributed Object-Oriented Programming with RFID Technology. Andoni Lombide Carreton, Kevin Pinte, Wolfgang De Meuter. In Lecture Notes in Computer Science, vol. 6115, Eliassen F, Kapitza R (eds.), 2010; 56–69. [download1)].
1)
The original publication is available at www.springerlink.com.
research/rfid.1280242704.txt.gz · Last modified: 2010/07/27 16:58 (external edit)