| On analyzing and researching the relatively typical security model of P2P networks, it brings forward a trust model for P2P networks based on relationship set. RSTM makes use of relationship set of human society, choosing nodes randomly, making recommendation of the nodes which gives respond information. RSTM computes the current up-to-date value of the trust using principle of attenuation toward the one whose trust value already existed. And carries evaluation through the nodes which offers services, there are some punitive measures to the malicious nodes. It has been proved through experiments, RSTM can eliminate most of the malicious nodes and prevent the collective deceive of them effectively. In addition, the proposed model evaluates the nodes roundly under the circumstance of minishing the search area, therefore the reliability and usability and expansibility of the network are improved. |