Journal of Systems Engineering and Electronics ›› 2007, Vol. 18 ›› Issue (2): 398-406.

• SOFTWARE ALGORITHM AND SIMULATION • Previous Articles     Next Articles

Ad hoc distributed mutual exclusion algorithm based on token-asking

Wang Zheng1,2, Liu Xin song2 & Li Mei'an2   

  1. 1. School of Economic Information Engineering, Southwestern Univ. of Finance and Economics, Chengdu 610074, P.R.China;
    2. 8010 R&D Computer Science and Engineering College, Univ. of Electronic Science and Technology, Chengdu 610054, P.R.China
  • Online:2007-06-25 Published:2010-01-03

Abstract:

The solution of distributed mutual exclusion is difficult in Ad hoc networks owing to dynamic topologies and mobility. Based on the analysis of the properties of Ad hoc networks and the disadvantages of the traditional algorithms, an improved Ad hoc system model was given and a novel algorithm was presented as AHDME (Ad Hoc Distributed Mutual Exclusion); it was based on the token-asking algorithms. It utilized broadcast to search for the token and to decrease the message complexity of multi-hop Ad hoc networks. Lamport’s timestamp was improved to ensure the time sequence and to prevent nodes from starvation. When compared to traditional algorithms, AHDME does not require the fixed size of request queues and the global system information, which adapts itself to the frequent arrival/departures and the limited computing capability of nodes in Ad hoc networks. Performance analysis and simulation results show that the AHDME algorithm has low message complexity, small space complexity, and short response delay.