JP2023097657A - Apparatus estimation device, apparatus estimation method, and program - Google Patents
Apparatus estimation device, apparatus estimation method, and program Download PDFInfo
- Publication number
- JP2023097657A JP2023097657A JP2021213886A JP2021213886A JP2023097657A JP 2023097657 A JP2023097657 A JP 2023097657A JP 2021213886 A JP2021213886 A JP 2021213886A JP 2021213886 A JP2021213886 A JP 2021213886A JP 2023097657 A JP2023097657 A JP 2023097657A
- Authority
- JP
- Japan
- Prior art keywords
- name
- range
- unit
- registered
- mac addresses
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims description 31
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 14
- 238000011835 investigation Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 238000001514 detection method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000010365 information processing Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000001174 ascending effect Effects 0.000 description 2
- 239000004606 Fillers/Extenders Substances 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
本発明は、機器推定装置、機器推定方法、及びプログラムに関する。 The present invention relates to a device estimating device, a device estimating method, and a program.
例えば、特許文献1には、ネットワークに接続された通信装置を同定するために用いる辞書情報を作成する辞書作成装置であって、前記通信装置からパケットを受信する受信部と、前記受信部が受信したパケットを解析して前記通信装置の特性を示す特性情報を抽出する解析部と、前記通信装置の型番情報の入力を受け付ける入力部と、前記解析部が抽出した特性情報と前記入力部が入力した型番情報とを関連付けて辞書情報として辞書記憶部に記録する記録部とを備えることを特徴とする辞書作成装置が開示されている。
For example,
また、特許文献2には、電化製品と情報処理装置から構成される被調査用ネットワーク、予め機器識別が行われている調査用電化製品と調査用情報処理装置から構成される調査用ネットワーク、及びサーバから構成されるシステムであって、前記情報処理装置が、前記被調査用ネットワーク内の電化製品にパケットを送信し、当該パケットと、当該パケットに対するレスポンスとから構成される検出データを受信する検出データ受信手段と、前記検出データが前記電化製品の種類と予め対応付けられた辞書データと、前記検出データとに基づいて、前記電化製品の機器識別を行なう機器識別手段と、前記機器識別手段により前記電化製品の機器識別が完了できたか否かを判断する未識別判断手段と、前記電化製品の機器識別が完了できなかった場合に、機器識別が完了できなかった電化製品に送信したパケットと、当該パケットに対する応答データとからなる検出データを、要調査データと決定し、前記サーバに要調査データを送信する要調査決定手段と、を備え、前記サーバが、前記要調査データを受信し、予め記憶された辞書データを参照することで、機器識別ができたか否かを判断するサーバ機器識別手段と、前記サーバ機器識別手段が、前記機器識別が完了できなかった場合に、前記調査用情報処理装置に、要調査データを送信する調査指令手段と、前記調査用情報処理装置が、前記要調査データを受信する要調査データ受信手段と、前記パケットを、前記調査用電化製品に送信し、当該パケットに対するレスポンスを受信し、当該パケットと当該レスポンスとから構成される検出データを受信する検出データ受信手段と、前記受信した検出データを、前記要調査データと比較する比較手段と、前記比較手段が比較した結果、前記機器識別が完了できなかった電化製品の機器を識別する未識別機器識別手段と、を備えるシステムが開示されている。 In addition, Patent Document 2 describes a research target network composed of electrical appliances and an information processing device, a survey network composed of survey electrical appliances and a survey information processing device whose devices are identified in advance, and A system comprising a server, wherein the information processing device transmits a packet to the electrical appliance in the network under investigation, and receives detection data composed of the packet and a response to the packet. data receiving means; dictionary data in which the detected data is associated in advance with the type of the electrical appliance; device identification means for identifying the electrical appliance based on the detected data; non-identification determination means for determining whether or not the identification of the electrical appliance has been completed; a packet transmitted to the electrical appliance for which the identification of the electrical appliance has not been completed when the identification of the electrical appliance has not been completed; investigation required determination means for determining detected data including response data to the packet as investigation required data and transmitting the investigation required data to the server, wherein the server receives the investigation required data, server device identification means for determining whether or not device identification has been completed by referring to stored dictionary data; investigation command means for transmitting investigation data to a device; investigation data reception means for receiving the investigation data by the investigation information processing device; detection data receiving means for receiving a response to a packet and receiving detection data composed of the packet and the response; comparison means for comparing the received detection data with the investigation data; and the comparison means unidentified device identification means for identifying a device of the electrical appliance for which the device identification could not be completed as a result of the comparison.
ネットワークに接続する機器の特定を効率化することを目的とする。 The purpose is to streamline the identification of devices connected to the network.
本発明に係る機器推定装置は、MACアドレス(Media Access Control address)の範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書格納部と、新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書格納部に登録されたMACアドレスの範囲とを比較する比較部と、前記比較部による比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定部と、ユーザの入力に応じて、前記推測辞書格納部に、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録部とを有する。 A device estimating device according to the present invention includes a guessing dictionary storage unit in which ranges of MAC addresses (Media Access Control addresses) and device names or model names are registered in association with each other, and transmission of packets sent from a new device. A comparison unit that compares the original MAC address with the range of MAC addresses registered in the guess dictionary storage unit, and a device that specifies the device name or model name of the new device based on the comparison result of the comparison unit. A specifying unit and a registering unit for newly registering a range of MAC addresses and a device name or model name in association with each other in the guessing dictionary storage unit according to user input.
好適には、前記機器特定部は、前記比較部による比較結果のみに基づいて、前記新たな機器の機器名又は機種名を特定する。
好適には、前記登録部により前記推定辞書格納部にMACアドレスの範囲が新規登録された場合に、新規登録されたMACアドレスの範囲に応じて、他の機器名又は機種名に関連付けられているMACアドレスの範囲を変更する範囲変更部をさらに有する。
Preferably, the device identification unit identifies the device name or model name of the new device based only on the comparison result by the comparison unit.
Preferably, when a range of MAC addresses is newly registered in the estimation dictionary storage unit by the registration unit, another device name or model name is associated with the newly registered MAC address range. It further has a range changing unit that changes the range of MAC addresses.
好適には、前記比較部は、MACアドレスの上位ビットのみを比較する。
好適には、前記登録部は、前記比較部により前記推測辞書格納部に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に、ユーザの入力に基づく新規登録を行う。
Preferably, the comparison unit compares only high-order bits of MAC addresses.
Preferably, the registration unit performs new registration based on user input when the comparison unit determines that the MAC address does not match any of the ranges registered in the guess dictionary storage unit.
好適には、前記登録部により同じOUI(Organizationally Unique Identifier)の範囲内で同一機器名又は同一機種名が登録された場合に、この機器名又はこの機種名に関連付けて前記推測辞書格納部に登録されているMACアドレスの範囲を拡張する範囲拡張部をさらに有する。 Preferably, when the same device name or the same model name is registered within the range of the same OUI (Organizationally Unique Identifier) by the registration unit, it is registered in the guess dictionary storage unit in association with this device name or model name. It further has a range extender for extending the range of MAC addresses that are provided.
好適には、前記範囲変更部は、前記登録部により、同じOUIの範囲内で、互いに異なる機器名又は機種名に関連付けてMACアドレスが登録された場合に、前記推測辞書格納部に登録されていた他の機器名又は他の機種名のMACアドレスの範囲を縮小又は移動させる。
好適には、前記比較部により、前記推測辞書格納部に登録されているMACアドレスの範囲のいずれとも一致しないと判定された場合に、MACアドレス以外のパケット内情報に基づいて、機器名又は機種名を特定する第2の機器特定部をさらに有する。
Preferably, when the registration unit registers MAC addresses in association with mutually different device names or model names within the same OUI range, the range changing unit registers the MAC addresses registered in the guess dictionary storage unit. reduce or move the range of MAC addresses of other device names or other model names.
Preferably, when it is determined by the comparison unit that the range of MAC addresses registered in the guess dictionary storage unit does not match, the device name or model is determined based on packet information other than the MAC address. It further has a second device identification part for identifying a name.
また、本発明に係る機器推定方法は、MACアドレスの範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書データベースを参照して、新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書データベースに登録されたMACアドレスの範囲とを比較する比較ステップと、前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、ユーザの入力に応じて、前記推測辞書データベースに、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録ステップとを有する。 In addition, the device estimation method according to the present invention refers to an estimation dictionary database in which ranges of MAC addresses and device names or model names are registered in association with each other, and source MAC of a packet sent from a new device. a comparison step of comparing the address with a range of MAC addresses registered in the guessing dictionary database; and a device identification step of identifying the device name or model name of the new device based on the comparison result of the comparison step. and a registration step of newly registering the MAC address range and the device name or model name in association with each other in the inference dictionary database according to the user's input.
また、本発明に係るプログラムは、MACアドレスの範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書データベースを参照して、新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書データベースに登録されたMACアドレスの範囲とを比較する比較ステップと、前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、ユーザの入力に応じて、前記推測辞書データベースに、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録ステップとをコンピュータに実行させる。 Further, the program according to the present invention refers to a guessing dictionary database in which ranges of MAC addresses and device names or model names are registered in association with each other, and determines the transmission source MAC address of a packet sent from a new device. a comparison step of comparing the ranges of MAC addresses registered in the guessing dictionary database; a device identification step of identifying the device name or model name of the new device based on the comparison result of the comparison step; , the computer executes a registration step of newly registering the MAC address range and the device name or model name in association with each other in the inference dictionary database.
ネットワークに接続する機器の特定を効率化することができる。 It is possible to efficiently specify devices connected to the network.
以下、本発明の実施形態を、図面を参照して説明する。
図1は、機器識別システム1の全体構成を例示する図である。
図1に例示するように、機器識別システム1は、機器識別装置2と、複数の機器9(ノートPC9A、スイッチ9B、Webカメラ9Kなど)とを含み、これらは、ネットワーク7を介して互いに接続している。
機器識別装置2は、ネットワーク7に接続する機器9を特定し管理するコンピュータ端末である。本例の機器識別装置2は、同一サブネット(ネットワーク7)に接続する機器9の機器名を自動的に推定し、ユーザの操作に応じて、推定された機器名と、機器9のMACアドレス等とを関連付けて機器DB370の機器リスト(後述)に登録する。なお、機器識別装置2は、本発明に係る機器推定装置の一例である。
機器9は、機器識別装置2により管理される機器であり、例えば、ノートパソコン9A(ノートPC9A)、スイッチ9B、又は、Webカメラ9Kなどである。
ネットワーク7は、MACアドレスを用いて通信可能なネットワークであり、本例では、同一サブネットである場合を具体例として説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a diagram illustrating the overall configuration of a
As illustrated in FIG. 1, a
The equipment identification device 2 is a computer terminal that identifies and manages the equipment 9 connected to the
The device 9 is a device managed by the device identification device 2, and is, for example, a notebook computer 9A (laptop PC 9A), a switch 9B, or a web camera 9K.
The
上記構成でのネットワーク管理において、ネットワーク7から受信したパケットで機器識別率が高いことは、機器管理や障害箇所の検出時に、機器9を特定するための重要な要素であり、製品価値を高めたり、機器管理の工数を減らす機能でもある。
しかし、工場のネットワークでは、各メーカ独自の使用で様々な機器が稼働しており、ウインドウズ端末を識別するような技術では、オフィスのネットワークに比べて、機器識別率が低くなる。
そのため、全ての機器9を管理するには、識別できない不明機器を一台ずつ調査し、管理ツールなどにユーザが入力していく必要があり、時間がかかっていた。
In network management with the above configuration, a high device identification rate in packets received from the
However, in a factory network, various devices are operated by each maker's unique use, and the technology for identifying Windows terminals has a lower device identification rate than an office network.
Therefore, in order to manage all the devices 9, it is necessary for the user to investigate the unknown devices that cannot be identified one by one and to input the data into a management tool or the like, which takes time.
そこで、本実施形態の機器識別システム1では、工場ネットワークのような種々の機器9が稼働する場面でも、ネットワーク7を流れるパケットに基づく機器識別率を向上させ、機器管理の管理工数を削減する。特に、本例では、OUI(Organizationally Unique Identifier)に着目して、機器9の機器名又は機種名を推定する。OUIとは、MACアドレスの前半3バイトであり、メーカ毎に割り当てられた番号である。1つのOUIは、約1600万個のMACアドレスの範囲に相当する。機器9を製造する際に、メーカはIEEEよりOUIを購入し、機器のグローバルMACアドレスとして設定しており、本例の機器識別装置2は、MACアドレスの範囲と機器名とを互いに関連付けた推測辞書を参照して、機器9の機器名を自動的に推定する。
Therefore, the
なお、ネットワーク7で受信したパケットを用いて機器を識別する方法としては、DHCPパケットのfingerprint等による方法も考えられるが、工場のネットワークで稼働している機器は、メーカ独自の仕様で動作している機器が多いため、これらの方法では識別率が低い。また、機器識別率を向上させるために、工場で稼働している機器を入手し、リバースエンジニアリング等により識別する方法もありうるが、これには多くの費用や時間がかかるという問題がある。
As a method of identifying a device using a packet received on the
図2を参照して、本実施形態における機器識別システム1の動作概要を説明する。
図2に例示するように、機器識別装置2は、同一サブネット(ネットワーク7)内の機器9から、パケットを受信する。
機器識別装置2は、機器DB370の機器リストを参照して、受信したパケットのMACアドレスに基づいて、登録済みの機器であるか否かを判断し、登録済みであれば結果表示を行い、未登録であれば、機器名の推測処理に移行する。
機器識別装置2は、機器DB370の機器リストに登録されていない機器である場合に、この機器9の送信元MACアドレスと、推測辞書DB372(後述)に登録されているOUI及びMACアドレスの範囲とを比較して、未登録機器9の機器名を推測する。推測辞書DB372には、OUI及びMACアドレスの範囲と、機器名とが互いに関連付けられており、機器9の送信元MACアドレスが、いずれかの範囲と一致した場合には、関連付けられている「機器名」が推測結果として表示され、いずれも一致しなかった場合には、「機器名 不明」が推測結果として表示される。
ユーザは、機器識別装置2を操作して、推測結果が「機器名」である場合に、機器名を確認し、必要に応じて修正変更して、「管理番号」を入力する。一方、推測結果が「機器名 不明」である場合に、ユーザは、機器識別装置2を操作して、「機器名」と「管理番号」を入力する。
機器識別装置2は、ユーザの入力に応じて機器DB370の機器リストを更新すると共に、ユーザが入力した「機器名」に基づいて、推測辞書に「機器名」及びMACアドレスの範囲を追加登録する。
このように、本例の機器識別装置2は、推測辞書DB372を用いて機器名を推測することにより、同種の機器9については、機器名が自動的に推測されるため、全て手動入力する場合に比べて、管理工数が軽減される。また、故障などで機器9を交換した場合も、同種の機器による交換であれば、自動的に推測できるため、管理工数が軽減される。
An overview of the operation of the
As illustrated in FIG. 2, the device identification device 2 receives packets from devices 9 within the same subnet (network 7).
The device identification device 2 refers to the device list of the
If the device is not registered in the device list of the
The user operates the device identification device 2, confirms the device name when the guess result is the "device name", corrects and changes it as necessary, and inputs the "management number". On the other hand, when the guess result is "device name unknown", the user operates the device identification device 2 to input the "device name" and "management number".
The device identification device 2 updates the device list of the
In this way, the device identification device 2 of this example uses the
図3は、機器識別装置2のハードウェア構成を例示する図である。
図3に例示するように、機器識別装置2は、CPU200、メモリ202、HDD204、ネットワークインタフェース206(ネットワークIF206)、表示装置208、及び、入力装置210を有し、これらの構成はバス212を介して互いに接続している。
CPU200は、例えば、中央演算装置である。
メモリ202は、例えば、揮発性メモリであり、主記憶装置として機能する。
HDD204は、例えば、ハードディスクドライブ装置であり、不揮発性の記録装置としてコンピュータプログラム(例えば、図4の機器識別プログラム3)やその他のデータファイルを格納する。
ネットワークIF206は、有線又は無線で通信するためのインタフェースであり、例えば、ネットワーク7への接続を実現する。
表示装置208は、例えば、液晶ディスプレイであり、図2の結果表示部として機能する。
入力装置210は、例えば、キーボード及びマウスであり、図2の入力部として機能する。
FIG. 3 is a diagram illustrating the hardware configuration of the device identification device 2. As illustrated in FIG.
As illustrated in FIG. 3, the device identification device 2 has a
The
The
The network IF 206 is an interface for wired or wireless communication, and realizes connection to the
The
The
図4は、機器識別装置2の機能構成を例示する図である。
図4に例示するように、本例の機器識別装置2には、機器識別プログラム3がインストールされ、動作すると共に、機器データベース370(機器DB370)及び推測辞書データベース372(推測辞書DB372)が構成される。機器識別プログラム3は、例えば、CD-ROM等の記録媒体に格納されており、この記録媒体を介して、機器識別装置2にインストールされる。
機器識別プログラム3は、パケット受信処理部300、比較部310、第1機器特定部320、第2機器特定部330、登録部340、範囲変更部350、及び、範囲拡張部360を有する。
なお、機器識別プログラム3の一部又は全部は、ASICなどのハードウェアにより実現されてもよく、また、OS(Operating System)の機能を一部借用して実現されてもよい。
FIG. 4 is a diagram illustrating the functional configuration of the device identification device 2. As illustrated in FIG.
As exemplified in FIG. 4, the device identification program 3 is installed in the device identification device 2 of this example, operates, and also includes a device database 370 (device DB 370) and a guess dictionary database 372 (guess dictionary DB 372). be. The device identification program 3 is stored in a recording medium such as a CD-ROM, for example, and installed in the device identification device 2 via this recording medium.
The device identification program 3 has a packet
Part or all of the device identification program 3 may be realized by hardware such as ASIC, or may be realized by partially borrowing functions of an OS (Operating System).
機器識別プログラム3において、パケット受信処理部300は、ネットワーク7に接続している機器9からのパケットを受信する。本例のパケット受信処理部300は、機器識別装置2と同一のサブネット内の機器9からパケットを受信する。
In the device identification program 3 , the packet
比較部310は、新たな機器9から送出されたパケットの送信元MACアドレスと、推測辞書DB372に登録されたMACアドレスの範囲とを比較する。ここで、新たな機器9とは、機器識別装置2により特定されていない機器を意味し、本例では、機器DB370の機器リストに登録されていない機器である。
本例の比較部310は、パケット受信処理部300により受信したパケットの送信元MACアドレスと、機器DB370の機器リストに登録されているMACアドレスとを比較し、いずれとも一致しなかった場合に、この送信元MACアドレス(すなわち、新たな機器9のMACアドレス)と、推測辞書DB372に登録されているMACアドレスの範囲とを比較する。
The
The
第1機器特定部320は、比較部310による比較結果のみに基づいて、新たな機器の機器名を特定する。より具体的には、第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を、新たな機器の機器名とする。本例の第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を出力し、いずれのMACアドレスの範囲とも一致しなかった場合に、機器名不明を出力する。
The first
第2機器特定部330は、比較部310により、推測辞書DB372に登録されているMACアドレスの範囲のいずれとも一致しないと判定された場合に、MACアドレス以外のパケット内情報に基づいて、機器名又は機種名を特定する。例えば、第2機器特定部330は、DHCPパケットのfingerprint、又は、uPnP(Universal Plug and Play)によって、機器名を特定する。
If the
登録部340は、ユーザの入力に応じて、推測辞書DB372に、MACアドレスの範囲と、機器名とを互いに関連付けて新規登録する。例えば、登録部340は、比較部310により推測辞書DB372に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に、ユーザの入力に基づく新規登録を行う。本例の登録部340は、比較部310により推測辞書DB372に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に加え、比較部310により推測辞書DB372に登録されたいずれかのMACアドレスの範囲と一致すると判定されたが、ユーザにより機器名が修正変更された場合も、ユーザの入力に基づく新規登録を行う。
The
範囲変更部350は、登録部340により推定辞書DB372にMACアドレスの範囲が新規登録された場合に、新規登録されたMACアドレスの範囲に応じて、他の機器名に関連付けられているMACアドレスの範囲を変更する。より具体的には、範囲変更部350は、登録部340により、同じOUIの範囲内で、互いに異なる機器名に関連付けてMACアドレスが登録された場合に、MACアドレスの範囲が互いに重複しないように、推測辞書DB372に登録されていた他の機器名のMACアドレスの範囲を縮小又は移動させる。
When a range of MAC addresses is newly registered in
範囲拡張部360は、登録部340により同じOUIの範囲内で同一機器名又は同一機種名が登録された場合に、この機器名又はこの機種名に関連付けて推測辞書DB372に登録されているMACアドレスの範囲を拡張する。より具体的には、範囲拡張部360は、登録部340により同じOUIの範囲内で同一機器名が登録された場合に、これらの機器名に関連付けているMACアドレスの範囲をつなげるように、推測辞書DB372に登録されているMACアドレスの範囲を拡張する。
When the
図5(A)は、機器DB370に登録される機器リストを例示し、図5(B)は、推測辞書DB372に登録される推測辞書を例示する図である。なお、推測辞書DB372は、本発明に係る推測辞書格納部の一例である。
図5(A)に例示するように、本例の機器DB370は、機器9のMACアドレスと、この機器9の機器名と、この機器9に対して付与された管理番号とを互いに関連付けて機器リストとして格納する。機器リストに登録された機器9は、機器識別システム1において管理されている機器である。
図5(B)に例示するように、本例の推測辞書DB372は、OUIと、MACアドレスの範囲と、機器名とを互いに関連付けて推測辞書として格納する。
FIG. 5A illustrates a device list registered in the
As illustrated in FIG. 5A, the
As illustrated in FIG. 5B, the
図6は、機器識別装置2による機器識別処理(S10)を説明するフローチャートである。
図6に例示するように、ステップ100(S100)において、機器識別装置2のパケット受信処理部300(図4)は、ネットワークIF206(図3)を介して、同一サブネット(ネットワーク7)に流れるパケットを受信する。
ステップ105(S105)において、比較部310は、パケット受信処理部300により受信されたパケットの送信元MACアドレスと、機器DB370の機器リストに登録されているMACアドレスとを比較する。機器識別プログラム3は、比較の結果、いずれかと一致した場合に、S155の処理に移行し、いずれとも一致しなかった場合に、S110の処理に移行する。
FIG. 6 is a flowchart for explaining the device identification process (S10) by the device identification device 2. As shown in FIG.
As illustrated in FIG. 6, at step 100 (S100), the packet reception processing unit 300 (FIG. 4) of the device identification device 2 receives packets flowing to the same subnet (network 7) via the network IF 206 (FIG. 3). receive.
At step 105 ( S<b>105 ), the comparing
ステップ110(S110)において、比較部310は、パケット受信処理部300により受信されたパケットの送信元MACアドレスと、推測辞書DB372に登録されているMACアドレスの範囲とを比較する。
第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を機器DB370に出力し、いずれのMACアドレスの範囲とも一致しなかった場合に、機器名不明を機器DB370に出力する。
At step 110 ( S<b>110 ), the
If the transmission source MAC address matches any range of MAC addresses based on the comparison result of the
ステップ115(S115)において、機器DB370は、第1機器特定部320から入力された情報(「機器名」又は「機器名不明」)を、送信元MACアドレスに関連付けて機器リストに追加する。なお、管理番号は、図2に例示するように「未設定」の状態となる。
ステップ120(S120)において、表示装置208は、追加された機器リストを表示する。
At step 115 (S115), the
At step 120 (S120), the
ステップ125(S125)において、機器識別プログラム3は、第1機器特定部320により「機器名」が出力された場合に、S130の処理に移行し、第1機器特定部320により「機器名不明」が出力された場合に、S135の処理に移行する。
ステップ130(S130)において、機器識別プログラム3は、表示装置208により表示された機器リストをユーザに確認させ、入力装置210(図3)を介して、管理番号の入力、又は、機器名の修正操作をユーザから受け付ける。
In step 125 (S125), the device identification program 3 shifts to the process of S130 when the first
At step 130 (S130), the device identification program 3 allows the user to confirm the device list displayed by the
ステップ135(S135)において、第2機器特定部330は、DHCPパケットのfingerprintによって、パケット受信処理部300により受信されたパケットに基づいて機器名を特定し、特定結果(「機器名」又は「機器名不明」)を機器DB370に出力し、機器DB370は、第2機器特定部330から入力された情報(「機器名」又は「機器名不明」)を、送信元MACアドレスに関連付けて機器リストに追加し、表示装置208は、追加された機器リストを表示する。
In step 135 (S135), the second
ステップ140(S140)において、機器識別プログラム3は、第2機器特定部330により「機器名」が出力された場合に、S130の処理に移行し、第2機器特定部330により「機器名不明」が出力された場合に、S145の処理に移行する。
ステップ145(S145)において、機器識別プログラム3は、入力装置210(図3)を介して、管理番号及び機器名の入力をユーザから受け付ける。
In step 140 (S140), the device identification program 3 shifts to the process of S130 when the second
At step 145 (S145), the device identification program 3 receives the input of the management number and device name from the user via the input device 210 (FIG. 3).
ステップ20(S20)において、登録部340は、ユーザの入力に応じて、推測辞書DB372の推測辞書を更新する。
ステップ150(S150)において、機器識別プログラム3は、機器DB370の機器リストを確定させる。
ステップ155(S155)において、表示装置208は、機器DB370の機器リストを識別結果として表示する。
At step 20 (S20), the
At step 150 (S150), the device identification program 3 finalizes the device list of the device DB370.
At step 155 (S155), the
図7は、図6の辞書登録処理(S20)をより詳細に説明するフローチャートである。
図7に示すように、ステップ200(S200)において、登録部340は、ユーザにより入力された機器名と、パケット受信処理部300により受信されたパケットの送信元MACアドレスとを推測辞書DB372に追加登録する際に、送信元MACアドレスのOUI部分と、推測辞書DB372に登録されているOUIとを比較し、いずれかのOUIと一致した場合に、S210の処理に移行し、いずれのOUIとも一致しなかった場合に、S205の処理に移行する。
FIG. 7 is a flowchart for explaining in more detail the dictionary registration process (S20) of FIG.
As shown in FIG. 7, at step 200 (S200), the
ステップ205(S205)において、登録部340は、送信元MACアドレスのOUIと、この送信元MACアドレスが含まれた16bitの幅(OUI:xx:00:00-OUI:xx:FF:FF)のアドレス範囲と、ユーザにより入力された機器名とを互いに関連付けて推測辞書DB372に新規登録する。
In step 205 (S205), the
ステップ210(S210)において、登録部340は、ユーザにより入力された機器名、及び、パケット受信処理部300により受信されたパケットの送信元MACアドレスのセットと、推測辞書DB372に登録されている機器名及びMACアドレスのセットとを比較し、いずれかのセットと一致した場合に、辞書登録処理(S20)を終了し、いずれのセットとも一致しなかった場合に、S215の処理に移行する。
At step 210 (S210), the
ステップ215(S215)において、登録部340は、登録するMACアドレスと同一OUIの機器リスト(機器DB370)内のMACアドレスを昇順に並べて、MACリストを作成する。
ステップ220(S220)において、登録部340は、MACリストの先頭を、推測辞書DB372に登録する機器名のMACアドレス範囲の先頭に設定する。
At step 215 (S215), the
At step 220 ( S<b>220 ), the
ステップ225(S225)において、登録部340は、MACリストを昇順に検索し、次の機器名がMACリストに存在する場合に、S235の処理に移行し、次の機器名がMACリストに存在しない場合に、S230の処理に移行する。
ステップ230(S230)において、登録部230は、機器名のMACアドレス範囲の末尾を設定する。MACアドレス範囲の末尾は、(OUI:xx:FF:FF)となる。なお、「xx」の部分は、登録する機器名のMACアドレスの該当部分と同じ値である。
At step 225 (S225), the
At step 230 (S230), the registration unit 230 sets the end of the MAC address range of the device name. The end of the MAC address range is (OUI:xx:FF:FF). The "xx" part has the same value as the corresponding part of the MAC address of the device name to be registered.
ステップ235(S235)において、登録部340は、登録する機器名のMACアドレスの4Byte目と、次の機器名のMACアドレスの4Byte目とを比較し、一致する場合に、S245の処理に移行し、一致しない場合に、S240の処理に移行する。
ステップ240(S240)において、登録部340は、登録する機器名のMACアドレス範囲の末尾を(OUI:xx:FF:FF)に設定し、推測辞書DB372に登録する。登録部340は、次の機器名のMACアドレス範囲の先頭を(OUI:xx:00:00)に設定し、S225の処理に戻る。
At step 235 (S235), the
At step 240 ( S<b>240 ), the
ステップ245(S245)において、登録部340は、登録する機器名のMACアドレスの5Byte目と、次の機器名のMACアドレスの5Byte目とを比較し、一致する場合に、S255の処理に移行し、一致しない場合に、S250の処理に移行する。
ステップ250(S250)において、登録部340は、登録する機器名のMACアドレス範囲の末尾を(OUI:xx:yy:FF)に設定し、推測辞書DB372に登録する。「yy」の部分は、次の機器名のMACアドレスの5Byte目の値から1減算した値である。範囲変更部350は、次の機器名のMACアドレスの範囲の先頭を(OUI:xx:xx:00)に設定し、S225の処理に戻る。つまり、範囲変更部350は、次の機器名のMACアドレスの範囲を狭める。
At step 245 (S245), the
At step 250 ( S<b>250 ), the
ステップ255(S255)において、登録部340は、登録する機器名のMACアドレス範囲の末尾を(OUI:xx:xx:zz)に設定し、推測辞書DB372に登録する。「zz」の部分は、次の機器名のMACアドレスの6Byte目の値から1減算した値である。範囲変更部350は、次の機器名のMACアドレスの範囲の先頭を(OUI:xx:xx:xx)に設定し、S225の処理に戻る。つまり、範囲変更部350は、次の機器名のMACアドレスの範囲を狭める。
At step 255 ( S<b>255 ), the
このように、本例の範囲変更部350は、MACアドレスの範囲を後半16bitの幅とする前提として、互いに異なる機器名のMACアドレス範囲が重なり合いそうな場合に、MACアドレス範囲の幅を狭めて、重なり合わないように調整している。なお、範囲変更部350は、互いに異なる機器名のMACアドレス範囲が重なり合いそうな場合に、アドレス範囲を移動させて、重なり合わないようにしてもよい。
As described above, the
次に、種々の場面における処理例を説明する。
図8は、同種の機器名を推測辞書に基づいて自動的に推測する場面を例示する図である。
図8の「PC-0002」が新たな機器9として機器識別装置2により検知された場合に、検知された機器「PC-0002」の送信元MACアドレスが、(00:AA:00:01:02:44)であるため、推測辞書の1行目のMACアドレス範囲と一致し、機器識別装置2は、機器名「Aメーカ NotePC Sシリーズ」であると推測して、機器リストをユーザに提示する。ユーザが、提示された機器名を確認して管理番号「PC―0002」を付与すると、機器識別装置2は、入力された管理番号を追記して機器リストを確定させる。
Next, processing examples in various situations will be described.
FIG. 8 is a diagram exemplifying a scene in which similar device names are automatically guessed based on the guess dictionary.
When "PC-0002" in FIG. 8 is detected as a new device 9 by the device identification device 2, the source MAC address of the detected device "PC-0002" is (00:AA:00:01: 02:44), it matches the MAC address range in the first line of the guess dictionary, and the device identification device 2 guesses that the device name is "A maker NotebookPC S series" and presents the device list to the user. do. When the user confirms the presented device name and assigns the management number "PC-0002", the device identification device 2 adds the input management number to finalize the device list.
図9は、推測辞書に基づいて推測した機器名がユーザにより修正された場面を例示する図である。
図9の「PR-0001」が新たな機器9として機器識別装置2により検知された場合に、検知された機器「PR-0001」の送信元MACアドレスが、(00:BB:00:04:09:03)であるため、推測辞書の2行目のMACアドレス範囲と一致し、機器識別装置2は、機器名「Bメーカ Switch AAシリーズ」であると推測して、機器リストをユーザに提示する。ユーザは、提示された機器名が誤っているため、機器名を「Bメーカ Printer OAシリーズ」に修正すると、
機器識別装置2は、これに応じて、機器リスト及び推測辞書を更新する。
FIG. 9 is a diagram illustrating a scene in which the device name guessed based on the guess dictionary is corrected by the user.
When "PR-0001" in FIG. 9 is detected as a new device 9 by the device identification device 2, the source MAC address of the detected device "PR-0001" is (00:BB:00:04: 09:03), it matches the MAC address range in the second line of the guess dictionary, and the device identification device 2 guesses that the device name is "B maker Switch AA series" and presents the device list to the user. do. Since the presented device name is incorrect, the user corrects the device name to "B maker Printer OA series".
The device identification device 2 updates the device list and guess dictionary accordingly.
図10は、機器故障により同種の機器と交換した場面を例示する図である。
図10の「PC-0002」が「PC-0010」に交換されると、この「PC-0010」が新たな機器9として機器識別装置2により検知され、検知された機器「PC-0010」の送信元MACアドレスが、(00:AA:AA:01:02:55)であるため、推測辞書の3行目のMACアドレス範囲と一致し、機器識別装置2は、機器名「Aメーカ NotePC Sシリーズ」であると推測して、機器リストをユーザに提示する。ユーザが、提示された機器名を確認して管理番号「PC―0010」を付与すると、機器識別装置2は、入力された管理番号を追記して機器リストを確定させる。
このように、機器の故障により交換した場合も、管理するユーザの工数を削減することができる。
FIG. 10 is a diagram exemplifying a scene in which a device of the same type is replaced due to a device failure.
When "PC-0002" in FIG. 10 is replaced with "PC-0010", this "PC-0010" is detected as a new device 9 by the device identification device 2, and the detected device "PC-0010" Since the source MAC address is (00:AA:AA:01:02:55), it matches the MAC address range in the third row of the guess dictionary, and the device identification device 2 recognizes the device name "A maker NotebookPC S series” and presents the device list to the user. When the user confirms the presented device name and assigns the management number "PC-0010", the device identification device 2 adds the input management number to finalize the device list.
In this way, it is possible to reduce the man-hours of the user who manages even when a device is replaced due to a failure.
図11は、推測辞書に基づいて機器名を推測できなかった場面を例示する図である。
図11の「PC-0001」が新たな機器9として機器識別装置2により検知された場合に、検知された機器「PC-0001」の送信元MACアドレスが、(00:AA:00:01:02:03)であるため、推測辞書のいずれのMACアドレス範囲とも一致せず、第1機器特定部320(図4)では機器を特定できず、第2機器特定部330がDHCPパケットのfingerprint等で、新たな機器9を特定する。機器識別装置2は、第2機器特定部330により、機器名「Aメーカ NotePC Sシリーズ」であると推測して、機器リストをユーザに提示する。ユーザは、提示された機器名を確認して管理番号「PC―0001」を付与すると、機器識別装置2は、これに応じて、機器リスト及び推測辞書を更新する。
このように、本例では、比較的処理負荷の重い第2機器特定部330は、第1機器特定部320により推測できなかった場合にのみ動作する。
FIG. 11 is a diagram illustrating a situation in which the device name cannot be guessed based on the guess dictionary.
When "PC-0001" in FIG. 11 is detected as a new device 9 by the device identification device 2, the source MAC address of the detected device "PC-0001" is (00:AA:00:01: 02:03), it does not match any of the MAC address ranges in the guess dictionary, and the first device identification unit 320 (FIG. 4) cannot identify the device, and the second
Thus, in this example, the second
以上説明したように、本実施形態の機器識別システム1によれば、推測辞書によって機器9の機器名を推測するため、管理するユーザの工数を削減することができる。
また、本例では、MACアドレスの比較のみで機器名を推測するため、機器名推測の処理負荷を軽くすることができる。
また、本例では、ユーザに入力操作に応じて、推測辞書が随時更新されていくため、メーカ独自仕様の機器9であっても、高い推測精度が期待できる。特に、OUIに着目しているため、メーカそれぞれの特徴に配慮して、機器名を推測することができる。
As described above, according to the
Also, in this example, the device name is estimated only by comparing MAC addresses, so the processing load for device name estimation can be reduced.
In addition, in this example, since the guess dictionary is updated at any time according to the user's input operation, high guess accuracy can be expected even with the device 9 having the unique specifications of the manufacturer. In particular, since the OUI is focused on, the device name can be guessed in consideration of the characteristics of each manufacturer.
1…機器識別システム
2…機器識別装置
3…機器識別プログラム
372…推測辞書データベース
DESCRIPTION OF
Claims (10)
新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書格納部に登録されたMACアドレスの範囲とを比較する比較部と、
前記比較部による比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定部と、
ユーザの入力に応じて、前記推測辞書格納部に、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録部と
を有する機器推定装置。 a guess dictionary storage unit in which ranges of MAC addresses and device names or model names are registered in association with each other;
a comparison unit that compares the transmission source MAC address of a packet sent from a new device with the range of MAC addresses registered in the guess dictionary storage unit;
a device identification unit that identifies the device name or model name of the new device based on the comparison result of the comparison unit;
A device estimating apparatus comprising: a registration unit that associates a MAC address range and a device name or model name with each other and newly registers them in the guessing dictionary storage unit in accordance with a user's input.
請求項1に記載の機器推定装置。 The device estimating device according to claim 1, wherein the device identification unit identifies the device name or model name of the new device based only on the comparison result by the comparison unit.
をさらに有する請求項2に記載の機器推定装置。 When a MAC address range is newly registered in the estimation dictionary storage unit by the registration unit, the MAC address range associated with another device name or model name according to the newly registered MAC address range The device estimating device according to claim 2, further comprising a range changing unit that changes the .
請求項3に記載の機器推定装置。 The device estimation device according to claim 3, wherein the comparison unit compares only upper bits of MAC addresses.
請求項4に記載の機器推定装置。 5. The registering unit according to claim 4, wherein when the comparing unit determines that the range of MAC addresses does not match any range registered in the guessing dictionary storage unit, the registering unit performs new registration based on user input. Equipment estimator.
をさらに有する請求項5に記載の機器推定装置。 When the same device name or the same model name is registered within the range of the same OUI by the registration unit, the range of MAC addresses registered in the guess dictionary storage unit is extended in association with this device name or model name. 6. The equipment estimating apparatus according to claim 5, further comprising:
請求項6に記載の機器推定装置。 When the registration unit registers MAC addresses in association with mutually different device names or model names within the same OUI range, the range changing unit changes the MAC addresses to other devices registered in the guess dictionary storage unit. 7. The device estimating device according to claim 6, wherein the MAC address range of the name or other model name is reduced or moved.
をさらに有する請求項7に記載の機器推定装置。 When the comparison unit determines that the range of MAC addresses does not match any range registered in the guess dictionary storage unit, the device name or model name is specified based on information in the packet other than the MAC address. The device estimation device according to claim 7, further comprising a second device identification unit.
前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、
ユーザの入力に応じて、前記推測辞書データベースに、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録ステップと
を有する機器推定方法。 A guessing dictionary database in which ranges of MAC addresses and device names or model names are registered in association with each other is referred to, and source MAC addresses of packets sent from a new device are registered in the guessing dictionary database. a comparing step of comparing with a range of MAC addresses;
a device identification step of identifying the device name or model name of the new device based on the comparison result of the comparison step;
A device estimation method, comprising: a registration step of newly registering a range of MAC addresses and a device name or model name in association with each other in the guess dictionary database according to a user's input.
前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、
ユーザの入力に応じて、前記推測辞書データベースに、MACアドレスの範囲と、機器名又は機種名とを互いに関連付けて新規登録する登録ステップと
をコンピュータに実行させるプログラム。 A guessing dictionary database in which ranges of MAC addresses and device names or model names are registered in association with each other is referred to, and source MAC addresses of packets sent from a new device are registered in the guessing dictionary database. a comparing step of comparing with a range of MAC addresses;
a device identification step of identifying the device name or model name of the new device based on the comparison result of the comparison step;
A program for causing a computer to execute a registration step of newly registering a range of MAC addresses and a device name or model name in association with each other in the inference dictionary database according to a user's input.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021213886A JP2023097657A (en) | 2021-12-28 | 2021-12-28 | Apparatus estimation device, apparatus estimation method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021213886A JP2023097657A (en) | 2021-12-28 | 2021-12-28 | Apparatus estimation device, apparatus estimation method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023097657A true JP2023097657A (en) | 2023-07-10 |
Family
ID=87072325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021213886A Pending JP2023097657A (en) | 2021-12-28 | 2021-12-28 | Apparatus estimation device, apparatus estimation method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023097657A (en) |
-
2021
- 2021-12-28 JP JP2021213886A patent/JP2023097657A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4724398B2 (en) | Network fingerprinting | |
US7817583B2 (en) | Method for verifying a storage area network configuration | |
US8645543B2 (en) | Managing and reconciling information technology assets in a configuration database | |
EP1589691B1 (en) | Method, system and apparatus for managing computer identity | |
US7685322B2 (en) | Port number emulation for wireless USB connections | |
JP4882036B1 (en) | Information processing apparatus, method, and server for determining type of electrical appliance | |
KR101292472B1 (en) | Method and system for discovery via tribal knowledge | |
WO2022213954A1 (en) | Federated learning method and apparatus, electronic device, and storage medium | |
US20170262523A1 (en) | Device discovery system | |
US20080256097A1 (en) | Method and system for location identification | |
WO2016064589A1 (en) | Centralized control and management systems for digital devices | |
US10447592B2 (en) | Output device discovery using network switches | |
CN110399722B (en) | Virus family generation method, device, server and storage medium | |
US20020124079A1 (en) | System for inference of presence of network infrastructure devices | |
US9813324B2 (en) | Dynamic control of endpoint profiling | |
CN108769118B (en) | Method and device for selecting master nodes in distributed system | |
CN108337739A (en) | Establish method and device, the data processing method of wireless debugging connection | |
US20070168453A1 (en) | Function managing apparatus | |
US7730173B2 (en) | Detecting nearby devices in a network environment | |
CN112311574B (en) | Network topology connection checking method, device and equipment | |
JP5644710B2 (en) | Node detection apparatus, node detection method, and program | |
CN114387966A (en) | Control method and device of intelligent equipment, electronic equipment and storage medium | |
JP2023097657A (en) | Apparatus estimation device, apparatus estimation method, and program | |
US8656011B2 (en) | Method and management apparatus for detecting communication apparatus coupled to communication network | |
CN109101595B (en) | Information query method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD07 | Notification of extinguishment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7427 Effective date: 20221118 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221227 |