JP2012256120A - Information processing device and method, and program - Google Patents

Information processing device and method, and program Download PDF

Info

Publication number
JP2012256120A
JP2012256120A JP2011127656A JP2011127656A JP2012256120A JP 2012256120 A JP2012256120 A JP 2012256120A JP 2011127656 A JP2011127656 A JP 2011127656A JP 2011127656 A JP2011127656 A JP 2011127656A JP 2012256120 A JP2012256120 A JP 2012256120A
Authority
JP
Japan
Prior art keywords
meshes
mesh
point
search
interest
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.)
Withdrawn
Application number
JP2011127656A
Other languages
Japanese (ja)
Inventor
Eiichiro Toshima
英一朗 戸島
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011127656A priority Critical patent/JP2012256120A/en
Publication of JP2012256120A publication Critical patent/JP2012256120A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Instructional Devices (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technology to reduce a processing load in searching geographical information.SOLUTION: An information processing device comprises: map data preservation means; interest position acquisition means that acquires the geographic code of a position of interest indicating a position to be searched in map data; candidate acquisition means that acquires, as candidates of search results, one or a plurality of meshes having the character string of a geographical code according with that of a geographical code of a position of interest in a mesh group covering an area to be searched that indicates a range searched in map data; exclusion means that determines whether meshes, not completely included in the area to be searched, in one or a plurality of meshes acquired as candidates of search results include the position of interest, and that excludes one or a plurality of meshes that do not include the position of interest from the mesh group; and output means that outputs one or a plurality of meshes as search results after the exclusion job on search results is performed.

Description

本発明は、情報処理装置、その処理方法及びプログラムに関する。   The present invention relates to an information processing apparatus, a processing method thereof, and a program.

近年、ストレージや記録メディアの大容量化が進み、比較的小規模な機器においても、大量に蓄積されたデータが扱われており、検索機能が必須となりつつある。   In recent years, storage and recording media have been increased in capacity, and even a relatively small device handles a large amount of accumulated data, and a search function is becoming essential.

例えば、カメラにおいて撮影写真等が格納されるフラッシュメディアでは、現在、容量64GBのSDXC規格のカードが市販されており、1枚1MBの写真が6万枚以上格納されることになる。SDXCの規格上は2TBまで拡張可能である。   For example, in flash media in which photographed photos and the like are stored in a camera, an SDXC standard card having a capacity of 64 GB is currently on the market, and 60,000 or more photos of 1 MB each are stored. The SDXC standard can be expanded up to 2 TB.

大量の写真から目的の写真を取得するには、従来のような撮影順の閲覧機能だけでは不十分であり、様々な観点から写真を検索できることが必要となる。その検索の方法の1つとしてメタデータ検索がある。例えば、写真に撮影場所の住所やランドマークのメタデータが付与されていれば、住所やランドマークの情報から写真を検索できる。そのためには、写真にメタデータを付与する機能が必要となる。   In order to obtain a target photograph from a large number of photographs, the conventional browsing function in the order of photographing is not sufficient, and it is necessary to be able to retrieve photographs from various viewpoints. One of the search methods is metadata search. For example, if a photo address and landmark metadata are assigned to the photo, the photo can be searched from the address and landmark information. For this purpose, a function for adding metadata to a photograph is required.

近年、カメラにGPS機能が搭載されるようになってきており、撮影場所の緯度・経度が分かる地理情報を写真に付与できるようになってきている。住所やランドマークの示す地理領域の辞書をカメラに内蔵し、緯度・経度情報に基づいて撮影地点を内包する地理領域を検索する地理情報検索が必要となってきている。   In recent years, a GPS function has been installed in a camera, and it has become possible to give a photograph geographic information that can be used to identify the latitude and longitude of a shooting location. There is a need for a geographic information search in which a dictionary of geographic areas indicated by addresses and landmarks is built in the camera, and a geographic area including a shooting point is searched based on latitude / longitude information.

地理情報検索には、指定した範囲内に内包される地点のデータを検索する範囲指定検索、指定した位置に空間的に近い地点のデータを近い順にk個検索するk最近傍検索などがある。   The geographic information search includes a range specification search for searching for data of points included in a specified range, a k nearest neighbor search for searching k pieces of data of points that are spatially close to a specified position in ascending order.

範囲指定検索は、従来から多くの実現方法が存在している。有名な方法としては、R−treeがある。R−treeは、空間的に近傍にある領域を複数まとめて最小外接矩形(MBR:Minimum Bounding Rectangle)を求め、それをインデクスに保持することによって高速に検索を行なう方法である。領域のまとまりが多数あれば、それらを更に複数まとめたまとまりを作って、インデクスを階層化していく。   There are many methods for realizing range-designated search. A famous method is R-tree. R-tree is a method of performing a high-speed search by collecting a plurality of spatially neighboring regions to obtain a minimum bounding rectangle (MBR) and holding it in an index. If there are many groups of areas, create a group of more than one to make the index hierarchical.

また、k最近傍検索も多くの実現方法が存在している。特許文献1には、指定された地点から近傍する所定数の地点を検索する技術について言及されている。より具体的には、指定地点を含む小領域及びその小領域と隣接する小領域を検索対象小領域群として当該小領域群に含まれる地点と指定地点との距離を一つずつ計算し、最も近い地点から所定数の検索結果を得る。   There are also many ways to realize k nearest neighbor search. Patent Document 1 mentions a technique for searching for a predetermined number of points near a designated point. More specifically, the distance between the point included in the small area group and the specified point is calculated one by one with the small area including the specified point and the small area adjacent to the small area as the search target small area group, A predetermined number of search results are obtained from nearby points.

その他、緯度・経度座標を文字列に符号化する方法も提案されている(特許文献2参照)。この手法では、緯度・経度の座標値(浮動小数点数)から整数、整数から文字列、緯度と経度との両方からそれぞれ変換された文字列を連接して符号化している。また、別の提案では、整数化された緯度及び経度の情報を1ビットずつ交互に組み合わせて文字列に符号化する方式や、この符号化方式を利用して指定領域内にある地点を検索する方法も提案されている。   In addition, a method of encoding latitude / longitude coordinates into a character string has been proposed (see Patent Document 2). In this method, an integer is converted from a coordinate value (floating point number) of latitude / longitude, a character string is converted from an integer, and a character string converted from both latitude and longitude is connected and encoded. In another proposal, a method of encoding integer numbers of latitude and longitude information alternately by one bit at a time and encoding it into a character string, or using this encoding method to search for a point in a specified area A method has also been proposed.

特開2003−242151号公報JP 2003-242151 A 米国特許出願公開第2005/0023524号US Patent Application Publication No. 2005/0023524

R−tree方式は、文字列検索用のインデクスとは異なる専用のインデクス機構を保持し制御する方式であり、特に、処理能力の低い装置(例えば、組み込み機器)にとっては処理負担が大きくなってしまう。   The R-tree method is a method for holding and controlling a dedicated index mechanism that is different from an index for character string search. In particular, a processing load increases for a device having a low processing capability (for example, an embedded device). .

また、特許文献1に開示された手法では、指定地点に近い地点を検索することしかできない、そのため、住所やランドマークを付与するような、指定地点が不定形の領域に内包されている地点の検索を行なうことはできない。   In addition, the method disclosed in Patent Document 1 can only search for a point close to the designated point. Therefore, a point where the designated point is included in an indefinite area such as an address or a landmark is added. You can't search.

本発明は、上記課題に鑑みてなされたものであり、地理情報検索を行なう際の処理負荷を軽減するようにした技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique that reduces the processing load when performing geographic information search.

上記課題を解決するため、本発明の一態様による情報処理装置は、地表が階層的にメッシュで区分されるとともに、該メッシュ各々の位置を示す地理コードが文字列で表現され、上位メッシュを表現する地理コードに文字を追加することで下位メッシュの地理コードを示す地理コード体系を有する地図データを保持する保持手段と、前記地図データ上で検索対象となる地点を示す着目地点の地理コードを取得する着目地点取得手段と、前記地図データ上で検索を行なう範囲を示す検索対象領域を覆うメッシュ群のうち、前記着目地点を示す地理コードの文字列と一致する地理コードの文字列を有する1又は複数のメッシュを検索結果の候補として取得する候補取得手段と、前記検索結果の候補として取得された1又は複数のメッシュのうち、前記検索対象領域に完全に内包されていないメッシュに対して前記着目地点を内包しているか否かを判定し、当該着目地点が内包されていない1又は複数のメッシュを前記メッシュ群から除外する除外手段と、前記検索結果の候補から前記除外が行なわれた後の1又は複数のメッシュを検索結果として出力する出力手段とを具備する。   In order to solve the above-described problem, an information processing apparatus according to an aspect of the present invention expresses a high-order mesh in which a ground surface is hierarchically divided into meshes, and a geographical code indicating a position of each mesh is represented by a character string. A holding means for holding map data having a geographic code system indicating a geographic code of a lower mesh by adding characters to the geographic code to be acquired, and a geographic code of a point of interest indicating a point to be searched on the map data are acquired 1 having a character string of a geographic code that matches a character string of a geographic code indicating the point of interest, out of a mesh group covering a search target area indicating a range to be searched on the map data Among candidate acquisition means for acquiring a plurality of meshes as search result candidates, and one or a plurality of meshes acquired as search result candidates, Exclusion that determines whether or not the point of interest is included in a mesh that is not completely included in the search target region, and excludes one or more meshes that do not include the point of interest from the mesh group Means and output means for outputting one or more meshes after the exclusion from the search result candidates as a search result.

本発明によれば、地理情報検索を行なう際の処理負荷を軽減することができる。   According to the present invention, it is possible to reduce the processing load when performing geographic information search.

本発明の一実施の形態に係る情報処理装置10の構成の一例を示す図。The figure which shows an example of a structure of the information processing apparatus 10 which concerns on one embodiment of this invention. 地理情報検索を行なう際の処理の概要を示す図。The figure which shows the outline | summary of the process at the time of performing geographic information search. 本実施形態に係る地図データの一例を示す図。The figure which shows an example of the map data which concern on this embodiment. 検索対象領域を覆うメッシュの一例を示す図。The figure which shows an example of the mesh which covers a search object area | region. テーブル41〜43の構成の一例を示す図。The figure which shows an example of a structure of the tables 41-43. 図1に示す情報処理装置10の処理の流れの一例を示すフローチャート。3 is a flowchart illustrating an example of a processing flow of the information processing apparatus 10 illustrated in FIG. 1. 図6のS104に示す領域検索処理の流れの一例を示すフローチャート。7 is a flowchart showing an example of a flow of area search processing shown in S104 of FIG. 図6のS105に示す領域登録処理の流れの一例を示すフローチャート。7 is a flowchart showing an example of the flow of area registration processing shown in S105 of FIG. 変形例の一例を示す図。The figure which shows an example of a modification.

以下、本発明に係る実施の形態について添付図面を参照して詳細に説明する。   Embodiments according to the present invention will be described below in detail with reference to the accompanying drawings.

図1は、本発明の一実施の形態に係る情報処理装置10の構成の一例を示す図である。   FIG. 1 is a diagram showing an example of the configuration of an information processing apparatus 10 according to an embodiment of the present invention.

情報処理装置10は、CPU11と、入力部12と、出力部13と、撮像部14と、通信部15と、バス16と、ROM17と、RAM18と、外部記憶媒体19とが具備して構成される。   The information processing apparatus 10 includes a CPU 11, an input unit 12, an output unit 13, an imaging unit 14, a communication unit 15, a bus 16, a ROM 17, a RAM 18, and an external storage medium 19. The

CPU(Central Processing Unit)11は、例えば、ROM17に格納されたプログラムに従って、情報処理装置10における処理を統括制御する。CPU11においては、例えば、検索処理、領域登録処理、画面制御処理、写真撮影処理等のための演算、論理判断等を行ない、バス16を介してバスに接続された各デバイスを制御する。   A CPU (Central Processing Unit) 11 performs overall control of processing in the information processing apparatus 10 according to a program stored in the ROM 17, for example. In the CPU 11, for example, a search process, an area registration process, a screen control process, a calculation for a photographing process, a logical determination, and the like are performed, and each device connected to the bus via the bus 16 is controlled.

バス16は、アドレス信号やコントロール信号等を転送する。また、各デバイス間のデータ転送も行なう。   The bus 16 transfers address signals, control signals, and the like. Data transfer between devices is also performed.

入力部12は、例えば、ボタンやタッチパネル等で実現され、ユーザからの各種指示を装置内に入力する。出力部13は、液晶ディスプレイ等で実現され、ユーザに向けて各種情報を出力(表示)する。なお、出力部13による出力は、例えば、印刷により実現されても良いし、音声により実現されても良い。   The input unit 12 is realized by, for example, a button or a touch panel, and inputs various instructions from the user into the apparatus. The output unit 13 is realized by a liquid crystal display or the like, and outputs (displays) various types of information to the user. Note that the output by the output unit 13 may be realized by printing or may be realized by voice, for example.

撮像部14は、例えば、撮像センサ等で実現され、映像を読み取って電子データに変換する。通信部15は、例えば、ネットワークコントローラ等で実現され、有線又は無線の通信路を介して外部装置との間でデータ交換を行なう。   The imaging unit 14 is realized by an imaging sensor or the like, for example, and reads an image and converts it into electronic data. The communication unit 15 is realized by a network controller or the like, for example, and exchanges data with an external device via a wired or wireless communication path.

ROM(Read Only Memory)17は、不揮発性メモリである。CPU11により実行される各種プログラム(ブートプログラム21、システムの制御プログラム22)等の他、各種処理で参照される各種初期データ23、地図データ24等が格納される。   A ROM (Read Only Memory) 17 is a nonvolatile memory. In addition to various programs executed by the CPU 11 (boot program 21, system control program 22), various initial data 23, map data 24, and the like referred to in various processes are stored.

RAM(Random Access Memory)18は、読み書き可能なメモリである。RAM18は、各デバイスからの各種データの一次記憶に用いられる。RAM18には、各種ワーク領域31の他、スタック32等が格納される。   A RAM (Random Access Memory) 18 is a readable / writable memory. The RAM 18 is used for primary storage of various data from each device. The RAM 18 stores a stack 32 and the like in addition to various work areas 31.

外部記憶媒体19は、例えば、SDカード、CFカード等のフラッシュメディアで実現される。外部記憶媒体19は、ブロック単位で一括消去可能な大容量の不揮発性メモリであり、大量のデータを変更可能に記憶する。なお、外部記憶媒体19は、上述したカード等に限られず、ハードディスク等で代用することもできる。外部記憶媒体19には、メッシュテーブル41、詳細インデクステーブル42、領域テーブル43等が格納され、必要に応じて随時内容が修正される。   The external storage medium 19 is realized by a flash medium such as an SD card or a CF card, for example. The external storage medium 19 is a large-capacity non-volatile memory that can be erased collectively in block units, and stores a large amount of data in a changeable manner. The external storage medium 19 is not limited to the above-described card or the like, and can be replaced with a hard disk or the like. The external storage medium 19 stores a mesh table 41, a detailed index table 42, an area table 43, and the like, and the contents are corrected as needed.

ここで、CPU11には、その機能的な構成として、☆と、☆とが実現される。なお、これら構成は、例えば、CPU11がROM17等に格納されたプログラムを実行することにより実現される。   Here, in the CPU 11, “☆” and “☆” are realized as functional configurations. These configurations are realized, for example, by the CPU 11 executing a program stored in the ROM 17 or the like.

領域登録部50は、検索対象となる領域(検索対象領域)を登録する。検索対象領域は、例えば、入力部12を介したユーザの指示により指定される。   The area registration unit 50 registers an area to be searched (search target area). The search target area is designated by a user instruction via the input unit 12, for example.

着目地点取得部51は、着目地点(のメッシュコード)を取得する。着目地点は、検索対象となる地図データ上の地点を示す。なお、詳細については後述するが、本実施形態に係わる地図データは、地表が階層的にメッシュで区分される。また、メッシュ各々の位置を示す地理コードが文字列で表現される。下位メッシュは、上位メッシュを表現する地理コードに文字が追加されることで表現される。   The point of interest acquisition unit 51 acquires the point of interest (the mesh code). The point of interest indicates a point on the map data to be searched. Although details will be described later, in the map data according to the present embodiment, the ground surface is hierarchically divided into meshes. In addition, a geographic code indicating the position of each mesh is represented by a character string. The lower mesh is expressed by adding characters to the geographic code expressing the upper mesh.

検索部52は、着目地点を示す地理コードの文字列と、検索対象領域を覆うメッシュ群の地理コードの文字列とを比較し、所定のメッシュの検索を行なう機能を果たし、候補取得部61と、除外部62とを具備して構成される。候補取得部61は、検索対象領域を覆うメッシュ群の中から着目地点を内包する1又は複数のメッシュを検索結果の候補として取得する。除外部62は、メッシュの検索結果の候補の中から、所定の条件に従っていずれかのメッシュを除外する。   The search unit 52 performs a function of searching for a predetermined mesh by comparing a character string of a geographical code indicating a point of interest with a character string of a geographical code of a mesh group that covers a search target region. And an exclusion unit 62. The candidate acquisition unit 61 acquires one or more meshes including the point of interest as a search result candidate from the mesh group covering the search target region. The exclusion unit 62 excludes any mesh from the mesh search result candidates according to a predetermined condition.

以上が、情報処理装置10における機能的な構成についての説明である。なお、本実施形態においては、情報処理装置10が撮像部14を有する撮像装置(例えば、デジタルカメラやデジタルビデオカメラ)等に適用される場合について説明するが、これに限られない。情報処理装置10は、例えば、通信装置や画像表示装置等の種々の装置に組み込み装置として適用されても良い。   The above is the description of the functional configuration of the information processing apparatus 10. In the present embodiment, a case where the information processing apparatus 10 is applied to an imaging apparatus (for example, a digital camera or a digital video camera) having the imaging unit 14 will be described, but the present invention is not limited thereto. The information processing device 10 may be applied as an embedded device to various devices such as a communication device and an image display device.

また、上述した説明では、CPU11がプログラムを実行することで各種処理が実行される場合について説明したが、これに限られず、例えば、CPUと協調して動作するASICなどの制御回路が各種処理を実行しても良い。また、CPUと制御回路との協調動作によって各種処理が実行されてもよい。また、CPUは単一である必要はなく、複数であっても良い。この場合、複数のCPUは分散して処理を実行する。また、複数のCPUは単一のコンピュータに配置されていても良いし、物理的に異なる複数のコンピュータに配置されていても良い。なお、CPUがプログラムを実行することで実現される処理が専用の回路によって実現されても良い。   In the above description, the case where various processes are executed by the CPU 11 executing a program has been described. However, the present invention is not limited to this. For example, a control circuit such as an ASIC that operates in cooperation with the CPU performs various processes. May be executed. Various processes may be executed by cooperative operation of the CPU and the control circuit. Moreover, the CPU does not need to be single, and may be plural. In this case, a plurality of CPUs execute processing in a distributed manner. Further, the plurality of CPUs may be arranged in a single computer, or may be arranged in a plurality of physically different computers. Note that the processing realized by the CPU executing the program may be realized by a dedicated circuit.

次に、図2を用いて、地点を含む領域を検索する地理情報検索を行なう際の処理の概要について説明する。   Next, the outline of processing when performing geographic information search for searching for an area including a point will be described with reference to FIG.

ここで、着目地点201を含む領域を検索する場合について説明する。この場合、着目地点201を内包する検索対象領域203及び206が検索の結果としてヒットする。これに対し、検索対象領域202、204及び205は、着目地点201を内包しないためヒットしない。   Here, a case where a region including the point of interest 201 is searched will be described. In this case, the search target areas 203 and 206 including the point of interest 201 are hit as a result of the search. On the other hand, the search target areas 202, 204, and 205 do not hit because they do not include the point of interest 201.

ここで、領域203及び領域204の関係に着目してみる。すなわち、領域203の中心が領域204の中心より遠いにもかかわらず、遠い方の領域203がヒットして、近い方の領域204がヒットしていないことに注意が必要である。このような検索は、写真に地名のメタデータを付与した場合などには必須である。例えば、「広尾」付近で撮影した写真には、中心地が近い「六本木」は付与されないが、中心地が遠い広域地名の「東京都」は付与される場合がある。   Here, attention is focused on the relationship between the region 203 and the region 204. That is, it should be noted that although the center of the region 203 is far from the center of the region 204, the far region 203 hits and the near region 204 does not hit. Such a search is indispensable when place name metadata is added to a photo. For example, a photo taken near “Hiroo” may not be given “Roppongi”, which is close to the center, but may be given “Tokyo”, which is the name of a wide area that is far from the center.

次に、図3(a)及び図3(b)を用いて、本実施形態に係る地図データについて説明する。本実施形態においては、地図データは、地表を階層的なメッシュで区分し、緯度・経度情報に基づいてメッシュの位置を地理コードで表現する地理コード体系を有する。地理コードは文字列で表現される。   Next, map data according to the present embodiment will be described with reference to FIGS. 3 (a) and 3 (b). In the present embodiment, the map data has a geographic code system in which the ground surface is divided by a hierarchical mesh and the position of the mesh is expressed by a geographic code based on latitude / longitude information. The geographic code is represented by a character string.

まず、図3(a)を用いて、緯度・経度情報を地理コードに変換する処理の一例について説明する。   First, an example of processing for converting latitude / longitude information into a geographic code will be described with reference to FIG.

緯度・経路情報を地理コードに変換する際には、まず、地表を緯度又は経度の方向に沿って2分割していき、分割の度に当該分割された地表に0又は1のビットを割り当てる。緯度及び経度のそれぞれに対して、そのビットを大分割から順番に並べてビット列を作成し、当該ビット列をメッシュの緯度情報301及び経度情報302とする。このように生成されたビット列に対して、経度、緯度の順番で先頭から交互に1ビットずつ選択していき、ビット列303を生成する。ビット列303を先頭から5ビットずつに分割し、変換表304に従って5ビット単位に当該ビット列を文字コードに変換する。これにより、地理コード305が得られる。   When converting latitude / route information into a geographic code, first, the ground surface is divided into two along the direction of latitude or longitude, and a bit of 0 or 1 is assigned to the divided ground surface for each division. For each of latitude and longitude, the bit is arranged in order from the large division to create a bit string, and the bit string is used as latitude information 301 and longitude information 302 of the mesh. The bit string generated in this way is selected one bit at a time from the top in the order of longitude and latitude, and a bit string 303 is generated. The bit string 303 is divided into 5 bits from the beginning, and the bit string is converted into a character code in units of 5 bits according to the conversion table 304. Thereby, the geographic code 305 is obtained.

各メッシュは、地表の分割回数に応じて階層的に詳細化されたものになる。詳細化されたメッシュほど、緯度・経度情報のビット数が多くなり、変換後の文字列の文字数も多くなる。そのため、文字数がメッシュの精度を表現することになるので、メッシュの精度を文字列の文字数と定義することができる。このようにして生成されたメッシュの地理コードをメッシュコードと呼ぶ。   Each mesh is hierarchically detailed according to the number of divisions of the ground surface. As the mesh is refined, the number of bits of latitude / longitude information increases, and the number of characters in the converted character string also increases. Therefore, since the number of characters represents the accuracy of the mesh, the accuracy of the mesh can be defined as the number of characters in the character string. The mesh geographic code generated in this way is called a mesh code.

次に、図3(b)を用いて、メッシュが構成する階層構造の一例について説明する。   Next, an example of a hierarchical structure formed by the mesh will be described with reference to FIG.

メッシュ306は“e”が表現する精度=1(すなわち、文字数=1)のメッシュを示している。当該メッシュ306内の1文字を“e”に付加することによって、下位メッシュに32分割することができる。   A mesh 306 indicates a mesh expressed by “e” with accuracy = 1 (that is, the number of characters = 1). By adding one character in the mesh 306 to “e”, it can be divided into 32 sub-mesh.

次の1文字が“7”の場合は、精度=2のメッシュ307になり、メッシュコードが“e7”となる。メッシュ307を拡大して示したものがメッシュ308になる。この場合にも同様に、次の1文字を付加することによって下位メッシュに32分割することができる。   When the next one character is “7”, the mesh 307 with accuracy = 2 is obtained, and the mesh code is “e7”. An enlarged view of the mesh 307 is a mesh 308. In this case as well, it can be divided into 32 sub-mesh by adding the next character.

次の1文字が“s”の場合は、精度=3のメッシュ309となり、メッシュコードは“e7s”となる。すなわち、メッシュコードの文字数に応じてメッシュが階層化されていることが分かる。メッシュコードの文字数が同じ階層に属しているか否かを示すことになる。   When the next one character is “s”, the mesh 309 with accuracy = 3 is obtained, and the mesh code is “e7s”. That is, it is understood that the mesh is hierarchized according to the number of characters of the mesh code. It indicates whether or not the number of characters of the mesh code belongs to the same hierarchy.

ここで、表310は、このように階層化されたメッシュが表現する地理領域の概略面積の一例を示している。表310によれば、精度=3のメッシュは、156km×156kmの矩形領域を表現することが示されている。また、精度を大きくすれば、より詳細な地理領域が表現されることが分かる。例えば、精度12のメッシュコードであれば、事実上、地図データ上の特定の地点を表現できることになる。本実施形態においては、地点を特定する場合、システム上最も詳細な精度のメッシュコードで表現する。   Here, the table 310 shows an example of the approximate area of the geographical area represented by the mesh layered in this way. According to Table 310, it is shown that a mesh with accuracy = 3 represents a rectangular area of 156 km × 156 km. In addition, it can be seen that if the accuracy is increased, a more detailed geographical area is expressed. For example, a mesh code with an accuracy of 12 can effectively represent a specific point on the map data. In this embodiment, when a point is specified, it is expressed by a mesh code with the most detailed accuracy on the system.

次に、図4を用いて、検索対象領域を覆うメッシュの一例について説明する。   Next, an example of a mesh covering the search target area will be described with reference to FIG.

ここで、符号401は、検索対象領域を指している。この領域401を覆うメッシュは、メッシュ1〜メッシュ17として示されている。各メッシュは、異なる階層に属すこともある。例えば、メッシュ8は他のメッシュよりも面積が大きいが、これは、複数の下位メッシュが統合されて階層が1段階上がった上位メッシュとなっているからである。   Here, reference numeral 401 indicates a search target area. Meshes covering this region 401 are shown as mesh 1 to mesh 17. Each mesh may belong to a different hierarchy. For example, the mesh 8 has a larger area than the other meshes because this is a higher-order mesh in which a plurality of lower-order meshes are integrated and the hierarchy is increased by one stage.

ここで、黒丸で示す地点402を着目地点とした検索を行なった場合、領域401はヒット領域となる。バツ印で示す地点403を着目地点とした検索を行なった場合、領域401はヒット領域とならない。ここで、メッシュのうち、検索対象領域内に完全に内包されるメッシュ(例えば、符号404)を完全内包メッシュと呼び、検索対象領域に部分的に内包されるメッシュ(例えば、符号405)を部分内包メッシュと呼ぶ。   Here, when a search is performed using a point 402 indicated by a black circle as a point of interest, the region 401 becomes a hit region. When a search is performed using a point 403 indicated by a cross as a point of interest, the region 401 is not a hit region. Here, among meshes, a mesh that is completely included in the search target area (for example, reference numeral 404) is called a complete inclusion mesh, and a mesh that is partially included in the search target area (for example, reference numeral 405) is a part. This is called an inclusion mesh.

地点403が着目地点の場合、メッシュ群に基づいて検索対象領域401を検索すると、メッシュ6がヒットする。ところが、メッシュ6は、部分内包メッシュであり、地点403が領域401の外側にある。そのため、その後実施される詳細チェックにおいて、地点403は、領域401に内包されないことが判明し、メッシュ6は検索結果から除かれることになる。このような詳細チェックによって最終的に検索結果から外れるが、処理途中では検索結果の候補とされる検索結果を「偽検索結果」と呼ぶ。   When the point 403 is the point of interest, the mesh 6 is hit when the search target area 401 is searched based on the mesh group. However, the mesh 6 is a partial inclusion mesh, and the point 403 is outside the region 401. Therefore, in the detailed check performed thereafter, it is found that the point 403 is not included in the region 401, and the mesh 6 is excluded from the search result. Such a detailed check eventually deviates from the search result, but a search result that is a candidate for the search result in the middle of processing is called a “false search result”.

次に、図5を用いて、メッシュテーブル41、詳細インデクステーブル42、領域テーブル43の構成の一例について説明する。   Next, an example of the configuration of the mesh table 41, the detailed index table 42, and the area table 43 will be described with reference to FIG.

メッシュテーブル41は、検索対象領域を覆うメッシュ群を管理する。カラム502には、各メッシュのメッシュコードが保持される。カラム503には、検索対象領域のIDが保持される。このIDを用いて領域テーブル43を参照することにより、領域の詳細な情報が入手される。カラム504には、各メッシュの領域を検索対象領域が完全に内包するか否かを示すフラグ(「完全フラグ」と呼ぶ)が保持される。完全に内包されるときには(「完全内包」と呼ぶ)、“1”が保持され、部分的に内包されるときには(「部分内包」と呼ぶ)、“0”が保持される。カラム505には、部分内包のメッシュを更に詳細化したメッシュ群を管理する詳細インデクステーブル42へのリンクが保持される。すなわち、メッシュテーブル41には、検索対象領域と、完全フラグと、詳細インデクステーブル42へのリンクとが対応付けて管理されている。   The mesh table 41 manages a mesh group covering the search target area. A column 502 holds a mesh code of each mesh. The column 503 holds the ID of the search target area. By referring to the area table 43 using this ID, detailed information on the area is obtained. A column 504 holds a flag (referred to as “complete flag”) indicating whether or not the search target region completely includes the region of each mesh. When completely included (referred to as “completely included”), “1” is retained, and when partially included (referred to as “partially included”), “0” is retained. A column 505 holds a link to a detailed index table 42 that manages a mesh group that further refines the mesh of the partial inclusion. That is, in the mesh table 41, the search target area, the complete flag, and the link to the detailed index table 42 are managed in association with each other.

領域テーブル43は、検索対象領域の地理的範囲を管理する。なお、ここでは、領域が矩形で構成されるものとして説明する。カラム507には、検索対象領域のIDが保持される。カラム508には、検索対象領域の左上地点のメッシュコードが保持される。カラム509には、検索対象領域の右下地点のメッシュコードが保持される。   The area table 43 manages the geographical range of the search target area. Here, the description will be made on the assumption that the region is formed of a rectangle. A column 507 holds the ID of the search target area. A column 508 holds a mesh code at the upper left point of the search target area. A column 509 holds a mesh code at the lower right point of the search target area.

詳細インデクステーブル42は、部分内包メッシュを下位階層のメッシュに細分化して詳細化したメッシュ群を管理する。カラム511には、詳細化されたメッシュのメッシュコードが保持される。カラム512には、そのメッシュに対応する検索対象領域のIDが保持される。   The detailed index table 42 manages a mesh group in which the partial inclusion mesh is subdivided into meshes in a lower layer and detailed. A column 511 holds a mesh code of a detailed mesh. The column 512 holds the ID of the search target area corresponding to the mesh.

ここで、上述した処理についてフローチャートを用いて説明する。図6は、図1に示す情報処理装置10における処理の流れの一例を示す図である。この処理は、例えば、CPU11が、ROM17に格納されたプログラムを読み出し実行することにより実現される。   Here, the above-described processing will be described using a flowchart. FIG. 6 is a diagram illustrating an example of a flow of processing in the information processing apparatus 10 illustrated in FIG. This process is realized, for example, when the CPU 11 reads and executes a program stored in the ROM 17.

この処理では、情報処理装置10は、CPU11において、まず、システムの初期化処理が行なわれる(S101)。すなわち、各種パラメータの初期化や初期画面の表示等が行なわれる。   In this process, the information processing apparatus 10 first performs a system initialization process in the CPU 11 (S101). That is, various parameters are initialized and an initial screen is displayed.

その後、情報処理装置10は、CPU11において、タッチパネル等の入力部12から何らかのイベントが発生するまで待機する(S102)。イベントが発生すると、情報処理装置10は、CPU11において、このイベントを判別し、イベントの種類に応じて各種の処理に分岐する。   Thereafter, the information processing apparatus 10 waits until an event occurs from the input unit 12 such as a touch panel in the CPU 11 (S102). When an event occurs, the information processing apparatus 10 determines this event in the CPU 11 and branches to various processes according to the type of event.

ここで、領域検索処理を示すイベントであれば(S103で領域検索)、情報処理装置10は、当該イベントに従って領域検索処理を行なう(S104)。また、領域登録処理を示すイベントであれば(S103で領域登録)、情報処理装置10は、当該イベントに従って領域登録処理を行なう(S105)。それ以外のイベントであれば(S103でその他イベント)、情報処理装置10は、各種イベントに対応した処理を行なう(S106)。なお、他のイベントとしては、画面制御処理、写真撮影処理などが挙げられる。   If the event indicates an area search process (area search in S103), the information processing apparatus 10 performs the area search process according to the event (S104). If the event indicates an area registration process (area registration in S103), the information processing apparatus 10 performs the area registration process according to the event (S105). If it is any other event (other event in S103), the information processing apparatus 10 performs processing corresponding to various events (S106). Other events include screen control processing, photography processing, and the like.

その後、情報処理装置10は、出力部13において、各処理の処理結果等をユーザに出力する。例えば、検索結果の表示、エラーがあった場合のエラー表示、正常な処理が行なわれた場合の画面表示等が行なわれる。   Thereafter, the information processing apparatus 10 outputs the processing result of each process to the user at the output unit 13. For example, a search result is displayed, an error is displayed when there is an error, and a screen is displayed when normal processing is performed.

次に、図7を用いて、図6のS104に示す領域検索処理の流れの一例について説明する。すなわち、検索対象領域内で着目地点を内包する地理領域(1又は複数のメッシュ)を検索する際の処理について説明する。   Next, an example of the flow of the area search process shown in S104 of FIG. 6 will be described using FIG. That is, a process for searching for a geographic area (one or a plurality of meshes) including a point of interest in the search target area will be described.

この処理が開始すると、情報処理装置10は、まず、着目地点取得部51において、着目地点の取得を行なう(S201)。すなわち、着目地点を示すメッシュコードを取得する。着目地点は、例えば、入力部12を介したユーザの指示により指定される。   When this process starts, the information processing apparatus 10 first acquires a point of interest in the point of interest acquisition unit 51 (S201). That is, a mesh code indicating the point of interest is acquired. The point of interest is specified by a user instruction via the input unit 12, for example.

続いて、情報処理装置10は、候補取得部61において、S201の処理で取得したメッシュコードを検索文字列として検索結果の候補の取得を行なう(S202、S203)。すなわち、検索文字列の少なくとも一部(前方文字列)と一致するメッシュコードを持つメッシュをメッシュテーブル41から検索して取得し、それを検索結果の候補とする。   Subsequently, in the information processing apparatus 10, the candidate acquisition unit 61 acquires search result candidates using the mesh code acquired in the process of S201 as a search character string (S202, S203). That is, a mesh having a mesh code that matches at least a part of the search character string (front character string) is searched from the mesh table 41, and is used as a search result candidate.

情報処理装置10は、除外部62において、検索結果の候補として取得されたメッシュの完全フラグをチェックする。すなわち、各メッシュが、完全内包メッシュであるか、部分内包メッシュであるかを判定する。   In the information processing apparatus 10, the exclusion unit 62 checks the complete flag of the mesh acquired as a search result candidate. That is, it is determined whether each mesh is a complete inclusion mesh or a partial inclusion mesh.

判定の結果、完全内包メッシュであれば(S204でYES)、情報処理装置10は、S208の処理に進む。一方、部分内包メッシュであれば(S204でNO)、情報処理装置10は、除外部62において、着目地点と検索対象領域との位置関係の詳細チェックを行なう(S205)。すなわち、S203の処理で取得されたメッシュに含まれる着目地点が、検索対象領域内であるか否かをチェックする。このチェックでは、まず、詳細インデクステーブル42から該当のメッシュの下位階層のメッシュ群を取得し、当該メッシュ群のうち着目地点を含むメッシュを取得する。そして、当該メッシュが検索対象領域内に内包されるか否かを判定する。これにより、検索対象領域内に内包されていなければ、S203の処理で検索されたメッシュは、偽検索結果であると判定される。   As a result of the determination, if it is a complete inclusion mesh (YES in S204), the information processing apparatus 10 proceeds to the process of S208. On the other hand, if it is a partial inclusion mesh (NO in S204), the information processing apparatus 10 performs a detailed check of the positional relationship between the point of interest and the search target area in the exclusion unit 62 (S205). That is, it is checked whether or not the point of interest included in the mesh acquired in the process of S203 is within the search target area. In this check, first, a mesh group in a lower hierarchy of the corresponding mesh is acquired from the detailed index table 42, and a mesh including the point of interest is acquired from the mesh group. Then, it is determined whether or not the mesh is included in the search target area. Thereby, if it is not included in the search target area, the mesh searched in the process of S203 is determined to be a fake search result.

詳細チェックの結果、着目地点を内包しない、すなわち、偽検索結果であった場合(S206でYES)、情報処理装置10は、除外部62において、当該偽検索結果を除外した後(S207)、S208の処理に進む。すなわち、偽検索結果となったメッシュを除外する。   As a result of the detailed check, if the point of interest is not included, that is, if it is a fake search result (YES in S206), the information processing apparatus 10 excludes the fake search result in the exclusion unit 62 (S207), and then S208. Proceed to the process. That is, the mesh that is the false search result is excluded.

一方、偽検索結果でなければ(S206でNO)、情報処理装置10は、検索部52において、検索文字列の末尾を1文字削除する(S208)。すなわち、着目地点のメッシュの階層を1段階広範な領域に引き上げる。これにより、着目地点のメッシュコードの前方文字列とメッシュコードとが一致する、より広範なメッシュをメッシュテーブル41から取得できることになる。   On the other hand, if the result is not a fake search result (NO in S206), the information processing apparatus 10 deletes one character at the end of the search character string in the search unit 52 (S208). That is, the mesh hierarchy at the point of interest is raised to a wide area by one step. As a result, a broader mesh in which the front character string of the mesh code at the point of interest matches the mesh code can be acquired from the mesh table 41.

情報処理装置10は、検索部52において、1文字削除の結果、検索文字列の長さが「0」になったか否かを判定する。文字列の長さが「0」でなければ(S209でNO)、より広範なメッシュの前方一致検索を行なうため、情報処理装置10は、再度、S203の処理を行なう。すなわち、S203〜S208の処理は、文字列の長さが「0」になるまで繰り返し行なわれる。   The information processing apparatus 10 determines in the search unit 52 whether the length of the search character string has become “0” as a result of the deletion of one character. If the length of the character string is not “0” (NO in S209), the information processing apparatus 10 performs the process of S203 again in order to perform a broader mesh forward match search. That is, the processes of S203 to S208 are repeated until the length of the character string becomes “0”.

一方、文字の長さが「0」であれば(S209でYES)、情報処理装置10は、出力部13において、これまでに取得された検索結果の候補を正式な検索結果として出力した後(S210)、この処理を終了する。   On the other hand, if the length of the character is “0” (YES in S209), the information processing apparatus 10 outputs the search result candidates acquired so far as an official search result in the output unit 13 ( S210), this process is terminated.

次に、図8を用いて、図6のS105に示す領域登録処理の流れの一例について説明する。すなわち、検索対象領域となる領域を登録する際の処理について説明する。   Next, an example of the flow of area registration processing shown in S105 of FIG. 6 will be described using FIG. That is, a process for registering an area to be a search target area will be described.

この処理が開始すると、情報処理装置10は、領域登録部50において、まず、指定された領域を検索対象領域として領域テーブル43に登録する(S301)。検索対象領域は、例えば、入力部12を介したユーザの指示により指定される。そして、情報処理装置10は、領域登録部50において、当該検索対象領域を覆うメッシュ群を求める(S302)。   When this processing starts, the information processing apparatus 10 first registers the specified area in the area table 43 as a search target area in the area registration unit 50 (S301). The search target area is designated by a user instruction via the input unit 12, for example. The information processing apparatus 10 obtains a mesh group covering the search target area in the area registration unit 50 (S302).

情報処理装置10は、領域登録部50において、S302の処理で求められたメッシュ群をメッシュテーブル41に登録するとともに(S303)、当該メッシュ群の中に部分内包メッシュがあるか否かを判定する。   In the area registration unit 50, the information processing apparatus 10 registers the mesh group obtained in the process of S302 in the mesh table 41 (S303), and determines whether or not there is a partial inclusion mesh in the mesh group. .

判定の結果、部分内包メッシュがなければ(S304でNO)、情報処理装置10は、この処理を終了する。部分内包メッシュがあれば(S304でYES)、情報処理装置10は、領域登録部50において、当該メッシュを下位階層のメッシュに細分化(すなわち詳細化)する(S305)。そして、当該細分化されたメッシュ群を詳細インデクステーブル42に登録した後(S306)、この処理を終了する。   As a result of the determination, if there is no partial inclusion mesh (NO in S304), the information processing apparatus 10 ends this process. If there is a partial inclusion mesh (YES in S304), the information processing apparatus 10 subdivides (i.e., refines) the mesh into a lower layer mesh in the region registration unit 50 (S305). Then, after the subdivided mesh group is registered in the detailed index table 42 (S306), this process ends.

以上説明したように本実施形態によれば、通常の文字列検索のインデクス機構を流用して、前方一致検索を行なうことにより、着目地点を内包する検索対象領域を検索する際の処理負荷を軽減できる。更に、部分内包メッシュを詳細化した詳細インデクステーブルを設けることにより、詳細チェックの処理をより高速化できる。   As described above, according to the present embodiment, a normal character string search index mechanism is used to perform a forward matching search, thereby reducing a processing load when searching for a search target region including a point of interest. it can. Furthermore, by providing a detailed index table in which the partial inclusion mesh is detailed, the detailed check process can be further accelerated.

なお、従来の技術において緯度・経度等に基づいた地理情報検索を行なう場合、テキスト検索のインデクスとは別の構造を持った専用インデクスが必要となっていたため、特に、組込み機器においてはリソースの負担が大きかった。   Note that when searching for geographic information based on latitude / longitude in the conventional technology, a dedicated index having a different structure from the text search index is required. Was big.

(実施形態2)
次に、実施形態2について説明する。上述した実施形態1においては、検索対象領域401が矩形形状である場合について説明したが、これに限られない。実施形態2においては、検索対象領域の形状の一例として、当該領域が円形である場合について説明する。例えば、図9(a)に示すように、検索対象領域406が円形であっても良い。この場合にも上記同様に、完全内包メッシュ6(符号407)と部分内包メッシュ12(符号408)とがある。
(Embodiment 2)
Next, Embodiment 2 will be described. In the above-described first embodiment, the case where the search target area 401 has a rectangular shape has been described. However, the present invention is not limited to this. In the second embodiment, as an example of the shape of the search target area, a case where the area is circular will be described. For example, as shown in FIG. 9A, the search target area 406 may be circular. In this case as well, there are the complete inclusion mesh 6 (reference numeral 407) and the partial inclusion mesh 12 (reference numeral 408).

図9(b)には、検索対象領域406が円形である場合のメッシュテーブル41及び、それからリンクされる領域テーブル43の構成の一例が示される。なお、メッシュテーブル41の構成は、図5で示した構成と同じ構成となる。   FIG. 9B shows an example of the configuration of the mesh table 41 and the region table 43 linked from the mesh table 41 when the search target region 406 is circular. The mesh table 41 has the same configuration as that shown in FIG.

領域テーブル43は、円形の検索対象領域406を管理する。カラム515には、検索対象領域のIDが保持される。カラム516には、検索対象領域(円)の中心地点のメッシュコードが保持される。カラム517には、円の半径距離が保持される。   The area table 43 manages a circular search target area 406. A column 515 holds the ID of the search target area. A column 516 holds a mesh code at the center point of the search target area (circle). Column 517 holds the radial distance of the circle.

また、上述した実施形態1で説明した図7のS205の詳細チェックにおいては、円形である検索対象領域の中心から着目地点までの距離を求め、それが半径以下であるか否かを比較することにより詳細チェックを行なう。このように構成することで、検索対象領域が円形の場合であっても、実施形態1と同様の処理が行なえる。   Further, in the detailed check in S205 of FIG. 7 described in the first embodiment, the distance from the center of the search target area that is circular to the point of interest is obtained, and whether or not it is equal to or less than the radius is compared. Perform a detailed check with. With this configuration, even when the search target area is circular, the same processing as in the first embodiment can be performed.

以上が本発明の代表的な実施形態の一例であるが、本発明は、上記及び図面に示す実施形態に限定することなく、その要旨を変更しない範囲内で適宜変形して実施できるものである。   The above is an example of a typical embodiment of the present invention, but the present invention is not limited to the embodiment described above and shown in the drawings, and can be appropriately modified and implemented without departing from the scope of the present invention. .

また、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施態様を採ることもできる。具体的には、複数の機器から構成されるシステムに適用してもよいし、また、一つの機器からなる装置に適用してもよい。   In addition, the present invention can take an embodiment as a system, apparatus, method, program, storage medium, or the like. Specifically, the present invention may be applied to a system composed of a plurality of devices, or may be applied to an apparatus composed of a single device.

(その他の実施形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

Claims (5)

地表が階層的にメッシュで区分されるとともに、該メッシュ各々の位置を示す地理コードが文字列で表現され、上位メッシュを表現する地理コードに文字を追加することで下位メッシュの地理コードを示す地理コード体系を有する地図データを保持する保持手段と、
前記地図データ上で検索対象となる地点を示す着目地点の地理コードを取得する着目地点取得手段と、
前記地図データ上で検索を行なう範囲を示す検索対象領域を覆うメッシュ群のうち、前記着目地点を示す地理コードの文字列と一致する地理コードの文字列を有する1又は複数のメッシュを検索結果の候補として取得する候補取得手段と、
前記検索結果の候補として取得された1又は複数のメッシュのうち、前記検索対象領域に完全に内包されていないメッシュに対して前記着目地点を内包しているか否かを判定し、当該着目地点が内包されていない1又は複数のメッシュを前記メッシュ群から除外する除外手段と、
前記検索結果の候補から前記除外が行なわれた後の1又は複数のメッシュを検索結果として出力する出力手段と
を具備することを特徴とする情報処理装置。
The ground surface is hierarchically divided into meshes, the geo codes indicating the positions of the meshes are represented by character strings, and the geo codes representing the lower meshes are added by adding characters to the geo codes representing the upper meshes. Holding means for holding map data having a code system;
Point-of-interest acquisition means for acquiring a geographical code of a point of interest indicating a point to be searched on the map data;
One or more meshes having a character string of a geographic code that matches a character string of a geographic code indicating the point of interest among mesh groups covering a search target area indicating a range to be searched on the map data. Candidate acquisition means for acquiring as candidates,
It is determined whether or not the target point is included in a mesh that is not completely included in the search target region among one or a plurality of meshes acquired as candidates for the search result, and the target point is Exclusion means for excluding one or more meshes not included from the mesh group;
And an output unit that outputs one or a plurality of meshes after the exclusion from the search result candidates as a search result.
前記候補取得手段は、
前記着目地点を示す地理コードの文字列の長さが0になるまで、該文字列を1文字ずつ削除して前記着目地点を示す地理コードの文字列を用いた検索を繰り返し行ない、
前記除外手段は、
前記候補取得手段による検索が行なわれる度に前記除外を繰り返し行ない、
前記出力手段は、
前記地理コードの文字列の長さが0になった場合に、それまでに取得された検索結果を出力する
ことを特徴とする請求項1記載の情報処理装置。
The candidate acquisition means includes
Until the length of the character string of the geographic code indicating the point of interest is 0, the character string is deleted character by character and the search using the character string of the geographic code indicating the point of interest is repeated.
The exclusion means includes
The exclusion is repeated each time the candidate acquisition unit performs a search,
The output means includes
The information processing apparatus according to claim 1, wherein when the length of the character string of the geographic code becomes 0, a search result acquired so far is output.
前記検索対象領域を覆うメッシュ群それぞれの地理コードの文字列と、前記検索対象領域に完全に内包されているか否かを示す情報とを対応付けて管理するメッシュテーブルと、
前記メッシュテーブルに管理されるメッシュ群のうち、前記検索対象領域に完全に内包されていないメッシュの下位階層のメッシュに関する情報を管理する詳細インデクステーブルと
を更に具備し、
前記候補取得手段は、
前記メッシュテーブルを用いて前記検索結果の候補を取得し、
前記除外手段は、
前記詳細インデクステーブルを用いて前記除外を行なう
ことを特徴とする請求項1又は2記載の情報処理装置。
A mesh table for managing a character string of each geographic code covering the search target area in association with information indicating whether or not the search target area is completely included, and
A detailed index table for managing information on meshes in lower layers of meshes that are not completely included in the search target region, among mesh groups managed in the mesh table;
The candidate acquisition means includes
Use the mesh table to obtain the search result candidates,
The exclusion means includes
The information processing apparatus according to claim 1, wherein the exclusion is performed using the detailed index table.
情報処理装置の処理方法であって、
取得手段が、地表が階層的にメッシュで区分されるとともに、該メッシュ各々の位置を示す地理コードが文字列で表現され、上位メッシュを表現する地理コードに文字を追加することで下位メッシュの地理コードを示す地理コード体系を有する地図データを取得する工程と、
着目地点取得手段が、前記地図データ上で検索対象となる地点を示す着目地点の地理コードを取得する工程と、
候補取得手段が、前記地図データ上で検索を行なう範囲を示す検索対象領域を覆うメッシュ群のうち、前記着目地点を示す地理コードの文字列と一致する地理コードの文字列を有する1又は複数のメッシュを検索結果の候補として取得する工程と、
除外手段が、前記検索結果の候補として取得された1又は複数のメッシュのうち、前記検索対象領域に完全に内包されていないメッシュに対して前記着目地点を内包しているか否かを判定し、当該着目地点が内包されていない1又は複数のメッシュを前記メッシュ群から除外する工程と、
出力手段が、前記検索結果の候補から前記除外が行なわれた後の1又は複数のメッシュを検索結果として出力する工程と
を含むことを特徴とする情報処理装置。
A processing method for an information processing apparatus,
The acquisition means is configured such that the ground surface is hierarchically divided into meshes, the geo codes indicating the positions of the meshes are represented by character strings, and the geometries of the lower meshes are added by adding characters to the geo codes representing the upper meshes. Obtaining map data having a geographic code system indicating a code;
A step of acquiring a point-of-interest geographical code indicating a point to be searched on the map data;
The candidate acquisition means has one or more character strings having a geographic code that matches the character string of the geographic code indicating the point of interest in the mesh group covering the search target area indicating the search range on the map data. Obtaining a mesh as a search result candidate;
It is determined whether or not the exclusion means includes the point of interest with respect to a mesh that is not completely included in the search target region among one or a plurality of meshes acquired as candidates for the search result, A step of excluding one or more meshes that do not contain the point of interest from the mesh group;
And an output means for outputting one or a plurality of meshes after the exclusion from the search result candidates as a search result.
コンピュータを、
地表が階層的にメッシュで区分されるとともに、該メッシュ各々の位置を示す地理コードが文字列で表現され、上位メッシュを表現する地理コードに文字を追加することで下位メッシュの地理コードを示す地理コード体系を有する地図データを保持する保持手段、
前記地図データ上で検索対象となる地点を示す着目地点の地理コードを取得する着目地点取得手段、
前記地図データ上で検索を行なう範囲を示す検索対象領域を覆うメッシュ群のうち、前記着目地点を示す地理コードの文字列と一致する地理コードの文字列を有する1又は複数のメッシュを検索結果の候補として取得する候補取得手段、
前記検索結果の候補として取得された1又は複数のメッシュのうち、前記検索対象領域に完全に内包されていないメッシュに対して前記着目地点を内包しているか否かを判定し、当該着目地点が内包されていない1又は複数のメッシュを前記メッシュ群から除外する除外手段、
前記検索結果の候補から前記除外が行なわれた後の1又は複数のメッシュを検索結果として出力する出力手段
として機能させるためのプログラム。
Computer
The ground surface is hierarchically divided into meshes, the geo codes indicating the positions of the meshes are represented by character strings, and the geo codes representing the lower meshes are added by adding characters to the geo codes representing the upper meshes. Holding means for holding map data having a code system;
Point-of-interest acquisition means for acquiring a geographic code of a point of interest indicating a point to be searched on the map data;
One or more meshes having a character string of a geographic code that matches a character string of a geographic code indicating the point of interest among mesh groups covering a search target area indicating a range to be searched on the map data. Candidate acquisition means for acquiring as candidates,
It is determined whether or not the target point is included in a mesh that is not completely included in the search target region among one or a plurality of meshes acquired as candidates for the search result, and the target point is Excluding means for excluding one or more meshes not included from the mesh group,
A program for functioning as output means for outputting one or a plurality of meshes after the exclusion from the search result candidates as a search result.
JP2011127656A 2011-06-07 2011-06-07 Information processing device and method, and program Withdrawn JP2012256120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011127656A JP2012256120A (en) 2011-06-07 2011-06-07 Information processing device and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011127656A JP2012256120A (en) 2011-06-07 2011-06-07 Information processing device and method, and program

Publications (1)

Publication Number Publication Date
JP2012256120A true JP2012256120A (en) 2012-12-27

Family

ID=47527649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011127656A Withdrawn JP2012256120A (en) 2011-06-07 2011-06-07 Information processing device and method, and program

Country Status (1)

Country Link
JP (1) JP2012256120A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013120201A (en) * 2011-12-06 2013-06-17 Yahoo Japan Corp Information processing apparatus and method
JP2014025849A (en) * 2012-07-27 2014-02-06 Nippon Telegr & Teleph Corp <Ntt> Important area determination device, method, and program
CN111177588A (en) * 2019-12-31 2020-05-19 北京百度网讯科技有限公司 Interest point retrieval method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013120201A (en) * 2011-12-06 2013-06-17 Yahoo Japan Corp Information processing apparatus and method
JP2014025849A (en) * 2012-07-27 2014-02-06 Nippon Telegr & Teleph Corp <Ntt> Important area determination device, method, and program
CN111177588A (en) * 2019-12-31 2020-05-19 北京百度网讯科技有限公司 Interest point retrieval method and device
CN111177588B (en) * 2019-12-31 2023-12-05 北京百度网讯科技有限公司 Interest point retrieval method and device

Similar Documents

Publication Publication Date Title
US8009919B2 (en) Image managing apparatus and image display apparatus
JP5440219B2 (en) Map data and map data creation method
JP5440477B2 (en) Electronics
US20070211151A1 (en) Image managing apparatus and image display apparatus
CN110413719A (en) Information processing method and device, equipment, storage medium
JP2006220524A (en) Data preparing method for processing map update, map updating method, and its device
JP2011158636A (en) Method for creating map data and map data
KR100976138B1 (en) Method, system and computer-readable recording medium for matching building image hierarchically
JP2011158639A (en) Map data
JP5275349B2 (en) Information processing apparatus, information creation apparatus, information processing method, information creation method, information processing program, information creation program, and recording medium
CN103488633A (en) Network electronic map information processing method
US20210354040A1 (en) Utilizing multiple input sources for generating gameplay locations
CN105556510B (en) Map information processing device, data generation method, and program
JP2012256119A (en) Information processing device and method, and program
CN103712628A (en) Navigation path drawing method and terminal
JP4885558B2 (en) Entity lookup system
JP2012256120A (en) Information processing device and method, and program
JP2007079866A (en) Image classification apparatus, image classification method, image classification program, and image pickup device
JP2011175231A (en) Map data
JP2003187256A (en) Data structure of graphic data to be recorded in electronic map data and electronic map display device
TWI427393B (en) Handheld device with positioning and photo-taking functions and positioning method therefor
JP5345084B2 (en) Map information processing device
US10896533B2 (en) Automated identification of geographic site boundaries
JP5583178B2 (en) IMPORTANT AREA DETERMINING DEVICE, METHOD, AND PROGRAM
US20150286687A1 (en) Information processing apparatus, information processing method, and recording medium

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140902