• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (11): 80-83.

• 论文 • 上一篇    下一篇

双向主从式Chord资源搜索算法的研究

许智宏,张竹楼,郭浩,李雪原   

  1. (河北工业大学计算机科学与软件学院,天津 300401)
  • 收稿日期:2011-02-14 修回日期:2011-06-30 出版日期:2011-11-25 发布日期:2011-11-25

Research of the Bidirectional MasterSlave Chord Resource Search Algorithm

XU Zhihong,ZHANG Zhulou,GUO Hao,LI Xueyuan   

  1. (School of Computer Science and Software,Hebei University of Technology,Tianjin 300401,China)
  • Received:2011-02-14 Revised:2011-06-30 Online:2011-11-25 Published:2011-11-25

摘要:

Chord是一种结构化的P2P网络模型,它具有速度快、无需中心控制、可扩展性强、负载平衡、高容错性能等优点。但是,Chord查找算法为单向查找,当目的节点与当前节点距离较远时,需经多次跳转,增加了路由延迟;Chord中能力较弱的节点来负责系统中大量的查询和下载,以及节点随时加入或离开系统的频繁变迁情况,这样会造成网络查询效率明显下降。改进的算法即双向主从式Chord算法支持双向搜索,并将网络中的节点分为超级节点和普通节点,由评估结果值较高的超级节点组成Chord主环。通过实验证明,改进算法有效地减少了路由跳数,降低了网络延迟。

关键词: 对等网络, 分布式哈希表, Chord, 资源搜索

Abstract:

Chord is a structured P2P network model, it has the advantages of high speed, needing no center control, extensibility, load balance, fault tolerance, etc. But, as Chord is a oneway search algorithm, when the destination node is far from the current node, the routing delay increases because of multihops. And, low ability nodes with responsibility for large numbers of search and download tasks, and the nodes join in or leave the system momentarily and frequently, which can decrease the network efficiency obviously. An improved algorithm called the bidirectional masterslave chord algorithm supports twoway search, and all the network nodes are divided into super nodes and common nodes, and the super nodes with higher evaluation results construct the main ring of Chord. The experimental results show that the improved algorithm can reduce routing hops and network delay effectively.

Key words: peer to peer;distribute hash table;chord;resource search