Skip to main content
Log in

Formal modeling and analysis of ad hoc Zone Routing Protocol in Event-B

  • Regular Paper
  • Published:
International Journal on Software Tools for Technology Transfer Aims and scope Submit manuscript

Abstract

Ad hoc routing protocols are responsible for searching a route from the source to the destination under the dynamic network topology. Hybrid routing protocols combine the features of proactive and reactive approaches. So, the formal specification of a hybrid routing protocol in the dynamic network environment is a challenge. In this paper, we formally analyze the Zone Routing Protocol (ZRP), a hybrid routing framework, using Event-B. We develop the formal specification by the refinement mechanism. It allows us to gradually model the network environment, the construction of routing zones, route discovery based on bordercasting service and routing update. We prove the stabilization property in the inactive environment. In addition, we demonstrate that discovered routes hold the loop freedom and validity in each reachable system state. To present that the formalization is consistent with the informally expressed requirements, we adopt an animator, ProB, to validate our model. Our work provides reference to analyze extensions of the ZRP and other hybrid routing protocols.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

Notes

  1. \(\oplus \) indicates the added guard or action, \(\ominus \) indicates the removed guard or action.

References

  1. Abolhasan, M., Wysocki, T., Dutkiewicz, E.: A review of routing protocols for mobile ad hoc networks. Ad Hoc Netw. 2(1), 1–22 (2004)

    Article  Google Scholar 

  2. Abrial, J.R.: The B-Book: Assigning Programs to Meanings. Cambridge University Press, Cambridge (2005)

    MATH  Google Scholar 

  3. Abrial, J.R.: Modeling in Event-B System and Software Engineering. Cambridge University Press, Cambridge (2010)

    Book  MATH  Google Scholar 

  4. Abrial, J.R., Butler, M., Hallerstede, S., Hoang, T.S., Mehta, F., Voisin, L.: Rodin: an open toolset for modelling and reasoning in Event-B. Int. J. Softw. Tools Technol. Transf. (STTT) 12(6), 447–466 (2010)

    Article  Google Scholar 

  5. Abrial, J.R., Su, W., Zhu, H.: Formalizing hybrid systems with Event-B. In: Derrick, J., Fitzgerald, J., Gnesi, S., Khurshid, S., Leuschel, M., Reeves, S., Riccobene, E. (eds.) Abstract State Machines, Alloy, B, VDM, and Z, pp. 178–193. Springer, Berlin Heidelberg (2012). doi:10.1007/978-3-642-30885-7_13

    Chapter  Google Scholar 

  6. Bhargavan, K., Obradovic, D., Gunter, C.A.: Formal verification of standards for distance vector routing protocols. J. ACM 49(4), 538–576 (2002). doi:10.1145/581771.581775

    Article  MathSciNet  MATH  Google Scholar 

  7. Bourke, T., van Glabbeek, R., Höfner, P.: A mechanized proof of loop freedom of the (untimed) AODV routing protocol. In: Cassez, F., Raskin, J.F. (eds.) Automated Technology for Verification and Analysis, Lecture Notes in Computer Science. Springer, Berlin (2014). doi:10.1007/978-3-319-11936-6_5

    Google Scholar 

  8. Butler, M., Voisin, L., Muller, T.: Tooling. In: Romanovsky, A., Thomas, M. (eds.) Industrial Deployment of System Engineering Methods, pp. 157–185. Springer, Berlin Heidelberg (2013). doi:10.1007/978-3-642-33170-1_12

    Chapter  Google Scholar 

  9. Cansell, D., Méry, D.: Formal and incremental construction of distributed algorithms: on the distributed reference counting algorithm. Theor. Comput. Sci. 364(3), 318–337 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  10. Clausen, T., Dearlove, C., Jacquet, P.: The optimized link state routing protocol version 2. draft-ietf-manet-olsrv2-00, Work in progress (2006)

  11. Haas, Z.J., Pearlman, M.R., Samar, P.: The bordercast resolution protocol (BRP) for ad hoc networks. draft-ietf-manet-zone-brp-02.txt, IETF Internet Draft (2002)

  12. Haas, Z.J., Pearlman, M.R., Samar, P.: The interzone routing protocol (IERP) for ad hoc networks. draft-ietf-manet-zone-ierp-02.txt, IETF Internet Draft (2002)

  13. Haas, Z.J., Pearlman, M.R., Samar, P.: The intrazone routing protocol (IARP) for ad hoc networks. draft-ietf-manet-zone-iarp-02.txt, IETF Internet Draft (2002)

  14. Haas, Z.J., Pearlman, M.R., Samar, P.: The zone routing protocol (ZRP) for ad hoc networks. draft-ietf-manet-zone-zrp-04.txt, IETF Internet Draft (2002)

  15. Hoang, T., Kuruma, H., Basin, D., Abrial, J.R.: Developing topology discovery in Event-B. In: Leuschel, M., Wehrheim, H. (eds.) IFM, LNCS, pp. 1–19. Springer, Berlin Heidelberg (2009)

    Google Scholar 

  16. Johnson, D.B., Maltz, D.A.: Dynamic source routing in ad hoc wireless networks. In: Imielinski, T., Korth, H. (eds.) Mobile Computing, pp. 153–181. Kluwer Academic Publishers, Dordrecht (1996)

    Chapter  Google Scholar 

  17. Leuschel, M., Butler, M.: ProB: an automated analysis toolset for the B method. STTT 10(2), 185–203 (2008)

    Article  Google Scholar 

  18. Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1996)

    MATH  Google Scholar 

  19. Méry, D., Singh, N.K.: Analysis of DSR protocol in Event-B. In: Défago, X., Petit, F., Villain, V. (eds.) Stabilization, Safety, and Security of Distributed Systems, LNCS, vol. 6976, pp. 401–415. Springer, Berlin Heidelberg (2011)

    Chapter  Google Scholar 

  20. Métayer, C., Voisin, L.: The Event-B mathematical language (2009). http://wiki.event-b.org/index.php/Event-B_Mathematical_Language

  21. Perkins, C.E., Bhagwat, P.: Highly dynamic destination-sequenced distance-vector routing (DSDV) for mobile computers. ACM SIGCOMM Comput. Commun. Rev. 24, 234–244 (1994)

    Article  Google Scholar 

  22. Perkins, C.E., Royer, E.M.: Ad-hoc on-demand distance vector routing. In: Mobile Computing Systems and Applications, 1999. Proceedings. WMCSA’99. Second IEEE Workshop, pp. 90–100. IEEE (1999)

  23. Samar, P., Pearlman, M.R., Haas, Z.J.: Independent zone routing: an adaptive hybrid routing framework for ad hoc wireless networks. IEEE/ACM Trans. Network. (TON) 12(4), 595–608 (2004)

    Article  Google Scholar 

  24. Wibling, O., Parrow, J., Pears, A.: Automatized verification of ad hoc routing protocols. In: Formal Techniques for Networked and Distributed Systems, FORTE 2004, LNCS, vol. 3235, pp. 343–358. Springer (2004)

  25. Yang, H., Zhang, X., Wang, Y.: A correctness proof of the dsr protocol. In: Cao, J., Stojmenovic, I., Jia, X., Das, S. (eds.) Mobile Ad-hoc and Sensor Networks, Lecture Notes in Computer Science, pp. 72–83. Springer, Berlin Heidelberg (2006). doi:10.1007/11943952_7

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chunyan Fu.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Fu, C., Zheng, K. Formal modeling and analysis of ad hoc Zone Routing Protocol in Event-B. Int J Softw Tools Technol Transfer 21, 165–181 (2019). https://doi.org/10.1007/s10009-017-0463-4

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10009-017-0463-4

Keywords