Patent US1266983A successfully refreshed from Google Patents.
Patent US5907846A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5907846A Expired / Lapsed US ⏱️ 0.0 years remaining

Method and system for accessing relational databases using objects

Assignee: Hewlett Packard Enterprise Development LP
•
Filing: 1996-06-07
•
Granted: 1999-05-25
•
Expires: 2016-06-07
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract An object oriented system for accessing an external relational database from within the object oriented system. The system creates an object and fills it with data values retrieved from the database. References from the object to other objects include pointers to preexisting objects or pointers to placeholder objects. Later retrieves fill in the placeholder objects, eliminating the need to reset the pointers. Caching, utilizing static data and static functions, is performed by each class of objects. Sub-objects are used to create different logical views of data from the database, and query access to the database is provided by a query engine which builds query language statements on demand.

Inventors

  • 👤 Andrew J. Berner
  • 👤 Kathryn A. Rosenthal

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-08 13:07
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/28; G06F16/289; G06F16/284; Y; Y10; Y10S; Y10S707/00; Y10S707/99941; Y10S707/99944; Y10S707/99945

Claims Analysis

Total Claims: 25
Claim 1
Independent Claim 167 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, the method comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating a first object within the object oriented environment, the first object containing at least one reference to a second object, the second object comprising a placeholder object, such that memory space accessible by said object oriented environment is allocated for said first object; (d) retrieving data from the data set, wherein the data retrieved comprises data for the first object, but wherein data for the second object is not retrieved; (e) storing the data retrieved in step (d) into the first object; (f) returning the first object as a response to the request message; (g) allocating memory space for said placeholder object; and (h) setting at least one reference between said first object and said placeholder object.
Claim 2
Dependent Claim 167 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, the method comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating a first object within the object oriented environment, the first object containing at least one reference to a second object, the second object comprising a placeholder object, such that memory space accessible by said object oriented environment is allocated for said first object; (d) retrieving data from the data set, wherein the data retrieved comprises data for the first object, but wherein data for the second object is not retrieved; (e) storing the data retrieved in step (d) into the first object; (f) returning the first object as a response to the request message; (g) allocating memory space for said placeholder object; and (h) setting at least one reference between said first object and said placeholder object.
Claim 3
Dependent Claim 19 words
The computer implemented method of claim 1 wherein the second object comprises a sub-object contained within the first object.
Claim 4
Dependent Claim 21 words
The computer implemented method of claim 1 wherein the second object comprises an associated object not contained within the first object.
Claim 5
Dependent Claim 16 words
The computer implemented method of claim 1 wherein step (c) further comprises creating the second object.
Claim 6
Dependent Claim 19 words
The computer implemented method of claim 4 wherein creating the second object comprises allocating memory for the second object.
Claim 7
Dependent Claim 93 words
The computer implemented method of claim 1, wherein step (b) further comprises the steps of: (b1) determining whether the requested data is stored as an object on a cache within the object oriented environment; (b2) when the data is stored on the cache, returning the object on the cache as a response to the request message, and not performing steps (c) through (f); and (b3) when the requested data is not stored as an object on the cache, performing steps (c) through (f), and then placing the first object on the cache storage.
Claim 8
Dependent Claim 36 words
The computer implemented method of claim 6 wherein the first object, once created, maintains independent cache status information used by step (b1) to determine whether the requested data is available as an object on the cache.
Claim 9
Dependent Claim 22 words
The computer implemented method of claim 7 wherein the cache is implemented through static functions and static data within the first object.
Claim 10
Dependent Claim 34 words
The computer implemented method of claim 6 wherein the first object maintains independent persistence status information used by step (b1) to determine whether the requested data is available as an object on the cache.
Claim 11
Dependent Claim 23 words
The computer implemented method of claim 6 wherein the cache comprises a separate cache within each class contained within the object oriented environment.
Claim 12
Dependent Claim 19 words
The computer implemented method of claim 1 wherein the second object comprises a logical view of the first object.
Claim 13
Dependent Claim 58 words
The computer implemented method of claim 1 wherein step (d) comprises the steps of: (d1) generating at least one query language command from mapping information stored within a retriever object; (d2) sending the query language command to the relational database; and (d3) receiving a result of the query language command from the relational database as the retrieved data.
Claim 14
Dependent Claim 175 words
A retriever object within an object oriented environment, the retriever object for accessing data contained in a database from within the object oriented environment, said database being arranged in tables and columns, wherein the retriever object comprises: means for receiving a request for data from the relational database; means for creating a first object within the object oriented environment, the first object containing at least one reference to a second object within the object oriented environment; means for generating a query command for retrieving data from the database, wherein the data retrieved comprises data for the first object, the query command being in the query language of the relational database, and wherein said means for generating provides said query command with mapping data, said mapping data comprising table and column identifiers, and is responsive to the request; means for storing the data retrieved into the first object; and means for returning the first object as a response to the request message; wherein said retriever object inherits said mapping data from a generic view retriever class.
Claim 15
Dependent Claim 175 words
A retriever object within an object oriented environment, the retriever object for accessing data contained in a database from within the object oriented environment, said database being arranged in tables and columns, wherein the retriever object comprises: means for receiving a request for data from the relational database; means for creating a first object within the object oriented environment, the first object containing at least one reference to a second object within the object oriented environment; means for generating a query command for retrieving data from the database, wherein the data retrieved comprises data for the first object, the query command being in the query language of the relational database, and wherein said means for generating provides said query command with mapping data, said mapping data comprising table and column identifiers, and is responsive to the request; means for storing the data retrieved into the first object; and means for returning the first object as a response to the request message; wherein said retriever object inherits said mapping data from a generic view retriever class.
Claim 16
Dependent Claim 18 words
The retriever object of claim 13 wherein the second object comprises a sub-object contained within the first object.
Claim 17
Dependent Claim 20 words
The retriever object of claim 13 wherein the second object comprises an associated object not contained within the first object.
Claim 18
Dependent Claim 18 words
The retriever object of claim 13, wherein said first object is a logical view of the requested data.
Claim 19
Dependent Claim 73 words
The retriever object of claim 13, wherein the means for retrieving data from the database further comprises: means for determining whether the requested data is stored as an object on a cache within the object oriented environment; means for returning the object on the cache as a response to the request message, when the requested data is stored on the cache; and means for storing data retrieved from the database on the cache.
Claim 20
Dependent Claim 22 words
The retreiver object of claim 17 wherein the cache comprises a separate cache within each class contained within the object oriented environment.
Claim 21
Dependent Claim 29 words
The retriever object of claim 13 wherein said requested data is data from a number of objects and wherein said first object is a logical view providing said data.
Claim 22
Dependent Claim 135 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating an object within the object oriented environment; (d) retrieving data from the data set, wherein the data retrieved comprises data for the object; (e) storing the data retrieved in step (d) into the object on a cache such that said object has a status property for indicating whether an object is available on the cache and wherein said cache status may indicate an object that has been retrieved but not put on the cache; and, (f) returning the first object as a response to the request message.
Claim 23
Dependent Claim 135 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating an object within the object oriented environment; (d) retrieving data from the data set, wherein the data retrieved comprises data for the object; (e) storing the data retrieved in step (d) into the object on a cache such that said object has a status property for indicating whether an object is available on the cache and wherein said cache status may indicate an object that has been retrieved but not put on the cache; and, (f) returning the first object as a response to the request message.
Claim 24
Dependent Claim 153 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, the method comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating an object within the object oriented environment; (d) retrieving data from the data set, wherein the data retrieved comprises data for the object; (e) storing the data retrieved in step (d) into the object; (f) returning the first object as a response to the request message; (g) providing said object with a status for determining whether the object stored in the cache is consistent with the data stored in the data storage area, wherein the status comprises a dirty state, the dirty state indicating that an object has been modified and is not consistent with the data stored in the data storage area.
Claim 25
Dependent Claim 153 words
A computer implemented method of accessing data contained in a relational database from within an object oriented environment, the method comprising the steps of: (a) storing a data set within the relational database; (b) receiving, within the object oriented environment, a request for data from the relational database; (c) creating an object within the object oriented environment; (d) retrieving data from the data set, wherein the data retrieved comprises data for the object; (e) storing the data retrieved in step (d) into the object; (f) returning the first object as a response to the request message; (g) providing said object with a status for determining whether the object stored in the cache is consistent with the data stored in the data storage area, wherein the status comprises a dirty state, the dirty state indicating that an object has been modified and is not consistent with the data stored in the data storage area.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2002-05-24 2002-11-23 2003-05-25 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2006-05-24 2006-11-23 2007-05-25 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2010-05-24 2010-11-23 2011-05-25 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag