JP2013218380A - Database inquiry sentence analysis device, database inquiry sentence analysis method, and program - Google Patents

Database inquiry sentence analysis device, database inquiry sentence analysis method, and program Download PDF

Info

Publication number
JP2013218380A
JP2013218380A JP2012085820A JP2012085820A JP2013218380A JP 2013218380 A JP2013218380 A JP 2013218380A JP 2012085820 A JP2012085820 A JP 2012085820A JP 2012085820 A JP2012085820 A JP 2012085820A JP 2013218380 A JP2013218380 A JP 2013218380A
Authority
JP
Japan
Prior art keywords
database query
burden
query statement
change information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2012085820A
Other languages
Japanese (ja)
Other versions
JP6044100B2 (en
Inventor
Itaru Hosomi
格 細見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2012085820A priority Critical patent/JP6044100B2/en
Publication of JP2013218380A publication Critical patent/JP2013218380A/en
Application granted granted Critical
Publication of JP6044100B2 publication Critical patent/JP6044100B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a database inquiry sentence analysis device in which a database inquiry sentence having accuracy and high reusability can be efficiently created from an existing database inquiry sentence.SOLUTION: A database inquiry sentence analysis device includes: a load factor detection part 11 for inputting a database inquiry sentence, and detecting, as a load factor imposed on a user when reusing a database inquiry sentence, at least one of a description of predetermined form and a condition formula whose complexity is equal to or more than a prescribed level; and a change information generation part 12 for generating change information for changing the database inquiry sentence to a database inquiry sentence from which a load factor is removed.

Description

本発明は、データベース問合せ文の再利用に用いられるデータベース問合せ文解析装置に関する。   The present invention relates to a database query statement analysis apparatus used for reusing a database query statement.

近年、個人、民間企業、公的機関などから供給される情報の量は、膨大になり、且つ高頻度で更新されている。そのような情報の中から必要な情報を選択的に抽出し利用するための一般的な仕組みとして、リレーショナル・データベース(以下、RDBと記載する。)や、大規模データに適したKey−Valueストア(以下、KVSと記載する。)などがある。KVSは、簡単な条件による検索ならば対応できるが、より複雑な条件による検索に対応するには、RDBやXMLデータベース、オブジェクト指向データベースなどが必要となる。これらのデータベースの中でも、データ管理の安全性の高さやアプリケーションシステムに適用した際の使い勝手の良さなどの理由により、現在もRDBが主流となっている。   In recent years, the amount of information supplied from individuals, private companies, public institutions, and the like has become enormous and updated frequently. As a general mechanism for selectively extracting and using necessary information from such information, a relational database (hereinafter referred to as RDB) or a key-value store suitable for large-scale data. (Hereinafter referred to as KVS). KVS can be handled by a simple search, but an RDB, XML database, object-oriented database, or the like is required to support a search using more complicated conditions. Among these databases, RDB is still mainstream for reasons such as high data management safety and ease of use when applied to application systems.

比較的複雑で多様な条件による検索が行なわれる大規模なデータベースの例として、診療報酬明細書(以下、レセプトと記載する。)のデータベース(以下、レセプトDBと記載する。)がある。レセプトDBとして、例えば、各病院が管理しているもののほか、全国のレセプトが集約されたナショナル・レセプト・データベース(以下、NRDBと記載する。)が構築されている。NRDBは、年間10億件を超えるレセプトデータを蓄積する。そして、医療機関などから受ける要求に応じて必要な範囲のデータがNRDBから抽出され、提供される。   As an example of a large-scale database that is searched under relatively complicated and diverse conditions, there is a database (hereinafter referred to as “receipt DB”) of medical fee details (hereinafter referred to as “receipt”). As the receipt DB, for example, in addition to what is managed by each hospital, a national receipt database (hereinafter referred to as NRDB) in which national receipts are aggregated is constructed. NRDB accumulates more than 1 billion receipt data annually. Then, in accordance with a request received from a medical institution or the like, data in a necessary range is extracted from the NRDB and provided.

このような医療関連の大規模データベースを医学的な研究や国、地域の医療、健康に関わる施策検討に活用する際、検索や集計の誤りは、施策の実施において、薬やワクチン等の多大な無駄や不足の要因となる可能性がある。例えば、ある地域でのワクチン備蓄量を前年までの周辺地域を含めた実績から推定する場合、その実績の検索や集計を誤るとワクチン不足が生じる可能性がある。また、検索誤りに気づいて再度検索(データ抽出)を行なう場合でも、対象となるデータベースが巨大だと再検索自体が大きな時間的、処理的、金銭的なコスト増になる。   When utilizing such a large-scale medical-related database for medical research or national / regional medical / health policy studies, errors in searching and counting can lead to a large number of drugs, vaccines, etc. It may be a waste or shortage factor. For example, when the amount of vaccine stock in a certain region is estimated from the results including the surrounding regions up to the previous year, there is a possibility that a shortage of vaccines may occur if the results are incorrectly searched or tabulated. Even when a search error is noticed and a search (data extraction) is performed again, if the target database is huge, the re-search itself increases the time, processing and monetary costs.

人的ミスを考慮した上で正しい検索を行なうための方法として、例えば、データベース操作用の標準言語であるSQLで書かれた検索式(以下、SQL文と記載する。)を自動生成し、正しい検索式をより確実に書けるようにする方法がある。例えば、特許文献1には、SQL文をユーザから隠蔽し、ユーザが簡易な入力画面から入力操作を行うことでSQL文が自動生成され、SQLをまったく知らないユーザでもRDBに対する検索が容易にできる方法が開示されている。   As a method for performing a correct search in consideration of human error, for example, a search expression written in SQL, which is a standard language for database operations (hereinafter referred to as an SQL sentence) is automatically generated and correct. There is a way to make it possible to write search expressions more reliably. For example, in Patent Document 1, an SQL sentence is automatically generated by concealing an SQL sentence from the user and the user performs an input operation from a simple input screen, and even a user who does not know SQL at all can easily search the RDB. A method is disclosed.

また、人的ミスを考慮した上で正しい検索を行なうための別の方法として、例えば、過去に得られた正しい検索結果またはその結果を得た検索式を再利用する方法がある。図16は、特許文献2に記載されたデータベース利用システムの機能構成を示すブロック図である。例えば、特許文献2に記載された方法では、分析担当ユーザが指定した検索条件に従って得られたデータを基にユーザ利用テーブルを生成し、それを分析担当ユーザの判断によって一般ユーザが再利用できるようにしている。これにより、一般ユーザは、分析担当ユーザによる確認済みの正確な検索が手軽にできる。また、特許文献2の方法では、生成されたユーザ利用テーブルの集合から一般ユーザが任意に選択して必要な項目に検索条件の値を入力するだけで検索ができるため、一般ユーザはSQLだけでなくデータ構造も知る必要なく正しい検索ができる。   As another method for performing a correct search in consideration of human error, for example, there is a method of reusing a correct search result obtained in the past or a search expression obtained from the result. FIG. 16 is a block diagram showing a functional configuration of the database utilization system described in Patent Document 2. As shown in FIG. For example, in the method described in Patent Document 2, a user usage table is generated based on data obtained according to a search condition designated by an analysis user, and can be reused by a general user at the judgment of the analysis user. I have to. Thereby, the general user can easily perform an accurate search confirmed by the user in charge of analysis. In the method of Patent Document 2, since a general user can arbitrarily select from a set of generated user usage tables and input a search condition value in a necessary item, the general user can only use SQL. You can search correctly without knowing the data structure.

特開2004−126680公報JP 2004-126680 A 特許第4700462号公報Japanese Patent No. 4700462

特許文献1および特許文献2に示された技術では、検索式で指定されたデータベース上の特定部分の値以外には書き換えが出来ず、検索式の構成の一部のみが異なる類似した検索に既存の検索式を流用することもできない。すなわち、既存の検索式を再利用できる場面が非常に限られるという課題がある。また、検索条件において記述する値やその粒度が、用途によっては、ユーザにとって専門的すぎる場合または細かすぎるような場合があり、値の選択誤りや列挙漏れが発生するという課題がある。   In the techniques shown in Patent Document 1 and Patent Document 2, it is not possible to rewrite other than the value of the specific part on the database specified by the search expression, and existing in a similar search in which only part of the structure of the search expression is different. It is not possible to divert the search expression. That is, there is a problem that the scenes in which an existing search expression can be reused is very limited. In addition, the value described in the search condition and its granularity may be too specialized or too fine for the user depending on the application, and there is a problem that selection errors of values and omission of enumeration occur.

そこで、本発明は、既存のデータベース問合せ文から、正確で再利用性の高いデータベース問合せ文を効率よく作成することができるデータベース問合せ文解析装置を提供することを目的とする。   Therefore, an object of the present invention is to provide a database query statement analysis apparatus that can efficiently create an accurate and highly reusable database query statement from an existing database query statement.

本発明によるデータベース問合せ文解析装置は、データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出部と、前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成部とを備えたことを特徴とする。   A database query statement analysis apparatus according to the present invention inputs a database query statement, and a user queries the database query at least one of a description in a predetermined form and a conditional expression whose complexity exceeds a predetermined level. To change the database query sentence to a database query sentence from which the burden factor has been removed according to the type of the burden factor, and a burden factor detection unit that detects the burden factor that becomes a burden when the sentence is reused And a change information generation unit for generating the change information.

本発明によるデータベース問合せ文解析方法は、データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出し、前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成することを特徴とする。   According to the database query statement analysis method of the present invention, a database query statement is input, and a user makes a query about at least one of a predetermined form description and a conditional expression whose complexity exceeds a predetermined level. Detected as a burden factor that becomes a burden when reusing a sentence, and generates change information for changing the database query statement to a database query statement from which the burden factor is removed according to the type of the burden factor It is characterized by doing.

本発明によるデータベース問合せ文解析プログラムは、コンピュータに、データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出処理と、前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成処理とを実行させることを特徴とする。   The database query statement analysis program according to the present invention inputs a database query statement to a computer, and the user inputs at least one of a description in a predetermined form and a conditional expression whose complexity exceeds a predetermined level. A burden factor detection process that detects a burden factor that becomes a burden when the database query sentence is reused, and the database query sentence is converted into a database query sentence from which the burden factor is removed according to the type of the burden factor. A change information generation process for generating change information for changing is executed.

本発明によれば、既存のデータベース問合せ文から、正確で再利用性の高いデータベース問合せ文を効率よく作成することができる。   According to the present invention, an accurate and highly reusable database query statement can be efficiently created from an existing database query statement.

本発明による第1の実施形態におけるデータベース問合せ文解析装置の構成を示すブロック図である。It is a block diagram which shows the structure of the database query sentence analysis apparatus in 1st Embodiment by this invention. 本発明による第1の実施形態におけるデータベース問合せ文解析装置に入力されるデータベース問合せ文の一例を示す説明図である。It is explanatory drawing which shows an example of the database query sentence input into the database query sentence analysis apparatus in 1st Embodiment by this invention. 本発明による第1の実施形態におけるデータベース問合せ文解析装置の負担要因検出部の構成を示すブロック図である。It is a block diagram which shows the structure of the burden factor detection part of the database query sentence analysis apparatus in 1st Embodiment by this invention. 本発明による第1の実施形態におけるデータベース問合せ文解析装置の変更情報生成部の構成を示すブロック図である。It is a block diagram which shows the structure of the change information generation part of the database query sentence analysis apparatus in 1st Embodiment by this invention. 本発明による第1の実施形態におけるデータベース問合せ文解析装置の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the database query sentence analysis apparatus in 1st Embodiment by this invention. 変更情報テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a change information table. 変更情報の一例を示す説明図である。It is explanatory drawing which shows an example of change information. 再利用性の高い検索式およびそれに用いられるテーブルの一例を示す説明図である。It is explanatory drawing which shows an example of a search formula with high reusability, and a table used for it. 本発明による第2の実施形態におけるデータベース問合せ文解析装置の構成を示すプロック図である。It is a block diagram which shows the structure of the database query sentence analysis apparatus in 2nd Embodiment by this invention. 本発明による第2の実施形態におけるデータベース問合せ文解析装置の問合せ文変更部の構成を示すブロック図である。It is a block diagram which shows the structure of the query sentence change part of the database query sentence analysis apparatus in 2nd Embodiment by this invention. 本発明による第2の実施形態におけるデータベース問合せ文解析装置の補足情報入力部の構成と表示されるユーザインタフェースの例を示すブロック図である。It is a block diagram which shows the example of the structure of the supplementary information input part of the database query sentence analysis apparatus in 2nd Embodiment by this invention, and the displayed user interface. 検索式テンプレート、変換テーブルおよび検索対象説明の一例を示す説明図である。It is explanatory drawing which shows an example of a search type | mold template, a conversion table, and search object description. 本発明による第2の実施形態におけるデータベース問合せ文解析装置を利用することにより作成可能なデータベース検索ユーザインタフェースの一例を示す説明図である。It is explanatory drawing which shows an example of the database search user interface which can be produced by utilizing the database query sentence analysis apparatus in 2nd Embodiment by this invention. 本発明による第1の実施形態及び第2の実施形態におけるデータベース問合せ文解析装置のハードウェア構成例を示す説明図である。It is explanatory drawing which shows the hardware structural example of the database query sentence analysis apparatus in 1st Embodiment and 2nd Embodiment by this invention. 本発明によるデータベース問合せ文解析装置の主要部を示すブロック図である。It is a block diagram which shows the principal part of the database query sentence analysis apparatus by this invention. 特許文献2に記載されたデータベース利用システムの構成を示すブロック図である。It is a block diagram which shows the structure of the database utilization system described in patent document 2.

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

実施形態1.
図1は、第1の実施形態(実施形態1)におけるデータベース問合せ文解析装置の構成を示すブロック図である。図2は、データベース問合せ文解析装置に入力されるデータベース問合せ文の一例を示す説明図である。図1に示すように、本実施形態のデータベース問合せ文解析装置は、負担要因検出部11と、変更情報生成部12とを含む。
Embodiment 1. FIG.
FIG. 1 is a block diagram illustrating a configuration of a database query statement analysis apparatus according to the first embodiment (embodiment 1). FIG. 2 is an explanatory diagram illustrating an example of a database query sentence input to the database query sentence analysis device. As shown in FIG. 1, the database query statement analysis device of this embodiment includes a burden factor detection unit 11 and a change information generation unit 12.

負担要因検出部11は、図2に示すようなデータベース問合せ文(以下、検索式と記載する。)を入力し、入力された検索式を再利用する場合に再利用の目的に合わせた変更が難しい部分、および変更時に間違いを生じ易い部分の少なくとも一方を負担要因として検出する。   The burden factor detection unit 11 inputs a database query sentence (hereinafter referred to as a search expression) as shown in FIG. 2, and when the input search expression is reused, the change according to the reuse purpose is performed. At least one of a difficult part and a part that easily causes an error at the time of change is detected as a burden factor.

変更情報生成部12は、負担要因の種類に応じて、検索式を、負担要因を低減させた検索式に変更するための変更情報を生成する。   The change information generation unit 12 generates change information for changing the search formula to a search formula with a reduced load factor according to the type of the load factor.

図3は、負担要因検出部11の構成を示すブロック図である。図3に示すように、負担要因検出部11は、要素記述負担解析部111と構造記述負担解析部112とを含む。   FIG. 3 is a block diagram illustrating a configuration of the burden factor detection unit 11. As shown in FIG. 3, the burden factor detection unit 11 includes an element description burden analysis unit 111 and a structure description burden analysis unit 112.

要素記述負担解析部111は、データベースのテーブルやフィールド、フィールドの値、またはそれらの集合の記述が、データベース問合せ文を再利用する際にユーザにとって負担となる場合に、それらを負担要因として検出する。要素記述負担解析部111は、例えば番号、記号列、専門用語など一般の人には理解し難い文字列を専用コードとして検出する専用コード検出部1111と、ある特定のフィールドの値(同種の値)がAND句、OR句またはIN述語を用いて列挙されている場合に、これらの値の集合を、要素集合として検出する要素集合検出部1112を含む。また、要素記述負担解析部111は、データベースの値の使い方もしくはSQLの書き方で誤りを生じ易い要注意部分の記述を、要注意記述として検出する要注意記述検出部1113を含む。   The element description burden analysis unit 111 detects, as a burden factor, when the description of a database table, field, field value, or a set thereof is a burden on the user when reusing a database query statement. . The element description burden analysis unit 111 includes a dedicated code detection unit 1111 that detects, as a dedicated code, a character string that is difficult for a general person to understand, such as a number, a symbol string, and a technical term. ) Are enumerated using an AND clause, an OR clause, or an IN predicate, an element set detection unit 1112 that detects a set of these values as an element set is included. The element description burden analysis unit 111 includes a caution description detection unit 1113 that detects a description of a cautionary part that is likely to cause an error in the use of a database value or the way of writing SQL.

構造記述負担解析部112は、構造的な複雑度が高く且つ多くの検索式に現れる記述パターン(頻出パターン)を検出する。構造記述負担解析部112は、検索式の複雑度評価を行なう複雑度評価部1121、条件式を必要に応じて抽象化する条件式抽象化部1122、抽象化された条件式を格納する条件式リポジトリ1124を含む。また、構造記述負担解析部112は、抽象化された条件式および条件式リポジトリ1124内の条件式に基づいて頻出する共通のパターン(頻出パターン)を抽出する頻出パターン抽出部1123を含む。   The structural description burden analysis unit 112 detects a description pattern (frequent pattern) that has a high structural complexity and appears in many search expressions. The structure description burden analysis unit 112 includes a complexity evaluation unit 1121 that evaluates the complexity of a search expression, a conditional expression abstraction unit 1122 that abstracts a conditional expression as necessary, and a conditional expression that stores the abstracted conditional expression A repository 1124 is included. The structure description burden analysis unit 112 includes a frequent pattern extraction unit 1123 that extracts common patterns (frequent patterns) that frequently appear based on the abstracted conditional expressions and the conditional expressions in the conditional expression repository 1124.

図4は、変更情報生成部12の構成を示すブロック図である。変更情報生成部12は、負担要因検出部11の出力結果と変更情報テーブルを参照して検索式の変更タイプと必要な変更情報を特定し、必要な変更情報を構成する変更情報構成部121と、構成された負担要因の種類毎の変更情報を出力する変更情報出力部122と、変更情報を格納する変更情報テーブル123とを含む。   FIG. 4 is a block diagram illustrating a configuration of the change information generation unit 12. The change information generation unit 12 refers to the output result of the burden factor detection unit 11 and the change information table, specifies the change type of the search formula and the necessary change information, and configures the change information configuration unit 121 that configures the necessary change information. A change information output unit 122 that outputs change information for each type of configured burden factor, and a change information table 123 that stores the change information.

次に、本実施形態のデータベース問合せ文解析装置の動作を説明する。図5は、本実施形態のデータベース問合せ文解析装置の動作を示すフローチャートである。   Next, the operation of the database query statement analysis apparatus of this embodiment will be described. FIG. 5 is a flowchart showing the operation of the database query statement analysis apparatus of this embodiment.

専用コード検出部1111は、入力した検索式に番号、記号列、専門用語など一般の人には理解し難い文字列が検索条件に使われている場合に、これら文字列を、専用コードとして検出する(ステップS01)。要素集合検出部1112は、入力した検索式にある特定のフィールドの値がAND句、OR句またはIN述語を用いて列挙されている場合に、これらの値の集合を、要素集合として検出する(ステップS02)。要注意記述検出部1113は、入力した検索式にデータベースの値の使い方もしくはSQLの書き方で誤りを生じ易い要注意部分の記述を、要注意記述として検出する(ステップS03)。要素記述負担解析部111は、これら専用コード、要素集合および要注意記述のうちの少なくとも一つを負担要因として出力する。また、要素集合に該当するフィールド、ならびに専用コードおよび要注意記述に該当する記述は、システム管理者等により予め定められる。   The dedicated code detection unit 1111 detects these character strings as dedicated codes when the input search expression uses character strings that are difficult for the general public to understand, such as numbers, symbol strings, and technical terms. (Step S01). The element set detection unit 1112 detects a set of these values as an element set when values of specific fields in the input search expression are listed using an AND clause, an OR clause, or an IN predicate ( Step S02). The caution description detection unit 1113 detects, as a caution description, a description of a cautionary part that is likely to cause an error in the input search formula using a database value or writing SQL (step S03). The element description burden analysis unit 111 outputs at least one of these dedicated code, element set, and caution description as a burden factor. Further, the field corresponding to the element set, and the description corresponding to the dedicated code and the caution description are predetermined by the system administrator or the like.

専用コード、要素集合および要注意記述は、検索式中の同じ部分から検出されることもある。例えば、図2に示す検索式の例では、WHERE以下で表される条件式の中にIN述語を用いた“prescription.atc in (‘N06A3’, ‘N06A4’, ‘N06A9’)”という記述がある。この記述において、例えば‘N06A3’などは専用コードに相当し、また3つの専用コードが列挙された要素集合でもある。さらに、“prescription.value >= 30”という条件の記述において“30”という数字は、単位が分かり難く要注意記述として検出すべき対象である。なお、“patients.date”の値のようなDATE型の値は、分かり易く曖昧性が低いため、要注意記述とはしない。   The dedicated code, element set, and cautionary description may be detected from the same part in the search expression. For example, in the example of the search expression shown in FIG. 2, there is a description “prescription.atc in ('N06A3', 'N06A4', 'N06A9')” using an IN predicate in the conditional expression expressed below the WHERE. is there. In this description, for example, 'N06A3' corresponds to a dedicated code, and is also an element set in which three dedicated codes are listed. Furthermore, in the description of the condition “prescription.value> = 30”, the number “30” is a target that is difficult to understand and should be detected as a cautionary description. Note that a DATE type value such as the value of “patients.date” is easy to understand and has low ambiguity, so it is not a cautionary description.

なお、ステップS01〜ステップS03の順序は、上記の順序に限られず、別の順序で行ってもよい。また、ステップS01〜ステップS03を並行して行ってもよい。   Note that the order of steps S01 to S03 is not limited to the above order, and may be performed in another order. Further, step S01 to step S03 may be performed in parallel.

複雑度評価部1121は、検索式の複雑度評価を行なう(ステップS04)。複雑度評価部1121による検索式の複雑度評価は、簡易な方法としては、例えば、WHERE以下で表される条件式のうち使われている述語の種類、または参照しているフィールドおよび値の数の合計が、システム管理者等により予め定められた所定数以上であれば複雑な検索式と判断することで実現できる。   The complexity evaluation unit 1121 performs search expression complexity evaluation (step S04). As a simple method, the complexity evaluation of the search expression by the complexity evaluation unit 1121 can be performed by, for example, the type of predicate used in the conditional expression expressed below or the number of referenced fields and values. Can be realized by determining that the search expression is complicated.

ステップS04において、検索式の複雑度が所定の閾値以上であると判定された場合には、条件式抽象化部1122は、その検索式に含まれる条件式を必要に応じて抽象化する(ステップS05)。また、条件式抽象化部1122は、抽象化した条件式を条件式リポジトリ1124に追加する。   If it is determined in step S04 that the complexity of the search expression is greater than or equal to a predetermined threshold, the conditional expression abstraction unit 1122 abstracts the conditional expression included in the search expression as necessary (step S04). S05). The conditional expression abstraction unit 1122 adds the abstracted conditional expression to the conditional expression repository 1124.

条件式抽象化部1122による条件式の抽象化は、例えば、あるフィールドが特定の値であることが条件に含まれる場合に、条件の値を任意(ワイルドカード)とすることで実現できる。また、条件式抽象化部1122による条件式の抽象化は、例えば、AND句が複数並ぶ場合は出現頻度が上位所定数のテーブルやフィールドに関するAND句のみを残して出現頻度の低いテーブルやフィールドに関するAND句を削除するという方法により実現できる。   The abstraction of the conditional expression by the conditional expression abstraction unit 1122 can be realized, for example, by setting the condition value to be arbitrary (wild card) when the condition includes that a certain field has a specific value. Also, the conditional expression abstraction by the conditional expression abstraction unit 1122 is related to, for example, a table or field with a low appearance frequency, leaving only AND clauses related to a predetermined number of tables and fields having a higher appearance frequency when a plurality of AND phrases are arranged. This can be realized by a method of deleting the AND phrase.

次に、頻出パターン抽出部1123は、その抽象化された条件式と類似した条件式が条件式リポジトリ1124に所定の数以上存在していれば、それら条件式から共通のパターン(頻出パターン)を抽出する(ステップS06)。   Next, if a predetermined number or more of conditional expressions similar to the abstracted conditional expression exist in the conditional expression repository 1124, the frequent pattern extraction unit 1123 generates a common pattern (frequent pattern) from the conditional expressions. Extract (step S06).

頻出パターン抽出部1123による頻出パターンの抽出における類似した条件式とは、例えば、条件式リポジトリ1124に蓄積された抽象化済みの条件式を、ANDやORの論理演算子を中間ノードとした木構造(最上位ノードはWHERE)で表し、木構造同士の類似性が所定の閾値以上の条件式である。また、木構造同士の類似性は、例えば、中間および末端ノードが共通している割合と、各末端ノード(述語)で指定された属性(テーブルやフィールド)が共通している割合との積であらわされる。   A similar conditional expression in frequent pattern extraction by the frequent pattern extraction unit 1123 is, for example, a tree structure in which abstract conditional expressions stored in the conditional expression repository 1124 are AND and OR logical operators as intermediate nodes. (The highest node is WHERE), which is a conditional expression in which the similarity between tree structures is equal to or greater than a predetermined threshold. The similarity between tree structures is, for example, the product of the ratio of common intermediate and terminal nodes and the ratio of attributes (tables and fields) specified in each terminal node (predicate). Appears.

以上の処理により、負担要因検出部11は、ユーザが理解し難い専用コード、その列挙時に要素の過不足や記入誤りが生じ易い要素集合、その他の誤り易い要注意部分、をそれぞれ負担要因として出力する。そして、負担要因検出部11は、所定の程度以上の複雑度を持つ条件式の使用頻度が高い部分を表す頻出パターンも負担要因の一種として出力する。   Through the above processing, the burden factor detection unit 11 outputs, as burden factors, a dedicated code that is difficult for the user to understand, an element set that is likely to cause an excess or deficiency of elements or an entry error when enumerating, and other sensitive parts that are susceptible to error. To do. And the burden factor detection part 11 outputs the frequent pattern showing the part with a high usage frequency of the conditional expression with complexity more than a predetermined | prescribed level as a kind of burden factor.

変更情報生成部12は、負担要因検出部11によって検出された負担要因の種類に応じて、入力された検索式から負担要因を低減し、再利用が容易な記述内容に変更するための一連の情報を生成する。図6は、変更情報生成部12が用いる変更情報テーブル123の一例を示す説明図である。変更情報構成部121は、負担要因検出部11の出力結果と変更情報テーブル123を参照して検索式の変更タイプと必要な変更情報を特定し、必要な変更情報を構成する(ステップS07)。   The change information generation unit 12 reduces a burden factor from the input search formula according to the type of the burden factor detected by the burden factor detection unit 11 and changes a description content that can be easily reused. Generate information. FIG. 6 is an explanatory diagram illustrating an example of the change information table 123 used by the change information generation unit 12. The change information configuration unit 121 refers to the output result of the burden factor detection unit 11 and the change information table 123, identifies the search formula change type and necessary change information, and configures necessary change information (step S07).

次に、変更情報出力部122は、構成された負担要因の種類毎の変更情報を出力する(ステップS08)。例えば、図2に示す検索式から負担要因検出部11によって検出された、負担要因として専用コードおよび要素集合を含む記述“prescription.atc in (‘N06A3’,‘N06A4’,‘N06A9’)”は、変更情報テーブルを参照すると、変更タイプは変換テーブル型であり、必要な変更情報は変換テーブル情報、変換テーブル埋め込み式にそれぞれ特定される。   Next, the change information output unit 122 outputs change information for each type of configured burden factor (step S08). For example, a description “prescription.atc in ('N06A3', 'N06A4', 'N06A9')” including a dedicated code and an element set as a burden factor detected by the burden factor detection unit 11 from the search formula shown in FIG. Referring to the change information table, the change type is a conversion table type, and necessary change information is specified as conversion table information and conversion table embedded type, respectively.

図7は、変更情報生成部12により生成された変更情報の一例を示す説明図である。図7に示した変更情報は、元の検索式R01、変更タイプR02を含み、さらに変更タイプR02に対応する情報として変換テーブル情報R03、変換テーブル埋め込み式R04、アラート文R05、条件式テンプレートR06をそれぞれ含む。また、さらに元の検索式R01は、変換テーブル情報と対応する部分が明示されている(図7における下線部)。   FIG. 7 is an explanatory diagram illustrating an example of change information generated by the change information generation unit 12. The change information shown in FIG. 7 includes the original search expression R01 and change type R02, and further includes conversion table information R03, conversion table embedded expression R04, alert sentence R05, and conditional expression template R06 as information corresponding to the change type R02. Includes each. Further, in the original search expression R01, a part corresponding to the conversion table information is clearly indicated (underlined part in FIG. 7).

図7に示す例における変更タイプR02は、変換テーブル型、アラート型、条件式テンプレート型の3種類が含まれている。このように、1つの検索式から複数の変更タイプを検出してもよい。   The change type R02 in the example shown in FIG. 7 includes three types of conversion table type, alert type, and conditional expression template type. As described above, a plurality of change types may be detected from one search expression.

また、変換テーブル情報R03には、テーブル名(table.name)やフィールド名(field1.nameなど)と、それらの値が記載される。値のうちの一部は、既定値(labelsなど)が設定され、他の一部は検索式から検出された負担要因に含まれる値(atcやN06A3など)が変更情報生成部12によって設定される。   The conversion table information R03 describes a table name (table.name), a field name (field1.name, etc.), and their values. For some of the values, default values (labels, etc.) are set, and for some of the values, values (atc, N06A3, etc.) included in the burden factor detected from the search formula are set by the change information generation unit 12 The

また、変換テーブル埋め込み式R04は、検索式の一部をその記述内容で置き替えるためのものであり、その記述内容の一部に変換テーブル情報R03の要素を含む(atc,labels,name,_field1.value_が相当。ただし、_field1.value_はfield1.valueの値部分を指す変数)。   Also, the conversion table embedded expression R04 is for replacing a part of the search expression with the description content, and includes an element of the conversion table information R03 in a part of the description content (atc, labels, name, _field1 .value_, where _field1.value_ is a variable that points to the value part of field1.value).

また、アラート文R05は、変更情報生成部12が備えるアラートの種類毎のテンプレート(図示せず)を用いて生成される。例えば、図2および図7のR01に示した検索式中の“prescription.value >= 30”から、“prescription.value”と曖昧性のある値“30”を検出し、これらを前記テンプレートに挿入することにより、アラート文R05が生成される。   The alert sentence R05 is generated using a template (not shown) for each type of alert provided in the change information generation unit 12. For example, “prescription.value” and an ambiguous value “30” are detected from “prescription.value> = 30” in the search expression shown in R01 of FIGS. 2 and 7, and these are inserted into the template. As a result, an alert sentence R05 is generated.

図7に示す条件式テンプレートR06は、図2に示した検索式中の条件式(WHERE以下の記述)のうち、“OR prescription.atc = ‘N06A6’”および“AND prescription.value >= 30”以外の部分(個々のフィールド値を除く)が、他の多くの条件式にも含まれる頻出パターンとして抽出されたものである。また、図7に示す条件式テンプレートR06は、負担要因検出部11の条件式抽象化部1122が、図5のステップS05で個々のフィールド値をワイルドカード(“*”)や仮の共通値(“DATE型の値”など)に置き換え、頻出パターン抽出部1123がWHERE文中の出現頻度の高い記述の組合せのみを抽出した結果である。   The conditional expression template R06 shown in FIG. 7 includes “OR prescription.atc = 'N06A6'” and “AND prescription.value> = 30” among the conditional expressions (descriptions below “WHERE”) in the search expression shown in FIG. The portion other than (excluding individual field values) is extracted as a frequent pattern included in many other conditional expressions. In the conditional expression template R06 shown in FIG. 7, the conditional expression abstracting unit 1122 of the burden factor detecting unit 11 converts each field value into a wild card (“*”) or a temporary common value (step S05 in FIG. 5). This is a result of the frequent pattern extraction unit 1123 extracting only combinations of descriptions having a high appearance frequency in the WHERE sentence.

図8は、再利用性の高い検索式R08およびそれに用いられる変換テーブルR07の一例を示す説明図である。図8に示す検索式R08および変換テーブルR07は、変更情報生成部12によって生成し出力された上記変更情報を用いることで得られたものである。   FIG. 8 is an explanatory diagram showing an example of a highly reusable search expression R08 and a conversion table R07 used therefor. The search expression R08 and the conversion table R07 shown in FIG. 8 are obtained by using the change information generated and output by the change information generation unit 12.

変更情報生成部12が出力する変換テーブルR07は、変換テーブル情報R03に基づいて新たなテーブルをデータベースに定義した、または定義済みのテーブルにレコードを追加したものである。   The conversion table R07 output by the change information generation unit 12 is a table in which a new table is defined in the database based on the conversion table information R03, or a record is added to the defined table.

図8に示す変換テーブルR07は、図7に示した変更情報のうち変換テーブル情報R03を用いて生成されたものである。変換テーブルR07は、テーブル名を「labels」、第1のフィールド名を「name」、第2のフィールド名を「atc」と設定されている。また、変換テーブルR07は、第2のフィールドの値にそれぞれ「N06A3」、「N06A4」、「N06A5」、「N06A9」が設定され、さらに第1のフィールドの値が全て「抗うつ薬」と設定されている。   The conversion table R07 illustrated in FIG. 8 is generated using the conversion table information R03 among the change information illustrated in FIG. In the conversion table R07, the table name is set to “labels”, the first field name is set to “name”, and the second field name is set to “atc”. In the conversion table R07, “N06A3”, “N06A4”, “N06A5”, “N06A9” are set as the values of the second field, respectively, and all the values of the first field are set as “antidepressant”. Has been.

図8に示す検索式R08は、図2の検索式中の条件式が条件式テンプレートR06で置き換えられている。また、検索式R08は、条件式テンプレートR06の一部であるIN述語の値指定部分に変更テーブル埋め込み式R04を挿入されている。また、検索式R08は、変換テーブルR07に対応して、条件式中のIN述語の値指定部分に挿入した変換テーブル埋め込み式R04の「_field1.value_」部分がlabelsテーブルのnameフィールドの共通値「抗うつ薬」で置き換えられている。   In the search expression R08 shown in FIG. 8, the conditional expression in the search expression of FIG. 2 is replaced with a conditional expression template R06. In the search expression R08, the change table embedded expression R04 is inserted in the value specification portion of the IN predicate that is a part of the conditional expression template R06. The search expression R08 corresponds to the conversion table R07, the “_field1.value_” portion of the conversion table embedded expression R04 inserted in the value specification portion of the IN predicate in the conditional expression is the common value “name field of the labels table” It has been replaced by an antidepressant.

なお、検索式R01の条件式部分を条件式テンプレートR06で置き換えたことにより、アラート文R05は対象とする条件記述が無くなっているため不要となる。   Note that by replacing the conditional expression part of the search expression R01 with the conditional expression template R06, the alert statement R05 is unnecessary because there is no condition description to be processed.

以上のように、変更情報から変換テーブルR07や検索式R08を作成することで、ユーザは、「N06A3」といった分かり難い専用コードを理解する必要も、それらを複数列挙したものが何を表すのかを理解する必要もなく、替わりに「抗うつ薬」という分かり易い1つの総称で条件を理解できる。これにより、既存の検索式が所望の条件に基づく検索式であるかを容易に判断できる。また、「抗うつ薬」と同様に他の薬の総称(例えば「利尿薬」)も変換テーブルに定義されていれば、「抗うつ薬」という1つの値のみを他の薬の総称で置き換えることで、容易に類似した別の検索式を作成することもできる。   As described above, by creating the conversion table R07 and the search expression R08 from the change information, the user needs to understand a difficult-to-understand dedicated code such as “N06A3”, but what is expressed by listing them multiple There is no need to understand, and instead, the condition can be understood by one easy-to-understand generic term “antidepressant”. Thereby, it can be easily determined whether the existing search formula is a search formula based on a desired condition. In addition, if the generic name of another drug (for example, “diuretic drug”) is defined in the conversion table as well as “antidepressant drug”, only one value “antidepressant drug” is replaced with the generic name of the other drug. Thus, another similar search expression can be easily created.

本実施形態のデータベース問合せ文解析装置は、負担要因検出部11が、既存のデータベース問合せ文を解析してユーザが検索条件の値や構成を書き換えて再利用する際に困難を伴う部分や誤りを生じ易い部分(負担要因)を検出する。また、変更情報生成部12が、当該負担要因のタイプに応じて前記データベース問合せ文を適切に書き換えるために必要な情報を生成する。そのため、各種の人的な誤りを回避して正しく検索が行なえる、再利用に適したデータベース問合せ文を容易に、効率良く作成することができる。   In the database query statement analysis apparatus according to the present embodiment, the burden factor detection unit 11 analyzes an existing database query statement, and when a user rewrites a search condition value or configuration and reuses it, a part or an error accompanied by difficulty is detected. Detect a part (burden factor) that is likely to occur. In addition, the change information generation unit 12 generates information necessary for appropriately rewriting the database query statement in accordance with the burden factor type. Therefore, it is possible to easily and efficiently create a database query statement suitable for reuse, which can be searched correctly while avoiding various human errors.

また、負担要因検出部11に含まれる要素記述負担解析部111が、複数の値の集合が検索条件に含まれている場合にこれらの値を検出し、変更情報生成部12が、当該複数の値の集合を1つの総称(代表値)で指定できるように変換テーブル情報R03および変換テーブル埋め込み式R04を出力する。このため、検索条件の値の指定が容易になり、且つ複数の値を指定することによって記述の誤りが生じる可能性を低減することができる。   The element description burden analysis unit 111 included in the burden factor detection unit 11 detects these values when a set of a plurality of values is included in the search condition, and the change information generation unit 12 The conversion table information R03 and the conversion table embedding formula R04 are output so that a set of values can be designated by one generic name (representative value). For this reason, it is easy to specify the value of the search condition, and it is possible to reduce the possibility of description error by specifying a plurality of values.

また、負担要因検出部11に含まれる構造記述負担解析部112が、構造的な複雑度が高く且つ多くの検索式に現れる記述パターン(頻出パターン)を検出し、変更情報生成部12が前記頻出パターンを条件式テンプレートR06として出力する。このため、多くの場面で検索者が自ら複雑な条件式を記述する必要なく、条件式テンプレートを用いて正確な条件の指定を効率良く行うことができる。   Further, the structure description burden analysis unit 112 included in the burden factor detection unit 11 detects a description pattern (frequent pattern) having a high structural complexity and appearing in many search expressions, and the change information generation unit 12 performs the frequent occurrence. The pattern is output as a conditional expression template R06. For this reason, in many situations, it is not necessary for a searcher to write a complicated conditional expression by himself / herself, and an accurate condition can be efficiently specified using a conditional expression template.

実施形態2.
次に、変更情報を用いて再利用性の高いデータベース問合せ文を作成するデータベース問合せ文解析装置の例について、図面を参照して説明する。図9は、第2の実施形態(実施形態2)におけるデータベース問合せ文解析装置の構成を示すブロック図である。本実施形態のデータベース問合せ文解析装置は、負担要因検出部11、変更情報生成部12、問合せ文変更部13および補足情報入力部14を備える。なお、図9に示す負担要因検出部11及び変更情報生成部12は、図1に示した第1の実施形態のものと同じであるため、説明を省略する。
Embodiment 2. FIG.
Next, an example of a database query statement analysis apparatus that creates a highly reusable database query statement using change information will be described with reference to the drawings. FIG. 9 is a block diagram illustrating a configuration of the database query statement analysis apparatus according to the second embodiment (second embodiment). The database query statement analysis device of this embodiment includes a burden factor detection unit 11, a change information generation unit 12, a query statement change unit 13, and a supplementary information input unit 14. The burden factor detection unit 11 and the change information generation unit 12 illustrated in FIG. 9 are the same as those in the first embodiment illustrated in FIG.

問合せ文変更部13は、図7に示したような変更情報に基づき、既存の検索式を、負担要因を低減した再利用性の高い検索式に変更し、さらに変更後の検索式に必要な付随情報を生成する。図10は、本実施形態のデータベース問合せ文解析装置の問合せ文変更部13の構成を示す説明図である。問合せ文変更部13は、条件変換テーブル生成部131と、条件式テンプレート適用部132とを含む。   Based on the change information as shown in FIG. 7, the query statement changing unit 13 changes the existing search formula to a search formula with high reusability with reduced burden factors, and is further necessary for the post-change search formula. Generate accompanying information. FIG. 10 is an explanatory diagram illustrating the configuration of the query statement changing unit 13 of the database query statement analysis device according to the present embodiment. The query statement change unit 13 includes a condition conversion table generation unit 131 and a conditional expression template application unit 132.

条件変換テーブル生成部131は、変更情報のうちの変更タイプに変換テーブル型が含まれている場合、当該変更情報のうちの変換テーブル情報R03を用いて条件式の値の変換テーブルを生成する。変換テーブルの生成方法は、実施形態1の説明で述べた、図7に示す変換テーブル情報R03から図8に示す変換テーブルR07(labelsテーブル)を生成する方法と同様であり、これを機械的に自動で行なう。ただし、変換テーブルR07(labelsテーブル)のnameフィールドの値指定は、後述する補足情報入力部14により行われる。   When the conversion type is included in the change type in the change information, the condition conversion table generation unit 131 generates a conversion table for the value of the conditional expression using the conversion table information R03 in the change information. The method for generating the conversion table is the same as the method for generating the conversion table R07 (labels table) shown in FIG. 8 from the conversion table information R03 shown in FIG. 7 described in the description of the first embodiment. Do it automatically. However, the value specification of the name field of the conversion table R07 (labels table) is performed by the supplementary information input unit 14 described later.

条件式テンプレート適用部132は、変更情報のうちの条件式テンプレートおよび変換テーブル埋め込み式を元の検索式に適用することで、再利用性の高い検索式のベースとなる式を生成する。例えば、図7の条件式テンプレートR06に示されるWHERE文のIN述語の値指定部分に図7の変換テーブル埋め込み式R04を挿入し、そのWHERE文で検索式R01のWHERE文を置き換えた文を、再利用性の高い検索式のベースとなる式として出力する。   The conditional expression template application unit 132 applies the conditional expression template and the conversion table embedding expression in the change information to the original search expression, thereby generating an expression that is a base of the search expression with high reusability. For example, a statement in which the conversion table embedded expression R04 in FIG. 7 is inserted in the value specification part of the IN predicate of the WHERE statement shown in the conditional expression template R06 in FIG. 7 and the WHERE statement in the search expression R01 is replaced with the WHERE statement is as follows: Output as a base expression for highly reusable search expressions.

補足情報入力部14は、問合せ文変更部13で生成された変換テーブルや再利用性の高い検索式のベースとなる式に対して、ユーザがさらに必要な情報を記入するためのユーザインタフェースを含む。図11は、本実施形態の補足情報入力部の構成と表示されるユーザインタフェースの例を示した説明図である。補足情報入力部14は、検索式操作部1411、変換テーブル操作部1412、および検索対象説明入力部1413を含む補足情報入力ユーザインタフェース141と、補足情報の候補を保持する用語辞書142とを含む。   The supplementary information input unit 14 includes a user interface for the user to enter further necessary information with respect to the conversion table generated by the query statement change unit 13 and a formula that is a base of a highly reusable search formula. . FIG. 11 is an explanatory diagram illustrating an example of a configuration of a supplementary information input unit and a displayed user interface according to the present embodiment. The supplementary information input unit 14 includes a supplementary information input user interface 141 including a search expression operation unit 1411, a conversion table operation unit 1412, and a search target explanation input unit 1413, and a term dictionary 142 that holds supplementary information candidates.

検索式操作部1411は、前述した再利用性の高い検索式のベースとなる式を表示し、そのうち予め値を入力しておくべき部分を指摘する。図11では、検索式のうちIN述語の値指定部分に含まれるnameフィールドの値の部分をグレーの箱で示し、その箱に何らかの値を指定するように促している。   The search formula operation unit 1411 displays a formula that is a base of the above-described search formula with high reusability, and points out a portion in which a value should be input in advance. In FIG. 11, the value part of the name field included in the value specification part of the IN predicate in the search expression is indicated by a gray box, and the user is prompted to specify some value in the box.

変換テーブル操作部1412は、前述した変換テーブルのいずれかのフィールドに値を指定するための支援を行なう。図11に示す例では、変換テーブルのnameフィールドに予め用語辞書142を用いてatcフィールドの各値(“N06A3”など)に対応する日本語表記(“気分安定薬”など)が表示されている。ユーザは、変換テーブル操作部1412を介して、表示された各nameフィールドの値の、例えば共通の値を代表値(“抗うつ薬”など)に決定し、対応する全てのnameフィールドの値を代表値で置き換える。さらに、ユーザは、変換テーブル操作部1412を介して、検索式操作部1411が要求している検索式中のnameフィールドの値にも同じく前記代表値を検索条件として記入することで、図8に示したものと同じ変換テーブル(labelsテーブル)および再利用性の高い検索式が得られる。   The conversion table operation unit 1412 provides support for specifying a value in any field of the conversion table described above. In the example shown in FIG. 11, the Japanese notation (such as “mood stabilizer”) corresponding to each value (such as “N06A3”) in the atc field is displayed in advance in the name field of the conversion table using the term dictionary 142. . The user determines, for example, a common value of each displayed name field value as a representative value (such as “antidepressant”) via the conversion table operation unit 1412, and sets all the corresponding name field values. Replace with a representative value. Furthermore, the user also enters the representative value as a search condition in the value of the name field in the search expression requested by the search expression operation section 1411 via the conversion table operation section 1412, so that FIG. The same conversion table (labels table) as shown and a search expression with high reusability can be obtained.

図12は、検索式R08、変換テーブルR07および検索対象説明R09の一例を示す説明図である。図12に示すように、変換テーブルR07と検索式R08に検索対象説明R09が付与されてユーザに示される。変換テーブルR07および検索式R08は、検索式操作部1411および変換テーブル操作部1412の操作によりnameフィールドの値が代表値(“抗うつ薬”)で置き換えられている。ユーザは、検索対象説明入力部1413を介して、検索条件として検索対象説明R09の“年月日1”および“年月日2”を入力するだけで必要な情報を検索できる。このように、ユーザは必要とする再利用性の高い検索式を容易に見つけ、利用することができる。   FIG. 12 is an explanatory diagram illustrating an example of the search formula R08, the conversion table R07, and the search target description R09. As shown in FIG. 12, a search target explanation R09 is given to the conversion table R07 and the search expression R08, and is shown to the user. In the conversion table R07 and the search expression R08, the value of the name field is replaced with a representative value (“antidepressant”) by the operation of the search expression operation unit 1411 and the conversion table operation unit 1412. The user can search for necessary information simply by inputting “year / month / day 1” and “year / month / day 2” of the search target description R09 as a search condition via the search target description input unit 1413. In this way, the user can easily find and use a search expression that is highly reusable.

図13は、本実施形態におけるデータベース問合せ文解析装置を利用することにより作成可能なデータベース検索ユーザインタフェースの一例を示す説明図である。問合せ文変更部13が生成した再利用性の高い検索式と変換テーブルを用いて、図13に示すようなデータベース検索用のユーザインタフェースを容易に作成できる。図13に示すように、検索条件の値として“N06A3”、“N06A4”のような分かり難い専用コードの集合の替わりに“抗うつ薬”等の分かり易い言葉で指定できる。   FIG. 13 is an explanatory diagram illustrating an example of a database search user interface that can be created by using the database query statement analysis apparatus according to the present embodiment. A user interface for database search as shown in FIG. 13 can be easily created using a highly reusable search expression and conversion table generated by the query statement change unit 13. As shown in FIG. 13, the search condition value can be specified by an easy-to-understand word such as “antidepressant” instead of a set of difficult-to-understand dedicated codes such as “N06A3” and “N06A4”.

また、“抗うつ薬”以外についても同様の変換テーブルが得られていれば、“抗うつ薬”を他の値(図13では「処方した薬」の選択肢として表示している“抗肥満薬”など)に置き換えるだけで、検索式の変更などをユーザが行わなくても正しい検索を行うことが容易となる。このように、過去に蓄積された様々な検索式を再利用が容易な形で再定義し、頻出パターンを含んだ検索式を元に図13のようなデータベース検索用のGUI(グラフィカル・ユーザインタフェース)を作成することで、実際に利用頻度の高い検索を容易に行なえる手段を提供できる。   If a similar conversion table is obtained for other than “antidepressants”, “antidepressants” are displayed as alternatives for “antidepressants” in FIG. It is easy to perform a correct search without changing the search expression by the user. In this way, various search expressions accumulated in the past are redefined in a form that can be easily reused, and a database search GUI (graphical user interface) as shown in FIG. 13 based on a search expression including a frequent pattern is used. ) Can provide a means for easily performing a search that is actually frequently used.

本実施形態のデータベース問合せ文解析装置は、問合せ文変更部13が、変更情報生成部12が生成する情報を用いて既存のデータベース問合せ文を再利用容易な内容に変更し、必要に応じて特定の値の集合を代表値で指定するための変換テーブルを生成する。そして、補足情報入力部14が、変更したデータベース問合せ文に対してさらに補足情報の簡便な追加を可能にする。これにより、既存の正しいデータベース問合せ文から、再利用時の書き換えや値設定の際の誤りが生じ難いデータベース問合せ文のテンプレートを得ることができる。   In the database query statement analysis apparatus according to the present embodiment, the query statement change unit 13 uses the information generated by the change information generation unit 12 to change an existing database query statement to a content that can be easily reused, and specifies it as necessary. A conversion table for designating a set of values as representative values is generated. Then, the supplementary information input unit 14 can further easily add supplementary information to the changed database query sentence. This makes it possible to obtain a database query template that is unlikely to cause an error in rewriting or value setting at the time of reuse from an existing correct database query.

次に、第1の実施形態及び第2の実施形態におけるデータベース問合せ文解析装置のハードウェア構成の具体例について説明する。図14は、本発明の実施形態1及び実施形態2におけるデータベース問合せ文解析装置のハードウェア構成の例を示す説明図である。図14に示すデータベース問合せ文解析装置Aは、CPU(Central Processing Unit)A1、主記憶部A2、出力部A3、入力部A4及び補助記憶部A6を少なくとも含む。また、データベース問合せ文解析装置Aは、通信部A5を備えていてもよい。   Next, a specific example of the hardware configuration of the database query statement analysis apparatus in the first embodiment and the second embodiment will be described. FIG. 14 is an explanatory diagram illustrating an example of a hardware configuration of the database query statement analysis apparatus according to the first and second embodiments of the present invention. A database query statement analysis apparatus A shown in FIG. 14 includes at least a CPU (Central Processing Unit) A1, a main storage unit A2, an output unit A3, an input unit A4, and an auxiliary storage unit A6. In addition, the database query statement analysis apparatus A may include a communication unit A5.

主記憶部A2は、例えばRAM(Random Access Memory)等のメインメモリであって、データの作業領域やデータの一時退避領域として用いられる。出力部A3は、例えば液晶ディスプレイ装置等の表示装置、又はプリンタ等の印刷装置であり、データを出力する。入力部A4は、例えばキーボードやマウス等の入力デバイスであり、データを入力する。また、ファイル読み込みによってデータ入力を行なう場合には、入力部A4は、外部記録媒体読取装置等であってもよい。補助記憶部A6は、例えばROM(Read Only Memory)やハードディスク装置等である。また、図14に示すように、データベース問合せ文解析装置Aにおいて、以上の各構成要素A1〜A6は、システムバスA7を介して相互に接続されている。   The main storage unit A2 is a main memory such as a RAM (Random Access Memory), for example, and is used as a data work area or a temporary data save area. The output unit A3 is a display device such as a liquid crystal display device or a printing device such as a printer, and outputs data. The input unit A4 is an input device such as a keyboard or a mouse and inputs data. When data is input by reading a file, the input unit A4 may be an external recording medium reader. The auxiliary storage unit A6 is, for example, a ROM (Read Only Memory) or a hard disk device. Further, as shown in FIG. 14, in the database query statement analysis apparatus A, the above constituent elements A1 to A6 are connected to each other via a system bus A7.

また、補助記憶部A6は、図1又は図9に示した負担要因検出部11、変更情報生成部12、問合せ文変更部13及び補足情報入力部14をそれぞれ実現するプログラムを記憶している。さらに、補助記憶部A6は、負担要因検出部11が読み書きする条件式リポジトリ、変更情報生成部12が参照する変更情報テーブル123、変更情報生成部12が出力する変更情報、および補足情報入力部14が出力する検索式R08や変換テーブルR07を表すデータを記憶する。   In addition, the auxiliary storage unit A6 stores programs for realizing the burden factor detection unit 11, the change information generation unit 12, the query statement change unit 13, and the supplementary information input unit 14 illustrated in FIG. 1 or FIG. Further, the auxiliary storage unit A6 includes a conditional expression repository that is read and written by the burden factor detection unit 11, a change information table 123 that is referred to by the change information generation unit 12, a change information that is output by the change information generation unit 12, and a supplementary information input unit 14. Stores data representing the search expression R08 and conversion table R07 output by

入力部A4または通信部A5は、データベース問合せ文を取得する。また、実施形態2における補足情報入力部14は、出力部A3を通じてデータベース問合せ文解析装置Aの利用者に補足情報の入力を促す問いかけを行なう。   The input unit A4 or the communication unit A5 acquires a database query statement. Further, the supplementary information input unit 14 according to the second embodiment makes an inquiry for prompting the user of the database query statement analysis apparatus A to input supplemental information through the output unit A3.

なお、データベース問合せ文解析装置Aは、その内部に、図1又は図9に示したような機能を実現するプログラムを組み込んだLSI(Large Scale Integration)等のハードウェア部品からなる回路を実装することで、ハードウェアにより実現してもよい。また、図14に示したように、図1又は図9に示したような機能を提供するプログラムを、コンピュータのCPUA1に実行させることで、ソフトウェアにより実現してもよい。この場合、CPUA1は、補助記憶部A6に格納されているプログラムを、主記憶部A2にロードして実行し、データベース問合せ文解析装置Aの動作を制御することにより、上述した各機能をソフトウェアにより実現することができる。   It should be noted that the database query statement analysis apparatus A has a circuit composed of hardware components such as LSI (Large Scale Integration) in which a program for realizing the functions shown in FIG. 1 or FIG. 9 is incorporated. Thus, it may be realized by hardware. Further, as shown in FIG. 14, the program that provides the function as shown in FIG. 1 or FIG. 9 may be executed by software by causing the CPU A1 of the computer to execute the program. In this case, the CPU A1 loads the program stored in the auxiliary storage unit A6 into the main storage unit A2, executes it, and controls the operation of the database query statement analysis apparatus A, thereby enabling the above functions to be performed by software. Can be realized.

また、通信部A5は、周辺機器と接続され、データの送受信を行なう機能を有する。周辺機器の1つとして、図14に示す外部記憶装置Bが通信部A5によりネットワーク(情報通信ネットワーク)を介してデータベース問合せ文解析装置Aと接続され、外部記憶装置Bに格納されたデータベース問合せ文を負担要因検出部11が取得してもよい。さらに、前述した変更情報生成部12が出力する変更情報のデータや、補足情報入力部14が出力する検索式テンプレートや変換テーブルを表すデータを外部記憶装置Bに格納してもよい。   The communication unit A5 is connected to a peripheral device and has a function of transmitting / receiving data. As one of the peripheral devices, the external storage device B shown in FIG. 14 is connected to the database query statement analysis device A via the network (information communication network) by the communication unit A5 and stored in the external storage device B. May be acquired by the burden factor detection unit 11. Furthermore, the change information data output from the change information generation unit 12 described above, the search expression template output from the supplemental information input unit 14, and data representing a conversion table may be stored in the external storage device B.

図15は、本発明のデータベース問合せ文解析装置の主要部を示すブロック図である。図15に示すように、データベース問合せ文解析装置は、データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出部11と、前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成部12とを備えている。   FIG. 15 is a block diagram showing the main part of the database query statement analysis apparatus of the present invention. As shown in FIG. 15, the database query statement analysis apparatus inputs a database query statement, and at least one of a description in a predetermined form and a conditional expression whose complexity is equal to or higher than a predetermined level is input to the user. A burden factor detecting unit 11 that detects a burden factor that becomes a burden when the database query statement is reused, and a database query in which the burden factor is removed according to the type of the burden factor And a change information generation unit 12 that generates change information for changing to a sentence.

また、上記の実施形態では、以下の(1)〜(5)に示すようなデータベース問合せ文解析装置も開示されている。   Moreover, in said embodiment, the database query sentence analysis apparatus as shown to the following (1)-(5) is also disclosed.

(1)データベース問合せ文を入力し、予め定められた形態の記述(例えば、専用コード検出部1111、要素集合検出部1112、要注意記述検出部1113から検出された記述)と、複雑さが所定の水準以上となる条件式(例えば、複雑度評価部1121により複雑であると評価された条件式)とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出部(例えば、負担要因検出部11)と、前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成部(例えば、変更情報生成部12)とを備えたデータベース問合せ文解析装置。 (1) A database query statement is input, and a description in a predetermined form (for example, a description detected from a dedicated code detection unit 1111, an element set detection unit 1112, a caution description detection unit 1113) and a complexity are predetermined. A burden that is a burden when the user reuses the database query statement with at least one of the conditional expressions (for example, the conditional expression evaluated to be complicated by the complexity evaluation unit 1121) that is equal to or higher than A burden factor detection unit (for example, a burden factor detection unit 11) to detect as a factor, and a change for changing the database query statement to a database query statement from which the burden factor has been removed according to the type of the burden factor A database query statement analysis apparatus including a change information generation unit (for example, a change information generation unit 12) that generates information.

(2)データベース問合せ文解析装置は、負担要因検出部が、負担要因のうち、データベースに記録された情報の指定に関する部分を検出する要素記述負担解析部(例えば、要素記述負担解析部111)と、負担要因のうち、データベース問合せ文の構造に関する部分を検出する構造記述負担解析部(例えば、構造記述負担解析部112)とを含むように構成されていてもよい。 (2) The database query statement analysis apparatus includes an element description burden analysis unit (for example, an element description burden analysis unit 111) in which a burden factor detection unit detects a part related to designation of information recorded in the database among burden factors. The structure description load analysis unit (for example, the structure description load analysis unit 112) that detects a part related to the structure of the database query sentence among the burden factors may be included.

(3)データベース問合せ文解析装置は、要素記述負担解析部が、データベースに記録された同じフィールドの複数の値の集合(例えば、要素集合検出部1112により検出された値の集合)がデータベース問合せ文に検索条件として含まれている場合、当該複数の値の集合を負担要因として検出し、変更情報生成部は、検出された複数の値の集合を1つの代表値で指定できるようにするための、当該複数の値の集合と当該代表値との対応関係を表す変換テーブルの定義のために必要な情報(例えば、変換テーブル情報R03)を変更情報として出力するように構成されていてもよい。このようなデータベース問合せ文解析装置によれば、検索条件の値の指定が容易になり、且つ複数の値を指定することによって記述の誤りが生じる可能性を低減することができる。 (3) In the database query statement analysis apparatus, the element description burden analysis unit has a database query statement in which a set of a plurality of values of the same field recorded in the database (for example, a set of values detected by the element set detection unit 1112). Is included as a search condition, the set of the plurality of values is detected as a burden factor, and the change information generation unit can specify the set of the plurality of detected values as one representative value. The information (for example, conversion table information R03) necessary for defining the conversion table indicating the correspondence between the set of the plurality of values and the representative value may be output as the change information. According to such a database query statement analysis apparatus, it is easy to specify the value of the search condition, and it is possible to reduce the possibility of description error by specifying a plurality of values.

(4)データベース問合せ文解析装置は、構造記述負担解析部(例えば、構造記述負担解析部112)が、複数のデータベース問合せ文の中から、述語の種類と、フィールドの数と、値の数とのうちの少なくとも一つに基づいて定められた複雑さが所定の水準以上となる条件式の頻出パターンを負担要因として検出し、変更情報生成部は、頻出パターンを用いて条件式の定型テンプレート(例えば、条件式テンプレートR06)を変更情報として生成するように構成されていてもよい。このようなデータベース問合せ文解析装置によれば、多くの場面で検索者が自ら複雑な条件式を記述する必要なく、条件式テンプレートを用いて正確な条件の指定を効率良く行うことができる。 (4) In the database query statement analysis apparatus, the structure description burden analysis unit (for example, the structure description burden analysis unit 112) includes a type of predicate, the number of fields, and the number of values from a plurality of database query statements. A frequent pattern of a conditional expression whose complexity determined based on at least one of them is equal to or higher than a predetermined level is detected as a burden factor, and the change information generation unit uses the frequent pattern to determine a template for the conditional expression ( For example, the conditional expression template R06) may be generated as change information. According to such a database query sentence analysis apparatus, it is possible to efficiently specify an accurate condition using a conditional expression template without requiring a searcher to write a complicated conditional expression in many situations.

(5)データベース問合せ文解析装置は、変更情報生成部によって生成される変更情報を用いてデータベース問合せ文を変更する問合せ文変更部(例えば、問合せ文変更部13)と、変更されたデータベース問合せ文および変換テーブルに用いられる、少なくとも代表値を含む補足情報を入力する補足情報入力部(例えば、補足情報入力部14)とを備えるように構成されていてもよい。このようなデータベース問合せ文解析装置によれば、既存の正しいデータベース問合せ文から、再利用時の書き換えや値設定の際の誤りが生じ難いデータベース問合せ文のテンプレートを得ることができる。 (5) The database query statement analyzer includes a query statement change unit (for example, the query statement change unit 13) that changes the database query statement using the change information generated by the change information generation unit, and the changed database query statement And a supplementary information input unit (for example, supplementary information input unit 14) for inputting supplementary information including at least a representative value used in the conversion table. According to such a database query statement analysis apparatus, a database query statement template that is unlikely to cause an error in rewriting or value setting during reuse can be obtained from an existing correct database query statement.

本発明は、データベース問合せ文が再利用される検索システムに適用できる。   The present invention can be applied to a search system in which a database query statement is reused.

11 負担要因検出部
12 変更情報生成部
13 問合せ文変更部
14 補足情報入力部
111 要素記述負担解析部
112 構造記述負担解析部
131 条件変換テーブル生成部
132 条件式テンプレート適用部
1411 検索式操作部
1412 変換テーブル操作部
1413 検索対象説明入力部
A データベース問合せ文解析装置
A1 CPU
A2 主記憶部
A3 出力部
A4 入力部
A5 通信部
A6 補助記憶部
A7 システムバス
B 外部記憶装置
DESCRIPTION OF SYMBOLS 11 Burden factor detection part 12 Change information generation part 13 Query sentence change part 14 Supplementary information input part 111 Element description burden analysis part 112 Structure description burden analysis part 131 Condition conversion table generation part 132 Conditional expression template application part 1411 Search expression operation part 1412 Conversion table operation unit 1413 Search target explanation input unit A Database query sentence analysis device A1 CPU
A2 Main storage unit A3 Output unit A4 Input unit A5 Communication unit A6 Auxiliary storage unit A7 System bus B External storage device

Claims (8)

データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出部と、
前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成部とを備えた
ことを特徴とするデータベース問合せ文解析装置。
When a database query is entered, at least one of a description in a predetermined form and a conditional expression whose complexity exceeds a predetermined level becomes a burden when the user reuses the database query. A burden factor detector that detects the burden factor;
A database query comprising: a change information generation unit that generates change information for changing the database query statement to a database query statement from which the burden factor has been removed according to the type of the burden factor Sentence analysis device.
負担要因検出部は、
負担要因のうち、データベースに記録された情報の指定に関する部分を検出する要素記述負担解析部と、
前記負担要因のうち、データベース問合せ文の構造に関する部分を検出する構造記述負担解析部とを含む
請求項1記載のデータベース問合せ文解析装置。
The burden factor detector
Among the burden factors, an element description burden analysis unit that detects a part related to designation of information recorded in the database;
The database query statement analysis apparatus according to claim 1, further comprising: a structure description burden analysis unit that detects a portion related to a structure of the database query statement among the burden factors.
要素記述負担解析部は、
データベースに記録された同じフィールドの複数の値の集合がデータベース問合せ文に検索条件として含まれている場合、当該複数の値の集合を負担要因として検出し、
変更情報生成部は、検出された前記複数の値の集合を1つの代表値で指定できるようにするための、当該複数の値の集合と当該代表値との対応関係を表す変換テーブルの定義のために必要な情報を変更情報として出力する
請求項2記載のデータベース問合せ文解析装置。
The element description burden analysis unit
When a set of multiple values of the same field recorded in the database is included as a search condition in the database query statement, the set of multiple values is detected as a burden factor,
The change information generation unit defines a conversion table that represents a correspondence relationship between the set of the plurality of values and the representative value so that the detected set of the plurality of values can be designated by one representative value. The database query statement analysis device according to claim 2, wherein information necessary for the output is output as change information.
構造記述負担解析部は、複数のデータベース問合せ文の中から、述語の種類と、フィールドの数と、値の数とのうちの少なくとも一つに基づいて定められた複雑さが所定の水準以上となる条件式の頻出パターンを負担要因として検出し、
変更情報生成部は、前記頻出パターンを用いて条件式の定型テンプレートを変更情報として生成する
請求項2記載のデータベース問合せ文解析装置。
The structure description burden analysis unit has a complexity determined based on at least one of the type of predicate, the number of fields, and the number of values from a plurality of database query statements, and a predetermined level or more. Detect frequent patterns of conditional expressions as burden factors,
The database query statement analysis device according to claim 2, wherein the change information generation unit generates a fixed template of a conditional expression as change information using the frequent pattern.
構造記述負担解析部は、複数のデータベース問合せ文の中から所定の水準以上の複雑さがある条件式の頻出パターンを負担要因として検出し、
変更情報生成部は、前記頻出パターンを用いて条件式の定型テンプレートを変更情報として生成する
請求項3記載のデータベース問合せ文解析装置。
The structural description burden analysis unit detects a frequent pattern of conditional expressions having a complexity of a predetermined level or more as a burden factor from a plurality of database query statements.
The database query statement analysis device according to claim 3, wherein the change information generation unit generates a fixed template of a conditional expression as change information using the frequent pattern.
変更情報生成部によって生成される変更情報を用いてデータベース問合せ文を変更する問合せ文変更部と、
変更された前記データベース問合せ文および変換テーブルに用いられる、少なくとも代表値を含む補足情報を入力する補足情報入力部とを備えた
請求項3または請求項5記載のデータベース問合せ文解析装置。
A query statement change unit that changes the database query statement using the change information generated by the change information generation unit;
The database query statement analysis apparatus according to claim 3, further comprising a supplementary information input unit that inputs supplementary information including at least a representative value used in the database query statement and the conversion table that have been changed.
データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出し、
前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する
ことを特徴とするデータベース問合せ文解析方法。
When a database query is entered, at least one of a description in a predetermined form and a conditional expression whose complexity exceeds a predetermined level becomes a burden when the user reuses the database query. Detected as a burden factor,
A database query statement analysis method, comprising: generating change information for changing the database query statement to a database query statement from which the burden factor has been removed according to a type of the burden factor.
コンピュータに、
データベース問合せ文を入力し、予め定められた形態の記述と、複雑さが所定の水準以上となる条件式とのうちの少なくとも一方を、ユーザが当該データベース問合せ文を再利用する際に負担となる負担要因として検出する負担要因検出処理と、
前記負担要因の種類に応じて、前記データベース問合せ文を、前記負担要因が除去されたデータベース問合せ文に変更するための変更情報を生成する変更情報生成処理と
を実行させるためのデータベース問合せ文解析プログラム。
On the computer,
When a database query is entered, at least one of a description in a predetermined form and a conditional expression whose complexity exceeds a predetermined level becomes a burden when the user reuses the database query. Burden factor detection processing to detect as a burden factor;
A database query statement analysis program for executing change information generation processing for generating change information for changing the database query statement to a database query statement from which the burden factor has been removed according to the type of the burden factor .
JP2012085820A 2012-04-04 2012-04-04 Database query statement analysis apparatus, database query statement analysis method and program Active JP6044100B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012085820A JP6044100B2 (en) 2012-04-04 2012-04-04 Database query statement analysis apparatus, database query statement analysis method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012085820A JP6044100B2 (en) 2012-04-04 2012-04-04 Database query statement analysis apparatus, database query statement analysis method and program

Publications (2)

Publication Number Publication Date
JP2013218380A true JP2013218380A (en) 2013-10-24
JP6044100B2 JP6044100B2 (en) 2016-12-14

Family

ID=49590437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012085820A Active JP6044100B2 (en) 2012-04-04 2012-04-04 Database query statement analysis apparatus, database query statement analysis method and program

Country Status (1)

Country Link
JP (1) JP6044100B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001243242A (en) * 2000-02-25 2001-09-07 Hitachi Ltd Inquiry processing method, database management system to execute the same and recording medium storing processing program
US20110093490A1 (en) * 2009-10-21 2011-04-21 Microsoft Corporation Event Processing with XML Query Based on Reusable XML Query Template

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001243242A (en) * 2000-02-25 2001-09-07 Hitachi Ltd Inquiry processing method, database management system to execute the same and recording medium storing processing program
US20110093490A1 (en) * 2009-10-21 2011-04-21 Microsoft Corporation Event Processing with XML Query Based on Reusable XML Query Template

Also Published As

Publication number Publication date
JP6044100B2 (en) 2016-12-14

Similar Documents

Publication Publication Date Title
Wu et al. Fonduer: Knowledge base construction from richly formatted data
US20190121818A1 (en) Syntactic tagging in a domain-specific context
Ben Abdessalem Karaa et al. Automatic builder of class diagram (ABCD): an application of UML generation from functional requirements
CN114616572A (en) Cross-document intelligent writing and processing assistant
US9224103B1 (en) Automatic annotation for training and evaluation of semantic analysis engines
WO2021073195A1 (en) Computer-implemented method and device for generating spreadsheet formula, and storage medium
CN106776515A (en) The method and device of data processing
JP2017041171A (en) Test scenario generation support device and test scenario generation support method
Mazón et al. Open business intelligence: on the importance of data quality awareness in user-friendly data mining
US6915313B2 (en) Deploying predefined data warehouse process models
Soto et al. Similarity-based support for text reuse in technical writing
Borovits et al. FindICI: Using machine learning to detect linguistic inconsistencies between code and natural language descriptions in infrastructure-as-code
Talburt et al. A practical guide to entity resolution with OYSTER
JP6044100B2 (en) Database query statement analysis apparatus, database query statement analysis method and program
Wojszczyk et al. The process of verifying the implementation of design patterns—used data models
Alhindawi et al. A Topic Modeling Based Solution for Confirming Software Documentation Quality
Arasu et al. Towards a domain independent platform for data cleaning
CN116917882A (en) System and method for accessing data entities managed by a data processing system
JP6870454B2 (en) Analytical equipment, analytical programs and analytical methods
Prathyusha et al. Normalization Methods for Multiple Sources of Data
Zhong et al. TOMN: constituent-based tagging scheme
CN112699642A (en) Index extraction method and device for complex medical texts, medium and electronic equipment
Ezami Extracting non-functional requirements from unstructured text
Uddin et al. Information and relation extraction for semantic annotation of ebook texts
JP5020274B2 (en) Semantic drift occurrence evaluation method and apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160426

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160608

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161031

R150 Certificate of patent or registration of utility model

Ref document number: 6044100

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150