JP2017212688A - Program, extraction method of identification information of device, and communication apparatus - Google Patents
Program, extraction method of identification information of device, and communication apparatus Download PDFInfo
- Publication number
- JP2017212688A JP2017212688A JP2016106426A JP2016106426A JP2017212688A JP 2017212688 A JP2017212688 A JP 2017212688A JP 2016106426 A JP2016106426 A JP 2016106426A JP 2016106426 A JP2016106426 A JP 2016106426A JP 2017212688 A JP2017212688 A JP 2017212688A
- Authority
- JP
- Japan
- Prior art keywords
- order
- identification information
- devices
- transmission
- acquisition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、プログラム,機器の識別情報の抽出方法,及び通信装置に関する。 The present invention relates to a program, a device identification information extraction method, and a communication apparatus.
近年、IoT(Internet of Things)やM2M(Machine to Machine)が注目を集めており、様々な業界や現場でセンサネットワーク化が始まろうとしている。例えば、介護の現場にセンサを導入し、被介護者の状態を把握することが考えられる。或いは、家庭にセンサやコントローラを導入し、HEMS(Home Energy Management System:家庭用(住
宅用)エネルギー管理システム)を構築することが考えられる。或いは、街や河川などにセンサを導入し、防犯・防災を図ることが考えられる。
In recent years, IoT (Internet of Things) and M2M (Machine to Machine) have attracted attention, and sensor networks are being started in various industries and fields. For example, it is conceivable to introduce a sensor at a nursing care site and grasp the state of the care recipient. Alternatively, it is conceivable to construct a HEMS (Home Energy Management System) by introducing sensors and controllers into the home. Alternatively, it is conceivable to introduce a sensor in a city or river to prevent crime and disaster prevention.
ネットワークの構築作業において、多様な通信機器の接続が簡単・安全に行われるように、或る通信機器への接続が許可される通信機器を限定したい場合がある。或いは、或る通信機器への多数の機器の収容作業を、一度に実施する場合もある。 In network construction work, there is a case where it is desired to limit communication devices that are permitted to be connected to a certain communication device so that various communication devices can be easily and safely connected. Alternatively, there is a case where a large number of devices are accommodated in a certain communication device at a time.
或る通信機器への接続が許可される通信機器のMAC(Media Access Control)アドレスのリストを作成しようとする場合、従来では、以下の方法が考えられる。例えば、通信機器に貼付されたラベルに記載された通信機器のMACアドレスをリストに手入力することが考えられる。或いは、端末を用いて通信機器にログインし、通信機器に対するコマンド入力で応答されたMACアドレスをリストに転記することが考えられる。或いは、通信機器からパケットを出力させて、パケットの送信元アドレスとして設定されたMACアドレスを取得する方法も考えられる。 In order to create a list of MAC (Media Access Control) addresses of communication devices that are permitted to be connected to a certain communication device, conventionally, the following method can be considered. For example, it is conceivable that the MAC address of the communication device described in the label attached to the communication device is manually entered in the list. Alternatively, it is conceivable to log in to the communication device using a terminal and transfer the MAC address responded by command input to the communication device to the list. Alternatively, a method of outputting a packet from a communication device and acquiring a MAC address set as a packet source address is also conceivable.
しかしながら、上記したいずれの方法も、手間がかかり煩雑であった。本発明は、対象外の機器の識別情報が混入した複数の識別情報から対象の機器の識別情報を抽出可能なプログラム,抽出方法,及び通信装置を提供することを目的とする。 However, any of the above methods is troublesome and cumbersome. It is an object of the present invention to provide a program, an extraction method, and a communication apparatus that can extract identification information of a target device from a plurality of identification information in which identification information of non-target devices is mixed.
一つの態様では、プログラムは、複数の機器の数と、複数の機器から所定の送信順で送信される各機器の識別情報を受信装置で受信する場合に取得された機器の識別情報と機器の識別情報の取得順との対応関係を記憶する処理と、対応関係における識別情報数が前記複数の機器数より多い場合に、送信順のうち少なくとも2つの順位にそれぞれ対応する機器の識別情報を取得し、対応関係と取得された識別情報とを用いて、送信順の順位と取得順の順位との対応付けを行い、送信順の順位と対応づかない識別情報を除去するとともに、送信順の順位と対応づく識別情報を複数の機器のいずれかの識別情報として抽出する処理とをコンピュータに実行させる。 In one aspect, the program stores the device identification information and the device identification information acquired when the reception device receives the identification information of each device transmitted from the plurality of devices in a predetermined transmission order. Processing for storing the correspondence relationship with the acquisition order of identification information, and when the number of identification information in the correspondence relationship is greater than the number of the plurality of devices, identification information of devices corresponding to at least two ranks in the transmission order is acquired. Then, using the correspondence relationship and the acquired identification information, the order of the transmission order is associated with the order of the acquisition order, and the identification information that does not correspond to the order of the transmission order is removed, and the order of the transmission order The computer is caused to execute a process of extracting the identification information corresponding to each other as identification information of a plurality of devices.
一側面では、複数の識別情報から対象の機器の識別情報を抽出することができる。 In one aspect, identification information of a target device can be extracted from a plurality of identification information.
以下、図面を参照してプログラム,抽出方法,及び通信装置の実施形態について説明する。実施形態の構成は例示であり、実施形態の構成に限定されない。 Hereinafter, embodiments of a program, an extraction method, and a communication device will be described with reference to the drawings. The configuration of the embodiment is an exemplification, and is not limited to the configuration of the embodiment.
<実施形態1>
或るネットワーク装置(通信装置)への接続が許可される(ネットワーク装置への収容対象の)通信機器のMACアドレスをパケットから収集することを考える。収集方法の一例として、WPS(Wi-Fi Protected Setup)のPBC方式(Push Button Configuration,
プッシュボタン式とも呼ばれる)を用いることが考えられる。この場合、通信機器(以下
単に「機器」と表記する場合もある)に備えられたプッシュボタンを押すことで、機器からパケットを含んだ無線信号が送信され、当該パケットに含まれる機器のMACアドレスが収集される。
<
Consider collecting from a packet the MAC addresses of communication devices that are allowed to connect to a network device (communication device) (accommodated in the network device). As an example of the collection method, WPS (Wi-Fi Protected Setup) PBC method (Push Button Configuration,
It is conceivable to use a push button type). In this case, a radio signal including a packet is transmitted from the device by pressing a push button provided in the communication device (hereinafter also simply referred to as “device”), and the MAC address of the device included in the packet is transmitted. Are collected.
収容対象の機器が複数ある場合、所定の順序(機器の操作順)で、各機器のプッシュボタンが押され、各機器からの送信されるパケットを受信することで、MACアドレス収集
が行われる。このような、各機器から送信される無線信号(パケット)を受信する場合に、収容対象外の無線機器からの無線信号が受信され、当該無線機器のMACアドレスが収集結果に混入する場合がある。以下、MACアドレスの収集結果に混入した対象外の機器のMACアドレスを除去するとともに、対象の機器のMACアドレスを抽出し得る通信装置,機器の識別情報の抽出方法及びプログラムについて説明する。
When there are a plurality of devices to be accommodated, the MAC addresses are collected by pressing the push buttons of the devices in a predetermined order (device operation order) and receiving packets transmitted from the devices. When such wireless signals (packets) transmitted from each device are received, wireless signals from wireless devices that are not to be accommodated may be received, and the MAC address of the wireless device may be mixed into the collection result. . Hereinafter, a communication apparatus that can remove the MAC address of a non-target device mixed in the MAC address collection result and can extract the MAC address of the target device, a method of extracting identification information of the device, and a program will be described.
<リスト作成システムの構成>
図1は、実施形態1に係るリスト作成システムの構成例を示し、図2は、ネットワーク装置のハードウェア構成例を示す図である。
<Configuration of list creation system>
FIG. 1 is a diagram illustrating a configuration example of a list creation system according to the first embodiment, and FIG. 2 is a diagram illustrating a hardware configuration example of a network device.
図1において、システムは、ネットワーク装置(通信装置)1と、ネットワーク装置1と接続可能な通信機器3とを含む。ネットワーク装置1は、例えば、無線LAN(IEEE 802.11シリーズ)のアクセスポイント(AP)やコントローラである。但し、後述するように、APやコントローラ以外であっても良い。例えば、ネットワーク装置1は、HUB,スイッチ(レイヤ2スイッチ,レイヤ3スイッチなど),ルータなどの集線装置であっても良く、サーバなどの端末装置であっても良い。ネットワーク装置1は、「通信装置」の一例である。
In FIG. 1, the system includes a network device (communication device) 1 and a
ネットワーク装置1は、無線通信部14Aと、通信インタフェース(通信IF)15と、許可リスト30(単にリスト30ともいう)と、通信可否判定部31とを含む。無線通信部14Aは、受信部141及び送信部142を含み、機器3との通信によって情報やデータを含むパケットを送受信する。
The
通信可否判定部31は、許可リスト30を参照し、パケットの送信元MACアドレスがネットワーク装置1への接続を許可された(許可リスト30に登録された)機器3(機器3Cと表記する)のMACアドレスか否かの判定を行う。送信元が機器3C以外の機器である場合、パケットは破棄される。通信可否判定部31は、「通信装置で受信された送信データの中継可否を前記抽出部によって抽出された機器の識別情報を用いて判定する判定部」の一例である。
The communication
通信IF15は、例えばLANのようなネットワーク(NW)2と接続されており、NW2との間で送受信されるパケットを扱う。NW2には、例えば、機器3Cとの通信相手が接続される(図2参照)。通信IF15は、機器3Cから通信相手向けのパケット送信や、通信相手から機器3C向けのパケット受信を行う。
The communication IF 15 is connected to a network (NW) 2 such as a LAN, for example, and handles packets transmitted / received to / from the
このように、実施形態1に係るネットワーク装置1は、ネットワーク装置1への接続が許可された機器3Cの識別情報(例えば、MACアドレス(物理アドレスの一例))がリスト30に登録(記憶)される。そして、リスト30に登録された機器3Cのパケット転送が許容され、機器3C以外のパケット転送は遮断される。
As described above, in the
ネットワーク装置1は、リスト30を生成する許可リスト生成部20を含む。ネットワーク装置1は、例えば、プッシュボタン式のWPS機能を有している。
The
ネットワーク装置1への収容対象の機器3(「機器3A」と表記する)は、プッシュボタン3aを有している。プッシュボタン3aが押されると、機器3AのMACアドレスを含んだパケットが機器3Aから送信される。受信部141は、機器3Aからのパケットを受信し、パケットを許可リスト生成部20に送る。
A device 3 (denoted as “
許可リスト生成部20は、受信部141で受信される、機器3AからのMACアドレスを収集できる。但し、このようなMACアドレスの収集時に、対象外の機器3(「機器3
B」と表記する)からの電波が受信部141で受信され、機器3BのMACアドレスも収集される(混入する)場合がある。混入を目的として、機器3Bが意図的にネットワーク装置1の無線通信エリアに配置される場合もあり得る。許可リスト生成部20は、このような混入したMACアドレスを除去する。
The
The radio wave from (B) is received by the receiving
図1において、許可リスト生成部20は、操作部21と、収集部22と、制御部23と、抽出部24と、出力部25とを含む。操作部21は、機器3AからMACアドレスを収集するための操作に係るユーザインタフェース(UI)を作業者5に提供する。
In FIG. 1, the permission
収集部22は、受信部141で受信されたパケットのパケットキャプチャを行い、パケットに含まれる送信元MACアドレスを収集する。収集されたMACアドレスは抽出部24に供給される。
The
抽出部24は、MACアドレスの取得順と各取得順に対応するMACアドレスとの対応関係を示す対応表をメモリ上に生成する。受信部141は、機器3Aだけでなく、対象外(非収容対象)の機器3Bからの無線信号(パケット)も受信し得るので、機器3AのMACアドレス収集において、機器3BのMACアドレスが混入することがある。
The
抽出部24は、後述する方法で、収集部22で収集されたMACアドレス群から機器3AのMACアドレスを抽出する(機器3BのMACアドレスを除去する)。出力部25は、抽出された機器3AのMACアドレスを出力する。出力されたMACアドレスは、リスト30に登録(記憶)される。制御部23は、操作部21,収集部22,抽出部24,及び出力部25の動作を制御する。
The
<ネットワーク装置のハードウェア構成>
ネットワーク装置1(通信装置)は、例えば、図2に示す構成要素を含む、通信機能を備えた情報処理装置(コンピュータ)である。図2に示す例では、ネットワーク装置1は、バスを介して相互に接続された、Central Processing Unit(CPU)11と、主記憶
装置12と、補助記憶装置13と、無線通信回路14と、通信インタフェース(通信IF)15とを含む。無線通信回路14は、図示しないアンテナを含む。通信IF15は、NW2と接続される。ネットワーク装置1は、さらに、入力装置16と、出力装置17とを含む。
<Hardware configuration of network device>
The network device 1 (communication device) is, for example, an information processing device (computer) having a communication function including the components shown in FIG. In the example illustrated in FIG. 2, the
主記憶装置12は、プログラムの展開領域,CPU11の作業領域,データやプログラムの記憶領域又はバッファ領域として使用される。主記憶装置12は、例えばRandom Access Memory(RAM),或いはRAMとRead Only Memory(ROM)との組み合わせで形成される。
The
補助記憶装置13は、データやプログラムの記憶領域として使用される。補助記憶装置13は、例えば、ハードディスクドライブ(HDD),Solid State Drive(SSD),
フラッシュメモリ,Electrically Erasable Programmable Read-Only Memory(EEPR
OM)などの不揮発性記憶媒体で形成される。補助記憶装置13には、ディスク型記憶媒体や、USBメモリなど、可搬性を有する記録媒体を含むことができる。主記憶装置12及び補助記憶装置13のそれぞれは、「記憶装置」,「記憶媒体」,「メモリ」,「記憶部」の一例である。以下の説明において、主記憶装置12及び補助記憶装置13の少なくとも一方を際して「メモリ」と表記することもある。
The
Flash memory, Electrically Erasable Programmable Read-Only Memory (EEPR)
OM) or the like. The
無線通信回路14は、ベースバンド回路(BB回路)と、Radio Frequency(RF)回
路とを含む。BB回路は、データ(ディジタル)信号とベースバンド信号(BB信号)との間の変換処理を行う。RF回路は、BB信号と無線信号との間の変換処理を行う。無線
信号はアンテナ(図示せず)によって送受信される。
The
通信IF15は、パケットの送受信処理等を行う通信インタフェース回路である。通信IFとして、例えば、LANカード或いはネットワークインタフェースカードと呼ばれるネットワークカードを適用できる。 The communication IF 15 is a communication interface circuit that performs packet transmission / reception processing and the like. As the communication IF, for example, a network card called a LAN card or a network interface card can be applied.
入力装置16は、データや情報の入力に使用される。入力装置16は、例えば、キー,ボタン,ポインティングデバイス(マウスなど),タッチパネルなどである。出力装置17は、データや情報の出力に使用される。出力装置17は、例えば、ディスプレイやプリンタである。入力装置16は、マイクロフォンのような音声入力装置を含む。また、出力装置17は、スピーカやランプのような、音や光の出力装置も含む。
The
CPU11は、主記憶装置12及び補助記憶装置13の少なくとも一方に記憶されたプログラムを主記憶装置12にロードして実行する。CPU11がプログラムを実行することによって、ネットワーク装置1としての動作乃至処理が行われる。CPUは、「制御装置」,「制御部」,「コントローラ」,「プロセッサ」の一例である。
The
CPUは、MPU(Microprocessor)、プロセッサとも呼ばれる。CPUは、単一のプロセッサに限定される訳ではなく、マルチプロセッサ構成であってもよい。また、単一のソケットで接続される単一のCPUがマルチコア構成を有していても良い。CPUで行われる処理の少なくとも一部は、CPU以外のプロセッサ、例えば、Digital Signal Processor(DSP)、Graphics Processing Unit(GPU)、数値演算プロセッサ、ベクトルプロセッサ、画像処理プロセッサ等の専用プロセッサで行われても良い。 The CPU is also called an MPU (Microprocessor) or processor. The CPU is not limited to a single processor, and may have a multiprocessor configuration. A single CPU connected by a single socket may have a multi-core configuration. At least a part of the processing performed by the CPU is performed by a processor other than the CPU, for example, a dedicated processor such as a digital signal processor (DSP), a graphics processing unit (GPU), a numerical operation processor, a vector processor, or an image processing processor. Also good.
また、CPUで行われる処理の少なくとも一部は、集積回路(IC)、その他のディジタル回路で行われても良い。また、集積回路やディジタル回路はアナログ回路を含んでいても良い。集積回路は、LSI,Application Specific Integrated Circuit(ASIC),
プログラマブルロジックデバイス(PLD)を含む。PLDは、例えば、Field-Programmable Gate Array(FPGA)を含む。CPUで行われる処理の少なくとも一部は、プロセッサ
と集積回路との組み合わせにより実行されても良い。組み合わせは、例えば、マイクロコントローラ(MCU),SoC(System-on-a-chip),システムLSI,チップセットなどと呼ばれる。
Further, at least part of the processing performed by the CPU may be performed by an integrated circuit (IC) or other digital circuits. Further, the integrated circuit and the digital circuit may include an analog circuit. Integrated circuits are LSI, Application Specific Integrated Circuit (ASIC),
Includes a programmable logic device (PLD). The PLD includes, for example, a field-programmable gate array (FPGA). At least a part of the processing performed by the CPU may be executed by a combination of a processor and an integrated circuit. The combination is called, for example, a microcontroller (MCU), a SoC (System-on-a-chip), a system LSI, a chip set, or the like.
無線通信回路14は、無線通信部14Aとして動作する。図1に示す例では、機器3Aとネットワーク装置1とが無線通信を行う構成を例示しているが、機器3Aとネットワーク装置1とは有線ネットワークで接続されても良い。この場合、無線通信回路14の代わりの通信IFがネットワーク装置1に設けられる。
The
CPU11は、プログラムの実行によって、許可リスト生成部20及び通信可否判定部31として動作する。許可リスト30は、主記憶装置12及び補助記憶装置13の少なくとも一方に記憶される。入力装置16及び出力装置17は、CPU11の制御下で、操作部21として作業者5にUIを提供するために使用される。
The
<ユーザインタフェース(UI)の例>
図3,図4,図5,及び図6は、作業者に提供されるUIの例を示す図である。図3は、出力装置17のディスプレイに表示される操作画面の表示例を示す。図3に示す操作画面は、上段の左側に設けられた第1欄211と、第1欄の右側に設けられた第2欄212と、第1欄211及び第2欄212の下側に設けられた第3欄213とを含む。
<Example of user interface (UI)>
3, 4, 5, and 6 are diagrams illustrating examples of UI provided to the worker. FIG. 3 shows a display example of the operation screen displayed on the display of the
第1欄211は、操作工程が時系列で並べられたインデックスが表示され、インデック
スが指定(クリックなど)されると、インデックスに応じた詳細画面が第2欄212に表示される。第3欄213は、各種処理の経過状況が示される欄である。例えば、ネットワーク装置1への収容対象の機器数(収容対象数),特定済みのMACアドレスの数,残り数,混入したMACアドレスの総数,排除(除外)済みの数,残り数が表示される。
In the
図4は、収容対象機器数を入力する画面の例を示す。画面212aは、例えば、第1欄211に表示された操作工程「収容数入力」のインデックスが指定(クリックなど)されることによって、第2欄212に表示される。
FIG. 4 shows an example of a screen for inputting the number of accommodation target devices. The
画面212aには、操作指示のメッセージである、「収容対象機器数を入力して下さい」との文字列と、収容対象機器数の入力欄と、「決定」ボタンとが表示される。文字列に従って入力欄に機器数を入力し、「決定」ボタンを押すことで、作業者5は、収容対象機器数を生成部20に入力することができる。
On the
図5は、初回収集時の画面の例を示す。画面212bは、例えば、第1欄211に表示された操作工程「初回収集」のインデックスが指定(クリックなど)されることによって、第2欄212に表示される。
FIG. 5 shows an example of a screen at the time of initial collection. The
画面212bには、操作指示のメッセージである、「初回のMAC収集を行います。開始を押して・・・・」との文字列と、「開始」ボタンと、「終了」ボタンとが表示される。作業者5は、収容対象の複数の機器3Aについて、任意の操作順(ボタン3aを押す順)を決定しておき、以下の操作を行う。
On the
すなわち、作業者5は、「開始」ボタンを押した後、機器3Aのボタン3aを上記で決定した操作順に押す。続いて、「終了」ボタンを押す。「開始」ボタンの押し下げによって収集部22によるパケットキャプチャが開始され、「終了」ボタンの押し下げによってパケットキャプチャが終了する。これによって、ボタン3aが押された機器3AからのMACアドレスが収集部22で収集される。このとき、収集結果数>収容対象機器数であれば、再収集工程に移り図6を表示する。同数であれば、収集結果を出力する工程に移る。
That is, the
図6は、再収集時の画面の例を示す。画面212cには、操作指示のメッセージである、「再収集を行います。開始を押して・・・・」との文字列と、「開始」ボタンと、「終了」ボタンとが表示される。メッセージには、ボタン3aを押す(MACアドレスを再収集する)機器の指定情報が表示される。指定情報は、機器の初回操作時の操作順を特定する(表示する)ことで行われる。
FIG. 6 shows an example of a screen during recollection. On the
作業者5は、「開始」ボタンを押した後、指定された機器3Aのボタン3aを押す。その後、「終了」ボタンを押す。これによって、ボタン3aが押された機器3AからのMACアドレスが収集部22で再収集される。操作順と結果順との対応付けが終了する(混入数が0となる)まで、再収集の操作を促す画面212cの表示が繰り返される。
The
なお、画面212b,212cにおける「開始」ボタンや「終了」ボタンを省略してもよい。この場合、例えば、画面212bや212cの表示とともにパケットキャプチャが開始され、パケットキャプチャの終了がタイマの満了によって管理されるようにしても良い。また、作業者5の誤操作に対応できるように、キャンセルボタンや送信ボタンのような他のボタンが設けられていても良い。
The “start” button and “end” button on the
なお、上記したUIのデータ(画面データ)は、メモリに記憶され、CPU11は、入力画面210の描画処理を行う。CPU11は、描画したデータを遠隔のコンピュータ(情報処理装置)へ送信することもできる。
The UI data (screen data) described above is stored in the memory, and the
収容対象の全てのMACアドレスが抽出された場合に、これらの抽出されたMACアドレスは、リスト30に登録(記憶)される。この結果、登録されたMACアドレスを有する機器3は、機器3Cとして扱われ、機器3CのMACアドレスを送信元とするパケットは、通信可否判定部31の判定において遮断(フィルタリング)されない。
When all the MAC addresses to be accommodated are extracted, these extracted MAC addresses are registered (stored) in the
<リスト作成方法の例(動作例)>
一例として、図7〜図13を用い、ネットワーク装置1への接続が許可される(収容対象の)9台の機器3Aのリストを生成する場合の基本動作例について説明する。収容対象の9台の機器3Aについて、作業者5が、任意の操作順(「収集操作順」と称する)を決定する。作業者5は、操作部21からのUI(入力画面121a,121b)に従って、収容対象機器数の入力及び初回のMACアドレス収集を行う。これによって、収集操作順に従って各機器3Aが操作され、各機器3Aから送信されるパケットの送信元アドレスが機器3AのMACアドレスとして収集される。
<Example of list creation method (example of operation)>
As an example, a basic operation example in the case of generating a list of nine
図7の上段は、MACアドレスの初回収集直後の状態を示す表である。対象の各機器3Aに対する初回の操作、即ち全9台の操作に対して、MACアドレスが12台分収集されている。図7の上段に示す例では、MACアドレス“X”,“A”,“B”・・・の順で受信(取得)され、各MACアドレスに受信順による順位が付与されている。このような、収集操作順に従った各機器の操作の間に収集されるMACアドレスの受信順序を「収集結果順」と呼ぶ。収集操作順は、「送信順」の一例であり、収集結果順は、「取得順」の一例である。
The upper part of FIG. 7 is a table showing a state immediately after the initial collection of MAC addresses. Twelve MAC addresses are collected for the first operation on each
収容対象機器数の9台に対して受信されたMACアドレス数が12であるため、収集結果数−収容対象数から、収容対象外のMACアドレスが3台分混入している“混在”と判定される。しかし、収集結果順の各順位が、収集操作順の各順位とどのように対応するかは不明である。このため、詳細検査として操作順と収集結果順との対応付けが行われる。 Since the number of MAC addresses received for nine of the accommodation target devices is 12, it is determined from the number of collection results−the number of accommodation targets that the MAC addresses that are not to be contained are mixed into “mixed”. Is done. However, it is unclear how each rank in the collection result order corresponds to each rank in the collection operation order. For this reason, associating the operation order with the collection result order is performed as a detailed inspection.
図8は、対応付けの説明図である。図8では、収集結果順“1”においてMACアドレス“X”が取得され、収集結果順“2”においてMACアドレス“A”が得られている。検査では、これらの情報が既知であることを前提に、収容対象の機器の操作順を指定して再収集を行い、再収集によって得られたMACアドレスを用いて収集操作順に対する収集結果順の対応付けを行う。以下の説明において、収集結果順を「結果順」と表記し、収集操作順を「操作順」と表記することもある。MACアドレスは、「物理アドレス」、「機器の識別情報」の一例であり、機器を一意に識別できれば、物理アドレス以外のアドレスや情報などを機器の識別情報として適用可能である。 FIG. 8 is an explanatory diagram of association. In FIG. 8, the MAC address “X” is obtained in the collection result order “1”, and the MAC address “A” is obtained in the collection result order “2”. In the inspection, assuming that these pieces of information are known, re-collection is performed by specifying the operation order of the equipment to be accommodated, and using the MAC address obtained by the re-collection, the collection result order relative to the collection operation order Perform the association. In the following description, the collection result order may be referred to as “result order”, and the collection operation order may be referred to as “operation order”. The MAC address is an example of “physical address” and “device identification information”. If the device can be uniquely identified, an address or information other than the physical address can be applied as the device identification information.
図8の例では、操作順“1”を指定し、操作順“1”に対応する機器を操作してMACアドレスを再取得した場合を仮定する。再取得の結果としてMACアドレス“A”が得られた場合、操作順“1”は結果順“2”に対応づけられる。 In the example of FIG. 8, it is assumed that the operation order “1” is designated and the device corresponding to the operation order “1” is operated to reacquire the MAC address. When the MAC address “A” is obtained as a result of reacquisition, the operation order “1” is associated with the result order “2”.
図7の下段は、図7の上段に示した表に対する検査(対応付け)が最初の操作順“1”と最後の操作順“9”とについて行われた結果例を示す。図7の下段に示す例では、最初の操作順“1”と結果順“2”とが対応づけられる一方、最後の操作順“9”が結果順“11”と対応づけられている。 The lower part of FIG. 7 shows a result example in which the inspection (association) for the table shown in the upper part of FIG. 7 is performed for the first operation order “1” and the last operation order “9”. In the example shown in the lower part of FIG. 7, the first operation order “1” is associated with the result order “2”, while the last operation order “9” is associated with the result order “11”.
これより、対応するMACアドレス“A”及び“I”は、収容対象の機器3AのMACアドレスとして、MACアドレスの収集結果から抽出される。これに対し、結果順“1”に対応するMACアドレス“X”及び結果順“12”に対応するMACアドレス“Z”は、操作開始前と操作終了後に収集されたものであることから、収容対象の機器3AのMA
Cアドレスから除外される。残りの結果順“3”〜“10”が検査範囲となる。
Accordingly, the corresponding MAC addresses “A” and “I” are extracted from the MAC address collection result as the MAC address of the
Excluded from C address. The remaining order of results “3” to “10” is the inspection range.
以降の処理を説明する前に、まず図9を用いて、二つの操作順と結果順とのペアの間(検査範囲)についての検査方法の原理を説明する。検査では、対象外のMACアドレスの混入の仕方(混入の態様)に応じた処理が行われる。混入の仕方は、“結果順差−操作順差=混入数”の式によって得られる“混入数”と、範囲内台数(検査範囲の機器の台数(MACアドレス数))とを用いて特定することができる。 Before explaining the subsequent processing, first, the principle of an inspection method between a pair of two operation orders and a result order (inspection range) will be described with reference to FIG. In the inspection, processing is performed according to a method (mixing mode) of non-target MAC address mixing. The method of mixing can be specified using the “number of mixing” obtained by the formula “result order difference−operation order difference = number of mixing” and the number in the range (the number of devices in the inspection range (number of MAC addresses)). it can.
図9(A)は、検査範囲に混入したMACアドレスがゼロと判定される場合を示す。図9(A)の例では、結果順“1”と操作順“1”のペアと、結果順“4”と操作順“4”のペアとの間にある結果順“2”,“3”に対応するMACアドレス“B”,“C”が検査対象である。操作順“1”と操作順“4”との間に存するMACアドレス数は2であり、結果順“1”と結果順“4”との間に存するMACアドレス数も2である。この場合、MACアドレス“B”は、操作順“2”の機器3AからのMACアドレスと推定できる。MACアドレス“C”は、操作順“3”の機器からのMACアドレスと推定できる。
FIG. 9A shows a case where the MAC address mixed in the inspection range is determined to be zero. In the example of FIG. 9A, the result order “2”, “3” between the result order “1” and operation order “1” pair and the result order “4” and operation order “4” pair. MAC addresses “B” and “C” corresponding to “” are inspection targets. The number of MAC addresses existing between the operation order “1” and the operation order “4” is 2, and the number of MAC addresses existing between the result order “1” and the result order “4” is also 2. In this case, the MAC address “B” can be estimated as the MAC address from the
図9(A)のケース(第1のケース)では、操作順と結果順とが対応付いた第1ペアと第2ペアは、操作順は連続しておらず、両ペア間のMACアドレス数は、結果順でも操作順でも同数の2である。この場合には、第1のペアの順位と第2のペアの順位との間の結果順に対応する各MACアドレスは、収容対象のMACアドレスとして、一括で抽出される。すなわち、第1ペアと第2ペアとの間に収容対象外のMACアドレスが混入していない(混入ゼロ)と判定される。 In the case of FIG. 9A (first case), the first and second pairs in which the operation order and the result order correspond to each other, the operation order is not continuous, and the number of MAC addresses between the pairs. Are the same number of 2 in both the order of results and the order of operations. In this case, each MAC address corresponding to the order of results between the first pair order and the second pair order is extracted as a MAC address to be accommodated. That is, it is determined that a MAC address that is not an accommodation target is not mixed between the first pair and the second pair (zero mixing).
このように、実施形態1では、複数の機器3Aのうちの2つの機器から取得した識別情報と、2つの機器の操作順(送信順)とを用いて当該2つの機器に対応する結果順(取得順)の順位を求める。この場合に、2つの機器の操作順(送信順)における順位が連続せず、且つ求めた取得順の順位の間にある順位の数が2つの機器の送信順における順位の間の数と同じである場合がある。この場合に、求めた取得順の順位の間にある各順位と対応する識別情報を抽出する処理が行われる。
As described above, in the first embodiment, the order of results corresponding to the two devices using the identification information acquired from the two devices of the plurality of
上記した第1のケースにおける混入ゼロの判定は、“結果順差−操作順差=混入数”の計算式を用いて行うことができる。すなわち、混入数=0のとき、検査範囲の各MACアドレスは収容対象の機器3Aのアドレスと判定される。図9(A)の例では、混入数=(4−1)−(4−1)=0となる。
The determination of zero contamination in the first case described above can be performed using a calculation formula of “result order difference−operation order difference = number of mixing”. That is, when the number of mixture = 0, each MAC address in the inspection range is determined as the address of the
図9(B)は、検査範囲にあるMACアドレスの全てが混入したMACアドレスであると判定される場合(第2のケース)を示す。図9(B)の例では、結果順及び操作順がともに“4”のペアが第1ペアであり、結果順“7”と操作順“5”とのペアが第2ペアである。第1ペアと第2ペアとの間に、2つの(結果順“5”,“6”に対応する)MACアドレス“Y”,“Z”がある。これらのMACアドレス“Y”,“Z”が検査範囲に属するMACアドレスである。 FIG. 9B shows a case (second case) in which it is determined that all MAC addresses in the inspection range are mixed MAC addresses. In the example of FIG. 9B, a pair whose result order and operation order are both “4” is the first pair, and a pair whose result order is “7” and operation order “5” is the second pair. There are two MAC addresses “Y” and “Z” (corresponding to the result order “5” and “6”) between the first pair and the second pair. These MAC addresses “Y” and “Z” are MAC addresses belonging to the inspection range.
第2のケースでは、第1ペアの操作順と第2ペアの操作順とが連続しているが、第1ペアの結果順と第2ペアの結果順とは連続していない。この場合、検査範囲にある全てのMACアドレスは、混入したMACアドレスと判定できる。 In the second case, the operation order of the first pair and the operation order of the second pair are continuous, but the result order of the first pair and the result order of the second pair are not continuous. In this case, all the MAC addresses in the inspection range can be determined as mixed MAC addresses.
第2のケースにおける判定は、上記した混入数及び範囲内台数を用いて行うことができる。すなわち、算出された混入数と範囲内台数(MACアドレス数)とが等しい場合に、検索範囲の各MACアドレスは混入した(非収容対象の)MACアドレスと判定される。図9(B)の例では、混入数=(7−4)−(5−4)=2であり、範囲内台数=2と等
しいので、各MACアドレスが非収容対象として除去される。
The determination in the second case can be performed using the above-described mixing number and the number in the range. That is, when the calculated number of mixing and the number in the range (the number of MAC addresses) are equal, each MAC address in the search range is determined as a mixed (non-accommodating target) MAC address. In the example of FIG. 9B, since the number of mixing = (7-4) − (5-4) = 2 and the number in the range = 2, each MAC address is removed as a non-accommodating target.
このように、実施形態1では、複数の機器3Aのうちの2つの機器から取得した識別情報を用いて、2つの機器に対応する取得順の順位を求めた場合がある。この場合に、2つの機器の送信順(操作順)における順位が連続し、且つ2つの機器に対応する取得順(結果順)の順位が連続しないとき、取得順の順位の間にある各順位と対応する識別情報が除去される。
As described above, in the first embodiment, the order of acquisition order corresponding to two devices may be obtained using identification information acquired from two devices of the plurality of
図9(C)は、検査範囲内に収容対象のMACアドレスと対象外のMACアドレスとが混在していると判定される場合(第3のケース)を示す。図9(C)の例では、結果順及び操作順がともに“1”の第1ペアと、結果順“7”で操作順“5”の第2ペアがある。この場合、結果順“2”〜“6”の範囲が検査範囲となり、範囲内におけるMACアドレス数(範囲内台数)は5である。混入数は、上記した計算式により以下となる。
混入数=結果順差−操作順差=(7−1)−(5−1)=2
FIG. 9C shows a case (third case) in which it is determined that the MAC addresses to be accommodated and the MAC addresses to be excluded are mixed within the inspection range. In the example of FIG. 9C, there are a first pair whose result order and operation order are both “1” and a second pair whose result order is “7” and operation order “5”. In this case, the range of results “2” to “6” is the inspection range, and the number of MAC addresses in the range (number in the range) is 5. The number of contaminations is as follows according to the above calculation formula.
Number of mixing = result order difference−operation order difference = (7-1) − (5-1) = 2
図9(C)は、混入数が0<混入数(2)<範囲内台数(5)となり混在と判定される、第3のケースの例である。 FIG. 9C shows an example of a third case in which the number of mixing is 0 <the number of mixing (2) <the number of devices in the range (5) and it is determined that the number is mixed.
混在と判定される場合、検査範囲内の検査(詳細検査)が行われ、2分探索が用いられる。なお、図9(A)〜(C)の例では、第1ペアないし第2ペアの操作順位と結果順位が同位である場合を例としているが、混入数が上記不等式を満たせばよく、後述するように、各ペアにおける結果順と操作順とが異なっていても良い。 When it is determined that they are mixed, an inspection within the inspection range (detailed inspection) is performed, and a binary search is used. In the example of FIGS. 9A to 9C, the operation order and the result order of the first pair or the second pair are the same. However, it is only necessary that the mixing number satisfies the above inequality. As described above, the order of results and the order of operations in each pair may be different.
このように、実施形態1では、複数の機器中の2つの機器から取得した識別情報を用いて2つの機器に対応する操作順(送信順)及び結果順(取得順)の順位を求める。この場合に、2つの機器に係る取得順の順位の順位差(結果順差)と、2つの機器に係る送信順の順位の順位差(操作順差)とを求める。結果順差からを減じた値が零でなく且つ前記取得順の順位の間にある数より小さい場合がある。この場合に、2つの機器の送信順の順位の間にある少なくとも1つの順位に対応する機器の識別情報の取得と、送信順での順位と取得順での順位との対応付けとが行われる。そして、2つの機器の送信順の順位に対応する取得順の順位の間にある各順位に対応する識別情報についての除去又は抽出を行う処理が行われる。 As described above, in the first embodiment, the order of operation order (transmission order) and result order (acquisition order) corresponding to two devices is obtained using identification information acquired from two devices among a plurality of devices. In this case, a difference in order of acquisition order (result order difference) for the two devices and a difference in order of transmission order (operation order difference) for the two devices are obtained. In some cases, the value obtained by subtracting from the result order difference is not zero and is smaller than the number between the ranks of the acquisition order. In this case, the identification information of the device corresponding to at least one rank between the ranks of the transmission order of the two devices and the correspondence between the rank in the transmission order and the rank in the acquisition order are performed. . And the process which performs the removal or extraction about the identification information corresponding to each order | rank between the order of the acquisition order corresponding to the order of the transmission order of two apparatuses is performed.
図10は、図7に対して行われた検査の様子を示した図である。図10に示した検査1回目における対応づけの結果では、操作順“1”と結果順“2”とが第1ペアをなし、操作順“9”と結果順“11”とが第2ペアをなしている。結果順“2”と結果順“11”との間にある結果順“3”〜“10”が検査範囲であり、範囲内台数は8である。また、混入数は、(11−2)−(9−1)=1であり、0<1<8であるので、検査範囲内に対象外のMACアドレスが混入していると判定される。したがって、検査範囲に対する詳細検査が実行される。 FIG. 10 is a diagram showing a state of the inspection performed on FIG. In the result of the association in the first examination shown in FIG. 10, the operation order “1” and the result order “2” form the first pair, and the operation order “9” and the result order “11” are the second pair. I am doing. The result order “3” to “10” between the result order “2” and the result order “11” is the inspection range, and the number in the range is eight. Moreover, since the number of mixing is (11-2)-(9-1) = 1 and 0 <1 <8, it is determined that a non-target MAC address is mixed in the inspection range. Therefore, a detailed inspection for the inspection range is performed.
図11は、詳細検査(検査2回目)の説明図である。詳細検査は2分探索を用いて行われる。詳細検査では、操作順(“1”〜“9”)の中央値“5”に対応する機器の操作が行われ、結果順との対応付けを行う。実施形態1では、中央値を切り上げにより得ているが、切り下げても良い。図11の例では、操作の結果、MACアドレス“E”が得られ、操作順“5”に結果順“7”が対応づけられ、MACアドレス“E”が収集結果から抽出される。この操作順“5”と結果順“7”とのペアを境にして、検査範囲が前半(左側)と後半(右側)とに分けられる。操作順“1”の機器3Aは、「第1の機器」の一例であり、操作順“9”の機器3Aは、「第2の機器」の一例である。操作順“5”の機器3Aは、「第3の機器」の一例である。操作順“1”は、「第1の順位」の一例であり、操作
順“9”は、「第2の順位」の一例であり、操作順“5”は、「第3の順位」の一例である。
FIG. 11 is an explanatory diagram of the detailed inspection (second inspection). Detailed inspection is performed using a binary search. In the detailed inspection, the device corresponding to the median “5” in the operation order (“1” to “9”) is operated, and is associated with the result order. In the first embodiment, the median value is obtained by rounding up, but it may be rounded down. In the example of FIG. 11, as a result of the operation, the MAC address “E” is obtained, the operation order “5” is associated with the result order “7”, and the MAC address “E” is extracted from the collection result. The inspection range is divided into the first half (left side) and the second half (right side) with the pair of the operation order “5” and the result order “7” as a boundary. The
図11の例では、操作順“1”と結果順“2”との第1ペアと操作順“5”と結果順“7”との第2ペアとの間(結果順“3”〜“6”)が、前半の検査範囲となる。一方、操作順“5”と結果順“7”との第1ペアと、操作順“9”と結果順“11”との第2ペアとの間(結果順“8”〜“10”)が、後半の検査範囲となる。 In the example of FIG. 11, between the first pair of operation order “1” and result order “2” and the second pair of operation order “5” and result order “7” (result order “3” to “3” 6 ") is the first half of the inspection range. On the other hand, between the first pair of the operation order “5” and the result order “7” and the second pair of the operation order “9” and the result order “11” (result order “8” to “10”). However, it becomes the inspection range of the second half.
図11の例では、前半の検査範囲は、第3のケース(混在と判定されるケース)に合致するので、再度の詳細検査の対象となる。一方、後半の検査範囲は、第1のケース(一括抽出のケース)に合致するので、後半の検査範囲にあるMACアドレス(E,F,G,H)は収容対象として収集結果から抽出される。 In the example of FIG. 11, the first half of the inspection range matches the third case (the case where it is determined to be mixed), so that it becomes the object of detailed inspection again. On the other hand, since the second half of the inspection range matches the first case (collective extraction case), the MAC addresses (E, F, G, H) in the second half of the inspection range are extracted from the collection result as accommodation targets. .
このように、実施形態1では、2つの機器の操作順(送信順)の順位である第1の順位(操作順“1”)と第1の順位より遅い第2の順位(操作順“9”)との間の中央値である第3の順位(操作順“5”)が求められる。第3の順位に対応する機器3Aから識別情報(MACアドレス)が取得され、第3の順位と取得順との対応付けが行われる。そして、第1の順位と第3の順位とのそれぞれに対応する取得順の順位(結果順“2”,“5”)の間にある各順位(結果順“3”〜“6”)に対応する識別情報を検査対象とする検査が行われる。また、第3の順位(操作順“5”)と第2の順位(操作順“9”)とのそれぞれに対応する取得順の順位(結果順“7”,“11”)の間にある各順位(結果順“8”〜“10”)に対応するMACアドレスを検査対象とする検査が行われる。
As described above, in the first embodiment, the first order (operation order “1”), which is the order of the operation order (transmission order) of the two devices, and the second order (operation order “9” later than the first order). The third rank (operation order “5”) which is the median value between “ Identification information (MAC address) is acquired from the
図12は、3回目の検査の説明図である。前述2回目の検査で要詳細検査となった図11の前半の検査範囲(結果順“3”〜“6”)に関して、検査範囲の画定に用いた操作順(“1”〜“5”)の中央値“3”に対応する機器を操作する。操作の結果、MACアドレス“C”が得られ、操作順“3”が結果順“5”に対応づけられるとともに、MACアドレス“C”が収集結果から抽出される。そして、操作順“3”と結果順“5”のペアを境に、検査範囲が前半と後半とに分けられる。前半の検査範囲及び後半の検査範囲のそれぞれに対し、混入の仕方に基づくMACアドレスの除去又は抽出が行われる。 FIG. 12 is an explanatory diagram of the third inspection. With respect to the inspection range in the first half of FIG. 11 (result order “3” to “6”), which is a detailed inspection required in the second inspection, the operation order (“1” to “5”) used to define the inspection range. The device corresponding to the median of “3” is operated. As a result of the operation, the MAC address “C” is obtained, the operation order “3” is associated with the result order “5”, and the MAC address “C” is extracted from the collection result. The inspection range is divided into the first half and the second half with a pair of the operation order “3” and the result order “5” as a boundary. The removal or extraction of the MAC address based on the mixing method is performed for each of the first half test range and the second half test range.
後半の検査範囲(操作順“3”と操作順“5”との間)の混入数は零であるので、図9(A)で説明した第1のケースに合致する。このため、結果順“6”のMACアドレス“D”は収容対象のMACアドレスと判定され、収集結果から抽出される。これに対し、前半の検査範囲(操作順“1”と操作順“3”との間)については、混入数=1となり、0<1<2(範囲内台数)より混在と判定される。これより、前半の検査範囲に関して、4回目の詳細検査が実行される。 Since the number of contaminations in the latter half of the inspection range (between the operation order “3” and the operation order “5”) is zero, it matches the first case described with reference to FIG. Therefore, the MAC address “D” in the order of “6” is determined as the MAC address to be accommodated and extracted from the collection result. On the other hand, in the first half of the inspection range (between the operation order “1” and the operation order “3”), the mixing number = 1, and 0 <1 <2 (number in the range) is determined to be mixed. Thus, the fourth detailed inspection is executed with respect to the first half inspection range.
図13は、4回目の検査の説明図である。前半の検査範囲(操作順“1”と操作順“3”との間)に関して、操作順の中央値“2”に対応する機器の操作が行われる。この結果、MACアドレス“B”が得られて、操作順“2”が結果順“3”に対応づけられる。さらに、MACアドレス“B”が収集結果から抽出される。操作順“2”と結果順“3”とのペアを境に前半と後半とに検査範囲が分けられる。但し、前半の検査範囲は存在しないので、検査は終了する。一方、後半の検査範囲(操作順“2”と操作順“3”の間)については、図9(B)を用いて説明した第2のケースに合致するので、MACアドレス“Y”が対象外と判定され、収集結果から除去される。 FIG. 13 is an explanatory diagram of the fourth inspection. With respect to the first half inspection range (between the operation order “1” and the operation order “3”), the device corresponding to the median “2” in the operation order is operated. As a result, the MAC address “B” is obtained, and the operation order “2” is associated with the result order “3”. Further, the MAC address “B” is extracted from the collection result. The inspection range is divided into the first half and the second half with the pair of the operation order “2” and the result order “3” as a boundary. However, since the first half of the inspection range does not exist, the inspection ends. On the other hand, since the second inspection range (between operation order “2” and operation order “3”) matches the second case described with reference to FIG. 9B, the MAC address “Y” is the target. It is determined to be outside and is removed from the collection result.
以上によって、9台の機器3AのMACアドレス“A”〜“I”が収集結果から抽出される。出力部25は、MACアドレス“A”〜“I”を出力する。MACアドレス“A”〜“I”は、リスト30に登録(記憶)される。MACアドレスは一括でリスト30に記
憶されても良く、抽出される毎に記憶されても良い。このようにして、収容対象の機器3AのMACアドレス“A”〜“I”が記憶されたリスト30が生成される。
As described above, the MAC addresses “A” to “I” of the nine
実施形態1に係る検査方法によれば、収容結果順を得た(図1)後に、操作順“1”,“9”,“5”,“3”,及び“2”についての5回の再操作(MACアドレスの再取得)によって、収容対象の機器3AのMACアドレス“A”〜“I”のリストを生成できる。収容対象の全ての機器3Aを再操作する場合(全9回)よりも少ない再操作の数で、リストを作成することができる。よって、リスト作成に係る負荷低減、リスト作成の容易化が図られる。
According to the inspection method according to the first embodiment, after obtaining the accommodation result order (FIG. 1), the operation order “1”, “9”, “5”, “3”, and “2” are performed five times. A list of MAC addresses “A” to “I” of the
<処理フロー>
図14は、ネットワーク装置1(許可リスト生成部20)の処理例を示すフローチャートである。図14に示す処理は、許可リスト生成部20として動作するCPU11によって実行される。また、図14に示す処理は、例えば、作業者5の操作に応じて、画面212aを含む画面210 が作業者5に提供されることで開始される。
<Processing flow>
FIG. 14 is a flowchart illustrating a processing example of the network device 1 (permission list generation unit 20). The process illustrated in FIG. 14 is executed by the
11では、CPU11は、作業者5によって入力される収容対象機器数Nを取得する。12では、CPU11は、初回の収集処理を行う。初回の収集処理では、後述する処理により、機器3のMACアドレスを複数収集する。
11, the
図14の13では、CPU11は、初回の収集結果順と、収集されたMACアドレスとの対応付けを行う。14では、CPU11は、非収容対象のMACアドレスの混入の仕方を判定する。すなわち、CPU11は、収集結果数=Nであれば、混入がゼロと判定し、そうでなければ、非収集対象が混入していると判定する。
In 13 of FIG. 14, the
15では、混入がゼロと判定する場合には、CPU11は、収集結果を収集対象として一括で抽出する。これに対し、混入がゼロでない(混在している)と判定する場合には、CPU11は、後述する詳細検査を行う(16)。その結果、12で収集された全MACア
ドレスについて抽出または除去が行われる。
In 15, when it is determined that the mixing is zero, the
詳細検査(16)の後、処理が17(図14)に進む。17において、CPU11は、抽出された収容対象の機器3AのMACアドレスを、リスト30に設定することによって、収容対象の機器3AのMACアドレスのリストを生成する。
After the detailed inspection (16), the process proceeds to 17 (FIG. 14). In 17, the
図15は、収集処理の一例を示すフローチャートである。図15の処理は、初回の収集及び再収集にて実行される。 FIG. 15 is a flowchart illustrating an example of the collection process. The process of FIG. 15 is executed in the first collection and recollection.
121では、CPU11は、初回収集か再収集かに応じた画面を用いて、操作指示メッセージを提示する。例えば、初回収集の場合には、画面212b(図5)が表示される。これに対し、再収集の場合には、画面212c(図6)が表示される。
In 121, the
122では、作業者5は、画面212b又は画面212cで表示される操作指示メッセージに従い、「開始」ボタンを押す。123にて、作業者5は、機器3Aのボタン3aを押す(124)。これにより、機器3Aは、パケットを送信する(125)。
In 122, the
一方、ネットワーク装置1では、CPU11は、「開始」ボタンの押し下げを契機として、受信部141を用いたパケットキャプチャを開始する。これによって、CPU11は、受信部141で受信されたパケットの送信元アドレスを、機器3のMACアドレスとして受け取ることができる(126)。
On the other hand, in the
パケットキャプチャ時に、127に示されるように、非収容対象(対象外)の機器3Bからパケットが送信されると、126にて、当該パケットの送信元アドレスは、機器3のMACアドレスとして収集される。すなわち、収集結果に対象外のMACアドレスが混入する。
When a packet is captured, as shown in 127, when a packet is transmitted from the non-accommodating target (non-target)
作業者5は、初回では、収容対象の全て機器3Aのボタン3aを押した後、再収集では、指定された機器3Aのボタン3aを押した後、それぞれの指示メッセージに従った適宜のタイミングで、画面121b又は画面121cの「終了」ボタンを押す(128)。CPU11は、「終了」ボタンの押し下げを検出すると、パケットキャプチャを終了(停止)させる(129)。CPU11は、収集部22から抽出部24へのMACアドレスの引き渡し処理を行う。
In the first time, the
図16は、詳細検査の処理例を示すフローチャートである。261では、CPU11は、検査範囲を設定する。261の時点では、検査範囲は、収集操作順の1〜N(全体)に設定する。262では、CPU11は、検査範囲の各端点のうち、操作順と収集順との対応が未判定のものを特定する。操作範囲が1〜Nであれば、操作順“1”及び操作順“N”が検査範囲の端点となる。
FIG. 16 is a flowchart illustrating an example of a detailed inspection process. In 261, the
263では、CPU11は、262で特定した端点(操作順位)の機器3Aに係るMACアドレスの再収集を制御し、操作順と結果順との対応付けを行う。264では、CPU11は、操作順と結果順との対応を確認する。265では、CPU11は、操作順と結果順との対応関係が新たに確定した(対応付けにより機器3AのMACアドレスと判定し得る)MACアドレスを、収容対象の機器3AのMACアドレスとして抽出する。
In 263, the
266では、CPU11は、検査範囲について、非収容対象(対象外)のMACアドレスの混入の仕方を、図10を用いて説明した手法で判定する。このとき、検査範囲は両端点を除いた部分であり、この場合2〜N−1である。267では、CPU11は、混入の仕方が「混入ゼロ」,「全部対象外」,「混在」のいずれであるかを判定する。
In 266, the
混入の仕方が「混入ゼロ」であると判定される場合、処理が268に進む。268において、CPU11は、検査範囲にあるMACアドレスを、収容対象の機器3AのMACアドレスとして一括抽出する。また、CPU11は、抽出した各MACアドレスに関して、操作順と結果順との対応付けも行う。
If it is determined that the mixing method is “zero mixing”, the process proceeds to 268. In 268, the
混入の仕方が「全部対象外」と判定される場合には、処理が269に進む。269では、CPU11は、検査範囲内にあるMACアドレスを、非収容対象の機器3BのMACアドレスと判定し、一括で抽出対象から除去する。
If it is determined that the method of mixing is “all excluded”, the process proceeds to 269. In 269, the
混入の仕方が「混在」と判定される場合には、処理が270に進む。270では、CPU11は、検査範囲を操作順の中央値で分割した前半及び後半に係る検査範囲を次の検査の範囲に指定する。268,269,270の各処理が終了すると、処理が271に進む。
If it is determined that the mixing method is “mixed”, the process proceeds to 270. In 270, the
271では、CPU11は、詳細検査が終了か否かを判定する。詳細検査が終了と判定される場合には、図16の処理が終了し、そうでない場合には、処理が262に戻される。271の処理では、MACアドレスの除外数が混入したMACアドレスの総数と等しい場合、MACアドレスの抽出数=N(収容対象機器数)に達した場合、及び検査範囲に未抽出の結果順(MACアドレス)がない(残数0の)場合に、終了と判定される。
In 271, the
<実施形態1の効果>
実施形態によれば、収容対象の複数の機器3Aから所定の操作順(送信順)でパケットが送信される場合に、受信部141及び収集部22で取得されたMACアドレス(機器の識別情報)の収集結果(取得結果)を示す情報が生成される。情報は、MACアドレスの結果順(取得順)とMACアドレス(機器の識別情報)との対応関係(図7参照)を示し、CPU11によってメモリ(主記憶装置12及び補助記憶装置13の少なくとも一方)に記憶される。
<Effect of
According to the embodiment, when packets are transmitted in a predetermined operation order (transmission order) from a plurality of
複数の機器3Aの数より上記対応関係におけるMACアドレスの数が多い場合(対象外のMACアドレスが混入している場合)に、操作順(送信順)の順位指定により特定される複数の機器3Aのうちの少なくとも2つについてのMACアドレスが取得される。取得されたMACアドレスを元に、操作順(送信順)での順位と結果順(取得順)での順位との対応づけがなされる。対応付けがなされたMACアドレスは、機器3AのMACアドレスとして抽出される。一方、対応付けがなされないMACアドレスは対象外として除去される。
When the number of MAC addresses in the correspondence relationship is larger than the number of a plurality of
すなわち、CPU11は、取得された識別情報について、送信順の順位と取得順の順位との対応付けを行い、送信順の順位と対応づかない識別情報(MACアドレス)を除去する。また、CPU11は、送信順の順位と対応づく識別情報(MACアドレス)を複数の機器3Aのいずれかの識別情報(MACアドレス)として抽出する。
That is, the
これによって、ネットワーク装置1への収容対象の複数の機器3AのMACアドレスを手書きで入力したり、コマンド入力で得たMACアドレスを転記したりするような煩雑な作業を回避できるので、複数の機器3Aのリストの作成作業の負荷を低減できる。
As a result, it is possible to avoid troublesome operations such as inputting the MAC addresses of a plurality of
また、実施形態1によれば、各機器3AからのMACアドレスの収集時に紛れ込んだ対象外のMACアドレスを、再取得が指定された少なくとも2つの機器3AのMACアドレス送信のための操作(ボタン3aの押し下げ)によって除去することができる。
In addition, according to the first embodiment, an operation (
また、実施形態1によれば、図9を用いて説明したような、操作順と結果順との対応付けを用い、対象外のMACアドレスの混入の仕方に応じて検査範囲のMACアドレスを一括で抽出したり一括で除去したりする。これによって、MACアドレスを再取得する機器3Aの数を減らすことができ、ネットワーク装置1(CPU11)及び作業者5の負荷軽減を図ることができる。
Further, according to the first embodiment, the correspondence between the operation order and the result order as described with reference to FIG. 9 is used, and the MAC addresses in the inspection range are collectively set in accordance with how to mix the MAC addresses that are not targeted. Extract with or remove all at once. Thereby, the number of
これまでに説明した実施形態1の構成は、例えば、以下に説明する実施形態2〜7のような変形が可能である。実施形態2〜7は、実施形態1と共通の構成を有するので、主として相違点について説明し、共通点については説明を省略する。
<実施形態2>
実施形態1では、機器3AからのMACアドレスの再収集において、指定された機器3A以外のMACアドレスが混入しない場合について説明している。但し、再収集時に、指定された機器3A以外の機器のMACアドレスが混入する場合があり得る。
The configuration of the first embodiment described so far can be modified as in the second to seventh embodiments described below, for example. Since the second to seventh embodiments have the same configuration as that of the first embodiment, differences will be mainly described and description of the common points will be omitted.
<
In the first embodiment, a case where a MAC address other than the designated
例えば、図17(A)に示すように、時間軸1−1(1周目の1番目)において、操作順“1”(再収集対象)のMACアドレスを収集した結果において、MACアドレス“A”及びMACアドレス“X”が得られたと仮定する。この場合、どちらが機器3AのMACアドレスかが不明であるので、送信順に対応づけられない。
For example, as shown in FIG. 17A, in the result of collecting MAC addresses in the operation order “1” (recollection target) on the time axis 1-1 (first in the first cycle), the MAC address “A "And MAC address" X "are obtained. In this case, since it is unknown which is the MAC address of the
実施形態2は、上記問題を解決するために、以下のような構成を採用する。ネットワーク装置1のCPU11(許可リスト生成部20)は、同一の操作順の機器3AのMACアドレスの再収集を行う。すなわち、複数のMACアドレスが収集された場合には、CPU
11は、同一の操作順“1”の機器3Aに対する収集を再度行い、再収集の結果同士を対比する。このとき、CPU11は、複数の再収集の結果において、共通に含まれないMACアドレスを除去した結果、1つのMACアドレスが残る場合には、このMACアドレスを指定した機器3AのMACアドレスと判定する。
The second embodiment employs the following configuration in order to solve the above problem. The CPU 11 (permission list generation unit 20) of the
11 again collects the
例えば、図17(B)に示すように、時間軸1−1(1周目1番目)で、操作順“1”の機器3Aについての収集が行われた結果として、MACアドレス“A”及びMACアドレス“X”が取得された場合を仮定する。この場合に、再度(例えば時間軸2−1において)、操作順“1”の機器3Aに対するMACアドレスの再収集を行う。この収集の結果として、MACアドレス“A”及びMACアドレス“Y”が取得されたとする。時間軸1−1で取得されたMACアドレス“A”及びMACアドレス“X”は「第1の情報」の一例であり、時間軸2−1で取得されたMACアドレス“A”及びMACアドレス“Y”は「第2の情報」の一例である。第1の情報と第2の情報とが得られた場合、両者の対比が行われる。
For example, as shown in FIG. 17 (B), as a result of the collection of the
同一の機器3AからのMACアドレスの収集を試行しているので、各収集結果(第1及び第2の情報)には、共通の機器3、すなわち収容対象の機器3AのMACアドレスが含まれていると考えられる。一方、第1及び第2の情報において共通に含まれないMACアドレスは、混入したMACアドレスと判定できる。
Since collection of MAC addresses from the
図17(B)の例では、CPU11は、共通に含まれないMACアドレス“X”,“Y”を、非収容対象の機器3BのMACアドレスと判定し、除去する。この結果、1つのMACアドレス“A”が複数の収集結果に共通に含まれるMACアドレスとして残る。CPU11は、このようなMACアドレス“A”を、収容対象の操作順“1”の機器3AのMACアドレスと判定する。
In the example of FIG. 17B, the
このように、実施形態2では、或る送信順(操作順“1”)に対応する機器3AからのMACアドレスの取得において複数のMACアドレス“A”,“X”を含む第1の情報が取得される。この場合に、或る送信順“1”に対応する機器の識別情報が再取得されることによって得られた第2の情報(“A”,“Y”)と第1の情報とが対比される。対比において、第1及び第2の情報に共通に含まれるMACアドレスが1つあるとき、このMACアドレスが或る送信順に対応する機器のMACアドレスとして抽出される。一方、第1の情報及び第2の情報に共通に含まれないMACアドレスは、非収容対象のMACアドレスとして除去される。
As described above, in the second embodiment, the first information including a plurality of MAC addresses “A” and “X” is obtained in the acquisition of the MAC address from the
さらに、実施形態2におけるCPU11は、異なる操作順の機器3Aに係る複数の再収集の結果において、同一の(共通な)MACアドレスが存在する場合には、このMACアドレスを、非収容対象のMACアドレスとして除去する。
Further, the
例えば、図17(C)に示すように、操作順“1”の機器3Aについての収集結果(第1の情報の一例)がMACアドレス“A”及びMACアドレス“X”であり、操作順“9”の機器3Aに対するMACアドレスの収集結果が“1”および“X”であると仮定する。
For example, as illustrated in FIG. 17C, the collection result (an example of the first information) for the
操作順の異なる機器3AのMACアドレスの収集を試行しているので、収集結果間でMACアドレスが異なることが想定される。これに対し、同一の(共通な)MACアドレス“X”が得られている場合、MACアドレス“X”は、収容対象の機器3A以外の機器のMACアドレスである。よって、CPU11は、MACアドレス“X”を、非収容対象の機器3BのMACアドレスと判定する。一方、第1及び第2の情報において共通に含まれるMACアドレスの除去により、第1及び第2の情報のそれぞれに、共通しないMACア
ドレスが1つずつ残る場合がある。この場合、CPU11は、各MACアドレスを収容対象の機器3AのMACアドレスとして抽出する。図17(C)の例では、CPU11は、MACアドレス“A”を操作順“1”に対応する機器3AのMACアドレスと判定するとともに、MACアドレス“I”を操作順“9”に対応する機器3AのMACアドレスと判定する。
Since collection of the MAC addresses of the
このように、実施形態では、或る送信順(操作順“1”)に対応する機器3AからのMACアドレスの取得において複数のMACアドレス“ア”,“X”を含む第1の情報が取得される場合がある。この場合に、或る送信順“1”と異なる送信順“9”に対応する機器からの識別情報の再取得によって得られた第2の情報(“I”,“X”)と第1の情報(“A”,“X”)とが対比される。対比において、第1の情報及び第2の情報に共通に含まれる(同一の)MACアドレス“X”が除去される。除去の結果として、第1及び第2の情報に共通に含まれないMACアドレスが1つずつ第1及び第2の情報のそれぞれに残る場合に、残ったMACアドレスのそれぞれが或る操作順及び或る操作順と異なる操作順に対応するMACアドレスとして抽出される。
As described above, in the embodiment, the first information including a plurality of MAC addresses “A” and “X” is acquired in acquiring the MAC address from the
図18は、実施形態2の他の例を示す。図18(A)に示すように、操作順“1”の機器3AからのMACアドレスの収集時に、MACアドレス“A”,MACアドレス“X”及びMACアドレス“Y”が収集されたと仮定する。図18の例では、収容対象機器数N=9とする。
FIG. 18 shows another example of the second embodiment. As shown in FIG. 18A, it is assumed that the MAC address “A”, the MAC address “X”, and the MAC address “Y” are collected when the MAC address is collected from the
この場合、CPU11は、収容対象機器数N=9における二分探索を用いた操作順の順位の数列を生成する。数列は、例えば、{1,9,5,3,7,2,4,6,8}となる。但し、数列は上記以外、例えば{9,1,5,7,3,8,6,4,2}などであっても良い。
In this case, the
CPU11は、数列の先頭から、操作順でMACアドレスの再収集を行い、操作順とMACアドレスの遡及確定を行う。図18(B)に示すように、CPU11は、再収集対象の操作順に係る数列{1,9,5,3,7,2,4,6,8}に従って、各操作順に対応する機器3Aから送信されるMACアドレスを収集する。操作順“1”の次に行われる操作順“9”の機器3AのMACアドレス収集では、収集の結果として、MACアドレス“I”及びMACアドレス“X”が取得されている。
The
この場合、図17(A)を用いて説明したように、共通のMACアドレス“X”は、異なる操作順“1”と操作順“9”とで得られているので、CPU11は、MACアドレス“X”を非収容対象のMACアドレスとして除去する。また、CPU11は、MACアドレスの除去によってMACアドレスが1つだけ残る操作順“9”をMACアドレス“1"
と対応付け、再収集対象から除外する。
In this case, as described with reference to FIG. 17A, the common MAC address “X” is obtained in the different operation order “1” and the operation order “9”. “X” is removed as a MAC address to be unaccommodated. Further, the
And is excluded from re-collection targets.
操作順“9”の次に実施された操作順“5”の収集結果では、収集の結果として、MACアドレス“E”及びMACアドレス“Y”が取得されている。この場合、図17(A)を用いて説明したように、MACアドレス“Y”は、異なる操作順“1”と操作順“5”とで共通に得られている。このため、CPU11は、MACアドレス“Y”を非収容対象のMACアドレスとして除去する。また、CPU11は、MACアドレス“Y”の除去によってMACアドレスが1つずつ残る操作順“1”及び操作順“5”をそれぞれMACアドレス“A”と“E”と対応付け、再収集対象から除外する。
In the collection result of the operation order “5” performed after the operation order “9”, the MAC address “E” and the MAC address “Y” are acquired as the collection result. In this case, as described with reference to FIG. 17A, the MAC address “Y” is obtained in common in the different operation order “1” and the operation order “5”. Therefore, the
操作順“5”の次に実施された操作順“3”の収集結果では、収集の結果として、MACアドレス“C”及びMACアドレス“W”が取得されている。操作順“3”は、再収集の対象として残される。その後、残りの数(操作順)についての再収集が行われ、同様の
判定がなされる。なお、図18(B)では、数列における操作順“3”より後の再収集の結果については省略している。
In the collection result of the operation order “3” performed after the operation order “5”, the MAC address “C” and the MAC address “W” are acquired as the collection result. The operation order “3” is left as a recollection target. Thereafter, the re-collection is performed for the remaining number (operation order), and the same determination is made. In FIG. 18B, the result of recollection after the operation order “3” in the sequence is omitted.
2周目では、再収集の対象に残った操作順についての再収集が繰り返される。すなわち、操作順“3”に係る再収集が行われる。結果として、MACアドレス“C”及びMACアドレス“Z”が得られたと仮定する。1周目(前回)の操作順“3”に係る結果との比較において、共通な(同一の)MACアドレス“C”があると、共通しない(異なる)MACアドレス“W”及びMACアドレス“Z”がある。従って、CPU11は、MACアドレス“C”を操作順“3”の機器3AのMACアドレスと判定し、MACアドレス“W”及びMACアドレス“Z”を非収容対象の機器3BのMACアドレスと判定する。
In the second lap, recollection is repeated for the operation order remaining in the recollection target. That is, recollection related to the operation order “3” is performed. As a result, it is assumed that the MAC address “C” and the MAC address “Z” are obtained. If there is a common (identical) MAC address “C” in the comparison with the result relating to the operation order “3” in the first round (previous), the common (different) MAC address “W” and MAC address “Z” There is. Therefore, the
図19は、実施形態2に係る処理例を示すフローチャートである。図20及び図21は、図19の処理の説明図であり、フローチャート内処理の経過や動作を例示したものである。なお、実施例2と実施例1の差は、詳細検査処理を図16から図19に変更したのみである。このため、初回収集結果は実施例1と同一 (図7の上図)とし、前述した動作に
ついての説明も省略している。図19の処理は、許可リスト生成部20として動作するCPU11によって実行される。収容対象機器数Nは、例としてN=9である。以降では、図19のフローチャートについて、適宜図20および図21を参照しながら説明する。
FIG. 19 is a flowchart illustrating a processing example according to the second embodiment. 20 and 21 are explanatory diagrams of the process of FIG. 19 and illustrate the progress and operation of the process in the flowchart. The difference between the second embodiment and the first embodiment is only that the detailed inspection process is changed from FIG. 16 to FIG. For this reason, the initial collection result is the same as that of the first embodiment (upper diagram in FIG. 7), and the description of the operation described above is also omitted. The process of FIG. 19 is executed by the
図19の301において、CPU11は、検査範囲を設定する。検査範囲は、収集操作順の1〜N(全体)に設定する。302において、CPU11は、検査範囲の2分探索時に端点となる数列を生成し、要再収集リストを生成する。
In 301 of FIG. 19, the
2分探索時に、操作順“1”と操作順“9”とは検査範囲の端点となり、これらの中央値“5”も端点となる。中央値“5”を境とした場合における前半及び後半の中央値は、3及び7であり、それぞれ端点となる。このようにして、図19の例では、CPU11は、{1,9,5,3,7,2,4,6,8}の数列(図20(A))を要再収集リストとして生成したと仮定する。
During the binary search, the operation order “1” and the operation order “9” are the end points of the inspection range, and the median value “5” is also the end point. When the median value is “5”, the median values of the first half and the second half are 3 and 7, respectively, which are end points. In this way, in the example of FIG. 19, the
303では、CPU11は、要再収集リスト内から1つの操作順を得て、304でCPU11は該当操作順に対応する機器3Aに係るMACアドレスの再収集を行う。例えば図20(A)に示す数列に従い、先頭の操作順“1”のMACアドレスの再収集を行う。
In 303, the
305では、CPU11は、再収集の結果を履歴に追加し、操作順とMACアドレスの遡及確定処理を行う。すなわち、CPU11は、今回のレコード(再収集の結果)と、今回のレコードより前に得られた他のレコードとの対比を行い、図17(A)や図17(B)で示したケースに該当するかを判定する。
In 305, the
ここで、再収集結果の履歴は、例えば図20(B)に示すような、時間軸に対する、再収集対象の操作順と再収集結果を含む表に記憶される。例えば、時間軸1−1に係る305の処理では、操作順“1”のMAC再収集に対しMACアドレス“A",“X",“Y"が取
得されたことが記録されている。さらに遡及確定結果は、例えば図20(D)に示すような、操作順と収容対象MACや非収容対象を管理する表に記録される。この例では、時間軸1−1に係る305の処理では、対比する他のレコードがなく確定したことがないため非収容対象及び操作順−MACともに“なし”が記憶される。時間軸1−2に係る305の処理では、時間軸1−2と過去の時間軸1−1の再収集結果レコードが対比した結果、操作順“9"とMACアドレス“I”の対応づけが確定し、MACアドレス“X”が非収容
対象として確定したことが記録される。
Here, the history of the recollection results is stored in a table including the operation order of the recollection targets and the recollection results with respect to the time axis, for example, as illustrated in FIG. For example, in the
306で、CPU11は、遡及確定結果の初回の収集結果への反映を行う。この反映で
は、図21(A)に示すように、遡及確定結果として、操作順とMACアドレスの対応が確定した場合には、CPU11は、操作順と結果順との対応関係を記憶し、収容対象として抽出する。遡及確定結果において非収容対象となったMACアドレスに関して、同一のMACアドレスが要再収集リストにあれば、当該MACアドレスの除去が行われる。
In 306, the
ここで、遡及確定結果の反映は、例えば、図20(F)に示すような、MACアドレスと収集結果順と収集操作順の対応関係と時間軸を管理する表を用いて行われる。時間軸1−1に係る306の処理など遡及確定結果が何もない場合には反映は省略され、時間軸1−2に係る306の処理など確定結果がある場合は各MACアドレスについて記録が行われる。例えば時間軸1−2では、MACアドレス“X”については収集操作順に非収容対象を示す“非”が記録され、MACアドレス“I”については収集操作順に“9”が記録される。なお、収集結果順欄とMACアドレス欄は、初回のMACアドレス収集時に収集結果として記録されればよい。
Here, the retroactive confirmation result is reflected using, for example, a table managing the correspondence between the MAC address, the collection result order, the collection operation order, and the time axis as shown in FIG. Reflection is omitted when there is no retroactive confirmation result such as 306 processing related to time axis 1-1, and recording is performed for each MAC address when there is a final determination result such as
307では、CPU11は、図19の処理を終了か否かを判定する。当該判定は、排除したMACアドレス数が総混入数と等しくなる場合、或いは、MACアドレスの抽出数が収容対象機器数Nと等しくなる場合に終了と判定される。時間軸1−1に係る307の処理などでは、上記いずれにも該当せず、次の308へ進む。
In 307, the
また、CPU11は、図20(E)に示すような検査を行う。例えば、時間軸1−2における収集結果への反映において、最後の操作順9のMACアドレスが確定した場合には、操作順9に対応する結果順“11”より後のMACアドレス“Z”を非収容対象として排除する。
Further, the
308では、CPU11は、操作順と結果順との対応が新たに確定したものを端点に持つ検査範囲を抽出し、各検査範囲に処理SG1(図16の処理266〜269)を適用し、308bで、CPU11は、処理SG1の結果を初回収集結果に反映する。
In 308, the
このとき、308でCPU11に抽出される検査範囲は図21(B)のようになり、各検査範囲に処理SG1を適用した検査結果は、図20(E)となる。図21(B)では、時間軸1−1に係る308の処理では抽出される検査範囲はなく、時間軸1−2に係る308の処理では、収集操作順“9”(最後の操作順)が確定したことにより、収集操作順“9”より後ろの範囲が検査範囲として抽出されたことが記録されている。時間軸1−3に係る308の処理のように、新たに確定した結果に応じ検査範囲が複数抽出されることもある。
At this time, the inspection range extracted by the
309では、CPU11は、要再収集リストを更新する。すなわち、CPU11は、操作順とMACアドレスとの対応関係が確定されたレコードを要再収集リストから削除する。時間軸1−1に係る309の処理などのように、再収集で操作順とMACアドレスとの対応関係が確定しない場合には、CPU11は、その時間軸のレコードを要再収集リストの末尾に追加する(図20(G)参照)。
In 309, the
310では、CPU11は、307と同様の判定を行う。但し、307と同様の判定の代わりに、要再収集リストに残りのレコードがあるか否かを以て、310の判定処理としても良い。
In 310, the
実施形態2によれば、機器3AからのMACアドレスの再収集時に複数のMACアドレスが取得される場合であっても、対象外の機器3BからのMACアドレスを除去(排除)できる。そして、操作順と機器3AのMACアドレスとを対応づいた所望の機器3AのMACアドレスだけを抽出することができる。
According to the second embodiment, even when a plurality of MAC addresses are acquired when MAC addresses are recollected from the
<実施形態3>
上述の実施形態では、通信方式(通信規格)として無線LAN(IEEE802.11シリーズ)で、機器3AからのMACアドレス(パケット)の送信トリガがWPSのプッシュボタン3aである場合を例に説明した。但し、通信方式及びパケットの送信方法は、上記例に限定されない。
<
In the above-described embodiment, a case where the transmission trigger of the MAC address (packet) from the
通信方式は、無線LAN以外に、Bluetooth(登録商標),WI−SUN(Wireless Smart Utility Network),ZigBeeなどの無線規格であっても良く, 有線LANのような有線の通信方式であっても良い。またパケット送信方法は、操作を契機に機器がブロードキャストパケットを送信するものであればよい。 The communication method may be a wireless standard such as Bluetooth (registered trademark), WI-SUN (Wireless Smart Utility Network), ZigBee, or a wired communication method such as a wired LAN. . Also, any packet transmission method may be used as long as the device transmits a broadcast packet upon an operation.
図22は、実施形態3の説明図である。図22には、通信方式と、パケット送信の操作(操作に使用されるボタン(スイッチ)や作業)と、収集部22への指定条件(収集(キャプチャ)対象のパケット及び取得対象のフィールド),作業者5への操作指示メッセージの例を示す表が示されている。図22の例では、無線LAN,Bluetooth(登録商標)
及び有線LANについての例が示されている。
FIG. 22 is an explanatory diagram of the third embodiment. FIG. 22 shows a communication method, a packet transmission operation (buttons (switches) and operations used for the operation), a designation condition for the collection unit 22 (collection (capture) target packet and acquisition target field), A table showing an example of an operation instruction message to the
And an example for a wired LAN.
例えば、操作(ボタン)としては、探索用のスキャンボタンや、無線のON・OFFボタンなどを適用可能である。有線の通信方式では、ボタン以外に、ネットワークケーブル(LANケーブル)に対する物理的な脱着やケーブルに対する通電も、操作に含み得る。また、所定のパケットの送信元アドレスが機器3Aのアドレス(識別情報)として取得される。操作指示メッセージは、例えば、通信方式やパケットの送信の操作に使用されるボタン(スイッチ)に応じたメッセージ内容となる。このように、通信方式に応じて、作業者への操作指示メッセージと収集部のMACアドレス抽出方法を決めることで、実施形態1ないし実施形態2の動作を、無線LAN以外の他通信方式にも適用できる。
For example, as an operation (button), a scan button for searching, a wireless ON / OFF button, or the like can be applied. In the wired communication system, in addition to buttons, physical detachment with respect to a network cable (LAN cable) and energization with respect to the cable can also be included in the operation. Further, the transmission source address of the predetermined packet is acquired as the address (identification information) of the
<実施形態4>
図23は、実施形態4に係る構成例を示す図である。実施形態1では、ネットワーク装置1が、機器3からMACアドレスを含むパケットを受信する無線通信部14Aと、許可リスト生成部20とを含む例について説明した。実施形態4は、実施形態1の構成に代えて、以下の構成を有する。なお、実施形態4は実施形態1の機能配置を変更したもので、実施形態1で示したフローチャートなどの処理詳細には影響しない。
<
FIG. 23 is a diagram illustrating a configuration example according to the fourth embodiment. In the first embodiment, the example in which the
実施形態4では、ネットワーク装置1の代わりに、端末装置1Aと、ネットワーク装置1Bとを含む。端末装置1Aは、例えば、図2に示したハードウェア構成を有することができる。但し、図2における通信IF15は有していなくても良い。
In the fourth embodiment, instead of the
端末装置1Aが備える無線通信回路14は、機器3との無線通信と、ネットワーク装置1Bとの無線通信とを並列に実行することができる(2以上の無線回線を持つ)。すなわち、図23に示すように、端末装置1Aは、機器3からパケットを受信する無線通信部14Aと、ネットワーク装置1BへMACアドレスの抽出結果を送信する無線通信部14Aとを含む構成を有する。但し、機器3との無線通信と、ネットワーク装置1Bとの無線通信を、1つの無線回線を用いてシーケンシャルに実行する構成を採用しても良い。すなわち、1つの無線通信部14Aを有する構成が採用されても良い。
The
端末装置1Aは、CPU11がメモリ(主記憶装置12及び補助記憶装置13の少なくとも一方)に記憶されたプログラムを実行することによって、許可リスト生成部20として動作する。但し、出力部25から出力される収容対象の機器3AのMACアドレス群(識別情報の抽出結果)は、無線通信によってネットワーク装置1Bに送信される。但し、
端末装置1Aとネットワーク装置1Bとが有線通信でMACアドレス群の送受信を行う場合もあり得る。
The terminal device 1A operates as the permission
There may be a case where the terminal device 1A and the
このように、通信装置の一例である端末装置1Aは、「送信データの中継可否を前記抽出部によって抽出された機器の識別情報を用いて判定する通信装置へ、前記抽出部によって抽出された機器の識別情報を送信する送信部」を備える。パケットは、「送信データ」の一例であり、ネットワーク装置1Bは、「通信装置」の一例である。無線通信部14Aは「送信部」の一例である。
As described above, the terminal device 1A, which is an example of a communication device, reads “the device extracted by the extraction unit to the communication device that determines whether or not transmission data can be relayed using the device identification information extracted by the extraction unit. A transmission unit that transmits the identification information of the ". The packet is an example of “transmission data”, and the
ネットワーク装置1Bは、例えば、図2に示したハードウェア構成を有する。ネットワーク装置1Bの無線通信回路14は、端末装置1Aから送信されるパケット(収容対象のMACアドレス群を含む)を受信する。ネットワーク装置1BのCPU11は、メモリに記憶されたプログラムの実行によって、ネットワーク装置1Bのメモリ(主記憶装置12及び補助記憶装置13の少なくとも一方)上の許可リスト30にMACアドレス群を設定(登録)する。
The
ネットワーク装置1BのCPU11は、メモリに記憶されたプログラムの実行によって、通信可否判定部31として動作する。これにより、ネットワーク装置1Bは、パケットの中継を許可リスト30に、機器3CのMACアドレス(識別情報)が記憶されていることを条件に機器3Cからのパケットの中継を行い、非収容対象の機器3Bからのパケットを遮断する。
The
実施形態4では、使用者(機器)が制限される既存のネットワーク装置1Bに記憶させるMACアドレス群を端末装置1Aで抽出することができる。すなわち、ネットワーク装置1Bに許可リスト生成部20を実装するための改変を回避することができる。
In the fourth embodiment, the terminal device 1A can extract the MAC address group to be stored in the existing
<実施形態5>
図24は、実施形態5に係る構成例を示す図である。実施形態5では、実施形態4の構成に代えて、以下の構成を有する。すなわち、「受信装置」の一例である無線通信部14Aを含む端末装置1Aの代わりに、端末装置1Cと、サーバ1Dを備える。サーバ1Dは、ネットワーク2を介して端末装置1Cと接続される。サーバ1Dは、例えばクラウド上にあり、端末装置1Cと通信する。なお、実施形態5は実施形態1の機能配置を変更したもので、実施形態1で示したフローチャートなどの処理詳細には影響しない。
<
FIG. 24 is a diagram illustrating a configuration example according to the fifth embodiment. The fifth embodiment has the following configuration instead of the configuration of the fourth embodiment. That is, a terminal device 1C and a
端末装置1Cは、例えば、図2に示したハードウェア構成と同じハードウェア構成を有する。端末装置1CのCPU11は、メモリ(主記憶装置12及び補助記憶装置13の少なくとも一方)に記憶されたプログラムの実行によって、許可リスト生成部20Aとして動作する。
The terminal device 1C has, for example, the same hardware configuration as that shown in FIG. The
サーバ1Dは、図2に示したハードウェア構成と同じハードウェア構成を有する。サーバ1DのCPU11は、メモリ(主記憶装置12及び補助記憶装置13の少なくとも一方)に記憶されたプログラムの実行によって、許可リスト生成部20Bとして動作する。
The
許可リスト生成部20Bは、実施形態1で説明した操作部21,制御部23,抽出部24,及び出力部25を含む。但し、操作部21は、入力画面210など(図4〜図6)のUIに係る情報を、ネットワーク2を介して許可リスト生成部20Aに送る。許可リスト生成部20Aは、作業者5に対するUIとして、入力画面210などを、出力装置17であるディスプレイに表示するとともに、作業者5に入力装置16を用いて情報を入力させる。入力された情報は、ネットワーク2を介して操作部21へ送られる。
The permission
また、許可リスト生成部20Aは、実施形態1で説明した収集部22を有し、受信部141で受信されたパケット(又はパケット中のMACアドレス)をキャプチャし、ネットワーク2を介してサーバ1Dの許可リスト生成部20Bに送る。
Further, the permission list generation unit 20A includes the
上記構成を除き、実施形態5は、実施形態4と同じである。実施形態5では、「受信装置」の一例である無線通信部14Aが、「通信装置」の一例であるサーバ1Dと異なる端末装置1Cに含まれる。端末装置1Cは、「通信装置と異なる装置」の一例である。この場合、サーバ1D(通信装置)は、異なる装置(端末装置1C)から送信される、受信装置(無線通信部14A)で取得された機器の識別情報(MACアドレス)を受け取る。
Except for the above configuration, the fifth embodiment is the same as the fourth embodiment. In the fifth embodiment, a
実施形態5では、端末装置1Cが、非収容対象の除去及び収容対象の抽出、並びに、ネットワーク装置1Bに対するリストの設定を行わなくて良い。このため、実施形態4における端末装置1Aに比べて端末装置1Cの負荷を軽減できる利点がある。
In the fifth embodiment, the terminal device 1C may not perform removal of the non-accommodation target, extraction of the accommodation target, and setting of a list for the
<実施形態6>
図25は、実施形態の実施形態6の説明図である。実施形態6は、電力制御装置500を備えている。電力制御装置500は、ネットワーク装置1との通信IF(図示せず)を有し、ネットワーク装置1と通信することができる。電力制御装置500として、例えば、公知のスマート電源タップなどを利用できる。本実施形態6は、電源制御装置500を用いることで、後述するように、実施形態1に係る作業者の操作を減らすことを目的とする。
<
FIG. 25 is an explanatory diagram of
電力制御装置500は、電力制御部502と、複数のソケット504とを含んでいる。ネットワーク装置1は、実施形態で説明した許可リスト生成部20を有している(図25では、操作部21以外の図示を省略)。但し、許可リスト生成部20は、電力制御装置500への制御信号の送信機能が追加されている点において、実施形態と異なる。
The
ソケット504には、機器3Aが備える電源コード(ケーブル)の先端に設けられたプラグが挿入される。或いは、ソケットには、電源コード506の一端に設けられたプラグが挿入される。電源コード506の他端は、ワイヤレス給電パッド507と接続されており、ワイヤレス給電パッド507は、ワイヤレス給電パッド507と接触或いは近接する機器3Aに給電することができる。ワイヤレス給電パッドの代わりに、機器3Aが有する端子と物理的に接触させるパッド(電極)を有するパッドが適用されて良い。
A plug provided at the tip of a power cord (cable) included in the
電力制御部502は、電源からの電力を各ソケット504に供給する。ソケット504にプラグが接続されることで、対応する機器3Aに駆動用の電力が供給可能となる。電力制御部502は、操作部21からの制御情報に基づき、この制御情報で指定されたソケット504に対応する電力供給のオン・オフを行う。電力供給のオン・オフにより、ソケット504を介して接続された機器3Aの電源のオン・オフが制御され、これを契機に該当機器3Aのパケット送信が開始・停止される。
The
よって、ソケット504からの給電のオフによって電源がオフ状態の機器3Aに対し、電力制御部502が、操作部21からの制御信号に従って該当する機器3Aに対応するソケット504に対する電力供給を開始する。すると、機器3Aの電源がオンとなり、機器3Aは、MACアドレスを含むパケットを送信する。このように、実施形態6では、作業者5がボタン3aを押さなくても、制御信号にて指定された機器3Aから再収集のためのパケットを送信させることができる。
Therefore, the
電力制御部502の動作又は処理は、電力制御装置500がCPU及びメモリを含み、CPUのプログラム実行によって行われるようにしても良い。電力制御部502は、上記
した動作に係る処理を行うLSIなどの回路であっても良い。なお、電源制御部502は、給電開始から一定期間電極供給状態を継続し、その後電力供給を停止しても良い。或いは、電源制御部502は、操作部21からの制御信号に従って電力供給を停止するようにしても良い。
The operation or processing of the
実施形態1などでは、MACアドレスの再収集時に、作業者5に提供されるUIのメッセージに従って、作業者が操作順に対応する機器3Aのボタン3aを押していた。これに対し、実施形態6では、操作部21が、複数の機器3Aのうち操作順に対応する機器3Aから機器の識別情報(MACアドレス)を送信させる制御情報を電力制御装置500に供給する「供給部」の一例として動作する。電力制御装置は、「制御装置」の一例である。供給部の一例としての操作部21は、複数の機器3Aのそれぞれにパケット送信の契機となる制御情報を、電力制御装置500の電力制御部502に供給する。
In the first embodiment or the like, when the MAC address is recollected, the worker presses the
実施形態6によれば、ネットワーク装置1が、所望の機器3Aからパケット(MACアドレス)を送信させるための制御情報を出力し、電力制御装置500に供給する。電力制御装置500は、制御情報に従って、操作順に対応する機器3Aからパケットを送信させる。これによって、作業者5が指定された機器3Aのボタン3aを押す作業が不要となる。なお、本電力制御を用いた収集操作自動化は、実施形態3の図22において、操作欄を電力制御とし、作業者への操作指示メッセージ欄を、電力制御装置500への電力制御メッセージにすることに相当し、実施形態3で示したように、どの通信方式に対応できる。
According to the sixth embodiment, the
また、実施形態6におけるネットワーク装置1を、実施形態4の端末装置1Aや実施形態5の端末装置1C及びサーバ1Dに代えることもできる。すなわち、実施形態6の電力制御装置500の給電のオン・オフに係る制御信号を、端末装置1Aや端末装置1Cとの通信で受け取る構成を採用しても良い。
Further, the
<実施形態7>
実施形態7は、図25に示すように、実施形態6で説明した電力制御装置500の代わりの端末装置として、ネットワーク装置1と通信する端末装置1Aを備えている。ネットワーク装置1は、実施形態1で説明した許可リスト生成部20を有している(図25では、操作部21以外の図示を省略)。但し、許可リスト生成部20は、端末装置1Aへの制御信号の送信機能が追加されている点において、実施形態1と異なる。本実施形態7は、バッテリ駆動する機器3Aに対しても、実施形態6同様に電力制御を用いて、実施形態1に係る作業者の操作を減らすことを目的とする。
<
As illustrated in FIG. 25, the seventh embodiment includes a
端末装置1Aは、図2に示すハードウェア構成を有し、通信IF15を用いてネットワーク装置1と通信することができる。また、端末装置1Aは、電力制御部602と、無線通信部605とを含んでいる。
The terminal device 1A has the hardware configuration shown in FIG. 2 and can communicate with the
実施形態7において、各機器3Aは、物理結線604を介して接続された電池(バッテリ)603を有する。電池603は、例えば、乾電池を有するとともに、無線通信部605との無線通信機能を有する電池型IoT機器である。電池603は、無線通信部605から受信される制御信号に従って、機器3Aに対する電力供給のオン・オフを制御する。機器3Aは、電池603からの電力を受けてオンとなった場合にパケット(MACアドレス)をネットワーク装置1に送信する。
In the seventh embodiment, each
ネットワーク装置1の操作部21は、制御信号を電力制御部602に与える。制御信号は、電池603の指定情報と、指定情報で特定される電池603のオン又はオフを示す情報を含む。電力制御部602は、指定情報で特定される電池603宛てに、オン又はオフ信号を送信する。
The
電池603は、オン又はオフ信号に応じて機器3Aに対する電力供給のオン・オフを行う。電池603のオンによって、機器3Aの電源がオンとなり、機器3AからMACアドレスを含むパケットが送信される。このように、電池603のオン・オフ制御によって、機器3Aからパケット送信を制御することができる。
The
電力制御部602の動作は、CPU11がプログラムを実行することによって行われても良い。電力制御部602の動作は、LSIなどの回路により行われても良い。なお、機器3Aのオフは、例えば、電源オンからの所定期間経過によって行われるようにしても良く、端末装置1Aからのオフ信号によって行われるようにしても良い。
The operation of the
実施形態では、MACアドレスの再収集時に、作業者5に提供されるUIのメッセージに従って、作業者が操作順に対応する機器3Aのボタン3aを押していた。これに対し、実施形態7では、供給部の一例である操作部21は、電池603のオン・オフを制御する電力制御部602へ制御情報を供給する。電力制御部602は、電池603のオン・オフを制御する。複数の機器3Aのそれぞれは、電池603のオン(電力供給の開始)を契機に機器の識別情報(MACアドレス)を含むパケットを送信する。これによって、実施形態6と同様に、作業者5が指定された機器3Aのボタン3aを押す作業が不要となる。
In the embodiment, when the MAC address is recollected, the worker presses the
なお、実施形態7におけるネットワーク装置1を、実施形態5の端末装置1C及びサーバ1Dに代えることもできる。すなわち、実施形態7の端末装置1Aを、端末装置1Cとの通信でスイッチのオン・オフに係る制御信号を受け取る構成を採用しても良い。以上説明した実施形態1〜7の構成は、適宜組み合わせることができる。
The
1・・・ネットワーク装置
11・・・CPU
12・・・主記憶装置
13・・・補助記憶装置
1 ...
12 ...
Claims (18)
複数の機器の数と、前記複数の機器から所定の送信順で送信される各機器の識別情報を受信装置で受信する場合に前記受信装置で取得された機器の識別情報と前記機器の識別情報の取得順との対応関係とを記憶する処理と、
前記対応関係における識別情報の数が前記複数の機器の数より多い場合に、前記送信順のうち少なくとも2つの順位にそれぞれ対応する機器の識別情報を取得する処理と、
前記対応関係と前記取得された識別情報とを用いて、前記送信順の順位と前記取得順の順位との対応付けを行い、前記送信順の順位と対応づかない識別情報を除去するとともに、前記送信順の順位と対応づく識別情報を前記複数の機器のいずれかの識別情報として抽出する処理と
を実行させるプログラム。 In the computer provided in the communication device,
The device identification information and the device identification information acquired by the receiving device when the receiving device receives the number of the plurality of devices and the identification information of each device transmitted from the plurality of devices in a predetermined transmission order. Storing the correspondence relationship with the acquisition order of
When the number of pieces of identification information in the correspondence relationship is greater than the number of the plurality of devices, processing for acquiring device identification information corresponding to at least two ranks in the transmission order;
Using the correspondence and the acquired identification information, the order of the transmission order is associated with the order of the acquisition order, and the identification information that does not correspond to the order of the transmission order is removed, and the The program which performs the process which extracts the identification information matched with the order | rank of a transmission order as identification information of any of these apparatus.
を前記コンピュータに実行させる請求項1に記載のプログラム。 When the transmission order of the two devices out of the plurality of devices is associated with the acquisition order, the transmission order of the two devices is not continuous, and the two devices Corresponding to each rank between the ranks of the acquisition order when the number of ranks between the transmission order and the corresponding rank of the acquisition order is the same as the number between the ranks in the transmission order of the two devices The program according to claim 1, which causes the computer to execute processing for extracting identification information of a device to be executed.
請求項2に記載のプログラム。 If the value obtained by subtracting the difference in the order of transmission of the two devices from the difference in the order of acquisition of the two devices in the computer is zero, the order of the acquisition order corresponding to the transmission order of the two devices The program according to claim 2, wherein a process of extracting identification information corresponding to each rank between the two is executed.
を前記コンピュータに実行させる請求項1から3のいずれか1項に記載のプログラム。 When the transmission order of the two devices of the plurality of devices are associated with the acquisition order, the transmission order of the two devices is continuous, and the transmission of the two devices The processing for removing the identification information corresponding to each rank between the ranks of the acquisition order of the two devices when the acquisition order corresponding to the order is not consecutive is executed from the computer. 4. The program according to any one of 3.
請求項4に記載のプログラム。 In the computer, a value obtained by subtracting a difference in the transmission order of the two devices from a difference in the acquisition order of the two devices and a number of ranks between the acquisition orders of the two devices are the same. 5. The program according to claim 4, wherein in some cases, a process of removing identification information corresponding to each rank between the ranks of the acquisition order of the two devices is executed.
を前記コンピュータに実行させる請求項1から5のいずれか1項に記載のプログラム。 When the transmission order of the first and second devices among the plurality of devices is associated with the acquisition order of the first and second devices, the first and second A value obtained by subtracting the difference in the order of the transmission order of the first and second devices from the difference in the order of the order of acquisition of the devices is not zero, and between the ranks of the acquisition order of the first and second devices. The identification information of the third device corresponding to at least one rank between the transmission order ranks of the first and second devices, and the transmission of the third device Removing the identification information corresponding to each rank between the ranks of the acquisition order corresponding to the ranks of the transmission order of the two devices. Or causing the computer to execute a process of performing extraction. Program.
から機器の識別情報を取得する処理と、
前記第3の順位と前記第3の機器の取得順との対応付けを行う処理と、
前記第1の順位と前記第3の順位とのそれぞれに対応する取得順の順位の間にある各順位に対応する識別情報を検査対象とする検査を行うとともに、前記第3の順位と前記第2の順位とのそれぞれに対応する前記取得順の順位の間にある各順位に対応する識別情報を検査対象とする検査を行う処理と
をコンピュータに実行させる請求項6に記載のプログラム。 A third rank that is a median value between a first rank that is the rank of the transmission order of the first device and a second rank that is the rank of the transmission order of the second device is the transmission rank. Processing for obtaining device identification information from the third device, which is a rank;
A process for associating the third order with the acquisition order of the third device;
A test is performed on identification information corresponding to each rank that is between the ranks of the acquisition order corresponding to each of the first rank and the third rank, and the third rank and the third rank The program according to claim 6, wherein the computer executes a process of performing an inspection on identification information corresponding to each rank that is between the ranks of the acquisition order corresponding to each of the two ranks.
をコンピュータに実行させる請求項1から7のいずれか1項に記載のプログラム。 When the first information including a plurality of pieces of identification information is acquired in the acquisition of the identification information from the device corresponding to a certain transmission order, the first information obtained by the acquisition of the identification information from the device corresponding to the certain transmission order 2 information and the first information are compared, and when there is one identification information included in common in the first and second information, the identification information included in common is handled in the certain transmission order. The program according to any one of claims 1 to 7, which causes a computer to execute a process of extracting identification information that is not included in common in the first and second information while being extracted as identification information of a device to be performed.
をコンピュータに実行させる請求項1から8のいずれか1項に記載のプログラム。 Obtained by acquiring identification information from a device having a transmission order different from the certain transmission order when the first information including a plurality of identification information is acquired in acquiring the identification information from the device corresponding to a certain transmission order. And comparing the first information and the first information, removing identification information included in the first and second information in common, and removing the identification information to remove the first and second information. 9. The computer according to claim 1, wherein the computer executes a process of extracting one piece of identification information remaining in each piece of information as identification information corresponding to the certain transmission order and a transmission order different from the certain transmission order. Program.
複数の機器の数と、前記複数の機器から所定の送信順で送信される各機器の識別情報を受信装置で受信する場合に前記受信装置で取得された機器の識別情報と前記機器の識別情報の取得順との対応関係とを記憶部に記憶し、
前記対応関係における識別情報の数が前記複数の機器の数より多い場合に、前記送信順のうち少なくとも2つの順位にそれぞれ対応する機器の識別情報を取得し、
前記対応関係と前記取得された識別情報とを用いて、前記送信順の順位と前記取得順の順位との対応付けを行い、前記送信順の順位と対応づかない識別情報を除去するとともに、前記送信順の順位と対応づく識別情報を前記複数の機器のいずれかの識別情報として抽出する
ことを含む機器の識別情報の抽出方法。 The communication device
The device identification information and the device identification information acquired by the receiving device when the receiving device receives the number of the plurality of devices and the identification information of each device transmitted from the plurality of devices in a predetermined transmission order. And the correspondence with the acquisition order of
When the number of pieces of identification information in the correspondence relationship is greater than the number of the plurality of devices, the identification information of the devices respectively corresponding to at least two ranks in the transmission order is acquired,
Using the correspondence and the acquired identification information, the order of the transmission order is associated with the order of the acquisition order, and the identification information that does not correspond to the order of the transmission order is removed, and the A method for extracting identification information of a device, comprising: extracting identification information associated with a rank in transmission order as identification information of any of the plurality of devices.
前記対応関係における識別情報の数が前記複数の機器の数より多い場合に、前記送信順のうち少なくとも2つの順位にそれぞれ対応する機器の識別情報を取得する処理と、前記対応関係と前記取得された識別情報とを用いて、前記送信順の順位と前記取得順の順位との対応付けを行い、前記送信順の順位と対応づかない識別情報を除去するとともに、前記送信順の順位と対応づく識別情報を前記複数の機器のいずれかの識別情報として抽出する処理とを行う抽出部と、
を含む通信装置。 The device identification information and the device identification information acquired by the receiving device when the receiving device receives the number of the plurality of devices and the identification information of each device transmitted from the plurality of devices in a predetermined transmission order. A storage unit for storing the correspondence with the acquisition order of
When the number of pieces of identification information in the correspondence relationship is greater than the number of the plurality of devices, processing for obtaining device identification information corresponding to at least two ranks in the transmission order, the correspondence relationship, and the acquisition The identification information is used to associate the order of transmission order with the order of acquisition order, and the identification information that does not correspond to the order of transmission order is removed, and the order of transmission order is associated. An extraction unit that performs processing for extracting identification information as identification information of any of the plurality of devices;
Including a communication device.
をさらに含む請求項11に記載の通信装置。 The communication device according to claim 11, further comprising a determination unit that determines whether or not transmission data received by the communication device can be relayed, using device identification information extracted by the extraction unit.
をさらに含む請求項11又は12に記載の通信装置。 The transmission unit for transmitting the device identification information extracted by the extraction unit to a communication apparatus that determines whether or not transmission data can be relayed using the device identification information extracted by the extraction unit. The communication apparatus as described in.
請求項11から13のいずれか1項に記載の通信装置。 The communication device according to claim 11, wherein the reception device is included in the communication device.
前記通信装置が、前記異なる装置から送信される、前記受信装置で取得された機器の識別情報を受け取る
請求項11から14のいずれか1項に記載の通信装置。 The receiving device is included in a device different from the communication device,
The communication apparatus according to claim 11, wherein the communication apparatus receives device identification information acquired by the receiving apparatus, transmitted from the different apparatus.
をさらに含む請求項11から15のいずれか1項に記載の通信装置。 16. The apparatus according to claim 11, further comprising: a supply unit configured to supply control information for transmitting device identification information from a device corresponding to the order specified from the transmission order among the plurality of devices to the control device. The communication apparatus as described in.
請求項16に記載の通信装置。 The communication device according to claim 16, wherein the supply unit supplies the control information to a control device that supplies power that triggers transmission of device identification information to each of the plurality of devices as the control device.
前記複数の機器のそれぞれは、前記電池のオンを契機に機器の識別情報を送信する
請求項16に記載の通信装置。 The supply unit supplies the control information to a control device that controls on / off of a battery included in each of the plurality of devices as the control device,
The communication device according to claim 16, wherein each of the plurality of devices transmits device identification information when the battery is turned on.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016106426A JP6662199B2 (en) | 2016-05-27 | 2016-05-27 | Program, method for extracting device identification information, and communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016106426A JP6662199B2 (en) | 2016-05-27 | 2016-05-27 | Program, method for extracting device identification information, and communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017212688A true JP2017212688A (en) | 2017-11-30 |
JP6662199B2 JP6662199B2 (en) | 2020-03-11 |
Family
ID=60476926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016106426A Active JP6662199B2 (en) | 2016-05-27 | 2016-05-27 | Program, method for extracting device identification information, and communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6662199B2 (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03503474A (en) * | 1988-12-15 | 1991-08-01 | ラボラトワール、ユーロペーン、ド、ルシェルシュ、エレクトロニク、アバンセ | Method of registering units in a network having at least one part consisting of open channels |
JPH0787119A (en) * | 1993-06-30 | 1995-03-31 | Anritsu Corp | Address filter of mac bridge |
JP2004343497A (en) * | 2003-05-16 | 2004-12-02 | Sony Corp | Information processor, access control processing method, and computer program |
JP2007019947A (en) * | 2005-07-08 | 2007-01-25 | Nec Infrontia Corp | Communication system and filter setting method |
JP2007184704A (en) * | 2006-01-05 | 2007-07-19 | Sumitomo Electric Ind Ltd | Local area network connection method, management apparatus, and terminal device |
WO2010041788A1 (en) * | 2008-10-10 | 2010-04-15 | Plustech Inc. | A method for neutralizing the arp spoofing attack by using counterfeit mac addresses |
JP2014060493A (en) * | 2012-09-14 | 2014-04-03 | Buffalo Inc | Network management system, management device, wireless lan access point, method for managing plurality of wireless lan stations, program, recording medium |
JP2014202959A (en) * | 2013-04-05 | 2014-10-27 | 大日本印刷株式会社 | Color filter and display device |
-
2016
- 2016-05-27 JP JP2016106426A patent/JP6662199B2/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03503474A (en) * | 1988-12-15 | 1991-08-01 | ラボラトワール、ユーロペーン、ド、ルシェルシュ、エレクトロニク、アバンセ | Method of registering units in a network having at least one part consisting of open channels |
JPH0787119A (en) * | 1993-06-30 | 1995-03-31 | Anritsu Corp | Address filter of mac bridge |
JP2004343497A (en) * | 2003-05-16 | 2004-12-02 | Sony Corp | Information processor, access control processing method, and computer program |
JP2007019947A (en) * | 2005-07-08 | 2007-01-25 | Nec Infrontia Corp | Communication system and filter setting method |
JP2007184704A (en) * | 2006-01-05 | 2007-07-19 | Sumitomo Electric Ind Ltd | Local area network connection method, management apparatus, and terminal device |
WO2010041788A1 (en) * | 2008-10-10 | 2010-04-15 | Plustech Inc. | A method for neutralizing the arp spoofing attack by using counterfeit mac addresses |
JP2014060493A (en) * | 2012-09-14 | 2014-04-03 | Buffalo Inc | Network management system, management device, wireless lan access point, method for managing plurality of wireless lan stations, program, recording medium |
JP2014202959A (en) * | 2013-04-05 | 2014-10-27 | 大日本印刷株式会社 | Color filter and display device |
Also Published As
Publication number | Publication date |
---|---|
JP6662199B2 (en) | 2020-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102388371B (en) | Detection method, apparatus and system for mainboard device | |
US10972965B2 (en) | Method and apparatus for wireless fidelity fast connection | |
CN110071855B (en) | Equipment linkage control method, device, system, gateway and storage medium | |
CN108416866B (en) | Inspection task processing method and equipment | |
US10863562B2 (en) | Peripheral device pairing | |
WO2017107383A1 (en) | Method and device for scanning for and displaying wireless hotspots | |
CN105306318A (en) | Intelligent scene configuration method and device and server | |
CN111625419B (en) | Log acquisition method, system, equipment and computer readable storage medium | |
WO2017219282A1 (en) | Method for establishing connection between intelligent terminal and fitness equipment, intelligent terminal, and server | |
CN111163469A (en) | Network distribution method of intelligent household appliance, wireless module and intelligent household appliance | |
CN106506717A (en) | A kind of automatic discovering method and equipment | |
US9271252B2 (en) | Communication terminal device, communication system, and method of controlling communication terminal device | |
CN103412832A (en) | Automatic WIFI (Wireless Fidelity) adaptation method | |
CN108885435B (en) | Control method, host, slave, mobile terminal and control system | |
JP6662199B2 (en) | Program, method for extracting device identification information, and communication device | |
CN104794117A (en) | Picture data migration method and device | |
CN106598793B (en) | Test system and test method based on BIOS serial port log data | |
CN107708141A (en) | A kind of scan method of wireless network, mobile terminal and storage medium | |
CN109951871B (en) | Method, device, terminal and storage medium for detecting node conflict | |
CN114222255B (en) | Method and device for device ad hoc network, electronic device and storage medium | |
CN108650217A (en) | Synchronous method, device, storage medium and the electronic device of action state | |
CN107888693A (en) | NB IOT apparatus debugging methods and server | |
CN105867348B (en) | The OBD device identification methods and system of range and type are asked based on data PID | |
CN109963318A (en) | Family wireless network quick connecting method, equipment, system and device | |
CN113395705A (en) | Wireless gateway configuration method, wireless networking system and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190212 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20191029 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191030 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20191210 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20200114 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200127 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6662199 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |