IP Library Granted Patent US 10,067,749
Granted Patent B2
US 10,067,749 · App. 14/522,617 · Granted Sep 4, 2018

Generating consumer-oriented APIs from a UI model

Inventor: Christoph Birkenhauer (Sankt Leon-Rot, DE)
Assignee: SAP SE
G06F8/35G06F8/38G06F8/36
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 10,067,749
App. No.
14/522,617
Granted
Sep 4, 2018
Kind
B2
Abstract

Various embodiments of systems and methods to generate consumer-oriented APIs from a UI model are described herein. In one aspect, a unique identifier is assigned to a node, and corresponding elements and actions of an ADM. The elements and actions associated with the node are mapped to one or more UI elements of an application UI using the assigned unique identifier. A service definition is derived from the UI elements and the UI actions by interacting with the application UI. Further, an API is generated based on the service definition. The generated API is independent from the application UI.

Claims (43)

1. A non-transitory computer-readable medium storing instructions, which when executed by a computer cause the computer to perform operations comprising:

assign a unique identifier to a node of an abstract data model (ADM);

assign unique identifiers to one or more elements and one more actions associated with the node of the ADM;

map the one or more elements and the one or more actions to one or more user interface (UI) elements and one or more UI actions of an application UI using the assigned unique identifiers;

derive a service definition from the one or more UI elements and the one or more UI actions based on an input received during interaction with the application UI, wherein the service definition includes one or more definitions of type of service including a uniform resource locator associated with the application UI;

generate a consumer-specific application programming interface (API), independent of a UI model, based on the derived service definition; and

accept a change to the node of the ADM based on a change in a business object, of one more business objects, associated with the node upon determining that properties associated with the unique identifier of the node are compatible with the received change in the business object.

2. The non-transitory computer-readable medium of claim 1 , wherein the ADM comprises a number of nodes including a root node and one or more child nodes corresponding to business data associated with the one or more business objects.

3. The non-transitory computer-readable medium of claim 1 , wherein the service definition is derived at the application UI to generate a service for accepting given input parameters and to return a desired output.

4. The non-transitory computer-readable medium of claim 3 , wherein the service definition comprises at least one of input and output parameters, input and output conversions, read-only services and update services, single processing and set processing actions and navigations.

5. The non-transitory computer-readable medium of claim 3 , wherein the service definition comprises a data format and a communication channel.

6. The non-transitory computer-readable medium of claim 3 , wherein the service definition comprises consumer-side validations and transformations.

7. The non-transitory computer-readable medium of claim 1 , further comprising instructions, which when executed cause the computer system to:

trigger an approval process to a consumer by providing relevant information of the change in the business object when the properties are incompatible.

8. A computer implemented method to generate consumer-oriented application programming interfaces (APIs) from a UI model, the method comprising:

assigning a unique identifier to a node of an abstract data model (ADM);

assigning unique identifiers to one or more elements and one more actions associated with the node of the ADM;

mapping the one or more elements and the one or more actions to one or more user interface (UI) elements and one or more UI actions of an application UI using the assigned unique identifiers;

deriving a service definition from the one or more UI elements and the one or more UI actions based on an input received during interaction with the application UI, wherein the service definition includes one or more definitions of type of service including a uniform resource locator associated with the application UI;

generating the consumer-specific application programming interface (API), independent of the UI model, based on the derived service definition; and

accepting a change to the node of the ADM based on a change in a business object, of one or more business objects, associated with the node upon determining that properties associated with the unique identifier of the node are compatible with the received change in the business object.

9. The computer implemented method of claim 8 , wherein the ADM comprises a number of nodes including a root node and one or more child nodes corresponding to business data associated with the one or more business objects.

10. The computer implemented method of claim 8 , wherein the service definition is derived at the application UI to generate a service for accepting given input parameters and to return a desired output.

11. The computer implemented method of claim 10 , wherein the service definition comprises at least one of input and output parameters, input and output conversions, read-only services and update services, single processing and set processing actions and navigations.

12. The computer implemented method of claim 10 , wherein the service definition comprises a data format and a communication channel.

13. The computer implemented method of claim 10 , wherein the service definition comprises consumer-side validations and transformations.

14. The computer implemented method of claim 8 , further comprising:

triggering an approval process to a consumer by providing relevant information of the change in the business object when the properties are incompatible.

15. A computer system to generate consumer-oriented application programming interfaces (APIs) from a UI model, the computer system comprising:

at least one processor; and

one or more memory devices communicative with the at least one processor, wherein the one or more memory devices store instructions to:

assign a unique identifier to a node of an abstract data model (ADM);

assign unique identifiers to one or more elements and one more actions associated with the node of the ADM;

map the one or more elements and the one or more actions to one or more user interface (UI) elements and one or more UI actions of an application UI using the assigned unique identifiers;

derive a service definition from the one or more UI elements and the one or more UI actions based on an input received during interaction with the application UI, wherein the service definition includes one or more definitions of type of service including a uniform resource locator associated with the application UI;

generate the consumer-specific application programming interface (API), independent of the UI model, based on the derived service definition; and

accept a change to the node of the ADM based on a change in a business object, of one or more business objects, associated with the node upon determining that properties associated with the unique identifier of the node are compatible with the received change in the business object.

16. The computer system of claim 15 , wherein the ADM comprises a number of nodes including a root node and one or more child nodes corresponding to business data associated with the one or more business objects.

17. The computer system of claim 15 , wherein the service definition is derived at the application UI to generate a service for accepting given input parameters and to return a desired output.

18. The computer system of claim 17 , wherein the service definition comprises at least one of input and output parameters, input and output conversions, read-only services and update services, single processing and set processing actions and navigations.

19. The computer system of claim 17 , wherein the service definition comprises a data format and a communication channel.

20. The computer system of claim 15 , further comprising:

triggering an approval process to a consumer by providing relevant information of the change in the business object when the properties are incompatible.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 5, 2015
From: BIRKENHAUER, CHRISTOPH
To: SAP SE
Reel/Frame 034905/0720 →
Continuity (1)
Related Publication 20160117151A1 · Apr 28, 2016
Cited By (1)
US 12,518,238