JP2005316881A - Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result - Google Patents

Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result Download PDF

Info

Publication number
JP2005316881A
JP2005316881A JP2004136355A JP2004136355A JP2005316881A JP 2005316881 A JP2005316881 A JP 2005316881A JP 2004136355 A JP2004136355 A JP 2004136355A JP 2004136355 A JP2004136355 A JP 2004136355A JP 2005316881 A JP2005316881 A JP 2005316881A
Authority
JP
Japan
Prior art keywords
search
text
keyword
data
thumbnail image
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.)
Pending
Application number
JP2004136355A
Other languages
Japanese (ja)
Inventor
Eiichi Murase
栄一 村瀬
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2004136355A priority Critical patent/JP2005316881A/en
Publication of JP2005316881A publication Critical patent/JP2005316881A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve the identity of each drawing at the time of listing a drawing retrieval result. <P>SOLUTION: A thumbnail image of each drawing is registered in a thumbnail DB 14. A text included in each drawing and information of the position in the drawing of the text are registered in a text information DB 16. A retrieval processing part 18 determines a drawing including a retrieval keyword inputted from a user based on data of the text information DB 16. A retrieval result display processing part 20 acquires the thumbnail image of the retrieved drawing from the thumbnail DB 14, determines the position of the retrieval keyword in the drawing, and emphasizes and displays the position of the retrieval keyword in the thumbnail image. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、図面検索のための技術に関し、特に検索結果の表示に関する。   The present invention relates to a technique for drawing search, and more particularly to display of search results.

近年では、CAD(Computer Aided Design)による設計が主流となっており、CADアプリケーションを用いて図面データを作成して保存し、共有したり再利用したりしている。   In recent years, design by CAD (Computer Aided Design) has become mainstream, and drawing data is created and stored using a CAD application, and is shared and reused.

図面データの再利用等のためには、所望の図面データを検索するためのシステムが重要である。従来、このような図面検索のシステムとして、図面データ中に含まれるテキストデータに対してキーワード検索を行うシステムがある。このようなシステムでは、検索結果を提示する方式として、検索された各図面データのファイル名を一覧表示したり、作成日時その他の属性情報も併せて一覧表示したりする方式を用いるものもある。しかしこの方式では、一覧表示に示された個々の図面のファイルをCADアプリケーションで開いて内容を確認するまでは、その図面が所望のものかが判断できない。これに対する改善策として、各図面のサムネイル画像(縮小画像)を用意しておき、検索結果一覧として、検索された図面のサムネイル画像を一覧表示する方式も知られている。この方式では、サムネイル画像により図面の概要が分かるので、ファイル名や属性情報のみを表示する方式に比べて各図面が識別しやすいというメリットがある。   In order to reuse drawing data, a system for searching for desired drawing data is important. Conventionally, as such a drawing search system, there is a system for performing keyword search for text data included in drawing data. In such a system, as a method of presenting a search result, there is a method of displaying a list of file names of each searched drawing data or displaying a list of creation date and other attribute information together. However, with this method, it is impossible to determine whether a drawing is desired until the file of each drawing shown in the list display is opened with a CAD application and the contents are confirmed. As an improvement measure against this, there is also known a method in which thumbnail images (reduced images) of respective drawings are prepared, and thumbnail images of searched drawings are displayed as a list as a search result list. This method has an advantage that each drawing can be easily identified as compared with a method in which only the file name and attribute information are displayed because the outline of the drawing can be understood from the thumbnail image.

また特許文献1には、各部品の図面データを当該部品の部品番号で検索できるようにし、検索された各図面の略図(サムネイル画像)を画面表示して、ユーザに所望のものを選択させるシステムが示されている。   Japanese Patent Application Laid-Open No. 2004-228561 allows a drawing data of each part to be searched by a part number of the part, displays a schematic diagram (thumbnail image) of each searched drawing, and allows a user to select a desired one. It is shown.

なお、図面検索の分野ではないが、サムネイル表示や検索結果の表示に関する従来技術として、特許文献2及び3に示される技術がある。   Although not in the field of drawing search, there are techniques disclosed in Patent Documents 2 and 3 as conventional techniques related to thumbnail display and search result display.

特許文献2に示されるシステムは、一般的な文書・画像のサムネイル画像を一覧表示するシステムであり、元の文書の作成日時等の属性情報をサムネイル画像に対応づけて管理し、サムネイル画像を表示する際に、対応する属性情報も併せて表示する機能を備えている。   The system disclosed in Patent Document 2 is a system that displays a list of thumbnail images of general documents and images, manages attribute information such as the creation date and time of the original document in association with the thumbnail image, and displays the thumbnail image. When this is done, the corresponding attribute information is also displayed.

また特許文献3に示されるシステムは、画像データとこれに対する文字認識により得られたテキストデータとを対応づけて管理し、テキストデータに対するキーワード検索により画像データを検索し表示するシステムである。このシステムでは、画像データに対する文字認識の段階で各テキストの画像中での位置情報を求めてデータベースに登録しておく。そして、キーワード検索により検索された画像データのファイル名をリスト表示し、そのリストの中でユーザから選択されたファイル(画像データ)を表示する際に、データベースに登録された各テキストの位置情報を参照することで、その画像データ中でのキーワードに対応するテキストの位置を求め、そのテキストの部分を反転表示する。   The system disclosed in Patent Document 3 is a system that manages image data and text data obtained by character recognition for the image data in association with each other, and searches and displays the image data by keyword search for the text data. In this system, position information in the image of each text is obtained and registered in a database at the stage of character recognition for the image data. Then, the file name of the image data searched by the keyword search is displayed in a list, and the position information of each text registered in the database is displayed when the file (image data) selected by the user in the list is displayed. By referencing, the position of the text corresponding to the keyword in the image data is obtained, and the text portion is highlighted.

特開2003−281204号公報JP 2003-281204 A 特開2001−337994号公報JP 2001-337994 A 特開平11−328196号公報JP 11-328196 A

図面のサムネイル画像は、図面の大まかな内容を知ることができる点ではたしかに有用である。しかし、一般的にサイズが大きい設計図面をコンピュータのディスプレイに表示するサムネイル画像のサイズまで縮小するとかなりの情報が欠落してしまうので、特許文献1などのように単に検索されたサムネイル画像を表示するだけでは所望の図面を識別しにくい場合も考えられる。   A thumbnail image of a drawing is certainly useful in that it can know the rough contents of the drawing. However, when a large-sized design drawing is reduced to the size of a thumbnail image to be displayed on a computer display, a considerable amount of information is lost. Thus, a searched thumbnail image is displayed as in Patent Document 1 or the like. In some cases, it is difficult to identify a desired drawing by itself.

また、特許文献2のシステムのようにサムネイル画像にファイル名等の属性情報を付加して表示したとしても、サムネイル画像自体の識別性は変わらないので、付加表示する属性情報に識別性が乏しい場合には所望の文書を識別することが難しい。   Further, even when attribute information such as a file name is added to a thumbnail image and displayed as in the system of Patent Document 2, the identification property of the thumbnail image itself does not change, and thus the attribute information to be additionally displayed has poor identification property. It is difficult to identify a desired document.

また、特許文献3のシステムでは、検索結果のリストから選択された画像データが表示される際に、その画像の中で検索に用いたキーワードが反転表示されるものの、検索結果のリスト自体はファイル名のリストなので、そのリスト表示上では各文書をファイル名で識別するほかない。   In the system of Patent Document 3, when image data selected from the search result list is displayed, the keyword used for the search is highlighted in the image, but the search result list itself is a file. Since this is a list of names, each document must be identified by a file name on the list display.

本発明は、コンピュータシステムを、与えられた検索キーワードをテキスト部分に含んだ図面を検索する図面検索手段、該図面検索手段で検索された図面中での前記検索キーワードの位置を求める位置取得手段、前記図面検索手段で検索された図面のサムネイル画像と前記位置取得手段で求められた前記検索キーワードの位置の情報に基づき、該サムネイル画像中の前記検索キーワードの部分を強調して示すキーワード強調サムネイル画像を作成し、検索結果表示のために供する強調サムネイル作成手段、として機能させるためのプログラムを提供する。   The present invention provides a computer system, a drawing search means for searching a drawing including a given search keyword in a text portion, a position acquisition means for determining a position of the search keyword in the drawing searched by the drawing search means, A keyword-enhanced thumbnail image that highlights a portion of the search keyword in the thumbnail image based on the thumbnail image of the drawing searched by the drawing search unit and the position information of the search keyword obtained by the position acquisition unit And a program for functioning as an enhanced thumbnail creating means for displaying search results.

本発明の好適な態様では、前記強調サムネイル作成手段は、前記検索された図面のテキスト部分に複数の異なる検索キーワードが含まれる場合、前記キーワード強調サムネイル画像として、それら異なる検索キーワードを異なる表示形態で強調して示す画像を作成する。   In a preferred aspect of the present invention, when the highlighted thumbnail creating means includes a plurality of different search keywords in the text portion of the searched drawing, the different search keywords are displayed in different display forms as the keyword emphasized thumbnail image. Create an image that is highlighted.

また別の好適な態様では、前記コンピュータシステムを、図面中での検索キーワードの出現希望位置の指定を受け付ける位置指定手段、前記図面検索手段で検索された各図面に対して検索スコアを付与する手段であって、該検索スコアとして、前記検索キーワードの該図面中での位置と前記出現希望位置との距離を加味した値を求めるスコア付与手段、前記強調サムネイル作成手段により作成された各図面のキーワード強調サムネイル画像を前記スコア付与手段により付与されたスコアに従ってソートして示した検索結果一覧画面情報、を作成する検索結果作成手段、として更に機能させるプログラムを提供する。   In another preferred aspect, the computer system is a position specifying means for receiving specification of a desired appearance position of a search keyword in the drawing, and a means for giving a search score to each drawing searched by the drawing searching means. The scoring means for obtaining a value taking into account the distance between the position of the search keyword in the drawing and the desired appearance position as the search score, and the keyword of each drawing created by the emphasized thumbnail creation means There is provided a program for further functioning as search result creation means for creating search result list screen information obtained by sorting highlighted thumbnail images according to the score given by the score assignment means.

以下、図面を参照して、本発明を実施するための最良の形態(以下「実施形態」と呼ぶ)について説明する。   The best mode for carrying out the present invention (hereinafter referred to as “embodiment”) will be described below with reference to the drawings.

図1は本発明に係る図面検索システムの全体構成を示す機能ブロック図である。図1において、図面DB(データベース)10は、CADアプリケーション(図示省略)が作成した各図面の図面データが登録されたデータベースである。   FIG. 1 is a functional block diagram showing the overall configuration of a drawing retrieval system according to the present invention. In FIG. 1, a drawing DB (database) 10 is a database in which drawing data of each drawing created by a CAD application (not shown) is registered.

検索用情報作成部12は、図面DB10内の各図面データから、検索サービスのためのデータを作成する機能モジュールである。本実施形態では、検索用情報作成部12は、検索の対象とする図面データを図面DB10から取り出し、その図面データから、検索サービスのためのデータとして、検索結果の一覧表示等に用いる図面のサムネイル画像と、検索の際に用いる図面中のテキストデータ及びその位置の情報とを作成する。   The search information creation unit 12 is a functional module that creates data for a search service from each drawing data in the drawing DB 10. In the present embodiment, the search information creation unit 12 takes out drawing data to be searched from the drawing DB 10, and uses the drawing data as thumbnails for the search results as data for the search service. An image, text data in a drawing used for search, and information on its position are created.

まずサムネイル画像作成では、検索用情報作成部12は、図面データを元に図面の画像を生成し、その図面画像を縮小してサムネイル画像を作成する。このときの画像の縮小は、所定の縮小率で縮小(この場合、サムネイル画像の大きさは図面の大きさに比例する)するものでもよいし、所定の大きさに縮小(この場合縮小率は図面の大きさによって変わる)するものでもよい。いずれの縮小方式を用いる場合でも、検索用情報作成部12にはサムネイル画像作成時の画像の縮小率が判明している。   First, in thumbnail image creation, the search information creation unit 12 creates a drawing image based on the drawing data, and creates a thumbnail image by reducing the drawing image. The image may be reduced at a predetermined reduction rate (in this case, the thumbnail image size is proportional to the drawing size), or may be reduced to a predetermined size (in this case, the reduction rate is It may vary depending on the size of the drawing). Regardless of which reduction method is used, the search information creation unit 12 knows the reduction rate of the image when creating the thumbnail image.

このように作成されたサムネイル画像は、サムネイルDB14に登録される。サムネイルDB14には、作成されたサムネイル画像の画像データファイルが登録されると共に、それら画像データファイルの管理情報として、図2に示すようなテーブルが格納される。このテーブルにおいて、「図面ID」は、当該サムネイル画像が示す図面の識別情報であり、図面DB10内の図面データを一意に指し示す。また「サムネイルファイル」の項目には、当該サムネイル画像の画像データファイルを呼び出すためのファイル名或いはパスなどの情報が登録される。   The thumbnail image created in this way is registered in the thumbnail DB 14. In the thumbnail DB 14, image data files of created thumbnail images are registered, and a table as shown in FIG. 2 is stored as management information of the image data files. In this table, “drawing ID” is the identification information of the drawing indicated by the thumbnail image, and uniquely indicates the drawing data in the drawing DB 10. In the “thumbnail file” item, information such as a file name or a path for calling an image data file of the thumbnail image is registered.

また、テキストデータ及びその位置の情報の作成処理では、検索用情報作成部12は、まず図面データに含まれる各種オブジェクトの中からテキストオブジェクトを抽出する。テキストオブジェクトは、図面中に配置されたテキスト(文字列)のデータ(テキストデータ)と、図面中でのそのテキストの位置を示す位置データを含んでいるので、検索用情報作成部12は、図面から抽出した各テキストオブジェクトから、それらテキストデータ及び位置データを抽出する。また、検索用情報作成部12は、その位置データをサムネイル画像作成時の画像の縮小率を用いて換算することで、図面のサムネイル画像中でのテキストの位置のデータを作成する。こうして求められたテキストデータ、及びサムネイル画像中での当該テキストの位置データはテキスト情報DB16に登録される。   Further, in the process of creating text data and information on the position thereof, the search information creating unit 12 first extracts a text object from various objects included in the drawing data. The text object includes data (text data) of text (character string) arranged in the drawing and position data indicating the position of the text in the drawing. The text data and position data are extracted from each text object extracted from. Further, the search information creating unit 12 creates the data of the text position in the thumbnail image of the drawing by converting the position data using the image reduction ratio at the time of creating the thumbnail image. The text data thus obtained and the position data of the text in the thumbnail image are registered in the text information DB 16.

テキスト情報DB16に登録されるデータの例を図3に示す。この例では、1つのテキストオブジェクトごとに、「図面ID」、「テキスト」、及び「位置」の各データ項目を含んだレコードが作成される。「図面ID」の項目には、当該テキストオブジェクトが含まれている図面の図面IDが登録される。「テキスト」の項目には、当該テキストオブジェクトから抽出されたテキストデータが登録される。また「位置」の項目には、当該テキストオブジェクトのサムネイル画像中での位置データが登録される。図3では、テキストオブジェクトの「位置」として、テキストが配置される矩形領域の対角線上の2点の、サムネイル画像中での位置座標の組を用いた場合を例示している。なお、テキストオブジェクトの位置座標として、図面の縦及び横の長さをそれぞれ1とするなどして正規化した座標を用いれば、この位置座標の情報はサムネイル画像の大きさによらず利用でき、また図面自体における該テキストオブジェクトの位置の情報としても利用できる。   An example of data registered in the text information DB 16 is shown in FIG. In this example, a record including each data item of “drawing ID”, “text”, and “position” is created for each text object. In the “drawing ID” item, a drawing ID of a drawing including the text object is registered. In the item “text”, text data extracted from the text object is registered. In the “position” item, position data in the thumbnail image of the text object is registered. FIG. 3 illustrates a case where a set of position coordinates in the thumbnail image of two points on the diagonal line of the rectangular area where the text is arranged is used as the “position” of the text object. Note that if the coordinates normalized by setting the vertical and horizontal lengths of the drawing to 1 are used as the position coordinates of the text object, the information of the position coordinates can be used regardless of the size of the thumbnail image. It can also be used as information on the position of the text object in the drawing itself.

図3に例示したデータは図面中のテキストとサムネイル画像中でのその位置との対応関係を管理するためのものであるが、このほかに検索用の索引テーブルとして、図4に示すようなテーブルを作成し、テキスト情報DB16に登録しておくことも好適である。図4は、このような索引テーブルの一例を示す図である。図4の索引テーブルには、各図面データから抽出された各テキストが個々の索引語として登録され、各索引語ごとに、図面IDが示す図面がその索引語を含んでいれば「1」、含んでいなければ「0」の値が登録される。このような索引テーブルを作成して利用することで、ユーザが入力した検索キーワードを含んだ図面を高速に検索することができる。   The data illustrated in FIG. 3 is for managing the correspondence between the text in the drawing and its position in the thumbnail image. In addition to this, as a search index table, a table as shown in FIG. Is preferably created and registered in the text information DB 16. FIG. 4 is a diagram showing an example of such an index table. In the index table of FIG. 4, each text extracted from each drawing data is registered as an individual index word. For each index word, “1” if the drawing indicated by the drawing ID includes the index word, If not included, a value of “0” is registered. By creating and using such an index table, a drawing including a search keyword input by the user can be searched at high speed.

再び図1の説明に戻る。検索処理部18は、ユーザに対する図面検索サービスのための処理を行う機能モジュールである。検索処理部18は、以下に示すような検索サービスのための処理を、ウェブページやウェブサービスアプリケーション等の形で、インターネットやイントラネット上のユーザに提供することができる。   Returning to the description of FIG. The search processing unit 18 is a functional module that performs processing for a drawing search service for a user. The search processing unit 18 can provide a process for the search service as described below to a user on the Internet or an intranet in the form of a web page, a web service application, or the like.

検索処理部18は、まず、図5に例示するような検索条件指定用画面100を提供し、この画面を用いてユーザからの検索条件の入力を受け付ける。この検索条件指定用画面100は、キーワード指定欄110と図面向き指定欄120を含んでいる。   First, the search processing unit 18 provides a search condition designation screen 100 as illustrated in FIG. 5 and accepts input of search conditions from the user using this screen. This search condition designation screen 100 includes a keyword designation field 110 and a drawing orientation designation field 120.

キーワード指定欄110には、検索キーワードを入力するキーワード欄112が示される。複数の検索キーワードを受け付ける構成の場合は、キーワード欄112が複数設けられ、2番目以降のキーワード欄112には、それ以前のキーワード欄112に入力した検索キーワードとの論理関係(例えばAND条件なのかOR条件なのかなど)を指定する論理条件欄114が含まれる。   The keyword specification column 110 shows a keyword column 112 for inputting a search keyword. In the case of a configuration that accepts a plurality of search keywords, a plurality of keyword columns 112 are provided, and the second and subsequent keyword columns 112 have a logical relationship with the search keyword input in the previous keyword column 112 (for example, is an AND condition? A logical condition column 114 for designating whether the condition is an OR condition).

また、各キーワード欄112の近傍には、当該キーワード欄112に入力した検索キーワードが図面中のどのあたりの場所に現れて欲しいのかを指定するための画面を呼び出すための位置指定ボタン116が配置されている。位置指定ボタン116を、マウスのクリック等の操作によりユーザが選択すると、図6に示すような位置指定画面200がユーザに提供される。ユーザは、この画面200に示された図面外形イメージ210上で、マウス等のポインティングデバイスを操作することで、当該検索キーワードが出現して欲しい位置までカーソル212を移動させ、クリックなどの操作によりそのカーソルの位置を選択する。そして、選択した位置をキーワードの出現位置として指定する場合には、OKボタン220をマウス等の操作で押下すればよい。なお、取消ボタン222を押下すれば、指定された出現位置を取り消すことができる。なお、検索キーワードに対する出現位置の指定は必須ではない。   Further, in the vicinity of each keyword column 112, a position specifying button 116 for calling a screen for specifying where in the drawing the search keyword input in the keyword column 112 is to be displayed is arranged. ing. When the user selects the position specifying button 116 by an operation such as clicking the mouse, a position specifying screen 200 as shown in FIG. 6 is provided to the user. The user operates a pointing device such as a mouse on the drawing outline image 210 shown on the screen 200 to move the cursor 212 to a position where the search keyword is desired to appear. Select the cursor position. Then, when the selected position is designated as the keyword appearance position, the OK button 220 may be pressed with an operation of a mouse or the like. If the cancel button 222 is pressed, the specified appearance position can be canceled. It is not essential to specify the appearance position for the search keyword.

このようにして指定された出現位置の情報は、キーワード検索でピックアップされた図面の順位付けに利用できる。すなわち、ユーザが、自分の欲しい図面のどのあたりにどのようなテキストがあったかを印象として覚えている場合も多く、このような場合検索キーワードの出現位置を指定することができる。検索キーワードの位置がユーザが指定した出現位置に近い図面ほど、ユーザが望んでいる図面の可能性が高いと考えることができるので、検索された図面に対し検索キーワードの位置と指定された出現位置との距離に応じてスコア付け(順位付け)をすることができる。   Information on the appearance position designated in this way can be used for ranking the drawings picked up by the keyword search. That is, in many cases, the user remembers as to what kind of text there was in the drawing he / she wants, and in such a case, the appearance position of the search keyword can be designated. Since the drawing whose position of the search keyword is closer to the appearance position specified by the user is more likely to be the drawing that the user desires, the position of the search keyword and the appearance position specified for the searched drawing can be considered. Can be scored (ranked) according to the distance to

また、検索条件指定用画面100の図面向き指定欄120は、ユーザが欲しい図面の向きが縦なのか横なのかを指定するためのラジオボタン122,124を含んでいる。指定された図面の向きは、検索された図面に対するスコア付けに利用することができる。すなわち、キーワード検索で検索された図面の向きが、指定された向きに一致していると、その図面に対しては、指定された向きに一致していない場合よりもスコアが高くなる。なお、図面の向きの指定は必須ではなく、指定がない場合はスコアの計算の際に図面の向きが考慮されない。例えば、他の条件が同じ場合は、スコアは、指定の向きに一致するもの、指定のないもの、指定の向きに一致しないもの、の順に低くなる。   The drawing orientation designation field 120 of the search condition designation screen 100 includes radio buttons 122 and 124 for designating whether the orientation of the drawing desired by the user is vertical or horizontal. The specified drawing orientation can be used to score the retrieved drawings. That is, if the orientation of the drawing searched by the keyword search matches the designated orientation, the score is higher for that drawing than when the drawing does not match the designated orientation. Note that designation of the orientation of the drawing is not essential, and if there is no designation, the orientation of the drawing is not considered when calculating the score. For example, when the other conditions are the same, the score decreases in the order of matching with the specified direction, not specifying, and not matching with the specified direction.

以上のようにして検索キーワードやその出現位置、図面の向きなどの条件を指定した後、ユーザがOKボタン130を押下すると、検索処理部18はその条件に従って検索を実行する。この検索処理では、検索処理部18は、指定された検索キーワードを含む図面の図面IDを、テキスト情報DB16に登録されたデータから求める。検索条件が複数の検索キーワードの論理式で指定されている場合は、その論理式を満足する図面を検索する。検索処理部18は、このようにして検索された各図面の図面IDと、検索に用いた検索キーワードの情報を検索結果表示処理部20に渡す。また検索処理部18は、ユーザが指定した各検索キーワードの出現位置の情報や、図面の向きの情報も、検索結果表示処理部20に渡す。   After specifying the search keyword, its appearance position, drawing orientation, and other conditions as described above, when the user presses the OK button 130, the search processing unit 18 executes a search according to the conditions. In this search process, the search processing unit 18 obtains the drawing ID of the drawing including the designated search keyword from the data registered in the text information DB 16. If the search condition is specified by a logical expression of a plurality of search keywords, a drawing that satisfies the logical expression is searched. The search processing unit 18 passes the drawing ID of each drawing searched in this way and information on the search keyword used for the search to the search result display processing unit 20. The search processing unit 18 also passes information on the appearance position of each search keyword specified by the user and information on the orientation of the drawing to the search result display processing unit 20.

検索結果表示処理部20は、これらの情報に基づき、検索結果の一覧表示画面を作成し、ユーザに提供する。この処理のため、検索結果表示処理部20は、キーワード位置取得部22とサムネイル強調部24の2つの機能モジュールを含んでいる。   The search result display processing unit 20 creates a search result list display screen based on such information and provides it to the user. For this processing, the search result display processing unit 20 includes two functional modules, a keyword position acquisition unit 22 and a thumbnail enhancement unit 24.

キーワード位置取得部22は、検索により求められた各図面ごとに、その図面の図面IDと検索キーワードによりテキスト情報DB16の登録データ(図3参照)を検索し、当該図面のサムネイル画像におけるその検索キーワードの位置データを取得する。検索キーワードが複数ある場合は、各々についてこの位置取得処理が行われる。   The keyword position acquisition unit 22 searches the registered data (see FIG. 3) of the text information DB 16 for each drawing obtained by the search by using the drawing ID of the drawing and the search keyword, and the search keyword in the thumbnail image of the drawing. Get position data for. When there are a plurality of search keywords, this position acquisition process is performed for each.

そして、サムネイル強調部24は、検索された図面IDに対応するサムネイル画像をサムネイルDB14から取得し、そのサムネイル画像中のうちの位置データが示す部分(図3の例の場合矩形領域)を色づけするなど、位置データが示す部分を所定の表示形態に変えることにより強調する。検索キーワードが複数ある場合は、強調に用いる色などの表示形態を検索キーワードごとに変えることも好適である。検索結果表示処理部20は、検索された各図面に対し、上記のような強調処理によりキーワード部分が強調されたキーワード強調サムネイル画像を作成し、これらを並べた検索結果の一覧表示画面を生成する。   Then, the thumbnail emphasizing unit 24 acquires a thumbnail image corresponding to the searched drawing ID from the thumbnail DB 14, and colors a portion (rectangular region in the example of FIG. 3) indicated by the position data in the thumbnail image. For example, the portion indicated by the position data is emphasized by changing it to a predetermined display form. When there are a plurality of search keywords, it is also preferable to change a display form such as a color used for emphasis for each search keyword. The search result display processing unit 20 creates a keyword-enhanced thumbnail image in which the keyword portion is emphasized by the above-described enhancement process for each searched drawing, and generates a search result list display screen in which these are arranged. .

なお、本実施形態の検索結果表示処理部20は、この検索結果の一覧表示画面を生成する際、検索結果の各図面に対してスコアを付け、図面のサムネイル画像をそのスコアの高い順に並べる。スコアは、ユーザが指定したキーワード出現位置とその図面中での実際の検索キーワードとの間の距離が小さいほど値が大きくなり、またユーザが指定した図面の向きとその図面の向きが一致していると値が大きくなるような計算式に基づき求める。この計算式は予め実験などを行って求め、この計算式を実行するプログラムを検索結果表示処理部20の一機能として組み込んでおく。検索キーワードが複数指定された場合は、それら個々の検索キーワードについての距離をパラメータとする関数に基づきスコアを計算する。なお、ここでは位置と向きからスコアを求めたが、位置だけに基づきスコアを求めるような方式でもかなりの効果が期待できる。また、このような位置及び向きによるスコア計算だけでなく、従来の一般的なキーワード検索で用いられているスコア計算も併用し、総合的なスコアを求めるようにしてもよい。   When the search result display processing unit 20 of the present embodiment generates the search result list display screen, the search result display processing unit 20 assigns a score to each drawing of the search result, and arranges the thumbnail images of the drawings in descending order of the score. The score increases as the distance between the keyword appearance position specified by the user and the actual search keyword in the drawing decreases, and the orientation of the drawing specified by the user matches the orientation of the drawing. The value is calculated based on a formula that increases the value. This calculation formula is obtained in advance through experiments or the like, and a program for executing this calculation formula is incorporated as a function of the search result display processing unit 20. When a plurality of search keywords are specified, the score is calculated based on a function using the distance for each search keyword as a parameter. Although the score is obtained from the position and orientation here, a considerable effect can be expected even in a system that obtains the score based only on the position. Further, not only the score calculation based on the position and the orientation as described above, but also the score calculation used in the conventional general keyword search may be used together to obtain a total score.

図7はこのように作成された検索結果の一覧表示画面300の一例を示している。この一覧表示画面300には、検索された各図面のサムネイル画像310−1,2,・・・が、スコアの順に並べて表示される。各サムネイル画像310は、その中の検索キーワードの部分312が強調表示されている。一覧表示画面300の検索キーワード表示欄302には、どの検索キーワードがどの表示形態で強調されているかが示される。これには、例えば、検索キーワードの値と、その検索キーワードの強調に用いた色が示される。検索に用いられた検索キーワードが複数ある場合は、検索キーワードごとにその表示形態が例示される。また、一覧表示の並び順の決定の基礎とした、指定された検索キーワードの出現位置320及び図面の向き322も表示される。   FIG. 7 shows an example of the search result list display screen 300 created in this way. On the list display screen 300, thumbnail images 310-1, 2,... Of the searched drawings are displayed side by side in the order of scores. In each thumbnail image 310, a search keyword portion 312 is highlighted. The search keyword display field 302 of the list display screen 300 shows which search keyword is highlighted in which display form. This shows, for example, the value of the search keyword and the color used to highlight the search keyword. When there are a plurality of search keywords used for the search, the display form is exemplified for each search keyword. Further, the appearance position 320 of the designated search keyword and the orientation 322 of the drawing, which are the basis for determining the arrangement order of the list display, are also displayed.

ユーザは、このような一覧表示画面300により、検索された各図面のどこに検索キーワードがあるかを知ることができる。このような情報は、ユーザが所望の図面を見分ける際に有益な情報となる。また、本実施形態では、検索された図面を検索キーワードの位置や図面の向きに基づき順位付けし、その順位に従って各図面のサムネイル画像を配列表示するので、ユーザは、自分の希望に合致している可能性が高い図面から順に確認することができる。   The user can know where the search keyword exists in each searched drawing by using such a list display screen 300. Such information is useful information when the user identifies a desired drawing. Further, in this embodiment, the searched drawings are ranked based on the position of the search keyword and the orientation of the drawings, and the thumbnail images of each drawing are arranged and displayed according to the ranking, so that the user matches his / her desire. It can be confirmed in order from the drawings that are likely to be present.

なお各サムネイル画像310には、図面DB10内の図面データへのリンクが設定されており、ユーザがこの一覧表示画面300上で所望の図面を選択すると、それに対応する図面データを呼び出して表示することができる。また、各サムネイル画像310に対し、図面データのファイル名やその他の属性情報を併せて表示することも好適である。   Each thumbnail image 310 is set with a link to drawing data in the drawing DB 10, and when the user selects a desired drawing on the list display screen 300, the corresponding drawing data is called and displayed. Can do. It is also preferable to display the file name of drawing data and other attribute information together for each thumbnail image 310.

以上の例では、図面データに含まれるテキストオブジェクトごとに、そのテキストデータと位置データとをテキスト情報DB16に登録した。一般に図面中にはそれほど長い文字列を含んだテキストオブジェクトは含まれないと考えられるので、この方式でも十分であるが、長い文字列を含んだテキストオブジェクトが存在することを考慮する場合には、それに応じた対処が必要である。これには、従来の全文検索等の検索分野で用いられている手法を利用すればよい。すなわち、例えば図面データから抽出した各テキストオブジェクト中のテキストに対し、n−gram法などの手法を適用することで、各テキストオブジェクトに現れるテキストの部分列を索引語とした索引テーブルを作成し、これを用いて検索を行うようにすればよい。また、この場合、テキストオブジェクトから抽出した部分列ごとに、該テキストオブジェクトの位置情報と、その部分列がそのオブジェクトの全体の文字列のうちのどの位置範囲にあるかの情報から、その部分列のサムネイル画像中(あるいは図面中)での位置を求め、これを図3のようなテーブルに登録しておくことで、検索キーワードに該当する部分列の範囲を強調表示することができる。   In the above example, the text data and the position data are registered in the text information DB 16 for each text object included in the drawing data. In general, it is considered that text objects containing very long character strings are not included in the drawing, so this method is sufficient, but when considering that there are text objects containing long character strings, It is necessary to take measures accordingly. For this purpose, a technique used in a search field such as a conventional full-text search may be used. That is, for example, by applying a technique such as the n-gram method to the text in each text object extracted from the drawing data, an index table is created using the substrings of the text appearing in each text object as index words, The search may be performed using this. Further, in this case, for each partial sequence extracted from the text object, the partial sequence is determined from the position information of the text object and the information indicating which position range of the entire character string of the object is in the partial sequence. By obtaining the position in the thumbnail image (or in the drawing) and registering it in the table as shown in FIG. 3, the range of the substring corresponding to the search keyword can be highlighted.

また、以上の例では、検索キーワードが出現して欲しい位置をユーザに指定させ、これを検索結果の順位付けに用いたが、この他にもユーザに検索キーワードの出現範囲を指定させ、その中に検索キーワードが現れる図面のみに絞り込む方式も可能である。これには、例えば、図8に示すような位置指定画面400をユーザに提供する。この画面400に示された図面外形イメージ410は6つの領域に分割されており、ユーザはその中で検索キーワードが出現して欲しい範囲412をマウス等により選択する。そして、OKボタン420を押下することで、その範囲をキーワード出現希望範囲として指定することができる。検索結果表示処理部20は、検索処理部18が求めた検索結果の各図面のうち、検索キーワードがその出現希望範囲にあるもののみを選択して検索結果一覧表示画面に表示する。   In the above example, the user is allowed to specify the position where the search keyword should appear, and this is used to rank the search results. In addition to this, the user is allowed to specify the search keyword appearance range. A method of narrowing down only to drawings in which a search keyword appears is also possible. For this, for example, a position designation screen 400 as shown in FIG. 8 is provided to the user. The drawing outline image 410 shown on the screen 400 is divided into six areas, and the user selects a range 412 in which the search keyword is desired to appear by using a mouse or the like. Then, by pressing an OK button 420, the range can be designated as a desired keyword appearance range. The search result display processing unit 20 selects and displays only the search keyword within the desired appearance range from the drawings of the search results obtained by the search processing unit 18 on the search result list display screen.

以上に説明した図面検索システムは、汎用のコンピュータシステムに対し、上記各機能モジュールの機能を記述したプログラムを実行させることによって実現することができる。   The drawing retrieval system described above can be realized by causing a general-purpose computer system to execute a program that describes the function of each functional module.

本発明に係る図面検索システムの全体構成を示す機能ブロック図である。1 is a functional block diagram showing an overall configuration of a drawing retrieval system according to the present invention. サムネイルDBに登録されるデータの例を示す図である。It is a figure which shows the example of the data registered into thumbnail DB. テキスト情報DBに登録されるデータの例を示す図である。It is a figure which shows the example of the data registered into text information DB. 索引データのデータ内容の一例を示す図である。It is a figure which shows an example of the data content of index data. 検索条件指定用画面の一例を示す図である。It is a figure which shows an example of the screen for search condition designation | designated. 位置指定画面の一例を示す図である。It is a figure which shows an example of a position designation screen. 検索結果の一覧表示画面の一例を示す図である。It is a figure which shows an example of the list display screen of a search result. 位置指定画面の別の例を示す図である。It is a figure which shows another example of a position designation screen.

符号の説明Explanation of symbols

10 図面DB、12 検索用情報作成部、14 サムネイルDB、16 テキスト情報DB、18 検索処理部、20 検索結果表示処理部、22 キーワード位置取得部、24 サムネイル強調部。   10 drawing DB, 12 search information creation unit, 14 thumbnail DB, 16 text information DB, 18 search processing unit, 20 search result display processing unit, 22 keyword position acquisition unit, 24 thumbnail enhancement unit.

Claims (7)

コンピュータシステムを、
与えられた検索キーワードをテキスト部分に含んだ図面を検索する図面検索手段、
該図面検索手段で検索された図面中での前記検索キーワードの位置を求める位置取得手段、
前記図面検索手段で検索された図面のサムネイル画像と前記位置取得手段で求められた前記検索キーワードの位置の情報に基づき、該サムネイル画像中の前記検索キーワードの部分を強調して示すキーワード強調サムネイル画像を作成し、検索結果表示のために供する強調サムネイル作成手段、
として機能させるためのプログラム。
Computer system
A drawing search means for searching for a drawing including the given search keyword in the text portion;
Position acquisition means for determining the position of the search keyword in the drawings searched by the drawing search means;
A keyword-enhanced thumbnail image that highlights a portion of the search keyword in the thumbnail image based on the thumbnail image of the drawing searched by the drawing search unit and the position information of the search keyword obtained by the position acquisition unit Creating highlighted thumbnails for display of search results,
Program to function as.
前記強調サムネイル作成手段は、前記検索された図面のテキスト部分に複数の異なる検索キーワードが含まれる場合、前記キーワード強調サムネイル画像として、それら異なる検索キーワードを異なる表示形態で強調して示す画像を作成する、ことを特徴とする請求項1記載のプログラム。   The emphasized thumbnail creating means creates an image that highlights different search keywords in different display forms as the keyword emphasized thumbnail images when a plurality of different search keywords are included in the text portion of the searched drawing. The program according to claim 1. 前記コンピュータシステムを、
図面中での検索キーワードの出現希望位置の指定を受け付ける位置指定手段、
前記図面検索手段で検索された各図面に対して検索スコアを付与する手段であって、該検索スコアとして、前記検索キーワードの該図面中での位置と前記出現希望位置との距離を加味した値を求めるスコア付与手段、
前記強調サムネイル作成手段により作成された各図面のキーワード強調サムネイル画像を前記スコア付与手段により付与されたスコアに従ってソートして示した検索結果一覧画面情報、を作成する検索結果作成手段、
として更に機能させることを特徴とする請求項1又は2に記載の記載のプログラム。
The computer system;
Position designation means for accepting designation of a desired appearance position of a search keyword in the drawing;
A means for assigning a search score to each drawing searched by the drawing search means, wherein the search score is a value that takes into account the distance between the position of the search keyword in the drawing and the desired appearance position Scoring means for seeking,
Search result creation means for creating search result list screen information obtained by sorting the keyword emphasized thumbnail images of each drawing created by the emphasized thumbnail creation means according to the score given by the score assigning means;
The program according to claim 1, further functioning as a program.
前記コンピュータシステムを、
図面ごとに、その図面に含まれる各テキスト部分について、該テキスト部分のテキストデータと、該図面における該テキスト部分の位置データと、を対応づけて記憶したテキスト情報データベース、
として更に機能させると共に、
前記図面検索手段は、前記テキスト情報データベースに登録された各図面のテキストデータから前記検索キーワードを含むものを求め、求められたテキストデータに対応する図面を検索結果として求め、
前記位置取得手段は、前記図面検索手段により前記検索キーワードを含むものとして求められたテキストデータに対応づけられた位置データを前記テキスト情報データベースから求める、
ことを特徴とする請求項1〜3のいずれか1項に記載のプログラム。
The computer system;
A text information database that stores, for each drawing, the text data of the text portion and the position data of the text portion in the drawing in association with each text portion included in the drawing;
And further function as
The drawing search means obtains the search keyword including the search keyword from the text data of each drawing registered in the text information database, obtains a drawing corresponding to the obtained text data as a search result,
The position acquisition means obtains position data associated with the text data obtained by the drawing search means as including the search keyword from the text information database.
The program according to any one of claims 1 to 3.
前記コンピュータシステムを、
与えられた各図面の図面データからテキストオブジェクトを抽出し、抽出したテキストオブジェクトからテキストデータ及び該オブジェクトの該図面内での位置情報を抽出し、該位置情報に基づき求めた該テキストオブジェクトの位置データと前記テキストデータとを、該図面が含むテキスト部分の情報として互いに対応づけてテキスト情報データベースに記憶する手段、
として更に機能させることを特徴とする請求項4記載のプログラム。
The computer system;
The text object is extracted from the drawing data of each given drawing, the text data and the position information of the object in the drawing are extracted from the extracted text object, and the position data of the text object obtained based on the position information And means for storing the text data in a text information database in association with each other as information of a text part included in the drawing,
The program according to claim 4, further functioning as:
与えられた検索キーワードをテキスト部分に含んだ図面を検索する図面検索手段と、
該図面検索手段で検索された図面中での前記検索キーワードの位置を求める位置取得手段と、
前記図面検索手段で検索された図面のサムネイル画像と前記位置取得手段で求められた前記検索キーワードの位置の情報に基づき、該サムネイル画像中の前記検索キーワードの部分を強調して示すキーワード強調サムネイル画像を作成し、検索結果表示のために供する強調サムネイル作成手段と、
を備える図面検索装置。
A drawing search means for searching for a drawing including a given search keyword in a text part;
Position acquisition means for determining the position of the search keyword in the drawing searched by the drawing search means;
A keyword-enhanced thumbnail image that highlights a portion of the search keyword in the thumbnail image based on the thumbnail image of the drawing searched by the drawing search unit and the position information of the search keyword obtained by the position acquisition unit Creating thumbnails that are used to display search results,
A drawing retrieval apparatus comprising:
テキストデータ部分に検索キーワードを含んだ図面を検索し、検索された図面のサムネイル画像を表示する図面検索システムにおいて、
前記検索された図面のサムネイル画像として、該図面中での前記検索キーワードの位置を強調して示したサムネイル画像を表示することを特徴とする図面検索結果表示方法。
In a drawing search system for searching for a drawing including a search keyword in a text data portion and displaying a thumbnail image of the searched drawing,
A drawing search result display method, wherein a thumbnail image showing the position of the search keyword in the drawing is displayed as a thumbnail image of the searched drawing.
JP2004136355A 2004-04-30 2004-04-30 Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result Pending JP2005316881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004136355A JP2005316881A (en) 2004-04-30 2004-04-30 Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004136355A JP2005316881A (en) 2004-04-30 2004-04-30 Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result

Publications (1)

Publication Number Publication Date
JP2005316881A true JP2005316881A (en) 2005-11-10

Family

ID=35444211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004136355A Pending JP2005316881A (en) 2004-04-30 2004-04-30 Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result

Country Status (1)

Country Link
JP (1) JP2005316881A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249552A (en) * 2006-03-15 2007-09-27 Mazda Motor Corp Information management method, information management system, program, information management device
JP2007334754A (en) * 2006-06-16 2007-12-27 Mitsubishi Electric Corp Drawing data management system
JP2009003536A (en) * 2007-06-19 2009-01-08 Panasonic Electric Works Co Ltd Design drawing management system
CN101226729B (en) * 2007-01-16 2010-06-09 索尼爱立信移动通信日本株式会社 Display controller, display control method, and mobile terminal device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007249552A (en) * 2006-03-15 2007-09-27 Mazda Motor Corp Information management method, information management system, program, information management device
JP2007334754A (en) * 2006-06-16 2007-12-27 Mitsubishi Electric Corp Drawing data management system
CN101226729B (en) * 2007-01-16 2010-06-09 索尼爱立信移动通信日本株式会社 Display controller, display control method, and mobile terminal device
JP2009003536A (en) * 2007-06-19 2009-01-08 Panasonic Electric Works Co Ltd Design drawing management system

Similar Documents

Publication Publication Date Title
US20080275850A1 (en) Image tag designating apparatus, image search apparatus, methods of controlling operation of same, and programs for controlling computers of same
US20080021891A1 (en) Searching a document using relevance feedback
AU2016201273B2 (en) Recommending form fragments
WO2015084759A1 (en) Systems and methods for in-memory database search
US20080104040A1 (en) Visually intuitive search method
US20160283564A1 (en) Predictive visual search enginge
JP2004220215A (en) Operation guide and support system and operation guide and support method using computer
US20120179709A1 (en) Apparatus, method and program product for searching document
JP2011076396A (en) Metadata setting method, metadata setting system and program
US10120937B2 (en) Method and system for masking and filtering web contents and computer program product
JP2010049372A (en) Content search apparatus
KR100609022B1 (en) Method for image retrieval using spatial relationships and annotation
US9773000B2 (en) Knowledge object and collaboration management system
JP2005316881A (en) Program for drawing retrieval, drawing retrieval device, and method for displaying drawing retrieval result
JP2007279978A (en) Document retrieval device and document retrieval method
JP2005128872A (en) Document retrieving system and document retrieving program
JP5127553B2 (en) Information processing apparatus, information processing method, program, and recording medium
JP2007233752A (en) Retrieval device, computer program and recording medium
JP6707410B2 (en) Document search device, document search method, and computer program
JP5826148B2 (en) Drawing management server and drawing management system using the same
KR20110053133A (en) Method and apparatus for presenting of data
US10699678B2 (en) System and method for generating interactive layers over the display of a resource by another application
JP6534454B2 (en) INFORMATION SEARCH METHOD, INFORMATION SEARCH DEVICE, AND INFORMATION SEARCH SYSTEM
KR101078966B1 (en) System for analyzing documents
JP2007122258A (en) Data search device, data search program or data search method