CN101902459A - Trust selection method and system for nodes in P2P network by applying P4P - Google Patents

Trust selection method and system for nodes in P2P network by applying P4P Download PDF

Info

Publication number
CN101902459A
CN101902459A CN201010127701.3A CN201010127701A CN101902459A CN 101902459 A CN101902459 A CN 101902459A CN 201010127701 A CN201010127701 A CN 201010127701A CN 101902459 A CN101902459 A CN 101902459A
Authority
CN
China
Prior art keywords
node
grouping
evaluation
estimate
empty body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201010127701.3A
Other languages
Chinese (zh)
Other versions
CN101902459B (en
Inventor
孙毅
杨国标
张珺
刘宁
翟海滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN201010127701.3A priority Critical patent/CN101902459B/en
Publication of CN101902459A publication Critical patent/CN101902459A/en
Application granted granted Critical
Publication of CN101902459B publication Critical patent/CN101902459B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates a trust selection method and system nodes in a P2P (peer-to-peer) network by applying P4P. The method comprises the following steps: step 1, grouping the nodes in the P2P network by applying P4P; step 2, presenting the evaluation value of each node upon the completion of the interaction between the node and the other node, and reporting the evaluation value to the management node in the group to which the node belongs; step 3, calculating the level of trust of the virtual node corresponding to the group on the virtual nodes in the network according to the received evaluation value by regarding each group as the virtual node by the management node; step 4, acquiring the strategy matrix via the P4P by the management node, and adjusting the strategy matrix by using the level of trust, so that the higher the level of trust of the virtual node is, the higher the selection proportion corresponding to the virtual nodes in the strategy matrix is; and step 5, selecting the nodes for interaction according to the adjusted selection proportion obtained by the nodes. The invention can increase the level of trust of the group and further increase the probability that the nodes are selected for interaction in the group, thus reducing the network risk.

Description

Node trust selection method and system thereof in the P2P network of application P4P
Technical field
The present invention relates to computer network field, relate in particular to node trust selection method and system thereof in the P2P network of using P4P.
Background technology
Along with the development of P2P (peer-to-peer, end-to-end) technology, P2P uses has become one of main application on the Internet, especially aspect file transfer and streaming media service.But P2P uses to take in a large number in backbone network flow and the network and lacks trusting relationship between the node, has restricted further developing that P2P uses.
P4P (Proactive Provider Participation in P2P, operator initiatively adds among the P2P) be a kind of existing art of up-to-date proposition, it utilizes ISP (ISP) that network is monitored, network is divided into different territories, and then utilizes the strategy matrix guiding node to select.The division in territory, simple method can consideration of regional, and complicated method need be considered factors such as the network bandwidth, Link State.The generation of strategy matrix, simple method can only consider can provide in each territory the number of the node of service, complicated also needs to consider factors such as the network bandwidth, Link State.In the time of providing the node of respective service abundant in the territory, strategy matrix instructs node selection as much as possible territory interior nodes mutual, and the overseas node of the least possible selection is mutual, thereby significantly reduces the taking of backbone network flow, and has promoted the P2P networks development.But the P2P network of using P4P remains the P2P network in essence, still lacks trusting relationship between the node in the network, exist selfish node uncooperative, be unwilling to upload between resource and node the behavior that deception mutually provides invalid even harmful resource.
Solve the method that lacks trusting relationship in the P2P network between the node in the prior art and be divided into two kinds: a kind of PKI of being based on (Public Key Infrastructure, PKIX) trust method of technology, another kind are based on the node trust method of trust evaluation each other.
Utilize central server to come node users in the supervising the network based on the trust method of PKI technology, need be when each node users adds P2P network in central server registration and authentication.Afterwards, central server is provided a certificate to each node users.The certificate of oneself need be issued the receiving node user when the requesting node user applies is mutual, the receiving node user utilizes corresponding encryption and decryption technology to judge whether this certificate is legal after receiving certificate, and then whether decision is mutual with it.The requesting node user adopts to use the same method and judges receiving node user's legitimacy.This method realizes simple, convenient management.But shortcoming is, because the center relies on, exist the problem of performance bottleneck and single point failure, and this method is uncontrollable to the user behavior that adds network.
Trust method based on trust evaluation is estimated mutually by the node of mutual mistake in the network, calculates the degree of belief of node according to these evaluation informations, and node is selected the high node of trust value when selecting mutual node, and then reduces network risks, obtains better service.This method makes full use of node self in the network and retrains separately behavior mutually, gives and good evaluation for show good node always, gives and the evaluation of difference for the bad node of performance.At present, existing trust evaluation model can be divided into two kinds: the model of ungrouped model and grouping.Ungrouped typical model is: EigenTrust model and evidence model.The EigenTrust model calculates local degree of belief according to the transactions history of node, and passes through the iteration of mutual trust degree between neighbours, is that each node in the network calculates a unique global trusting value.Node is collected the evaluation information of neighbor node to respective nodes earlier in the evidence model, utilizes D-S evidence composition rule then.Wherein, EigenTrust model such as document The EigenTrust algorithm for reputationmanagement in P2P networks, Proceedings of the 12 ThDescribed in InternationalConference on World Wide Web (WWW ' 03) .2003:640-651, evidence model such as document An evidential model of distributed reputation management, described in Proceedings of the ACM International Conference Autonomous Agents andMulti-Agent Systems (AAMAS ' 02) .2002:82-93, D-S evidence composition rule such as document A Mathematical Theory of Evidence, Princeton NJ:PrincetonUniversity Press is described in the 1976:10-28.Calculate the trust value of respective nodes.A kind of typical thought of grouping model is the trust value height according to node, is divided into different groups according to certain gradient, and in the computing node trust value, the evaluation of other nodes and the evaluation calculation of self draw the trust value of respective nodes in the utilization group.
Above-mentioned trust evaluation model directly uses can not satisfy two challenges that foundation that P4P gives faith mechanism brings in the P2P network of using P4P: first, the bad behavior of territory interior nodes will influence the generation of P4P strategy matrix, and then the misleading node selects more node mutual in the territory of service ability difference, and in the good territory of service ability, select node still less mutual on the contrary, faith mechanism is not considered strategy matrix is revised in the prior art, reduces the influence of node bad behavior to strategy matrix; The second, the influence of a flow that divided into groups, node is in the good behaviour of grouping interior nodes and not mean that node also can show when mutual between the territory good, needs to distinguish the calculating of trust value between the trust value and grouping intermediate node between the same grouping interior nodes.
Summary of the invention
For addressing the above problem, the invention provides node trust selection method and system thereof in the P2P network of using P4P, the strategy matrix that obtains according to P4P by the evaluation of estimate adjustment that provides between application node, can make that the degree of belief of grouping of node is high more, selected to carry out mutual probability big more for node in this grouping, thereby reduce network risks.
The invention discloses the node trust selection method in the P2P network of a kind of P4P of application, comprising:
Step 1 is used P4P node in the P2P network is divided into groups;
Step 2, in the P2P network, each node provides the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping;
Step 3, management node is grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports;
Step 4, described management node is by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more;
Step 5, node obtains adjusted selection percentage from place management of packets node, selects every group of interior high node of degree of belief to carry out alternately according to described selection percentage.
Described step 2 further is,
Step 21, node are judged alternately whether success after finishing alternately with another node, according to described judgement the completing successfully mutual number of times or do not complete successfully mutual number of times of peer node correspondence in the timing statistics of new record more;
Step 22 is calculated as follows the evaluation of estimate of peer node correspondence,
Figure GSA00000056462500031
S Ij-μ F Ij<0 or S Ij=0 o'clock, p Ij=0
p IjBe the evaluation of estimate of described node i to peer node j, S IjBe that described node i completes successfully mutual number of times, F from peer node j in the timing statistics IjBe that described node i does not complete successfully mutual number of times from peer node j in the timing statistics, μ is the size preset greater than 1 penalty factor;
Step 23, described node reports described management node with evaluation of estimate.
Described step 3 further is,
Step 31, described management node is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kFor described management node in timing statistics, receive for empty body node D jK evaluation of estimate of the node in the corresponding grouping;
Step 32, described management node is with empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
D T ij = D P ij Σ k = 1 M D P ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is by empty body node D iProvide total number of the empty body node of evaluation of estimate.
Described step 4 further is,
Step 41, described management node is by P4P acquisition strategy matrix, and described strategy matrix is expressed as,
sp 11 sp 12 … sp 1n
sp 21 sp 22 … sp 2n
… … … …
sp n1 sp n2 … sp nn
Wherein, empty body node D iThe ratio vector be [sp I1Sp I2Sp In], element is empty body node D in the ratio vector iNode in the corresponding grouping is selected the selection percentage of node in each grouping;
Step 42, described management node determine that the place divides into groups corresponding empty body node to the degree of belief of all empty body nodes in the network, and described degree of belief is formed the degree of belief vector of described empty body node, are expressed as [DT I1DT I2DT In], element is empty body node D in the degree of belief vector iDegree of belief to each empty body node;
Step 43 with the corresponding element addition in the ratio vector sum degree of belief vector of same empty body node or multiply each other, obtains the new vector of described empty body node;
Step 44 is carried out the new ratio vector that normalization obtains described empty body node with each element in the new vector of described empty body node.
Described step 5 further is,
Step 51, node obtains adjusted selection percentage from place management of packets node;
Step 52, node determine to select the number of node from each grouping according to described selection percentage;
Step 53, node comprise the tabulation of the node that service can be provided of respective number respectively to each management of packets node request;
Step 54, node carries out with the node in the described tabulation after obtaining tabulation alternately.
Described step 5 further is,
Step 61, node obtains adjusted selection percentage from place management of packets node;
Step 62, described node determine to select the number of node from each grouping according to described selection percentage;
Step 63, described node can provide the tabulation of the node of service respectively to each management of packets node request, select the node of corresponding number from described tabulation;
Step 64, described node carries out with the node of selecting alternately.
From described tabulation, select the node of corresponding number further to be in the described step 63,
Step 71, described node calculates the trust value of described node to the selected node in the grouping at described place when selecting node from the grouping at place;
Step 72, described node calculates the trust value of described node to the selected node in the grouping at described non-place when selecting node from the grouping at non-place;
Step 73 by described trust value order from high to low, is selected the node of corresponding number from each list of packets.
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described place further is in the described step 71,
Step 81, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record;
Step 82, described node obtains the number to the evaluation of estimate of selected node that node provides each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of node in the grouping of place,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - N 1 LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il
Wherein, t IjBe the trust value of described node i to described selected node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i is to providing evaluation of estimate P to node j in the grouping of place KjThe trust value of node; P LjBe by l the evaluation of estimate of grouping exterior node in node i place in the timing statistics to node j; T IlBe node i to the place grouping outer node j is provided evaluation of estimate P LjThe trust value of node; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes, N to the evaluation of estimate of node j 2The number that provides for the node outside timing statistics interior nodes i place grouping to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping of described place further is in the described step 71,
Step 91, described node sends the trust value of node in being divided into groups in the management node place of record to each management of packets node, and asks described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe by empty body node D in the timing statistics mK the evaluation of estimate that corresponding grouping interior nodes provides to node j; N mBe empty body node D in timing statistics mThe number that corresponding grouping interior nodes provides to node j evaluation of estimate;
Step 92, described node receive the reference trust value for selected node that each grouping management node calculates, and will form with reference to the trust value vector with reference to trust value, are expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network;
Step 93, described node obtains the evaluation of estimate number of the selected node that node provides the grouping of place from place management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure GSA00000056462500071
Wherein, t IjBe the trust value of described node i to selected node j; g IjBe the reference trust value of node i place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i place grouping; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described non-place further is in the described step 72,
Step 101, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record;
Step 102, described node is calculated as follows the trust value of selected node,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - ( N 1 + N 3 ) LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il + e - N 1 LIM ( 1 - e - N 3 LIM ) Σ r = 1 N 3 T ir P rj Σ r = 1 N 3 T ir
Wherein, t IjBe the trust value of described node i to selected node j; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node during other divide into groups except that node j place grouping and the grouping of node i place in timing statistics provides to the evaluation of estimate of node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i provides evaluation of estimate P KjThe trust value of node; P LjBe l the evaluation of estimate that provides by node j place grouping interior nodes in the timing statistics to node j, T IlBe that node i is to providing evaluation of estimate P LjThe trust value of node; P RjBe r the evaluation of estimate that provides by node in other groupings except that grouping of node i place and the grouping of node j place in the timing statistics to node j; T IrBe that node i is to providing evaluation of estimate P RjThe trust value of node; LIM is an interaction times threshold value in the grouping of presetting.
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described non-place further is in the described step 72,
Step 111, described node to described node that each management of packets node sends record to described grouping in the trust value of node, and ask described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 n m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe empty body node D mCorresponding grouping interior nodes is to k the evaluation of estimate of node j; N mBe empty body node D in timing statistics mCorresponding grouping interior nodes is to the number of node j evaluation of estimate;
Step 112, described node receive the reference trust value for selected node that each grouping is calculated, and will form with reference to the trust value vector with reference to trust value, are expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network;
Step 113, described node obtains the evaluation of estimate number of the selected node that provides of node each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure GSA00000056462500082
Wherein, t IjBe the trust value of described node i to the selected node j in the grouping of non-place; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node outside dividing into groups in timing statistics interior nodes j place grouping and node i place provides to the evaluation of estimate of node j; g IjBe the reference trust value of node i place grouping to node j; g JjBe the reference trust value of node j place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i and node j place grouping; LIM is an interaction times threshold value in the grouping of presetting.
Described step 3 further is,
Step 121, described management node are collected the trust value of each node to other nodes from the grouping of place;
Step 122, described management node is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N t k p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kBe empty body node D iNode in the corresponding grouping report for empty body node D jThe evaluation of estimate of the node in the corresponding grouping; t kRepresent empty body node D iNode in the corresponding grouping reports evaluation of estimate p kThe time, other nodes are to the mean value of the trust value of the node that reports in the described grouping;
Step 123, described management node is with empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is empty body node D in the timing statistics iProvide total number of the empty body node of evaluation of estimate.
The node that the invention also discloses in the P2P network of a kind of P4P of application is trusted selective system, comprising: node and management node, and use P4P node division in the P2P network is grouping;
Described node comprises evaluation module and selection module, and described management node comprises degree of belief computing module and strategy matrix adjusting module,
Described evaluation module is used for providing the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping;
Described degree of belief computing module is used for being grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports;
Described strategy matrix adjusting module, be used for by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more;
Described selection module is used for obtaining adjusted selection percentage from place management of packets node, selects to carry out mutual node according to described selection percentage.
Beneficial effect of the present invention is, according to the strategy matrix that P4P obtains, can make that the degree of belief of grouping of node is high more by the evaluation of estimate adjustment that provides between application node, and selected to carry out mutual probability big more for node in this grouping, thus the minimizing network risks; Differentiation is treated between the grouping interior nodes and trust value calculating between the grouping exterior node, when the grouping interior nodes is calculated trust value, and the evaluation information of outstanding grouping interior nodes, the interference of eliminating grouping exterior node; When the grouping intermediate node was calculated trust value, the evaluation information of the intermediate node of emphasizing to divide into groups was to reduce the conspiracy deceptive practices of intranodal on the same group.
Description of drawings
Fig. 1 is the node trust selection method flow chart in the P2P network of application of the present invention P4P;
Fig. 2 uses the schematic diagram of P4P to the P2P network packet;
Fig. 3 is the structure chart that the node in the P2P network of application of the present invention P4P is trusted selective system.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Node trust selection method flow process in the P2P network of application P4P of the present invention as shown in Figure 1.
Step S100 uses P4P node in the P2P network is divided into groups.
Territory according to P4P is divided, and the P2P network is divided into different groupings.Which grouping node specifically belongs to is divided by ISP (ISP).
Use P4P to the schematic diagram of P2P network packet as shown in Figure 2, each node all is divided in the corresponding grouping in the network.Whole network is divided into two-layer, and ground floor is the one-level physical layer, is made up of the node in the P2P network; The second layer is the empty body layer of secondary, is made up of empty body node.Empty body node is a grouping of dividing in the P2P network, and each empty body node comprises a plurality of P2P network nodes, constitutes dummy node 1 as grouping among Fig. 21, and grouping 2 constitutes dummy node 2, and grouping 3 constitutes dummy node 3.
Step S200, in the P2P network, each node provides the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping.
Management node is the node node the highest to its degree of belief in the node of the best performance of selection from grouping or the interior network that divides into groups, and simultaneously for avoiding single point failure, selecting in grouping has most backup management nodes.
There is the multiple method that provides mutual node evaluation of estimate in the prior art, such as, as evaluation of estimate, claim that with the real resource that obtains from respective nodes or service and this node the ratio of the resource that can provide or service is as the evaluation of estimate method with the ratio of the difference of the interaction success number of times and the frequency of failure between the node and interaction success number of times.
Be implemented as follows described among the present invention the method for the evaluation of estimate of egress.
After node is finished alternately, judge it is success or failure alternately at local node, successful then increase that peer node provides service successful number of times for local node in the timing statistics, otherwise, the interior peer node of timing statistics provides serv-fail for local node number of times increased.For the result of failure, think that the peer node performance is bad, need punish peer node, provide relatively poor relatively evaluation of estimate, with the behavior of restraint joint P2P application.
Be calculated as follows
Figure GSA00000056462500111
S Ij-μ F Ij<0 or S Ij=0 o'clock, p Ij=0
p IjBe the evaluation of estimate of node i to node j, S IjBe that timing statistics interior nodes i completes successfully mutual number of times, F from node j IjBe that timing statistics interior nodes i does not complete successfully mutual number of times from node j, μ is the penalty factor greater than 1.Node i is a local node, and node j is a peer node.
Applicating counter control timing statistics in the cycle of whenever finishing a timing statistics, then restarts to add up.
Local node is with evaluation of estimate p kReport management node, p k=p Ij
Step S300, management node is grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports.
Wherein, the empty body node that is calculated degree of belief by management node comprises the empty body node of the grouping correspondence at management node place, and the empty body node of the grouping correspondence of outer other of place grouping.
The embodiment one of described step S300
The empty body node of the grouping correspondence at management node place is expressed as D i, empty body node D iTo empty body node D jEvaluation of estimate be calculated as follows.
DP ij = Σ k = 1 N p k
DP IjBe empty body node D iTo empty body node D jEvaluation of estimate;
N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes, just empty body node D in the timing statistics iNode in the corresponding grouping is with empty body node D jNode in the corresponding grouping carries out mutual total degree;
p kBe empty body node D iNode in the corresponding grouping report for empty body node D jThe evaluation of estimate of the node in the corresponding grouping, k represents evaluation of estimate p kBe empty body node D in timing statistics iThe k that corresponding grouping interior nodes reports is individual for empty body node D jThe evaluation of estimate of the node in the corresponding grouping.
With empty body node D iTo the evaluation of estimate normalization of Dummy node in the network, income value is empty body node D iDegree of belief to Dummy node in the network.
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is empty body node D iProvide total number of the empty body node of evaluation of estimate.
Step S400, described management node is by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more.
Can obtain the following strategy matrix of form by P4P:
sp 11 sp 12 … sp 1n
sp 21 sp 22 … sp 2n
… … … …
sp n1 sp n2 … sp nn
Each row in the strategy matrix has indicated node in the grouping of empty body node correspondence of correspondence of this row is selected the node number in each grouping selection percentage, empty body node D iThe ratio vector be [sp I1Sp I2Sp In], element is empty body node D in this ratio vector iNode in the corresponding grouping is selected the ratio of node in each grouping.Sp for example IjRepresent empty body node D iNode in the corresponding grouping is at empty body node D jThe quantity of selecting to be used for mutual node in the corresponding grouping is carried out the ratio of mutual node in all selections of this node; Sp IiRepresent that then node selection in its place grouping is used for the ratio of all nodes that account for this node selection of mutual node.The number of dividing into groups in the network is expressed as n.
Use described empty body node the degree of belief of empty body node in the network is adjusted described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more.
Management node determines that the place divides into groups corresponding empty body node to the degree of belief of all empty body nodes in the network, and described degree of belief is formed the degree of belief vector of described empty body node, is expressed as [DT I1DT I2DT In], element is empty body node D in the degree of belief vector iDegree of belief to each empty body node.
Described management node judges whether to calculate to empty body node degree of belief, if be the management node place degree of belief of corresponding empty body node to described empty body node of dividing into groups with the degree of belief of calculating then; Otherwise, be the management node place degree of belief of corresponding empty body node of dividing into groups to described empty body node with default default value.
For example, empty body node D iTo the degree of belief vector is [DT I1DT I2DT In], DT IjRepresent empty body node D iTo empty body node D jDegree of belief, this degree of belief calculate to obtain by management node, if not to empty body node D jCalculate just empty body node D iNode is not also with empty body node D in the corresponding grouping jNode is mutual in the corresponding grouping, empty body node D iManagement node do not obtain for empty body node D jThe evaluation of estimate of node, then degree of belief DT in the corresponding grouping IjBe default default value.
Described strategy matrix method of adjustment one
Step S410 obtains one newly to heavy, [sp with the element of ratio vector and the corresponding element addition of degree of belief vector I1+ DT I1Sp I2+ DT I2Sp In+ DT In].
Step S420 obtains the element normalization of new vector the adjusted new ratio vector [sp of empty body node I1' sp I2' ... sp In'], wherein the normalization of each element is undertaken by following formula,
sp il ′ = sp il + D T il Σ k = 1 n ( sp ik + DT ik ) .
Described strategy matrix method of adjustment two
Step S410 ', the corresponding element of the element of ratio vector and degree of belief vector multiplied each other obtains a new vector, [sp I1DT I1Sp I2DT I2Sp InDT In].
Step S420 ' obtains the element normalization of new vector the adjusted new ratio vector [sp of empty body node I1' sp I2' ... sp In'], wherein the normalization of each element is undertaken by following formula,
sp il ' = sp il DT il Σ k = 1 n sp ik DT ik .
Step S500, node obtains adjusted selection percentage from place management of packets node, selects to carry out mutual node according to described selection percentage.
The execution mode one of described step S500
Node obtains adjusted selection percentage from place management of packets node; Node determines to select the number of node from each grouping according to described selection percentage; Node comprises the tabulation of the node that service can be provided of respective number respectively to each management of packets node request; Node carries out with the node in the described tabulation after obtaining tabulation alternately.
For example, node will select X node to carry out when mutual in network, and management node obtains adjusted ratio vector in divide into groups earlier, if a plurality of management nodes are arranged, then selects a management node to obtain the ratio vector at random.According to the definite number of adjusted ratio vector, [Xsp to the mutual node of each minute group selection I1Xsp I2Xsp In].Node is respectively to the tabulation of the node that service can be provided of each management of packets node request respective number.After node obtains tabulation, carry out alternately with the node in the tabulation.
The embodiment two of described step S500
Step S510, node obtains adjusted selection percentage from place management of packets node.
Step S520, node determine to select the number of node from each grouping according to described selection percentage.
Step S530, node can provide the tabulation of the node of service respectively to each management of packets node request, select the node of corresponding number from described tabulation.
Step S540, node carries out with the node of selecting alternately.
Selection mode comprises multiple, for example selects at random, and perhaps the mode of S600 is selected set by step.
From described tabulation, select in the described step 83 to carry out mutual node further be,
Step S600, described node calculate the trust value of described node to selecteed node in the grouping of place when selecting node from the grouping at place; Described node calculates the trust value of described node to selecteed node in the grouping at described non-place when selecting node from the grouping at non-place; By described trust value order from high to low, from each list of packets, select the node of corresponding number.
The non-place grouping of node is meant the grouping that does not comprise described node.
Adopt step S600 system of selection, not only can guarantee node as much as possible in the corresponding grouping of the high empty body node of degree of belief, select mutual node, in each grouping, also need to select credible node to carry out alternately as far as possible.
It is following described that described node calculates the embodiment one of same grouping interior nodes trust value.
After described node has calculated trust value, write down the trust value that calculates, and described trust value is reported management node.
Step 611, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record.
Step 612, described node obtains the number to the evaluation of estimate of selected node that node provides each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of node in the grouping of place,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - N 1 LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il
Wherein, t IjBe the trust value of described node i to described selected node j;
P KjBe k evaluation of estimate in the grouping of timing statistics interior nodes i place to node j;
T IkBe to provide k the trust value to the node of the evaluation of estimate of node j in timing statistics interior nodes i divides into groups to the place, just node i is to providing evaluation of estimate P KjThe trust value of node;
P LjBe outer l the evaluation of estimate of timing statistics interior nodes i place grouping to node j;
T IlBe to provide l the trust value to the node of the evaluation of estimate of node j outside timing statistics interior nodes i divides into groups to the place, just node i is to providing evaluation of estimate P LjThe trust value of node;
N 1It is the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j;
N 2It is the number that the node outside the grouping of timing statistics interior nodes i place provides to node j evaluation of estimate;
LIM is an interaction times threshold value in the grouping of presetting.
In this embodiment, node is divided into two groups with the information of selected node, one group of evaluation information that is the grouping interior nodes to selected node, and another group is the evaluation informations of other packet nodes to selected node.
It is as described below that described node calculates the embodiment two of same grouping interior nodes trust value.
After described node has calculated trust value, write down the trust value that calculates, and described trust value is reported management node.
Step 611 ', described node sends the trust value of node in being divided into groups in the management node place of record to each management of packets node, and asks described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe by empty body node D in the timing statistics mK the evaluation of estimate that corresponding grouping interior nodes provides to node j; N mBe empty body node D in timing statistics mThe number that corresponding grouping interior nodes provides to node j evaluation of estimate.
Step 612 ', described node receives the reference trust value for selected node that each grouping is calculated, and will form with reference to the trust value vector with reference to trust value, is expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network.
Step 613 ', described node obtains the evaluation of estimate number of the selected node that node provides the grouping of place from place management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure GSA00000056462500161
Wherein, t IjBe the trust value of described node i to selected node j;
g IjBe the reference trust value of node i place grouping to node j;
g KjBe to divide into groups to the reference trust value of node j except that other of node i place grouping;
N 1It is the number that provides in timing statistics interior nodes i place grouping interior nodes to node j evaluation of estimate;
LIM is an interaction times threshold value in the grouping of presetting.
For the calculating of trust value between the grouping interior nodes, specific implementation method one node obtains all evaluation informations, directly calculates the trust value of selected node by these evaluation informations; To be each management of packets nodes of node request calculate the reference trust value of this grouping to selected node according to the evaluation information of this grouping to specific implementation method two, selects node to obtain these with reference to the trust value that calculates selected node after the trust value again.Specific implementation method one alleviates the pressure of management node, and specific implementation method two is for selecting node, and the trust value that calculates selected node is more convenient.
It also is to divide into groups in selecteed node place that specific implementation method one and specific implementation method two have all considered to utilize node place grouping, this grouping, the number of evaluation information give prominence to the evaluation information of this grouping.Node and selecteed node in this grouping mutual more after a little while, the evaluation of estimate to selecteed node that node provided during other divided into groups is considered as that node provides the evaluation of estimate of selecteed node of equal importance in the grouping with selecteed node place.And when mutual abundant of node in the selecteed node place grouping and selecteed node, node provides in other groupings to the importance reduction of the evaluation of estimate of selecteed node.Thereby, in above-mentioned formula, use predetermined threshold value LIM, when the evaluation of estimate number to selecteed node that provides in selecteed node place grouping interior nodes was less than this threshold value, the significance level to the evaluation of estimate of selecteed node that node provides in other groupings divides into groups to the evaluation of estimate of selecteed node and selecteed node place that interior nodes provides was suitable.Selecteed node place grouping interior nodes provide to the evaluation of estimate number of selecteed node during much larger than this threshold value, the node of other groupings provides to be compared with the evaluation of estimate to selecteed node that selecteed node place grouping interior nodes provides the evaluation of estimate of selecteed node, importance lightens, and almost can ignore.
Use the aforementioned calculation formula, along with grouping inner evaluation value number N 1Increase, the importance of the evaluation of estimate that the grouping interior nodes provides improves, the importance of the evaluation of estimate that the grouping exterior node provides descends, so more can estimate out really by evaluation node the service ability in dividing into groups, the interference that exterior node estimates of also can better avoiding simultaneously dividing into groups, because node is subjected to the influence of flow control between the P4P territory poor to the ability of grouping exterior node service, the exterior node that causes dividing into groups is estimated bad to it.Simultaneously, some that also can play opposing grouping exterior node are slandered behavior.
When node is selected node in other groupings, also want to calculate a trust value for the node that service can be provided earlier, then node is being sorted according to trust value in the grouping separately from high to low, in each grouping, select the high node of trust value to communicate at last.
When node calculated the place outer selected node trust value of grouping, what value was selected node provides service to the grouping exterior node ability.Therefore reduce the evaluation of selected node place grouping because be subjected to the control of flow between the P4P territory, the evaluation of selected node place grouping can not fine embodiment its ability of service is provided for the grouping exterior node.
The embodiment one of the node trust value that described node calculating place grouping is outer is following described.
The trust value that described nodes records is calculated.
Step 621, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record.
Step 622, described node is calculated as follows the trust value of selected node,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - ( N 1 + N 3 ) LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il + e - N 1 LIM ( 1 - e - N 3 LIM ) Σ r = 1 N 3 T ir P rj Σ r = 1 N 3 T ir
Wherein, t IjBe the trust value of described node i to selected node j;
N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j;
N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate;
N 3It is the number that node during other divide into groups except that node j place grouping and the grouping of node i place in timing statistics provides to the evaluation of estimate of node j;
P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i provides evaluation of estimate P KjThe trust value of node;
P LjBe l the evaluation of estimate that provides by node j place grouping interior nodes in the timing statistics to node j, T IlBe that node i is to providing evaluation of estimate P LjThe trust value of node;
P RjBe r the evaluation of estimate that provides by node in other groupings except that grouping of node i place and the grouping of node j place in the timing statistics to node j, T IrBe that node i is to providing evaluation of estimate P RjThe trust value of node;
LIM is an interaction times threshold value in the grouping of presetting.
In embodiment one, select node that information is divided into three groups, one group of evaluation information that is grouping interior nodes in node place to selected node, one group of evaluation information that is selected node place packet node to selected node, the 3rd group is the evaluation information conduct of other each packet nodes of residue to selected node.The grouping of corresponding normalized node i place is to the trust evaluation value of node j respectively for equal sign the right three parts in the formula, and normalized node j place group is to the trust evaluation value of node j, and other groupings of normalized residue are to the trust evaluation value of node j.
The embodiment two of the node trust value that described node calculating place grouping is outer is as described below.
The trust value that described nodes records is calculated.
Step 621 ', described node to described node that each management of packets node sends record to described grouping in the trust value of node, and ask described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe empty body node D mCorresponding grouping interior nodes is to k the evaluation of estimate of node j; N mBe empty body node D in timing statistics mCorresponding grouping interior nodes is to the number of node j evaluation of estimate.
Step 622 ', described node receives the reference trust value for selected node that each grouping is calculated, and will form with reference to the trust value vector with reference to trust value, is expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network.
Step 623 ', described node obtains the evaluation of estimate number of the selected node that provides of node each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Wherein, t IjBe the trust value of described node i to the selected node j in the grouping of non-place;
N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j;
N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate;
N 3It is the number that node outside dividing into groups in timing statistics interior nodes j place grouping and node i place provides to the evaluation of estimate of node j;
g IjBe the reference trust value of node i place grouping to node j;
g JjBe the reference trust value of node j place grouping to node j;
g KjBe to divide into groups to the reference trust value of node j except that other of node i and node j place grouping;
LIM is an interaction times threshold value in the grouping of presetting.
Calculating to trust value between the grouping exterior node, specific implementation method one and specific implementation method two make that all the evaluation information importance of the node place grouping selected is the highest, the evaluation information importance of selected node place grouping is minimum, and the evaluation information importance of other each groupings falls between.
At N 1Smaller, when the evaluation information of the node place grouping of selecting will be not enough to the trust value of the selected node of authentic assessment, the importance of all the other evaluation informations that respectively divide into groups of third part uprised.Only at N 1And N 3In the time of all smaller, the evaluation information of the selected node of second portion place grouping just is much accounted of.The trust value of selected node could be estimated out so more really, the interference of the conspiracy deceptive practices of selected node place grouping can be reduced simultaneously.
No matter be with selecting alternately between the grouping interior nodes or selecting mutual between the different grouping interior nodes, can both determine the trust value of selected node between the node more accurately, after selecting node that selected node is just sorted according to trust value, selection comes the node of front, it is mutual to obtain the high node of more reliabilities, reduces network risks.
The embodiment two of described step S300
Described management node is collected the trust value of each node to other nodes from the grouping of place.
Described management node is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N t k p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate;
N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes;
p kBe empty body node D iNode in the corresponding grouping report for empty body node D jThe evaluation of estimate of the node in the corresponding grouping;
t kRepresent empty body node D iNode in the corresponding grouping reports evaluation of estimate p kThe time, other nodes are to the mean value of the trust value of the node that reports in the described grouping.
Described management node is with empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is empty body node D in the timing statistics iProvide total number of the empty body node of evaluation of estimate.
Evaluation information after each empty body node utilizes node in the grouping corresponding with dummy node in the network of the grouping interior nodes of its correspondence mutual in the embodiment two of described step S300 can calculate this empty body node to network in the evaluation of estimate of empty body node, must consider simultaneously in the computational process that node provides when estimating the trust value of self.Consider the trust value of evaluation node self, can give prominence to that evaluation information that the high node of trust value provides is more worth believes that the confidence level of the evaluation information that the node that trust value is low provides is lower, and then reflect the trust value of empty body node more accurately.
In preferred methods of the present invention, select the management of packets node as follows.
In each grouping, choose in the group trust value surpass the pre-set threshold value node as management node or with node by the group of correspondence between trust value sequence arrangement from big to small, select preceding K node as management node, K is a default value.When the grouping interior nodes provides a certain node evaluation of estimate, these evaluations of estimate need be reported these management nodes respectively.
Can choose the higher relatively node of the interior trust value of group as management node.In order to guarantee not because management node leaves and causes evaluation information to report nowhere maybe can't to calculate trust value, at least choose 10 management nodes in general each group, on give the correct time and evaluation information reported each management node as backup, 10 very little 1-0.5 of probability that management node is not online 10≈ 0.999.When a management node rolls off the production line, can choose a new management node and substitute.
Compare with the faith mechanism in the existing P2P network, the present invention has following advantage.The present invention has made full use of the P4P technology P2P network has been divided into not same area and the characteristics that strategy matrix is provided, utilize the mode of grouping that node trust value in the network is carried out management of computing, put all nodes in the network under different grouping easily, the packet mode in other patents is effectively simple more.Because the division of network domains is that ISP by awareness network state carries out among the P4P, division more reasonable.And on node is selected, under the guidance of strategy matrix, accomplished that the territory interior nodes selects the node in the territory mutual more.On this basis, when the present invention calculates at the network node trust value, the evaluation of outstanding this group interior nodes of calculating of the mutual trust value of group interior nodes, emphasize the quality of node performance in group, the quality of node to the performance of group exterior node emphasized in the evaluation of the outstanding group of the calculating intermediate node of the mutual trust value of group intermediate node.Like this, mutual for the group interior nodes, slandering of the exterior node of minimizing group effectively, mutual for the group intermediate node, can avoid organizing interior nodes effectively and conspire organizing the deceptive practices of exterior node.The present invention also treats as an empty body node to each group, and calculated trust value for it, and then the trust value of utilization group goes to adjust the pro rate that node in the strategy matrix is selected, and improves the ratio of selecting in the high group interior nodes of trust value, reduces the ratio that the low group interior nodes of trust value is selected.Making node can choose the high node of more trust values carries out reducing network risks alternately.
The structure of the node trust selective system in the P2P network of application P4P of the present invention is shown in Figure 3, comprising: node 200 and management node 100, and use P4P node division in the P2P network is grouping.
Node 200 comprises evaluation module and selects module that management node 100 comprises degree of belief computing module and strategy matrix adjusting module.
Evaluation module is used for providing the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping.
The degree of belief computing module is used for being grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports.
Wherein, the empty body node that is calculated degree of belief by the degree of belief computing module of management node comprises the empty body node of the grouping correspondence at management node place, and the empty body node of the grouping correspondence of outer other of place grouping.
The strategy matrix adjusting module, be used for by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more.
Select module, be used for obtaining adjusted selection percentage, select to carry out mutual node according to described selection percentage from place management of packets node.
Wherein, management node be the high server of performance or from grouping the node selected as management node.
In the preferred implementation, described evaluation module is further used at the place node after finishing alternately with another node, judge alternately whether success, according to described judgement the completing successfully mutual number of times or do not complete successfully mutual number of times of peer node correspondence in the timing statistics of new record more; Be calculated as follows the evaluation of estimate of peer node correspondence,
S Ij-μ F Ij<0 or S Ij=0 o'clock, p Ij=0
p IjBe the evaluation of estimate of described node i to peer node j, S IjBe that described node i completes successfully mutual number of times, F from peer node j in the timing statistics IjBe that described node i does not complete successfully mutual number of times from peer node j in the timing statistics, μ is the size preset greater than 1 penalty factor; Evaluation of estimate is reported described management node.
In the preferred implementation, described degree of belief computing module further is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kFor described management node in timing statistics, receive for empty body node D jK evaluation of estimate of the node in the corresponding grouping; With empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is by empty body node D iProvide total number of the empty body node of evaluation of estimate.
In the preferred implementation, described strategy matrix adjusting module is further used for by P4P acquisition strategy matrix, and described strategy matrix is expressed as,
sp 11 sp 12 … sp 1n
sp 21 sp 22 … sp 2n
… … … …
sp n1 sp n2 … sp nn
Wherein, empty body node D iThe ratio vector be [sp I1Sp I2Sp In], element is empty body node D in the ratio vector iNode in the corresponding grouping is selected the selection percentage of node in each grouping; Determine that the place divides into groups corresponding empty body node to the degree of belief of all empty body nodes in the network, described degree of belief is formed the degree of belief vector of described empty body node, be expressed as [DT I1DT I2DT In], element is empty body node D in the degree of belief vector iDegree of belief to each empty body node; With the ratio vector sum degree of belief addition of vectors of same empty body node, obtain the new vector of described empty body node; Each element in the new vector of described empty body node is carried out the new ratio vector that normalization obtains described empty body node.
In the preferred implementation, described strategy matrix adjusting module is further used for by P4P acquisition strategy matrix, and described strategy matrix is expressed as,
sp 11 sp 12 … sp 1n
sp 21 sp 22 … sp 2n
… … … …
sp n1 sp n2 … sp nn
Wherein, empty body node D iThe ratio vector be [sp I1Sp I2Sp In], element is empty body node D in the ratio vector iNode in the corresponding grouping is selected the selection percentage of node in each grouping; Determine that the place divides into groups corresponding empty body node to the degree of belief of all empty body nodes in the network, described degree of belief is formed the degree of belief vector, be expressed as [DT I1DT I2DT In], element is empty body node D in the degree of belief vector iDegree of belief to each empty body node; Corresponding element in the ratio vector sum degree of belief vector of same empty body node is multiplied each other, obtain the new vector of described empty body node; Each element in the new vector of described empty body node is carried out the new ratio vector that normalization obtains described empty body node.
Further in the preferred implementation, described strategy matrix adjusting module is determining that the place corresponding empty body node that divides into groups is further used for judging whether having calculated to empty body node degree of belief during the degree of belief of all empty body nodes in to network, if be the management node place degree of belief of corresponding empty body node of dividing into groups then to described empty body node with the degree of belief of calculating; Otherwise, be the management node place degree of belief of corresponding empty body node of dividing into groups to described empty body node with default default value.
In the preferred implementation, described selection module is further used for obtaining adjusted selection percentage from affiliated node place management of packets node; Determine from each grouping, to select the number of node according to described selection percentage; Comprise the tabulation of the node that service can be provided of respective number respectively to each management of packets node request; After obtaining tabulation, carry out alternately with the node in the described tabulation.
In the preferred implementation, described selection module is further used for obtaining adjusted selection percentage from affiliated node place management of packets node; Determine from each grouping, to select the number of node according to described selection percentage; The tabulation of the node of service can be provided to each management of packets node request respectively, from described tabulation, select the node of corresponding number; Carry out alternately with the node of selecting.
In the preferred implementation, described selection module is further used for calculating the trust value of described node to the selected node in the grouping at described place when selecting the node of corresponding number from described tabulation when selecting node from the grouping at place; When from the grouping at non-place, selecting node, calculate the trust value of described node to the selected node in the grouping at described non-place; By described trust value order from high to low, from each list of packets, select the node of corresponding number, carry out alternately with the node of selecting.
Further in the preferred implementation, described selection module also is used to write down the trust value of calculating;
Described selection module is further used in each management of packets node obtains timing statistics each grouping node to the evaluation of estimate of selecteed node when calculating described node to the trust value of the selected node in the grouping at described place, obtain the trust value of described node to the node that provides evaluation of estimate from record; Obtain the number that node provides each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of node in the grouping of place the evaluation of estimate of selected node,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - N 1 LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il
Wherein, t IjBe the trust value of described node i to described selected node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i is to providing evaluation of estimate P to node j in the grouping of place KjThe trust value of node; P LjBe by l the evaluation of estimate of grouping exterior node in node i place in the timing statistics to node j; T IlBe node i to the place grouping outer node j is provided evaluation of estimate P LjThe trust value of node; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes, N to the evaluation of estimate of node j 2The number that provides for the node outside timing statistics interior nodes i place grouping to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
Further in the preferred implementation, described selection module also is used to write down the trust value of calculating;
Described selection module when calculating described node, be further used for the trust value of the selected node in the grouping of described place to affiliated node that each management of packets node sends record to the grouping of management node place in the trust value of node, and ask described management node to be calculated as follows the reference trust value of place grouping to selected node
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe by empty body node D in the timing statistics mK the evaluation of estimate that corresponding grouping interior nodes provides to node j; N mBe empty body node D in timing statistics mThe number that corresponding grouping interior nodes provides to node j evaluation of estimate; Receive the reference trust value that each grouping management node calculates, will form with reference to the trust value vector, be expressed as [g with reference to trust value for selected node 1jg 2jG IjG Wj], w is the number of dividing into groups in the network; Obtain the evaluation of estimate number of the selected node that node provides the grouping of place from place management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure GSA00000056462500252
Wherein, t IjBe the trust value of described node i to selected node j; g IjBe the reference trust value of node i place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i place grouping; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
Further in the preferred implementation, described selection module also is used to write down the trust value of calculating;
Described selection module is further used in each management of packets node obtains timing statistics each grouping node to the evaluation of estimate of selecteed node when calculating described node to the trust value of the selected node in the grouping at described non-place, obtain the trust value of described node to the node that provides evaluation of estimate from record; Be calculated as follows the trust value of selected node,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - ( N 1 + N 3 ) LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il + e - N 1 LIM ( 1 - e - N 3 LIM ) Σ r = 1 N 3 T ir P rj Σ r = 1 N 3 T ir
Wherein, t IjBe the trust value of described node i to selected node j; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node during other divide into groups except that node j place grouping and the grouping of node i place in timing statistics provides to the evaluation of estimate of node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i provides evaluation of estimate P KjThe trust value of node; P LjBe l the evaluation of estimate that provides by node j place grouping interior nodes in the timing statistics to node j, T IlBe that node i is to providing evaluation of estimate P LjThe trust value of node; P RjBe r the evaluation of estimate that provides by node in other groupings except that grouping of node i place and the grouping of node j place in the timing statistics to node j; T IrBe that node i is to providing evaluation of estimate P RjThe trust value of node; LIM is an interaction times threshold value in the grouping of presetting.
Further in the preferred implementation, described selection module also is used to write down the trust value of calculating;
Described selection module when calculating described node, be further used for the trust value of the selected node in the grouping at described non-place to described node that each management of packets node sends record to described grouping in the trust value of node, and ask described management node to be calculated as follows the reference trust value of place grouping to selected node
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe empty body node D mCorresponding grouping interior nodes is to k the evaluation of estimate of node j; N mBe empty body node D in timing statistics mCorresponding grouping interior nodes is to the number of node j evaluation of estimate; Receive the reference trust value that each management of packets node calculates, will form with reference to the trust value vector, be expressed as [g with reference to trust value for selected node 1jg 2jG IjG Wj], w is the number of dividing into groups in the network; Obtain the evaluation of estimate number of the selected node that in timing statistics, provides of node each grouping from each management of packets node, be calculated as follows the trust value of described selected node,
Figure GSA00000056462500271
Wherein, t IjBe the trust value of described node i to the selected node j in the grouping of non-place; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node outside dividing into groups in timing statistics interior nodes j place grouping and node i place provides to the evaluation of estimate of node j; g IjBe the reference trust value of node i place grouping to node j; g JjBe the reference trust value of node j place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i and node j place grouping; LIM is an interaction times threshold value in the grouping of presetting.
Further in the preferred implementation, described degree of belief technology modules is further used for collecting the trust value of each node to other nodes from the grouping of affiliated management node place; Be grouped into empty body node with each, the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D jTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N t k p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kBe empty body node D iNode in the corresponding grouping report for empty body node D jThe evaluation of estimate of the node in the corresponding grouping; t kRepresent empty body node D iNode in the corresponding grouping reports evaluation of estimate p kThe time, other nodes are to the mean value of the trust value of the node that reports in the described grouping; With empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is empty body node D in the timing statistics iProvide total number of the empty body node of evaluation of estimate.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.

Claims (13)

1. the node trust selection method in the P2P network of using P4P is characterized in that, comprising:
Step 1 is used P4P node in the P2P network is divided into groups;
Step 2, in the P2P network, each node provides the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping;
Step 3, management node is grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports;
Step 4, described management node is by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more;
Step 5, node obtains adjusted selection percentage from place management of packets node, selects the high node of degree of belief to carry out alternately according to described selection percentage in every group.
2. the node trust selection method in the P2P network of application as claimed in claim 1 P4P is characterized in that, described step 2 further is,
Step 21, node are judged alternately whether success after finishing alternately with another node, according to described judgement the completing successfully mutual number of times or do not complete successfully mutual number of times of peer node correspondence in the timing statistics of new record more;
Step 22 is calculated as follows the evaluation of estimate of peer node correspondence,
Figure FSA00000056462400011
S Ij-μ F Ij<0 or S Ij=0 o'clock, p Ij=0
p IjBe the evaluation of estimate of described node i to peer node j, S IjBe that described node i completes successfully mutual number of times, F from peer node j in the timing statistics IjBe that described node i does not complete successfully mutual number of times from peer node j in the timing statistics, μ is the size preset greater than 1 penalty factor;
Step 23, described node reports described management node with evaluation of estimate.
3. the node trust selection method in the P2P network of application as claimed in claim 1 P4P is characterized in that, described step 3 further is,
Step 31, described management node is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kFor described management node in timing statistics, receive for empty body node D jK evaluation of estimate of the node in the corresponding grouping;
Step 32, described management node is with empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is by empty body node D iProvide total number of the empty body node of evaluation of estimate.
4. the node trust selection method in the P2P network of application as claimed in claim 1 P4P is characterized in that, described step 4 further is,
Step 41, described management node is by P4P acquisition strategy matrix, and described strategy matrix is expressed as,
sp 11?sp 12?…?sp 1n
sp 21?sp 22?…?sp 2n
… … …?…
sp n1?sp n2?…?sp nn
Wherein, empty body node D iThe ratio vector be [sp I1Sp I2Sp In], element is empty body node D in the ratio vector iNode in the corresponding grouping is selected the selection percentage of node in each grouping;
Step 42, described management node determine that the place divides into groups corresponding empty body node to the degree of belief of all empty body nodes in the network, and described degree of belief is formed the degree of belief vector of described empty body node, are expressed as [DT I1DT I2DT In], element is empty body node D in the degree of belief vector iDegree of belief to each empty body node;
Step 43 with the corresponding element addition in the ratio vector sum degree of belief vector of same empty body node or multiply each other, obtains the new vector of described empty body node;
Step 44 is carried out the new ratio vector that normalization obtains described empty body node with each element in the new vector of described empty body node.
5. the node trust selection method in the P2P network of application P4P as claimed in claim 1 is characterized in that,
Described step 5 further is,
Step 51, node obtains adjusted selection percentage from place management of packets node;
Step 52, node determine to select the number of node from each grouping according to described selection percentage;
Step 53, node comprise the tabulation of the node that service can be provided of respective number respectively to each management of packets node request;
Step 54, node carries out with the node in the described tabulation after obtaining tabulation alternately.
6. the node trust selection method in the P2P network of application P4P as claimed in claim 1 is characterized in that,
Described step 5 further is,
Step 61, node obtains adjusted selection percentage from place management of packets node;
Step 62, described node determine to select the number of node from each grouping according to described selection percentage;
Step 63, described node can provide the tabulation of the node of service respectively to each management of packets node request, select the node of corresponding number from described tabulation;
Step 64, described node carries out with the node of selecting alternately.
7. the node trust selection method in the P2P network of application P4P as claimed in claim 6 is characterized in that, selects the node of corresponding number further to be in the described step 63 from described tabulation,
Step 71, described node calculates the trust value of described node to the selected node in the grouping at described place when selecting node from the grouping at place;
Step 72, described node calculates the trust value of described node to the selected node in the grouping at described non-place when selecting node from the grouping at non-place;
Step 73 by described trust value order from high to low, is selected the node of corresponding number from each list of packets.
8. the node trust selection method in the P2P network of application P4P as claimed in claim 7 is characterized in that,
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described place further is in the described step 71,
Step 81, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record;
Step 82, described node obtains the number to the evaluation of estimate of selected node that node provides each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of node in the grouping of place,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - N 1 LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il
Wherein, t IjBe the trust value of described node i to described selected node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i is to providing evaluation of estimate P to node j in the grouping of place KjThe trust value of node; P LjBe by l the evaluation of estimate of grouping exterior node in node i place in the timing statistics to node j; T IlBe node i to the place grouping outer node j is provided evaluation of estimate P LjThe trust value of node; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes, N to the evaluation of estimate of node j 2The number that provides for the node outside timing statistics interior nodes i place grouping to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
9. the node trust selection method in the P2P network of application P4P as claimed in claim 7 is characterized in that,
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping of described place further is in the described step 71,
Step 91, described node sends the trust value of node in being divided into groups in the management node place of record to each management of packets node, and asks described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjEmpty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe by empty body node D in the timing statistics mK the evaluation of estimate that corresponding grouping interior nodes provides to node j; N mBe empty body node D in timing statistics mThe number that corresponding grouping interior nodes provides to node j evaluation of estimate;
Step 92, described node receive the reference trust value for selected node that each grouping is calculated, and will form with reference to the trust value vector with reference to trust value, are expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network;
Step 93, described node obtains the evaluation of estimate number of the selected node that node provides the grouping of place from place management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure FSA00000056462400051
Wherein, t IjBe the trust value of described node i to selected node j; g IjBe the reference trust value of node i place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i place grouping; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to node j evaluation of estimate; LIM is an interaction times threshold value in the grouping of presetting.
10. the node trust selection method in the P2P network of application P4P as claimed in claim 7 is characterized in that,
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described non-place further is in the described step 72,
Step 101, described node in each management of packets node obtains timing statistics each grouping node the evaluation of estimate of selecteed node is obtained the trust value of described node to the node that provides evaluation of estimate from record;
Step 102, described node is calculated as follows the trust value of selected node,
t ij = ( 1 - e - N 1 LIM ) Σ k = 1 N 1 T ik P kj Σ k = 1 N 1 T ik + e - ( N 1 + N 3 ) LIM Σ l = 1 N 2 T il P lj Σ l = 1 N 2 T il + e - N 1 LIM ( 1 - e - N 3 LIM ) Σ r = 1 N 3 T ir P rj Σ r = 1 N 3 T ir
Wherein, t IjBe the trust value of described node i to selected node j; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node during other divide into groups except that node j place grouping and the grouping of node i place in timing statistics provides to the evaluation of estimate of node j; P KjBe k the evaluation of estimate that provides by node i place grouping interior nodes in the timing statistics to node j, T IkBe that node i provides evaluation of estimate P KjThe trust value of node; P LjBe l the evaluation of estimate that provides by node j place grouping interior nodes in the timing statistics to node j, T IlBe that node i is to providing evaluation of estimate P LjThe trust value of node; P RjBe r the evaluation of estimate that provides by node in other groupings except that grouping of node i place and the grouping of node j place in the timing statistics to node j; T IrBe that node i is to providing evaluation of estimate P RjThe trust value of node; LIM is an interaction times threshold value in the grouping of presetting.
11. the node trust selection method in the P2P network of application P4P as claimed in claim 7 is characterized in that,
Described step 63 also comprises, the trust value that described nodes records is calculated;
The described node of calculating to the trust value of the selected node in the grouping at described non-place further is in the described step 72,
Step 11l, described node to described node that each management of packets node sends record to described grouping in the trust value of node, and ask described management node to be calculated as follows the reference trust value of place grouping to selected node,
g mj = Σ k = 1 N m T ik m P kj m Σ k = 1 N m T ik m
g MjBe empty body node D mCorresponding grouping is to the reference trust value of selected node j, T Ik mBe that node i is to empty body node D mIn the corresponding grouping node j is provided evaluation of estimate P Kj mThe trust value of node; P Kj mBe empty body node D mCorresponding grouping interior nodes is to k the evaluation of estimate of node j; N mBe empty body node D in timing statistics mCorresponding grouping interior nodes is to the number of node j evaluation of estimate;
Step 112, described node receive the reference trust value for selected node that each grouping is calculated, and will form with reference to the trust value vector with reference to trust value, are expressed as [g 1jg 2jG IjG Wj], w is the number of dividing into groups in the network;
Step 113, described node obtains the evaluation of estimate number of the selected node that provides of node each grouping from each management of packets node in timing statistics, be calculated as follows the trust value of described selected node,
Figure FSA00000056462400062
Wherein, t IjBe the trust value of described node i to the selected node j in the grouping of non-place; N 1Be the number that provides in timing statistics interior nodes i place grouping interior nodes to the evaluation of estimate of node j; N 2The number that provides for the node in timing statistics interior nodes j place grouping to node j evaluation of estimate; N 3It is the number that node outside dividing into groups in timing statistics interior nodes j place grouping and node i place provides to the evaluation of estimate of node j; g IjBe the reference trust value of node i place grouping to node j; g JjBe the reference trust value of node j place grouping to node j; g KjBe to divide into groups to the reference trust value of node j except that other of node i and node j place grouping; LIM is an interaction times threshold value in the grouping of presetting.
12. the node trust selection method in the P2P network of application P4P as claimed in claim 7 is characterized in that,
Described step 3 further is,
Step 121, described management node are collected the trust value of each node to other nodes from the grouping of place;
Step 122, described management node is grouped into empty body node with each, and the empty body node of the grouping correspondence at described management node place is expressed as D i, be calculated as follows empty body node D iTo the evaluation of estimate of empty body node in the network,
DP ij = Σ k = 1 N t k p k
Wherein, DP IjBe empty body node D iTo empty body node D jEvaluation of estimate; N be described management node in timing statistics, receive to empty body node D jThe number of the evaluation of estimate of corresponding grouping interior nodes; p kBe empty body node D iNode in the corresponding grouping report for empty body node D jThe evaluation of estimate of the node in the corresponding grouping; t kRepresent empty body node D iNode in the corresponding grouping reports evaluation of estimate p kThe time, other nodes are to the mean value of the trust value of the node that reports in the described grouping;
Step 123, described management node is with empty body node D iEvaluation of estimate to Dummy node in the network is carried out normalization by following formula, and income value is empty body node D iTo the degree of belief of Dummy node in the network,
DT ij = DP ij Σ k = 1 M DP ik
DT IjBe empty body node D iTo empty body node D jDegree of belief, M is empty body node D in the timing statistics iProvide total number of the empty body node of evaluation of estimate.
13. the node in the P2P network of using P4P is trusted selective system, it is characterized in that, comprising: node and management node, use P4P node division in the P2P network is grouping;
Described node comprises evaluation module and selection module, and described management node comprises degree of belief computing module and strategy matrix adjusting module,
Described evaluation module is used for providing the evaluation of estimate to described another node after finishing alternately with another node, and described evaluation of estimate is reported the interior management node of place grouping;
Described degree of belief computing module is used for being grouped into empty body node with each, calculates the degree of belief of grouping corresponding empty body node in place to empty body node in the network according to the evaluation of estimate that the place grouping interior nodes that receives reports;
Described strategy matrix adjusting module, be used for by P4P acquisition strategy matrix, determine the degree of belief of grouping corresponding empty body node in place to all empty body nodes in the network, use described degree of belief and adjust described strategy matrix, make the selection percentage of empty body node correspondence described in the high more then described strategy matrix of degree of belief of empty body node big more;
Described selection module is used for obtaining adjusted selection percentage from place management of packets node, selects to carry out mutual node according to described selection percentage.
CN201010127701.3A 2010-03-18 2010-03-18 Trust selection method and system for nodes in P2P network by applying P4P Active CN101902459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010127701.3A CN101902459B (en) 2010-03-18 2010-03-18 Trust selection method and system for nodes in P2P network by applying P4P

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010127701.3A CN101902459B (en) 2010-03-18 2010-03-18 Trust selection method and system for nodes in P2P network by applying P4P

Publications (2)

Publication Number Publication Date
CN101902459A true CN101902459A (en) 2010-12-01
CN101902459B CN101902459B (en) 2013-01-30

Family

ID=43227661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010127701.3A Active CN101902459B (en) 2010-03-18 2010-03-18 Trust selection method and system for nodes in P2P network by applying P4P

Country Status (1)

Country Link
CN (1) CN101902459B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105471650A (en) * 2015-12-04 2016-04-06 西安电子科技大学 Reputation evaluation method for HP2P (Hybrid Hierarchical Peer-to-Peer) network system
CN105872000A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Grouping method, device and system of P2P nodes
CN108446819A (en) * 2018-02-02 2018-08-24 晖保智能科技(上海)有限公司 One kind being used for garden personal management trust evaluation system
CN110313009A (en) * 2016-03-24 2019-10-08 Www.信任科学.Com股份有限公司 The trust model and risk tolerance of learning object carry out calculation risk score
CN111262724A (en) * 2020-01-07 2020-06-09 中国联合网络通信集团有限公司 Method and device for confirming trust relationship between domains
US11665072B2 (en) 2009-10-23 2023-05-30 Www.Trustscience.Com Inc. Parallel computational framework and application server for determining path connectivity
US11900479B2 (en) 2015-03-20 2024-02-13 Www.Trustscience.Com Inc. Calculating a trust score
US11968105B2 (en) 2009-09-30 2024-04-23 Www.Trustscience.Com Inc. Systems and methods for social graph data analytics to determine connectivity within a community
US12019638B2 (en) 2016-02-29 2024-06-25 Www.Trustscience.Com Inc. Extrapolating trends in trust scores

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572605A (en) * 2009-06-01 2009-11-04 上海山牡泽牡网络科技有限公司 Architecture based on P2P and P4P platforms and processing method thereof
CN101610184A (en) * 2009-07-28 2009-12-23 中国科学院软件研究所 In a kind of P2P network based on the Conspiracy group recognition method of fuzzy logic

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572605A (en) * 2009-06-01 2009-11-04 上海山牡泽牡网络科技有限公司 Architecture based on P2P and P4P platforms and processing method thereof
CN101610184A (en) * 2009-07-28 2009-12-23 中国科学院软件研究所 In a kind of P2P network based on the Conspiracy group recognition method of fuzzy logic

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
《Computer Science and Software Engineering,2008 International Conference》 20081214 Li Chen et al. 《The Research of Trust Model Based on Group-Recommend in P2P Network》 845-848 1-13 , *
《Computer Science and Software Engineering,2008 International Conference》 20081214 Ning Liu et al. 《Group-Based Trust Model in P2P System Based on Trusted Computing》 797-801 1-13 , *
《Computer Science and Software Engineering,2008 International Conference》 20081214 Wen Ji et al. 《A Group-Based Trust Metric for P2P Networks:Protection against Sybil Attack and Collusion》 90-93 1-13 , *
《Computers and Communications(ISCC),2010 IEEE Symposium》 20100625 Guobiao Yang et al. 《A trust model in P4P-integrated P2P networks based on domain management》 824-829 1-13 , *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11968105B2 (en) 2009-09-30 2024-04-23 Www.Trustscience.Com Inc. Systems and methods for social graph data analytics to determine connectivity within a community
US11665072B2 (en) 2009-10-23 2023-05-30 Www.Trustscience.Com Inc. Parallel computational framework and application server for determining path connectivity
US12003393B2 (en) 2009-10-23 2024-06-04 Www.Trustscience.Com Inc. Parallel computational framework and application server for determining path connectivity
US11900479B2 (en) 2015-03-20 2024-02-13 Www.Trustscience.Com Inc. Calculating a trust score
CN105471650A (en) * 2015-12-04 2016-04-06 西安电子科技大学 Reputation evaluation method for HP2P (Hybrid Hierarchical Peer-to-Peer) network system
CN105872000A (en) * 2015-12-21 2016-08-17 乐视云计算有限公司 Grouping method, device and system of P2P nodes
US12019638B2 (en) 2016-02-29 2024-06-25 Www.Trustscience.Com Inc. Extrapolating trends in trust scores
CN110313009A (en) * 2016-03-24 2019-10-08 Www.信任科学.Com股份有限公司 The trust model and risk tolerance of learning object carry out calculation risk score
CN110313009B (en) * 2016-03-24 2023-10-24 Www.信任科学.Com股份有限公司 Method and system for adjusting trust score of second entity for requesting entity
US11640569B2 (en) 2016-03-24 2023-05-02 Www.Trustscience.Com Inc. Learning an entity's trust model and risk tolerance to calculate its risk-taking score
CN108446819A (en) * 2018-02-02 2018-08-24 晖保智能科技(上海)有限公司 One kind being used for garden personal management trust evaluation system
CN111262724B (en) * 2020-01-07 2023-03-24 中国联合网络通信集团有限公司 Method and device for confirming trust relationship between domains
CN111262724A (en) * 2020-01-07 2020-06-09 中国联合网络通信集团有限公司 Method and device for confirming trust relationship between domains

Also Published As

Publication number Publication date
CN101902459B (en) 2013-01-30

Similar Documents

Publication Publication Date Title
CN101902459B (en) Trust selection method and system for nodes in P2P network by applying P4P
Yu et al. Proof-of-QoS: QoS based blockchain consensus protocol
CN110602117B (en) Vehicle networking node consistency consensus method based on block chain
CN111935674B (en) Vehicle networking hierarchical authentication method based on block chain technology
Kong et al. A reliable and efficient task offloading strategy based on multifeedback trust mechanism for IoT edge computing
CN109685504B (en) Block chain-based shared economy accounting method
KR20210026545A (en) Trust-based shard distribution apparatus and method for fault tolerant blockchain networks
CN111047440A (en) Distributed shared charging pile transaction system and method based on block chain
CN111935207A (en) Block chain system consensus method based on improved C4.5 algorithm
CN110598060A (en) Block chain rapid consensus method and device, computer equipment and storage medium
CN114938292B (en) Multi-level optimization PBFT consensus method based on node credibility
CN114301935B (en) Reputation-based internet of things edge cloud collaborative federal learning node selection method
CN112651830A (en) Block chain consensus method applied to power resource sharing network
CN113380024A (en) Reputation updating method and trust calculation method based on Internet of vehicles
CN115580891A (en) Flow prediction model training method, prediction method and device based on federal learning
CN113298668B (en) Mobile crowd-sourcing aware user large-scale rapid recruitment method considering social network
CN103916328B (en) flow control method and system for content distribution network and peer-to-peer network
CN101404592A (en) Total trust degree decision method based on history evidence window
Bai et al. Blockchain-based Authentication and Proof-of-Reputation Mechanism for Trust Data Sharing in Internet of Vehicles.
CN101986608B (en) Method for evaluating heterogeneous overlay network load balance degree
CN110060157A (en) Credit assessment and system
Glombek et al. Vulnerability of charging infrastructure, a novel approach for improving charging station deployment
Yan et al. AdContRep: a privacy enhanced reputation system for MANET content services
Qi et al. A multi-dimensional trust model for misbehavior detection in vehicular ad hoc networks
Ying et al. A layered trust model based on behavior in service grid

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant