JP2007334409A - Network connection apparatus, method, and program - Google Patents
Network connection apparatus, method, and program Download PDFInfo
- Publication number
- JP2007334409A JP2007334409A JP2006162225A JP2006162225A JP2007334409A JP 2007334409 A JP2007334409 A JP 2007334409A JP 2006162225 A JP2006162225 A JP 2006162225A JP 2006162225 A JP2006162225 A JP 2006162225A JP 2007334409 A JP2007334409 A JP 2007334409A
- Authority
- JP
- Japan
- Prior art keywords
- information
- connection
- terminal
- connection destination
- product
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、ネットワーク管理装置およびネットワーク管理プログラムの技術に関し、特にTelnet、FTP(File Transfer Protocol)、SSH(Secure SHell)などのユーザ名およびパスワードなどを必要とするCLI(Command Line Interface)上でユーザと機器との対話型通信を行なう通信プロトコルを用いた接続装置の技術に関する。 The present invention relates to a technology of a network management apparatus and a network management program, and in particular, a user on a CLI (Command Line Interface) that requires a user name and password such as Telnet, FTP (File Transfer Protocol), and SSH (Secure Shell). The present invention relates to a technology of a connection device using a communication protocol for performing interactive communication between a device and a device.
インターネットに代表される通信ネットワークを構成するルータやスイッチといったNetwork Element(以下NE)に対して起動、再起動、停止、各種パラメータ追加の変更や削除、情報収集、といった運用作業を行なうために、ネットワークの運用者はTelnet、FTP、SSHといった通信プロトコルを用いて自端末からNEに接続し、CLI(Command Line Interface)上でコマンドを実行し、NEからの応答を検出する。このとき、Telnet、FTP、SSHなどの通信プロトコルの初めの接続手順として、ユーザはその接続を許可してもらうためにNEに対しユーザ名やパスワードを送信する。 In order to perform operations such as starting, restarting, stopping, changing or deleting various parameters, collecting information, etc., for network elements (hereinafter referred to as NEs) such as routers and switches constituting communication networks represented by the Internet. The operator uses a communication protocol such as Telnet, FTP, or SSH to connect to the NE from the terminal, executes a command on the CLI (Command Line Interface), and detects a response from the NE. At this time, as an initial connection procedure of communication protocols such as Telnet, FTP, and SSH, the user transmits a user name and password to the NE in order to have the connection permitted.
また、特殊な権限が必要な処理を行なうために、接続後にアドミニストレータなど権限の異なるユーザとして再度ログインする処理を行なう。このとき権限を変更するためのコマンド(例えば、su、enableなど)と、ユーザ名やパスワードをNEに対し送信する。 Also, in order to perform a process that requires special authority, a process of logging in again as a user having a different authority such as an administrator is performed after connection. At this time, a command for changing the authority (for example, su, enable, etc.), a user name and a password are transmitted to the NE.
接続するたびコマンドやユーザ名やパスワードを入力する手間を削減するために、コマンドやユーザ名やパスワードをやり取りする接続手順を自動で進める方法として、あらかじめユーザ名やパスワードや権限を変更するためのコマンドをネットワーク管理装置に登録しておき、決まった応答を検出した時点で決まったユーザ名やパスワードを送信することで、ユーザが介入することなくNEのCLIに接続することができる。
例えば、OSI等で標準化される管理プロトコルに従い、オブジェクト指向に基づいた形式記述による定義を用意することで管理情報の交換を行なう方法がある(特許文献1参照)。
また、接続する際に、あらかじめ監視対象となるNE群とネットワーク管理装置側にエージェントを組み込み、両者でパスワードを取り決めるなど特殊な方法を用意することで自動接続を行う方法が存在する。
For example, there is a method of exchanging management information by preparing a definition based on an object-oriented format description in accordance with a management protocol standardized by OSI or the like (see Patent Document 1).
In addition, when connecting, there is a method of performing automatic connection by preparing a special method such as incorporating an agent in the NE group to be monitored and the network management apparatus in advance and determining a password for both.
しかしながら、Telnetなど通信プロトコルによる接続処理を自動化するためには、ネットワーク管理システムに対してユーザ名やパスワードを登録し、NEが送信してくる特定の情報に対してユーザ名やパスワード、特定のコマンドを送信するアプリケーション機能をユーザがプログラミングにより実装しなければならないという問題があった。 However, in order to automate connection processing using a communication protocol such as Telnet, a user name and password are registered in the network management system, and the user name, password, and specific command are specified for specific information transmitted by the NE. There has been a problem that the user has to implement an application function for sending a message by programming.
例えば、Telnet接続のセッションを確立した後、NEから「login:」といった文字列が送られてきたことを検出した後に、ユーザ名の文字列を送信し、その後「Password:」といった文字列が送られてきたことを検出した後に、パスワードの文字列を送信する、といった手順を実装しなければならないという問題がある。
このため、NEが送信してくる情報内容は自動接続をするアプリケーション機能にとって既知のものでない限り、自動接続ができない。この場合、アプリケーション機能を新しいパターンに合わせて作りこむプログラミングなどの実装作業が必要となる。実装作業には当然プログラミングの知識が必要であるという問題がある。
For example, after establishing a Telnet connection session, after detecting that a character string such as “login:” has been sent from the NE, a character string such as “Password:” is transmitted. There is a problem that it is necessary to implement a procedure of transmitting a password character string after detecting that the password has been received.
For this reason, automatic connection is not possible unless the information content transmitted by the NE is known to the application function for automatic connection. In this case, implementation work such as programming for creating application functions according to a new pattern is required. Of course, there is a problem that knowledge of programming is necessary for the implementation work.
また、プログラミングの知識を必要としない場合でも、特許文献1のように、オブジェクト指向に基づいた形式記述定義を必要とし、また、TelnetなどのCLIで手動接続するために必要な知識以外の知識(例えば、特許文献1の場合は、OSIが定義した記述形式の知識)も必要となるという問題がある。
Even if programming knowledge is not required, a formal description definition based on object orientation is required as in
また、管理装置や管理エージェントを用意して自動接続を行う場合でも、新しいNEを管理する必要がある場合に、管理エージェントを実装する作業が必要となるという問題がある。
また、ネットワーク運用の現場にて、TelnetなどのCLIを用いてNEの運用作業を行う知識のみを有するユーザにとって、以上の高度な作業を新たに行なうことは困難であるという問題がある。
In addition, even when a management apparatus and a management agent are prepared and automatic connection is performed, there is a problem that when a new NE needs to be managed, an operation for mounting the management agent is required.
In addition, there is a problem that it is difficult for a user who has only knowledge to perform an operation operation of NE using CLI such as Telnet at the site of network operation to newly perform the above advanced operation.
本発明は、このような事情に鑑みてなされたもので、その目的は、オペレータが手動でCLIを利用し接続する知識のみしか持たない場合でも、以降のNEに対する自動接続設定を可能となるネットワーク接続装置、方法およびプログラムを提供することにある。 The present invention has been made in view of such circumstances, and an object of the present invention is to enable automatic connection setting for subsequent NEs even when the operator has only knowledge to manually connect using the CLI. To provide a connection device, a method, and a program.
この発明は上述した課題を解決するためになされたもので、請求項1に記載の発明は、端末のシステム情報と関連付けて前記端末と接続するための接続情報を予め記憶する接続情報記憶手段と、接続先の端末を指定する接続先情報を受信する接続先入力手段と、前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出するプロダクト検出手段と、前記プロダクト検出手段が検出したシステム情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段と、を有することを特徴とするネットワーク接続装置である。
The present invention has been made to solve the above-described problems, and the invention according to
請求項2に記載の発明は、端末のシステム情報の一部であるプロダクト情報と関連付けて前記端末と接続するための接続情報を予め記憶する接続情報記憶手段と、前記プロダクト情報を予め記憶するプロダクト情報記憶手段と、接続先の端末を指定する接続先情報を受信する接続先入力手段と、前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を受信し、前記プロダクト情報記憶手段が記憶する前記プロダクト情報の中から前記受信したシステム情報と一致するプロダクト情報を検出するプロダクト検出手段と、前記プロダクト検出手段が検出したプロダクト情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段と、を有することを特徴とするネットワーク接続装置である。
The invention according to
請求項3に記載の発明は、前記プロダクト検出手段が、前記接続先入力手段の受信した接続先情報に基づいて、前記接続先の端末が正常に稼動しているか否かを検出する稼動検出手段、を有することを特徴とする請求項1または請求項2に記載のネットワーク接続装置である。
According to a third aspect of the present invention, the product detection means detects whether or not the connection destination terminal is operating normally based on the connection destination information received by the connection destination input means. The network connection device according to
請求項4に記載の発明は、プロダクト情報と接続情報とを受信し、前記受信したプロダクト情報と接続情報とを関連づけて前記接続情報記憶手段に記憶する接続情報生成手段、
を有することを特徴とする請求項1から請求項3に記載のネットワーク接続装置である。
The invention according to
The network connection device according to
請求項5に記載の発明は、前記接続情報記憶手段が、端末を指定する接続先情報と関連付けて前記端末と接続するための接続情報を予め記憶し、前記ログイン手段が、前記接続先入力手段の受信した接続先情報に基づいて前記接続情報を前記接続情報記憶手段から選択し、前記選択した接続情報に基づいて前記接続先情報の端末へ接続する、ことを特徴とする請求項1から請求項4に記載のネットワーク接続装置である。
According to a fifth aspect of the present invention, the connection information storage means stores in advance connection information for connecting to the terminal in association with connection destination information designating a terminal, and the login means is the connection destination input means. The connection information is selected from the connection information storage unit based on the received connection destination information, and connected to the terminal of the connection destination information based on the selected connection information. Item 5. The network connection device according to
請求項6に記載の発明は、前記接続情報が、前記端末と接続する複数の接続方法による接続情報を有し、前記ログイン手段が、前記選択した接続先情報が複数の接続方法による接続情報を有する場合には、前記複数の接続方法による接続情報から1つの接続方法による接続情報を選択し、前記選択した1つの接続方法による接続情報に基づき前記端末へ接続する、ことを特徴とする請求項1から請求項5に記載のネットワーク接続装置である。
According to a sixth aspect of the present invention, the connection information includes connection information based on a plurality of connection methods for connecting to the terminal, and the log-in means includes the selected connection destination information indicating connection information based on a plurality of connection methods. If it has, the connection information by one connection method is selected from the connection information by the plurality of connection methods, and the terminal is connected to the terminal based on the connection information by the selected one connection method. The network connection device according to any one of
請求項7に記載の発明は、前記接続情報記憶手段の接続先情報が、XML形式またはTEXT形式で記述してある、ことを特徴とする請求項1から請求項6に記載のネットワーク接続装置である。 According to a seventh aspect of the present invention, in the network connection device according to any one of the first to sixth aspects, the connection destination information of the connection information storage means is described in an XML format or a TEXT format. is there.
請求項8に記載の発明は、前記端末のシステム情報が、前記端末の製造元の情報、前記端末で動作するアプリケーションの情報、または、前記端末で動作するアプリケーションのバージョンに関する情報であり、前記接続情報が、前記端末から送信されてくるプロンプト情報、前記端末の認証のためのユーザ名情報、前記端末の認証のためのパスワード情報、または、前記端末の権利変更コマンド情報である、ことを特徴とする請求項1から請求項7に記載のネットワーク接続装置である。
In the invention according to
請求項9に記載の発明は、端末のシステム情報と関連付けて前記端末と接続するための接続情報を予め記憶し、接続先の端末を指定する接続先情報を受信し、前記受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出し、前記検出したシステム情報と関連する接続情報を前記予め記憶した接続情報から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続する、ことを特徴とするネットワーク接続方法である。 The invention according to claim 9 stores in advance connection information for connecting to the terminal in association with the system information of the terminal, receives connection destination information designating a connection destination terminal, and receives the received connection destination information Based on the connection destination information, detecting system information related to the terminal of the connection destination information, selecting connection information related to the detected system information from the previously stored connection information, and based on the selected connection information, A network connection method characterized by connecting to a terminal.
請求項10に記載の発明は、コンピュータを、端末のシステム情報と関連付けて前記端末と接続するための接続情報を予め記憶する接続情報記憶手段と、接続先の端末を指定する接続先情報を受信する接続先入力手段と、前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出するプロダクト検出手段と、前記プロダクト検出手段が検出したシステム情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段、として機能させるためのネットワーク接続プログラムである。
The invention described in
この発明によれば、オペレータが手動でCLIを利用し接続する知識のみしか持たない場合でも、NEに対する自動接続が可能となる効果を奏する。 According to the present invention, there is an effect that an automatic connection to the NE is possible even when the operator has only knowledge to manually connect using the CLI.
まず、本発明の実施の形態に用いる基礎的な技術について概説する。
SNMP(Simple Network Management Protocol)とは、TCP/IPネットワークにおいて、ルータやコンピュータ、端末など、ネットワークに接続された通信機器(NE)をネットワーク経由で監視・制御するためのプロトコルである。
First, the basic technique used in the embodiment of the present invention will be outlined.
SNMP (Simple Network Management Protocol) is a protocol for monitoring and controlling a communication device (NE) connected to a network such as a router, a computer, and a terminal in a TCP / IP network.
また、制御の対象となる機器(NE)は、MIB−II(Management Information Base−II)と呼ばれる管理情報データベースを持っており、管理を行なう機器は対象機器のMIB−IIに基づいて適切な設定を行なうものとする。
また、MIB−IIの1つにSysDescr情報があり、SysDescr情報には、対象NEの機器名や機器名のベンダ名(製造元の情報)や対象NEで動作するプログラムの情報(例えば、OS(オペレーティングシステム)のバージョンなど)などの対象NEのシステム情報が含まれる。
The device (NE) to be controlled has a management information database called MIB-II (Management Information Base-II), and the device to be managed is set appropriately based on the MIB-II of the target device. Shall be performed.
One of the MIB-IIs includes SysDescr information. The SysDescr information includes a device name of the target NE, a vendor name of the device name (manufacturer information), and information of a program operating on the target NE (for example, OS (Operating System)). System information of the target NE such as the version of the system).
また、実施の形態においては、NEは、SNMPエージェント(Simple Network Management Protocol Agent)が動作しているものとする。ここで、SNMPエージェントとは、SNMPに対応したハブなどのネットワーク機器が備えているプログラムで、自機のMIB−IIを管理し、SNMPマネージャからの要求に従って、MIB−IIをSNMPマネージャに渡したり、自機の操作を行なったりするものである。
なお、本発明による実施の形態においては、後述するように、対象NEでSNMPエージェントが動作していない場合においても、適応可能である。
In the embodiment, it is assumed that the NE is operating an SNMP agent (Simple Network Management Protocol Agent). Here, the SNMP agent is a program provided in a network device such as a hub that supports SNMP, manages its own MIB-II, and passes the MIB-II to the SNMP manager according to a request from the SNMP manager. , To operate the machine.
In the embodiment according to the present invention, as will be described later, the present invention can be applied even when the SNMP agent is not operating in the target NE.
以下、図面を参照して、本発明の実施の形態について説明する。図1は、この発明の一実施形態によるネットワーク接続装置1の構成を示す概略ブロック図である。
図1において、ネットワーク接続装置1は、ユーザAへ出力情報を表示し、また、ユーザAからの入力情報を受信する。また、ネットワーク接続装置1は、NE2へネットワーク3(NW3)を介してNE2と接続する。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram showing a configuration of a
In FIG. 1, the
ネットワーク接続装置1は、GUI部101、プロダクト検出部102、PING接続部103、SNMP接続部104、自動ログイン部105、手動ログイン部106、Telnet接続部107、アダプタファイル生成部108、productcsv記憶部120、自動ログイン用アダプタファイル記憶部121を有する。
The
productcsv記憶部120は、NEの機器のOS名やNEの機器の製造元(ベンダ)を、図2に示すような、Product.csvファイルとして記憶する。Product.csvファイルには、NEの接続情報である後述のプロダクトファイルを一意に決定する文字列が記述されている。
The product csv
図2のProduct.csvファイルには、NEの機器のOS名やNEの機器の製造元(ベンダ)の名が記述されている。これらは、ユーザAが管理しやすいような分類で任意に記述することが可能である。
例えば、同じ製造元のNEに対して同じログイン方法をしたい場合には、製造元により分類してもよいし、同じOSのNEに対して同じログイン方法をしたい場合には、同じOSにより分類してもよい。また、分類をどのようにするかも任意である。
例えば、図2においては、NEのOS名としてOS1、OS2006、OSY、OS1500、OSZ、OSXPがあり、NEのベンダ名としてRED、BLUE、GREEN、PURPLEがある。なお、NEのOS名には、NEのOS名だけでなくOSのバージョンを含めてもよく、NEのベンダ名には、NEのベンダ名だけでなくNEのシリーズ名やそのバージョンなどを含めた情報であってもよい。
Product. Of FIG. The csv file describes the OS name of the NE device and the name of the manufacturer (vendor) of the NE device. These can be arbitrarily described in a classification that is easy for the user A to manage.
For example, if you want to use the same login method for NEs of the same manufacturer, you may classify them according to the manufacturer. If you want to use the same login method for NEs of the same OS, classify them according to the same OS. Good. Also, how the classification is performed is arbitrary.
For example, in FIG. 2, there are OS1, OS2006, OSY, OS1500, OSZ, OSXP as NE OS names, and RED, BLUE, GREEN, PURPLE as NE vendor names. The NE OS name may include not only the NE OS name but also the OS version, and the NE vendor name may include not only the NE vendor name but also the NE series name and its version. It may be information.
自動ログイン用アダプタファイル記憶部121は、複数のアダプタファイルを記憶する機能を有する。例えば、図1に示すように、F01、F02、・・・、F08、・・・となる複数のアダプタファイルを記憶する。
自動ログイン用アダプタファイル記憶部121が記憶するそれぞれのアダプタファイルには、該当する対象NEに接続するための情報(接続情報)が記憶されている。
The automatic login adapter
Each adapter file stored in the automatic log-in adapter
アダプタファイルの一例を図3に示す。実施の形態においては、アダプタファイルはXML(eXtensible Markup Language)ファイルである。アダプタファイルの一部には、対象NEのプロダクトを示すProduct.csvに記述される一つのユニークな文字列が存在し、この文字列によりアダプタファイルのそれぞれが識別される。 An example of the adapter file is shown in FIG. In the embodiment, the adapter file is an XML (extensible Markup Language) file. In part of the adapter file, Product. There is one unique character string described in csv, and each adapter file is identified by this character string.
例えば、図3では、<product></product>タグで囲まれている「RED」という文字列が、このアダプタファイルのユニークな文字列となる。
また、アダプタファイルには、対象NEに接続するための情報である、ログイン名情報、パスワード情報とともに、対象NEが送信してくるプロンプトに関する情報であるプロンプト情報も記憶してある。ここで、プロンプト情報とは、対象NEが、認証のために送信してくる「Username:」や「Password:」などのプロンプトの文字列である。
For example, in FIG. 3, a character string “RED” surrounded by <product></product> tags is a unique character string of this adapter file.
The adapter file also stores prompt information, which is information related to a prompt transmitted by the target NE, along with login name information and password information that are information for connecting to the target NE. Here, the prompt information is a character string of a prompt such as “Username:” or “Password:” sent from the target NE for authentication.
例えば、図3において、<LoginName>タグと</LoginName>タグとで囲まれた文字列(例えば、「neso」)がユーザ名情報であり、<Password>タグと</Password>タグとで囲まれた文字列(例えば、「nesopassword」)がパスワード情報であり、<LoginPrompt>タグと</LoginPrompt>タグとで囲まれた文字列(例えば、「Username:」)がログインを入力するためのプロンプト情報であり、<PasswordPrompt>タグと</PasswordPrompt>タグとで囲まれた文字列(例えば「Password:」)がパスワードを入力するためのプロンプト情報である。 For example, in FIG. 3, a character string (for example, “neso”) surrounded by a <LoginName> tag and a </ LoginName> tag is user name information, and is surrounded by a <Password> tag and a </ Password> tag. The character string (for example, “nesopassword”) is the password information, and a character string (for example, “Username:”) surrounded by the <LoginPromp> tag and the </ LoginPrompt> tag is a prompt for inputting the login. Information, and a character string (for example, “Password:”) surrounded by a <PasswordPrompt> tag and a </ PasswordPrompt> tag is prompt information for inputting a password.
アダプタファイルの例に示したタグ内の文字列についてはこの例に限るものではない。図3の例ではアダプタファイルは、インタフェース仕様(システム情報)ごとに一つのファイルが存在する前提で示されているが、タブ内の文字列を変更し全ての情報が一つのファイルにまとめられていても良い。
実施の形態においては、例えば図2に示すproductcsv記憶部120のProduct.csvファイルに含まれる文字列の1つと、例えば図3に示す自動ログイン用アダプタファイル記憶部121が記憶する1つのアダプタファイルの<product></product>タグで囲まれる文字列とが一致する。
The character string in the tag shown in the example of the adapter file is not limited to this example. In the example of FIG. 3, the adapter file is shown on the premise that there is one file for each interface specification (system information), but the character string in the tab is changed and all information is collected into one file. May be.
In the embodiment, for example, Product. Of the
図1のネットワーク接続装置1の説明に戻る。GUI部101は、表示装置と入力装置とを有しており、ユーザが入力するためのまたは確認するための出力情報をユーザAへ表示装置を介して表示し、ユーザBが入力装置を用いて入力した入力情報を受信する機能を有する。
ここで、例えば、表示装置とはCRT(Cathode Ray Tube)や液晶表示装置等であり、入力装置とはキーボードやマウス等の入力デバイスのことである。
Returning to the description of the
Here, for example, the display device is a CRT (Cathode Ray Tube), a liquid crystal display device, or the like, and the input device is an input device such as a keyboard or a mouse.
例えば、GUI部101がユーザへ表示装置を介して出力する出力情報は、ユーザが接続を希望するNE(以降、対象NEとする)を指定するための情報であり、対象NEのIPアドレスを直接入力するための画面の情報や、対象NEのIPアドレスと関連付けられたアイコンを表示する画面の情報を表示する。
また、例えば、GUI部101がユーザから入力装置を介して受信する入力情報は、直接入力された対象NEのIP、または、選択されたアイコンに関連付けられた対象NEのIPアドレスである。
For example, the output information output from the
For example, the input information that the
また、GUI部101は、入力したIPアドレスに基づいて、自動接続を行うのか、または、手動接続を行うのかの接続方法の情報を受信する機能を有する。
また、GUI部101は、入力された接続方法の情報が自動接続の場合には、入力された対象NEのIPアドレスをプロダクト検出部102および自動ログイン部105へ送信し、入力された接続方法の情報が手動接続の場合には、入力された対象NEのIPアドレスを手動ログイン部106へ送信する機能を有する。
Further, the
In addition, when the input connection method information is automatic connection, the
プロダクト検出部102は、対象NEのIPアドレスをGUI部101から受信し、受信したIPアドレスに基づき、対象NEのプロダクト情報を検出し、検出したプロダクト情報を自動ログイン部105へ送信する機能を有する。
プロダクト検出部102が、受信したIPアドレスに基づき対象NEのプロダクト情報を検出する方法は、PING接続部103を介して対象NEが稼動しているか否かを検出し、稼動している場合には、SNMP接続部104を介して対象NEのMIB−IIの一つであるSysDescr情報を取得し、次に、取得したSysDescr情報(の文字列)がproductcsv記憶部120のProduct.csvファイルの記述内に存在するか否かを検出し、検出結果が存在する場合には、SysDescr情報(の文字列)と一致するProduct.csvファイルの記述をプロダクト情報として検出する。
The
The
PING接続部103は、プロダクト検出部102から受信したIPアドレスに基づき、IPアドレスにより指定されるNEが正常に稼動しているか否かの検出を行う機能を有する。
PING接続部103が行うIPアドレスにより指定されるNEが正常に稼動しているか否かの検出の方法は、例えば、PING接続部103が、IPアドレスにより指定されるNEに対してIPパケットを発行し、そのパケットがNEに正しく届き、NEから発行したIPパケットの応答が行われ、IPパケットの応答をNEから受信するか否かを検出することにより行う。
また、NEが正常に稼動していることの検出により、NEまでのネットワークが正常か否かの検出を行うことも可能である。
The
The method for detecting whether or not the NE specified by the IP address performed by the
It is also possible to detect whether the network up to the NE is normal or not by detecting that the NE is operating normally.
SNMP接続部104は、プロダクト検出部102から受信したIPアドレス情報に基づき、IPアドレスにより指定されるNE(対象NE)のMIB−IIの一つであるSysDescr情報を取得する機能を有する。
SNMP接続部104が、対象NEのMIB−IIの一つであるSysDescr情報を取得する方法は、例えば、対象NEとSNMPによるSNMP GetコマンドによりMIB−IIを取得し、MIB−IIの一つであるSysDescr情報を取得する。
The
The
自動ログイン部105は、IPアドレスをGUI部101から受信し、また、プロダクト検出部102から対象NEのプロダクト情報を受信し、受信したプロダクト情報に基づきアダプタファイルを自動ログイン用アダプタファイル記憶部121から選択し、選択したアダプタファイルと受信したIPアドレスに基づいてTelnet接続部107を介して対象NEにログインをする機能を有する。
ここで、自動ログイン部105が受信したプロダクト情報に基づきアダプタファイルを選択する方法は、自動ログイン部105が、アダプタファイルにおいて<product></product>タグで囲まれている文字列が、受信したプロダクト情報と一致するアダプタファイルを、自動ログイン用アダプタファイル記憶部121から選択することにより実行する。
The automatic login unit 105 receives the IP address from the
Here, the method for selecting the adapter file based on the product information received by the automatic login unit 105 is that the automatic login unit 105 has received a character string enclosed in <product></product> tags in the adapter file. The adapter file that matches the product information is selected from the automatic login adapter
手動ログイン部106は、GUI部101から対象NEのIPアドレスを受信し、受信したIPアドレスについての接続するための接続情報を生成し、生成した接続情報に基づいて、受信したIPアドレスにより指定される対象NEへ接続する機能を有する。
また、手動ログイン部106は、生成した接続情報に基づいて、受信したIPアドレスにより指定される対象NEへ接続が成功した場合には、後述のアダプタファイル生成部108を介して、生成した接続情報をアダプタファイルとして自動ログイン用アダプタファイル記憶部121に記憶する機能を有する。
The
Further, when the
Telnet接続部107は、IPアドレスと接続情報とを自動ログイン部105または手動ログイン部106から受信し、受信したIPアドレスにより指定される対象NEに、受信した接続情報に基づいて接続をする機能を有する。
The
アダプタファイル生成部108は、手動ログイン部106からIPアドレスと接続情報とを受信し、受信したIPアドレスと接続情報に基づきアダプタファイルを自動ログイン用アダプタファイル記憶部121に生成する機能を有する。
The adapter
次に、本発明の一実施形態によるネットワーク接続装置1の動作を図4と図5のフローチャート図を用いて説明する。
まず図4を用いて、第1の動作例として、接続対象であるNEのプロダクトを検出し、検出したNEのプロダクトが有効なアダプタファイルを予め登録してあるXMLファイルから選択し、選択したアダプタファイルの内容であるユーザ名やパスワードなどの接続情報に基づき、対象NEに自動ログインする場合の動作を説明する。
Next, the operation of the
First, referring to FIG. 4, as a first operation example, a NE product to be connected is detected, an adapter file in which the detected NE product is valid is selected from XML files registered in advance, and the selected adapter is selected. The operation when automatically logging in to the target NE will be described based on the connection information such as the user name and password that are the contents of the file.
まず、GUI部101は、ユーザAからの接続するNE(対象NE)のIPアドレスの入力を受信する(ステップA2)。
次に、GUI部101は、ユーザAからの入力した対象NEに、自動接続するのか手動接続するのかの選択入力を受信する(ステップA3)。ここでは、ユーザAは自動接続を選択入力したとして説明する。
First, the
Next, the
対象NEのIPアドレスを受信し、また、自動接続する接続方法の情報を受信したGUI部101は、対象NEのIPアドレスをプロダクト検出部102と自動ログイン部105へ送信する。
次に、対象NEのIPアドレスを受信したプロダクト検出部102は、PING接続部103を介して、対象NEが正常に稼動しているか否かの検出を実行する(ステップA4)。ここでは、対象NEは正常に稼動していると検出されたものとして説明する。
次に、プロダクト検出部102は、SNMP接続部104を介して、対象NEのMIB−IIの一つであるSysDescrの情報を取得する(ステップA5)。
The
Next, the
Next, the
次に、SNMP接続部104は、取得したSysDescrの文字列情報を、プロダクト検出部102に送信する。SysDescrの文字列情報をSNMP接続部104から受信したプロダクト検出部102は、SysDescrの文字列情の中で、productcsv記憶部120のProduct.csvファイルに記述されているものを検出する(ステップA6)。ここでは、Product.csvにSysDescrの文字列が存在したものとして説明する。
Next, the
Product.csvファイルにSysDescrの文字列と一致する文字列が存在することを検出した場合、プロダクト検出部102は自動ログイン部105に検出した文字列(プロダクト情報)を送信する(ステップA6)。
ここでは、SysDescrの文字列情報とProduct.csvに記述されている情報とで一致した文字列が「RED」であったとし、「RED」という文字列(プロダクト情報)を、プロダクト検出部102が自動ログイン部105へ送信するとして説明する。
Product. When it is detected that there is a character string that matches the character string of SysDescr in the csv file, the
Here, the character string information of SysDescr and Product. It is assumed that the character string matched with the information described in csv is “RED”, and the character string “product information” (product information) is transmitted to the automatic login unit 105 by the
次に、自動ログイン部105はプロダクト情報をプロダクト検出部102から受信し、受信したプロダクト情報(文字列の「RED」)に基づき、アダプタファイルを自動ログイン用アダプタファイル記憶部121から検索する(ステップA6)。
例えば、自動ログイン部105は、受信したプロダクト情報が「RED」という文字列の場合、<product>タグと</product>タグとで囲まれる文字列が「RED」であるアダプタファイルを、自動ログイン用アダプタファイル記憶部121から選択する。
この場合、自動ログイン部105が選択したアダプタファイルは、例えば、図3で示すアダプタファイルであるとする。
Next, the automatic login unit 105 receives the product information from the
For example, when the received product information is a character string “RED”, the automatic login unit 105 automatically logs in an adapter file whose character string “RED” is surrounded by a <product> tag and a </ product> tag. Select from the adapter
In this case, it is assumed that the adapter file selected by the automatic login unit 105 is, for example, the adapter file shown in FIG.
次に、自動ログイン部105は、GUI部101から受信したIPアドレスにより指定される対象NEへ、選択したアダプタファイルに基づき、Telnet接続部107を介して、ログインを実行する(ステップA7)。
自動ログイン部105が対象NEへログインを実行する方法は、例えば、まず、自動ログイン部105がIPアドレスにより指定される対象NEへTelnet接続部107を介してTelnetによる接続する。
Next, the automatic login unit 105 executes login to the target NE specified by the IP address received from the
As a method for the automatic login unit 105 to log in to the target NE, for example, first, the automatic login unit 105 connects to the target NE specified by the IP address by Telnet via the
その後、自動ログイン部105は、選択したアダプタファイルの<LoginPrompt>タグと</LoginPrompt>タグとで囲まれた文字列または<PasswordPrompt>タグと</PasswordPrompt>タグとで囲まれた文字列が対象NEから送信されてくるのを待つ。
この場合、対象NEから「Username:」または「Password:」の文字列が送信されてくるのを待つことになる。
After that, the automatic login unit 105 targets the character string enclosed between the <LoginPromp> tag and the </ LoginPromp> tag of the selected adapter file or the character string enclosed between the <PasswordPrompt> tag and the </ PasswordPrompt> tag. Wait for the transmission from NE.
In this case, it waits for the character string “Username:” or “Password:” to be transmitted from the target NE.
次に、自動ログイン部105は、対象NEから文字列を受信し、受信した文字列が、選択したアダプタファイルの<LoginPrompt>タグと</LoginPrompt>タグとで囲まれた文字列の場合には<LoginName>タグと</LoginName>タグで囲まれた文字列を対象NEへ送信し、また、受信した文字列が選択したアダプタファイルの<PasswordPrompt>タグと</PasswordPrompt>タグとで囲まれた文字列の場合には<Password>タグと</Password>タグとで囲まれた文字列を送信する。 Next, the automatic login unit 105 receives a character string from the target NE, and when the received character string is a character string surrounded by a <LoginPromp> tag and a </ LoginPromp> tag of the selected adapter file. The character string enclosed by the <LoginName> tag and the </ LoginName> tag is transmitted to the target NE, and the received character string is enclosed by the <PasswordPrompt> tag and the </ PasswordPrompt> tag of the selected adapter file. In the case of a character string, a character string enclosed by a <Password> tag and a </ Password> tag is transmitted.
この場合、対象NEから文字列「Username:」を受信した場合には、文字列「neso」を対象NEへ送信し、また、対象NEから文字列「Password:」を受信した場合には文字列「nesopassword」を対象NEへ送信する。
これにより、例えば、Telnetなどの通信プロトコル上による対象NEとの接続が完了し、その後、ユーザAは、CLI上で対象NEの設定などが行なえるようになる。
In this case, when the character string “Username:” is received from the target NE, the character string “neso” is transmitted to the target NE, and when the character string “Password:” is received from the target NE, the character string “Nesopassword” is transmitted to the target NE.
Thereby, for example, the connection with the target NE on the communication protocol such as Telnet is completed, and then the user A can set the target NE on the CLI.
例えば、対象NEに接続したことにより、例えば、GUI部101が、CLIコンソールを生成し、生成したCLIコンソールに対象NEからのプロンプトを表示する(ステップA8)。その後、GUI部101が、CLIコンソールを介してユーザAからのコマンドを入力し対象NEへ送信し(ステップA9)、対象NEから応答を取得し、取得した応答をCLIコンソールへ表示する(ステップA10)。その後、GUI部101が、ステップA9とステップA10の処理を繰り返すことにより、ユーザAが対象NEの設定などをすることができる。
その後、GUI部101が、ユーザAからの対象NEとの接続終了の情報を受信し、受信した接続終了の情報を対象NEへ送信し(ステップA11)、対象NEと接続を切断し(ステップA12)、処理を終了する。
For example, by connecting to the target NE, for example, the
Thereafter, the
なお、自動ログイン部105は、先に選択したアダプタファイルに、接続した後の対象NEからのプロンプト情報(例えば「>」)や、suやenableなどの権限を変更するコマンドの文字列と、それに関するパスワードプロンプト文字列やパスワード文字列が先に選択したアダプタファイルにある場合には、これらを用いて、接続した対象NEにおいて、権限を変更する処理を実行する。 Note that the automatic login unit 105 includes, in the previously selected adapter file, prompt information (for example, “>”) from the target NE after connection, a character string of a command for changing authority such as su and enable, When the password prompt character string and the password character string related to the above are present in the adapter file selected earlier, a process for changing authority is executed in the connected NE using these.
例えば、ステップA8において、対象NEからのプロンプトの文字列「>」を受信したことを自動ログイン部105が検出した場合、自動ログイン部105は、先に選択したアダプタファイルに記述してある権利変更のコマンドである「su」または「enable」を送信し、パスワードを入力するためのプロンプトの文字列(例えば、「Password:」)を対象NEから受信するのを待ち、パスワードを入力するためのプロンプトの文字列を対象NEから受信すると、パスワード文字列を送信する。
以上により、自動ログイン部105が、選択したアダプタファイルに基づき、対象NEに接続し、権限変更を実行することが可能となる。
For example, in step A8, when the automatic login unit 105 detects that the character string “>” of the prompt from the target NE has been received, the automatic login unit 105 changes the right described in the adapter file selected earlier. The command to send “su” or “enable”, which is the command of, waits for receiving the character string of the prompt for entering the password (for example, “Password:”) from the target NE, and prompts to enter the password Is received from the target NE, a password character string is transmitted.
As described above, the automatic login unit 105 can connect to the target NE and execute authority change based on the selected adapter file.
なお、対象NEがユーザ名やパスワード入力を求めない場合に備え、図3で例示したアダプタファイルのタグで囲まれた文字列に、例えば「BLANK」といった予約文字列を記述しておき、自動ログイン部105は、アダプタファイルに基づき対象NEへユーザ名などを送信する場合に、タグで囲まれたユーザ名の文字列に予約文字列である「BLANK」を検出した場合には、ユーザ名などの文字列を送らずに、Enterキーの特殊文字(Enterキーに相当する文字情報)を送信することも可能である。 Note that a reserved character string such as “BLANK” is described in the character string enclosed in the tag of the adapter file illustrated in FIG. When transmitting a user name or the like to the target NE based on the adapter file, the unit 105 detects the reserved character string “BLANK” in the character string of the user name surrounded by the tag, It is also possible to send a special character of the Enter key (character information corresponding to the Enter key) without sending a character string.
また、上記説明においては、プロダクト検出部102が、受信したSysDescr情報がproductcsv記憶部120のProduct.csvファイルの記述内に、SysDescrの文字列が存在することか否かを検出することにより、対象NEの接続先プロダクトの検出をしたが、productcsv記憶部120のProduct.csvファイルを用いず、プロダクト検出部102が、受信したSysDescr情報を自動ログイン部105へ送信し、自動ログイン部105が受信したSysDescr情報の文字列を含むアダプタファイルを自動ログイン用アダプタファイル記憶部121から直接選択するようにしてもよい。
In the above description, the
第1の動作例では、接続するためのアダプタファイルが既に存在し、アダプタファイルの情報を用いて自動接続する一実施形態によるネットワーク接続装置1の動作について述べた。
次に、一実施形態によるネットワーク接続装置1にアダプタファイルが存在しない場合の動作について説明する。アダプタファイルが存在しない場合に、CLIによる運用知識のみを用いて、以後の運用で自動ログインするための設定処理を行なう第2の動作例を図4と図5とを用いて説明する。
In the first operation example, the operation of the
Next, an operation when the adapter file does not exist in the
まず、図4において、GUI部101は、ユーザAからの接続するNE(対象NE)のIPアドレスの入力を受信する(ステップA2)。次に、GUI部101は、ユーザAからの入力した対象NEに、自動接続するのか手動接続するのかの選択入力を受信する(ステップA3)。ここまでの処理は、第1の動作例と同じである。次に、ステップA3で、ユーザAは手動接続を選択入力したとして説明する。
First, in FIG. 4, the
対象NEのIPアドレスを受信し、また、手動接続する接続方法の情報を受信したGUI部101は、対象NEのIPアドレスを手動ログイン部106へ送信する(図4のD1から図5のD1へ)。
次に、手動ログイン部106は、GUI部101を介してユーザAへ、アダプタファイルの選択かプロンプト情報の入力の選択かを表示する(図5のステップB4)。ここでは、ユーザAは、プロンプト情報の入力を選択したものとして説明する。
次に、手動ログイン部106は、GUI部101を介してユーザAへ、接続に必要な情報(プロンプト情報)を入力するための画面を表示し、ユーザAがGUI部101を介して入力したプロンプト情報を受信する(ステップB5)。
The
Next, the
Next, the
例えば、手動ログイン部106が表示するプロンプト情報を入力するための画面は、図6に示すように、対象NEのIPアドレス、ログインプロンプト、ログインユーザ名、パスワードプロンプト、パスワードなどを入力する入力欄を有する。
ユーザAは、図6の入力画面の各入力欄に、それぞれに該当する情報を入力する。
For example, the screen for inputting prompt information displayed by the
User A inputs information corresponding to each of the input fields of the input screen of FIG.
ユーザAは、図6の入力画面に基づき、対象NEのIPアドレス、ログインユーザ名、パスワード、必要な場合はユーザ権限を変更するコマンドを入力する。さらに、ユーザAは、ログインユーザ名を入力する際のプロンプト文字列(例では「Username:」など)、パスワードを入力する際のプロンプト(例では「Password:」など)、ユーザ権限を変更するコマンドを入力する際のプロンプト文字列(例えば、「>」など)を入力する。
なお、手動ログイン部106は、プロンプト情報を入力するための画面を表示する時に、対象NEのIPアドレスの入力欄に、先に手動ログイン部106がGUI部101から受信した対象NEのIPアドレスを予め入力して表示してもよい。
User A inputs a command for changing the IP address, login user name, password, and, if necessary, user authority of the target NE based on the input screen of FIG. Furthermore, the user A prompts a character string for entering a login user name (eg “Username:” in the example), a prompt for entering a password (eg “Password:” in the example), and a command for changing user authority. A prompt character string (for example, “>”) is input.
When the
次に、手動ログイン部106は、入力されたプロンプト情報の文字列情報に基づいて、自動ログインのための一時的なアダプタファイル(テンポラリアダプタファイルとする)を、例えば手動ログイン部106のメモリ内に、生成する。
Next, based on the character string information of the input prompt information, the
実施の形態においては、図6に示した画面により入力された情報は、例えば図3に示すXMLファイルに変換して保存される。例えば、テンポラリアダプタファイルには、タグ<LoginPrompt>と</LoginPrompt>との間には、例えば「Username:」などの入力された文字列、タグ<PasswordPrompt>と</PasswordPrompt>との間には例えば「Password:」などの入力された文字列が記述される。 In the embodiment, the information input on the screen shown in FIG. 6 is converted into an XML file shown in FIG. 3, for example, and stored. For example, in the temporary adapter file, between the tags <LoginPromp> and </ LoginPrompt>, for example, an input character string such as “Username:”, and between the tags <PasswordPrompt> and </ PasswordPrompt>. For example, an input character string such as “Password:” is described.
また、テンポラリアダプタファイルにおいて、タグ<LoginName>と</LoginName>との間には入力されたユーザ名の文字列が記述され、<Password></Password>内には入力されたパスワード文字列が記述される。
さらにテンポラリアダプタファイルにおいて、図6の入力において権限を変更するコマンドが入力された場合には、<Prompt></Prompt>内に例えば入力された「>」の文字列が記述され、<EnableCommand></EnableCommand>には入力された「enable」や「su」といったコマンドの文字列が記述され、<EnablePassword></EnablePassword>内には権限を変更するための入力されたパスワードの文字列が記述される。
In the temporary adapter file, a character string of the input user name is described between the tags <LoginName> and </ LoginName>, and the input password character string is stored in <Password></Password>. Described.
Furthermore, in the temporary adapter file, when a command for changing authority is input in the input of FIG. 6, for example, the input character string “>” is described in <Prompt></Prompt>, and <EnableCommand></EnableCommand> describes a character string of the input command such as “enable” or “su”, and <EnablePassword></EnablePassword> describes the character string of the input password for changing the authority. Is done.
次に、手動ログイン部106が、生成したテンポラリアダプタファイルに基づき、Telnet接続部を介して、GUI部101から受信したIPアドレスにより指定される対象NEへ接続(自動ログイン)をする(ステップB6)。
ここで、手動ログイン部106が実行する対象NEへの接続(図5のステップB6)は、第1の動作例において、自動ログイン部105がプロダクトファイルに基づいて対象NEへ接続した接続(図4のステップA7)と同じである。
Next, based on the generated temporary adapter file, the
Here, the connection to the target NE executed by the manual login unit 106 (step B6 in FIG. 5) is the connection (FIG. 4) that the automatic login unit 105 connects to the target NE based on the product file in the first operation example. Step A7).
例えば、手動ログイン部106は、Telnet接続部107を介して対象NEに接続後、入力されたテンポラリプロダクトファイルのプロンプト情報である例えば「Username:」または「Password:」の文字列が、対象NEから送信されてくるのを待つ。
For example, after the
手動ログイン部106は、対象NEから上記文字列が送信されたのを検出後、<LoginPrompt></LoginPrompt>内の文字列である「Username:」を検出した場合、<LoginName></LoginName>内に記述されたユーザ名の文字列を、Telnet接続部107を介して対象NEへ送信する。
また、手動ログイン部106は、<PasswordPrompt></PasswordPrompt>内の文字列である「Username:」を検出した場合、<Password></Password>内に記述されたパスワード文字列を、Telnet接続部107を介して対象NEへ送信する。
After detecting that the character string is transmitted from the target NE, the
Further, when the
ステップB6にて、手動ログイン部106が送信したユーザ名とパスワードが対象NEにとって正当でなく、手動ログイン部106が対象NEと接続できない場合、手動ログイン部106は、再度プロンプト情報の入力を実行し(ステップB5)、再度入力されたプロンプト情報に基づき対象NEと接続(ステップB6)を繰り返す。
In step B6, when the user name and password transmitted by the
ステップB6にて、手動ログイン部106が送信したユーザ名とパスワードが対象NEにとって正当であり、手動ログイン部106が対象NEと接続できた場合、手動ログイン部106がアダプタファイル生成部を介して、自動ログイン用アダプタファイル記憶部121に、テンポラリアダプタファイルに基づいてアダプタファイルを生成する(ステップB7)。
ここでは、生成するアダプタファイルとして、アダプタファイル名には入力された接続対象のIPアドレスを用いる。例えば、IPアドレスが「192.168.1.5」だとすると、アダプタファイル名として「192.168.1.5.adapter」といったIPアドレスに「adapter」を付ける命名則で、アダプタファイルを生成する。
In step B6, when the user name and password transmitted by the
Here, as the adapter file to be generated, the input IP address to be connected is used as the adapter file name. For example, if the IP address is “192.168.1.5”, an adapter file is generated according to a naming rule that adds “adapter” to an IP address such as “192.168.1.5.adapter” as an adapter file name.
次に、対象NEとの接続ができたことより、ユーザAは対象NEの設定などを行う。以降の処理は、図4のステップA8からステップA12と同じである。 Next, since the connection with the target NE has been established, the user A sets the target NE. The subsequent processing is the same as step A8 to step A12 in FIG.
以上のようにして、対象NEと接続するためのアダプタファイルが、自動ログイン用アダプタファイル記憶部121に、生成される。
以降、実施の形態におけるネットワーク接続装置1の自動ログイン部105が、生成したアダプタファイルを用いて、対象NEと接続することが可能となる。
As described above, the adapter file for connecting to the target NE is generated in the automatic login adapter
Thereafter, the automatic login unit 105 of the
例えば、以降、同じ対象NEに接続する場合、自動ログイン部105はGUI部101から入力されたIPアドレスから同じIPアドレスを冠したアダプタファイルを検索する(ステップB9)。アダプタファイルを検出した場合、上記手順を自動でログイン処理を実行し、ログインする。(削除されるなどして)アダプタファイルが存在しなかった場合、未知の対象としてユーザに異なるアダプタファイルを選択させ、接続する。または該当するアダプタファイルが存在しないものとして、第2の動作を繰返し、ユーザに必要な文字列を入力させ、アダプタファイルを生成する。詳細については後に詳述する。 For example, when connecting to the same target NE thereafter, the automatic login unit 105 searches for an adapter file bearing the same IP address from the IP address input from the GUI unit 101 (step B9). If an adapter file is detected, the above procedure is automatically executed and login is performed. If the adapter file does not exist (because it is deleted, etc.), the user selects a different adapter file as an unknown target and connects. Alternatively, assuming that the corresponding adapter file does not exist, the second operation is repeated, and the user is made to input a necessary character string to generate an adapter file. Details will be described later.
次に、図4と図5を用いて、自動的な接続に失敗した場合に、手動ログイン部106が接続処理を実行する動作を説明する。
まず、図4のステップA4で、対象NEのIPアドレスを受信したプロダクト検出部102が、PING接続部103を介して、対象NEが正常に稼動しているか否かの検出を実行し、対象NEは正常に稼動していなかった場合には、対象NEとの接続が不可能であるため、処理を終了する。
Next, using FIG. 4 and FIG. 5, an operation in which the
First, in step A4 in FIG. 4, the
図4のステップA5において、プロダクト検出部102は、SNMP接続部104を介して対象NEのMIB−IIの一つであるSysDescrの情報を取得するが、対象NEがSNMP接続について応答がなかった場合(図4のD2)には、プロダクト検出部102は、対象NMのSNMPエージェントが動作していないことをメッセージ表示し(ステップB10)、選択ダイアログを表示し、ユーザAからのダイアログからの選択入力を待つ(ステップB11)。
In step A5 of FIG. 4, the
プロダクト検出部102が表示する選択ダイアログには、アダプタファイルの選択と、手動設定と、処理終了とがある。
ユーザAからの選択入力が、アダプタフファイルの選択の場合、手動ログイン部106が、GUI部101を介してユーザAへ、アダプタファイルの選択かプロンプト情報の入力の選択かを表示する(ステップB4)。以降の処理は先に説明した手順と同様である。
The selection dialog displayed by the
When the selection input from the user A is an adapter file selection, the
ユーザAからの選択入力が、手動設定の場合、手動ログイン部106は、GUI部101を介してユーザAへ、接続に必要な情報(プロンプト情報)を入力するための画面を表示し、ユーザAがGUI部101を介して入力したプロンプト情報を入力する(ステップB5)。以降の処理は先に説明した手順と同様である。
When the selection input from the user A is manual setting, the
図4のステップA6で、プロダクト検出部102が、productcsv記憶部120のProduct.csvファイルの記述内に、SNMP接続部104から受信したSysDescrの文字列が存在しないことを検出した場合(D3)、自動ログイン部105が、GUI部101から受信したIPアドレスのアダプタファイルを自動ログイン用アダプタファイル記憶部121から検索する(ステップB9)。
例えば、GUI部101から受信したIPアドレスが192.168.1.5だとすると、アダプタファイル名が「192.168.1.5.adapter」であるアダプタファイルを、自動ログイン部105がproductcsv記憶部120から、検索する。
In step A6 of FIG. 4, the
For example, assuming that the IP address received from the
自動ログイン部105は、受信したIPアドレスのアダプタファイルを自動ログイン用アダプタファイル記憶部121から検索できた場合(E2)、検索したアダプタファイルに基づいて、GUI部101から受信したIPアドレスにより指定される対象NEへ、Telnet接続部107を介して、ログインを実行する(ステップA7)。以降の処理は先に説明した手順と同様である。
When the automatic login unit 105 can retrieve the adapter file of the received IP address from the adapter
自動ログイン部105は、受信したIPアドレスのアダプタファイルを自動ログイン用アダプタファイル記憶部121から検索できなかった場合(E2)、手動ログイン部106が、GUI部101を介してユーザAへ、アダプタファイルの選択かプロンプト情報の入力の選択かを表示する(ステップB4)。以降の処理は先に説明した手順と同様である。
When the automatic login unit 105 cannot retrieve the adapter file of the received IP address from the automatic login adapter file storage unit 121 (E2), the
また、ステップB4の、手動ログイン部106が、GUI部101を介してユーザAへ、アダプタファイルの選択かプロンプト情報の入力の選択かを表示し、ユーザAの選択がアダプタファイルの選択であった場合、手動ログイン部106は、productcsv記憶部120からプロダクトファイルの一覧を取得し、取得したプロダクトファイルの一覧を、GUI部101を介してユーザAへ表示し、ユーザAからのプロダクトファイルの選択入力を待つ(ステップB8)。
Further, in step B4, the
ユーザAからのプロダクトファイルの選択入力を受信した手動ログイン部106は、受信した選択入力のプロダクトファイルをproductcsv記憶部120から取得し、取得したアダプタファイルに基づいて、GUI部101から受信したIPアドレスにより指定される対象NEへ、Telnet接続部107を介して、ログインを実行する(ステップA7)。以降の処理は先に説明した手順と同様である。
Upon receiving the product file selection input from the user A, the
以上のように、自動ログイン部105による処理において、対象NEに接続できない場合においても、手動ログイン部106が処理を実行することにより、対象NEと接続できる。
As described above, even if the process by the automatic login unit 105 cannot connect to the target NE, the
なお、実施の形態として、IPアドレスと関連するアダプタファイルを、アダプタファイル名が「192.168.1.5.adapter」として作成すると説明したが、これに限られるものではなく、例えば、アダプタファイルの中で、タグ<IPADDRESS>と</IPADDRESS>との間に「192.168.1.5」と記述しておき、ファイル名は任意としてもよい。
この場合、自動ログイン部105は、アダプタファイルの中でタグ<IPADDRESS>と</IPADDRESS>との間の文字列が、GUI部101から受信したIPアドレスと一致するアダプタファイルを選択し、選択したアダプタファイルに基づき、受信したIPアドレスにより指定されるNEに接続する機能を有するようにする。
In the embodiment, the adapter file associated with the IP address has been described as being created with the adapter file name “192.168.1.5.adapter”. However, the present invention is not limited to this. , “192.168.1.5” is described between the tags <IPADDRESS> and </ IPADDRESS>, and the file name may be arbitrary.
In this case, the automatic login unit 105 selects and selects the adapter file in which the character string between the tags <IPADDRESS> and </ IPADDRESS> matches the IP address received from the
なお、実施の形態として、IPアドレスと関連するアダプタファイルを、アダプタファイル名が「192.168.1.5.adapter」として作成する(ステップB7)として説明したが、更に、IPアドレスの後にアダプタを生成した日時の情報を追加してユニークなファイル名を生成するようにしてもよい。
このようにしてアダプタファイルを生成することにより、自動ログイン部105がGUI部101から受信したIPアドレスのアダプタファイルを自動ログイン用アダプタファイル記憶部121から検索する(ステップB9)ときに、同じIPアドレスのアダプタファイルが複数ある場合においても、自動ログイン部105が、例えば、生成された日時が新しいアダプタファイルを選択するようにするようにして、1つのアダプタファイルを選択するようにすることも可能である。
なお、アダプタファイルにおいて、日時についての情報を、アダプタファイルの中のタグで囲まれた情報として記述してもよい。この場合、自動ログイン部105は、例えば、アダプタファイルが複数ある場合、アダプタファイルのタグの中の日時において、日時が新しいアダプタファイルを選択するようにする。
In the embodiment, the adapter file associated with the IP address is created as the adapter file name “192.168.1.5.adapter” (step B7). A unique file name may be generated by adding information on the date and time when the file is generated.
By generating the adapter file in this way, the same IP address is used when the automatic login unit 105 searches for the adapter file of the IP address received from the
In the adapter file, the date and time information may be described as information surrounded by tags in the adapter file. In this case, for example, when there are a plurality of adapter files, the automatic login unit 105 selects an adapter file with a new date and time at the date and time in the tag of the adapter file.
次に、アダプタファイルが存在しない場合に、簡単な方法でアダプタファイルを生成し、以後の運用で対象NEに自動接続するための設定処理を行なう手順を説明する。
アダプタファイルに必要な文字列が入力されていることで、自動ログイン部105が自動ログインを行う手順については第1および第2の動作例にて説明した。
次に、第2の動作例で生成したアダプタファイルを書き換えて、より汎用的なアダプタファイルに変更する方法について述べる。
Next, a procedure for generating an adapter file by a simple method when the adapter file does not exist and performing a setting process for automatically connecting to the target NE in the subsequent operation will be described.
The procedure for the automatic login unit 105 to perform automatic login by inputting a necessary character string in the adapter file has been described in the first and second operation examples.
Next, a method for rewriting the adapter file generated in the second operation example to change it to a more general-purpose adapter file will be described.
例えば、第2の動作例において生成した「192.168.1.1.adapter」というアダプタファイル名のアダプタファイル(以降、192.168.1.1アダプタファイルとする)は、対象NEのIPアドレスが192.168.1.1である場合(のみ)に、自動ログイン部105により(ステップB9において)選択される。 For example, the adapter file with the adapter file name “192.168.1.1.adapter” generated in the second operation example (hereinafter referred to as 192.168.1.1 adapter file) is the IP address of the target NE. Is selected by the automatic login unit 105 (in step B9).
従って、例えば、生成したアダプタファイルである192.168.1.1アダプタファイルをコピーし、アダプタファイルのタグ<product>とタグ</product>との間の文字列(任意の文字列または空白(ナルストリング)であり、例えば「XXX」とする)を変更する。例えば、文字列「XXX」を「ABC」にする。またproduct.csvファイルに、新たに文字列「ABC」の文字列を追記する。 Therefore, for example, the generated adapter file, 192.168.1.1 adapter file, is copied, and a character string (an arbitrary character string or a blank space between the tag <product> and the tag </ product> in the adapter file) For example, “XXX”). For example, the character string “XXX” is changed to “ABC”. Also, product. A character string “ABC” is newly added to the csv file.
これにより第1の具体例に新たに「ABC」という文字列で動作する手順が加わることになり、容易に「ABC」のプロダクト(SNMPによりSysDescrの文字列中に「ABC」の文字列が出現する)である対象NEへの自動ログインが実現することが可能となる。 As a result, a procedure for operating with the character string “ABC” is newly added to the first specific example, and the product “ABC” (the character string “ABC” appears easily in the character string of SysDescr by SNMP). It is possible to realize automatic login to the target NE.
次に、図7を用いて、対象NEに、複数のログイン方法がある場合のログインについて説明する。
例えば、対象NEに複数の接続ユーザが存在する場合や、ルータに管理者権限で自動ログインしたい場合と一般使用者権限でログインしたい場合とを使い分けたい場合などが該当する。
アダプタファイルに、例えば、図7に示すように複数のパターン(default、login、enable、lab)の接続情報を記述しておくことで、多様なログインの方法(ログインパターン)を選択することができる。
Next, the login when the target NE has a plurality of login methods will be described with reference to FIG.
For example, there are a case where there are a plurality of connected users in the target NE, and a case where it is desired to use an automatic login to the router with an administrator authority and a case where it is desired to log in with a general user authority.
Various connection methods (login patterns) can be selected by describing connection information of a plurality of patterns (default, login, enable, lab) in the adapter file, for example, as shown in FIG. .
図7の例では、タグ<default>と</default>とで囲まれた部分、タグ<login>と</login>とで囲まれた部分、タグ<enable>と</enable>とで囲まれた部分、タグ<lab>と</lab>とで囲まれた部分がそれぞれ異なったログインパターンとして記述されている。
それぞれdefault、login、enable、labというユニークな文字列で識別され、これらの文字列をユーザが選択することでログインパターンを変更し自動ログインする。
また、タグ<select>と</select>とで囲まれた部分に、複数のパターンの文字列を記述しておく(default、login、enable、lab)。
In the example of FIG. 7, a portion surrounded by tags <default> and </ default>, a portion surrounded by tags <login> and </ login>, and surrounded by tags <enable> and </ enable>. The parts surrounded by the tags <lab> and </ lab> are described as different login patterns.
Each is identified by a unique character string of default, login, enable, and lab, and when the user selects these character strings, the login pattern is changed and automatic login is performed.
In addition, character strings of a plurality of patterns are described in a portion surrounded by tags <select> and </ select> (default, login, enable, lab).
この場合、手動ログイン部106が、選択したアダプタファイルに、複数のログイン方法がある場合には、選択したアダプタファイルの複数のログイン方法からログイン方法を選択し、選択したログイン方法に基づいて接続する機能を有するようにする。
In this case, when there are a plurality of login methods in the selected adapter file, the
例えば、ステップB8にて、ユーザAからのプロダクトファイルの選択入力に応じてアダプタファイルを取得した手動ログイン部106が、取得したアダプタファイルのタグ<select>と</select>とで囲まれた部分に、複数のパターンの文字列があるか否かを検出する。
複数のパターンの文字列がある場合には、手動ログイン部106が、GUI部101を介して、選択したアダプタファイルのタグ<select>と</select>とで囲まれた文字列(例えば、default、login、enable、lab)をユーザAに表示し、表示した文字列からのユーザAによる選択入力を待つ。
For example, in step B8, the
If there are a plurality of patterns of character strings, the
次に、手動ログイン部106が、表示した文字列からのユーザAの選択入力(例えばenable)を受信した場合、受信した選択入力のタグで囲まれる接続情報に基づき、GUI部101から受信したIPアドレスにより指定される対象NEへ、Telnet接続部107を介して、ログインを実行する(ステップA7)。
Next, when the
なお、自動ログイン部105は、対象NEとの接続のために選択したアダプタファイルに複数のログイン方法がある場合には、defaultのログイン方法により接続する。このようにすることにより、ユーザが自動接続を選択した場合には、ユーザは、アダプタファイルに複数のログイン方法がある場合においても、ログイン方法の選択をする必要がなく、対象NEに接続することが出来る。 Note that when there are a plurality of login methods in the adapter file selected for connection with the target NE, the automatic login unit 105 connects using the default login method. In this way, when the user selects automatic connection, the user does not need to select a login method even when there are multiple login methods in the adapter file, and connects to the target NE. I can do it.
以上説明したように、本実施の形態においては、NEの製造ベンダ(製造元の名称)や、NEのOS、NEのOSのバージョンなどと関連づけて、予めユーザ名やパスワードなどNEと接続するための接続情報を予め記憶装置に記憶しておく。 As described above, in the present embodiment, the user name, password, etc. for connecting to the NE in advance are associated with the NE manufacturer (manufacturer name), the NE OS, the NE OS version, and the like. Connection information is stored in advance in a storage device.
まず、接続対象NEのIPアドレスをユーザからユーザインタフェースを介して取得する。接続対象NEのIPアドレスを取得する方法は、IPアドレスをユーザが直接入力する方法や、ソフトウェアのGUIにおいて接続対象NEを選択させるアイコンをクリックして指定する方法を用いてもよい。 First, the IP address of the connection target NE is acquired from the user via the user interface. As a method for acquiring the IP address of the connection target NE, a method in which the user directly inputs the IP address or a method of clicking and specifying an icon for selecting the connection target NE in the software GUI may be used.
次に取得したIPアドレスを持つ接続対象NEのCLI上のインタフェース仕様を特定する。インタフェース仕様はNEのOSに依存することが多く、NEのOS種別が特定できれば、NEが送信する文字列情報のパターンすなわちCLIログインのインタフェース仕様を特定できる。
そのために、まずSNMPによってNEからMIB−IIのSysDescrオブジェクトのパラメータを取得し、NEやOSの製造ベンダ、OSのバージョンなどを特定する。
次に、特定したNEのOS、OSのバージョン、製造ベンダなどに基づき、記憶装置から接続情報を検索し、検索した接続情報に基づいて、接続対象NEへ接続する。
Next, the interface specification on the CLI of the connection target NE having the acquired IP address is specified. The interface specification often depends on the NE OS, and if the NE OS type can be specified, the pattern of character string information transmitted by the NE, that is, the CLI login interface specification can be specified.
For this purpose, first, the parameters of the MIB-II SysDescr object are obtained from the NE by SNMP, and the NE, OS manufacturer, OS version, etc. are specified.
Next, connection information is retrieved from the storage device based on the identified NE OS, OS version, manufacturing vendor, and the like, and the connection target NE is connected based on the retrieved connection information.
なお、SNMPエージェントと通信できない場合や、SNMPによる通信を行ないたくない場合には、あらかじめ製造ベンダ名をIPアドレスと共にソフトウェアに入力してもよい。または、あらかじめ接続前に対象NEのプロダクトがわかっている場合は、次の処理で行なう対象NE用のXMLファイルを、手動で直接選択してもよい。 If communication with the SNMP agent is not possible or communication with SNMP is not desired, the manufacturer name may be input to the software together with the IP address in advance. Alternatively, if the product of the target NE is known in advance before connection, the XML file for the target NE to be performed in the next process may be manually selected directly.
以上説明した本発明により、製造プロダクトやNEのOSのバージョンなどの違いにより、CLI上でNEから送信される文字列情報の仕様が異なる複数のNEに対し自動ログインすることができ、特に新しいNEの導入時やOSのバージョン更改などで上記仕様が異なり接続できない場合でも、プログラミングによる再実装などの手順やエージェント技術を必要とせずにすぐに自動接続ができる。 According to the present invention described above, it is possible to automatically log in to a plurality of NEs having different specifications of character string information transmitted from the NE on the CLI due to differences in manufactured products, NE OS versions, and the like. Even if the above specifications are different and connection is not possible due to the introduction of OS or OS version renewal, automatic connection can be made immediately without the need for re-implementation by programming or agent technology.
また、以上説明した本発明により、仕様がそれぞれ異なるNEに対し、ログインユーザ名、ログインパスワード、ユーザの権限を変更する特殊なコマンド(UNIX(登録商標)のCLIにおけるsuコマンドやルータCLIにおけるenableなど)といったパラメータや、NEから送信される文字列情報のインタフェース仕様を、アダプタファイルと呼ぶXML形式のテキストファイルに記述しておき、インタフェース仕様(対象NEのシステム情報)を読み込む機能と、インタフェース仕様に従ってNEに対して適切な文字列を送信し自動でログインする機能と、複数の異なる仕様を持つNEに対してアダプタファイルに記述された文字列情報の違いによって自動ログインするために送信する文字列情報を変更し、ユーザが意識することなく自動ログインすることができる。 In addition, according to the present invention described above, special commands for changing the login user name, login password, and user authority (such as the SU command in the UNIX (registered trademark) CLI and the enable in the router CLI) for NEs having different specifications. ) And the interface specification of the character string information transmitted from the NE are described in an XML format text file called an adapter file, and the interface specification (system information of the target NE) is read and the interface specification is used. Character string information to be sent for automatic login due to the difference in the character string information described in the adapter file to the NE having a plurality of different specifications and the function of automatically transmitting an appropriate character string to the NE Change the user's awareness It is possible to automatically login without a.
また、以上説明した本発明により、SNMPによって対象プロダクトやOSの情報を取得することで、複数あるXMLファイルからどの情報を用いて自動ログインするかを、自動で選択し、ログインすることができる。また、対象ごとに異なるXMLファイルを適用させるルールを登録する機能を有し、そのルールによって特定のNEに特定のXMLファイルを適用し、パスワードやユーザ名が異なっていても自動接続を行うことができる。 Further, according to the present invention described above, it is possible to automatically select and log in which information is used for automatic login from a plurality of XML files by acquiring information on the target product and OS by SNMP. In addition, it has a function to register a rule for applying different XML files for each target, and a specific XML file is applied to a specific NE according to the rule, and automatic connection can be made even if the password and user name are different. it can.
以上のように、本発明を用いると、オペレータが手動でCLIを利用し接続する知識のみしか持たない場合でも、以降のNEに対する自動接続設定を可能とする。
また、NEの製造ベンダやOSの違いにより、プロンプト情報の応答などインタフェース仕様が異なる多種類のNEに対する接続を自動で行なうことができる。NEの製造ベンダやOSの違いにより、プロンプト情報の応答などインタフェース仕様が異なる多種類のNEに対する接続を上記の方法により自動で行なうことができない場合でも、手動でCLIを利用し接続する場合と同等の知識のみで最初の一回以後の処理を自動接続する設定が可能となる。
As described above, when the present invention is used, even when the operator has only knowledge of manually using the CLI to connect, subsequent automatic connection setting for the NE is enabled.
Further, connection to various types of NEs having different interface specifications, such as prompt information response, can be automatically performed depending on the NE manufacturing vendor and OS. Even when connection to multiple types of NEs with different interface specifications such as response to prompt information due to differences in NE manufacturing vendor and OS cannot be performed automatically by the above method, it is equivalent to connecting manually using CLI. With this knowledge alone, it is possible to automatically connect the first and subsequent processes.
また、未知でかつインタフェース仕様が異なるNEを監視することになった場合でも、ネットワーク管理装置のアプリケーションプログラムの開発・実装を行なうことなく、自動接続を行う設定ができる。
また、自動接続のみならず、権限の変更コマンドなど接続時に自動で行ないたい処理の設定を、オペレータが手動でCLIを利用し接続する場合と同等の知識のみある場合でも可能となる。
また、自動接続のみならず、権限の変更コマンドなど接続時に自動で行ないたい処理の設定を、ネットワーク管理装置のアプリケーションプログラムの開発・実装を行なうことなく可能となる。
Even when NEs that are unknown and have different interface specifications are to be monitored, automatic connection can be set without developing and implementing an application program of the network management apparatus.
Further, not only automatic connection but also setting of processing to be automatically performed at the time of connection, such as an authority change command, can be performed even when the operator has only the same knowledge as when manually connecting using the CLI.
Further, not only automatic connection but also setting of processing to be performed automatically at the time of connection such as authority change command can be performed without developing and implementing an application program of the network management apparatus.
また、ユーザ名やパスワードが異なる複数の対象に対し、自動接続が可能となる。
したがって、新規NEを導入し管理対象とする場合においても、ネットワーク管理装置の開発にかかる期間やコスト、手間を一切かけることなく、自動接続および以後の設定処理を継続することができる。
In addition, automatic connection is possible for a plurality of objects with different user names and passwords.
Therefore, even when a new NE is introduced and set as a management target, automatic connection and subsequent setting processing can be continued without taking any period, cost, and effort for development of the network management apparatus.
また、本発明は、CLIの接続に関係する応答を読み込む機能、SNMPによる対象のプロダクトを判定する機能、XMLによる設定定義を読み込み自動接続する機能を有することにより、設定を必要とせずに自動接続を行うことが可能となる。
また、本発明は、XMLの設定定義を表示・変更する複数のユーザインタフェースによる簡単化、設定定義の自動生成を行う機能、XML設定定義を選択する機能を有していることにより、CLIによる設定業務に必要なスキルや知識のみを用いるだけで、自動接続の設定を行い以後の自動接続を実現することが可能となる。
In addition, the present invention has a function of reading a response related to CLI connection, a function of judging a target product by SNMP, and a function of reading a setting definition by XML and automatically connecting, so that automatic connection is not required. Can be performed.
In addition, the present invention has a function of simplifying a plurality of user interfaces for displaying / changing an XML setting definition, a function for automatically generating a setting definition, and a function for selecting an XML setting definition. By using only skills and knowledge necessary for business, automatic connection can be set and subsequent automatic connection can be realized.
なお、上記の実施例では、本発明を実現する各装置を機能面から説明したが、各装置の各機能はパーソナルコンピュータやワークステーションなどのコンピュータにプログラムを実行させることによって実現することもできる。
すなわち、上記の実施形態で説明した各種の処理手順は、あらかじめ用意されたプログラムをコンピュータ上で実行することによって実現することができる。そして、これらのプログラムは、ハードディスク、フレキシブルディスク(FD)、CD−ROM、MO、DVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行することもできる。
例えば、実施形態に示したようなプログラムを格納したCD−ROM(装置ごとに別個のCD−ROMであってもよい)を配布し、このCD−ROMに格納されたプログラムを各コンピュータが読み出して実行するようにしてもよい。
In the above-described embodiments, each device that implements the present invention has been described in terms of functions. However, each function of each device can also be realized by causing a computer such as a personal computer or a workstation to execute a program.
That is, the various processing procedures described in the above embodiments can be realized by executing a program prepared in advance on a computer. These programs are recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, and a DVD, and can be executed by being read from the recording medium by the computer.
For example, a CD-ROM storing a program as shown in the embodiment (may be a separate CD-ROM for each apparatus) is distributed, and each computer reads the program stored in the CD-ROM. You may make it perform.
図8を用いて、NEのSysDescr情報と、Product.csvファイルに含まれる文字列と、アダプタファイルの<product></product>タグで囲まれる文字列との関連と、その動作について補足する。
図8の(1)に示すように、例えば、NE1からNE10がある。
ここで、NEの管理において、NE1からNE6は同じ接続方法であり(接続情報として、接続ためのユーザ名やパスワードなどが同じ)、また、NE7からNE10は同じ接続方法であるとする。
ここで、NE1からNE6までから取得したシステム情報であるSysDescr情報は、ベンダがベンダ1であり、それぞれのOSがOS2からOS7である、という情報を(文字列として)含んでいるとする。
また、NE7からNE10までから取得したシステム情報であるSysDescr情報は、OSがOS1であり、それぞれのベンダがベンダ2からベンダ5である、という情報を(文字列として)含んでいるとする。
Using FIG. 8, the SysDescr information of NE and Product. It supplements about the relationship between the character string contained in a csv file, and the character string enclosed by the <product></product> tag of an adapter file, and its operation | movement.
As shown in (1) of FIG. 8, for example, there are NE1 to NE10.
Here, in the NE management, NE1 to NE6 have the same connection method (the connection user name and password are the same as connection information), and NE7 to NE10 have the same connection method.
Here, it is assumed that the SysDescr information, which is system information acquired from NE1 to NE6, includes information (as a character string) that the vendor is
Further, it is assumed that the SysDescr information, which is system information acquired from NE7 to NE10, includes information (as a character string) that the OS is OS1 and each vendor is
例えば、図8(3)に示すように、Product.csvファイルに含まれる文字列が「ベンダ1」と「OS1」である場合、それぞれのNEのシステム情報であるSysDescr情報(の中の文字列の情報で)で、Product.csvファイルに含まれる文字列と一致する情報は、図8(2)に示すように、NE1からNE6は「ベンダ1」であり、NE7からNE10は「OS1」となる。
For example, as shown in FIG. When the character strings included in the csv file are “
次に、実施の形態においては、図8(4)に示すアダプタファイルの<product></product>タグで囲まれる文字列が、図8(2)に示した文字列と一致するアダプタファイルを選択し、選択したアダプタファイルの接続情報を用いて、それぞれのNEに接続することが可能となる。
ここで、図8の(3)と(4)に示すように、Product.csvファイルに含まれる文字列と、アダプタファイルの<product></product>タグで囲まれる文字列は一致する。
Next, in the embodiment, an adapter file in which the character string enclosed by the <product></product> tag of the adapter file shown in FIG. 8 (4) matches the character string shown in FIG. It becomes possible to connect to each NE using the connection information of the selected adapter file.
Here, as shown in (3) and (4) of FIG. The character string included in the csv file matches the character string enclosed in the <product></product> tag of the adapter file.
また、図8のようにNE1からNE10がある場合において、新規にOSがOS1であるNE11が増設された場合においても、NE11にOS1の場合の接続方法を設定することのみで、NE11に接続することが可能となる。これは、NE11のシステム情報の一部がOS1と一致し、OS1のアダプタファイルが選択され、選択されたOS1のアダプタファイルに基づきNE11に接続することによる。
また、新規にベンダがベンダ1であるNE12が追加された場合においても、NE12にベンダ1の場合の接続方法を設定することのみで、NE12に接続することが可能となる。これは、NE12のシステム情報の一部がベンダ1と一致し、ベンダ1のアダプタファイルが選択され、選択されたベンダ1のアダプタファイルに基づきNE12に接続することによる。
Further, in the case where there are NE1 to NE10 as shown in FIG. 8, even when NE11 whose OS is OS1 is newly added, it is connected to NE11 only by setting the connection method in the case of OS1 to NE11. It becomes possible. This is because part of the system information of the NE 11 matches the
Further, even when the NE 12 whose vendor is the
以上、この発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計等も含まれる。 The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design and the like within a scope not departing from the gist of the present invention.
本発明は、複数のネットワーク機器を管理する管理装置に用いて好適である。 The present invention is suitable for use in a management apparatus that manages a plurality of network devices.
1 ネットワーク接続装置
2 NE
3 NW
101 GUI部
102 プロダクト検出部
103 PING接続部
104 SNMP接続部
105 自動ログイン部
106 手動ログイン部
107 Telnet接続部
108 アダプタファイル生成部
120 productcsv記憶部
121 自動ログイン用アダプタファイル記憶部
1
3 NW
DESCRIPTION OF
Claims (10)
接続先の端末を指定する接続先情報を受信する接続先入力手段と、
前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出するプロダクト検出手段と、
前記プロダクト検出手段が検出したシステム情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段と、
を有することを特徴とするネットワーク接続装置。 Connection information storage means for preliminarily storing connection information for connecting to the terminal in association with system information of the terminal;
A connection destination input means for receiving connection destination information for specifying a connection destination terminal;
Product detection means for detecting system information related to the terminal of the connection destination information based on the connection destination information received by the connection destination input means;
Login means for selecting connection information related to the system information detected by the product detection means from the connection information storage unit, and connecting to the terminal of the connection destination information based on the selected connection information;
A network connection device comprising:
前記プロダクト情報を予め記憶するプロダクト情報記憶手段と、
接続先の端末を指定する接続先情報を受信する接続先入力手段と、
前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を受信し、前記プロダクト情報記憶手段が記憶する前記プロダクト情報の中から前記受信したシステム情報と一致するプロダクト情報を検出するプロダクト検出手段と、
前記プロダクト検出手段が検出したプロダクト情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段と、
を有することを特徴とするネットワーク接続装置。 Connection information storage means for preliminarily storing connection information for connecting to the terminal in association with product information that is a part of system information of the terminal;
Product information storage means for storing the product information in advance;
A connection destination input means for receiving connection destination information for specifying a connection destination terminal;
Based on the connection destination information received by the connection destination input means, system information related to the terminal of the connection destination information is received and matches the received system information from among the product information stored in the product information storage means. Product detection means for detecting product information;
Login information for selecting connection information related to product information detected by the product detection means from the connection information storage unit, and connecting to the terminal of the connection destination information based on the selected connection information;
A network connection device comprising:
前記接続先入力手段の受信した接続先情報に基づいて、前記接続先の端末が正常に稼動しているか否かを検出する稼動検出手段、
を有することを特徴とする請求項1または請求項2に記載のネットワーク接続装置。 The product detection means is
An operation detecting means for detecting whether or not the terminal of the connection destination is operating normally based on the connection destination information received by the connection destination input means;
The network connection device according to claim 1, further comprising:
を有することを特徴とする請求項1から請求項3に記載のネットワーク接続装置。 Connection information generating means for receiving product information and connection information, and storing the received product information and connection information in association with each other in the connection information storage means;
The network connection device according to claim 1, further comprising:
端末を指定する接続先情報と関連付けて前記端末と接続するための接続情報を予め記憶し、
前記ログイン手段が、
前記接続先入力手段の受信した接続先情報に基づいて前記接続情報を前記接続情報記憶手段から選択し、前記選択した接続情報に基づいて前記接続先情報の端末へ接続する、
ことを特徴とする請求項1から請求項4に記載のネットワーク接続装置。 The connection information storage means
Preliminarily storing connection information for connecting to the terminal in association with connection destination information for specifying the terminal,
The login means is
Selecting the connection information from the connection information storage means based on the connection destination information received by the connection destination input means, and connecting to the terminal of the connection destination information based on the selected connection information;
The network connection device according to claim 1, wherein the network connection device is a network connection device.
前記端末と接続する複数の接続方法による接続情報を有し、
前記ログイン手段が、
前記選択した接続先情報が複数の接続方法による接続情報を有する場合には、前記複数の接続方法による接続情報から1つの接続方法による接続情報を選択し、前記選択した1つの接続方法による接続情報に基づき前記端末へ接続する、
ことを特徴とする請求項1から請求項5に記載のネットワーク接続装置。 The connection information is
Having connection information by a plurality of connection methods for connecting to the terminal;
The login means is
When the selected connection destination information includes connection information based on a plurality of connection methods, connection information based on one connection method is selected from connection information based on the plurality of connection methods, and connection information based on the selected connection method is selected. To connect to the terminal based on
The network connection device according to claim 1, wherein the network connection device is a network connection device.
XML形式またはTEXT形式で記述してある、
ことを特徴とする請求項1から請求項6に記載のネットワーク接続装置。 The connection destination information of the connection information storage means is
It is described in XML format or TEXT format.
The network connection device according to claim 1, wherein the network connection device is a network connection device.
前記端末の製造元の情報、前記端末で動作するアプリケーションの情報、または、前記端末で動作するアプリケーションのバージョンに関する情報であり、
前記接続情報が、
前記端末から送信されてくるプロンプト情報、前記端末の認証のためのユーザ名情報、前記端末の認証のためのパスワード情報、または、前記端末の権利変更コマンド情報である、
ことを特徴とする請求項1から請求項7に記載のネットワーク接続装置。 The system information of the terminal is
Information about the manufacturer of the terminal, information about the application running on the terminal, or information about the version of the application running on the terminal,
The connection information is
Prompt information transmitted from the terminal, user name information for authentication of the terminal, password information for authentication of the terminal, or right change command information of the terminal,
The network connection device according to claim 1, wherein:
接続先の端末を指定する接続先情報を受信し、
前記受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出し、
前記検出したシステム情報と関連する接続情報を前記予め記憶した接続情報から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続する、
ことを特徴とするネットワーク接続方法。 Pre-store connection information for connecting to the terminal in association with the system information of the terminal,
Receives connection destination information that specifies the destination device,
Based on the received connection destination information, system information related to the terminal of the connection destination information is detected,
Select connection information related to the detected system information from the previously stored connection information, and connect to the terminal of the connection destination information based on the selected connection information,
A network connection method characterized by the above.
端末のシステム情報と関連付けて前記端末と接続するための接続情報を予め記憶する接続情報記憶手段と、
接続先の端末を指定する接続先情報を受信する接続先入力手段と、
前記接続先入力手段の受信した接続先情報に基づいて、前記接続先情報の端末に関するシステム情報を検出するプロダクト検出手段と、
前記プロダクト検出手段が検出したシステム情報と関連する接続情報を前記接続情報記憶部から選択し、前記選択した接続情報に基づき前記接続先情報の端末へ接続するログイン手段、
として機能させるためのネットワーク接続プログラム。
Computer
Connection information storage means for preliminarily storing connection information for connecting to the terminal in association with system information of the terminal;
A connection destination input means for receiving connection destination information for specifying a connection destination terminal;
Product detection means for detecting system information related to the terminal of the connection destination information based on the connection destination information received by the connection destination input means;
Login means for selecting connection information related to the system information detected by the product detection means from the connection information storage unit and connecting to the terminal of the connection destination information based on the selected connection information;
Network connection program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006162225A JP4675834B2 (en) | 2006-06-12 | 2006-06-12 | Network connection apparatus, method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006162225A JP4675834B2 (en) | 2006-06-12 | 2006-06-12 | Network connection apparatus, method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007334409A true JP2007334409A (en) | 2007-12-27 |
JP4675834B2 JP4675834B2 (en) | 2011-04-27 |
Family
ID=38933864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006162225A Expired - Fee Related JP4675834B2 (en) | 2006-06-12 | 2006-06-12 | Network connection apparatus, method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4675834B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015130120A (en) * | 2014-01-08 | 2015-07-16 | キヤノン株式会社 | Information processing device, information processing method and program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10107839A (en) * | 1996-10-01 | 1998-04-24 | Murata Mach Ltd | Communication terminal equipment |
JP2003163783A (en) * | 2001-11-28 | 2003-06-06 | Murata Mach Ltd | Communication terminal |
JP2004064446A (en) * | 2002-07-29 | 2004-02-26 | Nec Corp | Communication system for traveling object, communication equipment used for the same, and its communication protocol consistency managing method |
JP2004289807A (en) * | 2003-03-03 | 2004-10-14 | Ricoh Co Ltd | Connection test method, connection test program, recording medium, and image forming apparatus |
-
2006
- 2006-06-12 JP JP2006162225A patent/JP4675834B2/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10107839A (en) * | 1996-10-01 | 1998-04-24 | Murata Mach Ltd | Communication terminal equipment |
JP2003163783A (en) * | 2001-11-28 | 2003-06-06 | Murata Mach Ltd | Communication terminal |
JP2004064446A (en) * | 2002-07-29 | 2004-02-26 | Nec Corp | Communication system for traveling object, communication equipment used for the same, and its communication protocol consistency managing method |
JP2004289807A (en) * | 2003-03-03 | 2004-10-14 | Ricoh Co Ltd | Connection test method, connection test program, recording medium, and image forming apparatus |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015130120A (en) * | 2014-01-08 | 2015-07-16 | キヤノン株式会社 | Information processing device, information processing method and program |
Also Published As
Publication number | Publication date |
---|---|
JP4675834B2 (en) | 2011-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100778160B1 (en) | Remote creation of printer instances on a workstation | |
US7886033B2 (en) | Network administration tool employing a network administration protocol | |
US8478849B2 (en) | Network administration tool | |
US8316438B1 (en) | Network management providing network health information and lockdown security | |
US7882213B2 (en) | Network management system to monitor managed elements | |
US9331902B2 (en) | Apparatus and method providing unified network management | |
US9043252B2 (en) | Systems and methods for analysis of network equipment command line interface (CLI) and runtime management of user interface (UI) generation for same | |
US20090132698A1 (en) | System and Method for Automatic Configuration and Management of Home Network Devices | |
JP2019508769A (en) | Data-driven automatic provisioning of telecommunications applications | |
JP4869831B2 (en) | ADAPTER GENERATION DEVICE, METHOD, AND PROGRAM | |
US20050286435A1 (en) | Remote management system | |
US11405257B2 (en) | System for centralized monitoring and control of IoT devices | |
JP2001175562A (en) | Method for copying configuration setting between electronic devices | |
JPWO2003038630A1 (en) | Electronic device monitoring method, electronic device, computer, and program thereof | |
JP4293169B2 (en) | Network equipment control system | |
JP4675834B2 (en) | Network connection apparatus, method and program | |
JP4541994B2 (en) | Control device, control method and program | |
Cisco | CiscoView 5.4 | |
Cisco | Product Overview | |
Cisco | Product Overview | |
Cisco | Product Overview | |
Cisco | Product Overview | |
JP2000148632A (en) | Method and device for managing information of network device and storage medium | |
JP2000076166A (en) | Multi-router setting device | |
Segec et al. | Mapping Network Entity Relationships Based on SNMP Data Collection |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080801 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101018 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101026 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101221 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110118 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110126 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140204 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140204 Year of fee payment: 3 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
LAPS | Cancellation because of no payment of annual fees |