US 12,067,393 B2
Client-side enrichment and transformation via dynamic logic for analytics
Osama Khan, Vancouver (CA); Brandon Sneed, Oregon City, OR (US); Mark Hazlett, North Vancouver (CA); Prateek Srivastava, Vancouver (CA); Chris Sperandio, San Francisco, CA (US); Ilya Volodarsky, San Francisco, CA (US); Tony Xiao, San Francisco, CA (US); Fathy Boundjadj, Villeneuve-sur-Lot (FR); and Peter Richmond, Sunnyvale, CA (US)
Assigned to Twillo Inc., San Francisco, CA (US)
Filed by Segment.io, Inc., San Francisco, CA (US)
Filed on Jul. 6, 2020, as Appl. No. 16/921,690.
Application 16/921,690 is a continuation of application No. 16/912,668, filed on Jun. 25, 2020.
Prior Publication US 2021/0406002 A1, Dec. 30, 2021
Int. Cl. G06F 8/76 (2018.01); G06F 8/33 (2018.01); G06F 8/60 (2018.01); G06F 9/54 (2006.01); G06F 11/36 (2006.01); G06F 21/62 (2013.01)
CPC G06F 8/76 (2013.01) [G06F 8/33 (2013.01); G06F 8/60 (2013.01); G06F 9/547 (2013.01); G06F 11/3612 (2013.01); G06F 11/3624 (2013.01); G06F 11/3644 (2013.01); G06F 11/366 (2013.01); G06F 21/6254 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for analytics data processing comprising:
fetching a plurality of customer logic from a server;
deploying the plurality of customer logic as a plurality of edge functions implemented by a chain of middleware built into an analytics library, each middleware in the chain of middleware including a function runtime and a bridge, the function runtime providing an operating environment in which a respective edge function is implemented within the each middleware, the bridge facilitating a coupling between the function runtime and the each middleware;
identifying a predefined event associated with a user application;
passing the predefined event through the chain of the middleware, the passing including running each edge function in the plurality of edge functions via a respective middleware in the chain of middleware to enrich the predefined event by appending one or more data points to the predefined event; and
sending the enriched predefined event to a destination.