JP2004023301A - Utopia level 2 priority control system, priority control method therefor and priority control program thereof - Google Patents
Utopia level 2 priority control system, priority control method therefor and priority control program thereof Download PDFInfo
- Publication number
- JP2004023301A JP2004023301A JP2002173304A JP2002173304A JP2004023301A JP 2004023301 A JP2004023301 A JP 2004023301A JP 2002173304 A JP2002173304 A JP 2002173304A JP 2002173304 A JP2002173304 A JP 2002173304A JP 2004023301 A JP2004023301 A JP 2004023301A
- Authority
- JP
- Japan
- Prior art keywords
- phy
- cell transmission
- phy layer
- reception
- waiting time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、ATMレイヤ機能部と複数のPHYレイヤデバイスを有するPHYレイヤ機能部とを接続する方式に関し、優先順位により接続を制御する技術に関する。
【0002】
【従来の技術】
ATM(Asyncronous Transfer Mode)レイヤ機能部と複数のPHY(Physical Layer Protocol)レイヤデバイスを有するPHYレイヤ機能部とを接続する方式として、ATMフォーラムにてUTOPIA(Universal Test and Operation PHY Interface for ATM)レベル2が規定されている。
【0003】
このUTOPIAレベル2の規定では、ATMレイヤ機能部からPHYレイヤ機能部に対してPHY番号を通知することによりポーリングを実施し、複数のPHYレイヤデバイスのうちから、セルデータの送受を実施するPHYレイヤデバイスを選択するという規定のみで、PHYレイヤデバイスの選択法に関しては規定がない。
【0004】
現在実現されているATMレイヤ機能部では、回路構成を単純化するために、選択中のPHYレイヤデバイスのPHY番号から昇順、または降順にポーリングし、PHYレイヤデバイスの各々が返送するセル送受信可否(以降、CLAV:CELL AVAILABLE)信号を調べ、そして、複数のPHYレイヤデバイスの内から、論理値が“1”であるCLAV信号を最初に返送してきたPHYレイヤデバイスを選択している。ここで、CLAV信号の論理値 が“1”であることは、セルの送受信を許可することを意味する。
【0005】
【発明が解決しようとする課題】
このような従来のATMレイヤ機能部では、各PHYレイヤデバイスに優先順位を設定することが出来なく、また、優先順位を動的に変更することが出来ないという課題を有している。
【0006】
本発明の目的は、従来のこの様な課題を解決し、PHYレイヤデバイスに、動的に変更可能な優先順位を付加し、この優先順位によりPHYレイヤデバイスを柔軟に選択することで、PHYレイヤデバイスの選択の公平性を保つ技術を提供することにある。
【0007】
【課題を解決するための手段】
本発明のUTOPIAレベル2優先制御方式は、ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方式であって、
複数PHYレイヤデバイスの各々に重み係数(優先順位)を設定するPHY重み係数設定手段と、
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタ手段と、
前記PHY重み係数設定手段に設定されている重み係数(優先順位)と前記待ち時間カウンタ手段による待ち時間とに基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とする。
【0008】
また、本発明のUTOPIAレベル2優先制御方式は、
前記PHY重み係数設定手段は、任意時での外部からの入力により、複数PHYレイヤデバイスの各々の重み係数(優先順位)を設定と設定変更することを特徴とする。
【0009】
さらに、本発明のUTOPIAレベル2優先制御方式は、
前記PHY選択決定手段は、前記PHY重み係数設定手段に設定されている重み係数(優先順位)と前記待ち時間カウンタ手段による待ち時間との加算値により、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定することを特徴とする。
【0010】
また、本発明のUTOPIAレベル2優先制御方法は、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方法であって、複数PHYレイヤデバイスの各々に重み係数(優先順位)を設定するPHY重み係数設定ステップと、
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタステップと、
前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)と前記待ち時間カウンタステップにより計数されている待ち時間との加算値に基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とする。
【0011】
さらに、本発明のUTOPIAレベル2優先制御プログラムは、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御する優先制御プログラムであって、複数PHYレイヤデバイスの各々に重み係数(優先順位)を設定するPHY重み係数設定処理と、
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタ処理と、
前記PHY重み係数設定処理により設定されている重み係数(優先順位)と前記待ち時間カウンタス処理により計数されている待ち時間との加算値に基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定処理と、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とする。
【0012】
また、本発明のUTOPIAレベル2優先制御方式は、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方式であって、
前記ATMレイヤ機能部は、前記複数PHYレイヤデバイスをポーリングする手段を有し、
複数PHYレイヤデバイスの各々は、前記ATMレイヤ機能部からのポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する手段を有し、
前記ATMレイヤ機能部は、さらに、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出手段と、
前記検出手段により検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイスの各々ごとに、記憶するセル送受信可否フラグレジスタ手段と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定手段と、
前記検出手段が前記セル送受信可否信号からセル送受信可能状態を検出する時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ手段と、
前記PHY重み係数設定手段に設定されている重み係数(優先順位)と前記待ち時間カウンタ手段による待ち時間とに基づいて、前記セル送受信可否フラグレジスタ手段においてセル送受信可能状態である複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とする。
【0013】
さらに、本発明のUTOPIAレベル2優先制御方式は、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方式であって、
前記ATMレイヤ機能部は、前記複数PHYレイヤデバイスをポーリングする手段を有し、
複数PHYレイヤデバイスの各々は、前記ATMレイヤ機能部からのポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する手段を有し、
前記ATMレイヤ機能部は、さらに、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出手段と、
前記検出手段により検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ手段と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定手段と、
前記検出手段が前記セル送受信可否信号からセル送受信可能状態を検出する時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ手段と、
前記セル送受信可否フラグレジスタ手段に記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定手段に設定されている重み係数(優先順位)との積と、前記待ち時間カウンタ手段による待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とする。
【0014】
また、本発明のUTOPIAレベル2優先制御方式は、
前記待ち時間カウンタ手段は、前記PHY選択決定手段が前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するとき、未だ選択されていないPHYレイヤデバイスの待ち時間を、単位時間だけ長くする待ち時間インクリメント手段を有することを特徴とする。
【0015】
さらに、本発明のUTOPIAレベル2優先制御方式は、
前記セル送受信可否フラグレジスタ手段は、前記PHY選択決定手段が前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するとき、選択決定されたPHYレイヤデバイスに対して、セル送受信可能状態からセル送受信不可能状態へと強制的に変更するフラグ変更手段を有することを特徴とする。
【0016】
また、本発明のUTOPIAレベル2優先制御方法は、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方法であって、
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングするステップと、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送するステップと、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出ステップと、
前記検出ステップにより検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタステップと、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定ステップと、
前記検出ステップにより前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタステップと、前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)と前記待ち時間カウンタステップによる待ち時間とに基づいて、
前記セル送受信可否フラグレジスタステップにより記憶されているセル送受信可能状態である複数PHYレイヤデバイスの内から、1個のPHYレイヤデバイスを選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とする。
【0017】
さらに、本発明のUTOPIAレベル2優先制御方法は、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御方法であって、
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングするステップと、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送するステップと、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出ステップと、
前記検出ステップにより検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタステップと、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定ステップと、
前記検出ステップにより前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタステップと、前記セル送受信可否フラグレジスタステップにより記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)との積と、前記待ち時間カウンタステップによる待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とする。
【0018】
また、本発明のUTOPIAレベル2優先制御方法は、
前記待ち時間カウンタステップは、前記PHY選択決定ステップにより、前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスが選択決定されるとき、未だ選択されていないPHYレイヤデバイスの待ち時間を、単位時間だけ長くする待ち時間インクリメントステップを有することを特徴とする。
【0019】
さらに、本発明のUTOPIAレベル2優先制御方法は、
前記セル送受信可否フラグレジスタステップは、前記PHY選択決定ステップにより、前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスが選択決定されるとき、選択決定されたPHYレイヤデバイスに対して、セル送受信可能状態からセル送受信不可能状態へと強制的に変更するフラグ変更ステップを有することを特徴とする。
【0020】
また、本発明のUTOPIAレベル2優先制御プログラムは、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御する優先制御プログラムであって、前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングする処理と、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する処理と、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出処理と、
前記検出処理により検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ処理と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定処理と、
前記検出処理により前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ処理と、
前記PHY重み係数設定処理により設定されている重み係数(優先順位)と前記待ち時間カウンタ処理による待ち時間とに基づいて、前記セル送受信可否フラグレジスタ処理により記憶されているセル送受信可能状態である複数PHYレイヤデバイスの内から、1個のPHYレイヤデバイスを選択して決定するPHY選択決定処理と、
前記PHY選択決定処理により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とする。
【0021】
さらに、本発明のUTOPIAレベル2優先制御プログラムは、
ATMレイヤ機能部と複数PHYレイヤデバイスを有するPHYレイヤ機能部とを接続するUTOPIAレベル2の優先制御する優先制御プログラムであって、前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングする処理と、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する処理と、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出処理と、
前記検出処理により検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ処理と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定処理と、
前記検出処理により前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ処理と、
前記セル送受信可否フラグレジスタ処理により記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定処理により設定されている重み係数(優先順位)との積と、前記待ち時間カウンタス処理による待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定処理と、
前記PHY選択決定処理により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とする。
【0022】
また、本発明のUTOPIAレベル2優先制御プログラムは、
前記待ち時間カウンタ処理は、前記PHY選択決定処理により、前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスが選択決定されるとき、未だ選択されていないPHYレイヤデバイスの待ち時間を、単位時間だけ長くする待ち時間インクリメント処理を有することを特徴とする。
【0023】
さらに、本発明のUTOPIAレベル2優先制御プログラムは、
前記セル送受信可否フラグレジスタ処理は、前記PHY選択決定処理により、前記複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスが選択決定されるとき、選択決定されたPHYレイヤデバイスに対して、セル送受信可能状態からセル送受信不可能状態へと強制的に変更するフラグ変更処理を有することを特徴とする。
【0024】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して詳細に説明する。
【0025】
図1は、本発明によるUTOPIAレベル2優先制御方式の実施形態の構成ブロック図で、図2は、CLAV_FLG(セル送受信可否フラグ)レジスタの構成図で、図3は、PHY_weight(PHY重み係数)レジスタの構成図で、図4は、Wait_time(待ち時間)カウンタの構成図である。
【0026】
図1を参照して、本発明のUTOPIAレベル2優先制御方式は、ATMレイヤ機能部1と、複数のPHYレイヤデバイスPHY1、〜、PHYnを有するPHYレイヤ機能部2とから構成される。
【0027】
複数のPHYレイヤデバイスPHY1、〜、PHYnの各々は、ATMレイヤ機能部1からのポーリング10に対して、セル送受信可否(以降、CLAV)信号20を返送する。CLAV信号20は、セル送受信が可能状態であるときは、論理値“1”を、セル送受信が不可能状態であるときは、論理値“0”を取る。
【0028】
ATMレイヤ機能部1は、UTOPIA制御回路110と、選択PHY決定回路120と、CLAV_FLG(セル送受信可否フラグ)レジスタ130と、PHY_weight(PHY重み係数)レジスタ140と、Wait_time(待ち時間)カウンタ150と、優先制御をコンピュータに実行させるプログラムを記憶するプログラム記憶媒体100とを有して構成される。
【0029】
UTOPIA制御回路110は、複数のPHYレイヤデバイスPHY1、〜、PHYnに対してポーリング10を実行し、複数のPHYレイヤデバイスPHY1、〜、PHYnの各々から返送されるCLAV信号20の論理値から、セル送受信が可能状態であるかセル送受信が不可能状態であるかを検出し、接続すべきPHYレイヤデバイスを優先選択するとともに、ATMフォーラムにて規定されているUTOPIAレベル2により、ATMレイヤ機能部1とPHYレイヤ機能部2間のインタフェース制御を行う。
【0030】
CLAV_FLGレジスタ130は、UTOPIA制御回路110によるポーリング10の結果、複数のPHYレイヤデバイスPHY1、〜、PHYnの各々から返送されるCLAV信号20の論理値を、セル送受信可否フラグ値として保持するレジスタである。図2に示されるように、CLAV_FLGレジスタ130は、n個のレジスタを有し、複数のPHYレイヤデバイスPHY1、〜、PHYnの各々から返送されるCLAV信号20の論理値“1”または“0”を、対応するセル送受信可否フラグ値CLAV_FLG(1)、〜、CLAV_FLG(n)として保持する。すなわち、CLAV_FLGレジスタ130は、PHYレイヤデバイスPHYkから返送されるCLAV信号20の論理値が“1”である場合、セル送受信可否フラグ値CLAV_FLG(k)は“1”を、そして、CLAV信号20の論理値が“0”である場合、セル送受信可否フラグ値CLAV_FLG(k)は“0”を、レジスタ番号#k番のレジスタに保持する。
【0031】
PHY_weightレジスタ140は、複数のPHYレイヤデバイスPHY1、〜、PHYnの各々の重み係数(優先順位)PHY_weight(1)、〜、PHY_weight(n)を保持するレジスタである。すなわち、図3に示されるように、PHY_weightレジスタ140は、PHYレイヤデバイスの数と同じ数n個のレジスタを有し、PHYレイヤデバイスPHYkの重み係数(優先順位)PHY_weight(k)を、レジスタ番号#k番のレジスタに保持する。また、PHY_weightレジスタ140は、任意時での、外部から重み係数が入力40されることで、重み係数(優先順位)PHY_weight(k)を設定または更新する。
【0032】
Wait_timeカウンタ150は、PHYレイヤデバイスPHYkが、論理値“1”のCLAV信号を返送し、この論理値“1”を検出する時点、すなわち、PHYレイヤデバイスPHYkが、セル送受信が可能状態である旨をCLAV信号20により返送し、セル送受信が可能状態であることを検出する時点、を開始時間として、時間の計数を開始し、待ち時間Wait_time(k)を計数し保持する機能を有す。図4に示されるように、Wait_timeカウンタ150は、PHYレイヤデバイスの数と同じ数n個のカウンタを有し、PHYレイヤデバイスPHYkの待ち時間Wait_time(k)を、カウンタ番号#k番のカウンタに保持する。
【0033】
選択PHY決定回路120は、CLAV_FLGレジスタ130に保持されているセル送受信可否フラグ値CLAV_FLG(k)(k=1、〜、n)と、PHY_weightレジスタ140に保持されている重み係数(優先順位)PHY_weight(k)(k=1、〜、n)と、Wait_timeカウンタ150に保持されている待ち時間Wait_time(k)(k=1、〜、n)とを参照して、選択するPHYレイヤデバイスを決定する。そして、選択するPHYレイヤデバイスを決定後、PHY選択結果通知90をUTOPIA制御回路110へ送るとともに、Wait_timeカウンタ150を更新する。
【0034】
次に、本発明の実施形態の動作について図面を参照して詳細に説明する。
【0035】
図5は、動作フローチャートである。
【0036】
図5を主体に、図1と図2と図3と図4を併せ参照して動作を説明する。
【0037】
予め外部からの入力40により、重み係数(優先順位)PHY_weight(k)(k=1、〜、n)の初期値を、PHY_weightレジスタ140に設定する(ステップ10)。重み係数(優先順位)は、整数値で優先順位が高いほど大きい整数値とする。また、重み係数は、PHYレイヤデバイス毎に任意に設定可能である。
【0038】
Wait_time(待ち時間)カウンタ150に、予め、初期値である0を設定する(ステップ20)。このとき、待ち時間Wait_time(k)(k=1、〜、n)は、全て、0である。
【0039】
UTOPIA制御回路110は、複数のPHYレイヤデバイスPHY1、〜、PHYnに対してポーリング10を実行し、複数のPHYレイヤデバイスPHY1、〜、PHYnの各々から、セル送受信可否を示すCLAV信号20を受信し、これらのCLAV信号に含まれる論理値を検出し、検出される論理値をセル送受信可否フラグ値CLAV_FLG(k)(k=1、〜、n)としてCLAV_FLGレジスタ130に書き込む。PHYレイヤデバイスPHYkから返送されるCLAV信号20の論理値に対応するセル送受信可否フラグ値CLAV_FLG(k)は、レジスタ番号#k番のレジスタに保持される。セル送受信可否フラグ値CLAV_FLG(k)が論理値“1”であることは、PHYレイヤデバイスPHYkは、セル送受信が可能状態であることを意味し、論理値CLAV_FLG(k)が論理値“0”であることは、PHYレイヤデバイスPHYkは、セル送受信が不可能状態であることを意味する。
【0040】
現在転送中であるセルの転送が終了し、次のPHYレイヤデバイスを選択するときが到来すると、選択PHY決定回路120は、CLAV_FLGレジスタ130からセル送受信可否フラグ値CLAV_FLG(k)(k=1、〜、n)を読み出し、PHY_weightレジスタ140から重み係数(優先順位)PHY_weight(k)(k=1、〜、n)を読み出し、Wait_timeカウンタ150から待ち時間Wait_time(k)(k=1、〜、n)を読み出し、選択評価指数C(k)=CLAV_FLG(k)×PHY_weight(k)+Wait_time(k)(k=1、〜、n)を計算する(ステップ40)。
【0041】
この選択評価指数C(k)は、PHYレイヤデバイスを選択するときの指標である。選択評価指数C(k)がより大きな値をとるPHYレイヤデバイスが選択される。したがって、重み係数(優先順位)PHY_weight(k)が大きければ大きいほど、そして、待ち時間Wait_time(k)が長ければ長いほど、選択評価指数C(k)は、大きくなり、この選択評価指数C(k)に該当するPHYレイヤデバイスが選ばれることになる。また、セル送受信可否フラグ値CLAV_FLG(k)が“0”であるPHYレイヤデバイスの選択評価指数C(k)は、セル送受信可否フラグ値CLAV_FLG(k)が“1”であるPHYレイヤデバイスの選択評価指数C(k)に比べ、小さな値をとることになり、セル送受信可否フラグ値CLAV_FLG(k)が“0”であるPHYレイヤデバイス、すなわち、セル送受信が不可能状態にあるPHYレイヤデバイスは、選択の候補から外れることになる。したがって、選択評価指数C(k)は、セル送受信が可能状態にある複数PHYレイヤデバイスの内から、1個のPHYレイヤデバイスを選択する役割をする。
【0042】
次に、選択PHY決定回路120は、計算された選択評価指数C(k)(k=1、〜、n)のうち、最大値をとるk=mを求める(ステップ40)。
【0043】
さらに、選択PHY決定回路120は、次に選択すべきPHYレイヤデバイスがPHYmである旨を示すPHY選択結果通知90を、UTOPIA制御回路110へ送る。
【0044】
そして、選択PHY決定回路120は、CLAV_FLGレジスタ130に保持されている、選択されたPHYレイヤデバイスPHYmに該当するセル送受信可否フラグ値CLAV_FLG(m)を、“1”から“0”に強制的に変更して、CLAV_FLGレジスタ130を更新するとともに、選択されたPHYレイヤデバイスPHYmに該当するカウンタ番号#m番のカウンタをリセット、すなわち、PHYmの待ち時間Wait_time(m)を0に設定する。これにより、選択されたPHYレイヤデバイスPHYmの選択評価指数C(m)は、小さな値をとるので、次回のポーリングでPHYレイヤデバイスPHYmが選択される確率が減ることになる。つまり、1度、選択されたPHYレイヤデバイスを連続して選択されないようにし、選択されていないPHYレイヤデバイスに選択される確率を増やしている。
【0045】
次に、選択PHY決定回路120は、CLAV_FLGレジスタ130から、セル送受信可否フラグ値CLAV_FLG(k)(k=1、〜、n)が “1”である全てのPHYレイヤデバイスPHYi(iは、mを除く、1、〜、nのうちの、いずれか複数個の数字)を探し、このPHYiに該当するカウンタ番号#iのカウンタをインクリメントし、待ち時間Wait_time(i)を単位時間だけ増加させる(ステップ60)。つまり、選択されなかったPHYレイヤデバイスPHYiの待ち時間Wait_time(i)を、単位時間だけ、長くする。このことにより、選択されなかったPHYレイヤデバイスPHYiの選択評価指数C(i)は、より大きな値となるので、PHYレイヤデバイスPHYiが、次に選択される確率を上げている。
【0046】
次に、UTOPIA制御回路110は、選択PHY決定回路120から、次に選択すべきPHYレイヤデバイスがPHYmである旨を示すPHY選択結果通知90を受け、UTOPIAレベル2の規定により、PHYレイヤデバイスPHYmとセルを送受信する(ステップ70)。
【0047】
以降、再びステップ30に戻り、ポーリング以降の優先制御動作が繰り返して行われる。これにより、CLAV_FLGレジスタ130とWait_timeカウンタ150は逐次更新され、選択されるPHYレイヤデバイスも逐次変更される。
【0048】
以上、述べたように、PHYレイヤデバイスの各々に与えられる優先順位(重み係数)と、セルの送受信可能状態となってからの待ち時間とを考慮して複数のPHYレイヤデバイスから1個のPHYレイヤデバイスを選択し、優先的にセルを送受信することができる。
【0049】
また本方式において、動作中にPHY_weightレジスタ140の値を外部から変更することにより、PHYレイヤデバイスの優先順位を動的に変更することが可能となる。
【0050】
【発明の効果】
以上説明したように、本発明は、PHYレイヤデバイスの各々に優先順位(重み係数)を設定し、この優先順位(重み係数)と、セルの送受信可能状態となってからの待ち時間とに基づいて、複数のPHYレイヤデバイスから1個のPHYレイヤデバイスを選択するよう構成されているので、優先順位だけでなく待ち時間の長さを評価してPHYレイヤデバイスを選択でき、PHYレイヤデバイスの選択の公平性を確保できるという効果がある。
【0051】
また、本発明は、動作中に、PHYレイヤデバイスの各々に対する優先順位(重み係数)を、外部から自由に変更できるよう構成されているので、各PHYレイヤデバイスの選択優先度を動的に変更することができるという効果がある。
【0052】
さらに、本発明は、PHYレイヤデバイスの送受信可否を示す送受信可否レジスタを有し、1度、選択されたPHYレイヤデバイスが、連続して選択されないように送受信可否レジスタを変更する構成であるので、PHYレイヤデバイスが公平に選択されるという効果がある。
【図面の簡単な説明】
【図1】本発明によるUTOPIAレベル2優先制御方式の実施形態の構成ブロック図である。
【図2】CLAV_FLG(セル送受信可否フラグ)レジスタの構成図である。
【図3】PHY_weight(PHY重み係数)レジスタの構成図である。
【図4】Wait_time(待ち時間)カウンタの構成図である。
【図5】動作フローチャートである。
【符号の説明】
1 ATMレイヤ機能部
2 PHYレイヤ機能部
PHY1、〜、PHYn PHYレイヤデバイス
100 プログラム記憶媒体
110 UTOPIA制御回路
120 選択PHY決定回路
130 CLAV_FLG(セル送受信可否フラグ)レジスタ
140 PHY_weight(PHY重み係数)レジスタ
150 Wait_time(待ち時間)カウンタ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a method for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices, and relates to a technique for controlling connection according to priority.
[0002]
[Prior art]
As a method of connecting an ATM (Asynchronous Transfer Mode) layer function unit and a PHY layer function unit having a plurality of PHY (Physical Layer Protocol) layer devices, an ATM Forum UTOPIA (Universal Test and Operation Level 2) is used. Is stipulated.
[0003]
According to the UTOPIA
[0004]
In order to simplify the circuit configuration, the currently implemented ATM layer function unit performs polling in ascending or descending order from the PHY number of the selected PHY layer device, and determines whether or not each of the PHY layer devices can transmit and receive cells. Thereafter, a CLAV (CELL AVAILABLE) signal is checked, and a PHY layer device that first returns a CLAV signal having a logical value of “1” is selected from a plurality of PHY layer devices. Here, the fact that the logical value of the CLAV signal is “1” means that transmission and reception of cells are permitted.
[0005]
[Problems to be solved by the invention]
Such a conventional ATM layer function unit has a problem that priorities cannot be set for each PHY layer device and the priorities cannot be dynamically changed.
[0006]
SUMMARY OF THE INVENTION An object of the present invention is to solve such a conventional problem, add a dynamically changeable priority to a PHY layer device, and flexibly select a PHY layer device according to the priority, thereby enabling a PHY layer device to be selected. An object of the present invention is to provide a technology for maintaining fairness in device selection.
[0007]
[Means for Solving the Problems]
The UTOPIA
PHY weight coefficient setting means for setting a weight coefficient (priority) to each of the plurality of PHY layer devices;
Waiting time counter means for counting the waiting time of each of the plurality of PHY layer devices;
One PHY layer device is selected and determined from a plurality of PHY layer devices based on the weighting factor (priority) set in the PHY weighting factor setting means and the waiting time by the waiting time counter means. PHY selection determining means;
UTOPIA control means for controlling connection of the PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at UTOPIA
[0008]
The UTOPIA
The PHY weight coefficient setting means sets and changes the weight coefficient (priority) of each of the plurality of PHY layer devices by an external input at any time.
[0009]
Further, the UTOPIA
The PHY selection determining means determines one PHY from a plurality of PHY layer devices based on an added value of the weighting factor (priority) set in the PHY weighting factor setting means and the waiting time by the waiting time counter means. It is characterized by selecting and determining a layer device.
[0010]
Also, the UTOPIA
A UTOPIA
A waiting time counter step for counting the waiting time of each of the plurality of PHY layer devices;
One PHY layer device out of a plurality of PHY layer devices, based on an added value of the weighting factor (priority) set in the PHY weighting factor setting step and the waiting time counted in the waiting time counter step. A PHY selection determining step of selecting and determining a device;
A UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at UTOPIA
[0011]
Further, the UTOPIA
A priority control program for controlling priority of UTOPIA
A waiting time counter process for counting the waiting time of each of the plurality of PHY layer devices;
One PHY from a plurality of PHY layer devices is determined based on the sum of the weighting factor (priority) set by the PHY weighting factor setting process and the waiting time counted by the waiting time counters process. A PHY selection determination process for selecting and determining a layer device;
UTOPIA control processing for controlling connection of the PHY layer device selected and determined by the PHY selection determination step and the ATM layer function unit at UTOPIA
It is characterized by being executed by a computer.
[0012]
The UTOPIA
A UTOPIA
The ATM layer function unit has means for polling the plurality of PHY layer devices,
Each of the plurality of PHY layer devices has means for returning a cell transmission / reception enable / disable signal indicating whether the cell is in a cell transmission / reception enabled state or a cell transmission / reception disabled state in response to polling from the ATM layer function unit,
The ATM layer function unit further includes:
Detecting means for receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices, and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
Cell transmission / reception flag register means for storing a cell transmission / reception enabled state and a cell transmission / reception disabled state detected by the detection means for each of the plurality of PHY layer devices;
PHY weight coefficient setting means for setting a weight coefficient (priority order) of each of the plurality of PHY layer devices and changing the setting by an external input at any time;
A time when the detecting means detects a cell transmission / reception enable / disable state from the cell transmission / reception enable / disable signal is counted as a start time and a waiting time is counted, and a waiting time for holding the waiting time for each of the plurality of PHY layer devices Counter means;
Based on the weighting factor (priority) set in the PHY weighting factor setting means and the waiting time by the waiting time counter means, the cell transmission / reception permission / inhibition flag register means checks for a plurality of PHY layer devices in a cell transmitting / receiving enabled state. PHY selection determining means for selecting and determining one PHY layer device from within;
UTOPIA control means for controlling connection of the PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at UTOPIA
[0013]
Further, the UTOPIA
A
The ATM layer function unit has means for polling the plurality of PHY layer devices,
Each of the plurality of PHY layer devices has means for returning a cell transmission / reception enable / disable signal indicating whether the cell is in a cell transmission / reception enabled state or a cell transmission / reception disabled state in response to polling from the ATM layer function unit,
The ATM layer function unit further includes:
Detecting means for receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices, and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
The cell transmission / reception enabled state detected by the detection means is set to a cell transmission / reception enable / disable flag logical value “1”, and the cell transmission / reception disabled state detected by the detection means is set to a cell transmission / reception enable / disable flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register means for storing,
PHY weight coefficient setting means for setting a weight coefficient (priority order) of each of the plurality of PHY layer devices and changing the setting by an external input at any time;
A time when the detecting means detects a cell transmission / reception enable / disable state from the cell transmission / reception enable / disable signal is counted as a start time and a waiting time is counted, and a waiting time for holding the waiting time for each of the plurality of PHY layer devices Counter means;
A product of a cell transmission / reception permission flag logical value stored in the cell transmission / reception permission flag register means and a weight coefficient (priority) set in the PHY weight coefficient setting means; PHY selection determining means for selecting and determining one PHY layer device having a maximum value of the selection evaluation index based on the sum of the PHY layer devices from among the plurality of PHY layer devices;
UTOPIA control means for controlling connection of the PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at
[0014]
The
The waiting time counter means, when the PHY selection determining means selects and determines one PHY layer device from the plurality of PHY layer devices, determines a waiting time of a PHY layer device not yet selected as a unit time. And a waiting time increment means for lengthening the waiting time.
[0015]
Further, the
The cell transmission / reception flag register means, when the PHY selection determining means selects and determines one PHY layer device from among the plurality of PHY layer devices, performs cell transmission / reception with the selected PHY layer device. A flag changing means for forcibly changing from an enabled state to a cell transmission / reception disabled state is provided.
[0016]
Also, the
A
Polling the plurality of PHY layer devices from the ATM layer function unit;
Returning, from each of the plurality of PHY layer devices, a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled for polling;
A detecting step of receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
A cell transmission / reception enable / disable flag register step for storing the cell transmission / reception enabled state and the cell transmission / reception disabled state detected by the detection step for each of the plurality of PHY layer devices;
A PHY weighting factor setting step of setting and changing a weighting factor (priority) of each of the plurality of PHY layer devices by an external input at any time;
Starting the time when the cell transmission / reception enable / disable state signal is detected from the cell transmission / reception enable / disable signal in the detection step as a start time, counting the waiting time, and counting the waiting time. Based on a time counter step, a weighting factor (priority) set in the PHY weighting factor setting step, and a waiting time in the waiting time counter step.
A PHY selection determining step of selecting and determining one PHY layer device from among a plurality of PHY layer devices in a cell transmission / reception enabled state stored by the cell transmission / reception enable / disable flag register step;
A UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at
[0017]
Further, the
A
Polling the plurality of PHY layer devices from the ATM layer function unit;
Returning, from each of the plurality of PHY layer devices, a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled for polling;
A detecting step of receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
The plurality of PHYs are set such that a cell transmission / reception enable state detected by the detection step is a cell transmission / reception enable / disable flag logical value “1” and a cell transmission / reception disable state detected by the detection unit is a cell transmission / reception enable / disable flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register step to be stored;
A PHY weighting factor setting step of setting and changing a weighting factor (priority) of each of the plurality of PHY layer devices by an external input at any time;
Starting the time when the cell transmission / reception enable / disable state signal is detected from the cell transmission / reception enable / disable signal by the detection step as a start time, counting the waiting time and counting the waiting time, and holding the waiting time for each of the plurality of PHY layer devices. A time counter step, a product of a cell transmission / reception permission flag logical value stored in the cell transmission / reception permission flag register step, and a weight coefficient (priority) set in the PHY weight coefficient setting step, A PHY layer device that selects and determines one PHY layer device from among the plurality of PHY layer devices, the PHY layer device indicating the maximum value of the selection evaluation index based on the added value of the waiting time of the step,
A UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at
[0018]
Also, the
The waiting time counter step, when one PHY layer device is selected and determined from the plurality of PHY layer devices by the PHY selection determining step, calculates a waiting time of a PHY layer device that is not yet selected by a unit time. And a waiting time increment step for lengthening the waiting time.
[0019]
Further, the
The cell transmission / reception enable / disable flag register step includes a step of, when the one PHY layer device is selected and determined from the plurality of PHY layer devices in the PHY selection determining step, transmitting and receiving a cell to and from the selected PHY layer device It is characterized by having a flag change step of forcibly changing from the enabled state to the cell transmission / reception disabled state.
[0020]
Further, the
A priority control program for controlling priority of
From each of the plurality of PHY layer devices, for polling, a process of returning a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled,
A detection process of receiving a cell transmission / reception enable / disable signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception enabled / disabled signal;
A cell transmission / reception enable / disable flag register process for storing the cell transmission / reception enabled state and the cell transmission / reception disabled state detected by the detection processing for each of the plurality of PHY layer devices;
PHY weighting factor setting processing for setting and changing setting of each weighting factor (priority order) of each of the plurality of PHY layer devices by external input at any time;
A time when the cell transmission / reception enable / disable state is detected from the cell transmission / reception enable / disable signal by the detection processing is counted as a start time, a waiting time is counted, and the waiting time is held for each of the plurality of PHY layer devices. Time counter processing,
Based on the weighting factor (priority) set by the PHY weighting factor setting process and the waiting time by the waiting time counter process, the plurality of cells in the cell transmission / reception enabling state stored by the cell transmission / reception enable / disable flag register process. A PHY selection determination process for selecting and determining one PHY layer device from the PHY layer devices;
UTOPIA control processing for controlling connection of a PHY layer device selected and determined by the PHY selection determination processing and the ATM layer function unit at
It is characterized by being executed by a computer.
[0021]
Further, the
A priority control program for controlling priority of
From each of the plurality of PHY layer devices, for polling, a process of returning a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled,
A detection process of receiving a cell transmission / reception enable / disable signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception enabled / disabled signal;
The cell transmission / reception enabled state detected by the detection processing is set to a cell transmission / reception enable / disable flag logical value “1”, and the cell transmission / reception disabled state detected by the detection unit is set to a cell transmission / reception enabled / disabled flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register process to be stored;
PHY weighting factor setting processing for setting and changing setting of each weighting factor (priority order) of each of the plurality of PHY layer devices by external input at any time;
A time when the cell transmission / reception enable / disable state is detected from the cell transmission / reception enable / disable signal by the detection processing is counted as a start time, a waiting time is counted, and the waiting time is held for each of the plurality of PHY layer devices. Time counter processing,
The product of the cell transmission / reception flag flag logical value stored by the cell transmission / reception flag register process and the weighting factor (priority) set by the PHY weighting factor setting process, and the waiting time by the waiting time counters process A PHY selection determination process of selecting and determining one PHY layer device from among the plurality of PHY layer devices, the selection evaluation index having the maximum value of the selection evaluation index based on the sum of
UTOPIA control processing for controlling connection of a PHY layer device selected and determined by the PHY selection determination processing and the ATM layer function unit at
It is characterized by being executed by a computer.
[0022]
Further, the
The waiting time counter processing, when one PHY layer device is selected and determined from the plurality of PHY layer devices by the PHY selection determination processing, calculates the waiting time of a PHY layer device that is not yet selected as a unit time. And a waiting time increment process for lengthening the waiting time.
[0023]
Further, the
The cell transmission / reception enable / disable flag register processing includes, when one PHY layer device is selected and determined from the plurality of PHY layer devices by the PHY selection determination processing, transmits / receives a cell to / from the selected PHY layer device. It is characterized by having a flag changing process for forcibly changing from the enabled state to the cell transmission / reception disabled state.
[0024]
BEST MODE FOR CARRYING OUT THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings.
[0025]
FIG. 1 is a configuration block diagram of an embodiment of a
[0026]
Referring to FIG. 1, the
[0027]
Each of the plurality of PHY layer devices PHY1,..., PHYn returns a cell transmission / reception enable / disable (hereinafter, CLAV) signal 20 to the
[0028]
The ATM
[0029]
The UTOPIA control circuit 110 performs
[0030]
The
[0031]
The
[0032]
The Wait_time counter 150 returns to the point at which the PHY layer device PHYk returns a CLAV signal with a logical value “1” and detects this logical value “1”, that is, indicates that the PHY layer device PHYk is in a cell transmission / reception enabled state. Is returned by the CLAV signal 20, and the time when the cell transmission / reception is detected is set as a start time, the counting of time is started, and the wait time Wait_time (k) is counted and held. As shown in FIG. 4, the
[0033]
The selected
[0034]
Next, the operation of the embodiment of the present invention will be described in detail with reference to the drawings.
[0035]
FIG. 5 is an operation flowchart.
[0036]
The operation will be described mainly with reference to FIG. 5 and also with reference to FIG. 1, FIG. 2, FIG. 3, and FIG.
[0037]
The initial value of the weight coefficient (priority) PHY_weight (k) (k = 1,..., N) is set in advance in the PHY_weight register 140 by an external input 40 (step 10). The weight coefficient (priority order) is an integer value, and the higher the priority order, the larger the integer value. Further, the weight coefficient can be arbitrarily set for each PHY layer device.
[0038]
The Wait_time (waiting time)
[0039]
The UTOPIA control circuit 110 executes the
[0040]
When the transfer of the cell currently being transferred is completed and it is time to select the next PHY layer device, the selected
[0041]
The selection evaluation index C (k) is an index for selecting a PHY layer device. A PHY layer device having a larger selection evaluation index C (k) is selected. Therefore, the larger the weight coefficient (priority) PHY_weight (k) and the longer the wait time Wait_time (k), the larger the selection evaluation index C (k), and this selection evaluation index C ( The PHY layer device corresponding to k) is selected. Further, the selection evaluation index C (k) of the PHY layer device having the cell transmission / reception enable / disable flag value CLAV_FLG (k) of “0” is selected from the selection of the PHY layer device having the cell transmission / reception enable / disable flag value CLAV_FLG (k) of “1”. The PHY layer device having a smaller value than the evaluation index C (k) and having the cell transmission / reception enable / disable flag value CLAV_FLG (k) of “0”, that is, the PHY layer device in the cell transmission / reception disabled state, , Will be excluded from the selection candidates. Therefore, the selection evaluation index C (k) plays a role of selecting one PHY layer device from a plurality of PHY layer devices in a state where cell transmission / reception is possible.
[0042]
Next, the selection
[0043]
Further, the selected
[0044]
Then, the selected
[0045]
Next, the selection
[0046]
Next, the UTOPIA control circuit 110 receives the PHY selection result notification 90 indicating that the PHY layer device to be selected next is PHYm from the selection
[0047]
Thereafter, the flow returns to step 30 again, and the priority control operation after the polling is repeatedly performed. Thereby, the
[0048]
As described above, one PHY layer device receives one PHY layer device in consideration of the priority (weighting factor) given to each of the PHY layer devices and the waiting time after the cell becomes ready for transmission and reception. A layer device can be selected and cells can be transmitted and received with priority.
[0049]
In this system, the priority of the PHY layer device can be dynamically changed by externally changing the value of the
[0050]
【The invention's effect】
As described above, the present invention sets a priority (weighting factor) for each of the PHY layer devices, and based on the priority (weighting factor) and the waiting time after the cell becomes ready for transmission and reception. Therefore, since one PHY layer device is selected from a plurality of PHY layer devices, not only the priority but also the length of the waiting time can be evaluated to select the PHY layer device. This has the effect of ensuring the fairness of the work.
[0051]
In addition, the present invention is configured such that the priority (weight coefficient) for each PHY layer device can be freely changed from the outside during operation, so that the selection priority of each PHY layer device is dynamically changed. There is an effect that can be.
[0052]
Further, the present invention has a transmission / reception permission register indicating transmission / reception permission of the PHY layer device, and is configured to change the transmission / reception permission register once so that the selected PHY layer device is not continuously selected. The effect is that the PHY layer device is selected fairly.
[Brief description of the drawings]
FIG. 1 is a configuration block diagram of an embodiment of a
FIG. 2 is a configuration diagram of a CLAV_FLG (cell transmission / reception enable / disable flag) register.
FIG. 3 is a configuration diagram of a PHY_weight (PHY weight coefficient) register.
FIG. 4 is a configuration diagram of a Wait_time (waiting time) counter.
FIG. 5 is an operation flowchart.
[Explanation of symbols]
1 ATM
Claims (17)
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタ手段と、
前記PHY重み係数設定手段に設定されている重み係数(優先順位)と前記待ち時間カウンタ手段による待ち時間とに基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とするUTOPIAレベル2優先制御方式。A UTOPIA level 2 priority control system for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices, wherein a PHY weight coefficient setting for setting a weight coefficient (priority) for each of the plurality of PHY layer devices Means,
Waiting time counter means for counting the waiting time of each of the plurality of PHY layer devices;
One PHY layer device is selected and determined from a plurality of PHY layer devices based on the weighting factor (priority) set in the PHY weighting factor setting means and the waiting time by the waiting time counter means. PHY selection determining means;
A UTOPIA level 2 priority control system, comprising UTOPIA control means for controlling connection of a PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at UTOPIA level 2.
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタステップと、
前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)と前記待ち時間カウンタステップにより計数されている待ち時間との加算値に基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とするUTOPIAレベル2優先制御方法。A UTOPIA level 2 priority control method for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices, wherein a PHY weight coefficient setting for setting a weight coefficient (priority) for each of the plurality of PHY layer devices Steps and
A waiting time counter step for counting the waiting time of each of the plurality of PHY layer devices;
One PHY layer device out of a plurality of PHY layer devices, based on an added value of the weighting factor (priority) set in the PHY weighting factor setting step and the waiting time counted in the waiting time counter step. A PHY selection determining step of selecting and determining a device;
A UTOPIA level 2 priority control method, comprising a UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at UTOPIA level 2.
複数PHYレイヤデバイスの各々に重み係数(優先順位)を設定するPHY重み係数設定処理と、
複数PHYレイヤデバイスの各々の待ち時間を計数する待ち時間カウンタ処理と、
前記PHY重み係数設定処理により設定されている重み係数(優先順位)と前記待ち時間カウンタス処理により計数されている待ち時間との加算値に基づいて、複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定処理と、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とするUTOPIAレベル2優先制御プログラム。A priority control program for performing priority control of UTOPIA level 2 for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices,
PHY weighting factor setting processing for setting a weighting factor (priority) for each of the plurality of PHY layer devices;
A waiting time counter process for counting the waiting time of each of the plurality of PHY layer devices;
One PHY from a plurality of PHY layer devices is determined based on the sum of the weighting factor (priority) set by the PHY weighting factor setting process and the waiting time counted by the waiting time counters process. A PHY selection determination process for selecting and determining a layer device;
UTOPIA control processing for controlling connection of the PHY layer device selected and determined by the PHY selection determination step and the ATM layer function unit at UTOPIA level 2;
A UTOPIA level 2 priority control program which is executed by a computer.
複数PHYレイヤデバイスの各々は、前記ATMレイヤ機能部からのポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する手段を有し、
前記ATMレイヤ機能部は、さらに、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出手段と、
前記検出手段により検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイスの各々ごとに、記憶するセル送受信可否フラグレジスタ手段と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定手段と、
前記検出手段が前記セル送受信可否信号からセル送受信可能状態を検出する時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ手段と、
前記PHY重み係数設定手段に設定されている重み係数(優先順位)と前記待ち時間カウンタ手段による待ち時間とに基づいて、前記セル送受信可否フラグレジスタ手段においてセル送受信可能状態である複数PHYレイヤデバイスの内から1個のPHYレイヤデバイスを選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とするUTOPIAレベル2優先制御方式。A UTOPIA level 2 priority control system for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices, wherein the ATM layer function unit has means for polling the plurality of PHY layer devices,
Each of the plurality of PHY layer devices has means for returning a cell transmission / reception enable / disable signal indicating whether the cell is in a cell transmission / reception enabled state or a cell transmission / reception disabled state in response to polling from the ATM layer function unit,
The ATM layer function unit further includes:
Detecting means for receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices, and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
Cell transmission / reception flag register means for storing a cell transmission / reception enabled state and a cell transmission / reception disabled state detected by the detection means for each of the plurality of PHY layer devices;
PHY weight coefficient setting means for setting a weight coefficient (priority order) of each of the plurality of PHY layer devices and changing the setting by an external input at any time;
A time when the detecting means detects a cell transmission / reception enable / disable state from the cell transmission / reception enable / disable signal is counted as a start time and a waiting time is counted, and a waiting time for holding the waiting time for each of the plurality of PHY layer devices Counter means;
Based on the weighting factor (priority) set in the PHY weighting factor setting means and the waiting time by the waiting time counter means, the cell transmission / reception permission / inhibition flag register means checks for a plurality of PHY layer devices in a cell transmitting / receiving enabled state. PHY selection determining means for selecting and determining one PHY layer device from within;
A UTOPIA level 2 priority control system, comprising UTOPIA control means for controlling connection of a PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at UTOPIA level 2.
複数PHYレイヤデバイスの各々は、前記ATMレイヤ機能部からのポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する手段を有し、
前記ATMレイヤ機能部は、さらに、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出手段と、
前記検出手段により検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ手段と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定手段と、
前記検出手段が前記セル送受信可否信号からセル送受信可能状態を検出する時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ手段と、
前記セル送受信可否フラグレジスタ手段に記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定手段に設定されている重み係数(優先順位)との積と、前記待ち時間カウンタ手段による待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定手段と、
前記PHY選択決定手段により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御手段とを有することを特徴とするUTOPIAレベル2優先制御方式。A UTOPIA level 2 priority control system for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices, wherein the ATM layer function unit has means for polling the plurality of PHY layer devices,
Each of the plurality of PHY layer devices has means for returning a cell transmission / reception enable / disable signal indicating whether the cell is in a cell transmission / reception enabled state or a cell transmission / reception disabled state in response to polling from the ATM layer function unit,
The ATM layer function unit further includes:
Detecting means for receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices, and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
The cell transmission / reception enabled state detected by the detection means is set to a cell transmission / reception enable / disable flag logical value “1”, and the cell transmission / reception disabled state detected by the detection means is set to a cell transmission / reception enable / disable flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register means for storing,
PHY weight coefficient setting means for setting a weight coefficient (priority order) of each of the plurality of PHY layer devices and changing the setting by an external input at any time;
A time when the detecting means detects a cell transmission / reception enable / disable state from the cell transmission / reception enable / disable signal is counted as a start time and a waiting time is counted, and a waiting time for holding the waiting time for each of the plurality of PHY layer devices Counter means;
A product of a cell transmission / reception permission flag logical value stored in the cell transmission / reception permission flag register means and a weight coefficient (priority) set in the PHY weight coefficient setting means; PHY selection determining means for selecting and determining one PHY layer device having a maximum value of the selection evaluation index based on the sum of the PHY layer devices from among the plurality of PHY layer devices;
A UTOPIA level 2 priority control system, comprising UTOPIA control means for controlling connection of a PHY layer device selected and determined by the PHY selection determination means and the ATM layer function unit at UTOPIA level 2.
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングするステップと、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送するステップと、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出ステップと、
前記検出ステップにより検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタステップと、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定ステップと、
前記検出ステップにより前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタステップと、前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)と前記待ち時間カウンタステップによる待ち時間とに基づいて、前記セル送受信可否フラグレジスタステップにより記憶されているセル送受信可能状態である複数PHYレイヤデバイスの内から、1個のPHYレイヤデバイスを選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とするUTOPIAレベル2優先制御方法。A UTOPIA level 2 priority control method for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices,
Polling the plurality of PHY layer devices from the ATM layer function unit;
Returning, from each of the plurality of PHY layer devices, a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled for polling;
A detecting step of receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
A cell transmission / reception enable / disable flag register step for storing the cell transmission / reception enabled state and the cell transmission / reception disabled state detected by the detection step for each of the plurality of PHY layer devices;
A PHY weighting factor setting step of setting and changing a weighting factor (priority) of each of the plurality of PHY layer devices by an external input at any time;
Starting the time when the cell transmission / reception enable / disable state signal is detected from the cell transmission / reception enable / disable signal by the detection step as a start time, counting the waiting time and counting the waiting time, and holding the waiting time for each of the plurality of PHY layer devices. A cell transmission / reception flag stored in the cell transmission / reception flag register step based on a time counter step, a weighting factor (priority) set in the PHY weighting factor setting step, and a waiting time in the waiting time counter step. A PHY selection determining step of selecting and determining one PHY layer device from among a plurality of PHY layer devices in a possible state;
A UTOPIA level 2 priority control method, comprising a UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at UTOPIA level 2.
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングするステップと、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送するステップと、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出ステップと、
前記検出ステップにより検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタステップと、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定ステップと、
前記検出ステップにより前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタステップと、前記セル送受信可否フラグレジスタステップにより記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定ステップにより設定されている重み係数(優先順位)との積と、前記待ち時間カウンタステップによる待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定ステップと、
前記PHY選択決定ステップにより選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御ステップとを有することを特徴とするUTOPIAレベル2優先制御方法。A UTOPIA level 2 priority control method for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices,
Polling the plurality of PHY layer devices from the ATM layer function unit;
Returning, from each of the plurality of PHY layer devices, a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled for polling;
A detecting step of receiving a cell transmission / reception permission signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception permitted signal;
The plurality of PHYs are set such that a cell transmission / reception enable state detected by the detection step is a cell transmission / reception enable / disable flag logical value “1” and a cell transmission / reception disable state detected by the detection unit is a cell transmission / reception enable / disable flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register step to be stored;
A PHY weighting factor setting step of setting and changing a weighting factor (priority) of each of the plurality of PHY layer devices by an external input at any time;
Starting the time when the cell transmission / reception enable / disable state signal is detected from the cell transmission / reception enable / disable signal by the detection step as a start time, counting the waiting time and counting the waiting time, and holding the waiting time for each of the plurality of PHY layer devices. A time counter step, a product of a cell transmission / reception permission flag logical value stored in the cell transmission / reception permission flag register step, and a weight coefficient (priority) set in the PHY weight coefficient setting step, A PHY layer device that selects and determines one PHY layer device from among the plurality of PHY layer devices, the PHY layer device indicating the maximum value of the selection evaluation index based on the added value of the waiting time of the step,
A UTOPIA level 2 priority control method, comprising a UTOPIA control step of controlling connection of a PHY layer device selected and determined in the PHY selection determination step and the ATM layer function unit at UTOPIA level 2.
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングする処理と、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する処理と、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出処理と、
前記検出処理により検出されるセル送受信可能状態とセル送受信不可能状態を、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ処理と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定処理と、
前記検出処理により前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ処理と、
前記PHY重み係数設定処理により設定されている重み係数(優先順位)と前記待ち時間カウンタ処理による待ち時間とに基づいて、前記セル送受信可否フラグレジスタ処理により記憶されているセル送受信可能状態である複数PHYレイヤデバイスの内から、1個のPHYレイヤデバイスを選択して決定するPHY選択決定処理と、
前記PHY選択決定処理により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とするUTOPIAレベル2優先制御プログラム。A priority control program for performing priority control of UTOPIA level 2 for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices,
Polling the plurality of PHY layer devices from the ATM layer function unit;
From each of the plurality of PHY layer devices, for polling, a process of returning a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled,
A detection process of receiving a cell transmission / reception enable / disable signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception enabled / disabled signal;
A cell transmission / reception enable / disable flag register process for storing the cell transmission / reception enabled state and the cell transmission / reception disabled state detected by the detection processing for each of the plurality of PHY layer devices;
PHY weighting factor setting processing for setting and changing setting of each weighting factor (priority order) of each of the plurality of PHY layer devices by external input at any time;
A time when the cell transmission / reception enable / disable state is detected from the cell transmission / reception enable / disable signal by the detection processing is counted as a start time, a waiting time is counted, and the waiting time is held for each of the plurality of PHY layer devices. Time counter processing,
Based on the weighting factor (priority) set by the PHY weighting factor setting process and the waiting time by the waiting time counter process, the plurality of cells in the cell transmission / reception enabling state stored by the cell transmission / reception enable / disable flag register process. A PHY selection determination process for selecting and determining one PHY layer device from the PHY layer devices;
UTOPIA control processing for controlling connection of a PHY layer device selected and determined by the PHY selection determination processing and the ATM layer function unit at UTOPIA level 2;
A UTOPIA level 2 priority control program which is executed by a computer.
前記ATMレイヤ機能部から、前記複数PHYレイヤデバイスをポーリングする処理と、
複数PHYレイヤデバイスの各々から、ポーリングに対して、セル送受信可能状態であるかセル送受信不可能状態であるかを示すセル送受信可否信号を返送する処理と、
前記複数PHYレイヤデバイスの各々からセル送受信可否信号を受けて、セル送受信可否信号に含まれるセル送受信可能状態とセル送受信不可能状態とを検出する検出処理と、
前記検出処理により検出されるセル送受信可能状態をセル送受信可否フラグ論理値 “1”とし、前記検出手段により検出されるセル送受信不可能状態をセル送受信可否フラグ論理値 “0”として、前記複数PHYレイヤデバイス毎に、記憶するセル送受信可否フラグレジスタ処理と、
任意時での外部からの入力により、前記複数PHYレイヤデバイスの各々の重み係数(優先順位)を、設定するとともに設定変更をするPHY重み係数設定処理と、
前記検出処理により前記セル送受信可否信号からセル送受信可能状態が検出される時を開始時間として時間の計数を開始して待ち時間を計数し、この待ち時間を前記複数PHYレイヤデバイス毎に保持する待ち時間カウンタ処理と、
前記セル送受信可否フラグレジスタ処理により記憶されているセル送受信可否フラグ論理値と前記PHY重み係数設定処理により設定されている重み係数(優先順位)との積と、前記待ち時間カウンタス処理による待ち時間と、の加算値による選択評価指数が最大値を示すPHYレイヤデバイスを、前記複数PHYレイヤデバイスの内から、1個選択して決定するPHY選択決定処理と、
前記PHY選択決定処理により選択決定されるPHYレイヤデバイスと前記ATMレイヤ機能部とをUTOPIAレベル2により接続制御をするUTOPIA制御処理とを、
コンピュータに実行させることを特徴とするUTOPIAレベル2優先制御プログラム。A priority control program for performing priority control of UTOPIA level 2 for connecting an ATM layer function unit and a PHY layer function unit having a plurality of PHY layer devices,
Polling the plurality of PHY layer devices from the ATM layer function unit;
From each of the plurality of PHY layer devices, for polling, a process of returning a cell transmission / reception enable / disable signal indicating whether the cell transmission / reception is enabled or the cell transmission / reception is disabled,
A detection process of receiving a cell transmission / reception enable / disable signal from each of the plurality of PHY layer devices and detecting a cell transmission / reception enabled state and a cell transmission / reception disabled state included in the cell transmission / reception enabled / disabled signal;
The cell transmission / reception enabled state detected by the detection processing is set to a cell transmission / reception enable / disable flag logical value “1”, and the cell transmission / reception disabled state detected by the detection unit is set to a cell transmission / reception enabled / disabled flag logical value “0”. For each layer device, a cell transmission / reception enable / disable flag register process to be stored;
PHY weighting factor setting processing for setting and changing setting of each weighting factor (priority order) of each of the plurality of PHY layer devices by external input at any time;
A time when the cell transmission / reception enable / disable state is detected from the cell transmission / reception enable / disable signal by the detection processing is counted as a start time, a waiting time is counted, and the waiting time is held for each of the plurality of PHY layer devices. Time counter processing,
The product of the cell transmission / reception flag flag logical value stored by the cell transmission / reception flag register process and the weighting factor (priority) set by the PHY weighting factor setting process, and the waiting time by the waiting time counters process A PHY selection determination process of selecting and determining one PHY layer device from among the plurality of PHY layer devices, the selection evaluation index having the maximum value of the selection evaluation index based on the sum of
UTOPIA control processing for controlling connection of a PHY layer device selected and determined by the PHY selection determination processing and the ATM layer function unit at UTOPIA level 2;
A UTOPIA level 2 priority control program which is executed by a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002173304A JP2004023301A (en) | 2002-06-13 | 2002-06-13 | Utopia level 2 priority control system, priority control method therefor and priority control program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002173304A JP2004023301A (en) | 2002-06-13 | 2002-06-13 | Utopia level 2 priority control system, priority control method therefor and priority control program thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004023301A true JP2004023301A (en) | 2004-01-22 |
Family
ID=31172620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002173304A Withdrawn JP2004023301A (en) | 2002-06-13 | 2002-06-13 | Utopia level 2 priority control system, priority control method therefor and priority control program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004023301A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005119987A1 (en) * | 2004-06-01 | 2005-12-15 | Nec Corporation | Method for transferring data in atm communication, and system therefor |
KR100861956B1 (en) * | 2004-06-01 | 2008-10-09 | 닛본 덴끼 가부시끼가이샤 | Method for transferring data in atm communication, and system therefor |
-
2002
- 2002-06-13 JP JP2002173304A patent/JP2004023301A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005119987A1 (en) * | 2004-06-01 | 2005-12-15 | Nec Corporation | Method for transferring data in atm communication, and system therefor |
KR100861956B1 (en) * | 2004-06-01 | 2008-10-09 | 닛본 덴끼 가부시끼가이샤 | Method for transferring data in atm communication, and system therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9164908B2 (en) | Managing out-of-order memory command execution from multiple queues while maintaining data coherency | |
JP3532037B2 (en) | Parallel computer | |
US6920534B2 (en) | Virtual-port memory and virtual-porting | |
JP3272204B2 (en) | Method and system for specifying packet size transmission rate | |
JP2010081641A (en) | System and method for regulating message flow in digital data network | |
CN115543761B (en) | Method and device for supporting IOPS burst, electronic equipment and readable storage medium | |
JP2016532967A (en) | Method for minimizing the number of IRQ lines from peripheral devices to one line | |
US8230137B2 (en) | Network processor, reception controller and data reception processing method performing direct memory access transfer | |
EP1970815A1 (en) | Data transfering apparatus and information processing system | |
EP1588527A1 (en) | Preemptive retransmission of buffered data in a network | |
EP2336897B1 (en) | Data processing apparatus, data processing method, and computer-readable storage medium | |
US6732212B2 (en) | Launch raw packet on remote interrupt | |
JP2017062711A (en) | Communication method, communication program and information processing device | |
EP1454242A1 (en) | Asynchronous serial data interface | |
JP2004023301A (en) | Utopia level 2 priority control system, priority control method therefor and priority control program thereof | |
US20030065735A1 (en) | Method and apparatus for transferring packets via a network | |
WO2023093805A1 (en) | Storage control method, storage controller, storage chip, network card, and readable medium | |
KR101520141B1 (en) | Bit inversion for communication interface | |
EP3863248B1 (en) | Protocol data unit end handling with fractional data alignment and arbitration fairness | |
US20050138236A1 (en) | Direct memory access control device and method for automatically updating data transmisson size from peripheral | |
JP6531750B2 (en) | Transmitter | |
JP2972659B2 (en) | UTOPIA level 2 polling control method | |
CN107087010B (en) | Intermediate data transmission method and system and distributed system | |
JPH08153079A (en) | Composite central processing unit system | |
TW202147120A (en) | Data auto-transmitting method, apparatus, and storage medium thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050906 |