JP2004039129A - Data recording/reproducing device and data recording/reproducing system - Google Patents

Data recording/reproducing device and data recording/reproducing system Download PDF

Info

Publication number
JP2004039129A
JP2004039129A JP2002195893A JP2002195893A JP2004039129A JP 2004039129 A JP2004039129 A JP 2004039129A JP 2002195893 A JP2002195893 A JP 2002195893A JP 2002195893 A JP2002195893 A JP 2002195893A JP 2004039129 A JP2004039129 A JP 2004039129A
Authority
JP
Japan
Prior art keywords
recording
data
output interface
input
interface unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002195893A
Other languages
Japanese (ja)
Inventor
Manabu Higuchi
樋口 学
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 JP2002195893A priority Critical patent/JP2004039129A/en
Publication of JP2004039129A publication Critical patent/JP2004039129A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data recording/reproducing device and a data recording/reproducing system capable of reducing a buffer memory in a host. <P>SOLUTION: The data recording/reproducing device 100 is provided with a general input/output interface part (ATA) 102 and an exclusive input/output interface part 101 and constituted so as to directly interface AV stream data with an AV information compressor 112 or an AV information expander 113 connected to the exclusive input/output interface part 101 while buffering the data in the buffer memory 103. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はオーディオ、ビデオ等のリアルタイム信号を記録媒体に記録再生を行うデータ記録再生装置およびデータ記録再生システムに関するものである。
【0002】
【従来の技術】
従来、データ記録再生装置およびデータ記録再生システムとしては、特開2001−45419号公報に記載されたものが知られている。
【0003】
図8は、上記公報に記載された従来のデータ記録再生装置およびデータ記録再生システムの構成を示すもので、図8では、データ記録再生装置としてのPCカード型HDDを搭載したデジタル・ディスクカメラのハードウェア構成をブロック図を交えて概略的に示している。一般にデジタル・ディスクカメラは、静止画像や動画像などの映像情報と音響情報を記録あるいは再生することができる。
【0004】
図8に示すPCカード型HDD200を用いたデジタル・ディスクカメラにおいて、カメラ225を使用したデータ記録時の信号の流れについて説明する。
【0005】
図8に示すデジタル・ディスクカメラにおいて、システム全体の動作はカメラ内のCPU227により統括的に管理されている。CPU227は、ROM(Read Only Memory)229に恒久的に格納されたファームウエアに従って動作し、書き換え可能なメモリであるRAM(Random Access Memory)228を作業領域として用いる。
【0006】
カメラ225により電気信号に変換された映像情報およびマイク226により電気信号に変換された音響情報はAV(Audio Video)情報圧縮器222によりデジタル化された後、情報量が圧縮され、圧縮された映像情報と音響情報は、マルチプレクスされ、AV(Audio Video)データ・ストリームとして組まれる。
【0007】
AVデータ・ストリームは、メモリ制御回路219を経て、一旦ホスト・メモリ220に順次記録される。CPU227は、ファームウエアのうちのホスト・メモリ管理ソフトウェアのコントロールに従って、メモリ制御回路219に指示を出し、ホスト・メモリ220からPCカード型HDD200に記録すべきデータを読み出し、AV(Audio Video)−I/F(Interface)218及びPCカードインタフェース217を介して、PCカード型HDD200に送信する。
【0008】
CPU227は、記録すべきデータをある所定長のデータ・ブロックとして、ディスク216上のある論理ブロック・アドレス(LBA)から記録が開始されるように、PCカード型HDD200に対してホスト・コマンド(この場合は記録コマンド)を送る。
【0009】
PCカード型HDD200内部のハード・ディスク・コントローラ(以下、「HDC」と称す)203は、ホストとの間でデータやコマンドを受信するための入力レジスタと、ホストに対してデータやPCカード型HDD200内のステータス等を返すための出力レジスタを備えている。
【0010】
HDC203は、ホストから記録コマンドを受信すると、PCカード型HDD内のCPU204との協働的動作によって、上記記録コマンドが指定する論理ブロック・アドレス(LBA)を、PCカード型HDD200内部の物理アドレス(物理アドレスは、例えばディスク面番号、トラック番号、セクター番号等によって指定される)に変換する。
【0011】
続いて、ホスト・メモリ220から送出されたクラスタは、PCカード・インタフェース217を介してHDC203内の入力レジスタに受信され、バッファ・メモリ202に一旦蓄積される。HDC203は、受信データをディスク216のトラック上に設定された論理データ・セクタの長さ(512Byte)に分割し、さらにその前後に、読み出し時にビット同期を取るためのプリアンブル・パターンや誤り訂正符号を付加してデータ・セクタを形成した後、ディスク回転に同期しながら、記録チャネル回路206に送り出す。
【0012】
記録チャネル回路206は、データ・セクタにチャネル符号化を施し、ヘッド215とディスク216からなる磁気記録チャネルの特性に適合した2値系列に変換する。この2値系列は、記録アンプ209により、矩形状の記録電流波形に対応付けられ、ヘッド215によって、磁気ディスク216上の磁化反転パターンとして記録される。
【0013】
ここで、あらかじめ記録対象となる目標トラックにヘッド215を位置決めしておく必要があるので、HDC203とCPU204から目標トラック番号を受け取ったサーボ制御回路(サーボDSP)208は、ディスク216面上のトラック番号を再生チャネル回路207から受け取りながら、ヘッド215をその物理アドレスに移動させ、位置決めを行う。
【0014】
【発明が解決しようとする課題】
しかしながら、従来のデータ記録再生装置においては、ディスクドライブ側にバッファメモリを備え、ビデオカメラ側にもホスト・メモリを備え、データのバッファリング用メモリを2箇所に備える構成となっているため、バッファメモリ数が増えてしまって高価になるとともにバッファメモリへのデータの出し入れを2度に亘って行わなければならないという問題があった。
【0015】
本発明は、上記従来の問題を解決するためになされたもので、バッファメモリの数を削減して低コスト化を可能とし、また、低消費電力化を可能としたデータ記録再生装置を提供することを目的とする。
【0016】
【課題を解決するための手段】
本発明のデータ記録再生装置は、記録媒体と、前記記録媒体にデータを記録するか又は前記記録媒体からデータを再生する記録再生制御部と、第1の入出力インタフェース部と、第2の入出力インタフェース部と、前記第1の入出力インタフェース部及び前記第2の入出力インタフェース部と前記記録再生制御部との間にバッファメモリを備え、ストリームデータを前記第2の入出力インタフェース部を用いて入出力する構成を有している。
【0017】
このことにより、第2の入出力インタフェース部により、ストリームデータの送受信を直接、AV情報圧縮器又はAV情報伸張器とインタフェースが可能となり、ホスト側のメモリの数を削減することが可能になる。
【0018】
また、本発明のデータ記録再生装置は、前記第2の入出力用インタフェース部の所定の回路を変更する手段を有している。
【0019】
このことにより、第2の入出力用インタフェース部のインタフェースに接続されるさまざまなデバイスに対応することが可能になる。
【0020】
さらに、本発明のデータ記録再生装置は、前記所定の回路を変更する手段が、前記第1の入出力インタフェース部を介して書き込まれた回路図情報に基づいて前記第2の入出力インタフェース部の所定の回路を変更する構成を有している。
【0021】
このことにより、第2の入出力インタフェース部の所定の回路を変更するための特別の端子等を用意することなく、第2の入出力インタフェース部の所定の回路の変更が可能となる。
【0022】
さらに、本発明のデータ記録再生装置は、前記第2の入出力用インタフェース部および、前記第2の入出力インタフェース部が使用する前記バッファメモリ以外の前記第1の入出力インタフェース部、前記記録再生制御部及び前記記録媒体の動作を停止させる制御手段を有している。
【0023】
このことにより、AVストリームの転送レートが、記録媒体に記録または再生されるレートより低い場合に、第2の入出力インタフェース部および第2の入出力インタフェース用バッファメモリ以外の前記第1の入出力インタフェース部、前記記録再生制御部及び前記記録媒体の動作を停止させ、消費電力を抑えることが可能になる。例えば、再生の場合、バッファメモリ上に一旦データを読み込んだ後、記録再生制御部は停止され、消費電力を抑えることが可能となる。
【0024】
さらに、本発明のデータ記録再生装置は、前記制御手段が外部からのコマンドにより前記第2の入出力用インタフェース部および前記第2の入出力インタフェース部が使用する前記バッファメモリ以外の前記第1の入出力インタフェース部、前記記録再生制御部及び前記記録媒体の動作を停止させる制御手段である構成を有している。
【0025】
このことにより、ホスト側で、データ記録再生装置の消費電力を低減させることが可能となる。
【0026】
さらに、本発明のデータ記録再生装置は、前記第2の入出力インタフェース部が使用する前記バッファメモリへの前記ストリームデータを記録中に、前記バッファメモリのデータ量が第1の閾値と等しいか又は越えた時前記記録再生制御部を動作状態にする手段と、前記バッファメモリのデータ量が第2の閾値以下になった時前記記録再生制御部を停止状態にする手段とを有している。
【0027】
このことにより、データ記録再生装置側で記録時における省電力制御を自動的に行うことが可能となり、ホスト側の処理を低減できる。
【0028】
さらに、本発明のデータ記録再生装置は、前記第2の入出力インタフェース部が使用する前記バッファメモリへの前記ストリームデータを再生中に、前記バッファメモリのデータ量が第3の閾値と等しいか又は越えた時前記記録再生制御部を停止状態にする手段と、前記バッファメモリのデータ量が第4の閾値以下になった時前記記録再生制御部を動作状態にする手段とを有している。
【0029】
このことにより、データ記録再生装置側で再生時における省電力制御を自動的に行うことが可能となり、ホスト側の処理を低減できる。
【0030】
さらに、本発明のデータ記録再生装置は、前記バッファメモリのデータ量の閾値、又は前記閾値を算出するための情報を前記第1の入出力インタフェース部を介して設定する手段を有している。
【0031】
このことにより、第2の入出力インタフェース部を介して入出力されるAVストリームデータの転送レートに応じて、閾値を変更でき、遅い転送レートの場合は、動作を停止させる時間を長く取ることができ、低消費電力化が可能となる。
【0032】
さらに、本発明のデータ記録再生システムは、前記請求項1から8のいずれかに記載のデータ記録再生装置と、オーディオ及びビデオの信号を入力及び出力する手段と、前記データ記録再生装置と前記オーディオ及びビデオの信号を入力及び出力する手段との間でデータのやりとりを行う入出力インタフェース部と、前記オーディオ及び前記ビデオの信号を圧縮及び伸張する手段と、システム全体の動作を制御するシステム制御手段とを備え、前記データ記録再生装置に設けられた第1の入出力インタフェース部は、バスを介して前記システム制御手段に接続され、前記データ記録再生装置に設けられた第2の入出力インタフェース部は、前記オーディオ及び前記ビデオの信号を圧縮及び伸張する手段に接続される構成を有している。
【0033】
このことにより、メモリ規模を削減し、低消費電力化が可能なデータ記録再生システムを実現可能となる。
【0034】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を用いて説明する。
【0035】
(第1の実施の形態)
本発明の第1の実施の形態のデータ記録再生装置およびデータ記録再生システムについて図1を用いて説明する。図1は、データ記録再生装置100を組み込んだデジタルビデオレコーダの構成を示す図であり、第2の入出力インタフェース部としての専用入出力インタフェース部101は、AV(Audio Video)ストリームデータ用のインタフェースであり、AV(Audio Video)情報伸張器112およびAV(Audio Video)情報圧縮器113と接続されている。
【0036】
第1の入出力インタフェース部としての汎用入出力インタフェース部102は、ANSI(American National Standards Institute)が策定したATA(AT−Attachment)規格に対応したインタフェースであり、ATAバス106で、ホスト側のインタフェース(I/F)制御部107と接続されている。なお汎用入出力インタフェース部102は、PCMCIAおよびJEIDA(日本電子工業振興協会)が定めたPCカード規格のPCカードATA(AT−Attachment)規格に対応したインタフェースであってもよい。
【0037】
上記において『専用』とは、本発明のデータ記録再生装置専用に用いられることを意味し、また『汎用』とは、本発明のデータ記録再生装置以外の装置、たとえばPC(パーソナルコンピュータ)等にも用いられることを意味する。
【0038】
バッファメモリ103は、記録媒体105へ記録する場合の一時蓄積用メモリおよび記録媒体105から再生する場合の一時蓄積用メモリであり、記録再生制御部104は、記録媒体105への記録および記録媒体105からの再生のための信号処理を行うものである。
【0039】
AV情報伸張器112から出力される映像信号はモニタ114に接続され、音響信号はスピーカ115に接続されている。カメラ116からの映像信号およびマイク117からの音響信号はAV情報圧縮器113に接続されている。
【0040】
CPU(Centoral Processor Unit)109は、バス108を介してシステム全体の制御を行うものであり、CPU109の動作が記述されたファームウェアはROM(Read Only Memory)111に格納されており、CPU109はこのファームウェアに従いRAM(Random Access Memory)110を作業用のメモリとして使って動作する。
【0041】
データ記録再生装置における記録時の動作について説明する。CPU109が、I/F制御部107を介して、AVストリームライトコマンドを出力する。またカメラ116からの映像信号及びマイク117からの音響信号がAV情報圧縮器113により圧縮、多重処理される。
【0042】
データ記録再生装置100側では、汎用入出力インタフェース部102を介して、AVストリームライトコマンドを受け取ると、専用入出力インタフェース部101は、AV情報圧縮器113との間でハンドシェイクしながら、AVストリームデータをバッファメモリ103に蓄えていき、一定量貯まったら、記録再生制御部104を通り、記録媒体105へ記録する。
【0043】
次に本発明の第1の実施の形態のデータ記録再生装置およびデータ記録再生システムにおける再生時の動作について説明する。CPU109が、I/F制御部107を介して、AVストリームリードコマンドを出力し、AV情報伸張器112は、AVストリームデータの分離、伸張処理を開始することになる。
【0044】
データ記録再生装置100側では、汎用入出力インタフェース部102がAVストリームリードコマンドを受け取ると、記録媒体105からデータを読み出し、読み出されたデータは記録再生制御部104を通り、バッファメモリ103へ貯められていき、一定量貯まったら、専用入出力インタフェース部101は、AV情報伸張器112とハンドシェイクしながらバッファメモリ103からデータを出力していき、AV情報伸張器112で分離、伸張された映像信号はモニタ114に出力され、分離、伸張された音響信号はスピーカ115から出力される。
【0045】
このような構成を有する本発明の第1の実施の形態によれば、従来構成では必要であったホスト側でのバッファリング用メモリが不要となり、ホスト側のメモリを削減することができる。
【0046】
(第2の実施の形態)
次に本発明の第2の実施の形態について図2を用いて説明する。本発明の第2の実施の形態においてデータ記録再生装置およびデータ記録再生システムとしての構成は図1に示した本発明の第1の実施の形態のデータ記録再生装置およびデータ記録再生システムとしての構成と同様であるが、図1のデータ記録再生装置100の部分が図2に示すデータ記録再生装置の構成に代えられている点が異なる。
【0047】
図2の構成においては、図1のバッファメモリ103を、専用入出力インタフェース用バッファメモリ303と汎用入出力インタフェース用バッファメモリ304とに分割し、クロック制御部305は、専用入出力インタフェース部301、汎用入出力インタフェース部302、記録再生制御部306へのクロック供給を制御する。また、装置制御部308はマイクロプロセッサ、ROM、RAMから構成され、データ記録再生装置全体の制御を行うものであり、クロック制御部305に対してどのブロックにクロックを供給するかの制御も行う。
【0048】
汎用入出力インタフェース部302を介して、ホスト側からスタンバイ状態遷移を命令された場合、装置制御部308は、記録再生制御部306へのクロック供給を停止する。ホスト側からライト又はリードコマンドを受信した場合、クロック供給を開始する。
【0049】
また汎用入出力インタフェース部302を介して、ホスト側からスリープ状態遷移を命令された場合、装置制御部308は、記録再生制御部306に加え、汎用入出力インタフェース部302へのクロック供給を停止する。ホスト側からリセット信号が入力された場合、装置制御部308は、まず汎用入出力インタフェース部302へのクロック供給を開始する。その後、ホスト側からライト又はリードコマンドを受信すると、装置制御部308は、記録再生制御部306へのクロック供給を開始する。
【0050】
再生動作を行わせる場合、ホスト側では、AVストリームリードコマンドを発行した後、スタンバイ状態への遷移命令を発行し、専用入出力用バッファメモリ部303のデータ量を見積もりながら、専用入出力用バッファメモリ部303内のデータがアンダーフローすることのないように再度AVストリームリードコマンドを発行する。この動作を繰り返すことになり、再生動作を実行する。
【0051】
このような構成を有する本発明の第2の実施の形態によれば、状態遷移に応じて記録再生制御部306や汎用入出力インタフェース部302へのクロック供給を停止することにより低消費電力化が可能となる。
【0052】
(第3の実施の形態)
次に、本発明の第3の実施の形態について図3を用いて説明する。本発明の第3の実施の形態におけるデータ記録再生装置の構成は、図2に示した本発明の第2の実施の形態におけるデータ記録再生装置と同じなので説明を省略する。
【0053】
図3は、本発明の第3の実施の形態に係る専用入出力インターフェース用バッファメモリ303の状態を示したものである。
【0054】
図2および図3において汎用入出力インタフェース部302を介して、ホスト側からライトコマンドを受信して記録動作に入るが、記録動作に入る時点では、装置制御部308により記録再生制御部306へのクロック供給は停止されており、専用入出力インタフェース用バッファメモリ303にストリームデータが入力されていき、データ量が第1の閾値X1になった時点で、装置制御部308は、記録再生制御部306へのクロック供給を開始し、記録できる状態になったら、記録再生制御部306を通して、記録媒体307へ記録していく。記録媒体307へ記録していくと専用入出力インタフェース用バッファメモリ303内のデータ量は減少していくことになる。データ量が第2の閾値X2になったら、装置制御部308は、記録媒体307への記録を止め、記録再生制御部307へのクロック供給を停止する。
【0055】
再度、専用入出力インタフェース用バッファメモリ303内のデータ量が第1の閾値X1になるまで、記録再生制御部306へのクロック供給を停止しておく。記録媒体307への記録すべきデータがある限りこの動作を繰り返す。
【0056】
この動作は、装置制御部308が専用入出力用バッファメモリ303のデータ量を監視しながら、クロック制御部305を制御するものであり、記録媒体307への記録すべきデータがある限り上記動作を繰り返す。
【0057】
つまり装置制御部308は、専用入出力インタフェース用バッファメモリ303のバッファ容量から第1の閾値X1および第2の閾値X2を設定し、専用入出力インタフェース用バッファメモリ303に対するストリームデータへの入力量およびストリームデータからの出力量を、設定した第1の閾値X1および第2の閾値X2と比較しながら、記録媒体307への記録動作をクロック制御部305を介して制御するものである。なお、第1の閾値X1は後述する第3の閾値Y1と同じ値であっても良く、また第2の閾値X2は後述する第4の閾値Y2と同じ値であっても良い。
【0058】
このような構成を有する本発明の第3の実施の形態によれば、装置制御部308が専用入出力インタフェース用バッファメモリ303内のデータ量を監視しながら記録再生制御部306へのクロックを停止するので、ホスト側の制御を必要とせずに記録時の省電力化を実現することができる。
【0059】
(第4の実施の形態)
次に、本発明の第4の実施の形態について図4を用いて説明する。本発明の第4の実施の形態におけるデータ記録再生装置の構成は、図2に示した本発明の第2の実施の形態におけるデータ記録再生装置と同じなので説明を省略する。
【0060】
図4は、本発明の第4の実施の形態に係る専用入出力インターフェース用バッファメモリ303の状態を示したものである。
【0061】
図2および図4において再生時、まず、汎用入出力インタフェース部302を介して、ホスト側からリードコマンドを受信すると、装置制御部308は記録再生制御部306へのクロックを供給し、再生可能な状態になると、記録媒体307からの再生データは記録再生制御部306を通して、専用入出力インターフェース用バッファメモリ303に蓄えられていく。
【0062】
再生されたデータ量が第3の閾値Y1になった時点で、装置制御部308は、ホスト側への出力を開始するとともに記録媒体307からの再生を止め、記録再生制御部306へのクロック供給を停止する。その後専用入出力インターフェース用バッファメモリ303の再生されたデータ量が第4の閾値Y2になった時点で、装置制御部308は、記録再生制御部306へのクロック供給を開始し、再生できる状態になったら、記録媒体307から再生を開始し、記録再生制御部306を通して、専用入出力インターフェース用バッファメモリ303へ蓄えていく。
【0063】
再度、専用入出力インターフェース用バッファメモリ303のデータ量が第1の閾値Y1になったら、装置制御部308は、記録媒体307からの再生を停止し、記録再生制御部306へのクロック供給を停止させる。
【0064】
装置制御部308は、専用入出力インターフェース用バッファメモリ303のデータ量を監視しながら、クロック制御部305を制御して、上記動作を繰り返す。
【0065】
つまり装置制御部308は、専用入出力インタフェース用バッファメモリ303のバッファ容量から第3の閾値Y1および第4の閾値Y2を設定し、専用入出力インタフェース用バッファメモリ303に対するストリームデータへの入力量およびストリームデータからの出力量を、設定した第3の閾値Y1および第4の閾値Y2と比較しながら、記録媒体307からの再生動作をクロック制御部305を介して制御するものである。なお、第3の閾値Y1は前述した第1の閾値X1と同じ値であっても良く、また第4の閾値Y2は前述した第2の閾値X2と同じ値であっても良い。
【0066】
このような構成を有する本発明の第4の実施の形態によれば、装置制御部308が専用入出力インタフェース用バッファメモリ303内のデータ量を監視しながら記録再生制御部306へのクロックを停止するので、ホスト側の制御を必要とせずに再生時の省電力化を実現することができる。
【0067】
(第5の実施の形態)
次に、本発明の第5の実施の形態について図5を用いて説明する。本発明の第5の実施の形態におけるデータ記録再生装置の構成は、図2に示した本発明の第2の実施の形態におけるデータ記録再生装置と同じなので説明を省略する。また、ここでは再生の場合について説明するが記録の場合も同様である。
【0068】
図5は、本発明の第5の実施の形態に係る専用入出力インタフェース用バッファメモリ303の状態を示したものであり、図5(A)は、ホストへの転送レートが高速の場合であり、図5(B)は、ホストへの転送レートが低速の場合である。
【0069】
図5(A)に示す転送レートが高速の場合、読み出し可能になるまでの時間を考慮して、専用入出力インタフェース用バッファメモリ303内のデータがアンダーフローしないように閾値Y2Aを設定することになる。ところが、図5(B)に示す転送レートが低速の場合、高速の場合と同じ閾値Y2Aを使うよりも、より低い閾値Y2Bを設定したほうが動作時間に対する停止時間の割合を大きくでき、また起動、停止動作の回数も減らすことができる。
【0070】
コンテンツのレートに合わせてホスト側から汎用入出力インタフェース部302に設定された閾値を用いて、装置制御部308は、クロック制御305にクロック供給、停止の制御を行うことになる。
【0071】
このような構成を有する本発明の第5の実施の形態によれば、高速または低速のリード又はライトに応じて専用入出力インタフェース用バッファメモリ303内のデータがアンダーフローしないような閾値を設定する手段を有することによりAVストリームデータの転送レートに対応して低消費電力化を実現することができる。
【0072】
(第6の実施の形態)
次に、本発明の第6の実施の形態について図6及び図7を用いて説明する。本発明の第6の実施の形態においてデータ記録再生装置およびデータ記録再生システムとしての構成は図1に示した本発明の第1の実施の形態のデータ記録再生装置およびデータ記録再生システムとしての構成と同様であるが、図1のデータ記録再生装置100の部分が図6に示すデータ記録再生装置の構成に代えられている点が異なる。
【0073】
図6におけるデータ記録再生装置の構成は図2に示した構成とほとんど同じであるが、専用入出力インタフェース部701は、IEEEの1149.1規格であるJTAG信号709により書き換え可能な所定の回路としてのFPGA(Field Programmable Gate Array)等のデバイスで構成されているのと、装置制御部708からのJTAG信号709が専用入出力インタフェース部701に接続されている点が図2と異なる。
【0074】
また図7は、専用入出力インタフェース部701とAV情報圧縮器112間でやりとりされる信号波形を示すものである。すなわち、図7(A)は、クロック(ICLK)同期方式のインタフェースであり、ICLKは、AV情報圧縮器112から出力されるクロック信号であり、IREQは、専用入出力インタフェース部701が出力するリクエスト信号であり、IENBはAV情報圧縮器112が出力するデータイネーブル信号であり、IDATAはAV情報圧縮器112が出力する8ビットのAVストリームデータである。
【0075】
AV情報圧縮器112は、ICLKを常に出力しており、IREQがHighになると、ICLKに同期させて、DATAを出力する。DATAが有効な間は、IENBをHighに保っている。専用入出力インタフェース部701は、IENBをイネーブル信号として、ICLKに同期してDATAを取り込む必要がある。IREQをLowにすることで、AV情報圧縮器112からのDATA出力を待たせることが可能である。
【0076】
また図7(B)は、ストローブ(IENB)同期方式のインタフェースであり、IREQは専用入出力インタフェース部701が出力するリクエスト信号であり、IENBはAV情報圧縮器112が出力するデータストローブ信号であり、IDATAはAV情報圧縮器112が出力する8ビットのAVストリームデータである。
【0077】
AV情報圧縮器112は、IREQがHighの間、DATAの変化毎にIENBを変化させて出力する。専用入出力インタフェース部701は、IENBの立ち上がりでデータをラッチしていき、データを取り込む必要がある。IREQをLowにすることで、AV情報圧縮器112からのDATA出力を待たせることが可能である。
【0078】
AV情報圧縮器112が、図7(A)に示すようなクロック同期方式のインタフェースを採用している場合、ホスト側から、汎用入出力インタフェース部702に対して、クロック同期方式に対応した回路図情報を書き込んでいく。書き込まれた回路図情報は、装置制御部708が取り込み、この回路図情報をJTAG信号709を使って専用入出力インタフェース部701に書き込んでいく。書き込みが終了すると専用入出力インタフェース部701は、クロック同期方式のインタフェースに対応可能となる。こうすることで図7(A)に示すように、AV情報圧縮器112は、ICLK(クロック)を常に出力するようにし、IREQがHighになると、ICLKに同期して、DATAを出力する。DATAが有効な間は、IENBをHighに保つ。専用入出力インタフェース部701は、IENBをイネーブル信号として、ICLKに同期してDATAを取り込む必要がある。IREQをLowにすることで、AV情報圧縮器112からのDATA出力を待たせることができる。
【0079】
AV情報圧縮器112が、図7(B)に示すようなストローブ同期方式のインタフェースの場合、ホスト側から、汎用入出力インタフェース部702に対して、ストローブ同期方式に対応した回路図情報を書き込んでいく。書き込まれた回路図情報は、装置制御部708が取り込み、この回路図情報をJTAG信号709を使って専用入出力インタフェース部701に書き込んでいく。書き込みが終了すると専用入出力インタフェース部701は、ストローブ同期方式のインタフェースに対応可能となる。こうすることで図7(B)に示すように、AV情報圧縮器112は、IREQがHighの間、DATAの変化毎にIENBを変化させて出力する。専用入出力インタフェース部701は、IENBの立ち上がりでデータをラッチしていき、データを取り込む必要がある。IREQをLowにすることで、AV情報圧縮器112からのDATA出力を待たせることができる。
【0080】
このような構成を有する本発明の第6の実施の形態によれば、専用入出力インタフェース部に接続されるデバイスのインタフェースが変更になった場合に対応することが可能になる。
【0081】
【発明の効果】
以上のように本発明は、記録媒体と、前記記録媒体にデータを記録するか又は前記記録媒体からデータを再生する記録再生制御部と、第1の入出力インタフェース部と、第2の入出力インタフェース部と、前記第1の入出力インタフェース部及び前記第2の入出力インタフェース部と前記記録再生制御部との間にバッファメモリを備え、ストリームデータを前記第2の入出力インタフェース部を用いて入出力することにより、ホスト側のAV情報圧縮器又はAV情報伸張器と直接接続が可能となり、ホスト側のメモリを低減させる効果を有するデータ記録再生装置およびデータ記録再生システムを提供することができるものである。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態におけるデータ記録再生装置およびデータ記録再生システムの構成図
【図2】本発明の第2の実施の形態におけるデータ記録再生装置の構成図
【図3】本発明の第3の実施の形態におけるデータ記録再生装置の動作説明の図
【図4】本発明の第4の実施の形態におけるデータ記録再生装置の動作説明の図
【図5】本発明の第5の実施の形態におけるデータ記録再生装置の動作説明の図
【図6】本発明の第6の実施の形態におけるデータ記録再生装置の構成図
【図7】本発明の第6の実施の形態におけるデータ記録再生装置の動作説明の図
【図8】従来のデータ記録再生装置の構成図
【符号の説明】
100 データ記録再生装置
101 専用入出力インタフェース部
102 汎用入出力インタフェース部
103 バッファメモリ
104 記録再生制御部
105 記録媒体
106 ATAバス
107 インタフェース制御部
108 バス
109 CPU
110 RAM
111 ROM
112 AV情報伸張器
113 AV情報圧縮器
114 モニタ
115 スピーカ
116 カメラ
117 マイク
200 PCカード型HDD
201 HDDインタフェース
202 バッファメモリ
203 HDC
204 CPU
205 バス
206 記録チャネル回路
207 再生チャネル回路
208 サーボDSP
209 記録アンプ
210 再生アンプ
211 サーボアンプ
212 SPM制御部
213 VCM
214 SPM
215 ヘッド
216 ディスク
217 PCカードインタフェース
218 AVインタフェース
219 メモリ制御回路
220 ホスト・メモリ
221 AV情報伸張器
222 AV情報圧縮器
223 モニタ
224 スピーカ
225 カメラ
226 マイク
227 CPU
228 RAM
229 ROM
230 バス
301 専用入出力インタフェース部
302 汎用入出力インタフェース部
303 専用入出力インタフェース用バッファメモリ
304 汎用入出力インタフェース用バッファメモリ
305 クロック制御部
306 記録再生制御部
307 記録媒体
308 装置制御部
701 専用入出力インタフェース部
702 汎用入出力インタフェース部
703 専用入出力インタフェース用バッファメモリ
704 汎用入出力インタフェース用バッファメモリ
705 クロック制御部
706 記録再生制御部
707 記録媒体
708 装置制御部
709 JTAG信号
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data recording / reproducing apparatus and a data recording / reproducing system for recording and reproducing a real-time signal such as audio and video on a recording medium.
[0002]
[Prior art]
Conventionally, as a data recording / reproducing device and a data recording / reproducing system, those described in JP-A-2001-45419 are known.
[0003]
FIG. 8 shows a configuration of a conventional data recording / reproducing apparatus and a data recording / reproducing system described in the above publication. In FIG. 8, a digital disk camera equipped with a PC card type HDD as the data recording / reproducing apparatus is shown. The hardware configuration is schematically shown with a block diagram. Generally, a digital disk camera can record or reproduce video information and audio information such as a still image and a moving image.
[0004]
In the digital disk camera using the PC card type HDD 200 shown in FIG. 8, a signal flow at the time of data recording using the camera 225 will be described.
[0005]
In the digital disk camera shown in FIG. 8, the operation of the entire system is generally managed by a CPU 227 in the camera. The CPU 227 operates in accordance with firmware permanently stored in a ROM (Read Only Memory) 229, and uses a rewritable memory (Random Access Memory) 228 as a work area.
[0006]
The video information converted into the electric signal by the camera 225 and the sound information converted into the electric signal by the microphone 226 are digitized by an AV (Audio Video) information compressor 222, and the amount of information is compressed. The information and the audio information are multiplexed and assembled as an AV (Audio Video) data stream.
[0007]
The AV data stream passes through the memory control circuit 219 and is sequentially recorded in the host memory 220 once. The CPU 227 issues an instruction to the memory control circuit 219 according to the control of the host memory management software in the firmware, reads data to be recorded in the PC card type HDD 200 from the host memory 220, and executes an AV (Audio Video) -I. The data is transmitted to the PC card type HDD 200 via the / F (Interface) 218 and the PC card interface 217.
[0008]
The CPU 227 issues a host command (this command) to the PC card type HDD 200 so that data to be recorded is set as a data block of a predetermined length and recording is started from a certain logical block address (LBA) on the disk 216. Send a recording command).
[0009]
A hard disk controller (hereinafter referred to as “HDC”) 203 inside the PC card type HDD 200 includes an input register for receiving data and commands with the host, and a data and PC card type HDD 200 for the host. It has an output register for returning the status and the like inside.
[0010]
Upon receiving the recording command from the host, the HDC 203 cooperates with the CPU 204 in the PC card type HDD to change the logical block address (LBA) specified by the recording command into the physical address (LBA) inside the PC card type HDD 200. The physical address is converted into, for example, a disk surface number, a track number, or a sector number.
[0011]
Subsequently, the cluster transmitted from the host memory 220 is received by the input register in the HDC 203 via the PC card interface 217 and is temporarily stored in the buffer memory 202. The HDC 203 divides the received data into logical data sector lengths (512 Bytes) set on the tracks of the disk 216 and before and after that divides a preamble pattern and an error correction code for bit synchronization at the time of reading. After the data sector is additionally formed, the data sector is sent to the recording channel circuit 206 in synchronization with the rotation of the disk.
[0012]
The recording channel circuit 206 performs channel coding on the data sector, and converts the data sector into a binary sequence suitable for the characteristics of the magnetic recording channel including the head 215 and the disk 216. This binary sequence is associated with a rectangular recording current waveform by the recording amplifier 209, and is recorded as a magnetization reversal pattern on the magnetic disk 216 by the head 215.
[0013]
Here, since it is necessary to position the head 215 on the target track to be recorded in advance, the servo control circuit (servo DSP) 208 that has received the target track number from the HDC 203 and the CPU 204 sends the track number on the disk 216 surface. While receiving from the reproduction channel circuit 207, the head 215 is moved to the physical address to perform positioning.
[0014]
[Problems to be solved by the invention]
However, the conventional data recording / reproducing apparatus has a configuration in which a buffer memory is provided on the disk drive side, a host memory is also provided on the video camera side, and data buffering memories are provided at two locations. There is a problem in that the number of memories increases and the cost increases, and that data must be taken in and out of the buffer memory twice.
[0015]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described conventional problems, and provides a data recording / reproducing apparatus capable of reducing costs by reducing the number of buffer memories and reducing power consumption. The purpose is to:
[0016]
[Means for Solving the Problems]
A data recording / reproducing apparatus according to the present invention includes a recording medium, a recording / reproducing control unit that records data on the recording medium or reproduces data from the recording medium, a first input / output interface unit, and a second input / output interface. An output interface unit, a buffer memory between the first input / output interface unit and the second input / output interface unit and the recording / reproduction control unit, and a stream data using the second input / output interface unit. Input and output.
[0017]
This allows the second input / output interface to directly interface with the AV information compressor or the AV information decompressor for transmitting and receiving stream data, thereby reducing the number of memories on the host side.
[0018]
Further, the data recording / reproducing apparatus of the present invention has means for changing a predetermined circuit of the second input / output interface.
[0019]
This makes it possible to support various devices connected to the interface of the second input / output interface.
[0020]
Further, in the data recording / reproducing apparatus according to the present invention, the means for changing the predetermined circuit may be configured such that the means for changing the predetermined circuit includes the second input / output interface unit based on the circuit diagram information written via the first input / output interface unit. It has a configuration for changing a predetermined circuit.
[0021]
Thus, the predetermined circuit of the second input / output interface unit can be changed without preparing a special terminal or the like for changing the predetermined circuit of the second input / output interface unit.
[0022]
Further, the data recording / reproducing apparatus according to the present invention may further comprise: the second input / output interface section; the first input / output interface section other than the buffer memory used by the second input / output interface section; It has a control unit and control means for stopping the operation of the recording medium.
[0023]
Thus, when the transfer rate of the AV stream is lower than the rate of recording or reproduction on the recording medium, the first I / O interface other than the second I / O interface unit and the second I / O interface buffer memory is used. The operation of the interface unit, the recording / reproduction control unit, and the recording medium is stopped, and power consumption can be reduced. For example, in the case of reproduction, after data is once read into the buffer memory, the recording / reproduction control unit is stopped, and power consumption can be suppressed.
[0024]
Further, in the data recording / reproducing apparatus according to the present invention, the control means may be configured such that the first input / output interface unit other than the buffer memory used by the second input / output interface unit and the second input / output interface unit is controlled by an external command. The input / output interface unit, the recording / reproduction control unit, and a control unit for stopping the operation of the recording medium are provided.
[0025]
This makes it possible for the host to reduce the power consumption of the data recording / reproducing device.
[0026]
Further, the data recording / reproducing device of the present invention may be configured such that, while recording the stream data to the buffer memory used by the second input / output interface unit, the data amount of the buffer memory is equal to a first threshold or Means for activating the recording / reproducing control unit when the data amount exceeds the threshold value; and means for suspending the recording / reproducing control unit when the data amount of the buffer memory falls below a second threshold value.
[0027]
This makes it possible for the data recording / reproducing apparatus to automatically perform power saving control during recording, thereby reducing processing on the host side.
[0028]
Further, the data recording / reproducing apparatus of the present invention may be configured such that, while reproducing the stream data to the buffer memory used by the second input / output interface unit, the data amount of the buffer memory is equal to a third threshold or Means for setting the recording / reproduction control unit to a stop state when the data amount exceeds the threshold value; and means for setting the recording / reproduction control unit to an operation state when the data amount of the buffer memory becomes equal to or less than a fourth threshold value.
[0029]
This makes it possible for the data recording / reproducing apparatus to automatically perform power saving control during reproduction, thereby reducing processing on the host side.
[0030]
Further, the data recording / reproducing apparatus of the present invention has means for setting a threshold value of the data amount of the buffer memory or information for calculating the threshold value via the first input / output interface unit.
[0031]
Thus, the threshold value can be changed in accordance with the transfer rate of the AV stream data input / output via the second input / output interface unit. In the case of a slow transfer rate, a longer operation stop time is required. Power consumption can be reduced.
[0032]
9. A data recording / reproducing system according to claim 1, further comprising: a data recording / reproducing device according to any one of claims 1 to 8; input / output means for inputting and outputting audio and video signals; And an input / output interface unit for exchanging data with means for inputting and outputting video signals, means for compressing and expanding the audio and video signals, and system control means for controlling the operation of the entire system A first input / output interface unit provided in the data recording / reproducing apparatus is connected to the system control means via a bus, and a second input / output interface unit provided in the data recording / reproducing apparatus is provided. Has a configuration connected to means for compressing and expanding the audio and video signals.
[0033]
This makes it possible to realize a data recording / reproducing system capable of reducing the memory scale and reducing power consumption.
[0034]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0035]
(First Embodiment)
A data recording / reproducing apparatus and a data recording / reproducing system according to a first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a diagram showing a configuration of a digital video recorder incorporating a data recording / reproducing device 100. A dedicated input / output interface unit 101 serving as a second input / output interface unit includes an interface for AV (Audio Video) stream data. And is connected to an AV (Audio Video) information decompressor 112 and an AV (Audio Video) information compressor 113.
[0036]
The general-purpose input / output interface unit 102 as a first input / output interface unit is an interface corresponding to the ATA (AT-Attachment) standard formulated by the American National Standards Institute (ANSI). (I / F) It is connected to the control unit 107. The general-purpose input / output interface unit 102 may be an interface corresponding to the PC card ATA (AT-Attachment) standard of the PC card standard defined by PCMCIA and JEIDA (Japan Electronic Industry Development Association).
[0037]
In the above, "dedicated" means used exclusively for the data recording / reproducing device of the present invention, and "general purpose" refers to a device other than the data recording / reproducing device of the present invention, such as a PC (personal computer). Is also used.
[0038]
The buffer memory 103 is a temporary storage memory when recording on the recording medium 105 and a temporary storage memory when reproducing from the recording medium 105. The recording and reproduction control unit 104 performs recording and recording on the recording medium 105. To perform signal processing for reproduction from the.
[0039]
The video signal output from the AV information expander 112 is connected to a monitor 114, and the audio signal is connected to a speaker 115. The video signal from the camera 116 and the audio signal from the microphone 117 are connected to the AV information compressor 113.
[0040]
A CPU (Central Processor Unit) 109 controls the entire system via a bus 108. Firmware describing the operation of the CPU 109 is stored in a ROM (Read Only Memory) 111, and the CPU 109 executes the firmware. And operates using a RAM (Random Access Memory) 110 as a working memory.
[0041]
The operation at the time of recording in the data recording / reproducing apparatus will be described. The CPU 109 outputs an AV stream write command via the I / F control unit 107. Also, the video signal from the camera 116 and the audio signal from the microphone 117 are compressed and multiplexed by the AV information compressor 113.
[0042]
When the data recording / reproducing apparatus 100 receives an AV stream write command via the general-purpose input / output interface unit 102, the dedicated input / output interface unit 101 performs handshaking with the AV information compressor 113, Data is stored in the buffer memory 103, and when a certain amount is stored, the data passes through the recording / reproduction control unit 104 and is recorded on the recording medium 105.
[0043]
Next, an operation at the time of reproduction in the data recording / reproducing apparatus and the data recording / reproducing system according to the first embodiment of the present invention will be described. The CPU 109 outputs an AV stream read command via the I / F control unit 107, and the AV information decompressor 112 starts the separation and decompression processing of the AV stream data.
[0044]
In the data recording / reproducing apparatus 100, when the general-purpose input / output interface unit 102 receives the AV stream read command, the data is read from the recording medium 105, and the read data passes through the recording / reproduction control unit 104 and is stored in the buffer memory 103. When a certain amount of data is accumulated, the dedicated input / output interface unit 101 outputs data from the buffer memory 103 while handshaking with the AV information decompressor 112, and the video separated and decompressed by the AV information decompressor 112. The signal is output to the monitor 114, and the separated and expanded sound signal is output from the speaker 115.
[0045]
According to the first embodiment of the present invention having such a configuration, the buffering memory on the host side, which is required in the conventional configuration, becomes unnecessary, and the memory on the host side can be reduced.
[0046]
(Second embodiment)
Next, a second embodiment of the present invention will be described with reference to FIG. The configuration as the data recording / reproducing device and the data recording / reproducing system in the second embodiment of the present invention is the same as the configuration of the data recording / reproducing device and the data recording / reproducing system of the first embodiment of the present invention shown in FIG. 2 except that the data recording / reproducing apparatus 100 shown in FIG. 1 is replaced by the configuration of the data recording / reproducing apparatus shown in FIG.
[0047]
In the configuration of FIG. 2, the buffer memory 103 of FIG. 1 is divided into a dedicated input / output interface buffer memory 303 and a general purpose input / output interface buffer memory 304, and the clock control unit 305 The clock supply to the general-purpose input / output interface unit 302 and the recording / reproduction control unit 306 is controlled. The device control unit 308 includes a microprocessor, a ROM, and a RAM, controls the entire data recording / reproducing device, and also controls the clock control unit 305 to supply a clock to which block.
[0048]
When a transition to the standby state is instructed from the host via the general-purpose input / output interface unit 302, the device control unit 308 stops supplying the clock to the recording / reproduction control unit 306. When a write or read command is received from the host, clock supply is started.
[0049]
When the host side instructs a transition to the sleep state via the general-purpose input / output interface unit 302, the device control unit 308 stops the clock supply to the general-purpose input / output interface unit 302 in addition to the recording / reproduction control unit 306. . When a reset signal is input from the host, the device control unit 308 first starts supplying a clock to the general-purpose input / output interface unit 302. Thereafter, when a write or read command is received from the host, the device control unit 308 starts supplying a clock to the recording / reproduction control unit 306.
[0050]
When performing a reproducing operation, the host issues an AV stream read command, then issues a transition instruction to a standby state, and estimates the data amount of the dedicated input / output buffer memory unit 303, while using the dedicated input / output buffer. The AV stream read command is issued again so that the data in the memory unit 303 does not underflow. This operation is repeated, and the reproducing operation is executed.
[0051]
According to the second embodiment of the present invention having such a configuration, power consumption can be reduced by stopping the clock supply to the recording / reproduction control unit 306 and the general-purpose input / output interface unit 302 according to the state transition. It becomes possible.
[0052]
(Third embodiment)
Next, a third embodiment of the present invention will be described with reference to FIG. The configuration of the data recording / reproducing apparatus according to the third embodiment of the present invention is the same as that of the data recording / reproducing apparatus according to the second embodiment of the present invention shown in FIG.
[0053]
FIG. 3 shows the state of the dedicated input / output interface buffer memory 303 according to the third embodiment of the present invention.
[0054]
2 and 3, a write command is received from the host via the general-purpose input / output interface unit 302 to start a recording operation. The clock supply is stopped, the stream data is input to the dedicated input / output interface buffer memory 303, and when the data amount reaches the first threshold value X1, the device control unit 308 switches to the recording / reproduction control unit 306. Then, when a clock can be supplied to the recording medium 307 and recording becomes possible, recording is performed on the recording medium 307 through the recording / reproduction control unit 306. As the data is recorded on the recording medium 307, the amount of data in the dedicated input / output interface buffer memory 303 decreases. When the data amount reaches the second threshold value X2, the device control unit 308 stops recording on the recording medium 307 and stops supplying a clock to the recording / reproduction control unit 307.
[0055]
The clock supply to the recording / reproduction control unit 306 is stopped again until the amount of data in the dedicated input / output interface buffer memory 303 reaches the first threshold X1. This operation is repeated as long as there is data to be recorded on the recording medium 307.
[0056]
In this operation, the device control unit 308 controls the clock control unit 305 while monitoring the amount of data in the dedicated input / output buffer memory 303. The above operation is performed as long as there is data to be recorded on the recording medium 307. repeat.
[0057]
That is, the device control unit 308 sets the first threshold value X1 and the second threshold value X2 from the buffer capacity of the dedicated input / output interface buffer memory 303, and determines the amount of input to stream data to the dedicated input / output interface buffer memory 303 and The recording operation on the recording medium 307 is controlled via the clock control unit 305 while comparing the output amount from the stream data with the set first threshold value X1 and second threshold value X2. Note that the first threshold value X1 may be the same value as a third threshold value Y1 described later, and the second threshold value X2 may be the same value as a fourth threshold value Y2 described later.
[0058]
According to the third embodiment of the present invention having such a configuration, the device control unit 308 stops the clock to the recording / reproduction control unit 306 while monitoring the amount of data in the dedicated input / output interface buffer memory 303. Therefore, power saving at the time of recording can be realized without requiring control on the host side.
[0059]
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described with reference to FIG. The configuration of the data recording / reproducing apparatus according to the fourth embodiment of the present invention is the same as that of the data recording / reproducing apparatus according to the second embodiment of the present invention shown in FIG.
[0060]
FIG. 4 shows the state of the dedicated input / output interface buffer memory 303 according to the fourth embodiment of the present invention.
[0061]
2 and 4, upon reproduction, first, when a read command is received from the host via the general-purpose input / output interface unit 302, the device control unit 308 supplies a clock to the recording / reproduction control unit 306 to enable reproduction. In this state, the reproduction data from the recording medium 307 is stored in the dedicated input / output interface buffer memory 303 through the recording / reproduction control unit 306.
[0062]
When the reproduced data amount reaches the third threshold value Y1, the device control unit 308 starts outputting to the host side, stops reproduction from the recording medium 307, and supplies a clock to the recording and reproduction control unit 306. To stop. Thereafter, when the amount of data reproduced in the dedicated input / output interface buffer memory 303 reaches the fourth threshold value Y2, the device control unit 308 starts clock supply to the recording / reproduction control unit 306, and enters a state in which reproduction is possible. Then, reproduction is started from the recording medium 307 and stored in the dedicated input / output interface buffer memory 303 through the recording / reproduction control unit 306.
[0063]
When the data amount of the dedicated input / output interface buffer memory 303 reaches the first threshold value Y1 again, the device control unit 308 stops the reproduction from the recording medium 307 and stops the clock supply to the recording and reproduction control unit 306. Let it.
[0064]
The device control unit 308 controls the clock control unit 305 while monitoring the amount of data in the dedicated input / output interface buffer memory 303, and repeats the above operation.
[0065]
That is, the device control unit 308 sets the third threshold value Y1 and the fourth threshold value Y2 from the buffer capacity of the dedicated input / output interface buffer memory 303, and determines the input amount of the stream data to the dedicated input / output interface buffer memory 303 and The reproduction operation from the recording medium 307 is controlled via the clock control unit 305 while comparing the output amount from the stream data with the set third threshold value Y1 and fourth threshold value Y2. Note that the third threshold value Y1 may be the same value as the above-described first threshold value X1, and the fourth threshold value Y2 may be the same value as the above-described second threshold value X2.
[0066]
According to the fourth embodiment of the present invention having such a configuration, the device control unit 308 stops the clock to the recording / reproduction control unit 306 while monitoring the amount of data in the dedicated input / output interface buffer memory 303. Therefore, power saving during reproduction can be realized without requiring control on the host side.
[0067]
(Fifth embodiment)
Next, a fifth embodiment of the present invention will be described with reference to FIG. The configuration of the data recording / reproducing apparatus according to the fifth embodiment of the present invention is the same as that of the data recording / reproducing apparatus according to the second embodiment of the present invention shown in FIG. Here, the case of reproduction will be described, but the same applies to the case of recording.
[0068]
FIG. 5 shows the state of the dedicated input / output interface buffer memory 303 according to the fifth embodiment of the present invention, and FIG. 5A shows the case where the transfer rate to the host is high. FIG. 5B shows a case where the transfer rate to the host is low.
[0069]
In the case where the transfer rate shown in FIG. 5A is high, the threshold Y2A is set so that the data in the dedicated input / output interface buffer memory 303 does not underflow in consideration of the time until the data becomes readable. Become. However, when the transfer rate shown in FIG. 5B is low, setting the lower threshold Y2B can increase the ratio of the stop time to the operation time, and can increase the start-up time, as compared to using the same threshold Y2A as in the high-speed case. The number of stop operations can also be reduced.
[0070]
The device control unit 308 controls the clock control 305 to supply and stop the clock by using the threshold value set in the general-purpose input / output interface unit 302 from the host according to the content rate.
[0071]
According to the fifth embodiment of the present invention having such a configuration, a threshold is set such that data in the dedicated input / output interface buffer memory 303 does not underflow in response to high-speed or low-speed reading or writing. By having the means, it is possible to realize low power consumption corresponding to the transfer rate of the AV stream data.
[0072]
(Sixth embodiment)
Next, a sixth embodiment of the present invention will be described with reference to FIGS. In the sixth embodiment of the present invention, the configuration as the data recording / reproducing apparatus and the data recording / reproducing system is the same as that shown in FIG. 1 except that the data recording / reproducing apparatus 100 shown in FIG. 1 is replaced with the data recording / reproducing apparatus shown in FIG.
[0073]
Although the configuration of the data recording / reproducing apparatus in FIG. 6 is almost the same as the configuration shown in FIG. 2, the dedicated input / output interface unit 701 is a predetermined circuit that can be rewritten by a JTAG signal 709, which is IEEE 1149.1 standard. 2 in that a JTAG signal 709 from a device control unit 708 is connected to a dedicated input / output interface unit 701. The device is configured by a device such as an FPGA (Field Programmable Gate Array).
[0074]
FIG. 7 shows signal waveforms exchanged between the dedicated input / output interface unit 701 and the AV information compressor 112. That is, FIG. 7A shows an interface of a clock (ICLK) synchronous system, ICLK is a clock signal output from the AV information compressor 112, and IREQ is a request output from the dedicated input / output interface unit 701. IENB is a data enable signal output from the AV information compressor 112, and IDATA is 8-bit AV stream data output from the AV information compressor 112.
[0075]
The AV information compressor 112 always outputs ICLK. When IREQ becomes High, the AV information compressor 112 outputs DATA in synchronization with ICLK. As long as DATA is valid, IENB is kept High. The dedicated input / output interface unit 701 needs to take in DATA in synchronization with ICLK using IENB as an enable signal. By setting IREQ to Low, it is possible to make DATA output from the AV information compressor 112 wait.
[0076]
FIG. 7B shows an interface of a strobe (IENB) synchronization system, where IREQ is a request signal output from the dedicated input / output interface unit 701, and IENB is a data strobe signal output from the AV information compressor 112. , IDATA is 8-bit AV stream data output from the AV information compressor 112.
[0077]
While the IREQ is High, the AV information compressor 112 changes and outputs IENB every time DATA changes. The dedicated input / output interface unit 701 needs to latch data at the rising edge of IENB and take in the data. By setting IREQ to Low, it is possible to make DATA output from the AV information compressor 112 wait.
[0078]
In the case where the AV information compressor 112 employs a clock synchronization type interface as shown in FIG. 7A, the host side sends a general-purpose input / output interface unit 702 to the circuit diagram corresponding to the clock synchronization type. Write information. The written circuit diagram information is captured by the device control unit 708, and the circuit diagram information is written to the dedicated input / output interface unit 701 using the JTAG signal 709. When the writing is completed, the dedicated input / output interface unit 701 becomes compatible with the clock synchronous interface. In this way, as shown in FIG. 7A, the AV information compressor 112 always outputs ICLK (clock), and outputs IDATA in synchronization with ICLK when IREQ becomes High. IENB is kept High while DATA is valid. The dedicated input / output interface unit 701 needs to take in DATA in synchronization with ICLK using IENB as an enable signal. By setting IREQ to Low, DATA output from the AV information compressor 112 can be made to wait.
[0079]
When the AV information compressor 112 is an interface of the strobe synchronization method as shown in FIG. 7B, the host writes the circuit diagram information corresponding to the strobe synchronization method to the general-purpose input / output interface unit 702. Go. The written circuit diagram information is captured by the device control unit 708, and the circuit diagram information is written to the dedicated input / output interface unit 701 using the JTAG signal 709. When the writing is completed, the dedicated input / output interface unit 701 becomes compatible with the strobe synchronous interface. By doing so, as shown in FIG. 7 (B), the AV information compressor 112 changes and outputs IENB every time DATA changes while IREQ is High. The dedicated input / output interface unit 701 needs to latch data at the rising edge of IENB and take in the data. By setting IREQ to Low, DATA output from the AV information compressor 112 can be made to wait.
[0080]
According to the sixth embodiment of the present invention having such a configuration, it is possible to cope with a case where the interface of a device connected to the dedicated input / output interface unit is changed.
[0081]
【The invention's effect】
As described above, the present invention provides a recording medium, a recording / reproducing control unit that records data on the recording medium or reproduces data from the recording medium, a first input / output interface unit, and a second input / output interface. An interface unit, a buffer memory between the first input / output interface unit and the second input / output interface unit and the recording / reproducing control unit, and stream data using the second input / output interface unit. By inputting and outputting, it is possible to directly connect to the AV information compressor or the AV information decompressor on the host side, and it is possible to provide a data recording / reproducing apparatus and a data recording / reproducing system having an effect of reducing the memory on the host side. Things.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a data recording / reproducing device and a data recording / reproducing system according to a first embodiment of the present invention.
FIG. 2 is a configuration diagram of a data recording / reproducing device according to a second embodiment of the present invention.
FIG. 3 is a diagram illustrating an operation of a data recording / reproducing device according to a third embodiment of the present invention.
FIG. 4 is a diagram illustrating an operation of a data recording / reproducing device according to a fourth embodiment of the present invention.
FIG. 5 is a diagram illustrating an operation of a data recording / reproducing device according to a fifth embodiment of the present invention.
FIG. 6 is a configuration diagram of a data recording / reproducing apparatus according to a sixth embodiment of the present invention.
FIG. 7 is a diagram illustrating an operation of a data recording / reproducing device according to a sixth embodiment of the present invention.
FIG. 8 is a configuration diagram of a conventional data recording / reproducing apparatus.
[Explanation of symbols]
100 Data recording / reproducing device
101 Dedicated input / output interface
102 General-purpose input / output interface
103 buffer memory
104 Recording / playback control unit
105 Recording medium
106 ATA bus
107 Interface control unit
108 Bus
109 CPU
110 RAM
111 ROM
112 AV information expander
113 AV information compressor
114 monitor
115 speaker
116 Camera
117 microphone
200 PC card type HDD
201 HDD interface
202 buffer memory
203 HDC
204 CPU
205 bus
206 Recording Channel Circuit
207 Playback channel circuit
208 Servo DSP
209 Recording amplifier
210 playback amplifier
211 Servo amplifier
212 SPM control unit
213 VCM
214 SPM
215 head
216 disk
217 PC Card Interface
218 AV interface
219 Memory control circuit
220 Host memory
221 AV information decompressor
222 AV information compressor
223 monitor
224 speaker
225 camera
226 microphone
227 CPU
228 RAM
229 ROM
230 bus
301 Dedicated input / output interface
302 General-purpose input / output interface
303 Dedicated input / output interface buffer memory
304 Buffer memory for general purpose input / output interface
305 Clock control unit
306 Recording / playback control unit
307 Recording medium
308 Device control unit
701 Dedicated input / output interface
702 General-purpose input / output interface
703 Dedicated input / output interface buffer memory
704 Buffer memory for general purpose input / output interface
705 Clock control unit
706 Recording / playback control unit
707 Recording medium
708 Device control unit
709 JTAG signal

Claims (9)

記録媒体と、前記記録媒体にデータを記録するか又は前記記録媒体からデータを再生する記録再生制御部と、第1の入出力インタフェース部と、第2の入出力インタフェース部と、前記第1の入出力インタフェース部及び前記第2の入出力インタフェース部と前記記録再生制御部との間にバッファメモリを備え、ストリームデータを前記第2の入出力インタフェース部を用いて入出力することを特徴とするデータ記録再生装置。A recording medium, a recording / reproduction control unit for recording data on the recording medium or reproducing data from the recording medium, a first input / output interface unit, a second input / output interface unit, A buffer memory is provided between the input / output interface unit and the second input / output interface unit and the recording / reproducing control unit, and stream data is input / output using the second input / output interface unit. Data recording / reproducing device. 前記第2の入出力用インタフェース部の所定の回路を変更する手段を有する請求項1記載のデータ記録再生装置。2. A data recording / reproducing apparatus according to claim 1, further comprising means for changing a predetermined circuit of said second input / output interface unit. 前記所定の回路を変更する手段は、前記第1の入出力インタフェース部を介して書き込まれた回路図情報に基づいて前記第2の入出力インタフェース部の所定の回路を変更することを特徴とする請求項2記載のデータ記録再生装置。The means for changing the predetermined circuit changes the predetermined circuit of the second input / output interface unit based on circuit diagram information written via the first input / output interface unit. The data recording / reproducing device according to claim 2. 前記第2の入出力用インタフェース部および、前記第2の入出力インタフェース部が使用する前記バッファメモリ以外の前記第1の入出力インタフェース部、前記記録再生制御部及び前記記録媒体の動作を停止させる制御手段を有することを特徴とする請求項1から3のいずれかに記載のデータ記録再生装置。Stop the operations of the second input / output interface unit, the first input / output interface unit other than the buffer memory used by the second input / output interface unit, the recording / reproducing control unit, and the recording medium. 4. The data recording / reproducing apparatus according to claim 1, further comprising control means. 前記制御手段が外部からのコマンドにより前記第2の入出力用インタフェース部および前記第2の入出力インタフェース部が使用する前記バッファメモリ以外の前記第1の入出力インタフェース部、前記記録再生制御部及び前記記録媒体の動作を停止させる制御手段であることを特徴とする請求項4記載のデータ記録再生装置。The first input / output interface unit other than the buffer memory used by the second input / output interface unit and the second input / output interface unit according to a command from the outside by the control unit; the recording / reproduction control unit; 5. The data recording / reproducing apparatus according to claim 4, wherein the data recording / reproducing apparatus is control means for stopping the operation of the recording medium. 前記第2の入出力インタフェース部が使用する前記バッファメモリへの前記ストリームデータを記録中に、前記バッファメモリのデータ量が第1の閾値と等しいか又は越えた時前記記録再生制御部を動作状態にする手段と、前記バッファメモリのデータ量が第2の閾値以下になった時前記記録再生制御部を停止状態にする手段とを有することを特徴とする請求項4記載のデータ記録再生装置。While recording the stream data in the buffer memory used by the second input / output interface unit, when the data amount of the buffer memory is equal to or exceeds a first threshold, the recording / reproducing control unit is operated. 5. The data recording / reproducing apparatus according to claim 4, further comprising: means for stopping the recording / reproducing control unit when the data amount of the buffer memory becomes equal to or less than a second threshold value. 前記第2の入出力インタフェース部が使用する前記バッファメモリへの前記ストリームデータを再生中に、前記バッファメモリのデータ量が第3の閾値と等しいか又は越えた時前記記録再生制御部を停止状態にする手段と、前記バッファメモリのデータ量が第4の閾値以下になった時前記記録再生制御部を動作状態にする手段とを有することを特徴とする請求項4記載のデータ記録再生装置。When the data amount of the buffer memory is equal to or exceeds a third threshold value during reproduction of the stream data to the buffer memory used by the second input / output interface unit, the recording / reproduction control unit is stopped. 5. The data recording / reproducing apparatus according to claim 4, further comprising: means for setting the recording / reproduction control unit to an operation state when the data amount of the buffer memory becomes equal to or less than a fourth threshold value. 前記バッファメモリのデータ量の閾値、又は前記閾値を算出するための情報を前記第1の入出力インタフェース部を介して設定する手段を有することを特徴とする請求項6又は請求項7記載のデータ記録再生装置。8. The data according to claim 6, further comprising means for setting a threshold value of the data amount of the buffer memory or information for calculating the threshold value via the first input / output interface unit. Recording and playback device. 前記請求項1から8のいずれかに記載のデータ記録再生装置と、オーディオ及びビデオの信号を入力及び出力する手段と、前記データ記録再生装置と前記オーディオ及びビデオの信号を入力及び出力する手段との間でデータのやりとりを行う入出力インタフェース部と、前記オーディオ及び前記ビデオの信号を圧縮及び伸張する手段と、システム全体の動作を制御するシステム制御手段とを備え、前記データ記録再生装置に設けられた第1の入出力インタフェース部は、バスを介して前記システム制御手段に接続され、前記データ記録再生装置に設けられた第2の入出力インタフェース部は、前記オーディオ及び前記ビデオの信号を圧縮及び伸張する手段に接続されることを特徴とするデータ記録再生システム。9. The data recording / reproducing apparatus according to claim 1, further comprising: means for inputting and outputting audio and video signals; and means for inputting and outputting the data recording / reproducing apparatus and the audio and video signals. An input / output interface unit for exchanging data between the two, a unit for compressing and decompressing the audio and video signals, and a system control unit for controlling the operation of the entire system. The first input / output interface unit is connected to the system control unit via a bus, and the second input / output interface unit provided in the data recording / reproducing device compresses the audio and video signals. And a data recording / reproducing system connected to a decompression means.
JP2002195893A 2002-07-04 2002-07-04 Data recording/reproducing device and data recording/reproducing system Pending JP2004039129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002195893A JP2004039129A (en) 2002-07-04 2002-07-04 Data recording/reproducing device and data recording/reproducing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002195893A JP2004039129A (en) 2002-07-04 2002-07-04 Data recording/reproducing device and data recording/reproducing system

Publications (1)

Publication Number Publication Date
JP2004039129A true JP2004039129A (en) 2004-02-05

Family

ID=31704146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002195893A Pending JP2004039129A (en) 2002-07-04 2002-07-04 Data recording/reproducing device and data recording/reproducing system

Country Status (1)

Country Link
JP (1) JP2004039129A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085243A (en) * 2004-09-14 2006-03-30 Sony Corp Transfer control device
JP2009259060A (en) * 2008-04-18 2009-11-05 Hitachi Ltd Stream data recording/reproducing device
KR100972258B1 (en) * 2007-05-24 2010-07-23 가부시키가이샤 히타치세이사쿠쇼 Stream processing device and storage device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085243A (en) * 2004-09-14 2006-03-30 Sony Corp Transfer control device
JP4696508B2 (en) * 2004-09-14 2011-06-08 ソニー株式会社 Transfer control device
KR100972258B1 (en) * 2007-05-24 2010-07-23 가부시키가이샤 히타치세이사쿠쇼 Stream processing device and storage device
JP2009259060A (en) * 2008-04-18 2009-11-05 Hitachi Ltd Stream data recording/reproducing device

Similar Documents

Publication Publication Date Title
JP3867447B2 (en) Disc type data recording / reproducing apparatus and information processing system equipped with disc type data recording / reproducing apparatus
US20040017630A1 (en) Magnetic disk apparatus and storage system
US7525747B2 (en) Data storage device, data storage control circuit, and control method for magnetic disk drive
JP4196491B2 (en) Disk drive device, video camera device, and data processing method in disk drive device
US6697958B1 (en) Method and apparatus for driving a recording medium, method and system for recording and reproducing information, and information supplying medium
JP2004039129A (en) Data recording/reproducing device and data recording/reproducing system
JP4083656B2 (en) Magnetic disk control device, magnetic disk control method, magnetic disk control program, magnetic disk
US7433145B2 (en) Magnetic disk apparatus
JPH08279976A (en) Disk recording and reproducing device
JP2003309797A (en) Hard disk video camera provided with low power consumption mode
JP2000276857A (en) Data recording device, data recording method, data reproducing device and data reproducing method
JP2000276856A (en) Device and method for recording data and device and method for reproducing data
JP3975586B2 (en) Recording / reproducing apparatus and method, and program recording medium
JP2009223955A (en) Power source voltage supply circuit and disk device
JP2008269745A (en) Reproducing device, program, and reproducing method
JP5103198B2 (en) Information recording / reproducing device
JP2000293944A (en) Data recorder and data recording method, data reproducing device and data reproducing method, and recording medium
JP2000298935A (en) Disk device
JP2001057069A (en) Disk drive device and video camera device
JP2000076793A (en) Recording medium driving device and method, information recording and reproducing system and method, and provided medium
JP2002084499A (en) Device and method for recording/reproducing image and computer-readable storage medium
JP2003077264A (en) Media
JP3673091B2 (en) Clock control circuit and digital signal processing apparatus
JP2000278645A (en) Device and method for recording data and device and method for reproducing data
JP2000100087A (en) Information reproducing device, information reproducing method, information recorder and information recording method