Connecting a peer in a peer-to-peer relay network
AssigneeSony Computer Entertainment America LLC
InventorsGlen Van Datta, Anthony Mai
Life of this patent
Estimating the term…
Abstract
Methods and apparatus for implementing peer-to-peer relay. In one implementation, a peer-to-peer relay network includes: a plurality of N peer systems; wherein each peer system is connected to a number of other peer systems that is less than or equal to a connection limit, said connection limit is greater than or equal to 2, said connection limit is less than or equal to N−2, and each peer system is configured to relay data to peer systems connected to that peer system according to a set of one or more relay rules.
Claims19
A method of adding a peer system to a peer-to-peer relay network, comprising:
- opening a connection between a server and a joining peer system;
- providing grid information to said joining peer system indicating one or more established peer-to-peer relay networks;
- receiving a grid selection from said joining peer system indicating a selected peer-to-peer relay network, wherein said selected peer-to-peer relay network has one or more member peer systems;
- providing network addresses of each of said one or more member peer systems to said joining peer system;
- and
- receiving a connection update from said joining peer system indicating to which member peer systems said joining peer system is connected;
- wherein each member peer system is connected to a number of other member peer systems that is less than or equal to a connection limit and each member peer system stores a set of one or more relay rules for relaying data to the other member peer systems connected to that member peer system, and
- wherein the joining peer system sends a join request to the one or more member peer systems and receives either a positive or a negative responses from the member peer system,
- selecting a member peer system from which a negative join response has been received as a force connection peer system;
- sending a force connection request to said force connection peer system, wherein said force connection request requests that said force connection peer system close one of the open connection of said force connection peer system,
- wherein selecting said force connection peer system includes applying said set of one or more connection rules to the member peer systems that sent negative join responses.
A method of joining a peer-to-peer relay network, comprising:
- sending a join message from a joining peer system to each of one or more member peer systems in a peer-to-peer relay network;
- receiving a join response from at least one of said one or more member peer systems, wherein each join response is positive or negative, and a positive join response indicates the sending member peer system has an available connection and a negative join response indicates the sending member peer system does not have an available connection;
- selecting one or more member peer systems up to a connection limit according to a set of one or more connection rules;
- opening a connection with each selected member peer system;
- wherein each member peer system is connected to a number of other member peer systems that is less than or equal to said connection limit and each member peer system stores a set of one or more relay rules for relaying data to the other member peer systems connected to that member peer system, and
- wherein selecting one or more member peer systems includes;
- selecting a member peer system from which a negative join response has been received as a force connection peer system;
- sending a force connection request to said force connection peer system, wherein said force connection request requests that said force connection peer system close one of the open connections of said force connection peer system,
- wherein selecting said force connection peer system includes applying said set of one or more connection rules to the member systems that sent negative join responses.
A method of establishing a peer-to-peer relay network, comprising:
- opening a connection between a server and an establishing peer system, wherein the establishing peer system is one of said member peer systems;
- sending a request to create said peer-to-peer relay network from said establishing peer system to said server;
- receiving a creation confirmation at said establishing peer system from said server;
- wherein said establishing peer system stores a connection limit defining a number of other peer systems up to which said establishing peer system is permitted to connect, and said establishing peer system stores a set of one or more relay rules for relaying data to other peer systems connected to said establishing peer system, and
- wherein the joining peer system sends a join request to the one or more member peer systems and receives either a positive or a negative response from the member peer system,
- selecting a member peer system from which a negative join response has been received as a force connection peer system;
- sending a force connection request to said force connection peer system, wherein said force connection request requests that said force connection peer system close one of the open connections of said force connection peer system,
- wherein selecting said force connection peer system includes applying said set of one or more connection rules to the member peer systems that sent negative join responses.
A method of connecting peer systems in a peer-to-peer relay network comprising:
- sending a connection available message from a disconnected peer system to one or more member peer systems in a peer-to-peer relay network when said disconnected peer system has a number of open connections to member systems that is less than a connection limit;
- receiving a connection available response from at least one of said one or more member peer systems, wherein each connection available response is positive or negative, and a positive join response indicates the sending member peer system has an available connection and a negative join response indicates the sending member peer system does not have an available connection;
- selecting a member peer system according to a set of one or more connection rules;
- opening a connection with said selected member peer system;
- wherein each member peer system is connected to a number of other member peer systems that is less than or equal to said connection limit and each member peer system stores a set of one or more relay rules for relaying data to the other member peer systems connected to that member peer system, and
- wherein selecting one or more member peer systems includes:
- selecting a member peer system from which a negative join responses has been received as a force connection peer system;
- sending a force connection request to said force connection peer system, wherein said force connection request requests that said force connection peer system close one of the open connections of said force connection peer system,
- wherein selecting said force connection peer system includes applying said set of one or more connections rules to the member peer systems that sent negative join responses.
Dependencies are inferred from the claim text.