Advertisement

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

  • Chunyan FuEmail author
  • Kougen Zheng
Regular Paper
  • 76 Downloads

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.

Keywords

Formal verification Hybrid routing protocols Zone Routing Protocol Event-B Refinement 

References

  1. 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)CrossRefGoogle Scholar
  2. 2.
    Abrial, J.R.: The B-Book: Assigning Programs to Meanings. Cambridge University Press, Cambridge (2005)zbMATHGoogle Scholar
  3. 3.
    Abrial, J.R.: Modeling in Event-B System and Software Engineering. Cambridge University Press, Cambridge (2010)CrossRefzbMATHGoogle Scholar
  4. 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)CrossRefGoogle Scholar
  5. 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 CrossRefGoogle Scholar
  6. 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 MathSciNetCrossRefzbMATHGoogle Scholar
  7. 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. 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 CrossRefGoogle Scholar
  9. 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)MathSciNetCrossRefzbMATHGoogle Scholar
  10. 10.
    Clausen, T., Dearlove, C., Jacquet, P.: The optimized link state routing protocol version 2. draft-ietf-manet-olsrv2-00, Work in progress (2006)Google Scholar
  11. 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)Google Scholar
  12. 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)Google Scholar
  13. 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)Google Scholar
  14. 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)Google Scholar
  15. 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. 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)CrossRefGoogle Scholar
  17. 17.
    Leuschel, M., Butler, M.: ProB: an automated analysis toolset for the B method. STTT 10(2), 185–203 (2008)CrossRefGoogle Scholar
  18. 18.
    Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1996)zbMATHGoogle Scholar
  19. 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)CrossRefGoogle Scholar
  20. 20.
    Métayer, C., Voisin, L.: The Event-B mathematical language (2009). http://wiki.event-b.org/index.php/Event-B_Mathematical_Language
  21. 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)CrossRefGoogle Scholar
  22. 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)Google Scholar
  23. 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)CrossRefGoogle Scholar
  24. 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)Google Scholar
  25. 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 CrossRefGoogle Scholar

Copyright information

© Springer-Verlag GmbH Germany 2017

Authors and Affiliations

  1. 1.College of Computer Science and TechnologyZhejiang UniversityHangzhouChina

Personalised recommendations