JP2005301885A - Access method to data recording medium, information processor, and access program to data storage medium - Google Patents

Access method to data recording medium, information processor, and access program to data storage medium Download PDF

Info

Publication number
JP2005301885A
JP2005301885A JP2004120300A JP2004120300A JP2005301885A JP 2005301885 A JP2005301885 A JP 2005301885A JP 2004120300 A JP2004120300 A JP 2004120300A JP 2004120300 A JP2004120300 A JP 2004120300A JP 2005301885 A JP2005301885 A JP 2005301885A
Authority
JP
Japan
Prior art keywords
data
storage medium
conversion table
physical address
data storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2004120300A
Other languages
Japanese (ja)
Inventor
Toshiaki Shimoda
敏章 下田
Koji Morita
孝司 森田
Hiroshi Hashimoto
裕志 橋本
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.)
Kobe Steel Ltd
Original Assignee
Kobe Steel Ltd
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 Kobe Steel Ltd filed Critical Kobe Steel Ltd
Priority to JP2004120300A priority Critical patent/JP2005301885A/en
Publication of JP2005301885A publication Critical patent/JP2005301885A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To suppress capacity of a conversion table from a logical address to a physical address stored in a main storage area of an information processing means as much as possible. <P>SOLUTION: In accessing each storage position of the unit data based on the translation table information from a logical address d5 corresponding to each unit data stored in a flash memory to a physical address d6 which corresponds to the storage position (block) of the unit data in the storage area of the flash memory, the translation table having a physical address d6" in which a redundant bit and a bit string of default length at lower side are omitted, is stored in the main storage area, the access is carried out to the range of a block expressed with the physical address d" in which a part to be obtained by applying the specified logical address to the translation table is omitted, logical addresses stored in a flash memory corresponding to respective blocks are acquired, and the access is carried out to the block where the acquired above logical address matches the specified logical address. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法,それを具現する情報処理装置及びデータ記憶媒体へのアクセスプログラムに関するものである。   Each storage position of the unit data based on conversion table information from a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium The present invention relates to an access method for accessing a data storage medium, an information processing apparatus embodying the method, and an access program for the data storage medium.

近年,電気的に記憶データの消去・書き込みが可能であり,外部からの電力供給なしにデータ記憶を保持できるフラッシュメモリ等の不揮発性のデータ記憶媒体が,音声の再生・録音装置やビデオカメラ,デジタルカメラ等の各種の機器に搭載され,音声,画像,テキスト等の各種データファイルを記録(書込)及び読み出し(アクセス)可能なものが普及している。
フラッシュメモリのようなデータ記憶媒体では,物理的な各記憶位置におけるデータの書き込み及び消去の繰り返し回数に寿命がある。このため,一部の記憶位置へのデータの書き込み等が集中しないよう,データの更新がなされるごとに,その物理的な記憶位置を順次変更することが行われている。
しかし,機器組み込みのマイクロコンピュータ(以下,マイコンという)により実行されるアプリケーションプログラム等の上位側のプログラムで,都度変化するデータ記憶媒体上での物理的な位置情報である物理アドレスを管理することは煩わしく,処理の負担も大きい。このため,データ記憶媒体に記憶される単位データごとに論理アドレスが割り振られ,さらに,論理アドレスから物理アドレスへの変換テーブル(以下,論理・物理変換テーブルという)が,マイコン等の情報処理手段が備えるRAM等の記憶手段内に確保される主記憶領域に展開される。これにより,アクセス対象となる単位データについて,上位側のプログラムにより論理アドレスを指定することにより,OS(オペレーションシステム)等の下位側のプログラム等によってその論理アドレスが前記論理・物理変換テーブルに適用され,これによって得られる物理アドレスに記憶されているデータにアクセス可能となる。
近年,各種機器においてフラッシュメモリ等のデータ記憶媒体の大容量化が進み,情報処理手段の主記憶領域に展開される前記論理・物理変換テーブルのデータサイズが増大化する傾向にある。
その一方で,機器の省電力化,小型化,低コスト化の要求により,マイコン等の情報処理手段の主記憶領域の効率的な使用が求められている。
従来,前記論理・物理変換テーブルによる主記憶領域の消費容量を抑制するため,例えば,特許文献1には,前記論理・物理変換テーブルをデータ記憶媒体に記憶させる技術が示されている。
特開2000−47932号公報
In recent years, non-volatile data storage media such as flash memory, which can electrically erase and write stored data and retain data storage without external power supply, have been used for audio playback / recording devices, video cameras, A device that is mounted on various devices such as a digital camera and can record (write) and read (access) various data files such as voice, image, and text has become widespread.
In a data storage medium such as a flash memory, the number of repetitions of data writing and erasing at each physical storage position has a lifetime. For this reason, every time the data is updated, the physical storage position is sequentially changed so that the writing of data to a part of the storage positions is not concentrated.
However, it is not possible to manage physical addresses, which are physical location information on a data storage medium that changes from time to time, using a higher-level program such as an application program executed by a built-in microcomputer (hereinafter referred to as a microcomputer). It is cumbersome and the processing burden is heavy. For this reason, a logical address is assigned to each unit data stored in the data storage medium, and a conversion table from logical address to physical address (hereinafter referred to as logical / physical conversion table) The data is expanded in a main storage area secured in a storage means such as a RAM. As a result, by specifying a logical address for the unit data to be accessed by a higher-order program, the logical address is applied to the logical / physical conversion table by a lower-order program such as an OS (operation system). This makes it possible to access data stored at the physical address obtained.
In recent years, the capacity of data storage media such as flash memories has increased in various devices, and the data size of the logical / physical conversion table developed in the main storage area of the information processing means tends to increase.
On the other hand, efficient use of the main storage area of information processing means such as a microcomputer is required due to demands for power saving, downsizing, and cost reduction of devices.
Conventionally, for example, Patent Document 1 discloses a technique for storing the logical / physical conversion table in a data storage medium in order to suppress the consumption capacity of the main storage area by the logical / physical conversion table.
JP 2000-47932 A

しかしながら,特許文献1に示される技術では,前記論理・物理変換テーブルが比較的アクセス速度の遅いフラッシュメモリ等のデータ記憶媒体自体に記憶されるため,データ記憶媒体の記憶領域を消費することに加え,データアクセス速度が遅くなるという問題点があった。
従って,本発明は上記事情に鑑みてなされたものであり,その目的とするところは,情報処理手段の主記憶領域に記憶される論理アドレスから物理アドレスへの変換テーブルの容量を極力抑えるデータ記憶媒体へのアクセス方法,それを具現する情報処理装置及びデータ記憶媒体へのアクセスプログラムを提供することにある。
However, in the technique disclosed in Patent Document 1, since the logical / physical conversion table is stored in a data storage medium itself such as a flash memory having a relatively low access speed, the storage area of the data storage medium is consumed. There was a problem that the data access speed was slow.
Accordingly, the present invention has been made in view of the above circumstances, and an object of the present invention is to provide a data storage that minimizes the capacity of a conversion table from a logical address to a physical address stored in the main storage area of the information processing means. An object is to provide a method for accessing a medium, an information processing apparatus embodying the method, and a program for accessing a data storage medium.

上記目的を達成するために第1の発明は,情報処理手段により,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法において,圧縮された又は一部が省略された前記物理アドレスを有する前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させる圧縮変換テーブル記録工程と,指定された前記論理アドレスを前記変換テーブル情報に適用して得られる圧縮された又は一部が省略された前記物理アドレスに基づいて前記データ記憶媒体の前記単位データの記憶位置にアクセスする第1のアクセス工程と,を有してなることを特徴とするデータ記憶媒体へのアクセス方法として構成されるものである。
これにより,マイコン等の情報処理手段の主記憶領域に展開される前記変換テーブル(前記論理・物理変換テーブルに相当)の容量を抑えることができる。また,主記憶領域に前記変換テーブルが展開されるので,前記変換テーブルの参照にあたり,前記データ記憶媒体のアクセス速度の制約を受けることがない。
In order to achieve the above object, according to a first aspect of the present invention, the information processing means corresponds to the storage location of the unit data in the storage area of the data storage medium from the logical address corresponding to each unit data stored in the data storage medium. In the access method to the data storage medium for accessing each storage location of the unit data based on the conversion table information to the physical address to be converted, the conversion table information having the physical address compressed or partially omitted Based on the compressed or partly omitted physical address obtained by applying the specified logical address to the conversion table information, and the compression conversion table recording step to be stored in the main storage area of the information processing means And a first access step for accessing a storage location of the unit data on the data storage medium. Be Te is constituted as a method of accessing a data storage medium characterized.
Thereby, the capacity of the conversion table (corresponding to the logical / physical conversion table) developed in the main storage area of the information processing means such as a microcomputer can be suppressed. Further, since the conversion table is expanded in the main storage area, the access speed of the data storage medium is not restricted when referring to the conversion table.

より具体的には,例えば,前記圧縮変換テーブル記録工程が,前記物理アドレス各々における冗長ビットが省略された前記物理アドレスを有する前記変換テーブル情報を前記主記憶領域に記憶させるものであり,前記第1のアクセス工程が,前記冗長ビットが省略された前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスするものが考えられる。
これにより,前記冗長ビットの分だけ,前記主記憶領域に展開される前記変換テーブルの容量が抑えられる。
また,前記圧縮変換テーブル記録工程が,前記物理アドレス各々における最下位側から既定長さ分のビット列が省略された前記物理アドレスを有する前記変換テーブル情報を前記主記憶領域に記憶させるものであり,前記第1のアクセス工程が,前記ビット列が省略された前記物理アドレスで表される前記データ記憶媒体の記憶位置の範囲にアクセスすることにより,前記データ記憶媒体に前記単位データの記憶位置各々に対応して記憶されている前記論理アドレスを取得し,これと前記指定された論理アドレスとが一致する前記単位データの記憶位置にアクセスするものが考えられる。
これにより,省略したビット列の分だけ前記主記憶領域に展開される前記変換テーブルの容量が抑えられる。但し,この場合,下位ビット列が省略された前記物理アドレスは,連続する複数の記憶位置の範囲を指し示すことになり,その範囲の中から指定された前記論理アドレスに対応する位置を検索する必要があるため,その分だけアクセス速度が犠牲になる。これは,前記主記憶領域の消費容量の抑制をより優先させる場合に有効である。
もちろん,前記冗長ビットの省略も同時に行えばより効果的であることは言うまでもない。
この他,例えば,前記圧縮変換テーブル記録工程が,1又は複数の前記物理アドレスの集合ごとにロスレス圧縮方式により圧縮し,該圧縮により得られた複数の圧縮後物理アドレス集合を有する前記変換テーブルを前記主記憶領域に記憶させるものであり,前記第1のアクセス工程が,指定された前記論理アドレスに対応する1つの前記圧縮後物理アドレス集合を伸張し,該伸張により得られる圧縮前の前記物理アドレスの1つに対応する前記データ記憶媒体の記憶位置にアクセスするものも考えられる。
これにより,完全なデータ復元が可能な前記ロスレス圧縮方式で圧縮された分だけ,前記主記憶領域に展開される前記変換テーブルの容量が抑えられる。また,データ伸張の際には,複数の前記圧縮後物理アドレスデータ集合のうちの1つだけが伸張されるので,データ伸張の際の前記主記憶領域の消費増分も最小限に抑えられる。
More specifically, for example, the compression conversion table recording step stores the conversion table information having the physical address in which redundant bits in each physical address are omitted in the main storage area. One access step may access the storage location of the data storage medium corresponding to the physical address from which the redundant bit is omitted.
As a result, the capacity of the conversion table developed in the main storage area is reduced by the redundant bits.
The compression conversion table recording step stores the conversion table information having the physical address in which a bit string of a predetermined length is omitted from the lowest side in each of the physical addresses in the main storage area, The first access step corresponds to each storage position of the unit data in the data storage medium by accessing a range of storage positions of the data storage medium represented by the physical address in which the bit string is omitted. It is conceivable that the stored logical address is acquired and the unit data storage location where the specified logical address matches is accessed.
As a result, the capacity of the conversion table developed in the main storage area can be suppressed by the omitted bit string. However, in this case, the physical address from which the lower bit string is omitted points to a range of a plurality of consecutive storage positions, and it is necessary to search for a position corresponding to the specified logical address from the range. Therefore, the access speed is sacrificed accordingly. This is effective when priority is given to the suppression of the consumption capacity of the main storage area.
Of course, it goes without saying that it is more effective to omit the redundant bits at the same time.
In addition, for example, in the compression conversion table recording step, the conversion table having a plurality of post-compression physical address sets obtained by the compression by a lossless compression method for each set of one or a plurality of the physical addresses is obtained. And storing in the main storage area, wherein the first access step expands one post-compression physical address set corresponding to the designated logical address, and the physical before compression obtained by the expansion. An access to the storage location of the data storage medium corresponding to one of the addresses is also conceivable.
As a result, the capacity of the conversion table developed in the main storage area can be reduced by the amount compressed by the lossless compression method capable of complete data restoration. In addition, since only one of the plurality of post-compression physical address data sets is expanded at the time of data expansion, an increase in consumption of the main storage area at the time of data expansion can be minimized.

また,第2の発明は,情報処理手段により,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法において,アクセスの対象として指定されたデータファイルに含まれる前記単位データの前記論理アドレスについてのみ前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させるファイル単位変換テーブル記録工程と,前記データファイルに含まれる前記単位データ各々の前記論理アドレスを前記変換テーブル情報に適用して得られる前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第2のアクセス工程と,を有してなることを特徴とするデータ記憶媒体へのアクセス方法として構成されるものである。
これにより,指定されたデータファイルへのアクセスに必要な最小限の前記変換テーブルが前記主記憶領域に展開されるだけなので,前記主記憶領域の消費容量を抑えることができる。
In the second invention, the information processing means converts a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium. In the method of accessing a data storage medium for accessing each storage location of the unit data based on the conversion table information, the conversion table information only for the logical address of the unit data included in the data file designated as an access target Corresponding to the physical address obtained by applying the logical address of each of the unit data included in the data file to the conversion table information. Accessing the storage location of the data storage medium And second access step, is constituted as a method of accessing a data storage medium characterized by comprising a.
As a result, since the minimum conversion table necessary for accessing the designated data file is only expanded in the main storage area, the consumption capacity of the main storage area can be suppressed.

また,本発明は,前記第1及び第2のデータ記憶媒体へのアクセスアクセス方法における各工程を実行する手段を具備する情報処理装置として捉えたもの,或いは,同各工程に相当する処理をコンピュータに実行させるためのデータ記憶媒体へのアクセスプログラムとして捉えたものであってもよい。   Further, the present invention relates to an information processing apparatus provided with means for executing each step in the method for accessing and accessing the first and second data storage media, or processing corresponding to each step is performed by a computer. It may be understood as an access program to a data storage medium to be executed.

前記第1の発明によれば,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするにあたり,圧縮された又は一部が省略された前記物理アドレスを有する前記変換テーブル情報を主記憶領域に記憶させ,指定された前記論理アドレスを前記変換テーブル情報に適用して得られる圧縮された又は一部が省略された前記物理アドレスに基づいて前記データ記憶媒体の前記単位データの記憶位置にアクセスするので,前記主記憶領域に展開される前記変換テーブルの容量を抑えることができる。
また,前記第2の発明によれば,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするにあたり,アクセスの対象として指定されたデータファイルに含まれる前記単位データの前記論理アドレスについてのみ前記変換テーブル情報を主記憶領域に記憶させ,前記データファイルに含まれる前記単位データ各々の前記論理アドレスを前記変換テーブル情報に適用して得られる前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスするので,指定されたデータファイルへのアクセスに必要な最小限の前記変換テーブルが前記主記憶領域に展開されるだけなので,前記主記憶領域の消費容量を抑えることができる。
According to the first aspect, the conversion table information from the logical address corresponding to each unit data stored in the data storage medium to the physical address corresponding to the storage position of the unit data in the storage area of the data storage medium When accessing each storage position of the unit data based on the above, the conversion table information having the physical address compressed or partially omitted is stored in the main storage area, and the specified logical address is converted into the conversion address. Since the storage location of the unit data of the data storage medium is accessed based on the compressed or partially omitted physical address obtained by applying to the table information, the conversion expanded in the main storage area The capacity of the table can be reduced.
According to the second invention, the conversion table from the logical address corresponding to each unit data stored in the data storage medium to the physical address corresponding to the storage position of the unit data in the storage area of the data storage medium In accessing each storage location of the unit data based on the information, the conversion table information is stored in the main storage area only for the logical address of the unit data included in the data file designated as an access target, Access to the storage location of the data storage medium corresponding to the physical address obtained by applying the logical address of each of the unit data included in the data file to the conversion table information. The minimum conversion table required for data is displayed in the main storage area. Since only the consumption can be suppressed capacity of the main storage area.

以下添付図面を参照しながら,本発明の実施の形態について説明し,本発明の理解に供する。尚,以下の実施の形態は,本発明を具体化した一例であって,本発明の技術的範囲を限定する性格のものではない。
ここに,図1は本発明の実施形態に係る情報処理総理の一例である録音・再生装置Xの概略構成を表すブロック図,図2は録音・再生装置Xにおけるファイルシステムの処理階層を表す図,図3録音・再生装置Xがアクセスするフラッシュメモリの記憶領域におけるデータ構造の一例を模式的に表した図,図4は論理アドレスと物理アドレスとの対応関係を説明するための図,図5は従来の情報処理装置において作成される論理・物理変換テーブルの一例を表す模式図,図6は従来の場合と本発明の第1実施形態に係る場合との論理・物理変換テーブルの一例を表す模式図,図7は本発明の第2実施形態における論理・物理変換テーブルの一例を表す模式図である。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings so that the present invention can be understood. The following embodiment is an example embodying the present invention, and does not limit the technical scope of the present invention.
FIG. 1 is a block diagram showing a schematic configuration of a recording / playback apparatus X as an example of the information processing prime minister according to the embodiment of the present invention. FIG. 2 is a diagram showing a processing hierarchy of a file system in the recording / playback apparatus X. FIG. 3 is a diagram schematically showing an example of the data structure in the storage area of the flash memory accessed by the recording / reproducing apparatus X. FIG. 4 is a diagram for explaining the correspondence between logical addresses and physical addresses. Is a schematic diagram showing an example of a logical / physical conversion table created in a conventional information processing apparatus, and FIG. 6 shows an example of a logical / physical conversion table between the conventional case and the case according to the first embodiment of the present invention. FIG. 7 is a schematic diagram showing an example of a logical / physical conversion table in the second embodiment of the present invention.

まず,図1のブロック図を用いて,本発明の実施形態に係る情報処理装置の一例である録音・再生装置Xの構成について説明する。
録音・再生装置Xは,音声をマイク入力し,これをデジタル音声データとしてデータ記憶媒体に記憶させる録音機能と,データ記憶媒体に記憶されたデジタル音声データやデジタル画像データ(静止画),デジタル映像データ(動画)再生する再生機能とを備えた装置である。
図1に示すように,録音・再生装置Xは,音声デジタル信号の各種処理を行うDSP(Digital Signal Processor)102と,マイク103と,該マイク103から入力される音声信号をデジタル信号へ変換するA/D変換器104と,スピーカ105と,音声デジタル信号をアナログの音声信号に変換するD/A変換器106と,表示部108を制御する表示ドライバ部107と,液晶パネル等からなる前記表示部108と,当該録音・再生装置Xが備える各機器の制御を行うマイコン109(マイクロコンピュータ)と,操作ボタン等からなる操作部110と,メモリ着脱インターフェース120とを具備している。
前記メモリ着脱インターフェース120は,デジタルデータの記憶媒体であるフラッシュメモリ1を当該録音・再生装置Xに着脱するためのインターフェースである。前記フラッシュメモリ1としては,例えば,スマートメディアTM(株式会社東芝の登録商標)やコンパクトフラッシュ(サンディスク株式会社の登録商標)等のメモリ素子が用いられる。前記フラッシュメモリ1は,その信号端子が,前記メモリ着脱インターフェース120を介して前記マイコン109の外部ピンに接続され,前記マイコン109により前記フラッシュメモリ1へのデータの読み書き(アクセス)が行われる。
前記マイコン109は,不図示の演算手段であるプロセッサに加え,該プロセッサにより実行されるプログラムが格納されるROM111と,前記プログラムがその実行の際に展開され,さらにそのプログラム実行の際に必要となる各種データが一時記憶される主記憶領域を提供するRAM112とを備えている。
First, the configuration of a recording / reproducing apparatus X, which is an example of an information processing apparatus according to an embodiment of the present invention, will be described using the block diagram of FIG.
The recording / playback device X inputs sound into a microphone and stores it in a data storage medium as digital sound data, and also includes digital sound data, digital image data (still image), digital video stored in the data storage medium It is an apparatus having a playback function for playing back data (moving images).
As shown in FIG. 1, the recording / playback apparatus X converts a digital signal processor (DSP) 102 that performs various types of processing of an audio digital signal, a microphone 103, and an audio signal input from the microphone 103 into a digital signal. The display comprising the A / D converter 104, the speaker 105, the D / A converter 106 for converting the audio digital signal into an analog audio signal, the display driver unit 107 for controlling the display unit 108, and the liquid crystal panel. A control unit 108, a microcomputer 109 (microcomputer) that controls each device included in the recording / playback apparatus X, an operation unit 110 including operation buttons, and a memory attachment / detachment interface 120.
The memory attachment / detachment interface 120 is an interface for attaching / detaching the flash memory 1 which is a digital data storage medium to / from the recording / reproducing apparatus X. As the flash memory 1, for example, a memory element such as SmartMedia (registered trademark of Toshiba Corporation) or compact flash (registered trademark of SanDisk Corporation) is used. The flash memory 1 has a signal terminal connected to an external pin of the microcomputer 109 via the memory attachment / detachment interface 120, and data read / write (access) to the flash memory 1 is performed by the microcomputer 109.
The microcomputer 109 includes, in addition to a processor (not shown), a ROM 111 that stores a program executed by the processor, and the program is expanded when the program is executed, and is required when the program is executed. And a RAM 112 that provides a main storage area in which various data are temporarily stored.

前記操作部110から録音処理の実行が指定された場合には,前記マイク103により集音されたアナログ音声信号が,前記A/D変換器104によりデジタル信号に変換され,さらに,前記DSP102により,各種符号化処理によってPCMやADPCM,或いはMP3といった予め定めれた形式の音声デジタルデータに変換され,前記マイコン109により前記フラッシュメモリ1に格納(記録)される。
一方,前記操作部110から音声再生処理の実行が指定された場合には,指定されたデジタル音声データのデータファイルが前記マイコン109により前記フラッシュメモリ1から読み出され,これが前記DSP102による復号化処理によってデジタルの時系列音声データに変換され,さらに,前記D/A変換器106によってアナログ音声信号に変換されて前記スピーカ105から音声出力される。
また,前記操作部110から,静止画,動画或いはテキスト(文字列)の再生処理の実行が指定された場合には,指定されたデジタル画像(或いは映像,テキスト)データが,前記マイコン109により前記フラッシュメモリ1から読み出され,その画像(或いは映像,テキスト)を前記表示ドライバ107を介して前記表示部108に表示させる。
図1に示す録音・再生装置Xの構成は,本発明の実施形態に係る情報処理装置のごく一例である。
When execution of a recording process is designated from the operation unit 110, the analog audio signal collected by the microphone 103 is converted into a digital signal by the A / D converter 104, and further, the DSP 102 It is converted into audio digital data of a predetermined format such as PCM, ADPCM, or MP3 by various encoding processes, and stored (recorded) in the flash memory 1 by the microcomputer 109.
On the other hand, when execution of audio reproduction processing is designated from the operation unit 110, a data file of designated digital audio data is read from the flash memory 1 by the microcomputer 109, and this is decoded by the DSP 102. Is converted into digital time-series audio data, further converted into an analog audio signal by the D / A converter 106 and output from the speaker 105 as audio.
In addition, when execution of a still image, moving image, or text (character string) playback process is designated from the operation unit 110, designated digital image (or video, text) data is sent from the microcomputer 109 to the microcomputer 109. The image (or video, text) is read from the flash memory 1 and displayed on the display unit 108 via the display driver 107.
The configuration of the recording / playback apparatus X shown in FIG. 1 is just an example of the information processing apparatus according to the embodiment of the present invention.

図2は,前記マイコン109における,前記フラッシュメモリ1に記憶されたデータファイル(デジタル音声データ,デジタル画像データ,デジタル映像データ,テキストデータ等)にアクセスするファイルシステムの処理階層を表すものである。
図2に示すように,前記マイコン109により実行される前記フラッシュメモリ1に対するデータアクセスのファイルシステム(データアクセスに関するプログラム)は,階層構造を有しており,最下層から,フラッシュメモリアクセス層P1,物理アドレス管理層P2,論理アドレス管理層P3,ファイル管理処理層P4及びアプリケーション処理層P5を有している。
前記フラッシュメモリアクセス層P1は,前記フラッシュメモリ1へのアクセスに関する物理的な規格,プロトコルに対応する処理を行う層である。
前記物理アドレス管理層P2は,前記フラッシュメモリ1(データ記憶媒体)の記憶領域に記憶される単位データ各々の記憶位置に対応する物理アドレスの管理に関する各種処理を行う層である。
前記論理アドレス管理層P3は,前記フラッシュメモリ1(データ記憶媒体)の記憶領域に記憶される単位データ各々の識別情報である論理アドレスの管理に関する各種処理を行う層である。
前記ファイル管理処理層P4は,複数の前記単位データからなるデータファイルと,該データファイルに含まれる前記単位データ各々の前記論理アドレスとの対応関係の管理等,前記データファイルの管理に関する各種処理を行う層であり,いわゆるFAT(File Allocation Table)と呼ばれるファイルシステムに相当する部分である。
前記アプリケーション処理層P5は,他のアプリケーションプログラムとのインターフェースに関する処理を行う層である。
各種アプリケーションプログラムは,前記アプリケーション処理層P5に対し,前記フラッシュメモリ1へのアクセス処理に関するデータやコマンドを授受することにより,前記フラッシュメモリ1に対するアクセス処理を,前記フラッシュメモリ1に関する詳細な仕様(必要な詳細な処理)を意識することなく実行できる。
FIG. 2 shows a processing hierarchy of a file system for accessing a data file (digital audio data, digital image data, digital video data, text data, etc.) stored in the flash memory 1 in the microcomputer 109.
As shown in FIG. 2, the file system (data access program) for data access to the flash memory 1 executed by the microcomputer 109 has a hierarchical structure, and the flash memory access layers P1, It has a physical address management layer P2, a logical address management layer P3, a file management processing layer P4, and an application processing layer P5.
The flash memory access layer P1 is a layer that performs processing corresponding to a physical standard and protocol related to access to the flash memory 1.
The physical address management layer P2 is a layer that performs various processes related to management of physical addresses corresponding to the storage positions of each unit data stored in the storage area of the flash memory 1 (data storage medium).
The logical address management layer P3 is a layer that performs various processes related to management of logical addresses that are identification information of unit data stored in the storage area of the flash memory 1 (data storage medium).
The file management processing layer P4 performs various processes related to the management of the data file, such as the management of the correspondence between the data file composed of the plurality of unit data and the logical address of each of the unit data included in the data file. This is a layer to be performed and corresponds to a so-called FAT (File Allocation Table) file system.
The application processing layer P5 is a layer that performs processing related to an interface with another application program.
The various application programs send and receive data and commands related to the access processing to the flash memory 1 to the application processing layer P5, thereby controlling the access processing to the flash memory 1 with detailed specifications (necessary for the flash memory 1). Can be executed without being aware of detailed processing.

図3は,録音・再生装置Xがアクセスする前記フラッシュメモリ1の記憶領域におけるデータ構造の一例を模式的に表したものである。
図3に示す例は,前記フラッシュメモリ1が,32MByteの前記スマートメディア(株式会社東芝の登録商標)である場合の例である。この場合,前記フラッシュメモリ1の記憶領域は,ブロックd1呼ばれる単位記憶領域ごとに区分され,このブロックd1が基本アクセス単位となる。すべてのブロックd1には,その物理的な配置順に従って0〜1023までの前記物理アドレスが割り振られている。また,前記物理アドレスが1023を超える記憶領域を有する場合は,前記ブロックd1の集合(物理アドレス0〜1023)をさらに識別するゾーン番号(図中,ZONE 0,ZONE 1と表している)が割り振られる。このように,複数のゾーンが存在する場合,前記ゾーン番号と前記物理アドレスとを合わせた情報が,実質的な物理アドレスを表すこととなる。
前記ブロックd1各々は,32個のページd2により構成され,該ページd2各々は,前記マイコン109によりデータの書き込み及び消去がなされるデータ領域d3(512Byte分)とそれ以外の冗長領域d4(16Byte分)とにより構成される。前記フラッシュメモリ1の容量によっては,前記ページd2が16個,前記データ領域d3の容量が256Byteのものもある。
前記冗長領域d4には,そのブロックd1のステータス情報(不図示)の他,当該ページd2が属する前記ブロックd1の前記データ領域d3各々に記憶されるデータ(前記単位データ)に対応する論理アドレスd5(2Byte分)が格納される。ここで,前記冗長領域d4は前記ページd2ごとに存在するが,1つの前記ブロックd1に属する全ての前記ページd2(PAGE 0〜PAGE 31)の前記冗長領域d4各々には,同じ論理アドレスd5が格納される。
FIG. 3 schematically shows an example of the data structure in the storage area of the flash memory 1 accessed by the recording / reproducing apparatus X.
The example shown in FIG. 3 is an example in which the flash memory 1 is the 32 MByte smart media (registered trademark of Toshiba Corporation). In this case, the storage area of the flash memory 1 is divided into unit storage areas called blocks d1, and this block d1 becomes a basic access unit. The physical addresses from 0 to 1023 are allocated to all the blocks d1 according to the physical arrangement order. Further, when the physical address has a storage area exceeding 1023, zone numbers (represented as ZONE 0 and ZONE 1 in the figure) for further identifying the set of the blocks d1 (physical addresses 0 to 1023) are allocated. It is. Thus, when there are a plurality of zones, the information obtained by combining the zone number and the physical address represents a substantial physical address.
Each of the blocks d1 includes 32 pages d2. Each page d2 includes a data area d3 (512 bytes) in which data is written and erased by the microcomputer 109 and a redundant area d4 (16 bytes). ). Depending on the capacity of the flash memory 1, there are 16 pages d2 and 256 bytes of data area d3.
In the redundant area d4, in addition to status information (not shown) of the block d1, a logical address d5 corresponding to data (unit data) stored in each of the data areas d3 of the block d1 to which the page d2 belongs is stored. (2 bytes) is stored. Here, although the redundant area d4 exists for each page d2, the same logical address d5 is assigned to each redundant area d4 of all the pages d2 (PAGE 0 to PAGE 31) belonging to one block d1. Stored.

前述したように,前記フラッシュメモリ1のようなデータ記憶媒体では,物理的な各記憶位置である前記ブロックd1各々におけるデータの書き込み及び消去の繰り返し回数に寿命があるため,一部の前記ブロックd1へのアクセスが集中しないよう,データ更新ごとに,そのデータを格納する前記ブロックd1を変更することが行われる。
図4は,前記論理アドレスと前記物理アドレスとの対応関係を説明する図である。ここで,図4(a)は,前記フラッシュメモリ1のある記憶領域におけるデータ更新前の状態,図4(b)は,同じ記憶領域におけるデータ更新後の状態を表す。また,図中,「使用ブロック」と示す部分は,アクセスされ得る有効なデータが格納されている前記ブロックd1を表し,「未使用ブロック」と示す部分は,アクセスされ得る有効なデータが格納されていない前記ブロックd1を表す。
例えば,前記フラッシュメモリ1のある記憶領域において,前記ブロックd1各々の物理アドレスd6と,その物理アドレスd6に対応する前記ブロックd1に格納されるデータの前記論理アドレスd5とが,図4(a)に示す対応関係にあるとする。この状態で,前記物理アドレスd5が「105」のブロックに格納されているデータ(前記論理アドレスd5が「102」のデータ)が更新(消去を含む)されると,更新後のデータは,元のブロックと異なる未使用のブロック(前記物理アドレスd5が「107」)に格納される。その際,更新後のデータが格納されるブロックの前記物理アドレスd6「107」に対応する前記論理アドレスd5が,そのデータの論理アドレスd5である「102」に更新される。さらに,更新前のデータがそのまま格納されている前記物理アドレスd6が「105」であるブロックは,未使用ブロックとなり,そのブロックに対応する前記論理アドレスd5が,元の「102」から,更新後のデータが格納されたブロックに元々設定されていた「104」に更新される。即ち,前記論理アドレスd5が入れ替えられる。
このようなブロックのスワップ処理により,一部の前記ブロックd1へのアクセスが集中しないよう,各ブロックのデータ記録・更新頻度の平準化が図られる。これにより,書き換え回数に制限があるフラッシュメモリ1の寿命を延ばすことができる。
As described above, in the data storage medium such as the flash memory 1, since the number of repetitions of data writing and erasing in each block d1 which is each physical storage position has a lifetime, some of the blocks d1 Each time the data is updated, the block d1 for storing the data is changed so that access to the data is not concentrated.
FIG. 4 is a diagram for explaining the correspondence between the logical address and the physical address. Here, FIG. 4A shows a state before data update in a certain storage area of the flash memory 1, and FIG. 4B shows a state after data update in the same storage area. Further, in the figure, the portion indicated as “used block” represents the block d1 in which valid data that can be accessed is stored, and the portion indicated as “unused block” stores valid data that can be accessed. It represents the block d1 that is not.
For example, in a storage area of the flash memory 1, the physical address d6 of each block d1 and the logical address d5 of the data stored in the block d1 corresponding to the physical address d6 are shown in FIG. It is assumed that there is a correspondence shown in FIG. In this state, when the data stored in the block whose physical address d5 is “105” (the data whose logical address d5 is “102”) is updated (including deletion), the updated data is the original data. Is stored in an unused block (the physical address d5 is “107”) different from the first block. At this time, the logical address d5 corresponding to the physical address d6 “107” of the block in which the updated data is stored is updated to “102” which is the logical address d5 of the data. Further, the block in which the physical address d6 is “105” in which the data before update is stored is an unused block, and the logical address d5 corresponding to the block is updated from the original “102”. The data is updated to “104” originally set in the block storing the data. That is, the logical address d5 is replaced.
By such block swap processing, the data recording / updating frequency of each block is leveled so that access to some of the blocks d1 is not concentrated. As a result, the lifetime of the flash memory 1 with a limited number of rewrites can be extended.

また,このような前記論理アドレスd5と前記物理アドレスd6との対応関係を,前記論理・物理変換テーブルとして前記RAM112に記憶させておくことにより,前記ファイル管理処理層P4側からは,前記論理アドレスd5を指定するだけで,指定された前記論理アドレスd5を前記論理・物理変換テーブルに適用され,得られた前記物理アドレスd6に格納されたデータにアクセス可能となる。
前記録音・再生装置Xは,前記マイコン109(情報処理手段)により,前記フラッシュメモリ1(データ記憶媒体)に記憶される前記ブロックd1単位のデータ(単位データ)各々に対応する前記論理アドレスd5から,前記フラッシュメモリ1の記憶領域における前記ブロックd1(前記単位データの記憶位置)に対応する前記物理アドレスd6への変換テーブルである前記論理・物理変換テーブル(の情報)に基づいて,前記ブロックd1各々にアクセスするものである。
ここで,前記ブロックd1に書き込まれる新たなデータが発生するごとに新たな前記論理アドレスd5を割り振る処理,及び前記論理アドレスd5と前記物理アドレスd6との対応付けを管理する処理は,前記論理アドレス管理層P3により行われる。
なお,前記論理アドレスd5の入れ替え処理の簡略化等の理由により,前記ブロックd1のスワップ処理は,同一ゾーン内で完結するように行われる。
従来の情報処理装置では,電源投入後,前記マイコン109により,前記フラッシュメモリ1の全ての前記ブロックd1ごとの前記論理アドレスd5が取得され,全ての前記論理アドレスd5について,これを前記物理アドレスd6に変換するための前記論理・物理変換テーブルが前記RAM112内の主記憶領域に展開されていた。
図5は,従来の情報処理装置において作成される前記論理・物理変換テーブルの一例を表す模式図である。
図5に示すように,全ての前記論理アドレスd5(2Byte)各々に,前記物理アドレスd6(2Byte)が対応づけられた前記論理・物理変換テーブルが前記主記憶領域に作成されていた。
このような従来の前記論理・物理変換テーブルのデータサイズは,32MByteの容量の前記フラッシュメモリ1では4KByte,128MByteの容量の前記フラッシュメモリ1では16KByteとなる。省電力化,小型化及び低コストかの要求が厳しく,前記RAM112の容量の制約が大きい小型(携帯型)の情報処理装置では,この論理・物理変換テーブルのより小サイズ化が望まれる。
Further, by storing the correspondence relationship between the logical address d5 and the physical address d6 in the RAM 112 as the logical / physical conversion table, the logical address is transferred from the file management processing layer P4 side. By simply designating d5, the designated logical address d5 is applied to the logical / physical conversion table, and the data stored in the obtained physical address d6 can be accessed.
The recording / reproducing apparatus X uses the microcomputer 109 (information processing means) from the logical address d5 corresponding to each block d1 unit data (unit data) stored in the flash memory 1 (data storage medium). , Based on the logical / physical conversion table (information thereof) which is a conversion table to the physical address d6 corresponding to the block d1 (storage position of the unit data) in the storage area of the flash memory 1. Access each one.
Here, each time new data written to the block d1 is generated, the process of allocating a new logical address d5 and the process of managing the association between the logical address d5 and the physical address d6 are performed by the logical address. This is performed by the management layer P3.
Note that, for reasons such as simplification of the replacement process of the logical address d5, the swap process of the block d1 is performed within the same zone.
In the conventional information processing apparatus, after the power is turned on, the microcomputer 109 acquires the logical addresses d5 for all the blocks d1 of the flash memory 1, and the physical addresses d6 for all the logical addresses d5. The logical / physical conversion table for conversion into the main memory area in the RAM 112 has been expanded.
FIG. 5 is a schematic diagram showing an example of the logical / physical conversion table created in the conventional information processing apparatus.
As shown in FIG. 5, the logical / physical conversion table in which the physical address d6 (2 bytes) is associated with all the logical addresses d5 (2 bytes) is created in the main storage area.
The data size of such a conventional logical / physical conversion table is 4 KBytes in the flash memory 1 having a capacity of 32 MBytes and 16 KBytes in the flash memory 1 having a capacity of 128 MBytes. In a small-sized (portable) information processing apparatus in which demands for power saving, downsizing, and low cost are strict and the capacity of the RAM 112 is large, it is desired to reduce the size of the logical / physical conversion table.

<第1実施形態>
一方,本発明の実施の形態に係る前記録音・再生装置Xでは,前記論理・物理変換テーブル,即ち,前記フラッシュメモリ1(データ記憶媒体)に記憶される各単位データ(前記ブロックd1ごとに格納されるデータ)に対応する前記論理アドレスd5から前記フラッシュメモリ1の記憶領域における前記ブロックd1(前記単位データの記憶位置)に対応する前記物理アドレスd6への変換テーブル(変換テーブル情報)を,前記RAM112内の前記主記憶領域に記憶させる際に,その変換テーブルに設定される2Byteの前記物理アドレスd6を,圧縮された状態又は一部が省略された状態で記憶させる(前記圧縮変換テーブル記録工程の一例)。
そして,前記論理アドレスd5が指定された場合に,前記マイコン109により,指定された前記論理アドレスd5を前記論理・物理変換テーブルに適用して得られる圧縮された又は一部が省略された前記物理アドレスに基づいて,前記ブロックd1(データ記憶媒体の単位データの記憶位置)にアクセスする(前記第1のアクセス工程に相当)。
以下,前記物理アドレスd6の一部省略の場合,及び圧縮の場合の各々の実施例について説明する。
<First Embodiment>
On the other hand, in the recording / reproducing apparatus X according to the embodiment of the present invention, the logical / physical conversion table, that is, each unit data stored in the flash memory 1 (data storage medium) (stored for each block d1). A conversion table (conversion table information) from the logical address d5 corresponding to the data) to the physical address d6 corresponding to the block d1 (storage position of the unit data) in the storage area of the flash memory 1. When storing in the main storage area in the RAM 112, the 2-byte physical address d6 set in the conversion table is stored in a compressed state or partially omitted (the compression conversion table recording step). Example).
Then, when the logical address d5 is specified, the microcomputer 109 applies the specified logical address d5 to the logical / physical conversion table, and the compressed or partially omitted physical Based on the address, the block d1 (unit data storage position of the data storage medium) is accessed (corresponding to the first access step).
In the following, a description will be given of each embodiment when the physical address d6 is partially omitted and when compression is performed.

<第1実施形態:物理アドレスの一部省略の実施例1(冗長ビットの省略)>
前述したように,前記物理アドレスd6の指定は,2Byte(=16Bit)のアドレス情報として指定される。
ここで,前記物理アドレスd6は,前記ブロックd1各々に固有の番号付けができればよいので,例えば,128MByteの容量の前記フラッシュメモリ1では0〜1023,256MByteの容量の前記フラッシュメモリ1では0〜2046の番号付けができればよい。即ち,各々,10bit,11bitだけあれば十分であり,各々6bit分,5bit分が冗長ビットとなる。
そこで,本実施例1では,前記マイコン109が実行する前記物理アドレス管理層P2の処理により,前記物理アドレスd6各々における冗長ビットが省略された前記物理アドレスを有する前記論理・物理変換テーブルを前記RAM11内の前記主記憶領域に記憶させる。
図6は,従来の場合と本発明の第1実施形態に係る場合との論理・物理変換テーブルの一例を表す模式図である。図6の例は,前記フラッシュメモリ1の容量が128MByteである場合の例である。
ここで,図6(a)は,従来の前記論理・物理変換テーブルにおける前記物理アドレスd6の記憶内容を表し,図6(b)は,冗長ビットが省略された前記物理アドレスd6の記憶内容を表す。また,図6(c)は,冗長ビットの省略に加え,一部の下位側ビット列も省略された前記論理アドレスd6の記憶内容を表す。この図6(c)については後述する。
図6(b)に示すように,本実施例では,本来,2Byte(=16Bit)で表される前記物理アドレスd6のうち,冗長な上位6ビット分が省略された前記論理アドレスd6’を前記論理・物理変換テーブルに設定して前記主記憶領域に記憶させる(前記圧縮変換テーブル記録工程の一例)。
これにより,従来,前記論理・物理変換テーブルにおける前記物理アドレスd6の記憶領域として,前記RAM112内の前記主記憶領域が約16KByte消費されていたのに対し,約10KByteの消費に抑えることが可能となる。
そして,前記フラッシュメモリ1へのアクセスの際には,前記マイコン109により実行される前記論理アドレス管理層P3以下の層P1〜P3の処理により,一部省略された前記物理アドレスd6’に対応する前記ブロックd1(データ記憶媒体の記憶位置)にアクセスする(前記第1のアクセス工程の一例)。
より具体的には,前記マイコン109により実行される前記ファイル管理処理層P4から,アクセス対象となるデータファイルに含まれる各単位データ(前記ブロックd1ごとに格納されるデータ)の前記論理アドレスd5が指定された場合に,前記論理アドレス管理層P3以下の層P1〜P3の処理により,その前記論理アドレスd5を前記論理・物理変換テーブル(の情報)に適用し,これにより得られる前記冗長ビットが省略された前記物理アドレスd6’に対応する前記ブロックd1(前記フラッシュメモリ1(データ記憶媒体)の前記単位データの記憶位置)にアクセスする(前記第1のアクセス工程の一例)。
これにより,指定された前記論理アドレスに対応する前記ブロックd1にアクセスできる。
<First embodiment: Example 1 in which a part of a physical address is omitted (omission of redundant bits)>
As described above, the designation of the physical address d6 is designated as 2-byte (= 16 bits) address information.
Here, the physical address d6 only needs to be uniquely numbered in each of the blocks d1. For example, in the flash memory 1 having a capacity of 128 MByte, 0 to 1023 in the flash memory 1 having a capacity of 256 MByte, 0 to 2046. It is sufficient if the numbering can be done. That is, 10 bits and 11 bits are sufficient, and 6 bits and 5 bits are redundant bits.
Therefore, in the first embodiment, the logical / physical conversion table having the physical address from which redundant bits in each of the physical addresses d6 are omitted by the processing of the physical address management layer P2 executed by the microcomputer 109 is stored in the RAM 11. In the main storage area.
FIG. 6 is a schematic diagram showing an example of a logical / physical conversion table between the conventional case and the case according to the first embodiment of the present invention. The example of FIG. 6 is an example when the capacity of the flash memory 1 is 128 MByte.
Here, FIG. 6A shows the storage contents of the physical address d6 in the conventional logical / physical conversion table, and FIG. 6B shows the storage contents of the physical address d6 from which redundant bits are omitted. Represent. FIG. 6C shows the stored contents of the logical address d6 in which some lower-order bit strings are omitted in addition to omitting redundant bits. FIG. 6C will be described later.
As shown in FIG. 6B, in this embodiment, the logical address d6 ′ from which the redundant upper 6 bits of the physical address d6 originally expressed by 2 bytes (= 16 bits) are omitted is used as the logical address d6 ′. A logical / physical conversion table is set and stored in the main storage area (an example of the compression conversion table recording step).
As a result, the storage area of the physical address d6 in the logical / physical conversion table can be reduced to about 10 KBytes while the main storage area in the RAM 112 has been consumed about 16 KBytes. Become.
When the flash memory 1 is accessed, the physical address d6 ′, which is partially omitted, is processed by the processing of the layers P1 to P3 below the logical address management layer P3 executed by the microcomputer 109. The block d1 (storage position of the data storage medium) is accessed (an example of the first access step).
More specifically, the logical address d5 of each unit data (data stored for each block d1) included in the data file to be accessed is obtained from the file management processing layer P4 executed by the microcomputer 109. When specified, the logical address d5 is applied to the logical / physical conversion table (information) by the processing of the layers P1 to P3 below the logical address management layer P3, and the redundant bit obtained thereby is The block d1 (the storage position of the unit data in the flash memory 1 (data storage medium)) corresponding to the omitted physical address d6 ′ is accessed (an example of the first access step).
As a result, the block d1 corresponding to the designated logical address can be accessed.

<第1実施形態:物理アドレスの一部省略の例2(下位ビット列の省略)>
次に,前記物理アドレスd6の一部のさらなる省略により,前記主記憶領域の消費容量をより抑える実施例について説明する。
図6(b)に示した例は,前記物理アドレスd6の冗長ビットのみを省略するものであった。
本実施例では,さらに,前記物理アドレスd6’各々における最下位側から既定長さ分のビット列が省略された物理アドレスd6”が設定された前記論理・物理変換テーブル(の情報)を前記RAM112内の前記主記憶領域に記憶させる(前記圧縮変換テーブル記録工程の一例)。
図6(c)は,冗長ビットを省略後の前記物理アドレス6’各々について,その最下位側から6ビット(既定長さ)分のビット列を省略した,即ち,6ビット分右に(下位側に)シフトした前記物理アドレスd6”(=4bit)を表す。
これにより,従来,前記論理・物理変換テーブルにおける前記物理アドレスd6の記憶領域として,前記RAM112内の前記主記憶領域が約16KByte消費されていたのに対し,約4KByteの消費に抑えることが可能となる。
但し,この場合,下位ビット列が省略された前記物理アドレスd6”は,連続する複数の前記ブロックd1の範囲を指し示すことになる。
例えば,下位ビット列省略後の前記物理アドレスd6”が「0xA」である場合,これに対応する元の前記物理アドレスd6は,「0x280」〜「0x2BF」の範囲を指し示すことになる。
そこで,前記フラッシュメモリ1へのアクセスの際には,まず,下位側ビット列が省略された前記物理アドレスd6”で表される前記ブロックd1(データ記憶媒体の記憶位置)の範囲にアクセスし,これによって前記フラッシュメモリ1(データ記憶媒体)において前記ブロックd1(単位データの記憶位置)各々に対応して記憶されている前記論理アドレスd5(図3の前記冗長領域d4に設定されているもの)を取得し,これと前記ファイル管理処理層P4側から指定された前記論理アドレスd5とが一致する前記ブロックd1(単位データの記憶位置)にアクセスする(前記第1のアクセス工程の一例)。このアクセス処理も,前記マイコン109により実行される前記論理アドレス管理層P3以下の層P1〜P3の処理により実現される。
このように,前記物理アドレスd6の下位ビット列を省略すると,複数の前記ブロックd1中から指定された前記論理アドレスd5に対応するブロックd1を検索する必要があるため,その分だけアクセス速度が犠牲になるが,前記RAM112内の主記憶領域の消費容量の抑制をより優先させる場合に有効である。
<First embodiment: Example 2 of omitting part of physical address (omission of lower bit string)>
Next, an embodiment in which the consumption capacity of the main storage area is further suppressed by further omitting a part of the physical address d6 will be described.
In the example shown in FIG. 6B, only the redundant bit of the physical address d6 is omitted.
In the present embodiment, the logical / physical conversion table (information) in which the physical address d6 ″ in which the bit string corresponding to the predetermined length is omitted from the least significant side in each of the physical addresses d6 ′ is further stored in the RAM 112. In the main storage area (an example of the compression conversion table recording step).
In FIG. 6C, for each physical address 6 ′ after omitting redundant bits, a bit string of 6 bits (predetermined length) from the least significant side is omitted, that is, 6 bits to the right (lower side). (D) represents the shifted physical address d6 ″ (= 4 bits).
As a result, the storage area of the physical address d6 in the logical / physical conversion table can be reduced to about 4 KBytes while the main storage area in the RAM 112 has been consumed about 16 KBytes. Become.
However, in this case, the physical address d6 ″ from which the lower bit string is omitted indicates the range of the plurality of consecutive blocks d1.
For example, when the physical address d6 ″ after the lower bit string is omitted is “0xA”, the original physical address d6 corresponding to this indicates the range of “0x280” to “0x2BF”.
Therefore, when accessing the flash memory 1, first, the range of the block d1 (storage position of the data storage medium) represented by the physical address d6 ″ with the lower-order bit string omitted is accessed. The logical address d5 stored in the flash memory 1 (data storage medium) corresponding to each block d1 (unit data storage position) is set in the redundant area d4 in FIG. Acquired and accesses the block d1 (unit data storage location) where this matches the logical address d5 designated from the file management processing layer P4 side (an example of the first access step). Processing is also realized by processing of the layers P1 to P3 below the logical address management layer P3 executed by the microcomputer 109. It is.
As described above, if the lower bit string of the physical address d6 is omitted, it is necessary to search the block d1 corresponding to the specified logical address d5 from the plurality of blocks d1, and the access speed is sacrificed accordingly. However, this is effective when priority is given to the suppression of the consumption capacity of the main storage area in the RAM 112.

<第1実施形態:物理アドレスの圧縮の例>
次に,前記物理アドレスd6の圧縮により,前記主記憶領域の消費容量をより抑える実施例について説明する。
図6(b),(c)に示した例は,前記物理アドレスd6の一部を省略する例であったが,前記マイコン109により実行されるプログラムとして,ロスレス圧縮方式によるデータの圧縮及び伸張を行う圧縮・伸張プログラムを用意し,前記物理アドレスd6の圧縮により前記主記憶領域の消費容量をより抑える実施例も考えられる。
具体的には,全ての前記物理アドレスd6を1又は複数の前記物理アドレスごとに複数の物理アドレス集合として区分し,その物理アドレス集合ごとに前記圧縮・伸張プログラムによってロスレス圧縮方式により圧縮し,該圧縮により得られた複数の圧縮後物理アドレス集合が設定された前記前記論理・物理変換テーブルを前記RAM112内の前記主記憶領域に記憶させる(前記圧縮変換テーブル記録工程の一例)。
これにより,完全なデータ復元が可能な前記ロスレス圧縮方式で圧縮された分だけ,前記RAM112内の前記主記憶領域に記憶される前記論理・物理変換テーブルの容量が抑えられる。
そして,前記フラッシュメモリ1へのアクセスの際には,まず,前記マイコン109により実行される前記ファイル管理処理層P4から,アクセス対象となるデータファイルに含まれる各単位データ(前記ブロックd1ごとに格納されるデータ)の前記論理アドレスd5が指定された場合に,指定された前記論理アドレスd5に対応する1つの前記圧縮後物理アドレス集合を前記圧縮・伸張プログラムにより伸張する。さらに,その伸張処理により得られる圧縮前の前記物理アドレスd5のうち,指定された前記論理アドレスd5に対応する1つの前記物理アドレスd5を選択し,その物理アドレスd5に対応する前記ブロックd1(データ記憶媒体の記憶位置)にアクセスする(前記第1のアクセス工程の一例)。このアクセス処理も,前記マイコン109により実行される前記論理アドレス管理層P3以下の層P1〜P3の処理により実現される。
これにより,指定された前記論理アドレスに対応する前記ブロックd1にアクセスできる。
<First Embodiment: Example of Compression of Physical Address>
Next, an embodiment in which the consumption capacity of the main storage area is further suppressed by compressing the physical address d6 will be described.
The example shown in FIGS. 6B and 6C is an example in which a part of the physical address d6 is omitted. However, as a program executed by the microcomputer 109, data compression and decompression by a lossless compression method is performed. An embodiment is also possible in which a compression / decompression program for performing the above is prepared and the consumed capacity of the main storage area is further reduced by compressing the physical address d6.
Specifically, all the physical addresses d6 are divided into one or a plurality of physical addresses as a plurality of physical address sets, and each physical address set is compressed by the lossless compression method by the compression / decompression program, The logical / physical conversion table in which a plurality of post-compression physical address sets obtained by compression is set is stored in the main storage area in the RAM 112 (an example of the compression conversion table recording step).
As a result, the capacity of the logical / physical conversion table stored in the main storage area in the RAM 112 is suppressed by the amount compressed by the lossless compression method capable of complete data restoration.
When accessing the flash memory 1, first, each unit data (stored for each block d1) included in the data file to be accessed is accessed from the file management processing layer P4 executed by the microcomputer 109. When the logical address d5 of the data) is designated, the one set of physical addresses after compression corresponding to the designated logical address d5 is decompressed by the compression / decompression program. Further, one physical address d5 corresponding to the specified logical address d5 is selected from the uncompressed physical addresses d5 obtained by the decompression process, and the block d1 (data) corresponding to the physical address d5 is selected. A storage location of the storage medium) (an example of the first access step). This access processing is also realized by processing of the layers P1 to P3 below the logical address management layer P3 executed by the microcomputer 109.
As a result, the block d1 corresponding to the designated logical address can be accessed.

<第2実施形態>
以上示した実施形態(第1実施形態)は,圧縮された又は一部が省略された前記物理アドレスを有する前記論理・物理変換テーブルを前記主記憶領域に記憶させるものであったが,前記主記憶領域の消費容量を低減する他の実施形態(第2実施形態)も考えられる。
前記フラッシュメモリ1に記憶されるデータファイルのサイズがある上限サイズに制限されている等により,データファイル各々のサイズが比較的小さいサイズであり,同時に使用されるデータファイルの数が1又は比較的少数である場合を考える。
例えば,動画を再生するアプリケーションにおいては,あるデータファイルと次のデータファイルを連続して再生する場合,データのバッファリングによって順次途切れることなく再生できる構成を有すれば,本来は大サイズのデータファイルを,それが複数に分割された小サイズのデータファイルとして前記フラッシュメモリ1に記憶させておくことが可能であり,これを1つずつ開いて使用すれば,連続再生が可能である。
このようなデータファイルを開いて再生する場合,データファイル名とそのデータファイルに含まれるデータの前記論理アドレスd5との対応関係が設定されたファイル管理情報(いわゆるFAT情報)に従って,指定されたデータファイル名から前記論理アドレスd5を取得し,該論理アドレスd5に対応する前記物理アドレスd6にアクセスすることにより再生を行う。ここで,前記ファイル管理情報は,前記ファイル管理処理層P4によって管理され,前記フラッシュメモリ1内の既定の管理情報記憶領域に記憶(記録)されるものである。
以上示したアプリケーションでは,指定されたデータファイルに含まれるデータの前記論理アドレスd5に関連する前記論理・物理変換テーブルさえ前記RAM112内の前記主記憶領域に保持しておけば十分である。
Second Embodiment
In the above-described embodiment (first embodiment), the logical / physical conversion table having the physical address that is compressed or partially omitted is stored in the main storage area. Another embodiment (second embodiment) for reducing the consumption capacity of the storage area is also conceivable.
The size of the data files stored in the flash memory 1 is limited to a certain upper limit size, etc., so that the size of each data file is relatively small, and the number of data files used simultaneously is 1 or relatively Consider the case of a small number.
For example, in an application for playing back a movie, if a data file and the next data file are played back continuously, if it has a structure that can be played back without interruption due to data buffering, it will be a large data file. Can be stored in the flash memory 1 as a small-sized data file divided into a plurality of pieces, and if they are opened and used one by one, continuous reproduction is possible.
When such a data file is opened and played back, designated data according to file management information (so-called FAT information) in which the correspondence between the data file name and the logical address d5 of the data included in the data file is set. The reproduction is performed by obtaining the logical address d5 from the file name and accessing the physical address d6 corresponding to the logical address d5. Here, the file management information is managed by the file management processing layer P4 and stored (recorded) in a predetermined management information storage area in the flash memory 1.
In the application described above, it is sufficient to hold only the logical / physical conversion table related to the logical address d5 of data included in the designated data file in the main storage area in the RAM 112.

そこで,この第2実施形態では,前記マイコン109が前記論理アドレス管理層P3以下の層P1〜P3による処理を実行することにより,アクセスの対象として指定されたデータファイル(音声デジタルデータや映像デジタルデータ等のファイル)に含まれる前記ブロックd1単位の各データ(前記単位データ)の前記論理アドレスd5についてのみ,前記論理・物理変換テーブルを前記マイコン109(情報処理手段の一例)における前記RAM112内の前記主記憶領域に記憶させる(前記ファイル単位変換テーブル記録工程の一例)。
これにより,指定されたデータファイルへのアクセスに必要な最小限の前記前記論理・物理変換テーブルが前記主記憶領域に展開されるだけなので,前記主記憶領域の消費容量を抑えることができる。
ここで,前記データファイルは,前記アプリケーション処理層P5側から前記ファイル管理処理層P4に対してアクセスの対象として指定されるものである。また,前記ファイル管理処理層P4により,指定された前記データファイルに含まれる前記ブロックd1単位のデータの前記論理アドレスd5は,前記ファイル管理処理層P4により,前記フラッシュメモリ1内のファイル管理情報の記憶領域から読み出されるものである。
Therefore, in the second embodiment, the microcomputer 109 executes processing by the layers P1 to P3 below the logical address management layer P3, so that a data file (audio digital data or video digital data) designated as an access target is obtained. The logical / physical conversion table is stored in the RAM 112 in the microcomputer 109 (an example of information processing means) only for the logical address d5 of each piece of data (unit data) in the block d1 unit included in the file). Store in the main storage area (an example of the file unit conversion table recording step).
As a result, since the minimum logical / physical conversion table necessary for accessing the designated data file is only expanded in the main storage area, the consumption capacity of the main storage area can be suppressed.
Here, the data file is designated as an access target from the application processing layer P5 side to the file management processing layer P4. Further, the logical address d5 of the block d1 unit data included in the data file designated by the file management processing layer P4 is stored in the file management information in the flash memory 1 by the file management processing layer P4. It is read from the storage area.

そして,前記フラッシュメモリ1へのアクセスの際には,指定された前記データファイルに含まれる前記単位データ(前記ブロックd1ごとに記憶されるデータ)各々の前記論理アドレスd5を前記論理・物理変換テーブルに適用し,これにより得られる前記物理アドレスd6に対応する前記ブロックd1(データ記憶媒体の記憶位置)にアクセスする(前記第2のアクセス工程の一例)。
図7は,このようにデータファイル単位で作成される場合(第2実施形態)における前記論理・物理変換テーブルの一例を表す模式図である。ここでは,アクセス対象として指定された前記データファイルのサイズが32MByte(上限)である場合の例である。
これにより,従来,128MByteの容量の前記フラッシュメモリ1の場合,前記論理・物理変換テーブルにおける前記物理アドレスd6の記憶領域として,16KByte消費されたいたものが,前記フラッシュメモリ1の容量にかかわらず,最大でも4KByteの消費に抑えられる。
When accessing the flash memory 1, the logical address d5 of each of the unit data (data stored for each block d1) included in the designated data file is stored in the logical / physical conversion table. And the block d1 (storage position of the data storage medium) corresponding to the physical address d6 obtained thereby is accessed (an example of the second access step).
FIG. 7 is a schematic diagram showing an example of the logical / physical conversion table in the case where data files are created in this way (second embodiment). In this example, the size of the data file designated as the access target is 32 MByte (upper limit).
As a result, in the case of the flash memory 1 having a capacity of 128 MBytes, the memory area of the physical address d6 in the logical / physical conversion table that has been consumed 16 Kbytes, regardless of the capacity of the flash memory 1 The maximum consumption is 4 KBytes.

本発明は,情報処理手段からデータ記憶媒体へのアクセス方法への利用が可能である。   The present invention can be used for an access method from an information processing means to a data storage medium.

本発明の実施形態に係る情報処理総理の一例である録音・再生装置Xの概略構成を表すブロック図。The block diagram showing the schematic structure of the recording / reproducing apparatus X which is an example of the information processing prime minister concerning embodiment of this invention. 録音・再生装置Xにおけるファイルシステムの処理階層を表す図。The figure showing the processing hierarchy of the file system in the recording / reproducing apparatus X. 録音・再生装置Xがアクセスするフラッシュメモリの記憶領域におけるデータ構造の一例を模式的に表した図。The figure which represented typically an example of the data structure in the storage area of the flash memory which the recording / reproducing apparatus X accesses. 論理アドレスと物理アドレスとの対応関係を説明するための図。The figure for demonstrating the correspondence of a logical address and a physical address. 従来の情報処理装置において作成される論理・物理変換テーブルの一例を表す模式図。The schematic diagram showing an example of the logical / physical conversion table produced in the conventional information processing apparatus. 従来の場合と本発明の第1実施形態に係る場合との論理・物理変換テーブルの一例を表す模式図。FIG. 6 is a schematic diagram illustrating an example of a logical / physical conversion table between a conventional case and a case according to the first embodiment of the present invention. 本発明の第2実施形態における論理・物理変換テーブルの一例を表す模式図。The schematic diagram showing an example of the logical / physical conversion table in 2nd Embodiment of this invention.

符号の説明Explanation of symbols

X…録音・再生装置(情報処理装置)
1…フラッシュメモリ(データ記憶媒体)
102…DSP(Digital Signal Processor)
103…マイク
104…A/D変換器
105…スピーカ
106…D/A変換器
107…表示ドライバ
108…表示部
109…マイコン(情報処理手段)
110…操作部
111…ROM
112…RAM(主記憶領域)
120…メモリ着脱インターフェース
d1…ブロック(フラッシュメモリのアクセス単位)
d5…論理アドレス
d6,d6’,d6”…物理アドレス
X ... Recording / playback device (information processing device)
1. Flash memory (data storage medium)
102 ... DSP (Digital Signal Processor)
DESCRIPTION OF SYMBOLS 103 ... Microphone 104 ... A / D converter 105 ... Speaker 106 ... D / A converter 107 ... Display driver 108 ... Display part 109 ... Microcomputer (information processing means)
110 ... operation unit 111 ... ROM
112 ... RAM (main storage area)
120... Memory attach / detach interface d1... Block (flash memory access unit)
d5 ... logical address d6, d6 ', d6 "... physical address

Claims (9)

情報処理手段により,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法において,
圧縮された又は一部が省略された前記物理アドレスを有する前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させる圧縮変換テーブル記録工程と,
指定された前記論理アドレスを前記変換テーブル情報に適用して得られる圧縮された又は一部が省略された前記物理アドレスに基づいて前記データ記憶媒体の前記単位データの記憶位置にアクセスする第1のアクセス工程と,
を有してなることを特徴とするデータ記憶媒体へのアクセス方法。
The unit based on conversion table information from the logical address corresponding to each unit data stored in the data storage medium to the physical address corresponding to the storage location of the unit data in the storage area of the data storage medium by the information processing means In a method of accessing a data storage medium for accessing each data storage location,
A compression conversion table recording step for storing the conversion table information having the compressed or partially omitted physical address in a main storage area of the information processing means;
Accessing a storage location of the unit data of the data storage medium based on the compressed or partially omitted physical address obtained by applying the designated logical address to the conversion table information; Access process,
A method for accessing a data storage medium, comprising:
前記圧縮変換テーブル記録工程が,前記物理アドレス各々における冗長ビットが省略された前記物理アドレスを有する前記変換テーブル情報を前記主記憶領域に記憶させるものであり,
前記第1のアクセス工程が,前記冗長ビットが省略された前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスするものである請求項1に記載のデータ記憶媒体へのアクセス方法。
The compression translation table recording step stores the translation table information having the physical address in which redundant bits in each physical address are omitted in the main storage area;
2. The method for accessing a data storage medium according to claim 1, wherein the first access step accesses a storage position of the data storage medium corresponding to the physical address from which the redundant bit is omitted.
前記圧縮変換テーブル記録工程が,前記物理アドレス各々における最下位側から既定長さ分のビット列が省略された前記物理アドレスを有する前記変換テーブル情報を前記主記憶領域に記憶させるものであり,
前記第1のアクセス工程が,前記ビット列が省略された前記物理アドレスで表される前記データ記憶媒体の記憶位置の範囲にアクセスすることにより,前記データ記憶媒体に前記単位データの記憶位置各々に対応して記憶されている前記論理アドレスを取得し,これと前記指定された論理アドレスとが一致する前記単位データの記憶位置にアクセスするものである請求項1又は2に記載のデータ記憶媒体へのアクセス方法。
The compression conversion table recording step stores the conversion table information having the physical address in which a bit string of a predetermined length is omitted from the lowest side in each of the physical addresses in the main storage area;
The first access step corresponds to each storage position of the unit data in the data storage medium by accessing a range of storage positions of the data storage medium represented by the physical address in which the bit string is omitted. 3. The data storage medium according to claim 1, wherein the stored logical address is acquired and the storage position of the unit data in which the specified logical address matches is accessed. how to access.
前記圧縮変換テーブル記録工程が,1又は複数の前記物理アドレスの集合ごとにロスレス圧縮方式により圧縮し,該圧縮により得られた複数の圧縮後物理アドレス集合を有する前記変換テーブルを前記主記憶領域に記憶させるものであり,
前記第1のアクセス工程が,指定された前記論理アドレスに対応する1つの前記圧縮後物理アドレス集合を伸張し,該伸張により得られる圧縮前の前記物理アドレスの1つに対応する前記データ記憶媒体の記憶位置にアクセスするものである請求項1に記載のデータ記憶媒体へのアクセス方法。
The compression conversion table recording step compresses one or a plurality of sets of the physical addresses by a lossless compression method, and stores the conversion table having a plurality of post-compression physical address sets obtained by the compression in the main storage area. To remember,
The data storage medium corresponding to one of the uncompressed physical addresses obtained by the first access step by expanding one set of the compressed physical addresses corresponding to the specified logical address 2. The method of accessing a data storage medium according to claim 1, wherein the storage location is accessed.
情報処理手段により,データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法において,
アクセスの対象として指定されたデータファイルに含まれる前記単位データの前記論理アドレスについてのみ前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させるファイル単位変換テーブル記録工程と,
前記データファイルに含まれる前記単位データ各々の前記論理アドレスを前記変換テーブル情報に適用して得られる前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第2のアクセス工程と,
を有してなることを特徴とするデータ記憶媒体へのアクセス方法。
The unit based on conversion table information from the logical address corresponding to each unit data stored in the data storage medium to the physical address corresponding to the storage location of the unit data in the storage area of the data storage medium by the information processing means In a method of accessing a data storage medium for accessing each data storage location,
A file unit conversion table recording step for storing the conversion table information in the main storage area of the information processing means only for the logical address of the unit data included in the data file designated as an access target;
A second access step of accessing a storage location of the data storage medium corresponding to the physical address obtained by applying the logical address of each of the unit data included in the data file to the conversion table information;
A method for accessing a data storage medium, comprising:
データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスする情報処理装置において,
圧縮された又は一部が省略された前記物理アドレスを有する前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させる圧縮変換テーブル記録手段と,
指定された前記論理アドレスを前記変換テーブル情報に適用して得られる圧縮された又は一部が省略された前記物理アドレスから伸張後の又は省略のない前記物理アドレスを生成する物理アドレス生成手段と,
伸張後の又は省略のない前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第1のアクセス手段と,
を具備してなることを特徴とする情報処理装置。
Each storage position of the unit data based on conversion table information from a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium In an information processing device that accesses
Compression conversion table recording means for storing the conversion table information having the compressed or partially omitted physical address in a main storage area of the information processing means;
Physical address generation means for generating the physical address after decompression or without omission from the compressed or partially omitted physical address obtained by applying the designated logical address to the conversion table information;
First access means for accessing a storage location of the data storage medium corresponding to the physical address after decompression or without omission;
An information processing apparatus comprising:
データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスするデータ記憶媒体へのアクセス方法において,
アクセスの対象として指定されたデータファイルに含まれる前記単位データの前記論理アドレスについてのみ前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させるファイル単位変換テーブル記録手段と,
前記データファイルに含まれる前記単位データ各々の前記論理アドレスを前記変換テーブル情報に適用して得られる前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第2のアクセス手段と,
を具備してなることを特徴とする情報処理装置。
Each storage position of the unit data based on conversion table information from a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium In a method of accessing a data storage medium that accesses
File unit conversion table recording means for storing the conversion table information in the main storage area of the information processing means only for the logical address of the unit data included in the data file designated as an access target;
Second access means for accessing a storage location of the data storage medium corresponding to the physical address obtained by applying the logical address of each of the unit data included in the data file to the conversion table information;
An information processing apparatus comprising:
データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスする処理をコンピュータに実行させるためのデータ記憶媒体へのアクセスプログラムにおいて,
圧縮された又は一部が省略された前記物理アドレスを有する前記変換テーブル情報を前記情報処理手段の主記憶領域に記憶させる圧縮変換テーブル記録処理と,
指定された前記論理アドレスを前記変換テーブル情報に適用して得られる圧縮された又は一部が省略された前記物理アドレスから伸張後の又は省略のない前記物理アドレスを生成する物理アドレス生成処理と,
伸張後の又は省略のない前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第1のアクセス処理と,
をコンピュータに実行させるためのデータ記憶媒体へのアクセスプログラム。
Each storage position of the unit data based on conversion table information from a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium In a program for accessing a data storage medium for causing a computer to execute processing for accessing
A compression conversion table recording process for storing the conversion table information having the compressed or partially omitted physical address in the main storage area of the information processing means;
Physical address generation processing for generating the physical address after being decompressed or not omitted from the compressed or partially omitted physical address obtained by applying the designated logical address to the conversion table information;
A first access process for accessing a storage location of the data storage medium corresponding to the physical address after decompression or not omitted;
A program for accessing a data storage medium for causing a computer to execute.
データ記憶媒体に記憶される各単位データに対応する論理アドレスから前記データ記憶媒体の記憶領域における前記単位データの記憶位置に対応する物理アドレスへの変換テーブル情報に基づいて前記単位データの記憶位置各々にアクセスする処理をコンピュータに実行させるためのデータ記憶媒体へのアクセスプログラムにおいて,
アクセスの対象として指定されたデータファイルに含まれる前記単位データの前記論理アドレスについてのみ前記変換テーブル情報を前記コンピュータの主記憶領域に記憶させるファイル単位変換テーブル記録処理と,
前記データファイルに含まれる前記単位データ各々の前記論理アドレスを前記変換テーブル情報に適用して得られる前記物理アドレスに対応する前記データ記憶媒体の記憶位置にアクセスする第2のアクセス処理と,
をコンピュータに実行させるためのデータ記憶媒体へのアクセスプログラム。
Each storage position of the unit data based on conversion table information from a logical address corresponding to each unit data stored in the data storage medium to a physical address corresponding to the storage position of the unit data in the storage area of the data storage medium In a program for accessing a data storage medium for causing a computer to execute processing for accessing
A file unit conversion table recording process for storing the conversion table information in the main storage area of the computer only for the logical address of the unit data included in the data file designated as the access target;
A second access process for accessing a storage location of the data storage medium corresponding to the physical address obtained by applying the logical address of each of the unit data included in the data file to the conversion table information;
A program for accessing a data storage medium for causing a computer to execute.
JP2004120300A 2004-04-15 2004-04-15 Access method to data recording medium, information processor, and access program to data storage medium Withdrawn JP2005301885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004120300A JP2005301885A (en) 2004-04-15 2004-04-15 Access method to data recording medium, information processor, and access program to data storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004120300A JP2005301885A (en) 2004-04-15 2004-04-15 Access method to data recording medium, information processor, and access program to data storage medium

Publications (1)

Publication Number Publication Date
JP2005301885A true JP2005301885A (en) 2005-10-27

Family

ID=35333300

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004120300A Withdrawn JP2005301885A (en) 2004-04-15 2004-04-15 Access method to data recording medium, information processor, and access program to data storage medium

Country Status (1)

Country Link
JP (1) JP2005301885A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924636B2 (en) 2012-02-23 2014-12-30 Kabushiki Kaisha Toshiba Management information generating method, logical block constructing method, and semiconductor memory device
WO2016056104A1 (en) * 2014-10-09 2016-04-14 株式会社日立製作所 Storage device and memory control method
US10216644B2 (en) 2016-11-04 2019-02-26 Toshiba Memory Corporation Memory system and method
JP2019160215A (en) * 2018-03-16 2019-09-19 東芝メモリ株式会社 Memory system and control method
US10686468B2 (en) 2017-12-08 2020-06-16 Toshiba Memory Corporation Data processing apparatus, memory system, and method of processing data
US10853234B2 (en) 2017-03-22 2020-12-01 Toshiba Memory Corporation Memory controller

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8924636B2 (en) 2012-02-23 2014-12-30 Kabushiki Kaisha Toshiba Management information generating method, logical block constructing method, and semiconductor memory device
WO2016056104A1 (en) * 2014-10-09 2016-04-14 株式会社日立製作所 Storage device and memory control method
US10310984B2 (en) 2014-10-09 2019-06-04 Hitachi, Ltd. Storage apparatus and storage control method
US10216644B2 (en) 2016-11-04 2019-02-26 Toshiba Memory Corporation Memory system and method
US10853234B2 (en) 2017-03-22 2020-12-01 Toshiba Memory Corporation Memory controller
US10686468B2 (en) 2017-12-08 2020-06-16 Toshiba Memory Corporation Data processing apparatus, memory system, and method of processing data
JP2019160215A (en) * 2018-03-16 2019-09-19 東芝メモリ株式会社 Memory system and control method
JP7010740B2 (en) 2018-03-16 2022-01-26 キオクシア株式会社 Memory system and control method

Similar Documents

Publication Publication Date Title
JP4287433B2 (en) File recording device
JP4679581B2 (en) MEMORY CONTROLLER, NONVOLATILE MEMORY DEVICE, NONVOLATILE MEMORY SYSTEM, AND NONVOLATILE MEMORY ADDRESS MANAGEMENT METHOD
JP4356686B2 (en) Memory device and memory control method
US8977802B2 (en) Access device, information recording device, controller, real time information recording system, access method, and program
JP2000047932A (en) Storage medium and electronic equipment system
JP2008027383A (en) Information recorder and control method thereof
JP2001188686A (en) Data rewriting device, control method, and recording medium
JP4665539B2 (en) MEMORY CONTROL DEVICE, MEMORY CONTROL METHOD, PROGRAM
JP2005301885A (en) Access method to data recording medium, information processor, and access program to data storage medium
JP2000057037A (en) Device and method for recording and reproducing and recording medium
JP2005216119A (en) Recording medium
JP2006228138A (en) Semiconductor storage device, storage control method, and information equipment
JP5178355B2 (en) Recording device
WO2020241545A1 (en) Information processing device
JP2001325134A (en) Directory setting method and recorder
US7424573B2 (en) Information processing apparatus, method, and program for formatting multiple recording media integrated as one
JP2009169682A (en) Data access method and data access device
JP4561323B2 (en) Information processing apparatus, information processing method, and program
JP2006155461A (en) Information processor and processing method, and program
JP2006178633A (en) Information processor, information processing method, and program
JP2008117491A (en) Recording device, recording method and program
JP4972909B2 (en) Data recording device
JP2001331328A (en) Information processor and its method
WO2020129612A1 (en) Information processing apparatus, information processing method, and information processing program
JP2008009754A (en) Information-processing device, method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060925

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070529