JP2023097657A - Apparatus estimation device, apparatus estimation method, and program - Google Patents

Apparatus estimation device, apparatus estimation method, and program Download PDF

Info

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
Application number
JP2021213886A
Other languages
Japanese (ja)
Inventor
一義 平野
Kazuyoshi Hirano
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.)
PFU Ltd
Original Assignee
PFU Ltd
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 PFU Ltd filed Critical PFU Ltd
Priority to JP2021213886A priority Critical patent/JP2023097657A/en
Publication of JP2023097657A publication Critical patent/JP2023097657A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To improve the efficiency of identifying an apparatus connected to a network.SOLUTION: An apparatus estimation device includes: a guess dictionary storage unit in which ranges of MAC addresses (Media Access Control addresses) and apparatus names or model names are registered in association with each other; a comparison unit that compares the source MAC address of a packet sent from a new apparatus with the ranges of MAC addresses registered in the guess dictionary storage unit; an apparatus identification unit that identifies the apparatus name or model name of the new apparatus based on a comparison result of the comparison unit; and a registration unit that newly registers the range of MAC addresses and the apparatus name or model name in association with each other in the guess dictionary storage unit in accordance with a user input.SELECTED DRAWING: Figure 2

Description

本発明は、機器推定装置、機器推定方法、及びプログラムに関する。 The present invention relates to a device estimating device, a device estimating method, and a program.

例えば、特許文献1には、ネットワークに接続された通信装置を同定するために用いる辞書情報を作成する辞書作成装置であって、前記通信装置からパケットを受信する受信部と、前記受信部が受信したパケットを解析して前記通信装置の特性を示す特性情報を抽出する解析部と、前記通信装置の型番情報の入力を受け付ける入力部と、前記解析部が抽出した特性情報と前記入力部が入力した型番情報とを関連付けて辞書情報として辞書記憶部に記録する記録部とを備えることを特徴とする辞書作成装置が開示されている。 For example, Patent Document 1 discloses a dictionary creation device that creates dictionary information used to identify a communication device connected to a network, and includes a receiving unit that receives packets from the communication device, and a receiving unit that receives packets from the communication device. an analysis unit that analyzes the packet and extracts characteristic information indicating the characteristics of the communication device; an input unit that receives input of model number information of the communication device; and the characteristic information extracted by the analysis unit and the input unit. and a recording unit for recording the model number information as dictionary information in the dictionary storage unit.

また、特許文献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.

特開2012-104055JP 2012-104055 特許第4892634号Patent No. 4892634

ネットワークに接続する機器の特定を効率化することを目的とする。 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 is a diagram illustrating the overall configuration of a device identification system 1; FIG. 機器識別システム1の動作概要を説明する図である。2 is a diagram for explaining an operation outline of the device identification system 1; FIG. 機器識別装置2のハードウェア構成を例示する図である。2 is a diagram illustrating a hardware configuration of a device identification device 2; FIG. 機器識別装置2の機能構成を例示する図である。2 is a diagram illustrating a functional configuration of a device identification device 2; FIG. (A)は、機器DB370に登録される機器リストを例示し、(B)は、推測辞書DB372に登録される推測辞書を例示する図である。(A) illustrates a device list registered in a device DB 370, and (B) illustrates a guess dictionary registered in a guess dictionary DB 372. FIG. 機器識別装置2による機器識別処理(S10)を説明するフローチャートである。4 is a flowchart for explaining device identification processing (S10) by the device identification device 2; 図6の辞書登録処理(S20)をより詳細に説明するフローチャートである。FIG. 7 is a flowchart for explaining in more detail the dictionary registration process (S20) of FIG. 6. FIG. 同種の機器名を推測辞書に基づいて自動的に推測する場面を例示する図である。FIG. 10 is a diagram illustrating a scene in which device names of the same type are automatically guessed based on a guess dictionary; 推測辞書に基づいて推測した機器名がユーザにより修正された場面を例示する図である。FIG. 10 is a diagram illustrating a scene in which a user corrects a device name guessed based on a guessing dictionary; 機器故障により同種の機器と交換した場面を例示する図である。It is a figure which illustrates the scene which replaced|exchanged with the same kind of apparatus by the apparatus failure. 推測辞書に基づいて機器名を推測できなかった場面を例示する図である。FIG. 10 is a diagram illustrating a situation in which a device name cannot be guessed based on a guessing dictionary;

以下、本発明の実施形態を、図面を参照して説明する。
図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 device identification system 1. As shown in FIG.
As illustrated in FIG. 1, a device identification system 1 includes a device identification device 2 and a plurality of devices 9 (laptop PC 9A, switch 9B, web camera 9K, etc.), which are connected to each other via a network 7. are doing.
The equipment identification device 2 is a computer terminal that identifies and manages the equipment 9 connected to the network 7 . The device identification device 2 of this example automatically estimates the device name of the device 9 connected to the same subnet (network 7), and according to the user's operation, the estimated device name, the MAC address of the device 9, etc. are associated with each other and registered in a device list (described later) of the device DB 370 . Note that the device identification device 2 is an example of a device estimation device according to the present invention.
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 network 7 is a network that allows communication using MAC addresses, and in this example, a case where they are on the same subnet will be described as a specific example.

上記構成でのネットワーク管理において、ネットワーク7から受信したパケットで機器識別率が高いことは、機器管理や障害箇所の検出時に、機器9を特定するための重要な要素であり、製品価値を高めたり、機器管理の工数を減らす機能でもある。
しかし、工場のネットワークでは、各メーカ独自の使用で様々な機器が稼働しており、ウインドウズ端末を識別するような技術では、オフィスのネットワークに比べて、機器識別率が低くなる。
そのため、全ての機器9を管理するには、識別できない不明機器を一台ずつ調査し、管理ツールなどにユーザが入力していく必要があり、時間がかかっていた。
In network management with the above configuration, a high device identification rate in packets received from the network 7 is an important factor for identifying the device 9 during device management and detection of a failure location, and increases product value. , is also a function that reduces man-hours for device management.
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 device identification system 1 of the present embodiment improves the device identification rate based on the packets flowing through the network 7 and reduces the man-hours for device management even when various devices 9 are in operation, such as in a factory network. In particular, in this example, the device name or model name of the device 9 is estimated by focusing on the OUI (Organizationally Unique Identifier). The OUI is the first three bytes of the MAC address, and is a number assigned to each manufacturer. One OUI corresponds to a range of approximately 16 million MAC addresses. When manufacturing the device 9, the manufacturer purchases OUI from IEEE and sets it as the global MAC address of the device. The device name of the device 9 is automatically estimated by referring to the dictionary.

なお、ネットワーク7で受信したパケットを用いて機器を識別する方法としては、DHCPパケットのfingerprint等による方法も考えられるが、工場のネットワークで稼働している機器は、メーカ独自の仕様で動作している機器が多いため、これらの方法では識別率が低い。また、機器識別率を向上させるために、工場で稼働している機器を入手し、リバースエンジニアリング等により識別する方法もありうるが、これには多くの費用や時間がかかるという問題がある。 As a method of identifying a device using a packet received on the network 7, a method such as a fingerprint of a DHCP packet may be considered, but the device operating on the factory network operates according to the specifications unique to the manufacturer. These methods have a low identification rate because of the large number of devices used. Also, in order to improve the device identification rate, there is a method of obtaining devices operating in a factory and identifying them by reverse engineering or the like, but this has the problem that it takes a lot of cost and time.

図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 device identification system 1 in this embodiment will be described with reference to FIG.
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 device DB 370 and determines whether or not the device is already registered based on the MAC address of the received packet. If it is registered, the device name guessing process is started.
If the device is not registered in the device list of the device DB 370, the device identification device 2 identifies the transmission source MAC address of this device 9, the range of the OUI and the MAC address registered in the guess dictionary DB 372 (described later), and the are compared to guess the device name of the unregistered device 9 . In the guess dictionary DB 372, ranges of OUI and MAC addresses and device names are associated with each other. "name" is displayed as a guess result, and if none of them match, "device name unknown" is displayed as a guess result.
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 device DB 370 according to the user input, and additionally registers the "device name" and the MAC address range in the guess dictionary based on the "device name" input by the user. .
In this way, the device identification device 2 of this example uses the guessing dictionary DB 372 to guess the device name, so that the device names of the devices 9 of the same type are automatically guessed. Compared to , the management man-hours are reduced. Also, even if the device 9 is replaced due to a failure or the like, if the same type of device is replaced, it can be automatically estimated, so the number of man-hours for management can be reduced.

図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 CPU 200, a memory 202, an HDD 204, a network interface 206 (network IF 206), a display device 208, and an input device 210. These components are connected via a bus 212. connected to each other.
CPU 200 is, for example, a central processing unit.
The memory 202 is, for example, a volatile memory and functions as a main memory.
The HDD 204 is, for example, a hard disk drive device, and stores computer programs (eg, device identification program 3 in FIG. 4) and other data files as a non-volatile recording device.
The network IF 206 is an interface for wired or wireless communication, and realizes connection to the network 7, for example.
The display device 208 is, for example, a liquid crystal display, and functions as the result display section in FIG.
The input device 210 is, for example, a keyboard and mouse, and functions as the input section in FIG.

図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 reception processing section 300 , a comparison section 310 , a first device identification section 320 , a second device identification section 330 , a registration section 340 , a range change section 350 and a range extension section 360 .
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 reception processing section 300 receives packets from the device 9 connected to the network 7 . The packet reception processing unit 300 of this example receives packets from the device 9 within the same subnet as the device identification device 2 .

比較部310は、新たな機器9から送出されたパケットの送信元MACアドレスと、推測辞書DB372に登録されたMACアドレスの範囲とを比較する。ここで、新たな機器9とは、機器識別装置2により特定されていない機器を意味し、本例では、機器DB370の機器リストに登録されていない機器である。
本例の比較部310は、パケット受信処理部300により受信したパケットの送信元MACアドレスと、機器DB370の機器リストに登録されているMACアドレスとを比較し、いずれとも一致しなかった場合に、この送信元MACアドレス(すなわち、新たな機器9のMACアドレス)と、推測辞書DB372に登録されているMACアドレスの範囲とを比較する。
The comparison unit 310 compares the transmission source MAC address of the packet sent from the new device 9 with the range of MAC addresses registered in the guess dictionary DB 372 . Here, the new device 9 means a device that has not been identified by the device identification device 2 , and in this example, is a device that is not registered in the device list of the device DB 370 .
The comparison unit 310 of this example compares the transmission source MAC address of the packet received by the packet reception processing unit 300 and the MAC address registered in the device list of the device DB 370, and if they do not match, This transmission source MAC address (that is, the MAC address of the new device 9) is compared with the range of MAC addresses registered in the guess dictionary DB 372. FIG.

第1機器特定部320は、比較部310による比較結果のみに基づいて、新たな機器の機器名を特定する。より具体的には、第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を、新たな機器の機器名とする。本例の第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を出力し、いずれのMACアドレスの範囲とも一致しなかった場合に、機器名不明を出力する。 The first device identification unit 320 identifies the device name of the new device based only on the comparison results from the comparison unit 310 . More specifically, when the transmission source MAC address matches any MAC address range based on the comparison result of the comparison unit 310, the first device identification unit 320 associates the MAC address range with the MAC address range. The device name of the new device is set as the device name of the new device. If the transmission source MAC address matches any MAC address range based on the comparison result of the comparison unit 310, the first device identification unit 320 of this example determines whether the device associated with this MAC address range If the name does not match any MAC address range, the device name unknown is output.

第2機器特定部330は、比較部310により、推測辞書DB372に登録されているMACアドレスの範囲のいずれとも一致しないと判定された場合に、MACアドレス以外のパケット内情報に基づいて、機器名又は機種名を特定する。例えば、第2機器特定部330は、DHCPパケットのfingerprint、又は、uPnP(Universal Plug and Play)によって、機器名を特定する。 If the comparison unit 310 determines that the range of MAC addresses registered in the inference dictionary DB 372 does not match, the second device identification unit 330 determines the device name based on the packet information other than the MAC address. Or specify the model name. For example, the second device identification unit 330 identifies the device name using the fingerprint of the DHCP packet or uPnP (Universal Plug and Play).

登録部340は、ユーザの入力に応じて、推測辞書DB372に、MACアドレスの範囲と、機器名とを互いに関連付けて新規登録する。例えば、登録部340は、比較部310により推測辞書DB372に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に、ユーザの入力に基づく新規登録を行う。本例の登録部340は、比較部310により推測辞書DB372に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に加え、比較部310により推測辞書DB372に登録されたいずれかのMACアドレスの範囲と一致すると判定されたが、ユーザにより機器名が修正変更された場合も、ユーザの入力に基づく新規登録を行う。 The registration unit 340 newly registers the MAC address range and the device name in association with each other in the inference dictionary DB 372 according to the user's input. For example, when the comparison unit 310 determines that the range of MAC addresses registered in the guess dictionary DB 372 does not match, the registration unit 340 performs new registration based on user input. The registering unit 340 of this example, in addition to the case where the comparing unit 310 determines that the range of MAC addresses registered in the guessing dictionary DB 372 does not match any However, even if the device name is modified by the user, new registration is performed based on the user's input.

範囲変更部350は、登録部340により推定辞書DB372にMACアドレスの範囲が新規登録された場合に、新規登録されたMACアドレスの範囲に応じて、他の機器名に関連付けられているMACアドレスの範囲を変更する。より具体的には、範囲変更部350は、登録部340により、同じOUIの範囲内で、互いに異なる機器名に関連付けてMACアドレスが登録された場合に、MACアドレスの範囲が互いに重複しないように、推測辞書DB372に登録されていた他の機器名のMACアドレスの範囲を縮小又は移動させる。 When a range of MAC addresses is newly registered in estimation dictionary DB 372 by registration unit 340, range changing unit 350 changes the range of MAC addresses associated with other device names according to the range of newly registered MAC addresses. Change the range. More specifically, when the registration unit 340 registers MAC addresses in association with different device names within the same OUI range, the range change unit 350 changes the MAC address ranges so that the MAC address ranges do not overlap each other. , the range of MAC addresses of other device names registered in the guess dictionary DB 372 is reduced or moved.

範囲拡張部360は、登録部340により同じOUIの範囲内で同一機器名又は同一機種名が登録された場合に、この機器名又はこの機種名に関連付けて推測辞書DB372に登録されているMACアドレスの範囲を拡張する。より具体的には、範囲拡張部360は、登録部340により同じOUIの範囲内で同一機器名が登録された場合に、これらの機器名に関連付けているMACアドレスの範囲をつなげるように、推測辞書DB372に登録されているMACアドレスの範囲を拡張する。 When the registration unit 340 registers the same device name or the same model name within the same OUI range, the range extension unit 360 adds the MAC address registered in the guess dictionary DB 372 in association with this device name or model name. extend the range of More specifically, when the same device name is registered within the same OUI range by the registration unit 340, the range extension unit 360 performs guessing so as to connect the range of MAC addresses associated with these device names. Expand the range of MAC addresses registered in the dictionary DB 372 .

図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 device DB 370, and FIG. 5B illustrates a guess dictionary registered in the guess dictionary DB 372. FIG. The guess dictionary DB 372 is an example of a guess dictionary storage unit according to the present invention.
As illustrated in FIG. 5A, the device DB 370 of this example associates the MAC address of the device 9, the device name of this device 9, and the management number assigned to this device 9 with each other to Store as a list. Devices 9 registered in the device list are devices managed by the device identification system 1 .
As illustrated in FIG. 5B, the guess dictionary DB 372 of this example associates OUIs, MAC address ranges, and device names with each other and stores them as guess dictionaries.

図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 section 310 compares the source MAC address of the packet received by the packet reception processing section 300 with the MAC address registered in the device list of the device DB 370 . The device identification program 3 shifts to the process of S155 if any match is found as a result of the comparison, and shifts to the process of S110 if none match.

ステップ110(S110)において、比較部310は、パケット受信処理部300により受信されたパケットの送信元MACアドレスと、推測辞書DB372に登録されているMACアドレスの範囲とを比較する。
第1機器特定部320は、比較部310による比較結果に基づいて、送信元MACアドレスがいずれかのMACアドレスの範囲と一致した場合に、このMACアドレスの範囲に関連付けられている機器名を機器DB370に出力し、いずれのMACアドレスの範囲とも一致しなかった場合に、機器名不明を機器DB370に出力する。
At step 110 ( S<b>110 ), the comparison unit 310 compares the source MAC address of the packet received by the packet reception processing unit 300 with the range of MAC addresses registered in the guess dictionary DB 372 .
If the transmission source MAC address matches any range of MAC addresses based on the comparison result of the comparison unit 310, the first device identification unit 320 identifies the device name associated with this range of MAC addresses as a device name. Output to the DB 370 , and if it does not match any range of MAC addresses, the device name unknown is output to the device DB 370 .

ステップ115(S115)において、機器DB370は、第1機器特定部320から入力された情報(「機器名」又は「機器名不明」)を、送信元MACアドレスに関連付けて機器リストに追加する。なお、管理番号は、図2に例示するように「未設定」の状態となる。
ステップ120(S120)において、表示装置208は、追加された機器リストを表示する。
At step 115 (S115), the device DB 370 adds the information (“device name” or “unknown device name”) input from the first device identification unit 320 to the device list in association with the source MAC address. Note that the management number is in a state of "not set" as shown in FIG.
At step 120 (S120), the display device 208 displays the added device list.

ステップ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 device identification unit 320 outputs "device name", and the first device identification unit 320 outputs "device name unknown". is output, the process proceeds to S135.
At step 130 (S130), the device identification program 3 allows the user to confirm the device list displayed by the display device 208, and input the management number or correct the device name via the input device 210 (FIG. 3). Accepts operations from the user.

ステップ135(S135)において、第2機器特定部330は、DHCPパケットのfingerprintによって、パケット受信処理部300により受信されたパケットに基づいて機器名を特定し、特定結果(「機器名」又は「機器名不明」)を機器DB370に出力し、機器DB370は、第2機器特定部330から入力された情報(「機器名」又は「機器名不明」)を、送信元MACアドレスに関連付けて機器リストに追加し、表示装置208は、追加された機器リストを表示する。 In step 135 (S135), the second device identification unit 330 identifies the device name based on the packet received by the packet reception processing unit 300 by fingerprint of the DHCP packet, and the identification result (“device name” or “device name unknown”) to the device DB 370, and the device DB 370 associates the information (“device name” or “device name unknown”) input from the second device identification unit 330 with the source MAC address and stores the information in the device list. After adding, the display device 208 displays the added device list.

ステップ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 device identification unit 330 outputs "device name", and the second device identification unit 330 outputs "device name unknown". is output, the process proceeds to S145.
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 registration unit 340 updates the guess dictionary in the guess dictionary DB 372 according to the user's input.
At step 150 (S150), the device identification program 3 finalizes the device list of the device DB370.
At step 155 (S155), the display device 208 displays the device list of the device DB 370 as the identification result.

図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 registration unit 340 adds the device name input by the user and the source MAC address of the packet received by the packet reception processing unit 300 to the guess dictionary DB 372. At the time of registration, the OUI portion of the source MAC address is compared with the OUIs registered in the guessing dictionary DB 372, and if any of the OUIs match, the process proceeds to S210, and the OUI matches with any of the OUIs. If they do not match, the process proceeds to S205.

ステップ205(S205)において、登録部340は、送信元MACアドレスのOUIと、この送信元MACアドレスが含まれた16bitの幅(OUI:xx:00:00-OUI:xx:FF:FF)のアドレス範囲と、ユーザにより入力された機器名とを互いに関連付けて推測辞書DB372に新規登録する。 In step 205 (S205), the registration unit 340 registers the OUI of the source MAC address and the 16-bit width (OUI:xx:00:00-OUI:xx:FF:FF) containing the source MAC address. The address range and the device name input by the user are associated with each other and newly registered in the guess dictionary DB 372 .

ステップ210(S210)において、登録部340は、ユーザにより入力された機器名、及び、パケット受信処理部300により受信されたパケットの送信元MACアドレスのセットと、推測辞書DB372に登録されている機器名及びMACアドレスのセットとを比較し、いずれかのセットと一致した場合に、辞書登録処理(S20)を終了し、いずれのセットとも一致しなかった場合に、S215の処理に移行する。 At step 210 (S210), the registration unit 340 registers a set of the device name input by the user and the source MAC address of the packet received by the packet reception processing unit 300, and the device registered in the guess dictionary DB 372. The names and MAC address sets are compared, and if they match any set, the dictionary registration process (S20) ends, and if they do not match any set, the process proceeds to S215.

ステップ215(S215)において、登録部340は、登録するMACアドレスと同一OUIの機器リスト(機器DB370)内のMACアドレスを昇順に並べて、MACリストを作成する。
ステップ220(S220)において、登録部340は、MACリストの先頭を、推測辞書DB372に登録する機器名のMACアドレス範囲の先頭に設定する。
At step 215 (S215), the registration unit 340 creates a MAC list by arranging MAC addresses in the device list (device DB 370) having the same OUI as the MAC address to be registered in ascending order.
At step 220 ( S<b>220 ), the registration unit 340 sets the top of the MAC list to the top of the MAC address range of the device name to be registered in the guessing dictionary DB 372 .

ステップ225(S225)において、登録部340は、MACリストを昇順に検索し、次の機器名がMACリストに存在する場合に、S235の処理に移行し、次の機器名がMACリストに存在しない場合に、S230の処理に移行する。
ステップ230(S230)において、登録部230は、機器名のMACアドレス範囲の末尾を設定する。MACアドレス範囲の末尾は、(OUI:xx:FF:FF)となる。なお、「xx」の部分は、登録する機器名のMACアドレスの該当部分と同じ値である。
At step 225 (S225), the registration unit 340 searches the MAC list in ascending order, and if the next device name exists in the MAC list, the process proceeds to S235, and the next device name does not exist in the MAC list. If so, the process proceeds to S230.
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 registration unit 340 compares the 4th byte of the MAC address of the device name to be registered with the 4th byte of the MAC address of the next device name, and if they match, the process proceeds to S245. , if they do not match, the process proceeds to S240.
At step 240 ( S<b>240 ), the registration unit 340 sets the end of the MAC address range of the device name to be registered to (OUI:xx:FF:FF) and registers it in the guess dictionary DB 372 . The registration unit 340 sets the beginning of the MAC address range of the next device name to (OUI:xx:00:00), and returns to the process of S225.

ステップ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 registration unit 340 compares the 5th byte of the MAC address of the device name to be registered with the 5th byte of the MAC address of the next device name, and if they match, the process proceeds to S255. , if they do not match, the process proceeds to S250.
At step 250 ( S<b>250 ), the registration unit 340 sets the end of the MAC address range of the device name to be registered to (OUI:xx:yy:FF) and registers it in the guess dictionary DB 372 . The "yy" part is a value obtained by subtracting 1 from the 5th byte value of the MAC address of the next device name. The range changing unit 350 sets the top of the MAC address range of the next device name to (OUI:xx:xx:00), and returns to the process of S225. That is, the range changing unit 350 narrows the MAC address range of the next device name.

ステップ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 registration unit 340 sets the end of the MAC address range of the device name to be registered to (OUI:xx:xx:zz) and registers it in the guess dictionary DB 372 . The "zz" part is a value obtained by subtracting 1 from the 6th byte value of the MAC address of the next device name. The range changing unit 350 sets the top of the MAC address range of the next device name to (OUI:xx:xx:xx), and returns to the process of S225. That is, the range changing unit 350 narrows the MAC address range of the next device name.

このように、本例の範囲変更部350は、MACアドレスの範囲を後半16bitの幅とする前提として、互いに異なる機器名のMACアドレス範囲が重なり合いそうな場合に、MACアドレス範囲の幅を狭めて、重なり合わないように調整している。なお、範囲変更部350は、互いに異なる機器名のMACアドレス範囲が重なり合いそうな場合に、アドレス範囲を移動させて、重なり合わないようにしてもよい。 As described above, the range changing unit 350 of this example narrows the width of the MAC address range when the MAC address ranges of different device names are likely to overlap on the premise that the range of MAC addresses is the latter half of 16 bits. , are adjusted so that they do not overlap. Note that when the MAC address ranges of different device names are likely to overlap, the range changing unit 350 may move the address ranges so that they do not overlap.

次に、種々の場面における処理例を説明する。
図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 device identification unit 330 uses the DHCP packet fingerprint or the like. , a new device 9 is specified. The device identification device 2 uses the second device identification unit 330 to guess that the device name is “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-0001", the device identification device 2 updates the device list and guess dictionary accordingly.
Thus, in this example, the second device identification unit 330 with a relatively heavy processing load operates only when the first device identification unit 320 cannot guess.

以上説明したように、本実施形態の機器識別システム1によれば、推測辞書によって機器9の機器名を推測するため、管理するユーザの工数を削減することができる。
また、本例では、MACアドレスの比較のみで機器名を推測するため、機器名推測の処理負荷を軽くすることができる。
また、本例では、ユーザに入力操作に応じて、推測辞書が随時更新されていくため、メーカ独自仕様の機器9であっても、高い推測精度が期待できる。特に、OUIに着目しているため、メーカそれぞれの特徴に配慮して、機器名を推測することができる。
As described above, according to the device identification system 1 of the present embodiment, since the device name of the device 9 is guessed by the guess dictionary, the man-hours of the user managing can be reduced.
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 SYMBOLS 1... Equipment identification system 2... Equipment identification device 3... Equipment identification program 372... Guess dictionary database

Claims (10)

MACアドレスの範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書格納部と、
新たな機器から送出されたパケットの送信元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.
前記登録部により前記推定辞書格納部にMACアドレスの範囲が新規登録された場合に、新規登録されたMACアドレスの範囲に応じて、他の機器名又は機種名に関連付けられているMACアドレスの範囲を変更する範囲変更部
をさらに有する請求項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 .
前記比較部は、MACアドレスの上位ビットのみを比較する
請求項3に記載の機器推定装置。
The device estimation device according to claim 3, wherein the comparison unit compares only upper bits of MAC addresses.
前記登録部は、前記比較部により前記推測辞書格納部に登録されたMACアドレスの範囲のいずれにも一致しないと判定された場合に、ユーザの入力に基づく新規登録を行う
請求項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.
前記登録部により同じOUIの範囲内で同一機器名又は同一機種名が登録された場合に、この機器名又はこの機種名に関連付けて前記推測辞書格納部に登録されているMACアドレスの範囲を拡張する範囲拡張部
をさらに有する請求項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:
前記範囲変更部は、前記登録部により、同じOUIの範囲内で、互いに異なる機器名又は機種名に関連付けてMACアドレスが登録された場合に、前記推測辞書格納部に登録されていた他の機器名又は他の機種名のMACアドレスの範囲を縮小又は移動させる
請求項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.
前記比較部により、前記推測辞書格納部に登録されているMACアドレスの範囲のいずれとも一致しないと判定された場合に、MACアドレス以外のパケット内情報に基づいて、機器名又は機種名を特定する第2の機器特定部
をさらに有する請求項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アドレスの範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書データベースを参照して、新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書データベースに登録されたMACアドレスの範囲とを比較する比較ステップと、
前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、
ユーザの入力に応じて、前記推測辞書データベースに、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アドレスの範囲と、機器名又は機種名とが互いに関連付けて登録された推測辞書データベースを参照して、新たな機器から送出されたパケットの送信元MACアドレスと、前記推測辞書データベースに登録されたMACアドレスの範囲とを比較する比較ステップと、
前記比較ステップによる比較結果に基づいて、前記新たな機器の機器名又は機種名を特定する機器特定ステップと、
ユーザの入力に応じて、前記推測辞書データベースに、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.
JP2021213886A 2021-12-28 2021-12-28 Apparatus estimation device, apparatus estimation method, and program Pending JP2023097657A (en)

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)

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