JP4112393B2 - Network connection device detection device - Google Patents

Network connection device detection device Download PDF

Info

Publication number
JP4112393B2
JP4112393B2 JP2003034066A JP2003034066A JP4112393B2 JP 4112393 B2 JP4112393 B2 JP 4112393B2 JP 2003034066 A JP2003034066 A JP 2003034066A JP 2003034066 A JP2003034066 A JP 2003034066A JP 4112393 B2 JP4112393 B2 JP 4112393B2
Authority
JP
Japan
Prior art keywords
search
network connection
response
connection device
network
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.)
Expired - Fee Related
Application number
JP2003034066A
Other languages
Japanese (ja)
Other versions
JP2004247866A (en
Inventor
孝 山崎
光成 魚住
靖 村澤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2003034066A priority Critical patent/JP4112393B2/en
Publication of JP2004247866A publication Critical patent/JP2004247866A/en
Application granted granted Critical
Publication of JP4112393B2 publication Critical patent/JP4112393B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ネットワーク上に接続されたローカルエリアネットワーク(以下、LANとする。)接続機器の検知および情報収集を行うネットワーク接続機器検出装置に関するものである。
【0002】
【従来の技術】
従来、TCP/IP(Transmission Control Protocol/Internet Protocol)でネットワーク上に接続された機器を検出する場合、情報管理機器から、指定したアドレスの範囲内のすべてのIPアドレスに向け、Ping(ピング)スキャンを実施して機器を検出する。次いで検出したLAN接続機器に対して、SNMP(Simple Network Management Protocol:シンプル・ネットワーク・マネージメント・プロトコル)でのアクセスにより、ベンダ名、機器名などの標準MIB(Management Information Base)情報を取り出し、LAN接続機器の検出と機器情報の入手を行っている。
また、従来の技術として、情報管理機器からインターネットに接続された通信端末に対してPing信号を送付し、通信端末からのPing応答により、接続機器の死活の確認、さらに、通信端末の保有する情報を併せて返送することにより、情報収集側の情報管理サーバ側で、端末およびその周りの状況を判断する技術が提案されている(例えば、特許文献1を参照。)。
【0003】
ここで、上記Pingとは、TCP/IPネットワークにおいて、IPパケットが通信先まで届いているかどうかや、IP的に到達可能かどうかを調べるために用いる最も基本的なコマンドであり、ICMP(Internet Control Message Protocol)のエコーコマンドを使って実現されているものである。Pingスキャンを実行することで、返答が返ってくれば相手のノードは存在し、(少なくともIP層レベルでの)ネットワークソフトウェアはアクティブになっていることが分かる。
また、上記SNMPとは、IETF(Internet Engineering Task Force)で標準化されたTCP/IPネットワーク環境での管理プロトコルである。管理側のSNMPマネージャと被管理側のSNMPエージェントという2つのプログラム間で、MIB(Management Information Base:SNMPによって管理される項目を定義したもので、自機の状態を保持する変数。)と称する管理情報を交換することにより、機器の管理を行う。MIBには、標準MIBと各機器固有の情報を各メーカが独自に展開した拡張MIBと呼ばれるものがある。
【0004】
【特許文献1】
特開2000−251174公報
【0005】
【発明が解決しようとする課題】
従来のネットワーク接続機器検出方法は、以上のように構成されているが、Pingスキャンに対する応答が制限されているLAN接続機器がある場合には、その存在の確認を行うことができないという問題があった。また、SNMPエージェント機能を有していないLAN接続機器に対して、従来の方法で検出を行った場合、Pingスキャンのみが有効となり、接続しているかどうかの判断はできる。しかし、SNMPでのアクセスが無効となるため、対象とする接続機器の情報については入手ができず、LAN接続機器の詳細判別ができなかった。すなわち、SNMPエージェントを有しないLAN接続機器の検出においては、接続のみを判断することはできても、機器に関する有効な情報の入手ができないという問題があった。
【0006】
この発明は、上記のような問題点を解決するためになされたもので、Pingスキャンに対する応答が制限されているLAN接続機器の検出、または通常SNMPエージェント機能を有していないLAN接続機器の検出とその情報収集を可能にするネットワーク接続機器検出方法を得ることを目的とする。
【0007】
【課題を解決するための手段】
この発明に係るネットワーク接続機器検出装置は、ネットワーク上にあるネットワーク接続機器について、それらのネットワーク接続機器の検出と機器情報の入手を行うネットワーク接続機器検出装置において、ネットワーク上にあるネットワーク接続機器のIPアドレスを予め記録した検出機器調査IPリストを備え、当該検出機器調査IPリストに載っているネットワーク接続機器に対してARPを用いてIPアドレスに対する実アドレスを調べるARP検索を行い、実アドレスの応答があったネットワーク接続機器に対してPingを用いてネットワークに接続されている機器の存否を問い合わせるPing検索を行い、Ping検索により存在が確認されたネットワーク接続機器に対して、NetBIOSを用いて当該ネットワーク接続機器の機器情報を問い合わせ収集するNetBIOS検索を行い、NetBIOS検索により情報の収集ができたネットワーク接続機器に対して、ユーザ・データグラム・プロトコルを用いて独自文字列を送付し接続応答アプリケーションを格納したネットワー接続機器の応答確認を行う接続応答AP検索を行うようにし
【0008】
【発明の実施の形態】
以下、この発明の各実施の形態を説明する。
実施の形態1.
図1はこの発明の各実施の形態に係るLAN接続機器検出を実施するネットワークの接続例を示すブロック図である。図において、例えば、パーソナルコンピュータで構成されたLAN接続機器検出装置2から、ネットワーク伝送路1に接続されている他の機器に対して、LAN接続機器検出を実行する配置を示している。ネットワーク伝送路1に接続された機器は、NetBIOS・Node・Statusリクエスト対応LAN接続機器3、Pingスキャン非反応機器(例えば、Proxy)5、ルータ6、LAN検出機器管理サーバ7、通常のLAN接続機器などである。この例では、LAN接続機器検出装置2は、特定した機器として示されているが、自身もネットワークに接続された機器の一つである。したがって、他のLAN接続機器も、後述するLAN接続機器検出を行う各検索機能を備えてさえいれば、当然、この発明のLAN接続機器検出装置としての役割を担えるものである。
ここで、上記NetBIOS(ネットバイオス)とは、Windows(登録商標) NTなどで、ネットワーク上のプログラムが使用するアプリケーション・プログラム・インタフェースで、プロトコルも含んでいる。
【0009】
図2はこの発明の実施の形態1に係るLAN接続機器検出装置の機能構成を示すブロック図である。図において、LAN接続機器検出制御部10は、LAN接続機器の検出処理を制御する手段である。検出調査IP判定結果テーブル12は、ネットワーク上のLAN接続機器を検出した結果を保持する手段である。検出器機調査IPリストテーブル13は、ネットワーク上にあるLAN接続機器のIPアドレスについて予め記録したリストを保持する手段である。ARP(ADDRESS resolution Protocol:アドレス・リゾルーション・プロトコル)検索部14は、このLAN接続機器検出制御部10からの指示を受けARPを使ってネットワークに接続されている機器のIPアドレスに対する実アドレスの検索を行う手段である。発信制御部16は、このARP検索部14からの指示を受けネットワーク上にARP信号を送り出す手段である。応答制御部17は、発信制御部16から出されたARP信号の応答を一定期間待つ手段である。Ping検索部18は、LAN接続機器検出制御部10からの指示を受けPingを使った検索を行う手段である。発信制御部20は、Ping検索部18からの指示を受けネットワークの検出対象のLAN接続機器に向けPingを送る手段である。応答制御部21は、発信制御部20から送付されたPingの応答を一定期間待つ手段である。
【0010】
ここで、上記ARPとは、TCP/IPネットワークにおいて、IPアドレスからイーサネット(登録商標)(Ethernet(登録商標))の物理アドレス(MACアドレス:Media Access Contorol Address :ネットワークでホストを識別するために設定されるハードウェアアドレスのこと。ここでは、実アドレスとする。)を求めるのに使われるプロトコルである。TCP/IPでの通信においては、IPアドレスとともに通信相手のNIC(Network Information Center)に割り振られているMACアドレスを知る必要がある。そのため、ARPではセグメント内の全ノードに対してリクエストを配信し、各ノードからの返答を得ることで、MACアドレスを知ることになる。返答されてきたMACアドレスは送信元のノードにキャッシュとして登録される。
【0011】
NetBIOS検索部22は、LAN接続機器検出制御部10からの指示を受けNetBIOSを使ったLAN接続機器の情報収集を行う手段である。発信制御部23は、NetBIOS検索部22からの指示を受けネットワーク上の検出対象のLAN接続機器に向けNetBIOSを送る手段である。応答制御部24は、発信制御部23から送付されたNetBIOSの応答を一定期間待つ手段である。接続応答AP(Application:アプリケーション)検索部25は、LAN接続機器検出制御部10からの指示を受け、UDP(User Datagram Protocol:ユーザ・データグラム・プロトコル)を用いて独自文字列を送付してLAN接続機器検出応答機能の確認を行う手段である。発信制御部26は、接続応答AP検索部25の指示を受け、ネットワーク上の検出対象のLAN接続機器に向け独自文字列を送付する手段である。応答制御部27は、発信制御部26から送付された送信の応答を一定期間待つ手段である。LAN接続機器検出問い合わせ制御部28は、LAN検出機器管理サーバ7(図1)に向かって、LAN接続機器検出問い合わせを行う手段である。
【0012】
ここで、上記UDPとは、TCP/IPプロトコルにおける、トランスポート層のプロトコルで、2つのノード上のプロセス(アプリケーション)間で、ベストエフォート型のデータグラム指向の通信を行うものである。UDPは、その下位層にあるIPパケットを、ほとんどそのままアプリケーションから使えるようにしただけのプロトコルである。そのため、パケットが相手に確実に届くという保証はないし、再送や受信確認応答、フロー制御、大きなデータの分割や再合成(フラグメント化)などは、すべてアプリケーション側が自分で制御する必要がある。ただし、これらのオーバーヘッドがないので、処理は簡単であり、高速という特徴がある。
【0013】
次に動作について説明する。図3はこの発明の実施の形態1に係るLAN接続機器検出装置の動作手順を示すフローチャートである。
まず、LAN接続機器検出制御部10は、LAN検出機器管理サーバ7(図1)に対して、自分がLAN接続機器検出を行って良いかについて、LAN接続機器検出問い合わせ制御部28を使って問い合わせを行う(ステップST30)。LAN接続機器検出制御部10は、問い合わせの結果がOKならば次のステップST32の検出に進み、一方、OKでなかった場合には処理を完了する(ステップST31)。ステップST32において、LAN接続機器検出制御部10は、検出機器調査IPリストテーブル13のリストを確認し、検出を行うIPアドレスを取り出す。次に、LAN接続機器検出制御部10が検出を行うIPアドレスをすべて検索しているかの判定を行い(ステップST33)、全て検索している場合には、検索処理完了と判断し検索処理を完了する。一方、全ての検索が完了していない場合には、LAN接続機器検出制御部10は、ARP検索部14に対して、検出を行うIPアドレスを取り出して、そのIPアドレスに対してARP検索を実行するよう指示する。これにより、ARP検索部14が発信制御部16に対しARP信号送出を指示し、発信制御部16がネットワーク上にARP信号を送り出す(ステップST34)。
【0014】
次に、応答制御部17は、送り出したARP信号に対するネットワークからの応答を一定期間待つ(ステップST35)。応答制御部17において、応答が規定時間内に来た場合には、その情報をARP検索部14にあげ、一方、規定時間内に応答が得られなかった場合は、応答なしという情報をARP検索部14にあげる(ステップST36)。このステップST36において、ARP検索部14は、応答制御部17からの情報を基に機器の存在を確認し、その情報をLAN接続機器検出制御部10に送る。LAN接続機器検出制御部10では、応答有りという情報が上がってきた場合には、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、次のPing検査処理に進む。また、応答なしという情報が上がってきた場合には、そのIPアドレスに対する検出処理を完了し、ステップST32に戻る。
【0015】
ARP検索で応答有りという情報を受けると、LAN接続機器検出制御部10は、検出を行うIPアドレスに対してPing検索を実行するようにPing検索部18に指示を出す。Ping検索部18は、発信制御部20に対しPing信号送出を指示し、発信制御部20がネットワーク上の目的の機器に向けPing信号を送り出す(ステップST37)。次に、応答制御部21がPing信号の応答を一定期間待つ(ステップST38)。応答が規定時間内に来た場合には、その情報をPing検索部18にあげる。一方、応答制御部21において規定時間内に応答が得られなかった場合には、応答なしという情報をPing検索部18にあげる(ステップST39)。このステップST39において、Ping検索部18は、応答制御部21からの情報を基に機器の存在応答を確認し、その情報をLAN接続機器検出制御部10に送る。LAN接続機器検出制御部10では、応答有りという情報が上がってきた場合には、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、次のNetBIOS検査処理に進む。一方、応答なしという情報が上がってきた場合には、そのIPアドレスに対する検出処理を完了し、ステップST32に戻る。
【0016】
Ping検索で応答有りという情報を受けると、LAN接続機器検出制御部10は、検出を行うIPアドレスに対してNetBIOS検索を実行するようにNetBIOS検索部22に指示を出す。NetBIOS検索部22は、発信制御部23に対しNetBIOS信号の送出を指示し、発信制御部23がネットワーク上の目的の機器に向けNetBIOS信号を送り出す(ステップST40)。このNetBIOS信号は、図12に示すような、NetBIOS・Node・Statusリクエストを構成するパケットフォーマットからなる。次に、応答制御部24はNetBIOS信号の応答を一致期間待つ(ステップST41)。応答が規定時間内に来た場合には、その情報をNetBIOS検索部22にあげる。応答制御部24において規定時間内に応答が得られなかった場合には、応答なしという情報をNetBIOS検索部22にあげる(ステップST42)。このステップST42において、NetBIOS検索部22は、応答制御部24からの情報を基に機器の情報を確認し、その情報をLAN接続機器検出制御部10に送る。LAN接続機器検出制御部10では、応答有りという情報が上がってきた場合には、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、接続応答AP検査処理に進む。一方、応答なしという情報が上がってきた場合には、そのIPに対する検出処理を完了し、ステップST32に戻る。
【0017】
NetBIOS検索で応答有りという情報を受けると、LAN接続機器検出制御部10は、検出を行うIPアドレスに対して次の接続応答AP検索を実行するように接続応答AP検索部25に指示を出す。接続応答AP検索部25は、発信制御部26に対し独自文字列の送付を指示し、発信制御部26がネットワーク上の目的の機器に向け独自文字列を送付する(ステップST43)。次に、応答制御部27が独自文字列の送付に対する応答を一定期間待つ(ステップST44)。応答が規定時間内に来た場合には、その情報を接続応答AP検索部25にあげる。一方、応答制御部27において規定時間内に応答が得られなかった場合には、応答なしという情報を接続応答AP検索部25にあげる(ステップST45)。このステップST45において、接続応答AP検索部25は、応答制御部26からの情報を基にLAN接続機器の接続応答APの存在を確認し、その情報をLAN接続機器検出制御部10に送る。また、LAN接続機器検出制御部10では、応答有りという情報が上がってきた場合には、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、ステップST32に戻る。また、応答なしという情報が上がってきた場合にも、そのIPに対する検出処理を完了し、ステップST32に戻る。
【0018】
ネットワークに接続された複数のLAN接続機器に、この発明のLAN接続機器検出装置(ネットワーク接続機器検出装置)2の機能をそれぞれ持たせることができる。その場合、LAN検出機器管理サーバ7において、申し出のあったLAN接続機器に対してLAN接続機器検出装置として、他のネットワーク接続機器についての検出実行をある基準に基づいて許可する必要がある。この許可を与える方法は、LAN接続機器検出装置から見た場合、上述のステップST30、ST31に相当する。これを図8および図9によりLAN検出機器管理サーバ7の動作として説明する。
図8は図1のLAN検出機器管理サーバ7におけるLAN接続機器検出指示の機能構成を示すブロック図である。図において、LAN接続機器指示制御部90は、LAN接続機器の検出指示を制御する手段である。検出指示許可テーブル91は、ネットワーク上のLAN接続機器の検出指示状況を保持する手段である。受信制御部92は、LAN接続機器検出装置2からの問い合わせを受ける手段である。返答制御部93は、LAN接続機器指示制御部90からの返答を行う手段である。
【0019】
図9はLAN検出機器管理サーバ7のLAN接続機器検出指示の動作手順を示すフローチャートである。
まず、LAN接続機器検出装置2からの問い合わせを受信制御部92が受け付けると、LAN接続機器検出指示制御部90は、問い合わせの内容が検出実行問い合わせであるかの確認を行う(ステップST94)。内容が、検出実行問い合わせであった場合には、検出指示許可テーブル確認に進み(ステップST95)、一方、検出実行問い合わせでなかった場合は、問い合わせ待ちに入る。次に、検出実行問い合わせを確認した場合、LAN接続機器検出指示制御部90は、検出指示許可テーブル91の中の、過去に検出実行問い合わせを行ったLAN接続機器検出装置のリストから、現在から一定時間過去において許可を出したLAN接続機器検出装置があるかをチェックし、許可を判断する(ステップST96)。無い場合は許可できると判断し、LAN接続機器検出指示制御部90は、返答制御部93に対して、検出実行許可を返すように指示する(ステップST97)。返答制御部93は、この指示を受けて検出実行許可の通知をLAN接続機器検出装置2に返す。また、ステップST96において、一定の過去において許可を出したLAN接続機器検出装置があった場合には不許可とし、LAN接続機器検出指示制御部90は、返答制御部93に対して、検出実行不許可を返すように指示し、返答制御部93はこれを受けて検出実行不許可の通知を返す(ステップST98)。
【0020】
図10はこの発明に係るLAN接続機器4の接続応答APの機能構成を示すブロック図である。この接続応答APは、管理下に置かれるLAN接続機器に格納されるもので、接続応答AP検索時にLAN接続機器検出装置からの問い合わせに対して、その存在(管理下の機器であること)を応答するためのプログラムである。図10において、問い合わせ応答制御部100は、LAN接続機器検出装置2からの問い合わせに対する応答を制御する手段である。受信制御部101は、LAN接続機器検出装置からの問い合わせを受ける手段である。返答制御部102は、問い合わせ応答制御部100からの返答を行う手段である。
【0021】
図11は接続応答AP検索時のLAN接続機器4の動作手順を示すフローチャートである。
図3のステップST43で接続機器検出装置2からの接続応答AP検索が実行されると、受信制御部102が、独自文字列の問い合わせを受け付け(ステップST103)、問い合わせ応答制御部100に渡す。問い合わせ応答制御部100は、問い合わせの内容が、独自の文字列であるかの確認を行う(ステップST104)。独自文字列であった場合には、問い合わせ応答制御部100は、返答制御部102に対し返答の指示を出す。一方、独自文字列でなかった場合には、問い合わせ待ちに戻る(ステップST105)。返答制御部102は、返答の指示を受けた場合、その内容を接続機器検出装置2に対し送付する。
【0022】
以上のように、実施の形態1によれば、検出機器調査IPリストに載っているLAN接続機器に対してARPを用いてIPアドレスに対する実アドレスの検索を行い、実アドレスの応答があったLAN接続機器に対してネットワークに接続されている機器の存否を問い合わせるPing検索を行い、Ping検索により存在が確認されたLAN接続機器に対して、NetBIOSを用いて当該LAN接続機器の情報を問い合わせ収集するNetBIOS検索を行い、NetBIOS検索により情報の収集ができたLAN接続機器に対して、UDPを用いて独自文字列を送付し接続応答APを有したLAN接続機器の応答確認を行う接続応答AP検索を行うようにしたものである。したがって、特定の範囲内のPing検索に応答しないLAN接続機器の存在をも確認することができ、また、NetBIOSを使用して、機器情報を入手しているため、SNMP検索では情報を入手できなかったLAN接続機器の情報を入手できる効果が得られる。また、管理されたLAN接続機器に予め接続応答APを格納させておくことにより、LAN接続機器の検索の際に、接続応答AP検索を行うことで、接続応答APに応答しない機器を不正に接続されたLAN接続機器として判定できる効果が得られる。さらに、複数のLAN接続機器と同じネットワーク上に有るLAN検出機器管理サーバに対して、LAN接続機器の検出実行許可の問い合わせを行い、当該検出実行許可の回答を獲得した場合にLAN接続機器の検出を実行するようにした場合、LAN接続機器検出装置は、1つの特定機器に固定されることが無く、複数のLAN接続機器の任意のものに適用でき、融通性を持たせる効果が得られる。
【0023】
実施の形態2.
上記実施の形態1では、管理対象の機器に接続応答APを保持させ、ネットワーク上のLAN接続機器に対し接続応答AP検索をすることにより管理されている機器と管理されていない機器を明確にできるようにしているが、実施の形態2では、単にネットワークに接続されている機器を検索するために、接続応答AP検索の処理を外した場合について述べる。
図4はこの発明の実施の形態2によるLAN接続機器検出装置の機能構成を示すブロック図で、実施の形態1の図2の構成から接続応答AP検索部25、発信制御部26、応答制御部27を除いたものである。
【0024】
図5はこの実施の形態2に係るLAN接続機器検出の動作手順を示すフローチャートで、実施の形態1の図3からステップST43〜ST45を除いた動作手順を示している。したがって、ステップST41までは、実施の形態1と同じ動作手順であるので、主に異なる点について説明し、同じ部分の説明は省略する。最初に、ステップST30において、LAN接続機器検出制御部10は、LAN検出機器管理サーバに自分がLAN接続機器検出を行って良いか問い合わせを行い、ステップST31において、LAN接続機器検出制御部10は、問い合わせの結果OKならばステップST32の検出機器調査IPリストテーブル確認に進み、また、OK出なかった場合には処理を完了する。その後、ステップST32、ステップST33と進み、ARP検索、Ping検索およびNetBios検索を順次に実行した後、NetBios検索の終段ステップST42において、LAN接続機器検出制御部10は、応答有りという情報が上がってきた場合に、その戻ってきた情報を検出調査IP判定結果テーブル12に出力して、そのIPに対する検出処理を完了し、ステップST32に戻ることで一巡動作を終了することになる。
【0025】
以上のように、実施の形態2によれば、ネットワーク上にあるネットワーク接続機器のIPアドレスを予め記録した検出機器調査IPリストを備え、検出機器調査IPリストに載っているLAN接続機器に対してARPを用いてIPアドレスに対する実アドレスの検索を行い、実アドレスの応答があったLAN接続機器に対してネットワークに接続されている機器の存否を問い合わせるPing検索を行い、このPing検索により存在が確認されたLAN接続機器に対して、NetBIOSを用いて当該LAN接続機器の機器情報を問い合わせ収集するNetBIOS検索を行うようにし、接続応答AP検索は行わない構成としたので、管理されたLAN接続機器の検索を必要としない場合には、処理を簡便化することができる効果が得られる。なお、LAN接続機器の機器情報を必要としない場合には、さらにNetBIOS検索も省く構成としてもよい。
【0026】
実施の形態3.
上記実施の形態1では、Ping検索を行って応答しない機器を明確にするようにしたものであるが、この実施の形態3では、Ping検索に代わりに、LAN接続機器の管理情報を入手するためのSNMP検索の処理を適用したケースについて述べる。
図6は実施の形態2のLAN接続機器検出装置の機能構成を示すブロック図である。図において、実施の形態1の図2と同一および相当する部分には同一符合を付し、その説明については原則として省略する。図6は、図2の構成からPing検索部18、発信制御部20および応答制御部21を削除し、代わって、新たにSNMP検索部58、発信制御部60および応答制御部61を備えた構成を持つ点で異なる。
SNMP検索部58は、LAN接続機器検出制御部50からの指示を受けSNMPプロトコルを使ってLAN接続機器の管理情報を入手するSNMP検索を行う手段である。発信制御部60は、SNMP検索部58からの指示を受けネットワークの検出対象のLAN接続機器に向けSNMP信号を送る手段である。応答制御部61は、発信制御部60から送付されたSNMP信号の応答を一定期間待つ手段である。
【0027】
次に動作について説明する。図7はこの発明の実施の形態3に係るLAN接続機器検出の動作手順を示すフローチャートで、実施の形態1の図3のステップST37〜ST39の代わりに、ステップST77およびステップST78が新たに入った動作手順示している。したがって、実施の形態1と同じ動作手順と同じ部分の説明は省略し、主に異なる部分について説明する。
最初に、ステップST30において、LAN接続機器検出制御部10は、LAN検出機器管理サーバ7に自分がLAN接続機器検出を行って良いかの問い合わせを直接行う。ステップST31において、LAN接続機器検出制御部10は、問い合わせの結果OKならばステップST32の検出機器調査IPリストテーブル確認に進み、また、OKが出なかった場合には処理を完了する。その後、ステップST32〜ST36と進み、ARP検索を実行した後、ステップST36において、応答有りという情報が上がってきた場合、LAN接続機器検出制御部10は、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、次のSNMP検査処理に進む。
【0028】
LAN接続機器検出制御部10は、SNMP検索部58に対して、ARP検索で応答があったIPアドレスに対してLAN接続機器の管理情報を入手するためのSNMP検索を実行するように指示を出す。これにより、SNMP検索部58は、発信制御部60に対しSNMP信号送出を指示し、発信制御部60がネットワーク上の目的の機器に向けSNMP信号を送り出す(ステップST77)。次に、応答制御部61がSNMP信号に対する応答を一定期間待ち、応答が規定時間内に来た場合には、その情報をSNMP検索部58にあげる。また、応答制御部61において規定時間内に応答が得られなかった場合は、応答なしという情報をSNMP検索部58にあげる(ステップST78)。このステップST78において、SNMP検索部58は、応答制御部61からの情報を基に接続機器の存在応答を確認し、その情報をLAN接続機器検出制御部10に送る。LAN接続機器検出制御部10では、応答有りという情報が上がってきた場合には、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、NetBIOS検査処理に進む。また、応答なしという情報が上がってきた場合にも、その戻ってきた情報を検出調査IP判定結果テーブル12に出力し、NetBIOS検査処理以降(ステップST40〜ST45)に進む。この場合、NetBIOS検索は、SNMP検索時と同じIPアドレスに対して行われることになる。
【0029】
以上のように、この実施の形態3によれば、検出機器調査IPリストに載っているネットワーク接続機器に対してARPを用いてIPアドレスに対する実アドレスの検索を行い、実アドレスの応答があったLAN接続機器に対してSNMPを使って当該LAN接続機器の管理情報を入手するSNMP検索を行い、SNMP検索により管理情報を入手できたLAN接続機器に対して、NetBIOSを用いて当該LAN接続機器の情報を問い合わせ収集するNetBIOS検索を行い、NetBIOS検索により情報の収集ができたネットワーク接続機器に対して、UDPを用いて独自文字列を送付し接続応答APを有したLAN接続機器の応答確認を行う接続応答AP検索を行うようにしたので、Ping検索をSNMP検索に代えることで、SNMPによって詳細な機器情報を入手することを可能にする効果が得られる。なお、必要に応じて、実施の形態3の構成からNetBIOS検索と接続応答AP検索を省いたり、または接続応答AP検索だけを省くことで、処理の簡略化を図ることも可能となる。
【0030】
【発明の効果】
以上のように、この発明によれば、ネットワーク上にあるネットワーク接続機器について、それらのネットワーク接続機器の検出と機器情報の入手を行うネットワーク接続機器検出装置において、ネットワーク上にあるネットワーク接続機器のIPアドレスを予め記録した検出機器調査IPリストを備え、当該検出機器調査IPリストに載っているネットワーク接続機器に対してARPを用いてIPアドレスに対する実アドレスを調べるARP検索を行い、実アドレスの応答があったネットワーク接続機器に対してPingを用いてネットワークに接続されている機器の存否を問い合わせるPing検索を行い、Ping検索により存在が確認されたLAN接続機器に対して、NetBIOSを用いて当該LAN接続機器の情報を問い合わせ収集するNetBIOS検索を行い、NetBIOS検索により情報の収集ができたLAN接続機器に対して、UDPを用いて独自文字列を送付し接続応答APを有したLAN接続機器の応答確認を行う接続応答AP検索を行うようにしたものである。したがって、特定の範囲内のPing検索に応答しないLAN接続機器の存在をも確認することができ、また、NetBIOSを使用して、機器情報を入手しているため、SNMP検索では情報を入手できなかったLAN接続機器の情報を入手できる効果が得られる。また、管理されたLAN接続機器に予め接続応答APを格納させておくことにより、LAN接続機器の検索の際に、接続応答AP検索を行うことで、接続応答APに応答しない機器を不正に接続されたLAN接続機器として判定できる効果が得られる。さらに、複数のLAN接続機器と同じネットワーク上に有るLAN検出機器管理サーバに対して、LAN接続機器の検出実行許可の問い合わせを行い、当該検出実行許可の回答を獲得した場合にLAN接続機器の検出を実行するようにした場合、LAN接続機器検出装置は、1つの特定機器に固定されることが無く、複数のLAN接続機器の任意のものに適用でき、融通性を持たせる効果がある。
【図面の簡単な説明】
【図1】 この発明の各実施の形態に係るLAN接続機器検出を実施するネットワークの接続例を示すブロック図である。
【図2】 この発明の実施の形態1によるLAN接続機器検出装置の機能構成を示すブロック図である。
【図3】 この発明の実施の形態1に係るLAN接続機器検出装置の動作手順を示すフローチャートである。
【図4】 この発明の実施の形態2によるLAN接続機器検出装置の機能構成を示すブロック図である。
【図5】 この実施の形態2に係るLAN接続機器検出の動作手順を示すフローチャートである。
【図6】 この発明の実施の形態3によるLAN接続機器検出装置の機能構成を示すブロック図である。
【図7】 この発明の実施の形態3に係るLAN接続機器検出の動作手順を示すフローチャートである。
【図8】 この発明の各実施の形態に係るLAN検出機器管理サーバのLAN接続機器検出指示の機能構成を示すブロック図である。
【図9】 この発明の各実施の形態に係るLAN検出機器管理サーバのLAN接続機器検出指示の動作手順を示すフローチャートである。
【図10】 この発明の各実施の形態に係る検索時のLAN接続機器の接続応答APの機能構成を示すブロック図である。
【図11】 この発明の各実施の形態に係る接続応答AP検索時のLAN接続機器の接続応答APの動作手順を示すフローチャートである。
【図12】 この発明の各実施の形態に係るNetBIOS・Node・Statusリクエストのパケットフォーマットを示す説明図である。
【符号の説明】
10 LAN接続機器検出制御部、12 検出調査IP判定結果テーブル、13 検出器機調査IPリストテーブル、14 ARP検索部、16,20,23,26,60 発信制御部、17,21,24,27,61 応答制御部、18Ping検索部、22 NetBIOS検索部、25 接続応答AP検索部、28 LAN接続機器検出問い合わせ制御部、58 SNMP検索部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network connection device detection apparatus for detecting a device connected to a local area network (hereinafter referred to as LAN) connected to a network and collecting information.
[0002]
[Prior art]
Conventionally, when detecting a device connected to the network by TCP / IP (Transmission Control Protocol / Internet Protocol), a ping scan is performed from the information management device to all IP addresses within the specified address range. To detect the device. Next, standard MIB (Management Information Base) information such as vendor name and device name is retrieved by accessing the detected LAN connection device using SNMP (Simple Network Management Protocol). Device detection and device information acquisition.
In addition, as a conventional technique, a Ping signal is sent from an information management device to a communication terminal connected to the Internet, and whether the connected device is active or not is confirmed by a Ping response from the communication terminal. In addition, a technique has been proposed in which the information management server side on the information collection side determines the status of the terminal and its surroundings (see, for example, Patent Document 1).
[0003]
Here, the Ping is the most basic command used to check whether or not an IP packet reaches a communication destination in the TCP / IP network, and whether or not the IP packet can be reached, and is an ICMP (Internet Control). This is implemented using an echo command of Message Protocol. By executing the Ping scan, it is understood that the partner node exists and the network software (at least at the IP layer level) is active if a response is returned.
The SNMP is a management protocol in a TCP / IP network environment standardized by IETF (Internet Engineering Task Force). Between the two programs of the management-side SNMP manager and the managed-side SNMP agent, management called MIB (Management Information Base: a variable that defines the items managed by SNMP and holds the state of the own device). Manage equipment by exchanging information. There is an MIB called an extended MIB in which each manufacturer independently develops a standard MIB and information unique to each device.
[0004]
[Patent Document 1]
JP 2000-251174 A
[0005]
[Problems to be solved by the invention]
The conventional network connection device detection method is configured as described above. However, when there is a LAN connection device in which the response to the Ping scan is restricted, there is a problem in that the presence cannot be confirmed. It was. In addition, when a conventional method is used to detect a LAN connection device that does not have an SNMP agent function, only the Ping scan is valid, and it can be determined whether or not it is connected. However, since access by SNMP becomes invalid, information on the target connected device cannot be obtained, and detailed determination of the LAN connected device cannot be performed. That is, in the detection of a LAN connection device that does not have an SNMP agent, there is a problem that effective information about the device cannot be obtained even though only the connection can be determined.
[0006]
The present invention has been made to solve the above-described problems, and detects a LAN connection device whose response to a Ping scan is limited or a detection of a LAN connection device that does not normally have an SNMP agent function. It is an object to obtain a network connection device detection method that enables information collection.
[0007]
[Means for Solving the Problems]
A network connection device detection apparatus according to the present invention is a network connection device detection apparatus that detects network connection devices and obtains device information for network connection devices on a network. A detection device investigation IP list in which an address is recorded in advance is provided, and a network connection device is included in the detection device investigation IP list. ARP Is used to perform an ARP search for checking an actual address for an IP address, and a Ping search is performed to inquire whether there is a device connected to the network using Ping for a network connection device that has responded to the real address. For a network connection device whose existence has been confirmed by a Ping search, a NetBIOS search is performed using NetBIOS to inquire and collect device information of the network connection device, and the network connection device that has been able to collect information by NetBIOS search. On the other hand, a connection response AP search for sending a unique character string using the user datagram protocol and confirming the response of the network connection device storing the connection response application is performed. Like
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, each embodiment of the present invention will be described.
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a connection example of a network for performing LAN connection device detection according to each embodiment of the present invention. In the figure, for example, an arrangement is shown in which LAN connection device detection is performed on another device connected to the network transmission line 1 from a LAN connection device detection apparatus 2 configured by a personal computer. The devices connected to the network transmission line 1 are a NetBIOS / Node / Status request compatible LAN connection device 3, a Ping scan non-reactive device (for example, Proxy) 5, a router 6, a LAN detection device management server 7, and a normal LAN connection device. Etc. In this example, the LAN connection device detection apparatus 2 is shown as a specified device, but it is also one of devices connected to the network. Therefore, as long as other LAN connection devices have a search function for performing LAN connection device detection, which will be described later, as a matter of course, the LAN connection device can serve as the LAN connection device detection device of the present invention.
Here, the above-mentioned NetBIOS (Net Bios) is an application program interface used by a program on a network, such as Windows (registered trademark) NT, and includes a protocol.
[0009]
FIG. 2 is a block diagram showing a functional configuration of the LAN connection device detection apparatus according to Embodiment 1 of the present invention. In the figure, a LAN connection device detection control unit 10 is means for controlling a detection process of a LAN connection device. The detection investigation IP determination result table 12 is a means for holding a result of detecting a LAN connection device on the network. The detector investigation IP list table 13 is means for holding a list recorded in advance for IP addresses of LAN connection devices on the network. An ARP (ADDRESS resolution Protocol) search unit 14 receives an instruction from the LAN connection device detection control unit 10 and searches for an actual address for an IP address of a device connected to the network using the ARP. It is a means to perform. The transmission control unit 16 is means for sending out an ARP signal on the network in response to an instruction from the ARP search unit 14. The response control unit 17 is a unit that waits for a certain period of time for the response of the ARP signal output from the transmission control unit 16. The Ping search unit 18 is a means for performing a search using Ping in response to an instruction from the LAN connection device detection control unit 10. The transmission control unit 20 is a unit that receives an instruction from the ping search unit 18 and sends a ping to a LAN connection device to be detected in the network. The response control unit 21 is a unit that waits for a certain period of time for a Ping response sent from the transmission control unit 20.
[0010]
Here, the ARP is a TCP / IP network in which a physical address (MAC address: Media Access Control Address) from the IP address to the Ethernet (registered trademark) is set to identify the host in the network. (This is the actual hardware address.) In TCP / IP communication, it is necessary to know the IP address and the MAC address assigned to the communication partner's NIC (Network Information Center). Therefore, in ARP, a MAC address is obtained by distributing a request to all nodes in a segment and obtaining a response from each node. The returned MAC address is registered as a cache in the source node.
[0011]
The NetBIOS search unit 22 is a unit that receives information from the LAN connection device detection control unit 10 and collects information on LAN connection devices using the NetBIOS. The transmission control unit 23 is a unit that receives an instruction from the NetBIOS search unit 22 and sends NetBIOS to a LAN connection device to be detected on the network. The response control unit 24 is means for waiting for a certain period of time for the NetBIOS response sent from the transmission control unit 23. The connection response AP (Application) search unit 25 receives an instruction from the LAN connected device detection control unit 10 and sends a unique character string using UDP (User Datagram Protocol) to send the LAN. This is means for confirming the connected device detection response function. The transmission control unit 26 is a unit that receives an instruction from the connection response AP search unit 25 and sends a unique character string to a LAN connection device to be detected on the network. The response control unit 27 is a unit that waits for a certain period of time for a transmission response sent from the transmission control unit 26. The LAN connection device detection inquiry control unit 28 is a means for making a LAN connection device detection inquiry toward the LAN detection device management server 7 (FIG. 1).
[0012]
Here, the UDP is a transport layer protocol in the TCP / IP protocol, and performs best-effort datagram-oriented communication between processes (applications) on two nodes. UDP is a protocol that allows an IP packet in the lower layer to be used from an application almost as it is. For this reason, there is no guarantee that the packet will surely reach the other party, and retransmission, reception confirmation response, flow control, large data division and recombination (fragmentation) must all be controlled by the application. However, since there is no such overhead, the processing is simple and it is characterized by high speed.
[0013]
Next, the operation will be described. FIG. 3 is a flowchart showing an operation procedure of the LAN connection device detection apparatus according to the first embodiment of the present invention.
First, the LAN connection device detection control unit 10 makes an inquiry to the LAN detection device management server 7 (FIG. 1) using the LAN connection device detection inquiry control unit 28 as to whether or not it can perform LAN connection device detection. Is performed (step ST30). If the result of the inquiry is OK, the LAN connected device detection control unit 10 proceeds to the detection of the next step ST32. On the other hand, if it is not OK, the processing is completed (step ST31). In step ST <b> 32, the LAN connection device detection control unit 10 confirms the list of the detected device investigation IP list table 13 and extracts an IP address to be detected. Next, it is determined whether the LAN connection device detection control unit 10 has searched all IP addresses to be detected (step ST33). If all IP addresses have been searched, it is determined that the search processing has been completed and the search processing has been completed. To do. On the other hand, if all the searches are not completed, the LAN connected device detection control unit 10 extracts the IP address to be detected from the ARP search unit 14 and executes the ARP search for the IP address. Instruct them to do so. Thereby, the ARP search unit 14 instructs the transmission control unit 16 to transmit the ARP signal, and the transmission control unit 16 transmits the ARP signal on the network (step ST34).
[0014]
Next, the response control unit 17 waits for a certain period of time for a response from the network to the sent ARP signal (step ST35). In the response control unit 17, when the response comes within the specified time, the information is given to the ARP search unit 14. On the other hand, when the response is not obtained within the specified time, the information indicating no response is searched for by the ARP search. Part 14 (step ST36). In step ST36, the ARP search unit 14 confirms the presence of the device based on the information from the response control unit 17, and sends the information to the LAN connected device detection control unit 10. When the information indicating that there is a response is received, the LAN connected device detection control unit 10 outputs the returned information to the detection investigation IP determination result table 12 and proceeds to the next ping inspection process. If information indicating no response is received, the detection process for the IP address is completed, and the process returns to step ST32.
[0015]
When receiving the information that there is a response in the ARP search, the LAN connected device detection control unit 10 instructs the Ping search unit 18 to execute the Ping search for the IP address to be detected. Ping search unit 18 instructs transmission control unit 20 to send a Ping signal, and transmission control unit 20 transmits a Ping signal to a target device on the network (step ST37). Next, the response control unit 21 waits for a response of the Ping signal for a certain period (step ST38). If the response comes within the specified time, the information is given to the Ping search unit 18. On the other hand, if the response control unit 21 does not obtain a response within the specified time, information indicating no response is given to the Ping search unit 18 (step ST39). In step ST39, the Ping search unit 18 confirms a device presence response based on the information from the response control unit 21, and sends the information to the LAN connected device detection control unit 10. When the information indicating that there is a response is received, the LAN connected device detection control unit 10 outputs the returned information to the detection investigation IP determination result table 12 and proceeds to the next NetBIOS inspection process. On the other hand, if information indicating no response is received, the detection process for the IP address is completed, and the process returns to step ST32.
[0016]
When receiving the information that there is a response in the Ping search, the LAN connected device detection control unit 10 instructs the NetBIOS search unit 22 to execute the NetBIOS search for the IP address to be detected. The NetBIOS search unit 22 instructs the transmission control unit 23 to transmit a NetBIOS signal, and the transmission control unit 23 transmits a NetBIOS signal to a target device on the network (step ST40). The NetBIOS signal has a packet format that constitutes a NetBIOS / Node / Status request as shown in FIG. Next, the response control unit 24 waits for a response of the NetBIOS signal for a matching period (step ST41). If the response comes within the specified time, the information is given to the NetBIOS search unit 22. If the response control unit 24 fails to obtain a response within the specified time, it sends information indicating no response to the NetBIOS search unit 22 (step ST42). In step ST <b> 42, the NetBIOS search unit 22 confirms device information based on information from the response control unit 24, and sends the information to the LAN connected device detection control unit 10. When the information indicating that there is a response is received, the LAN connected device detection control unit 10 outputs the returned information to the detection investigation IP determination result table 12 and proceeds to the connection response AP inspection process. On the other hand, when information indicating no response is received, the detection process for the IP is completed, and the process returns to step ST32.
[0017]
When receiving the information that there is a response in the NetBIOS search, the LAN connection device detection control unit 10 instructs the connection response AP search unit 25 to execute the next connection response AP search for the IP address to be detected. The connection response AP search unit 25 instructs the call control unit 26 to send the unique character string, and the call control unit 26 sends the unique character string to the target device on the network (step ST43). Next, the response control unit 27 waits for a certain period of time for a response to sending the unique character string (step ST44). If the response comes within the specified time, the information is given to the connection response AP search unit 25. On the other hand, if the response control unit 27 does not obtain a response within the specified time, information indicating no response is sent to the connection response AP search unit 25 (step ST45). In step ST45, the connection response AP search unit 25 confirms the presence of the connection response AP of the LAN connection device based on the information from the response control unit 26, and sends the information to the LAN connection device detection control unit 10. If the information indicating that there is a response is received, the LAN connected device detection control unit 10 outputs the returned information to the detection investigation IP determination result table 12 and returns to step ST32. Also, when information indicating no response is received, the detection process for the IP is completed, and the process returns to step ST32.
[0018]
A plurality of LAN connection devices connected to the network can each have the function of the LAN connection device detection device (network connection device detection device) 2 of the present invention. In this case, the LAN detection device management server 7 needs to permit detection of other network connection devices based on a certain standard as a LAN connection device detection device for the requested LAN connection device. This method of granting permission corresponds to the above-described steps ST30 and ST31 when viewed from the LAN connection device detection device. This will be described as the operation of the LAN detection device management server 7 with reference to FIGS.
FIG. 8 is a block diagram showing a functional configuration of a LAN connection device detection instruction in the LAN detection device management server 7 of FIG. In the figure, a LAN connection device instruction control unit 90 is means for controlling a LAN connection device detection instruction. The detection instruction permission table 91 is a means for holding the detection instruction status of LAN connection devices on the network. The reception control unit 92 is means for receiving an inquiry from the LAN connection device detection apparatus 2. The response control unit 93 is a means for performing a response from the LAN connection device instruction control unit 90.
[0019]
FIG. 9 is a flowchart showing the operation procedure of the LAN connection device detection instruction of the LAN detection device management server 7.
First, when the reception control unit 92 receives an inquiry from the LAN connection device detection apparatus 2, the LAN connection device detection instruction control unit 90 confirms whether or not the content of the inquiry is a detection execution inquiry (step ST94). If the content is a detection execution inquiry, the process proceeds to the detection instruction permission table confirmation (step ST95). On the other hand, if the content is not a detection execution inquiry, the process waits for an inquiry. Next, when the detection execution inquiry is confirmed, the LAN connection device detection instruction control unit 90 determines from the list of LAN connection device detection devices that have made a detection execution inquiry in the detection instruction permission table 91 from the present time. It is checked whether there is a LAN connection device detection device that has given permission in the past, and permission is determined (step ST96). If not, it is determined that permission can be granted, and the LAN connected device detection instruction control unit 90 instructs the response control unit 93 to return detection execution permission (step ST97). In response to this instruction, the response control unit 93 returns a notification of detection execution permission to the LAN connected device detection apparatus 2. In step ST96, if there is a LAN connection device detection device that has given permission in a certain past, it is disapproved, and the LAN connection device detection instruction control unit 90 does not execute detection detection to the response control unit 93. In response to this, the response control unit 93 receives this and returns a notification of detection execution non-permission (step ST98).
[0020]
FIG. 10 is a block diagram showing a functional configuration of the connection response AP of the LAN connection device 4 according to the present invention. This connection response AP is stored in a LAN connection device placed under management. When a connection response AP is searched, the presence of the connection response AP in response to an inquiry from the LAN connection device detection device (that it is a managed device). It is a program for responding. In FIG. 10, the inquiry response control unit 100 is means for controlling a response to an inquiry from the LAN connection device detection apparatus 2. The reception control unit 101 is means for receiving an inquiry from the LAN connection device detection device. The response control unit 102 is a means for performing a response from the inquiry response control unit 100.
[0021]
FIG. 11 is a flowchart showing an operation procedure of the LAN connection device 4 when searching for a connection response AP.
When the connection response AP search from the connected device detection apparatus 2 is executed in step ST43 of FIG. 3, the reception control unit 102 receives an inquiry about a unique character string (step ST103) and passes it to the inquiry response control unit 100. The inquiry response control unit 100 confirms whether the content of the inquiry is a unique character string (step ST104). If it is a unique character string, the inquiry response control unit 100 issues a response instruction to the response control unit 102. On the other hand, if it is not a unique character string, the process returns to waiting for an inquiry (step ST105). When receiving a response instruction, the response control unit 102 sends the content to the connected device detection apparatus 2.
[0022]
As described above, according to the first embodiment, the LAN connection device on the detected device investigation IP list is searched for the real address with respect to the IP address by using the ARP, and the LAN that has responded with the real address. Performs a Ping search for inquiring the presence / absence of a device connected to the network to the connected device, and inquires and collects information on the LAN connected device using NetBIOS with respect to the LAN connected device confirmed to exist by the Ping search. A connection response AP search that performs a NetBIOS search, sends a unique character string using UDP to a LAN connection device that has been able to collect information by the NetBIOS search, and confirms the response of the LAN connection device having a connection response AP. It is what I do. Therefore, it is possible to confirm the existence of a LAN connection device that does not respond to a Ping search within a specific range, and since the device information is obtained using NetBIOS, the information cannot be obtained by the SNMP search. The effect of obtaining information on the connected LAN devices can be obtained. In addition, by storing the connection response AP in advance in the managed LAN connection device, the device that does not respond to the connection response AP is illegally connected by searching for the connection response AP when searching for the LAN connection device. The effect that can be determined as a connected LAN device is obtained. Further, when a LAN detection device management server on the same network as a plurality of LAN connection devices is inquired of permission to execute detection of the LAN connection device and a response of the detection execution permission is obtained, detection of the LAN connection device is detected. In this case, the LAN connection device detection device is not fixed to one specific device, but can be applied to any of a plurality of LAN connection devices, and an effect of providing flexibility can be obtained.
[0023]
Embodiment 2. FIG.
In the first embodiment, the managed device and the unmanaged device can be clarified by holding the connection response AP in the device to be managed and searching the LAN connection device on the network for the connection response AP. However, in the second embodiment, a case will be described in which the connection response AP search process is simply removed in order to search for a device connected to the network.
FIG. 4 is a block diagram showing a functional configuration of the LAN connection device detection apparatus according to the second embodiment of the present invention. From the configuration of FIG. 2 of the first embodiment, a connection response AP search unit 25, a transmission control unit 26, and a response control unit. 27 is excluded.
[0024]
FIG. 5 is a flowchart showing an operation procedure of LAN connection device detection according to the second embodiment, and shows an operation procedure excluding steps ST43 to ST45 from FIG. 3 of the first embodiment. Therefore, since the operation procedure up to step ST41 is the same as that of the first embodiment, the differences are mainly described, and the description of the same parts is omitted. First, in step ST30, the LAN connection device detection control unit 10 inquires of the LAN detection device management server whether or not it can perform LAN connection device detection. In step ST31, the LAN connection device detection control unit 10 If the result of the inquiry is OK, the process proceeds to the detection device investigation IP list table confirmation in step ST32. If the inquiry is not OK, the process is completed. Thereafter, the process proceeds to step ST32 and step ST33, and after sequentially executing ARP search, Ping search and NetBios search, in the final step ST42 of NetBios search, the information indicating that there is a response is received from the LAN connected device detection control unit 10. In this case, the returned information is output to the detection investigation IP determination result table 12, the detection process for the IP is completed, and the process returns to step ST32 to complete the round-trip operation.
[0025]
As described above, according to the second embodiment, the detection device investigation IP list in which the IP addresses of the network connection devices on the network are recorded in advance is provided, and the LAN connection devices included in the detection device investigation IP list are provided. Uses ARP to search for an actual address for an IP address, and performs a Ping search for inquiring whether there is a device connected to the network with respect to a LAN connection device that has responded to the actual address. Since the NetBIOS search for inquiring and collecting the device information of the LAN connection device is performed using the NetBIOS and the connection response AP search is not performed for the LAN connection device that has been managed. When searching is not required, the effect of simplifying the process is obtained. That. If device information of the LAN connection device is not required, the NetBIOS search may be omitted.
[0026]
Embodiment 3 FIG.
In the first embodiment, a device that does not respond by performing a Ping search is clarified. However, in this third embodiment, in order to obtain management information of LAN connection devices instead of the Ping search. A case where the SNMP search process is applied will be described.
FIG. 6 is a block diagram illustrating a functional configuration of the LAN connection device detection apparatus according to the second embodiment. In the figure, the same or corresponding parts as in FIG. 2 of the first embodiment are denoted by the same reference numerals, and description thereof will be omitted in principle. 6 deletes the Ping search unit 18, the transmission control unit 20, and the response control unit 21 from the configuration of FIG. 2, and instead includes a new SNMP search unit 58, transmission control unit 60, and response control unit 61. It is different in having.
The SNMP search unit 58 is an SNMP search unit that receives an instruction from the LAN connection device detection control unit 50 and obtains management information of the LAN connection device using the SNMP protocol. The transmission control unit 60 is a means for receiving an instruction from the SNMP search unit 58 and sending an SNMP signal to a LAN connection device to be detected in the network. The response control unit 61 is a means for waiting for a response for an SNMP signal sent from the transmission control unit 60 for a certain period.
[0027]
Next, the operation will be described. FIG. 7 is a flowchart showing an operation procedure of LAN connection device detection according to the third embodiment of the present invention. Step ST77 and step ST78 are newly added in place of steps ST37 to ST39 in FIG. 3 of the first embodiment. The operation procedure is shown. Therefore, the description of the same operation procedure as that of the first embodiment is omitted, and different parts are mainly described.
First, in step ST30, the LAN connection device detection control unit 10 directly makes an inquiry to the LAN detection device management server 7 as to whether or not it can perform LAN connection device detection. In step ST31, the LAN connected device detection control unit 10 proceeds to the detected device investigation IP list table confirmation in step ST32 if the result of the inquiry is OK, and completes the process if no OK is issued. Thereafter, the process proceeds to steps ST32 to ST36, and after executing the ARP search, in step ST36, when information indicating that there is a response is received, the LAN connected device detection control unit 10 uses the returned information as a result of the detection investigation IP determination result. The result is output to the table 12, and the process proceeds to the next SNMP inspection process.
[0028]
The LAN connection device detection control unit 10 instructs the SNMP search unit 58 to execute an SNMP search for obtaining management information of the LAN connection device with respect to the IP address that has responded in the ARP search. . Thereby, the SNMP search unit 58 instructs the transmission control unit 60 to send the SNMP signal, and the transmission control unit 60 sends out the SNMP signal to the target device on the network (step ST77). Next, the response control unit 61 waits for a response to the SNMP signal for a certain period, and when the response comes within a specified time, the information is given to the SNMP search unit 58. If the response control unit 61 fails to obtain a response within the specified time, information indicating no response is sent to the SNMP search unit 58 (step ST78). In step ST78, the SNMP search unit 58 confirms the presence response of the connected device based on the information from the response control unit 61, and sends the information to the LAN connected device detection control unit 10. When the information indicating that there is a response is received, the LAN connected device detection control unit 10 outputs the returned information to the detection investigation IP determination result table 12 and proceeds to the NetBIOS inspection process. Also, even when information indicating no response is received, the returned information is output to the detection investigation IP determination result table 12, and the process proceeds to the NetBIOS inspection process and thereafter (steps ST40 to ST45). In this case, the NetBIOS search is performed on the same IP address as that at the time of the SNMP search.
[0029]
As described above, according to the third embodiment, a search for a real address with respect to an IP address is performed using ARP for a network connection device on the detected device investigation IP list, and there is a response of the real address. An SNMP search is performed on the LAN connection device using SNMP to obtain the management information of the LAN connection device, and the LAN connection device that has obtained the management information by the SNMP search is obtained using the NetBIOS. A NetBIOS search for inquiring and collecting information is performed, and a unique character string is sent using UDP to a network connection device that has been able to collect information by the NetBIOS search, and a response confirmation of a LAN connection device having a connection response AP is performed. Since the connection response AP search is performed, the Ping search is replaced with the SNMP search. Effect makes it possible to obtain detailed device information by SNMP can be obtained. If necessary, the processing can be simplified by omitting the NetBIOS search and the connection response AP search from the configuration of the third embodiment or by omitting only the connection response AP search.
[0030]
【The invention's effect】
As described above, according to the present invention, in the network connection device detection apparatus that detects the network connection device and obtains device information for the network connection device on the network, the IP of the network connection device on the network is obtained. A detection device investigation IP list in which an address is recorded in advance is provided, and a network connection device is included in the detection device investigation IP list. ARP Is used to perform an ARP search for checking an actual address for an IP address, and a Ping search is performed to inquire whether there is a device connected to the network using Ping for a network connection device that has responded to the real address. For a LAN connection device whose existence has been confirmed by a Ping search, a NetBIOS search is performed using NetBIOS to inquire and collect information on the LAN connection device, and for a LAN connection device that has been able to collect information by a NetBIOS search. Thus, a connection response AP search for sending a unique character string using UDP and confirming the response of the LAN connection device having the connection response AP is performed. Therefore, it is possible to confirm the existence of a LAN connection device that does not respond to a Ping search within a specific range, and since the device information is obtained using NetBIOS, the information cannot be obtained by the SNMP search. The effect of obtaining information on the connected LAN devices can be obtained. In addition, by storing the connection response AP in advance in the managed LAN connection device, the device that does not respond to the connection response AP is illegally connected by searching for the connection response AP when searching for the LAN connection device. The effect that can be determined as a connected LAN device is obtained. Further, when a LAN detection device management server on the same network as a plurality of LAN connection devices is inquired of permission to execute detection of the LAN connection device and a response of the detection execution permission is obtained, detection of the LAN connection device is detected. When the device is executed, the LAN connection device detection device is not fixed to one specific device, and can be applied to any one of a plurality of LAN connection devices to provide flexibility. effective.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a connection example of a network that performs LAN connection device detection according to each embodiment of the present invention.
FIG. 2 is a block diagram showing a functional configuration of a LAN connection device detection apparatus according to Embodiment 1 of the present invention.
FIG. 3 is a flowchart showing an operation procedure of the LAN connection device detection apparatus according to the first embodiment of the present invention.
FIG. 4 is a block diagram showing a functional configuration of a LAN connection device detection apparatus according to Embodiment 2 of the present invention.
FIG. 5 is a flowchart showing an operation procedure of LAN connection device detection according to the second embodiment.
FIG. 6 is a block diagram showing a functional configuration of a LAN connection device detection apparatus according to Embodiment 3 of the present invention.
FIG. 7 is a flowchart showing an operation procedure of LAN connection device detection according to the third embodiment of the present invention.
FIG. 8 is a block diagram showing a functional configuration of a LAN connection device detection instruction of a LAN detection device management server according to each embodiment of the present invention.
FIG. 9 is a flowchart showing an operation procedure of a LAN connection device detection instruction of the LAN detection device management server according to each embodiment of the present invention.
FIG. 10 is a block diagram showing a functional configuration of a connection response AP of a LAN connection device at the time of search according to each embodiment of the present invention.
FIG. 11 is a flowchart showing an operation procedure of a connection response AP of a LAN connection device when searching for a connection response AP according to each embodiment of the present invention.
FIG. 12 is an explanatory diagram showing a packet format of a NetBIOS / Node / Status request according to each embodiment of the present invention;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 LAN connection apparatus detection control part, 12 Detection investigation IP determination result table, 13 Detector investigation IP list table, 14 ARP search part, 16, 20, 23, 26, 60 Transmission control part, 17, 21, 24, 27, 61 response control unit, 18 Ping search unit, 22 NetBIOS search unit, 25 connection response AP search unit, 28 LAN connected device detection inquiry control unit, 58 SNMP search unit.

Claims (3)

ネットワーク上にあるネットワーク接続機器について、それらのネットワーク接続機器の検出と機器情報の入手を行うネットワーク接続機器検出装置において、
ネットワーク上にあるネットワーク接続機器のIPアドレスを予め記録した検出機器調査IPリストを備え、
当該検出機器調査IPリストに載っているネットワーク接続機器に対してARPを用いてIPアドレスに対する実アドレスを調べるARP検索を行い、
前記実アドレスの応答があったネットワーク接続機器に対してPingを用いてネットワークに接続されている機器の存否を問い合わせるPing検索を行い、
Ping検索により存在が確認されたネットワーク接続機器に対して、NetBIOSを用いて当該ネットワーク接続機器の機器情報を問い合わせ収集するNetBIOS検索を行い、
NetBIOS検索により情報の収集ができたネットワーク接続機器に対して、ユーザ・データグラム・プロトコルを用いて独自文字列を送付し接続応答アプリケーションを格納したネットワー接続機器の応答確認を行う接続応答AP検索を行うようにしたことを特徴とするネットワーク接続機器検出装置。
For network connection devices on the network, in the network connection device detection device that detects those network connection devices and obtains device information,
A detection device investigation IP list in which IP addresses of network connection devices on the network are recorded in advance;
Perform an ARP search to check the real address for the IP address using ARP for the network connection device on the detected device investigation IP list,
The have rows Ping search query the existence of a device connected to the network using a Ping respect is a network connection device response of the address,
For a network connection device whose existence has been confirmed by a Ping search, a NetBIOS search for inquiring and collecting device information of the network connection device is performed using NetBIOS.
Connection response AP search that sends a unique character string using the user datagram protocol to the network connection device that has been able to collect information by NetBIOS search and checks the response of the network connection device that stores the connection response application network connection device detecting apparatus being characterized in that to perform the.
ネットワーク上にあるネットワーク接続機器について、それらのネットワーク接続機器の検出と機器情報の入手を行うネットワーク接続機器検出装置において、
ネットワーク上にあるネットワーク接続機器のIPアドレスを予め記録した検出機器調査IPリストを備え、
当該検出機器調査IPリストに載っているネットワーク接続機器に対してARPを用いてIPアドレスに対する実アドレスを調べるARP検索を行い、
前記実アドレスの応答があったネットワーク接続機器に対してSNMPを使って当該ネットワーク接続機器の管理情報を入手するSNMP検索を行い、
SNMP検索により管理情報を入手できたネットワーク接続機器に対して、NetBIOSを用いて当該ネットワーク接続機器の情報を問い合わせ収集するNetBIOS検索を行い、
NetBIOS検索により情報の収集ができたネットワーク接続機器に対して、ユーザ・データグラム・プロトコルを用いて独自文字列を送付し接続応答APを格納したネットワーク接続機器の応答確認を行う接続応答AP検索を行うようにしたことを特徴とするネットワーク接続機器検出装置。
For network connection devices on the network, in the network connection device detection device that detects those network connection devices and obtains device information,
A detection device investigation IP list in which IP addresses of network connection devices on the network are recorded in advance;
Perform an ARP search to check the real address for the IP address using ARP for the network connection device on the detected device investigation IP list,
The have rows SNMP search to obtain management information of the network-connected equipment through SNMP to a network connection apparatus that responded real address,
For a network connection device that has obtained management information by SNMP search, a NetBIOS search is performed to collect information about the network connection device using NetBIOS.
A connection response AP search is performed to send a unique character string using the user datagram protocol to the network connection device for which information has been collected by NetBIOS search, and to confirm the response of the network connection device storing the connection response AP. A device for detecting a network connection device, characterized in that it is provided.
複数のネットワーク接続機器と同じネットワーク上に有るネットワーク検出機器管理サーバに対して、ネットワーク接続機器の検出実行許可の問い合わせを行い、当該検出実行許可の回答を獲得した場合にネットワーク接続機器の検出を実行するようにしたことを特徴とする請求項1又は請求項2に記載のネットワーク接続機器検出装置。Inquires the network detection device management server on the same network as the multiple network connection devices for permission to execute detection of network connection devices. The network connection device detection apparatus according to claim 1, wherein the network connection device detection apparatus is configured to do so.
JP2003034066A 2003-02-12 2003-02-12 Network connection device detection device Expired - Fee Related JP4112393B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003034066A JP4112393B2 (en) 2003-02-12 2003-02-12 Network connection device detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003034066A JP4112393B2 (en) 2003-02-12 2003-02-12 Network connection device detection device

Publications (2)

Publication Number Publication Date
JP2004247866A JP2004247866A (en) 2004-09-02
JP4112393B2 true JP4112393B2 (en) 2008-07-02

Family

ID=33019857

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003034066A Expired - Fee Related JP4112393B2 (en) 2003-02-12 2003-02-12 Network connection device detection device

Country Status (1)

Country Link
JP (1) JP4112393B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4797707B2 (en) * 2006-03-07 2011-10-19 横河電機株式会社 Communications system
CN114500469B (en) * 2022-04-15 2022-07-08 深圳曼顿科技有限公司 Automatic identification and address allocation method for intelligent electric equipment

Also Published As

Publication number Publication date
JP2004247866A (en) 2004-09-02

Similar Documents

Publication Publication Date Title
US7339895B2 (en) Gateway device and control method for communication with IP and IPV6 protocols
US7293077B1 (en) Reconfigurable computer networks
JP5662133B2 (en) Method and system for resolving conflict between IPSEC and IPV6 neighbor requests
US20050190705A1 (en) Systems and methods for uniquely and persistently identifying networks
US20090193103A1 (en) Method of and System for Support of User Devices Roaming Between Routing Realms by a Single Network Server
EP1578068A1 (en) Communication model, signal, method, and device for confirming reachability in network where host reachability is accomplished by relating static identifier to dynamic address
JP4179300B2 (en) Network management method and apparatus, and management program
JP2006086800A (en) Communication apparatus for selecting source address
US20030131133A1 (en) Communications system for establishing PPP connections between IEEE 1394 terminals and IP networks
JP3885585B2 (en) Router device and network system using the same
US7480250B2 (en) Apparatus and method for establishing network
JP6137178B2 (en) COMMUNICATION INFORMATION DETECTING DEVICE AND COMMUNICATION INFORMATION DETECTING METHOD
JPH09233112A (en) Address converter
JP4112393B2 (en) Network connection device detection device
WO2001033364A1 (en) Device for searching name of communication node device in communication network
JP2004350133A (en) Connection control method, connection control program, and connection device
JP2003163681A (en) Device and method for transferring packet and program
US20060126614A1 (en) Automatic network configuration
CN114629725A (en) User domain dumb terminal management method, device, system and storage medium
JP4484190B2 (en) Router search system, router search method, and router search program
Cisco Configuring IP
JPH11340984A (en) Ip address retrieval system
WO2014132774A1 (en) Node information detection device, node information detection method, and program
JP5691612B2 (en) Communication system, router, switching hub, and program
JP6119187B2 (en) Management device, address information management program, and address information management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051220

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20071025

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071025

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080222

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080409

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140418

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees