作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (19): 118-120. doi: 10.3969/j.issn.1000-3428.2008.19.041

• 网络与通信 • 上一篇    下一篇

基于欺负算法的优化算法

吴 宁1,2,马义忠1   

  1. (1. 兰州大学信息科学与工程学院,兰州 730000;2. 兰州工业高等专科学校电气工程系,兰州 730050)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-10-05 发布日期:2008-10-05

Optimal Algorithm Based on Bully Algorithm

WU Ning1,2, MA Yi-zhong1

  

  1. (1. School of Information Science & Engineering, Lanzhou University, Lanzhou 730000; 2. Electrical Engineering Department, Lanzhou Polytechnical College, Lanzhou 730050)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-10-05 Published:2008-10-05

摘要: 分布式算法中的欺负算法在选举协调者的过程中由于传输了大量信包而导致性能降低。该文在分析原有算法及其数学模型的基础上,提出一种优化算法并建立了相应的数学模型,对2种算法进行比较可以得出,优化算法在避免了选举失败或选举错误的基础上有效降低了选举过程中信包的传输数量,提高了通信性能,避免了网络延迟和网络拥塞。

关键词: 分布式算法, 选举算法, 欺负算法, 协调者, 确认消息

Abstract: As a result of transmitting larges numbers of messages in bully algorithm of distributed algorithm, the performance of the communication is degraded. This paper analyzes the defection of Bully algorithm and proposes an optimal algorithm based on it. Comparing the two algorithms, the new algorithm can improve communications performance, avoid network delay and network congestion.

Key words: distributed algorithm, election algorithm, bully algorithm, coordinator, acknowledgement

中图分类号: