Skip to main content

Formal Analysis of Leader Election in MANETs Using Real-Time Maude

  • Chapter
Software, Services, and Systems

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 8950))

Abstract

The modeling and analysis of mobile ad hoc networks (MANETs) pose non-trivial challenges to formal methods. Time, geometry, communication delays and failures, mobility, and uni- and bidirectionality can interact in unforeseen ways that are hard to model and analyze by automatic formal methods. In this work we use rewriting logic and Real-Time Maude to address this challenge. We propose a composable formal framework for MANET protocols and their mobility models that can take into account such complex interactions. We illustrate our framework by analyzing a well-studied leader election protocol for MANETs in the presence of both mobility and uni- and bidirectional links.

Partially supported by NSF Grant CNS 13-19109 and AFOSR Grant FA8750-11-2-0084.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agha, G., Meseguer, J., Sen, K.: PMaude: Rewrite-based specification language for probabilistic object systems. Electronic Notes in Theoretical Computer Science 153(2), 213–239 (2006)

    Article  Google Scholar 

  2. Alur, R., Dill, D.L.: A theory of timed automata. Theoretical Computer Science 126(2), 183–235 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bouhoula, A., Jouannaud, J.P., Meseguer, J.: Specification and proof in membership equational logic. Theoretical Computer Science 236(1-2), 35–132 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  4. Camp, T., Boleng, J., Davies, V.: A survey of mobility models for ad hoc network research. Wireless Communications and Mobile Computing 2(5), 483–502 (2002)

    Article  Google Scholar 

  5. Clavel, M., Durán, F., Eker, S., Lincoln, P., Martí-Oliet, N., Meseguer, J., Talcott, C.: All About Maude - A High-Performance Logical Framework. LNCS, vol. 4350. Springer, Heidelberg (2007)

    MATH  Google Scholar 

  6. Fall, K., Varadhan, K.: The ns Manual (2011), http://www.isi.edu/nsnam/ns/doc/ns_doc.pdf

  7. Gelastou, M., Georgiou, C., Philippou, A.: On the application of formal methods for specifying and verifying distributed protocols. In: Proc. NCA 2008. IEEE (2008)

    Google Scholar 

  8. Ghassemi, F., Ahmadi, S., Fokkink, W., Movaghar, A.: Model checking MANETs with arbitrary mobility. In: Arbab, F., Sirjani, M. (eds.) FSEN 2013. LNCS, vol. 8161, pp. 217–232. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  9. Ghassemi, F., Talebi, M., Movaghar, A., Fokkink, W.: Stochastic restricted broadcast process theory. In: Thomas, N. (ed.) EPEW 2011. LNCS, vol. 6977, pp. 72–86. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  10. Katelman, M., Meseguer, J., Hou, J.: Redesign of the LMST wireless sensor protocol through formal modeling and statistical model checking. In: Barthe, G., de Boer, F.S. (eds.) FMOODS 2008. LNCS, vol. 5051, pp. 150–169. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  11. Kosiuczenko, P., Wirsing, M.: Timed rewriting logic with an application to object-based specification. Science of Computer Programming 28(2-3), 225–246 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  12. Kouzapas, D., Philippou, A.: A process calculus for dynamic networks. In: Bruni, R., Dingel, J. (eds.) FORTE 2011 and FMOODS 2011. LNCS, vol. 6722, pp. 213–227. Springer, Heidelberg (2011)

    Chapter  Google Scholar 

  13. Liu, S., Ölveczky, P.C., Meseguer, J.: A framework for mobile ad hoc networks in real-time maude. In: Escobar, S. (ed.) WRLA 2014. LNCS, vol. 8663, pp. 162–177. Springer, Heidelberg (2014)

    Google Scholar 

  14. Liu, S., Ölveczky, P.C., Meseguer, J.: Formal analysis of leader election in MANETs using Real-Time Maude (2014), http://www.ifi.uio.no/RealTimeMaude/leader-election-report.pdf

  15. Liu, S., Ölveczky, P.C., Meseguer, J.: Modeling and analyzing mobile ad hoc networks in Real-Time Maude (submitted for publication, 2014), http://www.ifi.uio.no/RealTimeMaude/manets-report.pdf

  16. Merro, M., Sibilio, E.: A calculus of trustworthy ad hoc networks. Formal Aspects of Computing 25(5), 801–832 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  17. Ölveczky, P.C.: Real-Time Maude and its applications. In: Escobar, S. (ed.) WRLA 2014. LNCS, vol. 8663, pp. 42–79. Springer, Heidelberg (2014)

    Google Scholar 

  18. Ölveczky, P.C., Meseguer, J.: Semantics and pragmatics of Real-Time Maude. Higher-order and Symbolic Computation 20(1-2), 161–196 (2007)

    Article  MATH  Google Scholar 

  19. Ölveczky, P.C.: Specification and Analysis of Real-Time and Hybrid Systems in Rewriting Logic. Ph.D. thesis, University of Bergen, Norway (2000), http://maude.csl.sri.com/papers

  20. Ölveczky, P.C., Kosiuczenko, P., Wirsing, M.: An object-oriented algebraic steam-boiler control specification. In: Abrial, J.-R., Börger, E., Langmaack, H. (eds.) Formal Methods for Industrial Applications. LNCS, vol. 1165, pp. 379–402. Springer, Heidelberg (1996)

    Google Scholar 

  21. Ölveczky, P.C., Meseguer, J.: Specification of real-time and hybrid systems in rewriting logic. Theoretical Computer Science 285, 359–405 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  22. Ölveczky, P.C., Meseguer, J.: Abstraction and completeness for Real-Time Maude. Electronic Notes in Theoretical Computer Science 176(4), 5–27 (2007)

    Article  MATH  Google Scholar 

  23. Ölveczky, P.C., Meseguer, J., Talcott, C.L.: Specification and analysis of the AER/NCA active network protocol suite in Real-Time Maude. Formal Methods in System Design 29(3), 253–293 (2006)

    Article  MATH  Google Scholar 

  24. Ölveczky, P.C., Thorvaldsen, S.: Formal modeling, performance estimation, and model checking of wireless sensor network algorithms in Real-Time Maude. Theoretical Computer Science 410(2-3), 254–280 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  25. OMNeT++., http://www.omnetpp.org/ (accessed November 24, 2014)

  26. Sibilio, E.: Formal methods for wireless systems. Ph.D. Thesis, University of Verona (2011)

    Google Scholar 

  27. Singh, A., Ramakrishnan, C.R., Smolka, S.A.: A process calculus for mobile ad hoc networks. Science of Computer Programming 75(6), 440–469 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  28. Song, L.: Probabilistic models and process calculi for mobile ad hoc networks. Ph.D. Thesis, IT University of Copenhagen (2012)

    Google Scholar 

  29. Song, L., Godskesen, J.C.: Broadcast abstraction in a stochastic calculus for mobile networks. In: Baeten, J.C.M., Ball, T., de Boer, F.S. (eds.) TCS 2012. LNCS, vol. 7604, pp. 342–356. Springer, Heidelberg (2012)

    Chapter  Google Scholar 

  30. Su, P.: Delay measurement time synchronization for wireless sensor networks. Tech. Rep. IRB-TR-03-013, Intel Research Berkeley Lab (2003)

    Google Scholar 

  31. Vasudevan, S., Kurose, J.F., Towsley, D.F.: Design and analysis of a leader election algorithm for mobile ad hoc networks. Tech. Rep. UMass CMPSCI 03-20, University of Massachusetts (2003)

    Google Scholar 

  32. Vasudevan, S., Kurose, J.F., Towsley, D.F.: Design and analysis of a leader election algorithm for mobile ad hoc networks. In: Proc. ICNP 2004. IEEE (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this chapter

Cite this chapter

Liu, S., Ölveczky, P.C., Meseguer, J. (2015). Formal Analysis of Leader Election in MANETs Using Real-Time Maude. In: De Nicola, R., Hennicker, R. (eds) Software, Services, and Systems. Lecture Notes in Computer Science, vol 8950. Springer, Cham. https://doi.org/10.1007/978-3-319-15545-6_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-15545-6_16

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-15544-9

  • Online ISBN: 978-3-319-15545-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics