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

Method of data structure extraction for computer systems operating under the ANSI-92 SQL2 outer join protocol

Assignee: Individual
•
Filing: 1994-11-14
•
Granted: 1997-04-29
•
Expires: 2014-11-14
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method for determining data structure by analyzing an outer join protocol statement used to access the data by sequentially parsing, identifying and storing each token on a push-pop stack. These steps are repeated until a join condition token is identified. The top three data are popped from the push-pop stack and represent a right database root structural node token, a join type token (left or right), and a left database structural root node token. The right and left node structures represented by the popped root node data are linked into one structure using the join type specification and the structural node points specified by the current join condition token. A root node datum representative of the resulting node structure is pushed back onto the push-pop stack. When all tokens have been processed, the node data represented by the resulting root node on the push-pop stack is ordered in accordance with the contained hierarchial data.

Inventors

  • 👤 Michael M. David

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-05 06:36
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/24; G06F16/245; G06F16/2453; G06F16/24534; G06F16/24542; G06F16/24544; G06F16/2455; G06F16/24553; G06F16/24558; G06F16/2456; G06F16/24561; Y; Y10; Y10S; Y10S707/00; Y10S707/953; Y10S707/954; Y10S707/99931; Y10S707/99932

Claims Analysis

Total Claims: 15
Claim 1
Independent Claim 516 words
A computer system using the ANSI-92 SQL2 outer join protocol for manipulating data contained in the computer system to create and store a resultant database having a known hierarchial data structure represented by an outer join protocol statement, the computer system comprising: a) a central processing unit coupled with a first memory storage means containing at least a first normalized, relational database, each database in said first storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, said central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar; b) second memory means coupled to said central processing unit having a push-pop stack area and a storage area for nodes; c) said first memory means further containing a set of instructions for controlling said central processing unit to execute the following steps: (i) parsing the outer join protocol statement into a plurality of tokens for execution by said central processing unit in accord with the grammar, syntax and semantics, of ANSI-92 SQL2 outer join protocol for controlling the actions of said central processing unit; (ii) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (iii) pushing a new root structural node datum with table name onto said push-pop stack in said second memory means as a data item if the token being parsed is identified as a table name; (iv) pushing a join type datum representative of a left or right join type token onto said push-pop stack in said second memory means as a data item, if the token being parsed is identified as a left or right join type token respectively; (v) repeating steps (ii) to (iv) until the token being parsed is identified as a join condition token; (vi) popping the top three data items from said push-pop stack in said second memory means representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (vii) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (viii) pushing a root node datum representative of the resulting node structure back onto said push-pop stack in the second memory means; (ix) repeating steps (ii) through (viii) until all tokens from the outer join statement have been processed; and, (x) ordering the node data represented by the resulting root node on said push-pop stack in the second memory means in accordance with the hierarchial data structure and storing the ordered node data in said first memory means.
Claim 2
Dependent Claim 516 words
A computer system using the ANSI-92 SQL2 outer join protocol for manipulating data contained in the computer system to create and store a resultant database having a known hierarchial data structure represented by an outer join protocol statement, the computer system comprising: a) a central processing unit coupled with a first memory storage means containing at least a first normalized, relational database, each database in said first storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, said central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar; b) second memory means coupled to said central processing unit having a push-pop stack area and a storage area for nodes; c) said first memory means further containing a set of instructions for controlling said central processing unit to execute the following steps: (i) parsing the outer join protocol statement into a plurality of tokens for execution by said central processing unit in accord with the grammar, syntax and semantics, of ANSI-92 SQL2 outer join protocol for controlling the actions of said central processing unit; (ii) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (iii) pushing a new root structural node datum with table name onto said push-pop stack in said second memory means as a data item if the token being parsed is identified as a table name; (iv) pushing a join type datum representative of a left or right join type token onto said push-pop stack in said second memory means as a data item, if the token being parsed is identified as a left or right join type token respectively; (v) repeating steps (ii) to (iv) until the token being parsed is identified as a join condition token; (vi) popping the top three data items from said push-pop stack in said second memory means representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (vii) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (viii) pushing a root node datum representative of the resulting node structure back onto said push-pop stack in the second memory means; (ix) repeating steps (ii) through (viii) until all tokens from the outer join statement have been processed; and, (x) ordering the node data represented by the resulting root node on said push-pop stack in the second memory means in accordance with the hierarchial data structure and storing the ordered node data in said first memory means.
Claim 3
Dependent Claim 27 words
The method of claim 1 further including: a display terminal connected to said central processing unit for displaying the ordered node data in said first memory means.
Claim 4
Dependent Claim 26 words
The method of claim 1 further including: a printer connected to said central processing unit for printing the ordered node data in said first memory means.
Claim 5
Dependent Claim 472 words
In a computer system having a central processing unit coupled with a memory storage means containing at least a first normalized, relational database, each database in said storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, the central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar, a method of controlling the central processing unit by using the outer join ANSI-92 SQL2 outer join protocol to create and store a resultant database in the memory means having a known hierarchial data structure represented by an outer join protocol statement, comprising the steps of: (a) allocating a push-pop stack area in the memory storage means; (b) parsing the outer join protocol statement into a plurality of tokens for execution by the central processing unit in accord with the grammar, syntax and semantics, of ANSI-92 SQL2 outer join protocol for controlling the actions of the central processing unit; (c) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (d) pushing a new root structural node datum with table name onto the push-pop stack as a data item if the token being parsed is identified as a table name; (e) pushing a join type datum representative of a left or right join type token onto the push-pop stack as a data item, if the token being parsed is identified as a left or right join type token respectively; (f) repeating steps (c) to (e) until the token being parsed is identified as a join condition token; (g) popping the top three data items from the push-pop stack representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (h) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (i) pushing a root node datum representative of the resulting node structure back onto the push-pop stack in the memory means; (j) repeating steps (c) through (i) until all tokens from the outer join statement have been processed; and, (k) ordering the node data represented by the resulting root node on the push-pop stack in the memory means in accordance with the hierarchial data structure and storing the ordered node data in the memory means.
Claim 6
Dependent Claim 472 words
In a computer system having a central processing unit coupled with a memory storage means containing at least a first normalized, relational database, each database in said storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, the central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar, a method of controlling the central processing unit by using the outer join ANSI-92 SQL2 outer join protocol to create and store a resultant database in the memory means having a known hierarchial data structure represented by an outer join protocol statement, comprising the steps of: (a) allocating a push-pop stack area in the memory storage means; (b) parsing the outer join protocol statement into a plurality of tokens for execution by the central processing unit in accord with the grammar, syntax and semantics, of ANSI-92 SQL2 outer join protocol for controlling the actions of the central processing unit; (c) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (d) pushing a new root structural node datum with table name onto the push-pop stack as a data item if the token being parsed is identified as a table name; (e) pushing a join type datum representative of a left or right join type token onto the push-pop stack as a data item, if the token being parsed is identified as a left or right join type token respectively; (f) repeating steps (c) to (e) until the token being parsed is identified as a join condition token; (g) popping the top three data items from the push-pop stack representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (h) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (i) pushing a root node datum representative of the resulting node structure back onto the push-pop stack in the memory means; (j) repeating steps (c) through (i) until all tokens from the outer join statement have been processed; and, (k) ordering the node data represented by the resulting root node on the push-pop stack in the memory means in accordance with the hierarchial data structure and storing the ordered node data in the memory means.
Claim 7
Dependent Claim 23 words
The method of claim 4 further including the step of: displaying the ordered node data in the memory means on a display terminal.
Claim 8
Dependent Claim 22 words
The method of claim 4 further including the step of: printing the ordered node data in the memory means on a printer.
Claim 9
Dependent Claim 36 words
The method of claim 4 wherein said step of parsing the ANSI-92 SQL2 outer join protocol statement into a plurality of tokens further includes the step of: storing said plurality of tokens in the memory means.
Claim 10
Dependent Claim 430 words
In a computer system having a central processing unit coupled with a memory storage means containing at least a first normalized, relational database, each database in said storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, the central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar, a method of controlling the central processing unit by using the outer join ANSI-92 SQL2 outer join protocol to create and store a resultant database in the memory means having a known hierarchial data structure represented by an outer join protocol statement, comprising the steps of: (a) allocating a push-pop stack area in the memory storage means; (b) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (c) pushing a new root structural node datum with table name onto the push-pop stack as a data item if the token being parsed is identified as a table name; (d) pushing a join type datum representative of a left or right join type token onto the push-pop stack as a data item, if the token being parsed is identified as a left or right join type token respectively; (e) repeating steps (b) to (d) until the token being parsed is identified as a join condition token; (f) popping the top three data items from the push-pop stack representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (g) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (h) pushing a root node datum representative of the resulting node structure back onto the push-pop stack in the memory means; (i) repeating steps (b) through (h) until all tokens from the outer join statement have been processed; and, (j) ordering the node data represented by the resulting root node on the push-pop stack in the memory means in accordance with the hierarchial data structure and storing the ordered node data in the memory means.
Claim 11
Dependent Claim 430 words
In a computer system having a central processing unit coupled with a memory storage means containing at least a first normalized, relational database, each database in said storage means including a plurality of data having a known hierarchial data structure capable of being represented in a protocol equivalent to ANSI-92 SQL2 outer join grammar, the central processing unit operating in accord with a programmed set of instructions having a protocol equivalent to ANSI-92 SQL2 outer join grammar, a method of controlling the central processing unit by using the outer join ANSI-92 SQL2 outer join protocol to create and store a resultant database in the memory means having a known hierarchial data structure represented by an outer join protocol statement, comprising the steps of: (a) allocating a push-pop stack area in the memory storage means; (b) parsing sequentially said tokens from the outer join statement to identify if the token being parsed is a table name, join type (left or right), or a join condition; (c) pushing a new root structural node datum with table name onto the push-pop stack as a data item if the token being parsed is identified as a table name; (d) pushing a join type datum representative of a left or right join type token onto the push-pop stack as a data item, if the token being parsed is identified as a left or right join type token respectively; (e) repeating steps (b) to (d) until the token being parsed is identified as a join condition token; (f) popping the top three data items from the push-pop stack representing a right database root structural node token, a join type token (left or right), and a left database structural root node token; (g) linking the right and left node structures represented by the popped root node data into one structure at the structural node points specified by the current join condition token where the lowest level table referenced from said join condition in left and right structures are the link node points and the popped join type (right or left) specifies which substructure assumes the higher level position of the combined structure; (h) pushing a root node datum representative of the resulting node structure back onto the push-pop stack in the memory means; (i) repeating steps (b) through (h) until all tokens from the outer join statement have been processed; and, (j) ordering the node data represented by the resulting root node on the push-pop stack in the memory means in accordance with the hierarchial data structure and storing the ordered node data in the memory means.
Claim 12
Dependent Claim 51 words
The method of claim 8 further including the step of: parsing the outer join protocol statement into a plurality of tokens for execution by the central processing unit in accord with the grammar, syntax and semantics, of ANSI-92 SQL2 outer join protocol for controlling the actions of the central processing unit.
Claim 13
Dependent Claim 23 words
The method of claim 8 further including the step of: displaying the ordered node data in the memory means on a display terminal.
Claim 14
Dependent Claim 22 words
The method of claim 8 further including the step of: printing the ordered node data in the memory means on a printer.
Claim 15
Dependent Claim 36 words
The method of claim 8 wherein said step of parsing the ANSI-92 SQL2 outer join protocol statement into a plurality of tokens further includes the step of: storing said plurality of tokens in the memory means.

References Cited (Backward Citations)

US4506326A Cited
US5049873A Cited
US5276880A Cited
US5471611A Cited
US5475837A Cited
US5367675A Cited
US5412804A Cited
US5511186A Cited
US5504885A Cited
US5495604A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2000-04-28 2000-10-28 2001-04-29 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2004-04-28 2004-10-28 2005-04-29 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2008-04-28 2008-10-28 2009-04-29 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag