Abstract
NFC is a wireless technology that allows software to interact with RFID tags and that is increasingly integrated into smartphones and other mobile devices. In this paper, we present MORENA: a middleware that treats NFC-enabled programs as distributed object-oriented programs in which RFID tags are represented as intermittently connected remote objects. We draw inspiration from the ambient-oriented programming paradigm to represent these objects as first-class remote references which only offer asynchronous communication with the tag to which they refer. This allows the programmer to implement mobile applications that read from or write to RFID tags without having to handle every single fault manually and without blocking the entire application during read or write operations. We built MORENA on top of the Android platform and evaluated our abstractions by implementing a representative application running on NFC-enabled Android phones using MORENA.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Atzori, L., Iera, A., Morabito, G.: The internet of things: A survey. Computer Networks 54(15), 2787–2805 (2010)
Kortuem, G., Kawsar, F., Sundramoorthy, V., Fitton, D.: Smart objects as building blocks for the internet of things. IEEE Internet Computing 14, 44–51 (2010)
Komatineni, S., MacLean, D., Hashimi, S.Y.: Introducing the android computing platform. In: Pro Android 3, pp. 1–20. Apress (2011)
Handa, R., Maheshwari, K., Saraf, M.: Google Wallet - A Glimpse Into the Future of Mobile Payments. GRIN Verlag GmbH (2011)
Dedecker, J., Van Cutsem, T., Mostinckx, S., D’Hondt, T., De Meuter, W.: Ambient-Oriented Programming in AmbientTalk. In: Thomas, D. (ed.) ECOOP 2006. LNCS, vol. 4067, pp. 230–254. Springer, Heidelberg (2006)
Lombide Carreton, A., Pinte, K., De Meuter, W.: Software abstractions for mobile rfid-enabled applications. In: Software: Practice and Experience (2011)
Van Cutsem, T., Mostinckx, S., Gonzalez Boix, E., Dedecker, J., De Meuter, W.: Ambienttalk: object-oriented event-driven programming in mobile ad hoc networks. In: XXVI International Conference of the Chilean Computer Science Society, pp. 3–12. IEEE Computer Society (2007)
Miller, M.S., Tribble, E.D., Shapiro, J.S.: Concurrency Among Strangers: Programming in E as Plan Coordination. In: De Nicola, R., Sangiorgi, D. (eds.) TGC 2005. LNCS, vol. 3705, pp. 195–229. Springer, Heidelberg (2005)
Gray, C., Cheriton, D.: Leases: an efficient fault-tolerant mechanism for distributed file cache consistency. In: SOSP 1989: Proceedings of the Twelfth ACM Symposium on Operating Systems Principles, pp. 202–210. ACM Press, New York (1989)
Madlmayr, G., Ecker, J., Langer, J., Scharinger, J.: Near field communication: State of standardization. In: Michahelles, F. (ed.) Proceedings of the International Conference on the Internet of Things 2008, vol. 1, p. 6. ETH Zürich (March 2008)
Kefalakis, N., Leontiadis, N., Soldatos, J., Gama, K., Donsez, D.: Supply chain management and NFC picking demonstrations using the AspireRfid middleware platform. In: ACM/IFIP/USENIX Middleware 2008, pp. 66–69. ACM, New York (2008)
Oracle (Sun Developer Network), Developing auto-id solutions using sun java system rfid software
Prabhu, B.S., Su, X., Ramamurthy, H., Chu, C.-C., Gadh, R.: Winrfid – a middleware for the enablement of radio frequency identification (rfid) based applications. White paper, UCLA – Wireless Internet for the Mobile Internet Consortium (January 2008)
Floerkemeier, C., Roduner, C., Lampe, M.: Rfid application development with the accada middleware platform. IEEE Systems Journal, Special Issue on RFID Technology 1, 82–94 (2007)
EPCGlobal Standards Overview (September 2010), http://www.epcglobalinc.org/standards
Sidén, J., Skerved, V., Gao, J., Forsström, S., Nilsson, H.-E., Kanter, T., Gulliksson, M.: Home care with nfc sensors and a smart phone. In: Proceedings of the 4th International Symposium on Applied Sciences in Biomedical and Communication Technologies, ISABEL 2011, p. 150:1–150:5. ACM, New York (2011)
Watfa, M.K., Kaur, M., Daruwala, R.F.: IPurse: An Innovative RFID Application. In: Zhou, M. (ed.) ISAEBD 2011, Part IV. CCIS, vol. 211, pp. 531–538. Springer, Heidelberg (2011)
Mamei, M., Quaglieri, R., Zambonelli, F.: Making tuple spaces physical with rfid tags. In: Symposium on Applied computing, pp. 434–439. ACM, New York (2006)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 IFIP International Federation for Information Processing
About this paper
Cite this paper
Lombide Carreton, A., Pinte, K., De Meuter, W. (2012). MORENA: A Middleware for Programming NFC-Enabled Android Applications as Distributed Object-Oriented Programs. In: Narasimhan, P., Triantafillou, P. (eds) Middleware 2012. Middleware 2012. Lecture Notes in Computer Science, vol 7662. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35170-9_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-35170-9_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-35169-3
Online ISBN: 978-3-642-35170-9
eBook Packages: Computer ScienceComputer Science (R0)