← Back to Patent Explorer
US6314430B1 Expired / Lapsed US ⏱️ 0.0 years remaining

System and method for accessing a database from a task written in an object-oriented programming language

Assignee: International Business Machines Corp
•
Filing: 1999-02-23
•
Granted: 2001-11-06
•
Expires: 2019-02-23
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract In a computer-implemented process, a task requiring access to a database uses an object-oriented class to enable one database connection for the duration of the task, avoiding multiple and concurrent database connections, thus allowing a more efficient use of the database connection.

Inventors

  • 👤 Sandra Sheu Chang

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-04 09:15
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/28; G06F16/289; Y; Y10; Y10S; Y10S707/00; Y10S707/912; Y10S707/922; Y10S707/99941; Y10S707/99943; Y10S707/99944

Claims Analysis

Total Claims: 21
Claim 1
Independent Claim 186 words
A computer-implemented process for accessing a database, said computer including a memory for the storage of data and instructions, said instructions defining (i) an application program interface, for interfacing with said database, (ii) a task requiring access to said database, and (iii) a class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and said application program interface, said process comprising the steps of: (a) creating said task; (b) said task thereafter instantiating said class, to create an object of said class, and invoking a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said database connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; (c) for said task and any subtasks within said task, employing said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 2
Dependent Claim 186 words
A computer-implemented process for accessing a database, said computer including a memory for the storage of data and instructions, said instructions defining (i) an application program interface, for interfacing with said database, (ii) a task requiring access to said database, and (iii) a class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and said application program interface, said process comprising the steps of: (a) creating said task; (b) said task thereafter instantiating said class, to create an object of said class, and invoking a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said database connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; (c) for said task and any subtasks within said task, employing said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 3
Dependent Claim 80 words
The process recited in claim 1 , further comprising the steps of said task invoking a second method and passing to said second method a set of input parameters, said second method: (d1) formulating a database interface statement based on said set of input parameters; (d2) executing a database transaction, employing said database interface statement, via said application program interface; and (d3) if said database transaction yields a result, then obtaining a set of output parameters from said second method.
Claim 4
Dependent Claim 134 words
The process recited in claim 1 , further comprising the steps of said task: (d1) invoking a second method and passing to said second method a first set of input parameters, said second method formulating a first database interface statement based on said first set of input parameters, said first database interface statement being stored for repetitive use; (d2) invoking a third method and passing to said third method a second set of input parameters, said third method formulating a second database interface statement based on said second set of input parameters and said first database interface statement; (d3) executing a database transaction, employing said second database interface statement, via said application program interface; and (d4) if said database transaction yields a result, then obtaining a set of output parameters from said third method.
Claim 5
Dependent Claim 41 words
The process recited in claim 3 , further comprising the steps of repeating said steps (d2), (d3) and (d4) one or more times, wherein said second set of input parameters may be different for each of said one or more times.
Claim 6
Dependent Claim 15 words
The process recited in claim 1 , wherein said variables include one or more vectors.
Claim 7
Dependent Claim 20 words
The process recited in claim 1 , wherein one or more of said methods formulate Structured Query Language (SQL) statements.
Claim 8
Dependent Claim 169 words
A computer for accessing a database, said computer comprising: (a) a memory for storing data and instructions and a processor for executing said instructions; (b) said instructions controlling said local processor to: (1) create a task requiring access to said database; (2) instantiate a class to create an object of said class, said class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and an application program interface for interfacing with said database; (3) invoke a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; and (4) thereafter, employing said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 9
Dependent Claim 169 words
A computer for accessing a database, said computer comprising: (a) a memory for storing data and instructions and a processor for executing said instructions; (b) said instructions controlling said local processor to: (1) create a task requiring access to said database; (2) instantiate a class to create an object of said class, said class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and an application program interface for interfacing with said database; (3) invoke a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; and (4) thereafter, employing said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 10
Dependent Claim 63 words
The computer of claim 7 , wherein said instructions further control said processor to invoke a second method to: (a) formulate a database interface statement based on a set of input parameters; (b) execute a database transaction, employing said database interface statement, via said application program interface; and (c) if said database transaction yields a result, then obtain a set of output parameters.
Claim 11
Dependent Claim 112 words
The computer of claim 7 , wherein said instructions further control said processor to: (a) invoke a second method to formulate a first database interface statement, said first database interface statement based on a first set of input parameters and being stored for repetitive use; (b) invoke a third method to formulate a second database interface statement, said second database interface statement based on a second set of input parameters and said first database interface statement; (c) execute a database transaction, employing said second database interface statement, via said application program interface; and (d) if said database transaction yields a result, then obtain a set of output parameters from said third method.
Claim 12
Dependent Claim 46 words
The computer of claim 9 , wherein said instructions further control said local processor o invoke said third method and execute a database transaction one or more times, wherein said second set of input parameters may be different for each of said one or more times.
Claim 13
Dependent Claim 14 words
The computer of claim 7 , wherein said variables include one or more vectors.
Claim 14
Dependent Claim 19 words
The computer of claim 7 , wherein one or more of said methods formulate Structured Query Language (SQL) statements.
Claim 15
Dependent Claim 221 words
A memory media including a program with instructions for controlling a computer to access a database, said computer including a memory for the storage of said instructions, and a processor for executing said instructions, said instructions defining: (i) an application program interface, for interfacing with said database, (ii) a task requiring access to said database, and (iii) a class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and said application program interface, said memory media comprising: (a) a means for controlling said processor to create said task; (b) a means for controlling said processor to instantiate said class to create an object of said class, and thereafter invoking a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said database connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; and (c) a means for controlling said processor to, for said task object and any subtasks within said task object, employ said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 16
Dependent Claim 221 words
A memory media including a program with instructions for controlling a computer to access a database, said computer including a memory for the storage of said instructions, and a processor for executing said instructions, said instructions defining: (i) an application program interface, for interfacing with said database, (ii) a task requiring access to said database, and (iii) a class comprising data and methods, said data defining variables applying to a plurality of objects, said methods invoked to process said plurality of objects for interfacing between said task and said application program interface, said memory media comprising: (a) a means for controlling said processor to create said task; (b) a means for controlling said processor to instantiate said class to create an object of said class, and thereafter invoking a first method to make a connection to said database, said first method employing said application program interface and requiring plural handshaking communications with said database, said plural handshaking communications resulting in said database connection being assigned a connection handle enabling subsequent use of said connection, and storing said connection handle; and (c) a means for controlling said processor to, for said task object and any subtasks within said task object, employ said connection handle to enable said subsequent use of said connection without requiring at least some of said plural handshaking communications.
Claim 17
Dependent Claim 66 words
The memory media recited in claim 13 , further comprising a means for controlling said processor to invoke a second method to: (a) formulate a database interface statement based on a set of input parameters; (b) execute a database transaction, employing said database interface statement, via said application program interface; and (c) if said database transaction yields a result, then obtain a set of output parameters.
Claim 18
Dependent Claim 114 words
The memory media recited in claim 13 , further comprising a means for controlling said processor to: (a) invoke a second method to formulate a first database interface statement, said first database interface statement based on a first set of input parameters and being stored for repetitive use; (b) invoke a third method to formulate a second database interface statement, said second database interface statement based on a second set of input parameters and said first database interface statement; (c) execute a database transaction, employing said second database interface statement, via said application program interface; (d) if said database transaction yields a result, then obtain a set of output parameters from said third method.
Claim 19
Dependent Claim 47 words
The memory media recited in claim 15 , further comprising means for controlling said processor to invoke said third method and execute a database transaction one or more times, wherein said second set of input parameters may be different for each of said one or more times.
Claim 20
Dependent Claim 16 words
The memory media recited in claim 13 , wherein said variables include one or more vectors.
Claim 21
Dependent Claim 21 words
The memory media recited in claim 13 , wherein one or more of said methods formulate Structured Query Language (SQL) statements.

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2004-11-05 2005-05-07 2005-11-06 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2008-11-05 2009-05-07 2009-11-06 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2012-11-05 2013-05-07 2013-11-06 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag