JP4058117B2 - Data storage device - Google Patents

Data storage device Download PDF

Info

Publication number
JP4058117B2
JP4058117B2 JP28333893A JP28333893A JP4058117B2 JP 4058117 B2 JP4058117 B2 JP 4058117B2 JP 28333893 A JP28333893 A JP 28333893A JP 28333893 A JP28333893 A JP 28333893A JP 4058117 B2 JP4058117 B2 JP 4058117B2
Authority
JP
Japan
Prior art keywords
data
address
storage
input
stored
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
JP28333893A
Other languages
Japanese (ja)
Other versions
JPH07141118A (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 JP28333893A priority Critical patent/JP4058117B2/en
Publication of JPH07141118A publication Critical patent/JPH07141118A/en
Application granted granted Critical
Publication of JP4058117B2 publication Critical patent/JP4058117B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は、データ記憶装置に関するものである。
【0002】
【従来の技術】
一般にコンピュータに接続されるディスク型の2次記憶装置では、データの記憶場所がセクタと呼ばれる一定容量の単位に分割され、ディスク内のトラック上に連続的に配置されている。ディスク型の2次記憶装置は、ハードディスク、フロッピディスク、MOディスクなどと多様化している。MOディスクの場合、5.25インチISOフォーマットでは1024バイトと512バイトの2種類のセクタが標準化されている。
【0003】
上記1024バイト/セクタの場合の5.25インチISOフォーマットを図7に示してある。
【0004】
このフォーマットにおいて、第1の領域41は、セクタマークと呼ばれるセクタの先頭を示す領域で、他の領域とは異なる特殊なパターンで構成されている。第2の領域42は、VFOと呼ばれる領域で、読み出しクロック引き込みのための領域である。第3の領域43は、アドレスマークと呼ばれる領域で、次の第4の領域を読み取るための同期を取るための領域である。第4の領域44は、IDと呼ばれる領域で、そのセクタのアドレス(トラック番号、セクタ番号)が格納された領域である。第5の領域45は、ポストアンブルと呼ばれる領域で、変復調を完了させるために必要な領域である。
【0005】
上記第1の領域41から第5の領域45までは、プリフォーマッテッド領域とも呼ばれ、反射光の強弱で情報を再生するためのディスク表面に適当な深さの窪みによるパターン(プリピット)を設けた再生専用の領域である。
【0006】
また、第6の領域46は、ギャップやフラグなどの領域で、アクチュエータサーボの調整、レーザのパワー調整などを行うための領域である。第7の領域47は、VFO領域で、第9の領49の読み出しクロック引き込みのための領域である。第8の領域48は、シンクと呼ばれる領域で、次の第9の領域の先頭を示す領域である。第9の領域49は、データ領域で、ホストコンピュータからのデータが記録再生される領域である。
【0007】
この第9の領域49には、記録膜のピンホールなどの媒体欠陥に対処するため、決められた生成多項式により計算された誤り訂正符号(ECC)、検出符号(CRC)などの冗長な情報が付加されたデータが記録される。上記第9の領域49に記録されたデータは、読み出し時に復号され、誤り訂正が行われ1セクタのデータとして再生される。
【0008】
さらに、第10の領域50は、バッファと呼ばれる領域で、モータの回転偏差などを吸収するための領域である。
【0009】
上記第7の領域47から第10の領域50までは、記録再生するための領域で、記録はレーザ光とバイアス磁界による熱磁気記録が行われ、再生は反射光の偏光面の回転(カー回転)成分を検出することにより行われる。
【0010】
ここで、コンピュータ側では一般にセクタサイズとして512バイトが使用されている。MOディスク上では1024バイトで誤り訂正符号が付加されているので特定の512バイトのみを書き換えることはできない。
【0011】
そこで、従来のMOドライバでは、論理セクタMと論理セクタM+1とからなる物理セクタNの1024バイトのデータの内、例えば論理セクタM+1の512バイトのデータを書き換える場合、例えば図8のフローチャートに示すように、ホストコンピュータ側から書き込み要求があると、先ず該当するデータが含まれる物理セクタNの1024バイトのデータをバッファメモリ内の論理セクタMと論理セクタM+1にあたるアドレスに読み込み(ステップ1)、また、書き換える512バイトのデータをホストコンピュータ側から上記バッファメモリの別のアドレスに転送し(ステップ2)、上記ホストコンピュータ側からのデータ転送の終了を確認し(ステップ3)、さらにセクタNのデータの読み出しの終了を確認し(ステップ4)、書き換え後の新しい1024バイト分のデータを上記バッファメモリ内で合成して(ステップ5)、その新しい1024バイト分のデータに誤り訂正符号などを付加した書き込みデータを上記MOディスクに書き込む(ステップ6)ようにしていた。
【0012】
あるいは図9のフローチャートに示すように、ホストコンピュータ側から書き込み要求があると、先ず、該当するデータが含まれるセクタNの1024バイトのデータをバッファメモリ内の論理セクタMと論理セクタM+1にあたるアドレスに読み込み(ステップ1)、セクタNのデータの読み出しの終了を確認して(ステップ2)、書き換える512バイトのデータをホストコンピュータ側から上記バッファメモリの論理セクタM+1にあたるアドレスに直接転送し(ステップ3)、上記ホストコンピュータ側からのデータ転送の終了を確認してから(ステップ4)、書き換え後の新しい1024バイト分のデータに誤り訂正符号などを付加した書き込みデータを上記MOディスクに書き込む(ステップ5)ようにしていた。
【0013】
【発明が解決しようとする課題】
しかし、上述の図8のフローチャートに示した手順でデータの書き換えを行うのでは、ホストコンピュータ側からのデータ転送の終了とディスクのセクタNのデータの読み出しの終了と同期をとる必要があり、また、書き換え後の新しい1024バイト分のデータを上記バッファメモリ内で合成するために、実行的な処理時間が長くなるという問題点があった。
【0014】
また、上述の図9のフローチャートに示した手順でデータの書き換えを行うのでは、ディスクのセクタNのデータの読み出しの終了を待ってホストコンピュータ側からのデータ転送を行わなければならないという問題点があった。
【0015】
そこで、上述の如き従来の問題点に鑑み、本発明の目的は、データの書き換え区間に対するデータの到着順序などを制御する必要がなく、短い転送時間でデータ転送を行うことができるデータ記憶装置を提供することにある。
【0017】
【課題を解決するための手段】
第1の発明に係るデータ記憶装置は、一定ビット長を1データ単位としてデータが記憶されるアドレスを指定してデータの記憶が可能な記憶手段と、第1のデータ長の第1のデータの上記記憶手段への記憶の要求をする第1の要求信号が入力される第1の入力手段と、上記第1のデータの一部と置き換えられる上記第1のデータ長よりも短い第2のデータ長の第2のデータを上記第1の入力手段から入力されるデータの到着順序と無関係に上記記憶手段への記憶を要求する第2の要求信号が入力される第2の入力手段と、上記第1の入力手段から入力されるデータを上記記憶手段に記憶するためのアドレスを生成する第1のアドレス生成手段と、上記第2の入力手段から入力されるデータを上記記憶手段に記憶される第1のデータの一部と置き換えて記憶するためのアドレスを生成する第2のアドレス生成手段と、あらかじめ設定される上記第2のデータに置き換える上記第1のデータの一部の記憶の禁止開始アドレスと禁止解除アドレスとに基づいて上記第2のデータが記憶されるアドレス領域を検出するアドレス検出手段と、上記アドレス検出手段による検出結果に基づいて、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスである場合には、上記第1のデータの上記記憶手段への記憶動作を抑制し、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスでない場合には、上記第1のデータの上記記憶手段への記憶動作の抑制を解除して、上記第1のデータを上記記憶手段へ記憶する制御を行う制御手段とを備えることを特徴とする。
【0018】
また、第2の発明に係るデータ記憶装置は、第1の発明に係るデータ記憶装置において、上記第1の要求が入力された第1の入力手段の出力に基づいて応答信号を出力する応答信号出力手段を更に備えることを特徴とする。
【0019】
また、第3の発明に係るデータ記憶装置は、第2の発明に係るデータ記憶装置において、上記応答信号出力手段は、上記第1のデータの上記記憶手段への記憶が抑制されている期間においても応答信号を出力することを特徴とする。
【0020】
さらに、第4の発明に係るデータ記憶装置は、第1の発明に係るデータ記憶装置において、上記アドレス検出手段は、上記第1のアドレス生成手段から生成されるアドレスと書き込みの禁止開始アドレスと禁止解除アドレスとの各々と比較する2の比較手段を備えることを特徴とする。
【0021】
【作用】
第1の発明に係るデータ記憶装置では、一定ビット長を1データ単位としてデータが記憶されるアドレスを指定してデータの記憶が可能な記憶手段への第1のデータ長の第1のデータの記憶の要求をする第1の要求信号が第1の入力手段に入力され、上記第1のデータの一部と置き換えられる上記第1のデータ長よりも短い第2のデータ長の第2のデータを上記第1の入力手段から入力されるデータの到着順序と無関係に上記記憶手段への記憶を要求する第2の要求信号が第2の入力手段に入力され、上記第1の入力手段から入力されるデータを上記記憶手段に記憶するためのアドレスを第1のアドレス生成手段により生成するとともに、上記第2の入力手段から入力されるデータを上記記憶手段に記憶される第1のデータの一部と置き換えて記憶するためのアドレスを第2のアドレス生成手段により生成し、アドレス検出手段により上記第2のデータが記憶されるアドレス領域をあらかじめ設定される上記第2のデータに置き換える上記第1のデータの一部の記憶の禁止開始アドレスと禁止解除アドレスとに基づいて検出し、制御手段により、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスであると上記アドレス検出手段によって検出された場合には、上記第1のデータの上記記憶手段への記憶動作を抑制し、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスでない場合には、上記第1のデータの上記記憶手段への記憶動作の抑制を解除して、上記第1のデータを上記記憶手段へ記憶する制御を行う
【0022】
第2の発明に係るデータ記憶装置では、第1の発明に係るデータ記憶装置において、応答信号出力手段により上記第1の要求が入力された第1の入力手段の出力に基づいて応答信号を出力する。
【0023】
また、第3の発明に係るデータ記憶装置では、第2の発明に係るデータ記憶装置において、上記応答信号出力手段により、上記第1のデータの上記記憶手段への記憶が抑制されている期間においても応答信号を出力する。
【0024】
さらに、第4の発明に係るデータ記憶装置では、第1の発明に係るデータ記憶装置において、上記アドレス検出手段は、上記第1のアドレス生成手段から生成されるアドレスと書き込みの禁止開始アドレスと禁止解除アドレスとの2の比較手段により各々と比較する。
【0025】
【実施例】
以下、本発明に係るデータ記憶装置の一実施例について図面を参照して詳細に説明する。
【0026】
図1のブロック図に示す実施例は、5.25インチISOフォーマットのMOディスク1に対してデータの記録再生を行うMOディスクドライバに本発明を適用したものである。
【0027】
このMOディスクドライバにおいて、MOディスク1はスピンドルモータ2により所定の回転数で回転駆動される。このMOディスク1の記録再生面と対向するように配設された光ピックアップ3は、アクチュエータ制御部4により制御されるアクチュエータを内蔵しており、光ビームの焦点を上記記録再生面上に合わせるためのフォーカスサーボと、光ビームのブームスポットで上記記録再生面上のトラックに走査させるためのトラッキングサーボが行われる。
【0028】
また、上記MOディスク1を間にして上記光ピックアップ3と対向するように配設されたコイル5は、システムコントローラ6により制御される駆動回路7で駆動され、記録時に磁界を発生する。
【0029】
そして、上記光ピックアップ3により上記MOディスク1の記録再生面上のトラックから光学的に読み取った信号は、RF信号処理ブロック8により増幅されてから2値化され、データセパレータ9によりデータとクロックに分離されて、変復調フォーマット制御部10に入力される。
【0030】
この変復調/フォーマット制御部10では、ディスクフォーマットに合わせた各種マーク検出、データの変復調、誤り訂正の符号化、復号化などを行い、ホストコンピュータに送るデータのみをバッファメモリ制御部11に転送する。このバッファメモリ制御部11では、他の転送チャンネルからの転送との競合制御がされながら、データがバッファメモリ12に書き込まれる。上記バッファメモリ12に蓄えられたデータは、ホストコンピュータとのインターフェースの使用に合わせ、適時、上記バッファメモリ12から読み出され、ホストインターフェース制御部13に送られ、ホストインターフェース14を介してホストコンピュータ側へ転送される。
【0031】
記録の際には、逆に、ホストコンピュータ側から上記ホストインターフェース14を介して転送されたデータが上記ホストインターフェース制御部13を経て上記バッファメモリ12に蓄えられ、上記バッファメモリ制御部11により、適時、上記バッファメモリ12から読み出されて、上記変復調/フォーマット制御部10に入力される。この変復調/フォーマット制御部10では、データの変調、誤り訂正符号などを付加して書き込みデータを生成する。そして、この書き込みデータが、書き込むセクタのアドレスなどと同期制御され、レーザ駆動部15へ転送されて、MOディスク1に書き込まれる。
【0032】
そして、このMOディスクドライバにおける上記バッファメモリ制御部11は、図2に示すように、転送要求受付部21、この転送要求受付部21の出力により制御されるACKセレクタ22、アドレスカウンタ23及びタイミングジェネレータ24、上記アドレスカウンタ23の出力が供給される第1及び第2のコンパレータ25,26、これら第1及び第2のコンパレータ25,26の出力が供給されるR−Sフリップフロップ27、上記タイミングジェネレータ24の出力が供給されるANDゲート28、第1及び第2のORゲート29,30などを備えてなる。
【0033】
上記転送要求受付部21は、2つのデータ転送チャンネルA,Bからの転送要求REQA,REQBを受け付ける部分で、REQA,REQBが同時に来た場合の競合制御も行う。そして、例えばチャンネルAからのデータの書き込みを行う場合、上記アドレスカウンタ23により転送先のメモリアドレスを発生させ、上記タイミングジェネレータ24により上記バッファメモリ12に対する書き込み信号CS,WEと、転送アクノリッジACKを所定のタイミングで発生させる。
【0034】
また、上記ACKセレクタ22は、転送要求に応じたチャンネルのACKを返送するセレクタであって、上記転送要求受付部21の出力に基づいて動作する。
【0035】
さらに、上記第1及び第2のコンパレータ25,26は、それぞれ予め設定された値と上記アドレスカウンタ23により得られるアドレスカウンタ値を比較し、両者の一致を検出するコンパレータであって、上記第1のコンパレータ25で書き込み禁止時のアドレスカウンタ値aとの一致を検出し、上記第2のコンパレータ26で書き込み禁止解除時のアドレスカウンタ値bとの一致を検出する。
【0036】
例えば、チャンネルAからのデータの書き込みを行う場合、チャンネルAのアドレスカウンタ値がaに達すると上記第1のコンパレータ25の出力がアクティブとなり、上記R−Sフリップフロップ27の出力(書き込み禁止信号WD)がアクティブとなる。これにより、図3のタイミングチャートに示すように、チャンネルAからのデータの書き込み信号CS,WEがアクティブになることが禁止される。しかし、それ以降のチャンネルAからの転送に対しては、REQ/ACKのハンドシェークはそのまま行われ、チャンネルAのアドレスカウンタはカウントを続行する。そのアドレスカウンタ値がbに達すると第2のコンパレータ26の出力がアクティブとなり、上記R−Sフリップフロップ27の出力(書き込み禁止信号WD)がインアクティブとなる。これにより、図3のタイミングチャートに示すように、チャンネルAからのデータの書き込み信号CS,WEがアクティブになる。
【0037】
このようにチャンネルAからのデータの上記バッファメモリ12への書き込みに対して、アドレスカウンタ値がaからbの区間のみ書き込みを禁止することができる。
【0038】
ホストコンピュータから特定の512バイトのみデータを書き換える時、ホストコンピュータから書き換えるデータを上記バッファメモリ12に受け取りながら、上記MOディスク1から上記チャンネルAで書き換えデータを含むセクタからの1024バイトを読み出す。一方、書き換えデータに対応するアドレスを上記第1及び第2のコンパレータ25,26で所定のアドレスカウンタ値a,bと比較検出することで、上記MOディスク1からの読み出しデータのうち、書き換えデータデータの部分のみが書き込みを禁止される。
【0039】
すなわち、図4に示すような論理セクタMと論理セクタM+1とからなる物理セクタNの1024バイトのデータの内、例えば論理セクタM+1の512バイトのデータを書き換える場合、このMOドライバでは、例えば図5のフローチャートに示すように、ホストコンピュータ側から書き込み要求があると、先ず、書き換える512バイトのデータをホストコンピュータ側から上記バッファメモリ12の論理セクタM+1にあたるアドレスに直接転送し(ステップ1)、セクタNの1024バイトのデータを読み出して論理セクタMのデータだけを上記バッファメモリ12内の論理セクタMにあたるアドレスに読み込み(ステップ2)、セクタNのデータの読み出しの終了を確認して(ステップ3)、上記ホストコンピュータ側からのデータ転送の終了を確認してから(ステップ4)、新しい1024バイト分のデータに誤り訂正符号などを付加した書き込みデータを上記MOディスクに書き込む(ステップ5)。
【0040】
ここで、上述の実施例では、第2のコンパレータ26によりアドレスカウンタ値がbに達したことを検出して、バッファメモリ12へのデータの書き込み禁止を解除するようにしたが、上記第2のコンパレータ26に代えて図6に示すようにACKの数をカウントするプリセッタブルダウンカウンタ36を用いるようにしてもよい。
【0041】
上記プリセッタブルダウンカウンタ36は、上記R−Sフリップフロップ27の出力(書き込み禁止信号WD)によりカウント動作制御され、書き込み禁止の間のみカウント動作を行うようになっている。そして、このプリセッタブルダウンカウンタ36には、書き込み禁止の間で上記バッファメモリ12に書き込まず入力転送のみを行うデータ数をプリセッタブルダウンカウンタ36に予めセットしておく。
【0042】
書き込み禁止の間での転送データ数が設定値に達すると上記プリセッタブルダウンカウンタ36からのリップルキャリー出力(CY)により上記R−Sフリップフロップ27をリセットし、上記書き込み禁止信号WDをインアクティブにする。これにより、チャンネルAからのデータの書き込み信号CS,WEがアクティブになる。
【0043】
【発明の効果】
第1の発明に係るデータ記憶装置では、一定ビット長を1データ単位としてデータが記憶されるアドレスを指定してデータの記憶が可能な記憶手段への第1のデータ長の第1のデータの記憶の要求をする第1の要求信号が第1の入力手段に入力され、上記第1のデータの一部と置き換えられる上記第1のデータ長よりも短い第2のデータ長の第2のデータを上記第1の入力手段から入力されるデータの到着順序と無関係に上記記憶手段への記憶を要求する第2の要求信号が第2の入力手段に入力され、上記第1の入力手段から入力されるデータを上記記憶手段に記憶するためのアドレスを第1のアドレス生成手段により生成するとともに、上記第2の入力手段から入力されるデータを上記記憶手段に記憶される第1のデータの一部と置き換えて記憶するためのアドレスを第2のアドレス生成手段により生成し、アドレス検出手段により上記第2のデータが記憶されるアドレス領域をあらかじめ設定される上記第2のデータに置き換える上記第1のデータの一部の記憶の禁止開始アドレスと禁止解除アドレスとに基づいて検出し、制御手段により、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスであると上記アドレス検出手段によって検出された場合には、上記第1のデータの上記記憶手段への記憶動作を抑制し、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスでない場合には、上記第1のデータの上記記憶手段への記憶動作の抑制を解除して、上記第1のデータを上記記憶手段へ記憶する制御を行うので、2つの独立した経路からのデータの転送を並行して行い、書き換え区間に対するデータの到着順序などを制御する必要がなく、転送時間を短縮することができる。
【0044】
第2の発明に係るデータ記憶装置では、第1の発明に係るデータ記憶装置において、応答信号出力手段により上記第1の要求が入力された第1の入力手段の出力に基づいて応答信号を出力することができる。
【0045】
また、第3の発明に係るデータ記憶装置では、第2の発明に係るデータ記憶装置において、上記応答信号出力手段により、上記第1のデータの上記記憶手段への記憶が抑制されている期間においても応答信号を出力することができる。
【0046】
さらに、第4の発明に係るデータ記憶装置では、第1の発明に係るデータ記憶装置において、上記アドレス検出手段は、上記第1のアドレス生成手段から生成されるアドレスと書き込みの禁止開始アドレスと禁止解除アドレスとの2の比較手段により各々と比較することにより、データの書き込み禁止とその解除を確実に行うことができる。
【図面の簡単な説明】
【図1】本発明を適用したMOディスクドライバの構成を示すブロック図である。
【図2】上記MOディスクドライバにおけるバッファメモリ制御部の要部構成を示すブロック図である。
【図3】上記バッファメモリ制御部の動作を示すタイミングチャートである。
【図4】上記MOディスクドライバによりデータの書き換えを行うMOディスクのセクタ構造を模式的に示す図である。
【図5】上記MOディスクドライバにおけるデータの書き換え動作を手順を示すフローチャートである。
【図6】上記バッファメモリ制御部の要部構成の他の例を示すブロック図である。
【図7】1024バイト/セクタの5.25インチISOフォーマットを示す図である。
【図8】従来のMOディスクドライバにおけるデータの書き換え動作を手順を示すフローチャートである。
【図9】MOディスクドライバにおけるデータの書き換え動作の他の手順を示すフローチャートである。
【符号の説明】
1・・・・・・MOディスク
8・・・・・・変復調/フォーマット制御部
11・・・・・・バッファメモリ制御部
12・・・・・・バッファメモリ
13・・・・・・ホストインターフェース制御部
21・・・・・・転送要求受付部
22・・・・・・ACKセレクタ
23・・・・・・アドレスカウンタ
24・・・・・・タイミングジェネレータ
25,26・・・コンパレータ
27・・・・・・R−Sフリップフロップ
28・・・・・・ANDゲート
29,30・・・ORゲート
36・・・・・・プリセッタブルダウンカウンタ
[0001]
[Industrial application fields]
The present invention relates to a data storage device.
[0002]
[Prior art]
Generally, in a disk-type secondary storage device connected to a computer, a data storage location is divided into units of a certain capacity called a sector and is continuously arranged on a track in the disk. Disk-type secondary storage devices are diversified into hard disks, floppy disks, MO disks, and the like. In the case of the MO disk, two types of sectors of 1024 bytes and 512 bytes are standardized in the 5.25 inch ISO format.
[0003]
FIG. 7 shows the 5.25 inch ISO format in the case of 1024 bytes / sector.
[0004]
In this format, the first area 41 is an area indicating the head of a sector called a sector mark, and is configured with a special pattern different from other areas. The second area 42 is an area called VFO, and is an area for drawing a read clock. The third area 43 is an area called an address mark, and is an area for obtaining synchronization for reading the next fourth area. The fourth area 44 is an area called ID and is an area in which the address (track number, sector number) of the sector is stored. The fifth area 45 is an area called a postamble and is an area necessary for completing modulation / demodulation.
[0005]
The first area 41 to the fifth area 45 are also called preformatted areas, and a pattern (prepit) is formed by a depression having an appropriate depth on the disk surface for reproducing information by the intensity of reflected light. This is a playback-only area.
[0006]
The sixth area 46 is an area for gaps, flags, etc., for adjusting actuator servos, adjusting laser power, and the like. The seventh area 47 is a VFO area and is an area for drawing the read clock in the ninth area 49. The eighth area 48 is an area called a sink, and is an area indicating the head of the next ninth area. The ninth area 49 is a data area where data from the host computer is recorded and reproduced.
[0007]
In the ninth area 49, redundant information such as an error correction code (ECC) and a detection code (CRC) calculated by a predetermined generator polynomial is used to deal with medium defects such as pinholes in the recording film. The added data is recorded. The data recorded in the ninth area 49 is decoded at the time of reading, error correction is performed, and the data is reproduced as one sector data.
[0008]
Furthermore, the 10th area | region 50 is an area | region for absorbing a rotation deviation etc. of a motor by the area | region called a buffer.
[0009]
The seventh area 47 to the tenth area 50 are areas for recording and reproduction. Recording is performed by thermomagnetic recording using a laser beam and a bias magnetic field, and reproduction is performed by rotating the polarization plane of reflected light (Kerr rotation). ) By detecting the component.
[0010]
Here, 512 bytes are generally used as the sector size on the computer side. Since an error correction code is added at 1024 bytes on the MO disk, only a specific 512 bytes cannot be rewritten.
[0011]
Therefore, in the conventional MO driver, when rewriting 512-byte data of the logical sector M + 1 among the 1024-byte data of the physical sector N composed of the logical sector M and the logical sector M + 1, for example, as shown in the flowchart of FIG. When a write request is received from the host computer side, first, 1024 bytes of data in the physical sector N including the corresponding data is read into addresses corresponding to the logical sector M and logical sector M + 1 in the buffer memory (step 1). The 512-byte data to be rewritten is transferred from the host computer side to another address of the buffer memory (step 2), the completion of the data transfer from the host computer side is confirmed (step 3), and the data of sector N is read. Confirm the end of (step 4) The new 1024-byte data after rewriting is synthesized in the buffer memory (step 5), and write data obtained by adding an error correction code to the new 1024-byte data is written to the MO disk (step 6). It was like that.
[0012]
Alternatively, as shown in the flowchart of FIG. 9, when there is a write request from the host computer side, first, the 1024-byte data of sector N including the corresponding data is assigned to the addresses corresponding to logical sector M and logical sector M + 1 in the buffer memory. Read (step 1), confirm the end of reading of data in sector N (step 2), and directly transfer 512-byte data to be rewritten from the host computer side to the address corresponding to logical sector M + 1 of the buffer memory (step 3) After confirming the end of data transfer from the host computer side (step 4), write data in which an error correction code is added to the new 1024 bytes of data after rewriting is written to the MO disk (step 5). It was like that.
[0013]
[Problems to be solved by the invention]
However, when data is rewritten by the procedure shown in the flowchart of FIG. 8 described above, it is necessary to synchronize with the end of data transfer from the host computer side and the end of reading of data in sector N of the disk. In order to synthesize new 1024 bytes of data after rewriting in the buffer memory, there is a problem that the effective processing time becomes long.
[0014]
Further, when data is rewritten by the procedure shown in the flowchart of FIG. 9 described above, there is a problem that data transfer from the host computer side must be performed after completion of reading of data of sector N of the disk. there were.
[0015]
Therefore, in view of the conventional problems as described above, an object of the present invention is to provide a data storage device that can perform data transfer in a short transfer time without having to control the arrival order of data with respect to the data rewrite section. It is to provide.
[0017]
[Means for Solving the Problems]
According to a first aspect of the present invention, there is provided a data storage device including a storage unit capable of storing data by designating an address where data is stored with a constant bit length as one data unit, and a first data length of the first data First input means for inputting a first request signal for requesting storage to the storage means, and second data shorter than the first data length replaced with a part of the first data Second input means for receiving a second request signal for requesting storage of the second long data in the storage means irrespective of the arrival order of the data input from the first input means; First address generation means for generating an address for storing data input from the first input means in the storage means, and data input from the second input means are stored in the storage means Part of the first data The basis of the second address generating means for generating an address for recombinant stores, and inhibition starting address and prohibition release address part of the storage of the first data to be replaced with the second data that is set in advance in the Address detecting means for detecting an address area in which the second data is stored, and an address at which the second data is stored based on a detection result by the address detecting means. In the case where the first data is stored in the storage means, the first data storage address is not the address where the second data is stored. to release the suppression of storage operation of the data of the storage means, and characterized in that the first data and a control means for controlling to store into the memory means That.
[0018]
A data storage device according to a second aspect of the invention is the data storage device according to the first aspect of the invention, wherein the response signal outputs a response signal based on the output of the first input means to which the first request is input. An output means is further provided.
[0019]
Further, the data storage device according to the third invention is the data storage device according to the second invention, wherein the response signal output means is a period during which the storage of the first data in the storage means is suppressed. Is also characterized by outputting a response signal.
[0020]
Further, the data storage device according to the fourth invention is the data storage device according to the first invention, wherein the address detection means includes an address generated from the first address generation means, a write prohibition start address, and a prohibition. Two comparison means for comparing with each of the release addresses are provided.
[0021]
[Action]
In the data storage device according to the first aspect of the present invention, the first data length of the first data is stored in the storage means capable of storing the data by designating an address where the data is stored with a constant bit length as one data unit . A first request signal for requesting storage is input to the first input means, and the second data having a second data length shorter than the first data length is replaced with a part of the first data. A second request signal for requesting storage in the storage means is input to the second input means regardless of the arrival order of the data input from the first input means, and input from the first input means An address for storing the data to be stored in the storage means is generated by the first address generation means, and the data input from the second input means is one of the first data stored in the storage means. Replace with part An address for storing generated by the second address generating means, the address detecting means of the first data to be replaced with the second above data Ru preset address area stored the second data temporary Is detected on the basis of the prohibition start address and prohibition release address of the storage of the data , and the control means detects that the storage address of the first data is the address where the second data is stored. In the case where the first data is stored, the storage operation of the first data in the storage unit is suppressed, and when the storage address of the first data is not the address where the second data is stored, the first data is stored. The control of storing the first data in the storage unit is performed by releasing the suppression of the storage operation of the data in the storage unit .
[0022]
In the data storage device according to the second invention, in the data storage device according to the first invention, a response signal is output based on the output of the first input means to which the first request is inputted by the response signal output means To do.
[0023]
Further, in the data storage device according to the third invention, in the data storage device according to the second invention, the response signal output means suppresses the storage of the first data in the storage means. Also outputs a response signal.
[0024]
Furthermore, in the data storage device according to the fourth invention, in the data storage device according to the first invention, the address detection means includes an address generated from the first address generation means, a write prohibition start address, and a prohibition. Each is compared with the two comparison means with the release address.
[0025]
【Example】
Hereinafter, an embodiment of a data storage device according to the present invention will be described in detail with reference to the drawings.
[0026]
The embodiment shown in the block diagram of FIG. 1 is one in which the present invention is applied to an MO disk driver that records and reproduces data with respect to an MO disk 1 of 5.25 inch ISO format.
[0027]
In this MO disk driver, the MO disk 1 is rotationally driven by a spindle motor 2 at a predetermined rotational speed. An optical pickup 3 disposed so as to face the recording / reproducing surface of the MO disk 1 incorporates an actuator controlled by an actuator control unit 4 so as to focus the light beam on the recording / reproducing surface. Focus servo and tracking servo for scanning the track on the recording / reproducing surface with the boom spot of the light beam.
[0028]
A coil 5 disposed so as to face the optical pickup 3 with the MO disk 1 in between is driven by a drive circuit 7 controlled by a system controller 6 and generates a magnetic field during recording.
[0029]
The signal optically read from the track on the recording / reproducing surface of the MO disk 1 by the optical pickup 3 is amplified by the RF signal processing block 8 and then binarized, and is converted into data and clock by the data separator 9. The result is separated and input to the modulation / demodulation format control unit 10.
[0030]
The modulation / demodulation / format control unit 10 performs various mark detection, data modulation / demodulation, error correction encoding, decoding, etc. according to the disk format, and transfers only data to be sent to the host computer to the buffer memory control unit 11. In the buffer memory control unit 11, data is written into the buffer memory 12 while performing competition control with transfer from other transfer channels. The data stored in the buffer memory 12 is read from the buffer memory 12 and sent to the host interface control unit 13 as appropriate in accordance with the use of the interface with the host computer. Forwarded to
[0031]
When recording, on the contrary, the data transferred from the host computer via the host interface 14 is stored in the buffer memory 12 via the host interface control unit 13, and the buffer memory control unit 11 performs timely recording. The data is read from the buffer memory 12 and input to the modulation / demodulation / format control unit 10. The modulation / demodulation / format control unit 10 generates write data by adding data modulation, error correction code, and the like. Then, the write data is synchronously controlled with the address of the sector to be written, etc., transferred to the laser drive unit 15 and written on the MO disk 1.
[0032]
As shown in FIG. 2, the buffer memory control unit 11 in the MO disk driver includes a transfer request receiving unit 21, an ACK selector 22, an address counter 23, and a timing generator controlled by the output of the transfer request receiving unit 21. 24, first and second comparators 25 and 26 to which the output of the address counter 23 is supplied, an RS flip-flop 27 to which the outputs of the first and second comparators 25 and 26 are supplied, and the timing generator An AND gate 28 to which 24 outputs are supplied, first and second OR gates 29, 30 and the like are provided.
[0033]
The transfer request receiving unit 21 receives transfer requests REQA and REQB from the two data transfer channels A and B, and also performs contention control when REQA and REQB come simultaneously. For example, when data is written from the channel A, the address counter 23 generates a transfer destination memory address, and the timing generator 24 generates write signals CS and WE for the buffer memory 12 and a transfer acknowledge ACK. It is generated at the timing.
[0034]
The ACK selector 22 is a selector that returns an ACK of the channel corresponding to the transfer request, and operates based on the output of the transfer request reception unit 21.
[0035]
Further, the first and second comparators 25 and 26 are comparators that compare a preset value with an address counter value obtained by the address counter 23, respectively, and detect a match between them . The comparator 25 detects the coincidence with the address counter value a when the write is prohibited, and the second comparator 26 detects the coincidence with the address counter value b when the write inhibition is released.
[0036]
For example, when writing data from channel A, when the address counter value of channel A reaches a, the output of the first comparator 25 becomes active, and the output of the RS flip-flop 27 (write inhibit signal WD). ) Becomes active. As a result, as shown in the timing chart of FIG. 3, the data write signals CS and WE from the channel A are prohibited from becoming active. However, for subsequent transfers from channel A, the REQ / ACK handshake is performed as it is, and the channel A address counter continues counting. When the address counter value reaches b, the output of the second comparator 26 becomes active, and the output (write inhibit signal WD) of the RS flip-flop 27 becomes inactive. As a result, as shown in the timing chart of FIG. 3, the data write signals CS and WE from channel A become active.
[0037]
As described above, writing of data from the channel A to the buffer memory 12 can be prohibited only in a section where the address counter value is a to b.
[0038]
When rewriting only 512 bytes of data from the host computer, 1024 bytes from the sector including rewrite data are read from the MO disk 1 on the channel A while receiving the data to be rewritten from the host computer in the buffer memory 12. On the other hand, the first and second comparators 25 and 26 compare and detect the address corresponding to the rewrite data with predetermined address counter values a and b, so that the rewrite data data out of the read data from the MO disk 1 is detected. Only the part of is prohibited from writing.
[0039]
That is, when rewriting 512-byte data of the logical sector M + 1, for example, among the 1024-byte data of the physical sector N composed of the logical sector M and the logical sector M + 1 as shown in FIG. As shown in the flowchart, when there is a write request from the host computer side, first, the 512-byte data to be rewritten is directly transferred from the host computer side to the address corresponding to the logical sector M + 1 of the buffer memory 12 (step 1). 1024 bytes of data is read out, and only the data of the logical sector M is read into the address corresponding to the logical sector M in the buffer memory 12 (step 2), and the completion of reading of the data of the sector N is confirmed (step 3). Data from the host computer Verify the completion of the transfer (Step 4), and writes the new 1024-byte data of write data by adding error correction codes to the MO disc (step 5).
[0040]
In the above-described embodiment, the second comparator 26 detects that the address counter value has reached b and cancels the prohibition of data writing to the buffer memory 12. Instead of the comparator 26, a presettable down counter 36 for counting the number of ACKs may be used as shown in FIG.
[0041]
The presettable down counter 36 is controlled in counting operation by the output of the RS flip-flop 27 (write inhibit signal WD), and performs a count operation only during write inhibit. In the presettable down counter 36, the number of data for which only input transfer is performed without writing in the buffer memory 12 during the write inhibition is set in the presettable down counter 36 in advance.
[0042]
When the number of transfer data during write inhibit reaches a set value, the RS flip-flop 27 is reset by the ripple carry output (CY) from the presettable down counter 36, and the write inhibit signal WD is made inactive. To do. As a result, the data write signals CS and WE from channel A become active.
[0043]
【The invention's effect】
In the data storage device according to the first aspect of the present invention, the first data length of the first data is stored in the storage means capable of storing the data by designating an address where the data is stored with a constant bit length as one data unit . A first request signal for requesting storage is input to the first input means, and the second data having a second data length shorter than the first data length is replaced with a part of the first data. A second request signal for requesting storage in the storage means is input to the second input means regardless of the arrival order of the data input from the first input means, and input from the first input means An address for storing the data to be stored in the storage means is generated by the first address generation means, and the data input from the second input means is one of the first data stored in the storage means. Replace with part An address for storing generated by the second address generating means, the address detecting means of the first data to be replaced with the second above data Ru preset address area stored the second data temporary Is detected on the basis of the prohibition start address and prohibition release address of the storage of the data , and the control means detects that the storage address of the first data is the address where the second data is stored. In the case where the first data is stored, the storage operation of the first data in the storage unit is suppressed, and when the storage address of the first data is not the address where the second data is stored, the first data is stored. after release the suppression of the storage operation to the memory means of the data, which the first data since the control for storing into the memory means, two independent of Performs the transfer of data in parallel from, it is not necessary to control the like arrival order data for the rewriting interval, it is possible to shorten the transfer time.
[0044]
In the data storage device according to the second invention, in the data storage device according to the first invention, a response signal is output based on the output of the first input means to which the first request is inputted by the response signal output means can do.
[0045]
Further, in the data storage device according to the third invention, in the data storage device according to the second invention, the response signal output means suppresses the storage of the first data in the storage means. Can also output a response signal.
[0046]
Furthermore, in the data storage device according to the fourth invention, in the data storage device according to the first invention, the address detection means includes an address generated from the first address generation means, a write prohibition start address, and a prohibition. By comparing with each other by means of two comparison means with the release address, it is possible to securely inhibit the data writing and release it.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an MO disk driver to which the present invention is applied.
FIG. 2 is a block diagram showing a main configuration of a buffer memory control unit in the MO disk driver.
FIG. 3 is a timing chart showing an operation of the buffer memory control unit.
FIG. 4 is a diagram schematically showing a sector structure of an MO disk in which data is rewritten by the MO disk driver.
FIG. 5 is a flowchart showing a procedure for rewriting data in the MO disk driver.
FIG. 6 is a block diagram showing another example of the main configuration of the buffer memory control unit.
FIG. 7 is a diagram showing a 5.25 inch ISO format of 1024 bytes / sector.
FIG. 8 is a flowchart showing a procedure for rewriting data in a conventional MO disk driver.
FIG. 9 is a flowchart showing another procedure for rewriting data in the MO disk driver.
[Explanation of symbols]
1... MO disk 8... Modulation / demodulation / format control unit 11... Buffer memory control unit 12... Buffer memory 13. Control unit 21 ··· Transfer request accepting unit 22 ··· ACK selector 23 ··· Address counter 24 ··· Timing generators 25 and 26 ··· Comparator 27 ··· ··· RS flip-flop 28 ··· AND gates 29 and 30 ··· OR gate 36 ······ Presettable down counter

Claims (4)

一定ビット長を1データ単位としてデータが記憶されるアドレスを指定してデータの記憶が可能な記憶手段と、
第1のデータ長の第1のデータの上記記憶手段への記憶の要求をする第1の要求信号が入力される第1の入力手段と、
上記第1のデータの一部と置き換えられる上記第1のデータ長よりも短い第2のデータ長の第2のデータを上記第1の入力手段から入力されるデータの到着順序と無関係に上記記憶手段への記憶を要求する第2の要求信号が入力される第2の入力手段と、
上記第1の入力手段から入力されるデータを上記記憶手段に記憶するためのアドレスを生成する第1のアドレス生成手段と、
上記第2の入力手段から入力されるデータを上記記憶手段に記憶される第1のデータの一部と置き換えて記憶するためのアドレスを生成する第2のアドレス生成手段と、
あらかじめ設定される上記第2のデータに置き換える上記第1のデータの一部の記憶の禁止開始アドレスと禁止解除アドレスとに基づいて上記第2のデータが記憶されるアドレス領域を検出するアドレス検出手段と、
上記アドレス検出手段による検出結果に基づいて、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスである場合には、上記第1のデータの上記記憶手段への記憶動作を抑制し、上記第1のデータの記憶アドレスが上記第2のデータが記憶されるアドレスでない場合には、上記第1のデータの上記記憶手段への記憶動作の抑制を解除して、上記第1のデータを上記記憶手段へ記憶する制御を行う制御手段と
を備えるデータ記憶装置。
Storage means capable of storing data by designating an address in which data is stored with a fixed bit length as one data unit ;
First input means to which a first request signal for requesting storage of the first data of the first data length to the storage means is input;
The second data having a second data length shorter than the first data length to be replaced with a part of the first data is stored in the memory regardless of the arrival order of the data input from the first input means. A second input means for receiving a second request signal for requesting storage in the means;
First address generation means for generating an address for storing data input from the first input means in the storage means;
A second address generating means for generating an address for storing the data input from said second input means by replacing a portion of the first data stored in the memory means,
Address detecting means for detecting an address area in which the second data is stored on the basis of the inhibition starting address and prohibition release address part of the storage of the first data to be replaced with the second data that is set in advance When,
Based on the detection result by the address detecting means, the when the storage address of the first data is an address where the second data is stored, a storage operation to the first data in the storage means If the storage address of the first data is not the address where the second data is stored, the suppression of the storage operation of the first data in the storage means is released, and the first data A data storage device comprising: control means for performing control for storing the data in the storage means.
上記第1の要求が入力された第1の入力手段の出力に基づいて応答信号を出力する応答信号出力手段を更に備える第1項記載のデータ記憶装置。  The data storage device according to claim 1, further comprising response signal output means for outputting a response signal based on an output of the first input means to which the first request is input. 上記応答信号出力手段は、上記第1のデータの上記記憶手段への記憶が抑制されている期間においても応答信号を出力する第2項記載のデータ記憶装置。  The data storage device according to claim 2, wherein the response signal output means outputs a response signal even during a period in which the storage of the first data in the storage means is suppressed. 上記アドレス検出手段は、上記第1のアドレス生成手段から生成されるアドレスと書き込みの禁止開始アドレスと禁止解除アドレスとの各々と比較する2の比較手段を備える第1項記載のデータ記憶装置。  2. The data storage device according to claim 1, wherein the address detecting means comprises two comparing means for comparing each of the address generated from the first address generating means, the write prohibition start address, and the prohibition release address.
JP28333893A 1993-11-12 1993-11-12 Data storage device Expired - Fee Related JP4058117B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28333893A JP4058117B2 (en) 1993-11-12 1993-11-12 Data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28333893A JP4058117B2 (en) 1993-11-12 1993-11-12 Data storage device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004256152A Division JP2005038593A (en) 2004-09-02 2004-09-02 Data memory device

Publications (2)

Publication Number Publication Date
JPH07141118A JPH07141118A (en) 1995-06-02
JP4058117B2 true JP4058117B2 (en) 2008-03-05

Family

ID=17664192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28333893A Expired - Fee Related JP4058117B2 (en) 1993-11-12 1993-11-12 Data storage device

Country Status (1)

Country Link
JP (1) JP4058117B2 (en)

Also Published As

Publication number Publication date
JPH07141118A (en) 1995-06-02

Similar Documents

Publication Publication Date Title
EP0297634B1 (en) Alternate storage areas in magnetooptical media
JP2762629B2 (en) Recording medium and reproducing apparatus for the recording medium
JPS6358672A (en) Information processor
JPH04335212A (en) Recording and reproducing device for bothside optical disk
JPH02216672A (en) Optical disk drive device
US6563776B1 (en) Information storage apparatus for monitoring a number of defective sectors included in a zone so as to select a substitutional area from a different zone
JPH06314174A (en) Information recording medium and information recording and reproducing device
JP4058117B2 (en) Data storage device
US7260027B2 (en) Optical storage medium in which sector address information is recorded using MSR techniques
JP2005038593A (en) Data memory device
JPS61208671A (en) Information recording method
JP2746873B2 (en) Information processing device
US6587415B1 (en) Drive unit having blank/written area identification capability
JPH09190680A (en) Information recording medium
US20020073270A1 (en) Headerless split sector format for optical disk drives
JPH09190679A (en) Information recording medium
JP2595318B2 (en) Data erasing device for rewritable recording / reproducing device
JP2844652B2 (en) Optical media recording device
JP3456001B2 (en) Disc-shaped recording medium and recording and / or reproducing apparatus for the same
JP2823172B2 (en) Rewriteable phase change optical storage system
JPS6358671A (en) Information processor
JP2735119B2 (en) Information recording method
JPH02116063A (en) Optical card
JPH0498656A (en) Discriminating method for track format
JPH10269729A (en) Disk apparatus

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040203

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040405

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040803

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041209

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20041222

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071217

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

Free format text: PAYMENT UNTIL: 20101221

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees