An improved method for k-bucket construction of kademlia protocol
A construction method and protocol technology, applied in the field of p2p network, can solve problems such as empty bucket effect, achieve the effect of improving performance and solving empty bucket effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] The present invention will be described below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0049] The improved method for k-bucket construction of the kademlia protocol in this specific embodiment, the algorithm steps are as follows:
[0050] Step 1: Check the 160-bit local node address srcID 160 addressdstID 160 Are the first three logical AND operations the same, i.e.
[0051] 0xE0 & srcID 160 [0] = 0xE0 & dstID 160 [0]
[0052] If the local node address srcID 160 with the target node address dstID 160 If the first three digits are the same, the k-bucket distance joining conditions are met, otherwise the k-bucket distance joining conditions are not met; it is equivalent to that nodes within a certain distance range can be selected to join the k-bucket;
[0053] The second step: the local node address srcID 160 with the target node address dstID 160 The 160-bit address values b0~b159 are respectively mapped in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


