Apparatuses, methods and systems for application programming interface call abstraction
AssigneeZynga Inc.
InventorsAmitt Mahajan, Luke Rajlich
Life of this patent
Estimating the term…
Abstract
The apparatuses, methods and systems for API call abstraction includes obtaining programming code for an application. The obtained programming code is parsed to identify various instructions contained therein. An application programming interface (API) call is identified in the programming code, based on the parsing. The API call includes an input string. It is then determined whether the API call requires a pre-registered bundle to replace the input string. A database is queried for the pre-registered bundle using the input string. The pre-registered bundle is retrieved and is incorporated into the application by replacing the input string.
Claims20
A method for application programming interface (API) call abstraction, comprising:
- obtaining programming code for an application;
- parsing the obtained programming code to identify instructions in the programming code;
- identifying an API call in the programming code based on parsing the obtained programming code, the API call including an input string;
- verifying the input string is one of a plurality of pre-registered input strings maintained in a string registry server that interfaces with a processor of a hosting server;
- querying a database to obtain details of a pre-registered bundle using the input string, the details of the pre-registered bundle used to update the programming code for the application by replacing the input string with an identifier of the pre-registered bundle;
- compiling the updated programming code for the application to generate a new compiled application;
- providing the new compiled application for a user, the providing of the new compiled application includes switching the user from a prior application version to the new compiled application dynamically, in substantial real-time in response to detecting the new compiled application, while the user is continuously utilizing the application, wherein the switching includes,
- generating an instance of the new compiled application;
- issuing a new access request for the instance of the new compiled application on behalf of the user;
- dynamically establishing access for the user to the new compiled application;
- and
- deleting instance of the prior application version to prevent access of the prior application version;
- wherein the method operations are performed by a processor of a developer system.
A system for application programming interface (API) call abstraction, comprising:
- a processor;
- and
- a memory disposed in communication with the processor and storing processor-executable instructions, the processor executable instructions including instructions to:
- obtain programming code for an application;
- parse the obtained programming code to identify instructions in the programming code;
- identify an API call in the programming code based on parsing the obtained programming code, the API call including an input string;
- verify the input string is one of a plurality of pre-registered input strings maintained in a string registry server that interfaces with the processor;
- query a database to obtain details of a pre-registered bundle using the input string, the details of the pre-registered bundle used to update the programming code for the application by replacing the input string with an identifier of the pre-registered bundle;
- compile the updated programming code for the application to generate a new compiled application;
- and
- provide the new compiled application for a user, wherein the instructions to provide includes instructions to switch the user from a prior application version to the new compiled application dynamically, in substantial real-time in response to detecting the new compiled application, while the user is continuously utilizing the application, wherein the instructions to switch includes instructions to,
- generates an instance of the new compiled application;
- issue a new access request for the instance of the new compiled application on behalf of the user;
- dynamically establish access for the user to the new compiled application;
- and
- delete instance of the prior application version to prevent access of the prior application version.
A non-transitory processor-readable medium storing processor-executable application programming interface (API) call abstraction instructions, the instructions comprising instructions to:
- obtain programming code for an application;
- parse the obtained programming code to identify instructions in the programming code;
- identify an API call in the programming code based on parsing the obtained programming code, the API call including an input string;
- verify the input string is one of a plurality of pre-registered input strings maintained in a string registry server that interfaces with a processor;
- query a database to obtain details of the pre-registered bundle using the input string, the details of the pre-registered bundle used to update the programming code for the application by replacing the input string with an identifier of the pre-registered bundle;
- compile the updated programming code for the application to generate a new compiled application;
- provide the new compiled application for a user, wherein the instructions to provide the new compiled application includes instructions to switch the user from a prior application version to the new compiled application dynamically, in substantial real-time, while the user is continuously utilizing the application, wherein the instructions to switch includes instructions to.
- generate an instance of the new compiled application;
- issue a new access request for the instance of the new compiled application on behalf of the user;
- dynamically establish access for the user to the new compiled application;
- and
- delete instance of the prior application version to prevent access of the prior application version.
Dependencies are inferred from the claim text.