JP2010113651A - Command association support system, command ssociation support method, and program - Google Patents

Command association support system, command ssociation support method, and program Download PDF

Info

Publication number
JP2010113651A
JP2010113651A JP2008287685A JP2008287685A JP2010113651A JP 2010113651 A JP2010113651 A JP 2010113651A JP 2008287685 A JP2008287685 A JP 2008287685A JP 2008287685 A JP2008287685 A JP 2008287685A JP 2010113651 A JP2010113651 A JP 2010113651A
Authority
JP
Japan
Prior art keywords
command
parameter
group
similarity
name
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008287685A
Other languages
Japanese (ja)
Inventor
Kentaro Sonoda
健太郎 園田
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 JP2008287685A priority Critical patent/JP2010113651A/en
Publication of JP2010113651A publication Critical patent/JP2010113651A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a command association support system for easily supporting each command association between two groups of commands in a short time. <P>SOLUTION: When a command manual including command names of respective commands in the first group of commands and information about a parameter is inputted, an information extracting means 71 specifies a range of information every command inside a command manual, and extracts command related information to be information about the command names and parameter related information to be information about the parameter, for each command. A command similarity calculating means 73 calculates similarity between the command related information of commands in the first group of commands and command related information in the second group of commands. A parameter similarity calculating means 74 calculates the similarity of the parameter related information. A command associating means 75 calculates general similarity and uses the general similarity to associate commands in the first group of commands with commands in the second group of commands. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、コマンド対応付け支援システム、コマンド対応付け支援方法、およびコマンド対応付け支援プログラムに関し、特に、2つのコマンド群間の各コマンドの対応付けを行えるように支援するコマンド対応付け支援システム、コマンド対応付け支援方法、およびコマンド対応付け支援プログラムに関する。   The present invention relates to a command association support system, a command association support method, and a command association support program, and in particular, a command association support system and a command that support the association of commands between two command groups. The present invention relates to an association support method and a command association support program.

ITシステムの構築や運用管理において、様々なコマンド群やプログラムが利用されている。例えば、ネットワークシステムの構築においては、ネットワーク機器の諸設定を登録するための機器設定コマンド群を利用し、また、Webアプリケーション等の開発においては、開発環境に応じたプログラミング言語の関数やシェルコマンド群を利用している。このような環境においては、例えば、利用機種やOS(Operating System)のバージョンが変わることで、各種コマンド群も変わることが多く、各種コマンド群に関する知識の浅いシステム開発者やネットワーク構築者は、効率良く業務を遂行するために各種コマンド群を熟知することが求められる。しかし、全ての機種やシステムのコマンド群を覚えることは困難である。そのため、コマンドの共通化等に関連する技術が種々提案されている。   Various command groups and programs are used in the construction and operation management of IT systems. For example, in the construction of a network system, a device setting command group for registering various settings of a network device is used. In the development of a Web application or the like, a programming language function or a shell command group corresponding to the development environment is used. Is used. In such an environment, for example, various command groups often change due to changes in the model of use and OS (Operating System) version, and system developers and network builders who have little knowledge about various command groups need to be efficient. In order to perform business well, it is required to be familiar with various command groups. However, it is difficult to remember the command group of all models and systems. For this reason, various techniques related to command sharing have been proposed.

特許文献1には、ISDN(Integrated Services Digital Network )交換機の運用において、運用コマンドが異なる複数の電子交換機を、種々の電子交換機に対応する共通コマンドで集中保守できるようした運用コマンド統合システムが記載されている。特許文献1に記載されたシステムでは、管理対象の各電子交換機の運用コマンドと共通コマンドとの関係を記憶するメモリを備え、そのメモリを参照して、入力された共通コマンドを、宛先の電子交換機のコマンドに変換する。管理者は、共通コマンドの機能のみを理解しておくだけで、例えば、メーカや機種が異なる種々の電子交換機を運用できる。   Patent Document 1 describes an operation command integration system that enables centralized maintenance of a plurality of electronic exchanges having different operation commands using common commands corresponding to various electronic exchanges in the operation of an ISDN (Integrated Services Digital Network) exchange. ing. The system described in Patent Document 1 includes a memory that stores the relationship between the operation commands and common commands of each electronic switching device to be managed, and refers to the memory so that the input common command can be used as a destination electronic switching device. Is converted to For example, the administrator can operate various electronic exchanges with different manufacturers and models only by understanding only the function of the common command.

特許文献2には、企業間の電子商取引等において、企業によってスキーマが異なる電子伝票等の構造化文書を時間やコストを抑えて流通させるために、構造化文書間のスキーマを変換する変換ルールを作成する装置が記載されている。特許文献2に記載された装置は、例えば、企業Aのスキーマに従った構造化文書を企業Bのスキーマに従った構造化文書に変換するためのルールを作成する場合、企業A,Bの構造化文書のスキーマを取得し、各スキーマで使用されているタグ名を抽出し、タグ名が一致している場合には、一致するタグ名の対応関係を変換ルールに追加する。また、一致していない場合、タグ名の同義語辞書を検索し、タグ名が同義語であるならば、そのタグ名の対応関係を変換ルールに追加する。また、特許文献2に記載の装置では、ユーザが対応ルールを確認し、修正する。   Patent Document 2 discloses a conversion rule for converting schemas between structured documents in order to distribute structured documents such as electronic slips having different schemas depending on companies in time and cost in electronic commerce between companies. The device to be created is described. The apparatus described in Patent Document 2 creates, for example, the structure of companies A and B when creating a rule for converting a structured document according to the schema of company A into a structured document according to the schema of company B. The schema of the document is acquired, the tag name used in each schema is extracted, and if the tag names match, the correspondence relationship of the matching tag names is added to the conversion rule. If they do not match, the synonym dictionary of the tag name is searched. If the tag name is a synonym, the correspondence relationship of the tag name is added to the conversion rule. In the device described in Patent Document 2, the user confirms and corrects the correspondence rule.

また、非特許文献1には、機種によって機能やコマンド名が異なる計算機を含むネットワーク環境において、ユーザが異機種の計算機の類似コマンドを検索可能とする検索方法が記載されている。非特許文献1に記載された検索方法では、コマンド名とそのコマンドのオンラインマニュアル上の概要文を使って、異機種間のコマンドの類似度を算出する。この類似度の算出方法では、前処理として、概要文の表記のゆれを統一し、正規化する。そして、コマンド、およびそのコマンドの概要文との間で共通に出現する単語の出現率を利用して類似度を計算する。   Non-Patent Document 1 describes a search method that allows a user to search for similar commands of computers of different models in a network environment including computers having different functions and command names depending on the models. In the search method described in Non-Patent Document 1, the degree of similarity of commands between different models is calculated using the command name and the summary text on the online manual of the command. In this similarity calculation method, as a pre-process, fluctuations in the notation of the summary sentence are unified and normalized. Then, the degree of similarity is calculated using the appearance rate of words that appear in common between the command and the summary sentence of the command.

また、特許文献3には、入力された文書の書式情報と、文書データベースに記憶される文書の書式情報との類似性を評価し、書式が類似する文書を検索する文書検索装置が記載されている。   Patent Document 3 describes a document search device that evaluates the similarity between the format information of an input document and the format information of a document stored in a document database, and searches for documents with similar formats. Yes.

特開平5−153239号公報(段落0015−0020、図2、図6)JP-A-5-153239 (paragraphs 0015-0020, FIG. 2, FIG. 6) 特開2003−58523号公報(段落0034−0046、図1、図10)JP 2003-58523 A (paragraphs 0034-0046, FIGS. 1 and 10) 特開2007−279978号公報(段落0015−0017)JP 2007-279978 A (paragraphs 0015-0017) 安達久博、下山豪彦、「オンラインマニュアル概要文を利用した異機種間の類似コマンド検索方法」、情報処理学会研究報告、VOL.95、NO.27(NL−106)、社団法人情報処理学会、PAGE,25−30、1995年Hisahiro Adachi, Takehiko Shimoyama, “Method for searching similar commands between different models using online manual summary text”, IPSJ Research Report, VOL. 95, NO. 27 (NL-106), Information Processing Society of Japan, PAGE, 25-30, 1995

特許文献1に記載されたシステムでは、各電子交換機の運用コマンドと共通コマンドとの関係を人手で定めておき、メモリに予め記憶させておかなければならない。機器の台数が多くなると、このような作業に多くの時間を費やさなければならない。   In the system described in Patent Document 1, the relationship between the operation command and common command of each electronic exchange must be determined manually and stored in advance in a memory. As the number of devices increases, more time must be spent on such work.

特許文献2に記載の装置では、一致するタグ名の対応関係や、同義語であるタグ名の対応付けは自動的に行われる。しかし、タグ名が一致していないタグ同士や、同義語ではないタグ同士の対応付けは人手で行わなければならず、タグ名が一致していないタグや、互いに同義語でないタグが多い場合には、そのタグ群のタグ同士の対応付けに時間がかかってしまう。また、スキーマによっては、タグ名が同一であってもタグの持つ意味が異なることが考えられ、結果として、自動的に対応付けられたタグの確認を人手で行う必要も生じる。   In the apparatus described in Patent Document 2, the correspondence between matching tag names and the association of tag names that are synonyms are automatically performed. However, tags that do not match tag names or tags that are not synonyms must be manually matched, and there are many tags that do not match tag names or tags that are not synonymous with each other. Takes a long time to associate tags of the tag group. Also, depending on the schema, even if the tag name is the same, the meaning of the tag may be different, and as a result, it is necessary to manually check the tag associated with the tag name.

また、非特許文献1に記載された方法は、10単語程度で構成される短いオンラインマニュアルの概要文を使った類似度計算であるため、機種によっては、類似度が同程度のコマンドが多く出力されてしまい、ユーザはその中から適切なコマンドを目視によって選択しなければならなくなる。そのため、コマンドの対応付けを高速に行いたいというユーザの要求には応えられない場合がある。   In addition, since the method described in Non-Patent Document 1 is a similarity calculation using a summary text of a short online manual composed of about 10 words, many commands with the same similarity are output depending on the model. Thus, the user has to visually select an appropriate command. For this reason, it may not be possible to respond to a user's request to associate commands at high speed.

また、特許文献3に記載された装置は、一文書が入力されると、その文書の書式情報に類似する文書を検索する。従って、検索時には、一種類の書式情報に類似する文書を検索する。しかし、コンピュータやOS等の場合、一種類のコンピュータやOSに着目したとしても、そのコンピュータやOSに利用されるコマンドは多数存在する。そのため、種類の異なるコンピュータ同士やOS同士の間での対応付けは、コマンドの集合と、コマンドの集合との間で、対応するコマンドを抽出していく必要がある。   In addition, when a document is input, the apparatus described in Patent Document 3 searches for a document similar to the format information of the document. Accordingly, when searching, a document similar to one type of format information is searched. However, in the case of a computer, OS, etc., even if attention is paid to one type of computer or OS, there are many commands used for that computer or OS. Therefore, associating between different types of computers and OSs, it is necessary to extract corresponding commands between a set of commands and a set of commands.

そこで、本発明は、2つのコマンド群間における各コマンドの対応付けを容易に短時間で行えるように支援するコマンド対応付け支援システム、コマンド対応付け支援方法、およびコマンド対応付け支援プログラムを提供することを目的とする。   Therefore, the present invention provides a command association support system, a command association support method, and a command association support program that support the association of commands between two command groups so that they can be performed easily in a short time. With the goal.

本発明によるコマンド対応付け支援システムは、第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出手段と、第2のコマンド群の各コマンドのコマンド関連情報およびパラメータ関連情報を記憶するコマンド情報記憶手段と、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算手段と、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算手段と、コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付け手段とを備えることを特徴とする。   The command association support system according to the present invention specifies a range of information for each command in the command manual when a command manual including information on the command name and parameters of each command of the first command group is input, For each command, information extraction means for extracting command related information that is information related to a command name and parameter related information that is information related to a parameter, and command related information and parameter related information of each command of the second command group are stored. Command information storage means, command similarity calculation means for calculating the degree of similarity between command related information of commands in the first command group and command related information of commands in the second command group, Command parameter related information and command parameters of the second command group The parameter similarity calculation means that calculates the similarity to the data related information, the command similarity related information and the parameter related information similarity to calculate the total similarity representing the command similarity, and use the total similarity And a command associating means for associating the commands of the first command group with the commands of the second command group.

また、本発明によるコマンド対応付け支援方法は、第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出ステップと、予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのコマンド関連情報を用いて、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算ステップと、予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのパラメータ関連情報を用いて、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算ステップと、コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付けステップとを含むことを特徴とする。   The command association support method according to the present invention specifies a range of information for each command in the command manual when a command manual including information on the command name and parameters of each command in the first command group is input. For each command, an information extraction step for extracting command related information that is information related to the command name and parameter related information that is information related to the parameter, and each of the second command group stored in advance in the command information storage means A command similarity calculation step for calculating the similarity between the command related information of the command of the first command group and the command related information of the command of the second command group using the command related information of the command; Parameter related information of each command of the second command group stored in the means A parameter similarity calculating step for calculating the similarity between the parameter related information of the command of the first command group and the parameter related information of the command of the second command group, and the similarity of the command related information and the parameter related information A command associating step of calculating a total similarity indicating the similarity of the commands from the similarities and associating the commands of the first command group and the commands of the second command group using the total similarity It is characterized by that.

また、本発明によるコマンド対応付け支援プログラムは、コンピュータに、第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出処理、予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのコマンド関連情報を用いて、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算処理、予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのパラメータ関連情報を用いて、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算処理、および、コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付け処理を実行させることを特徴とする。   In addition, the command association support program according to the present invention, when a command manual including information on the command name and parameters of each command of the first command group is input to the computer, the range of information for each command in the command manual For each command, information extraction processing for extracting command related information that is information related to the command name and parameter related information that is information related to the parameter, a second command group stored in advance in the command information storage means Command similarity calculation processing for calculating the similarity between the command related information of the commands of the first command group and the command related information of the commands of the second command group using the command related information of each command Parameters of each command of the second command group stored in the storage means Parameter similarity calculation processing for calculating the similarity between the parameter related information of the command of the first command group and the parameter related information of the command of the second command group using the related information, and the similarity of the command related information And a command association for calculating a total similarity indicating the similarity of the command from the similarity of the parameter related information and associating the command of the first command group with the command of the second command group using the total similarity Processing is executed.

本発明によれば、2つのコマンド群間における各コマンドの対応付けを容易に短時間で行うことができる。   According to the present invention, it is possible to easily associate each command between two command groups in a short time.

以下、本発明の実施形態を図面を参照して説明する。なお、以下の説明では、ネットワーク機器の機器設定コマンドの対応付けを支援する場合を例にして説明するが、本発明はネットワーク機器の機器設定コマンドの対応付けに限定されず、他の種類のコマンドの対応付け支援にも適用可能である。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the case of supporting the association of device setting commands for network devices will be described as an example. However, the present invention is not limited to the association of device setting commands for network devices, but other types of commands. It is also applicable to the association support.

実施形態1.
図1は、本発明の第1の実施形態の構成例を示すブロック図である。本実施形態のコマンド対応付け支援システム100は、要素抽出手段110と、コマンド情報記憶装置120と、コマンド類似度計算手段130と、パラメータ類似度計算手段140と、コマンド選択手段150と、変換ルール作成手段160と、変換ルール記憶装置170とを備える。コマンド対応付け支援システム100には入力装置210が設けられるが、コマンド対応付け支援システム100自身が、入力装置210を備えてもよい。本実施形態のコマンド対応付け支援システム100は、変換元コマンド群のコマンドと変換先コマンド群のコマンドとを対応付け、変換元のコマンドから変換先のコマンドへの変換ルールを作成する。
Embodiment 1. FIG.
FIG. 1 is a block diagram showing a configuration example of the first embodiment of the present invention. The command association support system 100 of this embodiment includes an element extraction unit 110, a command information storage device 120, a command similarity calculation unit 130, a parameter similarity calculation unit 140, a command selection unit 150, and a conversion rule creation. Means 160 and a conversion rule storage device 170 are provided. Although the command association support system 100 is provided with the input device 210, the command association support system 100 itself may include the input device 210. The command association support system 100 according to the present embodiment associates a command of the conversion source command group with a command of the conversion destination command group, and creates a conversion rule from the conversion source command to the conversion destination command.

入力装置210は、ネットワーク機器の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルをコマンド対応付け支援システム100に入力するためのインタフェースである。このネットワーク機器のコマンド群は、変換元コマンド群に該当する。   The input device 210 is an interface for inputting a command manual including information on command names and parameters of each command of the network device to the command association support system 100. This network device command group corresponds to a conversion source command group.

要素抽出手段110は、入力装置210からコマンドマニュアルが入力されると、コマンドマニュアル内のコマンド毎の情報の範囲を特定する。コマンドマニュアルは、一つのネットワーク機器の個々のコマンドを一定の記述形式で記述している。従って、要素抽出手段110は、所定の記述条件に合致する部分を、一つ分のコマンドの情報の記述範囲として判定して、コマンド毎の情報の範囲を特定すればよい。例えば、要素抽出手段110は、一つのコマンドに関する情報の記述開始を表す箇所から、次のコマンドに関する情報の記述開始を表す箇所までを、一つ分のコマンドの情報の記述範囲と判定する。ただし、コマンドマニュアルの記述形式は機器によって異なるので、要素抽出手段110は、一つ分のコマンドの記述を特定するための記述条件を複数記憶しておき、いずれかの記述条件で一つ分のコマンドの情報の記述範囲を判定できたならば、その記述条件に合致する記述範囲をそれぞれ特定していけばよい。   When a command manual is input from the input device 210, the element extraction unit 110 specifies a range of information for each command in the command manual. The command manual describes individual commands of one network device in a fixed description format. Therefore, the element extraction unit 110 may determine a portion that matches a predetermined description condition as a description range of information for one command, and specify a range of information for each command. For example, the element extraction unit 110 determines that the description range of information for one command is from a location indicating the start of description of information about one command to a location indicating the start of description of information about the next command. However, since the description format of the command manual differs depending on the device, the element extraction unit 110 stores a plurality of description conditions for specifying the description of one command, and one of the description conditions corresponds to one description condition. If the description range of the command information can be determined, the description range that matches the description condition may be specified.

そして、要素抽出手段110は、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とをコマンドマニュアルから抽出する。コマンド関連情報は、例えば、コマンド名およびコマンドの説明文字列である。コマンドの説明文字列とは、コマンドの説明を表す文字列である。また、パラメータ関連情報の例として、パラメータ名およびパラメータの説明文字列、必須パラメータ数を特定可能な情報(例えば、必須パラメータのリスト)が挙げられる。パラメータの説明文字列とは、パラメータの説明を表す文字列である。また、パラメータ名は、個々のパラメータ毎に定められているので、各パラメータ名を抽出することにより、全パラメータ数を判断できる。以下、本実施形態では、要素抽出手段110が、コマンド関連情報として、コマンド名およびコマンドの説明文字列を抽出し、パラメータ関連情報として、パラメータ名およびパラメータの説明文字列と、必須パラメータ数を特定可能な情報とを抽出する場合を例にして説明する。   Then, for each command, the element extraction unit 110 extracts command related information that is information related to the command name and parameter related information that is information related to the parameter from the command manual. The command related information is, for example, a command name and an explanatory character string of the command. The command description character string is a character string representing a command description. Examples of the parameter related information include a parameter name, a parameter description character string, and information that can specify the number of required parameters (for example, a list of required parameters). The parameter description character string is a character string representing a parameter description. Since the parameter names are determined for each individual parameter, the total number of parameters can be determined by extracting each parameter name. Hereinafter, in the present embodiment, the element extraction unit 110 extracts the command name and the command description character string as the command related information, and specifies the parameter name and the parameter description character string and the number of required parameters as the parameter related information. An example of extracting possible information will be described.

なお、全パラメータ数とは、1つのコマンドに付随する全てのパラメータの数であり、1つのコマンドに対して指定し得る全てのパラメータの数であるということもできる。必須パラメータは、1つのコマンドに対して必ず指定しなければならないパラメータであり、必須パラメータ数は必須パラメータの数である。なお、全パラメータ数と必須パラメータ数の差は、1つのコマンドに対して指定してもしなくてもよいパラメータ(オプションパラメータ)の数である。なお、コマンドマニュアルにおいて、個々のコマンドのパラメータは、必須パラメータであるか否かを判定できるように記述される。   Note that the total number of parameters is the number of all parameters associated with one command, and can also be the number of all parameters that can be specified for one command. The essential parameters are parameters that must be specified for one command, and the number of essential parameters is the number of essential parameters. Note that the difference between the total number of parameters and the number of essential parameters is the number of parameters (optional parameters) that may or may not be specified for one command. In the command manual, each command parameter is described so that it can be determined whether or not it is an essential parameter.

コマンド情報記憶装置120は、変換先コマンド群の各コマンドのコマンド名およびパラメータに関する情報を記憶する。より具体的には、変換先コマンド群のコマンド毎に、コマンド関連情報(コマンド名およびコマンドの説明文字列)と、コマンドのパラメータ名、パラメータの説明文字列を記憶する。また、コマンド情報記憶装置120は、各コマンド毎に、必須パラメータ数を特定可能な情報も記憶する。   The command information storage device 120 stores information on the command name and parameters of each command in the conversion destination command group. More specifically, command-related information (command name and command description character string), command parameter name, and parameter description character string are stored for each command in the conversion destination command group. The command information storage device 120 also stores information that can specify the number of essential parameters for each command.

なお、本実施形態では、必須パラメータ数を特定可能な情報が、必須パラメータのリストである場合を例にして説明するが、必須パラメータ数を特定可能な情報として、必須パラメータ数そのものを用いてもよい。   In this embodiment, the case where the information that can specify the number of essential parameters is a list of essential parameters will be described as an example. However, as the information that can specify the number of essential parameters, the number of essential parameters may be used. Good.

コマンド類似度計算手段130は、コマンド情報記憶装置120から、コマンド毎に、コマンド関連情報(コマンド名およびコマンドの説明文字列)を読み込む。そして、コマンド関連情報の類似度を計算する。すなわち、要素抽出手段110に抽出された変換元コマンド群のコマンドのコマンド関連情報と、コマンド情報記憶装置120から読み込んだ変換先コマンド群のコマンドのコマンド関連情報との類似度を計算する。   The command similarity calculation means 130 reads command related information (command name and command description character string) from the command information storage device 120 for each command. Then, the similarity of the command related information is calculated. That is, the similarity between the command related information of the command of the conversion source command group extracted by the element extraction unit 110 and the command related information of the command of the conversion destination command group read from the command information storage device 120 is calculated.

パラメータ類似度計算手段140は、コマンド情報記憶装置120から、コマンド毎に、パラメータ関連情報(パラメータ名およびパラメータの説明文字列、必須パラメータ数を特定可能な情報)を読み込む。そして、変換元コマンド群のコマンドのパラメータ関連情報と、変換先コマンド群のコマンドのパラメータ関連情報との類似度を計算する。具体的には、パラメータ関連情報との類似度として、パラメータ名およびパラメータの説明文字列の類似度と、全パラメータ数の一致度と、必須パラメータ数の一致度とを計算する。変換元コマンド群のコマンドについても、変換先コマンド群のコマンドについても、全パラメータ数は、コマンド毎に抽出したパラメータ名の個数から判断し、その全パラメータ数から一致度を計算すればよい。また、必須パラメータ数は、コマンド毎に抽出した、必須パラメータ数を特定可能な情報から判断し、その必須パラメータ数から一致度を計算すればよい。   The parameter similarity calculation unit 140 reads parameter-related information (parameter name, parameter description character string, information that can specify the number of essential parameters) from the command information storage device 120 for each command. Then, the similarity between the parameter related information of the command of the conversion source command group and the parameter related information of the command of the conversion destination command group is calculated. Specifically, the similarity between the parameter name and the parameter description character string, the coincidence of all the parameters, and the coincidence of the essential parameters are calculated as the similarity with the parameter related information. For the commands in the conversion source command group and the commands in the conversion destination command group, the total number of parameters may be determined from the number of parameter names extracted for each command, and the degree of coincidence may be calculated from the total number of parameters. In addition, the number of essential parameters may be determined based on information extracted for each command that can identify the number of essential parameters, and the degree of coincidence may be calculated from the number of essential parameters.

コマンド選択手段150は、コマンド類似度計算手段130が計算したコマンド関連情報の類似度と、パラメータ類似度計算手段140が計算したパラメータ関連情報の類似度とから、コマンドの類似度を表す総合類似度を計算する。そして、コマンド選択手段150は、総合類似度の順位の順番にコマンドをユーザに提示する。例えば、コマンド対応付け支援システム100がディスプレイ装置(図示せず。)を備え、コマンド選択手段150は、そのディスプレイ装置に総合類似度の順番にコマンドを表示させる。また、コマンド対応付け支援システム100は、例えば、キーボードやマウス等のユーザに操作されるユーザ操作部(図示せず)を備え、ユーザ操作部の操作によって、コマンドが指定された場合、コマンド選択手段150は、指定されたコマンドに対するコマンドの対応付けを行う。   The command selection unit 150 includes a total similarity indicating a command similarity based on the similarity of the command related information calculated by the command similarity calculation unit 130 and the similarity of the parameter related information calculated by the parameter similarity calculation unit 140. Calculate Then, the command selection unit 150 presents the commands to the user in the order of the overall similarity ranking. For example, the command association support system 100 includes a display device (not shown), and the command selection unit 150 causes the display device to display commands in the order of overall similarity. In addition, the command association support system 100 includes a user operation unit (not shown) operated by a user such as a keyboard and a mouse, for example. When a command is designated by an operation of the user operation unit, a command selection unit 150 associates a command with a specified command.

変換ルール作成手段160は、コマンド選択手段150が対応付けを行ったコマンドの組み合わせ毎に、変換元コマンド群のコマンドを変換先コマンド群のコマンドに変換する変換ルールを作成する。   The conversion rule creating unit 160 creates a conversion rule for converting a command in the conversion source command group into a command in the conversion destination command group for each command combination associated by the command selection unit 150.

変換ルール記憶装置170は、変換ルール作成手段160によって作成された変換ルールを記憶する。   The conversion rule storage device 170 stores the conversion rule created by the conversion rule creation means 160.

要素抽出手段110、コマンド類似度計算手段130、パラメータ類似度計算手段140、コマンド選択手段150、および変換ルール作成手段160は、例えば、プログラム(コマンド対応付け支援プログラム)によって動作するCPUによって実現される。要素抽出手段110と、コマンド類似度計算手段130と、パラメータ類似度計算手段140と、コマンド選択手段150と、変換ルール作成手段160とが同一のCPUによって実現されてもよい。この場合、プログラムは、例えば、コマンド対応付け支援システム100が備えるプログラム記憶装置(図示せず。)に記憶される。CPUは、そのプログラムを読み込み、そのプログラムに従って、要素抽出手段110、コマンド類似度計算手段130、パラメータ類似度計算手段140、コマンド選択手段150、および変換ルール作成手段160として動作すればよい。   The element extraction unit 110, the command similarity calculation unit 130, the parameter similarity calculation unit 140, the command selection unit 150, and the conversion rule creation unit 160 are realized by, for example, a CPU that is operated by a program (command association support program). . The element extraction unit 110, the command similarity calculation unit 130, the parameter similarity calculation unit 140, the command selection unit 150, and the conversion rule creation unit 160 may be realized by the same CPU. In this case, the program is stored in, for example, a program storage device (not shown) included in the command association support system 100. The CPU may read the program and operate as the element extraction unit 110, the command similarity calculation unit 130, the parameter similarity calculation unit 140, the command selection unit 150, and the conversion rule creation unit 160 according to the program.

コマンド情報記憶装置120と、変換ルール記憶装置170とは、例えば、ハードディスクのような記憶装置によって実現される。   The command information storage device 120 and the conversion rule storage device 170 are realized by a storage device such as a hard disk, for example.

次に、コマンドマニュアルの例について説明する。コマンドマニュアルは、例えば、ファイル形式で入力装置210を介して、要素抽出手段110に入力される。ファイル形式の例として、テキストファイル、ワードプロセッサによって作成された文書ファイル、PDF(Portable Document Format)ファイル等が挙げられるが、コマンドマニュアルの形式は特に限定されない。   Next, an example of a command manual will be described. The command manual is input to the element extraction unit 110 via the input device 210 in a file format, for example. Examples of the file format include a text file, a document file created by a word processor, a PDF (Portable Document Format) file, and the like, but the format of the command manual is not particularly limited.

図2は、ネットワーク機器のコマンドマニュアルの例を示す説明図である。例えば、図2に示すコマンドマニュアルの1行目は、コマンドの機能名を表す。例えば、「■ タグ無しポート指定」は、タグ無しポート指定のコマンドに関する各説明が以下に続くことを表す。このように所定の記号(文字列でもよい)が、コマンドに関する各説明の開始を表すように記載されていてもよい。   FIG. 2 is an explanatory diagram illustrating an example of a command manual of a network device. For example, the first line of the command manual shown in FIG. 2 represents the function name of the command. For example, “■ untagged port designation” indicates that each description related to the untagged port designation command follows. In this way, a predetermined symbol (which may be a character string) may be described so as to indicate the start of each explanation regarding the command.

また、図2に示すコマンドマニュアルの2行目「入力形式」は、コマンド定義を示す。すなわち、コマンドがどのような形式で入力されるかに関する説明が次に続くことを示している。図2に示す例では、次の3行目の「set vlan untag P1 P2 [P3]」が、タグ無しポート指定に関するコマンド定義を具体的に示している。「set vlan untag」の文字列部分がコマンド名であり、「P」および数字で表されたP1、P2、[P3]は、それぞれコマンドに付随するパラメータを表している。このうち、括弧の記号“[]”はオプションパラメータであることを表す。従って、本例では、P1、P2が必須パラメータを表し、P3はオプションパラメータを表している。本例では、「入力形式」において、パラメータをP1,P2,P3等の記号で表し、各パラメータのパラメータ名や詳細な説明を、「パラメータ」欄に記述する場合を示しているが、「入力形式」において、コマンド名の後に続くパラメータを、パラメータ名で直接記述してもよい。   The “input format” on the second line of the command manual shown in FIG. 2 indicates a command definition. That is, it is shown that the description regarding the format in which the command is input continues. In the example illustrated in FIG. 2, “set vlan untag P1 P2 [P3]” in the next third line specifically indicates a command definition related to untagged port designation. A character string portion of “set vlan untag” is a command name, and “P” and numbers, P1, P2, and [P3] represent parameters associated with the command, respectively. Among these, the symbol “[]” in parentheses indicates an optional parameter. Therefore, in this example, P1 and P2 represent essential parameters, and P3 represents an optional parameter. In this example, in the “input format”, parameters are represented by symbols such as P1, P2, P3, etc., and the parameter names and detailed descriptions of each parameter are described in the “parameter” column. In “Format”, the parameter following the command name may be directly described by the parameter name.

また、図2に示すコマンドマニュアルの4行目「パラメータ」は、コマンドに付随するパラメータの説明が次に続くことを示している。本例では、図2に示す5〜9行目がパラメータの説明部分に該当する。この部分では、P1,P2,P3等の個々のパラメータを表す記号とともに、パラメータ名等が記述される。また、{A|B}は、「AまたはB」を意味する。例えば、5行目の「P1 {VLAN−ID|Name}」は、1番目のパラメータP1として、パラメータ名が「VLAN−ID」または「Name」であるパラメータが入力されることを表している。さらに、パラメータ名の次に、そのパラメータの説明文字列が記述されている。例えば、図2に示す6行目の「VLAN−ID:VLAN番号1〜4094」は、VLAN−ID欄には1〜4094までの数値が入力されることを表す文字列である。また、7行目の「Name:VLAN名」は、Name欄にはVLAN名となる文字列が入力されることを表す文字列である。また、8行目「P2 ポート番号1〜26」は、2番目のパラメータP2として、パラメータ名が「ポート番号」のパラメータが入力され、そのポート番号として1〜26の数値が入力されることを表す。同様に、9行目「P3 フレームタイプ指定{all|untag}」は、3番目のパラメータP3として、パラメータ名が「フレームタイプ指定」のパラメータが入力され、そのパラメータとして「all」または「untag」が入力されることを表す。パラメータ欄は、コマンド定義で示された各パラメータについて記述される。   Also, “parameter” on the fourth line of the command manual shown in FIG. 2 indicates that the description of the parameter associated with the command continues next. In this example, the fifth to ninth lines shown in FIG. In this part, parameter names and the like are described together with symbols representing individual parameters such as P1, P2, and P3. {A | B} means “A or B”. For example, “P1 {VLAN-ID | Name}” on the fifth line indicates that a parameter whose parameter name is “VLAN-ID” or “Name” is input as the first parameter P1. Further, after the parameter name, an explanation character string of the parameter is described. For example, “VLAN-ID: VLAN number 1 to 4094” on the sixth line shown in FIG. 2 is a character string indicating that a numerical value from 1 to 4094 is input in the VLAN-ID column. Further, “Name: VLAN name” on the seventh line is a character string indicating that a character string serving as a VLAN name is input in the Name column. In the 8th line “P2 port number 1 to 26”, a parameter whose parameter name is “port number” is input as the second parameter P2, and a numerical value of 1 to 26 is input as the port number. To express. Similarly, in the ninth line “P3 frame type designation {all | untag}”, a parameter whose parameter name is “frame type designation” is input as the third parameter P3, and “all” or “untag” is the parameter. Indicates that is input. The parameter column is described for each parameter indicated in the command definition.

また、図2に示すコマンドマニュアルの10行目「説明」は、このコマンドの説明文字列が次に続くことを示している。本例では、11行目の「VLANタグ無しポートの設定をします。」という記載が、このコマンドの説明文字列に該当する。   Further, “Description” on the 10th line of the command manual shown in FIG. 2 indicates that the description character string of this command continues next. In this example, the description “Set the port without VLAN tag” on the 11th line corresponds to the description character string of this command.

また、図2に示すコマンドマニュアルの12行目「デフォルト値」は、パラメータのデフォルト値が次に続くことを示している。本例では、13行目がデフォルト値を具体的に示した部分であり、P1のデフォルト値として1が入力されていて、P2のデフォルト値として1〜26の数値のいずれかが入力されていて、パラメータP3のデフォルト値としてallが入力されていることを表す。   Further, the “default value” on the 12th line of the command manual shown in FIG. 2 indicates that the parameter default value continues next. In this example, the 13th line is a part that specifically shows the default value, and 1 is input as the default value of P1, and any of the numbers 1 to 26 is input as the default value of P2. Represents that all is input as the default value of the parameter P3.

また、図2に示すコマンドマニュアルの14行目「入力例」は、このコマンドを使った実際の入力例が次に続くことを示している。15行目の「set vlan untag 1 3」が実際の入力例を表す。本例では、ポート番号3番にVLAN番号1番をタグ無しポート指定として登録する、というコマンドの例を示している。   Further, “input example” on the 14th line of the command manual shown in FIG. 2 indicates that an actual input example using this command follows. “Set vlan untag 1 3” on the 15th line represents an actual input example. In this example, an example of a command for registering the VLAN number 1 as the untagged port designation for the port number 3 is shown.

また、図2に示すコマンドマニュアルの16行目「ノート」は、このコマンドに関する備考が次に続くことを示している。本例では、次の17行目に「なし」と記載され、備考が特にない場合を例示している。   Further, the “note” on the 16th line of the command manual shown in FIG. 2 indicates that remarks relating to this command continue next. In this example, “None” is described on the next 17th line, and there is no particular remark.

図2は、タグ無しポート指定に関するコマンドを例に示しているが、同じネットワーク機器に対する他の各コマンドも、同じ書式で記述される。一つのコマンドマニュアル内において、コマンドに関する種々の説明(コマンド名、コマンドの説明文字列、パラメータ名、パラメータの説明文字列等)は、コマンド毎に同じ書式で記述される。また、コマンドによる設定対象が異なるコマンドマニュアルでは、別の書式によってコマンドの種々の説明が記述されてもよいが、一つのコマンドマニュアル内では共通の書式でコマンド毎に説明が記述される。   FIG. 2 shows an example of commands related to untagged port designation, but other commands for the same network device are also described in the same format. In one command manual, various descriptions related to commands (command name, command description character string, parameter name, parameter description character string, etc.) are described in the same format for each command. Further, in a command manual having different setting targets by commands, various descriptions of commands may be described in different formats, but in one command manual, descriptions are described for each command in a common format.

次に、動作について説明する。
まず、ネットワーク機器のコマンドマニュアルが入力装置210を介して、コマンド対応付け支援システム100の要素抽出手段110に入力される。ここで、コマンドマニュアルは、変換元コマンド群の各コマンドのコマンド名およびパラメータに関する情報を記述している。コマンドマニュアルが入力されると、要素抽出手段110は、そのコマンドマニュアルを参照して、コマンド毎に、コマンド関連情報およびパラメータ関連情報を抽出する。本実施形態では、コマンド関連情報として、コマンド名およびコマンドの説明文字列を抽出し、パラメータ関連情報として、パラメータ名およびパラメータの説明文字列、必須パラメータ数を特定可能な情報を抽出する。ただし、コマンドの説明文字列やパラメータの説明文字列として「なし」を意味する情報を抽出してもよい。要素抽出手段110は、コマンド毎に抽出したコマンド関連情報(コマンド名およびコマンドの説明文字列)をコマンド類似度計算手段130に渡し、各コマンド毎に抽出したパラメータ関連情報(パラメータ名およびパラメータの説明文字列、必須パラメータ数を特定可能な情報)をパラメータ類似度計算手段140に渡す。
Next, the operation will be described.
First, a command manual for a network device is input to the element extraction unit 110 of the command association support system 100 via the input device 210. Here, the command manual describes information on the command name and parameters of each command in the conversion source command group. When a command manual is input, the element extraction unit 110 refers to the command manual and extracts command related information and parameter related information for each command. In the present embodiment, a command name and a command description character string are extracted as command related information, and parameter name and parameter description character strings and information that can specify the number of essential parameters are extracted as parameter related information. However, information meaning “none” may be extracted as a command explanation character string or a parameter explanation character string. The element extraction unit 110 passes the command related information (command name and command description character string) extracted for each command to the command similarity calculation unit 130 and extracts the parameter related information (parameter name and parameter description) extracted for each command. The character string and information that can specify the number of essential parameters) are passed to the parameter similarity calculation means 140.

以下、要素抽出手段110が、コマンド関連情報およびパラメータ関連情報を抽出する動作の例を説明する。要素抽出手段110は予め、一つ分のコマンドの記述を特定するための記述条件を記憶する。そして、その記述条件に該当する部分(1つ分のコマンドに関する記述部分)を特定し、その部分から、コマンド関連情報およびパラメータ関連情報を抽出する。例えば、図2に例示する書式で記載されたコマンドマニュアルにおいて、図2の1行目(■から始まる行)から、次の■から始まる行の直前までを一つのコマンドに関する記述部分として特定し、その範囲からコマンド関連情報およびパラメータ関連情報を抽出する。同様の処理を繰り返し、コマンドマニュアルに記述された複数のコマンドについてそれぞれ、コマンド関連情報およびパラメータ関連情報を抽出すればよい。ただし、一つ分のコマンドの記述を特定するための記述条件は、機器やソフトウェアによって異なるので、そのような記述条件として想定される条件を複数種類、要素抽出手段110に記憶させておけばよい。   Hereinafter, an example of an operation in which the element extraction unit 110 extracts command related information and parameter related information will be described. The element extraction unit 110 stores a description condition for specifying a description of one command in advance. Then, a portion corresponding to the description condition (a description portion related to one command) is specified, and command related information and parameter related information are extracted from the portion. For example, in the command manual described in the format illustrated in FIG. 2, the description from the first line in FIG. 2 (line starting from ■) to immediately before the next line starting from ■ is specified as a description part for one command. Command related information and parameter related information are extracted from the range. Similar processing is repeated, and command related information and parameter related information may be extracted for each of a plurality of commands described in the command manual. However, the description condition for specifying the description of one command differs depending on the device and software. Therefore, the element extraction means 110 may store a plurality of kinds of conditions assumed as such description conditions. .

以下、図2に例示する書式のコマンドマニュアルからコマンド関連情報およびパラメータ関連情報を抽出する場合を例にして説明する。図3は、要素抽出手段110が抽出した情報を格納するためのテーブル(以下、変換元コマンドテーブルと記す。)の例を示す説明図である。本例では、変換元コマンドテーブル310に、機器名、変換元コマンド群のコマンド名、そのコマンドの説明文字列、そのコマンドの各パラメータ名、各パラメータの説明文字列、必須パラメータのリストが格納される。   Hereinafter, a case where command related information and parameter related information are extracted from the command manual in the format illustrated in FIG. 2 will be described as an example. FIG. 3 is an explanatory diagram showing an example of a table for storing information extracted by the element extraction unit 110 (hereinafter referred to as a conversion source command table). In this example, the conversion source command table 310 stores a device name, a command name of the conversion source command group, an explanation character string of the command, each parameter name of the command, an explanation character string of each parameter, and a list of essential parameters. The

要素抽出手段110は、コマンド定義の記述開始を意味するキーワード(図2では「入力文字列」)を検索し、そのキーワードの次の行の記述「set vlan untag P1 P2 [P3]」を変換元コマンド群のコマンドのコマンド名として抽出し、変換元コマンドテーブル310に格納する(図3参照)。   The element extraction unit 110 searches for a keyword ("input character string" in FIG. 2) meaning the start of description of the command definition, and converts the description "set vlan untag P1 P2 [P3]" in the next line of the keyword to the conversion source. The command name of the command in the command group is extracted and stored in the conversion source command table 310 (see FIG. 3).

また、要素抽出手段110は、コマンド名においてパラメータを表す各記号(P1,P2,P3)をキーワードとして、そのキーワードを含む記述を検索し、その検索結果をパラメータ名として、パラメータ毎に変換元コマンドテーブル310に格納する。例えば、1番目のパラメータを表すP1をキーワードとして、6行目の「P1 {VLAN−ID|Name}」を検索できるので、その文字列を1番目のパラメータ名として変換元コマンドテーブル310に格納する。同様に、P2をキーワードとして、8行目の「P2 ポート番号1〜26」を検索できるので、その文字列を2番目のパラメータ名として変換元コマンドテーブル310に格納する。同様に、P3をキーワードとして、9行目の「P3 フレームタイプ指定{all|untag}」を検索できるので、その文字列を3番目のパラメータ名として変換元コマンドテーブル310に格納する(図3参照)。   In addition, the element extraction unit 110 searches the description including the keyword using each symbol (P1, P2, P3) representing the parameter in the command name as a keyword, and uses the search result as the parameter name, and the conversion source command for each parameter. Store in table 310. For example, since “P1 {VLAN-ID | Name}” on the sixth line can be searched using P1 representing the first parameter as a keyword, the character string is stored in the conversion source command table 310 as the first parameter name. . Similarly, since “P2 port numbers 1 to 26” on the eighth line can be searched using P2 as a keyword, the character string is stored in the conversion source command table 310 as the second parameter name. Similarly, “P3 frame type designation {all | untag}” on the ninth line can be searched using P3 as a keyword, and the character string is stored in the conversion source command table 310 as the third parameter name (see FIG. 3). ).

また、要素抽出手段110は、各パラメータ名をキーワードとして、そのキーワードを含む記述を検索し、その検索結果を、パラメータ名が示すパラメータの説明文字列として変換元コマンドテーブル310に格納する。例えば、1番目のパラメータに関しては、「VLAN−ID」をキーワードとして、6行目の「VLAN−ID:VLAN番号1〜4094」を検索できるので、この文字列を、1番目のパラメータの説明文字列として格納する。また、「Name」をキーワードとして、7行目の「Name:VLAN名」を検索できるので、この文字列も、1番目のパラメータの説明文字列として格納する(図3参照)。要素抽出手段110は、2番目のパラメータに関しては、「ポート番号1〜26」をキーワードにして検索を実行するが、該当する部分がないので、2番目のパラメータの説明文字列として、説明がないことを意味する文字列「なし」を変換元コマンドテーブル310に格納する(図3参照)。説明がないことを意味する文字列は「なし」以外の文字列であってもよい。同様に、3番目のパラメータに関しても、「フレームタイプ指定{all|untag}」を含む記述箇所がないので、3番目のパラメータの説明文字列として「なし」を格納する(図3参照)。   In addition, the element extraction unit 110 searches each parameter name as a keyword, searches for a description including the keyword, and stores the search result in the conversion source command table 310 as an explanatory character string of the parameter indicated by the parameter name. For example, regarding the first parameter, “VLAN-ID: VLAN number 1 to 4094” on the sixth line can be searched using “VLAN-ID” as a keyword. Therefore, this character string is used as the descriptive character for the first parameter. Store as a column. Further, since “Name: VLAN name” on the seventh line can be searched using “Name” as a keyword, this character string is also stored as an explanatory character string of the first parameter (see FIG. 3). The element extraction unit 110 performs a search for the second parameter using “port numbers 1 to 26” as a keyword. However, since there is no corresponding part, there is no description as an explanation character string of the second parameter. The character string “none” meaning this is stored in the conversion source command table 310 (see FIG. 3). The character string meaning that there is no description may be a character string other than “None”. Similarly, since there is no description location including “frame type designation {all | untag}” for the third parameter, “None” is stored as the description character string of the third parameter (see FIG. 3).

図2に例示するコマンドマニュアルからパラメータ名およびパラメータの説明文字列を検索するときに、パラメータ名を抽出するキーワードとして「パラメータ」を用いて、図2の4行目を特定し、5行目、8行目、9行目からパラメータ名を抽出する等の方法でパラメータ名を抽出してもよい。   When searching for a parameter name and an explanation string of a parameter from the command manual illustrated in FIG. 2, “parameter” is used as a keyword for extracting the parameter name, and the fourth line in FIG. The parameter name may be extracted by a method such as extracting the parameter name from the 8th and 9th lines.

なお、コマンドに対して指定されるパラメータの数はコマンド毎に異なる。コマンドに対して指定されるパラメータの数に応じて、変換元コマンドテーブル310におけるパラメータ名の列を増やせばよい。パラメータの説明文字列に関しても同様である。   Note that the number of parameters specified for a command differs for each command. The number of parameter names in the conversion source command table 310 may be increased in accordance with the number of parameters specified for the command. The same applies to the parameter description character string.

次に、要素抽出手段110は、コマンドの説明文字列の記述開始を意味するキーワード(図2では「説明」)を検索し、そのキーワードの次の行の記述「VLANタグ無しポートの設定をします。」を、コマンドの説明文字列として抽出し、変換元コマンドテーブル310に格納する(図3参照)。   Next, the element extraction means 110 searches for a keyword ("Description" in FIG. 2) that means the start of description of the command description character string, and sets the description "VLAN tag-less port" on the next line of the keyword. "Is extracted as an explanatory character string of the command and stored in the conversion source command table 310 (see FIG. 3).

次に、この変換元コマンドの必須パラメータを特定する。本例では、パラメータを「P」および数字で表し、さらに、オプションパラメータについては、括弧の記号“[]”を付すことによって表している。要素抽出手段110は、括弧の記号“[]”が付されていないパラメータを、例えば、コマンドマニュアル中の「入力形式」から特定し、そのリストを変換元コマンドテーブル310に格納する(図3参照)。   Next, the essential parameters of this conversion source command are specified. In this example, parameters are represented by “P” and numbers, and optional parameters are represented by parentheses “[]”. The element extraction unit 110 identifies a parameter without parentheses “[]” from, for example, “input format” in the command manual, and stores the list in the conversion source command table 310 (see FIG. 3). ).

要素抽出手段110は、上記のようにコマンド名を判断するためのキーワード、コマンドの説明文字列を判断するためのキーワード、パラメータ名を判断するためのキーワード、パラメータの説明文字列を判断するためのキーワードを用いて、各要素を抽出する。これらのキーワードの定め方は、機器やソフトウェアのコマンドマニュアル毎に異なっている。また、オプションパラメータと必須パラメータとを区別するための記述方法も、コマンドマニュアル毎に異なっている。各要素を抽出するための条件(キーワードの定め方や、オプションパラメータと必須パラメータとの区別の仕方)として想定される条件を、要素抽出手段110に設定しておき、要素抽出手段110は、いずれかの条件を用いて、コマンド名等の各要素を抽出すればよい。   The element extraction means 110 determines a keyword for determining a command name, a keyword for determining a command description character string, a keyword for determining a parameter name, and a parameter description character string as described above. Each element is extracted using a keyword. The method of defining these keywords differs depending on the command manual of the device or software. Also, the description method for distinguishing between the optional parameter and the essential parameter is different for each command manual. Conditions assumed as conditions for extracting each element (how to define keywords and how to distinguish between optional parameters and essential parameters) are set in the element extraction means 110, and the element extraction means 110 Using these conditions, each element such as a command name may be extracted.

また、要素抽出手段110は、ネットワーク機器名を抽出する。機器名の抽出方法は、特に限定されない。例えば、要素抽出手段110は、コマンドマニュアルファイル内からネットワーク機器名を探してもよいし、各種ネットワーク機器に実装されているSNMP(Simple Network Management Protocol)を使ったMIB(Management Information Base)情報から探してもよい。機器名の抽出は、変換元コマンド名およびコマンドの説明文字列、パラメータ名およびパラメータの説明文字列の抽出前に行ってもよいし、抽出後に行ってよい。また、機器名の抽出は、初めの1度だけ行った後、変換元コマンドテーブル310中の機器名列に全て同じ文字列を入力してもよい。   In addition, the element extraction unit 110 extracts the network device name. The method for extracting the device name is not particularly limited. For example, the element extraction unit 110 may search for the name of the network device from within the command manual file, or search for information from MIB (Management Information Base) information using SNMP (Simple Network Management Protocol) implemented in various network devices. May be. The device name may be extracted before extraction of the conversion source command name and the command description character string, the parameter name and the parameter description character string, or after the extraction. Further, the device name may be extracted only once at the beginning, and then the same character string may be input to all the device name columns in the conversion source command table 310.

要素抽出手段110は、このような抽出処理を、コマンドマニュアルに記述されたコマンドの数だけ繰り返し行い、変換元コマンドテーブル310を作成する。要素抽出手段110は、コマンド名およびコマンドの説明文字列(コマンド関連情報)と、パラメータ名およびパラメータの説明文字列、必須パラメータのリスト(パラメータ関連情報)とを抽出して、変換元コマンドテーブルを作成した後、その変換元コマンドテーブルをコマンド類似度計算手段130およびパラメータ類似度計算手段140に渡す。   The element extraction unit 110 repeats such extraction processing as many times as the number of commands described in the command manual, and creates the conversion source command table 310. The element extraction unit 110 extracts a command name and a description character string of the command (command related information), a parameter name and a description character string of the parameter, and a list of essential parameters (parameter related information), and obtains a conversion source command table. After the creation, the conversion source command table is passed to the command similarity calculation unit 130 and the parameter similarity calculation unit 140.

コマンド情報記憶装置120は、変換先コマンド群のコマンドのコマンド名およびコマンドの説明文字列と、コマンドのパラメータ名およびパラメータの説明文字列と、必須パラメータを特定するための情報(必須パラメータのリスト)とを予め記憶する。図4は、コマンド情報記憶装置120が記憶する情報の例を示す説明図である。図4に示すように、コマンド情報記憶装置120は、コマンド毎に、コマンド名、コマンドの説明文字列、そのコマンドの各パラメータ名、各パラメータの説明文字列、必須パラメータのリストをテーブルとして記憶する。以下、このテーブルを変換先コマンドテーブルと記す。コマンドに対して指定されるパラメータの数はコマンド毎に異なるので、コマンドに対して指定されるパラメータの数に応じて、変換先コマンドテーブル320におけるパラメータ名の列を増やせばよい。パラメータの説明文字列に関しても同様である。   The command information storage device 120 includes a command name of the command in the conversion destination command group and a description string of the command, a parameter name of the command and a description string of the parameter, and information for specifying the required parameter (list of required parameters) Are stored in advance. FIG. 4 is an explanatory diagram illustrating an example of information stored in the command information storage device 120. As shown in FIG. 4, the command information storage device 120 stores, for each command, a command name, a description character string of the command, each parameter name of the command, a description character string of each parameter, and a list of essential parameters as a table. . Hereinafter, this table is referred to as a conversion destination command table. Since the number of parameters specified for a command differs for each command, the number of parameter names in the conversion destination command table 320 may be increased in accordance with the number of parameters specified for a command. The same applies to the parameter description character string.

図4に示す1番目のコマンドを例に説明する。図4では、1番目のコマンドに関して、コマンド名が「set vlan portbase」であり、コマンドの説明文字列が「ポートベースVLANを設定します。」という文字列であることを示している。さらに、そのコマンドの1番目のパラメータのパラメータ名が「VLAN−ID」であり、パラメータの説明文字列が「VLAN番号1〜4094、またはVLAN名を指定」であり、2番目のパラメータのパラメータ名が「ポート番号」であり、パラメータの説明文字列が「ポート番号1〜26を指定」であり、3番目のパラメータのパラメータ名が「フレームタイプ」であり、パラメータの説明文字列が「all、またはuntag」であることを示している。さらに、必須パラメータが、パラメータ1(すなわち、1番目のパラメータ)およびパラメータ2(2番目のパラメータ)であることを示している。コマンド情報記憶装置120は、他の各コマンドについても同様の内容を記憶する。   The first command shown in FIG. 4 will be described as an example. FIG. 4 shows that for the first command, the command name is “set vlan portbase”, and the description character string of the command is a character string “Set port-based VLAN”. Furthermore, the parameter name of the first parameter of the command is “VLAN-ID”, the parameter description character string is “Specify VLAN number 1 to 4094 or VLAN name”, and the parameter name of the second parameter. Is the “port number”, the parameter description string is “specify port numbers 1 to 26”, the parameter name of the third parameter is “frame type”, and the parameter description string is “all, Or “untag”. Furthermore, it is shown that the essential parameters are parameter 1 (that is, the first parameter) and parameter 2 (second parameter). The command information storage device 120 stores the same contents for the other commands.

変換先コマンドテーブル320が記憶する内容をユーザが編集可能な構成であってもよい。例えば、コマンド対応付け支援システム100がキーボードやマウス等のユーザに操作されるユーザ操作部(図示せず)と、そのユーザ操作部を介して入力されたユーザの指示により、変換先コマンドテーブル320が記憶する内容を編集するコマンド編集手段(図示せず)とを備えていてもよい。コマンド編集手段は、ユーザの指示に従って、新規コマンドに関する情報を変換先コマンドテーブル320に追加して記憶させたり、既に変換先コマンドテーブル320に記憶されている情報を修正したり、削除したりしてもよい。コマンド編集手段(図示せず)も、例えば、プログラムに従って動作するCPUによって実現される。   The user may be able to edit the contents stored in the conversion destination command table 320. For example, the conversion destination command table 320 is generated by a user operation unit (not shown) that is operated by the user such as a keyboard and a mouse by the command association support system 100 and a user instruction input through the user operation unit. You may provide the command edit means (not shown) which edits the content to memorize | store. The command editing means adds information related to the new command to the conversion destination command table 320 and stores it in accordance with a user instruction, or corrects or deletes information already stored in the conversion destination command table 320. Also good. Command editing means (not shown) is also realized by a CPU that operates according to a program, for example.

要素抽出手段110が変換元コマンド群の各コマンド毎に情報抽出を行った後、コマンド類似度計算手段130は、コマンド情報記憶装置120に記憶されるコマンド名およびコマンドの説明文字列(すなわち、変換先コマンド群のコマンドのコマンド関連情報)を読み込み、コマンド関連情報の類似度を計算する。図5は、コマンド関連情報の類似度を計算する動作の例を示すフローチャートある。また、図6は、コマンド関連情報の類似度の計算例を示す説明図である。   After the element extraction unit 110 extracts information for each command of the conversion source command group, the command similarity calculation unit 130 stores the command name and the command description character string (that is, the conversion character string) stored in the command information storage device 120. Command related information) of the commands in the previous command group, and the similarity of the command related information is calculated. FIG. 5 is a flowchart illustrating an example of an operation for calculating the degree of similarity of command related information. FIG. 6 is an explanatory diagram showing a calculation example of the similarity of command related information.

コマンド類似度計算手段130は、変換元コマンドテーブル310に各種情報が抽出された各コマンドの中から一つのコマンドを選択する。すなわち、変換元コマンド群中の一つのコマンドを選択する。そして、コマンド類似度計算手段130は、そのコマンドのコマンド関連情報と、変換先コマンド群の個々のコマンドのコマンド関連情報との類似度を計算する。また、後述するように、パラメータ類似度計算手段140は、変換元コマンド群中から選択されたコマンドと、変換先コマンド群の個々のコマンドのパラメータ関連情報との類似度を計算する。ここで、変換元コマンド群中から選択されるコマンドを着目コマンドと記す。ここでは、コマンド類似度計算手段130が着目コマンドを選択する場合を例にするが、パラメータ類似度計算手段140が着目コマンドを選択してもよい。   The command similarity calculation means 130 selects one command from each command whose various information is extracted in the conversion source command table 310. That is, one command in the conversion source command group is selected. Then, the command similarity calculation unit 130 calculates the similarity between the command related information of the command and the command related information of each command of the conversion destination command group. As will be described later, the parameter similarity calculation unit 140 calculates the similarity between the command selected from the conversion source command group and the parameter related information of each command in the conversion destination command group. Here, a command selected from the conversion source command group is referred to as a focused command. Here, although the case where the command similarity calculation unit 130 selects a command of interest is taken as an example, the parameter similarity calculation unit 140 may select the command of attention.

コマンド類似度計算手段130は、コマンド情報記憶装置120から変換先コマンドテーブル320を読み込み、その変換先コマンドテーブル320から、変換先コマンド群の各コマンドのコマンド名およびコマンドの説明文字列を抽出する。そして、コマンド類似度計算手段130は、変換元コマンド群から選択した着目コマンドのコマンド名およびコマンドの説明文字列をベクトル化し、変換先コマンド群の全コマンドについてもコマンド名およびコマンドの説明文字列をベクトル化する(ステップS1)。ステップS1において、コマンド類似度計算手段130は、まず、着目コマンドのコマンド名およびコマンドの説明文字列と、変換先コマンド群の全コマンドのコマンド名およびコマンドの説明文字列に含まれる単語を複数抽出する。本実施形態では、各名詞を抽出する場合を例にして説明する。コマンド類似度計算手段130は、抽出した個々の名詞毎に、名詞が着目コマンドのコマンド名およびコマンドの説明文字列に出現する回数を計数する。コマンド類似度計算手段130は、名詞の種類毎に出現回数を計数した結果を要素とするベクトルを定める。着目コマンドに関して、コマンド名およびコマンドの説明文字列における名詞の出現回数を計数した結果から定めたベクトルを第1のコマンド名ベクトルと記す。同様に、コマンド類似度計算手段130は、変換先コマンド群の一つ一つのコマンドについて、抽出した個々の名詞毎に、名詞がコマンド名およびコマンドの説明文字列に出現する回数を計数し、名詞の種類毎に出現回数を計数した結果を要素とするベクトルを定める。変換先コマンド群のコマンド毎に、コマンド名およびコマンドの説明文字列における名詞の出現回数を計数した結果から定めたベクトルを第2のコマンド名ベクトルと記す。   The command similarity calculation means 130 reads the conversion destination command table 320 from the command information storage device 120, and extracts the command name of each command in the conversion destination command group and an explanatory character string of the command from the conversion destination command table 320. Then, the command similarity calculation means 130 vectorizes the command name and command description character string of the command of interest selected from the conversion source command group, and also sets the command name and command description character string for all commands in the conversion destination command group. Vectorization is performed (step S1). In step S1, the command similarity calculation unit 130 first extracts a plurality of words included in the command name and command description character string of the command of interest and the command names and command description character strings of all commands in the conversion destination command group. To do. In this embodiment, a case where each noun is extracted will be described as an example. For each extracted noun, the command similarity calculation means 130 counts the number of times that the noun appears in the command name of the command of interest and the description character string of the command. The command similarity calculation means 130 determines a vector whose element is the result of counting the number of appearances for each type of noun. Regarding the command of interest, a vector determined from the result of counting the number of appearances of nouns in the command name and command description character string is referred to as a first command name vector. Similarly, the command similarity calculation unit 130 counts the number of times each noun appears in the command name and the command description character string for each extracted noun for each command in the conversion destination command group, and the noun A vector whose element is the result of counting the number of appearances for each type is defined. For each command in the conversion destination command group, a vector determined from the result of counting the number of appearances of nouns in the command name and the command description character string is referred to as a second command name vector.

図6を参照して、第1のコマンド名ベクトルおよび第2のコマンド名ベクトルの導出の具体例を示す。図6に示すコマンド名「set vlan untag」のコマンドが着目コマンドであるとする。また、変換先コマンド群のコマンドとして、コマンド名が「set vlan portbase」のコマンドと、コマンド名が「set snmp manager ip」のコマンドを例にして説明する。コマンド類似度計算手段130は、着目コマンドのコマンド名「set vlan untag」およびコマンドの説明文字列「VLANタグ無しポートの設定をします。」、変換先コマンド群の1番目のコマンドのコマンド名「set vlan portbase」およびコマンドの説明文字列「ポートベースVLANを設定します。」、変換先コマンド群の2番目のコマンドのコマンド名「set snmp manager ip」およびコマンドの説明文字列「SNMPマネージャのIPアドレスを設定します。」から名詞となる文字列を抽出する。コマンド類似度計算手段130は、例えば、形態素解析により、名詞となる文字列の抽出を行えばよいが、名詞となる文字列の抽出方法は特に限定されない。次に、コマンド類似度計算手段130は、着目コマンドのコマンド名「set vlan untag」およびコマンドの説明文字列「VLANタグ無しポートの設定をします。」の中に、抽出した名詞が何回出現するかを個々の名詞毎に計数する。例えば、「set」は1回、「vlan」は2回、「untag」は1回、・・・等のように計数を行う。コマンド類似度計算手段130は、名詞毎の計数結果を格納したテーブル(以下、ベクトル計算テーブルと記す。)を作成する。また、コマンド類似度計算手段130は、変換先コマンド群の1番目のコマンドについても同様に、抽出した名詞が何回出現するかを計数し、ベクトル計算テーブル330に計数結果を格納する。さらに、変換先コマンド群の2番目のコマンドについても同様に、名詞毎に出現回数を計数し、ベクトル計算テーブル330に計数結果を格納する。この結果、図6に例示するベクトル計算テーブル330が生成される。各コマンドについて、名詞毎に求めた計数結果の数値を並べることによって、ベクトルが得られる。計測結果の数値を並べる際の基準となる名詞の順番は、各ベクトルで共通である。図6に示すベクトル計算テーブル330において、最初の数値の並びである(1,2,1,1,1,・・・)は、第1のコマンド名ベクトルである。2番目の数値の並びである(1,2,0,0,0,・・・)は、変換先コマンド群のコマンド「set vlan portbase」について求めた第2のコマンド名ベクトルである。3番目の数値の並びである(1,0,0,0,0,・・・)は、変換先コマンド群のコマンド「set snmp manager ip」について求めた第2のコマンド名ベクトルである。   A specific example of deriving the first command name vector and the second command name vector will be described with reference to FIG. Assume that the command with the command name “set vlan untag” shown in FIG. 6 is the command of interest. Further, as a command of the conversion destination command group, a command having a command name “set vlan portbase” and a command having a command name “set snmp manager ip” will be described as an example. The command similarity calculation unit 130 sets the command name “set vlan untag” of the command of interest and the command description character string “sets a port without VLAN tag”, the command name “1 of the command in the conversion destination command group“ “set vlan portbase” and the command description string “Set port-based VLAN”, the command name “set snmp manager ip” of the second command of the conversion destination command group, and the command description string “SNMP manager IP Extract the noun string from "Set the address." The command similarity calculation unit 130 may extract a character string that becomes a noun by, for example, morphological analysis, but the extraction method of the character string that becomes a noun is not particularly limited. Next, the command similarity calculation means 130 indicates how many times the extracted noun appears in the command name “set vlan unttag” of the command of interest and the command description character string “Set port without VLAN tag.” Count for each noun. For example, “set” is counted once, “vlan” is counted twice, “untag” is counted once, and so on. The command similarity calculation means 130 creates a table (hereinafter referred to as a vector calculation table) storing count results for each noun. Similarly, the command similarity calculation unit 130 counts how many times the extracted noun appears for the first command in the conversion destination command group, and stores the count result in the vector calculation table 330. Further, for the second command in the conversion destination command group, similarly, the number of appearances is counted for each noun, and the count result is stored in the vector calculation table 330. As a result, a vector calculation table 330 illustrated in FIG. 6 is generated. For each command, a vector is obtained by arranging the numerical values of the counting results obtained for each noun. The order of nouns used as a reference when arranging the numerical values of the measurement results is common to each vector. In the vector calculation table 330 shown in FIG. 6, the first numerical value sequence (1, 2, 1, 1, 1,...) Is the first command name vector. The second numerical sequence (1, 2, 0, 0, 0,...) Is a second command name vector obtained for the command “set vlan portbase” of the conversion destination command group. The third numerical sequence (1, 0, 0, 0, 0,...) Is a second command name vector obtained for the command “set snmp manager ip” of the conversion destination command group.

ステップS1の後、コマンド類似度計算手段130は、第1のコマンド名ベクトルと、それぞれの第2のコマンド名ベクトルとのコサイン類似度を求めることによって、着目コマンドと変換先コマンド群のそれぞれのコマンドとの間の、コマンド名およびコマンドの説明文字列の類似度を計算する(ステップS2)。コサイン類似度の計算方法は、既知の手法でよい。すなわち、2つのベクトルをV1,V2と表したときに、以下に示す式(1)の左辺のcosθをV1,V2のコサイン類似度として計算すればよい。   After step S1, the command similarity calculation means 130 obtains the cosine similarity between the first command name vector and each of the second command name vectors, so that each command of the command of interest and the conversion destination command group is obtained. The similarity between the command name and the description character string of the command is calculated (step S2). The cosine similarity calculation method may be a known method. That is, when the two vectors are expressed as V1 and V2, cos θ on the left side of the following equation (1) may be calculated as the cosine similarity of V1 and V2.

Figure 2010113651
Figure 2010113651

ただし、<V1,V2>は、ベクトルV1,V2の内積である。また、||V1||はV1のノルムであり、||V2||はV2のノルムである。   However, <V1, V2> is an inner product of the vectors V1, V2. || V1 || is the norm of V1, and || V2 || is the norm of V2.

図6に示す例において、第1のコマンド名ベクトルと、変換先コマンド群のコマンド「set vlan portbase」について求めた第2のコマンド名ベクトルとのコサイン類似度を求めると、0.738となる。また、第1のコマンド名ベクトルと、変換先コマンド群のコマンド「set snmp manager ip」について求めた第2のコマンド名ベクトルとのコサイン類似度を求めると、0.175となる。コマンド類似度計算手段130は、変換先コマンド群のコマンド毎に求めたコサイン類似度を格納したテーブル(以下、コマンド名類似度テーブル)340を作成し、コマンド選択手段150に渡す。図6に示すコマンド名類似度テーブル340において、コサイン類似度は、コマンド名およびコマンドの説明文字列の類似度である。   In the example illustrated in FIG. 6, the cosine similarity between the first command name vector and the second command name vector obtained for the command “set vlan portbase” of the conversion destination command group is 0.738. Further, when the cosine similarity between the first command name vector and the second command name vector obtained for the command “set snmp manager ip” of the conversion destination command group is obtained, 0.175 is obtained. The command similarity calculation unit 130 creates a table (hereinafter referred to as command name similarity table) 340 that stores the cosine similarity obtained for each command of the conversion destination command group, and passes it to the command selection unit 150. In the command name similarity table 340 shown in FIG. 6, the cosine similarity is the similarity between the command name and the command description character string.

また、要素抽出手段110が変換元コマンド群の各コマンド毎に情報抽出を行った後、パラメータ類似度計算手段140は、コマンド情報記憶装置120に記憶されるパラメータ関連情報(パラメータ名およびパラメータの説明文字列、必須パラメータ数を特定可能な情報)を読み込み、パラメータ関連情報の類似度を計算する。すなわち、パラメータ名およびパラメータの説明文字列の類似度と、全パラメータ数の一致度と、必須パラメータ数の一致度とを計算する。図7は、パラメータ関連情報の類似度を計算する動作の例を示すフローチャートである。図8は、パラメータ名およびパラメータの説明文字列の類似度の計算例を示す説明図である。   Further, after the element extraction unit 110 extracts information for each command of the conversion source command group, the parameter similarity calculation unit 140 performs parameter related information (parameter name and parameter description) stored in the command information storage device 120. Character string, information that can specify the number of required parameters), and the similarity of the parameter related information is calculated. That is, the similarity between the parameter name and the parameter description character string, the degree of coincidence of all parameter numbers, and the degree of coincidence of essential parameter numbers are calculated. FIG. 7 is a flowchart illustrating an example of an operation for calculating the similarity of the parameter related information. FIG. 8 is an explanatory diagram showing a calculation example of the similarity between the parameter name and the parameter description character string.

ここでは、コマンド類似度計算手段130が、変換元コマンドテーブル310に各種情報が抽出された各コマンドの中から着目コマンドを選択し、パラメータ類似度計算手段140に通知している場合を例に説明する。ただし、パラメータ類似度計算手段140が着目コマンドを選択し、コマンド類似度計算手段130に着目コマンドを通知してもよい。   Here, an example will be described in which the command similarity calculating unit 130 selects a command of interest from each command whose various types of information are extracted in the conversion source command table 310 and notifies the parameter similarity calculating unit 140 of the selected command. To do. However, the parameter similarity calculation unit 140 may select a command of interest and notify the command similarity calculation unit 130 of the command of interest.

パラメータ類似度計算手段140は、コマンド情報記憶手段120から変換先コマンドテーブル320を読み込み、さらに、その変換先コマンドテーブル320から、変換先コマンド群の各コマンドのパラメータ名およびパラメータの説明文字列、および必須パラメータ数を特定可能な情報を抽出する。そして、パラメータ類似度計算手段140は、変換元コマンド群から選択された着目コマンドのパラメータ名およびパラメータの説明文字列をベクトル化し、変換先コマンド群の全コマンドについてもパラメータ名およびパラメータの説明文字列をベクトル化する(ステップT1)。ステップT1において、パラメータ類似度計算手段140は、まず、着目コマンドの各パラメータ名および各パラメータの説明文字列に含まれる単語を複数抽出する。本実施形態では、各名詞を抽出する場合を例にして説明する。パラメータ類似度計算手段140は、抽出した個々の名詞毎に、名詞が着目コマンドの各パラメータ名および各パラメータの説明文字列に出現する回数を計数する。パラメータ類似度計算手段140は、名詞の種類毎に出現回数を計数した結果を要素とするベクトルを定める。着目コマンドに関して、各パラメータ名および各パラメータの説明文字列における名詞の出現回数を計数した結果から定めたベクトルを第1のパラメータベクトルと記す。同様に、パラメータ類似度計算手段140は、変換先コマンド群の一つ一つのコマンドについて、抽出した個々の名詞毎に、名詞が各パラメータ名および各パラメータの説明文字列に出現する回数を計数し、名詞の種類毎に出現回数を計数した結果を要素とするベクトルを定める。変換先コマンド群のコマンド毎に、各パラメータ名および各パラメータの説明文字列における名詞の出現回数を計数した結果から定めたベクトルを第2のパラメータベクトルと記す。   The parameter similarity calculation unit 140 reads the conversion destination command table 320 from the command information storage unit 120, and further, from the conversion destination command table 320, the parameter name of each command of the conversion destination command group and the parameter description character string, and Extract information that can identify the number of required parameters. Then, the parameter similarity calculation means 140 vectorizes the parameter name and parameter description character string of the command of interest selected from the conversion source command group, and the parameter name and parameter description character string for all commands in the conversion destination command group. Is vectorized (step T1). In step T1, the parameter similarity calculation unit 140 first extracts a plurality of words included in each parameter name and the explanation character string of each parameter of the command of interest. In this embodiment, a case where each noun is extracted will be described as an example. For each extracted noun, the parameter similarity calculation means 140 counts the number of times that the noun appears in each parameter name of the command of interest and the explanation character string of each parameter. The parameter similarity calculation means 140 determines a vector whose element is the result of counting the number of appearances for each type of noun. Regarding the command of interest, a vector determined from the result of counting the number of appearances of nouns in each parameter name and the explanation character string of each parameter is referred to as a first parameter vector. Similarly, the parameter similarity calculation means 140 counts the number of times each noun appears in each parameter name and each parameter description character string for each extracted noun for each command in the conversion destination command group. A vector whose element is the result of counting the number of appearances for each type of noun is determined. For each command in the conversion destination command group, a vector determined from the result of counting the number of appearances of nouns in each parameter name and the explanatory character string of each parameter is referred to as a second parameter vector.

図8を参照して、第1のパラメータベクトルおよび第2のパラメータベクトルの導出の具体例を示す。図8に示す変換元コマンドテーブル311において示したコマンドが着目コマンドであるとする。また、変換先コマンド群のコマンドとして、コマンド名が「set vlan portbase」のコマンドと、コマンド名が「set snmp manager ip」のコマンドを例にして説明する。   A specific example of the derivation of the first parameter vector and the second parameter vector will be described with reference to FIG. Assume that the command shown in the conversion source command table 311 shown in FIG. Further, as a command of the conversion destination command group, a command having a command name “set vlan portbase” and a command having a command name “set snmp manager ip” will be described as an example.

パラメータ類似度計算手段140は、着目コマンドの1番目のパラメータ名「{VLAN−ID|Name}」と、そのパラメータの説明文字列「VLAN−ID:VLAN番号1〜4094、Name:VLAN名」と、2番目のパラメータ名「ポート番号1〜26」と、3番目のパラメータ名「フレームタイプ指定{all|untag}」と、変換先コマンド群の各コマンドにおける各パラメータ名、各パラメータの説明文字列に該当する「VLAN−ID」、「VLAN番号1〜4094、またはVLAN名を指定」、「ポート番号」、「ポート番号1〜26を指定」、「フレームタイプ」、「all、またはuntag」、「IPアドレス」、「IPアドレスを指定」、「SNMPマネージャ」、「ID」、「状態」、および「enable、またはdisable」から、名詞となる文字列を抽出する。ただし、パラメータ名またはパラメータの説明文字列が「なし(存在しないことを意味する文字列)」である場合、「なし」は名詞抽出対象から除外する。また、図8に示す例では、パラメータを表す記号であるP1,P2等も名詞抽出対象から除外している。ステップS1の処理と同様に、名詞となる文字列の抽出は、例えば、形態素解析によって行えばよいが、形態素解析以外の方法で抽出してもよい。本例では、図8に示すテーブル331に例示するように、「VLAN−ID」、「name」、・・・等の文字列が抽出される。次に、パラメータ類似度計算手段140は、着目コマンドの各パラメータ名および各パラメータの説明の中に、抽出した名詞が何回出現するかを個々の名詞毎に計数し、名詞毎の計数結果を格納したテーブル(以下、パラメータベクトル計算テーブルと記す。)を作成する。また、コマンド類似度計算手段130は、変換先コマンド群の一つ一つのコマンドについて、各パラメータ名および各パラメータの説明の中に、抽出した名詞が何回出現するかを個々の名詞毎に計数し、パラメータベクトル計算テーブル331に計数結果を格納する。   The parameter similarity calculation means 140 includes a first parameter name “{VLAN-ID | Name}” of the command of interest and an explanation character string “VLAN-ID: VLAN number 1 to 4094, Name: VLAN name” of the parameter. The second parameter name “port number 1 to 26”, the third parameter name “frame type designation {all | untag}”, the parameter names in each command of the conversion destination command group, and the description character string of each parameter “VLAN-ID”, “Specify VLAN number 1 to 4094, or VLAN name”, “Port number”, “Specify port number 1 to 26”, “Frame type”, “all or untag”, “IP address”, “specify IP address”, “SNMP manager”, “ID”, “status”, and “e” able from or disable ", to extract a string of a noun. However, when the parameter name or the description character string of the parameter is “none (character string meaning that it does not exist)”, “none” is excluded from the noun extraction target. Further, in the example shown in FIG. 8, P1, P2, etc., which are symbols representing parameters, are also excluded from noun extraction targets. Similar to the processing in step S1, the extraction of the character string as the noun may be performed by morphological analysis, for example, but may be extracted by a method other than morphological analysis. In this example, as illustrated in the table 331 illustrated in FIG. 8, character strings such as “VLAN-ID”, “name”,. Next, the parameter similarity calculation means 140 counts how many times the extracted noun appears in each parameter name and description of each parameter of the command of interest, and calculates the count result for each noun. A stored table (hereinafter referred to as a parameter vector calculation table) is created. The command similarity calculation means 130 counts for each individual noun how many times the extracted noun appears in each parameter name and each parameter description for each command in the conversion destination command group. The count result is stored in the parameter vector calculation table 331.

この結果、図8に例示するパラメータベクトル計算テーブル331が生成される。各コマンドについて、名詞毎に求めた計数結果の数値を並べることによって、ベクトルが得られる。計測結果の数値を並べる際の基準となる名詞の順番は、各ベクトルで共通である。図8に例示するパラメータベクトル計算テーブル331において、最初の数値の並びである(2,2,2,2,1,・・・)は、第1のパラメータベクトルである。2番目の数値の並びである(1,0,2,3,1,・・・)は、変換先コマンド群のコマンド「set vlan portbase」について求めた第2のパラメータベクトルである。3番目の数値の並びである(0,0,0,0,0,・・・)は、変換先コマンド群のコマンド「set snmp manager ip」について求めた第2のパラメータベクトルである。   As a result, a parameter vector calculation table 331 illustrated in FIG. 8 is generated. For each command, a vector is obtained by arranging the numerical values of the counting results obtained for each noun. The order of nouns used as a reference when arranging the numerical values of the measurement results is common to each vector. In the parameter vector calculation table 331 illustrated in FIG. 8, the first numerical value sequence (2, 2, 2, 2, 1,...) Is the first parameter vector. The second numerical value sequence (1, 0, 2, 3, 1,...) Is a second parameter vector obtained for the command “set vlan portbase” of the conversion destination command group. The third numerical sequence (0, 0, 0, 0, 0,...) Is a second parameter vector obtained for the command “set snmp manager ip” of the conversion destination command group.

ステップT1の後、パラメータ類似度計算手段140は、第1のパラメータベクトルと、それぞれの第2のパラメータベクトルとのコサイン類似度を求めることによって、着目コマンドと変換先コマンド群のそれぞれのコマンドとの間の、パラメータ名およびパラメータの説明文字列の類似度を計算する(ステップT2)。コサイン類似度の計算は、ステップS2(図5参照)と同様に行えばよい。   After step T1, the parameter similarity calculation means 140 obtains the cosine similarity between the first parameter vector and each of the second parameter vectors, so that the command of interest and each command of the conversion destination command group are obtained. The similarity between the parameter name and the parameter description character string is calculated (step T2). The cosine similarity calculation may be performed in the same manner as in step S2 (see FIG. 5).

また、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度を格納するためのテーブルを、パラメータ類似度テーブルと記す。図9にパラメータ類似度テーブルの例を示す。パラメータ類似度計算手段140は、ステップT2で計算した類似度をパラメータ類似度テーブル341に格納する。図9に示すパラメータ類似度テーブル341におけるコサイン類似度は、パラメータ名およびパラメータの説明文字列の類似度である。図9に示す例では、例えば、着目コマンドと、「set vlan portbase」との間における、パラメータ名およびパラメータの説明文字列の類似度が0.760であることを示している。   In addition, a table for storing the similarity between the parameter name and the parameter description character string, the matching degree of the total number of parameters, and the matching degree of the number of essential parameters is referred to as a parameter similarity table. FIG. 9 shows an example of the parameter similarity table. The parameter similarity calculation means 140 stores the similarity calculated in step T2 in the parameter similarity table 341. The cosine similarity in the parameter similarity table 341 shown in FIG. 9 is the similarity between the parameter name and the parameter description character string. In the example illustrated in FIG. 9, for example, the similarity between the parameter name and the parameter description character string between the command of interest and “set vlan portbase” is 0.760.

次に、パラメータ類似度計算手段140は、着目コマンドにおける全パラメータ数と、変換先コマンド群のコマンド毎の全パラメータ数を判断し、着目コマンドと変換先コマンド群の一つ一つのコマンドとの間における全パラメータ数の一致度を計算する(ステップT3)。全パラメータ数は、例えば、一つのコマンドについて抽出された各パラメータ名の数をカウントすることによって判断すればよい。例えば、図8に示す変換元コマンドテーブル311における「set vlan untag」については、全パラメータ数は3個と判断できる。同様に、変換先コマンドテーブル321における「set vlan portbase」の全パラメータ数も3個であり、「set snmp manager ip」の全パラメータ数も3個であると判断できる。   Next, the parameter similarity calculation unit 140 determines the total number of parameters in the command of interest and the total number of parameters for each command in the conversion destination command group, and determines between the attention command and each command in the conversion destination command group. The degree of coincidence of all the parameter numbers is calculated (step T3). The total number of parameters may be determined, for example, by counting the number of parameter names extracted for one command. For example, regarding “set vlan untag” in the conversion source command table 311 shown in FIG. Similarly, it can be determined that the total number of parameters of “set vlan portbase” in the conversion destination command table 321 is three, and the total number of parameters of “set snmp manager ip” is three.

ステップT3では、パラメータ類似度計算手段140は、変換先コマンド群のコマンド毎に、そのコマンドの全パラメータ数と着目コマンドの全パラメータ数の差の絶対値を求める。そして、差の絶対値が大きいほど、全パラメータ数の一致度が小さくなり、差の絶対値が小さいほど、全パラメータ数の一致度が大きくなるように、全パラメータ数の一致度を定める。例えば、変換先コマンド群のコマンドの全パラメータ数と着目コマンドの全パラメータ数の差の絶対値をQすると、Qに所定の正数を加算し、その加算結果の逆数を全パラメータ数の一致度として計算する。すなわち、所定の正数をRとした場合、1/(Q+R)を、全パラメータ数の一致度とすればよい。以下、R=1と定めた場合を例にする。   In step T3, the parameter similarity calculation means 140 obtains the absolute value of the difference between the number of all parameters of the command and the number of all parameters of the command of interest for each command in the conversion destination command group. The degree of coincidence of all parameters is determined such that the degree of coincidence of all parameters decreases as the absolute value of the difference increases, and the degree of coincidence of all parameters increases as the absolute value of the difference decreases. For example, when the absolute value of the difference between the total number of parameters of the command in the conversion destination command group and the total number of parameters of the command of interest is Q, a predetermined positive number is added to Q, and the reciprocal of the addition result is the degree of coincidence of the total number of parameters. Calculate as That is, when a predetermined positive number is R, 1 / (Q + R) may be set as the degree of coincidence of all parameter numbers. Hereinafter, a case where R = 1 is set as an example.

ステップT3の計算例を示す。着目コマンドである「set vlan untag」の全パラメータ数は3であり、変換先コマンド群のコマンド「set vlan portbase」の全パラメータ数も3である。よって、パラメータ類似度計算手段140は、両者の差の絶対値|3−3|=0を計算し、差の絶対値0を用いて、1/(0+1)=1を計算する。この1が「set vlan untag」および「set vlan portbase」における全パラメータ数の一致度である。着目コマンドと、変換先コマンド群のもう一つのコマンド「set snmp manager ip」とに関しても、全パラメータ数の差の絶対値|3−3|=0を計算し、全パラメータ数の一致度を1/(0+1)の計算により、1とする。パラメータ類似度計算手段140は、変換先コマンド群のコマンド毎に計算した全パラメータ数の一致度を、パラメータ類似度テーブル341に格納する(図9参照)。   An example of calculation at step T3 is shown. The total number of parameters of “set vlan untag” that is the command of interest is 3, and the total number of parameters of the command “set vlan portbase” of the conversion destination command group is also 3. Therefore, the parameter similarity calculation means 140 calculates the absolute value | 3-3 | = 0 of the difference between the two, and calculates 1 / (0 + 1) = 1 using the absolute value 0 of the difference. This 1 is the degree of coincidence of all parameter numbers in “set vlan untag” and “set vlan portbase”. Also for the command of interest and another command “set snmp manager ip” of the conversion destination command group, the absolute value | 3-3 | = 0 of the difference in the total number of parameters is calculated, and the degree of coincidence of the total number of parameters is set to 1. It is set to 1 by calculation of / (0 + 1). The parameter similarity calculation unit 140 stores the degree of coincidence of all the parameter numbers calculated for each command in the conversion destination command group in the parameter similarity table 341 (see FIG. 9).

次に、パラメータ類似度計算手段140は、着目コマンドにおける必須パラメータ数と、変換先コマンド群のコマンド毎の必須パラメータ数を判断し、着目コマンドと変換先コマンド群の一つ一つのコマンドとの間における必須パラメータ数の一致度を計算する(ステップT4)。必須パラメータ数は、必須パラメータ数を特定可能な情報から判断すればよい。本実施形態では、必須パラメータ数を特定可能な情報は、必須パラメータのリストであり、そのリストに挙げられたパラメータの数を計数すればよい。例えば、例えば、図8に示す変換元コマンドテーブル311における「set vlan untag」については、必須パラメータがパラメータ1(1番目のパラメータ)およびパラメータ2(2番目のパラメータ)であることが示されている。よって、必須パラメータ数は2であると判断できる。同様に、変換先コマンドテーブル321における「set vlan portbase」の必須パラメータ数も2個であり、「set snmp manager ip」の必須パラメータ数は3個であると判断できる。   Next, the parameter similarity calculation unit 140 determines the number of essential parameters in the command of interest and the number of essential parameters for each command of the conversion destination command group, and determines between the attention command and each command of the conversion destination command group. The degree of coincidence of the number of essential parameters is calculated (step T4). The number of essential parameters may be determined from information that can identify the number of essential parameters. In the present embodiment, the information that can identify the number of essential parameters is a list of essential parameters, and the number of parameters listed in the list may be counted. For example, for “set vlan untag” in the conversion source command table 311 shown in FIG. 8, for example, it is indicated that the essential parameters are parameter 1 (first parameter) and parameter 2 (second parameter). . Therefore, it can be determined that the number of essential parameters is two. Similarly, it can be determined that the number of essential parameters of “set vlan portbase” in the conversion destination command table 321 is two, and the number of essential parameters of “set snmp manager ip” is three.

ステップT4では、変換先コマンド群のコマンド毎に必須パラメータ数の一致度を計算する。必須パラメータ数の一致度は、全パラメータ数の一致度と同様の計算で求めればよい。すなわち、必須パラメータ数の差の絶対値が大きいほど、必須パラメータ数の一致度が小さくなり、必須パラメータ数の差の絶対値が小さいほど、必須パラメータ数の一致度が大きくなるように、必須パラメータ数の一致度を求める。例えば、変換先コマンド群のコマンドの必須パラメータ数と着目コマンドの必須パラメータ数の差の絶対値をQ’とすると、Q’に所定の正数Rを加算し、その加算結果の逆数を必須パラメータ数の一致度として計算する。すなわち、1/(Q’+R)を計算すればよい。以下、本例において、R=1とする。   In step T4, the degree of coincidence of the number of essential parameters is calculated for each command in the conversion destination command group. The degree of coincidence of essential parameters may be obtained by the same calculation as the degree of coincidence of all parameters. That is, the larger the absolute value of the difference in the number of required parameters, the smaller the degree of coincidence of the essential parameters, and the smaller the absolute value of the difference in the number of essential parameters, the larger the degree of coincidence of the essential parameters. Find the coincidence of numbers. For example, if the absolute value of the difference between the number of essential parameters of the command in the conversion destination command group and the number of essential parameters of the command of interest is Q ′, a predetermined positive number R is added to Q ′, and the reciprocal of the addition result is the essential parameter. Calculate as the number of matches. That is, 1 / (Q ′ + R) may be calculated. Hereinafter, in this example, R = 1.

ステップT4の計算例を示す。着目コマンドである「set vlan untag」の必須パラメータ数は2であり、変換先コマンド群のコマンド「set vlan portbase」の必須パラメータ数も2である。よって、パラメータ類似度計算手段140は、両者の差の絶対値|2−2|=0を計算し、差の絶対値0を用いて、1/(0+1)=1を計算する。この1が「set vlan untag」および「set vlan portbase」における必須パラメータ数の一致度である。また、変換先コマンド群のもう一つのコマンド「set snmp manager ip」の必須パラメータ数は3である。よって、「set snmp manager ip」に関しては、「set vlan untag」の必須パラメータ数2との差の絶対値|2−3|=1を計算し、差の絶対値1を用いて、1/(1+1)=0.5を計算する。この0.5が「set vlan untag」および「set snmp manager ip」における必須パラメータ数の一致度である。パラメータ類似度計算手段140は、変換先コマンド群のコマンド毎に計算した必須パラメータ数の一致度を、パラメータ類似度テーブル341に格納する(図9参照)。   An example of calculation at step T4 is shown. The number of required parameters of the “set vlan unttag” that is the command of interest is 2, and the number of required parameters of the command “set vlan portbase” of the conversion destination command group is also 2. Therefore, the parameter similarity calculation means 140 calculates the absolute value | 2-2 | = 0 of the difference between the two, and calculates 1 / (0 + 1) = 1 using the absolute value 0 of the difference. This 1 is the degree of coincidence of the number of essential parameters in “set vlan untag” and “set vlan portbase”. The number of essential parameters of another command “set snmp manager ip” in the conversion destination command group is three. Therefore, for “set snmp manager ip”, the absolute value | 2−3 | = 1 of the difference from the number of essential parameters 2 of “set vlan untag” is calculated, and 1 / ( 1 + 1) = 0.5 is calculated. This 0.5 is the degree of coincidence of the number of essential parameters in “set vlan untag” and “set snmp manager ip”. The parameter similarity calculation unit 140 stores the degree of coincidence of the number of essential parameters calculated for each command in the conversion destination command group in the parameter similarity table 341 (see FIG. 9).

パラメータ類似度計算手段140は、ステップT2〜T4の結果を格納したパラメータ類似度テーブル341をコマンド選択手段150に渡す。   The parameter similarity calculating unit 140 passes the parameter similarity table 341 storing the results of steps T2 to T4 to the command selecting unit 150.

なお、コマンド類似度計算手段130がコマンド名およびコマンドの説明文字列の類似度を計算する処理と、パラメータ類似度計算手段140がパラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度および必須パラメータ数の一致度を計算する処理とでは、どちらの処理を先におこなってもよい。また、コマンド類似度計算手段130と、パラメータ類似度計算手段140とが独立したコンピュータによって実現され、2つのコンピュータが同時に処理を行ってもよい。   It should be noted that the command similarity calculation unit 130 calculates the similarity between the command name and the command description character string, and the parameter similarity calculation unit 140 matches the parameter name and the parameter description character string similarity, and the total number of parameters. Either processing may be performed first in the processing for calculating the degree of coincidence between the degree and the number of essential parameters. Further, the command similarity calculation unit 130 and the parameter similarity calculation unit 140 may be realized by independent computers, and two computers may perform processing simultaneously.

コマンド名およびコマンドの説明文字列の類似度、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度および必須パラメータ数の一致度が計算された後、コマンド選択手段150は、それらの値を用いて、着目コマンドと、変換先コマンド群の一つ一つのコマンドとの総合類似度を計算する。コマンド選択手段150は、その総合類似度を利用して、着目コマンドと、変換先コマンド群中の一つのコマンドとを対応付ける。また、コマンド選択手段150が着目コマンドと変換先コマンド群のコマンドとの対応付けを行ったならば、例えばコマンド類似度計算手段130が変換元コマンド群から新たに着目コマンドを選択し、新たに選択した着目コマンドについて、コマンド関連情報の類似度、パラメータ関連情報の類似度を求め、さらに総合類似度を求めてコマンドの対応付けを行う処理を繰り返す。   After the command name and command description character string similarity, the parameter name and parameter description character string similarity, the total parameter number coincidence, and the required parameter number coincidence are calculated, the command selection means 150 Is used to calculate the total similarity between the command of interest and each command of the conversion destination command group. The command selection unit 150 uses the total similarity to associate the command of interest with one command in the conversion destination command group. Further, if the command selection unit 150 associates the target command with the command of the conversion destination command group, for example, the command similarity calculation unit 130 newly selects the target command from the conversion source command group and newly selects it. For the command of interest, the degree of similarity of the command related information and the degree of similarity of the parameter related information are obtained, and the process of associating the commands by obtaining the overall similarity is repeated.

図10は、変換元コマンド群から選択された着目コマンドと変換先コマンド群中の一つのコマンドとを対応付ける処理の例を示すフローチャートである。図11は、コマンド選択手段150が実行するコマンドの対応付けの具体例を示す説明図である。   FIG. 10 is a flowchart illustrating an example of processing for associating the command of interest selected from the conversion source command group with one command in the conversion destination command group. FIG. 11 is an explanatory diagram illustrating a specific example of command association executed by the command selection unit 150.

まず、コマンド選択手段150は、コマンド類似度計算手段130の計算結果(コマンド名およびコマンドの説明文字列の類似度)と、パラメータ類似度計算手段140の計算結果(パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度および必須パラメータ数の一致度)とを用いて、着目コマンドと、変換先コマンド群のコマンドとの総合類似度を、変換先コマンド群の一つ一つのコマンド毎に計算する(ステップU1)。コマンド名およびコマンドの説明文字列の類似度は、コマンド名類似度テーブル340を参照すればよい。また、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度および必須パラメータ数の一致度は、パラメータ類似度テーブル341を参照すればよい。総合類似度は、例えば、コマンド名およびコマンドの説明文字列の類似度と、パラメータ名およびパラメータの説明文字列の類似度と、全パラメータ数の一致度と、必須パラメータ数の一致度との和として求めればよい。   First, the command selection unit 150 calculates the calculation result of the command similarity calculation unit 130 (the similarity between the command name and the command description character string) and the calculation result of the parameter similarity calculation unit 140 (the parameter name and the parameter description character string). The similarity of all parameters, the degree of agreement of all parameters, and the degree of agreement of essential parameters), and the total similarity between the command of interest and the commands of the conversion destination command group is determined for each command of the conversion destination command group. Calculate every time (step U1). The command name similarity table 340 may be referred to for the similarity between the command name and the command description character string. Further, the parameter similarity table 341 may be referred to for the similarity between the parameter name and the parameter description character string, the coincidence of all parameter numbers, and the coincidence of essential parameter numbers. The total similarity is, for example, the sum of the similarity of the command name and the description string of the command, the similarity of the parameter name and the description string of the parameter, the coincidence of all the parameters, and the coincidence of the required parameters. As long as you ask.

例えば、着目コマンド「set vlan untag」と、変換先コマンド群のコマンド「set vlan portbase」との間における、コマンド名およびコマンドの説明文字列の類似度が0.738であるとする(図11参照)。また、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度が、それぞれ0.760,1,1であるとする(図11参照)。この場合、コマンド選択手段150は、「set vlan untag」と「set vlan portbase」の総合類似度を、0.738+0.760+1+1=3.498と計算する。同様に、着目コマンド「set vlan untag」と、変換先コマンド群のコマンド「set snmp manager ip」との総合類似度を、0.175+0+1+0.5=1.675と計算する。   For example, the similarity between the command name and the command description character string between the focused command “set vlan untag” and the command “set vlan portbase” of the conversion destination command group is 0.738 (see FIG. 11). ). Further, it is assumed that the similarity between the parameter name and the parameter description character string, the matching degree of the total number of parameters, and the matching degree of the number of essential parameters are 0.760, 1, and 1, respectively (see FIG. 11). In this case, the command selection unit 150 calculates the total similarity of “set vlan untag” and “set vlan portbase” as 0.738 + 0.760 + 1 + 1 = 3.498. Similarly, the overall similarity between the command of interest “set vlan untag” and the command “set snmp manager ip” of the conversion destination command group is calculated as 0.175 + 0 + 1 + 0.5 = 1.675.

ステップU1において、コマンド選択手段150は、着目コマンドとの総合類似度を変換先コマンド群のコマンド毎に求めた結果をテーブルに格納する。以下、このテーブルを総合類似度テーブルと記す。本例では、ステップU1の結果、図11に示す総合類似度テーブル350が得られる。   In step U1, the command selection means 150 stores the result of obtaining the total similarity with the command of interest for each command in the conversion destination command group in a table. Hereinafter, this table is referred to as an overall similarity table. In this example, as a result of step U1, a comprehensive similarity table 350 shown in FIG. 11 is obtained.

次に、コマンド選択手段150は、着目コマンドと対応付けられる候補(すなわち、変換先コマンド群の各コマンド)を、着目コマンドとの総合類似度が高い順に並べ替える。そして、並べ替えた順に、着目コマンドと、変換先コマンド群の各コマンドとの組をユーザに提示する(ステップU2)。ステップU2では、総合類似度の値も提示してよい。例えば、コマンド対応付け支援システム100が備えるディスプレイ装置(図示せず)に表示させればよい。ユーザへの提示方法は、特に限定されない。例えば、ディスプレイ装置上にGUI(Graphical User Interface)を表示させてもよい。あるいは、コマンドプロンプトに標準出力することによって出力してもよい。   Next, the command selection unit 150 rearranges candidates associated with the command of interest (that is, each command in the conversion destination command group) in descending order of the overall similarity with the command of interest. Then, a set of the command of interest and each command of the conversion destination command group is presented to the user in the rearranged order (step U2). In step U2, the value of total similarity may be presented. For example, what is necessary is just to display on the display apparatus (not shown) with which the command matching assistance system 100 is provided. The presentation method to the user is not particularly limited. For example, a GUI (Graphical User Interface) may be displayed on the display device. Or you may output by carrying out standard output to a command prompt.

ステップU2において、例えば、総合類似度テーブル350に格納された各コマンドを総合類似度順に並べ替えてもよい。図11に示す総合類似度テーブル351は、総合類似度順に並べ替えた結果を示している。図11に示す例では、並べ替え前後で、総合類似度テーブルは変化していない。   In step U2, for example, the commands stored in the overall similarity table 350 may be rearranged in the order of overall similarity. A total similarity table 351 shown in FIG. 11 shows the result of sorting in the order of total similarity. In the example shown in FIG. 11, the total similarity table does not change before and after the rearrangement.

着目コマンドと、変換先コマンド群の各コマンドとの組を出力する場合、例えば、着目コマンドと、並べ替え後の総合類似度テーブルを出力すればよい。総合類似度テーブルに含まれる個々のコマンドは、同時に出力された着目コマンドとの組を表す。   When outputting a set of the command of interest and each command of the conversion destination command group, for example, the command of interest and the total similarity table after rearrangement may be output. Each command included in the total similarity table represents a set with a command of interest output at the same time.

ユーザは、総合類似度が高い順に出力される総合類似度テーブルに含まれる個々のコマンドを参照して、着目コマンドと対応付けるべきコマンドを判断し、そのコマンドを指定する操作を行う。すなわち、対応付けるべき着目コマンドと選択先コマンド群のコマンドとの組を指定する。ステップU2において、コマンド選択手段150は、例えば、ユーザ操作部(図示せず)を介して、ユーザによる指定を受けると、指定された組み合わせにおけるコマンド同士を対応付ける。例えば、図11に示す総合類似度テーブル351における「set vlan portbase」がユーザに選択されることで、「set vlan untag」と「set vlan portbase」との組が指定される。すると、コマンド選択手段150は、そのコマンド同士を対応付ける。コマンド選択手段150は、対応付けた変換元コマンド群のコマンドおよび変換先コマンド群のコマンドを変換ルール作成手段160に通知する。例えば、コマンド名の組を変換ルール作成手段160に渡す。   The user refers to each command included in the overall similarity table output in descending order of the overall similarity, determines a command to be associated with the command of interest, and performs an operation of designating the command. That is, a set of a command of interest to be associated and a command of a selection destination command group is designated. In step U2, the command selecting means 150 associates commands in the specified combination with each other, for example, upon receiving a user's specification via a user operation unit (not shown). For example, when “set vlan portbase” in the total similarity table 351 illustrated in FIG. 11 is selected by the user, a set of “set vlan untag” and “set vlan portbase” is designated. Then, the command selection unit 150 associates the commands with each other. The command selection means 150 notifies the conversion rule creation means 160 of the commands of the associated conversion source command group and the conversion destination command group. For example, the command name pair is passed to the conversion rule creation means 160.

また、コマンド選択手段150は、ユーザに指定された組に含まれるコマンドを、総合類似度テーブル351の中から削除する。また、そのコマンドを、コマンド類似度計算手段130およびパラメータ類似度計算手段140が参照する変換元コマンドテーブル310や、コマンド類似度計算手段130およびパラメータ類似度計算手段140が読み込んだ変換先コマンドテーブル320から削除する(ステップU3)。例えば、「set vlan untag」と「set vlan portbase」とが対応付けられたならば、コマンド類似度計算手段130およびパラメータ類似度計算手段140が参照する変換元コマンドテーブル310から、「set vlan untag」に関する各情報を削除する。また、コマンド類似度計算手段130およびパラメータ類似度計算手段140が読み込んだ変換先コマンドテーブル320から「set vlan portbase」に関する各情報を削除する。   Further, the command selection unit 150 deletes the commands included in the set designated by the user from the total similarity table 351. Further, the command is converted by the command similarity calculation unit 130 and the parameter similarity calculation unit 140, and the conversion destination command table 320 read by the command similarity calculation unit 130 and the parameter similarity calculation unit 140. (Step U3). For example, if “set vlan unttag” and “set vlan portbase” are associated with each other, “set vlan untag” is obtained from the conversion source command table 310 referred to by the command similarity calculation unit 130 and the parameter similarity calculation unit 140. Delete each information about. Further, each piece of information relating to “set vlan portbase” is deleted from the conversion destination command table 320 read by the command similarity calculation unit 130 and the parameter similarity calculation unit 140.

ステップU3が完了したならば、ステップU3でコマンドが削除された変換元コマンドテーブル310、変換先コマンドテーブル320を用いて、コマンド類似度計算手段130がステップS1〜S2の処理を行い、パラメータ類似度計算手段140がステップT1〜T4の処理を行い、コマンド選択手段150が、ステップU1〜U3を行う。この処理を繰り返すことで、コマンドの対応付けを順次行っていく。対応付けの完了したコマンドをテーブルから削除するので、コマンド同士の対応付けを行う毎に、コマンド類似度計算手段130およびパラメータ類似度計算手段140の類似度計算を高速化することができる。   When step U3 is completed, the command similarity calculation means 130 performs the processing of steps S1 to S2 using the conversion source command table 310 and the conversion destination command table 320 from which the command is deleted in step U3, and the parameter similarity The calculation means 140 performs the processing of steps T1 to T4, and the command selection means 150 performs steps U1 to U3. By repeating this process, the commands are sequentially associated. Since the command for which the association has been completed is deleted from the table, it is possible to speed up the similarity calculation of the command similarity calculation unit 130 and the parameter similarity calculation unit 140 each time the commands are associated with each other.

そして、例えば、変換元コマンド群の全てのコマンドについて対応付けが完了したならば、繰り返し処理を終了する。   For example, when the association is completed for all commands in the conversion source command group, the iterative process is terminated.

また、ステップU2において、総合類似度だけでなく、コマンド名およびコマンドの説明文字列の類似度(コサイン類似度)、パラメータ名およびパラメータの説明文字列の類似度(コサイン類似度)、全パラメータ数一致度、および必須パラメータ数一致度も同時に提示してよい。そして、それらの項目のうち、いずれかがユーザに指定されたならば、指定された項目の値の大きい順に、再度並べ替えを行って、並べ替え毎のコマンドの組を再提示してもよい。   In step U2, not only the overall similarity but also the command name and command description character string similarity (cosine similarity), the parameter name and parameter description character string similarity (cosine similarity), and the total number of parameters The degree of coincidence and the degree of coincidence of required parameters may be presented at the same time. Then, if any of these items is designated by the user, it may be rearranged again in descending order of the value of the designated item, and a command set for each rearrangement may be presented again. .

また、上記の例では、ユーザにコマンドを提示し、ユーザに指定されたコマンドの組を対応付ける場合を示したが、ユーザに対する提示を行わなくてもよい。例えば、コマンド選択手段150は、ステップU1で計算した総合類似度が最大となる着目コマンドと選択先コマンド群のコマンドとの組を特定し、総合類似度が最大となる着目コマンドと選択先コマンド群のコマンドとを対応付けてもよい。その後、コマンド選択手段150は、対応付けたコマンドをテーブルから削除する処理(ステップU3)を行ってもよい。他の点については、既に説明した動作と同様である。   In the above example, a case is shown in which a command is presented to the user and a set of commands designated by the user is associated, but the presentation to the user may not be performed. For example, the command selection unit 150 identifies a set of a command of interest and a command in the selection destination command group that has the maximum overall similarity calculated in Step U1, and a command of interest and a selection destination command group that have the maximum overall similarity. These commands may be associated with each other. Thereafter, the command selection unit 150 may perform a process of deleting the associated command from the table (step U3). The other points are the same as those already described.

コマンド選択手段150によって、コマンド同士の対応付けが行われた後、変換ルール作成手段160は、対応付けられたコマンドの組毎に、変換元コマンド群のコマンドを変換先コマンド群のコマンドに変換する変換ルールを生成する。例えば、変換ルール作成手段160は、対応付けられたコマンドの組における変換元側のコマンドのコマンド名を変換先側のコマンド名に変換し、変換元側のコマンドの各パラメータを、変換先側のコマンドにおける各パラメータに用いることを指定する変換ルールを作成する。なお、変換ルール作成手段160は、対応付けられたコマンドをコマンド選択手段150から通知される。通知されたコマンドの各コマンドのパラメータは、例えば、変換元コマンドテーブル、変換先コマンドテーブルを参照すればよい。変換元コマンドテーブル、変換先コマンドテーブルは、それぞれ、コマンド類似度計算手段130、パラメータ類似度計算手段140から渡されればよい。   After the commands are associated with each other by the command selection unit 150, the conversion rule creation unit 160 converts the commands of the conversion source command group into the commands of the conversion destination command group for each pair of the associated commands. Generate conversion rules. For example, the conversion rule creating means 160 converts the command name of the conversion source side command in the associated command set into the conversion destination side command name, and converts each parameter of the conversion source side command to the conversion destination side command name. Create a conversion rule that specifies use for each parameter in the command. The conversion rule creation unit 160 is notified of the associated command from the command selection unit 150. For parameters of each command of the notified command, for example, a conversion source command table and a conversion destination command table may be referred to. The conversion source command table and the conversion destination command table may be passed from the command similarity calculation unit 130 and the parameter similarity calculation unit 140, respectively.

図12は、変換ルールを作成する処理の具体例を示す。図12に示す変換元コマンドと変換先コマンドが対応付けられているとする。変換ルール作成手段160は、対応付けられた変換元コマンドのコマンド名および各パラメータ名を格納し、さらに、変換先コマンドのコマンド名を格納し、変換先コマンドの各パラメータとして、変換元コマンドにおける対応するパラメータとして用いることを指定した情報を格納したテーブル(以下、変換ルールテーブル)を作成する。パラメータ同士の対応付けは、例えば、パラメータ名が同一の文字列を含んでいるパラメータ同士が対応付けられると判定すればよい。この変換ルールテーブルが、変換ルールとなる。また、変換ルール作成手段160は、機器名を指定する情報も変換ルールテーブルに格納する。機器名は、例えば、要素抽出手段110が抽出した機器名を用いればよい。なお、本例では、コマンドマニュアルが機器のコマンドマニュアルである場合を例示したが、コマンドマニュアルはソフトウェアのコマンドマニュアルであってもよい。その場合、要素抽出手段110がコマンドマニュアルからソフトウェア名を抽出し、変換ルール作成手段160は、ソフトウェア名を指定する情報を変換ルールテーブルに格納すればよい。   FIG. 12 shows a specific example of processing for creating a conversion rule. Assume that the conversion source command and the conversion destination command shown in FIG. 12 are associated with each other. The conversion rule creation means 160 stores the command name and each parameter name of the associated conversion source command, further stores the command name of the conversion destination command, and the correspondence in the conversion source command as each parameter of the conversion destination command A table (hereinafter referred to as a conversion rule table) storing information that is designated as a parameter to be used is created. The association between parameters may be determined, for example, as the association between parameters including character strings having the same parameter name. This conversion rule table becomes a conversion rule. Further, the conversion rule creating means 160 also stores information for designating the device name in the conversion rule table. For example, the device name extracted by the element extraction unit 110 may be used as the device name. In this example, the case where the command manual is the command manual of the device is illustrated, but the command manual may be a software command manual. In this case, the element extraction unit 110 extracts the software name from the command manual, and the conversion rule creation unit 160 may store information specifying the software name in the conversion rule table.

図12に示す例では、ステップU2(図10参照)において、「set vlan untag」と組をなすコマンドとして「set vlan portbase」が選択された場合を例にしている。図12に示す変換ルールテーブル360では、変換元コマンドのコマンド名「set vlan untag」が格納され、変換元コマンドのコマンド名「set vlan portbase」が格納されている。また、変換元コマンドの3つのパラメータ名がそれぞれ格納され、変換先コマンドの1番目から3番目までの各パラメータとして、変換元パラメータの1番目から3番目を指定する情報が格納されている。図12に示す変換ルールテーブル360は、「機器名がBで変換元コマンド名『set vlan untag』である場合、変換先コマンド名『set vlan portbase』に変換し、変換元コマンドのパラメータ1『{VLAN−ID|Name}』を、変換先コマンドの最初のパラメータとして入力し、変換元コマンドのパラメータ2『ポート番号1〜26』を、変換先コマンドの2番目のパラメータとして入力し、変換元コマンドのパラメータ3『フレームタイプ指定』を、変換先コマンドの3番目のパラメータとして入力する。」ということを表す。なお、変換ルールテーブル360における各パラメータを格納する列の数は、変換元側のコマンドや変換先側のコマンドのパラメータ数に応じて可変である。   In the example illustrated in FIG. 12, the case where “set vlan portbase” is selected as a command paired with “set vlan untag” in step U2 (see FIG. 10) is taken as an example. In the conversion rule table 360 shown in FIG. 12, the command name “set vlan unttag” of the conversion source command is stored, and the command name “set vlan portbase” of the conversion source command is stored. Also, three parameter names of the conversion source command are stored, respectively, and information specifying the first to third conversion source parameters is stored as the first to third parameters of the conversion destination command. The conversion rule table 360 shown in FIG. 12 indicates that “if the device name is B and the conversion source command name“ set vlan unttag ”is converted to the conversion destination command name“ set vlan portbase ”, the parameter 1“ { VLAN-ID | Name} ”is input as the first parameter of the conversion destination command, and parameter 2“ port number 1 to 26 ”of the conversion source command is input as the second parameter of the conversion destination command. Parameter 3 “Specify frame type” is input as the third parameter of the conversion destination command. Note that the number of columns for storing each parameter in the conversion rule table 360 is variable according to the number of parameters of the command on the conversion source side and the command on the conversion destination side.

なお、変換ルールの記述形式は、コマンド名および各パラメータの対応付けができれば、図12に例示する記述形式に限定されない。   Note that the description format of the conversion rule is not limited to the description format illustrated in FIG. 12 as long as the command name can be associated with each parameter.

変換ルール作成手段160は、作成した変換ルール(本例では変換ルールテーブル360)を変換ルール記憶装置170に記憶される。   The conversion rule creation means 160 stores the created conversion rule (in this example, the conversion rule table 360) in the conversion rule storage device 170.

なお、変換ルール作成手段160が変換ルールを作成する際に、対応付けられているコマンド同士でパラメータ数が一致していない場合もあり得る。その場合、対応付け可能なパラメータだけを使って変換ルールを作成すればよい。対応付けられなかったパラメータが存在する場合、変換ルールとともに、そのパラメータのパラメータ名も変換ルール記憶装置170に記憶させればよい。   When the conversion rule creation unit 160 creates the conversion rule, there may be a case where the number of parameters does not match between the associated commands. In that case, a conversion rule may be created using only parameters that can be associated. If there is a parameter that is not associated, the conversion rule storage device 170 may store the parameter name of the parameter together with the conversion rule.

変換ルール記憶装置170が記憶する変換ルールテーブル360をユーザが編集可能な構成であってもよい。例えば、コマンド対応付け支援システム100がキーボードやマウス等のユーザに操作されるユーザ操作部(図示せず)と、そのユーザ操作部を介して入力されたユーザの指示により、変換ルール記憶装置170が記憶する変換ルールテーブル360を編集する変換ルール編集手段(図示せず)とを備えていてもよい。変換ルール編集手段は、ユーザの指示に従って、変換ルール記憶装置170が記憶する変換ルールテーブル360に対して、新たな内容を追加したり、修正したり、削除したりしてもよい。変換ルール編集手段(図示せず)も、例えば、プログラムに従って動作するCPUによって実現される。   The conversion rule table 360 stored in the conversion rule storage device 170 may be editable by the user. For example, the conversion rule storage device 170 is operated by a user operation unit (not shown) operated by the user such as a keyboard and a mouse by the command association support system 100 and a user instruction input via the user operation unit. You may provide the conversion rule edit means (not shown) which edits the conversion rule table 360 to memorize | store. The conversion rule editing unit may add, modify, or delete new contents in the conversion rule table 360 stored in the conversion rule storage device 170 in accordance with a user instruction. The conversion rule editing means (not shown) is also realized by a CPU that operates according to a program, for example.

次に、本発明の第1の実施形態の効果について説明する。本実施形態では、ユーザが任意のコマンドマニュアルを入力すると、コマンド関連情報の類似度と、パラメータ関連情報の類似度とをそれぞれ計算し、その類似度から、コマンド同士の総合類似度を計算する。そして、変換元コマンド群の着目コマンドとの総合類似度が高い順に、変換先コマンド群のコマンドをユーザに提示し、着目コマンドと変換先コマンド群のコマンドとの組が指定された場合、その着目コマンドと変換先コマンド群のコマンドとを対応付ける。よって、2つのコマンド群間における各コマンドの対応付けを正確、かつ高速に行うことができる。総合類似度の高い順にコマンドが提示されるので、ユーザは適切な判断をしやすくなり、その結果、正確で高速な対応付けが可能となる。ユーザが選択するのではなく、着目コマンドとの総合類似度が最も高いコマンドを自動的に選択して対応付けを行う場合でも同様の効果が得られる。また、パラメータ関連情報の類似度として、パラメータ名およびパラメータの説明文字列の類似度の他に、全パラメータ数の一致度、必須パラメータ数の一致度も用いることで、対応付けの正確性をより高めることができる。   Next, effects of the first exemplary embodiment of the present invention will be described. In the present embodiment, when the user inputs an arbitrary command manual, the similarity of the command related information and the similarity of the parameter related information are respectively calculated, and the total similarity between the commands is calculated from the similarities. Then, the commands of the conversion destination command group are presented to the user in descending order of the total similarity with the target command of the conversion source command group, and when the set of the command of the conversion target command and the command of the conversion destination command group is designated, Associate a command with a command in the conversion destination command group. Therefore, it is possible to accurately and quickly associate each command between the two command groups. Since commands are presented in descending order of overall similarity, the user can easily make an appropriate determination, and as a result, accurate and high-speed association is possible. The same effect can be obtained even when the user automatically selects and associates the command having the highest overall similarity with the command of interest, instead of the user selecting it. In addition to the similarity between the parameter name and the parameter description string, the matching degree of all parameters and the matching number of essential parameters can be used as the similarity of the parameter related information, thereby further increasing the accuracy of association. Can be increased.

また、本発明では、コマンドマニュアルにおけるコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド関連情報およびパラメータ関連情報を抽出するので、コマンドマニュアルに含まれる複数のコマンドについてそれぞれ対応付けを行うことができる。   Also, in the present invention, the range of information for each command in the command manual is specified, and the command related information and parameter related information are extracted for each command. be able to.

実施形態2.
図13は、本発明の第2の実施形態の構成例を示すブロック図である。第1の実施形態と同様の構成要素については、図1と同一の符号を付して説明を省略する。第2の実施形態のコマンド対応付け支援システム100は、要素抽出手段110と、コマンド情報記憶装置120と、コマンド類似度計算手段130と、パラメータ類似度計算手段140と、コマンド選択手段150と、変換ルール作成手段160と、変換ルール記憶装置170と、パラメータ同義語記憶装置410と、パラメータ語統一手段420とを備える。
Embodiment 2. FIG.
FIG. 13 is a block diagram illustrating a configuration example of the second exemplary embodiment of the present invention. The same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. The command association support system 100 according to the second embodiment includes an element extraction unit 110, a command information storage device 120, a command similarity calculation unit 130, a parameter similarity calculation unit 140, a command selection unit 150, a conversion A rule creation unit 160, a conversion rule storage device 170, a parameter synonym storage device 410, and a parameter word unification unit 420 are provided.

パラメータ同義語記憶装置410は、同義語の組(同義語となる語同士の組)を記憶する記憶装置である。パラメータ同義語記憶装置410には、各種機器やソフトウェアで用いられるコマンドのパラメータにおいて、同じ意味でパラメータ名として用いられることがあると想定される同義語の組を記憶させておく。例えば、コマンド対応付け支援システム100の管理者や設計者が予め同義語の組をパラメータ同義語記憶装置410に記憶させておけばよい。例えば、「回線番号」というパラメータ名と、同じ意味のパラメータ名で「ポート番号」が採用されることがあると想定される場合、予め「回線番号」と「ポート番号」とを同義語の組としてパラメータ同義語記憶装置410に記憶させておけばよい。パラメータ同義語記憶装置410が同義を記憶する態様については後述する。   The parameter synonym storage device 410 is a storage device that stores a set of synonyms (a set of words that are synonyms). The parameter synonym storage device 410 stores a set of synonyms that are assumed to be used as parameter names in the same meaning in command parameters used in various devices and software. For example, an administrator or a designer of the command association support system 100 may store a set of synonyms in the parameter synonym storage device 410 in advance. For example, if it is assumed that a parameter name “line number” and a “port number” may be adopted with a parameter name having the same meaning, a combination of “line number” and “port number” is synonymous in advance. May be stored in the parameter synonym storage device 410. A mode in which the parameter synonym storage device 410 stores synonyms will be described later.

パラメータ語統一手段420は、要素抽出手段110が抽出した変換元コマンド群のコマンドの各パラメータ名および各パラメータの説明文字列と、コマンド情報記憶装置120に記憶されているコマンド(変換先コマンド群のコマンド)の各パラメータ名および各パラメータの説明文字列とに含まれている語の中に、同義語を持つ語が含まれているならば、パラメータ同義語記憶装置410を参照して、同義語の組内の一つの同義語に変換する。例えば、変換元コマンド群のコマンドあるいは変換先コマンド群のコマンドのパラメータ名およびパラメータの説明文字列に「回線番号」という語が含まれているとする。また、パラメータ同義語記憶装置410に、「回線番号」と「ポート番号」とが同義語の組として記憶されているとする。この場合、パラメータ語統一手段420は、各パラメータ名および各パラメータの説明文字列に含まれる「回線場号」を「ポート番号」に変換することによって、「ポート番号」に統一する。   The parameter word unifying unit 420 includes each parameter name of the command of the conversion source command group extracted by the element extraction unit 110 and an explanation character string of each parameter, and a command stored in the command information storage device 120 (conversion destination command group). If a word having a synonym is included in the words included in each parameter name and the description character string of each parameter, the synonym is referred to the parameter synonym storage device 410. To a single synonym in the pair. For example, it is assumed that the word “line number” is included in the parameter name and parameter description character string of the command of the conversion source command group or the command of the conversion destination command group. Further, it is assumed that “line number” and “port number” are stored in the parameter synonym storage device 410 as a set of synonyms. In this case, the parameter word unifying unit 420 unifies the “line number” included in each parameter name and the description character string of each parameter into “port number”, thereby unifying it into “port number”.

パラメータ語統一手段420は、同義語となる語を統一した後の各パラメータ名および各パラメータの説明文字列をパラメータ類似度計算手段140へ渡す。例えば、パラメータ語統一手段420は、要素抽出手段110から変換元コマンドテーブルを受け取り、変換元コマンドテーブル内における各コマンド名および各パラメータの説明文字列内の語を、パラメータ語統一手段420を参照して統一する。また、パラメータ語統一手段420は、コマンド情報記憶装置120から変換先コマンドテーブルを読み込み、その変換先コマンドテーブル内における各コマンド名および各パラメータの説明文字列内の語を、パラメータ語統一手段420を参照して統一する。パラメータ語統一手段420は、同義語を統一した変換元コマンドテーブルおよび変換先コマンドテーブルをパラメータ類似度計算手段140に渡し、パラメータ類似度計算手段140は、そのテーブルを用いて、パラメータ関連情報の類似度を計算する。   The parameter word unifying unit 420 passes to the parameter similarity calculating unit 140 the parameter names and the explanation character strings of the parameters after unifying the synonym words. For example, the parameter word unifying unit 420 receives the conversion source command table from the element extraction unit 110 and refers to the parameter word unifying unit 420 for the words in the command name and the description character string of each parameter in the conversion source command table. To unify. Further, the parameter word unifying unit 420 reads the conversion destination command table from the command information storage device 120, and converts the command name and the word in the description character string of each parameter in the conversion destination command table into the parameter word unifying unit 420. Refer to and unify. The parameter word unifying unit 420 passes the conversion source command table and the conversion destination command table in which synonyms are unified to the parameter similarity calculating unit 140, and the parameter similarity calculating unit 140 uses the table to calculate the similarity of the parameter related information. Calculate the degree.

その他の構成要素の動作は、第1の実施形態と同様である。ただし、変換ルール作成手段160は、パラメータ語統一手段420によって統一が行われる前の語を用いて変換ルール(変換ルールテーブル)を作成する。例えば、パラメータ語統一手段420が、同義語の統一を行った場合、変換前の語と変換後の語との対応関係をメモリに記憶させておき、変換ルール作成手段160は、そのメモリに記憶された対応関係を参照して、対応付けた変換元コマンド群のコマンドおよび変換先コマンド群のコマンドの各パラメータ名および各パラメータ文字列内の語を統一前の語に戻してから、変換ルールを作成すればよい。   The operation of other components is the same as that of the first embodiment. However, the conversion rule creating means 160 creates a conversion rule (conversion rule table) using the words before the unification by the parameter word unifying means 420. For example, when the parameter word unifying unit 420 unifies synonyms, the correspondence relationship between the word before conversion and the word after conversion is stored in the memory, and the conversion rule creating unit 160 stores the correspondence in the memory. Referring to the correspondence relationship, the conversion source command group command and the conversion destination command group command each parameter name and word in each parameter character string are returned to the word before unification, and then the conversion rule is changed. Create it.

なお、同義語を一つの語に統一する場合、変換元コマンド群および変換先コマンド群のコマンドのパラメータ名およびパラメータ説明文字列に含まれていなかった同義語に統一してもよい。あるいは、変換元コマンド群のコマンドのパラメータ名およびパラメータ説明文字列で用いられていた語で統一してもよい。あるいは、変換先コマンド群のコマンドのパラメータ名およびパラメータ説明文字列で用いられていた語で統一してもよい。   Note that when synonyms are unified into one word, they may be unified into synonyms that are not included in the parameter names and parameter explanation character strings of the commands of the conversion source command group and the conversion destination command group. Or you may unify with the word used by the parameter name and parameter description character string of the command of the conversion origin command group. Or you may unify with the word used by the parameter name and parameter description character string of the command of the conversion destination command group.

パラメータ同義語記憶装置410は、例えば、ハードディスクのような記憶装置によって実現される。また、パラメータ語統一手段420は、例えば、プログラムによって動作するCPUによって実現される。なお、プログラムは、例えば、コマンド対応付け支援システム100が備えるプログラム記憶装置(図示せず。)に記憶される。CPUは、そのプログラムを読み込み、そのプログラムに従って、パラメータ語統一手段420として動作する。   The parameter synonym storage device 410 is realized by a storage device such as a hard disk, for example. The parameter word unifying unit 420 is realized by a CPU that operates according to a program, for example. The program is stored in, for example, a program storage device (not shown) included in the command association support system 100. The CPU reads the program and operates as the parameter word unifying unit 420 according to the program.

次に、パラメータ同義語記憶装置410が記憶する内容の一例を示し、第2の実施形態の動作について説明する。図14は、パラメータ同義語記憶装置410が記憶する情報の例を示す説明図である。図14に示すように、同義語となる各語をそれぞれ、同義語0から同義語n(nは1以上)として定め、同義語0から同義語nまでの各語を対応付けたテーブル(以下、同義語テーブルと記す。)をパラメータ同義語記憶装置410に記憶させておく。図14に示す例では、「回線場号」と「ポート番号」が同義語として定められ、また、「VLAN−ID」と「VLAN_ID」と「VLAN番号」と「VLAN識別番号」とが同義語として定められている。各組における同義語の数は可変である。   Next, an example of the contents stored in the parameter synonym storage device 410 will be described, and the operation of the second embodiment will be described. FIG. 14 is an explanatory diagram illustrating an example of information stored in the parameter synonym storage device 410. As shown in FIG. 14, each word that becomes a synonym is defined as a synonym 0 to a synonym n (n is 1 or more), and a table that associates each word from synonym 0 to synonym n (hereinafter, , The synonym table) is stored in the parameter synonym storage device 410. In the example shown in FIG. 14, “line number” and “port number” are defined as synonyms, and “VLAN-ID”, “VLAN_ID”, “VLAN number”, and “VLAN identification number” are synonyms. It is defined as. The number of synonyms in each set is variable.

また、同義語の各組において、統一語として用いる語が定められる。それぞれの組において、一つの語を統一語として定めることができれば、統一語の定め方は特に限定されない。本例では、一つの組の同義語の数をmとすると、図14に例示する同義語テーブル430における「同義語(m−1)」に統一するものとする。例えば、同義語が2つである場合、「同義語1」として記憶された語に統一語とするものとする。   In addition, in each set of synonyms, a word used as a unified word is determined. As long as one word can be defined as a unified word in each group, the way of defining the unified word is not particularly limited. In this example, when the number of synonyms in one set is m, it is assumed that the number is synonymous with “synonyms (m−1)” in the synonym table 430 illustrated in FIG. For example, when there are two synonyms, the word stored as “synonym 1” is a unified word.

図15は、パラメータ語統一手段420の動作の例を示すフローチャートである。図16は、同義語の統一処理の具体例を示す説明図である。パラメータ語統一手段420は、要素抽出手段110から変換元コマンドテーブルを受け取り、コマンド情報記憶装置120から変換先コマンドテーブルを読み込むと、パラメータ同義語記憶装置410に記憶される同義語テーブル430に記憶される同義語の組から統一語以外の一つの語を選択する(ステップV1)。ここでは、図16に示す同義語テーブル430から「回線番号」を選択したとする。   FIG. 15 is a flowchart showing an example of the operation of the parameter word unifying unit 420. FIG. 16 is an explanatory diagram of a specific example of synonym unification processing. When the parameter word unifying unit 420 receives the conversion source command table from the element extraction unit 110 and reads the conversion destination command table from the command information storage device 120, the parameter word unification unit 420 stores the conversion source command table in the synonym table 430 stored in the parameter synonym storage device 410. One word other than the unified word is selected from the set of synonyms (step V1). Here, it is assumed that “line number” is selected from the synonym table 430 shown in FIG.

パラメータ語統一手段420は、ステップV1で選択した語に合致する語を、変換元コマンドテーブルおよび変換先コマンドテーブル内から検索し、変換元コマンドテーブルおよび変換先コマンドテーブルにおけるその語を、統一語に変換する(ステップV2)。例えば、ステップV1で「回線番号」を選択した場合、図16に例示する変換元コマンドテーブル312において「set vlan untag」の2番目のパラメータ名として「回線番号1〜26」が記述されているので、この文字列中の「回線番号」を「ポート番号」に変換する。その結果、このパラメータ名は「ポート番号1〜26」という記述に変換される。   The parameter word unifying unit 420 searches the conversion source command table and the conversion destination command table for a word that matches the word selected in step V1, and makes the word in the conversion source command table and the conversion destination command table a unified word. Conversion is performed (step V2). For example, when “line number” is selected in step V1, “line numbers 1 to 26” are described as the second parameter name of “set vlan untag” in the conversion source command table 312 illustrated in FIG. The “line number” in this character string is converted to a “port number”. As a result, this parameter name is converted into a description of “port numbers 1 to 26”.

また、パラメータ語統一手段420は、変換元コマンドテーブルおよび変換先コマンドテーブルにおけるどの語をどの語に変換したかという対応関係(変換前の語と変換後の語との対応関係)を、例えばメモリ(図示せず。)に記憶させておく。   Further, the parameter word unifying unit 420 indicates a correspondence relationship (correspondence relationship between the word before conversion and the word after conversion) indicating which word in the conversion source command table and the conversion destination command table has been converted to which word, for example, a memory. (Not shown).

以降、同様に、パラメータ語統一手段420は、統一語以外の語を選択し、変換元コマンドテーブルおよび変換先コマンドテーブル内におけるその語を統一語に変換する処理(ステップV1,V2)を繰り返す(ステップV3)。統一語以外の各語について統一語への変換が完了するまで、この繰り返し処理を行う。   Thereafter, similarly, the parameter word unifying unit 420 selects a word other than the uniform word and repeats the process (steps V1 and V2) for converting the word into the unified word in the conversion source command table and the conversion destination command table (steps V1 and V2). Step V3). This process is repeated until the conversion to the unified word is completed for each word other than the unified word.

なお、パラメータ名およびパラメータの説明文字列に、選択した語が複数回出現することがある。その場合、その語をそれぞれ統一語に変換する。例えば、「VLAN番号」を選択していて、「VLAN番号」を統一語に変換するとする。この場合、図16に示す変換先コマンドテーブル322において、「VLAN番号」は2回現れるが、この「VLAN番号」をいずれも統一語に変換する。   Note that the selected word may appear multiple times in the parameter name and parameter description character string. In that case, each word is converted into a unified word. For example, “VLAN number” is selected and “VLAN number” is converted into a unified word. In this case, in the conversion destination command table 322 shown in FIG. 16, “VLAN number” appears twice, but both “VLAN number” are converted into a unified word.

パラメータ類似度計算手段140は、パラメータ語統一手段420によって同義語が統一された変換元コマンドテーブルおよび変換先コマンドテーブルを用いて、パラメータ関連情報の類似度(パラメータ名およびパラメータ説明文字列の類似度、全パラメータ数の一致度、必須パラメータ数の一致度)を計算する。この計算方法は、第1の実施形態と同様である。また、コマンド類似度計算手段130、コマンド選択手段150は、第1の実施形態と同様に動作する。既に説明したように、変換ルール作成手段160は、パラメータ語統一手段420による変換前の語と変換後の語との対応関係を参照し、コマンド選択手段150によって対応付けられたコマンドのパラメータ名およびパラメータ文字列中の語を、変換前の語に戻す。そして、第1の実施形態と同様に、変換ルールを作成する。   The parameter similarity calculation means 140 uses the conversion source command table and the conversion destination command table whose synonyms are unified by the parameter word unification means 420, and uses the similarity of parameter related information (similarity of parameter name and parameter description character string). , The degree of coincidence of all parameter numbers, the degree of coincidence of essential parameter numbers). This calculation method is the same as in the first embodiment. Further, the command similarity calculation unit 130 and the command selection unit 150 operate in the same manner as in the first embodiment. As already described, the conversion rule creation unit 160 refers to the correspondence between the word before conversion by the parameter word unification unit 420 and the word after conversion, and the parameter name of the command associated by the command selection unit 150 and Returns the word in the parameter string to the word before conversion. Then, as in the first embodiment, a conversion rule is created.

なお、パラメータ語統一手段420による同義語統一処理およびコマンド類似度計算手段130による類似度計算処理は、どちらも、要素抽出手段110がコマンドマニュアルに対する処理を抽出した後に行う。パラメータ語統一手段420が同義語統一処理を実行するタイミングは、コマンド類似度計算手段130による類似度計算処理の前であっても、後であってもよい。あるいは、パラメータ語統一手段420による同義語統一処理およびコマンド類似度計算手段130による類似度計算処理を同時に行う構成であってもよい。   The synonym unification processing by the parameter word unification unit 420 and the similarity calculation processing by the command similarity calculation unit 130 are both performed after the element extraction unit 110 has extracted the process for the command manual. The timing at which the parameter word unification unit 420 executes the synonym unification process may be before or after the similarity calculation process by the command similarity calculation unit 130. Alternatively, the synonym unification processing by the parameter word unification unit 420 and the similarity calculation processing by the command similarity calculation unit 130 may be performed simultaneously.

本実施形態において、パラメータ同義語記憶装置410が記憶する内容(同義語の組)をユーザが編集可能な構成であってもよい。例えば、コマンド対応付け支援システム100がキーボードやマウス等のユーザに操作されるユーザ操作部(図示せず)と、そのユーザ操作部を介して入力されたユーザの指示により、パラメータ同義語記憶装置410が記憶する同義語の組を編集する同義語編集手段(図示せず)とを備えていてもよい。同義語編集手段は、ユーザの指示に従って、新たな同義語の組を追加したり、削除したりしてもよい。また、同義語編集手段は、ユーザの指示に従って、個々の組において、新たに同義語を追加したり、同義語を削除したりしてもよい。   In the present embodiment, the user may be able to edit the content (a set of synonyms) stored in the parameter synonym storage device 410. For example, a command operation support system 100 is operated by a user operation unit (not shown) such as a keyboard and a mouse, and the user's instruction input via the user operation unit, the parameter synonym storage device 410 May be provided with synonym editing means (not shown) for editing the set of synonyms stored in. The synonym editing means may add or delete a new set of synonyms in accordance with a user instruction. Further, the synonym editing means may add a new synonym or delete a synonym in each group according to a user instruction.

第2の実施形態の効果について説明する。第2の実施形態でも、第1の実施形態と同様の効果を得ることができる。さらに、第2の実施形態によれば、パラメータ語統一手段420がパラメータ名およびパラメータの説明文字列内において、同じ意味を表す語を統一し、パラメータ類似度計算手段140は、その統一処理語のパラメータ名およびパラメータの説明文字列を用いて類似度計算を行う。そのため、パラメータ名およびパラメータの説明文字列の類似度をより高い精度で計算することができ、その結果、総合類似度の精度が上がり、コマンドの対応付けをより正確に行うことができる。   The effect of the second embodiment will be described. In the second embodiment, the same effect as that of the first embodiment can be obtained. Further, according to the second embodiment, the parameter word unifying unit 420 unifies the same meaning words in the parameter name and the parameter description character string, and the parameter similarity calculating unit 140 The similarity is calculated using the parameter name and the parameter description character string. For this reason, the similarity between the parameter name and the description character string of the parameter can be calculated with higher accuracy. As a result, the accuracy of the overall similarity is improved, and the commands can be associated more accurately.

実施形態3.
図17は、本発明の第3の実施形態の構成例を示すブロック図である。第1の実施形態と同様の構成要素については、図1と同一の符号を付して説明を省略する。第3の実施形態のコマンド対応付け支援システム100は、要素抽出手段110と、コマンド情報記憶装置120と、コマンド類似度計算手段130と、パラメータ類似度計算手段140と、コマンド選択手段150と、変換ルール作成手段160と、変換ルール記憶装置170と、コマンド変換手段520とを備える。コマンド対応付け支援システム100には、コンフィグ入力装置510と出力装置530とが設けられるが、コマンド対応付け支援システム100自身が、コンフィグ入力装置510および出力装置530を備えていてもよい。
Embodiment 3. FIG.
FIG. 17 is a block diagram illustrating a configuration example of the third exemplary embodiment of the present invention. The same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. The command association support system 100 according to the third embodiment includes an element extraction unit 110, a command information storage device 120, a command similarity calculation unit 130, a parameter similarity calculation unit 140, a command selection unit 150, a conversion A rule creation unit 160, a conversion rule storage device 170, and a command conversion unit 520 are provided. The command association support system 100 is provided with the configuration input device 510 and the output device 530, but the command association support system 100 itself may include the configuration input device 510 and the output device 530.

コンフィグ入力装置510は、ネットワーク機器が持つ機器設定ファイルをコマンド対応付け支援システム100のコマンド変換手段520に入力するためのインタフェースである。機器設定ファイルは、変換元コマンド群のコマンドの集合であり、例えば、テキスト等の文書フォーマットで作成されたファイルである。ここでは、ネットワーク機器に対する機器設定ファイルを例に説明するが、コンフィグ入力装置510に入力される設定フィアルは、ソフトウェアに対する設定を規定したものであってもよい。これらの機器設定ファイルやソフトウェアに対する設定ファイルは、機器やソフトウェアに対する設定を行うための設定情報ということができる。機器やソフトウェアに対する設定情報は、変換元コマンド群のコマンドを含むファイル形式で入力されてもよい。また、変換元コマンド群の個々のコマンドが一つずつ、あるいは、複数まとめて、設定情報として入力されてもよい。このような設定情報がコンフィグ入力装置510を介してコマンド変換手段520に入力される。ここでは、機器設定ファイルが入力される場合を例にして説明する。なお、コンフィグ入力装置510および入力装置210が同一の装置によって実現されていてもよい。   The configuration input device 510 is an interface for inputting a device setting file of a network device to the command conversion unit 520 of the command association support system 100. The device setting file is a set of commands of the conversion source command group, and is a file created in a document format such as text, for example. Here, a device setting file for a network device will be described as an example. However, the setting file input to the configuration input device 510 may define settings for software. These device setting files and setting files for software can be referred to as setting information for setting the devices and software. The setting information for the device or software may be input in a file format including commands of the conversion source command group. In addition, individual commands of the conversion source command group may be input as setting information one by one or a plurality. Such setting information is input to the command conversion means 520 via the configuration input device 510. Here, a case where a device setting file is input will be described as an example. Note that the configuration input device 510 and the input device 210 may be realized by the same device.

コマンド変換手段520は、変換ルール作成手段160が作成して変換ルール記憶装置170に記憶させた変換ルールに従い、機器設定ファイル(設定情報)に含まれる変換前コマンド群のコマンドを、変換先コマンド群のコマンドに変換する。   The command conversion unit 520 converts the commands of the command group before conversion included in the device setting file (setting information) into the conversion destination command group in accordance with the conversion rule created by the conversion rule creation unit 160 and stored in the conversion rule storage device 170. Is converted to

出力装置530は、コマンド変換手段520によってコマンドが変換された機器設定ファイルを出力する出力装置である。出力装置530は、例えば、ディスプレイ装置によって実現され、コマンド変換後の機器設定ファイルを表示する。ただし、出力装置530はディスプレイ装置に限定されず、機器設定ファイルの出力態様も表示に限定されない。   The output device 530 is an output device that outputs the device setting file in which the command is converted by the command conversion unit 520. The output device 530 is realized by, for example, a display device, and displays a device setting file after command conversion. However, the output device 530 is not limited to a display device, and the output mode of the device setting file is not limited to display.

コマンド変換手段520は、例えば、プログラムによって動作するCPUによって実現される。なお、プログラムは、例えば、コマンド対応付け支援システム100が備えるプログラム記憶装置(図示せず。)に記憶される。CPUは、そのプログラムを読み込み、そのプログラムに従って、コマンド変換手段520として動作する。   The command conversion means 520 is realized by a CPU that operates according to a program, for example. The program is stored in, for example, a program storage device (not shown) included in the command association support system 100. The CPU reads the program and operates as command conversion means 520 in accordance with the program.

次に、本実施形態の動作について説明する。
変換ルール作成手段160が変換ルールを作成して変換ルール記憶装置170に記憶させるまでの動作は、第1の実施形態と同様である。
Next, the operation of this embodiment will be described.
The operation until the conversion rule creating means 160 creates a conversion rule and stores it in the conversion rule storage device 170 is the same as that in the first embodiment.

また、コンフィグ入力装置510は、例えば、ユーザの操作に従って、機器設定ファイルをコマンド変換手段520に入力する。なお、機器設定ファイルは、ユーザが各ネットワーク機器から手作業で抽出してもよい。あるいは、各ネットワーク機器とコンフィグ入力装置510との間で適切なネットワークプロトコルを用いた通信を行い、コンフィグ入力装置510が機器設定ファイルを自動的に抽出してもよい。図18は、コンフィグ入力装置510がコマンド変換手段520に入力する機器設定ファイルの一部の具体例を示す説明図である。図18に示す2行目から4行目は、コマンド「set vlan untag」によって機器に対する設定を規定している部分である。   Further, the configuration input device 510 inputs the device setting file to the command conversion unit 520 in accordance with, for example, a user operation. The device setting file may be manually extracted from each network device by the user. Alternatively, communication using an appropriate network protocol may be performed between each network device and the configuration input device 510, and the configuration input device 510 may automatically extract the device setting file. FIG. 18 is an explanatory diagram showing a specific example of a part of the device setting file that is input to the command conversion unit 520 by the configuration input device 510. The second to fourth lines shown in FIG. 18 are parts that define settings for the device by the command “set vlan untag”.

コマンド変換手段520は、機器設定ファイルが入力されると、変換ルール記憶装置170が記憶する変換ルールに従って、機器設定ファイルに含まれるコマンド(変換元コマンド群のコマンド)を、変換先コマンド群のコマンドに変換する。図19は、コマンド変換手段520のコマンド変換処理の処理経過の例を示すフローチャートである。また、図20は、コマンド変換手段520のコマンド変換処理の具体例を示す説明図である。図20において、機器設定ファイル540はコマンド変換前の機器設定ファイルの例であり、機器設定ファイル550はコマンド変換後の機器設定ファイルの例である。   When the device setting file is input, the command conversion unit 520 converts the command (command of the conversion source command group) included in the device setting file into the command of the conversion destination command group according to the conversion rule stored in the conversion rule storage device 170. Convert to FIG. 19 is a flowchart showing an example of the process progress of the command conversion process of the command conversion unit 520. FIG. 20 is an explanatory diagram showing a specific example of command conversion processing by the command conversion means 520. In FIG. 20, a device setting file 540 is an example of a device setting file before command conversion, and a device setting file 550 is an example of a device setting file after command conversion.

コマンド変換手段520は、コンフィグ入力装置510から入力された機器設定ファイルの中から変換元コマンドを1つ選択する(ステップW1)。ここでは、機器設定ファイル内では、1行に1つのコマンドが記述されているものとする。この場合、コマンド変換手段520は、ステップW1において、機器設定ファイルにおける1行分の記述を選択すればよい。例えば、コマンド変換手段520は、図20に例示する機器設定ファイル540中の2行目「set vlan untag 10 1」を選択する。   The command conversion means 520 selects one conversion source command from the device setting file input from the configuration input device 510 (step W1). Here, it is assumed that one command is described in one line in the device setting file. In this case, the command conversion means 520 may select the description for one line in the device setting file in step W1. For example, the command conversion unit 520 selects the second line “set vlan untag 10 1” in the device setting file 540 illustrated in FIG.

次に、コマンド変換手段520は、ステップW1で選択したコマンドを変換する変換ルールを、変換ルール記憶装置170に記憶された変換ルールの中から検索する(ステップW2)。例えば、各変換ルールにおける変換元コマンドのコマンド名と、ステップW1で選択したコマンドのコマンド名とを照合して、コマンド名が一致する変換ルールを検索すればよい。図20に示す変換ルールテーブル361が変換ルール記憶装置170に記憶されているとする。コマンド変換手段520は、ステップW1で選択したコマンドのコマンド名「set vlan untag」を変換元コマンドのコマンド名とする検索し、変換ルールテーブル361の1番目の変換ルールを読み込む(図20参照)。   Next, the command conversion means 520 searches the conversion rule stored in the conversion rule storage device 170 for a conversion rule for converting the command selected in step W1 (step W2). For example, the command name of the conversion source command in each conversion rule and the command name of the command selected in step W1 may be collated to search for a conversion rule that matches the command name. Assume that the conversion rule table 361 shown in FIG. 20 is stored in the conversion rule storage device 170. The command conversion means 520 searches the command name “set vlan untag” of the command selected in step W1 as the command name of the conversion source command, and reads the first conversion rule in the conversion rule table 361 (see FIG. 20).

ステップW2の後、コマンド変換手段520は、ステップW1で選択したコマンドを、ステップW2で検索した変換ルールに従って変換する(ステップW3)。例えば、図20に例示する変換ルールテーブル361の1番目の変換ルールは、変換元コマンド名「set vlan untag」を変換先コマンド名「set vlan portbase」に変換し、変換元コマンドの1番目のパラメータ(「{VLAN−ID|Name}」)を変換先コマンドの1番目のパラメータとし、変換元コマンドの2番目のパラメータ(「ポート番号1〜26」)を変換先コマンドの2番目のパラメータとすることを定めている。この変換ルールに従い、コマンド変換手段520は、ステップW1で選択した「set vlan untag 10 1」を、「set vlan portbase 10 1」に変換する。   After step W2, the command conversion means 520 converts the command selected in step W1 according to the conversion rule searched in step W2 (step W3). For example, the first conversion rule in the conversion rule table 361 illustrated in FIG. 20 converts the conversion source command name “set vlan untag” into the conversion destination command name “set vlan portbase”, and the first parameter of the conversion source command. (“{VLAN-ID | Name}”) is the first parameter of the conversion destination command, and the second parameter (“port number 1 to 26”) of the conversion source command is the second parameter of the conversion destination command. It is stipulated. In accordance with this conversion rule, the command conversion means 520 converts “set vlan untag 10 1” selected in step W1 into “set vlan portbase 10 1”.

以降、同様に、コマンド変換手段520は、機器設定ファイルから一つのコマンドを選択し、そのコマンドに応じた変換ルールを検索して、コマンドを変換する処理(ステップW1〜W3)を繰り返す(ステップW4)。機器設定ファイルの全コマンドに対して変換が完了するまで、この繰り返し処理を行う。この結果、図20に示す機器設定ファイル540の内容は、図20に示す機器設定ファイル550のように変換される。   Thereafter, similarly, the command conversion means 520 selects one command from the device setting file, searches for a conversion rule corresponding to the command, and repeats the process of converting the command (steps W1 to W3) (step W4). ). This process is repeated until the conversion is completed for all commands in the device setting file. As a result, the contents of the device setting file 540 shown in FIG. 20 are converted like the device setting file 550 shown in FIG.

コマンド変換手段520は、変換後の機器設定ファイル550を出力装置530に出力させる。例えば、コマンド変換手段520は、出力装置530に相当するディスプレイ装置に表示させてもよい。また、出力形式は、例えば、テキストファイル等のファイル形式であってもよいし、他のファイルフォーマットであってもよい。また、コマンドプロンプトの標準出力等に変換結果を出力してもよい。あるいは、出力装置530は通信インタフェースであって、変換後の機器設定ファイルを、通信ネットワークを介して直接各ネットワーク機器に送信する出力態様であってもよい。   The command conversion unit 520 causes the output device 530 to output the converted device setting file 550. For example, the command conversion means 520 may be displayed on a display device corresponding to the output device 530. The output format may be, for example, a file format such as a text file or another file format. Further, the conversion result may be output to a standard output of a command prompt. Alternatively, the output device 530 may be a communication interface, and may be an output mode in which the converted device setting file is directly transmitted to each network device via a communication network.

以上の説明では、機器に対する設定情報(機器設定ファイル)が入力される場合を例にして、説明したが、ソフトウェアに対する設定情報が入力され、その設定情報内のコマンドを変換してもよい。   In the above description, the case where setting information (device setting file) for a device is input has been described as an example. However, setting information for software may be input and a command in the setting information may be converted.

第3の実施形態において、コマンド変換手段520は、ステップW1で選択したコマンドの変換ルールがない場合、すなわち、ステップW2で変換ルールの検索に失敗した場合、選択したコマンドの変換ルールが存在しない旨の情報を出力してもよい。例えば、ステップW1で選択したコマンドの変換ルールがなく、その変換ルールの作成をユーザに促すメッセージをディスプレイ装置等に表示させてもよい。   In the third embodiment, if there is no conversion rule for the command selected in Step W1, that is, if the search for the conversion rule fails in Step W2, the command conversion means 520 indicates that there is no conversion rule for the selected command. May be output. For example, there is no conversion rule for the command selected in step W1, and a message prompting the user to create the conversion rule may be displayed on the display device or the like.

また、第1の実施形態で説明したように、パラメータ数が一致していないコマンド同士が対応付けられている場合もあり得る。この場合、変換ルール作成手段160は、応付け可能なパラメータだけを使って変換ルールを作成すればよい。対応付けられなかったパラメータが存在する場合、変換ルールとともに、そのパラメータのパラメータ名も変換ルール記憶装置170に記憶させればよい。ステップW2で検索した変換ルールとともに、対応付けが行われていないパラメータが変換ルール記憶装置170に記憶されている場合、対応付けが行われていないパラメータのパラメータ名と、その変換ルールを完成させるように変換ルールの編集を促すメッセージとをディスプレイ装置等に表示させてもよい。   In addition, as described in the first embodiment, there is a case where commands whose parameter numbers do not match are associated with each other. In this case, the conversion rule creation means 160 may create a conversion rule using only parameters that can be assigned. If there is a parameter that is not associated, the conversion rule storage device 170 may store the parameter name of the parameter together with the conversion rule. When parameters that are not associated are stored in the conversion rule storage device 170 together with the conversion rule searched in step W2, the parameter name of the parameter that is not associated and the conversion rule are completed. A message for prompting the editing of the conversion rule may be displayed on the display device or the like.

また、設定情報には、設定情報内のコマンドが適用される機器やソフトウェアを指定する指定情報(機器名またはソフトウェア名等)が含まれていてもよい。コマンド変換手段520は、設定情報に含まれる指定情報を参照し、その指定情報を用いて、変換ルール記憶装置170に記憶される変換ルールを絞り込んでもよい。例えば、コマンド変換手段520は、機器設定ファイルの所定位置(例えば1行目)には機器名が記述されているとみなして機器名を抽出し、抽出した機器名に対応する変換ルールだけを変換ルール記憶装置170から最初に選択しておいてもよい。コマンド変換手段520は、ステップW2において、その変換ルールの中から選択コマンドに合う変換ルールを検索してもよい。このように、機器名等で変換ルールを絞り込むことで、コマンドの変換処理を高速化することができる。   In addition, the setting information may include designation information (device name or software name or the like) for designating a device or software to which a command in the setting information is applied. The command conversion unit 520 may refer to the designation information included in the setting information and use the designation information to narrow down the conversion rules stored in the conversion rule storage device 170. For example, the command conversion unit 520 extracts the device name by regarding that the device name is described at a predetermined position (for example, the first line) of the device setting file, and converts only the conversion rule corresponding to the extracted device name. You may select from the rule memory | storage device 170 first. In step W2, the command conversion means 520 may search for a conversion rule that matches the selected command from the conversion rules. Thus, by narrowing down the conversion rules by the device name or the like, the command conversion process can be speeded up.

コマンド変換手段520は、ステップW2で検索した変換ルールを、各コマンドに対する変換処理が完了するまで一時記憶しておき、ステップW1〜W3の繰り返し処理でステップW2を再度実行する場合には、直前のステップW1で選択したコマンドの変換ルールを、一時記憶している変換ルールの中から検索し、目的の変換ルールが一時記憶している変換ルールの中になければ、変換ルール記憶装置170に記憶される変換ルールから選択してもよい。   The command conversion means 520 temporarily stores the conversion rule searched in step W2 until the conversion processing for each command is completed, and when executing step W2 again in the repeated processing of steps W1 to W3, The conversion rule of the command selected in step W1 is searched from the temporarily stored conversion rules. If the target conversion rule is not in the temporarily stored conversion rule, it is stored in the conversion rule storage device 170. You may select from conversion rules.

コマンド変換手段520は、変換先コマンド群のコマンドから変換元コマンド群へのコマンドへ逆変換する処理を行ってもよい。   The command conversion means 520 may perform a reverse conversion process from a command of the conversion destination command group to a command of the conversion source command group.

第3の実施形態においても、第1の実施形態と同様の効果が得られる。また、コマンド変換手段520は、入力された設定情報に含まれるコマンドを、変換ルールに従って、変換先コマンド群のコマンドに変換する。従って、これによって、異なるコマンド群間における同義コマンドの検索および置換を容易に行うことができる。そして、単一のコマンドまたは複数のコマンドを含む設定情報を、別のコマンド群における同義のコマンドで記述した設定情報に自動的に変換することができる。   Also in the third embodiment, the same effect as in the first embodiment can be obtained. Further, the command conversion unit 520 converts the command included in the input setting information into a command in the conversion destination command group according to the conversion rule. Accordingly, it is possible to easily search and replace synonymous commands between different command groups. Then, setting information including a single command or a plurality of commands can be automatically converted into setting information described by synonymous commands in another command group.

第3の実施形態において、第2の実施形態と同様に、パラメータ同義語記憶装置410およびパラメータ語統一手段420(図13参照)を備えていてもよい。その場合、第2の実施形態と同様の効果も得られる。   In the third embodiment, the parameter synonym storage device 410 and the parameter word unifying unit 420 (see FIG. 13) may be provided as in the second embodiment. In that case, the same effect as the second embodiment can be obtained.

実施形態4.
図21は、本発明の第4の実施形態の構成例を示すブロック図である。第1の実施形態と同様の構成要素については、図1と同一の符号を付して説明を省略する。第4の実施形態のコマンド対応付け支援システム100は、要素抽出手段110と、コマンド情報記憶装置120と、コマンド類似度計算手段130と、パラメータ類似度計算手段140と、コマンド選択手段150と、変換ルール作成手段160と、変換ルール記憶装置170と、パラメータ重み計算手段610とを備える。
Embodiment 4 FIG.
FIG. 21 is a block diagram showing a configuration example of the fourth embodiment of the present invention. The same components as those in the first embodiment are denoted by the same reference numerals as those in FIG. The command association support system 100 according to the fourth embodiment includes an element extraction unit 110, a command information storage device 120, a command similarity calculation unit 130, a parameter similarity calculation unit 140, a command selection unit 150, a conversion A rule creation unit 160, a conversion rule storage device 170, and a parameter weight calculation unit 610 are provided.

パラメータ重み計算手段610は、パラメータ類似度計算手段140がパラメータ関連情報として計算した「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、および「必須パラメータ数の一致度」に対して重み付けを行う。具体的には、パラメータ重み計算手段610は、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度に対してそれぞれ重み係数を乗じることによって、重み付けを行う。パラメータ名およびパラメータの説明文字列の類似度に対する重み係数を第1の重み係数と記す。全パラメータ数の一致度に対する重み係数を第2の重み係数と記す。必須パラメータ数の一致度に対する重み係数を第3の重み係数と記す。パラメータ重み計算手段610は、パラメータ類似度計算手段140が作成したパラメータ類似度テーブル(図9参照)に格納された値を用いて、上記の重み付けを行い、重み付けを行った後の各値(パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度)を格納したテーブル(重み類似度テーブル)を作成すればよい。   The parameter weight calculation unit 610 calculates the parameter similarity and parameter description character string similarity calculated by the parameter similarity calculation unit 140, the matching degree of all parameter numbers, and the required parameter number matching. Weight is given to “degree”. Specifically, the parameter weight calculation means 610 performs weighting by multiplying the degree of similarity between the parameter name and the description character string of the parameter, the degree of coincidence of the number of all parameters, and the degree of coincidence of the number of essential parameters, respectively. I do. The weighting factor for the similarity between the parameter name and the parameter description character string is referred to as a first weighting factor. A weighting factor for the degree of coincidence of all parameters is referred to as a second weighting factor. A weighting factor for the degree of coincidence of the number of essential parameters is referred to as a third weighting factor. The parameter weight calculation unit 610 performs the above weighting using the values stored in the parameter similarity table (see FIG. 9) created by the parameter similarity calculation unit 140, and each value (parameter) after the weighting is performed. It is only necessary to create a table (weight similarity table) storing the similarity of the name and parameter description character strings, the coincidence of all parameter numbers, and the coincidence of essential parameter numbers).

また、コマンド対応付け支援システム100が、例えば、第1から第3までの各重み係数を格納する重み係数テーブルを記憶する重み係数記憶手段(図示せず)を備え、パラメータ重み計算手段610がその第1から第3までの各重み係数を参照する構成であってもよい。なお、第1から第3までの各重み係数をユーザが編集可能な構成であってもよい。例えば、コマンド対応付け支援システム100がキーボードやマウス等のユーザに操作されるユーザ操作部(図示せず)と、そのユーザ操作部を介して入力されたユーザの指示により、重み係数テーブルを編集する重み変更手段(図示せず)とを備えていてもよい。重み変更手段は、ユーザの指示に従って、第1から第3までの各重み係数の値を更新する。   Further, the command association support system 100 includes weight coefficient storage means (not shown) for storing, for example, weight coefficient tables for storing the first to third weight coefficients, and the parameter weight calculation means 610 includes the weight coefficient storage means (not shown). The configuration may be such that each of the first to third weighting factors is referred to. Note that the user may be able to edit each of the first to third weighting factors. For example, the command association support system 100 edits the weight coefficient table according to a user operation unit (not shown) operated by a user such as a keyboard and a mouse, and a user instruction input via the user operation unit. Weight changing means (not shown) may be provided. The weight changing unit updates the values of the first to third weighting factors in accordance with a user instruction.

類似度の計算精度を上げるために、第1の重み係数の値を、第2の重み係数および第3の重み係数よりも大きく定めることが好ましい。また、第2の重み係数と第3の重み係数の大小関係では、類似度の計算精度を上げるために、第2の重み係数の値を第3の重み係数よりも大きく定めることが好ましい。ただし、第3の重み係数の値を第2の重み係数よりも大きく定めてもよい。   In order to increase the calculation accuracy of the similarity, it is preferable that the value of the first weighting factor is set larger than the second weighting factor and the third weighting factor. In addition, in the magnitude relationship between the second weighting factor and the third weighting factor, it is preferable that the value of the second weighting factor is set larger than the third weighting factor in order to increase the accuracy of calculating the similarity. However, the value of the third weighting factor may be set larger than the second weighting factor.

コマンド類似度計算手段130は、第1の実施形態と同様に、コマンド名およびコマンドの説明文字列の類似度を計算する。   As in the first embodiment, the command similarity calculation unit 130 calculates the similarity between the command name and the command description character string.

本実施形態において、コマンド選択手段150は、コマンド類似度計算手段130が計算した「コマンド名およびコマンドの説明文字列の類似度」と、重み付けをした「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、「必須パラメータ数の一致度」から総合類似度を計算する。コマンド選択手段150は、コマンドの個々の組について、コマンド名およびコマンドの説明文字列の類似度、重み付けをした「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、および「必須パラメータ数の一致度」の総和を計算し、その総和を総合類似度とする。   In the present embodiment, the command selection unit 150 uses the “similarity between the command name and command description character string” calculated by the command similarity calculation unit 130 and the weighted “similarity between the parameter name and parameter description character string”. ”,“ Matching degree of all parameter numbers ”, and“ matching degree of essential parameter numbers ”, the total similarity is calculated. The command selection means 150 uses the command name and the description character string similarity of the command, weighted "parameter name and parameter description character string similarity", and "matching degree of the total number of parameters". , And “the degree of coincidence of the number of essential parameters” are calculated, and the sum is taken as the total similarity.

その他の点については、第1の実施形態と同様である。   The other points are the same as in the first embodiment.

パラメータ重み計算手段610は、例えば、プログラムによって動作するCPUによって実現される。なお、プログラムは、例えば、コマンド対応付け支援システム100が備えるプログラム記憶装置(図示せず。)に記憶される。CPUは、そのプログラムを読み込み、そのプログラムに従って、パラメータ重み計算手段610として動作する。   The parameter weight calculation unit 610 is realized by a CPU that operates according to a program, for example. The program is stored in, for example, a program storage device (not shown) included in the command association support system 100. The CPU reads the program and operates as parameter weight calculation means 610 according to the program.

次に、動作について説明する。
図22は、パラメータ重み計算手段610の動作の例を示すフローチャートである。また、図23は、重み付けを行い、重み付け結果から総合類似度を計算する例を示す説明図である。
Next, the operation will be described.
FIG. 22 is a flowchart illustrating an example of the operation of the parameter weight calculation unit 610. FIG. 23 is an explanatory diagram illustrating an example in which weighting is performed and the total similarity is calculated from the weighting result.

パラメータ類似度計算手段140は、第1の実施形態と同様に、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度を計算し、それらの計算結果を格納したパラメータ類似度テーブルを作成する。パラメータ類似度計算手段140は、そのパラメータ類似度テーブルをパラメータ重み計算手段610に渡す。図23に示すテーブル342は、このパラメータ類似度テーブルの例を示す   As in the first embodiment, the parameter similarity calculation unit 140 calculates the similarity between the parameter name and the parameter description character string, the coincidence of all the parameter numbers, and the coincidence of the essential parameter numbers, and calculates them. Create a parameter similarity table that stores the results. The parameter similarity calculation unit 140 passes the parameter similarity table to the parameter weight calculation unit 610. A table 342 shown in FIG. 23 shows an example of this parameter similarity table.

パラメータ重み計算手段610は、パラメータ類似度テーブルに格納された、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度に対して、重み付けを計算する(ステップX1)。すなわち、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度の組において、パラメータ名およびパラメータの説明文字列の類似度に第1の重み係数を乗じ、全パラメータ数の一致度に第2の重み係数を乗じ、必須パラメータ数の一致度に第3の重み係数を乗じる。   The parameter weight calculation means 610 calculates weights for the similarity between the parameter name and the parameter description character string, the coincidence of all the parameters, and the coincidence of the essential parameters stored in the parameter similarity table. (Step X1). That is, in the set of the similarity between the parameter name and the parameter description character string, the coincidence degree of the number of all parameters, and the coincidence degree of the number of essential parameters, the first weighting factor is used for the similarity between the parameter name and the parameter description character string Multiplication, the degree of coincidence of all parameter numbers is multiplied by a second weighting factor, and the degree of coincidence of the number of essential parameters is multiplied by a third weighting factor.

パラメータ重み計算手段610は、パラメータ類似度テーブルにおける「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、および「必須パラメータ数の一致度」の各組に対する重み付けが終了するまで、ステップX1の処理を繰り返す。   The parameter weight calculation means 610 performs weighting for each set of “similarity of parameter name and parameter description character string”, “matching degree of all parameter numbers”, and “matching degree of essential parameter numbers” in the parameter similarity table. The process of step X1 is repeated until the end.

例えば、図23に示すように、第1の重み係数が0.8であり、第2の重み係数が0.3であり、第3の重み係数が0.6であるとする。また、パラメータ類似度テーブル342(図23参照)において、「set vlan portbase」と着目コマンドとの間における「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、および「必須パラメータ数の一致度」は、それぞれ0.760,1,1となっている。従って、パラメータ重み計算手段610は、「パラメータ名およびパラメータの説明文字列の類似度(0.760)」に第1の重み係数(0.8)を乗じて、その重み付け後の値0.608を計算する。同様に、「全パラメータ数の一致度(1)」に第2の重み係数(0.3)を乗じて、その重み付け後の値0.3を計算する。同様に、「必須パラメータ数の一致度(1)」に第3の重み係数(0.6)を乗じて、その重み付け後の値0.6を計算する。パラメータ重み計算手段610は、この計算結果を重み類似度テーブルに格納する。   For example, as shown in FIG. 23, it is assumed that the first weighting factor is 0.8, the second weighting factor is 0.3, and the third weighting factor is 0.6. Further, in the parameter similarity table 342 (see FIG. 23), “similarity between parameter name and parameter description character string”, “matching degree of all parameters” between “set vlan portbase” and the command of interest, and The “matching degree of the number of essential parameters” is 0.760, 1, and 1, respectively. Therefore, the parameter weight calculation means 610 multiplies “similarity of parameter name and parameter description character string (0.760)” by the first weighting factor (0.8), and gives a weighted value of 0.608. Calculate Similarly, a value 0.3 after the weighting is calculated by multiplying the “matching degree (1) of the total number of parameters” by the second weighting coefficient (0.3). Similarly, the third weighting factor (0.6) is multiplied by “matching degree of essential parameters (1)” to calculate a weighted value 0.6. The parameter weight calculation means 610 stores this calculation result in the weight similarity table.

図23に示す例では、「set vlan portbase」に関する重み付け処理後、「set snmp manager ip」が残っているので、「set snmp manager ip」に関しても同様に重み付けを行い、重み類似度テーブル630(図23参照)を作成する。パラメータ重み計算手段610は、作成した重み類似度テーブル630をコマンド選択手段150に渡す。   In the example shown in FIG. 23, since “set snmp manager ip” remains after the weighting processing related to “set vlan portbase”, weighting is similarly performed on “set snmp manager ip” and the weight similarity table 630 (FIG. 23). The parameter weight calculation unit 610 passes the created weight similarity table 630 to the command selection unit 150.

また、コマンド類似度計算手段130は、第1の実施形態と同様に、コマンド名およびコマンドの説明文字列の類似度を計算し、その計算結果を格納したコマンド名類似度テーブルを作成し、コマンド選択手段150に渡す。図23に示すテーブル340は、この例を示す。   Further, the command similarity calculation means 130 calculates the command name and command description character string similarity as in the first embodiment, creates a command name similarity table storing the calculation results, and generates the command It passes to the selection means 150. A table 340 shown in FIG. 23 shows this example.

コマンド選択手段150は、コマンド名類似度テーブル340と、重み類似度テーブル630とを参照して、コマンドの組毎に、「コマンド名およびコマンドの説明文字列の類似度」、および、重み付けを行った「パラメータ名およびパラメータの説明文字列の類似度」、「全パラメータ数の一致度」、「必須パラメータ数の一致度」の和を、総合類似度として計算する。   The command selection means 150 refers to the command name similarity table 340 and the weight similarity table 630, and performs “similarity of command name and command description character string” and weighting for each command set. The sum of “similarity of parameter name and parameter description character string”, “matching degree of all parameters”, and “matching of essential parameters” is calculated as the total similarity.

例えば、図23に例示するコマンド名類似度テーブル340および重み類似度テーブル630が得られた場合、コマンド選択手段150は、着目コマンド(図23において図示せず)と「set vlan portbase」との総合類似度を、0.738+0.608+0.3+0.6=2.246と計算する。また、着目コマンド(図23において図示せず)と「set snmp manager jp」との総合類似度を、0.175+0+0.3+0.3=0.775と計算する。   For example, when the command name similarity table 340 and the weight similarity table 630 illustrated in FIG. 23 are obtained, the command selection unit 150 determines that the command of interest (not shown in FIG. 23) and “set vlan portbase” are integrated. The similarity is calculated as 0.738 + 0.608 + 0.3 + 0.6 = 2.246. Also, the total similarity between the command of interest (not shown in FIG. 23) and “set snmp manager jp” is calculated as 0.175 + 0 + 0.3 + 0.3 = 0.775.

コマンド選択手段150は、計算した各総合類似度を総合類似度テーブル640に格納する。総合類似度を計算した後の動作は、第1の実施形態と同様である。   The command selection unit 150 stores each calculated total similarity in the total similarity table 640. The operation after calculating the overall similarity is the same as in the first embodiment.

第4の実施形態の効果について説明する。第4の実施形態でも、第1の実施形態と同様の効果を得ることができる。さらに第4の実施形態によれば、パラメータ関連情報(パラメータ名およびパラメータの説明文字列、全パラメータの一致度、必須パラメータの一致度)に対する重み付けを行い、その結果を用いて総合類似度を計算する。従って、パラメータ関連情報の類似度および総合類似度の精度をより向上させることができ、2つのコマンド群間のコマンドの対応付けを正確に、また高速に行うことができる。   The effect of the fourth embodiment will be described. Also in the fourth embodiment, the same effect as in the first embodiment can be obtained. Furthermore, according to the fourth embodiment, the parameter related information (parameter name and parameter description character string, matching degree of all parameters, matching degree of essential parameters) is weighted, and the total similarity is calculated using the result. To do. Therefore, the accuracy of the similarity and the overall similarity of the parameter related information can be further improved, and the command correspondence between the two command groups can be performed accurately and at high speed.

第3の実施形態および第4の実施形態において、第2の実施形態と同様に、パラメータ同義語記憶装置410およびパラメータ語統一手段420(図13参照)を備えていてもよい。その場合、第2の実施形態と同様の効果も得られる。   In the third embodiment and the fourth embodiment, the parameter synonym storage device 410 and the parameter word unifying unit 420 (see FIG. 13) may be provided as in the second embodiment. In that case, the same effect as the second embodiment can be obtained.

また、第4の実施形態において、第3の実施形態と同様に、コマンド変換手段520(図17参照)を備えていてもよい。その場合、第3の実施形態と同様の効果も得られる。   Further, in the fourth embodiment, as in the third embodiment, a command conversion unit 520 (see FIG. 17) may be provided. In that case, the same effect as the third embodiment can be obtained.

また、第1の実施形態、第2の実施形態および第4の実施形態において、変換ルール作成手段160および変換ルール170を備えずに、コマンド選択手段150による、変換元コマンド群のコマンドと変換先コマンド群のコマンドとの対応付けまでを行う構成であってもよい。そのような構成においても、コマンド関連情報の類似度、およびパラメータ関連情報の類似度を求め、さらに総合類似度を計算して、総合類似度を用いてコマンドの対応付けを行うので、コマンドの対応付けを短時間で容易に行うことができる。   In the first embodiment, the second embodiment, and the fourth embodiment, the command selection unit 150 does not include the conversion rule creation unit 160 and the conversion rule 170, and the command and the conversion destination of the conversion source command group. The configuration may be such that the command group is associated with the command. Even in such a configuration, since the similarity of the command related information and the similarity of the parameter related information are obtained, the total similarity is calculated, and the command is associated using the total similarity, so that the command correspondence The attachment can be easily performed in a short time.

上記の各実施形態で説明したコマンド対応付け支援システムは、例えば、ネットワーク管理を行うためのシステムに適用することができる。また、各種プログラミング言語によるプログラムソースコードの自動変換や同義コマンドの検索等にも適用できる。   The command association support system described in each of the above embodiments can be applied to a system for performing network management, for example. It can also be applied to automatic conversion of program source code in various programming languages, search for synonymous commands, and the like.

次に、本発明の概要を説明する。図24は、本発明の概要を示すブロック図である。本発明のコマンド対応付け支援システムは、情報抽出手段71と、コマンド情報記憶手段72と、コマンド類似度計算手段73と、パラメータ類似度計算手段74と、コマンド対応付け手段75とを備える。   Next, the outline of the present invention will be described. FIG. 24 is a block diagram showing an outline of the present invention. The command association support system of the present invention includes information extraction means 71, command information storage means 72, command similarity calculation means 73, parameter similarity calculation means 74, and command association means 75.

情報抽出手段71(例えば、要素抽出手段110)は、第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する。   When a command manual including information on the command name and parameters of each command in the first command group is input, the information extraction unit 71 (for example, the element extraction unit 110) reduces the range of information for each command in the command manual. Specifically, for each command, command related information that is information related to the command name and parameter related information that is information related to the parameter are extracted.

コマンド情報記憶手段72(例えば、コマンド情報記憶装置120)は、第2のコマンド群の各コマンドのコマンド関連情報およびパラメータ関連情報を記憶する。   The command information storage unit 72 (for example, the command information storage device 120) stores command related information and parameter related information of each command of the second command group.

コマンド類似度計算手段73(例えば、コマンド類似度計算手段130)は、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算する。   The command similarity calculating unit 73 (for example, the command similarity calculating unit 130) calculates the similarity between the command related information of the commands in the first command group and the command related information of the commands in the second command group.

パラメータ類似度計算手段74(例えば、パラメータ類似度計算手段140)は、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算する。   The parameter similarity calculation unit 74 (for example, the parameter similarity calculation unit 140) calculates the similarity between the parameter related information of the command of the first command group and the parameter related information of the command of the second command group.

コマンド対応付け手段75(例えば、コマンド選択手段150)は、コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付ける。   The command association unit 75 (for example, the command selection unit 150) calculates an overall similarity indicating the similarity of the command from the similarity of the command related information and the similarity of the parameter related information, and uses the total similarity. The commands of the first command group are associated with the commands of the second command group.

このような構成により、2つのコマンド群間における各コマンドの対応付けを容易に短時間で行うことができる。   With such a configuration, it is possible to easily associate each command between two command groups in a short time.

また、上記の実施形態には、コマンド対応付け手段75が、第1のコマンド群のコマンド毎に、そのコマンドとの総合類似度が高い順に第2のコマンド群のコマンドを提示し、第2のコマンド群のコマンドのうちユーザに指定されたコマンドと第1のコマンド群のコマンドとを対応付ける構成が開示されている。そのような構成によれば、ユーザは、総合類似度が高い順にコマンドを確認できるので、対応するコマンドの指定を容易に行うことができる。   In the above embodiment, the command association unit 75 presents the commands of the second command group in descending order of the overall similarity to the command for each command of the first command group. A configuration is disclosed in which a command designated by a user among commands in a command group is associated with a command in a first command group. According to such a configuration, the user can confirm commands in descending order of overall similarity, and therefore can easily specify the corresponding command.

また、上記の実施形態には、コマンド対応付け手段75が、第1のコマンド群のコマンド毎に、第1のコマンド群のコマンドと、そのコマンドとの総合類似度が最も高い第2のコマンド群のコマンドとを対応付ける構成が開示されている。そのような構成によれば、ユーザが操作を行わなくても、コマンドを対応付けることができる。   In the above embodiment, for each command in the first command group, the command association unit 75 has the second command group having the highest overall similarity between the command in the first command group and the command. The structure which matches these commands is disclosed. According to such a configuration, commands can be associated without the user performing an operation.

また、上記の実施形態には、コマンド対応付け手段75に対応付けられたコマンドの組み合わせ毎に、第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する変換ルールを作成する変換ルール作成手段(例えば、変換ルール作成手段160)を備える構成が開示されている。そのような構成によれば、コマンド変換ルールを容易に短時間で作成することができる。   In the above embodiment, a conversion rule for creating a conversion rule for converting a command in the first command group into a command in the second command group for each combination of commands associated with the command associating means 75. A configuration including a creation unit (for example, a conversion rule creation unit 160) is disclosed. According to such a configuration, the command conversion rule can be easily created in a short time.

また、上記の実施形態には、変換ルール作成手段が作成した変換ルールを記憶する変換ルール記憶手段(例えば、変換ルール記憶装置170)と、変換ルール記憶手段に記憶された変換ルールをユーザの操作に従って編集する変換ルール編集手段とを備える構成が開示されている。そのような構成によれば、自動的に作成された変換ルールをユーザが編集できる。   In the above embodiment, the conversion rule storage unit (for example, the conversion rule storage device 170) that stores the conversion rule created by the conversion rule creation unit, and the conversion rule stored in the conversion rule storage unit are operated by the user. And a conversion rule editing means for editing according to the above. According to such a configuration, the user can edit the automatically created conversion rule.

また、上記の実施形態には、ハードウェア(例えば、ネットワーク機器)またはソフトウェアに対する設定を行うための設定情報(例えば、機器設定ファイル)であって第1のコマンド群のコマンドを含む設定情報が入力されると、変換ルールに従って、設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換するコマンド変換手段を備える構成が開示されている。そのような構成によれば、設定情報内のコマンドを、同じ意味を持つ別のコマンドに変換することができる。   In the above embodiment, setting information (for example, a device setting file) for setting hardware (for example, a network device) or software, and setting information including a command of the first command group is input. Then, a configuration is disclosed that includes command conversion means for converting the commands of the first command group included in the setting information into the commands of the second command group according to the conversion rule. According to such a configuration, a command in the setting information can be converted into another command having the same meaning.

また、上記の実施形態には、変換ルール作成手段が、コマンド対応付け手段に対応付けられたコマンドの組み合わせ毎に、第1のコマンド群のコマンドのコマンド名と第2のコマンド群のコマンドのコマンド名とを対応付け、第1のコマンド群のコマンドのパラメータと第2のコマンド群のコマンドのパラメータとを対応付けることによって、変換ルールを作成し、コマンド変換手段が、設定情報に含まれる第1のコマンド群のコマンドのコマンド名を第2のコマンド群のコマンドのコマンド名に変換し、第1のコマンド群のコマンドのパラメータを、対応する第2のコマンド群のコマンドのパラメータとして記述することによって、第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する構成が開示されている。   In the above-described embodiment, the conversion rule creation unit includes the command name of the command in the first command group and the command of the command in the second command group for each combination of commands associated with the command association unit. The conversion rule is created by associating the name with each other and associating the command parameter of the first command group with the command parameter of the second command group, and the command conversion means includes the first information included in the setting information. By converting the command name of the command in the command group to the command name of the command in the second command group and describing the parameter of the command in the first command group as the parameter of the command in the corresponding second command group, A configuration for converting commands of the first command group into commands of the second command group is disclosed.

また、上記の実施形態には、コマンド変換手段が、設定情報に含まれる第1のコマンド群のコマンドの変換ルールが存在しない場合、第1のコマンド群のコマンドの変換ルールが存在しない旨の情報を出力する構成が開示されている。そのような構成によれば、変換ルールが不足していることをユーザが認識できる。   Also, in the above embodiment, when the command conversion means does not have a command conversion rule for the first command group included in the setting information, information indicating that there is no command conversion rule for the first command group Is disclosed. According to such a configuration, the user can recognize that the conversion rule is insufficient.

また、上記の実施形態には、コマンド変換手段が、ハードウェアまたはソフトウェアを指定する指定情報を含む設定情報が入力されると、指定情報によって指定されたハードウェアまたはソフトウェアのコマンドマニュアルに基づいて作成された変換ルールを選択し、設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する構成が開示されている。そのような構成によれば、変換ルールの絞り込みが行われるので、コマンドの変換をより速く行うことができる。   In the above embodiment, when the setting information including the designation information for designating the hardware or software is input, the command conversion unit creates the command based on the hardware or software command manual designated by the designation information. A configuration is disclosed in which a converted command is selected and a command in the first command group included in the setting information is converted into a command in the second command group. According to such a configuration, since conversion rules are narrowed down, command conversion can be performed more quickly.

また、上記の実施形態には、コマンド変換手段が、設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換したときに、変換に用いた変換ルールを一時記憶し、設定情報に第1のコマンド群のコマンドが再度出現した場合、一時記憶した変換ルールを参照して第2のコマンド群のコマンドへの変換を行う構成が開示されている。そのような構成によれば、同じ変換ルールを繰り返し探索する必要がないので、コマンドの変換をより速く行うことができる。   In the above embodiment, when the command conversion means converts the command of the first command group included in the setting information into the command of the second command group, the conversion rule used for the conversion is temporarily stored. A configuration is disclosed in which when a command of the first command group appears again in the setting information, conversion to a command of the second command group is performed with reference to the temporarily stored conversion rule. According to such a configuration, it is not necessary to repeatedly search for the same conversion rule, so that command conversion can be performed more quickly.

また、上記の実施形態には、情報抽出手段71が、第1のコマンド群のコマンド毎に、コマンド関連情報として、コマンド名およびコマンドの説明文字列をコマンドマニュアルから抽出し、パラメータ関連情報として、コマンドのパラメータ名およびパラメータの説明文字列と、コマンドの必須パラメータ数を特定可能な情報とをコマンドマニュアルから抽出し、コマンド情報記憶手段72が、第2のコマンド群のコマンド毎に、コマンド関連情報として、コマンド名およびコマンドの説明文字列を記憶し、パラメータ関連情報として、パラメータ名およびパラメータの説明文字列と、コマンドの必須パラメータ数を特定可能な情報とを記憶し、コマンド類似度計算手段73が、コマンド関連情報の類似度として、コマンド名およびコマンドの説明文字列の類似度を計算し、パラメータ類似度計算手段74が、パラメータ関連情報の類似度として、パラメータ名およびパラメータの説明文字列の類似度と、全パラメータ数の一致度と、必須パラメータ数の一致度とを計算する構成が開示されている。そのような構成によれば、全パラメータ数の一致度および必須パラメータ数の一致度も用いて総合類似度を計算するので、コマンドの対応付けの精度を高めることができる。   In the above embodiment, the information extraction unit 71 extracts a command name and a command description character string from the command manual as command related information for each command of the first command group, and as parameter related information, The command parameter name and parameter description character string, and information that can specify the number of required parameters of the command are extracted from the command manual, and the command information storage means 72 stores command related information for each command of the second command group. The command name and the description character string of the command are stored, the parameter name and the description character string of the parameter, and information that can specify the number of required parameters of the command are stored as the parameter related information, and the command similarity calculation means 73 Is the command name and command as the similarity of the command related information. The similarity of the explanatory character string is calculated, and the parameter similarity calculating means 74 calculates the similarity of the parameter name and the explanatory character string of the parameter, the degree of coincidence of all the parameters, and the number of required parameters as the similarity of the parameter related information. A configuration for calculating the degree of coincidence is disclosed. According to such a configuration, since the total similarity is calculated using the coincidence of all the parameter numbers and the coincidence of the essential parameters, it is possible to improve the accuracy of command association.

また、上記の実施形態には、パラメータ類似度計算手段74が、第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列、および第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に含まれる複数の単語について、単語が第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第1のパラメータベクトルを定め、第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列、および第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に含まれる複数の単語について、単語が第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第2のパラメータベクトルを定め、第1のパラメータベクトルと第2のパラメータベクトルとのコサイン類似度を、パラメータ名およびパラメータの説明文字列の類似度とする構成が開示されている。   In the above embodiment, the parameter similarity calculation unit 74 includes the parameter name and parameter description character string of the command in the first command group, and the parameter name and parameter description character of the command in the second command group. For a plurality of words included in the column, a first vector that counts the number of times a word appears in the parameter name and parameter description character string of the command of the first command group and uses the count result for each word as an element A parameter vector is defined, and a plurality of words included in the parameter name and parameter description character string of the command of the first command group and the parameter name and parameter description character string of the command of the second command group, Number of occurrences in the parameter name and parameter description string of the command of command group 2 A second parameter vector that is a vector whose elements are count results for each word is determined, and the cosine similarity between the first parameter vector and the second parameter vector is determined using the parameter name and the description character string of the parameter. A configuration with similarity is disclosed.

また、上記の実施形態には、パラメータ類似度計算手段74が、第1のコマンド群のコマンドの全パラメータ数と第2のコマンド群のコマンドの全パラメータ数との差の絶対値に所定の正数を加算し、その加算結果の逆数を全パラメータ数の一致度とし、第1のコマンド群のコマンドの必須パラメータ数と第2のコマンド群のコマンドの必須パラメータ数との差の絶対値に所定の正数を加算し、その加算結果の逆数を必須パラメータ数の一致度とする構成が開示されている。   In the above-described embodiment, the parameter similarity calculation unit 74 sets a predetermined positive value to the absolute value of the difference between the total number of parameters of the commands in the first command group and the total number of parameters of the commands in the second command group. The reciprocal of the addition result is used as the degree of coincidence of all parameter numbers, and the absolute value of the difference between the number of essential parameters of the commands in the first command group and the number of essential parameters of the commands in the second command group is predetermined. Is added, and the reciprocal of the addition result is used as the degree of coincidence of the number of essential parameters.

また、上記の実施形態には、コマンド類似度計算手段73が、第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列、および第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に含まれる複数の単語について、単語が第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第1のコマンド名ベクトルを定め、第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列、および第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に含まれる複数の単語について、単語が第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第2のコマンド名ベクトルを定め、第1のコマンド名ベクトルと第2のコマンド名ベクトルとのコサイン類似度を、コマンド名およびコマンドの説明文字列の類似度とする構成が開示されている。   Further, in the above embodiment, the command similarity calculation unit 73 includes the command name and command description character string of the command in the first command group, and the command name and command description character of the command in the second command group. For a plurality of words included in the sequence, a first vector that counts the number of times the word appears in the command name of the command in the first command group and the command description character string and uses the count result for each word as an element A command name vector is defined, and a plurality of words included in the command name and command description character string of the command of the first command group and the command name and command description character string of the command of the second command group Count the number of occurrences in the command name and command description string of commands in the second command group, and count results for each word A configuration is provided in which a second command name vector as an element vector is defined, and the cosine similarity between the first command name vector and the second command name vector is set as the similarity between the command name and the command description character string. It is disclosed.

また、上記の実施形態には、同義語の組を記憶する同義語記憶手段(例えば、パラメータ同義語記憶装置410)と、同義語の組をなす語が第1のコマンド群のコマンドまたは第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する場合、パラメータ名およびパラメータの説明文字列に出現する語を同義語の組内の一つの同義語に変換するパラメータ名統一手段(例えば、パラメータ語統一手段420)とを備える構成が開示されている。そのような構成によれば、語の統一を行ってから、パラメータ名およびパラメータの説明文字列の類似度を計算するので、類似度の精度を高めることができる。   In the above embodiment, the synonym storage means (for example, the parameter synonym storage device 410) that stores a set of synonyms and the word that forms the set of synonyms are commands of the first command group or the second Parameter name unifying means for converting a word appearing in a parameter name and a parameter description character string into one synonym in a set of synonyms ( For example, a configuration including a parameter word unifying unit 420) is disclosed. According to such a configuration, the similarity between the parameter name and the parameter description character string is calculated after unifying the words, so that the accuracy of the similarity can be increased.

また、上記の実施形態には、同義語記憶手段によって記憶された同義語の組をユーザの操作に従って編集する同義語編集手段を備える構成が開示されている。そのような構成によれば、ユーザが同義語の組を編集することができる。   The above embodiment discloses a configuration including synonym editing means for editing a set of synonyms stored by the synonym storage means in accordance with a user operation. According to such a configuration, the user can edit a set of synonyms.

また、上記の実施形態には、パラメータ名およびパラメータの説明文字列の類似度に対する重み係数である第1の重み係数と、全パラメータ数の一致度に対する重み係数である第2の重み係数と、必須パラメータ数の一致度に対する重み係数である第3の重み係数とを用いて、パラメータ類似度計算手段が計算したパラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度に対する重み付けを行う重み付け手段(例えば、パラメータ重み計算手段610)を備え、コマンド対応付け手段75が、コマンド名およびコマンドの説明文字列の類似度と、重み付けが行われた後の、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度とを用いて総合類似度を計算する構成が開示されている。そのような構成によれば、パラメータ関連情報の類似度の精度を向上させることができる。   In the above embodiment, the first weighting factor that is the weighting factor for the similarity between the parameter name and the parameter description character string, the second weighting factor that is the weighting factor for the degree of coincidence of the total number of parameters, Using the third weighting factor, which is a weighting factor for the degree of matching of the number of essential parameters, the parameter name and parameter description character string similarity calculated by the parameter similarity degree calculation means, the degree of matching of all parameter numbers, and the essential Weighting means (for example, parameter weight calculation means 610) for weighting the degree of coincidence of the number of parameters is provided, and the command associating means 75 is adapted to the degree of similarity between the command name and the description character string of the command, and after the weighting. , Parameter name and parameter description string similarity, total parameter count match, and required parameter count Configured to calculate the overall similarity with the 致度 is disclosed. According to such a configuration, the accuracy of the similarity of the parameter related information can be improved.

また、上記の実施形態には、コマンド情報記憶手段120に記憶された情報をユーザの操作に従って編集するコマンド編集手段を備える構成が開示されている。   Further, the above embodiment discloses a configuration including command editing means for editing information stored in the command information storage means 120 in accordance with a user operation.

本発明は、異なるコマンド群に属するコマンド同士の対応付けに好適に適用可能である。   The present invention can be suitably applied to associating commands belonging to different command groups.

本発明の第1の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 1st Embodiment of this invention. ネットワーク機器のコマンドマニュアルの例を示す説明図である。It is explanatory drawing which shows the example of the command manual of a network device. 変換元コマンドテーブルの例を示す説明図である。It is explanatory drawing which shows the example of the conversion source command table. コマンド情報記憶装置が記憶する情報の例を示す説明図である。It is explanatory drawing which shows the example of the information which a command information storage device memorize | stores. コマンド関連情報の類似度を計算する動作の例を示すフローチャートある。It is a flowchart which shows the example of the operation | movement which calculates the similarity of command related information. コマンド関連情報の類似度の計算例を示す説明図である。It is explanatory drawing which shows the example of calculation of the similarity of command relevant information. パラメータ関連情報の類似度を計算する動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation | movement which calculates the similarity of parameter related information. パラメータ名およびパラメータの説明文字列の類似度の計算例を示す説明図である。It is explanatory drawing which shows the example of calculation of the similarity of a parameter name and the description character string of a parameter. パラメータ類似度テーブルの例を示す説明図である。It is explanatory drawing which shows the example of a parameter similarity table. 変換元コマンド群から選択された着目コマンドと変換先コマンド群中の一つのコマンドとを対応付ける処理の例を示すフローチャートである。It is a flowchart which shows the example of the process which matches the attention command selected from the conversion origin command group, and one command in a conversion destination command group. コマンドの対応付けの具体例を示す説明図である。It is explanatory drawing which shows the specific example of matching of a command. 変換ルールを作成する処理の具体例を示す説明図である。It is explanatory drawing which shows the specific example of the process which produces a conversion rule. 本発明の第2の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 2nd Embodiment of this invention. パラメータ同義語記憶装置が記憶する情報の例を示す説明図である。It is explanatory drawing which shows the example of the information which a parameter synonym memory | storage device memorize | stores. パラメータ語統一手段の動作の例を示すフローチャートである。It is a flowchart which shows the example of operation | movement of a parameter word unification means. 同義語の統一処理の具体例を示す説明図である。It is explanatory drawing which shows the specific example of the unification process of a synonym. 本発明の第3の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 3rd Embodiment of this invention. 機器設定ファイルの一部の具体例を示す説明図である。It is explanatory drawing which shows the example of a part of apparatus setting file. コマンド変換処理の処理経過の例を示すフローチャートである。It is a flowchart which shows the example of the process progress of a command conversion process. コマンド変換処理の具体例を示す説明図である。It is explanatory drawing which shows the specific example of a command conversion process. 本発明の第4の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 4th Embodiment of this invention. パラメータ重み計算手段の動作の例を示すフローチャートである。It is a flowchart which shows the example of operation | movement of a parameter weight calculation means. 重み付けを行い、重み付け結果から総合類似度を計算する例を示す説明図である。It is explanatory drawing which shows the example which performs weighting and calculates total similarity from a weighting result. 本発明の概要を示すブロック図である。It is a block diagram which shows the outline | summary of this invention.

符号の説明Explanation of symbols

110 要素抽出手段
120 コマンド情報記憶装置
130 コマンド類似度計算手段
140 パラメータ類似度計算手段
150 コマンド選択手段
160 変換ルール作成手段
170 変換ルール記憶装置
410 パラメータ同義語記憶装置
420 パラメータ語統一手段
520 コマンド変換手段
610 パラメータ重み計算手段
DESCRIPTION OF SYMBOLS 110 Element extraction means 120 Command information storage device 130 Command similarity calculation means 140 Parameter similarity calculation means 150 Command selection means 160 Conversion rule creation means 170 Conversion rule storage device 410 Parameter synonym storage device 420 Parameter word unification means 520 Command conversion means 610 Parameter weight calculation means

Claims (24)

第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、当該コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出手段と、
第2のコマンド群の各コマンドのコマンド関連情報およびパラメータ関連情報を記憶するコマンド情報記憶手段と、
第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算手段と、
第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算手段と、
コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付け手段とを備える
ことを特徴とするコマンド対応付け支援システム。
When a command manual including information on the command name and parameters of each command in the first command group is input, the range of information for each command in the command manual is specified, and information on the command name is specified for each command. Information extraction means for extracting certain command related information and parameter related information which is information about parameters;
Command information storage means for storing command related information and parameter related information of each command of the second command group;
Command similarity calculating means for calculating the similarity between the command related information of the commands of the first command group and the command related information of the commands of the second command group;
Parameter similarity calculating means for calculating the similarity between the parameter related information of the commands of the first command group and the parameter related information of the commands of the second command group;
From the similarity of the command related information and the similarity of the parameter related information, a total similarity representing the command similarity is calculated, and the commands of the first command group and the second command group are calculated using the total similarity. A command association support system, comprising: a command association unit that associates with each other.
コマンド対応付け手段は、第1のコマンド群のコマンド毎に、当該コマンドとの総合類似度が高い順に第2のコマンド群のコマンドを提示し、第2のコマンド群のコマンドのうちユーザに指定されたコマンドと第1のコマンド群のコマンドとを対応付ける
請求項1に記載のコマンド対応付け支援システム。
The command association means presents the commands of the second command group in descending order of the overall similarity to the command for each command of the first command group, and is designated by the user among the commands of the second command group. The command association support system according to claim 1, wherein the command is associated with a command of the first command group.
コマンド対応付け手段は、第1のコマンド群のコマンド毎に、第1のコマンド群のコマンドと、当該コマンドとの総合類似度が最も高い第2のコマンド群のコマンドとを対応付ける
請求項1に記載のコマンド対応付け支援システム。
The command association unit associates, for each command of the first command group, a command of the first command group and a command of the second command group having the highest overall similarity with the command. Command mapping support system.
コマンド対応付け手段に対応付けられたコマンドの組み合わせ毎に、第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する変換ルールを作成する変換ルール作成手段を備える
請求項1から請求項3のうちのいずれか1項に記載のコマンド対応付け支援システム。
2. A conversion rule creating means for creating a conversion rule for converting a command in the first command group into a command in the second command group for each combination of commands associated with the command associating means. 4. The command association support system according to any one of 3.
変換ルール作成手段が作成した変換ルールを記憶する変換ルール記憶手段と、
変換ルール記憶手段に記憶された変換ルールをユーザの操作に従って編集する変換ルール編集手段とを備える
請求項4に記載のコマンド対応付け支援システム。
Conversion rule storage means for storing the conversion rule created by the conversion rule creation means;
The command association support system according to claim 4, further comprising: a conversion rule editing unit that edits the conversion rule stored in the conversion rule storage unit according to a user operation.
ハードウェアまたはソフトウェアに対する設定を行うための設定情報であって第1のコマンド群のコマンドを含む設定情報が入力されると、変換ルールに従って、前記設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換するコマンド変換手段を備える
請求項4または請求項5に記載のコマンド対応付け支援システム。
When setting information for setting hardware or software and including setting command including a command of the first command group is input, a command of the first command group included in the setting information is changed according to a conversion rule. The command association support system according to claim 4 or 5, further comprising command conversion means for converting into commands of the second command group.
変換ルール作成手段は、コマンド対応付け手段に対応付けられたコマンドの組み合わせ毎に、第1のコマンド群のコマンドのコマンド名と第2のコマンド群のコマンドのコマンド名とを対応付け、第1のコマンド群のコマンドのパラメータと第2のコマンド群のコマンドのパラメータとを対応付けることによって、変換ルールを作成し、
コマンド変換手段は、設定情報に含まれる第1のコマンド群のコマンドのコマンド名を第2のコマンド群のコマンドのコマンド名に変換し、前記第1のコマンド群のコマンドのパラメータを、対応する第2のコマンド群のコマンドのパラメータとして記述することによって、第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する
請求項6に記載のコマンド対応付け支援システム。
The conversion rule creation means associates the command name of the command in the first command group with the command name of the command in the second command group for each combination of commands associated with the command association means. Create a conversion rule by associating the command parameter of the command group with the command parameter of the second command group,
The command conversion means converts the command name of the command of the first command group included in the setting information into the command name of the command of the second command group, and sets the parameter of the command of the first command group to the corresponding first command group. The command association support system according to claim 6, wherein a command in the first command group is converted into a command in the second command group by describing the parameter as a command parameter of the second command group.
コマンド変換手段は、設定情報に含まれる第1のコマンド群のコマンドの変換ルールが存在しない場合、前記第1のコマンド群のコマンドの変換ルールが存在しない旨の情報を出力する
請求項6または請求項7に記載のコマンド対応付け支援システム。
The command conversion means outputs information indicating that there is no command conversion rule for the first command group when there is no command conversion rule for the first command group included in the setting information. Item 8. The command association support system according to Item 7.
コマンド変換手段は、ハードウェアまたはソフトウェアを指定する指定情報を含む設定情報が入力されると、指定情報によって指定されたハードウェアまたはソフトウェアのコマンドマニュアルに基づいて作成された変換ルールを選択し、設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換する
請求項6から請求項8のうちのいずれか1項に記載のコマンド対応付け支援システム。
When setting information including designation information for specifying hardware or software is input, the command conversion means selects and sets a conversion rule created based on the hardware or software command manual specified by the specification information. The command association support system according to any one of claims 6 to 8, wherein the command of the first command group included in the information is converted into a command of the second command group.
コマンド変換手段は、設定情報に含まれる第1のコマンド群のコマンドを第2のコマンド群のコマンドに変換したときに、変換に用いた変換ルールを一時記憶し、設定情報に前記第1のコマンド群のコマンドが再度出現した場合、一時記憶した変換ルールを参照して第2のコマンド群のコマンドへの変換を行う
請求項6から請求項9のうちのいずれか1項に記載のコマンド対応付け支援システム。
The command conversion means temporarily stores the conversion rule used for the conversion when the command of the first command group included in the setting information is converted into the command of the second command group, and the first command is stored in the setting information. The command association according to any one of claims 6 to 9, wherein when a command of a group appears again, conversion to a command of the second command group is performed with reference to a temporarily stored conversion rule. Support system.
情報抽出手段は、第1のコマンド群のコマンド毎に、コマンド関連情報として、コマンド名および当該コマンドの説明文字列をコマンドマニュアルから抽出し、パラメータ関連情報として、当該コマンドのパラメータ名およびパラメータの説明文字列と、当該コマンドの必須パラメータ数を特定可能な情報とをコマンドマニュアルから抽出し、
コマンド情報記憶手段は、第2のコマンド群のコマンド毎に、コマンド関連情報として、コマンド名および当該コマンドの説明文字列を記憶し、パラメータ関連情報として、パラメータ名およびパラメータの説明文字列と、当該コマンドの必須パラメータ数を特定可能な情報とを記憶し、
コマンド類似度計算手段は、コマンド関連情報の類似度として、コマンド名およびコマンドの説明文字列の類似度を計算し、
パラメータ類似度計算手段は、パラメータ関連情報の類似度として、パラメータ名およびパラメータの説明文字列の類似度と、全パラメータ数の一致度と、必須パラメータ数の一致度とを計算する
請求項1から請求項10のうちのいずれか1項に記載のコマンド対応付け支援システム。
The information extraction means extracts, for each command of the first command group, the command name and the description character string of the command as command related information from the command manual, and the parameter name and parameter description of the command as parameter related information. Extract the character string and information that can specify the number of required parameters of the command from the command manual,
The command information storage means stores, for each command of the second command group, a command name and an explanatory character string of the command as command related information, and a parameter name and an explanatory character string of the parameter as parameter related information, Memorize information that can specify the number of required parameters of the command,
The command similarity calculation means calculates the similarity of the command name and the description character string of the command as the similarity of the command related information,
The parameter similarity calculation means calculates, as the similarity of the parameter related information, the similarity of the parameter name and the description character string of the parameter, the coincidence of all parameter numbers, and the coincidence of essential parameter numbers. The command matching support system according to claim 10.
パラメータ類似度計算手段は、第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列、および第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に含まれる複数の単語について、単語が第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第1のパラメータベクトルを定め、第1のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列、および第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に含まれる複数の単語について、単語が第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第2のパラメータベクトルを定め、第1のパラメータベクトルと第2のパラメータベクトルとのコサイン類似度を、パラメータ名およびパラメータの説明文字列の類似度とする
請求項11に記載のコマンド対応付け支援システム。
The parameter similarity calculation means calculates a word for a plurality of words included in a parameter name and parameter description character string of a command in the first command group, and a parameter name and parameter description character string of a command in the second command group. Is counted in the parameter name and parameter description character string of the command of the first command group, a first parameter vector that is a vector having the count result for each word as an element is determined, and the first command group The command parameter name and the parameter description character string of the command, and the parameter name and parameter description character string of the command of the second command group. Counts the number of occurrences in the parameter description string and requires a count result for each word. 12. The second parameter vector, which is a vector, is defined, and the cosine similarity between the first parameter vector and the second parameter vector is defined as the similarity between the parameter name and the description character string of the parameter. Command mapping support system.
パラメータ類似度計算手段は、第1のコマンド群のコマンドの全パラメータ数と第2のコマンド群のコマンドの全パラメータ数との差の絶対値に所定の正数を加算し、その加算結果の逆数を全パラメータ数の一致度とし、第1のコマンド群のコマンドの必須パラメータ数と第2のコマンド群のコマンドの必須パラメータ数との差の絶対値に所定の正数を加算し、その加算結果の逆数を必須パラメータ数の一致度とする
請求項11または請求項12に記載のコマンド対応付け支援システム。
The parameter similarity calculation means adds a predetermined positive number to the absolute value of the difference between the total number of parameters of the commands of the first command group and the total number of parameters of the commands of the second command group, and the reciprocal of the addition result Is a degree of coincidence of all parameter numbers, and a predetermined positive number is added to the absolute value of the difference between the number of essential parameters of the commands in the first command group and the number of essential parameters of the commands in the second command group, and the addition result The command association support system according to claim 11 or 12, wherein the reciprocal of is a degree of coincidence of the number of essential parameters.
コマンド類似度計算手段は、第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列、および第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に含まれる複数の単語について、単語が第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第1のコマンド名ベクトルを定め、第1のコマンド群のコマンドのコマンド名およびコマンドの説明文字列、および第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に含まれる複数の単語について、単語が第2のコマンド群のコマンドのコマンド名およびコマンドの説明文字列に出現する回数を計数し、単語毎の計数結果を要素とするベクトルである第2のコマンド名ベクトルを定め、第1のコマンド名ベクトルと第2のコマンド名ベクトルとのコサイン類似度を、コマンド名およびコマンドの説明文字列の類似度とする
請求項11から請求項13のうちのいずれか1項に記載のコマンド対応付け支援システム。
The command similarity calculation means calculates a word for a plurality of words included in a command name and command explanation character string of a command in the first command group and a command name and command explanation character string of a command in the second command group. Is counted in the command name of the command of the first command group and the description character string of the command, a first command name vector which is a vector having the count result for each word as an element is determined, and the first command The command name of the command of the group and the command description character string of the command of the second command group, and the command name of the command of the second command group and the command name of the command of the command group of the second command group. And a second vector that counts the number of times the command appears in the description character string of the command and uses the count result for each word as an element. The command name vector is defined, and the cosine similarity between the first command name vector and the second command name vector is defined as the similarity between the command name and the description character string of the command. The command association support system according to claim 1.
同義語の組を記憶する同義語記憶手段と、
前記同義語の組をなす語が第1のコマンド群のコマンドまたは第2のコマンド群のコマンドのパラメータ名およびパラメータの説明文字列に出現する場合、当該パラメータ名およびパラメータの説明文字列に出現する語を前記組内の一つの同義語に変換するパラメータ名統一手段とを備える
請求項11から請求項14のうちのいずれか1項に記載のコマンド対応付け支援システム。
Synonym storage means for storing a set of synonyms;
When a word constituting the set of synonyms appears in the parameter name and parameter description character string of the command of the first command group or the command of the second command group, it appears in the parameter name and parameter description character string of the parameter group. The command matching support system according to claim 11, further comprising: a parameter name unifying unit that converts a word into one synonym in the set.
同義語記憶手段によって記憶された同義語の組をユーザの操作に従って編集する同義語編集手段を備える請求項15に記載のコマンド対応付け支援システム。   The command association support system according to claim 15, comprising synonym editing means for editing a set of synonyms stored by the synonym storage means in accordance with a user operation. パラメータ名およびパラメータの説明文字列の類似度に対する重み係数である第1の重み係数と、全パラメータ数の一致度に対する重み係数である第2の重み係数と、必須パラメータ数の一致度に対する重み係数である第3の重み係数とを用いて、パラメータ類似度計算手段が計算したパラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度に対する重み付けを行う重み付け手段を備え、
コマンド対応付け手段は、コマンド名およびコマンドの説明文字列の類似度と、重み付けが行われた後の、パラメータ名およびパラメータの説明文字列の類似度、全パラメータ数の一致度、および必須パラメータ数の一致度とを用いて総合類似度を計算する
請求項11から請求項16のうちのいずれか1項に記載のコマンド対応付け支援システム。
A first weighting factor that is a weighting factor for the similarity between the parameter name and the description character string of the parameter, a second weighting factor that is a weighting factor for the matching degree of all parameter numbers, and a weighting factor for the matching degree of the number of essential parameters Is used to weight the similarity of the parameter name and parameter description character string calculated by the parameter similarity calculation means, the coincidence of all parameter numbers, and the coincidence of essential parameter numbers. With weighting means,
The command correlating means includes the similarity between the command name and the explanation string of the command, the similarity of the parameter name and the explanation string of the parameter after weighting, the degree of coincidence of all parameters, and the number of required parameters. The command matching support system according to any one of claims 11 to 16, wherein the total similarity is calculated using the degree of coincidence.
コマンド情報記憶手段に記憶された情報をユーザの操作に従って編集するコマンド編集手段を備える
請求項1から請求項17のうちのいずれか1項に記載のコマンド対応付け支援システム。
The command association support system according to any one of claims 1 to 17, further comprising command editing means for editing information stored in the command information storage means in accordance with a user operation.
第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、当該コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出ステップと、
予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのコマンド関連情報を用いて、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算ステップと、
予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのパラメータ関連情報を用いて、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算ステップと、
コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付けステップとを含む
ことを特徴とするコマンド対応付け支援方法。
When a command manual including information on the command name and parameters of each command in the first command group is input, the range of information for each command in the command manual is specified, and information on the command name is specified for each command. An information extraction step for extracting certain command related information and parameter related information which is information about parameters;
Using the command related information of each command of the second command group stored in advance in the command information storage means, the command related information of the command of the first command group and the command related information of the command of the second command group A command similarity calculation step for calculating the similarity,
Using the parameter related information of each command of the second command group stored in advance in the command information storage means, the parameter related information of the command of the first command group and the parameter related information of the command of the second command group A parameter similarity calculation step for calculating the similarity,
From the similarity of the command related information and the similarity of the parameter related information, a total similarity representing the command similarity is calculated, and the commands of the first command group and the second command group are calculated using the total similarity. And a command association step for associating the command with each other.
コマンド対応付けステップで、第1のコマンド群のコマンド毎に、当該コマンドとの総合類似度が高い順に第2のコマンド群のコマンドを提示し、第2のコマンド群のコマンドのうちユーザに指定されたコマンドと第1のコマンド群のコマンドとを対応付ける
請求項19に記載のコマンド対応付け支援方法。
In the command association step, for each command of the first command group, the commands of the second command group are presented in descending order of the overall similarity to the command, and specified by the user among the commands of the second command group. The command association support method according to claim 19, wherein the command is associated with the command of the first command group.
コマンド対応付けステップで、第1のコマンド群のコマンド毎に、第1のコマンド群のコマンドと、当該コマンドとの総合類似度が最も高い第2のコマンド群のコマンドとを対応付ける
請求項19に記載のコマンド対応付け支援方法。
The command association step associates, for each command in the first command group, the command in the first command group and the command in the second command group having the highest overall similarity with the command. Command mapping support method.
コンピュータに、
第1のコマンド群の各コマンドのコマンド名およびパラメータに関する情報を含むコマンドマニュアルが入力されると、当該コマンドマニュアル内のコマンド毎の情報の範囲を特定して、コマンド毎に、コマンド名に関する情報であるコマンド関連情報と、パラメータに関する情報であるパラメータ関連情報とを抽出する情報抽出処理、
予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのコマンド関連情報を用いて、第1のコマンド群のコマンドのコマンド関連情報と第2のコマンド群のコマンドのコマンド関連情報との類似度を計算するコマンド類似度計算処理、
予めコマンド情報記憶手段に記憶された第2のコマンド群の各コマンドのパラメータ関連情報を用いて、第1のコマンド群のコマンドのパラメータ関連情報と第2のコマンド群のコマンドのパラメータ関連情報との類似度を計算するパラメータ類似度計算処理、および、
コマンド関連情報の類似度およびパラメータ関連情報の類似度から、コマンドの類似度を表す総合類似度を計算し、総合類似度を利用して第1のコマンド群のコマンドと第2のコマンド群のコマンドとを対応付けるコマンド対応付け処理
を実行させるためのコマンド対応付け支援プログラム。
On the computer,
When a command manual including information on the command name and parameters of each command in the first command group is input, the range of information for each command in the command manual is specified, and information on the command name is specified for each command. Information extraction processing for extracting certain command related information and parameter related information that is information about parameters,
Using the command related information of each command of the second command group stored in advance in the command information storage means, the command related information of the command of the first command group and the command related information of the command of the second command group Command similarity calculation processing to calculate similarity,
Using the parameter related information of each command of the second command group stored in advance in the command information storage means, the parameter related information of the command of the first command group and the parameter related information of the command of the second command group Parameter similarity calculation processing for calculating similarity, and
From the similarity of the command related information and the similarity of the parameter related information, a total similarity representing the command similarity is calculated, and the commands of the first command group and the second command group are calculated using the total similarity. A command association support program for executing command association processing for associating.
コンピュータに、
コマンド対応付け処理で、第1のコマンド群のコマンド毎に、当該コマンドとの総合類似度が高い順に第2のコマンド群のコマンドを提示させ、第2のコマンド群のコマンドのうちユーザに指定されたコマンドと第1のコマンド群のコマンドとを対応付けさせる
請求項22に記載のコマンド対応付け支援プログラム。
On the computer,
In the command association process, for each command of the first command group, the commands of the second command group are presented in descending order of the overall similarity to the command, and specified by the user among the commands of the second command group. The command association support program according to claim 22, wherein the command is associated with a command of the first command group.
コンピュータに、
コマンド対応付け処理で、第1のコマンド群のコマンド毎に、第1のコマンド群のコマンドと、当該コマンドとの総合類似度が最も高い第2のコマンド群のコマンドとを対応付けさせる
請求項22に記載のコマンド対応付け支援プログラム。
On the computer,
The command association process associates, for each command in the first command group, the command in the first command group and the command in the second command group having the highest overall similarity with the command. Command association support program described in 1.
JP2008287685A 2008-11-10 2008-11-10 Command association support system, command ssociation support method, and program Pending JP2010113651A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008287685A JP2010113651A (en) 2008-11-10 2008-11-10 Command association support system, command ssociation support method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008287685A JP2010113651A (en) 2008-11-10 2008-11-10 Command association support system, command ssociation support method, and program

Publications (1)

Publication Number Publication Date
JP2010113651A true JP2010113651A (en) 2010-05-20

Family

ID=42302141

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008287685A Pending JP2010113651A (en) 2008-11-10 2008-11-10 Command association support system, command ssociation support method, and program

Country Status (1)

Country Link
JP (1) JP2010113651A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033103A (en) * 2010-08-02 2012-02-16 Toshiba Corp User terminal and application management method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012033103A (en) * 2010-08-02 2012-02-16 Toshiba Corp User terminal and application management method thereof

Similar Documents

Publication Publication Date Title
US20060080361A1 (en) Document information processing apparatus, document information processing method, and document information processing program
WO1999046698A1 (en) Document processor and recording medium
JP3220886B2 (en) Document search method and apparatus
JP4722195B2 (en) Database message analysis support program, method and apparatus
JP4860416B2 (en) Document search apparatus, document search method, and document search program
JP2005352888A (en) Notation fluctuation-responding dictionary creation system
JPWO2008093569A1 (en) Information extraction rule creation support system, information extraction rule creation support method, and information extraction rule creation support program
JP2013182410A (en) Business analysis design support device, business analysis design support method, and business analysis design support program
CN114064913A (en) Knowledge graph-based document retrieval method and system
JP5577546B2 (en) Computer system
CN113297251A (en) Multi-source data retrieval method, device, equipment and storage medium
JP2012123675A (en) Method and system for extracting system component
JP2011028379A (en) Program and device for converting data structure
KR101602342B1 (en) Method and system for providing information conforming to the intention of natural language query
JP2010113651A (en) Command association support system, command ssociation support method, and program
JP2010231638A (en) Command association support system, command association support method and program
JP5206675B2 (en) Structured document converter
CN110457435A (en) A kind of patent novelty analysis system and its analysis method
WO2024047997A1 (en) Document analysis device and program for document analysis
JP2009217315A (en) Information processor, control method for information processor, and control program for information processor
WO2022107328A1 (en) Machine learning program, machine learning method, and natural language processing device
WO2015030016A1 (en) System for processing unstructured data, method for processing unstructured data, and recording medium
US20060048126A1 (en) Method and a system thereof for generating a homepage content file capable of dynamically linking with a plurality of on-demand knowledge bases
JP6066089B2 (en) Data relationship determination system, data relationship determination method, and program
JP5811795B2 (en) Document analysis system, document analysis method and program