×

Method and apparatus for peer-to-peer file sharing

  • US 7,574,488 B2
  • Filed: 05/31/2002
  • Issued: 08/11/2009
  • Est. Priority Date: 05/31/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. A peer-to-peer file sharing method for sharing a file between a plurality of client computers coupled to a server via a network, comprising steps of:

  • the server for peer-to-peer file sharing;

    storing a first table which includes one or more relationships between file identification information which identifies the file, location information which indicates a client computer where the file is stored, and file access control information for the file;

    storing a second table which includes one or more relationships between directory identification information which identifies a directory, directory content information which associates at least one file with the directory, and directory access control information for the directory;

    and sending a plurality of directories to the plurality of client computers;

    a first client computer sending a first request to associate a first file with a first directory;

    the server receiving the first request from the first client computer;

    the server determining whether the first file can be associated with the first directory based upon a first directory access control information;

    if the first file can be associated with the first directory, then updating the second table to associate the first file with the first directory and sending by the server the first directory associated with the first file to the plurality of client computers;

    a second client computer sending a second request to access the first file associated with the first directory to the server;

    the server receiving the second request from the second client computer;

    the server determining whether the first file can be downloaded to the second client computer based upon a first file access control information;

    and if the first file can be downloaded by the second client computer, then sending by the server first location information which includes where the first file is stored to the second client computer and downloading by the second client computer the first file based upon the first location information;

    the second client computer sending a third request to remove the first file from the first directory;

    the server receiving the third request from the second client computer;

    determining whether the association between the first directory and the first file can be removed;

    if the association between the first directory and the first file can be removed, then deleting by the server the association between the first directory and the first file and providing by the server the first directory without association between the first directory and the first file to the second client computer;

    determining whether there is an association between the first file and at least one of the plurality of directories;

    and if there is no association between the first file and at least one of the plurality of directories, then sending by the server a fourth request to remove the first file in the first client computer to the first client computer.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×