IP Library Granted Patent US 9,697,243
Granted Patent B2
US 9,697,243 · App. 14/260,190 · Granted Jul 4, 2017

Method and apparatus for searching node by using tree index

Inventors: Ingyu Kang (Gyeonggi-do, KR); Sangyoung Park (Gyeonggi-do, KR); Jae Seok An (Gyeonggi-do, KR); Jooho Kim (Gyeonggi-do, KR)
Assignee: TMAXDATA CO., LTD.
G06F17/30327G06F17/30551
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,697,243
App. No.
14/260,190
Granted
Jul 4, 2017
Kind
B2
Abstract

A node search method, comprising: setting a current time value as a traversing time value; searching descendent nodes to perform a traversing from a root node to a leaf node according to a tree index data structure; determining whether a preset traversing condition is satisfied by comparing an update time value, which indicates a time when a change to a searched descendent node is made, with the traversing time value; depending on whether the traversing proceeding condition is satisfied, re-performing a traversing from a parent node or continuing traversing to the searched descendent node; and terminating the traversing at a leaf node where no descendent node exists.

Claims (28)

1. A node searching method based on a query performed by a processor, the method comprising:

setting a current time value as a traversing time value;

searching, based on the query, descendent nodes of a root node to perform a traversing from the root node to at least one leaf node among the descendent nodes according to a tree index data structure for organizing data in a database system;

determining at a currently-being-investigated node whether a preset traversing condition is satisfied by comparing an update time value of the currently-being-investigated node among the descendent nodes, which indicates a time when a change to the currently-being-investigated node is made, with the traversing time value;

traversing to a descendent node of the currently-being-investigated node when the preset traversing condition is satisfied; and

terminating the traversing from the root node to the at least one leaf node at the at least one leaf node where no descendent node exists,

wherein if the update time value of the currently-being-investigated node is later than the traversing time value, the preset traversing condition is not satisfied and a re-traversing from at least one parent node is performed, the at least one parent node being at least one level higher than the currently-being-investigated node in view of hierarch in the tree index data structure, and

wherein the re-traversing from the at least one parent node is performed and traverses back to the currently-being-investigated node, a preset traversing condition of the re-traversed currently-being-investigated node is satisfied without comparing an update time value with a traversing time value at the re-traversed currently-being-investigated node.

2. The node searching method of claim 1 ,

wherein when the re-traversing from the at least one parent node is started, the traversing time value is reset as time when the re-traversing is started.

3. A node searching apparatus having a processor, comprising:

a time setting unit configured to set a current time value as a traversing time value;

a node searching unit configured to search, based on a query, descendent nodes of a root node to perform a traversing from the root node to at least one leaf node among the descendent nodes according to a tree index data structure for organizing data in a database s system;

a traversing condition determining unit configured to determine at a currently-being-investigated node whether a preset traversing condition is satisfied by comparing an update time value of the currently-being-investigated node, which indicates a time when a change to the currently-being-investigated node is made, with the traversing time value; and

a traversing unit configured to, when the preset traversing condition is satisfied, traverse to a descendent node of the currently-being-investigated node, and terminate the traversing from the root node to the at least one leaf node at the at least one leaf node where no descendent node exists,

wherein if the update time value of the currently-being-investigated node is later than the traversing time value, the preset traversing condition is not satisfied and a re-traversing from at least one parent node is performed, the at least one parent node being at least one level higher than the currently-being-investigated node in view of hierarchy in the tree index data structure, and

wherein the re-traversing from the at least one parent node is performed and traverses back to the currently-being-investigated node, a preset traversing condition of the re-traversed currently-being-investigated node is satisfied without comparing an update time value with a traversing time value at the re-traversed currently-being-investigated node.

4. The node searching apparatus of claim 3 ,

wherein when the re-traversing from the at least one parent node is started, the traversing time value is reset as time when the re-traversing is started.

5. A non-transitory computer-readable medium for searching a node based on a query for performing a process to be executed on a computer, the process comprising:

setting, by a time setting unit, a current time value as a traversing time value;

searching, based on the query, by a node searching unit, descendent nodes of a root node to perform a traversing from the root node to at least one leaf node among the descendent nodes according to a tree index data structure for organizing data in a database system;

determining, by a traversing condition determining unit, at a currently-being-investigated node whether a preset traversing condition is satisfied by comparing an update time value of the currently-being-investigated node, which indicates a time when a change to the currently-being-investigated node is made, with the traversing time value; and

traversing, by a traversing unit, when the preset traversing condition is satisfied, to a descendent node of the currently-being-investigated node, and terminating the traversing from the root node to the at least one leaf node at the at least one leaf node where no descendent node exists,

wherein if the update time value of the currently-being-investigated node is later than the traversing time value, the preset traversing condition is not satisfied and a re-traversing from at least one parent node is performed, the at least one parent node being at least one level higher than the currently-being-investigated node in view of hierarchy in the tree index data structure, and

wherein the re-traversing from the at least one parent node is performed and traverses back to the currently-being-investigated node, a preset traversing condition of the re-traversed currently-being-investigated node is satisfied without comparing an update time value with a traversing time value at the re-traversed currently-being-investigated node.

6. The non-transitory computer-readable medium of claim 5 ,

wherein when the re-traversing from the at least one parent node is started, the traversing time value is reset as time when the re-traversing is started.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 12, 2022
From: TMAXDATACO., LTD. (ALSO KNOWN AS TMAXDATA CO., LTD. AND TMAX DATA CO., LTD.)
To: TMAXTIBERO CO., LTD.
Reel/Frame 060635/0387 →
CHANGE OF NAME Recorded Aug 22, 2016
From: TIBERO CO., LTD.
To: TMAXDATA CO., LTD.
Reel/Frame 039772/0986 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 23, 2014
From: KANG, INGYU; PARK, SANGYOUNG; AN, JAE SEOK; KIM, JOOHO
To: TIBERO CO., LTD.
Reel/Frame 032742/0101 →
Priority Claims (1)
KR 10-2014-0014828 · Feb 10, 2014 · national
Continuity (1)
Related Publication 20150227587A1 · Aug 13, 2015