Island recovery in a peer-to-peer relay network
First Claim
Patent Images
1. A method, executed by a processor, of island recovery in a peer system in a peer-to-peer relay network, comprising:
- tracking all connections among peer systems in the peer-to-peer relay network;
detecting a total number of islands in the peer-to-peer relay network by sequentially detecting and marking every peer system in the peer-to-peer relay network,wherein the detecting step detects whether an unmarked peer system has a peer-to-peer connection with any of existing islands, and when the unmarked peer system has no peer-to-peer connection with any of the existing islands, the peer system is marked with an identifier indicating a new island and is treated as a starting peer of the new island, andwherein each island includes at least one peer system; and
joining two detected islands by connecting a peer system in a first island to a peer system in a second island through a peer-to-peer connection,wherein the peer system in a first island sends to the peer system in a second island a force connection message that, if the peer system in the second island does not have an available peer-to-peer connection, causes the peer system in the second island to select an existing peer-to-peer connection and close the selected existing peer-to-peer connection, the peer system in the first island and the peer system in the second island being randomly selected, andwherein peer systems in the first island are not connected with peer systems in the second island through a peer-to-peer connection before joining the first island and the second island.
4 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus for implementing peer-to-peer relay. In one implementation, a method of island recovery in a peer system in a peer-to-peer relay network includes: detecting the presence of two or more islands in a peer-to-peer relay network, wherein each island includes at least one peer system; joining two detected islands by connecting a peer system in a first island to a peer system in a second island; wherein peer systems in different islands are not connected.
15 Citations
16 Claims
-
1. A method, executed by a processor, of island recovery in a peer system in a peer-to-peer relay network, comprising:
-
tracking all connections among peer systems in the peer-to-peer relay network; detecting a total number of islands in the peer-to-peer relay network by sequentially detecting and marking every peer system in the peer-to-peer relay network, wherein the detecting step detects whether an unmarked peer system has a peer-to-peer connection with any of existing islands, and when the unmarked peer system has no peer-to-peer connection with any of the existing islands, the peer system is marked with an identifier indicating a new island and is treated as a starting peer of the new island, and wherein each island includes at least one peer system; and joining two detected islands by connecting a peer system in a first island to a peer system in a second island through a peer-to-peer connection, wherein the peer system in a first island sends to the peer system in a second island a force connection message that, if the peer system in the second island does not have an available peer-to-peer connection, causes the peer system in the second island to select an existing peer-to-peer connection and close the selected existing peer-to-peer connection, the peer system in the first island and the peer system in the second island being randomly selected, and wherein peer systems in the first island are not connected with peer systems in the second island through a peer-to-peer connection before joining the first island and the second island. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A server computer in a peer-to-peer relay network, comprising:
-
means for tracking all connections among peer systems in the peer-to-peer relay network; means for detecting a total number of islands in a peer-to-peer relay network by sequentially detecting and marking every peer system in the peer-to-peer relay network, wherein the detecting means detects whether an unmarked peer system has a peer-to-peer connection with any of existing islands, and when the unmarked peer system has no peer-to-peer connection with any of the existing islands, the peer system is marked with an identifier indicating a new island and is treated as a starting peer of the new island, and wherein each island includes at least one peer system; and means for joining two detected islands by connecting a peer system in a first island to a peer system in a second island through a peer-to-peer connection, wherein the peer system in a first island sends to the peer system in a second island a force connection message that, if the peer system in the second island does not have an available peer-to-peer connection, causes the peer system in the second island to select an existing peer-to-peer connection and close the selected existing peer-to-peer connection, the peer system in the first island and the peer system in the second island being randomly selected, and wherein peer systems in the first island are not connected with peer systems in the second island through a peer-to-peer connection before joining the first island and the second island. - View Dependent Claims (10, 11, 12)
-
-
13. A computer program, stored on a storage medium, for use in island recovery in a peer-to-peer relay network, the program comprising executable instructions that cause a computer to:
-
track all connections among peer systems in the peer-to-peer relay network; detect a total number of islands in the peer-to-peer relay network by sequentially detecting and marking every peer system in the peer-to-peer relay network, wherein the detecting step detects whether an unmarked peer system has a peer-to-peer connection with any of existing islands, and when the unmarked peer system has no peer-to-peer connection with any of the existing islands, the peer system is marked with an identifier indicating a new island and is treated as a starting peer of the new island, and wherein each island includes at least one peer system; and join two detected islands by connecting a peer system in a first island to a peer system in a second island through a peer-to-peer connection, wherein the peer system in a first island sends to the peer system in a second island a force connection message that, if the peer system in the second island does not have an available peer-to-peer connection, causes the peer system in the second island to select an existing peer-to-peer connection and close the selected existing peer-to-peer connection, the peer system in the first island and the peer system in the second island being randomly selected, and wherein peer systems in the first island are not connected with peer systems in the second island through a peer-to-peer connection before joining the first island and the second island. - View Dependent Claims (14, 15, 16)
-
Specification