JP2008009506A - Information processor and its file access method - Google Patents

Information processor and its file access method Download PDF

Info

Publication number
JP2008009506A
JP2008009506A JP2006176558A JP2006176558A JP2008009506A JP 2008009506 A JP2008009506 A JP 2008009506A JP 2006176558 A JP2006176558 A JP 2006176558A JP 2006176558 A JP2006176558 A JP 2006176558A JP 2008009506 A JP2008009506 A JP 2008009506A
Authority
JP
Japan
Prior art keywords
file
recording
management information
data
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.)
Granted
Application number
JP2006176558A
Other languages
Japanese (ja)
Other versions
JP4984677B2 (en
Inventor
Takuro Sonoyama
拓朗 園山
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 JP2006176558A priority Critical patent/JP4984677B2/en
Publication of JP2008009506A publication Critical patent/JP2008009506A/en
Application granted granted Critical
Publication of JP4984677B2 publication Critical patent/JP4984677B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve the high speed operation of file access concerning an information processor and a file access method. <P>SOLUTION: This information processor is provided with a data recording means 1d for recording the actual data of a file and a management information recording means 1f for recording the management information. When a file reproduction request is made, a reproduction control means 1a reads the management information of the request file recorded in the management information recording means 1f through a management information recording means interface 1e, and reads the actual data of the request file recorded in the data recording means 1d through the data recording means interface 1c based on the read management information. When the file recording request is made, the recording control means 1b records the actual data of the file in the data recording means 1d through the data recording means interface 1c, and records the management information through the management information recording means interface 1e in the management information recording means 1f. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は情報処理装置及びそのファイルアクセス方法に関し、特にファイルの実データを管理情報とともに記録手段に記録しておき、この管理情報に基づいて記録手段に記録されるファイルに対するアクセス処理を行う情報処理装置及びそのファイルアクセス方法に関する。   The present invention relates to an information processing apparatus and a file access method thereof, and in particular, information processing that records actual data of a file together with management information in a recording unit and performs an access process on the file recorded in the recording unit based on the management information. The present invention relates to an apparatus and a file access method thereof.

近年、内蔵したHDD(Hard Disk Drive)に、動画ストリームなどのAV(Audio Visual)データファイルを記録し、再生することのできる機能を有する情報処理装置が普及している。たとえば、汎用のパーソナルコンピュータや、AVデータの記録と再生専用のハイブリッドレコーダなどに、AVデータの記録・再生のためのファイルシステムが組み込まれている。   In recent years, information processing apparatuses having a function capable of recording and reproducing AV (Audio Visual) data files such as video streams in a built-in HDD (Hard Disk Drive) have become widespread. For example, a file system for recording / reproducing AV data is incorporated in a general-purpose personal computer or a hybrid recorder dedicated to recording and reproducing AV data.

このような装置では、HDDへのファイル記録やHDDに記録されたファイルの再生は、必ずファイルシステムを介して行われる。たとえば、FAT(File Allocation Tables)ファイルシステムでは、HDDに記録されているFAT管理テーブルによってファイルの実データが書き込まれている位置を管理している。したがって、HDDに記録されるデータファイルにアクセスする際には、FAT管理テーブルを参照する必要があり、FAT管理テーブル参照時に発生するシーク動作が、HDDのアクセス速度の向上を阻む要因の1つとなっていた。   In such an apparatus, the file recording to the HDD and the reproduction of the file recorded on the HDD are always performed via the file system. For example, in a FAT (File Allocation Tables) file system, a location where actual data of a file is written is managed by a FAT management table recorded in the HDD. Therefore, when accessing a data file recorded in the HDD, it is necessary to refer to the FAT management table, and the seek operation that occurs when referring to the FAT management table is one of the factors that hinder the improvement of the access speed of the HDD. It was.

そこで、システムの初期化処理時に、FAT管理テーブルをHDDから読み出して高速読み書きが可能なバッファメモリに格納しておき、以降のファイルアクセス処理では、バッファメモリ上のFAT管理テーブルを使用することにより、ファイルアクセス速度の向上を図る情報記録再生装置が提案されている(たとえば、特許文献1参照)。
特開2005−141335号公報
Therefore, during the initialization process of the system, the FAT management table is read from the HDD and stored in a buffer memory that can be read and written at high speed. In the subsequent file access process, the FAT management table on the buffer memory is used. An information recording / reproducing apparatus for improving the file access speed has been proposed (see, for example, Patent Document 1).
JP 2005-141335 A

ところで、一般的な高信頼性ファイルシステムを介したHDDへのファイルの記録及び再生も、必ずメタデータやジャーナルログなどの管理情報が参照される。管理情報は、ファイルシステムの管理ブロック上に離散的にマッピングされるため、HDD上においても、物理的なレイアウトは不連続に散在する。したがって、HDD上のデータファイルを読み出す場合には、いったん、別の領域に記録される管理情報にアクセスしなければならず、データファイルへのアクセスに前後して、高い確率で大きなシーク動作が発生する。記録の場合にも、別の領域にマッピングされるデータファイルと、管理情報を書き込まなければならないため、同様にシーク動作が発生する。HDDのパフォーマンスは、シーク動作が伴うほど低下するので、ファイル管理情報とデータファイルをアクセスするために恒常的に発生するシーク動作は、HDDのスループット向上の阻害要因となっている。   By the way, management information such as metadata and journal logs is always referred to for recording and reproduction of files to and from the HDD via a general highly reliable file system. Since the management information is discretely mapped onto the management block of the file system, the physical layout is scattered discontinuously even on the HDD. Therefore, when reading a data file on the HDD, the management information recorded in another area must be accessed once, and a large seek operation occurs with high probability before and after the access to the data file. To do. Also in the case of recording, since a data file mapped to another area and management information must be written, a seek operation occurs similarly. Since the performance of the HDD decreases as the seek operation is accompanied, the seek operation that occurs constantly to access the file management information and the data file is an impediment to improving the throughput of the HDD.

また、装置を起動する際には、ファイルシステムを起動するシーケンスが実行される。このとき、起動に必要な管理情報はHDDから読み出さなければならないため、HDDが起動時、アクセスレディになるまでファイルシステムの起動を待たざるを得ない。HDDは機械部品であるので、アクセスレディになるまでの時間は、一般的な半導体デバイスに比べて、数倍から数十倍遅い。たとえば、装置が起動されてからファイルシステムが立ち上がるまでに、数秒から数十秒要する場合がある。このように、ファイルシステムの起動時間がボトルネックとなり、装置の起動時間を短縮することが難しいという問題点もある。なお、特許文献1の情報記録再生装置は、起動時にFAT管理テーブルをHDDから読み出すので、ファイルシステムの高速起動は難しいという問題点が同様にある。また、耐久性の低いHDDが故障した場合、FAT管理テーブルも併せて破壊されてしまうという問題点もある。   Further, when starting the apparatus, a sequence for starting the file system is executed. At this time, since the management information necessary for activation must be read from the HDD, the activation of the file system must be waited until the HDD becomes access ready when the HDD is activated. Since the HDD is a mechanical component, the time until access ready is several to several tens of times slower than that of a general semiconductor device. For example, it may take several seconds to several tens of seconds from when the device is started until the file system is started up. As described above, the startup time of the file system becomes a bottleneck, and it is difficult to shorten the startup time of the apparatus. Note that the information recording / reproducing apparatus of Patent Document 1 reads the FAT management table from the HDD at the time of activation, and thus has a problem that it is difficult to activate the file system at high speed. In addition, when a HDD with low durability breaks down, the FAT management table is also destroyed.

本発明はこのような点に鑑みてなされたものであり、ファイルアクセスの高速化と、高速起動を可能にするファイルシステムを搭載した情報処理装置及びそのファイルアクセス方法を提供することを目的とする。   The present invention has been made in view of these points, and an object thereof is to provide an information processing apparatus equipped with a file system that enables high-speed startup and high-speed file access, and a file access method thereof. .

本発明では上記課題を解決するために、データ記録手段と、管理情報記録手段と、再生制御手段と、記録制御手段とを具備し、管理情報に基づいてデータ記録手段に記録されるファイルの実データへのアクセス処理を行う情報処理装置が提供される。データ記録手段には、ファイルの実データが記録される。管理情報記録手段は、データ記録手段とは別個に設けられ、データ記録手段に記録されたファイルの実データに関する管理情報を記録する。再生制御手段は、データ記録手段に記録されているファイルの再生要求信号が入力されると、再生要求ファイルに対応する管理情報を管理情報記録手段から読み出し、読み出した管理情報に基づき、データ記録手段に記録される再生要求ファイルの実データを読み出す。記録制御手段は、データ記録手段にファイルを記録する記録要求信号が入力されると、記録要求ファイルを記録可能な空き領域をデータ記録手段から検出し、検出された空き領域の指示情報と記録要求ファイルに関するファイル情報を含む管理情報を生成して管理情報記録手段に記録し、記録要求ファイルの実データを空き領域に記録する。   In order to solve the above-mentioned problems, the present invention comprises a data recording means, a management information recording means, a reproduction control means, and a recording control means, and the execution of a file recorded in the data recording means based on the management information. An information processing apparatus that performs access processing to data is provided. The actual data of the file is recorded in the data recording means. The management information recording means is provided separately from the data recording means, and records management information regarding the actual data of the file recorded in the data recording means. When the reproduction request signal of the file recorded in the data recording means is input, the reproduction control means reads management information corresponding to the reproduction requested file from the management information recording means, and based on the read management information, the data recording means Read the actual data of the playback request file recorded in. When a recording request signal for recording a file is input to the data recording unit, the recording control unit detects a free area in which the recording request file can be recorded from the data recording unit, and indicates the detected free area indication information and the recording request Management information including file information related to the file is generated and recorded in the management information recording means, and the actual data of the recording request file is recorded in the empty area.

このような情報処理装置によれば、ファイルの実データは、データ記録手段に記録され、このファイルの実データに関する管理情報は、データ記録手段とは別個に設けられた管理情報記録手段にそれぞれ記録される。ファイルの再生要求信号が入力されると、再生制御手段は、再生要求ファイルの管理情報を管理情報記録手段から読み出し、読み出した管理情報に基づいて、データ記録手段から再生要求ファイルの実データを読み出す。一方、記録制御手段は、ファイルの記録要求信号が入力されると、記録要求ファイルを記録可能な空き領域をデータ記録手段から移す。検出された空き領域の指示情報と記録要求ファイルに関するファイル情報を含む管理情報を生成して管理情報記録手段に記録し、記録要求ファイルの実データを空き領域に記録する。   According to such an information processing apparatus, the actual data of the file is recorded in the data recording means, and the management information related to the actual data of the file is recorded in the management information recording means provided separately from the data recording means, respectively. Is done. When a file playback request signal is input, the playback control means reads management information of the playback request file from the management information recording means, and reads actual data of the playback request file from the data recording means based on the read management information. . On the other hand, when a recording request signal for a file is input, the recording control means moves a free area where the recording request file can be recorded from the data recording means. Management information including the detected free area instruction information and file information related to the recording request file is generated and recorded in the management information recording means, and the actual data of the recording request file is recorded in the free area.

本発明では、情報処理装置内に所定のファイルを記録する場合に、従来は同一の記録手段に記録されていたファイルの実データとその管理情報とを別々に動作可能な記録手段に記録する。たとえば、ファイルの実データを記録する記録手段が、シーク動作が必要なHDDなどで構成されていた場合、管理情報を別の記録手段で管理することにより、シーク動作を減らし、ファイルの記録・再生のスループットを向上させることができる。   In the present invention, when a predetermined file is recorded in the information processing apparatus, the actual data of the file that has been recorded in the same recording means and its management information are recorded in the recording means that can operate separately. For example, if the recording means for recording the actual data of the file is composed of an HDD or the like that requires a seek operation, management information is managed by another recording means to reduce the seek operation and record / reproduce the file. Throughput can be improved.

以下、本発明の実施の形態を図面を参照して説明する。まず、実施の形態に適用される発明の概念について説明し、その後、実施の形態の具体的な内容を説明する。
図1は、実施の形態に適用される発明の概念図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. First, the concept of the invention applied to the embodiment will be described, and then the specific contents of the embodiment will be described.
FIG. 1 is a conceptual diagram of the invention applied to the embodiment.

本発明に係るファイルシステムが適用される情報処理装置は、ファイルの再生を制御する再生制御手段1a、ファイルの記録を制御する記録制御手段1b、データ記録手段1dへのアクセス処理を行うデータ記録手段インタフェース1c、ファイルの実データを記録するデータ記録手段1d、管理情報記録手段1fへのアクセス処理を行う管理情報記録手段インタフェース1e、管理情報を記録する管理情報記録手段1f、及び情報処理装置起動時の初期化処理を行う初期化手段1gを具備する。   An information processing apparatus to which the file system according to the present invention is applied includes a reproduction control means 1a for controlling reproduction of a file, a recording control means 1b for controlling file recording, and a data recording means for performing access processing to the data recording means 1d. Interface 1c, data recording means 1d for recording actual data of a file, management information recording means interface 1e for performing access processing to management information recording means 1f, management information recording means 1f for recording management information, and information processing apparatus when starting An initialization unit 1g for performing the initialization process is provided.

再生制御手段1aは、図示しないアプリケーションなどからファイル再生要求信号が入力されると、再生要求されたファイルの読み出しを制御する。再生制御手段1aは、まず、再生要求ファイルが格納される領域などが設定される再生要求ファイルの管理情報を、管理情報記録手段インタフェース1eを介して管理情報記録手段1fから読み出す。そして、データ記録手段インタフェース1cを介し、読み出した管理情報によって特定されるデータ記録手段1dの記録領域から、再生要求ファイルの実データを読み出す。読み出されたデータは、要求元へ送る。   When a file reproduction request signal is input from an application (not shown) or the like, the reproduction control unit 1a controls reading of the file requested to be reproduced. The reproduction control means 1a first reads management information of a reproduction request file in which an area for storing the reproduction request file is set from the management information recording means 1f via the management information recording means interface 1e. Then, the actual data of the reproduction request file is read out from the recording area of the data recording means 1d specified by the read management information via the data recording means interface 1c. The read data is sent to the request source.

記録制御手段1bは、図示しないアプリケーションなどからファイル記録要求信号と、記録ファイルの実データが入力されると、記録要求されたファイルの書き込みを制御する。記録制御手段1bは、まず、データ記録手段インタフェース1cを介してデータ記録手段1dの空き状況をチェックし、記録要求ファイルの実データが記録できる空き領域を検出する。そして、以降の処理でこのデータが読み出しできるように、検出された空き領域を指示する指示情報と、記録ファイルに関するファイル情報を含む管理情報を生成し、管理情報記録手段インタフェース1eを介して管理情報記録手段1fへ書き込む。そして、データ記録手段インタフェース1cを介し、取得したファイル実データを検出された空き領域に書き込む。要求元へは、正常終了などの処理状況を返す。   When a file recording request signal and actual data of a recording file are input from an application (not shown) or the like, the recording control unit 1b controls writing of the file requested to be recorded. First, the recording control unit 1b checks the availability of the data recording unit 1d via the data recording unit interface 1c, and detects a free area where the actual data of the recording request file can be recorded. Then, the management information including the instruction information indicating the detected free space and the file information related to the recording file is generated so that this data can be read out in the subsequent processing, and the management information is transmitted via the management information recording means interface 1e. Write to the recording means 1f. Then, the obtained file actual data is written into the detected free space via the data recording means interface 1c. A processing status such as normal termination is returned to the request source.

データ記録手段インタフェース1cは、データ記録手段1dへのファイルの実データの書き込みと読み出しを制御する。
データ記録手段1dは、ファイルの実データを記録する。データ記録手段1dは、大量のデータを低コストで記録できるHDDに代表される補助記憶装置で構成される。アクセス時にシーク動作を伴うことが特徴であり、ほかに、光ディスク装置、光磁気ディスク装置などがある。
The data recording unit interface 1c controls writing and reading of actual file data to and from the data recording unit 1d.
The data recording unit 1d records the actual data of the file. The data recording means 1d is composed of an auxiliary storage device represented by an HDD capable of recording a large amount of data at a low cost. It is characterized by a seek operation during access, and there are other optical disk devices, magneto-optical disk devices, and the like.

管理情報記録手段インタフェース1eは、管理情報記録手段1fへの管理情報の書き込みと読み出しを制御する。
管理情報記録手段1fは、管理情報を記録する。管理情報は、ファイルの実データと比較してデータサイズが格段に小さいので、データ記録手段1dより高速アクセスが可能なレイテンシーが小さい素子で構成される。たとえば、シーク動作を必要としない不揮発性メモリで構成される。
The management information recording unit interface 1e controls writing and reading of management information to and from the management information recording unit 1f.
The management information recording unit 1f records management information. Since the management information has a data size that is significantly smaller than the actual data of the file, the management information is composed of elements with a smaller latency that can be accessed at a higher speed than the data recording means 1d. For example, it is composed of a non-volatile memory that does not require a seek operation.

初期化手段1gは、情報処理装置の起動時、管理情報記録手段1fに記録される管理情報を読み出し、管理情報に基づいてファイルアクセスに関する初期情報を設定する。これにより、初期化時には、管理情報記録手段1fからだけ読み出しを行えばよいので、アクセスレディになるまでの時間を考慮する必要がなくなる。   The initialization unit 1g reads management information recorded in the management information recording unit 1f when the information processing apparatus is activated, and sets initial information related to file access based on the management information. Thereby, at the time of initialization, it is only necessary to read from the management information recording means 1f, so that it is not necessary to consider the time until access ready.

このような構成の情報処理装置の動作及びファイルアクセス方法について説明する。なお、以下の説明では、データ記録手段1dはHDD、管理情報記録手段1fは不揮発性メモリで構成されるとする。   An operation of the information processing apparatus having such a configuration and a file access method will be described. In the following description, it is assumed that the data recording unit 1d is configured by an HDD and the management information recording unit 1f is configured by a nonvolatile memory.

ファイル再生要求信号が入力されると、再生制御手段1aは、管理情報記録手段インタフェース1eを介して管理情報記録手段1fから、再生要求ファイルの管理情報を読み出す。そして、読み出した管理情報に基づき、データ記録手段インタフェース1cを介してデータ記録手段1dから再生要求ファイルの実データを読み出す。これにより、従来、管理情報の検索のため行われていたHDDヘッドのシーク動作を省くことが可能となり、HDDへのユーザデータアクセス性能を向上させることができる。   When the file reproduction request signal is input, the reproduction control unit 1a reads the management information of the reproduction request file from the management information recording unit 1f via the management information recording unit interface 1e. Based on the read management information, the actual data of the reproduction request file is read from the data recording means 1d via the data recording means interface 1c. As a result, it is possible to eliminate the seek operation of the HDD head that has been conventionally performed to search for management information, and the user data access performance to the HDD can be improved.

また、ファイル記録要求信号がファイル実データとともに入力されると、記録制御手段1bは、データ記録手段1dの空き領域を検出し、その管理情報を生成して管理情報記録手段インタフェース1eを介して管理情報記録手段1fへ登録する。そして、検出されたデータ記録手段1dの空き領域にファイル実データを記録する。記録時も再生時と同様に、管理情報の書き込みのために行われていたシーク動作を省くことが可能となり、スループットを向上させることができる。   When the file recording request signal is input together with the actual file data, the recording control unit 1b detects the free area of the data recording unit 1d, generates its management information, and manages it via the management information recording unit interface 1e. Register in the information recording means 1f. Then, the actual file data is recorded in the detected empty area of the data recording means 1d. During recording, as in the case of reproduction, it is possible to omit the seek operation performed for writing the management information, thereby improving the throughput.

さらに、情報処理装置の起動時には、ファイルシステムを起動する必要がある。初期化手段1gは、情報処理装置が初期化されると起動され、管理情報記録手段インタフェース1eを介して管理情報記録手段1fに記録されるファイルの管理情報を読み出し、読み出した管理情報をメインメモリに展開する。このように、初期化手段1gの読み出し元は、高速アクセスが可能な不揮発性メモリになる。したがって、HDDへアクセスしていた従来と比較し、読み出しレイテンシーを激減させることができる。また、機械的な機構を備え、アクセスレディになるまでに時間のかかるHDDに比べ、起動後すぐに読み出しを行うことが可能であり、ファイルシステムの高速起動を実現することができる。   Furthermore, it is necessary to start the file system when starting the information processing apparatus. The initialization unit 1g is activated when the information processing apparatus is initialized, reads the management information of the file recorded in the management information recording unit 1f via the management information recording unit interface 1e, and stores the read management information in the main memory Expand to. Thus, the reading source of the initialization unit 1g is a non-volatile memory that can be accessed at high speed. Therefore, the read latency can be drastically reduced as compared with the conventional case where the HDD is accessed. In addition, compared with an HDD that has a mechanical mechanism and takes time to become ready for access, it is possible to read out immediately after startup, and to realize high-speed startup of the file system.

以下、実施の形態を、AVストリームを記録・再生する情報処理装置に適用した場合を例に図面を参照して詳細に説明する。実施の形態では、管理情報として、少なくともAVストリームのファイル名や属性情報、実データの記録位置などを紐付けしたメタデータと、メタデータ設定に関するジャーナルログとを有し、AVストリームの記録・再生を管理するとする。   Hereinafter, the embodiment will be described in detail with reference to the drawings, taking as an example a case where the embodiment is applied to an information processing apparatus for recording / reproducing an AV stream. In the embodiment, the management information includes metadata associated with at least the file name and attribute information of the AV stream, the actual data recording position, and the like, and a journal log relating to metadata setting, and recording / reproducing of the AV stream. Suppose you manage.

図2は、本発明の実施の形態のファイルシステムが適用される情報処理装置のハードウェア構成図である。
本発明の実施の形態の情報処理装置100は、CPU(Central Processing Unit)101によって装置全体が制御されている。CPU101には、バス105を介してメインメモリ102、不揮発性メモリコントローラ103、及びHDDコントローラ104が接続されるシステムユニットが、不揮発性メモリインタフェース(以下、I/Fとする)106を介して不揮発性メモリ130と接続し、HDDI/F107を介してHDD140と接続する。
FIG. 2 is a hardware configuration diagram of an information processing apparatus to which the file system according to the embodiment of this invention is applied.
In the information processing apparatus 100 according to the embodiment of the present invention, the entire apparatus is controlled by a CPU (Central Processing Unit) 101. A system unit to which the main memory 102, the nonvolatile memory controller 103, and the HDD controller 104 are connected via the bus 105 is connected to the CPU 101 via the nonvolatile memory interface (hereinafter referred to as I / F) 106. It connects to the memory 130 and connects to the HDD 140 via the HDD I / F 107.

CPU101は、後述するアプリケーションから発せられるファイルアクセス要求に基づいて、メインメモリ102、不揮発性メモリコントローラ103、及びHDDコントローラ104を制御し、HDD140にファイルの実データを記録し、かつ記録された実データを再生する。   The CPU 101 controls the main memory 102, the nonvolatile memory controller 103, and the HDD controller 104 based on a file access request issued from an application, which will be described later, records the actual data of the file in the HDD 140, and the recorded actual data Play.

メインメモリ102は、RAM(Random Access Memory)で構成され、CPU101に実行させるOS(Operating System)のプログラムやアプリケーションプログラムの少なくとも一部が一時的に格納される。また、メインメモリ102には、不揮発性メモリ130に記録されるファイルの管理情報の一部を含むCPU101による処理に必要な各種データが格納される。   The main memory 102 includes a RAM (Random Access Memory), and temporarily stores at least a part of an OS (Operating System) program and application programs to be executed by the CPU 101. The main memory 102 stores various data necessary for processing by the CPU 101 including a part of file management information recorded in the nonvolatile memory 130.

不揮発性メモリコントローラ103は、不揮発性メモリI/F106を介して不揮発性メモリ130に接続し、CPU101からの命令に従って、不揮発性メモリ130に記録された管理情報の読み出しと書き込みを制御する。不揮発性メモリ130には、AVストリームファイルに関するファイルシステムの管理情報(メタデータやジャーナルログ)が平衡木構造で記録されている。AVストリームの再生時の基本動作として、このファイルシステムの管理情報のうち、一部がメインメモリ102上に展開され、要求に応じて、不揮発性メモリ130上に続きをアクセスする。   The nonvolatile memory controller 103 is connected to the nonvolatile memory 130 via the nonvolatile memory I / F 106 and controls reading and writing of management information recorded in the nonvolatile memory 130 in accordance with instructions from the CPU 101. In the nonvolatile memory 130, file system management information (metadata and journal log) related to the AV stream file is recorded in a balanced tree structure. As a basic operation at the time of reproducing an AV stream, a part of the management information of the file system is expanded on the main memory 102, and the rest is accessed on the nonvolatile memory 130 in response to a request.

HDDコントローラ104は、HDDI/F107を介してHDD140に接続し、CPU101からの命令に従って、HDD140に記録されるファイルの実データの読み出しと書き込みを制御する。HDD140には、OSやアプリケーションのプログラムなどのほか、AVストリームの実データ(ユーザデータ)が格納される。   The HDD controller 104 is connected to the HDD 140 via the HDD I / F 107 and controls reading and writing of actual data of a file recorded on the HDD 140 in accordance with a command from the CPU 101. In addition to the OS and application programs, the HDD 140 stores actual data (user data) of the AV stream.

このようなハードウェア構成によって、本実施の形態の処理機能を実現することができる。
次に、本実施の形態の情報処理装置100のソフトウェア構成について説明する。図3は、本実施の形態のファイルシステムが適用される情報処理装置のソフトウェア構成図である。図2と同じものには同じ番号を付し、説明は省略する。
With such a hardware configuration, the processing functions of the present embodiment can be realized.
Next, the software configuration of the information processing apparatus 100 according to the present embodiment will be described. FIG. 3 is a software configuration diagram of an information processing apparatus to which the file system of this embodiment is applied. The same components as those in FIG. 2 are denoted by the same reference numerals, and description thereof is omitted.

本発明の実施の形態の情報処理装置100は、アプリケーション201、仮想ファイルシステム(VFS;Virtual File System)202、ファイルマネージャー203、ユーザデータレイアウトマネージャー204、ブロックデバイスI/Oドライバ205、HDDI/Fドライバ206、メタデータレイアウトマネージャー207、不揮発性メモリI/Oドライバ208、及び不揮発性メモリI/Fドライバ209を有する。   An information processing apparatus 100 according to an embodiment of the present invention includes an application 201, a virtual file system (VFS) 202, a file manager 203, a user data layout manager 204, a block device I / O driver 205, and an HDD I / F driver. 206, a metadata layout manager 207, a nonvolatile memory I / O driver 208, and a nonvolatile memory I / F driver 209.

アプリケーション201は、アプリケーションプログラムに従って処理手順を実行し、ファイルの記録・再生要求を発生させる。ファイルの記録・再生要求は、仮想ファイルシステム202に出力される。   The application 201 executes a processing procedure according to the application program and generates a file recording / playback request. The file recording / playback request is output to the virtual file system 202.

仮想ファイルシステム202は、アプリケーション201と下層レイヤとの間で、ファイルアクセス要求を伝達する基本的な制御を行う。仮想ファイルシステム202により、アプリケーション201からは、AVストリームを記録する記録媒体の種別や特性などを考慮せずに、記録・再生要求を発生させることができる。   The virtual file system 202 performs basic control for transmitting a file access request between the application 201 and a lower layer. The virtual file system 202 can generate a recording / playback request from the application 201 without considering the type and characteristics of the recording medium for recording the AV stream.

ファイルマネージャー203は、ユーザデータ及び管理情報の記録・再生処理を行う下層を管理し、仮想ファイルシステム202からの指示に従って、ファイル管理情報の生成や、登録されているファイル管理情報の抽出など、ファイル管理情報に基づくファイル管理を行う。ファイルマネージャー203によって管理される下層は、ユーザデータに関するユーザデータレイアウトマネージャー204、ブロックデバイスI/Oドライバ205、及びHDDI/Fドライバ206と、管理情報に関するメタデータレイアウトマネージャー207、不揮発性メモリI/Oドライバ208、及び不揮発性メモリI/Fドライバ209とに分かれる。   The file manager 203 manages a lower layer that performs recording / playback processing of user data and management information, and generates file management information and extracts registered file management information according to instructions from the virtual file system 202. Perform file management based on management information. The lower layer managed by the file manager 203 includes a user data layout manager 204 related to user data, a block device I / O driver 205, and an HDD I / F driver 206, a metadata layout manager 207 related to management information, and a nonvolatile memory I / O. The driver 208 and the non-volatile memory I / F driver 209 are divided.

ユーザデータレイアウトマネージャー204は、ユーザデータ(実データ)を記録する領域を管理する。ブロックデバイスI/Oドライバ205は、ファイルシステム上の位置情報をHDD140上の記録位置情報に変換するとともに、HDDI/Fドライバ206へのデータ書き込みサイズとタイミングを制御する。HDDI/Fドライバ206は、HDDI/F107のフォーマットと、ファイルシステムの上位層のフォーマットとの変換処理を行うとともに、HDDコントローラ104経由でHDD140へのアクセス制御を行う。   The user data layout manager 204 manages an area for recording user data (actual data). The block device I / O driver 205 converts the position information on the file system into the recording position information on the HDD 140 and controls the data write size and timing to the HDD I / F driver 206. The HDD I / F driver 206 performs conversion processing between the format of the HDD I / F 107 and the format of the upper layer of the file system, and controls access to the HDD 140 via the HDD controller 104.

メタデータレイアウトマネージャー207は、メタデータやジャーナルなどの管理情報の記録を管理する。不揮発性メモリI/Oドライバ208は、メタデータレイアウトマネージャー207が生成したメタデータのエントリ情報を受け取り、不揮発性メモリ130上の位置情報に変換する。また、ファイルマネージャー203が生成したメタデータ本体を受け取り、不揮発性メモリI/Fドライバ209への書き込みサイズとタイミングを制御する。不揮発性メモリI/Fドライバ209は、不揮発性メモリI/F106のフォーマットと、上位層のフォーマットとの変換を行うとともに、不揮発性メモリコントローラ103経由で、メタデータ及びジャーナルの書き込みと読み出しを制御する。   The metadata layout manager 207 manages the recording of management information such as metadata and journals. The nonvolatile memory I / O driver 208 receives the metadata entry information generated by the metadata layout manager 207 and converts it into position information on the nonvolatile memory 130. Also, the metadata body generated by the file manager 203 is received, and the write size and timing to the nonvolatile memory I / F driver 209 are controlled. The non-volatile memory I / F driver 209 converts the format of the non-volatile memory I / F 106 and the format of the upper layer and controls writing and reading of metadata and journal via the non-volatile memory controller 103. .

このような構成の情報処理装置の動作及びファイルアクセス方法について、起動時、ファイルの記録時、及び再生時の3つの場合で説明する。
(1)ファイルシステムの起動
情報処理装置が初期化されると、ファイルシステムも新たに起動され、不揮発性メモリ130に記録されている管理情報に基づき、ファイルシステムの動作に必要な情報をメインメモリに展開する。半導体である不揮発性メモリ130は、機械部品であるHDD140とは異なり、装置初期化後すぐにアクセス可能な状態となる。このため、装置初期化でOSが起動されると、OSは、HDD140のような待ち時間の必要なしに、ファイルシステムを起動することができる。
The operation of the information processing apparatus configured as described above and the file access method will be described in three cases: startup, file recording, and playback.
(1) Activation of file system When the information processing apparatus is initialized, the file system is also newly activated, and information necessary for the operation of the file system is stored in the main memory based on the management information recorded in the nonvolatile memory 130. Expand to. Unlike the HDD 140, which is a mechanical component, the nonvolatile memory 130, which is a semiconductor, can be accessed immediately after the device is initialized. For this reason, when the OS is started by device initialization, the OS can start the file system without the need for a waiting time like the HDD 140.

ファイルシステム起動時には、まず、ファイルマネージャー203が起動され、不揮発性メモリコントローラ103を介して、必要な管理情報を不揮発性メモリ130から読み出す。読み出した管理情報は、必要に応じて、メインメモリ102上に展開される。   When the file system is activated, first, the file manager 203 is activated, and necessary management information is read from the nonvolatile memory 130 via the nonvolatile memory controller 103. The read management information is expanded on the main memory 102 as necessary.

このように、管理情報を不揮発性メモリ130に記録しておくため、従来のHDD140に記録された管理情報を読み出していた場合と比べて、読み出しのレイテンシーが激減し、結果として管理情報の読み出し性能が向上する。   As described above, since the management information is recorded in the nonvolatile memory 130, the read latency is drastically reduced as compared with the case where the management information recorded in the conventional HDD 140 is read. Will improve.

(2)ファイルの記録
ファイルの記録処理は、アプリケーション201が仮想ファイルシステム202に対してファイルの実データの記録要求で起動され、対象のファイルの実データをHDD140に記録する。記録対象のファイルの実データは、アプリケーション201によって、メインメモリ102に一時保存されている。
(2) File Recording In the file recording process, the application 201 is activated by a request to record actual file data to the virtual file system 202, and the actual data of the target file is recorded in the HDD 140. The actual data of the recording target file is temporarily stored in the main memory 102 by the application 201.

図4は、本実施の形態のファイルアクセス方法におけるファイルの記録の手順を示したフローチャートである。
[ステップS11] 仮想ファイルシステム202からファイルの記録要求が伝達されると、ファイルマネージャー203は、新たに生成するファイルの管理情報を記録するための領域を確保するため、メタデータレイアウトマネージャー207に指示を出す。メタデータレイアウトマネージャー207は、管理する平衡木上に新たなメタデータ領域を確保し、エントリ情報を生成する。
FIG. 4 is a flowchart showing a file recording procedure in the file access method of the present embodiment.
[Step S11] When a file recording request is transmitted from the virtual file system 202, the file manager 203 instructs the metadata layout manager 207 to secure an area for recording management information of a newly generated file. Put out. The metadata layout manager 207 secures a new metadata area on the managed balanced tree and generates entry information.

[ステップS12] ファイルマネージャー203は、ユーザデータを記録するための領域を確保するため、ユーザデータレイアウトマネージャー204に指示を出す。ユーザデータレイアウトマネージャー204は、記録要求がされたファイルの実データのサイズに基づき、管理するファイルシステム上の空き領域を確保し、位置とサイズを決定する。   [Step S12] The file manager 203 issues an instruction to the user data layout manager 204 in order to secure an area for recording user data. The user data layout manager 204 secures a free area on the file system to be managed based on the actual data size of the file requested to be recorded, and determines the position and size.

[ステップS13] 続いて、ファイルマネージャー203は、メタデータファイル名やサイズや属性情報、ユーザデータを記録するファイルシステム上の記録位置を紐付けしてメタデータ群としてリンクリスト形式でまとめたメタデータ本体を生成する。さらに、まとめたメタデータ群の書き込みに関するジャーナルログを生成する。   [Step S13] Subsequently, the file manager 203 associates the metadata file name, size, attribute information, and recording position on the file system for recording user data, and collects the metadata as a metadata group in a linked list format. Generate the body. Further, a journal log related to writing of the collected metadata group is generated.

[ステップS14] ファイルマネージャー203は、ステップS11でメタデータレイアウトマネージャー207によって生成されたエントリ情報を、不揮発性メモリI/Oドライバ208に送り、メタデータの書き込み指示を行う。   [Step S14] The file manager 203 sends the entry information generated by the metadata layout manager 207 in step S11 to the nonvolatile memory I / O driver 208, and instructs to write metadata.

[ステップS15] 不揮発性メモリI/Oドライバ208は、メタデータのエントリ情報を受け取り、不揮発性メモリ130上に書き込む位置情報に変換する。また、ステップS13でファイルマネージャー203によって生成されたメタデータ本体を受け取り、不揮発性メモリI/Fドライバ209への書き込みサイズとタイミングを制御する。不揮発性メモリI/Fドライバ209は、メタデータの位置とサイズ、メタデータ本体を受け取ると、不揮発性メモリI/F106のフォーマットに応じた形式に再形成し、不揮発性メモリコントローラ103経由で不揮発性メモリ130へ書き込む。書き込み完了後、割り込みがファイルマネージャー203へ通知される。   [Step S15] The nonvolatile memory I / O driver 208 receives the metadata entry information and converts it into position information to be written on the nonvolatile memory 130. In step S13, the metadata body generated by the file manager 203 is received, and the write size and timing to the nonvolatile memory I / F driver 209 are controlled. When the nonvolatile memory I / F driver 209 receives the metadata position and size, and the metadata body, the nonvolatile memory I / F driver 209 re-forms the metadata into a format corresponding to the format of the nonvolatile memory I / F 106, and the nonvolatile memory I / F driver 209 performs nonvolatile processing via the nonvolatile memory controller 103. Write to memory 130. After the writing is completed, an interrupt is notified to the file manager 203.

[ステップS16] メタデータの書き込み完了が通知されると、ファイルマネージャー203は、ステップS12で確保されたユーザデータを記録するファイルシステム上の位置情報がブロックデバイスI/Oドライバ205へ通知し、ユーザデータの書き込み指示を行う。   [Step S16] When the completion of the metadata writing is notified, the file manager 203 notifies the block device I / O driver 205 of the location information on the file system for recording the user data secured in step S12, and the user Instructs to write data.

[ステップS17] ブロックデバイスI/Oドライバ205は、ユーザデータを記録するファイルシステム上の位置情報を受け取り、HDD140上の記録位置情報に変換する。また、メインメモリ102上にあるユーザデータ本体を受け取り、HDDI/Fドライバ206への書き込みサイズとタイミングを制御する。ユーザデータの位置とサイズ、本体を受け取ったHDDI/Fドライバ206は、HDDI/F107のフォーマットに応じた形式に再形成し、HDDコントローラ104経由でHDDへ書き込む。HDDへの書き込みが完了したら、その完了割り込みがHDDI/Fドライバ206からファイルマネージャー203に通知される。   [Step S <b> 17] The block device I / O driver 205 receives position information on a file system for recording user data, and converts it into recording position information on the HDD 140. Also, the main body of user data on the main memory 102 is received, and the write size and timing to the HDD I / F driver 206 are controlled. The HDD I / F driver 206 that has received the position and size of the user data and the main body re-forms it into a format corresponding to the format of the HDD I / F 107 and writes it into the HDD via the HDD controller 104. When writing to the HDD is completed, the completion interrupt is notified from the HDD I / F driver 206 to the file manager 203.

[ステップS18] メタデータ及びユーザデータの書き込み完了割り込み通知を受けたファイルマネージャー203は、生成したジャーナルログを不揮発性メモリ130上にマップされているファイルシステムのログ領域へ書き込む。書き込み方法は、メタデータと同様である。また、合わせてファイルマネージャーは仮想ファイルシステム経由で、ユーザアプリケーションへファイルの書き込み完了を通知する。   [Step S18] Upon receiving the metadata and user data write completion interrupt notification, the file manager 203 writes the generated journal log into the log area of the file system mapped on the nonvolatile memory 130. The writing method is the same as that for metadata. In addition, the file manager notifies the user application of the completion of writing the file via the virtual file system.

以上の処理手順が実行されることにより、AVストリームのユーザデータは、HDD140に記録され、その管理情報は、不揮発性メモリ130に記録される。
(3)ファイルの再生
ファイルの再生は、アプリケーション201が仮想ファイルシステム202に再生要求を行うと起動される。
By executing the above processing procedure, the user data of the AV stream is recorded in the HDD 140, and the management information is recorded in the nonvolatile memory 130.
(3) File Playback File playback is started when the application 201 makes a playback request to the virtual file system 202.

図5は、本実施の形態のファイルアクセス方法におけるファイルの再生の手順を示したフローチャートである。
[ステップS21] 仮想ファイルシステム202からファイルの再生要求が伝達されると、ファイルマネージャー203は、ファイル名に紐付いているメタデータ群をメインメモリ102上に一部展開されている管理情報の平衡木上から検索する。
FIG. 5 is a flowchart showing a file reproduction procedure in the file access method of the present embodiment.
[Step S <b> 21] When a file playback request is transmitted from the virtual file system 202, the file manager 203 places the metadata group associated with the file name on the balance tree of management information partially expanded on the main memory 102. Search from.

[ステップS22] ファイルマネージャー203は、該当するメタデータが見つかったら、ファイルのユーザデータサイズ・ファイルシステム上の記録位置情報を抽出し、ブロックデバイスI/Oドライバ205に渡す。これをメタデータ群の最後まで繰り返す。   [Step S22] When the corresponding metadata is found, the file manager 203 extracts the user data size of the file and the recording position information on the file system, and passes them to the block device I / O driver 205. This is repeated until the end of the metadata group.

[ステップS23] ブロックデバイスI/Oドライバ205は、ステップS22で取得したファイルシステム上の記録位置情報をHDD140上の記録位置情報に変換し、ユーザデータサイズとともにHDDI/Fドライバ206へ渡す。HDDI/Fドライバ206は、渡されたサイズと位置情報を元に、HDDコントローラ104経由でHDDからユーザデータを読み出す。読み出したユーザデータは、ブロックデバイスI/Oドライバ205の管理下のメインメモリ102上へ展開する。   [Step S23] The block device I / O driver 205 converts the recording position information on the file system acquired in step S22 into the recording position information on the HDD 140, and passes it to the HDD I / F driver 206 together with the user data size. The HDD I / F driver 206 reads user data from the HDD via the HDD controller 104 based on the passed size and position information. The read user data is expanded on the main memory 102 managed by the block device I / O driver 205.

[ステップS24] ステップS22において、メインメモリ102上に、全てのメタデータ群が展開されているかどうかを判定する。全メタデータが展開されていない場合、ステップS22に戻って、その続きを不揮発性メモリ130上から読み出し、メインメモリ102上へ展開する。   [Step S24] In step S22, it is determined whether or not all the metadata groups are expanded on the main memory 102. If all the metadata is not expanded, the process returns to step S22, and the subsequent data is read from the nonvolatile memory 130 and expanded on the main memory 102.

[ステップS25] 全てのユーザデータの読み出しが完了した場合、HDDI/Fドライバ206からファイルマネージャー203へ、読み出し完了割り込みを発生させる。ファイルマネージャー203は、読み出し完了割り込みを受けたら、仮想ファイルシステム202経由でアプリケーション201へファイルの読み込み完了を通知する。   [Step S25] When reading of all user data is completed, a read completion interrupt is generated from the HDD I / F driver 206 to the file manager 203. When receiving a read completion interrupt, the file manager 203 notifies the application 201 of the completion of file reading via the virtual file system 202.

以上の処理手順が実行されることにより、HDD140に記録されるAVストリームのユーザデータは、不揮発性メモリ130に記録される管理情報に基づき、読み出しが行われる。   By executing the above processing procedure, the user data of the AV stream recorded in the HDD 140 is read based on the management information recorded in the nonvolatile memory 130.

このように、全てのファイル管理情報を不揮発性メモリ130に置くことで、HDD140上のストリームデータへのアクセス時に必ず発生する、メタデータを管理する平衡木の検索は、メインメモリ102と不揮発性メモリ130との間で行われることになり、HDD140とは独立動作となる。したがって、従来システムにて発生していたメタデータ検索のためのHDDヘッドのシーク動作によるレイテンシーが激減し、HDDへユーザデータをアクセスする性能が向上する。   As described above, by placing all the file management information in the nonvolatile memory 130, the search of the balanced tree for managing metadata, which always occurs when accessing the stream data on the HDD 140, is performed by the main memory 102 and the nonvolatile memory 130. The operation is independent of the HDD 140. Therefore, the latency due to the seek operation of the HDD head for metadata search that has occurred in the conventional system is drastically reduced, and the performance of accessing user data to the HDD is improved.

特に、連続データで構成されるユーザデータを特徴とするAVストリームの記録・再生において顕著に効果が発揮される。メタデータの読み出しに要していたシーク動作の時間などが削減されることにより、AVストリームの記録・再生の高速化が可能となり、たとえば、デジタル放送の録画処理などにおいて、同時に録画可能な番組数を増やすことなどが期待できる。   In particular, the present invention is remarkably effective in recording / reproducing AV streams characterized by user data composed of continuous data. Reduction in seek operation time required for reading out metadata makes it possible to speed up recording and playback of AV streams. For example, the number of programs that can be recorded simultaneously in digital broadcast recording processing, etc. We can expect to increase.

ファイルシステムの起動時に必要なファイル管理情報のメインメモリへの展開は、読み出し元が不揮発性メモリとなるので、従来システムにおいてHDDへアクセスしていた際の読み出しレイテンシーが激減し、結果、ファイル管理情報の読み出し性能が向上する。   When the file management information required for starting the file system is expanded to the main memory, the read source is a non-volatile memory, so the read latency when accessing the HDD in the conventional system is drastically reduced. As a result, the file management information Reading performance is improved.

AVストリームの記録・再生について、HDDの記録容量あたりのファイル数がファイルサーバやデータベースサーバと比較して相対的に少ない。つまり、HDDの記録容量あたりのメタデータの数も相対的に少ないといえる。ファイルシステムの起動時に必要なファイル管理情報の読み出すサイズ当たりの読み出しレイテンシーの観点から、本効果は、AVストリームの記録・再生においてより顕著に発揮される。   For AV stream recording / reproduction, the number of files per recording capacity of the HDD is relatively small compared to a file server or a database server. That is, the number of metadata per HDD recording capacity is relatively small. From the viewpoint of read latency per size for reading file management information required when the file system is activated, this effect is more prominent in recording / reproducing AV streams.

また、HDDが故障し、一部の領域へアクセスできなくなった場合、ユーザデータは保証できないが、ファイルシステムの管理情報は守られるため、ファイルシステム上ではメタデータの制御が可能となり、ファイルの破棄などを行うことで、ファイルシステムの稼働性が保持できる。   Also, if the HDD fails and some areas cannot be accessed, the user data cannot be guaranteed, but the file system management information is protected, so the metadata can be controlled on the file system, and the file is discarded. By doing so, the operability of the file system can be maintained.

実施の形態に適用される発明の概念図である。It is a conceptual diagram of the invention applied to embodiment. 本発明の実施の形態のファイルシステムが適用される情報処理装置のハードウェア構成図である。It is a hardware block diagram of the information processing apparatus to which the file system of embodiment of this invention is applied. 本実施の形態のファイルシステムが適用される情報処理装置のソフトウェア構成図である。It is a software block diagram of the information processing apparatus to which the file system of this Embodiment is applied. 本実施の形態のファイルアクセス方法におけるファイルの記録の手順を示したフローチャートである。It is the flowchart which showed the procedure of the recording of the file in the file access method of this Embodiment. 本実施の形態のファイルアクセス方法におけるファイルの再生の手順を示したフローチャートである。It is the flowchart which showed the procedure of the reproduction | regeneration of the file in the file access method of this Embodiment.

符号の説明Explanation of symbols

1a・・・再生制御手段、1b・・・記録制御手段、1c・・・データ記録手段インタフェース、1d・・・データ記録手段、1e・・・管理情報記録手段インタフェース、1f・・・管理情報記録手段、1g・・・初期化手段
DESCRIPTION OF SYMBOLS 1a ... Reproduction control means, 1b ... Recording control means, 1c ... Data recording means interface, 1d ... Data recording means, 1e ... Management information recording means interface, 1f ... Management information recording Means, 1g ... initialization means

Claims (5)

ファイルの実データを管理情報とともに記録手段に記録しておき、前記管理情報に基づいて前記記録手段に記録される前記ファイルの実データに対するアクセス処理を行う情報処理装置において、
所定のファイルの実データを記録するデータ記録手段と、
前記データ記録手段とは別個に設けられ、前記データ記録手段に記録された前記所定のファイルの実データに関する管理情報を記録する管理情報記録手段と、
前記データ記録手段に記録されているファイルの再生要求信号が入力されると、再生要求ファイルに対応する管理情報を前記管理情報記録手段から読み出し、読み出した前記管理情報に基づき、前記データ記録手段に記録される前記再生要求ファイルの実データを読み出す再生制御手段と、
前記データ記録手段にファイルを記録する記録要求信号が入力されると、記録要求ファイルを記録可能な空き領域を前記データ記録手段から検出し、検出された前記空き領域の指示情報と前記記録要求ファイルに関するファイル情報を含む管理情報を生成して前記管理情報記録手段に記録し、前記記録要求ファイルの実データを前記空き領域に記録する記録制御手段と、
を具備することを特徴とする情報処理装置。
In an information processing apparatus that records actual data of a file together with management information in a recording unit, and performs an access process to the actual data of the file recorded in the recording unit based on the management information.
Data recording means for recording actual data of a predetermined file;
Management information recording means that is provided separately from the data recording means and records management information relating to actual data of the predetermined file recorded in the data recording means;
When a reproduction request signal for a file recorded in the data recording unit is input, management information corresponding to the reproduction request file is read from the management information recording unit, and based on the read management information, the data recording unit Reproduction control means for reading out actual data of the reproduction request file to be recorded;
When a recording request signal for recording a file is input to the data recording unit, a free area in which the recording request file can be recorded is detected from the data recording unit, and the detected free area indication information and the recording request file are detected. Management information including file information related to and recorded in the management information recording means, recording control means for recording the actual data of the recording request file in the free space;
An information processing apparatus comprising:
前記データ記録手段は、シーク動作を伴う記録媒体で構成され、前記管理情報記録手段は、シークを伴わずに動作可能で前記データ記録手段よりもレイテンシーが小さい素子で構成されることを特徴とする請求項1記載の情報処理装置。   The data recording means is composed of a recording medium with a seek operation, and the management information recording means is composed of an element that can operate without seeking and has a smaller latency than the data recording means. The information processing apparatus according to claim 1. 前記管理情報記録手段は、不揮発性メモリで構成されることを特徴とする請求項2記載の情報処理装置。   The information processing apparatus according to claim 2, wherein the management information recording unit includes a nonvolatile memory. 前記情報処理装置の起動時、前記管理情報記録手段に記録される前記データ記録手段に記録されるファイルに関する管理情報を読み出し、前記管理情報に基づいてファイルアクセスに関する初期情報を設定する初期化手段、
をさらに具備することを特徴とする請求項1記載の情報処理装置。
Initialization means for reading management information relating to a file recorded in the data recording means recorded in the management information recording means when the information processing apparatus is activated, and setting initial information relating to file access based on the management information;
The information processing apparatus according to claim 1, further comprising:
ファイルの実データを管理情報とともに記録手段に記録しておき、前記管理情報に基づいて前記記録手段に記録される前記ファイルの実データに対するアクセス処理を行う情報処理装置のファイルアクセス方法において、
記録制御手段が、所定のファイルの実データを記録するデータ記録手段にファイルを記録する記録要求信号が入力されると、記録要求ファイルを記録可能な空き領域を前記データ記録手段から検出し、検出された前記空き領域の指示情報と前記記録要求ファイルに関するファイル情報を含む管理情報を生成して前記データ記録手段とは別個に設けられ、前記データ記録手段に記録された前記所定のファイルの実データに関する管理情報を記録する管理情報記録手段に記録し、前記記録要求ファイルの実データを前記空き領域に記録する手順と、
再生制御手段が、前記所定のファイルの実データを記録する前記データ記録手段に記録されているファイルの再生要求信号が入力されると、再生要求ファイルに対応する管理情報を前記管理情報記録手段から読み出し、読み出した前記管理情報に基づき、前記データ記録手段に記録される前記再生要求ファイルの実データを読み出す手順と、
を有することを特徴とする情報処理装置のファイルアクセス方法。
In the file access method of the information processing apparatus for recording the actual data of the file together with the management information in the recording means, and performing the access process to the actual data of the file recorded in the recording means based on the management information,
When the recording request signal for recording the file is input to the data recording means for recording the actual data of the predetermined file, the recording control means detects the free area where the recording request file can be recorded from the data recording means, and detects it. Management data including file information related to the recorded free space instruction information and the recording request file is generated and provided separately from the data recording means, and the actual data of the predetermined file recorded in the data recording means A management information recording means for recording management information related to, and recording the actual data of the recording request file in the empty area;
When the reproduction control signal is input to the reproduction request signal of the file recorded in the data recording means for recording the actual data of the predetermined file, the management information corresponding to the reproduction request file is transmitted from the management information recording means. A procedure for reading out the actual data of the reproduction request file recorded in the data recording means based on the read management information,
A file access method for an information processing apparatus, comprising:
JP2006176558A 2006-06-27 2006-06-27 Information processing device Expired - Fee Related JP4984677B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006176558A JP4984677B2 (en) 2006-06-27 2006-06-27 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006176558A JP4984677B2 (en) 2006-06-27 2006-06-27 Information processing device

Publications (2)

Publication Number Publication Date
JP2008009506A true JP2008009506A (en) 2008-01-17
JP4984677B2 JP4984677B2 (en) 2012-07-25

Family

ID=39067698

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006176558A Expired - Fee Related JP4984677B2 (en) 2006-06-27 2006-06-27 Information processing device

Country Status (1)

Country Link
JP (1) JP4984677B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5301666B2 (en) * 2009-07-02 2013-09-25 三菱電機株式会社 Data recording apparatus and audio system
WO2014119063A1 (en) * 2013-02-04 2014-08-07 株式会社フィックスターズ Information processing device, information processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167781A (en) * 2001-11-30 2003-06-13 Matsushita Electric Ind Co Ltd Magnetic disk device and data readout control method
JP2004334419A (en) * 2003-05-06 2004-11-25 Internatl Business Mach Corp <Ibm> Magnetic disk device, file management system, and its method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003167781A (en) * 2001-11-30 2003-06-13 Matsushita Electric Ind Co Ltd Magnetic disk device and data readout control method
JP2004334419A (en) * 2003-05-06 2004-11-25 Internatl Business Mach Corp <Ibm> Magnetic disk device, file management system, and its method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5301666B2 (en) * 2009-07-02 2013-09-25 三菱電機株式会社 Data recording apparatus and audio system
WO2014119063A1 (en) * 2013-02-04 2014-08-07 株式会社フィックスターズ Information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP4984677B2 (en) 2012-07-25

Similar Documents

Publication Publication Date Title
US8402069B2 (en) Use of delete notifications by file systems and applications to release storage space
US7707337B2 (en) Object-based storage device with low process load and control method thereof
KR20150035560A (en) Optimized context drop for a solid state drive(ssd)
JP4402103B2 (en) Data storage device, data relocation method thereof, and program
JP2006268503A (en) Computer system, disk unit and data update control method
US6697902B1 (en) Data storage device and interface device for the data storage device
US20040268070A1 (en) Method and apparatus for backing up data in virtual storage medium
JP4227931B2 (en) Information storage device, information storage method, and information storage processing program
JP4461089B2 (en) Storage control apparatus and storage control method
KR20060045693A (en) Information processing apparatus and method, program, and program recording medium
JP4984677B2 (en) Information processing device
KR102152724B1 (en) Video managing apparatus and method of surveillance systems
JP2000341635A (en) Recording method for hierarchical buffer memory and hierarchical buffer memory structure and data reproduction method and device therefor and video data edition system and computer readable recording medium and system on chip type integrated device
US8707089B2 (en) Storage control device for formatting to storage media, storage control method for formatting to storage media, and medium for storing storage control program for formatting to storage media
JP2006113882A (en) Data management device
JP2006323462A (en) File-copying device and file-copying method
JP2009181373A (en) Method of storing/reproducing network reception history, and information processor
JP2007281972A (en) Stream data recording/reproducing apparatus and stream data recording apparatus
JP2001290607A (en) Command queuing control method for device driver and computer system
JP2007323377A (en) Recording apparatus, method for writing management data and method for repairing management data
WO2010007727A1 (en) Video recording device, video reproduction device, and method thereof
JP2008158572A (en) Data storage device
JP4480592B2 (en) File system
US8549221B2 (en) RAID management apparatus, RAID management method, and computer product
JP4579998B2 (en) Restore management program, restore management method, and restore management apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090617

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120305

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: 20120403

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: 20120416

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

Free format text: PAYMENT UNTIL: 20150511

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees