P2P (peer 2 peer) resource downloading method and identification device
A technology for identifying devices and downloading resources, applied in the information field, can solve the problems of wasting network resources and excessive network traffic, and achieve the effect of reducing traffic and interaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Figure 4 It is a flow chart of a P2P resource downloading method according to the embodiment of the present invention. Such as Figure 4 As shown, this embodiment includes:
[0048] Step S102: After receiving the query request message for the target resource initiated by the requesting node, obtain a resource list including the information of available nodes, and the available nodes have the target resource;
[0049] Step S104: sort the available nodes in the resource list according to the principle that the nodes in the same grouping domain as the requesting node are prioritized;
[0050] Step S106: Download the target resource according to the sorted resource list.
[0051] This embodiment overcomes the defect in the prior art that only credit values are considered when resource selection is performed, and the underlying topology is not considered, and the available nodes in the same grouping domain as the requesting node are preferentially selected for resource...
Embodiment 2
[0053] Figure 5 It is a flowchart of a P2P resource downloading method according to Embodiment 2 of the present invention. Such as Figure 5 As shown, this embodiment includes:
[0054] Step S202: After receiving the query request message for the target resource initiated by the requesting node, obtain a resource list including available node information;
[0055] Step S204: Whether there is an available node in the same group domain as the requesting node in the resource list, if yes, execute step S206, otherwise, execute step S208;
[0056] Step S206: The available nodes in the same grouping domain as the requesting node have high priority, and sort them according to the credit value from high to low, and execute step S214;
[0057] Step S208: Whether there is an available node in the resource list that is in the adjacent group domain with the requesting node, if yes, execute step S210, otherwise, execute step S212;
[0058] Step S210: The available nodes in the adjacen...
Embodiment 3
[0063] In this embodiment, on the basis of Embodiment 1 and Embodiment 2, the method for downloading P2P resources will be described in detail in combination with specific devices.
[0064] In the 2G / 3G network, GGSN will assign IP addresses to mobile terminals when performing P2P services. Figure 7 It is a flowchart of the GGSN assigning an IP address to a mobile terminal in the third P2P resource downloading method of the present invention. Such as Figure 7 As shown, this flowchart includes:
[0065] Step S302: the mobile terminal sends an activation packet data protocol (PacketData Protocol, PDP for short) context request to the SGSN;
[0066] Step S304: the SGSN and the mobile terminal perform security function negotiation;
[0067] Step S306: SGSN sends a request to create a PDP context to GGSN;
[0068] Step S308: the GGSN sends a PDP context creation response to the SGSN;
[0069] Step S310: the SGSN sends a response to activate the PDP context to the mobile term...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 