JP5754676B2 - Search tree drawing apparatus, search tree drawing method and program - Google Patents

Search tree drawing apparatus, search tree drawing method and program Download PDF

Info

Publication number
JP5754676B2
JP5754676B2 JP2012183775A JP2012183775A JP5754676B2 JP 5754676 B2 JP5754676 B2 JP 5754676B2 JP 2012183775 A JP2012183775 A JP 2012183775A JP 2012183775 A JP2012183775 A JP 2012183775A JP 5754676 B2 JP5754676 B2 JP 5754676B2
Authority
JP
Japan
Prior art keywords
cone
node
attribute
information
representing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012183775A
Other languages
Japanese (ja)
Other versions
JP2014041504A (en
Inventor
皓平 森
皓平 森
中村 隆幸
隆幸 中村
豊 荒川
豊 荒川
宇生 計
宇生 計
アルビノ マイス ウルリッヒ
アルビノ マイス ウルリッヒ
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Inter University Research Institute Corp Research Organization of Information and Systems
Original Assignee
Nippon Telegraph and Telephone Corp
Inter University Research Institute Corp Research Organization of Information and Systems
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp, Inter University Research Institute Corp Research Organization of Information and Systems filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2012183775A priority Critical patent/JP5754676B2/en
Publication of JP2014041504A publication Critical patent/JP2014041504A/en
Application granted granted Critical
Publication of JP5754676B2 publication Critical patent/JP5754676B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、検索木の木構造を描画する方法に関する。   The present invention relates to a method for drawing a tree structure of a search tree.

データベースやファイルシステムにおいては、蓄積されたデータ集合の中から所望のデータを高速に検索するために、B−TreeやR−Treeなどの検索木を用いてデータを管理する。B−Treeは1種類の属性の属性値集合の索引となる検索木であり、R−Treeは多種類の属性の属性値集合の索引となる検索木である。B−TreeにはB+−Treeなど、R−TreeにはRD−Treeなどの改良技術も存在する。   In a database or file system, data is managed using a search tree such as B-Tree or R-Tree in order to search for desired data from the accumulated data set at high speed. B-Tree is a search tree that is an index of an attribute value set of one type of attribute, and R-Tree is a search tree that is an index of an attribute value set of multiple types of attributes. There are also improved techniques such as B + -Tree for B-Tree and RD-Tree for R-Tree.

R−Treeでは、全てのデータが同じ種類の属性を持つ多属性データ集合を対象に管理するが、異なる種類、異なる数の属性をもつ異種異数多属性データ集合を対象に管理するUBI−Treeという検索木も近年考案されている(特許文献1および特許文献2)。UBI−Treeは特徴として、uTuple形式という、「キー=値」の並びにより属性名と属性値とを自由に表現した形式のデータを管理する。このとき「キー=値」は「属性名=属性値」と同義となる。例えば、「センサID=1、時間=3、温度=20」のように表現することで、センサIDと時間と温度という3つの属性名とこれに対応する属性値を表現する。   In the R-Tree, all data is managed for a multi-attribute data set having the same type of attribute, but a UBI-Tree for managing a heterogeneous multi-attribute data set having different types and different numbers of attributes. Recently, a search tree has been devised (Patent Document 1 and Patent Document 2). As a feature, UBI-Tree manages data in a format in which an attribute name and an attribute value are freely expressed by a sequence of “key = value”, which is a u Tuple format. At this time, “key = value” is synonymous with “attribute name = attribute value”. For example, by expressing as “sensor ID = 1, time = 3, temperature = 20”, three attribute names of sensor ID, time, and temperature, and corresponding attribute values are expressed.

一般に検索木は、管理するデータ集合について、各ノードが下位に含むデータ集合に含まれる属性名と属性値範囲を管理するという特徴を持つ。B−Treeのように属性が1種類の場合には、通常属性名が省略され、各ノードが下位に含むデータ集合に含まれる属性値範囲のみを管理する。   In general, a search tree has a feature of managing attribute names and attribute value ranges included in a data set included in each node at a lower level with respect to a data set to be managed. When there is one type of attribute as in B-Tree, the normal attribute name is omitted, and only the attribute value range included in the data set included in each node is managed.

一方、検索木の木構造を可視化する検索木可視化方法として、検索木のノードを表す図形を円錐上に配置して3次元的に表示し、ノードを表す図形間をエッジと呼ばれる直線で繋ぐことでノード間の関連性を表すCone Tree(非特許文献1)や、検索木の各ノードやデータを表す図形を四角形で表し、各ノードやデータに対応する四角形を親ノードに対応する四角形の内側に配置することによって検索木の木構造を2次元平面上に表すデータ宝石箱(非特許文献2)などがある。   On the other hand, as a search tree visualization method for visualizing the tree structure of the search tree, figures representing the nodes of the search tree are arranged on a cone and displayed three-dimensionally, and the figures representing the nodes are connected by straight lines called edges. The Cone Tree (Non-patent Document 1) representing the relationship between nodes, the figure representing each node and data of the search tree is represented by a rectangle, and the rectangle corresponding to each node and data is inside the rectangle corresponding to the parent node. There is a data jewel box (Non-Patent Document 2) that represents the tree structure of the search tree on a two-dimensional plane by arranging in the scrambler.

また前記データ宝石箱は、検索木が管理するデータまたはノードを表す図形に対し、該図形が存在する2次元平面とは直行する方向に、該データが含む1つの属性の属性値または該ノードが下位に含むデータ集合に含まれる1つの属性の属性値集約値、すなわち属性値の最大値や平均値などの統計値の大きさに応じた長さを持たせた直方体または錐体を表す機能を有し、該機能を併用して可視化することで検索木の木構造に加えて1つの属性の属性値や属性値集約値を一覧することが可能である。   In addition, the data jewel box has an attribute value or attribute of one attribute included in the data in a direction perpendicular to the two-dimensional plane in which the graphic exists, with respect to the graphic representing the data or node managed by the search tree. A function that represents a rectangular parallelepiped or a cone having a length corresponding to the size of an attribute value aggregate value of one attribute included in the data set included in the lower level, that is, the maximum value or average value of the attribute value. It is possible to list the attribute values and attribute value aggregate values of one attribute in addition to the tree structure of the search tree by visualizing it using this function together.

特開2011−170460号公報JP 2011-170460 A 特開2011−170461号公報JP 2011-170461 A

George G.Robertson, Jock D.Mackinlay, Stuart K.Card, “Cone Trees: Animated 3D Visualizations of Hierarchical Information,” Proceedings of ACM Conference on Human Factors in Computing Systems (CHI’91), ACM Press, 1991,pp.189−194.George G. Robertson, Jock D. McInlay, Stuart K.M. Card, “Cone Trees: Animated 3D Visualizations of Hierarchical Information,” Proceedings of ACM Conference on Human Factors in Computing Systems (CHI′91). 189-194. 伊藤貴之、梶永泰正、池端裕子、“データ宝石箱:大規模階層型データのグラフィックスショーケース、”情報処理学会グラフィクス&CAD 研究会、2001−CG−104、pp.65−70、2001。Takayuki Ito, Yasumasa Tominaga, Yuko Ikebata, “Data Jewel Box: Graphics Showcase of Large-Scale Hierarchical Data,” Information Processing Society of Japan, Graphics & CAD Study Group, 2001-CG-104, pp. 65-70, 2001.

検索木の研究開発や検索木の理解・学習、あるいはデータベース管理者が行う検索木の状態確認やデータ集合の管理状況確認においては、検索木の木構造に加えて各ノードが下位に含むデータ集合に含まれる属性についてその属性値範囲を俯瞰出来ると良い。特に、前記UBI−Treeのように異種異数多属性データ集合を管理する場合においては、各ノードが下位に含むデータ集合に含まれる属性種類数がノードごとに異なることから、検索木の木構造に加えて各ノードが下位に含むデータ集合に含まれるのはどの属性で、それぞれどのような属性値範囲を保有するかを俯瞰できるよう可視化することが重要である。   In research tree development and search tree understanding / learning, or checking the status of a search tree and the management status of a data set performed by a database administrator, in addition to the tree structure of the search tree, the data set that each node contains below It is desirable to have an overview of the attribute value range for the attributes included in. In particular, in the case of managing a heterogeneous multi-attribute data set such as the UBI-Tree, the number of attribute types included in a data set included in each node is different for each node. In addition to the above, it is important to visualize so that it is possible to overlook which attribute is included in the data set included in each node and what attribute value range each node has.

しかしながら、従来の可視化方法では1度に描画することが出来る情報の種類が限定されてしまう方法か、情報を描画することが出来る領域が小さく制限される方法しかなく、上記の要求を満たした可視化は出来なかった。例えば従来の可視化方法では、Cone Treeやデータ宝石箱という可視化方法があるが、可視化方法にCone Treeを用いた場合、検索木の木構造は明確に描画することが出来るが、各ノードが下位に含むデータ集合に含まれる属性についてその属性値範囲を俯瞰出来るように可視化することは困難だという問題がある。   However, in the conventional visualization method, there is only a method in which the type of information that can be drawn at a time is limited or a method in which the area in which information can be drawn is limited to a small size, and visualization that satisfies the above requirements I couldn't. For example, in the conventional visualization method, there are visualization methods such as Cone Tree and Data Jewel Box, but when Cone Tree is used as the visualization method, the tree structure of the search tree can be drawn clearly, but each node is in the lower level. There is a problem that it is difficult to visualize the attributes included in the included data set so that the range of attribute values can be overlooked.

ノード間の関連性を表すエッジの色、太さ、形状といった要素を変更することで各ノードが下位に含むデータ集合に含まれる属性についてその属性値範囲を描画する方法が考えられるが、各要素につき1種類の属性の属性値範囲しか描画することは出来ない。   It is possible to draw the attribute value range for the attributes included in the data set included in each node by changing the elements such as the color, thickness, and shape of the edges that indicate the relationship between the nodes. Only one attribute value range can be drawn per attribute.

またノードを表す図形を大きく描画することで当該図形上に各ノードが下位に含むデータ集合に含まれる属性についてその属性値範囲を描画する方法も考えられるが、ノードを表す図形以外にもエッジを表す図形を描画する必要があり、その分だけノードを表す図形の大きさが制限されることから多くの属性についてその属性値範囲を描画することは困難であった。   In addition, it is possible to draw the attribute value range for the attributes included in the data set included in each node on the lower figure by drawing the figure that represents the node. Since it is necessary to draw a graphic to be represented, and the size of the graphic representing the node is limited by that amount, it is difficult to draw the attribute value range for many attributes.

また、可視化方法にデータ宝石箱を用いても、2次元的に可視化した検索木の木構造に加えて、データまたはノードを表す図形が存在する2次元平面とは直交する方向に長さを持たせた直方体または錐体に該データが含む1つの属性の属性値または該ノードが下位に含むデータ集合に含まれる1つの属性の属性値集約値を描画することしか出来ず、各ノードが下位に含むデータ集合に含まれる複数の属性の属性値範囲を同時に、可視化することは出来ないという問題があった。本発明はこうした問題を解決する。   Even if a data jewelry box is used as a visualization method, in addition to the tree structure of the search tree visualized two-dimensionally, it has a length in a direction orthogonal to the two-dimensional plane on which the graphic representing the data or node exists. It is only possible to draw the attribute value of one attribute included in the data or the attribute value aggregate value of one attribute included in the data set included in the lower level of each node in the rectangular parallelepiped or the cone. There was a problem that it was impossible to visualize the attribute value ranges of a plurality of attributes included in the included data set at the same time. The present invention solves these problems.

上記目的を達成するために、本願発明の検索木描画装置、検索木描画方法およびプログラムは、ノードを表す図形を錐体で表し、子ノードを表す錐体の頂点が親ノードを表す錐体の底面の外周上に接し隣接する他の子ノードと接しないよう各ノードを表す錐体を配置することで、3次元的に検索木の木構造を描画し、さらに錐体の側面に情報を描画する。   In order to achieve the above object, a search tree drawing apparatus, a search tree drawing method, and a program according to the present invention represent a figure representing a node by a cone and a vertex of a cone representing a child node representing a parent node. By placing a cone that represents each node so that it touches the outer circumference of the bottom surface and does not touch other adjacent child nodes, the tree structure of the search tree is drawn in three dimensions, and information is drawn on the sides of the cone. To do.

具体的には、本発明に係る検索木描画装置は、属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段と、前記木構造の各ノードを錐体により描画する錐体描画手段と、該錐体の側面に情報を描画する側面情報描画手段と、前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手段と、該錐体描画手段と該側面情報描画手段と該錐体配置手段とを各ノードについて再帰的に実行する検索木描画手段と、を有し、前記側面情報描画手段は、各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画することを特徴とする。 Specifically, the retrieval tree drawing apparatus according to the present invention includes a data storage unit that holds a set of data including one or more attribute name / attribute value pairs in a tree structure, and each node of the tree structure is a cone. A cone drawing means for drawing by, a side information drawing means for drawing information on the side face of the cone, and a cone representing a child node among the nodes of the tree structure, a vertex of the cone representing the child node Is located on the outer periphery of the bottom surface of the cone representing the parent node among the nodes of the tree structure, and the outer periphery of the bottom surface of the cone representing the child node is disposed at a position where it does not contact with another adjacent child node possess a locating means, a search tree drawing means for performing recursively for each node and該錐body drawing means and side surface information drawing means and該錐body arranging means, wherein the side information drawing means, each node Data included in at least the search tree with respect to the side surface of the cone representing Related to the attribute associated with the region included in the side of the cone that represents each node, and the attribute of each attribute type is associated with each divided region in a one-to-one relationship. The attribute value associated with the region included in the data set included in the lower level is used as information relating to the attribute associated with the region rendered in the region included in the side of the cone that represents each node. Information obtained by normalizing the range between the maximum value and the minimum value of the attribute values associated with the region included in the entire data set including the range from the maximum value to the minimum value is drawn .

本発明に係る検索木描画装置では、ノードを表す錐体の側面を検索木が含むデータ集合に含まれる属性種類数以上の数の領域に分割し、分割した各領域に各属性を1対1の関係で関連付け、各領域に関連付けられた属性に関する情報を描画することにより、各ノードが下位に含むデータ集合に含まれる1つ以上の属性に関する情報を各ノードについて俯瞰することが可能となる。 In the search tree drawing apparatus according to the present invention is to divide the number of regions of more attribute type number included in the data set a search tree including a side surface of the cone representing the nodes, each attribute to each area divided 1 By drawing information about attributes associated with each region in a one-to-one relationship, it is possible to overlook information about one or more attributes included in a data set included in each node at each node. Become.

また、ノードを表す錐体の側面の各領域に各ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画することで、各ノードが下位に含むデータ集合に含まれる1つ以上の属性についてその属性値範囲をノード間で俯瞰出来るように可視化することが可能となる。 In addition, the range of the maximum value to the minimum value of the attribute value associated with the area included in the data set included in each node in the lower side of each side of the cone representing the node is included in all the data sets included in the search tree. By drawing information normalized by the range of the maximum value and the minimum value of the attribute value associated with the region, the attribute value range for one or more attributes included in the data set included in each node is displayed as a node. It is possible to visualize so that it can be seen from above.

本発明に係る検索木描画装置では、前記錐体の回転角度を算出する回転角度算出手段をさらに有し、前記側面情報描画手段は、各錐体の側面上に描画した情報を、各錐体の頂点から各底面に垂直に下ろした垂線を中心に該回転角度だけ一斉に回転させた状態で再描画してもよい。
各錐体の側面に描画する情報を各錐体の頂点から各底面に垂直に下ろした垂線を中心に、一斉に回転させた状態を再描画することで、各錐体の側面に描画する全ての情報について容易に把握し、ノード間で該情報を比較することが出来る。
The retrieval tree drawing apparatus according to the present invention further includes a rotation angle calculation unit that calculates a rotation angle of the cone, and the side information drawing unit stores information drawn on a side surface of each cone. Redrawing may be performed in a state in which the rotation angle is rotated all at once around a perpendicular line perpendicular to each bottom surface from the vertex.
All of the information drawn on the side of each cone is redrawn at the same time by redrawing the information drawn on the side of each cone around the vertical line perpendicular to the bottom of each cone. Can be easily grasped and the information can be compared between nodes.

本発明に係る検索木描画装置では、該木構造がUBI−Treeであってもよい。   In the retrieval tree drawing apparatus according to the present invention, the tree structure may be UBI-Tree.

具体的には、本発明に係る検索木描画方法は、属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段と、錐体描画手段と、側面情報描画手段と、錐体配置手段と、を有する検索木描画装置が実行する検索木描画方法であって、前記錐体描画手段が、前記データ蓄積手段に蓄積されている前記木構造の各ノードを錐体により描画する錐体描画手順と、前記側面情報描画手段が、該錐体の側面に情報を描画する側面情報描画手順と、前記錐体配置手段が、前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手順と、を有し、前記側面情報描画手順では、前記側面情報描画手段が、各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画することを特徴とするSpecifically, the retrieval tree drawing method according to the present invention includes a data storage means for holding a set of data including one or more attribute name / attribute value pairs in a tree structure, a cone drawing means, and side information drawing. A search tree drawing method executed by a search tree drawing device comprising: means and cone arrangement means, wherein the cone drawing means applies a cone to each node of the tree structure stored in the data storage means. A cone drawing procedure for drawing by a body, a side information drawing procedure for the side information drawing means to draw information on a side surface of the cone , and a cone arrangement means for child nodes of the nodes of the tree structure The vertex of the cone representing the child node is in contact with the outer periphery of the bottom surface of the cone representing the parent node among the nodes of the tree structure, and the outer periphery of the bottom surface of the cone representing the child node is Cone placement hand placed at a position not touching other adjacent child nodes If, have a, in the side information drawing procedure, dividing the side information drawing means, with respect to the side surface of the cone representing each node, the attribute number of types of areas included in the data set including at least the search tree Then, the attributes of each attribute type are associated with each divided area in a one-to-one relationship, information about the attributes associated with the area included in the side surface of the cone representing each node is drawn, and the cone representing each node As the information related to the attribute associated with the region to be drawn in the region included in the side of the node, the range from the maximum value to the minimum value of the attribute value associated with the region included in the data set included by the node is the search tree. The information normalized by the range of the maximum value and the minimum value of the attribute value associated with the region included in the entire data set included in is drawn .

本発明に係る検索木描画方法では、前記検索木描画装置は、回転角度算出手段をさらに有し、前記回転角度算出手段が、前記錐体の回転角度を算出し、前記側面情報描画手段が、各錐体の側面上に描画した情報を、各錐体の頂点から各底面に垂直に下ろした垂線を中心に該回転角度だけ一斉に回転させた状態で再描画する回転処理手順を、
さらに有していてもよい。
In the search tree drawing method according to the present invention, the search tree drawing device further includes a rotation angle calculation unit, the rotation angle calculation unit calculates a rotation angle of the cone, and the side information drawing unit includes: A rotation processing procedure for redrawing the information drawn on the side surface of each cone in a state where the rotation angle is rotated all at once around a perpendicular line perpendicular to each bottom surface from the vertex of each cone,
Furthermore, you may have.

具体的には、本発明に係る検索木描画プログラムは、錐体描画手段が、属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段に蓄積されている前記木構造の各ノードを錐体により描画する錐体描画手順と、側面情報描画手段が、該錐体の側面に情報を描画する側面情報描画手順と、錐体配置手段が、前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手順と、をコンピュータに実行させるための検索木描画プログラムであって、前記側面情報描画手順では、前記側面情報描画手段が、各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画することを特徴とする検索木描画プログラムである。 Specifically, in the search tree drawing program according to the present invention, the cone drawing means is stored in the data storage means for holding a set of data including one or more attribute name / attribute value pairs in a tree structure. The cone drawing procedure for drawing each node of the tree structure with a cone, the side information drawing means for drawing information on the side of the cone, and the cone arrangement means for drawing the cone structure A cone representing a child node of the node is connected to the outer periphery of the bottom surface of the cone representing the parent node of the tree structure node, and the cone representing the child node is connected. A search tree drawing program for causing a computer to execute a cone arrangement procedure for arranging a cone position at a position where the outer periphery of the bottom of the body does not contact other adjacent child nodes, and in the side information drawing procedure, the side information The drawing means is a cone representing each node A pyramid that divides the aspect into at least the number of attribute types included in the data set included in the search tree, associates the attribute of each attribute type in a one-to-one relationship with each divided area, and represents each node Draw information about the attribute associated with the region included in the side of the node, and the data included in the lower level as information regarding the attribute associated with the region rendered in the region included in the side of the cone representing each node The range from the maximum value to the minimum value of the attribute value associated with the region included in the set is normalized by the range of the maximum value and the minimum value of the attribute value associated with the region included in all data sets included in the search tree. A search tree drawing program characterized by drawing information .

なお、上記各発明は、可能な限り組み合わせることができる。   The above inventions can be combined as much as possible.

本発明によれば、ノードを表す図形を錐体で表し、子ノードを表す錐体の頂点が親ノードを表す錐体の底面の外周上に接し隣接する他の子ノードと接しないよう各ノードを表す錐体を配置することで、3次元的に検索木の木構造を描画し、さらに錐体の側面に情報を描画する。これにより、エッジを用いないことでノードを表す錐体を大きく描画することが可能となり、錐体の側面に多くの情報を描画することが可能となる。またこのとき、ノードを表す図形として錐体を用い、さらに前記配置方法を行うことで、エッジを用いずともノード間の関連性は表現可能である。   According to the present invention, the shape of a node representing a node is represented by a cone, and the vertex of the cone representing a child node touches the outer periphery of the bottom surface of the cone representing the parent node and does not contact other adjacent child nodes. By arranging the cones representing the three-dimensionally, the tree structure of the search tree is drawn three-dimensionally, and information is drawn on the sides of the cones. This makes it possible to draw a large cone representing a node without using an edge, and to draw a lot of information on the side of the cone. Further, at this time, by using a cone as a figure representing a node and further performing the arrangement method, the relationship between the nodes can be expressed without using an edge.

本実施の形態における装置構成を示す。The apparatus structure in this Embodiment is shown. 本実施の形態におけるデータ蓄積部(101)が保持するデータ集合(120)を管理する木構造を示す。The tree structure which manages the data set (120) which the data storage part (101) in this Embodiment hold | maintains is shown. 本実施の形態におけるデータ蓄積部(101)が保持するデータ集合(120)の内容を示す。The content of the data set (120) which the data storage part (101) in this Embodiment hold | maintains is shown. 本実施の形態におけるデータ蓄積部(101)が保持するデータを管理する木構造が保持するポインタ表と属性値範囲表を示す。7 shows a pointer table and an attribute value range table held by a tree structure for managing data held by the data storage unit (101) in the present embodiment. 本実施の形態における検索木描画部(114)が実施する検索木描画処理(ステップ300)のフローチャートを示す。The flowchart of the search tree drawing process (step 300) which the search tree drawing part (114) in this Embodiment implements is shown. 本実施の形態における錐体描画部(110)が錐体描画処理(ステップ301)により描画対象ノードを表す錐体を円錐にて描画した錐体描画イメージ(400)を示す。The cone drawing part (110) in this Embodiment shows the cone drawing image (400) which drawn the cone which represents a drawing object node with a cone by the cone drawing process (step 301). 本実施の形態における側面情報描画部(111)が側面情報描画処理(ステップ302)により描画対象ノードを表す円錐の側面を複数の領域に分割した側面情報描画イメージ(401)を示す。The side information drawing image (401) obtained by dividing the side surface of the cone representing the drawing target node into a plurality of regions by the side information drawing processing (step 302) by the side information drawing unit (111) in the present embodiment is shown. 本実施の形態における側面情報描画部(111)が側面情報描画処理(ステップ302)により、さらに描画対象ノードとしてnRT(200)を表す円錐の側面の各領域に情報を描画した側面情報描画イメージ(402)を示す。In the present embodiment, the side information drawing unit (111) further draws information on each side area of the cone representing nRT (200) as a drawing target node by the side information drawing process (step 302) (step 302). 402). 本実施の形態における側面情報描画部(111)が側面情報描画処理(ステップ302)により、さらに描画対象ノードとしてn1(201)を表す円錐の側面の各領域に情報を描画した側面情報描画イメージ(403)を示す。In the present embodiment, the side information drawing unit (111) further draws information on each side area of the cone representing n1 (201) as a drawing target node by side information drawing processing (step 302) (step 302). 403). 本実施の形態における錐体配置部(112)が錐体配置処理(ステップ303)により描画対象ノードの子ノードを表す円錐の頂点を算出した際の、算出した座標を側面情報描画イメージ(404)上に示したものである。When the cone arrangement unit (112) in the present embodiment calculates the vertex of the cone representing the child node of the drawing target node by the cone arrangement processing (step 303), the calculated coordinates are used as the side information drawing image (404). It is shown above. 本実施の形態において、描画処理を再帰的に実施する検索木描画処理により描画される検索木描画イメージ(405)を示す。In the present embodiment, a search tree drawing image (405) drawn by a search tree drawing process that recursively executes a drawing process is shown.

添付の図面を参照して本発明の実施形態を説明する。以下に説明する実施形態は本発明の実施の例であり、本発明は、以下の実施形態に制限されるものではない。なお、本明細書及び図面において符号が同じ構成要素は、相互に同一のものを示すものとする。   Embodiments of the present invention will be described with reference to the accompanying drawings. The embodiments described below are examples of the present invention, and the present invention is not limited to the following embodiments. In the present specification and drawings, the same reference numerals denote the same components.

(検索木描画装置の装置構成)
第1図は本実施の形態における装置構成を示す。
検索木描画装置(100)は、データ蓄積部(101)を具備する。データ蓄積部(101)は、木構造によりデータ集合(120)を保持する。さらに、検索木描画装置(100)は、検索木描画部(114)と錐体描画部(110)と側面情報描画部(111)と錐体配置部(112)とを具備する。さらに、検索木描画装置(100)は、回転角度算出部(113)を具備する。
(Device configuration of search tree drawing device)
FIG. 1 shows an apparatus configuration in the present embodiment.
The search tree drawing apparatus (100) includes a data storage unit (101). The data storage unit (101) holds the data set (120) using a tree structure. Further, the search tree drawing device (100) includes a search tree drawing unit (114), a cone drawing unit (110), a side information drawing unit (111), and a cone arrangement unit (112). Furthermore, the search tree drawing apparatus (100) includes a rotation angle calculation unit (113).

第2図は本実施の形態におけるデータ蓄積部(101)が保持するデータ集合(120)を管理する木構造を示す。
本実施形態においてデータ蓄積部(101)が保持するデータ集合(120)を管理する木構造はUBI−Treeとする。ただし、本実施形態はUBI−Treeとするが、本発明はそれに限らず、木構造をもつ検索木であればよく、例えば前記B−Treeや前記R−Treeでもよい。
FIG. 2 shows a tree structure for managing the data set (120) held by the data storage unit (101) in the present embodiment.
In this embodiment, the tree structure for managing the data set (120) held by the data storage unit (101) is UBI-Tree. However, although the present embodiment is UBI-Tree, the present invention is not limited to this, and any search tree having a tree structure may be used. For example, the B-Tree or the R-Tree may be used.

データ蓄積部(101)が保持するデータ集合(120)を管理する木構造は、nRT(200)、n1(201)、n2(202)の3つのノードから構成され、第3図で示す4つのデータを保持している。さらに、各ノードは第4図で示すポインタ表と属性値範囲表を保持している。またデータ蓄積部(101)は木構造情報表(210)を保持し、木構造情報表(210)は子ノード数最大値(211)とnRTの高さ(212)とnRTへのポインタ(213)と回転角度Rを保持する。   The tree structure that manages the data set (120) held by the data storage unit (101) is composed of three nodes nRT (200), n1 (201), and n2 (202). Holds data. Further, each node holds a pointer table and an attribute value range table shown in FIG. The data storage unit (101) holds a tree structure information table (210). The tree structure information table (210) has a maximum number of child nodes (211), an nRT height (212), and a pointer (213) to the nRT. ) And the rotation angle R.

本実施形態では、検索木は子ノード数最大値(211)が4、木の高さ、すなわちnRTの高さ(212)が2、また回転角度Rが90であるが、本発明はこれに限らずそれぞれより大きい値でも小さい値でもよい。またnRTへのポインタ(213)の値はbfffdc18であるが、実行のタイミングや実行環境により当然変化し得る。   In the present embodiment, the search tree has a maximum number of child nodes (211) of 4, the height of the tree, that is, the height of nRT (212) is 2, and the rotation angle R is 90. It is not limited and may be larger or smaller. Also, the value of the pointer (213) to nRT is bfffdc18, but it can naturally change depending on the execution timing and execution environment.

第3図は本実施の形態におけるデータ蓄積部(101)が保持するデータ集合(120)の内容を示す。
データ集合(120)はデータ(ア)〜(エ)を含む。本発明におけるデータとは、「キー=値」の任意個の並びから構成されるデータ形式によって記述することとする。このとき「キー=値」は「属性名=属性値」と同義となる。例えば、データ(ア)は「x=0、y=5」のように表現することで、xとyという2つの属性とこれに対応する属性値を表現する。
FIG. 3 shows the contents of the data set (120) held by the data storage unit (101) in the present embodiment.
The data set (120) includes data (a) to (d). Data in the present invention is described in a data format composed of an arbitrary number of “key = value” sequences. At this time, “key = value” is synonymous with “attribute name = attribute value”. For example, data (A) is expressed as “x = 0, y = 5”, thereby expressing two attributes x and y and attribute values corresponding to the two attributes.

本発明のいうデータについて具体的に例を挙げると、属性には、温度や湿度、電流あるいは電圧、流体の流量、物質の濃度、明度、騒音、位置、加速度などが挙げられる。属性値は各属性に対応する値となる。またこれに限らず、値を持ち「属性名=属性値」の形式で表現することが出来れば、どのようなデータでも良い。例えばWebやインターネットを経由して取得したデータであっても良い。また本実施形態ではデータの数が4つであるが、より多くのデータを同様に扱うことも可能である。   Specific examples of the data referred to in the present invention include attributes such as temperature, humidity, current or voltage, fluid flow rate, substance concentration, brightness, noise, position, and acceleration. The attribute value is a value corresponding to each attribute. The present invention is not limited to this, and any data may be used as long as it has a value and can be expressed in the format of “attribute name = attribute value”. For example, it may be data acquired via the Web or the Internet. In the present embodiment, the number of data is four, but more data can be handled in the same manner.

第4図は本実施の形態におけるデータ蓄積部(101)が保持するデータを管理する木構造が保持するポインタ表と属性値範囲表を示す。
本実施形態ではnRT(200)はポインタ表(220)と属性値範囲表(230)を保持する。このとき、nRTのポインタ表(220)はn1(201)とn2(202)へのポインタ、属性値範囲表(230)はn1(201)とn2(202)が保持する属性値範囲表を統合した属性名と属性値範囲を保持する。つまり、nRT(200)の保持する属性値範囲表(230)は、n1(201)の保持する属性値範囲表(231)が「x=0〜5、y=5〜10」、n2(202)の保持する属性値範囲表(232)が「x=5〜10、y=0〜5」であるとき、「x=0〜10、y=0〜10」となる。
FIG. 4 shows a pointer table and an attribute value range table held by a tree structure for managing data held by the data storage unit (101) in this embodiment.
In this embodiment, nRT (200) holds a pointer table (220) and an attribute value range table (230). At this time, the nRT pointer table (220) is a pointer to n1 (201) and n2 (202), and the attribute value range table (230) is an attribute value range table held by n1 (201) and n2 (202). Hold the attribute name and attribute value range. That is, the attribute value range table (230) held by nRT (200) is the same as the attribute value range table (231) held by n1 (201) "x = 0-5, y = 5-10", n2 (202 ) Held in the attribute value range table (232) is “x = 5 to 10, y = 0 to 5”, “x = 0 to 10, y = 0 to 10”.

またn1(201)はポインタ表(221)と属性値範囲表(231)を保持する。このときn1(201)のポインタ表(221)はデータ(ア)とデータ(イ)へのポインタ、属性値範囲表(231)はデータ(ア)とデータ(イ)が保持する属性名と、その属性値の範囲を保持する。つまり、n1(201)の保持する属性値範囲表(231)は、n1(201)の保持するデータ(ア)が「x=0、y=5」、データ(イ)が「x=5、y=10」であるとき、「x=0〜5、y=5〜10」となる。   N1 (201) holds a pointer table (221) and an attribute value range table (231). At this time, the pointer table (221) of n1 (201) is a pointer to data (A) and data (B), the attribute value range table (231) is an attribute name held by data (A) and data (A), Holds the attribute value range. That is, in the attribute value range table (231) held by n1 (201), the data (a) held by n1 (201) is “x = 0, y = 5”, and the data (b) is “x = 5, When y = 10 ”,“ x = 0 to 5, y = 5 to 10 ”.

同様に、n2(202)はポインタ表(222)と属性値範囲表(232)を保持する。このときn2(202)のポインタ表(222)はデータ(ウ)とデータ(エ)へのポインタ、属性値範囲表(232)はデータ(ウ)とデータ(エ)が保持する属性名と属性値の範囲を保持する。   Similarly, n2 (202) holds a pointer table (222) and an attribute value range table (232). At this time, the pointer table (222) of n2 (202) is a pointer to data (c) and data (d), and the attribute value range table (232) is an attribute name and attribute held by data (c) and data (d). Holds a range of values.

(検索木描画装置における全体フローチャート)
第5図は本実施の形態における検索木描画部(114)が実施する検索木描画処理(ステップ300)のフローチャートを示す。本実施形態に係る検索木描画方法は、初期化処理(ステップ501)と、描画処理(ステップ502)と、を順に有する。
まず初期化処理(ステップ501)として、データ蓄積部(101)の木構造情報表(210)からnRTの高さ(212)とnRTへのポインタ(213)を取得し、nRTの高さ(212)を描画対象ノードの高さ、nRTへのポインタ(213)を描画対象ノードへのポインタ、空間座標(X、Y、Z)上の点(0、0、100)を描画対象ノードの頂点座標とする。また、変数kにnRT(200)の属性値範囲表(230)の行数、すなわち2を代入し、変数nRTpにnRTへのポインタを代入する。なお、kは該木構造に含まれる属性種類数に等しい。また、本実施形態では点(0、0、100)を初期化処理時の描画対象ノードの頂点座標としたが、本発明はこれに限らず、頂点座標は任意の座標としても良い。
(Overall Flowchart in Search Tree Drawing Device)
FIG. 5 shows a flowchart of the search tree drawing process (step 300) performed by the search tree drawing unit (114) in the present embodiment. The retrieval tree drawing method according to the present embodiment includes an initialization process (step 501) and a drawing process (step 502) in this order.
First, as an initialization process (step 501), the nRT height (212) and the nRT pointer (213) are obtained from the tree structure information table (210) of the data storage unit (101), and the nRT height (212) is acquired. ) Is the height of the drawing target node, the pointer to nRT (213) is the pointer to the drawing target node, and the point (0, 0, 100) on the spatial coordinates (X, Y, Z) is the vertex coordinate of the drawing target node And Also, the number of rows in the attribute value range table (230) of nRT (200), that is, 2 is substituted for variable k, and a pointer to nRT is substituted for variable nRTp. Note that k is equal to the number of attribute types included in the tree structure. In this embodiment, the point (0, 0, 100) is the vertex coordinate of the drawing target node at the time of initialization processing. However, the present invention is not limited to this, and the vertex coordinate may be any coordinate.

次に、初期化を行った描画対象ノードへのポインタ、描画対象ノードの頂点座標、描画対象ノードの高さ、k、nRTpを引数として描画処理を実行する(ステップ502)。
描画処理においては、
まず、錐体描画部(110)に該引数を渡し、錐体描画処理により描画対象ノードを表す錐体を描画し(ステップ301)、
次に側面情報描画部(111)に該引数を渡し、側面情報描画処理により描画対象ノードを表す錐体の側面に情報を描画し(ステップ302)、
次に錐体配置部(112)に該引数を渡し、錐体配置処理により描画対象ノードの各子ノードを表す錐体の頂点座標をそれぞれ算出する。
ただし、描画対象ノードの高さが1、すなわち描画対象ノードがリーフノードであるならば、次のステップ304をスキップする(ステップ303)。
Next, a rendering process is executed with the pointer to the initialized rendering target node, the vertex coordinates of the rendering target node, the height of the rendering target node, k, and nRTp as arguments (step 502).
In the drawing process,
First, the argument is passed to the cone drawing unit (110), and the cone representing the drawing target node is drawn by the cone drawing process (step 301).
Next, the argument is passed to the side information drawing unit (111), and information is drawn on the side of the cone representing the drawing target node by the side information drawing process (step 302).
Next, the argument is passed to the cone arrangement unit (112), and the vertex coordinates of the cone representing each child node of the drawing target node are calculated by cone arrangement processing.
However, if the height of the drawing target node is 1, that is, if the drawing target node is a leaf node, the next step 304 is skipped (step 303).

さらに、描画対象ノードの高さを1減らした後、描画対象ノードの各子ノードについて、描画処理を実行する(ステップ304)。このとき、前記1減らした値を描画対象ノードの高さ、各子ノードへのポインタを描画対象ノードへのポインタ、錐体配置処理(ステップ303)で算出した各子ノードを表す錐体の頂点座標を描画対象ノードの頂点座標とし、変数kはそのままの値、すなわち2を、変数nRTpはそのままの値、すなわちnRTへのポインタとして、これらを引数とする。なお、各子ノードへのポインタは描画対象ノードのポインタ表より取得する。   Further, after reducing the height of the drawing target node by 1, drawing processing is executed for each child node of the drawing target node (step 304). At this time, the value reduced by 1 is the height of the drawing target node, the pointer to each child node is the pointer to the drawing target node, and the vertex of the cone representing each child node calculated in the cone arrangement processing (step 303) The coordinates are the vertex coordinates of the drawing target node, the variable k is the value as it is, that is, 2 and the variable nRTp is the value as it is, that is, the pointer to nRT, and these are the arguments. A pointer to each child node is obtained from the pointer table of the drawing target node.

錐体描画処理(ステップ301)、側面情報描画処理(ステップ302)、錐体配置処理(ステップ303)の詳細については後述する。
なお、描画する際には、DirectXやOpenGLなどの既存の描画ライブラリを用いて、該描画ライブラリにデータ蓄積部が保持する情報や該描画処理において算出した情報を入力することで、容易に描画イメージを作成することが可能である。
本実施の形態において、描画結果は検索木描画装置(100)に接続したスクリーンに表示してもよい。あるいは、検索木描画装置(100)をWebアプリケーションサーバとし、ネットワークに接続し、当該ネットワークに接続されたWebブラウザに対して描画イメージを送出して当該Webブラウザ上に図形を表示する構成としてもよい。
Details of the cone drawing process (step 301), the side surface information drawing process (step 302), and the cone arrangement process (step 303) will be described later.
When drawing, using an existing drawing library such as DirectX or OpenGL, the information held by the data storage unit or the information calculated in the drawing process can be easily input into the drawing library. Can be created.
In the present embodiment, the drawing result may be displayed on a screen connected to the search tree drawing apparatus (100). Alternatively, the search tree drawing device (100) may be a Web application server, connected to a network, and a drawing image may be sent to a Web browser connected to the network to display a figure on the Web browser. .

なお、本実施形態では、描画処理(ステップ502)をステップ301〜ステップ304の順で行う例について説明するが、本発明はこれに限定されない。例えば、描画対象ノードの基線を錐体描画処理(ステップ301)において定めることとすれば、錐体配置処理(ステップ303)の後に側面情報描画処理(ステップ302)を行うこととしても良い。また、描画対象ノードの基線を錐体描画処理(ステップ301)において定めることとし、錐体描画処理(ステップ301)と錐体配置処理(ステップ303)により算出された各ノードを表す円錐の頂点座標、高さ、底面の半径を記憶しておくこととすれば、各ノードについて錐体描画処理(ステップ301)と錐体配置処理(ステップ303)を再帰的に実行した後に、各ノードについて側面情報描画処理(ステップ302)のみを再帰的に実行しても良い。   In the present embodiment, an example in which the drawing process (step 502) is performed in the order of steps 301 to 304 will be described, but the present invention is not limited to this. For example, if the base line of the drawing target node is determined in the cone drawing process (step 301), the side information drawing process (step 302) may be performed after the cone arrangement process (step 303). Further, the base line of the drawing target node is determined in the cone drawing processing (step 301), and the vertex coordinates of the cone representing each node calculated by the cone drawing processing (step 301) and the cone arrangement processing (step 303). If the height and the bottom radius are stored, the cone drawing process (step 301) and the cone arrangement process (step 303) are recursively executed for each node, and then the side information about each node is stored. Only the drawing process (step 302) may be recursively executed.

(錐体描画部110)
第6図は本実施の形態における錐体描画部(110)が錐体描画処理(ステップ301)により描画対象ノードを表す錐体を円錐にて描画した錐体描画イメージ(400)を示す。本図を用いて錐体描画処理(ステップ301)について説明する。
(Cone drawing unit 110)
FIG. 6 shows a cone drawing image (400) in which the cone drawing unit (110) in the present embodiment draws a cone representing a drawing target node by a cone drawing process (step 301). The cone drawing process (step 301) will be described with reference to FIG.

まず錐体描画処理(ステップ301)は、描画対象ノードの高さと木構造情報表(210)の子ノード数最大値(211)から、描画対象ノードを表す円錐の高さ、すなわち頂点座標から円錐の底面の中心点までの長さを算出する。本実施形態においては、「高さbの描画対象ノードを表す円錐の高さ=100×((1/子ノード数最大値)^(nRTの高さ−b))」により円錐の高さを算出する。このときnRTの高さ(212)は木構造情報表(210)から読み出す。
次に、錐体描画処理(ステップ301)は、描画対象ノードを表す円錐の底面の半径を算出する。本実施形態においては円錐の底面の半径は高さと同等とする。
First, the cone drawing processing (step 301) is performed from the height of the drawing target node and the maximum number of child nodes (211) of the tree structure information table (210), from the height of the cone representing the drawing target node, that is, from the vertex coordinates. The length to the center point of the bottom of is calculated. In the present embodiment, the height of the cone is expressed by “the height of the cone representing the drawing target node of height b = 100 × ((1 / number of child nodes maximum value) ^ (nRT height−b))”. calculate. At this time, the height (212) of nRT is read from the tree structure information table (210).
Next, in the cone drawing process (step 301), the radius of the bottom surface of the cone representing the drawing target node is calculated. In the present embodiment, the radius of the bottom surface of the cone is equal to the height.

次に、錐体描画処理(ステップ301)は、円錐の頂点座標、円錐の高さ、円錐の底面の半径に従い描画対象ノードを表す円錐を描画する。例として、nRT(200)を表す円錐の描画について記述する。
まず錐体描画処理(ステップ301)は、nRT(200)を表す円錐の高さを算出する。子ノード数最大値(211)は4、nRTの高さ(212)は2、また描画対象ノードの高さbも同様に2となるため、「高さ2のnRT(200)を表す円錐の高さ=100×((1/4)^(2−2))=100」となる。このとき、nRT(200)を表す円錐の頂点座標は(0、0、100)としたため、nRT(200)を表す円錐の底面の中心点は(0、0、0)となる。
次に、錐体描画処理(ステップ301)は、nRT(200)を表す円錐の底面の半径を算出する。本実施形態においては円錐の底面の半径は高さと同等とするため100とする。
次に、錐体描画処理(ステップ301)は、与えられたnRT(200)を表す円錐の頂点座標と、算出した円錐の高さ、円錐の底面の半径に従い、nRT(200)を表す円錐を描画することで、第6図に示す錐体描画イメージ(400)が描画される。
Next, in the cone drawing process (step 301), a cone representing a drawing target node is drawn according to the vertex coordinates of the cone, the height of the cone, and the radius of the bottom surface of the cone. As an example, drawing of a cone representing nRT (200) will be described.
First, in the cone drawing process (step 301), the height of a cone representing nRT (200) is calculated. Since the maximum value (211) of the child nodes is 4, the height (212) of the nRT is 2, and the height b of the drawing target node is also 2, the “cone representing the nRT (200) having the height 2” Height = 100 × ((1/4) ^ (2-2)) = 100 ”. At this time, since the vertex coordinates of the cone representing nRT (200) are (0, 0, 100), the center point of the bottom surface of the cone representing nRT (200) is (0, 0, 0).
Next, the cone drawing process (step 301) calculates the radius of the bottom surface of the cone representing nRT (200). In the present embodiment, the radius of the bottom surface of the cone is set to 100 because it is equal to the height.
Next, the cone drawing process (step 301) calculates a cone representing nRT (200) according to the vertex coordinates of the cone representing the given nRT (200), the calculated cone height, and the radius of the bottom of the cone. By drawing, the cone drawing image (400) shown in FIG. 6 is drawn.

なお、本発明はこれに限らず、別の方法で各円錐の高さを算出してもよい。例えば、全円錐を同じ高さにしても良いし、親ノードを表す円錐の高さに対して子ノードを表す円錐の高さを1/10にするという方法でもよい。また円錐の底面の半径は高さと同等としたが、本発明はこれに限らず高さの1/2にするなどとしてもよい。   The present invention is not limited to this, and the height of each cone may be calculated by another method. For example, all the cones may have the same height, or the height of the cone representing the child node may be reduced to 1/10 of the height of the cone representing the parent node. The radius of the bottom surface of the cone is equal to the height, but the present invention is not limited to this and may be ½ of the height.

(側面情報描画部111における領域分割)
第7図は、本実施の形態における側面情報描画部(111)が側面情報描画処理(ステップ302)により描画対象ノードを表す円錐の側面を複数の領域に分割した側面情報描画イメージ(401)を示す。本図を用いて側面情報描画処理(ステップ302)について説明する。
(Area division in the side information drawing unit 111)
FIG. 7 shows a side information drawing image (401) obtained by dividing the side surface of the cone representing the drawing target node into a plurality of regions by the side information drawing unit (111) in the present embodiment by the side information drawing processing (step 302). Show. The side information drawing process (step 302) will be described with reference to FIG.

まず側面情報描画処理(ステップ302)は、描画対象ノードを表す円錐の側面にk本の線分を描画し、円錐の側面をk個の領域に分割し、分割した各領域にk種類の属性を1対1の関係で関連付ける。具体的には、k本の線分は、描画対象ノードを表す円錐の底面の中心点と、X軸方向に円錐の底面の半径だけ移動した円錐の底面の外周との交点を結ぶ直線を描画対象ノードの基線とし、円錐の底面において基線から「R度+(360度/k)×n」(n=0、1、2、・・・、k−2、k−1)の角度にある直線と底面の円周の交点と、円錐の頂点を結ぶ線分とする。このとき回転角度Rは木構造情報表(210)より読み出す。   First, in the side information drawing process (step 302), k line segments are drawn on the side surface of the cone representing the drawing target node, the side surface of the cone is divided into k areas, and k types of attributes are assigned to each divided area. Are related in a one-to-one relationship. Specifically, the k line segments draw a straight line connecting the intersection of the center point of the bottom surface of the cone representing the drawing target node and the outer periphery of the bottom surface of the cone moved by the radius of the bottom surface of the cone in the X-axis direction. It is set as the base line of the target node, and is at an angle of “R degrees + (360 degrees / k) × n” (n = 0, 1, 2,..., K−2, k−1) from the base line on the bottom surface of the cone. A line segment connecting the intersection of the straight line and the circumference of the bottom surface and the apex of the cone. At this time, the rotation angle R is read from the tree structure information table (210).

本実施形態では、k、すなわちnRT(200)の属性値範囲表(230)の行数は2であることから、2本の線分を円錐の側面上に描画する。回転角度Rは本実施形態において90であるから、nRT(200)においてはnRT(200)を表す円錐の底面の中心点(0、0、0)と、X軸方向に円錐の底面の半径だけ移動した円錐の底面の外周との交点(100、0、0)を結ぶ直線をnRT(200)の基線(411)とし、1本目の線分、すなわちn=0の線分は基線(411)から「90度」のところにある点(0、−100、0)と円錐の頂点(0、0、100)を結ぶ線分であり、2本目の線分は「90度+(360度/2)×1」、すなわち基線(411)から「270度」のところにある点(0、100、0)と円錐の頂点(0、0、100)を結ぶ線分となる。これにより第7図に示す側面情報描画イメージ(401)が描画される。   In the present embodiment, since k, that is, the number of rows in the attribute value range table (230) of nRT (200) is 2, two line segments are drawn on the side surface of the cone. Since the rotation angle R is 90 in the present embodiment, in nRT (200), only the center point (0, 0, 0) of the bottom surface of the cone representing nRT (200) and the radius of the bottom surface of the cone in the X-axis direction. The straight line connecting the intersection (100, 0, 0) with the outer periphery of the bottom surface of the moved cone is the base line (411) of nRT (200), and the first line segment, that is, the line segment of n = 0 is the base line (411). Is a line segment connecting the point (0, -100, 0) located at "90 degrees" to the apex (0, 0, 100) of the cone, and the second line segment is "90 degrees + (360 degrees / 2) × 1 ”, that is, a line segment connecting the point (0, 100, 0) located at“ 270 degrees ”from the base line (411) and the apex (0, 0, 100) of the cone. Thus, the side information drawing image (401) shown in FIG. 7 is drawn.

本実施形態では、各領域の大きさが均等になるよう分割したが、本発明はこれに限らず、異なる大きさに分割しても良い。またk個以上の領域に分割しても良い。   In the present embodiment, the areas are divided so that the sizes thereof are equal. However, the present invention is not limited to this, and the areas may be divided into different sizes. Further, it may be divided into k or more regions.

次に側面情報描画処理(ステップ302)は、k本の線分によって分割された領域を、それぞれk個の属性に関連付ける。本実施形態では、2本の線分によって分割された領域のうち、1本目の線分、すなわちn=0の線分から2本目の線分、すなわちn=1の線分までの領域を属性xに、同様に2本目の線分から1本目の線分までの領域を属性yに関連付ける。本発明はこれに限らず、逆順に各領域を各属性に関連付けても良い。   Next, the side information drawing process (step 302) associates the areas divided by the k line segments with k attributes. In the present embodiment, among the regions divided by the two line segments, the first line segment, that is, the region from the n = 0 line segment to the second line segment, that is, the n = 1 line segment is defined as the attribute x. Similarly, the area from the second line segment to the first line segment is associated with the attribute y. The present invention is not limited to this, and each region may be associated with each attribute in reverse order.

(側面情報描画部111における情報描画)
第8図及び第9図は、それぞれ、本実施の形態における側面情報描画部(111)が側面情報描画処理(ステップ302)により、さらに描画対象ノードを表す円錐の側面の各領域に情報を描画した側面情報描画イメージ(402)及び(403)を示す。本図を用いて側面情報描画処理(ステップ302)について説明する。
(Information drawing in the side information drawing unit 111)
8 and 9, the side information drawing unit (111) in the present embodiment further draws information in each area on the side of the cone representing the drawing target node by the side information drawing processing (step 302). The side information drawing images (402) and (403) are shown. The side information drawing process (step 302) will be described with reference to FIG.

側面情報描画処理(ステップ302)は、nRT(200)の属性値範囲表(230)と描画対象描画対象ノードの属性値範囲表を参照し、各属性についてnRT(200)の属性値範囲表(230)に記載された属性値範囲、すなわち該木構造が保持する全データ集合における属性値範囲R1と、描画対象ノードの属性値範囲表に記載された属性値範囲、すなわち描画対象ノード以下に保持するデータ集合における属性値範囲R2とを取得し、該領域において、関連付けられた該属性のR1に対するR2の範囲を描画する。本実施形態においては、該領域のうち、円錐の底面と接する点をR1の範囲の始点、円錐の頂点となる点をR1の範囲の終点とし、その中でR2の占める範囲を第8図に示すように斜線あるいは点線の網掛けで描画する。   The side information drawing process (step 302) refers to the attribute value range table (230) of nRT (200) and the attribute value range table of the drawing target drawing target node, and for each attribute, the attribute value range table (nRT (200)) 230), that is, the attribute value range R1 in all data sets held by the tree structure and the attribute value range described in the attribute value range table of the drawing target node, that is, held below the drawing target node The attribute value range R2 in the data set to be acquired is acquired, and the range of R2 with respect to R1 of the associated attribute is drawn in the area. In this embodiment, the point in contact with the bottom of the cone in the region is the starting point of the range of R1, the point that is the apex of the cone is the end of the range of R1, and the range occupied by R2 in FIG. Draw with diagonal or dotted shading as shown.

例として、nRT(200)、n1(201)を表す円錐の描画について記述する。
本実施形態におけるnRT(200)を表す円錐においては、属性xについて、R1がx=0〜10に対し、R2も同様にx=0〜10であることから、属性xに関連付けられた該領域において全範囲を斜線の網掛けで描画する。属性yについては、R1がy=0〜10に対し、R2も同様にy=0〜10であることから、属性yに関連付けられた該領域において全範囲を点線の網掛けで描画する。これにより、第8図に示す側面情報描画イメージ(402)が描画される。
As an example, a drawing of a cone representing nRT (200) and n1 (201) will be described.
In the cone representing nRT (200) in this embodiment, for attribute x, R1 is x = 0 to 10 and R2 is also x = 0 to 10, so the region associated with attribute x The whole range is drawn with hatched shading. As for the attribute y, since R1 is y = 0 to 10 and R2 is similarly y = 0 to 10, the entire range in the region associated with the attribute y is drawn with a dotted line. Thereby, the side information drawing image (402) shown in FIG. 8 is drawn.

n1(201)を描画対象とする場合には、属性xについて、R1がx=0〜10に対し、R2はx=0〜5、すなわちR1の範囲に対してR2は0%〜50%の部分の範囲となるため、属性xに関連付けられた該領域において、底面に近い方から0〜50%の範囲を斜線の網掛けで描画する。属性yについては、R1がy=0〜10に対し、R2はy=5〜10、すなわちR1の範囲に対してR2は50%〜100%の部分の範囲となるため、属性yに関連付けられた該領域において、底面に近い方から50%〜100%の範囲を点線の網掛けで描画する。これにより、第9図に示す側面情報描画イメージ(403)が描画される。   When n1 (201) is a drawing target, for attribute x, R1 is x = 0 to 10, R2 is x = 0 to 5, that is, R2 is 0% to 50% with respect to the range of R1. Since this is the range of the part, in the region associated with the attribute x, a range of 0 to 50% from the side closer to the bottom surface is drawn by hatching. For attribute y, R1 is y = 0 to 10 and R2 is y = 5 to 10, that is, R2 is in the range of 50% to 100% with respect to the range of R1, and therefore is associated with attribute y. In this region, a range of 50% to 100% from the side closer to the bottom surface is drawn by dotted line shading. As a result, the side information drawing image (403) shown in FIG. 9 is drawn.

なお、R1が0〜10であり、かつR2が2〜4の場合には、底面に近い方から20%〜40%の範囲を斜線または点線の網掛けで描画することになる。
ただし、本発明はこれに限らず、円錐の頂点と接する点をR1の範囲の始点、円錐の底面となる点をR1の範囲の終点としても良く、範囲の描画に用いる網掛けを属性に関わらず斜線、または点線で統一しても良い。また、範囲の描画に属性ごとに異なる色彩を用いても良く、該色彩を半透明化させても良い。また、R1に対するR2の範囲を色彩の濃さ、あるいは輝度によって変化させることにより描画しても良い。
When R1 is 0 to 10 and R2 is 2 to 4, a range of 20% to 40% from the side closer to the bottom surface is drawn with hatched or dotted lines.
However, the present invention is not limited to this, and the point that touches the apex of the cone may be the starting point of the range of R1, and the point that becomes the bottom of the cone may be the end of the range of R1, and the shading used for drawing the range is related to the attribute. They may be unified with diagonal lines or dotted lines. Also, different colors may be used for drawing the range for each attribute, and the colors may be made translucent. Further, the drawing may be performed by changing the range of R2 with respect to R1 depending on the color intensity or luminance.

本発明における正規化は、本実施形態では、このように、描画対象ノードが下位にデータ集合に含まれる該領域に関連付けた属性の属性値範囲を、該検索木が含む全データ集合に含まれる該領域に関連付けた属性の属性値範囲の中で占める範囲に変換することを指す。   In this embodiment, normalization according to the present invention is included in all data sets included in the search tree, as described above, in this embodiment, the attribute value range of the attribute associated with the region in which the drawing target node is included in the data set below is included. This refers to conversion to a range occupied in the attribute value range of the attribute associated with the region.

(錐体配置部112)
第10図は本実施の形態における錐体配置部(112)が錐体配置処理(ステップ303)により描画対象ノードの子ノードを表す円錐の頂点を算出した際の、算出した座標を側面情報描画イメージ(404)上に示したものである。本図を用いて錐体配置処理(ステップ303)について説明する。
(Cone arrangement part 112)
FIG. 10 shows the calculated coordinates when the cone arrangement unit (112) in the present embodiment calculates the vertex of the cone representing the child node of the drawing target node by the cone arrangement processing (step 303). This is shown on the image (404). The cone arrangement process (step 303) will be described with reference to FIG.

まず、錐体配置部(112)は、描画対象ノードを表す円錐の底面の基線と外周の交点を基点とし、この基点を1つ目の子ノードを表す円錐の頂点座標とする。例えば、描画対象ノードがnRT(200)の場合、基線(411)と外周の交点(100、0、0)が基点となる。   First, the cone arrangement unit (112) uses a base point of the base of the cone representing the drawing target node and the outer intersection as a base point, and uses this base point as a vertex coordinate of the cone representing the first child node. For example, when the drawing target node is nRT (200), the base line (411) and the intersection (100, 0, 0) of the outer circumference are the base points.

次に、錐体配置部(112)は、円錐の底面の中心角360度を子ノード数で分割し、分割した角度において円錐の底面の中心点から外周に向けて伸ばした直線と円錐の底面の外周の交点を各子ノードの頂点座標とする。このとき、子ノード数は描画対象ノードのポインタ表の行数により算出する。本実施形態におけるnRT(200)を表す円錐においては、nRT(200)はn1(201)とn2(202)の2つの子ノードを有し、ポインタ表(220)の行数は2であるため、円錐の底面の中心角360度を2で分割する。この場合、n1は基線(411)上の基点(100、0、0)、n2は基線(411)を基点(100、0、0)から360度/2だけ回転したときの外周との交点(−100、0、0)が頂点座標となる。   Next, the cone arrangement part (112) divides the central angle 360 degrees of the bottom surface of the cone by the number of child nodes, and the straight line extending from the center point of the bottom surface of the cone toward the outer periphery at the divided angle and the bottom surface of the cone Let the intersection of the outer peripheries be the vertex coordinates of each child node. At this time, the number of child nodes is calculated from the number of rows in the pointer table of the drawing target node. In the cone representing nRT (200) in this embodiment, nRT (200) has two child nodes, n1 (201) and n2 (202), and the pointer table (220) has two rows. The center angle 360 degrees of the bottom surface of the cone is divided by two. In this case, n1 is a base point (100, 0, 0) on the base line (411), and n2 is an intersection with the outer periphery when the base line (411) is rotated 360 degrees / 2 from the base point (100, 0, 0) ( −100, 0, 0) is the vertex coordinate.

以上の描画処理を再帰的に実施することにより、検索木全体を描画することができる。このようにして描画された検索木は、ノード間の関連性を表すエッジを用いることなく、各ノードを表す円錐とその配置によって3次元的に検索木の木構造を表現し、さらに各ノードを表す円錐の側面の各領域上に該領域に関係づけられた属性に関する情報を表現し、さらに該領域に関係づけられた属性に関する情報として該円錐に対応するノードが下位に含むデータ集合に含まれる該属性の属性値範囲を表現しており、これにより各ノードが下位に含むデータ集合には、どの属性がどの程度の属性値範囲だけ含まれているかを俯瞰することが出来るという特徴を持つ。   By performing the above drawing processing recursively, the entire search tree can be drawn. The search tree drawn in this way expresses the tree structure of the search tree in a three-dimensional manner by using a cone representing each node and its arrangement without using an edge representing the relationship between the nodes. Information related to the attribute related to the area is expressed on each area of the side surface of the cone to be represented, and further, the information related to the attribute related to the area is included in the data set included in the lower level of the node corresponding to the cone The attribute value range of the attribute is expressed, and this has a feature that it is possible to overlook which attribute value range is included in the data set included in each node at the lower level.

(完成図)
第11図は本実施の形態において、描画処理を再帰的に実施する検索木描画処理により
描画される検索木描画イメージ(405)を示す。本実施形態において描画された検索木は、このようにノード間の関連性を表すエッジを用いることなく、nRT(200)、n1(201)、n2(202)のノードを表す円錐とその配置によって3次元的に検索木の木構造を表現し、さらに各ノードを表す円錐の側面の各領域上に該領域に関係づけられた属性xと属性yに関する情報を表現し、さらに該領域に関係づけられた属性xと属性yに関する情報として該円錐に対応するノードが下位に含むデータ集合に含まれる属性xと属性yの属性値範囲を表現しており、これにより各ノードが下位に含むデータ集合には、属性xと属性yがどの程度の属性値範囲だけ含まれているかを俯瞰することが出来る。
(Completed drawing)
FIG. 11 shows a search tree drawing image (405) drawn by the search tree drawing process in which the drawing process is recursively performed in the present embodiment. The search tree drawn in the present embodiment does not use an edge representing the relationship between the nodes as described above, and uses the cones representing the nodes nRT (200), n1 (201), and n2 (202) and the arrangement thereof. Represents the tree structure of the search tree three-dimensionally, and further expresses information related to the attribute x and attribute y related to the region on each side surface of the cone representing each node, and further relates to the region Represents the attribute value range of the attribute x and the attribute y included in the data set included in the lower level of the node corresponding to the cone as information on the attribute x and the attribute y, and thereby the data set included in the lower level of each node It is possible to overlook how much attribute value range the attribute x and the attribute y are included in.

なお、本実施形態では検索木描画部(114)がルートノードから再帰的に描画する例について説明したが、本発明はそれに限らず、検索木描画部(114)は任意のインナーノードから再帰的に描画することにより、該インナーノード以下の部分木のみを描画しても良い。また子ノードから親ノードへのポインタも各子ノードで管理することとすれば、リーフノードを起点として他のノードを描画することも可能である。   In this embodiment, the search tree drawing unit (114) recursively draws from the root node. However, the present invention is not limited to this, and the search tree drawing unit (114) recursively starts from any inner node. Only the subtree below the inner node may be drawn. In addition, if a pointer from a child node to a parent node is also managed by each child node, other nodes can be drawn starting from a leaf node.

(回転角度算出部113を用いた回転処理)
さらに、検索木描画装置(100)は、第11図で示した描画イメージにおいて、各ノードを表す円錐の側面の各領域に描画された情報を、各円錐の頂点から底面に下した垂線を中心とし、回転角度算出部(113)が算出した角度だけ各円錐を回転させた側面情報描画イメージを再描画する回転処理を実行してもよい。
(Rotation processing using the rotation angle calculation unit 113)
Further, the retrieval tree drawing apparatus (100) uses the drawing image shown in FIG. 11 to center the information drawn in each area on the side surface of the cone representing each node from the vertex of each cone to the bottom surface. The rotation processing may be executed to redraw the side information drawing image obtained by rotating each cone by the angle calculated by the rotation angle calculation unit (113).

以下に本実施形態におけるその回転処理手順を示す。
検索木描画部(114)が検索木描画処理(ステップ300)を実施した後、回転角度算出部(113)が以下の処理を行う。
回転角度算出部(113)は、一定期間毎に、木構造情報表(210)の回転角度Rの値を90からΔずつ大きくした値に更新し、さらに検索木描画部(114)の検索木描画処理(ステップ300)を呼び出す。
The rotation processing procedure in this embodiment is shown below.
After the search tree drawing unit (114) performs the search tree drawing process (step 300), the rotation angle calculation unit (113) performs the following process.
The rotation angle calculation unit (113) updates the value of the rotation angle R in the tree structure information table (210) to a value increased by 90 from Δ at regular intervals, and further searches the search tree drawing unit (114). A drawing process (step 300) is called.

本実施形態においてはΔは5であり、一定期間経過後のRは「R=90+5」、すなわち95となる。さらに一定期間経過後の木構造情報表(210)の回転角度Rは「R=95+5」、すなわち100となる。また本実施形態では3秒を該一定期間とする。すると本実施形態では、3秒経過毎に各領域に描画する情報を5度ずつ回転させて再描画されることとなる。   In the present embodiment, Δ is 5, and R after a certain period of time is “R = 90 + 5”, that is, 95. Furthermore, the rotation angle R of the tree structure information table (210) after a certain period of time is “R = 95 + 5”, that is, 100. In this embodiment, 3 seconds is set as the predetermined period. Then, in this embodiment, the information to be drawn in each area is rotated by 5 degrees and redrawn every 3 seconds.

ただし本発明はこれに限らず、1秒毎に回転させて再描画しても良いし、ユーザからの操作命令を受け付け、操作命令を受け付けたタイミングで回転させて再描画しても良い。また回転角度Δはマイナスの値を取り、各領域に描画する情報を逆回転させて再描画しても良い。   However, the present invention is not limited to this, and the image may be redrawn by being rotated every second, or may be redrawn by receiving an operation command from the user and rotating at the timing when the operation command is received. Further, the rotation angle Δ may take a negative value, and the information drawn in each area may be reversely rotated and redrawn.

また、回転処理は、検索木描画部(114)が検索木描画処理(ステップ300)を実施し描画した木構造について、錐体描画処理(ステップ301)と錐体配置処理(ステップ303)により算出された各ノードを表す円錐の頂点座標、高さ、底面の半径を記憶しておくことで、各ノードについて側面情報描画処理(ステップ302)のみを再帰的に実行し、各領域に描画する情報を再描画しても良い。   The rotation process is calculated by the cone drawing process (step 301) and the cone arrangement process (step 303) for the tree structure drawn by the search tree drawing unit (114) performing the search tree drawing process (step 300). By storing the vertex coordinates, height, and bottom surface radius of the cone representing each node, only the side information rendering process (step 302) is recursively performed for each node, and information is rendered in each region. May be redrawn.

このように、各ノードを表す円錐の側面の各領域に描画された情報を回転させて再描画することで、どの領域も前面に描画することを可能とする。これにより各錐体の側面に描画する全ての情報を容易に把握することが可能となり、またノード間で全情報を見比べることが可能となる。   Thus, by rotating and redrawing information drawn in each area on the side surface of the cone representing each node, any area can be drawn on the front surface. As a result, it is possible to easily grasp all information drawn on the side surface of each cone, and it is possible to compare all information between nodes.

本発明は情報通信産業に適用することができる。   The present invention can be applied to the information communication industry.

100:検索木描画装置
101:データ蓄積部
110:錐体描画部
111:側面情報描画部
112:錐体配置部
113:回転角度算出部
114:検索木描画部
120:データ集合
200:nRT
201:n1
202:n2
100: Search tree drawing device 101: Data storage unit 110: Cone drawing unit 111: Side surface information drawing unit 112: Cone arrangement unit 113: Rotation angle calculation unit 114: Search tree drawing unit 120: Data set 200: nRT
201: n1
202: n2

Claims (6)

属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段と、
前記木構造の各ノードを錐体により描画する錐体描画手段と、
該錐体の側面に情報を描画する側面情報描画手段と、
前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手段と、
該錐体描画手段と該側面情報描画手段と該錐体配置手段とを各ノードについて再帰的に実行する検索木描画手段と、
を有し、
前記側面情報描画手段は、
各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、
各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画する
ことを特徴とする検索木描画装置。
Data storage means for holding a set of data including one or more pairs of attribute names and attribute values in a tree structure;
A cone drawing means for drawing each node of the tree structure by a cone;
Side information drawing means for drawing information on the side of the cone;
A cone representing a child node of the nodes of the tree structure, and a vertex of the cone representing the child node is in contact with an outer periphery of a bottom surface of the cone representing a parent node of the nodes of the tree structure; A cone arrangement means arranged at a position where the outer periphery of the bottom surface of the cone representing the node does not contact with other adjacent child nodes;
Search tree drawing means for recursively executing the cone drawing means, the side surface information drawing means, and the cone arrangement means for each node;
I have a,
The side information drawing means includes:
The sides of the cone representing each node are divided into at least the number of attribute types included in the data set included in the search tree, and the attributes of each attribute type are associated with each divided region in a one-to-one relationship. , Draw information about the attributes associated with the region that the side of the cone representing each node contains,
As information about the attribute associated with the area drawn in the area included in the side surface of the cone representing each node, the maximum value to the minimum value of the attribute value associated with the area included in the data set included in the node below An apparatus for drawing a search tree, wherein the information is normalized by the range of the maximum value and the minimum value of attribute values associated with the area included in all data sets included in the search tree.
前記錐体の回転角度を算出する回転角度算出手段をさらに有し、
前記側面情報描画手段は、各錐体の側面上に描画した情報を、各錐体の頂点から各底面に垂直に下ろした垂線を中心に該回転角度だけ一斉に回転させた状態で再描画する
ことを特徴とする請求項に記載の検索木描画装置。
A rotation angle calculating means for calculating a rotation angle of the cone;
The side surface information drawing means redraws the information drawn on the side surface of each cone in a state in which the rotation angle is simultaneously rotated around a perpendicular line perpendicular to each bottom surface from the vertex of each cone. The retrieval tree drawing apparatus according to claim 1 , wherein:
該木構造がUBI−Treeである
ことを特徴とする請求項1又は2に記載の検索木描画装置。
Search Tree drawing apparatus according to claim 1 or 2 the tree structure is characterized by a UBI-Tree.
属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段と、錐体描画手段と、側面情報描画手段と、錐体配置手段と、を有する検索木描画装置が実行する検索木描画方法であって、
前記錐体描画手段が、前記データ蓄積手段に蓄積されている前記木構造の各ノードを錐体により描画する錐体描画手順と、
前記側面情報描画手段が、該錐体の側面に情報を描画する側面情報描画手順と、
前記錐体配置手段が、前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手順と、
を有し、
前記側面情報描画手順では、前記側面情報描画手段が、
各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、
各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画する
ことを特徴とする検索木描画方法。
Retrieval tree drawing apparatus comprising: data storage means for holding a set of data including one or more attribute name / attribute value pairs in a tree structure ; cone drawing means; side information drawing means; and cone arrangement means. Is a search tree drawing method executed by
A cone drawing procedure in which the cone drawing means draws each node of the tree structure stored in the data storage means by a cone;
A side information drawing procedure in which the side information drawing means draws information on a side surface of the cone;
The pyramid arrangement means is configured to display a cone representing a child node of the nodes of the tree structure, and a vertex of the cone representing the child node of a bottom surface of the cone representing a parent node of the nodes of the tree structure. A pyramid placement procedure that touches the outer circumference and places the outer circumference of the bottom surface of the cone that represents the child node at a position that does not touch other adjacent child nodes;
I have a,
In the side information drawing procedure, the side information drawing means includes:
The sides of the cone representing each node are divided into at least the number of attribute types included in the data set included in the search tree, and the attributes of each attribute type are associated with each divided region in a one-to-one relationship. , Draw information about the attributes associated with the region that the side of the cone representing each node contains,
As information about the attribute associated with the area drawn in the area included in the side surface of the cone representing each node, the maximum value to the minimum value of the attribute value associated with the area included in the data set included in the node below The information normalized by the range of the maximum value and the minimum value of the attribute value associated with the region included in the entire data set included in the search tree is drawn.
A search tree drawing method characterized by that .
前記検索木描画装置は、回転角度算出手段をさらに有し、
前記回転角度算出手段が、前記錐体の回転角度を算出し、前記側面情報描画手段が、各錐体の側面上に描画した情報を、各錐体の頂点から各底面に垂直に下ろした垂線を中心に該回転角度だけ一斉に回転させた状態で再描画する回転処理手順を、
さらに有することを特徴とする請求項に記載の検索木描画方法。
The search tree drawing device further includes a rotation angle calculation means,
The rotation angle calculation means calculates the rotation angle of the cone, and the side information drawing means perpendicularly draws the information drawn on the side surface of each cone from the apex of each cone to each bottom surface. A rotation processing procedure for redrawing in a state where the rotation angle is rotated all at once around the center,
The retrieval tree drawing method according to claim 4 , further comprising:
錐体描画手段が、属性名と属性値の組を1つ以上含むデータの集合を木構造で保持するデータ蓄積手段に蓄積されている前記木構造の各ノードを錐体により描画する錐体描画手順と、
側面情報描画手段が、該錐体の側面に情報を描画する側面情報描画手順と、
錐体配置手段が、前記木構造のノードのうちの子ノードを表す錐体を、当該子ノードを表す錐体の頂点が前記木構造のノードのうちの親ノードを表す錐体の底面の外周上に接し、当該子ノードを表す錐体の底面の外周が隣接する他の子ノードと接しない位置に配置する錐体配置手順と、
をコンピュータに実行させるための検索木描画プログラムであって、
前記側面情報描画手順では、前記側面情報描画手段が、
各ノードを表す錐体の側面に対して、少なくとも該検索木が含むデータ集合に含まれる属性種類数の領域に分割し、分割した各領域に各属性種類の属性を1対1の関係で関連付け、各ノードを表す錐体の側面が含む該領域に関連付けられた属性に関する情報を描画し、
各ノードを表す錐体の側面が含む該領域に描画する該領域に関連付けられた属性に関する情報として、該ノードが下位に含むデータ集合に含まれる該領域に関連付けた属性値の最大値から最小値の範囲を該検索木が含む全データ集合に含まれる該領域に関連付けた属性値の最大値と最小値の範囲で正規化した情報を描画する
ことを特徴とする検索木描画プログラム
The cone drawing means draws each node of the tree structure stored in the data storage means that holds a set of data including one or more attribute name / attribute value pairs in a tree structure by the cone. Procedure and
A side information drawing means for drawing information on a side surface of the cone;
The cone arrangement means is a cone representing a child node among the nodes of the tree structure, and an outer periphery of a bottom surface of the cone whose apex of the cone representing the child node represents a parent node of the nodes of the tree structure A cone placement procedure that touches the top and places the outer periphery of the bottom surface of the cone representing the child node at a position that does not touch other adjacent child nodes;
A search tree drawing program for causing a computer to execute the,
In the side information drawing procedure, the side information drawing means includes:
The sides of the cone representing each node are divided into at least the number of attribute types included in the data set included in the search tree, and the attributes of each attribute type are associated with each divided region in a one-to-one relationship. , Draw information about the attributes associated with the region that the side of the cone representing each node contains,
As information about the attribute associated with the area drawn in the area included in the side surface of the cone representing each node, the maximum value to the minimum value of the attribute value associated with the area included in the data set included in the node below The information normalized by the range of the maximum value and the minimum value of the attribute value associated with the region included in the entire data set included in the search tree is drawn.
A search tree drawing program characterized by that .
JP2012183775A 2012-08-23 2012-08-23 Search tree drawing apparatus, search tree drawing method and program Active JP5754676B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012183775A JP5754676B2 (en) 2012-08-23 2012-08-23 Search tree drawing apparatus, search tree drawing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012183775A JP5754676B2 (en) 2012-08-23 2012-08-23 Search tree drawing apparatus, search tree drawing method and program

Publications (2)

Publication Number Publication Date
JP2014041504A JP2014041504A (en) 2014-03-06
JP5754676B2 true JP5754676B2 (en) 2015-07-29

Family

ID=50393705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012183775A Active JP5754676B2 (en) 2012-08-23 2012-08-23 Search tree drawing apparatus, search tree drawing method and program

Country Status (1)

Country Link
JP (1) JP5754676B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69033865T2 (en) * 1989-12-29 2002-04-11 Inxight Software Inc Display of hierarchical three-dimensional structures
US6297824B1 (en) * 1997-11-26 2001-10-02 Xerox Corporation Interactive interface for viewing retrieval results
CA2365222C (en) * 2000-12-21 2009-10-27 Xerox Corporation System and method for browsing hierarchically based node-link structures based on an estimated degree of interest
US6856313B2 (en) * 2002-05-20 2005-02-15 Xerox Corporation System and method for the simultaneous display and manipulation of hierarchical and non-hierarchical data
JP5144293B2 (en) * 2008-02-04 2013-02-13 株式会社プロフィールド Information processing apparatus, information processing method, and program
WO2011074033A1 (en) * 2009-12-16 2011-06-23 三菱電機株式会社 Data processing device
JP5699575B2 (en) * 2010-12-07 2015-04-15 キヤノンマーケティングジャパン株式会社 Information processing apparatus, information processing method, and computer program

Also Published As

Publication number Publication date
JP2014041504A (en) 2014-03-06

Similar Documents

Publication Publication Date Title
US10621762B2 (en) Systems and methods for high dimensional 3D data visualization
US9378593B2 (en) Garment simulation using thread and data level parallelism
McGuffin Simple algorithms for network visualization: A tutorial
JP3747404B2 (en) Graphics image creating apparatus, method and program thereof
CN109255829A (en) Mixing level for ray trace
Caserta et al. 3D hierarchical edge bundles to visualize relations in a software city metaphor
US20120042284A1 (en) 3d tag clouds for visualizing federated cross-system tags
Schirski et al. Vista flowlib-framework for interactive visualization and exploration of unsteady flows in virtual environments
US8954295B1 (en) Determining an outer shell of a composite three-dimensional model
US8610743B2 (en) Systems and methods for displaying, viewing and navigating three dimensional representations
CN108230433B (en) 3D map scatter data display method and system and information data processing terminal
AU2015315608B2 (en) Layout engine
CN104008122A (en) Dynamic multi-stage pie chart display method of layering data
Yu et al. Scalable parallel distance field construction for large-scale applications
JP5754676B2 (en) Search tree drawing apparatus, search tree drawing method and program
Doraiswamy et al. Spade: Gpu-powered spatial database engine for commodity hardware
US8572504B1 (en) Determining comprehensibility of a graphical model in a graphical modeling environment
JP2006107020A5 (en)
US11423193B1 (en) Perspective piping for a human machine interface
JP6437226B2 (en) Information processing system, program information generation method, program information generation program, and program information display system
CN103984724B (en) Virtual interactive interface method based on space optimization tree layout
US10062193B2 (en) Attribute based map marker clustering
Shivashankar et al. Efficient software for programmable visual analysis using Morse-Smale complexes
Li et al. Valid: A web framework for visual analytics of large streaming data
Brinkmann et al. Real-time interactive visualization of large networks on a tiled display system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20140711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150410

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150512

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150515

R150 Certificate of patent or registration of utility model

Ref document number: 5754676

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250