US 12,332,907 B2
Technique for constructing and maintaining an application-to-friend index
Virgil L. Archer, III, Los Angeles, CA (US); John Trent DiBacco, Lake Forest, CA (US); Matthew Alan Jones, Ladera Ranch, CA (US); and Bernardo Perez, Los Angeles, CA (US)
Assigned to Snap Inc., Santa Monica, CA (US)
Filed by Snap Inc., Santa Monica, CA (US)
Filed on Aug. 31, 2022, as Appl. No. 17/900,365.
Prior Publication US 2024/0070162 A1, Feb. 29, 2024
Int. Cl. G06F 16/25 (2019.01); G06F 16/23 (2019.01); G06F 16/245 (2019.01); G06Q 50/00 (2024.01)
CPC G06F 16/252 (2019.01) [G06F 16/2379 (2019.01); G06F 16/245 (2019.01); G06Q 50/01 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A computer-implemented method comprising:
in response to detecting an activity event indicating a first end-user has opened an application at a client computing device:
invoking a first service component of an application-to-friend data service to perform operations comprising i) updating an application-to-friend database with a first data record indicating a time at which the first end-user opened the application, and ii) updating the application-to-friend database with one or more data records, each data record of the one or more data records identifying an end-user of the application who is a friend of the first end-user, wherein updating the application-to-friend database with one or more data records further comprises:
obtaining from a data source a first list of friends of the first end-user;
obtaining from the application-to-friend database a second list of friends of the first end-user:
comparing the first list of friends of the first end-user with the second list of friends of the first end-user; and
updating the application-to-friend database with data records only for friends of the first end-user who are included in the first list of friends of the first end-user and excluded from the second list of friends of the first end-user; and
in response to receiving a query via an application programming interface (API) call invoked by the application:
processing the query with a second service component of the application-to-friend data service by i) reading all data records from the database that identify end-users of the application who are friends of the first end-user, and ii) returning, to the application, data indicating end-users of the application who are friends of the first end-user.