Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7587111B2 - Model generation device and model generation method - Google Patents
[go: Go Back, main page]

JP7587111B2 - Model generation device and model generation method - Google Patents

Model generation device and model generation method Download PDF

Info

Publication number
JP7587111B2
JP7587111B2 JP2020153966A JP2020153966A JP7587111B2 JP 7587111 B2 JP7587111 B2 JP 7587111B2 JP 2020153966 A JP2020153966 A JP 2020153966A JP 2020153966 A JP2020153966 A JP 2020153966A JP 7587111 B2 JP7587111 B2 JP 7587111B2
Authority
JP
Japan
Prior art keywords
drawings
search target
learning
search
past
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020153966A
Other languages
Japanese (ja)
Other versions
JP2022047915A (en
Inventor
充 森本
輝巳 竹原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nissin Electric Co Ltd
Original Assignee
Nissin Electric 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP2020153966A priority Critical patent/JP7587111B2/en
Publication of JP2022047915A publication Critical patent/JP2022047915A/en
Application granted granted Critical
Publication of JP7587111B2 publication Critical patent/JP7587111B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明の一態様は、モデル生成装置に関する。 One aspect of the present invention relates to a model generation device.

例えば、プラントエンジニアリング分野では、大量の図面(例:過去図面)の取り扱いが必要となる。このため、大量の図面から、所望の図面を効率的に検索するための技術が要求されている。 For example, in the field of plant engineering, it is necessary to handle a large number of drawings (e.g., past drawings). For this reason, there is a demand for technology that allows efficient search for desired drawings from a large number of drawings.

一例として、特許文献1には、図面検索システム(図面管理システム)のユーザインターフェースに関する技術が開示されている。特許文献1の図面検索システムは、ユーザによる機器名および図面の種別名のそれぞれの選択操作を受け付け、当該選択操作に応じた図面群を検索する。 As an example, Patent Document 1 discloses technology related to the user interface of a drawing search system (drawing management system). The drawing search system of Patent Document 1 accepts selection operations by the user of the equipment name and drawing type name, and searches for a group of drawings corresponding to the selection operations.

特開2003-99484号公報JP 2003-99484 A

特許文献1の図面検索システムによれば、ユーザに検索ワードの入力を行わせることなく、上記選択操作に応じた検索結果(図面群)を提示できる。しかしながら、後述するように、特許文献1の図面検索システムでは、ターゲット図面に対応する所望の図面(例:ターゲット図面との関連性が高いと考えられる特定の図面)を、検索結果から迅速に発見することは、ユーザにとって必ずしも容易ではない。 According to the drawing search system of Patent Document 1, search results (group of drawings) corresponding to the above selection operation can be presented without the user having to input a search word. However, as will be described later, in the drawing search system of Patent Document 1, it is not necessarily easy for a user to quickly find a desired drawing corresponding to a target drawing (e.g., a specific drawing that is considered to be highly related to the target drawing) from the search results.

このように、従来の図面検索技術では、ユーザの利便性を高めるための工夫について、なお改善の余地がある。本発明の一態様は、図面検索におけるユーザの利便性を従来よりも高めることを目的とする。 As such, conventional drawing search technology still has room for improvement in terms of ways to enhance user convenience. One aspect of the present invention aims to improve user convenience in drawing searches more than ever before.

上記の課題を解決するために、本発明の一態様に係るモデル生成装置は、複数の検索対象図面からターゲット図面に対応する少なくとも1つの図面を検索するための学習モデルを生成するモデル生成装置であって、上記複数の検索対象図面を解析することにより、当該複数の検索対象図面のそれぞれの記載内容に関連した検索対象図面内容パラメータを取得する、検索対象図面内容パラメータ取得部と、上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記複数の検索対象図面に含まれる任意の2つの異なる検索対象図面間の記載内容の相違度を算出する相違度算出部と、上記相違度に応じて、上記複数の検索対象図面の内から、学習対象外図面を決定する決定部と、上記学習対象外図面を除いた上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記学習モデルを生成する学習部と、を備えている。 In order to solve the above problem, a model generation device according to one aspect of the present invention is a model generation device that generates a learning model for searching at least one drawing corresponding to a target drawing from a plurality of search target drawings, and includes: a search target drawing content parameter acquisition unit that acquires search target drawing content parameters related to the description of each of the plurality of search target drawings by analyzing the plurality of search target drawings; a dissimilarity calculation unit that calculates the dissimilarity of the description between any two different search target drawings included in the plurality of search target drawings based on the search target drawing content parameters of each of the plurality of search target drawings; a determination unit that determines drawings that are not to be studied from among the plurality of search target drawings according to the dissimilarity; and a learning unit that generates the learning model based on the search target drawing content parameters of each of the plurality of search target drawings excluding the non-study drawings.

また、上記の課題を解決するために、本発明の一態様に係るモデル生成方法は、複数の検索対象図面からターゲット図面に対応する少なくとも1つの図面を検索するための学習モデルを生成するモデル生成方法であって、上記複数の検索対象図面を解析することにより、当該複数の検索対象図面のそれぞれの記載内容に関連した検索対象図面内容パラメータを取得する、検索対象図面内容パラメータ取得工程と、上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記複数の検索対象図面に含まれる任意の2つの異なる検索対象図面間の記載内容の相違度を算出する相違度算出工程と、上記相違度に応じて、上記複数の検索対象図面の内から、学習対象外図面を決定する決定工程と、上記学習対象外図面を除いた上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記学習モデルを生成する学習工程と、を含んでいる。 In order to solve the above problem, a model generation method according to one aspect of the present invention is a model generation method for generating a learning model for searching at least one drawing corresponding to a target drawing from a plurality of search target drawings, and includes a search target drawing content parameter acquisition step of acquiring search target drawing content parameters related to the description of each of the plurality of search target drawings by analyzing the plurality of search target drawings, a difference calculation step of calculating the difference in the description between any two different search target drawings included in the plurality of search target drawings based on the search target drawing content parameters of each of the plurality of search target drawings, a determination step of determining non-learning drawings from among the plurality of search target drawings according to the difference, and a learning step of generating the learning model based on the search target drawing content parameters of each of the plurality of search target drawings excluding the non-learning drawings.

本発明の一態様によれば、図面検索におけるユーザの利便性を従来よりも高めることができる。 According to one aspect of the present invention, it is possible to improve user convenience in drawing searches compared to the conventional method.

参考形態の情報処理システムの要部の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a main part of an information processing system according to a reference embodiment. 参考形態における第1テーブルの一例を示す図である。FIG. 11 is a diagram showing an example of a first table in the reference embodiment. 過去図面に対する特定文字列抽出処理の一例を示す図である。11A and 11B are diagrams illustrating an example of a specific character string extraction process for a past drawing. 参考形態における第2テーブルの一例を示す図である。FIG. 13 is a diagram showing an example of a second table in the reference embodiment. 参考形態における第3テーブルの一例を示す図である。FIG. 13 is a diagram showing an example of a third table in the reference embodiment. 新規図面に対する特定文字列抽出処理の一例を示す図である。11A and 11B are diagrams illustrating an example of a specific character string extraction process for a new drawing. 参考形態における関連性スコアの導出例について説明する図である。13A and 13B are diagrams illustrating an example of deriving a relevance score in a reference embodiment. 参考形態における図面検索結果の一例を示す図である。FIG. 13 is a diagram showing an example of a drawing search result in the reference embodiment. 実施形態1における情報処理システムの要部の構成を示すブロック図である。1 is a block diagram showing a configuration of a main part of an information processing system according to a first embodiment. 実施形態1における相違度について説明する図である。FIG. 4 is a diagram illustrating a degree of difference in the first embodiment. 実施形態1における相違度テーブルの一例を示す図である。FIG. 4 is a diagram illustrating an example of a dissimilarity table according to the first embodiment. 実施形態1における類似集合決定部の処理の一例を示す図である。6A to 6C are diagrams illustrating an example of a process of a similar set determination unit in the first embodiment. 実施形態1において得られた集合の階層構造を表すデンドログラムの一例を示す図である。FIG. 2 is a diagram showing an example of a dendrogram representing a hierarchical structure of a set obtained in the first embodiment. 実施形態1における学習対象外図面決定部の処理の一例を示す図である。11A to 11C are diagrams illustrating an example of processing by a non-learning drawing determination unit in the first embodiment. 実施形態1における編集後第2テーブルの一例を示す図である。FIG. 11 is a diagram showing an example of an edited second table in the first embodiment.

〔参考形態〕
実施形態1の情報処理システム100の説明に先立ち、参考形態としての情報処理システム100sについて述べる。説明の便宜上、参考形態にて説明した部材と同じ機能を有する部材については、以降の各実施形態では、同じ符号を付記し、その説明を繰り返さない。また、簡潔化のため、公知技術と同様の事項についても、説明を適宜省略する。
[Reference form]
Prior to the description of the information processing system 100 of the first embodiment, an information processing system 100s will be described as a reference embodiment. For convenience of description, the same reference numerals will be used in the following embodiments for components having the same functions as those described in the reference embodiment, and the description will not be repeated. For simplicity, the description of matters similar to those in the known technology will be omitted as appropriate.

本明細書において以下に述べる各数値は、単なる一例であることに留意されたい。本明細書では、2つの数AおよびBについての「A~B」という記載は、特に明示されない限り、「A以上かつB以下」を意味するものとする。 Please note that each numerical value described below in this specification is merely an example. In this specification, the description "A to B" for two numbers A and B means "greater than or equal to A and less than or equal to B" unless otherwise specified.

(情報処理システム100sの概要)
図1は、情報処理システム100sの要部の構成を示すブロック図である。情報処理システム100sは、情報処理装置1s、過去物件図面DB(Database)91、および新規物件図面DB92を備える。
(Overview of information processing system 100s)
1 is a block diagram showing the configuration of a main part of an information processing system 100s. The information processing system 100s includes an information processing device 1s, a past property plan DB (Database) 91, and a new property plan DB 92.

情報処理装置1sは、制御装置10s、入力部71、表示部72、および記憶部80を備える。制御装置10sは、学習装置11sおよび図面検索装置12を備える。本明細書の「物件」とは、例えば、プラントエンジニアリングにおける「サイト」を意味する。 The information processing device 1s includes a control device 10s, an input unit 71, a display unit 72, and a memory unit 80. The control device 10s includes a learning device 11s and a drawing search device 12. In this specification, "property" refers to, for example, a "site" in plant engineering.

情報処理装置1sは、過去物件図面DB91および新規物件図面DB92と通信可能に接続されていればよい。このため、図1の例とは異なり、情報処理装置1sの内部に、過去物件図面DB91および新規物件図面DB92の少なくとも一方が設けられていてもよい。 The information processing device 1s only needs to be communicably connected to the past property plan DB 91 and the new property plan DB 92. Therefore, unlike the example of FIG. 1, at least one of the past property plan DB 91 and the new property plan DB 92 may be provided inside the information processing device 1s.

情報処理装置1s(より具体的には、制御装置10s)による検索対象となる図面(検索対象図面)には、例えば、仕様図面、設計図面、および製作図面が含まれる。また、検索対象図面には、仕様書、設計書、および、見積書が含まれていてもよい。このように、検索対象図面は、「図面」という名称が含まれている書面に限定されない。一例として、検索対象図面には、プラントエンジニアリング分野におけるプロジェクトの計画に関する任意の種類の書面が含まれる。 Drawings to be searched for by the information processing device 1s (more specifically, the control device 10s) (search target drawings) include, for example, specification drawings, design drawings, and production drawings. Search target drawings may also include specifications, design documents, and estimates. In this way, search target drawings are not limited to documents that include the name "drawing." As an example, search target drawings include any type of document related to project plans in the plant engineering field.

制御装置10sは、情報処理装置1sの各部を統括的に制御する。記憶部80は、制御装置10sの処理に用いられる各種のデータおよびプログラムを格納する。以下に述べるように、制御装置10sは、機械学習を利用して、複数の検索対象図面(例:過去図面a1~MN)から、ターゲット図面(例:図面ND)に対応する少なくとも1つの図面を検索する。 The control device 10s comprehensively controls each part of the information processing device 1s. The memory unit 80 stores various data and programs used in the processing of the control device 10s. As described below, the control device 10s uses machine learning to search for at least one drawing that corresponds to the target drawing (e.g., drawing ND) from multiple search target drawings (e.g., past drawings a1 to MN).

入力部71は、ユーザの操作(ユーザ操作)を受け付ける。表示部72は、各種のデータを表示する。一例として、表示部72には、制御装置10sによる検索結果を示すデータが表示されてよい。なお、入力部71と表示部72とは、一体として設けられてもよい。例えば、タッチパネルを用いることにより、入力部71と表示部72とを一体化できる。 The input unit 71 accepts user operations (user operations). The display unit 72 displays various data. As an example, the display unit 72 may display data indicating the results of a search by the control device 10s. The input unit 71 and the display unit 72 may be provided as one unit. For example, the input unit 71 and the display unit 72 can be integrated by using a touch panel.

(過去物件図面DB91)
過去物件図面DB91には、過去の各物件(既設の各物件)に関する各図面(厳密には、図面データ)が格納されている。以下の説明では、「図面A(ある図面)の図面データ」を、単に「図面A」と適宜略称する。また、「図面Aの図面番号」を、単に「図面A」と適宜略称する。
(Past property drawings DB91)
The past property drawing DB 91 stores drawings (strictly speaking, drawing data) for each past property (each existing property). In the following description, "drawing data of drawing A (a certain drawing)" will be abbreviated as simply "drawing A" as appropriate. Also, "drawing number of drawing A" will be abbreviated as simply "drawing A" as appropriate.

参考形態では、過去物件図面DB91には、複数のM個の異なる物件のそれぞれについての各図面が格納されている。Mは、1以上の整数である。以下、j番目の物件を、「物件j」とも称する。jは、1以上かつM以下の整数である。 In the reference embodiment, the past property drawing DB91 stores drawings for each of a number M of different properties. M is an integer equal to or greater than 1. Hereinafter, the jth property is also referred to as "property j." j is an integer equal to or greater than 1 and equal to or less than M.

また、過去物件図面DB91には、物件1~Mのそれぞれについて、N個(N種類)の異なる図面が格納されている。Nは、1以上の整数である。以下、物件jにおけるi番目の図面を、「図面(i,j)」とも称する。また、各物件におけるi番目(i種類目)の図面を、総称的に図面iとも称する。iは、1以上かつN以下の整数である。 In addition, the past property drawing DB91 stores N different drawings (N types) for each of properties 1 to M. N is an integer greater than or equal to 1. Hereinafter, the i-th drawing for property j will also be referred to as "drawing (i, j)." The i-th drawing (i-th type) for each property will also be referred to collectively as drawing i. i is an integer greater than or equal to 1 and less than or equal to N.

以上のように、過去物件図面DB91には、合計でT個の図面が格納されている。参考形態の例では、T=M×Nである。Tは、2以上の整数であるものとする。つまり、MおよびNの少なくとも1つは、1以上であるものとする。 As described above, a total of T drawings are stored in the past property drawing DB91. In the reference example, T = M x N. T is an integer equal to or greater than 2. In other words, at least one of M and N is equal to or greater than 1.

具体的には、過去物件図面DB91では、図2に示す第1テーブルTB1の形態で、各種類の図面番号が物件番号毎にリスト化されている。以下、第1テーブルTB1を、「TB1」とも略記する。その他の要素についても、適宜同様に略記する。TB1は、「物件別ソート済の過去物件・図面対応テーブル」とも称される。TB1のi行j列目のセルは、図面(i,j)の図面番号を示す。 Specifically, in the past property drawing DB91, each type of drawing number is listed by property number in the form of the first table TB1 shown in Figure 2. Hereinafter, the first table TB1 is also abbreviated to "TB1". Other elements will be similarly abbreviated as appropriate. TB1 is also referred to as the "past property/drawing correspondence table sorted by property". The cell in the i-th row and j-th column of TB1 indicates the drawing number of drawing (i, j).

図2の例では、便宜上、物件1~3をそれぞれ、物件A~Cとも表記する。図2の例では、1種類目の図面(図面1)は外形図であり、2種類目の図面(図面2)は組立図であり、3種類目の図面(図面3)は基礎図である。また、N種類目の図面(図面N)は構成図である。 In the example of Figure 2, for convenience, properties 1 to 3 are also written as properties A to C, respectively. In the example of Figure 2, the first type of drawing (Drawing 1) is an outline drawing, the second type of drawing (Drawing 2) is an assembly drawing, and the third type of drawing (Drawing 3) is a foundation drawing. In addition, the Nth type of drawing (Drawing N) is a configuration drawing.

以下では、簡単のため、図2の例における図面(1,1)~(N,1)(すなわち、物件AにおけるN種類のそれぞれの図面)を、図面a1~aNとも表記する。例えば、図2の例における図面a1~aNはそれぞれ、物件Aの外形図~構成図を指す。その他の物件における各図面についても、同様に表記する。 For simplicity, in the following, drawings (1,1) to (N,1) in the example of Figure 2 (i.e., each of the N types of drawings for property A) will also be referred to as drawings a1 to aN. For example, drawings a1 to aN in the example of Figure 2 refer to the exterior drawing to configuration drawing of property A, respectively. The drawings for the other properties will be described in the same way.

以上のように、過去物件図面DB91には、図面a1から図面MNまでの、合計T個の図面が格納されている。以下、図面a1~MNを総称的に、過去図面とも称する。過去図面は、検索対象図面の一例である。このため、図面a1~MNは、検索対象図面群とも称される。 As described above, the past property drawing DB91 stores a total of T drawings, from drawing a1 to drawing MN. Hereinafter, drawings a1 to MN will be collectively referred to as past drawings. Past drawings are an example of drawings to be searched. For this reason, drawings a1 to MN will also be referred to as a group of drawings to be searched.

また、本明細書では、複数の過去図面(検索対象図面)のうちの任意の1つの図面を、候補図面とも称する。一例として、図面a1(物件Aの外形図)を候補図面とした場合の、各処理について主に例示する。その他の図面に対する処理については、適宜説明を省略するが、図面a1の場合と同様である。 In addition, in this specification, any one of multiple past drawings (search target drawings) is also referred to as a candidate drawing. As an example, the processing steps for drawing a1 (exterior drawing of property A) which is the candidate drawing will be mainly illustrated. The processing steps for other drawings will be omitted as appropriate, but are the same as those for drawing a1.

(学習装置11s)
学習装置11sは、過去図面データ取得部111、過去図面データ前処理部112(候補図面内容パラメータ取得部,検索対象図面内容パラメータ取得部)、および学習モデル生成部113sを備える。学習装置11sは、図面a1~MNに基づき、図面検索装置12による図面検索のための学習モデルを生成する。このことから、学習装置11sは、モデル生成装置と称されてもよい。以下、学習装置11sの処理の流れの一例について述べる。
(Learning device 11s)
The learning device 11s includes a past drawing data acquisition unit 111, a past drawing data preprocessing unit 112 (candidate drawing content parameter acquisition unit, search target drawing content parameter acquisition unit), and a learning model generation unit 113s. The learning device 11s generates a learning model for drawing search by the drawing search device 12 based on the drawings a1 to MN. For this reason, the learning device 11s may be referred to as a model generation device. An example of the processing flow of the learning device 11s will be described below.

(候補図面の取得)
過去物件図面DB91では、TB1sに従って、図面a1~MNが、図面種類別に予めソートされている。従って、例えば、過去図面データ取得部111は、「図面a1→b1→…→M1」の順に、各外形図を過去物件図面DB91から取得する。続いて、過去図面データ取得部111は、「図面a2→b2→…→M2」の順に、各組立図を過去物件図面DB91から取得する。そして、最終的には、過去図面データ取得部111は、「図面aN→bN→…→MN」の順に、各構成図を過去物件図面DB91から取得する。
(Acquisition of candidate drawings)
In the past property drawing DB91, drawings a1 to MN are pre-sorted by drawing type according to TB1s. Therefore, for example, the past drawing data acquisition unit 111 acquires each exterior drawing from the past property drawing DB91 in the order of "drawing a1 → b1 → ... → M1". Next, the past drawing data acquisition unit 111 acquires each assembly drawing from the past property drawing DB91 in the order of "drawing a2 → b2 → ... → M2". And finally, the past drawing data acquisition unit 111 acquires each configuration drawing from the past property drawing DB91 in the order of "drawing aN → bN → ... → MN".

上記の例の場合、過去図面データ取得部111は、はじめにTB1sの1行1列目のセルを参照する。そして、過去図面データ取得部111は、上記セルに対応する図面(1,1)、すなわち図面a1を、過去物件図面DB91から取得する。過去図面データ取得部111は、取得した図面a1を、過去図面データ前処理部112に供給する。 In the above example, the past drawing data acquisition unit 111 first references the cell in the first row and first column of TB1s. Then, the past drawing data acquisition unit 111 acquires the drawing (1,1) corresponding to the above cell, i.e. drawing a1, from the past property drawing DB91. The past drawing data acquisition unit 111 supplies the acquired drawing a1 to the past drawing data pre-processing unit 112.

(候補図面に対応する前処理データの生成)
過去図面データ前処理部112は、図面a1を解析することにより、当該図面a1に対応する前処理データを生成する。一例として、過去図面データ前処理部112は、図面a1にOCR処理を施し、OCR処理後データを生成する。OCR処理後データでは、図面a1において画像データとして表現されていた各文字が、文字コードへと変換されている。
(Generation of pre-processing data corresponding to candidate drawings)
The previous drawing data pre-processing unit 112 analyzes the drawing a1 to generate pre-processed data corresponding to the drawing a1. As an example, the previous drawing data pre-processing unit 112 performs OCR processing on the drawing a1 to generate post-OCR processing data. In the post-OCR processing data, each character represented as image data in the drawing a1 is converted into a character code.

そして、過去図面データ前処理部112は、OCR処理後データから、各図面について予め設定された特定の文字列(ストリング)を抽出(検出)する。以下、当該特定の文字列を、特定文字列と称する。実施形態1では、L個(Lは2以上の整数)の異なる第k特定文字列が、予め設定されているものとする。 Then, the past drawing data preprocessing unit 112 extracts (detects) a specific character string that is preset for each drawing from the post-OCR processing data. Hereinafter, the specific character string is referred to as a specific character string. In the first embodiment, it is assumed that L (L is an integer equal to or greater than 2) different kth specific character strings are preset.

以下では、k番目の特定文字列を、第k特定文字列と称する。kは、1以上かつL以下の整数である。以下の説明では、第1特定文字列が「電圧値」、第2特定文字列が「電流値」、第3特定文字列が「OR」、第L特定文字列が「開」として設定されている場合について、例示する。 In the following, the kth specific string is referred to as the kth specific string. k is an integer greater than or equal to 1 and less than or equal to L. In the following explanation, an example is given in which the first specific string is set to "voltage value", the second specific string is set to "current value", the third specific string is set to "OR", and the Lth specific string is set to "open".

但し、特定文字列は、上記の例に限定されない。特定文字列は、例えばエンジニアリング分野の図面中において、製品の仕様情報(技術情報)を説明するために、一般的に用いられている単語であればよい。 However, the specific character string is not limited to the above example. The specific character string may be, for example, a word that is commonly used to explain product specification information (technical information) in drawings in the engineering field.

図3は、図面a1に対する特定文字列抽出処理の一例を示す図である。図3の例では、図面a1の領域L1に、「電圧値 90V」という文字列が記載されている。この場合、過去図面データ前処理部112は、OCR処理後データから、L1の「電圧値 90V」という一連の文字列を抽出する。過去図面データ前処理部112は、抽出した当該一連の文字列から、第1特定文字列「電圧値」をさらに抽出する。 Figure 3 is a diagram showing an example of a specific character string extraction process for drawing a1. In the example of Figure 3, the character string "Voltage value 90V" is written in area L1 of drawing a1. In this case, the past drawing data pre-processing unit 112 extracts the series of characters "Voltage value 90V" in L1 from the data after OCR processing. The past drawing data pre-processing unit 112 further extracts the first specific character string "Voltage value" from the series of characters extracted.

続いて、過去図面データ前処理部112は、上記一連の文字列に対し、公知の構文解析技術を適用することにより、第1特定文字列「電圧値」に後続する文字列「90V」は、「電圧値」の属性を示していると判定する。この場合、過去図面データ前処理部112は、「90V」という文字列中に含まれる数字「90」を、「電圧値」の大きさを示す値として取得する。このように、過去図面データ前処理部112は、構文解析により、『L1に記載されている一連の文字列は、「電圧値が90Vである」という仕様情報を示している』旨を判定する。 Then, the past drawing data pre-processing unit 112 applies a known syntax analysis technique to the series of character strings, and determines that the character string "90V" following the first specific character string "Voltage value" indicates the attribute of "Voltage value". In this case, the past drawing data pre-processing unit 112 acquires the number "90" contained in the character string "90V" as a value indicating the magnitude of the "voltage value". In this way, the past drawing data pre-processing unit 112 determines through syntax analysis that "the series of character strings written in L1 indicate the specification information that 'the voltage value is 90V.'"

また、図面a1の領域L2には、「電流値 1.0A」という一連の文字列が記載されている。過去図面データ前処理部112は、L1の例と同様にして、上記一連の文字列から、第2特定文字列「電流値」を抽出する。そして、過去図面データ前処理部112は、第2特定文字列「電流値」に後続する文字列「1.0A」は、「電流値」の属性を示していると判定する。そこで、過去図面データ前処理部112は、「1.0A」という文字列中に含まれる数字「1.0」を、「電流値」の大きさを示す値として取得する。このように、過去図面データ前処理部112は、『L2に記載されている一連の文字列は、「電流値が2.0Aである」という仕様情報を示している』旨を判定する。 In addition, a series of characters "current value 1.0A" is written in area L2 of drawing a1. The past drawing data pre-processing unit 112 extracts the second specific character string "current value" from the series of characters in the same manner as in the example of L1. The past drawing data pre-processing unit 112 then determines that the character string "1.0A" following the second specific character string "current value" indicates the attribute of "current value". Therefore, the past drawing data pre-processing unit 112 acquires the number "1.0" contained in the character string "1.0A" as a value indicating the magnitude of the "current value". In this way, the past drawing data pre-processing unit 112 determines that "the series of characters written in L2 indicates the specification information that 'the current value is 2.0A.'"

ところで、図面a1には、第3特定文字列「OR」が記載されているが、当該第3特定文字列「OR」には、何ら文字列が後続していない。この場合、過去図面データ前処理部112は、OCR処理後データに含まれる第3特定文字列「OR」の登場回数を検出する。当該検出処理の結果、過去図面データ前処理部112は、図面a1に含まれている第3特定文字列「OR」の個数が、3つである旨を判定する(領域L3を参照)。 However, the third specific character string "OR" is written in drawing a1, but the third specific character string "OR" is not followed by any other character string. In this case, the past drawing data pre-processing unit 112 detects the number of occurrences of the third specific character string "OR" contained in the post-OCR processing data. As a result of this detection process, the past drawing data pre-processing unit 112 determines that the number of occurrences of the third specific character string "OR" contained in drawing a1 is three (see area L3).

同様に、図面a1には、第L特定文字列「開」が記載されているが、当該第L特定文字列「開」に、何ら文字が後続していない。そこで、過去図面データ前処理部112は、L3の例と同様に、図面a1に含まれている第L特定文字列「開」の個数が、1つである旨を判定する(領域L4を参照)。 Similarly, drawing a1 contains the Lth specific character string "open", but no characters follow the Lth specific character string "open". Therefore, the past drawing data pre-processing unit 112 determines that the number of Lth specific character strings "open" contained in drawing a1 is one, as in the example of L3 (see area L4).

そして、過去図面データ前処理部112は、OCR処理後データに対する上述の解析結果に基づき、図面a1に対応する前処理データを生成する。当該前処理データは、第k特定文字列に対応付けられた第k内容パラメータ(以下、Ak)を示すデータセットである。また、第1~第L内容パラメータを総称的に、内容パラメータとも称する。 Then, the past drawing data preprocessing unit 112 generates preprocessed data corresponding to drawing a1 based on the above-mentioned analysis results of the OCR processed data. The preprocessed data is a data set indicating the kth content parameter (hereinafter, Ak) associated with the kth specific character string. The first to Lth content parameters are also collectively referred to as content parameters.

内容パラメータは、図面の記載内容(具体的には、特定文字列に係る記載内容)を数値化(定量化)したデータの1つであると言える。このため、内容パラメータは、図面の記載内容を示す指標として用いられる。なお、後述するターゲット図面内容パラメータとの区別のため、検索対象図面(過去図面)の内容パラメータを、検索対象図面内容パラメータとも称する。また、検索対象図面の第k内容パラメータを、検索対象図面第k内容パラメータとも称する。 The content parameter can be said to be one of the data that quantifies (quantifies) the contents of the drawing (specifically, the contents related to a specific character string). For this reason, the content parameter is used as an index that indicates the contents of the drawing. Note that, to distinguish from the target drawing content parameters described later, the content parameters of the drawing to be searched (past drawing) are also referred to as the search target drawing content parameters. In addition, the kth content parameter of the drawing to be searched is also referred to as the kth content parameter of the drawing to be searched.

以下では、図面(i,j)のAkを、Ak(i,j)とも表記する。上述の通り、過去図面データ前処理部112は、図面(i,j)に対する解析結果(より具体的には、図面(i,j)における特定文字列の検出結果)に基づき、Ak(i,j)を設定する。 In the following, Ak of drawing (i, j) is also written as Ak(i, j). As described above, the past drawing data preprocessing unit 112 sets Ak(i, j) based on the analysis results for drawing (i, j) (more specifically, the detection results of a specific character string in drawing (i, j)).

一例として、過去図面データ前処理部112は、図面a1について、A1=90と設定する(後述の図4のハッチング箇所も参照)。すなわち、過去図面データ前処理部112は、図面a1に記載されている第1特定文字列「電圧値」の大きさを示す値「90」を、第1内容パラメータとして設定する。 As an example, the past drawing data pre-processing unit 112 sets A1=90 for drawing a1 (see also the hatched area in FIG. 4 described below). That is, the past drawing data pre-processing unit 112 sets the value "90" indicating the magnitude of the first specific character string "voltage value" written on drawing a1 as the first content parameter.

同様に、過去図面データ前処理部112は、A2=1.0と設定する。すなわち、過去図面データ前処理部112は、図面a1に記載されている第2特定文字列「電流値」の大きさを示す値「1.0」を、第2内容パラメータとして設定する。 Similarly, the past drawing data pre-processing unit 112 sets A2 = 1.0. In other words, the past drawing data pre-processing unit 112 sets the value "1.0" indicating the magnitude of the second specific character string "current value" written on drawing a1 as the second content parameter.

これに対し、過去図面データ前処理部112は、A3=3と設定する。すなわち、過去図面データ前処理部112は、図面a1における第3特定文字列「OR」の記載回数(登場回数)を示す値「3」を、第3内容パラメータとして設定する。 In response to this, the past drawing data pre-processing unit 112 sets A3 = 3. In other words, the past drawing data pre-processing unit 112 sets the value "3" indicating the number of times the third specific character string "OR" is written (appears) in drawing a1 as the third content parameter.

同様に、過去図面データ前処理部112は、AL=1と設定する。すなわち、過去図面データ前処理部112は、図面a1における第L特定文字列「開」の記載回数を示す値「1」を、第L内容パラメータとして設定する。 Similarly, the past drawing data preprocessing unit 112 sets AL = 1. That is, the past drawing data preprocessing unit 112 sets the value "1" indicating the number of times the Lth specific character string "open" is written in drawing a1 as the Lth content parameter.

以上のように、過去図面データ前処理部112は、図面a1について、A1~ALを設定する。以上のように、過去図面データ前処理部112は、候補図面を解析することにより、当該候補図面の内容パラメータを取得する。このことから、過去図面データ前処理部112は、候補図面内容パラメータ取得部とも呼称される。 As described above, the past drawing data pre-processing unit 112 sets A1 to AL for drawing a1. As described above, the past drawing data pre-processing unit 112 acquires the content parameters of the candidate drawing by analyzing the candidate drawing. For this reason, the past drawing data pre-processing unit 112 is also called the candidate drawing content parameter acquisition unit.

また、過去図面データ前処理部112は、その他の過去図面についても、同様の処理を行う。すなわち、過去図面データ前処理部112は、図面a1~MNのそれぞれに対し、A1~ALを設定する。 The past drawing data pre-processing unit 112 also performs similar processing on other past drawings. That is, the past drawing data pre-processing unit 112 sets A1 to AL for each of the drawings a1 to MN.

その後、過去図面データ前処理部112は、図面a1~MNのそれぞれのA1~AL、すなわち、A1(1,1)~AL(M,N)、を示す第2テーブルTB2を生成する。以下に述べるように、TB2は、参考形態における教師データの一例である。すなわち、過去図面データ前処理部112は、教師データを生成する機能部(教師データ生成部)としても動作する。 Then, the past drawing data preprocessing unit 112 generates a second table TB2 that shows A1 to AL of each of the drawings a1 to MN, i.e., A1(1,1) to AL(M,N). As described below, TB2 is an example of teacher data in the reference form. In other words, the past drawing data preprocessing unit 112 also operates as a functional unit that generates teacher data (teacher data generation unit).

TB2には、第2テーブル内第iサブテーブルTB2-iが含まれている。TB2-iは、図面iのそれぞれのA1~ALを示すテーブルである。図4には、一例として、TB2-1が示されている。TB2-1には、図面a1~M1(物件A~Mの外形図)のそれぞれのA1~ALが示されている。TB2sは、TB2-1~TB2-Nという、N個のサブテーブルのセットによって構成されている。このように、参考形態では、図面種別ごとにサブテーブルが作成される。 TB2 contains the ith sub-table TB2-i within the second table. TB2-i is a table showing A1 to AL for each of the drawings i. Figure 4 shows TB2-1 as an example. TB2-1 shows A1 to AL for each of the drawings a1 to M1 (exterior drawings of properties A to M). TB2s is made up of a set of N sub-tables, TB2-1 to TB2-N. In this way, in the reference form, a sub-table is created for each drawing type.

(参考形態における学習モデルの生成)
学習モデル生成部113sは、図面a1~M1に対応する前処理データ(すなわち、図面a1~M1におけるA1~AL)に基づき、当該図面a1~M1に応じた学習モデルを生成する。学習モデルの生成には、公知の機械学習アルゴリズムが使用されてよい。一例として、参考形態1では、学習モデル生成部113sは、多項ロジスティック回帰分析によって、学習モデルを生成する。
(Generation of learning models in reference form)
The learning model generation unit 113s generates a learning model corresponding to the drawings a1 to M1 based on the pre-processed data corresponding to the drawings a1 to M1 (i.e., A1 to AL in the drawings a1 to M1). A known machine learning algorithm may be used to generate the learning model. As an example, in the first embodiment, the learning model generation unit 113s generates the learning model by multinomial logistic regression analysis.

上述の通り、TB2には、複数の過去図面のそれぞれ(例:図面a1)の番号(識別子の一例)と、当該複数の過去図面のそれぞれのA1~ALとの対応関係が示されている。そこで、学習モデル生成部113sは、TB2を教師データとして取得する。そして、学習モデル生成部113sは、当該教師データを用いた多項ロジスティック回帰分析を行うことにより、参考形態における学習モデルを生成する。 As described above, TB2 indicates the number (an example of an identifier) of each of multiple past drawings (e.g., drawing a1) and the correspondence between A1 to AL of each of the multiple past drawings. Therefore, the learning model generation unit 113s acquires TB2 as training data. The learning model generation unit 113s then generates a learning model in the reference form by performing a multinomial logistic regression analysis using the training data.

一例として、学習モデル生成部113sは、TB2-1の各A1~ALに基づき、図面a1における第k特定文字列に対応付けられた第k重み係数(以下、Bk)を算出する。第1~第L重み係数を総称的に、重み係数とも称する。また、図面(i,j)のBkを、Bk(i,j)とも表記する。Bk(i,j)は、Ak(i,j)に対応する重み係数である。重み係数は、後述する関連性スコアの算出に用いられる。 As an example, the learning model generation unit 113s calculates the kth weighting coefficient (hereinafter, Bk) associated with the kth specific character string in drawing a1 based on each of A1 to AL in TB2-1. The first to Lth weighting coefficients are also collectively referred to as weighting coefficients. Furthermore, Bk in drawing (i, j) is also written as Bk(i, j). Bk(i, j) is the weighting coefficient corresponding to Ak(i, j). The weighting coefficient is used to calculate the relevance score, which will be described later.

例えば、学習モデル生成部113sは、上述の多項ロジスティック回帰分析によって、図面a1におけるB1~BLを算出する。参考形態では、図面a1について、B1=-0.5、B2=-1.2、B3=0.6、…、BL=0.7として、それぞれの重み係数が算出されている(後述の図5のハッチング箇所を参照)。 For example, the learning model generation unit 113s calculates B1 to BL for drawing a1 using the above-mentioned multinomial logistic regression analysis. In the reference embodiment, the weighting coefficients for drawing a1 are calculated as B1 = -0.5, B2 = -1.2, B3 = 0.6, ..., BL = 0.7 (see the hatched areas in Figure 5 described below).

学習モデル生成部113sは、その他の過去図面についても、同様の処理を行う。すなわち、学習モデル生成部113sは、図面a1~MNのそれぞれに対し、B1~BLを設定する。このように、学習モデル生成部113sは、図面a1~MNのそれぞれのB1~BL、すなわち、B1(1,1)~BL(M,N)、を含む学習モデルを生成する。 The learning model generation unit 113s performs similar processing for other past drawings. That is, the learning model generation unit 113s sets B1 to BL for each of drawings a1 to MN. In this way, the learning model generation unit 113s generates a learning model that includes B1 to BL for each of drawings a1 to MN, i.e., B1(1,1) to BL(M,N).

そして、学習モデル生成部113sは、B1(1,1)~BL(M,N)を示す第3テーブルTB3を生成する。TB3には、第3テーブル内第iサブテーブルTB3-iが含まれている。TB3-iは、図面iのそれぞれのB1~BLを示すテーブルである。図5には、一例として、TB3-1が示されている。TB3-1には、図面a1~M1のそれぞれのB1~BLが示されている。このように、TB3-1は、TB2-1の内容パラメータに対応する重み係数を示す。TB3は、TB3-1~TB3-Nという、N個のサブテーブルのセットによって構成されている。 Then, the learning model generation unit 113s generates a third table TB3 showing B1(1,1) to BL(M,N). TB3 includes an i-th sub-table TB3-i within the third table. TB3-i is a table showing B1 to BL of each of the drawings i. FIG. 5 shows TB3-1 as an example. TB3-1 shows B1 to BL of each of the drawings a1 to M1. In this way, TB3-1 shows weighting coefficients corresponding to the content parameters of TB2-1. TB3 is composed of a set of N sub-tables, TB3-1 to TB3-N.

(新規物件図面DB92)
新規物件図面DB92には、新規物件(例:これから建設が行われる予定である、少なくとも1つの物件)に関する各図面(以下、総称的に新規図面とも称する)が、新規物件データセットとして格納されている。以下では、新規物件データセットに含まれる1つの新規物件(物件T)について述べる。
(New property drawing DB92)
In the new property drawing DB 92, drawings (hereinafter collectively referred to as new drawings) relating to new properties (e.g., at least one property that is scheduled to be constructed) are stored as a new property data set. In the following, one new property (property T) included in the new property data set will be described.

一例として、新規物件図面DB92には、物件Tについて、過去物件と同種類のN個の異なる図面(外形図~構成図)が格納されている。以下では、物件Tの外形図を、新規図面の一例として例示する。また、物件Tの外形図を、図面NDと称する(後述の図6も参照)。 As an example, new property drawing DB92 stores N different drawings (outline drawing to configuration drawing) for property T that are of the same type as previous properties. Below, the outline drawing for property T is given as an example of a new drawing. The outline drawing for property T is also referred to as drawing ND (see also Figure 6 below).

(図面検索装置12)
図面検索装置12は、新規図面データ取得部121、新規図面データ前処理部122(ターゲット図面内容パラメータ取得部)、スコア演算部123、および検索結果データ生成部124を備える。スコア演算部123および検索結果データ生成部124は、総称的に検索部と称されてもよい。
(Drawing search device 12)
The drawing search device 12 includes a new drawing data acquisition unit 121, a new drawing data preprocessing unit 122 (target drawing content parameter acquisition unit), a score calculation unit 123, and a search result data generation unit 124. The score calculation unit 123 and the search result data generation unit 124 may be collectively referred to as a search unit.

参考形態では、図面検索装置12は、学習装置11sによって生成された学習モデルを用いて、ターゲット図面を複数の検索対象図面のそれぞれと照合することにより、少なくとも1つの図面を検索する。参考形態の図面NDは、ターゲット図面の一例である。以下に述べるように、図面検索装置12では、上記学習モデル用いて、図面NDに対し、図面a1~MNのそれぞれとの照合が行われる。 In the reference embodiment, the drawing search device 12 searches for at least one drawing by matching the target drawing with each of the multiple search target drawings using the learning model generated by the learning device 11s. Drawing ND in the reference embodiment is an example of a target drawing. As described below, the drawing search device 12 uses the learning model to match drawing ND with each of drawings a1 to MN.

(新規図面の取得)
新規図面データ取得部121は、過去図面データ取得部111と対になる機能部である。一例として、新規図面データ取得部121は、入力部71が所定のユーザ操作を受け付けたことを契機として、新規物件図面DB92の新規物件データセットに含まれている、所定の新規図面(例:図面ND)を取得する。新規図面データ取得部121は、取得した図面NDを、新規図面データ前処理部122に供給する。
(Acquisition of new drawings)
The new drawing data acquisition unit 121 is a functional unit paired with the past drawing data acquisition unit 111. As an example, the new drawing data acquisition unit 121 acquires a predetermined new drawing (e.g., drawing ND) included in the new property data set of the new property drawing DB 92 when the input unit 71 accepts a predetermined user operation. The new drawing data acquisition unit 121 supplies the acquired drawing ND to the new drawing data pre-processing unit 122.

(新規図面に対応する前処理データの生成)
新規図面データ前処理部122は、過去図面データ前処理部112と対になる機能部である。新規図面データ前処理部122は、過去図面データ前処理部112と同様の処理により、図面NDに対応する前処理データを生成する。すなわち、新規図面データ前処理部122は、図面NDにOCR処理を施し、当該図面NDから特定文字列を抽出する。そして、新規図面データ前処理部122は、特定文字列の抽出結果に基づき、当該図面NDの内容パラメータを設定する。以下、図面NDの第k内容パラメータを、Ckとも称する。
(Generating pre-processing data for new drawings)
The new drawing data pre-processing unit 122 is a functional unit paired with the previous drawing data pre-processing unit 112. The new drawing data pre-processing unit 122 generates pre-processed data corresponding to the drawing ND by the same process as the previous drawing data pre-processing unit 112. That is, the new drawing data pre-processing unit 122 performs OCR processing on the drawing ND and extracts a specific character string from the drawing ND. Then, the new drawing data pre-processing unit 122 sets content parameters of the drawing ND based on the extraction result of the specific character string. Hereinafter, the k-th content parameter of the drawing ND is also referred to as Ck.

すなわち、新規図面データ前処理部122は、過去図面データ前処理部112と同じ解析手法によって図面NDを解析することにより、当該図面NDの内容パラメータを取得する。なお、上述の検索対象図面内容パラメータとの区別のため、ターゲット図面(図面ND)の内容パラメータを、ターゲット図面内容パラメータとも称する。また、ターゲット図面の第k内容パラメータを、ターゲット図面第k内容パラメータとも称する。 That is, the new drawing data pre-processing unit 122 obtains the content parameters of the drawing ND by analyzing the drawing ND using the same analysis method as the past drawing data pre-processing unit 112. Note that, to distinguish from the above-mentioned search target drawing content parameters, the content parameters of the target drawing (drawing ND) are also referred to as target drawing content parameters. Also, the kth content parameter of the target drawing is also referred to as the kth content parameter of the target drawing.

図6は、図面NDに対する特定文字列抽出処理の一例を示す図である。図6は、図3と対になる図である。図6の例では、図面NDの領域R1に、「電圧値 50V」という文字列が記載されている。従って、新規図面データ前処理部122は、第1特定文字列の抽出結果に基づき、C1=50と設定する(後述の図7も参照)。 Figure 6 is a diagram showing an example of a specific character string extraction process for a drawing ND. Figure 6 is a diagram paired with Figure 3. In the example of Figure 6, the character string "Voltage value 50V" is written in region R1 of drawing ND. Therefore, the new drawing data pre-processing unit 122 sets C1 = 50 based on the result of extraction of the first specific character string (see also Figure 7 described below).

ところで、図面NDの領域R1の位置は、図面a1の領域L1の位置とは異なっている(図3・図6を参照)。但し、図面NDでは、図面a1とは記載位置が異なるものの、当該図面a1と同じ種類の仕様情報(電圧値)が記載されている。新規図面データ前処理部122による第1内容パラメータの設定手法によれば、図面NDと図面a1との見かけ上の違い(例:第1特定文字列の記載位置の違い)によらず、図面NDと図面a1と間の記載内容(第1特定文字列に係る仕様情報)自体の一致性を、定量的に評価できる。この点に関しては、以下に述べるC2~CL(換言すれば、領域R2~R4)についても同様である。 The position of region R1 in drawing ND is different from the position of region L1 in drawing a1 (see Figures 3 and 6). However, although the description position is different in drawing ND from that in drawing a1, the same type of specification information (voltage value) is described as in drawing a1. According to the method of setting the first content parameter by the new drawing data pre-processing unit 122, the consistency of the description content (specification information related to the first specific string) between drawing ND and drawing a1 can be quantitatively evaluated regardless of the apparent difference between drawing ND and drawing a1 (e.g., the difference in the description position of the first specific string). In this regard, the same applies to C2 to CL (in other words, regions R2 to R4) described below.

また、図6の例では、図面NDの領域R2に、「電流値 2.5A」という文字列が記載されている。従って、新規図面データ前処理部122は、第2特定文字列の抽出結果に基づき、C2=2.5と設定する(図6を参照)。 In the example of FIG. 6, the character string "current value 2.5A" is written in region R2 of drawing ND. Therefore, the new drawing data preprocessing unit 122 sets C2=2.5 based on the extraction result of the second specific character string (see FIG. 6).

さらに、新規図面データ前処理部122は、図面NDに含まれている第3特定文字列「OR」の個数が、3つである旨を判定する(図6の領域R3を参照)。従って、新規図面データ前処理部122は、C3=3と設定する。 Furthermore, the new drawing data pre-processing unit 122 determines that the number of occurrences of the third specific character string "OR" contained in the drawing ND is three (see region R3 in FIG. 6). Therefore, the new drawing data pre-processing unit 122 sets C3=3.

同様に、新規図面データ前処理部122は、図面NDに含まれている第L特定文字列「開」の個数が、2つである旨を判定する(図6の領域R4を参照)。従って、新規図面データ前処理部122は、CL=2と設定する。 Similarly, the new drawing data pre-processing unit 122 determines that the number of occurrences of the Lth specific character string "kai" contained in the drawing ND is two (see region R4 in FIG. 6). Therefore, the new drawing data pre-processing unit 122 sets CL=2.

以上のように、新規図面データ前処理部122は、図面NDに対し過去図面データ前処理部112と同様の処理を行うことにより、C1~CLを設定する。その後、新規図面データ前処理部122は、C1~CLを示す新規図面内容パラメータテーブルTB-NDを生成する(図7を参照)。 As described above, the new drawing data pre-processing unit 122 sets C1 to CL by performing the same processing on the drawing ND as the past drawing data pre-processing unit 112. After that, the new drawing data pre-processing unit 122 generates a new drawing content parameter table TB-ND indicating C1 to CL (see FIG. 7).

(関連性スコアの算出)
スコア演算部123は、学習モデル生成部113sによって生成された学習モデル(より具体的には、B1(1,1)~BL(M,N))に基づき、関連性スコアを算出する。関連性スコアとは、図面NDに対する各過去図面(図面a1~MN)の関連性の高さを示すスコア(指標)である。以下、図面(i,j)の関連性スコアを、SCORE(i,j)とも表記する。また、SCORE(i,j)を、SCOREとも略記する。
(Calculation of relevance score)
The score calculation unit 123 calculates a relevance score based on the learning model (more specifically, B1(1,1) to BL(M,N)) generated by the learning model generation unit 113s. The relevance score is a score (index) indicating the degree of relevance of each past drawing (drawings a1 to MN) to drawing ND. Hereinafter, the relevance score of drawing (i,j) is also written as SCORE(i,j). SCORE(i,j) is also abbreviated as SCORE.

以下では、図7(特に、図7のハッチング箇所)を参照し、関連性スコアを算出する場合を例示する。以下の例では、説明の便宜上、図面NDと同種類の過去図面(すなわち、外形図である図面a1~M1)のそれぞれについて、関連性スコアを算出する場合を説明する。但し、図面NDと異なる種類の過去図面についても、図7の例と同様に関連性スコアが導出されることに留意されたい。 Below, an example of calculating the relevance score is shown with reference to FIG. 7 (particularly the hatched areas in FIG. 7). For ease of explanation, the following example shows a case where the relevance score is calculated for each of the previous drawings of the same type as drawing ND (i.e., drawings a1 to M1, which are outline drawings). However, please note that the relevance score is also derived for previous drawings of a different type from drawing ND, in the same way as in the example of FIG. 7.

図7は、関連性スコアの導出例について説明する図である。図7では、図面a1のSCOREを算出する例について主に述べる。スコア演算部123は、(i)新規図面データ前処理部122によって導出されたC1~CLと、(ii)学習モデル生成部113sによって導出された、図面a1のB1~BLと、を用いて、当該図面a1の第1素点~第L素点を算出する。 Figure 7 is a diagram explaining an example of deriving a relevance score. Figure 7 mainly describes an example of calculating the SCORE of drawing a1. The score calculation unit 123 calculates the first raw score to the Lth raw score of drawing a1 using (i) C1 to CL derived by the new drawing data preprocessing unit 122 and (ii) B1 to BL of drawing a1 derived by the learning model generation unit 113s.

以下、第k素点を、SSkとも表記する。なお、図面(i,j)の第k素点を、SSk(i,j)とも表記する。また、第1素点~第L素点を総称的に、素点とも称する。SSkは、Bk(第k重み係数)に対応している。 Hereinafter, the kth raw score will also be written as SSk. The kth raw score of drawing (i, j) will also be written as SSk(i, j). The first raw score to the Lth raw score will also be collectively referred to as raw scores. SSk corresponds to Bk (the kth weighting coefficient).

具体的には、スコア演算部123は、図面NDの第k内容パラメータ(Ck)と図面a1の第k重み係数(Bk)との積を、SSkとして算出する。つまり、スコア演算部123は、
SSk=Ck×Bk …(1)
を算出する。
Specifically, the score calculation unit 123 calculates the product of the k-th content parameter (Ck) of the drawing ND and the k-th weighting coefficient (Bk) of the drawing a1 as SSk.
SSk=Ck×Bk…(1)
Calculate.

図7の例では、C1=50、B1=-0.5である。このため、スコア演算部123は、SS1=50×-0.5=-25として、SS1を導出する。同様にして、スコア演算部123は、以降の各素点を算出する。例えば、スコア演算部123は、SS2=-3、SS3=1.8、…、SSL=1.4として、各素点を算出する。 In the example of FIG. 7, C1=50, B1=-0.5. Therefore, the score calculation unit 123 derives SS1 as SS1=50×-0.5=-25. In a similar manner, the score calculation unit 123 calculates each subsequent raw score. For example, the score calculation unit 123 calculates each raw score as SS2=-3, SS3=1.8, ..., SSL=1.4.

続いて、スコア演算部123は、図面a1の第1素点~第L素点に基づき、当該図面a1の関連性スコア(SCORE)を算出する。具体的には、スコア演算部123は、第1素点から第L素点までの各素点の和を、SCOREとして算出する。すなわち、スコア演算部123は、
SCORE=ΣSSk …(2)
を算出する。式(2)の右辺におけるkの範囲は、1からLまでである。この点は、後述する式(2A)等についても同様である。
Next, the score calculation unit 123 calculates a relevance score (SCORE) of the drawing a1 based on the first raw score to the Lth raw score of the drawing a1. Specifically, the score calculation unit 123 calculates the sum of each raw score from the first raw score to the Lth raw score as the SCORE. That is, the score calculation unit 123 calculates the relevance score (SCORE) of the drawing a1 based on the first raw score to the Lth raw score of the drawing a1.
SCORE=ΣSSk…(2)
The range of k on the right side of the formula (2) is from 1 to L. This also applies to the formula (2A) etc. described later.

以上のように、スコア演算部123は、各Ckと各Bkとを用いて、SCOREを算出する。以下、図面a1の関連性スコアを、SCORE(a1)とも表記する。その他の過去図面の関連性スコアについても、同様に表記する。図7の例では、スコア演算部123による計算の結果、SCORE(a1)=-30.4が得られた。 As described above, the score calculation unit 123 calculates SCORE using each Ck and each Bk. Hereinafter, the relevance score of drawing a1 will also be referred to as SCORE(a1). The relevance scores of other past drawings will be similarly represented. In the example of Figure 7, the result of calculation by the score calculation unit 123 was SCORE(a1) = -30.4.

続いて、スコア演算部123は、同様の手法によって、残りの各過去図面(図7の例では、図面b1~M1)のSCOREを算出する。図7の例では、スコア演算部123による計算の結果、SCORE(b1)=41.1、SCORE(c1)=36.5、…、SCORE(M1)=4.2が得られた。 Then, the score calculation unit 123 uses a similar method to calculate the SCORE of each of the remaining past drawings (drawings b1 to M1 in the example of FIG. 7). In the example of FIG. 7, the results of calculations by the score calculation unit 123 are SCORE(b1) = 41.1, SCORE(c1) = 36.5, ..., SCORE(M1) = 4.2.

また、図7の例では、SCORE(a1)~SCORE(M1)というM個のSCOREのうち、最大の関連性スコアはSCORE(b1)であることが確認された。また、上記M個のSCOREのうち、SCORE(c1)が2番目に大きいことが確認された。さらに、上記M個のSCOREのうち、最小の関連性スコアはSCORE(a1)であることが確認された。 In the example of FIG. 7, it was confirmed that the maximum relevance score of the M SCOREs, SCORE(a1) to SCORE(M1), was SCORE(b1). It was also confirmed that SCORE(c1) was the second largest of the M SCOREs. It was also confirmed that the minimum relevance score of the M SCOREs was SCORE(a1).

スコア演算部123は、自身の計算結果を示す第4テーブルTB4を生成する。TB4には、第4テーブル内第iサブテーブルTB4-iが含まれている。TB4-iは、図面iのそれぞれのSS1~SSLおよびSCOREを示すテーブルである。図7には、一例として、TB4-1が示されている。TB4-1には、図面a1~M1のそれぞれのSS1~SSLおよびSCOREが示されている。このように、TB4-1は、TB-NDおよびTB3-1に基づいて生成される。TB4は、TB4-1~TB4-Nという、N個のサブテーブルのセットによって構成されている。 The score calculation unit 123 generates a fourth table TB4 that indicates its own calculation results. TB4 includes an i-th sub-table TB4-i within the fourth table. TB4-i is a table that indicates SS1 to SSL and SCORE for each of the drawings i. FIG. 7 shows TB4-1 as an example. TB4-1 shows SS1 to SSL and SCORE for each of the drawings a1 to M1. In this way, TB4-1 is generated based on TB-ND and TB3-1. TB4 is composed of a set of N sub-tables, TB4-1 to TB4-N.

なお、上述の式(1)は、
SSk(i,j)=Ck×Bk(i,j) …(1A)
とも表記できる。このように、スコア演算部123は、Bk(i,j)に基づきSSk(i,j)を算出する。
In addition, the above formula (1) is
SSk(i,j)=Ck×Bk(i,j)...(1A)
In this way, the score calculation unit 123 calculates SSk(i,j) based on Bk(i,j).

また、上述の式(2)は、
SCORE(i,j)=ΣSSk(i,j)
=Σ{Ck×Bk(i,j)}…(2A)
とも表記できる。このように、スコア演算部123は、各SSk(i,j)(すなわち、各Ckおよび各Bk(i,j))に基づき、SCORE(i,j)を算出する。
Moreover, the above formula (2) is
SCORE (i, j) = ΣSSk (i, j)
=Σ{Ck×Bk(i,j)}...(2A)
In this way, the score calculation unit 123 calculates SCORE(i,j) based on each SSk(i,j) (i.e., each Ck and each Bk(i,j)).

また、上述の式(2A)は、
SCORE(i,j)=Σ{Ak(i,j)×Bk(i,j)}…(3)
において、Ak(i,j)にCkを代入した式と理解することもできる。このように、スコア演算部123は、学習モデル内の独立変数(説明変数)として、C1~CLを適用することにより、従属変数(目的変数)であるSCOREを算出できる。
なお、式(3)の右辺は、多項ロジスティック回帰分析における線形モデル(多項ロジスティック回帰分析モデル)の一例である。
Moreover, the above formula (2A) is
SCORE(i,j)=Σ{Ak(i,j)×Bk(i,j)}...(3)
In this way, the score calculation unit 123 can calculate the SCORE, which is a dependent variable (objective variable), by applying C1 to CL as independent variables (explanatory variables) in the learning model.
The right side of equation (3) is an example of a linear model in multinomial logistic regression analysis (multinomial logistic regression analysis model).

なお、SSkは、Ckに応じた学習モデルの出力と表現することもできる。このことから、スコア演算部123は、学習モデルの出力(SS1~SSk)に基づき、SCOREを算出すると表現することもできる。 In addition, SSk can also be expressed as the output of the learning model corresponding to Ck. From this, it can also be expressed that the score calculation unit 123 calculates SCORE based on the outputs of the learning model (SS1 to SSk).

あるいは、学習モデルは、SCOREを出力するように構成されてもよい。この場合、スコア演算部123は、学習モデルの出力としてのSCOREを取得し、当該SCOREを検索結果データ生成部124に供給する。 Alternatively, the learning model may be configured to output a SCORE. In this case, the score calculation unit 123 obtains the SCORE as an output of the learning model and supplies the SCORE to the search result data generation unit 124.

(候補順位の決定)
検索結果データ生成部124は、スコア演算部123によって算出されたSCORE(a1)~SCORE(M1)に基づき、図面NDに対応する候補順位(候補ランキング)を決定する。具体的には、検索結果データ生成部124は、SCORE(a1)~SCORE(M1)に基づき、図面a1~M1(外形図)のそれぞれの候補順位(第1候補~第M候補)を決定する。
(Decision of the ranking of candidates)
The search result data generating unit 124 determines a candidate order (candidate ranking) corresponding to the drawing ND based on the SCORE(a1) to SCORE(M1) calculated by the score calculating unit 123. Specifically, the search result data generating unit 124 determines a candidate order (first candidate to Mth candidate) for each of the drawings a1 to M1 (outline drawing) based on the SCORE(a1) to SCORE(M1).

検索結果データ生成部124は、SCORE(a1)~SCORE(M1)を、各SCOREの値に応じてソートする。一例として、検索結果データ生成部124は、SCORE(a1)~SCORE(M1)を、値が大きい順にソートする。そして、検索結果データ生成部124は、g番目に大きいSCOREに対応する過去図面を、第g候補(以下、候補gとも称する)として決定する。gは、1以上かつM以下の整数である。 The search result data generation unit 124 sorts SCORE(a1) to SCORE(M1) according to the value of each SCORE. As an example, the search result data generation unit 124 sorts SCORE(a1) to SCORE(M1) in descending order of value. Then, the search result data generation unit 124 determines the past drawing corresponding to the gth largest SCORE as the gth candidate (hereinafter also referred to as candidate g). g is an integer greater than or equal to 1 and less than or equal to M.

このようにSCOREに応じて候補番号を設定すれば、候補番号が小さくなるほど(より上位の候補であるほど)、過去図面と図面NDとの関連性が高いことが期待される。例えば、候補1は、図面a1~M1のうち、図面NDとの関連性が最も高いことがSCOREによって示されている過去図面を指す。 By setting candidate numbers according to SCORE in this way, it is expected that the smaller the candidate number (the higher the candidate), the higher the relevance between the past drawing and drawing ND. For example, candidate 1 refers to the past drawing among drawings a1 to M1 that is shown by SCORE to have the highest relevance with drawing ND.

上述の通り、SCORE(b1)は、SCORE(a1)~SCORE(M1)のうち、最大の関連性スコア(1番目に大きい関連性スコア)である。そこで、検索結果データ生成部124は、図面b1を候補1として決定する(図8のハッチング箇所を参照)。このように、検索結果データ生成部124は、図面NDとの関連性が最も高い過去図面として、図面b1を選択する。 As described above, SCORE(b1) is the maximum relevance score (the largest relevance score) among SCORE(a1) to SCORE(M1). Therefore, the search result data generation unit 124 determines drawing b1 as candidate 1 (see the hatched area in Figure 8). In this way, the search result data generation unit 124 selects drawing b1 as the past drawing that is most highly related to drawing ND.

また、SCORE(c2)は、SCORE(a1)~SCORE(M1)のうち、2番目に大きい関連性スコアである。そこで、検索結果データ生成部124は、図面c2を候補2として決定する。このように、検索結果データ生成部124は、図面NDとの関連性が2番目に高い過去図面として、図面c2を選択する。 Furthermore, SCORE(c2) is the second largest relevance score among SCORE(a1) to SCORE(M1). Therefore, the search result data generation unit 124 determines drawing c2 as candidate 2. In this way, the search result data generation unit 124 selects drawing c2 as the past drawing with the second highest relevance to drawing ND.

さらに、SCORE(a1)は、SCORE(a1)~SCORE(M1)のうち、最小の関連性スコア(M番目に大きい関連性スコア)である。そこで、検索結果データ生成部124は、図面a1を候補Mとして決定する。このように、検索結果データ生成部124は、図面NDとの関連性が最も低い(M番目に高い)過去図面として、図面a1を選択する。 Furthermore, SCORE(a1) is the smallest relevance score (the Mth largest relevance score) among SCORE(a1) to SCORE(M1). Therefore, the search result data generation unit 124 determines drawing a1 as candidate M. In this way, the search result data generation unit 124 selects drawing a1 as the past drawing with the lowest relevance (the Mth highest) to drawing ND.

検索結果データ生成部124は、図面NDに対する図面a1~M1の候補番号を示すデータを生成する。当該データでは、図面a1~M1の図面番号(識別子)が、SCOREに応じてソートされている。より具体的には、当該データでは図面a1~M1の図面番号が、SCOREが高い順にソートされている。 The search result data generation unit 124 generates data indicating the candidate numbers of drawings a1 to M1 for drawing ND. In this data, the drawing numbers (identifiers) of drawings a1 to M1 are sorted according to SCORE. More specifically, in this data, the drawing numbers of drawings a1 to M1 are sorted in descending order of SCORE.

なお、検索結果データ生成部124は、新規図面の種類が外形図とは異なる場合にも、当該新規図面と同種類の過去図面について、同様の処理を行う。例えば、新規図面の種類が組立図である場合を考える。この場合、検索結果データ生成部124は、SCORE(a2)~SCORE(M2)に基づき、新規図面に対する図面a2~M2(組立図)のそれぞれの候補番号を決定する。その他の種類の図面についても同様である。 The search result data generation unit 124 performs the same process on past drawings of the same type as the new drawing even if the type of the new drawing is different from an outline drawing. For example, consider a case where the type of the new drawing is an assembly drawing. In this case, the search result data generation unit 124 determines the candidate numbers for each of drawings a2 to M2 (assembly drawings) for the new drawing based on SCORE(a2) to SCORE(M2). The same applies to other types of drawings.

以上のように、検索結果データ生成部124は、種類iに属する図面NDに対し、SCORE(i,1)~SCORE(i,N)に基づき、図面(i,1)~図面(i,M)の候補番号を設定する。具体的には、検索結果データ生成部124は、SCORE(i,1)~SCORE(i,M)のうち、g番目に大きいSCOREであるSCORE(i,g)を特定する。そして、検索結果データ生成部124は、SCORE(i,g)に対応する過去図面、すなわち図面(i,g)を、候補gとして決定する。 As described above, the search result data generation unit 124 sets candidate numbers for drawings (i,1) to (i,M) for drawings ND belonging to type i based on SCORE(i,1) to SCORE(i,N). Specifically, the search result data generation unit 124 identifies SCORE(i,g), which is the gth largest SCORE among SCORE(i,1) to SCORE(i,M). Then, the search result data generation unit 124 determines the past drawing corresponding to SCORE(i,g), i.e., drawing (i,g), as candidate g.

一例として、検索結果データ生成部124は、検索結果データとして第5テーブルTB5を生成する。TB5では、図面NDの種類ごとに、候補番号が高い順に(SCOREが大きい順に)、過去図面がソートされている。図8には、TB5の一例が示されている。検索結果データ生成部124は、TB5を表示部72に供給し、当該TB5を表示部72に表示させる。 As an example, the search result data generation unit 124 generates a fifth table TB5 as the search result data. In TB5, past drawings are sorted for each type of drawing ND in descending order of candidate number (in descending order of SCORE). An example of TB5 is shown in FIG. 8. The search result data generation unit 124 supplies TB5 to the display unit 72 and causes the display unit 72 to display the TB5.

表示部72にTB5を表示させることにより、ユーザに、図面検索装置12(より具体的には、検索結果データ生成部124)の検索結果を、一覧性が高い態様で提示することができる。 By displaying TB5 on the display unit 72, the search results of the drawing search device 12 (more specifically, the search result data generation unit 124) can be presented to the user in a highly viewable manner.

但し、検索結果データ生成部124は、TB5の全体を、必ずしも検索結果データとしてユーザに提示しなくともよい。過去図面数があまりに多い場合、TB5の全体をユーザに提示すると、かえってユーザの利便性が低下しうることも考えられるためである。 However, the search result data generation unit 124 does not necessarily have to present the entire TB5 to the user as search result data. This is because if there are too many past drawings, presenting the entire TB5 to the user may actually reduce user convenience.

従って、検索結果データは、TB5の少なくとも一部であればよい。検索結果データは、ターゲット図面(図面ND)に対応する少なくとも1つの図面(少なくとも1つの過去図面)を示すデータであればよい。 Therefore, the search result data may be at least a part of TB5. The search result data may be data indicating at least one drawing (at least one past drawing) corresponding to the target drawing (drawing ND).

ところで、上述の通り、候補1の図面は、複数の過去図面のうち、SCOREが最も高い図面である。そこで、検索結果データのデータ量低減の観点からは、検索結果データを、候補1の図面のみを示すデータとして生成することも考えられる。 As mentioned above, the drawing in candidate 1 is the drawing with the highest SCORE among multiple past drawings. Therefore, from the perspective of reducing the amount of data in the search result data, it is also possible to generate the search result data as data showing only the drawing in candidate 1.

しかしながら、プラントエンジニアリング分野における機器の設計を行う場合、設計者は各種の技術情報を総合的に判断する必要がある。このため、過去図面を参考として図面NDに記載された機器を新たに設計する場合、SCOREが最も高い過去図面(候補1の図面)が、設計の参考に最も適しているとは限らない。例えば、候補2の図面(SCOREがより低い図面)が、候補1の図面に比べて、実際には設計の参考により適している場合もありうる。 However, when designing equipment in the field of plant engineering, designers need to make a comprehensive judgment based on various technical information. For this reason, when designing new equipment described in drawing ND using previous drawings as reference, the previous drawing with the highest SCORE (candidate 1 drawing) is not necessarily the most suitable reference for the design. For example, candidate 2 drawing (drawing with a lower SCORE) may actually be more suitable as a reference for the design than candidate 1 drawing.

そこで、検索結果データは、上位の複数の候補(例:γ番目までの候補)を示すデータであることが好ましい。すなわち、検索結果データは、候補1~候補γの図面を示すデータであってよい。γは、1以上かつg以下の整数である。 Therefore, it is preferable that the search result data is data indicating the top multiple candidates (e.g., the first γ candidates). In other words, the search result data may be data indicating drawings of candidates 1 to γ, where γ is an integer greater than or equal to 1 and less than or equal to g.

(参考形態の効果)
プラントエンジニアリングでは、物件Tに関するプロジェクトの進捗に伴い、図面ND(ターゲット図面)との関連性が高い過去図面を検索することが必要とされる場合がある(特許文献1も参照)。上記プロジェクトでは、過去物件における特定の種類の機器の設計・製作実績を参考に、物件Tにおける同種類の機器についての各種の計画(例:製作期間の予想、製作コストの試算)がなされる場合が多いためである。
(Effects of the reference form)
In plant engineering, as a project for object T progresses, it may be necessary to search for past drawings that are highly related to drawing ND (target drawing) (see also Patent Document 1). This is because in the above project, various plans (e.g., forecast of manufacturing period, trial calculation of manufacturing cost) for a specific type of equipment in object T are often made with reference to the design and manufacturing track record of the same type of equipment in past objects.

ここで、図面NDと同様の仕様情報が記載されている過去図面であれば、図面NDとの関連性が高いことが期待される。しかしながら、プラントエンジニアリングでは、過去物件の図面数が膨大であることが一般的である。このため、特許文献1の図面検索システムを用いたとしても、所望の図面(図面NDとの関連性が高い過去図面)を検索結果から迅速に見つけ出すことは、ユーザにとって必ずしも容易ではない。特許文献1の図面検索システムにおいて、キーワードレス検索を行った場合には、検索結果としてかなり多数の過去図面がヒットすることが考えられるためである。 Here, if the past drawing contains similar specification information as drawing ND, it is expected that it will be highly relevant to drawing ND. However, in plant engineering, it is common for there to be a huge number of drawings for past projects. For this reason, even if the drawing search system of Patent Document 1 is used, it is not necessarily easy for a user to quickly find the desired drawing (a past drawing that is highly relevant to drawing ND) from the search results. This is because when a keyword-less search is performed with the drawing search system of Patent Document 1, it is likely that a large number of past drawings will be hit as search results.

そこで、キーワード検索機能を有する公知の図面検索システムを用いて、図面NDとの関連性が高い所望の図面を検索することも一案である。例えば、図面ND中に記載されている特定文字列をキーワード(検索ワード)として、過去図面を検索することが考えられる。しかしながら、このようなキーワード検索を行った場合にも、所望の図面を検索結果から迅速に見つけ出すことは、ユーザにとって必ずしも容易ではない。キーワード検索を行った場合にも、検索結果としてかなり多数の過去図面がヒットすることが考えられるためである。また、適切な検索ワードをユーザが決定できない場合には、そもそもキーワード検索を利用することが困難である。 One idea is to use a known drawing search system with a keyword search function to search for the desired drawing that is highly related to the drawing ND. For example, it is possible to search for past drawings using a specific character string written in the drawing ND as a keyword (search word). However, even when performing such a keyword search, it is not necessarily easy for the user to quickly find the desired drawing from the search results. This is because even when performing a keyword search, it is likely that a considerable number of past drawings will be hit as search results. Furthermore, if the user cannot determine an appropriate search word, it is difficult to use a keyword search in the first place.

以上の通り、従来の図面検索システムを用いて所望の図面を迅速に検索することは、プラントエンジニアリングについて十分な知識を有していないユーザ(例:新人設計者)にとって、困難を伴う。プラントエンジニアリングに精通したユーザ(例:ベテラン設計者)でなければ、従来の図面検索システムを用いて所望の図面を効率的に検索することは必ずしも容易ではないと考えられる。 As described above, it is difficult for users who do not have sufficient knowledge of plant engineering (e.g., new designers) to quickly search for desired drawings using conventional drawing search systems. Unless the user is well versed in plant engineering (e.g., experienced designers), it is not necessarily easy to efficiently search for desired drawings using conventional drawing search systems.

本願の発明者ら(以下、発明者ら)は、従来技術のこのような問題点に鑑み、情報処理システム100s(より具体的には、情報処理装置1s)を新たに創作した。情報処理装置1sによれば、各過去図面に対する機械学習によって得られた学習モデルを用いて、図面NDに対応する所望の図面を検索できる。 In consideration of these problems with the conventional technology, the inventors of the present application (hereinafter, the inventors) have newly created an information processing system 100s (more specifically, an information processing device 1s). The information processing device 1s can search for a desired drawing corresponding to the drawing ND using a learning model obtained by machine learning for each past drawing.

まず、情報処理装置1sの学習装置11sでは、各過去図面について、特定文字列に関連した内容パラメータ(検索対象図面内容パラメータ)が設定される。そして、当該検索対象図面内容パラメータに基づき、各過去図面の重み係数が設定される。 First, in the learning device 11s of the information processing device 1s, content parameters (search target drawing content parameters) related to a specific character string are set for each past drawing. Then, a weighting coefficient for each past drawing is set based on the search target drawing content parameters.

その後、情報処理装置1sの図面検索装置12では、図面NDの内容パラメータ(ターゲット図面内容パラメータ)と各過去図面の重み係数とを用いて、当該図面NDと当該各過去図面との関連性の高さを示す指標である関連性スコアが、過去図面ごとに算出される。そして、各過去図面が、関連性スコアの高い順にソートされる。つまり、関連性スコアに基づき、所望の図面の候補としての少なくとも1つの過去図面が、ユーザに提示される。 Then, in the drawing search device 12 of the information processing device 1s, a relevance score, which is an index showing the degree of relevance between the drawing ND and each of the past drawings, is calculated for each past drawing using the content parameters of the drawing ND (target drawing content parameters) and the weighting coefficient of each past drawing. Then, each past drawing is sorted in descending order of relevance score. In other words, at least one past drawing is presented to the user as a candidate for the desired drawing based on the relevance score.

このように、図面検索装置12によれば、キーワード検索機能を有する公知の図面検索システムとは異なり、キーワードレス検索によって、ユーザに所望の図面を効率的に検索させることができる。特に、図面検索装置12によれば、適切な検索ワードをユーザが決定できない場合であっても、ユーザに効率的な図面検索を行わせることができる。このため、図面検索装置12は、例えば上述の新人設計者の業務効率向上に特に好適と言える。 In this way, the drawing search device 12 allows the user to efficiently search for the desired drawing by keyword-less search, unlike known drawing search systems that have a keyword search function. In particular, the drawing search device 12 allows the user to perform an efficient drawing search even when the user cannot determine an appropriate search word. For this reason, the drawing search device 12 can be said to be particularly suitable for improving the work efficiency of, for example, the above-mentioned new designers.

なお、特許文献1の図面検索システムは、キーワードレス検索を前提としている点において、情報処理装置1s(より具体的には、図面検索装置12)と共通している。但し、特許文献1の図面検索システムでは、情報処理装置1sとは異なり、検索結果に対する順序付けがなされていない。このため、特許文献1の図面検索システムでは、検索結果の上位に挙げられる過去図面が、必ずしも図面NDに対し高い関連性を有しているとは限らない。 The drawing search system of Patent Document 1 is common to the information processing device 1s (more specifically, the drawing search device 12) in that it is based on keyword-less search. However, unlike the information processing device 1s, the drawing search system of Patent Document 1 does not order the search results. For this reason, in the drawing search system of Patent Document 1, past drawings that are ranked high in the search results do not necessarily have a high relevance to the drawing ND.

これに対し、情報処理装置1sでは、各過去図面が関連性スコアの高い順にソートされたデータが、検索結果としてユーザに提示される。このため、ユーザに、関連性スコアの高い順に、検索結果として提示された各過去図面を確認させることができる。つまり、ユーザに、より上位の候補に挙げられた過去図面を、優先的に確認させることができる。 In response to this, in the information processing device 1s, data in which each past drawing is sorted in descending order of relevance score is presented to the user as a search result. This allows the user to review each past drawing presented as a search result in descending order of relevance score. In other words, the user can be given priority in reviewing past drawings that are ranked as higher-ranking candidates.

このように、情報処理装置1sでは、特許文献1の図面検索システムとは異なり、検索結果として提示された各過去図面を、ユーザにしらみつぶしに(総当たり方式で)確認させることが不要となる。それゆえ、情報処理装置1sによれば、特許文献1の図面検索システムに比べても、図面NDに対応する所望の図面を、従来よりも簡便にユーザに発見させることが可能となる。すなわち、情報処理装置1sによれば、特許文献1の図面検索システムに比べて、ユーザの利便性をさらに向上させることができる。 In this way, unlike the drawing search system of Patent Document 1, the information processing device 1s does not require the user to thoroughly check each past drawing presented as a search result (using a brute force method). Therefore, even compared to the drawing search system of Patent Document 1, the information processing device 1s makes it possible for the user to find the desired drawing corresponding to drawing ND more easily than before. In other words, the information processing device 1s can further improve user convenience compared to the drawing search system of Patent Document 1.

ところで、近年では、機械学習を利用した画像照合技術(例:顔認証技術)が広く用いられている。当該画像照合技術を用いて、所望の図面を検索することも考えられる。しかしながら、上記画像照合技術では、あくまで画像としての「見た目」(例:レイアウト)に基づいて、図面NDと各過去図面との関連性が判定される。それゆえ、画像照合技術をベースとした図面検索手法(以下、画像照合ベース図面検索)は、情報処理装置1sに比べ、図面検索には適していない場合がある。以下、この点について述べる。 Incidentally, in recent years, image matching technology (e.g., facial recognition technology) that utilizes machine learning has come into widespread use. It is conceivable to use this image matching technology to search for a desired drawing. However, with the above-mentioned image matching technology, the relevance between the drawing ND and each past drawing is determined solely based on the "appearance" (e.g., layout) of the image. For this reason, a drawing search method based on image matching technology (hereinafter, image matching-based drawing search) may not be as suitable for drawing search as the information processing device 1s. This point will be described below.

例えば、図面の記載フォーマットが標準化(統一)されていない場合には、各図面の作成者ごとに、図面の記載方式が異なることも考えられる。それゆえ、2つの図面において同様の内容(例:仕様情報)が記載されている場合であっても、各図面において当該内容が異なる位置に表記される場合がある。例えば、「図3の領域L1」(以下、領域Aとも称する)と「図6の領域R1」(以下、領域Bとも称する)とを参照されたい。 For example, if the format for describing drawings is not standardized (unified), it is possible that the way in which drawings are described varies depending on the creator of each drawing. Therefore, even if similar content (e.g., specification information) is described in two drawings, the content may be written in different locations in each drawing. For example, see "area L1 in Figure 3" (hereinafter also referred to as area A) and "area R1 in Figure 6" (hereinafter also referred to as area B).

このような場合、画像照合ベース図面検索では、領域Aと領域Bとの位置が異なるため、図面NDに対する図面a1の関連性が低いと評価されうる。しかしながら、上述の通り、領域Aおよび領域Bには、同一の種類の仕様情報(電圧値に関する仕様情報)が記載されている。このため、実際には、図面a1は、図面NDに対してある程度の関連性を有しているとも考えられる。 In such a case, in image matching-based drawing search, drawing a1 may be evaluated as having low relevance to drawing ND because the positions of areas A and B are different. However, as described above, the same type of specification information (specification information related to voltage values) is described in areas A and B. Therefore, in reality, drawing a1 may be considered to have a certain degree of relevance to drawing ND.

以上の通り、画像照合ベース図面検索では、各図面に記載されている仕様情報の内容自体を考慮して、図面NDと図面a1との関連性を評価することはできない。それゆえ、図面NDとは見た目が異なっているものの、類似した内容自体が記載されている過去図面(図8の例では、図面b1)を、適切に検索することはできない。 As described above, image matching-based drawing search cannot evaluate the relevance between drawing ND and drawing a1 by taking into account the content of the specification information written on each drawing. Therefore, it cannot properly search for a previous drawing (drawing b1 in the example of Figure 8) that looks different from drawing ND but contains similar content.

これに対し、情報処理装置1sでは、画像照合ベース図面検索とは異なり、各図面に記載されている特定文字列に着目し、内容パラメータ(検索対象図面内容パラメータおよびターゲット図面内容パラメータ)が設定される。すなわち、情報処理装置1sでは、各図面に記載されている仕様情報の内容自体を考慮できる。そして、当該内容パラメータに基づき、図面NDと各過去図面との関連性が評価(例:スコアリング)される。 In contrast to this, the information processing device 1s, unlike the image matching-based drawing search, focuses on specific character strings written in each drawing and sets content parameters (search target drawing content parameters and target drawing content parameters). In other words, the information processing device 1s can take into account the content of the specification information written in each drawing. Then, based on the content parameters, the relevance between the drawing ND and each past drawing is evaluated (e.g., scored).

それゆえ、情報処理装置1sによれば、画像照合ベース図面検索とは異なり、図面NDとは見た目が異なっているものの、類似した内容自体が記載されている過去図面(例:図面b1)を、適切に検索できる。このように情報処理装置1sは、画像照合ベース図面検索に比べ、図面検索に適している。 Therefore, unlike image matching-based drawing search, the information processing device 1s can appropriately search for past drawings (e.g., drawing b1) that look different from drawing ND but contain similar content. In this way, the information processing device 1s is more suitable for drawing search than image matching-based drawing search.

また、過去図面の数が多くなるほど、従来の図面検索システム(または、画像照合ベース図面検索)によって、所定の新規図面と関連性が高い過去図面を適切に検索することがより困難となる。それゆえ、情報処理装置1sは、過去図面の数が多くなるほど、ユーザの利便性向上により有益である。 In addition, the greater the number of past drawings, the more difficult it becomes for a conventional drawing search system (or image matching-based drawing search) to properly search for past drawings that are highly relevant to a given new drawing. Therefore, the greater the number of past drawings, the more useful the information processing device 1s is for improving user convenience.

〔変形例〕
(1)本発明の一態様に係る情報処理装置は、プラントエンジニアリング以外の分野における図面の検索についても適用可能である。本発明の一態様に係る図面は、上記図面検索装置によって内容パラメータを取得することが可能な図面であればよい。
[Modifications]
(1) The information processing device according to one aspect of the present invention can also be applied to searching for drawings in fields other than plant engineering. The drawings according to one aspect of the present invention may be drawings from which content parameters can be obtained by the drawing search device.

(2)参考形態では、学習モデル生成部113sにおいて、多項ロジスティック回帰分析を用いて学習モデルを生成する場合を例示した。但し、学習モデルの生成手法は、これに限定されない。 (2) In the reference embodiment, the learning model generation unit 113s uses multinomial logistic regression analysis to generate a learning model. However, the method for generating a learning model is not limited to this.

学習モデル生成部113sは、上述の教師データを用いた機械学習により、学習モデルを生成できればよい(各重み係数を算出できればよい)。例えば、学習モデル生成部113sは、公知のニューラルネットワーク技術(例:公知のディープラーニング技術)を用いて、学習モデルを生成することもできる。 The learning model generation unit 113s only needs to be able to generate a learning model by machine learning using the above-mentioned teacher data (it only needs to be able to calculate each weighting coefficient). For example, the learning model generation unit 113s can also generate a learning model using a publicly known neural network technique (e.g., a publicly known deep learning technique).

(3)検索結果データ生成部124は、候補gとして選択した図面に対応する所定のデータを、さらに取得してもよい。図8の例の場合、検索結果データ生成部124は、図面b1(候補1)に対応する、所定の機器の仕様データを取得してもよい。プラントエンジニアリングの各種の計画では、過去図面とともに、当該過去図面に記載された所定の機器の仕様がともに参照される場合が多いためである。 (3) The search result data generating unit 124 may further acquire specific data corresponding to the drawing selected as candidate g. In the example of FIG. 8, the search result data generating unit 124 may acquire specification data of a specific device corresponding to drawing b1 (candidate 1). This is because in various plant engineering plans, past drawings are often referenced along with the specifications of the specific device described in the past drawings.

この場合、検索結果データ生成部124は、検索結果データとともに、仕様データをユーザに提示できる。それゆえ、ユーザの利便性をさらに向上させることができる。一例として、情報処理装置1sでは、図面a1~MNと仕様データとの対応関係を示すテーブルが予め準備されていてよい。検索結果データ生成部124は、当該テーブルを参照し、候補gに対応する仕様データを取得すればよい。 In this case, the search result data generating unit 124 can present the specification data to the user along with the search result data. This can further improve user convenience. As an example, a table showing the correspondence between the drawings a1 to MN and the specification data may be prepared in advance in the information processing device 1s. The search result data generating unit 124 can refer to the table and obtain the specification data corresponding to the candidate g.

〔実施形態1〕
図9は、実施形態1の情報処理システム100の要部の構成を示すブロック図である。情報処理システム100の情報処理装置を、情報処理装置1と称する。情報処理装置1の制御装置を、制御装置10と称する。制御装置10の学習装置を、学習装置11と称する。はじめに、情報処理システム100の処理についての具体的な説明に先立ち、参考形態の情報処理システム100sについて改善可能な点について述べる。
[Embodiment 1]
9 is a block diagram showing the configuration of the main parts of the information processing system 100 according to the first embodiment. The information processing device of the information processing system 100 is referred to as the information processing device 1. The control device of the information processing device 1 is referred to as the control device 10. The learning device of the control device 10 is referred to as the learning device 11. First, prior to a specific description of the processing of the information processing system 100, possible improvements of the information processing system 100s according to the reference embodiment will be described.

上述の通り、参考形態の情報処理装置1sでは、全ての過去図面(図面a1~MN)が、学習に用いられている。このため、報処理装置1sでは、過去物件図面DB91に格納されている過去図面群(図面a1~MN)の内容によって、学習モデルの質にばらつきが生じることも考えられる。以下に述べる通り、過去図面群の内容が偏っている場合には、偏った図面内容に基づく学習モデル(偏った学習モデル)が生成されるためである。 As described above, in the information processing device 1s of the reference embodiment, all past drawings (drawings a1 to MN) are used for learning. For this reason, in the information processing device 1s, it is conceivable that the quality of the learning model will vary depending on the contents of the group of past drawings (drawings a1 to MN) stored in the past property drawing DB91. This is because, as described below, if the contents of the group of past drawings are biased, a learning model based on biased drawing contents (biased learning model) will be generated.

(参考形態における学習モデルの質に関するパターン分類)
発明者らは、参考形態における学習モデルの質について検討を行った。具体的には、発明者らは、過去図面群と学習モデルの質との関係について、以下の4通りのパターン分類を行った。
(Pattern classification regarding the quality of learning models in reference form)
The inventors have examined the quality of the learning model in the reference embodiment. Specifically, the inventors have classified the relationship between the past drawings and the quality of the learning model into the following four patterns.

なお、過去図面(例:製作図面)に関する以下の説明における「図面番号に紐づく内容」とは、典型的には「過去図面を作成するための仕様図面(仕様が記載された図面)の内容」を意味する。製作図面の例としては、外形図および組立図等を挙示できる。但し、上述の通り、過去図面は製作図面に限定されないことに留意されたい。 In the following explanation of past drawings (e.g. production drawings), "contents linked to the drawing number" typically means "the contents of the specification drawings (drawings containing specifications) used to create the past drawings." Examples of production drawings include outline drawings and assembly drawings. However, as mentioned above, please note that past drawings are not limited to production drawings.

以下の例では、簡単のために、1つの物件における仕様図面に、当該1つの物件における全ての製作図面を作成するための全ての仕様が記載されているものとする。そして、上記1つの物件における全ての製作図面は、当該1つの物件における仕様図面に基づいて作成されるものとする。 For simplicity's sake, in the following example, we will assume that the specification drawings for one property contain all the specifications for creating all the production drawings for that one property. We will then assume that all the production drawings for that one property are created based on the specification drawings for that one property.

また、以下の例では、ある1つの図面種類(例:外形図)に属するある1つの製作図面と別の1つの製作図面との間において、当該ある1つの図面種類に関する仕様(例:外形図の作成に関する仕様)が同一(共通)である場合、当該1つの製作図面と当該別の1つの製作図面には、同一の図面番号が付与されるものとする。但し、当然ながら、上記1つの製作図面と上記別の1つの製作図面との間において、上記ある1つの図面種類に関する仕様が異なっている場合には、当該1つの製作図面と当該別の1つの製作図面には、異なる図面番号が付与される。 Also, in the following example, if a production drawing belonging to a certain drawing type (e.g. outline drawing) and another production drawing have the same (common) specifications for the certain drawing type (e.g. specifications for creating the outline drawing), the same drawing number will be assigned to the one production drawing and the other production drawing. However, naturally, if the specifications for the certain drawing type differ between the one production drawing and the other production drawing, different drawing numbers will be assigned to the one production drawing and the other production drawing.

(パターン1:過去図面群が、図面番号に紐づく内容が異なり、かつ、図面番号も異なる過去図面のみで構成されている場合)
異なる図面内容を、複数の相違なる図面番号の過去図面によって学習できる。このため、特に質の高い学習モデル(十分な汎化性を有する学習モデル)を生成できる。その結果、高い検索精度が実現される。
(Pattern 1: When the group of past drawings is composed only of past drawings with different contents linked to the drawing numbers and different drawing numbers.)
Different drawing contents can be learned from multiple past drawings with different drawing numbers. This allows a particularly high-quality learning model (a learning model with sufficient generalization) to be generated. As a result, high search accuracy is achieved.

(パターン2:過去図面群に、図面番号に紐づく内容が異なるが、図面番号が同一の過去図面が混在している場合)
相違なる図面内容が、同一の図面番号の図面によって学習される。すなわち、曖昧なデータによる学習が行われる。但し、一般的には、機械学習は、そのような曖昧なデータによる学習であっても、質の高い学習モデルを生成できる。そのため、パターン2においても、パターン1と同様に、高い検索精度が実現される。
(Pattern 2: When the past drawings contain drawings with different contents linked to the drawing numbers but the same drawing number)
Different drawing contents are learned from drawings with the same drawing number. That is, learning is performed using ambiguous data. However, in general, machine learning can generate a high-quality learning model even when learning using such ambiguous data. Therefore, in pattern 2, as in pattern 1, high search accuracy is achieved.

(パターン3:過去図面群に、図面番号に紐づく内容が同一または類似であるが、図面番号が異なる過去図面が混在している場合)
同一または類似の図面内容が、複数の相違した図面番号の過去図面によって学習される。すなわち、偏った学習が行われる。このため、パターン3では、偏った学習モデルが生成される。その結果、検索精度の低下が生じうる。例えば、同一または類似の図面内容を有する複数の異なる図面が、候補1~候補gとしてヒットする可能性が高くなる。
(Pattern 3: When the past drawings contain drawings with the same or similar content linked to the drawing numbers but different drawing numbers)
The same or similar drawing contents are learned from multiple past drawings with different drawing numbers. That is, biased learning is performed. For this reason, in pattern 3, a biased learning model is generated. As a result, the search accuracy may decrease. For example, there is a high possibility that multiple different drawings having the same or similar drawing contents will be hit as candidates 1 to g.

(パターン4:過去図面群に、図面番号に紐づく内容が同一または類似であり、かつ、図面番号も同一である過去図面が混在している場合)
同一または類似の図面内容が、同一の図面番号の過去図面によって複数回学習される。この場合にも、偏った学習が行われる。このため、パターン4においても、偏った学習モデルが生成される。その結果、検索精度の低下が生じうる。
(Pattern 4: When the group of past drawings contains past drawings with the same or similar content linked to the drawing number and the same drawing number)
The same or similar drawing contents are learned multiple times using past drawings with the same drawing number. In this case, biased learning is also performed. Therefore, a biased learning model is generated in pattern 4 as well. As a result, the search accuracy may decrease.

上述のパターン3・4から理解できる通り、偏った学習モデルは、検索精度の低下を招きうる。このため、偏った学習モデルは、質の低い学習モデルとも言える。このような偏った学習モデルを用いて図面検索を行った場合、適切な検索結果が得られる可能性が低下しうる。 As can be seen from patterns 3 and 4 above, a biased learning model can lead to a decrease in search accuracy. For this reason, a biased learning model can also be considered a low-quality learning model. If a drawing search is performed using such a biased learning model, the chances of obtaining appropriate search results may decrease.

そこで、発明者らは、情報処理システム100sをさらに改善すべく、実施形態1の情報処理システム100を創作した。以下に述べるように、情報処理システム100(より詳細には、学習装置11)によれば、学習モデルの質の低下を防止できる。それゆえ、情報処理システム100sに比べてさらに高い検索精度を実現できる。 The inventors therefore created the information processing system 100 of embodiment 1 in order to further improve the information processing system 100s. As described below, the information processing system 100 (more specifically, the learning device 11) can prevent degradation of the quality of the learning model. Therefore, it is possible to achieve even higher search accuracy than the information processing system 100s.

(学習装置11)
学習装置11は、学習装置11sとは異なり、相違度算出部114と類似集合決定部115と学習対象外図面決定部116とをさらに備える。類似集合決定部115および学習対象外図面決定部116は、総称的に決定部と称されてもよい。また、学習装置11は、学習装置11sの学習モデル生成部113sに替えて、学習モデル生成部113(学習部)を備える。
(Learning device 11)
Unlike the learning device 11s, the learning device 11 further includes a dissimilarity calculation unit 114, a similar set determination unit 115, and a non-learning drawing determination unit 116. The similar set determination unit 115 and the non-learning drawing determination unit 116 may be collectively referred to as a determination unit. Moreover, the learning device 11 includes a learning model generation unit 113 (learning unit) instead of the learning model generation unit 113s of the learning device 11s.

(相違度算出部114)
相違度算出部114は、過去図面データ前処理部112によって導出された任意の2つの過去図面の内容パラメータ(第1~第L内容パラメータ)に基づき、当該2つの過去図面間の相違度を算出する。
(Difference calculation unit 114)
The dissimilarity calculation unit 114 calculates the dissimilarity between any two past drawings based on the content parameters (first to Lth content parameters) of the two past drawings derived by the past drawing data preprocessing unit 112. do.

以下の説明では、任意の2つの過去図面を、図面Iおよび図面Jと称する。IおよびJは、1以上かつT以下の整数である。以下の説明では、便宜上、図面Iの第k内容パラメータを、Ikと称する。同様に、図面Jの第k内容パラメータを、Jkと称する。また、図面Iと図面Jとの相違度を、D(I,J)と称する。D(I,J)は、図面Iと図面Jとの内容(記載内容)の相違の程度を示す指標値である。 In the following explanation, any two past drawings will be referred to as drawing I and drawing J. I and J are integers greater than or equal to 1 and less than or equal to T. For convenience, in the following explanation, the kth content parameter of drawing I will be referred to as Ik. Similarly, the kth content parameter of drawing J will be referred to as Jk. Furthermore, the degree of difference between drawing I and drawing J will be referred to as D(I, J). D(I, J) is an index value that indicates the degree of difference between the contents (description) of drawing I and drawing J.

図10は、実施形態1における相違度について説明する図である。なお、図10では、例えば「図面a1」が、「a1」と略記されている。本明細書においても、同様の略記を適宜行う。図10には、各図面の内容パラメータの分布を示すL次元のデータ空間(L次元空間)が示されている。図10のL次元空間において、図面Iに対応する点(図面Iの内容パラメータを示す点)Iを、P(I)と称する。P(I)の座標は、
P(I)=[I1,I2,…,Ik,…,IL]
として表される。相違度算出部114は、過去図面データ前処理部112からI1~ILを取得することにより、L次元空間内におけるP(I)の座標を決定する。
Fig. 10 is a diagram for explaining the degree of difference in the first embodiment. In Fig. 10, for example, "drawing a1" is abbreviated as "a1". Similar abbreviations are used appropriately in this specification. Fig. 10 shows an L-dimensional data space (L-dimensional space) showing the distribution of content parameters of each drawing. In the L-dimensional space of Fig. 10, point I corresponding to drawing I (point showing content parameters of drawing I) is called P(I). The coordinates of P(I) are
P(I) = [I1, I2, ..., Ik, ..., IL]
The dissimilarity calculation unit 114 acquires I1 to IL from the previous drawing data pre-processing unit 112, and determines the coordinates of P(I) in the L-dimensional space.

同様に、図10のL次元空間において、図面Jに対応する点Jを、P(J)と称する。P(J)の座標は、
P(J)=[J1,J2,…,Jk,…,JL]
として表される。相違度算出部114は、過去図面データ前処理部112からJ1~JLを取得することにより、L次元空間内におけるP(J)の座標を決定する。
Similarly, in the L-dimensional space of FIG. 10, a point J corresponding to drawing J is called P(J). The coordinates of P(J) are as follows:
P(J) = [J1, J2,..., Jk,..., JL]
The dissimilarity calculation unit 114 acquires J1 to JL from the previous drawing data preprocessing unit 112, and determines the coordinates of P(J) in the L-dimensional space.

一例として、相違度算出部114は、L次元空間における点Iと点Jとの距離を、D(I,J)として算出する。実施形態1では、相違度算出部114は、点Iと点Jとのユークリッド距離を、D(I,J)として算出する。すなわち、相違度算出部114は、
D(I,J)={(I1-J1)+…+(IL-JL)1/2
={Σ(Ik-Jk)1/2 …(4)
の通り、D(I,J)を算出する。
As an example, the dissimilarity calculation unit 114 calculates the distance between point I and point J in the L-dimensional space as D(I,J). In the first embodiment, the dissimilarity calculation unit 114 calculates the Euclidean distance between point I and point J as D(I,J). That is, the dissimilarity calculation unit 114 calculates
D (I, J) = {(I1-J1) 2 +...+(IL-JL) 2 } 1/2
= {Σ(Ik-Jk) 2 } 1/2 ...(4)
D(I, J) is calculated as follows.

上記式(4)から明らかである通り、D(I,J)は0以上の値をとる。D(I,J)が大きいほど、図面Iと図面Jとの内容の類似性は低い。逆に言えば、D(I,J)が小さいほど、図面Iと図面Jとの内容の類似性は高い。D(I,J)=0の場合、図面Iと図面Jとの類似性は最大である。具体的には、D(I,J)=0の場合、図面Iと図面Jとは同一内容の図面である。 As is clear from formula (4) above, D(I, J) takes a value equal to or greater than 0. The larger D(I, J) is, the lower the similarity in content between drawing I and drawing J. Conversely, the smaller D(I, J) is, the higher the similarity in content between drawing I and drawing J. When D(I, J) = 0, the similarity between drawing I and drawing J is at its maximum. Specifically, when D(I, J) = 0, drawing I and drawing J have the same content.

相違度算出部114は、全てのIおよびJの組み合わせについて、D(I,J)を算出する。そして、相違度算出部114は、図面a1~MNのそれぞれの間の相違度を示すテーブルを、相違度テーブルTB11として生成する。TB11には、相違度テーブル内第iサブテーブルTB11-iが含まれている。TB11-iは、図面iに属する各過去図面間の相違度を示すテーブルである。図11には、一例として、TB11-1が示されている。TB11-1には、図面1(外形図)に属する各過去図面(図面a1~M1)間のそれぞれの相違度が示されている。TB11-1は、M行M列の正方行列である。TB11は、TB11-1~TB11-Nという、N個のサブテーブルのセットによって構成されている。このように、実施形態1では、図面種別ごとに相違度についてのサブテーブルが作成される。 The dissimilarity calculation unit 114 calculates D(I, J) for all combinations of I and J. Then, the dissimilarity calculation unit 114 generates a table indicating the dissimilarity between each of the drawings a1 to MN as the dissimilarity table TB11. TB11 includes the i-th sub-table TB11-i in the dissimilarity table. TB11-i is a table indicating the dissimilarity between each past drawing belonging to drawing i. FIG. 11 shows TB11-1 as an example. TB11-1 shows the dissimilarity between each past drawing (drawings a1 to M1) belonging to drawing 1 (outline drawing). TB11-1 is a square matrix with M rows and M columns. TB11 is composed of a set of N sub-tables, TB11-1 to TB11-N. In this way, in the first embodiment, a sub-table for the dissimilarity is created for each drawing type.

以下、TB11-1を参照して、相違度算出部114、類似集合決定部115、および学習対象外図面決定部116の動作について説明する。但し、TB11-1に関する各事項についての以下の説明は、TB11-2~TB11-Nについても同様に当てはまる。 Below, the operation of the dissimilarity calculation unit 114, the similarity set determination unit 115, and the non-learning drawing determination unit 116 will be explained with reference to TB11-1. However, the following explanations of each item related to TB11-1 also apply to TB11-2 to TB11-N in the same manner.

なお、上述の式(4)から明らかである通り、TB11-1(I,J)=TB11-1(J,I)である。また、TB11-1(I,I)=0である。このため、図11に示される通り、TB11-1は、対角成分が0の対称行列として生成される。そこで、以下の説明では、I<Jの場合について主に述べる。 As is clear from the above formula (4), TB11-1(I,J) = TB11-1(J,I). Also, TB11-1(I,I) = 0. Therefore, as shown in FIG. 11, TB11-1 is generated as a symmetric matrix with diagonal elements of 0. Therefore, the following explanation will mainly focus on the case where I<J.

相違度算出部114は、TB11-1(I,J)=D(I,J)として、TB11-1(I,J)の値を設定する。一例として、D(a1,b1)=8.1であったとする。この場合、相違度算出部114は、TB11-1(a1,b1)=8.1として、TB11-1(1,2)の値を設定する。 The dissimilarity calculation unit 114 sets the value of TB11-1(I,J) as TB11-1(I,J) = D(I,J). As an example, assume that D(a1,b1) = 8.1. In this case, the dissimilarity calculation unit 114 sets the value of TB11-1(1,2) as TB11-1(a1,b1) = 8.1.

(類似集合決定部115)
類似集合決定部115は、TB11-1に示されている各相違度に基づき、図面a1~M1の内、類似性が高いと考えられる過去図面の集合(類似集合)を決定する。具体的には、類似集合決定部115は、相違度の閾値(便宜上、Dthと称する)に基づき、類似集合を決定する。実施形態1では、Dth=6.0として設定されている場合を例示する。但し、Dthは、情報処理システム100のユーザによって任意に設定されてよい。
(Similar set determining unit 115)
The similarity set determination unit 115 determines a set of past drawings (similar set) that are considered to have high similarity from among the drawings a1 to M1 based on the degree of difference shown in the TB11-1. The similar set determination unit 115 determines similar sets based on a threshold value of dissimilarity (for convenience, referred to as Dth). In the first embodiment, the case where Dth is set to 6.0 is illustrated. However, , Dth may be arbitrarily set by the user of the information processing system 100.

図12は、類似集合決定部115の処理の一例を示す図である。図12の例では、説明の便宜上、図11のTB11-1を、テーブル1200Aとも称する。テーブル1200Aは、第1世代相違度テーブルと称されてもよい。 Figure 12 is a diagram showing an example of the processing of the similar set determination unit 115. In the example of Figure 12, for convenience of explanation, TB11-1 in Figure 11 is also referred to as table 1200A. Table 1200A may also be referred to as a first generation dissimilarity table.

類似集合決定部115は、テーブル1200Aから、I<Jの条件の下で、最小の相違度を有する成分を探索する。続いて、類似集合決定部115は、発見した最小の相違度(便宜上、Dminと称する)がDth以下であるか判定する。類似集合決定部115は、DminがDth以下である場合、Dminに対応する過去図面の組(過去図面の集合)を、類似集合として決定する。換言すれば、類似集合決定部115は、DminがDth以下である場合、Dminに対応する過去図面の組が同一の集合に属するように、図面a1~M1を分類(グルーピング)する。 The similarity set determination unit 115 searches table 1200A for a component with the minimum dissimilarity under the condition I<J. Next, the similarity set determination unit 115 determines whether the discovered minimum dissimilarity (for convenience, referred to as Dmin) is equal to or less than Dth. If Dmin is equal to or less than Dth, the similarity set determination unit 115 determines the set of past drawings (set of past drawings) corresponding to Dmin as a similar set. In other words, if Dmin is equal to or less than Dth, the similarity set determination unit 115 classifies (groups) drawings a1 to M1 so that the sets of past drawings corresponding to Dmin belong to the same set.

図12の例では、類似集合決定部115は、テーブル1200Aに対する探索の結果、D(c1,e1)=2.5を、最小の成分として特定する(テーブル1200Aのハッチング部を参照)。従って、類似集合決定部115は、Dmin=2.5として、Dminを設定する。テーブル1200Aでは、Dmin<Dthである。このため、類似集合決定部115は、集合{c1,e1}を、集合Aとして決定する(後述の図13も参照)。集合Aは、第1類似集合と称されてもよい。 In the example of FIG. 12, the similar set determination unit 115 searches table 1200A and identifies D(c1, e1) = 2.5 as the smallest component (see the hatched portion of table 1200A). Therefore, the similar set determination unit 115 sets Dmin as Dmin = 2.5. In table 1200A, Dmin < Dth. Therefore, the similar set determination unit 115 determines the set {c1, e1} as set A (see also FIG. 13 described below). Set A may be referred to as the first similar set.

続いて、類似集合決定部115は、テーブル1200Aにおける要素c1およびe1(集合Aの構成要素)を、集合Aに統合することにより、テーブル1200Bを生成する。テーブル1200Bは、第2世代相違度テーブルと称されてもよい。テーブル1200Bの生成時には、類似集合決定部115は、集合Aと当該集合A外の各要素(各過去図面)との相違度、すなわちD(A,a1)、D(A,b1)、…、D(A,M1)を、所定の手法によって設定する。 Then, the similar set determiner 115 generates table 1200B by integrating elements c1 and e1 (components of set A) in table 1200A into set A. Table 1200B may be referred to as a second generation dissimilarity table. When generating table 1200B, the similar set determiner 115 sets the dissimilarity between set A and each element (each past drawing) outside set A, i.e., D(A, a1), D(A, b1), ..., D(A, M1), using a predetermined method.

実施形態1では、類似集合決定部115は、集合Aに属する各要素(すなわち、図面c1およびe1)と集合Aに属しないある1つの要素(便宜上、図面Xと称する)との相違度の最大値を、D(A,X)として設定する。すなわち、類似集合決定部115は、
D(A,X)=Max{D(c1,X),D(e1,X)} …(5)
として、D(A,X)を設定する。このように、実施形態1では、分割的階層型クラスタリングの最長距離法によってD(A,X)が設定されている。この点については、後述する集合Bについても同様である。
In the first embodiment, the similar set determiner 115 sets the maximum value of the dissimilarity between each element belonging to set A (i.e., drawings c1 and e1) and one element not belonging to set A (for convenience, referred to as drawing X) as D(A, X).
D(A,X)=Max{D(c1,X),D(e1,X)}...(5)
In this manner, in the first embodiment, D(A, X) is set by the longest distance method of partitional hierarchical clustering. This also applies to set B, which will be described later.

一例として、X=a1である場合を考える。図12のテーブル1200Bに示される通り、類似集合決定部115は、上記式(5)を用いて、
D(A,a1)=Max{D(c1,a1),D(e1,a1)}
=Max(3.3,10.3)
=10.3
として、D(A,a1)を設定する。同様にして、類似集合決定部115は、D(A,b1)、…、D(A,M1)を設定する。
As an example, consider the case where X=a1. As shown in table 1200B in FIG. 12, the similar set determiner 115 uses the above formula (5) to obtain
D (A, a1) = Max {D (c1, a1), D (e1, a1)}
=Max(3.3,10.3)
= 10.3
In the same manner, the similar set determiner 115 sets D(A, b1), ..., D(A, M1).

続いて、類似集合決定部115は、テーブル1200Bから、I<Jの条件の下で、最小の相違度を有する成分を探索する。類似集合決定部115は、テーブル1200Bに対する探索の結果、D(b1,d1)=5.8を、最小の成分として特定する(テーブル1200Bのハッチング部を参照)。従って、類似集合決定部115は、Dmin=5.8として、Dminを設定する。テーブル1200Bでは、Dmin<Dthである。このため、類似集合決定部115は、集合{b1,d1}を、集合Bとして決定する(図13も参照)。集合Bは、第2類似集合と称されてもよい。 Next, the similarity set determination unit 115 searches table 1200B for a component with the smallest dissimilarity under the condition I<J. As a result of searching table 1200B, the similarity set determination unit 115 identifies D(b1, d1)=5.8 as the smallest component (see the hatched portion of table 1200B). Therefore, the similarity set determination unit 115 sets Dmin as Dmin=5.8. In table 1200B, Dmin<Dth. Therefore, the similarity set determination unit 115 determines the set {b1, d1} as set B (see also FIG. 13). Set B may be referred to as the second similarity set.

続いて、類似集合決定部115は、テーブル1200Bにおける要素b1およびd1(集合Bの構成要素)を、集合Bに統合することにより、テーブル1200Cを生成する。テーブル1200Cは、第3世代相違度テーブルと称されてもよい。類似集合決定部115は、上述の式(5)を用いて、集合Bと当該集合B外の各要素との相違度、すなわちD(B,A)、D(B,a1)、…、D(B,M1)を設定する。但し、(B,A)、D(B,a1)、…、D(B,M1)の算出においては、式(5)の左辺の集合Aは、集合Bに置き換えられることに留意されたい。 Then, the similar set determiner 115 generates table 1200C by integrating elements b1 and d1 (components of set B) in table 1200B into set B. Table 1200C may be referred to as a third-generation dissimilarity table. The similar set determiner 115 uses the above-mentioned formula (5) to set the dissimilarity between set B and each element outside set B, that is, D(B,A), D(B,a1), ..., D(B,M1). Note, however, that in calculating (B,A), D(B,a1), ..., D(B,M1), set A on the left side of formula (5) is replaced with set B.

一例として、類似集合決定部115は、
D(B,A)=Max{D(b1,A),L(d1,A)}
=Max(12.8,11.4)
=12.9
として、D(B,A)を設定する。D(B,A)についての計算例から理解できる通り、類似集合決定部115における計算では、ある1つの集合(例:集合A)が、複数の過去図面(図面c1およびe1)を代表する仮想的な1つの過去図面と見なされている。
As an example, the similar set determining unit 115
D(B,A)=Max{D(b1,A),L(d1,A)}
=Max(12.8, 11.4)
= 12.9
As can be understood from the calculation example of D(B, A), in the calculation in the similar set determination unit 115, a certain set (e.g., set A) is regarded as a virtual past drawing that represents a plurality of past drawings (drawings c1 and e1).

続いて、類似集合決定部115は、テーブル1200Cから、I<Jの条件の下で、最小の相違度を有する成分を探索する。類似集合決定部115は、テーブル1200Cに対する探索の結果、D(B,a1)=8.1を、最小の成分として特定する(テーブル1200Cのハッチング部を参照)。従って、類似集合決定部115は、Dmi=8.1として、Dminを設定する。テーブル1200Cでは、Dmin>Dthである。類似集合決定部115は、DminがDthよりも大きい場合、集合のグルーピング処理を完了する。 Next, the similar set determination unit 115 searches table 1200C for a component with the smallest dissimilarity under the condition I<J. As a result of searching table 1200C, the similar set determination unit 115 identifies D(B, a1)=8.1 as the smallest component (see the hatched portion of table 1200C). Therefore, the similar set determination unit 115 sets Dmin as Dmi=8.1. In table 1200C, Dmin>Dth. If Dmin is greater than Dth, the similar set determination unit 115 completes the set grouping process.

図13は、実施形態1において得られた集合の階層構造を表すデンドログラムDGの一例である。DGを用いることで、ユーザに視覚的に集合の階層構造を認識させることができる。DGは、ユーザにDthを調整させるための補助情報として使用されてよい。 Figure 13 is an example of a dendrogram DG that represents the hierarchical structure of the set obtained in embodiment 1. By using the DG, the user can visually recognize the hierarchical structure of the set. The DG may be used as auxiliary information to allow the user to adjust Dth.

なお、図13からも理解される通り、Dthを8.1以上に設定した場合、類似集合決定部115によって、図面a1と集合Bとが同一の集合(便宜上、集合B’と称する)に分類される。上述の通り、B={b1,d1}である。このため、
B’={a1,b1,d1}={a1,{b1,d1}}={a1,B}
とも表現できる。このように、実施形態1では、既存の集合(例:集合B)をネストした新たな集合(例:集合B’)を取り扱うこともできる。
As can be seen from Fig. 13, when Dth is set to 8.1 or more, drawing a1 and set B are classified into the same set (for convenience, referred to as set B') by the similar set determining unit 115. As described above, B = {b1, d1}. Therefore,
B'={a1, b1, d1}={a1, {b1, d1}}={a1, B}
In this way, in the first embodiment, it is also possible to handle a new set (eg, set B') that is a nested version of an existing set (eg, set B).

ここで、図10を再び参照し、D(B’,e1)を算出する場合を考える。実施形態1では、類似集合決定部115は、以下の式(6)、
D(B’,e1)
=Max{D(a1,e1),D(b1,e1),D(d1,e1)}…(6)
を用いて、L(B’,e1)を算出してもよい。すなわち、類似集合決定部115は、集合B’に属する各図面と図面e1との距離の最大値を算出することにより、L(B’,e1)
を決定してもよい。
10 again, consider the case of calculating D(B', e1). In the first embodiment, the similar set determiner 115 calculates D(B', e1) using the following formula (6):
D(B', e1)
=Max{D(a1, e1), D(b1, e1), D(d1, e1)}...(6)
That is, the similar set determination unit 115 may calculate L(B', e1) by calculating the maximum distance between each drawing belonging to the set B' and the drawing e1.
may be determined.

但し、上記式(6)は、
D(B’,e1)
=Max{D(a1,e1),Max{D(b1,e1),D(d1,e1)}}
=Max{D(a1,e1),D(B,e1)}…(6’)
とも変形できる。従って、類似集合決定部115は、式(6)に替えて式(6’)を用いて、D(B’,e1)を算出することもできる。
However, the above formula (6) is
D(B', e1)
=Max{D(a1, e1), Max{D(b1, e1), D(d1, e1)}}
=Max{D(a1, e1), D(B, e1)}...(6')
Therefore, the similar set determining unit 115 can calculate D(B', e1) by using the formula (6') instead of the formula (6).

式(6’)では、Max関数の引数の数が、式(6)よりも少ない。このため、式(6)に替えて式(6’)を用いることにより、類似集合決定部115におけるD(B’,e1)の演算を高速化できる。すなわち、式(6’)を用いることにより、式(6)を用いた場合に比べ、D(B’,e1)をより短時間で算出できる。このように、実施形態1では、ネストされた集合構造を取り扱うことにより、各種の演算をより高速に(より効率的に)行うことができる。 In formula (6'), the number of arguments of the Max function is smaller than in formula (6). Therefore, by using formula (6') instead of formula (6), the calculation of D(B', e1) in the similar set determination unit 115 can be accelerated. In other words, by using formula (6'), D(B', e1) can be calculated in a shorter time than when formula (6) is used. In this way, in embodiment 1, various calculations can be performed faster (more efficiently) by handling a nested set structure.

(学習対象外図面決定部116)
学習対象外図面決定部116は、図面a1~M1間の相違度に応じて、当該図面a1~M1の内から、学習対象外図面(学習モデル生成部113における学習に使用されない過去図面)を決定する。実施形態1では、学習対象外図面決定部116は、類似集合決定部115において決定された各集合(例:集合Aおよび集合B)に属する各過去図面の内から、学習対象外図面を決定する。
(Non-learning drawing determination unit 116)
The non-learning drawing determination unit 116 determines non-learning drawings (past drawings not used for learning in the learning model generation unit 113) from among the drawings a1 to M1 according to the degree of difference between the drawings a1 to M1. In the first embodiment, the non-learning drawing determination unit 116 determines non-learning drawings from among the past drawings belonging to each set (e.g., set A and set B) determined by the similar set determination unit 115.

図14は、学習対象外図面決定部116の処理の一例を示す図である。実施形態1では、学習対象外図面決定部116は、ある1つの集合(便宜上、集合Xと称する)に属する複数の図面の内から、1つの代表図面(集合内代表図面)を決定する。そして、学習対象外図面決定部116は、集合Xに属する複数の図面の内、代表図面を除いた各図面を学習対象外図面として決定する。代表図面の決定は、任意の手法によって行われてよい。一例として、学習対象外図面決定部116は、集合Xに属する複数の図面の内、タイムスタンプが最新の図面を、代表図面として決定してよい。 Figure 14 is a diagram showing an example of the processing of the non-learning drawing determination unit 116. In the first embodiment, the non-learning drawing determination unit 116 determines one representative drawing (representative drawing in a set) from among a plurality of drawings belonging to a certain set (for convenience, referred to as set X). The non-learning drawing determination unit 116 then determines each drawing, excluding the representative drawing, from among the plurality of drawings belonging to set X as a non-learning drawing. The determination of the representative drawing may be performed by any method. As an example, the non-learning drawing determination unit 116 may determine the drawing with the latest timestamp from among the plurality of drawings belonging to set X as the representative drawing.

図14では、学習対象外図面決定部116によって、(i)集合Aに属する2つの図面c1およびe1の内から、集合A内の代表図面として図面c1が決定され、かつ、(ii)集合Bに属する2つの図面b1およびd1の内から、集合B内の代表図面として図面b1が決定された場合が例示されている。この場合、学習対象外図面決定部116は、(i)図面e1を集合A内の学習対象外図面として決定するとともに、(ii)図面d1を集合B内の学習対象外図面として決定する。このように、図14の例では図面a1~M1の内から、図面d1およびe1が学習対象外図面として決定されている。 Figure 14 illustrates an example in which the non-study drawing determination unit 116 (i) determines drawing c1 as the representative drawing in set A from among two drawings c1 and e1 belonging to set A, and (ii) determines drawing b1 as the representative drawing in set B from among two drawings b1 and d1 belonging to set B. In this case, the non-study drawing determination unit 116 (i) determines drawing e1 as the non-study drawing in set A, and (ii) determines drawing d1 as the non-study drawing in set B. Thus, in the example in Figure 14, drawings d1 and e1 are determined as non-study drawings from among drawings a1 to M1.

なお、相違度算出部114、類似集合決定部115、および学習対象外図面決定部116は、図面1(図面a1~M1)に対する上述の処理を終了した後、図面2(図面a2~M2)に対して同様の処理を行う。すなわち、相違度算出部114、類似集合決定部115、および学習対象外図面決定部116は、図面1→図面2→…→…図面Nの順に、上述の処理を行う。このように、学習対象外図面決定部116は、図面a1~MN間の相違度に応じて、当該図面a1~MNの内から、学習対象外図面を決定する。 After completing the above-mentioned processing for drawing 1 (drawings a1 to M1), the dissimilarity calculation unit 114, similar set determination unit 115, and non-learning drawing determination unit 116 perform the same processing for drawing 2 (drawings a2 to M2). That is, the dissimilarity calculation unit 114, similar set determination unit 115, and non-learning drawing determination unit 116 perform the above-mentioned processing in the order of drawing 1 → drawing 2 → ... → ... drawing N. In this way, the non-learning drawing determination unit 116 determines which drawings from a1 to MN are to be excluded from the study, depending on the dissimilarity between the drawings a1 to MN.

そして、学習対象外図面決定部116は、自身が決定した学習対象外図面に応じて、上述のTB2を編集する。具体的には、学習対象外図面決定部116は、図面iにおいて決定した学習対象外図面に応じて、TB2-iを編集する。図14では、学習対象外図面決定部116によるTB2-1の編集の一例が示されている。図14の例では、学習対象外図面決定部116は、TB2-1から、図面1における学習対象外図面(すなわち図面d1およびe1)に対応する内容パラメータを削除する。また、学習対象外図面決定部116は、集合Aに図面c1(集合Aの代表図面)の図面番号を付与するとともに、集合Bに図面b1(集合Bの代表図面)の図面番号を付与する。 Then, the non-learning drawing determination unit 116 edits the above-mentioned TB2 according to the non-learning drawings determined by itself. Specifically, the non-learning drawing determination unit 116 edits TB2-i according to the non-learning drawings determined in drawing i. FIG. 14 shows an example of editing TB2-1 by the non-learning drawing determination unit 116. In the example of FIG. 14, the non-learning drawing determination unit 116 deletes the content parameters corresponding to the non-learning drawings in drawing 1 (i.e., drawings d1 and e1) from TB2-1. In addition, the non-learning drawing determination unit 116 assigns the drawing number of drawing c1 (representative drawing of set A) to set A, and assigns the drawing number of drawing b1 (representative drawing of set B) to set B.

学習対象外図面決定部116は、上述の通りTB2を編集することにより、編集後第2テーブルTB12を生成する。具体的には、学習対象外図面決定部116は、上述の通りTB2-iを編集することにより、編集後第2テーブル内第iサブテーブルTB12-iを生成する。図15には、TB12-1が例示されている。TB12は、TB12-1~TB12-Nという、N個のサブテーブルのセットによって構成されている。 The non-study drawing determination unit 116 generates the post-edit second table TB12 by editing TB2 as described above. Specifically, the non-study drawing determination unit 116 generates the i-th sub-table TB12-i in the post-edit second table by editing TB2-i as described above. FIG. 15 shows an example of TB12-1. TB12 is composed of a set of N sub-tables, TB12-1 to TB12-N.

(学習モデル生成部113)
学習モデル生成部113は、学習対象外図面決定部116によって生成されたTB12を教師データとして取得する。そして、学習モデル生成部113は、参考形態と同様の学習処理(例:多項ロジスティック回帰分析)を行うことにより、学習モデルを生成する。学習モデル生成後の各処理については、参考形態と同様である。
(Learning model generation unit 113)
The learning model generation unit 113 acquires the TB 12 generated by the non-learning drawing determination unit 116 as teacher data. The learning model generation unit 113 then generates a learning model by performing a learning process (e.g., multinomial logistic regression analysis) similar to that of the reference embodiment. Each process after the generation of the learning model is similar to that of the reference embodiment.

(実施形態1の効果)
情報処理システム100(情報処理装置1)によっても、参考形態と同様に、図面検索におけるユーザの利便性を従来よりも高めることが可能となる。加えて、学習装置11によれば、参考形態とは異なり、TB12を用いて学習モデルを生成できる。すなわち、学習装置11によれば、参考形態とは異なり、学習対象外図面を除いた各過去図面の内容パラメータに基づき、学習モデルを生成できる。
(Effects of the First Embodiment)
Similarly to the reference embodiment, the information processing system 100 (information processing device 1) can improve the user's convenience in searching for drawings more than ever before. In addition, unlike the reference embodiment, the learning device 11 can generate a learning model using the TB 12. That is, unlike the reference embodiment, the learning device 11 can generate a learning model based on the content parameters of each past drawing excluding drawings that are not the learning target.

上述のように、学習装置11では、他の過去図面との類似性が高い図面が、学習対象外図面として決定される。そして、学習対象外図面を排除して、過去図面に基づく学習を行うことができる。すなわち、互いに内容の類似性が低い一群の過去図面に基づく学習を行うことができる。従って、上述のパターン3・4の学習が行われる可能性を低減できる。その結果、偏った学習モデルが得られる可能性を低減できる。 As described above, in the learning device 11, drawings that are highly similar to other past drawings are determined as drawings not to be learned. Then, the drawings not to be learned can be excluded and learning can be performed based on past drawings. In other words, learning can be performed based on a group of past drawings whose contents are low in similarity to each other. Therefore, the possibility of learning the above-mentioned patterns 3 and 4 can be reduced. As a result, the possibility of obtaining a biased learning model can be reduced.

このように、学習装置11によれば、学習対象外図面を排除して学習を行うことにより、学習モデルの質の低下を防止できる(学習モデルの品質を担保できる)。それゆえ、情報処理システム100では、学習装置11によって生成された質の高い学習モデルを用いて、図面検索装置12による検索を行うことできる。その結果、情報処理システム100によれば、参考形態に比べてさらに高い検索精度を実現できる。 In this way, the learning device 11 can prevent a decline in the quality of the learning model by performing learning while excluding drawings that are not the learning target (ensuring the quality of the learning model). Therefore, in the information processing system 100, a search can be performed by the drawing search device 12 using a high-quality learning model generated by the learning device 11. As a result, the information processing system 100 can achieve even higher search accuracy than the reference embodiment.

〔変形例〕
(1)実施形態1では、本発明の一態様に係る相違度の一例として、L次元空間における距離を例示した。特に、実施形態1では、距離の一例として、ユークリッド距離を例示した。但し、当該距離は、ユークリッド距離に限定されない。当該距離の別の例としては、マンハッタン距離またはチェビシェフ距離を挙げることができる。当該距離は、L次元空間において定義可能な公知の種類の距離(ノルム)であればよい。
[Modifications]
(1) In the first embodiment, a distance in an L-dimensional space is exemplified as an example of a dissimilarity according to one aspect of the present invention. In particular, in the first embodiment, a Euclidean distance is exemplified as an example of a distance. However, the distance is not limited to the Euclidean distance. Other examples of the distance include a Manhattan distance or a Chebyshev distance. The distance may be any known type of distance (norm) that can be defined in an L-dimensional space.

加えて、本発明の一態様に係る相違度は、必ずしも距離に限定されないことに留意されたい。D(I,J)は、図面Iと図面Jとの記載内容の違いを表現しうる限り、I1~ILおよびJ1~JLに基づいて算出される任意の指標値であってよい。 In addition, please note that the dissimilarity according to one aspect of the present invention is not necessarily limited to distance. D(I, J) may be any index value calculated based on I1-IL and J1-JL, as long as it can express the difference in the contents of drawings I and J.

(2)実施形態1では、最長距離法によってD(A,X)を設定する場合を例示した。但し、D(A,X)の設定手法は、最長距離法に限定されない。例えば、最短距離法、重心法、または群平均法などの他の手法によって、D(A,X)が設定されてもよい。 (2) In the first embodiment, the case where D(A, X) is set by the longest distance method is exemplified. However, the method for setting D(A, X) is not limited to the longest distance method. For example, D(A, X) may be set by other methods such as the shortest distance method, the center of gravity method, or the group average method.

なお、最長距離法を用いた場合には、上記他の手法を用いた場合に比べ、D(A,X)を大きい値に設定できる。このため、最長距離法を用いることにより、類似集合決定部115において、より少ない演算回数によって、類似集合の分類処理を完了させることができると期待される。このため、最長距離法は、学習装置11の計算コストの低減から好適な手法であると言える。 When the longest distance method is used, D(A, X) can be set to a larger value than when the other methods described above are used. Therefore, by using the longest distance method, it is expected that the similar set determination unit 115 can complete the classification process of similar sets with a smaller number of calculations. For this reason, the longest distance method can be said to be a suitable method for reducing the calculation cost of the learning device 11.

〔ソフトウェアによる実現例〕
情報処理システム100の制御ブロック(特に制御装置10)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Software implementation example]
The control block (particularly the control device 10) of the information processing system 100 may be realized by a logic circuit (hardware) formed on an integrated circuit (IC chip) or the like, or may be realized by software.

後者の場合、情報処理システム100は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the information processing system 100 includes a computer that executes the instructions of a program, which is software that realizes each function. The computer includes, for example, one or more processors, and a computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor can be, for example, a CPU (Central Processing Unit). The recording medium can be a "non-transient tangible medium," such as a ROM (Read Only Memory), as well as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The system may also include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. One aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

〔付記事項〕
本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。
[Additional Notes]
The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention.

1 情報処理装置
10制御装置
11 学習装置(モデル生成装置)
100 情報処理システム
111 過去図面データ取得部
112 過去図面データ前処理部(検索対象図面内容パラメータ取得部)
113 学習モデル生成部(学習部)
114 相違度算出部
115 類似集合決定部(決定部)
116 学習対象外図面決定部(決定部)
a1~MN 図面(過去図面,検索対象図面)
ND 図面(新規図面,ターゲット図面)
A,B 集合
d1,e1 図面(学習対象外図面)
1 Information processing device 10 Control device 11 Learning device (model generating device)
100 Information processing system 111 Past drawing data acquisition unit 112 Past drawing data preprocessing unit (search target drawing content parameter acquisition unit)
113 Learning model generation unit (learning unit)
114 Dissimilarity calculation unit 115 Similar set determination unit (determination unit)
116 Drawing not to be studied decision unit (decision unit)
a1 to MN drawings (past drawings, drawings to be searched)
ND Drawing (New Drawing, Target Drawing)
A, B Set d1, e1 Drawings (drawings not subject to study)

Claims (3)

複数の検索対象図面からターゲット図面に対応する少なくとも1つの図面を検索するための学習モデルを生成するモデル生成装置であって、
上記複数の検索対象図面を解析することにより、当該複数の検索対象図面のそれぞれの記載内容に関連した検索対象図面内容パラメータを取得する、検索対象図面内容パラメータ取得部と、
上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記複数の検索対象図面に含まれる任意の2つの異なる検索対象図面間の記載内容の相違度を算出する相違度算出部と、
上記相違度に応じて、上記複数の検索対象図面の内から、学習対象外図面を決定する決定部と、
上記学習対象外図面を除いた上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記学習モデルを生成する学習部と、を備えており、
上記決定部は、
上記相違度が閾値以下である上記複数の検索対象図面の組によって構成される集合を決定し、
上記集合に属する上記複数の検索対象図面の内から、上記学習対象外図面を決定し、
上記決定部は、(i)上記集合に属する上記複数の検索対象図面のそれぞれと、(ii)上記集合に属しないある1つの検索対象図面と、の相違度の最大値を、上記集合と上記ある1つの検索対象図面との相違度として設定する、モデル生成装置。
A model generation device that generates a learning model for searching at least one drawing corresponding to a target drawing from a plurality of search target drawings,
a search target drawing content parameter acquisition unit that acquires search target drawing content parameters related to the description contents of each of the plurality of search target drawings by analyzing the plurality of search target drawings;
a dissimilarity calculation unit that calculates a dissimilarity between any two different search target drawings included in the plurality of search target drawings based on the search target drawing content parameters of each of the plurality of search target drawings;
a determining unit that determines non-learning drawings from among the plurality of search target drawings according to the degree of difference;
A learning unit that generates the learning model based on the search target drawing content parameters of each of the plurality of search target drawings excluding the non-learning target drawings ,
The determination unit is
determining a set consisting of pairs of the plurality of search target drawings whose dissimilarity is equal to or less than a threshold value;
determining the non-learning drawings from among the plurality of search target drawings belonging to the set;
The determination unit sets the maximum value of the dissimilarity between (i) each of the plurality of search target drawings belonging to the set and (ii) a certain search target drawing that does not belong to the set as the dissimilarity between the set and the certain search target drawing, a model generating device.
上記検索対象図面内容パラメータには、検索対象図面第1内容パラメータから検索対象図面第L内容パラメータまでのL個のパラメータが含まれており、
上記2つの異なる検索対象図面の一方を図面I、他方を図面Jと称し、
上記相違度算出部は、上記検索対象図面内容パラメータの分布を示すL次元データ空間における、図面Iに対応する点と図面Jに対応する点との距離を、図面Iと図面Jとの相違度として算出する、請求項に記載のモデル生成装置。
The search target drawing content parameters include L parameters from a search target drawing first content parameter to a search target drawing Lth content parameter,
One of the two different search target drawings is called drawing I, and the other is called drawing J.
The model generating device according to claim 1, wherein the dissimilarity calculation unit calculates the distance between a point corresponding to drawing I and a point corresponding to drawing J in an L- dimensional data space indicating the distribution of the search target drawing content parameters as the dissimilarity between drawing I and drawing J.
複数の検索対象図面からターゲット図面に対応する少なくとも1つの図面を検索するための学習モデルを生成するモデル生成方法であって、
上記複数の検索対象図面を解析することにより、当該複数の検索対象図面のそれぞれの記載内容に関連した検索対象図面内容パラメータを取得する、検索対象図面内容パラメータ取得工程と、
上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記複数の検索対象図面に含まれる任意の2つの異なる検索対象図面間の記載内容の相違度を算出する相違度算出工程と、
上記相違度に応じて、上記複数の検索対象図面の内から、学習対象外図面を決定する決定工程と、
上記学習対象外図面を除いた上記複数の検索対象図面のそれぞれの上記検索対象図面内容パラメータに基づき、上記学習モデルを生成する学習工程と、を含んでおり、
上記決定工程では、
上記相違度が閾値以下である上記複数の検索対象図面の組によって構成される集合を決定し、
上記集合に属する上記複数の検索対象図面の内から、上記学習対象外図面を決定し、
上記決定工程では、(i)上記集合に属する上記複数の検索対象図面のそれぞれと、(ii)上記集合に属しないある1つの検索対象図面と、の相違度の最大値を、上記集合と上記ある1つの検索対象図面との相違度として設定する、モデル生成方法。
A model generation method for generating a learning model for searching at least one drawing corresponding to a target drawing from a plurality of search target drawings, comprising:
a search target drawing content parameter acquisition step of acquiring search target drawing content parameters related to the contents of each of the plurality of search target drawings by analyzing the plurality of search target drawings;
a difference calculation step of calculating a difference in contents between any two different search target drawings included in the plurality of search target drawings based on the search target drawing content parameters of each of the plurality of search target drawings;
a determining step of determining non-learning drawings from among the plurality of search target drawings according to the degree of difference;
A learning process for generating the learning model based on the search target drawing content parameters of each of the plurality of search target drawings excluding the non-learning target drawings ,
In the above determination step,
determining a set consisting of pairs of the plurality of search target drawings whose dissimilarity is equal to or less than a threshold value;
determining the non-learning drawings from among the plurality of search target drawings belonging to the set;
A model generation method in which, in the determination process, the maximum value of the dissimilarity between (i) each of the plurality of search target drawings belonging to the set and (ii) one search target drawing that does not belong to the set is set as the dissimilarity between the set and the one search target drawing .
JP2020153966A 2020-09-14 2020-09-14 Model generation device and model generation method Active JP7587111B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020153966A JP7587111B2 (en) 2020-09-14 2020-09-14 Model generation device and model generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020153966A JP7587111B2 (en) 2020-09-14 2020-09-14 Model generation device and model generation method

Publications (2)

Publication Number Publication Date
JP2022047915A JP2022047915A (en) 2022-03-25
JP7587111B2 true JP7587111B2 (en) 2024-11-20

Family

ID=80781274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020153966A Active JP7587111B2 (en) 2020-09-14 2020-09-14 Model generation device and model generation method

Country Status (1)

Country Link
JP (1) JP7587111B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7623055B1 (en) 2024-06-21 2025-01-28 A1A株式会社 Program, method, information processing device and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191556A (en) 2009-02-17 2010-09-02 Hitachi Ltd Abnormality detecting method and abnormality detecting system
JP2020091769A (en) 2018-12-07 2020-06-11 Thk株式会社 Drawing management system and drawing management method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3236635B2 (en) * 1991-03-27 2001-12-10 豊田工機株式会社 Learning method of neural network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010191556A (en) 2009-02-17 2010-09-02 Hitachi Ltd Abnormality detecting method and abnormality detecting system
JP2020091769A (en) 2018-12-07 2020-06-11 Thk株式会社 Drawing management system and drawing management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
森本 充ほか,AI技術を活用した図面検索ツールの構築,日新電機技報,日新電機株式会社,2019年10月25日,第64巻 第2号,pp.41-44

Also Published As

Publication number Publication date
JP2022047915A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN112380346A (en) Financial news emotion analysis method and device, computer equipment and storage medium
CN112051986B (en) Device and method for code search recommendation based on open source knowledge
CN112395881B (en) Material label construction method and device, readable storage medium and electronic equipment
CN114077682B (en) Intelligent recognition matching processing method and system for image retrieval and storage medium
CN118861381A (en) Recruitment information data processing method and system
CN102360436B (en) Identification method for on-line handwritten Tibetan characters based on components
CN115618014A (en) Standard document analysis management system and method applying big data technology
CN112347252A (en) Interpretability analysis method based on CNN text classification model
Brodić et al. Clustering documents in evolving languages by image texture analysis
CN119739838A (en) RAG intelligent question answering method, device, equipment and medium for multi-label generation and matching
JP7587111B2 (en) Model generation device and model generation method
JP7219920B2 (en) Drawing retrieval device and drawing retrieval method
CN116341521A (en) An AIGC Article Recognition System Based on Text Features
JP7291347B2 (en) Drawing retrieval device, model generation device, drawing retrieval method, and model generation method
JP7688251B2 (en) MODEL GENERATION DEVICE, INFORMATION PROCESSING DEVICE, MODEL GENERATION METHOD, AND METHOD FOR CONTROLLING INFORMATION PROCESSING DEVICE
Akyol Clustering hotels and analyzing the importance of their features by machine learning techniques
Trinh et al. Automatic process resume in talent pool by applying natural language processing
Patil et al. NLP based Text Summarization of Fintech RFPs
CN111680149A (en) Text retrieval ordering method
CN115563311B (en) Document labeling and knowledge base management method and knowledge base management system
Pal et al. Word sense disambiguation in Bengali: An unsupervised approach
Hazman et al. Beyond Meme Templates: Limitations of Visual Similarity Measures in Meme Matching
BAZRFKAN et al. Using machine learning methods to summarize persian texts
Zhang et al. Distributed dimensionality reduction of industrial data based on clustering
CN121117229B (en) Knowledge graph-based complex product design knowledge service method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230721

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240723

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240822

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20241008

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241021

R150 Certificate of patent or registration of utility model

Ref document number: 7587111

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150