# US 2015/0149445 A1 · Accessing single entities in odata entity sets

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149445 A1
- Document ID: US20150149445A1
- Status: Published application
- Kind: A1
- Application number: 14/318,898
- Filed: 2014-06-30
- Published: 2015-05-28
- Earliest claimed: 2013-11-25
- Assignees: Sap SE
- Inventors: Florian Foebel; Bjoern Friedmann; Boris Gruschko; Christian Mohr; Martin Strenge; Sascha Zorn
- Web page: https://patentgrep.com/patent/US20150149445A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 11/3668: Testing of software
- G06F 16/21: Design, administration or maintenance of databases
- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F 16/951: Indexing; Web crawling techniques
- G06F 16/953: Querying, e.g. by the use of web search engines
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system includes activation of an OData service exposing a parameterized database view, the OData service exposing a Parameter Entity Type and a Result Entity Type, wherein the Parameter Entity Type specifies one or more input parameters of the database view as properties of the Parameter Entity Type, and defines a Parameter Entity Type key formed by each of the one or more input parameters, and wherein the Result Entity Type specifies the one or more input parameters and one or more output of the database view as properties of the Result Entity Type, and defines a Result Entity Type key formed by each of the one or more input parameters and at least one of the one or more output parameters. Also included is reception of an OData request comprising a Uniform Resource Indicator, the Uniform Resource Indicator including the OData service, the Result Entity Type, and a value for each of one or more input parameters of the database view and for at least one of the one or more output parameters of the database view, and execution, in response to the request, of the OData service to return a single entity associated with the values.

## Claims

### Claim 1

A system comprising:
a database storing data; and
a processor to execute processor-executable process steps to cause the system to:
activate an OData service exposing a database view, the OData service exposing a Parameter Entity Type and a Result Entity Type, wherein the Parameter Entity Type specifies one or more input parameters of the database view as properties of the Parameter Entity Type, and defines a Parameter Entity Type key formed by each of the one or more input parameters, and wherein the Result Entity Type specifies the one or more input parameters and one or more output of the database view as properties of the Result Entity Type, and defines a Result Entity Type key formed by each of the one or more input parameters and at least one of the one or more output parameters;
receive an OData request comprising a Uniform Resource Indicator, the Uniform Resource Indicator including the OData service, the Result Entity Type, and a value for each of one or more input parameters of the database view and for at least one of the one or more output parameters of the database view; and
in response to the request, execute the OData service to return a single entity associated with the values.

### Claim 2 (depends on 1)

A system according to claim 1, wherein execution of the OData service comprises:
execution of an OData handler to construct database statements based on a metadata definition of the OData service, and to invoke the database statements using a Structured Query Language Application Programming Interface.

### Claim 3 (depends on 1)

A system according to claim 1, the processor to further execute processor-executable process steps to cause the system to:
receive a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, a value for each of one or more input parameters of the database view, and a filter value of at least one of the one or more output parameters of the database view; and
in response to the second request, execute the OData service to return a list comprising a single entry associated with the values.

### Claim 4 (depends on 3)

A system according to claim 3, the processor to further execute processor-executable process steps to cause the system to:
receive a third OData request comprising a second Uniform Resource Indicator, the third Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the third request, execute the OData service to return a set of all entities of the database view which are associated with the values.

### Claim 5 (depends on 1)

A system according to claim 1, the processor to further execute processor-executable process steps to cause the system to:
receive a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the second request, execute the OData service to return a set of all entities of the database view which are associated with the values.

### Claim 6

A computer-implemented method comprising:
activating an OData service exposing a database view, the OData service exposing a Parameter Entity Type and a Result Entity Type, wherein the Parameter Entity Type specifies one or more input parameters of the database view as properties of the Parameter Entity Type, and defines a Parameter Entity Type key formed by each of the one or more input parameters, and wherein the Result Entity Type specifies the one or more input parameters and one or more output of the database view as properties of the Result Entity Type, and defines a Result Entity Type key formed by each of the one or more input parameters and at least one of the one or more output parameters;
receiving an OData request comprising a Uniform Resource Indicator, the Uniform Resource Indicator including the OData service, the Result Entity Type, and a value for each of one or more input parameters of the database view and for at least one of the one or more output parameters of the database view; and
in response to the request, executing the OData service to return a single entity associated with the values.

### Claim 7 (depends on 6)

A computer-implemented method according to claim 6, wherein executing the OData service comprises:
executing an OData handler to construct database statements based on a metadata definition of the OData service, and to invoke the database statements using a Structured Query Language Application Programming Interface.

### Claim 8 (depends on 6)

A computer-implemented method according to claim 6, further comprising:
receiving a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, a value for each of one or more input parameters of the database view, and a filter value of at least one of the one or more output parameters of the database view; and
in response to the second request, executing the OData service to return a list comprising a single entry associated with the values.

### Claim 9 (depends on 8)

A computer-implemented method according to claim 8, further comprising:
receiving a third OData request comprising a second Uniform Resource Indicator, the third Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the third request, executing the OData service to return a set of all entities of the database view which are associated with the values.

### Claim 10 (depends on 6)

A computer-implemented method according to claim 6, further comprising:
receiving a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the second request, executing the OData service to return a set of all entities of the database view which are associated with the values.

### Claim 11

A non-transitory computer-readable medium storing program code, the program code executable by a computer system to cause to the computer system to:
activate an OData service exposing a database view, the OData service exposing a Parameter Entity Type and a Result Entity Type, wherein the Parameter Entity Type specifies one or more input parameters of the database view as properties of the Parameter Entity Type, and defines a Parameter Entity Type key formed by each of the one or more input parameters, and wherein the Result Entity Type specifies the one or more input parameters and one or more output of the database view as properties of the Result Entity Type, and defines a Result Entity Type key formed by each of the one or more input parameters and at least one of the one or more output parameters;
receive an OData request comprising a Uniform Resource Indicator, the Uniform Resource Indicator including the OData service, the Result Entity Type, and a value for each of one or more input parameters of the database view and for at least one of the one or more output parameters of the database view; and
in response to the request, execute the OData service to return a single entity associated with the values.

### Claim 12 (depends on 11)

A non-transitory computer-readable medium according to claim 11, wherein execution of the OData service comprises:
execution of an OData handler to construct database statements based on a metadata definition of the OData service, and to invoke the database statements using a Structured Query Language Application Programming Interface.

### Claim 13 (depends on 11)

A non-transitory computer-readable medium according to claim 11, the program code further executable by a computer system to cause to the computer system to:
receive a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, a value for each of one or more input parameters of the database view, and a filter value of at least one of the one or more output parameters of the database view; and
in response to the second request, execute the OData service to return a list comprising a single entry associated with the values.

### Claim 14 (depends on 13)

A non-transitory computer-readable medium according to claim 13, the program code further executable by a computer system to cause to the computer system to:
receive a third OData request comprising a second Uniform Resource Indicator, the third Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the third request, execute the OData service to return a set of all entities of the database view which are associated with the values.

### Claim 15 (depends on 11)

A non-transitory computer-readable medium according to claim 11, the program code further executable by a computer system to cause to the computer system to:
receive a second OData request comprising a second Uniform Resource Indicator, the second Uniform Resource Indicator including the OData service, the Parameter Entity Type, and a value for each of one or more input parameters of the database view; and
in response to the second request, execute the OData service to return a set of all entities of the database view which are associated with the values.
