JP2006086884A - Transmission path repeater - Google Patents

Transmission path repeater Download PDF

Info

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
Application number
JP2004270315A
Other languages
Japanese (ja)
Inventor
Masakazu Otsuka
雅和 大塚
Susumu Ibaraki
晋 茨木
Hisaya Fukuda
久哉 福田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004270315A priority Critical patent/JP2006086884A/en
Publication of JP2006086884A publication Critical patent/JP2006086884A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transmission path repeater which suppresses decrease of throughput even when repeating to a transmission path with lower transmission rate. <P>SOLUTION: A first transmission path received data compression part 121 converts received data into a corresponding management data identifier if the received data is OOB to the received data from a first transmission path 2, converts the received data into a corresponding management data identifier if the received data is Primitive, performs 10b/8b conversion if the received data is actual data to be transmitted, accumulates the received data in a first transmission path received data buffer 122 and a second transmission path transmitting data generation part 12 arranges pieces of the same kind of data which are continuously received in one packet from the data in the first transmission path received data buffer 122, generates a packet to which a flag for identifying management data and the actual data is added and transmits the packet from a transmitting packet buffer 13 by a second transmission path transmitting part 14. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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. Device 210, transmission path 220 for transmitting data between transmission device 210 and reception device 230, reception device 230 for decoding and outputting data received from transmission device 210, and data output by reception device 230 And a display device 240 for displaying. (For example, refer to Patent Document 1).

送信装置210は、DVDメディア等からデータの読み取りを行うドライブ装置211と、ドライブ装置211で読み取られたストリームデータやドライブ装置211より出力されたコマンドをパケット化するとともに、伝送路220を経由して伝送されてきたパケットに対応するコマンドをドライブ装置211に出力する第一パケット処理部212と、第一パケット処理部212で作成されたパケットを伝送路220に出力するとともに、伝送路220からパケットを受信して第一パケット処理部212に出力する第一伝送路インターフェース部213と、第一パケット処理部212とドライブ装置211間のデータを伝送する第一ストリームデータ伝送路214とを備えている。   The transmission device 210 packetizes the drive device 211 that reads data from a DVD medium and the like, the stream data read by the drive device 211 and the command output from the drive device 211, and passes through the transmission path 220. A first packet processing unit 212 that outputs a command corresponding to the transmitted packet to the drive device 211, a packet created by the first packet processing unit 212 is output to the transmission path 220, and a packet is transmitted from the transmission path 220. A first transmission path interface section 213 that receives and outputs the first packet processing section 212 to the first packet processing section 212 and a first stream data transmission path 214 that transmits data between the first packet processing section 212 and the drive device 211 are provided.

受信装置230は、DVDメディア等に記録された圧縮されたデータを復号する復号化部231と、復号化部231から出力されたコマンドをパケット化するとともに、伝送路220を経由して伝送されてきたパケットを認識し、復号化部231にストリームデータまたはコマンドとして出力する第二パケット処理部232と、第二パケット処理部232で作成されたパケットを伝送路220に出力するとともに、伝送路220からパケットを受信して第二パケット処理部232に出力する第二伝送路インターフェース部233と、第二パケット処理部232と復号化部231間のデータを伝送する第二ストリームデータ伝送路234とを備えている。   The receiving device 230 packetizes the decoding unit 231 that decodes the compressed data recorded on the DVD medium or the like, and the command output from the decoding unit 231 and transmits the packet via the transmission path 220. The second packet processing unit 232 that recognizes the received packet and outputs it to the decoding unit 231 as stream data or a command, and outputs the packet created by the second packet processing unit 232 to the transmission path 220 and from the transmission path 220 A second transmission path interface unit 233 that receives a packet and outputs the packet to the second packet processing unit 232; and a second stream data transmission path 234 that transmits data between the second packet processing unit 232 and the decoding unit 231. ing.

なお、第一パケット処理部212および第二パケット処理部232は、データを送受信する際に使用するバッファ212aおよびバッファ232aをそれぞれ内蔵している。   Note that the first packet processing unit 212 and the second packet processing unit 232 each include a buffer 212a and a buffer 232a that are used when data is transmitted and received.

このような伝送装置において、第一パケット処理部212でパケット化されたストリームデータとコマンドは、多重化されて第一伝送路インターフェース部213から同期チャネルを用いて伝送される。   In such a transmission apparatus, the stream data and commands packetized by the first packet processing unit 212 are multiplexed and transmitted from the first transmission path interface unit 213 using a synchronization channel.

また、第二パケット処理部232は、復号化部231から出力されるコマンドをパケット化する際、復号化部231から出力されるフロー制御情報を多重してパケット化し、伝送路220の同期チャネルを用いて第一パケット処理部212に伝送し、このフロー制御情報に基づいて、ドライブ装置211に対する読み出し/書き込みを制御している。   Further, when the second packet processing unit 232 packetizes the command output from the decoding unit 231, the flow control information output from the decoding unit 231 is multiplexed and packetized, and the synchronization channel of the transmission path 220 is set. The data is transmitted to the first packet processing unit 212, and reading / writing with respect to the drive device 211 is controlled based on the flow control information.

ここで、第一パケット処理部212および第一伝送路インターフェース部213は、伝送路220と第一ストリームデータ伝送路214とを中継する伝送路中継装置として機能し、第二パケット処理部232および第二伝送路インターフェース部233は、伝送路220と第二ストリームデータ伝送路234とを中継する伝送路中継装置として機能する。
特開2003−198659号公報
Here, the first packet processing unit 212 and the first transmission path interface unit 213 function as a transmission path relay device that relays between the transmission path 220 and the first stream data transmission path 214, and the second packet processing section 232 and the first transmission path interface section 213. The two transmission path interface unit 233 functions as a transmission path relay device that relays between the transmission path 220 and the second stream data transmission path 234.
JP 2003-198559 A

しかしながら、従来の伝送装置においては、ストリームデータとコマンドをパケット化し多重化して伝送路220上を伝送するため、ストリームデータとコマンドの合計伝送速度は伝送路220の最高伝送速度を超えることはできなかった。   However, in the conventional transmission apparatus, since the stream data and the command are packetized and multiplexed and transmitted on the transmission path 220, the total transmission speed of the stream data and the command cannot exceed the maximum transmission speed of the transmission path 220. It was.

また、伝送路220のスループットは、第一ストリームデータ伝送路214のスループットから、第一ストリームデータ伝送路214の最高伝送速度と伝送路220の最高伝送速度の比により算出されるが、第一ストリームデータ伝送路214のスループットが小さく、第一ストリームデータ伝送路214の最高伝送速度が伝送路220の最高伝送速度よりも大幅に速い場合、伝送路220のスループットが小さくなるという問題があった。   The throughput of the transmission path 220 is calculated from the throughput of the first stream data transmission path 214 by the ratio between the maximum transmission speed of the first stream data transmission path 214 and the maximum transmission speed of the transmission path 220. When the throughput of the data transmission path 214 is small and the maximum transmission speed of the first stream data transmission path 214 is significantly faster than the maximum transmission speed of the transmission path 220, there is a problem that the throughput of the transmission path 220 becomes small.

ここでスループットとは、伝送したいデータ本体の伝送速度を表しており、伝送の管理データやフロー制御信号やエラー訂正用データといった伝送方法に依存する付加データは含まず、これらのデータに対して、伝送したいデータ本体を以降伝送データという。   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 line relay device 1 is connected to a reception signal line 21 of a first transmission line 2 conforming to a serial ATA (SATA, Serial AT Attachment) standard and receives data from the reception signal line 21. The receiving unit 11, the second transmission line transmission data generation unit 12 that acquires the data received by the first transmission line reception unit 11, packetizes and outputs the data, and the packet output by the second transmission line transmission data generation unit 12 The transmission packet buffer 13 for temporarily storing and the transmission signal line 32 of the second transmission path 3 in accordance with the MOST (Media Oriented System Transport) standard are connected to acquire a transmission packet from the transmission packet buffer 13 and transmit it to the transmission signal line 32. A second transmission path transmitter 14 that is connected to the reception signal line 31 of the second transmission path 3 and receives the data from the reception signal line 31; A reception packet buffer 16 that temporarily stores data received by the transmission path receiving unit 15, and a first transmission path transmission data generation unit 17 that acquires data from the reception packet buffer 16 and generates data to be transmitted to the first transmission path 2. And a first transmission path transmission section 18 connected to the transmission signal line 22 of the first transmission path 2 and transmitting the data generated by the first transmission path transmission data generation section 17 to the transmission signal line 22.

第二伝送路送信データ生成部12は、第一伝送路受信部11が受信したデータの不必要なデータを削除しながら出力する第一伝送路受信データ圧縮部121と、第一伝送路受信データ圧縮部121が出力したデータを一時蓄積する第一伝送路受信データバッファ122とを備えている。   The second transmission line transmission data generating unit 12 includes a first transmission line reception data compression unit 121 that outputs unnecessary data from the data received by the first transmission line reception unit 11 and first transmission line reception data. A first transmission path reception data buffer 122 for temporarily storing data output from the compression unit 121;

第一伝送路送信データ生成部17は、受信パケットバッファ16から取得したパケットから第一伝送路へ送信するデータを生成する第一伝送路送信データ復帰部171と、第一伝送路送信データ復帰部171が生成したデータを一時蓄積する第一伝送路送信データバッファ172とを備えている。   The first transmission line transmission data generation unit 17 includes a first transmission line transmission data return unit 171 that generates data to be transmitted to the first transmission line from a packet acquired from the reception packet buffer 16, and a first transmission line transmission data recovery unit. 171 includes a first transmission path transmission data buffer 172 for temporarily storing data generated by 171.

第一伝送路受信部11は、シリアルATAにおけるOOB(Out Of Band)と呼ばれる波形パターンによるメッセージを、通常の差動伝送によるデジタルデータ伝送と区別して受信するようになっている。   The first transmission path receiving unit 11 receives a message having a waveform pattern called OOB (Out Of Band) in serial ATA separately from digital data transmission by normal differential transmission.

第一伝送路受信部11は、シリアルATAの物理層とリンク層とを含み、OOBはシリアルATAの物理層により受信される。OOB以外についてはシリアルATAの通常伝送に従ってデジタルデータとして受信される。   The first transmission line reception unit 11 includes a physical layer and a link layer of serial ATA, and the OOB is received by the physical layer of serial ATA. The data other than OOB is received as digital data according to normal transmission of serial ATA.

第一伝送路2は、シリアルATA規格に従ったものに限定されるものではなく、その最大伝送速度が第二伝送路3の伝送速度を超えるものであれば、ATAPI(AT Attachment Packet Interface)規格に従った伝送路などでもよい。   The first transmission path 2 is not limited to the one according to the serial ATA standard. If the maximum transmission speed exceeds the transmission speed of the second transmission path 3, the ATAPI (AT Attachment Packet Interface) standard is used. Or a transmission line according to the above.

第一伝送路受信部11は、第一伝送路2がシリアルATA以外であれば、OOBや差動伝送に限定されず、その他のデジタル/非デジタルのデータ伝送方式をサポートしてもよい。また、波形パターンによるメッセージの伝送方法は、シリアルATAのOOBに限らず、例えば、USB(Universal Serial Bus)のチャープを検出する方法でもよい。   The first transmission path receiving unit 11 is not limited to OOB or differential transmission as long as the first transmission path 2 is other than serial ATA, and may support other digital / non-digital data transmission schemes. The message transmission method using the waveform pattern is not limited to serial ATA OOB, but may be, for example, a method of detecting USB (Universal Serial Bus) chirp.

第二伝送路送信データ生成部12は、第一伝送路受信部11からデータを取得し、第一伝送路受信データ圧縮部121で不必要なデータを削除しながら第一伝送路受信データバッファ122に蓄積する。OOBはOOB固有のメッセージとして取得し、OOB以外については、シリアルATAのリンク層でデータを扱う際のDword単位(10bit×4の40bit)で第一伝送路受信部11からデータを取得する。   The second transmission path transmission data generation unit 12 acquires data from the first transmission path reception unit 11 and deletes unnecessary data in the first transmission path reception data compression unit 121 while the first transmission path reception data buffer 122. To accumulate. The OOB is acquired as an OOB-specific message, and data other than the OOB is acquired from the first transmission path receiving unit 11 in units of Dword (10 bits × 4 40 bits) when data is handled in the link layer of the serial ATA.

第二伝送路送信データ生成部12は、第一伝送路受信データバッファ122内に蓄積されているデータ量と第一伝送路受信部11から受信したデータを参照し、後述するパケット生成条件を満たした場合に、第一伝送路受信データバッファ122内に蓄積されているデータをパケット化して送信パケットバッファ13へ移動する。   The second transmission path transmission data generation unit 12 refers to the data amount stored in the first transmission path reception data buffer 122 and the data received from the first transmission path reception unit 11, and satisfies the packet generation conditions described later. In this case, the data stored in the first transmission path reception data buffer 122 is packetized and moved to the transmission packet buffer 13.

第二伝送路送信部14は、第二伝送路3の送信タイミングで送信パケットバッファ13から送信パケットを取得し第二伝送路3へ送信する。送信パケットバッファ13が空であれば、第二伝送路3へは0のみを送信する。   The second transmission path transmission unit 14 acquires the transmission packet from the transmission packet buffer 13 at the transmission timing of the second transmission path 3 and transmits it to the second transmission path 3. If the transmission packet buffer 13 is empty, only 0 is transmitted to the second transmission path 3.

なお、第二伝送路送信部14は、後述するフロー制御および優先送信モードをサポートしており、優先送信モードが1であるパケットが送信パケットバッファ13の先頭にあった場合には、フロー制御により第二伝送路3への送信が止められていたとしても、送信パケットバッファ13の先頭から、優先送信モードが1であるパケットを全部送信する。   Note that the second transmission line transmission unit 14 supports flow control and priority transmission mode, which will be described later, and when a packet whose priority transmission mode is 1 is at the head of the transmission packet buffer 13, the flow control is performed. Even if transmission to the second transmission path 3 is stopped, all packets whose priority transmission mode is 1 are transmitted from the top of the transmission packet buffer 13.

第二伝送路3からのデータは、受信信号線31から第二伝送路受信部15へ受信され、受信パケットバッファ16に蓄積される。   Data from the second transmission path 3 is received from the reception signal line 31 to the second transmission path receiver 15 and stored in the reception packet buffer 16.

第一伝送路送信データ生成部17は、受信パケットバッファ16よりパケットを取得し、第一伝送路送信データ復帰部171で第一伝送路へ送信するデータを生成し、第一伝送路送信データバッファ172に蓄積する。   The first transmission line transmission data generation unit 17 acquires a packet from the reception packet buffer 16, generates data to be transmitted to the first transmission line by the first transmission line transmission data return unit 171, and transmits the first transmission line transmission data buffer. 172.

第一伝送路送信部18は、第一伝送路送信データバッファ172からデータを取得して第一伝送路2の送信信号線22へデータを流す。   The first transmission path transmission unit 18 acquires data from the first transmission path transmission data buffer 172 and flows the data to the transmission signal line 22 of the first transmission path 2.

なお、第二伝送路3は、MOSTの規格に従ったものに限定されるものではなく、その伝送速度が第一伝送路2より小さいもので、IEEE(the Institute of Electrical and Electronic Engineers)1394規格やUSB規格に従ったものや、無線LAN(Local Area Network)などでもよい。   The second transmission path 3 is not limited to the one according to the MOST standard, and the transmission speed thereof is smaller than that of the first transmission path 2, and is the IEEE (the Institute of Electrical and Electronic Engineers) 1394 standard. It may be a device that conforms to the USB standard or a wireless local area network (LAN).

図2は、このような伝送路中継装置1を使用する伝送装置の例である。   FIG. 2 is an example of a transmission apparatus that uses such a transmission line relay apparatus 1.

図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 drive device 4 that reads data from a DVD medium, a first transmission path 2a and a third transmission path 2b that conform to the serial ATA standard (the first transmission path 2 in FIG. 1). 1), a second transmission line 3a (corresponding to the second transmission line 3 in FIG. 1) according to the MOST standard, and a first transmission line 2a that relays between the first transmission line 2a and the second transmission line 3a. The transmission line relay apparatus 1a, the second transmission path relay apparatus 1b that relays between the second transmission path 3a and the third transmission path 2b, and the DVD-Video data recorded on the DVD medium are decoded. The decoding unit 5 includes a CRT (Cathode Ray Tube) for displaying data decoded by the decoding unit 5 and a display device 6 such as liquid crystal or plasma.

第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 line relay device 1a and the second transmission line relay device 1b have the configuration shown in FIG. 1, but the second transmission line 3a and the second transmission line transmission unit 14 are connected to the second transmission line 3a. Since the path receiving unit 15 is connected, a packet transmitted from the second transmission path transmitting unit 14 of the first transmission path relay apparatus 1a passes through the second transmission path 3a and is transmitted to the second transmission path relay apparatus. The packet received by the second transmission line receiver 15 of 1b and transmitted from the second transmission line transmitter 14 of the second transmission line relay device 1b is transmitted through the second transmission line 3a to the first transmission. It is received by the second transmission path receiving unit 15 of the path relay device 1a.

なお、ドライブ装置4は、DVDメディアからデータの読み取りを行うものに限定されるものではなく、CD(Compact Disc)からデータを読み取ったり、ハードディスクからデータを読み取ったりするものでもよい。これに対応して、復号化部5は、ドライブ装置4で読み取ったデータを復号化することができるものを接続する。   The drive device 4 is not limited to a device that reads data from a DVD medium, and may be a device that reads data from a CD (Compact Disc) or reads data from a hard disk. Corresponding to this, the decrypting unit 5 connects what can decrypt the data read by the drive device 4.

また、第1の伝送路2aおよび第3の伝送路2bは、シリアルATA規格に従ったものに限定されるものではなく、その最大伝送速度が第2の伝送路3aの伝送速度を超えるものであれば、ATAPI(AT Attachment Packet Interface)規格に従った伝送路などでもよい。   The first transmission path 2a and the third transmission path 2b are not limited to those according to the serial ATA standard, and the maximum transmission speed exceeds the transmission speed of the second transmission path 3a. If there is, a transmission line according to the ATAPI (AT Attachment Packet Interface) standard may be used.

また、第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 second transmission path 3a is not limited to the one according to the MOST standard, and the transmission speed is lower than that of the first transmission path 2a or the third transmission path 2b. An Institute of Electrical and Electronic Engineers (1394) standard, a USB (Universal Serial Bus) standard, or a wireless local area network (LAN) may be used.

また、復号化部5とドライブ装置4は、シリアルATA規格のホストとデバイスにそれぞれ対応する。   Further, the decryption unit 5 and the drive device 4 correspond to serial ATA standard hosts and devices, respectively.

また、第2の伝送路3aは、本実施の形態のように、DVD−Videoのデータを伝送し、表示装置6において途切れずに再生しようとする場合には、DVD−Videoに必要な11.08Mbpsに加え、伝送の管理データ用に数Mbpsの帯域が必要となる。もちろんそれ以上あってもよい。   Further, the second transmission path 3a transmits DVD-Video data and reproduces it without interruption in the display device 6 as in this embodiment, and the 11. transmission necessary for DVD-Video. In addition to 08 Mbps, a bandwidth of several Mbps is required for transmission management data. Of course there may be more.

図3および図4は、第二伝送路送信データ生成部12の処理を説明するためのフローチャートである。   3 and 4 are flowcharts for explaining the processing of the second transmission path transmission data generation unit 12.

図3に示すように、第二伝送路送信データ生成部12は、まず、第一伝送路受信部11が第一伝送路2から受信したデータを取得する(S11)。   As illustrated in FIG. 3, the second transmission path transmission data generation unit 12 first acquires data received by the first transmission path reception unit 11 from the first transmission path 2 (S11).

次いで、取得したデータにより優先送信モード判定を行う(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 reception data buffer 122 is packetized and moved to the transmission packet buffer 13 (S15).

判定条件は以下の3条件のORである。
条件1:第一伝送路受信データバッファ122が満杯である。
条件2:第一伝送路受信データバッファ122に蓄積しているデータタイプと、今回受信したデータのデータタイプが異なる。
条件3:優先送信モードがオンになっている。
The determination condition is OR of the following three conditions.
Condition 1: The first transmission path reception data buffer 122 is full.
Condition 2: The data type stored in the first transmission path reception data buffer 122 is different from the data type of the data received this time.
Condition 3: The priority transmission mode is on.

条件2のデータタイプとは、伝送したい実データと、伝送の管理データとの二種類がある。   There are two types of data types of condition 2, real data to be transmitted and management data for transmission.

条件1から条件3のいずれかが満たされている場合(TRUE)、第一伝送路受信データバッファ122内に蓄積されているデータをパケット化して送信パケットバッファ13の最後へ移動する(S16)。   When any one of the conditions 1 to 3 is satisfied (TRUE), the data stored in the first transmission path reception data buffer 122 is packetized and moved to the end of the transmission packet buffer 13 (S16).

このようにすることにより、連続した同じ種類のデータを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 second transmission path 3a.

パケットは、ヘッダ部とデータ部からなり、ヘッダ部には、プリアンブル、データ部データ長、優先送信モード、タイプが含まれる。   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 data generation unit 12 is reflected.

タイプは、条件2のデータタイプと同義であり、実データであるか管理データであるかを識別するbitである。タイプが0であれば、データ部には実データが格納されていることを示し、タイプが1であれば、データ部には管理データが格納されていることを示している。管理データとしては、シリアルATAのOOBとフレームの送受信や通信を制御するPrimitive(プリミティブ)に対応した管理データ識別子を設定する。図6は、OOBおよびPrimitiveと管理データ識別子の対応表である。   The type is synonymous with the data type of condition 2 and is a bit that identifies whether the data is actual data or management data. If the type is 0, it indicates that actual data is stored in the data part, and if the type is 1, it indicates that management data is stored in the data part. As the management data, a management data identifier corresponding to a primitive (primitive) for controlling transmission / reception and communication of frames with the serial ATA OOB is set. FIG. 6 is a correspondence table of OOB and Primitive and management data identifier.

なお、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 second transmission path 3a. Each may be provided separately for transmission.

次いで、後述する初期化関連処理起動判定を行い(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 data compression unit 121.

第一伝送路受信データ圧縮部121は、受信したデータに対して伝送可否判定を行う(S19)。初期化モード中でなければ、受信したデータが実データの場合には必ず伝送する。シリアルATAのPrimitiveを受信した場合には、図7に示すようにPrimitiveの種類に応じて処理を変える。   The first transmission path reception data compression unit 121 determines whether or not transmission is possible for the received data (S19). If it is not in the initialization mode, it is always transmitted when the received data is actual data. When Primitive of serial ATA is received, processing is changed according to the type of Primitive as shown in FIG.

図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 data compression unit 121 compresses the data received from the first transmission path.

次いで、優先送信モードの判定を行い(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 reception data buffer 122 are packetized and stored at the head of the transmission packet buffer 13 (S28).

優先送信モードがオフであれば、第一伝送路受信データバッファ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 reception data buffer 122 and the transmission packet buffer 13 (S29).

第一伝送路受信データバッファ122が空でなく、かつ送信パケットバッファ13が空でない場合(TRUE)、第一伝送路受信データバッファ122の中身をパケット化して送信パケットバッファ13の最後に格納する(S30)。   If the first transmission path reception data buffer 122 is not empty and the transmission packet buffer 13 is not empty (TRUE), the contents of the first transmission path reception data buffer 122 are packetized and stored at the end of the transmission packet buffer 13 ( S30).

図8および図9は、第一伝送路送信データ生成部17の処理を説明するためのフローチャートである。第一伝送路送信データ生成部17の処理は、第一伝送路送信部18からの要求をトリガとして行われる。   8 and 9 are flowcharts for explaining the processing of the first transmission path transmission data generation unit 17. The processing of the first transmission line transmission data generation unit 17 is performed using a request from the first transmission line transmission unit 18 as a trigger.

図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 reception packet buffer 16 is 1 (ON) (S51), and the priority transmission mode is 1 from the reception packet buffer 16 to the rear. Process all packets.

優先送信モードが1であるパケットについて、第一伝送路送信データ復帰部171により、図9に示すような、パケットのデータ部のデータを第一伝送路2に送信するデータに復帰させる処理を行う(S52)。   For the packet whose priority transmission mode is 1, the first transmission line transmission data restoration unit 171 performs processing for restoring the data in the data part of the packet to the data to be transmitted to the first transmission line 2 as shown in FIG. (S52).

図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 data generation unit 17 is terminated.

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 reception packet buffer 16 is 1. The processes from S52 to S54 are repeated.

S51において、受信パケットバッファ16の先頭パケットの優先送信モードが0の場合、第一伝送路送信データバッファ172が空きであるか判定し(S56)、第一伝送路送信データバッファ172が空きでなければ、第一伝送路送信データバッファ172の先頭からデータを取得し(S57)、取得した送信データを第一伝送路送信部18に渡す(S58)。   In S51, if the priority transmission mode of the first packet in the reception packet buffer 16 is 0, it is determined whether the first transmission path transmission data buffer 172 is empty (S56), and the first transmission path transmission data buffer 172 must be empty. For example, data is acquired 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 unit 18 (S58).

第一伝送路送信データバッファ172が空きであれば、受信パケットバッファ16が空であるか判定し(S59)、受信パケットバッファ16が空でなければ、受信パケットバッファ16の先頭パケットのデータ部を全て変換処理したかを判定し(S60)、データ部全てについて処理を行う。   If the first transmission path transmission data buffer 172 is empty, it is determined whether the reception packet buffer 16 is empty (S59). If the reception packet buffer 16 is not empty, the data portion of the first packet in the reception packet buffer 16 is determined. It is determined whether all conversion processing has been performed (S60), and processing is performed for all data portions.

先頭パケットのデータ部に対して、第一伝送路送信データ復帰部171により、S52と同様に図9に示すパケットのデータ部による処理を行う(S61)。   The first transmission path transmission data restoration unit 171 performs the processing by the packet data portion shown in FIG. 9 on the data portion of the first packet as in S52 (S61).

この処理により作成された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 reception packet buffer 16 is empty in S59, data to be transmitted this time is generated from the previous transmission data (S63). If the previous transmission data is actual data, HOLDPrimitive is set as data to be transmitted this time. If the previous transmission data is OOB, nothing is sent. If the previous transmission data is other primitive, as shown in FIG. 10, the transmission data is generated, and the generated transmission data is passed to the first transmission line transmission unit 18 (S58).

次に、伝送路中継装置1で行われるフロー制御について説明する。   Next, flow control performed in the transmission line relay device 1 will be described.

伝送路中継装置1は、二種類の伝送路に接続し、両伝送路は同期していないためフロー制御が必要となる。   The transmission line relay device 1 is connected to two types of transmission lines, and both transmission lines are not synchronized, so flow control is required.

第一伝送路2からのデータの流入が第二伝送路3への流出より速く、送信パケットバッファ13のバッファあふれの可能性がある場合には、第一伝送路2からのデータの流入を止めるよう第一伝送路送信部18がフロー制御命令を送信する。   When inflow of data from the first transmission path 2 is faster than outflow to the second transmission path 3 and there is a possibility of overflow of the transmission packet buffer 13, the inflow of data from the first transmission path 2 is stopped. The first transmission path transmission unit 18 transmits a flow control command.

ここで、第一伝送路2としてシリアルATAを使用した場合には、フロー制御命令HOLDPrimitiveを第一伝送路送信部18で生成して送信する。   Here, when serial ATA is used as the first transmission path 2, a flow control command HOLDPrimitive is generated and transmitted by the first transmission path transmission unit 18.

シリアル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 line receiving unit 11 from the first transmission line 2, the first transmission line receiving unit 11 18 is instructed to send HOLDLimitative.

第二伝送路3についても、シリアルATAと同様のフロー制御の仕組みを使用し、パケットの中にHOLDPrimitive、HOLDAPrimitiveを表す管理データ識別子を入れることでフロー制御を実現する。第一伝送路2から受信されるフロー制御命令は、上述のようにS19の伝送可否判定で伝送されないと判定され削除されるため、第一伝送路2で使用されるフロー制御と、第二伝送路3のフロー制御は独立に行われる。   For the second transmission path 3 as well, flow control is realized by using a flow control mechanism similar to that of serial ATA and putting a management data identifier representing HOLDPrimitive or HOLDAppractive in the packet. Since the flow control command received from the first transmission path 2 is determined not to be transmitted in the transmission permission determination of S19 as described above and is deleted, the flow control used in the first transmission path 2 and the second transmission The flow control of the path 3 is performed independently.

受信パケットバッファ16は、バッファあふれの可能性がある場合には、第二伝送路3からデータ送信を止めるよう、第二伝送路送信部14にフロー制御命令を送信するよう命令する。   When there is a possibility of buffer overflow, the reception packet buffer 16 instructs the second transmission path transmission unit 14 to transmit a flow control command so as to stop data transmission from the second transmission path 3.

また第二伝送路3からHOLDが第二伝送路受信部15に届いた場合には、第二伝送路受信部15は、第二伝送路送信部14に対してHOLDAPrimitiveを送信するよう命令する。   When HOLD arrives from the second transmission path 3 to the second transmission path receiving unit 15, the second transmission path receiving unit 15 instructs the second transmission path transmitting unit 14 to transmit HOLD Primitive.

なお、フロー制御のためにパケットのヘッダにフロー制御用情報のエリアを設けても良い。   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 second transmission path 3a may be set separately from the first transmission path 2a and the third transmission path 2b by newly setting a management data identifier different from HOLDPrimitive.

また、フロー制御の方法は、シリアル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 drive device 4 and the decoding unit 5 are brought into a state where communication can be performed normally.

例えば、復号化部5がドライブ装置4に対してCOMRESETを送り初期化要求を行った場合、第3の伝送路2b上を初期化要求が第2の伝送路中継装置1bへ届いた時に、第2の伝送路3aが省電力モードであれば、第2の伝送路3aを正常に通信のできる状態へ復帰させた後、初期化要求を第2の伝送路3a、第1の伝送路中継装置1a、第1の伝送路2aを経由してドライブ装置4へ送信する。   For example, when the decoding unit 5 sends a COMRESET to the drive device 4 to make an initialization request, when the initialization request reaches the second transmission line relay device 1b on the third transmission line 2b, If the second transmission path 3a is in the power saving mode, the second transmission path 3a is returned to a state in which normal communication can be performed, and then an initialization request is sent to the second transmission path 3a and the first transmission path relay device. 1a, and transmitted to the drive device 4 via the first transmission path 2a.

なお、伝送路の正常状態への復帰は第2の伝送路3aのみに限らず、全機器、全伝送路に対して行っても良い。   Note that the return of the transmission path to the normal state is not limited to the second transmission path 3a, and may be performed for all devices and all transmission paths.

また、第2の伝送路3aは省電力モードに限らず、通信不可能状態であるその他の状態の場合も同様である。   The second transmission path 3a is not limited to the power saving mode, and the same applies to other states where communication is impossible.

バッファクリアは、初期化要求前までの状態や蓄積されているデータが初期化要求後へ悪影響を及ぼさないために行う。   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 line relay device 1b receives the OOB, the data stored in each buffer is cleared. Further, in order to clear the data being transmitted on the second transmission path 3a, the data received from the second transmission path 3a is discarded, and the data transmission to the second transmission path 3a is not performed.

シリアル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 line relay apparatuses 1a and 1b and the second transmission line 3a, There are parts that cannot meet the response time. With respect to the sequence of that portion, the drive device 4 connected via the first transmission line 2a and the first transmission line relay device 1a, and the third connection connected via the third transmission line 2b. The transmission line relay apparatus 1b and the decoding unit 5 of the transmission line 2 are separately performed.

図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 decoding unit 5 by COMRESET in the configuration of FIG.

図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 (first transmission path 2a, third transmission path 2b). This is done by returning a direct response between directly connected devices. The processing during this time is omitted because it is in accordance with the serial ATA specification and is in FIG.

なお、初期化シーケンスにおけるデバイス側からホスト側への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 first transmission path 2a and the third transmission path 2b as described above is, for example, a response to returning from the power saving mode in addition to the initialization process. It may be performed in a sequence.

初期化関連処理については、ホスト側のシリアルATA機器に接続している第2の伝送路中継装置1bとデバイス側のシリアルATA機器に接続している第1の伝送路中継装置1aとでは異なる動作をする。   Regarding the initialization-related processing, the second transmission path relay device 1b connected to the host-side serial ATA equipment and the first transmission path relay equipment 1a connected to the device-side serial ATA equipment differ in operation. do.

第2の伝送路中継装置1bのみ、図13に示す通常モード、第1の初期化モード、第2の初期化モード、の状態遷移にしたがうことで、初期化シーケンスを実現する。   Only the second transmission line relay device 1b realizes the initialization sequence by following the state transitions of the normal mode, the first initialization mode, and the second initialization mode shown in FIG.

第2の伝送路中継装置1bの初期状態は通常モードから始まる。通常モード時には、第2の伝送路3aから第3の伝送路2bの間の伝送は上記処理にしたがう。   The initial state of the second transmission line relay device 1b starts from the normal mode. In the normal mode, transmission between the second transmission path 3a and the third transmission path 2b follows the above processing.

復号化部5からCOMRESETを受信すると、第1の初期化モードへ遷移する。   When COMRESET is received from the decoding unit 5, the mode is changed to the first initialization mode.

第1の初期化モードでは、第3の伝送路2bからの受信データはCOMRESETのみを第2の伝送路3aへ送信する。また第2の伝送路3aからの受信データはなにも第3の伝送路2bへ送信しない。   In the first initialization mode, the reception data from the third transmission path 2b transmits only COMRESET to the second transmission path 3a. Also, no received data from the second transmission path 3a is transmitted to the third transmission path 2b.

第1の初期化モード中に第2の伝送路3aからCOMINITを受信すると、第2の初期化モードへ遷移する。   When COMINIT is received from the second transmission path 3a during the first initialization mode, the mode transitions to the second initialization mode.

第2の初期化モードでは、第3の伝送路2bからの受信データはCOMRESET、COMWAKEのみを第2の伝送路3aへ送信する。また第2の伝送路3aからの受信データはなにも第3の伝送路2bへ送信しない。   In the second initialization mode, received data from the third transmission line 2b is transmitted only COMRESET and COMWAKE to the second transmission line 3a. Also, no received data from the second transmission path 3a is transmitted to the third transmission path 2b.

第2の初期化モード中に、SYNCPrimitiveを第3の伝送路2bへ送信し、かつ第2の伝送路3aからSYNCPrimitiveを受信した場合、初期化処理シーケンスの正常終了として通常モードへ戻る。   When SYNCP primitive is transmitted to the third transmission line 2b during the second initialization mode and SYNCP primitive is received from the second transmission line 3a, the process returns to the normal mode as normal termination of the initialization process sequence.

第2の初期化モード中に第3の伝送路2bからCOMRESETを受信した場合には、第1の初期化モードへ戻る。   If COMRESET is received from the third transmission line 2b during the second initialization mode, the process returns to the first initialization mode.

また、通常モード時にCOMWAKEまたはCOMINITを第2の伝送路3aから受信する、またはCOMWAKEを第3の伝送路2bより受信した場合には、直接第2の初期化モードへ遷移する。   Further, when COMWAKE or COMINIT is received from the second transmission path 3a in the normal mode or when COMWAKE is received from the third transmission path 2b, the mode is directly shifted to the second initialization mode.

なお、初期化処理中の状態遷移は上記に限定されず、例えば正常終了条件を通常伝送の始まりを表す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 second transmission path 3a of X_RDYPrimitive indicating the start of normal transmission to the second transmission path relay device 1b. .

以上の実施の形態においては、説明の便宜上、第1の伝送路中継装置1aと第2の伝送路中継装置1bとをほぼ同一の構成としたが、第1の伝送路2aと第3の伝送路2bとを異なる規格にしたがう伝送路にすれば当然伝送路中継装置1の内部処理も異なる。   In the above embodiment, for convenience of explanation, the first transmission path relay device 1a and the second transmission path relay device 1b have substantially the same configuration, but the first transmission path 2a and the third transmission path are the same. If the path 2b is a transmission path according to a different standard, naturally the internal processing of the transmission path relay device 1 is also different.

また、本実施の形態の伝送路中継装置1内には、ドライブ装置4から表示装置6方向へのブロックと逆方向のブロックをまとめて一装置としたが、伝送路中継装置をドライブ装置4から表示装置6方向と逆方向の二装置として分けて構成しても良い。   Further, in the transmission line relay device 1 according to the present embodiment, blocks in the direction opposite to the blocks from the drive device 4 toward the display device 6 are combined into one device. The display device 6 may be configured separately as two devices opposite to the direction.

また、第2の伝送路中継装置1bと復号化部5とを一体化し第3の伝送路2bを設けない構成、またはドライブ装置4と第1の伝送路中継装置1aとを一体化し第1の伝送路2aを設けない構成、としても良い。   Further, the second transmission path relay device 1b and the decoding unit 5 are integrated and the third transmission path 2b is not provided, or the drive device 4 and the first transmission path relay device 1a are integrated and the first transmission path relay device 1a is integrated. It is good also as a structure which does not provide the transmission line 2a.

なお、いままでに述べた実施の形態ではドライブ装置4が一つの場合であったが、図14はドライブ装置を2つ設けた場合の伝送路中継装置1を使用する伝送装置の例である。   In the embodiment described so far, there is one drive device 4, but FIG. 14 shows an example of a transmission device using the transmission line relay device 1 when two drive devices are provided.

この場合、第一伝送路2が第一伝送路2aaと、第一伝送路2ab(第三伝送路)と2つになり、第一の伝送路中継装置1aは、第一伝送路2aaと第一伝送路2abの2つから送られてくるデータをそれぞれ受信し、それぞれのデータを伝送路が単一であった場合と同様に第一伝送路受信データ圧縮部121で圧縮を行い、複数ある伝送路毎に設ける第一伝送路受信データバッファ122に蓄積する。そして、複数ある第一伝送路受信データバッファ122のそれぞれに対してパケット化するときには、どの伝送路から送られてきたデータかを判別するために、図15のようにパケットに伝送路を識別する伝送路識別子を付与しておく。そして第2の伝送路3aにデータを中継する。   In this case, the first transmission path 2 is composed of the first transmission path 2aa and the first transmission path 2ab (third transmission path), and the first transmission path relay device 1a includes the first transmission path 2aa and the first transmission path 2aa. Each of the data sent from two of the one transmission line 2ab is received, and each data is compressed by the first transmission line reception data compression unit 121 in the same manner as when there is a single transmission line. The data is stored in the first transmission path reception data buffer 122 provided for each transmission path. When packetizing each of the plurality of first transmission path reception data buffers 122, in order to determine which transmission path the data is sent from, the transmission path is identified in the packet as shown in FIG. A transmission path identifier is assigned in advance. Then, the data is relayed to the second transmission path 3a.

これによって、複数のドライブ装置からデータを受信するときでも、そのデータを区別した形でスループットの減少を抑えながら伝送速度の遅い前記第二伝送路上に伝送することができる。   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.

本発明の一実施の形態の伝送路中継装置のブロック図The block diagram of the transmission-line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置を用いた伝送装置のブロック図Block diagram of a transmission apparatus using the transmission line relay apparatus of an embodiment of the present invention 本発明の一実施の形態の伝送路中継装置のパケット生成処理を説明するフローチャートThe flowchart explaining the packet generation process of the transmission line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置のパケット生成処理を説明する図3のフローチャートの続きのフローチャートFIG. 3 is a flowchart continued from the flowchart of FIG. 3 for explaining the packet generation processing of the transmission line relay device according to the embodiment of the present invention. 本発明の一実施の形態の伝送路中継装置のパケットの構成図Configuration diagram of a packet of a transmission line relay device according to an embodiment of the present invention 本発明の一実施の形態の伝送路中継装置のPrimitiveおよびOOBと管理データ識別子との対応表Correspondence table between Primitive and OOB and management data identifier of transmission line relay apparatus according to one embodiment of the present invention 本発明の一実施の形態の伝送路中継装置の伝送可否判定の判定表Determination table for determining whether transmission is possible or not in the transmission line relay device according to the embodiment of the present invention 本発明の一実施の形態の伝送路中継装置のシリアルATAデータ生成処理を説明するフローチャートThe flowchart explaining the serial ATA data generation process of the transmission line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置のパケットのデータ部による処理を説明するフローチャートThe flowchart explaining the process by the data part of the packet of the transmission line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置の前回送信データから送信データを決める対応表Correspondence table for determining transmission data from previous transmission data of transmission line relay device of one embodiment of the present invention シリアルATAにおける初期化処理を示すシーケンス図Sequence diagram showing initialization process in serial ATA 本発明の一実施の形態の伝送路中継装置の初期化処理の動作を説明する状態遷移図State transition diagram for explaining the operation of the initialization processing of the transmission line relay device of the embodiment of the present invention 本発明の一実施の形態の伝送路中継装置の初期化処理の動作を説明するシーケンス図The sequence diagram explaining the operation | movement of the initialization process of the transmission line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置を用いた別の伝送装置のブロック図The block diagram of another transmission apparatus using the transmission line relay apparatus of one embodiment of this invention 本発明の一実施の形態の伝送路中継装置の別のパケットの構成図Configuration diagram of another packet of the transmission line relay device of one embodiment of the present invention 従来の伝送装置のブロック図Block diagram of a conventional transmission device

符号の説明Explanation of symbols

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 SYMBOLS 1 Transmission path relay apparatus 11 1st transmission path receiving part 12 2nd transmission path transmission data generation part 121 1st transmission path reception data compression part 122 1st transmission path reception data buffer 13 Transmission packet buffer 14 2nd transmission path transmission part 15 Second transmission line reception unit 16 Receive packet buffer 17 First transmission line transmission data generation unit 171 First transmission line transmission data return unit 172 First transmission line transmission data buffer 18 First transmission line transmission unit 2 First transmission line 21 Reception Signal line 22 Transmission signal line 3 Second transmission line 31 Reception signal line 32 Transmission signal line 1a First transmission line relay device 1b Second transmission line relay device 2a First transmission line 2b Third transmission line 3a Second Transmission path 4 Drive device 5 Decoding unit 6 Display device 210 Transmission device 211 Drive device 212 First packet processing unit 212a Buffer 213 First transmission path interface unit 214 first stream data transmission line 220 transmission path 230 receiving apparatus 231 decoding unit 232 the second packet processing unit 232a buffer 233 second transmission path interface unit 234 second stream data transmission path 240 display

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つのパケットにまとめるようにパケットを生成する第二伝送路送信データ生成手段を備え、
前記第二伝送路送信手段は、前記第二伝送路送信データ生成手段が生成したパケットを前記第二伝送路に送信することを特徴とする請求項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.
前記第一伝送路はシリアル伝送路であり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信した8ビットデータから10ビットデータに変換された前記実データを10ビットデータから8ビットデータに変換することを特徴とする請求項2に記載の伝送路中継装置。 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 from 10-bit data. The transmission path relay apparatus according to claim 2, wherein the transmission path relay apparatus converts the data into 8-bit data. 前記第一伝送路受信手段は、波形パターンによってメッセージを伝送するOOB信号を受信し、前記第二伝送路送信データ生成手段は、前記OOB信号から前記フラグを前記管理データに設定したOOB信号を示すパケットを作成することを特徴とする請求項3に記載の伝送路中継装置。 The first transmission path receiving means receives an OOB signal that transmits a message according to a waveform pattern, and the second transmission path transmission data generating means indicates an OOB signal in which the flag is set in the management data from the OOB signal. The transmission line relay apparatus according to claim 3, wherein the packet is created. 前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブを全て削除することを特徴とする請求項3に記載の伝送路中継装置。 4. The transmission line relay device according to claim 3, wherein the first transmission line is serial ATA, and the first transmission line reception data compression unit deletes all primitives received from the first transmission line. . 前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から連続した同じ種類のプリミティブを受信した場合、定められた個数を残して削除することを特徴とする請求項3に記載の伝送路中継装置。 The first transmission line is a serial ATA, and the first transmission line reception data compressing means deletes a predetermined number of primitives when receiving the same type of primitive continuously from the first transmission line. The transmission line relay apparatus according to claim 3, wherein 前記第一伝送路はシリアルATAであり、前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブの種類に応じて、受信した前記プリミティブを全て削除するか、または連続した同じ種類のプリミティブのうち定められた個数を残して削除するか、を切り替えることを特徴とする請求項3に記載の伝送路中継装置。 The first transmission line is a serial ATA, and the first transmission line reception data compression unit deletes all received primitives or is continuous depending on the type of primitive received from the first transmission line. 4. The transmission line relay apparatus according to claim 3, wherein a predetermined number of primitives of the same type are deleted or left to be switched. 前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブのうち削除されなかった前記プリミティブを、前記プリミティブよりもデータ量が少ない識別子に置換することを特徴とする請求項6または7に記載の伝送路中継装置。 7. The first transmission path received data compression means replaces 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. Or the transmission line relay device according to 7; 前記第一伝送路受信データ圧縮手段は、前記第一伝送路から受信したプリミティブのうち削除されなかった前記プリミティブを、10ビットから8ビットに変換し、変換結果の下位3バイト分を伝送するデータとすることを特徴とする請求項6または7に記載の伝送路中継装置。 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 The transmission line relay apparatus according to claim 6 or 7, wherein: 前記第一伝送路受信手段は、前記第一伝送路から受信したデータが直ぐに応答が必要か判定し、直ぐに応答が必要と判定した場合は、前記データに対応した応答を前記第一伝送路に送信することを特徴とする請求項1に記載の伝送路中継装置。 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 sent to the first transmission path. The transmission line relay apparatus according to claim 1, wherein the transmission line relay apparatus is transmitted. 前記第一伝送路はシリアルATAであり、前記第一伝送路受信手段は、シリアルATAの初期化シーケンスのうち、COMWAKEのデバイスとホスト間での送受信から、ホストからデバイスへのALIGNの送信までの間に受信したデータに対して直ぐに応答が必要と判定することを特徴とする請求項10に記載の伝送路中継装置。 The first transmission path is a serial ATA, and the first transmission path receiving means includes a serial ATA initialization sequence from transmission / reception between a COMWAKE device and a host to transmission of an ALIGN from the host to the device. 11. The transmission line relay apparatus according to claim 10, wherein it is determined that a response is required immediately for data received in the meantime. 前記第一伝送路はシリアルATAであり、前記第一伝送路受信手段は、シリアルATAのHOLDプリミティブを受信すると、直ぐに応答が必要と判定することを特徴とする請求項10に記載の伝送路中継装置。 11. The transmission path relay according to claim 10, wherein 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. apparatus. 前記第二伝送路から受信したデータを一時的に保存する受信パケットバッファと、前記受信パケットバッファが空の場合、前記第一伝送路に送信するデータを生成する第一伝送路送信データ生成手段とを備えることを特徴とする請求項1に記載の伝送路中継装置。 A reception packet buffer that temporarily stores data received from the second transmission path; and a first transmission path transmission data generation unit that generates data to be transmitted to the first transmission path when the reception packet buffer is empty; The transmission path relay device according to claim 1, comprising: 前記第一伝送路送信データ生成手段は、前回前記第一伝送路に送信したデータに基づいて前記第一伝送路に送信するデータを生成することを特徴とする請求項13に記載の伝送路中継装置。 14. The transmission path relay according to claim 13, wherein 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. apparatus. 前記第二伝送路から受信したパケットを一時的に保存する受信パケットバッファと、前記第二伝送路に送信するパケットを一時的に保存する送信パケットバッファとを備え、前記第一伝送路および前記第二伝送路のいずれかからリセット要求を受信すると、前記受信パケットバッファおよび前記送信パケットバッファの両方を空にすることを特徴とする請求項1に記載の伝送路中継装置。 A reception 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. 2. The transmission line relay apparatus according to claim 1, wherein when a reset request is received from one of the two transmission lines, both the reception packet buffer and the transmission packet buffer are emptied. 前記第二伝送路が通信不可状態の場合に、第二伝送路を通信可能状態へ復帰させる復帰手段を備えることを特徴とする請求項1に記載の伝送路中継装置。 2. The transmission line relay device according to claim 1, further comprising return means for returning the second transmission path to a communication enable state when the second transmission path is in a communication disabled state. 前記第一伝送路と前記第二伝送路で独立してフロー制御を行うことを特徴とする請求項1に記載の伝送路中継装置。 2. The transmission line relay apparatus according to claim 1, wherein flow control is performed independently on the first transmission line and the second transmission line. 前記第一伝送路受信手段は、複数の伝送路からのデータを受信し、
前記複数の伝送路を区別できる伝送路識別子を付加する伝送路識別子付加手段を備え、
前記第一伝送路受信データ圧縮手段は、前記第一伝送路受信手段が受信した、前記複数の伝送路からのデータをそれぞれ圧縮し、
前記第一伝送路受信データ圧縮手段が処理したデータに前記伝送路識別子を付加したデータを前記第二伝送路に送信することを特徴とする請求項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.
JP2004270315A 2004-09-16 2004-09-16 Transmission path repeater Pending JP2006086884A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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