Back to results
US 12,626,272 B2Granted
Application program interface script caching and batching
AssigneeGoogle Inc.
InventorsVarouj A. Chitilian, Ilya Netchitailo, Nikhil Bakshi, Jiaqi Yu, Chetan Patel
Life of this patent
Estimating the term…
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for managing application program interface calls.
Claims20
A system, comprising:
- a data processing apparatus including one or more computers;
- and
- a computer storage system storing instructions that when executed by the data processing apparatus cause the data processing apparatus to perform operations comprising:
- executing a script for a rule in response to detecting an event defined by the rule, the rule further defining an operation for obtaining first data for each of a plurality of entities in response to detecting the event, the executing comprising:
- generating an application programming interface (API) call for the first data for each of the plurality of entities;
- determining that second data for each of the plurality of entities is not stored in a cache, the second data for each entity being different from the first data for each entity;
- and
- in response to determining that the second data for each of the plurality of entities is not stored in the cache, expanding the API call to include a request for the second data for each of the plurality of entities;
- receiving the first data and the second data for each of the plurality of entities;
- and
- storing the second data for each of the plurality of entities in the cache.
8 more elements
A method performed by a data processing apparatus, the method comprising:
- executing a script for a rule in response to detecting an event defined by the rule, the rule further defining an operation for obtaining first data for each of a plurality of entities in response to detecting the event, the executing comprising:
- generating an application programming interface (API) call for the first data for each of the plurality of entities;
- determining that second data for each of the plurality of entities is not stored in a cache, the second data for each entity being different from the first data for each entity;
- and
- in response to determining that the second data for each of the plurality of entities is not stored in the cache, expanding the API call to include a request for the second data for each of the plurality of entities;
- receiving the first data and the second data for each of the plurality of entities;
- and
- storing the second data for each of the plurality of entities in the cache.
5 more elements
A non-transitory computer readable storage medium storing software instructions executable by a data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising:
- executing a script for a rule in response to detecting an event defined by the rule, the rule further defining an operation for obtaining first data for each of a plurality of entities in response to detecting the event, the executing comprising:
- generating an application programming interface (API) call for the first data for each of the plurality of entities;
- determining that second data for each of the plurality of entities is not stored in a cache, the second data for each entity being different from the first data for each entity;
- and
- in response to determining that the second data for each of the plurality of entities is not stored in the cache, expanding the API call to include a request for the second data for each of the plurality of entities;
- receiving the first data and the second data for each of the plurality of entities;
- and
- storing the second data for each of the plurality of entities in the cache.
5 more elements
Dependencies are inferred from the claim text.