JP4032535B2 - Data processing circuit, data transmission system and method thereof - Google Patents

Data processing circuit, data transmission system and method thereof Download PDF

Info

Publication number
JP4032535B2
JP4032535B2 JP31896398A JP31896398A JP4032535B2 JP 4032535 B2 JP4032535 B2 JP 4032535B2 JP 31896398 A JP31896398 A JP 31896398A JP 31896398 A JP31896398 A JP 31896398A JP 4032535 B2 JP4032535 B2 JP 4032535B2
Authority
JP
Japan
Prior art keywords
data
circuit
order instruction
transmission
continuity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP31896398A
Other languages
Japanese (ja)
Other versions
JP2000151747A (en
Inventor
友範 金井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP31896398A priority Critical patent/JP4032535B2/en
Publication of JP2000151747A publication Critical patent/JP2000151747A/en
Application granted granted Critical
Publication of JP4032535B2 publication Critical patent/JP4032535B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明が属する技術分野】
本発明は、データ処理回路、データ伝送システムおよびデータ伝送方法に関する。
【0002】
【従来の技術】
近年、マルチメディア・データ転送のためのインタフェースとして、高速データ転送およびリアルタイム転送を実現するIEEE(The Institute of Electrical and Electronic Engineers) 1394シリアルインターフェースが規格化された。
このようなIEEE1394シリアルインタフェースのデータ処理回路は、主としてIEEE1394シリアルバスを直接ドライブするフィジカル・レイヤ回路と、フィジカル・レイヤのデータ転送をコントロールするリンク・レイヤ回路とにより構成され、複数のデータ処理回路のフィジカル・レイヤ回路がIEEE1394シリアルバスを介して接続されると共に、各データ処理回路のリンク・レイヤ回路に単数または複数のアプリケーションが接続される。
【0003】
また、上述したIEEE1394シリアルインタフェースを用いたシステムでは、一のデータ処理回路に接続されたアプリケーションと他のデータ処理回路に接続されたアプリケーションとの間で、IEEE1394シリアルバスを介した、信号を受信することを許可する受信許可信号を受信したときに信号を送信し、信号を受信したときに受信確認信号を送信するアシンクロナス(Asynchronous) 転送や、アイソサイクルである125μs毎に1回必ずデータを送受信するアイソクロナス(Isochronous) 転送が行われる。
【0004】
【発明が解決しようとする課題】
ところで、上述したIEEE1394シリアルバスBUSを用いたシステムにおいて、一のデータ処理装置に接続されたMD(Mini Disk) 装置がMDから読み出したMDデータを、IEEE1394シリアルバスを介して、他のデータ処理装置に接続されたMD装置を用いてMDに書き込みたい場合がある。
ここで、MDでは、長時間の記録再生を確保するために、ATRAC(Adaptive TRansform Acoustic Coding)と呼ばれる圧縮方式を採用している。
このATRACでは、212バイトのサンプリングデータを単位として圧縮を行っており、例えば、アイソクロナス転送において、159バイトのATRACデータを含む複数のパケットを連続して伝送した場合に、一部のパケットが失われると、当該失われたパケットの含まれるATRACデータの他に、当該ATRACデータと一体的に圧縮された前後のATRACデータの伸長ができなくなり、受信側で得られるデータの品質が非常に低くなるという問題がある。
そのため、従来では、IEEE1394シリアルバスを介してATRACデータを伝送することは行われていなかった。
【0005】
なお、上述した問題は、IEEE1394シリアルバスを介してATRACデータを伝送する場合以外にも、種々のデータ伝送路を介して種々のデータを送受信する場合に同様に存在する。
【0006】
本発明は上述した従来技術の問題点に鑑みてなされ、データ伝送路を介してデータを正確に受信できるデータ処理回路を提供することを目的とする。
また、本発明は、データ伝送路を介してデータを正確に送受信できるデータ伝送システムおよびその方法を提供することを目的とする。
【0007】
【課題を解決するための手段】
上述した従来技術の問題点を解決し、上述した目的を達成するために、本発明のデータ処理回路は、複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ伝送路を介して他のデータ処理回路と通信可能なデータ処理回路であって、第1の記憶部と、受信した前記データを解析して前記第1の記憶部に格納する第1の受信回路と、前記第1の記憶部に格納された前記データを読み出して、前記読み出したデータに応じた処理を施す第2の受信回路と、受信時には、前記第2の受信回路が処理した前記データから前記第1および前記第2の順番指示データを抽出して前記データの連続性を監視し、送信時には、送信する前記データに前記第1および前記第2の順番指示データを生成する連続性検出回路と、第2の記憶部と、送信時に前記連続性検出回路が処理した前記データのデータ長を調整して前記第2の記憶部に格納する第1の送信回路と、前記第2の記憶部に格納された前記データを読み出して、前記第1および前記第2の順番指示データを付加する第2の送信回路と、受信時に前記連続性検出回路が前記データ中にデータの欠落を検出した場合、前記欠落しているデータを送信側に要求する欠落データ要求信号をアプリケーション側に送信する第3の送信回路とを有し、前記連続性検出回路は、受信時に前記第1の順番指示データと前回入力された前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回入力された前記第1の順番指示データとを出力する第1の検出回路と、前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出回路と、前記第1の検出回路が出力した第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出回路が出力した前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込み回路とを含む。
【0008】
本発明のデータ処理回路では、データ伝送路を介して伝送されたデータが受信回路で受信される。
次に、連続性検出回路において、当該受信したデータの連続性が監視され、欠落しているデータが検出される。
次に、当該検出された欠落したデータを要求する欠落データ要求信号が、送信回路から送信側に送信される。
そして、送信側において、受信した前記欠落データ要求信号によって要求されるデータが前記データ伝送路を介して当該データ処理回路に送信される。
本発明のデータ処理回路によれば、欠落したデータを受信することができ、受信した連続性のあるデータを用いて処理を行うことができる。
【0010】
また、本発明のデータ処理回路は、好ましくは、前記受信回路は、前記連続性検出回路が前記欠落しているデータを検出したときに、前記データ伝送路を介した前記データの受信を中止する。
【0011】
また、本発明のデータ処理回路は、好ましくは、前記受信回路は、所定量の前記データをそれぞれ含む複数のパケットを受信する。
【0012】
また、本発明のデータ伝送システムは、複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ送信装置とデータ受信装置とをデータ伝送路を介して接続したデータ伝送システムであって、前記データ受信装置は、第1の記憶部と、受信した前記データを解析して前記第1の記憶部に格納する第1の受信回路と、前記第1の記憶部に格納された前記データを読み出して、前記読み出したデータに応じた処理を施す第2の受信回路と、受信時には、前記第2の受信回路が処理した前記データから前記第1および前記第2の順番指示データを抽出して前記データの連続性を監視し、送信時には、送信する前記データに前記第1および前記第2の順番指示データを生成する連続性検出回路と、を有し、前記データ送信装置は、前記連続性検出回路を共有し、第2の記憶部と、送信時に前記連続性検出回路が処理した前記データのデータ長を調整して前記第2の記憶部に格納する第1の送信回路と、前記第2の記憶部に格納された前記データを読み出して、前記第1および前記第2の順番指示データを付加する第2の送信回路と、受信時に前記連続性検出回路が前記データ中にデータの欠落を検出した場合、前記欠落しているデータを送信側に要求する欠落データ要求信号をアプリケーション側に送信する第3の送信回路とを有し、前記連続性検出回路は、受信時に前記第1の順番指示データと前回入力された前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回入力された前記第1の順番指示データとを出力する第1の検出回路と、前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出回路と、前記第1の検出回路が出力した第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出回路が出力した前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込み回路とを含む。
【0013】
本発明のデータ伝送システムでは、データ伝送路を介してデータ送信装置からデータ受信装置にデータが送信される。
そして、データ受信装置において、データ伝送路を介して伝送されたデータが受信回路で受信される。
そして、連続性検出回路において、当該受信したデータの連続性が監視され、欠落しているデータが検出される。
次に、当該検出された欠落したデータを要求する欠落データ要求信号が、送信回路から前記データ送信装置に送信される。
そして、前記データ送信装置において、受信した前記欠落データ要求信号によって要求されるデータが再び前記データ伝送路を介して当該データ受信装置に送信される。
本発明のデータ伝送システムによれば、欠落したデータをデータ送信装置からデータ受信装置に送信するため、データ受信装置において、受信した連続性のあるデータを用いて処理を行うことができる。
【0014】
また、本発明のデータ伝送方法は、複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ伝送路を介してデータを送受信するデータ伝送方法であって、前記データのデータ長を調整して送信データを生成し、前記送信データに前記第1および第2の順番指示データを付加し、前記データ伝送路を介して前記データを送信側から受信側に送信する第1のステップと、前記受信側において、前記データ伝送路を介して受信した前記データの連続性を監視して欠落しているデータを検出する第2のステップと、前記データの監視結果に応じて前記データの受信を停止する第3のステップと、前記データに連続性があると判断したときの前記第1および前記第2の順番指示データに基づいて割り込み信号を生成する第4のステップと、前記割り込み信号によって、前記欠落しているデータを要求する欠落データ要求信号を前記受信側から前記送信側に送信する第5のステップと、前記送信側において、前記欠落データ要求信号を受信すると、前記欠落データ要求信号によって特定されるデータを前記受信側に送信する第6のステップと、を有し、前記第2のステップにおいては、受信した前記データから前記第1および前記第2順番指示データを抽出する抽出ステップと、前記第1の順番指示データと前回の前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回の前記第1の順番指示データとを出力する第1の検出ステップと、前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出ステップと、前記第1の検出ステップにおける第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出ステップにおける前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込みステップとを含む。
【0015】
【発明の実施の形態】
図1は、IEEE1394シリアルインタフェースを用いた本発明に係る通信システム1の一実施形態を示すブロック構成図である。
通信システム1は、リンク・レイヤ回路9に、アプリケーションとしてMD装置2を接続しており、MD装置2において、DSP5によってMD読み出しブロック4が駆動されて、MD3からATRACデータが読み出される。
そして、MD3から読み出されたATRACデータが、パケット単位で、リンク・レイヤ回路9、フィジカル・レイヤ回路10、IEEE1394シリアルバスBUS、フィジカル・レイヤ回路11およびリンク・レイヤ回路12を介して、MD装置20に伝送される。
そして、MD装置20において、DSP23によってMD書き込みブロック14が駆動され、ATRACデータがMD13に記録される。
本実施形態では、リンク・レイヤ回路12において、受信したATRACデータの連続性がパケット単位で監視され、連続性がないと判断された場合に、連続性が失われたATRACデータ以降のATRACデータを再び送信することを要求する指示が、ホストコンピュータ16からホストコンピュータ6に伝送される。これによって、連続性が失われたATRACデータ以降のATRACデータが、MD装置2から再び読み出され、IEEE1394シリアルバスBUSを介してパケット単位でMD装置20に伝送される。
【0016】
以下、通信システム1の構成について説明する。
図1に示すように、通信システム1は、例えば、IEEE1394シリアルバスBUSの一方の側に、MD装置2、ホストコンピュータ6、リンク・レイヤ回路9およびフィジカル・レイヤ回路10を有し、他方の側に、フィジカル・レイヤ11、リンク・レイヤ回路12、ホストコンピュータ16およびMD装置20を有する。
なお、本実施形態では、リンク・レイヤ回路12が本発明の受信回路および連続性検出回路に対応し、ホストコンピュータ16が本発明の送信回路に対応している。
【0017】
以下、各構成要素について詳細に説明する。
MD装置2
MD装置2は、MD読み出しブロック4およびDSP5を有し、MD3から読み出したATRACデータS5をリンク・レイヤ回路9に出力する。
DSP5は、ホストコンピュータ6からの制御信号S6に基づいて、MD読み出しブロック4を制御し、MD3から読み出したATRACデータS5をリンク・レイヤ回路9に出力する。
ここで、ATRACデータS5は、212バイトを単位としてATRAC方式で圧縮されたオーディオデータ、ビデオデータデータおよびコンピュータデータなどである。
MD読み出しブロック4は、MD3を回転駆動する駆動機構および光ピックアップなどの読み出し系を有し、DSP5からの制御に基づいて、MD3の読み出しを行う。
【0018】
ホストコンピュータ6
ホストコンピュータ6は、DSP5に制御信号S6を出力する。
また、ホストコンピュータ6は、必要に応じて、リンク・レイヤ回路9のホストインタフェース回路102からアシンクロナス通信用の受信パケットを入力して所定の処理を行うと共に、ホストインタフェース回路102にアシンクロナス用の送信パケットを出力する。
【0019】
また、ホストコンピュータ6は、順番指示データpresent-PES-numberおよびPES-data-counterを含むアシンクロナス通信用のパケット(本発明の欠落データ要求信号)を、リンク・レイヤ回路12、フィジカル・レイヤ回路11、IEEE1394シリアルバスBUS、フィジカル・レイヤ回路10およびリンク・レイヤ回路9を介して、ホストコンピュータ16から受信すると、当該受信したパケットに含まれる順番指示データpresent-PES-numberおよびPES-data-counterで特定されるATRACデータS5を再びMD3から読み出すように、DSP5に制御信号S6を出力する。
具体的には、当該受信したパケットに含まれる順番指示データpresent-PES-numberと、当該受信したパケットに含まれる順番指示データPES-data-counterを1だけインクリメント(増加)した順番指示データPES-data-counterとを持つ後述するトランスポート・ストリーム(TS)パケットに配置されるATRACデータを再びMD3から読み出すことを示す制御信号S6をDSP5に出力する。
なお、ホストコンピュータ6が、上述したように順番指示データpresent-PES-numberおよびPES-data-counterを含むアシンクロナス通信用のパケットを受信するのは、後述するように受信側のリンク・レイヤ回路12のアプリケーションI/F回路103において、アイソクロナス通信用の受信パケットに含まれる順番指示データpresent-PES-numberおよびPES-data-counterの不連続性が検出された場合である。
【0020】
リンク・レイヤ回路9
リンク・レイヤ回路9は、ホストコンピュータ6の制御の下、アイソクロナス転送およびアシンクロナス転送の制御、並びにフィジカル・レイヤ回路10の制御を行う。
ここで、アイソクロナス転送ではアイソサイクルである125μs毎に1回必ずデータの送受信が行われ、アシンクロナス転送では信号を受信することを許可する受信許可信号を送信側が受信したときに信号を送信側から受信側に送信し、受信側が信号を受信したときに受信側から送信側に受信確認信号を送信する。
図2は、リンク・レイヤ回路9の内部構成図である。
具体的には、図2に示すように、リンク・レイヤ回路9は、例えば、リンクコア(Link Core) 101、ホストI/F(Host Interface)回路102、アプリケーションI/F回路103、送信用FIFO(AT-FIFO)104aおよび受信用FIFO(AR-FIFO)104bからなるアシンクロナス通信用FIFO104、セルフID用リゾルバ(Resolver)105、アイソクロナス通信用送信前処理回路(TXOPRE)106、アイソクロナス通信用送信後処理回路(TXOPRO)107、アイソクロナス通信用受信前処理回路(TXIPRE)108、アイソクロナス通信用受信後処理回路(TXIPRO)109、アイソクロナス通信用FIFO(I-FIFO)110およびコンフィギュレーションレジスタ(Configuration Register、以下CFRという)111を有する。
【0021】
図2に示すリンク・レイヤ回路9において、アプリケーションインタフェース回路103、送信前処理回路106、送信後処理回路107、受信前処理回路108、受信後処理回路109、FIFO110、リンクコア101およびCFR111によりアイソクロナス通信系回路が構成される。
また、ホストインタフェース回路102、アシンクロナス通信の送信用FIFO104a、受信用FIFO104b、リンクコア101およびCFR111によりアシンクロナス通信系回路が構成される。
【0022】
〔アイソクロナス通信系回路〕
リンクコア101は、アシンクロナス通信用パケットおよびアイソクロナス通信用パケットの送信回路、受信回路、これらパケットのIEEE1394シリアルバスBUSを直接ドライブするフィジカル・レイヤ回路10とのインタフェース回路、125μs毎にリセットされるサイクルタイマ、サイクルモニタやCRC回路から構成されている。
リンクコア101は、アイソクロナス転送の送信時に、125μs毎に、アイソクロナス用の送信パケットをフィジカル・レイヤ回路10に出力する。また、リンクコア101は、アイソクロナス転送の受信時に、125μs毎に、アイソクロナス用の送信パケットをフィジカル・レイヤ回路10から入力する。
【0023】
アプリケーションI/F回路103は、送信時に、DSP5から入力したATRACデータS5から、188バイトのトランスポート・ストリーム(TS: Transport Stream)パケットを順次に生成し、当該TSパケットを送信前処理回路106に出力する。
各TSパケットのペイロード部(データ部)には、159バイトのATRACデータが配置される。このとき、前述したようにATRACデータでは、212バイトを単位として圧縮されているため、同じ圧縮の単位に含まれるATRACデータのうち少なくとも一部が、異なるTSパケットに配置される。
ここで、8個の連続したTSパケットに含まれる各々159バイトのATRACデータによって、いわゆるPES(Packetized Elementary Stream)パケットが構成される。PESパケットとは、MPEG(Moving Picture coding Experts Group) 2などにおいて規定された、ビット誤りが発生する環境における伝送(蓄積)に使用するTSパケットと、ビット誤りが発生しない環境における伝送(蓄積)に使用するプログラム・ストリーム(PS: Program Stream)パケットとの間の変換を可能とするための中間ストリームである。
【0024】
以下、TSパケットのデータフォーマットについて説明する。
図3は、TSパケットのフォーマットを説明するための図である。
図3に示すように、TSパケットは、例えば、4バイトのトランスポート・パケット・ヘッダTPH、14バイトのPESパケット・ヘッダPPH、2バイトのデータ・ヘッダDHおよび168バイトのデータ・ボディDBからなる。
【0025】
トランスポート・パケット・ヘッダTPHは、例えば、図3に示すように、
同期バイト(0x47)を示すsync-byte 、
誤り表示を示すtransport-error-indicator 、
ユニット開始表示を示すplayload-unit-start-indicator 、
トランスポート・パケットの優先度を示すtransport-priority、
パケット識別子を示すPID 、
スクランブル制御に関するtransport-scrambling-control、
アダプテーションフィールド制御に関するadaptation-field-controlおよび
連続性を指標するためのcontinuity-counter
からなる。
【0026】
また、PESパケット・ヘッダPPHは、例えば、PESパケットの長さ、PESパケットについてのコピーの可否およびオリジナル/コピーの識別などを示すデータを含んでいる。
【0027】
データ・ヘッダDHは、例えば、オーディオデータか否かを示すdata-type 、データの通信経路が衛星およびケーブルの何れであるかを示すdata-transmission およびtag からなる。
本実施形態では、data-type によって音楽データであることを示してる。
【0028】
データ・ボディDBは、例えば、図4に示すように、
FDF(Fromat Dependent Field)のデータ長(バイト数)を示すFDF-field-length、
オーディオデータタイプを示すaudio-data-type-1 、
オーディオデータタイプ内での分類を示すaudio-data-type-2 、
楽曲データのコピーの可否を示すcopyright 、
楽曲がステレオおよびモノラルの何れであるかを示すstereo-mono 、
楽曲にエンファシスがかかっているか否かを示すEmphasis、
当該伝送中のデータが楽曲データの最初のPESパケットであることを示すdata-start-indicator、
当該伝送中のデータが楽曲データの最後のPESパケットであることを示すdata-end-indicator、
当該TSパケットがPESを伝送する8つのTSパケットのうち何番目のものであるかを示す3ビットの巡回カウント値である順番指示データPES-data-conuterおよび
当該TSパケットが何番目のPESパケットに関するものであるかを示す24ビットのカウント値である順番指示データpresent-PES-number
からなる。
なお、本実施形態では、データaudio-data-type-1 によって、ATRACであることが指し示されている。
また、順番指示データPES-data-conuterおよびpresent-PES-numberは、後述するように、アプリケーションI/F回路103において、受信したATRACデータの連続性を監視する際に用いられる。
【0029】
また、アプリケーションI/F回路103は、受信時に、受信後処理回路109から入力した各TSパケットから、図4に示す159バイトのATRACデータを抽出し、当該ATRACデータをアクリケーション側に出力する。
アプリケーションI/F回路103における受信時の処理の説明は、後述するリンク・レイヤ回路12の説明において行う。
【0030】
なお、アプリケーションI/F回路103には、MD装置の他にも、例えば、CD(Compact Disc)プレヤーなどのマルチメディア機器、D/Aコンバータ、各種のコンピュータ、セット・トップ・ボックスなどのコンシューマ製品、ハード・ディスクなどのデータ・ストレージ機器などが接続可能である。
【0031】
送信前処理回路106は、アプリケーションI/F回路103から、TSパケットを入力し、当該TSパケットをIEEE1394規格のアイソクロナス通信を行うためにクワドレット(4バイト)単位にデータ長を調整して、FIFO110の送信用FIFO110bに書き込む。
【0032】
送信後処理回路107は、FIFO110の送信用FIFO110bからTSパケットを読み出しを行い、当該読み出したTSパケットに対して図5に示す1394ヘッダおよびCIPヘッダ(Header)1,2を付加してアイソクロナス通信用の送信パケットを生成し、当該送信パケットをリンクコア101の送信回路に出力する。
具体的には、図5に示すように、アイソクロナス通信用の送信パケットは、32バイトの1394ヘッダ、32バイトのヘッダCRC(Cyclic Redundancy Check) 、32バイトのCIPヘッダ1、32バイトのCIPヘッダ2、188バイトのデータおよび32バイトのデータCRCからなる。
ここで、188バイトのデータに、図3に示すTSパケットが配置される。
【0033】
1394ヘッダは、データ長を表すdata-length 、tag 、当該パケットが転送されるチャネルの番号(0〜63のいずれか)を示すchannel 、reserved、転送速度を示すspeed および各アプリケーションで規定される同期コードsyからなる。
また、CIPヘッダ1は、送信ノード番号のためのSID(Source node ID)、データブロックの長さのためのDBS(Data Block Size) 、パケット化におけるデータの分割数のためのFN(Fraction Number) 、パディングデータのクワドレット数のためのQPC(Quadlet Padding Count) 、ソースパケットヘッダの有無を表すフラグのためのSPH、アイソクロナスパケットの数を検出するカウンタのためのDBCを有する。
また、CIPヘッダ2は、FMT、信号フォーマットに対応して利用されるFDF(Format Dependent Field)およびタイムスタンプ情報のためのSyncTimeを有する。
【0034】
受信前処理回路108は、リンクコア101を介してIEEE1394シリアルバスBUSを伝送されてきた図5に示すアイソクロナス通信用の受信パケットを受けて、当該受信パケットの1394ヘッダ、CIPヘッダ1,2等の内容を解析した後、188バイトのデータ(TSパケット)をFIFO110の受信用FIFO110aに書き込む。
【0035】
受信後処理回路109は、受信用FIFO110aから読み出したTSパケットをアプリケーションI/F回路103に出力する。このとき、受信後処理回路109は、TSパケットが暗号化されている場合には、当該暗号を解読してから、アプリケーションI/F回路103に出力する。
【0036】
FIFO110は、例えば、960×32ビットの受信用FIFO110aと、960×32ビットの送信用FIFO110bとからなる。
【0037】
〔アシンクロナス回路〕
リンクコア101は、IEEE1394シリアルバスBUSを介してアシンクロナス伝送を行う場合に、前述したように、相手先との間で、受信許可信号および受信確認信号の送受信を行いながら、アシンクロナス通信用のパケットの送受信を行う。
【0038】
ホストインタフェース回路102は、ホストコンピュータ6と、送信用FIFO104aおよび受信用FIFO104bとの間でのアシンクロナス通信用パケットの書き込み、読み出し等の調停、並びに、ホストコンピュータ6からCFR111への各種データの送受信の調停を行う。
【0039】
送信用FIFO104aには、IEEE1394シリアルバスBUSに伝送させるアシンクロナス通信用の送信パケットが格納され、受信用FIFO104bにはIEEE1394シリアルインタフェースバスBUSを伝送されてきたアシンクロナス通信用の受信パケットが格納される。
【0040】
リゾルバ105は、バスリセット時にIEEE1394シリアルインタフェースバスBSUを伝送されてきたセルフIDパケットの内容を解析し、CFR111に格納する。
【0041】
フィジカル・レイヤ回路10
フィジカル・レイヤ回路10は、IEEE1394シリアルバスBUSのアービトレーションを行う。
また、フィジカル・レイヤ回路10は、リンク・レイヤ回路9から入力した送信パケットをエンコードしてIEEE1394シリアルバスBUSに出力する。また、フィジカル・レイヤ回路10は、IEEE1394シリアルバスBUSから入力した受信パケットをデコードしてリンク・レイヤ回路9に出力する。
【0042】
フィジカル・レイヤ回路11
フィジカル・レイヤ回路11は、IEEE1394シリアルバスBUSを介してフィジカル・レイヤ回路10と接続され、前述したフィジカル・レイヤ回路10と同じ構成および機能を有する。
【0043】
リンク・レイヤ回路12
リンク・レイヤ回路12は、図6に示すように、アプリケーションI/F回路103に接続されるアプリケーションを除いて、前述した図2に示すリンク・レイヤ回路9と同じ構成をしている。
すなわち、リンク・レイヤ回路12では、アプリケーションI/F回路103に、アプリケーションとしてMD13にATRACデータを書き込むMD装置20が接続されている。
【0044】
以下、リンク・レイヤ回路12のアプリケーションI/F回路103における受信時の処理について説明する。
なお、当該受信時の処理は、同様の状況下において、図2に示すリンク・レイヤ回路9のアプリケーションI/F回路103においても行うことができる。
アプリケーションI/F回路103は、受信後処理回路109から入力した図3に示すTSパケットのトランスポート・パケット・ヘッダTPH、PESパケット・ヘッダPPH、データ・ヘッダDHおよび図4に示すFDFを解析する。そして、アプリケーションI/F回路103は、受信後処理回路109から入力した図3および図4に示すTSパケットに含まれる159バイトのATRACデータS12を抽出し、これをDSP23に出力する。
【0045】
このとき、本実施形態では、アプリケーションI/F回路103は、図7に示す構成を用いて、受信したTSパケットに含まれる図4に示す順番指示データPES-data-conuterおよびpresent-PES-numberを監視し、受信したTSパケットの連続性、すなわち欠落したTSパケットの有無を検出している。
【0046】
アプリケーションI/F回路103は、例えば、図7に示すように、連続性検出回路200,201およびCFR書き込み回路202を有する。
連続性検出回路200は、受信後処理回路109から入力したTSパケットに含まれる図4に示す3ビットの順番指示データPES-data-conuterを入力し、当該入力した順番指示データPES-data-conuterと、前回入力した順番指示データPES-data-conuterとの間に連続性があるか否かを判断し、その判断結果を示す連続性検出信号S200と、今回入力した順番指示データPES-data-conuterとをCFR書き込み回路202に出力する。
順番指示データPES-data-conuterは、連続性があるときに、0,1,2,3,4,5,6,7,0,1,...の順で連続性検出回路200に入力される。
【0047】
連続性検出回路201は、受信後処理回路109から入力したTSパケットに含まれる図4に示す24ビットの順番指示データpresent-PES-numberを入力し、当該入力した順番指示データpresent-PES-numberに連続性があるか否かを判断し、その判断結果を示す連続性検出信号S200と、今回入力した順番指示データpresent-PES-numberとをCFR書き込み回路202に出力する。
具体的には、連続性検出回路201は、8個の連続して入力したTSパケット毎に、順番指示データpresent-PES-numberが1だけインクリメント(増加)したか否かを判断する。すなわち、8個の連続して入力したTSパケットに含まれる順番指示データpresent-PES-numberが同じ値を示しており、当該順番指示データpresent-PES-numberの値を1だけインクリメントした値を、次に連続して入力した8個のTSパケットの順番指示データpresent-PES-numberが示しているか否かを判断する。
【0048】
CFR書き込み回路202は、連続性検出回路200から入力した連続性検出信号S200および順番指示データPES-data-conuterと、連続性検出回路201から入力した連続性検出信号S201および順番指示データpresent-PES-numberとに基づいて、連続性検出信号S200およびS201のうち少なくとも一方が連続性がないことを示している場合に、前回最後に連続性があると判断されたときに入力して記憶した順番指示データPES-data-conuterおよびpresent-PES-numberをCFR111に書き込む。
【0049】
ホストコンピュータ16
ホストコンピュータ16は、前述したように、リンク・レイヤ回路12のアプリケーションI/F回路103によって、アイソクロナス通信用の受信パケットに含まれるpresent-PES-numberおよびPES-data-counterの不連続性が検出され、最後に連続性を持って受信された受信パケットのpresent-PES-numberおよびPES-data-counterがCFR111に書き込まれると、当該書き込みによってホストインタフェース回路102から割り込み信号を入力して、CFR111から読み出したpresent-PES-numberおよびPES-data-counterを含むアシンクロナス通信用の送信パケットをリンク・レイヤ回路12に出力する。当該送信パケットは、リンク・レイヤ回路12、フィジカル・レイヤ回路11、IEEE1394シリアルバスBUS、フィジカル・レイヤ回路10およびリンク・レイヤ回路9を介して、ホストコンピュータ6に出力される。
また、ホストコンピュータ16は、DSP23に制御信号S16を出力する。
【0050】
MD装置20
MD装置20は、MD書き込みブロック14およびDSP23を有し、リンク・レイヤ回路12から入力したATRACデータS12をMD13に書き込む。DSP5は、ホストコンピュータ16からの制御信号S16に基づいて、MD書き込みブロック14を制御し、リンク・レイヤ回路12から入力したATRACデータS12をMD13に書き込む。
MD書き込みブロック14は、MD3を回転駆動する駆動機構および光ピックアップなどの読み出し系を有する。
【0051】
以下、図1に示す通信システム1の動作について説明する。
図8は、図1に示す通信システム1の動作を説明するためのフローチャートである。
ステップS1
先ず、図示しない操作手段をユーザが操作することでMD読み出し指示が行われると、ホストコンピュータ6からDSP5に制御信号S6が出力され、DSP5からの制御に応じてMD読み出しブロック4によって、MD3からATRACデータS5が読み出される。当該読み出されたATRACデータS5は、図2に示すリンク・レイヤ回路9のアプリケーションI/F回路103に出力される。
【0052】
次に、リンク・レイヤ回路9のアプリケーションI/F回路103において、MD3から読み出されたATRACデータS5を含む図3および図4に示すTSパケットが生成され、当該TSパケットが、送信前処理回路106において、4バイト単位でデータ長が調整された後に、FIFO110の送信用FIFO110bに格納される。
そして、送信後処理回路107において、送信用FIFO110bから読み出したTSパケットに対して図5に示すように、1394ヘッダ、CIPヘッダ(Header)1,2が付加され、アイソクロナス通信用の送信パケットが生成される。そして、当該送信パケットが、リンクコア101に出力され、125μs毎に、図1に示すフィジカル・レイヤ回路10、IEEE1394シリアルバスBUSおよびフィジカル・レイヤ回路11を介して、リンク・レイヤ回路12にアイソクロナス転送される。
【0053】
ステップS2
リンク・レイヤ回路9からの送信パケットは、図6に示すリンク・レイヤ回路12のリンクコア101を介して受信パケットとして受信前処理回路108に入力され、受信前処理回路108において、当該受信パケットの1394ヘッダ、CIPヘッダ1,2等の内容が解析された後、当該受信パケットに含まれる188バイトのTSパケットが受信用FIFO110aに書き込まれる。
そして、TSパケットが、受信用FIFO110aから読み出され、受信後処理回路109を介して、アプリケーションI/F回路103に出力される。
【0054】
そして、リンク・レイヤ回路12の図7に示すアプリケーションI/F回路103において、TSパケットに含まれる図4に示す順番指示データPES-data-conuterおよびpresent-PES-numberに連続性があるか否かが判断され、連続性がないと判断された場合にはステップS3の処理が実行され、連続性があると判断された場合にステップS1の処理が繰り返される。
【0055】
ステップS3
アプリケーションI/F回路103は、ステップS2において、TSパケットに含まれる順番指示データPES-data-conuterおよびpresent-PES-numberに連続性がないと判断した場合に、CFR111を介して、リンクコア101に割り込み信号を出力し、IEEE1394シリアルバスBUSを介したアイソクロナス通信用のパケットの受信を停止する。
ステップS4
次に、アプリケーションI/F回路103の図7に示すCFR書き込み回路202は、前回最後に連続性があると判断したときに入力して記憶した順番指示データPES-data-conuterおよびpresent-PES-numberをCFR111に書き込む。そして、順番指示データPES-data-conuterおよびpresent-PES-numberがCFR111に書き込まれると、ホストインタフェース回路102からホストコンピュータ16に割り込み信号が出力される。
【0056】
ステップS5
ホストコンピュータ16は、ホストインタフェース回路102から割り込み信号を入力すると、CFR111から順番指示データPES-data-conuterおよびpresent-PES-numberを読み出し、当該読み出した順番指示データPES-data-conuterおよびpresent-PES-numberを含むアシンクロナス通信用の送信パケットをホストインタフェース回路102に出力する。
当該アシンクロナス通信用の送信パケットは、図6に示すホストインタフェース回路102を介して送信用FIFO104aに格納された後、リンクコア101、図1に示すフィジカル・レイヤ回路11、IEEE1394シリアルバスBUSおよびフィジカル・レイヤ回路10を介してリンク・レイヤ回路9にアシンクロナス伝送される。
【0057】
ステップS6
アシンクロナス通信用の送信パケットは、図2に示すリンク・レイヤ回路9において、リゾルバ105を介して、受信パケットとして受信用FIFO104bに格納された後に読み出され、ホストインタフェース回路102を介してホストコンピュータ6に出力される。
そして、ホストコンピュータ6において、当該受信パケットに含まれる順番指示データPES-data-conuterおよびpresent-PES-numberによって特定されるATRACデータ以降のATRACデータをMD3から再び読みだすように、DSP5に制御信号S6が出力される。
そして、MD3から読み出されたATRACデータS5が、前述したステップS1と同様の過程を経て、図1に示すリンク・レイヤ回路9、フィジカル・レイヤ回路10、IEEE1394シリアルバスBUSおよびリンク・レイヤ回路12を介して、MD装置20に伝送される。
【0058】
以上説明したように、通信システム1によれば、MD装置2からMD装置20にIEEE1394シリアルバスBUSを介してATRACデータを含むアイソクロナス通信用のパケットを伝送する場合に、受信したアイソクロナス通信用のパケットに含まれるATRACデータの連続性をリンク・レイヤ回路12において検出し、欠落したATRACデータを特定するアシンクロナス通信用のパケットをホストコンピュータ6に送信し、当該欠落したATRACデータ以降のATRACデータを含むアイソクロナス通信用のパケットを再びリンク・レイヤ回路9からリンク・レイヤ回路12に伝送する。
そのため、通信システム1によれば、MD装置20において、MD装置2から読み出された全てのATRACデータをMD13に正確に書き込むことができる。その結果、MD13に書き込まれたATRACデータを伸長して再生する際に、ATRACデータの伸長を正確に行うことができる。
すなわち、通信システム1によれば、IEEE1394シリアルバスBUSを介したATRACデータの伝送品質を高め、IEEE1394シリアルバスBUSを介してATRACデータを伝送することを実質的に可能にできる。
【0059】
本発明は上述した実施形態には限定されない。
例えば、上述した実施形態では、TSパケットに含まれる順番指示データPES-data-conuterおよびpresent-PES-numberを用いて、ATRACデータの連続性を検出したが、ATRACデータの連続性を示す1種類の順番指示データを用いてもよい。
【0060】
また、上述した実施形態では、アイソクロナス通信によってATRACデータを含むパケットを伝送し、アシンクロナス通信によって欠落データ要求を伝送する場合を例示したが、本発明では、データおよび欠落データ要求の伝送方式は特に限定されない。
【0061】
また、上述した実施形態では、リンク・レイヤ回路9およびリンク・レイヤ回路12に、それぞれアプリケーションとしてMD装置2およびMD装置20を接続した場合を例示したが、これらに接続されるアプリケーションの種類および数は任意である。
【0062】
【発明の効果】
以上説明したように、本発明のデータ処理回路によれば、受信したデータに欠落がある場合でも、送信側に欠落データ要求信号を送信することで、送信側から当該欠落したデータを再び受信することが可能になり、欠落のない連続したデータを用いた処理が可能になる。
また、本発明のデータ伝送システムによれば、データ受信装置において受信したデータに欠落がある場合に、欠落データ要求信号に基づいて、当該欠落したデータをデータ送信装置からデータ受信装置に送信するため、データ受信装置において、欠落のない連続したデータを用いた処理を行うことができる。
また、本発明のデータ伝送方法によれば、受信側において受信したデータに欠落がある場合に、欠落データ要求信号に基づいて、当該欠落したデータを送信側から受信側に送信するため、受信側において、欠落のない連続したデータを用いた処理を行うことができる。
【図面の簡単な説明】
【図1】図1は、IEEE1394シリアルインタフェースに適用される本発明に係る通信システムの一実施形態を示すブロック構成図である。
【図2】図2は、送信側のリンク・レイヤ回路の内部構成図である。
【図3】図3は、トランスポート・パケットTSのフォーマットを説明するための図である。
【図4】図4は、図3に示すデータ・ボディDB内のフォーマットを説明するための図である。
【図5】図5は、IEEE1394シリアルバスを介して伝送するアイソクロナス通信用のパケットのフォーマットを説明するための図である。
【図6】図4は、受信側のリンク・レイヤ回路とアプリケーションとの接続形態を説明するための図である。
【図7】図7は、図6に示すアプリケーションI/F回路内の部分構成図である。
【図8】図8は、図1に示す通信システムの動作を説明するためのフローチャートである。
【符号の説明】
1…通信システム、2,20…MD装置、3,13…MD、5,23…DSP、6,16…ホストコンピュータ、9,12…リンク・レイヤ回路、10,11…フィジカル・レイヤ回路、101…リンクコア、102…ホストインタフェース回路、103…アプリケーションI/F回路、104…アシンクロナス通信用FIFO、105…リゾルバ、106…アイソクロナス通信用送信前処理回路、107…アイソクロナス通信用送信後処理回路、108…アイソクロナス通信用受信前処理回路、109…アイソクロナス通信用受信後処理回路、111…CFR、200,201…連続性検出回路、202…CFR書き込み回路
[0001]
[Technical field to which the invention belongs]
The present invention relates to a data processing circuit, a data transmission system, and a data transmission method.
[0002]
[Prior art]
In recent years, an IEEE (The Institute of Electrical and Electronic Engineers) 1394 serial interface that realizes high-speed data transfer and real-time transfer has been standardized as an interface for multimedia data transfer.
Such an IEEE 1394 serial interface data processing circuit is mainly composed of a physical layer circuit that directly drives the IEEE 1394 serial bus and a link layer circuit that controls physical layer data transfer, and includes a plurality of data processing circuits. The physical layer circuit is connected via an IEEE 1394 serial bus, and one or more applications are connected to the link layer circuit of each data processing circuit.
[0003]
In the above-described system using the IEEE 1394 serial interface, a signal is received via an IEEE 1394 serial bus between an application connected to one data processing circuit and an application connected to another data processing circuit. Transmits a signal when a reception permission signal is received, and transmits / receives data once every 125 μs, which is an isocycle, or transmits an acknowledgment signal when a signal is received. Isochronous transfer is performed.
[0004]
[Problems to be solved by the invention]
By the way, in the above-described system using the IEEE 1394 serial bus BUS, MD data read from the MD by a MD (Mini Disk) device connected to one data processing device is transferred to another data processing device via the IEEE 1394 serial bus. In some cases, it is desired to write to the MD using an MD device connected to the.
Here, the MD employs a compression method called ATRAC (Adaptive TRansform Acoustic Coding) in order to ensure long-time recording / reproduction.
In this ATRAC, compression is performed in units of 212 bytes of sampling data. For example, when a plurality of packets including 159 bytes of ATRAC data are continuously transmitted in isochronous transfer, some packets are lost. In addition to the ATRAC data including the lost packet, the ATRAC data before and after being compressed together with the ATRAC data cannot be expanded, and the quality of data obtained on the receiving side is extremely low. There's a problem.
Therefore, conventionally, ATRAC data has not been transmitted through the IEEE 1394 serial bus.
[0005]
Note that the above-described problem similarly exists when various data are transmitted and received via various data transmission paths, in addition to the case where ATRAC data is transmitted via the IEEE1394 serial bus.
[0006]
The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to provide a data processing circuit capable of accurately receiving data via a data transmission path.
It is another object of the present invention to provide a data transmission system and method for accurately transmitting and receiving data via a data transmission path.
[0007]
[Means for Solving the Problems]
  In order to solve the above-described problems of the prior art and achieve the above-described object, the data processing circuit of the present invention includes:A data processing circuit capable of connecting a plurality of applications, including first and second order instruction data indicating the order of the data in the data of the application, and capable of communicating with other data processing circuits via a data transmission path A first storage unit, a first receiving circuit that analyzes the received data and stores the data in the first storage unit, and reads the data stored in the first storage unit; A second receiving circuit that performs processing according to the read data; and at the time of reception, the first and second order instruction data are extracted from the data processed by the second receiving circuit, and the data The continuity detection circuit that generates the first and second order instruction data for the data to be transmitted, a second storage unit, and the continuity detection circuit at the time of transmission. The first transmission circuit that adjusts the data length of the data processed by and stores the data in the second storage unit, reads the data stored in the second storage unit, and reads the first and second A second transmission circuit that adds 2 order instruction data, and a missing data request that requests the missing data to the transmission side when the continuity detection circuit detects a missing data in the data during reception A third transmission circuit for transmitting a signal to the application side, and the continuity detection circuit compares the first order instruction data inputted last time with the first order instruction data inputted at the time of reception. A first detection circuit that detects continuity and outputs a first continuity detection signal indicating a detection result and the first order instruction data input this time, and the continuity of the second order instruction data And show the detection result A second detection circuit for outputting a second continuity detection signal and the second order instruction data; a first continuity detection signal output by the first detection circuit; and the first order instruction data. And comparing the first and second continuity detection signals on the basis of the second continuity detection signal output from the second detection circuit and the second order instruction data, and And a writing circuit for writing the first and second order instruction data, which are determined to be continuous at the end when the continuity detection signal is discontinuous, to a predetermined circuit.
[0008]
In the data processing circuit of the present invention, the data transmitted via the data transmission path is received by the receiving circuit.
Next, the continuity detection circuit monitors the continuity of the received data and detects missing data.
Next, a missing data request signal for requesting the detected missing data is transmitted from the transmission circuit to the transmission side.
Then, on the transmitting side, data requested by the received missing data request signal is transmitted to the data processing circuit via the data transmission path.
According to the data processing circuit of the present invention, missing data can be received, and processing can be performed using the received continuous data.
[0010]
In the data processing circuit of the present invention, it is preferable that the reception circuit stops receiving the data via the data transmission path when the continuity detection circuit detects the missing data. .
[0011]
In the data processing circuit of the present invention, it is preferable that the receiving circuit receives a plurality of packets each including a predetermined amount of the data.
[0012]
  The data transmission system of the present invention isData in which a plurality of applications can be connected, and the data of the application includes first and second order instruction data indicating the order of the data, and the data transmission device and the data reception device are connected via a data transmission path. A transmission system,The data receiving device is:A first storage unit; a first receiving circuit that analyzes the received data and stores the data in the first storage unit; and reads the data stored in the first storage unit and reads the data A second receiving circuit that performs processing according to the data, and at the time of reception, the first and second order instruction data are extracted from the data processed by the second receiving circuit to increase the continuity of the data. A continuity detection circuit that monitors and generates the first and second order instruction data for the data to be transmitted at the time of transmission;The data transmission device includes:A second storage unit that shares the continuity detection circuit, and a first transmission circuit that adjusts the data length of the data processed by the continuity detection circuit during transmission and stores the data in the second storage unit. A second transmission circuit that reads the data stored in the second storage unit and adds the first and second order instruction data, and the continuity detection circuit receives the data in the data during reception. A third transmission circuit that transmits to the application side a missing data request signal for requesting the missing data to the transmission side when the missing data is detected, and the continuity detection circuit receives the data at the time of reception. The first order instruction data and the first order instruction data inputted last time are compared to detect continuity, and the first continuity detection signal indicating the detection result and the first order inputted this time are detected. First to output instruction data A detection circuit; a second detection circuit that detects continuity of the second order instruction data; and outputs a second continuity detection signal indicating the detection result and the second order instruction data; A first continuity detection signal output from one detection circuit and the first order instruction data, and a second continuity detection signal output from the second detection circuit and the second order instruction data. The first and second continuity detection signals are compared based on the first and the second and the second continuity detection signals are determined to be continuous when at least one of the continuity detection signals is discontinuous. And a writing circuit for writing the second order instruction data to a predetermined circuit.
[0013]
In the data transmission system of the present invention, data is transmitted from the data transmission device to the data reception device via the data transmission path.
In the data receiving device, the data transmitted through the data transmission path is received by the receiving circuit.
Then, the continuity detection circuit monitors the continuity of the received data, and detects missing data.
Next, a missing data request signal for requesting the detected missing data is transmitted from the transmission circuit to the data transmission device.
In the data transmission device, the data requested by the received missing data request signal is transmitted again to the data reception device via the data transmission path.
According to the data transmission system of the present invention, since the missing data is transmitted from the data transmission device to the data reception device, the data reception device can perform processing using the received continuous data.
[0014]
  Further, the data transmission method of the present invention includes:A data transmission method capable of connecting a plurality of applications, wherein the data of the application includes first and second order instruction data indicating the order of the data, and transmits and receives data via a data transmission path, The transmission data is generated by adjusting the data length of the data, the first and second order instruction data are added to the transmission data, and the data is transmitted from the transmission side to the reception side via the data transmission path. According to the first step, the second step of detecting missing data by monitoring the continuity of the data received via the data transmission path on the receiving side, and the monitoring result of the data Based on the third step of stopping reception of the data and the first and second order instruction data when it is determined that the data is continuous. A fourth step of generating an insertion signal, a fifth step of transmitting a missing data request signal for requesting the missing data from the reception side to the transmission side by the interrupt signal, and the transmission side And a sixth step of transmitting data specified by the missing data request signal to the receiving side when the missing data request signal is received, and in the second step, the received data The extraction step of extracting the first and second order instruction data from, the first order instruction data and the previous first order instruction data are compared to detect continuity and indicate the detection result A first detection step for outputting a first continuity detection signal and the current first order instruction data; and detecting the continuity of the second order instruction data and detecting the result. A second detection step of outputting a second continuity detection signal indicating the second order indication data and the first order indication data and the first continuity detection signal in the first detection step. And comparing the first and second continuity detection signals based on the second continuity detection signal and the second order instruction data in the second detection step, and at least one of the continuity detection signals. And a writing step of writing the first and second order instruction data determined to have continuity to a predetermined circuit when the sex detection signal is discontinuous.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block configuration diagram showing an embodiment of a communication system 1 according to the present invention using an IEEE 1394 serial interface.
In the communication system 1, an MD device 2 is connected as an application to the link layer circuit 9. In the MD device 2, the MD read block 4 is driven by the DSP 5, and ATRAC data is read from the MD 3.
Then, the ATRAC data read from the MD 3 is transmitted in units of packets via the link layer circuit 9, the physical layer circuit 10, the IEEE 1394 serial bus BUS, the physical layer circuit 11, and the link layer circuit 12. 20 is transmitted.
In the MD device 20, the MD writing block 14 is driven by the DSP 23, and ATRAC data is recorded in the MD 13.
In the present embodiment, the link layer circuit 12 monitors the continuity of the received ATRAC data in units of packets, and when it is determined that there is no continuity, the ATRAC data after the ATRAC data whose continuity has been lost is obtained. An instruction requesting transmission again is transmitted from the host computer 16 to the host computer 6. Accordingly, ATRAC data after ATRAC data whose continuity has been lost is read again from the MD device 2 and transmitted to the MD device 20 in units of packets via the IEEE 1394 serial bus BUS.
[0016]
Hereinafter, the configuration of the communication system 1 will be described.
As shown in FIG. 1, the communication system 1 includes, for example, an MD device 2, a host computer 6, a link layer circuit 9, and a physical layer circuit 10 on one side of an IEEE 1394 serial bus BUS, and the other side. The physical layer 11, the link layer circuit 12, the host computer 16, and the MD device 20 are included.
In this embodiment, the link layer circuit 12 corresponds to the receiving circuit and the continuity detecting circuit of the present invention, and the host computer 16 corresponds to the transmitting circuit of the present invention.
[0017]
Hereinafter, each component will be described in detail.
MD device 2
The MD device 2 includes an MD read block 4 and a DSP 5, and outputs ATRAC data S 5 read from the MD 3 to the link layer circuit 9.
The DSP 5 controls the MD read block 4 based on the control signal S 6 from the host computer 6 and outputs the ATRAC data S 5 read from the MD 3 to the link layer circuit 9.
Here, the ATRAC data S5 is audio data, video data data, computer data, etc. compressed by the ATRAC system in units of 212 bytes.
The MD read block 4 includes a drive system that rotationally drives the MD 3 and a read system such as an optical pickup, and reads the MD 3 based on control from the DSP 5.
[0018]
Host computer 6
The host computer 6 outputs a control signal S6 to the DSP 5.
Further, the host computer 6 inputs a reception packet for asynchronous communication from the host interface circuit 102 of the link layer circuit 9 as necessary, performs predetermined processing, and sends an asynchronous transmission packet to the host interface circuit 102. Is output.
[0019]
Further, the host computer 6 sends the asynchronous communication packet (missing data request signal of the present invention) including the order instruction data present-PES-number and PES-data-counter to the link layer circuit 12 and the physical layer circuit 11. When received from the host computer 16 via the IEEE 1394 serial bus BUS, the physical layer circuit 10 and the link layer circuit 9, the order indication data present-PES-number and PES-data-counter included in the received packet are used. The control signal S6 is output to the DSP 5 so that the specified ATRAC data S5 is read again from the MD3.
Specifically, the order instruction data present-PES-number included in the received packet and the order instruction data PES- obtained by incrementing (increasing) the order instruction data PES-data-counter included in the received packet by one. A control signal S6 indicating that ATRAC data arranged in a later-described transport stream (TS) packet having data-counter is read again from MD3 is output to DSP5.
As described above, the host computer 6 receives the asynchronous communication packet including the order instruction data present-PES-number and PES-data-counter, as will be described later. The application I / F circuit 103 detects the discontinuity of the order instruction data present-PES-number and PES-data-counter included in the received packet for isochronous communication.
[0020]
Link layer circuit 9
The link layer circuit 9 performs control of isochronous transfer and asynchronous transfer and control of the physical layer circuit 10 under the control of the host computer 6.
Here, in isochronous transfer, data is always transmitted and received once every 125 μs that is an isocycle, and in asynchronous transfer, a signal is received from the transmission side when the transmission side receives a reception permission signal that permits reception of the signal. The reception confirmation signal is transmitted from the reception side to the transmission side when the reception side receives the signal.
FIG. 2 is an internal configuration diagram of the link layer circuit 9.
Specifically, as shown in FIG. 2, the link layer circuit 9 includes, for example, a link core 101, a host I / F circuit 102, an application I / F circuit 103, and a transmission FIFO. (AT-FIFO) 104a and reception FIFO (AR-FIFO) 104b, asynchronous communication FIFO 104, self ID resolver (Resolver) 105, isochronous communication pre-transmission processing circuit (TXOPRE) 106, isochronous communication post-transmission processing Circuit (TXOPRO) 107, isochronous communication reception pre-processing circuit (TXIPRE) 108, isochronous communication reception post-processing circuit (TXIPRO) 109, isochronous communication FIFO (I-FIFO) 110, and configuration register (hereinafter referred to as CFR) 111).
[0021]
In the link layer circuit 9 shown in FIG. 2, the application interface circuit 103, the pre-transmission processing circuit 106, the post-transmission processing circuit 107, the pre-reception processing circuit 108, the post-reception processing circuit 109, the FIFO 110, the link core 101 and the CFR 111 are used for isochronous communication. A system circuit is configured.
The host interface circuit 102, the asynchronous communication transmission FIFO 104a, the reception FIFO 104b, the link core 101, and the CFR 111 constitute an asynchronous communication system circuit.
[0022]
[Isochronous communication circuit]
The link core 101 has a transmission circuit and a reception circuit for asynchronous communication packets and isochronous communication packets, an interface circuit with the physical layer circuit 10 that directly drives the IEEE1394 serial bus BUS of these packets, and a cycle timer that is reset every 125 μs. It consists of a cycle monitor and CRC circuit.
The link core 101 outputs an isochronous transmission packet to the physical layer circuit 10 every 125 μs during transmission of isochronous transfer. Further, the link core 101 inputs an isochronous transmission packet from the physical layer circuit 10 every 125 μs when receiving isochronous transfer.
[0023]
At the time of transmission, the application I / F circuit 103 sequentially generates 188-byte transport stream (TS) packets from the ATRAC data S5 input from the DSP 5, and sends the TS packets to the transmission preprocessing circuit 106. Output.
In the payload part (data part) of each TS packet, 159-byte ATRAC data is arranged. At this time, as described above, since ATRAC data is compressed in units of 212 bytes, at least a part of ATRAC data included in the same compression unit is arranged in different TS packets.
Here, a so-called PES (Packetized Elementary Stream) packet is composed of 159 bytes of ATRAC data included in eight consecutive TS packets. PES packets are TS packets used for transmission (accumulation) in an environment where bit errors occur and transmission (accumulation) in an environment where no bit errors occur, as defined in MPEG (Moving Picture coding Experts Group) 2 This is an intermediate stream for enabling conversion between program stream (PS) packets to be used.
[0024]
Hereinafter, the data format of the TS packet will be described.
FIG. 3 is a diagram for explaining the format of the TS packet.
As shown in FIG. 3, the TS packet includes, for example, a 4-byte transport packet header TPH, a 14-byte PES packet header PPH, a 2-byte data header DH, and a 168-byte data body DB. .
[0025]
The transport packet header TPH is, for example, as shown in FIG.
Sync-byte indicating the sync byte (0x47),
Transport-error-indicator indicating error indication,
Playload-unit-start-indicator indicating the unit start display,
Transport-priority indicating the priority of the transport packet,
PID indicating the packet identifier,
Transport-scrambling-control for scramble control,
Adaptation-field-control for adaptation field control and
Continuity-counter to index continuity
Consists of.
[0026]
The PES packet header PPH includes, for example, data indicating the length of the PES packet, whether or not the PES packet can be copied, and identification of the original / copy.
[0027]
The data header DH includes, for example, a data-type indicating whether or not the data is audio data, and a data-transmission and tag indicating whether the data communication path is a satellite or a cable.
In the present embodiment, the data-type indicates music data.
[0028]
The data body DB is, for example, as shown in FIG.
FDF-field-length indicating the data length (number of bytes) of FDF (Fromat Dependent Field),
Audio-data-type-1 to indicate the audio data type,
Audio-data-type-2 to indicate the classification within the audio data type,
Copyright indicating whether or not the music data can be copied,
Stereo-mono to indicate whether the song is stereo or mono,
Emphasis, which indicates whether the song is emphasis or not
Data-start-indicator indicating that the data being transmitted is the first PES packet of music data,
Data-end-indicator indicating that the data being transmitted is the last PES packet of the music data,
Order instruction data PES-data-conuter, which is a 3-bit cyclic count value indicating the number of the eight TS packets transmitting the PES.
Order indication data present-PES-number, which is a 24-bit count value indicating what PES packet the TS packet relates to
Consists of.
In the present embodiment, the data audio-data-type-1 indicates that it is ATRAC.
Further, the order instruction data PES-data-conuter and present-PES-number are used when the continuity of the received ATRAC data is monitored in the application I / F circuit 103 as will be described later.
[0029]
Further, at the time of reception, the application I / F circuit 103 extracts 159-byte ATRAC data shown in FIG. 4 from each TS packet input from the post-reception processing circuit 109, and outputs the ATRAC data to the application side.
The processing at the time of reception in the application I / F circuit 103 will be described in the description of the link layer circuit 12 described later.
[0030]
In addition to MD devices, the application I / F circuit 103 includes, for example, multimedia products such as CD (Compact Disc) players, D / A converters, various computers, consumer products such as set top boxes, and the like. Data storage devices such as hard disks can be connected.
[0031]
The pre-transmission processing circuit 106 inputs a TS packet from the application I / F circuit 103, adjusts the data length in units of quadlets (4 bytes) in order to perform the IEEE 1394 standard isochronous communication, and the FIFO 110 Write to the transmission FIFO 110b.
[0032]
The post-transmission processing circuit 107 reads the TS packet from the transmission FIFO 110b of the FIFO 110, and adds the 1394 header and the CIP headers (Headers) 1 and 2 shown in FIG. 5 to the read TS packet for isochronous communication. The transmission packet is generated, and the transmission packet is output to the transmission circuit of the link core 101.
Specifically, as shown in FIG. 5, a transmission packet for isochronous communication includes a 32-byte 1394 header, a 32-byte header CRC (Cyclic Redundancy Check), a 32-byte CIP header 1, and a 32-byte CIP header 2. It consists of 188 bytes of data and 32 bytes of data CRC.
Here, the TS packet shown in FIG. 3 is arranged in 188 bytes of data.
[0033]
The 1394 header includes a data-length indicating the data length, a tag, a channel indicating the channel number (any one of 0 to 63) to which the packet is transferred, reserved, a speed indicating the transfer speed, and synchronization defined by each application. Consists of the code sy.
The CIP header 1 includes a SID (Source node ID) for a transmission node number, a DBS (Data Block Size) for the length of a data block, and an FN (Fraction Number) for the number of data divisions in packetization. , QPC (Quadlet Padding Count) for the number of quadlets of padding data, SPH for a flag indicating the presence / absence of a source packet header, and DBC for a counter for detecting the number of isochronous packets.
The CIP header 2 includes FMT, FDF (Format Dependent Field) used corresponding to the signal format, and SyncTime for time stamp information.
[0034]
The pre-reception processing circuit 108 receives the reception packet for isochronous communication shown in FIG. 5 that has been transmitted through the IEEE 1394 serial bus BUS via the link core 101, and receives the 1394 header, CIP header 1, 2, etc. of the reception packet. After analyzing the contents, 188-byte data (TS packet) is written in the FIFO 110a for reception of the FIFO 110.
[0035]
The post-reception processing circuit 109 outputs the TS packet read from the reception FIFO 110 a to the application I / F circuit 103. At this time, if the TS packet is encrypted, the post-reception processing circuit 109 decrypts the cipher and outputs it to the application I / F circuit 103.
[0036]
The FIFO 110 includes, for example, a 960 × 32-bit reception FIFO 110a and a 960 × 32-bit transmission FIFO 110b.
[0037]
[Asynchronous circuit]
When performing asynchronous transmission via the IEEE 1394 serial bus BUS, the link core 101 transmits / receives a packet for asynchronous communication while transmitting / receiving a reception permission signal and a reception confirmation signal to / from the other party as described above. Send and receive.
[0038]
The host interface circuit 102 performs arbitration of writing and reading of asynchronous communication packets between the host computer 6 and the transmission FIFO 104a and reception FIFO 104b, and arbitration of transmission / reception of various data from the host computer 6 to the CFR 111. I do.
[0039]
The transmission FIFO 104a stores a transmission packet for asynchronous communication to be transmitted to the IEEE 1394 serial bus BUS, and the reception FIFO 104b stores a reception packet for asynchronous communication transmitted through the IEEE 1394 serial interface bus BUS.
[0040]
The resolver 105 analyzes the content of the self ID packet transmitted through the IEEE1394 serial interface bus BSU at the time of bus reset, and stores it in the CFR 111.
[0041]
Physical layer circuit 10
The physical layer circuit 10 performs arbitration of the IEEE 1394 serial bus BUS.
The physical layer circuit 10 encodes the transmission packet input from the link layer circuit 9 and outputs the encoded packet to the IEEE 1394 serial bus BUS. Further, the physical layer circuit 10 decodes the received packet input from the IEEE 1394 serial bus BUS and outputs the decoded packet to the link layer circuit 9.
[0042]
Physical layer circuit 11
The physical layer circuit 11 is connected to the physical layer circuit 10 via the IEEE 1394 serial bus BUS, and has the same configuration and function as the above-described physical layer circuit 10.
[0043]
Link layer circuit 12
As shown in FIG. 6, the link layer circuit 12 has the same configuration as the link layer circuit 9 shown in FIG. 2 except for the application connected to the application I / F circuit 103.
That is, in the link layer circuit 12, an MD device 20 that writes ATRAC data to the MD 13 as an application is connected to the application I / F circuit 103.
[0044]
Hereinafter, processing at the time of reception in the application I / F circuit 103 of the link layer circuit 12 will be described.
The processing at the time of reception can also be performed in the application I / F circuit 103 of the link layer circuit 9 shown in FIG. 2 under the same situation.
The application I / F circuit 103 analyzes the transport packet header TPH, the PES packet header PPH, the data header DH, and the FDF shown in FIG. 4 of the TS packet shown in FIG. . Then, the application I / F circuit 103 extracts the 159-byte ATRAC data S12 included in the TS packet shown in FIGS. 3 and 4 input from the post-reception processing circuit 109, and outputs this to the DSP 23.
[0045]
At this time, in the present embodiment, the application I / F circuit 103 uses the configuration shown in FIG. 7 and the order instruction data PES-data-conuter and present-PES-number shown in FIG. 4 included in the received TS packet. And the continuity of the received TS packets, that is, the presence or absence of missing TS packets is detected.
[0046]
The application I / F circuit 103 includes, for example, continuity detection circuits 200 and 201 and a CFR write circuit 202 as shown in FIG.
The continuity detection circuit 200 inputs the 3-bit order instruction data PES-data-conuter shown in FIG. 4 included in the TS packet input from the post-reception processing circuit 109, and the input order instruction data PES-data-conuter. And the previously input order instruction data PES-data-conuter, and a continuity detection signal S200 indicating the determination result and the presently input order instruction data PES-data- conuter is output to the CFR writing circuit 202.
The order instruction data PES-data-conuter has 0, 1, 2, 3, 4, 5, 6, 7, 0, 1,. . . Are input to the continuity detection circuit 200 in this order.
[0047]
The continuity detection circuit 201 inputs the 24-bit order instruction data present-PES-number shown in FIG. 4 included in the TS packet input from the post-reception processing circuit 109, and the input order instruction data present-PES-number. Is output, and the continuity detection signal S200 indicating the determination result and the order instruction data present-PES-number input this time are output to the CFR writing circuit 202.
Specifically, the continuity detection circuit 201 determines whether or not the order instruction data present-PES-number is incremented (increased) by 1 for every eight consecutively input TS packets. That is, the order instruction data present-PES-number included in eight consecutively input TS packets indicates the same value, and a value obtained by incrementing the value of the order instruction data present-PES-number by 1, Next, it is determined whether or not the sequential instruction data present-PES-number of eight TS packets that are continuously input are indicated.
[0048]
The CFR writing circuit 202 includes a continuity detection signal S200 and order instruction data PES-data-conuter input from the continuity detection circuit 200, and a continuity detection signal S201 and order instruction data present-PES input from the continuity detection circuit 201. Based on -number, when at least one of continuity detection signals S200 and S201 indicates that there is no continuity, the order that was input and stored when it was determined that there was continuity last time The instruction data PES-data-conuter and present-PES-number are written in the CFR 111.
[0049]
Host computer 16
As described above, the host computer 16 detects the discontinuity of the present-PES-number and PES-data-counter included in the received packet for isochronous communication by the application I / F circuit 103 of the link layer circuit 12. When the present-PES-number and the PES-data-counter of the received packets that are received with continuity are written to the CFR 111 at the end, an interrupt signal is input from the host interface circuit 102 by the write, and the CFR 111 A transmission packet for asynchronous communication including the read present-PES-number and PES-data-counter is output to the link layer circuit 12. The transmission packet is output to the host computer 6 via the link layer circuit 12, the physical layer circuit 11, the IEEE 1394 serial bus BUS, the physical layer circuit 10, and the link layer circuit 9.
Further, the host computer 16 outputs a control signal S16 to the DSP 23.
[0050]
MD device 20
The MD device 20 has an MD write block 14 and a DSP 23 and writes ATRAC data S12 input from the link layer circuit 12 to the MD 13. The DSP 5 controls the MD write block 14 based on the control signal S16 from the host computer 16 and writes the ATRAC data S12 input from the link layer circuit 12 to the MD 13.
The MD writing block 14 has a drive system that rotationally drives the MD 3 and a read system such as an optical pickup.
[0051]
Hereinafter, the operation of the communication system 1 shown in FIG. 1 will be described.
FIG. 8 is a flowchart for explaining the operation of the communication system 1 shown in FIG.
Step S1
First, when an MD reading instruction is performed by a user operating an operation means (not shown), a control signal S6 is output from the host computer 6 to the DSP 5, and the MD reading block 4 performs MD to ATRAC according to the control from the DSP 5. Data S5 is read out. The read ATRAC data S5 is output to the application I / F circuit 103 of the link layer circuit 9 shown in FIG.
[0052]
Next, in the application I / F circuit 103 of the link layer circuit 9, the TS packet shown in FIGS. 3 and 4 including the ATRAC data S5 read from the MD3 is generated, and the TS packet is converted into a pre-transmission processing circuit. In 106, after the data length is adjusted in units of 4 bytes, the data length is stored in the FIFO 110b for transmission of the FIFO 110.
Then, in the post-transmission processing circuit 107, as shown in FIG. 5, a 1394 header and CIP headers (Headers) 1 and 2 are added to the TS packet read from the transmission FIFO 110b to generate a transmission packet for isochronous communication. Is done. The transmission packet is output to the link core 101, and is isochronously transferred to the link layer circuit 12 via the physical layer circuit 10, the IEEE 1394 serial bus BUS, and the physical layer circuit 11 shown in FIG. 1 every 125 μs. Is done.
[0053]
Step S2
A transmission packet from the link layer circuit 9 is input to the reception preprocessing circuit 108 as a reception packet via the link core 101 of the link layer circuit 12 shown in FIG. After the contents of the 1394 header, the CIP headers 1 and 2 are analyzed, a 188-byte TS packet included in the received packet is written into the reception FIFO 110a.
Then, the TS packet is read from the reception FIFO 110 a and output to the application I / F circuit 103 via the post-reception processing circuit 109.
[0054]
Then, in the application I / F circuit 103 shown in FIG. 7 of the link layer circuit 12, whether or not the order instruction data PES-data-conuter and present-PES-number shown in FIG. If it is determined that there is no continuity, the process of step S3 is executed. If it is determined that there is continuity, the process of step S1 is repeated.
[0055]
Step S3
If the application I / F circuit 103 determines in step S2 that the order instruction data PES-data-conuter and present-PES-number included in the TS packet are not continuous, the link core 101 is connected via the CFR 111. An interrupt signal is output to, and reception of the packet for isochronous communication via the IEEE1394 serial bus BUS is stopped.
Step S4
Next, the CFR writing circuit 202 shown in FIG. 7 of the application I / F circuit 103 inputs the order indication data PES-data-conuter and present-PES-, which are inputted and stored when it is determined that there is continuity last time. Write number to CFR111. When the order instruction data PES-data-conuter and present-PES-number are written into the CFR 111, an interrupt signal is output from the host interface circuit 102 to the host computer 16.
[0056]
Step S5
When the host computer 16 receives an interrupt signal from the host interface circuit 102, the host computer 16 reads the order instruction data PES-data-conuter and present-PES-number from the CFR 111, and the read order instruction data PES-data-conuter and present-PES. The transmission packet for asynchronous communication including -number is output to the host interface circuit 102.
The transmission packet for asynchronous communication is stored in the transmission FIFO 104a via the host interface circuit 102 shown in FIG. 6, and then the link core 101, the physical layer circuit 11 shown in FIG. 1, the IEEE 1394 serial bus BUS, and the physical Asynchronous transmission is performed to the link layer circuit 9 via the layer circuit 10.
[0057]
Step S6
In the link layer circuit 9 shown in FIG. 2, the transmission packet for asynchronous communication is stored as a reception packet in the reception FIFO 104b via the resolver 105 and then read out, and is read out through the host interface circuit 102. Is output.
Then, in the host computer 6, a control signal is sent to the DSP 5 so that the ATRAC data after the ATRAC data specified by the order instruction data PES-data-conuter and present-PES-number included in the received packet is read again from the MD3. S6 is output.
Then, the ATRAC data S5 read from the MD3 is subjected to the same process as step S1 described above, and the link layer circuit 9, the physical layer circuit 10, the IEEE 1394 serial bus BUS, and the link layer circuit 12 shown in FIG. Is transmitted to the MD device 20 via the.
[0058]
As described above, according to the communication system 1, when an isochronous communication packet including ATRAC data is transmitted from the MD device 2 to the MD device 20 via the IEEE1394 serial bus BUS, the received isochronous communication packet is received. The link layer circuit 12 detects the continuity of the ATRAC data included in the data, transmits an asynchronous communication packet for identifying the missing ATRAC data to the host computer 6, and includes isochronous data including the ATRAC data after the missing ATRAC data. The communication packet is transmitted again from the link layer circuit 9 to the link layer circuit 12.
Therefore, according to the communication system 1, the MD device 20 can accurately write all ATRAC data read from the MD device 2 to the MD 13. As a result, when the ATRAC data written in the MD 13 is expanded and reproduced, the ATRAC data can be accurately expanded.
That is, according to the communication system 1, it is possible to improve the transmission quality of ATRAC data via the IEEE 1394 serial bus BUS and substantially transmit ATRAC data via the IEEE 1394 serial bus BUS.
[0059]
The present invention is not limited to the embodiment described above.
For example, in the above-described embodiment, the continuity of the ATRAC data is detected using the order instruction data PES-data-conuter and the present-PES-number included in the TS packet. The order instruction data may be used.
[0060]
In the above-described embodiment, the case where a packet including ATRAC data is transmitted by isochronous communication and the missing data request is transmitted by asynchronous communication is exemplified. However, in the present invention, the transmission method of data and missing data request is particularly limited. Not.
[0061]
In the embodiment described above, the case where the MD device 2 and the MD device 20 are connected to the link layer circuit 9 and the link layer circuit 12 as applications, respectively, is exemplified. Is optional.
[0062]
【The invention's effect】
As described above, according to the data processing circuit of the present invention, even when the received data is missing, the missing data request signal is transmitted to the transmitting side, so that the missing data is received again from the transmitting side. Therefore, it is possible to perform processing using continuous data without missing.
In addition, according to the data transmission system of the present invention, when data received by the data receiving device is missing, the missing data is transmitted from the data transmitting device to the data receiving device based on the missing data request signal. In the data receiving apparatus, it is possible to perform processing using continuous data with no omission.
Further, according to the data transmission method of the present invention, when the data received at the receiving side is missing, the missing data request signal is transmitted from the sending side to the receiving side based on the missing data request signal. , It is possible to perform processing using continuous data without missing.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an embodiment of a communication system according to the present invention applied to an IEEE 1394 serial interface.
FIG. 2 is an internal configuration diagram of a link layer circuit on the transmission side;
FIG. 3 is a diagram for explaining a format of a transport packet TS.
4 is a diagram for explaining a format in a data body DB shown in FIG. 3. FIG.
FIG. 5 is a diagram for explaining a format of a packet for isochronous communication transmitted via an IEEE 1394 serial bus.
FIG. 4 is a diagram for explaining a connection form between a link layer circuit on the receiving side and an application;
FIG. 7 is a partial configuration diagram in the application I / F circuit shown in FIG. 6;
FIG. 8 is a flowchart for explaining the operation of the communication system shown in FIG. 1;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Communication system, 2,20 ... MD apparatus, 3,13 ... MD, 5,23 ... DSP, 6,16 ... Host computer, 9,12 ... Link layer circuit, 10,11 ... Physical layer circuit, 101 DESCRIPTION OF SYMBOLS ... Link core, 102 ... Host interface circuit, 103 ... Application I / F circuit, 104 ... Asynchronous communication FIFO, 105 ... Resolver, 106 ... Isochronous communication pre-transmission processing circuit, 107 ... Isochronous communication post-transmission processing circuit, 108 ... pre-reception processing circuit for isochronous communication, 109 ... post-reception processing circuit for isochronous communication, 111 ... CFR, 200, 201 ... continuity detection circuit, 202 ... CFR writing circuit

Claims (14)

複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ伝送路を介して他のデータ処理回路と通信可能なデータ処理回路であって、
第1の記憶部と、
受信した前記データを解析して前記第1の記憶部に格納する第1の受信回路と、
前記第1の記憶部に格納された前記データを読み出して、前記読み出したデータに応じた処理を施す第2の受信回路と、
受信時には、前記第2の受信回路が処理した前記データから前記第1および前記第2の順番指示データを抽出して前記データの連続性を監視し、送信時には、送信する前記データに前記第1および前記第2の順番指示データを生成する連続性検出回路と、
第2の記憶部と、
送信時に前記連続性検出回路が処理した前記データのデータ長を調整して前記第2の記憶部に格納する第1の送信回路と、
前記第2の記憶部に格納された前記データを読み出して、前記第1および前記第2の順番指示データを付加する第2の送信回路と、
受信時に前記連続性検出回路が前記データ中にデータの欠落を検出した場合、前記欠落しているデータを送信側に要求する欠落データ要求信号をアプリケーション側に送信する第3の送信回路と
を有し、
前記連続性検出回路は、
受信時に前記第1の順番指示データと前回入力された前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回入力された前記第1の順番指示データとを出力する第1の検出回路と、
前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出回路と、
前記第1の検出回路が出力した第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出回路が出力した前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込み回路とを含む
データ処理回路。
A data processing circuit capable of connecting a plurality of applications, including first and second order instruction data indicating the order of the data in the data of the application, and capable of communicating with other data processing circuits via a data transmission path Because
A first storage unit;
A first receiving circuit that analyzes the received data and stores the data in the first storage unit;
A second receiving circuit that reads the data stored in the first storage unit and performs processing according to the read data;
At the time of reception, the first and second order instruction data are extracted from the data processed by the second reception circuit to monitor the continuity of the data, and at the time of transmission, the first data is added to the data to be transmitted. And a continuity detection circuit for generating the second order instruction data;
A second storage unit;
A first transmission circuit that adjusts the data length of the data processed by the continuity detection circuit during transmission and stores it in the second storage unit;
A second transmission circuit that reads the data stored in the second storage unit and adds the first and second order instruction data;
A third transmission circuit for transmitting, to the application side, a missing data request signal for requesting the missing data to the transmission side when the continuity detection circuit detects a missing data in the data at the time of reception; And
The continuity detection circuit includes:
At the time of reception, the continuity is detected by comparing the first order instruction data and the first order instruction data input last time, and the first continuity detection signal indicating the detection result and the first input the current time. A first detection circuit that outputs one order instruction data;
A second detection circuit that detects continuity of the second order instruction data and outputs a second continuity detection signal indicating the detection result and the second order instruction data;
The first continuity detection signal and the first order instruction data output from the first detection circuit, and the second continuity detection signal and the second order instruction output from the second detection circuit. The first and second continuity detection signals are compared based on the data, and when at least one of the continuity detection signals is discontinuous, it is determined that there is continuity at the end. And a data processing circuit including a writing circuit for writing the second order instruction data to a predetermined circuit.
前記連続性検出回路は、前記欠落しているデータを検出したときに、前記データ伝送路を介した前記データの受信を中止する
請求項1に記載のデータ処理回路。
The data processing circuit according to claim 1, wherein the continuity detection circuit stops receiving the data via the data transmission path when detecting the missing data.
前記第1の受信回路は、所定量の前記データをそれぞれ含む複数のパケットを受信する
請求項1に記載のデータ処理回路。
The data processing circuit according to claim 1, wherein the first receiving circuit receives a plurality of packets each including a predetermined amount of the data.
前記連続性検出回路は、前記パケット毎に、前記欠落しているデータを検出し、
前記第3の送信回路は、前記欠落しているデータを前記パケット毎に前記送信側に要求する前記欠落データ要求信号を送信する
請求項に記載のデータ処理回路。
The continuity detection circuit detects the missing data for each packet,
The data processing circuit according to claim 3 , wherein the third transmission circuit transmits the missing data request signal for requesting the missing data to the transmission side for each packet.
前記データは、所定量の連続したデータを単位として圧縮されており、
同じ圧縮の単位に含まれるデータの少なくとも一部が、異なる前記パケットに含まれる
請求項に記載のデータ処理回路。
The data is compressed in units of a predetermined amount of continuous data,
The data processing circuit according to claim 3 , wherein at least part of data included in the same compression unit is included in different packets.
前記パケットは、所定の時間間隔で前記データ伝送路を伝送する
請求項に記載のデータ処理回路。
The data processing circuit according to claim 3 , wherein the packet is transmitted through the data transmission path at a predetermined time interval.
前記第3の送信回路は、前記データ伝送路を介して、信号を受信することを許可する受信許可信号を前記送信側から受信したときに、前記欠落データ要求信号を前記送信側に送信し、前記欠落データ要求信号が前記送信側で適切に受信されたときに、受信確認信号を前記送信側から受信する
請求項1に記載のデータ処理回路。
The third transmission circuit transmits the missing data request signal to the transmission side when receiving a reception permission signal permitting reception of a signal from the transmission side via the data transmission path, The data processing circuit according to claim 1, wherein a reception confirmation signal is received from the transmission side when the missing data request signal is properly received on the transmission side.
前記受信したデータをアプリケーション側に出力する出力回路
をさらに有する請求項1に記載のデータ処理回路。
The data processing circuit according to claim 1, further comprising: an output circuit that outputs the received data to an application side.
前記データ伝送路は、シリアルバスである
請求項1に記載のデータ処理回路。
The data processing circuit according to claim 1, wherein the data transmission path is a serial bus.
複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ送信装置とデータ受信装置とをデータ伝送路を介して接続したデータ伝送システムであって、
前記データ受信装置は、
第1の記憶部と、
受信した前記データを解析して前記第1の記憶部に格納する第1の受信回路と、
前記第1の記憶部に格納された前記データを読み出して、前記読み出したデータに応じた処理を施す第2の受信回路と、
受信時には、前記第2の受信回路が処理した前記データから前記第1および前記第2の順番指示データを抽出して前記データの連続性を監視し、送信時には、送信する前記データに前記第1および前記第2の順番指示データを生成する連続性検出回路と、
を有し、
前記データ送信装置は、
前記連続性検出回路を共有し、
第2の記憶部と、
送信時に前記連続性検出回路が処理した前記データのデータ長を調整して前記第2の記憶部に格納する第1の送信回路と、
前記第2の記憶部に格納された前記データを読み出して、前記第1および前記第2の順番指示データを付加する第2の送信回路と、
受信時に前記連続性検出回路が前記データ中にデータの欠落を検出した場合、前記欠落しているデータを送信側に要求する欠落データ要求信号をアプリケーション側に送信する第3の送信回路と
を有し、
前記連続性検出回路は、
受信時に前記第1の順番指示データと前回入力された前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回入力された前記第1の順番指示データとを出力する第1の検出回路と、
前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出回路と、
前記第1の検出回路が出力した第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出回路が出力した前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込み回路とを含む
データ伝送システム。
Data in which a plurality of applications can be connected, and the data of the application includes first and second order instruction data indicating the order of the data, and the data transmission device and the data reception device are connected via a data transmission path. A transmission system,
The data receiving device is:
A first storage unit;
A first receiving circuit that analyzes the received data and stores the data in the first storage unit;
A second receiving circuit that reads the data stored in the first storage unit and performs processing according to the read data;
At the time of reception, the first and second order instruction data are extracted from the data processed by the second reception circuit to monitor the continuity of the data, and at the time of transmission, the first data is added to the data to be transmitted. And a continuity detection circuit for generating the second order instruction data;
Have
The data transmission device includes:
Sharing the continuity detection circuit;
A second storage unit;
A first transmission circuit that adjusts the data length of the data processed by the continuity detection circuit during transmission and stores it in the second storage unit;
A second transmission circuit that reads the data stored in the second storage unit and adds the first and second order instruction data;
A third transmission circuit for transmitting, to the application side, a missing data request signal for requesting the missing data to the transmission side when the continuity detection circuit detects a missing data in the data at the time of reception; And
The continuity detection circuit includes:
At the time of reception, the continuity is detected by comparing the first order instruction data and the first order instruction data input last time, and the first continuity detection signal indicating the detection result and the first input the current time. A first detection circuit that outputs one order instruction data;
A second detection circuit that detects continuity of the second order instruction data and outputs a second continuity detection signal indicating the detection result and the second order instruction data;
The first continuity detection signal and the first order instruction data output from the first detection circuit, and the second continuity detection signal and the second order instruction output from the second detection circuit. The first and second continuity detection signals are compared based on the data, and when at least one of the continuity detection signals is discontinuous, it is determined that there is continuity at the end. And a writing circuit for writing the second order instruction data to a predetermined circuit.
前記連続性検出回路は、前記欠落しているデータを検出したときに、前記データ伝送路を介した前記データの受信を中止する
請求項10に記載のデータ伝送システム。
The data transmission system according to claim 10 , wherein the continuity detection circuit stops receiving the data via the data transmission path when detecting the missing data.
前記データ送信装置は、所定量の前記データをそれぞれ含む複数のパケットを前記データ伝送路を介して送信する
請求項10に記載のデータ伝送システム。
The data transmission system according to claim 10 , wherein the data transmission device transmits a plurality of packets each including a predetermined amount of the data via the data transmission path.
前記データは、連続した所定量のデータを単位として圧縮されており、
同じ圧縮の単位に含まれるデータの少なくとも一部が、異なる前記パケットに含まれる
請求項12に記載のデータ伝送システム。
The data is compressed in units of continuous predetermined amount of data,
The data transmission system according to claim 12 , wherein at least part of data included in the same compression unit is included in the different packets.
複数のアプリケーションを接続可能で、前記アプリケーションのデータに前記データの順番を示す第1および第2の順番指示データが含まれ、データ伝送路を介してデータを送受信するデータ伝送方法であって、
前記データのデータ長を調整して送信データを生成し、前記送信データに前記第1および第2の順番指示データを付加し、前記データ伝送路を介して前記データを送信側から受信側に送信する第1のステップと、
前記受信側において、前記データ伝送路を介して受信した前記データの連続性を監視して欠落しているデータを検出する第2のステップと、
前記データの監視結果に応じて前記データの受信を停止する第3のステップと、
前記データに連続性があると判断したときの前記第1および前記第2の順番指示データに基づいて割り込み信号を生成する第4のステップと、
前記割り込み信号によって、前記欠落しているデータを要求する欠落データ要求信号を前記受信側から前記送信側に送信する第5のステップと、
前記送信側において、前記欠落データ要求信号を受信すると、前記欠落データ要求信号によって特定されるデータを前記受信側に送信する第6のステップと、
を有し、
前記第2のステップにおいては、
受信した前記データから前記第1および前記第2順番指示データを抽出する抽出ステップと、
前記第1の順番指示データと前回の前記第1の順番指示データとを比較して連続性を検出し、検出結果を示す第1の連続性検出信号と今回の前記第1の順番指示データとを出力する第1の検出ステップと、
前記第2の順番指示データの連続性を検出し、検出結果を示す第2の連続性検出信号と前記第2の順番指示データとを出力する第2の検出ステップと、
前記第1の検出ステップにおける第1の連続性検出信号と前記第1の順番指示データ、および前記第2の検出ステップにおける前記第2の連続性検出信号と前記第2の順番指示データとに基づいて前記第1および前記第2の連続性検出信号を比較し、少なくとも一方の前記連続性検出信号が不連続である場合に、最後に連続性があると判断された前記第1および前記第2の順番指示データを所定の回路に書き込む書き込みステップとを含む
データ伝送方法。
A data transmission method capable of connecting a plurality of applications, including first and second order instruction data indicating the order of the data in the data of the application, and transmitting and receiving data via a data transmission path,
The transmission data is generated by adjusting the data length of the data, the first and second order instruction data are added to the transmission data, and the data is transmitted from the transmission side to the reception side via the data transmission path. A first step to:
A second step of detecting missing data by monitoring continuity of the data received via the data transmission path at the receiving side;
A third step of stopping reception of the data according to the monitoring result of the data;
A fourth step of generating an interrupt signal based on the first and second order instruction data when it is determined that the data is continuous;
A fifth step of transmitting a missing data request signal for requesting the missing data from the reception side to the transmission side by the interrupt signal;
On the transmitting side, upon receiving the missing data request signal, a sixth step of transmitting data specified by the missing data request signal to the receiving side;
Have
In the second step,
An extraction step of extracting the first and second order instruction data from the received data;
The first order instruction data and the previous first order instruction data are compared to detect continuity, and the first continuity detection signal indicating the detection result and the current first order instruction data A first detection step of outputting
A second detection step of detecting continuity of the second order instruction data and outputting a second continuity detection signal indicating the detection result and the second order instruction data;
Based on the first continuity detection signal and the first order instruction data in the first detection step, and the second continuity detection signal and the second order instruction data in the second detection step. The first and second continuity detection signals are compared, and when at least one of the continuity detection signals is discontinuous, the first and second are determined to have continuity at the end. A data transmission method comprising: a writing step of writing the order instruction data into a predetermined circuit.
JP31896398A 1998-11-10 1998-11-10 Data processing circuit, data transmission system and method thereof Expired - Fee Related JP4032535B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31896398A JP4032535B2 (en) 1998-11-10 1998-11-10 Data processing circuit, data transmission system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31896398A JP4032535B2 (en) 1998-11-10 1998-11-10 Data processing circuit, data transmission system and method thereof

Publications (2)

Publication Number Publication Date
JP2000151747A JP2000151747A (en) 2000-05-30
JP4032535B2 true JP4032535B2 (en) 2008-01-16

Family

ID=18104957

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31896398A Expired - Fee Related JP4032535B2 (en) 1998-11-10 1998-11-10 Data processing circuit, data transmission system and method thereof

Country Status (1)

Country Link
JP (1) JP4032535B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5532030B2 (en) * 2011-09-07 2014-06-25 株式会社デンソー Data communication method and data communication apparatus
US9577788B2 (en) 2011-06-15 2017-02-21 Denso Corporation Coding apparatus, coding method, data communication apparatus, and data communication method
JP2013058845A (en) * 2011-09-07 2013-03-28 Denso Corp Data communication method and data communication system

Also Published As

Publication number Publication date
JP2000151747A (en) 2000-05-30

Similar Documents

Publication Publication Date Title
US7290148B2 (en) Encryption and decryption communication semiconductor device and recording/reproducing apparatus
JP3760460B2 (en) Data transmitting apparatus and method, data receiving apparatus and method, and data transmitting / receiving system and method
US6172989B1 (en) Transmitting apparatus and method, receiving apparatus and method
US20050002402A1 (en) Real-time transport protocol
JP2000358032A (en) Information processor and information processing method
US8275169B2 (en) Communication system and control method thereof
JP4032535B2 (en) Data processing circuit, data transmission system and method thereof
JP4147524B2 (en) COMMUNICATION METHOD, TRANSMISSION METHOD, RECEPTION METHOD, AND COMMUNICATION DEVICE
JP2001086139A (en) Transmission method and its device
JP3837857B2 (en) Signal processing circuit
JP2001006276A (en) Device and method for controlling external apparatuses
JP2000183995A (en) Data processing circuit
JP2001057567A (en) Bridge system between transmission channels and method
JPH11331803A (en) Encryption method, encryption device, digital contents reproduction device
JP2000151738A (en) Data processor, data transmission system and method therefor
US6763037B1 (en) Transmitting apparatus and method, receiving apparatus and method
JP4140101B2 (en) Signal processing circuit
US7539392B2 (en) Reproduction apparatus and recording apparatus, and controlling method thereof
JP4078740B2 (en) Signal processing circuit
JP3547641B2 (en) Transmission device, reception device, and program recording medium
JP4560934B2 (en) Transmission / reception system, transmission apparatus, reception apparatus, and transmission / reception method
JP3997634B2 (en) Signal processing circuit
JP2000151719A (en) Data processing circuit and data transmission system
JP4120070B2 (en) Signal processing circuit
JP2000224229A (en) Transmission method, transmitter and receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050802

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070903

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071002

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071015

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees