A Dual-Token-Based Fault Tolerant Mutual Exclusion Algorithm for MANETs

  • Weigang Wu
  • Jiannong Cao
  • Michel Raynal
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4864)


Most existing mutual exclusion algorithms for mobile ad hoc networks (MANETs) adopt a token-based approach. In traditional wired networks, timeout-based mechanisms are commonly used to detect token losses. However, in MANETs, it is difficult to set a proper timeout value due to the network dynamics. In this paper, we propose a dual-token-based mutual exclusion algorithm, which can tolerate token losses without using timeout. Two tokens are concurrently circulated in the system to monitor each other by using sequence numbers. If one token is lost, the other token can detect the loss and regenerate a new token. Simulations have been carried out to evaluate the effectiveness and performance of the proposed algorithm in comparison with the timeout-based approach. The results show that the timeout-based algorithm may falsely claim the loss of a token, thus cannot guarantee the correctness of mutual exclusion algorithms. On the contrary, our proposed algorithm can avoid false detection of token losses and satisfy all the correctness requirements of mutual exclusion, though it costs a bit more messages and longer time.


Mutual Exclusion Distributed Algorithm MANET Mobile Computing Token Loss 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Baldoni, R., Virgillito, A., Petrassi, R.: A Distributed Mutual Exclusion Algorithm for Mobile Ad-Hoc Networks. In: Proc. of ISCC (2002)Google Scholar
  2. 2.
    Benchaïba, M., Bouabdallah, A., Badache, N., Ahmed-Nacer, M.: Distributed Mutual Exclusion Algorithms in Mobile Ad Hoc Networks: an Overview. ACM SIGOPS Operating Systems Review 38(1) (2004)Google Scholar
  3. 3.
    Camp, T., Boleng, J., Davies, V.: A Survey of Mobility Models for Ad Hoc Network Research. Wireless Communications & Mobile Computing (WCMC) 2(5) (2002)Google Scholar
  4. 4.
    Chang, Y., Singhal, M., Liu, M.: A Fault Tolerant Algorithm for Distributed Mutual Exclusion. In: Proc. of SRDS (1990)Google Scholar
  5. 5.
    Chen, Y., Welch, J.: Self-stabilizing Mutual Exclusion Using Tokens in Ad Hoc Networks. In: Proc. of Dial-M (April 2002)Google Scholar
  6. 6.
    Forman, G., Zahorjan, J.: The Challenges of Mobile Computing, IEEE Computer (1994)Google Scholar
  7. 7.
    Johnson, D., Maltz, D.: Dynamic Source Routing in Ad Hoc Wireless Networks, Mobile Computing. Ch. 5. Kluwer Academic Publishers, Boston, MA (1996)Google Scholar
  8. 8.
    Le Lann, G.: Distributed Systems, towards a Formal Approach, IFIP Congress (1977)Google Scholar
  9. 9.
    Malpani, N., Vaidya, N., Welch, J.: Distributed Token Circulation on Mobile Ad Hoc Networks. In: Proc. of ICNP (2001)Google Scholar
  10. 10.
    Mizuno, M., Neilsen, M., Rao, R.: A Token based Distributed Mutual Exclusion Algorithm based on Quorum Agreements. In: Proc. of ICDCS (1991)Google Scholar
  11. 11.
    Misra, J.: Detecting Termination of Distributed Computations Using Markers. In: Proc. of PODC (1983)Google Scholar
  12. 12.
    Nishio, S., Li, F., Manning, G.: A Resilient Mutual Exclusion Algorithm for Computer Networks. IEEE Trans. on Parallel and Distributed Systems 1(3) (July 1990)Google Scholar
  13. 13.
    Perkins, C., Bhangwat, P.: Highly Dynamic Destination-Sequenced Distance-Vector (DSDV) Routing for Mobile Computers. In: Proc. of ACM SIGCOMM 1994 (August 1994)Google Scholar
  14. 14.
    Perkins, C., Royer, E.: Ad-hoc On-Demand Distance Vector Routing. In: Proc. of the 2nd IEEE Workshop on Mobile Computing Systems and Applications (February 1999)Google Scholar
  15. 15.
    Raymond, K.: A Tree-based Algorithm for Distributed Mutual Exclusion. ACM Transactions on Computer Systems 7(1) (1989)Google Scholar
  16. 16.
    Sanders, B.: The Information Structure of Distributed Mutual Exclusion Algorithms. ACM Trans. on Computer Systems 5(3) (1987)Google Scholar
  17. 17.
    Satyanarayanan, M.: Fundamental Challenges in Mobile Computing. In: Proc. of PODC (1996)Google Scholar
  18. 18.
    Singhal, M.: A Heuristically-aided Algorithm for Mutual Exclusion in Distributed Systems. IEEE Trans. on Computers 38(5) (1989)Google Scholar
  19. 19.
    Singhal, M. : A Taxonomy of Distributed Mutual Exclusion, Journal of Parallel and Distributed Computing (18) (1993) Google Scholar
  20. 20.
    Walter, J., Kini, S.: Mutual Exclusion on Multihop, Mobile Wireless Networks, Texas A&M Univ., College Station, TX 77843-3112, TR97-014 (December 9, 1997)Google Scholar
  21. 21.
    Walter, J., Welch, J., Vaidya, N.: A Mutual Exclusion Algorithm for Ad Hoc Mobile Networks. Wireless Networks 9(6) (November 2001)Google Scholar
  22. 22.
    Wu, W., Cao, J., Yang, J.: A Scalable Mutual Exclusion Algorithm for Mobile Ad Hoc Networks. In: Proc. of ICCCN (2005)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2007

Authors and Affiliations

  • Weigang Wu
    • 1
  • Jiannong Cao
    • 1
  • Michel Raynal
    • 2
  1. 1.Department of Computing, The Hong Kong Polytechnic University, KowloonHong Kong
  2. 2.IRISA, Campus de Beaulieu, Université de Rennes1, 35042 Rennes CedexFrance

Personalised recommendations