JP2006086884A - Transmission path repeater - Google Patents
Transmission path repeater Download PDFInfo
- Publication number
- JP2006086884A JP2006086884A JP2004270315A JP2004270315A JP2006086884A JP 2006086884 A JP2006086884 A JP 2006086884A JP 2004270315 A JP2004270315 A JP 2004270315A JP 2004270315 A JP2004270315 A JP 2004270315A JP 2006086884 A JP2006086884 A JP 2006086884A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- data
- transmission path
- transmission line
- received
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、異なる伝送路間で伝送データを中継する伝送路中継装置に関するものである。 The present invention relates to a transmission path relay device that relays transmission data between different transmission paths.
従来、DVD(Digital Versatile Disk)メディア等に記憶されているデータを伝送する伝送装置が知られており、このような伝送装置は、図16に示すように、メディアから読み出したデータを送信する送信装置210と、送信装置210と受信装置230との間でデータを伝送する伝送路220と、送信装置210から受信したデータを復号化して出力する受信装置230と、受信装置230が出力するデータを表示する表示装置240とを備えている。(例えば特許文献1参照)。
Conventionally, a transmission apparatus that transmits data stored in a DVD (Digital Versatile Disk) medium or the like is known, and such a transmission apparatus transmits data read from the medium as shown in FIG.
送信装置210は、DVDメディア等からデータの読み取りを行うドライブ装置211と、ドライブ装置211で読み取られたストリームデータやドライブ装置211より出力されたコマンドをパケット化するとともに、伝送路220を経由して伝送されてきたパケットに対応するコマンドをドライブ装置211に出力する第一パケット処理部212と、第一パケット処理部212で作成されたパケットを伝送路220に出力するとともに、伝送路220からパケットを受信して第一パケット処理部212に出力する第一伝送路インターフェース部213と、第一パケット処理部212とドライブ装置211間のデータを伝送する第一ストリームデータ伝送路214とを備えている。
The
受信装置230は、DVDメディア等に記録された圧縮されたデータを復号する復号化部231と、復号化部231から出力されたコマンドをパケット化するとともに、伝送路220を経由して伝送されてきたパケットを認識し、復号化部231にストリームデータまたはコマンドとして出力する第二パケット処理部232と、第二パケット処理部232で作成されたパケットを伝送路220に出力するとともに、伝送路220からパケットを受信して第二パケット処理部232に出力する第二伝送路インターフェース部233と、第二パケット処理部232と復号化部231間のデータを伝送する第二ストリームデータ伝送路234とを備えている。
The
なお、第一パケット処理部212および第二パケット処理部232は、データを送受信する際に使用するバッファ212aおよびバッファ232aをそれぞれ内蔵している。
Note that the first
このような伝送装置において、第一パケット処理部212でパケット化されたストリームデータとコマンドは、多重化されて第一伝送路インターフェース部213から同期チャネルを用いて伝送される。
In such a transmission apparatus, the stream data and commands packetized by the first
また、第二パケット処理部232は、復号化部231から出力されるコマンドをパケット化する際、復号化部231から出力されるフロー制御情報を多重してパケット化し、伝送路220の同期チャネルを用いて第一パケット処理部212に伝送し、このフロー制御情報に基づいて、ドライブ装置211に対する読み出し/書き込みを制御している。
Further, when the second
ここで、第一パケット処理部212および第一伝送路インターフェース部213は、伝送路220と第一ストリームデータ伝送路214とを中継する伝送路中継装置として機能し、第二パケット処理部232および第二伝送路インターフェース部233は、伝送路220と第二ストリームデータ伝送路234とを中継する伝送路中継装置として機能する。
しかしながら、従来の伝送装置においては、ストリームデータとコマンドをパケット化し多重化して伝送路220上を伝送するため、ストリームデータとコマンドの合計伝送速度は伝送路220の最高伝送速度を超えることはできなかった。
However, in the conventional transmission apparatus, since the stream data and the command are packetized and multiplexed and transmitted on the
また、伝送路220のスループットは、第一ストリームデータ伝送路214のスループットから、第一ストリームデータ伝送路214の最高伝送速度と伝送路220の最高伝送速度の比により算出されるが、第一ストリームデータ伝送路214のスループットが小さく、第一ストリームデータ伝送路214の最高伝送速度が伝送路220の最高伝送速度よりも大幅に速い場合、伝送路220のスループットが小さくなるという問題があった。
The throughput of the
ここでスループットとは、伝送したいデータ本体の伝送速度を表しており、伝送の管理データやフロー制御信号やエラー訂正用データといった伝送方法に依存する付加データは含まず、これらのデータに対して、伝送したいデータ本体を以降伝送データという。 Here, the throughput represents the transmission speed of the data body to be transmitted, and does not include additional data depending on the transmission method such as transmission management data, flow control signal, and error correction data. The data body to be transmitted is hereinafter referred to as transmission data.
本発明は、従来の問題を解決するためになされたもので、伝送速度がより低速な伝送路へ中継する場合でも、スループットの減少を抑えることができる伝送路中継装置を提供することを目的とする。 The present invention has been made to solve the conventional problems, and an object of the present invention is to provide a transmission line relay device capable of suppressing a reduction in throughput even when relaying to a transmission line with a lower transmission speed. To do.
本発明の伝送路中継装置は、伝送しようとする実データと伝送の管理データを区別して伝送する第一伝送路と、前記第一伝送路より伝送速度の遅い第二伝送路とを中継する伝送路中継装置であって、前記第一伝送路からデータを受信する第一伝送路受信手段と、前記第一伝送路受信手段が受信したデータの少なくとも前記管理データを圧縮する第一伝送路受信データ圧縮手段と、前記第一伝送路受信データ圧縮手段が処理したデータを前記第二伝送路に送信する第二伝送路送信手段とを備える構成を有している。 The transmission line relay apparatus according to the present invention relays a first transmission line that transmits the actual data to be transmitted and transmission management data separately, and a second transmission line that has a lower transmission speed than the first transmission line. A first transmission path receiving means for receiving data from the first transmission path; and first transmission path reception data for compressing at least the management data of the data received by the first transmission path receiving means. A compression unit; and a second transmission line transmission unit that transmits the data processed by the first transmission line reception data compression unit to the second transmission line.
この構成により、第一伝送路から受信したデータのうち少なくとも管理データが圧縮されて第二伝送路に送信され、スループットの減少を抑えることができる。 With this configuration, at least management data among data received from the first transmission path is compressed and transmitted to the second transmission path, and a decrease in throughput can be suppressed.
ここで、前記第一伝送路受信データ圧縮手段が処理した前記実データおよび管理データから、送信するデータが前記実データであるか前記管理データであるかを識別するフラグを付加し、連続する前記実データまたは管理データを1つのパケットにまとめるようにパケットを生成する第二伝送路送信データ生成手段を備え、前記第二伝送路送信手段は、前記第二伝送路送信データ生成手段が生成したパケットを前記第二伝送路に送信する構成とした。 Here, a flag for identifying whether the data to be transmitted is the actual data or the management data is added from the actual data and the management data processed by the first transmission path reception data compression unit, and the continuous data A second transmission path transmission data generating means for generating a packet so that actual data or management data is combined into one packet; the second transmission path transmitting means is a packet generated by the second transmission path transmission data generating means; Is configured to transmit to the second transmission path.
この構成により、連続する同種類のデータがまとめられて、1つのパケットにされて送信される。したがって、第二伝送路に送信するデータの圧縮率を高めることができる。 With this configuration, the same type of continuous data is collected and transmitted as one packet. Therefore, the compression rate of data transmitted to the second transmission path can be increased.
さらに、前記第一伝送路はシリアル伝送路であり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信した8ビットデータから10ビットデータに変換された前記実データを10ビットデータから8ビットデータに変換する構成とした。 Further, the first transmission line is a serial transmission line, and the first transmission line reception data compression means converts the real data converted from 8-bit data received from the first transmission line into 10-bit data by 10 bits. The data is converted into 8-bit data.
この構成により、第一伝送路から受信した実データも圧縮され、スループットの減少を抑えることができる。 With this configuration, actual data received from the first transmission path is also compressed, and a reduction in throughput can be suppressed.
さらに、前記第一伝送路受信手段は、波形パターンによってメッセージを伝送するOOB信号を受信し、前記第二伝送路送信データ生成手段は、前記OOB信号から前記フラグを前記管理データに設定したOOB信号を示すパケットを作成する構成とした。 Further, the first transmission line receiving means receives an OOB signal for transmitting a message according to a waveform pattern, and the second transmission line transmission data generating means is an OOB signal in which the flag is set in the management data from the OOB signal. The packet which shows is produced.
この構成により、OOB信号を第一伝送路と第二伝送路との間で伝送することができる。 With this configuration, the OOB signal can be transmitted between the first transmission path and the second transmission path.
さらに、前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブを全て削除する構成とした。 Further, the first transmission path is serial ATA, and the first transmission path reception data compression unit is configured to delete all primitives received from the first transmission path.
この構成により、第一伝送路から受信したプリミティブは第二伝送路に送信されず、スループットの減少を抑えることができる。 With this configuration, primitives received from the first transmission path are not transmitted to the second transmission path, and a decrease in throughput can be suppressed.
さらに、前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から連続した同じ種類のプリミティブを受信した場合、定められた個数を残して削除する構成とした。 Further, the first transmission line is a serial ATA, and the first transmission line reception data compression means deletes a predetermined number of primitives when receiving the same kind of primitives continuously from the first transmission line. The configuration.
この構成により、第一伝送路から受信した連続した同じ種類のプリミティブは一部を残して削除され、無駄なプリミティブは第二伝送路に送信されない。したがって、スループットの減少を抑えることができる。 With this configuration, consecutive primitives of the same type received from the first transmission path are deleted leaving a part, and useless primitives are not transmitted to the second transmission path. Therefore, a decrease in throughput can be suppressed.
さらに、前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブの種類に応じて、受信した前記プリミティブを全て削除するか、または連続した同じ種類のプリミティブのうち定められた個数を残して削除するか、を切り替える構成とした。 Further, the first transmission line is serial ATA, and the first transmission line reception data compression unit deletes all the received primitives according to the type of primitive received from the first transmission line, or A configuration is adopted in which a predetermined number of consecutive primitives of the same type are deleted or deleted.
この構成により、最低限必要なプリミティブのみ第二伝送路に送信される。したがって、スループットの減少を抑えることができる。 With this configuration, only the minimum necessary primitives are transmitted to the second transmission path. Therefore, a decrease in throughput can be suppressed.
さらに、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブのうち削除されなかった前記プリミティブを、前記プリミティブよりもデータ量が少ない識別子に置換する構成とした。 Further, the first transmission path received data compression means is configured to replace the primitive that has not been deleted among the primitives received from the first transmission path with an identifier having a smaller data amount than the primitive.
この構成により、プリミティブがデータ量が少ない識別子に置換される。したがって、第二伝送路に送信するデータの圧縮率を高めることができる。 With this configuration, the primitive is replaced with an identifier having a small amount of data. Therefore, the compression rate of data transmitted to the second transmission path can be increased.
さらに、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブのうち削除されなかった前記プリミティブを、10ビットから8ビットに変換し、変換結果の下位3バイト分を伝送するデータとする構成とした。 Further, the first transmission path received data compression means converts the primitives not deleted from the primitives received from the first transmission path from 10 bits to 8 bits and transmits the lower 3 bytes of the conversion result. It was set as the data used.
この構成により、プリミティブのデータ量が少なくされ、第二伝送路に送信するデータの圧縮率を高めることができる。 With this configuration, the amount of primitive data can be reduced, and the compression rate of data transmitted to the second transmission path can be increased.
また、前記第一伝送路受信手段は、前記第一伝送路から受信したデータが直ぐに応答が必要か判定し、直ぐに応答が必要と判定した場合は、前記データに対応した応答を前記第一伝送路に送信する構成とした。 The first transmission path receiving means determines whether the data received from the first transmission path needs a response immediately. If it is determined that a response is required immediately, a response corresponding to the data is transmitted to the first transmission path. It was configured to transmit to the road.
この構成により、直ぐに応答が必要なデータを第一伝送路から受信したら、直ぐに応答が送信され、第一伝送路の伝送仕様を守りながら中継をすることができる。 With this configuration, when data that requires a response immediately is received from the first transmission path, the response is transmitted immediately, and relaying can be performed while maintaining the transmission specifications of the first transmission path.
さらに、前記第一伝送路はシリアルATAであり、前記第一伝送路受信手段は、シリアルATAの初期化シーケンスのうち、COMWAKEのデバイスとホスト間での送受信から、ホストからデバイスへのALIGNの送信までの間に受信したデータに対して直ぐに応答が必要と判定する構成とした。 Further, the first transmission line is a serial ATA, and the first transmission line receiving means transmits an ALIGN from the host to the device in a serial ATA initialization sequence from transmission / reception between the COMWAKE device and the host. The configuration is such that it is determined that a response is required immediately for the data received until then.
この構成により、シリアルATAにおける初期化処理シーケンスの条件を満たしながら中継をすることができる。 With this configuration, relaying can be performed while satisfying the conditions of the initialization processing sequence in serial ATA.
さらに、前記第一伝送路はシリアルATAであり、前記第一伝送路受信手段は、シリアルATAのHOLDプリミティブを受信すると、直ぐに応答が必要と判定する構成とした。 Further, the first transmission path is a serial ATA, and the first transmission path receiving means determines that a response is required immediately upon receiving the HOLD primitive of the serial ATA.
この構成により、シリアルATAにおけるフロー制御に対する応答の速度を速めることができる。 With this configuration, the speed of response to flow control in serial ATA can be increased.
また、前記第二伝送路から受信したデータを一時的に保存する受信パケットバッファと、前記受信パケットバッファが空の場合、前記第一伝送路に送信するデータを生成する第一伝送路送信データ生成手段とを備える構成とした。 A reception packet buffer for temporarily storing data received from the second transmission path; and first transmission path transmission data generation for generating data to be transmitted to the first transmission path when the reception packet buffer is empty. Means.
この構成により、第一伝送路に常にデータを送信することができる。 With this configuration, data can always be transmitted to the first transmission path.
さらに、前記第一伝送路送信データ生成手段は、前回前記第一伝送路に送信したデータに基づいて前記第一伝送路に送信するデータを生成する構成とした。 Furthermore, the first transmission path transmission data generating means generates data to be transmitted to the first transmission path based on data transmitted to the first transmission path last time.
この構成により、第一伝送路に常にデータを送信することができる。 With this configuration, data can always be transmitted to the first transmission path.
また、前記第二伝送路から受信したパケットを一時的に保存する受信パケットバッファと、前記第二伝送路に送信するパケットを一時的に保存する送信パケットバッファとを備え、前記第一伝送路および前記第二伝送路のいずれかからリセット要求を受信すると、前記受信パケットバッファおよび前記送信パケットバッファの両方を空にする構成とした。 A receiving packet buffer for temporarily storing packets received from the second transmission path; and a transmission packet buffer for temporarily storing packets to be transmitted to the second transmission path. When a reset request is received from any one of the second transmission paths, both the reception packet buffer and the transmission packet buffer are emptied.
この構成により、中継処理中の突然の初期化処理に対して、バッファに既に蓄積されているデータを削除することができ、このようなデータによって初期化シーケンスを乱されることを防ぐことができる。 With this configuration, it is possible to delete data already stored in the buffer in response to a sudden initialization process during the relay process, and to prevent the initialization sequence from being disturbed by such data. .
また、前記第二伝送路が通信不可状態の場合に、第二伝送路を通信可能状態へ復帰させる復帰手段を備える構成とした。 In addition, when the second transmission path is in a communication disabled state, there is provided a returning means for returning the second transmission path to a communication enabled state.
この構成により、第二伝送路が通信不可状態にある場合も、通信可能状態へ復帰させることができる。 With this configuration, even when the second transmission path is in a communication disabled state, it can be returned to a communication enabled state.
また、前記第一伝送路と前記第二伝送路で独立してフロー制御を行う構成とした。 Moreover, it was set as the structure which performs flow control independently by said 1st transmission path and said 2nd transmission path.
この構成により、伝送速度がより低速な伝送路へ中継する場合の受信データのオーバーフローを防ぐことができる。 With this configuration, it is possible to prevent overflow of received data when relaying to a transmission path with a lower transmission speed.
また、前記第一伝送路受信手段は、複数の伝送路からのデータを受信し、前記複数の伝送路を区別できる伝送路識別子を付加する伝送路識別子付加手段を備え、前記第一伝送路受信データ圧縮手段は、前記第一伝送路受信手段が受信した、前記複数の伝送路からのデータをそれぞれ圧縮し、前記第一伝送路受信データ圧縮手段が処理したデータに前記伝送路識別子を付加したデータを前記第二伝送路に送信する構成とした。 The first transmission path receiving means includes transmission path identifier adding means for receiving data from a plurality of transmission paths and adding a transmission path identifier capable of distinguishing the plurality of transmission paths. The data compression means compresses the data from the plurality of transmission paths received by the first transmission path reception means, and adds the transmission path identifier to the data processed by the first transmission path reception data compression means. The data is transmitted to the second transmission path.
この構成により、複数の伝送路がある場合でも、それらを区別した形で、スループットの減少を抑えながら伝送速度の遅い前記第二伝送路上に伝送することができる。 With this configuration, even when there are a plurality of transmission lines, transmission can be performed on the second transmission line having a low transmission rate while suppressing a decrease in throughput in a form that distinguishes them.
本発明によれば、第一伝送路から受信したデータの少なくとも管理データを圧縮することにより、伝送速度がより低速な伝送路へ中継する場合でも、スループットの減少を抑えることができる。 According to the present invention, by compressing at least management data of data received from the first transmission path, it is possible to suppress a decrease in throughput even when relaying to a transmission path having a lower transmission speed.
以下、本発明の実施の形態の伝送路中継装置について、図面を用いて説明する。 Hereinafter, a transmission line relay device according to an embodiment of the present invention will be described with reference to the drawings.
本発明の一実施の形態の伝送路中継装置を図1に示す。 A transmission line relay apparatus according to an embodiment of the present invention is shown in FIG.
図1において、伝送路中継装置1は、シリアルATA(SATA、Serial AT Attachment)規格に従う第一伝送路2の受信信号線21に接続され、受信信号線21からのデータを受信する第一伝送路受信部11と、第一伝送路受信部11が受信したデータを取得してパケット化して出力する第二伝送路送信データ生成部12と、第二伝送路送信データ生成部12が出力したパケットを一時蓄積する送信パケットバッファ13と、MOST(Media Orientated System Transport)の規格に従う第二伝送路3の送信信号線32に接続され、送信パケットバッファ13から送信パケットを取得して送信信号線32に送信する第二伝送路送信部14と、第二伝送路3の受信信号線31に接続され、受信信号線31からのデータを受信する第二伝送路受信部15と、第二伝送路受信部15が受信したデータを一時蓄積する受信パケットバッファ16と、受信パケットバッファ16からパケットを取得して第一伝送路2に送信するデータを生成する第一伝送路送信データ生成部17と、第一伝送路2の送信信号線22に接続され、第一伝送路送信データ生成部17が生成したデータを送信信号線22に送信する第一伝送路送信部18とを備えている。
In FIG. 1, a transmission
第二伝送路送信データ生成部12は、第一伝送路受信部11が受信したデータの不必要なデータを削除しながら出力する第一伝送路受信データ圧縮部121と、第一伝送路受信データ圧縮部121が出力したデータを一時蓄積する第一伝送路受信データバッファ122とを備えている。
The second transmission line transmission
第一伝送路送信データ生成部17は、受信パケットバッファ16から取得したパケットから第一伝送路へ送信するデータを生成する第一伝送路送信データ復帰部171と、第一伝送路送信データ復帰部171が生成したデータを一時蓄積する第一伝送路送信データバッファ172とを備えている。
The first transmission line transmission
第一伝送路受信部11は、シリアルATAにおけるOOB(Out Of Band)と呼ばれる波形パターンによるメッセージを、通常の差動伝送によるデジタルデータ伝送と区別して受信するようになっている。
The first transmission
第一伝送路受信部11は、シリアルATAの物理層とリンク層とを含み、OOBはシリアルATAの物理層により受信される。OOB以外についてはシリアルATAの通常伝送に従ってデジタルデータとして受信される。
The first transmission
第一伝送路2は、シリアルATA規格に従ったものに限定されるものではなく、その最大伝送速度が第二伝送路3の伝送速度を超えるものであれば、ATAPI(AT Attachment Packet Interface)規格に従った伝送路などでもよい。
The
第一伝送路受信部11は、第一伝送路2がシリアルATA以外であれば、OOBや差動伝送に限定されず、その他のデジタル/非デジタルのデータ伝送方式をサポートしてもよい。また、波形パターンによるメッセージの伝送方法は、シリアルATAのOOBに限らず、例えば、USB(Universal Serial Bus)のチャープを検出する方法でもよい。
The first transmission
第二伝送路送信データ生成部12は、第一伝送路受信部11からデータを取得し、第一伝送路受信データ圧縮部121で不必要なデータを削除しながら第一伝送路受信データバッファ122に蓄積する。OOBはOOB固有のメッセージとして取得し、OOB以外については、シリアルATAのリンク層でデータを扱う際のDword単位(10bit×4の40bit)で第一伝送路受信部11からデータを取得する。
The second transmission path transmission
第二伝送路送信データ生成部12は、第一伝送路受信データバッファ122内に蓄積されているデータ量と第一伝送路受信部11から受信したデータを参照し、後述するパケット生成条件を満たした場合に、第一伝送路受信データバッファ122内に蓄積されているデータをパケット化して送信パケットバッファ13へ移動する。
The second transmission path transmission
第二伝送路送信部14は、第二伝送路3の送信タイミングで送信パケットバッファ13から送信パケットを取得し第二伝送路3へ送信する。送信パケットバッファ13が空であれば、第二伝送路3へは0のみを送信する。
The second transmission
なお、第二伝送路送信部14は、後述するフロー制御および優先送信モードをサポートしており、優先送信モードが1であるパケットが送信パケットバッファ13の先頭にあった場合には、フロー制御により第二伝送路3への送信が止められていたとしても、送信パケットバッファ13の先頭から、優先送信モードが1であるパケットを全部送信する。
Note that the second transmission
第二伝送路3からのデータは、受信信号線31から第二伝送路受信部15へ受信され、受信パケットバッファ16に蓄積される。
Data from the
第一伝送路送信データ生成部17は、受信パケットバッファ16よりパケットを取得し、第一伝送路送信データ復帰部171で第一伝送路へ送信するデータを生成し、第一伝送路送信データバッファ172に蓄積する。
The first transmission line transmission
第一伝送路送信部18は、第一伝送路送信データバッファ172からデータを取得して第一伝送路2の送信信号線22へデータを流す。
The first transmission
なお、第二伝送路3は、MOSTの規格に従ったものに限定されるものではなく、その伝送速度が第一伝送路2より小さいもので、IEEE(the Institute of Electrical and Electronic Engineers)1394規格やUSB規格に従ったものや、無線LAN(Local Area Network)などでもよい。
The
図2は、このような伝送路中継装置1を使用する伝送装置の例である。
FIG. 2 is an example of a transmission apparatus that uses such a transmission
図2に示すように、伝送装置は、DVDメディアからデータの読み取りを行うドライブ装置4と、シリアルATA規格に従う第1の伝送路2aおよび第3の伝送路2b(図1の第一伝送路2に相当)と、MOSTの規格に従う第2の伝送路3a(図1の第二伝送路3に相当)と、第1の伝送路2aと第2の伝送路3aとの中継を行う第1の伝送路中継装置1aと、第2の伝送路3aと第3の伝送路2bとの中継を行う第2の伝送路中継装置1bと、DVDメディアに記録されたDVD−Videoのデータを復号化する復号化部5と、復号化部5で復号化されたデータを表示するCRT(Cathode Ray Tube)や液晶やプラズマなどの表示装置6とを備えている。
As shown in FIG. 2, the transmission apparatus includes a
第1の伝送路中継装置1aおよび第2の伝送路中継装置1bは、図1の構成を持つものであるが、第2の伝送路3aでそれぞれの第二伝送路送信部14と第二伝送路受信部15が接続されているので、第1の伝送路中継装置1aの第二伝送路送信部14から送信されたパケットは、第2の伝送路3aを通って第2の伝送路中継装置1bの第二伝送路受信部15にて受信され、第2の伝送路中継装置1bの第二伝送路送信部14から送信されたパケットは、第2の伝送路3aを通って第1の伝送路中継装置1aの第二伝送路受信部15にて受信されることになる。
The first transmission
なお、ドライブ装置4は、DVDメディアからデータの読み取りを行うものに限定されるものではなく、CD(Compact Disc)からデータを読み取ったり、ハードディスクからデータを読み取ったりするものでもよい。これに対応して、復号化部5は、ドライブ装置4で読み取ったデータを復号化することができるものを接続する。
The
また、第1の伝送路2aおよび第3の伝送路2bは、シリアルATA規格に従ったものに限定されるものではなく、その最大伝送速度が第2の伝送路3aの伝送速度を超えるものであれば、ATAPI(AT Attachment Packet Interface)規格に従った伝送路などでもよい。
The
また、第2の伝送路3aは、MOSTの規格に従ったものに限定されるものではなく、その伝送速度が第1の伝送路2aや第3の伝送路2bより小さいもので、IEEE(the Institute of Electrical and Electronic Engineers)1394規格やUSB(Universal Serial Bus)規格に従ったものや、無線LAN(Local Area Network)などでもよい。
The
また、復号化部5とドライブ装置4は、シリアルATA規格のホストとデバイスにそれぞれ対応する。
Further, the
また、第2の伝送路3aは、本実施の形態のように、DVD−Videoのデータを伝送し、表示装置6において途切れずに再生しようとする場合には、DVD−Videoに必要な11.08Mbpsに加え、伝送の管理データ用に数Mbpsの帯域が必要となる。もちろんそれ以上あってもよい。
Further, the
図3および図4は、第二伝送路送信データ生成部12の処理を説明するためのフローチャートである。
3 and 4 are flowcharts for explaining the processing of the second transmission path transmission
図3に示すように、第二伝送路送信データ生成部12は、まず、第一伝送路受信部11が第一伝送路2から受信したデータを取得する(S11)。
As illustrated in FIG. 3, the second transmission path transmission
次いで、取得したデータにより優先送信モード判定を行う(S12)。例えば、取得したデータがシリアルATAのOOB伝送を利用したリセット命令等の他のデータに優先して伝送したいデータであるかを判定し、優先して送信したいデータであれば(TRUE)、優先送信モードをオンにし(S13)、優先して送信したいデータでなければ(FALSE)、優先送信モードをオフにする(S14)。本実施の形態の優先モード判定では、受信データがOOB伝送を利用して送られてきたデータである場合に優先送信モードがオンにされる。なお、DMATPrimitive(DMATプリミティブ)である場合に優先送信モードをオンにするようにしてもよい。 Next, priority transmission mode determination is performed based on the acquired data (S12). For example, it is determined whether the acquired data is data to be transmitted with priority over other data such as a reset command using serial ATA OOB transmission. If the data is to be transmitted with priority (TRUE), the priority transmission is performed. The mode is turned on (S13), and if it is not data to be transmitted with priority (FALSE), the priority transmission mode is turned off (S14). In the priority mode determination of the present embodiment, the priority transmission mode is turned on when the received data is data transmitted using OOB transmission. Note that the priority transmission mode may be turned on in the case of DMATP primitive (DMAT primitive).
そして、第一伝送路受信データバッファ122に蓄積されているデータをパケット化して送信パケットバッファ13へ移動するかどうかを判定する(S15)。
Then, it is determined whether or not the data accumulated in the first transmission path
判定条件は以下の3条件のORである。
条件1:第一伝送路受信データバッファ122が満杯である。
条件2:第一伝送路受信データバッファ122に蓄積しているデータタイプと、今回受信したデータのデータタイプが異なる。
条件3:優先送信モードがオンになっている。
The determination condition is OR of the following three conditions.
Condition 1: The first transmission path
Condition 2: The data type stored in the first transmission path
Condition 3: The priority transmission mode is on.
条件2のデータタイプとは、伝送したい実データと、伝送の管理データとの二種類がある。
There are two types of data types of
条件1から条件3のいずれかが満たされている場合(TRUE)、第一伝送路受信データバッファ122内に蓄積されているデータをパケット化して送信パケットバッファ13の最後へ移動する(S16)。
When any one of the
このようにすることにより、連続した同じ種類のデータを1つのパケットにまとめて送信することができる。 By doing in this way, the continuous same kind of data can be collectively transmitted in one packet.
図5は、第2の伝送路3aで使用するパケットフォーマットを示す図である。
FIG. 5 is a diagram showing a packet format used in the
パケットは、ヘッダ部とデータ部からなり、ヘッダ部には、プリアンブル、データ部データ長、優先送信モード、タイプが含まれる。 The packet is composed of a header part and a data part. The header part includes a preamble, a data part data length, a priority transmission mode, and a type.
プリアンブルは、パケットの先頭を表し、データが0の連続である状態からプリアンブルを検知することでパケットの先頭を認識することができ、パケットの受信を開始することができる。 The preamble represents the beginning of the packet, and the beginning of the packet can be recognized by detecting the preamble from a state in which data is continuous 0, and reception of the packet can be started.
優先送信モードは、第二伝送路送信データ生成部12の優先送信モード判定(S12)の判定結果が反映される。
In the priority transmission mode, the determination result of the priority transmission mode determination (S12) of the second transmission path transmission
タイプは、条件2のデータタイプと同義であり、実データであるか管理データであるかを識別するbitである。タイプが0であれば、データ部には実データが格納されていることを示し、タイプが1であれば、データ部には管理データが格納されていることを示している。管理データとしては、シリアルATAのOOBとフレームの送受信や通信を制御するPrimitive(プリミティブ)に対応した管理データ識別子を設定する。図6は、OOBおよびPrimitiveと管理データ識別子の対応表である。
The type is synonymous with the data type of
なお、OOBとPrimitiveの伝送方法については、8bit以上でもよい。Primitiveの伝送方法については、4Byte単位であるPrimitiveの下位3Byteのみを伝送してもよい。また、Dword単位(4×10bit)でもよい。 Note that the transmission method of OOB and Primitive may be 8 bits or more. As for the Primitive transmission method, only the lower 3 Bytes of Primitive, which is a 4-byte unit, may be transmitted. Further, a Dword unit (4 × 10 bits) may be used.
なお、パケットフォーマットは図5に示したものには限定されず、例えば、固定長のパケットでもよく、少なくとも実データと管理データを区別して伝送可能であれば、任意のフォーマットでよい。 The packet format is not limited to that shown in FIG. 5, and may be a fixed-length packet, for example, as long as at least actual data and management data can be distinguished and transmitted.
また、本実施の形態においては、実データと管理データとの区別をパケットヘッダで行ったが、これに限定されるものではなく、第2の伝送路3a上に実データと管理データの帯域をそれぞれ別に設けて伝送してもよい。
In the present embodiment, the actual data and the management data are distinguished by the packet header. However, the present invention is not limited to this, and the bandwidth of the actual data and the management data is set on the
次いで、後述する初期化関連処理起動判定を行い(S17)、条件を満たした場合は(TRUE)、初期化関連処理を行う(S18)。 Next, initialization-related process activation determination described later is performed (S17), and when the condition is satisfied (TRUE), initialization-related process is performed (S18).
次いで、図4に移り、第一伝送路受信データ圧縮部121により受信データの圧縮を行う。
Next, moving to FIG. 4, the received data is compressed by the first transmission path received
第一伝送路受信データ圧縮部121は、受信したデータに対して伝送可否判定を行う(S19)。初期化モード中でなければ、受信したデータが実データの場合には必ず伝送する。シリアルATAのPrimitiveを受信した場合には、図7に示すようにPrimitiveの種類に応じて処理を変える。
The first transmission path reception
図7において、「○」は全て伝送する、「△」は同じPrimitiveが連続する場合には1個のみを伝送する、「×」は全て伝送しない、ことを表す。 In FIG. 7, “◯” indicates that all are transmitted, “Δ” indicates that only one is transmitted when the same Primitive is continuous, and “×” indicates that all are not transmitted.
なお、初期化モード中の条件については後述する。OOBは、伝送可否判定を行う時点では必ず初期化モードであるため、後述する。 The conditions during the initialization mode will be described later. Since OOB is always in the initialization mode at the time of determining whether transmission is possible, it will be described later.
伝送可否判定の結果、伝送する場合には(TRUE)、受信データがOOBであるか判定し(S20)、受信データがOOBであれば、OOBを図6の対応表に従って管理データ識別子に変換する(S21)。 As a result of the transmission permission / inhibition determination, when transmitting (TRUE), it is determined whether the received data is OOB (S20). If the received data is OOB, the OOB is converted into a management data identifier according to the correspondence table of FIG. (S21).
受信データがOOB以外であれば、受信データがPrimitiveであるか判定し(S22)、受信データがPrimitiveであれば、Primitiveを図6の対応表に従って管理データ識別子に変換する(S23)。 If the received data is not OOB, it is determined whether the received data is Primitive (S22). If the received data is Primitive, Primitive is converted into a management data identifier according to the correspondence table of FIG. 6 (S23).
受信データがPrimitiveでなければ、受信データが伝送する実データであるか判定し(S24)、受信データが伝送する実データであれば、シリアルATA等の高速シリアルインターフェースで一般的に使用されている符号化方式である8b/10b変換の逆変換である10b/8b変換を行う(S25)。 If the received data is not Primitive, it is determined whether the received data is actual data to be transmitted (S24). If the received data is actual data to be transmitted, it is generally used in a high-speed serial interface such as serial ATA. The 10b / 8b conversion that is the inverse of the 8b / 10b conversion that is the encoding method is performed (S25).
上述の処理により受信データに対応した方法によって8bitに変換されたデータは、第一伝送路受信データバッファ122の最後に格納される(S26)。 The data converted into 8 bits by the method corresponding to the received data by the above process is stored at the end of the first transmission path received data buffer 122 (S26).
このようにして、第一伝送路受信データ圧縮部121において、第一伝送路から受信したデータが圧縮される。
In this way, the first transmission path received
次いで、優先送信モードの判定を行い(S27)、優先送信モードがオンであれば、第一伝送路受信データバッファ122の中身をパケット化して送信パケットバッファ13の先頭に格納する(S28)。
Next, the priority transmission mode is determined (S27). If the priority transmission mode is on, the contents of the first transmission path
優先送信モードがオフであれば、第一伝送路受信データバッファ122と送信パケットバッファ13の蓄積状況によりパケット生成判定を行う(S29)。
If the priority transmission mode is off, packet generation determination is performed based on the accumulation status of the first transmission path
第一伝送路受信データバッファ122が空でなく、かつ送信パケットバッファ13が空でない場合(TRUE)、第一伝送路受信データバッファ122の中身をパケット化して送信パケットバッファ13の最後に格納する(S30)。
If the first transmission path
図8および図9は、第一伝送路送信データ生成部17の処理を説明するためのフローチャートである。第一伝送路送信データ生成部17の処理は、第一伝送路送信部18からの要求をトリガとして行われる。
8 and 9 are flowcharts for explaining the processing of the first transmission path transmission
図8に示すように、まず、受信パケットバッファ16の先頭のパケットの優先送信モードが1(オン)であるか判定し(S51)、受信パケットバッファ16の先頭から後方へ優先送信モードが1であるパケット全部について処理を行う。
As shown in FIG. 8, first, it is determined whether or not the priority transmission mode of the first packet in the
優先送信モードが1であるパケットについて、第一伝送路送信データ復帰部171により、図9に示すような、パケットのデータ部のデータを第一伝送路2に送信するデータに復帰させる処理を行う(S52)。
For the packet whose priority transmission mode is 1, the first transmission line transmission
図9に移って、後述する初期化関連処理起動判定を行い(S101)、条件を満たした場合は(TRUE)、初期化関連処理を行う(S102)。 Moving to FIG. 9, initialization-related process activation determination described later is performed (S101). If the condition is satisfied (TRUE), initialization-related process is performed (S102).
次いで、パケットのデータ部の種類が管理データ識別子で、この管理データ識別子が図6の対応表によりOOBであるか判定し(S103)、OOBであれば、この管理データ識別子を図6の対応表に従ってOOBに変換する(S104)。 Next, it is determined whether the type of the data part of the packet is a management data identifier and this management data identifier is OOB according to the correspondence table of FIG. 6 (S103). If it is OOB, this management data identifier is assigned to the correspondence table of FIG. To OOB (S104).
データ部がOOB以外であれば、データ部の種類が管理データ識別子で、この管理データ識別子が図6の対応表によりPrimitiveであるか判定し(S105)、データ部がPrimitiveであれば、この管理データ識別子を図6の対応表に従ってPrimitiveに変換する(S106)。 If the data part is other than OOB, it is determined whether the type of the data part is a management data identifier and this management data identifier is Primitive according to the correspondence table of FIG. 6 (S105). If the data part is Primitive, this management part The data identifier is converted into Primitive according to the correspondence table of FIG. 6 (S106).
データ部がPrimitiveでなければ、データ部が伝送する実データであるか判定し(S107)、データ部が伝送する実データであれば、8b/10b変換を行う(S108)。 If the data part is not Primitive, it is determined whether the data part is actual data transmitted (S107). If the data part is actual data transmitted, 8b / 10b conversion is performed (S108).
なお、Primitiveの作成、または8b/10b変換に際しては、シリアルATAのRunningDisparityを考慮して行う。 Note that the creation of Primitive or the 8b / 10b conversion is performed in consideration of the Running Disparity of the serial ATA.
このような処理により、1Dword(4×10bit)のシリアルATA送信用データが作成される。 By such processing, 1D word (4 × 10 bits) serial ATA transmission data is created.
次いで、図8に戻って、受信パケットのデータ部がOOBに対応した管理データ識別子であるか判定し(S53)、OOBであれば、OOBの送信指示を第一伝送路送信部18に送り(S55)、初期化関連処理でバッファクリアが行われているため、第一伝送路送信データ生成部17の処理を終了する。
Next, returning to FIG. 8, it is determined whether the data portion of the received packet is a management data identifier corresponding to OOB (S53). If it is OOB, an OOB transmission instruction is sent to the first transmission line transmission portion 18 ( S55) Since the buffer is cleared in the initialization-related process, the process of the first transmission path transmission
OOBでなければ、作成された1Dwordのデータを第一伝送路送信データバッファ172の最後尾に保存し(S54)、S51に戻り、受信パケットバッファ16の先頭パケットの優先送信モードが1の間、S52からS54までの処理を繰り返す。
If it is not OOB, the created 1 Dword data is stored at the end of the first transmission path transmission data buffer 172 (S54), the process returns to S51, and the priority packet transmission mode of the first packet of the
S51において、受信パケットバッファ16の先頭パケットの優先送信モードが0の場合、第一伝送路送信データバッファ172が空きであるか判定し(S56)、第一伝送路送信データバッファ172が空きでなければ、第一伝送路送信データバッファ172の先頭からデータを取得し(S57)、取得した送信データを第一伝送路送信部18に渡す(S58)。
In S51, if the priority transmission mode of the first packet in the
第一伝送路送信データバッファ172が空きであれば、受信パケットバッファ16が空であるか判定し(S59)、受信パケットバッファ16が空でなければ、受信パケットバッファ16の先頭パケットのデータ部を全て変換処理したかを判定し(S60)、データ部全てについて処理を行う。
If the first transmission path
先頭パケットのデータ部に対して、第一伝送路送信データ復帰部171により、S52と同様に図9に示すパケットのデータ部による処理を行う(S61)。
The first transmission path transmission
この処理により作成された1Dwordのデータを第一伝送路送信データバッファ172の最後尾に保存し(S62)、S60に戻り、パケットのデータ部のデータ長分だけS61、S62の処理を行い、全てのデータ部を処理したら、第一伝送路送信データバッファ172の先頭からデータを取得し(S57)、取得した送信データを第一伝送路送信部18に渡す(S58)。 The 1D word data created by this process is stored at the end of the first transmission path transmission data buffer 172 (S62), and the process returns to S60, and the processes of S61 and S62 are performed for the data length of the data part of the packet. Is processed from the head of the first transmission path transmission data buffer 172 (S57), and the acquired transmission data is passed to the first transmission path transmission section 18 (S58).
次いで、S59において、受信パケットバッファ16が空であれば、前回送信データから今回送信するデータを生成する(S63)。前回送信データが実データであれば、HOLDPrimitiveを今回送信するデータとする。前回送信データがOOBであれば、何も送らない。前回送信データがその他のPrimitiveであれば、図10に示すように、送信データを生成し、生成した送信データを第一伝送路送信部18に渡す(S58)。
Next, if the
次に、伝送路中継装置1で行われるフロー制御について説明する。
Next, flow control performed in the transmission
伝送路中継装置1は、二種類の伝送路に接続し、両伝送路は同期していないためフロー制御が必要となる。
The transmission
第一伝送路2からのデータの流入が第二伝送路3への流出より速く、送信パケットバッファ13のバッファあふれの可能性がある場合には、第一伝送路2からのデータの流入を止めるよう第一伝送路送信部18がフロー制御命令を送信する。
When inflow of data from the
ここで、第一伝送路2としてシリアルATAを使用した場合には、フロー制御命令HOLDPrimitiveを第一伝送路送信部18で生成して送信する。
Here, when serial ATA is used as the
シリアルATA伝送では、フロー制御命令HOLDPrimitiveに対してHOLDAPrimitiveを送り返す。この応答までの時間についての推奨値を満たすため、第一伝送路2からHOLDPrimitiveが第一伝送路受信部11に届いた場合には、第一伝送路受信部11は、第一伝送路送信部18に対してHOLDAPrimitiveを送信するよう命令する。
In serial ATA transmission, HOLDAP primitive is returned to the flow control command HOLD Primitive. In order to satisfy the recommended value for the time until this response, when HOLDPrimitive arrives at the first transmission
第二伝送路3についても、シリアルATAと同様のフロー制御の仕組みを使用し、パケットの中にHOLDPrimitive、HOLDAPrimitiveを表す管理データ識別子を入れることでフロー制御を実現する。第一伝送路2から受信されるフロー制御命令は、上述のようにS19の伝送可否判定で伝送されないと判定され削除されるため、第一伝送路2で使用されるフロー制御と、第二伝送路3のフロー制御は独立に行われる。
For the
受信パケットバッファ16は、バッファあふれの可能性がある場合には、第二伝送路3からデータ送信を止めるよう、第二伝送路送信部14にフロー制御命令を送信するよう命令する。
When there is a possibility of buffer overflow, the
また第二伝送路3からHOLDが第二伝送路受信部15に届いた場合には、第二伝送路受信部15は、第二伝送路送信部14に対してHOLDAPrimitiveを送信するよう命令する。
When HOLD arrives from the
なお、フロー制御のためにパケットのヘッダにフロー制御用情報のエリアを設けても良い。 For flow control, an area for flow control information may be provided in the header of the packet.
また、第2の伝送路3a上でやり取りするフロー制御命令はHOLDPrimitiveとは異なる管理データ識別子を新規に設定して第1の伝送路2a、第3の伝送路2bとは別にしても良い。
In addition, the flow control command exchanged on the
また、フロー制御の方法は、シリアルATAのように、フロー制御命令に対して応答を常に送り返すのではなく、フロー制御の開始、終了を指示するような方法で行ってもかまわない。 The flow control method may be performed by a method of instructing the start and end of flow control, instead of always sending back a response to the flow control command as in serial ATA.
次に、初期化関連処理について説明する。 Next, initialization related processing will be described.
初期化関連処理は、3種類のOOBによって開始される。ホスト側からデバイス側へのCOMRESET、デバイス側からホスト側へのCOMINIT、双方向のCOMWAKEである。 Initialization-related processing is started by three types of OOB. COMRESET from the host side to the device side, COMINIT from the device side to the host side, and bidirectional COMWAKE.
初期化関連処理としては、電源管理状態の正常状態への遷移、バッファクリア、シリアルATAの初期化シーケンスに従った初期化処理の実行を行う。 As the initialization-related processing, transition to the normal state of the power management state, buffer clear, and initialization processing according to the serial ATA initialization sequence are executed.
伝送路の正常状態への遷移では、ドライブ装置4から復号化部5間にある機器、伝送路を正常に通信できる状態にする。
In the transition to the normal state of the transmission path, the device and the transmission path between the
例えば、復号化部5がドライブ装置4に対してCOMRESETを送り初期化要求を行った場合、第3の伝送路2b上を初期化要求が第2の伝送路中継装置1bへ届いた時に、第2の伝送路3aが省電力モードであれば、第2の伝送路3aを正常に通信のできる状態へ復帰させた後、初期化要求を第2の伝送路3a、第1の伝送路中継装置1a、第1の伝送路2aを経由してドライブ装置4へ送信する。
For example, when the
なお、伝送路の正常状態への復帰は第2の伝送路3aのみに限らず、全機器、全伝送路に対して行っても良い。
Note that the return of the transmission path to the normal state is not limited to the
また、第2の伝送路3aは省電力モードに限らず、通信不可能状態であるその他の状態の場合も同様である。
The
バッファクリアは、初期化要求前までの状態や蓄積されているデータが初期化要求後へ悪影響を及ぼさないために行う。 The buffer clear is performed so that the state before the initialization request and the accumulated data do not adversely affect after the initialization request.
第2の伝送路中継装置1bがOOBを受信した時に各バッファに蓄積されているデータをクリアする。さらに第2の伝送路3a上を伝送中であるデータをクリアするために、第2の伝送路3aから受信するデータを廃棄し、第2の伝送路3aへのデータ送信を行わない。
When the second transmission
シリアルATA伝送の初期化処理シーケンスにはレスポンス時間が厳密に定義されている部分があり、2つの伝送路中継装置1a、1bと第2の伝送路3aを経由して初期化処理を行うとそのレスポンス時間を満たすことができない部分がある。その部分のシーケンスについて、第1の伝送路2aを介して接続しているドライブ装置4と第1の伝送路中継装置1aとの間、また第3の伝送路2bを介して接続している第2の伝送路中継装置1bと復号化部5との間、でそれぞれ別々に行う。
The serial ATA transmission initialization process sequence has a part in which the response time is strictly defined. When initialization process is performed via the two transmission
図11は、直接接続しているシリアルATAのホストとデバイス間で行われる初期化シーケンスを示す。 FIG. 11 shows an initialization sequence performed between the directly connected serial ATA host and the device.
図12は、図2の構成において、復号化部5からCOMRESETにより初期化要求が発せられた場合における初期化シーケンスを示した図である。
FIG. 12 is a diagram showing an initialization sequence when an initialization request is issued from the
図12では、シリアルATAの初期化シーケンスにおけるデバイス側からホスト側へのCOMWAKE、デバイス側からホスト側へのSYNCPrimitiveの前までをシリアルATA(第1の伝送路2a、第3の伝送路2b)で直接接続している機器同士で直接応答を返しながら行う。この間の処理はシリアルATAの仕様どおりであり図11にあるため省略した。
In FIG. 12, COMWAKE from the device side to the host side in the initialization sequence of serial ATA and before the SYNC Primitive from the device side to the host side are serial ATA (
なお、初期化シーケンスにおけるデバイス側からホスト側へのCOMINIT等の、さらに早い段階から直接接続している機器同士のみでシーケンスを進めても良い。 Note that the sequence may be advanced only between devices that are directly connected from an earlier stage, such as COMINIT from the device side to the host side in the initialization sequence.
なお、このように第1の伝送路2a、第3の伝送路2bで直接接続している機器同士で直接応答を返す処理は、初期化処理以外にも例えば省電力モードからの復帰に対する応答といったシーケンスにおいて行っても良い。
Note that the process of returning a direct response between devices directly connected via the
初期化関連処理については、ホスト側のシリアルATA機器に接続している第2の伝送路中継装置1bとデバイス側のシリアルATA機器に接続している第1の伝送路中継装置1aとでは異なる動作をする。
Regarding the initialization-related processing, the second transmission
第2の伝送路中継装置1bのみ、図13に示す通常モード、第1の初期化モード、第2の初期化モード、の状態遷移にしたがうことで、初期化シーケンスを実現する。
Only the second transmission
第2の伝送路中継装置1bの初期状態は通常モードから始まる。通常モード時には、第2の伝送路3aから第3の伝送路2bの間の伝送は上記処理にしたがう。
The initial state of the second transmission
復号化部5からCOMRESETを受信すると、第1の初期化モードへ遷移する。
When COMRESET is received from the
第1の初期化モードでは、第3の伝送路2bからの受信データはCOMRESETのみを第2の伝送路3aへ送信する。また第2の伝送路3aからの受信データはなにも第3の伝送路2bへ送信しない。
In the first initialization mode, the reception data from the
第1の初期化モード中に第2の伝送路3aからCOMINITを受信すると、第2の初期化モードへ遷移する。
When COMINIT is received from the
第2の初期化モードでは、第3の伝送路2bからの受信データはCOMRESET、COMWAKEのみを第2の伝送路3aへ送信する。また第2の伝送路3aからの受信データはなにも第3の伝送路2bへ送信しない。
In the second initialization mode, received data from the
第2の初期化モード中に、SYNCPrimitiveを第3の伝送路2bへ送信し、かつ第2の伝送路3aからSYNCPrimitiveを受信した場合、初期化処理シーケンスの正常終了として通常モードへ戻る。
When SYNCP primitive is transmitted to the
第2の初期化モード中に第3の伝送路2bからCOMRESETを受信した場合には、第1の初期化モードへ戻る。
If COMRESET is received from the
また、通常モード時にCOMWAKEまたはCOMINITを第2の伝送路3aから受信する、またはCOMWAKEを第3の伝送路2bより受信した場合には、直接第2の初期化モードへ遷移する。
Further, when COMWAKE or COMINIT is received from the
なお、初期化処理中の状態遷移は上記に限定されず、例えば正常終了条件を通常伝送の始まりを表すX_RDYPrimitiveの第2の伝送路3aから第2の伝送路中継装置1bへの受信としてもよい。
The state transition during the initialization process is not limited to the above. For example, the normal end condition may be reception from the
以上の実施の形態においては、説明の便宜上、第1の伝送路中継装置1aと第2の伝送路中継装置1bとをほぼ同一の構成としたが、第1の伝送路2aと第3の伝送路2bとを異なる規格にしたがう伝送路にすれば当然伝送路中継装置1の内部処理も異なる。
In the above embodiment, for convenience of explanation, the first transmission
また、本実施の形態の伝送路中継装置1内には、ドライブ装置4から表示装置6方向へのブロックと逆方向のブロックをまとめて一装置としたが、伝送路中継装置をドライブ装置4から表示装置6方向と逆方向の二装置として分けて構成しても良い。
Further, in the transmission
また、第2の伝送路中継装置1bと復号化部5とを一体化し第3の伝送路2bを設けない構成、またはドライブ装置4と第1の伝送路中継装置1aとを一体化し第1の伝送路2aを設けない構成、としても良い。
Further, the second transmission
なお、いままでに述べた実施の形態ではドライブ装置4が一つの場合であったが、図14はドライブ装置を2つ設けた場合の伝送路中継装置1を使用する伝送装置の例である。
In the embodiment described so far, there is one
この場合、第一伝送路2が第一伝送路2aaと、第一伝送路2ab(第三伝送路)と2つになり、第一の伝送路中継装置1aは、第一伝送路2aaと第一伝送路2abの2つから送られてくるデータをそれぞれ受信し、それぞれのデータを伝送路が単一であった場合と同様に第一伝送路受信データ圧縮部121で圧縮を行い、複数ある伝送路毎に設ける第一伝送路受信データバッファ122に蓄積する。そして、複数ある第一伝送路受信データバッファ122のそれぞれに対してパケット化するときには、どの伝送路から送られてきたデータかを判別するために、図15のようにパケットに伝送路を識別する伝送路識別子を付与しておく。そして第2の伝送路3aにデータを中継する。
In this case, the
これによって、複数のドライブ装置からデータを受信するときでも、そのデータを区別した形でスループットの減少を抑えながら伝送速度の遅い前記第二伝送路上に伝送することができる。 As a result, even when data is received from a plurality of drive devices, the data can be transmitted on the second transmission line having a low transmission rate while suppressing a decrease in throughput in a differentiated manner.
以上のように、本発明にかかる伝送路中継装置は、伝送速度がより低速な伝送路へ中継する場合でも、スループットの減少を抑えることができるという効果を有し、異なる伝送路間で伝送データを中継する伝送路中継装置等として有用である。 As described above, the transmission line relay device according to the present invention has an effect of suppressing a reduction in throughput even when relaying to a transmission line with a lower transmission speed, and transmission data between different transmission lines. It is useful as a transmission line relay device or the like for relaying.
1 伝送路中継装置
11 第一伝送路受信部
12 第二伝送路送信データ生成部
121 第一伝送路受信データ圧縮部
122 第一伝送路受信データバッファ
13 送信パケットバッファ
14 第二伝送路送信部
15 第二伝送路受信部
16 受信パケットバッファ
17 第一伝送路送信データ生成部
171 第一伝送路送信データ復帰部
172 第一伝送路送信データバッファ
18 第一伝送路送信部
2 第一伝送路
21 受信信号線
22 送信信号線
3 第二伝送路
31 受信信号線
32 送信信号線
1a 第1の伝送路中継装置
1b 第2の伝送路中継装置
2a 第1の伝送路
2b 第3の伝送路
3a 第2の伝送路
4 ドライブ装置
5 復号化部
6 表示装置
210 送信装置
211 ドライブ装置
212 第一パケット処理部
212a バッファ
213 第一伝送路インターフェース部
214 第一ストリームデータ伝送路
220 伝送路
230 受信装置
231 復号化部
232 第二パケット処理部
232a バッファ
233 第二伝送路インターフェース部
234 第二ストリームデータ伝送路
240 表示装置
DESCRIPTION OF
Claims (18)
前記第一伝送路からデータを受信する第一伝送路受信手段と、
前記第一伝送路受信手段が受信したデータの少なくとも前記管理データを圧縮する第一伝送路受信データ圧縮手段と、
前記第一伝送路受信データ圧縮手段が処理したデータを前記第二伝送路に送信する第二伝送路送信手段とを備えることを特徴とする伝送路中継装置。 A transmission path relay device that relays between a first transmission path that transmits the actual data to be transmitted and transmission management data separately, and a second transmission path that has a lower transmission speed than the first transmission path,
First transmission path receiving means for receiving data from the first transmission path;
First transmission line reception data compression means for compressing at least the management data of the data received by the first transmission line reception means;
A transmission line relay apparatus comprising: second transmission line transmission means for transmitting data processed by the first transmission line reception data compression means to the second transmission line.
前記第二伝送路送信手段は、前記第二伝送路送信データ生成手段が生成したパケットを前記第二伝送路に送信することを特徴とする請求項1に記載の伝送路中継装置。 From the actual data and management data processed by the first transmission path reception data compression means, a flag for identifying whether the data to be transmitted is the actual data or the management data is added, and the continuous actual data or A second transmission path transmission data generating means for generating a packet so as to combine the management data into one packet;
The transmission path relay device according to claim 1, wherein the second transmission path transmission means transmits the packet generated by the second transmission path transmission data generation means to the second transmission path.
前記複数の伝送路を区別できる伝送路識別子を付加する伝送路識別子付加手段を備え、
前記第一伝送路受信データ圧縮手段は、前記第一伝送路受信手段が受信した、前記複数の伝送路からのデータをそれぞれ圧縮し、
前記第一伝送路受信データ圧縮手段が処理したデータに前記伝送路識別子を付加したデータを前記第二伝送路に送信することを特徴とする請求項1に記載の伝送路中継装置。 The first transmission line receiving means receives data from a plurality of transmission lines,
A transmission path identifier adding means for adding a transmission path identifier capable of distinguishing the plurality of transmission paths;
The first transmission line reception data compression means compresses data from the plurality of transmission lines received by the first transmission line reception means,
2. The transmission line relay apparatus according to claim 1, wherein the data obtained by adding the transmission line identifier to the data processed by the first transmission line reception data compression unit is transmitted to the second transmission line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004270315A JP2006086884A (en) | 2004-09-16 | 2004-09-16 | Transmission path repeater |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004270315A JP2006086884A (en) | 2004-09-16 | 2004-09-16 | Transmission path repeater |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006086884A true JP2006086884A (en) | 2006-03-30 |
Family
ID=36165010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004270315A Pending JP2006086884A (en) | 2004-09-16 | 2004-09-16 | Transmission path repeater |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006086884A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8428059B2 (en) | 2010-03-09 | 2013-04-23 | Fujitsu Limited | Network apparatus, edge router, and packet communication system |
-
2004
- 2004-09-16 JP JP2004270315A patent/JP2006086884A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8428059B2 (en) | 2010-03-09 | 2013-04-23 | Fujitsu Limited | Network apparatus, edge router, and packet communication system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5170166B2 (en) | Content receiver | |
JP3882187B2 (en) | Flow control system and method | |
EP2827600B1 (en) | Image processing device, image reproduction device, and image reproduction system | |
JP3633884B2 (en) | Playback image transmission device | |
JPH11501786A (en) | Compressed video signal receiving method | |
KR19990083394A (en) | Digital multi-media device and method relating thereto | |
JP2002543636A (en) | Update header compression status of packet communication | |
CA2326669C (en) | A packet protocol for encoding and decoding video data and data flow signals | |
US20040249985A1 (en) | Host network interface device and drive network interface device | |
JP2010021663A (en) | Communication apparatus and communication method | |
KR19990072917A (en) | Data communication system, data communication method, data communication apparatus, and digital interface | |
US6023478A (en) | Method and apparatus for communicating data byte streams | |
JP5335354B2 (en) | Information transmitting apparatus, information transmitting apparatus control method, and computer program | |
JP2004328613A (en) | Video distribution system | |
EP1430666B1 (en) | Transmission method, sending device and receiving device | |
JP2006086884A (en) | Transmission path repeater | |
JP2001069485A (en) | Proxy for video on-demand system via internet | |
JP4491918B2 (en) | Data distribution apparatus and method, data distribution system | |
JP4714074B2 (en) | Transmission device, transmission device, and reception device | |
JP2008109471A (en) | Lan system, transmitter, receiver, lan system control method, program and multiple frames | |
JP3161686B2 (en) | Packet transmission equipment | |
JP4135763B2 (en) | Content receiver | |
JP2001045051A (en) | Server client type system | |
JP2003198659A (en) | Method for transmission, transmitter, and receiver | |
JP3288985B2 (en) | Image communication method, image communication system, and recording medium storing image communication program |