JP4074992B2 - Transmission control device - Google Patents

Transmission control device Download PDF

Info

Publication number
JP4074992B2
JP4074992B2 JP2003084189A JP2003084189A JP4074992B2 JP 4074992 B2 JP4074992 B2 JP 4074992B2 JP 2003084189 A JP2003084189 A JP 2003084189A JP 2003084189 A JP2003084189 A JP 2003084189A JP 4074992 B2 JP4074992 B2 JP 4074992B2
Authority
JP
Japan
Prior art keywords
frame
length
unit
octets
processing unit
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.)
Expired - Fee Related
Application number
JP2003084189A
Other languages
Japanese (ja)
Other versions
JP2004297253A (en
Inventor
高広 吉井
幸雅 島
泰一郎 坂口
利道 福田
博文 近者
真也 徳永
恭紹 南艸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2003084189A priority Critical patent/JP4074992B2/en
Publication of JP2004297253A publication Critical patent/JP2004297253A/en
Application granted granted Critical
Publication of JP4074992B2 publication Critical patent/JP4074992B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、同期用ビットが付加されたフレームをオクテット単位で処理する構成を備えた伝送制御装置関する。
【0002】
【従来の技術】
IP(Internet Protocol)インタフェースを備えた伝送制御装置に於いて、端末側からのフレームを、SONET/SDH(Synchronous Optical Network/Synchronous Digital Hierarchy)インタフェースにマッピングして伝送する機能を有する構成が知られている。このような伝送システムに於いて、QoS(Quality of Service;サービス品質)に従った流量制御を行う手段が適用されている。
【0003】
このQoSによる流量制御は、フレーム間に挿入するギャップ期間GAPを、QoSとフレーム長との情報を基に求めるものであり、そのギャップ期間GAPは、例えば、
GAP=(100×フレーム長)÷流入制限値−フレーム長
として算出するものである。ネットワーク上では、プリアンブルを含む長さのイーサフレームが伝送されるものであるから、ギャップ期間GAPを求める為には、プリアンブルを含むフレーム長を求める必要がある。
【0004】
一般的には、流量制御を行う前に、受信したフレームの各種エラーチェックやパフォーマンスモニタチェック等を行う。又伝送フレームは、同期用ビットとしてのプリアンブル、SFD(Start Flag Delimiter;フレーム開始デリミタ)を含み、且つ送信元や送信先のアドレス情報,データ,チェック情報等を含むフォーマット構成を有し、前述の各種のチェックは、SFD検出により、その後のフレーム本体について行われる。
【0005】
通常は、プリアンブルはSFDを含めて64バイト(8オクテット)、このプリアンブルを除くフレーム長は、64〜1518バイト(64オクテット〜1518オクテット)である。又VLAN(Virtual Local AreaNetwork;仮想ローカルエリアネットワーク)タグ等が付加される場合には、フレーム長としてはタグ等のバイト数分が付加される。通常のフレーム構成としては、オクテット単位の構成であるから、フレームの処理部は、オクテット長を基本とした回路構成としている。
【0006】
図4は従来の伝送制御装置の要部を示し、41は端末側からのイーサフレームを受信して一時的に蓄積するテンポラリバッファ、42はフレーム転送部、43は流量制限処理部、44はネットワーク側に送出する出力処理部、45はフレーム長チェックカウンタ、46はSFD検出部、47はエラーチェック部を示す。なお、出力処理部44の後段のフレームの宛先送出処理等を行う処理部は図示を省略している。
【0007】
フレーム長チェックカウンタ45によりプリアンブルを含む全フレーム長についてカウントする。又SFD検出部46により、プリアンブルの次に付加されているSFDを検出し、エラーチェック部47に通知する。エラーチェック部47は、SFD以降のフレーム本体のフレーム長が規定の最大値を超えているか、又は最小値より短いかのチェックを行う。チェック結果、良好であれば、フレーム転送部42に転送トリガを加えることにより、フレーム転送部42は、テンポラリバッファ41に一時的に蓄積されたフレームを読出して流量制限処理部43に転送する。
【0008】
流量制限処理部43は、フレーム長チェックカウンタ45により求めたプリアンブルを含むフレーム長の情報を基に、前述のギャップ期間GAPを算出し、前回送出したフレームと今回送出するフレームとの間の期間が、算出したギャップ期間GAPとなった時に、今回のフレームを送出するように、出力処理部44に通知する。それにより、所望の帯域でフレームをネットワーク側へ送出することができる。
【0009】
フレーム構成は、例えば、図5の(A)に概略を示すように、プリアンブル+SFDと、アドレス部ADと、データ部と、FCS(Frame Check Sequence)とを含み、オクテット(8ビット)単位の構成を有するものである。従って、伝送制御装置の各部もオクテット単位で処理する構成とし、回路構成の簡単化を図ることができる。
【0010】
又7バイトのプリアンブルと、1バイトのフレーム開始デリミタと、6バイトの宛先アドレスと、6バイトの発信元アドレスと、2バイトのフレームタイプと、0〜1500バイトのデータと、0〜46バイトのデータ・パディングと、4バイトのCRCとによるフレーム構成とし、CRC演算機能を利用して、このCRC演算結果からデータ・パケットの属性を認識する方法が知られている(例えば、特許文献1参照)。
【0011】
又プリアンブルの長さを、優先度が高い場合は短く、優先度が低い場合は長くするように設定して、優先度に対応したフレーム送信を行う手段も知られている(例えば、特許文献2参照)。又プリアンブルと同一のビットパターンが含まれている場合に、再びプリアンブルとして誤検出する問題を回避する為に、プリアンブルの次にフレームのレングス情報とFCSとを含むヘッダを、プリアンブルを有するフレームの先頭に付加して伝送する手段も知られている(例えば、特許文献3参照)。
【0012】
【特許文献1】
特開2001−7860号公報
【特許文献2】
特開平6−252928号公報
【特許文献3】
特開2001−211177号公報
【0013】
【発明が解決しようとする課題】
端末側からのイーサフレームの先頭のプリアンブル(SFDを含む)は、前述のように、64ビット長(8オクテット長)とする場合が一般的である。従って、伝送制御装置に於いては、オクテット単位で処理する構成としている。しかし、端末側からの伝送途中に於けるノイズ等の影響によるプリアンブルのビット欠けや余分なビットの付加、或いは、端末側からオクテット単位ではないプリアンブルを付加して送信する構成を有する場合、オクテット単位で処理する伝送制御装置に於いては、受信したフレームの最後尾に、オクテット単位に対する端数となる余剰ビットが付加された状態として送出することになる。
【0014】
例えば、図5の(A)に示すオクテット単位の正常のプリアンブルが付加されているフレームに対して、(B)に示すように、オクテット単位の長さに対する端数aビットを有する場合、テンポラリバッファ41からオクテット単位で読出すことにより、フレームの後端には(8−a)ビット分の余剰ビットが付加された状態となる。それにより、出力処理部44の後段のレイヤ2処理等を行う処理部に於いて不都合が生じる問題がある。又流量制限処理部3に於けるギャップ期間GAPの算出が不正確となる問題がある。
【0015】
しかし、従来は、プリアンブル長が変化する場合として、そのプリアンブル長を、優先度に対応して変更することが知られているが、オクテット単位で処理する機能を有するシステムに於けるフレームの伝送処理過程で、プリアンブルがオクテット単位の長さでない場合の問題点は提起されていない。このようなオクテット単位の長さではないプリアンブルを含むフレームを処理する為の構成は、オクテット単位で処理する構成に比較して複雑となり、コストアップとなる問題がある。
本発明は、オクテット単位でフレーム処理を行うと共に、プリアンブルがオクテット単位でない場合でも、正常に処理することを目的とする。
【0016】
【課題を解決するための手段】
本発明の伝送制御装置は、図1を参照して説明すると、フレーム開始デリミタ(SFD)を含むプリアンブル、即ち、同期ビットを付加したフレームを受信処理して伝送する伝送制御装置に於いて、受信したフレームを一時的に蓄積するバッファ1と、このバッファ1から前記受信フレームをオクテット単位で読出して転送処理するフレーム転送部2と、前記受信フレームの同期用ビットの長さがオクテット単位の長さであるか否か且つオクテット単位の長さに対する端数又はこの端数を基にオクテット単位に対する余剰ビットを求めるプリアンブルカウンタ8等を含むチェック部と、このチェック部により求めた端数又は余剰ビットを示す情報を含むオクテット単位の長さの付加情報を前記受信フレームに付加する付加部と、前記チェック部により求めたオクテット単位の長さに対する端数又はこの端数を基に求めた余剰ビットの情報を基に前記受信フレーム長を求め、フレーム間に挿入するギャップ期間を算出する流量制限処理部3と、この流量制限処理部3を介して転送された前記受信フレームに付加した付加情報及び余剰ビットを削除したフレームを、流量制限処理部3により求めたギャップ期間をおいて転送処理する出力処理部4と、この出力処理部4からのフレームを伝送網に送出処理する処理部とを含む構成を備えている。
【0017】
又出力処理部4の前段に流量制限処理部3を設け、この流量制限処理部3は、チェック部による同期用ビットのオクテット単位に対する端数又は余剰ビットを示す情報を基に、受信フレーム長を求めて、フレーム間に挿入するギャップ期間を算出する構成を有するものである。
【0018】
本発明の伝送制御方法は、フレーム開始デリミタ(SFD)を含むプリアンブル、即ち、同期用ビットを付加したフレームを受信してバッファ1に一時的に蓄積し、オクテット単位で読出して伝送制御する伝送制御方法に於いて、バッファ1からオクテット単位で読出して、同期用ビットの長さをカウントしてオクテット単位の長さに対する端数を求める。例えば、SFD検出部6によるSFD前のプリアンブル長をプリアンブル長カウンタによりカウントし、カウント値を8で除算して余りを端数とすることができる。又この端数を基にオクテット単位で処理することによる余剰ビットを求める。この端数又は余剰ビットを示す情報を含むオクテット単位の付加情報を付加部に於いてフレームに付加し、出力処理部は、この付加情報を基に、余剰ビット及び付加情報を削除して送出する過程を含むものである。
【0019】
【発明の実施の形態】
図1は本発明の一実施の形態の説明図であり、1は図示を省略した端末側からのイーサフレームを受信して一時的に蓄積するバッファ(従来の図4のテンポラリバッファに相当する)、2はフレーム転送部、3は流量制限処理部、4は図示を省略したネットワーク側に対してイーサフレームを送出する出力処理部、5はフレーム長チェックカウンタ、6はSFD検出部、7はエラーチェック部、8はプリアンブル長チェックカウンタを示す。なお、プリアンブル長チェックカウンタ8をチェック部、又はSFD検出部6も含めてチェック部とすることができ、又はフレーム長チェックカウンタ5とSFD検出部6とエラーチェック部7とプリアンブル長チェックカウンタ8とを含めてチェック部とすることができる。又出力処理部4の後段に設ける処理部は図示を省略し、又付加情報をフレームに付加する付加部は、図示を省略しているが、例えば、フレーム転送部2に設けることができる。
【0020】
端末側から受信したイーサフレームは、フレーム開始デリミタ(SFD)を含むプリンアンブル、即ち、電気信号による同期用ビットを付加したイーサフレームで、バッファ1に順次蓄積される。そして、その過程でフレーム長チェックカウンタ5は、先頭のプリアンブルからカウントを開始してフレーム長を求める。このフレーム長が予め定められた所定範囲、即ち、規定の最短長以上であるか、又は最大長以下であるかをエラーチェック部7によりチェックする。チェック結果、所定範囲内のフレーム長であると、転送トリガをフレーム転送部2に加える。それにより、フレーム転送部は、バッファ1に蓄積されたフレームをオクテット単位で読出して転送する。又SFD検出部6は、プリアンブルがオクテット単位でない場合でも、フレームのSFDを検出することができる構成とする。
【0021】
又プリアンブル長チェックカウンタ8は、プリアンブルを先頭からカウントし、SFD検出部6によるSFD検出信号を基にプリアンブル長を求め、そのプリアンブル長を8で除算して端数(余り)を求める。即ち、プリアンブルが、オクテット単位の長さであるか否か及びその端数を求める。なお、オクテット単位の長さの場合は端数は0となる。例えば、図5の(B)に示すプリアンブル+SFDの長さが、オクテット単位の長さに対して端数a(ビット)を含む場合、オクテット単位の処理により、このフレームの後端には、図5の(B)に示すように(8−a)ビットの余剰ビットが付加された状態となる。従って、端数を求めることにより、この端数から余剰ビットを求めることができる。
【0022】
この端数又は余剰ビットを示す情報をオクテット単位の長さの付加情報としてフレームの例えば後端に付加する。この付加情報をフレームに付加する付加部は、バッファ1と出力処理部4との間に設けることができるもので、例えば、フレーム転送部2内に設けることができる。フレーム転送部2は、バッファ1からオクテット単位で読出して転送処理を行うものであり、又流量制限処理部3は、転送されたフレームの送出間隔を制御するもので、フレーム間に挿入する前述のギャップ期間GAPは、GAP=(100×フレーム長)÷流入制限値−フレーム長として算出し、出力処理部4に転送する。
【0023】
この場合、余剰ビットを含まないフレーム長として算出するもので、その為に、前述の付加情報による端数を識別し、全フレーム長から(1オクテット−端数)=余剰ビットを求めて、或いは、プリアンブル長チェックカウンタ8を含むチェック部からの端数の情報又は余剰ビットの情報を基に、全フレーム長からこの余剰ビットを除いて実際のフレーム長を求め、前述のギャップ期間を算出する。従って、オクテット単位で処理する構成に於いて、端末側がオクテット単位ではない同期用ビットを含むフレームを送出する場合又は伝送過程に於けるノイズの影響による同期用ビットの付加或いは欠落等により、同期用ビットがオクテット単位に対する端数を含む場合でも、実際のフレーム長を基に流量制限制御を行うことができるから、伝送制御装置から伝送網に送出する帯域制御の精度を向上することができる。
【0024】
図2は内部転送フレームの説明図であり、プリアンブル+SFDの同期用ビットがオクテット単位の長さに対して端数aビットを含む場合、前述のように、バッファ1からオクテット単位で読出して転送することにより、FCSの後に、(8−a)の余剰ビットが付加されることになる。チェック部は、同期用ビット長を求めて、8で除算し、余りの端数aビットを求め、付加部に於いて、この端数aビットの情報をオクテット単位の長さの付加情報HDとして、又は求めた端数から余剰ビットを求めて、この余剰ビットの情報をオクテット単位の付加情報HDとして、例えば、図示のように、(8−a)の余剰ビットの後に付加する。なお、同期用ビット長がオクテット単位の長さの場合は、端数は0となり、余剰ビットも0となる。この0の端数又は余剰ビットの情報を付加情報によって表すものである。
【0025】
従って、少なくとも出力処理部4に転送されるフレームには、付加情報HDが付加されており、流量制限処理部3は、この付加情報HD又はプリアンブル長チェックカウンタ8等によるチェック部からの端数の情報を基に、フレーム間に挿入するギャップ期間GAPを算出することができる。
【0026】
又出力処理部4は、付加情報HDを識別して端数の情報から余剰ビットを求め、又余剰ビットを示す情報を基に、フレームの後端に付加された状態の余剰ビットを削除し、且つ付加情報HDを削除し、バッファ1により受信した状態のフレームを復元して次段の処理部(図示を省略)に転送し、処理部に於いてレイヤ2処理、例えば、余剰ビットが削除されていることにより、フレームチェックシーケンス処理やMACアドレスによる出力ポートの検索処理等を行ってフレームを送出する。
【0027】
図3は本発明の他の実施の形態の説明図であり、11はバッファ、12はフレーム転送部、13は流量制限処理部、14は出力処理部、15はフレーム長チェックカウンタ、16はSFD検出部、17はエラーチェック部、18はプリアンブル長チェックカウンタ、19はプリアンブル生成部(同期用ビット生成部)を示す。
【0028】
バッファ11と、フレーム長チェックカウンタ15と、SFD検出部16と、エラーチェック部17と、プリアンブル長チェックカウンタ18とは、図1に示す同一名称の構成と同一の機能を有するものであり、プリアンブル+SFDの同期用ビットがオクテット単位の長さに対する端数を求め、この端数又は端数から求めた余剰ビットを示す情報のオクテット単位の長さの付加情報HD(図2参照)を付加部(図示せず)に於いて付加し、流量制限処理部13は、付加情報HDによる端数の情報、又はプリアンブル長チェックカウンタ18等のチェック部からの端数又は余剰ビットを示す情報を基に、実際のフレーム長を求めて、フレーム間のギャップ期間GAPを求め、出力処理部14に対しては、このギャップ期間GAPをおいてフレームを転送する。
【0029】
出力処理部14は、この付加情報HDによる端数の情報又は余剰ビットの情報による余剰ビットと、付加情報と、先頭の同期用ビットとを削除したフレーム本体の先頭に、プリアンブル生成部19に於いて生成したプリアンブル+SFDの同期用ビットを付加する。この同期用ビットを所定長、例えば、オクテット単位の長さとし、フレーム本体の先頭に付加することにより、オクテット単位の長さのフレーム構成として、次段の処理部に転送する。
【0030】
従って、この実施の形態の伝送制御装置からは、端末から受信したフレームの同期用ビットがオクテット単位の長さでない場合でも、オクテット単位の長さの同期用ビットが付加されて送出されるから、受信側に於いては、オクテット単位で処理する構成によりフレームの受信処理が可能となる。なお、プリアンブル生成部19を、受信側の処理構成に対応して、オクテット単位の長さではない予め設定された長さの同期用ビットを生成する構成することも可能である。
【0031】
(付記1)同期用ビットを付加したフレームを受信処理して伝送する伝送制御装置に於いて、受信した前記フレームを一時的に蓄積するバッファと、該バッファから前記フレームをオクテット単位で読出して転送処理するフレーム転送部と、前記同期用ビットの長さがオクテット単位の長さであるか否か且つオクテット単位の長さに対する端数又は該端数を基に余剰ビットを求めるチェック部と、該チェック部により求めた前記端数又は余剰ビットを示す情報を含むオクテット単位の長さの付加情報を前記フレームに付加する付加部と、該付加部により前記フレームに付加した前記付加情報を基に前記余剰ビット及び前記付加情報を削除して、フレームを送出する出力処理部と、該出力処理部からのフレームを送出処理する処理部とを備えたことを特徴とする伝送制御装置。
【0032】
(付記2)前記出力処理部の前段に流量制限処理部を設け、該流量制限処理部は、前記チェック部による前記同期用ビットのオクテット単位に対する端数又は該端数を基に求めた余剰ビットの情報を基に、受信フレーム長を求めて、該フレーム間に挿入するギャップ期間を算出する構成を有することを特徴とする付記1記載の伝送制御装置。
(付記3)前記出力処理部は、前記付加情報を基に前記端数と1オクテットとの差分に相当する余剰ビットと前記付加情報と前記同期用ビットとを削除したフレームに対して、所定長の同期用ビットを生成して付加する為の同期用ビット生成部を有することを特徴とする付記1記載の伝送制御装置。
【0033】
(付記4)同期用ビットを付加したフレームを受信してバッファに一時的に蓄積し、オクテット単位で読出して伝送制御する伝送制御方法に於いて、前記バッファからオクテット単位で読出して、前記同期用ビットの長さをカウントしてオクテット単位の長さに対する端数を求め、該端数又は該端数を基に求めた余剰ビットを示す情報を含むオクテット単位の付加情報を付加部に於いて前記フレームに付加し、出力処理部に於いて前記付加情報を基に、前記余剰ビット及び前記付加情報を削除して送出する過程を含むことを特徴とする伝送制御方法。
【0034】
(付記5)前記バッファからオクテット単位で読出して、前記同期用ビットの長さをカウントしてオクテット単位の長さに対する端数を求め、該端数又は該端数を基に求めた余剰ビットを示す情報を含むオクテット単位の付加情報を付加部に於いてフレームに付加し、流量制限処理部に於いて前記付加情報により前記端数を認識して、前記余剰ビットを除くフレーム長を基に、フレーム間のギャップ期間を算出して、該ギャップ期間をおいて出力処理部へフレームを転送する過程を含むことを特徴とする付記4記載の伝送制御方法。
(付記6)前記出力処理部に於いて前記余剰ビットと付加情報と共に同期用ビットを削除したフレーム本体の先頭に、同期用ビットの生成部により生成した所定長の同期用ビットを付加して送出する過程を含むことを特徴とする付記4又は5記載の伝送制御方法。
【0035】
【発明の効果】
以上説明したように、本発明は、オクテット単位で処理する構成のバッファ1とフレーム転送部2と出力処理部4とを含み、又流量制限処理部3を含み、バッファ1に一時的に蓄積したフレームの先頭のプリアンブル+SFDの同期用ビットのオクテット単位の長さに対する端数を求め、この端数又はこの端数を基に求めた余剰ビットを示す情報を含む付加情報をフレームに付加し、出力処理部4は、この付加情報を基に、(8−端数)=余剰ビットの余剰ビットと付加情報とを削除したフレームを、処理部に転送するものであり、同期用ビットがオクテット単位の長さでない場合でも、オクテット単位の構成で正しい処理が可能となり、その場合の余剰ビットを削除したフレームとして送出することができる。
【0036】
又受信側の構成に対応して、受信フレームの同期用ビットと同一の同期用ビット或いは新たなオクテット単位の長さの同期用ビットを生成して付加することができる。又端数の情報により流量制限処理部3に於ける流量制限処理が、実際のフレーム長に基づいて行うことができ、従って、正確な流量制御が可能となる利点がある。
【図面の簡単な説明】
【図1】本発明の一実施の形態の説明図である。
【図2】内部転送フレームの説明図である。
【図3】本発明の他の実施の形態の説明図である。
【図4】従来の伝送制御装置の説明図である。
【図5】フレーム構成の説明図である。
【符号の説明】
1 バッファ
2 フレーム転送部
3 流量制限処理部
4 出力処理部
5 フレーム長チェックカウンタ
6 SFD検出部
7 エラーチェック部
8 プリアンブル長チェックカウンタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a transmission control apparatus having a configuration for processing a frame synchronization bit is added in octets.
[0002]
[Prior art]
It is known that a transmission control apparatus having an IP (Internet Protocol) interface has a function of mapping and transmitting a frame from a terminal side to a SONET / SDH (Synchronous Optical Network / Synchronous Digital Hierarchy) interface. Yes. In such a transmission system, means for performing flow rate control according to QoS (Quality of Service) is applied.
[0003]
In this flow rate control by QoS, a gap period GAP to be inserted between frames is obtained based on information of QoS and frame length. The gap period GAP is, for example,
GAP = (100 × frame length) ÷ inflow limit value−frame length. Since an Ethernet frame having a length including the preamble is transmitted on the network, it is necessary to determine the frame length including the preamble in order to determine the gap period GAP.
[0004]
Generally, before performing flow control, various error checks and performance monitor checks of received frames are performed. Further, the transmission frame includes a preamble as a synchronization bit, an SFD (Start Flag Delimiter), and has a format configuration including address information, data, check information, and the like of the transmission source and the transmission destination. Various checks are performed on the subsequent frame body by SFD detection.
[0005]
Normally, the preamble includes 64 bytes (8 octets) including the SFD, and the frame length excluding the preamble is 64 to 1518 bytes (64 octets to 1518 octets). When a VLAN (Virtual Local Area Network) tag or the like is added, the number of bytes such as the tag is added as the frame length. Since the normal frame configuration is a configuration in units of octets, the frame processing unit has a circuit configuration based on the octet length.
[0006]
FIG. 4 shows a main part of a conventional transmission control apparatus, 41 is a temporary buffer for receiving and temporarily storing an Ethernet frame from the terminal side, 42 is a frame transfer unit, 43 is a flow rate limiting processing unit, and 44 is a network. An output processing unit to be sent to the side, 45 is a frame length check counter, 46 is an SFD detection unit, and 47 is an error check unit. Note that a processing unit that performs destination transmission processing of a frame subsequent to the output processing unit 44 is not shown.
[0007]
The frame length check counter 45 counts all frame lengths including the preamble. The SFD detection unit 46 detects the SFD added next to the preamble and notifies the error check unit 47 of it. The error check unit 47 checks whether the frame length of the frame body after the SFD exceeds a specified maximum value or is shorter than the minimum value. If the check result is satisfactory, a transfer trigger is added to the frame transfer unit 42 so that the frame transfer unit 42 reads the frames temporarily stored in the temporary buffer 41 and transfers them to the flow rate restriction processing unit 43.
[0008]
The flow restriction processing unit 43 calculates the gap period GAP described above based on the frame length information including the preamble obtained by the frame length check counter 45, and the period between the previously sent frame and the currently sent frame is calculated. When the calculated gap period GAP is reached, the output processing unit 44 is notified to transmit the current frame. Thereby, the frame can be transmitted to the network side in a desired band.
[0009]
The frame configuration includes, for example, a preamble + SFD, an address portion AD, a data portion, and an FCS (Frame Check Sequence), as schematically shown in FIG. 5A, and is configured in units of octets (8 bits). It is what has. Therefore, each part of the transmission control device is configured to process in units of octets, and the circuit configuration can be simplified.
[0010]
Also, a 7-byte preamble, a 1-byte frame start delimiter, a 6-byte destination address, a 6-byte source address, a 2-byte frame type, 0 to 1500 bytes of data, and 0 to 46 bytes of data There is known a method of recognizing an attribute of a data packet from a CRC calculation result by using a CRC calculation function by using a data padding and a 4-byte CRC frame structure (see, for example, Patent Document 1). .
[0011]
There is also known a means for transmitting a frame corresponding to a priority by setting the length of the preamble to be short when the priority is high and long when the priority is low (for example, Patent Document 2). reference). If the same bit pattern as the preamble is included, the header including the length information of the frame and the FCS is added to the beginning of the frame having the preamble in order to avoid the problem of erroneous detection as a preamble again. There is also known a means for transmitting in addition (see, for example, Patent Document 3).
[0012]
[Patent Document 1]
JP 2001-7860 A [Patent Document 2]
Japanese Patent Application Laid-Open No. 6-252928 [Patent Document 3]
Japanese Patent Laid-Open No. 2001-211177
[Problems to be solved by the invention]
The preamble (including SFD) at the beginning of the Ethernet frame from the terminal side is generally 64 bits long (8 octets long) as described above. Therefore, the transmission control apparatus is configured to process in units of octets. However, if there is a configuration in which preamble bits are missing or extra bits are added due to the influence of noise or the like during transmission from the terminal side, or a preamble that is not in octet units is added from the terminal side, transmission is performed in octet units. In the transmission control apparatus that processes the above, a surplus bit that is a fraction with respect to the octet unit is added to the end of the received frame and sent out.
[0014]
For example, when a normal octet preamble shown in (A) of FIG. 5 has a fraction a bit with respect to the octet length as shown in (B), the temporary buffer 41 Is read out in octets, so that (8-a) bits of extra bits are added to the rear end of the frame. As a result, there is a problem that inconvenience occurs in a processing unit that performs layer 2 processing and the like subsequent to the output processing unit 44. Further, there is a problem that the calculation of the gap period GAP in the flow rate restriction processing unit 3 becomes inaccurate.
[0015]
Conventionally, however, it is known that the preamble length changes in accordance with the priority when the preamble length changes, but frame transmission processing in a system having a function of processing in units of octets. There are no issues raised in the process when the preamble is not octets long. Such a configuration for processing a frame including a preamble that is not in octet length is more complicated than the configuration in which processing is performed in octet units, and there is a problem that costs are increased.
An object of the present invention is to perform frame processing in units of octets and to perform normal processing even when the preamble is not in units of octets.
[0016]
[Means for Solving the Problems]
The transmission control apparatus of the present invention will be described with reference to FIG. 1. In the transmission control apparatus for receiving and processing a preamble including a frame start delimiter (SFD), that is, a frame to which a synchronization bit is added, A buffer 1 that temporarily stores the received frames, a frame transfer unit 2 that reads and processes the received frame from the buffer 1 in octets, and a synchronization bit length of the received frame is a length in octets And a check unit including a preamble length counter 8 that obtains a fraction to the length of the octet unit or a surplus bit for the octet unit based on the fraction, and information indicating the fraction or the surplus bit obtained by the check unit and adding unit for adding length information octets added to the received frame including the check A flow rate restriction processing unit 3 for calculating the gap period to be inserted between frames by determining the received frame length based on the fraction of the octet unit length obtained by the unit or the information of the surplus bits obtained based on this fraction; An output processing unit 4 for performing a transfer process on the frame in which the additional information added to the received frame transferred through the flow rate restriction processing unit 3 and the surplus bits are deleted, with a gap period obtained by the flow rate restriction processing unit 3 ; And a processing unit that sends out a frame from the output processing unit 4 to the transmission network .
[0017]
Also, a flow rate limiting processing unit 3 is provided in front of the output processing unit 4, and this flow rate limiting processing unit 3 obtains the received frame length based on the information indicating the fraction of the synchronization bit by the check unit or the surplus bit. Thus, the gap period to be inserted between frames is calculated.
[0018]
According to the transmission control method of the present invention, a preamble including a frame start delimiter (SFD), that is, a frame to which a synchronization bit is added is received, temporarily stored in the buffer 1, and read and controlled in units of octets. In the method, data is read from the buffer 1 in octets, the length of the synchronization bits is counted, and a fraction with respect to the length in octets is obtained. For example, the preamble length before SFD by the SFD detector 6 is counted by a preamble length counter, and the count value is divided by 8 to make the remainder a fraction. Based on this fraction, surplus bits are obtained by processing in units of octets. A process of adding additional information in units of octets including information indicating this fraction or surplus bits to the frame in the adding section, and the output processing section deleting the surplus bits and the additional information based on this additional information and transmitting it Is included.
[0019]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is an explanatory diagram of an embodiment of the present invention. 1 is a buffer for receiving and temporarily storing an Ethernet frame from a terminal (not shown) (corresponding to the conventional temporary buffer in FIG. 4). 2 is a frame transfer unit, 3 is a flow rate restriction processing unit, 4 is an output processing unit that sends an Ethernet frame to the network side (not shown), 5 is a frame length check counter, 6 is an SFD detection unit, and 7 is an error. A check unit 8 indicates a preamble length check counter. The preamble length check counter 8 may be a check unit including the check unit or the SFD detection unit 6, or the frame length check counter 5, the SFD detection unit 6, the error check unit 7, the preamble length check counter 8, Can be used as a check section. Further, the processing unit provided at the subsequent stage of the output processing unit 4 is not shown, and the adding unit for adding additional information to the frame is omitted, but can be provided in the frame transfer unit 2, for example.
[0020]
The Ether frame received from the terminal side is sequentially stored in the buffer 1 as a preamble including a frame start delimiter (SFD), that is, an Ether frame to which a synchronization bit by an electric signal is added. In this process, the frame length check counter 5 starts counting from the first preamble and obtains the frame length. The error check unit 7 checks whether the frame length is a predetermined range, that is, whether it is longer than a specified minimum length or shorter than a maximum length. If the frame length is within the predetermined range as a result of the check, a transfer trigger is added to the frame transfer unit 2. Thereby, the frame transfer unit reads and transfers the frames accumulated in the buffer 1 in units of octets. The SFD detection unit 6 is configured to be able to detect the SFD of the frame even when the preamble is not in octets.
[0021]
The preamble length check counter 8 counts the preamble from the beginning, obtains the preamble length based on the SFD detection signal from the SFD detector 6, and divides the preamble length by 8 to obtain a fraction (remainder). That is, whether or not the preamble is octet length and its fraction are obtained. If the length is in octets, the fraction is 0. For example, when the length of the preamble + SFD shown in FIG. 5B includes a fraction a (bits) with respect to the length in octets, the rear end of this frame is displayed in FIG. (B) of (8-a) bits are added as shown in (B) of FIG. Therefore, by obtaining the fraction, surplus bits can be obtained from this fraction.
[0022]
Information indicating this fraction or surplus bits is added to, for example, the rear end of the frame as additional information having a length in octets. The adding unit for adding the additional information to the frame can be provided between the buffer 1 and the output processing unit 4, and can be provided in the frame transfer unit 2, for example. The frame transfer unit 2 reads data from the buffer 1 in units of octets and performs transfer processing. The flow rate restriction processing unit 3 controls the transmission interval of the transferred frames. The gap period GAP is calculated as GAP = (100 × frame length) ÷ inflow limit value−frame length and transferred to the output processing unit 4.
[0023]
In this case, it is calculated as a frame length that does not include surplus bits. For this purpose, the fraction by the above-mentioned additional information is identified, and (1 octet-fraction) = surplus bits from the total frame length, or the preamble. Based on the fraction information or surplus bit information from the check unit including the length check counter 8, the actual frame length is obtained by excluding this surplus bit from the total frame length, and the above-described gap period is calculated. Therefore, in the configuration in which processing is performed in units of octets, when the terminal side sends a frame including synchronization bits that are not in octets, or because of synchronization bit addition or omission due to the influence of noise in the transmission process, etc. Even when the bit includes a fraction with respect to the octet unit, the flow rate restriction control can be performed based on the actual frame length, so that it is possible to improve the accuracy of the band control transmitted from the transmission control device to the transmission network.
[0024]
FIG. 2 is an explanatory diagram of an internal transfer frame. When the synchronization bit of the preamble + SFD includes a fractional bit a with respect to the length of the octet, it is read out from the buffer 1 and transferred in units of octets as described above. Thus, (8-a) surplus bits are added after the FCS. The check unit obtains the synchronization bit length and divides by 8 to obtain a remainder a bit. In the addition unit, the fraction a bit information is used as additional information HD having a length in octets, or A surplus bit is obtained from the obtained fraction, and the information on the surplus bit is added as additional information HD in octets, for example, after the surplus bit of (8-a) as shown in the figure. Note that when the synchronization bit length is in octets, the fraction is 0 and the surplus bits are also 0. This fraction of 0 or surplus bit information is represented by additional information.
[0025]
Therefore, the additional information HD is added to at least the frame transferred to the output processing unit 4, and the flow rate limiting processing unit 3 uses this additional information HD or information on the fraction from the check unit by the preamble length check counter 8 or the like. Based on the above, the gap period GAP inserted between frames can be calculated.
[0026]
The output processing unit 4 identifies the additional information HD, obtains a surplus bit from the fractional information, deletes the surplus bit in a state added to the rear end of the frame based on the information indicating the surplus bit, and The additional information HD is deleted, the frame received by the buffer 1 is restored and transferred to the processing unit (not shown) in the next stage, and the layer 2 processing, for example, surplus bits are deleted in the processing unit. Therefore, the frame is transmitted by performing a frame check sequence process, an output port search process using a MAC address, and the like.
[0027]
FIG. 3 is an explanatory diagram of another embodiment of the present invention, in which 11 is a buffer, 12 is a frame transfer unit, 13 is a flow rate limiting processing unit, 14 is an output processing unit, 15 is a frame length check counter, and 16 is an SFD. A detection unit, 17 is an error check unit, 18 is a preamble length check counter, and 19 is a preamble generation unit (synchronization bit generation unit).
[0028]
The buffer 11, the frame length check counter 15, the SFD detection unit 16, the error check unit 17, and the preamble length check counter 18 have the same functions as the components having the same names shown in FIG. The fraction of the + SFD synchronization bit with respect to the length in octets is obtained, and additional information HD (see FIG. 2) of the length in octets of the information indicating the surplus bits obtained from this fraction or the fraction is added (not shown). ) And the flow rate restriction processing unit 13 determines the actual frame length based on the fraction information by the additional information HD or the information indicating the fraction or surplus bits from the check unit such as the preamble length check counter 18. The gap period GAP between the frames is obtained, and the output processing unit 14 sets the gap period GAP and sets the frame period GAP. To transfer the beam.
[0029]
The output processing unit 14 uses the preamble generation unit 19 at the head of the frame body from which the surplus bits by the additional information HD or the surplus bits by the surplus bit information, the additional information, and the head synchronization bit are deleted. The generated preamble + SFD synchronization bit is added. The synchronization bit is set to a predetermined length, for example, an octet unit length, and is added to the head of the frame body to transfer the frame configuration to the next stage as a frame configuration having an octet unit length.
[0030]
Therefore, from the transmission control device of this embodiment, even if the synchronization bit of the frame received from the terminal is not in octet length, the synchronization bit of octet length is added and transmitted, On the receiving side, frame reception processing can be performed by a configuration in which processing is performed in units of octets. The preamble generation unit 19 can also be configured to generate a synchronization bit having a preset length that is not a length in octets, corresponding to the processing configuration on the reception side.
[0031]
(Supplementary note 1) In a transmission control apparatus for receiving and transmitting a frame with a synchronization bit added, a buffer for temporarily storing the received frame, and reading and transferring the frame from the buffer in units of octets A frame transfer unit to be processed, a check unit for determining whether the length of the synchronization bit is in octets and a fraction with respect to the length in octets or a surplus bit based on the fraction, and the check unit An additional unit that adds additional information of octet length including information indicating the fraction or surplus bit obtained by the step, and the surplus bits and the extra bits based on the additional information added to the frame by the additional unit An output processing unit that deletes the additional information and sends out a frame; and a processing unit that sends out a frame from the output processing unit Transmission control apparatus according to claim and.
[0032]
(Supplementary Note 2) A flow rate limiting processing unit is provided in front of the output processing unit, and the flow rate limiting processing unit is a fraction of the synchronization bit by the check unit with respect to an octet unit, or information on surplus bits obtained based on the fraction. The transmission control apparatus according to appendix 1, wherein a transmission frame length is calculated based on the received frame length and a gap period inserted between the frames is calculated.
(Supplementary Note 3) The output processing unit has a predetermined length for a frame in which the surplus bits corresponding to the difference between the fraction and 1 octet, the additional information, and the synchronization bit are deleted based on the additional information. The transmission control apparatus according to appendix 1, further comprising a synchronization bit generation unit for generating and adding a synchronization bit.
[0033]
(Supplementary Note 4) In a transmission control method for receiving a frame with a synchronization bit added, temporarily storing it in a buffer, reading it in octets, and controlling transmission, reading from the buffer in octets, and The bit length is counted to obtain a fraction relative to the length in octets, and additional information in octets including information indicating the surplus bits obtained based on the fraction or the fraction is added to the frame in the addition unit. And a transmission control method comprising: a step of deleting and transmitting the surplus bits and the additional information based on the additional information in the output processing unit.
[0034]
(Supplementary Note 5) Reading from the buffer in octets, counting the length of the synchronization bit to obtain a fraction with respect to the length in octets, and indicating the fraction or the surplus bit obtained based on the fraction Including additional information in units of octets to be added to the frame in the adding unit, the flow rate limiting processing unit recognizing the fraction by the additional information, and based on the frame length excluding the surplus bits, the gap between the frames The transmission control method according to supplementary note 4, including a step of calculating a period and transferring a frame to the output processing unit with the gap period.
(Supplementary note 6) A synchronization bit having a predetermined length generated by the synchronization bit generation unit is added to the head of the frame body from which the synchronization bit is deleted together with the surplus bits and additional information in the output processing unit and transmitted. 6. The transmission control method according to appendix 4 or 5, characterized by including a process of
[0035]
【The invention's effect】
As described above, the present invention includes the buffer 1 configured to process in units of octets, the frame transfer unit 2, and the output processing unit 4, and also includes the flow rate limiting processing unit 3, and is temporarily stored in the buffer 1. A fraction with respect to the length of the first preamble of the frame + the synchronization bit of the SFD in units of octets is obtained, additional information including information indicating this fraction or the surplus bit obtained based on this fraction is added to the frame, and the output processing unit 4 Is based on this additional information, (8-fraction) = a frame in which the surplus bits of the surplus bits and the additional information are deleted is transferred to the processing unit, and the synchronization bit is not in octet length However, correct processing is possible with a configuration in units of octets, and the surplus bits in that case can be sent out as a deleted frame.
[0036]
Corresponding to the configuration on the receiving side, a synchronization bit identical to the synchronization bit of the received frame or a synchronization bit having a new octet length can be generated and added. Further, the flow rate limiting process in the flow rate limiting processing unit 3 can be performed based on the actual frame length based on the fraction information, and therefore there is an advantage that accurate flow rate control is possible.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram of an embodiment of the present invention.
FIG. 2 is an explanatory diagram of an internal transfer frame.
FIG. 3 is an explanatory diagram of another embodiment of the present invention.
FIG. 4 is an explanatory diagram of a conventional transmission control apparatus.
FIG. 5 is an explanatory diagram of a frame configuration.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Buffer 2 Frame transfer part 3 Flow rate restriction | limiting part 4 Output processing part 5 Frame length check counter 6 SFD detection part 7 Error check part 8 Preamble length check counter

Claims (1)

同期用ビットを付加したフレームを受信処理して伝送網に伝送する伝送制御装置に於いて、
受信した前記フレームを一時的に蓄積するバッファと、
該バッファから前記フレームをオクテット単位で読出して転送処理するフレーム転送部と、
前記同期用ビットの長さがオクテット単位の長さであるか否か且つオクテット単位の長さに対する端数又は該端数を基に余剰ビットを求めるチェック部と、
該チェック部により求めた前記端数又は前記余剰ビットを示す情報を含むオクテット単位の長さの付加情報を前記フレームに付加してオクテット単位の長さで転送処理する付加部と、
該付加部により前記フレームに付加した前記付加情報を基に前記受信フレーム長を求めて、フレーム間に挿入するギャップ期間を算出する流量制限処理部と、
前記付加部により前記フレームに付加した前記付加情報を基に求めた前記余剰ビット及び前記付加情報を削除したフレームを、前記流量制限処理部により算出した前記ギャップ期間をおいて転送する出力処理部と、
該出力処理部からのフレームを伝送網に送出処理する処理部と
を備えたことを特徴とする伝送制御装置。
In a transmission control device for receiving and processing a frame with a synchronization bit added to the transmission network ,
A buffer for temporarily storing the received frame;
A frame transfer unit that reads out the frame from the buffer in units of octets and performs transfer processing;
A check unit that determines whether or not the length of the synchronization bit is a length in octets and a fraction with respect to the length in octets or a surplus bit based on the fraction;
And adding unit for transferring treated with length in octets of the additional information of the length of the fractional or octets including information indicating the surplus bit is added to the frame determined by said checking unit,
A flow rate limiting processing unit for calculating a gap period to be inserted between frames by obtaining the received frame length based on the additional information added to the frame by the adding unit;
Output processing unit for transferring a frame to delete the excess bits and the additional information obtained on the basis of the additional information added to the frame by the adding unit, at the gap period calculated by the flow rate limit processing unit When,
A transmission control device comprising: a processing unit that transmits a frame from the output processing unit to a transmission network .
JP2003084189A 2003-03-26 2003-03-26 Transmission control device Expired - Fee Related JP4074992B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003084189A JP4074992B2 (en) 2003-03-26 2003-03-26 Transmission control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003084189A JP4074992B2 (en) 2003-03-26 2003-03-26 Transmission control device

Publications (2)

Publication Number Publication Date
JP2004297253A JP2004297253A (en) 2004-10-21
JP4074992B2 true JP4074992B2 (en) 2008-04-16

Family

ID=33399407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003084189A Expired - Fee Related JP4074992B2 (en) 2003-03-26 2003-03-26 Transmission control device

Country Status (1)

Country Link
JP (1) JP4074992B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5924880B2 (en) * 2011-07-12 2016-05-25 ラピスセミコンダクタ株式会社 Data communication system, preamble length optimization method, and communication apparatus

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6471345A (en) * 1987-09-11 1989-03-16 Matsushita Electric Ind Co Ltd Data transmitter
JPH03250828A (en) * 1990-02-28 1991-11-08 Mitsubishi Electric Corp Cell/frame synchronizing method
JPH04129339A (en) * 1990-09-20 1992-04-30 Fujitsu Ltd Data transmission system
JP3180500B2 (en) * 1993-03-01 2001-06-25 ヤマハ株式会社 Bus type LAN for real-time communication
JPH11112487A (en) * 1997-10-03 1999-04-23 Toshiba Corp Synchronization recovery system
US7180851B1 (en) * 1999-06-24 2007-02-20 Agilent Technologies, Inc. Method for quick identification of special data packets
JP2001028581A (en) * 1999-07-14 2001-01-30 Canon Inc Data transmitting system
JP2001211177A (en) * 2000-01-25 2001-08-03 Nec Corp Frame transmission device and frame transmitting method used for same
JP3478223B2 (en) * 2000-02-10 2003-12-15 日本電気株式会社 Stuffing control circuit

Also Published As

Publication number Publication date
JP2004297253A (en) 2004-10-21

Similar Documents

Publication Publication Date Title
EP1855416B2 (en) A method for measurting the performance parameters of the multi-protocol label switching network
US7113485B2 (en) Latency evaluation in a ring network
EP2520059B1 (en) Performing a time measurement in a communication network
EP2374241B1 (en) Measurement of data loss in a communication network
EP4050858A1 (en) Method and device for updating mapping
US7349359B2 (en) System and method for synchronizing broadcast/multicast service content frames in a mobile communication system
WO2018099048A1 (en) Method and device for processing time stamp, and storage medium
US20010009547A1 (en) Data communications system
EP1596547A2 (en) Method for constructing and processing a frame in synchronous ethernet
WO2006033201A1 (en) Node device, packet control device, radio communication device, and transmission control method
JP2004320785A (en) Testing apparatus for network communication and method
US20020055365A1 (en) Radio communication system using timeout control with flexible timeout interval setting
CN108881031B (en) Self-adaptive reliable data transmission method based on SDN network
EP3648402A1 (en) Method for sending detection block and method for receiving detection block, and network device and system
US20150016473A1 (en) Transmission apparatus, transmission system, and transmission method
JP2005012381A (en) Device and method for transferring data, data communication system using the same and program
US20120140673A1 (en) Inter-frame gap controller, traffic transmitter, transmission apparatus and inter-frame gap control method
US20220006745A1 (en) Service sending and receiving methods, device, system and storage medium
US7561524B2 (en) Method for measuring performance of MPLS LSP
JP4074992B2 (en) Transmission control device
JP7135217B2 (en) Packet scheduling methods, related devices, and computer storage media
EP2661015A1 (en) Method and system for detecting signal degrade (sd) alarm
JP2016005023A (en) Packet transmitter and packet receiver
JP2021533691A (en) Methods and equipment for processing service bitstreams
JP2001237893A (en) Data communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050811

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070904

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071101

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080117

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

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees