Apparatus and Method for Calling a Function in a Database with a URL
AssigneeAsterionDB, Inc.
InventorSteven Guilford
Life of this patent
Estimating the term…
Abstract
Apparatus and methods are described for calling a database function with a URL. Many databases contain functions, also referred to as logical elements, in the database that can be called to retrieve data. A web URL can be used to call such a function by formatting the URL in a specific manner. After the URL is received, it can be parsed to determine the function and parameters, if any exist. The function in the database, specified in the URL, is called using the specified parameters, if any exist. The results can be interpreted and an appropriate response can be streamed.
Claims17
A method comprising:
- receiving a URL request for data from a web client;
- parsing the URL, by one or more HTML compliant delimiters, to determine a database function and any parameters;
- validating the database function to determine that the database function returns either a datatype desired by the request for data or an object that contains multiple datatypes where at least one datatype is the datatype desired by the request for data;
- executing the database function specified in the URL and with any parameters specified in the URL;
- interpreting returned data and streaming a response to the web client.
An apparatus comprising at least one processor, a database, and at least one memory including computer program code the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus at least to:
- receiving a URL request for data from a web client;
- parse the URL, by one or more HTML compliant delimiters, to determine a function in a database and any parameters;
- make a call to the function in the database specified in the URL and with any parameters specified in the URL;
- interpreting returned data and streaming a response to the web client.
Dependencies are inferred from the claim text.