Using Event-Based Style for Developing M2M Applications

  • Truong-Giang Le
  • Olivier Hermant
  • Matthieu Manceny
  • Renaud Pawlak
  • Renaud Rioboo
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7861)


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++.


event-based programming parallel programming domain-specific languages M2M applications gateway 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
  2. 2.
    Cisco jumps into the M2M market,
  3. 3.
  4. 4.
  5. 5.
    M2M to generate $35bn in service revenues by 2016,
  6. 6.
    Machine-to-Machine (M2M): The rise of the machines,
  7. 7.
    The MCUBE project,
  8. 8.
  9. 9.
  10. 10.
    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)CrossRefGoogle Scholar
  11. 11.
    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)Google Scholar
  12. 12.
    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)Google Scholar
  13. 13.
    Denecke, K.: Event-Driven Surveillance: Possibilities and Challenges. Springer, Berlin (2012)CrossRefGoogle Scholar
  14. 14.
    Etzion, O., Niblett, P.: Event Processing in Action. Manning Publications Co. (2010)Google Scholar
  15. 15.
    Faison, T.: Event-Based Programming: Taking Events to the Limit. Apress, Berkely (2006)Google Scholar
  16. 16.
    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)Google Scholar
  17. 17.
    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)CrossRefGoogle Scholar
  18. 18.
    Goetz, B., Peierls, T.: Java concurrency in practice. Addison-Wesley (2006)Google Scholar
  19. 19.
    Hersent, O., Boswarthick, D., Elloumi, O.: The Internet of Things: Key Applications and Protocols. John Wiley & Sons (2011) (Incorporated)Google Scholar
  20. 20.
    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)Google Scholar
  21. 21.
    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)Google Scholar
  22. 22.
    Holzmann, G.J.: The SPIN model checker, Primer and reference manual, 1st edn. Addison-Wesley Professional (2003)Google Scholar
  23. 23.
    IoT-A: (Internet of Things – Architecture) Project Deliverable d3.1 - Initial M2M API Analysis (2012)Google Scholar
  24. 24.
    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)Google Scholar
  25. 25.
    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)Google Scholar
  26. 26.
    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)Google Scholar
  27. 27.
    Mühl, G., Fiege, L., Pietzuch, P.: Distributed Event-Based Systems. Springer-Verlag New York, Inc., Secaucus (2006)zbMATHGoogle Scholar
  28. 28.
    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)Google Scholar
  29. 29.
    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)Google Scholar
  30. 30.
    Sosinsky, B.: Networking Bible, 1st edn. Wiley Publishing (2009)Google Scholar
  31. 31.
    Truong-Giang, L.: INI Online (2012),

Copyright information

© Springer-Verlag Berlin Heidelberg 2013

Authors and Affiliations

  • Truong-Giang Le
    • 1
  • Olivier Hermant
    • 2
  • Matthieu Manceny
    • 1
  • Renaud Pawlak
    • 3
  • Renaud Rioboo
    • 4
  1. 1.LISITE - ISEPParisFrance
  2. 2.CRI - MINES ParisTechFontainebleauFrance
  3. 3.IDCaptureParisFrance
  4. 4.ENSIIEÉvry CedexFrance

Personalised recommendations