对两层结构的P2P—Grid网格模型进行了改进,在超级节点层上增加了分类节点层,即选择超级节点中性能较高的节点存放分类信息。给出了基于流言传播机制的分布式资源查找算法,该算法利用流言传播机制具有传播流言的兴趣随着重复收到某个流言而减少的特点,避免某个节点处理查找信息的负载过大,实现负载平衡,并与传统的泛洪算法进行了比较。模拟实验证明该算法能够缩短资源请求的响应时间,并且减少网格通信开销。
A three-layer P2P-Grid model is proposed which improves the two-layer model. A class-peer is a higher performance peer above super-peer which can store class information. Bases on the rumor-spreading mechanism which can be compared with the traditional flooding mechanism, a resource lookup algorithm is presented. Rumor spreading has the character; the more it received the less it spread, so load balance can realize by avoiding a node's lookup task too heavy. Analysis shows that it can diminish the time of query and optimize the cost of communication.