JP2010128682A - Graphic component search system, method, and program - Google Patents

Graphic component search system, method, and program Download PDF

Info

Publication number
JP2010128682A
JP2010128682A JP2008301144A JP2008301144A JP2010128682A JP 2010128682 A JP2010128682 A JP 2010128682A JP 2008301144 A JP2008301144 A JP 2008301144A JP 2008301144 A JP2008301144 A JP 2008301144A JP 2010128682 A JP2010128682 A JP 2010128682A
Authority
JP
Japan
Prior art keywords
graphic
search
information
graphic element
search result
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
JP2008301144A
Other languages
Japanese (ja)
Inventor
Tomohiro Kudo
智広 工藤
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2008301144A priority Critical patent/JP2010128682A/en
Publication of JP2010128682A publication Critical patent/JP2010128682A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve a problem that a graphic component intended by a user cannot be reused without requiring extra work in graphic component search. <P>SOLUTION: The graphic component search system is used for searching for the graphic component in which graphic elements which are the components used for editing graphics and the element constituting the graphics are combined. The graphic component search system includes a graphic component extraction means to extract, among the graphic components registered in advance, the graphic component according to conditions indicated by a search key which is a key for searching for the graphic component, and includes the graphic element, and a search results generating means to generate search result graphic element information which is the graphic component replacing the graphic element among the graphic element contained in the extracted graphic component and unmatched with the graphic element contained in the search key with the graphic element contained in the search key. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、図面作成に用いる図形部品を検索する図形部品検索システム、図形部品検索方法、及び図形部品検索プログラムに関する。   The present invention relates to a graphic component search system, a graphic component search method, and a graphic component search program for searching for a graphic component used for drawing creation.

矩形や円などの図形、図形間の結線、及び図形や結線に付随するテキストから構成される図面を作成することがある。このような図面の例として、UML(Unified Modeling Language)図があげられる。なお、図面を構成する図形、結線、及びテキストを、以下、図形要素と呼ぶ。   A drawing composed of a figure such as a rectangle or a circle, a connection between figures, and a text accompanying the figure or the connection may be created. As an example of such a drawing, there is a UML (Unified Modeling Language) diagram. In addition, the figure, connection, and text which comprise drawing are hereafter called a graphic element.

このような図面を作成するためには、図形要素を組み合わせる必要があるが、あらかじめ図形要素を組み合わせたものを部品として登録しておき、図面を作成する際にこの部品を選択して再利用することにより、図面作成作業を効率化することができる。以下、こうした部品を図形部品と呼ぶ。   In order to create such a drawing, it is necessary to combine graphic elements. However, a combination of graphic elements must be registered in advance as a part, and this part can be selected and reused when creating a drawing. As a result, the drawing creation work can be made more efficient. Hereinafter, such parts are referred to as graphic parts.

図形部品を再利用することによる利点は、以下の通りである。まず、複雑な図面を作成する場合、多数の図形要素を作成・配置するために、多くの作業量を必要とする。これに対して、図形部品を再利用することにより、少ない作業量で複雑な図面の作成が可能となる。また、図面には、通常、内容のわかりやすさ等といった高い品質が要求されるが、品質の高い図面を作成するには、表記方法の知識やノウハウが必要であり、初心者と熟練者では品質に大きな差異が生じることになる。これに対して、熟練者の作成する図面をパターン化し、図形部品として再利用することにより、初心者でも質の高い図面の作成が可能となる。   The advantages of reusing graphic parts are as follows. First, when creating a complex drawing, a large amount of work is required to create and arrange a large number of graphic elements. On the other hand, by reusing graphic parts, it is possible to create a complex drawing with a small amount of work. In addition, drawings usually require high quality such as easy-to-understand contents, but in order to create high-quality drawings, knowledge and know-how of notation methods are required. There will be a difference. On the other hand, even a beginner can create a high-quality drawing by patterning a drawing created by an expert and reusing it as a graphic part.

図形部品検索システムの一例が、特許文献1及び特許文献2に記載されている。特許文献1に記載されたシステムは、図13に示すように、入力装置10と、データ処理装置20と、表示装置30と、図形部品情報格納部40とを含む。また、データ処理装置20は、さらに、入力情報解析部21と、図形情報比較判定部22と、検索結果表示部23とを含む。   An example of a graphic part search system is described in Patent Literature 1 and Patent Literature 2. As shown in FIG. 13, the system described in Patent Document 1 includes an input device 10, a data processing device 20, a display device 30, and a graphic part information storage unit 40. The data processing device 20 further includes an input information analysis unit 21, a graphic information comparison / determination unit 22, and a search result display unit 23.

このような構成を有する特許文献1に記載されたシステムは、次のように動作する。まず、利用者が入力装置10により検索キー(以下、図形部品検索において、検索のキーとなる情報を検索キーという)となる図形要素情報を1個以上入力すると、入力情報解析部21は、入力内容を解析する。続いて、図形情報比較判定部22は、検索キーとなる図形要素情報と図形部品情報格納部40に格納された図形部品とを比較し、検索キーとなる図形要素情報を含む図形部品、あるいは、類似度の高い図形部品を検索結果(以下、図形部品検索において、検索キーに基づいて検索された結果を示す情報を検索結果という)とする。最後に、図形結果表示部23は、検索結果を表示装置30に表示する。   The system described in Patent Document 1 having such a configuration operates as follows. First, when the user inputs one or more pieces of graphic element information as a search key (hereinafter, information used as a search key in a graphic part search is referred to as a search key) by the input device 10, the input information analysis unit 21 inputs Analyze the contents. Subsequently, the graphic information comparison / determination unit 22 compares the graphic element information serving as the search key with the graphic component stored in the graphic component information storage unit 40, and includes the graphic component including the graphic element information serving as the search key, or A graphic part having a high degree of similarity is set as a search result (hereinafter, information indicating a result of searching based on a search key in the graphic part search is referred to as a search result). Finally, the graphic result display unit 23 displays the search result on the display device 30.

特許文献2に記載されたシステムは、図14に示すように、端末51と、コンピュータ52と、補助記憶装置54とを含む。また、コンピュータ25は、さらに、主記憶装置53と、編集処理部55と、編集情報登録処理部56と、画面パターン登録処理部57と、対象画面表示処理部58と、編集画面切替処理部59とを含む。   As shown in FIG. 14, the system described in Patent Document 2 includes a terminal 51, a computer 52, and an auxiliary storage device 54. Further, the computer 25 further includes a main storage device 53, an editing processing unit 55, an editing information registration processing unit 56, a screen pattern registration processing unit 57, a target screen display processing unit 58, and an editing screen switching processing unit 59. Including.

このような構成を有する特許文献2に記載されたシステムは、次のように動作する。まず、部品の登録は以下のように行われる。利用者が編集処理部55を利用して図形を作成すると、編集情報登録処理部56は、同図形と同図形に隣接する既存の図形の情報から編集情報を生成し、主記憶装置53上の編集情報テーブル53aに登録する。図面の編集終了時には、図形パターン登録処理部57は、編集情報と図面の識別情報とを対応付けて図面情報を生成し、補助記憶装置54上の図面情報ファイル54aに登録する。   The system described in Patent Document 2 having such a configuration operates as follows. First, registration of parts is performed as follows. When the user creates a graphic using the editing processing unit 55, the editing information registration processing unit 56 generates editing information from information on the existing graphic adjacent to the same graphic and the same on the main storage device 53. Register in the editing information table 53a. At the end of drawing editing, the graphic pattern registration processing unit 57 generates drawing information by associating the editing information with the drawing identification information, and registers the drawing information in the drawing information file 54 a on the auxiliary storage device 54.

続いて、部品の検索及び利用は以下のように行われる。利用者が編集中の図面の一部領域を検索キーとして指定すると、対象画面表示処理部58は、指定した領域と同じ図形構成を持つ図面を図面情報ファイル54aから全て読み出して(抽出して)画面に表示する。利用者が表示された図面のうちから、いずれかを選択すると、編集画面切替部59は、編集情報テーブル53aの内容を選択した図面の編集情報テーブル53aの内容に置き換えることで編集中の図面に反映させる。   Subsequently, the search and use of parts is performed as follows. When the user designates a partial area of the drawing being edited as a search key, the target screen display processing unit 58 reads (extracts) all the drawings having the same graphic configuration as the designated area from the drawing information file 54a. Display on the screen. When the user selects one of the displayed drawings, the editing screen switching unit 59 replaces the content of the editing information table 53a with the content of the editing information table 53a of the selected drawing, thereby changing to the drawing being edited. To reflect.

このように、特許文献1及び特許文献2に記載されたシステムでは、図面の編集中に、検索キーとして1個以上の図形要素を指定することができ、検索キーに対して、登録されている図形部品群の中からある検索条件を満たすものを検索結果として取り出して表示することができる。   As described above, in the systems described in Patent Document 1 and Patent Document 2, one or more graphic elements can be designated as a search key during editing of a drawing, and registered with the search key. Those that satisfy a certain search condition from the group of graphic parts can be extracted and displayed as search results.

特許文献2に記載されたシステムでは、さらに、表示された検索結果の中から利用者が所望のものを選択することができ、その選択した結果の情報を図面に反映させることで、図形部品を再利用できるようになっている。ここで、特許文献1及び特許文献2に記載されたシステムのいずれにおいても、図形部品を検索する際の検索キーとして、図形要素を指定するようになっている。これにより、図形部品を登録したり検索したりする際に、別途キーワード等のような情報を指定する必要がなくなる。そのため、図形部品登録・検索に必要な作業量を減らせるとともに、検索を成功させるためのキーワードの適切な設定が難しいという問題を解決している。   In the system described in Patent Document 2, the user can select a desired one from the displayed search results, and by reflecting the information of the selected result on the drawing, the graphic part can be displayed. It can be reused. Here, in any of the systems described in Patent Document 1 and Patent Document 2, a graphic element is designated as a search key when searching for graphic parts. This eliminates the need to separately specify information such as keywords when registering or searching for graphic parts. This reduces the amount of work required for graphic part registration / search and solves the problem that it is difficult to appropriately set keywords for successful search.

なお、このように図形要素を検索キーとして利用した場合の検索では、一般に、まず、検索キーに含まれる図形要素群と図形部品に含まれる図形要素群との間で対応付く図形要素の組を見つける。そして、見つかった対応の種類や個数が特定の条件を満たしている場合、該当する図形部品を検索結果に含める。実際に、特許文献1及び特許文献2に記載されたシステムのいずれにおいても、検索時に同様の処理が行われている。   In the case of using a graphic element as a search key in this way, in general, first, a set of graphic elements that correspond between the graphic element group included in the search key and the graphic element group included in the graphic part is first determined. locate. If the type and number of correspondences found satisfy a specific condition, the corresponding graphic part is included in the search result. Actually, in any of the systems described in Patent Literature 1 and Patent Literature 2, the same processing is performed at the time of retrieval.

特開平7−271810号公報JP-A-7-271810 特開平7−296046号公報JP 7-296046 A

図形部品を検索する際の図形要素の対応付けにおいて、図形要素間が完全な一致ではなく部分的な一致でも対応付くと判定した場合に、図形部品の再利用により、図面上にある図形要素の項目の内容が上書きされてしまうことがある。   In the mapping of graphic elements when searching for graphic parts, if it is determined that even if the graphic elements are not completely matched but can be matched partially, the graphic elements in the drawing can be re-used by reusing the graphic parts. The contents of items may be overwritten.

図形部品検索において、図形要素間の対応付けを見つける際に、図形要素が持つすべての項目が完全に一致しない場合でも図形要素間を対応付ける方が実用的である。何故なら、検索時に図形部品が持っている項目の内容とまったく同一の内容を指定しなければならないとすれば、目的とする図形部品を検索することが困難になってしまうからである。例えば、通常、図形要素の種別の一致と図形要素の色の一致とを考えた場合、色の一致よりも種別の一致の方が優先度が高いと考えられ、色が一致しない場合でも種別が一致すれば両者が対応付いているとみなした方が望ましい。   In finding a correspondence between graphic elements in a graphic part search, it is more practical to associate graphic elements even if all items of the graphic elements do not completely match. This is because it becomes difficult to search for a target graphic part if it is necessary to specify exactly the same contents as the contents of the graphic part when searching. For example, when considering the matching of graphic element types and the matching of graphic element colors, the type matching is considered to have a higher priority than the color matching. If they match, it is better to consider that both correspond.

特許文献1又は特許文献2に記載されたシステムにおいて、このような部分的な一致を考慮した検索方式を用いるように構成することが考えられる。しかし、具体的にどの項目が一致しているのかを意識して、検索結果の表示及び再利用を実施する構成になっていないため、検索結果の図形部品が有する情報をすべて利用して表示・再利用を行っている。すなわち、それまでの編集内容にかかわらず、画一的に図形部品の内容に書き換えられてしまう。このことから、図形部品を再利用して図面に組み込んだ時に一致しなかった項目であっても図形部品が持っていた項目の内容に上書きされてしまい、これまでの図面の編集によって指定した結果が上書きされてしまう。   It is conceivable that the system described in Patent Document 1 or Patent Document 2 is configured to use a search method that considers such partial matching. However, since it is not configured to display and reuse search results, conscious of which items specifically match, display and display all the information held in the graphic parts of the search results. We are reusing. That is, regardless of the editing contents so far, the contents of the graphic parts are rewritten uniformly. As a result, even if an item that did not match when the graphic part was reused and incorporated into the drawing, the content of the item that the graphic part had was overwritten, and the result specified by editing the drawing so far Will be overwritten.

例えば、検索キーとして指定した図面上のある図形要素と、図形部品のある図形要素とが色以外の項目の一致により対応付けられ、該当する図形部品が再利用された場合、色の情報が図形部品の項目の内容で上書きされてしまい、色まで変更する必要がないにもかかわらず、設定した色が変更される。こうした場合、利用者が手動で色を元に戻す必要があり余計な作業が発生してしまう。   For example, if a graphic element on a drawing specified as a search key is associated with a graphic element with a graphic part by matching an item other than color, and the corresponding graphic part is reused, the color information The set color is changed even though it is overwritten with the contents of the item of the part and there is no need to change the color. In such a case, it is necessary for the user to manually restore the color, and extra work occurs.

そこで、本発明は、余計な作業を発生させることなく、利用者の意図する図形部品の再利用をすることができる図形部品検索システム、図形部品検索方法、及び図形部品検索プログラムを提供することを目的とする。   Therefore, the present invention provides a graphic component search system, a graphic component search method, and a graphic component search program capable of reusing a graphic component intended by a user without causing unnecessary work. Objective.

本発明による図形部品検索システムは、図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索する図形部品検索システムであって、予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って図形部品を抽出する図形部品抽出手段と、抽出した図形部品に含まれる図形要素のうち、検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成手段とを含むことを特徴とする。   A graphic component search system according to the present invention is a graphic component search system for searching a graphic component which is a component used for editing a graphic and is a combination of graphic elements constituting a graphic, and is registered in advance. A key for searching for a graphic part and a graphic part extracting means for extracting the graphic part in accordance with a condition indicated by the search key including the graphic element, and a search key among the graphic elements included in the extracted graphic part And a search result generating means for generating search result graphic element information which is a graphic part obtained by replacing a graphic element which does not match the graphic element included in the graphic element included in the search key.

本発明による図形部品検索方法は、図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索する図形部品検索方法であって、予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って図形部品を抽出する図形部品抽出ステップと、抽出した図形部品に含まれる図形要素のうち、検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成ステップとを含むことを特徴とする。   A graphic component search method according to the present invention is a graphic component search method for searching for a graphic component that is a component used for editing a graphic and that is a combination of graphic elements that constitute a graphic, and is registered in advance. A graphic part extraction step for extracting a graphic part according to a condition indicated by a search key including a graphic element, which is a key for searching for a graphic part, and a search key among the graphic elements included in the extracted graphic part A search result generation step of generating search result graphic element information which is a graphic part obtained by replacing a graphic element which does not match the graphic element included in the graphic element included in the search key.

本発明による図形部品検索プログラムは、図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索させるための図形部品検索プログラムであって、コンピュータに、予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って図形部品を抽出する図形部品抽出処理と、抽出した図形部品に含まれる図形要素のうち、検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成処理とを実行させるためのものである。   A graphic component search program according to the present invention is a graphic component search program for causing a computer to search for a graphic component that is a component that is used for editing a graphic and that is a combination of graphic elements that constitute a graphic. A graphic part extraction process that extracts a graphic part from the registered graphic parts according to the conditions indicated by the search key including the graphic element, which is a key for searching the graphic part, and the graphic element included in the extracted graphic part A search result generation process for generating search result graphic element information which is a graphic part obtained by replacing a graphic element included in the search key with a graphic element included in the search key. Is.

本発明によれば、余計な作業を発生させることなく、利用者の意図する図形部品の再利用をすることができる。   According to the present invention, it is possible to reuse a graphic part intended by a user without generating extra work.

(第1の実施形態)
以下、本発明の実施形態について図面を参照して説明する。図1は、本発明による図形部品検索システムの機能構成の一例を示す機能ブロック図である。図1に示すように、図形部品検索システムは、図面編集手段1と、検索キー格納手段2と、図形部品抽出手段3と、図形部品格納手段4と、検索結果生成手段5と、対応結果格納手段6と、検索結果格納手段7と、検索結果表示手段8と、検索結果再利用手段9とを含む。なお、図形部品検索システムは、具体的には、例えば、パーソナルコンピュータ等の情報処理装置によって実現される。なお、図形部品検索システムは、1つの情報処理装置によって実現されてもよく、複数の情報処理装置を用いて実現されてもよい。
(First embodiment)
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing an example of a functional configuration of a graphic parts retrieval system according to the present invention. As shown in FIG. 1, the graphic part search system includes a drawing editing means 1, a search key storage means 2, a graphic part extraction means 3, a graphic part storage means 4, a search result generation means 5, and a correspondence result storage. Means 6, search result storage means 7, search result display means 8, and search result reuse means 9 are included. The graphic component search system is specifically realized by an information processing apparatus such as a personal computer. Note that the graphic component search system may be realized by one information processing apparatus or may be realized by using a plurality of information processing apparatuses.

本実施形態において、図面部品検索システムは、例えば、UMLを用いたオブジェクト指向ソフトウェアの開発の用途に適用される。また、例えば、CADソフトウェアを用いた図面作成等の用途に適用されてもよい。   In the present embodiment, the drawing component retrieval system is applied to, for example, an application for developing object-oriented software using UML. For example, the present invention may be applied to uses such as drawing creation using CAD software.

図面編集手段1は、具体的には、プログラムに従って動作する情報処理装置のCPU及びマウスやキーボード、タッチパネル等の入力装置によって実現される。図面編集手段1は、利用者の操作に従って、図面を作成したり編集したりする処理を行う機能を備えている。図面編集手段1は、利用者が図面上の一部又は全部の図形要素を指定すると、利用者が指定した図形要素を示す情報を図形部品を検索するための検索キーとして入力し、検索キー格納手段2に格納させる機能を備えている。   Specifically, the drawing editing unit 1 is realized by a CPU of an information processing apparatus that operates according to a program and an input device such as a mouse, a keyboard, and a touch panel. The drawing editing means 1 has a function of performing processing for creating and editing a drawing in accordance with a user operation. When the user specifies a part or all of the graphic elements on the drawing, the drawing editing means 1 inputs information indicating the graphic element specified by the user as a search key for searching for graphic parts, and stores the search key. A function to be stored in the means 2 is provided.

検索キー格納手段2は、具体的には、磁気ディスクや光ディスク等の記憶装置によって実現される。検索キー格納手段2は、図面編集手段1が入力した検索キーを格納する。   Specifically, the search key storage means 2 is realized by a storage device such as a magnetic disk or an optical disk. The search key storage unit 2 stores the search key input by the drawing editing unit 1.

図形部品抽出手段3は、具体的には、プログラムに従って動作する情報処理装置のCPUによって実現される。図形部品抽出手段3は、検索キー格納手段から検索キーを取り出し(抽出し)、図形部品格納手段が格納する各図形部品の中から、抽出した検索キーと対応付けることができる図形部品を抽出する機能を備えている。また、図形部品抽出手段3は、その結果(以下、対応結果という)を対応結果格納手段6に格納させる機能を備えている。   Specifically, the graphic component extraction means 3 is realized by a CPU of an information processing apparatus that operates according to a program. The graphic part extraction unit 3 extracts (extracts) a search key from the search key storage unit, and extracts a graphic part that can be associated with the extracted search key from each graphic part stored in the graphic part storage unit. It has. Further, the graphic part extracting unit 3 has a function of storing the result (hereinafter referred to as a correspondence result) in the correspondence result storage unit 6.

また、図形部品抽出手段3は、検索キーと同一図形部品との間で複数の対応方法があれば、それらを別々のものとして取り扱う機能を備えている。例えば、図形部品抽出手段3は、検索キーのある図形要素が同一の図形部品中の複数の図形要素に対応付けることができる場合には、それぞれの図形要素について対応付けた場合の対応結果を抽出する。   Moreover, if there are a plurality of correspondence methods between the search key and the same graphic component, the graphic component extracting means 3 has a function of handling them as separate items. For example, when the graphic element having the search key can be associated with a plurality of graphic elements in the same graphic part, the graphic part extracting unit 3 extracts a corresponding result when the graphic elements are associated with each other. .

特許文献1又は特許文献2に記載されたシステムでは、検索キーと同一図形部品との間で複数個の対応方法(以下、検索キーと同一図形部品との組み合わせ方を対応方法という)があった場合でも、それぞれの対応方法に対応した結果が表示されない。そのため、図形部品を選択して再利用することができず、利用者の意図する再利用方法が実現されないという問題がある。   In the system described in Patent Literature 1 or Patent Literature 2, there are a plurality of correspondence methods between search keys and the same graphic component (hereinafter, the combination of the search key and the same graphic component is referred to as the correspondence method). Even in this case, the result corresponding to each handling method is not displayed. Therefore, there is a problem that the graphic part cannot be selected and reused, and the reuse method intended by the user is not realized.

例えば、検索キーに含まれるある1個の図形要素に対して、同一図形部品内にその図形要素と対応付く図形要素が複数ある場合を考えることができる。この場合、検索キーに含まれる方の図形要素が、図形部品中のどの図形要素に対応付くかにより、図形部品の再利用の方法が異なっている。   For example, a case can be considered in which a single graphic element included in the search key has a plurality of graphic elements associated with the graphic element in the same graphic component. In this case, the method of reusing graphic parts differs depending on which graphic element in the graphic part the graphic element included in the search key corresponds to.

特許文献1又は特許文献2に記載されたシステムでは、図形部品を検索する際に、このような複数の対応方法の存在を考慮していないため、上記の複数の再利用方法がそれぞれ検索結果として表示されない。従って、再利用方法を選択することができず、システムにより特定のもののみを実施することしかできない。この場合、利用者の意図とは異なる再利用方法が実施されてしまう。   The system described in Patent Document 1 or Patent Document 2 does not consider the existence of such a plurality of corresponding methods when searching for graphic parts. Do not show. Therefore, the reuse method cannot be selected, and only a specific method can be implemented by the system. In this case, a reuse method different from the user's intention is implemented.

本実施形態では、検索結果を生成する過程において、図形部品抽出手段3は、図形部品を抽出する際に、検索キーとの間でどのように対応付くかを合わせて抽出する。そのため、本実施形態では、例え同一図形部品であっても、対応方法が異なる検索キーと図形部品との組合せごとに、それぞれ別の抽出結果として抽出する。従って、検索キーと同一図形部品との間で複数個の対応方法があった場合でも、それぞれの対応方法に基づいて取り扱うことができる。   In the present embodiment, in the process of generating the search result, the graphic part extracting unit 3 extracts how to correspond with the search key when extracting the graphic part. For this reason, in the present embodiment, even for the same graphic part, each combination of a search key and a graphic part with different handling methods is extracted as a different extraction result. Therefore, even when there are a plurality of correspondence methods between the search key and the same graphic part, they can be handled based on each correspondence method.

図形部品格納手段4は、具体的には、磁気ディスクや光ディスク等の記憶装置によって実現される。図形部品格納手段4は、図形部品を格納する。なお、図形部品格納手段4に格納される図形部品は、例えば、UMLツールやCADソフトウェアの設計時等に予め登録されている。   Specifically, the graphic component storage means 4 is realized by a storage device such as a magnetic disk or an optical disk. The graphic component storage means 4 stores graphic components. The graphic parts stored in the graphic parts storage means 4 are registered in advance, for example, when designing a UML tool or CAD software.

対応結果格納手段6は、具体的には、磁気ディスクや光ディスク等の記憶装置によって実現される。対応結果格納手段6は、図形部品抽出手段3が抽出した対応結果を格納する。具体的には、対応結果格納手段6は、対応結果として、検索キーと図形部品とを対応付けて格納する。   Specifically, the correspondence result storage means 6 is realized by a storage device such as a magnetic disk or an optical disk. The correspondence result storage means 6 stores the correspondence result extracted by the graphic part extraction means 3. Specifically, the correspondence result storage unit 6 stores the search key and the graphic part in association with each other as the correspondence result.

検索結果生成手段5は、具体的には、プログラムに従って動作する情報処理装置のCPUによって実現される。検索結果生成手段5は、対応結果格納手段6が格納する対応結果において、抽出された図形部品に含まれる図形要素のうち検索キーと一致しない項目については、検索キーが含む情報を組み合わせて検索結果図形要素の情報(検索結果)を生成する機能を備えている。例えば、検索結果生成手段5は、図形部品に含まれる図形要素と、検索キーに含まれる図形要素とを比較する。そして、検索結果生成手段5は、図形部品に含まれる図形要素のうち、検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する。すなわち、検索結果生成手段5は、図形部品に含まれる図形要素のうち、検索キーと一致しないものについては、検索キーの情報に置き換えたものを検索結果として生成する。また、検索結果生成手段5は、生成した検索結果を検索結果格納手段7に格納させる機能を備えている。また、検索結果生成手段5は、対応方法ごとに検索結果を生成する機能を備えている。   Specifically, the search result generation means 5 is realized by a CPU of an information processing apparatus that operates according to a program. The search result generation unit 5 combines the information included in the search key with respect to items that do not match the search key among the graphic elements included in the extracted graphic component in the correspondence result stored in the correspondence result storage unit 6. It has a function for generating information (search results) on graphic elements. For example, the search result generation means 5 compares the graphic element included in the graphic part with the graphic element included in the search key. Then, the search result generation means 5 is a search result that is a graphic part in which a graphic element that does not match the graphic element included in the search key among the graphic elements included in the graphic part is replaced with the graphic element included in the search key. Generate graphic element information. That is, the search result generation means 5 generates, as a search result, a graphic element included in the graphic component that does not match the search key and is replaced with the search key information. In addition, the search result generation unit 5 has a function of storing the generated search result in the search result storage unit 7. Further, the search result generation means 5 has a function of generating a search result for each corresponding method.

検索結果格納手段7は、具体的には、磁気ディスクや光ディスク等の記憶装置によって実現される。検索結果格納手段7は、検索結果生成手段5が生成した検索結果を格納する。また、検索結果格納手段7は、検索結果生成手段5が生成した対応方法ごと検索結果をそれぞれ格納する。   Specifically, the search result storage unit 7 is realized by a storage device such as a magnetic disk or an optical disk. The search result storage unit 7 stores the search result generated by the search result generation unit 5. The search result storage means 7 stores the search results for each corresponding method generated by the search result generation means 5.

検索結果表示手段8は、具体的には、ディスプレイ装置等の表示装置によって実現される。検索結果表示手段8は、検索結果格納手段7が格納する検索結果を表示装置に表示し、利用者に提示する機能を備えている。なお、利用者は表示された検索結果のうちから任意の検索結果を選択することができる。   Specifically, the search result display means 8 is realized by a display device such as a display device. The search result display means 8 has a function of displaying the search results stored in the search result storage means 7 on a display device and presenting them to the user. The user can select an arbitrary search result from the displayed search results.

検索結果再利用手段9は、検索結果表示手段8が表示する検索結果のうち、利用者が選択した検索結果を利用して、図形要素の情報を編集中の図面に反映させることで、検索結果の適用を実施する機能を備えている。すなわち、検索結果再利用手段9は、利用者の選択操作に従って、置き換え対象とする検索結果を選択し、選択した検索結果で図面中の図面要素を置き換える。   The search result reuse unit 9 uses the search result selected by the user among the search results displayed by the search result display unit 8 to reflect the graphic element information in the drawing being edited. It has a function to implement the application. That is, the search result reuse means 9 selects a search result to be replaced in accordance with the user's selection operation, and replaces the drawing element in the drawing with the selected search result.

次に、第1の実施の形態に係る図形部品検索システムの動作例について説明する。図2は、図形部品検索システムが実行する処理例を示す流れ図である。   Next, an example of the operation of the graphic part search system according to the first embodiment will be described. FIG. 2 is a flowchart showing an example of processing executed by the graphic component search system.

図形部品の検索をするために、利用者は、図面編集手段1を用いて、図面上の一部又は全部の図形要素(図形部品を利用したい箇所の図形要素)を検索キーとして指定する操作を行う(図2に示すステップS1)。すると、図面編集手段1は、利用者の操作に従って、指定された検索キーとなる図形要素の情報を検索キー格納手段2に格納する(図2に示すステップS2)。   In order to search for a graphic part, the user uses the drawing editing means 1 to perform an operation of designating a part or all of the graphic elements on the drawing (the graphic element at a location where the graphic part is desired to be used) as a search key. Perform (step S1 shown in FIG. 2). Then, the drawing editing means 1 stores the graphic element information to be the designated search key in the search key storage means 2 according to the user's operation (step S2 shown in FIG. 2).

続いて、図形部品抽出手段3は、検索キー格納手段2が格納する検索キーを抽出する。そして、図形部品抽出手段3は、抽出した検索キーと対応付け可能な図形部品を図形部品格納手段4から抽出する。そして、図形部品抽出手段3は、抽出した検索キーと図形部品とを対応結果として対応結果格納手段6に格納させる(図2に示すステップS3)。   Subsequently, the graphic component extraction unit 3 extracts the search key stored in the search key storage unit 2. Then, the graphic component extraction unit 3 extracts a graphic component that can be associated with the extracted search key from the graphic component storage unit 4. Then, the graphic part extraction unit 3 stores the extracted search key and the graphic part in the correspondence result storage unit 6 as a correspondence result (step S3 shown in FIG. 2).

続いて、検索結果生成手段5は、検索キー格納手段2が格納する検索キーと、対応結果格納手段6が格納する対応結果とを参照して、両者の情報を組み合わせた図形要素を検索結果として生成し、検索結果格納手段7に格納させる(図2に示すステップS4)。   Subsequently, the search result generation means 5 refers to the search key stored in the search key storage means 2 and the correspondence result stored in the correspondence result storage means 6, and uses a graphic element obtained by combining both pieces of information as the retrieval result. It is generated and stored in the search result storage means 7 (step S4 shown in FIG. 2).

続いて、検索結果表示手段8は、検索結果格納手段7が格納する検索結果を参照し、これを表示装置に表示して利用者に提示する(図2に示すステップS5)。   Subsequently, the search result display means 8 refers to the search result stored in the search result storage means 7, displays it on the display device and presents it to the user (step S5 shown in FIG. 2).

続いて、利用者は、検索結果表示手段8が表示する検索結果のうち、任意の1個を選択する操作を行う(図2のステップS6)。すると、検索結果再利用手段9は、利用者の操作に従って、利用者が選択した検索結果を、図面に組み込む処理を実行する(図2に示すステップS7)。   Subsequently, the user performs an operation of selecting any one of the search results displayed by the search result display unit 8 (step S6 in FIG. 2). Then, the search result reuse means 9 executes a process of incorporating the search result selected by the user into the drawing according to the user's operation (step S7 shown in FIG. 2).

以上のように、本実施形態では、図形部品を検索する際の図形要素の対応付けにおいて、図形要素間が完全な一致ではなく、部分的な一致でも対応付くと判定した場合の図形部品の再利用でも、図面上の図形要素の情報のうち、上記対応付けに含まれない情報が上書きされず維持される。   As described above, in the present embodiment, in the correspondence of the graphic elements when searching for the graphic parts, the graphic parts are re-established when it is determined that the graphic elements are not completely matched but partially matched. Even in use, information that is not included in the association among the information on the graphic elements on the drawing is maintained without being overwritten.

その理由は、検索結果生成手段5が、検索結果を生成する際に、抽出された図形部品に対して一致しない項目に関して検索キーの情報を組み合わせているため、一致しない項目については従来の情報が維持されるためである。   The reason is that, when the search result generating means 5 generates the search result, the search key information is combined with respect to the item that does not match the extracted graphic part, so that the conventional information is not obtained for the non-matching item. This is because it is maintained.

また、本実施形態では、検索キーと同一図形部品との間で複数個の対応方法があった場合でも、それぞれの対応方法に基づいた再利用方法が個別に表示され選択できるため、利用者が意図する再利用方法を実施することができる。   In this embodiment, even when there are a plurality of correspondence methods between the search key and the same graphic part, the reuse method based on each correspondence method can be individually displayed and selected, so that the user can The intended reuse method can be implemented.

その理由は、検索結果を生成する過程において、図形部品抽出手段3は、図形部品を抽出する際に、検索キーとの間でどのように対応付くかを合わせて抽出するため、例え同一図形部品であっても、対応方法が異なっていれば別のものとして取り扱っているためである。   The reason is that, in the process of generating the search result, the graphic part extraction means 3 extracts the graphic parts together with how to correspond to the search key when extracting the graphic parts. Even so, if the handling method is different, it is handled as a different one.

(第2の実施形態)
次に、本発明による第2の実施形態について説明する。図3及び図4を用いて、図形部品検索システムにおける検索キーの一例を示す。図3は、UMLのクラス図を用いて検索キーの一例を示す説明図である。図3に示すように、検索キーは、テキスト「A」を付加したクラス図形60、テキスト「B」を付加したクラス図形61、及びその間の汎化関係を示す結線62という3個の図形要素を含む。
(Second Embodiment)
Next, a second embodiment according to the present invention will be described. An example of a search key in the graphic part search system will be described with reference to FIGS. 3 and 4. FIG. 3 is an explanatory diagram showing an example of a search key using a UML class diagram. As shown in FIG. 3, the search key includes three graphic elements: a class graphic 60 to which the text “A” is added, a class graphic 61 to which the text “B” is added, and a connection line 62 indicating a generalization relationship therebetween. Including.

図3は、検索キーの一例を図形として表示した状態であるが、図4は、図3に示す検索キーを検索キー格納手段2が格納した状態を示す説明図である。図4(a)は、クラス図形を示す説明図であり、ID70、種別71、テキスト72、位置73、及びサイズ74の各項目を含む。図4(b)は、結線60を示す説明図であり、ID75、種別76、始点となる図形を示す始点77、終点となる図形を示す終点78、及び位置79の各項目を含む。これらは、図面上での表示を行うために十分な情報を含んでいる。   FIG. 3 shows a state in which an example of the search key is displayed as a graphic. FIG. 4 is an explanatory view showing a state in which the search key storage unit 2 stores the search key shown in FIG. FIG. 4A is an explanatory diagram showing a class graphic, and includes items of ID 70, type 71, text 72, position 73, and size 74. FIG. 4B is an explanatory diagram showing the connection 60, and includes items of ID 75, type 76, start point 77 indicating the graphic as the start point, end point 78 indicating the graphic as the end point, and position 79. These contain enough information to display on the drawing.

次に、図5及び図6を用いて、図形部品検索システムにおける図形部品の例を示す。図5は、図形部品の一例を示す説明図である。図6は、図5に示す図形部品を図形部品格納手段4が格納した状態を示す説明図である。図6に示すように、図形部品は、検索キーと同様の項目を含んでいる。   Next, FIG. 5 and FIG. 6 are used to show examples of graphic parts in the graphic part search system. FIG. 5 is an explanatory diagram showing an example of a graphic part. FIG. 6 is an explanatory diagram showing a state in which the graphic component storage means 4 stores the graphic component shown in FIG. As shown in FIG. 6, the graphic part includes the same items as the search key.

図7は、図形部品抽出手段3が作成する対応結果の一例を示す説明図である。図7に示すように、対応結果は、対応結果のID80、検索キー側の図形要素のIDを示す検索キー81、図形部品側の図形要素のIDを示す図形部品82、及び両図形要素で一致した項目を特定する一致した項目83を含む。   FIG. 7 is an explanatory diagram showing an example of a correspondence result created by the graphic component extraction unit 3. As shown in FIG. 7, the correspondence result is the same in ID 80 of the correspondence result, search key 81 indicating the ID of the graphic element on the search key side, graphic part 82 indicating the ID of the graphic element on the graphic part side, and both graphic elements. A matched item 83 that identifies the selected item.

なお、図7(a)は、検索キー81と図形部品82において、図3〜図6に示す、クラスAとクラスXとを、及びクラスBとクラスYとを対応付けたものである。また、図7(b)は、図3〜図6に示す、クラスAとクラスXとを、及びクラスBとクラスZとを対応付けたものである。このように、図7に示す例では、2つの対応方法が考えられ、それぞれID80として、1と2とが割り当てられている。   FIG. 7A shows the search key 81 and the graphic part 82 in which class A and class X and class B and class Y shown in FIGS. 3 to 6 are associated with each other. FIG. 7B shows the correspondence between class A and class X and class B and class Z shown in FIGS. As described above, in the example shown in FIG. 7, two correspondence methods are conceivable, and IDs 1 and 2 are assigned as ID80, respectively.

このようにすることで、本実施形態では、図形部品検索において、検索キーと図形部品の間で複数個の対応方法が存在する場合に、それぞれを検索結果として個別に表示するとともに、それらの中からの選択が行えるようにする。そのため、利用者の意図する再利用方法が選択できないという問題点を解決することができる。   In this way, in this embodiment, when there are a plurality of correspondence methods between the search key and the graphic part in the graphic part search, each of them is displayed individually as a search result, To be able to select from. Therefore, it is possible to solve the problem that the reuse method intended by the user cannot be selected.

なお、図12に示すように、検索キーの各項目に対してフラグを設定しておき、図形部品抽出手段3が図形部品を抽出する際に、このフラグが設定された(例えば、図12に示す例では○となっている)項目について、一致する図形部品のみを抽出するようにすることもできる。これにより、検索において必須の情報を指定することができ、部分的な対応により必要以上に検索結果の個数が増えることを防ぐことができる。なお、このフラグは、各図形要素の項目ごとに設定するようにすることもできる。   As shown in FIG. 12, a flag is set for each item of the search key, and this flag is set when the graphic part extracting means 3 extracts the graphic part (for example, in FIG. 12). It is also possible to extract only the matching graphic parts for the item (circled in the example shown). As a result, it is possible to specify essential information in the search, and it is possible to prevent the number of search results from increasing more than necessary due to partial correspondence. This flag may be set for each item of each graphic element.

次に、検索結果について説明する。図8及び図9は、図形部品検索システムにおける検索結果の一例を示す説明図である。図8及び図9に示す検索結果は、各対応結果に対して、以下のような手順を実行することで作成することができる。   Next, search results will be described. 8 and 9 are explanatory diagrams showing an example of search results in the graphic parts search system. The search results shown in FIGS. 8 and 9 can be created by executing the following procedure for each correspondence result.

図10は、検索結果生成処理の一例を示す流れ図である。図10に示すように、まず、検索結果生成手段5は、対応結果に関連付いている図形部品の情報をコピーして新たな表を作成する(図10に示すステップS10)。   FIG. 10 is a flowchart illustrating an example of the search result generation process. As shown in FIG. 10, first, the search result generating means 5 creates a new table by copying the information of the graphic parts related to the correspondence result (step S10 shown in FIG. 10).

続いて、検索結果生成手段5は、検索キーに含まれる各図形要素に対して、対応関係の「一致した項目83」に記載された情報以外の情報を検索キーから取り出して上書きする(図10に示すステップS20)。   Subsequently, the search result generating means 5 takes out information other than the information described in the “matched item 83” of the correspondence relationship from each search element and overwrites each graphic element included in the search key (FIG. 10). Step S20).

このようにすることで、一致した項目については、図形部品の情報を、一致していない項目については、検索キーの情報を使って検索結果を生成することができる。また、IDについても、テキストや位置等の情報と同様に、一致した項目については図形部品の情報を、一致していない項目については、検索キーの情報を使って検索結果を生成する。具体的には、例えば、図8に示すように、図8(a)の2行目のN1と3行目のN2とは、検索キー81に対応付く図形部品82が存在したため、IDがそれぞれN1,N2となっている。しかし、図8(a)の4行目は、81に対応付く図形部品82が存在しないため、図形部品にあったIDであるX3がそのまま使われる。図8(b)の3行目及び4行目も同様に、図形部品のIDがそのまま使われている。なお、この際、図形部品にのみ存在し、検索キーに含まれなかった図形部品(例えば、図8に示すX3)は、そのまま残るが、位置を適宜調整して他の要素と重ならないようにしている。   By doing so, it is possible to generate a search result by using the information of the graphic part for the matched item and the search key information for the non-matched item. As for the ID, similarly to the information such as text and position, the search result is generated using the information of the graphic part for the matched item and the information of the search key for the non-matched item. Specifically, for example, as shown in FIG. 8, N1 in the second row and N2 in the third row in FIG. 8A have graphic parts 82 corresponding to the search key 81, respectively. N1 and N2. However, since the figure part 82 corresponding to 81 does not exist in the fourth line of FIG. 8A, the ID X3 corresponding to the figure part is used as it is. Similarly, the IDs of the graphic parts are used as they are in the third and fourth lines in FIG. At this time, the graphic part that exists only in the graphic part and is not included in the search key (for example, X3 shown in FIG. 8) remains as it is, but the position is appropriately adjusted so that it does not overlap with other elements. ing.

以上のように、第2の実施形態では、図形部品検索において図形要素間の部分的な一致を採用する場合の図形部品の再利用において、具体的にどの項目が一致したかを参照する。そのため、本実施形態では、一致しなかった項目までが図形部品の持つ情報で上書きされてしまうという問題を解決することができる。   As described above, in the second embodiment, it is referred to which item specifically matches in the reuse of the graphic component when the partial match between the graphic elements is adopted in the graphic component search. Therefore, in the present embodiment, it is possible to solve the problem that items that do not match are overwritten with information held by the graphic component.

なお、図12に示すように検索キーの各項目に対してフラグを設定しておき、検索結果生成手段5で一致していない項目に対して、フラグが設定されている(例えば、図12に示す例では○となっている)場合にのみ検索キーの情報を使うようにすることもできる。これにより、図形部品によってある項目が上書きされた方が望ましい場合に対応することができ、状況に応じてより柔軟な再利用が可能となる。このフラグは、上記のフラグとは別途に設けることもできる。また、各図形要素の項目ごとに設定するようにすることもできる。   As shown in FIG. 12, a flag is set for each item of the search key, and a flag is set for an item that does not match in the search result generation means 5 (for example, in FIG. The search key information can be used only in the case of (circled in the example shown). Accordingly, it is possible to cope with a case where it is desirable that an item is overwritten by a graphic component, and more flexible reuse is possible depending on the situation. This flag can also be provided separately from the above flag. It can also be set for each item of each graphic element.

図11は、検索結果の表示例を示す説明図である。図11に示す例は、図8及び図9に示す検索結果を利用して表示したものである。利用者は、この表示を見ることで、どの再利用方法を採用するかを選択することができる。また、検索結果再利用手段9は、この内容を図面に組み込む処理を実行する。そのため、ユーザは、表示されたものと同じ結果が図面上で得られることになる。   FIG. 11 is an explanatory diagram illustrating a display example of search results. The example shown in FIG. 11 is displayed using the search results shown in FIGS. By viewing this display, the user can select which reuse method to adopt. Further, the search result reuse means 9 executes processing for incorporating this content into the drawing. Therefore, the user can obtain the same result as that displayed on the drawing.

以上のように、本発明によれば、図形部品を検索する際の図形要素の対応付けにおいて、図形要素間が完全な一致ではなく、部分的な一致でも対応付くと判定した場合の図形部品の再利用でも、図面上の図形要素の情報のうち、上記対応付けに含まれない情報が上書きされず維持される。   As described above, according to the present invention, in the correspondence of the graphic elements when searching for the graphic parts, the graphic parts in the case where it is determined that the graphic elements are not completely matched but can be matched even partially. Even in the reuse, information not included in the association among the information of the graphic elements on the drawing is maintained without being overwritten.

その理由は、検索結果生成手段5が、検索結果を生成する際に、抽出された図形部品に対して一致しない項目に関して検索キーの情報を組み合わせているため、一致しない項目については従来の情報が維持されるためである。   The reason is that, when the search result generating means 5 generates the search result, the search key information is combined with respect to the item that does not match the extracted graphic part, so that the conventional information is not obtained for the non-matching item. This is because it is maintained.

また、本発明によれば、検索キーと同一図形部品との間で複数個の対応方法があった場合でも、それぞれの対応方法に基づいた再利用方法が個別に表示され選択できるため、利用者が意図する再利用方法を実施することができる。   Further, according to the present invention, even when there are a plurality of correspondence methods between the search key and the same graphic part, the reuse method based on each correspondence method can be individually displayed and selected. Can implement the intended reuse method.

その理由は、検索結果を生成する過程において、図形部品抽出手段3は、図形部品を抽出する際に、検索キーとの間でどのように対応付くかを合わせて抽出するため、例え同一図形部品であっても、対応方法が異なっていれば別のものとして取り扱っているためである。   The reason is that, in the process of generating the search result, the graphic part extraction means 3 extracts the graphic parts together with how to correspond to the search key when extracting the graphic parts. Even so, if the handling method is different, it is handled as a different one.

次に、本発明による図形部品検索システムの最小構成について説明する。図15は、図形部品検索システムの最小の構成例を示す機能ブロック図である。図15に示すように、図形部品検索システムは、最小の構成要素として、図形部品抽出手段3と、検索結果生成手段5とを含む。   Next, the minimum configuration of the graphic part retrieval system according to the present invention will be described. FIG. 15 is a functional block diagram illustrating a minimum configuration example of the graphic component search system. As shown in FIG. 15, the graphic part search system includes a graphic part extraction unit 3 and a search result generation unit 5 as minimum components.

図15に示す最小構成の図形部品検索システムによれば、図形部品抽出手段3は、予め準備された複数の図形部品の中から、複数の項目をもつ検索キーが示す条件に従って図形部品を抽出する。そして、検索結果生成手段5は、抽出された図形部品に対して一致しない項目に関して検索キーの情報を組み合わせて検索結果図形要素の情報を作成するように動作する。従って、単純に検索条件を満たす図形部品を検索結果とするのではなく、対応付け方法を考慮し、検索キーの情報を参照して検査結果を生成する。よって、利用者が手動で色を元に戻す等の余計な作業を発生させることなく、利用者の意図する図形部品の再利用をすることができる。   According to the minimum configuration graphic part search system shown in FIG. 15, the graphic part extraction means 3 extracts a graphic part from a plurality of graphic parts prepared in advance according to a condition indicated by a search key having a plurality of items. . Then, the search result generating means 5 operates so as to create search result graphic element information by combining search key information regarding items that do not match the extracted graphic parts. Therefore, instead of simply using a graphic part satisfying the search condition as a search result, an inspection result is generated by referring to the search key information in consideration of the association method. Accordingly, the graphic part intended by the user can be reused without causing the user to manually perform extra work such as restoring the color.

なお、本実施形態では、以下の(1)〜(5)に示すような図形部品検索システムの特徴的構成が示されている。   In the present embodiment, the characteristic configuration of the graphic parts retrieval system as shown in the following (1) to (5) is shown.

(1)図形部品検索システムは、図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索する図形部品検索システムであって、予め登録された図形部品(例えば、図5に示す図形部品)の中から、図形部品を検索するためのキーであって図形要素(例えば、種別71やテキスト72、位置73、サイズ74等)を含む検索キー(例えば、図3及び図4に示す検索キー)が示す条件に従って図形部品を抽出する図形部品抽出手段(例えば、図形部品抽出手段3によって実現される)と、抽出した図形部品に含まれる図形要素のうち、検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成手段(例えば、検索結果生成手段8によって実現される)とを含むことを特徴とする。   (1) A graphic component search system is a graphic component search system for searching for a graphic component that is a component used for editing a graphic and that is a combination of graphic elements that constitute a graphic, and is registered in advance. A search key (for example, a graphic part shown in FIG. 5) for searching for a graphic part and including a graphic element (for example, type 71, text 72, position 73, size 74, etc.) FIG. 3 and FIG. 4), a graphic part extracting means for extracting a graphic part according to the condition indicated (for example, realized by the graphic part extracting means 3), and among the graphic elements included in the extracted graphic part, A search result generation unit that generates search result graphic element information that is a graphic part in which a graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key. (E.g., as implemented by the search result generation unit 8), characterized in that it comprises a.

(2)図形部品検索システムにおいて、図形部品抽出手段は、検索キーに含まれる図形要素が同一図形部品に含まれる複数の図形要素と対応付けることが可能である場合、前記同一図形部品であっても、前記検索キーに含まれる図形要素を前記同一図形部品に含まれるいずれの図形要素に対応付けて抽出したかによって、それぞれ異なる抽出結果として図形部品を抽出し、検索結果生成手段は、前記図形部品抽出手段が前記同一図形部品について複数の抽出結果を抽出すると、前記同一図形部品であっても、前記複数の抽出結果に基づいて複数の検索結果図形要素情報を生成するように構成されていてもよい。   (2) In the graphic component search system, the graphic component extraction means may be the same graphic component if the graphic element included in the search key can be associated with a plurality of graphic elements included in the same graphic component. Depending on whether the graphic element included in the search key is extracted in association with which graphic element included in the same graphic part, the graphic part is extracted as a different extraction result, and the search result generation means includes the graphic part When the extraction means extracts a plurality of extraction results for the same graphic part, even if it is the same graphic part, a plurality of search result graphic element information may be generated based on the plurality of extraction results. Good.

(3)図形部品検索システムにおいて、検索結果生成手段が生成した複数の検索結果図形要素情報から、利用者の操作によって選択された検索結果図形要素情報を、図面に組み込むことにより該図面の編集処理を行うことによって、前記検索結果図形要素情報の再利用をする検索結果再利用手段(例えば、検索結果再利用手段9によって実現される)を含むように構成されていてもよい。   (3) In the graphic part search system, the search result graphic element information selected by the user's operation from the plurality of search result graphic element information generated by the search result generation means is incorporated into the drawing to edit the drawing. By performing the above, it may be configured to include search result reuse means (for example, realized by the search result reuse means 9) for reusing the search result graphic element information.

(4)図形部品検索システムにおいて、図形部品抽出手段は、検索キーが含む図形要素ごとの一致が必要か否かを示す情報(例えば、図12に示すフラグによって実現される)に基づいて、前記情報において一致が必要であると示された図形要素の条件を満たす図形部品を抽出するように構成されていてもよい。   (4) In the graphic component search system, the graphic component extraction means is based on information (for example, realized by a flag shown in FIG. 12) indicating whether or not matching is required for each graphic element included in the search key. It may be configured to extract a graphic part that satisfies the condition of the graphic element indicated as matching in the information.

(5)図形部品検索システムにおいて、検索結果生成手段は、検索キーが含む図形要素が不一致の場合に上書きするか否かを示す情報(例えば、図12に示すフラグによって実現される)に基づいて、前記情報が不一致の場合に上書きすると示された場合のみ、図形部品抽出手段が抽出した図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成するように構成されていてもよい。   (5) In the graphic part search system, the search result generation means is based on information (for example, realized by a flag shown in FIG. 12) indicating whether or not to overwrite when the graphic element included in the search key does not match. Only when it is indicated that the information is to be overwritten when the information does not match, the graphic element included in the graphic part extracted by the graphic part extracting means is searched for a graphic element that does not match the graphic element included in the search key. The search result graphic element information which is the graphic part replaced with the graphic element included in the key may be generated.

本発明は、UML等の図面を作成する用途に適用できる。   The present invention can be applied to the use of creating drawings such as UML.

本発明による図形部品検索システムの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the graphical component search system by this invention. 図形部品検索システムが実行する処理例を示す流れ図である。It is a flowchart which shows the process example which a graphical component search system performs. UMLのクラス図を用いて検索キーの一例を示す説明図である。It is explanatory drawing which shows an example of a search key using the class diagram of UML. 図3に示す検索キーを検索キー格納手段2が格納した状態を示す説明図である。It is explanatory drawing which shows the state which the search key storage means 2 stored the search key shown in FIG. 図形部品の一例を示す説明図である。It is explanatory drawing which shows an example of a graphical component. 図5に示す図形部品を図形部品格納手段4が格納した状態を示す説明図である。It is explanatory drawing which shows the state which the graphical component storage means 4 stored the graphical component shown in FIG. 図形部品抽出手段3が作成する対応結果の一例を示す説明図である。It is explanatory drawing which shows an example of the correspondence result which the graphical component extraction means 3 produces. 図形部品検索システムにおける検索結果の一例を示す説明図である(その1)。It is explanatory drawing which shows an example of the search result in a graphical component search system (the 1). 図形部品検索システムにおける検索結果の一例を示す説明図である(その2)。It is explanatory drawing which shows an example of the search result in a graphical component search system (the 2). 検索結果生成処理の一例を示す流れ図である。It is a flowchart which shows an example of a search result production | generation process. 検索結果の表示例を示す説明図である。It is explanatory drawing which shows the example of a display of a search result. 検索キー格納手段2が格納する検索キーの別の例を示す説明図である。It is explanatory drawing which shows another example of the search key which the search key storage means 2 stores. 特許文献1に記載されたシステムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a system described in Patent Document 1. FIG. 特許文献2に記載されたシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the system described in patent document 2. FIG. 図形部品検索システムの最小の構成例を示す機能ブロック図である。It is a functional block diagram which shows the minimum structural example of a graphical component search system.

符号の説明Explanation of symbols

1 図面編集手段
2 検索キー格納手段
3 図形部品抽出手段
4 図形部品格納手段
5 検索結果生成手段
6 対応結果格納手段
7 検索結果格納手段
8 検索結果表示手段
9 検索結果再利用手段
10 入力装置
20 データ処理装置
21 入力情報解析部
22 図形情報比較判定部
23 検索結果表示部
30 表示装置
40 図形部品情報格納部
51 端末
51a マウス
52 コンピュータ
53 主記憶装置
53a 編集情報テーブル
54 補助記憶装置
54a 図面情報ファイル
55 編集処理部
56 編集情報登録処理部
57 図面パターン登録処理部
58 対象図面表示処理部
59 編集図面切替処理部
60,61 クラス図形
62 結線
70,75,80 ID
71,76 種別
72 テキスト
73,79 位置
74 サイズ
77 始点
78 終点
81 検索キー
82 図形部品
83 一致した項目
DESCRIPTION OF SYMBOLS 1 Drawing editing means 2 Search key storage means 3 Graphic part extraction means 4 Graphic parts storage means 5 Search result generation means 6 Correspondence result storage means 7 Search result storage means 8 Search result display means 9 Search result reuse means 10 Input device 20 Data Processing device 21 Input information analysis unit 22 Graphic information comparison / determination unit 23 Search result display unit 30 Display device 40 Graphic part information storage unit 51 Terminal 51a Mouse 52 Computer 53 Main storage device 53a Edit information table 54 Auxiliary storage device 54a Drawing information file 55 Editing processing unit 56 Editing information registration processing unit 57 Drawing pattern registration processing unit 58 Target drawing display processing unit 59 Editing drawing switching processing unit 60, 61 Class figure 62 Connection 70, 75, 80 ID
71, 76 Type 72 Text 73, 79 Position 74 Size 77 Start point 78 End point 81 Search key 82 Graphic part 83 Matched items

Claims (15)

図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索する図形部品検索システムであって、
予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って前記図形部品を抽出する図形部品抽出手段と、
抽出した図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成手段とを
含むことを特徴とする図形部品検索システム。
A graphic part search system for searching for a graphic part that is a part used for editing a graphic and is a combination of graphic elements that are elements constituting a graphic,
A graphic component extraction means for extracting the graphic component according to a condition indicated by a search key including a graphic element, which is a key for searching the graphic component from pre-registered graphic components;
Of the graphic elements included in the extracted graphic part, the graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key to generate search result graphic element information. A graphic parts retrieval system comprising: retrieval result generation means.
図形部品抽出手段は、検索キーに含まれる図形要素が同一図形部品に含まれる複数の図形要素と対応付けることが可能である場合、前記同一図形部品であっても、前記検索キーに含まれる図形要素を前記同一図形部品に含まれるいずれの図形要素に対応付けて抽出したかによって、それぞれ異なる抽出結果として図形部品を抽出し、
検索結果生成手段は、前記図形部品抽出手段が前記同一図形部品について複数の抽出結果を抽出すると、前記同一図形部品であっても、前記複数の抽出結果に基づいて複数の検索結果図形要素情報を生成する
請求項1に記載の図形部品検索システム。
If the graphic element included in the search key can be associated with a plurality of graphic elements included in the same graphic part, the graphic part extraction means can include the graphic element included in the search key even if the graphic element is the same graphic part. Depending on which graphic element included in the same graphic part is extracted, the graphic parts are extracted as different extraction results,
When the graphic part extraction unit extracts a plurality of extraction results for the same graphic part, the search result generation unit obtains a plurality of search result graphic element information based on the plurality of extraction results even for the same graphic part. The graphic part retrieval system according to claim 1.
検索結果生成手段が生成した複数の検索結果図形要素情報から、利用者の操作によって選択された検索結果図形要素情報を、図面に組み込むことにより該図面の編集処理を行うことによって、前記検索結果図形要素情報の再利用をする検索結果再利用手段を含む
請求項2に記載の図形部品検索システム。
The search result graphic is edited by incorporating the search result graphic element information selected by the user's operation from the plurality of search result graphic element information generated by the search result generating means into the drawing. The graphic part retrieval system according to claim 2, further comprising retrieval result reuse means for reusing element information.
図形部品抽出手段は、検索キーが含む図形要素ごとの一致が必要か否かを示す情報に基づいて、前記情報において一致が必要であると示された図形要素の条件を満たす図形部品を抽出する
請求項1から請求項3のうちのいずれか1項に記載の図形部品検索システム。
The graphic part extraction means extracts a graphic part that satisfies the condition of the graphic element indicated as matching in the information, based on information indicating whether or not matching is required for each graphic element included in the search key. The graphic component retrieval system according to claim 1.
検索結果生成手段は、検索キーが含む図形要素が不一致の場合に上書きするか否かを示す情報に基づいて、前記情報が不一致の場合に上書きすると示された場合のみ、図形部品抽出手段が抽出した図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する
請求項1から請求項4のうちのいずれか1項に記載の図形部品検索システム。
Based on the information indicating whether or not the graphic element included in the search key is overwritten when the graphic element included in the search key does not match, the search result generating unit extracts the graphic part extracting unit only when the information is indicated to be overwritten when the information does not match. A search result graphic element information is generated that is a graphic part in which a graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key among the graphic elements included in the graphic part. The graphic component search system according to any one of claims 1 to 4.
図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索する図形部品検索方法であって、
予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って前記図形部品を抽出する図形部品抽出ステップと、
抽出した図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成ステップとを
含むことを特徴とする図形部品検索方法。
A graphic component search method for searching for a graphic component that is a component used to edit a graphic and that is a combination of graphic elements that are components constituting a graphic,
A graphic component extraction step for extracting the graphic component in accordance with a condition indicated by a search key including a graphic element, which is a key for searching the graphic component from pre-registered graphic components;
Of the graphic elements included in the extracted graphic part, the graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key to generate search result graphic element information. And a search result generation step.
図形部品抽出ステップで、検索キーに含まれる図形要素が同一図形部品に含まれる複数の図形要素と対応付けることが可能である場合、前記同一図形部品であっても、前記検索キーに含まれる図形要素を前記同一図形部品に含まれるいずれの図形要素に対応付けて抽出したかによって、それぞれ異なる抽出結果として図形部品を抽出し、
検索結果生成ステップで、図形部品抽出ステップにおいて前記同一図形部品について複数の抽出結果を抽出されると、前記同一図形部品であっても、前記複数の抽出結果に基づいて複数の検索結果図形要素情報を生成する
請求項6に記載の図形部品検索方法。
When the graphic element included in the search key can be associated with a plurality of graphic elements included in the same graphic part in the graphic part extraction step, the graphic element included in the search key is the same graphic part. Depending on which graphic element included in the same graphic part is extracted, the graphic parts are extracted as different extraction results,
In the search result generation step, when a plurality of extraction results are extracted for the same graphic part in the graphic part extraction step, a plurality of search result graphic element information is obtained based on the plurality of extraction results even for the same graphic part. The graphic part retrieval method according to claim 6.
生成した複数の検索結果図形要素情報から、利用者の操作によって選択された検索結果図形要素情報を、図面に組み込むことにより該図面の編集処理を行うことによって、前記検索結果図形要素情報の再利用をする検索結果再利用ステップを含む
請求項6又は請求項7に記載の図形部品検索方法。
Reusing the search result graphic element information by editing the drawing by incorporating the search result graphic element information selected by the user's operation from the plurality of generated search result graphic element information into the drawing. The graphic component search method according to claim 6, further comprising a search result reuse step for performing the search.
図形部品抽出ステップで、検索キーが含む図形要素ごとの一致が必要か否かを示す情報に基づいて、前記情報において一致が必要であると示された図形要素の条件を満たす図形部品を抽出する
請求項6から請求項8のうちのいずれか1項に記載の図形部品検索方法。
In the graphic part extraction step, based on the information indicating whether or not matching is required for each graphic element included in the search key, the graphic part that satisfies the condition of the graphic element indicated as matching in the information is extracted. The graphic component search method according to any one of claims 6 to 8.
検索結果生成ステップで、検索キーが含む図形要素が不一致の場合に上書きするか否かを示す情報に基づいて、前記情報が不一致の場合に上書きすると示された場合のみ、図形部品抽出ステップにおいて抽出された図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する
請求項6から請求項9のうちのいずれか1項に記載の図形部品検索方法。
Based on the information indicating whether or not to overwrite if the graphic element included in the search key does not match in the search result generation step, extraction is performed in the graphic component extraction step only when it is indicated that the information is to be overwritten if the information does not match Search result graphic element information is generated that is a graphic part in which a graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key among the graphic elements included in the displayed graphic part The graphic component search method according to claim 6.
図形の編集に用いられる部品であり図形を構成する要素である図形要素が組み合わされた図形部品を検索させるための図形部品検索プログラムであって、
コンピュータに、
予め登録された図形部品の中から、図形部品を検索するためのキーであって図形要素を含む検索キーが示す条件に従って前記図形部品を抽出する図形部品抽出処理と、
抽出した図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する検索結果生成処理とを
実行させるための図形部品検索プログラム。
A graphic part search program for searching for a graphic part that is a part used for editing a graphic and is a combination of graphic elements that are elements constituting the graphic,
On the computer,
A graphic component extraction process for extracting the graphic component in accordance with a condition indicated by a search key including a graphic element, which is a key for searching the graphic component from pre-registered graphic components;
Of the graphic elements included in the extracted graphic part, the graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key to generate search result graphic element information. Graphic part search program for executing search result generation processing.
コンピュータに、
図形部品抽出処理で、検索キーに含まれる図形要素が同一図形部品に含まれる複数の図形要素と対応付けることが可能である場合、前記同一図形部品であっても、前記検索キーに含まれる図形要素を前記同一図形部品に含まれるいずれの図形要素に対応付けて抽出したかによって、それぞれ異なる抽出結果として図形部品を抽出し、
検索結果生成処理で、前記図形部品抽出処理において前記同一図形部品について複数の抽出結果を抽出されると、前記同一図形部品であっても、前記複数の抽出結果に基づいて複数の検索結果図形要素情報を生成する処理を実行させる
請求項11に記載の図形部品検索プログラム。
On the computer,
If the graphic element included in the search key can be associated with a plurality of graphic elements included in the same graphic part in the graphic part extraction process, the graphic element included in the search key is the same graphic part. Depending on which graphic element included in the same graphic part is extracted, the graphic parts are extracted as different extraction results,
In the search result generation process, when a plurality of extraction results are extracted for the same graphic part in the graphic part extraction process, a plurality of search result graphic elements are obtained based on the plurality of extraction results even for the same graphic part. The graphic part search program according to claim 11, wherein a process for generating information is executed.
コンピュータに、
生成した複数の検索結果図形要素情報から、利用者の操作によって選択された検索結果図形要素情報を、図面に組み込むことにより該図面の編集処理を行うことによって、前記検索結果図形要素情報の再利用をする検索結果再利用処理を実行させる
請求項11又は請求項12に記載の図形部品検索プログラム。
On the computer,
Reusing the search result graphic element information by editing the drawing by incorporating the search result graphic element information selected by the user's operation from the plurality of generated search result graphic element information into the drawing. The graphic part search program according to claim 11 or 12, wherein search result reuse processing is executed.
コンピュータに、
図形部品抽出処理で、検索キーが含む図形要素ごとの一致が必要か否かを示す情報に基づいて、前記情報において一致が必要であると示された図形要素の条件を満たす図形部品を抽出する処理を実行させる
請求項11から請求項13のうちのいずれか1項に記載の図形部品検索プログラム。
On the computer,
In the graphic part extraction process, based on the information indicating whether or not matching is required for each graphic element included in the search key, the graphic part that satisfies the condition of the graphic element indicated as matching in the information is extracted. The graphic component search program according to any one of claims 11 to 13, wherein the program is executed.
コンピュータに、
検索結果生成処理で、検索キーが含む図形要素が不一致の場合に上書きするか否かを示す情報に基づいて、前記情報が不一致の場合に上書きすると示された場合のみ、図形部品抽出処理において抽出された図形部品に含まれる図形要素のうち、前記検索キーに含まれる図形要素と一致しない図形要素を、該検索キーに含まれる図形要素に置換した図形部品である検索結果図形要素情報を生成する処理を実行させる
請求項11から請求項14のうちのいずれか1項に記載の図形部品検索プログラム。
On the computer,
Based on the information indicating whether or not the graphic element included in the search key is overwritten when the graphic element included in the search key does not match in the search result generation process, extraction is performed in the graphic part extraction process only when the information is indicated to be overwritten when the information does not match Search result graphic element information is generated that is a graphic part in which a graphic element that does not match the graphic element included in the search key is replaced with the graphic element included in the search key among the graphic elements included in the displayed graphic part The graphic component search program according to any one of claims 11 to 14, wherein the processing is executed.
JP2008301144A 2008-11-26 2008-11-26 Graphic component search system, method, and program Pending JP2010128682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008301144A JP2010128682A (en) 2008-11-26 2008-11-26 Graphic component search system, method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008301144A JP2010128682A (en) 2008-11-26 2008-11-26 Graphic component search system, method, and program

Publications (1)

Publication Number Publication Date
JP2010128682A true JP2010128682A (en) 2010-06-10

Family

ID=42329044

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008301144A Pending JP2010128682A (en) 2008-11-26 2008-11-26 Graphic component search system, method, and program

Country Status (1)

Country Link
JP (1) JP2010128682A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208907A (en) * 2011-03-30 2012-10-25 Fujitsu Ltd Implementation design support program, method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012208907A (en) * 2011-03-30 2012-10-25 Fujitsu Ltd Implementation design support program, method and apparatus

Similar Documents

Publication Publication Date Title
US7802305B1 (en) Methods and apparatus for automated redaction of content in a document
JP2008197814A (en) Translation verification method, device, and program for resource file
JP2000155859A (en) Method for preparing mesh for analyzing numerical value and its device
JP2008052312A (en) Operation specification extraction support system
US9552443B2 (en) Information processing apparatus and search method
JP2008040943A (en) Hmi development supporting device, and hmi development supporting method and program
JP2006285707A (en) Business specification creation support system and method
JP2009116638A (en) System and method for supporting understanding of business specification
JP2009123114A (en) Information processor and information processing method
JP2010128682A (en) Graphic component search system, method, and program
JP4771831B2 (en) Graphic display program and graphic display method
JP2007249561A (en) Display system and program of screen transition diagram
JP6724605B2 (en) Image processing apparatus, image processing method, and image processing program
JP2008009859A (en) Retrieval index creating device and retrieval index creating method
JP4867229B2 (en) Information processing apparatus and program
JP2002169843A (en) Design support system
JP2008027340A (en) Web service design method and device
JP2007164532A (en) Task display device, task display method, and task display program
JP2007034806A (en) Information processor and program
JP2007034807A (en) Information processor and program
JP2010165070A (en) Drawing editing method and drawing editing device
JP2005327023A (en) Retrieval system of full-text search using hit number expectancy
JP2007265358A (en) Information processor, program and method for introducing operation application
JP2001051771A (en) System and method for processing picture
JP2002366880A (en) Device and method for frame editing and storage medium stored with computer-readable program