JP6493001B2 - COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM - Google Patents
COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM Download PDFInfo
- Publication number
- JP6493001B2 JP6493001B2 JP2015121410A JP2015121410A JP6493001B2 JP 6493001 B2 JP6493001 B2 JP 6493001B2 JP 2015121410 A JP2015121410 A JP 2015121410A JP 2015121410 A JP2015121410 A JP 2015121410A JP 6493001 B2 JP6493001 B2 JP 6493001B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- frame
- communication
- communication devices
- time
- 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.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本件は、通信装置、通信システム、通信方法、及び通信プログラムに関する。 The present invention relates to a communication device, a communication system, a communication method, and a communication program.
台風や地震などの自然災害に備えて、障害に対する耐久性の高いメッシュ型のネットワークが普及している。ネットワーク内の通信経路は、ネットワーク規模が大きい場合でも、例えばSDN(Software Defined Network)の技術により容易に制御される。このため、障害発生時、即時に通信経路が切り替えられることにより通信の継続が可能である。 In preparation for natural disasters such as typhoons and earthquakes, mesh-type networks that are highly durable against failures have become widespread. The communication path in the network is easily controlled by, for example, SDN (Software Defined Network) technology even when the network scale is large. For this reason, when a failure occurs, communication can be continued by switching the communication path immediately.
ネットワーク内の各通信装置は、例えば共通の管理装置により管理され(例えば特許文献1参照)、例えば、各種の設定情報、装置状態、及び障害情報などの装置に関する情報(以下、「装置情報」と表記)が通信装置間で共有される。 Each communication device in the network is managed by, for example, a common management device (see, for example, Patent Document 1), for example, information related to devices such as various setting information, device status, and failure information (hereinafter referred to as “device information”). Notation) is shared between communication devices.
例えば、管理装置がネットワーク内の各通信装置から装置情報を収集する場合、管理装置へのアクセスの集中により通信経路のトラフィック及び管理装置の負荷が増加するだけでなく、管理装置に障害が発生した場合、装置情報の共有が不可能となる。また、通信装置間でブロードキャストまたはP2P(Point-To-Point)通信を行うことで装置情報を共有する場合、装置情報を含むフレームが少なくともネットワーク内の通信装置の台数分だけ送受信されることになる。このため、ネットワーク内の各通信経路の通信帯域だけでなく、各通信装置の通信処理も圧迫される。 For example, when the management device collects device information from each communication device in the network, the concentration of access to the management device not only increases the traffic on the communication path and the load on the management device, but also causes a failure in the management device. In this case, the device information cannot be shared. In addition, when device information is shared by performing broadcast or P2P (Point-To-Point) communication between communication devices, frames including the device information are transmitted and received at least for the number of communication devices in the network. . For this reason, not only the communication band of each communication path in the network but also the communication processing of each communication device is under pressure.
1つの側面では、本発明は、通信帯域や通信処理の圧迫の抑制に配慮して装置間での情報の共有を図ることを目的とする。 In one aspect, an object of the present invention is to share information between devices in consideration of suppression of communication bandwidth and communication processing pressure.
1つの態様では、通信装置は、複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信する受信部と、前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有する。 In one aspect, the communication device receives a frame including information related to a plurality of communication devices and time information indicating times when the information related to the plurality of communication devices is updated, and from the frame, Of the information related to a plurality of communication devices, the acquisition unit that acquires information related to other communication devices, and the information related to the own device among the information related to the plurality of communication devices included in the frame is updated, and the updated time And when the frame destination is the own device, the destination is changed to a communication device corresponding to the oldest time indicated by the time information among the plurality of communication devices. A transmission unit that transmits the frame to the destination when the destination of the frame is another communication device.
1つの態様では、通信システムは、互いに通信可能な複数の通信装置を有し、前記複数の通信装置は、それぞれ、前記複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信する受信部と、前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有する。 In one aspect, the communication system includes a plurality of communication devices capable of communicating with each other, and each of the plurality of communication devices is updated with information regarding the plurality of communication devices and information regarding the plurality of communication devices, respectively. A receiving unit that receives a frame that includes time information indicating a time, an acquisition unit that acquires information related to other communication devices among the information related to the plurality of communication devices from the frame, and the frame included in the frame An update unit that updates information related to the own device among information related to the plurality of communication devices, and updates the time information based on the updated time, and when the destination of the frame is the own device, the plurality of communication devices The frame is transmitted to the communication device corresponding to the oldest time indicated by the time information, and the frame is transmitted to the communication device. If a device has a transmission unit for transmitting the frame to the destination.
1つの態様では、通信方法は、複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信するステップと、前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得するステップと、前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新するステップと、前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信するステップとを、コンピュータに実行させるものである。 In one aspect, the communication method includes a step of receiving a frame including information on a plurality of communication devices and time information indicating a time at which each of the information on the plurality of communication devices is updated; Obtaining information related to other communication devices from among the information related to other communication devices, updating information related to the own device among information related to the plurality of communication devices included in the frame, and based on the updated time Updating the time information, and when the destination of the frame is its own device, the destination is changed to a communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame Transmitting the frame to the destination when the destination of the frame is another communication device. It is intended to be executed by the data.
1つの態様では、通信プログラムは、複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信し、前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得し、前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新し、前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する、処理をコンピュータに実行させるものである。 In one aspect, the communication program receives a frame including information related to a plurality of communication devices and time information indicating times at which the information related to the plurality of communication devices are updated, and the communication program receives the frames from the frame. Of the information related to the device, the information related to other communication devices is acquired, the information related to the own device is updated out of the information related to the plurality of communication devices included in the frame, and the time information is updated based on the updated time. Updating, if the destination of the frame is its own device, among the plurality of communication devices, the frame is transmitted to the communication device according to the oldest time indicated by the time information, and the frame is transmitted. If the destination is another communication device, the frame is transmitted to the destination, and the processing is executed by a computer.
1つの側面では、通信帯域や通信処理の圧迫の抑制した装置間での情報の共有ができるという効果を有する。 In one aspect, there is an effect that information can be shared between devices in which communication bandwidth and communication processing pressure are suppressed.
図1は通信システムの一例を示す構成図である。通信システムは、管理装置2と、複数のスイッチ装置(SW装置)1とを有する。スイッチ装置1は、通信装置の一例であり、例えばレイヤ2スイッチを挙げるが、これに限定されず、ルータなどの他の通信装置であってもよい。なお、「#1」〜「#6」は、各スイッチ装置1を識別するための装置ID(識別番号)であり、例えば各スイッチ装置1のMAC(Media Access Control)アドレスに対応する。
FIG. 1 is a configuration diagram illustrating an example of a communication system. The communication system includes a
スイッチ装置(#1〜#6)1は、メッシュ状のネットワークNWを構成するように、光ファイバなどを介し互いに接続されている。このため、スイッチ装置(#1〜#6)1は、互いに通信可能である。また、スイッチ装置(#1)1は、管理装置2と接続されている。なお、本例では、ネットワークNWの形態としてメッシュ状のものを挙げるが、これに限定されず、ネットワークNWはリング状のものであってもよい。
The switch devices (# 1 to # 6) 1 are connected to each other via an optical fiber or the like so as to constitute a mesh network NW. For this reason, the switch devices (# 1 to # 6) 1 can communicate with each other. The switch device (# 1) 1 is connected to the
管理装置2は、ネットワークNW内の各スイッチ装置1を管理する。管理装置2は、各スイッチ装置1にネットワークNW内のフレームの通信経路などを設定する。管理装置2は、SDNの機能を備えており、1つのソフトウェアで通信経路を柔軟に設定することができる。各スイッチ装置1は、管理装置2から設定された通信経路に沿ってフレームを他装置に転送する。なお、本実施例では、フレームとしてイーサネット(登録商標、以下同様)フレームを挙げるが、これに限定されず、IP(Internet Protocol)パケットであってもよい。
The
管理装置2は、例えば各スイッチ装置1に関する情報、つまり装置情報に基づいてネットワークNW内の通信経路を切り替える。装置情報としては、例えば各種の設定情報、装置状態、障害情報、及びトラフィック情報などが挙げられる。各スイッチ装置1の装置情報は、通信経路の切り替えなどの制御を可能とするため、複数のスイッチ装置1間において共有される。このため、各スイッチ装置1は、スイッチ装置1ごとの装置情報が登録された装置管理テーブル130を有する。
For example, the
仮に、管理装置2がネットワークNW内の各スイッチ装置1から装置情報を収集する場合、管理装置2へのアクセスの集中により通信経路のトラフィック及び管理装置2の負荷が増加するだけでなく、管理装置2に障害が発生した場合、装置情報の共有が不可能となる。また、仮に、スイッチ装置1間でブロードキャストまたはP2P通信を行うことで装置情報を共有する場合、装置情報を含むフレームが少なくともネットワークNW内のスイッチ装置1の台数分だけ送受信されることになる。このため、ネットワークNW内の各通信経路の通信帯域だけでなく、各スイッチ装置1の通信処理も圧迫される。
If the
そこで、スイッチ装置1は、各スイッチ装置1の装置情報とその更新時刻を含む情報フレームFを受信して他のスイッチ装置1の装置情報を取得し、情報フレームF内の自装置の装置情報と更新時刻を更新して最も古い更新時刻のスイッチ装置1にフレームを送信する。これにより、スイッチ装置1は、ネットワークNW内を流れ続ける1つの情報フレームFから他のスイッチ装置1の装置情報を取得できる。また、情報フレームF内の装置情報は、最も古いものが優先的に更新される。
Therefore, the
したがって、各スイッチ装置1は、多くの情報フレームFの送受信を必要とせずに新しい装置情報を取得できるので、通信帯域や通信処理を圧迫せずに他のスイッチ装置1との間で装置情報を共有できる。以下に本例の通信システムの動作を説明する。
Accordingly, each
管理装置2は、通信システムの運用が開始されたとき、情報フレームFをネットワークNWに送信する。情報フレームFは、一例として、ヘッダ、ペイロード、及びFCS(Frame Check Sequence)を含む。ヘッダには、その情報フレームFの宛先であるスイッチ装置1の宛先アドレス及び送信元である管理装置2の送信元アドレスが含まれる。宛先アドレスは、後述するように、その情報フレームFが宛先のスイッチ装置1に到着するごとに変更されるので、情報フレームFは、スイッチ装置1で終端されることなく、ネットワークNW内を流れ続ける。
When the operation of the communication system is started, the
ペイロードには、フレームID、装置情報テーブル、及び更新時刻テーブルが含まれる。フレームIDは、情報フレームFを他のユーザフレームなどから区別するための識別子である。装置情報テーブルには、装置IDと装置情報が互いに対応付けられて登録されている。また、更新時刻テーブルには、装置IDと装置情報の更新時刻が互いに対応付けられて登録されている。FCSは、ヘッダ及びペイロード内のデータの正常性を検査するための符号である。 The payload includes a frame ID, a device information table, and an update time table. The frame ID is an identifier for distinguishing the information frame F from other user frames. In the device information table, device ID and device information are registered in association with each other. In the update time table, the device ID and the update time of the device information are registered in association with each other. FCS is a code for checking the normality of data in the header and payload.
図2(a)は、装置情報テーブルの一例を示す構成図である。装置情報は、装置IDごとに登録される。各スイッチ装置1は、情報フレームFを受信したとき、他のスイッチ装置1の装置情報を装置情報テーブルから取得して、自装置の装置管理テーブル130に登録する。なお、情報フレームFのデータ量を低減するため、装置情報テーブル内の装置情報は1種類としてもよい。この場合、装置情報の種類数分の情報フレームFがネットワークNW内を流れることとなる。
FIG. 2A is a configuration diagram illustrating an example of a device information table. Device information is registered for each device ID. When each
図2(b)は、更新時刻テーブルの一例を示す構成図である。更新時刻は、時刻情報の一例であり、装置IDごとに登録され、装置情報テーブル内のその装置IDの装置情報が更新された時刻を示す。より具体的には、更新時刻は、年月日及び時刻を含む時刻情報であるが、時刻のみが含まれていてもよい。 FIG. 2B is a configuration diagram illustrating an example of the update time table. The update time is an example of time information, and is registered for each device ID, and indicates the time when the device information of the device ID in the device information table is updated. More specifically, the update time is time information including date and time, but only the time may be included.
各スイッチ装置1は、情報フレームFを受信したとき、装置情報テーブル内の自装置の装置情報を更新して、その更新時刻に応じて更新時刻テーブル内の自装置の更新時刻を更新する。例えば、スイッチ装置(#1)1は、装置情報テーブル内の装置ID「#1」の装置情報を更新し、更新時刻テーブルに装置ID「#1」の更新時刻を記録する。
When each
再び図1を参照すると、管理装置2は、装置情報テーブル及び更新時刻テーブルに初期値が設定された情報フレームFをスイッチ装置(#1)1に送信する。スイッチ装置(#1)1は、情報フレームFを受信すると、装置情報テーブルから他のスイッチ装置1の装置情報を取得して、取得した装置情報に従い装置管理テーブル130内の装置情報を更新する(「更新」参照)。また、スイッチ装置(#1)1は、装置情報テーブル内の自装置の装置情報を更新し、その更新時刻に基づき更新時刻テーブル内の自装置の更新時刻を更新する。
Referring again to FIG. 1, the
スイッチ装置(#1)1は、一例として、情報フレームFの宛先アドレスを装置ID「#2」のスイッチ装置1のMACアドレスに変更し、情報フレームFをスイッチ装置(#2)1に転送する。スイッチ装置1は、更新時刻テーブル内の更新時刻のうち、最も古い更新時刻に応じた装置IDのスイッチ装置1に宛先アドレスを変更する。このため、情報フレームFの装置情報テーブル内の装置情報は、古いものから優先的に更新されるので、適時に最新の装置状態が反映される。
For example, the switch device (# 1) 1 changes the destination address of the information frame F to the MAC address of the
図3(a)は更新時刻テーブルの例1を示す構成図である。本例では、装置ID「#2」の更新時刻が最も古い時刻を示す。このため、スイッチ装置1は、符号P1で示されるように、情報フレームFの宛先アドレスをスイッチ装置(#2)1のMACアドレスに変更する。
FIG. 3A is a configuration diagram illustrating Example 1 of the update time table. In this example, the update time of the device ID “# 2” is the oldest time. For this reason, the
また、スイッチ装置1は、更新時刻テーブル内の更新時刻のうち、最も古い更新時刻に応じた装置IDのスイッチ装置1が複数存在する場合、装置IDが最も小さいスイッチ装置1のMACアドレスに宛先アドレスを変更する。このため、スイッチ装置1は、最も古い更新時刻のスイッチ装置1が複数存在する場合でも、情報フレームFの宛先を決定し、ネットワークNW内に情報フレームFを流し続けることができる。
In addition, when there are a plurality of
図3(b)は更新時刻テーブルの例2を示す構成図である。本例では、装置ID「#3」〜「#6」の更新時刻が最も古い時刻を示す。このため、スイッチ装置1は、符号P2で示されるように、情報フレームFの宛先アドレスを、該当するスイッチ装置(#3〜#6)1のうち、装置IDが最も小さいスイッチ装置(#3)1のMACアドレスに変更する。
FIG. 3B is a configuration diagram illustrating Example 2 of the update time table. In this example, the update times of the device IDs “# 3” to “# 6” are the oldest times. For this reason, the
スイッチ装置(#2)1は、情報フレームFを受信すると、装置情報テーブルから他のスイッチ装置1の装置情報を取得して、取得した装置情報に従い装置管理テーブル130内の装置情報を更新する。また、スイッチ装置(#2)1は、装置情報テーブル内の自装置の装置情報を更新し、その更新時刻に基づき更新時刻テーブル内の自装置の更新時刻を更新する。スイッチ装置(#2)1は、一例として、情報フレームFの宛先アドレスを装置ID「#3」のスイッチ装置1のMACアドレスに変更し、情報フレームFをスイッチ装置(#3)1に転送する。
When the switch device (# 2) 1 receives the information frame F, the switch device (# 2) 1 acquires the device information of the
スイッチ装置(#3)1は、情報フレームFを受信すると、装置情報テーブルから他のスイッチ装置1の装置情報を取得して、取得した装置情報に従い装置管理テーブル130内の装置情報を更新する。また、スイッチ装置(#3)1は、装置情報テーブル内の自装置の装置情報を更新し、その更新時刻に基づき更新時刻テーブル内の自装置の更新時刻を更新する。スイッチ装置(#3)1は、一例として、情報フレームFの宛先アドレスを装置ID「#4」のスイッチ装置1のMACアドレスに変更し、情報フレームFをスイッチ装置(#4)1に転送する。
When the switch device (# 3) 1 receives the information frame F, the switch device (# 3) 1 acquires the device information of the
このとき、スイッチ装置(#3)1は、管理装置2から設定された通信経路に従い情報フレームFを送信する。本例において、情報フレームFは、スイッチ装置(#6)1及びスイッチ装置(#5)1を経由する通信経路でスイッチ装置(#4)1に転送される。このように、スイッチ装置1は、管理装置2から設定された通信経路に従い情報フレームFを送信することで、トラフィック量などを考慮した最適な通信経路で情報フレームFを転送できる。なお、スイッチ装置1の通信経路は、管理装置2からの設定に限定されず、例えば各スイッチ装置1の装置情報や通信プロトコルに基づき各スイッチ装置で算出されてもよい。
At this time, the switch device (# 3) 1 transmits the information frame F according to the communication path set by the
通信経路上のスイッチ装置(#6)1及びスイッチ装置(#5)1は、それぞれ、情報フレームFを受信すると、装置情報テーブルから他のスイッチ装置1の装置情報を取得して、取得した装置情報に従い装置管理テーブル130内の装置情報を更新する。また、スイッチ装置(#6)1及びスイッチ装置(#5)1は、装置情報テーブル内の自装置の装置情報を更新し、その更新時刻に基づき更新時刻テーブル内の自装置の更新時刻を更新する。
When the switch device (# 6) 1 and the switch device (# 5) 1 on the communication path receive the information frame F, the switch device (# 6) 1 and the switch device (# 5) 1 acquire the device information of the
スイッチ装置(#6)1及びスイッチ装置(#5)1は、情報フレームFの宛先アドレスが自装置ではないので、その宛先のスイッチ装置(#4)1に情報フレームFを転送する。これにより、情報フレームFは、宛先のスイッチ装置(#4)1に到着する。スイッチ装置(#4)1は、情報フレームFの宛先アドレスが自装置であるので、図3(a)及び図3(b)を参照して述べて手法に従い、更新時刻テーブルに基づき新たな宛先のスイッチ装置1を決定する。このようにして、情報フレームFは、ネットワークNW内を流れ続けるため、各スイッチ装置1は、情報フレームFにより各々の装置情報を共有できる。
The switch device (# 6) 1 and the switch device (# 5) 1 transfer the information frame F to the destination switch device (# 4) 1 because the destination address of the information frame F is not its own device. As a result, the information frame F arrives at the destination switch device (# 4) 1. Since the destination address of the information frame F is its own device, the switch device (# 4) 1 has a new destination based on the update time table according to the method described with reference to FIGS. 3 (a) and 3 (b).
また、管理装置2は、例えば一定の周期でスイッチ装置(#1)1に要求信号REQを送信する。スイッチ装置(#1)1は、要求信号REQに応じて応答信号RESを管理装置2に送信する。応答信号RESには、装置管理テーブル130内の装置情報が含まれる。すなわち、スイッチ装置(#1)1は、管理装置2の要求に応じて、各スイッチ装置1の装置情報を管理装置2に送信する。
Also, the
これにより、管理装置2は、各スイッチ装置1の装置情報を取得することができる。なお、要求信号REQの送信対象は、他のスイッチ装置1でよいが、スイッチ装置(#)1の場合、管理装置2は、最短経路で装置情報を取得できる。
Thereby, the
また、管理装置2の装置情報の取得手段は、上記の手法に限定されない。例えば、情報フレームFが、スイッチ装置(#1〜#6)1だけでなく、管理装置2にも送信されるようにすれば、管理装置2は情報フレームFから装置情報を取得することができる。この場合、情報フレームFの更新時刻テーブルには、スイッチ装置(#1〜#6)1における更新時刻だけでなく、管理装置2における更新時刻も含まれる。
Further, the device information acquisition unit of the
図4は、この場合の更新時刻テーブルの例を示す構成図である。本例の更新時刻テーブルは、図2(b)の更新時刻テーブルに装置ID「#0」の更新時刻(符号P3参照)を追加したものである。装置ID「#0」は、管理装置2の識別番号である。
FIG. 4 is a configuration diagram showing an example of the update time table in this case. The update time table of this example is obtained by adding the update time of the device ID “# 0” (see reference numeral P3) to the update time table of FIG. The device ID “# 0” is an identification number of the
管理装置2は、情報フレームFを受信すると、情報フレームFの装置情報テーブルから装置情報を取得して、取得した時刻を更新時刻として更新時刻テーブルに記録する。このため、管理装置2及び各スイッチ装置1は、図3(a)及び図3(b)を参照して述べて手法に従い、情報フレームFを転送することができる。次にスイッチ装置1の構成を説明する。
When receiving the information frame F, the
図5は、スイッチ装置1の一例を示す構成図である。スイッチ装置1は、CPU(Central Processing Unit)10、ROM(Read Only Memory)11、及びRAM(Random Access Memory)12を有する。スイッチ装置1は、さらに、不揮発性メモリ13、受信バッファ14、送信バッファ15、及び複数の通信ポート16を有する。
FIG. 5 is a configuration diagram illustrating an example of the
CPU10は、互いに信号の入出力ができるように、ROM11、RAM12、不揮発性メモリ13、受信バッファ14、送信バッファ15、及び複数の通信ポート16と、データバス17を介して接続されている。ROM11は、CPU10を駆動するプログラム(通信プログラム)が格納されている。RAM12は、CPU10のワーキングメモリとして機能する。
The
通信ポート16は、例えばPHY/MACチップであり、管理装置2や他のスイッチ装置1との間でそれぞれ通信を行う。通信ポート16は、受信したフレーム(情報フレームFやユーザフレームなど)を受信バッファ14に書き込み、送信するフレームを送信バッファ15から読み込む。
The
受信バッファ14は、例えばメモリであり、各通信ポート16からフレームが書き込まれる。送信バッファ15は、例えばメモリであり、CPU10から通信ポート16ごとにフレームが書き込まれる。
The
CPU10は、ROM11からプログラムを読み込むと、機能として、受信処理部101、フレーム更新部102、装置情報処理部103と、転送処理部104、及び装置制御部105が形成される。また、不揮発性メモリ13は、例えばフラッシュメモリであり、装置管理テーブル130、待機時間設定情報131、及び経路情報132が記憶されている。
When the
受信処理部101は、受信部の一例であり、情報フレームFを受信する。より具体的には、受信処理部101は、受信バッファ14から情報フレームFを検索して、装置情報処理部103に出力する。このとき、受信処理部101は、情報フレームF内のフレームIDに基づき情報フレームFを検索する。
The
また、受信処理部101は、受信バッファ14からユーザフレームを検索して、転送処理部104に出力する。転送処理部104は、管理装置2から設定された経路情報132に従い、送信バッファ15を介し、該当する通信ポート16からユーザフレームを他のスイッチ装置1などに転送する。
Further, the
また、受信処理部101は、管理装置2から送信された要求信号REQなどの制御フレームを受信バッファ14から検索した場合、制御フレームを装置制御部105に出力する。装置制御部105は、要求信号REQが入力されると、転送処理部104に応答信号RESの生成を指示する。転送処理部104は、装置管理テーブル130から読み出した装置情報を含む応答信号RESを生成し、送信バッファ15を介し、該当する通信ポート16から応答信号RESを管理装置2に転送する。
When the
装置情報処理部103は、取得部の一例であり、情報フレームFから、他のスイッチ装置1の装置情報を取得する。装置情報処理部103は、取得した装置情報に基づき、装置管理テーブル130を更新する。装置管理テーブル130は、情報フレームF内の装置情報テーブルと同様の構成を有する。なお、装置制御部105は、装置管理テーブル130内の装置情報に基づき経路切り替えなどの各種の制御を行い、また、装置管理テーブル130内の自装置の装置情報を更新する。
The device
フレーム更新部102は、更新部の一例であり、情報フレームFに含まれる装置情報のうち、自装置の装置情報を装置管理テーブル130に基づき更新し、その更新された時刻に基づき更新時刻テーブル内の自装置の更新時刻を更新する。
The
転送処理部104は、送信部の一例であり、図3(a)を参照して述べたように、情報フレームFの宛先が自装置である場合、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1に宛先を変更して情報フレームFを送信する。このため、情報フレームFの装置情報テーブル内の装置情報は、古いものから優先的に更新されるので、適時に最新の装置状態が反映される。
The
転送処理部104は、図3(b)を参照して述べたように、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1が複数存在する場合、該当するスイッチ装置1のうち、装置IDが最も小さいスイッチ装置1に宛先を変更して情報フレームFを送信する。このため、スイッチ装置1は、最も古い更新時刻のスイッチ装置1が複数存在する場合でも、情報フレームFの宛先を決定し、ネットワークNW内に情報フレームFを流し続けることができる。なお、転送処理部104は、装置IDが最も小さいスイッチ装置1に代えて、装置IDが最も大きいスイッチ装置1に宛先を変更して情報フレームFを送信してもよい。
As described with reference to FIG. 3B, when there are a plurality of
また、転送処理部104は、情報フレームFの宛先が他のスイッチ装置1(または管理装置2)である場合、宛先に情報フレームFを送信する。これにより、情報フレームFは、宛先のスイッチ装置1に到着する。
In addition, when the destination of the information frame F is another switching device 1 (or the management device 2), the
ここで、転送処理部104は、管理装置2から設定された通信経路に従い情報フレームFを送信する。より具体的には、転送処理部104は、経路情報132に従い情報フレームFを転送する。このため、転送処理部104は、トラフィック量などを考慮した最適な通信経路で情報フレームFを転送できる。なお、通信経路は、上述したように、各スイッチ装置1で算出されてもよい。
Here, the
また、転送処理部104は、管理装置2の要求に応じて、装置情報処理部103が取得した他のスイッチ装置1の装置情報と自装置の装置情報とを管理装置2に送信する。このため、管理装置2は、各スイッチ装置1の装置情報を取得できる。
In response to a request from the
また、転送処理部104は、情報フレームFの送信前に一定の時間だけ待機処理を行う。より具体的には、転送処理部104は、情報フレームFの送信前に、待機時間設定情報131が示す時間だけ待機する。待機時間設定情報131は、管理装置2から例えばネットワークNWのトラフィック状況に応じて設定される。これにより、情報フレームFの送信により占有される通信帯域が低減されるため、通信帯域の圧迫がさらに防止される。なお、待機時間設定情報131は、装置制御部105により制御フレームから取得されて不揮発性メモリ13に書き込まれる。
Further, the
図6は、スイッチ装置1の動作の一例を示すフローチャートである。まず、通信ポート16は、フレームを受信して(ステップSt1)、受信バッファ14に格納する(ステップSt2)。受信処理部101は、フレームIDに基づき、受信バッファ14から情報フレームFを検索して(ステップSt3)、受信する(ステップSt4)。なお、受信した情報フレームFは、装置情報処理部103に出力される。
FIG. 6 is a flowchart illustrating an example of the operation of the
次に、装置情報処理部103は、情報フレームFの装置情報テーブルから他のスイッチ装置1の装置情報を取得する(ステップSt5)。次に、装置情報処理部103は、取得した装置情報に基づき装置管理テーブル130を更新する(ステップSt6)。装置管理テーブル130の更新後、情報フレームFはフレーム更新部102に出力される。
Next, the device
次に、フレーム更新部102は、情報フレームFの装置情報テーブルのうち、自装置の装置情報を更新し、その更新時刻に基づき更新時刻テーブルを更新する(ステップSt7)。情報フレームFの更新後、情報フレームFは転送処理部104に出力される。
Next, the
転送処理部104は、情報フレームFの宛先アドレスを参照し、その宛先が自装置であるか否かを判定する(ステップSt8)。転送処理部104は、宛先が自装置ではない場合(ステップSt8のNo)、待機時間設定情報131で設定された時間だけ待機処理を行い(ステップSt13)、宛先のスイッチ装置1に情報フレームFを送信する(ステップSt14)。
The
また、転送処理部104は、宛先が自装置である場合(ステップSt8のYes)、情報フレームFの更新時刻テーブルから最も古い更新時刻のスイッチ装置1を検索する(ステップSt9)。転送処理部104は、検索されたスイッチ装置1が1台である場合(ステップSt10のNo)、情報フレームFの宛先をそのスイッチ装置1に変更し(ステップSt12)、上記のステップSt13,St14の処理を行う。
Further, when the destination is the own device (Yes in step St8), the
また、転送処理部104は、検索されたスイッチ装置1が複数台である場合(ステップSt10のYes)、該当するスイッチ装置1から、装置IDが最小のスイッチ装置1を検索し(ステップSt11)、上記のステップSt12〜St14の処理を行う。このようにして、スイッチ装置1は動作する。
In addition, when there are a plurality of searched switch devices 1 (Yes in Step St10), the
これまで述べたように、実施例に係る通信装置であるスイッチ装置1は、受信処理部101と、装置情報処理部103と、フレーム更新部102と、転送処理部104とを有する。受信処理部101は、複数のスイッチ装置1の装置情報と、装置情報がそれぞれ更新された更新時刻とを含むフレームを受信する。装置情報処理部103は、情報フレームFから他のスイッチ装置1の装置情報を取得する。
As described above, the
フレーム更新部102は、情報フレームFに含まれる複数のスイッチ装置1の装置情報のうち、自装置の装置情報を更新し、その更新された時刻に基づき更新時刻を更新する。転送処理部104は、情報フレームFの宛先が自装置である場合、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1に宛先を変更して情報フレームFを送信し、情報フレームFの宛先が他のスイッチ装置1である場合、宛先に情報フレームFを送信する。
The
上記の構成によると、スイッチ装置1は、ネットワークNW内を流れ続ける1つの情報フレームFから他のスイッチ装置1の装置情報を取得できる。また、情報フレームF内の装置情報は、最も古いものが優先的に更新される。
According to said structure, the
したがって、実施例に係るスイッチ装置1によると、多くの情報フレームFの送受信を必要とせずに新しい装置情報を取得できるので、通信帯域や通信処理を圧迫せずに他のスイッチ装置1との間で装置情報を共有できる。
Therefore, according to the
また、実施例に係る通信システムは、互いに通信可能な複数のスイッチ装置1を有する。複数のスイッチ装置1は、それぞれ、受信処理部101と、装置情報処理部103と、フレーム更新部102と、転送処理部104とを有する。受信処理部101は、複数のスイッチ装置1の装置情報と、装置情報がそれぞれ更新された更新時刻とを含むフレームを受信する。装置情報処理部103は、情報フレームFから他のスイッチ装置1の装置情報を取得する。
The communication system according to the embodiment includes a plurality of
フレーム更新部102は、情報フレームFに含まれる複数のスイッチ装置1の装置情報のうち、自装置の装置情報を更新し、その更新された時刻に基づき更新時刻を更新する。転送処理部104は、情報フレームFの宛先が自装置である場合、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1に宛先を変更して情報フレームFを送信し、情報フレームFの宛先が他のスイッチ装置1である場合、宛先に情報フレームFを送信する
The
実施例に係る通信システムは、上記のスイッチ装置1と同様の構成を含むため、上述した内容と同一の作用効果を奏する。
Since the communication system according to the embodiment includes the same configuration as that of the
また、実施例に係る通信方法は、以下のステップをコンピュータであるCPU10に実行させる方法である。
ステップ(1):複数のスイッチ装置1の装置情報と、装置情報がそれぞれ更新された更新時刻とを含むフレームを受信する。
ステップ(2):情報フレームFから他のスイッチ装置1の装置情報を取得する。
ステップ(3):情報フレームFに含まれる複数のスイッチ装置1の装置情報のうち、自装置の装置情報を更新し、その更新された時刻に基づき更新時刻を更新する。
ステップ(4):情報フレームFの宛先が自装置である場合、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1に宛先を変更して情報フレームFを送信し、情報フレームFの宛先が他のスイッチ装置1である場合、宛先に情報フレームFを送信する。
The communication method according to the embodiment is a method for causing the
Step (1): A frame including device information of the plurality of
Step (2): Device information of another
Step (3): Update the device information of the own device among the device information of the plurality of
Step (4): When the destination of the information frame F is its own device, the destination is changed to the
実施例に係る通信方法は、上記のスイッチ装置1と同様の構成を含むため、上述した内容と同一の作用効果を奏する。
Since the communication method according to the embodiment includes the same configuration as that of the
また、実施例に係る通信プログラムは、以下の処理をコンピュータであるCPU10に実行させる方法である。
処理(1):複数のスイッチ装置1の装置情報と、装置情報がそれぞれ更新された更新時刻とを含むフレームを受信する。
処理(2):情報フレームFから他のスイッチ装置1の装置情報を取得する。
処理(3):情報フレームFに含まれる複数のスイッチ装置1の装置情報のうち、自装置の装置情報を更新し、その更新された時刻に基づき更新時刻を更新する。
処理(4):情報フレームFの宛先が自装置である場合、更新時刻テーブル内の最も古い更新時刻に応じたスイッチ装置1に宛先を変更して情報フレームFを送信し、情報フレームFの宛先が他のスイッチ装置1である場合、宛先に情報フレームFを送信する。
The communication program according to the embodiment is a method for causing the
Process (1): A frame including device information of the plurality of
Process (2): Device information of another
Process (3): Updates the device information of the own device among the device information of the plurality of
Process (4): When the destination of the information frame F is its own device, the destination is changed to the
実施例に係る通信プログラムは、上記のスイッチ装置1と同様の構成を含むため、上述した内容と同一の作用効果を奏する。
Since the communication program according to the embodiment includes the same configuration as that of the
なお、上記の処理内容を記述したプログラムは、コンピュータで読み取り可能な記録媒体(ただし、搬送波は除く)に記録しておくことができる。プログラムを流通させる場合には、例えば、そのプログラムが記録されたDVD(Digital Versatile Disc)、CD−ROM(Compact Disc Read Only Memory)などの可搬型記録媒体の形態で販売される。また、プログラムをサーバコンピュータの記憶装置に格納しておき、ネットワークを介して、サーバコンピュータから他のコンピュータにそのプログラムを転送することもできる。 Note that the program describing the above processing contents can be recorded on a computer-readable recording medium (except for a carrier wave). When the program is distributed, for example, it is sold in the form of a portable recording medium such as a DVD (Digital Versatile Disc) or a CD-ROM (Compact Disc Read Only Memory) on which the program is recorded. It is also possible to store the program in a storage device of a server computer and transfer the program from the server computer to another computer via a network.
プログラムを実行するコンピュータは、例えば、可搬型記録媒体に記録されたプログラムもしくはサーバコンピュータから転送されたプログラムを、自己の記憶装置に格納する。そして、コンピュータは、自己の記憶装置からプログラムを読み取り、プログラムに従った処理を実行する。なお、コンピュータは、可搬型記録媒体から直接プログラムを読み取り、そのプログラムに従った処理を実行することもできる。また、コンピュータは、サーバコンピュータからプログラムが転送されるごとに、逐次、受け取ったプログラムに従った処理を実行することもできる。 The computer that executes the program stores, for example, the program recorded on the portable recording medium or the program transferred from the server computer in its own storage device. Then, the computer reads the program from its own storage device and executes processing according to the program. The computer can also read the program directly from the portable recording medium and execute processing according to the program. Further, each time the program is transferred from the server computer, the computer can sequentially execute processing according to the received program.
上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。 The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.
なお、以上の説明に関して更に以下の付記を開示する。
(付記1) 複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信する受信部と、
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有することを特徴とする通信装置。
(付記2) 前記送信部は、前記フレームの送信前に一定の時間だけ待機処理を行うことを特徴とする付記1に記載の通信装置。
(付記3) 前記送信部は、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置が複数存在する場合、該当する通信装置のうち、識別番号が最も小さい通信装置または最も大きい通信装置に前記宛先を変更して前記フレームを送信することを特徴とする付記1または2に記載の通信装置。
(付記4) 前記送信部は、前記複数の通信装置を管理する管理装置の要求に応じて、前記取得部が取得した前記他の通信装置に関する情報と自装置に関する情報とを前記管理装置に送信することを特徴とする付記1乃至3の何れかに記載の通信装置。
(付記5) 前記送信部は、前記複数の通信装置を管理する管理装置から設定された通信経路に従い前記フレームを送信することを特徴とする付記1乃至4の何れかに記載の通信装置。
(付記6) 互いに通信可能な複数の通信装置を有し、
前記複数の通信装置は、それぞれ、
前記複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信する受信部と、
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有することを特徴とする通信システム。
(付記7) 前記送信部は、前記フレームの送信前に一定の時間だけ待機処理を行うことを特徴とする付記6に記載の通信システム。
(付記8) 前記送信部は、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置が複数存在する場合、該当する通信装置のうち、識別番号が最も小さい通信装置または最も大きい通信装置に前記宛先を変更して前記フレームを送信することを特徴とする付記6または7に記載の通信システム。
(付記9) 前記送信部は、前記複数の通信装置を管理する管理装置の要求に応じて、前記取得部が取得した前記他の通信装置に関する情報と自装置に関する情報とを前記管理装置に送信することを特徴とする付記6乃至8の何れかに記載の通信システム。
(付記10) 前記送信部は、前記複数の通信装置を管理する管理装置から設定された通信経路に従い前記フレームを送信することを特徴とする付記6乃至9の何れかに記載の通信システム。
(付記11) 複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信するステップと、
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得するステップと、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新するステップと、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信するステップとを、コンピュータに実行させることを特徴とする通信方法。
(付記12) 前記フレームの送信前に一定の時間だけ待機処理を行うことを特徴とする付記11に記載の通信方法。
(付記13) 前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置が複数存在する場合、該当する通信装置のうち、識別番号が最も小さい通信装置または最も大きい通信装置に前記宛先を変更して前記フレームを送信することを特徴とする付記11または12に記載の通信方法。
(付記14) 前記複数の通信装置を管理する管理装置の要求に応じて、取得した前記他の通信装置に関する情報と自装置に関する情報とを前記管理装置に送信することを特徴とする付記11乃至13の何れかに記載の通信方法。
(付記15) 前記複数の通信装置を管理する管理装置から設定された通信経路に従い前記フレームを送信することを特徴とする付記11乃至14の何れかに記載の通信方法。
(付記16) 複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信し、
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得し、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新し、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する、処理をコンピュータに実行させることを特徴とする通信プログラム。
(付記17) 前記フレームの送信前に一定の時間だけ待機処理を行うことを特徴とする付記16に記載の通信プログラム。
(付記18) 前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置が複数存在する場合、該当する通信装置のうち、識別番号が最も小さい通信装置または最も大きい通信装置に前記宛先を変更して前記フレームを送信することを特徴とする付記16または17に記載の通信プログラム。
(付記19) 前記複数の通信装置を管理する管理装置の要求に応じて、取得した前記他の通信装置に関する情報と自装置に関する情報とを前記管理装置に送信することを特徴とする付記16乃至18の何れかに記載の通信プログラム。
(付記20) 前記複数の通信装置を管理する管理装置から設定された通信経路に従い前記フレームを送信することを特徴とする付記16乃至19の何れかに記載の通信プログラム。
In addition, the following additional notes are disclosed regarding the above description.
(Additional remark 1) The receiving part which receives the flame | frame containing the information regarding a some communication apparatus, and the time information which shows the time when the information regarding the said some communication apparatus was each updated,
An acquisition unit that acquires information on other communication devices among the information on the plurality of communication devices from the frame;
An update unit that updates information related to the device among the information related to the plurality of communication devices included in the frame, and updates the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a transmission unit that transmits the frame to the destination when the communication device is another communication device.
(Supplementary note 2) The communication apparatus according to
(Supplementary Note 3) When there are a plurality of communication devices corresponding to the oldest time indicated by the time information among the plurality of communication devices, the transmission unit has the smallest identification number among the corresponding communication devices. Alternatively, the communication apparatus according to
(Additional remark 4) The said transmission part transmits the information regarding the said other communication apparatus which the said acquisition part acquired, and the information regarding an own apparatus to the said management apparatus according to the request | requirement of the management apparatus which manages these communication apparatuses to the said management apparatus. The communication device according to any one of
(Additional remark 5) The said transmission part transmits the said frame according to the communication path set from the management apparatus which manages these communication apparatuses, The communication apparatus in any one of
(Supplementary Note 6) Having a plurality of communication devices capable of communicating with each other,
Each of the plurality of communication devices is
A receiving unit that receives a frame including information related to the plurality of communication devices and time information indicating a time when the information related to the plurality of communication devices is updated;
An acquisition unit that acquires information on other communication devices among the information on the plurality of communication devices from the frame;
An update unit that updates information related to the device among the information related to the plurality of communication devices included in the frame, and updates the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a transmission unit that transmits the frame to the destination when the communication device is another communication device.
(Supplementary note 7) The communication system according to
(Supplementary Note 8) When there are a plurality of communication devices corresponding to the oldest time indicated by the time information among the plurality of communication devices, the transmission unit has the smallest identification number among the corresponding communication devices. Alternatively, the communication system according to
(Additional remark 9) The said transmission part transmits the information regarding the said other communication apparatus which the said acquisition part acquired, and the information regarding an own apparatus to the said management apparatus according to the request | requirement of the management apparatus which manages these communication apparatuses to the said management apparatus. The communication system according to any one of
(Additional remark 10) The said transmission part transmits the said frame according to the communication path set from the management apparatus which manages these communication apparatuses, The communication system in any one of
(Additional remark 11) The step which receives the flame | frame containing the information regarding a some communication apparatus, and the time information which shows the time when the information regarding the said some communication apparatus was each updated,
Obtaining information on other communication devices out of the information on the plurality of communication devices from the frame;
Updating information related to the device among the information related to the plurality of communication devices included in the frame, and updating the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a step of transmitting the frame to the destination when the computer is another communication device.
(Supplementary note 12) The communication method according to
(Supplementary Note 13) When there are a plurality of communication devices corresponding to the oldest time indicated by the time information among the plurality of communication devices, among the corresponding communication devices, the communication device having the smallest identification number or the largest communication device. The communication method according to
(Supplementary Note 14) In response to a request from a management device that manages the plurality of communication devices, the acquired information on the other communication device and information on the own device are transmitted to the management device. 14. The communication method according to any one of 13.
(Supplementary note 15) The communication method according to any one of
(Supplementary Note 16) A frame including information on a plurality of communication devices and time information indicating times at which the information on the plurality of communication devices are updated is received.
From the frame, the information regarding the other communication devices among the information regarding the plurality of communication devices is acquired,
Of the information about the plurality of communication devices included in the frame, update information about the own device, update the time information based on the updated time,
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. When is a communication apparatus, a communication program for transmitting the frame to the destination and causing a computer to execute processing.
(Supplementary note 17) The communication program according to
(Supplementary Note 18) When there are a plurality of communication devices corresponding to the oldest time indicated by the time information among the plurality of communication devices, among the corresponding communication devices, the communication device having the smallest identification number or the largest communication device. The communication program according to
(Supplementary note 19) The
(Supplementary note 20) The communication program according to any one of
1 スイッチ装置
2 管理装置
10 CPU
101 受信処理部
102 フレーム更新部
103 装置情報処理部
104 転送処理部
130 装置管理テーブル
132 経路情報
F 情報フレーム
1
101
Claims (8)
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有することを特徴とする通信装置。 A receiving unit that receives a frame including information related to a plurality of communication devices and time information indicating times when the information related to the plurality of communication devices is updated;
An acquisition unit that acquires information on other communication devices among the information on the plurality of communication devices from the frame;
An update unit that updates information related to the device among the information related to the plurality of communication devices included in the frame, and updates the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a transmission unit that transmits the frame to the destination when the communication device is another communication device.
前記複数の通信装置は、それぞれ、
前記複数の通信装置に関する情報と、前記複数の通信装置に関する情報がそれぞれ更新された時刻を示す時刻情報とを含むフレームを受信する受信部と、
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得する取得部と、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新する更新部と、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する送信部とを有することを特徴とする通信システム。 A plurality of communication devices capable of communicating with each other;
Each of the plurality of communication devices is
A receiving unit that receives a frame including information related to the plurality of communication devices and time information indicating a time when the information related to the plurality of communication devices is updated;
An acquisition unit that acquires information on other communication devices among the information on the plurality of communication devices from the frame;
An update unit that updates information related to the device among the information related to the plurality of communication devices included in the frame, and updates the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a transmission unit that transmits the frame to the destination when the communication device is another communication device.
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得するステップと、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新するステップと、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信するステップとを、コンピュータに実行させることを特徴とする通信方法。 Receiving a frame including information on a plurality of communication devices and time information indicating the time at which the information on the plurality of communication devices is updated;
Obtaining information on other communication devices out of the information on the plurality of communication devices from the frame;
Updating information related to the device among the information related to the plurality of communication devices included in the frame, and updating the time information based on the updated time;
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. And a step of transmitting the frame to the destination when the computer is another communication device.
前記フレームから、前記複数の通信装置に関する情報のうち、他の通信装置に関する情報を取得し、
前記フレームに含まれる前記複数の通信装置に関する情報のうち、自装置に関する情報を更新し、該更新された時刻に基づき前記時刻情報を更新し、
前記フレームの宛先が自装置である場合、前記複数の通信装置のうち、前記時刻情報が示す最も古い時刻に応じた通信装置に前記宛先を変更して前記フレームを送信し、前記フレームの前記宛先が他の通信装置である場合、前記宛先に前記フレームを送信する、処理をコンピュータに実行させることを特徴とする通信プログラム。 Receiving a frame including information on a plurality of communication devices and time information indicating the time at which each of the information on the plurality of communication devices is updated;
From the frame, the information regarding the other communication devices among the information regarding the plurality of communication devices is acquired,
Of the information about the plurality of communication devices included in the frame, update information about the own device, update the time information based on the updated time,
When the destination of the frame is its own device, the frame is transmitted to the communication device according to the oldest time indicated by the time information among the plurality of communication devices, and the frame is transmitted. When is a communication apparatus, a communication program for transmitting the frame to the destination and causing a computer to execute processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015121410A JP6493001B2 (en) | 2015-06-16 | 2015-06-16 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015121410A JP6493001B2 (en) | 2015-06-16 | 2015-06-16 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017011331A JP2017011331A (en) | 2017-01-12 |
JP6493001B2 true JP6493001B2 (en) | 2019-04-03 |
Family
ID=57763963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015121410A Active JP6493001B2 (en) | 2015-06-16 | 2015-06-16 | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6493001B2 (en) |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005130049A (en) * | 2003-10-21 | 2005-05-19 | Fujitsu Ltd | Node |
JP2005252363A (en) * | 2004-03-01 | 2005-09-15 | Murata Mach Ltd | Communication apparatus |
-
2015
- 2015-06-16 JP JP2015121410A patent/JP6493001B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017011331A (en) | 2017-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4576454B2 (en) | Monitoring queues for communication links | |
US8976652B2 (en) | Relay device, method of controlling relay device, and relay system | |
JP6007976B2 (en) | Communication system, controller, communication method and program | |
KR101925184B1 (en) | Virtual router cluster, data forwarding method and device | |
US20150271015A1 (en) | System and method for configuration of link aggregation groups | |
US10326613B2 (en) | Method and system for processing spanning tree protocol (STP) state in a multichassis link aggregation (MLAG) domain | |
JP2014007519A (en) | Information processing system, relaying apparatus, information processing apparatus, and information processing method | |
JP5477426B2 (en) | Packet transfer apparatus and wireless communication system | |
JP4789425B2 (en) | Route table synchronization method, network device, and route table synchronization program | |
JP2005167435A (en) | Vrrp technology sustaining confidentiality of vr | |
JP6868958B2 (en) | Packet transmission program, information processing device, and failure detection method | |
JP2012533129A (en) | High performance automated management method and system for virtual networks | |
JP2020510342A (en) | Method and apparatus for modular routing of AVB streams | |
JP2014116668A (en) | Communication system and network repeater | |
WO2010109767A1 (en) | Data synchronization system, data synchronization method, and synchronization control server | |
WO2014029287A1 (en) | Method and device for sharing tunnel load | |
WO2012160641A1 (en) | Administration device, information processing device, information processing system, data transfer method, path selection program, and transfer request program | |
JP2017530643A5 (en) | ||
JP6493001B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM | |
JP5995279B2 (en) | Network device, method, and program | |
US9521014B2 (en) | Network system and data transmission method | |
JP2016201795A (en) | Sink node status monitoring method, device and system | |
JP2006203723A (en) | Radio access point and its path determination method or its communication method, and radio communication system and its communication method | |
JP4122328B2 (en) | Transmission equipment | |
JP2015115864A (en) | Data transfer system and control method for data transfer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180306 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190130 |
|
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: 20190205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190218 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6493001 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |