Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for downloading data by P2P

A data and data download technology, applied in the electronic field, can solve the problems of low download efficiency, large amount of repeated data, slow response, etc., and achieve the effect of reducing repeated downloads, saving network resources, and improving download efficiency

Active Publication Date: 2014-06-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the download request requests the same piece of data from another network node B. At this time, if the network node A is not invalid, but the network delay causes a slow response, the download request party will receive the data from the network node in the next time. For the same piece of data returned by A and network node B, the download requester has to discard one piece of data, resulting in waste, a large amount of repeated data, and low download efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for downloading data by P2P
  • Method and device for downloading data by P2P
  • Method and device for downloading data by P2P

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0021] see figure 1 , is a flow chart of the first embodiment of a P2P downloading method provided by the present invention;

[0022] The method provided in this embodiment includes:

[0023] Step 101, sending a download stop request to a network node that does not return the download data within a specified time;

[0024] Specifically, the download request sends a download stop request to a network node that does not return the download data within a specified time, and the download stop request indicates that the network node does not return the download data. The specified time is 2t, and t is a timeout time for transmitting the download request to the network node. The timeout period is the longest waiting time for the network node to receive the download request or for the network node to return the download requester data.

[0025] Step 102: If a response to the download stop request is received from a network node within the maximum lifetime of the segment, send a do...

no. 2 example

[0029] see figure 2 , is a flow chart of the second embodiment of a P2P downloading method provided by the present invention;

[0030] The method provided in this embodiment includes:

[0031] Step 201, obtaining a network node list including a plurality of network nodes providing download data;

[0032] Specifically, the download requester queries the network nodes that can provide the download data in real time, and obtains the network nodes that can provide the download data. If there is a server in the network, it can directly query the network nodes that have the required download data from the server. In the network (Kademlia, serverless network), each network node can be directly searched to obtain the network nodes with download data without going through the server, and the download requester forms the network node list with the network nodes capable of providing download data. Since network nodes join and leave the P2P network with great randomness, the download r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and a device for downloading data by peer-to-peer (P2P). The method for downloading the data by the P2P comprises the following steps of: sending a download stopping request to a network node which does not return downloaded data in appointed time; if receiving a response of the network node to the download stopping request in a segmented maximum life cycle, sending data downloading requests to other network nodes which provide the downloaded data until the downloaded data is received in the appointed time. By implementing the embodiment of the invention, repeated downloading of the data can be effectively reduced, network resources can be saved and downloading efficiency can be improved.

Description

technical field [0001] The invention relates to the electronic field, in particular to a method and device for P2P data downloading. Background technique [0002] Peer-to-peer (P2P), also known as peer-to-peer Internet technology, is a new network technology that relies on the computing power and bandwidth of participants in the network, rather than relying on a few servers. . Using P2P downloading technology, it transitions from a single mode of obtaining resources from the server to a mode of obtaining resources from multiple points, and shares its own existing resources. [0003] Existing P2P download technology is mainly used in large file sharing, for example, video files, the download requester can send a request to a network node that owns the data in the P2P network, and the network node sends the data to the download request after receiving the request square. Since the network node joins or leaves the P2P network with great randomness, when the download requeste...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
Inventor 陈良华
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products