[go: up one dir, main page]

JP5640853B2 - Communication system, router, switching hub, and program - Google Patents

Communication system, router, switching hub, and program Download PDF

Info

Publication number
JP5640853B2
JP5640853B2 JP2011066591A JP2011066591A JP5640853B2 JP 5640853 B2 JP5640853 B2 JP 5640853B2 JP 2011066591 A JP2011066591 A JP 2011066591A JP 2011066591 A JP2011066591 A JP 2011066591A JP 5640853 B2 JP5640853 B2 JP 5640853B2
Authority
JP
Japan
Prior art keywords
communication
frame
priority
router
adjacent device
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
Application number
JP2011066591A
Other languages
Japanese (ja)
Other versions
JP2012205012A (en
Inventor
直人 栗山
直人 栗山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2011066591A priority Critical patent/JP5640853B2/en
Priority to CN201280014958.5A priority patent/CN103477594B/en
Priority to PCT/JP2012/057242 priority patent/WO2012128301A1/en
Publication of JP2012205012A publication Critical patent/JP2012205012A/en
Application granted granted Critical
Publication of JP5640853B2 publication Critical patent/JP5640853B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service

Landscapes

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

Description

この発明は、LAN(Local
Area Network)などの通信網を介して行われる各種データ通信の優先度制御に関する。
This invention is a LAN (Local
The present invention relates to priority control of various data communications performed via a communication network such as an area network.

近年、企業等においては、支店などの各拠点にLAN(以下、拠点内LAN)を敷設し、これら拠点内LANをルータによってインターネットなどのIP(Internet Protocol)網に接続して企業内情報システムを構築することが一般に行われている。このような拠点内LANは複数のスイッチングハブをカスケード接続して構成されることが多く、各ユーザ(例えば、企業の従業者)の使用する通信端末はそれらスイッチングハブの何れかに接続される。ここで、ルータとは、OSI(Open Systems Interconnection)参照モデルにおける第3層(ネットワーク層)の通信プロトコルにしたがってパケット(第3層におけるデータの送受信単位)の転送制御を行う中継装置である。また、スイッチングハブとは、OSI参照モデルにおける第2層(データリンク層)の通信プロトコルにしたがってフレーム(第2層におけるデータの送受信単位)の転送制御を行う中継装置であり、L2スイッチとも呼ばれる。   In recent years, corporations have established LANs (hereinafter referred to as local LANs) at each base such as a branch office, and connected these local LANs to an IP (Internet Protocol) network such as the Internet via a router. Building is generally done. Such a local LAN is often configured by cascading a plurality of switching hubs, and a communication terminal used by each user (for example, a company employee) is connected to any one of those switching hubs. Here, the router is a relay device that performs transfer control of packets (data transmission / reception unit in the third layer) according to the communication protocol of the third layer (network layer) in the OSI (Open Systems Interconnection) reference model. The switching hub is a relay device that performs transfer control of a frame (data transmission / reception unit in the second layer) according to the communication protocol of the second layer (data link layer) in the OSI reference model, and is also called an L2 switch.

一般に、企業内情報システムでは、VoIP(Voice Over Internet Protocol)に従った音声データの送受信や、HTTP(Hyper Text Transport Protocol)などにしたがったテキストデータの送受信など、様々な種類のデータ通信が行われる。例えば、拠点間の遠隔会議ではVoIPにしたがった音声データの送受信が行われ、社内掲示板の閲覧または書き込みの際にはテキストデータの送受信が行われる、といった具合である。このように、様々な種類のデータ通信が同時かつ並列に行われ得る場合には、データ通信の種類毎に優先度を予め定めておき、優先度の高いデータ通信が優先度の低いデータ通信によって阻害されないようにする必要がある。例えば、VoIPにしたがって行われるデータ通信の優先度を、HTTPにしたがって行われるデータ通信の優先度よりも高くしておき、後者によって前者が妨げられないようにするのである。前者が後者によって妨げられると、遠隔会議における各会議参加者の発言を表す音声が途切れ途切れに再生されるなどして会議の運営に支障が生じるからである。   In general, in-house information systems perform various types of data communication such as voice data transmission / reception according to VoIP (Voice Over Internet Protocol) and text data transmission / reception according to HTTP (Hyper Text Transport Protocol). . For example, voice data is transmitted / received according to VoIP in a remote conference between bases, and text data is transmitted / received when browsing or writing an in-house bulletin board. As described above, when various types of data communication can be performed simultaneously and in parallel, a priority is determined in advance for each type of data communication, and high-priority data communication is performed by low-priority data communication. It is necessary not to be disturbed. For example, the priority of data communication performed according to VoIP is set higher than the priority of data communication performed according to HTTP so that the former is not hindered by the latter. This is because if the former is hindered by the latter, the voice representing the speech of each conference participant in the remote conference is reproduced intermittently, and the operation of the conference is hindered.

データ通信の種類毎に優先度を予め定めておき、優先度の高いデータ通信が優先度の低いデータ通信によって阻害されないようにする技術の一例としては、QoS(Quality of Service)が挙げられる。QoSとは、各スイッチングハブがフレームの転送制御を行う際に、優先度の高いデータ通信に関するフレームの転送を他のフレームよりも優先的に行うようにすることである。上記のような企業内情報システムの場合、各拠点内LANの運用管理者は、当該拠点内LANに含まれるスイッチングハブの各々に対して、どのような種類のデータ通信を行う通信端末が直接接続されているのか或いは間接的に(すなわち、他のスイッチングハブを介して)接続されるのかを把握した上でそれらデータ通信の優先度との関係でQoSの設定を適切に行うといった煩雑な作業を行わなければならない。このため、QoSの設定に関する煩雑さを軽減するための技術が種々提案されており、その一例としては特許文献1に開示された技術が挙げられる。特許文献1に開示された技術では、音声データの送受信を行う通信端末のMAC(Media Access Control)アドレスと当該音声データを内包したフレームの転送制御の際のQoSの設定内容とを対応付けて各スイッチングハブに予め記憶させておく。そして、自装置のMACアドレステーブルに当該MACアドレスが格納されたことを契機として当該MACアドレスに対応する通信ポートに対して上記設定を適用する処理を各スイッチングハブに実行させるのである。   As an example of a technique for predetermining a priority for each type of data communication so that data communication with high priority is not hindered by data communication with low priority, QoS (Quality of Service) is cited. QoS means that, when each switching hub performs frame transfer control, frame transfer related to data communication with a high priority is preferentially performed over other frames. In the case of the in-house information system as described above, the operation manager of each local LAN directly connects to each switching hub included in the local LAN what type of data communication terminal is connected. It is necessary to know whether it is connected or indirectly (that is, via another switching hub) and then perform complicated operations such as setting QoS appropriately in relation to the priority of the data communication. It must be made. For this reason, various techniques for reducing the complexity related to the QoS setting have been proposed, and an example thereof is the technique disclosed in Patent Document 1. In the technique disclosed in Patent Document 1, the MAC (Media Access Control) address of a communication terminal that transmits and receives audio data is associated with the setting contents of QoS at the time of transfer control of a frame that includes the audio data. Store in advance in the switching hub. Then, when the MAC address is stored in the MAC address table of the own device, each switching hub is caused to execute processing for applying the setting to the communication port corresponding to the MAC address.

特開2005−184192号公報JP 2005-184192 A

特許文献1に開示された技術によれば、音声データ通信を行う通信端末と各スイッチングハブとの接続関係を事前に把握する必要がなくなるという点では運用管理者の作業負荷は軽減される。しかし、特許文献1に開示された技術では、LANに含まれる全てのスイッチングハブに対して、音声データ通信を行う通信端末のMACアドレスとQoSの設定内容とを対応付けて記憶させておくといった作業を事前に行っておく必要があり、運用管理者の作業負荷の軽減が充分ではない。   According to the technique disclosed in Patent Document 1, the workload of the operation manager is reduced in that it is not necessary to know in advance the connection relationship between a communication terminal that performs voice data communication and each switching hub. However, in the technique disclosed in Patent Document 1, the MAC address of the communication terminal that performs voice data communication and the QoS setting contents are stored in association with each other for all switching hubs included in the LAN. Need to be performed in advance, and the workload of the operation manager is not sufficiently reduced.

本発明は上記課題に鑑みて為されたものであり、設定作業の煩雑さを軽減しつつ、各通信端末の実行するデータ通信の優先度に応じた転送制御を各スイッチングハブに行わせることを可能にする技術を提供することを目的とする。   The present invention has been made in view of the above problems, and allows each switching hub to perform transfer control according to the priority of data communication executed by each communication terminal while reducing the complexity of setting work. The aim is to provide technology that makes it possible.

上記課題を解決するために本発明は、配下のネットワークと他のネットワークとを接続するルータと、前記ルータの配下のネットワークに含まれる複数のスイッチングハブと、前記複数のスイッチングハブの何れかに各々接続される複数の通信端末とを含む通信システムにおいて、前記ルータは、前記複数の通信端末の各々に対しては当該通信端末の行うデータ通信の優先度を示す優先度データと当該通信端末に対してフレームの転送を行った通信装置を示す隣接機器情報の送信とを要求し、前記複数のスイッチングハブの各々に対しては当該スイッチングハブについての隣接機器情報の送信を要求する要求フレームに転送元識別子として自装置の通信アドレスを付与して前記ネットワークに向けてマルチキャストする第1の手段と、前記複数の通信端末の各々から当該通信端末についての前記優先度および隣接機器情報を通知するために返信されてくる優先度通知フレーム、および前記複数のスイッチングハブの各々から当該スイッチングハブについての隣接機器情報を通知するために返信されてくる隣接機器通知フレームを受信し、当該ルータから前記複数の通信端末の各々へ至る通信経路上のスイッチングハブを通信端末毎に特定し、各通信経路上のスイッチングハブに対して当該通信経路の終端に位置する通信端末の優先度データと当該通信経路を示す情報とを送信し、当該通信経路に沿って送受信されるフレーム(すなわち、当該通信経路の終端に位置する通信端末を送信先または送信元とするフレーム)の転送制御を当該優先度データの示す優先度で行うよう指示する第2の手段と、を有し、前記複数のスイッチングハブの各々は、自装置に対してフレームの転送を行った通信装置を示す隣接機器情報を記憶する隣接機器テーブルと、受信したフレームに転送元識別子が付与されている場合には当該転送元識別子を隣接器機器情報として前記隣接機器テーブルに書き込んだ後に当該転送元識別子を自装置の通信アドレスに書き換えて当該フレームの宛先に応じた転送制御を行う第3の手段と、受信フレームが前記要求フレームである場合には、前記隣接機器テーブルに格納されている隣接機器情報を書き込んだ隣接機器通知フレームを生成し、自装置の通信アドレスを転送元識別子として付与して返信する第4の手段と、前記ルータから受信した情報の示す通信経路に沿って送受信されるフレームの転送制御が当該情報とともに受信した優先度データの示す優先度で行われるように、当該スイッチングハブにおけるフレームの転送制御の態様を切り換える第5の手段と、を有し、前記複数の通信端末の各々は、前記要求フレームの受信を契機として当該要求フレームに付与されている転送元識別子を当該通信装置についての隣接機器情報として記憶する第6の手段と、自端末が行うデータ通信の優先度を示す優先度データを書き込んだ前記優先度通知フレームに転送元識別子として自装置の通信アドレスを付与して返信する第7の手段とを有することを特徴とする通信システム、を提供する。   In order to solve the above problems, the present invention provides a router for connecting a subordinate network and another network, a plurality of switching hubs included in the network under the router, and any one of the plurality of switching hubs. In a communication system including a plurality of connected communication terminals, the router transmits priority data indicating priority of data communication performed by the communication terminal to each of the plurality of communication terminals and the communication terminal. Requesting transmission of adjacent device information indicating the communication device that has transferred the frame, and requesting each of the plurality of switching hubs to transmit a request frame requesting transmission of adjacent device information about the switching hub A first means for giving a communication address of the own device as an identifier and multicasting to the network; A priority notification frame returned from each of the communication terminals to notify the priority and neighboring device information about the communication terminal, and neighboring device information about the switching hub from each of the plurality of switching hubs. The adjacent device notification frame returned for notification is received, the switching hub on the communication path from the router to each of the plurality of communication terminals is specified for each communication terminal, and the switching hub on each communication path is specified. On the other hand, the priority data of the communication terminal located at the end of the communication path and the information indicating the communication path are transmitted, and the frame transmitted / received along the communication path (that is, the communication located at the end of the communication path) An instruction is given to perform transfer control of a frame having a terminal as a transmission destination or transmission source at the priority indicated by the priority data. Each of the plurality of switching hubs, wherein each of the plurality of switching hubs stores an adjacent device table that stores adjacent device information indicating a communication device that has transferred a frame to the own device, and a transfer source in the received frame If an identifier is assigned, the transfer source identifier is written in the adjacent device table as neighbor device information, and then the transfer source identifier is rewritten to the communication address of the own device to perform transfer control according to the destination of the frame. If the received frame is the request frame, the third means to perform, generate an adjacent device notification frame in which the adjacent device information stored in the adjacent device table is written, and transfer the communication address of its own device A fourth means for giving and returning as an identifier, and transfer control of frames transmitted and received along the communication path indicated by the information received from the router. And a fifth means for switching a frame transfer control mode in the switching hub so as to be performed with the priority indicated by the priority data received together with the information, and each of the plurality of communication terminals includes the Sixth means for storing the transfer source identifier given to the request frame as reception of the request frame as neighboring device information for the communication device, and priority data indicating the priority of data communication performed by the terminal itself And a seventh means for replying with the communication address of the own apparatus as a transfer source identifier.

このような通信システムにおいては、各通信端末に当該通信端末が行うデータ通信の優先度を示す優先度データを予め記憶させておけば、ルータから当該通信端末へ至る通信経路上の各スイッチングハブのフレーム転送制御における優先度の設定が自動的に変更される。このため、上記通信システムによれば、各スイッチングハブに対して特段の設定作業を行うことなく、各通信端末の実行するデータ通信の優先度に応じた転送制御を各スイッチングハブに行わせることが可能になる。   In such a communication system, if priority data indicating the priority of data communication performed by the communication terminal is stored in advance in each communication terminal, each switching hub on the communication path from the router to the communication terminal is stored. The priority setting in the frame transfer control is automatically changed. Therefore, according to the above communication system, each switching hub can be controlled to perform transfer control according to the priority of data communication performed by each communication terminal without performing special setting work for each switching hub. It becomes possible.

より好ましい態様においては、前記第5の手段は、前記ルータから受信した情報の示す通信経路の終端に位置する通信端末を送信元とするフレームを受信した場合に、当該フレームのペイロード部に書き込まれているパケットについての第3層におけるパケットの転送制御が当該優先度データの示す優先度に応じて行われるように当該パケットのヘッダ部を書き換えることを特徴とする。このような態様によれば、ルータから他のネットワークへ送出されたパケットが当該他のネットワークにおける第3層の転送制御の際に優先的に取り扱われることが期待される。ここで、第3層における転送制御の際の優先度が高くなるように当該パケットのヘッダ部を書き換えることの具体例としては、DSCP(Diff Serv Code Point)値や、CoS値或いはTOS値を高い優先度を表す値に書き換えることが挙げられる。   In a more preferred aspect, when the fifth means receives a frame originating from a communication terminal located at the end of the communication path indicated by the information received from the router, the fifth means is written in the payload portion of the frame. It is characterized in that the header portion of the packet is rewritten so that the packet transfer control in the third layer with respect to the received packet is performed according to the priority indicated by the priority data. According to such an aspect, it is expected that a packet transmitted from the router to another network is preferentially handled in the third layer transfer control in the other network. Here, as a specific example of rewriting the header part of the packet so that the priority at the time of transfer control in the third layer becomes high, a DSCP (Diff Serv Code Point) value, a CoS value or a TOS value is high It can be rewritten to a value representing priority.

また、上記課題を解決するために本発明は、配下のネットワークに含まれる複数のスイッチングハブの各々に対しては当該スイッチングハブに対してフレームの転送を行った通信装置を示す隣接機器情報の送信を要求し、前記複数のスイッチングハブの各々に接続される各通信端末に対しては当該通信端末の行うデータ通信の優先度を示す優先度データと当該通信端末についての隣接機器情報の送信を要求する要求フレームに自装置の通信アドレスを転送元識別子として付与して前記ネットワークに向けてマルチキャストするマルチキャスト手段と、前記複数の通信端末の各々から当該通信端末についての前記優先度および隣接機器情報を通知するために返信されてくる優先度通知フレーム、および前記複数のスイッチングハブの各々から当該スイッチングハブについての隣接機器情報を通知するために返信されてくる隣接機器通知フレームを受信し、当該ルータから前記複数の通信端末の各々へ至る通信経路上のスイッチングハブを通信端末毎に特定し、各通信経路上のスイッチングハブに対して当該通信経路の終端に位置する通信端末の優先度データと当該通信経路を示す情報とを送信し、当該通信経路に沿って送受信されるフレームの転送制御を当該優先度データの示す優先度で行うよう指示する優先度設定制御手段とを有すことを特徴とするルータ、を提供する。このようなルータを、上記スイッチングハブ、および上記通信端末と組み合わせることで、上記通信システムを構成することができるからである。   Further, in order to solve the above-described problem, the present invention transmits, to each of a plurality of switching hubs included in a subordinate network, transmission of adjacent device information indicating a communication device that has transferred a frame to the switching hub. Requesting each communication terminal connected to each of the plurality of switching hubs to transmit priority data indicating the priority of data communication performed by the communication terminal and neighboring device information about the communication terminal. A multicast unit that assigns the communication address of its own device as a transfer source identifier to a request frame to be transmitted and multicasts to the network, and notifies the priority and neighboring device information about the communication terminal from each of the plurality of communication terminals For receiving the priority notification frame and each of the plurality of switching hubs. Receiving a neighboring device notification frame returned to notify neighboring device information about the switching hub, specifying a switching hub on a communication path from the router to each of the plurality of communication terminals, for each communication terminal; The priority data of the communication terminal located at the end of the communication path and information indicating the communication path are transmitted to the switching hub on each communication path, and transfer control of frames transmitted and received along the communication path is performed. There is provided a router characterized by having priority setting control means for instructing to perform at the priority indicated by the priority data. This is because the communication system can be configured by combining such a router with the switching hub and the communication terminal.

また、本発明の別の態様としては、コンピュータを上記マルチキャスト手段および優先度設定制御手段として機能させるプログラムを提供する態様も考えられる。このようなプログラムを一般的なコンピュータにインストールし、当該コンピュータの制御部を当該プログラムにしたがって作動させることで、当該コンピュータを本発明のルータとして機能させることができるからである。また、一般的なルータに上記プログラムをインストールし、当該ルータのルーティング制御部を上記プログラムにしたがって作動させることで、一般的なルータに本発明のルータの特徴を顕著に示す機能を付与することが可能になる。なお、上記プログラムの具体的な提供態様としては、例えばCD−ROM(Compact Disk-Read Only Memory)やDVD(Digital Versatile Disc)などのコンピュータ読み取り可能な記録媒体に書き込んで配布する態様や、インターネットなどの電気通信回線経由のダウンロードにより配布する態様が考えられる。   As another aspect of the present invention, an aspect of providing a program that causes a computer to function as the multicast means and the priority setting control means is also conceivable. This is because by installing such a program on a general computer and operating the control unit of the computer according to the program, the computer can function as the router of the present invention. In addition, by installing the above program in a general router and operating the routing control unit of the router according to the above program, it is possible to give the general router a function that significantly shows the characteristics of the router of the present invention. It becomes possible. In addition, as a concrete supply mode of the above-mentioned program, for example, a mode in which the program is written and distributed on a computer-readable recording medium such as a CD-ROM (Compact Disk-Read Only Memory) and a DVD (Digital Versatile Disc), the Internet A mode of distribution by downloading via a telecommunication line is conceivable.

また、上記課題を解決するために本発明は、自装置に対してフレームの転送を行った通信装置を示す隣接機器情報を記憶する隣接機器テーブルと、受信したフレームの転送制御をその宛先に応じて行う手段であって、当該受信フレームに転送元識別子が付与されている場合には当該転送元識別子を隣接器機器情報として前記隣接機器テーブルに書き込んだ後に当該転送元識別子を自装置の通信アドレスに書き換えて当該フレームの宛先に応じた転送制御を行うフレーム転送制御手段と、受信フレームが当該スイッチングハブにフレームを転送した通信装置を示す隣接機器情報の送信を要求するために当該スイッチングハブを含むネットワークを他のネットワークに接続するルータから送信された要求フレームである場合には、前記隣接機器テーブルに格納されている隣接機器情報を書き込んだ隣接機器通知フレームを生成し、自装置の通信アドレスを転送元識別子として付与して返信する隣接機器通知手段と、前記ルータから受信した情報の示す通信経路に沿って送受信されるフレームの転送制御が当該情報とともに受信した優先度データの示す優先度で行われるように、当該スイッチングハブにおけるフレームの転送制御の態様を切り換える優先度設定変更手段と、を有することを特徴とするスイッチングハブ、を提供する。このようなスイッチングハブを、前述したマルチキャスト手段および優先度設定制御手段を有するルータ、および上記通信端末と組み合わせることで、上記通信システムを構成することができるからである。また、本発明の別の態様においては、コンピュータを、隣接機器情報を記憶する記憶手段、フレーム転送制御手段、隣接機器通知手段および優先度設定変更手段として機能させるプログラムを提供する態様が考えられる。   In order to solve the above-described problem, the present invention provides an adjacent device table for storing adjacent device information indicating a communication device that has transferred a frame to the own device, and performs transfer control of the received frame according to the destination. And when the transfer source identifier is given to the received frame, the transfer source identifier is written in the adjacent device table as adjacent device information, and then the transfer source identifier is set to the communication address of the own device. To the frame transfer control means for performing transfer control according to the destination of the frame, and the switching hub for requesting the transmission of the adjacent device information indicating the communication device that has received the frame transferred to the switching hub. In the case of a request frame transmitted from a router that connects a network to another network, A neighboring device notification means for generating a neighboring device notification frame in which the neighboring device information stored in the network is written, giving the communication address of the own device as a transfer source identifier, and returning, and communication indicated by the information received from the router Priority setting change means for switching a frame transfer control mode in the switching hub so that transfer control of frames transmitted / received along the path is performed with the priority indicated by the priority data received together with the information. A switching hub is provided. This is because the communication system can be configured by combining such a switching hub with the router having the multicast unit and the priority setting control unit and the communication terminal. Further, in another aspect of the present invention, an aspect is conceivable in which a program for causing a computer to function as storage means for storing adjacent device information, frame transfer control means, adjacent device notification means, and priority setting change means is provided.

本発明の第1実施形態の企業内情報システムの構成例を示す図である。It is a figure which shows the structural example of the information system in a company of 1st Embodiment of this invention. 同システムに含まれる通信端末40の構成例を示す図である。It is a figure which shows the structural example of the communication terminal 40 contained in the system. 同通信端末40の制御部410が実行する優先度通知処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the priority notification process which the control part 410 of the communication terminal 40 performs. 同システムに含まれるルータ60の配下のネットワークにおいて送受信されるフレームのデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the flame | frame transmitted / received in the network under the router 60 contained in the system. 同システムに含まれるスイッチングハブ50の構成例を示す図である。It is a figure which shows the structural example of the switching hub 50 contained in the system. 同スイッチングハブ50のスイッチングエンジン部520がファームウェアにしたがって実行する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which the switching engine part 520 of the switching hub 50 performs according to a firmware. 同ルータ60の構成例を示す図である。3 is a diagram illustrating a configuration example of the router 60. FIG. 同ルータ60のルーティングエンジン部620がファームウェアにしたがって実行する優先度設定制御処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the priority setting control processing which the routing engine part 620 of the router 60 performs according to a firmware. LAN1Aにおける各装置の接続関係の一例を示す図である。It is a figure which shows an example of the connection relation of each apparatus in LAN1A. 本実施形態の動作を説明するための図である。It is a figure for demonstrating the operation | movement of this embodiment. 本実施形態の動作を説明するための図である。It is a figure for demonstrating the operation | movement of this embodiment. 本実施形態の効果を説明するための図である。It is a figure for demonstrating the effect of this embodiment. 本発明の第2実施形態のLAN1Cの構成例を示す図である。It is a figure which shows the structural example of LAN1C of 2nd Embodiment of this invention. ルータ60Aが生成するトポロジデータから把握されるLAN1Cのネットワークトポロジを説明するための図である。It is a figure for demonstrating the network topology of LAN1C grasped | ascertained from the topology data which the router 60A produces | generates.

以下、図面を参照しつつ、この発明の実施形態について説明する。
<A:第1実施形態>
<A−1:構成>
図1は、本発明の一実施形態の通信システムの構成例を示す図である。この通信システムは、前述した企業内情報システムであり、企業の支店などの拠点に敷設される拠点内LANであるLAN1AとLAN1BをインターネットなどのIP網に接続して構成されている。図1に示すように、LAN1Aは、ルータ60Aと、2台のスイッチングハブ(スイッチングハブ50Aおよび50B)と、3台の通信端末(通信端末40A、40Bおよび40C)と、を含んでおり、ルータ60Aを介してIP網に接続される。図1に示すように、ルータ60Aにはスイッチングハブ50Aが接続されており、スイッチングハブ50Aにはスイッチングハブ50Bと通信端末40Aとが接続されている。そして、スイッチングハブ50Bには通信端末40Bと40Cが接続されている。一方、LAN1Bは、ルータ60Bと、スイッチングハブ50Cと、3台の通信端末(通信端末40D、40Eおよび40F)と、を含んでおり、ルータ60Bを介してIP網に接続される。図1に示すように、ルータ60Bにはスイッチングハブ50Cが接続されており、スイッチングハブ50Cには通信端末40D、40Eおよび40Fの各々が接続される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<A: First Embodiment>
<A-1: Configuration>
FIG. 1 is a diagram illustrating a configuration example of a communication system according to an embodiment of the present invention. This communication system is the above-described in-company information system, and is configured by connecting LANs 1A and 1B, which are local LANs installed at bases such as branch offices, to an IP network such as the Internet. As shown in FIG. 1, the LAN 1A includes a router 60A, two switching hubs (switching hubs 50A and 50B), and three communication terminals (communication terminals 40A, 40B, and 40C). It is connected to the IP network via 60A. As shown in FIG. 1, a switching hub 50A is connected to the router 60A, and a switching hub 50B and a communication terminal 40A are connected to the switching hub 50A. Communication terminals 40B and 40C are connected to the switching hub 50B. On the other hand, the LAN 1B includes a router 60B, a switching hub 50C, and three communication terminals (communication terminals 40D, 40E, and 40F), and is connected to the IP network via the router 60B. As shown in FIG. 1, a switching hub 50C is connected to the router 60B, and each of the communication terminals 40D, 40E, and 40F is connected to the switching hub 50C.

図1に示す6台の通信端末は、例えばパーソナルコンピュータであり、全て同一の構成を有している。以下では、これら6台の通信端末の各々を区別する必要がない場合には、「通信端末40」と表記する。図1に示す3台のスイッチングハブも全て同一の構成を有しており、これら3台のスイッチングハブの各々を区別する必要がない場合には、「スイッチングハブ50」と表記する。同様に、図1に示すルータ60Aおよび60Bの各々も同一の構成を有しており、これら2台のルータの各々を区別する必要がない場合には、「ルータ60」と表記する。   The six communication terminals shown in FIG. 1 are personal computers, for example, and all have the same configuration. Below, when it is not necessary to distinguish each of these 6 communication terminals, it describes with the "communication terminal 40". The three switching hubs shown in FIG. 1 all have the same configuration, and when it is not necessary to distinguish each of these three switching hubs, they are denoted as “switching hub 50”. Similarly, each of the routers 60A and 60B shown in FIG. 1 has the same configuration, and when it is not necessary to distinguish each of these two routers, they are denoted as “router 60”.

通信端末40は、ルータ60の配下のネットワーク(ルータ60によってIP網に接続され、ルータ60をデフォルトゲートウェイとするネットワーク、ルータ60AであればLAN1A、ルータ60BであればLAN1B)に含まれるスイッチングハブ50に接続されることで、当該ネットワークに収容される。ルータ60の配下のネットワークに収容された通信端末40は、他の通信装置(例えば、LAN1Aに収容されている他の通信端末や他の拠点内LANに収容されている通信端末、或いはIP網に接続されているWWWサーバなど)との間でデータ通信を行う。より詳細に説明すると、図1に示す6台の通信端末のうち、通信端末40A、40B、40Dおよび40Eの各々はVoIPにしたがって音声パケットの送受信を行うVoIP端末である。ここで、音声パケットとは、端末使用者の発話音声を表す音声データが圧縮符号化されてペイロード部に書き込まれたパケットのことである。これら4台のVoIP端末のうち、通信端末40Bと40Eは遠隔会議などの一般的な音声通信に利用され、通信端末40Aと40Dは例えば火災通報などの緊急音声通信にのみ利用される。また、通信端末40Cおよび40Fは例えばHTTPにしたがってテキストデータの送受信を行うなど、音声データ以外のデータの送受信を行う端末である。   The communication terminal 40 is a switching hub 50 included in a network under the router 60 (a network connected to the IP network by the router 60 and using the router 60 as a default gateway, LAN 1A if the router 60A, LAN 1B if the router 60B). It is accommodated in the said network by connecting to. The communication terminal 40 accommodated in the network under the router 60 is connected to another communication device (for example, another communication terminal accommodated in the LAN 1A, a communication terminal accommodated in another local LAN, or an IP network). Data communication is performed with a connected WWW server or the like. More specifically, among the six communication terminals shown in FIG. 1, each of the communication terminals 40A, 40B, 40D, and 40E is a VoIP terminal that transmits and receives voice packets according to VoIP. Here, the voice packet is a packet in which voice data representing the voice of the terminal user is compressed and encoded and written in the payload portion. Of these four VoIP terminals, the communication terminals 40B and 40E are used for general voice communication such as a remote conference, and the communication terminals 40A and 40D are used only for emergency voice communication such as a fire report. The communication terminals 40C and 40F are terminals that transmit / receive data other than voice data, for example, transmit / receive text data according to HTTP.

スイッチングハブ50は、第2層においてデータ通信を中継する中継装置であり、フレームの送信先MACアドレスに基づく転送制御を行う。ルータ60は、第3層においてデータ通信を中継する中継装置である。例えば、ルータ60は、IP網から受信したパケットの送信先IPアドレスが配下のネットワークに収容された通信端末40のものであれば、そのパケットを配下のネットワークへと転送し、その送信先IPアドレスが配下のネットワークに収容された通信端末40のものではない場合にはルーティングテーブルの格納内容にしたがって他のルータへ転送する、といった具合である。   The switching hub 50 is a relay device that relays data communication in the second layer, and performs transfer control based on a frame destination MAC address. The router 60 is a relay device that relays data communication in the third layer. For example, if the destination IP address of the packet received from the IP network is that of the communication terminal 40 accommodated in the subordinate network, the router 60 transfers the packet to the subordinate network, and the destination IP address Is not the one of the communication terminal 40 accommodated in the subordinate network, it is transferred to another router according to the stored contents of the routing table.

前述したように、図1に示すLAN1AおよびLAN1Bの各々において、各通信端末40は、一般的な音声通信、緊急音声通信、および音声通信以外のデータ通信の3種類のデータ通信を行う。これら3種類のデータ通信の優先度は互いに異なっている。具体的には、通信端末40A或いは40Dが行う緊急音声通信の優先度が最も高く、次いで通信端末40B或いは40Eが行う音声通信の優先度が高く、通信端末40C或いは40Fが行うデータ通信の優先度が最も低い、といった具合である。このため、LAN1A(或いはLAN1B)においては、通信端末40A(或いは、通信端末40D)が送受信するフレームの転送が最優先で行われ、通信端末40B(或いは、通信端末40E)が送受信するフレームの転送は次に高い優先度で行われるように各スイッチングハブ50におけるフレーム転送制御の設定が行われている必要があり、ルータ60におけるパケット転送制御の設定についても同様である。   As described above, in each of the LAN 1A and the LAN 1B shown in FIG. 1, each communication terminal 40 performs three types of data communication such as general voice communication, emergency voice communication, and data communication other than voice communication. These three types of data communication have different priorities. Specifically, the priority of emergency voice communication performed by the communication terminal 40A or 40D is the highest, followed by the priority of voice communication performed by the communication terminal 40B or 40E, and the priority of data communication performed by the communication terminal 40C or 40F. Is the lowest. For this reason, in LAN 1A (or LAN 1B), transfer of frames transmitted and received by communication terminal 40A (or communication terminal 40D) is performed with the highest priority, and transfer of frames transmitted and received by communication terminal 40B (or communication terminal 40E) is performed. The frame transfer control setting in each switching hub 50 needs to be set so as to be performed with the next highest priority, and the same applies to the packet transfer control setting in the router 60.

従来、これらの設定については、LAN1A(或いはLAN1B)の運用管理者によって人手で行われることが一般的であった。これに対して、本実施形態では、通信端末40、スイッチングハブ50およびルータ60の各々に本実施形態の特徴を顕著に示す処理を実行させることで、スイッチングハブ50に対するフレーム転送制御の設定、およびルータ60に対するパケット転送制御の設定が自動的に行われる。以下、通信端末40、スイッチングハブ50、およびルータ60について詳細に説明する。   Conventionally, these settings are generally performed manually by an operation manager of the LAN 1A (or LAN 1B). On the other hand, in the present embodiment, by causing each of the communication terminal 40, the switching hub 50, and the router 60 to execute processing that clearly shows the characteristics of the present embodiment, the frame transfer control setting for the switching hub 50, and The packet transfer control setting for the router 60 is automatically performed. Hereinafter, the communication terminal 40, the switching hub 50, and the router 60 will be described in detail.

<A−1−1:通信端末40の構成>
図2は、通信端末40の構成を示すブロック図である。図2に示すように、通信端末40は、制御部410、通信インタフェース(以下、I/F)部420、ユーザI/F部430、記憶部440、およびこれら構成要素間のデータ授受を仲介するバス450を含んでいる。制御部410は、CPUであり、記憶部440に格納されているプログラムを実行することで通信端末40の制御中枢として機能する。通信I/F部420は、例えばNIC(Network Interface Card)である。通信I/F部420は、その接続先のスイッチングハブ50から転送されてくるデータを受信して制御部410に引き渡す一方、制御部410から引き渡されたデータを当該スイッチングハブ50に向けて送出する。
<A-1-1: Configuration of the communication terminal 40>
FIG. 2 is a block diagram illustrating a configuration of the communication terminal 40. As shown in FIG. 2, the communication terminal 40 mediates data exchange between the control unit 410, a communication interface (hereinafter referred to as I / F) unit 420, a user I / F unit 430, a storage unit 440, and these components. A bus 450 is included. The control unit 410 is a CPU, and functions as a control center of the communication terminal 40 by executing a program stored in the storage unit 440. The communication I / F unit 420 is, for example, a NIC (Network Interface Card). The communication I / F unit 420 receives the data transferred from the switching hub 50 that is the connection destination and transfers the data to the control unit 410, while sending the data transferred from the control unit 410 toward the switching hub 50. .

ユーザI/F部430は、音声の入出力を行うための音声入出力部や、各種画面を表示する表示部、テンキーなど各種データの入力をユーザに行わせるための操作部(何れも図示略)を含んでいる。通信端末40A、40B、40Dおよび40Eでは、ユーザI/F部430を介してユーザの音声が入力されるとともに、通話相手の音声の出力が行われる。また、通信端末40Cおよび40Fでは、ユーザI/F部430を介して各種データ(相手方へ送信するテキストデータなど)の入出力が行われる。   The user I / F unit 430 includes a voice input / output unit for inputting / outputting a voice, a display unit for displaying various screens, and an operation unit for allowing a user to input various data such as a numeric keypad (both not shown). ) Is included. In communication terminals 40A, 40B, 40D, and 40E, the user's voice is input via user I / F unit 430, and the voice of the other party is output. In communication terminals 40C and 40F, various data (such as text data to be transmitted to the other party) is input / output via user I / F unit 430.

記憶部440は、図2に示すように、不揮発性記憶部442と揮発性記憶部444とを含んでいる。不揮発性記憶部442は、例えばハードディスクである。この不揮発性記憶部442には、VoIPにしたがった音声通信やHTTPにしたがったテキストデータの送受信などを行うための通信プログラム(図2では、図示略)が格納されている。また、不揮発性記憶部442には、図3に示す優先度通知処理を制御部410に実行させるための優先度通知プログラムと、当該通信端末40が実行するデータ通信の優先度を示す優先度データとが格納されている。この優先度通知処理の処理内容については後に明らかにする。本実施形態では、優先度データとして“0”、“1”または“2”の何れかの値のデータが使用される。より詳細に説明すると、通信端末40Aと40Dには優先度データとして“0”が、通信端末40Bと40Eには優先度データとして“1”が、通信端末40Cと40Fには優先度データとして“2”が予め格納されている。つまり、本実施形態の優先度データは、その値が小さいほど高い優先度を表すのである。不揮発性記憶部442への優先度データの書き込みは、例えばユーザI/F部430に対する操作によって通信端末40のユーザ、或いは当該通信端末40を収容するネットワークの運用管理者に予め行わせておけば良い。   As shown in FIG. 2, the storage unit 440 includes a nonvolatile storage unit 442 and a volatile storage unit 444. The nonvolatile storage unit 442 is, for example, a hard disk. The non-volatile storage unit 442 stores a communication program (not shown in FIG. 2) for performing voice communication according to VoIP and text data transmission / reception according to HTTP. The nonvolatile storage unit 442 includes a priority notification program for causing the control unit 410 to execute the priority notification process illustrated in FIG. 3 and priority data indicating the priority of data communication performed by the communication terminal 40. And are stored. The processing contents of this priority notification processing will be clarified later. In the present embodiment, data having a value of “0”, “1”, or “2” is used as the priority data. More specifically, the communication terminals 40A and 40D have “0” as priority data, the communication terminals 40B and 40E have “1” as priority data, and the communication terminals 40C and 40F have “0” as priority data. 2 "is stored in advance. That is, the priority data of this embodiment represents a higher priority as the value is smaller. If the priority data is written to the non-volatile storage unit 442, for example, the user of the communication terminal 40 or the operation manager of the network that houses the communication terminal 40 may be performed in advance by operating the user I / F unit 430. good.

揮発性記憶部444は、例えばRAM(Random Access Memory)であり、通信プログラムや優先度通知プログラムなどの各種プログラムを実行する際のワークエリアとして利用される。また、揮発性記憶部444には、図2に示すように、隣接機器情報が格納される。ここで、隣接機器情報とは、当該通信端末40に対してフレームの転送を行った中継装置を示す情報(本実施形態では、当該通信端末40の接続先のスイッチングハブ50のMACアドレス)である。詳細については後述するが揮発性記憶部444への隣接機器情報の書き込みは、優先度通知プログラムの実行過程で行われる。以下では、優先度通知プログラムにしたがって実行される優先度通知処理の処理内容の詳細な説明に先立って、ルータ60の配下のネットワークにおいて送受信されるフレームのデータ構造を説明しておく。   The volatile storage unit 444 is, for example, a RAM (Random Access Memory), and is used as a work area when executing various programs such as a communication program and a priority notification program. The volatile storage unit 444 stores adjacent device information as shown in FIG. Here, the adjacent device information is information indicating the relay device that has transferred the frame to the communication terminal 40 (in this embodiment, the MAC address of the switching hub 50 to which the communication terminal 40 is connected). . Although details will be described later, the neighboring device information is written to the volatile storage unit 444 in the course of executing the priority notification program. In the following, prior to a detailed description of the processing contents of the priority notification process executed in accordance with the priority notification program, the data structure of frames transmitted and received in the network under the router 60 will be described.

図4(A)は、ルータ60の配下のネットワークにおいて送受信される一般的なフレームのデータ構造を示す図である。図4(A)に示すように、フレームは、ヘッダ部と、ペイロード部とを有している。ヘッダ部には、送信先MACアドレス、送信元MACアドレス、および種別識別子が格納される。送信先MACアドレスとは当該フレームの宛先となる機器のMACアドレスであり、送信元MACアドレスとは、フレームを送信した機器のMACアドレスである。種別識別子とは、当該フレームの種別(例えば、ペイロード部にどのような種類のパケットが書き込まれているか等)を示すデータである。   FIG. 4A is a diagram illustrating a data structure of a general frame transmitted / received in the network under the router 60. As shown in FIG. 4A, the frame has a header portion and a payload portion. The header part stores a transmission destination MAC address, a transmission source MAC address, and a type identifier. The transmission destination MAC address is the MAC address of the device that is the destination of the frame, and the transmission source MAC address is the MAC address of the device that transmitted the frame. The type identifier is data indicating the type of the frame (for example, what type of packet is written in the payload portion).

ルータ60の配下のネットワークにおいて送受信されるフレームのうち、本実施形態の特徴を顕著に示すものとしては、要求フレーム、優先度通知フレーム、隣接機器通知フレーム、および設定変更指示フレームの4種類が挙げられる。これら4種類のフレームについては種別識別子として共通の値(音声通信に関するフレームやテキストデータのデータ通信に関するものとは異なる値)が書き込まれる。要求フレームとは、ルータ60が、配下のネットワークに収容された通信端末40に対しては優先度通知フレームの返信を、同ネットワークに含まれるスイッチングハブ50に対しては隣接機器通知フレームの返信を、各々要求するために配下のネットワークへマルチキャストするフレームである。優先度通知フレームとは、通信端末40が上記要求フレームに対する応答として返信(ユニキャスト)するフレームであり、隣接機器通知フレームとは、スイッチングハブ50が上記要求フレームに対する応答として当該要求フレームの送信元へ返信(ユニキャスト)するフレームである。以下では、隣接機器通知フレームと優先度通知フレームとを区別する必要がない場合には、単に「通知フレーム」と表記する。そして、設定変更指示フレームとは、ルータ60が配下のネットワークに含まれるスイッチングハブ50に対してフレーム転送制御における優先度の設定変更を指示するために送信するフレームである。   Of the frames transmitted and received in the network under the router 60, the features of the present embodiment are remarkably shown in the following four types: request frame, priority notification frame, adjacent device notification frame, and setting change instruction frame. It is done. For these four types of frames, common values (values different from those related to voice communication and text data data communication) are written as type identifiers. The request frame means that the router 60 returns a priority notification frame to the communication terminal 40 accommodated in the subordinate network, and returns a neighboring device notification frame to the switching hub 50 included in the network. , A frame that is multicast to the subordinate network for each request. The priority notification frame is a frame that the communication terminal 40 returns (unicast) as a response to the request frame, and the adjacent device notification frame is a transmission source of the request frame as a response to the request frame by the switching hub 50. This is a frame to reply to (unicast). Hereinafter, when there is no need to distinguish between the adjacent device notification frame and the priority notification frame, they are simply referred to as “notification frame”. The setting change instruction frame is a frame transmitted by the router 60 to instruct the switching hub 50 included in the subordinate network to change the priority setting in the frame transfer control.

図4(B)は、要求フレームのペイロード部のデータ構造を示す図である。図4(B)に示すように要求フレームのペイロード部には、送信先MACアドレス、送信元MACアドレス、メッセージ種別識別子、および転送元識別子が書き込まれる。要求フレームのペイロード部の送信先MACアドレスは、同フレームにヘッダ部に書き込まれている送信先MACアドレスと同一であり、同ペイロード部の送信元MACアドレスについても同様である。メッセージ種別識別子には、当該フレームが上記4種類のフレームの何れであるのかを示す値がセットされる。例えば、メッセージ種別識別子として文字コードデータを用いる場合には、要求フレームにはメッセージ種別識別子として“1”(或いは“A”)を示す文字コードが、優先度通知フレームにはメッセージ識別子として“2”(或いは“B”)を示す文字コードが、隣接機器通知フレームにはメッセージ識別子として“3”(或いは“C”)を示す文字コードが、設定変更指示フレームにはメッセージ種別識別子として“4”(或いは“D”)を示す文字コードが各々セットされる、といった具合である。転送元識別子には、要求フレームの送信の際にはその送信元のMACアドレスがセットされ、スイッチングハブ50によって当該フレームの転送が行われるたびに当該転送を行ったスイッチングハブ50のMACアドレスに書き換えられる。詳細については後述するが、スイッチングハブ50および通信端末40は、要求フレームを受信した場合に、当該要求フレームの転送元識別子を参照することで、自装置に対して当該要求フレームの転送を行った中継装置を特定することができるのである。   FIG. 4B is a diagram illustrating the data structure of the payload portion of the request frame. As shown in FIG. 4B, a destination MAC address, a source MAC address, a message type identifier, and a transfer source identifier are written in the payload portion of the request frame. The destination MAC address of the payload portion of the request frame is the same as the destination MAC address written in the header portion of the frame, and the same applies to the source MAC address of the payload portion. In the message type identifier, a value indicating which of the above four types of frames is set. For example, when character code data is used as a message type identifier, a character code indicating “1” (or “A”) as a message type identifier in the request frame, and “2” as a message identifier in the priority notification frame. (Or “B”), a character code indicating “3” (or “C”) as a message identifier in the adjacent device notification frame, and “4” (as a message type identifier in the setting change instruction frame) Alternatively, a character code indicating “D”) is set. The transmission source identifier is set with the MAC address of the transmission source when the request frame is transmitted, and rewritten to the MAC address of the switching hub 50 that performed the transfer every time the switching hub 50 transfers the frame. It is done. Although details will be described later, when the switching hub 50 and the communication terminal 40 receive the request frame, the switching hub 50 and the communication terminal 40 transfer the request frame to their own devices by referring to the transfer source identifier of the request frame. The relay device can be specified.

図4(C)は、隣接機器通知フレームのペイロード部のデータ構造を示す図である。図4(C)に示すように、隣接機器通知フレームのペイロード部には、送信先MACアドレス、送信元MACアドレス、メッセージ種別識別子、および転送元識別子の他に、隣接機器情報リストが書き込まれる。詳細については後述するが、隣接機器情報リストとは、当該隣接機器通知フレームの送信元のスイッチングハブに対してフレームの転送を行った機器のMACアドレスと当該フレームを受信した通信ポートとの対応関係を表す情報である。図4(D)は、優先度通知フレームのペイロード部のデータ構造を示す図である。図4(D)に示すように、優先度通知フレームのペイロード部には、送信先MACアドレス、送信元MACアドレス、メッセージ種別識別子および転送元識別子の他に、当該優先度通知フレームの送信元の通信端末40の隣接機器情報と優先度データとが書き込まれる。詳細については後述するが、ルータ60およびスイッチングハブ50は、これら通知フレームを受信した場合に、当該通知フレームの転送元識別子を参照することで、自装置に対して当該通知フレームの転送を行った装置を特定することができるのである。   FIG. 4C is a diagram illustrating the data structure of the payload portion of the adjacent device notification frame. As shown in FIG. 4C, in the payload portion of the adjacent device notification frame, the adjacent device information list is written in addition to the transmission destination MAC address, the transmission source MAC address, the message type identifier, and the transfer source identifier. Although details will be described later, the adjacent device information list is a correspondence relationship between the MAC address of the device that has transferred the frame to the switching hub that is the transmission source of the adjacent device notification frame and the communication port that has received the frame Is information. FIG. 4D is a diagram illustrating the data structure of the payload portion of the priority notification frame. As shown in FIG. 4D, in the payload portion of the priority notification frame, in addition to the transmission destination MAC address, the transmission source MAC address, the message type identifier, and the transfer source identifier, the transmission source of the priority notification frame The adjacent device information and priority data of the communication terminal 40 are written. Although details will be described later, when the router 60 and the switching hub 50 receive these notification frames, the router 60 and the switching hub 50 transfer the notification frame to their own devices by referring to the transfer source identifier of the notification frame. The device can be specified.

図4(E)は、設定変更指示フレームのペイロード部のデータ構造を示す図である。図4(E)に示すように、設定変更指示フレームのペイロード部には、送信先MACアドレスと、送信元MACアドレスと、メッセージ種別識別子とが書き込まれる他、設定変更指示データが書き込まれる。設定変更指示データには、当該設定変更指示フレームの送信先のスイッチングハブ50に対して優先度設定を変更するべき通信ポートを示すポート識別子と当該優先度を示す優先度データとが含まれている。以上がルータ60の配下のネットワークにおいて送受信されるフレームのデータ構造である。   FIG. 4E shows the data structure of the payload portion of the setting change instruction frame. As shown in FIG. 4E, in the payload portion of the setting change instruction frame, the transmission destination MAC address, the transmission source MAC address, and the message type identifier are written, and setting change instruction data is written. The setting change instruction data includes a port identifier indicating a communication port whose priority setting should be changed for the switching hub 50 that is the transmission destination of the setting change instruction frame, and priority data indicating the priority. . The above is the data structure of the frame transmitted / received in the network under the router 60.

次いで、図3を参照しつつ優先度通知処理の詳細について説明する。この優先度通知処理は、要求フレームの受信を契機として実行される。ここで、受信フレームが要求フレームであるか否かについては、当該受信フレームのペイロード部に書き込まれているメッセージ種別識別子を参照して判定するようにすれば良い。図3に示すように、優先度通知処理では、制御部410は、まず、受信した要求フレームのペイロード部に書き込まれている転送元識別子を隣接機器情報として揮発性記憶部444に書き込む(ステップSA100)。次いで、制御部410は、前述した優先度通知フレームを生成し、上記要求フレームの送信元へ返信(ユニキャスト)する(ステップSA110)。このステップSA110にて制御部410が返信する優先度通知フレームのペイロード部には、転送元識別子として当該通信端末40のMACアドレスが書き込まれるとともに、揮発性記憶部444に格納されている隣接機器情報が書き込まれ、さらに、不揮発性記憶部442に格納されている優先度データが書き込まれる。
以上が通信端末40の構成である。
Next, details of the priority notification process will be described with reference to FIG. This priority notification process is executed when a request frame is received. Here, whether or not the received frame is a request frame may be determined by referring to the message type identifier written in the payload portion of the received frame. As shown in FIG. 3, in the priority notification process, the control unit 410 first writes the transfer source identifier written in the payload portion of the received request frame in the volatile storage unit 444 as neighboring device information (step SA100). ). Next, the control unit 410 generates the above-described priority notification frame and returns (unicasts) it to the transmission source of the request frame (step SA110). In the payload portion of the priority notification frame returned by the control unit 410 in step SA110, the MAC address of the communication terminal 40 is written as the transfer source identifier, and the adjacent device information stored in the volatile storage unit 444 is stored. , And the priority data stored in the nonvolatile storage unit 442 is written.
The above is the configuration of the communication terminal 40.

<A−1−2:スイッチングハブ50の構成>
図5は、スイッチングハブ50の構成を示すブロック図である。図5に示すように、スイッチングハブ50は、通信I/F部510、スイッチングエンジン部520、および記憶部530を有している。通信I/F部510は、複数の通信ポートを有している。これら複数の通信ポートの各々には、例えば100BASE−Tなどの通信ケーブルを介して他の通信装置(本実施形態では、ルータ60や他のスイッチングハブ50、或いは通信端末40)が接続される。これら複数の通信ポートの各々には、通信ポート毎に固有のポート識別子(例えば、ポート番号)が予め割り当てられており、このポート識別子を用いて各通信ポートを一意に識別することができる。通信I/F部510は、各通信ポートを介して受信したフレームをスイッチングエンジン部520に与える一方、スイッチングエンジン部520から与えられるフレームを同スイッチングエンジン部520によって指示された通信ポートから送出する。
<A-1-2: Configuration of the switching hub 50>
FIG. 5 is a block diagram showing the configuration of the switching hub 50. As illustrated in FIG. 5, the switching hub 50 includes a communication I / F unit 510, a switching engine unit 520, and a storage unit 530. Communication I / F unit 510 has a plurality of communication ports. Each of the plurality of communication ports is connected to another communication device (in this embodiment, the router 60, another switching hub 50, or the communication terminal 40) via a communication cable such as 100BASE-T. Each of the plurality of communication ports is assigned a unique port identifier (for example, a port number) for each communication port, and each communication port can be uniquely identified using this port identifier. The communication I / F unit 510 provides a frame received via each communication port to the switching engine unit 520, and transmits a frame provided from the switching engine unit 520 from a communication port instructed by the switching engine unit 520.

記憶部530は、例えばRAMなどの揮発性メモリとEPROM(Erasable Programmable Read Only Memory)などの不揮発性メモリとを含んでいる(図5では、何れも図示略)。この不揮発性メモリには、本発明のスイッチングハブの特徴を顕著に示す処理をスイッチングエンジン部520に実行させるためのファームウェア(プログラム)が予め記憶されている。一方、揮発性メモリは、上記ファームウェアを実行する際のワークエリアとしてスイッチングエンジン部520によって利用される。また、上記揮発性メモリは、通信I/F部510によって受信されたフレームを一時的に記憶しておくためのバッファの役割を果たし、さらに、この揮発性メモリには、図5のMACアドレステーブルと同図5の隣接機器テーブルとが格納される。   The storage unit 530 includes, for example, a volatile memory such as a RAM and a nonvolatile memory such as an EPROM (Erasable Programmable Read Only Memory) (none of which is shown in FIG. 5). In this nonvolatile memory, firmware (program) for causing the switching engine unit 520 to execute processing that clearly shows the characteristics of the switching hub of the present invention is stored in advance. On the other hand, the volatile memory is used by the switching engine unit 520 as a work area when executing the firmware. The volatile memory serves as a buffer for temporarily storing frames received by the communication I / F unit 510, and the volatile memory further includes a MAC address table in FIG. And the adjacent device table of FIG. 5 are stored.

図5のMACアドレステーブルは、従来のスイッチングハブが有するものと特段に変るところはない。このMACアドレステーブルには、通信I/F部510によって受信したフレームの送信元MACアドレスに対応付けて当該フレームを受信した通信ポートのポート識別子が格納される。MACアドレステーブルへのMACアドレスおよびポート識別子の書き込みは、後述するフレーム転送制御に伴って行われる。例えば、ルータ60のMACアドレス解決のために通信端末40から送信されたフレーム(ペイロード部にARP(Address Resolution Protocol)パケットが書き込まれたフレーム)の転送過程では、当該フレームの送信元MACアドレス(すなわち、通信端末40のMACアドレス)と当該フレームの受信ポートのポート識別子とを対応付けてMACアドレステーブルに書き込む処理が行われる。一方、当該フレームに対する応答フレームの転送過程では、当該フレームの送信元MACアドレス(すなわち、ルータ60のMACアドレス)と当該フレームの受信ポートのポート識別子とを対応付けてMACアドレステーブルに書き込む処理が行われる。このMACアドレステーブルの格納内容は、送信先MACアドレスに基づくフレームの転送制御を行う際に利用される。   The MAC address table of FIG. 5 is not particularly different from that of a conventional switching hub. This MAC address table stores the port identifier of the communication port that received the frame in association with the transmission source MAC address of the frame received by the communication I / F unit 510. The writing of the MAC address and the port identifier to the MAC address table is performed in accordance with frame transfer control described later. For example, in the transfer process of a frame (a frame in which an ARP (Address Resolution Protocol) packet is written in the payload portion) transmitted from the communication terminal 40 for resolving the MAC address of the router 60, the transmission source MAC address (that is, the frame) , The MAC address of the communication terminal 40) and the port identifier of the receiving port of the frame are associated and written into the MAC address table. On the other hand, in the transfer process of the response frame to the frame, a process of writing the transmission source MAC address of the frame (that is, the MAC address of the router 60) and the port identifier of the reception port of the frame in association with each other is performed. Is called. The stored contents of the MAC address table are used when frame transfer control based on the destination MAC address is performed.

隣接機器テーブルには、通信I/F部510が有する複数の通信ポートの各々のポート識別子に対応付けて、当該通信ポートを介して受信したフレームの転送元の通信装置を一意に示す接続先識別子(本実施形態では、当該通信装置のMACアドレス)が格納される。この隣接機器テーブルは、スイッチングハブ50の電源(図示略)が投入されたことを契機として、各接続先識別子をNULL(0x00)とした状態で生成される。そして、予め定められた特定のフレーム(本実施形態では、前述した要求フレームおよび通知フレーム)の中継をスイッチングハブ50が行うことに伴って、当該テーブルの格納内容の更新(すなわち、これらフレームを受信した通信ポートのポート識別子に対応する接続先識別子を当該フレームの転送元識別子に書き換えること)が行われる。   In the adjacent device table, a connection destination identifier that uniquely indicates a communication device that is a transfer source of a frame received via the communication port in association with each port identifier of the plurality of communication ports that the communication I / F unit 510 has. (In this embodiment, the MAC address of the communication device) is stored. The adjacent device table is generated in a state where each connection destination identifier is NULL (0x00) when a power source (not shown) of the switching hub 50 is turned on. Then, as the switching hub 50 relays a predetermined specific frame (in this embodiment, the request frame and the notification frame described above), the stored contents of the table are updated (that is, these frames are received). The connection destination identifier corresponding to the port identifier of the communication port is rewritten with the transfer source identifier of the frame).

スイッチングエンジン部520は、例えばCPUである。スイッチングエンジン部520は、記憶部530に記憶されているファームウェアを実行することで、スイッチングハブ50の制御中枢として機能する。このファームウェアにしたがって作動しているスイッチングエンジン部520は、何れかの通信ポートを介してフレームを受信するたびに、当該フレームを揮発性メモリ内のバッファに書き込み、それらフレームの各々について図6のフローチャートに示す処理を実行する。図6に示すように、上記ファームウェアにしたがってスイッチングエンジン部520が実行する処理としては、フレーム転送制御処理、隣接機器通知フレーム送信処理、および優先度設定変更処理の3つが挙げられる。   The switching engine unit 520 is, for example, a CPU. The switching engine unit 520 functions as a control center of the switching hub 50 by executing the firmware stored in the storage unit 530. Each time the switching engine unit 520 operating in accordance with the firmware receives a frame via any communication port, the switching engine unit 520 writes the frame to a buffer in the volatile memory, and the flow chart of FIG. The process shown in is executed. As shown in FIG. 6, there are three processes executed by the switching engine unit 520 according to the firmware: a frame transfer control process, an adjacent device notification frame transmission process, and a priority setting change process.

図6に示すように、スイッチングエンジン部520は、まず、受信したフレームが自装置宛に送信された設定変更指示フレームであるか否かを、当該受信フレームのヘッダ部の送信先MACアドレスと同ペイロード部のメッセージ種別識別子とを参照して判定する(ステップSB100)。すなわち、送信先MACアドレスが自装置のMACアドレスであり、かつメッセージ種別識別子が設定変更指示フレームを示すものである場合に上記ステップSB100の判定結果は“Yes”となる。そして、スイッチングエンジン部520は、ステップSB100の判定結果が“Yes”である場合には、優先度設定変更処理(ステップSB110)を実行し、逆に、ステップSB100の判定結果が“No”である場合には、フレーム転送制御処理を実行する。   As shown in FIG. 6, the switching engine unit 520 first determines whether or not the received frame is a setting change instruction frame transmitted to its own device, with the transmission destination MAC address in the header part of the received frame. The determination is made with reference to the message type identifier of the payload part (step SB100). In other words, when the transmission destination MAC address is the MAC address of the own device and the message type identifier indicates the setting change instruction frame, the determination result in Step SB100 is “Yes”. When the determination result in step SB100 is “Yes”, switching engine unit 520 executes the priority setting change process (step SB110), and conversely, the determination result in step SB100 is “No”. In this case, a frame transfer control process is executed.

ステップSB100の判定結果が“No”である場合に実行されるフレーム転送制御処理は、受信フレームの送信先MACアドレスに基づいて当該受信フレームの転送制御を行う処理(ステップSB190)を含んでいる。ここで、受信フレームの送信先MACアドレスに基づく転送制御とは、当該送信先MACアドレスがユニキャストアドレスではない場合、または当該送信先MACアドレスがMACアドレステーブルに格納されていないユニキャストアドレスである場合には、当該受信フレームのフラッディングを行う一方、当該送信先MACアドレスがMACアドレステーブルに格納されたユニキャストアドレスである場合には、当該MACアドレスに対応付けてMACアドレステーブルに格納されているポート識別子の示す通信ポートのみから当該受信フレームを送出することである。ここでユニキャストアドレスではないMACアドレスとしては、マルチキャストアドレスまたはブロードキャストアドレスが挙げられる。また、フラッディングとは、受信フレームを受信した通信ポート以外の全ての通信ポートから当該受信フレームを送出することである。この送信先MACアドレスに基づく転送制御については従来のスイッチングハブにおけるものと特段に変るところはない。換言すれば、従来のスイッチングハブでは、フレーム転送制御処理として上記送信先MACアドレスに基づく転送制御(すなわち、ステップSB190の処理)のみが実行されるのである。   The frame transfer control process executed when the determination result in step SB100 is “No” includes a process (step SB190) for performing transfer control of the received frame based on the destination MAC address of the received frame. Here, the transfer control based on the transmission destination MAC address of the received frame is a unicast address in which the transmission destination MAC address is not a unicast address or the transmission destination MAC address is not stored in the MAC address table. In this case, the received frame is flooded, while when the destination MAC address is a unicast address stored in the MAC address table, it is stored in the MAC address table in association with the MAC address. The received frame is transmitted only from the communication port indicated by the port identifier. Here, a MAC address that is not a unicast address includes a multicast address or a broadcast address. Also, flooding means sending the received frame from all communication ports other than the communication port that received the received frame. The transfer control based on the destination MAC address is not particularly different from that in the conventional switching hub. In other words, in the conventional switching hub, only the transfer control based on the destination MAC address (that is, the process of step SB190) is executed as the frame transfer control process.

ステップSB100の判定結果が“Yes”である場合に実行される優先度設定変更処理は、揮発性メモリ内のバッファに蓄積されているフレームの各々に対してステップSB190の処理を行う際の優先度をルータ60から与えられる指示に応じて変更する処理である。本実施形態の優先度設定変更処理は、VLAN(Virtual Local Area Network)設定の変更とQoSの設定変更とを含んでいる。ここで、VLAN設定とは、ルータ60から優先度設定の変更を指示された通信ポートをフラッディングの対象から除外して仮想的にネットワークセグメントを分離することである。VLAN設定によって、ネットワークセグメントを分離された通信ポートには、他のネットワークセグメントの通信ポートを介して受信したマルチキャストフレームは送出されないため、当該通信ポートを介して行われるデータ通信がマルチキャストフレームの転送によって阻害されることがなくなる。一方、QoSとは、ステップSB190の処理においてフレームをその宛先に応じた通信ポートへ送出する処理を行う際に、当該フレームよりも優先度の高いフレームがバッファに蓄積されている間は、当該フレームの送出を見合わせることである。このようなQoSを行うことによって、高い優先度を割り当てられたフレームの転送制御が、優先度の低いフレームの転送制御によって阻害されることを回避することができる。本実施形態の優先度設定変更処理では、スイッチングエンジン部520は、優先度を“0”とすべきことを指示された通信ポートについては、前述したVLAN設定によるネットワークセグメントの分離を行うとともに、当該通信ポートを介して受信したフレーム(或いは、当該通信ポートへ送出するフレーム)についてのQoSにおける優先度を最も高く設定する。また、優先度を“1”とすべきことを指示された通信ポートについては、スイッチングエンジン部520は、QoSの設定変更のみを行い、QoSにおける優先度を2番目に高く設定する。   The priority setting change process executed when the determination result of step SB100 is “Yes” is the priority when the process of step SB190 is performed on each of the frames stored in the buffer in the volatile memory. Is changed in accordance with an instruction given from the router 60. The priority setting change process of the present embodiment includes a change in VLAN (Virtual Local Area Network) setting and a change in QoS setting. Here, the VLAN setting is to virtually separate the network segment by excluding the communication port instructed to change the priority setting from the router 60 from the flooding target. Since the multicast frame received via the communication port of the other network segment is not sent to the communication port separated from the network segment by the VLAN setting, the data communication performed through the communication port is performed by the transfer of the multicast frame. It will not be disturbed. On the other hand, when QoS is performed in step SB190, a frame having a higher priority than the frame is accumulated in the buffer when the frame is transmitted to the communication port corresponding to the destination. Is to postpone sending. By performing such QoS, it is possible to avoid that the transfer control of a frame assigned with a high priority is hindered by the transfer control of a frame with a low priority. In the priority setting change process according to the present embodiment, the switching engine unit 520 performs network segment separation based on the VLAN setting described above for the communication port instructed that the priority should be “0”, and The highest priority in QoS is set for a frame received via a communication port (or a frame transmitted to the communication port). For the communication port instructed to set the priority to “1”, the switching engine unit 520 only changes the QoS setting and sets the QoS priority to the second highest.

本実施形態のフレーム転送制御処理は、前述したステップSB190の処理の他に、ステップSB120〜SB160の処理を含んでいる。図3に示すように、スイッチングエンジン部520は、まず、当該受信フレームのペイロード部に転送元識別子が書き込まれているか否かを判定する(ステップSB120)。ここで、受信フレームのペイロード部に転送元識別子が書き込まれているか否かについての具体的な判定手法としては種々のものが考えられる。例えば、受信フレームのペイロード部の該当領域を直接参照し、MACアドレスに相当するものが書き込まれているか否かによって判定する態様であっても良く、また、受信フレームが要求フレーム、隣接機器通知フレームおよび優先度通知フレームの何れかであるか否かによって判定する態様であっても良い。前述したように、ルータ60の配下のネットワークにおいて送受信されるフレームのうち、ペイロード部に転送元識別子が書き込まれているのは要求フレーム、隣接機器通知フレームおよび優先度通知フレームの3種類のみだからである。例えば、後者の態様の場合には、受信フレームのヘッダ部に書き込まれている種別識別子が上記4種類のフレームを示すものであり、かつ同ペイロード部に書き込まれているメッセージ種別識別子が要求フレーム、隣接機器通知フレームまたは優先度通知フレームの何れかを示すものである場合に、ステップSB120の判定結果は“Yes”になる。   The frame transfer control process of this embodiment includes the processes of steps SB120 to SB160 in addition to the process of step SB190 described above. As shown in FIG. 3, the switching engine unit 520 first determines whether or not the transfer source identifier is written in the payload portion of the received frame (step SB120). Here, various methods for determining whether or not the transfer source identifier is written in the payload portion of the received frame can be considered. For example, it may be a mode in which the corresponding area of the payload portion of the received frame is directly referred to and determined based on whether or not a MAC address is written. The received frame is a request frame, an adjacent device notification frame. Alternatively, the determination may be made according to whether the frame is one of the priority notification frames. As described above, among the frames transmitted / received in the network under the router 60, the transfer source identifier is written in the payload portion because there are only three types of request frames, adjacent device notification frames, and priority notification frames. is there. For example, in the case of the latter mode, the type identifier written in the header portion of the received frame indicates the above four types of frames, and the message type identifier written in the payload portion is a request frame, If it indicates either the adjacent device notification frame or the priority notification frame, the determination result in step SB120 is “Yes”.

ステップSB120の判定結果が“No”である場合には、スイッチングエンジン部520は、受信フレームが音声通信のために配下のネットワークからIP網へ向けて送出される音声通信フレーム(すなわち、ペイロード部に音声パケットが書き込まれたフレーム)であるか否かを、当該受信フレームのヘッダ部の送信先MACアドレスおよび種別識別子を参照して判定する(ステップSB130)。例えば、受信フレームの送信先MACアドレスが自装置の配下のネットワークに収容されている通信端末40のMACアドレスではなく、かつ、当該受信フレームの種別識別子がVoIPを示すものである場合に、ステップSB130の判定結果は“Yes”となる。スイッチングエンジン部520は、ステップSB130の判定結果が“Yes”である場合には、当該音声通信フレームのペイロード部に書き込まれている音声パケットのDSCP値をその送信元の優先度に応じて書き換え(ステップSB140)、その後、ステップSB190の処理を実行する。逆に、ステップSB130の判定結果が“No”である場合には、スイッチングエンジン部520は、ステップSB140の処理を行うことなくステップSB190の処理を実行する。DSCP値とは、第3層において音声パケットの転送制御を行う際の優先度を示す値である。詳細については後述するが、DSCP値の書き換えをスイッチングハブ50において行っておくことによって、ルータ60からIP網へと送出される音声パケットについて、IP網内でのパケット転送制御がその送信元の通信端末40の優先度に応じて行われるようにすることが期待される。なお、本実施形態では、ルータ60からIP網へと送出される音声パケットについて、IP網内でのパケット転送制御がその送信元の通信端末40の優先度に応じて行われるようにするために、DSCP値の書き換えを行ったが、CoS値やTOS値などの他の指標を用いても勿論良い。   If the determination result in step SB120 is “No”, the switching engine unit 520 causes the received frame to be transmitted from the subordinate network to the IP network for voice communication (that is, in the payload part). It is determined with reference to the transmission destination MAC address and type identifier of the header portion of the received frame (step SB130). For example, when the destination MAC address of the received frame is not the MAC address of the communication terminal 40 accommodated in the network under its own apparatus, and the type identifier of the received frame indicates VoIP, step SB130 The determination result is “Yes”. When the determination result in step SB130 is “Yes”, the switching engine unit 520 rewrites the DSCP value of the voice packet written in the payload part of the voice communication frame according to the priority of the transmission source ( Step SB140), and then the process of step SB190 is executed. Conversely, when the determination result in step SB130 is “No”, the switching engine unit 520 executes the process in step SB190 without performing the process in step SB140. The DSCP value is a value indicating the priority when performing voice packet transfer control in the third layer. Although details will be described later, by rewriting the DSCP value in the switching hub 50, the packet transfer control in the IP network is performed by the packet transfer control in the IP network for the voice packet transmitted from the router 60 to the IP network. It is expected to be performed according to the priority of the terminal 40. In the present embodiment, for voice packets sent from the router 60 to the IP network, packet transfer control in the IP network is performed according to the priority of the communication terminal 40 that is the transmission source. Although the DSCP value has been rewritten, it is of course possible to use other indices such as the CoS value and the TOS value.

これに対して、ステップSB120の判定結果が“Yes”である場合(すなわち、受信フレームが要求フレーム、優先度通知フレーム或いは隣接機器通知フレームの何れかである場合)には、スイッチングエンジン部520は、当該受信フレームを受信した通信ポートのポート識別子に対応付けて隣接機器テーブルに格納されている隣接機器識別子を、当該受信フレームの転送元識別子で書き換え(ステップSB150)、さらに、当該受信フレームの転送元識別子を自装置のMACアドレスに書き換える(ステップSB160)。次いで、スイッチングエンジン部520は、受信フレームが要求フレームであるか否かを受信フレームのペイロード部のメッセージ種別識別子を参照して判定し(ステップSB170)、その判定結果がYesである場合には、隣接機器通知フレーム送信処理(ステップSB170)を実行した後に、ステップSB190の処理を実行する。隣接機器通知フレーム送信処理では、スイッチングエンジン部520は、前述した隣接機器通知フレームを生成し、上記要求フレームの送信元へ返信(ユニキャスト)する。この隣接機器通知フレームのペイロード部には、隣接機器情報リストとして上記ステップSB150の処理により更新済みの隣接機器テーブルの格納内容が書き込まれる。逆に、ステップSB170の判定結果が“No”である場合には、スイッチングエンジン部520は、ステップSB180の処理を実行することなく、ステップSB190の処理を実行する。
以上がスイッチングハブ50の構成である。
On the other hand, when the determination result in step SB120 is “Yes” (that is, when the received frame is any one of the request frame, the priority notification frame, and the adjacent device notification frame), the switching engine unit 520 The adjacent device identifier stored in the adjacent device table in association with the port identifier of the communication port that received the received frame is rewritten with the transfer source identifier of the received frame (step SB150), and the received frame is transferred. The original identifier is rewritten to the MAC address of the own device (step SB160). Next, the switching engine unit 520 determines whether or not the received frame is a request frame with reference to the message type identifier of the payload part of the received frame (step SB170), and when the determination result is Yes, After executing the adjacent device notification frame transmission process (step SB170), the process of step SB190 is executed. In the adjacent device notification frame transmission process, the switching engine unit 520 generates the above-described adjacent device notification frame and returns (unicast) it to the transmission source of the request frame. In the payload portion of the adjacent device notification frame, the stored content of the adjacent device table updated by the processing of step SB150 is written as an adjacent device information list. Conversely, if the determination result in step SB170 is “No”, the switching engine unit 520 executes the process in step SB190 without executing the process in step SB180.
The above is the configuration of the switching hub 50.

<A−1−3:ルータ60の構成>
図7は、ルータ60の構成を示すブロック図である。図7に示すように、ルータ60は、通信I/F部610、ルーティングエンジン部620および記憶部630を有している。通信I/F部610は、スイッチングハブ50の通信I/F部510と同様に複数のポートを有しており、各ポートには固有のポート識別子が割り当てられている。例えば、ルータ60Aでは、これら複数のポートのうちの2つに、IP網とスイッチングハブ50Aが各々接続される。通信I/F部610は、通信I/F部510と同様、各通信ポートを介して受信したフレームをルーティングエンジン部620に与える一方、ルーティングエンジン部620から与えられるフレームを同ルーティングエンジン部620によって指示された通信ポートから送出する。
<A-1-3: Configuration of Router 60>
FIG. 7 is a block diagram showing the configuration of the router 60. As illustrated in FIG. 7, the router 60 includes a communication I / F unit 610, a routing engine unit 620, and a storage unit 630. The communication I / F unit 610 has a plurality of ports like the communication I / F unit 510 of the switching hub 50, and a unique port identifier is assigned to each port. For example, in the router 60A, the IP network and the switching hub 50A are connected to two of the plurality of ports, respectively. Similar to communication I / F unit 510, communication I / F unit 610 provides a frame received via each communication port to routing engine unit 620, while a frame provided from routing engine unit 620 is provided by routing engine unit 620. Send out from the specified communication port.

記憶部630も、スイッチングハブ50の記憶部530と同様に、RAMなどの揮発性メモリとEPROMなどの不揮発性メモリを含んでいる(図示略)。この不揮発性メモリにはファームウェアが格納されている。本実施形態では、このファームウェアにしたがってルーティングエンジン部620を作動させることによって本実施形態の特徴を顕著に示すルータ60の機能が実現される。一方、揮発性メモリは、上記ファームウェアを実行する際のワークエリアとしてルーティングエンジン部620によって利用されるとともに、受信したフレーム(或いは、パケット)を一時的に蓄積しておくためのバッファの役割を果たす。また、当該揮発性メモリには、図7に示すルーティングテーブル、当該ルータ60についてのMACアドレステーブルおよび隣接機器テーブルの各テーブルが格納される。   Similarly to the storage unit 530 of the switching hub 50, the storage unit 630 includes a volatile memory such as a RAM and a nonvolatile memory such as an EPROM (not shown). Firmware is stored in the nonvolatile memory. In the present embodiment, by operating the routing engine unit 620 according to this firmware, the function of the router 60 that significantly shows the features of the present embodiment is realized. On the other hand, the volatile memory is used by the routing engine unit 620 as a work area when executing the firmware, and serves as a buffer for temporarily storing received frames (or packets). . The volatile memory stores the routing table shown in FIG. 7, the MAC address table for the router 60, and the adjacent device table.

ルーティングエンジン部620は、スイッチングハブ50のスイッチングエンジン部520と同様、CPUである。ルーティングエンジン部620は、記憶部630に記憶されているファームウェアを実行し、ルータ60の制御中枢として機能する。ルーティングエンジン部620は上記ファームウェアにしたがって、パケット転送制御処理、マルチキャスト処理、接続関係特定処理、および優先度設定制御処理、の4種類の処理を実行する。これら4つの処理のうち、パケット転送制御処理については従来のものと特段に変るところはない。したがって、以下では、マルチキャスト処理、接続関係特定処理、および優先度設定制御処理を中心に説明する。   The routing engine unit 620 is a CPU, like the switching engine unit 520 of the switching hub 50. The routing engine unit 620 executes firmware stored in the storage unit 630 and functions as a control center of the router 60. The routing engine unit 620 executes four types of processing, that is, packet transfer control processing, multicast processing, connection relationship identification processing, and priority setting control processing, according to the firmware. Of these four processes, the packet transfer control process is not particularly different from the conventional process. Therefore, the following description will focus on multicast processing, connection relationship identification processing, and priority setting control processing.

マルチキャスト処理は、ルータ60の配下のネットワーク(ルータ60AであればLAN1A、ルータ60BであればLAN1B)に向けて要求フレームのマルチキャストを行う処理である。詳細については後述するが、本実施形態では、このマルチキャスト処理はルータ60の電源(図示略)投入後、所定時間T(例えば、3秒)が経過する毎に周期的に実行される。   The multicast process is a process of multicasting the request frame toward the network under the router 60 (LAN1A if the router 60A, LAN1B if the router 60B). Although details will be described later, in this embodiment, this multicast processing is periodically executed every time a predetermined time T (for example, 3 seconds) elapses after the power of the router 60 (not shown) is turned on.

接続関係特定処理では、ルーティングエンジン部620は、まず、各スイッチングハブ50から送信されてくる通知フレームの受信を契機として、当該通知フレームを受信した通信ポートのポート識別子に対応付けて隣接機器テーブルに格納されている接続先識別子を当該フレームのペイロード部に書き込まれている転送元識別子に書き換える。そして、ルーティングエンジン部620は、自装置の隣接機器テーブルの格納内容と、各スイッチングハブ50から返信されてくる隣接機器情報リストと、通信端末40から返信されてくる隣接機器情報とから、配下のネットワークにおける各装置の接続関係(ネットワークトポロジ)を表すトポロジデータを生成する。   In the connection relationship specifying process, the routing engine unit 620 first, in response to the reception of the notification frame transmitted from each switching hub 50, associates it with the port identifier of the communication port that has received the notification frame in the adjacent device table. The stored connection destination identifier is rewritten to the transfer source identifier written in the payload portion of the frame. Then, the routing engine unit 620 subordinates the content stored in the adjacent device table of its own device, the adjacent device information list returned from each switching hub 50, and the adjacent device information returned from the communication terminal 40. Topology data representing the connection relationship (network topology) of each device in the network is generated.

より詳細に説明すると、ルーティングエンジン部620は、自装置の隣接機器テーブルの格納内容と、スイッチングハブ50から返信されてくる隣接機器情報リストと、通信端末40から返信されてくる隣接機器情報と、に基づいて、自装置、各スイッチングハブ50および各通信端末40の各々について、上流側隣接機器を示す第1のポインタ(例えば、上流側隣接機器に接続されている通信ポートのポート識別子と当該上流側隣接機器のMACアドレスとを示すデータなど)と、下流側隣接機器を示す1または複数の第2のポインタ(例えば、下流側隣接機器に接続されている通信ポートのポート識別子と当該下流側隣接機器のMACアドレスとを示すデータなど)とからなる双方向リスト構造の構造体データを装置毎に生成し、これら構造体データの集合を上記トポロジデータとする。ここで、上流側隣接機器とは、ルータ60に近い側の隣接機器であり、下流側隣接機器とは同ルータ60から遠い側の隣接機器である。例えば、図1のLAN1Aにおいてスイッチングハブ50Aの上流側隣接機器はルータ60であり、下流側隣接機器は通信端末40Aとスイッチングハブ50Bである。なお、図1のルータ60のように上流側隣接機器を有さない装置についての構造体データにおいては、上記第1のポインタにNULLをセットすれば良く、同様に、図1の通信端末40のように下流側隣接機器を有さない装置についての構造体データにおいては、上記第2のポインタにNULLをセットすれば良い。   More specifically, the routing engine unit 620 includes the stored contents of the adjacent device table of its own device, the adjacent device information list returned from the switching hub 50, the adjacent device information returned from the communication terminal 40, For each of the own device, each switching hub 50 and each communication terminal 40, the first pointer indicating the upstream neighboring device (for example, the port identifier of the communication port connected to the upstream neighboring device and the upstream Data indicating the MAC address of the side neighboring device) and one or more second pointers indicating the downstream side neighboring device (for example, the port identifier of the communication port connected to the downstream side neighboring device and the downstream side neighboring device) Structure data with a bidirectional list structure consisting of data indicating the MAC address of the device) A set of concrete body data to the above-mentioned topology data. Here, the upstream adjacent device is an adjacent device on the side close to the router 60, and the downstream adjacent device is an adjacent device on the side far from the router 60. For example, in the LAN 1A of FIG. 1, the upstream adjacent device of the switching hub 50A is the router 60, and the downstream adjacent devices are the communication terminal 40A and the switching hub 50B. In the structure data for a device that does not have an upstream adjacent device such as the router 60 in FIG. 1, NULL may be set in the first pointer, and similarly, the communication terminal 40 in FIG. Thus, in the structure data for a device that does not have a downstream adjacent device, NULL may be set in the second pointer.

上記のような双方向リスト構造の構造体データの集合をトポロジデータとして用いる場合、互いに隣接する2つの装置を上流側から第2のポインタを用いて辿っても、また下流側から第1のポインタを用いて辿っても矛盾が生じないことが必要となる。例えば、図1のLAN1Aに関するトポロジデータにおいては、スイッチングハブ50Aに対応する構造体データの第2のポインタによってスイッチングハブ50Bが示されており、スイッチングハブ50Bに対応する構造体データの第1のポインタによってスイッチングハブ50Aが示されている必要がある。このため、例えば、スイッチングハブ50Bからは隣接機器としてスイッチングハブ50Aを通知されたにもかかわらず、スイッチングハブ50Aからは隣接機器としてスイッチングハブ50Bが通知されてこないといった矛盾が生じた場合には、ルーティングエンジン部620は矛盾が生じていない範囲でのみトポロジデータを生成する。   When a set of structure data having a bidirectional list structure as described above is used as topology data, the two pointers that are adjacent to each other can be traced using the second pointer from the upstream side, or the first pointer can be viewed from the downstream side. It is necessary that no contradiction arises even if traced using. For example, in the topology data related to the LAN 1A in FIG. 1, the switching hub 50B is indicated by the second pointer of the structure data corresponding to the switching hub 50A, and the first pointer of the structure data corresponding to the switching hub 50B. The switching hub 50A needs to be indicated by. Therefore, for example, when there is a contradiction that the switching hub 50B is not notified of the switching hub 50B as an adjacent device even though the switching hub 50A is notified of the adjacent device as the adjacent device, The routing engine unit 620 generates topology data only to the extent that no contradiction occurs.

次いで、図8を参照しつつ優先度設定制御処理の処理内容を説明する。この優先度設定制御処理は、優先度通知フレームの受信を契機として実行される処理である。図8は、優先度設定制御処理の流れを示すフローチャートである。図8に示すように、ルーティングエンジン部620は、まず、当該優先度通知フレームの送信元の通信端末40と自装置との間の通信経路が特定されるか否かをトポロジデータを参照して判定する(ステップSC100)。より詳細について説明すると、優先度通知フレームの送信元の通信端末40に対応する構造体データのものから順に第1のポインタを辿って当該ルータ60まで到達することができた場合には、ステップSC100の判定結果は“Yes”となる。そして、ルーティングエンジン部620は、ステップSC100の判定結果が“Yes”である場合には、自装置のパケット転送制御における優先度設定を、上記優先度通知フレームのペイロード部に書き込まれていた優先度データの表す優先度に応じて変更し(ステップSC110)、さらに、上記通信経路上のスイッチングハブ50の各々に対して設定変更指示フレームを送信(ユニキャスト)する(SC120)。
以上がルータ60の構成である。
Next, the processing content of the priority setting control processing will be described with reference to FIG. This priority setting control process is a process executed in response to reception of a priority notification frame. FIG. 8 is a flowchart showing the flow of priority setting control processing. As shown in FIG. 8, the routing engine unit 620 first refers to the topology data to determine whether or not the communication path between the communication terminal 40 that is the transmission source of the priority notification frame and its own device is specified. Determination is made (step SC100). More specifically, if the router 60 can be reached by following the first pointer in order from the structure data corresponding to the communication terminal 40 that is the transmission source of the priority notification frame, the process proceeds to step SC100. The determination result is “Yes”. When the determination result in step SC100 is “Yes”, the routing engine unit 620 sets the priority setting in the packet transfer control of the own device in the priority level written in the payload portion of the priority notification frame. The setting is changed according to the priority represented by the data (step SC110), and a setting change instruction frame is transmitted (unicast) to each of the switching hubs 50 on the communication path (SC120).
The above is the configuration of the router 60.

<A−2:動作>
以下、ルータ60およびスイッチングハブ50が各々8個の通信ポートを有しており、かつ、LAN1Aにおいて、図9に示すように相互に接続されている場合を例にとって本実施形態の動作を説明する。図9では、通信ポートを黒塗りの丸印で示し、当該通信ポートのポート番号を#付の数字で表記した。図9に示すように、ルータ60Aのポート番号=1の通信ポートにはスイッチングハブ50Aが接続されており、スイッチングハブ50Aから見ればルータ60Aはスイッチングハブ50Aのポート番号=2の通信ポートに接続されている。図9に示すように、スイッチングハブ50Aのポート番号=3の通信ポートには通信端末40Aが接続されており、ポート番号=4の通信ポートにはスイッチングハブ50Bが接続されている。スイッチングハブ50Bから見ればスイッチングハブ50Aはスイッチングハブ50Bのポート番号=5の通信ポートに接続されており、スイッチングハブ50Bのポート番号=6の通信ポートには通信端末40Bが、同ポート番号=7の通信ポートには通信端末40Cが接続されている。また、以下に説明する動作の開始時点では、ルータ60およびスイッチングハブ50の隣接機器テーブルの接続先識別子はNULLクリアされている。
<A-2: Operation>
Hereinafter, the operation of the present embodiment will be described by taking as an example the case where the router 60 and the switching hub 50 each have eight communication ports and are connected to each other in the LAN 1A as shown in FIG. . In FIG. 9, the communication port is indicated by a black circle, and the port number of the communication port is indicated by a number with #. As shown in FIG. 9, a switching hub 50A is connected to the communication port of port number = 1 of the router 60A. From the viewpoint of the switching hub 50A, the router 60A is connected to the communication port of port number = 2 of the switching hub 50A. Has been. As shown in FIG. 9, the communication terminal 40A is connected to the communication port of port number = 3 of the switching hub 50A, and the switching hub 50B is connected to the communication port of port number = 4. When viewed from the switching hub 50B, the switching hub 50A is connected to the communication port of port number = 5 of the switching hub 50B, and the communication terminal 40B is connected to the communication port of port number = 6 of the switching hub 50B. A communication terminal 40C is connected to the communication port. At the start of the operation described below, the connection destination identifiers in the adjacent device tables of the router 60 and the switching hub 50 are NULL cleared.

ルータ60Aのルーティングエンジン部620は、ルータ60Aの電源(図示略)投入後、所定時間Tが経過した時刻T0において要求フレームをマルチキャストする。このようにしてルータ60Aからマルチキャストされる要求フレームは、まず、スイッチングハブ50Aによって受信される。スイッチングハブ50Aのスイッチングエンジン部520は、ポート番号=2の通信ポートを介して上記要求フレームを受信し、図6のステップSB150、SB160、SB180およびSB190の各処理を実行する。受信フレームが要求フレームであるためステップSB100の判定結果は“No”になり、SB120およびSB170の判定結果は“Yes”になるからである。   The routing engine unit 620 of the router 60A multicasts the request frame at a time T0 when a predetermined time T has elapsed after the power (not shown) of the router 60A is turned on. The request frame multicasted from the router 60A in this way is first received by the switching hub 50A. The switching engine unit 520 of the switching hub 50A receives the request frame via the communication port with port number = 2, and executes each process of steps SB150, SB160, SB180, and SB190 in FIG. This is because the determination result of step SB100 is “No” and the determination results of SB120 and SB170 are “Yes” because the received frame is a request frame.

ステップSB150の処理が実行されるため、ポート番号=2に対応づけてスイッチングハブ50Aの隣接機器テーブルに格納されている接続先識別子は、受信フレームに付与されている転送元識別子(すなわち、ルータ60のMACアドレス)によって書き換えられる。さらに、当該受信フレームの転送元識別子はステップSB160の処理によってスイッチングハブ50AのMACアドレスに書き換えられる。ステップSB180では、ステップSB150の処理による更新後の隣接機器テーブルの格納内容を隣接機器情報リストとして書き込んだ隣接機器通知フレームがスイッチングハブ50Aからルータ60にユニキャストされる。そして、ステップSB190では、ステップSB160の処理によって転送元識別子の書き換えが行われた要求フレームのフラッディングが行われる。前述したように、要求フレームの送信先MACアドレスはマルチキャストアドレスだからである。このようにしてフラッディングされた要求フレームは、通信端末40Aおよびスイッチングハブ50Bの各々によって受信される。   Since the process of step SB150 is executed, the connection destination identifier stored in the adjacent device table of the switching hub 50A in association with the port number = 2 is the transfer source identifier (that is, the router 60) assigned to the received frame. Of the MAC address). Further, the transfer source identifier of the received frame is rewritten to the MAC address of the switching hub 50A by the process of step SB160. In step SB180, the adjacent device notification frame in which the stored content of the updated adjacent device table by the processing in step SB150 is written as the adjacent device information list is unicast from the switching hub 50A to the router 60. In step SB190, the request frame in which the transfer source identifier has been rewritten by the processing in step SB160 is flooded. This is because the destination MAC address of the request frame is a multicast address as described above. The request frame flooded in this way is received by each of the communication terminal 40A and the switching hub 50B.

通信端末40Aの制御部410は、通信I/F部420を介して要求フレームを受信すると、前述した優先度通知処理(図3参照)を実行する。より詳細に説明すると、制御部410は、上記要求フレームのペイロード部に書き込まれている転送元識別子(すなわち、スイッチングハブ50AのMACアドレス)を隣接機器情報として揮発性記憶部444に書き込む(図3:ステップSA100)。次いで、制御部410は、上記要求フレームの送信元MACアドレス(すなわち、ルータ60AのMACアドレス)を送信先MACアドレスとする優先度通知フレームを生成し、当該優先度通知フレームを送信する(図3:ステップSA110)。この優先度通知フレームのペイロード部には、転送元識別子として通信端末40AのMACアドレスが書き込まれているとともに、通信端末40Aの優先度データと隣接機器情報とが書き込まれている。   When receiving the request frame via the communication I / F unit 420, the control unit 410 of the communication terminal 40A executes the above-described priority notification process (see FIG. 3). More specifically, the control unit 410 writes the transfer source identifier (that is, the MAC address of the switching hub 50A) written in the payload portion of the request frame in the volatile storage unit 444 as adjacent device information (FIG. 3). : Step SA100). Next, the control unit 410 generates a priority notification frame having the transmission source MAC address (that is, the MAC address of the router 60A) of the request frame as a transmission destination MAC address, and transmits the priority notification frame (FIG. 3). : Step SA110). In the payload portion of the priority notification frame, the MAC address of the communication terminal 40A is written as a transfer source identifier, and the priority data and adjacent device information of the communication terminal 40A are written.

スイッチングハブ50Bのスイッチングエンジン部520は、スイッチングハブ50Aから転送された要求フレームを受信すると、スイッチングハブ50Aのスイッチングエンジン部520と同様に、図6のステップSB150、SB160、SB180およびSB190の各処理を実行する。より詳細に説明すると、スイッチングハブ50Bのスイッチングエンジン部520は、自装置の隣接機器テーブルにおいてポート番号=5に対応する接続先識別子を、スイッチングハブ50Aから転送された要求フレームに付与されている転送元識別子(すなわち、スイッチングハブ50AのMACアドレス)によって書き換え、当該書き換え後の隣接機器テーブルの格納内容を隣接機器情報リストとして書き込んだ隣接機器通知フレームをルータ60にユニキャストする。加えて、スイッチングハブ50Bのスイッチングエンジン部520は、転送元識別子をスイッチングハブ50BのMACアドレスに書き換えた要求フレームのフラッディングを行う。   When the switching engine unit 520 of the switching hub 50B receives the request frame transferred from the switching hub 50A, the switching engine unit 520 performs the processes of steps SB150, SB160, SB180, and SB190 of FIG. 6 in the same manner as the switching engine unit 520 of the switching hub 50A. Run. More specifically, the switching engine unit 520 of the switching hub 50B transfers the connection destination identifier corresponding to the port number = 5 in the adjacent device table of its own device to the request frame transferred from the switching hub 50A. The renewal is performed using the original identifier (that is, the MAC address of the switching hub 50A), and the adjacent device notification frame in which the stored content of the rewritten adjacent device table is written as the adjacent device information list is unicast to the router 60. In addition, the switching engine unit 520 of the switching hub 50B performs flooding of a request frame in which the transfer source identifier is rewritten to the MAC address of the switching hub 50B.

このようにしてフラッディングされた要求フレームは通信端末40Bおよび40Cの各々によって受信される。通信端末40B(或いは通信端末40C)の制御部410は、当該要求フレームの受信を契機として、通信端末40Aの制御部410と同様に優先度通知処理(図3参照)を実行する。その結果、通信端末40B(或いは40C)の揮発性記憶部444には、隣接機器情報としてスイッチングハブ50BのMACアドレスが書き込まれ、当該隣接機器情報と通信端末40B(或いは40C)の優先度データとがペイロード部に書き込まれた優先度通知フレームがルータ60に返信される。以上説明した動作が実行される結果、スイッチングハブ50Aおよび50Bの隣接機器テーブルの格納内容と、通信端末40A、40Bおよび40Cの隣接機器情報とは、図10に示す状態となる。   The request frame flooded in this way is received by each of the communication terminals 40B and 40C. The control unit 410 of the communication terminal 40B (or communication terminal 40C) executes priority notification processing (see FIG. 3) in the same manner as the control unit 410 of the communication terminal 40A, triggered by reception of the request frame. As a result, the MAC address of the switching hub 50B is written as adjacent device information in the volatile storage unit 444 of the communication terminal 40B (or 40C), and the adjacent device information and the priority data of the communication terminal 40B (or 40C) Is sent back to the router 60. As a result of executing the operation described above, the storage contents of the adjacent device table of the switching hubs 50A and 50B and the adjacent device information of the communication terminals 40A, 40B and 40C are in the state shown in FIG.

次いで、通知フレームの転送制御に伴って行われる隣接機器テーブルの更新について説明する。スイッチングハブ50Bのスイッチングエンジン部520は、通信端末40B(或いは、通信端末40C)からルータ60へユニキャストされた優先度通知フレームをポート番号=6(或いは7)の通信ポートを介して受信すると、図6のステップSB150、SB160、およびSB190の処理を実行する。受信フレームが優先度通知フレームであるためステップSB100およびSB170の判定結果は“No”になり、ステップSB120の判定結果は“Yes”になるからである。   Next, the update of the adjacent device table performed in accordance with the notification frame transfer control will be described. When the switching engine unit 520 of the switching hub 50B receives the priority notification frame unicast from the communication terminal 40B (or communication terminal 40C) to the router 60 via the communication port of port number = 6 (or 7), Steps SB150, SB160, and SB190 of FIG. 6 are executed. This is because the determination result of steps SB100 and SB170 is “No” and the determination result of step SB120 is “Yes” because the received frame is a priority notification frame.

ステップSB150の処理が実行されるため、優先度通知フレームを受信した通信ポートのポート識別子に対応付けてスイッチングハブ50Bの隣接機器テーブルに格納されている接続先識別子は、受信フレームに付与されている転送元識別子(すなわち、通信端末40B(或いは通信端末40C)のMACアドレス)によって書き換えられ、当該受信フレームの転送元識別子はステップSB160の処理によってスイッチングハブ50BのMACアドレスに書き換えられる。そして、ステップSB190では、ステップSB160の処理によって転送元識別子の書き換えが行われた優先度通知フレームがポート番号=5の通信ポートを介して送出される。   Since the process of step SB150 is executed, the connection destination identifier stored in the adjacent device table of the switching hub 50B in association with the port identifier of the communication port that has received the priority notification frame is given to the received frame. The transfer source identifier (that is, the MAC address of the communication terminal 40B (or communication terminal 40C)) is rewritten, and the transfer source identifier of the received frame is rewritten to the MAC address of the switching hub 50B by the process of step SB160. In step SB190, the priority notification frame in which the transfer source identifier has been rewritten by the process in step SB160 is transmitted via the communication port with port number = 5.

スイッチングハブ50Aのスイッチングエンジン部520は、通信端末40Aから送信された優先度通知フレーム、或いはスイッチングハブ50Bから転送されてくる通知フレーム(すなわち、スイッチングハブ50Bが送信した隣接機器通知フレーム、或いはスイッチングハブ50Bによって転送された優先度通知フレーム)を受信すると、同様に、図6のステップSB150、SB160、およびSB190の処理を実行する。スイッチングハブ50Aは、これら通知フレームを受信した通信ポートに対応する接続先識別子を、同通知フレームに付与されている転送元識別子(スイッチングハブ50Bによって転送された通知フレームであれば当該スイッチングハブ50BのMACアドレス、通信端末40Aから送信された優先度通知フレームであれば当該通信端末40AのMACアドレス)によって書き換え、当該通知フレームの転送元識別子を自装置のMACアドレスに書き換えてルータ60に転送する。ルータ60は、スイッチングハブ50Aから転送された通知フレームをポート番号=1の通信ポートを介して受信すると、自装置の隣接機器テーブルにおいて当該ポート番号に対応する接続先識別子を当該フレームの転送元識別子で書き換える。以上説明した動作が実行される結果、ルータ60、スイッチングハブ50Aおよび50Bの各々の隣接機器テーブルの格納内容は図10に示す状態から図11に示す状態へと更新される。図11を参照すれば明らかように、これら隣接機器テーブルの格納内容および各通信端末40の隣接機器情報はLAN1Aにおけるネットワークトポロジを矛盾なく表している。   The switching engine unit 520 of the switching hub 50A includes a priority notification frame transmitted from the communication terminal 40A or a notification frame transferred from the switching hub 50B (that is, an adjacent device notification frame transmitted from the switching hub 50B or a switching hub). When the priority notification frame (transferred by 50B) is received, the processing of steps SB150, SB160, and SB190 in FIG. 6 is similarly performed. The switching hub 50A sets the connection destination identifier corresponding to the communication port that has received these notification frames as the transfer source identifier assigned to the notification frame (if the notification frame is transferred by the switching hub 50B, the switching hub 50B The MAC address or the priority notification frame transmitted from the communication terminal 40A is rewritten with the MAC address of the communication terminal 40A), and the transfer source identifier of the notification frame is rewritten with the MAC address of the own device and transferred to the router 60. When the router 60 receives the notification frame transferred from the switching hub 50A via the communication port having the port number = 1, the router 60 sets the connection destination identifier corresponding to the port number in the adjacent device table of the own device to the transfer source identifier of the frame. Rewrite with. As a result of the operation described above being executed, the contents stored in the adjacent device tables of the router 60 and the switching hubs 50A and 50B are updated from the state shown in FIG. 10 to the state shown in FIG. As is apparent from FIG. 11, the stored contents of the adjacent device table and the adjacent device information of each communication terminal 40 represent the network topology in the LAN 1A without contradiction.

ここで注目すべき点は、以上に説明した動作において、ルータ60Aがスイッチングハブ50Aおよび50Bから受信する隣接機器通知フレームに書き込まれている隣接機器情報リストは、図11に示す隣接機器テーブルの格納内容ではなく、図10に示す隣接機器テーブルの格納内容に対応しているという点である。図10に示す各隣接機器テーブルの格納内容では、ルータ60Aとスイッチングハブ50Aとの接続関係のみが矛盾なく表されている。このため、時刻T0においてマルチキャストした要求フレームに対する通知フレームを受信した時点では、ルーティングエンジン部620は、ルータ60Aとスイッチングハブ50Aとの接続関係のみを表すトポロジデータを生成する。   It should be noted that the adjacent device information list written in the adjacent device notification frame received by the router 60A from the switching hubs 50A and 50B in the operation described above is stored in the adjacent device table shown in FIG. This corresponds to not the contents but the contents stored in the adjacent device table shown in FIG. In the stored contents of each adjacent device table shown in FIG. 10, only the connection relationship between the router 60A and the switching hub 50A is represented without contradiction. For this reason, when the notification frame for the request frame multicasted at time T0 is received, the routing engine unit 620 generates topology data representing only the connection relationship between the router 60A and the switching hub 50A.

そして、時刻T0からさらに所定時間Tが経過すると、ルーティングエンジン部620は、要求フレームをマルチキャストし、スイッチングハブ50Aおよび50Bの各々は上記と同様の処理を実行する。時刻T0+Tにおいてルータ60Aから送信された要求フレームに対する応答としてスイッチングハブ50Aおよび50Bが返信する隣接機器通知フレームの各々には、図11に示す隣接機器テーブルの格納内容に対応する隣接機器情報リストが書き込まれている。このため、時刻T0+Tにおいてマルチキャストした要求フレーム(すなわち、時刻T0におけるマルチキャストを1回目とすれば、2回目のマルチキャスト)に対して返信される隣接機器通知フレームを受信した時点では、ルーティングエンジン部620は、自装置と自装置の配下の全ての通信装置の接続関係を表すトポロジデータを生成する。LAN1Aの運用管理者は、このようにして生成されるトポロジデータを参照することで、LAN1Aのネットワークトポロジを把握することができるのである。   When a predetermined time T further elapses from time T0, the routing engine unit 620 multicasts the request frame, and each of the switching hubs 50A and 50B performs the same processing as described above. An adjacent device information list corresponding to the stored contents of the adjacent device table shown in FIG. 11 is written in each of the adjacent device notification frames returned by the switching hubs 50A and 50B as a response to the request frame transmitted from the router 60A at time T0 + T. It is. Therefore, the routing engine unit 620 receives the adjacent device notification frame returned for the request frame multicasted at time T0 + T (that is, the second multicast if the multicast at time T0 is the first). Then, topology data representing the connection relationship between the own device and all the communication devices under its control is generated. The operation manager of the LAN 1A can grasp the network topology of the LAN 1A by referring to the topology data generated in this way.

ルータ60Aのルーティングエンジン部620は、通信端末40A、40Bおよび40Cの各々から返信されている優先度通知フレームを受信する度に、前述した優先度設定制御処理(図8参照)を実行する。前述したように、この優先度設定制御処理では、ルーティングエンジン部620は、自装置と当優先度通知フレームの送信元との間の通信経路を特定することができるか否かをトポロジデータを参照して判定する(ステップSC100)。前述したように、時刻T0においてマルチキャストした要求フレームに対して返信されてくる通知フレームを受信した時点では、ルータ60Aとスイッチングハブ50Aとの接続関係のみを表すトポロジデータ(すなわち、ルータ60Aに対応する構造体データとスイッチングハブ50Aに対応する構造体データ)しか生成されない。このように、時刻T0においてマルチキャストした要求フレームに対して返信されてくる優先度通知フレームを受信した時点では、通信端末40A、40Bおよび40Cの各々に対応する構造体データは生成されず、ステップSC100の判定結果は“No”になる。つまり、時刻T0においてマルチキャストした要求フレームに対して返信されてくる優先度通知フレームを受信した時点ではステップSC110以降の処理は実行されないのである。   The routing engine unit 620 of the router 60A executes the above-described priority setting control process (see FIG. 8) every time the priority notification frame returned from each of the communication terminals 40A, 40B, and 40C is received. As described above, in the priority setting control process, the routing engine unit 620 refers to the topology data to determine whether or not the communication path between the own device and the transmission source of the priority notification frame can be specified. (Step SC100). As described above, when a notification frame returned in response to the multicast request frame is received at time T0, topology data representing only the connection relationship between the router 60A and the switching hub 50A (that is, corresponding to the router 60A). Only structure data and structure data corresponding to the switching hub 50A) are generated. Thus, at the time of receiving the priority notification frame returned to the multicast request frame at time T0, the structure data corresponding to each of the communication terminals 40A, 40B and 40C is not generated, and step SC100. The determination result is “No”. In other words, the processing after step SC110 is not executed when the priority notification frame returned for the request frame multicasted at time T0 is received.

これに対して、時刻T0+Tにおいてマルチキャストした要求フレームに対して返信されてくる優先度通知フレームを受信した時点では、前述したように、ルータ60A、スイッチングハブ50A、50B、通信端末40A、40Bおよび40Cの各々に対応する構造体データが生成されている。このため、例えば、通信端末40Bから送信された優先度通知フレームを受信した場合には、ルーティングエンジン部620は、当該通信端末40Bに対応する構造体データの第1のポインタを参照して当該通信端末40Bの接続先がスイッチングハブ50Bであると特定し、スイッチングハブ50Bに対応する構造体データの第2のポインタを参照して当該通信端末40Bがスイッチングハブ50Bのポート番号=6の通信ポートに接続されていることを特定する。また、ルーティングエンジン部620は、スイッチングハブ50Bに対応する構造体データの第1のポインタを参照して当該スイッチングハブ50Bはスイッチングハブ50Aに接続されていることを特定し、スイッチングハブ50Aに対応する構造体データの第2のポインタを参照してスイッチングハブ50Bがスイッチングハブ50Aのポート番号=4の通信ポートに接続されていることを特定する。そして、ルーティングエンジン部620は、スイッチングハブ50Aに対応する構造体データの第1のポインタを参照して当該スイッチングハブ50Aは自装置に接続されていることを特定し、自装置に対応する構造体データの第2のポインタを参照してスイッチングハブ50Aがポート番号=1の通信ポートに接続されていることを特定する。これにより、ルータ60Aと通信端末40Bとの間の通信経路が特定されるのである。   On the other hand, at the time of receiving the priority notification frame returned to the multicast request frame at time T0 + T, as described above, the router 60A, the switching hubs 50A and 50B, and the communication terminals 40A, 40B and 40C. Structure data corresponding to each of the above is generated. Therefore, for example, when the priority notification frame transmitted from the communication terminal 40B is received, the routing engine unit 620 refers to the first pointer of the structure data corresponding to the communication terminal 40B, and performs the communication. The connection destination of the terminal 40B is specified as the switching hub 50B, and the communication terminal 40B refers to the second pointer of the structure data corresponding to the switching hub 50B so that the communication terminal 40B becomes the communication port of port number = 6 of the switching hub 50B. Identify that it is connected. Also, the routing engine unit 620 refers to the first pointer of the structure data corresponding to the switching hub 50B, specifies that the switching hub 50B is connected to the switching hub 50A, and corresponds to the switching hub 50A. With reference to the second pointer of the structure data, it is specified that the switching hub 50B is connected to the communication port of port number = 4 of the switching hub 50A. Then, the routing engine unit 620 refers to the first pointer of the structure data corresponding to the switching hub 50A, specifies that the switching hub 50A is connected to the own device, and the structure corresponding to the own device. With reference to the second pointer of data, it is specified that the switching hub 50A is connected to the communication port of port number = 1. As a result, the communication path between the router 60A and the communication terminal 40B is specified.

このようにして自装置と通信端末40Bとの間の通信経路が特定されるため、ステップSC100の判定結果は“Yes”となり、ステップSC110以降の処理が実行される。前述したように、通信端末40Bから送信される優先度通知フレームには優先度が“1”であることを示す優先度データが書き込まれている。このため、ステップSC110においては、優先度が”0”(最も高い優先度)のデータ通信を行う通信端末(本実施形態では、通信端末40A)から送信されたパケットが無い限り、通信端末40Bから送信されたパケットを最優先でIP網へ送出し、また、IP網を介して通信端末40B宛のパケットを受信した場合には、優先度が”0”のデータ通信を行う通信端末を宛先とするパケットが無い限り、当該パケットを最優先でスイッチングハブ50Aに送出するように、パケット転送制御の優先度設定が行われる。そして、ステップSC120では、ルータ60Aから通信端末40Bへ至る通信経路上の各スイッチングハブ50(すなわち、スイッチングハブ50Aおよび50B)に対して、当該通信端末40Bが接続されている通信ポートと当該通信ポートを介して行われるデータ通信の優先度を“1”とすることとを示す設定変更指示データを書き込んだ設定変更指示フレームが送信される。具体的には、スイッチングハブ50Aに対しては、ポート番号=4と当該ポート番号の通信ポートを介して行われるデータ通信の優先度を“1”とすることを示す設定変更指示データをペイロード部に書き込んだ設定変更指示フレームが送信される。一方、スイッチングハブ50Bに対しては、ポート番号=6と当該ポート番号の通信ポートを介して行われるデータ通信の優先度を“1”とすることを示す設定変更指示データをペイロード部に書き込んだ設定変更指示フレームが送信される。   Since the communication path between the own device and the communication terminal 40B is specified in this way, the determination result in step SC100 is “Yes”, and the processing after step SC110 is executed. As described above, priority data indicating that the priority is “1” is written in the priority notification frame transmitted from the communication terminal 40B. For this reason, in step SC110, unless there is a packet transmitted from a communication terminal (in this embodiment, communication terminal 40A) that performs data communication with priority “0” (highest priority), communication terminal 40B The transmitted packet is sent to the IP network with the highest priority, and when a packet addressed to the communication terminal 40B is received via the IP network, the communication terminal that performs data communication with a priority of “0” is set as the destination. As long as there is no packet to be transmitted, priority setting of packet transfer control is performed so that the packet is transmitted to the switching hub 50A with the highest priority. In step SC120, for each switching hub 50 (that is, switching hubs 50A and 50B) on the communication path from router 60A to communication terminal 40B, the communication port to which communication terminal 40B is connected and the communication port. A setting change instruction frame in which setting change instruction data indicating that the priority of data communication performed through the communication is “1” is written is transmitted. Specifically, for the switching hub 50A, setting change instruction data indicating that the priority of data communication performed through the communication port of port number = 4 and the port number is “1” is set in the payload portion. The setting change instruction frame written in is sent. On the other hand, for the switching hub 50B, setting change instruction data indicating that the priority of data communication performed via the communication port of port number = 6 and the port number is “1” is written in the payload portion. A setting change instruction frame is transmitted.

スイッチングハブ50Aまたは50Bのスイッチングエンジン部520は、ルータ60から送信された設定変更指示フレームを受信すると(図6ステップSB100:Yes)当該設定変更指示フレームのペイロード部に書き込まれている設定変更指示データの示す内容に応じてフレーム転送制御の際の優先度の設定を変更する(図6ステップSB110)。上記設定変更指示フレームのペイロード部に書き込まれている設定変更指示データの示す優先度は“1”であるから、スイッチングエンジン部520は、当該設定変更指示データの示す通信ポートについてQoSの設定変更のみを行う。具体的には、優先度が“0”の通信ポートを介して受信したフレーム(或いは、優先度が“0”の通信ポートへ送出するフレーム)がない限り、当該設定変更指示データの示す通信ポートを介して受信したフレーム(或いは同通信ポートへ送出するフレーム)の転送が最優先されるようにQoSの設定が変更されるのである。   When the switching engine unit 520 of the switching hub 50A or 50B receives the setting change instruction frame transmitted from the router 60 (step SB100: Yes in FIG. 6), the setting change instruction data written in the payload portion of the setting change instruction frame The priority setting for the frame transfer control is changed according to the contents indicated by (step SB110 in FIG. 6). Since the priority indicated by the setting change instruction data written in the payload portion of the setting change instruction frame is “1”, the switching engine unit 520 only changes the QoS setting for the communication port indicated by the setting change instruction data. I do. Specifically, unless there is a frame received via a communication port with a priority “0” (or a frame transmitted to a communication port with a priority “0”), the communication port indicated by the setting change instruction data The QoS setting is changed so that transfer of a frame received via the network (or a frame transmitted to the communication port) has the highest priority.

これに対して、ルーティングエンジン部620は、通信端末40Aから送信された優先度通知フレームを受信すると、ポート番号=3と当該ポート番号の通信ポートを介して行われるデータ通信の優先度を“0”とすることを示す設定変更指示データを書き込んだ設定変更指示フレームをスイッチングハブ50Aに送信する。スイッチングハブ50Aのスイッチングエンジン部520は、この設定変更指示フレームを受信すると、以下のようにフレーム転送制御の際の優先度の設定を変更する。すなわち、上記設定変更指示フレームのペイロード部に書き込まれている設定変更指示データの示す優先度は“0”であるから、当該設定変更指示データの示す通信ポートのネットワークセグメントと他の通信ポートのネットワークセグメントとをVLAN設定によって分離し、さらにQoSの設定変更を行う。具体的には、当該通信ポートを介して受信したフレーム(或いは、当該通信ポートへ送出するフレーム)の転送が最優先されるようにQoSの設定が変更されるのである。このようなVLAN設定が為される結果、LAN1Aは、図12にて点線で示すように、通信端末40Aのみが属するネットワークセグメントと、スイッチングハブ50B、通信端末40Bおよび40Cが属するネットワークセグメントとに仮想的に分離され、通信端末40Aが行う音声通信が、通信端末40Bまたは40Cが行うデータ通信によって阻害されることを確実に防止することができるのである。   In contrast, when the routing engine unit 620 receives the priority notification frame transmitted from the communication terminal 40A, the routing engine unit 620 sets the priority of data communication performed through the communication port of port number = 3 and the port number to “0”. A setting change instruction frame in which setting change instruction data indicating "" is written is transmitted to the switching hub 50A. When the switching engine unit 520 of the switching hub 50A receives this setting change instruction frame, the switching engine unit 520 changes the priority setting in the frame transfer control as follows. That is, since the priority indicated by the setting change instruction data written in the payload portion of the setting change instruction frame is “0”, the network segment of the communication port indicated by the setting change instruction data and the network of the other communication port Segments are separated by VLAN settings, and QoS settings are changed. Specifically, the QoS setting is changed so that transfer of a frame received via the communication port (or a frame transmitted to the communication port) has the highest priority. As a result of such VLAN setting, the LAN 1A is virtually divided into a network segment to which only the communication terminal 40A belongs and a network segment to which the switching hub 50B and the communication terminals 40B and 40C belong, as indicated by a dotted line in FIG. Therefore, it is possible to reliably prevent the voice communication performed by the communication terminal 40A from being obstructed by the data communication performed by the communication terminal 40B or 40C.

以上説明したように、本実施形態においては、ルータ60の配下のネットワークに収容される通信端末40に対して当該通信端末40が行うデータ通信の優先度を設定しておけば、各スイッチングハブ50におけるフレームの転送制御の優先度設定が自動的に変更される。本実施形態では、スイッチングハブ50に対して、音声データの送受信を行う通信端末40のMACアドレスとQoSの設定内容等を対応付けて予め記憶させておく必要はないため、運用管理者の設定作業の煩雑さが軽減される。つまり、本実施形態によれば、設定作業の煩雑さを軽減しつつ、各通信端末の実行するデータ通信の優先度に応じた転送制御を各スイッチングハブ50に行わせることが可能になる。なお、以上に説明した動作例では、LAN1Aにおける優先度制御について説明したが、LAN1Bにおける優先度制御についても同様である。   As described above, in this embodiment, if the priority of data communication performed by the communication terminal 40 is set for the communication terminal 40 accommodated in the network under the router 60, each switching hub 50 is set. The priority setting of the frame transfer control is automatically changed. In the present embodiment, since there is no need to store the MAC address of the communication terminal 40 that transmits and receives voice data, the QoS setting contents, and the like in advance in association with the switching hub 50, the setting work of the operation manager Is less complicated. That is, according to the present embodiment, it is possible to cause each switching hub 50 to perform transfer control according to the priority of data communication executed by each communication terminal while reducing the complexity of the setting work. In the operation example described above, priority control in the LAN 1A has been described, but the same applies to priority control in the LAN 1B.

また、本実施形態によれば、スイッチングハブ50および通信端末40から返信されてくる隣接機器情報に基づいて生成されるトポロジデータを参照することでルータ60の配下のネットワークのネットワークトポロジを容易に把握することもできる。ここで、各スイッチングハブ50から送信されている隣接機器情報のデータサイズは当該スイッチングハブ50に接続される中継装置の数に応じて定まり、当該スイッチングハブ50が有する通信ポート数に応じたデータサイズ以上になることはない。つまり、本実施形態における通知フレームのペイロード部のデータサイズは、LAN1Aに含まれるスイッチングハブ50の数が増加しても、その増加に伴って際限なく大きくなることはない。このため、LAN1Aが大規模化したとしても、ネットワークトポロジの特定のために過剰な負荷がLAN1Aにかかることはない。   Further, according to the present embodiment, the network topology of the network under the router 60 can be easily grasped by referring to the topology data generated based on the neighboring device information returned from the switching hub 50 and the communication terminal 40. You can also Here, the data size of the neighboring device information transmitted from each switching hub 50 is determined according to the number of relay devices connected to the switching hub 50, and the data size according to the number of communication ports that the switching hub 50 has. No more. In other words, even if the number of switching hubs 50 included in the LAN 1A increases, the data size of the payload portion of the notification frame in the present embodiment does not increase without limit. For this reason, even if the scale of the LAN 1A is increased, an excessive load is not applied to the LAN 1A for specifying the network topology.

さらに、本実施形態のルータ60は、所定時間Tが経過する毎に周期的に要求フレームのマルチキャストを行うため、例えばスイッチングハブ50(或いは通信端末40)を新たに接続するようなネットワークトポロジの変更が行われたとしても、新たなスイッチングハブの接続から2回目の要求フレームのマルチキャストによって当該変更後のネットワークトポロジを矛盾なく正確に表すトポロジデータが生成される。つまり、本実施形態によれば、LAN1Aに過剰な負荷がかかることを回避しつつ、かつ遅滞なくネットワークトポロジの変更を検出することができる。   Furthermore, since the router 60 of the present embodiment periodically multicasts the request frame every time the predetermined time T elapses, for example, the network topology is changed such that the switching hub 50 (or the communication terminal 40) is newly connected. Even when the network topology is changed, topology data that accurately represents the network topology after the change without any contradiction is generated by multicasting the second request frame from the connection of the new switching hub. That is, according to the present embodiment, it is possible to detect a change in the network topology without delay while avoiding an excessive load on the LAN 1A.

<B:第2実施形態>
図13は、本発明の第2実施形態のLAN1Cの構成例を示すブロック図である。
図13と図1とを対比すれば明らかように、LAN1Cはスイッチングハブ50Bに換えてスイッチングハブ500を有する点がLAN1Aと異なる。スイッチングハブ500は、従来のスイッチングハブであって、受信したフレームの送信先MACアドレスに基づくフレームの転送制御(すなわち、図6のステップSB190の処理)のみを実行する点がスイッチングハブ50と異なる。
<B: Second Embodiment>
FIG. 13 is a block diagram illustrating a configuration example of the LAN 1C according to the second embodiment of this invention.
As apparent from a comparison between FIG. 13 and FIG. 1, the LAN 1C is different from the LAN 1A in that it includes a switching hub 500 instead of the switching hub 50B. The switching hub 500 is a conventional switching hub, and differs from the switching hub 50 in that only the frame transfer control based on the transmission destination MAC address of the received frame (that is, the process of step SB190 in FIG. 6) is executed.

LAN1Cにおいては、スイッチングハブ50Aからスイッチングハブ500に転送された要求フレームは転送元識別子を書き換えられることなく、通信端末40Bおよび40Cに転送される。このため、通信端末40Bおよび40Cの揮発性記憶部444には、隣接機器情報としてスイッチングハブ50AのMACアドレスが書き込まれる。同様に、通信端末40Bおよび40Cの各々から送信された優先度通知フレームも、転送元識別子を書き換えられることなくスイッチングハブ500によってスイッチングハブ50Aに転送される。このため、スイッチングハブ50Aの隣接機器テーブルには、スイッチングハブ500が接続されている通信ポートのポート識別子に対応付けて、通信端末40BのMACアドレスと、通信端末40CのMACアドレスの何れか一方が書き込まれる。これは、通信端末40Bと40Cの各々から送信された優先度通知フレームのうち、後に受信したほうの転送識別子によって先に受信したほうのものが書き換えられるからである。   In the LAN 1C, the request frame transferred from the switching hub 50A to the switching hub 500 is transferred to the communication terminals 40B and 40C without rewriting the transfer source identifier. Therefore, the MAC address of the switching hub 50A is written as adjacent device information in the volatile storage unit 444 of the communication terminals 40B and 40C. Similarly, the priority notification frames transmitted from each of the communication terminals 40B and 40C are also transferred to the switching hub 50A by the switching hub 500 without rewriting the transfer source identifier. Therefore, in the adjacent device table of the switching hub 50A, either the MAC address of the communication terminal 40B or the MAC address of the communication terminal 40C is associated with the port identifier of the communication port to which the switching hub 500 is connected. Written. This is because of the priority notification frames transmitted from each of the communication terminals 40B and 40C, the one received earlier is rewritten by the transfer identifier received later.

以上に説明した要領で隣接機器テーブルへのMACアドレスの書き込みが行われる結果、ルータ60Aは、図14(A)或いは図14(B)に示すネットワークトポロジを表すトポロジデータを生成する。図14(A)は、通信端末40Bと40Cの各々から送信される優先度通知フレームのうち、後者のほうを先にスイッチングハブ50Aが受信した場合に生成されるトポロジデータの表すネットワークトポロジであり、図14(B)は前者のほうを先にスイッチングハブ50Aが受信した場合に生成されるトポロジデータの表すネットワークトポロジを表す図である。図14(A)或いは図14(B)と、図13とを対比すれば明らかように、図14(A)或いは図14(B)に示すネットワークトポロジにはスイッチングハブ500が現れておらず、また、通信端末40Bと40Cの何れか一方しか現れていない点が、LAN1Cの実際のネットワークトポロジと異なる。   As a result of the MAC address being written to the adjacent device table in the manner described above, the router 60A generates topology data representing the network topology shown in FIG. 14 (A) or FIG. 14 (B). FIG. 14A shows a network topology represented by topology data generated when the switching hub 50A receives the latter of the priority notification frames transmitted from the communication terminals 40B and 40C first. FIG. 14B shows a network topology represented by topology data generated when the switching hub 50A receives the former first. As apparent from a comparison between FIG. 14 (A) or FIG. 14 (B) and FIG. 13, the switching hub 500 does not appear in the network topology shown in FIG. 14 (A) or FIG. 14 (B). Also, only one of the communication terminals 40B and 40C appears, which is different from the actual network topology of the LAN 1C.

このように、ルータ60の配下のネットワークに従来のスイッチングハブが含まれている場合には、当該従来のスイッチングハブと他の装置(すなわち、ルータ60やスイッチングハブ50、通信端末40)との接続関係を把握することはできず、従来のスイッチングハブに接続されている通信端末が行うデータ通信についての優先度制御にも支障が生じ得る。例えば、図14(A)に示すネットワークトポロジを表すトポロジデータが生成される場合には、通信端末40Cが行うデータ通信についての優先度制御を行うことはできず、逆に、図14(B)に示すネットワークトポロジを表すトポロジデータが生成される場合には、通信端末40Bが行うデータ通信についての優先度制御を行うことはできない。しかし、LAN1Cにおいても、ルータ60とスイッチングハブ50との大まかな接続関係を把握すること、およびスイッチングハブ50に接続されている通信端末40についての優先度制御を行うことは可能である。   Thus, when the conventional switching hub is included in the network under the router 60, the connection between the conventional switching hub and other devices (that is, the router 60, the switching hub 50, and the communication terminal 40). The relationship cannot be grasped, and priority control for data communication performed by a communication terminal connected to a conventional switching hub may be hindered. For example, when topology data representing the network topology shown in FIG. 14A is generated, priority control for data communication performed by the communication terminal 40C cannot be performed, and conversely, FIG. 14B When the topology data representing the network topology shown in FIG. 2 is generated, priority control for data communication performed by the communication terminal 40B cannot be performed. However, also in the LAN 1C, it is possible to grasp a rough connection relationship between the router 60 and the switching hub 50 and to perform priority control for the communication terminal 40 connected to the switching hub 50.

ルータ60の配下のネットワークに含まれるスイッチングハブの全てが従来のものであれば、当該ネットワークにおけるネットワークトポロジの把握やデータ通信毎の優先度制御を行えないことは言うまでもない。しかし、ルータ60の配下のネットワークに含まれる複数のスイッチングハブのなかに本発明に係るスイッチングハブ50が少なくとも1台含まれていれば、ルータ60と当該スイッチングハブ50との接続関係(すなわち、一般的な従来のスイッチングハブを除いた概略的なネットワークトポロジ)を運用管理者に把握させることができ、また、当該スイッチングハブ50に接続されている通信端末40が行うデータ通信についての優先度制御を行うことができるのである。   Needless to say, if all of the switching hubs included in the network under the router 60 are conventional, it is impossible to grasp the network topology in the network and to control the priority for each data communication. However, if at least one switching hub 50 according to the present invention is included in a plurality of switching hubs included in the network under the router 60, the connection relationship between the router 60 and the switching hub 50 (that is, general General network topology excluding typical conventional switching hubs) can be grasped, and priority control for data communication performed by the communication terminal 40 connected to the switching hub 50 can be performed. It can be done.

<C:変形>
以上、本発明の実施形態について説明したが、この実施形態に以下に述べる変形を加えても勿論良い。
(1)上述した各実施形態では、通知フレームの送信を要求するための要求フレームを所定時間間隔で周期的にルータ60にマルチキャストさせたが、予め定められた所定種類のパケットの受信を契機としてルータ60に要求フレームをマルチキャストさせても良い。例えば、ARPパケットの受信を契機としてルータ60に要求フレームを送信させるのである。新たにARPパケットが送信されたということは、ルータ60の配下のネットワークに新たな通信端末40が接続されたことを意味し、新たな通信端末の接続に伴ってネットワークトポロジが変化した可能性があり、また、フレーム転送制御の優先度を変更する必要がある可能性がある。新たなARPパケットの受信を契機としてルータ60に要求フレームを送信させるようにすれば、新たな通信端末の接続に伴うネットワークトポロジの変化を所定時間の経過を待つことなく検出し、さらにフレーム転送制御の優先度設定の変更を上記所定時間の経過を待つことなく行うことができる。
<C: Deformation>
Although the embodiment of the present invention has been described above, it is needless to say that the following modifications may be added to this embodiment.
(1) In each of the above-described embodiments, a request frame for requesting transmission of a notification frame is periodically multicast to the router 60 at predetermined time intervals, but triggered by reception of a predetermined type of packet. The request frame may be multicast to the router 60. For example, the request frame is transmitted to the router 60 when the ARP packet is received. The fact that an ARP packet is newly transmitted means that a new communication terminal 40 is connected to the network under the router 60, and there is a possibility that the network topology has changed due to the connection of the new communication terminal. There is also a possibility that the priority of frame transfer control needs to be changed. If the router 60 is made to transmit a request frame in response to reception of a new ARP packet, a change in the network topology associated with the connection of a new communication terminal is detected without waiting for the elapse of a predetermined time, and further frame transfer control is performed. The priority setting can be changed without waiting for the predetermined time to elapse.

なお、ルータ60がDHCPサーバの役割を兼ねている場合には、IPアドレスの割り当てを要求する旨のパケットを配下の通信端末から受信したことを契機として要求フレームをマルチキャストさせても良い。そして、所定時間間隔で周期的に要求フレームをマルチキャストする処理と、特定の種類のパケットの受信を契機として要求フレームをマルチキャストする処理と、をルータ60に実行させる場合には、後者のマルチキャストを行う度にその時点を起算点として上記所定時間の経過を計測し直させるようにしても良い。制御フレームについても同様に、周期的なマルチキャストに加えて(或いは、周期的なマルチキャストに換えて)、ARPパケットやIPアドレスの割り当てを要求するパケットなどの予め定められた所定種類のパケットの受信を契機としてルータ60にマルチキャストさせるようにしても良い。   When the router 60 also serves as a DHCP server, the request frame may be multicast when triggered by the reception of a packet requesting IP address assignment from a subordinate communication terminal. When the router 60 executes the process of periodically multicasting the request frame at a predetermined time interval and the process of multicasting the request frame triggered by reception of a specific type of packet, the latter multicast is performed. You may make it measure the progress of the said predetermined time again from the time as the starting point. Similarly for control frames, in addition to periodic multicast (or in place of periodic multicast), reception of a predetermined type of packet such as an ARP packet or a packet requesting IP address assignment is received. As an opportunity, the router 60 may be multicast.

(2)上述した各実施形態では、要求フレームの受信を契機としてスイッチングハブ50に隣接機器通知フレームを送信させたが、所定時間間隔で周期的に隣接機器通知フレームをスイッチングハブ50に送信させるようにしても良い。同様に優先度通知フレームについても所定時間間隔で周期的に通信端末40に送信させるようにしても良い。このように通知フレームを周期的に送信させる態様においては、ルータ60から要求フレームをマルチキャストする必要はなく、ルータ60から配下のネットワークに向けてマルチキャストするフレームのうちの予め定められた一部のものに転送元識別子を付与してマルチキャストさせるようにすれば良い。 (2) In each of the embodiments described above, the adjacent device notification frame is transmitted to the switching hub 50 in response to the reception of the request frame. However, the adjacent device notification frame is periodically transmitted to the switching hub 50 at predetermined time intervals. Anyway. Similarly, the priority notification frame may be periodically transmitted to the communication terminal 40 at predetermined time intervals. Thus, in the aspect of periodically transmitting the notification frame, it is not necessary to multicast the request frame from the router 60, and a predetermined part of the frames to be multicast from the router 60 to the subordinate network. The transfer source identifier may be assigned to and multicasted.

(3)上述した各実施形態では、要求フレームを受信するたびに、隣接機器情報リストをペイロードに書き込んだ隣接機器通知フレームを各スイッチングハブ50に返信させた。しかし、N(自然数)回目の要求フレームの受信からN+1回目の要求フレームの受信までの間に隣接機器テーブルの格納内容に変化がない場合には、当該N+1回目に受信した要求フレームに対して応答する際に、隣接機器情報リストに換えて隣接機器情報リストに変化がないことを示すデータをペイロード部に書き込んだ通知フレームを返信させるようにしても良い。 (3) In each embodiment described above, every time a request frame is received, the adjacent device notification frame in which the adjacent device information list is written in the payload is returned to each switching hub 50. However, if there is no change in the stored contents of the adjacent device table between the reception of the N (natural number) request frame and the reception of the (N + 1) th request frame, a response is made to the request frame received at the (N + 1) th time. In this case, instead of the adjacent device information list, a notification frame in which data indicating that there is no change in the adjacent device information list is written in the payload portion may be returned.

(4)上述した各実施形態では、通信端末40毎にその通信端末40が行うデータ通信の種類が予め定められており、かつ、そのデータ通信の優先度を表す優先度データが不揮発性記憶部442に予め書き込まれていた。しかし、通信端末40の各々が複数種類のデータ通信を行えるようにし、かつ、実行中のデータ通信の優先度を示す優先度データを不揮発性記憶部442に書き込むようにしても良い。このようなことは、以下の要領で実現可能である。すなわち、通信端末40の各々に複数種の通信プログラムを記憶させておくとともに、それら通信プログラムの各々とその通信プログラムにしたがって行われるデータ通信の優先度とを対応付ける優先度テーブルを各通信端末40に記憶させておく。そして、いずれかの通信プログラムの実行を指示されたことを契機として当該通信プログラムに対応する優先度を上記優先度テーブルの格納内容を参照して特定し、その優先度を示す優先度データを不揮発性記憶部442に書き込む処理を制御部410に実行させるのである。 (4) In each of the embodiments described above, the type of data communication performed by the communication terminal 40 is predetermined for each communication terminal 40, and priority data indicating the priority of the data communication is stored in the nonvolatile storage unit. 442 was previously written. However, each of the communication terminals 40 may perform a plurality of types of data communication, and priority data indicating the priority of the data communication being performed may be written in the nonvolatile storage unit 442. Such a thing is realizable in the following ways. That is, a plurality of types of communication programs are stored in each communication terminal 40, and a priority table that associates each of the communication programs with the priority of data communication performed according to the communication program is stored in each communication terminal 40. Remember. Then, in response to an instruction to execute one of the communication programs, the priority corresponding to the communication program is specified by referring to the stored contents of the priority table, and priority data indicating the priority is nonvolatile. The control unit 410 is caused to execute processing for writing to the property storage unit 442.

(5)上述した各実施形態では、本発明のルータの特徴を顕著に示すマルチキャスト処理、および優先度設定制御処理をソフトウェアにより実現した。しかし、マルチキャスト処理を実現するマルチキャスト手段および優先度設定制御処理を実行する優先度設定制御手段の各々を電子回路などのハードウェアで実現しても勿論良い。スイッチングハブ50についても同様に、フレーム転送制御処理、隣接機器通知フレーム送信処理、および優先度設定変更処理の各処理を電子回路などのハードウェアによって実現しても良い。 (5) In each of the above-described embodiments, the multicast processing and the priority setting control processing that clearly show the characteristics of the router of the present invention are realized by software. However, of course, each of the multicast means for realizing the multicast processing and the priority setting control means for executing the priority setting control processing may be realized by hardware such as an electronic circuit. Similarly, for the switching hub 50, the frame transfer control process, the adjacent device notification frame transmission process, and the priority setting change process may be realized by hardware such as an electronic circuit.

(6)上述した各実施形態では、緊急音声通信の優先度を最も高くし、一般的な音声通信の優先度を次に高くし、音声通信以外のデータ通信の優先度を最も低くした。しかし、例えば、データベースサーバへのデータの日次アップロードなど、大容量かつ高速に行う必要があるデータ通信であれば、音声通信以外のデータ通信であっても優先度を高くすることが望ましいことは言うまでも無い。また、上述した実施形態では、通信ポート単位で優先度設定を行ったが、通信経路の終端に位置する通信端末単位(すなわち、各通信端末のMACアドレス単位)で優先度設定を行っても良い。このようなことは、設定変更指示データとして優先度データと当該優先度データの送信元の通信端末のMACアドレスとを用い、この設定変更指示データにしたがってスイッチングハブ50に優先度設定変更処理を実行させるようにすれば良い。 (6) In each of the embodiments described above, the priority of emergency voice communication is the highest, the priority of general voice communication is the next highest, and the priority of data communication other than voice communication is the lowest. However, it is desirable to increase the priority even for data communication other than voice communication, for example, if the data communication needs to be performed at a high capacity and at high speed, such as daily upload of data to a database server. Needless to say. In the above-described embodiment, the priority setting is performed for each communication port. However, the priority setting may be performed for each communication terminal located at the end of the communication path (that is, each MAC address of each communication terminal). . For this reason, the priority data and the MAC address of the communication terminal that is the transmission source of the priority data are used as the setting change instruction data, and the priority setting change process is executed in the switching hub 50 according to the setting change instruction data. You can make it.

1A,1B,1C…LAN、40A,40B,40C,40D,40E,40F…通信端末、50A,50B,50C,50D,500…スイッチングハブ、60…ルータ、410…制御部、420,510,610…通信I/F部、430…ユーザI/F部、520…スイッチングエンジン部、440,530,630…記憶部、442…不揮発性記憶部、444…揮発性記憶部、620…ルーティングエンジン部、450…バス。   1A, 1B, 1C ... LAN, 40A, 40B, 40C, 40D, 40E, 40F ... Communication terminal, 50A, 50B, 50C, 50D, 500 ... Switching hub, 60 ... Router, 410 ... Control unit, 420, 510, 610 ... Communication I / F part, 430 ... User I / F part, 520 ... Switching engine part, 440, 530, 630 ... Memory part, 442 ... Nonvolatile memory part, 444 ... Volatile memory part, 620 ... Routing engine part, 450 ... Bus.

Claims (7)

配下のネットワークと他のネットワークとを接続するルータと、前記ルータの配下のネットワークに含まれる複数のスイッチングハブと、前記複数のスイッチングハブの何れかに各々接続される複数の通信端末とを含む通信システムにおいて、
前記ルータは、
前記複数の通信端末の各々に対しては当該通信端末の行うデータ通信の優先度を示す優先度データと当該通信端末に対してフレームの転送を行った通信装置を示す隣接機器情報の送信とを要求し、前記複数のスイッチングハブの各々に対しては当該スイッチングハブについての隣接機器情報の送信を要求する要求フレームに転送元識別子として自装置の通信アドレスを付与して前記ネットワークに向けてマルチキャストする第1の手段と、
前記複数の通信端末の各々から当該通信端末についての前記優先度および隣接機器情報を通知するために返信されてくる優先度通知フレーム、および前記複数のスイッチングハブの各々から当該スイッチングハブについての隣接機器情報を通知するために返信されてくる隣接機器通知フレームを受信し、当該ルータから前記複数の通信端末の各々へ至る通信経路上のスイッチングハブを通信端末毎に特定し、各通信経路上のスイッチングハブに対して当該通信経路の終端に位置する通信端末の優先度データと当該通信経路を示す情報とを送信し、当該通信経路に沿って送受信されるフレームの転送制御を当該優先度データの示す優先度で行うよう指示する第2の手段と、を有し、
前記複数のスイッチングハブの各々は、
自装置に対してフレームの転送を行った通信装置を示す隣接機器情報を記憶する隣接機器テーブルと、
受信したフレームに転送元識別子が付与されている場合には当該転送元識別子を隣接器機器情報として前記隣接機器テーブルに書き込んだ後に当該転送元識別子を自装置の通信アドレスに書き換えて当該フレームの宛先に応じた転送制御を行う第3の手段と、
受信フレームが前記要求フレームである場合には、前記隣接機器テーブルに格納されている隣接機器情報を書き込んだ隣接機器通知フレームを生成し、自装置の通信アドレスを転送元識別子として付与して返信する第4の手段と、
前記ルータから受信した情報の示す通信経路に沿って送受信されるフレームの転送制御が当該情報とともに受信した優先度データの示す優先度で行われるように、当該スイッチングハブにおけるフレームの転送制御の態様を切り換える第5の手段と、を有し、
前記複数の通信端末の各々は、
前記要求フレームの受信を契機として当該要求フレームに付与されている転送元識別子を当該通信装置についての隣接機器情報として記憶する第6の手段と、
自端末が行うデータ通信の優先度を示す優先度データを書き込んだ前記優先度通知フレームに転送元識別子として自装置の通信アドレスを付与して返信する第7の手段とを有する
ことを特徴とする通信システム。
Communication including a router connecting a subordinate network and another network, a plurality of switching hubs included in the network subordinate to the router, and a plurality of communication terminals respectively connected to any of the plurality of switching hubs In the system,
The router
For each of the plurality of communication terminals, priority data indicating the priority of data communication performed by the communication terminal, and transmission of adjacent device information indicating the communication apparatus that has transferred the frame to the communication terminal. To each of the plurality of switching hubs, assigning a communication address of the own device as a transfer source identifier to a request frame for requesting transmission of neighboring device information about the switching hub, and multicasting to the network A first means;
A priority notification frame returned from each of the plurality of communication terminals to notify the priority and adjacent device information for the communication terminal, and an adjacent device for the switching hub from each of the plurality of switching hubs The adjacent device notification frame returned to notify the information is received, the switching hub on the communication path from the router to each of the plurality of communication terminals is specified for each communication terminal, and the switching on each communication path is performed. The priority data of the communication terminal located at the end of the communication path and information indicating the communication path are transmitted to the hub, and the transfer control of the frame transmitted / received along the communication path is indicated by the priority data. And a second means for instructing to do with priority,
Each of the plurality of switching hubs is
An adjacent device table that stores adjacent device information indicating a communication device that has transferred a frame to the own device;
When a transfer source identifier is given to the received frame, the transfer source identifier is written in the adjacent device table as adjacent device information, and then the transfer source identifier is rewritten to the communication address of the own device, and the destination of the frame A third means for performing transfer control according to
If the received frame is the request frame, an adjacent device notification frame in which adjacent device information stored in the adjacent device table is written is generated, and the communication address of the own device is assigned as a transfer source identifier and returned. A fourth means;
A mode of frame transfer control in the switching hub is performed so that transfer control of frames transmitted and received along the communication path indicated by the information received from the router is performed with the priority indicated by the priority data received together with the information. A fifth means for switching,
Each of the plurality of communication terminals is
Sixth means for storing a transfer source identifier assigned to the request frame as reception of the request frame as neighboring device information for the communication device;
And a seventh means for giving a reply with the communication address of the own apparatus as a transfer source identifier to the priority notification frame in which priority data indicating the priority of data communication performed by the own terminal is written. Communications system.
前記第5の手段は、QoS(Quality of Service)設定とVLAN(Virtual Local Area Network)設定の少なくとも一方を、前記ルータから受信した優先度データに応じて切り換えることを特徴とする請求項1に記載の通信システム。   2. The fifth means according to claim 1, wherein at least one of QoS (Quality of Service) setting and VLAN (Virtual Local Area Network) setting is switched according to priority data received from the router. Communication system. 前記第5の手段は、前記ルータから受信した情報の示す通信経路の終端に位置する通信端末を送信元とするフレームを受信した場合に、当該フレームのペイロード部に書き込まれているパケットについての第3層におけるパケットの転送制御が当該優先度データの示す優先度に応じて行われるように当該パケットのヘッダ部を書き換えることを特徴とする請求項1または2に記載の通信システム。   When the fifth means receives a frame originating from a communication terminal located at the end of the communication path indicated by the information received from the router, the fifth means 3. The communication system according to claim 1, wherein a header portion of the packet is rewritten so that packet transfer control in the three layers is performed according to the priority indicated by the priority data. 配下のネットワークに含まれる複数のスイッチングハブの各々に対しては当該スイッチングハブに対してフレームの転送を行った通信装置を示す隣接機器情報の送信を要求し、前記複数のスイッチングハブの各々に接続される各通信端末に対しては当該通信端末の行うデータ通信の優先度を示す優先度データと当該通信端末についての隣接機器情報の送信を要求する要求フレームに自装置の通信アドレスを転送元識別子として付与して前記ネットワークに向けてマルチキャストするマルチキャスト手段と、
前記複数の通信端末の各々から当該通信端末についての前記優先度および隣接機器情報を通知するために返信されてくる優先度通知フレーム、および前記複数のスイッチングハブの各々から当該スイッチングハブについての隣接機器情報を通知するために返信されてくる隣接機器通知フレームを受信し、自装置から前記複数の通信端末の各々へ至る通信経路上のスイッチングハブを通信端末毎に特定し、各通信経路上のスイッチングハブに対して当該通信経路の終端に位置する通信端末の優先度データと当該通信経路を示す情報とを送信し、当該通信経路に沿って送受信されるフレームの転送制御を当該優先度データの示す優先度で行うよう指示する優先度設定制御手段と
を有すことを特徴とするルータ。
For each of the plurality of switching hubs included in the subordinate network, the switching hub is requested to transmit adjacent device information indicating the communication device that has transferred the frame, and connected to each of the plurality of switching hubs. For each communication terminal to be transmitted, the communication address of the own device is assigned to a request frame for requesting transmission of priority data indicating the priority of data communication performed by the communication terminal and neighboring device information for the communication terminal. A multicast means for granting and multicasting to the network as
A priority notification frame returned from each of the plurality of communication terminals to notify the priority and adjacent device information for the communication terminal, and an adjacent device for the switching hub from each of the plurality of switching hubs The adjacent device notification frame returned to notify the information is received, the switching hub on the communication path from the own apparatus to each of the plurality of communication terminals is specified for each communication terminal, and the switching on each communication path is performed. The priority data of the communication terminal located at the end of the communication path and information indicating the communication path are transmitted to the hub, and the transfer control of the frame transmitted / received along the communication path is indicated by the priority data. A router having priority setting control means for instructing to perform with priority.
自装置に対してフレームの転送を行った通信装置を示す隣接機器情報を記憶する隣接機器テーブルと、
受信したフレームの転送制御をその宛先に応じて行う手段であって、当該受信フレームに転送元識別子が付与されている場合には当該転送元識別子を隣接器機器情報として前記隣接機器テーブルに書き込んだ後に当該転送元識別子を自装置の通信アドレスに書き換えて当該フレームの宛先に応じた転送制御を行うフレーム転送制御手段と、
受信フレームが自装置にフレームを転送した通信装置を示す隣接機器情報の送信を要求するために自装置を含むネットワークを他のネットワークに接続するルータから送信された要求フレームである場合には、前記隣接機器テーブルに格納されている隣接機器情報を書き込んだ隣接機器通知フレームを生成し、自装置の通信アドレスを転送元識別子として付与して返信する隣接機器通知手段と、
前記ルータから受信した情報の示す通信経路に沿って送受信されるフレームの転送制御が当該情報とともに受信した優先度データの示す優先度で行われるように、自装置におけるフレームの転送制御の態様を切り換える優先度設定変更手段と、
を有することを特徴とするスイッチングハブ。
An adjacent device table that stores adjacent device information indicating a communication device that has transferred a frame to the own device;
A means for performing transfer control of a received frame according to its destination, and when a transfer source identifier is given to the received frame, the transfer source identifier is written in the adjacent device table as adjacent device information Frame transfer control means for performing transfer control according to the destination of the frame by rewriting the transfer source identifier later with the communication address of the own device;
When the received frame is a request frame transmitted from a router that connects a network including the own device to another network in order to request transmission of neighboring device information indicating the communication device that has transferred the frame to the own device , An adjacent device notification means for generating an adjacent device notification frame in which the adjacent device information stored in the adjacent device table is written, giving a communication address of the own device as a transfer source identifier, and sending back;
Switch the mode of frame transfer control in the own device so that transfer control of frames transmitted and received along the communication path indicated by the information received from the router is performed with the priority indicated by the priority data received together with the information. Priority setting change means;
A switching hub comprising:
コンピュータを、
当該コンピュータをルータとして他のネットワークに接続されるネットワークに含まれる複数のスイッチングハブの各々に対しては当該スイッチングハブに対してフレームの転送を行った通信装置を示す隣接機器情報の送信を要求し、前記複数のスイッチングハブの各々に接続される各通信端末に対しては当該通信端末の行うデータ通信の優先度を示す優先度データと当該通信端末についての隣接機器情報の送信を要求する要求フレームに自装置の通信アドレスを転送元識別子として付与して前記ネットワークに向けてマルチキャストするマルチキャスト手段と、
前記複数の通信端末の各々から当該通信端末についての前記優先度および隣接機器情報を通知するために返信されてくる優先度通知フレーム、および前記複数のスイッチングハブの各々から当該スイッチングハブについての隣接機器情報を通知するために返信されてくる隣接機器通知フレームを受信し、当該ルータから前記複数の通信端末の各々へ至る通信経路上のスイッチングハブを通信端末毎に特定し、各通信経路上のスイッチングハブに対して当該通信経路の終端に位置する通信端末の優先度データと当該通信経路を示す情報とを送信し、当該通信経路に沿って送受信されるフレームの転送制御を当該優先度データの示す優先度で行うよう指示する優先度設定制御手段
として機能させることを特徴とするプログラム。
Computer
Each of a plurality of switching hubs included in a network connected to another network using the computer as a router requests transmission of adjacent device information indicating a communication device that has transferred the frame to the switching hub. A request frame for requesting transmission of priority data indicating the priority of data communication performed by the communication terminal and adjacent device information for the communication terminal to each communication terminal connected to each of the plurality of switching hubs Multicast means for giving a communication address of its own device as a transfer source identifier and multicasting to the network;
A priority notification frame returned from each of the plurality of communication terminals to notify the priority and adjacent device information for the communication terminal, and an adjacent device for the switching hub from each of the plurality of switching hubs The adjacent device notification frame returned to notify the information is received, the switching hub on the communication path from the router to each of the plurality of communication terminals is specified for each communication terminal, and the switching on each communication path is performed. The priority data of the communication terminal located at the end of the communication path and information indicating the communication path are transmitted to the hub, and the transfer control of the frame transmitted / received along the communication path is indicated by the priority data. A program which functions as a priority setting control means for instructing to perform with priority.
コンピュータを、
当該コンピュータに対してフレームの転送を行った通信装置を示す隣接機器情報を記憶する記憶手段と、
受信したフレームの転送制御をその宛先に応じて行う手段であって、当該受信フレームに転送元識別子が付与されている場合には当該転送元識別子を隣接器機器情報として前記記憶手段に書き込んだ後に当該転送元識別子を自装置の通信アドレスに書き換えて当該フレームの宛先に応じた転送制御を行うフレーム転送制御手段と、
受信フレームが当該コンピュータにフレームを転送した通信装置を示す隣接機器情報の送信を要求するために当該コンピュータを含むネットワークを他のネットワークに接続するルータから送信された要求フレームである場合には、前記記憶手段に格納されている隣接機器情報を書き込んだ隣接機器通知フレームを生成し、自装置の通信アドレスを転送元識別子として付与して返信する隣接機器通知手段と、
前記ルータから受信した情報の示す通信経路に沿って送受信されるフレームの転送制御が当該情報とともに受信した優先度データの示す優先度で行われるように、当該コンピュータにおけるフレームの転送制御の態様を切り換える優先度設定変更手段と、
として機能させることを特徴とするプログラム。
Computer
Storage means for storing adjacent device information indicating a communication device that has transferred a frame to the computer;
A means for performing transfer control of a received frame according to its destination, and when a transfer source identifier is given to the received frame, after writing the transfer source identifier as neighbor device information in the storage means Frame transfer control means for rewriting the transfer source identifier to the communication address of its own device and performing transfer control according to the destination of the frame;
When the received frame is a request frame transmitted from a router that connects a network including the computer to another network in order to request transmission of neighboring device information indicating the communication device that transferred the frame to the computer, An adjacent device notification unit that generates the adjacent device notification frame in which the adjacent device information stored in the storage unit is written, and gives a communication address of the own device as a transfer source identifier;
Switch the frame transfer control mode in the computer so that the transfer control of the frames transmitted and received along the communication path indicated by the information received from the router is performed with the priority indicated by the priority data received together with the information. Priority setting change means;
A program characterized by functioning as
JP2011066591A 2011-03-24 2011-03-24 Communication system, router, switching hub, and program Active JP5640853B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011066591A JP5640853B2 (en) 2011-03-24 2011-03-24 Communication system, router, switching hub, and program
CN201280014958.5A CN103477594B (en) 2011-03-24 2012-03-21 Communication system, router, switch hub and communication means
PCT/JP2012/057242 WO2012128301A1 (en) 2011-03-24 2012-03-21 Communication system, router, switching hub, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011066591A JP5640853B2 (en) 2011-03-24 2011-03-24 Communication system, router, switching hub, and program

Publications (2)

Publication Number Publication Date
JP2012205012A JP2012205012A (en) 2012-10-22
JP5640853B2 true JP5640853B2 (en) 2014-12-17

Family

ID=46879442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011066591A Active JP5640853B2 (en) 2011-03-24 2011-03-24 Communication system, router, switching hub, and program

Country Status (3)

Country Link
JP (1) JP5640853B2 (en)
CN (1) CN103477594B (en)
WO (1) WO2012128301A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6396464B2 (en) * 2014-07-10 2018-09-26 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America In-vehicle network system, electronic control unit, reception method and transmission method
JP6378158B2 (en) * 2015-11-12 2018-08-22 Necプラットフォームズ株式会社 Concentrator and method
JP6890025B2 (en) * 2016-05-27 2021-06-18 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Electronic control unit, frame generation method and program
WO2019003322A1 (en) 2017-06-27 2019-01-03 三菱電機株式会社 Management device, communication system, management method, and management program
CN109842591B (en) * 2017-11-27 2021-08-13 北京聚利科技有限公司 Method for communication between hubs and system for communication between hubs

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2542127B2 (en) * 1991-02-25 1996-10-09 松下電工株式会社 Network management device
JPH10336228A (en) * 1997-05-28 1998-12-18 Hitachi Cable Ltd Relay device and network management device
US7054304B2 (en) * 2001-01-19 2006-05-30 Terited International , Inc. Method and protocol for managing broadband IP services in a layer two broadcast network
JP2003244222A (en) * 2002-02-18 2003-08-29 Sony Corp Communication control device, communication control system and method, and computer program
JP4325516B2 (en) * 2004-09-07 2009-09-02 Kddi株式会社 Data priority control method in mobile network system
JP4938687B2 (en) * 2005-12-09 2012-05-23 パナソニック株式会社 Network system and relay device
JP4873556B2 (en) * 2007-01-10 2012-02-08 Kddi株式会社 Topology detection method, communication device, management device, and program for detecting logical topology of network
JP5059473B2 (en) * 2007-04-18 2012-10-24 株式会社日立製作所 Network system, management computer and user terminal
JP5062530B2 (en) * 2008-04-24 2012-10-31 株式会社ナカヨ通信機 Communication control system for reducing data communication other than priority terminals
CN101640737A (en) * 2008-07-31 2010-02-03 上海贝尔阿尔卡特股份有限公司 Method for selecting QoS grade by user and equipment for realizing same

Also Published As

Publication number Publication date
WO2012128301A1 (en) 2012-09-27
JP2012205012A (en) 2012-10-22
CN103477594B (en) 2016-08-10
CN103477594A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
JP4033773B2 (en) Method and apparatus for performing network routing
JP5255653B2 (en) Mapless global traffic load balancing via anycast
US9571382B2 (en) Method, controller, and system for processing data packet
US8089882B2 (en) Load-aware network path configuration
CN104468205B (en) The system administration that execution route is oriented to
US8493989B2 (en) Network device and data control program
CN103476062B (en) Data flow scheduling method, equipment and system
EP3958509A1 (en) Method, apparatus and system for communication between controllers in tsn
CN114285794B (en) Message forwarding control method, message transmission network, electronic equipment and storage medium
JPWO2012133290A1 (en) Computer system and communication method
JP5640853B2 (en) Communication system, router, switching hub, and program
JPWO2012081631A1 (en) Switching device, host device, network, and packet transfer method
KR20210016802A (en) Method for optimizing flow table for network service based on server-client in software defined networking environment and sdn switch thereofor
WO2021196967A1 (en) Message interaction method and apparatus, and device and storage medium
JP5233295B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
WO2012173172A1 (en) Communication system, controller, switch, storage management device, and communication method
US8612626B2 (en) Group member detection among nodes of a network
CN105516025A (en) End-to-end path control and data transmission method, OpenFlow controller and a switch
WO2021166250A1 (en) Gateway device, method, and program
CN100417141C (en) A method for realizing multicast service
CN105591963A (en) Message forwarding method and equipment in SDN
CN100359875C (en) Method for realizing load sharing on address resolution protocol agent
CN104113475B (en) The network route implementation method and system of home gateway based on Linux
JP5750933B2 (en) Communication system, switching hub, router and program
Rayes et al. The internet in IoT

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140122

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140724

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: 20140930

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141013

R150 Certificate of patent or registration of utility model

Ref document number: 5640853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350