Search Images Maps Play YouTube News Gmail Drive More »
Advanced Patent Search | Web History | Sign in

Patents

The mapping system maps a physical table of a database to a logical table representing a logical view of the database that integrates standard columns and custom columns. The physical table includes a standard table with standard columns and a custom table with custom columns. The custom table may be implemented as a pivot table. The mapping system provides a map between standard and custom columns and logical columns. The physical table may include multiple standard tables. The mapping system allows for individual standard tables to be updated, rather than updating all the columns across all the standard tables for a row.

InventorsChih-Jen Huang, Steven Sheldon, Robert Turner, Patrick Conlan
Original AssigneeMicrosoft Corporation
Primary Examiner: Jeffrey Gaffin
Secondary Examiner: Jacques Veillard
Attorney: Perkins Coie LLP
Current U.S. Classification707/756; 707/763; 707/770; 707/792; 707/812; 707/999.006; 707/999.1; 707/999.202; 707/E17.033; 707/E17.085; 707/E17.134

View patent at USPTO
Search USPTO Assignment Database

Citations

Cited PatentFiling dateIssue dateOriginal AssigneeTitle
US5734887Sep 29, 1995Mar 31, 1998International Business Machines CorporationMethod and apparatus for logical data access to a physical relational database
US5873096Oct 8, 1997Feb 16, 1999Siebel Systems, Inc.Method of maintaining a network of partially replicated database system
US5937402Jun 19, 1997Aug 10, 1999Ontos, Inc.System for enabling access to a relational database from an object oriented program
US6295533Feb 24, 1998Sep 25, 2001AT&T Corp.System and method for accessing heterogeneous databases
US6457003Aug 16, 1999Sep 24, 2002International Business Machines CorporationMethods, systems and computer program products for logical access of data sources utilizing standard relational database management systems
US6490590Feb 14, 2000Dec 3, 2002NCR CorporationMethod of generating a logical data model, physical data model, extraction routines and load routines
US6687704Sep 6, 2000Feb 3, 2004Hewlett-Packard Development Company, L.P.Database model system and method
US6711582Jun 25, 2002Mar 23, 2004International Business Machines CorporationMethod and system for implementing persistent object services on a relational database
US7062502Dec 28, 2001Jun 13, 2006Automated generation of dynamic data entry user interface for relational database management systems

Referenced by

Citing PatentFiling dateIssue dateOriginal AssigneeTitle
US7580949Apr 14, 2005Aug 25, 2009International Business Machines CorporationQuery conditions on related model entities
US7870145Apr 21, 2008Jan 11, 2011International Business Machines CorporationUtilization of logical fields with conditional constraints in abstract queries
US8090737Mar 26, 2009Jan 3, 2012International Business Machines CorporationUser dictionary term criteria conditions
US8145652Oct 9, 2008Mar 27, 2012International Business Machines CorporationAutomated propagation of non-conflicting queries in distributed databases
US8161075May 31, 2006Apr 17, 2012Verizon Laboratories Inc.Systems and methods for managing integrated and customizable data

Claims

1. A method in a computer system for providing a view of data, the method comprising:

providing physical data having standard and custom data, the standard data having entries with data for standard fields, the custom data having data for custom fields, the custom fields being represented by pivot data;

providing a map between standard and custom fields and logical fields of logical data;

providing a result set containing physical data from a standard field and a custom field;

organizing the physical data of the result set into logical data using the provided map; and
storing the organized logical data as the view.

2. The method of claim 1 wherein the physical data, the custom data, the pivot data, and the logical data are represented as tables, the tables having rows and columns.

3. The method of claim 2 where each row of the pivot table identifies a custom column, a row of the physical table, and data for the custom column of the identified row of the physical table.

4. The method of claim 2 wherein the map maps columns of the logical table to the corresponding standard column or custom column.

5. The method of claim 4 wherein the map of a logical column includes an identifier of the custom column used by the pivot data.

6. The method of claim 2 wherein when the logical table is updated, updating the standard table and the custom table.

7. The method of claim 2 wherein the physical table comprises multiple standard tables with standard columns and when a logical column of the logical table is updated, updating only the standard table including the corresponding standard column.

8. The method of claim 2 wherein when the updating of the logical table includes adding data for a custom column of a logical row, adding a row to the pivot table for the custom column of the physical row corresponding to the logical row.

9. The method of claim 2 wherein when the updating of the logical table includes updating data for a custom column of a logical row, updating a row of the pivot table for the custom column of the physical row corresponding to the logical row.

10. A computer-readable storage medium containing a data structure for mapping between a logical table and a physical table, the physical table including a standard table and a custom table, the data structure comprising:

for each logical column of the logical table,
when the logical column corresponds to a standard column of the standard table, mapping the logical column to the corresponding standard column; and
when the logical column corresponds to a custom column of the custom table, mapping the logical column to the corresponding custom column, the custom table being represented by a pivot table;

instructions for generating a logical view of physical data using the mapping; and

instructions for storing the generated view.

11. The computer-readable storage medium of claim 10 wherein the pivot table includes for each custom column, a row for each row of the physical table including data for the each custom column.

12. The computer-readable storage medium of claim 10 wherein each mapping of a logical column includes a name for the logical column, an indication of whether the corresponding standard column is a key of the standard table of the corresponding standard column, a name for the corresponding physical column, and a indication of either the standard table or the custom table.

13. The computer-readable storage medium of claim 10 wherein the mapping of the logical column to the corresponding custom column includes a name of the corresponding pivot table, an identifier of a pivot column containing a name of the custom column, an identifier of a pivot column containing data of the custom column, and an identifier of a pivot column containing a key for a physical row.

14. A computer-readable storage medium containing instructions for controlling a computer system to update data, by a method comprising:

providing a map between standard and custom columns of a physical table and logical columns of a logical table, the custom columns being represented using a pivot table;

providing an indication of an update to the logical table;

using the map to determine the standard column or custom column to which an updated logical column corresponds; and

effecting the update of the determined column of the physical table.

15. The computer-readable storage medium of claim 14 wherein when the determined column is a custom column updating a row of the pivot table.

16. The computer-readable storage medium of claim 15 wherein each row of the pivot table identifies a custom column, a row of the physical table, and data for the identified custom column of the identified row of the physical data.

17. The computer-readable storage medium of claim 14 wherein the logical table is generated by providing a result set containing physical data retrieved from standard and custom columns of the physical table and the map is used to map the retrieved physical data to the corresponding logical data of the logical table.

18. The computer-readable storage medium of claim 17 wherein the logical table is represented as a dataset object.

19. The computer-readable storage medium of claim 18 including adding tracker tables to the dataset object to log updates to the logical table.

20. The computer-readable storage medium of claim 14 wherein the physical table includes multiple standard tables and the updating includes updating only those standard tables with standard columns corresponding to logical columns that were updated.

21. A computer-readable storage medium containing instructions for controlling a computer system to update data, by a method comprising:

providing a map between physical columns of a physical table and logical columns of a logical table, the physical table being represented a multiple database tables within a database;

providing a result set containing physical data derived from the multiple database tables;

organizing the physical data of the result set into a logical table based on the provided map;

providing an indication of an update to the logical table, the update updating logical columns corresponding to physical columns represented in different database tables;
using the provided map to determine to which columns of which database tables the updated logical columns correspond; and
effecting the update of the determined columns of the database tables.

22. The computer-readable storage medium of claim 21 wherein the database tables correspond to standard tables and a custom table, the custom table being represented by a pivot table.

23. The computer-readable storage medium of claim 22 wherein when a determined column is a custom column of the custom table, updating a row of the pivot table.

24. The computer-readable storage medium of claim 22 wherein each row of the pivot table identifies a custom column, a row of the physical table, and data for the identified custom column of the identified row of the physical data.

25. The computer-readable storage medium of claim 21 wherein the logical table is represented as a dataset object.

26. The computer-readable storage medium of claim 25 including adding tracker tables to the dataset object to log updates to the logical table.

27. The computer-readable storage medium of claim 21 wherein the physical table includes multiple standard tables and the updating includes updating only those standard tables with standard columns corresponding to logical columns that were updated.