JP2014182624A - Data management device and method thereof and program - Google Patents

Data management device and method thereof and program Download PDF

Info

Publication number
JP2014182624A
JP2014182624A JP2013057048A JP2013057048A JP2014182624A JP 2014182624 A JP2014182624 A JP 2014182624A JP 2013057048 A JP2013057048 A JP 2013057048A JP 2013057048 A JP2013057048 A JP 2013057048A JP 2014182624 A JP2014182624 A JP 2014182624A
Authority
JP
Japan
Prior art keywords
node
search
attribute information
assigned
terminal
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.)
Granted
Application number
JP2013057048A
Other languages
Japanese (ja)
Other versions
JP5997636B2 (en
Inventor
Yusuke Endo
藤 侑 介 遠
Hiromasa Shin
博 正 進
Yoshiro Hasegawa
義 朗 長谷川
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2013057048A priority Critical patent/JP5997636B2/en
Publication of JP2014182624A publication Critical patent/JP2014182624A/en
Application granted granted Critical
Publication of JP5997636B2 publication Critical patent/JP5997636B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To swiftly acquire a piece of information in a specified space range.SOLUTION: A space search tree storage stores a space search tree; each of terminal nodes is associated with a piece of attribute information of an object; and a host node is associated with a piece of aggregation attribute information which is generated according to the attribute information of all of lower terminal nodes. A search controller performs recursive search from a root node toward lower nodes of the space search tree on the basis of a search range, in which a part of the space is specified, to search a node to which an external envelope rectangular solid overlapping with the search range is allotted. When the node detected by the search controller is a first node that does not satisfy prescribed search conditions, a pruning section determines not to perform the search of nodes lower than the first node. The output section outputs a search result on the basis of the aggregation attribute information of the first node and the attribute information of the terminal node detected by the search controller.

Description

本発明の実施形態は、データ管理装置およびその方法、ならびにプログラムに関する。   Embodiments described herein relate generally to a data management apparatus and method, and a program.

地理情報システムにおいては、発電機器から近隣の地物まで、様々な詳細度のオブジェクトの集合(シーンと呼ぶ)を扱い、指定した範囲内の情報を正確かつ高速に集計することが重要である。   In a geographic information system, it is important to handle a collection of objects (called a scene) with various degrees of detail from a power generation device to neighboring features, and to aggregate information within a specified range accurately and at high speed.

指定した範囲に収まるオブジェクトが少数の場合、既存の空間索引技術を用いて対象範囲のオブジェクトを単純に全て抽出し、集計すればよかった。しかし、情景を俯瞰するような範囲を指定した場合(俯瞰的集計)、その範囲に多数のオブジェクトが含まれるため、オブジェクトを全て列挙すると、高速さが犠牲になる。   If there were a small number of objects within the specified range, all the objects in the target range could be simply extracted and tabulated using existing spatial index technology. However, when a range over which a scene is looked down is specified (overhead tabulation), a large number of objects are included in the range, and if all the objects are enumerated, high speed is sacrificed.

2D(次元)で集計する場合は、同種のオブジェクトの集合(ビルや地形等)ごとに詳細度を決め、俯瞰的集計では詳細なオブジェクトの集計を省略することでこの問題を回避していた(この手法を「デクラッタリング」と呼ぶ)。しかし3Dの場合、同種のオブジェクトでも、高度によって集計対象かどうかが変わったり、視点近くのオブジェクトは詳細に、遠くのオブジェクトは粗く集計する必要があったりする。   When counting in 2D (dimensions), the degree of detail is determined for each set of objects of the same type (buildings, topography, etc.), and this problem is avoided by omitting detailed object counting in a bird's-eye view ( This method is called “decruttering”. However, in the case of 3D, even if the same kind of object is used, whether it is the target of aggregation changes depending on the altitude, or objects near the viewpoint need to be aggregated in detail, and distant objects need to be aggregated roughly.

3Dの既存手法では、1つのシーンに対し複数の詳細度のデータを用意し、視点からの距離に応じてデータを使い分ける(視点の近くの集計などでは詳細なデータ、遠くでは粗いデータを用いる)。この方法は多数のデータを用意する必要があるため、オブジェクトの正確さを犠牲にしてデータサイズを減らし、テクスチャによって見た目上の正確さを上げている。しかし集計情報では見た目の正確さではなく、数値的な正確さが要求されるため、この従来手法は用いることができない。   The existing 3D method prepares multiple levels of detail for each scene, and uses the data according to the distance from the viewpoint (uses detailed data for aggregation near the viewpoint, etc., and coarse data for distance). . Since this method requires a large amount of data, the data size is reduced at the expense of the accuracy of the object, and the visual accuracy is increased by the texture. However, since the total information requires numerical accuracy rather than visual accuracy, this conventional method cannot be used.

したがって、様々な詳細度のオブジェクトの集合に対する抽出・集計処理を正確かつ高速に行うことを可能にし、地理情報システムに置いて指定範囲の人口の総和を求めたり、指定範囲の発電システムの総発電量を求めたり、指定した視界の情景を高速に表示したりできることが望まれていた。   Therefore, it is possible to perform extraction and aggregation processing for a set of objects with various levels of detail accurately and at high speed, and find the total population of a specified range in a geographic information system, or the total power generation of a specified generation system It has been desired that the amount can be obtained and the scene of the designated field of view can be displayed at high speed.

特許登録第3267590号Patent registration No. 3267590 特開2011-191430号公報JP 2011-191430 A 特許登録第4171884号Patent registration No.4171884

本発明の実施形態は、空間内において指定された範囲のオブジェクトの情報を高速に取得することを目的とする。   An object of an embodiment of the present invention is to obtain information on an object within a specified range in a space at high speed.

本発明の実施形態としてのデータ管理装置は、第1格納部と、第2格納部と、探索制御部と、枝刈部と、出力部とを備える。   A data management device as an embodiment of the present invention includes a first storage unit, a second storage unit, a search control unit, a pruning unit, and an output unit.

前記第1格納部は、空間に配置された複数のオブジェクトのそれぞれの外包直方体が末端ノードに割り当てられ、上位ノードに前記上位ノードの直下の各下位ノードに割り当てられた外包直方体を包含する外包直方体が割り当てられた、空間探索木を格納する。   The first storage unit includes an outer rectangular parallelepiped including an outer rectangular parallelepiped in which each outer rectangular parallelepiped of a plurality of objects arranged in a space is assigned to a terminal node and an upper node is assigned to each lower node immediately below the upper node. The space search tree to which is assigned is stored.

前記第2格納部は、前記オブジェクトの属性情報を前記末端ノードの属性情報として格納し、前記上位ノードごとに前記上位ノードの下位に存在するすべての末端ノードの属性情報に応じて決定された合算属性情報を格納する。   The second storage unit stores the attribute information of the object as the attribute information of the end node, and the sum total determined according to the attribute information of all the end nodes existing below the upper node for each upper node Stores attribute information.

前記探索制御部は、前記空間内の一部を指定した探索範囲に基づき、前記空間探索木の根ノードから下位ノードに向けて再帰的に探索し、前記探索範囲と重なる外包直方体が割り当てられたノードを検出する。   The search control unit recursively searches from a root node of the spatial search tree toward a lower node based on a search range that specifies a part of the space, and a node to which an outer cuboid that overlaps the search range is assigned. To detect.

前記枝刈部は、前記探索制御部により検出されたノードが、あらかじめ与えられた探索条件を満たさない第1ノードである場合は、前記第1ノードより下位への探索を行わないことを決定する。   The pruning unit determines not to perform a search lower than the first node when the node detected by the search control unit is a first node that does not satisfy a predetermined search condition. .

前記出力部は、前記第1ノードの合算属性情報と、前記探索制御部により検出された末端ノードの属性情報とに基づき、探索結果を出力する。   The output unit outputs a search result based on the combined attribute information of the first node and the attribute information of the terminal node detected by the search control unit.

本発明の実施例に係るデータ管理装置のブロック図。1 is a block diagram of a data management apparatus according to an embodiment of the present invention. 図1の装置に対し、オブジェクトを登録するための処理部を追加したブロック図。The block diagram which added the process part for registering an object with respect to the apparatus of FIG. オブジェクト探索のフローチャート。The flowchart of an object search. 図3のステップS103で行う探索の詳細なフローチャート。FIG. 4 is a detailed flowchart of a search performed in step S103 in FIG. オブジェクトの登録処理のフローチャート。The flowchart of an object registration process. 図5のステップS302で行う探索の詳細なフローチャート。FIG. 6 is a detailed flowchart of the search performed in step S302 of FIG. 15地域の集合を示す。Shows a set of 15 regions. 図7の地域集合に対して生成された空間探索木を示す。FIG. 8 shows a spatial search tree generated for the regional set of FIG. 図7の地域集合に人口1万人の地域Pを追加登録した状態を示す。The state where the region P having a population of 10,000 is additionally registered in the region set of FIG. 7 is shown. 図9の地域集合に対して生成された空間探索木を示す。FIG. 10 shows a spatial search tree generated for the regional set of FIG. 発電プラントの集合を示す。A set of power plants is shown. 図11の発電プラント集合に対して生成された空間探索木を示す。FIG. 12 shows a space search tree generated for the power plant set of FIG. 図11の発電プラント集合に対して生成された空間探索木の別の例を示す図。FIG. 12 is a diagram showing another example of a space search tree generated for the power plant set of FIG. パネルA〜Hの集合を示す。A set of panels A to H is shown. 図14のパネル集合に対して生成された空間探索木を示す。FIG. 15 shows a spatial search tree generated for the panel set of FIG. レンダリング結果を示す。Shows the rendering result.

まず、本発明の実施形態の技術的背景について説明する。   First, the technical background of the embodiment of the present invention will be described.

従来技術における空間索引木の探索では、条件(クエリと呼ぶ)を満たすオブジェクトすべてを列挙していた。クエリの例としては、「指定された範囲とオーバーラップをもつオブジェクトを抽出」、「指定された範囲に含まれるオブジェクトを抽出」、「指定された範囲を完全に含むオブジェクトを抽出」などがある。これは、以下のように実現されていた。   In the search of a spatial index tree in the prior art, all objects that satisfy a condition (called a query) are listed. Examples of queries include "Extract objects that overlap with a specified range", "Extract objects that are included in a specified range", "Extract objects that completely include a specified range", etc. . This was realized as follows.

すなわち、空間探索木のノードごとに記録された最小外包直方体(Minimum Bounded Box; MBB)が、条件で指定された範囲と重複を持たない場合は、その子ノードの探索を枝刈りする(すなわちその子ノードの探索を行わない)が、重複を持つ場合は常に、その子ノードに対して再帰的に探索を行っていた。このため高速さが犠牲になっていた。   That is, if the minimum bounded box (MBB) recorded for each node of the spatial search tree does not overlap with the range specified in the condition, the search for that child node is pruned (that is, its child node). However, whenever there is an overlap, the child node is recursively searched. This has sacrificed high speed.

本発明の実施形態では、ノードごとにあらかじめその下位のすべての末端ノードの属性情報に基づいて合算属性情報を定めておく。ノードごとに記録された最小外包直方体(MBB)が、クエリで指定された範囲と重複を持つ場合、別途指定された探索条件を満たすかどうかを判断する。満たさない場合は探索を打ち切り、そのノードの子ノードの探索は行わない。その代わりに、当該ノードの合算属性情報を、探索を省略した子ノード以下の探索の代替として用いることで、探索の正確さを補う。なお、本実施形態でも、従来技術と同様、クエリで指定された範囲と重複を持たないノードより下位の探索は行わない。   In the embodiment of the present invention, the total attribute information is determined for each node in advance based on the attribute information of all the terminal nodes below it. When the minimum envelope cuboid (MBB) recorded for each node has an overlap with the range specified in the query, it is determined whether or not the search condition specified separately is satisfied. If not satisfied, the search is terminated, and the child node of the node is not searched. Instead, the summation attribute information of the node is used as an alternative to the search below the child nodes from which the search is omitted, thereby supplementing the accuracy of the search. In the present embodiment as well, as in the prior art, the search below the nodes that do not overlap with the range specified by the query is not performed.

以下、図面を参照しながら、本発明の実施例を説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(実施例A)
図1に本発明の実施例に係る3Dデータ管理装置のブロック図を示す。
(Example A)
FIG. 1 is a block diagram of a 3D data management apparatus according to an embodiment of the present invention.

合算属性情報付き空間探索木格納装置106は、手動または自動で構築された合算属性情報付き空間探索木を格納している。空間探索木の末端ノード(葉ノード)にはオブジェクトの最小外包直方体が割り当てられており、末端以外のノードである上位ノードは、その上位ノードに接続されている各下位ノードの最小外方直方体を包含する最小外包直方体が割り当てられている。このような空間探索木は、オブジェクトの最小外包直方体を求め、空間的に距離の近いオブジェクトをまとめて最小外包直方体(MBB)を計算することを繰り返すことで生成できる。なお、最小外包直方体以外の直方体、あるいは直方体以外の形を用いてもよい。
空間探索木のすべてのノードには、属性情報が付与されている。特に、中間または根ノードに付与されている属性情報は、合算属性情報と呼ばれる。合算属性情報付き空間探索木格納装置106のうち、空間探索木本体を格納した部分は第1格納部、各ノードの属性情報を格納した部分は第2格納部に対応する。
The space search tree storage device with combined attribute information 106 stores a space search tree with combined attribute information constructed manually or automatically. The terminal node (leaf node) of the spatial search tree is assigned the smallest outer cuboid of the object, and the upper node, which is a node other than the terminal, specifies the smallest outer cuboid of each lower node connected to the upper node. The smallest enclosing cuboid is assigned. Such a space search tree can be generated by obtaining a minimum outer cuboid of an object and calculating a minimum outer cuboid (MBB) by collecting objects that are spatially close to each other. Note that a rectangular parallelepiped other than the smallest enclosing rectangular parallelepiped or a shape other than the rectangular parallelepiped may be used.
Attribute information is assigned to all nodes in the space search tree. In particular, the attribute information given to the intermediate or root node is called summed attribute information. Of the spatial search tree storage device with combined attribute information 106, the part storing the space search tree main body corresponds to the first storage unit, and the part storing the attribute information of each node corresponds to the second storage unit.

ノード読出部104は、オブジェクト探索制御部102からの指示に基づき、合算属性情報付き空間探索木格納装置106から、空間探索木のノードのデータや、ノードに付与されている属性情報・合算属性情報を読み出す。ノード読出部104は、読み出したデータを、オブジェクト探索制御部102および合算属性情報枝刈部103に送る。   Based on an instruction from the object search control unit 102, the node reading unit 104 receives data of the node of the spatial search tree from the spatial search tree storage device with combined attribute information 106, and attribute information / total attribute information attached to the node. Is read. The node reading unit 104 sends the read data to the object search control unit 102 and the combined attribute information pruning unit 103.

対象範囲・探索条件入力部101は、空間の一部を指定した探索範囲(対象範囲)と、探索条件(対象条件)を入力するための手段である。   The target range / search condition input unit 101 is a means for inputting a search range (target range) designating a part of the space and a search condition (target condition).

オブジェクト探索制御部102は、空間探索木のノードから、対象範囲と重複を持つノードを、探索条件が満たされる限り再帰的に探索する。ノードの葉に到達した場合は、その葉ノード(オブジェクト)に付属するオブジェクトの属性情報を読み出し、これまでの集計結果との合算を行う。合算属性情報枝刈部103が、探索条件が満たされないノード(根ノードまたは中間ノード)に到達されたことを検出したら、そのノードの子ノード以下の探索打ち切りをオブジェクト探索制御部102に指示する。オブジェクト探索制御部102は、当該ノードの合算属性情報をノード読出部104を介して読み出し、これまでの集計結果と合算を行う。以上の探索処理をすべて完了したら、探索結果出力部105が最終的に、集計結果(探索結果)を出力する。   The object search control unit 102 recursively searches a node having an overlap with the target range from the nodes in the space search tree as long as the search condition is satisfied. When the leaf of the node is reached, the attribute information of the object attached to the leaf node (object) is read out and summed up with the total results so far. When the combined attribute information pruning unit 103 detects that a node (root node or intermediate node) that does not satisfy the search condition has been reached, the object search control unit 102 is instructed to terminate the search below the child node of the node. The object search control unit 102 reads the total attribute information of the node via the node reading unit 104, and adds the total count result so far. When all the above search processes are completed, the search result output unit 105 finally outputs the total result (search result).

図2は、図1の装置に対し、オブジェクトを登録するための処理部を追加したブロック図を示す。   FIG. 2 is a block diagram in which a processing unit for registering an object is added to the apparatus of FIG.

オブジェクト入力部201は、登録するオブジェクトの情報を入力する。   The object input unit 201 inputs information on an object to be registered.

オブジェクト登録制御部202は、オブジェクトを登録するための制御を行う。ノード作成・更新部204は、空間探索木の適切な位置に末端ノードを生成・追加し、当該ノードの属性情報を設定することで、従来の空間探索木技術と同じように、オブジェクトを登録する。また、合算属性情報更新部203は、関連するノード(たとえば登録したノードから根ノードまでにある各ノード)の合算属性情報の更新を行う。   The object registration control unit 202 performs control for registering an object. The node creation / update unit 204 creates and adds a terminal node at an appropriate position in the space search tree, and sets the attribute information of the node, thereby registering the object in the same manner as the conventional space search tree technique. . In addition, the total attribute information update unit 203 updates the total attribute information of related nodes (for example, each node from the registered node to the root node).

以下、具体例を用いて、本実施例の動作を説明する。   Hereinafter, the operation of this embodiment will be described using a specific example.

本実施例では、初期状態として、図7に示す15地域が登録された状態を考える。なお各地域は矩形を有し、それ自体が最小外包直方体になっている。各地域(オブジェクト)の属性情報として人口(この例では、すべて1万人)が付与されている。この時、合算属性情報付き空間探索木格納装置は、図8に示すような空間探索木を格納している。   In this embodiment, a state in which 15 regions shown in FIG. 7 are registered is considered as an initial state. Each region has a rectangular shape, which is itself a minimum outer rectangular parallelepiped. Population (all 10,000 people in this example) is given as attribute information of each region (object). At this time, the spatial search tree storage device with combined attribute information stores a spatial search tree as shown in FIG.

なお、ここでは、各ノードは高々4個の子ノードを持つものとしたが、この数は自由に変えてよい。また、末端ノードが、それぞれ地域(すなわちオブジェクト)に対応づけられる。なお、本例ではオブジェクトは2次元を有するが、3次元でも同様にして実施可能である。   Here, each node is assumed to have at most four child nodes, but this number may be freely changed. Each terminal node is associated with a region (that is, an object). In this example, the object has two dimensions, but the same can be implemented in three dimensions.

ここで、図9に示すように、人口1万人の地域Pを追加登録することを考える。このときオブジェクトの登録処理の流れを説明する。登録処理は、図2の右に示した各処理部が行う。図5に本処理のフローチャートを示す。   Here, as shown in FIG. 9, it is considered to additionally register a region P having a population of 10,000. The flow of object registration processing at this time will be described. The registration process is performed by each processing unit shown on the right side of FIG. FIG. 5 shows a flowchart of this process.

まず、登録オブジェクトを入力する(S301)。ここでは名称「地域P」、人口「1万人」というデータを入力する。   First, a registered object is input (S301). Here, the data of the name “Region P” and the population “10,000 people” are input.

次に、ノードを登録する位置を決定する。これは図6に示すサブフローチャートの処理によって行われる。この位置決定は、従来の空間探索木のオブジェクト登録と同じ動作である。すなわち、図8の空間探索木に対して、まず一番上のノードの子ノード4つに対し、地域Pを追加登録したときにノードの最小外包直方体の拡張が最も小さくて済む子ノードを選ぶ(S401)。ここでは最も右のノードが選ばれる。同様の操作を繰り返し、葉ノードの1つ上のノードに至ったら、そのノードを登録ノードとして、図5のフローチャートに戻る。   Next, the position for registering the node is determined. This is performed by the processing of the sub-flowchart shown in FIG. This position determination is the same operation as the object registration of the conventional space search tree. That is, with respect to the spatial search tree of FIG. 8, first, for the four child nodes of the top node, the child node that requires the smallest expansion of the minimum outer cuboid of the node when the region P is additionally registered is selected. (S401). Here, the rightmost node is selected. When the same operation is repeated and the node reaches one node above the leaf node, the node is set as a registered node and the process returns to the flowchart of FIG.

その登録ノードに空きスロットがあるかどうかをみる(S303)。今回は各ノードは4個の子ノードを持つことができ、この登録ノードは現在3個の子ノードしか持たないため、空きスロットはあると見なされる。よって、オブジェクトを、その登録ノードの子ノードとして登録し(S306)、図10に示す空間探索木を得る(ただしこの時点では中間ノードおよび根ノードの合算属性情報は更新されていない)。そして、登録ノードから根ノードに至るまで逆に木を辿っていき、合算属性情報を更新していく(S307)。   It is checked whether there is an empty slot in the registered node (S303). This time, each node can have 4 child nodes, and this registered node currently has only 3 child nodes, so it is considered that there is an empty slot. Therefore, the object is registered as a child node of the registration node (S306), and the spatial search tree shown in FIG. 10 is obtained (however, the combined attribute information of the intermediate node and the root node is not updated at this point). Then, the tree is traced back from the registered node to the root node, and the total attribute information is updated (S307).

本例では合算ルーチンとして、子ノードの属性情報の単純な和を採用する。すなわち、地域M〜Pの人口の総和(4万人)を、登録ノードの合算属性情報として更新する。さらに上のノードに移動し、同様の操作を行い、根ノードの合算属性情報15万人を、16万人に書き換える。以上で登録の動作は完了する。なお、ステップS303で空きスロットがないと判断された場合は、登録ノードを分割して新たなノードを生成し(S304)、新ノードおよび分割ノード、さらにこれらの上位の中間ノードおよび根ノードの合算属性情報を計算する(S305)。   In this example, a simple sum of attribute information of child nodes is adopted as the summation routine. That is, the total population (40,000 people) of the regions M to P is updated as the total attribute information of the registered nodes. Move to the upper node and perform the same operation to rewrite the total attribute information of 150,000 people in the root node to 160,000 people. This completes the registration operation. If it is determined in step S303 that there is no empty slot, the registered node is divided to generate a new node (S304), and the new node and the divided node, and the higher intermediate node and root node are added together. Attribute information is calculated (S305).

ここで、図7で円で示した対象範囲を用いて、この対象範囲に重複を持つ地域の人口の総和を集計処理として求めることを考える。   Here, using the target range indicated by a circle in FIG. 7, let us consider obtaining the sum of populations in an area having an overlap in the target range as an aggregation process.

探索条件は「当該ノードの最小外包直方体が対象範囲に完全には含まれない(一部のみ含まれる)こと」とする。   The search condition is “the minimum outer cuboid of the node is not completely included in the target range (only a part is included)”.

図3にオブジェクト探索のフローチャートを示す。まず、対象範囲と探索条件として上に示した情報を表すデータを入力する(S101、S102)。図10に示す空間探索木を根ノードから探索していく(S103)。   FIG. 3 shows a flowchart of object search. First, data representing the information shown above is input as a target range and a search condition (S101, S102). The space search tree shown in FIG. 10 is searched from the root node (S103).

図4にステップS103で行う探索の詳細なフローチャートを示す。図7から分かるように、根ノードが持つ最小外包直方体(地域Aから地域Pまですべてを含む直方体)は対象範囲に重なり(S201のYES)、根ノードはオブジェクトではない(葉ノードではない)ため(S202の「中間ノード」)、根ノードが探索条件を満たすか判定する(S203)。   FIG. 4 shows a detailed flowchart of the search performed in step S103. As can be seen from FIG. 7, the minimum enveloping cuboid of the root node (the cuboid that includes everything from region A to region P) overlaps the target range (YES in S201), and the root node is not an object (not a leaf node). (“Intermediate node” in S202), it is determined whether the root node satisfies the search condition (S203).

根ノードは明らかに完全には対象範囲に含まれないため、探索条件は満たされるため(S204のYES)、探索は続けられる(S205)。   Since the root node is obviously not completely included in the target range, the search condition is satisfied (YES in S204), and the search continues (S205).

次に、根ノードの子ノードのうち、左端の子ノード(子としてオブジェクトを持つ)に探索を進め、同様の処理を繰り返し(S201〜S205)、末端ノード(オブジェクト)に探索を進める(S202の「オブジェクト」)。地域Aと地域Cは対象範囲と重複を全く持たないため、集計対象ではない。一方、地域Bと地域Dは対象範囲と重複を持つため、集計対象である。よって、ここまでで地域Bと地域Dの人口の和(2万人)を集計情報として取得する(S208、S209)。   Next, the search is advanced to the leftmost child node (having the object as a child) among the child nodes of the root node, the same processing is repeated (S201 to S205), and the search is advanced to the end node (object) (S202). "object"). Region A and region C are not subject to aggregation because they do not overlap with the target range. On the other hand, region B and region D are subject to aggregation because they overlap with the target range. Therefore, the sum of the population of region B and region D (20,000 people) is acquired as total information so far (S208, S209).

根ノードの子ノードのうち、左から2番目の子ノードの探索に移り、このノードは地域E〜Hを完全に包含するか判定する(S201、S202、S203)。地域E〜Hは対象範囲に完全に含まれるため、探索条件は満たされない(S204)。よって、枝刈りが発生する。すなわち、この下の各ノード(地域E〜H)を個々に検査・探索することは行わない。代わりに、このノードが持っている合算属性情報(4万人)を集計対象とする(S206、S207)。現在の集計情報は6万人となる。   It moves to search of the 2nd child node from the left among the child nodes of a root node, and this node determines whether the area | regions E-H are completely included (S201, S202, S203). Since the regions E to H are completely included in the target range, the search condition is not satisfied (S204). Therefore, pruning occurs. That is, the nodes (regions E to H) below this are not individually inspected and searched. Instead, the total attribute information (40,000 people) possessed by this node is counted (S206, S207). The current total information is 60,000.

関連技術では、地域E〜Hを個々に探索し合算することでこの情報(4万人)を得ていたが、本実施例では枝刈りを行うことで、情報の正確さが損なわれずに、処理の高速化が図れていることがわかる。   In the related technology, this information (40,000 people) was obtained by searching and summing the areas E to H individually, but in this example pruning, the accuracy of the information is not impaired, It can be seen that the processing speed can be increased.

さらに根ノードの子ノードのうち左から3つめ、4つめの子ノードは、1つめの子ノードと同様に探索が行われ、地域J、地域M、地域Nが集計対象と判定される。これにより、集計情報は9万人となる。これですべての探索が終了し、全体の集計結果として9万人という計算結果が返される。   Further, the third and fourth child nodes from the left of the root node are searched in the same manner as the first child node, and the regions J, M, and N are determined to be counted. As a result, the total information is 90,000. This completes all searches and returns a total calculation result of 90,000 people.

(実施例B)
本実施例では、指定された範囲内の発電プラントの発電量平均を集計処理として求める場合を示す。
(Example B)
In the present embodiment, a case where an average power generation amount of a power plant within a specified range is obtained as a totaling process is shown.

本実施例の基本的な動作は実施例Aと同様である。異なるのは、合算属性情報が、平均を計算するための情報(総和および個数の組)である点である。   The basic operation of this embodiment is the same as that of the embodiment A. The difference is that the combined attribute information is information (a set of sum and number) for calculating the average.

本実施例、および後述の実施例Cでは、図11に示す発電プラントA〜Hの集合を題材として説明する。   In the present embodiment and later-described embodiment C, a set of power plants A to H shown in FIG. 11 will be described as a theme.

これらを空間探索木として表現したものが図12である。なお、ここでは各ノードの子ノード数の上限として2を設定したが、この値は自由に変更可能である。   These are expressed as a space search tree in FIG. Here, 2 is set as the upper limit of the number of child nodes of each node, but this value can be freely changed.

各ノードは合算属性情報として、そのノード以下に所属する発電プラントの発電量の総和と個数を持っている。これを総和/個数という表記で表している。   Each node has the total sum and the number of power generation amounts of the power plants belonging to the node or lower as the combined attribute information. This is expressed as a sum / number.

ここで、図11に楕円で示した対象範囲を用いて、この範囲と重複を持つ発電プラントの発電量平均を集計する。   Here, using the target range indicated by an ellipse in FIG. 11, the average power generation amount of the power plant having an overlap with this range is totaled.

探索条件としては、実施例Aと同様、「当該ノードの最小外包直方体が対象範囲に完全には含まれないこと」とする。   As in the case of Example A, the search condition is “the minimum outer cuboid of the node is not completely included in the target range”.

根ノードの左側の子ノードは、プラントA〜Dの最小外包直方体を持ち、これは対象範囲に完全に含まれるので、探索条件を満たさない(図4のステップ204のNO)。よって、探索を打ち切り、現在の集計情報は10/4となる(S206、S207)。   The child node on the left side of the root node has the minimum enveloping cuboid of plants A to D, and this is completely included in the target range, and therefore does not satisfy the search condition (NO in step 204 in FIG. 4). Therefore, the search is terminated, and the current total information is 10/4 (S206, S207).

根ノードの右側の子ノードの探索に移る。このノードは探索条件を満たすので(S204のYES)、さらに子ノードを探索していく。11/2の属性情報を持つ子ノードは、プラントE、Fの最小外包直方体を持ち、これは対象範囲と全く重なりを持たないので、集計対象とならない。   Move on to search for a child node on the right side of the root node. Since this node satisfies the search condition (YES in S204), further child nodes are searched. A child node having attribute information of 11/2 has a minimum enclosing rectangular parallelepiped of plants E and F, and does not overlap at all with the target range, so it is not subject to aggregation.

次に、15/2の属性情報を持つ子ノードは、プラントG、Hの最小外包直方体を持ち、これは対象範囲と重なりを持つが、探索条件も満たすので(S204のYES)、さらに子ノードを探索する。   Next, the child node having attribute information of 15/2 has the minimum outer cuboid of plants G and H, which overlaps the target range, but also satisfies the search condition (YES in S204), and further child nodes Explore.

プラントGは集計対象であるので、プラントGの属性情報として7/1を集計結果に加え、現在の集計情報は17/5となる(S202の「オブジェクト」、S208、S209)。プラントHは対象範囲と重なりを持たず、集計対象ではない。   Since the plant G is an aggregation target, 7/1 is added as the attribute information of the plant G to the aggregation result, and the current aggregation information is 17/5 (“object” in S202, S208, S209). Plant H does not overlap with the target range and is not a target for aggregation.

なお、対象範囲と少しでも重なりのあるオブジェクト(プラント)を集計対象にしているが、対象範囲に完全に包含されるオブジェクトのみ集計対象にすることも可能である。   Note that although objects (plants) that overlap with the target range even a little are targeted for aggregation, it is also possible to include only objects that are completely included in the target range.

以上で全ての集計がおわり、集計情報は17/5となる。この総和をこの個数で除算し、約3.4という平均を集計結果として出力する。   With the above, all the aggregations are over, and the aggregation information is 17/5. Divide this sum by this number and output an average of about 3.4 as the aggregated result.

(実施例C)
本実施例では、指定された範囲内の発電プラントのうち、発電量の多い上位3プラントを集計処理として求める場合を示す。
(Example C)
In the present embodiment, a case is shown in which the top three plants with the largest amount of power generation among the power generation plants within the specified range are obtained as the aggregation process.

本実施例の基本的な動作は、実施例Bと同様である。異なるのは、合算属性情報が、上位3件の発電プラントの名称(識別情報)である点である。   The basic operation of this embodiment is the same as that of the embodiment B. The difference is that the combined attribute information is the names (identification information) of the top three power plants.

実施例Bと同様、図11に示す発電プラントA〜Hの集合を題材として説明する。これらを空間探索木として表現したものが図13である。なお、ここでは各ノードの子ノード数の上限として2を設定したが、この値は自由に変更可能である。   Similar to Example B, a set of power plants A to H shown in FIG. These are expressed as a space search tree in FIG. Here, 2 is set as the upper limit of the number of child nodes of each node, but this value can be freely changed.

根ノードおよび各中間ノードは合算属性情報として、そのノード以下に所属する発電プラントのうち、発電量の多い上位3プラントの名称を持っている。そのノード以下に所属する発電プラントが3件に満たない場合は、全てのプラントを発電量の多い順に持っている。   The root node and each intermediate node have the names of the top three plants with the largest amount of power generation among the power generation plants belonging to the node or lower as the combined attribute information. If there are fewer than three power plants belonging to the node or lower, all plants are in descending order of power generation.

ここで、図11に楕円で示した対象範囲を用いて、この範囲と重複を持つ発電プラントのうち、発電量の多い上位3プラントを集計する。   Here, using the target range indicated by an ellipse in FIG. 11, among the power generation plants having an overlap with this range, the top three plants with the largest power generation amount are aggregated.

探索条件としては、実施例Aと同様、「当該ノードの最小外包直方体が対象範囲に完全には含まれないこと」とする。   As in the case of Example A, the search condition is “the minimum outer cuboid of the node is not completely included in the target range”.

根ノードの左側の子ノードは、プラントA〜Dの最小外包直方体を持ち、これは対象範囲に完全に含まれるので、探索条件を満たさない(図4のステップ204のNO)。よって探索を打ち切り、現在の集計情報はD,C,Bとなる(S206、S207)。   The child node on the left side of the root node has the minimum enveloping cuboid of plants A to D, and this is completely included in the target range, and therefore does not satisfy the search condition (NO in step 204 in FIG. 4). Therefore, the search is terminated, and the current total information becomes D, C, and B (S206, S207).

根ノードの右側の子ノードの探索に移る。このノードは探索条件を満たすので(S204のYES)、さらに子ノードを探索していく。F,Eの属性情報を持つ子ノードは、プラントE、Fの最小外包直方体を持ち、これは対象範囲と全く重なりを持たないので、集計対象とならない。   Move on to search for a child node on the right side of the root node. Since this node satisfies the search condition (YES in S204), further child nodes are searched. The child node having the attribute information of F and E has the minimum enclosing rectangular parallelepiped of plants E and F, and does not overlap at all with the target range, so that it is not an aggregation target.

次にH,Gの属性情報を持つ子ノードは、プラントG、Hの最小外包直方体を持ち、これは対象範囲と重なりを持つが探索条件も満たすので(S204のYES)、さらに子ノードを探索する。   Next, the child node having attribute information of H and G has the minimum outer cuboid of plants G and H, which overlaps the target range but satisfies the search condition (YES in S204), and further searches for child nodes. To do.

プラントGは集計対象であるので、プラントGの属性情報としてGを集計結果に加える(S202の「オブジェクト」、S208、S209)。この時、発電量の多い上位3プラントのみを保持し、4位以下になったプラント名は捨てる。具体的な方法としては、単純な比較、件数が多い場合はマージソートがふさわしい。これにより、現在の集計情報はG,D,Cとなる。プラントHは対象範囲と重なりを持たず、集計対象ではない。   Since the plant G is an aggregation target, G is added to the aggregation result as attribute information of the plant G (“object” in S202, S208, S209). At this time, only the top 3 plants with the largest amount of power generation are retained, and the names of plants that are 4th or lower are discarded. As a specific method, simple comparison and merge sort are appropriate when the number of cases is large. As a result, the current total information becomes G, D, and C. Plant H does not overlap with the target range and is not a target for aggregation.

以上で全ての集計が終わり、集計情報はG,D,Cとなる。   With the above, all tabulation is completed, and tabulation information is G, D, and C.

(実施例D)
最後に、実施例Dでは、3D空間上に配置されたパネルの集合をレンダリングして画像表示する場合を示す。なおこのパネルの実体としては、太陽光発電のパネルを想定しているが、これに限らない。
(Example D)
Finally, Example D shows a case where a set of panels arranged in 3D space is rendered and displayed as an image. In addition, although the panel of photovoltaic power generation is assumed as an entity of this panel, it is not restricted to this.

図14に示すパネルA〜Hの集合を題材として説明する。パネルA〜Hは3次元の形状を有するが、図14では簡単のため、2次元の最小外包直方体により表示している。パネルAのみが赤く(RGBで#FF0000)、他のパネルは青い(RGBで#0000FF)。   A set of panels A to H shown in FIG. 14 will be described as a theme. Although the panels A to H have a three-dimensional shape, they are displayed in a two-dimensional minimum outer rectangular parallelepiped in FIG. 14 for simplicity. Only panel A is red (# FF0000 for RGB) and other panels are blue (# 0000FF for RGB).

これらを空間探索木として表現したものが図15である。根ノードおよび各中間ノードには、その子ノードの色の平均色が合算属性情報として記録されている。例えば、パネルA(#FF0000)とパネルB(#0000FF)の平均色は#7F007Fである。   These are represented as a space search tree in FIG. In the root node and each intermediate node, the average color of the child nodes is recorded as the total attribute information. For example, the average color of panel A (# FF0000) and panel B (# 0000FF) is # 7F007F.

なお、ここでは各ノードの子ノード数の上限として2を設定したが、この値は自由に変更可能である。   Here, 2 is set as the upper limit of the number of child nodes of each node, but this value can be freely changed.

以上のパネルの集合を、図14に示すカメラの方向から、レンダリングを行う。このカメラの視界が対象範囲である。   The above set of panels is rendered from the camera direction shown in FIG. The field of view of this camera is the target range.

探索条件としては、「ノードの最小外包直方体が、画面にレンダリングした時に最小画素単位に収まる大きさにならない」である。最小画素単位は一例であり、より一般的に、「ノードの最小外包直方体が、画面にレンダリングした時に所定サイズの画素領域単位に収まる大きさにならない」としてもよい。   The search condition is “the minimum outer cuboid of the node does not have a size that fits in the minimum pixel unit when rendered on the screen”. The minimum pixel unit is an example, and more generally, “the minimum outer cuboid of a node does not have a size that can be accommodated in a pixel area unit of a predetermined size when rendered on the screen”.

図15に示す空間探索木を根ノードから探索し、発見されたオブジェクト(またはノード)をレンダリング対象とする。具体的なレンダリング方法は、CPUを用いる方法や、GPUを用いる方法など様々な方法が考えられる。   The spatial search tree shown in FIG. 15 is searched from the root node, and the found object (or node) is set as a rendering target. As a specific rendering method, various methods such as a method using a CPU and a method using a GPU can be considered.

まず、根ノードの子ノードのうち左側のノード(合算属性情報として#3F00BEを持つもの)が探索条件を満たすか検査する(S203)。ここでは探索条件を満たす(図4のS204のYES)とする。   First, it is checked whether the left node (having # 3F00BE as total attribute information) among the child nodes of the root node satisfies the search condition (S203). Here, the search condition is satisfied (YES in S204 of FIG. 4).

次に、さらに子ノード(合算属性情報として#7F007Fを持つもの)が探索条件を満たすか検査する(S203)。ここでは探索条件を満たさないものとする(S204のNO)。枝刈りが発生し、パネルA、Bを個々にレンダリングすることは行わず、代わりに当該ノードの最小外包直方体を、合算属性情報として記録された色を用いて、画面にレンダリングする(S206、S207)。   Next, it is further checked whether the child node (having # 7F007F as the total attribute information) satisfies the search condition (S203). Here, it is assumed that the search condition is not satisfied (NO in S204). Pruning occurs and panels A and B are not rendered individually, but instead the minimum outer cuboid of the node is rendered on the screen using the color recorded as the combined attribute information (S206, S207). ).

本来はパネルA、Bを個別に描画するはずなので、正確でないレンダリングとなるが、このノードが探索条件を満たさなかったことから、パネルA、Bを正しく描画していたとしても最小画素単位に重ねてレンダリングすることになるため、生成される画像に大きな変化は発生しない。   Originally, panels A and B should be drawn individually, so rendering will be inaccurate, but this node does not satisfy the search conditions, so even if panels A and B are drawn correctly, they will overlap in the minimum pixel unit. Therefore, a large change does not occur in the generated image.

さらに他のノード・オブジェクトをレンダリングしていく。他のオブジェクトの探索条件の判定では、すべて探索条件が満たされたとする(S204のYES)。   Render other node objects. In the determination of the search conditions for other objects, it is assumed that the search conditions are all satisfied (YES in S204).

以上により、集計情報として図16に示すレンダリング結果が得られる。パネルA、Bが最小画素単位としてつぶれて表示されていることに注意せよ。このように、レンダリング結果の大勢に影響がないパネルの詳細な描画を省くことができるため、レンダリングが高速に行える。   Thus, the rendering result shown in FIG. 16 is obtained as the total information. Note that panels A and B are collapsed and displayed as the smallest pixel unit. In this way, detailed drawing of the panel that does not affect many of the rendering results can be omitted, so that rendering can be performed at high speed.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

Claims (14)

空間に配置された複数のオブジェクトのそれぞれの外包直方体が末端ノードに割り当てられ、上位ノードに前記上位ノードの直下の各下位ノードに割り当てられた外包直方体を包含する外包直方体が割り当てられた、空間探索木を格納するための第1格納部と、
前記オブジェクトの属性情報を前記末端ノードの属性情報として格納し、前記上位ノードごとに前記上位ノードの下位に存在するすべての末端ノードの属性情報に応じて決定された合算属性情報を格納するための第2格納部と、
前記空間内の一部を指定した探索範囲に基づき、前記空間探索木の根ノードから下位ノードに向けて再帰的に探索し、前記探索範囲と重なる外包直方体が割り当てられたノードを探索する探索制御部と、
前記探索制御部により検出されたノードが、あらかじめ与えられた探索条件を満たさない第1ノードである場合は、前記第1ノードより下位への探索を行わないことを決定する枝刈部と、
前記第1ノードの合算属性情報と、前記探索制御部により検出された末端ノードの属性情報とに基づき、探索結果を出力する出力部と、
を備えたデータ管理装置。
Spatial search in which each enveloping cuboid of a plurality of objects arranged in space is assigned to a terminal node, and an enclosing cuboid including an enclosing cuboid assigned to each lower node immediately below the upper node is assigned to an upper node. A first storage for storing the tree;
Storing the attribute information of the object as attribute information of the end node, and storing the sum attribute information determined according to the attribute information of all the end nodes existing below the upper node for each upper node A second storage unit;
A search control unit that recursively searches from a root node of the spatial search tree toward a lower node based on a search range that specifies a part of the space, and searches for a node to which an outer rectangular parallelepiped overlapping the search range is assigned; ,
When the node detected by the search control unit is a first node that does not satisfy a predetermined search condition, a pruning unit that determines not to perform a search lower than the first node;
Based on the summation attribute information of the first node and the attribute information of the terminal node detected by the search control unit, an output unit that outputs a search result;
A data management device.
前記上位ノードの合算属性情報は、前記上位ノードの下位に存在するすべての末端ノードの属性情報の加算を含む
請求項1に記載のデータ管理装置。
2. The data management apparatus according to claim 1, wherein the combined attribute information of the upper node includes addition of attribute information of all terminal nodes existing under the upper node.
前記出力部は、前記第1ノードの合算属性情報と、前記探索制御部により検出された末端ノードの属性情報の総和を計算し、総和値を前記探索結果として出力する
請求項2に記載のデータ管理装置。
3. The data according to claim 2, wherein the output unit calculates a sum of the attribute information of the first node and the attribute information of the terminal node detected by the search control unit, and outputs a sum value as the search result. Management device.
前記上位ノードの合算属性情報は、前記上位ノードの下位に存在するすべての末端ノードの属性情報の加算と、前記上位ノードの下位に存在するすべての末端ノードの総数を含む
請求項1に記載のデータ管理装置。
The combined attribute information of the upper node includes an addition of attribute information of all terminal nodes existing under the upper node and a total number of all terminal nodes existing under the upper node. Data management device.
前記出力部は、前記第1ノードの下位に存在するすべての末端ノードと前記探索制御部により検出された末端ノードの属性情報の平均を計算し、前記平均を前記探索結果として出力する
請求項4に記載のデータ管理装置。
5. The output unit calculates an average of attribute information of all end nodes existing under the first node and end nodes detected by the search control unit, and outputs the average as the search result. The data management device described in 1.
前記上位ノードの合算属性情報は、前記上位ノードの下位に存在するすべての末端ノードのうち、前記末端ノードの属性情報に応じて選択されたN個の末端ノードに対応するオブジェクトの識別情報を含む
請求項1に記載のデータ管理装置。
The combined attribute information of the upper node includes identification information of objects corresponding to N terminal nodes selected according to the attribute information of the terminal node among all the terminal nodes existing under the upper node. The data management device according to claim 1.
前記出力部は、前記第1ノードの合算属性情報と、前記探索制御部により検出された末端ノードの属性情報に基づき、N個のオブジェクトを選択し、選択したオブジェクトの識別情報を前記探索結果として出力する
請求項6に記載のデータ管理装置。
The output unit selects N objects based on the combined attribute information of the first node and the attribute information of the end node detected by the search control unit, and the identification information of the selected object is used as the search result. The data management device according to claim 6, wherein the data management device is output.
前記上位ノードの合算属性情報は、前記上位ノードの下位に存在するすべての末端ノードの属性情報の平均を含む
請求項1に記載のデータ管理装置。
2. The data management apparatus according to claim 1, wherein the combined attribute information of the upper node includes an average of attribute information of all terminal nodes existing below the upper node.
前記あらかじめ与えられた探索条件は、前記探索により検出されたノードに割り当てられた外包直方体が前記探索範囲に完全には含まれないことである
請求項1ないし8のいずれか一項に記載のデータ管理装置。
The data according to any one of claims 1 to 8, wherein the search condition given in advance is that an outer rectangular parallelepiped assigned to a node detected by the search is not completely included in the search range. Management device.
前記属性情報は色を表し、
前記出力部は、前記第1ノードの最小外包体を前記第1ノードの合算属性情報の色で描画し、前記探索制御部により検出された末端ノードの外包直方体またはオブジェクトを、前記末端ノードの属性情報の色で描画したレンダリングデータを、前記探索結果として出力する
請求項8に記載のデータ管理装置。
The attribute information represents a color,
The output unit draws the minimum outer envelope of the first node in the color of the combined attribute information of the first node, and the outer rectangular parallelepiped or object of the end node detected by the search control unit is the attribute of the end node 9. The data management apparatus according to claim 8, wherein rendering data drawn with information colors is output as the search result.
前記あらかじめ与えられた探索条件は、前記探索により検出されたノードの最小外包直方体が、画面にレンダリングした時に所定サイズの画素領域単位に収まらないことである
請求項10に記載のデータ管理装置。
11. The data management apparatus according to claim 10, wherein the search condition given in advance is that a minimum outer cuboid of a node detected by the search does not fit in a pixel area unit of a predetermined size when rendered on a screen.
登録するオブジェクトの情報を入力するオブジェクト入力部と、
前記オブジェクトの外包直方体を生成し、前記外包直方体を割り当てた末端ノードを前記空間探索木に追加するオブジェクト登録制御部と、
追加した末端ノードの直上の上位ノードから前記根ノードに至るまでの各ノードの合算属性情報を、前記登録するオブジェクトの属性情報に基づいて更新する更新部と
を備えた請求項1ないし11のいずれか一項に記載のデータ管理装置。
An object input section for inputting information of an object to be registered;
An object registration control unit that generates an outer cuboid of the object and adds a terminal node to which the outer cuboid is assigned to the spatial search tree;
12. An update unit that updates the total attribute information of each node from the upper node immediately above the added end node to the root node based on the attribute information of the object to be registered. The data management device according to claim 1.
空間に配置された複数のオブジェクトのそれぞれの外包直方体が末端ノードに割り当てられ、上位ノードに前記上位ノードの直下の各下位ノードに割り当てられた外包直方体を包含する外包直方体が割り当てられた、空間探索木を格納する第1格納部からデータを読み出すステップと、
前記末端ノードの属性情報として前記オブジェクトの属性情報を格納し、前記上位ノードごとに前記上位ノードの下位に存在するすべての末端ノードの属性情報に応じて決定された合算属性情報を格納する第2格納部からデータを読み出すステップと、
前記空間内の一部を指定した探索範囲に基づき、前記空間探索木の根ノードから下位ノードに向けて再帰的に探索し、前記探索範囲と重なる外包直方体が割り当てられたノードを探索する探索制御ステップと、
前記探索制御ステップにより検出されたノードが、あらかじめ与えられた探索条件を満たさない第1ノードである場合は、前記第1ノードより下位への探索を行わないことを決定する枝刈ステップと、
前記第1ノードの合算属性情報と、前記探索制御ステップにより検出された末端ノードの属性情報とに基づき、探索結果を出力する出力ステップと、
を備えたデータ管理方法。
Spatial search in which each enveloping cuboid of a plurality of objects arranged in space is assigned to a terminal node, and an enclosing cuboid including an enclosing cuboid assigned to each lower node immediately below the upper node is assigned to an upper node. Reading data from a first storage for storing the tree;
Storing the attribute information of the object as the attribute information of the end node, and storing the sum attribute information determined according to the attribute information of all the end nodes existing below the upper node for each upper node Reading data from the storage unit;
A search control step for recursively searching from a root node of the spatial search tree toward a lower node based on a search range that specifies a part of the space, and searching for a node to which an outer rectangular parallelepiped overlapping the search range is assigned; ,
When the node detected by the search control step is the first node that does not satisfy the search condition given in advance, a pruning step for determining not to search lower than the first node;
Based on the combined attribute information of the first node and the attribute information of the terminal node detected by the search control step, an output step of outputting a search result;
Data management method with
空間に配置された複数のオブジェクトのそれぞれの外包直方体が末端ノードに割り当てられ、上位ノードに前記上位ノードの直下の各下位ノードに割り当てられた外包直方体を包含する外包直方体が割り当てられた、空間探索木を格納する第1格納部からデータを読み出すステップと、
前記末端ノードの属性情報として前記オブジェクトの属性情報を格納し、前記上位ノードごとに前記上位ノードの下位に存在するすべての末端ノードの属性情報に応じて決定された合算属性情報を格納する第2格納部からデータを読み出すステップと、
前記空間内の一部を指定した探索範囲に基づき、前記空間探索木の根ノードから下位ノードに向けて再帰的に探索し、前記探索範囲と重なる外包直方体が割り当てられたノードを探索する探索制御ステップと、
前記探索制御ステップにより検出されたノードが、あらかじめ与えられた探索条件を満たさない第1ノードである場合は、前記第1ノードより下位への探索を行わないことを決定する枝刈ステップと、
前記第1ノードの合算属性情報と、前記探索制御ステップにより検出された末端ノードの属性情報とに基づき、探索結果を出力する出力ステップと、
をコンピュータに実行させるためのプログラム。
Spatial search in which each enveloping cuboid of a plurality of objects arranged in space is assigned to a terminal node, and an enclosing cuboid including an enclosing cuboid assigned to each lower node immediately below the upper node is assigned to an upper node. Reading data from a first storage for storing the tree;
Storing the attribute information of the object as the attribute information of the end node, and storing the sum attribute information determined according to the attribute information of all the end nodes existing below the upper node for each upper node Reading data from the storage unit;
A search control step for recursively searching from a root node of the spatial search tree toward a lower node based on a search range that specifies a part of the space, and searching for a node to which an outer rectangular parallelepiped overlapping the search range is assigned; ,
When the node detected by the search control step is the first node that does not satisfy the search condition given in advance, a pruning step for determining not to search lower than the first node;
Based on the combined attribute information of the first node and the attribute information of the terminal node detected by the search control step, an output step of outputting a search result;
A program that causes a computer to execute.
JP2013057048A 2013-03-19 2013-03-19 Data management apparatus and method, and program Active JP5997636B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013057048A JP5997636B2 (en) 2013-03-19 2013-03-19 Data management apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013057048A JP5997636B2 (en) 2013-03-19 2013-03-19 Data management apparatus and method, and program

Publications (2)

Publication Number Publication Date
JP2014182624A true JP2014182624A (en) 2014-09-29
JP5997636B2 JP5997636B2 (en) 2016-09-28

Family

ID=51701271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013057048A Active JP5997636B2 (en) 2013-03-19 2013-03-19 Data management apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP5997636B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888391A (en) * 2019-12-12 2020-03-17 中启能科技有限公司 Method and device for carrying out intelligent logic analysis control on cold station machine room

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002334199A (en) * 2001-05-11 2002-11-22 Nri & Ncc Co Ltd System for automatically setting trading area
WO2011039820A1 (en) * 2009-10-01 2011-04-07 株式会社 東芝 Information processing apparatus and information processing method
US20120047179A1 (en) * 2010-08-19 2012-02-23 International Business Machines Corporation Systems and methods for standardization and de-duplication of addresses using taxonomy

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002334199A (en) * 2001-05-11 2002-11-22 Nri & Ncc Co Ltd System for automatically setting trading area
WO2011039820A1 (en) * 2009-10-01 2011-04-07 株式会社 東芝 Information processing apparatus and information processing method
US20120047179A1 (en) * 2010-08-19 2012-02-23 International Business Machines Corporation Systems and methods for standardization and de-duplication of addresses using taxonomy

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888391A (en) * 2019-12-12 2020-03-17 中启能科技有限公司 Method and device for carrying out intelligent logic analysis control on cold station machine room

Also Published As

Publication number Publication date
JP5997636B2 (en) 2016-09-28

Similar Documents

Publication Publication Date Title
US10688394B2 (en) Three-dimensional point-in-polygon operation to facilitate visualizing a 3D structure surrounding a data point
US11042572B2 (en) System and method for spatial clustering using multiple-resolution grids
Liqiang et al. A spatial cognition-based urban building clustering approach and its applications
CN108604379A (en) System and method for determining the region in image
US9551579B1 (en) Automatic connection of images using visual features
US10019821B2 (en) Apparatus and method for constructing indoor map using cloud point
EP2991037A1 (en) Method of generating three-dimensional scene model
JP6080640B2 (en) 3D point cloud analysis method
JP2015132539A (en) Sunshine quantity calculating apparatus, route proposing apparatus, and sunshine quantity calculating method
US20130212107A1 (en) Information processing apparatus and control method thereof
WO2020114273A1 (en) Business searching method and apparatus, electronic device, and storage medium
JP5997636B2 (en) Data management apparatus and method, and program
JP5560925B2 (en) 3D shape search device, 3D shape search method, and program
CN114791800A (en) White-model building edge tracing method and device, computer equipment and storage medium
US11537622B2 (en) K-nearest neighbour spatial queries on a spatial database
CN112052489B (en) Method and system for generating house type graph
JP6324175B2 (en) Map information display system and method, program
Xiao et al. Building footprint extraction based on radiometric and geometric constraints in airborne oblique images
Błaszczak-Bąk et al. High performance filtering for big datasets from Airborne Laser Scanning with CUDA technology
Kim et al. A flexible framework for covering and partitioning problems in indoor spaces
JP2004070861A (en) House floor plan retrieval program and house floor plan retrieval device
Wang et al. A parallel method for texture reconstruction in large-scale 3D automatic modeling based on oblique photography
JP5513033B2 (en) Information processing apparatus, information processing method, and program
JP5152581B2 (en) Image data processing apparatus and method, program, and recording medium
Sümer et al. Automatic near-photorealistic 3-D modelling and texture mapping for rectilinear buildings

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160722

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: 20160729

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160826

R151 Written notification of patent or utility model registration

Ref document number: 5997636

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151