IP Library Granted Patent US 9,053,134
Granted Patent B2
US 9,053,134 · App. 13/828,027 · Granted Jun 9, 2015

View variants in database schema mapping

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 9,053,134
App. No.
13/828,027
Granted
Jun 9, 2015
Kind
B2
Abstract

This disclosure includes a method, a system and a computer readable medium. The method includes receiving a data model configured to model data in a first database schema in a database system, using the received data model to generate a first data view of a first instance of the first database schema in the database system, including referencing, using a first view variant, one or more data tables including the first instance of the first database schema to generate the first data view, and using the received data model to generate a second data view of a second instance of the first database schema in the database system, including referencing, using a second view variant, one or more data tables including the second instance of the first database schema to generate the second data view.

Claims (61)

1. A method, comprising:

receiving a data model configured to model data in a first database schema in a database system;

using the received data model to generate a first data view of a first instance of the first database schema in the database system, including referencing, using a first view variant, one or more data tables including the first instance of the first database schema to generate the first data view; and

using the received data model to generate a second data view of a second instance of the first database schema in the database system, including referencing, using a second view variant, one or more data tables including the second instance of the first database schema to generate the second data view.

2. The method of claim 1 , wherein the first data view and the second data view are separate data views stored in an instance of a shared database schema.

3. The method of claim 2 , wherein

first result tables are generated from the first data view by accessing data stored in the one or more data tables in the first instance of the first database schema, and

second result tables are generated from the second data view by accessing data stored in the one or more data tables in the second instance of the first database schema.

4. The method of claim 1 , wherein

the first view variant is stored in a data table in reference to the data model and the first instance of the first database schema, and

generating the first data view includes looking-up the first view variant in the data table.

5. The method of claim 1 , wherein

the second view variant is stored in a data table in reference to the data model and the second instance of the first database schema, and

generating the second data view includes looking-up the second view variant in the data table.

6. The method of claim 1 , further comprising:

receiving a schema defining a third data view; and

modifying the third data view based on one of the generated first data view and the generated second data view.

7. The method of claim 6 , wherein modifying the third data view includes,

determining a dependence between the third data view and one of the generated first data view and the generated second data view based on a look-up in a data table; and

changing the schema defining the third data view to reference one of the generated first data view and the generated second data view based on the determined dependence.

8. The method of claim 7 , wherein the look-up in the data table returns one of the first view variant and the second view variant.

9. A database system comprising:

a computer system; and

a data storage device having stored thereon executable program code which, when executed by the computer system, causes the computer system to:

receive a data model which models data in a first database schema in the database system;

use the received data model to generate a first data view of a first instance of the first database schema in the database system, including referencing, using a first view variant, one or more data tables including the first instance of the first database schema to generate the first data view; and

use the received data model to generate a second data view of a second instance of the first database schema in the database system, including referencing, using a second view variant, one or more data tables including the second instance of the first database schema to generate the second data view.

10. The database system of claim 9 , wherein the first data view and the second data view are separate data views stored in an instance of a shared database schema.

11. The database system of claim 10 , wherein

first result tables are generated from the first data view by accessing data stored in the one or more data tables in the first instance of the first database schema, and

second result tables are generated from the second data view by accessing data stored in the one or more data tables in the second instance of the first database schema.

12. The database system of claim 9 , wherein

the first view variant is stored in a data table in reference to the data model and the first instance of the first database schema,

generating the first data view includes looking-up the first view variant in the data table,

the second view variant is stored in the data table in reference to the data model and the second instance of the first database schema, and

generating the second data view includes looking-up the second view variant in the data table.

13. The database system of claim 9 , wherein the executable program code which, when executed by the computer system, further causes the computer system to:

receive a schema defining a third data view; and

modify the third data view based on one of the generated first data view and the generated second data view.

14. The database system of claim 13 , wherein modifying the third data view includes,

determining a dependence between the third data view and one of the generated first data view and the generated second data view based on a look-up in a data table; and

changing the schema defining the third data view to reference one of the generated first data view and the generated second data view based on the determined dependence.

15. A non-transitory computer-readable storage medium having stored thereon computer executable program code which, when executed on a computer system, causes the computer system to perform steps of:

receiving a data model which models data in a first database schema in the database system;

using the received data model to generate a first data view of a first instance of the first database schema in the database system, including referencing, using a first view variant, one or more data tables including the first instance of the first database schema to generate the first data view; and

using the received data model to generate a second data view of a second instance of the first database schema in the database system, including referencing, using a second view variant, one or more data tables including the second instance of the first database schema to generate the second data view.

16. The non-transitory computer-readable storage medium of claim 15 , wherein the first data view and the second data view are separate data views stored in an instance of a shared database schema.

17. The non-transitory computer-readable storage medium of claim 16 , wherein

first result tables are generated from the first data view by accessing data stored in the one or more data tables in the first instance of the first database schema, and

second result tables are generated from the second data view by accessing data stored in the one or more data tables in the second instance of the first database schema.

18. The non-transitory computer-readable storage medium of claim 15 , wherein

the first view variant is stored in a data table in reference to the data model and the first instance of the first database schema,

generating the first data view includes looking-up the first view variant in the data table,

the second view variant is stored in the data table in reference to the data model and the second instance of the first database schema, and

generating the second data view includes looking-up the second view variant in the data table.

19. The non-transitory computer-readable storage medium of claim 15 , wherein the executable program code which, when executed by the computer system, further causes the computer system to:

receive a schema defining a third data view; and

modify the third data view based on one of the generated first data view and the generated second data view.

20. The non-transitory computer-readable storage medium of claim 19 , wherein modifying the third data view includes,

determining a dependence between the third data view and one of the generated first data view and the generated second data view based on a look-up in a data table; and

changing the schema defining the third data view to reference one of the generated first data view and the generated second data view based on the determined dependence.

Assignments (2)
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0223 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 14, 2013
From: KEMMLER, ANDREAS; KAMENZ, TORSTEN
To: SAP AG
Reel/Frame 031009/0087 →