WO2016203566A1 - Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program - Google Patents

Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program Download PDF

Info

Publication number
WO2016203566A1
WO2016203566A1 PCT/JP2015/067435 JP2015067435W WO2016203566A1 WO 2016203566 A1 WO2016203566 A1 WO 2016203566A1 JP 2015067435 W JP2015067435 W JP 2015067435W WO 2016203566 A1 WO2016203566 A1 WO 2016203566A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
communication
communication network
response
communication device
Prior art date
Application number
PCT/JP2015/067435
Other languages
French (fr)
Japanese (ja)
Inventor
和樹 濱田
克佳 高橋
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2017524196A priority Critical patent/JP6223638B2/en
Priority to PCT/JP2015/067435 priority patent/WO2016203566A1/en
Publication of WO2016203566A1 publication Critical patent/WO2016203566A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

A communication device (100) according to the present invention is connected to a communication network. A storage unit (1006) stores a plurality of pairs of identifiers and setting information. A communication unit (1001) transmits a first message to the communication network to cause the first message to propagate in the communication network, and receives from the communication network a response message that is transmitted in response to the first message and that includes any of the identifiers stored in the storage unit (1006). A message generation unit (1002) acquires from the storage unit (1006) the setting information that is paired up with the identifier included in the response message and generates a second message including the acquired setting information. The communication unit (1001) transmits the second message to a transmission source of the response message via the communication network.

Description

通信装置及びメッセージ送受信方法及び設定処理方法及びメッセージ送受信プログラム及び設定処理プログラムCOMMUNICATION DEVICE, MESSAGE TRANSMITTING / RECEIVING METHOD, SETTING PROCESSING METHOD, MESSAGE TRANSMITTING / RECEIVING PROGRAM, AND SETTING PROCESSING PROGRAM
 本発明は、通信ネットワークに接続される通信装置に関する。 The present invention relates to a communication device connected to a communication network.
従来の技術Conventional technology
 スイッチ、ルータ等が含まれる通信ネットワークにおいて、当該通信ネットワークを構成する機器には、家庭内ネットワーク等の極めて簡易かつ小規模な例を除き、なんらかの設定が必要である。
 より具体的には、VLAN(Virtual Local Area Network)の設定、IP(Internet Protocol)アドレスの設定など、機器が通信を行う上で必須となる設定を機器に行う必要がある。
In a communication network including switches, routers, etc., some setting is required for devices constituting the communication network except for a very simple and small-scale example such as a home network.
More specifically, it is necessary to perform settings necessary for the device to perform communication such as setting of a virtual local area network (VLAN) and setting of an IP (Internet Protocol) address.
 通信ネットワークの構築時、通信ネットワークの拡張時又は機器の故障による機器の交換時などにおいては、新たに通信ネットワークに接続される機器に設定を行うことが必要である。
 各機器の設定内容は一般に機器ごとの固有の内容である。
 このため、設定入力作業は、CLI(Command Line Interface)やWebブラウザによるユーザインターフェースなどを用いた手入力で行われることがある。
 また、設定入力作業は、予め生成した設定ファイルのFTP(File Transfer Protocol)プロトコルによる転送で行われることもある。
 また、設定入力作業は、ターミナルソフトウェアのマクロ機能を用いて行われることもある。
When building a communication network, when expanding a communication network, or when replacing a device due to a failure of the device, it is necessary to make a setting for a device newly connected to the communication network.
In general, the setting contents of each device are unique to each device.
For this reason, the setting input work may be performed manually by using a command line interface (CLI) or a user interface using a web browser.
Further, the setting input work may be performed by transferring a setting file generated in advance using an FTP (File Transfer Protocol) protocol.
The setting input operation may be performed using a macro function of the terminal software.
 通信ネットワークの構築及び通信ネットワークの拡張とは異なり、機器の故障による機器の交換は突然発生する。
 このため、多くの場合、早急に機器を交換する必要がある。
 機器に故障が発生した際に早急に機器を交換するためには、通信ネットワーク構築に関する適切なスキルを持った人員を常時配置しておくこと必要となる。
 しかしながら、このような手当は、ネットワーク運用コストの増大要因となる。
 また、新たな機器に対する設定作業を限られた時間で行うことが必要となり、設定入力誤り等による新たな問題を発生させる可能性がある。
Unlike the construction of a communication network and the expansion of a communication network, replacement of a device due to a device failure occurs suddenly.
For this reason, in many cases, it is necessary to immediately replace the device.
In order to immediately replace a device when a failure occurs, it is necessary to always have personnel with appropriate skills for constructing a communication network.
However, such allowance increases the network operation cost.
In addition, setting work for a new device needs to be performed in a limited time, which may cause a new problem due to a setting input error or the like.
 ネットワーク機器の交換時の設定入力作業を簡単化する方法として、例えば特許文献1に開示の方法がある。
 特許文献1の方法では、物理ポートを有するネットワーク機器が、物理ポートと、物理ポートに接続されている他のネットワーク機器の設定内容を関連付けて保持している。
 そして、故障等により他のネットワーク機器が物理ポートから外され、新たなネットワーク機器が物理ポートに接続されると、ネットワーク機器は、当該物理ポートに関連付けて保持している設定内容を当該物理ポートから送信する。
 設定内容を受信した新たなネットワーク機器は、受信した設定内容に従った設定を行う。
 この結果、特許文献1では、ネットワーク機器の交換時に新たなネットワーク機器に手動設定を行うことなく設定内容が入力される。
As a method for simplifying the setting input operation when exchanging network devices, for example, there is a method disclosed in Patent Document 1.
In the method of Patent Document 1, a network device having a physical port holds the physical port and setting contents of other network devices connected to the physical port in association with each other.
When another network device is disconnected from the physical port due to a failure or the like, and a new network device is connected to the physical port, the network device stores the setting contents held in association with the physical port from the physical port. Send.
The new network device that has received the setting contents performs settings according to the received setting contents.
As a result, in Patent Document 1, setting contents are input without performing manual setting for a new network device when the network device is replaced.
特開2009-296453号公報JP 2009-296453 A
 しかしながら、特許文献1に記載の方法においては、物理ポートと設定内容を関連付けて保持するため、ネットワーク機器同士が直接接続されていることが必要である。
 従って、例えば、ネットワーク機器間に特許文献1に開示の機能を具備していない一般的なレイヤ2スイッチが介在している通信ネットワークでは、特許文献1の方法を用いることができない。
However, in the method described in Patent Document 1, it is necessary that the network devices are directly connected to hold the physical port and the setting contents in association with each other.
Therefore, for example, in a communication network in which a general layer 2 switch that does not have the function disclosed in Patent Document 1 is interposed between network devices, the method of Patent Document 1 cannot be used.
 本発明は、上記の事情を鑑みたものであり、通信ネットワークにスイッチ、ルータ等の中継装置が介在している場合でも、通信ネットワークに新たな接続された通信装置に対して効率的に設定情報を付与することを主な目的とする。 The present invention has been made in view of the above circumstances, and even when a relay device such as a switch or a router is interposed in the communication network, the setting information is efficiently set for the communication device newly connected to the communication network. Is the main purpose.
 本発明に係る通信装置は、
 通信ネットワークに接続されている通信装置であって、
 識別子と設定情報との対を複数記憶する記憶部と、
 第1のメッセージを前記通信ネットワークに送信し、前記第1のメッセージを前記通信ネットワーク内で伝播させ、前記第1のメッセージに応答して送信された、前記記憶部で記憶されているいずれかの識別子が含まれる応答メッセージを前記通信ネットワークから受信する第1の通信部と、
 前記応答メッセージに含まれる識別子と対になっている設定情報を前記記憶部から取得し、取得した設定情報が含まれる第2のメッセージを生成するメッセージ生成部と、
 前記応答メッセージの送信元に、前記メッセージ生成部により生成された前記第2のメッセージを前記通信ネットワークを介して送信する第2の通信部とを有する。
The communication device according to the present invention is
A communication device connected to a communication network,
A storage unit for storing a plurality of pairs of identifiers and setting information;
One of the messages stored in the storage unit that is transmitted in response to the first message, wherein the first message is transmitted to the communication network, the first message is propagated in the communication network, A first communication unit that receives a response message including an identifier from the communication network;
A message generating unit that acquires setting information paired with an identifier included in the response message from the storage unit, and generates a second message including the acquired setting information;
A second communication unit configured to transmit the second message generated by the message generation unit to the transmission source of the response message via the communication network;
 本発明では、第1のメッセージを通信ネットワーク内で伝播させることにより、通信ネットワークに新たに接続された新たな通信装置に第1のメッセージを受信させ、更に応答メッセージを送信させる。
 そして、応答メッセージに含まれる識別子と対になっている設定情報を第2のメッセージに含ませて、応答メッセージの送信元である新たな通信装置に送信することで、新たな通信装置に設定情報を付与する。
 このような手順により、本発明では、通信ネットワークにスイッチ、ルータ等の中継装置が介在している場合でも、通信ネットワークに新たな接続された通信装置に対して効率的に設定情報を付与することができる。
In the present invention, the first message is propagated in the communication network, so that a new communication device newly connected to the communication network receives the first message and further transmits a response message.
Then, the setting information paired with the identifier included in the response message is included in the second message and transmitted to the new communication device that is the transmission source of the response message, so that the setting information is transmitted to the new communication device. Is granted.
By such a procedure, in the present invention, even when a relay device such as a switch or a router is interposed in the communication network, setting information is efficiently given to the communication device newly connected to the communication network. Can do.
実施の形態1に係る通信システムの構成例を示す図。1 is a diagram illustrating a configuration example of a communication system according to Embodiment 1. FIG. 実施の形態1に係る通信装置の機能構成例を示す図。3 is a diagram illustrating a functional configuration example of a communication device according to Embodiment 1. FIG. 実施の形態1に係る通信装置の交換時の通信シーケンスを示す図。FIG. 3 is a diagram showing a communication sequence at the time of replacement of the communication apparatus according to the first embodiment. 実施の形態1に係る通信装置の処理例を示すフローチャート図。FIG. 3 is a flowchart showing a processing example of the communication apparatus according to the first embodiment. 実施の形態1に係る通信装置の処理例を示すフローチャート図。FIG. 3 is a flowchart showing a processing example of the communication apparatus according to the first embodiment. 実施の形態2に係る通信装置の交換時の通信シーケンスを示す図。The figure which shows the communication sequence at the time of replacement | exchange of the communication apparatus which concerns on Embodiment 2. FIG. 実施の形態1及び2に係る通信装置のハードウェア構成例を示す図。FIG. 3 is a diagram illustrating a hardware configuration example of a communication device according to the first and second embodiments.
 実施の形態1.
***構成の説明***
 図1は、本実施の形態に係る通信システムの構成例を示す。
 本実施の形態に係る通信システムは、通信ネットワーク301に、通信装置101~103及び中継装置201~204が接続されている。
 図1では、通信装置102が故障したため、通信装置104が通信装置102の代わりに通信ネットワーク301に接続される。
 通信装置101~104は、それぞれ同じ機能を有する。
 具体的には、通信装置101~104は、後述する新規参入確認メッセージ、応答メッセージ及び設定情報通知メッセージの送受信機能を有する。
 以下では、通信装置101~104を区別する必要がない場合は、通信装置101~104をまとめて通信装置100と表記する。
 中継装置201~204は、通信装置101~104で送受信されるメッセージを中継する。
 中継装置201~204は、例えば、ルータ又はスイッチである。
 中継装置201~204を区別する必要がない場合は、中継装置201~204をまとめて中継装置200と表記する。
 なお、図1ではリングネットワークが図示されているが、通信ネットワーク301のトポロジはリングネットワークに限定されない。
 なお、通信装置101及び103は、通信ネットワーク301に設定されているVLANに属している。
 通信装置102も、故障前は、通信装置101及び通信装置103と同じVLANに属していた。
Embodiment 1 FIG.
*** Explanation of configuration ***
FIG. 1 shows a configuration example of a communication system according to the present embodiment.
In the communication system according to the present embodiment, communication devices 101 to 103 and relay devices 201 to 204 are connected to a communication network 301.
In FIG. 1, since the communication device 102 has failed, the communication device 104 is connected to the communication network 301 instead of the communication device 102.
Each of the communication devices 101 to 104 has the same function.
Specifically, the communication devices 101 to 104 have a function of transmitting / receiving a new entry confirmation message, a response message, and a setting information notification message, which will be described later.
Hereinafter, when it is not necessary to distinguish the communication devices 101 to 104, the communication devices 101 to 104 are collectively referred to as the communication device 100.
Relay devices 201 to 204 relay messages transmitted and received by communication devices 101 to 104.
The relay devices 201 to 204 are, for example, routers or switches.
When there is no need to distinguish between the relay devices 201 to 204, the relay devices 201 to 204 are collectively referred to as the relay device 200.
In addition, although the ring network is illustrated in FIG. 1, the topology of the communication network 301 is not limited to the ring network.
Note that the communication apparatuses 101 and 103 belong to a VLAN set in the communication network 301.
The communication device 102 also belonged to the same VLAN as the communication device 101 and the communication device 103 before the failure.
 各通信装置100は、互いに、他の通信装置100との間で設定情報の交換を行う。
 また、各通信装置100は、他の通信装置100の設定情報を内部のメモリ等に格納する。
 例えば、通信装置101は、通信装置101の設定情報を、通信装置102と通信装置103に送信する。
 また、通信装置101は、通信装置102の設定情報と通信装置103の設定情報を受信し、通信装置102の設定情報と通信装置103の設定情報をメモリ等に格納する。
 同様に、通信装置102は、通信装置102の設定情報を、通信装置101と通信装置103に送信する。
 また、通信装置102は、通信装置101の設定情報と通信装置103の設定情報を受信し、通信装置101の設定情報と通信装置103の設定情報をメモリ等に格納する。
 同様に、通信装置103は、通信装置103の設定情報を、通信装置101と通信装置102に送信する。
 また、通信装置103は、通信装置101の設定情報と通信装置102の設定情報を受信し、通信装置101の設定情報と通信装置102の設定情報をメモリ等に格納する。
 通信装置100は、それぞれ識別子を持ち、他の通信装置の識別子と設定情報とを対にしてメモリに格納する。
 例えば、通信装置101は、通信装置102の識別子と通信装置102の設定情報とを対にしてメモリに格納し、通信装置103の識別子と通信装置103の設定情報との対をメモリに格納する。
 設定情報には、VLANの設定、IPアドレスの設定など、通信装置100が通信ネットワーク301で通信を行う上で必須となる設定が含まれる他、交換後の通信装置(図1の通信装置104に該当)に設定されるべき全ての情報が含まれる。
Each communication device 100 exchanges setting information with another communication device 100.
Each communication device 100 stores setting information of other communication devices 100 in an internal memory or the like.
For example, the communication device 101 transmits setting information of the communication device 101 to the communication device 102 and the communication device 103.
The communication apparatus 101 receives the setting information of the communication apparatus 102 and the setting information of the communication apparatus 103, and stores the setting information of the communication apparatus 102 and the setting information of the communication apparatus 103 in a memory or the like.
Similarly, the communication device 102 transmits the setting information of the communication device 102 to the communication device 101 and the communication device 103.
In addition, the communication device 102 receives the setting information of the communication device 101 and the setting information of the communication device 103, and stores the setting information of the communication device 101 and the setting information of the communication device 103 in a memory or the like.
Similarly, the communication device 103 transmits the setting information of the communication device 103 to the communication device 101 and the communication device 102.
Further, the communication device 103 receives the setting information of the communication device 101 and the setting information of the communication device 102, and stores the setting information of the communication device 101 and the setting information of the communication device 102 in a memory or the like.
Each communication device 100 has an identifier, and stores the identifier and setting information of another communication device in a memory in pairs.
For example, the communication device 101 stores the identifier of the communication device 102 and the setting information of the communication device 102 in a pair in the memory, and stores the pair of the identifier of the communication device 103 and the setting information in the communication device 103 in the memory.
The setting information includes settings essential for the communication device 100 to communicate on the communication network 301, such as VLAN settings and IP address settings, as well as the exchanged communication device (the communication device 104 in FIG. 1). All the information that should be set in Applicable) is included.
 なお、通信装置100間で設定情報を交換する方法はどのようなものでもよい。
 FTPやSFTP(SSH File Transfer Protocol)などのファイル転送プロトコルを用いるのが好適であるが、これに限らず任意の方法を用いることができる。
Any method for exchanging the setting information between the communication apparatuses 100 may be used.
It is preferable to use a file transfer protocol such as FTP or SFTP (SSH File Transfer Protocol), but the present invention is not limited to this, and any method can be used.
 通信装置100に固有の識別子は、通信装置100に故障が発生した後の非通電状態でも確認が可能であることが望ましい。
 また、識別子は、ネットワーク設計に関わる知識を持たない者でも確認でき、また、変更できるものが望ましい。
 例えばロータリースイッチや数ビットのDIPスイッチ(Dual In-line Package switch)などに代表される物理的なスイッチを通信装置100に実装して利用する方法が好適である。
It is desirable that an identifier unique to the communication device 100 can be confirmed even in a non-energized state after the communication device 100 has failed.
It is desirable that the identifier can be confirmed and changed by a person who does not have knowledge about network design.
For example, a method in which a physical switch typified by a rotary switch or a multi-bit DIP switch (Dual In-line Package switch) is mounted on the communication apparatus 100 and used is suitable.
 本実施の形態では、図1に示す例のように、通信装置102に故障が発生したため、通信装置102が通信ネットワーク301から外され、代わりに、通信装置104が通信ネットワーク301に接続されるものとする。
 詳細は後述するが、本実施の形態では、図3に示すように、通信装置101が、一定の周期で繰り返し新規参入確認メッセージ(第1のメッセージの例)を通信ネットワーク301にブロードキャストし、通信ネットワーク301内で新規参入確認メッセージを伝播させる。
 また、通信装置103も、同様に新規参入確認メッセージをブロードキャストする。
 新規参入確認メッセージは、通信ネットワーク301にブロードキャストされるため、通信ネットワーク301に新たに接続された通信装置も新規参入確認メッセージを受信することができる。
 従って、新たな通信装置104が通信ネットワーク301に接続すると、通信装置104は、新規参入確認メッセージを受信する。
 通信装置104は、最初に受信した新規参入確認メッセージに応答して、応答メッセージを通信ネットワーク301に送信する。
 通信装置104は、通信装置101からの新規参入確認メッセージと通信装置103からの新規参入確認メッセージとを受信するが、本実施の形態では、通信装置104が通信装置101からの新規参入確認メッセージを最初に受信し、通信装置101からの新規参入確認メッセージに対する応答メッセージを送信する例を説明する。
 応答メッセージは、通信装置104の識別子を含む。
 通信装置104の識別子は故障した通信装置102の識別子と同じとする必要がある。
 つまり、通信装置104の識別子は、通信装置101のメモリに記憶されている。
 通信装置101は、通信装置104からの応答メッセージを受信する。
 そして、通信装置101は、通信装置104からの応答メッセージに含まれる識別子と対になっている設定情報をメモリから読み出し、読み出した設定情報が含まれる設定情報通知メッセージ(第2のメッセージの例)を通信装置104に送信する。
 通信装置104は、設定情報通知メッセージを受信し、受信した設定情報通知メッセージに含まれる設定情報に従った設定を行う。
In the present embodiment, as shown in the example of FIG. 1, since a failure has occurred in the communication device 102, the communication device 102 is disconnected from the communication network 301, and instead the communication device 104 is connected to the communication network 301. And
Although details will be described later, in the present embodiment, as shown in FIG. 3, the communication apparatus 101 repeatedly broadcasts a new entry confirmation message (example of a first message) at a constant cycle to the communication network 301 for communication. A new entry confirmation message is propagated in the network 301.
Similarly, the communication device 103 broadcasts a new entry confirmation message.
Since the new entry confirmation message is broadcast to the communication network 301, the communication apparatus newly connected to the communication network 301 can also receive the new entry confirmation message.
Therefore, when a new communication device 104 connects to the communication network 301, the communication device 104 receives a new entry confirmation message.
The communication device 104 transmits a response message to the communication network 301 in response to the newly received new entry confirmation message.
The communication device 104 receives the new entry confirmation message from the communication device 101 and the new entry confirmation message from the communication device 103. In this embodiment, the communication device 104 receives the new entry confirmation message from the communication device 101. An example of receiving a response message to the new entry confirmation message from the communication apparatus 101 first will be described.
The response message includes the identifier of the communication device 104.
The identifier of the communication device 104 needs to be the same as the identifier of the communication device 102 that has failed.
That is, the identifier of the communication device 104 is stored in the memory of the communication device 101.
The communication device 101 receives the response message from the communication device 104.
Then, the communication device 101 reads the setting information paired with the identifier included in the response message from the communication device 104 from the memory, and a setting information notification message (second message example) including the read setting information. Is transmitted to the communication device 104.
The communication device 104 receives the setting information notification message and performs setting according to the setting information included in the received setting information notification message.
 図2は、本実施の形態に係る通信装置100の機能構成例を示す。 FIG. 2 shows a functional configuration example of the communication apparatus 100 according to the present embodiment.
 通信部1001は、メッセージを通信する。
 以下では、既に通信ネットワーク301に参入している通信装置(例えば、通信装置101)の通信部1001の動作と、新たに通信ネットワーク301に参入する通信装置(例えば、通信装置104)の通信部1001の動作に分けて説明を行う。
(1)通信装置100が既に通信ネットワーク301に参入している場合
 通信装置100が既に通信ネットワーク301に参入している通信装置(例えば、通信装置101)であれば、通信部1001は、新規参入確認メッセージをブロードキャストし、新規参入確認メッセージを通信ネットワーク301内で伝播させる(第1の通信部として動作する)。
 また、通信部1001は、自装置が送信した新規参入確認メッセージに応答して送信された、応答メッセージを通信ネットワーク301から受信する(第1の通信部として動作する)。
 通信部1001は、自装置以外の通信装置が送信した新規参入確認メッセージに応答して送信された応答メッセージは受信しない。
 更に、通信部1001は、設定情報通知メッセージを通信ネットワーク301を介して、応答メッセージの送信元(通信装置104)に送信する(第2の通信部として動作する)。
(2)通信装置100が新たに通信ネットワーク301に参入する場合
 通信装置100が新たに通信ネットワーク301に参入する通信装置(例えば、通信装置104)であれば、通信部1001は、通信ネットワーク301から、新規参入確認メッセージを受信する(第1の通信部として動作する)。
 また、通信部1001は、新規参入確認メッセージの送信元である通信装置(例えば、通信装置101)に、応答メッセージを送信する(第2の通信部として動作する)。
 また、通信部1001は、通信ネットワーク301から、設定情報通知メッセージを受信する(第2の通信部として動作する)。
The communication unit 1001 communicates messages.
In the following, the operation of the communication unit 1001 of the communication device (for example, the communication device 101) that has already entered the communication network 301 and the communication unit 1001 of the communication device (for example, the communication device 104) that newly enters the communication network 301. The explanation is divided into the operations.
(1) When the communication apparatus 100 has already entered the communication network 301 If the communication apparatus 100 has already entered the communication network 301 (for example, the communication apparatus 101), the communication unit 1001 newly enters the communication network 301. A confirmation message is broadcast, and a new entry confirmation message is propagated in the communication network 301 (operates as a first communication unit).
In addition, the communication unit 1001 receives a response message transmitted in response to the new entry confirmation message transmitted by the own device from the communication network 301 (operates as a first communication unit).
The communication unit 1001 does not receive a response message transmitted in response to a new entry confirmation message transmitted by a communication device other than its own device.
Furthermore, the communication unit 1001 transmits the setting information notification message to the response message transmission source (communication device 104) via the communication network 301 (operates as a second communication unit).
(2) When the communication device 100 newly enters the communication network 301 If the communication device 100 is a communication device (for example, the communication device 104) that newly enters the communication network 301, the communication unit 1001 The new entry confirmation message is received (operates as the first communication unit).
The communication unit 1001 transmits a response message to the communication device (for example, the communication device 101) that is the transmission source of the new entry confirmation message (operates as a second communication unit).
The communication unit 1001 receives a setting information notification message from the communication network 301 (operates as a second communication unit).
 メッセージ生成部1002は、メッセージを生成する。
 通信装置100が通信装置101であれば、メッセージ生成部1002は、新規参入確認メッセージを生成する。
 また、メッセージ生成部1002は、通信部1001が応答メッセージを受信した場合に、後述する記憶部1006から、応答メッセージに含まれる識別子と対になっている設定情報を取得し、取得した設定情報が含まれる設定情報通知メッセージを生成する。
 また、通信装置100が通信装置104であれば、通信部1001により新規参入確認メッセージが受信された場合に、メッセージ生成部1002は、応答メッセージを生成する。
The message generation unit 1002 generates a message.
If the communication device 100 is the communication device 101, the message generation unit 1002 generates a new entry confirmation message.
In addition, when the communication unit 1001 receives a response message, the message generation unit 1002 acquires setting information that is paired with an identifier included in the response message from the storage unit 1006 described later. Generate included setting information notification message.
Also, if the communication device 100 is the communication device 104, when the communication unit 1001 receives a new entry confirmation message, the message generation unit 1002 generates a response message.
 メッセージ解析部1003は、通信部1001が受信したメッセージを解析して、メッセージの種類を判別する。 The message analysis unit 1003 analyzes the message received by the communication unit 1001 and determines the type of message.
 設定処理部1004は、設定情報を用いた設定処理を行う。
 通信装置100が通信装置104であれば、設定処理部1004は、通信部1001により設定情報通知メッセージを受信された場合に、設定情報通知メッセージに含まれる設定情報を用いた設定処理を行う。
The setting processing unit 1004 performs setting processing using setting information.
If the communication device 100 is the communication device 104, the setting processing unit 1004 performs setting processing using the setting information included in the setting information notification message when the communication unit 1001 receives the setting information notification message.
 制御部1005は、通信装置100の全体の制御を行う。 The control unit 1005 performs overall control of the communication device 100.
 記憶部1006は、識別子と設定情報との対を複数記憶する。
 前述したように、通信装置100が通信装置101であれば、記憶部1006は、通信装置102の識別子と設定情報との対と、通信装置103の識別子と設定情報との対を記憶する。
The storage unit 1006 stores a plurality of pairs of identifiers and setting information.
As described above, if the communication device 100 is the communication device 101, the storage unit 1006 stores a pair of the identifier of the communication device 102 and the setting information and a pair of the identifier of the communication device 103 and the setting information.
***動作の説明***
 次に、本実施の形態に係る通信装置の動作例を説明する。
 図3は、通信ネットワーク301に接続する通信装置を交換する際の通信シーケンスを示す。
 より具体的には、図3は、故障が発生した通信装置102に代えて、通信装置104を通信ネットワーク301に接続する際の通信装置101と通信装置104との間の通信シーケンスを示す。
 また、図4は、通信装置101の動作例を示すフローチャート図である。
 また、図5は、通信装置104の動作例を示すフローチャート図である。
 図4に示す処理手順は、メッセージ送受信方法及びメッセージ送受信プログラムの例に相当する。
 また、図5に示す処理手順は、設定処理方法及び設定処理プログラムの例に相当する。
 なお、本実施の形態では、通信装置104には通信装置102と同一の識別子が付与されている。
*** Explanation of operation ***
Next, an operation example of the communication apparatus according to the present embodiment will be described.
FIG. 3 shows a communication sequence when exchanging communication devices connected to the communication network 301.
More specifically, FIG. 3 shows a communication sequence between the communication apparatus 101 and the communication apparatus 104 when the communication apparatus 104 is connected to the communication network 301 instead of the communication apparatus 102 in which a failure has occurred.
FIG. 4 is a flowchart illustrating an operation example of the communication apparatus 101.
FIG. 5 is a flowchart showing an operation example of the communication apparatus 104.
The processing procedure shown in FIG. 4 corresponds to an example of a message transmission / reception method and a message transmission / reception program.
5 corresponds to an example of a setting processing method and a setting processing program.
In the present embodiment, the same identifier as that of the communication device 102 is assigned to the communication device 104.
 通信装置101は、新規参入確認メッセージを一定の間隔で繰り返し送信する(図3のS01、図4のS11)(第1の通信処理)。
 通信装置101において、中継装置201と接続されたポートがアクセスポートである場合、メッセージ生成部1002はVLANタグが付与されていない新規参入確認メッセージを生成する。
 つまり、通信ネットワーク301に接続されている通信インターフェースがVLANタグ無しで通信を行う設定がなされている場合には、通信装置101は、VLANタグが付与されない新規参入確認メッセージを送信する。
 また、通信インターフェースがVLANタグ付きで通信を行う設定がなされている場合には、通信装置101は、通信インターフェースに設定されているVIDを含むVLANタグが付与された新規参入確認メッセージを送信する。
 また、VLANタグが付与されない新規参入確認メッセージを送信した場合は、通信装置101は、VLANタグが付与されない応答メッセージを受信する。
 一方、VLANタグが付与された新規参入確認メッセージを送信した場合は、通信装置101は、VIDを含むVLANタグが付与された応答メッセージを受信する。
 通信装置101では、通信部1001が新規参入確認メッセージを通信ネットワーク301に送信する。
The communication apparatus 101 repeatedly transmits a new entry confirmation message at regular intervals (S01 in FIG. 3 and S11 in FIG. 4) (first communication process).
In the communication apparatus 101, when the port connected to the relay apparatus 201 is an access port, the message generation unit 1002 generates a new entry confirmation message without a VLAN tag.
That is, when the communication interface connected to the communication network 301 is set to perform communication without a VLAN tag, the communication apparatus 101 transmits a new entry confirmation message without a VLAN tag.
When the communication interface is set to perform communication with a VLAN tag, the communication apparatus 101 transmits a new entry confirmation message to which a VLAN tag including a VID set to the communication interface is added.
In addition, when a new entry confirmation message without a VLAN tag is transmitted, the communication apparatus 101 receives a response message without a VLAN tag.
On the other hand, when a new entry confirmation message with a VLAN tag is transmitted, the communication apparatus 101 receives a response message with a VLAN tag including a VID.
In the communication apparatus 101, the communication unit 1001 transmits a new entry confirmation message to the communication network 301.
 新規参入確認メッセージが中継装置201及び中継装置202を経て通信装置104に到達すると、通信装置104の通信部1001が新規参入確認メッセージを受信する(図5のS21)(第1の通信処理)。
 そして、通信部1001は受信したメッセージをメッセージ解析部1003に転送し、メッセージ解析部1003は当該メッセージの種類を判別する(図5のS22)。
 ここでは、受信されたメッセージは新規参入確認メッセージであるので、メッセージ解析部1003は、新規参入確認メッセージから、新規参入確認メッセージの送信元(通信装置101)との通信に用いるVLANの方式を判定する(図5のS24)。
 新規参入確認メッセージにVLANタグが含まれている場合は、メッセージ解析部1003は、新規参入確認メッセージの送信元との通信にタグVLANが用いられると判定し、アクセスポート設定を行う。
 この際のVIDは仮であり、その決定方法については任意の方法でよい。
 新規参入確認メッセージにVLANタグが含まれていない場合は、メッセージ解析部1003は、新規参入確認メッセージの送信元との通信にポートVLANが用いられると判定する。
 新規参入確認メッセージの送信元との通信にVLANタグが用いられる場合は、設定処理部1004が、新規参入確認メッセージに含まれるVID(VLAN ID)を、新規参入確認メッセージを受信したポートのタグ付きメンバVLANに設定する(図3のS02)。
 なお、新規参入確認メッセージ内に、VIDを格納するフィールド及び、タグ有無を示すフィールドを設けるようにしてもよい。
 この場合については、新規参入確認メッセージのVLANタグ有無、及びVLANタグがある場合のVLANタグの内容に関わらず、設定処理部1004は、新規参入確認メッセージ内のVID及びタグ有無フィールドにより、該当ポートへのVLAN設定を行う。
When the new entry confirmation message reaches the communication device 104 via the relay device 201 and the relay device 202, the communication unit 1001 of the communication device 104 receives the new entry confirmation message (S21 in FIG. 5) (first communication processing).
Then, the communication unit 1001 transfers the received message to the message analysis unit 1003, and the message analysis unit 1003 determines the type of the message (S22 in FIG. 5).
Here, since the received message is a new entry confirmation message, the message analysis unit 1003 determines the VLAN method used for communication with the transmission source (communication device 101) of the new entry confirmation message from the new entry confirmation message. (S24 in FIG. 5).
When the VLAN tag is included in the new entry confirmation message, the message analysis unit 1003 determines that the tag VLAN is used for communication with the transmission source of the new entry confirmation message, and performs access port setting.
The VID at this time is provisional, and any method may be used for determining the VID.
When the VLAN tag is not included in the new entry confirmation message, the message analysis unit 1003 determines that the port VLAN is used for communication with the transmission source of the new entry confirmation message.
When a VLAN tag is used for communication with the transmission source of the new entry confirmation message, the setting processing unit 1004 adds the VID (VLAN ID) included in the new entry confirmation message to the port that received the new entry confirmation message. The member VLAN is set (S02 in FIG. 3).
In the new entry confirmation message, a field for storing the VID and a field indicating the presence / absence of a tag may be provided.
In this case, regardless of the presence / absence of the VLAN tag in the new entry confirmation message and the contents of the VLAN tag when there is a VLAN tag, the setting processing unit 1004 determines the corresponding port by the VID and tag presence / absence fields in the new entry confirmation message. Set the VLAN to
 次に、通信装置104では、メッセージ生成部1002が、応答メッセージを生成する(図5のS25)(メッセージ生成処理)。
 メッセージ生成部1002は、応答メッセージに、通信装置104の識別子(=通信装置102の識別子)を含ませる。
 通信装置101との通信に用いられるVLANの方式がタグVLANである場合は、メッセージ生成部1002は、VLANタグ(VID)を付与した応答メッセージを生成する。
 また、ポートVLANである場合は、メッセージ生成部1002は、VLANタグが付与されない応答メッセージを生成する。
Next, in the communication device 104, the message generation unit 1002 generates a response message (S25 in FIG. 5) (message generation processing).
The message generation unit 1002 includes the identifier of the communication device 104 (= identifier of the communication device 102) in the response message.
When the VLAN method used for communication with the communication apparatus 101 is a tag VLAN, the message generation unit 1002 generates a response message with a VLAN tag (VID).
In the case of a port VLAN, the message generation unit 1002 generates a response message to which no VLAN tag is attached.
 次に、通信部1001が、新規参入確認メッセージの送信元である通信装置100に応答メッセージを送信する(図3のS03、図5のS26)。
 応答メッセージは、ユニキャストで送信される。
 応答メッセージを、マルチキャストもしくはブロードキャストとして送ることも可能であるが、通信装置101と通信装置103の双方が応答メッセージを受信することになり、通信装置101と通信装置103の双方から通信装置104に設定情報通知メッセージが送信される。
 通信装置104では、通信装置101と通信装置103の双方から送信された設定情報通知メッセージの一方を破棄する処理が発生する。
 このような設定情報通知メッセージの重複した送信及び通信装置104における設定情報通知メッセージの破棄処理を回避するために、通信装置104は応答メッセージをユニキャストで送信するのが望ましい。
Next, the communication unit 1001 transmits a response message to the communication device 100 that is the transmission source of the new entry confirmation message (S03 in FIG. 3 and S26 in FIG. 5).
The response message is transmitted by unicast.
Although it is possible to send the response message as multicast or broadcast, both the communication device 101 and the communication device 103 receive the response message, and are set in the communication device 104 from both the communication device 101 and the communication device 103. An information notification message is sent.
In the communication device 104, processing for discarding one of the setting information notification messages transmitted from both the communication device 101 and the communication device 103 occurs.
In order to avoid such duplicate transmission of the setting information notification message and the discarding processing of the setting information notification message in the communication device 104, the communication device 104 preferably transmits the response message by unicast.
 通信装置101では、通信部1001が応答メッセージを受信する(図3のS03、図4のS12)(第1の通信処理)。
 通信部1001は、受信した応答メッセージをメッセージ解析部1003に転送する。
 メッセージ解析部1003は、応答メッセージを受信したと判定する(図4のS13)。
 メッセージ解析部1003は、応答メッセージをメッセージ生成部1002に転送する。
 メッセージ生成部1002は、応答メッセージから通信装置104の識別子を抽出する(図4のS15)。
 更に、メッセージ生成部1002は、応答メッセージから抽出した識別子に対応する設定情報を記憶部1006から読み出す(図4のS16)(メッセージ生成処理)。
 前述したように、通信装置104の識別子は通信装置102の識別子と同じであるため、記憶部1006には、設定情報とともに通信装置104の識別子が記憶されている。
 そして、メッセージ生成部1002は、記憶部1006から読み出した設定情報が含まれる設定情報通知メッセージを生成する(図4のS17)(メッセージ生成処理)。
 なお、メッセージ生成部1002は、設定情報通知メッセージをIPパケットの形式では生成せず、イーサネット(登録商標)パケットの形式で生成する。
 より具体的には、メッセージ生成部1002は。イーサネット(登録商標)パケットのペイロード部分に設定情報を格納する。
 なお、通信装置104との通信に用いるVLANの方式がタグVLANであれば、メッセージ生成部1002は、設定情報通知メッセージにもVLANタグ(VID)を含ませる。
In the communication apparatus 101, the communication unit 1001 receives the response message (S03 in FIG. 3 and S12 in FIG. 4) (first communication process).
The communication unit 1001 transfers the received response message to the message analysis unit 1003.
The message analysis unit 1003 determines that a response message has been received (S13 in FIG. 4).
The message analysis unit 1003 transfers the response message to the message generation unit 1002.
The message generation unit 1002 extracts the identifier of the communication device 104 from the response message (S15 in FIG. 4).
Furthermore, the message generation unit 1002 reads setting information corresponding to the identifier extracted from the response message from the storage unit 1006 (S16 in FIG. 4) (message generation processing).
As described above, since the identifier of the communication device 104 is the same as the identifier of the communication device 102, the storage unit 1006 stores the identifier of the communication device 104 together with the setting information.
Then, the message generation unit 1002 generates a setting information notification message including the setting information read from the storage unit 1006 (S17 in FIG. 4) (message generation processing).
Note that the message generation unit 1002 does not generate the setting information notification message in the IP packet format, but generates an Ethernet (registered trademark) packet format.
More specifically, the message generation unit 1002. Setting information is stored in the payload portion of the Ethernet (registered trademark) packet.
If the VLAN method used for communication with the communication device 104 is a tag VLAN, the message generation unit 1002 includes the VLAN tag (VID) in the setting information notification message.
 メッセージ生成部1002は、生成した設定情報通知メッセージを通信部1001に転送する。
 通信部1001は、通信ネットワーク301から、設定情報通知メッセージを、応答メッセージの送信元(通信装置104)に送信する(図3のS04、図4のS18)(第2の通信処理)。
The message generation unit 1002 transfers the generated setting information notification message to the communication unit 1001.
The communication unit 1001 transmits a setting information notification message from the communication network 301 to the transmission source (communication device 104) of the response message (S04 in FIG. 3 and S18 in FIG. 4) (second communication process).
 通信装置104は、通信ネットワーク301から、設定情報通知メッセージを受信する(図3のS04、図5のS21)(第2の通信処理)。
 メッセージ解析部1003は、設定情報通知メッセージを受信したと判定する(図5のS22)。
 メッセージ解析部1003は、設定情報通知メッセージを設定処理部1004に転送する。
 設定処理部1004は、設定情報通知メッセージから設定情報を抽出する(図5のS27)。
 そして、設定処理部1004は、設定情報に従って設定処理を行う(図3のS05、図5のS28)(設定処理)。
 設定処理部1004による設定処理が行われた後は、通信装置104は、図4に示す動作を行う。
The communication device 104 receives the setting information notification message from the communication network 301 (S04 in FIG. 3 and S21 in FIG. 5) (second communication process).
The message analysis unit 1003 determines that the setting information notification message has been received (S22 in FIG. 5).
The message analysis unit 1003 transfers the setting information notification message to the setting processing unit 1004.
The setting processing unit 1004 extracts setting information from the setting information notification message (S27 in FIG. 5).
Then, the setting processing unit 1004 performs setting processing according to the setting information (S05 in FIG. 3 and S28 in FIG. 5) (setting processing).
After the setting processing by the setting processing unit 1004 is performed, the communication device 104 performs the operation illustrated in FIG.
 なお、通信装置101において、応答メッセージ以外のメッセージを受信した場合は、制御部1005が、受信したメッセージの種類に応じた処理を行う(図4のS14)。
 また、通信装置104において、新規参入確認メッセージ及び設定情報通知メッセージ以外のメッセージを受信した場合は、通信部1001は、受信したメッセージを破棄する。
When the communication device 101 receives a message other than the response message, the control unit 1005 performs processing according to the type of the received message (S14 in FIG. 4).
When the communication device 104 receives a message other than the new entry confirmation message and the setting information notification message, the communication unit 1001 discards the received message.
 なお、以上では、通信装置101と通信装置104との間のメッセージの送受信について説明した。
 本実施の形態に係る通信ネットワーク301では、通信装置103でも同様に、一定間隔で新規参入確認メッセージを送信している。
 このため、通信装置104には、通信装置101からの新規参入確認メッセージと通信装置103からの新規参入確認メッセージが届く。
 通信装置104は、先に受信した新規参入確認メッセージの送信元に応答メッセージを送信し、後に受信した新規参入確認メッセージは破棄し、後に受信した新規参入確認メッセージの送信元には応答メッセージを送信しない。
 また、通信装置101にも通信装置103が送信した新規参入確認メッセージが届くが、通信装置101は通信装置103からの新規参入確認メッセージは破棄する。
In the above description, transmission / reception of messages between the communication device 101 and the communication device 104 has been described.
In communication network 301 according to the present embodiment, communication apparatus 103 similarly transmits new entry confirmation messages at regular intervals.
For this reason, the communication device 104 receives a new entry confirmation message from the communication device 101 and a new entry confirmation message from the communication device 103.
The communication device 104 transmits a response message to the transmission source of the new entry confirmation message received earlier, discards the new entry confirmation message received later, and transmits a response message to the transmission source of the new entry confirmation message received later. do not do.
In addition, the new entry confirmation message transmitted from the communication apparatus 103 reaches the communication apparatus 101, but the communication apparatus 101 discards the new entry confirmation message from the communication apparatus 103.
***実施の形態の効果の説明***
 以上のように、本実施の形態によれば、通信装置に故障が発生して新たな通信装置を通信ネットワークに接続した場合に、新たな通信装置の設定を自動的に行うことが可能になる。
 また、本実施の形態では、中継装置が介在する通信ネットワークにおいても、新たな通信装置の設定を自動的に行うことができる。
*** Explanation of the effect of the embodiment ***
As described above, according to this embodiment, when a failure occurs in a communication device and a new communication device is connected to the communication network, it becomes possible to automatically set a new communication device. .
In the present embodiment, a new communication device can be automatically set even in a communication network in which a relay device is interposed.
 実施の形態2.
 実施の形態1では、イーサネット(登録商標)通信にて、新たな通信装置に設定情報を付与していた。
 本実施の形態では、IP通信にて、新たな通信装置に設定情報を付与する例を説明する。
Embodiment 2. FIG.
In the first embodiment, setting information is given to a new communication device by Ethernet (registered trademark) communication.
In this embodiment, an example will be described in which setting information is given to a new communication device by IP communication.
 本実施の形態に係る通信システムの構成例は図1に示した通りである。
 また、通信装置100の機能構成例も図2に示した通りである。
A configuration example of a communication system according to the present embodiment is as shown in FIG.
An example of the functional configuration of the communication apparatus 100 is also as shown in FIG.
 本実施の形態における通信シーケンスの例を図6に示す。
 図6の例でも、故障が発生した通信装置102の代わりに通信装置104が通信ネットワーク301に新たに接続されたものとする。
 また、通信装置104の識別子は通信装置102の識別子と同一である。
An example of a communication sequence in the present embodiment is shown in FIG.
Also in the example of FIG. 6, it is assumed that the communication device 104 is newly connected to the communication network 301 instead of the communication device 102 in which the failure has occurred.
Further, the identifier of the communication device 104 is the same as the identifier of the communication device 102.
 図6において、通信装置101からの新規参入確認メッセージの受信に応答して、通信装置104が応答メッセージを送信するまでは実施の形態1と同様である。
 通信装置101は、応答メッセージを受信すると、設定情報通知メッセージの送信に先立ち、通信装置104との設定情報通知メッセージの通信に用いるIPアドレスを指定する。
 そして、通信装置101は、指定したIPアドレスが含まれるIPアドレス通知メッセージ(第3のメッセージの例)を通信装置104に送信する(S30)。
 IPアドレスの指定及びIPアドレス通知メッセージの生成は、通信装置101のメッセージ生成部1002が行う。
 なお、メッセージ生成部1002は、通信装置104との通信に用いるIPアドレスと、して、通信装置102が故障前に用いていたIPアドレスを指定することができる。
 また、メッセージ生成部1002は、設定情報通知メッセージの通信に専用に用いられるIPアドレスを指定してもよい。
In FIG. 6, the process is the same as in the first embodiment until the communication apparatus 104 transmits a response message in response to the reception of the new entry confirmation message from the communication apparatus 101.
When receiving the response message, the communication apparatus 101 designates an IP address used for communication of the setting information notification message with the communication apparatus 104 prior to transmission of the setting information notification message.
Then, the communication device 101 transmits an IP address notification message (example of the third message) including the designated IP address to the communication device 104 (S30).
The message generation unit 1002 of the communication apparatus 101 performs IP address designation and IP address notification message generation.
Note that the message generation unit 1002 can specify the IP address used by the communication apparatus 102 before the failure as the IP address used for communication with the communication apparatus 104.
Further, the message generation unit 1002 may specify an IP address used exclusively for communication of the setting information notification message.
 通信装置104は、IPアドレス通知メッセージで通知されたIPアドレスを設定し(S31)、通信装置101から設定情報通知メッセージをIP通信で受信する(S32)。
 通信装置104は、例えばFTPやSFTPなどに代表されるファイル転送プロトコルを用いて、IP通信により通信装置101から設定情報通知メッセージを受信する。
 通信装置104は、FTP及びSFTP以外のIP通信による任意の転送方法を用いてもよい。
The communication device 104 sets the IP address notified by the IP address notification message (S31), and receives the setting information notification message from the communication device 101 by IP communication (S32).
The communication device 104 receives a setting information notification message from the communication device 101 by IP communication using a file transfer protocol represented by, for example, FTP or SFTP.
The communication device 104 may use any transfer method by IP communication other than FTP and SFTP.
 このように、本実施の形態によれば、通信装置に故障が発生して新たな通信装置を通信ネットワークに接続した場合に、新たな通信装置の設定をFTP、SFTPなどのIPベースのファイル転送プロトコルを用いて実現することができる。
 これらのファイル転送プロトコルは多くの通信装置に標準で用意されている機能であり、本実施の形態により、実施の形態1と同等の機能を実施の形態1と比較して、より簡単に実現することが可能となる。
As described above, according to the present embodiment, when a failure occurs in a communication device and the new communication device is connected to the communication network, the setting of the new communication device is based on IP-based file transfer such as FTP or SFTP. It can be realized using a protocol.
These file transfer protocols are functions provided as standard in many communication apparatuses, and the present embodiment makes it possible to realize functions equivalent to those in the first embodiment more easily than in the first embodiment. It becomes possible.
 また、FTPやSFTPなどのファイル転送プロトコルはTCP(Transmission Control Protocol)/IP上で動作するプロトコルであり、TCP/IPの機能による到達確認機能を利用することが可能である。
 従って、本実施の形態では、実施の形態1と比較してより確実な設定処理を、実施の形態1と比較してより簡単に実現することが可能となる。
Also, file transfer protocols such as FTP and SFTP are protocols that operate on TCP (Transmission Control Protocol) / IP, and it is possible to use an arrival confirmation function based on the TCP / IP function.
Therefore, in the present embodiment, a more reliable setting process than that in the first embodiment can be realized more easily than in the first embodiment.
 以上、本発明の実施の形態について説明したが、これら2つの実施の形態を組み合わせて実施しても構わない。
 あるいは、これら2つの実施の形態のうち、1つを部分的に実施しても構わない。
 あるいは、これら2つの実施の形態を部分的に組み合わせて実施しても構わない。
 なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。
Although the embodiments of the present invention have been described above, these two embodiments may be combined and implemented.
Alternatively, one of these two embodiments may be partially implemented.
Alternatively, these two embodiments may be partially combined.
In addition, this invention is not limited to these embodiment, A various change is possible as needed.
 また、実施の形態1及び2では、通信ネットワークに中継装置200が含まれる例を説明したが、中継装置200が含まれていない通信ネットワークにおいて通信装置101と通信装置104が実施の形態1及び2で説明したメッセージの交換を行うようにしてもよい。 In the first and second embodiments, the example in which the relay device 200 is included in the communication network has been described. However, in the communication network in which the relay device 200 is not included, the communication device 101 and the communication device 104 are the first and second embodiments. You may make it perform the exchange of the message demonstrated by (1).
***ハードウェア構成の説明***
 最後に、通信装置100のハードウェア構成例を図7を参照して説明する。
 通信装置100はコンピュータである。
 通信装置100は、プロセッサ901、補助記憶装置902、メモリ903、ネットワークインタフェース904といったハードウェアを備える。
 プロセッサ901は、信号線910を介して他のハードウェアと接続され、これら他のハードウェアを制御する。
*** Explanation of hardware configuration ***
Finally, a hardware configuration example of the communication apparatus 100 will be described with reference to FIG.
The communication device 100 is a computer.
The communication device 100 includes hardware such as a processor 901, an auxiliary storage device 902, a memory 903, and a network interface 904.
The processor 901 is connected to other hardware via the signal line 910, and controls these other hardware.
 プロセッサ901は、プロセッシングを行うIC(Integrated Circuit)である。
 プロセッサ901は、例えば、CPU(Central Processing Unit)、DSP(Digital Signal Processor)、GPU(Graphics Processing Unit)である。
 補助記憶装置902は、例えば、ROM(Read Only Memory)、フラッシュメモリ、HDD(Hard Disk Drive)である。
 メモリ903は、例えば、RAM(Random Access Memory)である。
 図2に示す記憶部1006は、補助記憶装置902又はメモリ903により実現される。
 ネットワークインタフェース904は、データを受信するレシーバー9041及びデータを送信するトランスミッター9042を含む。
 ネットワークインタフェース904は、例えば、通信チップ又はNIC(Network Interface Card)である。
The processor 901 is an IC (Integrated Circuit) that performs processing.
The processor 901 is, for example, a CPU (Central Processing Unit), a DSP (Digital Signal Processor), or a GPU (Graphics Processing Unit).
The auxiliary storage device 902 is, for example, a ROM (Read Only Memory), a flash memory, or an HDD (Hard Disk Drive).
The memory 903 is, for example, a RAM (Random Access Memory).
The storage unit 1006 illustrated in FIG. 2 is realized by the auxiliary storage device 902 or the memory 903.
The network interface 904 includes a receiver 9041 that receives data and a transmitter 9042 that transmits data.
The network interface 904 is, for example, a communication chip or a NIC (Network Interface Card).
 補助記憶装置902には、図2に示す通信部1001、メッセージ生成部1002、メッセージ解析部1003、設定処理部1004、制御部1005(以下、通信部1001、メッセージ生成部1002、メッセージ解析部1003、設定処理部1004、制御部1005をまとめて「部」と表記する)の機能を実現するプログラムが記憶されている。
 このプログラムは、メモリ903にロードされ、プロセッサ901に読み込まれ、プロセッサ901によって実行される。
 更に、補助記憶装置902には、OS(Operating System)が記憶されていてもよい。
 そして、補助記憶装置902にOSが記憶されている場合は、OSの少なくとも一部がメモリ903にロードされ、プロセッサ901はOSを実行しながら、「部」の機能を実現するプログラムを実行する。
 なお、補助記憶装置902にOSが記憶されていなくてもよい。
 図7では、1つのプロセッサ901が図示されているが、通信装置100が複数のプロセッサ901を備えていてもよい。
 そして、複数のプロセッサ901が「部」の機能を実現するプログラムを連携して実行してもよい。
 また、「部」の処理の結果を示す情報やデータや信号値や変数値が、メモリ903、補助記憶装置902、又は、プロセッサ901内のレジスタ又はキャッシュメモリに記憶される。
The auxiliary storage device 902 includes a communication unit 1001, a message generation unit 1002, a message analysis unit 1003, a setting processing unit 1004, and a control unit 1005 (hereinafter, communication unit 1001, message generation unit 1002, message analysis unit 1003, A program for realizing the function of the setting processing unit 1004 and the control unit 1005 is collectively described as “unit” is stored.
This program is loaded into the memory 903, read into the processor 901, and executed by the processor 901.
Further, the auxiliary storage device 902 may store an OS (Operating System).
When the OS is stored in the auxiliary storage device 902, at least a part of the OS is loaded into the memory 903, and the processor 901 executes the program that realizes the function of “unit” while executing the OS.
Note that the OS may not be stored in the auxiliary storage device 902.
In FIG. 7, one processor 901 is illustrated, but the communication apparatus 100 may include a plurality of processors 901.
A plurality of processors 901 may execute a program for realizing the function of “unit” in cooperation with each other.
In addition, information, data, signal values, and variable values indicating the processing results of “unit” are stored in the memory 903, the auxiliary storage device 902, or a register or cache memory in the processor 901.
 「部」を「サーキットリー」で提供してもよい。
 また、「部」を「回路」又は「工程」又は「手順」又は「処理」に読み替えてもよい。
 「回路」及び「サーキットリー」は、プロセッサ901だけでなく、ロジックIC又はGA(Gate Array)又はASIC(Application Specific Integrated Circuit)又はFPGA(Field-Programmable Gate Array)といった他の種類の処理回路をも包含する概念である。
The “part” may be provided as “circuitry”.
Further, “part” may be read as “circuit”, “process”, “procedure”, or “processing”.
“Circuit” and “Circuitry” include not only the processor 901 but also other types of processing circuits such as a logic IC or GA (Gate Array) or ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array). It is a concept to include.
 100 通信装置、101 通信装置、102 通信装置、103 通信装置、104 通信装置、201 中継装置、202 中継装置、203 中継装置、204 中継装置、301 通信ネットワーク、1001 通信部、1002 メッセージ生成部、1003 メッセージ解析部、1004 設定処理部、1005 制御部、1006 記憶部。 100 communication device, 101 communication device, 102 communication device, 103 communication device, 104 communication device, 201 relay device, 202 relay device, 203 relay device, 204 relay device, 301 communication network, 1001 communication unit, 1002 message generation unit, 1003 Message analysis unit, 1004 setting processing unit, 1005 control unit, 1006 storage unit.

Claims (12)

  1.  通信ネットワークに接続されている通信装置であって、
     識別子と設定情報との対を複数記憶する記憶部と、
     第1のメッセージを前記通信ネットワークに送信し、前記第1のメッセージを前記通信ネットワーク内で伝播させ、前記第1のメッセージに応答して送信された、前記記憶部で記憶されているいずれかの識別子が含まれる応答メッセージを前記通信ネットワークから受信する第1の通信部と、
     前記応答メッセージに含まれる識別子と対になっている設定情報を前記記憶部から取得し、取得した設定情報が含まれる第2のメッセージを生成するメッセージ生成部と、
     前記応答メッセージの送信元に、前記メッセージ生成部により生成された前記第2のメッセージを前記通信ネットワークを介して送信する第2の通信部とを有する通信装置。
    A communication device connected to a communication network,
    A storage unit for storing a plurality of pairs of identifiers and setting information;
    One of the messages stored in the storage unit that is transmitted in response to the first message, wherein the first message is transmitted to the communication network, the first message is propagated in the communication network, A first communication unit that receives a response message including an identifier from the communication network;
    A message generating unit that acquires setting information paired with an identifier included in the response message from the storage unit, and generates a second message including the acquired setting information;
    A communication apparatus comprising: a second communication unit that transmits the second message generated by the message generation unit to the transmission source of the response message via the communication network.
  2.  前記第1の通信部は、
     前記通信ネットワークに新たに接続された通信装置に向けられた前記第1のメッセージを繰り返し送信し、前記通信ネットワークに新たに通信装置が接続された場合に、前記通信ネットワークに新たに接続された通信装置から前記第1のメッセージに応答して送信された前記応答メッセージを受信する請求項1に記載の通信装置。
    The first communication unit is
    Communication newly connected to the communication network when the first message directed to the communication device newly connected to the communication network is repeatedly transmitted and the communication device is newly connected to the communication network The communication apparatus according to claim 1, wherein the response message transmitted from the apparatus in response to the first message is received.
  3.  前記第1の通信部は、
     前記通信ネットワークに接続されている通信インターフェースがVLAN(Virtual Local Area Network)タグ無しで通信を行う設定がなされている場合には、VLANタグが付与されない前記第1のメッセージを送信し、
     前記通信インターフェースがVLANタグ付きで通信を行う設定がなされている場合には、前記通信インターフェースに設定されているVIDが付与された前記第1のメッセージを送信し、
     前記VLANタグが付与されない前記第1のメッセージを送信した場合は、前記VLANタグが付与されていない前記応答メッセージを受信し、
     前記VIDが付与された前記第1のメッセージを送信した場合は、前記VIDを含むVLANタグが付与された前記応答メッセージを受信する請求項1に記載の通信装置。
    The first communication unit is
    When the communication interface connected to the communication network is set to perform communication without a VLAN (Virtual Local Area Network) tag, the first message without a VLAN tag is sent,
    When the communication interface is set to perform communication with a VLAN tag, the first message to which the VID set in the communication interface is assigned is transmitted.
    When the first message without the VLAN tag is transmitted, the response message without the VLAN tag is received;
    The communication apparatus according to claim 1, wherein when the first message to which the VID is assigned is transmitted, the response message to which a VLAN tag including the VID is assigned is received.
  4.  前記メッセージ生成部は、
     前記第1の通信部により前記応答メッセージが受信された場合に、前記応答メッセージの送信元との通信に用いるIP(Internet Protocol)アドレスを指定し、指定した前記IPアドレスを通知する第3のメッセージを生成し、
     前記第2の通信部は、
     前記応答メッセージの送信元に、前記メッセージ生成部により生成された前記第3のメッセージを前記通信ネットワークを介して送信し、前記メッセージ生成部により指定された前記IPアドレスを用いたIP通信により、前記第2のメッセージを前記応答メッセージの送信元に送信する請求項1に記載の通信装置。
    The message generator is
    When the response message is received by the first communication unit, a third message that designates an IP (Internet Protocol) address used for communication with the transmission source of the response message and notifies the designated IP address Produces
    The second communication unit is
    The third message generated by the message generator is transmitted to the transmission source of the response message via the communication network, and the IP communication using the IP address specified by the message generator is used to transmit the third message. The communication apparatus according to claim 1, wherein a second message is transmitted to a transmission source of the response message.
  5.  通信装置であって、
     通信ネットワークから第1のメッセージを受信する第1の通信部と、
     前記第1のメッセージに応答する、前記通信装置の識別子が含まれる応答メッセージを生成するメッセージ生成部と、
     前記応答メッセージを、前記第1のメッセージの送信元に前記通信ネットワークを介して送信し、前記第1のメッセージの送信元から送信された、設定情報が含まれる第2のメッセージを前記通信ネットワークから受信する第2の通信部と、
     前記第2の通信部により受信された前記第2のメッセージに含まれる前記設定情報を用いた設定処理を行う設定処理部とを有する通信装置。
    A communication device,
    A first communication unit for receiving a first message from a communication network;
    A message generator that generates a response message that includes an identifier of the communication device in response to the first message;
    The response message is transmitted to the transmission source of the first message via the communication network, and the second message including setting information transmitted from the transmission source of the first message is transmitted from the communication network. A second communication unit for receiving;
    A communication apparatus comprising: a setting processing unit that performs a setting process using the setting information included in the second message received by the second communication unit.
  6.  前記第1の通信部は、
     前記通信装置が前記通信ネットワークに新たに接続した際に、前記第1のメッセージを受信する請求項5に記載の通信装置。
    The first communication unit is
    The communication device according to claim 5, wherein the first message is received when the communication device newly connects to the communication network.
  7.  前記第1の通信部は、
     前記第1のメッセージの送信元が属するVLAN(Virtual Local Area Network)のVIDが含まれる前記第1のメッセージを受信し、
     前記メッセージ生成部は、
     前記VIDが含まれる前記応答メッセージを生成する請求項5に記載の通信装置。
    The first communication unit is
    Receiving the first message including a VID of a VLAN (Virtual Local Area Network) to which the transmission source of the first message belongs;
    The message generator is
    The communication apparatus according to claim 5, wherein the response message including the VID is generated.
  8.  前記第2の通信部は、
     前記応答メッセージに応答して前記第1のメッセージの送信元から送信された、前記第1のメッセージの送信元との通信に用いられるIP(Internet Protocol)アドレスを通知する第3のメッセージを受信し、前記第3のメッセージで通知された前記IPアドレスを用いたIP通信により、前記第2のメッセージを受信する請求項5に記載の通信装置。
    The second communication unit is
    Receiving a third message transmitted from the sender of the first message in response to the response message and notifying an IP (Internet Protocol) address used for communication with the sender of the first message; The communication apparatus according to claim 5, wherein the second message is received by IP communication using the IP address notified by the third message.
  9.  通信ネットワークに接続され、識別子と設定情報との対を複数記憶する記憶装置を有する通信装置が、
     第1のメッセージを前記通信ネットワークに送信し、前記第1のメッセージを前記通信ネットワーク内で伝播させ、前記第1のメッセージに応答して送信された、前記記憶装置で記憶されているいずれかの識別子が含まれる応答メッセージを前記通信ネットワークから受信し、
     前記応答メッセージに含まれる識別子と対になっている設定情報を前記記憶装置から取得し、取得した設定情報が含まれる第2のメッセージを生成し、
     前記応答メッセージの送信元に、前記第2のメッセージを前記通信ネットワークを介して送信するメッセージ送受信方法。
    A communication device connected to a communication network and having a storage device that stores a plurality of identifier / setting information pairs,
    Any one of the storage devices stored in the storage device that transmits a first message to the communication network, propagates the first message in the communication network, and is transmitted in response to the first message. Receiving a response message including an identifier from the communication network;
    Acquiring setting information paired with an identifier included in the response message from the storage device, and generating a second message including the acquired setting information;
    A message transmission / reception method for transmitting the second message to the transmission source of the response message via the communication network.
  10.  通信装置が、
     通信ネットワークから第1のメッセージを受信し、
     前記第1のメッセージに応答する、前記通信装置の識別子が含まれる応答メッセージを生成し、
     前記応答メッセージを、前記第1のメッセージの送信元に前記通信ネットワークを介して送信し、前記第1のメッセージの送信元から送信された、設定情報が含まれる第2のメッセージを前記通信ネットワークから受信し、
     前記第2のメッセージに含まれる前記設定情報を用いた設定処理を行う設定処理方法。
    The communication device
    Receiving a first message from a communication network;
    Generating a response message including an identifier of the communication device in response to the first message;
    The response message is transmitted to the transmission source of the first message via the communication network, and the second message including setting information transmitted from the transmission source of the first message is transmitted from the communication network. Receive
    A setting processing method for performing setting processing using the setting information included in the second message.
  11.  通信ネットワークに接続され、識別子と設定情報との対を複数記憶する記憶装置を有する通信装置に、
     第1のメッセージを前記通信ネットワークに送信し、前記第1のメッセージを前記通信ネットワーク内で伝播させ、前記第1のメッセージに応答して送信された、前記記憶装置で記憶されているいずれかの識別子が含まれる応答メッセージを前記通信ネットワークから受信する第1の通信処理と、
     前記応答メッセージに含まれる識別子と対になっている設定情報を前記記憶装置から取得し、取得した設定情報が含まれる第2のメッセージを生成するメッセージ生成処理と、
     前記応答メッセージの送信元に、前記メッセージ生成処理により生成された前記第2のメッセージを前記通信ネットワークを介して送信する第2の通信処理とを実行させるメッセージ送受信プログラム。
    A communication device connected to a communication network and having a storage device that stores a plurality of identifier and setting information pairs,
    Any one of the storage devices stored in the storage device that transmits a first message to the communication network, propagates the first message in the communication network, and is transmitted in response to the first message. A first communication process for receiving a response message including an identifier from the communication network;
    Message generation processing for acquiring setting information paired with an identifier included in the response message from the storage device, and generating a second message including the acquired setting information;
    A message transmission / reception program for causing a transmission source of the response message to execute a second communication process for transmitting the second message generated by the message generation process via the communication network.
  12.  通信装置に、
     通信ネットワークから第1のメッセージを受信する第1の通信処理と、
     前記第1のメッセージに応答する、前記通信装置の識別子が含まれる応答メッセージを生成するメッセージ生成処理と、
     前記応答メッセージを、前記第1のメッセージの送信元に前記通信ネットワークを介して送信し、前記第1のメッセージの送信元から送信された、設定情報が含まれる第2のメッセージを前記通信ネットワークから受信する第2の通信処理と、
     前記第2の通信処理により受信された前記第2のメッセージに含まれる前記設定情報を用いた設定処理と実行させる設定処理プログラム。
    In communication equipment,
    A first communication process for receiving a first message from a communication network;
    A message generation process for generating a response message including an identifier of the communication device in response to the first message;
    The response message is transmitted to the transmission source of the first message via the communication network, and the second message including setting information transmitted from the transmission source of the first message is transmitted from the communication network. A second communication process to receive;
    A setting process program for executing the setting process using the setting information included in the second message received by the second communication process.
PCT/JP2015/067435 2015-06-17 2015-06-17 Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program WO2016203566A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017524196A JP6223638B2 (en) 2015-06-17 2015-06-17 COMMUNICATION DEVICE, MESSAGE TRANSMITTING / RECEIVING METHOD, SETTING PROCESSING METHOD, MESSAGE TRANSMITTING / RECEIVING PROGRAM, AND SETTING PROCESSING PROGRAM
PCT/JP2015/067435 WO2016203566A1 (en) 2015-06-17 2015-06-17 Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/067435 WO2016203566A1 (en) 2015-06-17 2015-06-17 Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program

Publications (1)

Publication Number Publication Date
WO2016203566A1 true WO2016203566A1 (en) 2016-12-22

Family

ID=57545767

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/067435 WO2016203566A1 (en) 2015-06-17 2015-06-17 Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program

Country Status (2)

Country Link
JP (1) JP6223638B2 (en)
WO (1) WO2016203566A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006166083A (en) * 2004-12-08 2006-06-22 Mitsubishi Electric Corp Network system
WO2008068693A1 (en) * 2006-12-06 2008-06-12 Philips Intellectual Property & Standards Gmbh Method and apparatus for replacing a device in a network
JP2008141468A (en) * 2006-12-01 2008-06-19 Mitsubishi Electric Corp Transmitting device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006166083A (en) * 2004-12-08 2006-06-22 Mitsubishi Electric Corp Network system
JP2008141468A (en) * 2006-12-01 2008-06-19 Mitsubishi Electric Corp Transmitting device
WO2008068693A1 (en) * 2006-12-06 2008-06-12 Philips Intellectual Property & Standards Gmbh Method and apparatus for replacing a device in a network

Also Published As

Publication number Publication date
JP6223638B2 (en) 2017-11-01
JPWO2016203566A1 (en) 2017-07-27

Similar Documents

Publication Publication Date Title
CN107682284B (en) Method and network equipment for sending message
EP3635939B1 (en) Seamless mobility and session continuity with tcp mobility option
WO2018054156A1 (en) Vxlan message forwarding method, device and system
TWI393401B (en) System, apparatus, method and memory having computer program embodied thereon for managing multicast routing
TWI482462B (en) Network system, and network redundant configuration method
WO2017152396A1 (en) Flow table processing method and device
US9455916B2 (en) Method and system for changing path and controller thereof
Sidki et al. Fault tolerant mechanisms for SDN controllers
WO2016120055A1 (en) Method and apparatus for connecting a gateway router to a set of scalable virtual ip network appliances in overlay networks
CN107078924A (en) The method, apparatus and system of two-way converting detection are carried out to aggregated links
US20160366253A1 (en) System and Method for Network Protocol Offloading in Virtual Networks
CN104852840A (en) Method and device for controlling mutual access between virtual machines
US10177973B2 (en) Communication apparatus, communication method, and communication system
CN112737956A (en) Message sending method and first network equipment
US20160277251A1 (en) Communication system, virtual network management apparatus, communication node, communication method, and program
US10171346B2 (en) Method, apparatus and system for transmitting information
EP2713552A1 (en) Method for processing a multicast group, a data center interconnect router, and system
WO2020011216A1 (en) Method, apparatus, and device for transmitting message, and storage medium
JP6223638B2 (en) COMMUNICATION DEVICE, MESSAGE TRANSMITTING / RECEIVING METHOD, SETTING PROCESSING METHOD, MESSAGE TRANSMITTING / RECEIVING PROGRAM, AND SETTING PROCESSING PROGRAM
JP2008072521A (en) Equipment, method and program for communication
WO2018028592A1 (en) Method and device for receiving and sending messages
WO2013183231A1 (en) Communication system, communication control method, communication relay system, and communication relay control method
US10587677B2 (en) Control apparatus, computer readable medium, and equipment control system
US10298454B2 (en) Communication path switching apparatus, method for controlling communication path switching apparatus, and computer program product
WO2014119602A1 (en) Control apparatus, switch, communication system, switch control method and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15895587

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017524196

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15895587

Country of ref document: EP

Kind code of ref document: A1