Abstract
In this paper, we introduce how to write M2M applications by using INI, a programming language specified and implemented by ourselves that supports event-based style. With event-based programming, all M2M communication can be handled and scheduled. Programmers may use existing built-in events or define their own events. We apply our approach in a real M2M gateway, which allows gathering and exchanging information between sensors and machines in the network. The results shows that our work proposes a concise and elegant alternative and complement to industrial state-of-the-art languages such as Java or C/C++.
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
Cisco jumps into the M2M market, http://www.networkcomputing.com/wireless/231600077
Crontab, http://crontab.org/
Gphoto2, http://gphoto.org/
M2M to generate $35bn in service revenues by 2016, http://juniperresearch.com/viewpressrelease.php?pr=243
Machine-to-Machine (M2M): The rise of the machines, http://www.juniper.net/us/en/local/pdf/whitepapers/2000416-en.pdf
The MCUBE project, http://mcube.isep.fr:8080/
Oracle Java SE Embedded, http://www.oracle.com/technetwork/java/embedded/overview/getstarted/index.html
Webdyn, http://www.webdyn.com/en/
Cohen, N.H., Kalleberg, K.T.: EventScript: an event-processing language based on regular expressions with actions. In: Proceedings of the 2008 ACM SIGPLAN-SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2008, pp. 111–120. ACM, New York (2008)
Cristaldi, L., Faifer, M., Grande, F., Ottoboni, R.: An improved M2M platform for multi-sensors agent application. In: Sensors for Industry Conference, pp. 79–83 (February 2005)
Dabek, F., Zeldovich, N., Kaashoek, F., Maziéres, D., Morris, R.: Event-driven programming for robust software. In: Proceedings of the 10th Workshop on ACM SIGOPS European Workshop, EW 10, pp. 186–189 (2002)
Denecke, K.: Event-Driven Surveillance: Possibilities and Challenges. Springer, Berlin (2012)
Etzion, O., Niblett, P.: Event Processing in Action. Manning Publications Co. (2010)
Faison, T.: Event-Based Programming: Taking Events to the Limit. Apress, Berkely (2006)
Fan, Z., Tan, S.: M2M communications for E-health: Standards, enabling technologies, and research challenges. In: 2012 6th International Symposium on Medical Information and Communication Technology (ISMICT), pp. 1–4 (March 2012)
Fischer, J., Majumdar, R., Millstein, T.: Tasks: language support for event-driven programming. In: Proceedings of the 2007 ACM SIGPLAN Symposium on Partial Evaluation and Semantics-Based Program Manipulation, PEPM 2007, pp. 134–143. ACM, New York (2007)
Goetz, B., Peierls, T.: Java concurrency in practice. Addison-Wesley (2006)
Hersent, O., Boswarthick, D., Elloumi, O.: The Internet of Things: Key Applications and Protocols. John Wiley & Sons (2011) (Incorporated)
Herstad, A., Nersveen, E., Samset, H., Storsveen, A., Svaet, S., Husa, K.: Connected objects: Building a service platform for M2M. In: 13th International Conference on Intelligence in Next Generation Networks, ICIN 2009, pp. 1–4 (October 2009)
Holzer, A., Ziarek, L., Jayaram, K., Eugster, P.: Putting events in context: aspects for event-based distributed programming. In: Proceedings of the Tenth International Conference on Aspect-Oriented Software Development, AOSD 2011, pp. 241–252. ACM, New York (2011)
Holzmann, G.J.: The SPIN model checker, Primer and reference manual, 1st edn. Addison-Wesley Professional (2003)
IoT-A: (Internet of Things – Architecture) Project Deliverable d3.1 - Initial M2M API Analysis (2012)
Kim, B.H., Ahn, H.J., Kim, J.O., Yoo, M., Cho, K., Choi, D.: Application of M2M technology to manufacturing systems. In: 2010 International Conference on Information and Communication Technology Convergence (ICTC), pp. 519–520 (November 2010)
Le, T.G., Hermant, O., Manceny, M., Pawlak, R., Rioboo, R.: Unifying event-based and rule-based styles to develop concurrent and context-aware reactive applications. In: Proceedings of the 7th International Conference on Software Paradigm Trends, Rome, Italy, July 24-27, pp. 347–350 (2012)
Matson, E., Min, B.C.: M2M infrastructure to integrate humans, agents and robots into collectives. In: 2011 IEEE Instrumentation and Measurement Technology Conference (I2MTC), pp. 1–6 (May 2011)
Mühl, G., Fiege, L., Pietzuch, P.: Distributed Event-Based Systems. Springer-Verlag New York, Inc., Secaucus (2006)
Roebuck, K.: Machine-to-machine (M2M) Communication Services: High-impact Technology - What You Need to Know: Definitions, Adoptions, Impact, Benefits, Maturity, Vendors. Lightning Source Incorporated (2011)
Singh, S., Huang, K.L.: A robust M2M gateway for effective integration of capillary and 3GPP networks. In: 2011 IEEE 5th International Conference on Advanced Networks and Telecommunication Systems (ANTS), pp. 1–3 (December 2011)
Sosinsky, B.: Networking Bible, 1st edn. Wiley Publishing (2009)
Truong-Giang, L.: INI Online (2012), https://sites.google.com/site/inilanguage/
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2013 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Le, TG., Hermant, O., Manceny, M., Pawlak, R., Rioboo, R. (2013). Using Event-Based Style for Developing M2M Applications. In: Park, J.J.(.H., Arabnia, H.R., Kim, C., Shi, W., Gil, JM. (eds) Grid and Pervasive Computing. GPC 2013. Lecture Notes in Computer Science, vol 7861. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38027-3_37
Download citation
DOI: https://doi.org/10.1007/978-3-642-38027-3_37
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-38026-6
Online ISBN: 978-3-642-38027-3
eBook Packages: Computer ScienceComputer Science (R0)