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

Concurrent processing controlling method and apparatus on B+ tree structure

Assignee: Ricoh Co Ltd
•
Filing: 1991-10-18
•
Granted: 1992-06-02
•
Expires: 2011-10-18
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method and apparatus for controlling a B + tree structure having dual transverse directional links on a leaf of the B + tree structure. The method includes a step of carrying out a lock to a partial tree structure so as to descend from a root to the leaf at the necessary side of a partial tree structure in the case where the leaves at both sides of the partial tree structure are changed, and a step of using the lock in order to finally lock the leaves at both of the sides of the partial tree structure.

Inventors

  • 👤 Hiroyasu Kurose

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-05 02:37
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/23; G06F16/2308; G06F16/2336; G06F16/2343; G06F16/22; G06F16/2228; G06F16/2246; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99938

Claims Analysis

Total Claims: 9
Claim 1
Independent Claim 356 words
A concurrency control method for a plurality of processes on a B + tree structure using a supervised program in a computer system, in which the B + tree structure has: (1) one root; (2) a plurality of nodes, each of nodes being coupled to at least one descendant adjacent node and having at least one key and associated pointer for designating one of descendant adjacent nodes; (3) a plurality of leaves, each of the leaves connected to adjacent leaves through dual direction transverse links, each of the leaves having another pointer for designating one of the adjacent leaves; (4) first locks used in respective processes for preventing a node's content from being changed by another process; and (5) second locks used in respective processes for prohibiting said respective processes from referring said another pointer of a leaf to prevent one leaf from being accessed through a transverse link in another process; the method comprising the steps of: (a) placing one of the first locks on a node in each of the processes to be concurrently controlled, in order to ensure the content of the node for each of the processes; (b) selecting one of descendant adjacent nodes according to the pointer of the node by comparing said at least one key of the node with a given key in each of the processes; (c) when the selected descendent adjacent node is not one of the leaves, placing another first lock on the selected descendant adjacent node and releasing the node from the one of the first locks; (d) repeating steps (b) and (c) in order that an access of each of the processes descends in a direction from a root toward a leaf on the tree and until a leaf to be updated is selected in the step (b); (e) holding the second locks in the one of the processes on the adjacent leaves located adjacent the one leaf, in order to prohibit another concurrent process from referring the another pointer of one of the adjacent leaves; and (f) placing a first lock on the one leaf to ensure the content of the one leaf.
Claim 2
Dependent Claim 356 words
A concurrency control method for a plurality of processes on a B + tree structure using a supervised program in a computer system, in which the B + tree structure has: (1) one root; (2) a plurality of nodes, each of nodes being coupled to at least one descendant adjacent node and having at least one key and associated pointer for designating one of descendant adjacent nodes; (3) a plurality of leaves, each of the leaves connected to adjacent leaves through dual direction transverse links, each of the leaves having another pointer for designating one of the adjacent leaves; (4) first locks used in respective processes for preventing a node's content from being changed by another process; and (5) second locks used in respective processes for prohibiting said respective processes from referring said another pointer of a leaf to prevent one leaf from being accessed through a transverse link in another process; the method comprising the steps of: (a) placing one of the first locks on a node in each of the processes to be concurrently controlled, in order to ensure the content of the node for each of the processes; (b) selecting one of descendant adjacent nodes according to the pointer of the node by comparing said at least one key of the node with a given key in each of the processes; (c) when the selected descendent adjacent node is not one of the leaves, placing another first lock on the selected descendant adjacent node and releasing the node from the one of the first locks; (d) repeating steps (b) and (c) in order that an access of each of the processes descends in a direction from a root toward a leaf on the tree and until a leaf to be updated is selected in the step (b); (e) holding the second locks in the one of the processes on the adjacent leaves located adjacent the one leaf, in order to prohibit another concurrent process from referring the another pointer of one of the adjacent leaves; and (f) placing a first lock on the one leaf to ensure the content of the one leaf.
Claim 3
Dependent Claim 26 words
The concurrency control method of claim 1, wherein the step of holding the second locks includes: preventing a leaf's content from being changed by another process.
Claim 4
Dependent Claim 25 words
The concurrency control method of claim 1, wherein the step of holding the second locks includes: preventing the leaf from being read by another process.
Claim 5
Dependent Claim 41 words
The concurrency control method of claim 1, further comprising a step of: selecting one of the side leaves according to the another pointer of the leaf, to permit sequential access of each process to adjacent leaves via links in one direction.
Claim 6
Dependent Claim 32 words
The concurrency control method of claim 1, further comprising a step of: updating the one leaf in the one of the processes while the second locks are held in the adjacent leaves.
Claim 7
Dependent Claim 16 words
The concurrency control method of claim 5, wherein said updating step includes a node deletion process.
Claim 8
Dependent Claim 16 words
The concurrency control method of claim 5, wherein said updating step includes a node insertion process.
Claim 9
Dependent Claim 21 words
The concurrency control method of claim 5, wherein said updating step includes a node deletion process and a node insertion process.

References Cited (Backward Citations)

US4030078A Cited
US4468728A Cited
US4606002A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1995-06-02 1995-12-02 1996-06-02 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1999-06-02 1999-12-02 2000-06-02 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2003-06-02 2003-12-02 2004-06-02 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag