JPWO2005079016A1 - Switch device - Google Patents
Switch device Download PDFInfo
- Publication number
- JPWO2005079016A1 JPWO2005079016A1 JP2005517878A JP2005517878A JPWO2005079016A1 JP WO2005079016 A1 JPWO2005079016 A1 JP WO2005079016A1 JP 2005517878 A JP2005517878 A JP 2005517878A JP 2005517878 A JP2005517878 A JP 2005517878A JP WO2005079016 A1 JPWO2005079016 A1 JP WO2005079016A1
- Authority
- JP
- Japan
- Prior art keywords
- mac frame
- priority
- control information
- processing unit
- queue
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2441—Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2475—Traffic characterised by specific attributes, e.g. priority or QoS for supporting traffic characterised by the type of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/351—Switches specially adapted for specific applications for local area network [LAN], e.g. Ethernet switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/20—Support for services
- H04L49/205—Quality of Service based
Abstract
MACフレーム解析処理部(22)が、入力されるMACフレームのレイヤ2制御情報、レイヤ3制御情報、レイヤ4制御情報、またはレイヤ5以上の上位層のデータを解析して、優先制御情報付与部(21)が、MACフレーム解析処理部(22)の解析結果に基づいて所定の優先順位のキューにMACフレームを振り分けることを決定して、決定したキューを識別するための優先制御情報をMACフレームに付加する。L2スイッチ処理部(3)は、優先制御情報に基づいて出力ポート処理部(4−1)〜(4−m)内のキューに優先制御情報付きMACフレームを振り分けて、出力ポート処理部(4−1)〜(4−m)は、予め定められた優先順位に基づいて優先制御情報を削除したMACフレームを出力ポート(PO1)〜(POm)に出力する。A MAC frame analysis processing unit (22) analyzes layer 2 control information, layer 3 control information, layer 4 control information, or layer 5 or higher layer data of an input MAC frame, and gives priority control information adding unit (21) determines to allocate the MAC frame to a queue having a predetermined priority order based on the analysis result of the MAC frame analysis processing unit (22), and sets priority control information for identifying the determined queue to the MAC frame. Append to The L2 switch processing unit (3) distributes the MAC frame with priority control information to the queues in the output port processing units (4-1) to (4-m) based on the priority control information, and outputs the output port processing unit (4 -1) to (4-m) output MAC frames from which priority control information is deleted based on a predetermined priority order to output ports (PO1) to (POm).
Description
この発明は、イーサーネット(登録商標)によって構成されるネットワークのデータ転送に関するものであり、詳細には、転送するデータの内容を解析して転送優先順位を決定するスイッチ装置に関するものである。 The present invention relates to data transfer in a network constituted by Ethernet (registered trademark), and more particularly, to a switch device that analyzes the contents of data to be transferred and determines the transfer priority.
90年代に入ってからのインターネットの普及は目覚しいものがある。インターネットの基本は、ネットワークが全てのパケットを公平に扱うベストエフォート型、すなわち、サービスの品質保証のない通信サービスである。しかしながら、インターネットの普及に伴い、インターネットを使用したビジネスが展開され高品質のサービスや音声、動画通信といったアプリケーションを扱うようになり、実時間性が要求されるようになってきている。このような要求に対応するために、従来から高速にデータを転送する種々の技術が考えられている。
たとえば、特許文献1に記載の第1の従来技術には、情報転送処理(フレーム転送処理)の優先度をネットワーク管理ソフトに基づいて設定する優先度設定部と、この優先度設定部によって最優先に設定されたポートから複数の情報(フレーム)を連続的に転送する制御手段とを設け、マルチメディアシステムにおける音声・映像端末が繋がるポート等のフレームを優先的に転送するスイッチングハブの技術が開示されている。
また、特許文献2に記載の第2の従来技術には、EF(Expedited Forwarding)クラスのパケットを最優先に送出し、AF(Assured Forwarding)クラスのパケットおよびBE(Best Effort)クラスのパケットに対しては、WRR(Weighted Round Robin)スケジューリングを行い、WRRスケジューリングを行なっても送出すべきパケットがないときに、固定遅延優先スケジューリングを行なうマルチレイヤクラス識別通信装置の技術が開示されている。
[特許文献1]
特開平9−116569号公報
[特許文献2]
特許第3386117号公報
しかしながら、上記第1の従来技術のスイッチングハブは、MACフレームのMACフレームヘッダ内のVLANタグの優先ビットを用いた通常の優先度の他に、スイッチングハブの入力ポート単位の流量制御、または優先制御によってフレーム転送の優先度を決定するようにしているため、同一のVLAN内での優先度を区別することができないという問題があった。すなわち、同一のVLAN内におけるフレーム転送の優先度を制御することができないという問題があった。
また、上記第2の従来技術のマルチレイヤクラス識別通信装置(マルチレイヤスイッチ)は、IPフレームを扱うルータが有する機能であり、ルータの足回りとして用いられるレイヤ2ネットワークにおいては、IEEE802.1Dで規定されるVLANタグの優先ビットを用いた8段階の優先制御だけしかサポートできないという問題があった。
さらに、IPネットワークに用いられる上記第2の従来技術のマルチレイヤスイッチは、ルータに集線される前段階のレイヤ2ネットワークにおいては、フロー単位に優先制御を行なうことができないという問題があった。
また、上記第2の従来技術のマルチレイヤスイッチは、IPルータで用いられるため、IPプロトコル以外のプロトコルを用いたネットワークに使用することができないという問題があった。
本発明は、上記に鑑みてなされたものであって、レイヤ2ネットワークで扱うMACフレーム内のレイヤ2以上の上位層の制御情報を解析して、各入出力ポート毎に構成されるアプリケーション別のフロー単位に存在する各種優先キューへの送信をMACフレーム毎に制御してMACフレームのフロー単位で優先制御を行なうスイッチ装置を得ることを目的としている。The spread of the Internet since the beginning of the 90s is remarkable. The basis of the Internet is a best-effort type in which the network handles all packets fairly, that is, a communication service without service quality assurance. However, with the widespread use of the Internet, businesses using the Internet have been developed to handle applications such as high-quality services, voice and video communication, and real-time performance has been demanded. In order to meet such demands, various techniques for transferring data at high speed have been conventionally considered.
For example, in the first prior art described in
Further, in the second prior art described in
[Patent Document 1]
Japanese Patent Laid-Open No. 9-116569 [Patent Document 2]
However, the switching hub of the first prior art described above has a flow rate in units of input ports of the switching hub in addition to the normal priority using the priority bit of the VLAN tag in the MAC frame header of the MAC frame. Since the priority of frame transfer is determined by control or priority control, there is a problem that priorities within the same VLAN cannot be distinguished. That is, there is a problem that the priority of frame transfer in the same VLAN cannot be controlled.
Also, the second conventional multi-layer class identification communication device (multi-layer switch) is a function of a router that handles IP frames. In a
Furthermore, the multilayer switch of the second prior art used for the IP network has a problem that priority control cannot be performed in units of flows in the
Moreover, since the multilayer switch of the second prior art is used in an IP router, there is a problem that it cannot be used for a network using a protocol other than the IP protocol.
The present invention has been made in view of the above, and analyzes control information of a higher layer than
本発明においては、用途別にそれぞれの優先度が定められている複数のキューを有し、レイヤ2制御情報内のVLANタグのVLAN優先ビットに対応する複数の優先制御バッファ部によって構成され、前記各キューに蓄積されたMACフレームを出力ポートに出力する出力ポート処理部を備えるスイッチ装置において、入力されるMACフレームを解析するMACフレーム解析処理部と、このMACフレーム解析処理部の解析結果に基づいて、MACフレームを蓄積する前記優先制御バッファ部および当該優先制御バッファ部内のキューを決定して、この決定したキューを識別するための優先制御情報を前記MACフレームに付加する優先制御情報付与部と、を備える複数の入力ポート毎のMACフレーム処理部と、前記優先制御情報付与部によって付与された優先制御情報付きのMACフレームを優先制御情報にしたがってキューに出力するレイヤ2スイッチ処理部と、を備え、前記各出力ポート処理部は、前記優先制御情報付与部によって付加された優先制御情報を削除したMACフレームを出力ポートに出力することを特徴とする。
この発明によれば、入力されるMACフレームを解析して、この解析結果に基づいて、出力ポート毎のVLANタグのVLAN優先ビットに対応する複数の優先制御バッファ部内の用途別に優先度が定められている複数のキューのどのキューにMACフレームを蓄積するかを決定するようにしているため、MACフレームをフロー単位で優先制御することができ、効率よくデータ転送を行なうことができる。In the present invention, each queue has a plurality of queues each of which has a priority determined for each use, and is configured by a plurality of priority control buffer units corresponding to VLAN priority bits of the VLAN tag in the
According to the present invention, the input MAC frame is analyzed, and based on the analysis result, the priority is determined for each use in the plurality of priority control buffer units corresponding to the VLAN priority bits of the VLAN tag for each output port. Since it is determined in which queue of the plurality of queues the MAC frame is stored, priority control can be performed on the MAC frame in units of flows, and data transfer can be performed efficiently.
第1図は、この発明におけるスイッチ装置が適用されるネットワークシステムの構成の一例を示す図であり、第2図は、この発明におけるスイッチ装置の構成を示すブロック図であり、第3図は、スイッチ装置に入力されるMACフレームの構成を示す図であり、第4図は、優先制御情報が付加されたMACフレームの構成を示す図であり、第5図は、第2図に示した出力ポート処理部の構成を示すブロック図であり、第6図は、この発明における実施の形態1のスイッチ装置の動作を説明するためのフローチャートであり、第7図は、スイッチ装置に入力されるMACフレームの構成を示す図であり、第8図は、この発明における実施の形態2のスイッチ装置の動作を説明するためのフローチャートであり、第9図は、この発明における実施の形態4のスイッチ装置の動作を説明するためのフローチャートであり、第10図は、この発明における実施の形態5のスイッチ装置の動作を説明するためのフローチャートであり、第11図は、この発明における実施の形態6のスイッチ装置の構成を示すブロック図であり、第12図は、この発明における実施の形態6のスイッチ装置の動作を説明するためのフローチャートであり、第13図は、この発明における実施の形態7のスイッチ装置の構成を示すブロック図であり、第14図は、第13図に示した出力ポート処理部の構成を示すブロック図であり、第15図は、IGMPパケットのMACフレームの構成を示す図であり、第16図は、RTPパケットのMACフレームの構成を示す図であり、第17図は、優先制御情報が付加されたMACフレームの構成を示すであり、第18図は、スイッチ装置に入力されるMACフレームの構成を示す図である。 FIG. 1 is a diagram showing an example of the configuration of a network system to which the switch device according to the present invention is applied, FIG. 2 is a block diagram showing the configuration of the switch device according to the present invention, and FIG. FIG. 4 is a diagram illustrating a configuration of a MAC frame input to the switch device, FIG. 4 is a diagram illustrating a configuration of a MAC frame to which priority control information is added, and FIG. 5 is an output illustrated in FIG. FIG. 6 is a block diagram showing the configuration of the port processing unit, FIG. 6 is a flowchart for explaining the operation of the switch device according to the first embodiment of the present invention, and FIG. 7 shows the MAC input to the switch device. FIG. 8 is a flowchart for explaining the operation of the switch device according to the second embodiment of the present invention, and FIG. 9 is a diagram illustrating the structure of the present invention. FIG. 10 is a flowchart for explaining the operation of the switch device according to the fifth embodiment of the present invention. FIG. 10 is a flowchart for explaining the operation of the switch device according to the fifth embodiment of the present invention. FIG. 12 is a block diagram showing the configuration of the switch device of Embodiment 6 in FIG. 12. FIG. 12 is a flowchart for explaining the operation of the switch device of Embodiment 6 in this invention. FIG. FIG. 14 is a block diagram showing the configuration of the output port processing unit shown in FIG. 13, and FIG. 15 is the MAC of the IGMP packet. FIG. 16 is a diagram showing the configuration of a MAC frame of an RTP packet, and FIG. 17 is a diagram showing priority control information added. The is a showing a configuration of a MAC frame, FIG. 18 is a diagram showing a configuration of a MAC frame input to the switch device.
以下に、本発明にかかるスイッチ装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態により本発明が限定されるものではない。
実施の形態1.
第1図〜第7図を用いてこの発明の実施の形態1を説明する。第1図は、この発明における実施の形態1のスイッチ装置が適用されるネットワークシステムの構成の一例を示す図である。第1図に示すネットワークシステムは、イーサーネット(登録商標)などで構成されるネットワークシステムであって、ルータ7−1〜7−4を有するL3ネットワーク8と、ルータ7−3によってL3ネットワーク8と接続されるスイッチ装置1−1〜1−6,1−9および加入者端末10−1〜10−4,10−6を有する大規模L2ネットワーク6−1と、ルータ7−4によってL3ネットワーク8と接続されるスイッチ装置1−7,1−8および加入者端末10−5を有する大規模L2ネットワーク6−2と、ルータ7−1によってL3ネットワークに接続されるサーバ9−1と、ルータ7−2によってL3ネットワークに接続されるサーバ9−2とで構成されている。また、大規模L2ネットワーク6−1,6−2はVLAN(Virtual Local Area Network)技術によって物理的な構成に依存しないネットワークを構成している。なお、第1図では、スイッチ装置1−3〜1−6,1−8,1−9に接続されている加入者端末はそれぞれ1台としているが、一般的には、複数の加入者端末が接続されている。
第1図に示したスイッチ装置1−1〜1−8は、すべて同じ機能を備えている。第2図に示したスイッチ装置1−1の構成を示すブロック図を参照してスイッチ装置の機能を説明する。
第2図に示したスイッチ装置1−1は、n(nは自然数)個の入力ポートPI1〜PInと、これら入力ポートPI1〜PInに対応したMACフレーム処理部2−1〜2−nと、レイヤ2スイッチ処理部(以下、L2スイッチ処理部とする)3と、m(mは自然数)個の出力ポートPO1〜POmに対応する出力ポート処理部4−1〜4〜mとを備えている。
MACフレーム処理部2−1〜2−nは、それぞれに対応する入力ポートPI1〜PInから入力されるMACフレームを解析するMACフレーム解析処理部22と、MACフレーム解析処理部22の解析結果に基づいて優先制御情報をMACフレームに付加する優先制御情報付与部21とを備えている。
第3図は、スイッチ装置1−1に入力されるMACフレームのフレーム構成の一例を示す図である。MACフレームは、MACフレームヘッダと、IPヘッダ(この場合はIPv4のIPヘッダ)と、TCPヘッダまたはUDPヘッダと、データとで構成される。MACフレームヘッダは、フレームの宛先アドレスを示す6バイトの宛先MACアドレスと、フレームの送信元アドレスを示す6バイトの送信元MACアドレスと、VLAN−IDやVLAN優先ビットなどのVLAN情報を示す4バイトのVLANタグと、フレームのタイプや長さを示す2バイトのデータ長(Type/Length)とで構成される。
IPヘッダは、IPプロトコルのバージョンを示す4ビットのバージョン(VER)と、IPヘッダフィールドの大きさを示す4ビットのインターネットヘッダ長(IHL)と、IPデータグラムが要求するサービス品質を示す1バイトのサービスタイプ(TOS)と、IPヘッダおよびIPデータの長さを示す2バイトのトータル長と、上位層から各IPデータを識別するための2バイトの識別子(ID)と、IPデータの分割に関する情報を示す3ビットのフラグ(FL)と、各フラグメントのオリジナルデータにおける位置を示す13ビットのフラグメント・オフセット(FO)と、通過可能なルータの残り数を示す2バイトの生存時間(TTL)と、IPデータに含むIPの上位プロトコルを識別するためのプロトコル種別コードを示す2バイトのプロトコルタイプ(PROT)と、IPヘッダにおけるエラー検出のための2バイトのヘッダ・チェックサム(HC)と、送信元のIPアドレスを示す4バイトの送信元IPアドレス(SA)と、宛先のIPアドレスを示す4バイトの宛先IPアドレス(DA)とで構成される。
IPヘッダの後は、TCPヘッダまたはUDPヘッダであり、どちらの場合でも、送信元のポート番号を示す2バイトの送信元ポート番号と、宛先のポート番号を示す2バイトの宛先ポート番号とを有している。
MACフレーム解析処理部22は、第3図に示したMACフレームの所定の情報、たとえば、データ長やプロトコルタイプ、送信元ポート番号、宛先ポート番号などが、予め定められた情報と一致しているか否かを判定する。MACフレーム解析処理部22は、MACフレームの所定の情報が予め定められた情報と一致している場合にはキュー指定通知を優先制御情報付与部21に出力する。MACフレームの所定の情報が予め定められた情報と不一致の場合にはVLAN優先通知を優先制御情報付与部21に出力する。
優先制御情報付与部21は、第4図に示すように、4バイトの優先制御情報をMACフレームヘッダの前に付加する。優先制御情報とは、出力ポート処理部4−1〜4−mのどのキューにMACフレームを振り分けるかを示すものであり、VLAN優先ビットに対応する優先制御バッファ部、および当該優先制御バッファ部内のキューを識別する情報である。優先制御情報付与部21は、キュー指定通知を受けた場合にはキュー指定通知に基づいた優先制御情報を、VLAN優先通知を受けた場合には、MACフレームヘッダのVLANタグに基づいた優先制御情報をMACフレームヘッダの前に付加する。
L2スイッチ処理部3は、優先制御情報付与部21から入力され優先制御情報付きMACフレームを宛先MACアドレスに対応する出力ポート処理部4−1〜4−mに出力する。
出力ポート処理部4−1〜4−mは、それぞれ同じ機能を備えている。第5図に示した出力ポート処理部4−1の構成を示すブロック図を参照して出力ポート処理部の機能を説明する。出力ポート処理部4−1は、出力ポートPO1〜POmに設定されるVLANの数(VLAN−ID)に対応する(この場合は、10個)のVLAN制御バッファ部40−1〜40−10と、これらVLAN制御バッファ部40−1〜40−10から出力されるMACフレームを多重して出力ポートPO1に出力する重処理部41とを備えている。第5図においては、VLAN制御バッファ部40−1がVLAN−ID「1」に対応付けられ、VLAN制御バッファ部40−2がVLAN−ID「2」に対応付けられ、…、VLAN制御バッファ部40−10がVLAN−ID「10」に対応付けられている。
VLAN制御バッファ部40−1〜40−10は、それぞれ同じ機能を備えている。VLAN制御バッファ部40−1は、VLANタグの8段階のVLAN優先ビットに対応した優先制御バッファ部42−0〜42−7と、これら優先制御バッファ部42−0〜42−7から出力されるVLAN優先ビット毎のMACフレームを多重する多重処理部43とを備えている。第5図においては、優先制御バッファ部42−7がVLANタグのVLAN優先ビット「7」に対応付けられ、優先制御バッファ部42−6がVLANタグのVLAN優先ビット「6」に対応付けられ、…、優先制御バッファ部42−0がVLANタグのVLAN優先ビット「0」に対応付けられている。
優先制御バッファ部42−0〜42−7は、それぞれ同じ機能を備えている。優先制御バッファ部42−7は、フレーム振り分け処理部44と、複数(この場合は9個)のキュー45〜1〜45−9と、出力キュー制御部46−1〜46−3と、多重処理部47とを備えている。
フレーム振り分け処理部44は、優先制御情報付与部21によって付加された優先制御情報に基づいてL2スイッチ処理部3から入力された優先制御情報付きMACフレームをキュー45−1〜45−9に振り分ける。各キュー45−1〜45−9は、振り分けられた優先制御情報付きMACフレームを蓄積する。
出力キュー制御部46−1は、キュー45−1に蓄積されたMACフレームを読み出して多重処理部47に出力する。出力キュー制御部46−2は、キュー45−2〜45−4から予め定められた順番にMACフレームを読み出して多重処理部47に出力する。出力キュー制御部46−3は、キュー45−5〜45−8から予め定められた出力調停制御基づいてMACフレームを読み出して多重処理部47に出力する。
多重処理部47は、出力キュー制御部46−1〜46−3が各キュー45−1〜45−8から読み出したMACフレームおよびキュー45−9のMACフレームを多重する。すなわち、多重処理部47は、VLAN−ID毎のVLAN優先ビットによるMACフレームを多重する。
つぎに、第6図のフローチャートを参照して、この発明における実施の形態1のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、データ長が「0x0806」というARP(Address Resolution Protocol)フレーム識別情報と、宛先ポート番号が「67(43h)」であってかつ送信元ポート番号が「68(44h)」というHDCP識別情報と、プロトコルタイプが「1(01h)」というICMP Internet Control Message Protocol)フレーム識別情報が予め設定されているものとする。また、優先制御情報付与部21には、キュー指定通知を受けた場合、優先制御バッファ部42−0〜42−7のそれぞれの最優先キューであるキュー45−1を使用し、VLAN優先通知を受けた場合、キュー45−1〜45−9のどのキューを使用するかのVLAN優先順位が、予め設定されているものとする。
入力ポートPI1〜PInからMACフレーム(第3図参照)が入力されると、入力ポートPI1〜PInに対応するMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、MACフレームがARPフレームであるか否かを判定する(ステップS100)。具体的には、MACフレームのプリアンブルによって同期検出を行った後に、ビット数またはバイト数をカウントして第3図に示したデータ長(Type/Lergth)の情報を検出する。そして、検出したデータ長の情報と、ARPフレーム識別情報「0x0806」とを比較する。データ長が「0x0806」の場合には、MACフレーム解析処理部22は、入力されたMACフレームがARPフレームであると判断して、キュー指定通知を優先制御情報付与部21に出力する(ステップS130)。
データ長が「0x0806」ではない場合(ARPフレームではない場合)には、MACフレーム解析処理部22は、ICPMフレームであるか否かを判定する(ステップS110)。具体的には、MACフレーム解析処理部22は、ビット数またはバイト数をカウントして第3図に示したプロトコルタイプ(PROT)の情報を検出する。そして、検出したプロトコルタイプの情報と、予め設定されているICPMフレーム識別情報「01h」とを比較する。プロトコルタイプが「01h」の場合には、MACフレーム解析処理部22は、入力されたMACフレームがICPMフレームであると判断して、キュー指定通知を優先制御情報付与部21に出力する(ステップS130)。
プロトコルタイプが「01h」ではない場合(ICMPフレームではない場合)には、MACフレーム解析処理部22は、HDCPフレームであるか否かを判定する(ステップS120)。具体的には、MACフレーム解析処理部22は、ビット数またはバイト数をカウントして第3図に示した送信元ポート番号および宛先ポート番号の情報を検出する。そして、検出した送信元ポート番号および宛先ポート番号と、HDCPフレーム識別情報「44h」および「43h」とを比較する。送信元ポート番号が「44h」であってかつ宛先ポート番号が「43h」の場合には、MACフレーム解析処理部22は、入力されたMACフレームがHDCPフレームであると判定して、キュー指定通知を優先制御情報付与部21に出力する(ステップS130)。
送信元ポート番号および宛先ポート番号が「44h」および「43h」ではない場合(HDCPフレームではない場合)には、MACフレーム解析処理部22は、VLAN優先通知を優先制御情報付与部21に出力する(ステップS140)。すなわち、MACフレーム解析処理部22は、入力されたMACフレームがARPフレーム、ICMPフレーム、またはHDCPフレームの場合にはキュー指定通知を優先制御情報付与部21に出力し、入力されたMACフレームがARPフレーム、ICMPフレームまたはHDCPフレームではない場合にはVLAN優先通知を優先制御情報付与部21に出力する。
優先制御情報付与部21は、キュー指定通知またはVLAN優先通知に基づいてMACフレームを割り振るキューを決定して、決定したキューを示すキュー番号を優先制御情報としてMACフレームの前に付加する(ステップS150)。具体的には、キュー指定通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、最優先キューとして予め設定されているキュー45−1を識別するためキュー番号とを優先制御情報としてMACフレームの前に付加する。なお、どのVLAN優先ビットのキュー45−1であるかが予め設定されている場合には、設定されているVLAN優先ビットを使用する。VLAN優先通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレーム(第4図参照)をL2スイッチ処理部3に出力する。
L2スイッチ処理部3は、MACフレームの宛先MACアドレスおよびVLANタグのVLAN情報に基づいて優先制御情報付きMACフレームの訪路を決定する(ステップS160)。具体的には、L2スイッチ処理部3は、宛先MACアドレスに基づいて出力ポートPO1〜POmを決定して、決定した出力ポートPO1〜POmに対応する出力ポート処理部4−1〜4−mを決定する。たとえば、優先制御情報付きMACフレームの宛先MACアドレスが出力ポートPO1を示している場合には優先制御情報付きMACフレームを出力ポート処理部4−1に出力することを決定し、優先制御情報付きMACフレームの宛先MACアドレスが出力ポートPO2を示している場合に優先制御情報付きMACフレームを出力ポート処理部4−2に出力することを決定する。L2スイッチ処理部3は、決定した出力ポート処理部4−1〜4−mに優先制御情報付きMACフレームを出力する。
出力ポート処理部4−1〜4−mに入力された優先制御情報付きMACフレームは、VLANタグのVLAN−IDおよび情報識別情報に基づいたVLAN制御バッファ部の優先制御バッファ部に入力される。たとえば、VLAN−IDが「1」であり、優先制御情報のVLAN優先ビットが「7」の優先制御情報付きMACフレームはVLAN制御バッファ部40−1の優先制御バッファ部42−7のフレーム振り分け処理部44に入力され、VLAN−IDが「2」であり、優先制御情報のVLAN優先ビットが「3」の優先制御情報付きMACフレームはVLAN制御バッファ部40−2の優先制御バッファ部42−3のフレーム振り分け処理部44に入力される。
フレーム振り分け処理部44は、L2スイッチ処理部3から入力された優先制御情報付きMACフレームの優先制御情報に基づいて優先制御情報付きMACフレームをキュー45−1〜45−9に出力する(ステップS170)。ARPフレーム、ICMPフレームまたはHDCPフレームである優先制御情報付きMACフレームには、優先制御情報付与部21によって優先制御情報に最優先キューであるキュー45−1のキュー番号が設定されているので、ARPフレーム、ICMPフレームまたはHDCPフレームはキュー45−1に出力される。キュー45−1〜45−9は、フレーム振り分け処理部44から入力された優先制御情報付きMACフレームを蓄積する。
出力キュー制御部46−1〜46−3は、予め定められた出力調停制御に基づいてキュー45−1〜45−9に蓄積されている優先制御情報付きMACフレームを読み出して、多重処理部47に出力する。ここで、出力キュー制御部46−1〜46−3は、最優先キューであるキュー45−1に優先制御情報付きMACフレームが蓄積されている場合には、最優先でキュー45−1の優先制御情報付きMACフレームを読み出すものとする。
多重処理部47は、キュー45−1〜45−9から出力された優先制御情報付きMACフレームを多重して多重処理部43に出力し、多重処理部43は、優先制御バッファ部42−0〜42−7の各多重処理部47から入力された優先制御情報付きMACフレームを多重して多重処理部41に出力し、多重処理部41は、VLAN制御バッファ部40−1〜40−10の各多重処理部43から入力された優先制御情報付きMACフレームの優先制御情報を削除して、第4図に示した優先制御付きMACフレームを第3図に示したMACフレームに戻したMACフレームを多重して、多重した出力MACフレームを対応する出力ポートPO1〜POmに出力する(ステップS180)。
このようにこの実施の形態1では、入力されたMACフレーム内のMACフレームヘッダ(レイヤ2制御情報)、IPヘッダ(レイヤ3制御情報)、またはTCPヘッダやUDPヘッダ(レイヤ4制御情報)から、IP通信を開始する前に使用するプロトコルのARPフレームやHDCPフレーム、またはネットワークの状態を調査するICMPフレームを識別して、ARPフレーム、HDCPフレーム、またはICMPフレームの場合には、これらのフレームを優先順位の最も高い最優先キューに振り分けてコマンドフレーム単位で優先的に処理するようにしているので、イーサーネット(登録商標)を用いた通信において、ネットワークへの高速な接続環境を提供するとともに、高速なネットワークの状態監視環境を提供することができる。
なお、この実施の形態1では、IP通信の開始前のプロトコルをARPプロトコルとHDCPプロトコルとしたが、これらのプロトコルに限るものではない。たとえば、第7図に示すように、TCPヘッダは、送信元ポート番号、宛先ポート番号、シーケンス番号、応答確認番号、オフセット(D/O)、予約、コード・ビット(FLAG)、ウインドウ、チェックサム、緊急ポインタ、オプションおよびパディングで構成される。MACフレーム解析処理部22が、TCPヘッダのコード・ビットを解析して、コード・ビットが「SYNC」、「SYNC/ACK」、または「ACK」の場合(3ウェイ・ハンドシェイクのフレームの場合)には、当該MACフレームを最優先キューに割り振るようにキュー指定通知を出力するようにしてもよい。これにより、TCPセッション開始を高速に行うことができる。
また、TCPヘッダのコード・ビットが「ACK」である場合にキュー指定通知を出力するようにして高速転送を行うようにすれば、双方向通信のスループットを上げることができる。
また、MACフレーム解析処理部22が、IPヘッダの宛先IPアドレスがマルチキャストアドレスであって、かつデータ内に経路情報が含まれているか否かを判定してルーティング情報フレームを検出し、ルーティング情報フレームを優先的に処理するようにしてもよい。
実施の形態2.
実施の形態1では、入力されたMACフレームのうち、特定のフレーム(ARPフレーム、HDCPフレーム、またはCIMPフレーム)を最優先キューに振り分けることで、特定のフレームを高速転送するようにした。この実施の形態2は、特定のMACアドレスを有するMACフレームを最優先キューに振り分けることで、特定の加入者端末の通信を高速化するものである。
第8図を用いてこの発明の実施の形態2を説明する。この発明における実施の形態2のスイッチ装置が適用されるネットワークシステムおよびスイッチ装置は、第1図および第2図に示した実施の形態1のネットワークシステムおよびスイッチ装置1−1と同様のものとなるので、ここではその説明を省略する。
第1図に示した加入者端末10−1および加入者端末10−2を優先端末とした場合を例に挙げて、第8図のフローチャートを参照して、この発明における実施の形態2のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、加入者端末10−1のMACアドレスと、加入者端末10−2のMACアドレスとが優先端末のアドレスとして予め設定されているものとする。また、優先制御情報付与部21には、キュー指定通知を受けた場合、優先制御バッファ部42−0〜42−7のそれぞれの2Mbpsにシェーピングされる最優先キューであるキュー45−2を使用し、VLAN優先通知を受けた場合、キュー45−1〜45−9のどのキューを使用するかのVLAN優先順位が、予め設定されているものとする。
入力ポートPI1〜PInからMACフレーム(第3図参照)が入力されると、入力ポートPI1〜PInに対応するMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、優先端末宛のMACフレームであるか否かを判定する(ステップS200)。具体的には、MACフレームのプリアンブルによって同期検出を行った後に、ビット数またはバイト数をカウントして第3図に示した宛先MACアドレスを検出する。そして、検出した宛先MACアドレスと、加入者端末10−1または加入者端末10−2のMACアドレスとを比較する。検出した宛先MACアドレスが加入者端末10−1または加入者端末10−2のMACアドレスの場合には、MACフレーム解析処理部22は、入力されたMACフレームが優先端末宛のMACフレームであると判断して、キュー指定通知を優先制御情報付与部21に出力する(ステップS220)。
宛先MACアドレスが優先端末のMACアドレスでない場合(優先端末宛のMACフレームではない場合)には、MACフレーム解析処理部22は、MACフレームが優先端末からのMACフレームであるか否かを判定する(ステップS210)。具体的には、ビット数またはバイト数をカウントして第3図に示した送信元MACアドレスを検出する。そして、検出した送信元MACアドレスと、加入者端末10−1または加入者端末10−2のMACアドレスとを比較する。検出した送信元MACアドレスが加入者端末10−1または加入者端末10−2のMACアドレスの場合には、MACフレーム解析処理部22は、入力されたMACフレームが優先端末からのMACフレームであると判断して、キュー指定通知を優先制御情報付与部21に出力する(ステップS220)。
送信元MACアドレスが優先端末のMACアドレスでない場合(優先端末からのMACフレームではない場合)には、VLAN優先通知を優先制御情報付与部21に出力する(ステップS230)。すなわち、MACフレーム解析処理部22は、入力されたMACフレームが、優先端末宛または優先端末からのMACフレームの場合にはキュー指定通知を優先制御情報付与部21に出力し、入力されたMACフレームが優先端末とは関係のないMACフレームの場合にはVLAN優先通知を優先制御情報付与部21に出力する。
優先制御情報付与部21は、キュー指定通知またはVLAN優先通知に基づいて決定したキューを示すキュー番号を優先制御情報としてMACフレームの前に付加する(ステップS240)。具体的には、キュー指定通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、最優先キューとして予め設定されているキュー45−2を識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。VLAN優先通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレームをL2スイッチ処理部3に出力する。
L2スイッチ処理部3は、優先制御情報付きMACフレームの宛先MACアドレスに基づいて優先制御情報付きMACフレームの訪路を決定する(ステップS250)。
フレーム振り分け処理部44は、L2スイッチ処理部3から入力された優先制御情報付きMACフレームの優先制御情報に基づいて優先制御情報付きMACフレームをキュー45−1〜45−9に出力する(ステップS260)。加入者端末10−1および加入者端末10−2宛のMACフレーム、または加入者端末10−1および加入者端末10−2からのMACフレームには、優先制御情報付与部21によって優先制御情報に最優先キューであるキュー45−2のキュー番号が設定されているのでキュー45−2に出力される。キュー45−1〜45−9は、フレーム振り分け処理部44から入力された優先制御情報付きMACフレームを蓄積する。
出力キュー制御部46−1〜46−3は、予め定められた出力調停制御に基づいてキュー45−1〜45−9に蓄積されている優先制御情報付きMACフレームを読み出して、多重処理部47に出力する。ここで、出力キュー制御部46−1〜46−3は、最優先キューであるキュー45−2に優先制御情報付きMACフレームが蓄積されている場合には、最優先でキュー45−2の優先制御情報付きMACフレームを読み出すものとする。
多重処理部47は、キュー45−1〜45−9から出力された優先制御情報付きMACフレームを多重して多重処理部43に出力し、多重処理部43は、優先制御バッファ部42−0〜42−7の各多重処理部47から入力された優先制御情報付きMACフレームを多重して多重処理部41に出力し、多重処理部41は、VLAN制御バッファ部40−1〜40−10の各多重処理部43から入力された優先制御情報付きMACフレームの優先制御情報を削除して、第4図に示した優先制御付きMACフレームを第3図に示したMACフレームに戻したMACフレームを多重して、多重した出力MACフレームを対応する出力ポートPO1〜POmに出力する(ステップS270)。
このようにこの実施の形態2では、入力されたMACフレーム内のMACフレームヘッダ(レイヤ2制御情報)の宛先MACアドレスおよび送信元MACアドレスから、予め定められた優先端末に関するMACフレームを識別して、優先端末に関するMACフレームの場合には、このMACフレームを優先順位の高い最優先キューに振り分けて優先的に処理するようにしているので、予め定められている優先端末、たとえば、優先転送かつ最大転送速度の制限を保証するプレミアムサービスに加入しているユーザの加入者端末や、警察や病院、市役所等の公共サービスを提供するサーバ向通信およびこれら公共サービスを利用するユーザの加入者端末の通信をMACフレームのレベルで優先的に転送することが可能となり、イーサーネット(登録商標)におけるネットワーク上でのユーザに対するサービス性を向上させることができる。
なお、この実施の形態2では、MACフレームヘッダの宛先MACアドレスまたは送信元MACアドレスが優先端末のMACアドレスであるか否かを判定して、優先端末からのMACフレーム、または優先端末宛のMACフレームを優先的に処理するようにしたが、たとえば、宛先MACアドレスおよび送信元MACアドレスを一組として設定しておき、特定の加入者端末間の通信におけるMACフレームを優先的に処理するようにしてもよい。
また、この実施の形態2では、MACフレームヘッダの宛先MACアドレスまたは送信元MACアドレスを用いて優先端末に関するMACフレームを優先的に処理するようにしたが、たとえば、VLANタグのVLAN−IDを用いて、特定のVLAN−IDのMACフレームを優先的に処理するようにしてもよい。これにより、特定のVLANの加入者端末の通信を高速にすることができ、イーサーネット(登録商標)におけるネットワーク上でのユーザに対するサービス性を向上させることができる。
実施の形態3.
実施の形態2では、特定のMACアドレスを有するMACフレームを最優先キューに振り分けることで、特定の加入者端末の通信を高速化するようにした。この実施の形態3では、特定のIPアドレスを有するMACフレームを最優先キューに振り分けることで、レイヤ3ネットワークを介して接続される特定の加入者端末の通信を高速化するものである。
たとえば、先の第1図に示した加入者端末10−1および加入者端末10−5を優先端末とした場合、MACフレーム解析処理部22には、加入者端末10−1のIPアドレスと、加入者端末10−5のIPアドレスとが優先端末のIPアドレスとして予め設定されているものとする。また、優先制御情報付与部21には、キュー指定通知を受けた場合には、優先制御バッファ部42−0〜42−7のそれぞれの最低保証帯域として1Mbpsを保証する最優先キューであるキュー45−5使用し、VLAN優先通知を受けた場合、キュー45−1〜45−9のどのキューを使用するかのVLAN優先順位が、予め設定されているものとする。
MACフレーム解析処理部22は、第3図に示したMACフレームのIPヘッダの送信元IPアドレスまたは宛先IPアドレスが優先端末のIPアドレス(この場合は、加入者端末10−1または加入者端末10−5のIPアドレス)である場合にはキュー指定通知を、送信元IPアドレスまたは宛先IPアドレスが優先端末のIPアドレスではない場合にはVLAN優先通知を優先制御情報付与部21に出力する。
キュー指定通知を受けた場合、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、最優先キューとして予め設定されているキュー45−5を識別するためのキュー番号とを優先制御情報としてMACフレームの前に付加する。VLAN優先通知を受けた場合、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレームをL2スイッチ処理部3に出力する。
すなわち、上述した実施の形態2の宛先MACアドレスおよび送信元MACアドレスの代わりに、送信元IPアドレスおよび宛先IPアドレスを用いて優先端末に関するMACフレームを識別する。
このようにこの実施の形態3では、入力されたMACフレーム内のIPヘッダ(レイヤ3制御情報)の送信元IPアドレスおよび宛先IPアドレスから、予め定められた優先端末に関するMACフレームを識別して、優先端末に関するMACフレームの場合には、このMACフレームを優先順位の高い最優先キューに振り分けて優先的に処理するようにしているので、ルータを介するMACアドレスを認識することができないレイヤ3ネットワークにおいても、予め定められている優先端末、たとえば、優先転送かつ最大転送速度の制限を保証するプレミアムサービスに加入しているユーザの加入者端末や、警察や病院、市役所等の公共サービスを提供するサーバ向通信およびこれら公共サービスを利用するユーザの加入者端末の通信をMACフレームのレベルで優先的に転送することが可能となり、イーサーネット(登録商標)におけるネットワーク上でのユーザに対するサービス性を向上させることができる。
なお、この実施の形態3では、MACフレームヘッダの宛先IPアドレスまたは送信元IPアドレスを用いて優先端末に関するMACフレームを優先的に処理するようにしたが、たとえば、サービスタイプを用いて、特定のサービスタイプのMACフレームを優先的に処理するようにしてもよい。これにより、特定のサービスタイプの通信を高速にすることができ、イーサーネット(登録商標)におけるネットワーク上でのユーザに対するサービス性を向上させることができる。
実施の形態4.
実施の形態1〜3では、入力されたMACフレームのMACフレームヘッダ、IPヘッダ、またはTCPヘッダやUCPヘッダを解析して、特定のプロトコルのMACフレーム、または優先端末のMACフレームを最優先キューに振り分けて優先的に処理するようにした。この実施の形態4は、MACフレームのTCUヘッダの送信元ポート番号または宛先ポート番号を解析して、特定のプロトコルのMACフレームを優先的に処理するものである。
第9図を用いてこの発明の実施の形態4を説明する。この発明における実施の形態4のスイッチ装置が適用されるネットワークシステムおよびスイッチ装置は、第1図および第2図に示した実施の形態1のネットワークシステムおよびスイッチ装置1−1と同様のものとなるので、ここではその説明を省略する。
第9図のフローチャートを参照して、この発明における実施の形態4のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、well knownポートであるFTPデータ用ポート(初期値)のポート番号「20」と、FTP制御用ポート番号「21」と、wwwのHTTP用ポート番号「80」と、SIP用ポート(VoIP(Voice over Internet Protocol)の制御用)番号「5060」とが予め設定されているものとする。また、優先制御情報付与部21には、SIP用ポートのキュー指定通知を受けた場合には最優先キューであるキュー45−1を使用し、HTTP用ポートのキュー指定通知を受けた場合にはベストエフォートの中優先キューであるキュー45−8を使用し、FTPデータ用ポートおよびFTP制御用ポートのキュー指定通知を受けた場合には低優先キューであるキュー45−9を使用し、VLAN優先通知を受けた場合にはキュー45−1〜45−9のどのキューを使用するかのVLAN優先順位が、予め設定されているものとする。
入力ポートPI1〜PInからMACフレーム(第3図参照)が入力されると、入力ポートPI1〜PInに対応するMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、MACフレーム内の宛先ポート番号がFTPデータ用ポートのMACフレームであるか否かを判定する(ステップS300)。具体的には、宛先ポート番号の情報とFTPデータ用ポート番号「20」とを比較する。宛先ポート番号が「20」の場合、MACフレーム解析処理部22は、FTPデータ用ポート番号のキュー指定通知を優先制御情報付与部21に出力する(ステップS340)。
宛先ポート番号が「20」ではない場合、MACフレーム解析処理部22は、MACフレーム内の宛先ポート番号がFTP制御用ポートであるか否かを判定する(ステップS310)。具体的には、宛先ポート番号の情報とFTP制御用ポート番号「21」とを比較する。宛先ポート番号が「21」の場合、MACフレーム解析処理部22は、FTP制御用ポート番号のキュー指定通知を優先制御情報付与部21に出力する(ステップS340)。
宛先ポート番号が「21」ではない場合、MACフレーム解析処理部22は、MACフレーム内の宛先ポート番号がHTTP用ポートであるか否かを判定する(ステップS320)。具体的には、宛先ポート番号の情報とHTTP用ポート番号「80」とを比較する。宛先ポート番号が「80」の場合、MACフレーム解析処理部22は、HTTP用ポート番号のキュー指定通知を優先制御情報付与部21に出力する(ステップS340)。
宛先ポート番号が「80」ではない場合、MACフレーム解析処理部22は、MACフレーム内の宛先ポート番号がSIP用ポートであるか否かを判定する(ステップS330)。具体的には、宛先ポート番号の情報とSIP用ポート番号「5060」とを比較する。宛先ポート番号が「5060」の場合、MACフレーム解析処理部22は、SIP用ポート番号のキュー指定通知を優先制御情報付与部21に出力する(ステップS340)。
宛先ポート番号が「5060」でない場合、MACフレーム解析処理部22は、VLAN優先通知を優先制御情報付与部21に出力する(ステップS350)。すなわち、MACフレーム解析処理部22は、入力されたMACフレーム内の宛先ポート番号がFTPデータ用ポート、FTP制御用ポート、HTTP用ポート、またはSIP用ポートの場合にはそれぞれのポートに対応するキュー指定通知を優先制御情報付与部21に出力し、入力されたMACフレーム内の宛先ポート番号がFTPデータ用ポート、FTP制御用ポート、HTTP用ポート、またはSIP用ポートではない場合にはVLAN優先通知を優先制御情報付与部21に出力する。
優先制御情報付与部21は、キュー指定通知またはVLAN優先通知に基づいて決定したキューを示すキュー番号を優先制御情報としてMACフレームの前に付加する(ステップS360)。具体的には、FTPデータ用ポートまたはFTP制御用ポートのキュー指定通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、低優先キューであるキュー45−9を識別するキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。HTTP用ポートのキュー指定通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、中優先キューであるキュー45−8を識別するキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。SIP用ポートのキュー指定通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットと、最優先キューであるキュー45−1を識別するキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。VLAN優先通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレームをL2スイッチ処理部3に出力する。
L2スイッチ処理部3は、優先制御情報付きMACフレームの宛先MACアドレスに基づいて訪路を決定して、決定した訪路に優先制御情報付きMACフレームを出力する(ステップS370)。
フレーム振り分け処理部44は、L2スイッチ処理部3から入力された優先制御情報付きMACフレームの優先制御情報に基づいて優先制御情報付きMACフレームをキュー45−1〜45−9に出力する(ステップS380)。SIP用ポート宛のMACフレームには優先制御情報に最優先キューであるキュー45−1が設定されているのでキュー45−1に出力され、HTTP用ポート宛のMACフレームには優先制御情報にベストエフォートの中優先キューであるキュー45−8が設定されているのでキュー45−8に出力され、FTPデータ用ポート宛およびFTP制御用ポート宛のMACフレームには優先制御情報に低優先キューであるキュー45−9が設定されているのでキュー45−9に出力される。
出力キュー制御部46−1〜46−3は、予め定められた出力調停制御に基づいてキュー45−1〜45−9に蓄積されている優先制御情報付きMACフレームを読み出して、多重処理部47に出力する。
多重処理部47は、キュー45−1〜45−9から出力された優先制御情報付きMACフレームを多重して多重処理部43に出力し、多重処理部43は、優先制御バッファ部42−0〜42−7の各多重処理部47から入力された優先制御情報付きMACフレームを多重して多重処理部41に出力し、多重処理部41は、VLAN制御バッファ部40−1〜40−10の各多重処理部43から入力された優先制御情報付きMACフレームの優先制御情報を削除して、第4図に示した優先制御付きMACフレームを第3図に示したMACフレームに戻した出力MACフレームを多重して、多重した出力MACフレームを対応する出力ポートPO1〜POmに出力する(ステップS390)。
このようにこの実施の形態4では、入力されたMACフレーム内のTCPヘッダ(レイヤ4制御情報)の宛先ポート番号がFTPデータ用ポート、FTP制御用ポート、HTTP用ポート、またはSIP用ポートである場合には、予め定められている優先順位のキューに振り分けるようにしているので、TCPプロトコルの各ポート毎に予めわかっているサービス毎に対応した優先処理をフロー単位で行うことがでる。たとえば、FTPのように優先度が低くてもエラーなく転送されることが重要なフローと、VoIPのように遅延時間を最小限にすることが必要なサービスのフローとを区別して、それぞれのMACフレームに適した転送処理を行うことが可能となり、イーサーネット(登録商標)のネットワーク上でさまざまなアプリケーションを利用するユーザの加入者端末に対して、アプリケーションに適した転送処理を行ってサービス性を向上することができる。
なお、この実施の形態4では、TCPヘッダの宛先ポート番号を用いるようにしたが、これに限るものではなく、TCPヘッダの他の情報を用いてもよいし、UCPヘッダの情報を用いるようにしてもよい。
実施の形態5.
実施の形態1〜4では、MACフレームヘッダ、IPヘッダ、TCPヘッダ、またはUDPヘッダを解析して、特定のMACフレームを優先的に処理するようにした。この実施の形態5では、レイヤ5以上の情報を解析して特定のMACフレームを優先的に処理するものである。
第10図を用いてこの発明の実施の形態5を説明する。この発明における実施の形態5のスイッチ装置が適用されるネットワークシステムおよびスイッチ装置は、第1図および第2図に示した実施の形態1のネットワークシステムおよびスイッチ装置1−1と同様のものとなるので、ここではその説明を省略する。
この実施の形態5のスイッチ装置1−1〜1−8に入力されるMACフレームは、先の第3図に示したものと同様であるが、TCPまたはUCPヘッダの後のデータ内(レイヤ5以上の上位層)の予め定められた位置に優先コードの領域を設けておく。
第10図のフローチャートを参照して、この発明における実施の形態5のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、特定コード(ここでは、病院を示す「HOSPITAL_A」と緊急を示す「Emergency」)が設定されているものとする。また、優先制御情報付与部21には、キュー指定通知を受けた場合、VLAN優先ビット「7」の最優先キューであるキュー45−1を使用し、VLAN優先通知を受けた場合、キュー45−1〜45−9のどのキューを使用するかのVLAN優先順位が、予め設定されているものとする。
入力ポートPI1〜PInからMACフレーム(第3図参照)が入力されると、入力ポートPI1〜PInに対応するMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、MACフレームが特定コードを有するMACフレームであるか否かを判定する(ステップS400)。具体的には、MACフレームのプリアンブルによって同期検出を行った後に、ビット数またはバイト数をカウントして第3図に示したデータ内の予め定められた優先コードの情報を検出する。そして、検出した優先コードの情報が病院を示す特定コード「HOSPITAL_A」または緊急を示す特定コード「Emergency」であるかを判定する。優先コードが「HOSPITAL_A」または「Emergency」である場合には、MACフレーム解析処理部22は、キュー指定通知を優先制御情報付与部21に出力する(ステップS410)。
優先コードが「HOSPITAL_A」または「Emergency」ではない場合(優先コードが特定コードではない場合)、MACフレーム解析処理部22は、VLAN優先通知を優先制御情報付与部21に出力する(ステップS420)。すなわち、MACフレーム解析処理部22は、入力されたMACフレームが特定コードを有するMACフレームの場合にはキュー指定通知を優先制御情報付与部21に出力し、入力されたMACフレームが特定コードとは関係のないMACフレームの場合にはVLAN優先通知を優先制御情報付与部21に出力する。
優先制御情報付与部21は、キュー指定通知またはVLAN優先通知に基づいて決定したキューを示すキュー番号を優先制御情報としてMACフレームの前に付加する(ステップS430)。具体的には、キュー指定通知を受けると、優先制御情報付与部21は、VLAN優先ビット「7」とキュー45−1を識別するためのキュー番号とを優先制御情報としてMACフレームの前に付加する。VLAN優先通知を受けると、優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレームをL2スイッチ処理部3に出力する。
L2スイッチ処理部3は、MACフレームの宛先MACアドレスに基づいて訪路を決定して、決定した訪路に優先制御情報付きMACフレームを出力する。(ステップS440)。
フレーム振り分け処理部44は、L2スイッチ処理部3から入力された優先制御情報付きMACフレームの優先制御情報に基づいて優先制御情報付きMACフレームをキュー45−1〜45−9に出力する(ステップS450)。MACフレームのデータ内に「HOSPITAL_A」または「Emergency」を有するMACフレームの優先制御情報には「VLAN優先ビット「7」で、かつ最優先キューであるキュー45−1が設定されているので、優先制御バッファ部42−7のキュー45−1に出力される。
出力キュー制御部46−1〜46−3は、予め定められた出力調停制御に基づいてキュー45−1〜45−9に蓄積されている優先制御情報付きMACフレームを読み出して、多重処理部47に出力する。ここで、出力キュー制御部46−1〜46−3は、最優先キューであるキュー45−2に優先制御情報付きMACフレームが蓄積されている場合には、最優先でキュー45−2の優先制御情報付きMACフレームを読み出すものとする。
多重処理部47は、キュー45−1〜45−9から出力された優先制御情報付きMACフレームを多重して多重処理部43に出力し、多重処理部43は、優先制御バッファ部42−0〜42−7の各多重処理部47から入力された優先制御情報付きMACフレームを多重して多重処理部41に出力し、多重処理部41は、VLAN制御バッファ部40−1〜40−10の各多重処理部43から入力された優先制御情報付きMACフレームの優先制御情報を削除して、第4図に示した優先制御付きMACフレームを第3図に示したMACフレームに戻したMACフレームを多重して、多重した出力MACフレームを対応する出力ポートPO1〜POmに出力する(ステップS460)。
このようにこの実施の形態5では、入力されたMACフレーム内のアプリケーション情報部分であるデータ(レイヤ5以上の上位層)に優先コードの領域を設けて、この優先コードが予め定められた特定コードと一致する場合には、このMACフレームを優先順位の高い優先ビットの最優先キューに振り分けて優先的に処理するようにしているので、特定のアプリケーション、たとえば、緊急患者のレントゲン写真や生体データなどを転送する際にデータ内に特定コードを設定することで、転送時にMACフレームのレベルで優先的に転送することが可能となり、イーサーネット(登録商標)におけるネットワーク上でのユーザに対するサービス性を向上させることができる。
実施の形態6.
第11図および第12図を用いてこの発明の実施の形態5を説明する。この発明における実施の形態5のスイッチ装置が適用されるネットワークシステムは、第1図に示したネットワークシステムのスイッチ装置1−1〜1−8の代わりにスイッチ装置1a−1〜1a−8を備えている。
スイッチ装置1a−1〜1a−8はすべて同じ機能を備えている。第11図に示したスイッチ装置1a−1の構成を示すブロック図を参照してスイッチ装置の機能を説明する。
第11図に示したスイッチ装置1a−1は、第2図に示したスイッチ装置1−1に優先制御処理部5が追加されている。第2図に示したスイッチ装置1−1と同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。
MACフレーム解析処理部22は、入力されたMACフレーム内の送信元ポート番号または宛先ポート番号が予め定められたポート番号である場合に、キュー指定通知を優先制御情報付与部21に出力する機能に加えて、入力されたMACフレームがFTPコマンドシーケンスであるか否かを判定して、ポート番号を指定された場合には、そのMACフレーム内の送信元IPアドレスおよび宛先ポート番号を性能情報として優先制御処理部5に出力する機能を備えている。
優先制御処理部5は、MACフレーム処理部2−1〜2−nのそれぞれのMACフレーム解析処理部22から出力される性能情報を受けると、予め定められたキュー番号を性能情報に付加したキュー変更通知を優先制御情報付与部21に出力する。
つぎに、第12図のフローチャートを参照して、この発明における実施の形態6のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、well knownポートであるFTPデータ用ポート(初期値)のポート番号「20」と、FTP制御用ポート番号「21」とが予め設定されているものとする。また、優先制御情報付与部21には、キュー指定通知を受けた場合には低優先キューであるキュー45−9を使用し、VLAN優先通知を受けた場合にはキュー45−1〜45−9のどのキューを使用するかを示すVLAN優先順位が、予め設定されているものとする。さらに、優先制御処理部5には、性能情報を受けた場合、使用するキューを低優先キューであるキュー45−9に変更することが予め設定されているものとする。
入力ポートPI1〜PInからMACフレーム(第3図参照)が入力されると、入力ポートPI1〜PInに対応するMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、MACフレームの宛先ポート番号がFTPデータ用ポートまたはFTP制御用ポートであるか否かを判定する(ステップS500,S510)。具体的には、宛先ポート番号の情報が「20」または「21」であるか否かを判定する。宛先ポート番号が「20」または「21」である場合、MACフレーム解析処理部22は、キュー指定通知を優先制御情報付与部21に出力する(ステップS520)。
FTPプロトコルには、PASSIVモードまたはACTIVEモードにおいてデータ転送用の宛先ポート番号または送信元ポートを指定することができる。MACフレーム解析処理部22は、宛先ポート番号がFTPデータ用ポート番号またはFTP制御用ポート番号のMACフレームを検出するとFTPコマンドシーケンスであることを認識する。MACフレーム解析処理部22は、FTPコマンドシーケンス中に、送信元IPアドレスまたは宛先IPアドレスが、サーバのIPアドレスまたは加入者端末のIPアドレスであって、かつTCPヘッダの宛先ポート番号または送信元ポート番号がポート番号LであるMACフレームを判定する(ステップS530)。
ここで、サーバ9−1と加入者端末10−1とのFTPコマンドシーケンス中に、入力ポートPI1から加入者端末10−1からデータ転送用ポートとしてポート番号LのMACフレームが入力されたと仮定する。入力ポートPI1に対応するMACフレーム処理部2−1のMACフレーム解析処理部22は、送信元IPアドレスが加入者端末10−1のIPアドレスであって、かつ宛先IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先ポート番号のポート番号が「L」であるMACフレームを検出する。
MACフレーム処理部2−1のMACフレーム解析処理部22は、性能情報として検出したMACフレームの宛先IPアドレスおよびポート番号Lを優先制御処理部5に出力する(ステップS540)。
優先制御処理部5は、性能情報を受け取ると、予め定められている低優先キューであるキュー45−9のキュー番号を性能情報に付加したキュー変更通知を反対方向通信に使用する入力ポートに対応する優先制御情報付与部21に出力する(ステップS550)。スイッチ装置1a−1〜1a−8は、たとえば、出力ポートPO1から出力したMACフレームに対する応答のMACフレームは入力ポートPI2から入力されるというように予め対応する入力ポートと出力ポートとが設定されている。たとえば、サーバ9−1の宛先IPアドレスのMACフレームは出力ポートPO1に出力されるとすると、優先制御処理部5は、入力ポートPI2に対応するMACフレーム処理部2−2のMACフレーム解析処理部22に、送信元IPアドレスがサーバ9−1のIPアドレスであってかつ送信元ポート番号がポート番号LであるMACフレームを検出してキュー指定通知を出力するように通知する。また、優先制御処理部5は、MACフレーム処理部2−2の優先制御情報付与部21に、送信元IPアドレスがサーバ9−1のIPアドレスであってかつ送信元ポート番号がポート番号Lのキュー指定通知を受けた場合、低優先キューであるキュー45−9を使用することを通知するキュー変更通知を出力する。
一方、宛先ポート番号が「20」、「21」または「L」ではない場合には、MACフレーム解析処理部22は、VLAN優先通知を優先制御情報付与部21に出力する(ステップS560)。
優先制御情報付与部21は、キュー指定通知またはVLAN優先通知に基づいて決定したキューを示すキュー番号を優先制御情報としてMACフレームの前に付加する(ステップS570)。具体的には、MACフレーム処理部2−2の優先制御情報付与部21は、送信元IPアドレスがサーバ9−1のIPアドレスであってかつ送信元ポート番号がポート番号Lのキュー指定通知を受けた場合、キュー変更通知で指定されたキュー45−9のキュー番号を優先制御情報としてMACフレームの前に付加する。VLAN優先通知を受けると、MACフレーム処理部2−2の優先制御情報付与部21は、VLANタグが示すVLAN優先ビットおよび予め定められたVLAN優先順位に基づいてMACフレームを割り振るキューを決定して、VALNタグが示すVLAN優先ビットと、決定したキューを識別するためキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。優先制御情報付与部21は、優先制御情報付きMACフレームをL2スイッチ処理部3に出力する。
L2スイッチ処理部3は、MACフレームの宛先MACアドレスに基づいて優先制御情報付きMACフレームの訪路を決定する(ステップS580)。
フレーム振り分け処理部44は、L2スイッチ処理部3から入力された優先制御情報付きMACフレームの優先制御情報に基づいて優先制御情報付きMACフレームをキュー45−1〜45−9に出力する(ステップS590)。
多重処理部47は、キュー45−1〜45−9から出力された優先制御情報付きMACフレームを多重して多重処理部43に出力し、多重処理部43は、優先制御バッファ部42−0〜42−7の各多重処理部47から入力された優先制御情報付きMACフレームを多重して多重処理部41に出力し、多重処理部41は、VLAN制御バッファ部40−1〜40−10の各多重処理部43から入力された優先制御情報付きMACフレームの優先制御情報を削除して、第4図に示した優先制御付きMACフレームを第3図に示したMACフレームに戻した出力MACフレームを多重して、多重した出力MACフレームを対応する出力ポートPO1〜POmに出力する(ステップS600)。
このようにこの実施の形態6では、入力されたMACフレーム内のIPヘッダ(レイヤ3制御情報)の送信元IPアドレスおよび宛先IPアドレスと、TCPヘッダ(レイヤ4制御情報)の送信元ポート番号および宛先ポート番号とから、双方向通信の逆方向通信に用いられる入力ポートに入力されるMACフレームを推定して、推定した入力ポートから入力されるMACフレームを振り分けるキューを決定するようにしているので、ユーザ間の双方向通信のMACフレームのレベルで優先的に転送することが可能となり、イーサーネット(登録商標)のネットワーク上でのユーザに対するサービス性を向上させることができる。
実施の形態7.
第13図および第14図を用いてこの発明の実施の形態7を説明する。この発明における実施の形態5のスイッチ装置が適用されるネットワークシステムは、第1図に示したネットワークシステムのスイッチ装置1−1〜1−8の代わりにスイッチ装置1b−1〜1b−8を備えている。
スイッチ装置1b−1〜1b−8は全て同じ機能を備えている。第13図に示したスイッチ装置1b−1の構成を示すブロック図を参照してスイッチ装置の機能を説明する。スイッチ装置1b−1は、第11図に示したスイッチ装置1a−1の出力ポート処理部4−1〜4−mの代わりに出力ポート処理部4a−1〜4a−mを、優先制御処理部5の代わりに優先制御処理部5aを備えている。
出力ポート処理部4a−1〜4a−mは全て同じ機能を備えている。第14図に示した出力ポート処理部4a−1の構成を示すブロック図を参照して出力ポート処理部の機能を説明する。第14図に示した出力ポート処理部4a−1は、第5図に示した出力ポート処理部4−1に性能情報測定部48が追加されている。第5図に示した出力ポート処理部4−1と同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力される予め定められた宛先IPアドレスを有する優先制御情報付きMACフレームのトラフィックを監視して、トラフィックが閾値を超えた場合には、IPアドレスを含む超過性能情報を優先制御処理部5aに出力する。また、超過性能情報を出力した後の一定時間の間、予め定められた宛先IPアドレスを有する優先制御情報付きMACフレームのトラフィックが閾値よりも小さい場合には、IPアドレスを含む低下性能情報を優先制御処理部5aに出力する。
第11図に戻って、MACフレーム解析処理部22は、入力されたMACフレーム内の送信元IPアドレスおよび宛先IPアドレスが予め定められたIPアドレスである場合に、キュー指定通知を優先制御情報付与部21に出力する機能に加えて、入力されたMACフレーム内の宛先IPアドレスが予め定められたIPアドレスであるMACフレーム(予め定められたIPアドレス宛のMACフレーム)をカウントする機能を更に備えている。
優先制御処理部5aは、出力ポート処理部4a−1〜4a−mの性能情報測定部48からの超過性能情報、およびMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22のカウント値に基づいて、トラフィックを超えたIPアドレス宛に最も多くMACフレームを入力しているMACフレーム処理部の優先制御情報付与部21に対して、現在使用しているキューよりも優先順位の低いキューのキュー番号を設定するキュー変更通知を出力する。また、優先制御処理部5aは、出力ポート処理部4a−1〜4a−mの性能情報測定部48からの低下性能情報に基づいて、優先順位の低いキュー番号を設定するキュー変更通知を出力した優先制御情報付与部21に対して、変更前のキューのキュー番号を設定するキュー変更通知を出力する。
つぎに、加入者端末10−1、10−2とサーバ9−1との通信を例に挙げて、この発明における実施の形態7のスイッチ装置の動作を説明する。なお、MACフレーム解析処理部22には、優先通信端末である加入者端末10−1およびサーバ9−1のIPアドレスが予め設定されているものとする。また、優先制御情報付与部21には、加入者端末10−1からサーバ9−1へのMACフレーム(IPヘッダの送信元アドレスが加入者端末10−1のIPアドレスであって、かつ宛先IPアドレスがサーバ9−1のIPアドレスであるMACフレーム)はVLAN優先ビット「7」の最大5Mbpsのピーク・カット・オフのキューである優先制御バッファ部42−7のキュー45−2を使用し、サーバ9−1から加入者端末10−1へのMACフレーム(IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先IPアドレスが加入者端末10−1のIPアドレスであるMACフレーム)はVLAN優先ビット「7」の最低保証帯域でかつシーピングの4Mbpsを保証するキューである優先制御バッファ部42−7のキュー45−6を使用することが設定されているものとする。また、優先制御処理部5には、超過性能情報を受けた場合、VLAN優先ビットが「0」の最低保証帯域でかつシーピングの4Mbpsを保証するキューである優先制御バッファ部42−0のキュー45−6を使用することが設定されているものとする。
なお、入力されたMACフレームのIPヘッダの送信元IPアドレスが加入者端末10−1のIPアドレスで、かつ宛先IPアドレスがサーバ9−1のIPアドレスである場合に、VLAN優先ビット「7」とキュー45−2のキュー番号とを優先制御情報として付加し、IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先IPアドレスが加入者端末10−1のIPアドレスである場合に、VLAN優先ビット「7」とキュー45−6のキュー番号とを優先制御情報としてMACフレームヘッダの前に付加して優先処理を行う動作は、IPヘッダを解析して優先処理を行う実施の形態3の動作と同じであるので、ここでは優先制御処理部5に関わる動作のみを説明する。
MACフレーム解析処理部22は、入力されたMACフレームが加入者端末10−1からサーバ9−1へのMACフレーム、すなわちIPヘッダの送信元IPアドレスが加入者端末10−1のIPアドレスであってかつ宛先IPアドレスがサーバ9−1である場合には内部のカウンタをカウントアップする。たとえば、加入者端末10−1が入力ポートPI1を、加入者端末10−2が入力ポートPI2を使用している場合、MACフレーム処理部2−1およびMACフレーム処理部2−2のMACフレーム解析処理部22は、MACフレーム内のIPヘッダの宛先アドレスがサーバ9−1のIPアドレスであるMACフレームの数をカウントする。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の各キュー45−1〜45−9に入力される優先制御情報付きMACフレームの中でサーバ9−1への優先制御情報付きMACフレーム、すなわち宛先IPアドレスがサーバ9−1のIPアドレスであるMACフレームのバイト数をカウントして、トラフィックを監視する。性能情報測定部48は、カウント値が閾値を超えた場合、サーバ9−1のIPアドレスを含む超過性能情報を優先制御処理部5aに出力する。たとえば、サーバ9−1が出力ポートPO1を使用している場合、出力ポート処理部4a−1の性能情報測定部48が、優先制御情報付きMACフレームのTCPヘッダの宛先IPアドレスがサーバ9−1のIPアドレである情報制御情報付きMACフレームのバイト数をカウントする。そして、カウント値が閾値を超えた場合、性能情報測定部48は、優先情報処理部5aに超過性能情報を出力する。
出力ポート処理部4a−1〜4a−mの性能情報測定部48から超過性能情報を受けると、優先制御処理部5aは、MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22の超過性能情報に含まれるIPアドレスに対応するカウント値を読み出す。ここでは、出力ポート処理部4−1の性能情報測定部48からサーバ9−1のIPアドレスを含む超過性能情報を受けている。優先制御処理部5aは、MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22のサーバ9−1宛MACフレームのカウント値を読み出す。
優先制御処理部5aは、カウント値が最大であるMACフレーム処理部の優先制御情報付与部21に、現在使用しているキューよりも優先順位の低いキューのキュー番号を設定するキュー変更通知を出力する。たとえば、加入者端末10−1の方が加入者端末10−2よりも多くの通信を行っている場合、MACフレーム処理部2−1のMACフレーム解析処理部22のカウント値の方が、MACフレーム処理部2−2のMACフレーム解析処理部22のカウント値よりも大きくなっている。したがって、優先制御処理部5aは、MACフレーム処理部2−1の優先制御情報付与部21に送信元IPアドレスが加入者端末10−1のIPアドレスであって、かつ宛先アドレスがサーバ9−1のIPアドレスのMACフレームは、VLAN優先ビットが「0」の最低保証帯域でかつシーピングの4Mbpsを保証するキューである優先制御バッファ部42−0のキュー45−6を使用するようにキュー変更通知を出力する。
キュー変更通知を受けると、優先制御情報付与部21は、IPヘッダの送信元IPアドレスが加入者端末10−1のIPアドレスであって、かつ宛先IPアドレスがサーバ9−1のIPアドレスであるMACフレームには、VLAN優先ビットが「0」と、キュー45−6を識別するためのキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。すなわち、優先制御情報のVLAN優先ビットを「7」から「0」に変更する。
これにより、加入者端末10−1からサーバ9−1への通信のMACフレームの優先順位が低くなり、サーバ9−1へのトラフィックを抑制することができる。
一方、出力ポート処理部4a−1の性能情報測定部48は、超過性能情報を出力した後も、サーバ9−1へのMACフレームのバイト数をカウントしてトラフィックを監視している。出力ポート処理部4−1の性能情報測定部48は、超過性能情報を出力した後の一定時間の間、予め定められた宛先IPアドレスを有する優先制御情報付きMACフレームのトラフィックが閾値よりも小さい場合には、IPアドレスを含む低下性能情報を優先制御処理部5aに出力する。すなわち、超過性能情報を出力した後の一定時間の間、サーバ9−1宛のMACフレームのバイト数をカウント値が閾値より小さい場合、サーバ9−1のIPアドレスを含む低下性能情報を優先制御処理部5aに出力する。
低下性能情報を受けると、優先制御処理部5aは、低下性能情報に含まれているIPアドレス宛のMACフレームの使用キューを変更したMACフレーム処理部の優先制御情報付与部21に対して、変更する前のキューのキュー番号を設定するキュー変更通知を出力する。ここでは、MACフレーム処理部2−1の優先制御情報付与部21に、送信元IPアドレスが加入者端末10−1のIPアドレスであってかつ宛先アドレスがサーバ9−1のIPアドレスのキュー指定通知を受けた場合、VLAN優先ビットが「7」の最低保証帯域でかつシーピングの4Mbpsを保証するキューである優先制御バッファ部42−7のキュー45−6を使用するようにキュー変更通知を出力する。
以後、MACフレーム処理部2−1の優先制御情報付与部21は、IPヘッダの送信元IPアドレスが加入者端末10−1のIPアドレスであってかつ宛先IPアドレスがサーバ9−1のIPアドレスのキュー指定通知を受けると、VLAN優先ビットが「7」と、キュー45−6を識別するためのキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。すなわち、優先制御情報のVLAN優先ビットを「0」から「7」に変更する。
これにより、加入者端末10−1からサーバ9−1への通信のMACフレームの優先順位が高くなり、最初に設定されていた優先順位で処理される。
このようにこの実施の形態7では、MACフレーム内のIPヘッダ(レイヤ3制御情報)の宛先IPアドレスによって予め定められた宛先IPアドレスへのトラフィックを監視して、トラフィックが予め定められた閾値を超えた場合には、トラフィックの多くを占めている送信元からのMACフレームの処理の優先順位を下げるようにしているので、安定した通信を行うことができ、イーサーネット(登録商標)のネットワーク上でのユーザに対するサービス性を向上させることができる。
なお、この実施の形態7では、IPヘッダの宛先アドレスおよび送信元IPアドレスを用いるようにしたが、IPヘッダのサービスタイプを用いて、特定のサービスタイプのMACフレームのトラフィックを監視して、トラフィックを制御するようにしてもよい。
実施の形態8.
実施の形態6では、MACフレーム内のIPヘッダの送信元IPアドレスおよび宛先IPアドレスと、TCPヘッダの送信元ポート番号および宛先ポート番号とから、双方向通信に用いられる逆方向通信に用いられる入力ポートに入力されるMACフレームを推定した。この実施の形態8は、MACフレームヘッダの宛先MACアドレスおよびIGMPフレームのタイプ、IPヘッダの宛先IPアドレスおよびIGMPフレームのタイプから双方向通信に用いられる逆方向通信に用いられる入力ポートに入力されるMACフレームを推定して、優先制御を行うものである。
この発明における実施の形態6のスイッチ装置が適用されるネットワークシステムおよびスイッチ装置は、実施の形態6と同様のものとなるので、ここではその説明を省略する。
なお、この発明における実施の形態8では、第1図のルータ7−3をマルチキャストルータとし、加入者端末10−1をIGMP(Internet Group Multicast Protocol,RFC2236)のクライアント端末とし、第15図に示すIGMPパケット、または第16図に示すRTPパケットのMACフレームがスイッチ装置に入力されるものとする。
また、MACフレーム解析処理部22には、マルチキャストグループへの参加問い合わせのMACフレームを識別するためのMACアドレスとしてMC_MAC(01.00.xx.xx.xx.xx)とIGMPフレームのタイプ「0x11」、マルチキャストグループへの参加のMACフレームを識別するためのIGMPフレームのタイプ「0x12」、マルチキャストグループからの離脱のMACフレームを識別するためのIGMPフレームのタイプ「0x13」が予め設定されているものとする。
さらに、優先制御情報付与部21には、IGMPパケットのキュー指定通知を受けた場合には最優先キューであるキュー45を使用することが予め設定されているものとする。
なお、MACフレーム解析処理部22がマルチキャストグループへの参加問い合わせ、マルチキャストグループへの参加、マルチキャストグループからの離脱のMACフレームを検出してキュー指定通知を優先制御情報付与部21に出力して、優先制御情報付与部21が、VLAN優先ビットとキュー45のキュー番号とを優先制御情報として付加して優先処理を行う動作は、実施の形態6と同じ動作であるので、ここでは優先制御処理部5に関わる動作のみを説明する。
網側の入力ポート(ルータ7−3からのMACフレームが入力されるポートであり、ここでは、入力ポートPI1とする)からMACフレームが入力されると、入力ポートPI1に対応するMACフレーム処理部2−1のMACフレーム解析処理部22は、MACフレームヘッダの宛先MACアドレスがMC_MAC(01.00.xx.xx.xx.xx)であって、かつIGMPフレームのタイプが「0x11」であるかを判定する。すなわち、MACフレーム処理部2−1のMACフレーム解析処理部22は、マルチキャストグループへの参加問い合わせのMACフレームを検出する。マルチキャストグループへの参加問い合わせのMACフレームを検出した場合、MACフレーム処理部2−1のMACフレーム解析処理部22は、優先制御情報付与部21にキュー指定通知を出力するとともに、優先制御処理部5に、UCPヘッダの宛先IPアドレス(マルチキャストのグループアドレス)である性能情報を優先制御処理部5に通知する。
優先制御処理部5は、網側の入力ポートであるMACフレーム処理部2−1のMACフレーム解析処理部22から通知された宛先IPアドレス(IP_Multi A)を加入者端末10−1側の入力ポート(ここでは、入力ポートPI2とする)に対応するMACフレーム処理部2−2のMACフレーム解析処理部22に通知する。
MACフレーム処理部2−2のMACフレーム解析処理部22は、入力されたMACフレームのIPヘッダの送信元IPアドレスが通知されたIPアドレス(IP_Multi_A)であって、かつIGMPパケットのタイプが「0x12」であるか否かを判定する。すなわち、マルチキャストグループへの参加のMACフレームを検出する。マルチキャストグループへの参加のMACフレームを検出した場合、MACフレーム処理部2−2のMACフレーム解析処理部22は、キュー指定通知を優先制御情報付与部21に出力するとともに、自ポート(この場合は入力ポートPI2)宛の送信先IPアドレス(IP_Multi_A)であってかつRTPパケットのMACフレーム(映像配信のパケット)が送信されてくることを優先制御処理部5に通知する。
RTPパケットのMACフレームが送信されてくる通知を受けると、優先制御処理部5は、網側の入力ポートに対応するMACフレーム処理部2−1の優先制御情報付与部21に、RTPパケットのキュー指定通知を受けた場合には4Mbpsのシーピング機能付優先キューであるキュー45−2を使用ようにキュー変更通知を出力する。ここでは、4MbpsのMPEG2のRTPパケットを想定している。
MACフレーム処理部2−1のMACフレーム解析処理部22は、UDPヘッダの宛先IPアドレスがIP_Multi_AのRTPパケットのMACフレームを検出するとRTPパケットのキュー指定通知を優先制御情報付与部21に出力する。
RTPパケットのキュー指定通知を受けると、MACフレーム処理部2−1の優先制御情報付与部21は、RTPパケットのMACフレームのVLANタグの示すVLAN優先ビットとキュー45−2を識別するためのキュー番号とを優先識別情報としてMACフレームヘッダの前に付加する。
このようにこの実施の形態8では、入力されたMACフレームのIPヘッダ(レイヤ2制御情報)およびIGMPパケットまたはRTPパケット(レイヤ5制御情報)から、双方向通信に用いられる逆方向通信に用いられる入力ポートに入力されるMACフレームを推定して、推定した入力ポートから入力されるMACフレームを振り分けるキューを決定するようにしているので、MACフレームに適したキューを使用してスムーズな通信を保証することが可能となり、イーサーネット(登録商標)のネットワーク上でのユーザに対するサービス性を向上することができる。
なお、IPヘッダの送信元IPアドレスまたは宛先IPアドレスと、IGMPパケットのタイプとを用いてキュー指定通知を出力するようにしたが、MACフレームの他の情報を用いるようにしてもよい。
また、この実施の形態8では、マルチキャストとしてIGMPフレームを解析するようにしたが、IGMPフレームに限るものではなく、他のプロトコルであってもかまわない。
実施の形態9.
この発明における実施の形態9のスイッチ装置が適用されるネットワークおよびスイッチ装置の構成は、実施の形態7と同様のものとなるので、ここではその説明を省略する。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームの中で、送信元アドレスが予め定められたIPアドレスであって、かつUDPの送信元ポート番号が予め定められたポート番号であるMACフレームを加入者端末毎に測定する。
優先制御処理部5aは、送信元IPアドレスおよび宛先IPアドレスが予め定められたIPアドレスのMACフレームのアプリケーションの種類を解析することを指示する検出通知をMACフレーム解析処理部22に出力するとともに、MACフレーム解析処理部22からの解析結果に基づいて、アプリケーションが要求する通信品質を判定して、使用するキューを決定する。
この実施の形態9では、サーバ9−1から同一のサービス、たとえば、加入者端末10−1と加入者端末10−2とにライブ中継などの同時刻に同一のデータを転送し、加入者端末10−6はライブ中継のサービスを受けていない場合に加入者端末10−1を収容しているスイッチ装置1b−3、加入者端末10−2を収容しているスイッチ装置1b−4、および加入者端末10−6を収容してスイッチ装置1b−9を収容するスイッチ装置1b−1の動作を説明する。
サーバ9−1から送信されるライブ中継のデータはUDPプロトコルの送信元ポート番号として「NN」が使用されているものとする。また、MACフレーム解析処理部22および優先制御処理部5には、予めサーバ9−1のIPアドレスと、ポート番号「NN]とが設定されているものとする。さらに、優先制御情報付与部21には、サーバ9−1からのライブ中継サービスのMACフレームであるキュー指定通知を受けた場合は最低保証帯域5Mbpsであってかつシェーピングの優先キューであるキュー45−6を使用することが設定されているものとする。性能情報測定部48には、各種トラフィックの特性、たとえば、well knownポートを指定してVoIPのように使用するアプリケーションによって実時間性を要求するものや、FTPやHTTPのように実時間性を要求しないもの、映像配信のように常にトラフィックが一定のレートで流れるものなどが指定されているものとする。
なお、MACフレーム解析処理部22が、IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつUDPヘッダの送信元ポート番号が「NN」のMACフレームを検出してキュー指定通知を出力し、優先制御情報付与部21がMACフレームヘッダの前に優先制御情報を付加して、優先制御情報に基づいて優先処理を行う動作、すなわちMACフレームを解析して優先処理を行う動作は、実施の形態1〜5と同じ動作であるので、ここでは優先制御処理部5に関する動作のみを説明する。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームの中で、送信元アドレスがサーバ9−1のIPアドレスであって、かつUDPの送信元ポート番号が「NN」であるMACフレーム(サーバ9−1からのMACフレーム)を加入者端末毎(この場合は、加入者端末10−1,10−2)に測定する。性能情報測定部48は、加入者端末10−1および加入者端末10−2へのMACフレームの平均転送レートが、予め定められている値(この場合は、5Mbps)に達していないことを検出すると、優先制御処理部5に性能情報を通知する。
性能情報を受けると、優先制御処理部5は、サーバ9−1から加入者端末10−6へのMACフレームを解析することを指示する検出通知をMACフレーム処理部2−1〜2−nのMACフレーム解析処理部22に出力する。すなわち、IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先IPアドレスが加入者端末10−6のIPアドレスであるMACフレームが、どのようなMACフレームであるのかを解析するように通知する。
MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、入力されたMACフレームのIPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先IPアドレスが加入者端末10−6のIPアドレスであるMACフレームの宛先ポート番号が「20」または「21」であればFTPのMACフレームであり、宛先ポート番号が「80」であればHTTPのMACフレームであり、宛先ポート番号が「5060」であればVoIPのMACフレームであるというように、MACフレーム内の情報からMACフレームがどのようなプロトコルのMACフレームであるかを解析して優先制御処理部5に通知する。
MACフレーム解析処理部22からの解析結果に基づいて、優先制御処理部5は、たとえば、サーバ9−1から加入者端末10−6へのMACフレームが、FTPように実時間性を要求されないMACフレームである場合、このFTPのMACフレームが割り振られる優先制御バッファ部が、サーバ9−1から加入者端末10−1または加入者端末10−2へのライブ中継サービスに用いているMACフレームが振り分けられる優先制御バッファ部よりも優先度が高くなっていないかを判定する。サーバ9−1から加入者端末10−6へのFTPのMACフレームの優先度が、サーバ9−1から加入者端末10−1または加入者端末10−2へのMACフレームの優先度よりも高くなっている場合には、優先制御処理部5は、サーバ9−1から加入者端末10−6へのFTPのMACフレームの優先度をサーバ9−1から加入者端末10−1または加入者端末10−2へのMACフレームの優先度より小さくするようにする。たとえば、優先制御処理部5は、FTPのキュー指定通知を受けた場合、1Mbpsのピーク・カット・オフであるキュー45−5を使用するように優先制御情報付与部21に通知するとともに、入力されたMACフレームがサーバ9−1から加入者端末10−6へのFTPのMACフレーム(IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつ宛先IPアドレスが加入者端末10−6のIPアドレスであって、かつ送信元ポート番号または宛先ポート番号が「20」または「21」のMACフレーム)の場合、FTPのキュー指定通知を出力するようにMACフレーム解析処理部22に通知する。
これによりサーバ9−1から加入者端末10−6へのFTPのMACフレームが割り振られるキューが、サーバ9−1から加入者端末10−1または加入者端末10−2へのライブ中継のMACフレームが割り振られる優先度よりも低くなり、サーバ9−1から加入者端末10−1または加入者端末10−2へのライブ中継のMACフレームが優先的に処理されて転送レートが高くなる。
一方、性能情報測定部48は、平均転送レートが5Mbpsに達していないことを通知する性能通知を出力した後も、IPヘッダの送信元IPアドレスがサーバ9−1であって、かつUDPヘッダの送信元ポートが「NN]であるMACフレームを加入者端末ごとに測定している。一定時間が経過した後もサーバ9−1から加入者端末10−1または加入者端末10−2へのMACフレームの平均転送レートが、5Mbpsに達していない場合には、さらに平均転送レートが5Mbpsに達していないことを通知する性能通知を優先制御処理部5に出力し、優先制御処理部5は、たとえば、HTTPのように実時間性を要求されないアプリケーションのMACフレームをMACフレーム解析処理部22に解析させて、その解析結果に基づいて使用するキューを変更する動作を繰り返す。
このようにこの実施の形態9では、MACフレーム内のIPヘッダ(レイヤ2制御情報)およびUDPヘッダ(レイヤ3制御情報)から、MACフレームのアプリケーションの要求する通信品質を識別して、指定された実時間性の要求されるMACフレームの転送レートを低下させているMACフレームを割り振るキューの優先度を下げるようにしているので、指定された実時間性の要求される通信のMACフレームを一定の転送レートで送信することができ、サービス品質を損なうことなく、イーサーネット(登録商標)のネットワーク上でのユーザに対する同一サービスに対する公平性を向上することができる。
なお、この実施の形態9では、well knownポートを使用してアプリケーションが要求する通信品質を判定するようにしたが、well knwonポートに限るものではなく、MACフレームヘッダの送信元MACアドレスや宛先MACアドレス、またはIPヘッダ内の送信元IPアドレスや宛先IPアドレスなどで通信品質を判定してもよいし、ネットワークに接続されている上位の監視装置と通信を行って通信品質を判定するようにしてもよい。
実施の形態10.
この発明における実施の形態9のスイッチ装置が適用されるネットワークおよびスイッチ装置の構成は、実施の形態7と同様のものとなるので、ここではその説明を省略する。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームの中で、宛先アドレスが予め定められたIPアドレスであって、かつTCPヘッダの送信元ポート番号が予め定められたポート番号であるMACフレームをIPヘッダの送信元IPアドレス毎に測定する。
優先制御処理部5aは、性能情報測定部48によって通知される送信元IPアドレスを有するMACフレームが入力される入力ポートのMACフレームのアプリケーションの種類を解析するようにMACフレーム解析処理部22に通知するとともに、MACフレーム解析処理部22からの解析結果に基づいてアプリケーションが要求する通信品質を判定して、使用するキューを決定する。
この実施の形態10では、サーバ9−1からの同一サービスを受けている加入者端末10−1,10−2,10−6がそれぞれサーバ9−1と双方向通信を行っている場合に、スイッチ装置1b−1が加入者端末10−6を収容しているポートに加入者端末10−6とは別の加入者端末(図示せず)が収容されており、この別の加入者端末のトラフィックが多く、加入者端末10−1,10−2の通信量と比較して、加入者端末10−6の通信量が低くなっている場合のスイッチ装置1b−1の動作について説明する。
サーバ9−1からの加入者端末10−1,10−2,10−6への同一サービスのMACフレームは、UDPプロトコルの送信元ポート番号として「NN」が使用されているものとする。また、MACフレーム解析処理部22および優先制御処理部5には、予めサーバ9−1のIPアドレスと、ポート番号「NN]とが設定されているものとする。さらに、優先制御情報付与部21には、サーバ9−1からのサービスのMACフレームであるキュー指定通知を受けた場合はVLAN優先ビットが「5」のベストエフォートの優先キューであるキュー45−1を使用することが設定されているものとする。性能情報測定部48には、各種トラフィックの特性、たとえば、well knownポートを指定してVoIPのように使用するアプリケーションによって実時間性を要求するものや、FTPやHTTPのように実時間性を要求しないもの、映像配信のように常にトラフィックが一定のレートで流れるものなどが指定されているものとする。
なお、MACフレーム解析処理部22が、IPヘッダの送信元IPアドレスがサーバ9−1のIPアドレスであって、かつTCPヘッダの送信元ポート番号が「NN」のMACフレームを検出してキュー指定通知を出力し、優先制御情報付与部21がMACフレームヘッダの前にVLAN優先ビットが「5」とキュー45−1のキュー番号とを優先制御情報としてMACフレームヘッダの前に付加して、優先制御情報に基づいて優先処理を行う動作は、すなわち、MACフレームを解析して優先制御を行う動作は、実施の形態1〜5と同じ動作であるので、ここでは優先制御処理部5aに関する動作のみを説明する。
性能情報測定部48は、VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームの中で、宛先アドレスがサーバ9−1のIPアドレスであって、かつTCPヘッダの送信元ポート番号が「NN」であるMACフレーム(サーバ9−1からのMACフレーム)をIPヘッダの送信元IPアドレス毎に測定する。性能情報測定部48は、測定結果から、加入者端末10−1からサーバ9−1へのMACフレーム(送信元IPアドレスが加入者端末10−1のIPアドレスであるMACフレーム)、加入者端末10−2からサーバ9−1へのMACフレーム(送信元IPアドレスが加入者端末10−2のIPアドレスであるMACフレーム)または加入者端末10−6からサーバ9−1へのMACフレーム(送信元IPアドレスが加入者端末10−6のIPアドレスであるMACフレーム)の平均転送レートが、予め定められている値に達していないことを検出すると、優先制御処理部5に性能情報を通知する。ここでは、加入者端末10−6からサーバ9−1へのMACフレームの平均転送レートが、予め定められている値に達していないことを検出して、優先制御処理部5aに性能情報を通知する。
優先制御処理部5aは、加入者端末10−6からサーバ9−1へのMACフレームが入力される入力ポート(ここでは、入力ポートPI1とする)に対応するMACフレーム処理部2−1のMACフレーム解析処理部22に、MACフレームを解析するように通知する。
MACフレーム処理部2−1のMACフレーム解析処理部22は、入力されるMACフレームがどのようなアプリケーションのMACフレームであるかを解析する。たとえば、MACフレームのTCPヘッダの送信元ポート番号または宛先ポート番号が「20」または「21」であればFTPのMACフレームであり、宛先ポート番号が「80」であればHTTPのMACフレームであり、宛先ポート番号が「5060」であればVoIPのMACフレームであるというように、MACフレーム内の情報からMACフレームがどのようなプロトコルのMACフレームであるかを解析して、そのMACフレームの送信元IPアドレスと解析結果とを優先制御処理部5aに通知する。
優先制御処理部5aは、たとえば、FTPやHTTPのように実時間性を要求されないMACフレームを最も多く送信している送信元IPアドレスのMACフレームを現在使用しているキューよりも優先度を低くするように決定する。たとえば、FTPやHTTPのように実時間性を要求されないMACフレームを最も多く送信している送信元IPアドレスのMACフレームを5Mbpsのピーク・カット・オフのキュー45−6を使用することを決定する。そして、優先制御処理部5aは、FTPのキュー指定通知を受けた場合、キュー45−6のキューを使用することをMACフレーム処理部2−1の優先制御情報付与部21に設定するとともに、送信元IPアドレスが決定した送信元IPアドレスであって、かつ送信元ポート番号または宛先ポート番号が「20」または「21」であるMACフレームの場合、FTPのキュー指定通知を出力するようにMACフレーム処理部2−1のMACフレーム解析処理部22に通知する。
これにより加入者端末10−6と同じ入力ポートPI1を使用している他の加入者端末のMACフレームの優先度を低くして、加入者端末10−6のMACフレームは優先的に処理される。
一方、性能情報測定部48は、平均転送レートが予め定められた値に達していないことを通知する性能通知を出力した後も、宛先IPアドレスがサーバ9−1のIPアドレスであって、かつ送信元ポート番号が「NN]であるMACフレームを送信元IPアドレス毎に測定している。一定時間が経過した後も、加入者端末10−1、10−2、10−6からサーバ9−1へのMACフレームの平均転送レートが、予め定められた値に達しない場合には、性能通知を、優先制御処理部5に出力し、優先制御処理部5aは、たとえば、HTTPのように実時間性を要求されないアプリケーションのMACフレームをMACフレーム解析処理部22に解析させて、その解析結果に基づいて使用するキューを変更する動作を繰り返す。
このようにこの実施の形態10では、同一入力ポートから入力されるMACフレーム内のIPヘッダ(レイヤ2制御情報)の宛先IPアドレスおよび送信元IPアドレスと、TCPヘッダ(レイヤ3制御情報)の送信元ポート番号とから、同一サービスに対するフローの性能情報を監視して、平均転送レートが予め定められた値より低下した場合には、平均転送レートが低下したMACフレームが入力される入力ポートの全てのMACフレームを解析して、アプリケーションが要求する通信品質に基づいて優先制御を行うようにしているので、サービス品質を損なうことなく、実時間性の要求の高いMACフレームの転送を優先することができ、イーサーネット(登録商標)のネットワーク上でのユーザに対するサービスの公平性を向上することができる。
なお、この実施の形態10では、Well knownポートを使用してアプリケーションの要求する通信品質を判定するようにしたが、well knownポートに限るものではなく、MACフレームヘッダの送信元MACアドレスや宛先MACアドレス、またはIPヘッダ内の送信元IPアドレスや宛先IPアドレスなどで通信品質を判定してもよいし、ネットワークに接続されている上位の監視装置と通信を行って通信品質を判定するようにしてもよい。
実施の形態11.
この発明における実施の形態9のスイッチ装置が適用されるネットワークおよびスイッチ装置の構成は、実施の形態7と同様のものとなるので、ここではその説明を省略する。
性能情報測定部48は、一定時間内に(単位時間)VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームのIPヘッダの宛先IPアドレス毎に、異なる送信元IPアドレスを有するMACフレームの数を監視する。
優先制御処理部5aは、性能情報測定部48の監視結果に基づいて、特定の宛先IPアドレスへのMACフレームを振り分けるキューの優先度を、現在使用している優先度より低いものに変更することを決定する。
この実施の形態11では、サーバ9−1の同一サービスを受けている多数の加入者端末がそれぞれサーバ9−1と双方向通信を行っている場合に、DDoS(Distributed Denial Of Service)攻撃などによって長時間に渡ってサーバ9−1の通信が過負荷になった場合のスイッチ装置1b−1の動作を説明する。
なお、性能情報測定部48には、同一の宛先IPアドレスに対して単位時間あたりアクセス可能な加入者端末の台数である閾値Mと、同一の宛先IPアドレスに対して単位時間あたりの加入者端末の台数が閾値Mを超えた状態が継続可能な時間である閾値Nとが、予め設定されているものとする。
MACフレーム解析処理部22が、MACフレームの所定の情報に基づいてMACフレームを解析してキュー指定通知またはVLAN優先通知を出力して、優先制御情報付与部21が、キュー指定通知またはVLAN優先通知に基づいて優先制御情報をMACフレームヘッダの前に付加して、優先制御情報に基づいて優先処理を行う動作、すなわち、MACフレームを解析して優先処理を行う動作は、実施の形態1〜5と同じ動作であるので、ここでは優先制御処理部5aに関する動作のみを説明する。
性能情報測定部48は、一定時間内に(単位時間)VLAN制御バッファ部40−1〜40−10の優先制御バッファ部42−0〜42−7の各キュー45−1〜45−9に入力されるMACフレームのIPヘッダの宛先IPアドレス毎に、異なる送信元IPアドレスを有するMACフレームの数をカウントする。すなわち、性能情報測定部48は、一定時間内にサーバ9−1へ何台の端末(加入者端末およびサーバ)がMACフレームを送信しているか、加入者端末10−1,10−2,10−6へ何台の端末がMACフレームを送信しているかをカウントする。性能情報測定部48は、同一の宛先IPアドレスへのカウント値が閾値Mを超えた時間が閾値Nを超えた場合、閾値Nを超えた宛先IPアドレスを性能情報として優先制御処理部5aに出力する。たとえば、サーバ9−1へMACフレームを送信する端末の台数が閾値Mを超えた時間が閾値Nを超えたことを検出すると、性能情報測定部48は、優先制御処理部5aにサーバ9−1のIPアドレスを性能情報として出力する。
優先制御処理部5aは、性能情報として入力された宛先IPアドレス宛てのMACフレーム(ここでは、宛先IPアドレスがサーバ9−1のIPアドレスであるMACフレーム)を解析してキュー指定通知を出力するように、MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22に通知する。また、優先制御処理部5aは、MACフレーム処理部2−1〜2−nの優先制御情報付与部21に、宛先IPアドレスがサーバ9−1のIPアドレスであるキュー指定通知を受けた場合にはVLAN優先ビット「0」のベストエフォートのキューであるキュー45−9を使用することを設定するキュー変更通知を出力する。
これにより、MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22は、入力されたMACフレームの宛先IPアドレスがサーバ9−1のIPアドレスである場合にキュー指定通知を優先制御情報付与部21に出力し、優先制御情報付与部21は、キュー指定通知を受けると、VLAN優先ビット「0」とキュー45−9を識別するキュー番号とを優先制御情報としてMACフレームヘッダの前に付加する。すなわち、サーバ9−1へのMACフレームの優先度が低くなり、単位時間あたりのサーバ9−1への送信を抑制することができる。
サーバ9−1へのMACフレームの優先度を下げた後、性能情報測定部48は、定められた時間の間サーバ9−1へのMACフレームのバイト数をカウントしてトラフィックを監視する。サーバ9−1へのトラフィックが予め定められた値より小さくなった場合、すなわちサーバ9−1へのトラフィックが安定した場合には、性能情報測定部48は、優先制御処理部5aにサーバ9−1へのトラフィックが安定したことを通知する性能情報を出力する。
トラフィックが安定したことを通知する性能情報を受けると、優先制御処理部5aは、MACフレーム処理部2−1〜2−nのMACフレーム解析処理部22に、IPヘッダの宛先IPアドレスがサーバ9−1のIPアドレスであるMACフレームの検出を停止するように通知するとともに、MACフレーム処理部2−1〜2−nの優先制御情報付与部21に、変更前のVLAN優先ビットのキューを設定するキュー変更通知を出力する。
一方、同一の宛先IPアドレスへのカウント値が閾値Mを超えた時間が閾値Nを超えたことを通知する性能情報を出力した後も、その宛先IPアドレスへのトラフィックが過負荷である場合(この場合、サーバ9−1へのトラフィックが過負荷である場合)、再度、性能情報を優先制御処理部5aに出力する。
優先制御処理部5aは、再度、性能情報を受けると、MACフレーム処理部2−1〜2−nの優先制御情報付与部21に、キュー指定通知を受けた場合にはVLAN優先ビット「0」の0.5Mbpsのピーク・カット・オフのキューであるキュー45−6を使用することを通知する。すなわち、サーバ9−1へのMACフレームの優先度をさらに低くして、サーバ9−1へのMACフレームを抑制する。
このようにこの実施の形態11では、MACフレームのIPヘッダ(レイヤ3制御情報)から一定時間内に特定の宛先にMACフレームを送信している送信元の数を測定することで出力ポートにおける同一サーバへのフローを監視して、所定の時間以上、同一サーバに所定の台数以上の加入者端末が接続されている場合には、このサーバへのMACフレームを蓄積するキューの優先度を下げるようにしているので、たとえば、サーバに対するDDoS攻撃などをレイヤ2で防止することができ、イーサーネット(登録商標)のネットワークにおける加入者端末への安全性を向上することができる。
なお、この実施の形態11では、送信元IPアドレスおよび宛先IPアドレスを用いるようにしたが、MACフレームヘッダ(レイヤ2制御情報)の送信元MACアドレスおよび宛先MACアドレスを用いるようにしてもよい。
また、この実施の形態11では、使用するキューの優先度を下げるようにしたが、キューの優先度を下げても所定の時間以上、同一サーバに所定の台数以上の加入者端末が接続されている場合、サーバ宛のMACフレームの送信を停止するようにしてもよい。
また、実施の形態1〜11では、多重処理部41において優先制御情報を削除するようにしたが、フレーム割り振り処理部44によって各キュー45−1〜45−9に振り分けた後から出力ポートPO1〜POmにMACフレームを出力するまでの間であれば、多重処理部47または43で優先制御情報を削除しても構わない。もちろん、キュー45−1〜45−9にMACフレームを蓄積する際に、優先制御情報を削除してもかまわない。
また、実施の形態1〜11では、MACフレーム解析処理部22がMACフレームを解析するための情報(送信元MACアドレスや宛先MACアドレス、送信元IPアドレス、宛先IPアドレス、送信元ポート番号、宛先ポート番号など)、優先制御情報付与部21が検出されたMACフレームをどのキューに蓄積するか、各優先制御バッファ部42−0〜42−7のキューの構成(たとえば、キュー45−1を最優先キューとし、キュー45−2を最大5Mbpsのピーク・カット・オフのキューとするなど)、および優先制御処理部5が性能情報に基づいて変更するキューは、予め設定されているものとした。しかし、これらの設定は、たとえば、ネットワークを監視する監視装置などのスイッチ装置よりも上位の装置によって変更または設定するようにしてもよい。
また、実施の形態1〜11では、優先制御情報付与部21が、MACフレームの前に優先制御情報を付与するようにしたが、第17図に示すように、優先制御情報を新たなVLANタグとして付加するようにしてもよい。すなわち、タグ・オン・タグの機能を利用して、MACフレームヘッダに優先制御情報を付与する。これにより、IEEE802.3Dで定義されているMACフレームとして最優先キューに振り分けることが可能となり、L2スイッチ処理部3に一般的なL2スイッチを使用することができ、スイッチ装置のコストを低減することができる。
また、キュー指定通知によって使用するキューは実施の形態1〜11で使用したキューに限るものではなく、使用するアプリケーションによってどのように設定してもかまわない。
また、この発明におけるスイッチ装置に入力されるMACフレームは、たとえば、第18図に示すようにMACフレームヘッダとIPヘッダの間にPPPoEヘッダを有するPPPoEフレームであってもかまわない。
さらに、この発明におけるスイッチ装置が解析する情報は、実施の形態1〜11で示したものに限るものではなく、MACフレーム内のレイヤ2制御情報、レイヤ3制御情報、レイヤ4制御情報、またはレイヤ5以上の上位層のどの情報を用いてもかまわない。Embodiments of a switch device according to the present invention will be described below in detail with reference to the drawings. In addition, this invention is not limited by this embodiment.
The switch devices 1-1 to 1-8 shown in FIG. 1 all have the same function. The function of the switch device will be described with reference to the block diagram showing the configuration of the switch device 1-1 shown in FIG.
2 includes n (n is a natural number) input ports PI1 to PIn, MAC frame processing units 2-1 to 2-n corresponding to these input ports PI1 to PIn, A
The MAC frame processing units 2-1 to 2-n are based on the MAC frame
FIG. 3 is a diagram illustrating an example of a frame configuration of a MAC frame input to the switch device 1-1. The MAC frame includes a MAC frame header, an IP header (in this case, an IPv4 IP header), a TCP header or a UDP header, and data. The MAC frame header includes a 6-byte destination MAC address indicating a frame destination address, a 6-byte transmission source MAC address indicating a frame transmission source address, and 4 bytes indicating VLAN information such as a VLAN-ID and a VLAN priority bit. And a 2-byte data length (Type / Length) indicating the type and length of the frame.
The IP header includes a 4-bit version (VER) indicating the IP protocol version, a 4-bit Internet header length (IHL) indicating the size of the IP header field, and 1 byte indicating the quality of service required by the IP datagram. Service type (TOS), a total length of 2 bytes indicating the length of the IP header and IP data, a 2-byte identifier (ID) for identifying each IP data from an upper layer, and division of IP data A 3-bit flag (FL) indicating information, a 13-bit fragment offset (FO) indicating the position of each fragment in the original data, and a 2-byte lifetime (TTL) indicating the remaining number of routers that can be passed through Protocol type code for identifying the upper IP protocol included in IP data A 2-byte protocol type (PROT), a 2-byte header checksum (HC) for error detection in the IP header, a 4-byte transmission source IP address (SA) indicating the transmission source IP address, It consists of a 4-byte destination IP address (DA) indicating the destination IP address.
The IP header is followed by a TCP header or a UDP header. In either case, a 2-byte source port number indicating the source port number and a 2-byte destination port number indicating the destination port number are provided. is doing.
The MAC frame
As shown in FIG. 4, the priority control
The L2 switch processing unit 3 outputs the MAC frame with priority control information input from the priority control
The output port processing units 4-1 to 4-m have the same function. The function of the output port processing unit will be described with reference to the block diagram showing the configuration of the output port processing unit 4-1 shown in FIG. The output port processing unit 4-1 includes 10 VLAN control buffer units 40-1 to 40-10 corresponding to the number of VLANs (VLAN-ID) set in the
The VLAN control buffer units 40-1 to 40-10 each have the same function. The VLAN control buffer unit 40-1 is output from the priority control buffer units 42-0 to 42-7 corresponding to the eight VLAN priority bits of the VLAN tag, and the priority control buffer units 42-0 to 42-7. And a multiplex processing unit 43 that multiplexes MAC frames for each VLAN priority bit. In FIG. 5, the priority control buffer unit 42-7 is associated with the VLAN priority bit “7” of the VLAN tag, the priority control buffer unit 42-6 is associated with the VLAN priority bit “6” of the VLAN tag, ..., the priority control buffer unit 42-0 is associated with the VLAN priority bit "0" of the VLAN tag.
The priority control buffer units 42-0 to 42-7 have the same functions. The priority control buffer unit 42-7 includes a frame
The frame
The output queue control unit 46-1 reads out the MAC frames stored in the queue 45-1 and outputs them to the
The
Next, the operation of the switch device according to the first embodiment of the present invention will be described with reference to the flowchart of FIG. The MAC frame
When MAC frames (see FIG. 3) are input from the input ports PI1 to PIn, the MAC frame
If the data length is not “0x0806” (not an ARP frame), the MAC frame
If the protocol type is not “01h” (not an ICMP frame), the MAC frame
If the source port number and the destination port number are not “44h” and “43h” (not an HDCP frame), the MAC frame
The priority control
The L2 switch processing unit 3 determines a visit to the MAC frame with priority control information based on the destination MAC address of the MAC frame and the VLAN information of the VLAN tag (step S160). Specifically, the L2 switch processing unit 3 determines the output ports PO1 to POm based on the destination MAC address, and sets the output port processing units 4-1 to 4-m corresponding to the determined output ports PO1 to POm. decide. For example, when the destination MAC address of the MAC frame with priority control information indicates the output port PO1, it is determined to output the MAC frame with priority control information to the output port processing unit 4-1, and the MAC with priority control information When the destination MAC address of the frame indicates the output port PO2, it is determined to output the MAC frame with priority control information to the output port processing unit 4-2. The L2 switch processing unit 3 outputs the MAC frame with priority control information to the determined output port processing units 4-1 to 4-m.
The MAC frame with priority control information input to the output port processing units 4-1 to 4-m is input to the priority control buffer unit of the VLAN control buffer unit based on the VLAN-ID of the VLAN tag and the information identification information. For example, the MAC allocation with priority control information whose VLAN-ID is “1” and the VLAN priority bit of the priority control information is “7” is assigned to the priority control buffer unit 42-7 of the VLAN control buffer unit 40-1. The priority control buffer unit 42-3 of the VLAN control buffer unit 40-2 receives the MAC frame with priority control information that is input to the
The frame
The output queue control units 46-1 to 46-3 read the MAC frames with priority control information stored in the queues 45-1 to 45-9 based on predetermined output arbitration control, and perform the
The
As described above, in the first embodiment, from the MAC frame header (
In the first embodiment, the protocols before the start of IP communication are the ARP protocol and the HDCP protocol. However, the present invention is not limited to these protocols. For example, as shown in FIG. 7, the TCP header includes a source port number, a destination port number, a sequence number, a response confirmation number, an offset (D / O), a reservation, a code bit (FLAG), a window, a checksum. Consists of an urgent pointer, options and padding. When the MAC frame
Further, when the code bit of the TCP header is “ACK”, if a high-speed transfer is performed by outputting a queue designation notification, the bidirectional communication throughput can be increased.
Further, the MAC frame
In the first embodiment, a specific frame (ARP frame, HDCP frame, or CIMP frame) among the input MAC frames is distributed to the highest priority queue, so that the specific frame is transferred at high speed. In the second embodiment, the MAC frame having a specific MAC address is distributed to the highest priority queue, thereby speeding up the communication of a specific subscriber terminal.
A second embodiment of the present invention will be described with reference to FIG. The network system and the switch device to which the switch device of the second embodiment in the present invention is applied are the same as the network system and the switch device 1-1 of the first embodiment shown in FIG. 1 and FIG. Therefore, the description is omitted here.
The switch according to the second embodiment of the present invention will be described with reference to the flowchart of FIG. 8, taking as an example the case where the subscriber terminal 10-1 and the subscriber terminal 10-2 shown in FIG. The operation of the apparatus will be described. In the MAC frame
When MAC frames (see FIG. 3) are input from the input ports PI1 to PIn, the MAC frame
When the destination MAC address is not the MAC address of the priority terminal (when it is not a MAC frame addressed to the priority terminal), the MAC frame
If the source MAC address is not the MAC address of the priority terminal (not the MAC frame from the priority terminal), a VLAN priority notification is output to the priority control information adding unit 21 (step S230). That is, the MAC frame
The priority control
The L2 switch processing unit 3 determines a route to visit the MAC frame with priority control information based on the destination MAC address of the MAC frame with priority control information (step S250).
The frame
The output queue control units 46-1 to 46-3 read the MAC frames with priority control information stored in the queues 45-1 to 45-9 based on predetermined output arbitration control, and perform the
The
As described above, in the second embodiment, the MAC frame related to the predetermined priority terminal is identified from the destination MAC address and the source MAC address of the MAC frame header (
In the second embodiment, it is determined whether the destination MAC address or the source MAC address of the MAC frame header is the MAC address of the priority terminal, and the MAC frame from the priority terminal or the MAC addressed to the priority terminal is determined. Frames are preferentially processed. For example, a destination MAC address and a source MAC address are set as a set, and a MAC frame in communication between specific subscriber terminals is preferentially processed. May be.
In the second embodiment, the MAC frame related to the priority terminal is preferentially processed using the destination MAC address or the source MAC address of the MAC frame header. For example, the VLAN tag VLAN-ID is used. Thus, a MAC frame of a specific VLAN-ID may be processed preferentially. Thereby, the communication of the subscriber terminal of a specific VLAN can be made high-speed, and the serviceability with respect to the user on the network in Ethernet (trademark) can be improved.
Embodiment 3 FIG.
In the second embodiment, the MAC frame having a specific MAC address is distributed to the highest priority queue, thereby speeding up the communication of a specific subscriber terminal. In the third embodiment, a MAC frame having a specific IP address is distributed to the highest priority queue, thereby speeding up the communication of a specific subscriber terminal connected via the layer 3 network.
For example, when the subscriber terminal 10-1 and the subscriber terminal 10-5 shown in FIG. 1 are used as priority terminals, the MAC frame
The MAC frame
When receiving the queue designation notification, the priority control
That is, the MAC frame related to the priority terminal is identified using the source IP address and the destination IP address instead of the destination MAC address and the source MAC address of the second embodiment.
As described above, in the third embodiment, the MAC frame related to the predetermined priority terminal is identified from the transmission source IP address and the destination IP address of the IP header (layer 3 control information) in the input MAC frame, In the case of a MAC frame related to a priority terminal, the MAC frame is distributed to the highest priority queue having a high priority and is preferentially processed. Therefore, in a layer 3 network where the MAC address via the router cannot be recognized. In addition, a predetermined priority terminal, for example, a subscriber terminal of a user who subscribes to a premium service that guarantees priority transfer and restriction of the maximum transfer speed, or a server that provides public services such as police, hospitals, city halls, etc. Communication to users and subscriber terminals of users who use these public services It is possible to preferentially transfer at the level of the frame, it is possible to improve the serviceability for the user on the network in Ethernet.
In the third embodiment, the MAC frame related to the priority terminal is preferentially processed using the destination IP address or the transmission source IP address in the MAC frame header. Service type MAC frames may be processed preferentially. Thereby, communication of a specific service type can be performed at high speed, and serviceability for users on the network in Ethernet (registered trademark) can be improved.
In the first to third embodiments, the MAC frame header, IP header, or TCP header or UCP header of the input MAC frame is analyzed, and the MAC frame of a specific protocol or the MAC frame of the priority terminal is set as the highest priority queue. Sorted and processed preferentially. In the fourth embodiment, the source port number or the destination port number of the TCU header of the MAC frame is analyzed, and the MAC frame of a specific protocol is preferentially processed.
The operation of the switch device according to the fourth embodiment of the present invention will be described with reference to the flowchart of FIG. The MAC frame
When MAC frames (see FIG. 3) are input from the input ports PI1 to PIn, the MAC frame
If the destination port number is not “20”, the MAC frame
When the destination port number is not “21”, the MAC frame
If the destination port number is not “80”, the MAC frame
If the destination port number is not “5060”, the MAC frame
The priority control
The L2 switch processing unit 3 determines a visit based on the destination MAC address of the MAC frame with priority control information, and outputs the MAC frame with priority control information to the determined visit (step S370).
The frame
The output queue control units 46-1 to 46-3 read the MAC frames with priority control information stored in the queues 45-1 to 45-9 based on predetermined output arbitration control, and perform the
The
As described above, in the fourth embodiment, the destination port number of the TCP header (
In the fourth embodiment, the destination port number of the TCP header is used. However, the present invention is not limited to this, and other information of the TCP header may be used, or information of the UCP header may be used. May be.
In the first to fourth embodiments, the MAC frame header, IP header, TCP header, or UDP header is analyzed, and a specific MAC frame is preferentially processed. In the fifth embodiment, information of
The MAC frame input to the switching devices 1-1 to 1-8 of the fifth embodiment is the same as that shown in FIG. 3, but in the data after the TCP or UCP header (layer 5). A priority code area is provided at a predetermined position in the upper layer).
The operation of the switch device according to the fifth embodiment of the present invention will be described with reference to the flowchart of FIG. It is assumed that the MAC frame
When MAC frames (see FIG. 3) are input from the input ports PI1 to PIn, the MAC frame
When the priority code is not “HOSPITAL_A” or “Emergency” (when the priority code is not a specific code), the MAC frame
The priority control
The L2 switch processing unit 3 determines a visit based on the destination MAC address of the MAC frame, and outputs a MAC frame with priority control information to the determined visit. (Step S440).
The frame
The output queue control units 46-1 to 46-3 read the MAC frames with priority control information stored in the queues 45-1 to 45-9 based on predetermined output arbitration control, and perform the
The
As described above, in the fifth embodiment, a priority code area is provided in data (upper layer higher than layer 5) which is an application information portion in an input MAC frame, and this priority code is determined in advance as a specific code. If it matches, the MAC frame is distributed to the highest priority queue with high priority bits and processed preferentially, so specific applications such as emergency patient radiographs and biometric data, etc. By setting a specific code in the data when transferring the data, it becomes possible to preferentially transfer at the MAC frame level at the time of transfer, improving the serviceability for users on the network in Ethernet (registered trademark) Can be made.
Embodiment 6 FIG.
The
The
The MAC frame
When the priority
Next, the operation of the switch device according to the sixth embodiment of the present invention will be described with reference to the flowchart of FIG. It is assumed that the port number “20” of the FTP data port (initial value), which is a well-known port, and the FTP control port number “21” are set in advance in the MAC frame
When MAC frames (see FIG. 3) are input from the input ports PI1 to PIn, the MAC frame
In the FTP protocol, a destination port number or a transmission source port for data transfer can be designated in the PASSIV mode or the ACTIVE mode. When the MAC frame
Here, it is assumed that during the FTP command sequence between the server 9-1 and the subscriber terminal 10-1, a MAC frame having a port number L is input from the input port PI1 as a data transfer port from the subscriber port 10-1. . The MAC frame
The MAC
Upon receiving the performance information, the priority
On the other hand, when the destination port number is not “20”, “21” or “L”, the MAC frame
The priority control
The L2 switch processing unit 3 determines the route of the MAC frame with priority control information based on the destination MAC address of the MAC frame (step S580).
The frame
The
As described above, in the sixth embodiment, the source IP address and destination IP address of the IP header (layer 3 control information) in the input MAC frame, the source port number of the TCP header (
Embodiment 7 FIG.
Embodiment 7 of the present invention will be described with reference to FIG. 13 and FIG. The network system to which the switch device according to the fifth embodiment of the present invention is applied includes
The
The output
The performance
Returning to FIG. 11, when the source IP address and the destination IP address in the input MAC frame are predetermined IP addresses, the MAC frame
The priority
Next, the operation of the switch device according to the seventh embodiment of the present invention will be described taking communication between the subscriber terminals 10-1 and 10-2 and the server 9-1 as an example. It is assumed that IP addresses of the subscriber terminal 10-1 and the server 9-1 that are priority communication terminals are set in the MAC frame
Note that when the source IP address of the IP header of the input MAC frame is the IP address of the subscriber terminal 10-1 and the destination IP address is the IP address of the server 9-1, the VLAN priority bit “7”. And the queue number of the queue 45-2 as priority control information, the source IP address of the IP header is the IP address of the server 9-1, and the destination IP address is the IP address of the subscriber terminal 10-1. In the case where the priority processing is performed by adding the VLAN priority bit “7” and the queue number of the queue 45-6 as the priority control information before the MAC frame header, the priority processing is performed by analyzing the IP header. Since the operation is the same as that of the third embodiment, only the operation related to the priority
The MAC frame
The performance
When the excess performance information is received from the performance
The priority
Upon receiving the queue change notification, the priority control
Thereby, the priority of the MAC frame of communication from the subscriber terminal 10-1 to the server 9-1 is lowered, and traffic to the server 9-1 can be suppressed.
On the other hand, the performance
Upon receiving the degraded performance information, the priority
Thereafter, the priority control
As a result, the priority order of the MAC frames for communication from the subscriber terminal 10-1 to the server 9-1 is increased, and processing is performed with the priority order set initially.
As described above, in the seventh embodiment, the traffic to the destination IP address determined in advance by the destination IP address of the IP header (layer 3 control information) in the MAC frame is monitored, and the threshold value for the traffic is determined in advance. If it exceeds the limit, the priority of the processing of the MAC frame from the transmission source that occupies most of the traffic is lowered, so that stable communication can be performed and the Ethernet (registered trademark) network can be used. Serviceability for users at can be improved.
In the seventh embodiment, the destination address and the source IP address of the IP header are used. However, the traffic of the MAC frame of a specific service type is monitored using the service type of the IP header, and the traffic May be controlled.
Embodiment 8 FIG.
In the sixth embodiment, the input used for reverse communication used for bidirectional communication is determined from the source IP address and destination IP address of the IP header in the MAC frame and the source port number and destination port number of the TCP header. The MAC frame input to the port was estimated. In the eighth embodiment, the destination MAC address and IGMP frame type of the MAC frame header, and the destination IP address and IGMP frame type of the IP header are input to an input port used for reverse communication used for bidirectional communication. The MAC frame is estimated and priority control is performed.
The network system and the switch device to which the switch device of the sixth embodiment of the present invention is applied are the same as those of the sixth embodiment, and therefore the description thereof is omitted here.
In the eighth embodiment of the present invention, the router 7-3 in FIG. 1 is a multicast router, and the subscriber terminal 10-1 is a client terminal of IGMP (Internet Group Multicast Protocol, RFC2236), which is shown in FIG. It is assumed that the IGMP packet or the MAC frame of the RTP packet shown in FIG. 16 is input to the switch device.
In addition, the MAC frame
Furthermore, it is assumed that the priority control
Note that the MAC frame
When a MAC frame is input from an input port on the network side (which is a port to which a MAC frame from the router 7-3 is input, here referred to as input port PI1), a MAC frame processing unit corresponding to the input port PI1 The 2-1 MAC frame
The priority
The MAC frame
Upon receiving the notification that the MAC frame of the RTP packet is transmitted, the priority
When the MAC frame
Upon receiving the RTP packet queue designation notification, the priority control
As described above, in the eighth embodiment, the IP header (
The queue designation notification is output using the source IP address or destination IP address of the IP header and the type of IGMP packet, but other information of the MAC frame may be used.
In the eighth embodiment, the IGMP frame is analyzed as a multicast. However, the present invention is not limited to the IGMP frame, and other protocols may be used.
Embodiment 9 FIG.
Since the configuration of the network and the switch device to which the switch device of the ninth embodiment of the present invention is applied is the same as that of the seventh embodiment, the description thereof is omitted here.
The performance
The priority
In the ninth embodiment, the same data is transferred from the server 9-1 to the same service, for example, the subscriber terminal 10-1 and the subscriber terminal 10-2 at the same time such as live relay, and the subscriber terminal 10-6 is a
It is assumed that “NN” is used as the transmission port number of the UDP protocol in the live relay data transmitted from the server 9-1. It is assumed that the IP address of the server 9-1 and the port number “NN” are set in advance in the MAC frame
The MAC frame
The performance
Upon receiving the performance information, the priority
The MAC frame
Based on the analysis result from the MAC frame
As a result, the queue to which the FTP MAC frame from the server 9-1 to the subscriber terminal 10-6 is allocated becomes the live relay MAC frame from the server 9-1 to the subscriber terminal 10-1 or the subscriber terminal 10-2. Is lower than the assigned priority, and the live relay MAC frame from the server 9-1 to the subscriber terminal 10-1 or the subscriber terminal 10-2 is preferentially processed, and the transfer rate is increased.
On the other hand, even after the performance
As described above, in the ninth embodiment, the communication quality required by the application of the MAC frame is identified and designated from the IP header (
In the ninth embodiment, the communication quality requested by the application is determined using the well known port. However, the communication quality requested by the application is not limited to the well known port, and the source MAC address and destination MAC address of the MAC frame header are used. The communication quality may be determined by the address, the source IP address or the destination IP address in the IP header, or the communication quality is determined by communicating with a higher-level monitoring device connected to the network. Also good.
Since the configuration of the network and the switch device to which the switch device of the ninth embodiment of the present invention is applied is the same as that of the seventh embodiment, the description thereof is omitted here.
The performance
The priority
In the tenth embodiment, when the subscriber terminals 10-1, 10-2, 10-6 receiving the same service from the server 9-1 are performing bidirectional communication with the server 9-1, A subscriber terminal (not shown) different from the subscriber terminal 10-6 is accommodated in the port in which the
It is assumed that “NN” is used as the source port number of the UDP protocol in the MAC frame of the same service from the server 9-1 to the subscriber terminals 10-1, 10-2, and 10-6. It is assumed that the IP address of the server 9-1 and the port number “NN” are set in advance in the MAC frame
The MAC frame
The performance
The priority
The MAC frame
For example, the priority
Thereby, the priority of the MAC frame of the other subscriber terminal using the same input port PI1 as the subscriber terminal 10-6 is lowered, and the MAC frame of the subscriber terminal 10-6 is processed preferentially. .
On the other hand, even after the performance
As described above, in the tenth embodiment, the destination IP address and source IP address of the IP header (
In the tenth embodiment, the communication quality requested by the application is determined using the well known port. However, the communication quality requested by the application is not limited to the well known port, and the source MAC address and destination MAC address of the MAC frame header are used. The communication quality may be determined by the address, the source IP address or the destination IP address in the IP header, or the communication quality is determined by communicating with a higher-level monitoring device connected to the network. Also good.
Embodiment 11 FIG.
Since the configuration of the network and the switch device to which the switch device of the ninth embodiment of the present invention is applied is the same as that of the seventh embodiment, the description thereof is omitted here.
The performance
Based on the monitoring result of the performance
In the eleventh embodiment, when a large number of subscriber terminals receiving the same service of the server 9-1 are carrying out two-way communication with the server 9-1, respectively, a DDoS (Distributed Denial Of Service) attack or the like is performed. An operation of the
The performance
The MAC frame
The performance
The priority
Accordingly, the MAC frame
After lowering the priority of the MAC frame to the server 9-1, the performance
When receiving the performance information for notifying that the traffic has stabilized, the priority
On the other hand, even when the performance information notifying that the time when the count value to the same destination IP address has exceeded the threshold value M has exceeded the threshold value N is output, the traffic to the destination IP address is overloaded ( In this case, when the traffic to the server 9-1 is overloaded), the performance information is output again to the priority
When the priority
As described above, in the eleventh embodiment, the same number at the output port is obtained by measuring the number of transmission sources transmitting the MAC frame to a specific destination within a predetermined time from the IP header (layer 3 control information) of the MAC frame. The flow to the server is monitored, and when a predetermined number of subscriber terminals are connected to the same server for a predetermined time or more, the priority of the queue for storing MAC frames to this server is lowered. Therefore, for example, a DDoS attack on the server can be prevented by
In the eleventh embodiment, the source IP address and the destination IP address are used. However, the source MAC address and the destination MAC address of the MAC frame header (
In the eleventh embodiment, the priority of the queue to be used is lowered. Even if the priority of the queue is lowered, a predetermined number of subscriber terminals or more are connected to the same server for a predetermined time or more. If so, transmission of the MAC frame addressed to the server may be stopped.
In the first to eleventh embodiments, the priority control information is deleted in the multiplex processing unit 41. However, after the frame
In the first to eleventh embodiments, information for the MAC frame
In the first to eleventh embodiments, the priority control
The queue used by the queue designation notification is not limited to the queue used in the first to eleventh embodiments, and may be set in any manner depending on the application to be used.
Further, the MAC frame input to the switch device according to the present invention may be, for example, a PPPoE frame having a PPPoE header between the MAC frame header and the IP header as shown in FIG.
Furthermore, the information analyzed by the switch device according to the present invention is not limited to that shown in the first to eleventh embodiments, but is
以上のように、本発明にかかるスイッチ装置は、イーサーネット(登録商標)によって構成されるネットワークに有用であり、特に、レイヤ2のMACフレームを転送するスイッチ装置に適している。 As described above, the switch device according to the present invention is useful for a network constituted by Ethernet (registered trademark), and is particularly suitable for a switch device that transfers a
Claims (15)
入力されるMACフレームを解析するMACフレーム解析処理部と、
このMACフレーム解析処理部の解析結果に基づいて、MACフレームを蓄積する前記優先制御バッファ部および当該優先制御バッファ部内のキューを決定して、この決定したキューを識別するための優先制御情報を前記MACフレームに付加する優先制御情報付与部と、
を備える複数の入力ポート毎のMACフレーム処理部と、
前記優先制御情報付与部によって付与された優先制御情報付きのMACフレームを優先制御情報にしたがってキューに出力するレイヤ2スイッチ処理部と、
を備え、
前記各出力ポート処理部は、
前記優先制御情報付与部によって付加された優先制御情報を削除したMACフレームを出力ポートに出力することを特徴とするスイッチ装置。It has a plurality of queues, each of which has a priority determined for each use, and is configured by a plurality of priority control buffer units corresponding to VLAN priority bits of the VLAN tag in the layer 2 control information, and stored in each of the queues In a switching device including an output port processing unit that outputs a MAC frame to an output port,
A MAC frame analysis processing unit for analyzing an input MAC frame;
Based on the analysis result of the MAC frame analysis processing unit, the priority control buffer unit for accumulating MAC frames and a queue in the priority control buffer unit are determined, and priority control information for identifying the determined queue is set as the priority control information. A priority control information adding unit to be added to the MAC frame;
A MAC frame processing unit for each of a plurality of input ports,
A layer 2 switch processing unit that outputs a MAC frame with priority control information given by the priority control information giving unit to a queue according to the priority control information;
With
Each of the output port processing units is
A switch device, wherein the MAC frame from which the priority control information added by the priority control information adding unit is deleted is output to an output port.
前記優先制御情報を新たなVLANタグとしてMACフレームヘッダに付与することを特徴とする特許請求の範囲第1項に記載のスイッチ装置。The priority control information giving unit is
The switch device according to claim 1, wherein the priority control information is added to a MAC frame header as a new VLAN tag.
前記入力されるMACフレームのレイヤ2制御情報またはレイヤ3制御情報を解析して、TCPプロトコルの通信開始時の制御フレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出された前記制御フレームは、予め設定されている優先度のキューの中で最も優先度の高いキューに蓄積し、前記制御フレームとは異なるMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定することを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Analyzing the layer 2 control information or layer 3 control information of the input MAC frame to detect a control frame at the start of TCP protocol communication;
The priority control information giving unit is
The control frame detected by the MAC frame analysis processing unit is accumulated in a queue having the highest priority among the queues of preset priorities, and the MAC frame different from the control frame is the MAC frame. 2. The switch device according to claim 1, wherein the switching is determined to be stored in a queue according to a VLAN priority bit of the VLAN tag.
前記入力されるMACフレームのレイヤ2制御情報の所定の情報と、予め定められた情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたMACフレームは、予め定められた優先度のキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定することを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Detecting a MAC frame in which the predetermined information of the layer 2 control information of the input MAC frame matches the predetermined information;
The priority control information giving unit is
The MAC frames detected by the MAC frame analysis processing unit are accumulated in a predetermined priority queue, and the MAC frames not detected by the MAC frame analysis processing unit are VLAN priority of the VLAN tag of the MAC frame. 2. The switch device according to claim 1, wherein it is determined to accumulate in a queue according to a bit.
前記入力されるMACフレームのレイヤ3制御情報の所定の情報と、予め定められた情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたMACフレームは、予め定められた優先度のキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定すること特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Detecting a MAC frame in which the predetermined information of the layer 3 control information of the input MAC frame matches a predetermined information;
The priority control information giving unit is
The MAC frames detected by the MAC frame analysis processing unit are accumulated in a predetermined priority queue, and the MAC frames not detected by the MAC frame analysis processing unit are VLAN priority of the VLAN tag of the MAC frame. 2. The switch device according to claim 1, wherein it is determined to accumulate in a queue according to a bit.
前記入力されるMACフレームのレイヤ4制御情報の所定の情報と、予め定められた情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたMACフレームは、予め定められた優先度のキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定することを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Detecting a MAC frame in which the predetermined information of the layer 4 control information of the input MAC frame matches the predetermined information;
The priority control information giving unit is
The MAC frames detected by the MAC frame analysis processing unit are accumulated in a predetermined priority queue, and the MAC frames not detected by the MAC frame analysis processing unit are VLAN priority of the VLAN tag of the MAC frame. 2. The switch device according to claim 1, wherein it is determined to accumulate in a queue according to a bit.
前記入力されるMACフレームのレイヤ4よりも上位レイヤのアプリケーション情報の所定の情報と、予め定められた情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたMACフレームは、予め定められた優先度のキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定することを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Detecting a MAC frame in which predetermined information of application information in a layer higher than layer 4 of the input MAC frame matches predetermined information;
The priority control information giving unit is
The MAC frames detected by the MAC frame analysis processing unit are accumulated in a predetermined priority queue, and the MAC frames not detected by the MAC frame analysis processing unit are VLAN priority of the VLAN tag of the MAC frame. 2. The switch device according to claim 1, wherein it is determined to accumulate in a queue according to a bit.
前記入力されるMACフレームのレイヤ3制御情報を解析して、ルーティング情報フレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたルーティング情報フレームは、予め定められたキューに蓄積し、前記ルーティング情報フレームとは異なるMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定することを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Analyzing the layer 3 control information of the input MAC frame to detect a routing information frame;
The priority control information giving unit is
The routing information frame detected by the MAC frame analysis processing unit is accumulated in a predetermined queue, and a MAC frame different from the routing information frame is stored in the queue according to the VLAN priority bit of the VLAN tag of the MAC frame. The switch device according to claim 1, wherein it is determined to be accumulated.
前記入力されるMACフレームのレイヤ2制御情報およびレイヤ3制御情報を解析して、所定のプロトコルにおけるMACフレームを検出するとともに、検出通知を受けると、入力されるMACフレームのレイヤ3制御情報の所定の情報と、検出通知に含まれる情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出された所定のプロトコルにおけるMACフレームは、予め定められた優先度のキューに蓄積し、前記所定のプロトコルにおけるMACフレームとは異なるMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定し、
前記MACフレーム解析処理部によって所定のプロトコルにおけるMACフレームが検出された場合、当該MACフレームの応答となるMACフレームが入力されるMACフレーム処理部のMACフレーム解析処理部に、前記応答となるMACフレームを検出するための情報を含む検出通知を出力するとともに、前記応答となるMACフレームが入力されるMACフレーム処理部の優先制御情報付与部に前記応答となるMACフレームが検出された場合に当該MACフレームを蓄積するキューを変更するキュー変更通知を出力する優先制御処理部、
をさらに備えることを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
The layer 2 control information and the layer 3 control information of the input MAC frame are analyzed to detect a MAC frame in a predetermined protocol, and when the detection notification is received, the layer 3 control information of the input MAC frame is determined. And the MAC frame in which the information included in the detection notification matches,
The priority control information giving unit is
The MAC frame in the predetermined protocol detected by the MAC frame analysis processing unit is accumulated in a queue having a predetermined priority, and the MAC frame different from the MAC frame in the predetermined protocol is the VLAN tag of the MAC frame. Decide to accumulate in the queue according to the VLAN priority bits of
When a MAC frame in a predetermined protocol is detected by the MAC frame analysis processing unit, the MAC frame serving as the response is input to the MAC frame analysis processing unit of the MAC frame processing unit to which the MAC frame serving as a response to the MAC frame is input. When the MAC frame serving as the response is detected by the priority control information adding unit of the MAC frame processing unit to which the MAC frame serving as the response is input is output. A priority control processing unit for outputting a queue change notification for changing a queue for storing frames;
The switch device according to claim 1, further comprising:
出力するMACフレームのレイヤ3制御情報を解析して、予め定められている宛先へ出力するMACフレームのトラフィックを監視して、前記トラフィックが閾値よりも大きくなったことを検出する性能情報測定部、
を備え、
前記MACフレーム解析処理部は、
入力されるMACフレームのレイヤ3制御情報を解析して、予め定められている宛先へのMACフレームを送信元毎にカウントするとともに、検出通知を受けると、入力されるMACフレームのレイヤ3制御情報の所定の情報と、検出通知に含まれる情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理によって検出されたMACフレームは、キュー変更通知によって設定されたキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定し、
前記性能情報測定部によって前記トラフィックが閾値よりも大きくなったことが検出されると、前記MACフレーム解析処理部によってカウントされたMACフレームの中で、予め定められている宛先へのMACフレームを最も多く送信している送信元から予め定められている宛先へのMACフレームを検出するための情報を含む前記検出通知を前記MACフレーム解析処理部に出力するとともに、当該MACフレーム解析処理部が予め定められている宛先へのMACフレームを最も多く送信している送信元から予め定められている宛先へのMACフレームを検出した場合、このMACフレームを蓄積するキューを変更する前記キュー変更通知を出力する優先制御処理部、
をさらに備えることを特徴とする請求の範囲第1項に記載のスイッチ装置。Each of the output port processing units is
Analyzing the layer 3 control information of the MAC frame to be output, monitoring the traffic of the MAC frame to be output to a predetermined destination, and detecting that the traffic is greater than a threshold;
With
The MAC frame analysis processing unit
Analyzes the layer 3 control information of the input MAC frame, counts the MAC frame to a predetermined destination for each transmission source, and receives the detection notification, the layer 3 control information of the input MAC frame Detecting a MAC frame in which the predetermined information and the information included in the detection notification match,
The priority control information giving unit is
The MAC frame detected by the MAC frame analysis process is accumulated in the queue set by the queue change notification, and the MAC frame not detected by the MAC frame analysis processing unit is the VLAN priority bit of the VLAN tag of the MAC frame. To accumulate in the queue according to
When the performance information measuring unit detects that the traffic is larger than the threshold value, the MAC frame to a predetermined destination is the highest among the MAC frames counted by the MAC frame analysis processing unit. The MAC frame analysis processing unit outputs the detection notification including information for detecting a MAC frame from a transmission source that transmits a large number to a predetermined destination to the MAC frame analysis processing unit. When a MAC frame to a predetermined destination is detected from a transmission source that transmits the most MAC frames to a predetermined destination, the queue change notification for changing the queue for storing the MAC frame is output. Priority control processing unit,
The switch device according to claim 1, further comprising:
入力されるMACフレームのレイヤ2制御情報、レイヤ3制御情報、およびレイヤ4制御情報を解析して、予め設定されたアプリケーションのフローを検出するとともに、検出通知を受けると、入力されるMACフレームのレイヤ3制御情報の所定の情報と、検出通知に含まれる情報とが一致するMACフレームを検出し、
前記優先制御情報付与部は、
前記MACフレーム解析処理部によって検出されたMACフレームは、予め定められたキューに蓄積し、前記MACフレーム解析処理部によって検出されなかったMACフレームは、当該MACフレームのVLANタグのVLAN優先ビットにしたがったキューに蓄積することを決定し、
前記MACフレーム解析処理部によって検出されたフローの送信先からのMACフレームが入力されるMACフレーム処理部のMACフレーム解析処理部に、前記アプリケーションのMACフレームの応答となるMACフレームを検出するための情報を含む前記検出通知を出力するとともに、前記応答となるMACフレームが入力されるMACフレーム処理部の優先制御情報付与部に前記応答となるMACフレームが検出された場合に当該MACフレームを蓄積するキューを変更するキュー変更通知を出力する優先制御処理部、
をさらに備えることを特徴とする請求の範囲第1項に記載のスイッチ装置。The MAC frame analysis processing unit
Analyzing the layer 2 control information, layer 3 control information, and layer 4 control information of the input MAC frame to detect a preset application flow, and upon receiving a detection notification, Detecting a MAC frame in which the predetermined information of the layer 3 control information matches the information included in the detection notification;
The priority control information giving unit is
The MAC frame detected by the MAC frame analysis processing unit is accumulated in a predetermined queue, and the MAC frame not detected by the MAC frame analysis processing unit is based on the VLAN priority bit of the VLAN tag of the MAC frame. Decided to accumulate in the queue,
The MAC frame analysis processing unit of the MAC frame processing unit to which the MAC frame from the flow transmission destination detected by the MAC frame analysis processing unit is input is used to detect a MAC frame that is a response to the MAC frame of the application. The detection notification including information is output, and the MAC frame is accumulated when the MAC frame serving as the response is detected in the priority control information adding unit of the MAC frame processing unit to which the MAC frame serving as the response is input A priority control processing unit that outputs a queue change notification for changing a queue,
The switch device according to claim 1, further comprising:
出力するMACフレームのレイヤ2制御情報およびレイヤ3制御情報を解析して、予め定められた送信元のMACフレームであって、かつ予め定められた送信ポートへのMACフレームの平均転送レートを宛先毎に測定する性能情報測定部、
を備え、
この性能情報測定部が測定した平均転送レートが閾値より小さいことを検出した場合、この平均転送レートが閾値より小さい宛先へのMACフレームを解析することを指示する検出通知を前記MACフレーム解析処理部に出力するとともに、前記MACフレーム解析処理部の解析結果に基づいて、前記平均転送レートが閾値より小さい宛先へのMACフレームの中で所定のアプリケーションのMACフレームを蓄積するキューの優先度を下げるキュー変更通知を前記優先制御情報付与部に出力した後に、前記性能情報測定部が測定した平均転送レートが閾値以上であることを検出した場合、前記所定のアプリケーションのMACフレームを蓄積するキューの優先度を上げるキュー変更通知を前記優先制御情報付与部に出力する優先制御処理部、
をさらに備え、
前記MACフレーム解析処理部は、
前記検出通知を受けた場合、入力されるMACフレームのレイヤ3制御情報およびレイヤ4制御情報から送信元毎にアプリケーションを解析することを特徴とする請求の範囲第1項に記載のスイッチ装置。Each of the output port processing units is
By analyzing the layer 2 control information and the layer 3 control information of the MAC frame to be output, the MAC frame of the transmission source determined in advance and the average transfer rate of the MAC frame to the transmission port determined in advance are determined for each destination. Performance information measurement unit to measure,
With
When it is detected that the average transfer rate measured by the performance information measurement unit is smaller than the threshold, the MAC frame analysis processing unit sends a detection notification instructing to analyze a MAC frame to a destination whose average transfer rate is smaller than the threshold. A queue that lowers the priority of a queue that stores MAC frames of a predetermined application among MAC frames destined for a destination whose average transfer rate is smaller than a threshold, based on an analysis result of the MAC frame analysis processing unit After detecting the change notification to the priority control information adding unit, if it is detected that the average transfer rate measured by the performance information measuring unit is equal to or higher than a threshold, the priority of the queue for storing the MAC frame of the predetermined application Priority control processing unit for outputting a queue change notification for increasing the priority to the priority control information adding unit
Further comprising
The MAC frame analysis processing unit
2. The switch device according to claim 1, wherein when receiving the detection notification, the application is analyzed for each transmission source from the layer 3 control information and the layer 4 control information of the input MAC frame.
出力するMACフレームのレイヤ2制御情報およびレイヤ3制御情報を解析して、予め定められた送信元のMACフレームであって、かつ予め定められた送信ポートへのMACフレームの平均転送レートを送信元毎に測定する性能情報測定部、
を備え、
この性能情報測定部が測定した平均転送レートが閾値より小さいことを検出した場合、この平均転送レートが閾値より小さい送信先へのMACフレームを解析することを指示する検出通知を前記MACフレーム解析処理部に出力するとともに、前記MACフレーム解析処理部の解析結果に基づいて、前記平均転送レートが閾値より小さい送信先へのMACフレームの中で所定の送信元からの所定のアプリケーションのMACフレームを蓄積するキューの優先度を下げるキュー変更通知を前記優先制御情報付与部に出力する優先制御処理部、
をさらに備え、
前記MACフレーム解析処理部は、
前記検出通知を受けた場合、入力されるMACフレームのレイヤ3制御情報およびレイヤ4制御情報からアプリケーションを解析することを特徴とする請求の範囲第1項に記載のスイッチ装置。Each of the output port processing units is
By analyzing the layer 2 control information and the layer 3 control information of the output MAC frame, the MAC frame of a predetermined transmission source and the average transfer rate of the MAC frame to a predetermined transmission port is determined as the transmission source. Performance information measurement unit that measures every time,
With
When it is detected that the average transfer rate measured by the performance information measuring unit is smaller than the threshold, the MAC frame analysis process sends a detection notification instructing to analyze a MAC frame to a transmission destination having the average transfer rate smaller than the threshold. A MAC frame of a predetermined application from a predetermined transmission source among MAC frames to a transmission destination whose average transfer rate is smaller than a threshold based on the analysis result of the MAC frame analysis processing unit A priority control processing unit for outputting a queue change notification for lowering the priority of the queue to the priority control information adding unit;
Further comprising
The MAC frame analysis processing unit
2. The switch device according to claim 1, wherein when receiving the detection notification, the application is analyzed from the layer 3 control information and the layer 4 control information of the input MAC frame.
出力するMACフレームのレイヤ2制御情報、またはレイヤ3制御情報を解析して、予め定められた宛先へのMACフレームを送信元毎に測定する性能情報測定部、
を備え、
前記性能情報測定部が所定の時間以上継続して前記宛先に所定の数以上の送信元からMACフレームが送信されていることを検出した場合、前記宛先へのMACフレームを蓄積するキューの優先度を下げるキュー変更通知を前記優先制御情報付与部に出力する優先制御処理部、
をさらに備えたことを特徴とする請求の範囲第1項に記載のスイッチ装置。Each of the output port processing units is
A performance information measuring unit that analyzes the layer 2 control information or the layer 3 control information of the output MAC frame and measures the MAC frame to a predetermined destination for each transmission source,
With
Priority of a queue for accumulating MAC frames to the destination when the performance information measurement unit detects that MAC frames are transmitted from a predetermined number or more of sources to the destination continuously for a predetermined time or more A priority control processing unit that outputs a queue change notification to the priority control information adding unit,
The switch device according to claim 1, further comprising:
前記宛先へのMACフレームを蓄積するキューの優先度を下げるキュー変更通知を前記優先制御情報付与部に出力した後に、前記性能情報測定部が所定の時間以上継続して前記宛先に所定の数以上の送信元からMACフレームが送信されていることを検出した場合、前記宛先へのMACフレームの送信を停止することを特徴とする請求の範囲第14項に記載のスイッチ装置。The priority control processing unit
After outputting the queue change notification for lowering the priority of the queue for accumulating the MAC frames to the destination to the priority control information adding unit, the performance information measuring unit continues for a predetermined time or more to the predetermined number or more to the destination 15. The switch device according to claim 14, wherein when it is detected that a MAC frame is transmitted from a transmission source, the transmission of the MAC frame to the destination is stopped.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2004/001786 WO2005079016A1 (en) | 2004-02-18 | 2004-02-18 | Switch device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2005079016A1 true JPWO2005079016A1 (en) | 2007-08-30 |
JP4499042B2 JP4499042B2 (en) | 2010-07-07 |
Family
ID=34857551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005517878A Expired - Fee Related JP4499042B2 (en) | 2004-02-18 | 2004-02-18 | Switch device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4499042B2 (en) |
WO (1) | WO2005079016A1 (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4723967B2 (en) | 2005-09-29 | 2011-07-13 | 株式会社東芝 | Electronic device and communication control method of electronic device |
JP4810254B2 (en) * | 2006-02-28 | 2011-11-09 | 株式会社日立製作所 | Base station and base station controller |
JP2008252413A (en) * | 2007-03-30 | 2008-10-16 | Nec Corp | Priority control system, priority control apparatus, priority control method used for them, and its program |
JP5167924B2 (en) | 2008-04-16 | 2013-03-21 | 富士通株式会社 | Relay device and packet relay method |
JP5104508B2 (en) * | 2008-04-16 | 2012-12-19 | 富士通株式会社 | Relay device and packet relay method |
JP4663761B2 (en) | 2008-06-20 | 2011-04-06 | アラクサラネットワークス株式会社 | Packet relay device |
DE102008051861A1 (en) * | 2008-10-16 | 2010-04-22 | Deutsche Thomson Ohg | Method for operating a multi-port MAC bridge with disconnectable ports depending on an isochronous data stream on a port or port pair in Ethernet LANs |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09149051A (en) * | 1995-09-18 | 1997-06-06 | Toshiba Corp | Packet transfer device |
JPH1132078A (en) * | 1997-07-11 | 1999-02-02 | Hitachi Ltd | Transmission queue management system and inter-network device using the system |
JP2000232482A (en) * | 1998-12-09 | 2000-08-22 | Hitachi Ltd | Variable length packet communication apparatus |
JP2002111729A (en) * | 2000-09-29 | 2002-04-12 | Kddi Corp | Apparatus for managing policy base managing system and apparatus to be managed |
JP2002135331A (en) * | 2000-09-20 | 2002-05-10 | Alcatel | QoS FORMING/DEFINITION FOR DATA COMMUNICATION SWITCH |
WO2002054691A2 (en) * | 2000-12-29 | 2002-07-11 | Ericsson Inc. | Improved calling service of a voip device in a vlan environment_ |
JP2002217961A (en) * | 2001-01-24 | 2002-08-02 | Fujitsu Ltd | Packet-transmitting device |
JP2002223243A (en) * | 2001-01-26 | 2002-08-09 | Fujitsu Ltd | Transmission rate monitoring device and transmission rate monitoring method |
JP2003244676A (en) * | 2002-02-19 | 2003-08-29 | Sony Corp | Moving picture distribution system, moving picture distributing device and method, recording medium, and program |
JP2003333091A (en) * | 2002-05-15 | 2003-11-21 | Nippon Telegr & Teleph Corp <Ntt> | Quality control method for network, network system and management apparatus |
JP2004023769A (en) * | 2002-06-20 | 2004-01-22 | Matsushita Electric Ind Co Ltd | Band controller |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6920146B1 (en) * | 1998-10-05 | 2005-07-19 | Packet Engines Incorporated | Switching device with multistage queuing scheme |
JP3449407B2 (en) * | 1999-06-11 | 2003-09-22 | 日本電気株式会社 | Data communication method |
-
2004
- 2004-02-18 WO PCT/JP2004/001786 patent/WO2005079016A1/en active Application Filing
- 2004-02-18 JP JP2005517878A patent/JP4499042B2/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09149051A (en) * | 1995-09-18 | 1997-06-06 | Toshiba Corp | Packet transfer device |
JPH1132078A (en) * | 1997-07-11 | 1999-02-02 | Hitachi Ltd | Transmission queue management system and inter-network device using the system |
JP2000232482A (en) * | 1998-12-09 | 2000-08-22 | Hitachi Ltd | Variable length packet communication apparatus |
JP2002135331A (en) * | 2000-09-20 | 2002-05-10 | Alcatel | QoS FORMING/DEFINITION FOR DATA COMMUNICATION SWITCH |
JP2002111729A (en) * | 2000-09-29 | 2002-04-12 | Kddi Corp | Apparatus for managing policy base managing system and apparatus to be managed |
WO2002054691A2 (en) * | 2000-12-29 | 2002-07-11 | Ericsson Inc. | Improved calling service of a voip device in a vlan environment_ |
JP2002217961A (en) * | 2001-01-24 | 2002-08-02 | Fujitsu Ltd | Packet-transmitting device |
JP2002223243A (en) * | 2001-01-26 | 2002-08-09 | Fujitsu Ltd | Transmission rate monitoring device and transmission rate monitoring method |
JP2003244676A (en) * | 2002-02-19 | 2003-08-29 | Sony Corp | Moving picture distribution system, moving picture distributing device and method, recording medium, and program |
JP2003333091A (en) * | 2002-05-15 | 2003-11-21 | Nippon Telegr & Teleph Corp <Ntt> | Quality control method for network, network system and management apparatus |
JP2004023769A (en) * | 2002-06-20 | 2004-01-22 | Matsushita Electric Ind Co Ltd | Band controller |
Also Published As
Publication number | Publication date |
---|---|
WO2005079016A1 (en) | 2005-08-25 |
JP4499042B2 (en) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7525911B2 (en) | Congestion controller for Ethernet switch | |
US8532130B2 (en) | Service interface for QoS-driven HPNA networks | |
US7848231B2 (en) | Packet communication network and packet communication method | |
US6449251B1 (en) | Packet mapper for dynamic data packet prioritization | |
US7656798B1 (en) | Service interface for QoS-driven HPNA networks | |
US8565077B2 (en) | System and method for enhancing network quality of service | |
US10432556B1 (en) | Enhanced audio video bridging (AVB) methods and apparatus | |
US20030152096A1 (en) | Intelligent no packet loss networking | |
WO2009146621A1 (en) | Data processing method, broadband network gateway, policy controller and access device | |
EP1810466A1 (en) | Directional and priority based flow control between nodes | |
JP2004236332A (en) | Identification of packet data flow for multiplexing | |
US7565436B2 (en) | Ethernet to frame relay interworking with multiple quality of service levels | |
US20120155271A1 (en) | Scalable resource management in distributed environment | |
JP4499042B2 (en) | Switch device | |
JP2005204157A (en) | Stream filtering system, content distribution system and stream filtering method as well as program | |
US9942161B1 (en) | Methods and systems for configuring and updating session-based quality of service for multimedia traffic in a local area network | |
TW200303670A (en) | Inverse multiplexing of managed traffic flows over a multi-star network | |
Yaghmaee et al. | A model for differentiated service support in wireless multimedia sensor networks | |
Thrybom et al. | QoS in switched industrial ethernet | |
Cisco | Control Plane DSCP Support for RSVP | |
JP2004241835A (en) | Reception discrimination method to transfer quality assurance type data stream, closed ip network, and program thereof | |
US7330429B2 (en) | Method and apparatus for internet protocol transaction routing | |
Su et al. | QoS guarantee for IPTV using low latency queuing with various dropping schemes | |
Ram et al. | Admission control by implicit signaling in support of voice over IP over ADSL | |
Paul | QoS in data networks: Protocols and standards |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090707 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090904 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091208 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100205 |
|
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: 20100413 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100414 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140423 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |