P2P网络中广泛存在的“free riding”现象使其在任务协作领域的应用受到了极大制约.为了实现P2P网络环境下的有效任务协作,提出了一种具有激励机制的任务协作逻辑模型.基于Agent理论,首先给出了对等体、半对等体、P2P社区等概念;然后在合同网的框架下提出了面向P2P网络社区的任务协作逻辑模型TCLM—P2P(task collaborative logic model oriented to P2P community).相对于传统的任务协作模型,在合理的前提假设条件下,模型给出了模型公理和协作规则.该模型通过基于虚拟积分的协作算法实现了具有激励机制的P2P网络中的任务分配与协作.原型系统的实现及仿真实验结果表明TCLM—P2P模型具有可行性和有效性:不仅能够激励自利节点主动参与到任务分配与协作中;同时也能在一定程度上抑制节点的free riding行为,从而保障了P2P系统的有序工作.
Traditional P2P networks mainly are applied to file sharing and instant message fields. However, how to perform the task collaboration based on P2P community is a challenging job. The former research work indicated that the task collaboration in P2P network had been greatly restricted by free riding behaviors. To realize effective task allocating and task collaborating in P2P network environment, this paper presents a task collaboration logic model oriented to P2P community. Based on agent and multi-agent theory, the paper firstly introduces some concepts including the peer body, half-peer body and P2P community; then the TCLM-P2P is presented including some collaboration axioms and rulers. In order to enhance the incentive mechanism, virtual score becomes the main goal which each peer endeavor pursues. In addition, based on the contract net protocol, a task collaboration algorithm is presented. The proposed algorithm is composed of two phases. One is the task collaboration and the other is the task second bid when some peers fail to complete the former task. Compared with the traditional task collaboration models, the presented model has the feasible incentive mechanism in the process of task allocation and collaboration. The developed prototype and simulation results indicate that TCLM-P2P model is feasible and effective. It could not only incentivize self-interested peer to participate in task allocation and collaboration, but also restrain peer's free riding behaviors in some degree.