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.




Similar content being viewed by others
Notes
\(\oplus \) indicates the added guard or action, \(\ominus \) indicates the removed guard or action.
References
Abolhasan, M., Wysocki, T., Dutkiewicz, E.: A review of routing protocols for mobile ad hoc networks. Ad Hoc Netw. 2(1), 1–22 (2004)
Abrial, J.R.: The B-Book: Assigning Programs to Meanings. Cambridge University Press, Cambridge (2005)
Abrial, J.R.: Modeling in Event-B System and Software Engineering. Cambridge University Press, Cambridge (2010)
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)
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
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
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
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
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)
Clausen, T., Dearlove, C., Jacquet, P.: The optimized link state routing protocol version 2. draft-ietf-manet-olsrv2-00, Work in progress (2006)
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)
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)
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)
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)
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)
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)
Leuschel, M., Butler, M.: ProB: an automated analysis toolset for the B method. STTT 10(2), 185–203 (2008)
Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1996)
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)
Métayer, C., Voisin, L.: The Event-B mathematical language (2009). http://wiki.event-b.org/index.php/Event-B_Mathematical_Language
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)
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)
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)
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)
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
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
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
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10009-017-0463-4