IP Library Granted Patent US 11,556,399
Granted Patent B2
US 11,556,399 · App. 17/158,163 · Granted Jan 17, 2023

Dynamic personalized API assembly

Inventors: Christopher David Boran (Burlington, MA); Victor Manuel Romero Carrasco (Malaga, ES)
Assignee: Salesforce, Inc.
G06F9/541G06F16/953H04L67/10G06F2209/541
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,556,399
App. No.
17/158,163
Granted
Jan 17, 2023
Kind
B2
Abstract

Methods, computer readable media, and devices for dynamic personalized API assembly are provided. One method may include receiving a data query from a client by a CDN, parsing the data query to generate a modified data query, transmitting the modified data query to an origin server, receiving a query response from the origin server, generating a modified query response based on the query response, and sending the modified query response to the client. Another method may include receiving an API call by an origin server, generating an API response by creating a payload file and adding markup directives indicating whether content is cacheable, and transmitting the API response.

Claims (58)

1. A computer-implemented method comprising:

receiving, by a content distribution network (CDN), a data query from a client, the data query including a plurality of data elements;

parsing, by the CDN, the data query to generate a modified data query, the modified data query including one or more of the plurality of data elements for which corresponding content was not previously cached;

transmitting, by the CDN, the modified data query to an origin server;

receiving, by the CDN, a query response from the origin server, the query response including, for each of the one or more of the plurality of data elements included in the modified data query:

the data element;

content corresponding to the data element; and

a markup directive indicating cacheability of the corresponding content;

generating, by the CDN, a modified query response based on the query response, the modified query response including:

the plurality of data elements included in the modified data query; and

content corresponding to each of the plurality of data elements included in the modified data query; and

sending, by the CDN, the modified query response to the client.

2. The computer-implemented method of claim 1 , wherein parsing the data query to generate the modified data query comprises:

for each of the plurality of data elements:

determining whether the content corresponding to the data element was previously cached; and

including the data element of the one or more of the plurality of data elements included in the modified data query in response to determining the content corresponding to the data element was not previously cached.

3. The computer-implemented method of claim 1 , wherein generating the modified query response based on the query response comprises:

for each of the plurality of data elements:

including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query.

4. The computer-implemented method of claim 3 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is not one of the one or more of the plurality of data elements included in the modified data query:

retrieving content corresponding to the data element from a cache of the CDN; and

including the data element and the retrieved content in the modified query response.

5. The computer-implemented method of claim 3 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is one of the one or more of the plurality of data elements included in the modified data query:

parsing the markup directive; and

including the data element and the content corresponding to the data element in the modified query response.

6. The computer-implemented method of claim 5 , wherein parsing the markup directive comprises:

in response to determining the markup directive indicates the content corresponding to the data element of the one or more of the plurality of data elements included in the modified data query is cacheable, caching the content corresponding to the data element.

7. A non-transitory machine-readable storage medium that provides instructions that, if executed by a processor, are configured to cause said processor to perform operations comprising:

receiving, by a content distribution network (CDN), a data query from a client, the data query including a plurality of data elements;

parsing, by the CDN, the data query to generate a modified data query, the modified data query including one or more of the plurality of data elements for which corresponding content was not previously cached;

transmitting, by the CDN, the modified data query to an origin server;

receiving, by the CDN, a query response from the origin server, the query response including, for each of the one or more of the plurality of data elements included in the modified data query:

the data element;

content corresponding to the data element; and

a markup directive indicating cacheability of the corresponding content;

generating, by the CDN, a modified query response based on the query response, the modified query response including:

the plurality of data elements included in the modified data query; and

content corresponding to each of the plurality of data elements included in the modified data query; and

sending, by the CDN, the modified query response to the client.

8. The non-transitory machine-readable storage medium of claim 7 , wherein parsing the data query to generate the modified data query comprises:

for each of the plurality of data elements:

determining whether the content corresponding to the data element was previously cached; and

including the data element of the one or more of the plurality of data elements included in the modified data query in response to determining the content corresponding to the data element was not previously cached.

9. The non-transitory machine-readable storage medium of claim 7 , wherein generating the modified query response based on the query response comprises:

for each of the plurality of data elements:

including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query.

10. The non-transitory machine-readable storage medium of claim 9 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is not one of the one or more of the plurality of data elements included in the modified data query:

retrieving content corresponding to the data element from a cache of the CDN; and

including the data element and the retrieved content in the modified query response.

11. The non-transitory machine-readable storage medium of claim 9 , wherein including the data element and content corresponding to the data element based on whether the data element is one of the one or more of the plurality of data elements included in the modified data query comprises:

in response to determining the data element is one of the one or more of the plurality of data elements included in the modified data query:

parsing the markup directive; and

including the data element and the content corresponding to the data element in the modified query response.

12. The non-transitory machine-readable storage medium of claim 11 , wherein parsing the markup directive comprises:

in response to determining the markup directive indicates the content corresponding to the data element of the one or more of the plurality of data elements included in the modified data query is cacheable, caching the content corresponding to the data element.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 26, 2021
From: BORAN, CHRISTOPHER DAVID; CARRASCO, VICTOR MANUEL ROMERO
To: SALESFORCE.COM, INC.
Reel/Frame 055028/0708 →
Continuity (1)
Related Publication 20220237054A1 · Jul 28, 2022
Cited By (1)
US 12,248,823