Apparatus and method for managing peer-to-peer connections between different service providers
First Claim
1. A computer-implemented method performed by a physical device, comprising:
- receiving and storing, by a first service provider, a bloom filter from a second service provider;
receiving, by the first service provider, a request to connect to a first user, the request including an alphanumeric identification (ID) code corresponding to the first user;
establishing a connection with the first user based at least in part on a determined compatibility with a network address translation (NAT) type of the first user, wherein the establishing the connection comprises establishing a peer-to-peer (P2P) connection with the first user upon determining that the NAT type of the first user is compatible and opening a relay connection with the first user using a relay service upon determining that the NAT type of the first user is incompatible; and
in response to the received connection request;
querying a registration database maintained by the first service provider to determine whether the first user is registered with the first service provider;
responsive to determining that the first user is not registered with the first service provider, for the bloom filter received from the second service provider;
executing a bloom filter function with the bloom filter and the alphanumeric ID code; and
responsive to receiving a positive response from executing the bloom filter function, transmitting a connection invitation to the second service provider; and
receiving, from the second service provider, an acceptance of the connection invitation, the acceptance indicating that the first user is registered with the second service provider.
1 Assignment
0 Petitions
Accused Products
Abstract
In one embodiment of the invention, service providers generate bloom filters with the user ID codes of registered users and exchange the bloom filters with one another. In response to a request to locate a first user, a first service provider will query its own registration database to determine if the first user is registered with the first service provider. If the first user is not registered with the first service provider, then the first service provider will query its bloom filters to identify other service providers with which the first user may be registered. A positive response from a bloom filter indicates that the first user may or may not be registered with the service provider associated with that bloom filter, and a negative response indicates with certainty that the first user is not registered with the service provider associated with that bloom filter.
31 Citations
19 Claims
-
1. A computer-implemented method performed by a physical device, comprising:
-
receiving and storing, by a first service provider, a bloom filter from a second service provider; receiving, by the first service provider, a request to connect to a first user, the request including an alphanumeric identification (ID) code corresponding to the first user; establishing a connection with the first user based at least in part on a determined compatibility with a network address translation (NAT) type of the first user, wherein the establishing the connection comprises establishing a peer-to-peer (P2P) connection with the first user upon determining that the NAT type of the first user is compatible and opening a relay connection with the first user using a relay service upon determining that the NAT type of the first user is incompatible; and in response to the received connection request; querying a registration database maintained by the first service provider to determine whether the first user is registered with the first service provider; responsive to determining that the first user is not registered with the first service provider, for the bloom filter received from the second service provider; executing a bloom filter function with the bloom filter and the alphanumeric ID code; and responsive to receiving a positive response from executing the bloom filter function, transmitting a connection invitation to the second service provider; and receiving, from the second service provider, an acceptance of the connection invitation, the acceptance indicating that the first user is registered with the second service provider. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory machine-readable medium having program code stored thereon which, when executed by one or more machines, causes the machines to perform the operations of:
-
receiving and storing, by a first service provider, a bloom filter from a second service provider; receiving, by the first service provider, a request to connect to a first user, the request including an alphanumeric identification (ID) code corresponding to the first user; establishing a connection with the first user based at least in part on a determined compatibility with a network address translation (NAT) type of the first user, wherein the establishing the connection comprises establishing a peer-to-peer (P2P) connection with the first user upon determining that the NAT type of the first user is compatible and opening a relay connection with the first user using a relay service upon determining that the NAT type of the first user is incompatible; and in response to the received connection request; querying a registration database maintained by the first service provider to determine if the first user is registered with the first service provider; responsive to determining that the first user is not registered with the first service provider, for the bloom filter received from the second service provider; executing a bloom filter function with the bloom filter and the alphanumeric ID code; and responsive to receiving a positive response from executing the bloom filter function, transmitting a connection invitation to the second service provider; and receiving, from the second service provider, an acceptance of the connection invitation, the acceptance indicating that the first user is registered with the second service provider. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-implemented method performed by a physical device, comprising:
-
receiving and storing, at a first service provider, over a time period, a plurality of bloom filters from a plurality of service providers, wherein each of the bloom filters; is generated from alphanumeric identification (ID) codes of all users registered with one of the service providers; and is usable by the first service provider to determine with certainty that certain alphanumeric ID codes do not identify users registered with the one of the service providers; after the time period, receiving a request to connect to a first user, the request including an alphanumeric ID code for the first user; establishing a connection with the first user based at least in part on a determined compatibility with a network address translation (NAT) type of the first user, wherein the establishing the connection comprises establishing a peer-to-peer (P2P) connection with the first user upon determining that the NAT type of the first user is compatible and opening a relay connection with the first user using a relay service upon determining that the of the first user is incompatible; and in response to the received connection request; determining that the first user is not registered with the first service provider; executing a bloom filter function with each of the bloom filters and the alphanumeric ID code; responsive to at least two bloom filters returning a positive result, transmitting a connection invitation to each of at least two service providers identified by the at least two bloom filters; receiving a first acceptance from a first of the at least two service providers and a second acceptance from a second of the at least two service providers, the multiple acceptances indicating with certainty that the first user and another use share a same alphanumeric ID code; and performing an additional check to determine whether the first user is registered with the first or second of the at least two service providers. - View Dependent Claims (18, 19)
-
Specification