摘要:
Embodiments of the present invention disclose a peer enrollment method, a route updating method, a communication system, and relevant devices to improve security of a peer-to-peer (P2P) network. The peer enrollment method includes: receiving an enrollment request from a peer, where the enrollment request carries identity information of the peer; verifying the identity information of the peer, and if the verification succeeds, obtaining peer location information of the peer and generating a peer credential according to the peer location information; and sending the peer credential carrying the peer location information to the peer so that the peer joins the P2P network according to the peer credential. Embodiments of the present invention further provide a route updating method, a communication system, and relevant devices. Embodiments of the present invention may improve security of the P2P network effectively.
摘要:
Embodiments of the present invention disclose a peer enrollment method, a route updating method, a communication system, and relevant devices to improve security of a peer-to-peer (P2P) network. The peer enrollment method includes: receiving an enrollment request from a peer, where the enrollment request carries identity information of the peer; verifying the identity information of the peer, and if the verification succeeds, obtaining peer location information of the peer and generating a peer credential according to the peer location information; and sending the peer credential carrying the peer location information to the peer so that the peer joins the P2P network according to the peer credential. Embodiments of the present invention further provide a route updating method, a communication system, and relevant devices. Embodiments of the present invention may improve security of the P2P network effectively.
摘要:
A method for maintaining the status of a bootstrap peer includes: selecting a bootstrap peer; obtaining the status information of the bootstrap peer; updating a local bootstrap peer list according to the status information of the bootstrap peer. An apparatus and system for maintaining the status of a bootstrap peer are also disclosed. The bootstrap peer list is updated according to the status information of the selected bootstrap peer, which ensures the validity of the bootstrap peer list on the bootstrap server so that the information in the bootstrap peer list obtained by a joining peer is valid. This improves the success rate of joining the overlay network by the joining peer, shortens the joining process time of the joining peer, and implements load balancing between the bootstrap peers.
摘要:
A method for maintaining the status of a bootstrap peer includes: selecting a bootstrap peer; obtaining the status information of the bootstrap peer; updating a local bootstrap peer list according to the status information of the bootstrap peer. An apparatus and system for maintaining the status of a bootstrap peer are also disclosed. The bootstrap peer list is updated according to the status information of the selected bootstrap peer, which ensures the validity of the bootstrap peer list on the bootstrap server so that the information in the bootstrap peer list obtained by a joining peer is valid. This improves the success rate of joining the overlay network by the joining peer, shortens the joining process time of the joining peer, and implements load balancing between the bootstrap peers.
摘要:
Embodiments of the present disclosure disclose a peer selection method, network device, and system. The method includes: receiving a network resource download request sent by a requesting peer, and sending a peer identifier of the requesting peer and a peer identifier of a candidate peer to a server, so that the server queries a storage path cost of the candidate peer according to a preset network map and returns a query result, where the candidate peer owns a network resource requested by the requesting peer; and receiving the query result returned by the server, and notifying the requesting peer of the query result. According to embodiments of the present disclosure, costs between a peer and network storages of other peers can be queried, and a network storage of the lowest cost can be further selected for downloading the network resource.
摘要:
A resource control method includes: obtaining, by a content request node, resource control information of a content, where the content is stored in a storage which provides the content, and the storage is a network node which provides content storage services for the source node of the content; and sending, by the content request node, the resource control information to the storage, where the resource control information is used to control resources used for performing content operations between the storage and the content request node. Through the above technical solutions, the number of terminal nodes interacting with the storage can be lowered, so as to reduce performance requirements on the storage.