Customizable formula based dynamic api evaluation using a database system
Assigneesalesforce.com, inc.
InventorsDinesh WEERAPURAGE, Lahiru Pileththuwasan GALLEGE, Kenneth CAVAGNOLO, Chris GROER, Abraham REYES
Life of this patent
Estimating the term…
Abstract
Described herein are systems, apparatus, methods and computer program products for implementing dynamic API cost models. The dynamic API cost models may determine the cost of usage of a specific API based on a plurality of factors, such as the value of the API to the client as well as the usage of computational resources and other factors.
Claims20
A computer-implemented method implemented in an on-demand computing services environment, the method comprising:
- receiving at a server a first message from a client machine via a communication interface, the first message including an application programming interface (API) request associated with a computing service provided via the on-demand computing services environment;
- determining a match rate between the API request and a plurality of API cost models, the match rate determined based on one or more API element types identified by the API request, each of the API cost models specified by a service provider associated with the computing service;
- selecting one of the API cost models based on the match rate;
- determining a cost value by applying the selected API cost model to the API request;
- and
- transmitting to the client machine via the communication interface a second message including the cost value.
A computer program product comprising computer-readable program code capable of being executed by one or more processors in an on-demand computing services environment when retrieved from a non-transitory computer-readable medium, the program code comprising instructions configurable to cause operations comprising:
- receiving at a server a first message from a client machine via a communication interface, the first message including an application programming interface (API) request associated with a computing service provided via the on-demand computing services environment;
- determining a match rate between the API request and a plurality of API cost models, the match rate determined based on one or more API element types identified by the API request, each of the API cost models specified by a service provider associated with the computing service;
- selecting one of the API cost models based on the match rate;
- determining a cost value by applying the selected API cost model to the API request;
- and
- transmitting to the client machine via the communication interfacesecond message including the cost value.
A computing system implemented using a server system implemented in an on-demand computing services environment, the computer system configurable to cause execution of operations comprising:
- receiving at a server a first message from a client machine via a communication interface, the first message including an application programming interface (API) request associated with a computing service provided via the on-demand computing services environment;
- determining a match rate between the API request and a plurality of API cost models, the match rate determined based on one or more API element types identified by the API request, each of the API cost models specified by a service provider associated with the computing service;
- selecting one of the API cost models based on the match rate;
- determining a cost value by applying the selected API cost model to the API request;
- and
- transmitting to the client machine via the communication interface a second message including the cost value.
Dependencies are inferred from the claim text.