Moving file fragments from background file sharing to foreground file sharing and preventing duplicate downloads
First Claim
1. A method in a peer-to-peer file sharing client device for moving a file from background file sharing to foreground file sharing and preventing duplicate downloads in a peer-to-peer file sharing network, the method comprising:
- receiving, by the peer-to-peer file sharing client device, at least one file fragment of a file from a background swarm for background file sharing;
responsive to a user-generated request to move the file from background file sharing to foreground file sharing, identifying, by the peer-to-peer file sharing client device, the at least one file fragment stored locally; and
requesting, by the peer-to-peer file sharing client device, at least one remaining file fragment from the background swarm, wherein the background swarm becomes a foreground swarm, wherein requesting at least one remaining file fragment from the background swarm comprises sending a request to a tracker for a peer list.
4 Assignments
0 Petitions
Accused Products
Abstract
In accordance with one illustrative embodiment, when a file is moved from the background to the foreground in a peer-to-peer client, the client makes a local request for file pieces. The client sends a handshake message to itself to check for available pieces. The client then exchanges messages locally the same way it would with external peers. As an alternative approach to local message passing, the client may keep a local record of file fragments in a data structure, such as a markup language document or other data repository. The client may then query the data structure for needed file fragments before submitting a request to the peer-to-peer network. Every time a new file segment is downloaded and validated in the background, or the foreground, the peer-to-peer client may update the data structure. Then, the client may simply query the data structure for the specific segment it wishes to download.
-
Citations
17 Claims
-
1. A method in a peer-to-peer file sharing client device for moving a file from background file sharing to foreground file sharing and preventing duplicate downloads in a peer-to-peer file sharing network, the method comprising:
-
receiving, by the peer-to-peer file sharing client device, at least one file fragment of a file from a background swarm for background file sharing; responsive to a user-generated request to move the file from background file sharing to foreground file sharing, identifying, by the peer-to-peer file sharing client device, the at least one file fragment stored locally; and requesting, by the peer-to-peer file sharing client device, at least one remaining file fragment from the background swarm, wherein the background swarm becomes a foreground swarm, wherein requesting at least one remaining file fragment from the background swarm comprises sending a request to a tracker for a peer list. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A peer-to-peer file sharing client for moving a file from background file sharing to foreground file sharing and preventing duplicate downloads in a peer-to-peer file sharing network, the peer-to-peer file sharing client comprising:
-
a processor; and a memory, wherein the memory contains instructions which, when executed by the processor, cause the processor to; receive at least one file fragment of a file from a background swarm for background file sharing; responsive to a user-generated request to move the file from background file sharing to foreground file sharing, identify the at least one file fragment stored locally; and request at least one remaining file fragment from the background swarm, wherein the background swarm becomes a foreground swarm, wherein requesting at least one remaining file fragment from the background swarm comprises sending a request to a tracker for a peer list. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer program product comprising a computer recordable medium having a computer readable program, wherein the computer readable program, when executed on a computing device, causes the computing device to:
-
receive at least one file fragment of a file from a background swarm for background file sharing; responsive to a user-generated request to move the file from background file sharing to foreground file sharing, identify the at least one file fragment stored locally; and request at least one remaining file fragment from the background swarm, wherein the background swarm becomes a foreground swarm, wherein requesting at least one remaining file fragment from the background swarm comprises sending a request to a tracker for a peer list. - View Dependent Claims (14, 15, 16, 17)
-
Specification