IP Library › Granted Patent US 11,481,366
Granted Patent B2
US 11,481,366 · App. 16/742,458 · Granted Oct 25, 2022

Consuming application-owned database objects via SQL

Inventors: Timm Falter (Sinsheim-Hilsbach, DE); Torsten Ziegler (Dielheim, DE); Arne Harren (Walldorf, DE)
Assignee: SAP SE
G06F16/212G06F9/54G06F16/906G06F21/6218
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,481,366
App. No.
16/742,458
Granted
Oct 25, 2022
Kind
B2
Abstract

Disclosed herein are system, method, and device embodiments for consuming application-owned database objects via an API schema. An embodiment operates by determining that an application-owned database object is classified as API exposable, creating an API schema for proxy access to database objects that have been identified as API exposable, generating an API object within the API schema based on assigning the database object to the API schema, and providing, via the API schema and independent of the application, access to the API object by a privileged consumer.

Claims (64)

1. A method, comprising:

determining that a database object is classified as application programming interface (API) exposable, the database object managed by an application;

creating an API schema for proxy access to database objects that have been identified as API exposable;

assigning the database object to the API schema;

generating an API object within the API schema based on the assigning, the API object corresponding to the database object;

receiving a modification request associated with the database object;

denying the modification request based at least in part on the database object being classified as API exposable; and

providing, via the API schema and independent of the application, access to the API object by a privileged consumer.

2. The method of claim 1 , wherein the API schema is a first API schema, the API object is a first API object, the privileged consumer is a first privileged consumer, the proxy access is first proxy access, and further comprising:

creating a second API schema for second proxy access to the database objects that have been identified as API exposable, the first API schema associated with a first access privilege possessed by the first privileged consumer and the second API schema associated a second access privilege possessed by a second privileged consumer;

assigning the database object to the second API schema;

generating a second API object within the second API schema based on the assigning, the second API object corresponding to the database object; and

providing, via the second API schema and independent of the application, access to the second API object by the second privileged consumer.

3. The method of claim 2 , further comprising:

denying, via the second API schema and independent of the application, access to the second API object by the first privileged consumer.

4. The method of claim 1 , wherein the database object is a first database object, and the modification request includes at least one of:

a request to modify or delete a relationship to a second database object.

5. The method of claim 1 , wherein generating the API object within the API schema further comprises:

generating a projection view, a database view, a database procedure, or a database function based on the database object.

6. The method of claim 1 , wherein the API object is a first API object, and further comprising:

generating a custom schema based on the API schema that provides a proxy access to the database objects that have been identified as API exposable, wherein the custom schema comprises a plurality of custom objects based on a second API object of the API schema; and

providing access to a plurality of custom objects via the custom schema and independent of the application, wherein at least one of the plurality of custom objects comprises a view.

7. The method of claim 1 , wherein the database object includes at least one of a database table, a database view, a database table function, a database hierarchy, or a database procedure.

8. A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:

determining that a database object is classified as application programming interface (API) exposable, the database object managed by an application;

creating an API schema for proxy access to database objects that have been identified as API exposable;

assigning the database object to the API schema;

generating an API object within the API schema based on the assigning, the API object corresponding to the database object;

receiving a modification request associated with the database object denying the modification request based at least in part on the database object being classified as API exposable; and

providing, via the API schema and independent of the application, access to the API object by a privileged consumer.

9. The non-transitory computer-readable device of claim 8 , wherein the API schema is a first API schema, the API object is a first API object, the privileged consumer is a first privileged consumer, the proxy access is first proxy access, and the operations further comprising:

creating a second API schema for second proxy access to the database objects that have been identified as API exposable, the first API schema associated with a first access privilege possessed by the first privileged consumer and the second API schema associated a second access privilege possessed by a second privileged consumer;

assigning the database object to the second API schema;

generating a second API object within the second API schema based on the assigning, the second API object corresponding to the database object; and

providing, via the second API schema and independent of the application, access to the second API object by the second privileged consumer.

10. The non-transitory computer-readable device of claim 9 , the operations further comprising:

denying, via the second API schema and independent of the application, access to the second API object by the first privileged consumer.

11. The non-transitory computer-readable device of claim 8 , wherein generating the API object within the API schema further comprises:

generating a projection view, a database view, a database procedure, or a database function based on the database object.

12. The non-transitory computer-readable device of claim 8 , wherein the database object includes one of a database table, a database view, a database table function, a database hierarchy, or a database procedure.

13. A system, comprising:

a memory including a database object managed by an application; and

one or more processors and/or circuits coupled to the memory and configured to:

determine that the database object is classified as application programming interface (API) exposable;

create an API schema for proxy access to database objects that have been identified as API exposable;

assign the database object to the API schema;

generate an API object within the API schema based on the assigning, the API object corresponding to the database object;

receive a modification request associated with the database object;

deny the modification request based at least in part on the database object being classified as API exposable; and

provide, via the API schema and independent of the application, access to the API object by a privileged consumer.

14. The system of claim 13 , wherein the API schema is a first API schema, the API object is a first API object, the privileged consumer is a first privileged consumer, the proxy access is first proxy access, and the one or more processors and/or circuits are configured to:

create a second API schema for second proxy access to the database objects that have been identified as API exposable, the first API schema associated with a first access privilege possessed by the first privileged consumer and the second API schema associated a second access privilege possessed by a second privileged consumer;

assign the database object to the second API schema;

generate a second API object within the second API schema based on the assigning, the second API object corresponding to the database object; and

provide, via the second API schema and independent of the application, access to the second API object by the second privileged consumer.

15. The system of claim 14 , wherein the one or more processors and/or circuits are configured to deny, via the second API schema and independent of the application, access to the second API object by the first privileged consumer.

16. The system of claim 13 , wherein the one or more processors and/or circuits are configured to:

receive a modification request associated with the database object; and

deny the modification request based at least in part on the database object being classified as API exposable.

17. The system of claim 13 , wherein the database object includes one of a database table, a database view, a database table function, a database hierarchy, or a database procedure.

18. The system of claim 13 , wherein to generate the API object within the API schema, the one or more processors and/or circuits are configured to generate a projection view, a database view, a database procedure, or a database function based on the database object.

19. The system of claim 1 , wherein the creating comprises:

creating two roles for the API schema, including both a first role that provides direct access to the API schema and a second role that both provides direct access to the API schema and provides view building capabilities; and

assigning the second role to the database account.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 5, 2020
From: FALTER, TIMM; HARREN, ARNE; ZIEGLER, TORSTEN
To: SAP SE
Reel/Frame 052848/0897 →
Continuity (1)
Related Publication 20210216510A1 · Jul 15, 2021