Serving content from an off-line peer server in a photosharing peer-to-peer network in response to a guest request
First Claim
1. A method of providing access to a peer server protected by a firewall, the method comprising:
- receiving from a requestor, at a proxy server, a URL request that identifies the peer server;
accessing a server table having a plurality of peer names and socket information associated with each peer name of the plurality of peer names to determine if the peer server is registered with the proxy server;
creating a peer request packet based on the URL request;
passing the peer request packet to a peer manager associated with the proxy server where the peer manager finds a socket connection to the peer server;
passing the peer request packet to the peer server;
receiving a response at the proxy server including a peer response packet from the peer server, wherein the peer response packet includes;
a packet size;
a packet type;
a payload field; and
a unique identifier for correlating the peer request packet to the peer response packet;
converting the response into a URL request response at the proxy server;
caching data from the response at the proxy server; and
sending the URL request response to the requestor.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system for serving content from a peer server in a photosharing peer-to-peer network is disclosed, wherein the peer server stores a web album and at least one associated digital image. Aspects of the invention include prior to the peer server going off-line, the peer server initiates a synchronization with a proxy server and a guest content server in which the web page a web page descriptor defining the web album is copied from the peer server to the guest content server, and the image associated with the web album is copied from the peer server to the proxy server. In response to a request from a requesting computer to view content stored in the peer computer when the peer server is off-line, the request is fulfilled by forwarding the web page from the guest content server to the requesting computer, and forwarding the image associated with a web page from the proxy server to the requesting computer, thereby successfully serving content from the peer server even when the peer server is off-line.
-
Citations
4 Claims
-
1. A method of providing access to a peer server protected by a firewall, the method comprising:
-
receiving from a requestor, at a proxy server, a URL request that identifies the peer server; accessing a server table having a plurality of peer names and socket information associated with each peer name of the plurality of peer names to determine if the peer server is registered with the proxy server; creating a peer request packet based on the URL request; passing the peer request packet to a peer manager associated with the proxy server where the peer manager finds a socket connection to the peer server; passing the peer request packet to the peer server; receiving a response at the proxy server including a peer response packet from the peer server, wherein the peer response packet includes; a packet size; a packet type; a payload field; and a unique identifier for correlating the peer request packet to the peer response packet; converting the response into a URL request response at the proxy server; caching data from the response at the proxy server; and sending the URL request response to the requestor. - View Dependent Claims (2, 3, 4)
-
Specification