JP2014067224A - Information processor, terminal device, information processing method and program - Google Patents

Information processor, terminal device, information processing method and program Download PDF

Info

Publication number
JP2014067224A
JP2014067224A JP2012212063A JP2012212063A JP2014067224A JP 2014067224 A JP2014067224 A JP 2014067224A JP 2012212063 A JP2012212063 A JP 2012212063A JP 2012212063 A JP2012212063 A JP 2012212063A JP 2014067224 A JP2014067224 A JP 2014067224A
Authority
JP
Japan
Prior art keywords
area
storage area
divided
storage
data
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.)
Ceased
Application number
JP2012212063A
Other languages
Japanese (ja)
Inventor
Sadao Kimura
禎夫 木村
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2012212063A priority Critical patent/JP2014067224A/en
Publication of JP2014067224A publication Critical patent/JP2014067224A/en
Ceased legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processor that eliminates the need for an auxiliary bock for each physical storage area of a FLASH device 4 and that prevents increase in the storage capacity of the entire FLASH device 4 even in the case of an increase in the number into which the physical storage area of the FLASH device 4 is divided.SOLUTION: An area conversion table storage section stores an area conversion table indicating a correlation between a first division storage area of a storage section, which is a storage place determined by an operating system for data to be processed, and a second division storage area on a storage device indicating a corresponding storage place, different from the aforementioned storage section. Based on a processing request for the data and the area conversion table, an area conversion processing section converts the first division storage area into the second division storage area, has access to the second division storage area and performs data processing. Then, the area conversion processing section performs a division alteration process for the second division storage area in each of physical storage areas on a plurality of devices separately provided in the storage device.

Description

本発明は、記憶装置の物理記憶領域を分割する情報処理装置、端末装置、情報処理方法及びプログラムに関する。   The present invention relates to an information processing device, a terminal device, an information processing method, and a program for dividing a physical storage area of a storage device.

記憶デバイスの一例であるFLASHデバイスの物理記憶領域を分割する情報処理装置として次のようなものがある。
図12は、関連する情報処理装置1の構成を示す機能ブロック図である。
関連する情報処理装置1は、図12で示すように、OS(Operating System)機能部2、記憶部3を備えている。また、OS機能部2は、バス5を介してFLASHデバイス4と接続している。
An information processing apparatus that divides a physical storage area of a FLASH device, which is an example of a storage device, is as follows.
FIG. 12 is a functional block diagram illustrating a configuration of the related information processing apparatus 1.
The related information processing apparatus 1 includes an OS (Operating System) function unit 2 and a storage unit 3 as shown in FIG. The OS function unit 2 is connected to the FLASH device 4 via the bus 5.

ここで、領域決定テーブルT1は、FLASHデバイス4の分割した各物理記憶領域における各ブロックを示す分割記憶領域情報30と、OSプログラムを実行したOS機能部2が処理を行う対象であるファイルパス等のファイル記憶先を示す論理位置情報20と、の対応関係を保持するテーブルである。
また、記憶部3は領域決定テーブルT1やOSプログラム等を記憶する記憶部である。
また、OS機能部2は、処理対象のファイルの論理位置情報20に基づいてFLASHデバイス4における物理記憶領域のブロックを特定する機能部である。また、OS機能部2は、論理位置情報20に基づいて特定したFLASHデバイス4における物理記憶領域のブロックにアクセスし、データの書き込みまたは読み出しを行う機能部である。
Here, the area determination table T1 includes the divided storage area information 30 indicating each block in each physical storage area divided by the FLASH device 4, the file path that the OS function unit 2 that executed the OS program performs processing on, and the like. This table holds the correspondence relationship with the logical position information 20 indicating the file storage destination.
The storage unit 3 is a storage unit that stores an area determination table T1, an OS program, and the like.
The OS function unit 2 is a function unit that identifies a block of a physical storage area in the FLASH device 4 based on the logical position information 20 of the file to be processed. The OS function unit 2 is a function unit that accesses a block of a physical storage area in the FLASH device 4 specified based on the logical position information 20 and writes or reads data.

そして、関連する実施形態による情報処理装置1においては、OS機能部2が、処理対象のファイルの論理位置情報20を入力すると、記憶部3にアクセスし領域決定テーブルT1を読み取る。そして、OS機能部2は、読み取った領域決定テーブルT1に基づいて、分割記憶領域情報30に対応する、FLASHデバイス4における実際のアクセス先である物理記憶領域のブロックを特定する。そして、OS機能部2は、特定した物理記憶領域のブロックにアクセスし、データの書き込みまたは読み出しを行う。   In the information processing apparatus 1 according to the related embodiment, when the OS function unit 2 inputs the logical position information 20 of the file to be processed, the OS unit 2 accesses the storage unit 3 and reads the area determination table T1. Then, the OS function unit 2 specifies the block of the physical storage area that is the actual access destination in the FLASH device 4 corresponding to the divided storage area information 30 based on the read area determination table T1. Then, the OS function unit 2 accesses the identified block of the physical storage area, and writes or reads data.

ところで、組み込み系の装置では、多くの場合、不揮発性記憶媒体としてFLASHデバイス4が使用される。このとき、使用するOSプログラムによっては、ある用途に使用する領域を他の用途に使用されないように、OS機能部2がFLASHデバイス4における物理記憶領域を複数の領域に分割し、それぞれの領域にデータを読み書きしている。当該FLAHSデバイス4における物理記憶領域を複数に分割したそれぞれの領域は、複数のブロックで構成されており、また、それら各ブロックは複数のメモリセルで構成されている。   By the way, in a built-in system, the FLASH device 4 is often used as a nonvolatile storage medium. At this time, depending on the OS program to be used, the OS function unit 2 divides the physical storage area in the FLASH device 4 into a plurality of areas so that the area used for one application is not used for another application. Reading and writing data. Each area obtained by dividing the physical storage area in the FLAHS device 4 is composed of a plurality of blocks, and each block is composed of a plurality of memory cells.

図13は、領域決定テーブルT1を示す図である。
領域決定テーブルT1は、領域分割テーブルT1aと論理−物理対応テーブルT1bとで構成されている。当該領域分割テーブルT1aは、FLASHデバイス4の物理記憶領域全体に設けた分割された各物理記憶領域(領域1、領域2、・・・)それぞれについての先頭アドレスとその先頭アドレスからのバイト数(データ量)とを保持するテーブルである。
そして、領域分割テーブルT1aは、例えばOS機能部2が物理記憶領域の分割数と分割された各物理記憶領域における記憶容量を決定するために用いるテーブルであってもよい。
当該領域分割テーブルT1aは、ユーザが最初にFLASHデバイス4を使用する際に、ユーザ操作に基づいてOS機能部2が生成して記憶部3に記憶するものである。OS機能部2はこの領域分割テーブルT1aを用いて、FLASHデバイス4の物理記憶領域を複数の各物理記憶領域に分割する。
FIG. 13 is a diagram showing the area determination table T1.
The area determination table T1 includes an area division table T1a and a logical-physical correspondence table T1b. The area division table T1a includes the start address and the number of bytes from the start address for each of the divided physical storage areas (area 1, area 2,...) Provided in the entire physical storage area of the FLASH device 4. Data amount).
The area division table T1a may be, for example, a table used by the OS function unit 2 to determine the number of divisions of the physical storage area and the storage capacity in each divided physical storage area.
The area division table T1a is generated by the OS function unit 2 based on a user operation and stored in the storage unit 3 when the user first uses the FLASH device 4. The OS function unit 2 divides the physical storage area of the FLASH device 4 into a plurality of physical storage areas using the area division table T1a.

また、論理−物理対応テーブルT1bは、領域分割テーブルT1aの各物理記憶領域を構成する複数のブロックそれぞれについての論理位置情報20と、当該論理位置情報20に対応するブロックについての実際の物理的な記憶先を示す分割記憶領域情報30との対応関係を示す複数のテーブル(T1b1、T1b2、・・・)である。なお、分割記憶領域情報30はブロックが示す先頭アドレスとその先頭アドレスからのバイト数を示している。
また、論理−物理対応テーブルT1bを構成する複数のテーブルのそれぞれは、OSプログラムに基づいてOS機能部2が決定するテーブルである。
ここで一般的なOSプログラムを実行してオペレーティングシステムの処理を行うOS機能部2は、FLASHデバイス4において分割して設けた各物理記憶領域を構成するブロックのうち不良が発生した場合、当該不良となったブロックに対して論理−物理対応テーブルT1b1に記述されている情報(論理位置情報と分割記憶領域情報の関係を示す情報)を特定する。そして当該OS機能部2は、当該特定したブロックについての情報(論理位置情報と分割記憶領域情報の関係を示す情報)と、その同一の物理記憶領域を構成する予備ブロック等の他の良ブロックについて論理−物理対応テーブルT1b1に記述されている情報(論理位置情報と分割記憶領域情報の関係を示す情報)とを入れ替える処理を行う。このような処理により情報処理装置1は、この入れ替え処理を行った後は、不良となったブロックを用いずに、不良となっていない良ブロックと他の予備ブロックとによってユーザが所望する記憶容量を領域1として確保できる。
Further, the logical-physical correspondence table T1b includes the logical position information 20 for each of a plurality of blocks constituting each physical storage area of the area division table T1a and the actual physical information about the block corresponding to the logical position information 20. It is a plurality of tables (T1b1, T1b2,...) Showing the correspondence with the divided storage area information 30 indicating the storage destination. The divided storage area information 30 indicates the head address indicated by the block and the number of bytes from the head address.
Each of the plurality of tables constituting the logical-physical correspondence table T1b is a table determined by the OS function unit 2 based on the OS program.
Here, the OS function unit 2 that executes a general OS program and performs processing of the operating system, if a failure occurs in a block that constitutes each physical storage area that is divided and provided in the FLASH device 4, the failure Information described in the logical-physical correspondence table T1b1 (information indicating the relationship between the logical position information and the divided storage area information) is specified for the block that has become. Then, the OS function unit 2 provides information on the identified block (information indicating the relationship between the logical position information and the divided storage area information) and other good blocks such as a spare block constituting the same physical storage area. A process of replacing information described in the logical-physical correspondence table T1b1 (information indicating the relationship between the logical position information and the divided storage area information) is performed. After performing this replacement process, the information processing apparatus 1 does not use a defective block, but uses a non-defective good block and another spare block to store the storage capacity desired by the user. Can be secured as region 1.

なお、関連する技術として、異なる物理記憶領域に対して異なるデータを同時に書き込むことにより高速化を実現する技術が特許文献1で開示されている。   As a related technique, Patent Document 1 discloses a technique for realizing high speed by simultaneously writing different data to different physical storage areas.

特開2008−243156号公報JP 2008-243156 A

上述した一般的なOSプログラムを実行してオペレーティングシステムの処理を行うOS機能部2は、FLASHデバイス4において分割して設けられた各物理記憶領域を構成するブロックに記録されているデータを、異なる物理記憶領域を構成するブロックにコピーしたり移動したりすることはできる。しかしながら、当該OS機能部2は、ある物理記憶領域を構成するブロックと、他の物理記憶領域を構成するブロックとを、1つの仮想的な物理記憶領域として記憶し、データの読み書きの処理等を行うことはできない。
よって、FLASHデバイス4を構成する各物理記憶領域それぞれに、別々に予備ブロックを備えるようにしなければ、不良ブロックが、ある物理記憶領域に発生した場合に、その物理記憶領域においてユーザが所望する記憶容量を確保することが出来なくなる可能性がある。そして、各物理記憶領域それぞれに予備ブロックを設ける必要があるため、物理記憶領域の領域分割数が増えると、FLASHデバイス4全体に設ける予備ブロックの数が増える。そして、不良ブロックが、ある物理記憶領域に発生した場合に、その物理記憶領域においてユーザが所望する記憶容量を確保することが出来るようにするためには、FLASHデバイス4全体の記憶容量を大きくしなければならないという問題があった。
The OS function unit 2 that executes the above-mentioned general OS program and performs processing of the operating system differs in the data recorded in the blocks constituting the respective physical storage areas that are divided and provided in the FLASH device 4. It can be copied or moved to a block constituting the physical storage area. However, the OS function unit 2 stores a block configuring a certain physical storage area and a block configuring another physical storage area as one virtual physical storage area, and performs data read / write processing and the like. Can't do it.
Therefore, if each physical storage area constituting the FLASH device 4 is not provided with a spare block separately, if a bad block occurs in a certain physical storage area, the storage desired by the user in that physical storage area There is a possibility that capacity cannot be secured. Since it is necessary to provide spare blocks in each physical storage area, the number of spare blocks provided in the entire FLASH device 4 increases as the number of physical storage area divisions increases. When a bad block occurs in a certain physical storage area, the storage capacity of the entire FLASH device 4 is increased in order to ensure the storage capacity desired by the user in the physical storage area. There was a problem that had to be.

また、特許文献1の技術は、「ユーザが所望する記憶容量を確保するには、FLASHデバイス4の各物理記憶領域それぞれに予備ブロックを設ける必要があるため、FLASHデバイス4の物理記憶領域の分割の数が増えるとFLASHデバイス4全体の記憶容量が大きくなる」という問題を解決する技術ではない。   Further, the technology disclosed in Patent Document 1 states that “in order to secure the storage capacity desired by the user, it is necessary to provide a spare block in each physical storage area of the FLASH device 4, so that the physical storage area of the FLASH device 4 is divided. However, this is not a technique for solving the problem that the storage capacity of the entire FLASH device 4 increases.

そこでこの発明は、上記の課題を解決することのできる情報処理装置、端末装置、情報処理方法及びプログラムを提供することを目的としている。   Therefore, an object of the present invention is to provide an information processing device, a terminal device, an information processing method, and a program that can solve the above-described problems.

上記目的を達成するために、本発明は、処理対象のデータについてオペレーティングシステムが決定した記憶先である記憶部の第一の分割記憶領域と、前記記憶部とは異なる記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域と、の対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶部と、前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理部と、を備え、前記領域変換処理部は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行うことを特徴とする情報処理装置である。   In order to achieve the above object, the present invention provides the first divided storage area of the storage unit that is the storage destination determined by the operating system for the data to be processed, and the first divided storage area different from the storage unit. An area conversion table storage unit for storing an area conversion table indicating a correspondence relationship with a second divided storage area provided in a physical storage area on the storage device indicating a storage destination corresponding to the divided storage area; and the data Based on the processing request for and the area conversion table, the first divided storage area is converted to the second divided storage area, the second divided storage area is accessed, and the data An area conversion processing unit that performs processing, and the area conversion processing unit includes a plurality of physical storage areas on the device that are divided and provided in the storage device. An information processing apparatus and performs change processing of the divided state of the divided memory areas of.

また本発明は、処理対象のデータについてオペレーティングシステムが決定した記憶先である記憶部の第一の分割記憶領域と、前記記憶部とは異なる記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域と、の対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶部と、前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理部と、を備え、前記領域変換処理部は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行うことを特徴とする端末装置である。   The present invention also provides a first divided storage area of a storage unit, which is a storage destination determined by the operating system for data to be processed, and a storage corresponding to the first divided storage area in a storage device different from the storage unit. An area conversion table storage unit for storing an area conversion table indicating a correspondence relationship with a second divided storage area provided in a physical storage area on the storage device indicating the destination, a processing request for the data, An area conversion processing unit that converts the first divided storage area into the second divided storage area based on the area conversion table, accesses the second divided storage area, and performs processing on the data And the area conversion processing unit is provided for a second divided storage area of a plurality of physical storage areas on the device provided in a divided manner in the storage device. A terminal apparatus and performs change processing of the divided state.

また本発明は、処理対象のデータについてオペレーティングシステムが決定した記憶先である記憶部の第一の分割記憶領域と、前記記憶部とは異なる記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域との対応関係を示す領域変換テーブルを記憶し、前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行い、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行うことを特徴とする情報処理方法である。   The present invention also provides a first divided storage area of a storage unit, which is a storage destination determined by the operating system for data to be processed, and a storage corresponding to the first divided storage area in a storage device different from the storage unit. An area conversion table indicating a correspondence relationship with the second divided storage area provided in the physical storage area on the storage device indicating the destination is stored, and based on the processing request for the data and the area conversion table The first divided storage area is converted to the second divided storage area, the second divided storage area is accessed, the data is processed, and the storage device is divided and provided. An information processing method characterized by performing a division state change process for a second divided storage area of a plurality of physical storage areas on a device.

また本発明は、情報処理装置のコンピュータを、処理対象のデータについてオペレーティングシステムが決定した記憶先である記憶部の第一の分割記憶領域と、前記記憶部とは異なる記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域との対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶手段、前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理手段、として機能させ、前記領域変換処理手段は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行うことを特徴とするプログラムである。   According to another aspect of the present invention, the computer of the information processing apparatus is configured such that the first divided storage area of the storage unit that is the storage destination determined by the operating system for the data to be processed and the first divided storage area different from the storage unit An area conversion table storage means for storing an area conversion table indicating a correspondence relationship with a second divided storage area provided in a physical storage area on the storage device indicating a storage destination corresponding to the divided storage area; Based on the processing request and the area conversion table, the first divided storage area is converted into the second divided storage area, the second divided storage area is accessed, and the process on the data is performed. Area conversion processing means to perform, the area conversion processing means on a plurality of devices provided separately in the storage device A program and performs a process of changing the division state of the second divided memory area of the management storage area.

本発明によれば、FLASHデバイス4の各物理記憶領域それぞれに予備ブロックを設ける必要がなく、FLASHデバイス4の物理記憶領域の分割の数が増えてもFLASHデバイス4全体の記憶容量が大きくならない情報処理装置を提供する。   According to the present invention, it is not necessary to provide a spare block in each physical storage area of the FLASH device 4, and even if the number of divisions of the physical storage area of the FLASH device 4 is increased, the storage capacity of the entire FLASH device 4 is not increased. A processing device is provided.

本発明の第一の実施形態による情報処理装置1の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the information processing apparatus 1 by 1st embodiment of this invention. 本発明の第一の実施形態による情報処理装置1の処理の概要を示す図である。It is a figure which shows the outline | summary of the process of the information processing apparatus 1 by 1st embodiment of this invention. 本発明の第一の実施形態による情報処理装置1の処理フローを示す図である。It is a figure which shows the processing flow of the information processing apparatus 1 by 1st embodiment of this invention. 本発明の第一の実施形態による領域変換テーブルT2の例を示す図である。It is a figure which shows the example of the area | region conversion table T2 by 1st embodiment of this invention. 本発明の第二の実施形態による情報処理装置1の処理の概要を示す図である。It is a figure which shows the outline | summary of the process of the information processing apparatus 1 by 2nd embodiment of this invention. 本発明の第二の実施形態による情報処理装置1の処理フローを示す図である。It is a figure which shows the processing flow of the information processing apparatus 1 by 2nd embodiment of this invention. 本発明の第二の実施形態による領域変換テーブルT2の例を示す図である。It is a figure which shows the example of the area | region conversion table T2 by 2nd embodiment of this invention. 本発明の第三の実施形態による情報処理装置1の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the information processing apparatus 1 by 3rd embodiment of this invention. 本発明の第三の実施形態による情報処理装置1の処理の概要を示す図である。It is a figure which shows the outline | summary of the process of the information processing apparatus 1 by 3rd embodiment of this invention. 本発明の第三の実施形態による情報処理装置1の処理フローを示す図である。It is a figure which shows the processing flow of the information processing apparatus 1 by 3rd embodiment of this invention. 本発明の情報処理装置1の最小構成を示す機能ブロック図である。It is a functional block diagram which shows the minimum structure of the information processing apparatus 1 of this invention. 関連する実施形態による情報処理装置1の構成を示す機能ブロック図である。It is a functional block diagram which shows the structure of the information processing apparatus 1 by related embodiment. 領域決定テーブルT1を示す図である。It is a figure which shows the area | region determination table T1.

<第一の実施形態>
図1は、本発明の第一の実施形態による情報処理装置1の構成を示す機能ブロック図である。
本発明の第一の実施形態による情報処理装置1は、図1で示すように、OS機能部2、記憶部3、領域変換テーブル記憶部6、領域変換処理部7の機能部を備えている。また、領域変換処理部7は、バス5を介して記憶デバイスとしての一つの例であるFLASHデバイス4と接続している。
<First embodiment>
FIG. 1 is a functional block diagram showing the configuration of the information processing apparatus 1 according to the first embodiment of the present invention.
The information processing apparatus 1 according to the first embodiment of the present invention includes functional units of an OS function unit 2, a storage unit 3, a region conversion table storage unit 6, and a region conversion processing unit 7, as shown in FIG. . The area conversion processing unit 7 is connected to a FLASH device 4 as an example of a storage device via the bus 5.

ここで、領域決定テーブルT1は、領域分割テーブルT1aと論理−物理対応テーブルT1bとを保持している。そして領域分割テーブルT1aは、FLAHSデバイス4のデバイス上の物理記憶領域を分割した各物理記憶領域の情報を保持している。また、論理−物理対応テーブルT1bは、各物理記憶領域における複数の分割記憶領域である各ブロックを示す第一の分割記憶領域情報10と、OSプログラムを実行したOS機能部2が処理を行う対象であるファイルパス等のファイル記憶先を示す論理位置情報20と、の対応関係を示す情報を保持している。
また、記憶部3は領域決定テーブルT1やOSプログラム等を記憶する記憶部である。
また、OS機能部2は、領域決定テーブルT1に基づいて論理位置情報20から第一の分割記憶領域情報10を特定する機能部である。
また、領域変換テーブル記憶部6は、第一の分割記憶領域情報10と、その第一の分割記憶領域情報10に対するFLASHデバイス4における実際のアクセス先である物理記憶領域内のブロックを示す第二の分割記憶領域情報11と、の対応関係を示す情報を保持する領域変換テーブルT2を記憶する記憶部である。
また、領域変換処理部7は、領域変換テーブル記憶部6が記憶する領域変換テーブルT2を読み取る機能部である。また、領域変換処理部7は、読み取った領域変換テーブルT2に基づいて、第一の分割記憶領域情報10と第二の分割記憶領域情報11との領域変換を行う機能部である。また、領域変換処理部7は、第二の分割記憶領域情報11に対応するFLASHデバイス4の物理記憶領域内のブロックにアクセスし、処理対象であるデータの書き込みまたは読み出しを行う機能部である。
Here, the area determination table T1 holds an area division table T1a and a logical-physical correspondence table T1b. The area division table T1a holds information on each physical storage area obtained by dividing the physical storage area on the device of the FLAHS device 4. Further, the logical-physical correspondence table T1b includes the first divided storage area information 10 indicating each block which is a plurality of divided storage areas in each physical storage area, and the target to be processed by the OS function unit 2 executing the OS program. And information indicating a correspondence relationship with logical position information 20 indicating a file storage destination such as a file path.
The storage unit 3 is a storage unit that stores an area determination table T1, an OS program, and the like.
The OS function unit 2 is a function unit that specifies the first divided storage area information 10 from the logical position information 20 based on the area determination table T1.
In addition, the area conversion table storage unit 6 is the second divided storage area information 10 and a second block indicating a block in the physical storage area that is an actual access destination in the FLASH device 4 for the first divided storage area information 10. This is a storage unit that stores an area conversion table T2 that holds information indicating a correspondence relationship between the divided storage area information 11 and the divided storage area information 11.
The region conversion processing unit 7 is a functional unit that reads the region conversion table T2 stored in the region conversion table storage unit 6. The area conversion processing unit 7 is a functional unit that performs area conversion between the first divided storage area information 10 and the second divided storage area information 11 based on the read area conversion table T2. The area conversion processing unit 7 is a functional unit that accesses a block in the physical storage area of the FLASH device 4 corresponding to the second divided storage area information 11 and writes or reads data to be processed.

そして、本発明の第一の実施形態による情報処理装置1においては、OS機能部2が、当該OS機能部2の処理対象のファイルの論理位置情報20を入力すると、記憶部3が記憶する領域決定テーブルT1を読み取る。そして、OS機能部2は、読み取った領域決定テーブルT1と、処理対象のファイルの論理位置情報20とに基づいて、第一の分割記憶領域情報10を特定し、領域変換処理部7に出力する。
そして、領域変換処理部7は、OS機能部2が特定した第一の分割記憶領域情報10を入力する。すると領域変換処理部7は、領域変換テーブル記憶部6から領域変換テーブルT2を読み取る。そして、領域変換処理部7は、その読み取った領域変換テーブルT2と、OS機能部2が特定した第一の分割記憶領域情報10とに基づいて、当該第一の分割記憶領域情報10を、FLASHデバイス4上の物理記憶領域におけるブロックを示す第二の分割記憶領域情報11に変換する。そして、領域変換処理部7は、FLASHデバイス4の第二の分割記憶領域情報11に対応するFLASHデバイス4の物理記憶領域におけるブロックにアクセスし、データの書き込みまたは読み出しを行う。
In the information processing apparatus 1 according to the first embodiment of the present invention, when the OS function unit 2 inputs the logical position information 20 of the file to be processed by the OS function unit 2, the area stored in the storage unit 3 Read the decision table T1. Then, the OS function unit 2 specifies the first divided storage area information 10 based on the read area determination table T1 and the logical position information 20 of the processing target file, and outputs the first divided storage area information 10 to the area conversion processing unit 7. .
Then, the area conversion processing unit 7 inputs the first divided storage area information 10 specified by the OS function unit 2. Then, the area conversion processing unit 7 reads the area conversion table T2 from the area conversion table storage unit 6. Then, based on the read area conversion table T2 and the first divided storage area information 10 specified by the OS function unit 2, the area conversion processing unit 7 converts the first divided storage area information 10 into the FLASH. Conversion into second divided storage area information 11 indicating blocks in the physical storage area on the device 4 is performed. Then, the area conversion processing unit 7 accesses a block in the physical storage area of the FLASH device 4 corresponding to the second divided storage area information 11 of the FLASH device 4 and writes or reads data.

図2は、本発明の第一の実施形態による情報処理装置1の処理の概要を示す図である。
図3は、本発明の第一の実施形態による情報処理装置1の処理フローを示す図である。
図4は、本発明の第一の実施形態による領域変換テーブルT2の例を示す図である。
次に図2、図3、図4を用いて、第一の実施形態による情報処理装置1の処理フローについて説明する。
FIG. 2 is a diagram showing an outline of processing of the information processing apparatus 1 according to the first embodiment of the present invention.
FIG. 3 is a diagram showing a processing flow of the information processing apparatus 1 according to the first embodiment of the present invention.
FIG. 4 is a diagram showing an example of the area conversion table T2 according to the first embodiment of the present invention.
Next, the processing flow of the information processing apparatus 1 according to the first embodiment will be described with reference to FIGS. 2, 3, and 4.

まず、ユーザがユーザインタフェースを介してファイルをFLASHデバイス4に書き込む操作をし、領域変換処理部7がファイルをデータ9としてFLASHデバイス4に書き込む場合を想定する   First, it is assumed that the user performs an operation of writing a file to the FLASH device 4 via the user interface, and the area conversion processing unit 7 writes the file as data 9 to the FLASH device 4.

ユーザが、FLASHデバイス4における物理記憶領域である領域1に、例えば良ブロックで40メガバイトの記憶容量を確保したいという要望を持っているとする。この場合、ユーザはFLASHデバイス4を使用開始する際に、FLASHデバイス4の領域1が40メガバイトの容量に設定する操作を行うものとする。また、このユーザ操作に応じてOS機能部2は、FLASHデバイス4の領域1が40メガバイトとなるように領域分割テーブルT1aを生成するものとする。   It is assumed that the user has a desire to secure a storage capacity of, for example, 40 megabytes in a good block in the area 1 that is a physical storage area in the FLASH device 4. In this case, when the user starts using the FLASH device 4, the user performs an operation of setting the area 1 of the FLASH device 4 to a capacity of 40 megabytes. Further, in response to this user operation, the OS function unit 2 generates the area division table T1a so that the area 1 of the FLASH device 4 becomes 40 megabytes.

そして、ユーザが、OS機能部2に対して、例えばマウス操作やキーボード等のユーザインタフェースを介してファイルをデータ9としてFLASHデバイス4の領域1に書き込む操作をする。すると、OS機能部2は処理対象のファイルの論理位置情報20を読み取る(ステップS1)。   Then, the user operates the OS function unit 2 to write a file as data 9 to the area 1 of the FLASH device 4 through a user interface such as a mouse operation or a keyboard. Then, the OS function unit 2 reads the logical position information 20 of the file to be processed (Step S1).

そして、OS機能部2は、記憶部3が記憶する領域決定テーブルT1を読み取り、読み取った領域決定テーブルT1に基づいて、論理位置情報20から当該論理位置情報20に対応するFLASHデバイス4の物理記憶領域(この場合は領域1)におけるブロックを示す第一の分割記憶領域情報10を特定する(ステップS2)。   Then, the OS function unit 2 reads the area determination table T1 stored in the storage unit 3, and based on the read area determination table T1, the physical storage of the FLASH device 4 corresponding to the logical position information 20 from the logical position information 20 First divided storage area information 10 indicating a block in the area (in this case, area 1) is specified (step S2).

そして、OS機能部2は、第一の分割記憶領域情報10とデータ9とを領域変換処理部7へ出力する(ステップS3)。   Then, the OS function unit 2 outputs the first divided storage area information 10 and the data 9 to the area conversion processing unit 7 (step S3).

ここで、領域変換テーブル記憶部6は、例えば領域変換処理部7によって生成された領域変換テーブルT2を記憶している。当該領域変換テーブルT2は、FLASHデバイス4の接続時や、または情報処理装置1の初回の起動時等に生成されてもよい。また、当該領域変換テーブルT2は、領域変換処理部7がFLASHデバイス4にデータの書き込みや読み出しのためにアクセスした際に生成されてもよい。この生成においては、領域変換処理部7は、第一の分割記憶領域情報10をOS機能部2から取得して、その第一の分割記憶領域情報10に対する第二の分割記憶領域情報11を所定のアルゴリズム等により特定し、それら第一の分割記憶領域情報10と第二の分割記憶領域情報11とを対応付けて領域変換テーブルT2を生成している(図4のT2; 生成時領域変換テーブル)。   Here, the area conversion table storage unit 6 stores, for example, the area conversion table T2 generated by the area conversion processing unit 7. The area conversion table T2 may be generated when the FLASH device 4 is connected or when the information processing apparatus 1 is started for the first time. The region conversion table T2 may be generated when the region conversion processing unit 7 accesses the FLASH device 4 for data writing or reading. In this generation, the area conversion processing unit 7 acquires the first divided storage area information 10 from the OS function unit 2 and sets the second divided storage area information 11 for the first divided storage area information 10 to a predetermined value. The area conversion table T2 is generated by associating the first divided storage area information 10 and the second divided storage area information 11 with each other (T2 in FIG. 4; generation area conversion table) ).

このような状態において、領域変換処理部7は、第一の分割記憶領域情報10とデータ9とをステップS3において入力すると、領域変換テーブル記憶部6から領域変換テーブルT2を読み出す。そして領域変換処理部7は、第一の分割記憶領域情報10と領域変換テーブルT2とを用いて、第一の分割記憶領域情報10に対応する第二の分割記憶領域情報11を特定する(ステップS4)。   In such a state, the region conversion processing unit 7 reads the region conversion table T2 from the region conversion table storage unit 6 when the first divided storage region information 10 and the data 9 are input in step S3. Then, the area conversion processing unit 7 specifies the second divided storage area information 11 corresponding to the first divided storage area information 10 by using the first divided storage area information 10 and the area conversion table T2 (Step S1). S4).

そして、領域変換処理部7は、第二の分割記憶領域情報11に対応するFLASHデバイス4の領域1におけるブロック(例えばブロック2)にアクセスする(ステップS5)。   Then, the area conversion processing unit 7 accesses a block (for example, block 2) in the area 1 of the FLASH device 4 corresponding to the second divided storage area information 11 (step S5).

そして、領域変換処理部7は、当該ブロックが良ブロックであるか不良ブロックであるかを判断する(ステップS6)。例えば、この良ブロックであるか不良ブロックであるかの判断は誤り検出符号等の技術を用いればよい。
そして、領域変換処理部7が、例えばFLASHデバイス4の領域1におけるブロック2が不良ブロックであると判断したとする。
Then, the area conversion processing unit 7 determines whether the block is a good block or a bad block (step S6). For example, a technique such as an error detection code may be used to determine whether the block is a good block or a bad block.
Assume that the area conversion processing unit 7 determines that the block 2 in the area 1 of the FLASH device 4 is a defective block, for example.

この場合、領域変換処理部7は、領域変換テーブルT2における例えば領域1における不良ブロックであるブロック2の物理記憶領域と分割記憶領域それぞれの識別情報と、領域3における良ブロックであるブロック1の物理記憶領域と分割記憶領域それぞれの識別情報とを入れ替える(図4のT2; 変更後領域変換テーブル)。つまり、領域変換処理部7は、第一の分割記憶領域情報10の領域1におけるブロック2と、第二の分割記憶領域情報11の領域1におけるブロック2との対応関係を、第一の分割記憶領域情報10の領域1におけるブロック2と、第二の分割記憶領域情報11の領域3におけるブロック1との対応関係に書き替える。また、領域変換処理部7は、第一の分割記憶領域情報10の領域3におけるブロック1と、第二の分割記憶領域情報11の領域3におけるブロック1との対応関係を、第一の分割記憶領域情報10の領域3におけるブロック1と、第二の分割記憶領域情報11の領域1におけるブロック2との対応関係に書き替える(ステップS7)。
なお、ステップS6において領域変換処理部7が、FLASHデバイス4の領域1におけるブロック2が良ブロックであると判断した場合はステップS9へと移行する。
In this case, the area conversion processing unit 7 in the area conversion table T2, for example, identification information of the physical storage area and the divided storage area of the block 2 that is a defective block in the area 1, and the physical information of the block 1 that is a good block in the area 3 The identification information of the storage area and each of the divided storage areas is exchanged (T2 in FIG. 4; changed area conversion table). In other words, the area conversion processing unit 7 determines the correspondence between the block 2 in the area 1 of the first divided storage area information 10 and the block 2 in the area 1 of the second divided storage area information 11 as the first divided storage. Rewrite the correspondence relationship between the block 2 in the area 1 of the area information 10 and the block 1 in the area 3 of the second divided storage area information 11. In addition, the area conversion processing unit 7 determines the correspondence between the block 1 in the area 3 of the first divided storage area information 10 and the block 1 in the area 3 of the second divided storage area information 11 as the first divided storage. The correspondence between the block 1 in the area 3 of the area information 10 and the block 2 in the area 1 of the second divided storage area information 11 is rewritten (step S7).
When the area conversion processing unit 7 determines in step S6 that the block 2 in the area 1 of the FLASH device 4 is a good block, the process proceeds to step S9.

このように、領域変換処理部7は、領域変換テーブルT2に基づいて、FLASHデバイス4において不良ブロックを検出すると、FLASHデバイス4における任意の領域の良ブロックで補填する(ステップS8)。   In this manner, when the area conversion processing unit 7 detects a defective block in the FLASH device 4 based on the area conversion table T2, the area conversion processing unit 7 compensates with a good block in an arbitrary area in the FLASH device 4 (step S8).

そして、領域変換処理部7は、第二の分割記憶領域情報11とデータ9とをFLASHデバイス4に書き込む。これにより、FLASHデバイス4は、そのFLASHデバイス4の領域1にデータ9を記憶する(ステップS9)。   Then, the area conversion processing unit 7 writes the second divided storage area information 11 and the data 9 in the FLASH device 4. Thereby, the FLASH device 4 stores the data 9 in the area 1 of the FLASH device 4 (step S9).

本発明の第一の実施形態による情報処理装置1では、図1で示すように、領域変換処理部7が、OSプログラムや領域決定テーブルT1を変更せずに、不良ブロック101を任意の領域に存在する良ブロックで補填するように領域変換テーブルT2を変更することができる。
そのため、本発明の第一の実施形態の情報処理装置1では、OSプログラムや領域決定テーブルT1を変更せずに、FLASHデバイス4に不良ブロックが含まれる場合でも、領域変換処理部7が領域変換テーブルT2に基づいて、ユーザが要望する記憶容量を常に他の領域の良ブロックで補填して確保することができる。
また、領域変換処理部7は、不良ブロック101を任意の領域に存在する良ブロックで補填するように領域変換テーブルT2を変更することができる。そのため、FLASHデバイス4の物理記憶領域の分割領域数が増えても、各分割領域に予備ブロックを用意することなく、当該分割領域における不良ブロックの代わりに他の分割領域から良ブロックを補填すればよいため、FLASHデバイス4の物理記憶領域の分割の数が増えてもFLASHデバイス4全体の記憶容量が大きくならない。
なお、上記記憶部3は情報処理装置1における主記憶部であってもよい。
In the information processing apparatus 1 according to the first embodiment of the present invention, as shown in FIG. 1, the area conversion processing unit 7 changes the defective block 101 to an arbitrary area without changing the OS program or the area determination table T1. The area conversion table T2 can be changed so as to be compensated by existing good blocks.
Therefore, in the information processing apparatus 1 according to the first embodiment of the present invention, the area conversion processing unit 7 performs area conversion even when a defective block is included in the FLASH device 4 without changing the OS program or the area determination table T1. Based on the table T2, the storage capacity desired by the user can always be secured by compensating with a good block in another area.
Further, the area conversion processing unit 7 can change the area conversion table T2 so that the defective block 101 is compensated with a good block existing in an arbitrary area. Therefore, even if the number of divided areas of the physical storage area of the FLASH device 4 is increased, if a good block is compensated from another divided area instead of a defective block in the divided area without preparing a spare block in each divided area. For this reason, even if the number of divisions of the physical storage area of the FLASH device 4 increases, the storage capacity of the entire FLASH device 4 does not increase.
The storage unit 3 may be a main storage unit in the information processing apparatus 1.

<第二の実施形態>
図5は、本発明の第二の実施形態による情報処理装置1の処理の概要を示す図である。
図6は、本発明の第二の実施形態による情報処理装置1の処理フローを示す図である。
図7は、本発明の第二の実施形態による領域変換テーブルT2の例を示す図である。
次に図5、図6、図7を用いて、第一の実施形態による情報処理装置1の処理フローについて説明する。
図5は、第一の実施形態による情報処理装置の構成と同一であるため、その説明を省略する。ただし、第二の実施形態においては、領域変換処理部7の機能が第一の実施形態による情報処理装置とは異なる。
<Second Embodiment>
FIG. 5 is a diagram showing an outline of processing of the information processing apparatus 1 according to the second embodiment of the present invention.
FIG. 6 is a diagram showing a processing flow of the information processing apparatus 1 according to the second embodiment of the present invention.
FIG. 7 is a diagram showing an example of the area conversion table T2 according to the second embodiment of the present invention.
Next, the processing flow of the information processing apparatus 1 according to the first embodiment will be described with reference to FIGS. 5, 6, and 7.
Since FIG. 5 is the same as the configuration of the information processing apparatus according to the first embodiment, a description thereof will be omitted. However, in the second embodiment, the function of the area conversion processing unit 7 is different from that of the information processing apparatus according to the first embodiment.

まず、ユーザがファイルを指定して、ファイルをデータ9としてFLASHデバイス4の領域2のブロック1にデータを書き込み、その後、FLASHデバイス4に書き込んだデータ9を読み出す場合を想定する。
なお、第二の実施形態による情報処理装置1の処理フローは、第一の実施形態における処理にステップS10〜ステップS16を追加したものである。
したがって、図6の処理フローのステップS10からステップS16について以下で詳細に説明をする。
First, assume that the user designates a file, writes the data as the data 9 to the block 1 in the area 2 of the FLASH device 4, and then reads the data 9 written to the FLASH device 4.
Note that the processing flow of the information processing apparatus 1 according to the second embodiment is obtained by adding steps S10 to S16 to the processing according to the first embodiment.
Therefore, step S10 to step S16 of the processing flow of FIG. 6 will be described in detail below.

第一の実施形態と同様に、ユーザ操作により情報処理装置1のOS機能部2がステップS3を行った後、領域変換処理部7は、第一の分割記憶領域情報10とデータ9とを入力する。すると、領域変換処理部7は、領域変換テーブル記憶部6にアクセスし、領域変換テーブルT2を読み出す。
領域変換処理部7は、読み取った領域変換テーブルT2に基づいて第一の分割記憶領域情報10に対応する第二の分割記憶領域情報11aを特定する(ステップS4)。
ステップS4を行った後、ステップS5からステップS8までは第一の実施形態と同様の処理を行う。
そして、領域変換処理部7は、第二の分割記憶領域情報11aに対応するFLASHデバイス4におけるブロックにデータ9を書き込む(ステップS9)。
Similarly to the first embodiment, after the OS function unit 2 of the information processing apparatus 1 performs step S3 by a user operation, the area conversion processing unit 7 inputs the first divided storage area information 10 and the data 9 To do. Then, the area conversion processing unit 7 accesses the area conversion table storage unit 6 and reads the area conversion table T2.
The area conversion processing unit 7 specifies the second divided storage area information 11a corresponding to the first divided storage area information 10 based on the read area conversion table T2 (step S4).
After performing Step S4, the same processing as in the first embodiment is performed from Step S5 to Step S8.
Then, the area conversion processing unit 7 writes the data 9 to the block in the FLASH device 4 corresponding to the second divided storage area information 11a (step S9).

また、領域変換処理部7は、第一の分割記憶領域情報10に対応する第二の分割記憶領域情報11aを特定すると、読み取った領域変換テーブルT2において検出した第二の分割記憶領域情報11aの次に記述されている第二の分割記憶領域情報11bに対応するFLASHデバイス4におけるブロックにアクセスする。そして、領域変換処理部7は、アクセスしたブロックが使用されていないブロックであるかを検出する。同様に、領域変換処理部7は、使用されていないブロックを検出するまで、第二の分割記憶領域情報11c、第二の分割記憶領域情報11d、・・・と順にFLASHデバイス4における他の分割記憶領域にアクセスする(ステップS10)。   Further, when the area conversion processing unit 7 specifies the second divided storage area information 11a corresponding to the first divided storage area information 10, the area conversion processing unit 7 sets the second divided storage area information 11a detected in the read area conversion table T2. Next, the block in the FLASH device 4 corresponding to the second divided storage area information 11b described next is accessed. The area conversion processing unit 7 detects whether the accessed block is an unused block. Similarly, the area conversion processing unit 7 performs other divisions in the FLASH device 4 in order of the second divided storage area information 11c, the second divided storage area information 11d,... Until the unused block is detected. The storage area is accessed (step S10).

ここで例えば、領域変換処理部7は、第二の分割記憶領域情報11dにアクセスしたときに第二の分割記憶領域情報11dに対応するFLASHデバイス4におけるブロックが使用されていないブロックとして検出したとする。
このとき、領域変換処理部7は、第二の分割記憶領域情報11dに対応するFLASHデバイス4におけるブロックにデータ9を書き込む。
また、領域変換処理部7は、領域変換テーブルT2における第二の分割記憶領域情報11dに関連付けられている第一の分割記憶領域情報10における領域とブロックに関する情報(領域2、ブロック10)を、第二の分割記憶領域情報11a関連付けられている第一の分割記憶領域情報10における領域とブロックに関する情報(領域2、ブロック1)に書き替える(図7の書き替え後領域変換テーブルT2)。また、領域変換処理部7は、FLASHデバイス4に記憶したデータ9を読み出す際の優先度を示すフラグ、例えば、領域変換処理部7は、第二の分割記憶領域情報11dとそれに対応する第一の分割記憶領域情報10に関連付けて高優先を表す“1”を領域変換テーブルT2に書き込む(ステップS11)。
Here, for example, when the area conversion processing unit 7 accesses the second divided storage area information 11d, it detects that the block in the FLASH device 4 corresponding to the second divided storage area information 11d is not used. To do.
At this time, the area conversion processing unit 7 writes the data 9 to the block in the FLASH device 4 corresponding to the second divided storage area information 11d.
Further, the area conversion processing unit 7 obtains information (area 2, block 10) regarding the area and block in the first divided storage area information 10 associated with the second divided storage area information 11d in the area conversion table T2. The second divided storage area information 11a is rewritten to the information (area 2, block 1) relating to the area and block in the first divided storage area information 10 associated (rewritten area conversion table T2 in FIG. 7). In addition, the area conversion processing unit 7 is a flag indicating the priority at which the data 9 stored in the FLASH device 4 is read. For example, the area conversion processing unit 7 includes the second divided storage area information 11d and the first corresponding to the second divided storage area information 11d. “1” representing high priority in association with the divided storage area information 10 is written in the area conversion table T2 (step S11).

次に、ユーザがOS機能部2に対して、マウス操作やキーボード等のユーザインタフェースを介してFLASHデバイス4からファイルのデータ9を読み出す操作を行う(ステップS12)。   Next, the user performs an operation for reading the file data 9 from the FLASH device 4 via the user interface such as a mouse operation or a keyboard on the OS function unit 2 (step S12).

すると、OS機能部2はファイルのファイルパス等を読み取り論理位置情報20を特定する。OS機能部2は、記憶部3が記憶する領域決定テーブルT1を読み取り、読み取った領域決定テーブルT1に基づいて、論理位置情報20から対応する第一の分割記憶領域情報10を特定する。そして、OS機能部2は、特定した第一の分割記憶領域情報10を領域変換処理部7へ出力する。
そして領域変換処理部7は、第一の分割記憶領域情報10を入力すると、領域変換テーブル記憶部6にアクセスし、領域変換テーブルT2を読み出す。そして領域変換処理部7は、読み出した領域変換テーブルT2に基づいて、第一の分割記憶領域情報10に対応する2つの第二の分割記憶領域情報11aと11dとを特定する。また、領域変換処理部7は、第二の分割記憶領域情報11dに書き込んだデータ9の読み出し時の優先度を読み取る。
そして、領域変換処理部7は、読み取った領域変換テーブルT2における第二の分割記憶領域情報11aと11dのうち、データ9の読み出し時の高優先を書き込んだ第二の分割記憶領域情報11dに対応するFLASHデバイス4の物理記憶領域におけるブロックにアクセスし、データ9を読み出す(ステップS13)。
Then, the OS function unit 2 reads the file path of the file and specifies the logical position information 20. The OS function unit 2 reads the region determination table T1 stored in the storage unit 3, and identifies the corresponding first divided storage region information 10 from the logical position information 20 based on the read region determination table T1. Then, the OS function unit 2 outputs the specified first divided storage area information 10 to the area conversion processing unit 7.
When the first divided storage area information 10 is input, the area conversion processing unit 7 accesses the area conversion table storage unit 6 and reads the area conversion table T2. Then, the area conversion processing unit 7 specifies two pieces of second divided storage area information 11a and 11d corresponding to the first divided storage area information 10 based on the read area conversion table T2. Further, the area conversion processing unit 7 reads the priority at the time of reading the data 9 written in the second divided storage area information 11d.
The area conversion processing unit 7 corresponds to the second divided storage area information 11d in which the high priority at the time of reading the data 9 is written out of the second divided storage area information 11a and 11d in the read area conversion table T2. The block in the physical storage area of the FLASH device 4 to be accessed is accessed, and the data 9 is read (step S13).

領域変換処理部7が第二の分割記憶領域情報11dに対応するFLASHデバイス4の物理記憶領域におけるブロックからデータ9を読み出せた場合(ステップS14)、その読み出したデータ9をOS機能部2に出力する。そして、OS機能部2はそのデータ9を入力すると、ユーザインタフェースを介してそのデータ9をモニタ等に表示する(ステップS16)。   When the area conversion processing unit 7 can read the data 9 from the block in the physical storage area of the FLASH device 4 corresponding to the second divided storage area information 11d (step S14), the read data 9 is sent to the OS function unit 2 Output. When the OS function unit 2 inputs the data 9, the OS 9 displays the data 9 on a monitor or the like via the user interface (step S16).

また、領域変換処理部7が、第二の分割記憶領域情報11dに対応するFLASHデバイス4の物理記憶領域におけるブロックのデータを読み出した際に、例えば、誤り検出符号等の技術を用いてデータが破壊されていると判断する(ステップS14)。すると領域変換処理部7は、高優先ではない第二の分割記憶領域情報11aに対応するFLASHデバイス4の物理記憶領域におけるブロックにアクセスし、データ9を読み出す(ステップS15)。そして領域変換処理部7は、その読み出したデータ9をOS機能部2に出力する。そして、OS機能部2はそのデータ9を入力すると、ユーザインタフェースを介してそのデータ9をモニタ等に表示する(ステップS16)。   Further, when the area conversion processing unit 7 reads out the data of the block in the physical storage area of the FLASH device 4 corresponding to the second divided storage area information 11d, the data is, for example, stored using a technique such as an error detection code. It is determined that it has been destroyed (step S14). Then, the area conversion processing unit 7 accesses the block in the physical storage area of the FLASH device 4 corresponding to the second divided storage area information 11a not having high priority, and reads the data 9 (step S15). Then, the area conversion processing unit 7 outputs the read data 9 to the OS function unit 2. When the OS function unit 2 inputs the data 9, the OS 9 displays the data 9 on a monitor or the like via the user interface (step S16).

以上、第二の実施形態による情報処理装置1の処理フローについて説明したが、上述の情報処理装置1の処理によれば、FLASHデバイス4の第二の分割記憶領域情報11aと11dとに対応する各ブロックに同一データの書き込みを行うことができる。
そのため、上述の情報処理装置1の処理によれば、FLASHデバイスのブロック不良発生に対するデータの信頼性を向上できる。
The processing flow of the information processing apparatus 1 according to the second embodiment has been described above. However, according to the processing of the information processing apparatus 1 described above, it corresponds to the second divided storage area information 11a and 11d of the FLASH device 4. The same data can be written in each block.
Therefore, according to the processing of the information processing apparatus 1 described above, it is possible to improve the reliability of data against the occurrence of block failure in the FLASH device.

<第三の実施形態>
図8は、本発明の第三の実施形態による情報処理装置1の構成を示す機能ブロック図である。
本発明の第三の実施形態による情報処理装置1は、図8で示すように、OS機能部2、記憶部3、領域変換テーブル記憶部6、領域変換処理部7、アクセス状態判断部14の機能部を備えている。また、領域変換処理部7は、バス5を介してFLASHデバイス4と接続している。第三の実施形態においては、アクセス状態判断部14の機能と領域変換処理部7の機能とが第一の実施形態による情報処理装置とは異なる。
<Third embodiment>
FIG. 8 is a functional block diagram showing the configuration of the information processing apparatus 1 according to the third embodiment of the present invention.
As shown in FIG. 8, the information processing apparatus 1 according to the third embodiment of the present invention includes an OS function unit 2, a storage unit 3, a region conversion table storage unit 6, a region conversion processing unit 7, and an access state determination unit 14. It has a functional part. The area conversion processing unit 7 is connected to the FLASH device 4 via the bus 5. In the third embodiment, the function of the access state determination unit 14 and the function of the area conversion processing unit 7 are different from those of the information processing apparatus according to the first embodiment.

また、アクセス状態判断部14は、アクセス状態情報13に基づいてFLASHデバイス4の物理記憶領域におけるブロック内の各メモリセルのデータを書き直す必要があるかを判断する機能部である。また、アクセス状態判断部14は、特定したFLASHデバイス4の物理記憶領域におけるブロック内の各メモリセルのデータを書き替えるための書き替え信号を領域変換処理部7に出力する機能部である。
ここで、アクセス状態情報13は、領域変換処理部7がFLASHデバイス4の各ブロックに対してデータを書き込んだ場合の各ブロックそれぞれについての書き込み回数に関する情報と、それらブロックのFLASHデバイス4における領域を示す第二の分割記憶領域情報11とを対応付けて保持している。またアクセス状態情報13は、OS機能部2がOSプログラムの機能を利用して管理する時間情報等の情報である。
The access state determination unit 14 is a functional unit that determines whether it is necessary to rewrite the data of each memory cell in the block in the physical storage area of the FLASH device 4 based on the access state information 13. The access state determination unit 14 is a functional unit that outputs a rewrite signal for rewriting data of each memory cell in a block in the physical storage area of the specified FLASH device 4 to the area conversion processing unit 7.
Here, the access status information 13 includes information regarding the number of times of writing for each block when the area conversion processing unit 7 writes data to each block of the FLASH device 4, and the area of the FLASH device 4 of those blocks. The second divided storage area information 11 shown is stored in association with each other. The access status information 13 is information such as time information managed by the OS function unit 2 using the function of the OS program.

そして、本発明の第三の実施形態による情報処理装置1においては、OS機能部2がアクセス状態情報13を記憶部3から読み取って領域変換処理部7に出力する。そして、領域変換処理部7が、アクセス状態情報13を入力すると、当該アクセス状態情報13に基づいてFLASHデバイス4の物理記憶領域におけるブロックのデータをどのくらいの時間書き替えていないかを判断し、FLASHデバイス4が記憶するデータの書き替えが必要であるかを判断する。そして、領域変換処理部7は、アクセス状態判断部14が第二の分割記憶領域情報11の示すFLASHデバイス4のブロックのデータを書き替える必要があると判断した場合、当該ブロックに記録されているデータをそのブロックとは異なるブロックに書き込む。また領域変換処理部7は、それら二つのブロックが属する領域の割り当てを入れ替えるように領域変換テーブルT2を書き替える。   Then, in the information processing apparatus 1 according to the third embodiment of the present invention, the OS function unit 2 reads the access state information 13 from the storage unit 3 and outputs it to the area conversion processing unit 7. Then, when the area conversion processing unit 7 inputs the access state information 13, based on the access state information 13, it is determined how long the block data in the physical storage area of the FLASH device 4 has not been rewritten, and the FLASH It is determined whether the data stored in the device 4 needs to be rewritten. When the area conversion processing unit 7 determines that the data of the block of the FLASH device 4 indicated by the second divided storage area information 11 needs to be rewritten, the access state determination unit 14 is recorded in the block. Write data to a block different from that block. The area conversion processing unit 7 rewrites the area conversion table T2 so that the allocation of the areas to which these two blocks belong is changed.

図9は、本発明の第三の実施形態による情報処理装置1の処理の概要を示す図である。また図10は、本発明の第三の実施形態による情報処理装置1の処理フローを示す図である。
次に図9、図10を用いて、第三の実施形態による情報処理装置1の処理フローについて説明する。
FIG. 9 is a diagram showing an outline of processing of the information processing apparatus 1 according to the third embodiment of the present invention. FIG. 10 is a diagram showing a processing flow of the information processing apparatus 1 according to the third embodiment of the present invention.
Next, a processing flow of the information processing apparatus 1 according to the third embodiment will be described with reference to FIGS. 9 and 10.

まず、情報処理装置1のアクセス状態判断部14が、何等かの指示やタイミングを契機にアクセス状態情報13を記憶部3から読み取る。そしてアクセス状態判断部14は、アクセス状態情報13からFLASHデバイス4の物理記憶領域におけるブロックが記憶しているデータを書き替える必要があるかを判断する。そして、その判断に基づいて領域変換処理部7がFLASHデバイス4の物理記憶領域におけるブロックが記憶している他の物理記憶領域におけるブロックに書き込む場合を想定する。   First, the access state determination unit 14 of the information processing apparatus 1 reads the access state information 13 from the storage unit 3 in response to some instruction or timing. Then, the access state determination unit 14 determines from the access state information 13 whether the data stored in the block in the physical storage area of the FLASH device 4 needs to be rewritten. Then, based on the determination, it is assumed that the area conversion processing unit 7 writes to a block in another physical storage area stored in a block in the physical storage area of the FLASH device 4.

FLASHデバイス4は、長時間データのアクセスがない場合、FLASHデバイスの物理記憶領域におけるブロックを構成する各メモリセルに蓄えられている電荷量が変化するため、記憶しているデータが劣化する特性を持っている。そのため、本実施形態による領域変換処理部7は、データの劣化が進行しデータが破壊する前にFLASHデバイス4にアクセスし、データを他のブロックに書き替え直すことでデータの破壊を回避する必要がある。   When there is no data access for a long time, the FLASH device 4 has a characteristic that the stored data deteriorates because the amount of charge stored in each memory cell constituting the block in the physical storage area of the FLASH device changes. have. Therefore, the area conversion processing unit 7 according to the present embodiment needs to avoid the data destruction by accessing the FLASH device 4 before the data deterioration and the data destruction, and rewriting the data to another block. There is.

そこで、例えば、OS機能部2は、領域変換処理部7がFLASHデバイス4にデータを書き込む際、領域変換処理部7からデータを書き込んだ時刻やデータを書き込んだブロックの情報(例えばブロックの先頭アドレスやブロックの識別情報等)を取得する。そして、OS機能部2は、それらの情報を格納したアクセス状態情報13を記憶部3に記録する。
そして、OS機能部2は、例えばアクセス状態情報13を定期的にアクセス状態判断部14に出力する。そして、アクセス状態判断部14は、アクセス状態情報13を入力すると、そのアクセス状態情報13に含まれる例えば第二の実施形態による情報処理装置1において同一データが書き込まれた複数のブロックについての最終アクセス時刻を読み取る。そして、アクセス状態判断部14は、それら各ブロックについての最終アクセス時刻と、現在時刻との差をそれぞれ算出して、その算出結果を示す非アクセス時間が、所定の時間を超えているブロックを特定する(ステップS17)。そして、アクセス状態判断部14は、非アクセス時間が、所定の時間を超えているブロックが記憶しているデータの書き替えを指示するデータ書き替え信号を領域変換処理部7に出力する。なお当該データ書き替え信号には、非アクセス時間が、所定の時間を超えているブロックの識別情報である第一の分割記憶領域情報10が含まれる。
Therefore, for example, when the area conversion processing unit 7 writes data to the FLASH device 4, the OS function unit 2 writes the data writing time from the area conversion processing unit 7 and information of the block in which the data is written (for example, the head address of the block). And block identification information). Then, the OS function unit 2 records the access state information 13 storing such information in the storage unit 3.
Then, the OS function unit 2 outputs, for example, the access status information 13 to the access status determination unit 14 periodically. Then, when the access state determination unit 14 inputs the access state information 13, the last access for a plurality of blocks in which the same data is written in the information processing apparatus 1 according to the second embodiment included in the access state information 13, for example. Read time. Then, the access state determination unit 14 calculates the difference between the last access time and the current time for each block, and identifies a block whose non-access time indicating the calculation result exceeds a predetermined time. (Step S17). Then, the access state determination unit 14 outputs to the area conversion processing unit 7 a data rewrite signal that instructs to rewrite data stored in a block whose non-access time exceeds a predetermined time. The data rewrite signal includes first divided storage area information 10 which is identification information of a block whose non-access time exceeds a predetermined time.

領域変換処理部7は、アクセス状態判断部14からデータ書き替え信号を入力すると、データ書き替え信号に含まれている第一の分割記憶領域情報10に基づいて、例えばFLASHデバイス4における領域に含まれるブロックを特定する。例えばこの領域が領域1である場合には、領域変換処理部7は、その領域1における第一の分割記憶領域情報10に対応する第二の分割記憶領域情報11が示すブロックの記憶しているデータを、FLASHデバイス4の他の領域(例えば領域2)を構成するブロックに書き込む。
このとき、領域変換処理部7は、図4におけるテーブル変更と同様の手順で領域1におけるデータが書かれていたブロックと領域2におけるデータを書き込んだブロックの両ブロックの割り当てを入れ替えるように領域変換テーブルT2を変更する(ステップS18)。つまり、領域変換処理部7は、領域変換テーブルT2に記述されている第一の分割記憶領域情報10と第二の分割記憶領域情報11との対応関係の中から、非アクセス時間が所定の時間を超えているブロックの識別情報である第一の分割記憶領域情報10に対応する第二の分割記憶領域情報11を特定する。そして、領域変換処理部7は、その特定した第二の分割記憶領域情報11を、他の領域(例えば領域2)の識別情報に対応付けられて領域変換テーブルT2に記録されている第二の分割記憶領域情報11と入れ替えて書き替える処理を行う。そして、領域変換処理部7は、同一データが書き込まれた複数のブロックのすべてのデータに対して、同様の手順でデータの書き替えを行う。
When the data rewrite signal is input from the access state determination unit 14, the area conversion processing unit 7 includes, for example, an area in the FLASH device 4 based on the first divided storage area information 10 included in the data rewrite signal. Identify the blocks that will be For example, when this area is the area 1, the area conversion processing unit 7 stores the block indicated by the second divided storage area information 11 corresponding to the first divided storage area information 10 in the area 1. Data is written in a block constituting another area (for example, area 2) of the FLASH device 4.
At this time, the region conversion processing unit 7 performs region conversion so that the allocation of both the block in which the data in the region 1 is written and the block in which the data in the region 2 is written is exchanged in the same procedure as the table change in FIG. The table T2 is changed (step S18). That is, the area conversion processing unit 7 determines that the non-access time is a predetermined time from the correspondence relationship between the first divided storage area information 10 and the second divided storage area information 11 described in the area conversion table T2. The second divided storage area information 11 corresponding to the first divided storage area information 10 which is the identification information of the block exceeding is specified. Then, the area conversion processing unit 7 associates the specified second divided storage area information 11 with the identification information of another area (for example, area 2) and records it in the area conversion table T2. A process of rewriting the divided storage area information 11 is performed. Then, the area conversion processing unit 7 rewrites the data in the same procedure with respect to all the data of the plurality of blocks in which the same data is written.

なお、アクセス状態判断部14は、所定の時間が経過する度に、第二の分割記憶領域情報11を書き替える処理を行うようにしてもよい。例えば、アクセス状態判断部14は、OS機能部2のタイマ機能がカウントする時刻を入力し、定期的(例えば1年毎)に領域変換処理部7にデータ書き替え信号を出力する。そして、領域変換処理部7はデータ書き替え信号を入力する。すると領域変換処理部7は、FLASHデバイス4において同一データが記録されている複数のブロックを示す第二の分割記憶領域情報11を特定する。そして、領域変換処理部7は、その特定した第二の分割記憶領域情報11を、他の領域の識別情報に対応付けられて領域変換テーブルT2に記録されている第二の分割記憶領域情報11と入れ替えて書き替える処理を行うようにしてもよい。   The access state determination unit 14 may perform a process of rewriting the second divided storage area information 11 every time a predetermined time elapses. For example, the access state determination unit 14 inputs the time counted by the timer function of the OS function unit 2 and outputs a data rewrite signal to the area conversion processing unit 7 periodically (for example, every year). Then, the area conversion processing unit 7 inputs a data rewrite signal. Then, the area conversion processing unit 7 specifies second divided storage area information 11 indicating a plurality of blocks in which the same data is recorded in the FLASH device 4. Then, the area conversion processing unit 7 associates the specified second divided storage area information 11 with the identification information of other areas and records the second divided storage area information 11 recorded in the area conversion table T2. The process of rewriting and rewriting may be performed.

そして領域変換処理部7は、変更した領域変換テーブルT2に基づいて、データを書き替える(ステップS19)。   Then, the area conversion processing unit 7 rewrites the data based on the changed area conversion table T2 (step S19).

以上、第三の実施形態による情報処理装置1の処理フローについて説明したが、上述の情報処理装置1の処理によれば、領域変換処理部7は、FLASHデバイス4におけるブロックが記憶しているデータに対する非アクセス時間に基づいて、書き替え直す必要があるデータを特定している。そして領域変換処理部7は、その特定したブロック(第二の分割記憶領域)と、データの記録されていない他の領域のブロック(第二の分割記憶領域)とのデータ移動を行う。また領域変換処理部7は、領域変換テーブルT2において、それら2つのブロックを示す第二の分割記憶領域(領域の識別情報とブロックの識別情報の対応関係)を入れ替える処理を行う。
こうすることで、データ移動先の第二の分割記憶領域のブロック内のメモリセルに改めて当該データの電荷がチャージされる。よって上述の情報処理装置1は、FLASHデバイス4の物理記憶領域において所定時間以上アクセスされていないブロックに記録されているデータの破壊を回避することができる。そして、この情報処理装置1の処理により、ソフトウェアを含めたシステム全体の信頼性を向上することができる。
The processing flow of the information processing apparatus 1 according to the third embodiment has been described above. According to the processing of the information processing apparatus 1 described above, the area conversion processing unit 7 stores the data stored in the blocks in the FLASH device 4. The data that needs to be rewritten is identified based on the non-access time for. Then, the area conversion processing unit 7 performs data movement between the identified block (second divided storage area) and a block in another area where no data is recorded (second divided storage area). In addition, the area conversion processing unit 7 performs a process of replacing the second divided storage area (correspondence between the area identification information and the block identification information) indicating the two blocks in the area conversion table T2.
As a result, the memory cell in the block of the second divided storage area to which the data is moved is charged again with the data charge. Therefore, the information processing apparatus 1 described above can avoid destruction of data recorded in blocks that have not been accessed for a predetermined time or longer in the physical storage area of the FLASH device 4. The processing of the information processing apparatus 1 can improve the reliability of the entire system including software.

なお、上述の第三の実施形態による情報処理装置1では、異なる複数のブロックに記憶した同一データそれぞれに対してデータの書き替えを行ったが、FLASHデバイス4におけるすべてのブロックの最終アクセス時刻を読み取り、読み取った非アクセス時間に基づいてデータを書き替え直してもよい。   In the information processing apparatus 1 according to the third embodiment described above, data is rewritten for each of the same data stored in a plurality of different blocks, but the last access time of all the blocks in the FLASH device 4 is changed. Data may be rewritten based on the read and read non-access time.

図11は、本発明の情報処理装置1の最小構成を示す機能ブロック図である。
この図で示すように、情報処理装置1は、少なくとも、領域変換テーブル記憶部6と、領域変換処理部7とを備えるようにすればよい。
ここで、領域変換テーブル記憶部6は、処理対象のデータについてオペレーティングシステムが決定した記憶先である第一の分割記憶領域と、記憶デバイス41において第一の分割記憶領域に対応する記憶先を示す第二の分割記憶領域との対応関係を示す領域変換テーブルT2を記憶する。
また、領域変換処理部7は、データについての処理要求と、領域変換テーブルT2とに基づいて、第一の分割記憶領域を第二の分割記憶領域に変換し、記憶デバイス41の当該第二の分割記憶領域にアクセスして、データについての処理を行う。
なお、領域変換処理部7は、記憶デバイス41において分割して設けられた複数の第二の分割記憶領域についての分割状態の変更処理を行う。
FIG. 11 is a functional block diagram showing the minimum configuration of the information processing apparatus 1 of the present invention.
As shown in this figure, the information processing apparatus 1 may include at least a region conversion table storage unit 6 and a region conversion processing unit 7.
Here, the area conversion table storage unit 6 indicates a first divided storage area that is a storage destination determined by the operating system for the data to be processed, and a storage destination corresponding to the first divided storage area in the storage device 41. An area conversion table T2 indicating the correspondence with the second divided storage area is stored.
Further, the area conversion processing unit 7 converts the first divided storage area into the second divided storage area based on the processing request for data and the area conversion table T2, and the second divided storage area of the storage device 41 The divided storage area is accessed and data processing is performed.
The area conversion processing unit 7 performs a division state change process for a plurality of second divided storage areas provided in a divided manner in the storage device 41.

なお、上述の情報処理装置は、携帯電話、スマートフォン、タブレット端末等の端末装置であってもよい。   Note that the information processing apparatus described above may be a terminal device such as a mobile phone, a smartphone, or a tablet terminal.

以上、本発明の実施形態について説明したが、上述の情報処理装置は内部に、コンピュータシステムを有している。そして、上述した処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   As mentioned above, although embodiment of this invention was described, the above-mentioned information processing apparatus has a computer system inside. The process described above is stored in a computer-readable recording medium in the form of a program, and the above process is performed by the computer reading and executing this program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

1・・・情報処理装置
2・・・OS機能部
3・・・記憶部
4・・・FLASHデバイス
5・・・バス
6・・・領域変換テーブル記憶部
7・・・領域変換処理部
9・・・データ
10・・・第一の分割記憶領域情報
11、11a、11b、11c、11d・・・第二の分割記憶領域情報
13・・・アクセス状態情報
14・・・アクセス状態判断部
20・・・論理位置情報
30・・・分割記憶領域情報
41・・・記憶デバイス
101・・・不良ブロック
102、103、104・・・予備ブロック
T1・・・領域決定テーブル
T1a・・・領域分割テーブル
T1b・・・論理−物理対応テーブル
T2・・・領域変換テーブル
DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus 2 ... OS function part 3 ... Memory | storage part 4 ... FLASH device 5 ... Bus 6 ... Area | region conversion table memory | storage part 7 ... Area | region conversion process part 9 * .. Data 10... First divided storage area information 11, 11a, 11b, 11c, 11d... Second divided storage area information 13... Access state information 14. ..Logical position information 30 ... divided storage area information 41 ... storage device 101 ... defective blocks 102, 103, 104 ... spare block T1 ... area determination table T1a ... area division table T1b ... Logical-physical correspondence table T2 ... Area conversion table

Claims (10)

処理対象のデータについてオペレーティングシステムが決定した記憶先である記憶部の第一の分割記憶領域と、前記記憶部とは異なる記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域と、の対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶部と、
前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理部と、
を備え、
前記領域変換処理部は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行う
ことを特徴とする情報処理装置。
The first divided storage area of the storage unit that is the storage destination determined by the operating system for the data to be processed, and the storage indicating the storage destination corresponding to the first divided storage area in a storage device different from the storage unit An area conversion table storage unit for storing an area conversion table indicating a correspondence relationship with the second divided storage area provided in the physical storage area on the device;
Based on the processing request for the data and the area conversion table, the first divided storage area is converted into the second divided storage area, the second divided storage area is accessed, and the data An area conversion processing unit that performs processing for
With
The information processing apparatus according to claim 1, wherein the area conversion processing unit performs a process of changing a division state of a second divided storage area of a plurality of physical storage areas on the device provided in a divided manner in the storage device.
前記領域変換処理部は、
前記データについての処理要求に基づいて、前記領域変換テーブルを生成することを特徴とする請求項1に記載の情報処理装置。
The region conversion processing unit
The information processing apparatus according to claim 1, wherein the area conversion table is generated based on a processing request for the data.
前記領域変換処理部は、
前記データについての処理要求に基づいて、前記第一の分割記憶領域と、前記デバイス上物理記憶領域の複数の異なる第二の分割記憶領域との対応関係を示す領域変換テーブルを生成する
ことを特徴とする請求項1または請求項2に記載の情報処理装置。
The region conversion processing unit
Generating an area conversion table indicating a correspondence relationship between the first divided storage area and a plurality of different second divided storage areas of the physical storage area on the device based on a processing request for the data; The information processing apparatus according to claim 1 or 2.
前記領域変換テーブルは、前記デバイス上物理記憶領域に設けられた複数の第二の分割記憶領域それぞれの識別情報と、当該デバイス上物理記憶領域の識別情報とを関連付けて記憶しており、
前記領域変換処理部は、前記分割状態の変更処理において、特定のデバイス上物理記憶領域において不良分割記憶領域がある場合に、前記領域変換テーブルにおいて前記特定のデバイス上物理記憶領域とは異なる他のデバイス上物理記憶領域についての一つの分割記憶領域の識別情報に関連付けられて記憶している当該他のデバイス上物理記憶領域と分割記憶領域との識別情報と、前記特定のデバイス上物理記憶領域と分割記憶領域との識別情報とを入れ替える
ことを特徴とする請求項1から請求項3の何れか一項に記載の情報処理装置。
The area conversion table stores the identification information of each of the plurality of second divided storage areas provided in the physical storage area on the device and the identification information of the physical storage area on the device in association with each other,
The area conversion processing unit is different from the specific device physical storage area in the area conversion table when there is a defective divided storage area in the specific device physical storage area in the division state changing process. Identification information of the physical storage area on the other device and the divided storage area stored in association with the identification information of one divided storage area for the physical storage area on the device, and the specific physical storage area on the device The information processing apparatus according to any one of claims 1 to 3, wherein the identification information with the divided storage area is replaced.
前記デバイス上物理記憶領域に設けられた複数の分割記憶領域の何れか1つまたは複数のアクセス状態を判断するアクセス状態判断部と、を備え、
前記領域変換処理部は、前記アクセス状態判断部によるアクセス状態に基づいて、前記複数の分割記憶領域のうちの一つの分割記憶領域に記憶されているデータを、他の分割記憶領域に移動処理する
ことを特徴とする請求項1から請求項4の何れか一項に記載の情報処理装置。
An access state determination unit that determines any one or a plurality of access states of a plurality of divided storage areas provided in the physical storage area on the device,
The area conversion processing unit moves data stored in one divided storage area among the plurality of divided storage areas to another divided storage area based on an access state by the access state determination unit The information processing apparatus according to claim 1, wherein the information processing apparatus is an information processing apparatus.
前記領域変換処理部は、所定の時間経過した場合に、前記複数の分割記憶領域のうちの一つの分割記憶領域に記憶されているデータを、他の分割記憶領域に移動処理する
ことを特徴とする請求項1から請求項4の何れか一項に記載の情報処理装置。
The area conversion processing unit moves data stored in one of the plurality of divided storage areas to another divided storage area when a predetermined time has elapsed. The information processing apparatus according to any one of claims 1 to 4.
前記領域変換テーブル記憶部は、異なる複数の前記記憶デバイスそれぞれについて、前記領域変換テーブルを記憶する
ことを特徴とする請求項1から請求項6の何れか一項に記載の情報処理装置。
The information processing apparatus according to any one of claims 1 to 6, wherein the area conversion table storage unit stores the area conversion table for each of a plurality of different storage devices.
処理対象のデータについてオペレーティングシステムが決定した記憶先である第一の分割記憶領域と、記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域との対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶部と、
前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理部と、
を備え、
前記領域変換処理部は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行う
ことを特徴とする端末装置。
The first divided storage area that is the storage destination determined by the operating system for the data to be processed and the physical storage area on the storage device that indicates the storage destination corresponding to the first divided storage area in the storage device An area conversion table storage unit for storing an area conversion table indicating a correspondence relationship with the second divided storage area;
Based on the processing request for the data and the area conversion table, the first divided storage area is converted into the second divided storage area, the second divided storage area is accessed, and the data An area conversion processing unit that performs processing for
With
The terminal device characterized in that the area conversion processing unit performs a process of changing a division state for a second divided storage area of a plurality of physical storage areas on a device provided in a divided manner in the storage device.
処理対象のデータについてオペレーティングシステムが決定した記憶先である第一の分割記憶領域と、記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域との対応関係を示す領域変換テーブルを記憶し、
前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行い、
前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行う
ことを特徴とする情報処理方法。
The first divided storage area that is the storage destination determined by the operating system for the data to be processed and the physical storage area on the storage device that indicates the storage destination corresponding to the first divided storage area in the storage device Storing an area conversion table indicating the correspondence with the second divided storage area;
Based on the processing request for the data and the area conversion table, the first divided storage area is converted into the second divided storage area, the second divided storage area is accessed, and the data Process about
An information processing method, comprising: performing division state change processing on a second divided storage area of a plurality of physical storage areas on a plurality of devices provided in a divided manner in the storage device.
情報処理装置のコンピュータを、
処理対象のデータについてオペレーティングシステムが決定した記憶先である第一の分割記憶領域と、記憶デバイスにおいて前記第一の分割記憶領域に対応する記憶先を示す前記記憶デバイス上の物理記憶領域に設けられた第二の分割記憶領域との対応関係を示す領域変換テーブルを記憶する領域変換テーブル記憶手段、
前記データについての処理要求と、前記領域変換テーブルとに基づいて、前記第一の分割記憶領域を前記第二の分割記憶領域に変換し、当該第二の分割記憶領域にアクセスして、前記データについての処理を行う領域変換処理手段、
として機能させ、
前記領域変換処理手段は、前記記憶デバイスにおいて分割して設けられた複数のデバイス上物理記憶領域の第二の分割記憶領域についての分割状態の変更処理を行う
ことを特徴とするプログラム。
The computer of the information processing device
The first divided storage area that is the storage destination determined by the operating system for the data to be processed and the physical storage area on the storage device that indicates the storage destination corresponding to the first divided storage area in the storage device Area conversion table storage means for storing an area conversion table indicating a correspondence relationship with the second divided storage area;
Based on the processing request for the data and the area conversion table, the first divided storage area is converted into the second divided storage area, the second divided storage area is accessed, and the data Area conversion processing means for performing processing on,
Function as
The area conversion processing means performs a division state change process for a second divided storage area of a plurality of physical storage areas on a device provided in a divided manner in the storage device.
JP2012212063A 2012-09-26 2012-09-26 Information processor, terminal device, information processing method and program Ceased JP2014067224A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012212063A JP2014067224A (en) 2012-09-26 2012-09-26 Information processor, terminal device, information processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012212063A JP2014067224A (en) 2012-09-26 2012-09-26 Information processor, terminal device, information processing method and program

Publications (1)

Publication Number Publication Date
JP2014067224A true JP2014067224A (en) 2014-04-17

Family

ID=50743560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012212063A Ceased JP2014067224A (en) 2012-09-26 2012-09-26 Information processor, terminal device, information processing method and program

Country Status (1)

Country Link
JP (1) JP2014067224A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006243780A (en) * 2005-02-28 2006-09-14 Tdk Corp Memory controller, flash memory system and control method of flash memory
JP2007334533A (en) * 2006-06-14 2007-12-27 Hitachi Ltd Storage system
JP2009122826A (en) * 2007-11-13 2009-06-04 Seiko Epson Corp Semiconductor storage device, method for controlling semiconductor storage device and control program
JP2010135036A (en) * 2008-12-08 2010-06-17 Fujitsu Ltd Nonvolatile memory, memory control device, memory control system, and control method of nonvolatile memory
JP2011154548A (en) * 2010-01-27 2011-08-11 Kyocera Corp Storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006243780A (en) * 2005-02-28 2006-09-14 Tdk Corp Memory controller, flash memory system and control method of flash memory
JP2007334533A (en) * 2006-06-14 2007-12-27 Hitachi Ltd Storage system
JP2009122826A (en) * 2007-11-13 2009-06-04 Seiko Epson Corp Semiconductor storage device, method for controlling semiconductor storage device and control program
JP2010135036A (en) * 2008-12-08 2010-06-17 Fujitsu Ltd Nonvolatile memory, memory control device, memory control system, and control method of nonvolatile memory
JP2011154548A (en) * 2010-01-27 2011-08-11 Kyocera Corp Storage device

Similar Documents

Publication Publication Date Title
US10761977B2 (en) Memory system and non-transitory computer readable recording medium
EP3617867B1 (en) Fragment management method and fragment management apparatus
CN110471861B (en) Data storage method in flash memory device and flash memory device
EP2626792A1 (en) Wear leveling method, memory device, and information system
US8725969B2 (en) Distributed content storage system supporting different redundancy degrees
JP2017506391A (en) Kernel masking of DRAM defects
JPWO2009096180A1 (en) MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE SYSTEM
CN110187832B (en) Data operation method, device and system
JP2013222435A (en) Semiconductor storage device and method of controlling the same
JP2009043162A (en) Virtual library device, virtual library system and method for copying logical volume of virtual library device
CN103559139A (en) Data storage method and device
US11687448B2 (en) Memory system and non-transitory computer readable recording medium
US20170199669A1 (en) Memory management method, memory control circuit unit, and memory storage apparatus
CN114265670B (en) Memory block sorting method, medium and computing device
CN114924923A (en) Method, system, equipment and medium for verifying correctness of hard disk write-in point
US8726101B2 (en) Apparatus and method for tracing memory access information
JP2012155561A (en) Information processor and writing control method
CN107148612A (en) A kind of method and apparatus of extending user subregion
JP2016085677A (en) Memory management method, memory management program, and information processing device
US10289334B2 (en) Valid data merging method, memory controller and memory storage apparatus
CN109739688B (en) Snapshot resource space management method and device and electronic equipment
CN115202589B (en) Placement group member selection method, device and equipment and readable storage medium
CN108108118B (en) Data writing method and storage controller
JP2016062406A (en) Memory system, control method for memory system, and program
JP2014067224A (en) Information processor, terminal device, information processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150807

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160616

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160719

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170418

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170822

A045 Written measure of dismissal of application [lapsed due to lack of payment]

Free format text: JAPANESE INTERMEDIATE CODE: A045

Effective date: 20171222