Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4488014B2 - Information processing apparatus, information processing method, and information processing program - Google Patents
[go: Go Back, main page]

JP4488014B2 - Information processing apparatus, information processing method, and information processing program - Google Patents

Information processing apparatus, information processing method, and information processing program Download PDF

Info

Publication number
JP4488014B2
JP4488014B2 JP2007061424A JP2007061424A JP4488014B2 JP 4488014 B2 JP4488014 B2 JP 4488014B2 JP 2007061424 A JP2007061424 A JP 2007061424A JP 2007061424 A JP2007061424 A JP 2007061424A JP 4488014 B2 JP4488014 B2 JP 4488014B2
Authority
JP
Japan
Prior art keywords
information
recording
recording medium
cluster
recorded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007061424A
Other languages
Japanese (ja)
Other versions
JP2007234028A (en
Inventor
淳一 横田
敦雄 岡本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2007061424A priority Critical patent/JP4488014B2/en
Publication of JP2007234028A publication Critical patent/JP2007234028A/en
Application granted granted Critical
Publication of JP4488014B2 publication Critical patent/JP4488014B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Management Or Editing Of Information On Record Carriers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Description

この発明は、例えば、動画情報、静止画情報、テキストデータ等のIT(Information technology)データなどの情報信号を記録媒体に記録したり、記録媒体に記録されている動画情報、静止画情報、ITデータ等の情報信号を再生したりするなどの処理を行う情報処理装置、情報処理方法および情報処理プログラムに関する。   The present invention, for example, records information signals such as moving image information, still image information, and IT (Information technology) data such as text data on a recording medium, or records moving image information, still image information, and IT recorded on the recording medium. The present invention relates to an information processing apparatus, an information processing method, and an information processing program for performing processing such as reproducing information signals such as data.

従来からVTR(Video Tape Recorder)、デジタルVTR、ビデオ・カメラ、デジタル・ビデオ・カメラなど、磁気テープを記録媒体として用いて動画や静止画を記録し、記録した動画や静止画を再生することが可能な情報処理装置(記録再生装置)が数多く提供され、広く用いられている。   Conventionally, video and still images can be recorded using magnetic tape as a recording medium, such as VTR (Video Tape Recorder), digital VTR, video camera, and digital video camera, and the recorded video and still images can be played back. Many possible information processing apparatuses (recording / reproducing apparatuses) are provided and widely used.

近年においては、ハードディスクや半導体メモリなどのランダムアクセスが可能な記録媒体の小型化、記録の高密度化、アクセスの高速化が進み、ハードディスクや半導体メモリなどのランダムアクセスが可能な記録媒体をリムーバブルな大容量記録媒体として用いたハードディスク装置や半導体メモリレコーダなどの情報処理装置も考えられている。   In recent years, recording media capable of random access such as hard disks and semiconductor memories have been downsized, recording density has been increased, and access speed has been increased, and removable mediums such as hard disks and semiconductor memories have become removable. Information processing devices such as hard disk devices and semiconductor memory recorders used as large-capacity recording media are also considered.

ハードディスクや半導体メモリは、磁気テープなどのテープ記録媒体とは異なり、ランダムアクセスが可能であるので、ハードディスクや半導体メモリに動画や静止画を記録した場合には、動画や静止画の編集や加工を容易に行うことができるなどの利点を有し、その利用範囲は広くなってきている。   Unlike tape recording media such as magnetic tape, the hard disk and semiconductor memory can be accessed at random, so if you record a movie or still image on the hard disk or semiconductor memory, you can edit or process the movie or still image. It has the advantage that it can be easily performed, and its range of use has become wide.

そして、記録媒体としてディスク媒体を用いた場合であって、動画と静止画とを記録する場合に、動画を高速で再生することができるようにするために、動画と静止画の記録領域や記録方向を制御するようにする方式が開示されている(例えば、特許文献1参照)。
特開平08−221303号公報
When a disk medium is used as a recording medium and when recording a moving image and a still image, the recording area and recording of the moving image and the still image are recorded so that the moving image can be played back at high speed. A method for controlling the direction is disclosed (for example, see Patent Document 1).
Japanese Patent Laid-Open No. 08-221303

ところで、ハードディスクや半導体メモリなどのランダムアクセスが可能な記録媒体を用いた情報処理装置に対しては、以下に示すような、幾つかの問題点がある。   By the way, there are some problems as described below with respect to an information processing apparatus using a recording medium capable of random access such as a hard disk or a semiconductor memory.

(1)転送レートの問題
ハードディスクや半導体メモリを記録媒体として用いる場合、情報信号(データ)の書き込み時、および、読み出し時には、記録媒体上のアドレスを正確に指示しなければならず、目的とする領域へのデータの記録、目的とする領域からのデータの読み出しに若干の時間が必要になり、動画情報を処理するには転送レートの余裕が十分ではない場合がある。
(1) Transfer rate problem When a hard disk or semiconductor memory is used as a recording medium, the address on the recording medium must be accurately indicated when writing and reading information signals (data). Some time is required for recording data in the area and reading data from the target area, and there is a case where there is not enough transfer rate to process moving picture information.

このため、動画情報の記録時において、動画情報の記録媒体への記録が、動画情報の供給よりも遅い場合には、いわゆるオーバーフロー状態となり、動画情報の正常な記録ができないために記録処理を強制的に終了しなければならない場合が発生する場合があると考えられる。   For this reason, when recording moving image information, if the recording of moving image information onto a recording medium is slower than the supply of moving image information, a so-called overflow state occurs, and the recording process is forced because normal recording of moving image information is not possible. In some cases, it may be necessary to end automatically.

また、動画情報の再生時において、動画情報の再生に動画情報の記録媒体からの読み出しが間に合わない場合には、いわゆるアンダーフロー状態となり、動画情報の正常な再生ができないために再生処理を強制的に終了しなければならない場合が発生する場合があると考えられる。   In addition, when the moving image information is played back, if the moving image information cannot be read out from the recording medium in time, a so-called underflow state occurs, and the moving image information cannot be normally played back. It is considered that there may be a case where it is necessary to end the process.

(2)記録媒体の使用効率の問題
ハードディスクや半導体メモリが大容量であるといっても、その記憶容量は有限であるので、記録媒体の記憶容量を無駄なく利用し、使用効率をできるだけ高くしなければならない。
(2) Problem of recording medium usage efficiency Even though hard disks and semiconductor memories have a large capacity, the storage capacity is limited, so the storage capacity of the recording medium should be used without waste and the usage efficiency should be as high as possible. There must be.

(3)ホストCPU負荷の問題
例えば、動画情報を高速に処理しなければならない場合であっても、情報処理装置の各部を制御するホストCPU(Central Processing Unit)の処理を比較的に容易にし、その負荷を軽減することにより、常に安定して動作し、どのような処理を行う場合であっても、その信頼性を高く維持しなければならない。
(3) Problem of host CPU load For example, even when moving image information has to be processed at high speed, processing of a host CPU (Central Processing Unit) that controls each unit of the information processing apparatus is made relatively easy. By reducing the load, it is necessary to always operate stably and to maintain high reliability regardless of what kind of processing is performed.

(4)他の機器との互換性の問題
ハードディスクや半導体メモリを記録媒体として用いる情報処理装置と、例えば、パーソナルコンピュータとの間で情報の交換を行うようにする場合には、ファイルシステムを同一にするなどの方策を講じる必要が生じ、単純には、情報の交換を行うことはできない。
(4) Compatibility problems with other devices When exchanging information between an information processing device using a hard disk or semiconductor memory as a recording medium and, for example, a personal computer, the file system is the same. It is necessary to take measures such as making it, and simply exchanging information is not possible.

(5)ファイルシステムのインストール
上述の(4)の問題点を解消するために、簡単には、ハードディスクや半導体メモリを記録媒体として用いる情報処理装置で用いているファイルシステムを、例えば、パーソナルコンピュータなどのデータ交換を行おうとする装置にインストールすることが考えられる。しかし、ファイルシステムをインストールする作業は煩わしく、このような対処の仕方は避けたい。
(5) Installation of file system In order to solve the problem (4) described above, a file system used in an information processing apparatus using a hard disk or a semiconductor memory as a recording medium is simply used, for example, a personal computer or the like. It is possible to install it on a device that is going to exchange data. However, installing the file system is cumbersome and you don't want to deal with this.

(6)ファイルシステムの利用
また、ファイルシステムは、ハードディスクや半導体メモリにデータを記録して行く場合には、必ず必要なものであるが、このファイルシステムの構成によっては、ファイルシステムの情報から目的とするデータの記録領域のアドレスを見つけ出す場合にある程度の時間がかかり、書き込み、読み出しの遅延につながる場合もあると考えられる。
(6) Use of file system In addition, a file system is absolutely necessary when data is recorded on a hard disk or a semiconductor memory. It takes a certain amount of time to find the address of the data recording area, which may lead to a delay in writing and reading.

(7)電源遮断時の対応
また、停電その他の原因により、動画情報の記録時において、電源が遮断されてしまった場合には、既に記録済みの動画情報も使用不能になる不都合を生じる場合もあり、このような場合についても十分な対応が必要である。
(7) of the power-off corresponding Also, due to a power failure or other causes, Oite when recording moving picture information, when the power had been shut off, if already caused the recorded video information is also unavailable inconvenience There is also a need for a sufficient response in such cases.

このように、ハードディスクや半導体メモリ等のランダムアクセスが可能な記録媒体を用いる場合には、解決すべき問題点があげられている。そして、近年においては、ハードディスクや半導体メモリを記録媒体として用いた記録再生装置などの種々の情報処理装置の提供が考えられているが、このような情報処理装置の場合には、上述した問題点を確実に解消し、常に安定して動作し、信頼性が高く、使い勝手のよいものの提供が望まれている。   As described above, when a recording medium capable of random access, such as a hard disk or a semiconductor memory, is used, there are problems to be solved. In recent years, it has been considered to provide various information processing apparatuses such as a recording / reproducing apparatus using a hard disk or a semiconductor memory as a recording medium. Therefore, it is desired to provide a product that reliably eliminates the problem, always operates stably, has high reliability, and is easy to use.

以上のことにかんがみ、この発明は、上記問題点を解消し、信頼性が高く、使い勝手のよい情報処理装置、この情報処理装置で用いられる情報処理方法、および、情報処理プログラムを提供することを目的とする。   In view of the above, the present invention provides an information processing apparatus that solves the above-described problems, is highly reliable, and is easy to use, an information processing method used in the information processing apparatus, and an information processing program. Objective.

上記課題を解決するため、請求項1に記載の発明の情報処理装置は、
記録媒体に記録されたファイルを読み出す情報処理装置であって、
前記記録媒体には、前記ファイルを構成する情報信号が記録されたクラスタのリンク関係を示す情報を含むファイル管理テーブルが形成するようにされており、
前記記録媒体に記録する情報信号を一時記憶する記録用バッファ手段と、
前記記録媒体から読み出した再生対象の情報信号を一時記憶する再生用バッファ手段と、
情報信号を前記記録用バッファ手段を介して記録媒体に記録する記録時には、前記記録用バッファ手段の情報信号の蓄積量が所定下限量以下になってから前記記録用バッファ手段の蓄積量が所定上限量以上になるまでの期間に応じて決まる空き時間において、前記記録媒体に記録されている情報信号を前記再生用バッファ手段を介して再生する再生時には、前記再生用バッファ手段の情報信号の蓄積量が所定上限量以上になってから前記再生用バッファ手段の情報信号の蓄積量が所定下限量以下になるまでの期間に応じて決まる空き時間において、前記ファイル管理テーブルを参照し、前記クラスタのリンク関係を示す情報からなるリンク情報テーブルを前記記録媒体以外のメモリに形成するリンク情報テーブル形成手段と、
前記リンク情報テーブルの情報に基づいて、前記情報信号を読み出す読み出し手段を制御する読み出し制御手段と、
を備える。
In order to solve the above problem, an information processing apparatus according to claim 1 is provided.
An information processing apparatus for reading a file recorded on a recording medium,
In the recording medium, a file management table including information indicating a link relation of clusters in which information signals constituting the file are recorded is formed.
Recording buffer means for temporarily storing an information signal to be recorded on the recording medium;
Reproduction buffer means for temporarily storing an information signal to be reproduced read from the recording medium;
During recording for recording information signals on the recording medium via the recording buffer means, the recording storage amount of the accumulated amount the recording buffer means from becoming below a predetermined lower limit amount of the buffer means of information signals on a given At the time of reproduction in which the information signal recorded on the recording medium is reproduced through the reproduction buffer means in the free time determined according to the period until reaching the limit amount, the amount of information signal stored in the reproduction buffer means In the idle time determined according to the period from when the amount of information signal stored in the reproduction buffer means becomes equal to or less than a predetermined lower limit after the value exceeds a predetermined upper limit, the file management table is referred to and the link of the cluster Link information table forming means for forming a link information table comprising information indicating a relationship in a memory other than the recording medium;
A read control means for controlling a read means for reading the information signal based on the information in the link information table;
Is provided.

上記の構成の請求項1に記載の情報処理装置によれば、通常の再生のみならず、早送り、早戻しなどの処理も、リンク情報テーブルの情報に基づいて、迅速かつ正確に実行し、信頼性が高く、使い勝手のよい再生装置としての情報処理装置を実現させることができる。 According to the information processing apparatus of the above-described configuration, not only normal reproduction but also processing such as fast forward and fast reverse are quickly and accurately executed based on the information in the link information table. Therefore, it is possible to realize an information processing apparatus as a playback apparatus that is highly versatile and easy to use.

また、請求項2に記載の発明の情報処理装置は、請求項1に記載の情報処理装置であって、
前記リンク情報テーブル形成手段は、前記空き時間内であって、前記ファイル管理テーブルについての処理可能なデータ量の範囲内において、あるいは、前記リンク情報テーブルを形成するための処理時間の範囲内において、前記リンク情報テーブルを形成するようにする
An information processing apparatus according to a second aspect of the present invention is the information processing apparatus according to the first aspect ,
The link information table forming means is within the free time and within a range of data amount that can be processed for the file management table, or within a range of processing time for forming the link information table. The link information table is formed .

この請求項2に記載の発明の情報処理装置によれば、リンク情報テーブルの形成は、リンク情報テーブル形成手段により、情報信号をリアルタイムに処理する場合の空き時間に行うようにされるが、この場合には、バッファメモリの空き容量を監視するのではなく、バッファメモリの空き容量とは別個に管理可能な他の制限値の範囲内で行うようにされる。 According to the information processing apparatus of the second aspect of the present invention, the link information table is formed in the idle time when the information signal is processed in real time by the link information table forming means. In this case, the free space of the buffer memory is not monitored, but is performed within a range of other limit values that can be managed separately from the free space of the buffer memory.

具体的には、リンク情報テーブルの形成に際しては、(1)予め設定されたファイル管理テーブルについての処理可能なデータ量(アクセスが可能とされたデータ量)の範囲内、あるいは、(2)予め設定されたリンク情報テーブルの形成時間の範囲内、あるいは、(3)実際の空き時間に応じて設定するようにされるファイル管理テーブルについての処理可能なデータ量(空き時間内においてアクセスが可能とされたデータ量)の範囲内、あるいは、(4)実際の空き時間に応じて設定するようにされるリンク情報テーブルの形成時間の範囲内において行うようにされる。   Specifically, when the link information table is formed, (1) within the range of the data amount that can be processed (data amount that can be accessed) for the file management table set in advance, or (2) in advance Within the range of the set link information table formation time, or (3) the amount of data that can be processed for the file management table that is set according to the actual free time (access is possible within the free time) Data amount), or (4) the link information table formation time set according to the actual idle time.

これにより、バッファメモリの空き容量によらず、情報信号のリアルタイム処理を滞らせることなく、リンク情報テーブルの形成処理を閉じた処理とすることができる。つまり、リンク情報テーブルの形成処理に対して、他から割り込みを発生させることもない。   As a result, the link information table forming process can be closed without delaying the real-time processing of the information signal regardless of the free capacity of the buffer memory. That is, no other interrupt is generated for the link information table forming process.

また、請求項3に記載の発明の情報処理装置は、請求項1または請求項2に記載の情報処理装置であって
前記記録媒体以外のメモリに形成された前記リンク情報テーブルを不揮発性記録媒体に退避するようにする退避手段を備える
The information processing apparatus of the invention described in claim 3, claim 1 or claim 2 the non-volatile recording medium the link information table The information processing apparatus formed in the memory other than said recording medium according to Evacuation means is provided for evacuation.

この請求項3に記載の発明の情報処理装置によれば、リンク関係を示す情報は、不揮発性記録媒体に退避するようにされる。これにより、用いる記録媒体が当該情報処理装置から取り外されていないにもかかわらず、電源が投入される都度、リンク関係テーブルを再形成する無駄を省くようにすることができる。 According to the information processing apparatus of the third aspect of the present invention, the information indicating the link relationship is saved in the nonvolatile recording medium. Thereby, it is possible to eliminate waste of re-forming the link relation table every time the power is turned on even though the recording medium to be used is not removed from the information processing apparatus.

この発明によれば、通常の再生のみならず、早送り、早戻しなどの処理も、リンク情報テーブルの情報に基づいて、迅速かつ正確に実行し、信頼性が高く、使い勝手のよい再生装置としての情報処理装置を実現させることができる。   According to the present invention, not only normal playback but also processing such as fast-forward and fast-reverse is executed quickly and accurately based on the information in the link information table, as a playback device that is highly reliable and easy to use. An information processing apparatus can be realized.

以下、図を参照しながらこの発明による情報処理装置、情報処理方法および情報処理プログラムの一実施の形態について説明する。以下に説明する実施の形態においては、ビデオ・カメラ機能を備え、記録媒体としてハードディスク、半導体メモリカードを用いる記録再生装置(デジタル・ビデオ・カメラ)に、この発明による情報処理装置、情報処理方法、情報処理プログラムを適用した場合を例にして説明する。   Hereinafter, an embodiment of an information processing apparatus, an information processing method, and an information processing program according to the present invention will be described with reference to the drawings. In the embodiments described below, a recording / playback apparatus (digital video camera) having a video camera function and using a hard disk as a recording medium and a semiconductor memory card (digital video camera), an information processing apparatus, an information processing method according to the present invention, A case where an information processing program is applied will be described as an example.

[第1の実施の形態](図1〜図7参照)
[記録再生装置の概要]
図1は、この実施の形態の記録再生装置を説明するためのブロック図である。図1に示すように、この実施の形態の記録再生装置は、入力あるいは出力の端部として、デジタル入出力端子1と、デジタル出力端子2と、デジタル入力端子3と、カメラブロック4とを備えている。
[First Embodiment] (See FIGS. 1 to 7)
[Outline of recording and playback device]
FIG. 1 is a block diagram for explaining the recording / reproducing apparatus of this embodiment. As shown in FIG. 1, the recording / reproducing apparatus of this embodiment includes a digital input / output terminal 1, a digital output terminal 2, a digital input terminal 3, and a camera block 4 as input or output ends. ing.

また、図1に示すように、信号の処理系として、3つのスイッチ回路5、7、9と、エンコーダ/デコーダ6と、バッファメモリ8と、メディアコントローラ10を備えている。そして、この実施の形態の記録再生装置は、いわゆるリムーバブルな記録媒体として形成されたハードディスクと半導体メモリカードとが着脱可能とされている。図1の例の場合には、ハードディスク11、半導体メモリカード12が装填するようにされている。   As shown in FIG. 1, the signal processing system includes three switch circuits 5, 7, and 9, an encoder / decoder 6, a buffer memory 8, and a media controller 10. In the recording / reproducing apparatus of this embodiment, a hard disk formed as a so-called removable recording medium and a semiconductor memory card are detachable. In the example of FIG. 1, a hard disk 11 and a semiconductor memory card 12 are loaded.

このように、この実施の形態の記録再生装置は、記録媒体として、ハードディスク、あるいは、半導体メモリカードを用いることができるようにされており、これらの各記録媒体には、1まとまりの情報信号(データ)を1つのファイルとして格納し、これを管理するため、米マイクロソフト社の提供するOS(Operating System)であるWindows(登録商標)等のパーソナルコンピュータのOSで広く用いられ、一般にFAT(File Allocation Table)と呼ばれるファイルシステム(ファイル管理システム)を搭載している。   As described above, the recording / reproducing apparatus of this embodiment can use a hard disk or a semiconductor memory card as a recording medium, and each of these recording media has a single information signal ( Data) is stored as a single file and is managed, and widely used in personal computer OSs such as Windows (registered trademark), which is an OS (Operating System) provided by Microsoft Corporation in the United States. Generally, FAT (File Allocation) is used. A file system (file management system) called Table) is installed.

また、図1に示すように、この実施の形態の記録再生装置の各部を制御するホストCPU(Central Processing Unit)13が設けられている。このホストCPU13には、キー操作部14、ROM(Read Only Memory)、RAM(Random Access Memory)、不揮発性メモリ17が接続されている。   Further, as shown in FIG. 1, a host CPU (Central Processing Unit) 13 for controlling each part of the recording / reproducing apparatus of this embodiment is provided. A key operation unit 14, a ROM (Read Only Memory), a RAM (Random Access Memory), and a nonvolatile memory 17 are connected to the host CPU 13.

ここで、キー操作部14は、使用者からの指示入力を受け付けるためのものであり、再生キー、停止キー、早送りキー、早戻しキー、一時停止キーなどのファンクションキーの他、種々の調整キーなどが設けられているものである。また、ROM15は、プログラムや必要となるデータが格納されているものであり、RAM16は、主に作業領域として用いられるものであり、不揮発性メモリ17は、電源が落とされても保持しておく必要のある各種の設定情報やパラメータなどを記憶保持するためのものである。   Here, the key operation unit 14 is for receiving an instruction input from the user, and includes various adjustment keys in addition to function keys such as a play key, a stop key, a fast forward key, a fast reverse key, and a pause key. Etc. are provided. The ROM 15 stores programs and necessary data, the RAM 16 is mainly used as a work area, and the nonvolatile memory 17 is retained even when the power is turned off. This is for storing and holding various necessary setting information and parameters.

そして、ホストCPU13は、以下に説明するように、キー操作部14を通じて入力されるユーザからの要求に応じて、オーディオ/ビジュアル信号(以下、AVデータという。)のエンコードコード及びデコード制御、バッファ制御、メディアコントローラ制御、スイッチ制御などを行うこととなる。また、ファイルシステムの演算処理もこのホストCPU13によって行われる。   Then, as described below, the host CPU 13 encodes and decodes audio / visual signals (hereinafter referred to as AV data) and controls the buffer in response to a request from the user input through the key operation unit 14. Media controller control, switch control, etc. are performed. The host CPU 13 also performs file system arithmetic processing.

[記録再生装置の記録時と再生時の基本的な信号の流れについて]
次に、この実施の形態の記録再生装置の記録時、再生時の基本な信号の流れについて説明する。まず、基本的な信号の流れの具体的な説明を行う前に、この実施の形態の記録再生装置の記録時および再生時において用いられるFATファイルシステムの概要について説明する。
[Basic signal flow during recording and playback by the recording / playback device]
Next, a basic signal flow during recording and reproduction by the recording / reproducing apparatus of this embodiment will be described. First, an outline of the FAT file system used at the time of recording and reproduction of the recording / reproducing apparatus of this embodiment will be described before a specific description of the basic signal flow.

[FATファイルシステムの概要について]
図2は、この実施の形態の記録再生装置に搭載されたファイルシステムであるFATシステムの概要を説明するための図である。図2Aは、ハードディスクや半導体メモリカードの記憶領域に設けられる情報領域を示す図である。図2Aに示すように、記録媒体には、その先頭から順に、管理情報領域、FAT情報領域、ディレクトリエントリ領域が設けられ、この後にファイル単位に種々の情報信号が記録されるデータ領域が続くようになっている。
[Outline of FAT file system]
FIG. 2 is a diagram for explaining the outline of a FAT system that is a file system mounted in the recording / reproducing apparatus of this embodiment. FIG. 2A is a diagram showing an information area provided in a storage area of a hard disk or a semiconductor memory card. As shown in FIG. 2A, the recording medium is provided with a management information area, a FAT information area, and a directory entry area in order from the top, followed by a data area in which various information signals are recorded in units of files. It has become.

ここで、管理情報領域は、ハードディスクや半導体メモリカードの記憶領域の先頭の1セクタの領域であり、MBR(Master Boot Record)と呼ばれるものである。この管理情報領域に記録される管理情報は、ディスクの容量、クラスタの容量、FAT12/16/32の設定等の記述などからなるものであり、さらにパーティションがある場合は管理情報の後半にパーティション情報が付加されるようにされている。   Here, the management information area is an area of one sector at the head of the storage area of the hard disk or the semiconductor memory card, and is called an MBR (Master Boot Record). The management information recorded in this management information area includes a description of the disk capacity, cluster capacity, FAT12 / 16/32 settings, etc. If there is a partition, the partition information is included in the latter half of the management information. Is added.

管理情報領域に続くFAT情報領域には、FAT情報テーブルが形成される。FAT情報テーブル(以下、FAT情報という。)は、どのクラスタをどの順序で使ってファイルを記録媒体に保存するようにしているかを示すテーブルである。各アドレスはそれぞれのクラスタに対応しており、順番に次にどこのクラスタが使用するようにされているかを示すようにされる。例えば、図2Bに示すようにFAT情報が形成されている場合、02クラスタ→03クラスタ→04クラスタ→05クラスタの順でファイルが保存されていることが分かる。   A FAT information table is formed in the FAT information area following the management information area. The FAT information table (hereinafter referred to as FAT information) is a table indicating which cluster is used in which order and a file is stored on a recording medium. Each address corresponds to each cluster, and in turn indicates which cluster is to be used next. For example, when FAT information is formed as shown in FIG. 2B, it can be seen that files are stored in the order of 02 cluster → 03 cluster → 04 cluster → 05 cluster.

したがって、FAT情報を参照し、FAT情報で指示される通りに情報信号が記録されているデータ領域のクラスタをたどり、そのクラスタに記録されている情報信号を読み出すことにより、図2Cに示すように、1つのファイルの情報信号として記録されている目的とする情報信号の全部(図2Cにおいて丸数字1、2、3、4、…で示した情報)を得て、これを利用することが可能となる。   Therefore, by referring to the FAT information, following the cluster of the data area where the information signal is recorded as indicated by the FAT information, and reading the information signal recorded in the cluster, as shown in FIG. 2C It is possible to obtain and use all the target information signals recorded as information signals of one file (information indicated by circled numbers 1, 2, 3, 4,... In FIG. 2C). It becomes.

なお、FAT情報のデータを何ビットで表すかによって、FAT12(12ビット)、FAT16(16ビット)、FAT32(32ビット)の違いがある。ファイルシステムとしてFATを用いる場合、どんなに小さなファイルでも必ず1クラスタに収められるようにされるが、ビット長が長いほどクラスタを細かく分けることができるため、より効率のよいファイルの保存ができる。   Note that there are differences between FAT12 (12 bits), FAT16 (16 bits), and FAT32 (32 bits) depending on how many bits the FAT information data is represented. When FAT is used as the file system, no matter how small a file can be accommodated in one cluster, the longer the bit length, the more the cluster can be divided, so that the file can be stored more efficiently.

また、図2Aに示したディレクトリエントリ領域には、ファイル名と、そのファイルが保存されている先頭クラスタのアドレス、その他の簡単な情報(記録日時等)を各ファイル32ワードの情報で保存される。このディレクトリエントリ領域に記録される情報を以下においては、単にディレクトリエントリ情報と言う。   In the directory entry area shown in FIG. 2A, the file name, the address of the first cluster where the file is stored, and other simple information (recording date and time) are stored as information of 32 words for each file. . Hereinafter, the information recorded in the directory entry area is simply referred to as directory entry information.

そして、入力された1まとまりの情報信号の記録時においては、FAT情報、ディレクトリエントリ情報を参照して、空きクラスタを探し出し、空きクラスタに情報信号を記録して行くとともに、FAT情報、ディレクトリエントリ情報を適宜更新していくことにより、その1まとまりの情報信号を記録媒体に記録しながら、どのように記録したかを管理することができるようにされる。   At the time of recording a single input information signal, the FAT information and directory entry information are referred to find an empty cluster, and the information signal is recorded in the empty cluster. The FAT information and directory entry information are also recorded. By appropriately updating the information, it is possible to manage how the information signal is recorded while recording the information signal on the recording medium.

また、記録媒体にファイル単位で記録されている1まとまりの情報信号を読み出して再生する場合には、FAT情報、ディレクトリエントリ情報を参照し、ファイルを単位として記録されている目的とする1まとまりの情報信号がどの様に記録媒体に記録されているかの情報を得て、その目的とする1まとまりのデータを適切に読み出して再生することができるようにされる。   In addition, when reading and reproducing a set of information signals recorded in units of files on a recording medium, the FAT information and directory entry information are referred to and a target set of information recorded in units of files is referred to. Information on how the information signal is recorded on the recording medium is obtained, and a desired set of data can be appropriately read and reproduced.

[記録時の情報信号(データ)の流れについて]
次に、この実施の形態の記録再生装置の記録時と再生時とにおける情報信号の流れについて説明する。まず、記録時の情報信号の流れについて説明する。
[Information signal (data) flow during recording]
Next, the flow of information signals during recording and reproduction by the recording / reproducing apparatus of this embodiment will be described. First, the flow of information signals during recording will be described.

図1に示したように、この実施の形態の記録再生装置は、例えばテキストデータや図形データ等のITデータの入出力を行うためのデジタル入出力端子1と、パーソナルコンピュータなどの他の再生装置からの動画情報や静止画情報や音声情報などの入力を受け付けるためのデジタル入力端子3と、画像を撮影するためのカメラブロック4を備えている。   As shown in FIG. 1, the recording / reproducing apparatus of this embodiment includes a digital input / output terminal 1 for inputting / outputting IT data such as text data and graphic data, and another reproducing apparatus such as a personal computer. Are provided with a digital input terminal 3 for receiving input of moving image information, still image information, audio information, and the like, and a camera block 4 for taking an image.

デジタル入出力端子1、デジタル入力端子3、カメラブロック4のうち、どの入力端部を用いるかがユーザによりキー操作部14を通じて選択するようにされる。また、ハードディスク11と半導体記録媒体12のうち、どちらに情報信号を記録するかについても、入力端部の選択の場合と同様に、キー操作部14を通じて使用者が選択することができるようにされる。   The user selects which input end of the digital input / output terminal 1, the digital input terminal 3, and the camera block 4 is to be used through the key operation unit 14. In addition, as with the selection of the input end, the user can select the information signal to be recorded on either the hard disk 11 or the semiconductor recording medium 12 through the key operation unit 14. The

ホストCPU13は、キー操作部14を通じてユーザからの入力端部の選択入力を受け付けると、これに応じて切り換え制御信号をスイッチ回路5とスイッチ回路7とに供給し、これらを切り換えるようにする。また、ホストCPU13は、キー操作部14を通じてユーザからの記録媒体の選択入力を受け付けると、これに応じてメディアコントローラ10を制御し、選択された記録媒体に情報信号を記録するようにする。   When the host CPU 13 receives a selection input of the input end from the user through the key operation unit 14, the host CPU 13 supplies a switching control signal to the switch circuit 5 and the switch circuit 7 in accordance with this and switches them. Further, when the host CPU 13 receives a selection input of the recording medium from the user through the key operation unit 14, the host CPU 13 controls the media controller 10 according to this and records an information signal on the selected recording medium.

以下においては、入力端部として、カメラブロック4が選択された場合、つまり、この実施の形態の記録再生装置が撮影モードとなるようにされた場合であって、かつ、記録媒体としてハードディスク11が選択された場合を例にして、この実施の形態の記録再生装置20の記録時の信号の流れについて説明を進める。   In the following, when the camera block 4 is selected as the input end, that is, when the recording / reproducing apparatus of this embodiment is set to the photographing mode, the hard disk 11 is used as a recording medium. Taking the selected case as an example, the flow of signals during recording by the recording / reproducing apparatus 20 of this embodiment will be described.

この場合、スイッチ回路5、スイッチ回路7は、それぞれ入力端b側に切り換えられる。さらに、ホストCPU13は、スイッチ回路9を入力端b側に切り換え、メディアコントローラ10を通じて、この例の場合には、ハードディスク11上の論理アドレスにアクセスし、図2Aに示したように、ハードディスク11上に形成される管理情報、FAT情報を取得する。ホストCPU13は、管理情報から必要な情報を得て、記録処理の準備を整え、FAT情報に基づいて、空きクラスタ位置を把握する。   In this case, the switch circuit 5 and the switch circuit 7 are each switched to the input terminal b side. Further, the host CPU 13 switches the switch circuit 9 to the input terminal b side, and accesses the logical address on the hard disk 11 in this example through the media controller 10, and as shown in FIG. Management information and FAT information formed in the above are acquired. The host CPU 13 obtains necessary information from the management information, prepares for the recording process, and grasps an empty cluster position based on the FAT information.

カメラブロック4は、図示しないが、レンズ、CCD(Charge Coupled Device)、さらにはマイクロホン等を備え、レンズを通ってきた被写体の画像をCCDによって映像信号に変換するとともに、これをデジタル映像信号に変換し、また、マイクロホン通じて音声を収音してこれを電気信号に変換するとともに、これをデジタル音声信号に変換し、これらデジタル信号からなるAVデータを出力することができるものである。   Although not shown, the camera block 4 includes a lens, a CCD (Charge Coupled Device), a microphone, and the like, and converts an image of a subject passing through the lens into a video signal by the CCD and converts it into a digital video signal. In addition, sound can be picked up through a microphone and converted into an electric signal, which can be converted into a digital sound signal, and AV data composed of these digital signals can be output.

カメラブロック4から出力されたAVデータは、スイッチ回路5を通じてエンコーダ/デコーダ6に供給される。エンコーダ/デコーダ6は、これに供給されたAVデータを、例えば、MPEG(Moving Picture Experts Group)方式などの予め決められた符号化方式で符号化することによりデータ圧縮し、この符号化したAVデータをスイッチ回路7を通じてバッファメモリ回路(以下、単にバッファという。)8に供給する。   AV data output from the camera block 4 is supplied to the encoder / decoder 6 through the switch circuit 5. The encoder / decoder 6 compresses data by encoding the AV data supplied thereto by a predetermined encoding method such as MPEG (Moving Picture Experts Group) method, and the encoded AV data. Is supplied to a buffer memory circuit (hereinafter simply referred to as a buffer) 8 through the switch circuit 7.

バッファ8は、ホストCPU13によって、データの書き込み/読み出しが制御されるものである。したがって、スイッチ回路7からのAVデータは、ホストCPU13の書き込み制御によりバッファ8に書き込まれ、同時に、バッファ8に既に書き込まれているAVデータが読み出される。つまり、この実施の形態の記録再生装置においては、バッファ8を用いることにより、非同期である、この記録再生装置と記録媒体であるハードディスク11との間におけるAVデータについての時間軸補正を行うようにしている。   The buffer 8 is controlled by the host CPU 13 to write / read data. Therefore, the AV data from the switch circuit 7 is written into the buffer 8 by the write control of the host CPU 13 and simultaneously the AV data already written in the buffer 8 is read out. In other words, in the recording / reproducing apparatus of this embodiment, the buffer 8 is used to perform time axis correction on AV data that is asynchronous between the recording / reproducing apparatus and the hard disk 11 that is a recording medium. ing.

なお、記録対象のコンテンツデータ(情報信号)がAVデータ等の動画情報や音声情報からなるリアルタイムデータである場合には、そのコンテンツデータをバッファ8にライト(書き込み)しながらリード(読み出し)していく方式が取られ、いわゆるファースト−イン・ファースト−アウト(First In First Out)形式で使用される。   If the content data (information signal) to be recorded is real-time data composed of moving image information and audio information such as AV data, the content data is read (written) while being written (written) to the buffer 8. Are used in a so-called first-in-first-out format.

この場合、従来の記録再生装置においては、バッファ8がアンダーフロー、あるいは、オーバーフローした場合には情報信号の連続性が途切れて正常な記録が行なわれなくなるが、この実施の形態に記録再生装置は、詳しくは後述するように、このような不具合を生じさせることがないように方策が講じられたものである。   In this case, in the conventional recording / reproducing apparatus, when the buffer 8 underflows or overflows, the continuity of the information signal is interrupted and normal recording is not performed. As will be described in detail later, measures have been taken so as not to cause such problems.

また、カメラブロック4は、動画を撮影することができるだけでなく、ユーザからの指示に応じて、被写体を静止画像として撮影することもできるものである。また、デジタル入力端子3は、動画情報だけでなく、静止画像情報の供給を受けることも可能なものである。   The camera block 4 can not only shoot a moving image but also can shoot a subject as a still image in accordance with an instruction from a user. The digital input terminal 3 can receive not only moving image information but also still image information.

そして、静止画の記録の場合には、コンテンツデータはバッファ8あるいはホストCPU13に接続されたRAM16などに当該コンテンツデータの全てを蓄えてから、記録媒体上に書き込むようにされる。したがって、静止画の記録の場合には、動画のようなリアルタイム処理は必要としない。   In the case of recording a still image, the content data is stored in the buffer 8 or the RAM 16 connected to the host CPU 13 before being written on the recording medium. Therefore, in the case of recording a still image, real-time processing like a moving image is not necessary.

そして、バッファ8からホストCPU13の読み出し制御により読み出されたAVデータは、スイッチ回路9、メディアコントローラ10を通じて、ハードディスク11に供給され、先に把握している空きクラスタの位置に基づき、空き領域に順次に書き込まれるようにされる。なお、このAVデータのハードディスク11への書き込み時においては、ホストCPU13によりスイッチ回路9は、入力端a側に切り換えられるようにされている。   Then, the AV data read from the buffer 8 by the read control of the host CPU 13 is supplied to the hard disk 11 through the switch circuit 9 and the media controller 10, and is stored in the free area based on the position of the free cluster that has been grasped previously. It is made to be written sequentially. When the AV data is written to the hard disk 11, the host CPU 13 switches the switch circuit 9 to the input terminal a side.

また、情報信号の記録時においては、定期的にスイッチ回路9は入力端b側に切り換えられ、ホストCPU13によりFAT情報が更新される。また、AVデータの記録が終了した場合にもスイッチ回路9は入力端b側に切り換えられ、ホストCPU13によりFAT情報およびディレクトリエントリ情報が更新するようにされる。   At the time of recording the information signal, the switch circuit 9 is periodically switched to the input terminal b side, and the FAT information is updated by the host CPU 13. Also, when the recording of AV data is completed, the switch circuit 9 is switched to the input terminal b side so that the FAT information and directory entry information are updated by the host CPU 13.

このようにして、カメラブロック4を通じて取り込むようにされた動画と音声とからなるAVデータは、ハードディスク11の空きクラスタに記録するようにされる。また、デジタル入力端子3を通じて供給される情報信号についても、カメラブロック4を通じて取り込むようにした情報信号と同様に記録処理されることになる。   In this manner, AV data composed of moving images and audio that are captured through the camera block 4 is recorded in an empty cluster of the hard disk 11. Further, the information signal supplied through the digital input terminal 3 is also subjected to recording processing in the same manner as the information signal captured through the camera block 4.

さらに、デジタル入出力端子1を通じて供給されるITデータについては、符号化する必要はないので、スイッチ回路7を通じてバッファ8に供給され、これ以降においては、上述したAVデータの記録処理の場合とほぼ同様に処理されることになる。   Further, since it is not necessary to encode the IT data supplied through the digital input / output terminal 1, it is supplied to the buffer 8 through the switch circuit 7, and after that, almost the same as the case of the AV data recording process described above. The same processing is performed.

また、ここでは、情報信号をハードディスク11に記録する場合を例にして説明した。しかし、半導体メモリカード12に情報信号を記録する場合にもハードディスク11に情報信号を記録する場合とほぼ同様に処理されることになる。   Here, the case where the information signal is recorded on the hard disk 11 has been described as an example. However, when an information signal is recorded on the semiconductor memory card 12, processing is performed in substantially the same manner as when an information signal is recorded on the hard disk 11.

[再生時の情報信号(データ)の流れについて]
次に、この実施の形態の記録再生装置における再生時の信号の流れについて説明する。なお、ここでは、上述したように、ハードディスク11に記録されている情報信号を再生する場合を例にして説明する。
[Information signal (data) flow during playback]
Next, a signal flow during reproduction in the recording / reproducing apparatus of this embodiment will be described. Here, as described above, a case where the information signal recorded on the hard disk 11 is reproduced will be described as an example.

ホストCPU13は、キー操作部14を通じてユーザからの再生指示入力を受け付けると、スイッチ回路9を入力端b側に切り換えるようにし、メディアコントローラ10を通じて、ハードディスク11上の論理アドレスにアクセスし、図2Aに示したように、ハードディスク11上に形成される管理情報、FAT情報、ディレクトリエントリ情報を取得する。   When the host CPU 13 receives a reproduction instruction input from the user through the key operation unit 14, the host CPU 13 switches the switch circuit 9 to the input terminal b side, accesses the logical address on the hard disk 11 through the media controller 10, and FIG. As shown, management information, FAT information, and directory entry information formed on the hard disk 11 are acquired.

そして、ホストCPU13は、取得したディレクトリエントリ情報などの情報に基づき、ハードディスク11に記録されており再生可能なファイルの一覧表を図示しないLCD(Liquid Crystal Display)に表示するなどして、再生するファイルの選択入力を受け付けるようにする。   Then, the host CPU 13 displays a list of files recorded on the hard disk 11 and reproducible based on the acquired information such as directory entry information on an LCD (Liquid Crystal Display) (not shown). Accept selection input.

ホストCPU13は、キー操作部14を通じて再生するファイルの選択入力を受け付けると、取得したディレクトリエントリ、FAT情報から再生すべきファイルのハードディスク11上の記録位置を把握するとともに、そのファイルの種別を得て、スイッチ回路9を入出力端a側に切り換えるとともに、スイッチ回路7をファイルの種別に応じて、入出力端a側、あるいは、入出力端b側に切り換えるようにする。   When the host CPU 13 receives selection input of the file to be played back through the key operation unit 14, the host CPU 13 grasps the recording position of the file to be played back on the hard disk 11 from the acquired directory entry and FAT information, and obtains the type of the file. The switch circuit 9 is switched to the input / output end a side, and the switch circuit 7 is switched to the input / output end a side or the input / output end b side according to the file type.

この後、ホストCPU13は、メディアコントローラ10を制御して、ハードディスク11に記憶されている目的とするファイルから情報信号を読み出すようにし、読み出した情報信号をメディアコントローラ10、スイッチ回路9を介して、バッファ8に書き込む。   Thereafter, the host CPU 13 controls the media controller 10 to read the information signal from the target file stored in the hard disk 11, and the read information signal is passed through the media controller 10 and the switch circuit 9. Write to buffer 8.

バッファ8は、上述もしたように、データの書き込み/読み出しがホストCPU13によって制御され、ハードディスク11から読み出されたデータが書き込まれるとともに、既にバッファ8に書き込まれているデータが読み出される。このバッファ8を用いることにより、記録時の場合と同様に、再生時においても、再生する情報信号について時間軸補正を行うようにしている。   As described above, in the buffer 8, data writing / reading is controlled by the host CPU 13, data read from the hard disk 11 is written, and data already written in the buffer 8 is read. By using this buffer 8, as in the case of recording, time axis correction is performed on the information signal to be reproduced during reproduction.

そして、バッファ8から読み出された情報信号は、それが、テキストデータ等のいわゆるITであるときには、スイッチ回路7は入出力端a側に切り換えられるので、ハードディスク11から読み出されたITデータは、デジタル入出力端子1を通じて出力されることになる。   When the information signal read from the buffer 8 is so-called IT such as text data, the switch circuit 7 is switched to the input / output end a side, so that the IT data read from the hard disk 11 is The signal is output through the digital input / output terminal 1.

また、バッファ8から読み出された情報信号が、ITデータ以外の動画情報や静止画情報であるときには、スイッチ回路7は、入出力端子b側に切り換えられるので、スイッチ回路7を通じてエンコーダ/デコーダ6に供給され、ここで、復号化され、符号化前の元の状態に復元されたAVデータ、静止画像情報が、出力端子2を通じて出力される。   When the information signal read from the buffer 8 is moving image information or still image information other than IT data, the switch circuit 7 is switched to the input / output terminal b side, so that the encoder / decoder 6 is switched through the switch circuit 7. Here, AV data and still image information decoded and restored to the original state before encoding are output through the output terminal 2.

そして、デジタル入出力端子1、あるいは、デジタル出力端子2から出力される情報信号は、例えば、パーソナルコンピュータなどに供給されて、その表示画面に表示するようにされて利用されたり、あるいは、別の記録媒体に記録されたりするなど、種々の方法での利用が可能となるようにされる。 The information signal output from the digital input / output terminal 1 or the digital output terminal 2 is supplied to, for example, a personal computer and displayed on the display screen, or used. It can be used in various ways, such as being recorded on a recording medium.

このように、この実施の形態の記録再生装置においては、ハードディスク11に記録された情報信号を読み出して、これに復号化などの必要な処理を施して、出力し、再生することができるようにしている。   As described above, in the recording / reproducing apparatus of this embodiment, the information signal recorded on the hard disk 11 is read out, and necessary processing such as decoding is performed on the information signal, which can be output and reproduced. ing.

なお、ここでは、ハードディスク11にファイルとして記録された情報信号を再生する場合を例にして説明した。しかし、半導体メモリカード12にファイルとして記録されている情報信号を再生する場合もほぼ同様に処理されることになる。   Here, the case where the information signal recorded as a file on the hard disk 11 is reproduced has been described as an example. However, when an information signal recorded as a file on the semiconductor memory card 12 is reproduced, the same processing is performed.

また、図1には図示していないが、この実施の形態の記録再生装置は、上述もしたように、比較的に表示画面の大きなLCDおよびLCDコントローラを備え、選択項目などの必要な情報や種々のメッセージなどを表示することができるほか、上述したように、ハードディスク11や半導体メモリカード12から読み出された情報信号に応じた再生画像を表示するようにしたり、また、カメラブロック4を通じて撮影するようにしている画像を表示したりすることもできるようにされている。   Although not shown in FIG. 1, the recording / reproducing apparatus of this embodiment includes an LCD and an LCD controller having a relatively large display screen as described above, and includes necessary information such as selection items and the like. In addition to displaying various messages, as described above, a reproduced image corresponding to the information signal read from the hard disk 11 or the semiconductor memory card 12 can be displayed, or photographed through the camera block 4. It is also possible to display images that are intended to be displayed.

このように、この実施の形態の記録再生装置は、動画情報、静止画情報、ITデータ等の供給を受け、これらを着脱可能とされたハードディスク11や半導体メモリカード12に記録し、これらに記録した情報信号を読み出して再生するようにすることができるものである。この場合、FATファイルシステムを利用することにより、ファイルとして記録される1まとまりの情報信号毎の管理を容易に行うことができるようにしている。   As described above, the recording / reproducing apparatus according to the present embodiment receives supply of moving image information, still image information, IT data, etc., records them on the removable hard disk 11 or semiconductor memory card 12, and records them on them. The read information signal can be read out and reproduced. In this case, by using the FAT file system, it is possible to easily manage each information signal recorded as a file.

また、記録媒体としてのハードディスク11、半導体メモリカード12は、着脱可能であるので、アダプタを介して、または、直接、パーソナルコンピュータなどの他の電子機器に接続され、データ交換が可能とされている。なお、ここで、データ交換は、当該記録再生装置で記録されたAVデータ等の各種の情報信号のパーソナルコンピュータなどの他の電子機器での再生、あるいは、パーソナルコンピュータなどの他の電子機器で記録された各種の情報信号の当該記録再生装置での再生を意味するものである。   Further, since the hard disk 11 and the semiconductor memory card 12 as recording media are detachable, they can be exchanged through an adapter or directly connected to another electronic device such as a personal computer. . Here, data exchange refers to reproduction of various information signals such as AV data recorded by the recording / reproducing apparatus on other electronic devices such as a personal computer, or recording on other electronic devices such as a personal computer. This means that the various recorded information signals are reproduced by the recording / reproducing apparatus.

[記録対象データに応じた記録方式の選択]
上述したように、この実施の形態の記録再生装置は、動画情報や静止画情報やテキストデータ等のITデータを処理することができるものである。しかし、動画像情報をリアルタイムに処理するためには、記録時および再生時におけるデータの転送レートを十分に早くしなければならない。
[Select recording method according to the data to be recorded]
As described above, the recording / reproducing apparatus of this embodiment can process IT data such as moving image information, still image information, and text data. However, in order to process moving image information in real time, the data transfer rate at the time of recording and reproduction must be sufficiently high.

しかし、そのためにホストCPU13の負荷が大きくなったのでは好ましくない。また、転送レートを早くするために、ハードディスク11、半導体メモリカード12の記憶領域が有効に活用できなくなるとすれば、好ましくない。そこで、この実施の形態の記録再生装置においては、動画情報と、それ以外の静止画情報、ITデータとでは、記録の方式を異ならせるようにしている。   However, it is not preferable that the load on the host CPU 13 is increased for that purpose. Further, it is not preferable if the storage areas of the hard disk 11 and the semiconductor memory card 12 cannot be effectively used in order to increase the transfer rate. Therefore, in the recording / reproducing apparatus of this embodiment, the recording method is different between the moving image information and the other still image information and IT data.

FATファイルシステムは記録最小単位をクラスタとするものであり、このFATファイルシステムを用いる場合には、「一般型」、「格子型」、「詰め込み型」の3つの記録方式の利用が考えられる。   The FAT file system has a minimum recording unit as a cluster. When this FAT file system is used, it is conceivable to use three recording methods of “general type”, “grid type”, and “stuffing type”.

「一般型」は、通常のFATファイルシステムのとおり、クラスタ単位で記録を行うようにするものである。パーソナルコンピュータでは、「一般型」として処理を行うようにされている。   The “general type” performs recording in units of clusters as in a normal FAT file system. In a personal computer, processing is performed as a “general type”.

また、「格子型」は、複数クラスタをまとめて1つのブロックとして扱う方式の1つであり、予め記録媒体を碁盤の目のように同じサイズに規則的にブロック分割するようにし、このブロック単位で記録を行うようにするものである。したがって、ブロックは規則的に記録媒体上に形成されるので、各ブロックの記録媒体上の正確な位置を常に正確に把握することができるようにされる。   “Lattice type” is one of a method of handling a plurality of clusters as one block, and the recording medium is regularly divided into blocks of the same size like a grid, and this block unit. It is intended to record with. Therefore, since the blocks are regularly formed on the recording medium, the exact position of each block on the recording medium can be always grasped accurately.

また、「詰め込み型」は、複数クラスタをまとめて1つのブロックとして扱う方式の1つであり、指定のクラスタ数の連続空き領域があれば、そこを使用可能ブロックとして情報信号の記録に用いることができるものである。したがって、この「詰め込み型」の場合には、「格子型」の場合と異なり、記録時において、ブロックを構成する予め決められた個数分の連続する空きクラスタを検出しなければならないことになる。   The “packing type” is one of a method of handling a plurality of clusters as one block, and if there is a continuous free area of a designated number of clusters, it is used as an available block for recording an information signal. It is something that can be done. Therefore, in the “packed type”, unlike the “grid type”, it is necessary to detect a predetermined number of consecutive free clusters constituting a block at the time of recording.

図3は、「一般型」、「格子型」、「詰め込み型」のそれぞれについて説明するための図であり、8クラスタを1ブロックとして扱う場合の例を示している。図3において、ブロックa、b、c、d、e、f、…は、記録方式として「格子型」を用いる場合の規則的に設けられたブロックに相当する。   FIG. 3 is a diagram for explaining each of the “general type”, “grid type”, and “packing type”, and shows an example in which 8 clusters are handled as one block. In FIG. 3, blocks a, b, c, d, e, f,... Correspond to regularly provided blocks when the “grid type” is used as the recording method.

そして、上述もしたように、「一般型」は、1クラスタ単位で記録を行うものであり、図3Aにおいて、黒く塗りつぶした部分であるブロックaの前4クラスタ分、ブロックbの後4クラスタ分、ブロックcの前2クラスタ分、ブロックeの前から4番目のクラスタから3クラスタ分が「一般型」により既に情報信号が書き込まれているとする。   As described above, the “general type” is recorded in units of one cluster. In FIG. 3A, the black clusters are the four clusters before block a and the four clusters after block b. It is assumed that information signals are already written in “general type” for two clusters before block c and three clusters from the fourth cluster before block e.

この図3Aの状態にある場合、「格子型」で情報信号を記録しようとすれば、規則的に8クラスタずつに分けられたブロックa、b、c、d、e、f、…単位で空きブロックを見つけなければならない。この場合には、図3Bに示すように、ブロックa、b、c、eは空きクラスタはあるものの使用されているクラスタがあるために、使用済ブロックであり、「格子型」によっては利用できない。しかし、ブロックd、ブロックfは、使用されているクラスタはないので、「格子型」による利用が可能となる。   In the state of FIG. 3A, if an information signal is to be recorded in the “lattice type”, the blocks a, b, c, d, e, f,... Regularly divided into eight clusters are vacant. Must find a block. In this case, as shown in FIG. 3B, the blocks a, b, c, and e are used blocks because there are free clusters, but are not used depending on the “grid type”. . However, since the blocks d and f do not have any clusters used, the “lattice type” can be used.

つまり、「格子型」の場合、図3Bに示したように、ブロック分割は、規則的に一意に決められ、以後ブロックの境界が変化することはない。ブロック単位での記録を行う場合には、ブロック内の全てのクラスタが空きである場合のみ、そのブロックは記録可能であるとし、1クラスタでも使用済みであれば、そのブロックは記録不可能として扱うようにする。   That is, in the case of the “grid type”, as shown in FIG. 3B, the block division is regularly and uniquely determined, and the boundary of the block does not change thereafter. When recording is performed in block units, the block can be recorded only when all the clusters in the block are empty, and if one cluster has been used, the block is treated as unrecordable. Like that.

また、「詰め込み型」で情報信号を記録しようとする場合には、連続して8クラスタが空きとなっており、1ブロックの空き領域として利用可能な部分のみを利用する。したがって、この「詰め込み型」で情報信号を記録して行く場合には、図3Cに示すように、ブロックの境界が、ハードディスクなどの記録媒体の使用状況に応じて変化することになる。   Further, when an information signal is to be recorded in the “packing type”, 8 clusters are continuously vacant, and only a portion that can be used as an empty area of one block is used. Therefore, when the information signal is recorded in this “stuffing type”, the boundary of the block changes according to the use state of the recording medium such as a hard disk as shown in FIG. 3C.

そして、「一般型」で情報信号を記録しようとする場合には、1クラスタ単位で記録があるので、図3Aに示した使用済み部分を除く、未使用クラスタ部分の全部を情報信号の記録に用いることができるようにされる。   When recording an information signal in the “general type”, since recording is performed in units of one cluster, all unused cluster portions except for the used portion shown in FIG. 3A are recorded in the information signal. Can be used.

このように、「格子型」あるいは「詰め込み型」でブロック単位での記録を行う場合には、ブロック内の全てのクラスタが空きである場合のみ、そのブロックは記録可能であるとし、1クラスタでも使用済みであれば、そのブロックには情報信号の記録が不可能であるとして取り扱う。   As described above, when recording is performed in units of blocks in the “grid type” or “packed type”, the block can be recorded only when all the clusters in the block are empty, and even one cluster can be recorded. If it has been used, it is treated that information signals cannot be recorded in the block.

そして、図3を用いて説明した記録方式である「一般型」、「格子型」、「詰め込み型」のそれぞれの特徴について、図4に示すようにまとめることができる。図4の「一般型」の欄に示したように、「一般型」の記録方式の場合には、クラスタ単位の記録処理となるために、動画情報などのリアルタイムデータの記録に際しては転送レートを十分に稼ぐことができずに、不具合を生じる場合があり、厳しく判断すれば、リアルタイムデータの記録は不可能となる。   Then, the characteristics of the “general type”, “grid type”, and “packing type” which are the recording methods described with reference to FIG. 3 can be summarized as shown in FIG. As shown in the “general type” column of FIG. 4, in the case of the “general type” recording method, since the recording process is performed in units of clusters, the transfer rate is set when recording real-time data such as moving image information. Insufficient earning may cause problems, and if judged strictly, real-time data cannot be recorded.

また、「一般型」の記録方式の場合には、クラスタ単位の処理となるために、処理時間は比較的に大きくなるが、記録単位が記録最小単位であるクラスタ単位であるために、記録媒体の使用効率は高いといえる。そして、パーソナルコンピュータで記録されたAVデータなどのコンテンツを記録再生装置にて再生することを考慮すると、パーソナルコンピュータでの記録は「一般型」で行なわれているため、記録再生装置においては、「一般型」で記録されたAVデータなどのコンテンツの再生機能は必須となる。   Further, in the case of the “general type” recording method, since the processing is performed in cluster units, the processing time is relatively long. However, since the recording unit is a cluster unit which is the minimum recording unit, It can be said that the use efficiency of is high. Considering that content such as AV data recorded by a personal computer is played back by a recording / playback device, the recording by the personal computer is performed in a “general type”. A function for reproducing content such as AV data recorded in the “general type” is indispensable.

また、図4の「格子型」の欄に示したように、「格子型」の記録方式の場合には、規則的に一意に決められるブロック単位(連続するブロック単位)に記録処理を行うため、ホストCPUの処理を比較的に容易にすることができるとともに、転送レートを高くすることができるので動画情報などのリアルタイムデータに不連続点を発生させることなく記録媒体に記録することは十分に可能である。また、「格子型」の記録方式の場合には、ブロック単位の処理となるために、処理時間も比較的に短い(処理時間小)。   Further, as shown in the “grid type” column of FIG. 4, in the case of the “grid type” recording method, the recording process is performed in block units (contiguous block units) that are regularly and uniquely determined. Since the processing of the host CPU can be made relatively easy and the transfer rate can be increased, it is sufficient to record on a recording medium without causing discontinuities in real-time data such as moving image information. Is possible. In addition, in the case of the “grid type” recording method, since processing is performed in units of blocks, the processing time is relatively short (processing time is short).

しかし、規則的に一意に決められるブロック内のすべてのクラスタが未使用でなければならず、ブロックを構成するクラスタの1つでも使用済みである場合にはそのブロックは使用できなくなるため、記録媒体の使用効率は低いと言わざるを得ない。   However, since all the clusters in the block uniquely determined regularly must be unused, and even if one of the clusters constituting the block is already used, the block cannot be used. It must be said that the use efficiency of is low.

また、パーソナルコンピュータで記録されたコンテンツを記録再生装置にて再生する場合には、パーソナルコンピュータでの記録は「一般型」で行なわれているため、記録再生装置に「格子型」の再生機能を搭載しただけでは不十分であり、記録再生装置への「一般型」の再生機能の搭載は必須となる。   In addition, when the content recorded by the personal computer is played back by the recording / playback apparatus, since the recording by the personal computer is performed in the “general type”, the recording / playback apparatus has a “grid type” playback function. It is not sufficient to simply install it, and it is essential to install a “general” playback function in the recording / playback apparatus.

また、図4の「詰め込み型」の欄に示したように、「詰め込み型」の記録方式の場合には、「格子型」の記録方式の場合のように、規則的に一意に決められるブロック単位(連続するブロック単位)に記録処理を行うのではないが、記録単位は「格子型」の場合と同様にブロック単位であるため、ホストCPUの処理を比較的に容易にすることができるとともに、転送レートを高くすることができるので動画情報などのリアルタイムデータに不連続点を発生させることなく記録媒体に記録することは十分に可能である。   Further, as shown in the “packing type” column of FIG. 4, in the case of the “packing type” recording method, the block is uniquely determined regularly as in the case of the “grid type” recording method. Although the recording process is not performed in units (consecutive block units), since the recording unit is a block unit as in the “grid type”, the processing of the host CPU can be made relatively easy. Since the transfer rate can be increased, it is possible to record on a recording medium without causing discontinuities in real-time data such as moving image information.

しかし、「詰め込み型」の記録方式の場合には、複数の連続するクラスタからなる空きブロックを検出するようにしなければならないので、処理時間は「格子型」に比べると長くなる。つまり処理時間大となる。また、「詰め込み型」の場合には、「格子型」の場合のように、空きブロックの境界が規制されないので、記録媒体の使用効率は、「一般型」と「格子型」との間の中程度であるといえる。   However, in the case of the “packing type” recording method, it is necessary to detect an empty block composed of a plurality of continuous clusters, so that the processing time is longer than that of the “grid type”. That is, the processing time becomes long. In the case of the “packing type”, the boundary of empty blocks is not restricted as in the case of the “lattice type”, so the usage efficiency of the recording medium is between the “general type” and the “grid type”. It can be said to be moderate.

また、パーソナルコンピュータで記録されたコンテンツを記録再生装置にて再生する場合には、パーソナルコンピュータでの記録は「一般型」で行なわれているため、記録再生装置に「詰め込み型」の再生機能を搭載しただけでは不十分であり、記録再生装置への「一般型」の再生機能の搭載は必須となる。   In addition, when content recorded by a personal computer is played back by a recording / playback apparatus, since the recording by the personal computer is performed in a “general type”, the recording / playback apparatus has a “packing type” playback function. It is not sufficient to simply install it, and it is essential to install a “general” playback function in the recording / playback apparatus.

以上のことを総合的に考え合わせると、動画情報などのリアルタイムデータを記録する場合には「格子型」の記録方式を用い、静止画情報やITデータを記録する場合には「一般型」の記録方式を用いるというように、記録方式を使い分けることにより、転送レートを高くし、ホストCPUの負荷を軽減するとともに、記録媒体の利用効率を高め、しかもパーソナルコンピュータなどとの情報信号(データ)の交換の容易性(互換性)を高めることができる。   Considering the above comprehensively, the “grid type” recording method is used when recording real-time data such as video information, and the “general type” is used when recording still image information and IT data. By using different recording methods, such as using a recording method, the transfer rate is increased, the load on the host CPU is reduced, the utilization efficiency of the recording medium is increased, and the information signal (data) with a personal computer or the like is transmitted. Ease of exchange (compatibility) can be improved.

また、パーソナルコンピュータなどとのデータの交換を想定した場合、この実施の形態の記録再生装置においても、パーソナルコンピュータと同じファイルシステムを用いているので、ファイルシステムのインストールなどの面倒な手間も発生することがないのである。   Also, assuming data exchange with a personal computer or the like, the recording / reproducing apparatus of this embodiment also uses the same file system as that of the personal computer, so that troublesome work such as installation of the file system also occurs. There is nothing.

このため、この実施の形態の記録再生装置においては、記録方式として、「格子型」と「一般型」とを動画情報とそれ以外の情報信号を記録する場合とで使い分けるようにしている。図5は、記録方式として、「格子型」と「一般型」とを使い分ける場合について説明するための図である。   For this reason, in the recording / reproducing apparatus of this embodiment, the “grid type” and the “general type” are selectively used as recording methods for recording moving image information and other information signals. FIG. 5 is a diagram for explaining a case where “grid type” and “general type” are selectively used as recording methods.

図5に示すように、この実施の形態の記録再生装置においては、自機に装填されたハードディスク、半導体メモリカードの記憶領域に、あらかじめ規則的に一意に決められるブロックを、ブロックa、b、c、d、e、f、…、に示すように多数割り当てておくようにする。なお、図5に示した例の場合にも、1ブロックは、8クラスタからなるものとしている。   As shown in FIG. 5, in the recording / reproducing apparatus of this embodiment, blocks a, b, Many are assigned as shown in c, d, e, f,. In the case of the example shown in FIG. 5, one block is composed of 8 clusters.

この図5に示した例の場合、黒く塗りつぶされた部分、すなわち、ブロックaの前2クラスタ分、ブロックbの後4クラスタ分、ブロックcの前4クラスタ分が、既に「一般型」の記録方式により、静止画情報などが記録された使用済みクラスタである。したがって、ブロック単位に考えると、図5Aに示したように、ブロックa、b、cは、使用済ブロックとなる。   In the case of the example shown in FIG. 5, the black-colored portions, that is, two clusters before block a, four clusters after block b, and four clusters before block c are already recorded as “general type”. A used cluster in which still image information and the like are recorded according to a method. Therefore, when considered in units of blocks, as shown in FIG. 5A, the blocks a, b, and c are used blocks.

そして、動画情報や音声情報を含み、そのデータ量が膨大となるリアルタイムデータであるAVデータを記録しようとする場合には、この実施の形態の記録再生装置の場合には、「格子型」の記録方式で記録を行うため、図5Aに示したように、ブロックd以降にブロック単位に記録して行くことになる。   When recording AV data, which is real-time data that includes moving image information and audio information, and whose data amount is enormous, in the case of the recording / reproducing apparatus of this embodiment, the “grid type” Since recording is performed by the recording method, recording is performed in block units after the block d as shown in FIG. 5A.

このように、「格子型」の記録方式を用いることにより、転送レートを高く確保し、リアルタイムデータについて、不連続点を発生させることなく、連続して適正に記録することができるとともに、前述もしたように、処理時間を短くすることができるなど、ホストCPUの負荷を軽減することが可能となる。   In this way, by using a “grid type” recording method, a high transfer rate can be secured, and real-time data can be recorded properly continuously without causing discontinuities. As described above, it is possible to reduce the load on the host CPU, such as shortening the processing time.

しかし、このままでは、使用済ブロックとされたブロックa、b、cの未使用クラスタは使用されないので、記録媒体の利用効率が低下する恐れもある。   However, in this state, the unused clusters of the blocks a, b, and c that have been used blocks are not used, and the utilization efficiency of the recording medium may be reduced.

そこで、この実施の形態の記録再生装置の場合には、データ量が比較的に少ない静止画情報やITデータについては、図5Bに示すように、基本的な記録方式である「一般型」を用いて記録するようにする。これにより、この例の場合には、ブロックa、b、cの空きクラスタに静止画情報やITデータを記録することができるようにされる。これにより、使用済みブロック内の未使用クラスタの発生を低減させ、記録媒体の使用効率を高めることができるのである。   Therefore, in the case of the recording / reproducing apparatus of this embodiment, for still image information and IT data with a relatively small amount of data, as shown in FIG. Use to record. As a result, in this example, still image information and IT data can be recorded in empty clusters of blocks a, b, and c. As a result, the occurrence of unused clusters in the used blocks can be reduced, and the usage efficiency of the recording medium can be increased.

[記録、再生動作について]
上述のように、記録方式として、「格子型」と「一般型」とを使い分けるこの実施の形態の記録時の動作と、「格子型」と「一般型」とが使い分けられて記録媒体に記録された情報信号の再生時の動作について、図6、図7のフローチャートを参照しながら説明する。
[Recording and playback operations]
As described above, the recording operation of this embodiment, which uses “grid type” and “general type” as the recording method, and “grid type” and “general type” are used separately to record on the recording medium. The operation at the time of reproducing the information signal will be described with reference to the flowcharts of FIGS.

[記録時の動作について]
図6は、この実施の形態の記録再生装置の記録時の動作を説明するためのフローチャートである。前述もしたように、用いる入力端と記録媒体とが選択されると、ホストCPU13は、図6に示す処理を実行する。まず、ホストCPU13は、スイッチ回路9、メディアコントローラ10を通じて、指示された記録媒体のファイル管理テーブル、すなわちFAT情報を参照し、空きクラスタ情報を取得する(ステップS101)。
[Operation during recording]
FIG. 6 is a flowchart for explaining the operation at the time of recording of the recording / reproducing apparatus of this embodiment. As described above, when the input terminal to be used and the recording medium are selected, the host CPU 13 executes the processing shown in FIG. First, the host CPU 13 refers to the file management table of the instructed recording medium, that is, FAT information, through the switch circuit 9 and the media controller 10, and acquires free cluster information (step S101).

そして、ホストCPU13は、キー操作部14を通じて、記録開始指示入力を受け付けるようにし(ステップS102)、記録開始指示入力を受け付けたか否かを判断する(ステップS103)。ステップS103の判断処理において、記録開始指示入力を受け付けていないと判断したときには、ホストCPU13は、ステップS102からの処理を繰り返すようにする。   Then, the host CPU 13 receives a recording start instruction input through the key operation unit 14 (step S102), and determines whether or not a recording start instruction input has been received (step S103). If it is determined in step S103 that the recording start instruction input has not been received, the host CPU 13 repeats the processing from step S102.

ステップS103の判断処理において、記録開始指示入力を受け付けたと判断したときには、ホストCPU13は、使用者からの入力端の選択指示および供給された情報信号のヘッダなどの情報に基づいて、記録処理しようとしている情報信号は、動画情報を含むものか、動画情報ではなく、静止画情報やITデータであるか否かを判断する(ステップS104)。   If it is determined in step S103 that the recording start instruction input has been received, the host CPU 13 attempts to perform the recording process based on information such as an input end selection instruction from the user and a header of the supplied information signal. It is determined whether the received information signal includes moving image information, or is not moving image information but still image information or IT data (step S104).

ステップS104の判断処理において、記録しようとしている情報信号が、動画情報、あるいは、AVデータ等のリアルタイムデータであると判断したときには、ホストCPU13は、ステップS101において取得した空きクラスタ情報から「格子型」の記録方式に従い、予め規則的に設けるようにされるブロックであって、ブロックを構成するクラスタが全て空きクラスタである空きブロックを検出する(ステップS105)。   When it is determined in step S104 that the information signal to be recorded is real-time data such as moving image information or AV data, the host CPU 13 determines “lattice type” from the free cluster information acquired in step S101. In accordance with the recording method, a block that is regularly provided in advance and in which all the clusters constituting the block are free clusters is detected (step S105).

そして、ホストCPU13は、エンコーダ/デコーダ6、バッファ8、メディアコントローラ10、その他関連するスイッチ回路を制御し、空きブロック単位に動画情報などのリアルタイムデータの記録を開始する(ステップS106)。この後、ホストCPU13は、キー操作部14を通じて、使用者からの記録終了指示入力を受け付けるようにし(ステップS107)、記録終了指示入力を受け付けたか否かを判断する(ステップS108)。   Then, the host CPU 13 controls the encoder / decoder 6, the buffer 8, the media controller 10, and other related switch circuits, and starts recording real-time data such as moving image information in units of empty blocks (step S106). Thereafter, the host CPU 13 receives a recording end instruction input from the user through the key operation unit 14 (step S107), and determines whether or not a recording end instruction input has been received (step S108).

ステップS108の判断処理において、記録終了指示入力を受け付けていないと判断したときには、ホストCPU13は、ステップS107からの処理を行うようにする。ステップS108の判断処理において、使用者から記録終了指示入力を受け付けたと判断したときには、ファイル管理テーブルであるFAT情報およびディレクトリエントリ情報を更新し(ステップS112)、この図6に示す処理を終了する。   If it is determined in step S108 that a recording end instruction input has not been received, the host CPU 13 performs the processing from step S107. If it is determined in step S108 that a recording end instruction input has been received from the user, the FAT information and directory entry information, which are file management tables, are updated (step S112), and the processing shown in FIG. 6 ends.

ステップS104の判断処理において、記録しようとしている情報信号が、静止画情報、あるいは、ITデータであると判断したときには、ホストCPU13は、ステップS101において取得した空きクラスタ情報から「一般型」の記録方式に従い、空きクラスタを検出する(ステップS109)。   When it is determined in step S104 that the information signal to be recorded is still image information or IT data, the host CPU 13 determines the “general type” recording method from the free cluster information acquired in step S101. Accordingly, a free cluster is detected (step S109).

そして、ホストCPU13は、エンコーダ/デコーダ6、バッファ8、メディアコントローラ10、その他関連するスイッチ回路を制御し、空きクラスタ単位に静止画情報やITデータの記録を開始する(ステップS110)。この後、ホストCPU13は、静止画情報、ITデータの記録を終了したか否かを判断する(ステップS111)。   Then, the host CPU 13 controls the encoder / decoder 6, the buffer 8, the media controller 10, and other related switch circuits, and starts recording still image information and IT data for each empty cluster (step S110). Thereafter, the host CPU 13 determines whether or not the recording of the still image information and the IT data is finished (step S111).

ステップS111の判断処理において、静止画情報等の記録が終了していないと判断したときには、ステップS111の処理を繰り返し、当該記録が終了するまで待ち状態となる。ステップS111の判断処理において、静止画情報等の記録が終了したと判断したときには、ホストCPU13は、ファイル管理テーブルであるFAT情報およびディレクトリエントリ情報を更新し(ステップS112)、この図6に示す処理を終了する。   If it is determined in step S111 that the recording of still image information or the like has not been completed, the processing in step S111 is repeated and the process waits until the recording is completed. If it is determined in step S111 that recording of still image information or the like has been completed, the host CPU 13 updates the FAT information and directory entry information that are file management tables (step S112), and the processing shown in FIG. Exit.

このように、情報量が多く、リアルタイムに処理しなければならない動画情報やAVデータを記録媒体に記録する場合には、「格子型」の記録方式で記録するようにし、動画情報などのリアルタイムデータ以外の情報については、「一般型」の記録方式で記録するようにする。   As described above, when moving image information or AV data that has a large amount of information and must be processed in real time is recorded on a recording medium, it is recorded in a “grid type” recording method, and real-time data such as moving image information is recorded. Information other than is recorded in the “general type” recording method.

これにより、上述もしたように、動画情報などのリアルタイムデータを記録する場合には、十分に転送レートを高くすることができるので、リアルタイムデータの不連続を発生させることがなく、また、規則的に設けられるブロック単位の記録により、ホストCPUの負荷をも軽減することができる。しかも、記録方式として、「格子型」と「一般型」とを使い分けることにより記録媒体を効率的に利用することも可能となる。   Thus, as described above, when recording real-time data such as moving image information, the transfer rate can be sufficiently increased, so that real-time data discontinuity does not occur and regular The load of the host CPU can also be reduced by the block unit recording provided in. In addition, the recording medium can be used efficiently by properly using “grid type” and “general type” as recording methods.

[再生時の動作について]
次に、再生時の動作について説明する。図7は、この実施の形態の記録再生装置の再生時の動作を説明するためのフローチャートである。キー操作部14を通じて記録再生装置を再生モードにするようにする操作を受け付けると、ホストCPU13は、図7に示す処理を開始し、管理情報、ファイル管理テーブルであるFAT情報、ディレクトリエントリ情報を読み出し、再生可能なファイルの一覧をこの記録再生装置に設けられたLCDに表示するなどして(ステップS201)、目的とするファイルについての再生開始指示入力を受け付けるようにする(ステップS202)。
[Operation during playback]
Next, the operation during reproduction will be described. FIG. 7 is a flowchart for explaining the operation at the time of reproduction of the recording / reproducing apparatus of this embodiment. When receiving an operation for setting the recording / reproducing apparatus in the reproduction mode through the key operation unit 14, the host CPU 13 starts the processing shown in FIG. 7, and reads management information, FAT information as a file management table, and directory entry information. Then, a list of reproducible files is displayed on the LCD provided in the recording / reproducing apparatus (step S201), and a reproduction start instruction input for the target file is received (step S202).

次に、ホストCPU13は、再生開始指示入力を受け付けたか否かを判断し(ステップS203)、再生開始指示入力を受け付けていないと判断した場合には、ステップS202からの処理を繰り返す。   Next, the host CPU 13 determines whether or not a reproduction start instruction input has been accepted (step S203). If it is determined that a reproduction start instruction input has not been accepted, the processing from step S202 is repeated.

また、ステップS203の判断処理において、再生開始指示入力を受け付けたと判断したときには、ホストCPU13は、ステップS201において読み出したFAT情報等に基づいて、再生が指示されたファイルが、記録媒体上にどのような順番で記録されているかの情報を取得する(ステップS204)。   If it is determined in step S203 that the reproduction start instruction input has been received, the host CPU 13 determines how the file instructed to be reproduced on the recording medium based on the FAT information read in step S201. Information on whether or not recording is performed in the correct order is acquired (step S204).

そして、ホストCPU13は、ステップS204で取得した情報に基づいた順番で記録媒体上のクラスタをたどり、再生を行うようにする(ステップS205)。そして、ホストCPU13は、キー操作部14を通じて再生終了指示入力を受け付けるようにし(ステップS206)、再生終了指示入力を受け付けたか否かを判断する(ステップS207)。   Then, the host CPU 13 follows the clusters on the recording medium in the order based on the information acquired in step S204, and performs reproduction (step S205). Then, the host CPU 13 receives a reproduction end instruction input through the key operation unit 14 (step S206), and determines whether or not a reproduction end instruction input has been received (step S207).

ステップS207の判断処理において、再生終了指示入力を受け付けたと判断した時には、ホストCPU13は、再生動作を終了し、この図7に示す処理を終了する。ステップS207の判断処理において、再生終了指示入力を受け付けていないと判断したときには、指示されたファイルの全データを再生し終えたか否かを判断する(ステップS208)。   If it is determined in step S207 that a reproduction end instruction input has been received, the host CPU 13 ends the reproduction operation and ends the process shown in FIG. If it is determined in step S207 that the reproduction end instruction input has not been received, it is determined whether or not all data in the instructed file has been reproduced (step S208).

ステップS208の判断処理において、全データを再生し終えていないと判断したときには、ホストCPU13は、ステップS206からの処理を繰り返すようにする。また、ステップS208の判断処理において、全データを再生し終えたと判断したときには、再生動作を終了し、この図7に示す処理を終了する。   When determining in step S208 that all data has not been reproduced, the host CPU 13 repeats the processing from step S206. If it is determined in step S208 that all data has been reproduced, the reproduction operation is terminated, and the process shown in FIG. 7 is terminated.

このように、再生時においては、記録方式として「格子型」が用いられて記録されたものか、「一般型」が用いられて記録されたものかを区別することなく、すなわち、動画情報などのリアルタイムデータであるか、リアルタイムデータ以外の静止画情報、ITデータであるかを区別することなく再生することが可能である。   In this way, at the time of reproduction, without distinguishing whether the recording method is recorded using the “grid type” or the “general type”, that is, moving image information, etc. Or real-time data, still image information other than real-time data, or IT data can be reproduced without distinction.

しかも、この実施の形態の記録再生装置で記録されたものか、パーソナルコンピュータなどのこの実施の形態の記録再生装置以外の機器により記録されたものかを区別することなく、再生することができるようにされる。   In addition, it can be reproduced without distinguishing whether it is recorded by the recording / reproducing apparatus of this embodiment or by a device other than the recording / reproducing apparatus of this embodiment, such as a personal computer. To be.

これは、「格子型」で記録した場合であっても、記録最小単位であるクラスタが複数個からなるブロック単位に記録処理を行うが、FAT情報は、従来と変わらずにクラスタ単位でそのリンク関係を管理するようにしているので、記録方式や実際に記録を行った機器を区別することなく再生が可能となるのである。   In this case, even when recording is performed in a “lattice type”, recording processing is performed in units of blocks each including a plurality of clusters, which are the minimum recording units. Since the relationship is managed, it is possible to reproduce without distinguishing the recording method or the device that actually recorded.

このように、この実施の形態の記録再生装置は、ファイル管理システムとして、FATファイルシステムを用いているので、パーソナルコンピュータなどの機器との互換性が高く、この実施の形態の記録再生装置を用いて情報信号を記録したハードディスク11や半導体メモリカード12であっても、これらをパーソナルコンピュータなどのFATファイルシステムによりファイル管理を行っている機器に接続することにより、容易に情報信号の利用が可能となる。   Thus, since the recording / reproducing apparatus of this embodiment uses the FAT file system as the file management system, it is highly compatible with devices such as personal computers, and the recording / reproducing apparatus of this embodiment is used. Even if the information signal is recorded on the hard disk 11 or the semiconductor memory card 12, the information signal can be easily used by connecting them to a device that performs file management using a FAT file system such as a personal computer. Become.

この逆に、パーソナルコンピュータなどの外部の機器により情報信号が記録されたハードディスクや半導体メモリカードを、この実施の形態の記録再生装置に装填した場合であっても、簡単に利用が可能となる。つまり、この実施の形態の記録再生装置とパーソナルコンピュータなどの外部機器とは、ファイルシステムが同じであるため、同じアルゴリズムでのファイル管理が可能となり、ファイルシステムのインストールなどの面倒な手間をかけることもない。   On the contrary, even when a hard disk or a semiconductor memory card on which an information signal is recorded by an external device such as a personal computer is loaded in the recording / reproducing apparatus of this embodiment, it can be used easily. In other words, since the recording / playback apparatus of this embodiment and the external device such as a personal computer have the same file system, it is possible to manage files with the same algorithm, which requires troublesome work such as installation of the file system. Nor.

[第2の実施の形態](図1、2、図8〜図15参照)
前述した第1の実施の形態の記録再生装置においては、記録方式として「格子型」を用いることにより、動画情報などのリアルタイムデータの記録時の転送レートを高くするようにした。しかし、FATファイルシステムを用いた記録再生装置においては、再生時におけるデータアクセス速度が比較的に遅く、また、ランダムアクセス性能も低いという特徴がある。
[Second Embodiment] (See FIGS. 1, 2 and 8 to 15)
In the recording / reproducing apparatus of the first embodiment described above, the transfer rate at the time of recording real-time data such as moving image information is increased by using “grid type” as a recording method. However, the recording / reproducing apparatus using the FAT file system is characterized in that the data access speed during reproduction is relatively slow and the random access performance is low.

この第2の実施の形態の記録再生装置は、上述したような、再生時におけるデータアクセス速度、ランダムアクセス性能を改善し、再生時においても、記録情報を良好に再生することができるとともに、ランダムアクセス性能をも向上させるようにしたものである。   The recording / reproducing apparatus according to the second embodiment improves the data access speed and random access performance at the time of reproduction as described above, and can reproduce recorded information satisfactorily even at the time of reproduction. The access performance is also improved.

この第2の実施の形態の記録再生装置も、図1に示した第1の実施の形態の記録再生装置と同様に構成され、図1に示した第1の実施の形態の記録再生装置と同様に、図2を用いて説明したFATファイルシステムを用いてファイル管理を行うものである。このため、この第2の実施の形態においても、図1に示した構成を有し、図2に示したFATファイルシステムを有するものとして説明する。   The recording / reproducing apparatus of the second embodiment is also configured in the same manner as the recording / reproducing apparatus of the first embodiment shown in FIG. 1, and the recording / reproducing apparatus of the first embodiment shown in FIG. Similarly, file management is performed using the FAT file system described with reference to FIG. For this reason, the second embodiment will be described as having the configuration shown in FIG. 1 and the FAT file system shown in FIG.

図8は、FAT情報とデータ領域とについて説明するための図である。上述もしたように、ハードディスクや半導体メモリカードの記録領域に形成されるFAT情報は、どのクラスタをどの順序で使用してファイルを保存しているかを示すテーブルである。   FIG. 8 is a diagram for explaining the FAT information and the data area. As described above, the FAT information formed in the recording area of the hard disk or the semiconductor memory card is a table indicating which cluster is used in which order and a file is stored.

図8Aに示すように、FAT情報の各アドレスは、それぞれのクラスタに対応しており、各アドレスには、次にどのクラスタも用いているかを示している。したがって、図8Aに示すように、FAT情報が形成されている場合、そのファイルは、図8Bに示すように、02クラスタから始まり、03クラスタ→24クラスタ→25クラスタを順に使ってファイルが保存されていることになる。   As shown in FIG. 8A, each address of the FAT information corresponds to each cluster, and each address indicates which cluster is used next. Therefore, as shown in FIG. 8A, when FAT information is formed, the file is stored in the order of cluster 02 → cluster 25 → cluster 25 starting from cluster 02, as shown in FIG. 8B. Will be.

このような、FAT情報を利用し、クラスタチェーンの順方向検索により目的とするファイルに対してアクセスする過程では、記録媒体上に記録されたFAT情報に繰り返しアクセスしなければならないため、再生時におけるデータアクセス速度が比較的に遅くなる。また、早戻しなどのいわゆる逆方向へのジャンプは、ファイルポインターをクラスタチェーン先頭(そのファイルの先頭のクラスタ)にセットし、そこからの順方向検索として実現しているため、ランダムアクセス性能が低くなる。   In the process of accessing the target file by the forward search of the cluster chain using the FAT information, the FAT information recorded on the recording medium must be repeatedly accessed. Data access speed is relatively slow. Also, jumping in the reverse direction such as fast rewind is realized as a forward search from the file pointer set at the beginning of the cluster chain (the first cluster of the file), so the random access performance is low. Become.

そこで、FAT情報などの必要な情報をファイル単位で記録再生装置の例えば内蔵メモリに記憶させ、ハードディスクなどの記録媒体のFAT情報などを一々参照しなくてもよいようにすることが考えられる。この場合には、各ファイル毎に管理しなければならないので、例えば、図9に示すように、各ファイルのFAT情報を保持するメモリ領域として、取り扱うファイルの最大サイズに対応するメモリ容量のメモリ領域を確保することが考えられる。   Therefore, it is conceivable to store necessary information such as FAT information in units of files in, for example, a built-in memory of the recording / reproducing apparatus so that it is not necessary to refer to FAT information on a recording medium such as a hard disk one by one. In this case, since each file must be managed, for example, as shown in FIG. 9, a memory area having a memory capacity corresponding to the maximum size of the file to be handled as a memory area for holding FAT information of each file It is conceivable to secure

この方法の場合には、どのファイルについても、同じ記憶容量の記憶エリアが用いられて、FAT情報等が管理することができるので、メモリ管理がシンプルであるというメリットがあり、扱うファイルのサイズや数に大きな隔たり(幅)がない場合には、効率よく動作する。   In the case of this method, the storage area of the same storage capacity is used for any file, and FAT information and the like can be managed. Therefore, there is a merit that memory management is simple, the size of the file to be handled, If there is no large gap (width) in the number, it works efficiently.

しかしながら動画を記録した記録媒体の特徴として、ファイルサイズ、ファイル数それぞれに大きな値を取る可能性があることから、この方法で対処しようとすれば、非常に大きなメモリ容量が必要になる。また、十分なメモリ容量を確保することができないときには、扱えるファイルの数が制限されることになる。   However, as a characteristic of a recording medium on which a moving image is recorded, there is a possibility that the file size and the number of files may take large values. Therefore, if this method is used, a very large memory capacity is required. Also, when a sufficient memory capacity cannot be secured, the number of files that can be handled is limited.

そこで、この実施の形態の記録再生装置においては、ハードディスクや半導体メモリカードなどの記録媒体が装填された場合に、最初のファイル再生アクセスまでの間に、その記録媒体のFAT情報を参照し、クラスタのリンク情報だけを持つクラスタリンクテーブル(リンク情報テーブル)を形成する。   Therefore, in the recording / reproducing apparatus of this embodiment, when a recording medium such as a hard disk or a semiconductor memory card is loaded, the FAT information of the recording medium is referred to before the first file reproduction access, and the cluster is A cluster link table (link information table) having only the link information is formed.

図10は、クラスタリンクテーブルについて説明するための図である。図10Aは、ハードディスクなどの記録媒体に形成されるFAT情報であり、このFAT情報を参照して、ファイル単位にリンク関係を示す図10Bに示すようなクラスタリンクテーブルを形成する。   FIG. 10 is a diagram for explaining the cluster link table. FIG. 10A shows FAT information formed on a recording medium such as a hard disk. With reference to the FAT information, a cluster link table as shown in FIG. 10B showing a link relationship for each file is formed.

図10Aにおいては、図8に示した例の場合と同様に、02クラスタから始まり、03クラスタ、24クラスタ、25クラスタが用いられてファイルが記録されていることが示されている。この図10Aに示したFAT情報から図10Bに示すように、例えば、インデックス情報としてのファイル名と、そのファイルを構成するクラスタのリンク情報からなるクラスタリンクテーブルを予めRAM16あるいは不揮発性メモリ17に形成しておく。   In FIG. 10A, as in the case of the example shown in FIG. 8, it is shown that the file is recorded using 02 cluster, 03 cluster, 24 cluster, and 25 cluster. From the FAT information shown in FIG. 10A, as shown in FIG. 10B, for example, a cluster link table including a file name as index information and link information of clusters constituting the file is formed in the RAM 16 or the nonvolatile memory 17 in advance. Keep it.

この場合、図10Cに示すように、ファイルに対応するクラスタリンクテーブルを記憶するメモリ領域を、目的とするファイルのサイズに応じて動的に割り付けるようにする。このように、メモリ上に隙間なくクラスタリンクテーブルを割り付けることにより、メモリ上に無駄な領域をできないようにし、限られた記憶容量のメモリを有効に利用できるようにしている。   In this case, as shown in FIG. 10C, the memory area for storing the cluster link table corresponding to the file is dynamically allocated according to the size of the target file. In this way, by allocating the cluster link table on the memory without any gap, a useless area is not created on the memory, and a memory with a limited storage capacity can be used effectively.

さらに一定量以上の記憶容量のメモリ領域を確保することにより、同時に扱えるファイル数は無制限とすることができる。また、ファイル毎のFAT情報のリンク情報に応じて形成するクラスタリンクテーブル用の記憶領域を各ファイルのデータ量に応じてメモリに動的に割り付けることは、高度なメモリ管理処理を必要とする。   Furthermore, by securing a memory area having a storage capacity of a certain amount or more, the number of files that can be handled simultaneously can be unlimited. Further, dynamically allocating a storage area for the cluster link table formed according to the link information of the FAT information for each file to the memory according to the data amount of each file requires an advanced memory management process.

しかし、ハードディスクに記録されて扱われるファイルの数や大きさは、記録媒体の記録容量に応じて自ずと決まり、ファイルサイズとファイル数が同時に大きな値を取ることはない。記録媒体に記録されているファイルがどのようなサイズ、数であっても、全てのファイルの容量の合計は、記録媒体の総記憶容量内に収まる。   However, the number and size of files recorded on the hard disk and handled are determined according to the recording capacity of the recording medium, and the file size and the number of files do not take large values at the same time. Whatever the size and number of files recorded on the recording medium, the total capacity of all the files is within the total storage capacity of the recording medium.

つまり、全てのファイルのクラスタリンクテーブルの容量は、FAT情報の容量を上回ることがない。使用メモリサイズの上限がFAT情報の容量として明らかであるので、このサイズのメモリを確保したとすれば、これを分割するように、メモリ割り付けを行うことで、全てのファイルのクラスタリンクテーブルをメモリ上に収めることが可能である。この場合、メモリの容量不足の問題は生じないことになる。   That is, the capacity of the cluster link table of all files does not exceed the capacity of FAT information. Since the upper limit of the used memory size is obvious as the capacity of the FAT information, if the memory of this size is secured, the memory allocation is performed so that the memory is divided so that the cluster link tables of all files are stored in the memory. It is possible to fit on top. In this case, the problem of insufficient memory capacity does not occur.

また、確保するメモリの記憶容量が小さい場合には、容量不足による制限が、「当該記録再生装置が同時に取り扱える動画ファイルの再生時間の合計値の制限」という形で現れる場合もあるが、これは記録再生装置の特性となり、必要がある場合には、メモリを付け足すなどの方策を講じることも可能である。   In addition, when the storage capacity of the memory to be secured is small, the limitation due to the lack of capacity may appear in the form of “limit of the total playback time of video files that can be handled simultaneously by the recording / playback device”. If this is necessary, it is possible to take measures such as adding a memory.

[クラスタリンクテーブル(リンク情報テーブル)の生成と利用]
次に、この第2の実施の形態の記録再生装置において行われるクラスタリンクテーブルの生成とその利用について、図11〜図13のフローチャートを参照しながら説明する。クラスタリンクテーブルの生成は、記録媒体に記録された情報信号の利用に先立って行われ、その生成されたクラスタリンクテーブルは、記録媒体に記録された情報信号の利用時、すなわち、再生時、早送り時、早戻し時などに利用するようにされる。
[Generation and use of cluster link table (link information table)]
Next, generation and use of the cluster link table performed in the recording / reproducing apparatus according to the second embodiment will be described with reference to the flowcharts of FIGS. The cluster link table is generated prior to the use of the information signal recorded on the recording medium. The generated cluster link table is used when the information signal recorded on the recording medium is used, that is, at the time of reproduction, fast-forwarding. It is used for time and fast rewind.

図11は、この第2の実施の形態の記録再生装置における記録媒体に記録された情報信号の利用時(再生時、早送り時、早戻し時など)の処理を説明するためのフローチャートである。この第2の実施の形態の記録再生装置も、第1の実施の形態の記録再生装置の場合と同様に、記録媒体への情報信号の記録と、記録媒体に記録された情報信号の再生とができるものである。   FIG. 11 is a flowchart for explaining processing when using an information signal recorded on a recording medium in the recording / reproducing apparatus according to the second embodiment (for example, at the time of reproduction, fast forward, and fast reverse). As with the recording / reproducing apparatus of the first embodiment, the recording / reproducing apparatus of the second embodiment also records information signals on the recording medium and reproduces information signals recorded on the recording medium. It is something that can be done.

そして、使用者により、例えばキー操作部14を通じて、この第2の実施の形態の記録再生装置が、再生モードとなるようにされると、ホストCPU13は、図11に示す処理を実行する。まず、ホストCPU13は、自機に記録媒体が装填されているか否かを判断する(ステップS301)。   When the user sets the recording / reproducing apparatus according to the second embodiment to the reproduction mode through the key operation unit 14, for example, the host CPU 13 executes the processing shown in FIG. First, the host CPU 13 determines whether or not a recording medium is loaded in its own device (step S301).

ステップS301の判断処理において、記録媒体がまだ装填されていないと判断したときには、ステップS301からの処理を繰り返す。ステップS301の判断処理において、記録媒体が装填されていると判断したときには、記録媒体のディレクトリエントリ情報やFAT情報を参照し、利用可能なファイルの一覧表を自機のLCDに表示するなどして、目的とするファイルの指定(指示入力)を受け付けるようにする(ステップS302)。 If it is determined in step S301 that the recording medium is not yet loaded, the processing from step S301 is repeated. If it is determined in step S301 that a recording medium is loaded, the directory entry information and FAT information of the recording medium are referred to, and a list of available files is displayed on the LCD of the own device. The designation (instruction input) of the target file is accepted (step S302).

そして、ホストCPU13は、ファイルの指定を受け付けたか否かを判断する(ステップS303)。このステップS303の判断処理において、ファイルの指定を受け付けていないと判断したときには、ホストCPU13は、記録媒体が取り出されたか否かを判断する(ステップS304)。   Then, the host CPU 13 determines whether or not a file specification is accepted (step S303). If it is determined in the determination process in step S303 that file designation has not been accepted, the host CPU 13 determines whether or not the recording medium has been removed (step S304).

ステップS304の判断処理において、記録媒体は取り出されていないと判断したときには、ステップS302からの処理を繰り返し、記録媒体が取り出されたと判断したときには、ステップS301からの処理を繰り返すようにする。   If it is determined in step S304 that the recording medium has not been removed, the process from step S302 is repeated. If it is determined that the recording medium has been removed, the process from step S301 is repeated.

ステップS303の判断処理において、ファイルの指定を受け付けたと判断したときには、ホストCPU13は、指定されたファイルのクラスタリンクテーブルを生成する処理を実行し(ステップS305)、この後、生成されたクラスタリンクテーブルを用いた再生、早送り、早戻しなどの指示された動作ルーチンを実行する(ステップS306)。動作ルーチン終了後においては、再度ステップS301からの処理が繰り返され、利用するファイルの変更ができるようにされる。   If it is determined in step S303 that the designation of the file has been accepted, the host CPU 13 executes a process for creating a cluster link table for the designated file (step S305), and then the created cluster link table. Instructed operation routines such as playback, fast forward, and fast reverse using are executed (step S306). After the operation routine is completed, the processing from step S301 is repeated again so that the file to be used can be changed.

[クラスタリンクテーブルの生成]
図12は、図11に示した処理のステップS305において実行されるクラスタリンクテーブルの生成処理を説明するためのフローチャートである。まず、ホストCPU13は、クラスタリンクテーブルの生成に用いる変数Iに0をセットし、変数Iをイニシャライズするようにする(ステップS401)。
[Create cluster link table]
FIG. 12 is a flowchart for explaining the cluster link table generation process executed in step S305 of the process shown in FIG. First, the host CPU 13 sets 0 to the variable I used for generating the cluster link table, and initializes the variable I (step S401).

そして、ホストCPU13は、例えば、図10Aに示したように、記録媒体に形成されているファイル管理テーブルであって、利用することが指示されたファイルのFAT情報を参照し、当該ファイルの最初のクラスタに対するリンク先情報を得る(ステップS402)。   Then, for example, as shown in FIG. 10A, the host CPU 13 refers to the FAT information of the file that is instructed to be used in the file management table formed on the recording medium, and the first of the file. Link destination information for the cluster is obtained (step S402).

そして、ホストCPU13は、ステップS402で取得したリンク先情報を、図10Bに示した態様で、例えばRAM16に形成されるクラスタリンクテーブルのI番目の記憶場所に記憶するようにする(ステップS403)。そして、ホストCPU13は、指定したファイルの最後のリンク先情報を格納したか否かを判断する(ステップS404)。   Then, the host CPU 13 stores the link destination information acquired in step S402 in the I-th storage location of the cluster link table formed in, for example, the RAM 16 in the manner shown in FIG. 10B (step S403). Then, the host CPU 13 determines whether or not the last link destination information of the designated file has been stored (step S404).

ステップS404の判断処理において、最後のリンク先情報を格納していないと判断したときには、ホストCPU13は、変数Iに1を加算し(ステップS405)、現在のリンク先情報に基づいて、FAT情報の次のリンク先情報の記憶場所を決定する(ステップS406)。そして、ホストCPU13は、ステップS406において決定した記憶場所から、次のクラスタに対するリンク先情報を取得し(ステップS407)、この後、ステップS403からの処理を繰り返す。   When determining that the last link destination information is not stored in the determination processing in step S404, the host CPU 13 adds 1 to the variable I (step S405), and based on the current link destination information, adds the FAT information. The storage location of the next link destination information is determined (step S406). The host CPU 13 acquires link destination information for the next cluster from the storage location determined in step S406 (step S407), and thereafter repeats the processing from step S403.

このようにして、指定されたファイルについてのデータが記録されている記録媒体上のクラスタを指定するリンク先情報からなるクラスタリンクテーブルを形成する。そして、ステップS404の判断処理において、指定されたファイルの最後のリンク先情報をクラスタリンクテーブルに記憶するようにしたと判断したときには、この図12に示す処理を終了し、図11に示した処理に戻ることになる。   In this manner, a cluster link table including link destination information for designating a cluster on the recording medium on which data for the designated file is recorded is formed. If it is determined in step S404 that the last link destination information of the specified file is stored in the cluster link table, the process shown in FIG. 12 is terminated, and the process shown in FIG. Will return.

[クラスタリンクテーブルの利用]
図13は、生成されたクラスタリンクテーブルを実際に利用して、この第2の実施の形態の記録再生装置が動作する場合について説明するための図であり、図11に示した処理のステップS306において実行されるものである。上述したように、指定されたファイルのクラスタリンクテーブルが形成されると、ホストCPU13は、図11に示したステップS306において、図13に示す処理を開始する。
[Use cluster link table]
FIG. 13 is a diagram for explaining a case where the recording / reproducing apparatus according to the second embodiment operates by actually using the generated cluster link table. Step S306 of the process shown in FIG. Is executed. As described above, when the cluster link table of the specified file is formed, the host CPU 13 starts the process shown in FIG. 13 in step S306 shown in FIG.

まず、ホストCPU13は、再生キー、早送りキー、早戻しキーなどのクラスタリンクテーブルを利用する動作を実行することを指示する指示入力を受け付ける(ステップS501)。そして、ホストCPU13は、指示入力を受け付けたか否かを判断する(ステップS502)。   First, the host CPU 13 receives an instruction input instructing to execute an operation using the cluster link table such as a reproduction key, a fast forward key, and a fast reverse key (step S501). Then, the host CPU 13 determines whether or not an instruction input has been accepted (step S502).

ステップS502の判断処理において、指示入力を受け付けていないと判断したときには、ホストCPU13は、記録媒体が取り出されたか否かを判断する(ステップS503)。ステップS503の判断処理において、記録媒体が取り出されていないと判断した場合には、ホストCPU13は、ステップS501からの処理を繰り返すようにし、記録媒体が取り出されたと判断したときには、この図13に示す処理を終了して、図11に示した処理に戻り、ステップS301からの処理を繰り返すことになる。   If it is determined in step S502 that the instruction input is not accepted, the host CPU 13 determines whether or not the recording medium has been removed (step S503). If it is determined in step S503 that the recording medium has not been removed, the host CPU 13 repeats the processing from step S501. If it is determined that the recording medium has been removed, the host CPU 13 is shown in FIG. The process ends, the process returns to the process shown in FIG. 11, and the process from step S301 is repeated.

ステップS502の判断処理において、指示入力を受け付けたと判断したときには、ホストCPU13は、ファイルの再指定(目的とするファイルの変更指示)を受け付けたか否かを判断する(ステップS504)。ステップS504の判断処理において、ファイルの再指定が指示されたと判断したときには、この図13に示す処理を終了して、図11に示した処理に戻り、ステップS301からの処理を繰り返すことになる。   When it is determined in the determination process of step S502 that an instruction input has been accepted, the host CPU 13 determines whether or not a re-designation of a file (instruction for changing the target file) has been accepted (step S504). If it is determined in step S504 that file re-designation has been instructed, the process shown in FIG. 13 ends, the process returns to the process shown in FIG. 11, and the process from step S301 is repeated.

また、ステップS504の判断処理において、受け付けた指示入力は、ファイルの再指定ではないと判断した場合には、ホストCPU13は、RAM16に形成されている当該ファイルのクラスタリンクテーブルを用いて指示された動作を開始する(ステップS505)。   If it is determined in step S504 that the received instruction input is not a re-designation of the file, the host CPU 13 is instructed using the cluster link table of the file formed in the RAM 16. The operation is started (step S505).

図14は、ステップS505で行われるクラスタリンクテーブルを用いた動作を説明するための図である。ステップS501において受け付けた指示入力が再生指示入力(再生キーの押下操作)である場合には、CPU13は、RAM16のクラスタリンクテーブルを図14Aに示すように順次に参照し、リンク先のクラスタを順番に得て再生を行うようにする。   FIG. 14 is a diagram for explaining the operation using the cluster link table performed in step S505. If the instruction input received in step S501 is a reproduction instruction input (playback key pressing operation), the CPU 13 sequentially refers to the cluster link table in the RAM 16 as shown in FIG. To get it to play.

また、ステップS501において受け付けた指示入力が早送り指示入力(早送りキーの押下操作)である場合には、図14Bにおいて、クラスタリンクテーブルの上側の矢印が示すように、予め決められたクラスタ分を飛ばすようにして(図14Bの場合には2クラスタ分づつ飛ばすようにして)早送り動作を実行する。   If the instruction input received in step S501 is a fast-forward instruction input (fast-forward key pressing operation), a predetermined cluster is skipped as indicated by the upper arrow of the cluster link table in FIG. 14B. In this way (in the case of FIG. 14B, skipping two clusters at a time) is performed.

また、ステップS501において受け付けた指示入力が早戻し指示入力(早戻しキーの押下操作)である場合には、図14Bにおいて、クラスタリンクテーブルの下側の矢印が示すように、予め決められたクラスタ分を飛ばすようにして(図14Bの場合には2クラスタ分づつ飛ばすようにして)早戻し動作を実行する。   If the instruction input received in step S501 is a fast-reverse instruction input (fast-rewind key pressing operation), a predetermined cluster is indicated as indicated by an arrow on the lower side of the cluster link table in FIG. 14B. The fast reverse operation is executed so as to skip the minute (in the case of FIG. 14B, skipping two clusters at a time).

そして、指示された動作を実行するようにした後に、その動作の停止指示入力を受け付けるようにし(ステップS506)、停止指示入力を受け付けたか否かを判断する(ステップS507)。このステップS507の判断処理において、停止指示入力を受け付けていないと判断したときには、ステップS506からの処理を繰り返し、ステップS505において開始した動作を続行する。   Then, after the designated operation is executed, a stop instruction input for the operation is accepted (step S506), and it is determined whether a stop instruction input is accepted (step S507). If it is determined in step S507 that the stop instruction input has not been received, the processing from step S506 is repeated, and the operation started in step S505 is continued.

ステップS507の判断処理において、停止指示入力を受け付けたと判断したときには、ステップS505において開始させた動作を停止させ(ステップS508)、ステップS501からの処理を繰り返すようにする。   If it is determined in step S507 that a stop instruction input has been received, the operation started in step S505 is stopped (step S508), and the processing from step S501 is repeated.

そして、図14に示したように、この第2の実施の形態の記録再生装置においては、内部メモリであるRAM16に形成したクラスタリンクテーブルを参照するようにしたので、記録媒体上に形成されるFAT情報を参照する必要がなくなり、再生、早送り、早戻しなどを迅速に行うことができるようにされる。   As shown in FIG. 14, in the recording / reproducing apparatus according to the second embodiment, the cluster link table formed in the RAM 16 as the internal memory is referred to, so that it is formed on the recording medium. There is no need to refer to the FAT information, and playback, fast forward, fast reverse, etc. can be performed quickly.

また、通常の再生動作、早送り動作はもとより、逆方向にデータを読み出す必要の生じる早戻し動作についても、クラスタリンクテーブルを単に逆読みすれば次に再生する情報が記録されたクラスタを確実かつ正確に読み出すことができるので、逆方向のデータの読み出しに時間がかかることもない。   In addition to normal playback operations and fast-forward operations, as well as fast-rewind operations that require data to be read in the reverse direction, simply re-reading the cluster link table ensures that the cluster in which the information to be reproduced next is recorded is accurately and accurately Therefore, it does not take time to read data in the reverse direction.

なお、上述したように、利用するファイルに応じて動的に記録再生装置の内部メモリにクラスタリンクテーブルを形成するため、クラスタリンクテーブルに使用するメモリの容量管理には、ファイルシステムという基礎的機能を提供するプログラム部分が通常扱わないような装置動作情報が必要になる。   As described above, since the cluster link table is dynamically formed in the internal memory of the recording / reproducing apparatus according to the file to be used, the basic function of the file system is used for managing the capacity of the memory used for the cluster link table. Device operation information that is not normally handled by the program part that provides

従来は、FAT情報などを記録媒体から読み出して、内部メモリに保持しようとすれば、図9を用いて説明したように、各ファイルのFAT情報を保持するメモリ領域として、取り扱うファイルの最大サイズに対応するメモリ容量を確保すればよいことから、図15Aに示すように、ファイルシステムの中の閉じた条件の中で、内部メモリの容量管理を行うようにすればよかった。   Conventionally, if FAT information or the like is read from a recording medium and stored in the internal memory, as described with reference to FIG. 9, the maximum size of the file to be handled is set as a memory area for storing the FAT information of each file. Since it is only necessary to secure the corresponding memory capacity, it is sufficient to manage the capacity of the internal memory in the closed condition in the file system as shown in FIG. 15A.

しかし、クラスタリンクテーブルの記憶領域を動的に確保し、内部メモリの記憶容量を有効に活用するためには、図15Bに示すように、この記録再生装置のファイル管理以外のプログラム部分にも内部メモリのメモリ容量を管理する処理を解放することにより、ファイルの削除や作業領域としてメモリ領域を使用する場合などが発生しても、これをリアルタイムに反映することにより、内部メモリの使用可能なメモリ容量を正確に管理し、クラスタリンクテーブルの記憶領域を動的に確保し、これを利用することが可能となる。   However, in order to dynamically secure the storage area of the cluster link table and to effectively use the storage capacity of the internal memory, as shown in FIG. By releasing the process that manages the memory capacity of the memory, even if a memory area is used as a file deletion or work area, the memory that can be used in the internal memory is reflected in real time. It is possible to accurately manage the capacity, dynamically secure the storage area of the cluster link table, and use it.

このように、この第2の実施の形態の記録再生装置の場合には、再生中、早送り中などの動作中における記録媒体のファイル管理テーブルへのアクセスをなくし、内部メモリに形成するクラスタリンクテーブルをアクセスするようにすることで、データアクセス速度を向上させ、動画情報などのリアルタイムデータを余裕をもって再生するようにすることができる。   Thus, in the case of the recording / reproducing apparatus of the second embodiment, the cluster link table formed in the internal memory by eliminating access to the file management table of the recording medium during operations such as reproduction and fast-forwarding. Thus, it is possible to improve the data access speed and to reproduce real-time data such as moving picture information with a margin.

また、クラスタリンクテーブルを用いることにより、ランダムアクセス性を向上させ、ジャンプ、早送り、早戻しといった動作を迅速かつ正確に行うようにすることができる。   Further, by using the cluster link table, random accessibility can be improved, and operations such as jump, fast forward, and fast reverse can be performed quickly and accurately.

また、クラスタリンクテーブルをFAT情報の実データに応じて動的に内部メモリに形成することにより、内部メモリの記憶領域を効率よく利用することができる。多くのファイルのクラスタリンクテーブルを限られた記憶容量で管理することができるようにされる。   Further, by dynamically forming the cluster link table in the internal memory according to the actual data of the FAT information, the storage area of the internal memory can be used efficiently. The cluster link table of many files can be managed with a limited storage capacity.

また、FAT情報分の記憶容量を内部メモリ内に確保した場合には、クラスタリンクテーブルを形成して管理可能なファイル数は無制限とすることができる。   Further, when a storage capacity for FAT information is secured in the internal memory, the number of files that can be managed by forming a cluster link table can be unlimited.

また、クラスタリンクテーブルを形成するメモリの記憶領域の容量が小さい場合であっても、同時に管理される動画情報を記憶したファイルの再生時間の合計値の上限以上は同時に管理できなくなるという制限が生じるが、再生ができなくなるなどの大きな問題の発生につながることはない。   Further, even when the storage area of the memory forming the cluster link table is small, there is a restriction that the upper limit of the total playback time of files storing moving image information managed at the same time cannot be managed simultaneously. However, it does not lead to major problems such as inability to play back.

[第3の実施の形態](図16、17参照)
前述した第1の実施の形態の記録再生装置においては、記録方式として「格子型」を用いることにより、動画情報などのリアルタイムデータの記録時の転送レートを高くするようにした。しかし、空きエリアを検出する場合には、記録媒体上に形成されたFAT情報を参照しなければならないが、この空きエリアの検出はできるだけ迅速に行いたい。そこで、この第3の実施の形態の記録再生装置は、記録媒体上の空きエリアの検出をより迅速に行えるようにしたものである。
[Third Embodiment] (See FIGS. 16 and 17)
In the recording / reproducing apparatus of the first embodiment described above, the transfer rate at the time of recording real-time data such as moving image information is increased by using “grid type” as a recording method. However, when detecting an empty area, it is necessary to refer to FAT information formed on the recording medium, and it is desirable to detect this empty area as quickly as possible. Therefore, the recording / reproducing apparatus according to the third embodiment can detect a free area on a recording medium more quickly.

なお、この第3の実施の形態の記録再生装置も、図1に示した第1の実施の形態の記録再生装置と同様に構成され、図1に示した第1の実施の形態の記録再生装置と同様に、図2を用いて説明したFATファイルシステムを用いてファイル管理を行うものである。このため、この第3の実施の形態においても、図1に示した構成を有し、図2に示したFATファイルシステムを有するものとして説明する。   The recording / reproducing apparatus according to the third embodiment is configured in the same manner as the recording / reproducing apparatus according to the first embodiment shown in FIG. 1, and the recording / reproducing apparatus according to the first embodiment shown in FIG. Similar to the apparatus, file management is performed using the FAT file system described with reference to FIG. Therefore, the third embodiment will be described as having the configuration shown in FIG. 1 and the FAT file system shown in FIG.

そして、この第3の実施の形態の記録再生装置においては、記録媒体上の空きエリアの検出をより迅速に行えるようにするために、動画情報、静止画情報、ITデータ等の情報信号を記録媒体に記録するに先立って、記録媒体に形成されているFAT情報から内部メモリである例えばRAM16に空きクラスタマップ(空き情報テーブル)を形成し、記録媒体のFAT情報にアクセスしなくても空きエリアを検出できるようにしている。   In the recording / reproducing apparatus according to the third embodiment, information signals such as moving image information, still image information, and IT data are recorded in order to more quickly detect an empty area on the recording medium. Prior to recording on the medium, a free cluster map (free information table) is formed in the internal memory, for example, RAM 16 from the FAT information formed on the recording medium, and the free area is not required even if the FAT information on the recording medium is not accessed. Can be detected.

図16は、この第3の実施の形態の記録再生装置において形成される空きクラスタマップを説明するための図である。図16Aは、情報信号を記録媒体に記録した場合に、その記録媒体に形成されるFAT情報を示している。各アドレスはそれぞれのクラスタに対応するようにされている。   FIG. 16 is a diagram for explaining an empty cluster map formed in the recording / reproducing apparatus of the third embodiment. FIG. 16A shows FAT information formed on a recording medium when an information signal is recorded on the recording medium. Each address corresponds to each cluster.

そして、図16Aに示すFAT情報の例の場合には、最初のファイルが、02クラスタ、03クラスタ、04クラスタ、05クラスタ、06クラスタが用いられて形成され、06クラスタが最終のクラスタとされている。次のファイルは、09クラスタ、10クラスタ、11クラスタ、12クラスタが用いられて形成され、12クラスタが最終クラスタとされている。また、18クラスタからは、次のファイルが記録するようにされている。また、図16Aの場合、07、08クラスタ、13クラスタ、15、16、17クラスタが空きクラスタとされている。   In the case of the FAT information example shown in FIG. 16A, the first file is formed using 02 cluster, 03 cluster, 04 cluster, 05 cluster, 06 cluster, and 06 cluster is the final cluster. Yes. The next file is formed by using 09 cluster, 10 cluster, 11 cluster, and 12 cluster, and 12 cluster is the final cluster. The following files are recorded from 18 clusters. In the case of FIG. 16A, 07, 08 clusters, 13 clusters, 15, 16, and 17 clusters are vacant clusters.

そして、この第3の実施の形態の記録再生装置は、情報信号の記録処理に先立って、図16Aに示したFAT情報から、図16Bに示すような空きクラスタマップを形成する。空きクラスタマップは、記録媒体上に設けられるクラスタのそれぞれが使用済か未使用かを示すことができればよい。   The recording / reproducing apparatus according to the third embodiment forms a free cluster map as shown in FIG. 16B from the FAT information shown in FIG. 16A prior to the information signal recording process. The free cluster map only needs to indicate whether each of the clusters provided on the recording medium is used or unused.

そこで、図16Bに示すように、使用済クラスタは「0」、未使用クラスタは「1」として、クラスタのそれぞれについて1ビットで使用済クラスタか未使用クラスタかを示すようにしている。このように、1クラスタに付き1ビットで使用済クラスタ/未使用クラスタを示すことができるので、空きクラスタマップのために内部メモリであるRAM16の記憶容量を大量に使用してしまうことはない。   Therefore, as shown in FIG. 16B, the used cluster is “0” and the unused cluster is “1”, and each cluster is indicated by 1 bit to indicate whether it is a used cluster or an unused cluster. Thus, since one cluster can indicate a used / unused cluster with one bit, the storage capacity of the RAM 16, which is the internal memory, is not used in large quantities for the free cluster map.

そして、図16Bに示したような空きクラスタマップを形成しておくことにより、情報信号の記録時には、RAM16に形成されている空きクラスタマップを参照するだけで、空きクラスタを迅速かつ正確に検出することができる。また、前述した第1の実施の形態の場合のように、予め決められた個数の空きクラスタからなるブロックをも迅速かつ正確に検出することができる。つまり、目的とする大きさの空きエリアを空きクラスタマップから容易に検出することができる。   Then, by forming a free cluster map as shown in FIG. 16B, when recording an information signal, it is possible to quickly and accurately detect a free cluster simply by referring to the free cluster map formed in the RAM 16. be able to. Further, as in the case of the first embodiment described above, a block composed of a predetermined number of empty clusters can be detected quickly and accurately. That is, an empty area of a target size can be easily detected from the empty cluster map.

[空きクラスタマップ(空き情報テーブル)の生成]
図17は、この第3の実施の形態の記録再生装置において行われる空きクラスタマップの形成時の動作を説明するためのフローチャートである。この図17に示す処理は、キー操作部14を通じて、この記録再生装置が記録モードとなるようにされた場合に、ホストCPU13において実行される。
[Generate free cluster map (free information table)]
FIG. 17 is a flowchart for explaining the operation at the time of forming a free cluster map performed in the recording / reproducing apparatus of the third embodiment. The processing shown in FIG. 17 is executed by the host CPU 13 when the recording / reproducing apparatus is set to the recording mode through the key operation unit 14.

まず、ホストCPU13は、空きクラスタマップの生成に用いる変数Iに0をセットし、変数Iをイニシャライズするようにする(ステップS601)。そして、ホストCPU13は、例えば、図16Aに示したように、記録媒体に形成されているファイル管理テーブルであるFAT情報を参照し、最初のクラスタについてのリンク先情報からそのクラスタについての使用状況を示す情報を得る(ステップS602)。   First, the host CPU 13 sets 0 to a variable I used for generating a free cluster map, and initializes the variable I (step S601). Then, for example, as shown in FIG. 16A, the host CPU 13 refers to the FAT information which is a file management table formed on the recording medium, and determines the usage status of the cluster from the link destination information of the first cluster. Information to be obtained is obtained (step S602).

つまり、この第3の実施の形態においては、ステップS602においては、最初のクラスタについてのリンク先の情報が次のリンク先を示す情報、あるいは、最後のクラスタであることを示す情報である場合には使用済であるので、使用状況を示す情報は「0」となる。また、次のリンク先情報が示されていない場合には、そのクラスタは未使用であるので、使用状況を示す情報は「1」となる。   That is, in the third embodiment, in step S602, when the link destination information for the first cluster is information indicating the next link destination or information indicating the last cluster. Is already used, the information indicating the usage status is “0”. If the next link destination information is not indicated, the cluster is unused, and the information indicating the usage status is “1”.

そして、ホストCPU13は、ステップS602で得た使用状況を示す情報を、図16Bに示した態様で、例えばRAM16に形成される空きクラスタマップのI番目の記憶場所に記憶する(ステップS603)。そして、ホストCPU13は、今回得た使用状況を示す情報は、ファイル管理テーブルであるFAT情報の最後のクラスタの情報に対応するものか否かを判断する(ステップS604)。   Then, the host CPU 13 stores the information indicating the usage status obtained in step S602 in the I-th storage location of the empty cluster map formed in, for example, the RAM 16 in the manner shown in FIG. 16B (step S603). Then, the host CPU 13 determines whether or not the information indicating the usage status obtained this time corresponds to the information of the last cluster of the FAT information that is the file management table (step S604).

ステップS604の判断処理において、最後のクラスタの情報に対応するものではないと判断したときには、ホストCPU13は、変数Iに1を加算し(ステップS605)、FAT情報の次のクラスタについての情報を参照して(ステップS606)、ステップS603からの処理を繰り返す。   When the host CPU 13 determines in the determination process in step S604 that the information does not correspond to the last cluster information, the host CPU 13 adds 1 to the variable I (step S605), and refers to the information about the next cluster in the FAT information. (Step S606), and the processing from step S603 is repeated.

このようにして、ファイル管理テーブルであるFAT情報の各クラスタの全てについての情報を参照して、空きクラスタマップを形成し、ステップS604の判断処理において、最後のクラスタの情報に対応する情報を空きクラスタマップに記録し終えたと判断したときには、この図17に示す処理を終了する。   In this way, an empty cluster map is formed by referring to information on all the clusters of the FAT information that is the file management table, and information corresponding to the information of the last cluster is determined to be empty in the determination processing in step S604. When it is determined that the recording on the cluster map has been completed, the processing shown in FIG. 17 is terminated.

このようにして記録処理に先立って内部メモリであるRAM16に形成される空きクラスタマップを参照することにより、記録媒体のFAT情報を参照することなく、迅速かつ正確に空きエリアを検出し、情報信号の記録を迅速かつ適正に行うようにすることができる。   In this way, by referring to the empty cluster map formed in the internal memory RAM 16 prior to the recording process, the empty area can be detected quickly and accurately without referring to the FAT information of the recording medium. Can be recorded promptly and appropriately.

なお、空きクラスタマップを参照して、記録処理を行うと新たな使用済クラスタが生じるが、この場合には、空きクラスタマップを随時に、あるいは、記録終了時などの適宜のタイミングで更新して最新の状態となるようにしたり、あるいは、記録処理の終了時に、再度、FAT情報から空きクラスタマップを形成したりするようにすればよい。   Note that when the recording process is performed with reference to the free cluster map, a new used cluster is generated. In this case, the free cluster map is updated at any time or at an appropriate timing such as at the end of recording. What is necessary is just to make it the latest state, or to form an empty cluster map again from the FAT information at the end of the recording process.

また、空きクラスタマップは、記録処理時において必要であり、前述した第2の実施の形態において形成するようにしたクラスタリンクテーブルは、早送りや早戻しなどを含む再生処理時において必要である。このため、内部メモリであるRAM16の同じ記憶領域に、記録モード時には空きクラスタマップを、再生モード時にはクラスタリンクテーブルを形成するようにすることにより、内部メモリの記憶領域を効率よく利用することができる。   The empty cluster map is necessary at the time of recording processing, and the cluster link table formed in the second embodiment described above is necessary at the time of reproduction processing including fast forward and fast reverse. For this reason, by forming a free cluster map in the recording mode and a cluster link table in the reproduction mode in the same storage area of the RAM 16 as the internal memory, the storage area of the internal memory can be used efficiently. .

このように、この第3の実施の形態の記録再生装置においては、情報信号の記録媒体への記録時における記録媒体のファイル管理テーブルへのアクセスを無くすことができ、転送レートの向上を図ることができる。   As described above, in the recording / reproducing apparatus of the third embodiment, it is possible to eliminate access to the file management table of the recording medium when the information signal is recorded on the recording medium, and to improve the transfer rate. Can do.

[第4の実施の形態](図18〜図25参照)
上述した第1〜第3の実施の形態の記録再生装置は、カメラブロック4を備え、いわゆるデジタル・ビデオ・カメラとして用いられるものである。したがって、持ち運ばれて利用される場合が多く、その電源はバッテリが用いられる。この場合、バッテリの消耗により、例えば、撮影途中など、情報信号の記録途中において、電源が遮断されてしまう状態が発生する場合が多々あると考えられる。
[Fourth Embodiment] (See FIGS. 18 to 25)
The recording / reproducing apparatus of the first to third embodiments described above includes a camera block 4 and is used as a so-called digital video camera. Therefore, it is often carried and used, and a battery is used as its power source. In this case, it is considered that there are many cases where the power is cut off during the recording of the information signal, for example, during shooting, due to the consumption of the battery.

しかし、パーソナルコンピュータなどで用いられているFATファイルシステムの場合には、電源遮断に起因する不都合について、特に対策はとられていなかった。   However, in the case of a FAT file system used in a personal computer or the like, no particular countermeasure has been taken against inconvenience due to power interruption.

そこで、この第4の実施の形態の記録再生装置は、記録途中における種々の原因による電源遮断後のファイル復旧(修復)について新たな方策を用いるようにしたものである。   Therefore, the recording / reproducing apparatus according to the fourth embodiment uses a new measure for file restoration (restoration) after power interruption due to various causes during recording.

なお、この第4の実施の形態の記録再生装置も、図1に示した第1の実施の形態の記録再生装置と同様に構成され、図1に示した第1の実施の形態の記録再生装置と同様に、図2を用いて説明したFATファイルシステムを用いてファイル管理を行うものである。このため、この第4の実施の形態においても、図1に示した構成を有し、図2に示したFATファイルシステムを有するものとして説明する。   The recording / reproducing apparatus according to the fourth embodiment is also configured similarly to the recording / reproducing apparatus according to the first embodiment shown in FIG. 1, and the recording / reproducing apparatus according to the first embodiment shown in FIG. Similar to the apparatus, file management is performed using the FAT file system described with reference to FIG. For this reason, the fourth embodiment will be described as having the configuration shown in FIG. 1 and the FAT file system shown in FIG.

この第4の実施の形態の記録再生装置もまた、図18に示すように、ファイルとして記録媒体のデータ領域にクラスタ単位で記録された動画情報、静止画情報、ITデータ等は、図18Aに示すFAT情報によって、図18Bに示すように記録に用いられた実際のクラスタについてのリンク関係を管理し、迅速な再生を行うことができるようにしている。   In the recording / reproducing apparatus of the fourth embodiment, as shown in FIG. 18, moving image information, still image information, IT data, etc. recorded as a file in the data area of the recording medium as a file are shown in FIG. Based on the FAT information shown, as shown in FIG. 18B, the link relationship for the actual cluster used for recording is managed so that quick reproduction can be performed.

また、記録媒体に記録された1まとまりの情報信号からなる各ファイルは、いわゆるディレクトリと呼ばれる階層構造化された情報と、図2を用いて前述したディレクトリエントリ情報とにより管理される。各ファイルはそれが含まれるディレクトリとファイル名とで一意に指定することができるようにされる。   Further, each file consisting of a group of information signals recorded on the recording medium is managed by hierarchically structured information called a directory and the directory entry information described above with reference to FIG. Each file can be uniquely specified by its containing directory and file name.

そして、図2を用いて前述したディレクトリエントリは、図19に示すように、各ファイル個々の情報として、ファイル名、拡張子、ファイル属性、更新時刻、更新日付、先頭クラスタ番号、ファイルサイズなどを管理している。ディレクトリエントリ情報の各データには、そのそれぞれに意味があり、必要に応じて用いられる。   As shown in FIG. 19, the directory entry described above with reference to FIG. 2 includes file name, extension, file attribute, update time, update date, top cluster number, file size, etc. I manage. Each data of the directory entry information has a meaning and is used as necessary.

そして、例えば、記録処理中に停電などの何らかの原因により、記録再生装置の電源が遮断されると、記録処理は強制的に中断し、クラスタにデータを記録したとしても、記録媒体上のFAT情報にクラスタの記録状態を反映するための更新を行えなかったために、そのファイルについてはアクセスができなくなるという不具合が生じる場合がある。   For example, if the power of the recording / reproducing apparatus is cut off for some reason such as a power failure during the recording process, the recording process is forcibly interrupted, and even if data is recorded in the cluster, the FAT information on the recording medium In some cases, the file cannot be accessed because the update for reflecting the recording state of the cluster could not be performed.

また、ファイルの終点処理ができないので、クラスタチェーンが未使用クラスタで途絶えるという異常な状態になる。また、ディレクトリエントリ情報のうち、ファイルのデータサイズが誤った値を取った場合、ファイルシステムと、実際のファイルとの間において整合性が失われ、アクセスの支障をきたす。つまり、途中までは情報が記録されているはずのファイルにアクセスできなくなる場合がある。   Further, since the end point processing of the file cannot be performed, an abnormal state occurs in which the cluster chain is interrupted in an unused cluster. Also, if the file data size of the directory entry information takes an incorrect value, the consistency between the file system and the actual file is lost, and access is hindered. In other words, it may be impossible to access a file where information should be recorded until halfway.

そこで、この第4の実施の形態の記録再生装置においては、記録処理の開始時に、どのファイルに情報信号を記録するかを示す情報を電源が落ちても記憶されている情報が消滅してしまうことのない不揮発性メモリに書き込む。そして、正常に記録処理が終了した場合には、記録開始時に不揮発性メモリに書き込んだどのファイルに情報信号を記録するかを示す情報を消去したり、終了フラグを立てたりして無効化するようにする。   Therefore, in the recording / reproducing apparatus of the fourth embodiment, at the start of the recording process, the stored information disappears even if the information indicating which file the information signal is recorded to is turned off. Write to non-volatile memory. When the recording process ends normally, the information indicating in which file the information signal is recorded in the non-volatile memory at the start of recording is deleted or an end flag is set to invalidate the information signal. To.

このようにすることにより、例えば電源立ち上げ時などにおいて、どのファイルに情報信号を記録するかを示す情報が無効化されていないものがある場合に、そのファイルは、記録途中に何らかの原因により中断してしまったものであることが分かり復旧の対象とすることが可能となる。   By doing so, for example, when the information indicating which file the information signal is recorded in is not invalidated when the power is turned on, the file is interrupted for some reason during the recording. It becomes clear that it has been done, and it becomes possible to make it the object of restoration.

図20は、この第4の実施の形態の記録再生装置で行う、動画情報、静止画情報、ITデータ等の情報信号の記録時の動作を説明するための図である。この第4の実施の形態の記録再生装置は、例えば、図20に示すように、時点t1において、キー操作部14を通じて記録開始リクエストを受け付けると、その直後の時点t2において、どのファイルに情報信号を記録するかを示す情報を不揮発性メモリ17に記録する。   FIG. 20 is a diagram for explaining the operation at the time of recording information signals such as moving image information, still image information, IT data, etc., performed by the recording / reproducing apparatus of the fourth embodiment. For example, as shown in FIG. 20, when the recording / reproducing apparatus of the fourth embodiment accepts a recording start request through the key operation unit 14 at time t1, to which file the information signal is transmitted at time t2. Is recorded in the nonvolatile memory 17.

そして、通常の記録処理と同様に、ディレクトリエントリ情報を書き込み、FAT情報を参照して必要な情報を得るとともに、新たな情報を書き込むようにし、次に、目的とする情報信号(データ)を記録する。そして、予め決められたタイミングで、FAT情報を参照して必要な情報を得るとともに、新たな情報を書き込み、また、所定量の情報信号(データ)を書き込むという処理を繰り返して行く。   Then, as in the normal recording process, the directory entry information is written, the necessary information is obtained by referring to the FAT information, new information is written, and then the target information signal (data) is recorded. To do. At a predetermined timing, necessary information is obtained by referring to the FAT information, new information is written, and a predetermined amount of information signal (data) is written.

この後、図20において、時点t3に示すように、キー操作部14を通じて使用者から記録終了リクエストを受け付けると、FAT情報を参照して必要な情報を得るとともに、終了コード(終端コード)を書き込み、また、ディレクトリエントリ情報にファイルサイズを書き込む。   Thereafter, as shown at time t3 in FIG. 20, when a recording end request is received from the user through the key operation unit 14, necessary information is obtained with reference to the FAT information and an end code (end code) is written. Also, the file size is written in the directory entry information.

これらの一連の記録処理が正常に終了した場合に、図20において、時点t4に示すように、ホストCPU13は、記録開始時に不揮発性メモリ17に記録したどのファイルに情報信号(データ)を記録するかを示す情報を無効化して、記録処理を正常終了する。   When these series of recording processes are normally completed, as shown at time t4 in FIG. 20, the host CPU 13 records the information signal (data) in any file recorded in the nonvolatile memory 17 at the start of recording. Is invalidated, and the recording process ends normally.

しかし、図21Aにおいてバツ印が示すように、情報信号の記録中に何らかの原因により、電源が遮断され記録処理が中断された場合には、FAT情報には、終了コードが付けられていないし、ディレクトリエントリ情報には、正確なファイルサイズが更新されずに、ファイルサイズはゼロのままとなる。   However, as indicated by the cross in FIG. 21A, if the recording process is interrupted due to some reason during recording of the information signal, the FAT information is not attached with an end code, In the entry information, the exact file size is not updated, and the file size remains zero.

この場合、電源が復旧して再度電源を立ち上げ直すと、不揮発性メモリ17のどのファイルに情報信号を記録するかを示す情報が無効化されていないので、その情報により示されるファイルを復旧する必要があることが分かる。この場合には、図21Bに示すように、その復旧対象のファイルのFAT情報をたどり、そのファイルのファイルサイズを求めるようにする。   In this case, when the power supply is restored and the power supply is turned on again, information indicating in which file the information signal is recorded in the nonvolatile memory 17 is not invalidated, and thus the file indicated by the information is restored. I understand that it is necessary. In this case, as shown in FIG. 21B, the FAT information of the file to be restored is traced to determine the file size of the file.

そして、終了コードを検出することなく、クラスタをたどることができ無くなくなったところが、そのファイルのFAT情報の最後であるので、そこまでのファイルサイズを正式なファイルサイズとし、そのファイルのFAT情報の最後に終了コード付加する。   Since the place where it is no longer possible to follow the cluster without detecting the end code is the end of the FAT information of the file, the file size up to that point is regarded as the official file size, and the FAT information of the file is Add an end code at the end.

また、求めたファイルサイズをディレクトリエントリ情報に更新するとともに、データ領域には書き込まれているものの、FAT情報との対応で復旧できなかったデータ部分を未使用データ領域として開放するようにする。これにより、記録処理の途中で電源が遮断され、記録処理が中断された場合であっても、その記録処理が中断されたファイルを記録された情報信号(データ)をできるだけ無駄にしないようにして復旧することができる。   In addition, the obtained file size is updated to the directory entry information, and a data portion that has been written to the data area but could not be recovered by correspondence with the FAT information is released as an unused data area. As a result, even if the power is cut off during the recording process and the recording process is interrupted, the information signal (data) recorded with the file for which the recording process is interrupted is not wasted as much as possible. It can be recovered.

図22は、図21に示した状態をより詳しく説明するための図である。図22Aに示すように、ファイルのデータをハードディスクや半導体メモリカードなどのデータ領域の02クラスタを起点として、03クラスタ→24クラスタ→25クラスタ→26クラスタ→27クラスタ→28クラスタ→29クラスタの順で記録しているとする。   FIG. 22 is a diagram for explaining the state shown in FIG. 21 in more detail. As shown in FIG. 22A, starting from the 02 cluster of the data area such as a hard disk or a semiconductor memory card, the file data is in the order of 03 cluster → 24 cluster → 25 cluster → 26 cluster → 27 cluster → 28 cluster → 29 cluster. Suppose you are recording.

この場合、記録媒体のFAT情報を更新するために、図22Bに示すように、内部メモリである例えばRAM16上に保持するようにしているFAT情報には、29クラスタへの情報信号の記録途中であり、次に情報信号を記録するクラスタが未定であるので、アドレス29の記憶領域には、未使用を示すコードが入っている状態になっている。   In this case, in order to update the FAT information of the recording medium, as shown in FIG. 22B, the FAT information stored in the internal memory, for example, the RAM 16 is included in the middle of recording the information signal to 29 clusters. Then, since the cluster to record the information signal next is undecided, the storage area at the address 29 is in a state where a code indicating that it is not used.

一方、記録媒体上のFAT情報は、図22Cに示すように、定期的な内容の更新処理でRAM16上のFAT情報の変化分が反映するようにされるが、ここではアドレス27まで更新された状態になっており、次回の定期的な更新により、アドレス28、29、…が更新するようにされることになり、アドレス28、29は未使用となっている。   On the other hand, as shown in FIG. 22C, the FAT information on the recording medium reflects the change in the FAT information on the RAM 16 in the periodic content update processing, but here, it is updated to the address 27. In this state, the addresses 28, 29,... Are updated by the next periodic update, and the addresses 28, 29 are unused.

この図22A、B、Cの状態にあるときに、電源遮断が発生し、情報信号の記録処理が中断した場合、記録媒体上のFAT情報は、図22Cに示したままとなる。また、図22Bに示したRAM16上のFAT情報は、電源遮断により失われることになる。   In the state of FIGS. 22A, 22B, and 22C, when the power is cut off and the recording process of the information signal is interrupted, the FAT information on the recording medium remains as shown in FIG. 22C. Further, the FAT information on the RAM 16 shown in FIG. 22B is lost due to power shutdown.

そして、電源の復旧後、この第4の実施の形態の記録再生装置に電源を投入し、不揮発性メモリ17に記録されているどのファイルに情報信号を記録するかを示す情報を確認すると、その情報は無効化されていないので、そのファイルが記録途中であり、ファイルサイズの整合が取れていないために、使用不能となっていることが分かる。   Then, after the power supply is restored, the recording / reproducing apparatus of the fourth embodiment is turned on, and when the information indicating in which file the information signal is recorded in the nonvolatile memory 17 is confirmed, Since the information is not invalidated, it can be seen that the file is being recorded and cannot be used because the file size is not consistent.

そこで、不揮発性メモリ17に記録されているどのファイルに情報信号を記録するかを示す情報により、復旧すべきファイルを特定し、そのファイルのディレクトリエントリ情報からFAT情報の情報信号の記録開始クラスタに対応するアドレスを特定する。   Therefore, a file to be restored is specified by information indicating in which file the information signal is recorded in the non-volatile memory 17, and the FAT information information signal recording start cluster is identified from the directory entry information of the file. Identify the corresponding address.

そして、その特定したアドレスから、図22Dに示すように、記録媒体上に形成されているFAT情報をたどる。この例の場合、図22Dに示した記録媒体上のFAT情報において、未使用コードの直前のクラスタに対応するアドレス(27アドレス)には、次のリンク先がクラスタ28であることが記録されているが、クラスタ28の最後まで情報信号が記録されていることはこの状態では確認できないので、その最後まで情報信号が記録されていることが分かる27クラスタを当該ファイルの最後のクラスタとみなす。   Then, from the specified address, the FAT information formed on the recording medium is traced as shown in FIG. 22D. In the case of this example, in the FAT information on the recording medium shown in FIG. 22D, it is recorded that the next link destination is the cluster 28 at the address (27 addresses) corresponding to the cluster immediately before the unused code. However, since it is not possible to confirm in this state that the information signal has been recorded up to the end of the cluster 28, the 27 clusters in which the information signal has been recorded up to the end are regarded as the last cluster of the file.

そして、クラスタ27に対応する記録媒体上のFAT情報のアドレスである27アドレスの内容を図22Eに示すように、終端を示すコードに置き換える。そして、ホストCPU13は、たどったクラスタの数をデータ量に換算し、記録媒体上のディレクトリエントリ情報の当該ファイルのファイルサイズを換算したデータ量に置き換える。   Then, the contents of address 27, which is the address of the FAT information on the recording medium corresponding to cluster 27, are replaced with a code indicating the end as shown in FIG. 22E. Then, the host CPU 13 converts the number of traced clusters into a data amount, and replaces the file size of the file of the directory entry information on the recording medium with the converted data amount.

これにより、記録媒体上のFAT情報を復旧することにより、終端を処理した27クラスタまでファイルシステムとして整合が保たれており、そこまでに記録した情報信号に対して問題なくアクセスすることができるようにされる。   Thus, by restoring the FAT information on the recording medium, the file system is maintained consistent up to 27 clusters that have been processed at the end, so that the information signals recorded so far can be accessed without any problems. To be.

[ファイルの復旧処理]
図23は、この第4の実施の形態の記録再生装置において行われる上述したファイルの復旧処理について説明するためのフローチャートである。この図23に示す処理は、この記録再生装置に電源が投入された場合に、ホストCPU13において実行される処理である。
[File recovery process]
FIG. 23 is a flowchart for explaining the above-described file restoration processing performed in the recording / reproducing apparatus of the fourth embodiment. The process shown in FIG. 23 is a process executed in the host CPU 13 when the recording / reproducing apparatus is powered on.

電源が投入されると、ホストCPU13は、不揮発性メモリ17のどのファイルに情報信号を記録するかを示す情報を参照し、異常終了後の電源投入か否かを判断する(ステップS701)。ステップS701の判断処理において、どのファイルに情報信号を記録するかを示す情報は無効化されており、異常終了後の電源投入ではないと判断したときには、この図23に示す処理を終了する。   When the power is turned on, the host CPU 13 refers to information indicating in which file in the nonvolatile memory 17 the information signal is recorded, and determines whether or not the power is turned on after abnormal termination (step S701). In the determination process in step S701, the information indicating in which file the information signal is recorded is invalidated. When it is determined that the power is not turned on after the abnormal end, the process shown in FIG. 23 is terminated.

ステップS701の判断処理において、どのファイルに情報信号を記録するかを示す情報が無効化されておらず、異常終了後の電源投入であると判断したときには、不揮発性メモリの情報から記録が中断されたファイルを特定し、そのファイルの先頭クラスタに対応するファイル管理テーブルであるFAT情報のアドレスを特定する(ステップS702)。   In the determination process of step S701, when the information indicating in which file the information signal is recorded is not invalidated and it is determined that the power is turned on after abnormal termination, the recording is interrupted from the information in the nonvolatile memory. The file is identified, and the address of the FAT information that is the file management table corresponding to the first cluster of the file is identified (step S702).

そして、ホストCPU13は、ステップS702において特定したアドレス(当該ファイルの先頭クラスタに対応するアドレス)からファイル管理テーブルであるFAT情報をたどり、ファイルサイズを確定する(ステップS703)。この後、FAT情報の当該ファイルの最終クラスタに対応するアドレスの領域に終了コードを付加し(ステップS704)、ステップS703で確定したファイルサイズを、当該ファイルのディレクトリエントリ情報に更新して当該ディレクトリエントリ情報を正常な状態に復旧する(ステップS705)。   Then, the host CPU 13 follows the FAT information, which is a file management table, from the address specified in step S702 (address corresponding to the first cluster of the file), and determines the file size (step S703). Thereafter, an end code is added to the area of the address corresponding to the final cluster of the file of the FAT information (step S704), and the file size determined in step S703 is updated to the directory entry information of the file to update the directory entry. The information is restored to a normal state (step S705).

これにより、記録処理途中に電源の遮断が起こり、記録処理が中断しても、それまでの記録データの全部が使用できなくなるという不都合を回避し、信頼性の高い記録再生装置を実現することができる。   As a result, it is possible to avoid the inconvenience that the entire recorded data cannot be used even when the power supply is interrupted during the recording process and the recording process is interrupted, and a highly reliable recording / reproducing apparatus can be realized. it can.

[電源遮断時の不都合を回避するための他の例]
上述した第4の実施の形態の記録再生装置の場合には、図20を用いて説明したように、情報信号を記録する場合、記録開始の直前にディレクトリエントリ情報を記録媒体上に書き込むとともに、FAT情報を記録媒体上に形成するようにし、その後、定期的にFAT情報のみを更新していき、記録終了時において、FAT情報の最終の更新を行うとともに、ディレクトリエントリ情報にファイルサイズなどの情報を更新して、記録処理を終了するものとして説明した。
[Another example to avoid inconvenience when the power is cut off]
In the case of the recording / reproducing apparatus of the fourth embodiment described above, as described with reference to FIG. 20, when recording an information signal, the directory entry information is written on the recording medium immediately before the start of recording, The FAT information is formed on the recording medium, and thereafter only the FAT information is periodically updated. At the end of the recording, the FAT information is updated at the same time, and the directory entry information includes information such as the file size. Has been described as updating the recording process.

この場合には、電源遮断が発生した場合に、FAT情報にエンドコードが記録されず、かつ、ディレクトリエントリ情報のファイルサイズが正確でないために、電源遮断前に記録された情報までもが使用不能になってしまうのである。   In this case, when the power is cut off, the end code is not recorded in the FAT information, and the file size of the directory entry information is not accurate, so even the information recorded before the power is turned off cannot be used. It will become.

そこで、この例においては、図24に示すように、情報信号の記録時において、FAT情報の更新とディレクトリエントリ情報の更新との両方を定期的に行うようにし、情報信号を記録した後においての更新では、FAT情報には必ずエンドコードを付加し、ディレクトリエントリ情報には、その時点における正確なファイルサイズを更新するようにする。   Therefore, in this example, as shown in FIG. 24, when the information signal is recorded, both the update of the FAT information and the update of the directory entry information are periodically performed, and after the information signal is recorded, In updating, an end code is always added to the FAT information, and the exact file size at that time is updated in the directory entry information.

このようにすることにより、電源遮断が発生しても、FAT情報とディレクトリエントリ情報とが最後に更新された部分に対応する記録済みの情報信号については、使用できなくなることはなく、正常に使用することができるようにされる。また、不揮発性メモリへのどのファイルに情報信号を記録するかを示す情報の記録やその情報の無効化を行うこともない。   In this way, even if the power is cut off, the recorded information signal corresponding to the part where the FAT information and the directory entry information are updated last time can be used normally without being lost. To be able to. Further, it does not record information indicating in which file the information signal is recorded in the nonvolatile memory or invalidate the information.

図25は、図24を用いて説明したこの例の電源遮断時の不都合を回避するための方策について詳細に説明するための図である。図25A1に示すように、ファイルの情報信号をハードディスクや半導体メモリカードなどのデータ領域の02クラスタを起点として、03クラスタ→24クラスタ→25クラスタ→26クラスタの順で記録しているとする。   FIG. 25 is a diagram for explaining in detail a measure for avoiding the inconvenience at the time of power-off in this example described with reference to FIG. As shown in FIG. 25A1, it is assumed that file information signals are recorded in the order of 03 clusters → 24 clusters → 25 clusters → 26 clusters starting from the 02 cluster of the data area such as a hard disk or a semiconductor memory card.

この場合、記録媒体のFAT情報を更新するために、図25A2に示すように、内部メモリである例えばRAM16上に保持するようにしているFAT情報には、26クラスタへの情報信号の記録途中であり、次に情報信号を記録するクラスタが未定であるので、アドレス26の記憶領域には、未使用を示すコードが入っている状態になっている。   In this case, in order to update the FAT information of the recording medium, as shown in FIG. 25A2, the FAT information stored in the internal memory, for example, the RAM 16 is included in the recording of information signals to 26 clusters. Then, since the cluster for recording the information signal next is undecided, the storage area at the address 26 is in a state where a code indicating that it is not used is entered.

一方、記録媒体上のFAT情報は、図25A3に示すように、定期的な内容の更新処理でRAM16上のFAT情報の変化分が反映するようにされるが、このときに、この場合、この時点における最終クラスタには終了コード(FF)を入れておくようにする。   On the other hand, as shown in FIG. 25A3, the FAT information on the recording medium reflects the change in the FAT information on the RAM 16 by the periodic content update process. An end code (FF) is put in the last cluster at the time.

ここでは、図25A3に示すように、記録媒体上のデータ領域の25クラスタに情報信号を書き終えた時点で記録媒体上のFAT情報が更新され、25クラスタに対応するFAT情報の25アドレスの領域に終了コードが入れられる。また、同時に、記録媒体上のディレクトリエントリ情報のファイルサイズの値も、情報信号が記録された25クラスタまでのサイズに更新する。   Here, as shown in FIG. 25A3, the FAT information on the recording medium is updated when the information signal has been written to the 25 clusters in the data area on the recording medium, and the 25-address area of the FAT information corresponding to the 25 clusters. The exit code is entered in. At the same time, the file size value of the directory entry information on the recording medium is also updated to a size up to 25 clusters in which the information signal is recorded.

この状態で電源遮断が発生したとしても、25クラスタまでFATシステムとしての整合性は保たれているので、当該ファイルの25クラスタまでに記録された情報信号についてはアクセス可能となる。   Even if the power is cut off in this state, the consistency as the FAT system is maintained up to 25 clusters, so that the information signals recorded up to 25 clusters of the file can be accessed.

そして、図25A1、A2、A3に示した状態からさらに情報信号の記録が進み、図25B1、B2に示すように、記録媒体のデータ領域の26クラスタ以降に情報信号の記録が行われるようにされる。   Then, the recording of the information signal further proceeds from the state shown in FIGS. 25A1, A2, and A3, and as shown in FIGS. 25B1 and B2, the information signal is recorded after 26 clusters in the data area of the recording medium. The

そして、29クラスタに情報信号を記録し終えた時点が所定のタイミングに相当するとすると、図25B3に示すように、前回の更新で終端とした記録媒体上のFAT情報の25クラスタに対応する25アドレスの領域に正しい値、すなわち、次に情報信号が記録されているのは26クラスタであることを示す情報を入れ直し、さらにFAT情報の25クラスタに対応する25アドレスの領域に終了コード(FF)を更新し、29クラスタを終端とするようにする。 Then, assuming that the time point when the information signal has been recorded in 29 clusters corresponds to a predetermined timing, as shown in FIG. 25B3, 25 addresses corresponding to 25 clusters of FAT information on the recording medium terminated in the previous update. The correct value, that is, the information indicating that the next information signal is recorded is 26 clusters is re-inserted in the area, and the end code (FF) is added to the area of 25 addresses corresponding to 25 clusters of the FAT information. Update to end 29 clusters.

また同時に、記録媒体上のディレクトリエントリ情報のファイルサイズの値も、データが記録された25クラスタまでのサイズに更新する。   At the same time, the file size value of the directory entry information on the recording medium is updated to a size up to 25 clusters in which data is recorded.

このようにしておけば、上述もしたように、電源遮断が発生したとしても、最終にFAT情報とディレクトリエントリ情報とが更新するようにされたところまでの情報信号については、電源遮断復旧後において何ら支障なくアクセスして利用することができる。   In this way, as described above, even if the power shutoff occurs, the information signal up to the point where the FAT information and the directory entry information are finally updated will not be changed after the power shutoff is restored. It can be accessed and used without any problems.

なお、図20〜図23を用いて説明したFAT情報をたどり直す方法と、図24、図25を用いて説明したFAT情報とディレクトリエントリ情報との両方を定期的に更新する方法とのいずれを用いるかは、例えば、ホストCPUの能力やその他の種々の条件を考慮し、選択すればよい。   It should be noted that any one of the method of tracing back the FAT information described with reference to FIGS. 20 to 23 and the method of periodically updating both the FAT information and the directory entry information described with reference to FIGS. Whether to use it may be selected in consideration of, for example, the capability of the host CPU and other various conditions.

[第5の実施の形態](図26〜図33参照)
前述した第2の実施の形態においては、再生時におけるデータアクセス速度、ランダムアクセス性能を改善するために、FAT情報からクラスタリンクテーブル(リンク情報テーブル)を作成するようにした。このクラスタリンクテーブルは、記録媒体に記録された情報の利用に先立って行うものとして説明した。
[Fifth Embodiment] (See FIGS. 26 to 33)
In the second embodiment described above, a cluster link table (link information table) is created from the FAT information in order to improve the data access speed and random access performance during reproduction. The cluster link table has been described as being performed prior to the use of information recorded on the recording medium.

したがって、クラスタリンクテーブルは、記録媒体に記録された情報信号が再生されるまでの間の任意の時点において形成することが可能である。しかし、記録媒体に記録した情報信号のクラスタリンクテーブルをその再生の時までに作成しておかなければ、クラスタリンクテーブルを用いて、その情報信号の再生、早送り、早戻しができなくなる。   Therefore, the cluster link table can be formed at any point in time until the information signal recorded on the recording medium is reproduced. However, unless the cluster link table of the information signal recorded on the recording medium is prepared by the time of reproduction, the information signal cannot be reproduced, fast forwarded, or fast rewinded using the cluster link table.

このため、クラスタリンクテーブルを予め決められたタイミングで形成するようにしたり、クラスタリンクテーブルの形成を例えば記録再生装置が空いている時間に使用者からの要求に応じて行うようにしたりすることが考えられる。しかし、クラスタリンクテーブルの形成が使用者に意識されてしまうのは、結果として記録再生装置の使用制限となってしまう可能性があり好ましくないし、また、使用者自身がクラスタリンクテーブルの形成を指示するのは面倒である。   For this reason, the cluster link table may be formed at a predetermined timing, or the cluster link table may be formed in response to a request from the user when the recording / reproducing apparatus is available, for example. Conceivable. However, it is not preferable for the user to be aware of the formation of the cluster link table because it may result in restrictions on the use of the recording / reproducing apparatus, and the user himself instructs the formation of the cluster link table. It is troublesome to do.

そこで、この第5の実施の形態の記録再生装置は、使用者に意識させることなく、また、記録再生装置において行われる処理などに影響を及ぼすことがないようにして、クラスタリンクテーブルを形成するようにしたものである。なお、この第5の実施の形態の記録再生装置もまた、図1に示したように、前述した第1〜第4の実施の形態の記録再生装置と同様に構成され、同様の機能を有するものである。   Therefore, the recording / reproducing apparatus according to the fifth embodiment forms the cluster link table without making the user aware of it and without affecting the processing performed in the recording / reproducing apparatus. It is what I did. The recording / reproducing apparatus of the fifth embodiment is also configured similarly to the recording / reproducing apparatuses of the first to fourth embodiments described above and has the same functions as shown in FIG. Is.

そして、この第5の実施の形態の記録再生装置においては、情報信号をリアルタイムに処理する場合に、情報信号を一時記憶するバッファ8がオーバーフローしたりアンダーフローしたりしないようにして、バッファ8からのデータの読み出しやバッファ8へのデータの書き込みを一時的に停止させることが可能であるが、このようなバッファメモリからのデータの読み出しや書き込みを一時的に停止させることが可能な時間を空き時間として設け、この空き時間にクラスタリンクテーブルの形成を行うようにしている。   In the recording / reproducing apparatus according to the fifth embodiment, when the information signal is processed in real time, the buffer 8 for temporarily storing the information signal is prevented from overflowing or underflowing from the buffer 8. Although it is possible to temporarily stop reading data and writing data to the buffer 8, there is a free time in which reading and writing data from the buffer memory can be temporarily stopped. It is provided as time, and the cluster link table is formed during this free time.

具体的には、図1に示した構成を有するこの実施の形態の記録再生装置が、ハードディスク11にデータファイルa、データファイルb、データファイルcの順で情報信号(データ)を記録していく場合に、FAT情報は、図26Aに示すように形成されることになる。   Specifically, the recording / reproducing apparatus of this embodiment having the configuration shown in FIG. 1 records information signals (data) in the order of data file a, data file b, and data file c on the hard disk 11. In that case, the FAT information will be formed as shown in FIG. 26A.

この場合に、最初のデータファイルaについて記録が終了し、データファイルbの記録に移ったところで、図26Bに示すように、データファイルbの記録中において、ハードディスク11に記録しようとするデータのバッファ8への書き込みは続行させるが、バッファ8に記録されたデータのバッファ8からの読み出しとハードディスク11への書き込みとをバッファ8がオーバーフローしないようにして停止させることが可能な期間を空き時間として設け、この空き時間に記録済みのデータファイルaについてのクラスタリンクテーブルを形成する。   In this case, when the recording of the first data file a is completed and the recording of the data file b is started, as shown in FIG. 26B, a buffer of data to be recorded on the hard disk 11 during the recording of the data file b. 8 is continued, but a period in which reading of the data recorded in the buffer 8 from the buffer 8 and writing to the hard disk 11 can be stopped without overflowing the buffer 8 is provided as an empty time. Then, a cluster link table is formed for the data file a recorded in this free time.

また、データファイルbのクラスタリンクテーブルは、データファイルbより後に記録されるデータファイルcの記録中でもよいし、ハードディスク11に記録されたデータファイルaの再生中において、再生しようとするデータのハードディスク11からの読み出しとバッファ8への書き込みとをバッファ8がアンダーフローしないようにして停止させることが可能な期間を空き時間として設け、この空き時間において、図27Aに示したように形成されるFAT情報から、図27Bに示すように、データファイルbのクラスタリンクテーブルを形成する。   The cluster link table of the data file b may be recorded in the data file c recorded after the data file b, or the hard disk 11 of the data to be reproduced during reproduction of the data file a recorded in the hard disk 11. A period in which reading from the disk and writing to the buffer 8 can be stopped so that the buffer 8 does not underflow is provided as a free time, and the FAT information formed as shown in FIG. From FIG. 27B, a cluster link table of the data file b is formed.

このクラスタリンクテーブルの形成時において注意すべき点は、記録処理や再生処理などのリアルタイム処理を中断させることがないように、記録時においてはバッファ8がオーバーフローしないようにし、また、再生時においてはバッファ8がアンダーフローしないようにしなければならない。   The points to be noted when forming this cluster link table are that the real time processing such as recording processing and playback processing is not interrupted, so that the buffer 8 does not overflow during recording, and during playback, The buffer 8 must not be underflowed.

この場合、バッファ8の残量を常時監視するようにし、記録時においてバッファ8がオーバーフローしそうになったらクラスタリンクテーブルの形成を中止し、また、再生時においてバッファ8がアンダーフローしそうになったらクラスタリンクテーブルの形成を中止するようにすることが考えられる。   In this case, the remaining amount of the buffer 8 is constantly monitored, and when the buffer 8 is likely to overflow during recording, the formation of the cluster link table is stopped, and when the buffer 8 is likely to underflow during reproduction, the cluster is stopped. It can be considered to stop the formation of the link table.

しかし、この場合には、クラスタリンクテーブルの形成中にその処理を中止させるための割り込みを発生させなければならないし、クラスタリンクテーブルの形成処理を急に中止する場合には、クラスタリンクテーブルに不正合が生じないようにするなどの後処理が必要になってしまい、ホストCPU13の負荷を増大させてしまう。   However, in this case, an interrupt for stopping the processing must be generated while the cluster link table is being formed. If the cluster link table forming process is suddenly stopped, the cluster link table is invalidated. Post-processing such as preventing a match will be required, increasing the load on the host CPU 13.

そこで、この第5の実施の形態の記録再生装置においては、記録時には、バッファ8のデータの蓄積量が所定下限量以下になった場合に、バッファ8のデータの蓄積量が所定上限量以上になるまでにかかる期間から、バッファ8がオーバーフローすることがない空き時間の大きさを設定し、この大きさの範囲内においてクラスタリンクテーブルの形成処理を行う。   Therefore, in the recording / reproducing apparatus of the fifth embodiment, at the time of recording, when the amount of data stored in the buffer 8 falls below a predetermined lower limit, the amount of data stored in the buffer 8 exceeds the predetermined upper limit. The amount of free time during which the buffer 8 does not overflow is set from the period required until this time, and the cluster link table forming process is performed within this range.

同様に、再生時には、バッファ8のデータの蓄積量が所定上限量以上になった場合に、バッファ8のデータの蓄積量が所定下限量以下になるまでにかかる期間から、バッファ8がアンダーフローすることがない空き時間の大きさを設定し、この大きさの範囲内においてクラスタリンクテーブルの形成処理を行う。   Similarly, at the time of reproduction, when the accumulated amount of data in the buffer 8 becomes equal to or greater than the predetermined upper limit amount, the buffer 8 underflows from the period required until the accumulated amount of data in the buffer 8 becomes equal to or smaller than the predetermined lower limit amount. The amount of free time that does not occur is set, and cluster link table formation processing is performed within this size range.

ここで、空き時間の大きさは、クラスタリンクテーブルを形成するために、ハードディスク11上に既に形成されているFAT情報についての処理可能なデータ量(アクセス可能なデータ量)により、あるいは、クラスタリンクテーブルの形成処理時間により規定することができる。   Here, the amount of free time depends on the amount of data that can be processed (accessible data amount) for the FAT information already formed on the hard disk 11 in order to form the cluster link table, or on the cluster link. It can be defined by the table formation processing time.

図28は、リアルタイム処理時においてクラスタリンクテーブルの形成を行う空き時間の設定について説明するための図である。図28Aは、記録時におけるクラスタリンクテーブルの形成のための空き時間の設定について説明するための図であり、図28Bは、再生時におけるクラスタリンクテーブルの形成のための空き時間の設定について説明するための図である。   FIG. 28 is a diagram for explaining setting of free time for forming a cluster link table during real-time processing. FIG. 28A is a diagram for explaining setting of a free time for forming a cluster link table at the time of recording, and FIG. 28B is a diagram for explaining setting of a free time for forming a cluster link table at the time of reproduction. FIG.

記録時においては、図28Aに示すように、記録しようとするデータは、時間軸補正を行うため、バッファ8に一旦記録した後、バッファ8から読み出されて、ハードディスク11に記録されるが、例えば、下限基準Wまで蓄積データが少なくなった場合には、蓄積データが上限基準WDまで蓄積されるまでにある程度の時間がかかる。   At the time of recording, as shown in FIG. 28A, the data to be recorded is temporarily recorded in the buffer 8 and then read out from the buffer 8 and recorded in the hard disk 11 in order to perform time axis correction. For example, when the accumulated data decreases to the lower limit reference W, it takes a certain amount of time for the accumulated data to be accumulated to the upper limit reference WD.

そこで、バッファ8の蓄積データが下限基準W以下になった場合に、蓄積データが上限基準WDまで蓄積されるまでの期間においては、バッファ8からのデータの読み出しと、ハードディスク11への記録を一時的に停止させ、記録データのバッファ8への記録のみを行うようにすることができる。   Therefore, when the accumulated data in the buffer 8 becomes equal to or lower than the lower limit reference W, the data reading from the buffer 8 and the recording to the hard disk 11 are temporarily performed until the accumulated data is accumulated up to the upper limit reference WD. Thus, it is possible to stop the recording and only record the recording data in the buffer 8.

したがって、このバッファ8の蓄積データが下限基準W以下になった時点から蓄積データが上限基準WDまで蓄積されるまでの期間を空き時間とし、この期間にクラスタリンクテーブルの形成を行うようにする。   Therefore, a period from when the accumulated data in the buffer 8 becomes lower than the lower limit reference W to when the accumulated data is accumulated up to the upper limit reference WD is defined as a free time, and the cluster link table is formed during this period.

なお、上限基準WDは、蓄積データが上限基準WDに至った時点において、バッファ8からデータを読み出して記録媒体に記録処理を再開させた場合には、バッファ8のオーバーフローが発生しないように定められる基準であり、多少の余裕をもって定められる。また、下限基準Wは、記録処理が滞ることがないように設定される。   The upper limit reference WD is determined so that the overflow of the buffer 8 does not occur when data is read from the buffer 8 and recording processing is resumed on the recording medium when the accumulated data reaches the upper limit reference WD. It is a standard and is determined with some margin. The lower limit reference W is set so that the recording process is not delayed.

再生時においては、図28Bに示すように、再生しようとするデータは、時間軸補正を行うため、記録媒体から読み出された後に、バッファ8に一旦記録され、これがバッファ8から読み出されて再生するようにされるが、例えば、上限基準Rまで蓄積データが増加した場合には、再生が進行し、蓄積データが下限基準RDまで増加するまでにある程度の時間がかかる。   At the time of reproduction, as shown in FIG. 28B, the data to be reproduced is temporarily recorded in the buffer 8 after being read from the recording medium in order to perform time axis correction, and this is read from the buffer 8. For example, when the accumulated data increases to the upper limit reference R, the reproduction proceeds, and it takes some time for the accumulated data to increase to the lower limit reference RD.

そこで、バッファ8の蓄積データが上限基準R以上になった場合に、蓄積データが下限基準RDまで減少するまでの期間においては、記録媒体からデータを読み出して、これをバッファ8に書き込む処理を一時的に停止させ、バッファ8からデータの再生のみを行うようにすることができる。   Therefore, when the accumulated data in the buffer 8 is equal to or higher than the upper limit reference R, the process of reading the data from the recording medium and writing it in the buffer 8 is temporarily performed until the accumulated data decreases to the lower limit reference RD. It is possible to stop the operation and only reproduce data from the buffer 8.

したがって、このバッファ8の蓄積データが上限基準R以上になった時点から蓄積データが下限基準RDまで減少するまでの期間を空き時間とし、この期間にクラスタリンクテーブルの形成を行うようにする。   Therefore, a period from when the stored data in the buffer 8 becomes equal to or higher than the upper limit reference R to when the stored data decreases to the lower limit reference RD is defined as a free time, and the cluster link table is formed during this period.

なお、下限基準RDは、蓄積データが下限基準WDに至った場合に、バッファ8への再生データの書き込みを再開させた場合には、バッファ8のアンダーフローが発生しないように定められる基準であり、多少の余裕をもって定められる。また、上限基準Rは、再生処理に不都合が生じることがないように設定される。   Note that the lower limit reference RD is a reference that is set so that underflow of the buffer 8 does not occur when writing of reproduction data to the buffer 8 is resumed when the accumulated data reaches the lower limit reference WD. , Determined with some margin. In addition, the upper limit reference R is set so that no inconvenience occurs in the reproduction process.

このようにして設定される空き時間に応じて、FAT情報についての処理可能なデータ量やクラスタリンクテーブルの形成処理時間に上限を設け、この上限に至るまでの間においては、クラスタリンクテーブルの形成処理を行い、上限に至ったときには、自動的にクラスタリンクテーブルの形成処理を終了するようにする。   Depending on the free time set in this way, an upper limit is set for the amount of data that can be processed for FAT information and the cluster link table formation processing time, and until this upper limit is reached, the formation of the cluster link table is reached. When the process reaches the upper limit, the cluster link table forming process is automatically terminated.

このようにすることにより、バッファ8の残量を常時監視することも無く、上述のように設定される空き時間において、当該空き時間に応じて設定されるFAT情報についての処理可能なデータ量分FAT情報をアクセスしてクラスタリンクテーブルを形成した後に、あるいは、クラスタリンクテーブルを空き時間に応じて設定される処理時間分形成した後に、自動的にクラスタリンクテーブルの形成処理を終了して、リアルタイム処理である記録処理や再生処理を滞りなく行うようにすることができる。   In this way, the remaining amount of the buffer 8 is not constantly monitored, and the amount of data that can be processed for the FAT information set according to the free time is set in the free time set as described above. After the FAT information is accessed and the cluster link table is formed, or after the cluster link table is formed for the processing time set according to the free time, the cluster link table forming process is automatically terminated in real time. The recording process and the reproduction process, which are processes, can be performed without delay.

なお、空き時間に応じて設定されるFAT情報についての処理可能なデータ量が分かれば、例えば、FAT情報の1回当たりのアクセスデータ量が決まっている場合には、当該空き時間におけるFAT情報の最大アクセス回数も分かることになり、この最大アクセス回数分FAT情報をアクセスしてクラスタリンクテーブルを形成した後に、自動的にクラスタリンクテーブルの形成処理を終了させるように制御するようにしてもよい。   If the amount of data that can be processed for the FAT information set according to the free time is known, for example, when the access data amount per time of the FAT information is determined, the FAT information in the free time is determined. The maximum access count is also known, and after forming the cluster link table by accessing the FAT information for the maximum access count, control may be performed so that the cluster link table formation processing is automatically terminated.

つまり、FAT情報についての処理可能なデータ量と1アクセスで読み出される単位データ量とに応じて決まるアクセス回数を上限値として用いることによって、自動的にクラスタリンクテーブルの形成処理を終了させるように制御することもできる。   In other words, the cluster link table forming process is automatically terminated by using, as an upper limit, the number of accesses determined according to the amount of data that can be processed for FAT information and the amount of unit data read in one access. You can also

もちろん、空き時間に応じて設定されるFAT情報についての処理可能なデータ量分クラスタリンクテーブルを形成する場合に、取り込んでくるFAT情報のデータ量をアクセス毎に変えたり、最初のN回のアクセスでは、アクセスして来るデータ量を例えばnブロックとするが、次のM回のアクセスでは、アクセスしてくるデータ量を例えばmブロックとしたりするなど、処理可能なデータ量の範囲内において、アクセスしてくるデータ量を適宜調整したり、予め決めておいたりすることも可能である。   Of course, when forming a cluster link table for the amount of data that can be processed for the FAT information set according to the free time, the data amount of the FAT information fetched is changed for each access, or the first N accesses are made. Then, the amount of data to be accessed is, for example, n blocks. In the next M accesses, for example, the amount of data to be accessed is, for example, m blocks. It is also possible to adjust the amount of data to be appropriately adjusted or to determine in advance.

同様に、空き時間に応じて設定されるクラスタリンクテーブルの形成処理時間が分かれば、例えば、FAT情報についての1回当たりのアクセス時間が決まっている場合には、当該空き時間におけるFAT情報の最大アクセス回数も分かることになり、この最大アクセス回数分FAT情報をアクセスしてクラスタリンクテーブルを形成した後に、自動的にクラスタリンクテーブルの形成処理を終了させるように制御するようにすることもできる。   Similarly, if the cluster link table formation processing time set according to the free time is known, for example, when the access time per time for FAT information is determined, the maximum FAT information in the free time is determined. It is also possible to know the number of accesses, and after forming the cluster link table by accessing the FAT information for the maximum number of accesses, it is possible to control to automatically end the cluster link table forming process.

もちろん、空き時間に応じて設定されるクラスタリンクテーブルの形成時間分クラスタリンクテーブルを形成する場合に、取り込んでくるFAT情報のデータ量をアクセスする毎に変えたり、最小のN回のアクセスでは、アクセスして来るデータ量を例えばnブロックとするが、次のM回のアクセスでは、アクセスしてくるデータ量を例えばmブロックとしたりするなど、その形成処理時間の中で、アクセスしてくるデータ量を適宜調整したり、予め決めておいたりすることも可能である。   Of course, when the cluster link table is formed for the formation time of the cluster link table set according to the free time, the amount of FAT information to be fetched is changed every time it is accessed, or with the minimum N accesses, The amount of data to be accessed is, for example, n blocks, but in the next M accesses, the amount of data to be accessed is, for example, m blocks. It is also possible to adjust the amount as appropriate or to determine it in advance.

また、図28においては、説明を簡単にするため、記録時における上限基準WD、再生時における下限基準RDを設定するものとして説明したが、これらは必ずしも必要ではなく、記録時における下限基準Wと再生時における上限基準Rとがあれば、空き時間の開始時点を設定することができる。つまり、その開始時点におけるデータの蓄積量と、バッファ8の記憶容量とに基づいて、空き時間の大きさを設定し、FAT情報についての処理可能なデータ量の上限値、クラスタリンクテーブルの形成処理時間の上限値、これらから算定可能なFAT情報のアクセス回数の上限値を設定することができる。   In FIG. 28, for simplicity of explanation, the upper limit reference WD at the time of recording and the lower limit reference RD at the time of reproduction are described as being set. However, these are not necessarily required. If there is an upper limit reference R at the time of reproduction, it is possible to set the start time of the idle time. That is, the amount of free time is set based on the data accumulation amount at the start time and the storage capacity of the buffer 8, and the upper limit value of the data amount that can be processed for the FAT information, the cluster link table forming process It is possible to set an upper limit value of time and an upper limit value of the number of accesses of FAT information that can be calculated from these.

次に、リアルタイム処理時として、記録時と再生時においてのクラスタリンクテーブル形成処理について、図29〜図32のフローチャートを参照しながら説明する。なお、以下においては、1回のアクセスで取り込んでくるFAT情報のデータ量(アクセスデータ量)と1回のアクセスにかかる時間(アクセス時間)が決まっている場合であって、クラスタリンクテーブルの形成処理時間の上限値(この例の場合には、空き時間に対応)から求められるFAT情報のアクセス回数の上限値をクラスタリンクテーブル形成処理の終了判断の基準として用いる場合を例にして説明する。   Next, cluster link table formation processing during recording and playback as real-time processing will be described with reference to the flowcharts of FIGS. In the following, the data amount of FAT information (access data amount) fetched in one access and the time required for one access (access time) are determined, and the cluster link table is formed. An example will be described in which the upper limit value of the FAT information access count obtained from the upper limit value of the processing time (corresponding to the free time in this example) is used as a criterion for determining the end of the cluster link table forming process.

まず、記録時において、クラスタリンクテーブルを形成する場合について説明する。図29は、記録時にクラスタリンクテーブルを形成するようにする処理を説明するためのフローチャートである。   First, a case where a cluster link table is formed during recording will be described. FIG. 29 is a flowchart for explaining processing for forming a cluster link table during recording.

この第5の実施の形態の記録再生装置は、上述もしたように、図1に示した構成を有するものであり、入出力端子1、入力端子3、カメラブロック4からの各種情報信号をハードディスク11あるいは半導体メモリカード12に記録することができるものである。   As described above, the recording / reproducing apparatus according to the fifth embodiment has the configuration shown in FIG. 1, and receives various information signals from the input / output terminal 1, the input terminal 3, and the camera block 4 on the hard disk. 11 or the semiconductor memory card 12 can be recorded.

ここでは、説明を簡単にするため、カメラブロック4を通じて撮影するようにされた動画像をハードディスク11に記録する場合を例にして説明する。この第5の実施の形態の記録再生装置が撮影モードにされると、スイッチ回路5、7は接続端b側に切り換えられ、スイッチ回路9は接続端a側に切り換えられてスタンバイ状態となる。   Here, in order to simplify the description, a case where a moving image that is shot through the camera block 4 is recorded on the hard disk 11 will be described as an example. When the recording / reproducing apparatus of the fifth embodiment is set to the photographing mode, the switch circuits 5 and 7 are switched to the connection end b side, and the switch circuit 9 is switched to the connection end a side to enter a standby state.

撮影スタートが指示されると、ホストCPU13は、図29に示す処理を実行し、各部を制御して、カメラブロック4からの動画データのバッファ8への取り込みを開始する(ステップS801)。そして、ホストCPU13は、時間軸補正を行うようにして、バッファ8に取り込まれた動画データを読み出し、これをハードディスク11に記録する(ステップS802)。   When the start of shooting is instructed, the host CPU 13 executes the processing shown in FIG. 29, controls each unit, and starts taking moving image data from the camera block 4 into the buffer 8 (step S801). Then, the host CPU 13 performs time axis correction, reads the moving image data fetched into the buffer 8, and records it on the hard disk 11 (step S802).

そして、ホストCPU13は、撮影を終了するように操作されたか否かを判断し(ステップS803)、撮影が終了するようにされたと判断したときには、ホストCPU13は、スイッチ回路9を接続端b側に切り換え、ハードディスク11上のFAT情報を更新するなどの終了処理を行って(ステップS809)、この図29に示す処理を終了する。   Then, the host CPU 13 determines whether or not the operation has been performed so as to end the shooting (step S803). When the host CPU 13 determines that the shooting has been ended, the host CPU 13 moves the switch circuit 9 to the connection end b side. An end process such as switching and updating the FAT information on the hard disk 11 is performed (step S809), and the process shown in FIG. 29 ends.

ステップS803の判断処理において、撮影が終了するようにされていないと判断したときには、ホストCPU13は、バッファ8のデータ蓄積量が、予め決められた下限基準W以下になったか否かを判断する(ステップS804)。ステップS804の判断処理において、バッファ8のデータ蓄積量が、下限基準W以下になっていないと判断したときには、ホストCPU13は、ステップS802からの処理を繰り返す。   If it is determined in step S803 that the shooting has not been completed, the host CPU 13 determines whether or not the amount of data stored in the buffer 8 is equal to or less than a predetermined lower limit reference W (step S803). Step S804). If it is determined in step S804 that the amount of data stored in the buffer 8 is not equal to or lower than the lower limit reference W, the host CPU 13 repeats the processing from step S802.

ステップS804の判断処理において、バッファ8のデータ量が、下限基準W以下になったと判断したときには、スイッチ回路9を接続端b側に切り換え、バッファ8からの記録データの読み出しとハードディスク11への書き込みを一時的に停止するようにし、図28Aを用いて説明したように、ホストCPU13は、バッファ8の現データ蓄積量から上限基準WDに至るまでのデータ量DTを算出する(ステップS805)。   If it is determined in step S804 that the amount of data in the buffer 8 is equal to or lower than the lower limit reference W, the switch circuit 9 is switched to the connection end b side, and the recording data is read from the buffer 8 and written to the hard disk 11. As described with reference to FIG. 28A, the host CPU 13 calculates the data amount DT from the current data accumulation amount of the buffer 8 to the upper limit reference WD (step S805).

そして、ホストCPU13は、データ量DT分の記録データがバッファ8に蓄積されるのにかかる時間Tを算出し(ステップS806)、この時間Tと1回のアクセスで扱われる単位量当たりのFAT情報をRAM16に取り込むのにかかる時間(FAT情報へのアクセス時間)とから、時間T内においてFAT情報をアクセスすることができるアクセス回数K(アクセス回数の上限)を算出する(ステップS807)。   Then, the host CPU 13 calculates a time T required for the recording data for the data amount DT to be accumulated in the buffer 8 (step S806), and FAT information per unit amount handled by this time T and one access. The number of times of access K (the upper limit of the number of accesses) within which the FAT information can be accessed within the time T is calculated from the time taken to fetch the data into the RAM 16 (access time to the FAT information) (step S807).

この後、ホストCPU13は、FAT情報をK回、読み出して、クラスタリンクテーブルを例えば不揮発性メモリ17に形成する処理を行い、スイッチ回路9を接続端a側に切り換え(ステップS808)、ステップS802からの処理を繰り返して、記録データのハードディスク11への記録を再開する。そして、バッファ8のデータ蓄積量が下限基準Wまで低下したときに、また、ステップS805からステップS808の処理により、クラスタリンクテーブルの形成処理が行われるようにされる。   Thereafter, the host CPU 13 reads the FAT information K times, performs a process of forming a cluster link table in, for example, the nonvolatile memory 17, switches the switch circuit 9 to the connection end a side (step S808), and starts from step S802. This process is repeated to resume recording of recording data on the hard disk 11. When the amount of data stored in the buffer 8 decreases to the lower limit reference W, the cluster link table forming process is performed by the processes from step S805 to step S808.

このように、記録時においては、バッファ8のデータ蓄積量が、下限基準Wまで下がった場合に、バッファ8からの記録データの読み出しとハードディスク11への記録とを一時的に停止し、バッファ8のデータ蓄積量が上限基準WDに至るまでの間に実行可能なFAT情報のアクセス回数K分、FAT情報をアクセスしてクラスタリンクテーブルを形成する。この後、自動的にクラスタリンクテーブルの形成を終了して、ステップS802の処理に戻り、バッファ8からの記録データの読み出しと、読み出されたデータのハードディスク11への記録とを再開する。   As described above, at the time of recording, when the amount of data stored in the buffer 8 falls to the lower limit reference W, reading of the recording data from the buffer 8 and recording to the hard disk 11 are temporarily stopped. The FAT information is accessed for the number K of FAT information accesses that can be executed until the data storage amount reaches the upper limit reference WD to form a cluster link table. Thereafter, the formation of the cluster link table is automatically terminated, and the process returns to the process of step S802, and the reading of the recording data from the buffer 8 and the recording of the read data on the hard disk 11 are resumed.

このような処理を順次に繰り返すことにより、情報信号のハードディスク11への記録時において、当該記録処理に影響を及ぼすことなく、また、使用者に意識させることがないようにして、FAT情報をアクセスし、クラスタリンクテーブルを生成しておくようにすることができる。   By sequentially repeating such processes, the FAT information is accessed without affecting the recording process and without making the user aware of the recording process when the information signal is recorded on the hard disk 11. Then, a cluster link table can be generated.

なお、図29においては、バッファ8のデータ蓄積量が下限基準W以下に低下した場合に、常にFAT情報のアクセス回数を算出するものとして説明した。このようにすることにより、常に正確なFAT情報へのアクセス回数を設定することができる。しかし、これに限るものではない。FAT情報へのアクセス回数Kは、予め定めておくようにすることもできる。   In FIG. 29, it has been described that the number of accesses to the FAT information is always calculated when the amount of data stored in the buffer 8 falls below the lower limit reference W. By doing so, it is possible to always set the accurate number of accesses to the FAT information. However, it is not limited to this. The number K of accesses to the FAT information can be determined in advance.

例えば、予め決められる下限基準Wと上限基準WDとの間において実行可能なFAT情報へのアクセス回数Kを予め求めておき、この予め求めたアクセス回数Kを用いて、記録時においてクラスタリンクテーブルの形成処理を行うようにすることもできる。   For example, an access count K to FAT information that can be executed between a predetermined lower limit criterion W and an upper limit criterion WD is obtained in advance, and the cluster link table is recorded at the time of recording using the obtained access count K. It is also possible to perform a forming process.

図30は、予め求められたFAT情報へのアクセス回数Kを用いて行う記録時におけるクラスタリンクテーブルの形成処理を説明するためのフローチャートである。図30において、図29に示した処理と同じ処理を行うステップには、同じ参照符号を付している。   FIG. 30 is a flowchart for explaining cluster link table formation processing at the time of recording, which is performed using the number of accesses K to FAT information obtained in advance. In FIG. 30, steps that perform the same processing as the processing shown in FIG. 29 are given the same reference numerals.

つまり、図30において、ステップS801からステップS804までの処理、および、ステップS809の処理は、図29に示した処理の対応する部分と同様に行われるものである。   That is, in FIG. 30, the processing from step S801 to step S804 and the processing of step S809 are performed in the same manner as the corresponding portions of the processing shown in FIG.

そして、この図30に示す処理の場合には、ステップS804の判断処理において、バッファ8のデータ蓄積量が、下限基準Wにまで低下したと判断した場合に、ホストCPU13は、FAT情報へのアクセス回数を算出すること無く、予め決められたアクセス回数K分、FAT情報をアクセスしてクラスタリンクテーブルを形成し(ステップS810)、ステップS802からの処理を繰り返す。このようにすることにより、ホストCPU13の負荷を軽減することができる。   In the case of the process shown in FIG. 30, when it is determined in the determination process in step S804 that the amount of data stored in the buffer 8 has decreased to the lower limit reference W, the host CPU 13 accesses the FAT information. Without calculating the number of times, the FAT information is accessed for a predetermined number K of access times to form a cluster link table (step S810), and the processing from step S802 is repeated. By doing so, the load on the host CPU 13 can be reduced.

なお、図29、図30においては、FAT情報へのアクセス回数Kは、例えば、下限基準Wから上限基準WDに至るまでの間において、FAT情報にアクセス可能な最大回数を求めるようにしたが、これに限るものではない。クラスタリンクテーブルの形成終了後の処理も考慮し、余裕を持つように、アクセス回数Kを少なく設定するようにすることも可能である。   In FIG. 29 and FIG. 30, the number of accesses K to the FAT information is obtained, for example, as the maximum number of times that the FAT information can be accessed from the lower limit reference W to the upper limit reference WD. This is not a limitation. Considering the processing after the cluster link table formation is completed, it is possible to set the access count K to be small so that there is a margin.

また、図29、図30においては、FAT情報へのアクセス回数Kをクラスタリンクテーブルを形成する期間の大きさの上限値として用いるようにしたが、これに限るものではない。上述もしたように、FAT情報へのアクセス回数Kの他、クラスタリンクテーブルの形成時間の上限を設定し、その時間内において、クラスタリンクテーブルの形成を行うようにすることもできる。なお、クラスタリンクテーブルの形成時間を基準として用いる場合には、例えば、ホストCPU13に接続される図示しない時計回路により処理時間の経過が管理するようにされる。   In FIG. 29 and FIG. 30, the number K of accesses to the FAT information is used as the upper limit value of the period for forming the cluster link table, but the present invention is not limited to this. As described above, in addition to the number of accesses K to the FAT information, an upper limit of the cluster link table formation time can be set, and the cluster link table can be formed within that time. When the cluster link table formation time is used as a reference, for example, the passage of processing time is managed by a clock circuit (not shown) connected to the host CPU 13.

また、クラスタリンクテーブルの形成処理を自動的に終了させるための基準は、アクセス回数やクラスタリンクテーブルの形成時間に限るものではない。ホストCPU13の処理能力や作業領域として用いられるRAM16の空き領域の大きさから、リアルタイム処理の空き時間において処理可能なFAT情報のデータ量が分かるので、このデータ量をクラスタリンクテーブルの形成処理を終了させるための上限値として用いることができる。   Further, the criteria for automatically terminating the cluster link table forming process are not limited to the access count and the cluster link table forming time. Since the processing capacity of the host CPU 13 and the size of the free area in the RAM 16 used as a work area can be known, the data amount of FAT information that can be processed in the free time of real-time processing is known. It can be used as an upper limit value.

また、空き時間において処理可能なFAT情報についてのデータ量と、アクセス1回当たりに取り込んでくるFAT情報のデータ量(アクセスデータ量)とに応じて求められるアクセス回数をクラスタリンクテーブルの形成処理を終了させるための上限値として用いることもできる。   In addition, the cluster link table formation processing is performed to determine the number of accesses required according to the amount of FAT information data that can be processed in free time and the amount of FAT information data (access data amount) fetched per access. It can also be used as an upper limit value for termination.

なお、クラスタリンクテーブルの形成時間や、空き時間において処理可能なFAT情報のデータ量をクラスタリンクテーブルの形成処理を自動的に終了させるための基準とする場合には、その形成時間やデータ量の範囲内で、FAT情報のアクセス毎に取り込んでくるFAT情報のデータ量を変えたり、所定アクセス回毎に取り込んでくるFAT情報のデータ量を変えたり、あるいは、予め設定しておくこともできる。   If the data amount of the FAT information that can be processed in the cluster link table formation time or free time is used as a reference for automatically terminating the cluster link table formation processing, the formation time and data amount Within the range, the amount of FAT information fetched for each access of FAT information can be changed, the amount of FAT information fetched for each predetermined access can be changed, or preset.

次に、再生時において、クラスタリンクテーブルを形成する場合について説明する。図31は、再生時にクラスタリンクテーブルを形成するようにする処理を説明するためのフローチャートである。   Next, a case where a cluster link table is formed during reproduction will be described. FIG. 31 is a flowchart for explaining processing for forming a cluster link table during reproduction.

ここでは、ハードディスク11に記録されたデータを再生し、出力端子2から出力する場合を例にして説明する。この第5の実施の形態の記録再生装置に対して、ハードディスク11に記録されたデータの再生が指示するようにされると、ホストCPU13は、図31に示す処理を実行し、スイッチ回路7を接続端b側に切り換え、スイッチ回路9を接続端a側に切り換えて、目的とするデータのハードディスク11からの読み出しと、この読み出したデータのバッファ8への記録とを開始する(ステップS901)。   Here, a case where data recorded on the hard disk 11 is reproduced and output from the output terminal 2 will be described as an example. When the recording / reproducing apparatus of the fifth embodiment is instructed to reproduce the data recorded on the hard disk 11, the host CPU 13 executes the processing shown in FIG. Switching to the connection end b side, the switch circuit 9 is switched to the connection end a side, and reading of the target data from the hard disk 11 and recording of the read data in the buffer 8 are started (step S901).

そして、ホストCPU13は、時間軸補正を行うようにして、バッファ8に記録された再生データの読み出しと、その再生処理を開始する(ステップS902)。この後、ホストCPU13は、再生を終了するように操作されたか否かを判断し(ステップS903)、再生が終了するようにされたと判断したときには、ホストCPU13は、この図31に示す処理を終了する。   Then, the host CPU 13 performs reading of the reproduction data recorded in the buffer 8 and starts the reproduction processing so as to perform time axis correction (step S902). Thereafter, the host CPU 13 determines whether or not the operation has been performed so as to end the reproduction (step S903). When the host CPU 13 determines that the reproduction is ended, the host CPU 13 ends the processing shown in FIG. To do.

ステップS903の判断処理において、再生が終了するようにされていないと判断したときには、ホストCPU13は、バッファ8のデータ蓄積量が、予め決められた上限基準R以上になったか否かを判断する(ステップS904)。ステップS904の判断処理において、バッファ8のデータ蓄積量が、上限基準R以上になっていないと判断したときには、ホストCPU13は、ステップS902からの処理を繰り返す。   When it is determined in step S903 that the reproduction is not finished, the host CPU 13 determines whether or not the data storage amount in the buffer 8 is equal to or greater than a predetermined upper limit reference R (step S903). Step S904). If it is determined in step S904 that the amount of data stored in the buffer 8 is not greater than or equal to the upper limit reference R, the host CPU 13 repeats the processing from step S902.

ステップS904の判断処理において、バッファ8のデータ量が、上限基準R以上になったと判断したときには、ホストCPU13は、ハードディスク11からの再生データの読み出しとバッファ8への書き込みを一時停止し、スイッチ回路9を接続端b側に切り換える(ステップS905)。   If it is determined in step S904 that the amount of data in the buffer 8 is equal to or greater than the upper limit reference R, the host CPU 13 temporarily stops reading of reproduction data from the hard disk 11 and writing to the buffer 8, and the switch circuit. 9 is switched to the connection end b side (step S905).

そして、ホストCPU13は、図28Bを用いて説明したように、バッファ8の現データ蓄積量から下限基準RDに至るまでのデータ量DTを算出し(ステップS906)、このデータ量DT分の再生データがバッファ8から読み出されるのにかかる時間Tを算出する(ステップS907)。   Then, as described with reference to FIG. 28B, the host CPU 13 calculates a data amount DT from the current data accumulation amount of the buffer 8 to the lower limit reference RD (step S906), and reproduced data corresponding to the data amount DT. Is calculated from the time T required to be read from the buffer 8 (step S907).

次に、ホストCPU13は、ステップS907において算出した時間Tと1回のアクセスで扱われる単位量当たりのFAT情報をRAM16に取り込むのにかかる時間(FAT情報へのアクセス時間)とから、時間T内においてFAT情報をアクセスすることができるアクセス回数K(アクセス回数の上限)を算出する(ステップS908)。   Next, the host CPU 13 determines that the time T calculated in step S907 and the time taken to fetch the FAT information per unit amount handled in one access into the RAM 16 (access time to the FAT information) are within the time T. The access count K (the upper limit of the access count) that can access the FAT information is calculated (step S908).

この後、ホストCPU13は、ハードディスク11上のFAT情報をK回読み出して、クラスタリンクテーブルを不揮発性メモリ17に形成する処理を行い(ステップS909)、スイッチ回路9を接続端a側に切り換えて、ハードディスク11からの再生データの読み出しとバッファ8への書き込みを再開し(ステップS910)、ステップS903からの処理を繰り返す。そして、バッファ8のデータ蓄積量が上限基準RDで増加したときに、また、クラスタリンクテーブルの形成処理が行われるようにされる。   Thereafter, the host CPU 13 reads the FAT information on the hard disk 11 K times, performs a process of forming a cluster link table in the nonvolatile memory 17 (step S909), switches the switch circuit 9 to the connection end a side, Reading of reproduction data from the hard disk 11 and writing to the buffer 8 are resumed (step S910), and the processing from step S903 is repeated. Then, when the amount of data stored in the buffer 8 increases by the upper limit reference RD, the cluster link table forming process is also performed.

このように、再生時においては、バッファ8のデータ蓄積量が、上限基準Rまで増加した場合に、ハードディスク11からの再生データの読み出しとバッファ8への書き込みとを一時的に停止し、バッファ8のデータ蓄積量が下限基準RDに至るまでの間に実行可能なFAT情報のアクセス回数K分、FAT情報をアクセスしてクラスタリンクテーブルを形成する。この後、自動的にクラスタリンクテーブルの形成を終了して、ステップS903の処理に戻り、ハードディスク11からの再生データの読み出しとバッファ8への書き込みとを再開する。   In this way, during reproduction, when the data storage amount of the buffer 8 increases to the upper limit reference R, reading of reproduction data from the hard disk 11 and writing to the buffer 8 are temporarily stopped, and the buffer 8 The FAT information is accessed for the number K of FAT information accesses that can be executed until the data storage amount reaches the lower limit reference RD to form a cluster link table. Thereafter, the formation of the cluster link table is automatically ended, and the process returns to the process of step S903, and the reading of the reproduction data from the hard disk 11 and the writing to the buffer 8 are resumed.

このような処理を順次に繰り返すことにより、ハードディスク11からの情報信号の再生時において、当該再生処理に影響を及ぼすことなく、また、使用者に意識させることがないようにして、FAT情報をアクセスし、クラスタリンクテーブルを生成しておくようにすることができる。   By sequentially repeating such processes, the FAT information is accessed without affecting the reproduction process and without making the user aware of the reproduction process when reproducing the information signal from the hard disk 11. Then, a cluster link table can be generated.

なお、図31においては、バッファ8のデータ蓄積量が上限基準R以上に増加した場合に、常にFAT情報のアクセス回数を算出するものとして説明した。このようにすることにより、常に正確なFAT情報へのアクセス回数を設定することができる。しかし、これに限るものではない。FAT情報へのアクセス回数Kは、予め定めておくようにすることもできる。   In FIG. 31, it has been described that the number of accesses to the FAT information is always calculated when the amount of data stored in the buffer 8 increases to the upper limit reference R or more. By doing so, it is possible to always set the accurate number of accesses to the FAT information. However, it is not limited to this. The number K of accesses to the FAT information can be determined in advance.

例えば、予め決められる上限基準Rと下限基準RDとの間において実行可能なFAT情報へのアクセス回数Kを予め求めておき、この予め求めたアクセス回数Kを用いて、再生時においてクラスタリンクテーブルの形成処理を行うようにすることもできる。   For example, the number K of accesses to FAT information that can be executed between an upper limit criterion R and a lower limit criterion RD determined in advance is obtained in advance, and the cluster access table of the cluster link table is reproduced at the time of reproduction using the obtained access count K It is also possible to perform a forming process.

図32は、予め求められたFAT情報へのアクセス回数Kを用いて行う再生時におけるクラスタリンクテーブルの形成処理を説明するためのフローチャートである。図32において、図31に示した処理と同じ処理を行うステップには、同じ参照符号を付すようにしてある。   FIG. 32 is a flowchart for explaining cluster link table formation processing at the time of reproduction performed using the access count K for FAT information obtained in advance. In FIG. 32, steps that perform the same processes as those shown in FIG. 31 are denoted by the same reference numerals.

つまり、図32おいて、ステップS901からステップS805までの処理、および、ステップS910の処理は、図31に示した処理の対応する部分と同様に行われるものである。   That is, in FIG. 32, the processing from step S901 to step S805 and the processing of step S910 are performed in the same manner as the corresponding portions of the processing shown in FIG.

そして、この図32に示す処理の場合には、ステップS904の判断処理において、バッファ8のデータ蓄積量が、上限基準Rにまで増加したと判断した場合に、ホストCPU13は、FAT情報へのアクセス回数を算出すること無く、予め決められたアクセス回数K分、FAT情報をアクセスしてクラスタリンクテーブルを形成するようにする(ステップS920)。このようにすることにより、ホストCPU13の負荷を軽減することができる。   In the case of the process shown in FIG. 32, when it is determined in the determination process of step S904 that the amount of data stored in the buffer 8 has increased to the upper limit reference R, the host CPU 13 accesses the FAT information. Without calculating the number of times, the FAT information is accessed for a predetermined number of access times K to form a cluster link table (step S920). By doing so, the load on the host CPU 13 can be reduced.

なお、図31、図32においては、FAT情報へのアクセス回数Kは、例えば、上限基準Rから下限基準RDに至るまでの間において、FAT情報にアクセス可能な最大回数を求めるようにしたが、これに限るものではない。クラスタリンクテーブルの形成終了後の処理も考慮し、余裕を持つように、アクセス回数Kを少なく設定するようにすることも可能である。   In FIG. 31 and FIG. 32, the number of accesses K to the FAT information is determined, for example, as the maximum number of accesses to the FAT information from the upper limit reference R to the lower limit reference RD. This is not a limitation. Considering the processing after the cluster link table formation is completed, it is possible to set the access count K to be small so that there is a margin.

また、図31、図32においては、FAT情報へのアクセス回数Kをクラスタリンクテーブルを形成する期間の大きさの上限値として用いるようにしたが、これに限るものではない。上述もしたように、FAT情報へのアクセス回数Kの他、クラスタリンクテーブルの形成時間の上限を設定し、その時間内において、クラスタリンクテーブルの形成を行うようにすることもできる。なお、クラスタリンクテーブルの形成時間を基準として用いる場合には、例えば、ホストCPU13に接続される図示しない時計回路により処理時間の経過が管理するようにされる。   In FIGS. 31 and 32, the number of accesses K to the FAT information is used as the upper limit value of the period for forming the cluster link table, but the present invention is not limited to this. As described above, in addition to the number of accesses K to the FAT information, an upper limit of the cluster link table formation time can be set, and the cluster link table can be formed within that time. When the cluster link table formation time is used as a reference, for example, the passage of processing time is managed by a clock circuit (not shown) connected to the host CPU 13.

この再生時におけるクラスタリンクテーブルの形成処理の場合にも、上述した記録時におけるクラスタリンクテーブルの形成処理の場合と同様に、クラスタリンクテーブルの形成処理を自動的に終了させるための基準は、アクセス回数やクラスタリンクテーブルの形成時間に限るものではない。   In the case of the cluster link table forming process at the time of reproduction, as in the case of the cluster link table forming process at the time of recording described above, the criterion for automatically terminating the cluster link table forming process is the access It is not limited to the number of times and the cluster link table formation time.

ホストCPU13の処理能力や作業領域として用いられるRAM16の空き領域の大きさから、リアルタイム処理の空き時間において処理可能なFAT情報のデータ量が分かる。このデータ量をクラスタリンクテーブルの形成処理を終了させるための上限値として用いたり、また、空き時間において処理可能なFAT情報についてのデータ量と、1回当たりのアクセスで取り込んでくるFAT情報のデータ量(アクセスデータ量)とに応じて求められるアクセス回数をクラスタリンクテーブルの形成処理を終了させるための上限値として用いたりすることもできる。   From the processing capacity of the host CPU 13 and the size of the free area of the RAM 16 used as a work area, the amount of FAT information that can be processed in the free time of real-time processing can be known. This data amount is used as an upper limit value for ending the cluster link table forming process, or the data amount of FAT information that can be processed in the free time and the data of the FAT information that is fetched by one access The number of accesses determined according to the amount (access data amount) can also be used as an upper limit value for ending the cluster link table forming process.

もちろん、再生時におけるクラスタリンクテーブルの形成処理の場合にも、クラスタリンクテーブルの形成時間や、空き時間において処理可能なFAT情報のデータ量をクラスタリンクテーブルの形成処理を自動的に終了させるための基準とする場合には、その形成時間やデータ量の範囲内で、FAT情報のアクセス毎に取り込んでくるFAT情報のデータ量を変えたり、所定アクセス回毎に取り込んでくるFAT情報のデータ量を変えたり、あるいは、予め設定しておくこともできる。   Of course, also in the case of the cluster link table forming process at the time of reproduction, the cluster link table forming process automatically terminates the cluster link table forming time and the amount of FAT information data that can be processed in the free time. In the case of the standard, within the range of the formation time and the data amount, the data amount of the FAT information fetched for each access of the FAT information is changed, or the data amount of the FAT information fetched for each predetermined access time is changed. It can be changed or set in advance.

また、記録時においては、バッファ8のデータ蓄積量が下限基準W以下になった場合に、また、再生時においては、バッファ8のデータ蓄積量が上限基準R以上になった場合に、クラスタリンクテーブルの形成を行うようにしたが、これに限るものではない。記録時においては、バッファ8のデータ蓄積量が下限基準Wより小さくなった場合に、再生時においては、バッファ8のデータ蓄積量が上限基準Rより多くなった場合に、クラスタリンクテーブルの形成を行うようにしてももちろんよい。   Further, when recording, when the data storage amount of the buffer 8 becomes equal to or lower than the lower limit reference W, and during reproduction, when the data storage amount of the buffer 8 becomes equal to or higher than the upper limit reference R, the cluster link Although the table is formed, the present invention is not limited to this. At the time of recording, the cluster link table is formed when the data accumulation amount of the buffer 8 becomes smaller than the lower limit reference W, and at the time of reproduction, the data accumulation amount of the buffer 8 becomes larger than the upper limit reference R. Of course, you can do it.

このように、クラスタリンクテーブルの形成を情報信号の記録時や再生時などのリアルタイム処理時に設けることが可能な空き時間に行うようにすることにより、使用者に全く意識させることなく、クラスタリンクテーブルを形成しておくようにすることができ、記録媒体に記録されている情報信号を再生、早送り、早戻しなどする場合には、クラスタリンクテーブルを用いたスムーズな処理を行うようにすることができる。   In this way, the cluster link table is formed in the idle time that can be provided at the time of real-time processing such as recording or reproduction of information signals, thereby making the cluster link table without any user awareness. When reproducing, fast-forwarding, fast-rewinding, etc., information signals recorded on a recording medium, smooth processing using a cluster link table may be performed. it can.

なお、クラスタリンクテーブルの形成時において、FAT情報のアクセス回数の上限を設けたり、クラスタリンクテーブルの形成処理時間に上限を設けたりしたのは、情報の収集量が同じでも、記録媒体上のデータ量域の使用状況によって必要なFAT情報のアクセス回数が異なる場合があることも考慮している。つまり、小さなファイルでも細かい断片が記録媒体のデータ領域の広い範囲に散らばっているバイには、FAT情報のアクセス回数も多くなり、長時間に渡り、ホストCPU13を占有してしまう可能性があるためである。   It should be noted that when the cluster link table is formed, the upper limit of the number of accesses of the FAT information or the upper limit of the cluster link table formation processing time is the data collected on the recording medium even if the information collection amount is the same. It is also considered that the required number of FAT information accesses may vary depending on the usage status of the quantity range. That is, even if a small file has small fragments scattered over a wide area of the data area of the recording medium, the number of accesses to the FAT information increases, which may occupy the host CPU 13 for a long time. It is.

[空きクラスタマップの形成について]
クラスタリンクテーブルは記録媒体上のFAT情報に基づいて形成することができるものであるが、第3の実施の形態において説明したように、また、図33に示すように、空きクラスタマップもまた記録媒体上のFAT情報に基づいて形成されるものである。
[Formation of a free cluster map]
The cluster link table can be formed based on the FAT information on the recording medium. However, as described in the third embodiment, and as shown in FIG. 33, the free cluster map is also recorded. It is formed based on FAT information on the medium.

このため、空きクラスタテーブルもまた、クラスタリンクテーブルの形成と同様に、情報信号の記録時や再生時などのリアルタイム処理時に設けることが可能な空き時間において形成するようにすることができる。つまり、空きクラスタテーブルは、図26〜図32を用いて説明したクラスタリンクテーブルの形成と全く同様にして、使用者に意識させることなく形成するようにすることができる。   For this reason, the free cluster table can also be formed in free time that can be provided at the time of real-time processing such as recording or reproduction of information signals, as in the formation of the cluster link table. That is, the empty cluster table can be formed without making the user aware of it in exactly the same way as the formation of the cluster link table described with reference to FIGS.

そして、クラスタリンクテーブルの形成の場合と同様に、空きクラスタテーブルを単独でリアルタイム処理時に設けるようにする空き時間において形成することが可能である。しかし、クラスタリンクテーブルと空きクラスタテーブルとはともにFAT情報から形成するものであるので、これらを並列して同時に形成するようにしても良い。つまり、FAT情報を所定単位量読み込んだら、そのFAT情報からクラスタリンクテーブルと空きクラスタマップとを形成するようにすることができる。   As in the case of forming the cluster link table, the free cluster table can be formed in the free time so that it is provided independently during the real-time processing. However, since both the cluster link table and the free cluster table are formed from FAT information, they may be formed simultaneously in parallel. That is, when a predetermined unit amount of FAT information is read, a cluster link table and an empty cluster map can be formed from the FAT information.

[クラスタリンクテーブル、空きクラスタマップのバックアップ(退避処理)について]
なお、上述の実施の形態においては、クラスタリンクテーブルや空きクラスタマップは、記録再生装置のRAM16あるいは不揮発性メモリ17に形成するようにするものとして説明した。そして、クラスタリンクテーブル、空きクラスタマップを例えばRAM16に形成するようにした場合には、ハードディスク11や半導体メモリカード12を交換していない場合であっても、記録再生装置の電源が落とされた場合には、再度、作り直さなければならなくなる。
[Cluster link table and free cluster map backup (backup processing)]
In the above-described embodiment, the cluster link table and the empty cluster map have been described as being formed in the RAM 16 or the nonvolatile memory 17 of the recording / reproducing apparatus. When the cluster link table and the empty cluster map are formed in the RAM 16, for example, even when the hard disk 11 and the semiconductor memory card 12 are not replaced, the recording / reproducing apparatus is turned off. You will have to recreate it again.

そこで、クラスタリンクテーブルや空きクラスタテーブルを記録再生装置の電源が落とされる前に、ハードディスク11、半導体メモリカード12、あるいは、不揮発性メモリ17にバックアップ(退避)するようにしておく。この場合、記録領域を無駄に使うことがないように、クラスタリンクテーブル、空きクラスタテーブルを圧縮して記録するようにする。もちろん、圧縮せずにそのまま退避するようにしてもよい。   Therefore, the cluster link table and the empty cluster table are backed up (saved) to the hard disk 11, the semiconductor memory card 12, or the nonvolatile memory 17 before the recording / reproducing apparatus is powered off. In this case, the cluster link table and the empty cluster table are compressed and recorded so as not to waste the recording area. Of course, you may make it evacuate as it is, without compressing.

この場合の圧縮は、クラスタリンクテーブルの場合であれば、指定アドレスが連続する部分については、その開始アドレスと終了アドレスのみを持つようにし、その間のアドレスデータについては省略するようにすることが考えられる。また、空きクラスタマップの場合には、使用クラスタを示す「0」や、未使用クラスタを示す「1」が連続する部分では、何が何個連続するかを示すようにすることにより、データを圧縮することができる。   In the case of the cluster link table, the compression in this case is considered to have only the start address and end address of the portion where the designated address is continuous, and omit the address data between them. It is done. Also, in the case of a free cluster map, the data is obtained by indicating what is continuous in a portion where “0” indicating a used cluster and “1” indicating an unused cluster are continuous. Can be compressed.

なお、クラスタリンクテーブルや空きクラスタテーブルをハードディスク11や半導体メモリカード12に記録する場合には、これらの情報が記録されることにより、空きクラスタが変わり、結果として空きクラスタテーブルの内容が変わる。このため、ハードディスク11や半導体メモリカード12にクラスタリンクテーブルや空きクラスタテーブルのバックアップを取るようにする場合には、ハードディスク11や半導体メモリカード12に予めクラスタリンクテーブルや空きクラスタテーブルのバックアップファイルの領域を確保しておき、空きクラスタマップの情報と実際の空きクラスタとで違いが生じないようにしておくようにする。   When a cluster link table or a free cluster table is recorded on the hard disk 11 or the semiconductor memory card 12, the free cluster changes due to the recording of these pieces of information, and as a result, the content of the free cluster table changes. Therefore, when backing up the cluster link table or the empty cluster table in the hard disk 11 or the semiconductor memory card 12, the area of the backup file of the cluster link table or the empty cluster table in the hard disk 11 or the semiconductor memory card 12 in advance. Is ensured so that there is no difference between the free cluster map information and the actual free cluster.

このように、クラスタリンクテーブルや空きクラスタマップのバックアップを取っておくようにすることにより、記録再生装置の電源立ち上げ毎にこれらの情報テーブルを形成する必要が無くなり、これらを読み出して、記録再生装置のメモリに伸張して使用することができるようになる。   Thus, by making a backup of the cluster link table and the free cluster map, it is not necessary to form these information tables every time the power of the recording / reproducing apparatus is turned on. It becomes possible to expand and use the memory of the device.

なお、記録再生装置の不揮発性メモリ17にクラスタリンクテーブルや空きクラスタマップを形成するようにした場合には、記録再生装置の電源が落とされてもクラスタリンクテーブルや空きクラスタマップが消滅してしまうことはない。しかし、ハードディスク11や半導体メモリカード12が記録再生装置から取り外されることもある。   If a cluster link table or an empty cluster map is formed in the nonvolatile memory 17 of the recording / reproducing apparatus, the cluster link table or the empty cluster map disappears even if the power of the recording / reproducing apparatus is turned off. There is nothing. However, the hard disk 11 and the semiconductor memory card 12 may be removed from the recording / reproducing apparatus.

そこで、記録再生装置の不揮発性メモリ17にクラスタリンクテーブルや空きクラスタマップを形成するようにした場合には、クラスタリンクテーブルや空きクラスタマップが形成された後に、ハードディスク11や半導体メモリカード12が取り外されたか否かの検出を行うようにし、ハードディスク11や半導体メモリカード12が取り外されたことを検知した場合には、不揮発性メモリ17に既に形成されているクラスタリンクテーブルや空きクラスタマップを無効化するようにすることによって、クラスタリンクテーブルや空きクラスタマップの不整合が生じてしまうことを防止することができる。   Therefore, when the cluster link table and the empty cluster map are formed in the nonvolatile memory 17 of the recording / reproducing apparatus, the hard disk 11 and the semiconductor memory card 12 are removed after the cluster link table and the empty cluster map are formed. If it is detected that the hard disk 11 or the semiconductor memory card 12 has been removed, the cluster link table or free cluster map already formed in the nonvolatile memory 17 is invalidated. By doing so, it is possible to prevent inconsistency between the cluster link table and the free cluster map.

もちろん、記録再生装置の不揮発性メモリ17にクラスタリンクテーブルや空きクラスタマップを形成するようにした場合であっても、ハードディスク11や半導体メモリカード12にクラスタリンクテーブルや空きクラスタマップのバックアップを取るようにしてもよい。   Of course, even when a cluster link table or an empty cluster map is formed in the nonvolatile memory 17 of the recording / reproducing apparatus, a backup of the cluster link table or the empty cluster map should be taken on the hard disk 11 or the semiconductor memory card 12. It may be.

また、この第5の実施の形態においては、リアルタイム処理の例として、情報信号の記録処理と再生処理とを上げたが、これに限るものではなく、リアルタイム性を保証して行う情報信号の転送など、動画や音声などの連続性を保証して処理する必要のある情報信号であるストリームデータをその連続性を損なうことなく、処理するようにする情報信号についての全てのリアルタイム処理時において、この発明を適用することができる。   In the fifth embodiment, the recording process and the reproducing process of the information signal are raised as an example of the real-time process. However, the present invention is not limited to this, and the transfer of the information signal performed by guaranteeing the real-time property In all real-time processing of information signals that process the stream data, which is an information signal that must be processed with guaranteed continuity, such as video and audio, without losing the continuity. The invention can be applied.

なお、上述した実施の形態においては、動画情報を記録する場合には、「格子型」の記録方式を用い、動画情報以外の静止画情報やITデータを記録する場合には、「一般型」の記録方式を用いるようにしたがこれに限るものではない。例えば、動画情報を記録する場合には、「詰め込み型」の記録方式を用いるようにしてもよい。   In the above-described embodiment, when recording moving image information, a “grid type” recording method is used, and when recording still image information other than moving image information or IT data, “general type” is used. However, the present invention is not limited to this. For example, when recording moving image information, a “stuffing type” recording method may be used.

また、例えば、動画情報を記録する場合には、8クラスタ単位の大ブロック単位に記録し、動画情報以外の静止画情報やITデータを記録する場合には、2クラスタ単位の小ブロック単位に記録するというように、動画情報を記録する場合と動画情報以外の情報信号を記録する場合とで、ブロックの大きさを変えるようにしてもよい。   Also, for example, when recording moving image information, it is recorded in a large block unit of 8 clusters, and when recording still image information and IT data other than moving image information, it is recorded in a small block unit of 2 clusters. As described above, the block size may be changed between when moving image information is recorded and when an information signal other than moving image information is recorded.

また、上述した実施の形態の場合には、動画情報と、静止画情報やITデータとで記録方式を異ならせるようにしたが、これに限るものではない。例えば、記録時の情報信号(データ)の転送レートを高くしたい場合には、常に「格子型」や「詰め込み型」の記録方式を用いて、情報信号の種別にかかわりなく、常にブロック単位に記録するようにすることも可能である。   In the above-described embodiment, the recording method is different for moving image information, still image information, and IT data. However, the present invention is not limited to this. For example, if you want to increase the transfer rate of information signals (data) during recording, always use “grid type” or “stuffed type” recording methods, and always record in block units, regardless of the type of information signal. It is also possible to do so.

また、前述した実施の形態の場合には、記録媒体として、ハードディスクや半導体メモリカードを用いるようにしたがこれに限るものではない。例えば、MD(Mini-Disc(登録商標))などの光磁気ディスクやDVD(Digital Versatile Disc)などの光ディスクなどの種々のランダムアクセスが可能な記録媒体を用いる場合にこの発明を適用することができる。   In the embodiment described above, a hard disk or a semiconductor memory card is used as the recording medium, but the present invention is not limited to this. For example, the present invention can be applied to the case where various random access recording media such as a magneto-optical disk such as MD (Mini-Disc (registered trademark)) and an optical disk such as DVD (Digital Versatile Disc) are used. .

また、記録媒体はランダムアクセスが可能な記録媒体に限るものではない。たとえば、磁気テープやCD−R(Compact Disc Recordable)などのように、シーケンシャル(順次)にデータを記録媒体上の連続する記録領域に記録して行くようにされる記録媒体にもこの発明を適用することができる。   Further, the recording medium is not limited to a recording medium that can be randomly accessed. For example, the present invention is also applied to a recording medium such as a magnetic tape or a CD-R (Compact Disc Recordable) that is designed to record data sequentially in a continuous recording area on the recording medium. can do.

つまり、磁気テープやCD−Rに情報信号を記録して行く場合に、記録単位を変えて情報信号を記録するようにすることができる。このようにすることにより、記録時の情報信号(データ)の転送レートを向上させ、より迅速な記録処理が可能となる。   That is, when an information signal is recorded on a magnetic tape or CD-R, the information signal can be recorded by changing the recording unit. By doing so, the transfer rate of the information signal (data) at the time of recording is improved, and more rapid recording processing is possible.

また、上述した実施の形態においては、この発明をカメラブロックを有するデジタル・ビデオ・カメラである記録再生装置に適用した場合を例にして説明したが、これに限るものではない。種々の記録媒体を用いた種々の記録再生装置に適用することができる。   In the above-described embodiment, the case where the present invention is applied to a recording / reproducing apparatus that is a digital video camera having a camera block has been described as an example. However, the present invention is not limited to this. The present invention can be applied to various recording / reproducing apparatuses using various recording media.

また、第1、第3、第4の実施の形態で説明した発明の場合には、記録媒体に情報信号を記録する記録専用装置としての情報処理装置に適用することができる。また、第2の実施の形態で説明した発明の場合には、ランダムアクセスが可能な記録媒体に記録された情報信号を再生する再生専用装置としての情報処理装置に適用することができる。つまり、記録再生装置に限るものではなく、種々の情報処理装置にその機能に応じて選択的にこの発明を適用することが可能である。   In addition, the invention described in the first, third, and fourth embodiments can be applied to an information processing apparatus as a recording-only apparatus that records an information signal on a recording medium. The invention described in the second embodiment can be applied to an information processing apparatus as a reproduction-only apparatus that reproduces an information signal recorded on a randomly accessible recording medium. That is, the present invention is not limited to the recording / reproducing apparatus, and the present invention can be selectively applied to various information processing apparatuses according to their functions.

また、記録媒体は着脱可能ないわゆるリムーバブルな記録媒体を用いるものに限るものではなく、記録媒体が内蔵するようにされた記録再生装置、記録装置、再生装置などの情報処理装置にこの発明を適用することができる。   Further, the recording medium is not limited to a so-called removable removable recording medium, and the present invention is applied to an information processing apparatus such as a recording / reproducing apparatus, a recording apparatus, and a reproducing apparatus in which the recording medium is built. can do.

また、上述した実施の形態においては、ファイルシステムとして、FATファイルシステムを用いるようにした。FATファイルシステムは、上述もしたように、パーソナルコンピュータのオペレーティングシステムであるWindows(登録商標)やOS/2で用いられており、広く用いられているものであるため、データ交換などを考慮した場合、高い互換性を確保することが可能となる。   In the embodiment described above, the FAT file system is used as the file system. As described above, the FAT file system is used in Windows (registered trademark) and OS / 2, which are operating systems for personal computers, and is widely used. It is possible to ensure high compatibility.

しかし、ファイルシステムは、FATファイルシステムに限るものではなく、FAT情報のような情報信号の記録先のリンク情報と、ディレクトリエントリ情報のような記録データをファイルとして管理するための情報を有する種々のファイルシステムを用いる場合にこの発明を適用することが可能である。   However, the file system is not limited to the FAT file system, but includes various information having link information for recording information signals such as FAT information and information for managing recording data such as directory entry information as files. The present invention can be applied when using a file system.

また、上述の実施の形態においては、1ブロックが8クラスタから構成される場合を例にして説明したが、これに限るものではなく、1ブロックは2クラスタ以上の任意のクラスタ数とすることができる。   In the above-described embodiment, the case where one block is composed of 8 clusters has been described as an example. However, the present invention is not limited to this, and one block may have an arbitrary number of clusters of two or more clusters. it can.

また、上述の実施の形態においては、クラスタを例えば16進数2桁で表現するものとして説明したが、これに限るものではなく、16進数3桁以上でクラスタを示すようにしてももちろんよい。   In the above-described embodiment, the cluster is described as being expressed by, for example, two hexadecimal digits. However, the present invention is not limited to this, and the cluster may be represented by three or more hexadecimal digits.

この発明の一実施の形態が適用された情報処理装置である記録再生装置(デジタル・ビデオ・カメラ態様)を説明するためのブロック図である。It is a block diagram for demonstrating the recording / reproducing apparatus (digital video camera aspect) which is an information processing apparatus with which one Embodiment of this invention was applied. 図1に示した記録再生装置で用いられるFATファイルシステムの概要を説明するための図である。It is a figure for demonstrating the outline | summary of the FAT file system used with the recording / reproducing apparatus shown in FIG. 利用可能な記録方式である「格子型」、「詰め込み型」、「一般型」について説明するための図である。It is a figure for demonstrating "grid type", "stuffing type", and "general type" which can be used. 図3に示した各記録方式の特徴等を説明するための図である。FIG. 4 is a diagram for explaining features and the like of each recording method shown in FIG. 3. 図1に示した記録再生装置で用いる「格子型」の記録方式で動画を記録する場合と、「一般型」の記録方式で静止画、ITデータを記録する場合の例を説明するための図である。1 is a diagram for explaining an example of a case where a moving image is recorded by a “grid type” recording method used in the recording / reproducing apparatus shown in FIG. 1 and a case where a still image and IT data are recorded by a “general type” recording method. It is. 図1に示した記録再生装置の記録時の処理について説明するためのフローチャートである。3 is a flowchart for explaining processing at the time of recording in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置の再生時の処理について説明するためのフローチャートである。3 is a flowchart for explaining processing at the time of reproduction by the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置で形成されるFAT情報と、情報信号が記録されるデータ領域のクラスタとの関係を説明するための図である。It is a figure for demonstrating the relationship between FAT information formed with the recording / reproducing apparatus shown in FIG. 1, and the cluster of the data area where an information signal is recorded. パーソナルコンピュータなどの従来の記録再生装置の内部メモリにFAT情報を展開するようにした場合を説明するための図である。It is a figure for demonstrating the case where FAT information is expand | deployed to the internal memory of conventional recording / reproducing apparatuses, such as a personal computer. 図1に示した記録再生装置の内部メモリにFAT情報を展開するようにした場合を説明するための図である。It is a figure for demonstrating the case where FAT information is expand | deployed to the internal memory of the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において、再生モード時の処理を説明するためのフローチャートである。4 is a flowchart for explaining processing in a playback mode in the recording / playback apparatus shown in FIG. 1. 図1に示した記録再生装置においてFAT情報から形成するクラスタリンクテーブル生成処理を説明するためのフローチャートである。6 is a flowchart for explaining cluster link table generation processing formed from FAT information in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置において再生モード時に実行される再生、早送り、早戻しなどの動作について説明するためのフローチャートである。6 is a flowchart for explaining operations such as reproduction, fast forward, and fast reverse executed in the reproduction mode in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において再生モード時に実行される再生、早送り、早戻しなどの動作について説明するためのフローチャートである。6 is a flowchart for explaining operations such as reproduction, fast forward, and fast reverse executed in the reproduction mode in the recording / reproducing apparatus shown in FIG. クラスタリンクテーブルの管理について説明するための図である。It is a figure for demonstrating management of a cluster link table. 図1に示した記録再生装置において行われる空きクラスタマップの生成について説明するための図である。It is a figure for demonstrating the production | generation of the empty cluster map performed in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において行われる空きクラスタマップの生成について説明するためのフローチャートである。3 is a flowchart for explaining generation of an empty cluster map performed in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置において用いられるFAT情報について説明するための図である。It is a figure for demonstrating FAT information used in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において用いられるディレクトリエントリ情報とについて説明するための図である。It is a figure for demonstrating the directory entry information used in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において行われるFAT情報とディレクトリエントリ情報の更新タイミングについて説明するための図である。FIG. 3 is a diagram for explaining the update timing of FAT information and directory entry information performed in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置において行われる記録時に電源遮断が発生することにより、使用不能になったファイルの復旧(修復)について説明するための図である。FIG. 3 is a diagram for explaining recovery (restoration) of a file that has become unusable due to a power interruption occurring during recording performed in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置において行われる記録時に電源遮断が発生することにより、使用不能になったファイルの復旧(修復)について説明するための図である。FIG. 3 is a diagram for explaining recovery (restoration) of a file that has become unusable due to a power interruption occurring during recording performed in the recording / reproducing apparatus shown in FIG. 1. 図1に示した記録再生装置において行われる記録時に電源遮断が発生することにより、使用不能になったファイルの復旧(修復)時の処理について説明するためのフローチャートである。6 is a flowchart for explaining processing at the time of recovery (restoration) of a file that has become unusable due to power interruption occurring during recording performed in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において実行可能な記録時に電源遮断が発生することにより当該ファイルを使用不能にしないようにするための方策の他の例を説明するための図である。It is a figure for demonstrating the other example of the measure for preventing the said file from being unusable by the fact that a power supply interruption occurs at the time of recording that can be executed in the recording / reproducing apparatus shown in FIG. 図1に示した記録再生装置において実行可能な記録時に電源遮断が発生することにより当該ファイルを使用不能にしないようにするための方策の他の例を説明するための図である。It is a figure for demonstrating the other example of the measure for preventing the said file from being unusable by the fact that a power supply interruption occurs at the time of recording that can be executed in the recording / reproducing apparatus shown in FIG. リアルタイム処理時に行うクラスタリンクテーブルの形成処理を説明するための図である。It is a figure for demonstrating the formation process of the cluster link table performed at the time of real-time processing. リアルタイム処理時に行うクラスタリンクテーブルの形成処理を説明するための図である。It is a figure for demonstrating the formation process of the cluster link table performed at the time of real-time processing. リアルタイム処理である情報信号の記録時と再生時とにおいて設けるようにする空き時間について説明するための図である。It is a figure for demonstrating the free time provided at the time of the recording of the information signal which is a real-time process, and the time of reproduction | regeneration. 記録時に行われるクラスタリンクテーブルの形成処理を説明するためのフローチャートである。It is a flowchart for demonstrating the formation process of the cluster link table performed at the time of recording. 記録時に行われるクラスタリンクテーブルの形成処理の他の例を説明するためのフローチャートである。It is a flowchart for demonstrating the other example of the formation process of the cluster link table performed at the time of recording. 再生時に行われるクラスタリンクテーブルの形成処理を説明するためのフローチャートである。It is a flowchart for demonstrating the formation process of the cluster link table performed at the time of reproduction | regeneration. 再生時に行われるクラスタリンクテーブルの形成処理の他の例を説明するためのフローチャートである。It is a flowchart for demonstrating the other example of the formation process of the cluster link table performed at the time of reproduction | regeneration. FAT情報から形成される空きクラスタマップの一例を示す図である。It is a figure which shows an example of the empty cluster map formed from FAT information.

符号の説明Explanation of symbols

1…デジタル入力端子、2…デジタル出力端子、3…入力端子、4…カメラブロック、5…スイッチ回路、6…エンコーダ/デコーダ、7…スイッチ回路、8…バッファメモリ回路、9…スイッチ回路、10…メディアコントローラ、11…ハードディスク、12…半導体メモリカード、13…ホストCPU、14…キー操作部、15…ROM、16…RAM、17…不揮発性メモリ   DESCRIPTION OF SYMBOLS 1 ... Digital input terminal, 2 ... Digital output terminal, 3 ... Input terminal, 4 ... Camera block, 5 ... Switch circuit, 6 ... Encoder / decoder, 7 ... Switch circuit, 8 ... Buffer memory circuit, 9 ... Switch circuit, 10 ... Media controller, 11 ... Hard disk, 12 ... Semiconductor memory card, 13 ... Host CPU, 14 ... Key operation unit, 15 ... ROM, 16 ... RAM, 17 ... Non-volatile memory

Claims (9)

記録媒体に記録されたファイルを読み出す情報処理装置であって、
前記記録媒体には、前記ファイルを構成する情報信号が記録されたクラスタのリンク関係を示す情報を含むファイル管理テーブルが形成するようにされており、
前記記録媒体に記録する情報信号を一時記憶する記録用バッファ手段と、
前記記録媒体から読み出した再生対象の情報信号を一時記憶する再生用バッファ手段と、
情報信号を前記記録用バッファ手段を介して記録媒体に記録する記録時には、前記記録用バッファ手段の情報信号の蓄積量が所定下限量以下になってから前記記録用バッファ手段の蓄積量が所定上限量以上になるまでの期間に応じて決まる空き時間において、前記記録媒体に記録されている情報信号を前記再生用バッファ手段を介して再生する再生時には、前記再生用バッファ手段の情報信号の蓄積量が所定上限量以上になってから前記再生用バッファ手段の情報信号の蓄積量が所定下限量以下になるまでの期間に応じて決まる空き時間において、前記ファイル管理テーブルを参照し、前記クラスタのリンク関係を示す情報からなるリンク情報テーブルを前記記録媒体以外のメモリに形成するリンク情報テーブル形成手段と、
前記リンク情報テーブルの情報に基づいて、前記情報信号を読み出す読み出し手段を制御する読み出し制御手段と、
を備える情報処理装置。
An information processing apparatus for reading a file recorded on a recording medium,
In the recording medium, a file management table including information indicating a link relation of clusters in which information signals constituting the file are recorded is formed.
Recording buffer means for temporarily storing an information signal to be recorded on the recording medium;
Reproduction buffer means for temporarily storing an information signal to be reproduced read from the recording medium;
During recording for recording information signals on the recording medium via the recording buffer means, the recording storage amount of the accumulated amount the recording buffer means from becoming below a predetermined lower limit amount of the buffer means of information signals on a given At the time of reproduction in which the information signal recorded on the recording medium is reproduced through the reproduction buffer means in the free time determined according to the period until reaching the limit amount, the amount of information signal stored in the reproduction buffer means In the idle time determined according to the period from when the amount of information signal stored in the reproduction buffer means becomes equal to or less than a predetermined lower limit after the value exceeds a predetermined upper limit, the file management table is referred to and the link of the cluster Link information table forming means for forming a link information table comprising information indicating a relationship in a memory other than the recording medium;
A read control means for controlling a read means for reading the information signal based on the information in the link information table;
An information processing apparatus comprising:
請求項1に記載の情報処理装置であって、
前記リンク情報テーブル形成手段は、前記空き時間内であって、前記ファイル管理テーブルについての処理可能なデータ量の範囲内において、あるいは、前記リンク情報テーブルを形成するための処理時間の範囲内において、前記リンク情報テーブルを形成するようにする情報処理装置。
The information processing apparatus according to claim 1,
The link information table forming means is within the free time and within a range of data amount that can be processed for the file management table, or within a range of processing time for forming the link information table. An information processing apparatus for forming the link information table.
請求項1または請求項2に記載の情報処理装置であって
前記記録媒体以外のメモリに形成された前記リンク情報テーブルを不揮発性記録媒体に退避するようにする退避手段を備える情報処理装置。
The information processing apparatus according to claim 1, further comprising a save unit configured to save the link information table formed in a memory other than the recording medium to a non-volatile recording medium.
記録媒体に記録されたファイルを読み出す場合の情報処理方法であって、
前記記録媒体には、ファイルを構成する情報信号が記録されたクラスタのリンク関係を示す情報を含むファイル管理テーブルが形成するようにされており、
前記記録媒体に情報信号を記録する場合には、当該情報信号を記録用バッファ手段に一時記録してから記録し、前記記録媒体から読み出した情報信号を再生する場合には、当該情報信号を再生用バッファ手段に一時記録してから再生するようにしている場合に、
情報信号を前記記録用バッファ手段を介して記録媒体に記録する記録時には、前記記録用バッファ手段の情報信号の蓄積量が所定下限量以下になってから前記記録用バッファ手段の蓄積量が所定上限量以上になるまでの期間に応じて決まる空き時間において、前記記録媒体に記録されている情報信号を前記再生用バッファ手段を介して再生する再生時には、前記再生用バッファ手段の情報信号の蓄積量が所定上限量以上になってから前記再生用バッファ手段の情報信号の蓄積量が所定下限量以下になるまでの期間に応じて決まる空き時間において、前記ファイル管理テーブルを参照し、前記クラスタのリンク関係を示す情報からなるリンク情報テーブルを前記記録媒体以外のメモリに形成するリンク情報テーブル管理工程と、
前記リンク情報テーブルに基づいて、前記情報信号を読み出す読み出し手段を制御する読み出し制御工程と
を有する情報処理方法。
An information processing method for reading a file recorded on a recording medium,
In the recording medium, a file management table including information indicating a link relation of clusters in which information signals constituting the file are recorded is formed.
When the information signal is recorded on the recording medium, the information signal is temporarily recorded in the recording buffer means and then recorded. When the information signal read from the recording medium is reproduced, the information signal is reproduced. When playing back after temporarily recording in the buffer means,
During recording for recording information signals on the recording medium via the recording buffer means, the recording storage amount of the accumulated amount the recording buffer means from becoming below a predetermined lower limit amount of the buffer means of information signals on a given At the time of reproduction in which the information signal recorded on the recording medium is reproduced through the reproduction buffer means in the free time determined according to the period until reaching the limit amount, the amount of information signal stored in the reproduction buffer means In the idle time determined according to the period from when the amount of information signal stored in the reproduction buffer means becomes equal to or less than a predetermined lower limit after the value exceeds a predetermined upper limit, the file management table is referred to and the link of the cluster A link information table management step of forming a link information table comprising information indicating a relationship in a memory other than the recording medium;
A read control step of controlling a read means for reading the information signal based on the link information table.
請求項4に記載の情報処理方法であって、
前記リンク情報テーブル形成工程においては、前記空き時間内であって、前記ファイル管理テーブルについての処理可能なデータ量の範囲内において、あるいは、前記リンク情報テーブルを形成するための処理時間の範囲内において、前記リンク情報テーブルを形成するようにする情報処理方法。
An information processing method according to claim 4,
In the link information table forming step, within the free time, within the range of data amount that can be processed for the file management table, or within the processing time for forming the link information table An information processing method for forming the link information table.
請求項4または請求項5に記載の情報処理方法であって
前記記録媒体以外のメモリに形成された前記リンク情報テーブルを不揮発性記録媒体に退避するようにする退避工程を備える情報処理方法。
6. The information processing method according to claim 4, further comprising a saving step of saving the link information table formed in a memory other than the recording medium to a nonvolatile recording medium.
ファイルを構成する情報信号が記録されたクラスタのリンク関係を示す情報を含むファイル管理テーブルが形成するようにされている記録媒体から、これに記録されているファイルを読み出す情報処理装置に搭載されるコンピュータにより実行されるプログラムであって、
前記情報処理装置においては、前記記録媒体に情報信号を記録する場合には、当該情報信号を記録用バッファ手段に一時記録してから記録し、前記記録媒体から読み出した情報信号を再生する場合には、当該情報信号を再生用バッファ手段に一時記録してから再生するようにしており、
情報信号を前記記録用バッファ手段を介して記録媒体に記録する記録時には、前記記録用バッファ手段の情報信号の蓄積量が所定下限量以下になってから前記記録用バッファ手段の蓄積量が所定上限量以上になるまでの期間に応じて決まる空き時間において、前記記録媒体に記録されている情報信号を前記再生用バッファ手段を介して再生する再生時には、前記再生用バッファ手段の情報信号の蓄積量が所定上限量以上になってから前記再生用バッファ手段の情報信号の蓄積量が所定下限量以下になるまでの期間に応じて決まる空き時間において、前記ファイル管理テーブルを参照し、前記クラスタのリンク関係を示す情報を含むリンク情報テーブルを前記記録媒体以外のメモリに形成するようにするリンク情報テーブル形成ステップと、
前記リンク情報テーブルに基づいて、前記情報信号を読み出す読み出し手段を制御する読み出し制御ステップと
を実行する情報処理プログラム。
Mounted in an information processing apparatus that reads a file recorded in a file management table formed by a file management table including information indicating the link relation of clusters in which information signals constituting the file are recorded A program executed by a computer,
In the information processing apparatus, when the information signal is recorded on the recording medium, the information signal is temporarily recorded in the recording buffer means and then recorded, and the information signal read from the recording medium is reproduced. Is adapted to reproduce the information signal after temporarily recording it in the reproduction buffer means,
During recording for recording information signals on the recording medium via the recording buffer means, the recording storage amount of the accumulated amount the recording buffer means from becoming below a predetermined lower limit amount of the buffer means of information signals on a given At the time of reproduction in which the information signal recorded on the recording medium is reproduced through the reproduction buffer means in the free time determined according to the period until reaching the limit amount, the amount of information signal stored in the reproduction buffer means In the idle time determined according to the period from when the amount of information signal stored in the reproduction buffer means becomes equal to or less than a predetermined lower limit after the value exceeds a predetermined upper limit, the file management table is referred to and the link of the cluster A link information table forming step for forming a link information table including information indicating a relationship in a memory other than the recording medium;
An information processing program for executing a reading control step for controlling a reading means for reading the information signal based on the link information table.
請求項7に記載の情報処理プログラムであって、
前記リンク情報テーブル形成ステップにおいては、前記空き時間内であって、前記ファイル管理テーブルについての処理可能なデータ量の範囲内において、あるいは、前記リンク情報テーブルを形成するための処理時間の範囲内において、前記リンク情報テーブルを形成するようにする情報処理プログラム。
An information processing program according to claim 7,
In the link information table forming step, within the free time and within the range of data amount that can be processed for the file management table, or within the range of processing time for forming the link information table An information processing program for forming the link information table.
請求項7または請求項8に記載の情報処理プログラムであって
前記記録媒体以外のメモリに形成された前記リンク情報テーブルを不揮発性記録媒体に退避するようにする退避ステップを有する情報処理プログラム。
The information processing program according to claim 7 or 8, further comprising a saving step for saving the link information table formed in a memory other than the recording medium to a nonvolatile recording medium.
JP2007061424A 2002-06-27 2007-03-12 Information processing apparatus, information processing method, and information processing program Expired - Fee Related JP4488014B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007061424A JP4488014B2 (en) 2002-06-27 2007-03-12 Information processing apparatus, information processing method, and information processing program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002187429 2002-06-27
JP2007061424A JP4488014B2 (en) 2002-06-27 2007-03-12 Information processing apparatus, information processing method, and information processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002285133A Division JP4009840B2 (en) 2002-06-27 2002-09-30 Information processing apparatus, information processing method, and information processing program

Publications (2)

Publication Number Publication Date
JP2007234028A JP2007234028A (en) 2007-09-13
JP4488014B2 true JP4488014B2 (en) 2010-06-23

Family

ID=38554494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007061424A Expired - Fee Related JP4488014B2 (en) 2002-06-27 2007-03-12 Information processing apparatus, information processing method, and information processing program

Country Status (1)

Country Link
JP (1) JP4488014B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014044490A (en) * 2012-08-24 2014-03-13 Toshiba Corp Host device and memory device

Also Published As

Publication number Publication date
JP2007234028A (en) 2007-09-13

Similar Documents

Publication Publication Date Title
JP4009840B2 (en) Information processing apparatus, information processing method, and information processing program
KR20030067981A (en) Method of a recoding media used in AV system
JP2010273327A (en) Recording apparatus
JP5235541B2 (en) Recording apparatus and method
KR20070045114A (en) Information processing apparatus and information processing method, and computer program
JP5634057B2 (en) Recording apparatus and recording method
JP6137980B2 (en) Recording apparatus and control method thereof
JP4323870B2 (en) Recording device
JPH10162560A (en) Video editing method and non-linear video editing device
JP2015029231A (en) Recording apparatus and control method thereof
KR100955023B1 (en) Continuous recording method of data in digital composite recorder
JP2008193345A (en) Editing device and editing method
JP2014165735A (en) Recording device, recording method and program
JP4488014B2 (en) Information processing apparatus, information processing method, and information processing program
US8279726B2 (en) Recording device for recording a content into a plurality of recording media and control method thereof
JP6220160B2 (en) Reproducing apparatus and control method thereof
JP3903039B2 (en) Recording device
JP5665817B2 (en) Image processing device
JP2001167565A (en) Digital recorder-reproducer using random accessible recording medium and recording-reproducing method of digital data
JP2005092484A (en) File recording apparatus
US20080187281A1 (en) Editing apparatus and editing method
JP5873549B2 (en) Image processing device
JP4289403B2 (en) Editing apparatus and editing method
JPH10162550A (en) Information recording / reproducing device
JP2009217696A (en) File management system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090624

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090821

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090824

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20091005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100216

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100309

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100322

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4488014

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees