JP2000122923A - Recording device and method, reproducing device and method, recording medium, and program recording medium - Google Patents

Recording device and method, reproducing device and method, recording medium, and program recording medium

Info

Publication number
JP2000122923A
JP2000122923A JP11182894A JP18289499A JP2000122923A JP 2000122923 A JP2000122923 A JP 2000122923A JP 11182894 A JP11182894 A JP 11182894A JP 18289499 A JP18289499 A JP 18289499A JP 2000122923 A JP2000122923 A JP 2000122923A
Authority
JP
Japan
Prior art keywords
blocks
recording medium
recording
parallel
block
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.)
Withdrawn
Application number
JP11182894A
Other languages
Japanese (ja)
Inventor
Naoya Haneda
直也 羽田
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 JP11182894A priority Critical patent/JP2000122923A/en
Priority to US09/349,887 priority patent/US6438086B1/en
Publication of JP2000122923A publication Critical patent/JP2000122923A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To write data at high speed. SOLUTION: This recording medium 1 is constituted of plural flash memories. In a recording medium control part 42, the recording states of the plural flash memories are managed in a unit called as a block. The recording medium control part 42 constitutes not less than one parallel block constituted of not less than one block based on the minimum number of blocks being the minimum value of the number of blocks for writing data in parallel to the plural flash memories constituting the recording medium 1, so that waiting time when data is written into the recording medium 1 is reduced and writes data in parallel with the blocks constituting the parallel block as an object.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記録装置および記
録方法、再生装置および再生方法、記録媒体、並びにプ
ログラム記録媒体に関し、特に、データを、並列的に書
き込むことで、その書き込みを短時間で行うことができ
るようにする記録装置および記録方法、再生装置および
再生方法、記録媒体、並びにプログラム記録媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording apparatus and a recording method, a reproducing apparatus and a reproducing method, a recording medium and a program recording medium. The present invention relates to a recording apparatus and a recording method, a reproducing apparatus and a reproducing method, a recording medium, and a program recording medium that can be performed.

【0002】[0002]

【従来の技術】本件出願人は、例えば、特開平6−13
1371号公報(米国特許5,619,570に対
応)、特開平6−215010号公報、特開平6−30
1601号公報(米国特許5,717,953に対応)
などにおいて、半導体メモリ等の記録媒体を内蔵した携
帯型のユーザ端末に対して、ビデオや、オーディオ、キ
ャラクタ、コンピュータプログラムなどのデータ(特
に、ディジタルデータ)を提供する情報提供装置からデ
ータを転送し、各種のサービスを提供するシステムを、
先に提案している。
2. Description of the Related Art The applicant of the present invention has disclosed, for example,
No. 1371 (corresponding to U.S. Pat. No. 5,619,570), Japanese Patent Application Laid-Open No. 6-215010, Japanese Patent Application Laid-Open No. 6-30
No. 1601 (corresponding to US Pat. No. 5,717,953)
For example, data is transferred from an information providing apparatus that provides data (particularly digital data) such as video, audio, characters, and computer programs to a portable user terminal having a built-in recording medium such as a semiconductor memory. , A system that provides various services,
Proposed earlier.

【0003】このようなシステムによれば、ユーザは、
例えば、ユーザ端末を携帯して、情報提供装置が設定さ
れている場所まで出向き、その情報提供装置から、オー
ディオデータ等の提供を受け、ユーザ端末において再生
することで、曲を聴くことができる。即ち、この場合、
ユーザは、オーディオデータが記録されたCD(Compac
t Disc)や磁気テープなど購入することなく、曲の提供
を受けることができ、また、その曲に飽きた場合には、
新たな曲のオーディオデータの提供を受けることで、そ
の新たな曲を聴くことが可能となる。
[0003] According to such a system, the user:
For example, a user can carry a user terminal, go to a place where an information providing device is set, receive audio data or the like from the information providing device, and play back the music on the user terminal to listen to music. That is, in this case,
The user can use a CD (Compac
t Disc) or magnetic tape, without having to buy a song, and if you get tired of that song,
By receiving the audio data of a new song, it becomes possible to listen to the new song.

【0004】[0004]

【発明が解決しようとする課題】以上のようなユーザ端
末には、携帯性が要求されることから、それに使用する
記録媒体としては、電池等によるバックアップがなくて
も、データを保持することができる、例えば、フラッシ
ュメモリなどの不揮発性のメモリを用いるのが好まし
い。
Since the above-mentioned user terminal is required to be portable, it is necessary to retain data without using a backup medium such as a battery as a recording medium used for the user terminal. Preferably, a non-volatile memory such as a flash memory is used.

【0005】しかしながら、フラッシュメモリは、そこ
に書き込むデータを入力するのに要するデータ入力時間
に対して、その入力されたデータをフラッシュメモリの
セルに実際に書き込むのに要するプログラム時間が、比
較的長いため、書き込むデータの量が、フラッシュメモ
リに一度に入力可能な量より多いと、フラッシュメモリ
にデータを入力し終えてから、次のデータを入力するま
でに、少なくとも、プログラム時間だけの待ち時間が生
じる。そして、データを書き込むのに、上述のような待
ち時間が生じることは、1人のユーザにデータを提供す
るのに多くの時間を要することとなる。一方、情報提供
装置は、多くのユーザが使用するものであるから、1人
のユーザに対してデータを提供するのに多くの時間を要
することは、他のユーザを待たせることになり、これで
は、サービスを受けるユーザの数の減少を招くことにな
る。
However, the flash memory requires a relatively long program time for actually writing the input data to the cells of the flash memory with respect to the data input time for inputting the data to be written therein. Therefore, if the amount of data to be written is larger than the amount that can be input to the flash memory at one time, at least the program time wait time from the end of inputting data to the flash memory until the next data is input Occurs. The occurrence of the above-mentioned waiting time for writing data requires a lot of time to provide data to one user. On the other hand, since an information providing apparatus is used by many users, it takes a lot of time to provide data to one user, which causes other users to wait. Then, the number of users who receive the service is reduced.

【0006】そこで、本件出願人は、フラッシュメモリ
を、複数チップ用い、その複数チップに対して、データ
を並列的に書き込むことで、データの書き込みに要する
時間の短縮化を図る記録方式(以下、適宜、並列記録方
式という)について、先に提案している。
Therefore, the applicant of the present application has proposed a recording method (hereinafter, referred to as a “memory”) for shortening the time required for writing data by using a plurality of chips in a flash memory and writing data to the plurality of chips in parallel. Where appropriate, referred to as a parallel recording method).

【0007】並列記録方式は、例えば、複数のフラッシ
ュメモリのうちの1のチップにデータを入力し、その入
力が終了すると、次のデータを、他のチップに入力し、
その入力が終了すると、さらに次のデータを、さらに他
のチップに入力するといったもので、即ち、1のチップ
において、そこに入力されたデータがメモリセルに書き
込まれている間に、次のデータを、他の1のチップに入
力するもので、これにより、1のチップのプログラム時
間を待たずに、次のデータの入力を行うことができ、そ
の結果、データの書き込みに要する時間の短縮化を図る
ことができる。
In the parallel recording method, for example, data is input to one chip of a plurality of flash memories, and when the input is completed, the next data is input to another chip.
When the input is completed, the next data is further input to another chip, that is, while the data input thereto is being written to the memory cell in one chip, the next data is input. Is input to another chip, so that the next data can be input without waiting for the programming time of one chip. As a result, the time required for writing data can be shortened. Can be achieved.

【0008】ところで、並列記録方式による書き込み
を、複数チップのフラッシュメモリのうちの、例えば、
2チップを対象に行う場合においては、1のチップに、
所定量のデータを入力し、その入力が終了した後に、他
の1のチップに、所定量のデータを入力する。そして、
その入力が終了した後に、1のチップに、再び、所定量
のデータを入力することとなるが、このとき、1のチッ
プに対して、前回入力された所定量のデータの書き込み
が終了していないことがある。この場合、1のチップに
対して、今回入力しようとしているデータの入力は、前
回入力されたデータの書き込みが終了するまで待たさ
れ、書き込みの高速化が妨げられることになる。
By the way, the writing by the parallel recording method is performed, for example, by using, for example, a flash memory of a plurality of chips.
When performing two chips, one chip
A predetermined amount of data is input, and after the input is completed, a predetermined amount of data is input to another chip. And
After the input is completed, a predetermined amount of data is again input to one chip. At this time, the writing of the previously input predetermined amount of data to one chip has been completed. There may not be. In this case, the input of the data to be input this time to one chip is waited until the writing of the previously input data is completed, which hinders the speeding up of writing.

【0009】本発明は、このような状況に鑑みてなされ
たものであり、並列記録方式による書き込みの高速化の
効果を、最大限に発揮することができるようにするもの
である。
The present invention has been made in view of such circumstances, and aims to maximize the effect of increasing the speed of writing by the parallel recording method.

【0010】[0010]

【課題を解決するための手段】請求項1に記載の記録装
置は、データを、記録媒体の1以上のブロックに対して
並列的に書き込む場合に、待ち時間を最小にするブロッ
クの数の最小値である最小ブロック数に基づき、1以上
のブロックで構成される1以上の並列ブロックを構成す
る構成手段と、並列ブロックを構成するブロックを対象
として、並列的に、データを書き込む書き込み手段とを
備えることを特徴とする。
According to a first aspect of the present invention, there is provided a recording apparatus, wherein data is written to one or more blocks of a recording medium in parallel, and the number of blocks for minimizing a waiting time is minimized. Based on the minimum number of blocks, which is a value, a configuration unit that configures one or more parallel blocks composed of one or more blocks, and a writing unit that writes data in parallel with respect to the blocks that configure the parallel blocks. It is characterized by having.

【0011】請求項21に記載の記録方法は、データ
を、記録媒体の1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にするブロックの数の最小
値である最小ブロック数に基づき、1以上のブロックで
構成される1以上の並列ブロックを構成する構成ステッ
プと、並列ブロックを構成するブロックを対象として、
並列的に、データを書き込む書き込みステップとを備え
ることを特徴とする。
According to the recording method of the present invention, when data is written in parallel to one or more blocks of a recording medium, the minimum number of blocks is the minimum value of the number of blocks that minimizes the waiting time. Based on the configuration steps for configuring one or more parallel blocks composed of one or more blocks, and for the blocks configuring the parallel blocks,
A writing step of writing data in parallel.

【0012】請求項38に記載の記録媒体は、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
が並列的に書き込まれることを特徴とする。
A recording medium according to claim 38, wherein data is written in parallel to one or more blocks, based on a minimum number of blocks that is a minimum value of the number of blocks that minimizes the waiting time. Data is written in parallel to blocks constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks.

【0013】請求項55に記載の記録媒体は、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数、またはその最小ブロック数を求めるの
に必要な情報が記録されていることを特徴とする。
The recording medium according to claim 55, wherein when data is written in parallel to one or more blocks, the minimum number of blocks that is the minimum number of blocks that minimizes the waiting time, or It is characterized in that information necessary for obtaining the minimum number of blocks is recorded.

【0014】請求項56に記載の再生装置は、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
が並列的に書き込まれている記録媒体から、データを読
み出す読み出し手段を備えることを特徴とする。
[0015] According to a 56th aspect of the present invention, when data is written in parallel to one or more blocks, based on the minimum number of blocks which is the minimum value of the number of blocks minimizing the waiting time, A read unit for reading data from a recording medium on which data is written in parallel is provided for a block constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks. It is characterized by the following.

【0015】請求項58に記載の再生方法は、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
が並列的に書き込まれている記録媒体から、データを読
み出すことを特徴とする。
[0015] In the reproducing method according to claim 58, when data is written in parallel to one or more blocks, the data is written based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time. Data is read from a recording medium on which data is written in parallel with respect to blocks constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks. I do.

【0016】請求項59に記載のプログラム記録媒体
は、データを、記録媒体の1以上のブロックに対して並
列的に書き込む場合に、待ち時間を最小にするブロック
の数の最小値である最小ブロック数に基づき、1以上の
ブロックで構成される1以上の並列ブロックを構成する
構成ステップと、並列ブロックを構成するブロックを対
象として、並列的に、データを書き込む書き込みステッ
プとを備えるプログラムが記録されていることを特徴と
する。
A program recording medium according to claim 59, wherein when writing data to one or more blocks of the recording medium in parallel, the minimum block is a minimum value of the number of blocks that minimizes the waiting time. Based on the number, a program is recorded which includes a configuration step of configuring one or more parallel blocks composed of one or more blocks, and a writing step of writing data in parallel with respect to the blocks configuring the parallel blocks. It is characterized by having.

【0017】請求項60に記載のプログラム記録媒体
は、データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にするブロックの数の最小
値である最小ブロック数に基づき、1以上のブロックで
構成される1以上の並列ブロックを構成することにより
得られる並列ブロックを構成するブロックを対象とし
て、データが並列的に書き込まれている記録媒体から、
データを読み出すステップを備えるプログラムが記録さ
れていることを特徴とする。
In the program recording medium according to the present invention, when data is written in parallel to one or more blocks, the program recording medium is based on the minimum number of blocks which minimizes the waiting time. From a recording medium on which data is written in parallel with respect to a block constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks;
A program having a step of reading data is recorded.

【0018】請求項1に記載の記録装置においては、構
成手段は、データを、記録媒体の1以上のブロックに対
して並列的に書き込む場合に、待ち時間を最小にするブ
ロックの数の最小値である最小ブロック数に基づき、1
以上のブロックで構成される1以上の並列ブロックを構
成し、書き込み手段は、並列ブロックを構成するブロッ
クを対象として、並列的に、データを書き込むようにな
されている。
[0018] In the recording apparatus according to the first aspect, when the data is written in parallel to one or more blocks of the recording medium, a minimum value of the number of blocks for minimizing a waiting time is provided. Based on the minimum number of blocks
One or more parallel blocks composed of the above blocks are configured, and the writing unit is configured to write data in parallel to blocks constituting the parallel blocks.

【0019】請求項21に記載の記録方法においては、
データを、記録媒体の1以上のブロックに対して並列的
に書き込む場合に、待ち時間を最小にするブロックの数
の最小値である最小ブロック数に基づき、1以上のブロ
ックで構成される1以上の並列ブロックを構成し、並列
ブロックを構成するブロックを対象として、並列的に、
データを書き込むようになされている。
[0019] In the recording method according to the twenty-first aspect,
When data is written in parallel to one or more blocks of a recording medium, one or more blocks composed of one or more blocks are based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time. Of the parallel blocks, and for the blocks constituting the parallel blocks,
It is designed to write data.

【0020】請求項38に記載の記録媒体には、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
が並列的に書き込まれる。
In the recording medium according to the thirty-eighth aspect, when data is written in parallel to one or more blocks, the data is written based on the minimum number of blocks that minimizes the waiting time. Data is written in parallel to blocks constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks.

【0021】請求項55に記載の記録媒体には、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数、またはその最小ブロック数を求めるの
に必要な情報が記録されている。
In the recording medium according to claim 55, when data is written in parallel to one or more blocks, the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time, or Information necessary for obtaining the minimum number of blocks is recorded.

【0022】請求項56に記載の再生装置においては、
読み出し手段が、データを、1以上のブロックに対して
並列的に書き込む場合に、待ち時間を最小にするブロッ
クの数の最小値である最小ブロック数に基づき、1以上
のブロックで構成される1以上の並列ブロックを構成す
ることにより得られる並列ブロックを構成するブロック
を対象として、データが並列的に書き込まれている記録
媒体から、データを読み出すようになされている。
In the reproducing apparatus according to claim 56,
When the reading means writes data to one or more blocks in parallel, the reading means comprises one or more blocks based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time. The data is read from the recording medium in which the data is written in parallel with respect to the blocks constituting the parallel blocks obtained by configuring the above parallel blocks.

【0023】請求項58に記載の再生方法においては、
データを、1以上のブロックに対して並列的に書き込む
場合に、待ち時間を最小にするブロックの数の最小値で
ある最小ブロック数に基づき、1以上のブロックで構成
される1以上の並列ブロックを構成することにより得ら
れる並列ブロックを構成するブロックを対象として、デ
ータが並列的に書き込まれている記録媒体から、データ
を読み出すようになされている。
[0023] In the reproducing method according to claim 58,
When writing data to one or more blocks in parallel, one or more parallel blocks composed of one or more blocks based on the minimum number of blocks, which is the minimum value of the number of blocks that minimizes the waiting time Is read from a recording medium on which data is written in parallel with respect to the blocks constituting the parallel blocks obtained by configuring.

【0024】請求項59に記載のプログラム記録媒体に
は、データを、記録媒体の1以上のブロックに対して並
列的に書き込む場合に、待ち時間を最小にするブロック
の数の最小値である最小ブロック数に基づき、1以上の
ブロックで構成される1以上の並列ブロックを構成する
構成ステップと、並列ブロックを構成するブロックを対
象として、並列的に、データを書き込む書き込みステッ
プとを備えるプログラムが記録されている。
In the program recording medium according to claim 59, when data is written in parallel to one or more blocks of the recording medium, the minimum value is the minimum number of blocks that minimizes the waiting time. A program recorded includes a configuration step of configuring one or more parallel blocks composed of one or more blocks based on the number of blocks, and a writing step of writing data in parallel with respect to the blocks configuring the parallel blocks. Have been.

【0025】請求項60に記載のプログラム記録媒体に
は、データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にするブロックの数の最小
値である最小ブロック数に基づき、1以上のブロックで
構成される1以上の並列ブロックを構成することにより
得られる並列ブロックを構成するブロックを対象とし
て、データが並列的に書き込まれている記録媒体から、
データを読み出すステップを備えるプログラムが記録さ
れている。
[0025] In the program recording medium according to the present invention, when data is written in parallel to one or more blocks, the minimum number of blocks that minimizes the waiting time is set to the minimum number of blocks. On the basis of a block constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks, from a recording medium in which data is written in parallel,
A program including a step of reading data is recorded.

【0026】[0026]

【発明の実施の形態】以下に、本発明の適用対象となる
並列記録方式について説明する。なお、並列記録方式に
ついては、本件出願人が先に出願した、例えば、特開平
11−7408号公報(米国に1998年4月24日に
出願された米国出願09/065630、欧州特許出願
公開0874368公報に対応)に、その詳細が開示さ
れているため、ここでは、簡単に説明する。また、特開
平11−7408号公報では、書き込みがページと呼ば
れる単位で行われ、消去がブロックと呼ばれる、ページ
より大きい単位で行われる記録媒体を対象としている
が、本発明の適用範囲は、そのような記録媒体に限定さ
れるものではない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A parallel recording system to which the present invention is applied will be described below. Regarding the parallel recording method, for example, Japanese Patent Application Laid-Open No. H11-7408 (US application 09/065630 filed in the United States on April 24, 1998, European Patent Application 0874368) filed by the present applicant earlier. (Corresponding to the official gazette), the details of which are disclosed, and therefore, will be briefly described here. Also, Japanese Patent Application Laid-Open No. 11-7408 is directed to a recording medium in which writing is performed in units called pages and erasing is performed in units larger than pages called blocks, but the scope of the present invention is as follows. It is not limited to such a recording medium.

【0027】図1は、並列記録方式によるデータの書き
込みが行われる記録媒体の構成例を示している。
FIG. 1 shows an example of the configuration of a recording medium on which data is written by the parallel recording method.

【0028】図1の実施の形態では、記録媒体1は、4
つの記録媒体片1A乃至1Dから構成されている。な
お、記録媒体片1A乃至1Dそれぞれは、基本的には、
例えば、メモリの1チップに相当するが、その他、例え
ば、1の記録媒体の記録領域を、4つの記録領域に区分
けし、その4つの記録領域それぞれに対応させることも
可能である。
In the embodiment shown in FIG. 1, the recording medium 1
It is composed of one recording medium piece 1A to 1D. Note that each of the recording medium pieces 1A to 1D is basically
For example, it corresponds to one chip of the memory, but it is also possible to divide the recording area of one recording medium into four recording areas and correspond to each of the four recording areas.

【0029】記録媒体片1Aは、例えば、512バイト
を1ページとして、16ページで構成されている。ま
た、本実施の形態では、4ページで、1ブロックが構成
されており、従って、記録媒体片1Aは、4ブロック
(=16ページ/4ページ)で構成されている。他の記
録媒体片1B乃至1Dも、記録媒体片1Aと同様に構成
されている。
The recording medium piece 1A is composed of, for example, 16 pages with 512 bytes as one page. Further, in the present embodiment, one block is composed of four pages. Therefore, the recording medium piece 1A is composed of four blocks (= 16 pages / 4 pages). The other recording medium pieces 1B to 1D have the same configuration as the recording medium piece 1A.

【0030】なお、ここでは、ブロックとは記録媒体に
おけるデータの消去単位を、ページとは記録媒体におけ
るデータの書き込み単位を、それぞれ意味するものとす
る。
Here, a block means a unit for erasing data on a recording medium, and a page means a unit for writing data on a recording medium.

【0031】ここで、本実施の形態では、記録媒体1の
物理アドレスを、以下のように表すものとする。
Here, in the present embodiment, the physical address of the recording medium 1 is represented as follows.

【0032】即ち、ここでは、物理アドレスを、チップ
番号c(Chip)、ブロック番号b(Block)、ページ番
号p(Page)の3つの単位を用いて表す。チップ番号c
は、記録媒体片1A乃至1Dを特定するためのもので、
記録媒体片1A乃至1Dは、それぞれC[0]乃至C
[3]で表される。
That is, here, the physical address is represented using three units of a chip number c (Chip), a block number b (Block), and a page number p (Page). Chip number c
Is for specifying the recording medium pieces 1A to 1D,
The recording medium pieces 1A to 1D are C [0] to C
It is represented by [3].

【0033】ブロック番号bは、記録媒体片1A乃至1
Dそれぞれにおけるブロックを特定するためのもので、
例えば、記録媒体片1A乃至1Dそれぞれにおける下か
ら1乃至4番目のブロックは、B[0]乃至B[3]で
それぞれ表される。また、記録媒体片1Aの一番下のブ
ロックは、チップ番号cとブロック番号bとを利用し
て、CB[0:0]と表される。また、記録媒体片1A
の下から2番目のブロックは、CB[0:1]で表さ
れ、その下から3番目のブロックは、CB[0:2]で
表され、最も上のブロックは、CB[0:3]で表され
る。同様に、記録媒体片1Bの下から1乃至4番目のブ
ロックは、CB[1:0]乃至CB[1:3]でそれぞ
れ表され、記録媒体片1Cの下から1乃至4番目のブロ
ックは、CB[2:0]乃至CB[2:3]でそれぞれ
表され、記録媒体片1Dの下から1乃至4番目のブロッ
クは、CB[3:0]乃至CB[3:3]でそれぞれ表
される。
The block number b corresponds to the recording medium pieces 1A to 1
D to identify the block in each,
For example, the first to fourth blocks from the bottom in each of the recording medium pieces 1A to 1D are represented by B [0] to B [3], respectively. The lowermost block of the recording medium piece 1A is represented as CB [0: 0] using the chip number c and the block number b. Also, a recording medium piece 1A
Is represented by CB [0: 1], the third block from the bottom is represented by CB [0: 2], and the top block is represented by CB [0: 3]. It is represented by Similarly, the first to fourth blocks from the bottom of the recording medium piece 1B are represented by CB [1: 0] to CB [1: 3], respectively, and the first to fourth blocks from the bottom of the recording medium piece 1C are , CB [2: 0] to CB [2: 3], and the first to fourth blocks from the bottom of the recording medium piece 1D are respectively represented by CB [3: 0] to CB [3: 3]. Is done.

【0034】ページ番号pは、各ブロックにおけるペー
ジを特定するためのもので、各ブロックの下から1乃至
4番目のページは、P[0]乃至P[3]でそれぞれ表
される。また、記録媒体片1Aの一番下のブロックの一
番下のページは、チップ番号c、ブロック番号b、およ
びページ番号pを利用して、CBP[0:0:0]と表
される。また、記録媒体片1Aの一番下のブロックの下
から2番目のページは、CBP[0:0:1]で表さ
れ、その下から3番目のページは、CBP[0:0:
2]で表され、その最も上のページは、CBP[0:
0:3]で表される。記録媒体1Aの他のブロックのペ
ージ、さらには、他の記録媒体1B乃至1Dのブロック
のページも、同様に表される。
The page number p is used to specify a page in each block. The first to fourth pages from the bottom of each block are represented by P [0] to P [3], respectively. The bottom page of the bottom block of the recording medium piece 1A is represented as CBP [0: 0: 0] using the chip number c, the block number b, and the page number p. The second page from the bottom of the lowermost block of the recording medium piece 1A is represented by CBP [0: 0: 1], and the third page from the bottom is CBP [0: 0:
2], and the top page is CBP [0:
0: 3]. Pages of other blocks of the recording medium 1A, and pages of blocks of the other recording media 1B to 1D are similarly represented.

【0035】従って、例えば、いま、記録媒体片1A乃
至1Dを、第1乃至第4チップとそれぞれいうものとす
ると、第cチップの、下からb番目のブロックにおけ
る、下からp番目のページは、CBP[c−1:b−
1:p−1]と表される。
Therefore, for example, if the recording medium pieces 1A to 1D are respectively referred to as first to fourth chips, the p-th page from the bottom in the b-th block from the bottom of the c-th chip is , CBP [c-1: b-
1: p-1].

【0036】そして、ここでは、1ページを512バイ
トとしているが、これは、FAT(File Allocation Ta
ble)ファイルシステム等との対応を容易にするため
に、1セクタの容量である512バイトに一致させたも
のである(但し、1ページの容量は、これに限定される
ものではない)。
In this case, one page has 512 bytes, but this corresponds to FAT (File Allocation Ta).
ble) In order to easily cope with a file system or the like, the capacity is set to 512 bytes which is the capacity of one sector (however, the capacity of one page is not limited to this).

【0037】図1において、記録媒体片1A乃至1Dの
ページに記述されているFS[f:s]は、記録媒体1
に記録したファイルのデータを表しており、fは、ファ
イルを特定するファイル番号を、sは、セクタを特定す
るセクタ番号を、それぞれ表している。従って、図1で
は、例えば、記録媒体片1Aの最も上のページ(物理ア
ドレスCBP[0:3:3]で表されるページ)には、
ファイル番号が2で、セクタ番号が12で特定されるデ
ータFS[2:12]が記録されている。また、例え
ば、記録媒体片1Dの最も下のページ(物理アドレスC
BP[3:0:0]で表されるページ)には、ファイル
番号が0で、セクタ番号が2で特定されるデータFS
[0:2]が記録されている。
In FIG. 1, FS [f: s] described on the pages of the recording medium pieces 1A to 1D corresponds to the recording medium 1
, Represents a file number for specifying a file, and s represents a sector number for specifying a sector. Therefore, in FIG. 1, for example, the uppermost page (the page represented by the physical address CBP [0: 3: 3]) of the recording medium piece 1A includes
Data FS [2:12] specified by the file number 2 and the sector number 12 is recorded. Also, for example, the lowest page (physical address C) of the recording medium piece 1D
BP [3: 0: 0]) has data FS specified by file number 0 and sector number 2
[0: 2] is recorded.

【0038】なお、図1において(後述する図4乃至図
6においても同様)、斜線を付してある部分(ブロッ
ク)は、その時点で、データの書き込みが不可能な部分
(禁止されている場合も含む)を表している。即ち、斜
線部分は、例えば、製造当初から、あるいは、過剰な書
き換えにより破損しているブロック(以下、適宜、無効
ブロックという)や、いわゆるシステム領域やスペア領
域などとして確保されているブロック(以下、適宜、シ
ステムブロックという)を表している。
In FIG. 1 (the same applies to FIGS. 4 to 6 to be described later), a hatched portion (block) is a portion in which data cannot be written (prohibited at that time). (Including the case). That is, for example, a hatched portion is a block that has been damaged from the beginning of manufacturing or due to excessive rewriting (hereinafter, referred to as an invalid block as appropriate), or a block that has been secured as a so-called system area or spare area (hereinafter, referred to as a block). (Referred to as a system block as appropriate).

【0039】図1の記録媒体1に記録されたデータは、
図2に示すように、ファイル単位とブロック単位で管理
されている。
The data recorded on the recording medium 1 of FIG.
As shown in FIG. 2, it is managed in file units and block units.

【0040】即ち、図2は、記録媒体1に記録されたデ
ータを、ファイル単位で管理するためのファイル管理情
報を記憶するファイル管理情報記憶部2と、データを、
ブロック単位で管理するためのブロック管理情報を記憶
するブロック管理情報記憶部3の構成例を示している。
That is, FIG. 2 shows a file management information storage unit 2 for storing file management information for managing data recorded on the recording medium 1 on a file-by-file basis.
2 shows a configuration example of a block management information storage unit 3 that stores block management information for managing in block units.

【0041】図2において、ファイル管理情報記憶部2
は、4つの物理アドレスM[0]乃至M[3]に対応す
るエントリを有している。1のエントリには、1のファ
イルに関するファイル管理情報を記憶することができる
ようになされており、従って、図2の実施の形態では、
最大で、4つのファイルについてのファイル管理情報を
記憶(記録)することができるようになされている(但
し、ファイル管理情報記憶部2は、4以外の数のファイ
ルについてのファイル管理情報を記憶することができる
ように構成することも可能である)。
In FIG. 2, the file management information storage unit 2
Has entries corresponding to four physical addresses M [0] to M [3]. In one entry, file management information on one file can be stored. Therefore, in the embodiment of FIG.
A maximum of four files can be stored (recorded) in the file management information (however, the file management information storage unit 2 stores the file management information of a number of files other than four). It is also possible to configure so that it is possible.

【0042】ファイル管理情報は、ここでは、そのファ
イルを特定するための情報(例えば、ファイル名)、そ
のファイルのサイズ、およびブロック管理情報記憶部3
におけるブロック管理情報が記憶されたエントリへのポ
インタで構成されている。なお、図2の実施の形態で
は、ファイル名(File)は、F[n](nは、例えば、
ファイル番号)で、サイズ(Size)は、セクタ数(本実
施の形態では、ページ数に等しい)で、エントリへのポ
インタ(BAT)は、チップ番号cとブロック番号bとを
用いて表されたブロック管理情報記憶部3の物理アドレ
スT[c:b]で、それぞれ表されている。
Here, the file management information includes information for specifying the file (for example, file name), the size of the file, and the block management information storage unit 3.
Is made up of a pointer to the entry in which the block management information is stored. In the embodiment of FIG. 2, the file name (File) is F [n] (n is, for example,
File size), the size (Size) is the number of sectors (equal to the number of pages in the present embodiment), and the pointer (BAT) to the entry is represented using the chip number c and the block number b. They are represented by physical addresses T [c: b] of the block management information storage unit 3, respectively.

【0043】図2のファイル管理情報記憶部2に記憶さ
れたファイル管理情報によれば、次のことを認識するこ
とができる。
According to the file management information stored in the file management information storage unit 2 of FIG. 2, the following can be recognized.

【0044】即ち、第1に、記録媒体1には、ファイル
名F[0]乃至F[2]で特定される3つのファイルが
記録されており、その論理的な順序は、ファイルF
[1],F[2],F[0]となっている。第2に、フ
ァイルF[0]乃至F[2]のサイズは、それぞれ12
セクタ(ページ)、23セクタ、13セクタにそれぞれ
相当する量である。第3に、記録媒体1において、ファ
イルF[0]乃至F[2]が記録されている先頭のブロ
ックは、それぞれ、物理アドレスがT[1:0],T
[1:1],T[0:3]でそれぞれ表されるブロック
管理情報記憶部3のエントリに対応するブロックCB
[1:0],CB[1:1],CB[0:3]である。
That is, first, three files specified by the file names F [0] to F [2] are recorded on the recording medium 1, and their logical order is
[1], F [2], and F [0]. Second, the sizes of the files F [0] to F [2] are 12
This is an amount corresponding to sectors (pages), 23 sectors, and 13 sectors, respectively. Third, in the recording medium 1, the first blocks in which the files F [0] to F [2] are recorded have physical addresses T [1: 0] and T [1], respectively.
Block CB corresponding to an entry in the block management information storage unit 3 represented by [1: 1] and T [0: 3], respectively.
[1: 0], CB [1: 1], CB [0: 3].

【0045】なお、図2において、ファイル管理情報記
憶部2の物理アドレスM[3]に記憶されている−1
は、そこには、ファイル管理情報が記憶されていないこ
とを表している。
In FIG. 2, -1 stored at the physical address M [3] of the file management information storage unit 2
Indicates that the file management information is not stored therein.

【0046】次に、ブロック管理情報記憶部3は、記録
媒体1が有するブロック、即ち、ここでは、4つの記録
媒体片1A乃至1Dそれぞれが有する4つのブロックの
合計16ブロックに対応するエントリを有しており、各
エントリには、対応するブロックのブロック管理情報が
記憶されるようになされている。
Next, the block management information storage unit 3 has entries corresponding to the blocks of the recording medium 1, that is, the four blocks of each of the four recording medium pieces 1A to 1D, that is, a total of 16 blocks. In each entry, block management information of a corresponding block is stored.

【0047】ここで、ブロック管理情報記憶部3を構成
するエントリの物理アドレスは、記録媒体片1A乃至1
Dのうちの、そのエントリに対応するブロックを有する
もののチップ番号cと、その対応するブロックのブロッ
ク番号bとを用いて、T[c:b]で表されている。従
って、ブロック管理情報記憶部3において、物理アドレ
スがT[c:b]で表されるエントリには、記録媒体片
1A乃至1Dのうちの、チップ番号がcのものの、ブロ
ック番号がbのブロックについてのブロック管理情報が
記憶(記録)されている。
Here, the physical addresses of the entries constituting the block management information storage section 3 are the recording medium pieces 1A to 1A.
D is represented by T [c: b] using a chip number c of a block having a block corresponding to the entry and a block number b of the corresponding block. Accordingly, in the block management information storage unit 3, the entry whose physical address is represented by T [c: b] is a block of the recording medium pieces 1A to 1D whose chip number is c but whose block number is b. Is stored (recorded).

【0048】具体的には、例えば、物理アドレスがT
[0:0]で表されるエントリには、記録媒体片1A
(C[0])における一番下のブロック(B[0])に
ついてのブロック管理情報が記憶されている。また、物
理アドレスがT[0:1]で表されるエントリには、記
録媒体片1A(C[0])における下から2番目のブロ
ック(B[1])についてのブロック管理情報が記憶さ
れている。さらに、物理アドレスがT[0:2]で表さ
れるエントリには、記録媒体片1A(C[0])におけ
る下から3番目のブロック(B[2])についてのブロ
ック管理情報が記憶されており、物理アドレスがT
[0:3]で表されるエントリには、記録媒体片1A
(C[0])における一番上(下から4番目)のブロッ
ク(B[3])についてのブロック管理情報が記憶され
ている。以下、同様にして、各エントリには、対応する
ブロックについてのブロック管理情報が記憶されてお
り、従って、ブロック管理情報記憶部3の最も上のエン
トリ、即ち、物理アドレスがT[3:3]で表されるエ
ントリには、記録媒体片1D(C[3])における一番
上のブロック(B[3])についてのブロック管理情報
が記憶されている。
Specifically, for example, if the physical address is T
The entry represented by [0: 0] includes the recording medium piece 1A.
Block management information on the lowest block (B [0]) in (C [0]) is stored. In the entry whose physical address is represented by T [0: 1], block management information on the second lowest block (B [1]) in the recording medium piece 1A (C [0]) is stored. ing. Further, in the entry whose physical address is represented by T [0: 2], block management information on the third bottom block (B [2]) in the recording medium piece 1A (C [0]) is stored. And the physical address is T
The entry represented by [0: 3] includes the recording medium piece 1A.
Block management information on the top (fourth from the bottom) block (B [3]) in (C [0]) is stored. Hereinafter, similarly, each entry stores the block management information of the corresponding block. Therefore, the top entry of the block management information storage unit 3, that is, the physical address is T [3: 3]. In the entry represented by, the block management information on the top block (B [3]) in the recording medium piece 1D (C [3]) is stored.

【0049】なお、以下、適宜、ブロック管理情報記憶
部3に記憶されたすべてのブロック管理情報で構成され
るテーブルを、BAT(Block Allocation Table)と、
このBATを構成するブロック管理情報記憶部3の各エ
ントリを、BATエントリと、それぞれいう。
Hereinafter, a table composed of all block management information stored in the block management information storage unit 3 will be referred to as a BAT (Block Allocation Table) as appropriate.
Each entry of the block management information storage unit 3 constituting the BAT is called a BAT entry.

【0050】各BATエントリにおけるブロック管理情
報は、必要なステータスフラグやリンク情報などから構
成される。
The block management information in each BAT entry is composed of necessary status flags and link information.

【0051】ステータスフラグとしては、ここでは、va
lidフラグ、invalidフラグ、systemフラグ、firstフラ
グ、nextフラグ、lastフラグ、loopフラグの7種類のフ
ラグが用意されている。validフラグは、対応するブロ
ックが書き込み可能なブロック(空き領域(何らかのデ
ータが記録されていても、上書きしてかまわないものを
含む))であることを表し、invalidフラグは、対応す
るブロックが無効ブロックであることを表す。systemフ
ラグは、対応するブロックがシステムブロックであるこ
とを表す。firstフラグまたはlastフラグは、対応する
ブロックが、ファイルの先頭または終わりが記録されて
いるブロックであることを表し、nextフラグおよびloop
フラグは、対応するブロックに記録されたデータに続く
データが存在すること(即ち、対応するブロックに記録
されたデータに続くデータが、他のブロックに記録され
ていること)を表す。なお、loopフラグは、さらに、対
応するブロックに、後述する並列ブロックを構成するデ
ータの最後が記録されていること(対応するブロック
が、並列ブロックを構成する最後のブロックであるこ
と)も表す。
As the status flag, here, va
There are seven types of flags, lid flag, invalid flag, system flag, first flag, next flag, last flag, and loop flag. The valid flag indicates that the corresponding block is a writable block (including a free area (even if some data is recorded, but may be overwritten)), and the invalid flag indicates that the corresponding block is invalid Indicates a block. The system flag indicates that the corresponding block is a system block. The first flag or last flag indicates that the corresponding block is a block in which the beginning or end of the file is recorded, and the next flag and loop
The flag indicates that data following the data recorded in the corresponding block exists (that is, data following the data recorded in the corresponding block is recorded in another block). Note that the loop flag also indicates that the end of data constituting a parallel block described later is recorded in the corresponding block (the corresponding block is the last block constituting the parallel block).

【0052】リンク情報は、記録媒体片1A乃至1Dを
構成するブロックのリンク状態を表す。即ち、リンク情
報としては、ここでは、あるブロックに記録されている
データに続くデータが記録されているブロックに対応す
るBATエントリの物理アドレスが記録される。従っ
て、リンク情報は、そのリンク情報が記録されたBAT
エントリに対応するブロックに記録されているデータに
続くデータが記録されているブロックが存在するときに
記録されるため、firstフラグ、nextフラグ、loopフラ
グのうちのいずれかのフラグとともに記録される。
The link information indicates the link state of the blocks constituting the recording medium pieces 1A to 1D. That is, here, as the link information, the physical address of the BAT entry corresponding to the block in which data subsequent to the data recorded in a certain block is recorded. Therefore, the link information is the BAT in which the link information is recorded.
Since it is recorded when there is a block in which data subsequent to the data recorded in the block corresponding to the entry is recorded, it is recorded together with any one of the first flag, the next flag, and the loop flag.

【0053】図2の実施の形態では、例えば、ブロック
CB[1:0]に対応するBATエントリT[1:0]
には、リンク情報として、ブロックCB[2:0]に対
応するBATエントリの物理アドレスT[2:0]が記
憶されている。また、BATエントリT[2:0]に
は、リンク情報として、ブロックCB[3:0]に対応
するBATエントリの物理アドレスT[3:0]が記憶
されている。
In the embodiment of FIG. 2, for example, BAT entry T [1: 0] corresponding to block CB [1: 0]
Stores the physical address T [2: 0] of the BAT entry corresponding to the block CB [2: 0] as link information. In the BAT entry T [2: 0], the physical address T [3: 0] of the BAT entry corresponding to the block CB [3: 0] is stored as link information.

【0054】さらに、BATエントリT[1:0],T
[2:0],T[3:0]には、ステータスフラグとし
て、それぞれfirstフラグ、nextフラグ、lastフラグが
記憶されており、以上から、ブロックCB[1:0],
CB[2:0],CB[3:0]には、その順序で連続
するデータが並列的に記録され、さらに、ブロックCB
[1:0]またはCB[3:0]には、ファイルの先頭
または終わりのデータが記録されており、従って、これ
らの3ブロックで構成されるデータが、1のファイルを
構成していることが分かる。
Further, BAT entries T [1: 0], T
[2: 0] and T [3: 0] store a first flag, a next flag, and a last flag, respectively, as status flags. From the above, blocks CB [1: 0],
In CB [2: 0] and CB [3: 0], continuous data in that order is recorded in parallel, and further, the block CB
[1: 0] or CB [3: 0] records the data at the beginning or end of the file. Therefore, the data composed of these three blocks constitutes one file. I understand.

【0055】なお、図2では、firstフラグが記憶され
たBATエントリT[1:0]へのポインタが、ファイ
ル管理情報記憶部2のエントリM[2]に記憶されてお
り、従って、ブロックCB[1:0],CB[2:
0],CB[3:0]に記憶されたデータで構成される
ファイルは、ファイル管理情報記憶部2において、3番
目のファイルF[0]として管理されている。
In FIG. 2, the pointer to the BAT entry T [1: 0] in which the first flag is stored is stored in the entry M [2] of the file management information storage unit 2, and accordingly, the block CB [1: 0], CB [2:
0] and CB [3: 0] are managed as a third file F [0] in the file management information storage unit 2.

【0056】以上のようなファイル管理情報およびブロ
ック管理情報によれば、記録媒体1におけるファイルの
記録状態を、次のようにして認識することができる。
According to the above-described file management information and block management information, the recording state of the file on the recording medium 1 can be recognized as follows.

【0057】即ち、例えば、いま、ファイルF[1]に
注目すると、ファイル管理情報により、ファイルF
[1]は、論理的な順序が1番目のファイルとして記憶
されており、さらに、そのサイズが、23セクタ分であ
ることを認識することができる。さらに、ファイルF
[1]については、BATエントリT[1:1]からリ
ンクされているBATエントリ群に記録されているブロ
ック管理情報を参照することで、記録媒体1における記
録状態を認識することができることが分かる。
That is, for example, if attention is paid to the file F [1], the file F
In [1], it can be recognized that the logical order is stored as the first file, and that the size is 23 sectors. In addition, file F
Regarding [1], it can be seen that the recording state on the recording medium 1 can be recognized by referring to the block management information recorded in the BAT entry group linked from the BAT entry T [1: 1]. .

【0058】そして、BATエントリT[1:1]に
は、リンク情報としてT[2:2]が記録されており、
従って、BATエントリT[2:2]にリンクしている
ことが分かる。そして、BATエントリT[2:2]に
は、リンク情報としてT[3:1]が、BATエントリ
T[3:1]には、リンク情報としてT[0:1]が、
BATエントリT[0:1]には、リンク情報としてT
[1:2]が、BATエントリT[1:2]には、リン
ク情報としてT[3:2]が、それぞれ記録されている
ので、BATエントリT[1:1],T[2:2],T
[3:1],T[0:1],T[1:2],T[3:
2]の順で、リンクが張られており、従って、ファイル
F[1]のデータは、ブロックCB[1:1],CB
[2:2],CB[3:1],CB[0:1],CB
[1:2],CB[3:2]の順に記録されたことが分
かる。
In the BAT entry T [1: 1], T [2: 2] is recorded as link information.
Therefore, it is found that the BAT entry is linked to the BAT entry T [2: 2]. The BAT entry T [2: 2] has T [3: 1] as link information, the BAT entry T [3: 1] has T [0: 1] as link information,
The BAT entry T [0: 1] has T as link information.
[1: 2] and T [3: 2] are recorded as link information in the BAT entry T [1: 2], respectively, so that the BAT entries T [1: 1] and T [2: 2]. ], T
[3: 1], T [0: 1], T [1: 2], T [3:
2], the data of the file F [1] is divided into blocks CB [1: 1], CB
[2: 2], CB [3: 1], CB [0: 1], CB
It can be seen that recording was performed in the order of [1: 2] and CB [3: 2].

【0059】さらに、BATエントリT[1:1]に
は、firstフラグが記録されており、従って、それに対
応するブロックCB[1:1]に、ファイルF[1]の
先頭のデータが記録されていることが分かる。また、B
ATエントリT[1:1]にリンクされているBATエ
ントリT[2:2]にはnextフラグが、それにリンクさ
れているBATエントリT[3:1]にはnextフラグ
が、それにリンクされているBATエントリT[0:
1]にはloopプラグが、それぞれ記録されており、従っ
て、BATエントリT[1:1],T[2:2],T
[3:1],T[0:1]にそれぞれ対応するブロック
CB[1:1],CB[2:2],CB[3:1],C
B[0:1]には、ファイルF[1]のデータが並列的
に記録されている、即ち、ブロックCB[1:1],C
B[2:2],CB[3:1],CB[0:1]の4ブ
ロックは、並列ブロックを構成していることが分かる。
Further, the first flag is recorded in the BAT entry T [1: 1], so that the head data of the file F [1] is recorded in the corresponding block CB [1: 1]. You can see that it is. Also, B
The BAT entry T [2: 2] linked to the AT entry T [1: 1] has a next flag, and the BAT entry T [3: 1] linked to it has a next flag. BAT entry T [0:
1], loop plugs are respectively recorded. Therefore, BAT entries T [1: 1], T [2: 2], T [
Blocks CB [1: 1], CB [2: 2], CB [3: 1], C corresponding to [3: 1] and T [0: 1], respectively
In B [0: 1], data of file F [1] is recorded in parallel, that is, blocks CB [1: 1], C
It can be seen that four blocks of B [2: 2], CB [3: 1] and CB [0: 1] constitute a parallel block.

【0060】また、BATエントリT[0:1]にリン
クされているBATエントリT[1:2]にはnextフラ
グが、それにリンクされているBATエントリT[3:
2]にはlastフラグが、それぞれ記録されており、従っ
て、BATエントリT[1:2],T[3:2]にそれ
ぞれ対応するブロックCB[1:2],CB[3:2]
にも、ファイルF[1]のデータが並列的に記録されて
いる、即ち、ブロックCB[1:2],CB[3:2]
の2ブロックは、並列ブロックを構成していることが分
かる。さらに、lastフラグが記録されているBATエン
トリT[3:2]に対応するブロックCB[3:2]に
は、ファイルF[1]の最後のデータが記録されている
ことが分かる。
The BAT entry T [0: 1] linked to the BAT entry T [1: 2] has a next flag, and the BAT entry T [3:
2], the last flag is recorded, and accordingly, the blocks CB [1: 2] and CB [3: 2] corresponding to the BAT entries T [1: 2] and T [3: 2], respectively.
Also, data of the file F [1] is recorded in parallel, that is, blocks CB [1: 2] and CB [3: 2].
It can be seen that these two blocks constitute a parallel block. Further, it can be seen that the last data of the file F [1] is recorded in the block CB [3: 2] corresponding to the BAT entry T [3: 2] in which the last flag is recorded.

【0061】従って、上述しなかったが、firstフラグ
は、それとともに、BATエントリの物理アドレスが記
録されている場合には、そのfirstフラグが記録されて
いるBATエントリに対応するブロックに、ファイルの
先頭のデータが記録されていることを表す他、それに続
くデータがあることも表す。さらに、lastフラグは、そ
れが記録されているBATエントリに対応するブロック
に、ファイルの最後のデータが記録されていることを表
す他、そのブロックが、並列ブロックの最後のブロック
であることも表す。
Therefore, although not described above, when the physical address of the BAT entry is recorded, the first flag is added to the block corresponding to the BAT entry in which the first flag is recorded. This indicates that the first data is recorded and that there is data following it. Further, the last flag indicates that the last data of the file is recorded in the block corresponding to the BAT entry in which the last flag is recorded, and also indicates that the block is the last block of the parallel block. .

【0062】次に、並列記録方式では、まず、記録媒体
片1A乃至1Dのうちの1以上(基本的には、複数)か
ら、ブロックが、1つずつ選択され、それらのブロック
で、1の並列ブロックが構成される。いま、説明を簡単
にするために、記録媒体片1A乃至1Dのそれぞれから
ブロックが選択されるものとすると、例えば、図1にお
いて、記録媒体片1A乃至1Dから、それぞれ、例え
ば、ブロックCB[0:1],CB[1:1],CB
[2:2],CB[3:1]が抽出され、これらの4つ
のブロックで並列ブロックが構成される。そして、この
並列ブロックを構成するブロックCB[0:1],CB
[1:1],CB[2:2],CB[3:1]を対象と
して、データが、並列的に書き込まれる。
Next, in the parallel recording method, first, blocks are selected one by one from one or more (basically, a plurality) of the recording medium pieces 1A to 1D, and one block is selected from those blocks. A parallel block is configured. Now, for the sake of simplicity, it is assumed that a block is selected from each of the recording medium pieces 1A to 1D. For example, in FIG. : 1], CB [1: 1], CB
[2: 2] and CB [3: 1] are extracted, and these four blocks constitute a parallel block. Then, the blocks CB [0: 1], CB constituting this parallel block
Data is written in parallel for [1: 1], CB [2: 2], and CB [3: 1].

【0063】即ち、いま、書き込み対象のファイルを、
ファイルF[1]とすると、ファイルF[1]の第1セ
クタ(最初のセクタ)FS[1:0]が、例えば、記録
媒体片1Bに入力され、その中の並列ブロックを構成す
るブロックCB[1:1]に書き込まれる(図1)。な
お、上述したように、ここでは、記録媒体1に対するデ
ータの書き込みは、ページごとに行われるため、第1セ
クタFS[1:0]は、ブロックCB[1:1]の、例
えば一番下のページ、つまりページCBP[1:1:
0]に書き込まれる。
That is, the file to be written is
Assuming that the file F [1], the first sector (first sector) FS [1: 0] of the file F [1] is input to, for example, the recording medium piece 1B, and the block CB constituting the parallel block therein [1: 1] (FIG. 1). Note that, as described above, since data is written to the recording medium 1 for each page, the first sector FS [1: 0] is, for example, the bottom of the block CB [1: 1]. Page, that is, page CBP [1: 1:
0].

【0064】ファイルF[1]の第1セクタFS[1:
0]を、記録媒体片1Bに入力した後は、その次の第2
セクタ(最初から2番目のセクタ)FS[1:1]が、
例えば、記録媒体片1Cに入力され、その中の並列ブロ
ックを構成するブロックCB[2:2]に書き込まれる
(図1)。なお、この場合も、上述した場合と同様に、
第2セクタFS[1:1]は、ブロックCB[2:2]
の一番下のページ、つまりページCBP[2:2:0]
に書き込まれる。
The first sector FS [1:] of the file F [1]
0] is input to the recording medium piece 1B,
Sector (first to second sector) FS [1: 1]
For example, the data is input to the recording medium piece 1C, and is written to the block CB [2: 2] constituting the parallel block therein (FIG. 1). In this case, as in the case described above,
The second sector FS [1: 1] is a block CB [2: 2]
, The bottom page, that is, page CBP [2: 2: 0]
Is written to.

【0065】ファイルF[1]の第2セクタFS[1:
1]を、記録媒体片1Cに入力した後は、その次の第3
セクタFS[1:2]が、例えば、記録媒体片1Dに入
力され、その中の並列ブロックを構成するブロックCB
[3:1]に書き込まれる(図1)。なお、この場合
も、上述した場合と同様に、第3セクタFS[1:2]
は、ブロックCB[3:1]の一番下のページ、つまり
ページCBP[3:1:0]に書き込まれる。
The second sector FS [1:] of the file F [1]
1] is input to the recording medium piece 1C, and then the third
The sector FS [1: 2] is input to, for example, the recording medium piece 1D, and the block CB constituting a parallel block therein is input.
[3: 1] (FIG. 1). Note that, also in this case, as in the case described above, the third sector FS [1: 2].
Is written to the bottom page of block CB [3: 1], that is, page CBP [3: 1: 0].

【0066】ファイルF[1]の第3セクタFS[1:
2]を、記録媒体片1Dに入力した後は、その次の第4
セクタFS[1:3]が、例えば、記録媒体片1Aに入
力され、その中の並列ブロックを構成するブロックCB
[0:1]に書き込まれる(図1)。なお、この場合
も、上述した場合と同様に、第4セクタFS[1:3]
は、ブロックCB[0:1]の一番下のページ、つまり
ページCBP[0:1:0]に書き込まれる。
The third sector FS [1:] of the file F [1]
2] is input to the recording medium piece 1D, and the next fourth
The sector FS [1: 3] is input to, for example, the recording medium piece 1A, and the block CB constituting a parallel block therein is input.
[0: 1] (FIG. 1). In this case, as in the case described above, the fourth sector FS [1: 3] is used.
Is written to the bottom page of block CB [0: 1], that is, page CBP [0: 1: 0].

【0067】ファイルF[1]の第4セクタFS[1:
3]を、記録媒体片1Aに入力した後は、その次の第5
セクタFS[1:4]が、再び、記録媒体片1Bに入力
され、その中の並列ブロックを構成するブロックCB
[1:1]に書き込まれる(図1)。なお、この場合、
第5セクタFS[1:4]は、ブロックCB[1:1]
の下から2番目のページ、つまりページCBP[1:
1:1]に書き込まれる。
The fourth sector FS [1:] of the file F [1]
3] is input to the recording medium piece 1A, and the next fifth
The sector FS [1: 4] is again input to the recording medium piece 1B, and the block CB constituting the parallel block therein is input.
[1: 1] (FIG. 1). In this case,
The fifth sector FS [1: 4] is a block CB [1: 1]
, The second page from the bottom, that is, page CBP [1:
1: 1].

【0068】以下、同様にして、ファイルF[1]は、
並列ブロックを構成するブロックCB[0:1],CB
[1:1],CB[2:2],CB[3:1]に対し
て、ページ単位で、いわばインターリーブされながら書
き込まれていく。なお、ファイルF[1]のデータ量
が、4ブロック分を越える場合には、ブロックCB
[0:1],CB[1:1],CB[2:2],CB
[3:1]に対する書き込みの終了後、他のブロックで
構成される並列ブロックを対象として、残りのデータ
(セクタ)が書き込まれていく。
Hereinafter, similarly, the file F [1] is
Blocks CB [0: 1], CB constituting a parallel block
[1: 1], CB [2: 2], and CB [3: 1] are written in a page unit while being interleaved. If the data amount of file F [1] exceeds four blocks, block CB
[0: 1], CB [1: 1], CB [2: 2], CB
After the writing to [3: 1] is completed, the remaining data (sectors) are written to the parallel block composed of other blocks.

【0069】以上のような並列記録方式によれば、記録
媒体1が、前述したように、データ入力時間に対して、
プログラム時間が、比較的長い、例えば、フラッシュメ
モリなどで構成される場合に生じる待ち時間をなくす、
あるいは短縮化することができる。
According to the above-described parallel recording method, as described above, the recording medium 1 has the following characteristics with respect to the data input time.
Eliminate the wait time that occurs when the program time is relatively long, for example, when configured with flash memory,
Alternatively, it can be shortened.

【0070】即ち、例えば、いま、記録媒体片1A乃至
1Dそれぞれにおけるデータ入力時間をtinputと、プ
ログラム時間をtprogとする。そして、例えば、記録媒
体1Aのみを対象にして、データを、インターリーブせ
ずに書き込むとした場合には、図3(A)に示すよう
に、時刻t0において、記録媒体1A(C[0])に対
して、第1セクタを入力してから、データ入力時間t
inputだけ経過した時刻t1に、その入力が終了する。
その後、その入力が終了した第1セクタの書き込みが開
始され、プログラム時間tprogの経過後である時刻t
4’に、その書き込みが終了する。そして、記録媒体1
A(C[0])に対して、第2セクタの入力が開始さ
れ、以下、同様にして、記録媒体1Aにデータが書き込
まれていく。
That is, for example, it is now assumed that the data input time in each of the recording medium pieces 1A to 1D is t input and the program time is t prog . Then, for example, when data is written without interleaving only for the recording medium 1A, as shown in FIG. 3A, at time t0, the recording medium 1A (C [0]) , The data input time t after inputting the first sector
At time t1 when only input has elapsed, the input ends.
Thereafter, the writing of the first sector for which the input has been completed is started, and a time t after a lapse of the program time t prog has elapsed.
At 4 ', the writing ends. And the recording medium 1
Input of the second sector is started for A (C [0]), and thereafter, data is similarly written to the recording medium 1A.

【0071】以上のように、インターリーブせずに、デ
ータの書き込みを行う場合には、データの入力が終了し
た後、プログラム時間tprogが経過するまで待って、次
のデータの入力を開始する必要がある。従って、1セク
タの書き込みには、データ入力時間tinputと、プログ
ラム時間tprogとを加算した時間だけ要するが、インタ
ーリーブせずに、例えば、6ページ分のデータの書き込
みを行う場合には、図3(A)に示すように、1セクタ
の書き込み要する時間の6倍の時間Ts(=6×(t
input+tprog))を要することになる。
As described above, when writing data without interleaving, it is necessary to wait until the program time t prog elapses after inputting data and then start inputting the next data. There is. Therefore, although writing of one sector requires only the time obtained by adding the data input time t input and the program time t prog , when writing data of, for example, 6 pages without interleaving, FIG. As shown in FIG. 3 (A), the time Ts (= 6 × (t), which is six times the time required to write one sector, is used.
input + t prog )).

【0072】一方、上述したように、記録媒体片1A乃
至1D(C[0]乃至C[3])それぞれから、1つず
つ抽出した合計4つのブロックで構成される並列ブロッ
クに対して、例えば、記録媒体片1A,1B,1C,1
Dのブロックの順で、インターリーブしながら、データ
の書き込みを行う場合には、図3(B)に示すように、
時刻t0において、例えば、記録媒体片1A(C
[0])に対して、第1セクタを入力してから、データ
入力時間tinputだけ経過した時刻t1に、その入力が
終了する。その後、記録媒体片1Aにおいて、入力の終
了した第1セクタの書き込みが開始され、プログラム時
間tprogの経過後である時刻t4’に、その書き込みが
終了する。この点は、図3(A)における場合と同一で
ある。
On the other hand, as described above, for each parallel block composed of a total of four blocks extracted one by one from each of the recording medium pieces 1A to 1D (C [0] to C [3]), for example, , Recording medium pieces 1A, 1B, 1C, 1
When data is written while interleaving in the order of the blocks of D, as shown in FIG.
At time t0, for example, the recording medium piece 1A (C
[0]), the input is terminated at time t1 after the data input time t input has elapsed since the input of the first sector. Thereafter, in the recording medium piece 1A, writing of the input first sector is started, and the writing ends at time t4 'after the lapse of the program time t prog . This is the same as the case in FIG.

【0073】しかしながら、記録媒体片1B(C
[1])に対しては、記録媒体片1Aへの第1セクタを
入力が終了した時点から、第2セクタの入力を開始する
ことができ、従って、記録媒体片1Bに対しての第2セ
クタの入力は、時刻t1から開始される。その後、デー
タ入力時間tinputだけ経過した時刻t2に、その入力
が終了し、記録媒体片1Bにおいて、その入力が終了し
た第2セクタの書き込みが開始され、プログラム時間t
progの経過後に、その書き込みが終了する。
However, the recording medium piece 1B (C
With respect to [1]), the input of the second sector can be started from the time when the input of the first sector to the recording medium piece 1A is completed, and therefore, the second sector to the recording medium piece 1B can be started. Input of a sector is started from time t1. After that, at time t2 when the data input time tinput has elapsed, the input is completed, and writing to the second sector where the input has been completed is started in the recording medium piece 1B, and the program time t
After prog , the writing ends.

【0074】以下、同様に、記録媒体片1C(C
[2])に対しての、第3セクタの入力は、記録媒体片
1Bへの第2セクタを入力が終了した時刻t2から開始
することができる。さらに、記録媒体片1D(C
[3])に対しての、第4セクタの入力も、第3セクタ
の入力が開始された時刻t2から、データ入力時間t
inputが経過した時刻t3から開始することができる。
Hereinafter, similarly, the recording medium piece 1C (C
The input of the third sector with respect to [2]) can be started from the time t2 when the input of the second sector to the recording medium piece 1B is completed. Further, the recording medium piece 1D (C
[3]), the input of the fourth sector is also started from the time t2 when the input of the third sector is started, and the data input time t
It can be started from the time t3 when the input has elapsed.

【0075】そして、例えば、プログラム時間t
progが、データ入力時間tinputの3倍弱程度の時間で
あった場合には、図3(B)に示すように、第4セクタ
の入力が開始された時刻t3から、データ入力時間t
inputが経過した時刻t4、即ち、第4セクタの入力が
終了する時刻t4は、記録媒体片1A(C[0])にお
いて、第1セクタの書き込みが終了する時刻t4’を経
過した時刻となるから、記録媒体片1A(C[0])に
対しては、記録媒体片1Dへの第4セクタを入力が終了
した時刻t4から、第5セクタの入力を開始することが
できる。同様に、記録媒体片1B(C[1])に対して
は、記録媒体片1Aへの第5セクタを入力が終了した時
刻t5(時刻t4からデータ入力時間tinputだけ経過
した時刻)から、第6セクタの入力を開始することがで
きる。
Then, for example, the program time t
If the prog is about three times less than the data input time t input , as shown in FIG. 3B, the data input time t input starts from the time t 3 when the input of the fourth sector is started.
The time t4 at which the input has elapsed, that is, the time t4 at which the input of the fourth sector ends, is the time at which the time t4 'at which the writing of the first sector ends in the recording medium piece 1A (C [0]) has elapsed. Thus, for the recording medium piece 1A (C [0]), the input of the fifth sector can be started from time t4 when the input of the fourth sector to the recording medium piece 1D is completed. Similarly, for the recording medium piece 1B (C [1]), from the time t5 when the input of the fifth sector to the recording medium piece 1A is completed (the time elapsed from the time t4 by the data input time t input ), The input of the sixth sector can be started.

【0076】従って、インターリーブしながら、データ
の書き込みを行う場合においては、図3の実施の形態で
は、プログラム時間tprogに起因する待ち時間は0とな
り、その結果、例えば、6ページ分のデータの書き込み
は、図3(A)に示したインターリーブせずに書き込み
を行う場合に要する時間Tsよりも短い時間Tp(=6
×tinput+tprog)で行うことができる。即ち、並列
記録方式によれば、記録媒体1が、データ入力時間に対
して、プログラム時間が、比較的長いものであっても、
データを、高速に書き込むことが可能となる。
Therefore, when data is written while interleaving, in the embodiment of FIG. 3, the waiting time caused by the program time t prog becomes 0, and as a result, for example, the data of 6 pages The writing time Tp (= 6) is shorter than the time Ts required for writing without interleaving shown in FIG.
× t input + t prog ). That is, according to the parallel recording method, even if the recording medium 1 has a relatively long program time with respect to the data input time,
Data can be written at high speed.

【0077】上述の図1および図2は、以上のような並
列記録方式によってデータが書き込まれた記録媒体1、
並びにファイル管理情報記憶部2およびブロック管理情
報記憶部3を表しているが、このようにして記録された
データの読み出しは、例えば、次のようにして行われ
る。
FIGS. 1 and 2 show the recording medium 1 on which data is written by the parallel recording method as described above.
The file management information storage unit 2 and the block management information storage unit 3 are shown, and the data recorded in this manner is read, for example, as follows.

【0078】即ち、例えば、いま、ファイルF[0]の
読み出しを行うとした場合においては、ファイル管理情
報記憶部2(図2)を参照することで、ファイルF
[0]のファイル管理情報が認識される。そして、ファ
イルF[0]のファイル管理情報から、その先頭のデー
タが記録されたブロックを管理しているBATエントリ
の物理アドレス、即ち、図2の実施の形態においては、
T[1:0]が認識される。
That is, for example, when the file F [0] is to be read, the file F [0] is referred to by referring to the file management information storage unit 2 (FIG. 2).
The file management information of [0] is recognized. Then, from the file management information of the file F [0], the physical address of the BAT entry that manages the block in which the head data is recorded, that is, in the embodiment of FIG.
T [1: 0] is recognized.

【0079】BATエントリT[1:0]は、上述した
ことから、ブロックCB[1:0]を管理するものであ
るが、ブロック管理情報記憶部3において、このブロッ
クCB[1:0]に対応するBATエントリT[1:
0]には、リンク情報として、ブロックCB[2:0]
に対応するBATエントリの物理アドレスT[2:0]
が記憶されている。また、BATエントリT[2:0]
には、リンク情報として、ブロックCB[3:0]に対
応するBATエントリの物理アドレスT[3:0]が記
憶されている。
The BAT entry T [1: 0] manages the block CB [1: 0] from the above, and the BAT entry T [1: 0] is stored in the block management information storage unit 3 in the block CB [1: 0]. The corresponding BAT entry T [1:
0] includes block CB [2: 0] as link information.
Physical address T [2: 0] of the BAT entry corresponding to
Is stored. Also, the BAT entry T [2: 0]
Stores the physical address T [3: 0] of the BAT entry corresponding to the block CB [3: 0] as link information.

【0080】さらに、BATエントリT[1:0],T
[2:0],T[3:0]には、ステータスフラグとし
て、それぞれfirstフラグ、nextフラグ、lastフラグが
記憶されており、以上から、ブロックCB[1:0],
CB[2:0],CB[3:0]で構成される並列ブロ
ックに対して、その順序で、インターリーブしながら、
ファイルF[0]のデータが並列的に記録されたことが
認識される。以上のようにして、並列ブロックと、その
並列ブロックを構成するブロックに対してデータが書き
込まれた順序が認識されると、その並列ブロックに対し
て、データを書き込んだ順序と同一の順序で、データ
が、インターリーブ(デインターリーブ)しながら読み
出されていく。そして、並列ブロックを構成する最後の
ブロックであるブロックCB[3:0]を管理している
BATエントリT[3:0]に記録されたlastフラグ
と、ファイルF[0]のサイズが12セクタ(ページ)
であることとから、ブロックCB[3:0]の最後のペ
ージCBP[3:0:3]に記録されたデータが、ファ
イルF[0]の最後であることが認識され、このページ
CBP[3:0:3]のデータが読み出されると、ファ
イルF[0]の読み出しを終了する。
Further, BAT entries T [1: 0], T
[2: 0] and T [3: 0] store a first flag, a next flag, and a last flag, respectively, as status flags. From the above, blocks CB [1: 0],
For a parallel block composed of CB [2: 0] and CB [3: 0], while interleaving in that order,
It is recognized that the data of the file F [0] has been recorded in parallel. As described above, when the order in which the data is written to the parallel blocks and the blocks constituting the parallel blocks is recognized, the data is written to the parallel blocks in the same order as the order in which the data was written. Data is read out while interleaving (deinterleaving). The last flag recorded in the BAT entry T [3: 0] managing the block CB [3: 0] which is the last block constituting the parallel block, and the size of the file F [0] is 12 sectors (page)
Therefore, it is recognized that the data recorded in the last page CBP [3: 0: 3] of the block CB [3: 0] is the last of the file F [0], and this page CBP [ When the data of [3: 0: 3] is read, the reading of the file F [0] ends.

【0081】ところで、図3の実施の形態では、プログ
ラム時間tprogが、データ入力時間tinputの3倍弱程
度の時間と仮定したが、この場合、並列ブロックを構成
するブロックの数を、4以上とすることで、並列記録方
式による書き込みの高速化の効果を、最大限に発揮する
ことができる。
By the way, in the embodiment of FIG. 3, it is assumed that the program time t prog is about three times less than the data input time t input . In this case, the number of blocks constituting the parallel block is set to four. By doing so, the effect of increasing the writing speed by the parallel recording method can be maximized.

【0082】即ち、記録媒体片1A乃至1D(C[0]
乃至C[3])のうちの、例えば、3つの記録媒体片1
A乃至1Cそれぞれから、1つずつ抽出した合計3つの
ブロックで、並列ブロックを構成した場合においては、
図3(B)で説明したように、記録媒体片1B(C
[1])に対する第2セクタの入力は、記録媒体片1A
(C[0])に対する第1セクタの入力後に、記録媒体
片1C(C[2])に対する第3セクタの入力は、記録
媒体片1B(C[1])に対する第2セクタの入力後
に、それぞれ行うことができる。そして、並列ブロック
が、上述の3ブロックで構成される場合、第4セクタ
は、記録媒体片1A(C[0])に入力されることとな
るが、記録媒体片1C(C[2])に対する第3セクタ
の入力が終了する時刻t3は、記録媒体片1A(C
[0])に対する第1セクタの書き込みが終了する時刻
t4’よりも前の時刻であるため、第3セクタの入力の
終了後、記録媒体片1A(C[0])に対する第4セク
タの入力は、少なくとも、時間t4’−t3だけ待つ必
要がある。
That is, the recording medium pieces 1A to 1D (C [0]
To C [3]), for example, three recording medium pieces 1
When a parallel block is composed of a total of three blocks extracted one by one from each of A to 1C,
As described with reference to FIG. 3B, the recording medium piece 1B (C
The input of the second sector to [1]) is the recording medium piece 1A.
After the input of the first sector to (C [0]), the input of the third sector to the recording medium piece 1C (C [2]) is performed after the input of the second sector to the recording medium piece 1B (C [1]). Each can be done. When the parallel block is composed of the above three blocks, the fourth sector is input to the recording medium piece 1A (C [0]), but the recording medium piece 1C (C [2]). At the time t3 when the input of the third sector to the recording medium piece 1A (C
Since the time before the time t4 'at which the writing of the first sector to [0]) ends, the input of the fourth sector to the recording medium piece 1A (C [0]) after the input of the third sector ends. Need to wait at least for time t4'-t3.

【0083】さらに、記録媒体片1A乃至1D(C
[0]乃至C[3])のうちの、例えば、2つの記録媒
体片1A,1Bそれぞれから、1つずつ抽出した合計2
つのブロックで、並列ブロックを構成した場合において
は、図3(B)で説明したように、記録媒体片1B(C
[1])に対する第2セクタの入力は、記録媒体片1A
(C[0])に対する第1セクタの入力後に行うことが
できる。そして、並列ブロックが、上述の2ブロックで
構成される場合、第3セクタは、記録媒体片1A(C
[0])に入力されることとなるが、記録媒体片1B
(C[1])に対する第2セクタの入力が終了する時刻
t2は、記録媒体片1A(C[0])に対する第1セク
タの書き込みが終了する時刻t4’よりも前の時刻であ
るため、第2セクタの入力の終了後、記録媒体片1A
(C[0])に対する第3セクタの入力は、少なくと
も、時間t4’−t2(>t4’−t3)だけ待つ必要
がある。
Further, the recording medium pieces 1A to 1D (C
[0] to C [3]), for example, a total of 2 extracted one by one from each of the two recording medium pieces 1A and 1B.
In the case where one block constitutes a parallel block, as described in FIG. 3B, the recording medium piece 1B (C
The input of the second sector to [1]) is the recording medium piece 1A.
This can be performed after the input of the first sector to (C [0]). When the parallel block is composed of the above two blocks, the third sector is the recording medium piece 1A (C
[0]), the recording medium piece 1B
The time t2 at which the input of the second sector to (C [1]) ends is a time before the time t4 'at which the writing of the first sector to the recording medium piece 1A (C [0]) ends is completed. After the input of the second sector is completed, the recording medium piece 1A
The input of the third sector to (C [0]) must wait at least for the time t4'-t2 (>t4'-t3).

【0084】図3(B)から明らかなように、並列ブロ
ックが2ブロックで構成される場合に生じる待ち時間t
4’−t2は、並列ブロックが3ブロックで構成される
場合の待ち時間t4’−t3よりも大であり、従って、
並列ブロックを構成するブロックの数が少なくなると、
待ち時間は増加する。
As is apparent from FIG. 3B, the waiting time t generated when the parallel block is composed of two blocks.
4'-t2 is larger than the waiting time t4'-t3 when the parallel block is composed of three blocks, and therefore,
When the number of blocks making up the parallel block decreases,
Latency increases.

【0085】以上から、並列記録方式による書き込みの
高速化の効果を、最大限に発揮するには、並列ブロック
を構成するブロックの数を、所定数以上とすることが望
ましい。
From the above, it is desirable that the number of blocks constituting the parallel block be equal to or more than a predetermined number in order to maximize the effect of increasing the writing speed by the parallel recording method.

【0086】そこで、ここでは、並列ブロックを構成す
るブロックの数を、記録媒体1に対して並列的に書き込
みを行う場合に、待ち時間を最小にするブロックの数の
最小値である最小ブロック数Imin以上に制限する。具
体的には、並列ブロックを構成するブロックの数を、次
式で表される最小ブロック数Imin以上に制限する。
Therefore, here, the number of blocks constituting the parallel block is set to the minimum number of blocks which is the minimum value of the number of blocks that minimizes the waiting time when writing is performed in parallel on the recording medium 1. Limit to I min or higher. Specifically, the number of blocks constituting the parallel block is limited to the minimum block number I min represented by the following equation.

【0087】 Imin=ceil(tprog/tinput)+1 ・・・(1) 但し、関数ceil(x)は、x以上の最小の整数を意味す
る。
I min = ceil (t prog / t input ) +1 (1) where the function ceil (x) means a minimum integer equal to or larger than x.

【0088】ここで、並列ブロックを構成するブロック
の数は、データをインターリーブしながら書き込む対象
とするブロックの数に等しいから、以下、適宜、インタ
ーリーブ数ともいう。
Here, the number of blocks constituting the parallel block is equal to the number of blocks to be written while data is interleaved, and is hereinafter also referred to as the number of interleaves as appropriate.

【0089】次に、上述した場合においては、並列ブロ
ックを構成するブロックを、記録媒体片1A乃至1Dの
いずれから選択するかを、特に制限しなかったが、並列
ブロックを構成するブロックを、記録媒体片1A乃至1
Dから任意に選択した場合には、データの書き込みを行
っていくうちに、書き込み可能なブロックの数(空き領
域の大きさ)が偏り(記録媒体片1A乃至1Dそれぞれ
で異なったものとなり)、並列記録方式による記録時間
の短縮が妨げられることがある。
Next, in the case described above, there is no particular limitation on which of the recording medium pieces 1A to 1D is to be used for the block constituting the parallel block. Medium pieces 1A to 1
In the case of arbitrarily selecting from D, the number of writable blocks (the size of the free area) is biased while writing data (the recording medium pieces 1A to 1D are different), In some cases, shortening of the recording time by the parallel recording method is prevented.

【0090】即ち、例えば、いま、記録媒体片1A乃至
1Dの記録状態が、図4に示すようになっているとす
る。ここで、図4において、斜線を付してある部分は、
図1で説明したように、データの書き込みが不可能なブ
ロックを表しており、従って、斜線を付していない部分
が、書き込み可能なブロック(書き込み可能ブロック)
を表している。
That is, for example, it is assumed that the recording states of the recording medium pieces 1A to 1D are as shown in FIG. Here, in FIG. 4, the hatched portions are
As described with reference to FIG. 1, a block in which data cannot be written represents a block in which data can not be written. Therefore, a portion without hatching is a writable block (writable block).
Is represented.

【0091】記録媒体片1A乃至1Dの記録状態が、図
4に示すようになっている場合において、例えば、い
ま、6ブロック分のデータ量の第1および第2の2つの
ファイルを、並列記録方式によって書き込むとする。
In the case where the recording states of the recording medium pieces 1A to 1D are as shown in FIG. 4, for example, the first and second files having a data amount of six blocks are recorded in parallel. It is assumed that data is written by a method.

【0092】そして、ここでは、最小ブロック数Imin
によって、インターリーブ数を制限しないこととして、
可能な限り、多くのブロックから並列ブロックを構成す
るとともに、図4において、より左下に位置するブロッ
クを優先的に選択して並列ブロックを構成するものとす
ると、6ブロック分のデータ量の第1のファイルの書き
込み時には、記録媒体片1A乃至1Dそれぞれから、書
き込み可能ブロックCB[0:0],CB[1:0],
CB[2:0],CB[3:0]が選択され、この4ブ
ロックでなる第1の並列ブロックが構成されるととも
に、記録媒体1Aまたは1Bそれぞれから、書き込み可
能ブロックCB[0:1]またはCB[1:1]が選択
され、この2ブロックでなる第2の並列ブロックが構成
される。この場合、第1のファイルの最初の4ブロック
分のデータが、第1の並列ブロックに書き込まれ、その
後、残りの2ブロック分のデータが、第2の並列ブロッ
クに書き込まれる。
Here, the minimum block number I min
By not limiting the number of interleaves,
Assuming that a parallel block is formed from as many blocks as possible and a block located at the lower left is preferentially selected in FIG. 4 to form a parallel block. Is written from the recording medium pieces 1A to 1D from the writable blocks CB [0: 0], CB [1: 0],
CB [2: 0] and CB [3: 0] are selected, a first parallel block composed of these four blocks is formed, and a writable block CB [0: 1] is recorded from each of the recording media 1A and 1B. Alternatively, CB [1: 1] is selected, and a second parallel block composed of these two blocks is configured. In this case, the first four blocks of data of the first file are written to the first parallel block, and then the remaining two blocks of data are written to the second parallel block.

【0093】第1のファイルの書き込みが終了した時点
で、記録媒体片1Aでは、ブロックCB[0:3]だけ
が、記録媒体片1Cでは、ブロックCB[2:1]およ
びCB[2:2]が、記録媒体片1Dでは、ブロックC
B[3:1],CB[3:2]、およびCB[3:3]
が、それぞれ書き込み可能ブロックとして残り、記録媒
体片1Bには、書き込み可能ブロックは存在しなくな
る。
When the writing of the first file is completed, only the block CB [0: 3] in the recording medium piece 1A, and the blocks CB [2: 1] and CB [2: 2] in the recording medium piece 1C. However, in the recording medium piece 1D, the block C
B [3: 1], CB [3: 2], and CB [3: 3]
However, each remains as a writable block, and no writable block exists in the recording medium piece 1B.

【0094】従って、この場合、6ブロック分の第2の
ファイルの書き込みを行うのに、3,2,1のブロック
からそれぞれなる3つの並列ブロックが構成されること
になる。
Therefore, in this case, to write the second file for six blocks, three parallel blocks each composed of 3, 2, and 1 blocks are formed.

【0095】即ち、まず最初に、記録媒体片1A,1
C,1Dそれぞれから、書き込み可能ブロックCB
[0:3],CB[2:1],CB[3:1]が選択さ
れ、この3ブロックでなる第1の並列ブロックが構成さ
れる。そして、この時点で、記録媒体片1Aには、書き
込み可能ブロックは存在しなくなる。このため、記録媒
体片1C,1Dそれぞれから、書き込み可能ブロックC
B[2:2],CB[3:2]が選択され、この2ブロ
ックでなる第2の並列ブロックが構成される。この時点
で、記録媒体片1Cには、書き込み可能ブロックは存在
しなくなり、このため、記録媒体片1Dだけから、書き
込み可能ブロックCB[3:3]が選択され、この1ブ
ロックでなる第3の並列ブロックが構成される。
That is, first, the recording medium pieces 1A, 1
From each of C and 1D, a writable block CB
[0: 3], CB [2: 1], and CB [3: 1] are selected, and a first parallel block composed of these three blocks is configured. At this point, no writable block exists in the recording medium piece 1A. For this reason, each of the recording medium pieces 1C and 1D
B [2: 2] and CB [3: 2] are selected, and a second parallel block composed of these two blocks is configured. At this point, the writable block does not exist in the recording medium piece 1C, and therefore, the writable block CB [3: 3] is selected only from the recording medium piece 1D, and the third block composed of this one block is selected. A parallel block is configured.

【0096】そして、第2のファイルデータは、以上の
ようにして構成される3,2,1ブロックでそれぞれな
る並列ブロックに対して、順次書き込まれる。
Then, the second file data is sequentially written into the parallel blocks composed of 3, 2, and 1 blocks configured as described above.

【0097】上述したように、並列ブロックを構成する
ブロックの数が少なくなると、基本的に、待ち時間は増
加する。また、並列ブロックを構成し、その並列ブロッ
クを対象として、あるファイルを書き込む場合には、構
成される並列ブロックの数が多くなるほど、並列ブロッ
クの選択や管理のために要する時間が増大し、そのファ
イルを記録するのに要する時間は多くなる。
As described above, when the number of blocks constituting the parallel block decreases, the waiting time basically increases. When a parallel block is configured and a certain file is written to the parallel block, the time required for selecting and managing the parallel block increases as the number of configured parallel blocks increases. The time it takes to record a file increases.

【0098】従って、記録媒体1が、4つの記録媒体片
1A乃至1Dからなる場合に、6ブロック分のデータを
書き込むときには、記録時間の短縮化の観点からは、並
列ブロックは、2つだけ構成され、かつ各並列ブロック
が、最小ブロック数Imin以上の数のブロックで構成さ
れるようにすべきでありデータ入力時間tinputとプロ
グラム時間tprogとの間に、例えば、図3で説明した関
係があるような記録媒体1に対して、6ブロック分の第
2のファイルを書き込む場合に、上述したように、3つ
の並列ブロックが構成され、さらに、その3つの並列ブ
ロックを構成するブロックの数が、それぞれ3,2,1
であることは、並列記録方式による記録時間の短縮化を
妨げることになる。
Therefore, when the recording medium 1 is composed of four recording medium pieces 1A to 1D, when writing six blocks of data, from the viewpoint of shortening the recording time, only two parallel blocks are used. And each parallel block should be composed of a number of blocks equal to or greater than the minimum block number I min , between the data input time t input and the program time t prog , for example, as described in FIG. When writing the second file for six blocks to the related recording medium 1, three parallel blocks are configured as described above, and the three parallel blocks are further written. The numbers are 3, 2, 1 respectively
This hinders the shortening of the recording time by the parallel recording method.

【0099】このように、第2のファイルの書き込み時
に、第1のファイルにおける場合のように2つの並列ブ
ロックではなく、それよりも多い3つの並列ブロックが
構成され、かつそれにより1の並列ブロックを構成する
ブロックの数が少なくなるのは、記録媒体片1A乃至1
Dそれぞれにおける書き込み可能ブロックの数に偏りが
あることに起因する。
Thus, when writing the second file, instead of two parallel blocks as in the first file, three more parallel blocks are formed, and thereby one parallel block is formed. The number of blocks constituting the small number of recording medium pieces 1A to 1A
This is due to the bias in the number of writable blocks in each of D.

【0100】即ち、図4で説明した場合においては、上
述したように、第1のファイルの書き込みが終了した時
点で、記録媒体片1Dには、ブロックCB[3:1],
CB[3:2]、およびCB[3:3]の3つの書き込
み可能ブロックが残っているが、記録媒体片1Bには、
書き込み可能ブロックが残らない。このため、それ以
降、記録媒体片1Bからは、並列ブロックを構成するブ
ロックを選択する余地がなくなり、記録時間を短縮する
ための並列ブロックを構成することができなくなる。
That is, in the case described with reference to FIG. 4, as described above, when the writing of the first file is completed, the block CB [3: 1],
Although three writable blocks CB [3: 2] and CB [3: 3] remain, the recording medium piece 1B has
No writable blocks remain. Therefore, after that, there is no room to select a block constituting the parallel block from the recording medium piece 1B, and it becomes impossible to form a parallel block for shortening the recording time.

【0101】そこで、ここでは、インターリーブ数を、
式(1)で示される最小ブロック数Imin以上に制限す
る他、記録媒体1A乃至1Dそれぞれにおける、書き込
み可能ブロックの数(従って、書き込み可能な領域の大
きさ)が偏らないように、並列ブロックを構成するブロ
ックを抽出(選択)するようにする。
Therefore, here, the number of interleaves is
In addition to limiting the number to the minimum block number I min or more represented by the formula (1), the parallel blocks are set so that the number of writable blocks (and therefore the size of the writable area) in each of the recording media 1A to 1D is not biased. Is extracted (selected).

【0102】次に、以上のように、インターリーブ数
を、最小ブロック数Imin以上に制限し、かつ記録媒体
1における書き込み可能ブロックの数が偏らないよう
に、並列ブロックを構成しながら行う並列記録方式(以
下、適宜、新並列記録方式という)について詳述する。
Next, as described above, the parallel recording is performed while configuring the parallel blocks so that the number of interleaves is limited to the minimum number of blocks I min or more and the number of writable blocks on the recording medium 1 is not biased. The method (hereinafter, appropriately referred to as a new parallel recording method) will be described in detail.

【0103】並列記録方式では、図5(A)に示すよう
に、記録媒体片1A乃至1Dそれぞれにおいて、書き込
み可能ブロックが物理的に連続する部分を1のフリーエ
リアとして、そのフリーエリア単位で、書き込み可能な
領域を管理する。即ち、記録媒体片1A乃至1Dそれぞ
れについて、フリーエリアのリストであるフリーリスト
が作成される。
In the parallel recording method, as shown in FIG. 5A, in each of the recording medium pieces 1A to 1D, a portion where the writable blocks are physically continuous is defined as one free area. Manages writable areas. That is, a free list, which is a list of free areas, is created for each of the recording medium pieces 1A to 1D.

【0104】図5(A)において、フリーリスト6A乃
至6Dは、記録媒体片1A乃至1Dのフリーエリアをそ
れぞれ管理するもので、各エントリには、フリーエリア
を構成する先頭の書き込み可能ブロックのアドレスと、
そのフリーエリアを構成する書き込み可能ブロックの数
が記憶される。
In FIG. 5A, the free lists 6A to 6D manage the free areas of the recording medium pieces 1A to 1D, respectively, and each entry has the address of the first writable block constituting the free area. When,
The number of writable blocks constituting the free area is stored.

【0105】即ち、記録媒体片1Aのフリーリスト6A
のエントリFL[0]に記憶されている「CB[0:
0],2」は、記録媒体片1Aにおいて、ブロックCB
[0:0]を先頭として、2ブロックのフリーエリアが
存在することを表している。また、フリーリスト6Aの
エントリFL[1]に記憶されている「CB[0:
3],1」は、記録媒体片1Aにおいて、ブロックCB
[0:3]を先頭として、1ブロックのフリーエリアが
存在することを表している。よって、フリーリスト6A
は、記録媒体片1Aにおいて、ブロックCB[0:
0],CB[0:1],CB[0:3]の3つのブロッ
クが、書き込み可能ブロックであることを表している。
That is, the free list 6A of the recording medium piece 1A
"CB [0:" stored in the entry FL [0] of the
0], 2 "is the block CB in the recording medium piece 1A.
Starting from [0: 0], it indicates that there are two blocks of free areas. Further, “CB [0:” stored in the entry FL [1] of the free list 6A.
3], 1 "indicates a block CB in the recording medium piece 1A.
Starting from [0: 3], it indicates that a free area of one block exists. Therefore, free list 6A
Is a block CB [0:
0], CB [0: 1], and CB [0: 3] represent writable blocks.

【0106】記録媒体片1Bのフリーリスト6Bのエン
トリFL[0]に記憶されている「CB[1:0],
2」は、記録媒体片1Bにおいて、ブロックCB[1:
0]を先頭として、2ブロックのフリーエリアが存在す
ることを表している。また、フリーリスト6Bのエント
リFL[1]に記憶されている「−1」は、その内容が
無効なものであることを表している。よって、フリーリ
スト6Bは、記録媒体片1Bにおいて、ブロックCB
[1:0],CB[1:1]の2つのブロックが、書き
込み可能ブロックであることを表している。
"CB [1: 0]," stored in entry FL [0] of free list 6B of recording medium piece 1B.
2 ”is a block CB [1:
0] at the top, indicating that there are two blocks of free areas. "-1" stored in the entry FL [1] of the free list 6B indicates that the content is invalid. Therefore, the free list 6B includes the block CB in the recording medium piece 1B.
Two blocks of [1: 0] and CB [1: 1] are writable blocks.

【0107】同様に、記録媒体片1Cのフリーリスト6
Cは、記録媒体片1Cにおいて、ブロックCB[2:
0],CB[2:1],CB[2:2]の3つのブロッ
クが、書き込み可能ブロックであることを表しており、
記録媒体片1Dのフリーリスト6Dは、記録媒体片1D
において、ブロックCB[3:0]乃至CB[3:3]
の4つのブロックが、書き込み可能ブロックであること
を表している。
Similarly, the free list 6 of the recording medium piece 1C
C is a block CB [2:
0], CB [2: 1], and CB [2: 2] represent writable blocks,
The free list 6D of the recording medium piece 1D is the recording medium piece 1D
In blocks CB [3: 0] to CB [3: 3]
Indicate that the four blocks are writable blocks.

【0108】なお、フリーリスト6A乃至6Dの各エン
トリに、フリーエリアを構成する先頭のアドレスと、そ
のフリーエリアを構成するブロックの数を記述すること
により、上述したように、記録媒体1A乃至1Dそれぞ
れの書き込み可能ブロックを認識することができる他、
有効なエントリ(−1になっていないエントリ)の数を
カウントすることで、記録媒体片1A乃至1Dそれぞれ
のフリーエリアの数も認識することができる。
[0108] Note that, by describing, in each entry of the free lists 6A to 6D, the head address constituting the free area and the number of blocks constituting the free area, as described above, the recording media 1A to 1D In addition to being able to recognize each writable block,
By counting the number of valid entries (entries not set to −1), the number of free areas of each of the recording medium pieces 1A to 1D can also be recognized.

【0109】新並列記録方式では、以上のようにして、
書き込み可能な領域を管理しながら、次のようにして並
列ブロックを構成し、その並列ブロックを対象にして、
データを並列的に書き込む。
In the new parallel recording method, as described above,
While managing the writable area, configure a parallel block as follows and target the parallel block.
Write data in parallel.

【0110】即ち、新並列記録方式では、まず、式
(1)にしたがって、最小ブロック数I minが算出され
る。なお、最小ブロック数Iminは、記録媒体1として
用いる、例えば、フラッシュメモリが分かっていれば、
その特性としてのデータ入力時間t inputおよびプログ
ラム時間tprogも分かるので、あらかじめ求めておき、
記録媒体1に記録しておいても良い。
That is, in the new parallel recording method, first, the expression
According to (1), the minimum number of blocks I minIs calculated
You. Note that the minimum number of blocks IminIs the recording medium 1
Use, for example, if you know the flash memory,
Data input time t as its characteristic inputAnd blog
Ram time tprogSo you can find it in advance,
It may be recorded on the recording medium 1.

【0111】最小ブロック数Iminの算出後は、書き込
み対象のファイル(データ)を記録するにあたって用い
る並列ブロックを構成するブロックの数であるインター
リーブ数Iiが、最小ブロック数Iminに基づき、例え
ば、次式を満たすように求められる。
After the calculation of the minimum block number I min , the interleave number I i, which is the number of blocks constituting the parallel blocks used for recording the file (data) to be written, is calculated based on the minimum block number I min , for example. , So that the following equation is satisfied.

【0112】 Lf=ΣIi ・・・(2) Imin≦Ii≦N ・・・(3) 但し、Lfは、書き込み対象のファイル(書き込み対象
ファイル)を記録することのできる必要最小限のブロッ
ク数(以下、必要最小限ブロック数という)を表し、書
き込み対象のファイルのデータ量をCfと、ブロックの
大きさ(容量)をCbと、それぞれするとき、式Lf=c
eil(Cf/Cb)で与えられる。また、Nは、記録媒
体1が有する記録媒体片1A乃至1Dのうち書き込み可
能な領域を有するものの数を表し、本実施の形態では、
最大で、4である。さらに、iは、書き込み対象ファイ
ルを記録するにあたって用いられる並列ブロックを特定
するためのサフィックスで、1以上Lc以下の整数
(1,2,・・・,Lc)をとる。ここで、Lcは、書き
込み対象ファイルを記録するにあたって用いられる並列
ブロックの総数を表す。即ち、図4で説明した第1およ
び第2のファイルを記録する場合を例にすれば、第1の
ファイルについては、第1および第2の2つの並列ブロ
ックが構成されるから、Lcは2であり、第2のファイ
ルについては、第1乃至第3の3つの並列ブロックが構
成されるから、Lcは3である。また、Iiは、i番目の
並列ブロック(第iの並列ブロック)を構成するブロッ
クの数(インターリーブ数)を表す。さらに、式(2)
におけるΣは、iについてのサメーション(iを1から
cに変化させてのIiの総和)を表す。
L f = ΣI i (2) I min ≦ I i ≦ N (3) where L f is the minimum necessary for recording the file to be written (the file to be written). When the data amount of a file to be written is represented by C f and the block size (capacity) is represented by C b , the expression L f = c
eil (C f / C b ). Further, N represents the number of recording medium pieces 1A to 1D of the recording medium 1 having a writable area, and in the present embodiment,
At most, 4. Further, i is a suffix for specifying a parallel block used for recording the write target file, and takes an integer (1, 2,..., L c ) of 1 or more and Lc or less. Here, L c represents the total number of parallel blocks used when recording the write target file. That is, if as an example a case of recording the first and second file described in FIG. 4, for the first file, the first and second two parallel block is formed, L c is 2, the second file, the first to third three parallel block is formed, L c is 3. I i represents the number of blocks (interleave number) constituting the i-th parallel block (i-th parallel block). Further, equation (2)
Represents a summation for i (sum of I i when i is changed from 1 to L c ).

【0113】いま、データ入力時間tinputまたはプロ
グラム時間tprogを、例えば、それぞれ60マイクロ秒
または100マイクロ秒とするとき、式(1)より、最
小ブロック数Iminは、3となる。従って、書き込み対
象ファイルについての必要最小限ブロック数Lfが、例
えば、4であったとすると、式(2)および(3)か
ら、Lc=1かつIi=4とする並列ブロック、即ち、4
つのブロックでなる並列ブロックが1つだけ構成され
る。なお、ここでは、上述したように、N=4としてい
る。
When the data input time t input or the program time t prog is, for example, 60 microseconds or 100 microseconds, respectively, the minimum block number I min is 3 according to the equation (1). Therefore, the minimum required number of blocks L f of the write target file, for example, assuming that a 4, parallel blocks from equation (2) and (3), and L c = 1 and I i = 4, i.e., 4
Only one parallel block consisting of one block is configured. Here, as described above, N = 4.

【0114】ここで、上述の場合においては、例えば、
c=2として、並列ブロックを2つ構成することも考
えられる。そして、必要最小限ブロック数Lfが4の書
き込み対象ファイルについて、並列ブロックを2つ構成
するには、4ブロックを、1ブロックと3ブロック、ま
たは2ブロックずつに分ける必要がある。しかしなが
ら、4ブロックを1ブロックと3ブロックとに分けると
した場合、即ち、2つの並列ブロックを、1ブロックと
3ブロックとでそれぞれ構成するとした場合には、3ブ
ロックで構成される並列ブロックにおけるインターリー
ブ数Ii(=3)は、式(3)を満たすが、1ブロック
で構成される並列ブロックにおけるインターリーブ数I
i(=1)は、式(3)を満たさない。また、2つの並
列ブロックを、2ブロックずつでそれぞれ構成するとし
た場合には、いずれの並列ブロックにおけるインターリ
ーブ数Ii(=2)も、式(3)を満たさなくなる。
Here, in the above case, for example,
Assuming that L c = 2, two parallel blocks may be configured. Then, in order to configure two parallel blocks for the write target file having the required minimum block number Lf of 4, it is necessary to divide the 4 blocks into one block and three blocks, or two blocks. However, if the four blocks are divided into one block and three blocks, that is, if two parallel blocks are respectively composed of one block and three blocks, interleaving in a parallel block composed of three blocks is performed. The number I i (= 3) satisfies Expression (3), but the number of interleaves I in the parallel block composed of one block
i (= 1) does not satisfy equation (3). Further, when the two parallel blocks are each configured by two blocks, the interleave number I i (= 2) in any of the parallel blocks does not satisfy Expression (3).

【0115】従って、上述のように、N=4,Imin
3,Lf=4の場合には、式(2)および(3)を満た
す並列ブロックとして、4つのブロックでなる1の並列
ブロックが構成される。
Therefore, as described above, N = 4, I min =
When 3, L f = 4, one parallel block composed of four blocks is configured as a parallel block satisfying Expressions (2) and (3).

【0116】次に、例えば、N=4,Imin=3,Lf
5の場合には、必要最小限ブロック数Lf(=5)が、
記録媒体1が有する記録媒体片1A乃至1Dの数N(=
4)よりも多いため、並列ブロックは2以上構成され
る。いま、並列ブロックを、例えば、2つ構成するとし
た場合には、必要最小限ブロック数Lfである5ブロッ
クは、1ブロックと4ブロック、または2ブロックと3
ブロックに分けることができる。
Next, for example, N = 4, I min = 3, L f =
In the case of 5, the required minimum number of blocks L f (= 5) is
The number N of the recording medium pieces 1A to 1D included in the recording medium 1 (=
Since there are more than 4), two or more parallel blocks are configured. Now, for example, if two parallel blocks are configured, the required minimum number of blocks Lf is 5 blocks, 1 block and 4 blocks, or 2 blocks and 3 blocks.
Can be divided into blocks.

【0117】そして、5ブロックを4ブロックと1ブロ
ックとに分けるとした場合、即ち、2つの並列ブロック
を、4ブロックと1ブロックとでそれぞれ構成するとし
た場合には、4ブロックで構成される並列ブロックにお
けるインターリーブ数Ii(=4)は、式(3)を満た
すが、1ブロックで構成される並列ブロックにおけるイ
ンターリーブ数Ii(=1)は、式(3)を満たさな
い。一方、2つの並列ブロックを、2ブロックと3ブロ
ックとでそれぞれ構成するとした場合には、3ブロック
で構成される並列ブロックにおけるインターリーブ数I
i(=3)は、式(3)を満たすが、2ブロックで構成
される並列ブロックにおけるインターリーブ数Ii(=
2)は、式(3)を満たさない。
If the five blocks are divided into four blocks and one block, that is, if two parallel blocks are composed of four blocks and one block, respectively, the parallel block composed of four blocks is used. The interleave number I i (= 4) in the block satisfies Expression (3), but the interleave number I i (= 1) in the parallel block composed of one block does not satisfy Expression (3). On the other hand, if the two parallel blocks are composed of two blocks and three blocks, respectively, the number of interleaves I in the parallel block composed of three blocks
i (= 3) satisfies equation (3), but the number of interleaves I i (=
2) does not satisfy equation (3).

【0118】従って、いずれの分け方でも、2つの並列
ブロックのうちの一方は、式(3)を満たさない。この
ような場合においては、式(3)を満たさない並列ブロ
ックを構成するブロックの数(インターリーブ数)が、
なるべく最小ブロック数Imi nに近くなるように、並列
ブロックを構成する。即ち、上述の場合においては、2
つの並列ブロックを、2ブロックと3ブロックとでそれ
ぞれ構成する。
Therefore, in either case, one of the two parallel blocks does not satisfy Equation (3). In such a case, the number of blocks (the number of interleaves) constituting the parallel block that does not satisfy Expression (3) is
As possible close to the minimum number of blocks I mi n, constituting the parallel block. That is, in the above case, 2
One parallel block is composed of two blocks and three blocks, respectively.

【0119】ここで、式(3)を満たさない並列ブロッ
クを構成するブロックの数が、なるべく最小ブロック数
minに近くなるように、並列ブロックを構成するの
は、次のような理由による。即ち、並列ブロックを構成
するブロックの数を、最小ブロック数Imin以上とした
場合には、その数が幾つであっても、プログラム時間t
p rogに起因する、データの入力待ちは生じない。一方、
並列ブロックを構成するブロックの数を、最小ブロック
数Imin未満とすると、上述したことから、並列ブロッ
クを構成するブロックの数が少なくなるほど、待ち時間
は増加する。従って、並列ブロックを構成するブロック
の数が、最小ブロック数Imin未満である場合には、そ
の数が多いほど、待ち時間をより短く(少なく)するこ
とができるからである。
Here, the reason why the parallel blocks are configured such that the number of blocks constituting the parallel blocks that do not satisfy the expression (3) is as close as possible to the minimum block number I min is as follows. That is, when the number of blocks constituting the parallel block is equal to or more than the minimum block number Imin , the program time t
There is no waiting for data input due to prog . on the other hand,
When the number of blocks constituting the parallel block is less than the minimum block number I min , as described above, the waiting time increases as the number of blocks constituting the parallel block decreases. Therefore, when the number of blocks constituting the parallel block is less than the minimum block number I min , the greater the number, the shorter (shorter) the waiting time can be.

【0120】次に、例えば、N=4,Imin=2,Lf
6の場合には、必要最小限ブロック数Lf(=6)が、
記録媒体1が有する記録媒体片1A乃至1Dの数N(=
4)よりも多いため、やはり、並列ブロックは2以上構
成される。いま、並列ブロックを、例えば、2つ構成す
るとした場合には、必要最小限ブロック数Lfである6
ブロックは、1ブロックと5ブロック、2ブロックと4
ブロック、または3ブロックずつに分けることができ
る。
Next, for example, N = 4, I min = 2, L f =
In the case of 6, the required minimum number of blocks L f (= 6) is
The number N of the recording medium pieces 1A to 1D included in the recording medium 1 (=
4), the parallel block is composed of two or more. Now, for example, when two parallel blocks are configured, the required minimum number of blocks Lf is 6
1 block and 5 blocks, 2 blocks and 4 blocks
It can be divided into blocks or three blocks.

【0121】そして、この場合には、6ブロックを2ブ
ロックと4ブロックとに分けるとき、または3ブロック
ずつに分けるとき、即ち、2つの並列ブロックを、2ブ
ロックと4ブロックとでそれぞれ構成するとき、または
3ブロックずつで構成するときに、式(3)が満たされ
るので、そのうちのいずれかの分け方で、2つの並列ブ
ロックが構成される。但し、処理の容易化等の観点から
は、2ブロックと4ブロックとで2つの並列ブロックを
構成するよりも、3ブロックずつで2つの並列ブロック
を構成するのが望ましい。
In this case, when the 6 blocks are divided into 2 blocks and 4 blocks, or when divided into 3 blocks, that is, when two parallel blocks are composed of 2 blocks and 4 blocks, respectively. , Or when each block is composed of three blocks, Equation (3) is satisfied. Therefore, two parallel blocks are configured by any one of the division methods. However, from the viewpoint of simplicity of processing and the like, it is more preferable to configure two parallel blocks by three blocks than to configure two parallel blocks by two blocks and four blocks.

【0122】なお、この場合、例えば、2つずつのブロ
ックでなる3つの並列ブロックを構成した場合も、式
(3)が満たされるが、並列ブロックの数の増加は、デ
ータの書き込みおよび読み出しのための制御や、ブロッ
クの管理を複雑化することになるため、並列ブロックの
数は、少ない方が好ましい。
In this case, for example, when three parallel blocks each composed of two blocks are formed, the expression (3) is satisfied. However, the increase in the number of parallel blocks depends on the data write and read operations. Therefore, it is preferable that the number of parallel blocks is small because the control for the control and the management of the blocks are complicated.

【0123】次に、新並列記録方式における、並列ブロ
ックを構成するブロックの、記録媒体1からの選択(抽
出)の仕方について説明する。なお、ここでは、最小ブ
ロック数Iminを、例えば、3とする。
Next, a method of selecting (extracting) blocks constituting a parallel block from the recording medium 1 in the new parallel recording method will be described. Here, the minimum block number I min is, for example, three.

【0124】いま、書き込み対象ファイルとして、第1
および第2の2つのファイルがあり、いずれについての
必要最小限ブロック数Lfも、例えば、6であるとする
と、第1および第2のファイルについては、式(1)乃
至(3)から、いずれも、3ブロックでなる2つの並列
ブロック、つまり、インターリーブ数が3の2つの並列
ブロックが構成されるが、この並列ブロックを構成する
ブロックは、記録媒体1から、その書き込み可能な領域
の大きさが偏らないように選択される。
Now, the first file to be written is
Assuming that the required minimum number of blocks L f is, for example, 6, for each of the two files, the first and second files are expressed by the following equations (1) to (3). In each case, two parallel blocks each consisting of three blocks, that is, two parallel blocks having an interleave number of 3, are formed. The blocks forming the parallel blocks have the size of the writable area from the recording medium 1. Are selected so as not to be biased.

【0125】即ち、まず、記録媒体片1A乃至1Dそれ
ぞれから、書き込み対象ファイルについて構成される並
列ブロックの数Lc以上の数であって、Lcに最も近いブ
ロック数で構成されるフリーエリアが、フリーリスト6
A乃至6Dを参照することで検出される。
[0125] That is, first, from the respective recording medium pieces 1A through 1D, a number of several L c of the parallel block formed for writing file, a free area comprised in the nearest number of blocks in the L c , Free list 6
It is detected by referring to A to 6D.

【0126】具体的には、第1のファイルを書き込む場
合においては、それついて構成される並列ブロックの数
cである2以上の数であって、2に最も近いブロック
で構成されるフリーエリアが、記録媒体片1A乃至1D
それぞれから検出される。
More specifically, in the case of writing the first file, the free area constituted by the block closest to 2 is the number Lc of 2 or more, which is the number Lc of the parallel blocks constituted therewith. Are the recording medium pieces 1A to 1D
Detected from each.

【0127】従って、例えば、図5(A)に示した記録
状態の記録媒体1に、第1のファイルを書き込む場合に
おいては、記録媒体片1Aからは、(3)で示すブロッ
クCB[0:0]と、(6)で示すブロックCB[0:
1]とで構成されるフリーエリアが検出される。また、
記録媒体片1Bからは、(7)で示すブロックCB
[1:0]と、(10)で示すブロックCB[1:1]
とで構成されるフリーエリアが検出される。さらに、記
録媒体片1Cからは、(2)で示すブロックCB[2:
0]、(5)で示すブロックCB[2:1]、および
(11)で示すブロックCB[2:2]で構成されるフ
リーエリアが検出され、記録媒体片1Dからは、(1)
で示すブロックCB[3:0]、(4)で示すブロック
CB[3:1]、(8)で示すブロックCB[3:
2]、および(12)で示すブロックCB[3:3]で
構成されるフリーエリアが検出される。
Therefore, for example, when the first file is written on the recording medium 1 in the recording state shown in FIG. 5A, the block CB [0: 0] and the block CB [0:
1] is detected. Also,
From the recording medium piece 1B, the block CB shown in (7)
[1: 0] and block CB [1: 1] shown in (10)
Is detected. Further, from the recording medium piece 1C, the block CB [2:
0], a free area composed of a block CB [2: 1] shown in (5) and a block CB [2: 2] shown in (11) is detected. From the recording medium piece 1D, (1)
The block CB [3: 0] indicated by (4), the block CB [3: 1] indicated by (4), and the block CB [3: indicated by (8)]
2] and a free area composed of blocks CB [3: 3] shown in (12) is detected.

【0128】そして、以上のようにして検出されたフリ
ーエリア(以下、適宜、検出フリーエリアという)か
ら、並列ブロックを構成させるものが選択される。
Then, from the free areas detected as described above (hereinafter, appropriately referred to as detected free areas), those which constitute a parallel block are selected.

【0129】即ち、記録媒体片1A乃至1Dそれぞれか
ら検出された検出フリーエリアのうち、その大きさの大
きいものが優先的に、インターリーブ数に等しい数であ
る3つだけ選択される。従って、図5の実施の形態で
は、まず、ブロック(1),(4),(8),(12)
からなる検出フリーエリアが選択され、次に、ブロック
(2),(5),(11)からなる検出フリーエリアが
選択される。
That is, among the detection free areas detected from each of the recording medium pieces 1A to 1D, only three of the detection free areas having the larger size are preferentially selected, the number being equal to the number of interleaves. Therefore, in the embodiment of FIG. 5, first, blocks (1), (4), (8), (12)
Is selected, and then a detection free area including blocks (2), (5), and (11) is selected.

【0130】ここで、図5において、ブロック(3)お
よび(6)からなる検出フリーエリアと、ブロック
(7)および(10)からなる検出フリーエリアは、い
ずれも2つのブロックから構成されるから、その大きさ
については優劣がない。
Here, in FIG. 5, the detection free area composed of blocks (3) and (6) and the detection free area composed of blocks (7) and (10) are both composed of two blocks. There is no difference in size.

【0131】この場合、その2つの検出フリーエリアが
検出された記録媒体片のうち、フリーエリアの数が多い
方から検出された検出フリーエリアが選択される。従っ
て、いまの場合、ブロック(3)および(6)からなる
検出フリーエリアが検出された記録媒体片1Aには、フ
リーリスト6Aより、2つのフリーエリアがあり、ブロ
ック(7)および(10)からなる検出フリーエリアが
検出された記録媒体片1Bには、フリーリスト6Bよ
り、1のフリーエリアがあるから、よりフリーエリアの
多い記録媒体片1Aから検出されたブロック(3)およ
び(6)からなる検出フリーエリアが優先的に選択され
る。
In this case, among the pieces of the recording medium in which the two detection free areas have been detected, the detection free area detected from the one with the larger number of free areas is selected. Therefore, in this case, the recording medium piece 1A in which the detection free area including the blocks (3) and (6) is detected has two free areas from the free list 6A, and the blocks (7) and (10). In the recording medium piece 1B in which the detection free area is detected, there is one free area from the free list 6B. Therefore, the blocks (3) and (6) detected from the recording medium piece 1A having more free areas. Is selected preferentially.

【0132】従って、最終的には、記録媒体片1Dにお
けるブロック(1),(4),(8),(12)からな
る検出フリーエリア、記録媒体片1Cにおけるブロック
(2),(5),(11)からなる検出フリーエリア、
および記録媒体片1Aにおけるブロック(3)および
(6)からなる検出フリーエリアの3つの検出フリーエ
リアが選択される。
Therefore, finally, the detection free area including the blocks (1), (4), (8) and (12) in the recording medium piece 1D, and the blocks (2) and (5) in the recording medium piece 1C. , A detection free area consisting of (11),
In addition, three detection free areas of the blocks (3) and (6) in the recording medium piece 1A are selected.

【0133】そして、この選択された3つの検出フリー
エリアから、並列ブロックが構成される。
A parallel block is formed from the selected three detection free areas.

【0134】即ち、3つの検出フリーエリアそれぞれか
ら、例えば、優先的に選択された順に、ブロックが、L
c個、つまり、いまの場合、2つずつ選択される。な
お、検出フリーエリアが、Lcよりも多い数のブロック
を有する場合には、例えば、その物理アドレスのより小
さいものが選択されることとする。
That is, from each of the three detection free areas, for example, the blocks are assigned L
c , that is, in this case, two are selected. The detection free area, if it has a greater number of blocks than L c, for example, and the smaller ones of the physical address is selected.

【0135】従って、まず、最初に選択されたブロック
(1),(4),(8),(12)からなる検出フリー
エリアから、ブロック(1)および(4)が選択され
る。さらに、次に選択されたブロック(2),(5),
(11)からなる検出フリーエリアから、ブロック
(2)および(5)が選択され、その次に選択されたブ
ロック(3)および(6)からなる検出フリーエリアか
ら、ブロック(3)および(6)が選択される。そし
て、この選択された6つのブロック(1)乃至(6)
が、第1のファイルについての2の並列ブロックを構成
するものとされる。
Therefore, first, the blocks (1) and (4) are selected from the detection free area consisting of the blocks (1), (4), (8) and (12) selected first. Further, the next selected block (2), (5),
Blocks (2) and (5) are selected from the detection free area composed of (11), and blocks (3) and (6) are selected from the detection free area composed of the blocks (3) and (6) selected next. ) Is selected. Then, the selected six blocks (1) to (6)
Form two parallel blocks for the first file.

【0136】即ち、例えば、書き込み対象ファイルにつ
いて構成される1以上の並列ブロックのまとまりを、並
列ブロック群というものとすると、上述したようにして
選択されたブロック(1)および(4)、(2)および
(5)、並びに(3)および(6)を、例えば、図5
(B)に示すように、優先的に選択されたものから順次
並べた並列ブロック群が想定される。ここで、インター
リーブ数が、I1=I2=・・・=ILc=Iであるとする
と、並列ブロック群は、横×縦が、I×Lc個のブロッ
クで構成される。
That is, for example, assuming that a group of one or more parallel blocks configured for a file to be written is a parallel block group, the blocks (1), (4), and (2) selected as described above. ) And (5), and (3) and (6), for example, as shown in FIG.
As shown in (B), a parallel block group sequentially arranged from the one selected with priority is assumed. Here, assuming that the number of interleaves is I 1 = I 2 =... = I Lc = I, the parallel block group is composed of I × L c blocks in width × length.

【0137】そして、並列ブロック群の、例えば、下か
ら1行目(最下行)の3ブロック(1)乃至(3)が、
第1のファイルについての2つの並列ブロックのうちの
第1の並列ブロックとして確定され、下から2行目(図
5(B)では、最上行)の3ブロック(4)乃至(6)
が、第1のファイルについての2つの並列ブロックのう
ちの第2の並列ブロックとして確定される。
In the parallel block group, for example, three blocks (1) to (3) in the first row (lowest row) from the bottom are:
The three blocks (4) to (6) in the second row from the bottom (the top row in FIG. 5B) are determined as the first parallel block of the two parallel blocks for the first file.
Is determined as the second parallel block of the two parallel blocks for the first file.

【0138】さらに、第1のファイルについては、ま
ず、ブロック(1)乃至(3)からなる第1の並列ブロ
ックを対象として、図1および図2で説明した並列記録
方式による書き込みが行われ、その終了後、ブロック
(4)乃至(6)からなる第2の並列ブロックを対象と
して書き込みが行われる。その後、図2で説明したファ
イル管理情報およびブロック管理情報が更新される。さ
らに、図5(A)に示したフリーリスト6A乃至6D
も、必要に応じて更新される。
Further, with respect to the first file, first, writing is performed on the first parallel block consisting of blocks (1) to (3) by the parallel recording method described with reference to FIGS. After that, writing is performed on the second parallel block composed of blocks (4) to (6). Thereafter, the file management information and the block management information described with reference to FIG. 2 are updated. Further, the free lists 6A to 6D shown in FIG.
Are also updated as needed.

【0139】第1のファイルの書き込みの終了後におい
ては、記録媒体1の記録状態、およびフリーリスト6A
乃至6Dは、図6(A)に示すようになる。
After the writing of the first file is completed, the recording state of the recording medium 1 and the free list 6A
6A to 6D are as shown in FIG.

【0140】即ち、記録媒体片1Aには、(9)で示す
ブロックCB[0:3]だけでなるフリーエリアが、記
録媒体片1Bには、(7)で示すブロックCB[1:
0]および(10)で示すブロックCB[1:1]でな
るフリーエリアが、記録媒体片1Cには、(11)で示
すブロックCB[2:2]だけでなるフリーエリアが、
記録媒体片1Dには、(8)で示すブロックCB[3:
2]および(12)で示すブロックCB[3:3]でな
るフリーエリアが残っている。
That is, the recording medium piece 1A has a free area consisting of only the block CB [0: 3] shown in (9), and the recording medium piece 1B has the free area CB [1:
0] and a free area consisting of blocks CB [1: 1] shown in (10), and a free area consisting only of blocks CB [2: 2] shown in (11) on the recording medium piece 1C.
The recording medium piece 1D includes a block CB [3:
2] and a free area consisting of blocks CB [3: 3] shown in (12) remains.

【0141】そして、このフリーエリアを対象に、第2
のファイルが書き込まれるが、この場合も、第2のファ
イルついて構成される並列ブロックの数Lcである2以
上の数であって、2に最も近いブロックで構成されるフ
リーエリアが、記録媒体片1A乃至1Dそれぞれから検
出される。
Then, for the free area, the second
In this case as well, the free area composed of the blocks closest to 2 is the number Lc of 2 or more, which is the number Lc of the parallel blocks configured for the second file, in this case, too. It is detected from each of the pieces 1A to 1D.

【0142】この場合、記録媒体片1Bと1Dからは、
2ブロックでなるフリーエリアが検出されるが、記録媒
体1Aと1Cからは、1ブロックでなるフリーエリアし
かないため、その検出は行われない。
In this case, from the recording medium pieces 1B and 1D,
Although a free area consisting of two blocks is detected, it is not detected from the recording media 1A and 1C because there is only a free area consisting of one block.

【0143】このように、インターリーブ数I以上の記
録媒体片からフリーエリアを検出することができない場
合には、新並列記録方式では、Lcを1だけデクリメン
トして、そのデクリメント後のLcである1以上の数で
あって、1に最も近いブロックで構成されるフリーエリ
アが記録媒体片1A乃至1Dそれぞれから検出される。
[0143] Thus, if the number of interleaves I more memory chips can not detect the free area, the new parallel recording method decrements the L c by 1, in that after decrementing L c A free area composed of a block that is one or more and is closest to one is detected from each of the recording medium pieces 1A to 1D.

【0144】この場合、記録媒体片1Aからは、ブロッ
ク(9)で構成されるフリーエリアが、記録媒体片1B
からは、ブロック(7)および(10)で構成されるフ
リーエリアが、記録媒体片1Cからは、ブロック(1
1)で構成されるフリーエリアが、記録媒体片1Dから
は、ブロック(8)および(12)で構成されるフリー
エリアが、それぞれ検出される。
In this case, from the recording medium piece 1A, the free area constituted by the block (9) is changed to the recording medium piece 1B.
, A free area composed of blocks (7) and (10) is transferred from the recording medium piece 1C to the block (1).
The free area composed of blocks (8) and (12) is detected from the recording medium piece 1D.

【0145】そして、以上のようにして検出されたフリ
ーエリア(検出フリーエリア)から、上述した場合と同
様にして、並列ブロックを構成させるものが選択され
る。
Then, from the free areas detected as described above (detected free areas), those forming a parallel block are selected in the same manner as described above.

【0146】即ち、記録媒体片1A乃至1Dそれぞれか
ら検出された検出フリーエリアのうち、その大きさの大
きいものが優先的に、インターリーブ数Iに等しい数で
ある3つだけ選択される。従って、図6の実施の形態で
は、ブロック(8),(12)からなる検出フリーエリ
アと、ブロック(7),(10)からなる検出フリーエ
リアの2つのフリーエリアが優先的に選択される。な
お、ブロック(8),(12)からなる検出フリーエリ
アと、ブロック(7),(10)からなる検出フリーエ
リアとは、その大きさが同一であるから、大きさについ
ての優劣はないが、このような場合には、図6(図5)
において、例えば、より左側にある記録媒体片の検出フ
リーエリアが、優先的に選択されるものとする。従っ
て、ここでは、ブロック(7),(10)からなる検出
フリーエリアが最初に選択され、その次に、ブロック
(8),(12)からなる検出フリーエリアが選択され
る。
That is, among the detection free areas detected from each of the recording medium pieces 1A to 1D, only three of the detection free areas having the larger size are selected with priority equal to the number I of interleaves. Therefore, in the embodiment of FIG. 6, two free areas, a detection free area consisting of blocks (8) and (12) and a detection free area consisting of blocks (7) and (10), are preferentially selected. . Note that the detection free area composed of blocks (8) and (12) and the detection free area composed of blocks (7) and (10) have the same size. In such a case, FIG. 6 (FIG. 5)
For example, it is assumed that the detection free area of the recording medium piece on the left side is preferentially selected. Therefore, here, the detection free area including the blocks (7) and (10) is selected first, and then the detection free area including the blocks (8) and (12) is selected.

【0147】ここで、図6において、ブロック(9)か
らなる検出フリーエリアと、ブロック(11)からなる
検出フリーエリアは、いずれも1のブロックから構成さ
れるから、その大きさについては優劣がない。さらに、
ブロック(9)からなる検出フリーエリアを有する記録
媒体片1Aにおけるフリーエリア、およびブロック(1
1)からなるフリーエリアを有する記録媒体片1Cにお
けるフリーエリアは、いずれも1つであり、従って、記
録媒体片が有するフリーエリアの数にも優劣がない。こ
のような場合には、ブロック(9)からなる検出フリー
エリアと、ブロック(11)からなる検出フリーエリア
のうちのいずれを優先的に選択してもかまわないが、こ
こでは、例えば、上述の場合と同様に、図6(図5)に
おいて、より左側にある記録媒体片の検出フリーエリア
が、優先的に選択されるものとする。即ち、いまの場
合、ブロック(9)からなる検出フリーエリアが優先的
に選択される。
Here, in FIG. 6, since the detection free area consisting of block (9) and the detection free area consisting of block (11) are each composed of one block, the size is superior. Absent. further,
The free area in the recording medium piece 1A having the detection free area consisting of the block (9) and the block (1)
Each of the recording medium pieces 1C having the free area 1) has one free area, and thus the number of free areas included in the recording medium piece is not inferior. In such a case, any one of the detection free area consisting of the block (9) and the detection free area consisting of the block (11) may be preferentially selected. Similarly to the case, the detection free area of the recording medium piece on the left side in FIG. 6 (FIG. 5) is preferentially selected. That is, in this case, the detection free area including the block (9) is preferentially selected.

【0148】従って、最終的には、記録媒体片1Bにお
けるブロック(7),(10)からなる検出フリーエリ
ア、記録媒体片1Dにおけるブロック(8),(12)
からなる検出フリーエリア、および記録媒体片1Aにお
けるブロック(9)からなる検出フリーエリアの3つの
検出フリーエリアが選択される。
Therefore, finally, the detection free area consisting of the blocks (7) and (10) in the recording medium piece 1B and the blocks (8) and (12) in the recording medium piece 1D
And the detection free area consisting of the block (9) in the recording medium piece 1A are selected.

【0149】そして、この選択された3つの検出フリー
エリアから、並列ブロックが構成される。
Then, a parallel block is formed from the selected three detection free areas.

【0150】即ち、3つの検出フリーエリアそれぞれか
ら、例えば、優先的に選択された順に、ブロックが、L
c個、つまり、いまの場合、1つずつ選択される。な
お、検出フリーエリアが、Lcよりも多い数のブロック
を有する場合には、上述したように、その物理アドレス
のより小さいものが選択される。
That is, from each of the three detection free areas, for example, the blocks are assigned L
c , that is, one by one in this case. If the detection free area has a larger number of blocks than Lc , as described above, the area having the smaller physical address is selected.

【0151】従って、まず、最初に選択されたブロック
(7),(10)からなる検出フリーエリアから、ブロ
ック(7)が選択される。さらに、次に選択されたブロ
ック(8),(12)からなる検出フリーエリアから、
ブロック(8)が選択され、その次に選択されたブロッ
ク(9)からなる検出フリーエリアから、ブロック
(9)が選択される。そして、この選択された3つのブ
ロック(7)乃至(9)が、第2のファイルについての
2の並列ブロックのうちの第1の並列ブロックを構成す
るものとされる。
Therefore, first, the block (7) is selected from the detection free area consisting of the blocks (7) and (10) selected first. Further, from the detection free area consisting of the blocks (8) and (12) selected next,
Block (8) is selected, and block (9) is selected from the detection free area consisting of block (9) selected next. Then, the selected three blocks (7) to (9) constitute the first parallel block of the two parallel blocks for the second file.

【0152】その後、元のLc(ここでは、2)をデク
リメントした回数(ここでは、1)を、新たに、Lc
みなして同様の処理が繰り返される。
Thereafter, the same processing is repeated by regarding the number of times that the original L c (here, 2) has been decremented (here, 1) as a new L c .

【0153】即ち、いまの段階では、記録媒体片1Aに
は、フリーエリアは残っておらず、記録媒体片1Bに
は、ブロック(10)でなるフリーエリアが、記録媒体
片1Cでは、ブロック(11)でなるフリーエリアが、
記録媒体片1Dでは、ブロック(12)でなるフリーエ
リアが残っている。
That is, at this stage, no free area remains on the recording medium piece 1A, and the free area formed of the block (10) is recorded on the recording medium piece 1B, and the block (10) is formed on the recording medium piece 1C. The free area consisting of 11)
In the recording medium piece 1D, a free area including the block (12) remains.

【0154】そして、このフリーエリアを対象に、第2
のファイルが書き込まれるための第2の並列ブロックが
構成される。
Then, for the free area, the second
A second parallel block for writing this file is formed.

【0155】即ち、この場合も、Lc以上の数であっ
て、Lcに最も近いブロックで構成されるフリーエリア
が、記録媒体片1A乃至1Dそれぞれから検出される。
いまの場合、上述したことから、Lcは1であるから、
1以上の数であって、1に最も近いブロックで構成され
るフリーエリアが記録媒体片1A乃至1Dそれぞれから
検出される。
[0155] That is, also in this case, a number of more than L c, the free area consists of the closest block to the L c is detected from the respective recording medium pieces 1A through 1D.
In this case, from the above, since L c is 1,
A free area that is a number greater than or equal to 1 and that is composed of blocks closest to 1 is detected from each of the recording medium pieces 1A to 1D.

【0156】従って、記録媒体片1Aからは、フリーエ
リアは検出されず、記録媒体片1Bからは、ブロック
(10)で構成されるフリーエリアが、記録媒体片1C
からは、ブロック(11)で構成されるフリーエリア
が、記録媒体片1Dからは、ブロック(12)で構成さ
れるフリーエリアが、それぞれ検出される。
Therefore, the free area is not detected from the recording medium piece 1A, and the free area constituted by the block (10) is changed from the recording medium piece 1B to the recording medium piece 1C.
From, a free area composed of block (11) is detected, and a free area composed of block (12) is detected from recording medium piece 1D.

【0157】そして、以上のようにして検出されたフリ
ーエリア(検出フリーエリア)から、上述した場合と同
様にして、並列ブロックを構成させるものが選択され
る。
Then, from the free areas detected as described above (detected free areas), those forming a parallel block are selected in the same manner as described above.

【0158】即ち、記録媒体片1A乃至1Dそれぞれか
ら検出された検出フリーエリアのうち、その大きさの大
きいものが優先的に、インターリーブ数Iに等しい数で
ある3つだけ選択される。従って、ブロック(10)か
らなる検出フリーエリア、ブロック(11)からなる検
出フリーエリア、およびブロック(12)からなる検出
フリーエリアが優先的に選択される。なお、この場合、
この3つの検出フリーエリアには、大きさについての優
劣はないため、上述したように、より左側にある記録媒
体片の検出フリーエリアが、優先的に選択される。従っ
て、ブロック(10)からなる検出フリーエリア、ブロ
ック(11)からなる検出フリーエリア、ブロック(1
2)からなる検出フリーエリアの順で、選択が行われ
る。
That is, among the detection free areas detected from each of the recording medium pieces 1A to 1D, only three of the detection free areas having the larger size are preferentially selected, the number being equal to the interleave number I. Therefore, the detection free area consisting of the block (10), the detection free area consisting of the block (11), and the detection free area consisting of the block (12) are preferentially selected. In this case,
Since there is no difference in size among these three detection free areas, the detection free area of the recording medium piece on the left side is preferentially selected as described above. Therefore, the detection free area including the block (10), the detection free area including the block (11), and the block (1)
The selection is performed in the order of the detection free area consisting of 2).

【0159】そして、この段階で、インターリーブ数I
に等しい3つの検出フリーエリアが選択されているた
め、この3つの検出フリーエリアから、並列ブロックが
構成される。
At this stage, the interleave number I
Since three detection free areas equal to are selected, a parallel block is formed from the three detection free areas.

【0160】即ち、3つの検出フリーエリアそれぞれか
ら、優先的に選択された順に、ブロックが、Lc個、つ
まり、いまの場合、1つずつ選択される。
[0160] That is, the three detection free area, respectively, in the order in which they are preferentially selected, block, L c number, that is, in this case, are selected one by one.

【0161】従って、まず、最初に選択されたブロック
(10)からなる検出フリーエリアから、ブロック(1
0)が選択される。さらに、次に選択されたブロック
(11)からなる検出フリーエリアから、ブロック(1
1)が選択され、その次に選択されたブロック(12)
からなる検出フリーエリアから、ブロック(12)が選
択される。そして、この選択された3つのブロック(1
0)乃至(12)が、第2のファイルについての2の並
列ブロックのうちの第2の並列ブロックを構成するもの
とされる。
Therefore, first, the block (1) is moved from the detection free area consisting of the block (10) selected first.
0) is selected. Further, the block (1) is moved from the detection free area consisting of the block (11) selected next.
1) is selected and the next selected block (12)
The block (12) is selected from the detection free area consisting of. Then, the selected three blocks (1
0) to (12) constitute a second parallel block of the two parallel blocks for the second file.

【0162】以上のようにして、第2のファイルについ
ては、図6(B)に示すように、ブロック(7)乃至
(9)で構成される第1の並列ブロックと、ブロック
(10)乃至(12)で構成される第2の並列ブロック
とで構成される並列ブロック群が構成される。
As described above, for the second file, as shown in FIG. 6B, the first parallel block composed of blocks (7) to (9) and the blocks (10) to (10) A parallel block group constituted by the second parallel block constituted by (12) is constituted.

【0163】そして、第2のファイルについては、ま
ず、ブロック(7)乃至(9)からなる第1の並列ブロ
ックを対象として、図1および図2で説明した並列記録
方式による書き込みが行われ、その終了後、ブロック
(10)乃至(12)からなる第2の並列ブロックを対
象として書き込みが行われる。その後、図2で説明した
ファイル管理情報およびブロック管理情報が更新され
る。さらに、図5(B)に示したフリーリスト6A乃至
6Dも、必要に応じて更新される。
Then, with respect to the second file, first, writing is performed on the first parallel block consisting of blocks (7) to (9) by the parallel recording method described with reference to FIGS. After that, writing is performed on the second parallel block composed of blocks (10) to (12). Thereafter, the file management information and the block management information described with reference to FIG. 2 are updated. Further, the free lists 6A to 6D shown in FIG. 5B are also updated as necessary.

【0164】以上のように、並列ブロックの数(並列ブ
ロック群を構成する並列ブロックの数)以上の数であっ
て、その並列ブロックの数に最も近いブロック数で構成
されるフリーエリアから、並列ブロックを構成させるも
のを選択することで、記録媒体片1A乃至1Dそれぞれ
における書き込み可能ブロックの断片化(フラグメンテ
ーション化)を抑制し、記録媒体の記録領域を有効に利
用することが可能となる。
As described above, the free area having the number of blocks equal to or larger than the number of parallel blocks (the number of parallel blocks constituting the parallel block group) and the number of blocks closest to the number of parallel blocks is used. By selecting the constituents of the blocks, fragmentation (fragmentation) of the writable blocks in each of the recording medium pieces 1A to 1D can be suppressed, and the recording area of the recording medium can be effectively used.

【0165】さらに、この場合、記録媒体片において、
第1の並列ブロックを構成するブロックと、第2の並列
ブロックを構成するブロックとが、物理的に連続した領
域に確保されるので、即ち、例えば、図5で説明した第
1のファイルの書き込み時を例にすれば、記録媒体1A
では、ブロック(3)が、第1の並列ブロックを構成す
るブロックとして確保されるとともに、それに隣接する
ブロック(6)が、第2の並列ブロックを構成するブロ
ックとして確保され、記録媒体1Cでは、ブロック
(2)が、第1の並列ブロックを構成するブロックとし
て確保されるとともに、それに隣接するブロック(5)
が、第2の並列ブロックを構成するブロックとして確保
され、記録媒体1Dでは、ブロック(1)が、第1の並
列ブロックを構成するブロックとして確保されるととも
に、それに隣接するブロック(4)が、第2の並列ブロ
ックを構成するブロックとして確保されるので、記録媒
体1の管理および制御が容易となる。
Furthermore, in this case, in the recording medium piece,
The blocks constituting the first parallel block and the blocks constituting the second parallel block are secured in physically continuous areas, that is, for example, writing of the first file described in FIG. For example, the recording medium 1A
In the example, the block (3) is secured as a block constituting a first parallel block, and a block (6) adjacent thereto is secured as a block constituting a second parallel block. In the recording medium 1C, The block (2) is secured as a block constituting a first parallel block, and a block (5) adjacent thereto is provided.
Is secured as a block constituting the second parallel block, and in the recording medium 1D, the block (1) is secured as a block constituting the first parallel block, and a block (4) adjacent thereto is secured as a block (4). Since it is secured as a block constituting the second parallel block, management and control of the recording medium 1 are facilitated.

【0166】具体的には、記録媒体片1A乃至1Dそれ
ぞれが、例えば、フラッシュメモリで構成される場合、
フラッシュメモリでは、あるページのデータを読み出し
た後に、それに続くページのデータを読み出すときに
は、そのページのアドレスを与えなくても読み出すこと
ができることがある。従って、ある記録媒体片に注目し
た場合に、その記録媒体片において、1のファイルを記
録する並列ブロック群の並列ブロックを構成するブロッ
クが、物理的に連続した領域に確保されることにより、
最初のページのデータを読み出すときのみアドレスを与
え、以降のページのデータについては、アドレスを与え
ずに読み出すことが可能となる。
Specifically, when each of the recording medium pieces 1A to 1D is constituted by, for example, a flash memory,
In the flash memory, when data of a certain page is read after reading data of a certain page, the data may sometimes be read without giving an address of the page. Therefore, when attention is paid to a certain recording medium piece, the blocks constituting the parallel blocks of the parallel block group for recording one file are secured in a physically continuous area in the recording medium piece,
An address is given only when reading the data of the first page, and the data of the subsequent pages can be read without giving an address.

【0167】また、検出フリーエリアから、並列ブロッ
クを構成させるものを選択する場合に、大きさの大きい
ものを優先的に選択するようにし、さらに、検出フリー
エリアの大きさが同一のときには、その同一の大きさの
検出フリーエリアが検出された記録媒体片のうち、フリ
ーエリアの数が多い方から検出された検出フリーエリア
を優先的に選択するようにしたので、記録媒体片1A乃
至1D相互間における書き込み可能領域の大きさに偏り
が生じるのを抑制することができ、これにより、書き込
み可能領域の大きさに偏りが生じるのに起因して、書き
込み可能領域を有する記録媒体片の数が、最小ブロック
数Iminより少なくなってしまうようなことを抑制する
ことができる。
When selecting a parallel block from the detection free areas, a block having a large size is preferentially selected. Further, when the sizes of the detection free areas are the same, the selection is made. Among the pieces of recording medium in which detection free areas of the same size have been detected, the detection free area detected in descending order of the number of free areas is preferentially selected. It is possible to suppress the occurrence of a bias in the size of the writable area in the interval, thereby reducing the number of recording medium pieces having the writable area due to the bias in the size of the writable area. , It can be suppressed that the number of blocks becomes smaller than the minimum block number I min .

【0168】そして、以上の結果、並列記録方式による
書き込みの高速化の効果を、最大限に発揮することが可
能となる。
As a result, the effect of increasing the speed of writing by the parallel recording method can be maximized.

【0169】なお、図5の実施の形態において、第1の
ファイルの書き込み時に、ブロック(3)および(6)
からなる検出フリーエリアと、ブロック(7)および
(10)からなる検出フリーエリアとのうちの、フリー
エリアの数が多い記録媒体片1Aから検出された方、即
ち、ブロック(3)および(6)からなる検出フリーエ
リアを優先的に選択するようにしたが、このとき、他
方、即ち、フリーエリアの数が少ない記録媒体片1Bか
ら検出されたブロック(7)および(10)からなる検
出フリーエリアを選択すると、第2のファイルの書き込
み時に、次のような不具合を生じる。
In the embodiment shown in FIG. 5, when writing the first file, blocks (3) and (6)
And the detection free area consisting of blocks (7) and (10), the one detected from the recording medium piece 1A having a large number of free areas, that is, blocks (3) and (6). ) Is preferentially selected. At this time, the detection free area consisting of blocks (7) and (10) detected from the other, that is, the recording medium piece 1B having a small number of free areas, is selected. When an area is selected, the following problem occurs when writing the second file.

【0170】即ち、この場合、第1のファイルについて
は、ブロック(1),(2),(7)からなる第1の並
列ブロックと、ブロック(4),(5),(10)から
なる第2の並列ブロックとからなる並列ブロック群が構
成され、従って、まず、ブロック(1),(2),
(7)からなる第1の並列ブロックを対象として、並列
記録方式による書き込みが行われ、その終了後、ブロッ
ク(4),(5),(10)からなる第2の並列ブロッ
クを対象として書き込みが行われる。
That is, in this case, the first file is composed of a first parallel block composed of blocks (1), (2) and (7) and blocks (4), (5) and (10). A parallel block group composed of the second parallel block is configured. Therefore, first, the blocks (1), (2),
Writing by the parallel recording method is performed on the first parallel block composed of (7), and after that, writing is performed on the second parallel block composed of blocks (4), (5), and (10). Is performed.

【0171】その結果、第1のファイルの書き込みの終
了後においては、記録媒体片1Aには、ブロック(3)
および(6)でなるフリーエリアと、ブロック(9)で
なるフリーエリアが、記録媒体片1Cには、ブロック
(11)でなるフリーエリアが、記録媒体片1Dには、
ブロック(8)および(12)でなるフリーエリアが残
るが、記録媒体片1Bのフリーエリアはなくなる。
As a result, after the writing of the first file is completed, the block (3) is stored in the recording medium piece 1A.
And (6), a free area consisting of block (9), a free area consisting of block (11) in recording medium piece 1C, and a free area consisting of block (11) in recording medium piece 1D.
The free area consisting of the blocks (8) and (12) remains, but the free area of the recording medium piece 1B disappears.

【0172】従って、記録媒体片1Bは、並列記録方式
による書き込みの対象とすることができなくなるから、
以後、並列ブロックの構成は、記録媒体片1A,1C,
1Dの3つを対象として行うこととなる。
Therefore, the recording medium piece 1B cannot be subjected to writing by the parallel recording method.
Hereafter, the configuration of the parallel block includes the recording medium pieces 1A, 1C,
This is performed for three IDs.

【0173】この場合、第2のファイルについての第1
の並列ブロックとしては、記録媒体1Aのブロック
(3)、記録媒体1Cのブロック(11)、および記録
媒体1Dのブロック(8)が選択されて構成される。そ
して、この段階で、記録媒体1Cのフリーエリアはなく
なる。従って、以後、並列ブロックの構成は、記録媒体
片1A,1Dの2つを対象として行うこととなる。
In this case, the first file for the second file
, The block (3) of the recording medium 1A, the block (11) of the recording medium 1C, and the block (8) of the recording medium 1D are selected and configured. At this stage, there is no free area on the recording medium 1C. Therefore, hereinafter, the configuration of the parallel block is performed for the two recording medium pieces 1A and 1D.

【0174】さらに、この場合、式(3)におけるN
が、Iminより小さくなるから、式(3)を満たすイン
ターリーブ数Iを確保することはできなくなる。即ち、
この場合、式(3)におけるNは、フリーエリアを有す
る記録媒体片1A,1Dの個数である2となるから、イ
ンターリーブ数Iは、最大でも2となる。
Furthermore, in this case, N
However, since it becomes smaller than I min, it becomes impossible to secure the interleave number I satisfying the expression (3). That is,
In this case, N in the equation (3) is 2 which is the number of the recording medium pieces 1A and 1D having the free area. Therefore, the interleave number I is 2 at the maximum.

【0175】いま、インターリーブ数Iを、取り得る最
大の値である2とすると、第2のファイルについては、
記録媒体1Aのブロック(6)、および記録媒体1Dの
ブロック(12)が選択され、この2つのブロックでな
る並列ブロックが、第2の並列ブロックとして構成され
る。そして、この段階で、記録媒体1Dのフリーエリア
もなくなるので、以後、並列ブロックの構成は、記録媒
体片1Aの1つだけを対象として行うこととなる。
Now, assuming that the interleave number I is 2, which is the maximum possible value, the second file has
The block (6) of the recording medium 1A and the block (12) of the recording medium 1D are selected, and a parallel block including the two blocks is configured as a second parallel block. At this stage, there is no free area on the recording medium 1D. Therefore, the configuration of the parallel block will be performed for only one of the recording medium pieces 1A.

【0176】この場合、インターリーブ数Iは、最大で
も、フリーエリアを有する記録媒体片1Aの数である1
となる。従って、この場合、第2のファイルについて
は、記録媒体1Aのブロック(9)が選択され、この1
のブロックでなる並列ブロックが、第3の並列ブロック
として構成される。
In this case, the interleave number I is at most the number of recording medium pieces 1A having a free area.
Becomes Therefore, in this case, for the second file, the block (9) of the recording medium 1A is selected, and
Is configured as a third parallel block.

【0177】以上から、第2のファイルについては、3
ブロックでなる第1の並列ブロック、2ブロックでなる
第2の並列ブロック、1ブロックでなる第3の並列ブロ
ックが構成されることになり、最小ブロック数Imin
ある3より少ないブロックで構成される第2および第3
の並列ブロックを対象とした並列記録方式による書き込
みでは、プログラム時間tprogに起因する待ち時間が生
じ、書き込みの高速化が妨げられることになる。
From the above, for the second file, 3
A first parallel block made up of blocks, a second parallel block made up of two blocks, and a third parallel block made up of one block are formed, and are made up of blocks smaller than 3 which is the minimum number of blocks I min. 2nd and 3rd
In the writing by the parallel recording method for the parallel blocks, a waiting time due to the program time t prog is generated, and the speeding up of writing is hindered.

【0178】これに対して、第1のファイルの書き込み
時に、ブロック(3)および(6)からなる検出フリー
エリアと、ブロック(7)および(10)からなる検出
フリーエリアとのうちの、フリーエリアの数が多い記録
媒体片1Aから検出されたブロック(3)および(6)
からなる検出フリーエリアを優先的に選択するようにし
た場合には、そのような待ち時間が生じることがない。
On the other hand, when writing the first file, the free area of the detection free area consisting of blocks (3) and (6) and the detection free area consisting of blocks (7) and (10) Blocks (3) and (6) detected from recording medium piece 1A having a large number of areas
In the case where the detection free area is preferentially selected, such waiting time does not occur.

【0179】次に、図7は、以上のような新並列記録方
式による書き込みを行うユーザ端末(記録再生装置)の
第1実施の形態の外観構成例を示している。
Next, FIG. 7 shows an external configuration example of a first embodiment of a user terminal (recording / reproducing apparatus) which performs writing according to the above-described new parallel recording method.

【0180】この実施の形態においては、その正面に、
各種の入力を与えるときに操作されるボタン等でなる操
作部11と、文字や画像などの各種の情報を表示する、
例えば、液晶パネルなどでなる表示部12が設けられて
いる。即ち、ユーザ端末は、記録媒体1(図7では、図
示せず)を内蔵しており、例えば、操作部11を所定操
作することで、記録媒体1に記録されたデータが読み出
され、そのデータが、文字や画像などである場合には、
表示部12に表示されるようになされている。
In this embodiment, on the front,
An operation unit 11 composed of buttons and the like operated when giving various inputs, and displaying various information such as characters and images;
For example, a display unit 12 including a liquid crystal panel or the like is provided. That is, the user terminal has a built-in recording medium 1 (not shown in FIG. 7). For example, by performing a predetermined operation on the operation unit 11, the data recorded on the recording medium 1 is read out. If the data is text or images,
The information is displayed on the display unit 12.

【0181】さらに、ユーザ端末には、イヤフォン13
が備えられており、記録媒体1から読み出されたデータ
が、オーディオデータの場合は、その音は、イヤフォン
13から出力されるようになされている。
Further, the user terminal includes an earphone 13
When the data read from the recording medium 1 is audio data, the sound is output from the earphone 13.

【0182】なお、ユーザ端末には、イヤフォン13に
替えて、あるいは、イヤフォン13とともに、スピーカ
を設けて、そのスピーカから、音を出力させるようにす
ることも可能である。また、記録媒体1から読み出され
たデータが、例えば、コンピュータプログラムである場
合には、ユーザ端末において、そのコンピュータプログ
ラムが実行され、各種の処理が行われるようになされて
いる。
It is also possible to provide a speaker in the user terminal in place of or together with the earphone 13, and to output sound from the speaker. When the data read from the recording medium 1 is, for example, a computer program, the user terminal executes the computer program to perform various processes.

【0183】ユーザ端末の左側面には、2つの端子14
および15が設けられている。端子14は、後述する図
9や図10に示す情報提供装置から提供される各種のデ
ータを入力するためのもので、この端子14から入力さ
れたデータが、ユーザ端末が内蔵する記録媒体1に記録
される。端子15は、記録媒体1から再生されたデータ
を出力するためのもので、記録媒体1に記録されたデー
タは、この端子15から出力して、外部のディスプレイ
やスピーカなどに供給することができるようになされて
いる。なお、記録媒体1に記録されたデータは、端子1
4から出力するようにすることも可能である。
The two terminals 14 are provided on the left side of the user terminal.
And 15 are provided. The terminal 14 is for inputting various data provided from the information providing apparatus shown in FIGS. 9 and 10 described later, and the data input from the terminal 14 is stored in the recording medium 1 built in the user terminal. Be recorded. The terminal 15 is for outputting data reproduced from the recording medium 1, and the data recorded on the recording medium 1 can be output from the terminal 15 and supplied to an external display, speaker, or the like. It has been made like that. The data recorded on the recording medium 1 is transmitted to the terminal 1
4 can also be output.

【0184】次に、図8は、新並列記録方式による書き
込みを行うユーザ端末の第2実施の形態の外観構成例を
示している。なお、図中、図7における場合と対応する
部分については、同一の符号を付してある。
Next, FIG. 8 shows an example of the external configuration of a second embodiment of a user terminal that performs writing by the new parallel recording method. In the figure, the same reference numerals are given to portions corresponding to the case in FIG.

【0185】この実施の形態においては、ユーザ端末の
左側面に、端子14および15に替えて、メモリカード
21を装着するためのスロット20が設けられている。
In this embodiment, instead of terminals 14 and 15, a slot 20 for mounting a memory card 21 is provided on the left side surface of the user terminal.

【0186】メモリカード21は、記録媒体1を内蔵し
ており、ユーザ端末では、このメモリカード21を、ス
ロット20に挿入して装着することで、図7の第1実施
の形態における場合と同様に、記録媒体1に記録された
データを利用することができるようになされている。
The memory card 21 has the built-in recording medium 1, and the user terminal inserts the memory card 21 into the slot 20 and mounts the memory card 21 in the same manner as in the first embodiment of FIG. In addition, data recorded on the recording medium 1 can be used.

【0187】即ち、メモリカード21の正面には、端子
22Aが設けられており、この端子22Aは、メモリカ
ード21を、スロット20に挿入すると、そのスロット
20内の図示せぬ端子と接するようになされており、こ
れにより、メモリカード21とユーザ端末とが電気的に
接続されるようになされている。このようにユーザ端末
とメモリカード21とが電気的に接続されると、ユーザ
端末は、メモリカード21が内蔵する記録媒体1に記録
されたデータを利用することができる状態となる。即
ち、メモリカード21が内蔵する記録媒体1に記録され
たデータは、端子22Aを介して読み出される(再生さ
れる)ようになされている。
That is, a terminal 22A is provided on the front surface of the memory card 21. When the memory card 21 is inserted into the slot 20, the terminal 22A comes into contact with a terminal (not shown) in the slot 20. Thus, the memory card 21 and the user terminal are electrically connected. When the user terminal and the memory card 21 are electrically connected as described above, the user terminal is in a state where the user terminal can use data recorded on the recording medium 1 built in the memory card 21. That is, data recorded on the recording medium 1 incorporated in the memory card 21 is read (reproduced) via the terminal 22A.

【0188】また、メモリカード21の正面には、端子
22Aの他に、端子22Bが設けられている。端子22
Bは、メモリカード21を、後述する図9の情報提供装
置のスロット33などに挿入すると、そのスロット33
内の図示せぬ端子と接するようになされており、これに
より、メモリカード21と情報提供装置とが電気的に接
続されるようになされている。このように情報提供装置
とメモリカード21とが電気的に接続されると、情報提
供装置は、メモリカード21が内蔵する記録媒体1に対
して、データを記録することができる状態となる。即
ち、情報提供装置が提供するデータは、端子22Bを介
して、メモリカード21に供給され、その内蔵する記録
媒体1に記録されるようになされている。
On the front of the memory card 21, a terminal 22B is provided in addition to the terminal 22A. Terminal 22
B inserts the memory card 21 into a slot 33 of the information providing apparatus shown in FIG.
The terminal is in contact with a terminal (not shown) inside, so that the memory card 21 and the information providing device are electrically connected. When the information providing device and the memory card 21 are electrically connected in this manner, the information providing device is in a state where data can be recorded on the recording medium 1 built in the memory card 21. That is, the data provided by the information providing device is supplied to the memory card 21 via the terminal 22B, and is recorded on the recording medium 1 incorporated therein.

【0189】図8に示すように、ユーザ端末に対して、
メモリカード21を着脱可能な構成とした場合において
は、メモリカード21のみを、情報提供装置が設置され
ている場所まで持っていくことで、データの提供を受け
ることができ、従って、記録媒体1を内蔵している図7
の実施の形態における場合と比較して、より携帯に便利
である。
As shown in FIG. 8, for the user terminal,
In a case where the memory card 21 is configured to be detachable, data can be provided by bringing only the memory card 21 to a place where the information providing device is installed. Figure 7 with built-in
It is more convenient to carry as compared with the case of the embodiment.

【0190】なお、図8の実施の形態では、メモリカー
ド21に対して、記録媒体1に記録されたデータを出力
するための端子22Aと、記録媒体1に記録するデータ
を入力するための端子22Bとの2つの端子を設けるよ
うにしたが、メモリカード21には、端子を1つだけ設
けるようにし、その1つの端子を、記録媒体1に記録さ
れたデータを出力する場合と、記録媒体1に記録するデ
ータを入力する場合とで、電気的に切り替えて使用する
ようにしても良い。
In the embodiment of FIG. 8, a terminal 22A for outputting data recorded on the recording medium 1 and a terminal 22A for inputting data to be recorded on the recording medium 1 are supplied to the memory card 21. 22B, two terminals are provided on the memory card 21, but only one terminal is provided on the memory card 21, and the one terminal is used to output data recorded on the recording medium 1; In the case where data to be recorded in No. 1 is input, the data may be electrically switched and used.

【0191】次に、図9は、図7のユーザ端末や図8の
メモリカード21が内蔵する記録媒体1に対して、デー
タを提供する情報提供装置の第1実施の形態の外観構成
例を示している。
Next, FIG. 9 shows an example of the external configuration of a first embodiment of an information providing apparatus for providing data to the user terminal of FIG. 7 or the recording medium 1 built in the memory card 21 of FIG. Is shown.

【0192】この情報提供装置には、その正面パネル
に、ユーザに対して提供するデータの内容や価格等を表
示する表示部31と、その表示部31によって表示され
ているデータを選択するときに操作される操作ボタン3
2とが設けられている。なお、図9の実施の形態では、
表示部31と操作ボタン32との組み合わせが、6組設
けられており、これにより、6種類のデータを提供する
ことができるようになされている。
This information providing device has a display section 31 on its front panel for displaying the contents and price of data to be provided to the user, and a display section 31 for selecting data displayed on the display section 31. Operation buttons 3 to be operated
2 are provided. In the embodiment of FIG. 9,
Six combinations of the display unit 31 and the operation buttons 32 are provided, so that six types of data can be provided.

【0193】さらに、正面パネルには、図7のユーザ端
末や、図8のメモリカード21を着脱するためのスロッ
ト33が設けられている。
Further, a slot 33 for attaching and detaching the user terminal shown in FIG. 7 and the memory card 21 shown in FIG. 8 is provided on the front panel.

【0194】データの提供を希望するユーザは、まず、
図7のユーザ端末や、図8のメモリカード21を、スロ
ット33に挿入する。これにより、ユーザ端末の端子1
4またはメモリカードの端子22Bが、情報提供装置と
電気的に接続される。
A user who wishes to provide data first
The user terminal of FIG. 7 and the memory card 21 of FIG. Thereby, the terminal 1 of the user terminal
4 or the terminal 22B of the memory card is electrically connected to the information providing device.

【0195】そして、ユーザは、表示部31を見て、所
望するデータに対応する操作ボタン32を操作する。こ
れにより、スロット33に挿入されたユーザ端末または
メモリカード21の内蔵する記録媒体1に、操作された
操作ボタン32に対応するデータが、転送記録(コピ
ー)される。
Then, the user looks at the display unit 31 and operates the operation button 32 corresponding to the desired data. As a result, the data corresponding to the operated operation button 32 is transferred and recorded (copied) to the recording medium 1 built in the user terminal or the memory card 21 inserted in the slot 33.

【0196】即ち、情報提供装置は、正面パネルに設け
られた6つの表示部31に対応するデータが記録されて
いる記録媒体と、その記録媒体に記録されたデータをコ
ピーするのに必要な制御を行うコピー制御部とを有して
いる(いずれも図示せず)。そして、情報提供装置で
は、操作ボタン32が操作された場合、コピー制御部の
制御の下、その操作に対応するデータが記録されている
記録媒体からデータが読み出され、そのデータが、スロ
ット33に挿入されたユーザ端末またはメモリカード2
1の内蔵する記録媒体1に転送されて記録される。
That is, the information providing apparatus includes a recording medium on which data corresponding to the six display units 31 provided on the front panel is recorded, and a control required for copying the data recorded on the recording medium. And a copy control unit (not shown). Then, in the information providing apparatus, when the operation button 32 is operated, under the control of the copy control unit, the data is read from the recording medium on which the data corresponding to the operation is recorded, and the data is stored in the slot 33. User terminal or memory card 2 inserted in
The data is transferred to and recorded on a recording medium 1 incorporated therein.

【0197】なお、情報提供装置は、提供するデータを
管理するデータ管理センタなどと、有線または無線の通
信回線を介して接続するようにすることも可能である。
この場合、情報提供装置では、データ管理センタから、
通信回線を介して、操作された操作ボタン32に対応す
るデータを受信して、ユーザに提供するようにすること
が可能となり、この場合、情報提供装置には、ユーザに
提供するデータを記録した記録媒体を設けずに済むよう
になる。あるいは、また、情報提供装置が内蔵する記録
媒体の記録内容を、通信回線を介して送信されてくるデ
ータによって更新するようにすることで、データの更新
が行われるごとに、人手によって、情報提供装置が内蔵
する記録媒体を交換するような手間を省くことができ
る。さらに、この場合、記録媒体に、データが一旦記録
された後は、そのデータを、再度、データ管理センタか
ら受信しなくても、記録媒体から提供することができる
ようになるから、通信コストを抑えて、最新のデータを
提供することが可能となる。
Note that the information providing apparatus can be connected to a data management center or the like that manages data to be provided via a wired or wireless communication line.
In this case, in the information providing device, from the data management center,
It is possible to receive the data corresponding to the operated operation button 32 via the communication line and provide the data to the user. In this case, the information providing device records the data to be provided to the user. It becomes unnecessary to provide a recording medium. Alternatively, by updating the recording content of a recording medium incorporated in the information providing apparatus with data transmitted through a communication line, the information providing apparatus can be manually provided every time data is updated. It is possible to save the trouble of exchanging the recording medium built in the apparatus. Further, in this case, once the data is recorded on the recording medium, the data can be provided from the recording medium without receiving the data again from the data management center. It is possible to provide the latest data while suppressing the above.

【0198】次に、図10は、情報提供装置の第2実施
の形態の外観構成例を示している。
Next, FIG. 10 shows an example of an external configuration of an information providing apparatus according to a second embodiment.

【0199】この実施の形態においては、ユーザの腰の
程度の高さの情報提供装置の上面に、メモリカード21
を挿入する挿入スロット31Aと、挿入スロット31A
から挿入されたメモリカード21を排出する排出スロッ
ト31Bとが設けられている。
In this embodiment, the memory card 21 is provided on the upper surface of the information providing apparatus having a height about the waist of the user.
Insertion slot 31A for inserting the
And an ejection slot 31B for ejecting the memory card 21 inserted therefrom.

【0200】データの提供を希望するユーザは、メモリ
カード21を、挿入スロット31Aに挿入し、図中、矢
印Dで示す方向に歩いていく。情報提供装置は、メモリ
カード21を、挿入スロット31Aから排出スロット3
1Bに搬送する搬送装置(図示せず)を内蔵しており、
その搬送の途中で(あるいは、搬送しながら)、メモリ
カード21に、データを記録する。搬送装置によるメモ
リカード21の、挿入スロット31Aから排出スロット
31Bへの搬送の時間は、例えば、ユーザが、挿入スロ
ット31Aから排出スロット31Bまでの間を歩く時間
とほぼ同様にされており、従って、ユーザが、挿入スロ
ット31Aに、メモリカード21を挿入した後、矢印D
で示す方向に歩いていき、排出スロット31Bの位置に
到着すると、その排出スロット31Bからは、データが
記録されたメモリカード21が排出される。
A user who wishes to provide data inserts the memory card 21 into the insertion slot 31A and walks in the direction indicated by arrow D in the figure. The information providing device moves the memory card 21 from the insertion slot 31A to the ejection slot 3A.
It has a built-in transfer device (not shown) for transferring to 1B.
Data is recorded on the memory card 21 during (or during) the transport. The transfer time of the memory card 21 from the insertion slot 31A to the discharge slot 31B by the transfer device is substantially the same as, for example, the time during which the user walks from the insertion slot 31A to the discharge slot 31B, and accordingly, After the user inserts the memory card 21 into the insertion slot 31A, the arrow D
When the user walks in the direction shown by the arrow and arrives at the position of the ejection slot 31B, the memory card 21 on which data is recorded is ejected from the ejection slot 31B.

【0201】情報提供装置を、このような構成とした場
合には、より迅速に、多くのユーザに、データを提供す
ることが可能となる。
When the information providing apparatus is configured as described above, data can be provided to many users more quickly.

【0202】なお、図10の実施の形態において、情報
提供装置が内蔵する搬送装置を工夫することで、図7に
示したような、記録媒体1を内蔵するユーザ端末に対し
て、データを提供するようにすることも可能である。
In the embodiment of FIG. 10, data is provided to a user terminal having a built-in recording medium 1 as shown in FIG. 7 by devising a transport device built in the information providing device. It is also possible to do so.

【0203】また、図10の情報提供装置は、メモリカ
ード21に対するデータの記録を、物理的に接触した状
態で行うようにすることもできるし、非接触の状態で、
電磁誘導を利用して行うようにすることもできる。但
し、メモリカード21に対するデータの記録を、非接触
の状態で行う場合には、メモリカード21にアンテナ等
を内蔵させる必要がある。
The information providing apparatus shown in FIG. 10 can record data on the memory card 21 in a physically contacted state or in a non-contacted state.
It is also possible to use electromagnetic induction. However, when recording data in the memory card 21 in a non-contact state, it is necessary to incorporate an antenna or the like in the memory card 21.

【0204】次に、図11は、図7のユーザ端末の電気
的構成例を示すブロック図である。
Next, FIG. 11 is a block diagram showing an example of the electrical configuration of the user terminal shown in FIG.

【0205】記録媒体1は、例えば、上述したように、
複数である4個の記録媒体片1A乃至1Dを有し、デー
タを記録するようになされている。なお、記録媒体片1
A乃至1Dについては、その種類は、特に限定されるも
のではないが、ある程度高速に記録(記憶)を行うこと
ができ、かつランダムアクセス可能で、携帯性にも優れ
た半導体メモリを用いるのが望ましい。ここでは、記録
媒体片1A乃至1Dとして、半導体メモリの中でも、電
池によるバックアップが不要な不揮発性メモリである、
例えば、NAND型のフラッシュメモリを用いることと
する。より具体的には、記録媒体片1A乃至1Dとして
は、例えば、「32MビットNAND型フラッシュメモ
リ」、電子材料、1995年6月、第32乃至第37頁
などに記載されているEEPROM(Electrically Era
sable and Programmable Read Only Memory)などを用
いることができる。
The recording medium 1 is, for example, as described above,
It has a plurality of four recording medium pieces 1A to 1D and records data. The recording medium piece 1
The type of A to 1D is not particularly limited, but it is preferable to use a semiconductor memory that can perform recording (storage) at a relatively high speed to some extent, is randomly accessible, and has excellent portability. desirable. Here, the recording medium pieces 1A to 1D are non-volatile memories that do not require backup by a battery among semiconductor memories.
For example, a NAND flash memory is used. More specifically, as the recording medium pieces 1A to 1D, for example, an EEPROM (Electrically Era) described in “32 Mbit NAND Flash Memory”, Electronic Materials, June 1995, pp. 32 to 37, etc.
sable and Programmable Read Only Memory) can be used.

【0206】なお、記録媒体1を構成する記録媒体片の
数は、ceil(tprog/tinput)+1以上となっている
必要がある。従って、NAND型のフラッシュメモリ
(EEPROM)の中には、例えば、プログラム時間t
progが、データ入力時間tinpu tの約10倍の時間とな
っているものなどがあるが、そのようなフラッシュメモ
リを、記録媒体片として用いる場合には、記録媒体1
は、11以上の記録媒体片を用いて構成する必要があ
る。
It is to be noted that the number of pieces of the recording medium constituting the recording medium 1 needs to be ceil (t prog / t input ) +1 or more. Therefore, in the NAND flash memory (EEPROM), for example, the program time t
prog is, there are such ones is about 10 times the data input time t inpu t, such flash memories, when used as a memory chip, the recording medium 1
Must be configured using eleven or more recording medium pieces.

【0207】ファイル管理情報記憶部2またはブロック
管理情報記憶部3は、図2で説明したファイル管理情報
またはブロック管理情報を、それぞれ記憶する。記録媒
体管理部4は、記録媒体1(を構成する記録媒体片1A
乃至1D)の特性情報としてのデータ入力時間tinput
およびプログラム時間tprogを記憶している。なお、記
録媒体管理部4には、データ入力時間tinputおよびプ
ログラム時間tprogに替えて、式(1)から計算される
最小ブロック数Iminを記憶させておくようにすること
も可能である。
The file management information storage unit 2 or the block management information storage unit 3 stores the file management information or the block management information described with reference to FIG. 2, respectively. The recording medium management unit 4 includes a recording medium piece 1A constituting the recording medium 1 (
To 1D) data input time t input as characteristic information
And the program time t prog . Note that the recording medium management unit 4 may store the minimum number of blocks I min calculated from Expression (1) instead of the data input time t input and the program time t prog. .

【0208】ここで、ユーザ端末を、図8に示したよう
に、メモリカード21が着脱可能となるように構成する
場合においては、このメモリカード21は、例えば、以
上の記録媒体1、ファイル管理情報記憶部2、ブロック
管理情報記憶部3、記録媒体管理部4で構成されること
になる。
In the case where the user terminal is configured so that the memory card 21 is detachable as shown in FIG. 8, the memory card 21 may be, for example, the above-described recording medium 1 and file management. It comprises an information storage unit 2, a block management information storage unit 3, and a recording medium management unit 4.

【0209】フリーエリア検索部5は、フリーリスト管
理部6を参照することで、記録媒体1のフリーエリアを
検索し、その検索結果を、記録媒体制御部42に供給す
るようになされている。フリーリスト管理部6は、ブロ
ック管理情報記憶部3に記憶されているブロック管理情
報を参照することで、フリーリストを作成、管理するよ
うになされている。即ち、フリーリスト管理部6は、記
録媒体1を構成する記録媒体片1A乃至1Dそれぞれに
ついて、図5で説明したフリーリスト6A乃至6Dを作
成、管理しており、フリーエリア検索部5では、このフ
リーリスト6A乃至6Dを参照することで、記録媒体1
A乃至1Dそれぞれのフリーエリアが検索される。
The free area search section 5 searches the free area of the recording medium 1 by referring to the free list management section 6, and supplies the search result to the recording medium control section 42. The free list management unit 6 creates and manages a free list by referring to block management information stored in the block management information storage unit 3. That is, the free list management unit 6 creates and manages the free lists 6A to 6D described in FIG. 5 for the recording medium pieces 1A to 1D constituting the recording medium 1, and the free area search unit 5 By referring to the free lists 6A to 6D, the recording medium 1
The free area of each of A to 1D is searched.

【0210】操作部11は、ユーザによって操作され、
その操作に対応する信号を、転送制御部41や、記録媒
体制御部42、再生制御部43に供給するようになされ
ている。表示部12は、再生制御部43が出力するデー
タ(表示可能なもの)を表示するようになされている。
The operation unit 11 is operated by the user,
A signal corresponding to the operation is supplied to the transfer control unit 41, the recording medium control unit 42, and the reproduction control unit 43. The display unit 12 is configured to display data (displayable) output by the reproduction control unit 43.

【0211】転送制御部41は、端子14から供給され
るデータの、記録媒体制御部42への転送、および記録
媒体制御部42から供給されるデータの、端子14への
転送を制御するようになされている。
The transfer control section 41 controls the transfer of the data supplied from the terminal 14 to the recording medium control section 42 and the transfer of the data supplied from the recording medium control section 42 to the terminal 14. It has been done.

【0212】記録媒体制御部42は、転送制御部41か
ら供給されるデータを、記録媒体1に記録し(書き込
み)、また、記録媒体1に記録されたデータを再生し
(読み出し)、転送制御部41または再生制御部43に
供給するようになされている。
[0212] The recording medium control section 42 records (writes) the data supplied from the transfer control section 41 on the recording medium 1, reproduces (reads) the data recorded on the recording medium 1, and controls the transfer control. The information is supplied to the unit 41 or the reproduction control unit 43.

【0213】即ち、記録媒体制御部42は、ファイル管
理情報記憶部2、ブロック管理情報記憶部3、および記
録媒体管理部4に記憶された情報や、フリーエリア検索
部5から供給される情報に基づいて、記録媒体1に対す
る、新並列記録方式によるデータの記録のための制御を
行う。さらに、記録媒体制御部42は、ファイル管理情
報記憶部2およびブロック管理情報記憶部3に記憶され
た情報に基づいて、記録媒体1に記録されたデータの再
生(読み出し)を制御する。
That is, the recording medium control unit 42 stores the information stored in the file management information storage unit 2, the block management information storage unit 3, and the storage medium management unit 4, and the information supplied from the free area search unit 5. Based on this, control for recording data on the recording medium 1 by the new parallel recording method is performed. Further, the recording medium control unit 42 controls reproduction (reading) of data recorded on the recording medium 1 based on information stored in the file management information storage unit 2 and the block management information storage unit 3.

【0214】なお、記録媒体制御部42は、ファイル管
理情報記憶部2またはブロック管理情報記憶部3にそれ
ぞれ記憶されたファイル管理情報またはブロック管理情
報の書き換えや、記録媒体1の消去操作の制御なども行
うようになされている。
The recording medium control unit 42 rewrites the file management information or the block management information stored in the file management information storage unit 2 or the block management information storage unit 3, controls the erasing operation of the recording medium 1, and the like. Has also been made to do.

【0215】再生制御部43は、記録媒体制御部42か
らのデータの再生制御を行うようになされている。即
ち、再生制御部43は、記録媒体制御部42からのデー
タがエンコードされている場合には、そのデコードを行
う。そして、そのデコード結果が表示可能なものであれ
ば、表示部12に供給し、音として出力可能なものであ
ればイヤフォン13に供給する。さらに、再生制御部4
3は、デコード結果が、実行可能なコンピュータプログ
ラムである場合には、そのコンピュータプログラムを実
行することにより所定の処理を行う。
[0215] The reproduction control unit 43 controls the reproduction of data from the recording medium control unit 42. That is, when the data from the recording medium control unit 42 is encoded, the reproduction control unit 43 decodes the data. If the decoded result can be displayed, it is supplied to the display unit 12, and if it can be output as sound, it is supplied to the earphone 13. Further, the reproduction control unit 4
If the decoding result is an executable computer program, the computer 3 executes the predetermined process by executing the computer program.

【0216】なお、ビデオデータやオーディオデータの
エンコードの方法としては、例えば、MPEG(Moving
Picture Experts Group)の規格に準拠したものがあ
る。また、再生制御部43においてデコードが行われる
ことにより得られたデータは、端子15から、外部に出
力することができるようにもなされている。
As a method of encoding video data and audio data, for example, MPEG (Moving)
Picture Experts Group). Further, data obtained by performing decoding in the reproduction control unit 43 can be output from the terminal 15 to the outside.

【0217】ここで、図11に示したユーザ端末を構成
する各ブロックは、ハードウェアや、物理的な機構、C
PU(Central Processing Unit)その他がコンピュー
タプログラムを実行することなどによって実現される。
Here, each block constituting the user terminal shown in FIG. 11 includes hardware, a physical mechanism,
A PU (Central Processing Unit) or the like is realized by executing a computer program.

【0218】次に、図12は、図11の記録媒体1を構
成する記録媒体片1A乃至1DそれぞれとしてのNAN
D型のフラッシュメモリの構成例を示している。
Next, FIG. 12 shows the NAN as each of the recording medium pieces 1A to 1D constituting the recording medium 1 of FIG.
1 shows a configuration example of a D-type flash memory.

【0219】フラッシュメモリは、大きく、レジスタ5
1とメモリセルアレイ52で構成されており、そこに
は、記録すべきデータ、コマンド、およびアドレスを入
力することができるようになされている。また、フラッ
シュメモリからは、そこに記録されたデータ、および内
部状態を表すReady/Busy信号が出力されるようになされ
ている。
The flash memory is large, and the register 5
1 and a memory cell array 52, into which data, commands, and addresses to be recorded can be inputted. The flash memory outputs data recorded therein and a Ready / Busy signal indicating an internal state.

【0220】以上のように構成されるフラッシュメモリ
に対して、データを記録する場合には、記録対象のデー
タの入力を指示するコマンド(インプットコマンド)お
よびデータを記録するアドレスとともに、記録対象のデ
ータを、ページ単位(ここでは、上述したように、51
2バイト)で与える。この場合、記録対象のデータは、
インプットコマンドに対応して、レジスタ51に入力さ
れて一時記憶される。その後、フラッシュメモリに対し
て、記録を指示するコマンド(ライトコマンド)を与え
ると、ライトコマンドに対応して、レジスタ51に記録
されたデータが、メモリセルアレイ52に転送され、イ
ンプットコマンドとともに供給されたアドレスに記憶
(保持)される。
When data is recorded in the flash memory configured as described above, a command (input command) for instructing input of the data to be recorded and an address for recording the data, as well as the data to be recorded. In page units (here, as described above, 51
2 bytes). In this case, the data to be recorded is
The data is input to the register 51 and temporarily stored in response to the input command. Thereafter, when a command (write command) for instructing recording is given to the flash memory, the data recorded in the register 51 is transferred to the memory cell array 52 in response to the write command, and supplied together with the input command. It is stored (held) at the address.

【0221】一方、フラッシュメモリからデータを読み
出す(再生する)場合には、再生を指示するコマンド
(リードコマンド)および再生対象のデータが記録され
ているアドレスを与える。この場合、リードコマンドに
対応して、メモリセルアレイの、リードコマンドととも
に与えられたアドレスからデータが読み出され、レジス
タ51に供給されて一時記憶される。そして、このレジ
スタ51に記憶されたデータが、フラッシュメモリから
出力される。
On the other hand, when data is read (reproduced) from the flash memory, a command for instructing reproduction (read command) and an address where data to be reproduced are recorded are given. In this case, in response to the read command, data is read from an address of the memory cell array provided with the read command, supplied to the register 51, and temporarily stored. Then, the data stored in the register 51 is output from the flash memory.

【0222】なお、Ready/Busy信号は、コマンドの受付
が可能な場合には、H(High)およびL(Low)レベル
のうちの、例えば、Lレベルになり(以下、適宜、Lレ
ベルのReady/Busy信号を、Ready信号という)、コマン
ドの受付が不可の場合には、Hレベルになるようになっ
ている(以下、適宜、HレベルのReady/Busy信号を、Bu
sy信号という)。
Note that the Ready / Busy signal becomes, for example, the L level of the H (High) and L (Low) levels when a command can be received (hereinafter, the L level Ready signal is appropriately set). The / Busy signal is called a Ready signal. When the command cannot be received, the H level is set to the H level (hereinafter, the H level Ready / Busy signal is appropriately changed to the Bus level).
sy signal).

【0223】また、図12には、図示していないが、フ
ラッシュメモリには、アドレスとともに、チップセレク
ト信号も与えられるようになされている(なお、チップ
セレクト信号は、アドレスの一部に含まれていると考え
ることができる)。
Although not shown in FIG. 12, a chip select signal is also supplied to the flash memory together with the address (the chip select signal is included in a part of the address). Can be considered).

【0224】次に、図11のユーザ端末の動作について
説明する。
Next, the operation of the user terminal shown in FIG. 11 will be described.

【0225】まずデータを、記録媒体1に記録する場合
においては、例えば、図9や図10に示した情報提供装
置から、データの記録を行うように指示する信号(以
下、適宜、記録指示信号という)が、端子14および転
送制御部41を介して、記録媒体制御部42に供給さ
れ、記録媒体制御部42は、記録指示信号を受信する
と、フリーエリア検索部5を制御することにより、フリ
ーエリアを検索させる。さらに、記録媒体制御部42
は、記録媒体管理部4に記憶されている、記録媒体1を
構成する記録媒体片1A乃至1Dのデータ入力時間t
inputおよびtprogから、最小ブロック数Iminを求め
る。そして、記録媒体制御部42は、最小ブロック数I
minおよびフリーエリアに基づき、上述した条件にした
がって、並列ブロックを構成する。
First, when data is recorded on the recording medium 1, for example, a signal instructing to record data from the information providing apparatus shown in FIG. 9 or FIG. Is supplied to the recording medium control unit 42 via the terminal 14 and the transfer control unit 41. When the recording medium control unit 42 receives the recording instruction signal, the recording medium control unit 42 Lets you search for an area. Further, the recording medium control unit 42
Is the data input time t of the recording medium pieces 1A to 1D constituting the recording medium 1 stored in the recording medium management unit 4.
From the input and t prog , a minimum block number I min is obtained. Then, the recording medium control unit 42 determines the minimum block number I
Based on the min and the free area, a parallel block is configured according to the above conditions.

【0226】ここで、フリーエリア検索部5は、フリー
リスト管理部6のフリーリスト6A乃至6Dを参照する
ことで、フリーエリアを検索するが、フリーリスト管理
部6には、フリーエリア検索部5が参照しにきたとき
に、フリーリスト6A乃至6Dを作成させるようにする
ことも可能であるし、また、ユーザ端末の電源が投入さ
れたときに、フリーリスト6A乃至6Dを作成させるよ
うにすることも可能である。
Here, the free area search unit 5 searches for a free area by referring to the free lists 6A to 6D of the free list management unit 6, but the free list management unit 6 includes the free area search unit 5 It is also possible to cause the free lists 6A to 6D to be created when the user comes to reference, and to create the free lists 6A to 6D when the user terminal is turned on. It is also possible.

【0227】さらに、図5および図6で説明した場合に
おいては、記録媒体片1A乃至1Dそれぞれについて、
独立に、フリーリスト6A乃至6Dを記憶しておくよう
にしたが、フリーリストを記憶させるエントリに、記録
媒体片1A乃至1Dのうちのいずれについてのフリーリ
ストかを識別する識別情報をも記憶させるようにするこ
とで、記録媒体片1A乃至1Dそれぞれについてのフリ
ーリストは、1のフリーリストにまとめて記憶しておく
ようにすることが可能となる。
Further, in the case described with reference to FIGS. 5 and 6, each of the recording medium pieces 1A to 1D
Independently, the free lists 6A to 6D are stored, but identification information for identifying which of the recording medium pieces 1A to 1D is the free list is also stored in the entry for storing the free list. By doing so, the free list for each of the recording medium pieces 1A to 1D can be collectively stored in one free list.

【0228】一方、転送制御部41は、端子14から供
給される記録指示信号を受信すると、その記録指示信号
を、記録媒体制御部42に出力し、その後、図9や図1
0の情報提供装置から、端子14を介して供給される記
録対象のデータを、下位転送プロトコルにしたがって取
り込み、記録媒体制御部42に転送する。ここで、下位
転送プロトコルとしては、例えば、SCSI(Small Co
mputer System Interface)と呼ばれるANSI(Ameri
can National Standards Institute) X3.131−
1986規格や、IEEE(Institute of Electrical
and Electronics Engineers)1394規格、PCMC
IA(Personal Computer Memory Card International
Association)のPCカード(PC Card)規格などの物理
層を含んだ規格を採用することができる。なお、下位転
送プロトコルとしては、その他、独自の規格を採用する
ことも可能であるが、上述のような標準化されているイ
ンターフェイスを採用することで、ユーザ端末を、拡張
性の高いものとすることができる。
On the other hand, when receiving the recording instruction signal supplied from the terminal 14, the transfer control section 41 outputs the recording instruction signal to the recording medium control section 42, and thereafter, transfers the recording instruction signal shown in FIG.
The data to be recorded, which is supplied via the terminal 14 from the information providing apparatus 0, is fetched according to the lower transfer protocol and transferred to the recording medium controller 42. Here, as the lower transfer protocol, for example, SCSI (Small Co
ANSI (Ameri) called mputer System Interface
can National Standards Institute) X3.131-
1986 standard, IEEE (Institute of Electrical
and Electronics Engineers) 1394 standard, PCMC
IA (Personal Computer Memory Card International
A standard including a physical layer, such as a PC Card standard of the Association) can be adopted. In addition, other proprietary standards can be adopted as the lower-order transfer protocol. However, by adopting the standardized interface as described above, the user terminal can be made highly scalable. Can be.

【0229】記録媒体制御部42は、並列ブロックを構
成するとともに、上述したようにして転送制御部41か
ら転送されてくるデータを受信すると、上位転送プロト
コルとしての新並列記録方式によって、そのデータを、
記録媒体1に転送、記録する。
[0229] The recording medium control unit 42 constitutes a parallel block, and upon receiving the data transferred from the transfer control unit 41 as described above, the recording medium control unit 42 converts the data by the new parallel recording method as the upper transfer protocol. ,
The data is transferred to the recording medium 1 and recorded.

【0230】即ち、記録媒体制御部42は、記録媒体1
の中の、図12に示すように構成されるフラッシュメモ
リとしての記録媒体片1A乃至1Dのうちの、データを
書き込むものにチップセレクト信号を与え、さらに、記
録対象の1ページ分のデータとともに、データを記録す
るアドレスおよびインプットコマンドを与える。これに
より、データ入力時間tinputの経過後に、記録媒体片
1A乃至1Dのうちのチップセレクト信号を与えられた
もの(以下、適宜、選択記録媒体片という)において
は、そのインプットコマンドに対応して、1ページ分の
データが、レジスタ51に入力されて記憶される。その
後、記録媒体制御部42は、ライトコマンドを、選択記
録媒体片に与え、これにより、選択記録媒体片では、レ
ジスタ51に記憶されたデータが、メモリセルアレイ5
2に供給され、プログラム時間tpr ogの経過後に、与え
られたアドレスに記録される。なお、選択記録媒体片
は、ライトコマンドが与えられてから、レジスタ51に
記憶された1ページ分のデータがメモリセル52に記録
されるまでの間は、Busy信号を出力している。
That is, the recording medium control unit 42
Among the recording medium pieces 1A to 1D as the flash memory configured as shown in FIG. 12, a chip select signal is given to one to which data is to be written, and together with data for one page to be recorded, Give the address and input command to record the data. Thereby, after the data input time t input has elapsed, the recording medium pieces 1A to 1D to which a chip select signal is given (hereinafter, appropriately referred to as a selected recording medium piece) correspond to the input command. , One page of data is input to and stored in the register 51. After that, the recording medium control unit 42 gives a write command to the selected recording medium piece, whereby the data stored in the register 51 is stored in the memory cell array 5 in the selected recording medium piece.
It is supplied to the 2, after the elapse of program time t pr og, are recorded in a given address. The selected recording medium piece outputs a Busy signal from the time when the write command is given to the time when one page of data stored in the register 51 is recorded in the memory cell 52.

【0231】以上のような処理が、並列ブロックを構成
するブロックを有する記録媒体片を、適宜、選択記録媒
体片として行われる。なお、ここでは、新並列記録方式
によって、データが記録されるから、記録媒体制御部4
2から記録媒体片1へのデータの入力は(従って、転送
制御部41から記録媒体制御部42へのデータの入力
も)、基本的には、プログラム時間tprogを待つことな
く行われる。
The above-described processing is performed by appropriately using a recording medium piece having blocks constituting the parallel blocks as a selected recording medium piece. Here, since data is recorded by the new parallel recording method, the recording medium control unit 4
The input of data from the storage medium 2 to the recording medium piece 1 (therefore, the input of data from the transfer control unit 41 to the recording medium control unit 42) is basically performed without waiting for the program time t prog .

【0232】その後、1のファイルを構成するデータの
書き込みが終了すると、記録媒体制御部42は、記録媒
体1へのデータの書き込み結果にしたがって、ファイル
管理情報記憶部2またはブロック管理情報記憶部3それ
ぞれに記憶されたファイル管理情報またはブロック管理
情報を更新する。
Thereafter, when the writing of the data constituting one file is completed, the recording medium control unit 42 sets the file management information storage unit 2 or the block management information storage unit 3 in accordance with the result of writing the data to the recording medium 1. The file management information or the block management information stored in each is updated.

【0233】ここで、ユーザ端末全体としてのデータの
記録能力(データを、如何に迅速に記録することができ
るか)は、転送制御部41がデータを記録媒体制御部4
2に転送する能力、または記録媒体制御部42がデータ
を記録媒体1に記録する能力のうちの低い方に影響され
るため、記録媒体制御部42は、転送制御部41が有す
るデータ転送能力を損なうことなく、データを、記録媒
体1に書き込むことのできる能力を有しているのが望ま
しいが、新並列記録方式は、そのような能力を要求され
る記録媒体制御部42に、特に有用である。
Here, the data recording capability (how quickly data can be recorded) of the entire user terminal depends on the fact that the transfer control unit 41 stores the data in the recording medium control unit 4.
2 or the ability of the recording medium control unit 42 to record data on the recording medium 1, whichever is lower, the recording medium control unit 42 increases the data transfer capability of the transfer control unit 41. It is desirable to have the ability to write data to the recording medium 1 without loss, but the new parallel recording method is particularly useful for the recording medium control unit 42 that requires such ability. is there.

【0234】なお、フラッシュメモリである記録媒体片
1A乃至1Dに、データを書き込む場合において、その
書き込みを行おうとしているアドレスのデータが消去さ
れていないときには、記録媒体制御部42は、その消去
を行ってから、データを書き込むようになされている。
When writing data to the recording medium pieces 1A to 1D which are flash memories, if the data at the address to which the writing is to be performed has not been erased, the recording medium control unit 42 erases the data. After that, data is written.

【0235】次に、記録媒体1に記録されたデータ(フ
ァイル)を読み出す(再生する)場合においては、例え
ば、ユーザは、操作部11を、データの再生を行うよう
に操作する。この操作に対応する操作信号(以下、適
宜、再生指示信号という)は、記録媒体制御部42に供
給され、記録媒体制御部42は、操作部11から再生指
示信号を受信すると、ファイル管理情報記憶部2に記憶
されたファイル管理情報を参照し、再生制御部43を介
して、表示部12を制御することで、記録媒体1に記録
されたファイルのファイル名を表示させる。そして、ユ
ーザが、表示部12に表示されたファイル名を参照し
て、記録媒体1から読み出すものを、操作部11を操作
して指示すると、そのファイル名の指示は、記録媒体制
御部42に供給される。記録媒体制御部42は、操作部
11から、読み出すファイルのファイル名の指示を受信
すると、そのファイルについてのファイル管理情報およ
びブロック管理情報を参照することで、ファイルが記録
されているアドレスや、ファイルの全容量を認識する。
さらに、記録媒体制御部42は、上位転送プロトコル
(並列記録方式により記録されたデータの読み出し)を
実行することにより、操作部11から指示されたファイ
ルのデータを、記録媒体1から読み出す。
Next, when reading (reproducing) the data (file) recorded on the recording medium 1, for example, the user operates the operation unit 11 to reproduce the data. An operation signal corresponding to this operation (hereinafter, appropriately referred to as a reproduction instruction signal) is supplied to the recording medium control unit 42. When the recording medium control unit 42 receives the reproduction instruction signal from the operation unit 11, it stores the file management information. The file name of the file recorded on the recording medium 1 is displayed by referring to the file management information stored in the section 2 and controlling the display section 12 via the reproduction control section 43. Then, when the user refers to the file name displayed on the display unit 12 and operates the operation unit 11 to specify what is read from the recording medium 1, the instruction of the file name is transmitted to the recording medium control unit 42. Supplied. When receiving the instruction of the file name of the file to be read from the operation unit 11, the recording medium control unit 42 refers to the file management information and the block management information of the file so that the address at which the file is recorded, the file Recognize the full capacity of
Further, the recording medium control unit 42 reads out data of the file specified by the operation unit 11 from the recording medium 1 by executing an upper transfer protocol (reading of data recorded by the parallel recording method).

【0236】即ち、記録媒体制御部42は、記録媒体1
の中の、図12に示すように構成されるフラッシュメモ
リとしての記録媒体片1A乃至1Dのうちの、データを
読み出すもの(選択記録媒体片)にチップセレクト信号
を与え、さらに、その選択記録媒体片に対して、リード
コマンドと、読み出す対象のデータが記録されたアドレ
スを与える。これにより、選択記録媒体片においては、
所定の規定時間(フラッシュメモリにおいて、データを
メモリセルアレイ52からレジスタ51に転送するのに
要する時間)の経過後に、与えられたアドレス(メモリ
セルアレイ52のアドレス)から、1ページ分のデータ
が読み出され、レジスタ51に記憶される。そして、レ
ジスタ51に記憶されたデータが、記録媒体制御部42
に供給され、これにより、1ページ分のデータの読み出
しが完了する。なお、選択記録媒体片は、アドレスが与
えられてから、上述したようにして1ページ分のデータ
のメモリセルアレイ52からレジスタ51への転送が完
了するまでの間は、Busy信号を出力している。
That is, the recording medium control unit 42
Among the recording medium pieces 1A to 1D serving as flash memories configured as shown in FIG. 12, a chip select signal is given to the one from which data is to be read (selected recording medium piece). A read command and an address at which data to be read are recorded are given to one of the pieces. Thereby, in the selected recording medium piece,
After a lapse of a predetermined time (time required for transferring data from the memory cell array 52 to the register 51 in the flash memory), one page of data is read from a given address (address of the memory cell array 52). And stored in the register 51. Then, the data stored in the register 51 is transferred to the recording medium control unit 42.
, Thereby completing the reading of one page of data. The selected recording medium piece outputs the Busy signal from the time the address is given to the time the transfer of one page of data from the memory cell array 52 to the register 51 is completed as described above. .

【0237】以上のような処理が、読み出しを指示され
たファイルが記録されたブロックを有する記録媒体片
を、適宜、選択記録媒体片として行われる。
The above-described processing is appropriately performed using a recording medium piece having a block in which a file instructed to be read is recorded as a selected recording medium piece.

【0238】そして、記録媒体制御部42が記録媒体1
から読み出されたデータは、転送制御部41または再生
制御部43に供給される。なお、記録媒体1から読み出
したデータを、転送制御部41または再生制御部43の
うちのいずれに供給するかは、操作部11を操作するこ
とで指示することができるようになされている。
Then, the recording medium control unit 42
The data read from is supplied to the transfer control unit 41 or the reproduction control unit 43. It should be noted that the data read from the recording medium 1 is supplied to either the transfer control unit 41 or the reproduction control unit 43 by operating the operation unit 11.

【0239】記録媒体1から読み出されたデータが、転
送制御部41に供給された場合、転送制御部41は、そ
のデータを、下位転送プロトコルを実行することによ
り、端子14から外部に出力する。
When the data read from the recording medium 1 is supplied to the transfer control unit 41, the transfer control unit 41 outputs the data from the terminal 14 by executing the lower transfer protocol. .

【0240】また、記録媒体1から読み出されたデータ
が、再生制御部43に供給された場合、再生制御部43
は、そのデータを、表示部12またはイヤフォン13に
供給して表示または出力させ、あるいは、端子15か
ら、外部に出力する。また、そのデータがコンピュータ
プログラムである場合には、再生制御部43は、そのコ
ンピュータプログラムを実行する。
When the data read from the recording medium 1 is supplied to the reproduction control unit 43, the reproduction control unit 43
Supplies the data to the display unit 12 or the earphone 13 for display or output, or outputs the data from the terminal 15 to the outside. When the data is a computer program, the reproduction control unit 43 executes the computer program.

【0241】次に、図13のフローチャートを参照し
て、データの記録を行う場合の図11の記録媒体制御部
42の処理(書き込み処理)について説明する。
Next, the processing (write processing) of the recording medium control unit 42 in FIG. 11 when recording data will be described with reference to the flowchart in FIG.

【0242】データの記録を行う場合においては、上述
したように、転送制御部41から記録媒体制御部42に
対して、記録指示信号が与えられる。これにより、記録
媒体制御部42では、ステップS1において、転送制御
部41から転送されてくるファイル(書き込み対象ファ
イル)のデータを、記録媒体1に書き込む操作を行うべ
きことが認識される。
When data is recorded, a recording instruction signal is given from the transfer control section 41 to the recording medium control section 42 as described above. Accordingly, the recording medium control unit 42 recognizes that the operation of writing the data of the file (the file to be written) transferred from the transfer control unit 41 to the recording medium 1 should be performed in step S1.

【0243】さらに、記録媒体制御部42では、ステッ
プS2において、書き込み対象ファイルに関する情報と
しての、例えば、そのファイル名や、データ量(容量)
などが認識される。なお、この書き込み対象ファイルに
関する情報は、図9や図10に示した情報提供装置か
ら、例えば、記録指示信号とともに供給されるようにな
されている。
In the recording medium control section 42, in step S2, information on the file to be written, for example, its file name, data amount (capacity)
Are recognized. The information on the file to be written is supplied from the information providing apparatus shown in FIGS. 9 and 10, for example, together with a recording instruction signal.

【0244】その後、ステップS3に進み、記録媒体制
御部42は、書き込み対象ファイルを記録することので
きる必要最小限のブロック数(必要最小限ブロック数)
fと、最小ブロック数Iminを算出する。
Thereafter, the flow advances to step S3, where the recording medium control unit 42 sets the minimum necessary number of blocks (the minimum required number of blocks) in which the file to be written can be recorded.
Lf and the minimum number of blocks Imin are calculated.

【0245】即ち、記録媒体制御部42は、ステップS
2で認識された書き込み対象ファイルのデータ量Cf
およびブロックの大きさCbを用いて、上述したよう
に、式L f=ceil(Cf/Cb)にしがたって、最小
限ブロック数Lfを求める。さらに、記録媒体制御部4
2は、記録媒体管理部4から、記録媒体1を構成する記
録媒体片1A乃至1Dとしてのフラッシュメモリの特性
情報であるデータ入力時間t inputおよびプログラム時
間tprogを読み出し、式(1)にしたがって、最小ブロ
ック数Iminを算出する。
That is, the recording medium control unit 42 determines in step S
Data amount C of write target file recognized in 2f,
And block size CbAs described above using
And the expression L f= Ceil (Cf/ Cb), The minimum
Limit block number LfAsk for. Further, the recording medium control unit 4
Reference numeral 2 denotes a record constituting the recording medium 1 from the recording medium management unit 4.
Characteristics of Flash Memory as Recording Medium Pieces 1A to 1D
Data input time t as information inputAnd during programming
Interval tprogAnd read the minimum block according to equation (1).
Number IminIs calculated.

【0246】そして、ステップS4に進み、記録媒体制
御部42は、フリーエリア検索部5を制御することによ
り、フリーリスト6A乃至6Dを取得し、このフリーリ
スト6A乃至6Dを参照することで、書き込み対象ファ
イルを記録することのできるだけの数の書き込み可能な
ブロック(空きブロック)が、記録媒体1の中に存在す
るかどうか、即ち、ステップS3で求められた最小限ブ
ロック数Lf以上の空きブロックが存在するかどうかを
判定する。
[0246] Then, proceeding to step S4, the recording medium control unit 42 acquires the free lists 6A to 6D by controlling the free area search unit 5, and writes by referring to the free lists 6A to 6D. the number of writable blocks only capable of recording the object file (empty block), whether or not they exist in the recording medium 1, i.e., the minimum number of blocks L f or more free blocks obtained in step S3 It is determined whether or not exists.

【0247】ステップS4において、最小限ブロック数
f以上の空きブロックが存在しないと判定された場
合、そのままでは、書き込み対象ファイルを記録媒体1
に書き込むことができないため、ステップS5に進み、
空きブロックを確保するために、既存のファイルを消去
する空きブロック確保処理が行われ、ステップS4に戻
る。
If it is determined in step S4 that there are no free blocks equal to or larger than the minimum block number Lf, the file to be written is stored in the recording medium 1 as it is.
Since it is not possible to write to
In order to secure a free block, a free block securing process for erasing an existing file is performed, and the process returns to step S4.

【0248】そして、ステップS4において、最小限ブ
ロック数Lf以上の空きブロックが存在すると判定され
た場合、ステップS6に進み、書き込み対象ファイルを
記録するにあたって用いられる並列ブロックの総数(並
列ブロック群を構成する並列ブロックの数)Lc、およ
び各並列ブロック(並列ブロック群を構成する並列ブロ
ックそれぞれ)のインターリーブ数Ii(i=1,2,
・・・,Lc)を、上述した条件の下で求めるための並
列ブロック数Lcおよびインターリーブ数Ii決定処理が
行われる。ステップS6において、並列ブロック数Lc
およびインターリーブ数Iiが求められると、ステップ
S7に進み、記録媒体制御部42は、フリーエリア検索
部5を制御することにより、フリーリスト6A乃至6D
を取得する。
If it is determined in step S4 that there are free blocks equal to or larger than the minimum block number Lf, the process proceeds to step S6, where the total number of parallel blocks used for recording the file to be written (the parallel block group is the number of parallel blocks constituting) L c, and number of interleaves I i (i = 1, 2 of each parallel block (each parallel block constituting the parallel block group),
.., L c ) are determined under the above-mentioned conditions, and the number of parallel blocks L c and the number of interleaves I i are determined. In step S6, the number of parallel blocks L c
When the interleave number Ii is obtained, the process proceeds to step S7, where the recording medium control unit 42 controls the free area search unit 5 to perform the free list 6A to 6D.
To get.

【0249】そして、ステップS8において、記録媒体
制御部42は、フリーリスト6A乃至6Dを参照して、
ステップS6において求められたインターリーブ数Ii
のブロックでなる並列ブロックを、同じくステップS6
で求められた並列ブロック数Lcだけ確保する、即ち、
記録媒体1上に書き込み対象ファイルの書き込みに必要
な並列ブロック群を確保するための並列ブロック群の確
保処理を行い、ステップS9に進む。
Then, in step S8, the recording medium control unit 42 refers to the free lists 6A to 6D and
Interleave number I i obtained in step S6
A parallel block consisting of
Is secured by the number of parallel blocks L c obtained in
A parallel block group securing process for securing a parallel block group necessary for writing the write target file on the recording medium 1 is performed, and the process proceeds to step S9.

【0250】ステップS9では、ステップS8における
並列ブロック群の確保処理によって、ステップS6にお
いて求められたインターリーブ数Iiのブロックでなる
並列ブロックを、同じくステップS6で求められた並列
ブロック数Lcだけ確保することができたかどうか、即
ち、必要な並列ブロック群を確保することができたかど
うかが判定され、確保することができなかったと判定さ
れた場合、ステップS6に戻る。この場合、ステップS
6では、並列ブロック数Lcおよびインターリーブ数Ii
の組み合わせの、既に求められている値とは別の値のも
のが、上述した条件の下で求められ、以下、同様の処理
を繰り返す。
[0250] In step S9, the securing process of the parallel blocks in step S8, ensure parallel block comprising a block of interleaved number I i obtained in Step S6, also only parallel block number L c determined in step S6 Then, it is determined whether or not the necessary parallel block group has been secured. If it is determined that the parallel block group cannot be secured, the process returns to step S6. In this case, step S
In 6, parallel block number L c and interleaving number I i
Of the combination is different from the already determined value under the above-described conditions, and the same processing is repeated thereafter.

【0251】一方、ステップS9において、必要な並列
ブロック群を確保することができたと判定された場合、
即ち、ステップS6で求められたインターリーブ数Ii
のブロックでなる並列ブロックを、同じくステップS6
で求められた並列ブロック数Lcだけ確保することがで
きた場合、ステップS10に進み、ステップS8で確保
された並列ブロック群を構成する並列ブロックの中か
ら、書き込み対象とする並列ブロックが選択され(ここ
で、選択された並列ブロックを、以下、適宜、注目並列
ブロックという)、ステップS11に進む。なお、図5
および図6で説明した場合を例にすれば、ステップS1
0では、並列ブロック群の、より下の行の並列ブロック
から、順次、注目並列ブロックとして選択されていく。
On the other hand, if it is determined in step S9 that a necessary parallel block group has been secured,
That is, the interleave number I i obtained in step S6
A parallel block consisting of
When the number of parallel blocks Lc obtained in step ( c) can be secured, the process proceeds to step S10, and a parallel block to be written is selected from the parallel blocks constituting the parallel block group secured in step S8. (Here, the selected parallel block is hereinafter referred to as a noted parallel block as appropriate), and the process proceeds to step S11. FIG.
And the case described in FIG. 6 as an example, step S1
At 0, the parallel blocks in the lower row of the parallel block group are sequentially selected as the parallel block of interest.

【0252】ステップS11では、記録媒体1を構成す
る記録媒体片1A乃至1Dのうち、注目並列ブロックを
構成するブロックを有するものの1つが、選択記録媒体
片として選択され、その選択記録媒体片に対して、チッ
プセレクト信号が供給される。ここで、ステップS11
では、例えば、並列ブロック群を構成するときに優先的
に選択されたブロックを有する記録媒体片が、やはり、
優先的に、選択記録媒体片として選択されるようになさ
れている。
In step S11, one of the recording medium pieces 1A to 1D constituting the recording medium 1 having a block constituting the parallel block of interest is selected as a selected recording medium piece. Thus, a chip select signal is supplied. Here, step S11
Then, for example, a recording medium piece having a block preferentially selected when forming a parallel block group is still
Priority is given to selection as a selected recording medium piece.

【0253】その後、ステップS12に進み、選択記録
媒体片の状態が判定される。ステップS12において、
選択記録媒体片が、Busy信号を出力しているBusy状態で
あると判定された場合、選択記録媒体片に対してアクセ
スすることはできないため、ステップS12に戻る。こ
こで、書き込み処理を開始した直後において、最初に選
択記録媒体片として選択された記録媒体片は、通常、Bu
sy状態になっていない(Ready状態になっている)はず
であるが、ステップS5において、空きブロック確保処
理が行われた場合には、ファイルの消去のためにBusy状
態となっていることがある。
After that, the flow advances to step S12 to determine the state of the selected recording medium piece. In step S12,
If it is determined that the selected recording medium piece is in the Busy state in which the Busy signal is being output, the process returns to step S12 because the selected recording medium piece cannot be accessed. Here, immediately after the start of the writing process, the recording medium piece initially selected as the selected recording medium piece is usually Bu
Although it should not be in the sy state (it is in the Ready state), if the empty block securing process is performed in step S5, it may be in the Busy state to erase the file. .

【0254】一方、ステップS12において、選択記録
媒体片が、Ready信号を出力していReady状態であると判
定された場合、即ち、選択記録媒体片にアクセスが可能
な場合、ステップS13に進み、記録対象ファイルの1
ページ分のデータが、選択記録媒体片における、注目並
列ブロックを構成するブロックの中のページに書き込ま
れるページ書き込み処理が行われる。
On the other hand, if it is determined in step S12 that the selected recording medium piece outputs a Ready signal and is in the Ready state, that is, if the selected recording medium piece can be accessed, the flow advances to step S13 to perform recording. 1 of the target file
A page write process is performed in which data for a page is written to a page in a block constituting a parallel block of interest in a selected recording medium piece.

【0255】なお、ステップS11から、後述するステ
ップS14までの間のループ処理が行われる過程におい
て、ステップS13では、あるブロックへの、1ページ
分のデータの書き込みは、そのブロックの先頭アドレス
から順次行われていく。即ち、例えば、並列ブロックが
第1乃至第4の4つのブロックから構成され、各ブロッ
クが、その先頭アドレスから第1乃至第4の4つのペー
ジで構成される場合において、このような並列ブロック
に、データを書き込むときには、第1のブロックの第1
のページ、第2のブロックの第1のページ、第3のブロ
ックの第1のページ、第4のブロックの第1のページの
順で、データが書き込まれていく。そして、その後は、
第1のブロックの第2のページ、第2のブロックの第2
のページ、第3のブロックの第2のページ、第4のブロ
ックの第2のページの順で、データが書き込まれてい
き、以下、同様にして、第4のブロックの第4のページ
まで、データが書き込まれていく。さらに、ステップS
13におけるデータの書き込みは、並列ブロックのイン
ターリーブ数(並列ブロックを構成するブロック数)I
iが、式(2)および(3)を満たす限り、プログラム
時間tprogを待つことなく行われる。
In the course of performing the loop processing from step S11 to step S14, which will be described later, in step S13, writing of one page of data to a certain block is performed sequentially from the head address of the block. Will be done. That is, for example, in a case where the parallel block is composed of the first to fourth four blocks, and each block is composed of the first to fourth four pages from the start address, such a parallel block is , When writing data, the first block of the first block
, The first page of the second block, the first page of the third block, and the first page of the fourth block in that order. And then
Second page of first block, second page of second block
, The second page of the third block, the second page of the fourth block, data is written in this order, and so on, until the fourth page of the fourth block. Data is being written. Further, step S
13, the data is written in the number of interleaves of the parallel block (the number of blocks constituting the parallel block) I
As long as i satisfies the equations (2) and (3), the processing is performed without waiting for the program time t prog .

【0256】ステップS13において、1ページ分のデ
ータを書き込んだ後は、ステップS14に進み、注目並
列ブロック全体へのデータの書き込みが完了したかどう
かが判定される。ステップS14において、注目並列ブ
ロック全体へのデータの書き込みが、まだ完了していな
いと判定された場合、ステップS11に戻り、上述した
ような優先順位で、次の記録媒体片が、選択記録媒体片
として選択され、チップセレクト信号が供給される。即
ち、例えば、注目並列ブロックが第1乃至第4の4つの
ブロックから構成され、その注目並列ブロックを含む並
列ブロック群を構成するときに第1乃至第4のブロック
の順で優先的に選択が行われた場合には、ステップS1
1では、まず最初に、第1のブロックを有する記録媒体
片が、優先的に選択され、その後、第2乃至第4のブロ
ックを有する記録媒体片が、順次選択される。そして、
第4のブロックを有する記録媒体片が選択された後、ま
だ、第1のブロック全体に対するデータの記録が終了し
ていないときには、再び、第1のブロックを有する記録
媒体片が選択され、以下、同様にして、ステップS11
では、注目並列ブロック全体に対してデータが記録され
るまで、注目並列ブロックを構成するブロックを有する
記録媒体片の選択が順次行われていく。
After writing one page of data in step S13, the flow advances to step S14 to determine whether data writing to the entire parallel block of interest has been completed. If it is determined in step S14 that the writing of the data to the entire parallel block of interest has not been completed yet, the process returns to step S11, and the next recording medium piece is selected in the priority order as described above. And a chip select signal is supplied. That is, for example, when the parallel block of interest is composed of the first to fourth four blocks, and when a parallel block group including the parallel block of interest is configured, the selection is preferentially performed in the order of the first to fourth blocks. If performed, step S1
In 1, first, a recording medium piece having a first block is preferentially selected, and thereafter, a recording medium piece having second to fourth blocks is sequentially selected. And
After the recording medium piece having the fourth block is selected, if data recording for the entire first block has not been completed yet, the recording medium piece having the first block is selected again. Similarly, step S11
In, until the data is recorded in the entire parallel block of interest, the selection of the recording medium pieces having the blocks constituting the parallel block of interest is sequentially performed.

【0257】そして、ステップS14において、注目並
列ブロック全体へのデータの書き込みが完了したと判定
された場合、ステップS15に進み、書き込み対象ファ
イルのデータすべての記録が完了したかどうかが判定さ
れる。ステップS15において、書き込み対象ファイル
のデータすべての記録が、まだ完了していないと判定さ
れた場合、ステップS10に戻り、ステップS8で確保
された並列ブロック群を構成する並列ブロックの中か
ら、まだ書き込み対象とされていない並列ブロックが、
新たに注目並列ブロックとして選択され、以下、同様の
処理が繰り返される。
If it is determined in step S14 that the writing of data to the entire parallel block of interest has been completed, the flow advances to step S15 to determine whether or not recording of all the data of the file to be written has been completed. If it is determined in step S15 that the recording of all the data of the file to be written has not been completed yet, the process returns to step S10, and the writing is performed from the parallel blocks constituting the parallel block group secured in step S8. A parallel block that is not targeted
A new parallel block of interest is newly selected, and the same processing is repeated thereafter.

【0258】一方、ステップS15において、書き込み
対象ファイルのデータすべての記録が完了したと判定さ
れた場合、ステップS16に進み、ブロック管理情報
が、書き込み対象ファイルのデータを書き込んだ並列ブ
ロック群に基づいて更新され、ステップS17に進む。
ステップS17では、ファイル管理情報が、書き込み対
象ファイルに基づいて更新され、書き込み処理を終了す
る。
On the other hand, if it is determined in step S15 that the recording of all the data of the write target file has been completed, the process proceeds to step S16, where the block management information is based on the parallel block group in which the data of the write target file has been written. The information is updated, and the process proceeds to step S17.
In step S17, the file management information is updated based on the file to be written, and the writing process ends.

【0259】次に、図14のフローチャートを参照し
て、図13のステップS5における空きブロック確保処
理について説明する。
Next, the free block securing process in step S5 in FIG. 13 will be described with reference to the flowchart in FIG.

【0260】空きブロック確保処理では、書き込み対象
ファイルを記録することのできる書き込み可能領域を確
保するのに、既に記録されているファイルを消去するた
め、まず最初に、ステップS21において、その消去す
るファイル(以下、適宜、消去対象ファイルという)が
決定される。即ち、記録媒体制御部42は、例えば、時
間的または論理的に最も古いファイルを、消去対象ファ
イルとして決定する。あるいは、また、記録媒体制御部
42は、例えば、記録媒体1に記録されているファイル
のファイル名を、表示部12に表示させ、ユーザに、消
去対象ファイルとするファイルのファイル名を、操作部
11を操作することにより指定してもらい、その指定さ
れたファイルを、消去対象ファイルとして決定する。
In the free block securing process, in order to secure a writable area in which a file to be written can be recorded, the already recorded file is erased. (Hereinafter, appropriately referred to as a file to be deleted) is determined. In other words, the recording medium control unit 42 determines, for example, the temporally or logically oldest file as the file to be deleted. Alternatively, for example, the recording medium control unit 42 causes the display unit 12 to display the file name of the file recorded on the recording medium 1 and allows the user to input the file name of the file to be deleted to the operation unit. 11 is designated, and the designated file is determined as a file to be deleted.

【0261】そして、ステップS22に進み、記録媒体
制御部42は、ブロック管理情報を検索し、消去対象フ
ァイルについてのブロック管理情報を取得して、ステッ
プ23に進む。ステップS23では、消去対象ファイル
についてのブロック管理情報に基づき、その消去対象フ
ァイルについて構成された並列ブロックが認識される。
即ち、記録媒体制御部42は、消去対象ファイルについ
てのブロック管理情報から、firstフラグを検出し、さ
らに、リンク情報をサーチ(参照)していって、loopフ
ラグまたはlastフラグを検出することで、並列ブロック
を認識する(この認識された並列ブロックを、以下、適
宜、認識並列ブロックという)。
Then, proceeding to step S22, the recording medium control unit 42 searches for block management information, acquires block management information for the file to be erased, and proceeds to step 23. In step S23, based on the block management information on the file to be erased, the parallel block configured for the file to be erased is recognized.
That is, the recording medium control unit 42 detects the first flag from the block management information of the file to be erased, further searches (refers to) the link information, and detects the loop flag or the last flag. The parallel block is recognized (this recognized parallel block is hereinafter appropriately referred to as a recognized parallel block).

【0262】その後、ステップS24に進み、記録媒体
1を構成する記録媒体片1A乃至1Dのうち、認識並列
ブロックを構成するブロックを有するものの1つが、選
択記録媒体片として選択され、その選択記録媒体片に対
して、チップセレクト信号が供給される。ここで、ステ
ップS24においても、例えば、図13のステップS1
1における場合と同様に、消去対象ファイルの書き込み
時において、並列ブロック群を構成するときに優先的に
選択されたブロックを有する記録媒体片が、優先的に、
選択記録媒体片として選択されるようになされている。
なお、この場合、並列ブロック群を構成するときに優先
的に選択されたブロックは、ブロック管理情報における
リンク情報から認識することができる。
Thereafter, the flow advances to step S24 to select one of the recording medium pieces 1A to 1D having the blocks constituting the recognition parallel block from the recording medium pieces 1A to 1D as the selected recording medium piece. The chip select signal is supplied to one of the pieces. Here, also in step S24, for example, step S1 in FIG.
1, when writing the file to be erased, the recording medium piece having the block preferentially selected when forming the parallel block group is
It is designed to be selected as a selected recording medium piece.
In this case, the block preferentially selected when forming the parallel block group can be recognized from the link information in the block management information.

【0263】選択記録媒体片の選択後は、ステップS2
5に進み、図13のステップS12における場合と同様
に、選択記録媒体片の状態が判定される。ステップS2
5において、選択記録媒体片がBusy状態であると判定さ
れた場合、選択記録媒体片に対してアクセスすることは
できないため、ステップS25に戻る。ここで、空きブ
ロック確保処理を開始した直後において、最初に選択記
録媒体片として選択された記録媒体片は、通常、Busy状
態になっていない(Ready状態になっている)はずであ
る。
After the selection of the selected recording medium piece, step S2
Then, as in step S12 of FIG. 13, the state of the selected recording medium piece is determined. Step S2
In 5, when it is determined that the selected recording medium piece is in the Busy state, since the selected recording medium piece cannot be accessed, the process returns to step S25. Here, immediately after the start of the free block securing process, the recording medium piece initially selected as the selected recording medium piece should not normally be in the Busy state (it is in the Ready state).

【0264】一方、ステップS25において、選択記録
媒体片がReady状態であると判定された場合、ステップ
S26に進み、選択記録媒体片における、認識並列ブロ
ックを構成するブロックに記録されたデータが消去され
る。
On the other hand, if it is determined in step S25 that the selected recording medium piece is in the ready state, the flow advances to step S26 to erase the data recorded in the block constituting the recognition parallel block in the selected recording medium piece. You.

【0265】なお、上述したように、データの書き込み
は、ページ単位で行われるが、データの消去は、ブロッ
ク単位で行われる。
As described above, data writing is performed in page units, but data erasing is performed in block units.

【0266】ステップS26において、1ブロック分の
データを消去した後は、ステップS27に進み、認識並
列ブロック全体のデータの消去が完了したかどうかが判
定される。ステップS27において、認識並列ブロック
全体のデータの消去が、まだ完了していないと判定され
た場合、ステップS24に戻り、上述したような優先順
位で、次の記録媒体片が、選択記録媒体片として選択さ
れ、以下、同様の処理が繰り返される。
After erasing the data for one block in step S26, the flow advances to step S27 to determine whether the erasure of the data of the entire recognition parallel block is completed. If it is determined in step S27 that the erasure of the data of the entire recognition parallel block has not been completed yet, the process returns to step S24, and the next recording medium piece is selected as the selected recording medium piece in the priority order as described above. Is selected, and the same processing is repeated thereafter.

【0267】そして、ステップS27において、認識並
列ブロック全体のデータの消去が完了したと判定された
場合、ステップS28に進み、消去対象ファイルのデー
タすべての消去が完了したかどうかが判定される。ステ
ップS28において、消去対象ファイルのデータすべて
の消去が、まだ完了していないと判定された場合、ステ
ップS23に戻り、消去対象ファイルを記録した並列ブ
ロック群のうち、まだデータの消去がされていない並列
ブロックが、上述したようにして、新たに認識並列ブロ
ックとして選択され、ステップS24以下の処理を繰り
返す。
If it is determined in step S27 that the erasure of the data in the entire recognized parallel block has been completed, the flow advances to step S28 to determine whether or not all the data of the erasure target file has been completed. If it is determined in step S28 that the erasure of all the data in the erasure target file has not been completed, the process returns to step S23, and the data has not yet been erased in the parallel block group in which the erasure target file has been recorded. A parallel block is newly selected as a recognition parallel block as described above, and the processing from step S24 is repeated.

【0268】一方、ステップS28において、消去対象
ファイルのデータすべての消去が完了したと判定された
場合、ステップS29に進み、消去対象ファイルのブロ
ック管理情報が更新され、即ち、ブロック管理情報とし
てvalidフラグが書き込まれ、ステップS30に進む。
ステップS30では、消去対象ファイルのファイル管理
情報が、−1(図2で説明したように、ファイル管理情
報が記憶されていないことを表す)に更新され、空きブ
ロック確保処理を終了する。
On the other hand, if it is determined in step S28 that the erasure of all the data in the erasure target file has been completed, the flow advances to step S29 to update the block management information of the erasure target file. Is written, and the process proceeds to step S30.
In step S30, the file management information of the file to be deleted is updated to -1 (indicating that no file management information is stored as described with reference to FIG. 2), and the free block securing process ends.

【0269】次に、図15のフローチャートを参照し
て、図13のステップS6における並列ブロック数Lc
およびインターリーブ数Ii決定処理(以下、適宜、単
に、決定処理ともいう)について説明する。
Next, referring to the flowchart of FIG. 15, the number L c of parallel blocks in step S6 of FIG.
The process of determining the number of interleaves I i (hereinafter, also simply referred to as “determination process”) will be described.

【0270】決定処理では、まず最初に、ステップS4
1において、図13のステップS3で求められた必要最
小限ブロック数Lfおよび最小ブロック数Iminに基づい
て、式(2)および(3)の条件を満たすインターリー
ブ数Iiが算出される。
In the determination process, first, at step S4
In 1, the interleave number Ii that satisfies the conditions of the equations (2) and (3) is calculated based on the required minimum block number Lf and the minimum block number Imin obtained in step S3 in FIG.

【0271】そして、ステップS42に進み、式(2)
および(3)を満たすインターリーブ数Iiを算出する
ことができたかどうかが判定される。ステップS42に
おいて、式(2)および(3)を満たすインターリーブ
数Iiを算出することができたと判定された場合、ステ
ップS43に進み、式(2)および(3)を満たすイン
ターリーブ数Iiのうちの、並列ブロック数Lcを最小
にするものと、その最小の並列ブロック数Lcが選択さ
れ、リターンする。
Then, the process proceeds to a step S42, wherein the formula (2)
It is determined whether or not the interleave number Ii that satisfies (3) can be calculated. If it is determined in step S42 that the number of interleaves Ii satisfying the expressions (2) and (3) has been calculated, the process proceeds to step S43, and the number of interleaves Ii satisfying the expressions (2) and (3) is determined. , The minimum number of parallel blocks Lc and the minimum number of parallel blocks Lc are selected and the process returns.

【0272】即ち、ステップS41では、式(2)およ
び(3)を満たすインターリーブ数Iiが複数パターン
ある場合には、例えば、その複数の分割パターンそれぞ
れのインターリーブ数Iiが求められる。そして、この
場合、ステップS43では、複数の分割パターンそれぞ
れのインターリーブ数Iiのうち、式(3)でサメーシ
ョンをとるIiのサフィックスiの最大値であるLc
最小となるときのものと、その最小のLcが、書き込み
対象ファイルを書き込むのに用いるインターリーブ数I
iと並列ブロック数Lcとして選択される。
That is, in step S41, when there are a plurality of interleave numbers Ii satisfying the equations (2) and (3), for example, the interleave numbers Ii of the plurality of divided patterns are obtained. In this case, in step S43, among the plurality of division patterns each number of interleaves Ii, as when the L c is the minimum is the maximum value of the suffix i of Ii taking summation in equation (3), The minimum L c is the interleave number I used to write the file to be written.
i to be selected as a parallel block number L c.

【0273】なお、ステップS41において算出するイ
ンターリーブ数Ii(i=1,2,・・・,Lc)は、
同一の値である必要はなく、Imin以上N以下の値であ
れば(式(3)の条件を満たすものであれば)、同一の
値であっても、異なる値であっても良い。但し、処理の
複雑等を避けるためには、インターリーブ数Ii(i=
1,2,・・・,Lc)は、同一の値であるのが望まし
い。
The interleave number Ii (i = 1, 2,..., L c ) calculated in step S41 is
The values need not be the same, and may be the same or different as long as the value is equal to or more than I min and equal to or less than N (as long as the value satisfies the condition of Expression (3)). However, in order to avoid complicated processing, the number of interleaves Ii (i =
, Lc ) are desirably the same value.

【0274】一方、ステップS42において、式(2)
および(3)を満たすインターリーブ数Iiを算出する
ことができなかったと判定された場合、即ち、式(2)
に拘束されるインターリーブ数Ii(i=1,2,・・
・,Lc)すべてを、式(3)で示される範囲内の値と
することができない場合、ステップS44に進み、I
min未満になるインターリーブ数Iiの数が、より少な
くなり(基本的には1つになり)、かつ、そのようなI
min未満となるインターリーブ数Iiが、よりIm inに近
くなるように、インターリーブ数Iiおよび並列ブロッ
ク数Lcが決定され、リターンする。なお、この場合、
インターリーブ数Ii(i=1,2,・・・,Lc)の
うちの1以上(基本的には1つ)は、式(3)を満たさ
ないものとなるが、式(2)の条件には必ず拘束され
る。
On the other hand, in step S42, equation (2)
And the interleave number Ii satisfying (3) is calculated.
In the case where it is determined that the operation cannot be performed, that is, the expression (2)
Interleave number Ii (i = 1, 2,...)
・, Lc) All with values in the range given by equation (3)
If not, the process proceeds to step S44 and I
minThe number of interleave numbers Ii that is less than
(And basically one) and such I
minIs smaller than Im inClose to
The interleave number Ii and the parallel block
Number LcIs determined and the process returns. In this case,
Interleave number Ii (i = 1, 2,..., Lc)of
At least one of them (basically one) satisfies equation (3)
However, it is always bound by the condition of equation (2).
You.

【0275】ここで、図13のステップS9において、
以上の決定処理において求められたインターリーブ数I
iのブロックでなる並列ブロックを、決定処理で求めら
れた並列ブロック数Lcだけ確保することができなかっ
たと判定された場合、上述したように、再度、決定処理
が行われるが、この場合の決定処理は、既に行われた決
定処理によるステップS43またはS44で得られた並
列ブロック数Lcおよびインターリーブ数Iiの組み合わ
せを、処理の対象から除いて行われる。即ち、2回目以
降の決定処理では、既に求められている並列ブロック数
cおよびインターリーブ数Iiの組み合わせ以外の組
み合わせが求められる。
Here, in step S9 of FIG.
Interleave number I obtained in the above determination process
The parallel block consisting of i blocks, if it is determined that could not be ensured only parallel block number L c determined by the determining process, as described above, again, although determination process is performed, in this case determination process, a combination of parallel block number L c and interleaving number I i obtained in step S43 or S44 according to already performed determination process is performed except from processing. That is, in the determination processing second and subsequent combinations other than the combination of previously number of parallel blocks is sought L c and number of interleaves Ii is obtained.

【0276】次に、図16のフローチャートを参照し
て、図13のステップS8における並列ブロック群の確
保処理について説明する。
Next, with reference to the flowchart of FIG. 16, the processing of securing a parallel block group in step S8 of FIG. 13 will be described.

【0277】並列ブロック群の確保処理では、まず最初
に、所定の変数Cが0に初期化され、ステップS52に
進み、記録媒体1を構成する記録媒体片1A乃至1Dそ
れぞれから、図15の決定処理で求められた並列ブロッ
ク数Lc以上のブロック数だけ連続するフリーエリアで
あって、その大きさが、並列ブロック数Lcに最も近い
もの(検出フリーエリア)が検出される。そして、ステ
ップS53において、記録媒体片1A乃至1Dのうち、
図15の決定処理で求められたインターリーブ数I以上
のものから、検出フリーエリアが検出されたかどうかが
判定され、検出されなかったと判定された場合、ステッ
プS54に進み、並列ブロック数Lcが1だけデクリメ
ントされ、ステップS55に進む。
In the parallel block group securing process, first, a predetermined variable C is initialized to 0, and the flow advances to step S52 to determine each of the recording medium pieces 1A to 1D constituting the recording medium 1 in FIG. only the number of blocks or more parallel block number L c determined by the process to a free area of continuous, its magnitude, closest to parallel block number L c (detected free area) is detected. Then, in step S53, of the recording medium pieces 1A to 1D,
From more than number of interleaves I obtained by the determination process in FIG. 15, the detection whether the free area is detected is determined, if it is determined that not detected, the process proceeds to step S54, the parallel block number L c 1 , And the process proceeds to step S55.

【0278】ステップS55では、並列ブロック数Lc
が0に等しいかどうかが判定される。ステップS55に
おいて、並列ブロック数Lcが0に等しいと判定された
場合、書き込み対象ファイルを記録するのに必要な並列
ブロック群を確保することができないとして、リターン
する。従って、この場合、図13のステップS9では、
必要な並列ブロック群を確保することができなかったと
判定され、ステップS6に戻り、新たな並列ブロック数
cとインターリーブ数Iiとの組み合わせが決定され
る。そして、以下、同様の処理を繰り返す。
In step S55, the number of parallel blocks L c
Is determined to be equal to zero. In step S55, if the parallel block number L c is determined to be equal to zero, as it is impossible to secure a parallel block group necessary to record the write target file and returns. Therefore, in this case, in step S9 of FIG.
It is determined that it was not possible to ensure a parallel block group necessary, the process returns to step S6, a combination of a number of new parallel blocks L c interleaved number I i is determined. Thereafter, the same processing is repeated.

【0279】また、ステップS55において、並列ブロ
ック数Lcが0に等しくないと判定された場合、ステッ
プS56に進み、変数Cが1だけインクリメントされ、
ステップS52に戻る。従って、この場合、並列ブロッ
ク数Lcを、前回の場合よりも1だけ少なくした状態
で、ステップS52以下の処理が繰り返される。
[0279] Further, in step S55, if the parallel block number L c is not equal to 0, the process proceeds to step S56, the variable C is incremented by 1,
It returns to step S52. Therefore, in this case, the parallel block number L c, while one less than the previous case, step S52 following steps are repeated.

【0280】一方、ステップS53において、記録媒体
片1A乃至1Dのうち、インターリーブ数I以上のもの
から、検出フリーエリアが検出されたと判定された場
合、ステップS57に進み、インターリーブ数I以上の
数の検出フリーエリアのうち、その大きさの大きいもの
が、優先的に、インターリーブ数Iに等しい数だけ、仮
選択され、ステップS58に進む。
On the other hand, if it is determined in step S53 that the detection free area has been detected from the interleaving number I or more among the recording medium pieces 1A to 1D, the process proceeds to step S57, and the number of interleaving numbers I or more is detected. Of the detection free areas, those having a larger size are provisionally selected preferentially by the number equal to the interleave number I, and the process proceeds to step S58.

【0281】ステップS58では、ステップS57で仮
選択された検出フリーエリアの数が、インターリーブ数
Iに等しいかどうかが判定され、等しいと判定された場
合、そのインターリーブ数Iに等しい数の検出フリーエ
リアそれぞれから、Lc個だけ連続するブロックが選択
される。即ち、これにより、インターリーブ数Iに等し
い数のブロックでなる並列ブロックが、Lc個だけ構成
される。そして、ステップS59をスキップして、ステ
ップS60に進む。
In step S58, it is determined whether or not the number of the detection free areas provisionally selected in step S57 is equal to the number I of interleaves. If it is determined that the number is equal to the number I, the number of detection free areas equal to the number I of interleaves is determined. From each of the blocks, L c continuous blocks are selected. That is, thereby, parallel block formed of a number of blocks equal to the number of interleaves I is, L c pieces also formed. Then, the process skips step S59 and proceeds to step S60.

【0282】また、ステップS58において、ステップ
S57で仮選択された検出フリーエリアの数が、インタ
ーリーブ数Iに等しくないと判定された場合、即ち、大
きさの等しい複数の検出フリーエリアがあるため、その
複数の検出フリーエリアを仮選択することとすると、選
択の結果得られる検出フリーエリアの総数がインターリ
ーブ数Iを越え、また、その複数の検出フリーエリアを
仮選択しないこととすると、その総数がインターリーブ
数Iに満たない場合、ステップS59に進み、その大き
さの等しい複数の検出フリーエリアを有する記録媒体片
のうち、フリーエリアの数が多いものが有する検出フリ
ーエリアが優先的に仮選択され、これにより、仮選択さ
れた検出フリーエリアの総数が、インターリーブ数Iに
等しくされる。さらに、ステップS59では、インター
リーブ数Iに等しい数の検出フリーエリアそれぞれか
ら、Lc個だけ連続するブロックが選択される。即ち、
これにより、インターリーブ数Iに等しい数のブロック
でなる並列ブロックが、Lc個だけ構成される。
If it is determined in step S58 that the number of detection free areas provisionally selected in step S57 is not equal to the number of interleaves I, that is, since there are a plurality of detection free areas having the same size, Assuming that the plurality of detection free areas are provisionally selected, the total number of detection free areas obtained as a result of the selection exceeds the interleaving number I, and if the plurality of detection free areas are not provisionally selected, the total number becomes If the number of interleaves is less than the number I, the process proceeds to step S59, and among the pieces of recording medium having a plurality of detection free areas having the same size, the detection free area having the large number of free areas is provisionally selected preferentially. Thereby, the total number of the temporarily selected detection free areas is made equal to the interleave number I. Further, in step S59, the several detection free area respectively equal to the number of interleaves I, blocks are selected for successive L c pieces only. That is,
Thus, parallel block formed of a number of blocks equal to the number of interleaves I is, L c pieces also formed.

【0283】そして、ステップS60に進み、変数Cが
0に等しいかどうかが判定される。ステップS60にお
いて、変数Cが0に等しくないと判定された場合、即
ち、インターリーブ数Iに等しい数の検出フリーエリア
の仮選択が、元の並列ブロック数Lcを1以上小さくし
て行われている場合、ステップS61に進み、並列ブロ
ック数Lcに、変数Cがセットされ、さらに、変数Cが
0に初期化されて、ステップS52に戻る。即ち、この
場合、ステップS54で元の並列ブロック数Lcをデク
リメントした数(回数)を、新たに、並列ブロック数L
cとして、ステップS52以下の処理を繰り返す。
Then, the process proceeds to a step S60, where it is determined whether or not the variable C is equal to zero. In step S60, when it is determined that the variable C is not equal to 0, that is, the temporary selection of the number of detection free areas equal to the interleave number I is performed by reducing the original parallel block number Lc by 1 or more. If you are, the process proceeds to step S61, in parallel block number L c, variable C is set and further, is initialized to the variable C is 0, the flow returns to step S52. That is, in this case, the number (count) which decrements the original parallel block number L c at step S54, the new, the number of parallel blocks L
As c , the processing from step S52 is repeated.

【0284】また、ステップS60において、変数Cが
0に等しいと判定された場合、ステップS62に進み、
その時点で構成されている並列ブロックが、並列ブロッ
ク群を構成するものとして確定され、リターンする。
If it is determined in step S60 that the variable C is equal to 0, the flow advances to step S62,
The parallel block configured at that time is determined as forming a parallel block group, and the process returns.

【0285】次に、図17のフローチャートを参照し
て、記録媒体1に記録されたデータの消去を行う場合の
図11の記録媒体制御部42の処理(消去処理)につい
て説明する。
Next, the processing (erasing processing) of the recording medium control unit 42 in FIG. 11 when erasing data recorded on the recording medium 1 will be described with reference to the flowchart in FIG.

【0286】消去処理は、例えば、ユーザが、操作部1
1を、データの消去を行うように操作することで行われ
る。
In the erasing process, for example, the user operates the operation unit 1
1 is operated to erase data.

【0287】即ち、ユーザが、操作部11を、データの
消去を行うように操作すると、操作部11から記録媒体
制御部42に対して、データの消去を指示する信号(以
下、適宜、消去指示信号という)が与えられる。これに
より、記録媒体制御部42では、ステップS71におい
て、記録媒体1に記録されたファイルを消去する操作を
行うべきことが認識される。そして、記録媒体制御部4
2は、例えば、記録媒体1に記録されているファイルの
ファイル名を、ファイル管理情報を参照することで、表
示部12に表示させる。その後、ユーザが、消去対象の
ファイル(消去対象ファイル)のファイル名を、操作部
11を操作することにより指定すると、記録媒体制御部
42では、ステップS72において、その指定されたフ
ァイルが、消去対象ファイルとして決定される。
That is, when the user operates the operation unit 11 to erase data, a signal instructing the data erasure from the operation unit 11 to the recording medium control unit 42 (hereinafter, an erasing instruction as appropriate). Signal). Accordingly, the recording medium control unit 42 recognizes that an operation to delete the file recorded on the recording medium 1 should be performed in step S71. Then, the recording medium control unit 4
2 displays the file name of the file recorded on the recording medium 1 on the display unit 12 by referring to the file management information. Thereafter, when the user specifies the file name of the file to be deleted (file to be deleted) by operating the operation unit 11, the recording medium control unit 42 determines in step S72 that the specified file is to be deleted. Determined as a file.

【0288】そして、ステップS73に進み、以下、ス
テップS73乃至S81において、図14のステップS
22乃至S30における場合とそれぞれ同様の処理が行
われ、消去処理を終了する。
Then, the flow advances to step S73, and thereafter, in steps S73 to S81, step S73 in FIG.
The same processes as those in steps 22 to S30 are performed, and the erasing process ends.

【0289】次に、図18のフローチャートを参照し
て、記録媒体1に記録されたデータの読み出し行う場合
の図11の記録媒体制御部42の処理(読み出し処理)
について説明する。
Next, referring to the flowchart of FIG. 18, the processing (read processing) of the recording medium control unit 42 of FIG. 11 when reading data recorded on the recording medium 1 will be described.
Will be described.

【0290】記録媒体1に記録されたデータ(ファイ
ル)を読み出す場合においては、例えば、ユーザは、操
作部11を、データの再生を行うように操作する。これ
により、上述したように、操作部11から記録媒体制御
部42に対して、再生指示信号が与えられ、記録媒体制
御部42では、ステップS91において、記録媒体1か
らデータを読み出す操作を行うべきことが認識される。
When reading data (file) recorded on the recording medium 1, for example, the user operates the operation unit 11 to reproduce data. As a result, as described above, a reproduction instruction signal is given from the operation unit 11 to the recording medium control unit 42, and the recording medium control unit 42 should perform an operation of reading data from the recording medium 1 in step S91. It will be recognized.

【0291】再生指示信号を受信した記録媒体制御部4
2では、上述したように、ファイル管理情報記憶部2に
記憶されたファイル管理情報を参照し、再生制御部43
を介して、表示部12を制御することで、記録媒体1に
記録されたファイルのファイル名を表示させる。そし
て、ユーザが、表示部12に表示されたファイル名を参
照して、記録媒体1から読み出すものを、操作部11を
操作して指示すると、そのファイル名の指示が、記録媒
体制御部42に供給され、これにより、記録媒体制御部
42では、ステップS92において、記録媒体1から読
み出すべきファイル(読み出し対象ファイル)が認識さ
れる。
Recording Medium Control Unit 4 Having Received Reproduction Instruction Signal
2, the reproduction control unit 43 refers to the file management information stored in the file management information storage unit 2 as described above.
By controlling the display unit 12 via the, the file name of the file recorded on the recording medium 1 is displayed. Then, when the user refers to the file name displayed on the display unit 12 and designates what to read from the recording medium 1 by operating the operation unit 11, the designation of the file name is sent to the recording medium control unit 42. The recording medium control unit 42 recognizes a file to be read from the recording medium 1 (read target file) in step S92.

【0292】そして、ステップS93に進み、記録媒体
制御部42は、ブロック管理情報を検索し、読み出し対
象ファイルについてのブロック管理情報を取得して、ス
テップS94に進む。ステップS94では、読み出し対
象ファイルについてのブロック管理情報に基づき、その
読み出し対象ファイルについて構成された並列ブロック
が認識される。即ち、記録媒体制御部42は、読み出し
対象ファイルについてのブロック管理情報から、first
フラグを検出し、さらに、リンク情報をサーチ(参照)
していって、loopフラグまたはlastフラグを検出するこ
とで、並列ブロックを認識する(この認識された並列ブ
ロックも、以下、適宜、認識並列ブロックという)。
[0292] Then, proceeding to step S93, the recording medium control unit 42 searches for block management information, acquires block management information for the file to be read, and proceeds to step S94. In step S94, based on the block management information on the file to be read, the parallel block configured for the file to be read is recognized. That is, the recording medium control unit 42 obtains the first
Detects flags and searches for link information (reference)
Then, the parallel block is recognized by detecting the loop flag or the last flag (this recognized parallel block is also referred to as a recognized parallel block as appropriate hereinafter).

【0293】その後、ステップS95に進み、記録媒体
1を構成する記録媒体片1A乃至1Dのうち、認識並列
ブロックを構成するブロックを有するものが選択され
(この選択された記録媒体片も、以下、適宜、選択記録
媒体片という)、その選択記録媒体片に対して、チップ
セレクト信号が供給される。ここで、ステップS95に
おいても、例えば、図13のステップS11における場
合と同様に、読み出し対象ファイルの書き込み時におい
て、並列ブロック群を構成するときに優先的に選択され
たブロックを有する記録媒体片が、優先的に、選択記録
媒体片として選択されるようになされている。なお、こ
の場合、並列ブロック群を構成するときに優先的に選択
されたブロックは、上述したように、ブロック管理情報
におけるリンク情報から認識することができる。
After that, the flow advances to step S95 to select, from among the recording medium pieces 1A to 1D constituting the recording medium 1, those having blocks constituting the recognition parallel block (this selected recording medium piece is also hereinafter referred to as A chip select signal is supplied to the selected recording medium piece. Here, also in step S95, for example, as in the case of step S11 in FIG. 13, when writing the file to be read, the recording medium piece having the block preferentially selected when forming the parallel block group is read. , And is preferentially selected as a selected recording medium piece. In this case, the block preferentially selected when forming the parallel block group can be recognized from the link information in the block management information as described above.

【0294】選択記録媒体片の選択後は、ステップS9
6に進み、その選択記録媒体片に対して、リードコマン
ドが与えられ、ステップS97に進む。ステップS97
では、選択記録媒体片に対して、そこから読み出すデー
タのアドレスが与えられ、ステップS98に進む。
After the selection of the selected recording medium piece, step S9 is performed.
The process proceeds to step S6, where a read command is given to the selected recording medium piece, and the process proceeds to step S97. Step S97
Then, the address of the data to be read therefrom is given to the selected recording medium piece, and the process proceeds to step S98.

【0295】ステップS98では、図13のステップS
12における場合と同様に、選択記録媒体片の状態が判
定される。ステップS98において、選択記録媒体片が
Busy状態であると判定された場合、選択記録媒体片に対
してアクセスすることはできないため、ステップS98
に戻る。
[0295] In step S98, step S98 in FIG.
12, the state of the selected recording medium piece is determined. In step S98, the selected recording medium piece
If it is determined that the recording medium is in the busy state, the selected recording medium piece cannot be accessed.
Return to

【0296】また、ステップS98において、選択記録
媒体片がReady状態であると判定された場合、ステップ
S99に進み、選択記録媒体片における、認識並列ブロ
ックを構成するブロックに記録された1ページ分のデー
タが読み出される。
If it is determined in step S98 that the selected recording medium piece is in the ready state, the process proceeds to step S99, where one page of the selected recording medium piece recorded in the block constituting the recognition parallel block is read. Data is read.

【0297】なお、ステップS95から、後述するステ
ップS100までの間のループ処理が行われる過程にお
いて、ステップS99では、あるブロックからの、1ペ
ージ分のデータの読み出しは、そのブロックの先頭アド
レスから順次行われていく。即ち、例えば、並列ブロッ
クが第1乃至第4の4つのブロックから構成され、各ブ
ロックが、その先頭アドレスから第1乃至第4の4つの
ページで構成される場合において、このような並列ブロ
ックから、データを読み出すときには、第1のブロック
の第1のページ、第2のブロックの第1のページ、第3
のブロックの第1のページ、第4のブロックの第1のペ
ージの順で、データが読み出されていく。そして、その
後は、第1のブロックの第2のページ、第2のブロック
の第2のページ、第3のブロックの第2のページ、第4
のブロックの第2のページの順で、データが読み出され
ていき、以下、同様にして、第4のブロックの第4のペ
ージまで、データが読み出されていく。
In the course of the loop processing from step S95 to step S100 to be described later, in step S99, one page of data is read from a certain block, starting from the top address of the block. Will be done. That is, for example, in a case where the parallel block is composed of the first to fourth four blocks and each block is composed of the first to fourth four pages from the start address, When reading data, the first page of the first block, the first page of the second block,
Is read out in the order of the first page of the block and the first page of the fourth block. Then, thereafter, the second page of the first block, the second page of the second block, the second page of the third block, the fourth page
The data is read out in the order of the second page of the block, and thereafter, the data is similarly read up to the fourth page of the fourth block.

【0298】ステップS99で読み出された1ページ分
のデータは、記録媒体制御部42から、転送制御部41
または再生制御部43に供給される。そして、ステップ
S100に進み、認識並列ブロック全体のデータの読み
出しが完了したかどうかが判定される。ステップS10
0において、認識並列ブロック全体のデータの読み出し
が、まだ完了していないと判定された場合、ステップS
95に戻り、上述したような優先順位で、次の記録媒体
片が、選択記録媒体片として選択され、チップセレクト
信号が供給される。
The data for one page read in step S99 is transmitted from the recording medium controller 42 to the transfer controller 41.
Alternatively, it is supplied to the reproduction control unit 43. Then, the process proceeds to step S100, and it is determined whether the reading of the data of the entire recognition parallel block is completed. Step S10
0, if it is determined that the reading of the data of the entire recognition parallel block has not been completed yet,
Returning to 95, the next recording medium piece is selected as the selected recording medium piece in the order of priority as described above, and a chip select signal is supplied.

【0299】そして、ステップS100において、認識
並列ブロック全体のデータの読み出しが完了したと判定
された場合、ステップS101に進み、読み出し対象フ
ァイルのデータすべての読み出しが完了したかどうかが
判定される。ステップS101において、読み出し対象
ファイルのデータすべての読み出しが、まだ完了してい
ないと判定された場合、ステップS94に戻り、読み出
し対象ファイルを記録した並列ブロック群のうち、まだ
データの読み出しがされていない並列ブロックが、新た
に認識並列ブロックとして選択され、ステップS95以
下の処理を繰り返す。
If it is determined in step S100 that the reading of the data of the entire recognition parallel block has been completed, the flow advances to step S101 to determine whether reading of all the data of the file to be read has been completed. In step S101, if it is determined that the reading of all the data of the file to be read has not been completed, the process returns to step S94, and the data has not yet been read from the parallel block group in which the file to be read has been recorded. A parallel block is newly selected as a recognition parallel block, and the processing from step S95 is repeated.

【0300】一方、ステップS101において、読み出
し対象ファイルのデータすべての読み出しが完了したと
判定された場合、読み出し処理を終了する。
On the other hand, if it is determined in step S101 that reading of all data of the file to be read has been completed, the reading process ends.

【0301】以上のように、記録媒体1に記録されたデ
ータを、ファイル単位とブロック単位とに分けて管理す
るとともに、記録媒体1へのデータの書き込みを、1以
上のブロックでなる並列ブロックで構成される並列ブロ
ック群を構成して行う場合において、並列ブロックを、
待ち時間が小さくなるような数のブロックで構成するよ
うにしたので、並列記録方式による書き込みの高速化の
効果を、最大限に発揮することができるようなデータの
高速かつ柔軟な書き込みが可能となる。さらに、並列ブ
ロックを、記録媒体1における空き領域が偏らないよう
にブロックの選択を行って構成するようにしたので、空
き領域の断片化(細分化)を防止し、これにより、記録
媒体1の記録領域の有効利用を図ることができる。
As described above, the data recorded on the recording medium 1 is managed in a file unit and a block unit, and the data writing to the recording medium 1 is performed by the parallel block composed of one or more blocks. In the case of configuring and performing a configured parallel block group, the parallel block is
Since it is configured with a number of blocks that reduces the waiting time, it is possible to write data at high speed and flexibly so that the effect of speeding up writing by the parallel recording method can be maximized. Become. Further, since the parallel blocks are configured by selecting blocks so that the empty area in the recording medium 1 is not biased, fragmentation (subdivision) of the empty area is prevented, and as a result, the recording medium 1 Effective use of the recording area can be achieved.

【0302】なお、本実施の形態では、記録媒体1を、
4つの記録媒体片1A乃至1Dで構成するようにした
が、記録媒体1を構成する記録媒体片の数は4に限定さ
れるものではない。
In the present embodiment, the recording medium 1 is
Although the recording medium is composed of four recording medium pieces 1A to 1D, the number of recording medium pieces constituting the recording medium 1 is not limited to four.

【0303】また、本実施の形態では、記録媒体1を、
半導体メモリであるフラッシュメモリを用いて構成する
ようにしたが、記録媒体1は、フラッシュメモリ以外の
半導体メモリで構成したり、さらに、半導体メモリ以外
のランダムアクセス可能な光磁気ディスクなどのディス
ク状の記録媒体で構成することも可能である。
In the present embodiment, the recording medium 1 is
Although the recording medium 1 is configured by using a flash memory which is a semiconductor memory, the recording medium 1 may be configured by a semiconductor memory other than the flash memory, or may be formed of a disk-shaped disk such as a randomly accessible magneto-optical disk other than the semiconductor memory. It is also possible to use a recording medium.

【0304】また、記録媒体1としては、読み書き可能
なものの他、読み出し専用のものを用いることも可能で
ある。但し、記録媒体1として、読み出し専用のものを
用いる場合には、そのような記録媒体1を使用する限
り、ユーザ端末は、データを再生する再生装置としての
み機能することになる。
As the recording medium 1, a readable / writable medium or a read-only medium can be used. However, when a read-only recording medium is used as the recording medium 1, as long as such a recording medium 1 is used, the user terminal functions only as a reproducing apparatus for reproducing data.

【0305】さらに、本実施の形態では、並列ブロック
を、データを管理する単位であるブロック単位で構成す
るようにしたが、並列ブロックは、その他、例えば、ペ
ージ単位その他の、ブロックより小さいまたは大きい単
位で構成することも可能である。
Further, in this embodiment, the parallel blocks are configured in units of blocks which are units for managing data. However, the parallel blocks may be smaller or larger, for example, page units or other blocks. It is also possible to configure in units.

【0306】なお、並列ブロックを構成するブロックに
対して、どのような順番で、データを書き込むかは任意
に決めても問題がないが、2以上の並列ブロックに亘っ
て連続してデータを書き込む場合には、ある並列ブロッ
クを構成するブロックに書き込みを行う順番と、次に書
き込みを行う並列ブロックを構成するブロックに書き込
みを行う順番とは一致させるようにするのが望ましい。
It is to be noted that the order of writing data to the blocks constituting the parallel block may be determined arbitrarily. However, data is written continuously over two or more parallel blocks. In this case, it is desirable that the order in which data is written to a block constituting a certain parallel block coincides with the order in which data is written to a block which constitutes a parallel block to be written next.

【0307】即ち、例えば、いま、記録媒体片1A乃至
1Dそれぞれにおけるある1つのブロックが左から右方
向に配置された4ブロックでなる第1および第2の2つ
の並列ブロックを構成し、第1の並列ブロックに続けて
第2の並列ブロックに書き込みを行う場合には、第1の
並列ブロックを構成する4つのブロックに対して、その
最も左に配置されたものから右方向に順次書き込みを行
ったときには、第2の並列ブロックを構成する4つのブ
ロックに対しても、その最も左に配置されたものから右
方向に順次書き込みを行うのが望ましい。これは、例え
ば、上述の場合において、第2の並列ブロックを構成す
る4つのブロックに対して、その最も右に配置されたも
のから左方向に順次書き込みを行うとすると、第1の並
列ブロックの最も右に配置されたブロックへの書き込み
の終了後に、第2の並列ブロックの最も右側に配置され
たブロックへの書き込みが行われることになり、即ち、
いまの場合、記録媒体片1Dのブロックに対して、連続
して書き込みが行われることとなり、第1の並列ブロッ
クへの書き込みを終了して、第2の並列ブロックへの書
き込みを開始するときに、データを並列的に書き込むこ
とによる待ち時間の抑制の効果を得ることができなくな
るからである。
In other words, for example, one block in each of the recording medium pieces 1A to 1D constitutes first and second two parallel blocks composed of four blocks arranged from left to right. When writing to the second parallel block subsequent to the first parallel block, writing is sequentially performed to the four blocks constituting the first parallel block from the leftmost one to the right. In this case, it is desirable to sequentially write the four blocks constituting the second parallel block sequentially from the leftmost one to the right. This is because, for example, in the above-described case, if writing is sequentially performed to the four blocks constituting the second parallel block from the rightmost one to the left, then the first parallel block After the end of writing to the rightmost block, writing to the rightmost block of the second parallel block will be performed, that is,
In this case, writing is continuously performed on the block of the recording medium piece 1D, and when writing to the first parallel block is completed and writing to the second parallel block is started. This is because the effect of suppressing the waiting time by writing data in parallel cannot be obtained.

【0308】また、ユーザ端末が、図8に示したように
構成される場合においては、上述の書き込み処理(図1
3)および消去処理(図17)は、メモリカード21を
対象に、図9や図10に示した情報提供装置において行
われる。従って、この場合、ユーザ端末には、読み出し
処理(図18)を行う機能があれば十分であり、書き込
み処理および消去処理を行う機能は必要ない。但し、ユ
ーザ端末が、図8に示したように構成される場合であっ
ても、メモリカード21がスロット20に装着された状
態で、書き込み処理や消去処理を行うことができるよう
にすることは可能である。
In the case where the user terminal is configured as shown in FIG. 8, the above-described write processing (FIG. 1)
3) and the erasing process (FIG. 17) are performed on the memory card 21 in the information providing apparatus shown in FIGS. Therefore, in this case, the user terminal only needs to have a function of performing the reading process (FIG. 18), and does not need the function of performing the writing process and the erasing process. However, even when the user terminal is configured as shown in FIG. 8, it is not possible to perform the writing process and the erasing process with the memory card 21 inserted in the slot 20. It is possible.

【0309】さらに、図11において、ファイル管理情
報を記憶するファイル管理情報記憶部2は、必ずしも、
物理的に設ける必要はない。但し、その場合、ファイル
管理情報は、例えば、記録媒体1を構成する記録媒体片
1A乃至1Dのいずれかのブロックに確保されているシ
ステムブロック等に記録しておく必要がある。なお、こ
のことは、ブロック管理情報を記憶するブロック管理情
報記憶部3についても、同様である。
Further, in FIG. 11, the file management information storage unit 2 for storing the file management information
There is no need to physically provide them. However, in this case, the file management information needs to be recorded in, for example, a system block secured in any one of the recording medium pieces 1A to 1D constituting the recording medium 1. Note that the same applies to the block management information storage unit 3 that stores the block management information.

【0310】また、図11に示したユーザ端末を構成す
る、例えば、フリーエリア検索部5、フリーリスト管理
部6、および記録媒体制御部42は、それ専用のハード
ウェアによって実現することも可能であるが、その他、
例えば、上述した書き込み処理、消去処理、および読み
出し処理を行うためのプログラムを、CPU(Central Proc
essing Unit)等に実行させることによって実現すること
も可能である。
Further, for example, the free area search unit 5, the free list management unit 6, and the recording medium control unit 42 constituting the user terminal shown in FIG. 11 can be realized by dedicated hardware. Yes, but other,
For example, a program for performing the above-described write processing, erase processing, and read processing is executed by a CPU (Central Proc.
essing unit) can be realized.

【0311】即ち、フリーエリア検索部5、フリーリス
ト管理部6、および記録媒体制御部42は、例えば、図
19に示すように、CPU61,ROM(Read Only Memory)6
2,RAM(Random Access Memory)63、およびI/F(Inter
face)64で構成することができる。この場合、ROM62
に、上述した書き込み処理、消去処理、および読み出し
処理を行うためのプログラムを記憶させておき、CPU6
1に、そのプログラムを実行させることで、ユーザ端末
において、書き込み処理、消去処理、および読み出し処
理が行われる。ここで、RAM63には、上述のフリーリ
スト6A乃至6Dその他のCPU61が処理を行う上で必
要な情報が記憶され、また、CPU61は、I/F64を介し
て、ユーザ端末(図11)の必要なブロックとの間で、
データその他のやりとりを行う。
That is, for example, as shown in FIG. 19, the free area search unit 5, the free list management unit 6, and the recording medium control unit 42 include a CPU 61, a ROM (Read Only Memory) 6, and the like.
2, RAM (Random Access Memory) 63 and I / F (Inter
face) 64. In this case, the ROM 62
A program for performing the above-described writing, erasing, and reading processes.
By causing the user terminal 1 to execute the program, a write process, an erase process, and a read process are performed in the user terminal. Here, the RAM 63 stores the above-mentioned free lists 6A to 6D and other information necessary for the CPU 61 to perform the processing. The CPU 61 transmits the necessary information to the user terminal (FIG. 11) via the I / F 64. Between blocks
Exchange data and other data.

【0312】なお、プログラムは、ROM62に記憶させ
ておく他、記録媒体1に記憶(記録)させておき、CPU
61に、I/F64を介してRAM63上にロードさせて実行
させるようにしても良い。
[0312] In addition to the program being stored in the ROM 62, the program is stored (recorded) in the recording medium 1, and the CPU
61 may be loaded on the RAM 63 via the I / F 64 and executed.

【0313】[0313]

【発明の効果】請求項1に記載の記録装置および請求項
21に記載の記録方法、並びに請求項59に記載のプロ
グラム記録媒体によれば、データを、記録媒体の1以上
のブロックに対して並列的に書き込む場合に、待ち時間
を最小にするブロックの数の最小値である最小ブロック
数に基づき、1以上のブロックで構成される1以上の並
列ブロックが構成され、その並列ブロックを構成するブ
ロックを対象として、並列的に、データが書き込まれ
る。従って、データの書き込みを短時間で行うことが可
能となる。
According to the recording apparatus of the first aspect, the recording method of the twenty-first aspect, and the program recording medium of the fifty-first aspect, data is transferred to one or more blocks of the recording medium. When writing in parallel, one or more parallel blocks composed of one or more blocks are configured based on the minimum number of blocks, which is the minimum value of the number of blocks that minimizes the waiting time, and the parallel blocks are configured. Data is written to the block in parallel. Therefore, data can be written in a short time.

【0314】請求項38に記載の記録媒体には、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
が並列的に書き込まれる。従って、データの書き込みを
短時間で行うことが可能となる。
In the recording medium according to the thirty-eighth aspect, when data is written in parallel to one or more blocks, the data is written on the basis of the minimum number of blocks which is the minimum value of the number of blocks minimizing the waiting time. Data is written in parallel to blocks constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks. Therefore, data can be written in a short time.

【0315】請求項55に記載の記録媒体には、データ
を、1以上のブロックに対して並列的に書き込む場合
に、待ち時間を最小にするブロックの数の最小値である
最小ブロック数、またはその最小ブロック数を求めるの
に必要な情報が記録されている。従って、例えば、その
最小ブロック数に基づき、1以上のブロックで構成され
る1以上の並列ブロックを構成することにより得られる
並列ブロックを構成するブロックを対象として、データ
を並列的に書き込むことで、データの書き込みを短時間
で行うことが可能となる。
In the recording medium according to the thirty-fifth aspect, when data is written in parallel to one or more blocks, the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time, or Information necessary for obtaining the minimum number of blocks is recorded. Therefore, for example, by writing data in parallel to blocks constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks based on the minimum number of blocks, Data can be written in a short time.

【0316】請求項56に記載の再生装置および請求項
58に記載の再生方法、並びに請求項60に記載のプロ
グラム記録媒体によれば、データを、1以上のブロック
に対して並列的に書き込む場合に、待ち時間を最小にす
るブロックの数の最小値である最小ブロック数に基づ
き、1以上のブロックで構成される1以上の並列ブロッ
クを構成することにより得られる並列ブロックを構成す
るブロックを対象として、データが並列的に書き込まれ
ている記録媒体から、データが読み出される。従って、
短時間で書き込んだデータの読み出しを行うことができ
る。
According to the reproducing apparatus of claim 56, the reproducing method of claim 58, and the program recording medium of claim 60, when data is written in parallel to one or more blocks. In addition, based on the minimum number of blocks that is the minimum value of the number of blocks for minimizing the waiting time, a block constituting a parallel block obtained by configuring one or more parallel blocks composed of one or more blocks is targeted. The data is read from the recording medium on which the data is written in parallel. Therefore,
Data written can be read in a short time.

【図面の簡単な説明】[Brief description of the drawings]

【図1】並列記録方式によるデータの書き込み方法を説
明するための図である。
FIG. 1 is a diagram for explaining a data writing method using a parallel recording method.

【図2】ファイル管理情報およびブロック管理情報を説
明するための図である。
FIG. 2 is a diagram for explaining file management information and block management information.

【図3】並列記録方式によるデータの書き込み方法を説
明するための図である。
FIG. 3 is a diagram for explaining a data writing method using a parallel recording method.

【図4】並列記録方式において、不具合が生じる場合を
説明するための図である。
FIG. 4 is a diagram for explaining a case where a problem occurs in the parallel recording method.

【図5】新並列記録方式によるデータの書き込み方法を
説明するための図である。
FIG. 5 is a diagram for explaining a data writing method according to the new parallel recording method.

【図6】新並列記録方式によるデータの書き込み方法を
説明するための図である。
FIG. 6 is a diagram for explaining a data writing method according to the new parallel recording method.

【図7】ユーザ端末の第1実施の形態の外観構成例を示
す斜視図である。
FIG. 7 is a perspective view illustrating an example of an external configuration of the user terminal according to the first embodiment.

【図8】ユーザ端末の第2実施の形態の外観構成例を示
す斜視図である。
FIG. 8 is a perspective view illustrating an example of an external configuration of a user terminal according to a second embodiment.

【図9】ユーザ端末に対してデータを提供する情報提供
装置の第1実施の形態の外観構成例を示す斜視図であ
る。
FIG. 9 is a perspective view illustrating an external configuration example of a first embodiment of an information providing apparatus that provides data to a user terminal.

【図10】ユーザ端末に対してデータを提供する情報提
供装置の第2実施の形態の外観構成例を示す斜視図であ
る。
FIG. 10 is a perspective view illustrating an example of an external configuration of an information providing apparatus that provides data to a user terminal according to a second embodiment.

【図11】図7のユーザ端末の電気的構成例を示すブロ
ック図である。
FIG. 11 is a block diagram showing an example of an electrical configuration of the user terminal shown in FIG. 7;

【図12】フラッシュメモリの構成例を示すブロック図
である。
FIG. 12 is a block diagram illustrating a configuration example of a flash memory.

【図13】図11の記録媒体制御部42が行う書き込み
処理を説明するためのフローチャートである。
FIG. 13 is a flowchart illustrating a writing process performed by a recording medium control unit 42 of FIG. 11;

【図14】図13のステップS5の処理の詳細を説明す
るためのフローチャートである。
FIG. 14 is a flowchart illustrating details of a process in step S5 in FIG. 13;

【図15】図13のステップS6の処理の詳細を説明す
るためのフローチャートである。
FIG. 15 is a flowchart illustrating details of a process in step S6 of FIG. 13;

【図16】図13のステップS8の処理の詳細を説明す
るためのフローチャートである。
FIG. 16 is a flowchart illustrating details of a process in step S8 in FIG. 13;

【図17】図11の記録媒体制御部42が行う消去処理
を説明するためのフローチャートである。
FIG. 17 is a flowchart illustrating an erasing process performed by the recording medium control unit shown in FIG. 11;

【図18】図11の記録媒体制御部42が行う読み出し
処理を説明するためのフローチャートである。
18 is a flowchart illustrating a reading process performed by a recording medium control unit 42 in FIG.

【図19】図11のフリーエリア検索部5、フリーリス
ト管理部6,および記録媒体制御部42のハードウェア
構成例を示すブロック図である。
19 is a block diagram illustrating a hardware configuration example of a free area search unit 5, a free list management unit 6, and a recording medium control unit 42 in FIG.

【符号の説明】[Explanation of symbols]

1 記録媒体, 1A乃至1D 記録媒体片, 2 フ
ァイル管理情報記憶部, 3 ブロック管理情報記憶
部, 4 記録媒体管理部, 5 フリーエリア検索
部, 6 フリーリスト管理部, 6A乃至6D フリ
ーリスト, 11操作部, 12 表示部, 13 イ
ヤフォン, 14,15 端子, 20スロット, 2
1 メモリカード, 22A,22B 端子, 31
表示部,31A 挿入スロット, 31B 排出スロッ
ト, 32 ボタン, 33スロット, 41 転送制
御部, 42 記録媒体制御部, 43 再生制御部,
51 レジスタ, 52 メモリセルアレイ, 61
CPU, 62 ROM,63 RAM, 64 I/F
REFERENCE SIGNS LIST 1 recording medium, 1A to 1D recording medium piece, 2 file management information storage section, 3 block management information storage section, 4 recording medium management section, 5 free area search section, 6 free list management section, 6A to 6D free list, 11 Operation unit, 12 display unit, 13 earphones, 14, 15 terminals, 20 slots, 2
1 memory card, 22A, 22B terminals, 31
Display unit, 31A insertion slot, 31B ejection slot, 32 buttons, 33 slots, 41 transfer control unit, 42 recording medium control unit, 43 playback control unit,
51 register, 52 memory cell array, 61
CPU, 62 ROM, 63 RAM, 64 I / F

Claims (60)

【特許請求の範囲】[Claims] 【請求項1】 記録媒体の記録領域を、所定のブロック
単位で管理して、データを、並列的に記録する記録装置
であって、 前記データを前記記録媒体の1以上のブロックに対して
並列的に書き込む場合に、待ち時間を最小にする前記ブ
ロックの数の最小値である最小ブロック数に基づき、1
以上の前記ブロックで構成される1以上の並列ブロック
を構成する構成手段と、 前記並列ブロックを構成する前記ブロックを対象とし
て、並列的に、前記データを書き込む書き込み手段とを
備えることを特徴とする記録装置。
1. A recording apparatus which manages a recording area of a recording medium in a predetermined block unit and records data in parallel, wherein the data is recorded in parallel with one or more blocks of the recording medium. In the case where the data is written in a sequential manner, 1
A configuration unit configured to configure one or more parallel blocks configured by the blocks described above; and a writing unit configured to write the data in parallel with respect to the blocks configuring the parallel blocks. Recording device.
【請求項2】 前記最小ブロック数は、前記記録媒体に
記録されていることを特徴とする請求項1に記載の記録
装置。
2. The recording apparatus according to claim 1, wherein the minimum number of blocks is recorded on the recording medium.
【請求項3】 前記最小ブロック数を求める最小ブロッ
ク数算出手段をさらに備えることを特徴とする請求項1
に記載の記録装置。
3. The apparatus according to claim 1, further comprising a minimum block number calculating unit for obtaining the minimum block number.
The recording device according to claim 1.
【請求項4】 前記最小ブロック数算出手段は、前記記
録媒体の特性を表す特性情報に基づいて、前記最小ブロ
ック数を算出することを特徴とする請求項3に記載の記
録装置。
4. The recording apparatus according to claim 3, wherein the minimum block number calculating means calculates the minimum block number based on characteristic information indicating characteristics of the recording medium.
【請求項5】 前記特性情報は、前記記録媒体に記録さ
れていることを特徴とする請求項4に記載の記録装置。
5. The recording apparatus according to claim 4, wherein the characteristic information is recorded on the recording medium.
【請求項6】 前記特性情報は、前記記録媒体に対し
て、記録対象のデータを入力するのに要する時間である
入力時間と、前記記録媒体に、前記記録対象のデータが
入力されてから、その記録が終了するまでの時間である
プログラム時間とを、少なくとも含むことを特徴とする
請求項4に記載の記録装置。
6. The characteristic information includes an input time that is a time required for inputting data to be recorded to the recording medium, and an input time after the data to be recorded is input to the recording medium. The recording apparatus according to claim 4, further comprising at least a program time that is a time until the recording is completed.
【請求項7】 前記最小ブロック数算出手段は、前記プ
ログラム時間を、前記入力時間で除算した除算結果以上
の最小の整数に、1を加算した値を、前記最小ブロック
数として算出することを特徴とする請求項6に記載の記
録装置。
7. The minimum block number calculating means calculates a value obtained by adding 1 to a minimum integer equal to or greater than a division result obtained by dividing the program time by the input time, as the minimum block number. The recording apparatus according to claim 6, wherein:
【請求項8】 前記記録媒体が、区分けされた複数の記
録領域を有し、 前記書き込み手段が、前記複数の記録領域のうちの2以
上を対象として、並列的に書き込みを行う場合におい
て、 前記構成手段は、前記複数の記録領域それぞれにおけ
る、書き込み可能な領域である書き込み可能領域の大き
さが偏らないように、前記複数の記録領域のうちの2以
上から、前記並列ブロックを構成する前記ブロックを選
択することを特徴とする請求項1に記載の記録装置。
8. When the recording medium has a plurality of divided recording areas, and the writing unit performs writing in parallel on two or more of the plurality of recording areas, The configuration unit is configured to configure the parallel block from two or more of the plurality of recording areas so that the size of the writable area, which is a writable area, in each of the plurality of recording areas is not biased. The recording apparatus according to claim 1, wherein the recording apparatus is selected.
【請求項9】 前記複数の記録領域それぞれにおける前
記書き込み可能領域を管理する書き込み可能領域管理手
段をさらに備え、 前記構成手段は、前記書き込み可能領域管理手段におけ
る管理内容に基づいて、前記並列ブロックを構成する前
記ブロックを選択することを特徴とする請求項8に記載
の記録装置。
9. A writable area management unit that manages the writable area in each of the plurality of recording areas, wherein the configuration unit executes the parallel block based on the management content of the writable area management unit. 9. The recording apparatus according to claim 8, wherein the block to be configured is selected.
【請求項10】 前記書き込み可能領域管理手段は、前
記複数の記録領域それぞれにおいて、書き込み可能なブ
ロックが物理的に連続する部分であるフリーエリア単位
で、前記書き込み可能領域を管理することを特徴とする
請求項9に記載の記録装置。
10. The writable area management means manages the writable area in each of the plurality of recording areas in a free area unit, which is a part where writable blocks are physically continuous. 10. The recording device according to claim 9, wherein
【請求項11】 前記構成手段は、 前記データを記録することのできる前記並列ブロックの
数以上の数であって、その並列ブロックの数に最も近い
数のブロックで構成されるフリーエリアを、前記複数の
記録領域それぞれから検出するフリーエリア検出手段
と、 前記フリーエリア検出手段が検出したフリーエリアか
ら、前記並列ブロックを構成させるものを選択するフリ
ーエリア選択手段とを有することを特徴とする請求項1
0に記載の記録装置。
11. The configuration unit according to claim 10, wherein the free area is a number equal to or greater than the number of the parallel blocks capable of recording the data, and the free area including the number of blocks closest to the number of the parallel blocks. A free area detecting means for detecting from each of the plurality of recording areas, and a free area selecting means for selecting, from the free areas detected by the free area detecting means, one to configure the parallel block. 1
0. The recording device according to 0.
【請求項12】 前記フリーエリア選択手段は、前記フ
リーエリア検出手段が検出したフリーエリアのうち、そ
の大きさの大きいものを優先的に選択することを特徴と
する請求項11に記載の記録装置。
12. The recording apparatus according to claim 11, wherein the free area selecting means preferentially selects a free area having a larger size from the free areas detected by the free area detecting means. .
【請求項13】 前記フリーエリア選択手段は、前記複
数の記録領域のうち、前記フリーエリアの数の多いもの
のフリーエリアを優先的に選択することを特徴とする請
求項11に記載の記録装置。
13. The recording apparatus according to claim 11, wherein the free area selecting unit preferentially selects a free area having a large number of the free areas from the plurality of recording areas.
【請求項14】 前記記録媒体は、複数の記録領域それ
ぞれに対応する複数の記録媒体片で構成されることを特
徴とする請求項8に記載の記録装置。
14. The recording apparatus according to claim 8, wherein the recording medium is constituted by a plurality of recording medium pieces respectively corresponding to a plurality of recording areas.
【請求項15】 前記記録媒体をさらに備えることを特
徴とする請求項1に記載の記録装置。
15. The recording apparatus according to claim 1, further comprising the recording medium.
【請求項16】 前記記録媒体が着脱可能になされてい
ることを特徴とする請求項1に記載の記録装置。
16. The recording apparatus according to claim 1, wherein the recording medium is detachable.
【請求項17】 外部機器から供給されるデータを、前
記書き込み手段に供給する供給手段をさらに備えること
を特徴とする請求項1に記載の記録装置。
17. The recording apparatus according to claim 1, further comprising a supply unit that supplies data supplied from an external device to the writing unit.
【請求項18】 前記記録媒体は、前記ブロックごと
に、その記録内容の消去が行われるものであることを特
徴とする請求項1に記載の記録装置。
18. The recording apparatus according to claim 1, wherein the recording content of the recording medium is erased for each of the blocks.
【請求項19】 前記記録媒体は、半導体メモリである
ことを特徴とする請求項1に記載の記録装置。
19. The recording apparatus according to claim 1, wherein said recording medium is a semiconductor memory.
【請求項20】 前記記録媒体は、ディスク状のもので
あることを特徴とする請求項1に記載の記録装置。
20. The recording apparatus according to claim 1, wherein the recording medium is a disk.
【請求項21】 記録媒体の記録領域を、所定のブロッ
ク単位で管理して、データを、並列的に記録する記録方
法であって、 前記データを前記記録媒体の1以上のブロックに対して
並列的に書き込む場合に、待ち時間を最小にする前記ブ
ロックの数の最小値である最小ブロック数に基づき、1
以上の前記ブロックで構成される1以上の並列ブロック
を構成する構成ステップと、 前記並列ブロックを構成する前記ブロックを対象とし
て、並列的に、前記データを書き込む書き込みステップ
とを備えることを特徴とする記録方法。
21. A recording method for recording data in parallel by managing a recording area of a recording medium in predetermined block units, wherein the data is recorded in parallel with one or more blocks of the recording medium. In the case where the data is written in a sequential manner, 1
A configuration step of configuring one or more parallel blocks configured by the above blocks; and a writing step of writing the data in parallel with respect to the blocks configuring the parallel blocks. Recording method.
【請求項22】 前記最小ブロック数は、前記記録媒体
に記録されていることを特徴とする請求項21に記載の
記録方法。
22. The recording method according to claim 21, wherein the minimum number of blocks is recorded on the recording medium.
【請求項23】 前記最小ブロック数を求める最小ブロ
ック数算出ステップをさらに備えることを特徴とする請
求項21に記載の記録方法。
23. The recording method according to claim 21, further comprising a minimum block number calculating step of obtaining the minimum block number.
【請求項24】 前記最小ブロック数算出ステップにお
いて、前記記録媒体の特性を表す特性情報に基づいて、
前記最小ブロック数を算出することを特徴とする請求項
23に記載の記録方法。
24. In the minimum block number calculation step, based on characteristic information representing characteristics of the recording medium,
The recording method according to claim 23, wherein the minimum number of blocks is calculated.
【請求項25】 前記特性情報は、前記記録媒体に記録
されていることを特徴とする請求項24に記載の記録方
法。
25. The recording method according to claim 24, wherein the characteristic information is recorded on the recording medium.
【請求項26】 前記特性情報は、前記記録媒体に対し
て、記録対象のデータを入力するのに要する時間である
入力時間と、前記記録媒体に、前記記録対象のデータが
入力されてから、その記録が終了するまでの時間である
プログラム時間とを、少なくとも含むことを特徴とする
請求項24に記載の記録方法。
26. The characteristic information includes: an input time that is a time required for inputting data to be recorded to the recording medium; and an input time after the data to be recorded is input to the recording medium. The recording method according to claim 24, further comprising at least a program time that is a time until the recording is completed.
【請求項27】 前記最小ブロック数算出ステップにお
いて、前記プログラム時間を、前記入力時間で除算した
除算結果以上の最小の整数に、1を加算した値を、前記
最小ブロック数として算出することを特徴とする請求項
26に記載の記録方法。
27. The minimum block number calculating step, wherein a value obtained by adding 1 to a minimum integer equal to or greater than a division result obtained by dividing the program time by the input time is calculated as the minimum block number. The recording method according to claim 26, wherein
【請求項28】 前記記録媒体が、区分けされた複数の
記録領域を有し、 前記書き込みステップにおいて、前記複数の記録領域の
うちの2以上を対象として、並列的に書き込みを行う場
合において、 前記構成ステップにおいて、前記複数の記録領域それぞ
れにおける、書き込み可能な領域である書き込み可能領
域の大きさが偏らないように、前記複数の記録領域のう
ちの2以上から、前記並列ブロックを構成する前記ブロ
ックを選択することを特徴とする請求項21に記載の記
録方法。
28. When the recording medium has a plurality of divided recording areas, and in the writing step, performing writing in parallel on two or more of the plurality of recording areas, In the configuring step, in each of the plurality of recording areas, the block configuring the parallel block from two or more of the plurality of recording areas so that the size of a writable area that is a writable area is not biased. 22. The recording method according to claim 21, wherein is selected.
【請求項29】 前記複数の記録領域それぞれにおける
前記書き込み可能領域を管理する書き込み可能領域管理
ステップをさらに備え、 前記構成ステップにおいて、前記書き込み可能領域管理
ステップにおける管理内容に基づいて、前記並列ブロッ
クを構成する前記ブロックを選択することを特徴とする
請求項28に記載の記録方法。
29. A writable area management step of managing the writable area in each of the plurality of recording areas, wherein in the configuration step, the parallel block is managed based on the management content in the writable area management step. The recording method according to claim 28, wherein the block to be configured is selected.
【請求項30】 前記書き込み可能領域管理ステップで
は、前記複数の記録領域それぞれにおいて、書き込み可
能なブロックが物理的に連続する部分であるフリーエリ
ア単位で、前記書き込み可能領域を管理することを特徴
とする請求項29に記載の記録方法。
30. The writable area management step, wherein in each of the plurality of recording areas, the writable area is managed in units of a free area, which is a part where writable blocks are physically continuous. The recording method according to claim 29, wherein the recording method is performed.
【請求項31】 前記構成ステップは、 前記データを記録することのできる前記並列ブロックの
数以上の数であって、その並列ブロックの数に最も近い
数のブロックで構成されるフリーエリアを、前記複数の
記録領域それぞれから検出するフリーエリア検出ステッ
プと、 前記フリーエリア検出ステップで検出されたフリーエリ
アから、前記並列ブロックを構成させるものを選択する
フリーエリア選択ステップとからなることを特徴とする
請求項30に記載の記録方法。
31. The method according to claim 31, wherein the free area includes a number of blocks equal to or more than the number of the parallel blocks capable of recording the data and the number of blocks closest to the number of the parallel blocks. A free area detecting step of detecting from each of the plurality of recording areas, and a free area selecting step of selecting a part forming the parallel block from the free areas detected in the free area detecting step. Item 30. The recording method according to Item 30,
【請求項32】 前記フリーエリア選択ステップにおい
て、前記フリーエリア検出ステップで検出されたフリー
エリアのうち、その大きさの大きいものを優先的に選択
することを特徴とする請求項31に記載の記録方法。
32. The recording according to claim 31, wherein in the free area selecting step, a free area having a larger size is preferentially selected from the free areas detected in the free area detecting step. Method.
【請求項33】 前記フリーエリア選択ステップにおい
て、前記複数の記録領域のうち、前記フリーエリアの数
の多いもののフリーエリアを優先的に選択することを特
徴とする請求項31に記載の記録方法。
33. The recording method according to claim 31, wherein in the free area selecting step, a free area having a large number of free areas is preferentially selected from the plurality of recording areas.
【請求項34】 前記記録媒体は、複数の記録領域それ
ぞれに対応する複数の記録媒体片で構成されることを特
徴とする請求項28に記載の記録方法。
34. The recording method according to claim 28, wherein the recording medium is composed of a plurality of recording medium pieces respectively corresponding to a plurality of recording areas.
【請求項35】 前記記録媒体は、前記ブロックごと
に、その記録内容の消去が行われるものであることを特
徴とする請求項21に記載の記録方法。
35. The recording method according to claim 21, wherein the recording content of the recording medium is erased for each of the blocks.
【請求項36】 前記記録媒体は、半導体メモリである
ことを特徴とする請求項21に記載の記録方法。
36. The recording method according to claim 21, wherein said recording medium is a semiconductor memory.
【請求項37】 前記記録媒体は、ディスク状のもので
あることを特徴とする請求項21に記載の記録方法。
37. The recording method according to claim 21, wherein the recording medium is a disk.
【請求項38】 記録領域が、所定のブロック単位で管
理され、データが、並列的に記録される記録媒体であっ
て、 前記データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にする前記ブロックの数の
最小値である最小ブロック数に基づき、1以上の前記ブ
ロックで構成される1以上の並列ブロックを構成するこ
とにより得られる前記並列ブロックを構成する前記ブロ
ックを対象として、前記データが並列的に書き込まれる
ことを特徴とする記録媒体。
38. A recording medium in which a recording area is managed in a predetermined block unit and data is recorded in parallel, and the data is written in one or more blocks in parallel. The blocks constituting the parallel blocks obtained by configuring one or more parallel blocks composed of one or more blocks based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time A recording medium, wherein the data is written in parallel.
【請求項39】 前記最小ブロック数が記録されている
ことを特徴とする請求項38に記載の記録媒体。
39. The recording medium according to claim 38, wherein said minimum number of blocks is recorded.
【請求項40】 前記最小ブロック数は、自身の特性を
表す特性情報に基づいて算出されたものであることを特
徴とする請求項38に記載の記録媒体。
40. The recording medium according to claim 38, wherein said minimum number of blocks is calculated based on characteristic information indicating its own characteristic.
【請求項41】 前記特性情報が記録されていることを
特徴とする請求項40に記載の記録媒体。
41. The recording medium according to claim 40, wherein said characteristic information is recorded.
【請求項42】 前記特性情報は、記録対象のデータを
入力するのに要する時間である入力時間と、前記記録対
象のデータが入力されてから、その記録が終了するまで
の時間であるプログラム時間とを、少なくとも含むこと
を特徴とする請求項40に記載の記録媒体。
42. The characteristic information includes an input time which is a time required for inputting data to be recorded, and a program time which is a time from the input of the data to be recorded to the end of the recording. 41. The recording medium according to claim 40, comprising at least:
【請求項43】 前記最小ブロック数は、前記プログラ
ム時間を、前記入力時間で除算した除算結果以上の最小
の整数に、1を加算した値であることを特徴とする請求
項42に記載の記録媒体。
43. The recording according to claim 42, wherein the minimum number of blocks is a value obtained by adding 1 to a minimum integer equal to or larger than a division result obtained by dividing the program time by the input time. Medium.
【請求項44】 区分けされた複数の記録領域を有して
おり、 前記複数の記録領域それぞれにおける、書き込み可能な
領域である書き込み可能領域の大きさが偏らないよう
に、前記複数の記録領域のうちの2以上から、前記並列
ブロックを構成する前記ブロックが選択され、 そのブロックを対象として、前記データが、並列的に書
き込まれることを特徴とする請求項38に記載の記録媒
体。
44. A plurality of divided recording areas, wherein each of the plurality of recording areas has a writable area, which is a writable area, so that the size of the plurality of recording areas is not biased. 39. The recording medium according to claim 38, wherein the block configuring the parallel block is selected from two or more of the blocks, and the data is written in parallel for the block.
【請求項45】 前記複数の記録領域それぞれにおける
前記書き込み可能領域が管理されており、 その管理内容に基づいて、前記並列ブロックを構成する
前記ブロックが選択されることを特徴とする請求項44
に記載の記録媒体。
45. The writable area in each of the plurality of recording areas is managed, and the blocks constituting the parallel block are selected based on the management contents.
A recording medium according to claim 1.
【請求項46】 前記複数の記録領域それぞれにおい
て、書き込み可能なブロックが物理的に連続する部分で
あるフリーエリア単位で、前記書き込み可能領域が管理
されていることを特徴とする請求項45に記載の記録媒
体。
46. The writable area according to claim 45, wherein in each of the plurality of recording areas, the writable area is managed in a free area unit which is a part where writable blocks are physically continuous. Recording medium.
【請求項47】 前記データを記録することのできる前
記並列ブロックの数以上の数であって、その並列ブロッ
クの数に最も近い数のブロックで構成されるフリーエリ
アが、前記複数の記録領域それぞれから検出され、 その検出されたフリーエリアから、前記並列ブロックを
構成させるものが選択されることを特徴とする請求項4
6に記載の記録媒体。
47. A free area which is equal to or more than the number of the parallel blocks capable of recording the data and which is constituted by the number of blocks closest to the number of the parallel blocks, wherein each of the plurality of recording areas 5. The method according to claim 4, wherein a parallel block is selected from the detected free areas.
7. The recording medium according to 6.
【請求項48】 前記検出されたフリーエリアのうち、
その大きさの大きいものが優先的に選択されることを特
徴とする請求項47に記載の記録媒体。
48. In the detected free area,
48. The recording medium according to claim 47, wherein the recording medium having the larger size is preferentially selected.
【請求項49】 前記複数の記録領域のうち、前記フリ
ーエリアの数の多いもののフリーエリアが優先的に選択
されることを特徴とする請求項47に記載の記録媒体。
49. The recording medium according to claim 47, wherein a free area having a larger number of free areas is preferentially selected from among the plurality of recording areas.
【請求項50】 複数の記録領域それぞれに対応する複
数の記録媒体片で構成されることを特徴とする請求項4
4に記載の記録媒体。
50. A recording medium comprising a plurality of recording medium pieces respectively corresponding to a plurality of recording areas.
5. The recording medium according to 4.
【請求項51】 前記データの記録を行う記録装置に対
して、着脱可能になされていることを特徴とする請求項
38に記載の記録媒体。
51. The recording medium according to claim 38, wherein the recording medium is detachable from a recording device that records the data.
【請求項52】 前記ブロックごとに、その記録内容の
消去が行われるものであることを特徴とする請求項38
に記載の記録媒体。
52. The recording apparatus according to claim 38, wherein the recorded contents are erased for each of said blocks.
A recording medium according to claim 1.
【請求項53】 半導体メモリで構成されていることを
特徴とする請求項38に記載の記録媒体。
53. The recording medium according to claim 38, comprising a semiconductor memory.
【請求項54】 ディスク状に構成されていることを特
徴とする請求項38に記載の記録媒体。
54. The recording medium according to claim 38, wherein the recording medium is configured in a disk shape.
【請求項55】 記録領域が、所定のブロック単位で管
理され、データが、並列的に記録される記録媒体であっ
て、 前記データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にする前記ブロックの数の
最小値である最小ブロック数、またはその最小ブロック
数を求めるのに必要な情報が記録されていることを特徴
とする記録媒体。
55. A recording medium in which a recording area is managed in a predetermined block unit and data is recorded in parallel, and when the data is written in parallel to one or more blocks, A recording medium on which a minimum number of blocks, which is a minimum value of the number of blocks for minimizing a waiting time, or information necessary for obtaining the minimum number of blocks is recorded.
【請求項56】 記録領域が、所定のブロック単位で管
理され、データが、並列的に記録されている記録媒体か
ら、前記データを再生する再生装置であって、 前記データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にする前記ブロックの数の
最小値である最小ブロック数に基づき、1以上の前記ブ
ロックで構成される1以上の並列ブロックを構成するこ
とにより得られる前記並列ブロックを構成する前記ブロ
ックを対象として、前記データが並列的に書き込まれて
いる記録媒体から、前記データを読み出す読み出し手段
を備えることを特徴とする再生装置。
56. A reproducing apparatus for reproducing a data from a recording medium in which a recording area is managed in a predetermined block unit and data is recorded in parallel, wherein the data is stored in one or more blocks. By writing one or more parallel blocks composed of one or more blocks based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time when writing in parallel to A reproducing apparatus, comprising: a reading unit that reads the data from a recording medium on which the data is written in parallel with respect to the blocks constituting the obtained parallel block.
【請求項57】 前記記録媒体は、読み出し専用のもの
であることを特徴とする請求項56に記載の再生装置。
57. The reproducing apparatus according to claim 56, wherein the recording medium is a read-only medium.
【請求項58】 記録領域が、所定のブロック単位で管
理され、データが、並列的に記録されている記録媒体か
ら、前記データを再生する再生方法であって、 前記データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にする前記ブロックの数の
最小値である最小ブロック数に基づき、1以上の前記ブ
ロックで構成される1以上の並列ブロックを構成するこ
とにより得られる前記並列ブロックを構成する前記ブロ
ックを対象として、前記データが並列的に書き込まれて
いる記録媒体から、前記データを読み出すことを特徴と
する再生方法。
58. A reproducing method for reproducing a data from a recording medium in which a recording area is managed in a predetermined block unit and data is recorded in parallel, wherein the data is stored in one or more blocks. By writing one or more parallel blocks composed of one or more blocks based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time when writing in parallel to A reproduction method characterized by reading the data from a recording medium in which the data is written in parallel with respect to the blocks constituting the obtained parallel block.
【請求項59】 記録媒体の記録領域を、所定のブロッ
ク単位で管理して、データを、並列的に記録する記録処
理を行うためのプログラムが記録されているプログラム
記録媒体であって、 前記データを前記記録媒体の1以上のブロックに対して
並列的に書き込む場合に、待ち時間を最小にする前記ブ
ロックの数の最小値である最小ブロック数に基づき、1
以上の前記ブロックで構成される1以上の並列ブロック
を構成する構成ステップと、 前記並列ブロックを構成する前記ブロックを対象とし
て、並列的に、前記データを書き込む書き込みステップ
とを備えるプログラムが記録されていることを特徴とす
るプログラム記録媒体。
59. A program recording medium in which a program for performing a recording process of recording data in parallel by managing a recording area of the recording medium in a predetermined block unit and recording the data in parallel is recorded. Is written in parallel to one or more blocks of the recording medium, based on the minimum number of blocks that is the minimum value of the number of blocks that minimizes the waiting time.
A program comprising: a configuration step of configuring one or more parallel blocks configured by the above blocks; and a writing step of writing the data in parallel with respect to the blocks configuring the parallel blocks is recorded. A program recording medium characterized in that:
【請求項60】 記録領域が、所定のブロック単位で管
理され、データが、並列的に記録されている記録媒体か
ら、前記データを再生する再生処理を行うためのプログ
ラムが記録されているプログラム記録媒体であって、 前記データを、1以上のブロックに対して並列的に書き
込む場合に、待ち時間を最小にする前記ブロックの数の
最小値である最小ブロック数に基づき、1以上の前記ブ
ロックで構成される1以上の並列ブロックを構成するこ
とにより得られる前記並列ブロックを構成する前記ブロ
ックを対象として、前記データが並列的に書き込まれて
いる記録媒体から、前記データを読み出すステップを備
えるプログラムが記録されていることを特徴とするプロ
グラム記録媒体。
60. A program recording apparatus in which a recording area is managed in a predetermined block unit, and a program for performing a reproducing process for reproducing the data from a recording medium in which data is recorded in parallel is recorded. A medium that, when the data is written in parallel to one or more blocks, based on a minimum number of blocks that is a minimum value of the number of blocks that minimizes a waiting time; A program comprising a step of reading the data from a recording medium in which the data is written in parallel with respect to the blocks constituting the parallel blocks obtained by configuring one or more parallel blocks configured A program recording medium characterized by being recorded.
JP11182894A 1998-07-13 1999-06-29 Recording device and method, reproducing device and method, recording medium, and program recording medium Withdrawn JP2000122923A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP11182894A JP2000122923A (en) 1998-07-13 1999-06-29 Recording device and method, reproducing device and method, recording medium, and program recording medium
US09/349,887 US6438086B1 (en) 1998-07-13 1999-07-08 Recording apparatus and method, reproducing apparatus and method, and recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP10-197389 1998-07-13
JP19738998 1998-07-13
JP11182894A JP2000122923A (en) 1998-07-13 1999-06-29 Recording device and method, reproducing device and method, recording medium, and program recording medium

Publications (1)

Publication Number Publication Date
JP2000122923A true JP2000122923A (en) 2000-04-28

Family

ID=26501513

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11182894A Withdrawn JP2000122923A (en) 1998-07-13 1999-06-29 Recording device and method, reproducing device and method, recording medium, and program recording medium

Country Status (1)

Country Link
JP (1) JP2000122923A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002055878A (en) * 2000-08-09 2002-02-20 Sony Corp Data storage device
WO2002046929A1 (en) * 2000-12-06 2002-06-13 Tdk Corporation Method of controlling flash memory
WO2005015406A1 (en) * 2003-08-06 2005-02-17 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card, and accessing device and method
JP2006107379A (en) * 2004-10-08 2006-04-20 Sony Corp Information processor, information processing method and computer program
JP2007517320A (en) * 2003-12-30 2007-06-28 サンディスク コーポレイション Adaptive mode switching of flash memory address mapping based on host usage characteristics
US7433245B2 (en) 2004-03-31 2008-10-07 Matsushita Electric Industrial Co., Ltd. Memory card able to guarantee a recoding rate and memory card system using the memory card
JP2010262507A (en) * 2009-05-08 2010-11-18 Sony Corp Data storage system and method, execution device and control method, and control device and method
JP2011180773A (en) * 2010-02-26 2011-09-15 Toshiba Corp Memory system
US8117380B2 (en) 2003-12-30 2012-02-14 Sandisk Technologies Inc. Management of non-volatile memory systems having large erase blocks
JP2014134998A (en) * 2013-01-11 2014-07-24 Mitsubishi Electric Corp Data recording device and data recording method
JP2014160335A (en) * 2013-02-19 2014-09-04 Mitsubishi Electric Corp Memory management device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4609680B2 (en) * 2000-08-09 2011-01-12 ソニー株式会社 Data storage device
JP2002055878A (en) * 2000-08-09 2002-02-20 Sony Corp Data storage device
WO2002046929A1 (en) * 2000-12-06 2002-06-13 Tdk Corporation Method of controlling flash memory
WO2005015406A1 (en) * 2003-08-06 2005-02-17 Matsushita Electric Industrial Co., Ltd. Semiconductor memory card, and accessing device and method
US8161225B2 (en) 2003-08-06 2012-04-17 Panasonic Corporation Semiconductor memory card, access device and method
JPWO2005015406A1 (en) * 2003-08-06 2006-11-02 松下電器産業株式会社 Semiconductor memory card, access device and access method
JP4647492B2 (en) * 2003-08-06 2011-03-09 パナソニック株式会社 Semiconductor memory card, access device and access method
US8745322B2 (en) 2003-12-30 2014-06-03 Sandisk Technologies Inc. Management of non-volatile memory systems having large erase blocks
US8504798B2 (en) 2003-12-30 2013-08-06 Sandisk Technologies Inc. Management of non-volatile memory systems having large erase blocks
JP2007517320A (en) * 2003-12-30 2007-06-28 サンディスク コーポレイション Adaptive mode switching of flash memory address mapping based on host usage characteristics
US8301826B2 (en) 2003-12-30 2012-10-30 Sandisk Technologies Inc. Adaptive mode switching of flash memory address mapping based on host usage characteristics
US8117380B2 (en) 2003-12-30 2012-02-14 Sandisk Technologies Inc. Management of non-volatile memory systems having large erase blocks
US7433245B2 (en) 2004-03-31 2008-10-07 Matsushita Electric Industrial Co., Ltd. Memory card able to guarantee a recoding rate and memory card system using the memory card
JP4715155B2 (en) * 2004-10-08 2011-07-06 ソニー株式会社 Information processing apparatus, information processing method, and computer program
JP2006107379A (en) * 2004-10-08 2006-04-20 Sony Corp Information processor, information processing method and computer program
JP2010262507A (en) * 2009-05-08 2010-11-18 Sony Corp Data storage system and method, execution device and control method, and control device and method
JP2011180773A (en) * 2010-02-26 2011-09-15 Toshiba Corp Memory system
KR101277382B1 (en) * 2010-02-26 2013-06-20 가부시끼가이샤 도시바 Memory system
US8583856B2 (en) 2010-02-26 2013-11-12 Kabushiki Kaisha Toshiba Memory system
JP2014134998A (en) * 2013-01-11 2014-07-24 Mitsubishi Electric Corp Data recording device and data recording method
JP2014160335A (en) * 2013-02-19 2014-09-04 Mitsubishi Electric Corp Memory management device

Similar Documents

Publication Publication Date Title
JPH1069420A (en) Information recording and reproducing device and information recording and reproducing method
JP2000122923A (en) Recording device and method, reproducing device and method, recording medium, and program recording medium
JPH10269144A (en) Information recording and reproducing method and its device, information providing method and its device, and information recording medium
JP2000057037A (en) Device and method for recording and reproducing and recording medium
JP2000132982A (en) Medium element, apparatus and method for recording information, and apparatus and method for reproducing information
JP2000122917A (en) Recording device, its method, reproducing device, its method, recording medium and program recording medium
US6438086B1 (en) Recording apparatus and method, reproducing apparatus and method, and recording medium
US7882157B2 (en) Content data recording device and recording control method
JP2000057038A (en) Recording device and method, reproducing device and method and recording medium
JP3525734B2 (en) Information recording apparatus and method, information reproducing apparatus and method
US6523105B1 (en) Recording medium control device and method
JP2000132983A (en) Medium element, apparatus and method for recording information, and apparatus and method for reproducing information
US20020059305A1 (en) Information recording apparatus and method, and information reproducing apparatus and method
JP3620241B2 (en) File management apparatus, file management method, recording medium, and file management system
JP3552280B2 (en) Information transfer device and information recording device
EP0860828A2 (en) Recording and reproducing information
US20060002245A1 (en) Content storage apparatus and method, and content storage system
JP4044000B2 (en) Information propagation method, information recording / reproducing apparatus, information propagation program, and recording medium on which the program is recorded
JP4753554B2 (en) Signal reproduction device
JP2001109582A (en) Method and device for transfer, method and device for recording, method and device for reproduction, and recording medium
JP4003709B2 (en) File management apparatus, file management method, and file management system
JP2001109587A (en) Method and device for recording, method and device for reproduction, and recording medium
KR20030008731A (en) Portable device automatically playing assigned file and a method using the same
JP4865207B2 (en) Image recording / playback device
JP2002007179A (en) Information processor and file system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060905