JP4332763B2 - File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded - Google Patents

File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded Download PDF

Info

Publication number
JP4332763B2
JP4332763B2 JP21713399A JP21713399A JP4332763B2 JP 4332763 B2 JP4332763 B2 JP 4332763B2 JP 21713399 A JP21713399 A JP 21713399A JP 21713399 A JP21713399 A JP 21713399A JP 4332763 B2 JP4332763 B2 JP 4332763B2
Authority
JP
Japan
Prior art keywords
data
recording
recorded
information
cluster
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
JP21713399A
Other languages
Japanese (ja)
Other versions
JP2001043112A (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 JP21713399A priority Critical patent/JP4332763B2/en
Publication of JP2001043112A publication Critical patent/JP2001043112A/en
Application granted granted Critical
Publication of JP4332763B2 publication Critical patent/JP4332763B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Storage Device Security (AREA)
  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、メモリ手段にデータを書込み記録し、また読取り再生する際のファイル記録方法又はファイル再生方法および、データ書込システム又はデータ読取システムおよび、データ記録再生装置および、データ書込装置又はデータ読取装置および、データが記録されたコンピュータが読み取り可能な記録媒体に関するものである。
【0002】
【従来の技術】
メモリ装置には、Tele−File(テレファイル:商品名)、ICカード、ICタグをはじめ、磁気カードや磁気シート、さらには小径のディスク記録媒体等に代表される、小記録容量のメモリ装置がある。これら小記録容量メモリ装置は、データやプログラムを記録保持するメモリ手段として機能し、円板状やカード状の記録媒体として提供されるか、または半導体メモリチップを備えて小型の筐体に格納されるか、または基板状に形成され、または台紙に添付された可搬型構成として提供されている。
【0003】
また、半導体メモリセルを内蔵する構成では、メモリセルへの記録/再生データの授受の方式として、リーダ・ライタとコネクタや露出端子を介して電気的接続する接触型と、アンテナを内蔵し電波や磁束の変化、または静電結合における静電容量の変化によりデータ送受信をする非接触型があり、同様に、内蔵する半導体メモリチップ等に書込/読取の電力供給を接触型または非接触型で為すものがある。
【0004】
これらの内でも、離れた位置からのデータ読み書きを可能にするものが非接触型データキャリアであり、非接触メモリラベルや非接触メモリタグがある。これら非接触型データキャリア(RFID)はLSI内蔵の電子タグとして具現され、非接触での通信機能とデータ記憶機能を備える薄型の半導体チップを台紙に取り付け、または埋め込まれて、台紙ごと容易に商品や製品に貼付可能な商品ラベルや商品タグとして普及しつつある。
【0005】
前記のような小記録容量のメモリ装置においては、接触型または非接触型を問わずメモリセルへの書込み又はメモリセルからの読取りを許可し、或いは規制することによる記録データの保護が必要とされるが、従来技術ではメモリ領域全体を均等分割することにより設定したクラスタをデータ保護の管理最小単位として、これらクラスタの数だけプロテクト・データを用意し、これらプロテクト・データを自身のメモリセル上に記録する構成が採用されている。
【0006】
例えば図42に示される、全記録容量が1キロバイトのメモリMem100によれば、1セクタを16バイト構成として、全体が合計64セクタに均等分割され、さらに8セクタを1単位として8個(クラスタ番号0〜7)のクラスタに均等分割されている。
【0007】
そしてクラスタ番号0のクラスタ(セクタ番号00h〜07h:hはヘキサ・デシマル表示)がシステムエリアとして割り当てられており、クラスタ番号1〜6の各クラスタ(セクタ番号が夫々08h〜0Fh、10h〜17h、18h〜1Fh、20h〜27h、28h〜2Fh、30h〜37h)がユーザエリアとして割り当てられ、さらにクラスタ番号7のクラスタ(38h〜3Fh)がデータ保護情報(プロテクト情報)の記録エリアに割り当てられている。このプロテクト情報の記録位置は各メモリ末端のクラスタに固定されていて、このクラスタ番号7のクラスタにプロテクト・データ(制限情報)と、コマンドに係るキー情報やメモリ内容の識別のためのID情報が一括して記録されている。
【0008】
プロテクト・データの構成例としては、読取り制限情報として1バイト即ち8ビットが確保され、各クラスタ毎に1ビットが割り当てられている。すなわちLSBのビットからMSBの8ビットまでが夫々、クラスタ番号0〜7のクラスタに割り当てられ、この各ビットの値が「1」のとき、対応するクラスタから記録されているデータの読出しが許可され、「0」のとき読出しが禁止される。
【0009】
さらに、書込み制限情報として他の1バイト即ち8ビットが確保され、各クラスタ毎に1ビットが割り当てられている。この1ビットの値が「1」のとき、対応するクラスタへのデータ記録が許可され、「0」のとき書込みが禁止される。
このようにして従来のデータ保護がなされる。
【0010】
また図43は、全記録容量が前記の倍の2キロバイトであるメモリMem200のメモリマップを示す。この場合は、1セクタを16バイト構成として、全体が合計128セクタに均等分割され、さらに8セクタを1単位として16個(クラスタ番号0〜15)のクラスタに均等分割されている。
そしてクラスタ番号0のクラスタ(セクタ番号00h〜07h)がシステムエリアであり、クラスタ番号1〜14の各クラスタが14個のユーザエリアであり、さらに末端にあるクラスタ番号15のクラスタ(78h〜7Fh)がデータ保護情報の記録エリアに割り当てられている。
【0011】
ここでプロテクト・データは、クラスタ個数が前記のメモリMem100に比して倍の16個であるから、読取り制限情報として前記の倍の2バイト即ち16ビットが必要となる。同様に書込み制限情報としても前記の倍の2バイト即ち16ビットが必要となる。すなわち各1バイト分が拡張部として準備されることになる。
【0012】
【発明が解決しようとする課題】
前記のような従来の構成によれば、メモリのクラスタが例えば等記録容量で予め区切られていることにより、記録長が長いファイルを記録する場合、同一ファイル内のデータでありながら、複数の区切りに及んで、複数のクラスタに亘り、記録されることがあった。このように前以てクラスタの区切りが設定され、クラスタの記録容量が固定されていることにより、記録データの末尾が或るクラスタの区切りへ至らずに終わる場合、記録データ末尾とクラスタ区切との乖離として未利用部分が発生し、この未利用部分が空き領域となる。この空き領域は他のファイルで使用できないからデッドエリアであり、このため無駄な未利用領域が固定されることになり、メモリ利用効率上は得策ではなかった。
【0013】
また、各クラスタ毎に、すなわち区切られたエリア毎にプロテクト情報が設定されるから、上記のように同一ファイルで複数のクラスタにまたがる場合は、各クラスタ毎にプロテクト情報が設定されることになり、1個のファイルに同一内容のプロテクト情報が複数個、設定されることになる。この結果、図43に示されるようにプロテクト情報のための記録領域が増加し、やはりメモリ利用効率上に問題があった。
【0014】
さらに、プロテクト情報の記録位置が固定されると、以下のような問題が生じる。新規にファイル記録を行う場合に、ファイルの記録長が長いと、既に固定位置に在るプロテクト情報クラスタによってファイルが分断されることがある。これはファイル管理上も、またアクセス効率上も問題がある。
【0015】
さらに、プロテクト情報クラスタの位置を固定して記録領域末端へ置く場合、メモリの記録容量を増大させた新記録媒体を提供するとき、新記録媒体のプロテクト情報クラスタのアドレス(新記録媒体の記録領域末端)は、それまでの小記録容量の記録媒体におけるプロテクト情報クラスタのアドレス(この記録媒体の記録領域末端)と異なることになり、このため互換性が確保されないという問題が生じることがあった。
【0016】
本発明は、前記のような従来技術における問題点を解決するためなされたもので、異なる記録容量のメモリにつき互換性を確保でき、記録領域内の未利用部分の発生がなく、しかもプロテクト情報の増大を抑えて高メモリ利用効率を具現可能なファイル記録方法又はファイル再生方法および、データ書込システム又はデータ読取システムおよび、データ記録再生装置および、データ書込装置又はデータ読取装置および、データが記録されたコンピュータが読み取り可能な記録媒体を提供することを目的とする。
【0017】
【課題を解決するための手段】
課題解決のための手段の説明に先立ち、本発明において使用する用語を簡単に説明する。但し以下は本発明の理解を助するための一説明であり、よって以下の各説明が各用語の定義、範囲等を規定するものではない。
【0018】
「データ記録再生装置」:データを記録再生可能なメモリ部と、データ書込機能またはデータ読取機能の少なくとも何れかを備えるデータ書込/読取装置とのデータ授受機能を具備して、少なくともデータ書込/読取装置から供給される指示情報(データを含む)に基づき作動可能であり、データをメモリ部へ記録・更新またはメモリ部から記録データを再生可能であり、データ書込/読取装置へ応答情報(データを含む)を供給可能に構成される。データ授受機能は、接触型、非接触型に限定されない。図39に一般的なデータ記録再生装置の一例の構成が示される。
【0019】
同図に示されるように、データ記録再生装置TFはアンテナ部201、電源部202、制御部203、メモリ部204を備えて、メモリ部204にデータを記録し、データ書込/読取装置RWと非接触でデータ授受を行うよう構成される。
【0020】
「データ書込装置」:データ記録再生装置とのデータ授受機能を具備して、データ記録再生装置へ少なくとも書込指示情報および書込データを与えてメモリ部へ記録させ、データ記録再生装置から供給される少なくとも応答情報(データを含む)を受理可能に構成される。データ授受機能は、接触型、非接触型に限定されない。
【0021】
「データ読取装置」:データ記録再生装置とのデータ授受機能を具備して、データ記録再生装置へ少なくとも読取指示情報を与え、データ記録再生装置がメモリ部から読取って供給する応答情報(データを含む)を受理可能に構成される。データ授受機能は、接触型、非接触型に限定されない。図39に一般的なデータ書込/読取装置の一例の構成が示される。
【0022】
同図に示されるように、データ書込/読取装置RWはアンテナ部205と処理部206を備え、データ記録再生装置TFと非接触でデータ授受を行うよう構成される。
【0023】
「記録媒体」:プログラムやデータのデジタル情報を予め定めた単位(ビット単位など)で再生可能に記録し且つ保持する微小記録領域の集合で構成され、基体に実装され提供される。基体は、半導体記録媒体では制御部が設けられたチップとして、磁気記録媒体では円盤(FD、HD等)やカード、タグ、スティック(磁気カード、磁気シート等)として、光学式記録媒体ではディスクとして具現される。保持されたプログラムやデータは、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取り実行可能である。図40及び図41に一般的な記録媒体の構成例が示される。
【0024】
図40に示されるように、記録媒体MeDは接触手段211を介してデータ書込/読取装置RWと接触型で信号授受を行い、また接触型で電力の供給を受ける。或いは図41に示されるように、光記録媒体LMeDは発光受光部221を備えるデータ書込/読取装置RWと、光線による非接触型で信号授受を行う構成とされる。
【0025】
「セクタ」および「クラスタ」:一般的に、ICカード、タグ等のメモリ装置に記録されるデータは、複数バイトをまとめたアクセス単位で読み書きされる。このアクセス単位はセクタ、ブロックと呼称され、例えば16バイトを1アクセス単位としている。本発明では以下、このアクセス単位を「セクタ」と記述し、また複数のセクタを纏めて「クラスタ」と記述する。
【0026】
「プロテクト情報」:着目するメモリ部または記録媒体上の任意の位置への書込みの可否、または着目するメモリ部または記録媒体上の任意の位置からの読取りの可否の、少なくとも何れかを規定する情報であり、使用者等により所望の状態に設定することができる。
【0027】
「メモリ手段」:データ記録再生装置に内蔵されるメモリ部や、記録媒体をまとめてメモリ手段として記述する。
【0028】
以下、本発明に係る手段を述べる。
【0029】
前記従来技術の課題を解決するとともに前記目的を達成するべく、本発明の請求項1に係るファイル記録方法は、データの記録再生が可能なメモリ手段を備え、
前記メモリ手段において記録が許されている任意の位置に、任意の記録長のファイルを記録してクラスタとする過程と、
前記クラスタが記録された位置と範囲、または区切り位置情報を示す記録位置情報を、データ記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
前記クラスタ毎に設定される少なくとも書込みの可否を示すプロテクト情報を、前記メモリ手段の任意の位置に記録する過程と、
前記プロテクト情報の記録位置情報を、プロテクト記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
を含むことを特徴とする。
【0030】
前記の方法によれば、メモリ手段の任意の位置に、任意の記録長のファイルの記録がなされ、且つ、このファイルを以てクラスタとするものであるから、ファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成される。したがって、ファイルの末端が同時にクラスタ末端に設定される。すなわちファイルの末端とクラスタ末端間に未利用部分が発生しない。これにより、メモリ手段上に利用されない記録領域の発生が回避され、記録領域の利用効率の向上がなされる。
しかもファイルが複数のクラスタに分割されないから、ファイル管理が容易になる。
【0031】
且つ、記録したクラスタの位置を示すデータ記録位置情報がメモリ手段上の所定の位置に記録されるから、この所定位置にあるデータ記録位置情報が参照されることにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルへのエントリが容易となり、よってファイルアクセスが容易に可能になる。
【0032】
さらに、記録したファイルのプロテクト情報がメモリ手段上の任意の位置に記録され、且つその位置を示すプロテクト記録位置情報がメモリ手段上の所定の位置に記録されるから、この所定位置にあるプロテクト記録位置情報が参照されることにより、メモリ手段上の任意の位置に記録されたプロテクト情報のアクセスが容易に可能になる。しかもプロテクト情報をメモリ手段上の任意の位置に置くことができることで、任意の位置への移動が可能となり、プロテクト情報の記録位置を可変にでき、よってメモリマップ設計の自由度が増大し、また記録容量が異なるメモリ手段間の互換性が維持される。
【0033】
また、前記のように記録長の長いファイルであっても分割されることなく1個のクラスタとして編成がなされるから、当該クラスタにプロテクト情報が1個設定されればよく、よってプロテクト情報の記録に必要な領域が減少する。これにより、限られた記録容量が有効に利用される。
【0034】
本発明の請求項2に係るファイル再生方法は、データの記録再生が可能なメモリ手段に、再生を所望するファイルが任意の記録長で任意の位置に記録されたクラスタとして存在し、
且つ所定の位置に、前記クラスタの記録された位置と範囲、または区切り位置を示す情報が、データ記録位置情報として記録され、
且つ任意の位置に、前記クラスタ毎に設定される少なくとも読取りの可否を示すプロテクト情報が記録され、
さらに前記プロテクト情報の記録された位置を示す情報が、所定の位置にプロテクト記録位置情報として記録された前記メモリ手段であり、
前記所定の位置から前記データ記録位置情報を読取り、再生を所望する前記ファイルが属する前記クラスタを確認する過程と、
前記メモリ手段の前記所定の位置から前記プロテクト記録位置情報を読取る過程と、
前記プロテクト記録位置情報に基づき、前記メモリ手段の前記任意の位置にある前記プロテクト情報を読み取る過程と、
前記プロテクト情報に基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能を確認後に、前記データ記録位置情報に基づき前記クラスタを構成する前記ファイルを読み取り再生する過程と、
を含むことを特徴とする。
【0035】
前記の方法によれば、データ記録位置情報からクラスタが確認され、プロテクト記録位置情報からプロテクト情報が読み取られ、プロテクト情報に基づきクラスタの読取り可能が確認されたのちに、当該クラスタから所望するファイルが読み取られることにより、所望のファイルの記録位置および記録長を問わず、確実に所望クラスタのアクセスがなされる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト情報が確実にアクセスされ、よってファイルの保護がなされる。
【0036】
本発明の請求項3に係るデータ書込システムは、内蔵するメモリ手段に、記録データと、記録された各記録データ夫々の位置情報が参照可能に編成されたデータ記録位置情報と、記録された前記各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報とを記録可能で、且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、少なくとも、
記録データ及び当該記録データが記録される位置情報を指定して送付する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクトデータを前記データ記録再生装置へ送付可能とする手段とを備え、
前記データ記録再生装置は、
前記記録データを前記メモリ手段の前記指定された位置へ記録する手段と、
前記データ記録位置情報を、前記メモリ手段の予め定めた第1固定位置へ記録または更新記録する手段と、
前記第1固定位置から前記データ記録位置情報を再生する手段と、
前記プロテクト情報または、前記送付されたプロテクトデータにより更新されたプロテクト情報を、前記メモリ手段の任意の位置に記録するとともに、前記プロテクト情報の記録位置を記載したプロテクト記録位置情報を、前記メモリ手段の予め定めた第2固定位置へ記録する手段と、
前記第2固定位置から前記プロテクト記録位置情報を再生する手段と、
前記プロテクト記録位置情報に基づき前記プロテクト情報を再生する手段と、
を備えることを特徴とする。
【0037】
前記のシステムによれば、与えられた任意の記録データが、指定された任意の位置に記録され、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた第1固定位置へ記録される。
したがって、以後の処理において当該第1固定位置がアクセスされることでデータ記録位置情報が得られ、これによりメモリ手段上の記録状態の確認が容易になされる。
【0038】
同様に、与えられた任意のプロテクト情報が、任意の位置に記録され、この記録位置はプロテクト記録位置情報に記載されてメモリ手段上の予め定めた第2固定位置へ記録される。したがって、当該第2固定位置がアクセスされることでプロテクト記録位置情報が得られ、このプロテクト記録位置情報によりプロテクト情報が記録されている位置が得られ、この位置がアクセスされることによりプロテクト情報が得られる。すなわちプロテクト記録位置情報を介して、任意の位置に在るプロテクト情報が得られるが、このプロテクト記録位置情報は固定位置に記録されているからアクセスは極めて容易であり、よってプロテクト情報の入手が容易になされる。
【0039】
上記のようにして、任意の記録データが任意の指定位置に記録され、且つプロテクト情報も任意の位置に記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。また記録容量が異なるメモリ手段間の互換性が維持される。
【0040】
また、プロテクト情報が任意の位置に記録可能であるから、プロテクト情報を任意の位置に移動可能であり、よって記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置移動がなされることで記録データの分断が回避され、当該記録データのアクセス効率の向上がなされる。プロテクト情報の位置が移動しても、プロテクト記録位置情報の記載内容が更新されるのみで対応がなされ、プロテクト記録位置情報の位置は常に第2固定位置にあるから、アクセス過程に変更がなく、処理が円滑になされる。
【0041】
また、長い記録長の記録データであっても分断なく記録されることにより、記録データの管理が容易になされる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個となり、よってプロテクト情報の記録に割り当てる領域が節約され、メモリ利用効率の向上がなされる。
【0042】
本発明の請求項4に係るデータ読取システムは、メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が任意の位置に記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報と、前記プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報とが前記メモリ手段の予め定めた固定位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データを前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、
を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記固定位置からの再生手段と、
前記プロテクト記録位置情報の、前記固定位置からの再生手段と、
前記プロテクト記録位置情報から得られた前記プロテクト情報の記録位置情報に基づく前記プロテクト情報の再生手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とする。
【0043】
前記のシステムによれば、データ記録位置情報から、読取りを所望する記録データのメモリ手段上の存在が確認され、プロテクト記録位置情報からプロテクト情報が読み取られ、プロテクト情報に基づき、読取りを所望する記録データの読取り許可が確認されたのちに、所望の前記記録データが前記メモリ手段から読み取られることにより、所望の記録データが記録位置および記録長を問わず、確実にアクセスされる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト情報が確実にアクセスされ、よってメモリ手段上の記録データの保護がなされる。
【0044】
本発明の請求項5に係るデータ記録再生装置は、メモリ手段を内蔵し、前記メモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能なデータ記録再生装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、
さらに記録された前記各記録データ夫々の記録位置が、参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
前記プロテクト情報の記録位置が、参照可能に編成されたプロテクト記録位置情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第1固定位置に記録されたデータに基づき、前記データ記録位置情報を前記メモリ手段から読取り、または送付された前記第1固定位置に記録されたデータおよび書込データに基づき、前記データ記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト記録位置情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された記録位置データに基づき、前記プロテクト情報を前記メモリ手段から読取り、または送付された前記記録位置データおよび書込データに基づき、前記プロテクト情報を書き込む手段と、
前記データ読取装置から送付された指定位置データに基づき、前記メモリ手段に記録されたデータを読取る手段と、
前記データ書込装置から送付された指定位置データおよび記録データに基づき、前記記録位置データを前記メモリ手段の前記指定位置へ書き込む手段と、
前記各読取り結果を前記データ書込装置またはデータ読取装置の少なくとも何れかへ送付する手段と、
前記各手段の動作結果を前記データ書込装置またはデータ読取装置の少なくとも何れかへ通知する手段と、
を備えることを特徴とする。
【0045】
前記の構成によれば、与えられた任意の記録長のデータが、指定された任意の位置に記録され、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。
したがって、以後の読取り処理等において当該固定位置がアクセスされることでデータ記録位置情報が容易に得られ、これによりメモリ手段上の記録状態の確認が容易になされる。
【0046】
同様に、与えられた任意のプロテクト情報が任意の位置に記録され、この記録位置はプロテクト記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、当該固定位置がアクセスされることでプロテクト記録位置情報が得られ、これによりプロテクト情報がどの位置に記録されていても、容易にその位置が得られる。
【0047】
さらに、各手段の動作結果がデータ書込装置またはデータ読取装置へ通知されることにより、データ書込装置またはデータ読取装置においてデータ記録再生装置の動作が確認され、データ記録再生装置の送付するデータの信憑性の検証が容易になされる。あるいは動作結果に基づき、データ書込装置またはデータ読取装置によるデータ記録再生装置の制御が可能になる。
【0048】
本発明の請求項6に係るデータ記録再生装置は、メモリ手段を内蔵し、前記メモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能なデータ記録再生装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
前記プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第1固定位置に記録されたデータに基づき、前記データ記録位置情報を前記メモリ手段から読取り、または送付された前記第1固定位置に記録されたデータおよび書込データに基づき、前記データ記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト記録位置情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト情報を書き込む手段と、
前記データ読取装置または前記データ書込装置から送付された指定位置データと前記プロテクト情報を照合して当該指定位置の読取許可または書込許可を確認する照合手段と、
前記照合結果および前記データ読取装置から送付された指定位置データに基づき、前記メモリ手段に記録されたデータを読取る手段と、
前記照合結果および前記データ書込装置から送付された指定位置データおよび記録データに基づき、前記記録データを前記メモリ手段の前記指定位置へ書き込む手段と、
を備えることを特徴とする。
【0049】
前記の構成によれば、与えられた任意の記録長のデータが、指定された任意の位置に記録され、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。
したがって、以後の読取り処理等において当該固定位置がアクセスされることでデータ記録位置情報が容易に得られ、これによりメモリ手段上の記録状態の確認が容易になされる。
【0050】
同様に、与えられた任意のプロテクト情報が任意の位置に記録され、この記録位置はプロテクト記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、当該固定位置がアクセスされることでプロテクト記録位置情報が得られ、これによりプロテクト情報がどの位置に記録されていても、容易にその位置が得られる。
【0051】
さらに、指定位置データとプロテクト情報との照合がデータ記録再生装置内において為され、許可が確認された場合にのみ記録または再生が実行される。これにより不適切な処理の実行が排除されるから、例えば不正なデータ書込読取装置から入力された不正書込指示または不正読取指示の排除がなされる。
【0052】
本発明の請求項7に係るデータ書込装置は、メモリ手段を内蔵し、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対して、データ授受が可能なデータ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報が参照可能に編成したデータ記録位置情報を予め定めた固定位置から再生するよう指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を予め定めた固定位置から再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記プロテクト情報を再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記データ記録再生装置へ書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに送付する手段と、
前記記録データが書込まれた後に、前記データ記録位置情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、前記プロテクト情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
を備えることを特徴とする。
【0053】
前記の構成によれば、データ記録再生装置のメモリ手段の固定位置に記録されたデータ記録位置情報およびプロテクト記録位置情報が読み取られ、このプロテクト記録位置情報に基づき任意の位置に記録されているプロテクト情報が入手される。したがって、プロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報が確実にアクセスされる。
ついでプロテクト情報により、書込みを所望する記録データが記録される所望の記録位置が書込可能であることが確認された後に、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に書き込まれる。さらに記録データの書込後に、メモリ手段上の固定位置にあるデータ記録位置情報の更新書込がなされ、またプロテクト情報の更新書込がなされる。
したがって、以後の処理において当該固定位置がアクセスされることでデータ記録位置情報が得られ、これによりメモリ手段上の記録データの記録位置の入手が容易になされる。
【0054】
上記のようにして、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に記録され、且つプロテクト情報も任意の位置に記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、利用不能の空き領域の発生が回避されてメモリ利用効率の向上がなされる。また記録容量が異なるメモリ手段間の互換性が実現される。
【0055】
さらに、記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置移動がなされることで記録データの分断が回避され、当該記録データのアクセス効率の向上がなされる。
【0056】
また、長い記録長の記録データであっても分断なく記録されることにより、記録データの管理が容易になされる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個となり、よってプロテクト情報の記録に割り当てる領域が節約され、メモリ利用効率の向上がなされる。
【0057】
本発明の請求項8に係るデータ読取装置は、データを指定された位置へ再生可能に記録するメモリ手段を内蔵するデータ記録再生装置に対してデータ授受が可能な、データ読取装置であって、
前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記メモリ手段の予め定めた第1固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各データ夫々の少なくとも読取り可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記メモリ手段の予め定めた第2固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記メモリ手段からプロテクト情報を再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、所望のデータの読取を前記メモリ手段の前記読取位置から読取る指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えることを特徴とする。
【0058】
前記の構成によれば、データ記録再生装置のメモリ手段の固定位置に記録されたデータ記録位置情報およびプロテクト記録位置情報が読み取られ、このプロテクト記録位置情報に基づき任意の位置に記録されているプロテクト情報が入手される。したがって、プロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報が確実にアクセスされる。
ついでプロテクト情報により、所望の読取位置が読取可能であることが確認された後に、所望のデータがデータ記録再生装置のメモリ手段から読み取られ、データ記録再生装置から送付される。
したがって、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りがなされる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト情報が確実にアクセスされ、よってデータの保護がなされる。
【0059】
本発明の請求項9に係るファイル記録方法は、任意の記録長から成るファイルをクラスタとして記録が可能なメモリ手段へのファイル記録方法であって、
任意の記録長のファイルを、既存の最後尾のクラスタの末尾に続けて記録することにより最新クラスタとする過程と、
クラスタ毎に設定される少なくとも書込み可否を規定するプロテクトデータを全クラスタに設定されたプロテクト情報を、前記最新クラスタの末尾に続けて記録する過程と、
前記各クラスタの区切り位置または記録された位置と範囲を示す位置情報を設定し、且つ最新のクラスタを示すように設定されたデータ記録位置情報を前記メモリ手段の所定の固定位置に記録する過程と、
を含むことを特徴とする。
【0060】
前記の方法によれば、データ記録位置情報の最新クラスタの位置情報から、最新クラスタの末尾に続けて記録されるプロテクト情報の記録位置が容易に演算される。よってプロテクト情報の記録位置を示す情報を別途準備する必要がなく、この結果、メモリ利用効率およびデータ記録効率が改善される。
【0061】
また前記の方法によれば、プロテクト情報は常に最新クラスタの末尾に続けて記録がなされるから、最新クラスタの記録長が任意の長さであっても、データ記録位置情報に基づきプロテクト情報を記録する位置が演算され、容易に確定する。
【0062】
さらに、プロテクト情報とその前に在るクラスタ間にデッドスペースの発生がなく、メモリ利用効率の改善がなされる。
とりわけ、最新ユーザ・クラスタの記録が常に、既存のユーザ・クラスタの末尾に続けて為される場合は、メモリ利用効率がさらに改善される。
【0063】
本発明の請求項10に係るファイル再生方法は、任意の記録長から成るファイルがクラスタとして記録され、且つ最新クラスタが既存の最後尾のクラスタの末尾に続けて記録され、且つクラスタ毎に設定される少なくとも読取り可否を規定するプロテクトデータを全クラスタについて設定したプロテクト情報が前記最新クラスタの末尾に続けて記録され、且つ前記各クラスタの区切り位置または記録された位置と範囲を示す位置情報を設定し、且つ最新のクラスタを示すように設定されたデータ記録位置情報が所定の固定位置に記録されたメモリ手段を対象として、
前記固定位置から前記データ記録位置情報を読取り、再生を所望するファイルが属する前記クラスタを確認する過程と、
前記データ記録位置情報の前記最新クラスタの位置情報から、前記プロテクト情報の記録位置を演算する過程と、
前記記録位置に基づき前記プロテクト情報から前記読取り可否を規定するプロテクトデータを読み出す過程と、
前記プロテクトデータに基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能の確認後に、前記データ記録位置情報に基づき前記クラスタ内の前記再生を所望するファイルを再生する過程と、
を含むことを特徴とする。
【0064】
前記の方法によれば、最新クラスタの位置情報から、この最新クラスタの末尾に続けて記録されているプロテクト情報の記録位置が容易に演算される。この結果、データ再生効率が改善される。
【0065】
また前記の方法によれば、プロテクト情報は常に最新クラスタの末尾に続けて記録されているから、最新クラスタの記録長が任意の長さであっても、データ記録位置情報に基づきプロテクト情報へのエントリが容易になされる。
【0066】
本発明の請求項11に係るデータ書込システムは、メモリ手段を内蔵し、前記メモリ手段にデータを記録し、または前記メモリ手段に記録されたデータの再生が可能で且つ他の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、
記録を所望する任意の記録長の記録データ及び所望する指定記録位置を前記データ記録再生装置へ送出する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクト情報を前記データ記録再生装置へ送出可能とする手段とを備え、
前記データ記録再生装置は、
所定の固定位置に記録され、前記メモリ手段に記録された各記録データ夫々の位置情報が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す記載がなされたデータ記録位置情報を再生する手段と、
前記メモリ手段の、最新に記録された前記記録データの末尾に続く位置に記録された、各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報を再生する手段と、
前記データ書込装置から送付された前記記録データを前記メモリ手段の指定された位置へ記録する手段と、
前記記録データを前記メモリ手段へ記録後に、最新の記録データの位置情報が更新された前記データ記録位置情報を前記固定位置へ更新記録する手段と、
前記記録データを前記メモリ手段へ記録後に、前記データ書込装置から送付された前記プロテクト情報を、前記最新の記録データの末尾に続く位置に記録する手段と、
を備えることを特徴とする。
【0067】
前記のシステムによれば、与えられた任意の記録長のデータが、指定された所望位置に記録されて最新の記録データとなり、この記録位置はデータ記録位置情報にとりこまれてメモリ手段上の固定位置へ記録される。
したがって、以後の処理において当該固定位置がアクセスされることでデータ記録位置情報が得られ、これによりメモリ手段上の最新の記録データの確定および各記録データの位置の確認が容易になされる。
【0068】
また、プロテクト情報が常に、最も新しく記録された記録データの末尾に続く位置に記録される。したがって、データ記録位置情報がアクセスされることでプロテクト情報が記録されている位置が得られる。
【0069】
上記のようにして、任意の記録長の記録データが任意の指定位置に記録され、且つプロテクト情報が最新のデータ記録に続く位置に記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。
【0070】
また、長い記録長の記録データであっても分断なく記録されることにより、記録データの管理が容易になされる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個となり、よってプロテクト情報の記録に割り当てる領域が節約され、メモリ利用効率の向上がなされる。
【0071】
本発明の請求項12に係るデータ読取システムは、メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す設定がなされたデータ記録位置情報が前記メモリ手段の予め定めた固定位置に記録され、
さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が前記最新の記録データの末尾に続く位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データの前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、
を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記固定位置からの再生手段と、
前記データ記録位置情報に基づき演算された前記プロテクト情報の記録位置に基づき前記プロテクト情報を再生する手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき、該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とする。
【0072】
前記のシステムによれば、データ記録再生装置のメモリ手段上に記録されたデータ記録位置情報と、このデータ記録位置情報に記載された最新の記録データの位置情報に基づきプロテクト情報の位置が演算され、この位置に基づきプロテクト情報が入手され、所望の読取位置が読取可能であることが確認された後に、所望の記録データが所望の読取位置から読み取られてデータ記録再生装置から送付され、データ読取装置により受理される。このように、データ記録位置情報に記載された最新の記録データの位置情報からプロテクト情報が容易に得られる。また、読取を所望する記録データの記録位置および記録長を問わず、確実に所望データの読取りがなされる。
【0073】
本発明の請求項13に係るデータ書込装置は、メモリ手段を内蔵して、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対してデータ授受が可能な、データ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成し、且つ前記各記録データ中の最新の記録データの位置情報を示すように設定されたデータ記録位置情報を、予め定めた固定位置へ記録し、または再生するよう指示する手段と、
前記メモリ手段に記録された各データ夫々の少なくとも書込み可否を規定するプロテクト情報を前記最新の記録データの末尾位置に続けて記録し、または前記最新の記録データの末尾位置に続く位置から再生するよう指示する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、更新された前記データ記録位置情報を前記固定位置に書き込む指示を前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、更新された前記プロテクト情報を前記記録データの末尾位置に続けて書き込む指示を前記データ記録再生装置へ送付する手段と、
を備えることを特徴とする。
【0074】
前記の構成によれば、データ記録再生装置のメモリ手段上に記録されたデータ記録位置情報と、このデータ記録位置情報に記載された最新の記録データの位置情報に基づきプロテクト情報の記録された位置が得られ、この記録位置に基づきプロテクト情報が入手され、このプロテクト情報に基づき、記録データが記録される所望の記録位置が書込可能であることが確認された後に、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に書き込まれる。さらに記録データの書込後に、メモリ手段上の固定位置にあるデータ記録位置情報が、最新の記録データの位置情報に基づき更新され、更新書込がなされる。さらにプロテクト情報が最新の記録データの情報に基づき更新され、最新の記録データの末尾に続けて記録される。
【0075】
したがって、以後の処理においてデータ記録位置情報がアクセスされることでプロテクト情報の記録位置が演算され、これによりプロテクト情報の入手が容易になされる。
【0076】
上記のようにして、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に記録され、且つプロテクト情報もこの最新の記録データの末尾に続けて記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。
【0077】
本発明の請求項14に係るデータ読取装置は、メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置に対しデータ授受可能なデータ読取装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに、記録された前記各記録データ夫々の記録位置が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す設定がなされたデータ記録位置情報が、前記メモリ手段の予め定めた固定位置に記録され、
さらに、記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が、前記最新の記録データの末尾に続く位置に記録され、
前記データ記録再生装置から前記データ記録位置情報の送付を受ける手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記データ記録再生装置から前記プロテクト情報の送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記データ記録再生装置へ読取指示を前記所望の読取位置情報とともに送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えたことを特徴とする。
【0078】
前記の構成によれば、データ記録再生装置のメモリ手段上に記録されたデータ記録位置情報と、このデータ記録位置情報に記載された最新の記録データの位置情報に基づきプロテクト情報が入手され、所望の読取位置が読取可能であることが確認された後に、所望のデータがデータ記録再生装置のメモリ手段から読み取られてデータ記録再生装置から送付され、データ読取装置により受理される。このように、データ記録位置情報に記載された最新の記録データの位置情報からプロテクト情報が容易に得られる。また、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りがなされる。
【0079】
本発明の請求項15に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた第1固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録され、
且つ、前記プロテクト情報が記録された位置情報を収めたプロテクト記録位置情報が予め定めた第2固定位置に記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とする。
【0080】
前記の記録媒体がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取られる場合に、第2固定位置からプロテクト記録位置情報が読み取られることでプロテクト情報の記録位置が確定され、この記録位置に基づきプロテクト情報が読み取られ、このプロテクト情報と、第1固定位置から読取られたデータ記録位置情報と、書込み又は読取りを所望する位置とが比較対照されて、所望する位置への書込可否または読取可否が確認される。
【0081】
よって書込可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置へ所望する任意の記録データが記録され、且つデータ記録位置情報とプロテクト情報の更新書込みがなされる。
【0082】
また読取可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置から所望する任意の記録データが読み取られる。
【0083】
本発明の請求項16に係るデータ書込装置は、入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ書込装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記記録媒体の予め定めた固定位置から再生する手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記記録媒体からプロテクト情報を再生する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記所望の記録データを前記所望の記録位置へ書き込む手段と、
前記記録データの書込み後に、前記データ記録位置情報を更新する手段と、
前記記録データの書込み後に、前記プロテクト情報を更新する手段と、
を備えることを特徴とする。
【0084】
前記の構成によれば、記録媒体上の固定位置に記録されたデータ記録位置情報およびプロテクト記録位置情報が読み取られ、このプロテクト記録位置情報に基づき任意の位置に記録されているプロテクト情報が入手される。したがって、プロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報が確実にアクセスされる。
ついでプロテクト情報により、記録データが記録される所望の位置が書込可能であることが確認された後に、所望の記録データが記録媒体の所望の位置に書き込まれる。ついで記録データの書込後に、記録媒体上の固定位置にあるデータ記録位置情報の更新書込がなされる。さらに更新したプロテクト情報の書込がなされる。
【0085】
上記のように所望の記録データが記録媒体上の所望の位置に記録され、且つプロテクト情報も任意の位置に記録されるから、記録媒体上の未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。また記録容量が異なる記録媒体間の互換性が実現される。
【0086】
さらに、記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置移動がなされることで記録データの分断が回避され、当該記録データのアクセス効率の向上がなされる。
【0087】
また、長い記録長の記録データであっても分断なく記録されることにより、記録データの管理が容易になされる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個となり、よってプロテクト情報の記録に割り当てる領域が節約され、記録媒体の利用効率の向上がなされる。
【0088】
本発明の請求項17に係るデータ読取装置は、データを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ読取装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記記録媒体からプロテクト情報を再生する手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記読取を所望するデータを前記記録媒体の前記読取位置から読取る手段と、
を備えることを特徴とする。
【0089】
前記の構成によれば、記録媒体上の固定位置に記録されたデータ記録位置情報およびプロテクト記録位置情報が入手され、このプロテクト記録位置情報に基づき任意の位置に記録されているプロテクト情報が入手される。
ついで、所望の読取位置が読取可能であることが確認された後に、所望のデータが記録媒体から読み取られる。したがって、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りがなされる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報が確実にアクセスされ、よってデータの保護がなされる。
【0090】
本発明の請求項18に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が、前記各記録データ中の最新の記録データの記録位置に続いて記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とする。
【0091】
前記の記録媒体がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取られる場合に、固定位置から読取られたデータ記録位置情報に基づき最新の記録データの記録位置が確定され、よってこの最新の記録データに続き記録されているプロテクト情報の記録位置が確定され、この記録位置に基づきプロテクト情報が読み取られ、このプロテクト情報と、固定位置から読取られたデータ記録位置情報と、書込み又は読取りを所望する位置とが比較対照されて、所望する位置への書込可否または読取可否が確認される。
【0092】
よって書込可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置へ所望する任意の記録データが最新の記録データとして記録され、ついでこの最新の記録データに続く位置に、プロテクト情報の更新書込みがなされる。ここでプロテクト情報の内容は、最新の記録データに関するプロテクトデータが追加されて更新される。
且つ、データ記録位置情報の更新書込みがなされる。ここでデータ記録位置情報の内容は、最新の記録データに関する記録位置データが追加されて更新される。
【0093】
また読取可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置から所望する任意の記録データが読み取られる。
【0094】
本発明の請求項19に係るデータ書込装置は、任意の記録長の記録データを記録可能で任意の位置に置かれる領域と、予め定めた固定位置に置かれ、任意の位置に記録された前記各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を記録する領域と、各領域につき少なくとも書込み可否を規定するプロテクト情報を記録する領域とを有する記録媒体にアクセス可能なデータ書込装置であって、
前記データ記録位置情報には、記録された前記各記録データ中の最新の記録データの位置情報を示すように設定され、
且つ前記プロテクト情報は、前記記録媒体上の前記最新の記録データの末尾位置に続けて記録されるものとし、
前記記録媒体の前記固定位置から前記データ記録位置情報を読み取る手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記プロテクト情報を読み取る手段と、
記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能であることを確認後に、前記所望の記録データを前記記録媒体の所望の位置へ記録する手段と、
前記記録データが書込まれた後に、前記記録データを最新の記録データとして更新する前記データ記録位置情報を前記記録媒体の前記固定位置に更新記録する手段と、
前記記録データが書込まれた後に、更新する前記プロテクト情報を前記記録媒体の最新の前記記録データの末尾に続けて更新記録する手段と、
を備えることを特徴とする。
【0095】
前記の構成によれば、記録媒体上に記録されたデータ記録位置情報およびプロテクト情報が読み取られ、記録データが記録される所望の位置が書込可能であることが確認された後に、所望の記録データが記録媒体の所望の位置に書き込まれる。ついで記録データの書込後に、記録媒体上の固定位置にあるデータ記録位置情報の更新書込がなされる。さらに更新したプロテクト情報が、最新の記録データの末尾に続けて書込がなされる。
【0096】
本発明の請求項20に係るデータ読取装置は、任意の記録長の記録データを記録可能で任意の位置に置かれる領域と、予め定めた固定位置に置かれ、任意の位置に記録された前記各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を記録する領域と、各領域につき少なくとも読取り可否を規定するプロテクト情報を記録する領域とを有する記録媒体にアクセス可能なデータ読取装置であって、
前記データ記録位置情報には、記録された前記各記録データ中の最新の記録データの位置情報を示すように記載され、
且つ前記プロテクト情報は、前記記録媒体上の前記最新の記録データの末尾位置に続けて記録されるものとし、
前記記録媒体の前記固定位置から前記データ記録位置情報を読み取る手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記プロテクト情報を読み取る手段と、
記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、前記所望の再生データを前記記録媒体の所望の位置から再生する手段と、
を備えることを特徴とする。
【0097】
前記の構成によれば、記録媒体上に記録されたデータ記録位置情報から最新の記録データの位置が得られ、最新の記録データの末尾位置に基づきプロテクト情報の位置が得られ、これに基づきプロテクト情報が入手され、所望の読取位置が読取可能であることが確認された後に、所望のデータが記録媒体から読み取られる。このように、プロテクト情報が容易に得られる。また、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りがなされる。
【0098】
本発明の請求項21に係るファイル記録方法は、データの記録再生が可能なメモリ手段を備え、
前記メモリ手段において記録が許されている任意の位置に、任意の記録長のファイルを記録してクラスタとする過程と、
前記クラスタが記録された位置と範囲、または区切り位置情報を示す記録位置情報を、データ記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
前記クラスタ毎に設定される少なくとも書込みの可否を示すプロテクト情報を前記メモリ手段の所定の位置に記録する過程と、
を含むことを特徴とする。
【0099】
前記の方法によれば、メモリ手段の任意の位置に、任意の記録長のファイルの記録がなされ、且つ、このファイルを以てクラスタとするものであるから、ファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成される。したがって、ファイルの末端が同時にクラスタ末端に設定される。すなわちファイルの末端とクラスタ末端間に未利用部分が発生しない。これにより、メモリ手段上に利用されない記録領域の発生が回避され、記録領域の利用効率の向上がなされる。
しかもファイルが複数のクラスタに分割されないから、ファイル管理が容易になる。
【0100】
且つ、記録したクラスタの位置を示すデータ記録位置情報がメモリ手段上の所定の位置に記録されるから、この所定位置にあるデータ記録位置情報が参照されることにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルへのエントリが容易となり、よってファイルアクセスが容易に可能になる。
【0101】
さらに、記録したファイルのプロテクト情報がメモリ手段上の所定の位置に記録されるから、この所定位置にあるプロテクト情報が参照されることにより、メモリ手段上の任意の位置に記録されたファイルの保護が容易に可能になる。
【0102】
本発明の請求項22に係るファイル再生方法は、データの記録再生が可能なメモリ手段に、再生を所望するファイルが任意の記録長で任意の位置に記録されたクラスタとして存在し、
且つ所定の位置に、前記クラスタの記録された位置と範囲または区切り位置を示す情報が、データ記録位置情報として記録され、
且つ所定の位置に、前記クラスタ毎に設定される少なくとも読取りの可否を示すプロテクト情報が記録された前記メモリ手段であり、
前記所定の位置から前記データ記録位置情報を読取り、再生を所望する前記ファイルが属する前記クラスタを確認する過程と、
前記メモリ手段の前記所定の位置から前記プロテクト情報を読み取る過程と、
前記プロテクト情報に基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能の確認後に、前記データ記録位置情報に基づき前記クラスタ内の前記ファイルを読み取り再生する過程と、
を含むことを特徴とする。
【0103】
前記の方法によれば、データ記録位置情報からクラスタが確認され、読み取られたプロテクト情報に基づきクラスタの読取り可能が確認されたのちに、当該クラスタから所望するファイルが読み取られることにより、所望のファイルの記録位置および記録長を問わず、確実に所望クラスタのアクセスがなされる。しかもプロテクト情報が所定の位置に記録されていることで、プロテクト情報が確実にアクセスされ、よってファイルの保護が容易になされる。
【0104】
本発明の請求項23に係るデータ書込システムは、内蔵するメモリ手段に記録データを記録する記録手段と、前記メモリ手段に記録された各記録データ夫々の位置情報が参照可能に編成されたデータ記録位置情報の記録および再生手段と、前記メモリ手段に記録された前記各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録および再生手段を備え、外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、少なくとも、
記録データ及び当該記録データが記録される位置情報を指定して送付する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクトデータを前記データ記録再生装置へ送付可能とする手段とを備え、
前記データ記録再生装置は、
前記記録データを前記メモリ手段の前記指定された位置へ記録し、記録後に、更新された前記データ記録位置情報を前記メモリ手段の予め定めた第1固定位置へ記録する手段と、
前記送付されたプロテクトデータにより更新されたプロテクト情報を前記メモリ手段の予め定めた第2固定位置へ記録する手段と、
前記データ記録位置情報を前記第1固定位置から再生する手段と、
前記プロテクト情報を前記第2固定位置から再生する手段と、
を備えることを特徴とする。
【0105】
前記のシステムによれば、与えられた任意の記録データが、指定された任意の位置に記録され、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた第1固定位置へ記録される。したがって、以後の処理において当該第1固定位置がアクセスされることでデータ記録位置情報が得られ、これによりメモリ手段上の記録状態の確認が容易になされる。
【0106】
同様に、与えられた任意のプロテクト情報が、メモリ手段上の予め定めた第2固定位置へ記録される。したがって、当該第2固定位置がアクセスされることでプロテクト情報が得られ、これにより任意の記録データの保護が容易になされる。
【0107】
上記のようにして、任意の記録データが任意の指定位置に記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。
【0108】
本発明の請求項24に係るデータ読取システムは、メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データの前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記第1固定位置からの再生手段と、
前記プロテクト情報の、前記第2固定位置からの再生手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とする。
【0109】
前記のシステムによれば、第1固定位置のデータ記録位置情報から、読取りを所望する記録データのメモリ手段上の存在が確認され、第2固定位置から読み取られたプロテクト情報に基づき、読取りを所望する記録データの読取り可能が確認されたのちに、所望の前記記録データが前記メモリ手段から読み取られることにより、所望の記録データが記録位置および記録長を問わず、確実にアクセスされる。しかもプロテクト情報が第2固定位置に記録されていることによりプロテクト情報が容易にアクセスされ、よってメモリ手段上の記録データの保護が容易になされる。
【0110】
本発明の請求項25に係るデータ書込装置は、メモリ手段を内蔵して、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対してデータ授受が可能な、データ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を予め定めた第1固定位置から再生するよう指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各データ夫々の少なくとも書込み可否を規定するプロテクト情報を予め定めた第2固定位置から再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能であることを確認後に、前記データ記録再生装置へ書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに送付する手段と、
前記記録データが書込まれた後に、前記第1固定位置に在る前記データ記録位置情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、前記第2固定位置に在る前記プロテクト情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
を備えることを特徴とする。
【0111】
前記の構成によれば、データ記録再生装置のメモリ手段上に記録されたデータ記録位置情報およびプロテクト情報が入手され、ついで記録データが記録される所望の記録位置が書込可能であることが確認された後に、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に書き込まれる。さらに記録データの書込後に、メモリ手段上の固定位置にある前記データ記録位置情報の更新書込がなされる。また記録データの書込後に、メモリ手段上の固定位置にある前記プロテクト情報の更新書込がなされる。
【0112】
したがって、以後の処理において固定位置がアクセスされることでデータ記録位置情報が得られ、これによりメモリ手段上の記録データの記録位置の入手が容易になされる。さらに固定位置がアクセスされることでプロテクト情報が得られ、これによりメモリ手段上の任意の位置の書込許可の確認が容易になされる。
【0113】
上記のようにして、所望の記録データがデータ記録再生装置のメモリ手段の所望の位置に記録されるから、メモリ手段上にある未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。
【0114】
本発明の請求項26に係るデータ読取装置は、データを指定された位置へ再生可能に記録するメモリ手段を内蔵するデータ記録再生装置に対してデータ授受が可能な、データ読取装置であって、
前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記メモリ手段の予め定めた第1固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報を、前記メモリ手段の予め定めた第2固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、前記読取を所望するデータを前記メモリ手段の前記読取位置から読取る指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えることを特徴とする。
【0115】
前記の構成によれば、何れもデータ記録再生装置のメモリ手段の固定位置に記録されたデータ記録位置情報およびプロテクト情報が入手され、ついで所望の読取位置が読取可能であることが確認された後に、所望のデータがデータ記録再生装置のメモリ手段から読み取られ、データ読取装置へ送付される。
したがって、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データの読取りがなされる。しかもプロテクト情報が固定位置に記録されているから容易にアクセスされ、よってデータの保護がなされる。
【0116】
本発明の請求項27に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた第1固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が、予め定めた第2固定位置に記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とする。
【0117】
前記の記録媒体がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取られる場合に、第2固定位置からプロテクト情報が読み取られ、このプロテクト情報と、第1固定位置から読取られたデータ記録位置情報と、書込み又は読取りを所望する位置とが比較対照されて、所望する位置への書込可否または読取可否が確認される。
【0118】
よって書込可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置へ所望する任意の記録データが記録され、且つデータ記録位置情報とプロテクト情報の更新書込みがなされる。
【0119】
また読取可能であれば、コンピュータまたはストアード・プログラム方式で動作する論理処理回路によって、所望する任意の位置から所望する任意の記録データが読み取られる。
【0120】
本発明の請求項28に係るデータ書込装置は、入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ書込装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、 前記記録媒体に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記所望の記録データを前記所望の記録位置へ書き込む手段と、
前記記録データの書込み後に、前記第1固定位置の前記データ記録位置情報を更新する手段と、
前記記録データの書込み後に、前記第2固定位置の前記プロテクト情報を更新する手段と、
を備えることを特徴とする。
【0121】
前記の構成によれば、記録媒体上に記録されたデータ記録位置情報およびプロテクト情報が読み取られ、ついで記録データが記録される所望の位置が書込可能であることが確認された後に、所望の記録データが記録媒体の所望の位置に書き込まれる。ついで記録データの書込後に、記録媒体上の第1固定位置にある前記データ記録位置情報の更新書込がなされる。さらに第2固定位置にある前記プロテクト情報の更新書込がなされる。
【0122】
上記のように所望の任意の記録長の記録データが記録媒体上の所望の任意の位置に記録されるから、記録媒体上の未利用領域の管理が容易になされ、空き領域の発生が回避されてメモリ利用効率の向上がなされる。
【0123】
本発明の請求項29に係るデータ読取装置は、データを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ読取装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記読取を所望するデータを前記記録媒体の前記読取位置から読取る手段と、
を備えることを特徴とする。
【0124】
前記の構成によれば、記録媒体上の何れも固定位置に記録されたデータ記録位置情報およびプロテクト情報が入手され、ついで所望の読取位置が読取可能であることが確認された後に、所望のデータが記録媒体から読み取られる。
したがって、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データの読取りがなされる。しかもプロテクト情報が確実にアクセスされ、よってデータの保護がなされる。
【0125】
【発明の実施の形態】
以下、この発明の好適な実施形態を添付図を参照して詳細に説明する。なお、以下に述べる実施形態は、この発明の本質的な構成と作用を示すための好適な例の一部であり、したがって技術構成上好ましい種々の限定が付されている場合があるが、この発明の範囲は、以下の説明において特にこの発明を限定する旨の記載がない限り、これらの形態に限られるものではない。
【0126】
図1は、本発明に係るデータ書込システムの一実施形態のブロック構成図である。図2は、図1に示されるメモリ部におけるデータの記録を説明するメモリマップである。さらに図3は、図1に示されるデータ書込システムの動作の説明図である。
【0127】
図1に示されるように、本発明に係るデータ書込システムは、データ書込装置WV1とデータ記録再生装置TF1を備える。
【0128】
データ書込装置WV1は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF1とのデータ授受に携わるデータ授受部Atr1、データ授受部Atr1に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw11、授受されるデータのエラー管理を実行するエラー管理手段rw12、データ記録再生装置TF1から送られデータ授受部Atr1が受けたレスポンス信号を処理するレスポンス処理手段rw13を備える。
【0129】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、データ記録再生装置TF1へ送付する各アドレスの編成と送付の管理を行うアドレス管理手段rw14、制御・伝送手段rw11からの指示および、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw15、指示情報入力手段Kbを介して入力された記録データや更新データを所定形式のデータに編成するデータ編成手段rw16、メモリ部Mem1上に形成された各クラスタのデータ保護のためのプロテクト情報クラスタPDCのエントリ・アドレス及びプロテクト情報クラスタPDC内のプロテクトデータのアドレスを管理するPDC位置情報管理手段rw17、プロテクト情報クラスタPDC内のプロテクトデータを編成するプロテクトデータ編成手段rw18を具備する。
【0130】
データ書込装置WV1は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0131】
一方、データ記録再生装置TF1は、データ書込装置WV1とのデータ授受に携わるデータ授受部Btr1、データ授受部Btr1に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段tf11、授受されるデータのエラー管理を実行するエラー管理手段tf12、データ書込装置WV1から送られデータ授受部Btr1が受けたデータから指示入力を解析する指示入力解析手段tf13、データを記録保持するメモリ部Mem1、データ書込装置WV1から送られた記録データまたは更新データを指示されたターゲットアドレスに記録する記録手段tf15、データ書込装置WV1から送られた指示に基づきメモリ部Mem1の当該アドレスから各種のデータを読み取る再生手段tf14を備える。
【0132】
メモリ部Mem1は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0133】
さらに、前記のエラー管理手段tf12または、指示入力解析手段tf13または、記録手段tf15または再生手段tf14の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf16を備える。
【0134】
データ記録再生装置TF1は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、これ以外にも、CPUを備える例えばマイクロコンピュータ(不図示)と、このマイクロコンピュータによって読取り実行可能のプログラムが格納される例えばROM(読出し専用メモリ)を備え、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0135】
また、データ授受部Atr1、Btr1は、電磁波を生成または電磁波に感応するアンテナと、送信時にアンテナへ電磁波生成のための電流を供給するとともに、受信時にアンテナで発生する感応電流から信号を取り出す送受信回路を具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
【0136】
とりわけ電磁波の受発信を行う構成では、データ書込装置WV1が発信する電磁波をデータ記録再生装置TF1が受信し、キャリア波を整流して電源電圧Vcを生成し、データ記録再生装置TF1の各部に供給する電源回路を備えた構成とすることができる。これによると、データ記録再生装置TF1側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF1の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF1の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0137】
また、図示されないがデータ書込装置WV1が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF1側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF1側の制御タイミング信号やデータ書込装置WV1側への送信キャリアとして利用できる。
【0138】
また、エラー管理手段rw12とエラー管理手段tf12は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0139】
本データ書込システムの特徴として、メモリ部Mem1へ記録される各データの配置と、ファイル管理とりわけアドレス管理がある。以下、これらの技術構成と動作を、図2に示されるメモリ部Mem1のメモリマップ及び、図3に示されるフローチャートに基づき説明する。
【0140】
図2に示されるように、メモリ部Mem1には、一つのデータブロックを1クラスタとして、複数のクラスタが記録可能に構成されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報等が記録されたシステムクラスタSCがある。
【0141】
ここでシステムクラスタSCは、メモリ部Mem1の定位置、例えば先頭部に常に記録される。一方、ユーザークラスタUCiはメモリ上の任意の位置に、任意の記録長で記録ができる。さらにプロテクト情報クラスタPDCは任意の記録長で、任意の位置に記録される。
【0142】
図示される例では、ユーザークラスタUC1が任意のアドレス領域ad10〜ad11に記録され、その記録長Ln1は任意の値が許容される。一方、プロテクト情報クラスタPDCはアドレス領域adPL〜adPHに記録され、その記録長は任意であるが、内部に記録される読取プロテクト情報PDrと書込プロテクト情報PDwは、アドレスadPL(またはadPH)を基準にした所定のオフセット量оfst1またはоfst2だけずらせたアドレスに常に記録されるものとする。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、アドレスadPLを基準にした場合、
adPr=adPL+оfst1
adPw=adPL+оfst2
で求めることができる。なおプロテクト情報クラスタPDCにはこれらプロテクト情報の他に、キーデータやファイルID等の各種情報の記録が可能である。
【0143】
システムクラスタSCには、このメモリ上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが予め定められた固定アドレスadCに、またプロテクト情報クラスタPDCの記録位置の情報を載せたプロテクト情報アドレス・テーブルPAdTが予め定められた固定アドレスadDに、それぞれ記録される。
【0144】
例えばクラスタ・アドレス・テーブルCAdTには、ユーザークラスタUC1のクラスタ番号#1と、ヘッドアドレスad10、テイルアドレスad11が表形式で記録される。ここで、各ユーザークラスタUCiを、前に位置するユーザークラスタUCjの末尾に続けて空きがなく記録する構成を採用する場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0145】
またプロテクト情報アドレス・テーブルPAdTには、プロテクト情報クラスタPDCのヘッドアドレスadPL、テイルアドレスadPHが対応させて記録される。テイルアドレスadPHは、このプロテクト情報クラスタPDC以降の任意の位置にユーザークラスタUCiを記録する場合に必要となる情報である。また、このプロテクト情報アドレス・テーブルPAdTに前記の読取プロテクト情報PDrのアドレスadPrや書込プロテクト情報PDwのアドレスadPwを記録するか、または前記オフセットоfst1、оfst2を記録するように構成してもよい。
上記のプロテクト情報のアドレス管理は、PDC位置情報管理手段rw17により実行される。
【0146】
ここで、メモリ部Mem1上の空き領域は、図示されるように新規書込可能領域NU1、NU2としてアドレス管理する構成とすることも可能である。
【0147】
データ書込装置WV1のコマンド発行手段rw15が発行する指示すなわちコマンドには、データ記録再生装置TF1内部のメモリ部Mem1へデータの記録を指示するコマンドcmWと、メモリ部Mem1からデータの再生を指示するコマンドcmRがある。
【0148】
コマンドcmWは、所望される記録データのメモリ部Mem1への記録を指示する新規記録コマンド、メモリ部Mem1上の既存ユーザークラスタUCiを書き替え記録して新ユーザークラスタUCiとすることを指示する更新記録コマンド、メモリ部Mem1に記録されたプロテクト情報クラスタPDCの内容(例えば読取プロテクト情報PDrや書込プロテクト情報PDw)の更新を指示するプロテクト情報更新コマンド、プロテクト情報クラスタPDCの記録位置の移動を指示するPDC移動コマンド、クラスタ・アドレス・テーブルCAdTやプロテクト情報アドレス・テーブルPAdTの内容の更新を指示するテーブル更新コマンドとして機能する。
【0149】
コマンドcmRは、クラスタ・アドレス・テーブルCAdTの読取りを指示する読取コマンド、プロテクト情報アドレス・テーブルPAdTの読取りを指示する読取コマンド、プロテクト情報クラスタPDCの内容(例えば読取プロテクト情報PDrや書込プロテクト情報PDw)の読取りを指示する読取コマンドとして機能する。
【0150】
各コマンドの機能の区別は、コマンドを形成するコードや、オペランドにより為される。またサブコマンドを発行する構成としてもよい。
【0151】
制御・伝送手段rw11は、コマンド発行手段rw15が発行するこれらコマンドに、アドレス管理手段rw14またはPDC位置情報管理手段rw17によるアドレスデータや、データ編成手段rw16またはプロテクトデータ編成手段rw18による記録・更新データを加えて指示入力データに編成する。
【0152】
このようにデータ書込装置WV1が送付する指示入力データの種類は、コマンドとターゲットアドレスから構成される指示入力データ、コマンドとターゲットアドレスと記録データ又は更新データから構成される指示入力データ、コマンドとターゲットアドレスとプロテクト情報更新データから構成される指示入力データ等があり、これらの指示入力データは、制御・伝送手段rw11を経てエラー管理手段rw12により符号化がなされ、データ授受部Atr1からデータ記録再生装置TF1側へ送付される。
【0153】
一方、データ記録再生装置TF1においては、データ書込装置WV1のデータ授受部Atr1から送出された指示入力データをデータ授受部Btr1が受け、制御・伝送手段tf11を経てエラー管理手段tf12により復号化/エラー訂正がなされたのち、指示入力解析手段tf13によりコマンド解析され、この解析結果に基づき記録手段tf15または再生手段tf14が作動してデータやテーブル或いはアドレスの記録・更新または再生がなされる。
【0154】
再生されたデータ(前記のテーブル等)および処理に伴うステータスは、レスポンスデータ編成手段tf16によりレスポンスデータに編成され、エラー管理手段tf12により符号化がなされ、データ授受部Btr1から送出される。
【0155】
ついでデータ書込装置WV1にあっては、データ授受部Atr1がデータ授受部Btr1から送出されたレスポンスデータを受け、制御・伝送手段rw11を経てエラー管理手段rw12により復号化/エラー訂正がなされたのち、レスポンス処理手段rw13により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0156】
つぎに図3に基づき動作を説明する。
データ書込装置WV1とデータ記録再生装置TF1の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。なお、説明の煩雑を避けるためエラー管理の処理は以下の説明において省略される。
【0157】
クラスタ管理プロセスp11では、使用者からの指示入力が発生すると、ステップ1000でデータ書込装置WV1からデータ記録再生装置TF1へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTのエントリポイントである。
【0158】
読取コマンドcmRは前記のように制御・伝送手段rw11の制御下でコマンド発行手段rw15が発行し、ターゲットアドレスadCはアドレス管理手段rw14が作成し、制御・伝送手段rw11がこれらを指示入力データに編成する。以下の各指示入力データの編成も略同様に為される。
【0159】
データ記録再生装置TF1において、この読取コマンドcmRとターゲットアドレスadCから成る指示入力データを受けると、メモリ部Mem1のアドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ1001でデータ書込装置WV1へ送付する。
【0160】
ついでステップ1002でデータ書込装置WV1からデータ記録再生装置TF1へ読取コマンドcmRとターゲットアドレスadDが送られる。アドレスadDはプロテクト情報アドレス・テーブルPAdTのエントリポイントである。
【0161】
データ記録再生装置TF1はこの指示入力データを受けると、メモリ部Mem1のアドレスadDからプロテクト情報アドレス・テーブルPAdTを読取り、これをステップ1003でデータ書込装置WV1へ送付する。
【0162】
データ書込装置WV1は、受けたプロテクト情報アドレス・テーブルPAdTから書込プロテクト情報PDwが記録されているアドレスadPwを抽出し、ステップ1004でデータ記録再生装置TF1へ読取コマンドcmRとターゲットアドレスadPwを送る。
【0163】
データ記録再生装置TF1はこの指示入力データを受けると、メモリ部Mem1のアドレスadPwから書込プロテクト情報PDwを読取り、これをステップ1005でデータ書込装置WV1へ送付する。
【0164】
続くターゲットアドレス設定プロセスp12では、入力器Kbから入力された、書込のターゲットアドレスad1に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad1の属するクラスタが書込み可能であることを確認する。
【0165】
続くクラスタ書込プロセスp13では、ステップ1006でデータ書込装置WV1がデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスad1と記録データd1を送る。データ記録再生装置TF1はメモリ部Mem1のアドレスad1へ記録データd1を記録する。そしてステータス分析プロセスp16としてステップ1016でステータスデータstatをデータ書込装置WV1へ送る。データ書込装置WV1は、このステータスデータstatを分析して記録データd1の記録が成されたことを確認する。
【0166】
この記録が終了すると、データ書込装置WV1は、記録データがさらに存在することを確認し、再度、ターゲットアドレス設定プロセスp12として入力器Kbから入力された、書込のターゲットアドレスad2に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad2の属するクラスタが書込み可能であることを確認する。
【0167】
ついで再度、クラスタ書込プロセスp13としてデータ書込装置WV1はステップ1007でデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスad2と記録データd2を送る。データ記録再生装置TF1はメモリ部Mem1のアドレスad2へ記録データd2を記録する。そして再度、ステータス分析プロセスp16としてステップ1016でステータスデータstatをデータ書込装置WV1へ送る。データ書込装置WV1は、このステータスデータstatを分析して記録データd2の記録が成されたことを確認する。
【0168】
以下同様にして記録データd3、d4の記録が進行し、やがてステップ1008でデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスadNと記録データdNが送られると、データ記録再生装置TF1はメモリ部Mem1のアドレスadNへ記録データdNを記録する。このようにして、記録データd1〜dNから成るファイルがユーザークラスタUC2として形成される。
【0169】
上記から明らかなように、使用者はこのユーザークラスタUC2の記録長と記録アドレスを所望の任意の値に設定して、メモリ部Mem1上に記録させることができる。
【0170】
続くCAdT更新書込プロセスp14では、ステップ1009でデータ書込装置WV1がデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスadCと、ユーザークラスタUC2の区切り情報を追記した更新データCAdT*を送る。データ記録再生装置TF1はメモリ部Mem1のアドレスadCへ、更新データCAdT*を記録する。これによりクラスタ・アドレス・テーブルCAdTが更新される。
【0171】
続くPDw*、PDr*更新書込プロセスp15では、ステップ1010でデータ書込装置WV1がデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスadPwと、更新する書込プロテクト情報PDwを送る。データ記録再生装置TF1はメモリ部Mem1のアドレスadPwへ、この更新する書込プロテクト情報PDwを記録する。これにより、書込プロテクト情報PDwに、新規に記録されたユーザークラスタUC2の書込プロテクト情報が追記される。
【0172】
さらに、データ書込装置WV1がデータ記録再生装置TF1へ書込コマンドcmWとターゲットアドレスadPrと、更新する読取プロテクト情報PDrを送る。データ記録再生装置TF1はメモリ部Mem1のアドレスadPrへ、この更新する読取プロテクト情報PDrを記録する。これにより、読取プロテクト情報PDrに、新規に記録されたユーザークラスタUC2の読取プロテクト情報が追記される。
【0173】
前記のように、本システムの構成によれば、ユーザークラスタの区切りを自由に設定することができるから、記録するデータの記録長を任意の所望長さで、しかも任意の位置に記録することができる。また、このファイルを以てクラスタとするものであるから、複数クラスタに分割する必要がなく、ファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成される。
【0174】
これにより、ファイルの末端が同時にクラスタ末端に設定される。すなわちファイルの末端とクラスタ末端間に不使用のデッドエリアが発生しない。これにより、メモリ部上に利用不能の未記録領域が発生するのを防止でき、よってメモリ利用効率が向上する。
【0175】
さらに、記録長の長いファイルであっても分割されることなく1個のクラスタとして編成され、ファイルが複数のクラスタに分割されないから、ファイル管理が容易になるのみならず、プロテクト情報の記録格納領域を1ファイルにつき1個にすることができ、プロテクト情報の記録領域節約が可能になる。
【0176】
またプロテクト情報クラスタPDCの位置を移動させることが可能であるから、ファイルの記録途中で記録位置が既設のプロテクト情報クラスタPDCにかかる際には、プロテクト情報クラスタPDCの位置を移動させるとよい。これによりファイルが分断されず、連続して記録を続行することができる。
【0177】
またプロテクト情報クラスタPDCをメモリ領域上の任意の位置に置くことができるから、容量が異なるメモリ部Mem1を適用する際でも、プロテクト情報クラスタPDCを同一のクラスタ番号とすることができ、論理的なクラスタとして互換性を確保することができる。
【0178】
さらに前記の方法によれば、記録したクラスタの位置を示すデータ記録位置情報がメモリ部の所定の位置に記録されるから、この所定位置にあるデータ記録位置情報が参照されることにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルへのエントリが容易にでき、よってファイルアクセスが容易になる。
【0179】
さらに、記録したファイルのプロテクト情報をメモリ部の任意の位置に記録し、且つその位置を示すプロテクト記録位置情報をメモリ部の所定の固定位置に記録するから、この所定位置にあるプロテクト記録位置情報を参照することにより、メモリ部の任意の位置に記録されたプロテクト情報を容易にアクセスすることができる。しかもプロテクト情報の記録位置を可変にできるから、メモリマップ設計の自由度が増大する。
【0180】
図4および図5は、このようにして本発明のデータ書込システムによりデータ記録がなされたメモリ部のメモリマップの例を示す。
【0181】
図4は、記録容量が1kバイトのメモリ部Mem1Kのメモリマップ例を示す。このメモリセルは1セクタを16バイトとして、全体が64セクタで構成されている。
セクタ番号00h〜02h(h:ヘキサ・デシマル表示)には、3セクタを占めるシステムクラスタが、第0クラスタC0として置かれる。このセクタ番号がアドレスとして扱われる。
【0182】
第0クラスタC0に続き順に、第1クラスタC1としてユーザエリア0(03h〜0Fhセクタ:計13セクタ分)、第2クラスタC2としてユーザエリア1(10h〜1Fhセクタ:計16セクタ分)、第3クラスタC3としてユーザエリア2(20h〜2Bhセクタ:計12セクタ分)、第4クラスタC4としてユーザエリア3(2Ch〜2Dhセクタ:計2セクタ分)、第5クラスタC5としてユーザエリア4(2Eh〜2Fhセクタ:計2セクタ分)、第6クラスタC6としてプロテクト情報クラスタPDC(30h〜37hセクタ:計8セクタ分)、第7クラスタC7としてユーザエリア5(38h〜3Fhセクタ:計8セクタ分)が、夫々記録されている。
【0183】
システムクラスタ内には、各クラスタの区分データ(Divide Data)が纏められたクラスタ・アドレス・テーブルCAdTと、各クラスタ毎に設定される読取プロテクト情報PDrと書込プロテクト情報PDwを格納したプロテクト情報クラスタPDC(図中で第6クラスタC6のPrоtect DataArea)の記録位置すなわちアドレス(30h〜37hセクタ)を示すプロテクト情報アドレス・テーブルPAdTが記録されている。
【0184】
クラスタ・アドレス・テーブルCAdTには、例えば図示されるように各クラスタ番号(#0〜#7)と、対応する末尾のセクタ番号が16進数で記録されている。
【0185】
読取プロテクト情報PDrとして1バイト(8ビット)が確保され、各クラスタ毎に1ビットが割り当てられている。すなわちLSBのビットからMSBの8ビットまでが夫々、クラスタ番号#0〜#7のクラスタに割り当てられ、この各ビットの値が「1」のとき、対応するクラスタから記録されているデータの読出しが許可され、「0」のとき読出しが禁止される。
さらに、書込プロテクト情報PDwとして1バイト(8ビット)が確保され、各クラスタ毎に1ビットが割り当てられている。この1ビットの値が「1」のとき、対応するクラスタへのデータ記録が許可され、「0」のとき書込みが禁止される。
【0186】
つぎに図5に、記録容量が2kバイトのメモリ部Mem2Kにおけるメモリマップ例を示す。このメモリセルは1セクタを16バイトとして、全体が128セクタで構成されている。
【0187】
セクタ番号00h〜02h(h:ヘキサ・デシマル表示)には、3セクタを占めるシステムクラスタが、第0クラスタC0として置かれる。このセクタ番号がアドレスとして扱われる。
【0188】
第0クラスタC0に続き順に、第1クラスタC1としてユーザエリア0(03h〜2Fhセクタ:計45セクタ分)、第2クラスタC2としてユーザエリア1(30h〜3Fhセクタ:計16セクタ分)、第3クラスタC3としてユーザエリア2(40h〜4Bhセクタ:計12セクタ分)、第4クラスタC4としてユーザエリア3(4Ch〜4Dhセクタ:計2セクタ分)、第5クラスタC5としてユーザエリア4(4Eh〜4Fhセクタ:計2セクタ分)、第6クラスタC6としてプロテクト情報クラスタPDC(50h〜57hセクタ:計8セクタ分)、第7クラスタC7としてユーザエリア5(58h〜7Fhセクタ:計40セクタ分)が、夫々記録されている。
【0189】
システムクラスタ内には、各クラスタの区分データ(Divide Data)が纏められたクラスタ・アドレス・テーブルCAdTと、各クラスタ毎に設定される読取プロテクト情報PDrと書込プロテクト情報PDwを格納したプロテクト情報クラスタPDC(図中で第6クラスタC6のPrоtect DataArea)の記録位置すなわちアドレス(50h〜57hセクタ)を示すプロテクト情報アドレス・テーブルPAdTが記録されている。
【0190】
クラスタ・アドレス・テーブルCAdTには、例えば図示されるように各クラスタ番号と、対応する末尾のセクタ番号が16進数で記録されている。
【0191】
上記のように、任意の記録長の記録データを任意の位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、メモリ上にある未利用領域の管理が容易になり、メモリ利用効率が向上する。また前記のメモリ部Mem1KとMem2Kにおけるように、記録容量が異なっていてもプロテクト情報クラスタPDCの位置は第6クラスタC6であり、よって同一クラスタ番号となり、論理的に同一処理ができるから、記録容量が異なるメモリ部Mem1KとMem2K間の互換性が確保される。
【0192】
また、長い記録長の記録データであっても分断なく記録されるから、プロテクト情報は1個となり、割り当てる領域を節約できる。
【0193】
なお、前記の構成において、データ記録再生装置TF1をマイクロコンピュータによる構成とし、ROMにマイクロコンピュータによって読取り実行可能のプログラムを格納し、前述されたデータ書込装置WV1側で実行された機能の一部をデータ記録再生装置TF1において実行する構成とすることも可能である。
【0194】
例えば、データ書込装置WV1から書込指示がターゲットアドレスad1と記録データd1とともに送付されると、データ記録再生装置TF1は予め設定されデータ記録再生装置TF1に内蔵されたアドレスadCの情報によりクラスタ・アドレス・テーブルCAdTを読取り、同様に内蔵されたアドレスadDの情報によりプロテクト情報アドレス・テーブルPAdTを読取り、書込プロテクト情報PDwが記録されているアドレスadPwを抽出して書込プロテクト情報PDwを読取り、送付されている書込のターゲットアドレスad1に基づき、書込プロテクト情報PDwを参照して、このターゲットアドレスad1の属するクラスタが書込み可能であることを確認し、ついで送付されている記録データd1をアドレスad1へ記録する。そしてステータスデータstatをデータ書込装置WV1へ送る。以上の処理が全てデータ記録再生装置TF1側のプログラムにより実行される。以下同様にして相当の部分をデータ記録再生装置TF1側で実行するように構成することができる。
【0195】
図6は、本発明に係るデータ読取システムの一実施形態のブロック構成図である。図7は、図6に示されるデータ読取システムの動作の説明図である。
図6に示されるように、本発明に係るデータ読取システムは、データ読取装置RV2とデータ記録再生装置TF2を備える。
【0196】
データ読取装置RV2は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF2とのデータ授受に携わるデータ授受部Atr2、データ授受部Atr2に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw21、授受されるデータのエラー管理を実行するエラー管理手段rw22、データ記録再生装置TF2から送られデータ授受部Atr2が受けたレスポンス信号を処理するレスポンス処理手段rw23を備える。
【0197】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、各アドレスの管理を行うアドレス管理手段rw24、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw25を具備する。
【0198】
データ読取装置RV2は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0199】
一方、データ記録再生装置TF2は、データ読取装置RV2とのデータ授受に携わるデータ授受部Btr2、データ授受部Btr2に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段tf21、授受されるデータのエラー管理を実行するエラー管理手段tf22、データ読取装置RV2から送られデータ授受部Btr2が受けたデータから指示入力を解析する指示入力解析手段tf23、データを記録保持するメモリ部Mem2、データ読取装置RV2から送られたターゲットアドレスに基づきメモリ部Mem2の当該アドレスからデータを読み取る再生手段tf24を備える。
【0200】
メモリ部Mem2は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0201】
さらに、前記のエラー管理手段tf22または、指示入力解析手段tf23または、再生手段tf24の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf26を備える。
【0202】
データ記録再生装置TF2は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0203】
また、データ授受部Atr2、Btr2は、アンテナを具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
とりわけ電磁波の受発信を行う構成では、データ読取装置RV2が発信する電磁波をデータ記録再生装置TF2が受信し、これを整流して得る電力を電源としてデータ記録再生装置TF2の各部に供給する構成とすることができる。これによると、データ記録再生装置TF2側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF2の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF2の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0204】
また、図示されないがデータ読取装置RV2が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF2側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF2側の制御タイミング信号やデータ読取装置RV2側への送信キャリアとして利用できる。
【0205】
また、エラー管理手段rw22とエラー管理手段tf22は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0206】
ここでメモリ部Mem2には、図示されるようにその先頭部から順に、システムクラスタSC、ユーザークラスタUC1、未記録エリアNU、プロテクト情報クラスタPDC、未記録エリアNU、ユーザークラスタUC2が配列されているものとし、ユーザークラスタUC2を読み取るものとする。
【0207】
システムクラスタSCは、メモリ部Mem2の先頭部に常に記録されている。一方、ユーザークラスタUC1、UC2はメモリ上の任意の位置に、任意の記録長で記録されている。さらにプロテクト情報クラスタPDCは任意の記録長で、任意の位置に記録されている。
【0208】
プロテクト情報クラスタPDCのアドレスadPrには読取プロテクト情報PDrが記録されている。さらに、ユーザークラスタUC2はアドレスad1〜アドレスadNを占め、データd1〜dNがファイルとして記録されている。
【0209】
システムクラスタSCには、このメモリ部Mem2上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが予め定められたアドレスadCに、またプロテクト情報クラスタPDCの記録位置の情報を載せたプロテクト情報アドレス・テーブルPAdTが予め定められたアドレスadDに、それぞれ記録されており、プロテクト情報アドレス・テーブルPAdTには、読取プロテクト情報PDrのアドレスadPrが記録されている。
【0210】
データ読取装置RV2のコマンド発行手段rw25が発行するコマンドには、メモリ部Mem2に記録されたユーザークラスタUCiのデータ再生を指示する再生コマンド、クラスタ・アドレス・テーブルCAdTやプロテクト情報アドレス・テーブルPAdTや、さらに読取プロテクト情報PDrの読取りを指示する読取コマンドなどがある。
【0211】
またデータ読取装置RV2は、コマンド発行手段rw25によるコマンドとアドレス管理手段rw14によるターゲットアドレスから構成される指示入力データを送信する。この指示入力データは、制御制御・伝送手段rw21を経てエラー管理手段rw22により符号化がなされ、データ授受部Atr2から送出される。
【0212】
一方、データ記録再生装置TF2においては、データ読取装置RV2のデータ授受部Atr2から送出された指示入力データをデータ授受部Btr2が受け、制御・伝送手段tf21を経てエラー管理手段tf22により復号化/エラー訂正がなされたのち、指示入力解析手段tf23によりコマンド解析され、この解析結果に基づき再生手段tf24が作動してデータやテーブル或いはアドレスの再生がなされる。
【0213】
再生されたデータおよび処理に伴うステータスは、レスポンスデータ編成手段tf26によりレスポンスデータに編成され、エラー管理手段tf22により符号化がなされ、データ授受部Btr2から送出される。
【0214】
ついでデータ読取装置RV2にあっては、データ授受部Atr2がデータ授受部Btr2から送出されたレスポンスデータを受け、制御・伝送手段rw21を経てエラー管理手段rw22により復号化/エラー訂正がなされたのち、レスポンス処理手段rw23により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0215】
つぎに本データ読取システムの動作を、図7に基づき説明する。
データ読取装置RV2とデータ記録再生装置TF2の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。
【0216】
クラスタ管理プロセスp21では、ステップ2000でデータ読取装置RV2からデータ記録再生装置TF2へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTのエントリポイントである。
【0217】
データ記録再生装置TF2において、この指示入力データを受けると、メモリ部Mem2のアドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ2001でデータ読取装置RV2へ送付する。
【0218】
ついでステップ2002でデータ読取装置RV2からデータ記録再生装置TF2へ読取コマンドcmRとターゲットアドレスadDが送られる。アドレスadDはプロテクト情報アドレス・テーブルPAdTのエントリポイントである。
データ記録再生装置TF2はこの指示入力データを受けると、メモリ部Mem2のアドレスadDからプロテクト情報アドレス・テーブルPAdTを読取り、これをステップ2003でデータ読取装置RV2へ送付する。
【0219】
データ読取装置RV2は、読取ったプロテクト情報アドレス・テーブルPAdTから読取プロテクト情報PDrが記録されているアドレスadPrを抽出し、ステップ2004でデータ記録再生装置TF2へ読取コマンドcmRとターゲットアドレスadPrを送る。
【0220】
データ記録再生装置TF2はこの指示入力データを受けると、メモリ部Mem2のアドレスadPrから読取プロテクト情報PDrを読取り、これをステップ2005でデータ読取装置RV2へ送付する。
【0221】
続くターゲットアドレス設定プロセスp22では、入力器Kbから入力された、読取りのターゲットアドレスad1に基づき、読取った読取プロテクト情報PDrを参照して、このターゲットアドレスad1の属するクラスタが読取可能であることを確認する。
【0222】
続くクラスタ読取プロセスp23では、ステップ2010でデータ読取装置RV2がデータ記録再生装置TF2へ読取コマンドcmRとターゲットアドレスad1を送る。データ記録再生装置TF2はメモリ部Mem2のアドレスad1から記録されているデータd1を再生し、ステップ2008でステータスデータstatをデータ読取装置RV2へ送ると同時に、ステップ2011で再生データd1をデータ読取装置RV2に送る。
【0223】
データ読取装置RV2では、ステータス分析プロセスp25として、受けたステータスデータstatを分析し、データd1の再生が正常に成されたことを確認すると、再生データd1を表示または出力する。
【0224】
この再生が終了すると、データ読取装置RV2は入力器Kbから入力された次のターゲットアドレスad2に基づき、読取った読取プロテクト情報PDrを参照し、このターゲットアドレスad2の属するクラスタが読取可能であることを確認する。
【0225】
ついで再度、クラスタ書込プロセスp23としてデータ読取装置RV2はステップ2012でデータ記録再生装置TF2へ読取コマンドcmRとターゲットアドレスad2を送る。データ記録再生装置TF2はメモリ部Mem2のアドレスad2から記録データd2を再生する。そして再度、ステータス分析プロセスp25としてステップ2008でステータスデータstatをデータ読取装置RV2へ送ると同時に、ステップ2013で再生データd2をデータ読取装置RV2に送る。
【0226】
データ読取装置RV2では、ステータス分析プロセスp25として、受けたステータスデータstatを分析し、データd2の再生が正常に成されたことを確認すると、再生データd2を表示または出力する。
【0227】
以下同様にして記録されたデータd3、d4の再生が進行し、やがてステップ2020でデータ記録再生装置TF2へ読取コマンドcmRとターゲットアドレスadNが送られると、データ記録再生装置TF2はメモリ部Mem2のアドレスadNからデータdNを再生し、データ読取装置RV2へ送出する。このようにして、ユーザークラスタUC2を構成するデータd1〜dNから成るファイルが読み取られる。
【0228】
前記のように、本実施形態に係るデータ読取システムによれば、データ記録位置情報から、読取りを所望する記録データのメモリ手段上の存在を確認することができる。さらに、プロテクト記録位置情報からプロテクト情報を読み取ることができ、このプロテクト情報に基づき、読取りを所望する記録データの読取り可能を確認したのちに、所望の記録データをメモリ部から読み取ることができる。したがって所望の記録データを、その記録位置および記録長を問わず、確実にアクセスすることができる。しかもプロテクト情報が何れの位置に記録されていても、プロテクト情報を確実にアクセスでき、これによりメモリ部の記録データが読取禁止であれば、これを保護することができる。
【0229】
図8は、書込みの指示入力データ及びレスポンス信号と、読取りの指示入力データ及びレスポンス信号のフォーマット例を示す図である。
【0230】
書込み時においては、メモリ部Memへ記録データを書き込む際の指示入力データは、コマンドcmW1と、ターゲットアドレスadjと、記録データdjから構成され、データ書込装置WVからデータ記録再生装置TFへ送付される。
あるいは更新データをメモリ部Memへ書き込む際の指示入力データは、コマンドcmWi(i=2、3、等)と、ターゲットアドレスadjと、更新データudjから構成され、データ書込装置WVからデータ記録再生装置TFへ送付される。
【0231】
一方、レスポンス信号はコマンドresと、ターゲットアドレスadjと、ステータスコードstatから構成され、データ記録再生装置TFからデータ書込装置WVへ返送される。
【0232】
つぎに読取り時においては、メモリ部Memからデータを読み取る際の指示入力データは、コマンドcmRと、ターゲットアドレスadjから構成され、データ読取装置RVからデータ記録再生装置TFへ送付される。
【0233】
一方、レスポンス信号はコマンドresと、ターゲットアドレスadjと、ステータスコードstatと、再生データdjから構成され、データ記録再生装置TFからデータ書込装置WVへ返送される。
【0234】
図9は、本発明に係るデータ記録再生装置の一実施形態のブロック構成図である。同図に示されるように、本実施形態のデータ記録再生装置TF3は、データを記録再生可能なメモリ部Mem3を内蔵し、外部のデータ書込装置またはデータ読取装置、或いはデータ書込読取装置と電磁波に基づくデータおよび信号授受を非接触で実行し、またデータ書込装置またはデータ読取装置から供給される電磁波に基づき電力を確保するよう構成されている。
またメモリ部Mem3には、図2に示されたメモリ部Mem1のメモリマップと略同様なテーブルやクラスタが記録されるものとし、図2に示された符号が以下で適宜援用される。
【0235】
データ記録再生装置TF3はアンテナANTと、アンテナANTに接続された送受信回路tf31と、アンテナANTが捕捉した電磁波から電力を生成させる電源回路tf32を備え、電源回路tf32が生成する電力は各部分へ供給される。送受信回路tf31としては、例えば公知のロード・モジュレーション構成をはじめ、ASK(振幅偏移変調)等の、正弦搬送波によるデジタル振幅変調系が適用可能である。
【0236】
シーケンス回路tf3033は、各回路に接続され、各回路の駆動を制御するとともに、各回路とで信号授受を行う。
【0237】
送受信回路tf31に接続されたリングバッファBufは、検波により生成された指示入力データDiを格納する。一方、エラー処理回路tf3034はリングバッファBufに接続されてリングバッファBufの内容を更新し、またレスポンス編成回路tf3311へ接続されてエラー処理結果を送付する。
【0238】
コマンド解析回路tf3035は、リングバッファBufのコマンド領域へ接続され、コマンドビットを取出し解析して解析信号を第1レジスタrg1へ入力する。
【0239】
アドレス演算回路tf3036は、リングバッファBufのアドレス領域へ接続され、ターゲットアドレスを取出して第1レジスタrg1または第2レジスタrg2へ入力する。
【0240】
データ編成回路tf3037は、リングバッファBufのデータ領域へ接続され、記録データを取出して記録回路tf3039へ入力する。
【0241】
再生回路tf3038は、メモリ部Mem3に接続されてデータを再生し、可否判定回路tf3312へ信号またはデータを入力し、また第1レジスタrg1間で信号やデータの授受を行うよう構成されている。
【0242】
記録回路tf3039は、メモリ部Mem3に接続されてデータを記録し、可否判定回路tf3312へ信号またはデータを入力し、また第1レジスタrg1、第2レジスタrg2、データ編成回路tf3037から信号またはデータを受けるよう構成されている。
【0243】
可否判定回路tf3312は、再生回路tf3038または記録回路tf3039および第2レジスタrg2から信号またはデータを受け、第1レジスタrg1と信号またはデータを授受する。
【0244】
結果通知回路tf3314は、第1レジスタrg1から信号またはデータを受け、レスポンス編成回路tf3311へ信号またはデータを送る。
【0245】
レスポンス編成回路tf3311は、エラー処理回路tf3034、第1レジスタrg1、結果通知回路tf3314から信号またはデータを受け、レスポンス信号Rsを送受信回路tf31へ出力する。
【0246】
第1レジスタrg1は、コマンド解析回路tf3035、リングバッファBuf、アドレス演算回路tf3036、再生回路tf3038、記録回路tf3039、可否判定回路tf3312、第2レジスタrg2、レスポンス編成回路tf3311に接続され、また第2レジスタrg2は、第1レジスタrg1、アドレス演算回路tf3036、記録回路tf3039、可否判定回路tf3312に接続されている。
【0247】
つぎにデータ記録再生装置TF3の動作を説明する。
書込時の動作:
1 指示入力の処理動作
アンテナANTで受信され、送受信回路tf31で検波されたビットシリアルの指示入力データDiがリングバッファBufに受けられると、この受信を検出したシーケンス回路tf3033は、エラー処理回路tf3034をトリガし、エラー処理回路tf3034はリングバッファBufの内容にエラー訂正を施してリングバッファBufの内容を更新し、確定させる。これによりリングバッファBuf上には、エラー訂正が施された指示入力データDiが所定の順序で配列され、この配列によって書込指示コマンドcmW、ターゲットアドレスadT、記録データdi、プロテクト情報データpdiが自動的に分離される。
【0248】
コマンド解析回路tf3035は、コマンドが1ビット構成のときは、このビットをビットシフトまたはビットマスクで取り出し、その値「1」または「0」によって「記録(ライト)」の指示であることを確認する。
また、コマンドが2ビット以上の構成では、マトリクス回路によりコマンド内容が確認される。
【0249】
一方、エラー処理回路tf3034が訂正不能のエラーを検出すると、レスポンス編成回路tf3311へ信号を送り、レスポンス編成回路tf3311はこの状態を示すステータスコードstatにコマンドresを加えてレスポンス信号Rsに編成して送受信回路tf31へ送り、送受信回路tf31はアンテナANTを経て送信する。このレスポンス信号Rsは指示入力データDiの再送を促すものとなる。
【0250】
2 ターゲットアドレスがどのクラスタに属するかの確認動作
リングバッファBuf上のデータが上記のようにエラー訂正されて確定すると、シーケンス回路tf3033はアドレス演算回路tf3036をトリガし、アドレス演算回路tf3036はメモリ部Mem3に記録されているクラスタ・アドレス・テーブルCAdTのエントリアドレスadC(これは予め決められセットされた固定位置)を第1レジスタrg1へ入れる。ついでシーケンス回路tf3033は再生回路tf3038をトリガする。再生回路tf3038は第1レジスタrg1の値を取り込み、メモリ部Mem3からクラスタ・アドレス・テーブルCAdTを再生して第1レジスタrg1へ転写する。
【0251】
シーケンス回路tf3033は第1レジスタrg1への書込み発生を検出すると、アドレス演算回路tf3036をトリガし、アドレス演算回路tf3036はリングバッファBuf上のターゲットアドレスadTを取出し、第1レジスタrg1の内容との比較を実行してターゲットアドレスadTの属するクラスタ番号#を確定し、このクラスタ番号#を第2レジスタrg2へ書き込む。
このようにして、ターゲットアドレスadTの属するクラスタ番号#が確定した。
【0252】
3 データ保護の確認動作
つぎにシーケンス回路tf3033は、コマンド解析回路tf3035をトリガし、コマンド解析回路tf3035は、リングバッファBuf上の確定したコマンド値(「1」か「0」)を第1レジスタrg1へ転写する。シーケンス回路tf3033は第1レジスタrg1への書込み発生を検出すると、ついでアドレス演算回路tf3036をトリガする。
【0253】
アドレス演算回路tf3036は第1レジスタrg1の内容(コマンド値)を取り込み、コマンドビットであることを判定して、メモリ部Mem3に記録されているプロテクト情報アドレス・テーブルPAdTのエントリ・アドレスadD(これは予め決められセットされた固定位置)を第1レジスタrg1へ書き込む。
【0254】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1から取り出したエントリ・アドレスadDに基づき、プロテクト情報アドレス・テーブルPAdT(これによって書込プロテクト情報PDwが記録されている位置がわかる)をメモリ部Mem3から読取り、第1レジスタrg1へ書き込む。
【0255】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、アドレス演算回路tf3036をトリガする。
アドレス演算回路tf3036は、この第1レジスタrg1の内容(PAdT)に基づき、書込プロテクト情報PDwのエントリ・ポイントadPwを読取り、これを第1レジスタrg1へ書き込む。
【0256】
このようにエントリ・ポイントadPwが第1レジスタrg1へ書込まれたことを検出すると、シーケンス回路tf3033は再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1の内容(adPw)を取り込み、メモリ部Mem3のアドレスadPwから書込プロテクト情報PDwを再生して、第1レジスタrg1へ書き込む。
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、可否判定回路tf3312をトリガする。
【0257】
可否判定回路tf3312は、第2レジスタrg2からクラスタ番号#を取り込み、さらに第1レジスタrg1から書込プロテクト情報PDwを取り込み、クラスタ番号#により指定がなされたクラスタのプロテクト情報が、書込み時の書込みを許可しているかを、値の比較によって判定する。
判定結果が書込み許可であると、「01」を、書込み禁止であると、「11」を、第1レジスタrg1へ書き込む。
【0258】
シーケンス回路tf3033は、第1レジスタrg1に書込みが発生したことを検出すると、結果通知回路tf3314をトリガする。結果通知回路tf3314は第1レジスタrg1から判定値を取り込み、その値が「11」であれば、イリーガル通知信号を発生させ、レスポンス編成回路tf3311へ出力する。レスポンス編成回路tf3311はこの信号に基づき、イリーガルであることを通知するステータスstatを載せたレスポンス信号Rsを、送受信回路tf31を経てアンテナANTから放出させる。
【0259】
一方、結果通知回路tf3314は第1レジスタrg1から取り込んだ値が「01」であれば、これによって書込み許可がなされていることを確認して、シーケンス回路tf3033へ通知信号を入力する。
【0260】
4 データ記録動作とファイル終了確認
シーケンス回路tf3033は、結果通知回路tf3314から通知信号を受けて、前記許可がなされていることを確認すると、リングバッファBuf上のターゲットアドレスadTを第1レジスタrg1へ転写し、ついで記録回路tf3039をトリガする。
【0261】
記録回路tf3039は、データ編成回路tf3037を駆動し、データ編成回路tf3037はリングバッファBuf上から記録データdiを取出して記録回路tf3039へ入力する。ついで記録回路tf3039は第1レジスタrg1からターゲットアドレスadTを取り出して、記録データdiをメモリ部Mem3上のこのアドレスの領域へ記録する。
【0262】
以上のようにして、記録データdiのメモリ部Mem3への記録が成功すると、シーケンス回路tf3033は結果通知回路tf3314に信号を送り、結果通知回路tf3314は正常終了結果をレスポンス編成回路tf3311へ出力する。レスポンス編成回路tf3311はこの信号に基づき、正常終了を通知するステータスstatを載せたレスポンス信号Rsを、送受信回路tf31を経てアンテナANTから放出させる。
【0263】
一方、電源電圧の変動などの理由で記録データdiのメモリ部Mem3への記録が不調に終わると、シーケンス回路tf3033は結果通知回路tf3314に信号を送り、結果通知回路tf3314は異常終了結果をレスポンス編成回路tf3311へ出力する。レスポンス編成回路tf3311はこの信号に基づき、異常終了を通知するステータスstatを載せたレスポンス信号Rsを、送受信回路tf31を経てアンテナANTから放出させる。この異常終了通知を受けたデータ書込装置側では、データ再送または再度書込みトライ等の適当な指示を、データ記録再生装置TF3側へ再送することになる。
【0264】
上記のようにしてデータ記録に成功した際において、ファイルデータがさらに続く場合は、データ書込装置から次の指示入力データDiが送付され、次の記録データdiがメモリ部Mem3上へ記録され、このようにしてファイルのメモリ部Mem3への記録が進行する。
【0265】
記録すべきファイルデータが終了すると、データ書込装置からEOFと、読取プロテクト情報PDr’または/および書込プロテクト情報PDw’が載った指示入力データDiが送られてくる。このEOFが載った指示入力データDiの処理は前記各ステップと同様になされ、これによりシーケンス回路tf3033はメモリ部Mem3への記録ファイルの終了を確認する。
【0266】
5 クラスタ・アドレス・テーブルCAdTの更新
以上のようにして、メモリ部Mem3上の所望の位置に、任意の記録長でファイル記録が為され、新ユーザークラスタUCiが形成された。
ここでシーケンス回路tf3033は、第1レジスタrg1上のアドレスデータ(これは新ユーザークラスタUCiの末尾のアドレス)を第2レジスタrg2へ転写し、ついでアドレス演算回路tf3036をトリガする。
【0267】
アドレス演算回路tf3036がメモリ上のクラスタ・アドレス・テーブルCAdTのエントリ・アドレスadC(これは予め決められたものがセットされている)を第1レジスタrg1へ書き出すと、シーケンス回路tf3033は記録回路tf3039をトリガし、記録回路tf3039は第1レジスタrg1から取り出したアドレスadCのメモリ領域に第2レジスタrg2の内容を追記録する。これにより新ユーザークラスタUCiの区切り情報がクラスタ・アドレス・テーブルCAdTに追記され、クラスタ・アドレス・テーブルCAdTが更新された。
【0268】
6 読取プロテクト情報PDr’と書込プロテクト情報PDw’の更新動作
つぎにシーケンス回路tf3033は、リングバッファBuf上にある、指定されたプロテクト情報(読取プロテクト情報PDr’または/および書込プロテクト情報PDw’)を第2レジスタrg2へ転写し、ついでアドレス演算回路tf3036をトリガする。このプロテクト情報は、新ユーザークラスタUCiの内容の読取り、または書き換えの禁止または許可を指定するものであり、入力により指定されている。
【0269】
アドレス演算回路tf3036は、メモリ部Mem3に記録されているプロテクト情報アドレス・テーブルPAdTのエントリ・アドレスadD(これは予め決められセットされている)を第1レジスタrg1へ書き込む。
【0270】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1から取り出したエントリ・アドレスadDに基づき、プロテクト情報アドレス・テーブルPAdTをメモリ部Mem3から読取り、第1レジスタrg1へ書き込む。
【0271】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、アドレス演算回路tf3036をトリガする。
アドレス演算回路tf3036は、この第1レジスタrg1の内容(PAdT)に基づき、読取プロテクト情報PDrのエントリ・ポイントadPrまたは書込プロテクト情報PDwのエントリ・ポイントadPwを読取り、これを第1レジスタrg1へ書き込む。
【0272】
このようにエントリ・ポイントadPrまたはadPwが第1レジスタrg1へ書込まれたことを検出すると、シーケンス回路tf3033は記録回路tf3039をトリガする。記録回路tf3039は、第1レジスタrg1の内容(adPrまたはadPw)を取り込み、メモリ部Mem3のアドレスadPrまたはアドレスadPwへ、第2レジスタrg2の内容を書き込む。なお指定されたプロテクト情報が、読取り及び書き換えの両方を指定するものであれば、上記動作を順に実行する。これにより、読取プロテクト情報PDr’または/および書込プロテクト情報PDw’が更新される。
【0273】
このようにして、新ユーザークラスタUCiの内容すなわち新ファイルの読取り許可が指定されると、以降の動作においてこの新ファイルの読取りが可能になる。また新ファイルの書込禁止が指定されると、以降の動作においてこの新ファイルの更新や削除が禁止され、新ファイルは保護される。
【0274】
また、読取プロテクト情報PDrや書込プロテクト情報PDwの位置を、任意の位置に移動させるようにし、移動先を入力で指定する構成とすることも可能である。この場合は、プロテクト情報移動指示コマンドが準備され、このプロテクト情報移動指示コマンドと、移動先を指定するターゲットアドレスadTがリングバッファBufに入力される。
このプロテクト情報の位置の移動は、例えば新規に記録作成したファイル長の関係で、既存のプロテクト情報の記録領域まで使用してデータ書込みをする場合などに効果的である。
【0275】
読取時の動作:
1 指示入力の処理動作
アンテナANTで受信され、送受信回路tf31で検波されたビットシリアルの指示入力データDiがリングバッファBufに受けられると、この受信を検出したシーケンス回路tf3033は、エラー処理回路tf3034をトリガし、エラー処理回路tf3034はリングバッファBufの内容にエラー訂正を施してリングバッファBufの内容を更新し、確定させる。これによりリングバッファBuf上には、エラー訂正が施された指示入力データDiが所定の順序で配列され、この配列によって読取指示コマンドcmR、ターゲットアドレスadTが自動的に分離される。
【0276】
コマンド解析回路tf3035は、コマンドが1ビット構成のときは、このビットをビットシフトまたはビットマスクで取り出し、その値「1」または「0」によって「再生(リード)」の指示であることを確認する。
また、コマンドが2ビット以上の構成では、マトリクス回路によりコマンド内容が確認される。
【0277】
一方、エラー処理回路tf3034が訂正不能のエラーを検出すると、レスポンス編成回路tf3311へ信号を送り、レスポンス編成回路tf3311はこの状態を示すステータスコードstatにコマンドresを加えてレスポンス信号Rsに編成して送受信回路tf31へ送り、送受信回路tf31はアンテナANTを経て送信する。このレスポンス信号Rsは指示入力データDiの再送を促すものとなる。
【0278】
2 ターゲットアドレスがどのクラスタに属するかの確認動作
リングバッファBuf上のデータが上記のようにエラー訂正されて確定すると、シーケンス回路tf3033はアドレス演算回路tf3036をトリガし、アドレス演算回路tf3036はクラスタ・アドレス・テーブルCAdTのエントリアドレスadC(これは予め決められセットされている)を第1レジスタrg1へ入れる。ついでシーケンス回路tf3033は再生回路tf3038をトリガする。再生回路tf3038は第1レジスタrg1の値を取り込み、メモリ部Mem3からクラスタ・アドレス・テーブルCAdTを再生して第1レジスタrg1へ転写する。
【0279】
シーケンス回路tf3033は第1レジスタrg1への書込み発生を検出すると、アドレス演算回路tf3036をトリガし、アドレス演算回路tf3036はリングバッファBuf上のターゲットアドレスadTを取出し、第1レジスタrg1の内容との比較を実行してターゲットアドレスadTの属するクラスタ番号#を確定し、このクラスタ番号#を第2レジスタrg2へ書き込む。
このようにして、ターゲットアドレスadTの属するクラスタ番号#が確定した。
【0280】
3 データ保護の確認動作
つぎにシーケンス回路tf3033は、コマンド解析回路tf3035をトリガし、コマンド解析回路tf3035は、リングバッファBuf上の確定したコマンド値(「1」か「0」)を第1レジスタrg1へ転写する。シーケンス回路tf3033は第1レジスタrg1への書込み発生を検出すると、ついでアドレス演算回路tf3036をトリガする。
【0281】
アドレス演算回路tf3036は第1レジスタrg1の内容(コマンド値)を取り込み、コマンドビットであることを判定して、メモリ部Mem3に記録されているプロテクト情報アドレス・テーブルPAdTのエントリ・アドレスadD(これは予め決められセットされている)を第1レジスタrg1へ書き込む。
【0282】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1から取り出したエントリ・アドレスadDに基づき、プロテクト情報アドレス・テーブルPAdT(これによって読取プロテクト情報PDrが記録されている位置がわかる)をメモリ部Mem3から読取り、第1レジスタrg1へ書き込む。
【0283】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、アドレス演算回路tf3036をトリガする。
アドレス演算回路tf3036は、この第1レジスタrg1の内容(PAdT)に基づき、読取プロテクト情報PDrのエントリ・ポイントadPrを読取り、これを第1レジスタrg1へ書き込む。
【0284】
このようにエントリ・ポイントadPrが第1レジスタrg1へ書込まれたことを検出すると、シーケンス回路tf3033は再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1の内容(adPr)を取り込み、メモリ部Mem3のアドレスadPrから読取プロテクト情報PDrを再生して、第1レジスタrg1へ書き込む。
【0285】
シーケンス回路tf3033は、第1レジスタrg1へ書込みがなされたことを検出すると、可否判定回路tf3312をトリガする。
可否判定回路tf3312は、第2レジスタrg2からクラスタ番号#を取り込み、さらに第1レジスタrg1から読取プロテクト情報PDrを取り込み、クラスタ番号#により指定がなされたクラスタのプロテクト情報が、読取りを許可しているかを、値の比較によって判定する。
【0286】
判定結果が読取り許可であると、「01」を、読取り禁止であると、「11」を、第1レジスタrg1へ書き込む。
シーケンス回路tf3033は、第1レジスタrg1に書込みが発生したことを検出すると、結果通知回路tf3314をトリガする。結果通知回路tf3314は第1レジスタrg1から判定値を取り込み、その値が「11」であれば、イリーガル通知信号を発生させ、レスポンス編成回路tf3311へ出力する。レスポンス編成回路tf3311はこの信号に基づき、イリーガルであることを通知するステータスstatを載せたレスポンス信号Rsを、送受信回路tf31を経てアンテナANTから放出させる。
【0287】
一方、結果通知回路tf3314は第1レジスタrg1から取り込んだ値が「01」であれば、これによって読取り許可がなされていることを確認して、シーケンス回路tf3033へ通知信号を入力する。
【0288】
4 データ読取動作とファイル終了確認
シーケンス回路tf3033は、結果通知回路tf3314から通知信号を受けて、前記許可がなされていることを確認すると、リングバッファBuf上のターゲットアドレスadTを第1レジスタrg1へ転写し、ついで再生回路tf3038をトリガする。再生回路tf3038は、第1レジスタrg1からターゲットアドレスadTを取り出して、メモリ部Mem3からアドレスadTに記録されているデータを再生する。
【0289】
以上のようにして、データ再生が成功すると、シーケンス回路tf3033は結果通知回路tf3314に信号を送り、結果通知回路tf3314は正常終了結果をレスポンス編成回路tf3311へ出力する。レスポンス編成回路tf3311はこの信号に基づき、正常終了を通知するステータスstatを載せたレスポンス信号Rsを、送受信回路tf31を経てアンテナANTから放出させる。
【0290】
ファイルデータがさらに続く場合は、前記の入力Diが反復され、次の記録データがメモリ部Mem3から再生され、このようにしてファイルのメモリ部Mem3からの再生が進行する。
【0291】
以上の構成と動作は、ハードウエア・ロジック回路により各部を構成させるものであった。本発明は、このハードウエア・ロジック回路による構成に限定されることなく、ストアード・プログラム方式の、CPUを備えたマイクロコンピュータを適用した構成も可能である。このようなマイクロコンピュータによる構成の場合、前記各回路の各機能は、マイクロコンピュータによって読取り実行可能なプログラムとして準備され、その実施形態は、図9に示されるようになる。
【0292】
同図で、前記のシーケンス回路tf3033は(プログラムとして構成された:以下同様)制御手段tf33に、エラー処理回路tf3034はエラー訂正手段tf34とエラー通知編成手段tf313に、結果通知回路tf3314は結果通知編成手段tf314に、コマンド解析回路tf3035はコマンド解析手段tf35に、アドレス演算回路tf3036はアドレス管理手段tf36に、データ編成回路tf3037はデータ編成手段tf37に、再生回路tf3038は再生手段tf38に、記録回路tf3039は記録手段tf39に、レスポンス編成回路tf3311はレスポンス編成手段tf311に、可否判定回路tf3312は可否判定手段tf312に、概ね対応する。
【0293】
図10は、このようなマイクロコンピュータによる構成のデータ記録再生装置TF3の動作フローチャートである。
同図に示されるように、制御手段tf33が指示入力データ受信を検出すると(ステップS1)、エラー訂正手段tf34がエラー訂正処理を実行し(ステップS2)、訂正不能のエラーが発生すれば(ステップS3)、エラー通知編成手段tf313がその旨のエラー通知を編成し(ステップS4)、ついでレスポンス編成手段tf311がレスポンスの編成・発信を行う(ステップS13)。
【0294】
ステップS2でエラーが訂正されれば、リングバッファBufの内容が訂正書き替えされ、これにより指示入力データが確定する(ステップS5)。ついでコマンド解析手段tf35が確定した指示入力データのコマンドを解析し(ステップS6)、コマンドがデータの書込か、データの読取りかを検証する(ステップS7)。
【0295】
コマンドがデータの書込みであると、可否判定手段tf312はアドレス管理手段tf36と再生手段tf38を駆動して書込プロテクト情報PDwを得て、これを参照し(ステップS8)、ターゲットアドレスとの照合を行う(ステップS9)。この照合結果が書込み禁止であれば(ステップS10)、この照合結果を得て制御手段tf33がレスポンス編成手段tf311を駆動し、レスポンス編成手段tf311はイリーガル指示である旨のレスポンス編成・発信を行う(ステップS13)。
【0296】
照合結果が書込み許可であれば(ステップS10)、この照合結果を得て制御手段tf33がデータ編成手段tf37と記録手段tf39を駆動し、メモリ部Mem3の指示された位置へ指定された記録長(これはデータ書込装置によって任意の位置と任意の記録長が指定されている)で書込記録を行う(ステップS11)。こののち制御手段tf33によって書込が正常に終了したか否かがチェックされる(ステップS12)。
【0297】
例えば、メモリセルへの書込中に電源側の何らかの原因による電圧低下が発生してメモリセルへの書込が正常に実行されなかった場合などは、書込が正常に終了しなかったとして、結果通知編成手段tf314を駆動し、結果通知編成手段tf314はその旨の通知を編成してレスポンス編成手段tf311へ送り、レスポンス編成手段tf311はその旨のレスポンス信号の編成・発信を行う(ステップS13)。一方、書込が正常に終了した場合は、その旨のレスポンス編成・発信を行う(ステップS13)。
【0298】
次にステップS7において、コマンドがデータの読取りであると、可否判定手段tf312はアドレス管理手段tf36と再生手段tf38を駆動して読取プロテクト情報PDrを得て、これを参照し(ステップS14)、ターゲットアドレスとの照合を行う(ステップS15)。この照合結果が読取禁止であれば(ステップS16)、この照合結果を得て制御手段tf33がレスポンス編成手段tf311を駆動し、レスポンス編成手段tf311はイリーガル指示である旨のレスポンス編成・発信を行う(ステップS13)。
【0299】
照合結果が読取許可であれば(ステップS16)、この照合結果を得て制御手段tf33が再生手段tf38を駆動し、メモリ部Mem3のターゲットアドレスからデータを読取再生する(ステップS17)。こののち制御手段tf33によって読取りが正常に終了したか否かがチェックされる(ステップS18)。例えば、メモリセルから読取中に電源側の何らかの原因による電圧低下が発生して読取りが正常に実行されなかった場合などは、読取りが正常に終了しなかったとして、結果通知編成手段tf314を駆動し、結果通知編成手段tf314はその旨の通知を編成してレスポンス編成手段tf311へ送り、レスポンス編成手段tf311はその旨のレスポンス信号の編成・発信を行う(ステップS13)。一方、読取りが正常に終了した場合は、その旨のレスポンス編成・発信を行う(ステップS13)。
【0300】
前記の構成によれば、与えられた任意の記録長のデータを、指定された任意の位置に記録してユーザークラスタUCiとできる。また、この記録位置はデータ記録位置情報(クラスタ・アドレス・テーブルCAdT)としてメモリ部Mem3の予め定めた固定位置へ記録されるから、以後の読取り処理等において当該固定位置をアクセスすることにより、クラスタ・アドレス・テーブルCAdTが容易に得られ、これによりメモリ部Mem3の記録状態の確認が容易にできる。
【0301】
同様に、与えられた任意のプロテクト情報をメモリ部Mem3の任意の位置に記録し、この記録した位置の情報をプロテクト情報アドレス・テーブルPAdTに記載してメモリ部Mem3の予め定めた固定位置へ記録する。したがって、この固定位置をアクセスすることにより、プロテクト情報アドレス・テーブルPAdTが得られ、これによりプロテクト情報がどの位置に記録されていても、容易にその位置を得ることができる。
【0302】
さらに、各手段の動作結果をデータ書込装置またはデータ読取装置へ通知することにより、データ書込装置またはデータ読取装置においてデータ記録再生装置の動作を確認することができ、データ記録再生装置の送付するデータの信憑性の検証が容易にできる。
例えば、動作中の電圧低下発生でフェイルした等の結果が通知されることによって、以降の対応が容易になる。
あるいは動作結果に基づき、データ書込装置またはデータ読取装置によるデータ記録再生装置の制御が可能になる。
【0303】
さらに、指定された位置データとプロテクト情報との照合をデータ記録再生装置内において実行し、許可が確認できた場合にのみ記録または再生を実行する。
これにより不適切な指示の実行を排除できる。
【0304】
上記をさらに説明すると、たとえプロテクト情報により書込み禁止または読取禁止がなされていても、書込可否または読取可否のチェック(照合)がデータ書込装置側またはデータ読取装置側だけで為され、一方においてメモリ手段を備えるデータ記録再生装置側で無照合であると、書込み禁止とされた記録領域に書込が為されるおそれがある。または読取禁止とされた記録領域から読取りが為されるおそれがある。
【0305】
こうした不都合は、通信途中での「データ化け」やノイズ混入により指示入力の内容が変質する場合や、或いは不正なデータ書込/読取装置から入力された不正書込指示または不正読取指示により発生する。
したがって、データ書込装置またはデータ読取装置が正当なものであり、さらに、これらデータ書込装置またはデータ読取装置側において照合検査がなされた後に送付された指示入力であっても、上記の不具合の発生を排除できない。
【0306】
本実施形態によれば再度、データ記録再生装置側でプロテクト情報との照合検査をすることにより、指示入力が適切である場合にのみ記録または再生が実行される。これにより不適切な指示入力を排除できるから、信頼性を向上させることができる。
【0307】
図11は、本発明に係るデータ書込・読取装置RWの一実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW3は、例えば前述のデータ記録再生装置TF3(図9参照)に対し、電磁波を発信してデータ記録再生装置TF3へ電力を供給するとともに、電磁波により指示入力データをデータ記録再生装置TF3へ送信し、またデータ記録再生装置TF3からレスポンス信号を受信するものである。
【0308】
データ書込・読取装置RW3は、各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw301、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データやデータ記録再生装置TF3から読み取ったデータ、或いは交信内容を仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpLを備える。
【0309】
さらに、使用者から入力されたコマンドに基づきコマンドを所定フォーマットで発行するコマンド発行手段rw302、使用者から入力されたターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理するアドレス管理手段rw303、使用者から入力された記録データや制御手段rw301から送付されたデータに基づき所定フォーマットでデータ編成を行うデータ編成手段rw310、使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)に基づき所定フォーマットで更新データの編成を行うプロテクト情報更新手段rw311、前記の、コマンド発行手段rw302とアドレス管理手段rw303とデータ編成手段rw310とプロテクト情報更新手段rw311からのデータに基づき指示入力データDiを編成する指示入力データ編成手段rw304を備える。
【0310】
さらに、指示入力データ編成手段rw304の出力データにエラー符号化処理を施して送信受信回路TRへ入力するとともに、送信受信回路TRが受信したレスポンスデータにエラー訂正処理を施してバッファメモリBufへ格納するエラー管理手段ER、このエラー管理手段ERから信号を受けてアンテナANTから電磁波を発信するとともに、アンテナANTが捕捉した電磁波からレスポンス信号を生成させる送信受信回路TRを備える。
【0311】
さらに、バッファメモリBufへ格納されたデータから、各種情報やアドレス情報やコマンド等を抽出するレスポンス処理手段rw306を備える。レスポンス処理手段rw306が抽出する情報には、クラスタ・アドレス・テーブルCAdT、プロテクト情報アドレス・テーブルPAdT、書込プロテクト情報PDw、読取プロテクト情報PDr、リトライ・コマンドrty、再生データRо、ステータスstat等がある。
【0312】
さらに、入力されたターゲットアドレスと、レスポンス処理手段rw306から供給されたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw309へ供給するクラスタ確定手段rw307、このクラスタ番号と、レスポンス処理手段rw306から供給された読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をコマンド発行手段rw302へ供給する許可確認手段rw309、レスポンス処理手段rw306から供給されたプロテクト情報アドレス・テーブルPAdTに基づき読取プロテクト情報PDrが記録されたアドレス又は書込プロテクト情報PDwが記録されたアドレスを読み出してアドレス管理手段rw303へ供給するプロテクト情報テーブル参照手段rw308を備える。
【0313】
前記で、アドレス管理手段rw303は、いずれも予め定められている、クラスタ・アドレス・テーブルCAdTが記録されたアドレスと、プロテクト情報アドレス・テーブルPAdTが記録されたアドレスを内蔵している。
またレスポンス処理手段rw306が出力するリトライ・コマンドrtyはコマンド発行手段rw302へ供給され、ステータスstatは制御手段rw301へ供給されるよう構成されている。
【0314】
さらにデータ書込・読取装置RW3は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわ制御手段rw301、コマンド発行手段rw302、アドレス管理手段rw303、指示入力データ編成手段rw304、レスポンス処理手段rw306、クラスタ確定手段rw307、プロテクト情報テーブル参照手段rw308、許可確認手段rw309、データ編成手段rw310、プロテクト情報更新手段rw311、エラー管理手段ERが、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0315】
図12は、前記のデータ書込・読取装置RW3の動作フローチャートである。以下、同図に基づき動作を説明する。
【0316】
使用者からキーボードKbを介して入力がなされ、制御手段rw301によって指示入力の発生が検出されると(ステップS3002)、制御手段rw301はコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動して、データ記録再生装置TF3のメモリ部Mem3からクラスタ・アドレス・テーブルCAdTを読取る指示を、データ記録再生装置TF3に発信する(ステップS3004)。ここでアドレス管理手段rw303は、内蔵しているCAdTアドレス(クラスタ・アドレス・テーブルCAdTのメモリ部Mem3上の記録アドレスで、これは予め定められている)を使用する。また、指示入力データ編成手段rw304が発するデータは、エラー管理手段ERを経由して符号化加工が施される。
【0317】
ついでデータ記録再生装置TF3から返送されるクラスタ・アドレス・テーブルCAdTの到着を待機する(ステップS3005)。レスポンス信号が到着すると、制御手段rw301はエラー管理手段ERを駆動し、エラー管理手段ERはレスポンス信号に復号化を施してバッファメモリBufに格納する。ここで制御手段rw301はレスポンス処理手段rw306を駆動し、レスポンス処理手段rw306はバッファメモリBufに格納されたレスポンス信号から、クラスタ・アドレス・テーブルCAdTであることを確認し、クラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw307へ入力する。クラスタ確定手段rw307は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させる(ステップS3006)。
【0318】
ついで制御手段rw301は前記と同様にコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動して、プロテクト情報アドレス・テーブルPAdTの読取り指示をデータ記録再生装置TF3に発信する(ステップS3008)。ここでアドレス管理手段rw303は、内蔵しているPAdTアドレス(プロテクト情報アドレス・テーブルPAdTのメモリ部Mem3上の記録アドレスで、これは予め定められている)を使用する。
【0319】
そしてデータ記録再生装置TF3からのプロテクト情報アドレス・テーブルPAdTの送付を待機し(ステップS3010)、プロテクト情報アドレス・テーブルPAdTの送付をバッファメモリBufに受けると、ついで制御手段rw301はコマンド発行手段rw302を駆動し、コマンド発行手段rw302は使用者から入力されたコマンドを検証して(ステップS3012)、結果を制御手段rw301へ返送する。
【0320】
コマンドが書込み指示であれば、制御手段rw301はプロテクト情報テーブル参照手段rw308に書込み特定信号を入力するとともに駆動し、またレスポンス処理手段rw306を駆動する。レスポンス処理手段rw306はバッファメモリBufに受信していたプロテクト情報アドレス・テーブルPAdTをプロテクト情報テーブル参照手段rw308へ入力する。プロテクト情報テーブル参照手段rw308は、前記書込み特定信号を確認して、このプロテクト情報アドレス・テーブルPAdTから、書込プロテクト情報PDwのアドレスを読み取り(ステップS3014)、これをアドレス管理手段rw303へ入力する。
【0321】
ついで制御手段rw301は、前記と同様にしてコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動して、書込プロテクト情報PDwの読取り指示をデータ記録再生装置TF3に発信する(ステップS3016)。そしてデータ記録再生装置TF3からの書込プロテクト情報PDwの送付を待機し(ステップS3018)、書込プロテクト情報PDwの送付があると、許可確認手段rw309を駆動し、許可確認手段rw309はクラスタ確定手段rw307から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS3020)。確認結果は制御手段rw301とコマンド発行手段rw302に通知される。
【0322】
書込み許可がなされていると、制御手段rw301はコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動し、コマンド発行手段rw302はデータ編成手段rw310を駆動し、これにより書込み指示コマンドとターゲットアドレスと記録データがデータ記録再生装置TF3へ送信され、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスに記録データが書き込まれる(ステップS3022)。
【0323】
ついでデータ記録再生装置TF3からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw306はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw301へ入力する。制御手段rw301はステータスコードstatを検討する(ステップS3024)。
レスポンスが書込みの正常終了であれば、ステップS3026へ進む。
【0324】
ステップS3026で、制御手段rw301は使用者からキーボードKbを介して記録データ終了通知とファイル作成指示を受けると、バッファメモリBufからレスポンス処理手段rw306を介して現行のクラスタ・アドレス・テーブルCAdTの送付を受け、アドレス管理手段rw303から最後の記録データのアドレスを得て、クラスタ・アドレス・テーブルCAdTの内容に最新のクラスタに関する情報を追記して更新し、この更新されたクラスタ・アドレス・テーブルCAdT*をデータ編成手段rw310へ送付する。
【0325】
ついで制御手段rw301はコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動し、コマンド発行手段rw302はデータ編成手段rw310を駆動し、これによりクラスタ・アドレス・テーブルCAdTの更新指示コマンドとターゲットアドレスと更新データがデータ記録再生装置TF3へ送信され、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスadCに更新されたクラスタ・アドレス・テーブルCAdTが書き込まれる。
【0326】
さらに、使用者によって書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力を得て、データ記録再生装置TF3へ書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新指示コマンドを更新データとともに送信し(ステップS3028)、データ記録再生装置TF3から送られた書込み正常終了のレスポンス情報を得て一連の動作が完了する。またステップS3024でレスポンスが再トライを要求している場合は、ステップS3022へ戻り再送する。またステップS3024でレスポンスがエラー通知であれば、ここで一連の動作を中止する。
【0327】
ステップS3012でコマンドが読取り指示であれば、制御手段rw301はプロテクト情報テーブル参照手段rw308に読取り特定信号を入力するとともに駆動し、またレスポンス処理手段rw306を駆動する。レスポンス処理手段rw306はバッファメモリBufに受信していたプロテクト情報アドレス・テーブルPAdTをプロテクト情報テーブル参照手段rw308へ入力する。プロテクト情報テーブル参照手段rw308は、前記読取り特定信号を確認して、このプロテクト情報アドレス・テーブルPAdTから、読取プロテクト情報PDrのアドレスを読み取り(ステップS3030)、これをアドレス管理手段rw303へ入力する。
【0328】
ついで制御手段rw301は、前記と同様にしてコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動して、読取プロテクト情報PDrの読取り指示をデータ記録再生装置TF3に発信する(ステップS3032)。そしてデータ記録再生装置TF3からの読取プロテクト情報PDrの送付を待機し(ステップS3034)、読取プロテクト情報PDrの送付があると、許可確認手段rw309を駆動し、許可確認手段rw309はクラスタ確定手段rw307から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取許可されているかを確認する(ステップS3036)。確認結果は制御手段rw301とコマンド発行手段rw302に通知される。
【0329】
読取許可がなされていると、制御手段rw301はコマンド発行手段rw302とアドレス管理手段rw303と指示入力データ編成手段rw304を駆動し、これにより読取指示コマンドとターゲットアドレスがデータ記録再生装置TF3へ送信され(ステップS3038)、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスからデータが読み取られる。
【0330】
ついでデータ記録再生装置TF3からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw306はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw301へ入力する。制御手段rw301はステータスコードstatを検討し(ステップS3040)、レスポンスが読取りの正常終了であれば、ステップS3042へ進み、再生データを出力して一連の動作が完了する。またステップS3040でレスポンスが再トライを要求している場合は、ステップS3038へ戻り再送する。またステップS3040でレスポンスがエラー通知であれば、一連の動作を中断する。
【0331】
前記のように本実施形態のデータ書込・読取装置RW3によれば、データ記録再生装置のメモリ部の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよびプロテクト情報アドレス・テーブルPAdTを読み取り、このプロテクト情報アドレス・テーブルPAdTの記載情報に基づき任意の位置に記録されているプロテクト情報を得る。
したがって、プロテクト情報が任意の位置に記録されていても、固定位置に記録されたプロテクト情報アドレス・テーブルPAdTを参照することでプロテクト情報を確実にアクセスできる。
【0332】
ついでプロテクト情報により、書込みを所望する記録データが記録される所望の記録位置が書込可能であることを確認した後に、所望の記録データをデータ記録再生装置のメモリ部の所望の位置に書き込む。さらに記録データの書込後に、固定位置にあるクラスタ・アドレス・テーブルCAdTを更新し、またプロテクト情報の更新を行う。
【0333】
上記のように、所望の記録データをデータ記録再生装置のメモリ部の所望の位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、メモリ部にある未利用領域を容易に管理でき、利用不能の空き領域の発生を防止してメモリ利用効率を向上できる。また記録容量が異なるメモリ部間の互換性を実現できる。
【0334】
さらに、メモリ部で長い記録長の記録データの記録が進行し、既設のプロテクト情報が記録されている領域に達する場合でも、このプロテクト情報の位置を移動することで記録データの分断を回避できるから、この記録データの記録/再生時のアクセス効率が向上する。このように長い記録長の記録データであっても一つのクラスタに編成できるから、対応するプロテクト情報は1個でよく、よってプロテクト情報の記録に割り当てる領域を節約できてメモリ利用効率を向上できる。しかも一つのファイルが複数のクラスタに分割されないから、ファイル管理を簡素化することができる。
【0335】
一方、プロテクト情報により所望の読取位置が読取可能であることを確認した後に、所望のデータをデータ記録再生装置のメモリ部から読み取るようにし、しかもプロテクト情報がメモリ部の任意の位置に記録されていても、プロテクト情報アドレス・テーブルPAdTからプロテクト情報を確実にアクセスできるから、読取を所望するデータの記録位置および記録長を問わず、確実に所望データを読取ることができる。しかもデータを保護することができる。
【0336】
図13は、本発明に係るファイル記録方法及びファイル再生方法の一実施形態のフローチャートである。同図に示されるように、本実施形態の方法によれば、使用者が入力するターゲットアドレスを受信すると(ステップS13002)、メモリ手段の所定位置にあるクラスタ・アドレス・テーブルCAdTを読取り(ステップS13004)、ターゲットアドレスおよびクラスタがクラスタ・アドレス・テーブルCAdT上に実在するか否かを検証する(ステップS13006)。
【0337】
ターゲットアドレスおよびクラスタが実在しないものであれば、エラー通知を発行し(ステップS13016)、処理を了える。
ターゲットアドレスおよびクラスタが実在すると、所定位置にあるプロテクト情報アドレス・テーブルPAdTを読み取る(ステップS13008)。ついで使用者が入力する指示入力の種類を確認する(ステップS13010)。
【0338】
指示入力が書込指示であると、プロテクト情報アドレス・テーブルPAdTからプロテクト情報アドレス・テーブルPAdTが記録されているアドレスを得て、書込プロテクト情報PDwを読み取る(ステップS13012)。ここで書込プロテクト情報PDwは任意の位置におかれるが、プロテクト情報アドレス・テーブルPAdTが記録されているアドレスによってアクセスできる。
【0339】
ついでターゲットアドレスの領域が書込許可されているかを書込プロテクト情報PDwにより確認する(ステップS13014)。書込禁止であれば、エラー通知を発行する(ステップS13016)。書込許可であれば、ターゲットアドレスへ記録データを記録する(ステップS13018)。ここで使用者は所望の任意の記録長のデータを記録することができる。
【0340】
ファイルデータがさらに存在すれば(ステップS13020)、アドレスを更新(インクリメント)して(ステップS13022)、ステップS13014へ戻る。ファイルデータが終了すれば(ステップS13020)、記録されたファイルを最新クラスタとして設定する(ステップS13024)。ついでクラスタ・アドレス・テーブルCAdTを更新する(ステップS13026)。これは、最新クラスタの情報を追記して新クラスタ・アドレス・テーブルCAdT*とするものである。
【0341】
ついで、使用者から最新クラスタに関する読取プロテクト情報PDrまたは/および書込プロテクト情報PDwの指示を受けて(ステップS13028)、読取プロテクト情報PDr*または/および書込プロテクト情報PDw*を更新する(ステップS13030)。これは最新クラスタのデータの読取り又は書き替えの許可と禁止を設定するものである。
【0342】
通常、クラスタを新設すると、そのクラスタのデータを保護するプロテクト情報(PDwまたは/およびPDr)が使用者から指示され、これが書込設定されるが、指示がない場合はデフォルト値がこのクラスタのプロテクト情報として書込設定される。
【0343】
さらに、このプロテクト情報更新時に、プロテクト情報全体(すべてのクラスタのPDwまたは/およびPDr)の位置を更新して、任意の位置に記録することも可能である。よってクラスタの新規書込み時や、このようなプロテクト情報の記録位置更新をした場合には、プロテクト情報の更新された位置情報によりプロテクト情報アドレス・テーブルPAdTを更新記録しなければならない。
【0344】
一方、ステップS13010において、指示入力が読取指示であると、プロテクト情報アドレス・テーブルPAdTからプロテクト情報アドレス・テーブルPAdTが記録されているアドレスを得て、読取プロテクト情報PDrを読み取る。ここで読取プロテクト情報PDrは任意の位置におかれるが、プロテクト情報アドレス・テーブルPAdTが記録されているアドレスによってアクセスできる。
【0345】
ついでターゲットアドレスの領域(そのアドレスが属するクラスタ)が読取許可されているかを読取プロテクト情報PDrにより確認する(ステップS13034)。読取禁止であれば、エラー通知を発行する(ステップS13016)。読取許可であれば、ターゲットアドレスのデータを読取る(ステップS13036)。
【0346】
読み取るファイルデータがさらに存在すれば(ステップS13038)、アドレスを更新(インクリメント)して(ステップS13040)、ステップS13034へ戻る。読み取るファイルデータが終了すれば(ステップS13038)、処理を了える。
【0347】
このように、メモリ手段の任意の位置に、任意の記録長のファイルの記録がなされ、このファイルにより新クラスタが形成される。したがってファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成される。したがって、ファイルの末端が同時にクラスタ末端に設定される。すなわちファイルの末端とクラスタ末端間に未利用部分が発生しない。これにより、メモリ手段上に利用されない記録領域の発生を防止して、記録領域の利用効率を向上させることができる。そして従来技術におけるような、1個のファイルが複数のクラスタに分割されることがないから、ファイル管理が容易になる。
【0348】
なお、所望があればファイルの末端とクラスタ末端間に例えば制御データや、或いは一定の緩衝スペースを設けることもできる。こうした際には、制御データや緩衝スペースを含めた1個の論理ファイルとして扱うようにできる。
【0349】
また本方法によれば、記録したクラスタの位置を示すデータ記録位置情報をメモリ手段上の所定の位置に記録することで位置が固定するから、この固定位置にあるデータ記録位置情報を参照することにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルアクセスが容易に可能になる。
【0350】
さらに、記録したファイルのプロテクト情報をメモリ手段上の任意の位置に記録し、一方、その位置を示すプロテクト記録位置情報をメモリ手段上の所定の位置に記録することで位置が固定するから、この固定位置にあるプロテクト記録位置情報を参照することにより、メモリ手段上の任意の位置に記録されたプロテクト情報のアクセスが容易に可能になる。このようにプロテクト情報をメモリ手段上の任意の位置に置くことができることで、任意の位置への移動が可能となり、プロテクト情報の記録位置を可変にでき、よってメモリマップ設計の自由度が増大する。さらに記録容量が異なるメモリ手段間の互換性を実現できる。
【0351】
また、記録長の長いファイルであっても分割されることなく1個のクラスタとして編成がなされるから、このクラスタに対して設定するプロテクト情報は1個のみとなり、プロテクト情報の記録に必要な領域を削減できるから、限られた記録容量を有効に利用できる。
【0352】
一方、ファイル再生時にはプロテクト情報を読み取り、このプロテクト情報に基づきクラスタの読取り可能の確認後に、着目するクラスタから所望するファイルを読み取るものであるから、これにより所望のファイルの記録位置および記録長を問わず、確実に所望クラスタを読み取ることができる。しかもプロテクト情報が任意の位置に記録されていても、記録位置を同定してプロテクト情報を容易にアクセスできるから、ファイルの保護を確実に行うことができる。
【0353】
図14は、本発明に係るデータ書込システムの他の実施形態のブロック構成図である。図15は、図14に示されるメモリ部におけるデータの記録を説明するメモリマップである。さらに図16は、図14に示されるデータ書込システムの動作の説明図である。
【0354】
図14に示されるように、本発明に係るデータ書込システムは、データ書込装置WV4とデータ記録再生装置TF4を備える。
【0355】
データ書込装置WV4は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF4とのデータ授受に携わるデータ授受部Atr4、データ授受部Atr4に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw41、授受されるデータのエラー管理を実行するエラー管理手段rw42、データ記録再生装置TF4から送られデータ授受部Atr4が受けたレスポンス信号を処理するレスポンス処理手段rw43を備える。
【0356】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、各アドレスの管理を行うアドレス管理手段rw44、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw45、指示情報入力手段Kbを介して入力された記録データや更新データを所定形式のデータに編成するデータ編成手段rw46、メモリ上に形成された各クラスタのデータ保護のためのプロテクト情報クラスタPDCのアドレスを演算し更新するPDC位置演算・更新手段rw47、プロテクト情報クラスタPDC内のプロテクトデータを編成するプロテクトデータ編成手段rw48を具備する。
【0357】
PDC位置演算・更新手段rw47は、後述されるようにデータ記録再生装置TF4内のメモリ部Mem4に記録されたクラスタ・アドレス・テーブルCAdTに記載されている最新のユーザークラスタの末尾アドレスから、プロテクト情報クラスタPDCのヘッドアドレスを演算する機能を備える。
【0358】
データ書込装置WV4は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0359】
一方、データ記録再生装置TF4は、データ書込装置WV4とのデータ授受に携わるデータ授受部Btr4、データ授受部Btr4に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御制御・伝送手段tf41、授受されるデータのエラー管理を実行するエラー管理手段tf42、データ書込装置WV4から送られデータ授受部Btr4が受けたデータから指示入力を解析する指示入力解析手段tf43、データを記録保持するメモリ部Mem4、データ書込装置WV4から送られた記録データまたは更新データを指示されたターゲットアドレスに記録する記録手段tf45、データ書込装置WV4から送られたターゲットアドレスに基づきメモリ部Mem4の当該アドレスからデータを読み取る再生手段tf44を備える。
【0360】
メモリ部Mem4は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0361】
さらに、前記のエラー管理手段tf42または、指示入力解析手段tf43または、記録手段tf45または再生手段tf44の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf46を備える。
【0362】
データ記録再生装置TF4は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0363】
また、データ授受部Atr4、Btr4は、電磁波を生成または電磁波に感応するアンテナと、送信時にアンテナへ電磁波生成のための電流を供給するとともに、受信時にアンテナで発生する感応電流から信号を取り出す送受信回路を具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
【0364】
とりわけ電磁波の受発信を行う構成では、データ書込装置WV4が発信する電磁波をデータ記録再生装置TF4が受信し、キャリア波を整流して電源電圧Vcを生成し、データ記録再生装置TF4の各部に供給する電源回路を備えた構成とすることができる。これによると、データ記録再生装置TF4側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF4の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF4の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0365】
また、図示されないがデータ書込装置WV4が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF4側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF4側の制御タイミング信号やデータ書込装置WV4側への送信キャリアとして利用できる。
【0366】
また、エラー管理手段rw42とエラー管理手段tf42は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0367】
本データ書込システムの特徴として、メモリ部Mem4へ記録される各データの配置と、ファイル管理とりわけアドレス管理がある。以下、これらの技術構成を、図15に示されるメモリ部Mem4のメモリマップ及び、図16に示されるフローチャートに基づき説明する。
【0368】
図15に示されるように、メモリ部Mem4には、一つのデータブロックを1クラスタとして、複数のクラスタが記録可能に構成されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報が記録されたシステムクラスタSCがある。
【0369】
ここでシステムクラスタSCは、メモリ部Mem4の定位置、例えば先頭部に常に記録される。一方、ユーザークラスタUCiはメモリ上の任意の位置に、任意の記録長で記録ができる。
さらにプロテクト情報クラスタPDCは、最新に記録がなされたユーザークラスタ(同図ではUC1)の末尾アドレスに続くアドレスに常に記録される。
【0370】
図示される例では、ユーザークラスタUC1が最新に記録がなされたユーザークラスタとして先頭アドレスad10から末尾アドレスad11間に記録され、その記録長Ln1は任意の値が許容される。一方、プロテクト情報クラスタPDCは、ユーザークラスタUC1の末尾アドレスad11に続くアドレスを先頭アドレスadPLとして、末尾アドレスadPHまで記録される。
【0371】
プロテクト情報クラスタPDCの記録長は任意であるが、内部に記録される読取プロテクト情報PDrと書込プロテクト情報PDwは、先頭アドレスadPLを基準にした所定のオフセットоfst1またはоfst2のアドレスに常に記録されるものとする。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、先頭アドレスadPLを基準にした場合、
adPr=adPL+оfst1
adPw=adPL+оfst2
で求めることができる。なおプロテクト情報クラスタPDCにはこれらプロテクト情報の他に、キーデータやファイルID等の各種情報の記録が可能である。
【0372】
システムクラスタSCには、このメモリ上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せ、且つ最新に記録がなされたユーザークラスタを示すように記載されたクラスタ・アドレス・テーブルCAdTが予め定められたアドレスadCに記録される。
【0373】
ここで、前記の図2に示されるメモリ部Mem1と異なり、プロテクト情報クラスタPDCの記録位置の情報を載せたプロテクト情報アドレス・テーブルPAdTは不必要である。したがってシステムクラスタSCの占有領域が削減される。
【0374】
クラスタ・アドレス・テーブルCAdTには、例えば図示されるようにユーザークラスタUC1のクラスタ番号#1と、ヘッドアドレスad10、テイルアドレスad11が表形式で記録される。ここで、各ユーザークラスタUCiを、前に位置するユーザークラスタUCjの末尾に続けて空きがなく記録する場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0375】
さらにクラスタ・アドレス・テーブルCAdTは、最新に記録がなされたユーザークラスタを示すように記載がなされる。図示される構成では、最新に記録がなされたユーザークラスタをテーブルの最下端(または最上端)に記載するようにする。これにより、テーブルの参照時に最下端(または最上端)のクラスタを以て容易に最新のユーザークラスタであることが確認される。
【0376】
上記の構成以外にも、例えば最新に記録がなされたユーザークラスタを示すフラグや識別子を付加する構成等が可能である。
【0377】
本実施形態においては、前述のようにプロテクト情報クラスタPDCは常に最新のユーザークラスタの末尾に続けて記録がなされるので、PDC位置演算・更新手段rw47は、クラスタ・アドレス・テーブルCAdTに記載されている最新のユーザークラスタの末尾アドレスから容易に、プロテクト情報クラスタPDCのヘッドアドレスadPLを演算することができる。
【0378】
ここで、メモリ部Mem4上の空き領域は、図示されるように空き領域NUとしてアドレス管理する構成とすることも可能である。
【0379】
データ書込装置WV4のコマンド発行手段rw45が発行する指示すなわちコマンドには、データ記録再生装置TF4内部のメモリ部Mem4へデータの記録を指示するコマンドcmWと、メモリ部Mem4からデータの再生を指示するコマンドcmRがある。
【0380】
コマンドcmWは、所望される記録データのメモリ部Mem4への記録を指示する新規記録コマンド、メモリ部Mem4上の既存ユーザークラスタUCiを書き替え記録して新ユーザークラスタUCiとすることを指示する更新記録コマンド、メモリ部Mem4に記録されたプロテクト情報クラスタPDCの内容(例えば読取プロテクト情報PDrや書込プロテクト情報PDw)の更新を指示するプロテクト情報更新コマンド、クラスタ・アドレス・テーブルCAdTの内容の更新を指示するテーブル更新コマンドとして機能する。
【0381】
コマンドcmRは、クラスタ・アドレス・テーブルCAdTの読取りを指示する読取コマンド、プロテクト情報クラスタPDCの内容(例えば読取プロテクト情報PDrや書込プロテクト情報PDw)の読取りを指示する読取コマンドとして機能する。
【0382】
各コマンドの機能の区別は、コマンドを形成するコードや、オペランドにより為される。またサブコマンドを発行する構成としてもよい。
【0383】
制御・伝送手段rw41は、コマンド発行手段rw45が発行するこれらコマンドに、アドレス管理手段rw44またはPDC位置演算・更新手段rw47によるアドレスデータや、データ編成手段rw46またはプロテクトデータ編成手段rw48による記録・更新データを加えて指示入力データに編成する。
【0384】
このようにデータ書込装置WV4が送付する指示入力データの種類は、コマンドとターゲットアドレスから構成される指示入力データ、コマンドとターゲットアドレスと記録データ又は更新データから構成される指示入力データ、コマンドとターゲットアドレスとプロテクト情報更新データから構成される指示入力データ等があり、これらの指示入力データは、制御・伝送手段rw41を経てエラー管理手段rw42により符号化がなされ、データ授受部Atr4からデータ記録再生装置TF4側へ送付される。
【0385】
一方、データ記録再生装置TF4においては、データ書込装置WV4のデータ授受部Atr4から送出された指示入力データをデータ授受部Btr4が受け、制御・伝送手段tf41を経てエラー管理手段tf42により復号化/エラー訂正がなされたのち、指示入力解析手段tf43によりコマンド解析され、この解析結果に基づき記録手段tf45または再生手段tf44が作動してデータやテーブル或いはアドレスの記録・更新または再生がなされる。
【0386】
再生されたデータおよび処理に伴うステータスは、レスポンスデータ編成手段tf46によりレスポンスデータに編成され、エラー管理手段tf42により符号化がなされ、データ授受部Btr4から送出される。
【0387】
ついでデータ書込装置WV4にあっては、データ授受部Atr4がデータ授受部Btr4から送出されたレスポンスデータを受け、制御・伝送手段rw41を経てエラー管理手段rw42により復号化/エラー訂正がなされたのち、レスポンス処理手段rw43により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0388】
つぎに図16に基づき動作を説明する。
データ書込装置WV4とデータ記録再生装置TF4の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。なお、説明の煩雑を避けるためエラー管理の処理は以下の説明において省略される。
【0389】
クラスタ管理プロセス(第1)p401では、使用者からの指示入力が発生すると、ステップ4000でデータ書込装置WV4からデータ記録再生装置TF4へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTのエントリポイントである。
【0390】
読取コマンドcmRは前記のように制御・伝送手段rw41の制御下でコマンド発行手段rw45が発行し、ターゲットアドレスadCはアドレス管理手段rw44が作成し、制御・伝送手段rw41がこれらを指示入力データに編成する。以下の各指示入力データの編成も略同様に為される。
【0391】
データ記録再生装置TF4において、この読取コマンドcmRとターゲットアドレスadCから成る指示入力データを受けると、メモリ部Mem4のアドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ4001でデータ書込装置WV4へ送付する。
【0392】
このクラスタ・アドレス・テーブルCAdTを受けてデータ書込装置WV4では、adPw演算プロセスp42として、PDC位置演算・更新手段rw47により最新に記録がなされたクラスタの末尾アドレスが抽出され、これに基づいてプロテクト情報クラスタPDCのエントリ・アドレスが演算され、ついでエントリ・アドレスからオフセット分を調整して書込プロテクト情報PDwの記録アドレスadPwが演算される。
【0393】
ついでクラスタ管理プロセス(第2)p402として、ステップ4002でデータ書込装置WV4からデータ記録再生装置TF4へ読取コマンドcmRとターゲットアドレスadPwが送られる。
【0394】
データ記録再生装置TF4はこの指示入力データを受けると、メモリ部Mem4のアドレスadPwから書込プロテクト情報PDwを読取り、これをステップ4003でデータ書込装置WV4へ送付する。
【0395】
続くターゲットアドレス設定プロセスp43では、入力器Kbから入力された、書込のターゲットアドレスad1に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad1の属するクラスタが書込み可能であることを確認する。
【0396】
続くクラスタ書込(任意記録長)プロセスp44では、ステップ4005でデータ書込装置WV4がデータ記録再生装置TF4へ書込コマンドcmWとターゲットアドレスad1と記録データd1を送る。データ記録再生装置TF4はメモリ部Mem4のアドレスad1へ記録データd1を記録する。そしてステータス分析プロセスp48としてステップ4030でステータスデータstatをデータ書込装置WV4へ送る。データ書込装置WV4は、このステータスデータstatを分析して記録データd1の記録が成されたことを確認する。
【0397】
この記録が終了すると、データ書込装置WV4は、記録データがさらに存在することを確認し、再度、ターゲットアドレス設定プロセスp43として入力器Kbから入力された、書込のターゲットアドレスad2に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad2の属するクラスタが書込み可能であることを確認する。
【0398】
ついで再度、クラスタ書込(任意記録長)プロセスp44としてデータ書込装置WV4はステップ4006でデータ記録再生装置TF4へ書込コマンドcmWとターゲットアドレスad2と記録データd2を送る。データ記録再生装置TF4はメモリ部Mem4のアドレスad2へ記録データd2を記録する。そして再度、ステータス分析プロセスp48としてステップ4030でステータスデータstatをデータ書込装置WV4へ送る。データ書込装置WV4は、このステータスデータstatを分析して記録データd2の記録が成されたことを確認する。
【0399】
以下同様にして記録データd3、d4の記録が進行し、やがてステップ4009でデータ記録再生装置TF4へ書込コマンドcmWとターゲットアドレスadNと記録データdNが送られると、データ記録再生装置TF4はメモリ部Mem4のアドレスadNへ記録データdNを記録する。このようにして、記録データd1〜dNから成るファイルがユーザークラスタUC2として形成される。
【0400】
上記から明らかなように、使用者はこのユーザークラスタUC2の記録長と記録アドレスを所望の任意の値に設定して、メモリ部Mem4上に記録させることができる。
【0401】
続くCAdT*更新書込プロセスp45では、ステップ4010でデータ書込装置WV4がデータ記録再生装置TF4へ書込コマンドcmWと固定アドレスadCと、ユーザークラスタUC2の区切り情報を最新のクラスタを示すように追記した更新データCAdT*を送る。すなわちクラスタ・アドレス・テーブルCAdTの更新データCAdT*には、ユーザークラスタUC2の区切り情報がテーブルの最下端に記載されている。
データ記録再生装置TF4はメモリ部Mem4の固定アドレスadCへ、この更新データCAdT*を記録する。これによりクラスタ・アドレス・テーブルCAdTが更新される。
【0402】
ここで最新のクラスタが更新されたので、プロテクト情報クラスタPDCの記録されるアドレスも更新されなければならない。そこでadPw*更新演算プロセスp46へ移り、最新のクラスタとなったユーザークラスタUC2の区切り情報(末尾アドレス)に基づき、プロテクト情報クラスタPDCの先頭アドレスを演算し、さらにこの先頭アドレスにオフセット量を調整し、書込プロテクト情報PDwの記録アドレスを更新してadPw*とする。
【0403】
続くPDw*、PDr*更新書込プロセスp47では、ステップ4020でデータ書込装置WV4がデータ記録再生装置TF4へ書込コマンドcmWと更新されたターゲットアドレスadPw*と、更新する書込プロテクト情報PDw*を送る。データ記録再生装置TF4はメモリ部Mem4のアドレスadPw*へ、この更新する書込プロテクト情報PDw*を記録する。これにより、書込プロテクト情報PDwに、新規に記録されたユーザークラスタUC2の書込プロテクト情報が追記される。
【0404】
同様にして、データ書込装置WV4がデータ記録再生装置TF4へ書込コマンドcmWと更新されたターゲットアドレスadPr*と、更新する読取プロテクト情報PDr*を送る。データ記録再生装置TF4はメモリ部Mem4のアドレスadPr*へ、この更新する読取プロテクト情報PDr*を記録する。これにより、読取プロテクト情報PDrに、新規に記録されたユーザークラスタUC2の読取プロテクト情報が追記される。
【0405】
前記のように、本実施形態によれば、記録するデータの記録長を任意の所望長さで記録することができる。また、このファイルを以てクラスタとするものであるから、複数クラスタに分割する必要がなく、ファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成できる。
【0406】
これにより、ファイルの末端が同時にクラスタ末端に設定される。すなわちファイルの末端とクラスタ末端間に不使用のデッドエリアが発生しない。これにより、メモリ部上に利用不能の未記録領域が発生するのを防止でき、よってメモリ利用効率を向上させることができる。
【0407】
さらに、記録長の長いファイルであっても分割されることなく1個のクラスタとして編成され、ファイルが複数のクラスタに分割されないから、ファイル管理が容易になるのみならず、プロテクト情報の記録格納領域を1ファイルにつき1個にすることができ、よってプロテクト情報の記録に割り当てる領域を節約でき、メモリ利用効率を向上させることができる。
【0408】
さらに本実施形態によれば、記録したクラスタの位置を示すクラスタ・アドレス・テーブルCAdTがメモリ部の固定位置に記録されるから、この固定位置にあるクラスタ・アドレス・テーブルCAdTを参照することにより、メモリ部の任意の位置に記録された任意の記録長のファイルへのエントリが容易にでき、よってファイルアクセスが容易になる。
【0409】
さらに本実施形態によれば、与えられた任意の記録長のデータを指定された所望位置に記録すると、これが最新の記録データとなり、この記録位置と、最新のクラスタであることの情報は、クラスタ・アドレス・テーブルCAdTにとりこまれてメモリ手段上の固定位置へ記録される。したがって、以後の処理において当該固定位置がアクセスされることでクラスタ・アドレス・テーブルCAdTが得られ、これによりメモリ部の最新の記録データの確定および各記録データの位置の確認が容易にできる。
【0410】
また、プロテクト情報を常に、最も新しく記録された記録データの末尾に続く位置に記録するから、クラスタ・アドレス・テーブルCAdTをアクセスするだけで、ユーザークラスタのアドレスを得るのみならず、プロテクト情報クラスタPDCの記録位置までもが演算で容易に求めることが可能になる。
【0411】
このように、プロテクト情報クラスタPDCの記録位置を示すための間接的な記録、例えば前記の実施形態で使用されたプロテクト情報アドレス・テーブルPAdTが不要になるので、記録領域が節約でき、ユーザーエリアを拡大することができる。
【0412】
図17は、本発明に係るデータ読取システムの一実施形態のブロック構成図である。図18は、図17に示されるデータ読取システムの動作の説明図である。
図17に示されるように、本発明に係るデータ読取システムは、データ読取装置RV5とデータ記録再生装置TF5を備える。
【0413】
データ読取装置RV5は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF5とのデータ授受に携わるデータ授受部Atr5、データ授受部Atr5に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw51、授受されるデータのエラー管理を実行するエラー管理手段rw52、データ記録再生装置TF5から送られデータ授受部Atr5が受けたレスポンス信号を処理するレスポンス処理手段rw53を備える。
【0414】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、各アドレスの管理を行うアドレス管理手段rw54、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw55、メモリ上に形成された各クラスタのデータ保護のためのプロテクト情報クラスタPDCのアドレスを演算するPDC位置演算手段rw56を具備する。
【0415】
PDC位置演算手段rw56は、後述されるようにデータ記録再生装置TF5内のメモリ部Mem5に記録されたクラスタ・アドレス・テーブルCAdTに記載されている最新のユーザークラスタの末尾アドレスから、プロテクト情報クラスタPDCのヘッドアドレスを演算する機能を備える。
【0416】
データ読取装置RV5は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0417】
一方、データ記録再生装置TF5は、データ読取装置RV5とのデータ授受に携わるデータ授受部Btr5、データ授受部Btr5に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段tf51、授受されるデータのエラー管理を実行するエラー管理手段tf52、データ読取装置RV5から送られデータ授受部Btr5が受けたデータから指示入力を解析する指示入力解析手段tf53、データを記録保持するメモリ部Mem5、データ読取装置RV5から送られたターゲットアドレスに基づきメモリ部Mem5の当該アドレスからデータを読み取る再生手段tf54を備える。
【0418】
メモリ部Mem5は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0419】
さらに、前記のエラー管理手段tf52または、指示入力解析手段tf53または、再生手段tf54の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf56を備える。
【0420】
データ記録再生装置TF5は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0421】
また、データ授受部Atr5、Btr5は、アンテナを具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
とりわけ電磁波の受発信を行う構成では、データ読取装置RV5が発信する電磁波をデータ記録再生装置TF5が受信し、これを整流して得る電力を電源としてデータ記録再生装置TF5の各部に供給する構成とすることができる。これによると、データ記録再生装置TF5側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF5の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF5の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0422】
また、図示されないがデータ読取装置RV5が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF5側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF5側の制御タイミング信号やデータ読取装置RV5側への送信キャリアとして利用できる。
【0423】
また、エラー管理手段rw52とエラー管理手段tf52は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0424】
ここでメモリ部Mem5には説明上、図示されるようにその先頭部から順に、システムクラスタSC、ユーザークラスタUC1、ユーザークラスタUC2、プロテクト情報クラスタPDC、未記録エリアNUが配列されているものとし、ここではユーザークラスタUC2を読み取るものとする。
【0425】
システムクラスタSCは、メモリ部Mem5の先頭部に常に記録されている。一方、ユーザークラスタUC1、UC2はメモリ上の任意の位置に、任意の記録長で記録されている。このうち、ユーザークラスタUC2は最新に記録がなされたものである。さらにプロテクト情報クラスタPDCは、この最新に記録がなされたユーザークラスタUC2の末尾アドレスに続けて記録されている。
【0426】
図18に示されるように、プロテクト情報クラスタPDC内のアドレスadPrには読取プロテクト情報PDrが記録されている。さらに、ユーザークラスタUC2はアドレスad1〜アドレスadNを占め、データd1〜dNが記録されファイルを構成している。
【0427】
システムクラスタSCには、このメモリ部Mem5に記録されるユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが、予め定められた固定アドレスadCに記録される。
【0428】
図示されるこの場合のクラスタ・アドレス・テーブルCAdTには、ユーザークラスタUC1のクラスタ番号と、このクラスタの区切り情報である末尾アドレス、およびユーザークラスタUC2のクラスタ番号と、このクラスタの区切り情報である末尾アドレスadNが記載されており、しかもユーザークラスタUC2のデータは、このクラスタが最新に記録されたクラスタであることを示すべく、テーブルの最下端に記載されている。
【0429】
したがって、クラスタ・アドレス・テーブルCAdTをアクセスした際に、最下端のクラスタを参照すると、最新に記録されたクラスタが容易に判明するよう構成されている。
【0430】
データ読取装置RV5のコマンド発行手段rw55が発行するコマンドには、メモリ部Mem5に記録されたユーザークラスタUCiのデータ再生を指示する再生コマンド、クラスタ・アドレス・テーブルCAdTや読取プロテクト情報PDrの読取りを指示する読取コマンドなどがある。
【0431】
またデータ読取装置RV5は、コマンド発行手段rw55によるコマンドとアドレス管理手段rw54によるターゲットアドレスから構成される指示入力データを送信する。この指示入力データは、制御制御・伝送手段rw51を経てエラー管理手段rw52により符号化がなされ、データ授受部Atr5からデータ記録再生装置TF5へ送出される。
【0432】
一方、データ記録再生装置TF5においては、データ読取装置RV5のデータ授受部Atr5から送出された指示入力データをデータ授受部Btr5が受け、制御・伝送手段tf51を経てエラー管理手段tf52により復号化/エラー訂正がなされたのち、指示入力解析手段tf53によりコマンド解析され、この解析結果に基づき再生手段tf54が作動してデータやテーブルの再生がなされる。
【0433】
再生されたデータおよび処理に伴うステータスは、レスポンスデータ編成手段tf56によりレスポンスデータに編成され、エラー管理手段tf52により符号化がなされ、データ授受部Btr5からデータ読取装置RV5へ送出される。
【0434】
ついでデータ読取装置RV5にあっては、データ授受部Atr5がデータ授受部Btr5から送出されたレスポンスデータを受け、制御・伝送手段rw51を経てエラー管理手段rw52により復号化/エラー訂正がなされたのち、レスポンス処理手段rw53により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0435】
つぎに本データ読取システムの動作を、図18に基づき説明する。
データ読取装置RV5とデータ記録再生装置TF5の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。なお、説明の煩雑を避けるためエラー管理の処理は以下の説明において省略される。
【0436】
クラスタ管理プロセス(第1)p501では、使用者からの指示入力が発生すると、ステップ5000でデータ読取装置RV5からデータ記録再生装置TF5へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTのエントリポイントである。
【0437】
読取コマンドcmRは前記の制御・伝送手段rw51の制御下でコマンド発行手段rw55が発行し、ターゲットアドレスadCはアドレス管理手段rw54が作成し、制御・伝送手段rw51がこれらを指示入力データに編成する。以下の各指示入力データの編成も略同様に為される。
【0438】
データ記録再生装置TF5において、この読取コマンドcmRとターゲットアドレスadCから成る指示入力データを受けると、メモリ部Mem5のアドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ5001でデータ読取装置RV5へ送付する。
【0439】
このクラスタ・アドレス・テーブルCAdTを受けてデータ読取装置RV5では、adPr演算プロセスp52として、PDC位置演算手段rw56により最新に記録がなされたクラスタの末尾アドレスが抽出され、これに基づいてプロテクト情報クラスタPDCのエントリ・アドレスが演算され、ついでエントリ・アドレスからオフセット分を調整して読取プロテクト情報PDrの記録アドレスadPrが演算される。
【0440】
ついでクラスタ管理プロセス(第2)p502として、ステップ5002でデータ読取装置RV5からデータ記録再生装置TF5へ読取コマンドcmRとターゲットアドレスadPrが送られる。
【0441】
データ記録再生装置TF5はこの指示入力データを受けると、メモリ部Mem5のアドレスadPrから読取プロテクト情報PDrを読取り、これをステップ5003でデータ読取装置RV5へ送付する。
【0442】
続くターゲットアドレス設定プロセスp53では、入力器Kbから入力された、読取のターゲットアドレスad1に基づき、読取った読取プロテクト情報PDrを参照して、このターゲットアドレスad1の属するクラスタが読取可能であることを確認する。
【0443】
続くクラスタ読取プロセスp54では、ステップ5000でデータ読取装置RV5がデータ記録再生装置TF5へ読取コマンドcmRとターゲットアドレスad1を送る。データ記録再生装置TF5はメモリ部Mem5のアドレスad1から記録データd1を読取る。そしてステータス分析プロセスp55としてステップ5020でステータスデータstatをデータ読取装置RV5へ送る。データ読取装置RV5は、このステータスデータstatを分析して記録データd1の記録が成されたことを確認する。
【0444】
この記録が終了すると、データ読取装置RV5は、記録データがさらに存在することを確認し、再度、ターゲットアドレス設定プロセスp53として入力器Kbから入力された、次の読取のターゲットアドレスad2に基づき、読取った読取プロテクト情報PDrを参照して、このターゲットアドレスad2の属するクラスタが読取可能であることを確認する。
【0445】
ついで再度、クラスタ読取プロセスp54としてデータ読取装置RV5は
ステップ5012でデータ記録再生装置TF5へ読取コマンドcmRとターゲットアドレスad2を送る。データ記録再生装置TF5はメモリ部Mem5のアドレスad2から記録データd2を再生する。そして再度、ステータス分析プロセスp55としてステップ5020でステータスデータstatをデータ読取装置RV5へ送ると同時に、ステップ5013で再生データd2をデータ読取装置RV5に送る。
【0446】
データ読取装置RV5では、受けたステータスデータstatを分析し、データd2の再生が正常に成されたことを確認すると、再生データd2を表示または出力する。
【0447】
以下同様にして記録されたデータd3、d4の再生が進行し、やがてデータ記録再生装置TF5へ読取コマンドcmRとターゲットアドレスadNが送られると、データ記録再生装置TF5はメモリ部Mem5のアドレスadNからデータdNを再生し、データ読取装置RV5へ送出する。このようにして、ユーザークラスタUC2を構成するデータd1〜dNから成るファイルが読み取られる。
【0448】
前記のように、本実施形態に係るデータ読取システムによれば、データ記録再生装置TF5のメモリ部Mem5に記録されたクラスタ・アドレス・テーブルCAdTと、このクラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報に基づき読取プロテクト情報PDrの位置を演算し、この位置に基づき読取プロテクト情報PDrを得て、所望の読取位置が読取可能であることを確認し、ついで所望の記録データを所望の読取位置から読み取る。
このように、クラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報からプロテクト情報を容易に得ることができる。また、読取を所望する記録データの記録位置および記録長を問わず、確実に所望データを読取ることができる。
【0449】
図19は、本発明に係るデータ書込・読取装置の一実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW6は、例えば前述のデータ記録再生装置TF3(図9参照)に対し、電磁波を発信してデータ記録再生装置TF3へ電力を供給するとともに、電磁波により指示入力データをデータ記録再生装置TF3へ送信し、またデータ記録再生装置TF3からレスポンス信号を受信するものである。
【0450】
データ書込・読取装置RW6は、各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw601、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データやデータ記録再生装置TF3から読み取ったデータ、或いは交信内容を仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpLを備える。
【0451】
さらに、使用者から入力されたコマンドに基づきコマンドを所定フォーマットで発行するコマンド発行手段rw602、使用者から入力されたターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理するアドレス管理手段rw603、使用者から入力された記録データに基づき所定フォーマットでデータ編成を行うデータ編成手段rw610、使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)に基づき所定フォーマットで更新データの編成を行うプロテクト情報更新手段rw611、前記の、コマンド発行手段rw602とアドレス管理手段rw603とデータ編成手段rw610とプロテクト情報更新手段rw611からのデータに基づき指示入力データDiを編成する指示入力データ編成手段rw604を備える。
【0452】
さらに、指示入力データ編成手段rw604の出力データにエラー符号化処理を施して送信受信回路TRへ入力するとともに、送信受信回路TRが受信したレスポンスデータにエラー訂正処理を施してバッファメモリBufへ格納するエラー管理手段ER、このエラー管理手段ERから信号を受けてアンテナANTから電磁波を発信するとともに、アンテナANTが捕捉した電磁波からレスポンス信号を生成させる送信受信回路TRを備える。
【0453】
さらに、バッファメモリBufへ格納されたデータから、各種情報やアドレス情報やコマンド等を抽出するレスポンス処理手段rw606を備える。レスポンス処理手段rw606が抽出する情報には、クラスタ・アドレス・テーブルCAdT、書込プロテクト情報PDw、読取プロテクト情報PDr、リトライ・コマンドrty、再生データRо、ステータスstat等がある。
【0454】
さらに、入力されたターゲットアドレスと、レスポンス処理手段rw606から供給されたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw609へ供給するクラスタ確定手段rw607、このクラスタ番号と、レスポンス処理手段rw606から供給された読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をコマンド発行手段rw602へ供給する許可確認手段rw609、レスポンス処理手段rw606から供給されたクラスタ・アドレス・テーブルCAdTと、コマンド発行手段rw602から供給された読取または書込情報に基づき読取プロテクト情報PDrが記録されたアドレス又は書込プロテクト情報PDwが記録されたアドレスを読み出してアドレス管理手段rw603へ供給する最新クラスタ検索手段rw608を備える。
【0455】
前記で、アドレス管理手段rw603は、予め定められている、クラスタ・アドレス・テーブルCAdTが記録された固定アドレスを内蔵している。
またレスポンス処理手段rw606が出力するリトライ・コマンドrtyはコマンド発行手段rw602へ供給され、ステータスstatは制御手段rw601へ供給されるよう構成されている。
【0456】
さらにデータ書込・読取装置RW6は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわ制御手段rw601、コマンド発行手段rw602、アドレス管理手段rw603、指示入力データ編成手段rw604、レスポンス処理手段rw606、クラスタ確定手段rw607、最新クラスタ検索rw608、許可確認手段rw609、データ編成手段rw610、プロテクト情報更新手段rw611、エラー管理手段ERが、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0457】
図20は、前記のデータ書込・読取装置RW6の動作フローチャートである。以下、同図に基づき動作を説明する。
【0458】
使用者からキーボードKbを介してデータの書込または読取の指示入力がなされ、制御手段rw601によって指示入力の発生が検出されると(ステップS602)、制御手段rw601はコマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動して、データ記録再生装置TF3のメモリ部Mem3からクラスタ・アドレス・テーブルCAdTを読取る指示を、データ記録再生装置TF3に発信する(ステップS604)。
【0459】
ここでコマンド発行手段rw602はキーボードKbを介して指示入力を受理し、これをホールドする一方で、この入力された指示入力の内容(書込・読取)に関係なく、読取コマンドを発行して指示入力データ編成手段rw604へ出力する。一方、アドレス管理手段rw603は、内蔵している固定のCAdTアドレス(クラスタ・アドレス・テーブルCAdTのメモリ部Mem3上の記録アドレス)を指示入力データ編成手段rw604へ出力する。指示入力データ編成手段rw604は、これらを編成して指示入力データとなし、エラー管理手段ERで符号化加工が施されてデータ記録再生装置TF3へ送出される。
【0460】
ついでデータ記録再生装置TF3から返送されるクラスタ・アドレス・テーブルCAdTの到着を待機する(ステップS606)。レスポンス信号が到着すると、制御手段rw601はエラー管理手段ERを駆動し、エラー管理手段ERはレスポンス信号に復号化を施してバッファメモリBufに格納する。ここで制御手段rw601はレスポンス処理手段rw606を駆動し、レスポンス処理手段rw606はバッファメモリBufに格納されたレスポンス信号から、クラスタ・アドレス・テーブルCAdTであることを確認し、クラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw607へ入力する。クラスタ確定手段rw607は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させる(ステップS608)。
【0461】
ついで制御手段rw601はコマンド発行手段rw602とレスポンス処理手段rw606と最新クラスタ検索手段rw608を駆動し、コマンド発行手段rw602は前記のホールドしていた指示入力を最新クラスタ検索手段rw608へ送り、レスポンス処理手段rw606はクラスタ・アドレス・テーブルCAdTを最新クラスタ検索手段rw608へ送ると、最新クラスタ検索手段rw608はクラスタ・アドレス・テーブルCAdTから最新のクラスタを探して、その末尾アドレスを読み取る(ステップS610)。
【0462】
ついで最新クラスタ検索手段rw608は、この末尾アドレスから、それに続くプロテクト情報クラスタPDCのエントリアドレスを演算する(ステップS612)。ここで最新クラスタ検索手段rw608は、コマンド発行手段rw602から送られた指示入力を検査して、指示が書込みか、読取りかを確認する(ステップS614)。
【0463】
指示が書込みであると(A20)、最新クラスタ検索手段rw608はプロテクト情報クラスタPDCのエントリアドレスに基づき、書込プロテクト情報PDwのアドレスを演算し、これをアドレス管理手段rw603へ入力する(ステップS616)。
【0464】
ついで制御手段rw601は、コマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動して、書込プロテクト情報PDwの読取り指示をデータ記録再生装置TF3に発信する(ステップS618)。そしてデータ記録再生装置TF3からの書込プロテクト情報PDwの送付を待機し(ステップS620)、書込プロテクト情報PDwの送付があると、許可確認手段rw609を駆動し、許可確認手段rw609はクラスタ確定手段rw607から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS622)。確認結果は制御手段rw601とコマンド発行手段rw602に通知される。
【0465】
書込み許可がなされていると、制御手段rw601はコマンド発行手段rw602とアドレス管理手段rw603を駆動し、プロテクト情報クラスタPDCのすべてをデータ記録再生装置TF3のメモリ部Mem3から不図示の一時記憶手段へ転写して一時記憶させたのち、制御手段rw601はコマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動し、コマンド発行手段rw602はデータ編成手段rw610を駆動し、これにより書込み指示コマンドとターゲットアドレスと記録データがデータ記録再生装置TF3へ送信され、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスに記録データが書き込まれる(ステップS624)。
【0466】
ついでデータ記録再生装置TF3からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw606はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw601へ入力する。制御手段rw601はステータスコードstatを検討し(ステップS626)、レスポンスが書込みの正常終了であれば、ステップS628へ進む。
【0467】
ステップS628で、制御手段rw601は使用者からキーボードKbを介して記録データ終了通知とファイル作成指示を受けると、バッファメモリBufからレスポンス処理手段rw606を介して現行のクラスタ・アドレス・テーブルCAdTの送付を受け、アドレス管理手段rw603から最後の記録データのアドレスを得て、クラスタ・アドレス・テーブルCAdTの内容に最新のクラスタに関する情報を追記して更新し、この更新されたクラスタ・アドレス・テーブルCAdT*をデータ編成手段rw610へ送付する。
【0468】
ついで制御手段rw601はコマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動し、コマンド発行手段rw602はデータ編成手段rw610を駆動し、これによりクラスタ・アドレス・テーブルCAdTの更新指示コマンドとターゲットアドレスと更新データがデータ記録再生装置TF3へ送信され、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスadCに更新されたクラスタ・アドレス・テーブルCAdTが書き込まれる。
【0469】
さらに、使用者から書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力を得て、一時記憶装置に転記されているプロテクト情報クラスタPDCの内容を更新し、データ記録再生装置TF3へ、更新されたプロテクト情報クラスタPDCの再記録を指示するコマンドと、最新のクラスタの末尾アドレスから演算されたターゲットアドレスと、更新されたプロテクト情報クラスタPDCを送付し(ステップS630)、データ記録再生装置TF3から送られた書込み正常終了のレスポンス情報を得て一連の動作が完了する。
【0470】
またステップS626でレスポンスが再トライを要求している場合は、ステップS624へ戻り再送する。またステップS626でレスポンスがエラー通知であれば、一連の動作をここで中止する。
【0471】
ステップS614でコマンドが読取り指示であれば(B20)、最新クラスタ検索手段rw608はプロテクト情報クラスタPDCのエントリアドレスに基づき、読取プロテクト情報PDrのアドレスを演算し、これをアドレス管理手段rw603へ入力する(ステップS632)。
【0472】
ついで制御手段rw601は、コマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動して、読取プロテクト情報PDrの読取り指示をデータ記録再生装置TF3に発信する(ステップS634)。そしてデータ記録再生装置TF3からの読取プロテクト情報PDrの送付を待機し(ステップS636)、読取プロテクト情報PDrの送付があると、許可確認手段rw609を駆動し、許可確認手段rw609はクラスタ確定手段rw607から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取許可されているかを確認する(ステップS638)。確認結果は制御手段rw601とコマンド発行手段rw602に通知される。
【0473】
読取許可がなされていると、制御手段rw601はコマンド発行手段rw602とアドレス管理手段rw603と指示入力データ編成手段rw604を駆動し、これにより再生指示コマンドとターゲットアドレスがデータ記録再生装置TF3へ送信され、データ記録再生装置TF3においてメモリ部Mem3のターゲットアドレスから記録データが再生される(ステップS640)。
【0474】
ついでデータ記録再生装置TF3からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw606はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw601へ入力する。制御手段rw601はステータスコードstatを検討し(ステップS642)、レスポンスが書込みの正常終了であれば、ステップS644へ進み、再生データを出力して一連の動作が完了する。またステップS642でレスポンスが再トライを要求している場合は、ステップS640へ戻り再送する。またステップS642でレスポンスがエラー通知であれば、ここで一連の動作を中止する。
【0475】
前記のように本実施形態のデータ書込・読取装置RW3によれば、データ書込時に、データ記録再生装置TF3のメモリ部Mem3に記録されたクラスタ・アドレス・テーブルCAdTと、このクラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報に基づき書込プロテクト情報PDwの記録された位置が得られ、この記録位置に基づき書込プロテクト情報PDwを得て、これに基づき、記録データの記録が所望される位置が書込可能であることを確認した後に、所望の記録データをデータ記録再生装置TF3のメモリ部Mem3の所望の位置に書き込む。
【0476】
さらに記録データの書込後に、メモリ部Mem3の固定位置にあるクラスタ・アドレス・テーブルCAdTを最新の記録データの位置情報に基づき更新し、更新書込する。さらにプロテクト情報を最新の記録データの情報に基づき更新して、最新の記録データの末尾に続けて記録する。
【0477】
したがって、以後の処理においてクラスタ・アドレス・テーブルCAdTをアクセスするだけでプロテクト情報の記録位置を容易に演算でき、これによりプロテクト情報の入手が容易になる。
【0478】
上記のように、所望の記録データをデータ記録再生装置TF3のメモリ部Mem3の所望の位置に記録し、且つプロテクト情報もこの最新の記録データの末尾に続けて記録するから、メモリ部Mem3上にある未利用領域の管理が容易になり、空き領域の発生を防止できてメモリ利用効率が向上する。
【0479】
一方、データ読取時には、データ書込時におけると同様にして、クラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報からプロテクト情報の位置を容易に得て、プロテクト情報を入手し、所望の読取位置が読取可能であることを確認した後に、所望のデータを読み取るから、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りが可能になる。
【0480】
このように本実施形態によれば、与えられた任意の記録長のデータを指定された所望位置に記録すると、これが最新の記録データとなり、この記録位置と、最新のクラスタであることの情報は、クラスタ・アドレス・テーブルCAdTにとりこまれてメモリ手段上の固定位置へ記録される。したがって、以後の処理において当該固定位置がアクセスされることでクラスタ・アドレス・テーブルCAdTが得られ、これによりメモリ部の最新の記録データの確定および各記録データの位置の確認が容易にできる。
【0481】
また、プロテクト情報を常に、最も新しく記録された記録データの末尾に続く位置に記録するから、クラスタ・アドレス・テーブルCAdTをアクセスするだけで、ユーザークラスタのアドレスを得るのみならず、プロテクト情報クラスタPDCの記録位置までもが演算で容易に求めることが可能になる。
【0482】
この結果、プロテクト情報の記録位置を示すための間接的な記録、例えば前記の実施形態で使用されたプロテクト情報アドレス・テーブルPAdTが不要になるので、記録領域が節約でき、ユーザーエリアを拡大することができる。
【0483】
図21は、本発明に係るファイル記録方法及びファイル再生方法の他の実施形態のフローチャートである。同図に示されるように、本実施形態の方法によれば、使用者が入力するターゲットアドレスを受信すると(ステップS2102)、所定位置にあるクラスタ・アドレス・テーブルCAdTを読取り(ステップS2104)、ターゲットアドレスがクラスタ・アドレス・テーブルCAdT上に実在するか否かを検証する(ステップS2106)。
【0484】
ターゲットアドレスが実在しないものであれば、エラー通知を発行し(ステップS2116)、処理を了える。
ターゲットアドレスが実在すると、ターゲットアドレスがクラスタ・アドレス・テーブルCAdTから最新クラスタの末尾(区切り)情報を参照し(ステップS2107)、末尾アドレスからプロテクト情報が記録されたアドレスを演算する(ステップS2108)。
【0485】
ついで使用者が入力する指示入力の種類を確認する(ステップS2110)。
指示入力が書込指示であると、前記演算されたアドレスから書込プロテクト情報PDwを読み取る(ステップS2112)。ここで書込プロテクト情報PDwは必ず最新クラスタの末尾に続く所定位置に記録されているから、前記のように最新クラスタの末尾アドレスから容易に演算することができ、この演算アドレスによって書込プロテクト情報PDwをアクセスできる。
【0486】
ついでターゲットアドレスの領域が書込許可されているかを書込プロテクト情報PDwにより確認する(ステップS2114)。書込禁止であれば、エラー通知を発行する(ステップS2116)。書込許可であれば、書込プロテクト情報PDwおよび読取プロテクト情報PDrをバッファメモリへ暫定記憶させ(ステップS2117)、ついでターゲットアドレスへ記録データを記録する(ステップS2118)。ここで使用者は所望の記録長のデータを記録することができる。
【0487】
ファイルデータがさらに存在すれば(ステップS2120)、アドレスを更新(インクリメント)して(ステップS2122)、ステップS2114へ戻る。
ファイルデータが終了すれば(ステップS2120)、記録されたファイルを最新クラスタとして設定する(ステップS2124)。ついでクラスタ・アドレス・テーブルCAdTを更新する(ステップS2126)。これは、最新クラスタの情報を追記して新クラスタ・アドレス・テーブルCAdT*とするものである。
【0488】
ついで、使用者から最新クラスタに関する読取プロテクト情報PDr*または/および書込プロテクト情報PDw*の指示があれば(ステップS2128)、バッファメモリに暫定記憶された読取プロテクト情報PDrをPDr*により、または/および書込プロテクト情報PDwをPDw*により更新して、新PDrまたは新PDwとする(ステップS2129)。これは最新クラスタのデータの読取り又は書き替えの許可と禁止を設定するものである。
【0489】
ついでバッファメモリに暫定記憶された読取プロテクト情報PDrと書込プロテクト情報PDwを、最新クラスタの末尾に続く所定アドレスへ記録する(ステップS2130)。また、ステップS2128でプロテクト情報の更新指示がなければ、最新クラスタについてはデフォルト値を使用して、ステップS2130を実行する。
【0490】
一方、ステップS2110において、指示入力が読取指示であると、前記演算されたアドレスから読取プロテクト情報PDrを読み取る(ステップS2132)。ここで読取プロテクト情報PDrは必ず最新クラスタの末尾に続く所定位置に記録されているから、前記のように最新クラスタの末尾アドレスから容易に演算することができ、この演算アドレスによって読取プロテクト情報PDrをアクセスできる。
【0491】
ついでターゲットアドレスの領域が書込許可されているかを読取プロテクト情報PDrにより確認する(ステップS2134)。読取禁止であれば、エラー通知を発行する(ステップS2116)。読取許可であれば、ターゲットアドレスからデータを読み取る(ステップS2136)。
読み取るファイルデータがさらに存在すれば(ステップS2138)、アドレスを更新(インクリメント)して(ステップS2140)、ステップS2134へ戻る。読み取るファイルデータが終了すれば(ステップS2138)、処理を了える。
【0492】
前記の実施形態による方法によれば、クラスタ・アドレス・テーブルCAdTに記載された最新クラスタの位置情報から、最新クラスタの末尾に続けて記録されるプロテクト情報の記録位置を容易に演算できる。よってプロテクト情報の記録位置を示す情報を別途準備する必要がなく、この結果、メモリ利用効率およびデータ記録/再生効率を改善できる。
【0493】
また、プロテクト情報を常に最新クラスタの末尾に続けて記録するから、最新クラスタの記録長が任意の長さであっても、クラスタ・アドレス・テーブルCAdTデータに基づきプロテクト情報を記録/再生する位置を演算で容易に確定できる。
【0494】
さらに、プロテクト情報とその前に在るクラスタ間にデッドスペースの発生がなく、メモリ利用効率を改善できる。
【0495】
図22は、本発明に係る本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の一実施形態の説明図である。
【0496】
同図に示されるように、本実施形態に係るデータが記録されたコンピュータが読み取り可能な記録媒体MeD1は、データが記録および再生可能なメモリセルMcell1と、このメモリセルMcell1へ接続されて書込/読取を制御するコントロール部Ctrと、このコントロール部Ctrへ接続されたコネクタTmnを備え、コネクタTmnには外部の装置から書込/読取の選択信号が授けられるR/W端子と、外部の装置からアドレス信号が授けられるアドレス端子と、外部の装置間とで書込/読取データの授受をするDI/O端子を備える。
【0497】
メモリセルMcell1は、例えばフラッシュメモリに代表される不揮発性半導体メモリEEPROMで構成されていて、一つのデータブロックを1クラスタとして、複数のクラスタが記録されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報等が記録されたシステムクラスタSCがある。
【0498】
システムクラスタSCは、メモリセルMcell1の定位置、例えば先頭部に常に記録される。一方、ユーザークラスタUCiはメモリセル上の任意の位置に、任意の記録長で記録されている。さらにプロテクト情報クラスタPDCは任意の記録長で、任意の位置に記録されている。
【0499】
図示される例では、プロテクト情報クラスタPDCはアドレス領域adPL〜adPHに記録され、内部に記録される読取プロテクト情報PDrと書込プロテクト情報PDwは、アドレスadPL(またはadPH)を基準にした所定のオフセット量оfst1またはоfst2だけずらせたアドレスに記録されている。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、アドレスadPLを基準にした場合、
adPr=adPL+оfst1
adPw=adPL+оfst2
で求めることができる。なおプロテクト情報クラスタPDCにはこれらプロテクト情報の他に、キーデータやファイルID等の各種情報の記録がなされる。
【0500】
システムクラスタSCには、このメモリセル上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが予め定められた固定アドレスadCに、またプロテクト情報クラスタPDCの記録位置(アドレスadPLとadPH)の情報を載せたプロテクト情報アドレス・テーブルPAdTが予め定められた固定アドレスadDに、それぞれ記録されている。
【0501】
例えばクラスタ・アドレス・テーブルCAdTには、ユーザークラスタUC1のクラスタ番号#1と、ヘッドアドレス、テイルアドレスが表形式で記録されている。ここで、各ユーザークラスタを、前に位置するユーザークラスタの末尾に続けて空きがなく記録する構成が採用されている場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0502】
またプロテクト情報アドレス・テーブルPAdTには、プロテクト情報クラスタPDCのヘッドアドレスadPL、テイルアドレスadPHとオフセットоfst1、оfst2が対応させて記録されている。テイルアドレスadPHは、このプロテクト情報クラスタPDC以降の未使用領域NUにユーザークラスタUCiを記録する場合に必要となる情報である。
また、このプロテクト情報アドレス・テーブルPAdTに前記の読取プロテクト情報PDrのアドレスadPrや書込プロテクト情報PDwのアドレスadPwを記録する構成であってもよい。
【0503】
前記のようにデータが記録されているから、メモリセルMcell1上の任意の位置に任意の記録長のユーザークラスタを形成させても、固定位置に記録されていてアクセス容易なクラスタ・アドレス・テーブルCAdTを参照することで、容易に各ユーザークラスタのエントリ・ポイントが得られ、所望のユーザークラスタをアクセスすることができる。
【0504】
とりわけ、任意の位置に任意の記録長のプロテクト情報クラスタPDCを形成させても、その位置をプロテクト情報アドレス・テーブルPAdTに記載でき、このプロテクト情報アドレス・テーブルPAdTは固定位置に記録されていてアクセス容易であるから、これによってプロテクト情報クラスタPDCの位置を確認でき、プロテクト情報クラスタPDCが何処に記録されていても、これを読み取ることによりプロテクト情報を得ることができる。
【0505】
この記録媒体MeD1は、後述の図23および図24で示される本発明に係るデータ書込・読取装置RW7に接続され、書込または読取がなされる。
【0506】
なお図22では、メモリセルMcell1を半導体メモリセルアレイで構成し且つコントロール部やコネクタを備える構成として示したが、本発明の記録媒体はこの構成に限定されることなく、コントロール部を備えない磁気カードや、コントロール部やコネクタを備えない磁気シートや光学式メモリ媒体による構成も可能である。
【0507】
図23は、本発明に係るデータ書込・読取装置の一実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW7は、例えば前述の記録媒体MeD1(図22参照)を接続して、書込/読取を行うものである。
【0508】
データ書込・読取装置RW7は、内蔵する各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw701、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データや記録媒体MeD1から読み取ったデータを仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpL、前記の記録媒体MeD1を接続するコネクタTmnを備える。
【0509】
さらに、使用者から入力された記録データDwを受け、または使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)を受け、これらを使用者から入力されたコマンドに基づき記録媒体MeD1へ書込み、或いは使用者から入力されたコマンドに基づき記録媒体MeD1からクラスタ・アドレス・テーブルCAdT、プロテクト情報アドレス・テーブルPAdT、読取プロテクト情報PDr、書込プロテクト情報PDw、再生データRоを読み取るメモリ記録再生手段rw702、メモリ記録再生手段rw702とデータ授受してデータを編成するデータ編成手段rw707を備える。メモリ記録再生手段rw702はコネクタTmnに接続されている。
【0510】
さらに使用者から入力されたターゲットアドレスを受け、このターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理し、確定アドレスをメモリ記録再生手段rw702へ出力するアドレス管理手段rw703を備える。
【0511】
さらに、入力されたターゲットアドレスと、読み取られたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw706へ供給するクラスタ確定手段rw704、このクラスタ番号と、読み取られた読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をメモリ記録再生手段rw702へ供給する許可確認手段rw706を備える。
【0512】
さらに、読み取られたプロテクト情報アドレス・テーブルPAdTに基づき読取プロテクト情報PDrが記録されたアドレス又は書込プロテクト情報PDwが記録されたアドレスを読み出してアドレス管理手段rw703へ供給するプロテクト情報テーブル参照手段rw705を備える。
【0513】
前記で、アドレス管理手段rw703は、いずれも予め定められている、クラスタ・アドレス・テーブルCAdTが記録されたアドレスと、プロテクト情報アドレス・テーブルPAdTが記録されたアドレスを内蔵している。
【0514】
さらにデータ書込・読取装置RW3は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわ制御手段rw701、メモリ記録再生手段rw702、アドレス管理手段rw703、クラスタ確定手段rw704、プロテクト情報テーブル参照手段rw705、許可確認手段rw706、データ編成手段rw707が、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0515】
図24は、前記のデータ書込・読取装置RW7の動作フローチャートである。以下、同図に基づき動作を説明する。
【0516】
使用者からキーボードKbを介して入力がなされ、制御手段rw701によって指示入力の発生が検出されると(ステップS702)、制御手段rw701はメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、記録媒体MeD1のメモリセル(以下、メモリ部と記述)の固定アドレスadCからクラスタ・アドレス・テーブルCAdTを読取る(ステップS704)。
【0517】
ここでアドレス管理手段rw703は、内蔵しているCAdTアドレス(予め定められている固定アドレスadC)を送付するとともに、指示入力のターゲットアドレスを暫定記憶する。一方、メモリ記録再生手段rw702は指示入力のコマンドを暫定記憶する。書込み指示の場合には、さらに記録データDwを暫定記憶する。
【0518】
ついでメモリ記録再生手段rw702は、読み取ったクラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw704へ入力する。クラスタ確定手段rw704は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させ、クラスタ番号を許可確認手段rw709へ送付する(ステップS706)。
【0519】
ついで制御手段rw701は前記と同様にメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、記録媒体MeD1のメモリ部の固定アドレスadDからプロテクト情報アドレス・テーブルPAdTを読取る(ステップS708)。ここでアドレス管理手段rw703は、内蔵しているPAdTアドレス(予め定められている固定アドレスadD)をメモリ記録再生手段rw702へ送付する。
【0520】
メモリ記録再生手段rw702は、プロテクト情報アドレス・テーブルPAdTを読取ると、暫定記憶してあったコマンドに基づき、コマンドが書込指示であれば(A24)、ステップS712へ進み、プロテクト情報アドレス・テーブルPAdTを書込を示す情報とともにプロテクト情報テーブル参照手段rw705へ供給する。
【0521】
プロテクト情報テーブル参照手段rw705は、コマンドが書込指示であることを確認して、供給されたプロテクト情報アドレス・テーブルPAdTを参照して書込プロテクト情報PDwのアドレスadPwを入手し、これをアドレス管理手段rw703へ供給する(ステップS712)。
【0522】
ついで制御手段rw701は、前記と同様にしてメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、記録媒体MeD1のメモリ部のアドレスadPwから書込プロテクト情報PDwを読取る(ステップS714)。
【0523】
メモリ記録再生手段rw702は、書込プロテクト情報PDwを読取ると、暫定記憶してあったコマンドに基づき、コマンドが書込指示であることを示す情報とともに書込プロテクト情報PDwを許可確認手段rw709へ供給し、許可確認手段rw309は、コマンドが書込指示であることを確認して、クラスタ確定手段rw307から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS716)。確認結果はメモリ記録再生手段rw702と制御手段rw701に通知される。
【0524】
書込み許可がなされていると、制御手段rw701はメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、メモリ記録再生手段rw702は記録媒体MeD1のメモリ部のターゲットアドレスに記録データDwを書き込む(ステップS718)。
【0525】
前記の記録データDwの書き込みにより、記録媒体MeD1のメモリ部に新たにユーザークラスタが形成される。そこで、この新ユーザークラスタの区切りアドレス情報を追記し、クラスタ・アドレス・テーブルCAdTをCAdT*に更新する(ステップS720)。
【0526】
ここで使用者から、新クラスタに関する書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力がなされれば、これらに基づき、書込プロテクト情報PDwまたは/および読取プロテクト情報PDrを更新する(ステップS722)。
【0527】
一方、ステップS710においてコマンドが読取りである場合は、メモリ記録再生手段rw702はプロテクト情報アドレス・テーブルPAdTを読取を示す情報とともにプロテクト情報テーブル参照手段rw705へ供給する。
【0528】
プロテクト情報テーブル参照手段rw705は、コマンドが読取指示であることを確認して、供給されたプロテクト情報アドレス・テーブルPAdTを参照して読取プロテクト情報PDrのアドレスadPrを入手し、これをアドレス管理手段rw703へ供給する(ステップS724)。
【0529】
ついで制御手段rw701は、前記と同様にしてメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、記録媒体MeD1のメモリ部のアドレスadPrから読取プロテクト情報PDrを読取る(ステップS726)。
【0530】
メモリ記録再生手段rw702は、読取プロテクト情報PDrを読取ると、コマンドが読取指示であることを示す情報とともに読取プロテクト情報PDrを許可確認手段rw709へ供給し、許可確認手段rw309は、コマンドが読取指示であることを確認して、クラスタ確定手段rw307から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取り許可されているかを確認する(ステップS728)。確認結果はメモリ記録再生手段rw702と制御手段rw701に通知される。
【0531】
読取許可がなされていると、制御手段rw701はメモリ記録再生手段rw702とアドレス管理手段rw703を駆動し、メモリ記録再生手段rw702は記録媒体MeD1のメモリ部のターゲットアドレスから再生データDrを読み取る(ステップS730)。ついでメモリ記録再生手段rw702は、これを再生出力Rоとしてこの装置から出力する(ステップS732)。
【0532】
前記のように本実施形態のデータ書込・読取装置RW7によれば、記録媒体MeD1上の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよびプロテクト情報アドレス・テーブルPAdTを読み取り、このプロテクト情報アドレス・テーブルPAdTに基づき任意の位置に記録されているプロテクト情報PDw、PDrを入手できる。したがって、プロテクト情報が任意の位置に記録されていても、プロテクト情報アドレス・テーブルPAdTを介することでプロテクト情報を確実にアクセスできる。
【0533】
ついでプロテクト情報により、記録データDwが記録される所望の位置が書込可能であることの確認後に、所望の長さの記録データDwを記録媒体MeD1の所望の位置に書き込む。ついで記録データの書込後に、記録媒体MeD1上の固定位置にあるクラスタ・アドレス・テーブルCAdTを更新する。さらにプロテクト情報を更新する。
【0534】
上記のように所望の記録データを記録媒体上の所望の位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、記録媒体上の未利用領域を容易に管理することができ、空き領域の発生を防止してメモリ利用効率を向上させることができる。
さらに、プロテクト情報の記録位置を移動できるから、記録容量が異なる記録媒体間の互換性を維持することが可能である。
【0535】
さらに、記録データの記録が進行して、記録媒体上の既設のプロテクト情報の領域に觝触する場合でも、このプロテクト情報を位置移動することで記録データの分断を回避でき、当該記録データのアクセス効率を向上させることができる。
【0536】
また、長い記録長の記録データであっても分断なく記録できることにより、記録データの管理が容易になる。また分断がないから、長い記録長の記録データであってもプロテクト情報は1個となり、よってプロテクト情報の記録に割り当てる領域を節約でき、記録媒体の利用効率を向上させることができる。
【0537】
また、所望の読取位置が読取可能であることを確認した後に、所望のデータを記録媒体から読み取る。したがって、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りできる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報を確実にアクセスでき、これによりデータの保護がなされる。
【0538】
図25は、本発明に係る本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の他の実施形態の説明図である。
【0539】
同図に示されるように、本実施形態に係るデータが記録されたコンピュータが読み取り可能な記録媒体MeD2は、データが記録および再生可能なメモリセルMcell2と、このメモリセルMcell2へ接続されて書込/読取を制御するコントロール部Ctrと、このコントロール部Ctrへ接続されたコネクタTmnを備え、コネクタTmnには外部の装置から書込/読取の選択信号が授けられるR/W端子と、外部の装置からアドレス信号が授けられるアドレス端子と、外部の装置間とで書込/読取データの授受をするDI/O端子を備える。
【0540】
メモリセルMcell2は、例えばフラッシュメモリに代表される不揮発性半導体メモリEEPROMで構成されていて、一つのデータブロックを1クラスタとして、複数のクラスタが記録されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報等が記録されたシステムクラスタSCがある。
【0541】
システムクラスタSCは、メモリセルMcell2の定位置、例えば先頭部に常に記録される。一方、ユーザークラスタUCiは、図示される構成ではシステムクラスタSCに続き、旧く記録された任意の記録長のクラスタ(図25ではユーザークラスタUC1)の末尾に詰めて新しく記録された任意の記録長のクラスタ(図ではユーザークラスタUC2)が記録される。
なお、これに限らず各ユーザークラスタUCiをメモリセル上の任意の位置に、任意の記録長で記録することもできる。
【0542】
ここで、プロテクト情報クラスタPDCは、常に、最新に記録がなされたクラスタの末尾に続けて記録されるのが特徴である。
【0543】
図示される例では、プロテクト情報クラスタPDCは最新に記録がなされたユーザークラスタUC2の末尾アドレスad22に続くアドレスadPを先頭アドレスとし、この位置から記録されている。
【0544】
プロテクト情報クラスタPDCの内部には、各クラスタの読取りを保護する読取プロテクト情報PDrと、各クラスタへの書込みを保護する書込プロテクト情報PDwが、それぞれ、アドレスadPLを基準にした所定のオフセット量оfst1またはоfst2だけずらせたアドレスadPrとadPwに記録されている。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、アドレスadPLを基準にして、
adPr=adPL+оfst1
adPw=adPL+оfst2
で求めることができる。なおオフセット部分及び他の領域には、他の情報たとえばキーデータやファイルID等の各種情報の記録がなされる。
【0545】
システムクラスタSCには、このメモリ上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せ、且つ最新に記録がなされたユーザークラスタを示すように記載されたクラスタ・アドレス・テーブルCAdTが予め定められたアドレスadCに記録される。
【0546】
ここで、前記の図22に示される記録媒体MeD1と異なり、プロテクト情報クラスタPDCの記録位置の情報を載せたプロテクト情報アドレス・テーブルPAdTは不必要である。したがってシステムクラスタSCの占有領域が削減される。
【0547】
クラスタ・アドレス・テーブルCAdTには、各ユーザークラスタUCiのクラスタ番号と、ヘッドアドレス、テイルアドレスが表形式で記録される。ここで、各ユーザークラスタを、前に位置するユーザークラスタの末尾に続けて空きがなく記録する場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0548】
さらにクラスタ・アドレス・テーブルCAdTは、最新に記録がなされたユーザークラスタを示すように記載がなされる。例えば最新に記録がなされたユーザークラスタをテーブルの最下端(または最上端)に記載するようにする。これにより、テーブルの参照時に最下端(または最上端)のクラスタを以て容易に最新のユーザークラスタであることが確認される。そしてクラスタ・アドレス・テーブルCAdTに記載されている最新のユーザークラスタの末尾アドレスから容易に、プロテクト情報クラスタPDCのヘッドアドレスadPLを演算することができる。
【0549】
上記の構成以外にも、例えば最新に記録がなされたユーザークラスタを示すフラグや識別子を付加する構成等が可能である。
【0550】
この記録媒体MeD2は、後述の図26および図27で示される本発明に係るデータ書込・読取装置RW8に接続され、書込または読取がなされる。
【0551】
なお図25では、メモリセルMcell2を半導体メモリセルアレイで構成し且つコントロール部やコネクタを備える構成として示したが、本発明の記録媒体はこの構成に限定されることなく、コントロール部を備えない磁気カードや、コントロール部やコネクタを備えない磁気シートや光学式メモリ媒体による構成も可能である。
【0552】
図26は、本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW8は、例えば前述の記録媒体MeD2(図25参照)を接続して、書込/読取を行うものである。
【0553】
データ書込・読取装置RW8は、内蔵する各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw801、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データや記録媒体MeD1から読み取ったデータを仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpL、前記の記録媒体MeD1を接続するコネクタTmnを備える。
【0554】
さらに、使用者から入力された記録データDwを受け、または使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)を受け、これらを使用者から入力されたコマンドに基づき記録媒体MeD2へ書込み、或いは使用者から入力されたコマンドに基づき記録媒体MeD2からクラスタ・アドレス・テーブルCAdT、読取プロテクト情報PDr、書込プロテクト情報PDw、再生データRоを読み取るメモリ記録再生手段rw802、メモリ記録再生手段rw802の受けるデータを一時記憶する一時記憶手段rw807を備える。メモリ記録再生手段rw802はコネクタTmnに接続されている。
【0555】
さらに使用者から入力されたターゲットアドレスを受け、このターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理し、確定アドレスをメモリ記録再生手段rw802へ出力するアドレス管理手段rw803を備える。
【0556】
さらに、入力されたターゲットアドレスと、読み取られたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw806へ供給するクラスタ確定手段rw804、このクラスタ番号と、読み取られた読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をメモリ記録再生手段rw802へ供給する許可確認手段rw806を備える。
【0557】
さらに、読み取られたクラスタ・アドレス・テーブルCAdTを参照して最新に記録がなされたクラスタを検索し、最新クラスタの末尾アドレスを得て、読取プロテクト情報PDrが記録されたアドレス又は書込プロテクト情報PDwが記録されたアドレスを演算してアドレス管理手段rw803へ供給する最新クラスタ検索手段rw805を備える。
【0558】
アドレス管理手段rw803は、クラスタ・アドレス・テーブルCAdTが記録されたアドレスを内蔵している。
【0559】
さらにデータ書込・読取装置RW8は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわち制御手段rw801、メモリ記録再生手段rw802、アドレス管理手段rw803、クラスタ確定手段rw804、最新クラスタ検索手段rw805、許可確認手段rw806が、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0560】
図27は、前記のデータ書込・読取装置RW8の動作フローチャートである。以下、同図に基づき動作を説明する。
【0561】
使用者からキーボードKbを介して入力がなされ、制御手段rw801によって指示入力の発生が検出されると(ステップS802)、制御手段rw801はメモリ記録再生手段rw802とアドレス管理手段rw803を駆動し、記録媒体MeD2のメモリセル(以下、メモリ部と記述)の固定アドレスadCからクラスタ・アドレス・テーブルCAdTを読取る(ステップS804)。
【0562】
ここでアドレス管理手段rw803は、内蔵しているCAdTアドレス(予め定められている固定アドレスadC)を送付するとともに、指示入力のターゲットアドレスを暫定記憶する。一方、メモリ記録再生手段rw802は指示入力のコマンドを暫定記憶する。書込み指示の場合には、さらに記録データDwを暫定記憶する。
【0563】
ついでメモリ記録再生手段rw802は、読み取ったクラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw804へ入力する。クラスタ確定手段rw804は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させ、クラスタ番号を許可確認手段rw809へ送付する(ステップS806)。
【0564】
ついでメモリ記録再生手段rw802は最新クラスタ検索手段rw805へクラスタ・アドレス・テーブルCAdTと、暫定記憶してあったコマンドに基づき書込または読取を示す情報を供給し、最新クラスタ検索手段rw805はクラスタ・アドレス・テーブルCAdTから最新クラスタを検索して、そのテイルアドレスを読み取る(ステップS808)。さらにこの最新クラスタのテイルアドレスから、それに続き記録されているプロテクト情報クラスタPDCのエントリアドレスを演算する(ステップS810)。
【0565】
ついでステップS812でコマンドが書込みであれば(A27)、ステップS814へ進み、プロテクト情報クラスタPDCのエントリアドレスに基づき記録媒体MeD2からプロテクト情報クラスタPDCのすべてを一時記憶手段rw807へ転記する(ステップS814)。
【0566】
ついで一時記憶手段rw807へ転記されたプロテクト情報クラスタPDCから書込プロテクト情報PDwを読取る(ステップS816)。
【0567】
メモリ記録再生手段rw802は、書込プロテクト情報PDwを読取ると、暫定記憶してあったコマンドが書込指示であることを示す情報とともに書込プロテクト情報PDwを許可確認手段rw806へ供給し、許可確認手段rw806は、コマンドが書込指示であることを確認して、クラスタ確定手段rw804から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS818)。確認結果はメモリ記録再生手段rw802と制御手段rw801に通知される。
【0568】
書込み許可がなされていると、制御手段rw801はメモリ記録再生手段rw802とアドレス管理手段rw803を駆動し、メモリ記録再生手段rw802は記録媒体MeD2のメモリ部のターゲットアドレスに記録データDwを書き込む(ステップS820)。
【0569】
前記の記録データDwの書き込みにより、記録媒体MeD2のメモリ部に新たにユーザークラスタが形成される。そこで、この新ユーザークラスタの区切りアドレス情報を追記して、クラスタ・アドレス・テーブルCAdTをCAdT*に更新する(ステップS822)。
【0570】
ここで使用者から、新クラスタに関する書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力がなされれば、これらに基づき、一時記憶手段rw807に転記されているプロテクト情報クラスタPDC内の書込プロテクト情報PDwまたは/および読取プロテクト情報PDrを更新し、この一時記憶手段rw807の内容を、記録媒体MeD2のメモリ部に形成された新クラスタのテイルアドレスに続く次のアドレスから再記録する(ステップS824)。これにより、更新されたプロテクト情報クラスタPDCが新クラスタのテイルアドレスに続いて形成される。
【0571】
一方、ステップS812においてコマンドが読取りである場合は(B27)、プロテクト情報クラスタPDCのエントリアドレスに基づき読取プロテクト情報PDrのアドレスを演算し、これをアドレス管理手段rw803へ供給する(ステップS826)。
【0572】
ついで制御手段rw801は、前記と同様にしてメモリ記録再生手段rw802とアドレス管理手段rw803を駆動し、記録媒体MeD2のメモリ部から読取プロテクト情報PDrを読取る(ステップS828)。
【0573】
メモリ記録再生手段rw802は、読取プロテクト情報PDrを読取ると、コマンドが読取指示であることを示す情報とともに読取プロテクト情報PDrを許可確認手段rw806へ供給し、許可確認手段rw806は、コマンドが読取指示であることを確認して、クラスタ確定手段rw804から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取り許可されているかを確認する(ステップS830)。確認結果はメモリ記録再生手段rw802と制御手段rw801に通知される。
【0574】
読取許可がなされていると、制御手段rw801はメモリ記録再生手段rw802とアドレス管理手段rw803を駆動し、メモリ記録再生手段rw802は記録媒体MeD2のメモリ部のターゲットアドレスから再生データDrを読み取る(ステップS832)。ついでメモリ記録再生手段rw802は、これを再生出力Rоとしてこの装置から出力する(ステップS834)。
【0575】
前記のように本実施形態のデータ書込・読取装置RW8によれば、データ書込時に、記録媒体MeD2のメモリ部の固定位置に記録されたクラスタ・アドレス・テーブルCAdTと、このクラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報に基づき書込プロテクト情報PDwの記録された位置が得られ、この記録位置に基づき書込プロテクト情報PDwを得て、これに基づき、記録データの記録が所望される位置が書込可能であることを確認した後に、所望の記録データを記録媒体MeD2のメモリ部の所望の位置に書き込む。
【0576】
さらに記録データの書込後に、記録媒体MeD2のメモリ部の固定位置にあるクラスタ・アドレス・テーブルCAdTを最新の記録データの位置情報に基づき更新し、更新書込する。さらにプロテクト情報を最新の記録データの情報に基づき更新して、最新の記録データの末尾に続けて記録する。
【0577】
したがって、以後の処理においてクラスタ・アドレス・テーブルCAdTをアクセスするだけで、各クラスタの位置情報が得られるのみならず、プロテクト情報の記録位置を容易に演算でき、これによりプロテクト情報の入手が容易になる。
【0578】
上記のように、所望の記録データを記録媒体MeD2のメモリ部の所望の位置に記録し、且つプロテクト情報もこの最新の記録データの末尾に続けて記録するから、記録媒体MeD2上にある未利用領域の管理が容易になり、空き領域の発生を防止できてメモリ利用効率が向上する。
【0579】
一方、データ読取時には、データ書込時におけると同様にして、クラスタ・アドレス・テーブルCAdTに記載された最新の記録データの位置情報からプロテクト情報の位置を容易に得て、プロテクト情報を入手し、所望の読取位置が読取可能であることを確認した後に、所望のデータを読み取るから、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りが可能になる。
【0580】
このように本実施形態によれば、与えられた任意の記録長のデータを記録媒体MeD2の指定された所望位置に記録すると、これが最新の記録データとなり、この記録位置と、最新のクラスタであることの情報は、クラスタ・アドレス・テーブルCAdTにとりこまれて記録媒体MeD2の固定位置へ記録される。したがって、以後の処理において当該固定位置がアクセスされることでクラスタ・アドレス・テーブルCAdTが得られ、これによりメモリ部の最新の記録データの確定および各記録データの位置の確認が容易にできる。
【0581】
また、プロテクト情報を常に、最も新しく記録された記録データの末尾に続く位置に記録するから、クラスタ・アドレス・テーブルCAdTをアクセスするだけで、ユーザークラスタのアドレスを得るのみならず、プロテクト情報クラスタPDCの記録位置までもが演算で容易に求めることが可能になる。
【0582】
この結果、プロテクト情報の記録位置を示すための間接的な記録、例えば前記の実施形態で使用されたプロテクト情報アドレス・テーブルPAdTが不要になるので、記録領域が節約でき、ユーザーエリアを拡大することができる。
【0583】
図28は、本発明に係るデータ書込システムの他の実施形態のブロック構成図である。図29は、図28に示されるメモリ部におけるデータの記録を説明するメモリマップである。さらに図30は、図28に示されるデータ書込システムの動作の説明図である。
【0584】
図28に示されるように、本発明に係るデータ書込システムは、データ書込装置WV9とデータ記録再生装置TF9を備える。
【0585】
データ書込装置WV9は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF9とのデータ授受に携わるデータ授受部Atr9、データ授受部Atr9に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw91、授受されるデータのエラー管理を実行するエラー管理手段rw92、データ記録再生装置TF9から送られデータ授受部Atr9が受けたレスポンス信号を処理するレスポンス処理手段rw93を備える。
【0586】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、各アドレスの管理を行うアドレス管理手段rw94、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw95、指示情報入力手段Kbを介して入力された記録データや更新データを所定形式のデータに編成するデータ編成手段rw96、メモリ上に形成された各クラスタのデータ保護のためのプロテクト情報クラスタPDC内のプロテクトデータを編成するプロテクトデータ編成手段rw98を具備する。
【0587】
データ書込装置WV9は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0588】
一方、データ記録再生装置TF9は、データ書込装置WV9とのデータ授受に携わるデータ授受部Btr9、データ授受部Btr9に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段tf91、授受されるデータのエラー管理を実行するエラー管理手段tf92、データ書込装置WV9から送られデータ授受部Btr9が受けたデータから指示入力を解析する指示入力解析手段tf93、データを記録保持するメモリ部Mem9、データ書込装置WV9から送られた記録データまたは更新データを指示されたターゲットアドレスに記録する記録手段tf95、データ書込装置WV9から送られたターゲットアドレスに基づきメモリ部Mem9の当該アドレスからデータを読み取る再生手段tf94を備える。
【0589】
メモリ部Mem9は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0590】
さらに、前記のエラー管理手段tf92または、指示入力解析手段tf93または、記録手段tf95または再生手段tf94の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf96を備える。
【0591】
データ記録再生装置TF9は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0592】
また、データ授受部Atr9、Btr9は、電磁波を生成または電磁波に感応するアンテナと、送信時にアンテナへ電磁波生成のための電流を供給するとともに、受信時にアンテナで発生する感応電流から信号を取り出す送受信回路を具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
【0593】
とりわけ電磁波の受発信を行う構成では、データ書込装置WV9が発信する電磁波をデータ記録再生装置TF9が受信し、キャリア波を整流して電源電圧Vcを生成し、データ記録再生装置TF9の各部に供給する電源回路を備えた構成とすることができる。これによると、データ記録再生装置TF9側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF9の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF9の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0594】
また、図示されないがデータ書込装置WV9が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF9側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF9側の制御タイミング信号やデータ書込装置WV1側への送信キャリアとして利用できる。
【0595】
また、エラー管理手段rw92とエラー管理手段tf92は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0596】
本データ書込システムの特徴として、メモリ部Mem9へ記録される各データの配置と、ファイル管理とりわけアドレス管理がある。以下、これらの技術構成を、図29に示されるメモリ部Mem9のメモリマップ及び、図30に示されるフローチャートに基づき説明する。
【0597】
図29に示されるように、メモリ部Mem9には、一つのデータブロックを1クラスタとして、複数のクラスタが記録可能に構成されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報が記録されたシステムクラスタSCがある。
【0598】
ここで本実施形態では、システムクラスタSCはメモリ部Mem9の固定位置、例えば先頭部に常に記録され、さらにプロテクト情報クラスタPDCはメモリ部Mem9の他の固定位置、例えばメモリ部Mem9の末端に常に記録されるものとする。一方、ユーザークラスタUCiはメモリ上の、これら以外の任意の位置に、任意の記録長で記録がなされる。
【0599】
図示される例では、ユーザークラスタは未記録であり、プロテクト情報クラスタPDCはメモリ末端の領域のアドレスadPL〜adPHに記録される。その記録長は任意であるが、内部に記録される読取プロテクト情報PDrと書込プロテクト情報PDwは、アドレスadPH(メモリ最末端)を基準にして所定のオフセットоfst1またはоfst2だけ逆算したアドレスに常に記録されるものとする。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、アドレスadPHを基準にして、
adPr=adPH−оfst1
adPw=adPH−оfst2
で求めることができる。ここでオフセットоfst1、оfst2は所定値であり、容量が異なるメモリ部であっても同一値である。したがって、任意の容量のメモリ部につき、その記録可能領域の最末端のアドレスadPH(これは各メモリ部につき容易に得られる)から、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwを常に演算することができる。
なおプロテクト情報クラスタPDCにはこれらプロテクト情報の他に、キーデータやファイルID等の各種情報の記録が可能である。
【0600】
システムクラスタSCには、このメモリ上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが予め定められたアドレスadCに記録される。
【0601】
例えばクラスタ・アドレス・テーブルCAdTには、ユーザークラスタのクラスタ番号と、ヘッドアドレス、テイルアドレスが表形式で記録される。ここで、各ユーザークラスタUCiを、前に位置するユーザークラスタUCjの末尾に続けて空きがなく記録する構成を採用する場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0602】
ここで、メモリ部Mem9上の空き領域は、図示されるように空き領域NUとしてアドレス管理する構成とすることも可能である。
【0603】
データ書込装置WV9のコマンド発行手段rw95が発行するコマンドには、データ記録再生装置TF9内部のメモリ部Mem9へデータ記録して新ユーザークラスタUCiの形成を指示する新規記録コマンド、メモリ部Mem9上の既存ユーザークラスタUCiを書き替え記録して新ユーザークラスタUCiとすることを指示する更新記録コマンド、メモリ部Mem9の固定位置に記録された読取プロテクト情報PDrや書込プロテクト情報PDwの更新を指示するプロテクト情報更新コマンド、クラスタ・アドレス・テーブルCAdTの読取りを指示するテーブル読取コマンド、クラスタ・アドレス・テーブルCAdT内容の更新を指示するテーブル更新コマンド、などがある。
【0604】
またデータ書込装置WV9が送信する指示入力データの種類は、コマンド発行手段rw95によるコマンドとアドレス管理手段rw94によるターゲットアドレスから構成される指示入力データ、またはコマンド発行手段rw95によるコマンドとアドレス管理手段rw94によるターゲットアドレスとデータ編成手段rw96による記録データ又は更新データから構成される指示入力データ、またはコマンド発行手段rw95によるコマンドとアドレス管理手段rw94によるターゲットアドレスとプロテクトデータ編成手段rw98によるプロテクト情報更新データから構成される指示入力データ、等がある。
【0605】
これらの指示入力データは、制御・伝送手段rw91を経てエラー管理手段rw92により符号化がなされ、データ授受部Atr9から送出される。
【0606】
一方、データ記録再生装置TF9においては、データ書込装置WV9のデータ授受部Atr9から送出された指示入力データをデータ授受部Btr9が受け、制御・伝送手段tf91を経てエラー管理手段tf92により復号化/エラー訂正がなされたのち、指示入力解析手段tf93によりコマンド解析され、この解析結果に基づき記録手段tf95または再生手段tf94が作動してデータやテーブル或いはアドレスの記録・更新または再生がなされる。
【0607】
再生されたデータ(たとえばテーブル)および処理に伴うステータスは、レスポンスデータ編成手段tf96によりレスポンスデータに編成され、エラー管理手段tf92により符号化がなされ、データ授受部Btr9から送出される。
【0608】
ついでデータ書込装置WV9にあっては、データ授受部Atr9がデータ授受部Btr9から送出されたレスポンスデータを受け、制御・伝送手段rw91を経てエラー管理手段rw92により復号化/エラー訂正がなされたのち、レスポンス処理手段rw93により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0609】
つぎに図30に基づき動作を説明する。
データ書込装置WV9とデータ記録再生装置TF9の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。
【0610】
クラスタ管理プロセスp91では、ステップ9000でデータ書込装置WV9からデータ記録再生装置TF9へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTのエントリポイントである。
【0611】
データ記録再生装置TF9において、この指示入力データを受けると、メモリ部Mem9のアドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ9001でデータ書込装置WV9へ送付する。
【0612】
ついでステップ9002でデータ書込装置WV9からデータ記録再生装置TF9へ読取コマンドcmRとターゲットアドレスadPwが送られる。アドレスadDはプロテクト情報アドレス・テーブルPAdTの固定エントリポイントである。
【0613】
データ記録再生装置TF9はこの指示入力データを受けると、メモリ部Mem9のアドレスadPwから書込プロテクト情報PDwを読取り、これをステップ9003でデータ書込装置WV9へ送付する。
【0614】
続くターゲットアドレス設定プロセスp92では、入力器Kbから入力された、書込のターゲットアドレスad1に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad1の属するクラスタが書込み可能であることを確認する。
【0615】
続くクラスタ書込プロセスp93では、ステップ9010でデータ書込装置WV9がデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスad1と記録データd1を送る。データ記録再生装置TF9はメモリ部Mem9のアドレスad1へ記録データd1を記録する。そしてステータス分析プロセスp96としてステップ9040でステータスデータstatをデータ書込装置WV9へ送る。データ書込装置WV9は、このステータスデータstatを分析して記録データd1の記録が成されたことを確認する。
【0616】
この記録が終了すると、データ書込装置WV9は、記録データがさらに存在することを確認し、再度、ターゲットアドレス設定プロセスp92として入力器Kbから入力された、書込のターゲットアドレスad2に基づき、読取った書込プロテクト情報PDwを参照して、このターゲットアドレスad2の属するクラスタが書込み可能であることを確認する。
【0617】
ついで再度、クラスタ書込プロセスp93としてデータ書込装置WV9はステップ9011でデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスad2と記録データd2を送る。データ記録再生装置TF9はメモリ部Mem9のアドレスad2へ記録データd2を記録する。そして再度、ステータス分析プロセスp96としてステップ9040でステータスデータstatをデータ書込装置WV9へ送る。データ書込装置WV9は、このステータスデータstatを分析して記録データd2の記録が成されたことを確認する。
【0618】
以下同様にして記録データd3、d4の記録が進行し、やがてステップ9019でデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスadNと記録データdNが送られると、データ記録再生装置TF9はメモリ部Mem9のアドレスadNへ記録データdNを記録する。このようにして、記録データd1〜dNから成るファイルがユーザークラスタUC1として形成される。
上記から明らかなように、使用者はこのユーザークラスタUC1の記録長と記録アドレスを所望の任意の値に設定して、メモリ部Mem9上に記録させることができる。
【0619】
続くCAdT更新書込プロセスp94では、ステップ9020でデータ書込装置WV9がデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスadC(固定位置)と、ユーザークラスタUC1の区切り情報を追記した更新データCAdT*を送る。データ記録再生装置TF9はメモリ部Mem9の固定アドレスadCへ、更新データCAdT*を記録する。これによりクラスタ・アドレス・テーブルCAdTが更新される。
【0620】
続くPDw*、PDr*更新書込プロセスp95では、ステップ9030でデータ書込装置WV9がデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスadPw(固定位置)と、更新する書込プロテクト情報PDwを送る。データ記録再生装置TF9はメモリ部Mem9の固定アドレスadPwへ、この更新する書込プロテクト情報PDwを記録する。これにより、書込プロテクト情報PDwに、新規に記録されたユーザークラスタUC1の書込プロテクト情報が追記される。
【0621】
さらに、データ書込装置WV9がデータ記録再生装置TF9へ書込コマンドcmWとターゲットアドレスadPr(固定位置)と、更新する読取プロテクト情報PDrを送る。データ記録再生装置TF9はメモリ部Mem9のアドレスadPrへ、この更新する読取プロテクト情報PDrを記録する。これにより、読取プロテクト情報PDrに、新規に記録されたユーザークラスタUC1の読取プロテクト情報が追記される。
【0622】
前記のように、本システムの構成によれば、ユーザークラスタの区切りを自由に設定することができるから、記録するデータの記録長を任意の所望長さで記録することができ、複数クラスタに分割する必要がない。これによりメモリ領域に不使用のデッドエリアを生成させることがなく、よってメモリ利用効率が向上する。さらにファイル管理が容易となるのみならず、プロテクト情報の記録格納領域を1ファイルにつき1個にすることができ、プロテクト情報の記録領域節約が可能になる。
【0623】
図31は、本発明に係るデータ読取システムの他の実施形態のブロック構成図である。図32は、図31に示されるデータ読取システムの動作の説明図である。
図31に示されるように、本発明に係るデータ読取システムは、データ読取装置RV10とデータ記録再生装置TF10を備える。
【0624】
データ読取装置RV10は、使用者が指示を入力するための指示情報入力手段Kb、表示情報出力手段DpL、データ記録再生装置TF10とのデータ授受に携わるデータ授受部Atr10、データ授受部Atr10に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段rw101、授受されるデータのエラー管理を実行するエラー管理手段rw102、データ記録再生装置TF10から送られデータ授受部Atr10が受けたレスポンス信号を処理するレスポンス処理手段rw103を備える。
【0625】
さらに、指示情報入力手段Kbを介して入力されたアドレス情報をはじめ、各アドレスの管理を行うアドレス管理手段rw104、指示情報入力手段Kbを介して入力された指示コマンドに基づき所定形式のコマンドを発行するコマンド発行手段rw105を具備する。
【0626】
データ読取装置RV10は、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることが好ましいが、ロジック回路または一部分をロジック回路で構成することも可能である。
【0627】
一方、データ記録再生装置TF10は、データ読取装置RV10とのデータ授受に携わるデータ授受部Btr10、データ授受部Btr10に接続され、さらに各部に接続されて信号/データを各部に伝送するとともに各部を制御する制御・伝送手段tf101、授受されるデータのエラー管理を実行するエラー管理手段tf102、データ読取装置RV10から送られデータ授受部Btr10が受けたデータから指示入力を解析する指示入力解析手段tf103、データを記録保持するメモリ部Mem10、データ読取装置RV10から送られたターゲットアドレスに基づきメモリ部Mem10の当該アドレスからデータを読み取る再生手段tf104を備える。
【0628】
メモリ部Mem10は例えば半導体メモリセルアレイで構成されるが、これに限定されることなく、磁気シートや光学式メモリ媒体による構成も可能である。
【0629】
さらに、前記のエラー管理手段tf102または、指示入力解析手段tf103または、再生手段tf104の実行による結果をレスポンスデータに編成するレスポンスデータ編成手段tf106を備える。
【0630】
データ記録再生装置TF10は、全体をロジック回路で、または一部分をロジック回路で構成することが好ましいが、CPUを備える不図示のマイクロコンピュータと、このマイクロコンピュータによって読取り実行可能のプログラムが格納された例えばROM(読出し専用メモリ)を備えて構成するものとし、前記の各手段は夫々プログラムとしてROMに格納する構成とすることも可能である。
【0631】
また、データ授受部Atr10、Btr10は、アンテナを具備して電磁波の受発信によりデータ授受を行う構成とすることが好ましいが、有線の接続であっても差し支えない。
とりわけ電磁波の受発信を行う構成では、データ読取装置RV10が発信する電磁波をデータ記録再生装置TF10が受信し、これを整流して得る電力を電源としてデータ記録再生装置TF10の各部に供給する構成とすることができる。これによると、データ記録再生装置TF10側に例えば電池や、外部から供給される電源を用意する必要がなくなり、データ記録再生装置TF10の構成が簡素化されるのみならず、経済的となる。またデータ記録再生装置TF10の設置場所の制約がなくなり、システム構築の自由度を向上させることができる。
【0632】
また、図示されないがデータ読取装置RV10が発信する電磁波からクロック信号を抽出するクロック回路を、データ記録再生装置TF10側に設ける構成とすることも可能である。これによって得られるクロックは、データ記録再生装置TF10側の制御タイミング信号やデータ読取装置RV10側への送信キャリアとして利用できる。
【0633】
また、エラー管理手段rw102とエラー管理手段tf102は、データのエラー訂正機能を含むが、この他にデータの暗号化/復号化機能を備える構成とすることも可能である。
【0634】
ここでメモリ部Mem10には、図示されるようにその先頭部から順に、システムクラスタSC、未記録エリアNU1、ユーザークラスタUC1、未記録エリアNU、プロテクト情報クラスタPDCが配列されているものとし、ユーザークラスタUC1を読み取るものとする。
【0635】
システムクラスタSCは、メモリ部Mem10の先頭部に常に記録されている。さらにプロテクト情報クラスタPDCは、メモリ部Mem10の末端部に常に記録されている。一方、ユーザークラスタUC1はメモリ上の任意の位置に、任意の記録長で記録されている。
【0636】
プロテクト情報クラスタPDCのアドレスadPrには読取プロテクト情報PDrが記録されている。このアドレスadPrは、メモリ部Mem10の最末端アドレスから常に所定量だけオフセットした位置にある。したがってメモリ部Mem10の記録容量が異なれば、アドレスadPrは各メモリ部で夫々異なる値となるが、各メモリ部の最末端アドレス(これは各メモリ部につき容易に得られる)から所定量だけオフセット演算することにより、アドレスadPrを容易に得ることができる。
【0637】
さらに、ユーザークラスタUC1はアドレスad1〜アドレスadNを占め、データd1〜dNが一つのファイルとして記録されている。
【0638】
システムクラスタSCには、このメモリ部Mem10上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが予め定められた固定アドレスadCに記録されている。
【0639】
データ読取装置RV10のコマンド発行手段rw105が発行するコマンドには、メモリ部Mem10に記録されたユーザークラスタUCiのデータ再生を指示する再生コマンド、クラスタ・アドレス・テーブルCAdTや、さらに読取プロテクト情報PDrの読取りを指示する読取コマンドなどがある。
【0640】
またデータ読取装置RV10は、コマンド発行手段rw105によるコマンドとアドレス管理手段rw104によるターゲットアドレスから構成される指示入力データを送信する。この指示入力データは、制御・伝送手段rw101を経てエラー管理手段rw102により符号化がなされ、データ授受部Atr10から送出される。
【0641】
一方、データ記録再生装置TF10においては、データ読取装置RV10のデータ授受部Atr10から送出された指示入力データをデータ授受部Btr10が受け、制御・伝送手段tf101を経てエラー管理手段tf102により復号化/エラー訂正がなされたのち、指示入力解析手段tf103によりコマンド解析され、この解析結果に基づき再生手段tf104が作動してデータやテーブル或いはアドレスの再生がなされる。
【0642】
再生されたデータおよび処理に伴うステータスは、レスポンスデータ編成手段tf106によりレスポンスデータに編成され、エラー管理手段tf102により符号化がなされ、データ授受部Btr10から送出される。
【0643】
ついでデータ読取装置RV10にあっては、データ授受部Atr10がデータ授受部Btr10から送出されたレスポンスデータを受け、制御・伝送手段rw21を経てエラー管理手段rw102により復号化/エラー訂正がなされたのち、レスポンス処理手段rw103により処理され、再生されたデータ、および処理に伴うステータスが表示情報出力手段DpLに表示されるか、装置外に出力される。
【0644】
つぎに本データ読取システムの動作を、図32に示されるフローチャートに基づき説明する。
データ読取装置RV10とデータ記録再生装置TF10の動作は、以下のような複数のプロセスにしたがい実行される。各プロセスは、複数のステップから構成される。
【0645】
クラスタ管理プロセスp101では、ステップ10000でデータ読取装置RV2からデータ記録再生装置TF10へ、読取コマンドcmRとターゲットアドレスadCから成る指示入力データが送られる。アドレスadCはクラスタ・アドレス・テーブルCAdTの固定エントリポイントである。
データ記録再生装置TF10において、この指示入力データを受けると、メモリ部Mem10の固定アドレスadCからクラスタ・アドレス・テーブルCAdTを読取り、これをステップ10001でデータ読取装置RV10へ送付する。
【0646】
ついでステップ10002でデータ読取装置RV10からデータ記録再生装置TF10へ読取コマンドcmRとターゲットアドレスadPrが送られる。アドレスadPrは読取プロテクト情報PDrの固定アドレスである。
【0647】
データ記録再生装置TF10はこの指示入力データを受けると、メモリ部Mem10のアドレスadPrから読取プロテクト情報PDrを読取り、これをステップ10003でデータ読取装置RV10へ送付する。
【0648】
続くターゲットアドレス設定プロセスp102では、入力器Kbから入力された、読取りのターゲットアドレスad1に基づき、読取った読取プロテクト情報PDrを参照して、このターゲットアドレスad1の属するクラスタが読取可能であることを確認する。
【0649】
続くクラスタ読取プロセスp103では、ステップ10010でデータ読取装置RV10がデータ記録再生装置TF10へ読取コマンドcmRとターゲットアドレスad1を送る。データ記録再生装置TF10はメモリ部Mem10のアドレスad1から記録されているデータd1を再生し、ステップ10030でステータスデータstatをデータ読取装置RV10へ送ると同時に、ステップ10011で再生データd1をデータ読取装置RV10に送る。
【0650】
データ読取装置RV10では、ステータス分析プロセスp105として、受けたステータスデータstatを分析し、データd1の再生が正常に成されたことを確認すると、再生データd1を表示または出力する。
【0651】
この再生が終了すると、データ読取装置RV10は入力器Kbから入力された次のターゲットアドレスad2に基づき、読取った読取プロテクト情報PDrを参照し、このターゲットアドレスad2の属するクラスタが読取可能であることを確認する。
【0652】
ついで再度、クラスタ書込プロセスp103としてデータ読取装置RV10はステップ10012でデータ記録再生装置TF10へ読取コマンドcmRとターゲットアドレスad2を送る。データ記録再生装置TF10はメモリ部Mem10のアドレスad2から記録データd2を再生する。そして再度、ステータス分析プロセスp105としてステップ10030でステータスデータstatをデータ読取装置RV10へ送ると同時に、ステップ10013で再生データd2をデータ読取装置RV10に送る。
【0653】
データ読取装置RV10では、ステータス分析プロセスp105として、受けたステータスデータstatを分析し、データd2の再生が正常に成されたことを確認すると、再生データd2を表示または出力する。
【0654】
以下同様にして記録されたデータd3、d4の再生が進行し、やがてステップ10020でデータ記録再生装置TF10へ読取コマンドcmRとターゲットアドレスadNが送られると、データ記録再生装置TF10はメモリ部Mem10のアドレスadNからデータdNを再生し、データ読取装置RV10へ送出する。このようにして、ユーザークラスタUC1を構成するデータd1〜dNから成るファイルが読み取られる。
【0655】
前記のように、本実施形態に係るデータ読取システムによれば、固定位置のクラスタ・アドレス・テーブルCAdTから、読取りを所望する記録データのメモリ部上の存在を確認でき、固定位置から読み取られたプロテクト情報に基づき、読取りを所望する記録データの読取り可能を確認したのちに、所望の記録データをメモリ部から読み取ることにより、記録位置および記録長を問わず、所望の記録データを確実にアクセスできる。しかもプロテクト情報が固定位置に記録されていることによりプロテクト情報を容易にアクセスでき、よってデータ記録再生装置のメモリ部に記録されたデータを容易に保護することができる。
【0656】
図33は、本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW11は、例えば前述のデータ記録再生装置TF9またはTF10(図28または図31参照:以下、データ記録再生装置TF9のみ記述)に対し、電磁波を発信してデータ記録再生装置TF9へ電力を供給するとともに、電磁波により指示入力データをデータ記録再生装置TF9へ送信し、またデータ記録再生装置TF9からレスポンス信号を受信するものである。
【0657】
データ書込・読取装置RW11は、各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw1101、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データやデータ記録再生装置TF3から読み取ったデータ、或いは交信内容を仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpLを備える。
【0658】
さらに、使用者から入力されたコマンドに基づきコマンドを所定フォーマットで発行するコマンド発行手段rw1102、使用者から入力されたターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理するアドレス管理手段rw1103、使用者から入力された記録データに基づき所定フォーマットでデータ編成を行うデータ編成手段rw1108、使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)に基づき所定フォーマットで更新データの編成を行うプロテクト情報更新手段rw1109、前記の、コマンド発行手段rw1102とアドレス管理手段rw1103とデータ編成手段rw1108とプロテクト情報更新手段rw1109からのデータに基づき指示入力データを編成する指示入力データ編成手段rw1104を備える。
【0659】
さらに、指示入力データ編成手段rw1104の出力データにエラー符号化処理を施して送信受信回路TRへ入力するとともに、送信受信回路TRが受信したレスポンスデータにエラー訂正処理を施してバッファメモリBufへ格納するエラー管理手段ER、このエラー管理手段ERから信号を受けてアンテナANTから電磁波を発信するとともに、アンテナANTが捕捉した電磁波からレスポンス信号を生成させる送信受信回路TRを備える。
【0660】
さらに、バッファメモリBufへ格納されたデータから、各種情報やアドレス情報やコマンド等を抽出するレスポンス処理手段rw1105を備える。レスポンス処理手段rw1105が抽出する情報には、クラスタ・アドレス・テーブルCAdT、書込プロテクト情報PDw、読取プロテクト情報PDr、リトライ・コマンドrty、再生データRо、ステータスstat等がある。
【0661】
さらに、入力されたターゲットアドレスと、レスポンス処理手段rw1105から供給されたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw1107へ供給するクラスタ確定手段rw1106、このクラスタ番号と、レスポンス処理手段rw1105から供給された読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をコマンド発行手段rw1102へ供給する許可確認手段rw1107を備える。
【0662】
アドレス管理手段rw1103は、クラスタ・アドレス・テーブルCAdTが記録された固定アドレスと、オフセット値を内蔵している。オフセット値は、前記図29の説明で述べたように、各メモリ部の最末端アドレスから読取プロテクト情報PDrの記録アドレスと書込プロテクト情報PDwの記録アドレスを演算する値である。
各メモリ部の最末端アドレスは、この装置に組み合わされるデータ記録再生装置TF9等がハードウエアで検出しており、よってアドレス管理手段rw1103は各データ記録再生装置TF9から容易に入手できる。一方アドレス管理手段rw1103はオフセット値を内蔵するから、したがって上記の演算が容易になされ、PDrアドレスやPDwアドレスを送出する機能を備えることになる。なお図33には、上記のオフセット値や演算プロセスを含めて、「PDrアドレス」、「PDwアドレス」と表示してある。
【0663】
またレスポンス処理手段rw1105が出力するリトライ・コマンドrtyはコマンド発行手段rw1102へ供給され、ステータスstatは制御手段rw1101へ供給されるよう構成されている。
【0664】
さらにデータ書込・読取装置RW11は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわ制御手段rw1101、コマンド発行手段rw1102、アドレス管理手段rw1103、指示入力データ編成手段rw1104、レスポンス処理手段rw1105、クラスタ確定手段rw1106、許可確認手段rw1107、データ編成手段rw1108、プロテクト情報更新手段rw1109、エラー管理手段ERが、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0665】
図34は、前記のデータ書込・読取装置RW11の動作フローチャートである。以下、同図に基づき動作を説明する。
【0666】
使用者からキーボードKbを介して入力がなされ、制御手段rw1101によって指示入力の発生が検出されると(ステップS1102)、制御手段rw1101はコマンド発行手段rw1102とアドレス管理手段rw1103と指示入力データ編成手段rw1104を駆動して、データ記録再生装置TF9のメモリ部Mem9からクラスタ・アドレス・テーブルCAdTを読取る指示を、データ記録再生装置TF9に発信する(ステップS1104)。ここでアドレス管理手段rw1103は、内蔵しているCAdTアドレス(クラスタ・アドレス・テーブルCAdTのメモリ部Mem9上の記録アドレスで、これは予め定められている)を出力する。また、指示入力データ編成手段rw1104が発するデータは、エラー管理手段ERを経由して符号化処理が施される。
【0667】
ついでデータ記録再生装置TF9から返送されるクラスタ・アドレス・テーブルCAdTの到着を待機する(ステップS1106)。レスポンス信号が到着すると、制御手段rw1101はエラー管理手段ERを駆動し、エラー管理手段ERはレスポンス信号に復号化を施してバッファメモリBufに格納する。ここで制御手段rw1101はレスポンス処理手段rw1105を駆動し、レスポンス処理手段rw1105はバッファメモリBufに格納されたレスポンス信号から、クラスタ・アドレス・テーブルCAdTであることを確認し、クラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw1106へ入力する。クラスタ確定手段rw1106は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させる(ステップS1108)。
【0668】
ついで制御手段rw1101はコマンド発行手段rw1102を駆動し、コマンド発行手段rw1102は使用者から入力されたコマンドを検証して、結果を制御手段rw1101へ返送する。
【0669】
ついでステップS1110で、コマンドが書込み指示であれば(A34)、制御手段rw1101はコマンド発行手段rw1102とアドレス管理手段rw1103と指示入力データ編成手段rw1104を駆動して、書込プロテクト情報PDwの読取り指示をデータ記録再生装置TF9に発信する(ステップS1112)。
【0670】
ここでアドレス管理手段rw1103は、データ記録再生装置TF9から得たメモリ部Mem9の最末端アドレスと内蔵するオフセット値および演算プロセスから演算した、書込プロテクト情報PDwのメモリ部上の記録アドレス(PDwアドレス)を、指示入力データ編成手段rw1104へ出力する。
【0671】
そしてデータ記録再生装置TF9からの書込プロテクト情報PDwの送付を待機し(ステップS1114)、書込プロテクト情報PDwの送付をバッファメモリBufに受けると、許可確認手段rw1107を駆動し、許可確認手段rw1107はクラスタ確定手段rw1106から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS1116)。確認結果は制御手段rw1101とコマンド発行手段rw1102に通知される。
【0672】
書込み許可がなされていると、制御手段rw1101はコマンド発行手段rw1102とアドレス管理手段rw1103と指示入力データ編成手段rw1104を駆動し、コマンド発行手段rw1102はデータ編成手段rw1108を駆動し、これにより書込み指示コマンドとターゲットアドレスと記録データがデータ記録再生装置TF9へ送信され、データ記録再生装置TF9においてメモリ部Mem9のターゲットアドレスに記録データが書き込まれる(ステップS1118)。
【0673】
ついでデータ記録再生装置TF9からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw1105はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw1101へ入力する。制御手段rw1101はステータスコードstatを検討し(ステップS1120)、レスポンスが書込みの正常終了であれば(A341)、ステップS1122へ進み、書き込むファイルデータが終了すればクラスタ・アドレス・テーブルをCAdT*に更新し、データ記録再生装置TF9へクラスタ・アドレス・テーブルCAdT*の書込指示を送信する。
【0674】
さらに、使用者によって書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力を得て、データ記録再生装置TF9へ書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新指示コマンドを更新データとともに送信し(ステップS1124)、データ記録再生装置TF9から送られた書込み正常終了のレスポンス情報を得て一連の動作が完了する。またステップS1120でレスポンスが再トライを要求している場合は(A342)、ステップS1118へ戻り再送する。またステップS1120でレスポンスがエラー通知であれば(A343)、ここで一連の動作を中止する。
【0675】
一方、ステップS1110でコマンドが読取り指示であれば、制御手段rw1101はコマンド発行手段rw1102とアドレス管理手段rw1103と指示入力データ編成手段rw1104を駆動して、読取プロテクト情報PDrの読取り指示をデータ記録再生装置TF9に発信する(ステップS1130)。
【0676】
ここでアドレス管理手段rw1103は、データ記録再生装置TF9から得たメモリ部Mem9の最末端アドレスと内蔵するオフセット値および演算プロセスから演算した、読取プロテクト情報PDrのメモリ部上の記録アドレス(PDrアドレス)を、指示入力データ編成手段rw1104へ出力する。
【0677】
そしてデータ記録再生装置TF9からの読取プロテクト情報PDrの送付を待機し(ステップS1132)、読取プロテクト情報PDrの送付をバッファメモリBufに受けると、許可確認手段rw1107を駆動し、許可確認手段rw1107はクラスタ確定手段rw1106から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取許可されているかを確認する(ステップS1134)。確認結果は制御手段rw1101とコマンド発行手段rw1102に通知される。
【0678】
読取許可がなされていると、制御手段rw1101はコマンド発行手段rw1102とアドレス管理手段rw1103と指示入力データ編成手段rw1104を駆動し、これにより読取り指示コマンドとターゲットアドレスがデータ記録再生装置TF9へ送信され、データ記録再生装置TF9においてメモリ部Mem9のターゲットアドレスから所望のデータが読み出される(ステップS1136)。
【0679】
ついでデータ記録再生装置TF9からレスポンス情報が送られバッファメモリBufに格納されると、レスポンス処理手段rw1105はこのレスポンス信号からステータスコードstatを抽出し、制御手段rw1101へ入力する。制御手段rw1101はステータスコードstatを検討し(ステップS1138)、レスポンスが読取りの正常終了であれば(B341)、ステップS1140へ進み、再生データを出力して一連の動作が完了する。またステップS1138でレスポンスが再トライを要求している場合は(B342)、ステップS1136へ戻り再送する。またステップS1138でレスポンスがエラー通知であれば(B343)、ここで一連の動作を中止する。
【0680】
前記のように本実施形態のデータ書込・読取装置RW11によれば、データ書込時に、データ記録再生装置のメモリ部の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよび、メモリ部の端部から固定位置に記録された書込プロテクト情報PDwを読出し、ついで記録データが記録される所望の記録位置が書込可能であることを確認した後に、所望の記録データをデータ記録再生装置のメモリ部の所望の位置に書き込む。さらに記録データの書込後に、メモリ部の固定位置にあるクラスタ・アドレス・テーブルCAdTを更新する。また記録データの書込後に、メモリ部の端部から固定位置にある書込プロテクト情報PDwを更新する。
【0681】
したがって、以後の処理において固定位置をアクセスすることでクラスタ・アドレス・テーブルCAdTが得られ、これによりメモリ部の記録データの記録位置を容易に入手することができる。さらにメモリ部の端部からの固定位置をアクセスすることでプロテクト情報が得られ、これによりメモリ手段上の任意の位置の書込許可の確認が容易になされる。
【0682】
上記のようにして、所望の記録データをデータ記録再生装置のメモリ部の所望の位置に記録するから、メモリ部にある未利用領域の管理が容易になり、空き領域の発生を防止してメモリ利用効率を向上させることができる。
【0683】
また読取り時に、何れもデータ記録再生装置のメモリ部の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよび、メモリ部の端部から固定位置に記録された読取プロテクト情報PDrを入手し、ついで所望の読取位置が読取可能であることの確認後に、所望のデータをデータ記録再生装置のメモリ部から読み取るものであるから、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データを読取ることができる。しかも読取プロテクト情報PDrが固定位置に記録されているから容易にアクセスでき、よってデータの保護が容易になる。
【0684】
図35は、本発明に係るファイル記録方法及びファイル再生方法の他の実施形態のフローチャートである。同図に示されるように、本実施形態の方法によれば、使用者が入力するターゲットアドレスを受信すると(ステップS3502)、所定位置にあるクラスタ・アドレス・テーブルCAdTを読取り(ステップS3504)、ターゲットアドレスがクラスタ・アドレス・テーブルCAdT上に実在するか否かを検証する(ステップS3506)。
【0685】
ターゲットアドレスが実在しないものであれば、エラー通知を発行し(ステップS3516)、処理を了える。
ターゲットアドレスが実在すると、使用者が入力する指示入力の種類を確認する(ステップS3510)。
【0686】
指示入力が書込指示であると、メモリの末端から固定位置に在る書込プロテクト情報PDwを読み取る(ステップS3512)。ここで書込プロテクト情報PDwは常時、メモリの末端から計って固定位置におかれる。
【0687】
ついでターゲットアドレスの領域が書込許可されているかを書込プロテクト情報PDwにより確認する(ステップS3514)。書込禁止であれば、エラー通知を発行する(ステップS3516)。書込許可であれば、ターゲットアドレスへ記録データを記録する(ステップS3518)。ここで使用者は所望の記録長のデータを記録することができる。
【0688】
ファイルデータがさらに存在すれば(ステップS3520)、アドレスを更新(インクリメント)して(ステップS3522)、ステップS3514へ戻る。
【0689】
ファイルデータが終了すれば(ステップS3520)、記録されたファイルを最新クラスタとして設定する(ステップS3524)。ついでクラスタ・アドレス・テーブルCAdTを更新する(ステップS3526)。これは、最新クラスタの情報を追記して新クラスタ・アドレス・テーブルCAdT*とするものである。
【0690】
ついで、使用者から最新クラスタに関する読取プロテクト情報PDrまたは/および書込プロテクト情報PDwの指示があれば(ステップS3528)、読取プロテクト情報PDr*または/および書込プロテクト情報PDw*を更新する(ステップS3530)。これは最新クラスタのデータの読取り又は書き替えの許可と禁止を設定するものである。
【0691】
一方、ステップS3528において使用者から最新クラスタに関する読取プロテクト情報PDrまたは/および書込プロテクト情報PDwの指示がなければ、処理を了える。またはここで指示がない場合に、最新クラスタに関する読取プロテクト情報PDrまたは/および書込プロテクト情報PDwをデフォルト値として更新するように構成してもよい。
【0692】
一方、ステップS3510において、指示入力が読取指示であると、メモリの末端位置に在る読取プロテクト情報PDrを読み取る(ステップS3532)。ここで読取プロテクト情報PDrは常時、メモリの末端の所定位置におかれる。
ついでターゲットアドレスの領域が読取許可されているかを読取プロテクト情報PDrにより確認する(ステップS3534)。読取禁止であれば、エラー通知を発行する(ステップS3516)。読取許可であれば、ターゲットアドレスのデータを読取る(ステップS3536)。
【0693】
読み取るファイルデータがさらに存在すれば(ステップS3538)、アドレスを更新(インクリメント)して(ステップS3540)、ステップS3534へ戻る。読み取るファイルデータが終了すれば(ステップS3538)、処理を了える。
【0694】
図36は、本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の一実施形態の説明図である。
【0695】
同図に示されるように、本実施形態に係るデータが記録されたコンピュータが読み取り可能な記録媒体MeD3は、データが記録および再生可能なメモリセルMcell3と、このメモリセルMcell3へ接続されて書込/読取を制御するコントロール部Ctrと、このコントロール部Ctrへ接続されたコネクタTmnを備え、コネクタTmnには外部の装置から書込/読取の選択信号が授けられるR/W端子と、外部の装置からアドレス信号が授けられるアドレス端子と、外部の装置間とで書込/読取データの授受をするDI/O端子を備える。
【0696】
メモリセルMcell3は、例えばフラッシュメモリに代表される不揮発性半導体メモリEEPROMで構成されていて、一つのデータブロックを1クラスタとして、複数のクラスタが記録されている。複数のクラスタには、ユーザーが所望の記録長のファイルを所望の位置に記録した複数のユーザークラスタUCi(i=1、2、等)、これら各クラスタのデータの保護情報が記録されたプロテクト情報クラスタPDC、各クラスタのアドレス情報等が記録されたシステムクラスタSCがある。
【0697】
システムクラスタSCは、メモリセルMcell3の定位置、例えば先頭部に常に記録される。一方、ユーザークラスタUCiはメモリセル上の任意の位置に、任意の記録長で記録されている。
【0698】
さらにプロテクト情報クラスタPDCは、メモリセルMcell3の末端位置に記録されている。図示される例では、プロテクト情報クラスタPDCはメモリセルMcell3の最末端アドレスをadPHとして、アドレス領域adPL〜adPHに記録される。その内部に記録される読取プロテクト情報PDrと書込プロテクト情報PDwは、最末端アドレスadPHを基準にした所定のオフセット値оfst1またはоfst2だけずらせたアドレスに記録されている。したがって、読取プロテクト情報PDrのアドレスadPrと書込プロテクト情報PDwのアドレスadPwは、アドレスadPHを基準にして、
adPr=adPH−оfst1
adPw=adPH−оfst2
で演算することができる。
【0699】
したがって、読取プロテクト情報PDrと書込プロテクト情報PDwは、常にメモリセルMcell3の最末端位置(最末端部)からの固定位置にある。
なおプロテクト情報クラスタPDCにはこれらプロテクト情報の他に、キーデータやファイルID等の各種情報の記録がなされる。
【0700】
システムクラスタSCには、このメモリセル上に記録されたユーザークラスタUCi各々の少なくとも区切りアドレス情報を載せたクラスタ・アドレス・テーブルCAdTが、予め定められた固定アドレスadCに記録されている。
【0701】
クラスタ・アドレス・テーブルCAdTには、各ユーザークラスタUCiのクラスタ番号と、ヘッドアドレス、テイルアドレスが表形式で記録されている。ここで、各ユーザークラスタを、前に位置するユーザークラスタの末尾に続けて空きがなく記録する構成が採用されている場合は、区切り情報としてヘッドアドレスを省略し、テイルアドレスのみを記録する構成にできる。これは全体メモリ容量が限られて管理データの削減が必要な場合に適する。
【0702】
前記のようにデータが記録されているから、メモリセルMcell3上の任意の位置に任意の記録長のユーザークラスタを形成させても、固定位置に記録されていてアクセス容易なクラスタ・アドレス・テーブルCAdTを参照することで、容易に各ユーザークラスタのエントリ・ポイントが得られ、所望のユーザークラスタをアクセスすることができる。
【0703】
同様に、読取プロテクト情報PDrまたは書込プロテクト情報PDwがメモリセルMcell3の最末端から固定位置にあることで容易にアクセスでき、よって書込/読取許可の確認を容易に実行することができる。
【0704】
この記録媒体MeD3は、後述の図37および図38で示される本発明に係るデータ書込・読取装置RW12に接続され、書込または読取がなされる。
【0705】
なお図36では、メモリセルMcell3を半導体メモリセルアレイで構成し且つコントロール部やコネクタを備える構成として示したが、本発明の記録媒体はこの構成に限定されることなく、コントロール部を備えない磁気カードや、コントロール部やコネクタを備えない磁気シートや光学式メモリ媒体による構成も可能である。
【0706】
図37は、本発明に係るデータ書込・読取装置の一実施形態の構成を示すブロック図である。
このデータ書込・読取装置RW12は、例えば前述の記録媒体MeD3(図36参照)を接続して、書込/読取を行うものである。
【0707】
データ書込・読取装置RW12は、内蔵する各手段の作動を制御するとともに、各手段とでデータ授受を行う制御手段rw1201、使用者が指示データ(コマンド、ターゲットアドレス、記録データ、更新データ等)を入力するためのキーボードKbおよび入力インタフェースI−Bf、入力された各データや記録媒体MeD1から読み取ったデータを仲介する出力インタフェースO−Bf、出力インタフェースO−Bfに接続された液晶ディスプレイ装置DpL、前記の記録媒体MeD3を接続するコネクタTmnを備える。
【0708】
さらに、使用者から入力された記録データDwを受け、または使用者から入力されたプロテクト情報の更新データ(PDr*、PDw*)を受け、これらを使用者から入力されたコマンドに基づき記録媒体MeD3へ書込み、或いは使用者から入力されたコマンドに基づき記録媒体MeD3からクラスタ・アドレス・テーブルCAdT、読取プロテクト情報PDr、書込プロテクト情報PDw、再生データRоを読み取るメモリ記録再生手段rw1202、メモリ記録再生手段rw1202とデータ授受してデータを編成するデータ編成手段rw1206を備える。メモリ記録再生手段rw1202はコネクタTmnに接続されている。
【0709】
さらに使用者から入力されたターゲットアドレスを受け、このターゲットアドレスをはじめ、各種のテーブルやプロテクト情報のエントリアドレスを演算管理し、確定アドレスをメモリ記録再生手段rw1202へ出力するアドレス管理手段rw1203を備える。
【0710】
さらに、入力されたターゲットアドレスと、読み取られたクラスタ・アドレス・テーブルCAdTに基づきクラスタを確定してクラスタ番号を許可確認手段rw1205へ供給するクラスタ確定手段rw1204、このクラスタ番号と、読み取られた読取プロテクト情報PDrまたは書込プロテクト情報PDwに基づき書込みまたは読取り許可を確認して結果をメモリ記録再生手段rw1202へ供給する許可確認手段rw1205を備える。
【0711】
アドレス管理手段rw1203は、クラスタ・アドレス・テーブルCAdTが記録された固定アドレスと、オフセット値を内蔵している。オフセット値は、各記録媒体の最末端アドレスから読取プロテクト情報PDrの記録アドレスと書込プロテクト情報PDwの記録アドレスを演算する値である。
【0712】
各記録媒体の最末端アドレスはハードウエア検出がなされ、よってアドレス管理手段rw1203は最末端アドレスを容易に入手できる。一方アドレス管理手段rw1203はオフセット値を内蔵するから、したがって上記の演算が容易になされ、PDrアドレスやPDwアドレスを送出する機能を備えることになる。なお図37には、上記のオフセット値や演算プロセスを含めて、「PDwアドレス」、「PDrアドレス」と表示してある。
【0713】
さらにデータ書込・読取装置RW12は、何れも不図示のマイクロコンピュータとROM(読出し専用メモリ)またはフラッシュメモリやEEPROM(電気的消去可能プログラマブル読出しメモリ)を備え、前記メモリには前記の各手段、すなわ制御手段rw1201、メモリ記録再生手段rw1202、アドレス管理手段rw1203、クラスタ確定手段rw1204、許可確認手段rw1205、データ編成手段rw1206が、何れもマイクロコンピュータによって読取り実行可能なプログラムとして格納されている。
【0714】
図38は、データ書込・読取装置RW12の動作フローチャートである。以下、同図に基づき動作を説明する。
【0715】
使用者からキーボードKbを介して入力がなされ、制御手段rw1201によって指示入力の発生が検出されると(ステップS1202)、制御手段rw1201はメモリ記録再生手段rw1202とアドレス管理手段rw1203を駆動し、メモリ記録再生手段rw120は記録媒体MeD3のメモリセル(以下、メモリ部と記述)の固定アドレスadCからクラスタ・アドレス・テーブルCAdTを読取る(ステップS1204)。
【0716】
ここでアドレス管理手段rw1203は、内蔵しているCAdTアドレス(予め定められている固定アドレスadC)を送付するとともに、指示入力のターゲットアドレスを暫定記憶する。一方、メモリ記録再生手段rw1202は指示入力のコマンドを暫定記憶する。書込み指示の場合には、さらに記録データDwを暫定記憶する。
【0717】
メモリ記録再生手段rw1202は、クラスタ・アドレス・テーブルCAdTを読取ると、このクラスタ・アドレス・テーブルCAdTをクラスタ確定手段rw1204へ入力する。クラスタ確定手段rw1204は、入力されたターゲットアドレスとクラスタ・アドレス・テーブルCAdTから、このアドレスの属するクラスタを確定させ、クラスタ番号を許可確認手段rw1205へ送付する(ステップS1206)。
【0718】
ついでメモリ記録再生手段rw1202は、暫定記憶してあったコマンドが書込か、読取かを確認する(ステップS1208)。コマンドが書込指示であれば(A38)、ステップS1210へ進む。
【0719】
ついで制御手段rw1201は前記と同様にメモリ記録再生手段rw1202とアドレス管理手段rw1203を駆動し、記録媒体MeD3のメモリ部から書込プロテクト情報PDwを読取る(ステップS1210)。この際、アドレス管理手段rw1203は、PDwアドレスを演算して、メモリ記録再生手段rw1202へ送付する。
【0720】
メモリ記録再生手段rw1202は、書込プロテクト情報PDwを読取ると、暫定記憶してあったコマンドに基づき、コマンドが書込指示であることを示す情報とともに書込プロテクト情報PDwを許可確認手段rw1205へ供給し、許可確認手段rw1205は、コマンドが書込指示であることを確認して、クラスタ確定手段rw1204から得た確定クラスタ番号と書込プロテクト情報PDwに基づき、確定させたクラスタが書込み許可されているかを確認する(ステップS1212)。確認結果はメモリ記録再生手段rw1202と制御手段rw1201に通知される。
【0721】
書込み許可がなされていると、制御手段rw1201はメモリ記録再生手段rw1202とアドレス管理手段rw1203を駆動し、メモリ記録再生手段rw1202は記録媒体MeD3のメモリ部のターゲットアドレスに記録データDwを書き込む(ステップS1214)。
【0722】
前記の記録データDwの書き込みにより、記録媒体MeD3のメモリ部に新たにユーザークラスタが形成される。そこで、この新ユーザークラスタの区切りアドレス情報を追記し、クラスタ・アドレス・テーブルCAdTをCAdT*に更新する(ステップS1216)。
【0723】
ここで使用者から、新クラスタに関する書込プロテクト情報PDw*または/および読取プロテクト情報PDr*の更新入力がなされれば、これらに基づき、書込プロテクト情報PDwまたは/および読取プロテクト情報PDrを更新する(ステップS1218)。また使用者から更新入力がなければ、デフォルト値を用いて書込プロテクト情報PDwまたは/および読取プロテクト情報PDrを更新する。
【0724】
一方、ステップS1208においてコマンドが読取りである場合は、
制御手段rw1201は前記と同様にメモリ記録再生手段rw1202とアドレス管理手段rw1203を駆動し、記録媒体MeD3のメモリ部から読取プロテクト情報PDrを読取る(ステップS1220)。
【0725】
メモリ記録再生手段rw1202は、読取プロテクト情報PDrを読取ると、コマンドが読取指示であることを示す情報とともに読取プロテクト情報PDrを許可確認手段rw1205へ供給し、許可確認手段rw1205は、コマンドが読取指示であることを確認して、クラスタ確定手段rw1204から得た確定クラスタ番号と読取プロテクト情報PDrに基づき、確定させたクラスタが読取り許可されているかを確認する(ステップS1222)。確認結果はメモリ記録再生手段rw1202と制御手段rw1201に通知される。
【0726】
読取許可がなされていると、制御手段rw1201はメモリ記録再生手段rw1202とアドレス管理手段rw1203を駆動し、メモリ記録再生手段rw1202は記録媒体MeD3のメモリ部のターゲットアドレスから再生データDrを読み取る(ステップS1224)。ついでメモリ記録再生手段rw1202は、これを再生出力Rоとしてこの装置から出力する(ステップS1226)。
【0727】
前記のように本実施形態のデータ書込・読取装置RW12によれば、データ書込時に、記録媒体MeD3の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよび、記録媒体MeD3のメモリ端部から固定位置に記録された書込プロテクト情報PDwを読出し、ついで記録データが記録される所望の記録位置が書込可能であることを確認した後に、所望の記録データを記録媒体MeD3の所望の位置に書き込む。さらに記録データの書込後に、メ記録媒体MeD3のモリの固定位置にあるクラスタ・アドレス・テーブルCAdTを更新する。また記録データの書込後に、メモリ端部から固定位置にある書込プロテクト情報PDwを更新する。
【0728】
したがって、以後の処理において固定位置をアクセスすることでクラスタ・アドレス・テーブルCAdTが得られ、これにより記録媒体MeD3上の記録データの記録位置を容易に入手することができる。さらにメモリ端部からの固定位置をアクセスすることでプロテクト情報が得られ、これにより記録媒体MeD3上の任意の位置の書込許可の確認が容易になされる。
【0729】
上記のようにして、所望の記録データを記録媒体MeD3の所望の位置に記録するから、記録媒体MeD3の未利用領域の管理が容易になり、空き領域の発生を防止してメモリ利用効率を向上させることができる。
【0730】
また読取り時に、記録媒体MeD3の固定位置に記録されたクラスタ・アドレス・テーブルCAdTおよび、メモリ最端部から固定位置に記録された読取プロテクト情報PDrを入手し、ついで所望の読取位置が読取可能であることの確認後に、所望のデータを記録媒体MeD3から読み取るものであるから、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データを読取ることができる。しかも読取プロテクト情報PDrが記録媒体MeD3のメモリ最端部から固定位置に記録されているから、記録媒体MeD3の容量が異なっても容易にアクセスでき、よってデータの保護が容易になる。
【0731】
上記から明らかなように、本発明によれば、メモリ手段(メモリ部Memや記録媒体MeD)へ記録するファイルを任意の記録長で記録することができ、この記録長で一つのクラスタを編成することができる。すなわち一つのファイルが一つの任意長のクラスタに対応し、よって従来のように一つのファイルが複数の固定長クラスタに分割して記録されることがない。これにより、各クラスタ内において未利用の空き領域が生じることがなくなり、メモリ利用効率が向上する。さらに、ファイルが分断されないから、ファイルアクセス等におけるファイル管理が容易になる。
【0732】
且つ、記録したクラスタの位置を示すデータ記録位置情報(クラスタ・アドレス・テーブルCAdT)がメモリ手段上の所定の固定位置(システムクラスタSC内)に記録されるから、この所定位置にあるデータ記録位置情報が参照されることにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルへのエントリが容易となり、よってファイルアクセスが容易に可能になる。
【0733】
さらに、ファイルとクラスタを一対一の対応とすることにより、ファイル管理が容易となるのみならず、書込/読取に関するプロテクト情報(読取プロテクト情報PDrや書込プロテクト情報PDw)の記録格納領域を1ファイルにつきそれぞれ1個のみ(例えば1ファイルにつき夫々1ビットのみ)にすることができ、領域節約が可能になる。
【0734】
さらに本発明の構成では、任意の位置にプロテクト情報クラスタ(PDC)を設けることができ、しかも所定の固定位置(システムクラスタSC内)に、このプロテクト情報クラスタの記録位置情報(プロテクト情報アドレス・テーブルPAdT)を置く構成とするから、この記録位置情報を参照することによって、プロテクト情報クラスタが何れの位置に置かれていても容易にアクセスすることができる。
【0735】
またプロテクト情報クラスタの位置を任意に移動できる構成としたから、メモリ部や記録媒体(まとめて「メモリ手段」)の記録容量が異なっても互換性を維持することが可能である。
したがって、記録容量が異なるメモリ手段につき、データ保護情報を記録するために割り当てる領域を増加させることなく、メモリエリア全体をデータ保護できるファイルシステムを具現できる。
【0736】
さらにプロテクト情報クラスタの位置を任意に移動できるから、例えばメモリ内の任意の位置からファイルの記録を開始して、記録が進んで既に配置されていたプロテクト情報クラスタの領域に至り、このためファイルが分断されるようになった場合でも、プロテクト情報クラスタの位置を後方へ移動させることによって、ファイルの分断を避けることができる。
【0737】
また、本発明においてプロテクト情報クラスタをメモリ領域の末端部に置き、且つプロテクト情報クラスタ内の特定の情報を、メモリ領域の最末端を基準として所定の量(オフセット値:どのメモリでも同じ統一された値)だけずらせて配置する構成とすることにより、この情報の位置が、メモリ領域の最末端を基準とした固定位置になり、よってメモリの記録容量にかかわらず、最末端からの固定距離にあるとして同一処理をすることができる。しかも、メモリを使用する装置であれば管理上、各メモリの最末端アドレスは必ず把握されているから、容易に入手でき、特別の準備をする必要がない。このように、最末端アドレスは与件であり、叉オフセット値は予め決められているから、プロテクト情報クラスタ内の特定の情報の位置を指すための指標(例えばプロテクト情報アドレス・テーブルなど)を別途準備する必要がなくなり、余分な領域を排除して、限りある容量のメモリ領域を有効に利用することができる。
【0738】
さらに、本発明において、プロテクト情報クラスタを常に、最新に記録がなされたユーザークラスタの末尾アドレスに続けて書き込む構成とすることにより、プロテクト情報クラスタの記録された位置を指すための指標を別途準備する必要がなくなり、余分な領域を排除して、限りある容量のメモリ領域を有効に利用することができる。
【0739】
また読取再生時には、メモリ手段上の任意の位置に記録されているデータの読取再生を効率的になすことが可能となり、且つ、プロテクト情報の確認処理が容易になる。
【0740】
【発明の効果】
以上詳述したように、本発明の請求項1に係るファイル記録方法によれば、メモリ手段の任意の位置に、任意の記録長のファイルを記録してクラスタを形成し、このクラスタの記録位置を示すデータ記録位置情報をメモリ手段の所定位置に記録し、クラスタ毎に少なくとも書込み可否を示すプロテクト情報を設定して任意の位置に記録し、且つこのプロテクト情報の記録位置を示すプロテクト記録位置情報を所定位置に記録する構成であるから、ファイルとクラスタは一対一の対応となり、記録長の長いファイルであっても1個のクラスタとして編成される。したがって1個のファイルが複数のクラスタに分割されることがないから、ファイル管理が容易になる。さらにクラスタ内に未利用の記録領域を発生させないから、記録領域の利用効率を向上させることができる。
【0741】
また、データ記録位置情報をメモリ手段上の所定位置に記録することで位置が固定するから、データ記録位置情報を容易に参照でき、メモリ手段上の任意の位置に記録された任意の記録長のファイルアクセスが容易に可能になる。
【0742】
さらに、記録したファイルのプロテクト情報をメモリ手段上の任意の位置に記録し、一方、その位置を示すプロテクト記録位置情報をメモリ手段上の所定位置に記録することで位置が固定するから、プロテクト記録位置情報を容易に参照でき、プロテクト情報がメモリ手段上の何れの位置にあってもアクセスが容易に可能になる。これによりプロテクト情報を任意の位置に置くことで、記録容量が異なるメモリ手段間の互換性を実現できる。
【0743】
また、記録長の長いファイルであっても分割されることなく1個のクラスタとして編成がなされるから、このクラスタに対して設定するプロテクト情報は1個のみとなり、プロテクト情報の記録に必要な領域を削減できるから、限られた記録容量を有効に利用できるという効果を奏する。
【0744】
本発明の請求項2に係るファイル再生方法によれば、所定位置にあるデータ記録位置情報からクラスタを確定し、所定位置にあるプロテクト記録位置情報からプロテクト情報の位置情報を得てプロテクト情報を読み取り、このプロテクト情報に基づきクラスタの読取り可能を確認した後に、着目するクラスタから所望するファイルを読み取るものであるから、これにより所望のファイルの記録位置および記録長を問わず、確実に所望クラスタをアクセスできる。しかもプロテクト情報が任意の位置に記録されていても、その記録位置を容易に同定してプロテクト情報を容易にアクセスできるから、ファイルの保護を確実に行うことができるという効果がある。
【0745】
本発明の請求項3に係るデータ書込システムは、内蔵するメモリ手段に、記録データと、各記録データ夫々の位置情報が編成されたデータ記録位置情報と、各記録データ夫々の書込みプロテクト情報を記録可能で、且つ外部の装置とデータ授受可能なデータ記録再生装置と、このデータ記録再生装置とデータ授受可能なデータ書込装置とを備えて構成され、データ書込装置は、記録データ及び位置情報を指定して送付する手段と、この記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクトデータをデータ記録再生装置へ送付可能とする手段とを備え、データ記録再生装置は、記録データを指定位置へ記録する手段と、データ記録位置情報を第1固定位置へ記録または更新記録し、または再生する手段と、プロテクト情報または、送付されたプロテクトデータにより更新されたプロテクト情報を、メモリ手段上の任意の位置に記録するとともに、プロテクト情報の記録位置を記載したプロテクト記録位置情報を第2固定位置へ記録し、または再生する手段と、プロテクト記録位置情報に基づきプロテクト情報を再生する手段とを備える。
【0746】
この結果、任意の記録データを指定位置に記録でき、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた第1固定位置へ記録されるから、以後の処理において当該第1固定位置をアクセスすることでデータ記録位置情報が容易に得られ、これによりメモリ手段上の記録状態を確認できる。
【0747】
同様に、任意のプロテクト情報を、任意の位置に記録でき、この記録位置はプロテクト記録位置情報に記載されてメモリ手段上の予め定めた第2固定位置へ記録される。したがって、当該第2固定位置をアクセスすることでプロテクト記録位置情報が得られ、このプロテクト記録位置情報によりプロテクト情報が記録されている位置が得られ、この位置をアクセスすることによりプロテクト情報が得られる。すなわちプロテクト記録位置情報を介して、任意の位置に在るプロテクト情報が得られるが、このプロテクト記録位置情報は固定位置に記録されているからアクセスは極めて容易であり、よってプロテクト情報の入手が容易となる。
【0748】
上記のようにして、任意の記録データを任意の指定位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、メモリ手段上にある未利用領域の管理が容易になり、空き領域の発生を防止できてメモリ利用効率を改善できる。また記録容量が異なるメモリ手段間の互換性を維持できるという効果がある。
【0749】
また、プロテクト情報を任意の位置に記録可能であるから、プロテクト情報を任意の位置に移動可能であり、よって記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置を移動することで記録データの分断を回避でき、この記録データのアクセス効率を向上できる。プロテクト情報の位置を移動させても、プロテクト記録位置情報の記載内容を更新するのみで対応ができ、プロテクト記録位置情報の位置は常に第2固定位置にあるから、アクセス過程に変更がなく、処理が円滑になるという効果がある。
【0750】
また、長い記録長の記録データであっても分断なく記録できるから、プロテクト情報は1個でよく、よってプロテクト情報の記録に割り当てる領域を節約できてメモリ利用効率をさらに向上させることが可能となる。
【0751】
本発明の請求項4に係るデータ読取システムは、内蔵するメモリ手段に記録されたデータの再生が可能で、データ授受可能なデータ記録再生装置と、このデータ記録再生装置とデータ授受可能なデータ読取装置とを備えて構成し、メモリ手段上には、任意の位置に任意の記録長の記録データが記録され、さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が任意の位置に記録され、さらに記録された各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報と、プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報とが固定位置に記録される。
【0752】
このデータ読取装置は、読取りを所望する記録データのメモリ手段上の位置情報を指定して送付する手段と、データ記録再生装置から送付された再生データを受理する手段とを備え、データ記録再生装置は、データ記録位置情報の固定位置からの再生手段と、プロテクト記録位置情報の固定位置からの再生手段と、プロテクト記録位置情報から得られたプロテクト情報の記録位置情報に基づくプロテクト情報の再生手段と、プロテクト情報に基づき読取許可が確認された後に、送付された読取りを所望する記録データの位置情報に基づき該当するデータを読取る手段と、読取り結果を再生データとして送付する手段とを備える。
【0753】
これにより、データ記録位置情報から、読取りを所望する記録データのメモリ手段上の存在の確認ができ、プロテクト記録位置情報からプロテクト情報を読み取ることができ、プロテクト情報に基づき記録データの読取り許可を確認したのちに、所望の記録データを読み取ることにより、所望の記録データをその記録位置および記録長を問わず、確実にアクセスできる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト情報を確実にアクセスでき、よってメモリ手段上の記録データを効果的に保護することができる。
【0754】
本発明の請求項5に係るデータ記録再生装置は、メモリ手段を内蔵し、メモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能であり、メモリ手段上には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、さらに記録された各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が予め定めた第1固定位置に記録され、プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報が予め定めた第2固定位置に記録される。
【0755】
さらにデータ書込装置またはデータ読取装置の少なくとも何れかから送付された第1固定位置データに基づき、データ記録位置情報をメモリ手段上から読取り、または送付された第1固定位置データおよび書込データに基づき、データ記録位置情報を書き込む手段と、データ書込装置またはデータ読取装置の少なくとも何れかから送付された第2固定位置データに基づき、プロテクト記録位置情報をメモリ手段上から読取り、または送付された第2固定位置データおよび書込データに基づき、プロテクト記録位置情報を書き込む手段と、データ書込装置またはデータ読取装置の少なくとも何れかから送付された記録位置データに基づき、プロテクト情報をメモリ手段上から読取り、または送付された記録位置データおよび書込データに基づき、プロテクト情報を書き込む手段と、データ読取装置から送付された指定位置データに基づき、メモリ手段上に記録されたデータを読取る手段と、データ書込装置から送付された指定位置データおよび記録データに基づき、記録データをメモリ手段の指定位置へ書き込む手段と、各読取り結果をデータ書込装置またはデータ読取装置の少なくとも何れかへ送付する手段と、各手段の動作結果をデータ書込装置またはデータ読取装置の少なくとも何れかへ通知する手段とを備えるものである。
【0756】
この結果、与えられた任意の記録長のデータが、指定された任意の位置に記録され、この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、以後の読取り処理等において当該固定位置をアクセスすることでデータ記録位置情報が容易に得られ、これによりメモリ手段上の記録状態の確認が容易できる。
【0757】
同様に、与えられた任意のプロテクト情報が任意の位置に記録され、この記録位置はプロテクト記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、当該固定位置をアクセスすることでプロテクト記録位置情報が得られ、これによりプロテクト情報がどの位置に記録されていても、容易にその位置が得られる。
【0758】
さらに、各手段の動作結果がデータ書込装置またはデータ読取装置へ通知されることにより、データ書込装置またはデータ読取装置においてデータ記録再生装置の動作が確認され、データ記録再生装置の送付するデータの信憑性の検証が容易になる。あるいは動作結果に基づき、データ書込装置またはデータ読取装置によるデータ記録再生装置の制御が可能になる。
【0759】
本発明の請求項6に係るデータ記録再生装置は、内蔵するメモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能であり、メモリ手段上には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、さらに記録された各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が予め定めた第1固定位置に記録され、プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報が予め定めた第2固定位置に記録される。
【0760】
さらに、データ書込装置またはデータ読取装置の少なくとも何れかから送付された第1固定位置データに基づき、データ記録位置情報をメモリ手段上から読取り、または送付された第1固定位置データおよび書込データに基づき、データ記録位置情報を書き込む手段と、データ書込装置またはデータ読取装置の少なくとも何れかから送付された第2固定位置データに基づき、プロテクト記録位置情報をメモリ手段上から読取り、または送付された第2固定位置データおよび書込データに基づき、プロテクト記録位置情報を書き込む手段と、データ書込装置またはデータ読取装置の少なくとも何れかから送付された記録位置データに基づき、プロテクト情報をメモリ手段上から読取り、または送付された記録位置データおよび書込データに基づき、プロテクト情報を書き込む手段と、データ読取装置またはデータ書込装置から送付された指定位置データとプロテクト情報を照合して当該指定位置の読取許可または書込許可を確認する照合手段と、照合結果およびデータ読取装置から送付された指定位置データに基づき、メモリ手段上に記録されたデータを読取る手段と、照合結果および前記データ書込装置から送付された指定位置データおよび記録データに基づき、記録データを前記メモリ手段の前記指定位置へ書き込む手段とを備えるものである。
【0761】
これにより、任意の記録長のデータを指定位置に記録でき、一方この記録位置はデータ記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、以後の読取り処理等において当該固定位置をアクセスすると、データ記録位置情報が容易に得られ、これによりメモリ手段上の記録状態の確認が容易にできる。
【0762】
同様に、任意のプロテクト情報を任意の位置に記録でき、一方この記録位置はプロテクト記録位置情報としてメモリ手段上の予め定めた固定位置へ記録される。したがって、当該固定位置をアクセスすることでプロテクト記録位置情報が得られ、これによりプロテクト情報がどの位置に記録されていても、容易にその位置を得ることができる。
【0763】
さらに、指定位置データとプロテクト情報との照合がデータ記録再生装置内において為され、許可が確認された場合にのみ記録または再生が実行される。これにより不適切な処理の実行を排除できるから、例えば不正なデータ書込読取装置から入力された不正書込指示または不正読取指示を排除でき、より信頼性の高い装置を実現することができる。
【0764】
本発明の請求項7に係るデータ書込装置は、入力された記録データを、内蔵するメモリ手段の任意の指定位置へ記録/再生可能なデータ記録再生装置に対してデータ授受が可能であり、メモリ手段の任意の位置に記録された各記録データに関するデータ記録位置情報を固定位置から再生し、各記録データに関するプロテクト記録位置情報を固定位置から再生し、プロテクト記録位置情報に基づき書込みプロテクト情報の位置を得て、書込みプロテクト情報を再生する手段と、所望の書込み記録位置と各データの記録位置情報とプロテクト情報に基づき書込可能を確認する手段と、書込可能の確認後に書込みをする手段と、記録データの書込後に、固定位置に在るデータ記録位置情報の更新書込みをする手段と、プロテクト情報の更新書込みをする手段とを備える。
【0765】
この結果、以後の処理においてメモリ手段の固定位置をアクセスしてデータ記録位置情報を得て、これにより記録データの記録位置を容易に入手でき、さらに固定位置をアクセスすることで得るプロテクト記録位置情報から、任意の位置に記録されたプロテクト情報を得て、このプロテクト情報によりメモリ手段上の任意の位置の書込許可を容易に確認することができる。
【0766】
また、所望の記録データをメモリ手段の所望の位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、メモリ手段上にある未利用領域の管理が容易にでき、空き領域の発生を防止してメモリ利用効率を向上させることが可能になる。また記録容量が異なるメモリ手段間の互換性を実現することができる。
【0767】
さらに、記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置を移動することで記録データの分断を回避でき、この記録データのアクセス効率向上を実現することができる。
【0768】
また、長い記録長の記録データであっても分断なく記録できることにより、記録データの管理が容易になる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個でよく、よってプロテクト情報の記録に割り当てる領域の節約ができ、メモリ手段の利用効率を向上させることができる。
【0769】
本発明の請求項8に係るデータ読取装置は、メモリ手段を内蔵しデータの記録/再生可能なデータ記録再生装置に対してデータ授受が可能であり、メモリ手段の任意の位置に記録された各記録データに関するデータ記録位置情報を固定位置から再生し、各記録データに関するプロテクト記録位置情報を固定位置から再生し、プロテクト記録位置情報に基づきプロテクト情報の位置を得て、読取りプロテクト情報を再生する手段と、所望の読取り位置と各データの記録位置情報と読取りプロテクト情報に基づき読取り可能を確認する手段と、読取り可能の確認後に読取りをする手段とを備えるから、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りができる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報を確実にアクセスでき、よってデータを確実に保護することができる。
【0770】
本発明の請求項9に係るファイル記録方法は、メモリ手段上で任意の記録長のファイルを、既存の最後尾のクラスタの末尾に続けて記録して最新クラスタとし、書込みプロテクトデータを全クラスタについて記載したプロテクト情報を最新クラスタの末尾に続けて記録し、各クラスタの位置情報を記載し、且つ最新のクラスタを示すよう記載がなされたデータ記録位置情報を固定位置に記録する過程を含むから、データ記録位置情報の最新クラスタの位置情報から、最新クラスタの末尾に続けて記録するプロテクト情報の記録位置を容易に演算できる。よってプロテクト情報の記録位置を示す情報を別途準備する必要がなく、この結果、メモリ利用効率およびデータ記録効率を改善できる。
【0771】
またプロテクト情報を常に最新クラスタの末尾に続けて記録するから、最新クラスタの記録長が任意の長さであっても、データ記録位置情報に基づきプロテクト情報を記録する位置を容易に演算することができる。
【0772】
さらに、プロテクト情報とその前に在るクラスタ間にデッドスペースの発生がなく、メモリ利用効率を改善できる。
【0773】
本発明の請求項10に係るファイル再生方法は、プロテクト情報が最新のクラスタの末尾に続けて記録され、且つデータ記録位置情報が所定の固定位置に記録されたメモリ手段を対象として、固定位置からデータ記録位置情報を読取り、最新クラスタの位置情報から、プロテクト情報の記録位置を演算し、この記録位置に基づきプロテクト情報からプロテクトデータを読み出し、このプロテクトデータに基づき所望のクラスタの読取り可能を確認し、この確認後にデータ記録位置情報に基づきクラスタ内の再生を所望するファイルを再生する過程を含むから、最新クラスタの位置情報から、末尾に続けて記録されているプロテクト情報の記録位置が容易に得られ、しかも最新クラスタの記録長が任意の長さであってもプロテクト情報へのエントリが容易にでき、よってデータ再生効率を改善することができる。
【0774】
本発明の請求項11に係るデータ書込システムは、メモリ手段を内蔵し、データ授受可能なデータ記録再生装置と、このデータ記録再生装置とデータ授受可能なデータ書込装置とを備え、データ書込装置は、記録データ及び指定記録位置ならびにプロテクト情報を送出する手段を備え、データ記録再生装置は、固定位置に記録されたデータ記録位置情報ならびにプロテクト情報を再生する手段と、送付された記録データをメモリ手段へ記録する手段と、更新されたデータ記録位置情報を更新記録する手段と、記録後に、送付されたプロテクト情報を最新の記録データの末尾に続く位置に記録する手段を備えるから、任意の記録長のデータを所望位置に記録すると最新の記録データとなり、この記録位置がデータ記録位置情報にとりこまれ、メモリ手段上の固定位置へ記録される。
【0775】
したがって、以後の処理において固定位置のアクセスによりデータ記録位置情報を得ることができ、これによりメモリ手段上の最新の記録データの確定および各記録データの位置の確認が容易になる。
【0776】
また、プロテクト情報を常に、最も新しく記録した記録データの末尾に続く位置に記録するから、このデータ記録位置情報をアクセスすることでプロテクト情報が記録されている位置を容易に得ることができ、またメモリ手段上にある未利用領域の管理が容易になり、空き領域の発生を防止してメモリ利用効率を向上させることができる。
【0777】
また、長い記録長の記録データであっても分断なく記録でき、よって記録データの管理が容易になる。また分断がないから、長い記録長の記録データであってもプロテクト情報は1個でよく、よってプロテクト情報の記録に割り当てる領域を節約してメモリ利用効率をさらに向上させることが可能となる。
【0778】
本発明の請求項12に係るデータ読取システムは、記録データと、固定位置にあるデータ記録位置情報と、最新の記録データの末尾に続く位置に読取りプロテクト情報とが記録されたメモリ手段を内蔵してデータ授受可能なデータ記録再生装置と、このデータ記録再生装置とデータ授受可能なデータ読取装置とを備え、このデータ読取装置は、読取り所望データ指定して送付する手段と、再生データを受理する手段とを備え、またデータ記録再生装置は、データ記録位置情報の再生手段と、データ記録位置情報に基づき演算した記録位置に基づきプロテクト情報を再生する手段と、読取許可の確認後に、該当するデータをメモリ手段上から読取り、データ読取装置へ送付する手段とを備える。
【0779】
この結果、データ記録位置情報と、このデータ記録位置情報に記載された最新の記録データの位置情報に基づきプロテクト情報の位置を演算でき、この位置に基づきプロテクト情報を入手して、所望の読取位置が読取可能であることを確認した後に、所望のデータを読み取ることができる。このように読取を所望する記録データの記録位置および記録長を問わず、確実に所望データの読取りが可能になる。
【0780】
本発明の請求項13に係るデータ書込装置は、入力された記録データを、内蔵するメモリ手段の任意の指定位置へ記録/再生可能なデータ記録再生装置に対してデータ授受が可能であり、メモリ手段の任意の位置に記録された各記録データの位置情報の固定位置からの再生と送付を指示する手段と、プロテクト情報を最新の記録データの末尾位置に続けて記録し、または最新の記録データの末尾位置に続く位置からの再生と送付を指示する手段と、所望の書込み記録位置と各データの記録位置情報とプロテクト情報に基づき書込可能を確認する手段と、書込可能の確認後に書込指示を送付する手段と、記録データの書込み後に、更新したデータ記録位置情報を記録する手段と、更新したプロテクト情報を記録する手段とを備える。
【0781】
この結果、固定位置から読取ったデータ記録位置情報に基づき最新の記録データの記録位置を読取り、この記録位置に基づき演算した位置からプロテクト情報を読み取り、このプロテクト情報と、データ記録位置情報と、書込みを所望する位置とを比較対照して、所望する位置への書込可否を確認でき、書込可能であれば、所望する任意の位置へ所望する任意の記録データを記録でき、且つデータ記録位置情報とプロテクト情報の更新書込みができる。
【0782】
また最新の記録データに続けてプロテクト情報を書き込むから、プロテクト情報の位置を示すための指標を記録する必要がなく、よって処理時間を短縮できる。のみならず、指標を記録する領域を設ける必要がないから、メモリの利用効率を改善できるという効果がある。
【0783】
本発明の請求項14に係るデータ読取装置は、メモリ手段を内蔵し任意の記録長の記録データが記録され、最新の記録データの位置情報が示されたデータ記録位置情報が固定位置に記録され、各記録データの書込み可否を規定するプロテクト情報が最新の記録データの末尾位置に続けて記録されたデータ記録再生装置に対してデータ授受が可能であり、固定位置からデータ記録位置情報を読み取る手段と、データ記録位置情報から読み取った最新の記録データの末尾位置に基づきプロテクト情報を読み取る手段と、所望の記録位置の読取可能の確認手段と、読取可能の確認後に、所望の記録データを所望の読取位置から再生する手段とを備えるから、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データの読取りができる。ここで、最新の記録データに続けて記録されているプロテクト情報を読み取るから、プロテクト情報の位置を示すための他の指標の読取りなどをする必要がなく、よって再生処理時間を短縮でき、且つデータ読取り保護を確実に実行できる。
【0784】
本発明の請求項15に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データを任意の位置に記録し、各記録データに係る記録位置情報を参照可能に編成したデータ記録位置情報を第1固定位置に記録し、各記録データにつき書込/読取りのプロテクト情報を任意の位置に記録し、プロテクト情報が記録された位置情報を収めたプロテクト記録位置情報を第2固定位置に記録し、各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたから、この記録媒体をコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取らせると、第2固定位置からプロテクト記録位置情報を読取り、ついでプロテクト記録位置情報からプロテクト情報を読み取り、このプロテクト情報と、第1固定位置から読取ったデータ記録位置情報と、書込み又は読取りを所望する位置とを比較対照して、所望する位置への書込/読取可否を確認でき、書込可能であれば、所望する任意の位置へ所望する任意の記録データを記録でき、且つデータ記録位置情報とプロテクト情報の更新書込みができ、また読取可能であれば、所望する任意の位置から所望する任意の記録データを読み取ることができる。
【0785】
本発明の請求項16に係るデータ書込装置は、入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能であり、記録媒体の任意の位置に記録された各記録データに関するデータ記録位置情報を固定位置から再生し、各記録データに関するプロテクト記録位置情報を固定位置から再生し、プロテクト記録位置情報に基づき書込みプロテクト情報の位置を得て、書込みプロテクト情報を再生する手段と、所望の書込み記録位置と各データの記録位置情報とプロテクト情報に基づき書込可能を確認する手段と、書込可能の確認後に書込みをする手段と、記録データの書込後に、固定位置に在るデータ記録位置情報の更新書込みをする手段と、プロテクト情報の更新書込みをする手段とを備える。
【0786】
この結果、以後の処理において記録媒体の固定位置をアクセスしてデータ記録位置情報を得て、これにより記録媒体の記録データの記録位置を容易に入手でき、さらに固定位置をアクセスすることで得るプロテクト記録位置情報から、任意の位置に記録されたプロテクト情報を得て、このプロテクト情報により記録媒体上の任意の位置の書込許可を容易に確認することができる。
【0787】
また、所望の記録データを記録媒体の所望の位置に記録でき、且つプロテクト情報も任意の位置に記録できるから、記録媒体上にある未利用領域の管理が容易にでき、空き領域の発生を防止してメモリ利用効率を向上させることが可能になる。また記録容量が異なる記録媒体間の互換性を実現することができる。
【0788】
さらに、記録データの記録が進行して既設のプロテクト情報が記録されている領域に觝触する場合でも、このプロテクト情報の位置を移動することで記録データの分断を回避でき、この記録データのアクセス効率向上を実現することができる。
【0789】
また、長い記録長の記録データであっても分断なく記録できることにより、記録データの管理が容易になる。また分断がなされないから、長い記録長の記録データであってもプロテクト情報は1個でよく、よってプロテクト情報の記録に割り当てる領域の節約ができ、記録媒体の利用効率を向上させることができる。
【0790】
本発明の請求項17に係るデータ読取装置は、データを再生可能に記録した領域を有する記録媒体にアクセス可能であり、記録媒体の任意の位置に記録された各記録データに関するデータ記録位置情報を固定位置から再生し、各記録データに関するプロテクト記録位置情報を固定位置から再生し、プロテクト記録位置情報に基づきプロテクト情報の位置を得て、読取りプロテクト情報を再生する手段と、所望の読取り位置と各データの記録位置情報と読取りプロテクト情報に基づき読取り可能を確認する手段と、読取り可能の確認後に読取りをする手段とを備えるから、読取を所望するデータの記録位置および記録長を問わず、確実に所望データの読取りができる。しかもプロテクト情報が任意の位置に記録されていても、プロテクト記録位置情報を介することでプロテクト情報を確実にアクセスでき、よってデータを確実に保護することができる。
【0791】
本発明の請求項18に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データを任意の位置に記録し、各記録データに係る記録位置情報を参照可能に編成したデータ記録位置情報を固定位置に記録し、各記録データの書込/読取りのプロテクト情報を最新の記録データの記録位置に続いて記録し、各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたから、この記録媒体をコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取らせると、固定位置から読取ったデータ記録位置情報に基づき最新の記録データの記録位置を読取り、この記録位置に基づき演算した位置からプロテクト情報を読み取り、このプロテクト情報と、データ記録位置情報と、書込み又は読取りを所望する位置とを比較対照して、所望する位置への書込/読取可否を確認でき、書込可能であれば、所望する任意の位置へ所望する任意の記録データを記録でき、且つデータ記録位置情報とプロテクト情報の更新書込みができ、また読取可能であれば、所望する任意の位置から所望する任意の記録データを読み取ることができる。
【0792】
本発明の請求項19に係るデータ書込装置は、任意の記録長の記録データの記録領域と、データ記録位置情報を記録する固定領域と、各領域の書込み可否を規定するプロテクト情報の記録領域を有する記録媒体にアクセス可能であり、データ記録位置情報には最新の記録データの位置情報を示すように記載し、且つプロテクト情報を最新の記録データの末尾位置に続けて記録し、固定位置からデータ記録位置情報を読み取る手段と、データ記録位置情報から読み取った最新の記録データの末尾位置に基づきプロテクト情報を読み取る手段と、所望の記録位置の書込可能の確認手段と、書込可能の確認後に、所望の記録データを所望の位置へ記録する手段と、記録データの書込み後に、更新したデータ記録位置情報を記録する手段と、更新したプロテクト情報を記録する手段とを備える。
【0793】
この結果、固定位置から読取ったデータ記録位置情報に基づき最新の記録データの記録位置を読取り、この記録位置に基づき演算した位置からプロテクト情報を読み取り、このプロテクト情報と、データ記録位置情報と、書込みを所望する位置とを比較対照して、所望する位置への書込可否を確認でき、書込可能であれば、所望する任意の位置へ所望する任意の記録データを記録でき、且つデータ記録位置情報とプロテクト情報の更新書込みができる。
【0794】
また最新の記録データに続けてプロテクト情報を書き込むから、プロテクト情報の位置を示すための指標を記録する必要がなく、よって処理時間を短縮できる。のみならず、指標を記録する領域を設ける必要がないから、メモリの利用効率を改善できるという効果がある。
【0795】
本発明の請求項20に係るデータ読取装置は、任意の記録長の記録データが記録され、最新の記録データの位置情報が示されたデータ記録位置情報が固定位置に記録され、各領域の書込み可否を規定するプロテクト情報が最新の記録データの末尾位置に続けて記録された記録媒体にアクセス可能であり、固定位置からデータ記録位置情報を読み取る手段と、データ記録位置情報から読み取った最新の記録データの末尾位置に基づきプロテクト情報を読み取る手段と、所望の記録位置の読取可能の確認手段と、読取可能の確認後に、所望の記録データを所望の読取位置から再生する手段とを備える。
【0796】
この結果、固定位置から読取ったデータ記録位置情報に基づき最新の記録データの記録位置を読取り、この記録位置に基づき演算した位置からプロテクト情報を読み取り、このプロテクト情報と、データ記録位置情報と、読取りを所望する位置とを比較対照して、所望する位置への読取可否を確認でき、読取可能であれば、所望する任意の位置から所望する任意の記録データを読み取ることができる。ここで、最新の記録データに続けて記録されているプロテクト情報を読み取るから、プロテクト情報の位置を示すための他の指標の読取りなどをする必要がなく、よって再生処理時間を短縮できる。
【0797】
本発明の請求項21に係るファイル記録方法は、メモリ手段の任意の位置に、任意の記録長のファイルを記録してクラスタとし、その区切り位置情報をデータ記録位置情報として所定位置に記録し、クラスタ毎に設定される書込み可否を示すプロテクト情報を所定の位置に記録するものであるから、メモリ手段の任意の位置に、任意の記録長のファイル記録ができ、さらにこのファイルでクラスタを形成するものであるから、ファイルとクラスタは一対一に対応し、記録長の長いファイルであっても1個のクラスタに編成される。したがってクラスタ内に未利用部分が発生しない。これにより、メモリ手段上に利用されない記録領域が発生するのを防止でき、記録領域の利用効率が向上する。
しかもファイルが複数のクラスタに分割されないから、ファイル管理が容易になる。
【0798】
且つ、記録したクラスタの位置を示すデータ記録位置情報をメモリ手段上の所定の位置に記録するから、この所定位置にあるデータ記録位置情報を参照することにより、メモリ手段上の任意の位置に記録された任意の記録長のファイルへのエントリが容易となり、よってファイルアクセスがさらに容易になる。
【0799】
さらに、記録したファイルのプロテクト情報をメモリ手段上の所定の位置に記録するから、この所定位置にあるプロテクト情報を参照することにより、メモリ手段上の任意の位置に記録したファイルの保護が容易になる。
【0800】
本発明の請求項22に係るファイル再生方法は、再生所望のファイルを任意の位置に記録したクラスタと、これらクラスタの区切り位置を示すデータ記録位置情報と、クラスタ毎の読取り可否を示すプロテクト情報が記録されたメモリ手段の、所定位置から得たデータ記録位置情報により再生所望のファイルが属するクラスタを確認し、所定の位置から読み取ったプロテクト情報から着目クラスタの読取り可能を確認した後に、データ記録位置情報に基づきクラスタ内の前ファイルを読み取り再生するものであるから、ファイルの記録位置および記録長を問わず、所望クラスタを確実にアクセスできる。しかもプロテクト情報が所定の位置に記録されていることで、プロテクト情報が確実にアクセスでき、これに基づき容易にファイル保護ができる。
【0801】
本発明の請求項23に係るデータ書込システムは、記録データ及び記録位置を指定し、且つプロテクトデータを送付可能なデータ書込装置と、データ記録再生装置を備え、データ記録再生装置は、記録データを記録後に、更新したデータ記録位置情報を第1固定位置へ記録/再生し、更新されたプロテクト情報を第2固定位置へ記録/再生し、記録データの位置情報をメモリ上の第1固定位置へ記録するから、以後の処理で第1固定位置をアクセスすると着目データの記録位置情報が得られる。またプロテクト情報をメモリ上の第2固定位置へ記録するから、この第2固定位置からプロテクト情報を得ることができ、任意の記録データの保護が容易になる。
【0802】
このように任意の記録データを任意の指定位置に記録できるから、メモリ上の未利用領域を容易に管理でき、空き領域発生を防止してメモリ利用効率を向上できるという効果がある。
【0803】
本発明の請求項24に係るデータ読取システムは、読取りを所望する記録データ及びその位置情報を指定して送付し、また再生データを受理する手段を備えたデータ読取装置と、内蔵したメモリ手段上に記録データを記録/再生し、各記録データ夫々の記録位置を参照可能なデータ記録位置情報を第1固定位置に記録/再生し、さらに各記録データの読取りプロテクト情報を第2固定位置に記録/再生し、且つ再生データをデータ読取装置へ送付するデータ記録再生装置とを備えるから、第1固定位置のデータ記録位置情報に基づき、読取り所望データのメモリ手段上の存在確認ができ、第2固定位置のプロテクト情報に基づき、その読取り可能の確認ができるから、記録位置および記録長を問わず、所望の記録データを確実にアクセスできる。しかもプロテクト情報が第2固定位置に在るから容易にアクセスでき、よってメモリ手段上の記録データの保護を容易に実行できる。
【0804】
本発明の請求項25に係るデータ書込装置は、入力された記録データを、内蔵するメモリ手段の任意の指定位置へ記録/再生可能なデータ記録再生装置に対してデータ授受が可能であり、メモリ手段の任意の位置に記録された各記録データの位置情報の第1固定位置からの再生と送付を指示し、書込みプロテクト情報の第2固定位置からの再生と送付を指示し、所望の書込み記録位置と各データの記録位置情報とプロテクト情報に基づき書込可能を確認する手段と、書込可能の確認後に書込指示を送付する手段と、記録データの書込後に、第1固定位置に在るデータ記録位置情報の更新書込を指示する手段と、第2固定位置に在るプロテクト情報の更新書込を指示する手段とを備える。
【0805】
この結果、以後の処理において第1固定位置をアクセスしてデータ記録位置情報を得て、これによりメモリ手段上の記録データの記録位置を容易に入手でき
、さらに第2固定位置をアクセスすることでプロテクト情報を得て、メモリ手段上の任意の位置の書込許可の確認を容易に実行できる。
【0806】
また、所望の記録データをデータ記録再生装置のメモリ手段の所望の位置に記録できるから、メモリ手段上にある未利用領域の管理が容易にでき、空き領域の発生を防止してメモリ利用効率が向上する。
【0807】
本発明の請求項26に係るデータ読取装置は、メモリ手段を内蔵しデータの記録/再生可能なデータ記録再生装置に対してデータ授受が可能であり、任意の位置に記録された各記録データの位置情報の第1固定位置からの再生と送付を指示し、読取りプロテクト情報の第2固定位置からの再生と送付を指示し、所望の読取り位置と各データの記録位置情報と読取りプロテクト情報に基づき読取り可能を確認する手段と、読取り可能の確認後に読取り指示を送付する手段とを備えるから、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データの読取りができる。しかもプロテクト情報が固定位置にあるので容易にアクセスでき、よってデータの保護が容易になる。
【0808】
本発明の請求項27に係るデータが記録されたコンピュータが読み取り可能な記録媒体は、任意の記録長の記録データを任意の位置に記録し、各記録データに係る記録位置情報を参照可能に編成したデータ記録位置情報を第1固定位置に記録し、各記録データにつき書込/読取りのプロテクト情報を第2固定位置に記録し、各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたから、この記録媒体をコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取らせると、第2固定位置からプロテクト情報を読み取り、このプロテクト情報と、第1固定位置から読取ったデータ記録位置情報と、書込み又は読取りを所望する位置とを比較対照して、所望する位置への書込/読取可否を確認でき、書込可能であれば、所望する任意の位置へ所望する任意の記録データを記録でき、且つデータ記録位置情報とプロテクト情報の更新書込みができ、また読取可能であれば、所望する任意の位置から所望する任意の記録データを読み取ることができる。
【0809】
本発明の請求項28に係るデータ書込装置は、入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能であり、記録媒体の任意の位置に記録された各記録データの位置情報を第1固定位置から再生し、書込みプロテクト情報を第2固定位置から再生する手段と、所望の書込み記録位置と各データの記録位置情報とプロテクト情報に基づき書込可能を確認する手段と、書込可能の確認後に書込みをする手段と、記録データの書込後に、第1固定位置に在るデータ記録位置情報の更新書込みをする手段と、第2固定位置に在るプロテクト情報の更新書込みをする手段とを備える。
【0810】
この結果、以後の処理において記録媒体の第1固定位置をアクセスしてデータ記録位置情報を得て、これにより記録媒体の記録データの記録位置を容易に入手でき、さらに第2固定位置をアクセスすることでプロテクト情報を得て、記録媒体上の任意の位置の書込許可を容易に確認することができる。
【0811】
また、所望の記録データを記録媒体の所望の位置に記録できるから、記録媒体上にある未利用領域の管理が容易にでき、空き領域の発生を防止してメモリ利用効率を向上させることが可能になる。
【0812】
本発明の請求項29に係るデータ読取装置は、データを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能であり、記録媒体の任意の位置に記録された各記録データの位置情報を第1固定位置から再生し、読取りプロテクト情報を第2固定位置から再生する手段と、所望の読取り位置と各データの記録位置情報と読取りプロテクト情報に基づき読取り可能を確認する手段と、読取り可能の確認後に、読取を所望するデータを記録媒体から読取る手段とを備えるから、読取を所望するデータの記録位置および記録長が任意であっても、確実に所望データの読取りができる。しかもプロテクト情報が固定位置にあるので容易にアクセスでき、よってデータの保護が容易にできるという効果を奏する。
【図面の簡単な説明】
【図1】本発明に係るデータ書込システムの一実施形態のブロック構成図である。
【図2】図1に示されるメモリ部におけるデータの記録を説明するメモリマップである。
【図3】図1に示されるデータ書込システムの動作の説明図である。
【図4】本発明のデータ書込システムによりデータ記録がなされたメモリ部のメモリマップの例の説明図である。
【図5】本発明のデータ書込システムによりデータ記録がなされたメモリ部のメモリマップの他の例の説明図である。
【図6】本発明に係るデータ読取システムの一実施形態のブロック構成図である。
【図7】図6に示されるデータ読取システムの動作の説明図である。
【図8】書込みの指示入力データ及びレスポンス信号と、読取りの指示入力データ及びレスポンス信号のフォーマットを示す図である。
【図9】本発明に係るデータ記録再生装置の一実施形態のブロック構成図である。
【図10】マイクロコンピュータによる構成のデータ記録再生装置の動作フローチャートである。
【図11】本発明に係るデータ書込・読取装置の一実施形態の構成を示すブロック図である。
【図12】図11のデータ書込・読取装置の動作フローチャートである。
【図13】本発明に係るファイル記録方法及びファイル再生方法の一実施形態のフローチャートである。
【図14】本発明に係るデータ書込システムの別の実施形態のブロック構成図である。
【図15】図14に示されるメモリ部におけるデータの記録を説明するメモリマップである。
【図16】図14に示されるデータ書込システムの動作の説明図である。
【図17】本発明に係るデータ読取システムの別の実施形態のブロック構成図である。
【図18】図17に示されるデータ読取システムの動作の説明図である。
【図19】本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
【図20】図19のデータ書込・読取装置の動作フローチャートである。
【図21】本発明に係るファイル記録方法及びファイル再生方法の別の実施形態のフローチャートである。
【図22】本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の一実施形態の説明図である。
【図23】本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
【図24】図23のデータ書込・読取装置の動作フローチャートである。
【図25】本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の別の実施形態の説明図である。
【図26】本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
【図27】図26のデータ書込・読取装置の動作フローチャートである。
【図28】本発明に係るデータ書込システムの別の実施形態のブロック構成図である。
【図29】図28に示されるメモリ部におけるデータの記録を説明するメモリマップである。
【図30】図28に示されるデータ書込システムの動作の説明図である。
【図31】本発明に係るデータ読取システムの別の実施形態のブロック構成図である。
【図32】図31に示されるデータ読取システムの動作の説明図である。
【図33】本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
【図34】図33のデータ書込・読取装置の動作フローチャートである。
【図35】本発明に係るファイル記録方法及びファイル再生方法の別の実施形態のフローチャートである。
【図36】本発明に係るデータが記録されたコンピュータが読み取り可能な記録媒体の別の実施形態の説明図である。
【図37】本発明に係るデータ書込・読取装置の別の実施形態の構成を示すブロック図である。
【図38】図37のデータ書込・読取装置の動作フローチャートである。
【図39】データ記録再生装置とデータ書込/読取装置の一構成例の説明図である。
【図40】記録媒体の一構成例の説明図である。
【図41】記録媒体の別の構成例の説明図である。
【図42】従来のメモリマップ例の説明図である。
【図43】従来のメモリマップの別の例の説明図である。
【符号の説明】
Mem1……メモリ部、SC……システムクラスタ、CAdT……クラスタ・アドレス・テーブル、adC……クラスタ・アドレス・テーブルCAdTが記録された固定アドレス、PAdT……プロテクト情報アドレス・テーブル、adD……プロテクト情報アドレス・テーブルPAdTが記録された固定アドレス、UC1……ユーザークラスタ、Ln1……任意の記録長、ad10……ユーザークラスタUC1の先頭アドレス、ad11……ユーザークラスタUC1の末尾アドレス、NU1……新規書込可能領域、PDC……プロテクト情報クラスタ、adPL……プロテクト情報クラスタPDCの先頭アドレス、adPH……プロテクト情報クラスタPDCの末尾アドレス、PDr……読取プロテクト情報、PDw……書込プロテクト情報、adPr……読取プロテクト情報PDrのアドレス、adPw……書込プロテクト情報PDwのアドレス、оfst1……オフセット量、оfst2……オフセット量、NU2……新規書込可能領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a file recording method or a file reproducing method, a data writing system or a data reading system, a data recording / reproducing device, a data writing device or a data when writing, recording, reading and reproducing data in a memory means The present invention relates to a reading device and a computer-readable recording medium on which data is recorded.
[0002]
[Prior art]
Memory devices include small-capacity memory devices represented by Tele-File (telefile: trade name), IC cards, IC tags, magnetic cards, magnetic sheets, and small-diameter disk recording media. is there. These small recording capacity memory devices function as memory means for recording and holding data and programs, and are provided as disk-like or card-like recording media, or are stored in a small housing with a semiconductor memory chip. Alternatively, it is provided as a portable configuration that is formed into a substrate or attached to a mount.
[0003]
Also, in the configuration with a built-in semiconductor memory cell, as a method of sending / receiving recorded / reproduced data to / from the memory cell, a contact type that is electrically connected to the reader / writer via a connector or an exposed terminal, and a built-in antenna and a radio wave or There is a non-contact type that transmits and receives data by changing the magnetic flux or changing the capacitance in electrostatic coupling. Similarly, the power supply for writing / reading to the built-in semiconductor memory chip or the like is a contact type or non-contact type. There is something to do.
[0004]
Among these, a non-contact type data carrier that enables reading and writing of data from a distant position includes a non-contact memory label and a non-contact memory tag. These non-contact type data carriers (RFID) are embodied as electronic tags with built-in LSI, and a thin semiconductor chip with non-contact communication function and data storage function is attached to or embedded in the mount, making it easy to make products with each mount And product labels and product tags that can be attached to products.
[0005]
In the memory device with the small recording capacity as described above, it is necessary to protect the recorded data by permitting or regulating the writing to the memory cell or the reading from the memory cell regardless of the contact type or the non-contact type. However, in the prior art, the cluster set by dividing the entire memory area equally is used as the minimum unit of data protection management, and as many protected data as the number of these clusters are prepared, and the protected data is stored in its own memory cell. A configuration for recording is adopted.
[0006]
For example, according to the memory Mem100 having a total recording capacity of 1 kilobyte as shown in FIG. 42, one sector is composed of 16 bytes, and the whole is equally divided into a total of 64 sectors, and further eight (cluster number) with 8 sectors as one unit. 0 to 7) clusters are equally divided.
[0007]
Clusters with cluster number 0 (sector numbers 00h to 07h: h is hexa-decimal display) are assigned as system areas, and clusters with cluster numbers 1 to 6 (sector numbers are 08h to 0Fh, 10h to 17h, respectively) 18h to 1Fh, 20h to 27h, 28h to 2Fh, 30h to 37h) are allocated as user areas, and a cluster with cluster number 7 (38h to 3Fh) is allocated to a recording area for data protection information (protect information). . The recording position of this protection information is fixed to the cluster at the end of each memory, and the cluster number 7 has protection data (restriction information), key information related to the command, and ID information for identifying the memory contents. It is recorded in a lump.
[0008]
As an example of the configuration of the protect data, 1 byte, that is, 8 bits is secured as read restriction information, and 1 bit is assigned to each cluster. That is, from the LSB bit to the MSB 8 bit are assigned to clusters with cluster numbers 0 to 7, respectively, and when the value of each bit is “1”, reading of data recorded from the corresponding cluster is permitted. When “0”, reading is prohibited.
[0009]
Further, another 1 byte, that is, 8 bits is secured as write restriction information, and 1 bit is assigned to each cluster. When the value of this 1 bit is “1”, data recording to the corresponding cluster is permitted, and when it is “0”, writing is prohibited.
In this way, conventional data protection is achieved.
[0010]
FIG. 43 shows a memory map of the memory Mem200 in which the total recording capacity is 2 kilobytes, which is twice the above. In this case, one sector is composed of 16 bytes and the whole is equally divided into a total of 128 sectors, and further divided equally into 16 clusters (cluster numbers 0 to 15) with 8 sectors as one unit.
Clusters with cluster number 0 (sector numbers 00h to 07h) are system areas, clusters with cluster numbers 1 to 14 are 14 user areas, and clusters with cluster number 15 at the end (78h to 7Fh) Is assigned to the data protection information recording area.
[0011]
Here, since the number of clusters of the protect data is 16 times that of the memory Mem100, 2 bytes, that is, 16 bits, which are twice the above, are required as read restriction information. Similarly, the write restriction information requires 2 bytes, that is, 16 bits, twice the above. That is, each 1 byte is prepared as an extension.
[0012]
[Problems to be solved by the invention]
According to the conventional configuration as described above, when a file having a long recording length is recorded because the memory clusters are divided in advance with, for example, equal recording capacity, a plurality of separations are performed while the data is in the same file. In some cases, recording was performed over a plurality of clusters. In this way, when the cluster delimiter is set in advance and the recording capacity of the cluster is fixed, if the end of the recording data ends without reaching the delimiter of a certain cluster, the end of the recording data and the cluster delimiter An unused part occurs as a divergence, and this unused part becomes a free area. Since this free area cannot be used by other files, it is a dead area. Therefore, a wasteful unused area is fixed, which is not a good measure in terms of memory utilization efficiency.
[0013]
Since protection information is set for each cluster, that is, for each divided area, when the same file spans multiple clusters as described above, protection information is set for each cluster. A plurality of pieces of protect information having the same contents are set in one file. As a result, as shown in FIG. 43, the recording area for the protect information is increased, and there is still a problem in the memory utilization efficiency.
[0014]
Further, when the recording position of the protect information is fixed, the following problem occurs. When recording a new file, if the recording length of the file is long, the file may be divided by the protection information cluster already in the fixed position. This has problems in terms of file management and access efficiency.
[0015]
Further, when the position of the protect information cluster is fixed and placed at the end of the recording area, when providing a new recording medium having an increased memory recording capacity, the address of the protection information cluster of the new recording medium (the recording area of the new recording medium) The end) is different from the address of the protect information cluster in the recording medium having a small recording capacity so far (the recording area end of the recording medium), and there is a problem that compatibility is not ensured.
[0016]
The present invention has been made to solve the above-described problems in the prior art, and can ensure compatibility for memories with different recording capacities, there is no occurrence of unused portions in the recording area, and the protection information File recording method or file reproduction method, data writing system or data reading system, data recording / reproducing device, data writing device or data reading device, and data recording capable of realizing high memory utilization efficiency while suppressing increase An object of the present invention is to provide a recorded computer-readable recording medium.
[0017]
[Means for Solving the Problems]
Prior to the description of the means for solving the problems, terms used in the present invention will be briefly described. However, the following is an explanation for helping understanding of the present invention, and therefore, the following explanations do not prescribe the definition, scope, etc. of each term.
[0018]
“Data recording / reproducing device”: a data recording / reproducing device having at least one of a data writing / reading device having at least one of a data writing function and a data reading function and a data writing / reading device. Operates based on instruction information (including data) supplied from the reading / reading device, can record / update data to / from the memory unit, or reproduce recorded data from the memory unit, and responds to the data writing / reading device It is configured to be able to supply information (including data). The data transfer function is not limited to a contact type or a non-contact type. FIG. 39 shows a configuration of an example of a general data recording / reproducing apparatus.
[0019]
As shown in the figure, the data recording / reproducing apparatus TF includes an antenna unit 201, a power supply unit 202, a control unit 203, and a memory unit 204, and records data in the memory unit 204, and a data writing / reading device RW. It is configured to exchange data without contact.
[0020]
“Data writing device”: a data recording / reproducing device having a data transmission / reception function, supplying at least write instruction information and write data to the data recording / reproducing device, recording in the memory unit, and supplying from the data recording / reproducing device Configured to accept at least response information (including data). The data transfer function is not limited to a contact type or a non-contact type.
[0021]
“Data reading device”: a data reading / receiving device that has a data transfer function, gives at least read instruction information to the data recording / reproducing device, and reads and supplies response information (including data) read from the memory unit by the data recording / reproducing device ). The data transfer function is not limited to a contact type or a non-contact type. FIG. 39 shows a configuration of an example of a general data writing / reading apparatus.
[0022]
As shown in the figure, the data writing / reading device RW includes an antenna unit 205 and a processing unit 206, and is configured to exchange data without contact with the data recording / reproducing device TF.
[0023]
“Recording medium”: a set of minute recording areas that record and hold digital information of a program or data in a predetermined unit (bit unit or the like) so as to be reproducible, and is mounted and provided on a substrate. The substrate is a chip provided with a control unit in a semiconductor recording medium, a disk (FD, HD, etc.) or a card, tag, stick (magnetic card, magnetic sheet, etc.) in a magnetic recording medium, and a disk in an optical recording medium. Embodied. The stored programs and data can be read and executed by a computer or a logic processing circuit operating in a stored program system. 40 and 41 show a configuration example of a general recording medium.
[0024]
As shown in FIG. 40, the recording medium MeD exchanges signals with the data writing / reading device RW via the contact means 211, and receives the supply of electric power with the contact type. Alternatively, as shown in FIG. 41, the optical recording medium LMeD is configured to exchange signals with a data writing / reading device RW including a light emitting / receiving unit 221 in a non-contact manner using light rays.
[0025]
“Sector” and “Cluster”: Generally, data recorded in a memory device such as an IC card or a tag is read and written in an access unit in which a plurality of bytes are combined. This access unit is called a sector or a block, and for example, 16 bytes are used as one access unit. In the present invention, this access unit is hereinafter referred to as “sector”, and a plurality of sectors are collectively referred to as “cluster”.
[0026]
“Protect information”: Information that defines at least one of whether or not writing to an arbitrary position on the memory unit or recording medium of interest or whether or not reading from an arbitrary position on the memory unit or recording medium of interest is possible It can be set to a desired state by the user or the like.
[0027]
“Memory means”: A memory unit and a recording medium built in the data recording / reproducing apparatus are collectively described as memory means.
[0028]
The means according to the present invention will be described below.
[0029]
  In order to solve the problems of the prior art and achieve the object, a file recording method according to claim 1 of the present invention includes memory means capable of recording and reproducing data,
  Recording a file of an arbitrary recording length at an arbitrary position where recording is allowed in the memory means to form a cluster;
  Recording the position and range where the cluster is recorded, or recording position information indicating delimiter position information as data recording position information at a predetermined position in the memory means;
  A step of recording at least an arbitrary position of the memory means for protecting information indicating whether or not writing is set for each cluster;
  Recording the recording position information of the protection information as protection recording position information at a predetermined position of the memory means;
It is characterized by including.
[0030]
According to the above method, since a file having an arbitrary recording length is recorded at an arbitrary position in the memory means and this file is used as a cluster, the file and the cluster have a one-to-one correspondence. Even a long file is organized as one cluster. Therefore, the end of the file is set to the end of the cluster at the same time. That is, no unused portion is generated between the end of the file and the end of the cluster. As a result, the occurrence of a recording area that is not used on the memory means is avoided, and the use efficiency of the recording area is improved.
Moreover, since the file is not divided into a plurality of clusters, file management becomes easy.
[0031]
In addition, since the data recording position information indicating the position of the recorded cluster is recorded at a predetermined position on the memory means, an arbitrary position on the memory means can be obtained by referring to the data recording position information at the predetermined position. Entry to a file having an arbitrary recording length recorded in the file becomes easy, so that file access can be easily performed.
[0032]
Further, since the protect information of the recorded file is recorded at an arbitrary position on the memory means, and the protect recording position information indicating the position is recorded at a predetermined position on the memory means, the protect recording at this predetermined position is recorded. By referring to the position information, it is possible to easily access the protect information recorded at an arbitrary position on the memory means. In addition, the protection information can be placed at an arbitrary position on the memory means, so that it can be moved to an arbitrary position, the recording position of the protection information can be made variable, and the degree of freedom in designing the memory map is increased. Compatibility between memory means having different recording capacities is maintained.
[0033]
Further, as described above, even a file having a long recording length is organized as a single cluster without being divided. Therefore, it is only necessary to set one piece of protect information in the cluster. Less space is needed. Thereby, a limited recording capacity is effectively used.
[0034]
  The file reproduction method according to claim 2 of the present invention exists in a memory means capable of recording and reproducing data as a cluster in which a file desired to be reproduced is recorded at an arbitrary position with an arbitrary recording length,
  And in place,Information indicating the recorded position and range of the cluster, or the delimiter position is recorded as data recording position information,
  And at any position, at least protection information set for each cluster, which indicates whether or not reading is possible, is recorded,
  Further, the information indicating the position where the protect information is recorded is the memory means recorded as protect recording position information at a predetermined position,
  Reading the data recording position information from the predetermined position and confirming the cluster to which the file desired to be reproduced belongs;
  Reading the protected recording position information from the predetermined position of the memory means;
  Reading the protect information at the arbitrary position of the memory means based on the protect recording position information;
  Confirming that the cluster to which the desired file belongs can be read based on the protection information;
  After confirming that the cluster can be read, the process of reading and playing back the file constituting the cluster based on the data recording position information;
It is characterized by including.
[0035]
According to the above method, the cluster is confirmed from the data recording position information, the protection information is read from the protected recording position information, and after the readable state of the cluster is confirmed based on the protection information, a desired file is obtained from the cluster. By reading, the desired cluster is reliably accessed regardless of the recording position and recording length of the desired file. Moreover, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed, and thus the file is protected.
[0036]
  In the data writing system according to claim 3 of the present invention, recorded data and data recording position information organized so that the position information of each recorded data can be referred to are recorded in the built-in memory means. A data recording / reproducing apparatus capable of recording at least protect information that defines whether or not each of the recording data is writable and capable of exchanging data with an external apparatus;
  A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
  The data writing device is at least:
  Means for designating and sending recording data and position information where the recording data is recorded;
  Means for enabling the recording data to be sent to the data recording / reproducing device, the protection data defining at least one of readability and writeability after recording,
  The data recording / reproducing apparatus comprises:
  Means for recording the recorded data at the designated location of the memory means;
  Means for recording or updating the data recording position information at a predetermined first fixed position of the memory means;
  Means for reproducing the data recording position information from the first fixed position;
  The protect information or the protect information updated by the sent protect data is recorded at an arbitrary position of the memory means, and the recording position of the protect information is described.The protected recording position information is stored in a predetermined second fixed position of the memory means.Means for recording to,
  Means for reproducing the protected recording position information from the second fixed position;
  Means for reproducing the protection information based on the protection recording position information;
It is characterized by providing.
[0037]
According to the system described above, given arbitrary recording data is recorded at a designated arbitrary position, and this recording position is recorded as a data recording position information at a predetermined first fixed position on the memory means. .
Therefore, the data recording position information is obtained by accessing the first fixed position in the subsequent processing, thereby making it easy to check the recording state on the memory means.
[0038]
Similarly, the given arbitrary protection information is recorded at an arbitrary position, and this recording position is recorded in the protection recording position information and recorded at a predetermined second fixed position on the memory means. Therefore, the protected recording position information is obtained by accessing the second fixed position, and the position where the protected information is recorded is obtained by the protected recording position information. The protected information is obtained by accessing this position. can get. In other words, the protect information at an arbitrary position can be obtained via the protect recording position information. However, since the protect recording position information is recorded at a fixed position, it is very easy to access, and thus the protection information is easily obtained. To be made.
[0039]
As described above, since arbitrary recording data is recorded at an arbitrary designated position and protect information is also recorded at an arbitrary position, management of the unused area on the memory means is facilitated, and the free area is recorded. Occurrence is avoided and memory utilization efficiency is improved. In addition, compatibility between memory means having different recording capacities is maintained.
[0040]
Further, since the protect information can be recorded at an arbitrary position, the protect information can be moved to an arbitrary position, so that the recording of the recording data proceeds and touches the area where the existing protect information is recorded. Even in this case, the movement of the position of the protect information prevents the recording data from being divided and improves the access efficiency of the recording data. Even if the position of the protect information is moved, only the content described in the protect recording position information is updated, and the position of the protected recording position information is always at the second fixed position. Processing is performed smoothly.
[0041]
Further, even if the recording data has a long recording length, the recording data can be easily managed by recording without interruption. Further, since no division is made, even if the recording data has a long recording length, only one piece of protection information is provided, so that an area allocated for recording the protection information is saved, and the memory utilization efficiency is improved.
[0042]
  A data reading system according to claim 4 of the present invention includes a memory means, a data recording / reproducing apparatus capable of reproducing data recorded in the memory means and capable of exchanging data with an external device,
  A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
  The memory means includesRecording data of an arbitrary recording length is recorded at an arbitrary position, and further, protection information that defines whether or not each recorded recording data is at least readable is recorded at an arbitrary position.
  Further, data recording position information organized so that the recorded positions of the respective recorded data can be referred to, and protect recording position information organized so that the recording position of the protect information can be referred toRecord in a predetermined fixed position of the memory meansAnd
  The data reader is at least:
  I want to readMeans for sending recording data by designating position information of the memory meansWhen,
  Sent from the data recording / reproducing apparatus,Reproduction data reproduced from the memory meansA means of accepting
With
  The data recording / reproducing apparatus comprises:
  Means for reproducing the data recording position information from the fixed position;
  Means for reproducing the protected recording position information from the fixed position;
  Means for reproducing the protection information based on the recording position information of the protection information obtained from the protection recording position information;
  After the permission of reading is confirmed based on the protect information, the corresponding data based on the positional information of the recorded data desired to be read is sent.Means for reading from said memory meansWhen,
  Means for sending the read result as reproduction data to the data reader;
It is characterized by providing.
[0043]
According to the above-described system, the existence of the recording data desired to be read on the memory means is confirmed from the data recording position information, the protection information is read from the protection recording position information, and the recording desired to be read is based on the protection information. After the data read permission is confirmed, the desired recording data is read from the memory means, so that the desired recording data is reliably accessed regardless of the recording position and the recording length. Moreover, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed, and thus the recorded data on the memory means is protected.
[0044]
  A data recording / reproducing apparatus according to claim 5 of the present invention includes a memory means, records data in the memory means, can reproduce the recorded data, and is at least a data writing apparatus or data reading apparatus. A data recording / reproducing apparatus capable of exchanging data with either
  In the memory means, record data having an arbitrary recording length can be recorded at an arbitrary position, and further, protect information for specifying at least one of whether the recorded data is writable or readable is recorded at an arbitrary position. Can
  Furthermore, the recorded positions of the recorded data are organized so that they can be referred to.The data recording position information is a predetermined first fixed position of the memory means.Recorded in
  The recording position of the protect information is organized so that it can be referred toThe protected recording position information is a predetermined second fixed position of the memory means.Recorded in
  Based on the data recorded at the first fixed position sent from at least one of the data writing device or the data reading device, the data recording position information is read from the memory means or sent to the first fixed position. Means for writing the data recording position information based on the data recorded at the position and the write data;
  Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protected recording position information is read from the memory means or sent to the second fixed position. Means for writing the protected recording position information based on the data recorded at the position and the write data;
  Based on the recording position data sent from at least one of the data writing device or the data reading device, the protect information is read from the memory means or based on the recording position data and the writing data sent. Means for writing information;
  Means for reading the data recorded in the memory means based on the designated position data sent from the data reader;
  Means for writing the recording position data to the designated position of the memory means based on the designated position data and recording data sent from the data writing device;
  Means for sending each read result to at least one of the data writing device and the data reading device;
  Means for notifying the operation result of each means to at least one of the data writing device or the data reading device;
It is characterized by providing.
[0045]
According to the above configuration, given arbitrary recording length data is recorded at a specified arbitrary position, and this recording position is recorded as a data recording position information at a predetermined fixed position on the memory means. .
Therefore, the data recording position information can be easily obtained by accessing the fixed position in the subsequent reading process or the like, thereby making it easy to check the recording state on the memory means.
[0046]
Similarly, the given arbitrary protection information is recorded at an arbitrary position, and this recording position is recorded as a protected recording position information at a predetermined fixed position on the memory means. Therefore, the protected recording position information is obtained by accessing the fixed position, and the position can be easily obtained regardless of the position where the protected information is recorded.
[0047]
Further, the operation result of each means is notified to the data writing device or the data reading device, so that the operation of the data recording / reproducing device is confirmed in the data writing device or the data reading device, and the data sent by the data recording / reproducing device. Verification of authenticity is easy. Alternatively, the data recording / reproducing apparatus can be controlled by the data writing apparatus or the data reading apparatus based on the operation result.
[0048]
  A data recording / reproducing apparatus according to claim 6 of the present invention includes a memory means, records data in the memory means, can reproduce the recorded data, and is at least a data writing apparatus or a data reading apparatus. A data recording / reproducing apparatus capable of exchanging data with either
  In the memory means, record data having an arbitrary recording length can be recorded at an arbitrary position, and further, protect information for specifying at least one of whether the recorded data is writable or readable is recorded at an arbitrary position. Can
  Furthermore, the recorded positions of the recorded data are organized so that they can be referred to.The data recording position information is a predetermined first fixed position of the memory means.Recorded in
  The record position of the protect information is organized so that it can be referred toThe protected recording position information is a predetermined second fixed position of the memory means.Recorded in
  Based on the data recorded at the first fixed position sent from at least one of the data writing device or the data reading device, the data recording position information is read from the memory means or sent to the first fixed position. Means for writing the data recording position information based on the data recorded at the position and the write data;
  Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protected recording position information is read from the memory means or sent to the second fixed position. Means for writing the protected recording position information based on the data recorded at the position and the write data;
  Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protect information is read from the memory means or sent to the second fixed location. Means for writing the protection information based on the recorded data and write data;
  Collation means for collating designated position data sent from the data reading device or the data writing device with the protection information to confirm reading permission or writing permission of the designated position;
  Means for reading data recorded in the memory means based on the collation result and designated position data sent from the data reader;
  Means for writing the record data to the designated position of the memory means based on the collation result and designated position data and record data sent from the data writing device;
It is characterized by providing.
[0049]
According to the above configuration, given arbitrary recording length data is recorded at a specified arbitrary position, and this recording position is recorded as a data recording position information at a predetermined fixed position on the memory means. .
Therefore, the data recording position information can be easily obtained by accessing the fixed position in the subsequent reading process or the like, thereby making it easy to check the recording state on the memory means.
[0050]
Similarly, the given arbitrary protection information is recorded at an arbitrary position, and this recording position is recorded as a protected recording position information at a predetermined fixed position on the memory means. Therefore, the protected recording position information is obtained by accessing the fixed position, and the position can be easily obtained regardless of the position where the protected information is recorded.
[0051]
Further, the designated position data and the protect information are collated in the data recording / reproducing apparatus, and recording or reproduction is executed only when permission is confirmed. As a result, the execution of inappropriate processing is eliminated, so that, for example, an illegal writing instruction or an illegal reading instruction input from an unauthorized data writing / reading apparatus is eliminated.
[0052]
  A data writing apparatus according to claim 7 of the present invention has a built-in memory means, and is based on input data and recording position designation informationThe input dataCan be recorded in the designated position of the memory meansA data writing device capable of transferring data to a data recording / reproducing device,
  Each recorded data recorded in an arbitrary position of the memory means to the data recording / reproducing apparatus.Data recording position information organized so that the position information can be referred toMeans for receiving the data read from the data recording / reproducing apparatus;
  Recorded in the memory meansEach recorded dataEach of the data recording / reproducing devices is instructed to reproduce the protected recording position information containing at least the recording position of the protect information that defines whether or not writing is possible from a predetermined fixed position, and the data read from the data recording / reproducing device is Means to receive the mail,
  Means for obtaining position information where the protect information is recorded from the protect recording position information;
  Means for instructing the data recording / reproducing apparatus to reproduce the protect information based on the position information, and receiving the data read from the data recording / reproducing apparatus;
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
  Means for sending a write instruction together with the desired recording data and the desired recording position information to the data recording / reproducing apparatus after confirming the writable;
  Means for sending an update write instruction of the data recording position information to the data recording / reproducing apparatus together with the update data after the record data is written;
  Means for sending an update write instruction of the protect information to the data recording / reproducing apparatus together with the update data after the record data is written;
It is characterized by providing.
[0053]
According to the above configuration, the data recording position information and the protect recording position information recorded at the fixed position of the memory means of the data recording / reproducing apparatus are read, and the protect recorded at an arbitrary position based on the protect recording position information. Information is obtained. Therefore, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed through the protect recording position information.
Then, after it is confirmed by the protect information that the desired recording position where the recording data desired to be written is recorded is writable, the desired recording data is written in the desired position of the memory means of the data recording / reproducing apparatus. It is. Further, after the recording data is written, the data recording position information at a fixed position on the memory means is updated and the protection information is updated.
Therefore, the data recording position information can be obtained by accessing the fixed position in the subsequent processing, thereby making it easy to obtain the recording position of the recording data on the memory means.
[0054]
As described above, since desired recording data is recorded at a desired position in the memory means of the data recording / reproducing apparatus, and protect information is also recorded at an arbitrary position, management of unused areas on the memory means can be performed. This facilitates the generation of an unusable empty area and improves the memory utilization efficiency. In addition, compatibility between memory means having different recording capacities is realized.
[0055]
Furthermore, even when the recording of recording data proceeds and the area where the existing protection information is recorded is touched, the position of the protection information is moved to prevent the recording data from being divided. Access efficiency is improved.
[0056]
Further, even if the recording data has a long recording length, the recording data can be easily managed by recording without interruption. Further, since no division is made, even if the recording data has a long recording length, only one piece of protection information is provided, so that an area allocated for recording the protection information is saved, and the memory utilization efficiency is improved.
[0057]
  A data reading apparatus according to claim 8 of the present invention is a data reading apparatus capable of transferring data to a data recording / reproducing apparatus including a memory means for reproducibly recording data to a designated position,
  An instruction to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to from a predetermined first fixed position of the memory means is the data recording / reproducing Means for receiving the data read from the data recording / reproducing device;
  An instruction to reproduce the protected recording position information containing the recording position of the protection information that defines at least readability of each data recorded in the memory means from a predetermined second fixed position of the memory means. Means for sending to the playback device and receiving the data read from the data recording / playback device;
  Means for obtaining position information where the protect information is recorded from the protect recording position information;
  Means for sending an instruction to reproduce the protect information from the memory means based on the position information to the data recording / reproducing apparatus, and receiving the data read from the data recording / reproducing apparatus;
  Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
  After confirming that the data can be read, read the desired data.Means for sending an instruction to read from the reading position of the memory means to the data recording / reproducing apparatus, and receiving the data read from the data recording / reproducing apparatus;
It is characterized by providing.
[0058]
According to the above configuration, the data recording position information and the protect recording position information recorded at the fixed position of the memory means of the data recording / reproducing apparatus are read, and the protect recorded at an arbitrary position based on the protect recording position information. Information is obtained. Therefore, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed through the protect recording position information.
Then, after it is confirmed by the protect information that the desired reading position can be read, the desired data is read from the memory means of the data recording / reproducing apparatus and sent from the data recording / reproducing apparatus.
Therefore, the desired data can be reliably read regardless of the recording position and the recording length of the data desired to be read. Moreover, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed, and thus the data is protected.
[0059]
  A file recording method according to claim 9 of the present invention is a file recording method to a memory means capable of recording a file having an arbitrary recording length as a cluster,
  The process of making the latest cluster by recording a file of any record length following the end of the existing last cluster,
  Protect data that specifies at least write permission is set for each cluster.Protect information set for all clustersRecording subsequent to the end of the latest cluster;
  Indicates the delimiter position or recorded position and range of each clusterData recording position information set to indicate the latest cluster with position information setRecording a predetermined fixed position of the memory means;
It is characterized by including.
[0060]
According to the above method, the recording position of the protection information recorded following the end of the latest cluster is easily calculated from the position information of the latest cluster of the data recording position information. Therefore, it is not necessary to separately prepare information indicating the recording position of the protect information, and as a result, the memory utilization efficiency and the data recording efficiency are improved.
[0061]
Also, according to the above method, the protection information is always recorded following the end of the latest cluster, so even if the recording length of the latest cluster is an arbitrary length, the protection information is recorded based on the data recording position information. The position to be calculated is calculated and easily determined.
[0062]
Further, no dead space is generated between the protection information and the preceding cluster, and the memory utilization efficiency is improved.
In particular, if the latest user cluster is always recorded following the end of the existing user cluster, the memory utilization efficiency is further improved.
[0063]
  In the file reproduction method according to claim 10 of the present invention, a file having an arbitrary recording length is recorded as a cluster, and the latest cluster is recorded following the end of the existing last cluster, and is set for each cluster. Protect data that specifies at least readabilityProtection information set for all clustersIs recorded after the end of the latest cluster and indicates the delimiter position of each cluster or the recorded position and range.Set location informationandData recording position information set to indicate the latest clusterFor the memory means recorded at a predetermined fixed position,
  Reading the data recording position information from the fixed position, and confirming the cluster to which the file desired to be reproduced belongs;
  A step of calculating the recording position of the protection information from the position information of the latest cluster of the data recording position information;
  Reading protect data that defines whether or not the read is possible from the protect information based on the recording position;
  Confirming that the cluster to which the desired file belongs can be read based on the protected data;
  After confirming that the cluster is readable, reproducing the file desired to be reproduced in the cluster based on the data recording position information;
It is characterized by including.
[0064]
According to the above method, the recording position of the protection information recorded subsequent to the end of the latest cluster is easily calculated from the position information of the latest cluster. As a result, the data reproduction efficiency is improved.
[0065]
Further, according to the above method, since the protect information is always recorded following the end of the latest cluster, even if the record length of the latest cluster is an arbitrary length, the protect information is stored on the basis of the data recording position information. Entry is made easy.
[0066]
  A data writing system according to an eleventh aspect of the present invention includes a memory means, records data in the memory means, or reproduces data recorded in the memory means, and exchanges data with other devices. Possible data recording / reproducing device,
  A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
  The data writing device comprises:
  Means for sending recording data of an arbitrary recording length desired to be recorded and a desired designated recording position to the data recording / reproducing apparatus;
  Means for enabling the recording data to be sent to the data recording / reproducing device with protect information defining at least one of readability and writeability after recording;
  The data recording / reproducing apparatus comprises:
  Data recording position information recorded at a predetermined fixed position, organized so that the position information of each recording data recorded in the memory means can be referred to, and the latest recording data in each recording data is described Means for playing
  Means for reproducing the protection information that prescribes at least whether or not each of the recorded data is recorded at a position following the end of the latest recorded data of the memory means;
  Means for recording the recording data sent from the data writing device in a designated position of the memory means;
  After recording the recording data in the memory means,Means for updating and recording the data recording position information in which the position information of the latest recording data is updated to the fixed position;
  After recording the recording data in the memory means,Means for recording the protect information sent from the data writing device at a position following the end of the latest recorded data;
It is characterized by providing.
[0067]
According to the system described above, data of an arbitrary recording length given is recorded at a designated desired position to become the latest recording data, and this recording position is taken into the data recording position information and fixed on the memory means. Recorded in position.
Therefore, in the subsequent processing, the data recording position information is obtained by accessing the fixed position, thereby making it easy to confirm the latest recording data on the memory means and confirm the position of each recording data.
[0068]
Further, the protect information is always recorded at a position following the end of the latest recorded data. Therefore, the position where the protect information is recorded can be obtained by accessing the data recording position information.
[0069]
As described above, since recording data of an arbitrary recording length is recorded at an arbitrary designated position and protect information is recorded at a position following the latest data recording, management of the unused area on the memory means can be performed. This is done easily, avoiding the occurrence of free space and improving the memory utilization efficiency.
[0070]
Further, even if the recording data has a long recording length, the recording data can be easily managed by recording without interruption. Further, since no division is made, even if the recording data has a long recording length, only one piece of protection information is provided, so that an area allocated for recording the protection information is saved, and the memory utilization efficiency is improved.
[0071]
  A data reading system according to a twelfth aspect of the present invention includes a memory means, a data recording / reproducing apparatus capable of reproducing data recorded in the memory means, and capable of exchanging data with an external device;
  A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
  The memory means includesRecord data of any record length is recorded at any position,
  Further, the recording position of each recorded data is organized so that it can be referred to, and the data recording position information set to indicate the latest recorded data in each recorded data is a predetermined fixed position of the memory means Recorded in
  Further, protection information that defines at least whether or not each recorded data is readable is recorded at a position following the end of the latest recorded data,
  The data reader is at least:
  The recorded data that you want to readPosition information of the memory meansMeans to send and specify,
  Sent from the data recording / reproducing apparatus,Reproduction data reproduced from the memory meansA means of accepting
With
  The data recording / reproducing apparatus comprises:
  Means for reproducing the data recording position information from the fixed position;
  Means for reproducing the protection information based on the recording position of the protection information calculated based on the data recording position information;
  Desired to read the sent after the read permission is confirmed based on the protect informationMeans for reading the corresponding data from the memory means based on the position information of the recorded data;
  Means for sending the read result as reproduction data to the data reader;
It is characterized by providing.
[0072]
According to the above system, the position of the protection information is calculated based on the data recording position information recorded on the memory means of the data recording / reproducing apparatus and the position information of the latest recording data described in the data recording position information. After the protection information is obtained based on this position and it is confirmed that the desired reading position can be read, the desired recording data is read from the desired reading position and sent from the data recording / reproducing apparatus to read the data. Accepted by the device. In this way, the protection information can be easily obtained from the position information of the latest recording data described in the data recording position information. Further, the desired data can be reliably read regardless of the recording position and the recording length of the recording data desired to be read.
[0073]
  According to a thirteenth aspect of the present invention, there is provided a data writing apparatus having a built-in memory means based on inputted data and recording position designation information.The input dataA data writing device capable of transferring data to a data recording / reproducing device capable of recording data at a designated position of the memory means,
  The data recording / reproducing apparatus is arranged so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to, and the latest recording data in each recording dataData recording position information set to indicate position information,Means for instructing recording or reproduction to a predetermined fixed position;
  The protection information that defines at least whether each data recorded in the memory means is writable is recorded following the end position of the latest recorded data, or reproduced from the position following the end position of the latest recorded data. Means to direct;
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
  Means for sending a write instruction together with the desired recording data and the desired recording position information to the data recording / reproducing apparatus after confirming the writable;
  Means for sending an instruction to write the updated data recording position information to the fixed position after the recording data is written to the data recording / reproducing apparatus;
  Means for sending, to the data recording / reproducing device, an instruction to write the updated protection information after the recording data is written to the end position of the recording data;
It is characterized by providing.
[0074]
According to the above configuration, the data recording position information recorded on the memory means of the data recording / reproducing device, and the position where the protect information is recorded based on the position information of the latest recording data described in the data recording position information After obtaining the protection information based on the recording position and confirming that the desired recording position where the recording data is recorded is writable based on the protection information, the desired recording data is stored in the data. It is written at a desired position in the memory means of the recording / reproducing apparatus. Further, after the recording data is written, the data recording position information at the fixed position on the memory means is updated based on the position information of the latest recording data, and update writing is performed. Further, the protect information is updated based on the information of the latest recording data, and is recorded following the end of the latest recording data.
[0075]
Accordingly, the recording position of the protect information is calculated by accessing the data recording position information in the subsequent processing, thereby making it easy to obtain the protect information.
[0076]
As described above, the desired recording data is recorded at a desired position in the memory means of the data recording / reproducing apparatus, and the protect information is also recorded following the end of the latest recording data. Management of the unused area is facilitated, the generation of a free area is avoided, and the memory utilization efficiency is improved.
[0077]
  According to a fourteenth aspect of the present invention, there is provided a data reader comprising a memory means, capable of reproducing data recorded in the memory means, and capable of transmitting / receiving data to / from a data recording / reproducing apparatus capable of transmitting / receiving data to / from an external device. A data reader,
  The memory means includesRecord data of any record length is recorded at any position,
  Furthermore, the recording position of each recorded data is organized so that it can be referred to, and in each recorded dataData recording position information set to indicate the latest recorded data is recorded at a predetermined fixed position of the memory means,
  Further, the protection information that defines at least whether or not each recorded data is readable is recorded at a position following the end of the latest recorded data,
  Means for receiving the data recording position information from the data recording / reproducing apparatus;
  Read the end position of the latest recorded data from the data recording position information, obtain position information where the protect information is recorded from the end position, and send the protect information from the data recording / reproducing apparatus based on the position information Means to receive,
  Means for confirming that the desired reading position is readable based on the reading position of the data desired to be read, the data recording position information and the protection information;
  Means for sending a read instruction together with the desired reading position information to the data recording / reproducing device after confirming that the data can be read, and receiving the data read from the data recording / reproducing device;
It is provided with.
[0078]
According to the above configuration, the protection information is obtained based on the data recording position information recorded on the memory means of the data recording / reproducing apparatus and the position information of the latest recording data described in the data recording position information. After it is confirmed that the reading position is readable, desired data is read from the memory means of the data recording / reproducing apparatus, sent from the data recording / reproducing apparatus, and received by the data reading apparatus. In this way, the protection information can be easily obtained from the position information of the latest recording data described in the data recording position information. Further, the desired data can be reliably read regardless of the recording position and recording length of the data desired to be read.
[0079]
  In a computer-readable recording medium on which data according to claim 15 of the present invention is recorded, recording data having an arbitrary recording length is recorded at an arbitrary position,
  Data organized so that the recording position information related to each recording data can be referred to is recorded at a first fixed position determined in advance as data recording position information,
  Protect information that defines at least one of write permission and read permission for each recording data is recorded at an arbitrary position,
  In addition, protect recording position information containing the position information where the protect information is recorded is recorded at a predetermined second fixed position,
  Each record can be read or written by a computer or a logic processing circuit operating in a stored program system.
[0080]
When the recording medium is read by a computer or a logic processing circuit operating in a stored program system, the protected recording position information is read from the second fixed position, and the recording position of the protected information is determined. The protection information is read based on this, and the protection information, the data recording position information read from the first fixed position, and the position where writing or reading is desired are compared and contrasted to determine whether writing to the desired position is possible or not. The availability is confirmed.
[0081]
Therefore, if writing is possible, any desired recording data is recorded at any desired position by a computer or a logic processing circuit operating in a stored program system, and update writing of data recording position information and protection information is performed. Made.
[0082]
If the data can be read, desired recording data is read from a desired position by a computer or a logic processing circuit operating in a stored program system.
[0083]
  A data writing device according to a sixteenth aspect of the present invention is a data writing device capable of accessing a recording medium having an area in which input data is reproducibly recorded at a designated position,
  Means for reproducing data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined fixed position of the recording medium;
  Recorded on the recording mediumEach recorded dataMeans for reproducing the protected recording position information containing at least the recording position of the protected information that defines whether or not writing is possible from a predetermined fixed position of the recording medium;
  Means for obtaining position information where the protect information is recorded from the protect recording position information;
  Based on the location informationThe recording mediumMeans for reproducing the protection information from
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
  Means for writing the desired recording data to the desired recording position after confirming the writable;
  Means for updating the data recording position information after writing the recording data;
  Means for updating the protection information after writing the recording data;
It is characterized by providing.
[0084]
According to the above configuration, the data recording position information and the protect recording position information recorded at a fixed position on the recording medium are read, and the protect information recorded at an arbitrary position is obtained based on the protect recording position information. The Therefore, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed through the protect recording position information.
Then, after it is confirmed by the protect information that a desired position where the record data is recorded can be written, the desired record data is written at a desired position on the recording medium. Then, after the recording data is written, the data recording position information at a fixed position on the recording medium is updated and written. Further, updated protection information is written.
[0085]
As described above, desired recording data is recorded at a desired position on the recording medium, and protect information is also recorded at an arbitrary position. Therefore, the unused area on the recording medium can be easily managed, and the free area can be recorded. Occurrence is avoided and memory utilization efficiency is improved. In addition, compatibility between recording media having different recording capacities is realized.
[0086]
Furthermore, even when the recording of recording data proceeds and the area where the existing protection information is recorded is touched, the position of the protection information is moved to prevent the recording data from being divided. Access efficiency is improved.
[0087]
Further, even if the recording data has a long recording length, the recording data can be easily managed by recording without interruption. Further, since no division is made, even if the recording data has a long recording length, only one piece of protection information is obtained, so that an area allocated for recording the protection information is saved, and the utilization efficiency of the recording medium is improved.
[0088]
  A data reader according to claim 17 of the present invention is a data reader capable of accessing a recording medium having an area for reproducibly recording data to a designated position,
  Means for reproducing the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined first fixed position of the recording medium;
  Recorded on the recording mediumEach recorded dataMeans for reproducing the protected recording position information containing at least the recording position of the protected information that defines whether or not it can be read from a predetermined second fixed position of the recording medium;
  Means for obtaining position information where the protect information is recorded from the protect recording position information;
  Means for reproducing protect information from the recording medium based on the position information;
  Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
  Means for reading the data desired to be read from the reading position of the recording medium after confirming the readability;
It is characterized by providing.
[0089]
According to the above configuration, the data recording position information and the protect recording position information recorded at a fixed position on the recording medium are obtained, and the protect information recorded at an arbitrary position is obtained based on the protect recording position information. The
Next, after confirming that the desired reading position can be read, the desired data is read from the recording medium. Therefore, the desired data can be reliably read regardless of the recording position and the recording length of the data desired to be read. Moreover, even if the protect information is recorded at an arbitrary position, the protect information is reliably accessed through the protect recording position information, and thus the data is protected.
[0090]
  In a computer-readable recording medium on which data according to claim 18 of the present invention is recorded, recording data of an arbitrary recording length is recorded at an arbitrary position,
  Data organized so that the recording position information relating to each recording data can be referred to is recorded at a predetermined fixed position as data recording position information,
  Protect information that defines at least one of write permission and read permission for each recording data is recorded following the recording position of the latest recording data in each recording data,
  Each record can be read or written by a computer or a logic processing circuit operating in a stored program system.
[0091]
When the recording medium is read by a computer or a logic processing circuit operating in a stored program system, the recording position of the latest recording data is determined based on the data recording position information read from the fixed position. The recording position of the protection information recorded after the recording data is determined, the protection information is read based on the recording position, the protection information, the data recording position information read from the fixed position, and writing or reading is desired. The position to be compared is compared and contrasted, and it is confirmed whether writing or reading to a desired position is possible.
[0092]
Therefore, if it is writable, any desired recording data is recorded as the latest recording data at any desired position by a computer or a logic processing circuit operating in a stored program system, and then this latest recording data is recorded. At the subsequent position, the protection information is updated and written. Here, the content of the protection information is updated by adding protection data relating to the latest recording data.
In addition, the data recording position information is updated and written. Here, the contents of the data recording position information are updated by adding the recording position data relating to the latest recording data.
[0093]
If the data can be read, desired recording data is read from a desired position by a computer or a logic processing circuit operating in a stored program system.
[0094]
  According to a nineteenth aspect of the present invention, there is provided a data writing apparatus according to the present invention, in which recording data of an arbitrary recording length can be recorded and is placed at an arbitrary position and at a predetermined fixed position and recorded at an arbitrary position. A data document accessible to a recording medium having an area for recording data recording position information organized so that the position information of each recording data can be referred to, and an area for recording at least protection information for specifying whether each area is writable Including
  The data recording position information indicates the position information of the latest recording data in the recorded data.Set,
  And the protect information shall be recorded following the end position of the latest recording data on the recording medium,
  Means for reading the data recording position information from the fixed position of the recording medium;
  Means for reading the end position of the latest recording data from the data recording position information, obtaining position information where the protect information is recorded from the end position, and reading the protect information based on the position information;
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data is recorded, the data recording position information and the protection information;
  After confirming that the writing is possible,Means for recording the desired recording data at a desired position on the recording medium;
  Means for updating and recording the data recording position information for updating the recording data as the latest recording data after the recording data has been written to the fixed position of the recording medium;
  Means for updating and recording the protection information to be updated after the recording data is written following the end of the latest recording data of the recording medium;
It is characterized by providing.
[0095]
According to the above configuration, after the data recording position information and the protect information recorded on the recording medium are read and it is confirmed that the desired position where the recording data is recorded is writable, the desired recording is performed. Data is written at a desired position on the recording medium. Then, after the recording data is written, the data recording position information at a fixed position on the recording medium is updated and written. Further, the updated protect information is written following the end of the latest recorded data.
[0096]
  A data reading device according to claim 20 of the present invention is an area where recording data of an arbitrary recording length can be recorded and placed at an arbitrary position, and is placed at a predetermined fixed position and recorded at an arbitrary position. A data reading apparatus capable of accessing a recording medium having an area for recording data recording position information organized so that the position information of each recording data can be referred to, and an area for recording at least protection information defining whether or not each area can be read Because
  The data recording position information is described so as to indicate the position information of the latest recording data in each recorded recording data,
  And the protect information shall be recorded following the end position of the latest recording data on the recording medium,
  Means for reading the data recording position information from the fixed position of the recording medium;
  Means for reading the end position of the latest recording data from the data recording position information, obtaining position information where the protect information is recorded from the end position, and reading the protect information based on the position information;
  Means for confirming that the desired recording position is readable based on a desired recording position where recording data is recorded, the data recording position information, and the protection information;
  After confirming that it is readable,Means for reproducing the desired reproduction data from a desired position of the recording medium;
It is characterized by providing.
[0097]
According to the above configuration, the position of the latest recording data is obtained from the data recording position information recorded on the recording medium, and the position of the protection information is obtained based on the end position of the latest recording data. After the information is obtained and it is confirmed that the desired reading position can be read, the desired data is read from the recording medium. Thus, protection information can be easily obtained. Further, the desired data can be reliably read regardless of the recording position and recording length of the data desired to be read.
[0098]
  A file recording method according to claim 21 of the present invention comprises memory means capable of recording and reproducing data,
  In any position where recording is allowed in the memory means,The process of recording a file of an arbitrary recording length into a cluster,
  The location and range where the cluster was recorded,Or a process of recording recording position information indicating delimiter position information as a data recording position information at a predetermined position in the memory means;
  A step of recording at least predetermined protection information indicating whether or not writing is set in each cluster in a predetermined position of the memory means;
It is characterized by including.
[0099]
According to the above method, since a file having an arbitrary recording length is recorded at an arbitrary position in the memory means and this file is used as a cluster, the file and the cluster have a one-to-one correspondence. Even a long file is organized as one cluster. Therefore, the end of the file is set to the end of the cluster at the same time. That is, no unused portion is generated between the end of the file and the end of the cluster. As a result, the occurrence of a recording area that is not used on the memory means is avoided, and the use efficiency of the recording area is improved.
Moreover, since the file is not divided into a plurality of clusters, file management becomes easy.
[0100]
In addition, since the data recording position information indicating the position of the recorded cluster is recorded at a predetermined position on the memory means, an arbitrary position on the memory means can be obtained by referring to the data recording position information at the predetermined position. Entry to a file having an arbitrary recording length recorded in the file becomes easy, so that file access can be easily performed.
[0101]
Further, since the protection information of the recorded file is recorded at a predetermined position on the memory means, the protection information of the file recorded at an arbitrary position on the memory means is referred to by referring to the protection information at the predetermined position. Is easily possible.
[0102]
  A file playback method according to claim 22 of the present invention provides:In a memory means capable of recording and reproducing data, a file desired to be reproduced exists as a cluster recorded at an arbitrary position with an arbitrary recording length,
  And at a predetermined position, information indicating the recorded position and range or separation position of the cluster is recorded as data recording position information,
  In addition, at a predetermined position, protection information indicating at least readability set for each cluster is recorded.Said memory means,
  Reading the data recording position information from the predetermined position and confirming the cluster to which the file desired to be reproduced belongs;
  Reading the protect information from the predetermined location of the memory means;
  Confirming that the cluster to which the desired file belongs can be read based on the protection information;
  After confirming that the cluster is readable, reading and reproducing the file in the cluster based on the data recording position information;
It is characterized by including.
[0103]
According to the above method, the cluster is confirmed from the data recording position information, and after confirming that the cluster can be read based on the read protect information, the desired file is read from the cluster, and thereby the desired file is read. The desired cluster is reliably accessed regardless of the recording position and the recording length. Moreover, since the protect information is recorded at a predetermined position, the protect information is reliably accessed, so that the file can be easily protected.
[0104]
  According to a twenty-third aspect of the present invention, there is provided a data writing system comprising recording means for recording recording data in a built-in memory means, and data organized so that position information of each recording data recorded in the memory means can be referred to Data recording / reproduction comprising recording position information recording / reproducing means and protection information recording / reproducing means for defining at least whether each of the recorded data recorded in the memory means is writable, and capable of data exchange with an external device Equipment,
  A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
  The data writing device is at least:
  Means for designating and sending recording data and position information where the recording data is recorded;
  Means for enabling the recording data to be sent to the data recording / reproducing device, the protection data defining at least one of readability and writeability after recording,
  The data recording / reproducing apparatus comprises:
  Means for recording the recording data at the designated position of the memory means, and after recording, recording the updated data recording position information at a predetermined first fixed position of the memory means;
  Protect information updated with the sent protect dataA predetermined second fixed position of the memory means;Means for recording to,
  Means for reproducing the data recording position information from the first fixed position;
  Means for reproducing the protection information from the second fixed position;
It is characterized by providing.
[0105]
According to the system described above, given arbitrary recording data is recorded at a designated arbitrary position, and this recording position is recorded as a data recording position information at a predetermined first fixed position on the memory means. . Therefore, the data recording position information is obtained by accessing the first fixed position in the subsequent processing, thereby making it easy to check the recording state on the memory means.
[0106]
Similarly, given protection information is recorded in a predetermined second fixed position on the memory means. Therefore, protection information can be obtained by accessing the second fixed position, and thus any recording data can be easily protected.
[0107]
As described above, since arbitrary recording data is recorded at an arbitrary designated position, management of unused areas on the memory means is facilitated, and the occurrence of free areas is avoided, improving the memory utilization efficiency. Made.
[0108]
  A data reading system according to a twenty-fourth aspect of the present invention includes a memory means, a data recording / reproducing apparatus capable of reproducing data recorded in the memory means and capable of transmitting / receiving data to / from an external device,
  A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
  The memory means includesRecord data of any record length is recorded at any position,
  Further, data recording position information organized so that the recording positions of the recorded data can be referred to.Recorded in a predetermined first fixed position of the memory means;
  Furthermore, protection information that defines at least whether or not each recorded data can be read is provided.Recorded in a predetermined second fixed position of the memory means;
  The data reader is at least:
  The recorded data that you want to readPosition information of the memory meansMeans to send and specify,
  Sent from the data recording / reproducing apparatus,Reproduction data reproduced from the memory meansAnd means for accepting
  The data recording / reproducing apparatus comprises:
  Means for reproducing the data recording position information from the first fixed position;
  Means for reproducing the protection information from the second fixed position;
  After the permission of reading is confirmed based on the protect information, the corresponding data based on the positional information of the recorded data desired to be read is sent.Means for reading from said memory meansWhen,
  Means for sending the read result as reproduction data to the data reader;
It is characterized by providing.
[0109]
According to the above system, it is confirmed from the data recording position information of the first fixed position that the recording data desired to be read exists on the memory means, and reading is desired based on the protection information read from the second fixed position. After confirming that the recording data to be read can be read, the desired recording data is read from the memory means, so that the desired recording data is reliably accessed regardless of the recording position and the recording length. Moreover, since the protect information is recorded at the second fixed position, the protect information can be easily accessed, and thus the recorded data on the memory means can be easily protected.
[0110]
  A data writing apparatus according to a twenty-fifth aspect of the present invention has a built-in memory means, based on input data and recording position designation information.The input dataA data writing device capable of transferring data to a data recording / reproducing device capable of recording data at a designated position of the memory means,
  Instructing the data recording / reproducing apparatus to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred from a predetermined first fixed position; Means for receiving data read from the data recording / reproducing device;
  Data that is read from the data recording / reproducing apparatus is instructed to reproduce the protection information that defines at least whether or not each data recorded in the memory means is reproduced from a predetermined second fixed position. Means to receive
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
  After confirming that the writing is possible,Means for sending a write instruction to the data recording / reproducing apparatus together with the desired recording data and the desired recording position information;
  Means for sending an update writing instruction of the data recording position information at the first fixed position to the data recording / reproducing apparatus together with the update data after the recording data is written;
  Means for sending an update write instruction of the protect information at the second fixed position to the data recording / reproducing apparatus together with the update data after the record data is written;
It is characterized by providing.
[0111]
According to the above configuration, the data recording position information and the protect information recorded on the memory means of the data recording / reproducing apparatus are obtained, and it is confirmed that the desired recording position where the recording data is recorded can be written. After that, desired recording data is written in a desired position in the memory means of the data recording / reproducing apparatus. Further, after the recording data is written, the data recording position information at a fixed position on the memory means is updated and written. After the recording data is written, the protection information at a fixed position on the memory means is updated and written.
[0112]
Therefore, the data recording position information can be obtained by accessing the fixed position in the subsequent processing, thereby making it easy to obtain the recording position of the recording data on the memory means. Further, the protection information is obtained by accessing the fixed position, and thereby it is easy to confirm the write permission at an arbitrary position on the memory means.
[0113]
As described above, since desired recording data is recorded at a desired position in the memory means of the data recording / reproducing apparatus, management of unused areas on the memory means is facilitated, and generation of free areas is avoided. Thus, the memory utilization efficiency is improved.
[0114]
  A data reader according to a twenty-sixth aspect of the present invention is a data reader capable of transmitting and receiving data to and from a data recording / reproducing device including a memory means for reproducibly recording data to a designated position.
  An instruction to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to from a predetermined first fixed position of the memory means is the data recording / reproducing Means for receiving the data read from the data recording / reproducing device;
  Recorded in the memory meansEach recorded dataIs sent to the data recording / reproducing apparatus to receive the read data from the data recording / reproducing apparatus. Means,
  Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
  After confirming that it is readable,Means for sending an instruction to read the data desired to be read from the reading position of the memory means to the data recording / reproducing apparatus, and for receiving the data read from the data recording / reproducing apparatus;
It is characterized by providing.
[0115]
According to the above configuration, after the data recording position information and the protection information recorded at the fixed position of the memory means of the data recording / reproducing apparatus are obtained and it is confirmed that the desired reading position can be read. Desired data is read from the memory means of the data recording / reproducing apparatus and sent to the data reading apparatus.
Therefore, even if the recording position and the recording length of the data desired to be read are arbitrary, the desired data is reliably read. In addition, since the protect information is recorded at a fixed position, it can be easily accessed, thereby protecting the data.
[0116]
  In a computer-readable recording medium on which data according to claim 27 of the present invention is recorded, recording data having an arbitrary recording length is recorded at an arbitrary position.
  Data organized so that the recording position information related to each recording data can be referred to is recorded at a first fixed position determined in advance as data recording position information,
  Specify at least one of whether or not each record data can be written or readProtect information is recorded at a predetermined second fixed position,
  Each record can be read or written by a computer or a logic processing circuit operating in a stored program system.
[0117]
When the recording medium is read by a computer or a logic processing circuit operating in a stored program system, the protect information is read from the second fixed position, and the protect information and the data recording position read from the first fixed position are read. The information and the position where writing or reading is desired are compared and checked to determine whether writing to or reading from the desired position is possible.
[0118]
Therefore, if writing is possible, any desired recording data is recorded at any desired position by a computer or a logic processing circuit operating in a stored program system, and update writing of data recording position information and protection information is performed. Made.
[0119]
If the data can be read, desired recording data is read from a desired position by a computer or a logic processing circuit operating in a stored program system.
[0120]
  A data writing apparatus according to a twenty-eighth aspect of the present invention is a data writing apparatus capable of accessing a recording medium having an area for reproducibly recording input data to a designated position,
  Means for reproducing data recording position information organized so that reference can be made to the position information of each recording data recorded at an arbitrary position of the recording medium from a predetermined first fixed position of the recording medium; and Recorded inEach recorded dataMeans for reproducing at least protect information that defines whether or not writing is possible from a predetermined second fixed position of the recording medium;
  Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
  Means for writing the desired recording data to the desired recording position after confirming the writable;
  Means for updating the data recording position information of the first fixed position after writing the recording data;
  Means for updating the protection information at the second fixed position after writing the recording data;
It is characterized by providing.
[0121]
According to the above configuration, after the data recording position information and the protect information recorded on the recording medium are read, and after confirming that the desired position where the recording data is recorded is writable, the desired position is recorded. Recording data is written at a desired position on the recording medium. Then, after the recording data is written, the data recording position information at the first fixed position on the recording medium is updated and written. Further, the protection information at the second fixed position is updated and written.
[0122]
As described above, since record data of a desired arbitrary recording length is recorded at a desired arbitrary position on the recording medium, management of unused areas on the recording medium is facilitated, and generation of empty areas is avoided. Thus, the memory utilization efficiency is improved.
[0123]
  A data reading device according to a twenty-ninth aspect of the present invention is a data reading device capable of accessing a recording medium having an area for reproducibly recording data to a designated position,
  Means for reproducing the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined first fixed position of the recording medium;
  Recorded on the recording mediumEach recorded dataMeans for reproducing at least protection information that defines whether or not reading is possible from a predetermined second fixed position of the recording medium;
  Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
  Means for reading the data desired to be read from the reading position of the recording medium after confirming the readability;
It is characterized by providing.
[0124]
According to the above configuration, the data recording position information and the protection information recorded in the fixed positions are obtained on any recording medium, and after confirming that the desired reading position is readable, the desired data Are read from the recording medium.
Therefore, even if the recording position and the recording length of the data desired to be read are arbitrary, the desired data is reliably read. In addition, the protection information is reliably accessed, thus protecting the data.
[0125]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings. The embodiment described below is a part of a preferred example for showing the essential configuration and operation of the present invention. Therefore, there are cases where various limitations preferable in terms of the technical configuration may be attached. The scope of the invention is not limited to these forms unless otherwise specified in the following description.
[0126]
FIG. 1 is a block diagram of an embodiment of a data writing system according to the present invention. FIG. 2 is a memory map for explaining data recording in the memory unit shown in FIG. FIG. 3 is an explanatory diagram of the operation of the data writing system shown in FIG.
[0127]
As shown in FIG. 1, the data writing system according to the present invention includes a data writing device WV1 and a data recording / reproducing device TF1.
[0128]
The data writing device WV1 is connected to the instruction information input means Kb, the display information output means DpL for the user to input instructions, the data transmission / reception unit Atr1, and the data transmission / reception unit Atr1, which are involved in data transmission / reception with the data recording / reproducing apparatus TF1. Further, it is connected to each unit to transmit signals / data to each unit and control / transmission unit rw11 for controlling each unit, error management unit rw12 for performing error management of data exchanged, and data recording / reproducing device TF1. Response processing means rw13 for processing the response signal received by the data transfer unit Atr1 is provided.
[0129]
Further, the address information input via the instruction information input means Kb, the address management means rw14 for managing the organization and sending of each address sent to the data recording / reproducing apparatus TF1, the instructions from the control / transmission means rw11, and The command issuing unit rw15 that issues a command in a predetermined format based on the instruction command input through the instruction information input unit Kb, and the recording data and update data input through the instruction information input unit Kb are converted into data of a predetermined format. Data organizing means rw16 for organizing, PDC location information managing means for managing the entry address of the protect information cluster PDC and the address of the protect data in the protect information cluster PDC for data protection of each cluster formed on the memory unit Mem1 rw17, protect information cluster PDC It comprises a protected data compiling means rw18 for organizing the protected data.
[0130]
The data writing device WV1 includes a microcomputer (not shown) having a CPU and a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. Each of the programs is preferably stored in the ROM as a program, but it is also possible to configure a logic circuit or a part of the logic circuit.
[0131]
On the other hand, the data recording / reproducing apparatus TF1 is connected to the data exchanging section Btr1 and the data exchanging section Btr1 which are involved in data exchanging with the data writing apparatus WV1, and further connected to each section to transmit signals / data to each section and to transmit each section to each section. Control / transmission means tf11 for controlling, error management means tf12 for performing error management of exchanged data, and instruction input analysis means tf13 for analyzing the instruction input from the data sent from the data writing device WV1 and received by the data exchange unit Btr1 , A memory unit Mem1 for recording and holding data, recording means tf15 for recording recording data or update data sent from the data writing device WV1 at the designated target address, and a memory based on the instructions sent from the data writing device WV1 Reproducing means tf for reading various data from the address of the section Mem1 Equipped with a 4.
[0132]
The memory unit Mem1 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0133]
Furthermore, response data organizing means tf16 for organizing the results of execution of the error management means tf12, instruction input analyzing means tf13, recording means tf15 or reproducing means tf14 into response data is provided.
[0134]
The data recording / reproducing apparatus TF1 is preferably composed of a logic circuit as a whole or a part of it as a logic circuit, but in addition to this, for example, a microcomputer (not shown) having a CPU and can be read and executed by this microcomputer For example, a ROM (read only memory) in which the above program is stored may be provided, and each of the above units may be stored in the ROM as a program.
[0135]
The data transfer units Atr1 and Btr1 are an antenna that generates or is sensitive to electromagnetic waves, and a transmission / reception circuit that supplies a current for generating electromagnetic waves to the antenna during transmission and extracts a signal from the sensitive current generated by the antenna during reception However, it may be a wired connection.
[0136]
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF1 receives the electromagnetic waves transmitted by the data writing device WV1, generates the power supply voltage Vc by rectifying the carrier wave, and supplies each part of the data recording / reproducing device TF1. The power supply circuit to be supplied can be provided. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF1, and not only the configuration of the data recording / reproducing apparatus TF1 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF1, and the degree of freedom in system construction can be improved.
[0137]
Although not shown, a clock circuit that extracts a clock signal from an electromagnetic wave transmitted from the data writing device WV1 may be provided on the data recording / reproducing device TF1 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF1 side or a transmission carrier to the data writing apparatus WV1 side.
[0138]
The error management unit rw12 and the error management unit tf12 include a data error correction function, but may be configured to have a data encryption / decryption function.
[0139]
The data writing system is characterized by the arrangement of each data recorded in the memory unit Mem1 and file management, particularly address management. Hereinafter, these technical configurations and operations will be described based on the memory map of the memory unit Mem1 shown in FIG. 2 and the flowchart shown in FIG.
[0140]
As shown in FIG. 2, the memory unit Mem1 is configured such that a plurality of clusters can be recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a system cluster SC in which cluster PDC and address information of each cluster are recorded.
[0141]
Here, the system cluster SC is always recorded at a fixed position of the memory unit Mem1, for example, at the head. On the other hand, the user cluster UCi can be recorded at an arbitrary position on the memory with an arbitrary recording length. Further, the protect information cluster PDC has an arbitrary recording length and is recorded at an arbitrary position.
[0142]
In the illustrated example, the user cluster UC1 is recorded in an arbitrary address area ad10 to ad11, and an arbitrary value is allowed for the recording length Ln1. On the other hand, the protect information cluster PDC is recorded in the address areas adPL to adPH, and the recording length is arbitrary, but the read protect information PDr and the write protect information PDw recorded therein are based on the address adPL (or adPH). It is assumed that it is always recorded at an address shifted by a predetermined offset amount оfst1 or оfst2. Therefore, when the address adPr of the read protect information PDr and the address adPw of the write protect information PDw are based on the address adPL,
adPr = adPL + оfst1
adPw = adPL + оfst2
Can be obtained. In addition to the protection information, various information such as key data and file IDs can be recorded in the protection information cluster PDC.
[0143]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded on the memory is placed is set at a predetermined fixed address adC, and the recording position of the protect information cluster PDC is recorded. A protect information address table PAdT on which information is placed is recorded at a predetermined fixed address adD.
[0144]
For example, in the cluster address table CAdT, the cluster number # 1 of the user cluster UC1, the head address ad10, and the tail address ad11 are recorded in a table format. Here, when adopting a configuration in which each user cluster UCi is recorded without a space following the end of the previous user cluster UCj, the head address is omitted as delimiter information, and only the tail address is recorded. it can. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0145]
In the protect information address table PAdT, the head address adPL and the tail address adPH of the protect information cluster PDC are recorded in association with each other. The tail address adPH is information necessary for recording the user cluster UCi at an arbitrary position after the protect information cluster PDC. Also, the address adPr of the read protect information PDr and the address adPw of the write protect information PDw may be recorded in the protect information address table PAdT, or the offsets оfst1 and оfst2 may be recorded.
The address management of the protection information is executed by the PDC position information management unit rw17.
[0146]
Here, the free area on the memory unit Mem1 may be configured to manage addresses as new writable areas NU1 and NU2, as shown in the figure.
[0147]
As an instruction issued by the command issuing means rw15 of the data writing device WV1, that is, a command, a command cmW for instructing data recording to the memory unit Mem1 in the data recording / reproducing device TF1 and a data reproduction from the memory unit Mem1 are instructed. There is a command cmR.
[0148]
The command cmW is a new recording command for instructing recording of desired recording data to the memory unit Mem1, and an update recording for instructing to rewrite and record the existing user cluster UCi on the memory unit Mem1 as a new user cluster UCi. Command, protect information update command for instructing update of the contents of the protect information cluster PDC recorded in the memory unit Mem1 (for example, read protect information PDr and write protect information PDw), and instruction to move the recording position of the protect information cluster PDC It functions as a PDC move command, a table update command for instructing update of the contents of the cluster address table CAdT and the protect information address table PAdT.
[0149]
The command cmR includes a read command for instructing reading of the cluster address table CAdT, a read command for instructing reading of the protect information address table PAdT, and the contents of the protect information cluster PDC (for example, read protect information PDr and write protect information PDw). ) Functions as a read command for instructing reading.
[0150]
The function of each command is distinguished by a code or an operand forming the command. Moreover, it is good also as a structure which issues a subcommand.
[0151]
The control / transmission means rw11 adds the address data by the address management means rw14 or the PDC position information management means rw17 and the record / update data by the data organization means rw16 or the protect data organization means rw18 to these commands issued by the command issuing means rw15. In addition, it is organized into instruction input data.
[0152]
As described above, the types of instruction input data sent by the data writing device WV1 are instruction input data composed of a command and a target address, instruction input data composed of a command, a target address and recording data or update data, and a command. There is instruction input data composed of a target address and protection information update data, etc., and these instruction input data are encoded by the error management means rw12 via the control / transmission means rw11, and the data recording / reproducing is performed from the data transfer unit Atr1. It is sent to the device TF1 side.
[0153]
On the other hand, in the data recording / reproducing apparatus TF1, the instruction input data sent from the data sending / receiving unit Atr1 of the data writing device WV1 is received by the data sending / receiving unit Btr1, and is decoded / errored by the error management unit tf12 via the control / transmission unit tf11. After the error correction is performed, the command analysis is performed by the instruction input analysis unit tf13, and the recording unit tf15 or the reproduction unit tf14 is operated based on the analysis result to record / update or reproduce the data, table, or address.
[0154]
The reproduced data (the table and the like) and the status associated with the processing are organized into response data by the response data organizing unit tf16, encoded by the error managing unit tf12, and sent from the data transfer unit Btr1.
[0155]
Next, in the data writing device WV1, after the data exchange unit Atr1 receives the response data transmitted from the data exchange unit Btr1, the error management unit rw12 performs decoding / error correction through the control / transmission unit rw11. The data processed and reproduced by the response processing means rw13 and the status associated with the processing are displayed on the display information output means DpL or output outside the apparatus.
[0156]
Next, the operation will be described with reference to FIG.
The operations of the data writing device WV1 and the data recording / reproducing device TF1 are executed according to a plurality of processes as described below. Each process is composed of a plurality of steps. Note that the error management process is omitted in the following description in order to avoid complicated explanation.
[0157]
In the cluster management process p11, when an instruction input from the user occurs, in step 1000, the instruction input data including the read command cmR and the target address adC is sent from the data writing device WV1 to the data recording / reproducing device TF1. The address adC is an entry point of the cluster address table CAdT.
[0158]
As described above, the read command cmR is issued by the command issuing unit rw15 under the control of the control / transmission unit rw11, the target address adC is created by the address management unit rw14, and the control / transmission unit rw11 organizes them into instruction input data. To do. The following instruction input data is organized in substantially the same manner.
[0159]
When the data recording / reproducing device TF1 receives the instruction input data consisting of the read command cmR and the target address adC, the cluster address table CAdT is read from the address adC of the memory unit Mem1, and this is read in step 1001 as the data writing device WV1. Send to.
[0160]
In step 1002, a read command cmR and a target address adD are sent from the data writing device WV1 to the data recording / reproducing device TF1. The address adD is an entry point of the protect information address table PAdT.
[0161]
Upon receiving this instruction input data, the data recording / reproducing apparatus TF1 reads the protect information address table PAdT from the address adD of the memory unit Mem1, and sends it to the data writing apparatus WV1 in step 1003.
[0162]
The data writing device WV1 extracts the address adPw where the write protection information PDw is recorded from the received protection information address table PAdT, and sends the read command cmR and the target address adPw to the data recording / reproducing device TF1 in step 1004. .
[0163]
Upon receiving this instruction input data, the data recording / reproducing device TF1 reads the write protect information PDw from the address adPw of the memory unit Mem1, and sends it to the data writing device WV1 in step 1005.
[0164]
In the subsequent target address setting process p12, the cluster to which the target address ad1 belongs can be written with reference to the read write protection information PDw based on the write target address ad1 input from the input device Kb. Confirm.
[0165]
In the subsequent cluster writing process p13, in step 1006, the data writing device WV1 sends the write command cmW, the target address ad1, and the recording data d1 to the data recording / reproducing device TF1. The data recording / reproducing device TF1 records the recording data d1 at the address ad1 of the memory unit Mem1. Then, as status analysis process p16, status data stat is sent to data writing device WV1 in step 1016. The data writing device WV1 analyzes the status data stat and confirms that the recording of the recording data d1 has been performed.
[0166]
When this recording is completed, the data writing device WV1 confirms that there is further recording data, and again reads the data based on the write target address ad2 input from the input device Kb as the target address setting process p12. With reference to the write protect information PDw, it is confirmed that the cluster to which the target address ad2 belongs is writable.
[0167]
Then, again as a cluster writing process p13, the data writing device WV1 sends a write command cmW, a target address ad2, and recording data d2 to the data recording / reproducing device TF1 in step 1007. The data recording / reproducing device TF1 records the recording data d2 at the address ad2 of the memory unit Mem1. Then, again, status data stat is sent to the data writing device WV1 in step 1016 as the status analysis process p16. The data writing device WV1 analyzes the status data stat and confirms that the recording of the recording data d2 has been performed.
[0168]
Thereafter, recording of the recording data d3 and d4 proceeds in the same manner. When the write command cmW, the target address adN and the recording data dN are sent to the data recording / reproducing apparatus TF1 in step 1008, the data recording / reproducing apparatus TF1 stores the memory unit. Record data dN is recorded at address adN of Mem1. In this way, a file composed of the recording data d1 to dN is formed as the user cluster UC2.
[0169]
As is apparent from the above, the user can set the recording length and recording address of the user cluster UC2 to desired desired values and record them on the memory unit Mem1.
[0170]
In the subsequent CAdT update writing process p14, in step 1009, the data writing device WV1 sends to the data recording / reproducing device TF1 update data CAdT * in which the write command cmW, the target address adC, and the delimiter information of the user cluster UC2 are added. The data recording / reproducing device TF1 records the update data CAdT * at the address adC of the memory unit Mem1. As a result, the cluster address table CAdT is updated.
[0171]
In the subsequent PDw *, PDr * update writing process p15, in step 1010, the data writing device WV1 sends a write command cmW, a target address adPw, and updated write protection information PDw to the data recording / reproducing device TF1. The data recording / reproducing device TF1 records the updated write protect information PDw at the address adPw of the memory unit Mem1. As a result, the newly recorded write protect information of the user cluster UC2 is added to the write protect information PDw.
[0172]
Further, the data writing device WV1 sends a write command cmW, a target address adPr, and read protection information PDr to be updated to the data recording / reproducing device TF1. The data recording / reproducing apparatus TF1 records the updated read protect information PDr at the address adPr of the memory unit Mem1. As a result, the newly recorded read protect information of the user cluster UC2 is added to the read protect information PDr.
[0173]
As described above, according to the configuration of the present system, the user cluster can be freely defined, so that the recording length of the data to be recorded can be recorded at any desired length and at any position. it can. Further, since this file is used as a cluster, it is not necessary to divide it into a plurality of clusters. The file and the cluster have a one-to-one correspondence, and even a file having a long recording length is organized as one cluster.
[0174]
As a result, the end of the file is set to the end of the cluster at the same time. That is, an unused dead area does not occur between the end of the file and the end of the cluster. As a result, it is possible to prevent the generation of an unrecorded area that cannot be used on the memory unit, thereby improving the memory utilization efficiency.
[0175]
Furthermore, even a file having a long recording length is organized as one cluster without being divided, and the file is not divided into a plurality of clusters, so that not only file management is facilitated, but also a recording storage area for protect information Can be reduced to 1 per file, and the recording area of the protect information can be saved.
[0176]
Further, since the position of the protect information cluster PDC can be moved, it is preferable to move the position of the protect information cluster PDC when the recording position is applied to the existing protect information cluster PDC during file recording. Thus, the file can be continuously recorded without being divided.
[0177]
Further, since the protect information cluster PDC can be placed at an arbitrary position on the memory area, the protect information cluster PDC can be set to the same cluster number even when the memory unit Mem1 having a different capacity is applied. Compatibility can be ensured as a cluster.
[0178]
Further, according to the above method, since the data recording position information indicating the position of the recorded cluster is recorded at a predetermined position of the memory unit, the memory means is referred to by referring to the data recording position information at the predetermined position. An entry to a file with an arbitrary recording length recorded at an arbitrary position on the upper side can be easily performed, and thus file access is facilitated.
[0179]
Further, since the protect information of the recorded file is recorded at an arbitrary position in the memory unit, and the protect recording position information indicating the position is recorded at a predetermined fixed position in the memory unit, the protect recording position information at the predetermined position is recorded. By referring to the above, it is possible to easily access the protect information recorded at an arbitrary position in the memory unit. Moreover, since the recording position of the protect information can be made variable, the degree of freedom in designing the memory map increases.
[0180]
4 and 5 show an example of a memory map of the memory unit in which data is recorded by the data writing system of the present invention in this way.
[0181]
FIG. 4 shows an example of a memory map of the memory unit Mem1K having a recording capacity of 1 kbyte. In this memory cell, one sector is 16 bytes, and the entire memory cell is composed of 64 sectors.
In sector numbers 00h to 02h (h: Hexadecimal display), a system cluster occupying three sectors is placed as the 0th cluster C0. This sector number is treated as an address.
[0182]
Following the 0th cluster C0, the user area 0 (03h to 0Fh sector: a total of 13 sectors) as the first cluster C1, the user area 1 (10h to 1Fh sector: a total of 16 sectors) as the second cluster C2, the third User area 2 (20h-2Bh sectors: total 12 sectors) as cluster C3, user area 3 (2Ch-2Dh sectors: total 2 sectors) as fourth cluster C4, user area 4 (2Eh-2Fh) as fifth cluster C5 Sector: total 2 sectors), protect information cluster PDC (30h-37h sectors: total 8 sectors) as the sixth cluster C6, and user area 5 (38h-3Fh sectors: total 8 sectors) as the seventh cluster C7, Each is recorded.
[0183]
In the system cluster, a cluster address table CAdT in which division data (Divide Data) of each cluster is collected, and a protection information cluster storing read protection information PDr and write protection information PDw set for each cluster. A protect information address table PAdT indicating a recording position, that is, an address (30h to 37h sector) of the PDC (Product Data Area of the sixth cluster C6 in the figure) is recorded.
[0184]
In the cluster address table CAdT, for example, as shown in the figure, each cluster number (# 0 to # 7) and the corresponding end sector number are recorded in hexadecimal.
[0185]
One byte (8 bits) is secured as the read protect information PDr, and one bit is assigned to each cluster. That is, when the LSB bits to the MSB 8 bits are assigned to the clusters of cluster numbers # 0 to # 7, and the value of each bit is “1”, the data recorded from the corresponding cluster is read. Permitted, and when “0”, reading is prohibited.
Furthermore, 1 byte (8 bits) is secured as the write protect information PDw, and 1 bit is assigned to each cluster. When the value of this 1 bit is “1”, data recording to the corresponding cluster is permitted, and when it is “0”, writing is prohibited.
[0186]
FIG. 5 shows an example of a memory map in the memory unit Mem2K having a recording capacity of 2 kbytes. This memory cell is composed of 128 sectors as a whole with 16 bytes per sector.
[0187]
In sector numbers 00h to 02h (h: Hexadecimal display), a system cluster occupying three sectors is placed as the 0th cluster C0. This sector number is treated as an address.
[0188]
Subsequent to the 0th cluster C0, the user area 0 (03h-2Fh sectors: total 45 sectors) as the first cluster C1, the user area 1 (30h-3Fh sectors: total 16 sectors) as the second cluster C2, the third User area 2 (40h-4Bh sectors: total 12 sectors) as cluster C3, user area 3 (4Ch-4Dh sectors: total 2 sectors) as fourth cluster C4, user area 4 (4Eh-4Fh) as fifth cluster C5 Sector: total 2 sectors), protect information cluster PDC (50h-57h sectors: total 8 sectors) as sixth cluster C6, and user area 5 (58h-7Fh sectors: total 40 sectors) as seventh cluster C7, Each is recorded.
[0189]
In the system cluster, a cluster address table CAdT in which division data (Divide Data) of each cluster is collected, and a protection information cluster storing read protection information PDr and write protection information PDw set for each cluster. A protect information address table PAdT indicating a recording position, that is, an address (50h to 57h sector) of the PDC (Product Data Area of the sixth cluster C6 in the figure) is recorded.
[0190]
In the cluster address table CAdT, for example, as shown in the figure, each cluster number and the corresponding sector number at the end are recorded in hexadecimal.
[0191]
As described above, recording data of an arbitrary recording length can be recorded at an arbitrary position, and protect information can also be recorded at an arbitrary position. Therefore, management of unused areas on the memory is facilitated, and memory utilization efficiency is improved. improves. Further, as in the memory units Mem1K and Mem2K, the position of the protect information cluster PDC is the sixth cluster C6 even if the recording capacities are different. The compatibility between the memory units Mem1K and Mem2K having different values is ensured.
[0192]
Further, even if the recording data has a long recording length, it is recorded without interruption, so that only one piece of protect information is provided, and the allocated area can be saved.
[0193]
In the above configuration, the data recording / reproducing device TF1 is configured by a microcomputer, a program that can be read and executed by the microcomputer is stored in the ROM, and a part of the functions executed on the data writing device WV1 side described above is stored. Can be configured to be executed in the data recording / reproducing apparatus TF1.
[0194]
For example, when a write instruction is sent from the data writing device WV1 together with the target address ad1 and the recording data d1, the data recording / reproducing device TF1 is set in advance according to the information of the address adC set in the data recording / reproducing device TF1. Read the address table CAdT, similarly read the protect information address table PAdT from the information of the built-in address adD, extract the address adPw where the write protect information PDw is recorded, and read the write protect information PDw, Based on the sent write target address ad1, referring to the write protect information PDw, it is confirmed that the cluster to which the target address ad1 belongs can be written, and then the sent record data d1 is addressed. Record to ad1 . The status data stat is sent to the data writing device WV1. All the above processing is executed by the program on the data recording / reproducing apparatus TF1 side. In the same manner, the corresponding part can be configured to be executed on the data recording / reproducing apparatus TF1 side.
[0195]
FIG. 6 is a block diagram of an embodiment of the data reading system according to the present invention. FIG. 7 is an explanatory diagram of the operation of the data reading system shown in FIG.
As shown in FIG. 6, the data reading system according to the present invention includes a data reading device RV2 and a data recording / reproducing device TF2.
[0196]
The data reader RV2 is connected to the instruction information input means Kb, the display information output means DpL for the user to input instructions, the data exchange section Atr2, and the data exchange section Atr2, which are involved in data exchange with the data recording / reproducing apparatus TF2. Further, the control / transmission means rw21 for transmitting the signal / data to each part and controlling each part connected to each part, the error management means rw22 for performing error management of the data exchanged, and the data sent from the data recording / reproducing apparatus TF2 Response processing means rw23 for processing the response signal received by the sending / receiving unit Atr2 is provided.
[0197]
In addition, address information input via the instruction information input means Kb, address management means rw24 for managing each address, and commands of a predetermined format are issued based on the instruction commands input via the instruction information input means Kb Command issuing means rw25.
[0198]
The data reader RV2 includes a microcomputer (not shown) having a CPU and a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. The program is preferably stored in the ROM as a program, but the logic circuit or a part of the program may be configured with a logic circuit.
[0199]
On the other hand, the data recording / reproducing device TF2 is connected to the data exchange unit Btr2 and the data exchange unit Btr2 involved in data exchange with the data reader RV2, and is further connected to each unit to transmit signals / data to each unit and control each unit. Control / transmission means tf21, error management means tf22 for executing error management of data to be exchanged, instruction input analysis means tf23 for analyzing the instruction input from the data sent from the data reader RV2 and received by the data exchange unit Btr2, data And a reproducing means tf24 that reads data from the address of the memory unit Mem2 based on the target address sent from the data reader RV2.
[0200]
The memory unit Mem2 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0201]
Furthermore, response data organizing means tf26 for organizing the result of execution of the error management means tf22, the instruction input analyzing means tf23, or the reproducing means tf24 into response data is provided.
[0202]
The data recording / reproducing apparatus TF2 is preferably composed of a logic circuit as a whole or a part of it as a logic circuit. For example, a microcomputer (not shown) having a CPU and a program that can be read and executed by the microcomputer are stored. A ROM (read only memory) may be provided, and each of the above units may be stored in the ROM as a program.
[0203]
In addition, the data transmission / reception units Atr2 and Btr2 are preferably configured to include an antenna and perform data transmission / reception by transmitting and receiving electromagnetic waves, but may be wired connections.
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF2 receives the electromagnetic waves transmitted by the data reading device RV2, and supplies the power obtained by rectifying this to the respective units of the data recording / reproducing device TF2 as a power source. can do. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF2, and not only the configuration of the data recording / reproducing apparatus TF2 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF2, and the degree of freedom of system construction can be improved.
[0204]
Although not shown, a clock circuit that extracts a clock signal from electromagnetic waves transmitted from the data reading device RV2 may be provided on the data recording / reproducing device TF2 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF2 side or a transmission carrier to the data reading apparatus RV2 side.
[0205]
The error management unit rw22 and the error management unit tf22 include a data error correction function, but can also be configured to include a data encryption / decryption function.
[0206]
Here, in the memory unit Mem2, a system cluster SC, a user cluster UC1, an unrecorded area NU, a protect information cluster PDC, an unrecorded area NU, and a user cluster UC2 are arranged in order from the top as shown in the figure. Assume that the user cluster UC2 is read.
[0207]
The system cluster SC is always recorded at the beginning of the memory unit Mem2. On the other hand, the user clusters UC1 and UC2 are recorded at arbitrary positions on the memory with an arbitrary recording length. Further, the protect information cluster PDC has an arbitrary recording length and is recorded at an arbitrary position.
[0208]
The read protect information PDr is recorded at the address adPr of the protect information cluster PDC. Further, the user cluster UC2 occupies addresses ad1 to adN, and data d1 to dN are recorded as files.
[0209]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded on the memory unit Mem2 is placed is set at a predetermined address adC, and the recording position of the protect information cluster PDC The protection information address table PAdT having the above information is recorded at predetermined addresses adD, and the address adPr of the read protection information PDr is recorded in the protection information address table PAdT.
[0210]
The commands issued by the command issuing means rw25 of the data reader RV2 include a playback command for instructing data playback of the user cluster UCi recorded in the memory unit Mem2, a cluster address table CAdT, a protect information address table PAdT, Further, there is a read command for instructing reading of the read protect information PDr.
[0211]
Further, the data reading device RV2 transmits instruction input data composed of a command issued by the command issuing unit rw25 and a target address issued by the address management unit rw14. This instruction input data is encoded by the error management means rw22 via the control control / transmission means rw21 and sent out from the data transfer section Atr2.
[0212]
On the other hand, in the data recording / reproducing apparatus TF2, the instruction input data sent from the data sending / receiving unit Atr2 of the data reading device RV2 is received by the data sending / receiving unit Btr2, and decoded / errored by the error managing unit tf22 via the control / transmission unit tf21. After the correction is made, the command is analyzed by the instruction input analysis means tf23, and the reproduction means tf24 is operated based on the analysis result to reproduce the data, table or address.
[0213]
The reproduced data and the status associated with the processing are organized into response data by the response data organizing unit tf26, encoded by the error managing unit tf22, and sent from the data transmitting / receiving unit Btr2.
[0214]
Next, in the data reader RV2, after the data transfer unit Atr2 receives the response data sent from the data transfer unit Btr2, the error management unit rw22 performs decoding / error correction through the control / transmission unit rw21. The data processed and reproduced by the response processing means rw23 and the status associated with the processing are displayed on the display information output means DpL or output outside the apparatus.
[0215]
Next, the operation of the data reading system will be described with reference to FIG.
The operations of the data reading device RV2 and the data recording / reproducing device TF2 are executed according to a plurality of processes as follows. Each process is composed of a plurality of steps.
[0216]
In the cluster management process p21, in step 2000, instruction input data including a read command cmR and a target address adC is sent from the data reading device RV2 to the data recording / reproducing device TF2. The address adC is an entry point of the cluster address table CAdT.
[0217]
When the data recording / reproducing apparatus TF2 receives this instruction input data, it reads the cluster address table CAdT from the address adC of the memory unit Mem2, and sends it to the data reading apparatus RV2 in step 2001.
[0218]
In step 2002, a read command cmR and a target address adD are sent from the data reading device RV2 to the data recording / reproducing device TF2. The address adD is an entry point of the protect information address table PAdT.
Upon receiving this instruction input data, the data recording / reproducing apparatus TF2 reads the protect information address table PAdT from the address adD of the memory unit Mem2, and sends it to the data reading apparatus RV2 in step 2003.
[0219]
The data reader RV2 extracts the address adPr where the read protect information PDr is recorded from the read protect information address table PAdT, and sends the read command cmR and the target address adPr to the data recording / reproducing device TF2 in step 2004.
[0220]
Upon receiving this instruction input data, the data recording / reproducing device TF2 reads the read protect information PDr from the address adPr of the memory unit Mem2, and sends it to the data reading device RV2 in step 2005.
[0221]
In the subsequent target address setting process p22, based on the read target address ad1 input from the input device Kb, the read protection information PDr is referred to and it is confirmed that the cluster to which the target address ad1 belongs can be read. To do.
[0222]
In the subsequent cluster reading process p23, in step 2010, the data reading device RV2 sends a read command cmR and a target address ad1 to the data recording / reproducing device TF2. The data recording / reproducing device TF2 reproduces the data d1 recorded from the address ad1 of the memory unit Mem2, and sends the status data stat to the data reading device RV2 in step 2008. At the same time, in step 2011, the reproduced data d1 is reproduced to the data reading device RV2. Send to.
[0223]
In the data reading device RV2, as the status analysis process p25, the received status data stat is analyzed, and when it is confirmed that the reproduction of the data d1 has been normally performed, the reproduction data d1 is displayed or output.
[0224]
When this reproduction is completed, the data reading device RV2 refers to the read read protection information PDr based on the next target address ad2 input from the input device Kb, and confirms that the cluster to which the target address ad2 belongs can be read. Check.
[0225]
Then, again as a cluster writing process p23, the data reading device RV2 sends a read command cmR and a target address ad2 to the data recording / reproducing device TF2 in step 2012. The data recording / reproducing device TF2 reproduces the recording data d2 from the address ad2 of the memory unit Mem2. Then, again as status analysis process p25, status data stat is sent to the data reader RV2 at step 2008, and at the same time, reproduction data d2 is sent to the data reader RV2 at step 2013.
[0226]
In the data reading device RV2, as the status analysis process p25, the received status data stat is analyzed, and when it is confirmed that the reproduction of the data d2 has been normally performed, the reproduction data d2 is displayed or output.
[0227]
Thereafter, the reproduction of the recorded data d3 and d4 proceeds in the same manner, and when the read command cmR and the target address adN are sent to the data recording / reproducing apparatus TF2 in step 2020, the data recording / reproducing apparatus TF2 addresses the address of the memory unit Mem2. Data dN is reproduced from adN and sent to data reader RV2. In this way, the file composed of the data d1 to dN constituting the user cluster UC2 is read.
[0228]
As described above, according to the data reading system according to the present embodiment, it is possible to confirm the presence of the recording data desired to be read on the memory means from the data recording position information. Further, the protection information can be read from the protection recording position information, and the desired recording data can be read from the memory unit after confirming that the recording data desired to be read can be read based on the protection information. Therefore, desired recording data can be reliably accessed regardless of the recording position and recording length. In addition, regardless of the position where the protect information is recorded, the protect information can be reliably accessed, and if the recorded data in the memory section is prohibited from being read, it can be protected.
[0229]
FIG. 8 is a diagram illustrating a format example of the write instruction input data and response signal, and the read instruction input data and response signal.
[0230]
At the time of writing, the instruction input data for writing the recording data to the memory unit Mem is composed of the command cmW1, the target address adj, and the recording data dj, and is sent from the data writing device WV to the data recording / reproducing device TF. The
Alternatively, the instruction input data when writing the update data into the memory unit Mem is composed of the command cmWi (i = 2, 3, etc.), the target address adj, and the update data udj, and data recording / reproduction from the data writing device WV It is sent to the device TF.
[0231]
On the other hand, the response signal includes a command res, a target address adj, and a status code stat, and is returned from the data recording / reproducing device TF to the data writing device WV.
[0232]
Next, at the time of reading, instruction input data for reading data from the memory unit Mem is composed of a command cmR and a target address adj, and is sent from the data reading device RV to the data recording / reproducing device TF.
[0233]
On the other hand, the response signal is composed of a command res, a target address adj, a status code stat, and reproduction data dj, and is returned from the data recording / reproducing apparatus TF to the data writing apparatus WV.
[0234]
FIG. 9 is a block diagram of an embodiment of the data recording / reproducing apparatus according to the present invention. As shown in the figure, the data recording / reproducing apparatus TF3 of this embodiment includes a memory unit Mem3 capable of recording / reproducing data, and an external data writing apparatus, data reading apparatus, or data writing / reading apparatus. Data and signal exchange based on electromagnetic waves is performed in a non-contact manner, and power is secured based on electromagnetic waves supplied from a data writing device or data reading device.
Further, it is assumed that the memory unit Mem3 records tables and clusters substantially similar to the memory map of the memory unit Mem1 shown in FIG. 2, and the symbols shown in FIG.
[0235]
The data recording / reproducing device TF3 includes an antenna ANT, a transmission / reception circuit tf31 connected to the antenna ANT, and a power supply circuit tf32 that generates power from electromagnetic waves captured by the antenna ANT, and the power generated by the power supply circuit tf32 is supplied to each part. Is done. As the transmission / reception circuit tf31, for example, a known load modulation configuration and a digital amplitude modulation system using a sine carrier such as ASK (Amplitude Shift Keying) can be applied.
[0236]
The sequence circuit tf3033 is connected to each circuit, controls driving of each circuit, and transmits / receives signals to / from each circuit.
[0237]
The ring buffer Buf connected to the transmission / reception circuit tf31 stores instruction input data Di generated by detection. On the other hand, the error processing circuit tf3034 is connected to the ring buffer Buf to update the contents of the ring buffer Buf, and is connected to the response organization circuit tf3311 to send the error processing result.
[0238]
The command analysis circuit tf3035 is connected to the command area of the ring buffer Buf, extracts and analyzes the command bits, and inputs an analysis signal to the first register rg1.
[0239]
The address arithmetic circuit tf3036 is connected to the address area of the ring buffer Buf, extracts the target address, and inputs it to the first register rg1 or the second register rg2.
[0240]
The data organization circuit tf3037 is connected to the data area of the ring buffer Buf, takes out the recording data, and inputs it to the recording circuit tf3039.
[0241]
The reproduction circuit tf3038 is connected to the memory unit Mem3, reproduces data, inputs a signal or data to the availability determination circuit tf3312, and exchanges signals and data between the first registers rg1.
[0242]
The recording circuit tf3039 is connected to the memory unit Mem3 to record data, inputs a signal or data to the availability determination circuit tf3312, and receives signals or data from the first register rg1, the second register rg2, and the data organization circuit tf3037. It is configured as follows.
[0243]
The acceptability determination circuit tf3312 receives a signal or data from the reproduction circuit tf3038 or the recording circuit tf3039 and the second register rg2, and exchanges the signal or data with the first register rg1.
[0244]
The result notification circuit tf3314 receives a signal or data from the first register rg1 and sends the signal or data to the response organization circuit tf3311.
[0245]
The response organization circuit tf3311 receives a signal or data from the error processing circuit tf3034, the first register rg1, and the result notification circuit tf3314, and outputs a response signal Rs to the transmission / reception circuit tf31.
[0246]
The first register rg1 is connected to the command analysis circuit tf3035, the ring buffer Buf, the address operation circuit tf3036, the reproduction circuit tf3038, the recording circuit tf3039, the availability determination circuit tf3312, the second register rg2, and the response organization circuit tf3311. rg2 is connected to the first register rg1, the address calculation circuit tf3036, the recording circuit tf3039, and the availability determination circuit tf3312.
[0247]
Next, the operation of the data recording / reproducing apparatus TF3 will be described.
Operation during writing:
1 Instruction input processing operation
When the bit serial instruction input data Di received by the antenna ANT and detected by the transmission / reception circuit tf31 is received by the ring buffer Buf, the sequence circuit tf3033 that detects this reception triggers the error processing circuit tf3034, and the error processing circuit In tf3034, the contents of the ring buffer Buf are subjected to error correction to update and determine the contents of the ring buffer Buf. As a result, the error-corrected instruction input data Di are arranged in a predetermined order on the ring buffer Buf, and the write instruction command cmW, the target address adT, the recording data di, and the protect information data pdi are automatically generated by this arrangement. Separated.
[0248]
When the command has a 1-bit configuration, the command analysis circuit tf3035 extracts this bit with a bit shift or a bit mask, and confirms that it is a “record (write)” instruction by its value “1” or “0”. .
In the case of a configuration in which the command is 2 bits or more, the command content is confirmed by the matrix circuit.
[0249]
On the other hand, when the error processing circuit tf3034 detects an uncorrectable error, it sends a signal to the response organization circuit tf3311. The response organization circuit tf3311 adds a command res to the status code stat indicating this state and organizes it into a response signal Rs for transmission / reception. The transmission / reception circuit tf31 transmits the signal to the circuit tf31 via the antenna ANT. This response signal Rs prompts retransmission of the instruction input data Di.
[0250]
2 Checking which cluster the target address belongs to
When the data on the ring buffer Buf is corrected and determined as described above, the sequence circuit tf3033 triggers the address operation circuit tf3036, and the address operation circuit tf3036 is stored in the cluster address table CAdT recorded in the memory unit Mem3. The entry address adC (this is a predetermined fixed position) is entered in the first register rg1. Next, the sequence circuit tf3033 triggers the reproduction circuit tf3038. The reproduction circuit tf3038 takes in the value of the first register rg1, reproduces the cluster address table CAdT from the memory unit Mem3, and transfers it to the first register rg1.
[0251]
When the sequence circuit tf3033 detects the occurrence of writing to the first register rg1, the sequence operation circuit tf3036 triggers the address operation circuit tf3036. The address operation circuit tf3036 takes out the target address adT on the ring buffer Buf and compares it with the contents of the first register rg1. Execute to determine the cluster number # to which the target address adT belongs, and write this cluster number # to the second register rg2.
In this way, the cluster number # to which the target address adT belongs is determined.
[0252]
3 Data protection check operation
Next, the sequence circuit tf3033 triggers the command analysis circuit tf3035, and the command analysis circuit tf3035 transfers the determined command value (“1” or “0”) on the ring buffer Buf to the first register rg1. When the sequence circuit tf3033 detects the occurrence of writing to the first register rg1, it then triggers the address arithmetic circuit tf3036.
[0253]
The address arithmetic circuit tf3036 takes in the contents (command value) of the first register rg1, determines that it is a command bit, and enters the entry address adD (this is the protect information address table PAdT recorded in the memory unit Mem3). The predetermined fixed position) is written into the first register rg1.
[0254]
The sequence circuit tf3033 triggers the reproduction circuit tf3038 when detecting that the writing to the first register rg1 is performed. Based on the entry address adD extracted from the first register rg1, the reproduction circuit tf3038 reads the protection information address table PAdT (which knows the position where the write protection information PDw is recorded) from the memory unit Mem3. 1 Write to register rg1.
[0255]
The sequence circuit tf3033 triggers the address arithmetic circuit tf3036 when detecting that the writing to the first register rg1 is performed.
The address arithmetic circuit tf3036 reads the entry point adPw of the write protection information PDw based on the contents (PAdT) of the first register rg1, and writes it into the first register rg1.
[0256]
When it is detected that the entry point adPw has been written to the first register rg1, the sequence circuit tf3033 triggers the reproduction circuit tf3038. The reproduction circuit tf3038 takes in the contents (adPw) of the first register rg1, reproduces the write protection information PDw from the address adPw of the memory unit Mem3, and writes it in the first register rg1.
When the sequence circuit tf3033 detects that the writing to the first register rg1 is performed, the sequence circuit tf3033 triggers the availability determination circuit tf3312.
[0257]
The feasibility determination circuit tf3312 fetches the cluster number # from the second register rg2, further fetches the write protect information PDw from the first register rg1, and the protect information of the cluster designated by the cluster number # is written at the time of writing. Whether it is permitted is determined by comparing the values.
If the determination result is write permission, “01” is written to the first register rg1 and “11” is written to the first register rg1.
[0258]
The sequence circuit tf3033 triggers the result notification circuit tf3314 when detecting that the writing has occurred in the first register rg1. The result notification circuit tf3314 fetches the determination value from the first register rg1, and if the value is “11”, an illegal notification signal is generated and output to the response organization circuit tf3311. Based on this signal, the response organization circuit tf3311 emits a response signal Rs carrying a status stat for notifying illegal from the antenna ANT via the transmission / reception circuit tf31.
[0259]
On the other hand, if the value fetched from the first register rg1 is “01”, the result notifying circuit tf3314 confirms that writing is permitted, and inputs a notifying signal to the sequence circuit tf3033.
[0260]
4 Data recording operation and file end confirmation
When the sequence circuit tf3033 receives the notification signal from the result notification circuit tf3314 and confirms that the permission has been made, the sequence circuit tf3033 transfers the target address adT on the ring buffer Buf to the first register rg1, and then triggers the recording circuit tf3039. To do.
[0261]
The recording circuit tf3039 drives the data organization circuit tf3037. The data organization circuit tf3037 takes out the recording data di from the ring buffer Buf and inputs it to the recording circuit tf3039. Next, the recording circuit tf3039 takes out the target address adT from the first register rg1 and records the recording data di in the area of this address on the memory unit Mem3.
[0262]
As described above, when the recording of the recording data di in the memory unit Mem3 is successful, the sequence circuit tf3033 sends a signal to the result notification circuit tf3314, and the result notification circuit tf3314 outputs the normal termination result to the response organization circuit tf3311. Based on this signal, the response organization circuit tf3311 emits a response signal Rs carrying a status stat for notifying normal termination from the antenna ANT via the transmission / reception circuit tf31.
[0263]
On the other hand, when recording of the recording data di into the memory unit Mem3 ends abnormally due to fluctuations in the power supply voltage or the like, the sequence circuit tf3033 sends a signal to the result notification circuit tf3314, and the result notification circuit tf3314 displays the abnormal end result as a response organization. Output to the circuit tf3311. Based on this signal, the response organization circuit tf3311 emits a response signal Rs carrying a status stat for notifying abnormal termination from the antenna ANT via the transmission / reception circuit tf31. Upon receiving this abnormal termination notification, the data writing device side retransmits an appropriate instruction such as data retransmission or writing try again to the data recording / reproducing device TF3 side.
[0264]
When the data recording succeeds as described above, if the file data further continues, the next instruction input data Di is sent from the data writing device, and the next recording data di is recorded on the memory unit Mem3. In this way, recording of the file to the memory unit Mem3 proceeds.
[0265]
When the file data to be recorded is completed, the data writing device sends EOF and instruction input data Di carrying read protection information PDr 'or / and write protection information PDw'. The processing of the instruction input data Di loaded with the EOF is performed in the same manner as in the above steps, whereby the sequence circuit tf 3033 confirms the end of the recording file in the memory unit Mem3.
[0266]
5 Update cluster address table CAdT
As described above, file recording was performed at a desired position on the memory unit Mem3 with an arbitrary recording length, and a new user cluster UCi was formed.
Here, the sequence circuit tf3033 transfers the address data on the first register rg1 (this is the last address of the new user cluster UCi) to the second register rg2, and then triggers the address arithmetic circuit tf3036.
[0267]
When the address arithmetic circuit tf3036 writes the entry address adC (which is set in advance) of the cluster address table CAdT in the memory to the first register rg1, the sequence circuit tf3033 causes the recording circuit tf3039 to be written. When triggered, the recording circuit tf3039 additionally records the contents of the second register rg2 in the memory area of the address adC extracted from the first register rg1. Thereby, the delimiter information of the new user cluster UCi is added to the cluster address table CAdT, and the cluster address table CAdT is updated.
[0268]
6 Update operation of read protect information PDr 'and write protect information PDw'
Next, the sequence circuit tf3033 transfers the designated protection information (read protection information PDr ′ or / and write protection information PDw ′) on the ring buffer Buf to the second register rg2, and then the address calculation circuit tf3036. Trigger. This protect information designates prohibition or permission of reading or rewriting of the contents of the new user cluster UCi, and is designated by input.
[0269]
The address arithmetic circuit tf3036 writes the entry address adD (which is predetermined and set) of the protect information address table PAdT recorded in the memory unit Mem3 into the first register rg1.
[0270]
The sequence circuit tf3033 triggers the reproduction circuit tf3038 when detecting that the writing to the first register rg1 is performed. Based on the entry address adD extracted from the first register rg1, the reproduction circuit tf3038 reads the protect information address table PAdT from the memory unit Mem3 and writes it to the first register rg1.
[0271]
The sequence circuit tf3033 triggers the address arithmetic circuit tf3036 when detecting that the writing to the first register rg1 is performed.
Based on the contents (PAdT) of the first register rg1, the address arithmetic circuit tf3036 reads the entry point adPr of the read protection information PDr or the entry point adPw of the write protection information PDw and writes it into the first register rg1. .
[0272]
When it is detected that the entry point adPr or adPw has been written to the first register rg1, the sequence circuit tf3033 triggers the recording circuit tf3039. The recording circuit tf3039 takes in the content (adPr or adPw) of the first register rg1, and writes the content of the second register rg2 to the address adPr or address adPw of the memory unit Mem3. If the designated protect information designates both reading and rewriting, the above operations are executed in order. As a result, the read protect information PDr ′ and / or the write protect information PDw ′ are updated.
[0273]
In this way, when the contents of the new user cluster UCi, that is, the read permission of the new file is designated, the new file can be read in the subsequent operations. In addition, when the write prohibition of the new file is designated, the update or deletion of the new file is prohibited in the subsequent operations, and the new file is protected.
[0274]
In addition, it is possible to move the positions of the read protection information PDr and the write protection information PDw to arbitrary positions and specify the movement destination by input. In this case, a protect information movement instruction command is prepared, and the protection information movement instruction command and a target address adT for designating a movement destination are input to the ring buffer Buf.
This movement of the position of the protection information is effective when, for example, data is written using the existing recording area of the protection information in relation to the length of the newly created file.
[0275]
Operation when scanning:
1 Instruction input processing operation
When the bit serial instruction input data Di received by the antenna ANT and detected by the transmission / reception circuit tf31 is received by the ring buffer Buf, the sequence circuit tf3033 that detects this reception triggers the error processing circuit tf3034, and the error processing circuit In tf3034, the contents of the ring buffer Buf are subjected to error correction to update and determine the contents of the ring buffer Buf. As a result, the instruction input data Di subjected to error correction is arranged in a predetermined order on the ring buffer Buf, and the reading instruction command cmR and the target address adT are automatically separated by this arrangement.
[0276]
When the command has a 1-bit configuration, the command analysis circuit tf3035 extracts this bit with a bit shift or a bit mask, and confirms that the instruction is “reproduction (read)” with the value “1” or “0”. .
In the case of a configuration in which the command is 2 bits or more, the command content is confirmed by the matrix circuit.
[0277]
On the other hand, when the error processing circuit tf3034 detects an uncorrectable error, it sends a signal to the response organization circuit tf3311. The response organization circuit tf3311 adds a command res to the status code stat indicating this state and organizes it into a response signal Rs for transmission / reception. The transmission / reception circuit tf31 transmits the signal to the circuit tf31 via the antenna ANT. This response signal Rs prompts retransmission of the instruction input data Di.
[0278]
2 Checking which cluster the target address belongs to
When the data on the ring buffer Buf is corrected and determined as described above, the sequence circuit tf3033 triggers the address arithmetic circuit tf3036, and the address arithmetic circuit tf3036 enters the entry address adC of the cluster address table CAdT (this is predetermined). Is set in the first register rg1. Next, the sequence circuit tf3033 triggers the reproduction circuit tf3038. The reproduction circuit tf3038 takes in the value of the first register rg1, reproduces the cluster address table CAdT from the memory unit Mem3, and transfers it to the first register rg1.
[0279]
When the sequence circuit tf3033 detects the occurrence of writing to the first register rg1, the sequence arithmetic circuit tf3036 triggers the address arithmetic circuit tf3036. The address arithmetic circuit tf3036 takes out the target address adT on the ring buffer Buf and compares it with the contents of the first register rg1. Execute to determine the cluster number # to which the target address adT belongs, and write this cluster number # to the second register rg2.
In this way, the cluster number # to which the target address adT belongs is determined.
[0280]
3 Data protection check operation
Next, the sequence circuit tf3033 triggers the command analysis circuit tf3035, and the command analysis circuit tf3035 transfers the determined command value (“1” or “0”) on the ring buffer Buf to the first register rg1. When the sequence circuit tf3033 detects the occurrence of writing to the first register rg1, it then triggers the address arithmetic circuit tf3036.
[0281]
The address arithmetic circuit tf3036 takes in the contents (command value) of the first register rg1, determines that it is a command bit, and enters the entry address adD (this is the protect information address table PAdT recorded in the memory unit Mem3). Is written in the first register rg1.
[0282]
The sequence circuit tf3033 triggers the reproduction circuit tf3038 when detecting that the writing to the first register rg1 is performed. Based on the entry address adD extracted from the first register rg1, the reproduction circuit tf3038 reads from the memory unit Mem3 the protection information address table PAdT (which indicates the position where the read protection information PDr is recorded). Write to register rg1.
[0283]
The sequence circuit tf3033 triggers the address arithmetic circuit tf3036 when detecting that the writing to the first register rg1 is performed.
The address calculation circuit tf3036 reads the entry point adPr of the read protection information PDr based on the contents (PAdT) of the first register rg1, and writes it into the first register rg1.
[0284]
When it is detected that the entry point adPr has been written to the first register rg1, the sequence circuit tf3033 triggers the reproduction circuit tf3038. The reproduction circuit tf3038 takes in the contents (adPr) of the first register rg1, reproduces the read protection information PDr from the address adPr of the memory unit Mem3, and writes it into the first register rg1.
[0285]
When the sequence circuit tf3033 detects that the writing to the first register rg1 is performed, the sequence circuit tf3033 triggers the availability determination circuit tf3312.
The feasibility determination circuit tf3312 fetches the cluster number # from the second register rg2, and further fetches the read protect information PDr from the first register rg1, and whether the protect information of the cluster designated by the cluster number # permits reading. Is determined by comparing the values.
[0286]
If the determination result is read permission, “01” is written to the first register rg1 and “11” is written to the first register rg1.
The sequence circuit tf3033 triggers the result notification circuit tf3314 when detecting that the writing has occurred in the first register rg1. The result notification circuit tf3314 fetches the determination value from the first register rg1, and if the value is “11”, an illegal notification signal is generated and output to the response organization circuit tf3311. Based on this signal, the response organization circuit tf3311 emits a response signal Rs carrying a status stat for notifying illegal from the antenna ANT via the transmission / reception circuit tf31.
[0287]
On the other hand, if the value fetched from the first register rg1 is “01”, the result notifying circuit tf3314 confirms that reading is permitted, and inputs a notifying signal to the sequence circuit tf3033.
[0288]
4 Data reading operation and file end confirmation
When the sequence circuit tf3033 receives the notification signal from the result notification circuit tf3314 and confirms that the permission has been made, the sequence circuit tf3033 transfers the target address adT on the ring buffer Buf to the first register rg1, and then triggers the reproduction circuit tf3038. To do. The reproduction circuit tf3038 retrieves the target address adT from the first register rg1, and reproduces the data recorded at the address adT from the memory unit Mem3.
[0289]
As described above, when the data reproduction is successful, the sequence circuit tf 3033 sends a signal to the result notification circuit tf 3314, and the result notification circuit tf 3314 outputs the normal termination result to the response organization circuit tf 3311. Based on this signal, the response organization circuit tf3311 emits a response signal Rs carrying a status stat for notifying normal termination from the antenna ANT via the transmission / reception circuit tf31.
[0290]
When the file data continues, the input Di is repeated, and the next recorded data is reproduced from the memory unit Mem3. Thus, the reproduction of the file from the memory unit Mem3 proceeds.
[0291]
In the above configuration and operation, each part is configured by a hardware logic circuit. The present invention is not limited to this hardware / logic circuit configuration, and a configuration using a stored program type microcomputer equipped with a CPU is also possible. In the case of such a microcomputer configuration, each function of each circuit is prepared as a program that can be read and executed by the microcomputer, and an embodiment thereof is as shown in FIG.
[0292]
In the figure, the sequence circuit tf3033 is configured as a program (same as below), the control unit tf33, the error processing circuit tf3034 is the error correction unit tf34 and the error notification organization unit tf313, and the result notification circuit tf3314 is the result notification organization. The command analysis circuit tf3035 is the command analysis means tf35, the address calculation circuit tf3036 is the address management means tf36, the data organization circuit tf3037 is the data organization means tf37, the reproduction circuit tf3038 is the reproduction means tf38, and the recording circuit tf3039 is the means tf314. In response to the recording means tf39, the response organization circuit tf3311 generally corresponds to the response organization means tf311 and the availability determination circuit tf3312 corresponds to the availability determination means tf312.
[0293]
FIG. 10 is an operation flowchart of the data recording / reproducing apparatus TF3 having such a microcomputer configuration.
As shown in the figure, when the control means tf33 detects reception of the instruction input data (step S1), the error correction means tf34 executes error correction processing (step S2), and if an uncorrectable error occurs (step S1) In step S3, the error notification organization unit tf313 organizes an error notification to that effect (step S4), and then the response organization unit tf311 organizes and transmits the response (step S13).
[0294]
If the error is corrected in step S2, the contents of the ring buffer Buf are corrected and rewritten, thereby determining the instruction input data (step S5). Next, the command input data command determined by the command analysis means tf35 is analyzed (step S6), and it is verified whether the command is data writing or data reading (step S7).
[0295]
If the command is data writing, the permission determination means tf312 drives the address management means tf36 and the reproduction means tf38 to obtain the write protect information PDw, refers to this (step S8), and collates with the target address. Perform (step S9). If this collation result is write-inhibited (step S10), the collation result is obtained and the control means tf33 drives the response knitting means tf311, and the response knitting means tf311 performs response knitting / transmission indicating that it is an illegal instruction ( Step S13).
[0296]
If the collation result is write permission (step S10), the collation result is obtained and the control means tf33 drives the data organization means tf37 and the recording means tf39, and the recording length designated at the designated position in the memory unit Mem3 ( This is performed by writing and recording at an arbitrary position and an arbitrary recording length specified by the data writing device (step S11). Thereafter, it is checked whether or not the writing is normally completed by the control means tf33 (step S12).
[0297]
For example, if the voltage drop due to some cause on the power supply side occurs during writing to the memory cell and the writing to the memory cell is not executed normally, the writing is not completed normally. The result notification organization unit tf314 is driven, the result notification organization unit tf314 organizes the notification to that effect and sends it to the response organization unit tf311, and the response organization unit tf311 organizes and transmits the response signal to that effect (step S13). . On the other hand, if the writing is normally completed, response organization / transmission is performed (step S13).
[0298]
Next, in step S7, if the command is data reading, the availability determination means tf312 drives the address management means tf36 and the reproduction means tf38 to obtain the read protection information PDr, and refers to this (step S14), and the target The address is collated (step S15). If the collation result is prohibited from being read (step S16), the collation result is obtained and the control means tf33 drives the response knitting means tf311. The response knitting means tf311 performs response composition / transmission indicating that the instruction is illegal (step S16). Step S13).
[0299]
If the collation result is read permission (step S16), the collation result is obtained and the control means tf33 drives the reproducing means tf38 to read and reproduce data from the target address of the memory unit Mem3 (step S17). Thereafter, it is checked by the control means tf33 whether or not the reading is normally completed (step S18). For example, when reading from the memory cell has caused a voltage drop due to some cause on the power supply side and the reading has not been performed normally, the result notification organization means tf 314 is driven as the reading has not been completed normally. The result notification organization means tf 314 organizes the notification to that effect and sends it to the response organization means tf 311, and the response organization means tf 311 organizes and transmits the response signal to that effect (step S 13). On the other hand, if the reading is normally completed, response organization / transmission is performed (step S13).
[0300]
According to the above-described configuration, the user cluster UCi can be recorded by recording data having a given recording length at a designated arbitrary position. Further, since this recording position is recorded as data recording position information (cluster address table CAdT) at a predetermined fixed position in the memory unit Mem3, the cluster position can be accessed by accessing the fixed position in a subsequent reading process or the like. An address table CAdT can be easily obtained, thereby making it easy to check the recording state of the memory unit Mem3.
[0301]
Similarly, any given protection information is recorded at an arbitrary position in the memory unit Mem3, and this recorded position information is recorded in the protection information address table PAdT and recorded at a predetermined fixed position in the memory unit Mem3. To do. Therefore, by accessing this fixed position, the protect information address table PAdT can be obtained, and the position can be easily obtained regardless of the position where the protect information is recorded.
[0302]
Further, by notifying the data writing device or the data reading device of the operation results of each means, the operation of the data recording / reproducing device can be confirmed in the data writing device or the data reading device. It is easy to verify the authenticity of the data.
For example, notification of a result such as failure due to occurrence of a voltage drop during operation facilitates the subsequent response.
Alternatively, the data recording / reproducing apparatus can be controlled by the data writing apparatus or the data reading apparatus based on the operation result.
[0303]
Furthermore, collation between the designated position data and the protect information is executed in the data recording / reproducing apparatus, and recording or reproduction is executed only when permission is confirmed.
This can eliminate the execution of inappropriate instructions.
[0304]
To further explain the above, even if write prohibition or read prohibition is prohibited by the protect information, the write permission / readability check (verification) is performed only on the data writing device side or the data reading device side. If there is no verification on the side of the data recording / reproducing apparatus provided with the memory means, writing may be performed in the recording area where writing is prohibited. Alternatively, reading may be performed from a recording area where reading is prohibited.
[0305]
Such an inconvenience occurs when the contents of the instruction input are altered due to “garbled data” or noise during the communication, or due to an illegal writing instruction or an illegal reading instruction input from an unauthorized data writing / reading device. .
Therefore, the data writing device or the data reading device is valid, and even if the instruction input is sent after the verification check is performed on the data writing device or the data reading device side, The occurrence cannot be excluded.
[0306]
According to the present embodiment, the data recording / reproducing apparatus performs the verification check with the protect information again so that recording or reproduction is executed only when the instruction input is appropriate. As a result, it is possible to eliminate inappropriate instruction input, thereby improving reliability.
[0307]
FIG. 11 is a block diagram showing a configuration of an embodiment of a data writing / reading device RW according to the present invention.
The data writing / reading device RW3, for example, transmits electromagnetic waves to the data recording / reproducing device TF3 to supply the data recording / reproducing device TF3 to the data recording / reproducing device TF3 (see FIG. 9). The data is transmitted to the recording / reproducing apparatus TF3 and the response signal is received from the data recording / reproducing apparatus TF3.
[0308]
The data writing / reading device RW3 controls the operation of each means and the control means rw301 that exchanges data with each means, and the user inputs instruction data (command, target address, recording data, update data, etc.) Keyboard Kb and input interface I-Bf, input data, data read from data recording / reproducing device TF3, or output interface O-Bf that mediates communication contents, liquid crystal connected to output interface O-Bf A display device DpL is provided.
[0309]
Further, a command issuing unit rw302 that issues a command in a predetermined format based on a command input from the user, and an address management unit that calculates and manages entry addresses of various tables and protect information including a target address input from the user. rw303, data organization means rw310 for organizing data in a predetermined format based on the recording data input from the user and the data sent from the control means rw301, update data (PDr *, PDw *) input from the user ) Based on the protection information update unit rw311, which organizes the update data in a predetermined format, the data from the command issuing unit rw302, the address management unit rw303, the data organization unit rw310, and the protection information update unit rw311. It comprises instruction input data compiling means rw304 organizing instruction input data Di based on.
[0310]
Further, the output data of the instruction input data organizing unit rw304 is subjected to error encoding processing and input to the transmission / reception circuit TR, and the response data received by the transmission / reception circuit TR is subjected to error correction processing and stored in the buffer memory Buf. An error management means ER and a transmission / reception circuit TR for receiving a signal from the error management means ER and transmitting an electromagnetic wave from the antenna ANT and generating a response signal from the electromagnetic wave captured by the antenna ANT are provided.
[0311]
Furthermore, response processing means rw 306 is provided for extracting various information, address information, commands, and the like from the data stored in the buffer memory Buf. Information extracted by the response processing means rw 306 includes a cluster address table CAdT, protect information address table PAdT, write protect information PDw, read protect information PDr, retry command rty, reproduction data Rо, status stat, and the like. .
[0312]
Further, a cluster determination unit rw307 for determining a cluster based on the input target address and the cluster address table CAdT supplied from the response processing unit rw306 and supplying the cluster number to the permission confirmation unit rw309, the cluster number, Based on the read protection information PDr or the write protection information PDw supplied from the response processing means rw306, the permission confirmation means rw309 for checking the write or read permission and supplying the result to the command issuing means rw302, supplied from the response processing means rw306 Based on the protect information address table PAdT, the address where the read protect information PDr is recorded or the address where the write protect information PDw is recorded is read and supplied to the address management means rw303. Comprising a protection information table reference means rw308 that.
[0313]
The address management unit rw303 includes a predetermined address where the cluster address table CAdT is recorded and an address where the protect information address table PAdT is recorded.
The retry command rty output from the response processing unit rw306 is supplied to the command issuing unit rw302, and the status stat is supplied to the control unit rw301.
[0314]
The data writing / reading device RW3 further includes a microcomputer (not shown) and a ROM (read only memory) or flash memory or an EEPROM (electrically erasable programmable read memory). That is, control means rw301, command issuing means rw302, address management means rw303, instruction input data organization means rw304, response processing means rw306, cluster confirmation means rw307, protect information table reference means rw308, permission confirmation means rw309, data organization means rw310, The protect information update unit rw311 and the error management unit ER are both stored as programs that can be read and executed by the microcomputer.
[0315]
FIG. 12 is an operation flowchart of the data writing / reading device RW3. The operation will be described below with reference to FIG.
[0316]
When an input is made by the user via the keyboard Kb and the occurrence of an instruction input is detected by the control means rw301 (step S3002), the control means rw301 is a command issuing means rw302, an address management means rw303, and an instruction input data organization means rw304. And an instruction to read the cluster address table CAdT from the memory unit Mem3 of the data recording / reproducing apparatus TF3 is transmitted to the data recording / reproducing apparatus TF3 (step S3004). Here, the address management unit rw303 uses a built-in CAdT address (a recording address on the memory unit Mem3 of the cluster address table CAdT, which is predetermined). Further, the data generated by the instruction input data organization unit rw304 is subjected to encoding processing via the error management unit ER.
[0317]
Next, the arrival of the cluster address table CAdT returned from the data recording / reproducing apparatus TF3 is awaited (step S3005). When the response signal arrives, the control unit rw301 drives the error management unit ER, and the error management unit ER decodes the response signal and stores it in the buffer memory Buf. Here, the control unit rw301 drives the response processing unit rw306, and the response processing unit rw306 confirms that it is the cluster address table CAdT from the response signal stored in the buffer memory Buf, and sets the cluster address table CAdT. The data is input to the cluster confirmation unit rw307. The cluster confirmation unit rw307 confirms the cluster to which this address belongs from the input target address and the cluster address table CAdT (step S3006).
[0318]
Next, the control unit rw301 drives the command issuing unit rw302, the address management unit rw303, and the instruction input data organization unit rw304 in the same manner as described above, and transmits an instruction to read the protect information address table PAdT to the data recording / reproducing apparatus TF3 (step S3). S3008). Here, the address management unit rw303 uses a built-in PAdT address (a recording address on the memory unit Mem3 of the protect information address table PAdT, which is predetermined).
[0319]
Then, it waits for the protection information address table PAdT to be sent from the data recording / reproducing apparatus TF3 (step S3010). When the buffer memory Buf receives the protection information address table PAdT, the control means rw301 then sends the command issuing means rw302. The command issuing unit rw302 verifies the command input from the user (step S3012), and returns the result to the control unit rw301.
[0320]
If the command is a write instruction, the control unit rw301 inputs and drives the write identification signal to the protect information table reference unit rw308, and drives the response processing unit rw306. The response processing unit rw 306 inputs the protection information address table PAdT received in the buffer memory Buf to the protection information table reference unit rw 308. The protection information table reference unit rw308 confirms the write specific signal, reads the address of the write protection information PDw from the protection information address table PAdT (step S3014), and inputs this to the address management unit rw303.
[0321]
Subsequently, the control unit rw301 drives the command issuing unit rw302, the address management unit rw303, and the instruction input data organization unit rw304 in the same manner as described above, and transmits an instruction to read the write protect information PDw to the data recording / reproducing apparatus TF3 ( Step S3016). Then, it waits for the sending of the write protect information PDw from the data recording / reproducing apparatus TF3 (step S3018). When the write protect information PDw is sent, the permission confirmation means rw309 is driven, and the permission confirmation means rw309 is the cluster confirmation means. Based on the confirmed cluster number obtained from the rw 307 and the write protect information PDw, it is confirmed whether or not the confirmed cluster is permitted to be written (step S3020). The confirmation result is notified to the control means rw301 and the command issuing means rw302.
[0322]
When the write permission is made, the control unit rw301 drives the command issuing unit rw302, the address management unit rw303, and the instruction input data organizing unit rw304, and the command issuing unit rw302 drives the data organizing unit rw310, thereby writing instruction command The target address and the recording data are transmitted to the data recording / reproducing apparatus TF3, and the data recording / reproducing apparatus TF3 writes the recording data to the target address of the memory unit Mem3 (step S3022).
[0323]
Next, when response information is sent from the data recording / reproducing device TF3 and stored in the buffer memory Buf, the response processing means rw306 extracts the status code stat from this response signal and inputs it to the control means rw301. The control unit rw301 examines the status code stat (step S3024).
If the response is normal completion of writing, the process proceeds to step S3026.
[0324]
In step S3026, when the control unit rw301 receives a recording data end notification and file creation instruction from the user via the keyboard Kb, the control unit rw301 sends the current cluster address table CAdT from the buffer memory Buf via the response processing unit rw306. Then, the address of the last recorded data is obtained from the address management means rw303, the information on the latest cluster is added to the contents of the cluster address table CAdT and updated, and the updated cluster address table CAdT * is updated. The data is sent to the data organization means rw310.
[0325]
Subsequently, the control means rw301 drives the command issuing means rw302, the address management means rw303, and the instruction input data organizing means rw304, and the command issuing means rw302 drives the data organizing means rw310, whereby the cluster address table CAdT update instruction command The target address and the update data are transmitted to the data recording / reproducing device TF3, and the updated cluster address table CAdT is written to the target address adC of the memory unit Mem3 in the data recording / reproducing device TF3.
[0326]
Further, the user obtains an update input of the write protect information PDw * and / or the read protect information PDr *, and updates the write protect information PDw * or / and the read protect information PDr * to the data recording / reproducing apparatus TF3. Is transmitted together with the update data (step S3028), and the response information of the normal end of writing sent from the data recording / reproducing apparatus TF3 is obtained to complete a series of operations. If it is determined in step S3024 that the response requests a retry, the process returns to step S3022, and is retransmitted. If the response is an error notification in step S3024, the series of operations is stopped here.
[0327]
If the command is a read instruction in step S3012, the control unit rw301 inputs and drives the read specific signal to the protect information table reference unit rw308 and drives the response processing unit rw306. The response processing unit rw 306 inputs the protection information address table PAdT received in the buffer memory Buf to the protection information table reference unit rw 308. The protect information table reference unit rw308 confirms the read specific signal, reads the address of the read protect information PDr from the protect information address table PAdT (step S3030), and inputs this to the address management unit rw303.
[0328]
Next, the control unit rw301 drives the command issuing unit rw302, the address management unit rw303, and the instruction input data organization unit rw304 in the same manner as described above, and transmits an instruction to read the read protect information PDr to the data recording / reproducing apparatus TF3 (step). S3032). Then, it waits for the read protection information PDr to be sent from the data recording / reproducing apparatus TF3 (step S3034). When the read protection information PDr is sent, the permission confirmation means rw309 is driven, and the permission confirmation means rw309 starts from the cluster confirmation means rw307. Based on the determined cluster number and the read protect information PDr, it is confirmed whether the determined cluster is permitted to be read (step S3036). The confirmation result is notified to the control means rw301 and the command issuing means rw302.
[0329]
If the reading is permitted, the control unit rw301 drives the command issuing unit rw302, the address management unit rw303, and the instruction input data organization unit rw304, whereby the reading instruction command and the target address are transmitted to the data recording / reproducing apparatus TF3 ( In step S3038), the data recording / reproducing device TF3 reads data from the target address of the memory unit Mem3.
[0330]
Next, when response information is sent from the data recording / reproducing device TF3 and stored in the buffer memory Buf, the response processing means rw306 extracts the status code stat from this response signal and inputs it to the control means rw301. The control unit rw301 examines the status code stat (step S3040), and if the response is a normal end of reading, the control unit rw301 proceeds to step S3042, outputs reproduction data, and completes a series of operations. If it is determined in step S3040 that the response requests a retry, the process returns to step S3038 and is retransmitted. If the response is an error notification in step S3040, the series of operations is interrupted.
[0331]
As described above, according to the data writing / reading device RW3 of the present embodiment, the cluster address table CAdT and the protection information address table PAdT recorded at the fixed positions of the memory unit of the data recording / reproducing device are read. Based on the information described in the protect information address table PAdT, the protect information recorded at an arbitrary position is obtained.
Therefore, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed by referring to the protect information address table PAdT recorded at the fixed position.
[0332]
Subsequently, after confirming that the desired recording position where the recording data desired to be written is recorded can be written by the protect information, the desired recording data is written in the desired position of the memory unit of the data recording / reproducing apparatus. Further, after the recording data is written, the cluster address table CAdT at the fixed position is updated, and the protection information is updated.
[0333]
As described above, since desired recording data can be recorded at a desired position in the memory unit of the data recording / reproducing apparatus, and protect information can also be recorded at an arbitrary position, an unused area in the memory unit can be easily managed, It is possible to improve the memory utilization efficiency by preventing the generation of unusable free space. In addition, compatibility between memory units having different recording capacities can be realized.
[0334]
Furthermore, even when recording of recording data having a long recording length progresses in the memory unit and reaches the area where the existing protection information is recorded, the recording data can be prevented from being divided by moving the position of the protection information. The access efficiency at the time of recording / reproducing the recorded data is improved. Even recording data having such a long recording length can be organized into one cluster, so that only one piece of corresponding protection information is required, so that an area allocated for recording protection information can be saved, and the memory utilization efficiency can be improved. Moreover, since one file is not divided into a plurality of clusters, file management can be simplified.
[0335]
On the other hand, after confirming that the desired reading position is readable by the protect information, the desired data is read from the memory unit of the data recording / reproducing apparatus, and the protect information is recorded at an arbitrary position of the memory unit. However, since the protection information can be reliably accessed from the protection information address table PAdT, the desired data can be reliably read regardless of the recording position and the recording length of the data desired to be read. Moreover, data can be protected.
[0336]
FIG. 13 is a flowchart of an embodiment of a file recording method and a file playback method according to the present invention. As shown in the figure, according to the method of the present embodiment, when the target address input by the user is received (step S13002), the cluster address table CAdT at the predetermined position of the memory means is read (step S13004). ), It is verified whether or not the target address and the cluster actually exist on the cluster address table CAdT (step S13006).
[0337]
If the target address and cluster do not exist, an error notification is issued (step S13016), and the process ends.
When the target address and cluster actually exist, the protect information address table PAdT at a predetermined position is read (step S13008). Next, the type of instruction input input by the user is confirmed (step S13010).
[0338]
If the instruction input is a write instruction, the address where the protect information address table PAdT is recorded is obtained from the protect information address table PAdT, and the write protect information PDw is read (step S13012). Here, the write protect information PDw is placed at an arbitrary position, but can be accessed by the address where the protect information address table PAdT is recorded.
[0339]
Next, it is confirmed from the write protect information PDw whether or not the target address area is permitted to be written (step S13014). If writing is prohibited, an error notification is issued (step S13016). If the writing is permitted, the recording data is recorded at the target address (step S13018). Here, the user can record data of any desired recording length.
[0340]
If more file data exists (step S13020), the address is updated (incremented) (step S13022), and the process returns to step S13014. If the file data ends (step S13020), the recorded file is set as the latest cluster (step S13024). Next, the cluster address table CAdT is updated (step S13026). This is a new cluster address table CAdT * with the latest cluster information added.
[0341]
Next, upon receiving an instruction from the user for the read protection information PDr or / and the write protection information PDw regarding the latest cluster (step S13028), the read protection information PDr * or / and the write protection information PDw * are updated (step S13030). ). This sets permission and prohibition of reading or rewriting of data of the latest cluster.
[0342]
Normally, when a cluster is newly established, protection information (PDw or / and PDr) for protecting the data of the cluster is instructed by the user, and this is written and set. If there is no instruction, the default value is the protection value for this cluster. It is written and set as information.
[0343]
Furthermore, at the time of updating the protect information, the position of the entire protect information (PDw or / and PDr of all clusters) can be updated and recorded at an arbitrary position. Therefore, when a new cluster is written or when the recording position of such protection information is updated, the protection information address table PAdT must be updated and recorded with the updated position information of the protection information.
[0344]
On the other hand, if the instruction input is a read instruction in step S13010, the address where the protect information address table PAdT is recorded is obtained from the protect information address table PAdT, and the read protect information PDr is read. Here, the read protect information PDr is placed at an arbitrary position, but can be accessed by an address in which the protect information address table PAdT is recorded.
[0345]
Next, it is confirmed from the read protect information PDr whether the target address area (cluster to which the address belongs) is permitted to be read (step S13034). If reading is prohibited, an error notification is issued (step S13016). If it is read permission, the data of the target address is read (step S13036).
[0346]
If there is more file data to be read (step S13038), the address is updated (incremented) (step S13040), and the process returns to step S13034. If the file data to be read is completed (step S13038), the process is terminated.
[0347]
Thus, a file having an arbitrary recording length is recorded at an arbitrary position in the memory means, and a new cluster is formed by this file. Therefore, there is a one-to-one correspondence between files and clusters, and even a file with a long recording length is organized as one cluster. Therefore, the end of the file is set to the end of the cluster at the same time. That is, no unused portion is generated between the end of the file and the end of the cluster. As a result, it is possible to prevent the occurrence of a recording area that is not used on the memory means and improve the use efficiency of the recording area. Since a single file is not divided into a plurality of clusters as in the prior art, file management is facilitated.
[0348]
If desired, for example, control data or a certain buffer space can be provided between the end of the file and the end of the cluster. In such a case, it can be handled as one logical file including control data and buffer space.
[0349]
Further, according to this method, since the data recording position information indicating the position of the recorded cluster is recorded at a predetermined position on the memory means, the position is fixed, so the data recording position information at this fixed position is referred to. Thus, it becomes possible to easily access a file having an arbitrary recording length recorded at an arbitrary position on the memory means.
[0350]
Furthermore, since the protected information of the recorded file is recorded at an arbitrary position on the memory means, and the protected recording position information indicating the position is recorded at a predetermined position on the memory means, the position is fixed. By referring to the protected recording position information at the fixed position, the protected information recorded at an arbitrary position on the memory means can be easily accessed. Since the protect information can be placed at an arbitrary position on the memory means in this manner, the protection information can be moved to an arbitrary position, and the recording position of the protect information can be made variable, thereby increasing the degree of freedom in designing the memory map. . Furthermore, compatibility between memory means having different recording capacities can be realized.
[0351]
Further, even a file having a long recording length is organized as one cluster without being divided, so that only one piece of protection information is set for this cluster, and an area necessary for recording the protection information. Therefore, the limited recording capacity can be used effectively.
[0352]
On the other hand, the protection information is read during file reproduction, and after confirming that the cluster can be read based on the protection information, the desired file is read from the cluster of interest. Thus, the recording position and recording length of the desired file can be checked. Therefore, the desired cluster can be read reliably. Moreover, even if the protection information is recorded at an arbitrary position, the protection position can be easily accessed by identifying the recording position, so that the file can be surely protected.
[0353]
FIG. 14 is a block diagram showing another embodiment of the data writing system according to the present invention. FIG. 15 is a memory map for explaining data recording in the memory unit shown in FIG. Further, FIG. 16 is an explanatory diagram of the operation of the data writing system shown in FIG.
[0354]
As shown in FIG. 14, the data writing system according to the present invention includes a data writing device WV4 and a data recording / reproducing device TF4.
[0355]
The data writing device WV4 is connected to the instruction information input means Kb, the display information output means DpL for the user to input instructions, the data exchange section Atr4, which is involved in data exchange with the data recording / reproducing apparatus TF4, and the data exchange section Atr4. Further, the control / transmission means rw41 that transmits signals / data to each part and is connected to each part, and controls each part, the error management means rw42 that executes error management of data exchanged, and the data recording / reproducing apparatus TF4. Response processing means rw43 for processing the response signal received by the data transfer unit Atr4 is provided.
[0356]
In addition, address information input via the instruction information input means Kb, address management means rw44 for managing each address, and commands in a predetermined format are issued based on the instruction commands input via the instruction information input means Kb. Command issuing means rw45, data organization means rw46 for organizing recording data and update data input via the instruction information input means Kb into data of a predetermined format, and protection for data protection of each cluster formed on the memory PDC position calculation / update means rw47 for calculating and updating the address of the information cluster PDC, and protect data organization means rw48 for organizing protect data in the protect information cluster PDC.
[0357]
As will be described later, the PDC position calculation / update unit rw47 protects information from the end address of the latest user cluster described in the cluster address table CAdT recorded in the memory unit Mem4 in the data recording / reproducing apparatus TF4. A function to calculate the head address of the cluster PDC is provided.
[0358]
The data writing device WV4 includes a microcomputer (not shown) having a CPU, and a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. Each of the programs is preferably stored in the ROM as a program, but it is also possible to configure a logic circuit or a part of the logic circuit.
[0359]
On the other hand, the data recording / reproducing apparatus TF4 is connected to the data exchanging section Btr4 and the data exchanging section Btr4, which are involved in data exchanging with the data writing apparatus WV4, and further connected to each section to transmit signals / data to each section and to each section. Control control / transmission means tf41 for controlling, error management means tf42 for executing error management of exchanged data, and instruction input analysis means for analyzing the instruction input from the data sent from the data writing device WV4 and received by the data exchange unit Btr4 tf43, memory unit Mem4 for recording and holding data, recording means tf45 for recording recording data or update data sent from the data writing device WV4 at the designated target address, and target address sent from the data writing device WV4 Based on the address of the memory unit Mem4 is read Provided with a raw means tf44.
[0360]
The memory unit Mem4 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0361]
Furthermore, response data organizing means tf46 for organizing the results of execution of the error management means tf42, instruction input analyzing means tf43, recording means tf45 or reproducing means tf44 into response data is provided.
[0362]
The data recording / reproducing apparatus TF4 is preferably composed entirely of a logic circuit or a part of a logic circuit. For example, a microcomputer (not shown) having a CPU and a program that can be read and executed by the microcomputer are stored. A ROM (read only memory) may be provided, and each of the above units may be stored in the ROM as a program.
[0363]
The data transmission / reception units Atr4 and Btr4 are an antenna that generates or is sensitive to electromagnetic waves, and a transmission / reception circuit that supplies current for generating electromagnetic waves to the antenna during transmission and extracts a signal from the sensitive current generated by the antenna during reception However, it may be a wired connection.
[0364]
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF4 receives the electromagnetic waves transmitted by the data writing device WV4, rectifies the carrier wave to generate the power supply voltage Vc, and supplies each part of the data recording / reproducing device TF4. The power supply circuit to be supplied can be provided. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF4 side, and not only the configuration of the data recording / reproducing apparatus TF4 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF4, and the degree of freedom of system construction can be improved.
[0365]
Although not shown, a clock circuit that extracts a clock signal from an electromagnetic wave transmitted by the data writing device WV4 may be provided on the data recording / reproducing device TF4 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF4 side or a transmission carrier to the data writing apparatus WV4 side.
[0366]
The error management unit rw42 and the error management unit tf42 include a data error correction function, but may be configured to have a data encryption / decryption function.
[0367]
The data writing system is characterized by the arrangement of each data recorded in the memory unit Mem4 and file management, particularly address management. Hereinafter, these technical configurations will be described based on the memory map of the memory unit Mem4 shown in FIG. 15 and the flowchart shown in FIG.
[0368]
As shown in FIG. 15, the memory unit Mem4 is configured so that a plurality of clusters can be recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a cluster PDC and a system cluster SC in which address information of each cluster is recorded.
[0369]
Here, the system cluster SC is always recorded at a fixed position of the memory unit Mem4, for example, at the head. On the other hand, the user cluster UCi can be recorded at an arbitrary position on the memory with an arbitrary recording length.
Further, the protect information cluster PDC is always recorded at the address following the end address of the user cluster (UC1 in the figure) recorded most recently.
[0370]
In the example shown in the figure, the user cluster UC1 is recorded as the latest recorded user cluster between the head address ad10 and the tail address ad11, and the recording length Ln1 is allowed to be an arbitrary value. On the other hand, the protect information cluster PDC is recorded up to the end address adPH with the address following the end address ad11 of the user cluster UC1 as the start address adPL.
[0371]
The recording length of the protection information cluster PDC is arbitrary, but the read protection information PDr and the write protection information PDw recorded therein are always recorded at an address of a predetermined offset оfst1 or оfst2 with reference to the head address adPL. Shall. Therefore, when the address adPr of the read protect information PDr and the address adPw of the write protect information PDw are based on the head address adPL,
adPr = adPL + оfst1
adPw = adPL + оfst2
Can be obtained. In addition to the protection information, various information such as key data and file IDs can be recorded in the protection information cluster PDC.
[0372]
The system cluster SC includes at least a delimiter address information of each user cluster UCi recorded on the memory, and a cluster address table CAdT described so as to indicate the user cluster recorded most recently. Is recorded at the address adC.
[0373]
Here, unlike the memory unit Mem1 shown in FIG. 2, the protect information address table PAdT on which the information on the recording position of the protect information cluster PDC is placed is unnecessary. Therefore, the occupied area of the system cluster SC is reduced.
[0374]
In the cluster address table CAdT, for example, the cluster number # 1 of the user cluster UC1, the head address ad10, and the tail address ad11 are recorded in a table format as shown in the figure. Here, when each user cluster UCi is recorded without a vacancy following the end of the previous user cluster UCj, the head address is omitted as delimiter information and only the tail address is recorded. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0375]
Further, the cluster address table CAdT is described to indicate the user cluster recorded most recently. In the configuration shown in the figure, the user cluster recorded most recently is written at the lowermost end (or uppermost end) of the table. Thereby, when referring to the table, it is easily confirmed that the user cluster is the latest user cluster with the lowermost cluster (or the uppermost cluster).
[0376]
In addition to the above configuration, for example, a configuration in which a flag or an identifier indicating a user cluster recorded most recently is added can be used.
[0377]
In this embodiment, since the protect information cluster PDC is always recorded following the end of the latest user cluster as described above, the PDC position calculation / update means rw47 is described in the cluster address table CAdT. The head address adPL of the protect information cluster PDC can be easily calculated from the last address of the latest user cluster.
[0378]
Here, the free area on the memory unit Mem4 may be configured to manage addresses as a free area NU as illustrated.
[0379]
As an instruction issued by the command issuing means rw45 of the data writing device WV4, that is, a command, a command cmW for instructing data recording to the memory unit Mem4 in the data recording / reproducing device TF4 and a data reproduction from the memory unit Mem4 are instructed. There is a command cmR.
[0380]
The command cmW is a new recording command for instructing recording of desired recording data to the memory unit Mem4, and an update recording for instructing to rewrite and record the existing user cluster UCi on the memory unit Mem4 as a new user cluster UCi. Command, protect information update command for instructing update of the contents of the protect information cluster PDC recorded in the memory unit Mem4 (for example, read protect information PDr and write protect information PDw), and instruct to update the contents of the cluster address table CAdT Functions as a table update command.
[0381]
The command cmR functions as a read command for instructing reading of the cluster address table CAdT and a read command for instructing reading of the contents of the protect information cluster PDC (for example, read protect information PDr and write protect information PDw).
[0382]
The function of each command is distinguished by a code or an operand forming the command. Moreover, it is good also as a structure which issues a subcommand.
[0383]
The control / transmission means rw41 adds address data from the address management means rw44 or PDC position calculation / update means rw47 to the commands issued by the command issuing means rw45, and record / update data from the data organization means rw46 or protect data organization means rw48. Is added to the instruction input data.
[0384]
As described above, the types of instruction input data sent by the data writing device WV4 include instruction input data composed of commands and target addresses, instruction input data composed of commands, target addresses and recording data or update data, commands, There is instruction input data composed of a target address and protection information update data, etc., and these instruction input data are encoded by the error management means rw42 via the control / transmission means rw41, and are recorded and reproduced from the data transfer unit Atr4. It is sent to the device TF4 side.
[0385]
On the other hand, in the data recording / reproducing device TF4, the data transfer unit Btr4 receives the instruction input data transmitted from the data transfer unit Atr4 of the data writing device WV4, and the error management unit tf42 decodes / After the error correction, the command analysis is performed by the instruction input analysis unit tf43, and the recording unit tf45 or the reproduction unit tf44 is operated based on the analysis result to record / update or reproduce the data, table or address.
[0386]
The reproduced data and the status associated with the processing are organized into response data by the response data organizing unit tf46, encoded by the error managing unit tf42, and sent from the data transmitting / receiving unit Btr4.
[0387]
Next, in the data writing device WV4, after the data sending / receiving unit Atr4 receives the response data sent from the data sending / receiving unit Btr4, the error management unit rw42 performs decoding / error correction through the control / transmission unit rw41. The data processed and reproduced by the response processing unit rw43 and the status associated with the processing are displayed on the display information output unit DpL or output outside the apparatus.
[0388]
Next, the operation will be described with reference to FIG.
The operations of the data writing device WV4 and the data recording / reproducing device TF4 are executed according to a plurality of processes as follows. Each process is composed of a plurality of steps. Note that the error management process is omitted in the following description in order to avoid complicated explanation.
[0389]
In the cluster management process (first) p401, when an instruction input from the user is generated, in step 4000, the instruction input data including the read command cmR and the target address adC is sent from the data writing device WV4 to the data recording / reproducing device TF4. It is done. The address adC is an entry point of the cluster address table CAdT.
[0390]
The read command cmR is issued by the command issuing unit rw45 under the control of the control / transmission unit rw41 as described above, the target address adC is created by the address management unit rw44, and the control / transmission unit rw41 organizes them into instruction input data. To do. The following instruction input data is organized in substantially the same manner.
[0390]
When the data recording / reproducing device TF4 receives the instruction input data consisting of the read command cmR and the target address adC, the cluster address table CAdT is read from the address adC of the memory unit Mem4, and this is read in step 4001 as the data writing device WV4. Send to.
[0392]
In response to this cluster address table CAdT, the data writing device WV4 extracts the last address of the cluster recorded most recently by the PDC position calculation / update means rw47 as the adPw calculation process p42, and protects based on this. The entry address of the information cluster PDC is calculated, and then the offset address is adjusted from the entry address to calculate the recording address adPw of the write protect information PDw.
[0393]
Next, as a cluster management process (second) p402, in step 4002, the read command cmR and the target address adPw are sent from the data writing device WV4 to the data recording / reproducing device TF4.
[0394]
Upon receiving this instruction input data, the data recording / reproducing device TF4 reads the write protect information PDw from the address adPw of the memory unit Mem4 and sends it to the data writing device WV4 in step 4003.
[0395]
In the subsequent target address setting process p43, the cluster to which the target address ad1 belongs can be written by referring to the read write protection information PDw based on the write target address ad1 input from the input device Kb. Confirm.
[0396]
In the subsequent cluster writing (arbitrary recording length) process p44, in step 4005, the data writing device WV4 sends the write command cmW, the target address ad1, and the recording data d1 to the data recording / reproducing device TF4. The data recording / reproducing device TF4 records the recording data d1 at the address ad1 of the memory unit Mem4. Then, as status analysis process p48, status data stat is sent to data writing device WV4 in step 4030. The data writing device WV4 analyzes the status data stat and confirms that the recording of the recording data d1 has been performed.
[0397]
When this recording is completed, the data writing device WV4 confirms that there is further recording data, and again reads the data based on the target address ad2 for writing input from the input device Kb as the target address setting process p43. With reference to the write protect information PDw, it is confirmed that the cluster to which the target address ad2 belongs is writable.
[0398]
Next, again, as a cluster writing (arbitrary recording length) process p44, the data writing device WV4 sends a write command cmW, a target address ad2, and recording data d2 to the data recording / reproducing device TF4 in step 4006. The data recording / reproducing device TF4 records the recording data d2 at the address ad2 of the memory unit Mem4. Then, again, status data stat is sent to the data writing device WV4 in step 4030 as the status analysis process p48. The data writing device WV4 analyzes the status data stat and confirms that the recording of the recording data d2 has been performed.
[0399]
Thereafter, the recording of the recording data d3 and d4 proceeds in the same manner. When the write command cmW, the target address adN and the recording data dN are sent to the data recording / reproducing apparatus TF4 in step 4009, the data recording / reproducing apparatus TF4 stores the memory unit. Record data dN is recorded at address adN of Mem4. In this way, a file composed of the recording data d1 to dN is formed as the user cluster UC2.
[0400]
As is clear from the above, the user can set the recording length and recording address of the user cluster UC2 to desired arbitrary values and record them on the memory unit Mem4.
[0401]
In the subsequent CAdT * update writing process p45, in step 4010, the data writing device WV4 adds the write command cmW, the fixed address adC, and the delimiter information of the user cluster UC2 to the data recording / reproducing device TF4 to indicate the latest cluster. The updated data CAdT * sent is sent. That is, in the update data CAdT * of the cluster address table CAdT, the delimiter information of the user cluster UC2 is described at the bottom end of the table.
The data recording / reproducing device TF4 records the update data CAdT * at the fixed address adC of the memory unit Mem4. As a result, the cluster address table CAdT is updated.
[0402]
Here, since the latest cluster has been updated, the address where the protect information cluster PDC is recorded must also be updated. Therefore, the process moves to the adPw * update calculation process p46, and the head address of the protect information cluster PDC is calculated based on the delimiter information (end address) of the user cluster UC2 that has become the latest cluster, and the offset amount is adjusted to the start address. Then, the recording address of the write protect information PDw is updated to adPw *.
[0403]
In the subsequent PDw *, PDr * update writing process p47, in step 4020, the data writing device WV4 sends the write command cmW to the data recording / reproducing device TF4, the updated target address adPw *, and the write protect information PDw * to be updated. Send. The data recording / reproducing device TF4 records the updated write protect information PDw * at the address adPw * of the memory unit Mem4. As a result, the newly recorded write protect information of the user cluster UC2 is added to the write protect information PDw.
[0404]
Similarly, the data writing device WV4 sends the write command cmW, the updated target address adPr *, and the updated read protect information PDr * to the data recording / reproducing device TF4. The data recording / reproducing device TF4 records the updated read protect information PDr * at the address adPr * of the memory unit Mem4. As a result, the newly recorded read protect information of the user cluster UC2 is added to the read protect information PDr.
[0405]
As described above, according to the present embodiment, the recording length of data to be recorded can be recorded with an arbitrary desired length. Further, since this file is used as a cluster, it is not necessary to divide it into a plurality of clusters, and the file and the cluster have a one-to-one correspondence, and even a file having a long recording length can be organized as one cluster.
[0406]
As a result, the end of the file is set to the end of the cluster at the same time. That is, an unused dead area does not occur between the end of the file and the end of the cluster. As a result, it is possible to prevent an unrecorded area that cannot be used from being generated on the memory unit, thereby improving the memory utilization efficiency.
[0407]
Furthermore, even a file having a long recording length is organized as one cluster without being divided, and the file is not divided into a plurality of clusters, so that not only file management is facilitated, but also a recording storage area for protect information Can be reduced to one for each file, so that the area allocated for recording the protection information can be saved, and the memory utilization efficiency can be improved.
[0408]
Furthermore, according to the present embodiment, the cluster address table CAdT indicating the position of the recorded cluster is recorded at a fixed position in the memory unit. By referring to the cluster address table CAdT at this fixed position, An entry to a file having an arbitrary recording length recorded at an arbitrary position in the memory unit can be facilitated, and thus file access is facilitated.
[0409]
Further, according to the present embodiment, when data of a given recording length is recorded at a specified desired position, this becomes the latest recording data, and the information indicating that this recording position and the latest cluster are the cluster The data is taken into the address table CAdT and recorded in a fixed position on the memory means. Therefore, the cluster address table CAdT is obtained by accessing the fixed position in the subsequent processing, whereby the determination of the latest recording data in the memory unit and the confirmation of the position of each recording data can be facilitated.
[0410]
Further, since the protect information is always recorded at a position following the end of the most recently recorded data, not only the user cluster address is obtained by accessing the cluster address table CAdT but also the protect information cluster PDC. Even the recording position can be easily obtained by calculation.
[0411]
As described above, since indirect recording for indicating the recording position of the protect information cluster PDC, for example, the protect information address table PAdT used in the above-described embodiment is not necessary, the recording area can be saved and the user area can be saved. Can be enlarged.
[0412]
FIG. 17 is a block diagram of an embodiment of the data reading system according to the present invention. FIG. 18 is an explanatory diagram of the operation of the data reading system shown in FIG.
As shown in FIG. 17, the data reading system according to the present invention includes a data reading device RV5 and a data recording / reproducing device TF5.
[0413]
The data reader RV5 is connected to the instruction information input means Kb for the user to input instructions, the display information output means DpL, the data exchange section Atr5, which is involved in data exchange with the data recording / reproducing apparatus TF5, and the data exchange section Atr5. Further, the control / transmission means rw51 for transmitting signals / data to each part and controlling the respective parts connected to each part, the error management means rw52 for executing error management of data exchanged, and the data sent from the data recording / reproducing apparatus TF5 Response processing means rw53 for processing the response signal received by the sending / receiving unit Atr5 is provided.
[0414]
In addition, address information input via the instruction information input means Kb, address management means rw54 for managing each address, and commands in a predetermined format based on the instruction commands input via the instruction information input means Kb Command issuing means rw55, and PDC position calculating means rw56 for calculating the address of the protect information cluster PDC for data protection of each cluster formed on the memory.
[0415]
As will be described later, the PDC position calculation means rw56 uses the protect information cluster PDC from the last address of the latest user cluster described in the cluster address table CAdT recorded in the memory unit Mem5 in the data recording / reproducing apparatus TF5. The function of calculating the head address of the
[0416]
The data reading device RV5 includes a microcomputer (not shown) having a CPU and, for example, a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. The program is preferably stored in the ROM as a program, but the logic circuit or a part of the program may be configured with a logic circuit.
[0417]
On the other hand, the data recording / reproducing apparatus TF5 is connected to the data exchanging part Btr5 and the data exchanging part Btr5 involved in data exchange with the data reading apparatus RV5, and further connected to each part to transmit signals / data to each part and to control each part. Control / transmission means tf51, error management means tf52 for executing error management of data to be exchanged, instruction input analysis means tf53 for analyzing the instruction input from the data sent from the data reader RV5 and received by the data exchange unit Btr5, data And a reproducing means tf54 for reading data from the address of the memory unit Mem5 based on the target address sent from the data reading device RV5.
[0418]
The memory unit Mem5 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0419]
Furthermore, response data organizing means tf56 for organizing the result of execution of the error management means tf52, the instruction input analyzing means tf53, or the reproducing means tf54 into response data is provided.
[0420]
The data recording / reproducing apparatus TF5 is preferably composed of a logic circuit as a whole or a part of it as a logic circuit. For example, a microcomputer (not shown) having a CPU and a program that can be read and executed by the microcomputer are stored. A ROM (read only memory) may be provided, and each of the above units may be stored in the ROM as a program.
[0421]
In addition, the data transmission / reception units Atr5 and Btr5 are preferably provided with an antenna and configured to perform data transmission / reception by transmitting and receiving electromagnetic waves, but may be wired connections.
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF5 receives the electromagnetic waves transmitted by the data reading device RV5, and supplies the power obtained by rectifying this to the respective units of the data recording / reproducing device TF5. can do. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF5 side, and not only the configuration of the data recording / reproducing apparatus TF5 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF5, and the degree of freedom in system construction can be improved.
[0422]
Although not shown, a clock circuit that extracts a clock signal from electromagnetic waves transmitted from the data reading device RV5 may be provided on the data recording / reproducing device TF5 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF5 side or a transmission carrier to the data reading apparatus RV5 side.
[0423]
The error management unit rw52 and the error management unit tf52 include a data error correction function, but may be configured to have a data encryption / decryption function.
[0424]
Here, for the sake of explanation, it is assumed that a system cluster SC, a user cluster UC1, a user cluster UC2, a protect information cluster PDC, and an unrecorded area NU are arranged in the memory unit Mem5 in order from the top as illustrated. Here, the user cluster UC2 is read.
[0425]
The system cluster SC is always recorded at the beginning of the memory unit Mem5. On the other hand, the user clusters UC1 and UC2 are recorded at arbitrary positions on the memory with an arbitrary recording length. Among these, the user cluster UC2 is the latest recorded. Further, the protect information cluster PDC is recorded following the end address of the user cluster UC2 recorded most recently.
[0426]
As shown in FIG. 18, the read protect information PDr is recorded at the address adPr in the protect information cluster PDC. Further, the user cluster UC2 occupies addresses ad1 to adN, and data d1 to dN are recorded to constitute a file.
[0427]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded in the memory unit Mem5 is recorded is recorded at a predetermined fixed address adC.
[0428]
In the illustrated cluster address table CAdT, the cluster number of the user cluster UC1, the end address that is the delimiter information of this cluster, the cluster number of the user cluster UC2, and the end that is the delimiter information of this cluster The address adN is described, and the data of the user cluster UC2 is described at the lowest end of the table to indicate that this cluster is the latest recorded cluster.
[0429]
Therefore, when the cluster address table CAdT is accessed, the latest recorded cluster can be easily identified by referring to the bottommost cluster.
[0430]
The command issued by the command issuing means rw55 of the data reader RV5 includes a playback command for instructing data playback of the user cluster UCi recorded in the memory unit Mem5, and reading of the cluster address table CAdT and the read protect information PDr. There is a read command.
[0431]
Further, the data reading device RV5 transmits instruction input data composed of a command issued by the command issuing unit rw55 and a target address set by the address management unit rw54. This instruction input data is encoded by the error management means rw52 through the control control / transmission means rw51, and sent out from the data transfer section Atr5 to the data recording / reproducing apparatus TF5.
[0432]
On the other hand, in the data recording / reproducing device TF5, the data transfer unit Btr5 receives the instruction input data sent from the data transfer unit Atr5 of the data reading device RV5, and the error management unit tf52 decodes / errors through the control / transmission unit tf51. After the correction is made, the command is analyzed by the instruction input analysis means tf53, and the reproduction means tf54 is operated based on the analysis result to reproduce the data and the table.
[0433]
The reproduced data and the status associated with the processing are organized into response data by the response data organization means tf56, encoded by the error management means tf52, and sent from the data transfer unit Btr5 to the data reader RV5.
[0434]
Next, in the data reader RV5, the data transfer unit Atr5 receives the response data sent from the data transfer unit Btr5, and after decoding / error correction by the error management unit rw52 via the control / transmission unit rw51, The data processed and reproduced by the response processing means rw53 and the status associated with the processing are displayed on the display information output means DpL or output outside the apparatus.
[0435]
Next, the operation of the data reading system will be described with reference to FIG.
The operations of the data reading device RV5 and the data recording / reproducing device TF5 are executed according to a plurality of processes as described below. Each process is composed of a plurality of steps. Note that the error management process is omitted in the following description in order to avoid complicated explanation.
[0436]
In the cluster management process (first) p501, when an instruction input from the user is generated, in step 5000, the instruction input data including the read command cmR and the target address adC is sent from the data reading device RV5 to the data recording / reproducing device TF5. . The address adC is an entry point of the cluster address table CAdT.
[0437]
The read command cmR is issued by the command issuing unit rw55 under the control of the control / transmission unit rw51, the target address adC is created by the address management unit rw54, and the control / transmission unit rw51 organizes these into instruction input data. The following instruction input data is organized in substantially the same manner.
[0438]
When the data recording / reproducing apparatus TF5 receives the instruction input data consisting of the read command cmR and the target address adC, the cluster address table CAdT is read from the address adC of the memory unit Mem5, and this is read to the data reading apparatus RV5 in step 5001. Send it.
[0439]
In response to this cluster address table CAdT, the data reading device RV5 extracts the last address of the cluster recorded most recently by the PDC position calculation means rw56 as the adPr calculation process p52, and based on this, the protect information cluster PDC is extracted. Then, the offset address is adjusted from the entry address, and the recording address adPr of the read protection information PDr is calculated.
[0440]
Next, as a cluster management process (second) p502, in step 5002, a read command cmR and a target address adPr are sent from the data reading device RV5 to the data recording / reproducing device TF5.
[0441]
Upon receiving this instruction input data, the data recording / reproducing device TF5 reads the read protect information PDr from the address adPr of the memory unit Mem5 and sends it to the data reading device RV5 in step 5003.
[0442]
In the subsequent target address setting process p53, based on the read target address ad1 input from the input device Kb, the read protection information PDr is referred to and it is confirmed that the cluster to which the target address ad1 belongs can be read. To do.
[0443]
In the subsequent cluster read process p54, in step 5000, the data reading device RV5 sends the read command cmR and the target address ad1 to the data recording / reproducing device TF5. The data recording / reproducing device TF5 reads the recording data d1 from the address ad1 of the memory unit Mem5. In step 5020, status data stat is sent to the data reading device RV5 as the status analysis process p55. The data reading device RV5 analyzes the status data stat and confirms that the recording data d1 has been recorded.
[0444]
When this recording is completed, the data reading device RV5 confirms that there is further recording data, and reads again based on the target address ad2 of the next reading input from the input device Kb as the target address setting process p53. With reference to the read protection information PDr, it is confirmed that the cluster to which the target address ad2 belongs can be read.
[0445]
Then, again, as the cluster reading process p54, the data reading device RV5
In step 5012, a read command cmR and a target address ad2 are sent to the data recording / reproducing apparatus TF5. The data recording / reproducing device TF5 reproduces the recording data d2 from the address ad2 of the memory unit Mem5. Then, again as status analysis process p55, the status data stat is sent to the data reader RV5 at step 5020, and at the same time, the reproduction data d2 is sent to the data reader RV5 at step 5013.
[0446]
In the data reading device RV5, the received status data stat is analyzed, and when it is confirmed that the reproduction of the data d2 is normally performed, the reproduction data d2 is displayed or output.
[0447]
Thereafter, the reproduction of the recorded data d3 and d4 proceeds in the same manner. When the read command cmR and the target address adN are sent to the data recording / reproducing device TF5, the data recording / reproducing device TF5 receives the data from the address adN of the memory unit Mem5. dN is reproduced and sent to the data reader RV5. In this way, the file composed of the data d1 to dN constituting the user cluster UC2 is read.
[0448]
As described above, according to the data reading system according to the present embodiment, the cluster address table CAdT recorded in the memory unit Mem5 of the data recording / reproducing apparatus TF5 and the latest described in the cluster address table CAdT. The position of the read protection information PDr is calculated based on the position information of the recorded data, the read protection information PDr is obtained based on the position, and it is confirmed that the desired reading position can be read. Read from the desired reading position.
In this way, the protect information can be easily obtained from the position information of the latest recording data described in the cluster address table CAdT. Further, the desired data can be reliably read regardless of the recording position and the recording length of the recording data desired to be read.
[0449]
FIG. 19 is a block diagram showing a configuration of an embodiment of a data writing / reading apparatus according to the present invention.
The data writing / reading device RW6 transmits, for example, an electromagnetic wave to the data recording / reproducing device TF3 (see FIG. 9) to supply power to the data recording / reproducing device TF3. The data is transmitted to the recording / reproducing apparatus TF3 and the response signal is received from the data recording / reproducing apparatus TF3.
[0450]
The data writing / reading device RW6 controls the operation of each means and the control means rw601 for exchanging data with each means, and the user inputs instruction data (command, target address, recording data, update data, etc.) Keyboard Kb and input interface I-Bf, input data, data read from data recording / reproducing device TF3, or output interface O-Bf that mediates communication contents, liquid crystal connected to output interface O-Bf A display device DpL is provided.
[0451]
Further, command issuing means rw 602 for issuing a command in a predetermined format based on a command input by the user, and address management means for calculating and managing entry addresses of various tables and protect information including a target address input by the user. rw 603, data organization means rw 610 for organizing data in a predetermined format based on recording data input by the user, update data in a predetermined format based on protection data update data (PDr *, PDw *) input by the user The protect information update means rw611 that performs composition, the above-mentioned command issue means rw602, address management means rw603, data composition means rw610, and instructions that compose instruction input data Di based on data from the protect information update means rw611 An input data organization means rw604.
[0452]
Further, the output data of the instruction input data organizing unit rw 604 is subjected to error encoding processing and input to the transmission / reception circuit TR, and the response data received by the transmission / reception circuit TR is subjected to error correction processing and stored in the buffer memory Buf. An error management means ER and a transmission / reception circuit TR for receiving a signal from the error management means ER and transmitting an electromagnetic wave from the antenna ANT and generating a response signal from the electromagnetic wave captured by the antenna ANT are provided.
[0453]
Furthermore, response processing means rw 606 is provided for extracting various information, address information, commands, and the like from the data stored in the buffer memory Buf. Information extracted by the response processing means rw 606 includes a cluster address table CAdT, write protect information PDw, read protect information PDr, retry command rty, reproduction data Rо, status stat, and the like.
[0454]
Further, a cluster determination unit rw 607 for determining a cluster based on the input target address and the cluster address table CAdT supplied from the response processing unit rw 606 and supplying the cluster number to the permission confirmation unit rw 609, this cluster number, Based on the read protection information PDr or the write protection information PDw supplied from the response processing means rw 606, the permission confirmation means rw 609 and the response processing means rw 606 supplied to the command issuing means rw 602 for confirming the write or read permission. Based on the cluster address table CAdT and the read or write information supplied from the command issuing unit rw602, the address or the write protect information PDw in which the read protect information PDr is recorded is recorded. Equipped with the latest cluster search means rw608 supplied to the address management means rw603 reads the address.
[0455]
In the above, the address management means rw 603 contains a predetermined fixed address in which the cluster address table CAdT is recorded.
The retry command rty output from the response processing unit rw 606 is supplied to the command issuing unit rw 602, and the status stat is supplied to the control unit rw 601.
[0456]
Further, the data writing / reading device RW6 includes a microcomputer (not shown) and a ROM (read only memory) or a flash memory or an EEPROM (electrically erasable programmable read memory). That is, control means rw601, command issuing means rw602, address management means rw603, instruction input data organization means rw604, response processing means rw606, cluster confirmation means rw607, latest cluster search rw608, permission confirmation means rw609, data organization means rw610, protect information Both the update means rw611 and the error management means ER are stored as programs that can be read and executed by the microcomputer.
[0457]
FIG. 20 is an operation flowchart of the data writing / reading device RW6. The operation will be described below with reference to FIG.
[0458]
When a user inputs an instruction to write or read data via the keyboard Kb and the occurrence of an instruction input is detected by the control unit rw601 (step S602), the control unit rw601 includes the command issuing unit rw602 and the address management unit. The rw 603 and the instruction input data organization means rw 604 are driven to transmit an instruction to read the cluster address table CAdT from the memory unit Mem3 of the data recording / reproducing apparatus TF3 to the data recording / reproducing apparatus TF3 (step S604).
[0459]
Here, the command issuing means rw 602 receives the instruction input via the keyboard Kb and holds it, while issuing a read command regardless of the contents (writing / reading) of the input instruction input. The data is output to the input data organization unit rw604. On the other hand, the address management unit rw 603 outputs a built-in fixed CAdT address (recording address on the memory unit Mem 3 of the cluster address table CAdT) to the instruction input data organization unit rw 604. The instruction input data organizing means rw 604 organizes them into instruction input data, which is encoded by the error management means ER and sent to the data recording / reproducing apparatus TF3.
[0460]
Next, the arrival of the cluster address table CAdT returned from the data recording / reproducing apparatus TF3 is awaited (step S606). When the response signal arrives, the control unit rw 601 drives the error management unit ER, and the error management unit ER decodes the response signal and stores it in the buffer memory Buf. Here, the control unit rw601 drives the response processing unit rw606, and the response processing unit rw606 confirms that it is the cluster address table CAdT from the response signal stored in the buffer memory Buf, and sets the cluster address table CAdT. The data is input to the cluster confirmation unit rw607. The cluster confirmation unit rw607 confirms the cluster to which this address belongs from the input target address and the cluster address table CAdT (step S608).
[0461]
Subsequently, the control unit rw601 drives the command issuing unit rw602, the response processing unit rw606, and the latest cluster searching unit rw608, and the command issuing unit rw602 sends the held instruction input to the latest cluster searching unit rw608, and the response processing unit rw606. When the cluster address table CAdT is sent to the latest cluster search means rw608, the latest cluster search means rw608 searches the cluster address table CAdT for the latest cluster and reads the end address (step S610).
[0462]
Next, the latest cluster search means rw608 calculates the entry address of the subsequent protect information cluster PDC from this end address (step S612). Here, the latest cluster search unit rw 608 checks the instruction input sent from the command issuing unit rw 602 and confirms whether the instruction is written or read (step S614).
[0463]
If the instruction is writing (A20), the latest cluster search means rw608 calculates the address of the write protect information PDw based on the entry address of the protect information cluster PDC, and inputs this to the address management means rw603 (step S616). .
[0464]
Next, the control unit rw601 drives the command issuing unit rw602, the address management unit rw603, and the instruction input data organization unit rw604 to transmit a read instruction for the write protect information PDw to the data recording / reproducing apparatus TF3 (step S618). Then, it waits for the sending of the write protect information PDw from the data recording / reproducing apparatus TF3 (step S620). When the write protect information PDw is sent, the permission confirmation means rw609 is driven, and the permission confirmation means rw609 is the cluster confirmation means. Based on the confirmed cluster number obtained from rw 607 and the write protect information PDw, it is confirmed whether the confirmed cluster is permitted to be written (step S622). The confirmation result is notified to the control means rw601 and the command issuing means rw602.
[0465]
When writing is permitted, the control unit rw601 drives the command issuing unit rw602 and the address management unit rw603 to transfer all of the protect information cluster PDC from the memory unit Mem3 of the data recording / reproducing apparatus TF3 to the temporary storage unit (not shown). Then, the control means rw601 drives the command issuing means rw602, the address management means rw603, and the instruction input data organizing means rw604, and the command issuing means rw602 drives the data organizing means rw610, thereby writing instruction command The target address and the recording data are transmitted to the data recording / reproducing device TF3, and the data recording / reproducing device TF3 writes the recording data to the target address of the memory unit Mem3 (step S624).
[0466]
Next, when response information is sent from the data recording / reproducing apparatus TF3 and stored in the buffer memory Buf, the response processing means rw606 extracts the status code stat from the response signal and inputs it to the control means rw601. The control unit rw601 examines the status code stat (step S626), and if the response is a normal end of writing, the process proceeds to step S628.
[0467]
In step S628, when the control unit rw601 receives a recording data end notification and file creation instruction from the user via the keyboard Kb, the control unit rw601 sends the current cluster address table CAdT from the buffer memory Buf via the response processing unit rw606. Then, the address of the last recorded data is obtained from the address management means rw603, and the information on the latest cluster is added to the contents of the cluster address table CAdT for updating, and the updated cluster address table CAdT * is updated. The data is sent to the data organization means rw610.
[0468]
Next, the control means rw601 drives the command issuing means rw602, the address management means rw603, and the instruction input data organizing means rw604, and the command issuing means rw602 drives the data organizing means rw610, whereby the cluster address table CAdT update instruction command The target address and the update data are transmitted to the data recording / reproducing device TF3, and the updated cluster address table CAdT is written to the target address adC of the memory unit Mem3 in the data recording / reproducing device TF3.
[0469]
Further, the update input of the write protect information PDw * or / and the read protect information PDr * is obtained from the user, the contents of the protect information cluster PDC transferred to the temporary storage device are updated, and the data recording / reproducing device TF3 is updated. The command for instructing re-recording of the updated protect information cluster PDC, the target address calculated from the last address of the latest cluster, and the updated protect information cluster PDC are sent (step S630), and the data recording / reproducing apparatus A series of operations is completed by obtaining response information of normal termination of writing sent from TF3.
[0470]
If it is determined in step S626 that the response requests a retry, the process returns to step S624 and retransmits. If the response is an error notification in step S626, the series of operations is stopped here.
[0471]
If the command is a read instruction in step S614 (B20), the latest cluster search means rw608 calculates the address of the read protect information PDr based on the entry address of the protect information cluster PDC, and inputs this to the address management means rw603 ( Step S632).
[0472]
Next, the control unit rw601 drives the command issuing unit rw602, the address management unit rw603, and the instruction input data organization unit rw604 to transmit a read instruction for the read protect information PDr to the data recording / reproducing apparatus TF3 (step S634). Then, it waits for the reading protection information PDr from the data recording / reproducing apparatus TF3 (step S636). When the reading protection information PDr is sent, the permission confirmation means rw609 is driven, and the permission confirmation means rw609 is sent from the cluster confirmation means rw607. Based on the confirmed cluster number and the read protection information PDr, it is confirmed whether or not the confirmed cluster is permitted to be read (step S638). The confirmation result is notified to the control means rw601 and the command issuing means rw602.
[0473]
When the reading is permitted, the control unit rw601 drives the command issuing unit rw602, the address management unit rw603, and the instruction input data organization unit rw604, whereby the reproduction instruction command and the target address are transmitted to the data recording / reproducing apparatus TF3. In the data recording / reproducing apparatus TF3, the recording data is reproduced from the target address of the memory unit Mem3 (step S640).
[0474]
Next, when response information is sent from the data recording / reproducing apparatus TF3 and stored in the buffer memory Buf, the response processing means rw606 extracts the status code stat from the response signal and inputs it to the control means rw601. The control unit rw 601 examines the status code stat (step S642), and if the response is a normal end of writing, the control unit rw 601 proceeds to step S644 to output reproduction data and complete a series of operations. If the response requests a retry in step S642, the process returns to step S640 and retransmits. If the response is an error notification in step S642, the series of operations is stopped here.
[0475]
As described above, according to the data writing / reading device RW3 of the present embodiment, the cluster address table CAdT recorded in the memory unit Mem3 of the data recording / reproducing device TF3 and the cluster address. The recording position of the write protection information PDw is obtained based on the position information of the latest recording data described in the table CAdT, and the write protection information PDw is obtained based on the recording position. After confirming that the position where recording is desired is writable, the desired recording data is written to the desired position in the memory unit Mem3 of the data recording / reproducing apparatus TF3.
[0476]
Further, after the recording data is written, the cluster address table CAdT at the fixed position of the memory unit Mem3 is updated based on the position information of the latest recording data and updated. Further, the protection information is updated based on the latest recording data information, and is recorded following the end of the latest recording data.
[0477]
Therefore, the recording position of the protection information can be easily calculated simply by accessing the cluster address table CAdT in the subsequent processing, thereby making it easy to obtain the protection information.
[0478]
As described above, since desired recording data is recorded at a desired position in the memory unit Mem3 of the data recording / reproducing apparatus TF3, and protect information is recorded following the end of the latest recording data, it is recorded on the memory unit Mem3. Management of a certain unused area is facilitated, the generation of a free area can be prevented, and the memory utilization efficiency is improved.
[0479]
On the other hand, at the time of data reading, in the same way as at the time of data writing, the position of the protection information can be easily obtained from the position information of the latest recording data described in the cluster address table CAdT, and the protection information is obtained. Since the desired data is read after confirming that the desired reading position is readable, the desired data can be reliably read regardless of the recording position and recording length of the data desired to be read.
[0480]
As described above, according to the present embodiment, when data of a given recording length is recorded at a specified desired position, this becomes the latest recording data, and the information indicating that this recording position and the latest cluster are The data is taken into the cluster address table CAdT and recorded in a fixed position on the memory means. Therefore, the cluster address table CAdT is obtained by accessing the fixed position in the subsequent processing, whereby the determination of the latest recording data in the memory unit and the confirmation of the position of each recording data can be facilitated.
[0481]
Further, since the protect information is always recorded at a position following the end of the most recently recorded data, not only the user cluster address is obtained by accessing the cluster address table CAdT but also the protect information cluster PDC. Even the recording position can be easily obtained by calculation.
[0482]
As a result, indirect recording for indicating the recording position of the protect information, for example, the protect information address table PAdT used in the above-described embodiment is unnecessary, so that the recording area can be saved and the user area can be expanded. Can do.
[0483]
FIG. 21 is a flowchart of another embodiment of the file recording method and file playback method according to the present invention. As shown in the figure, according to the method of the present embodiment, when the target address input by the user is received (step S2102), the cluster address table CAdT at a predetermined position is read (step S2104), and the target It is verified whether the address actually exists on the cluster address table CAdT (step S2106).
[0484]
If the target address does not exist, an error notification is issued (step S2116), and the process is terminated.
If the target address actually exists, the target address refers to the end (separation) information of the latest cluster from the cluster address table CAdT (step S2107), and the address where the protect information is recorded is calculated from the end address (step S2108).
[0485]
Next, the type of instruction input input by the user is confirmed (step S2110).
If the instruction input is a write instruction, the write protect information PDw is read from the calculated address (step S2112). Here, since the write protect information PDw is always recorded at a predetermined position following the end of the latest cluster, the write protect information can be easily calculated from the end address of the latest cluster as described above. PDw can be accessed.
[0486]
Next, it is confirmed from the write protect information PDw whether or not the target address area is permitted to be written (step S2114). If writing is prohibited, an error notification is issued (step S2116). If the writing is permitted, the write protection information PDw and the read protection information PDr are provisionally stored in the buffer memory (step S2117), and then the recording data is recorded at the target address (step S2118). Here, the user can record data of a desired recording length.
[0487]
If more file data exists (step S2120), the address is updated (incremented) (step S2122), and the process returns to step S2114.
If the file data ends (step S2120), the recorded file is set as the latest cluster (step S2124). Next, the cluster address table CAdT is updated (step S2126). This is a new cluster address table CAdT * with the latest cluster information added.
[0488]
Next, if there is an instruction from the user for the read protection information PDr * or / and the write protection information PDw * regarding the latest cluster (step S2128), the read protection information PDr temporarily stored in the buffer memory is stored by PDr * or / Then, the write protect information PDw is updated with PDw * to be a new PDr or a new PDw (step S2129). This sets permission and prohibition of reading or rewriting of data of the latest cluster.
[0489]
Next, the read protect information PDr and the write protect information PDw temporarily stored in the buffer memory are recorded at a predetermined address following the end of the latest cluster (step S2130). If there is no protection information update instruction in step S2128, step S2130 is executed using the default value for the latest cluster.
[0490]
On the other hand, if it is determined in step S2110 that the instruction input is a reading instruction, the read protection information PDr is read from the calculated address (step S2132). Here, since the read protect information PDr is always recorded at a predetermined position following the end of the latest cluster, the read protect information PDr can be easily calculated from the end address of the latest cluster as described above. Accessible.
[0491]
Next, it is confirmed from the read protect information PDr whether the target address area is permitted to be written (step S2134). If reading is prohibited, an error notification is issued (step S2116). If it is read permission, data is read from the target address (step S2136).
If there is more file data to be read (step S2138), the address is updated (incremented) (step S2140), and the process returns to step S2134. If the file data to be read is completed (step S2138), the process is terminated.
[0492]
According to the method according to the above-described embodiment, the recording position of the protection information recorded subsequent to the end of the latest cluster can be easily calculated from the position information of the latest cluster described in the cluster address table CAdT. Therefore, it is not necessary to separately prepare information indicating the recording position of the protect information, and as a result, the memory utilization efficiency and the data recording / reproducing efficiency can be improved.
[0493]
Further, since the protect information is always recorded following the end of the latest cluster, even if the record length of the latest cluster is an arbitrary length, the position where the protect information is recorded / reproduced is based on the cluster address table CAdT data. Can be easily determined by calculation.
[0494]
Furthermore, there is no dead space between the protection information and the preceding cluster, and the memory utilization efficiency can be improved.
[0495]
FIG. 22 is an explanatory diagram of an embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
[0496]
As shown in the figure, a computer-readable recording medium MeD1 in which data according to the present embodiment is recorded is a memory cell Mcell1 in which data can be recorded and reproduced, and is connected to the memory cell Mcell1 for writing. A control unit Ctr for controlling reading / reading, a connector Tmn connected to the control unit Ctr, an R / W terminal to which a writing / reading selection signal is given from an external device, and an external device And an DI / O terminal for transmitting / receiving write / read data between external devices.
[0497]
The memory cell Mcell1 is composed of, for example, a nonvolatile semiconductor memory EEPROM represented by a flash memory, and a plurality of clusters are recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a system cluster SC in which cluster PDC and address information of each cluster are recorded.
[0498]
The system cluster SC is always recorded at a fixed position of the memory cell Mcell1, for example, at the top. On the other hand, the user cluster UCi is recorded at an arbitrary position on the memory cell with an arbitrary recording length. Further, the protect information cluster PDC has an arbitrary recording length and is recorded at an arbitrary position.
[0499]
In the illustrated example, the protect information cluster PDC is recorded in the address areas adPL to adPH, and the read protect information PDr and the write protect information PDw recorded therein are predetermined offsets based on the address adPL (or adPH). It is recorded at an address shifted by the quantity оfst1 or оfst2. Therefore, when the address adPr of the read protect information PDr and the address adPw of the write protect information PDw are based on the address adPL,
adPr = adPL + оfst1
adPw = adPL + оfst2
Can be obtained. In addition to the protection information, various information such as key data and file IDs are recorded in the protection information cluster PDC.
[0500]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded on this memory cell is placed at a predetermined fixed address adC, and the recording position of the protect information cluster PDC A protect information address table PAdT carrying information on (addresses adPL and adPH) is recorded at predetermined fixed addresses adD, respectively.
[0501]
For example, in the cluster address table CAdT, the cluster number # 1 of the user cluster UC1, the head address, and the tail address are recorded in a table format. Here, when a configuration is adopted in which each user cluster is recorded without a space following the end of the previous user cluster, the head address is omitted as delimiter information and only the tail address is recorded. it can. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0502]
In the protect information address table PAdT, the head address adPL and tail address adPH of the protect information cluster PDC are recorded in association with the offsets оfst1 and оfst2. The tail address adPH is information necessary for recording the user cluster UCi in the unused area NU after the protect information cluster PDC.
The protection information address table PAdT may be configured to record the address adPr of the read protection information PDr and the address adPw of the write protection information PDw.
[0503]
Since data is recorded as described above, even if a user cluster having an arbitrary recording length is formed at an arbitrary position on the memory cell Mcell1, the cluster address table CAdT recorded at a fixed position and easily accessible. By referring to, it is possible to easily obtain an entry point of each user cluster and to access a desired user cluster.
[0504]
In particular, even if a protection information cluster PDC having an arbitrary recording length is formed at an arbitrary position, the position can be described in the protection information address table PAdT, and this protection information address table PAdT is recorded at a fixed position and accessed. Since it is easy, the position of the protect information cluster PDC can be confirmed by this, and the protect information can be obtained by reading the protect information cluster PDC wherever it is recorded.
[0505]
This recording medium MeD1 is connected to a data writing / reading device RW7 according to the present invention shown in FIGS. 23 and 24 to be described later, and writing or reading is performed.
[0506]
In FIG. 22, the memory cell Mcell1 is configured as a semiconductor memory cell array and includes a control unit and a connector. However, the recording medium of the present invention is not limited to this configuration, and a magnetic card without a control unit. In addition, a configuration using a magnetic sheet or an optical memory medium without a control unit or a connector is also possible.
[0507]
FIG. 23 is a block diagram showing a configuration of an embodiment of a data writing / reading apparatus according to the present invention.
The data writing / reading device RW7 is connected to, for example, the aforementioned recording medium MeD1 (see FIG. 22) to perform writing / reading.
[0508]
The data writing / reading device RW7 controls the operation of each built-in means and also controls the control means rw701 for exchanging data with each means, and the user designates the instruction data (command, target address, recording data, update data, etc.) A keyboard Kb and an input interface I-Bf, an output interface O-Bf that mediates each input data and data read from the recording medium MeD1, a liquid crystal display device DpL connected to the output interface O-Bf, A connector Tmn for connecting the recording medium MeD1 is provided.
[0509]
Further, it receives the recording data Dw input from the user, or receives update data (PDr *, PDw *) of the protection information input from the user, and these are recorded on the recording medium MeD1 based on the command input from the user. Memory recording / reproduction that reads the cluster address table CAdT, the protection information address table PAdT, the read protection information PDr, the write protection information PDw, and the reproduction data Rо from the recording medium MeD1 on the basis of a command written to the user or input from the user A data organization means rw707 for exchanging data with the means rw702 and the memory recording / reproducing means rw702 to organize data. The memory recording / reproducing means rw 702 is connected to the connector Tmn.
[0510]
Further, it includes an address management unit rw 703 that receives a target address input from the user, calculates and manages the target address, entry addresses of various tables and protect information, and outputs the determined address to the memory recording / reproducing unit rw 702.
[0511]
Further, a cluster confirmation unit rw 704 that confirms the cluster based on the input target address and the read cluster address table CAdT and supplies the cluster number to the permission confirmation unit rw 706, this cluster number, and the read protection that has been read Permission confirmation means rw 706 is provided for confirming permission of writing or reading based on the information PDr or the write protection information PDw and supplying the result to the memory recording / reproducing means rw 702.
[0512]
Further, a protection information table reference unit rw 705 that reads the address where the read protection information PDr is recorded or the address where the write protection information PDw is recorded based on the read protection information address table PAdT and supplies the address to the address management unit rw 703. Prepare.
[0513]
The address management means rw 703 includes a predetermined address where the cluster address table CAdT is recorded and an address where the protect information address table PAdT is recorded.
[0514]
Further, the data writing / reading device RW3 includes a microcomputer (not shown) and a ROM (read only memory) or a flash memory or an EEPROM (electrically erasable programmable read memory). That is, a program that can be read and executed by the microcomputer by the control unit rw701, the memory recording / reproducing unit rw702, the address management unit rw703, the cluster determination unit rw704, the protect information table reference unit rw705, the permission confirmation unit rw706, and the data organization unit rw707. As stored.
[0515]
FIG. 24 is an operation flowchart of the data writing / reading device RW7. The operation will be described below with reference to FIG.
[0516]
When an input is made by the user via the keyboard Kb and the occurrence of an instruction input is detected by the control unit rw701 (step S702), the control unit rw701 drives the memory recording / reproducing unit rw702 and the address management unit rw703, and the recording medium The cluster address table CAdT is read from the fixed address adC of the memory cell of MeD1 (hereinafter referred to as the memory unit) (step S704).
[0517]
Here, the address management means rw 703 sends a built-in CAdT address (predetermined fixed address adC), and temporarily stores a target address for instruction input. On the other hand, the memory recording / reproducing means rw 702 temporarily stores an instruction input command. In the case of a write instruction, recording data Dw is further provisionally stored.
[0518]
Next, the memory recording / reproducing unit rw 702 inputs the read cluster address table CAdT to the cluster determining unit rw 704. The cluster confirmation unit rw 704 determines the cluster to which this address belongs from the input target address and the cluster address table CAdT, and sends the cluster number to the permission confirmation unit rw 709 (step S706).
[0519]
Subsequently, the control unit rw 701 drives the memory recording / reproducing unit rw 702 and the address management unit rw 703 as described above, and reads the protection information address table PAdT from the fixed address adD of the memory unit of the recording medium MeD1 (step S708). Here, the address management means rw 703 sends the built-in PAdT address (predetermined fixed address adD) to the memory recording / reproducing means rw 702.
[0520]
When the memory recording / reproducing means rw 702 reads the protect information address table PAdT, if the command is a write instruction based on the temporarily stored command (A24), the process proceeds to step S712, and the protect information address table PAdT is read. Is supplied to the protection information table reference means rw705 together with information indicating writing.
[0521]
The protect information table reference unit rw705 confirms that the command is a write instruction, refers to the supplied protect information address table PAdT, obtains the address adPw of the write protect information PDw, and manages this address It supplies to the means rw703 (step S712).
[0522]
Subsequently, the control unit rw 701 drives the memory recording / reproducing unit rw 702 and the address management unit rw 703 in the same manner as described above, and reads the write protect information PDw from the address adPw of the memory unit of the recording medium MeD1 (step S714).
[0523]
When the memory recording / reproducing means rw 702 reads the write protect information PDw, based on the temporarily stored command, the memory recording / reproducing means rw 702 supplies the write protect information PDw to the permission confirmation means rw 709 together with information indicating that the command is a write instruction. Then, the permission confirmation unit rw309 confirms that the command is a write instruction, and based on the confirmed cluster number and the write protection information PDw obtained from the cluster confirmation unit rw307, whether or not the determined cluster is permitted to be written. Is confirmed (step S716). The confirmation result is notified to the memory recording / reproducing means rw 702 and the control means rw 701.
[0524]
If the writing is permitted, the control unit rw 701 drives the memory recording / reproducing unit rw 702 and the address management unit rw 703, and the memory recording / reproducing unit rw 702 writes the recording data Dw to the target address of the memory unit of the recording medium MeD1 (step S718). ).
[0525]
By writing the recording data Dw, a user cluster is newly formed in the memory unit of the recording medium MeD1. Therefore, the delimiter address information of the new user cluster is added, and the cluster address table CAdT is updated to CAdT * (step S720).
[0526]
Here, if the user inputs update input of the write protection information PDw * or / and the read protection information PDr * regarding the new cluster, the write protection information PDw or / and the read protection information PDr is updated based on these. (Step S722).
[0527]
On the other hand, if the command is read in step S710, the memory recording / reproducing means rw702 supplies the protect information address table PAdT to the protect information table referring means rw705 together with information indicating reading.
[0528]
The protection information table reference unit rw 705 confirms that the command is a reading instruction, refers to the supplied protection information address table PAdT, obtains the address adPr of the reading protection information PDr, and uses this as the address management unit rw 703. (Step S724).
[0529]
Subsequently, the control unit rw 701 drives the memory recording / reproducing unit rw 702 and the address management unit rw 703 in the same manner as described above, and reads the read protect information PDr from the address adPr of the memory unit of the recording medium MeD1 (step S726).
[0530]
When the memory recording / reproducing means rw 702 reads the read protection information PDr, the memory recording / reproducing means rw 702 supplies the read protection information PDr to the permission confirmation means rw 709 together with information indicating that the command is a reading instruction. Confirming that there is a confirmation, it is confirmed whether or not the confirmed cluster is allowed to be read based on the confirmed cluster number obtained from the cluster confirming means rw307 and the read protection information PDr (step S728). The confirmation result is notified to the memory recording / reproducing means rw 702 and the control means rw 701.
[0531]
If the reading is permitted, the control unit rw 701 drives the memory recording / reproducing unit rw 702 and the address management unit rw 703, and the memory recording / reproducing unit rw 702 reads the reproduction data Dr from the target address of the memory unit of the recording medium MeD1 (step S730). ). Next, the memory recording / reproducing means rw 702 outputs this as a reproduction output R o from this apparatus (step S732).
[0532]
As described above, according to the data writing / reading device RW7 of the present embodiment, the cluster address table CAdT and the protection information address table PAdT recorded at fixed positions on the recording medium MeD1 are read, and the protection information address is read. The protect information PDw and PDr recorded at an arbitrary position can be obtained based on the table PAdT. Therefore, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed through the protect information address table PAdT.
[0533]
Then, after confirming that the desired position where the recording data Dw is recorded can be written by the protect information, the recording data Dw having a desired length is written to the desired position of the recording medium MeD1. Then, after the recording data is written, the cluster address table CAdT at the fixed position on the recording medium MeD1 is updated. Further, the protection information is updated.
[0534]
As described above, desired recording data can be recorded at a desired position on the recording medium, and protect information can also be recorded at an arbitrary position, so that an unused area on the recording medium can be easily managed, and an empty area Can be prevented to improve the memory utilization efficiency.
Further, since the recording position of the protect information can be moved, compatibility between recording media having different recording capacities can be maintained.
[0535]
Furthermore, even when recording of recording data progresses and the area of the existing protection information on the recording medium is touched, the division of the recording data can be avoided by moving the position of the protection information. Efficiency can be improved.
[0536]
Moreover, even if the recording data has a long recording length, the recording data can be easily managed because it can be recorded without interruption. Further, since there is no division, even if the recording data has a long recording length, there is only one piece of protection information. Therefore, it is possible to save an area allocated for recording the protection information and improve the utilization efficiency of the recording medium.
[0537]
Further, after confirming that the desired reading position can be read, the desired data is read from the recording medium. Therefore, the desired data can be reliably read regardless of the recording position and the recording length of the data desired to be read. In addition, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed via the protect recording position information, thereby protecting the data.
[0538]
FIG. 25 is an explanatory diagram of another embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
[0539]
As shown in the figure, a computer-readable recording medium MeD2 on which data according to the present embodiment is recorded is a memory cell Mcell2 on which data can be recorded and reproduced, and is connected to the memory cell Mcell2 for writing. A control unit Ctr for controlling reading / reading, a connector Tmn connected to the control unit Ctr, an R / W terminal to which a writing / reading selection signal is given from an external device, and an external device And an DI / O terminal for transmitting / receiving write / read data between external devices.
[0540]
The memory cell Mcell2 is composed of, for example, a nonvolatile semiconductor memory EEPROM represented by a flash memory, and a plurality of clusters are recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a system cluster SC in which cluster PDC and address information of each cluster are recorded.
[0541]
The system cluster SC is always recorded at a fixed position of the memory cell Mcell2, for example, at the head. On the other hand, the user cluster UCi continues to the system cluster SC in the configuration shown in the figure, and has an arbitrary record length newly recorded at the end of the cluster having an arbitrarily recorded length (user cluster UC1 in FIG. 25). A cluster (user cluster UC2 in the figure) is recorded.
However, the present invention is not limited to this, and each user cluster UCi can be recorded at an arbitrary position on the memory cell with an arbitrary recording length.
[0542]
Here, the protect information cluster PDC is always recorded following the end of the latest recorded cluster.
[0543]
In the example shown in the figure, the protect information cluster PDC is recorded from this position with the address adP following the end address ad22 of the user cluster UC2 recorded most recently as the head address.
[0544]
Inside the protect information cluster PDC, read protect information PDr for protecting reading of each cluster and write protect information PDw for protecting writing to each cluster are respectively stored in a predetermined offset amount оfst1 based on the address adPL. Or it is recorded at addresses adPr and adPw shifted by оfst2. Therefore, the address adPr of the read protect information PDr and the address adPw of the write protect information PDw are based on the address adPL.
adPr = adPL + оfst1
adPw = adPL + оfst2
Can be obtained. In the offset portion and other areas, other information such as key data and various information such as file IDs are recorded.
[0545]
The system cluster SC includes at least a delimiter address information of each user cluster UCi recorded on the memory, and a cluster address table CAdT described so as to indicate the user cluster recorded most recently. Is recorded at the address adC.
[0546]
Here, unlike the recording medium MeD1 shown in FIG. 22, the protect information address table PAdT on which the information on the recording position of the protect information cluster PDC is placed is unnecessary. Therefore, the occupied area of the system cluster SC is reduced.
[0547]
In the cluster address table CAdT, the cluster number, head address, and tail address of each user cluster UCi are recorded in a table format. Here, in the case where each user cluster is recorded without a vacancy following the end of the previous user cluster, the head address may be omitted as delimiter information and only the tail address may be recorded. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0548]
Further, the cluster address table CAdT is described to indicate the user cluster recorded most recently. For example, the user cluster recorded most recently is described at the bottom end (or top end) of the table. Thereby, when referring to the table, it is easily confirmed that the user cluster is the latest user cluster with the lowermost cluster (or the uppermost cluster). The head address adPL of the protection information cluster PDC can be easily calculated from the latest end address of the user cluster described in the cluster address table CAdT.
[0549]
In addition to the above configuration, for example, a configuration in which a flag or an identifier indicating a user cluster recorded most recently is added can be used.
[0550]
This recording medium MeD2 is connected to a data writing / reading device RW8 according to the present invention shown in FIGS. 26 and 27 to be described later, and writing or reading is performed.
[0551]
In FIG. 25, the memory cell Mcell2 is configured as a semiconductor memory cell array and includes a control unit and a connector. However, the recording medium of the present invention is not limited to this configuration, and the magnetic card does not include a control unit. In addition, a configuration using a magnetic sheet or an optical memory medium without a control unit or a connector is also possible.
[0552]
FIG. 26 is a block diagram showing the configuration of another embodiment of the data writing / reading apparatus according to the present invention.
This data writing / reading device RW8 is connected to, for example, the above-mentioned recording medium MeD2 (see FIG. 25) and performs writing / reading.
[0553]
The data writing / reading device RW8 controls the operation of each of the built-in means, and also controls the control means rw801 for exchanging data with each means, and the user designates the instruction data (command, target address, recording data, update data, etc.) A keyboard Kb and an input interface I-Bf, an output interface O-Bf that mediates each input data and data read from the recording medium MeD1, a liquid crystal display device DpL connected to the output interface O-Bf, A connector Tmn for connecting the recording medium MeD1 is provided.
[0554]
Further, it receives the recording data Dw input from the user or the update data (PDr *, PDw *) of the protection information input from the user, and these are recorded on the recording medium MeD2 based on the command input from the user. Memory recording / reproducing means rw802, memory recording / reproducing means for reading the cluster address table CAdT, the read protection information PDr, the write protection information PDw, and the reproduction data Rо from the recording medium MeD2 on the basis of the command written to the user or input from the user Temporary storage means rw807 for temporarily storing data received by rw802 is provided. The memory recording / reproducing means rw802 is connected to the connector Tmn.
[0555]
Further, it includes a target address inputted by the user, and calculates and manages the entry address of various tables and protect information including this target address, and outputs a fixed address to the memory recording / reproducing means rw 802.
[0556]
Further, a cluster confirmation unit rw804 that confirms the cluster based on the input target address and the read cluster address table CAdT and supplies the cluster number to the permission confirmation unit rw806, the cluster number, and the read protect that has been read Permission confirmation means rw806 is provided that confirms the permission of writing or reading based on the information PDr or the write protection information PDw and supplies the result to the memory recording / reproducing means rw802.
[0557]
Further, the latest recorded cluster is searched with reference to the read cluster address table CAdT, the end address of the latest cluster is obtained, and the address where the read protect information PDr is recorded or the write protect information PDw. The latest cluster search means rw805 is calculated and supplied to the address management means rw803.
[0558]
The address management means rw 803 contains an address where the cluster address table CAdT is recorded.
[0559]
Further, the data writing / reading device RW8 includes a microcomputer (not shown) and a ROM (read only memory) or a flash memory or an EEPROM (electrically erasable programmable read memory). That is, the control unit rw801, the memory recording / reproducing unit rw802, the address management unit rw803, the cluster determination unit rw804, the latest cluster search unit rw805, and the permission confirmation unit rw806 are all stored as programs that can be read and executed by the microcomputer.
[0560]
FIG. 27 is an operation flowchart of the data writing / reading device RW8. The operation will be described below with reference to FIG.
[0561]
When an input is made by the user via the keyboard Kb and the occurrence of an instruction input is detected by the control unit rw801 (step S802), the control unit rw801 drives the memory recording / reproducing unit rw802 and the address management unit rw803, and the recording medium The cluster address table CAdT is read from the fixed address adC of the memory cell of MeD2 (hereinafter referred to as the memory unit) (step S804).
[0562]
Here, the address management means rw 803 sends a built-in CAdT address (predetermined fixed address adC), and temporarily stores a target address for instruction input. On the other hand, the memory recording / reproducing means rw 802 temporarily stores an instruction input command. In the case of a write instruction, recording data Dw is further provisionally stored.
[0563]
Next, the memory recording / reproducing means rw 802 inputs the read cluster address table CAdT to the cluster determining means rw 804. The cluster confirmation unit rw804 confirms the cluster to which this address belongs from the input target address and the cluster address table CAdT, and sends the cluster number to the permission confirmation unit rw809 (step S806).
[0564]
Next, the memory recording / reproducing means rw 802 supplies the latest cluster searching means rw 805 with the cluster address table CAdT and information indicating writing or reading based on the temporarily stored command, and the latest cluster searching means rw 805 supplies the cluster address. The latest cluster is searched from the table CAdT and its tail address is read (step S808). Further, the entry address of the protection information cluster PDC recorded subsequently is calculated from the tail address of the latest cluster (step S810).
[0565]
If the command is written in step S812 (A27), the process proceeds to step S814, and all of the protection information cluster PDC is transferred from the recording medium MeD2 to the temporary storage unit rw807 based on the entry address of the protection information cluster PDC (step S814). .
[0566]
Next, the write protect information PDw is read from the protect information cluster PDC transferred to the temporary storage means rw807 (step S816).
[0567]
When the memory recording / reproducing means rw 802 reads the write protect information PDw, the memory recording / reproducing means rw 802 supplies the write protect information PDw to the permission confirmation means rw 806 together with information indicating that the temporarily stored command is a write instruction. The means rw 806 confirms that the command is a write instruction, and confirms whether the confirmed cluster is permitted to be written based on the confirmed cluster number obtained from the cluster confirmation means rw 804 and the write protect information PDw ( Step S818). The confirmation result is notified to the memory recording / reproducing means rw802 and the control means rw801.
[0568]
If the write permission is made, the control unit rw801 drives the memory recording / reproducing unit rw802 and the address management unit rw803, and the memory recording / reproducing unit rw802 writes the recording data Dw to the target address of the memory unit of the recording medium MeD2 (step S820). ).
[0569]
By writing the recording data Dw, a user cluster is newly formed in the memory unit of the recording medium MeD2. Therefore, the delimiter address information of the new user cluster is added and the cluster address table CAdT is updated to CAdT * (step S822).
[0570]
Here, if the user inputs update input of the write protect information PDw * and / or the read protect information PDr * related to the new cluster, based on these, the contents of the protect information cluster PDC transferred to the temporary storage means rw807 are stored. The write protect information PDw and / or the read protect information PDr is updated, and the contents of the temporary storage means rw807 are re-recorded from the next address following the tail address of the new cluster formed in the memory section of the recording medium MeD2 ( Step S824). As a result, the updated protect information cluster PDC is formed following the tail address of the new cluster.
[0571]
On the other hand, if the command is read in step S812 (B27), the address of the read protect information PDr is calculated based on the entry address of the protect information cluster PDC, and this is supplied to the address management means rw803 (step S826).
[0572]
Subsequently, the control unit rw801 drives the memory recording / reproducing unit rw802 and the address management unit rw803 in the same manner as described above, and reads the read protect information PDr from the memory unit of the recording medium MeD2 (step S828).
[0573]
When the memory recording / reproducing means rw 802 reads the read protection information PDr, the memory recording / reproducing means rw 802 supplies the read protection information PDr to the permission confirmation means rw 806 together with information indicating that the command is a read instruction. After confirming that it is present, it is confirmed whether or not the confirmed cluster is permitted to be read based on the confirmed cluster number obtained from the cluster confirming means rw804 and the read protection information PDr (step S830). The confirmation result is notified to the memory recording / reproducing means rw802 and the control means rw801.
[0574]
If the reading is permitted, the control unit rw801 drives the memory recording / reproducing unit rw802 and the address management unit rw803, and the memory recording / reproducing unit rw802 reads the reproduction data Dr from the target address of the memory unit of the recording medium MeD2 (step S832). ). Subsequently, the memory recording / reproducing means rw 802 outputs this from the apparatus as a reproduction output Ro (step S834).
[0575]
As described above, according to the data writing / reading device RW8 of the present embodiment, the cluster address table CAdT recorded at the fixed position of the memory unit of the recording medium MeD2 and the cluster address. The recording position of the write protection information PDw is obtained based on the position information of the latest recording data described in the table CAdT, and the write protection information PDw is obtained based on the recording position. After confirming that the position where recording is desired is writable, the desired recording data is written in the desired position of the memory unit of the recording medium MeD2.
[0576]
Further, after the recording data is written, the cluster address table CAdT at the fixed position of the memory unit of the recording medium MeD2 is updated based on the position information of the latest recording data and updated. Further, the protection information is updated based on the latest recording data information, and is recorded following the end of the latest recording data.
[0577]
Therefore, by only accessing the cluster address table CAdT in the subsequent processing, not only the position information of each cluster can be obtained, but also the recording position of the protect information can be easily calculated, thereby making it easy to obtain the protect information. Become.
[0578]
As described above, since desired recording data is recorded at a desired position in the memory unit of the recording medium MeD2, and the protection information is recorded following the end of the latest recording data, the unused recording data on the recording medium MeD2 is unused. The management of the area becomes easy, the occurrence of a free area can be prevented, and the memory utilization efficiency is improved.
[0579]
On the other hand, at the time of data reading, in the same way as at the time of data writing, the position of the protection information can be easily obtained from the position information of the latest recording data described in the cluster address table CAdT, and the protection information is obtained. Since the desired data is read after confirming that the desired reading position is readable, the desired data can be reliably read regardless of the recording position and recording length of the data desired to be read.
[0580]
As described above, according to the present embodiment, when data of a given recording length is recorded at a specified desired position on the recording medium MeD2, this becomes the latest recording data, and this recording position and the latest cluster are recorded. This information is taken into the cluster address table CAdT and recorded at a fixed position on the recording medium MeD2. Therefore, the cluster address table CAdT is obtained by accessing the fixed position in the subsequent processing, whereby the determination of the latest recording data in the memory unit and the confirmation of the position of each recording data can be facilitated.
[0581]
Further, since the protect information is always recorded at a position following the end of the most recently recorded data, not only the user cluster address is obtained by accessing the cluster address table CAdT but also the protect information cluster PDC. Even the recording position can be easily obtained by calculation.
[0582]
As a result, indirect recording for indicating the recording position of the protect information, for example, the protect information address table PAdT used in the above-described embodiment is unnecessary, so that the recording area can be saved and the user area can be expanded. Can do.
[0583]
FIG. 28 is a block diagram showing another embodiment of the data writing system according to the present invention. FIG. 29 is a memory map for explaining data recording in the memory unit shown in FIG. Further, FIG. 30 is an explanatory diagram of the operation of the data writing system shown in FIG.
[0584]
As shown in FIG. 28, the data writing system according to the present invention includes a data writing device WV9 and a data recording / reproducing device TF9.
[0585]
The data writing device WV9 is connected to the instruction information input means Kb, the display information output means DpL for the user to input instructions, the data exchange section Atr9, which is involved in data exchange with the data recording / reproducing apparatus TF9, and the data exchange section Atr9. Further, the control / transmission means rw91 for transmitting signals / data to each part and controlling each part connected to each part, the error management means rw92 for executing the error management of data exchanged, and the data recording / reproducing apparatus TF9. Response processing means rw93 for processing the response signal received by the data transfer unit Atr9 is provided.
[0586]
In addition, address information input via the instruction information input means Kb, address management means rw94 for managing each address, and commands in a predetermined format are issued based on the instruction commands input via the instruction information input means Kb. Command issuing means rw95, data organization means rw96 for organizing recording data and update data input via the instruction information input means Kb into data of a predetermined format, and protection for data protection of each cluster formed on the memory A protect data organizing unit rw 98 for organizing protect data in the information cluster PDC is provided.
[0587]
The data writing device WV9 includes a microcomputer (not shown) having a CPU and, for example, a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. Each of the programs is preferably stored in the ROM as a program, but it is also possible to configure a logic circuit or a part of the logic circuit.
[0588]
On the other hand, the data recording / reproducing apparatus TF9 is connected to the data exchanging part Btr9 and the data exchanging part Btr9, which are involved in data exchanging with the data writing apparatus WV9, and further connected to each part to transmit signals / data to each part and to send each part to each part. Control / transmission means tf91 for controlling, error management means tf92 for executing error management of data to be exchanged, and instruction input analysis means tf93 for analyzing the instruction input from the data sent from the data writing device WV9 and received by the data exchange unit Btr9. Based on the memory unit Mem9 for recording and holding data, recording means tf95 for recording the recording data or update data sent from the data writing device WV9 at the designated target address, and the target address sent from the data writing device WV9 Playback to read data from the address in the memory unit Mem9 Equipped with a stage tf94.
[0589]
The memory unit Mem9 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0590]
Furthermore, response data organizing means tf96 for organizing the results of execution of the error management means tf92, the instruction input analyzing means tf93, the recording means tf95 or the reproducing means tf94 into response data is provided.
[0591]
The data recording / reproducing apparatus TF9 is preferably composed entirely of a logic circuit or partly a logic circuit, but a microcomputer (not shown) having a CPU and a program that can be read and executed by the microcomputer are stored, for example. A ROM (read only memory) may be provided, and each of the above units may be stored in the ROM as a program.
[0592]
The data transfer units Atr9 and Btr9 are an antenna that generates or is sensitive to electromagnetic waves, and a transmission / reception circuit that supplies a current for generating electromagnetic waves to the antenna during transmission and extracts a signal from the sensitive current generated by the antenna during reception However, it may be a wired connection.
[0593]
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF9 receives the electromagnetic waves transmitted by the data writing device WV9, rectifies the carrier wave to generate the power supply voltage Vc, and supplies each part of the data recording / reproducing device TF9. The power supply circuit to be supplied can be provided. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF9 side, and not only the configuration of the data recording / reproducing apparatus TF9 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF9, and the degree of freedom in system construction can be improved.
[0594]
Although not shown, a clock circuit that extracts a clock signal from an electromagnetic wave transmitted from the data writing device WV9 may be provided on the data recording / reproducing device TF9 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF9 side or a transmission carrier to the data writing apparatus WV1 side.
[0595]
The error management unit rw92 and the error management unit tf92 include a data error correction function, but may be configured to have a data encryption / decryption function.
[0596]
The data writing system is characterized by the arrangement of data recorded in the memory unit Mem9 and file management, particularly address management. Hereinafter, these technical configurations will be described based on the memory map of the memory unit Mem9 shown in FIG. 29 and the flowchart shown in FIG.
[0597]
As shown in FIG. 29, the memory unit Mem9 is configured such that a plurality of clusters can be recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a cluster PDC and a system cluster SC in which address information of each cluster is recorded.
[0598]
Here, in this embodiment, the system cluster SC is always recorded at a fixed position of the memory unit Mem9, for example, at the head, and the protect information cluster PDC is always recorded at another fixed position of the memory unit Mem9, for example, at the end of the memory unit Mem9. Shall be. On the other hand, the user cluster UCi is recorded at an arbitrary recording length at an arbitrary position other than these on the memory.
[0599]
In the illustrated example, the user cluster is not recorded, and the protect information cluster PDC is recorded at addresses adPL to adPH in the memory end area. The recording length is arbitrary, but the read protection information PDr and the write protection information PDw recorded therein are always recorded at an address calculated backward by a predetermined offset оfst1 or оfst2 with reference to the address adPH (memory end). Shall be. Therefore, the address adPr of the read protection information PDr and the address adPw of the write protection information PDw are based on the address adPH.
adPr = adPH-оfst1
adPw = adPH-оfst2
Can be obtained. Here, the offsets оfst1 and оfst2 are predetermined values, and are the same value even in memory units having different capacities. Therefore, for the memory part of an arbitrary capacity, the address adPr of the read protection information PDr and the address adPw of the write protection information PDw are obtained from the address adPH at the end of the recordable area (which is easily obtained for each memory part). Can always be calculated.
In addition to the protection information, various information such as key data and file IDs can be recorded in the protection information cluster PDC.
[0600]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded in the memory is placed is recorded at a predetermined address adC.
[0601]
For example, in the cluster address table CAdT, the cluster number, head address, and tail address of the user cluster are recorded in a table format. Here, when adopting a configuration in which each user cluster UCi is recorded without a space following the end of the previous user cluster UCj, the head address is omitted as delimiter information, and only the tail address is recorded. it can. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0602]
Here, the free area on the memory unit Mem9 can be configured to manage addresses as a free area NU as shown in the figure.
[0603]
The command issued by the command issuing means rw95 of the data writing device WV9 includes a new recording command for recording data in the memory unit Mem9 in the data recording / reproducing device TF9 and instructing the formation of a new user cluster UCi, on the memory unit Mem9. An update recording command for instructing to rewrite and record the existing user cluster UCi as a new user cluster UCi, and a protection for instructing updating of the read protection information PDr and the write protection information PDw recorded at a fixed position in the memory unit Mem9. There are an information update command, a table read command for instructing reading of the cluster address table CAdT, a table update command for instructing update of the contents of the cluster address table CAdT, and the like.
[0604]
The type of instruction input data transmitted by the data writing device WV9 is the instruction input data composed of the command by the command issuing means rw95 and the target address by the address management means rw94, or the command and address management means rw94 by the command issuing means rw95. It consists of command input data composed of the target address by the data organization means rw96 and the record input or update data by the data organization means rw96, or the command by the command issuing means rw95, the target address by the address management means rw94, and the protection information update data by the protect data organization means rw98. Instruction input data, etc.
[0605]
These instruction input data are encoded by the error management means rw92 through the control / transmission means rw91 and sent out from the data transfer section Atr9.
[0606]
On the other hand, in the data recording / reproducing device TF9, the data transfer unit Btr9 receives the instruction input data transmitted from the data transfer unit Atr9 of the data writing device WV9, and the error management unit tf92 decodes / After the error is corrected, the command analysis is performed by the instruction input analysis unit tf93, and the recording unit tf95 or the reproduction unit tf94 is operated based on the analysis result to record / update or reproduce the data, table, or address.
[0607]
The reproduced data (for example, table) and the status associated with the processing are organized into response data by the response data organizing means tf96, encoded by the error management means tf92, and sent from the data sending / receiving unit Btr9.
[0608]
Next, in the data writing device WV9, after the data sending / receiving unit Atr9 receives the response data sent from the data sending / receiving unit Btr9, the error management unit rw92 performs decoding / error correction through the control / transmission unit rw91. The data processed and reproduced by the response processing means rw93 and the status associated with the processing are displayed on the display information output means DpL or output outside the apparatus.
[0609]
Next, the operation will be described with reference to FIG.
The operations of the data writing device WV9 and the data recording / reproducing device TF9 are executed according to a plurality of processes as described below. Each process is composed of a plurality of steps.
[0610]
In the cluster management process p91, in step 9000, instruction input data including the read command cmR and the target address adC is sent from the data writing device WV9 to the data recording / reproducing device TF9. The address adC is an entry point of the cluster address table CAdT.
[0611]
When the data recording / reproducing device TF9 receives this instruction input data, it reads the cluster address table CAdT from the address adC of the memory unit Mem9 and sends it to the data writing device WV9 in step 9001.
[0612]
In step 9002, a read command cmR and a target address adPw are sent from the data writing device WV9 to the data recording / reproducing device TF9. The address adD is a fixed entry point of the protect information address table PAdT.
[0613]
Upon receiving this instruction input data, the data recording / reproducing device TF9 reads the write protect information PDw from the address adPw of the memory unit Mem9 and sends it to the data writing device WV9 in step 9003.
[0614]
In the subsequent target address setting process p92, the cluster to which the target address ad1 belongs can be written by referring to the read write protection information PDw based on the write target address ad1 input from the input device Kb. Confirm.
[0615]
In the subsequent cluster writing process p93, in step 9010, the data writing device WV9 sends the write command cmW, the target address ad1, and the recording data d1 to the data recording / reproducing device TF9. The data recording / reproducing device TF9 records the recording data d1 at the address ad1 of the memory unit Mem9. Then, as status analysis process p96, status data stat is sent to data writing device WV9 in step 9040. The data writing device WV9 analyzes the status data stat and confirms that the recording of the recording data d1 has been performed.
[0616]
When this recording is completed, the data writing device WV9 confirms that there is further recording data, and again reads the data based on the writing target address ad2 input from the input device Kb as the target address setting process p92. With reference to the write protect information PDw, it is confirmed that the cluster to which the target address ad2 belongs is writable.
[0617]
Then, again as a cluster writing process p93, the data writing device WV9 sends a write command cmW, a target address ad2, and recording data d2 to the data recording / reproducing device TF9 in step 9011. The data recording / reproducing device TF9 records the recording data d2 at the address ad2 of the memory unit Mem9. Then, again, status data stat is sent to the data writing device WV9 in step 9040 as the status analysis process p96. The data writing device WV9 analyzes the status data stat and confirms that the recording of the recording data d2 has been performed.
[0618]
Thereafter, recording of the recording data d3 and d4 proceeds in the same manner, and when the write command cmW, the target address adN and the recording data dN are sent to the data recording / reproducing apparatus TF9 in step 9019, the data recording / reproducing apparatus TF9 stores the memory unit. Record data dN is recorded at address adN of Mem9. In this way, a file composed of the recording data d1 to dN is formed as the user cluster UC1.
As is clear from the above, the user can set the recording length and recording address of the user cluster UC1 to desired arbitrary values and record them on the memory unit Mem9.
[0619]
In the subsequent CAdT update writing process p94, in step 9020, the data writing device WV9 adds the write command cmW, the target address adC (fixed position), and the delimiter information of the user cluster UC1 to the data recording / reproducing device TF9. Send *. The data recording / reproducing device TF9 records the update data CAdT * at the fixed address adC of the memory unit Mem9. As a result, the cluster address table CAdT is updated.
[0620]
In the subsequent PDw *, PDr * update writing process p95, in step 9030, the data writing device WV9 sends the write command cmW, the target address adPw (fixed position), and the write protect information PDw to be updated to the data recording / reproducing device TF9. send. The data recording / reproducing device TF9 records the updated write protect information PDw at the fixed address adPw of the memory unit Mem9. As a result, the newly recorded write protect information of the user cluster UC1 is added to the write protect information PDw.
[0621]
Further, the data writing device WV9 sends a write command cmW, a target address adPr (fixed position), and read protection information PDr to be updated to the data recording / reproducing device TF9. The data recording / reproducing apparatus TF9 records the updated read protect information PDr at the address adPr of the memory unit Mem9. As a result, the newly recorded read protect information of the user cluster UC1 is added to the read protect information PDr.
[0622]
As described above, according to the configuration of this system, since the separation of user clusters can be set freely, the recording length of data to be recorded can be recorded at any desired length and divided into a plurality of clusters. There is no need to do. As a result, an unused dead area is not generated in the memory area, thereby improving the memory utilization efficiency. Furthermore, not only file management becomes easy, but also the protection information recording storage area can be reduced to one per file, and the protection information recording area can be saved.
[0623]
FIG. 31 is a block diagram of another embodiment of the data reading system according to the present invention. FIG. 32 is an explanatory diagram of the operation of the data reading system shown in FIG.
As shown in FIG. 31, the data reading system according to the present invention includes a data reading device RV10 and a data recording / reproducing device TF10.
[0624]
The data reader RV10 is connected to an instruction information input means Kb, a display information output means DpL for a user to input an instruction, a data exchanging section Atr10 engaged in data exchanging with the data recording / reproducing apparatus TF10, and a data exchanging section Atr10. Furthermore, the control / transmission means rw101 connected to each part for transmitting signals / data to each part and controlling the respective parts, the error management means rw102 for executing error management of data exchanged, and the data sent from the data recording / reproducing apparatus TF10 Response processing means rw103 for processing the response signal received by the sending / receiving unit Atr10 is provided.
[0625]
In addition, address information input via the instruction information input means Kb, address management means rw104 for managing each address, and commands in a predetermined format are issued based on the instruction commands input via the instruction information input means Kb Command issuing means rw105.
[0626]
The data reader RV10 includes a microcomputer (not shown) provided with a CPU and, for example, a ROM (read only memory) in which a program that can be read and executed by the microcomputer is stored. The program is preferably stored in the ROM as a program, but a logic circuit or a part of the program may be configured with a logic circuit.
[0627]
On the other hand, the data recording / reproducing apparatus TF10 is connected to the data exchanging unit Btr10 and the data exchanging unit Btr10 involved in data exchange with the data reader RV10. Control / transmission means tf101, error management means tf102 for executing error management of data to be exchanged, instruction input analysis means tf103 for analyzing the instruction input from the data sent from the data reader RV10 and received by the data exchange unit Btr10, data And a reproducing unit tf104 for reading data from the address of the memory unit Mem10 based on the target address sent from the data reading device RV10.
[0628]
The memory unit Mem10 is configured by, for example, a semiconductor memory cell array, but is not limited thereto, and may be configured by a magnetic sheet or an optical memory medium.
[0629]
Furthermore, response data organizing means tf106 for organizing the result of execution of the error management means tf102, the instruction input analyzing means tf103 or the reproducing means tf104 into response data is provided.
[0630]
The data recording / reproducing apparatus TF10 is preferably composed entirely of a logic circuit or a part of a logic circuit, but a microcomputer (not shown) having a CPU and a program that can be read and executed by the microcomputer are stored, for example. A ROM (read only memory) may be provided, and each of the above units may be stored in the ROM as a program.
[0631]
In addition, the data transmission / reception units Atr10 and Btr10 are preferably provided with an antenna and configured to perform data transmission / reception by transmitting and receiving electromagnetic waves, but may be wired connections.
In particular, in the configuration for receiving and transmitting electromagnetic waves, the data recording / reproducing device TF10 receives the electromagnetic waves transmitted by the data reading device RV10, and supplies the power obtained by rectifying this to the respective units of the data recording / reproducing device TF10. can do. According to this, it is not necessary to prepare, for example, a battery or a power source supplied from the outside on the data recording / reproducing apparatus TF10 side, and not only the configuration of the data recording / reproducing apparatus TF10 is simplified but also economical. Further, there is no restriction on the installation location of the data recording / reproducing apparatus TF10, and the degree of freedom of system construction can be improved.
[0632]
Although not shown, a clock circuit that extracts a clock signal from an electromagnetic wave transmitted from the data reading device RV10 may be provided on the data recording / reproducing device TF10 side. The clock thus obtained can be used as a control timing signal on the data recording / reproducing apparatus TF10 side or a transmission carrier to the data reading apparatus RV10 side.
[0633]
The error management unit rw102 and the error management unit tf102 include a data error correction function, but may be configured to have a data encryption / decryption function.
[0634]
Here, in the memory unit Mem10, it is assumed that a system cluster SC, an unrecorded area NU1, a user cluster UC1, an unrecorded area NU, and a protect information cluster PDC are arranged in order from the head as shown in FIG. Assume that cluster UC1 is read.
[0635]
The system cluster SC is always recorded at the top of the memory unit Mem10. Further, the protect information cluster PDC is always recorded at the end of the memory unit Mem10. On the other hand, the user cluster UC1 is recorded at an arbitrary recording length at an arbitrary position on the memory.
[0636]
The read protect information PDr is recorded at the address adPr of the protect information cluster PDC. This address adPr is always at a position offset by a predetermined amount from the endmost address of the memory unit Mem10. Therefore, if the recording capacity of the memory unit Mem10 is different, the address adPr has a different value in each memory unit, but an offset calculation is performed by a predetermined amount from the most terminal address of each memory unit (this is easily obtained for each memory unit). By doing so, the address adPr can be easily obtained.
[0637]
Further, the user cluster UC1 occupies addresses ad1 to adN, and data d1 to dN are recorded as one file.
[0638]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded on the memory unit Mem10 is recorded is recorded at a predetermined fixed address adC.
[0639]
The commands issued by the command issuing means rw105 of the data reader RV10 include a playback command for instructing data playback of the user cluster UCi recorded in the memory unit Mem10, a cluster address table CAdT, and reading of the read protect information PDr. There is a read command for instructing.
[0640]
The data reading device RV10 transmits instruction input data composed of a command issued by the command issuing unit rw105 and a target address issued by the address management unit rw104. This instruction input data is encoded by the error management means rw102 via the control / transmission means rw101 and sent out from the data transfer section Atr10.
[0641]
On the other hand, in the data recording / reproducing device TF10, the data transfer unit Btr10 receives the instruction input data transmitted from the data transfer unit Atr10 of the data reader RV10, and the error management unit tf102 decodes / errors through the control / transmission unit tf101. After the correction is made, the command is analyzed by the instruction input analysis means tf103, and the reproduction means tf104 is operated based on the analysis result to reproduce the data, table or address.
[0642]
The reproduced data and the status associated with the processing are organized into response data by the response data organization unit tf106, encoded by the error management unit tf102, and sent from the data transfer unit Btr10.
[0643]
Next, in the data reader RV10, the data transfer unit Atr10 receives the response data sent from the data transfer unit Btr10, and after decoding / error correction by the error management unit rw102 via the control / transmission unit rw21, The data processed and reproduced by the response processing unit rw103 and the status associated with the processing are displayed on the display information output unit DpL or output outside the apparatus.
[0644]
Next, the operation of the present data reading system will be described based on the flowchart shown in FIG.
The operations of the data reading device RV10 and the data recording / reproducing device TF10 are executed according to a plurality of processes as described below. Each process is composed of a plurality of steps.
[0645]
In the cluster management process p101, in step 10000, instruction input data including a read command cmR and a target address adC is sent from the data reading device RV2 to the data recording / reproducing device TF10. The address adC is a fixed entry point of the cluster address table CAdT.
When the data recording / reproducing apparatus TF10 receives this instruction input data, it reads the cluster address table CAdT from the fixed address adC of the memory unit Mem10, and sends it to the data reading apparatus RV10 in step 10001.
[0646]
In step 10002, a read command cmR and a target address adPr are sent from the data reading device RV10 to the data recording / reproducing device TF10. The address adPr is a fixed address of the read protection information PDr.
[0647]
When receiving the instruction input data, the data recording / reproducing apparatus TF10 reads the read protect information PDr from the address adPr of the memory unit Mem10 and sends it to the data reading apparatus RV10 in step 10003.
[0648]
In the subsequent target address setting process p102, based on the read target address ad1 input from the input device Kb, the read protection information PDr is referred to and it is confirmed that the cluster to which the target address ad1 belongs can be read. To do.
[0649]
In the subsequent cluster reading process p103, in step 10010, the data reading device RV10 sends a read command cmR and a target address ad1 to the data recording / reproducing device TF10. The data recording / reproducing device TF10 reproduces the data d1 recorded from the address ad1 of the memory unit Mem10, and sends the status data stat to the data reading device RV10 in step 10030, and at the same time, the reproduced data d1 is sent to the data reading device RV10 in step 10011. Send to.
[0650]
In the data reading device RV10, as the status analysis process p105, the received status data stat is analyzed, and when it is confirmed that the reproduction of the data d1 is normally performed, the reproduction data d1 is displayed or output.
[0651]
When this reproduction is completed, the data reading device RV10 refers to the read read protection information PDr based on the next target address ad2 input from the input device Kb, and confirms that the cluster to which the target address ad2 belongs can be read. Check.
[0652]
Then, again as a cluster writing process p103, the data reading device RV10 sends a read command cmR and a target address ad2 to the data recording / reproducing device TF10 in step 10012. The data recording / reproducing device TF10 reproduces the recording data d2 from the address ad2 of the memory unit Mem10. Then, again as status analysis process p105, status data stat is sent to the data reader RV10 at step 10030, and at the same time, reproduction data d2 is sent to the data reader RV10 at step 10013.
[0653]
In the data reading device RV10, as the status analysis process p105, the received status data stat is analyzed, and when it is confirmed that the reproduction of the data d2 has been normally performed, the reproduction data d2 is displayed or output.
[0654]
Thereafter, the reproduction of the recorded data d3 and d4 proceeds in the same manner. When the read command cmR and the target address adN are sent to the data recording / reproducing apparatus TF10 in step 10020, the data recording / reproducing apparatus TF10 addresses the address of the memory unit Mem10. Data dN is reproduced from adN and sent to data reader RV10. In this way, the file composed of the data d1 to dN constituting the user cluster UC1 is read.
[0655]
As described above, according to the data reading system according to the present embodiment, the existence of the recording data desired to be read on the memory unit can be confirmed from the cluster address table CAdT at the fixed position, and read from the fixed position. After confirming that the record data desired to be read can be read based on the protection information, the desired record data can be reliably accessed regardless of the recording position and the record length by reading the desired record data from the memory unit. . In addition, since the protect information is recorded at the fixed position, the protect information can be easily accessed, and thus the data recorded in the memory unit of the data recording / reproducing apparatus can be easily protected.
[0656]
FIG. 33 is a block diagram showing the configuration of another embodiment of the data writing / reading apparatus according to the present invention.
The data writing / reading device RW11 transmits, for example, an electromagnetic wave to the above-described data recording / reproducing device TF9 or TF10 (see FIG. 28 or FIG. 31; hereinafter, only the data recording / reproducing device TF9), and the data recording / reproducing device. While supplying electric power to TF9, instruction input data is transmitted to the data recording / reproducing apparatus TF9 by electromagnetic waves, and a response signal is received from the data recording / reproducing apparatus TF9.
[0657]
The data writing / reading device RW11 controls the operation of each means and the control means rw1101 for exchanging data with each means, and the user inputs instruction data (command, target address, recording data, update data, etc.) Keyboard Kb and input interface I-Bf, input data, data read from data recording / reproducing device TF3, or output interface O-Bf that mediates communication contents, liquid crystal connected to output interface O-Bf A display device DpL is provided.
[0658]
Further, a command issuing unit rw1102 that issues a command in a predetermined format based on a command input from the user, an address management unit that calculates and manages entry addresses of various tables and protect information including a target address input by the user. rw 1103, data organization means rw 1108 for organizing data in a predetermined format based on the recording data input from the user, update data in the predetermined format based on update data (PDr *, PDw *) of the protection information input from the user Protecting information updating means rw1109 for performing composition, instruction input data based on the data from the command issuing means rw1102, address management means rw1103, data organizing means rw1108, and protection information updating means rw1109. It comprises instruction input data compiling means rw1104 organizing.
[0659]
Further, the output data of the instruction input data organizing means rw1104 is subjected to error encoding processing and input to the transmission / reception circuit TR, and the response data received by the transmission / reception circuit TR is subjected to error correction processing and stored in the buffer memory Buf. An error management means ER and a transmission / reception circuit TR for receiving a signal from the error management means ER and transmitting an electromagnetic wave from the antenna ANT and generating a response signal from the electromagnetic wave captured by the antenna ANT are provided.
[0660]
Furthermore, response processing means rw 1105 is provided for extracting various information, address information, commands, and the like from the data stored in the buffer memory Buf. Information extracted by the response processing means rw 1105 includes a cluster address table CAdT, write protect information PDw, read protect information PDr, retry command rty, reproduction data Rо, status stat, and the like.
[0661]
Further, a cluster determination unit rw1106 that determines a cluster based on the input target address and the cluster address table CAdT supplied from the response processing unit rw1105 and supplies the cluster number to the permission confirmation unit rw1107, the cluster number, Permission confirmation means rw1107 is provided that confirms writing or reading permission based on the read protection information PDr or write protection information PDw supplied from the response processing means rw1105 and supplies the result to the command issuing means rw1102.
[0662]
The address management unit rw1103 has a built-in fixed address in which the cluster address table CAdT is recorded and an offset value. As described in the description of FIG. 29, the offset value is a value for calculating the recording address of the read protection information PDr and the recording address of the write protection information PDw from the end address of each memory unit.
The data recording / reproducing apparatus TF9 or the like combined with this apparatus detects the most terminal address of each memory unit by hardware. Therefore, the address management means rw1103 can be easily obtained from each data recording / reproducing apparatus TF9. On the other hand, since the address management means rw1103 has an offset value built-in, the above calculation is facilitated, and it has a function of transmitting a PDr address and a PDw address. In FIG. 33, “PDr address” and “PDw address” are displayed including the offset value and the calculation process.
[0663]
The retry command rty output from the response processing unit rw1105 is supplied to the command issuing unit rw1102, and the status stat is supplied to the control unit rw1101.
[0664]
The data writing / reading device RW11 further includes a microcomputer (not shown) and a ROM (read only memory) or flash memory or an EEPROM (electrically erasable programmable read memory). That is, control means rw1101, command issuing means rw1102, address management means rw1103, instruction input data organization means rw1104, response processing means rw1105, cluster confirmation means rw1106, permission confirmation means rw1107, data organization means rw1108, protect information update means rw1109, error The management means ER is stored as a program that can be read and executed by the microcomputer.
[0665]
FIG. 34 is an operation flowchart of the data writing / reading device RW11. The operation will be described below with reference to FIG.
[0666]
When an input is made by the user via the keyboard Kb and the occurrence of an instruction input is detected by the control unit rw1101 (step S1102), the control unit rw1101 is a command issuing unit rw1102, an address management unit rw1103, and an instruction input data organization unit rw1104. And an instruction to read the cluster address table CAdT from the memory unit Mem9 of the data recording / reproducing apparatus TF9 is transmitted to the data recording / reproducing apparatus TF9 (step S1104). Here, the address management unit rw1103 outputs a built-in CAdT address (a recording address on the memory unit Mem9 of the cluster address table CAdT, which is predetermined). Further, the data generated by the instruction input data organization unit rw1104 is subjected to an encoding process via the error management unit ER.
[0667]
Next, the arrival of the cluster address table CAdT returned from the data recording / reproducing apparatus TF9 is awaited (step S1106). When the response signal arrives, the control unit rw1101 drives the error management unit ER, which decodes the response signal and stores it in the buffer memory Buf. Here, the control unit rw1101 drives the response processing unit rw1105, and the response processing unit rw1105 confirms that it is the cluster address table CAdT from the response signal stored in the buffer memory Buf, and sets the cluster address table CAdT. Input to the cluster confirmation means rw1106. The cluster determination unit rw 1106 determines the cluster to which this address belongs from the input target address and the cluster address table CAdT (step S1108).
[0668]
Subsequently, the control unit rw1101 drives the command issuing unit rw1102, and the command issuing unit rw1102 verifies the command input from the user and returns the result to the control unit rw1101.
[0669]
In step S1110, if the command is a write instruction (A34), the control unit rw1101 drives the command issuing unit rw1102, address management unit rw1103, and instruction input data organization unit rw1104 to give a read instruction for the write protect information PDw. A transmission is made to the data recording / reproducing apparatus TF9 (step S1112).
[0670]
Here, the address management means rw1103 is the recording address (PDw address) of the write protect information PDw calculated from the end address of the memory unit Mem9 obtained from the data recording / reproducing apparatus TF9, the built-in offset value and the calculation process. ) Is output to the instruction input data organization means rw1104.
[0671]
Then, it waits for the sending of the write protection information PDw from the data recording / reproducing apparatus TF9 (step S1114). When the sending of the write protection information PDw is received by the buffer memory Buf, the permission confirmation means rw1107 is driven and the permission confirmation means rw1107. Checks whether the confirmed cluster is permitted to be written based on the confirmed cluster number obtained from the cluster confirming means rw 1106 and the write protect information PDw (step S1116). The confirmation result is notified to the control means rw1101 and the command issuing means rw1102.
[0672]
When the write permission is made, the control means rw1101 drives the command issuing means rw1102, address management means rw1103, and instruction input data organizing means rw1104, and the command issuing means rw1102 drives the data organizing means rw1108, thereby writing instruction command The target address and the recording data are transmitted to the data recording / reproducing apparatus TF9, and the data recording / reproducing apparatus TF9 writes the recording data to the target address of the memory unit Mem9 (step S1118).
[0673]
Next, when response information is sent from the data recording / reproducing apparatus TF9 and stored in the buffer memory Buf, the response processing means rw1105 extracts the status code stat from the response signal and inputs it to the control means rw1101. The control unit rw1101 examines the status code stat (step S1120), and if the response is normal completion of writing (A341), the process proceeds to step S1122, and if the file data to be written is completed, the cluster address table is updated to CAdT *. Then, an instruction to write the cluster address table CAdT * is transmitted to the data recording / reproducing apparatus TF9.
[0674]
Further, an update input command of the write protect information PDw * or / and the read protect information PDr * is obtained by the user and an update input command of the write protect information PDw * or / and the read protect information PDr * is obtained to the data recording / reproducing apparatus TF9. Is transmitted together with the update data (step S1124), and the response information of the normal end of writing sent from the data recording / reproducing apparatus TF9 is obtained to complete a series of operations. If the response requests a retry in step S1120 (A342), the process returns to step S1118 and retransmits. If the response is an error notification in step S1120 (A343), the series of operations is stopped here.
[0675]
On the other hand, if the command is a read instruction in step S1110, the control means rw1101 drives the command issuing means rw1102, address management means rw1103, and instruction input data organizing means rw1104 to give a read instruction for the read protect information PDr to the data recording / reproducing apparatus. A call is sent to TF9 (step S1130).
[0676]
Here, the address management means rw1103 is the recording address (PDr address) on the memory part of the read protection information PDr calculated from the endmost address of the memory part Mem9 obtained from the data recording / reproducing device TF9, the built-in offset value and the arithmetic process. Is output to the instruction input data organization means rw1104.
[0677]
Then, it waits for transmission of the read protection information PDr from the data recording / reproducing apparatus TF9 (step S1132). When the buffer memory Buf receives the read protection information PDr, the permission confirmation means rw1107 is driven, and the permission confirmation means rw1107 Based on the confirmed cluster number obtained from the confirming means rw 1106 and the read protect information PDr, it is confirmed whether or not the confirmed cluster is permitted to be read (step S1134). The confirmation result is notified to the control means rw1101 and the command issuing means rw1102.
[0678]
If the reading is permitted, the control unit rw1101 drives the command issuing unit rw1102, the address management unit rw1103, and the instruction input data organization unit rw1104, whereby the reading instruction command and the target address are transmitted to the data recording / reproducing apparatus TF9. In the data recording / reproducing apparatus TF9, desired data is read from the target address of the memory unit Mem9 (step S1136).
[0679]
Next, when response information is sent from the data recording / reproducing apparatus TF9 and stored in the buffer memory Buf, the response processing means rw1105 extracts the status code stat from the response signal and inputs it to the control means rw1101. The control unit rw1101 examines the status code stat (step S1138), and if the response is a normal end of reading (B341), the process proceeds to step S1140, where reproduction data is output and a series of operations is completed. If the response requests a retry in step S1138 (B342), the process returns to step S1136 and retransmits. If the response is an error notification in step S1138 (B343), the series of operations is stopped here.
[0680]
As described above, according to the data writing / reading device RW11 of the present embodiment, at the time of data writing, the cluster address table CAdT recorded at the fixed position of the memory unit of the data recording / reproducing device, and the end of the memory unit After reading the write protection information PDw recorded at the fixed position from the unit and confirming that the desired recording position where the recording data is recorded is writable, the desired recording data is stored in the memory of the data recording / reproducing apparatus. Write to the desired location of the part. Further, after the recording data is written, the cluster address table CAdT at a fixed position in the memory unit is updated. Further, after the recording data is written, the write protect information PDw at the fixed position is updated from the end of the memory unit.
[0681]
Therefore, the cluster address table CAdT is obtained by accessing the fixed position in the subsequent processing, whereby the recording position of the recording data in the memory unit can be easily obtained. Further, the protection information is obtained by accessing a fixed position from the end of the memory unit, thereby making it easy to confirm the write permission at an arbitrary position on the memory means.
[0682]
As described above, since desired recording data is recorded at a desired position in the memory unit of the data recording / reproducing apparatus, management of an unused area in the memory unit is facilitated, and free space is prevented from being generated. Utilization efficiency can be improved.
[0683]
At the time of reading, the cluster address table CAdT recorded at a fixed position in the memory unit of the data recording / reproducing apparatus and the read protection information PDr recorded at a fixed position from the end of the memory unit are obtained, and then desired. Since the desired data is read from the memory unit of the data recording / reproducing apparatus after confirming that the reading position is readable, the data can be reliably read even if the recording position and the recording length of the data desired to be read are arbitrary. Desired data can be read. In addition, since the read protect information PDr is recorded at a fixed position, it can be easily accessed, and data protection is facilitated.
[0684]
FIG. 35 is a flowchart of another embodiment of the file recording method and file playback method according to the present invention. As shown in the figure, according to the method of the present embodiment, when a target address input by the user is received (step S3502), the cluster address table CAdT at a predetermined position is read (step S3504), and the target It is verified whether the address actually exists on the cluster address table CAdT (step S3506).
[0685]
If the target address does not exist, an error notification is issued (step S3516), and the process is terminated.
If the target address actually exists, the type of instruction input input by the user is confirmed (step S3510).
[0686]
If the instruction input is a write instruction, the write protect information PDw present at the fixed position is read from the end of the memory (step S3512). Here, the write protect information PDw is always placed at a fixed position as measured from the end of the memory.
[0687]
Next, it is confirmed from the write protect information PDw whether or not the target address area is permitted to be written (step S3514). If writing is prohibited, an error notification is issued (step S3516). If the writing is permitted, the recording data is recorded at the target address (step S3518). Here, the user can record data of a desired recording length.
[0688]
If more file data exists (step S3520), the address is updated (incremented) (step S3522), and the process returns to step S3514.
[0689]
If the file data is completed (step S3520), the recorded file is set as the latest cluster (step S3524). Next, the cluster address table CAdT is updated (step S3526). This is a new cluster address table CAdT * with the latest cluster information added.
[0690]
Next, if there is an instruction from the user for the read protection information PDr or / and the write protection information PDw regarding the latest cluster (step S3528), the read protection information PDr * or / and the write protection information PDw * are updated (step S3530). ). This sets permission and prohibition of reading or rewriting of data of the latest cluster.
[0691]
On the other hand, if there is no instruction from the user for the read protection information PDr or / and the write protection information PDw regarding the latest cluster in step S3528, the processing ends. Alternatively, when there is no instruction here, the read protection information PDr and / or the write protection information PDw regarding the latest cluster may be updated as a default value.
[0692]
On the other hand, if the instruction input is a read instruction in step S3510, the read protect information PDr at the end position of the memory is read (step S3532). Here, the read protection information PDr is always placed at a predetermined position at the end of the memory.
Next, it is confirmed from the read protect information PDr whether the target address area is permitted to be read (step S3534). If reading is prohibited, an error notification is issued (step S3516). If it is read permission, the data of the target address is read (step S3536).
[0693]
If there is more file data to be read (step S3538), the address is updated (incremented) (step S3540), and the process returns to step S3534. If the file data to be read is completed (step S3538), the process is terminated.
[0694]
FIG. 36 is an explanatory diagram of an embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
[0695]
As shown in the figure, a computer-readable recording medium MeD3 on which data according to the present embodiment is recorded is a memory cell Mcell3 on which data can be recorded and reproduced, and is connected to the memory cell Mcell3 for writing. A control unit Ctr for controlling reading / reading, a connector Tmn connected to the control unit Ctr, an R / W terminal to which a writing / reading selection signal is given from an external device, and an external device And an DI / O terminal for transmitting / receiving write / read data between external devices.
[0696]
The memory cell Mcell3 is composed of, for example, a nonvolatile semiconductor memory EEPROM represented by a flash memory, and a plurality of clusters are recorded with one data block as one cluster. In the plurality of clusters, a plurality of user clusters UCi (i = 1, 2, etc.) in which a user records a file having a desired recording length at a desired position, and protection information in which data protection information of each cluster is recorded There is a system cluster SC in which cluster PDC and address information of each cluster are recorded.
[0697]
The system cluster SC is always recorded at a fixed position of the memory cell Mcell3, for example, at the head. On the other hand, the user cluster UCi is recorded at an arbitrary position on the memory cell with an arbitrary recording length.
[0698]
Further, the protect information cluster PDC is recorded at the end position of the memory cell Mcell3. In the example shown in the figure, the protect information cluster PDC is recorded in the address areas adPL to adPH with the most terminal address of the memory cell Mcell3 as adPH. The read protection information PDr and the write protection information PDw recorded therein are recorded at addresses shifted by a predetermined offset value оfst1 or оfst2 with reference to the endmost address adPH. Therefore, the address adPr of the read protection information PDr and the address adPw of the write protection information PDw are based on the address adPH.
adPr = adPH-оfst1
adPw = adPH-оfst2
It can be calculated with.
[0699]
Therefore, the read protection information PDr and the write protection information PDw are always at fixed positions from the most terminal position (most terminal portion) of the memory cell Mcell3.
In addition to the protection information, various information such as key data and file IDs are recorded in the protection information cluster PDC.
[0700]
In the system cluster SC, a cluster address table CAdT on which at least delimiter address information of each user cluster UCi recorded on this memory cell is recorded is recorded at a predetermined fixed address adC.
[0701]
In the cluster address table CAdT, the cluster number, head address, and tail address of each user cluster UCi are recorded in a table format. Here, when a configuration is adopted in which each user cluster is recorded without a space following the end of the previous user cluster, the head address is omitted as delimiter information and only the tail address is recorded. it can. This is suitable when the total memory capacity is limited and management data needs to be reduced.
[0702]
Since data is recorded as described above, even if a user cluster having an arbitrary recording length is formed at an arbitrary position on the memory cell Mcell3, a cluster address table CAdT recorded at a fixed position and easily accessible. By referring to, it is possible to easily obtain an entry point of each user cluster and to access a desired user cluster.
[0703]
Similarly, the read protection information PDr or the write protection information PDw can be easily accessed by being located at a fixed position from the end of the memory cell Mcell3, and thus it is possible to easily confirm the writing / reading permission.
[0704]
This recording medium MeD3 is connected to a data writing / reading device RW12 according to the present invention shown in FIGS. 37 and 38 to be described later, and writing or reading is performed.
[0705]
In FIG. 36, the memory cell Mcell3 is configured as a semiconductor memory cell array and includes a control unit and a connector. However, the recording medium of the present invention is not limited to this configuration, and the magnetic card does not include a control unit. In addition, a configuration using a magnetic sheet or an optical memory medium without a control unit or a connector is also possible.
[0706]
FIG. 37 is a block diagram showing a configuration of an embodiment of a data writing / reading apparatus according to the present invention.
The data writing / reading device RW12 is connected to, for example, the aforementioned recording medium MeD3 (see FIG. 36) to perform writing / reading.
[0707]
The data writing / reading device RW12 controls the operation of each built-in means, and also controls the control means rw1201 for exchanging data with each means, and the user designates the instruction data (command, target address, recording data, update data, etc.) A keyboard Kb and an input interface I-Bf, an output interface O-Bf that mediates each input data and data read from the recording medium MeD1, a liquid crystal display device DpL connected to the output interface O-Bf, A connector Tmn for connecting the recording medium MeD3 is provided.
[0708]
Further, it receives the recording data Dw input from the user or receives the update data (PDr *, PDw *) of the protection information input from the user, and receives these data from the recording medium MeD3 based on the command input from the user. Memory recording / reproducing means rw1202, memory recording / reproducing means for reading the cluster address table CAdT, the read protection information PDr, the write protection information PDw, and the reproduction data Rо from the recording medium MeD3 on the basis of the command written to the user or the user A data organization means rw1206 is provided that exchanges data with rw1202 to organize data. The memory recording / reproducing means rw1202 is connected to the connector Tmn.
[0709]
Further, it includes an address management unit rw1203 that receives a target address input from the user, calculates and manages the target address, entry addresses of various tables and protect information, and outputs the determined address to the memory recording / reproducing unit rw1202.
[0710]
Further, a cluster confirmation unit rw1204 that confirms the cluster based on the input target address and the read cluster address table CAdT and supplies the cluster number to the permission confirmation unit rw1205, the cluster number, and the read protection that has been read Permission confirmation means rw1205 is provided which confirms the permission of writing or reading based on the information PDr or the write protection information PDw and supplies the result to the memory recording / reproducing means rw1202.
[0711]
The address management unit rw1203 contains a fixed address in which the cluster address table CAdT is recorded and an offset value. The offset value is a value for calculating the recording address of the read protection information PDr and the recording address of the write protection information PDw from the end address of each recording medium.
[0712]
The endmost address of each recording medium is detected by hardware, so that the address management means rw1203 can easily obtain the endmost address. On the other hand, the address management means rw1203 incorporates an offset value. Therefore, the above calculation is facilitated, and the PDr address and the PDw address are transmitted. In FIG. 37, “PDw address” and “PDr address” are displayed including the offset value and the calculation process.
[0713]
Further, each of the data writing / reading device RW12 includes a microcomputer (not shown) and ROM (read only memory) or flash memory or EEPROM (electrically erasable programmable read memory). That is, the control unit rw1201, the memory recording / reproducing unit rw1202, the address management unit rw1203, the cluster determination unit rw1204, the permission confirmation unit rw1205, and the data organization unit rw1206 are all stored as programs that can be read and executed by the microcomputer.
[0714]
FIG. 38 is an operation flowchart of the data writing / reading device RW12. The operation will be described below with reference to FIG.
[0715]
When an input is made from the user via the keyboard Kb and the occurrence of an instruction input is detected by the control means rw1201 (step S1202), the control means rw1201 drives the memory recording / reproducing means rw1202 and the address management means rw1203 to record the memory. The reproducing unit rw120 reads the cluster address table CAdT from the fixed address adC of the memory cell (hereinafter referred to as a memory unit) of the recording medium MeD3 (step S1204).
[0716]
Here, the address management means rw1203 sends the built-in CAdT address (predetermined fixed address adC) and temporarily stores the target address of the instruction input. On the other hand, the memory recording / reproducing means rw1202 temporarily stores an instruction input command. In the case of a write instruction, recording data Dw is further provisionally stored.
[0717]
When the memory recording / reproducing means rw1202 reads the cluster address table CAdT, it inputs this cluster address table CAdT to the cluster determining means rw1204. The cluster confirmation unit rw 1204 determines the cluster to which this address belongs from the input target address and the cluster address table CAdT, and sends the cluster number to the permission confirmation unit rw 1205 (step S1206).
[0718]
Next, the memory recording / reproducing means rw 1202 confirms whether the temporarily stored command is written or read (step S1208). If the command is a write instruction (A38), the process proceeds to step S1210.
[0719]
Next, the control unit rw1201 drives the memory recording / reproducing unit rw1202 and the address management unit rw1203 in the same manner as described above, and reads the write protect information PDw from the memory unit of the recording medium MeD3 (step S1210). At this time, the address management means rw1203 calculates the PDw address and sends it to the memory recording / reproducing means rw1202.
[0720]
When the memory recording / reproducing means rw1202 reads the write protection information PDw, the memory recording / reproducing means rw1202 supplies the write protection information PDw to the permission confirmation means rw1205 together with information indicating that the command is a write instruction based on the temporarily stored command. Then, the permission confirmation unit rw 1205 confirms that the command is a write instruction, and based on the confirmed cluster number and the write protection information PDw obtained from the cluster confirmation unit rw 1204, whether the confirmed cluster is permitted to be written. Is confirmed (step S1212). The confirmation result is notified to the memory recording / reproducing means rw1202 and the control means rw1201.
[0721]
If the writing is permitted, the control unit rw1201 drives the memory recording / reproducing unit rw1202 and the address management unit rw1203, and the memory recording / reproducing unit rw1202 writes the recording data Dw to the target address of the memory unit of the recording medium MeD3 (step S1214). ).
[0722]
By writing the recording data Dw, a new user cluster is formed in the memory unit of the recording medium MeD3. Therefore, the delimiter address information of the new user cluster is added, and the cluster address table CAdT is updated to CAdT * (step S1216).
[0723]
Here, if the user inputs update input of the write protection information PDw * or / and the read protection information PDr * regarding the new cluster, the write protection information PDw or / and the read protection information PDr is updated based on these. (Step S1218). If there is no update input from the user, the write protect information PDw and / or the read protect information PDr are updated using default values.
[0724]
On the other hand, if the command is read in step S1208,
The control unit rw1201 drives the memory recording / reproducing unit rw1202 and the address management unit rw1203 as described above, and reads the read protect information PDr from the memory unit of the recording medium MeD3 (step S1220).
[0725]
When the memory recording / reproducing means rw 1202 reads the read protection information PDr, the memory recording / reproducing means rw 1202 supplies the read protection information PDr together with information indicating that the command is a read instruction to the permission confirmation means rw 1205. The permission confirmation means rw 1205 receives the command as a read instruction. After confirming that it is present, it is confirmed whether or not the confirmed cluster is permitted to be read based on the confirmed cluster number obtained from the cluster confirming means rw1204 and the read protection information PDr (step S1222). The confirmation result is notified to the memory recording / reproducing means rw1202 and the control means rw1201.
[0726]
If the reading is permitted, the control unit rw1201 drives the memory recording / reproducing unit rw1202 and the address management unit rw1203, and the memory recording / reproducing unit rw1202 reads the reproduction data Dr from the target address of the memory unit of the recording medium MeD3 (step S1224). ). Next, the memory recording / reproducing means rw1202 outputs this as a reproduction output R0 from this apparatus (step S1226).
[0727]
As described above, according to the data writing / reading device RW12 of the present embodiment, at the time of data writing, the cluster address table CAdT recorded at the fixed position of the recording medium MeD3 and the memory end of the recording medium MeD3 are used. After reading the write protect information PDw recorded at the fixed position and confirming that the desired recording position where the recording data is recorded is writable, the desired recording data is transferred to the desired position of the recording medium MeD3. Write. Further, after the recording data is written, the cluster address table CAdT at the fixed position of the memory of the recording medium MeD3 is updated. Further, after the recording data is written, the write protect information PDw at the fixed position is updated from the end of the memory.
[0728]
Therefore, the cluster address table CAdT is obtained by accessing the fixed position in the subsequent processing, whereby the recording position of the recording data on the recording medium MeD3 can be easily obtained. Further, protect information can be obtained by accessing a fixed position from the end of the memory, thereby making it easy to confirm permission to write at an arbitrary position on the recording medium MeD3.
[0729]
As described above, since desired recording data is recorded at a desired position on the recording medium MeD3, management of the unused area of the recording medium MeD3 is facilitated, and free space is prevented from being generated, thereby improving memory utilization efficiency. Can be made.
[0730]
At the time of reading, the cluster address table CAdT recorded at the fixed position of the recording medium MeD3 and the read protection information PDr recorded at the fixed position from the end of the memory are obtained, and then the desired reading position can be read. Since the desired data is read from the recording medium MeD3 after confirming the presence, the desired data can be reliably read even if the recording position and the recording length of the data desired to be read are arbitrary. In addition, since the read protection information PDr is recorded at a fixed position from the end of the memory of the recording medium MeD3, it can be easily accessed even if the capacity of the recording medium MeD3 is different, and data protection is facilitated.
[0731]
As is apparent from the above, according to the present invention, a file to be recorded in the memory means (memory unit Mem or recording medium MeD) can be recorded with an arbitrary recording length, and one cluster is organized with this recording length. be able to. That is, one file corresponds to one arbitrary length cluster, and thus one file is not divided into a plurality of fixed length clusters and recorded as in the prior art. As a result, an unused free area does not occur in each cluster, and the memory utilization efficiency is improved. Furthermore, since the file is not divided, file management in file access or the like becomes easy.
[0732]
In addition, since data recording position information (cluster address table CAdT) indicating the position of the recorded cluster is recorded at a predetermined fixed position (in the system cluster SC) on the memory means, the data recording position at this predetermined position By referring to the information, entry to a file having an arbitrary recording length recorded at an arbitrary position on the memory means can be facilitated, and thus file access can be easily performed.
[0733]
Furthermore, by making the file and the cluster have a one-to-one correspondence, not only file management is facilitated, but also a recording storage area for write / read protection information (read protection information PDr and write protection information PDw) is set to one. Only one file can be stored for each file (for example, only one bit for each file), and the area can be saved.
[0734]
Furthermore, in the configuration of the present invention, a protect information cluster (PDC) can be provided at an arbitrary position, and the recording position information (protect information address table) of the protect information cluster can be provided at a predetermined fixed position (in the system cluster SC). PAdT) is placed, and by referring to the recording position information, it is possible to easily access the protect information cluster regardless of the position.
[0735]
Further, since the position of the protect information cluster can be arbitrarily moved, compatibility can be maintained even if the recording capacity of the memory unit or the recording medium (collectively “memory means”) is different.
Therefore, it is possible to implement a file system that can protect the entire memory area without increasing the area allocated to record the data protection information for the memory means having different recording capacities.
[0736]
Furthermore, since the position of the protect information cluster can be arbitrarily moved, for example, recording of the file is started from an arbitrary position in the memory, and the recording progresses to the area of the protect information cluster which has already been arranged. Even when the file is divided, the file division can be avoided by moving the position of the protect information cluster backward.
[0737]
Further, in the present invention, the protect information cluster is placed at the end of the memory area, and the specific information in the protect information cluster is set to a predetermined amount (offset value: the same in any memory) with reference to the end of the memory area. Value), the position of this information becomes a fixed position with reference to the end of the memory area, and is therefore a fixed distance from the end regardless of the recording capacity of the memory. The same processing can be performed. In addition, in the case of a device that uses a memory, the terminal address of each memory is always known for management, so that it can be easily obtained and no special preparation is required. As described above, since the endmost address is given and the offset value is determined in advance, an index (for example, a protect information address table) for indicating the position of specific information in the protect information cluster is separately provided. This eliminates the need for preparation, eliminates an extra area, and effectively uses a limited memory area.
[0738]
Further, in the present invention, the protection information cluster is always written after the last address of the user cluster recorded most recently, so that an index for indicating the recorded position of the protection information cluster is separately prepared. This eliminates the need to eliminate the extra area and to effectively use a limited memory area.
[0739]
Further, at the time of reading / reproducing, it is possible to efficiently read / reproduce data recorded at an arbitrary position on the memory means, and the protection information can be easily checked.
[0740]
【The invention's effect】
As described above in detail, according to the file recording method of the first aspect of the present invention, a file is recorded at an arbitrary position in the memory means to form a cluster, and the recording position of the cluster is recorded. Is recorded at a predetermined position of the memory means, at least protect information indicating whether or not writing is possible for each cluster, and recorded at an arbitrary position, and protect recording position information indicating the recording position of the protect information Since the file and the cluster have a one-to-one correspondence, even a file having a long recording length is organized as one cluster. Accordingly, since one file is not divided into a plurality of clusters, file management becomes easy. Furthermore, since an unused recording area is not generated in the cluster, the utilization efficiency of the recording area can be improved.
[0741]
Further, since the position is fixed by recording the data recording position information at a predetermined position on the memory means, the data recording position information can be easily referred to, and an arbitrary recording length recorded at an arbitrary position on the memory means. File access is easily possible.
[0741]
Furthermore, since the protect information of the recorded file is recorded at an arbitrary position on the memory means, and the protect recording position information indicating the position is recorded at a predetermined position on the memory means, the position is fixed. The position information can be easily referred to, and access is easily possible regardless of the position of the protect information on the memory means. Thus, by placing the protect information at an arbitrary position, compatibility between memory means having different recording capacities can be realized.
[0743]
Further, even a file having a long recording length is organized as one cluster without being divided, so that only one piece of protection information is set for this cluster, and an area necessary for recording the protection information. As a result, the limited recording capacity can be effectively used.
[0744]
According to the file reproduction method of the second aspect of the present invention, the cluster is determined from the data recording position information at the predetermined position, and the protect information is read by obtaining the position information of the protect information from the protect recording position information at the predetermined position. Since the desired file is read from the cluster of interest after confirming that the cluster can be read based on this protection information, this ensures that the desired cluster is accessed regardless of the recording position and recording length of the desired file. it can. In addition, even if the protection information is recorded at an arbitrary position, the recording position can be easily identified and the protection information can be easily accessed, so that the file can be reliably protected.
[0745]
According to a third aspect of the present invention, there is provided a data writing system comprising: recording data; data recording position information in which position information of each recording data is organized; and write protection information for each recording data. A data recording / reproducing apparatus capable of recording and exchanging data with an external apparatus, and a data writing apparatus capable of exchanging data with the data recording / reproducing apparatus. Means for specifying and sending information, and means for enabling sending of the recorded data to the data recording / reproducing apparatus, enabling protection data defining at least one of readability and writeability of the recorded data to be recorded and reproduced. The apparatus records the recorded data at a designated position and records, updates, or reproduces the data recording position information at the first fixed position. And the protect information updated by the protect information or the sent protect data are recorded at an arbitrary position on the memory means, and the protect recording position information describing the recording position of the protect information is recorded at the second fixed position. Means for recording or reproducing, and means for reproducing protect information based on protect recording position information.
[0746]
As a result, arbitrary recording data can be recorded at a specified position, and this recording position is recorded as data recording position information at a predetermined first fixed position on the memory means. By accessing, the data recording position information can be easily obtained, whereby the recording state on the memory means can be confirmed.
[0747]
Similarly, arbitrary protect information can be recorded at an arbitrary position, and this recording position is described in the protect recording position information and recorded at a predetermined second fixed position on the memory means. Therefore, the protected recording position information is obtained by accessing the second fixed position, the position where the protected information is recorded is obtained by the protected recording position information, and the protected information is obtained by accessing this position. . In other words, the protect information at an arbitrary position can be obtained via the protect recording position information. However, since this protect recording position information is recorded at a fixed position, it is very easy to access, so that the protection information can be easily obtained. It becomes.
[0748]
As described above, arbitrary recording data can be recorded at an arbitrary designated position, and protect information can also be recorded at an arbitrary position. Therefore, management of unused areas on the memory means is facilitated, and free areas are generated. Memory usage efficiency can be improved. Further, there is an effect that compatibility between memory means having different recording capacities can be maintained.
[0749]
Further, since the protect information can be recorded at an arbitrary position, the protect information can be moved to an arbitrary position, so that the recording of the recording data proceeds and touches the area where the existing protect information is recorded. Even in this case, by moving the position of the protect information, the recording data can be prevented from being divided, and the access efficiency of the recording data can be improved. Even if the position of the protect information is moved, it can be dealt with only by updating the description of the protect recording position information. Since the position of the protected recording position information is always at the second fixed position, there is no change in the access process. Has the effect of smoothing.
[0750]
Further, since even long recording data can be recorded without interruption, only one piece of protection information is required, so that an area allocated for recording protection information can be saved, and the memory utilization efficiency can be further improved. .
[0751]
According to a fourth aspect of the present invention, there is provided a data reading system capable of reproducing data recorded in a built-in memory means, capable of transferring data, and reading data capable of transferring data with the data recording / reproducing apparatus. And recording data of an arbitrary recording length is recorded at an arbitrary position on the memory means, and at least the protect information for specifying whether or not each of the recorded recording data is readable is at an arbitrary position. In addition, data recording position information organized in such a way that the recording position of each recorded data recorded can be referred to, and protect recording position information organized so that the recording position of the protection information can be referred to can be recorded in a fixed position. Is done.
[0752]
This data reading apparatus comprises means for designating and sending positional information on memory means of recording data desired to be read, and means for receiving reproduction data sent from the data recording / reproducing apparatus. Means for reproducing the data recording position information from the fixed position, means for reproducing the protected recording position information from the fixed position, means for reproducing the protect information based on the recording position information of the protect information obtained from the protected recording position information, And a means for reading the corresponding data based on the positional information of the recording data desired to be read after the read permission is confirmed based on the protect information, and a means for sending the read result as reproduction data.
[0753]
As a result, it is possible to confirm the existence of the recording data desired to be read on the memory means from the data recording position information, to read the protection information from the protected recording position information, and to confirm the read permission of the recording data based on the protection information. After that, by reading the desired recording data, the desired recording data can be reliably accessed regardless of its recording position and recording length. Moreover, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed, so that the recorded data on the memory means can be effectively protected.
[0754]
A data recording / reproducing apparatus according to claim 5 of the present invention includes a memory means, records data in the memory means, can reproduce the recorded data, and is at least one of a data writing apparatus and a data reading apparatus. Data can be exchanged, and recording data of an arbitrary recording length can be recorded at an arbitrary position on the memory means. Further, a protection that specifies whether each recorded data is writable or readable. Information can be recorded at an arbitrary position, and data recording position information organized so that the recorded position of each recorded data can be referred to is recorded at a predetermined first fixed position, and the recording position of the protect information is referred to. The protect recording position information knitted so as to be recorded is recorded at a predetermined second fixed position.
[0755]
Further, based on the first fixed position data sent from at least one of the data writing device and the data reading device, the data recording position information is read from the memory means or sent to the first fixed position data and the written data. Based on the means for writing the data recording position information and the second fixed position data sent from at least one of the data writing device and the data reading device, the protected recording position information is read from or sent to the memory means. Based on the second fixed position data and the write data, the protect recording position information is written from the memory means based on the recording position data sent from at least one of the data writing device and the data reading device. Based on read or sent record position data and write data Based on the means for writing protect information, the designated position data sent from the data reading device, the means for reading the data recorded on the memory means, and the designated position data and recording data sent from the data writing device, Means for writing recorded data to a designated position of the memory means, means for sending each read result to at least one of the data writing device and the data reading device, and the operation result of each means in the data writing device or the data reading device. And means for notifying at least one of them.
[0756]
As a result, data having a given recording length is recorded at a designated arbitrary position, and this recording position is recorded as a data recording position information at a predetermined fixed position on the memory means. Therefore, the data recording position information can be easily obtained by accessing the fixed position in the subsequent reading process or the like, thereby making it possible to easily confirm the recording state on the memory means.
[0757]
Similarly, the given arbitrary protection information is recorded at an arbitrary position, and this recording position is recorded as a protected recording position information at a predetermined fixed position on the memory means. Therefore, the protected recording position information can be obtained by accessing the fixed position, and the position can be easily obtained regardless of the position where the protected information is recorded.
[0758]
Further, the operation result of each means is notified to the data writing device or the data reading device, so that the operation of the data recording / reproducing device is confirmed in the data writing device or the data reading device, and the data sent by the data recording / reproducing device. It becomes easy to verify the authenticity. Alternatively, the data recording / reproducing apparatus can be controlled by the data writing apparatus or the data reading apparatus based on the operation result.
[0759]
A data recording / reproducing apparatus according to claim 6 of the present invention records data in a built-in memory means, can reproduce the recorded data, and can exchange data with at least one of a data writing apparatus and a data reading apparatus. On the memory means, recording data of an arbitrary recording length can be recorded at an arbitrary position, and further, protect information for specifying at least one of whether the recorded data is writable or readable is arbitrary. The data recording position information is recorded at the first fixed position, and the recording position of the protection information can be referred to. The protected recording position information is recorded at a predetermined second fixed position.
[0760]
Further, based on the first fixed position data sent from at least one of the data writing device and the data reading device, the data recording position information is read from the memory means or sent to the first fixed position data and the write data. Based on the above, the protected recording position information is read from or sent to the memory means based on the means for writing the data recording position information and the second fixed position data sent from at least one of the data writing device and the data reading device. Based on the second fixed position data and the write data, the protect recording position information is written on the memory means based on the recording position data sent from at least one of the data writing device and the data reading device. Based on the recording position data and writing data read or sent from Means for writing protect information; collating means for collating the designated position data sent from the data reading device or data writing device with the protect information to confirm reading permission or writing permission of the designated position; Based on the designated position data sent from the data reading device, the means for reading the data recorded on the memory means, and on the basis of the collation result and the designated position data and the recording data sent from the data writing device, Means for writing to the designated position of the memory means.
[0761]
Thereby, data of an arbitrary recording length can be recorded at a designated position, while this recording position is recorded as a data recording position information at a predetermined fixed position on the memory means. Accordingly, when the fixed position is accessed in the subsequent reading process or the like, the data recording position information can be easily obtained, thereby making it possible to easily confirm the recording state on the memory means.
[0762]
Similarly, arbitrary protect information can be recorded at an arbitrary position, while this recording position is recorded as a protected recording position information at a predetermined fixed position on the memory means. Therefore, the protected recording position information can be obtained by accessing the fixed position, and the position can be easily obtained regardless of the position where the protected information is recorded.
[0763]
Further, the designated position data and the protect information are collated in the data recording / reproducing apparatus, and recording or reproduction is executed only when permission is confirmed. As a result, it is possible to eliminate the execution of improper processing. For example, it is possible to eliminate an illegal writing instruction or an illegal reading instruction input from an unauthorized data writing / reading apparatus, and a more reliable apparatus can be realized.
[0764]
The data writing device according to claim 7 of the present invention is capable of transferring data to and from a data recording / reproducing device capable of recording / reproducing the input recording data at an arbitrary designated position in the built-in memory means, Data recording position information relating to each recording data recorded at an arbitrary position of the memory means is reproduced from a fixed position, protected recording position information relating to each recording data is reproduced from the fixed position, and write protection information of the write protection information is reproduced based on the protected recording position information. Means for obtaining the position and reproducing the write protect information; means for confirming writability based on a desired write recording position, recording position information of each data and protect information; means for writing after confirmation of writability And means for updating the data recording position information at a fixed position after writing the recording data, and updating the protection information. That and means.
[0765]
As a result, the data recording position information is obtained by accessing the fixed position of the memory means in the subsequent processing, whereby the recording position of the recording data can be easily obtained, and the protected recording position information obtained by accessing the fixed position. Thus, the protection information recorded at an arbitrary position can be obtained, and the write permission at an arbitrary position on the memory means can be easily confirmed by this protection information.
[0766]
In addition, since desired recording data can be recorded at a desired position in the memory means and protect information can also be recorded at an arbitrary position, it is possible to easily manage unused areas on the memory means and prevent the occurrence of free areas. As a result, the memory utilization efficiency can be improved. In addition, compatibility between memory means having different recording capacities can be realized.
[0767]
Furthermore, even when the recording data recording progresses and the area where the existing protection information is recorded is touched, the division of the recording data can be avoided by moving the position of the protection information. Efficiency improvement can be realized.
[0768]
Moreover, even if the recording data has a long recording length, the recording data can be easily managed because it can be recorded without interruption. Further, since no division is made, only one piece of protection information is required even for recording data having a long recording length, so that an area allocated for recording protection information can be saved, and the utilization efficiency of the memory means can be improved.
[0769]
A data reading apparatus according to an eighth aspect of the present invention is capable of data exchange with a data recording / reproducing apparatus having a built-in memory means and capable of recording / reproducing data, and each data recorded at an arbitrary position of the memory means. Data recording position information relating to recording data is reproduced from a fixed position, protected recording position information relating to each recording data is reproduced from the fixed position, the position of the protection information is obtained based on the protected recording position information, and read protection information is reproduced. And a means for confirming the readability based on the desired read position, the recording position information of each data and the read protection information, and a means for reading after confirmation of the readability, so that the recording position of the data desired to be read and Regardless of the recording length, the desired data can be read reliably. Moreover, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed via the protect recording position information, and thus the data can be reliably protected.
[0770]
In the file recording method according to claim 9 of the present invention, a file having an arbitrary recording length is recorded on the memory means following the end of the existing last cluster to obtain the latest cluster, and the write protection data is set for all clusters. Since the protection information described is recorded following the end of the latest cluster, the position information of each cluster is described, and the data recording position information described to indicate the latest cluster is recorded at a fixed position. From the position information of the latest cluster in the data recording position information, it is possible to easily calculate the recording position of the protect information that is recorded following the end of the latest cluster. Therefore, it is not necessary to separately prepare information indicating the recording position of the protect information, and as a result, the memory utilization efficiency and the data recording efficiency can be improved.
[0771]
Also, since the protect information is always recorded following the end of the latest cluster, the position for recording the protect information can be easily calculated based on the data recording position information even if the record length of the latest cluster is an arbitrary length. it can.
[0772]
Furthermore, there is no dead space between the protection information and the preceding cluster, and the memory utilization efficiency can be improved.
[0773]
According to a tenth aspect of the present invention, there is provided a file reproduction method for a memory means in which protect information is recorded following the end of the latest cluster and data recording position information is recorded at a predetermined fixed position. Reads the data recording position information, calculates the recording position of the protection information from the position information of the latest cluster, reads the protection data from the protection information based on the recording position, and confirms that the desired cluster can be read based on the protection data. Since this includes a process of reproducing a file desired to be reproduced in the cluster based on the data recording position information after the confirmation, the recording position of the protection information recorded after the end can be easily obtained from the position information of the latest cluster. In addition, even if the record length of the latest cluster is an arbitrary length, Li can be easily, thus can improve the data reproduction efficiency.
[0774]
A data writing system according to an eleventh aspect of the present invention comprises a data recording / reproducing apparatus having a built-in memory means and capable of transferring data, and a data writing apparatus capable of transmitting and receiving data. The recording device includes means for sending recording data, a designated recording position, and protect information, and the data recording / reproducing apparatus reproduces data recording position information and protect information recorded at a fixed position, and sent recording data. Is recorded in the memory means, updated data recording position information is updated and recorded, and after recording, the sent protect information is recorded at a position following the end of the latest recorded data. When the data of the recording length is recorded at the desired position, the latest recording data is obtained. This recording position is incorporated into the data recording position information, and the data is recorded. It is recorded to the fixed position on the Li means.
[0775]
Therefore, in the subsequent processing, data recording position information can be obtained by accessing a fixed position, which facilitates confirmation of the latest recording data on the memory means and confirmation of the position of each recording data.
[0776]
Also, since the protect information is always recorded at the position following the end of the most recently recorded data, the position where the protect information is recorded can be easily obtained by accessing this data recording position information. Management of the unused area on the memory means is facilitated, and it is possible to prevent the occurrence of a free area and improve the memory utilization efficiency.
[0777]
Moreover, even recording data having a long recording length can be recorded without interruption, and management of the recording data becomes easy. Further, since there is no division, only one piece of protection information is required even for recording data having a long recording length, so that it is possible to save the area allocated for recording the protection information and further improve the memory utilization efficiency.
[0778]
According to a twelfth aspect of the present invention, there is provided a data reading system including memory means in which recording data, data recording position information at a fixed position, and read protection information are recorded at a position following the end of the latest recording data. A data recording / reproducing apparatus capable of transmitting / receiving data, a data reading / reproducing apparatus and a data reading apparatus capable of transmitting / receiving data, and the data reading apparatus accepts reproduction data and means for designating and transmitting desired data to be read. And a data recording / reproducing apparatus comprising: means for reproducing data recording position information; means for reproducing protect information based on a recording position calculated based on the data recording position information; Is read from the memory means and sent to the data reading device.
[0779]
As a result, the position of the protection information can be calculated based on the data recording position information and the position information of the latest recording data described in the data recording position information, and the protection information is obtained based on the position to obtain the desired reading position. After confirming that is readable, the desired data can be read. Thus, the desired data can be reliably read regardless of the recording position and the recording length of the recording data desired to be read.
[0780]
The data writing device according to claim 13 of the present invention is capable of transferring data to / from a data recording / reproducing device capable of recording / reproducing the input recording data at an arbitrary designated position in the built-in memory means, Means for instructing reproduction and sending from the fixed position of the position information of each recording data recorded at an arbitrary position of the memory means, and recording the protection information following the end position of the latest recording data, or the latest recording Means for instructing reproduction and sending from a position following the end position of data, means for confirming writability based on a desired write recording position, recording position information of each data, and protect information, and after confirmation of writability A means for sending a write instruction; a means for recording updated data recording position information after writing the recording data; and a means for recording updated protection information.
[0781]
As a result, the recording position of the latest recording data is read based on the data recording position information read from the fixed position, and the protection information is read from the position calculated based on the recording position. The protection information, the data recording position information, and the writing Can be compared with the desired position to confirm whether or not writing to the desired position is possible. If writing is possible, any desired recording data can be recorded at any desired position, and the data recording position can be recorded. Information and protect information can be updated and written.
[0782]
Further, since the protection information is written following the latest recording data, it is not necessary to record an index for indicating the position of the protection information, so that the processing time can be shortened. In addition, since it is not necessary to provide an area for recording the index, there is an effect that the memory use efficiency can be improved.
[0783]
According to a fourteenth aspect of the present invention, there is provided a data reader comprising a memory means for recording recording data of an arbitrary recording length and recording data recording position information indicating the position information of the latest recording data at a fixed position. A means for reading data recording position information from a fixed position, capable of transferring data to and from a data recording / reproducing apparatus in which protect information for specifying whether or not each recording data is writable is recorded following the end position of the latest recorded data And means for reading the protection information based on the end position of the latest recording data read from the data recording position information, a means for confirming that the desired recording position can be read, and after confirming that the data can be read, Means for reproducing from the reading position, so that the desired data can be reliably read even if the recording position and the recording length of the data desired to be read are arbitrary. Can. Here, since the protection information recorded after the latest recording data is read, it is not necessary to read other indicators for indicating the position of the protection information, and therefore the reproduction processing time can be shortened and the data Read protection can be reliably performed.
[0784]
A computer-readable recording medium on which data according to claim 15 of the present invention is recorded is such that recording data of an arbitrary recording length is recorded at an arbitrary position, and recording position information related to each recording data can be referred to The recorded data recording position information is recorded at the first fixed position, the write / read protect information is recorded at an arbitrary position for each record data, and the protect recording position information containing the position information where the protect information is recorded is stored in the first position. 2. Since recording is performed at a fixed position and each record can be read or written by a logic processing circuit operating in a computer or stored program system, the recording medium is read by a logic processing circuit operating in a computer or stored program system. Read the protected recording position information from the second fixed position, and then the protected recording position information. The protection information is read from the data, and the protection information, the data recording position information read from the first fixed position, and the position where writing or reading is desired are compared and checked to confirm whether writing / reading to the desired position is possible. If it is writable, it can record any desired recording data at any desired position, and can update and write the data recording position information and protect information. Any desired recording data can be read from the position.
[0785]
According to a sixteenth aspect of the present invention, there is provided a data writing apparatus capable of accessing a recording medium having an area for reproducibly recording input data to a designated position and recorded at an arbitrary position of the recording medium. Data recording position information related to each recording data is reproduced from a fixed position, protected recording position information related to each recording data is reproduced from a fixed position, and the position of the write protection information is obtained based on the protected recording position information, and the write protection information is reproduced. Means for confirming writability based on a desired write recording position, recording position information of each data and protect information, means for writing after confirmation of writability, and fixing after recording data is written Means for updating and writing the data recording position information at the position, and means for updating and writing the protection information.
[0786]
As a result, in the subsequent processing, the data recording position information is obtained by accessing the fixed position of the recording medium, whereby the recording position of the recording data of the recording medium can be easily obtained, and the protection obtained by accessing the fixed position. It is possible to obtain protect information recorded at an arbitrary position from the recording position information, and to easily confirm writing permission at an arbitrary position on the recording medium based on the protect information.
[0787]
In addition, since desired recording data can be recorded at a desired position on the recording medium and protect information can also be recorded at an arbitrary position, it is possible to easily manage unused areas on the recording medium and prevent the occurrence of free areas. As a result, the memory utilization efficiency can be improved. In addition, compatibility between recording media having different recording capacities can be realized.
[0788]
Furthermore, even when the recording data recording progresses and the area where the existing protection information is recorded is touched, the division of the recording data can be avoided by moving the position of the protection information. Efficiency improvement can be realized.
[0789]
Moreover, even if the recording data has a long recording length, the recording data can be easily managed because it can be recorded without interruption. Further, since no division is made, only one piece of protection information is required even for recording data having a long recording length, so that an area allocated for recording the protection information can be saved, and the utilization efficiency of the recording medium can be improved.
[0790]
According to a seventeenth aspect of the present invention, there is provided a data reading apparatus capable of accessing a recording medium having an area where data is recorded so as to be reproducible, and storing data recording position information relating to each recording data recorded at an arbitrary position of the recording medium. Reproducing from the fixed position, reproducing the protected recording position information relating to each recording data from the fixed position, obtaining the position of the protected information based on the protected recording position information, and reproducing the read protected information; a desired reading position and each Since it comprises means for confirming readability based on data recording position information and read protection information, and means for reading after confirmation of readability, it is ensured regardless of the recording position and recording length of the data desired to be read. The desired data can be read. Moreover, even if the protect information is recorded at an arbitrary position, the protect information can be reliably accessed via the protect recording position information, and thus the data can be reliably protected.
[0791]
A computer-readable recording medium having data recorded thereon according to claim 18 of the present invention records recording data having an arbitrary recording length at an arbitrary position, and enables recording position information related to each recording data to be referred to The recorded data recording position information is recorded at a fixed position, the write / read protection information of each recording data is recorded following the recording position of the latest recording data, and each record operates in a computer or stored program system. Since the recording circuit can be read or written by the processing circuit, when the recording medium is read by a computer or a logic processing circuit operating in a stored program system, the latest recorded data is read based on the data recording position information read from the fixed position. Read the recording position, read the protection information from the position calculated based on this recording position, By comparing and comparing the protect information, the data recording position information, and the position where writing or reading is desired, it is possible to confirm whether writing / reading to the desired position is possible. Any desired recording data can be recorded, and the data recording position information and the protection information can be updated and written, and if desired, any desired recording data can be read from any desired position.
[0792]
According to a nineteenth aspect of the present invention, there is provided a data writing apparatus comprising: a recording area for recording data of an arbitrary recording length; a fixed area for recording data recording position information; and a protection information recording area for defining whether or not each area can be written. Is recorded in the data recording position information so as to indicate the position information of the latest recording data, and the protection information is recorded following the end position of the latest recording data. Means for reading the data recording position information, means for reading the protection information based on the end position of the latest recording data read from the data recording position information, means for confirming whether the desired recording position is writable, and confirmation of writability Later, means for recording desired recording data at a desired position, means for recording updated data recording position information after writing the recording data, and updating And means for recording Rotekuto information.
[0793]
As a result, the recording position of the latest recording data is read based on the data recording position information read from the fixed position, and the protection information is read from the position calculated based on the recording position. The protection information, the data recording position information, and the writing Can be compared with the desired position to confirm whether or not writing to the desired position is possible. If writing is possible, any desired recording data can be recorded at any desired position, and the data recording position can be recorded. Information and protect information can be updated and written.
[0794]
Further, since the protection information is written following the latest recording data, it is not necessary to record an index for indicating the position of the protection information, so that the processing time can be shortened. In addition, since it is not necessary to provide an area for recording the index, there is an effect that the memory use efficiency can be improved.
[0795]
In the data reading device according to claim 20 of the present invention, recording data of an arbitrary recording length is recorded, data recording position information indicating the position information of the latest recording data is recorded at a fixed position, and writing of each area is performed. Access to the recording medium in which the protection information that defines whether or not the recording is recorded following the last position of the latest recording data, means for reading the data recording position information from the fixed position, and the latest recording read from the data recording position information Means for reading the protection information based on the end position of the data, confirmation means for reading the desired recording position, and means for reproducing the desired recording data from the desired reading position after confirmation of the readability.
[0796]
As a result, the recording position of the latest recording data is read based on the data recording position information read from the fixed position, the protection information is read from the position calculated based on the recording position, and the protection information, the data recording position information, Can be compared with a desired position to confirm whether or not the desired position can be read, and if desired, any desired recorded data can be read from any desired position. Here, since the protection information recorded following the latest recording data is read, it is not necessary to read another index for indicating the position of the protection information, and the reproduction processing time can be shortened.
[0797]
A file recording method according to claim 21 of the present invention records a file of an arbitrary recording length at an arbitrary position of a memory means to form a cluster, and records the delimiter position information as a data recording position information at a predetermined position, Since the protect information indicating whether or not writing is set for each cluster is recorded at a predetermined position, a file having an arbitrary recording length can be recorded at an arbitrary position in the memory means, and a cluster is formed by this file. Therefore, files and clusters correspond one-to-one, and even a file with a long recording length is organized into one cluster. Therefore, an unused part does not occur in the cluster. Thereby, it is possible to prevent the occurrence of a recording area that is not used on the memory means, and the use efficiency of the recording area is improved.
Moreover, since the file is not divided into a plurality of clusters, file management becomes easy.
[0798]
In addition, since data recording position information indicating the position of the recorded cluster is recorded at a predetermined position on the memory means, recording is performed at an arbitrary position on the memory means by referring to the data recording position information at the predetermined position. Entry into a file having an arbitrary recording length is facilitated, and file access is further facilitated.
[0799]
Further, since the protection information of the recorded file is recorded at a predetermined position on the memory means, it is easy to protect the file recorded at an arbitrary position on the memory means by referring to the protection information at the predetermined position. Become.
[0800]
In the file reproduction method according to the twenty-second aspect of the present invention, a cluster in which a file to be reproduced is recorded at an arbitrary position, data recording position information indicating a separation position of these clusters, and protect information indicating whether or not each cluster can be read are stored. After confirming the cluster to which the desired file to be reproduced belongs based on the data recording position information obtained from the predetermined position of the recorded memory means and confirming that the cluster of interest can be read from the protection information read from the predetermined position, the data recording position Since the previous file in the cluster is read and reproduced based on the information, the desired cluster can be reliably accessed regardless of the recording position and recording length of the file. Moreover, since the protect information is recorded at a predetermined position, the protect information can be reliably accessed, and the file can be easily protected based on the protect information.
[0801]
A data writing system according to a twenty-third aspect of the present invention comprises a data writing device capable of designating recording data and a recording position, and capable of sending protected data, and a data recording / reproducing device. After the data is recorded, the updated data recording position information is recorded / reproduced at the first fixed position, the updated protect information is recorded / reproduced at the second fixed position, and the position information of the recorded data is fixed at the first fixed position in the memory. Since the position is recorded, when the first fixed position is accessed in the subsequent processing, the recording position information of the data of interest can be obtained. Further, since the protect information is recorded at the second fixed position on the memory, the protect information can be obtained from the second fixed position, and the protection of arbitrary recorded data is facilitated.
[0802]
As described above, since arbitrary recording data can be recorded at an arbitrary designated position, an unused area on the memory can be easily managed, and there is an effect that free area generation can be prevented and memory utilization efficiency can be improved.
[0803]
According to a twenty-fourth aspect of the present invention, there is provided a data reading system including means for designating and sending recording data desired to be read and its position information, and receiving reproduction data, and a built-in memory means. Record / reproduce recorded data, record / reproduce data recording position information that can refer to the recording position of each recorded data at the first fixed position, and record read protection information of each recorded data at the second fixed position. A data recording / reproducing device that reproduces and sends the reproduced data to the data reading device, so that the presence of the desired read data on the memory means can be confirmed based on the data recording position information of the first fixed position. Based on the protect information at the fixed position, it can be confirmed that it can be read, so the desired recording data can be accessed reliably regardless of the recording position and recording length. . Moreover, since the protect information is located at the second fixed position, it can be easily accessed, and thus the recording data on the memory means can be easily protected.
[0804]
The data writing apparatus according to claim 25 of the present invention is capable of transferring data to and from a data recording / reproducing apparatus capable of recording / reproducing the input recording data at an arbitrary designated position in the built-in memory means, Instructing the reproduction and sending from the first fixed position of the position information of each recording data recorded at an arbitrary position of the memory means, instructing the reproduction and sending from the second fixed position of the write protection information, and the desired writing Means for confirming writeability based on the record position, record position information of each data and protect information; means for sending a write instruction after confirming the writability; and after writing the record data to the first fixed position Means for instructing update writing of the existing data recording position information, and means for instructing update writing of the protection information at the second fixed position.
[0805]
As a result, in the subsequent processing, the first fixed position is accessed to obtain the data recording position information, whereby the recording position of the recording data on the memory means can be easily obtained.
Further, the protection information can be obtained by accessing the second fixed position, and the confirmation of the write permission at an arbitrary position on the memory means can be easily executed.
[0806]
Further, since desired recording data can be recorded at a desired position in the memory means of the data recording / reproducing apparatus, it is possible to easily manage the unused area on the memory means, and to prevent the occurrence of an empty area and to improve the memory utilization efficiency improves.
[0807]
A data reader according to claim 26 of the present invention is capable of transferring data to a data recording / reproducing apparatus having a built-in memory means and capable of recording / reproducing data, and each recorded data recorded at an arbitrary position can be transferred. Instructing reproduction and sending of position information from the first fixed position, instructing reproduction and sending of read protection information from the second fixed position, and based on a desired reading position, recording position information of each data, and read protection information Since it comprises means for confirming readability and means for sending a read instruction after confirmation of readability, the desired data can be reliably read even if the recording position and length of the data desired to be read are arbitrary. . Moreover, since the protect information is in a fixed position, it can be easily accessed, and thus data can be easily protected.
[0808]
According to a twenty-seventh aspect of the present invention, there is provided a computer-readable recording medium on which data is recorded, wherein recording data having an arbitrary recording length is recorded at an arbitrary position, and recording position information relating to each recording data can be referred to The data recording position information is recorded in the first fixed position, and the write / read protect information is recorded in the second fixed position for each recording data, and each record is operated by a computer or a logic processing circuit operating in a stored program system. Since the recording medium can be read or written, when the recording medium is read by a computer or a logic processing circuit operating in a stored program system, the protection information is read from the second fixed position, and the protection information and the first fixed position are read. Compare and contrast the data recording position information read from the position where writing or reading is desired. Whether or not writing / reading to / from the position to be performed can be confirmed, and if writing is possible, any desired recording data can be recorded at any desired position, and update writing of data recording position information and protect information can be performed, Further, if it can be read, any desired recording data can be read from any desired position.
[0809]
A data writing apparatus according to claim 28 of the present invention is accessible to a recording medium having an area for recording input data reproducibly to a designated position, and is recorded at an arbitrary position on the recording medium. A means for reproducing the position information of each recording data from the first fixed position and reproducing the write protect information from the second fixed position, and writing based on the desired write recording position, the recording position information of each data and the protect information. A means for confirming, a means for writing after confirmation of writability, a means for updating the data recording position information at the first fixed position after writing the record data, and a second fixed position. Means for updating and writing the protection information.
[0810]
As a result, in the subsequent processing, the first fixed position of the recording medium is accessed to obtain the data recording position information, whereby the recording position of the recording data of the recording medium can be easily obtained, and the second fixed position is accessed. Thus, the protection information can be obtained, and the write permission at an arbitrary position on the recording medium can be easily confirmed.
[0811]
In addition, since desired recording data can be recorded at a desired position on the recording medium, it is possible to easily manage unused areas on the recording medium, and it is possible to improve the efficiency of memory utilization by preventing the generation of empty areas. become.
[0812]
According to a twenty-ninth aspect of the present invention, there is provided a data reading apparatus capable of accessing a recording medium having an area for reproducibly recording data to a designated position and storing each recording data recorded at an arbitrary position of the recording medium. Means for reproducing position information from the first fixed position and reproducing read protection information from the second fixed position; means for confirming readability based on a desired reading position, recording position information of each data, and read protection information; Since it comprises means for reading data desired to be read from the recording medium after confirming that the data can be read, the desired data can be reliably read even if the recording position and the recording length of the data desired to be read are arbitrary. In addition, since the protect information is at a fixed position, it can be easily accessed, and thus the data can be easily protected.
[Brief description of the drawings]
FIG. 1 is a block diagram of an embodiment of a data writing system according to the present invention.
FIG. 2 is a memory map for explaining data recording in the memory unit shown in FIG. 1;
FIG. 3 is an explanatory diagram of an operation of the data writing system shown in FIG. 1;
FIG. 4 is an explanatory diagram of an example of a memory map of a memory unit in which data is recorded by the data writing system of the present invention.
FIG. 5 is an explanatory diagram of another example of a memory map of a memory unit in which data is recorded by the data writing system of the present invention.
FIG. 6 is a block configuration diagram of an embodiment of a data reading system according to the present invention.
7 is an explanatory diagram of the operation of the data reading system shown in FIG. 6. FIG.
FIG. 8 is a diagram illustrating a format of write instruction input data and response signal, and read instruction input data and response signal.
FIG. 9 is a block diagram of an embodiment of a data recording / reproducing apparatus according to the present invention.
FIG. 10 is an operation flowchart of a data recording / reproducing apparatus configured by a microcomputer.
FIG. 11 is a block diagram showing a configuration of an embodiment of a data writing / reading apparatus according to the present invention.
12 is an operation flowchart of the data writing / reading apparatus of FIG.
FIG. 13 is a flowchart of an embodiment of a file recording method and a file reproduction method according to the present invention.
FIG. 14 is a block diagram of another embodiment of the data writing system according to the present invention.
15 is a memory map for explaining data recording in the memory unit shown in FIG. 14;
16 is an explanatory diagram of the operation of the data writing system shown in FIG. 14;
FIG. 17 is a block diagram of another embodiment of the data reading system according to the present invention.
18 is an explanatory diagram of the operation of the data reading system shown in FIG.
FIG. 19 is a block diagram showing a configuration of another embodiment of a data writing / reading apparatus according to the present invention.
20 is an operation flowchart of the data writing / reading apparatus of FIG. 19;
FIG. 21 is a flowchart of another embodiment of a file recording method and a file playback method according to the present invention.
FIG. 22 is an explanatory diagram of an embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
FIG. 23 is a block diagram showing a configuration of another embodiment of a data writing / reading apparatus according to the present invention.
24 is an operation flowchart of the data writing / reading apparatus of FIG.
FIG. 25 is an explanatory diagram of another embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
FIG. 26 is a block diagram showing a configuration of another embodiment of a data writing / reading apparatus according to the present invention.
FIG. 27 is an operation flowchart of the data writing / reading apparatus of FIG. 26;
FIG. 28 is a block diagram showing another embodiment of the data writing system according to the present invention.
FIG. 29 is a memory map for explaining data recording in the memory unit shown in FIG. 28;
30 is an explanatory diagram of the operation of the data writing system shown in FIG. 28. FIG.
FIG. 31 is a block configuration diagram of another embodiment of a data reading system according to the present invention.
32 is an explanatory diagram of an operation of the data reading system shown in FIG. 31. FIG.
FIG. 33 is a block diagram showing a configuration of another embodiment of the data writing / reading apparatus according to the present invention.
34 is an operation flowchart of the data writing / reading apparatus of FIG. 33;
FIG. 35 is a flowchart of another embodiment of a file recording method and a file reproduction method according to the present invention.
FIG. 36 is an explanatory diagram of another embodiment of a computer-readable recording medium on which data according to the present invention is recorded.
FIG. 37 is a block diagram showing a configuration of another embodiment of a data writing / reading apparatus according to the present invention.
38 is an operation flowchart of the data writing / reading apparatus of FIG. 37. FIG.
FIG. 39 is an explanatory diagram of a configuration example of a data recording / reproducing device and a data writing / reading device.
FIG. 40 is an explanatory diagram of a configuration example of a recording medium.
FIG. 41 is an explanatory diagram of another configuration example of the recording medium.
FIG. 42 is an explanatory diagram of a conventional memory map example.
FIG. 43 is an explanatory diagram of another example of a conventional memory map.
[Explanation of symbols]
Mem1 ... Memory section, SC ... System cluster, CAdT ... Cluster address table, adC ... Fixed address in which the cluster address table CAdT is recorded, PAdT ... Protect information address table, adD ... Protect Fixed address where information address table PAdT is recorded, UC1... User cluster, Ln1... Arbitrary recording length, ad10... Start address of user cluster UC1, ad11. Writable area, PDC ... Protect information cluster, adPL ... Protect information cluster PDC start address, adPH ... Protect information cluster PDC end address, PDr ... Read protect information, PDw ... Write protect information , AdPr ...... read protection information PDr address, adPw ...... write protection information PDw address, оfst1 ...... offset, оfst2 ...... offset, NU2 ...... new writable area

Claims (29)

データの記録再生が可能なメモリ手段を備え、
前記メモリ手段において記録が許されている任意の位置に、任意の記録長のファイルを記録してクラスタとする過程と、
前記クラスタが記録された位置と範囲、または区切り位置情報を示す記録位置情報を、データ記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
前記クラスタ毎に設定される少なくとも書込みの可否を示すプロテクト情報を、前記メモリ手段の任意の位置に記録する過程と、
前記プロテクト情報の記録位置情報を、プロテクト記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
を含むことを特徴とするファイル記録方法。
A memory means capable of recording and reproducing data;
Recording a file of an arbitrary recording length at an arbitrary position where recording is allowed in the memory means to form a cluster;
Recording the position and range where the cluster is recorded, or recording position information indicating delimiter position information as data recording position information at a predetermined position in the memory means;
A step of recording at least an arbitrary position of the memory means for protecting information indicating whether or not writing is set for each cluster;
Recording the recording position information of the protection information as protection recording position information at a predetermined position of the memory means;
A file recording method comprising:
データの記録再生が可能なメモリ手段に、再生を所望するファイルが任意の記録長で任意の位置に記録されたクラスタとして存在し、
且つ所定の位置に、前記クラスタの記録された位置と範囲、または区切り位置を示す情報を、データ記録位置情報として記録され、
且つ任意の位置に、前記クラスタ毎に設定される少なくとも読取りの可否を示すプロテクト情報が記録され、
さらに前記プロテクト情報の記録された位置を示す情報が、所定の位置にプロテクト記録位置情報として記録された前記メモリ手段であり、
前記所定の位置から前記データ記録位置情報を読取り、再生を所望する前記ファイルが属する前記クラスタを確認する過程と、
前記メモリ手段の前記所定の位置から前記プロテクト記録位置情報を読取る過程と、
前記プロテクト記録位置情報に基づき、前記メモリ手段の前記任意の位置にある前記プロテクト情報を読み取る過程と、
前記プロテクト情報に基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能を確認後に、前記データ記録位置情報に基づき前記クラスタを構成する前記ファイルを読み取り再生する過程と、
を含むことを特徴とするファイル再生方法。
In a memory means capable of recording and reproducing data, a file desired to be reproduced exists as a cluster recorded at an arbitrary position with an arbitrary recording length,
And at a predetermined position, information indicating the recorded position and range of the cluster, or the delimiter position is recorded as data recording position information,
And at any position, at least protection information set for each cluster, which indicates whether or not reading is possible, is recorded,
Further, the information indicating the position where the protect information is recorded is the memory means recorded as protect recording position information at a predetermined position,
Reading the data recording position information from the predetermined position and confirming the cluster to which the file desired to be reproduced belongs;
Reading the protected recording position information from the predetermined position of the memory means;
Reading the protect information at the arbitrary position of the memory means based on the protect recording position information;
Confirming that the cluster to which the desired file belongs can be read based on the protection information;
After confirming that the cluster can be read, the process of reading and playing back the file constituting the cluster based on the data recording position information;
A file playback method comprising:
内蔵するメモリ手段に、記録データと、記録された各記録データ夫々の位置情報が参照可能に編成されたデータ記録位置情報と、記録された前記各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報とを記録可能で、且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、少なくとも、
記録データ及び当該記録データが記録される位置情報を指定して送付する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクトデータを前記データ記録再生装置へ送付可能とする手段とを備え、
前記データ記録再生装置は、
前記記録データを前記メモリ手段の前記指定された位置へ記録する手段と、
前記データ記録位置情報を、前記メモリ手段の予め定めた第1固定位置へ記録または更新記録する手段と、
前記第1固定位置から前記データ記録位置情報を再生する手段と、
前記プロテクト情報または、前記送付されたプロテクトデータにより更新されたプロテクト情報を、前記メモリ手段の任意の位置に記録するとともに、前記プロテクト情報の記録位置を記載したプロテクト記録位置情報を、前記メモリ手段の予め定めた第2固定位置へ記録する手段と、
前記第2固定位置から前記プロテクト記録位置情報を再生する手段と、
前記プロテクト記録位置情報に基づき前記プロテクト情報を再生する手段と、
を備えることを特徴とするデータ書込システム。
In the built-in memory means, the recording data, the data recording position information organized so that the position information of each recorded data can be referred to, and the protect information that defines at least whether each recorded data can be written And a data recording / reproducing device capable of recording and receiving data with an external device,
A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
The data writing device is at least:
Means for designating and sending recording data and position information where the recording data is recorded;
Means for enabling the recording data to be sent to the data recording / reproducing device with protected data that defines at least one of readability and writeability after recording;
The data recording / reproducing apparatus comprises:
Means for recording the recorded data at the designated location of the memory means;
Means for recording or updating the data recording position information at a predetermined first fixed position of the memory means;
Means for reproducing the data recording position information from the first fixed position;
The protect information or the protect information updated by the sent protect data is recorded in an arbitrary position of the memory means, and the protect recording position information describing the recording position of the protect information is recorded in the memory means. Means for recording at a predetermined second fixed position ;
Means for reproducing the protected recording position information from the second fixed position;
Means for reproducing the protection information based on the protection recording position information;
A data writing system comprising:
メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が任意の位置に記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報と、前記プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報とが前記メモリ手段の予め定めた固定位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データを前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、
を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記固定位置からの再生手段と、
前記プロテクト記録位置情報の、前記固定位置からの再生手段と、
前記プロテクト記録位置情報から得られた前記プロテクト情報の記録位置情報に基づく前記プロテクト情報の再生手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とするデータ読取システム。
A data recording / reproducing apparatus having a built-in memory means, capable of reproducing data recorded in the memory means, and capable of exchanging data with an external device;
A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
In the memory means, recording data of an arbitrary recording length is recorded at an arbitrary position, and further, protect information that defines whether or not each of the recorded recording data is at least readable is recorded at an arbitrary position,
Further, data recording position information organized so that the recording positions of the respective recorded data can be referred to, and protect recording position information organized so that the recording position of the protection information can be referred to are predetermined in the memory means. Recorded in a fixed position,
The data reader is at least:
Means for sending the recording data desired to be read by designating position information of the memory means;
Means for receiving reproduction data sent from the data recording / reproducing apparatus and reproduced from the memory means;
With
The data recording / reproducing apparatus comprises:
Means for reproducing the data recording position information from the fixed position;
Means for reproducing the protected recording position information from the fixed position;
Means for reproducing the protection information based on the recording position information of the protection information obtained from the protection recording position information;
Means for reading the corresponding data from the memory means based on the positional information of the recorded data desired to be read after the read permission is confirmed based on the protect information;
Means for sending the read result as reproduction data to the data reader;
A data reading system comprising:
メモリ手段を内蔵し、前記メモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能なデータ記録再生装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、
さらに記録された前記各記録データ夫々の記録位置が、参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
前記プロテクト情報の記録位置が、参照可能に編成されたプロテクト記録位置情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第1固定位置に記録されたデータに基づき、前記データ記録位置情報を前記メモリ手段から読取り、または送付された前記第1固定位置に記録されたデータおよび書込データに基づき、前記データ記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト記録位置情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された記録位置データに基づき、前記プロテクト情報を前記メモリ手段から読取り、または送付された前記記録位置データおよび書込データに基づき、前記プロテクト情報を書き込む手段と、
前記データ読取装置から送付された指定位置データに基づき、前記メモリ手段に記録されたデータを読取る手段と、
前記データ書込装置から送付された指定位置データおよび記録データに基づき、前記記録位置データを前記メモリ手段の前記指定位置へ書き込む手段と、
前記各読取り結果を前記データ書込装置またはデータ読取装置の少なくとも何れかへ送付する手段と、
前記各手段の動作結果を前記データ書込装置またはデータ読取装置の少なくとも何れかへ通知する手段と、
を備えることを特徴とするデータ記録再生装置。
A data recording / reproducing apparatus that includes a memory means, records data in the memory means, can reproduce the recorded data, and can exchange data with at least one of a data writing apparatus and a data reading apparatus,
In the memory means, record data having an arbitrary recording length can be recorded at an arbitrary position, and further, protect information for specifying at least one of whether the recorded data is writable or readable is recorded at an arbitrary position. Can
Further, the recording position of each of the recorded recording data is recorded in a first fixed position determined in advance in the memory means, so that the data recording position information organized so as to be referred to is recorded.
The recording position of the protection information is recorded in a second fixed position determined in advance in the memory means .
Based on the data recorded at the first fixed position sent from at least one of the data writing device or the data reading device, the data recording position information is read from the memory means or sent to the first fixed position. Means for writing the data recording position information based on the data recorded at the position and the write data;
Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protected recording position information is read from the memory means or sent to the second fixed position. Means for writing the protected recording position information based on the data recorded at the position and the write data;
Based on the recording position data sent from at least one of the data writing device or the data reading device, the protect information is read from the memory means or based on the recording position data and the writing data sent. Means for writing information;
Means for reading the data recorded in the memory means based on the designated position data sent from the data reader;
Means for writing the recording position data to the designated position of the memory means based on the designated position data and recording data sent from the data writing device;
Means for sending each read result to at least one of the data writing device and the data reading device;
Means for notifying the operation result of each means to at least one of the data writing device or the data reading device;
A data recording / reproducing apparatus comprising:
メモリ手段を内蔵し、前記メモリ手段にデータを記録し、また記録されたデータの再生が可能で且つデータ書込装置またはデータ読取装置の少なくとも何れかとデータ授受可能なデータ記録再生装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録でき、さらに記録された各記録データ夫々の書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録でき、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
前記プロテクト情報の記録位置が参照可能に編成されたプロテクト記録位置情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第1固定位置に記録されたデータに基づき、前記データ記録位置情報を前記メモリ手段から読取り、または送付された前記第1固定位置に記録されたデータおよび書込データに基づき、前記データ記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト記録位置情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト記録位置情報を書き込む手段と、
前記データ書込装置またはデータ読取装置の少なくとも何れかから送付された前記第2固定位置に記録されたデータに基づき、前記プロテクト情報を前記メモリ手段から読取り、または送付された前記第2固定位置に記録されたデータおよび書込データに基づき、前記プロテクト情報を書き込む手段と、
前記データ読取装置または前記データ書込装置から送付された指定位置データと前記プロテクト情報を照合して当該指定位置の読取許可または書込許可を確認する照合手段と、
前記照合結果および前記データ読取装置から送付された指定位置データに基づき、前記メモリ手段に記録されたデータを読取る手段と、
前記照合結果および前記データ書込装置から送付された指定位置データおよび記録データに基づき、前記記録データを前記メモリ手段の前記指定位置へ書き込む手段と、
を備えることを特徴とするデータ記録再生装置。
A data recording / reproducing apparatus that includes a memory means, records data in the memory means, can reproduce the recorded data, and can exchange data with at least one of a data writing apparatus and a data reading apparatus,
In the memory means, record data having an arbitrary recording length can be recorded at an arbitrary position, and further, protect information for specifying at least one of whether the recorded data is writable or readable is recorded at an arbitrary position. Can
Further, data recording position information organized so that the recording positions of the respective recording data recorded can be referred to is recorded at a predetermined first fixed position of the memory means ,
Protect recording position information organized so that the recording position of the protection information can be referred is recorded at a predetermined second fixed position of the memory means ,
Based on the data recorded at the first fixed position sent from at least one of the data writing device or the data reading device, the data recording position information is read from the memory means or sent to the first fixed position. Means for writing the data recording position information based on the data recorded at the position and the write data;
Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protected recording position information is read from the memory means or sent to the second fixed position. Means for writing the protected recording position information based on the data recorded at the position and the write data;
Based on the data recorded at the second fixed position sent from at least one of the data writing device or the data reading device, the protect information is read from the memory means or sent to the second fixed location. Means for writing the protection information based on the recorded data and write data;
Collation means for collating designated position data sent from the data reading device or the data writing device with the protection information to confirm reading permission or writing permission of the designated position;
Means for reading data recorded in the memory means based on the collation result and designated position data sent from the data reader;
Means for writing the record data to the designated position of the memory means based on the collation result and designated position data and record data sent from the data writing device;
A data recording / reproducing apparatus comprising:
メモリ手段を内蔵し、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対して、データ授受が可能なデータ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報が参照可能に編成したデータ記録位置情報を予め定めた固定位置から再生するよう指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を予め定めた固定位置から再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記プロテクト情報を再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記データ記録再生装置へ書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに送付する手段と、
前記記録データが書込まれた後に、前記データ記録位置情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、前記プロテクト情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
を備えることを特徴とするデータ書込装置。
Data writing apparatus having built-in memory means and capable of transferring data to / from a data recording / reproducing apparatus capable of recording the inputted data at a designated position of the memory means based on inputted data and recording position designation information Because
Instructing the data recording / reproducing apparatus to reproduce data recording position information organized so that position information of each recording data recorded at an arbitrary position of the memory means can be referred to from a predetermined fixed position, and the data Means for receiving data read from the recording / reproducing device;
Instructing the data recording / reproducing apparatus to reproduce from a predetermined fixed position protected recording position information containing at least a recording position of the protected information that defines whether or not each recording data recorded in the memory means is writable; Means for receiving data read from the data recording / reproducing apparatus;
Means for obtaining position information where the protect information is recorded from the protect recording position information;
Means for instructing the data recording / reproducing apparatus to reproduce the protect information based on the position information, and receiving the data read from the data recording / reproducing apparatus;
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
Means for sending a write instruction together with the desired recording data and the desired recording position information to the data recording / reproducing apparatus after confirming the writable;
Means for sending an update write instruction of the data recording position information to the data recording / reproducing apparatus together with the update data after the record data is written;
Means for sending an update write instruction of the protect information to the data recording / reproducing apparatus together with the update data after the record data is written;
A data writing apparatus comprising:
データを指定された位置へ再生可能に記録するメモリ手段を内蔵するデータ記録再生装置に対してデータ授受が可能な、データ読取装置であって、
前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記メモリ手段の予め定めた第1固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各データ夫々の少なくとも読取り可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記メモリ手段の予め定めた第2固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記メモリ手段からプロテクト情報を再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、所望のデータの読取を前記メモリ手段の前記読取位置から読取る指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えることを特徴とするデータ読取装置。
A data reading device capable of transferring data to a data recording / reproducing device including a memory means for reproducibly recording data at a designated position,
An instruction to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to from a predetermined first fixed position of the memory means is the data recording / reproducing Means for receiving the data read from the data recording / reproducing device;
An instruction to reproduce the protected recording position information containing the recording position of the protection information that defines at least readability of each data recorded in the memory means from a predetermined second fixed position of the memory means. Means for sending to the playback device and receiving the data read from the data recording / playback device;
Means for obtaining position information where the protect information is recorded from the protect recording position information;
Means for sending an instruction to reproduce the protect information from the memory means based on the position information to the data recording / reproducing apparatus, and receiving the data read from the data recording / reproducing apparatus;
Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
After confirming that the data can be read, an instruction to read desired data from the reading position of the memory means is sent to the data recording / reproducing apparatus, and the data read from the data recording / reproducing apparatus is received. Means,
A data reading apparatus comprising:
任意の記録長から成るファイルをクラスタとして記録が可能なメモリ手段へのファイル記録方法であって、
任意の記録長のファイルを、既存の最後尾のクラスタの末尾に続けて記録することにより最新クラスタとする過程と、
クラスタ毎に設定される少なくとも書込み可否を規定するプロテクトデータを全クラスタに設定されたプロテクト情報を、前記最新クラスタの末尾に続けて記録する過程と、
前記各クラスタの区切り位置または記録された位置と範囲を示す位置情報を設定し、且つ最新のクラスタを示すように設定されたデータ記録位置情報を前記メモリ手段の所定の固定位置に記録する過程と、
を含むことを特徴とするファイル記録方法。
A file recording method to a memory means capable of recording a file having an arbitrary recording length as a cluster,
The process of making the latest cluster by recording a file of any record length following the end of the existing last cluster,
The process of recording the protection information set for all clusters at least the protection data that defines whether or not writing is set for each cluster, following the end of the latest cluster,
A step of setting position information indicating a delimiter position of each cluster or a recorded position and range, and recording data recording position information set to indicate the latest cluster at a predetermined fixed position of the memory means; ,
A file recording method comprising:
任意の記録長から成るファイルがクラスタとして記録され、且つ最新クラスタが既存の最後尾のクラスタの末尾に続けて記録され、且つクラスタ毎に設定される少なくとも読取り可否を規定するプロテクトデータを全クラスタについて設定したプロテクト情報が前記最新クラスタの末尾に続けて記録され、且つ前記各クラスタの区切り位置または記録された位置と範囲を示す位置情報を設定し、且つ最新のクラスタを示すように設定されたデータ記録位置情報が所定の固定位置に記録されたメモリ手段を対象として、
前記固定位置から前記データ記録位置情報を読取り、再生を所望するファイルが属する前記クラスタを確認する過程と、
前記データ記録位置情報の前記最新クラスタの位置情報から、前記プロテクト情報の記録位置を演算する過程と、
前記記録位置に基づき前記プロテクト情報から前記読取り可否を規定するプロテクトデータを読み出す過程と、
前記プロテクトデータに基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能の確認後に、前記データ記録位置情報に基づき前記クラスタ内の前記再生を所望するファイルを再生する過程と、
を含むことを特徴とするファイル再生方法。
A file consisting of an arbitrary recording length is recorded as a cluster, and the latest cluster is recorded after the end of the existing last cluster, and at least protect data that specifies readability is set for each cluster. Data that is set so that the set protect information is recorded at the end of the latest cluster, and the position information indicating the delimiter position of each cluster or the recorded position and range is set, and the latest cluster is indicated. For memory means in which recording position information is recorded at a predetermined fixed position,
Reading the data recording position information from the fixed position, and confirming the cluster to which the file desired to be reproduced belongs;
A step of calculating the recording position of the protection information from the position information of the latest cluster of the data recording position information;
Reading protect data that defines whether or not the read is possible from the protect information based on the recording position;
Confirming that the cluster to which the desired file belongs can be read based on the protected data;
After confirming that the cluster is readable, reproducing the file desired to be reproduced in the cluster based on the data recording position information;
A file playback method comprising:
メモリ手段を内蔵し、前記メモリ手段にデータを記録し、または前記メモリ手段に記録されたデータの再生が可能で且つ他の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、
記録を所望する任意の記録長の記録データ及び所望する指定記録位置を前記データ記録再生装置へ送出する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクト情報を前記データ記録再生装置へ送出可能とする手段とを備え、
前記データ記録再生装置は、
所定の固定位置に記録され、前記メモリ手段に記録された各記録データ夫々の位置情報が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す記載がなされたデータ記録位置情報を再生する手段と、
前記メモリ手段の、最新に記録された前記記録データの末尾に続く位置に記録された、各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報を再生する手段と、
前記データ書込装置から送付された前記記録データを前記メモリ手段の指定された位置へ記録する手段と、
前記記録データを前記メモリ手段へ記録後に、最新の記録データの位置情報が更新された前記データ記録位置情報を前記固定位置へ更新記録する手段と、
前記記録データを前記メモリ手段へ記録後に、前記データ書込装置から送付された前記プロテクト情報を、前記最新の記録データの末尾に続く位置に記録する手段と、
を備えることを特徴とするデータ書込システム。
A data recording / reproducing apparatus that has a built-in memory means, records data in the memory means, or can reproduce data recorded in the memory means and can exchange data with other devices;
A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
The data writing device comprises:
Means for sending recording data of an arbitrary recording length desired to be recorded and a desired designated recording position to the data recording / reproducing apparatus;
Means for enabling the recording data to be sent to the data recording / reproducing device with protect information defining at least one of readability and writeability after recording;
The data recording / reproducing apparatus comprises:
Data recording position information recorded at a predetermined fixed position, organized so that the position information of each recording data recorded in the memory means can be referred to, and the latest recording data in each recording data is described Means for playing
Means for reproducing the protection information that prescribes at least whether or not each of the recorded data is recorded at a position following the end of the latest recorded data of the memory means;
Means for recording the recording data sent from the data writing device in a designated position of the memory means;
Means for updating and recording the data recording position information in which the position information of the latest recording data is updated after recording the recording data in the memory means;
Means for recording the protection information sent from the data writing device after recording the recording data in the memory means at a position following the end of the latest recording data;
A data writing system comprising:
メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す設定がなされたデータ記録位置情報が前記メモリ手段の予め定めた固定位置に記録され、
さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が前記最新の記録データの末尾に続く位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データの前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、
を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記固定位置からの再生手段と、
前記データ記録位置情報に基づき演算された前記プロテクト情報の記録位置に基づき前記プロテクト情報を再生する手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき、該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とするデータ読取システム。
A data recording / reproducing apparatus having a built-in memory means, capable of reproducing data recorded in the memory means, and capable of exchanging data with an external device;
A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
In the memory means, recording data of an arbitrary recording length is recorded at an arbitrary position,
Further, the recording position of each recorded data is organized so that it can be referred to, and the data recording position information set to indicate the latest recorded data in each recorded data is a predetermined fixed position of the memory means Recorded in
Further, protection information that defines at least whether or not each recorded data is readable is recorded at a position following the end of the latest recorded data,
The data reader is at least:
Means for designating and sending positional information of the memory means of the recording data desired to be read;
Means for receiving reproduction data sent from the data recording / reproducing apparatus and reproduced from the memory means;
With
The data recording / reproducing apparatus comprises:
Means for reproducing the data recording position information from the fixed position;
Means for reproducing the protection information based on the recording position of the protection information calculated based on the data recording position information;
Means for reading the corresponding data from the memory means based on the positional information of the recorded data desired to be read after the read permission is confirmed based on the protect information;
Means for sending the read result as reproduction data to the data reader;
A data reading system comprising:
メモリ手段を内蔵して、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対してデータ授受が可能な、データ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成し、且つ前記各記録データ中の最新の記録データの位置情報を示すように設定されたデータ記録位置情報を、予め定めた固定位置へ記録し、または再生するよう指示する手段と、
前記メモリ手段に記録された各データ夫々の少なくとも書込み可否を規定するプロテクト情報を前記最新の記録データの末尾位置に続けて記録し、または前記最新の記録データの末尾位置に続く位置から再生するよう指示する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、更新された前記データ記録位置情報を前記固定位置に書き込む指示を前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、更新された前記プロテクト情報を前記記録データの末尾位置に続けて書き込む指示を前記データ記録再生装置へ送付する手段と、
を備えることを特徴とするデータ書込装置。
Data writing with built-in memory means, capable of transferring data to a data recording / reproducing apparatus capable of recording the inputted data at a designated position of the memory means based on inputted data and recording position designation information A device,
The data recording / reproducing apparatus is arranged so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to, and the latest recording data position information in each recording data is indicated. Means for instructing to record or reproduce the set data recording position information at a predetermined fixed position;
The protection information that defines at least whether each data recorded in the memory means is writable is recorded following the end position of the latest recorded data, or reproduced from the position following the end position of the latest recorded data. Means to direct;
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
Means for sending a write instruction together with the desired recording data and the desired recording position information to the data recording / reproducing apparatus after confirming the writable;
Means for sending an instruction to write the updated data recording position information to the fixed position after the recording data is written to the data recording / reproducing apparatus;
Means for sending, to the data recording / reproducing device, an instruction to write the updated protection information after the recording data is written to the end position of the recording data;
A data writing apparatus comprising:
メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置に対しデータ授受可能なデータ読取装置であって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに、記録された前記各記録データ夫々の記録位置が参照可能に編成され、且つ前記各記録データ中の最新の記録データを示す設定がなされたデータ記録位置情報が、前記メモリ手段の予め定めた固定位置に記録され、
さらに、記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が、前記最新の記録データの末尾に続く位置に記録され、
前記データ記録再生装置から前記データ記録位置情報の送付を受ける手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記データ記録再生装置から前記プロテクト情報の送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記データ記録再生装置へ読取指示を前記所望の読取位置情報とともに送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えたことを特徴とするデータ読取装置。
A data reading device having a built-in memory means, capable of reproducing data recorded in the memory means, and capable of transmitting / receiving data to / from a data recording / reproducing apparatus capable of transmitting / receiving data to / from an external device,
In the memory means, recording data of an arbitrary recording length is recorded at an arbitrary position,
Further, data recording position information in which the recording positions of the recorded data are recorded so that they can be referred to and the latest recording data in the recording data is set is determined in advance in the memory means. Recorded in a fixed position,
Further, the protection information that defines at least whether or not each recorded data is readable is recorded at a position following the end of the latest recorded data,
Means for receiving the data recording position information from the data recording / reproducing apparatus;
Read the end position of the latest recorded data from the data recording position information, obtain position information where the protect information is recorded from the end position, and send the protect information from the data recording / reproducing apparatus based on the position information Means to receive,
Means for confirming that the desired reading position is readable based on the reading position of the data desired to be read, the data recording position information and the protection information;
Means for sending a read instruction together with the desired reading position information to the data recording / reproducing device after confirming that the data can be read, and receiving the data read from the data recording / reproducing device;
A data reading apparatus comprising:
任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた第1固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が任意の位置に記録され、
且つ、前記プロテクト情報が記録された位置情報を収めたプロテクト記録位置情報が予め定めた第2固定位置に記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とするデータが記録されたコンピュータが読み取り可能な記録媒体。
Record data of any record length is recorded at any position,
Data organized so that the recording position information related to each recording data can be referred to is recorded at a first fixed position determined in advance as data recording position information,
Protect information that defines at least one of write permission and read permission for each recording data is recorded at an arbitrary position,
In addition, protect recording position information containing the position information where the protect information is recorded is recorded at a predetermined second fixed position,
A computer-readable recording medium on which data is recorded, wherein each of the records is readable or writable by a computer or a logic processing circuit operating in a stored program system.
入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ書込装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記記録媒体の予め定めた固定位置から再生する手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記記録媒体からプロテクト情報を再生する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記所望の記録データを前記所望の記録位置へ書き込む手段と、
前記記録データの書込み後に、前記データ記録位置情報を更新する手段と、
前記記録データの書込み後に、前記プロテクト情報を更新する手段と、
を備えることを特徴とするデータ書込装置。
A data writing apparatus capable of accessing a recording medium having an area for reproducibly recording input data to a designated position,
Means for reproducing data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined fixed position of the recording medium;
Means for reproducing the protected recording position information containing the recording position of the protected information that defines at least whether each recording data recorded on the recording medium is writable from a predetermined fixed position of the recording medium;
Means for obtaining position information where the protect information is recorded from the protect recording position information;
Means for reproducing protect information from the recording medium based on the position information;
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
Means for writing the desired recording data to the desired recording position after confirming the writable;
Means for updating the data recording position information after writing the recording data;
Means for updating the protection information after writing the recording data;
A data writing apparatus comprising:
データを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ読取装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報の記録位置を収めたプロテクト記録位置情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
前記プロテクト記録位置情報から前記プロテクト情報が記録された位置情報を得る手段と、
前記位置情報に基づき前記記録媒体からプロテクト情報を再生する手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記読取を所望するデータを前記記録媒体の前記読取位置から読取る手段と、
を備えることを特徴とするデータ読取装置。
A data reader capable of accessing a recording medium having an area for reproducibly recording data to a designated position,
Means for reproducing the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined first fixed position of the recording medium;
Means for reproducing protect recording position information containing at least a recording position of protect information that defines whether or not each of the recording data recorded on the recording medium is readable from a predetermined second fixed position of the recording medium;
Means for obtaining position information where the protect information is recorded from the protect recording position information;
Means for reproducing protect information from the recording medium based on the position information;
Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
Means for reading the data desired to be read from the reading position of the recording medium after confirming the readability;
A data reading apparatus comprising:
任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が、前記各記録データ中の最新の記録データの記録位置に続いて記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とするデータが記録されたコンピュータが読み取り可能な記録媒体。
Record data of any record length is recorded at any position,
Data organized so that the recording position information relating to each recording data can be referred to is recorded at a predetermined fixed position as data recording position information,
Protect information that defines at least one of write permission and read permission for each recording data is recorded following the recording position of the latest recording data in each recording data,
A computer-readable recording medium on which data is recorded, wherein each of the records is readable or writable by a computer or a logic processing circuit operating in a stored program system.
任意の記録長の記録データを記録可能で任意の位置に置かれる領域と、予め定めた固定位置に置かれ、任意の位置に記録された前記各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を記録する領域と、各領域につき少なくとも書込み可否を規定するプロテクト情報を記録する領域とを有する記録媒体にアクセス可能なデータ書込装置であって、
前記データ記録位置情報には、記録された前記各記録データ中の最新の記録データの位置情報を示すように設定され、
且つ前記プロテクト情報は、前記記録媒体上の前記最新の記録データの末尾位置に続けて記録されるものとし、
前記記録媒体の前記固定位置から前記データ記録位置情報を読み取る手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記プロテクト情報を読み取る手段と、
記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能であることを確認後に、前記所望の記録データを前記記録媒体の所望の位置へ記録する手段と、
前記記録データが書込まれた後に、前記記録データを最新の記録データとして更新する前記データ記録位置情報を前記記録媒体の前記固定位置に更新記録する手段と、
前記記録データが書込まれた後に、更新する前記プロテクト情報を前記記録媒体の最新の前記記録データの末尾に続けて更新記録する手段と、
を備えることを特徴とするデータ書込装置。
An area in which recording data of an arbitrary recording length can be recorded and placed at an arbitrary position, and a predetermined fixed position, and the positional information of each of the recording data recorded at an arbitrary position can be referred to A data writing apparatus capable of accessing a recording medium having an area for recording data recording position information and an area for recording at least protection information for specifying whether each area is writable,
The data recording position information is set so as to indicate the position information of the latest recording data in each of the recorded recording data,
And the protect information shall be recorded following the end position of the latest recording data on the recording medium,
Means for reading the data recording position information from the fixed position of the recording medium;
Means for reading the end position of the latest recording data from the data recording position information, obtaining position information where the protect information is recorded from the end position, and reading the protect information based on the position information;
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data is recorded, the data recording position information and the protection information;
Means for recording the desired recording data at a desired position on the recording medium after confirming that the writing is possible;
Means for updating and recording the data recording position information at the fixed position of the recording medium for updating the recording data as the latest recording data after the recording data is written;
Means for updating and recording the protection information to be updated after the recording data is written following the end of the latest recording data of the recording medium;
A data writing apparatus comprising:
任意の記録長の記録データを記録可能で任意の位置に置かれる領域と、予め定めた固定位置に置かれ、任意の位置に記録された前記各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を記録する領域と、各領域につき少なくとも読取り可否を規定するプロテクト情報を記録する領域とを有する記録媒体にアクセス可能なデータ読取装置であって、
前記データ記録位置情報には、記録された前記各記録データ中の最新の記録データの位置情報を示すように記載され、
且つ前記プロテクト情報は、前記記録媒体上の前記最新の記録データの末尾位置に続けて記録されるものとし、
前記記録媒体の前記固定位置から前記データ記録位置情報を読み取る手段と、
前記データ記録位置情報から前記最新の記録データの末尾位置を読取り、当該末尾位置から前記プロテクト情報が記録された位置情報を得て、当該位置情報に基づき前記プロテクト情報を読み取る手段と、
記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、前記所望の再生データを前記記録媒体の所望の位置から再生する手段と、
を備えることを特徴とするデータ読取装置。
An area in which recording data of an arbitrary recording length can be recorded and placed at an arbitrary position, and a predetermined fixed position, and the positional information of each of the recording data recorded at an arbitrary position can be referred to A data reading apparatus capable of accessing a recording medium having an area for recording data recording position information and an area for recording at least protection information for specifying whether or not each area can be read.
The data recording position information is described so as to indicate the position information of the latest recording data in each recorded recording data,
And the protect information shall be recorded following the end position of the latest recording data on the recording medium,
Means for reading the data recording position information from the fixed position of the recording medium;
Means for reading the end position of the latest recording data from the data recording position information, obtaining position information where the protect information is recorded from the end position, and reading the protect information based on the position information;
Means for confirming that the desired recording position can be read based on the desired recording position where the recording data is recorded, the data recording position information, and the protection information;
Means for reproducing the desired reproduction data from a desired position of the recording medium after confirming that the reading is possible;
A data reading apparatus comprising:
データの記録再生が可能なメモリ手段を備え、
前記メモリ手段において記録が許されている任意の位置に、任意の記録長のファイルを記録してクラスタとする過程と、
前記クラスタが記録された位置と範囲、または区切り位置情報を示す記録位置情報を、データ記録位置情報として前記メモリ手段の所定の位置に記録する過程と、
前記クラスタ毎に設定される少なくとも書込みの可否を示すプロテクト情報を前記メモリ手段の所定の位置に記録する過程と、
を含むことを特徴とするファイル記録方法。
A memory means capable of recording and reproducing data;
Recording a file of an arbitrary recording length at an arbitrary position where recording is allowed in the memory means to form a cluster;
Recording the position and range where the cluster is recorded, or recording position information indicating delimiter position information as data recording position information at a predetermined position in the memory means;
A step of recording at least predetermined protection information indicating whether or not writing is set in each cluster in a predetermined position of the memory means;
A file recording method comprising:
データの記録再生が可能なメモリ手段に、再生を所望するファイルが任意の記録長で任意の位置に記録されたクラスタとして存在し、
且つ所定の位置に、前記クラスタの記録された位置と範囲または区切り位置を示す情報が、データ記録位置情報として記録され、
且つ所定の位置に、前記クラスタ毎に設定される少なくとも読取りの可否を示すプロテクト情報が記録された前記メモリ手段であり、
前記所定の位置から前記データ記録位置情報を読取り、再生を所望する前記ファイルが属する前記クラスタを確認する過程と、
前記メモリ手段の前記所定の位置から前記プロテクト情報を読み取る過程と、
前記プロテクト情報に基づき前記所望のファイルが属する前記クラスタの読取り可能を確認する過程と、
前記クラスタの読取り可能の確認後に、前記データ記録位置情報に基づき前記クラスタ内の前記ファイルを読み取り再生する過程と、
を含むことを特徴とするファイル再生方法。
In a memory means capable of recording and reproducing data, a file desired to be reproduced exists as a cluster recorded at an arbitrary position with an arbitrary recording length,
And at a predetermined position, information indicating the recorded position and range or separation position of the cluster is recorded as data recording position information,
And the memory means in which at least a protection information indicating whether or not reading is set for each cluster is recorded in a predetermined position,
Reading the data recording position information from the predetermined position and confirming the cluster to which the file desired to be reproduced belongs;
Reading the protect information from the predetermined location of the memory means;
Confirming that the cluster to which the desired file belongs can be read based on the protection information;
After confirming that the cluster is readable, reading and reproducing the file in the cluster based on the data recording position information;
A file playback method comprising:
内蔵するメモリ手段に記録データを記録する記録手段と、前記メモリ手段に記録された各記録データ夫々の位置情報が参照可能に編成されたデータ記録位置情報の記録および再生手段と、前記メモリ手段に記録された前記各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報の記録および再生手段を備え、外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ書込装置と、
を備えて構成されるデータ書込システムであって、
前記データ書込装置は、少なくとも、
記録データ及び当該記録データが記録される位置情報を指定して送付する手段と、
前記記録データの、記録後における読取り可否または書込み可否の少なくとも何れかを規定するプロテクトデータを前記データ記録再生装置へ送付可能とする手段とを備え、
前記データ記録再生装置は、
前記記録データを前記メモリ手段の前記指定された位置へ記録し、記録後に、更新された前記データ記録位置情報を前記メモリ手段の予め定めた第1固定位置へ記録する手段と、
前記送付されたプロテクトデータにより更新されたプロテクト情報を前記メモリ手段の予め定めた第2固定位置へ記録する手段と、
前記データ記録位置情報を前記第1固定位置から再生する手段と、
前記プロテクト情報を前記第2固定位置から再生する手段と、
を備えることを特徴とするデータ書込システム。
Recording means for recording the recording data in the built-in memory means, recording and reproducing means for data recording position information organized so that the position information of each recording data recorded in the memory means can be referred to, and the memory means A recording / reproducing device for recording and reproducing protection information that defines at least whether each of the recorded data is writable, and a data recording / reproducing device capable of exchanging data with an external device;
A data writing device capable of exchanging data with the data recording / reproducing device;
A data writing system comprising:
The data writing device is at least:
Means for designating and sending recording data and position information where the recording data is recorded;
Means for enabling the recording data to be sent to the data recording / reproducing device with protected data that defines at least one of readability and writeability after recording;
The data recording / reproducing apparatus comprises:
Means for recording the recording data at the designated position of the memory means, and recording the updated data recording position information at a predetermined first fixed position of the memory means after recording;
Means for recording the protection information updated by the sent protection data in a predetermined second fixed position of the memory means ;
Means for reproducing the data recording position information from the first fixed position;
Means for reproducing the protection information from the second fixed position;
A data writing system comprising:
メモリ手段を内蔵し、前記メモリ手段に記録されたデータの再生が可能で且つ外部の装置とデータ授受可能なデータ記録再生装置と、
前記データ記録再生装置とデータ授受可能なデータ読取装置と、
を備えて構成されるデータ読取システムであって、
前記メモリ手段には、任意の位置に任意の記録長の記録データが記録され、
さらに記録された前記各記録データ夫々の記録位置が参照可能に編成されたデータ記録位置情報が前記メモリ手段の予め定めた第1固定位置に記録され、
さらに記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報が前記メモリ手段の予め定めた第2固定位置に記録され、
前記データ読取装置は、少なくとも、
読取りを所望する記録データの前記メモリ手段の位置情報を指定して送付する手段と、
前記データ記録再生装置から送付された、前記メモリ手段から再生された再生データを受理する手段と、を備え、
前記データ記録再生装置は、
前記データ記録位置情報の、前記第1固定位置からの再生手段と、
前記プロテクト情報の、前記第2固定位置からの再生手段と、
前記プロテクト情報に基づき読取許可が確認された後に、前記送付された読取りを所望する記録データの位置情報に基づき該当するデータを前記メモリ手段から読取る手段と、
前記読取り結果を再生データとして前記データ読取装置へ送付する手段と、
を備えることを特徴とするデータ読取システム。
A data recording / reproducing apparatus having a built-in memory means, capable of reproducing data recorded in the memory means, and capable of exchanging data with an external device;
A data reader capable of exchanging data with the data recording / reproducing device;
A data reading system comprising:
In the memory means, recording data of an arbitrary recording length is recorded at an arbitrary position,
Further, data recording position information organized so that the recording positions of the respective recording data recorded can be referred to is recorded at a predetermined first fixed position of the memory means,
Further, protect information for specifying whether or not each recorded data is at least readable is recorded in a predetermined second fixed position of the memory means,
The data reader is at least:
Means for designating and sending positional information of the memory means of the recording data desired to be read;
Means for receiving reproduced data sent from the data recording / reproducing apparatus and reproduced from the memory means;
The data recording / reproducing apparatus comprises:
Means for reproducing the data recording position information from the first fixed position;
Means for reproducing the protection information from the second fixed position;
Means for reading the corresponding data from the memory means based on the positional information of the recorded data desired to be read after the read permission is confirmed based on the protect information;
Means for sending the read result as reproduction data to the data reader;
A data reading system comprising:
メモリ手段を内蔵して、入力されたデータ及び記録位置指定情報に基づき前記入力されたデータを前記メモリ手段の指定位置へ記録可能なデータ記録再生装置に対してデータ授受が可能な、データ書込装置であって、
前記データ記録再生装置へ、前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を予め定めた第1固定位置から再生するよう指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各データ夫々の少なくとも書込み可否を規定するプロテクト情報を予め定めた第2固定位置から再生するよう前記データ記録再生装置へ指示し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能であることを確認後に、前記データ記録再生装置へ書込指示を前記所望の記録データ及び前記所望の記録位置情報とともに送付する手段と、
前記記録データが書込まれた後に、前記第1固定位置に在る前記データ記録位置情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
前記記録データが書込まれた後に、前記第2固定位置に在る前記プロテクト情報の更新書込指示を、更新データとともに前記データ記録再生装置へ送付する手段と、
を備えることを特徴とするデータ書込装置。
Data writing with built-in memory means, capable of transferring data to a data recording / reproducing apparatus capable of recording the inputted data at a designated position of the memory means based on inputted data and recording position designation information A device,
Instructing the data recording / reproducing apparatus to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred from a predetermined first fixed position; Means for receiving data read from the data recording / reproducing apparatus;
Data that is read from the data recording / reproducing apparatus is instructed to reproduce the protection information that defines at least whether or not each data recorded in the memory means is reproduced from a predetermined second fixed position. Means to receive
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
Means for sending a write instruction together with the desired recording data and the desired recording position information to the data recording / reproducing apparatus after confirming that the writing is possible;
Means for sending an update writing instruction of the data recording position information at the first fixed position to the data recording / reproducing apparatus together with the update data after the recording data is written;
Means for sending an update write instruction of the protect information at the second fixed position to the data recording / reproducing apparatus together with the update data after the record data is written;
A data writing apparatus comprising:
データを指定された位置へ再生可能に記録するメモリ手段を内蔵するデータ記録再生装置に対してデータ授受が可能な、データ読取装置であって、
前記メモリ手段の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記メモリ手段の予め定めた第1固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
前記メモリ手段に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報を、前記メモリ手段の予め定めた第2固定位置から再生する指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能であることを確認後に、前記読取を所望するデータを前記メモリ手段の前記読取位置から読取る指示を前記データ記録再生装置に送付し、前記データ記録再生装置から読み取られたデータの送付を受ける手段と、
を備えることを特徴とするデータ読取装置。
A data reading device capable of transferring data to a data recording / reproducing device incorporating a memory means for reproducibly recording data to a designated position,
An instruction to reproduce the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the memory means can be referred to from a predetermined first fixed position of the memory means is the data recording / reproducing Means for receiving the data read from the data recording / reproducing device;
Sending an instruction to reproduce at least a protection information that defines whether or not each of the recorded data recorded in the memory means from a predetermined second fixed position of the memory means to the data recording / reproducing apparatus, Means for receiving data read from the playback device;
Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
After confirming that the data can be read, an instruction to read the data desired to be read from the reading position of the memory means is sent to the data recording / reproducing apparatus, and the data read from the data recording / reproducing apparatus is sent. Means to receive,
A data reading apparatus comprising:
任意の記録長の記録データが任意の位置に記録され、
前記各記録データに係る記録位置情報を参照可能に編成したデータがデータ記録位置情報として予め定めた第1固定位置に記録され、
少なくとも前記各記録データにつき書込み可否または読取り可否の少なくとも何れかを規定するプロテクト情報が、予め定めた第2固定位置に記録され、
前記各記録がコンピュータまたはストアード・プログラム方式で動作する論理処理回路によって読取りまたは書込可能としたことを特徴とするデータが記録されたコンピュータが読み取り可能な記録媒体。
Record data of any record length is recorded at any position,
Data organized so that the recording position information related to each recording data can be referred to is recorded at a first fixed position determined in advance as data recording position information,
Protect information that defines at least one of write permission and read permission for each recording data is recorded at a predetermined second fixed position,
A computer-readable recording medium on which data is recorded, wherein each of the records is readable or writable by a computer or a logic processing circuit operating in a stored program system.
入力されたデータを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ書込装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、 前記記録媒体に記録された各記録データ夫々の少なくとも書込み可否を規定するプロテクト情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
書込みを所望する記録データが記録される所望の記録位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記所望の記録位置が書込可能であることを確認する手段と、
前記書込可能の確認後に、前記所望の記録データを前記所望の記録位置へ書き込む手段と、
前記記録データの書込み後に、前記第1固定位置の前記データ記録位置情報を更新する手段と、
前記記録データの書込み後に、前記第2固定位置の前記プロテクト情報を更新する手段と、
を備えることを特徴とするデータ書込装置。
A data writing apparatus capable of accessing a recording medium having an area for reproducibly recording input data to a designated position,
Means for reproducing data recording position information organized so that reference can be made to the position information of each recording data recorded at an arbitrary position of the recording medium from a predetermined first fixed position of the recording medium; and Means for reproducing from at least a predetermined second fixed position of the recording medium protection information that defines at least whether or not each recording data recorded on the recording medium is writable;
Means for confirming that the desired recording position is writable based on the desired recording position where the recording data desired to be written is recorded, the data recording position information, and the protection information;
Means for writing the desired recording data to the desired recording position after confirming the writable;
Means for updating the data recording position information of the first fixed position after writing the recording data;
Means for updating the protection information at the second fixed position after writing the recording data;
A data writing apparatus comprising:
データを指定された位置へ再生可能に記録する領域を有する記録媒体にアクセス可能なデータ読取装置であって、
前記記録媒体の任意の位置に記録された各記録データ夫々の位置情報を参照可能に編成したデータ記録位置情報を、前記記録媒体の予め定めた第1固定位置から再生する手段と、
前記記録媒体に記録された各記録データ夫々の少なくとも読取り可否を規定するプロテクト情報を、前記記録媒体の予め定めた第2固定位置から再生する手段と、
読取りを所望するデータの読取位置と前記データ記録位置情報と前記プロテクト情報に基づき、前記読取位置が読取可能であることを確認する手段と、
前記読取可能の確認後に、前記読取を所望するデータを前記記録媒体の前記読取位置から読取る手段と、
を備えることを特徴とするデータ読取装置。
A data reader capable of accessing a recording medium having an area for reproducibly recording data to a designated position,
Means for reproducing the data recording position information organized so that the position information of each recording data recorded at an arbitrary position of the recording medium can be referred to from a predetermined first fixed position of the recording medium;
Means for reproducing from at least a predetermined second fixed position of the recording medium, protection information that defines at least whether or not each recording data recorded on the recording medium is readable;
Means for confirming that the reading position is readable based on a reading position of data desired to be read, the data recording position information, and the protection information;
Means for reading the data desired to be read from the reading position of the recording medium after confirming the readability;
A data reading apparatus comprising:
JP21713399A 1999-07-30 1999-07-30 File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded Expired - Fee Related JP4332763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21713399A JP4332763B2 (en) 1999-07-30 1999-07-30 File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21713399A JP4332763B2 (en) 1999-07-30 1999-07-30 File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded

Publications (2)

Publication Number Publication Date
JP2001043112A JP2001043112A (en) 2001-02-16
JP4332763B2 true JP4332763B2 (en) 2009-09-16

Family

ID=16699383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21713399A Expired - Fee Related JP4332763B2 (en) 1999-07-30 1999-07-30 File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded

Country Status (1)

Country Link
JP (1) JP4332763B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7000834B2 (en) 2001-02-21 2006-02-21 International Business Machines Corporation Method to address security and privacy issue of the use of RFID systems to track consumer products
JP4667014B2 (en) * 2004-11-18 2011-04-06 キヤノン株式会社 Storage management device and control method thereof
CN116500568B (en) * 2023-06-29 2023-10-13 成都华兴汇明科技有限公司 Method and system for generating long-time dynamic multi-target overlapping signals

Also Published As

Publication number Publication date
JP2001043112A (en) 2001-02-16

Similar Documents

Publication Publication Date Title
JP4806639B2 (en) Secure device and IC card issuing system
US9514063B2 (en) Secure compact flash
JP4469405B2 (en) Semiconductor memory card, program
EP1117077B1 (en) Information processing system, portable electronic device, access apparatus for the portable electronic device, and method of using memory space
JP5521803B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
EP1469419A1 (en) Proximity communication system, proximity communication method, data managing apparatus, data managing method, recording medium, and computer program
US20060112282A1 (en) Integrated circuit for digital rights management
JP3865629B2 (en) Storage device
US20060181396A1 (en) Radio communication system, reader/writer apparatus, key managing method, and computer program
KR20060126363A (en) Data transmission-reception system, contactless ic chip, mobile terminal, information processing method, and program
JP4332763B2 (en) File recording method, file reproducing method, data writing system, data reading system, data recording / reproducing apparatus, data writing apparatus, data reading apparatus, and computer-readable recording medium on which data is recorded
US6286757B1 (en) Portable electronic apparatus
EP1376371A1 (en) Data storage apparatus
KR20050103448A (en) Semiconductor memory card and computer readable program
JP4279699B2 (en) Semiconductor memory card, control program.
JP2011060136A (en) Portable electronic apparatus, and data management method in the same
JP5464066B2 (en) Communication device and communication method
JP4334538B2 (en) IC card
JP5742976B2 (en) Communication device, communication method, and wireless tag
JP4590842B2 (en) Data writing apparatus, data writing method, data reading apparatus, data reading method, and program
JPS63184853A (en) Portable electronic apparatus
KR20160024756A (en) Ic card, portable electronic apparatus, and ic card processing apparatus
JP3908246B2 (en) IC card
JP5664807B2 (en) Communication device, communication method, and wireless tag
JP5437163B2 (en) Information processing method, information processing apparatus, and information processing system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081113

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090422

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090528

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090610

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

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120703

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees