Transparent database table replacement

US9910871B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9910871-B2
Application numberUS-201414570672-A
CountryUS
Kind codeB2
Filing dateDec 15, 2014
Priority dateDec 15, 2014
Publication dateMar 6, 2018
Grant dateMar 6, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A table can be replaced with a view transparently to the application. For example, a data dictionary can specify that the view is to be substituted for the table. At runtime, application operations on the table are redirected to be performed on the view. Validation can be performed to ensure congruence between the table and the view. Can be useful for situations where a view with enhanced functionality is desired to be used in place of the table without re-coding the application.

First claim

Opening claim text (preview).

What is claimed is: 1. A method of controlling database operations at runtime of an application, the method comprising: storing a table object representing a database table, wherein the table object comprises a stored indication that the database table should be replaced by a database view in at least a portion of database operations, a reference to a view object for the database view, and an incongruence flag indicating incongruence between the database table and the database view, wherein the database table has a database table identifier and the database view has a database view identifier; storing the view object, wherein the view object comprises the database view identifier for the database view; at runtime of an application, receiving a request from the application to perform an operation on the database table, the requested database operation comprising the database table identifier for the database table; detecting that the database view has been specified to replace the database table in at least a portion of received database operation requests, wherein detecting comprises evaluating the stored indication in the table object; detecting that no incongruence exists between the database table and the database view via the incongruence flag; translating the requested database operation, wherein translating the requested database operation comprises, responsive to the detections, substituting the database view identifier for the database table identifier in the requested database operation; performing the requested database operation as translated; and returning results of the requested database operation to the application as if the operation was performed on the database table when instead it was performed on the database view, thereby replacing the database table with the database view transparently to the application. 2. The method of claim 1 , wherein performing the requested database operation comprises: submitting the translated requested database operation to a database management system. 3. The method of claim 2 , wherein the database management system provides enhanced services comprising a submission to at least one of: an SQL engine, a calculation engine, or an SQL script. 4. The method of claim 1 , wherein the method further comprises: at runtime, determining whether the requested database operation comprises a specified type of statement; wherein the substituting is performed responsive to determining that the requested database operation does comprise the specified type of statement. 5. The method of claim 4 , wherein the specified type of statement is a SELECT statement. 6. The method of claim 1 , wherein: the database view is provided by an enhanced database service providing view functionality beyond that of an SQL engine. 7. The method of claim 6 , wherein the view functionality comprises one or more domain-specific languages. 8. The method of claim 1 , further comprising: following the reference to the view object; and retrieving the database view identifier from the view object. 9. The method of claim 1 , further comprising: responsive to encountering a REPLACE directive in a data dictionary, storing the indication in the table object. 10. The method of claim 1 , further comprising: detecting a modification of a data dictionary describing the database table and the database view; and responsive to detecting the modification, validating congruence between the database table and the database view. 11. The method of claim 1 , further comprising: responsive to detecting incongruence between the database table and the database view, raising an error condition. 12. The method of claim 10 , further comprising: responsive to detecting incongruence between the database table and the database view, setting the incongruence flag to allow for substitution and providing a warning of the incongruence. 13. The method of claim 1 , wherein the incongruence flag indicates congruence when at least one control field of the database table and at least one control field of the database view are different. 14. The method of claim 1 , wherein the database view mirrors the database table. 15. One or more computer-readable media comprising computer-executable instructions causing a computing system to perform a method comprising: reading a data dictionary comprising a classic database view description describing a classic database view and an enhanced database view description describing an enhanced database view, wherein the data dictionary specifies that the enhanced database view is to replace the classic database view; confirming that the classic database view description and the enhanced database view description indicate congruent description for the classic database view and the enhanced database view, wherein the confirming comprises performing a congruence check; based on the enhanced database view description, creating an enhanced view object stored in memory comprising a reference to the enhanced database view; based on the classic database view description, creating a classic view object stored in memory indicating that the classic database view is replaced by the enhanced database view, wherein the classic view object comprises a reference to the enhanced view object; and at runtime, when receiving a request to perform an operation on the classic database view, detecting that the classic view object indicates that the classic database view is to be replaced by the enhanced database view, verifying that the classic view object indicates that the congruence check was successful, substituting the enhanced database view for the classic database view, and performing the operation on the enhanced database view instead of the classic database view. 16. One or more computer-readable media comprising computer-executable instructions that, when executed, cause a computing system to perform a method of controlling database operations at runtime of an application, the method comprising: in memory, storing a table object representing a database table, wherein the table object comprises a stored indication that the database table should be replaced by a database view in at least a portion of database operations, a reference to a view object for the database view, and an incongruence flag indicating incongruence between the database table and the database view, wherein the database table has a database table identifier and the database view has a database view identifier; in memory, storing the view object, wherein the view object comprises the database view identifier for the database view; at runtime of an application, receiving a request from the application to perform an operation on the database table, the requested database operation comprising the database table identifier for the database table; detecting that the database view has been specified to replace the database table, wherein detecting comprises evaluating the stored indication in the table object; detecting that no incongruence exists between the database table and the database view via the incongruence flag; translating the requested database operation, wherein translating the requested database operation comprises, responsive to the detections, substituting the database view identifier for the database table identifier in the requested database operation; performing the requested database operation as translated; and returning results of the requested database operation to the application as if the operation was performed on the database table when instead it was performed on the databas

Assignees

Inventors

Classifications

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9910871B2 cover?
A table can be replaced with a view transparently to the application. For example, a data dictionary can specify that the view is to be substituted for the table. At runtime, application operations on the table are redirected to be performed on the view. Validation can be performed to ensure congruence between the table and the view. Can be useful for situations where a view with enhanced funct…
Who is the assignee on this patent?
Stork Christian, Hoeft Kerstin, Becker Frank, and 3 more
What technology area does this patent fall under?
Primary CPC classification G06F17/30294. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 06 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).