[go: up one dir, main page]

JP7548742B2 - Information processing device and information processing system for managing destinations for storing files in non-volatile memory - Google Patents

Information processing device and information processing system for managing destinations for storing files in non-volatile memory Download PDF

Info

Publication number
JP7548742B2
JP7548742B2 JP2020122660A JP2020122660A JP7548742B2 JP 7548742 B2 JP7548742 B2 JP 7548742B2 JP 2020122660 A JP2020122660 A JP 2020122660A JP 2020122660 A JP2020122660 A JP 2020122660A JP 7548742 B2 JP7548742 B2 JP 7548742B2
Authority
JP
Japan
Prior art keywords
file
volatile memory
information processing
write
destination
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.)
Active
Application number
JP2020122660A
Other languages
Japanese (ja)
Other versions
JP2022019083A (en
Inventor
航瑛 吉田
洋介 小谷中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2020122660A priority Critical patent/JP7548742B2/en
Publication of JP2022019083A publication Critical patent/JP2022019083A/en
Application granted granted Critical
Publication of JP7548742B2 publication Critical patent/JP7548742B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Memory System (AREA)

Description

本発明は、不揮発性メモリに記憶するファイルの保存先を管理する情報処理装置、及び情報処理システムに関する。 The present invention relates to an information processing device and an information processing system that manage the destinations for files stored in non-volatile memory.

工作機械等の産業機械を制御する制御装置は、産業機械を制御するための制御用プログラムを記憶したり、産業機械の動作状況を記録したりするためのストレージデバイスを備えている。制御装置は、複数の産業機械が動作する環境に設置されることが多く、振動等の影響を受けやすい劣悪な状況下で動作する。そのため、制御装置ではストレージデバイスとして駆動部分が無く振動による影響を受けにくいNANDフラッシュを使用した半導体ストレージが用いられる事がある。 Control devices that control industrial machines such as machine tools are equipped with storage devices for storing control programs for controlling the industrial machines and for recording the operating status of the industrial machines. Control devices are often installed in environments where multiple industrial machines are operating, and operate under poor conditions where they are susceptible to the effects of vibrations and other factors. For this reason, control devices sometimes use semiconductor storage that uses NAND flash as a storage device, which has no moving parts and is less susceptible to the effects of vibrations.

SSD(Solid State Drive)等のNANDフラッシュを利用した不揮発性メモリは、メモリセルの集合であるページと呼ばれる単位でデータの書き込み及び読み込みが行われる。また、ページに書き込まれているデータの消去は、複数のページをまとめたブロックという単位で行われる。そして、フラッシュメモリではデータの上書きを行うことができないため、ページ内のデータを変更するときは、そのページを含むブロック全体のデータを一旦退避し、当該ブロックの消去を行なった後に、変更したデータと共にブロック全体を書き戻している。 In non-volatile memory that uses NAND flash, such as SSDs (Solid State Drives), data is written and read in units called pages, which are collections of memory cells. Data written to a page is erased in units called blocks, which are collections of multiple pages. Since flash memory does not allow data to be overwritten, when changing data within a page, the data in the entire block that contains that page is temporarily saved, the block is erased, and then the entire block is written back together with the changed data.

NANDフラッシュを利用したフラッシュメモリのメモリセルは、動作原理上絶縁体となる酸化膜が貫通する電子によって劣化するため、書き込み回数が限られる。そのため、フラッシュメモリでは、それぞれのブロックに対する書き込み消去回数をカウントすると共に、各ブロックの書き込み消去回数がなるべく均一になるように書き込み制御(ウェアレベリング)がなされている。そのため、最も書き込み消去回数の多いブロックの書き込み消去回数をフラッシュメモリから取得することで、フラッシュメモリの寿命を管理できる。例えば、最も書き込み消去回数の多いブロックの書き込み消去回数が、許容される最大書き込み消去回数の90%を超えた場合にアラームを出力することで、寿命の近づいたフラッシュメモリを交換することができる。 The memory cells of flash memory using NAND flash are degraded by electrons penetrating the oxide film, which acts as an insulator in terms of the operating principle, and so the number of times they can be written is limited. For this reason, in flash memory, the number of writes and erases for each block is counted, and write control (wear leveling) is performed so that the number of writes and erases for each block is as uniform as possible. Therefore, the lifespan of the flash memory can be managed by obtaining the number of writes and erases for the block with the most number of writes and erases from the flash memory. For example, an alarm can be output if the number of writes and erases for the block with the most number of writes and erases exceeds 90% of the maximum number of writes and erases allowed, allowing flash memory that is approaching the end of its life to be replaced.

一方、不揮発性メモリには、フラッシュメモリと異なり、電気的に劣化する構成を持たない不揮発性メモリがある。本開示では、このような不揮発性メモリを書込み回数制限のない不揮発性メモリと呼ぶ。書込み回数制限のない不揮発性メモリには、例えば、MRAMやバッテリバックアップされたSRAMがある。
書込み回数制限のない不揮発性メモリは、一般的に容量のあたりのコストが高い。そのため、不揮発性メモリのハードウェアコストを抑えるために、従来の装置には、書込み回数制限のある不揮発性メモリと書込み回数制限のない不揮発性メモリの両方を搭載し、書込み回数制限のある不揮発性メモリには書込み頻度が低いファイルを保存し、書込み回数制限のない不揮発性メモリには書込み頻度が高いファイルを保存するものがある。
On the other hand, there is a non-volatile memory that does not have a configuration that is electrically degraded, unlike a flash memory. In this disclosure, such a non-volatile memory is called a non-volatile memory with no write count limit. Examples of non-volatile memories with no write count limit include MRAM and battery-backed SRAM.
Non-volatile memory without a write count limit generally has a high cost per capacity. Therefore, in order to reduce the hardware cost of non-volatile memory, some conventional devices are equipped with both non-volatile memory with a write count limit and non-volatile memory without a write count limit, and store files with low write frequency in the non-volatile memory with a write count limit and files with high write frequency in the non-volatile memory without a write count limit.

しかし、書込み頻度に関しては事前に分かるものではなく、制御装置の使用状況、制御対象となる機械の使用状況、各機械の機能の使用状況に応じて書込み頻度が変わるファイルがある。どのデータの書込み頻度が高いかは制御装置の使用前に知ることはできない。 However, the write frequency is not known in advance, and there are files whose write frequency changes depending on the usage of the control device, the usage of the machine to be controlled, and the usage of each machine's functions. It is not possible to know which data is written to frequently before using the control device.

書込み頻度の高いファイルを書込み回数制限のない不揮発性メモリに保存する技術として、あるタスクからの、フラッシュメモリへの書込み量(もしくは書込み頻度や書込み回数)がある閾値より高い場合には、そのタスクからのファイルを書込み回数制限のない不揮発性メモリに保存する技術が存在する。例えば、特許文献1参照。 As a technology for storing frequently written files in non-volatile memory with no limit on the number of writes, there is a technology that stores files from a certain task in non-volatile memory with no limit on the number of writes if the amount of writing (or the frequency of writing or the number of writes) to flash memory from that task is higher than a certain threshold. For example, see Patent Document 1.

特許公報6193834号公報Patent Publication No. 6193834

書込み回数制限のない不揮発性メモリは、容量あたりのコストが高いため、使用開始前に凡その使用量を予想し、必要最低限の容量の不揮発性メモリを搭載することが一般的である。そのため、予想よりも多く書込みが行われる場合には、容量の大きな不揮発性メモリへの交換が必要となる。 Non-volatile memory with no limit on the number of times it can be written has a high cost per unit of capacity, so it is common to estimate the approximate amount of usage before starting to use it and install non-volatile memory with the minimum capacity required. Therefore, if more writing is done than expected, it will be necessary to replace it with non-volatile memory with a larger capacity.

不揮発性メモリの交換は、コストと手間がかかる。ハードウェア資源を有効に使うためには、最初に搭載されていた不揮発性メモリを交換せずに使い続けることができたほうがよい。 Replacing non-volatile memory is costly and time-consuming. To make effective use of hardware resources, it is better to be able to continue using the non-volatile memory originally installed without having to replace it.

書込み回数制限のない不揮発性メモリと書込み回数制限のある不揮発性メモリとの両方を使用する場合、最初に搭載されていた不揮発性メモリを交換せずに使い続けるために、ファイルを効率的に分配し、書込み回数制限のある不揮発性メモリの寿命を延ばす技術が望まれている。 When using both non-volatile memory with no write limit and non-volatile memory with a write limit, there is a need for technology that efficiently distributes files and extends the lifespan of the non-volatile memory with a write limit so that the originally installed non-volatile memory can continue to be used without replacing it.

本開示の一態様は、情報処理装置であって、書込み回数制限のない第1の不揮発性メモリと、書込み回数制限のある第2の不揮発性メモリと、通常のタスクを実行する通常タスク実行部と、通常のタスクにおけるファイルの書込み履歴を記憶するファイル情報記憶部と、ファイルの書込み履歴に基づき、第2の不揮発性メモリの書込み頻度が低くなるようにファイル情報記憶部に記憶されたファイルの保存先を決定するファイル保存先決定部と、ファイル保存先決定部が決定した保存先に従い、第1の不揮発性メモリ又は第2の不揮発性メモリへファイルを保存させるファイル保存先変更部と、前記ファイル保存先決定部が決定したファイルの保存先に基づき、前記第1の不揮発性メモリ又は前記第2の不揮発性メモリに記憶するファイルの再配置を行う再配置実行部と、再配置が実行されているファイルの識別情報を記憶する再配置ファイル情報記憶部と、を備え、前記再配置実行部は、再配置が中断していた場合に前記識別情報を基に再配置を再開する One aspect of the present disclosure is an information processing device comprising: a first non-volatile memory with no limit on the number of writes; a second non-volatile memory with a limit on the number of writes; a normal task execution unit that executes normal tasks; a file information storage unit that stores a file write history in the normal tasks; a file save destination determination unit that determines a save destination of a file stored in the file information storage unit based on the file write history so that the write frequency of the second non-volatile memory is low; a file save destination change unit that saves the file in the first non-volatile memory or the second non-volatile memory in accordance with the save destination determined by the file save destination determination unit; a relocation execution unit that relocates a file to be stored in the first non-volatile memory or the second non-volatile memory based on the save destination of the file determined by the file save destination determination unit; and a relocation file information storage unit that stores identification information of a file for which relocation is being performed, and the relocation execution unit resumes the relocation based on the identification information if the relocation is interrupted .

本開示の一態様は、情報処理システムであって、書込み回数制限のない第1の不揮発性メモリと、書込み回数制限のある第2の不揮発性メモリと、通常のタスクを実行する通常タスク実行部と、通常のタスクにおけるファイルの書込み履歴を記憶するファイル情報記憶部と、ファイルの書込み履歴に基づき、第2の不揮発性メモリの書込み頻度が低くなるようにファイル情報記憶部に記憶されたファイルの保存先を決定するファイル保存先決定部と、ファイル保存先決定部が決定した保存先に従い第1の不揮発性メモリ又は第2の不揮発性メモリへファイルを保存させるファイル保存先変更部と、前記ファイル保存先決定部が決定したファイルの保存先に基づき、前記第1の不揮発性メモリ又は前記第2の不揮発性メモリに記憶するファイルの再配置を行う再配置実行部と、再配置が実行されているファイルの識別情報を記憶する再配置ファイル情報記憶部と、を備え、前記再配置実行部は、再配置が中断していた場合に前記識別情報を基に再配置を再開する One aspect of the present disclosure is an information processing system comprising: a first non-volatile memory with no limit on the number of writes; a second non-volatile memory with a limit on the number of writes; a normal task execution unit that executes normal tasks; a file information storage unit that stores a file write history in the normal task; a file storage destination determination unit that determines a storage destination of a file stored in the file information storage unit based on the file write history so that the write frequency of the second non-volatile memory is low; a file storage destination change unit that saves the file in the first non-volatile memory or the second non -volatile memory in accordance with the storage destination determined by the file storage destination determination unit; a relocation execution unit that relocates a file stored in the first non-volatile memory or the second non-volatile memory based on the storage destination of the file determined by the file storage destination determination unit; and a relocation file information storage unit that stores identification information of a file for which relocation is being performed, and the relocation execution unit resumes the relocation based on the identification information if the relocation is interrupted .

本開示によれば、書込み回数制限のない不揮発性メモリと書込み回数制限のある不揮発性メモリとの両方を使用する場合、ファイルを効率的に分配し、書込み回数制限のある不揮発性メモリの寿命を延ばすことができる。 According to the present disclosure, when using both non-volatile memory with no write count limit and non-volatile memory with a write count limit, files can be distributed efficiently and the lifespan of the non-volatile memory with a write count limit can be extended.

本開示の情報処理装置のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of an information processing device according to the present disclosure. 第1の開示の情報処理装置のブロック図である。FIG. 1 is a block diagram of an information processing apparatus according to a first disclosure. ファイル情報記憶部の一例を示す図である。FIG. 4 illustrates an example of a file information storage unit. 不揮発性メモリへの書込み履歴の一例を示す図である。FIG. 13 is a diagram showing an example of a write history to a non-volatile memory. ファイルの組合せと、第1の不揮発性メモリの合計使用容量、第2の不揮発性メモリの書込み頻度合計の一例を示す図である。11 is a diagram showing an example of a combination of files, a total used capacity of a first nonvolatile memory, and a total write frequency of a second nonvolatile memory; FIG. 第2の開示の情報処理装置のブロック図である。FIG. 13 is a block diagram of an information processing apparatus according to a second disclosure. 書込み頻度修正を行う場合のファイル記憶部の一例を示す図である。FIG. 13 is a diagram illustrating an example of a file storage unit when writing frequency correction is performed. 再配置実行部を備える情報処理装置のブロック図である。1 is a block diagram of an information processing device including a reallocation execution unit. 再配置処理を説明するフローチャートである。13 is a flowchart illustrating a reallocation process. 第1の不揮発性メモリにファイル情報記憶部を設けた情報処理装置のブロック図である。1 is a block diagram of an information processing device in which a file information storage unit is provided in a first nonvolatile memory. 第2の不揮発性メモリにファイル情報記憶部を設けた情報処理装置のブロック図である。FIG. 11 is a block diagram of an information processing device in which a file information storage unit is provided in a second nonvolatile memory. 第3の不揮発性メモリにファイル情報記憶部を設けた情報処理装置のブロック図である。FIG. 11 is a block diagram of an information processing device in which a file information storage unit is provided in a third nonvolatile memory.

[第1の開示]
以下、本開示の情報処理装置1の一例を示す。情報処理装置1は、例えば工作機械などの産業機械を制御する制御装置として実装することができる。本開示は、書込み回数制限のない不揮発性メモリと書込み回数制限のある不揮発性メモリとの両方を使用する情報処理装置1に適用されるものであり、情報処理装置1の種類は特に限定しない。
[First Disclosure]
An example of the information processing device 1 of the present disclosure is shown below. The information processing device 1 can be implemented as a control device that controls industrial machinery such as a machine tool. The present disclosure is applied to the information processing device 1 that uses both a non-volatile memory with no write count limit and a non-volatile memory with a write count limit, and the type of the information processing device 1 is not particularly limited.

情報処理装置1は、図1に示すように、情報処理装置1を全体的に制御するCPU111、プログラムやデータを記録するROM112、一時的にデータを展開するためのRAM113を備え、CPU111はバス120を介してROM112に記録されたシステムプログラムを読み出し、システムプログラムに従って情報処理装置1の全体を制御する。 As shown in FIG. 1, the information processing device 1 includes a CPU 111 that controls the entire information processing device 1, a ROM 112 that records programs and data, and a RAM 113 for temporarily expanding data. The CPU 111 reads the system program recorded in the ROM 112 via a bus 120, and controls the entire information processing device 1 in accordance with the system program.

インタフェース115は、情報処理装置1とアダプタ等の外部機器121と接続するためのインタフェース115である。外部機器121側からはプログラムや各種パラメータ等が読み込まれる。また、情報処理装置1内で編集したプログラムや各種パラメータ等は、外部機器121を介して外部記憶手段に記憶してもよい。 The interface 115 is an interface for connecting the information processing device 1 to an external device 121 such as an adapter. Programs, various parameters, etc. are read from the external device 121. In addition, programs, various parameters, etc. edited within the information processing device 1 may be stored in an external storage means via the external device 121.

情報処理装置1は、インタフェース116を介して表示部122に接続されている。情報処理装置1は、後述するファイル管理を行う。ファイル管理のためのプログラムは、後述する第1の不揮発性メモリ124、第2の不揮発性メモリ125、第3の不揮発性メモリ127に記憶する。 The information processing device 1 is connected to the display unit 122 via the interface 116. The information processing device 1 performs file management, which will be described later. Programs for file management are stored in a first non-volatile memory 124, a second non-volatile memory 125, and a third non-volatile memory 127, which will be described later.

不揮発性メモリには、書込み回数制限のない第1の不揮発性メモリ124と、書込み回数制限のある第2の不揮発性メモリ125がある。第1のドライバ118は、CPU111からのファイルの読込み要求及び書込み要求を受け付け、第1の不揮発性メモリ124へのデータの読書きを制御する。第2のドライバ119は、CPU111からのファイルの読込み要求及び書込み要求を受け付け、第2の不揮発性メモリ125へのデータの読書きを制御する。
第1の不揮発性メモリ124は、MRAMやバッテリバックアップされたSRAMである。MRAMとは、半導体メモリの1種で、記憶素子の素材の一部に磁性体を用い、磁化の変化によって信号の記録を行う。電源が失われても記録された情報が消えない。SRAMは、揮発性の半導体メモリの一種であるが、小型の電池を組合せ、機器本体の電源を切っても内容が失われない不揮発性メモリとして用いることができる。第1の不揮発性メモリ124は、駆動部がないため衝撃や振動に強いため、工場などでの使用に適しているが、容量あたりのコストが高いため、使用可能な容量に制限がある。
第2の不揮発性メモリ125は、例えば、フラッシュメモリである。フラッシュメモリとは、半導体素子を利用した記憶装置の1つで、何度も繰り返し書込みができ、通電をやめても記憶内容が維持される。フラッシュメモリは、駆動部がないため衝撃や振動に強いため、工場などでの使用に適しているが、素子の構造上、書込み回数に制限がある。
The nonvolatile memories include a first nonvolatile memory 124 that has no limit on the number of writes, and a second nonvolatile memory 125 that has a limit on the number of writes. The first driver 118 receives file read and write requests from the CPU 111, and controls reading and writing of data to the first nonvolatile memory 124. The second driver 119 receives file read and write requests from the CPU 111, and controls reading and writing of data to the second nonvolatile memory 125.
The first non-volatile memory 124 is an MRAM or a battery-backed SRAM. MRAM is a type of semiconductor memory that uses a magnetic material as part of the material of the memory element, and records signals by changing magnetization. The recorded information is not erased even if the power is lost. SRAM is a type of volatile semiconductor memory, but it can be used as a non-volatile memory that does not lose its contents even when the power of the device body is turned off by combining it with a small battery. The first non-volatile memory 124 has no driving part and is resistant to shocks and vibrations, making it suitable for use in factories, etc., but the cost per capacity is high and the usable capacity is limited.
The second non-volatile memory 125 is, for example, a flash memory. A flash memory is a type of storage device that uses a semiconductor element, and can be written to repeatedly, and the stored contents are maintained even when the power is turned off. Since flash memory has no moving parts and is resistant to shocks and vibrations, it is suitable for use in factories, etc., but the number of times it can be written to is limited due to the structure of the element.

第1の不揮発性メモリ124、第2の不揮発性メモリ125には、インタフェース115、116、117を介して外部機器121から読み込まれたプログラムや入力部を介して入力されたユーザ操作、情報処理装置1の各部や産業機械等から取得された各種データ(例えば、設定パラメータやセンサ情報など)が記憶される。 The first non-volatile memory 124 and the second non-volatile memory 125 store programs read from the external device 121 via the interfaces 115, 116, and 117, user operations input via the input unit, and various data (e.g., setting parameters, sensor information, etc.) acquired from each part of the information processing device 1 and industrial machinery, etc.

[第1の開示]
図2は、本開示の情報処理装置1のブロック図である。情報処理装置1は、情報処理装置が本来すべき通常のタスクを実行する通常タスク実行部11、通常タスクにおけるファイルの書込み履歴を記憶するファイル情報記憶部12、ファイルの保存先(第1の不揮発性メモリ124又は第2の不揮発性メモリ125)を管理するファイル管理部13を備える。
[First Disclosure]
2 is a block diagram of the information processing device 1 of the present disclosure. The information processing device 1 includes a normal task execution unit 11 that executes normal tasks that the information processing device should normally perform, a file information storage unit 12 that stores file writing history in normal tasks, and a file management unit 13 that manages the file storage destination (first non-volatile memory 124 or second non-volatile memory 125).

通常タスク実行部11は、本開示のファイル管理を除くタスク全体を実行する。このようなタスクを通常タスクと呼ぶ。通常タスクとは、特別なタスクではなく、情報処理装置1が動作するために必要なタスク全般を指す。例えば、情報処理装置1が数値制御装置の場合、情報処理装置1は加工プログラムを解析し、工作機械への指令を生成し、生成した指令を出力する。また、エラーが発生したときには、警告を出したり、機械を停止させる。ユーザからの入力を受け付け、各種の設定変更を受け付ける。通常タスクは、情報処理装置1を作動したときに実行されるタスク全体を意味する。 The normal task execution unit 11 executes all tasks except for the file management of this disclosure. Such tasks are called normal tasks. A normal task is not a special task, but refers to all tasks necessary for the operation of the information processing device 1. For example, if the information processing device 1 is a numerical control device, the information processing device 1 analyzes a machining program, generates commands for a machine tool, and outputs the generated commands. In addition, when an error occurs, it issues a warning or stops the machine. It accepts input from the user and accepts various setting changes. A normal task refers to all tasks executed when the information processing device 1 is operated.

ファイル情報記憶部12は、通常タスク実行部11でのファイルの書込み履歴とファイルの保存先を記憶する。図3のファイル情報記憶部12は、ファイル名、ファイルの書込み頻度、ファイルサイズ、保存先情報を記憶する。書込み頻度は、各ファイルにおける1日当たりの書込み回数である。書込み頻度は、ファイルの総書込み回数を日数で割って算出する。ファイルサイズは、各ファイルのファイルサイズである。保存先情報には、各ファイルの保存先が第1の不揮発性メモリ124又は第2の不揮発性メモリ125であるかを記録する。ファイル管理部13がファイルの保存先を決定するまで、保存先情報には、デフォルトの保存先を記録する。デフォルトの保存先とは、例えば、情報処理装置1の使用開始前に予想した保存先とするが、これに限定されない。 The file information storage unit 12 normally stores the file writing history and the file save destination in the task execution unit 11. The file information storage unit 12 in FIG. 3 stores the file name, file write frequency, file size, and save destination information. The write frequency is the number of writes per day for each file. The write frequency is calculated by dividing the total number of writes for the file by the number of days. The file size is the file size of each file. The save destination information records whether the save destination for each file is the first non-volatile memory 124 or the second non-volatile memory 125. Until the file management unit 13 determines the save destination for the file, the save destination information records the default save destination. The default save destination is, for example, but is not limited to, the save destination predicted before starting to use the information processing device 1.

ファイル管理部13は、ファイル管理の開始を指示するファイル保存先変更要求部14と、第1の不揮発性メモリ124と第2の不揮発性メモリ125の何れにファイルを保存するかを決定するファイル保存先決定部15と、決定した保存先にファイルを保存させるファイル保存先変更部16とを有する。 The file management unit 13 has a file storage destination change request unit 14 that instructs the start of file management, a file storage destination determination unit 15 that determines whether to store the file in the first non-volatile memory 124 or the second non-volatile memory 125, and a file storage destination change unit 16 that saves the file in the determined storage destination.

ファイル保存先変更要求部14は、ファイル保存先の変更処理を開始させる。ファイル保存先変更要求部14では、ファイルの保存先の変更処理の開始タイミングを設定することができる。開始タイミングは、例えば、事前に設定した通電時間が経過したとき、ユーザが設定した時間、第2の不揮発性メモリ125の書込み頻度がある閾値を超えたときなどがある。開始タイミングの条件は予め設定しておいてもよいし、デフォルトで設定されていてもよい。
また、応用として、ファイルの書込み頻度と、情報処理装置1の動作状態とを関連付けて記憶しておき、情報処理装置1の動作状態が変わったときに、保存先変更要求を出力し、動作状態に関連づけられた書込み頻度に基づいて、ファイルの保存先を決定してもよい。
The file destination change request unit 14 starts the process of changing the file destination. The file destination change request unit 14 can set the start timing of the process of changing the file destination. The start timing can be, for example, when a power-on time set in advance has elapsed, when a time set by the user has elapsed, or when the writing frequency of the second non-volatile memory 125 has exceeded a certain threshold. The condition for the start timing may be set in advance or may be set as a default.
As an application, the file write frequency and the operating status of the information processing device 1 may be stored in association with each other, and when the operating status of the information processing device 1 changes, a request to change the save destination may be output and the save destination of the file may be determined based on the write frequency associated with the operating status.

ファイル保存先決定部15は、保存先変更要求を受け取ると、ファイル情報記憶部12に記録された書込み履歴に基づき、第2の不揮発性メモリ125の書込み頻度が低くなるように各ファイルの保存先を決定する。 When the file destination determination unit 15 receives a request to change the destination, it determines the destination for each file based on the write history recorded in the file information storage unit 12 so as to reduce the writing frequency to the second non-volatile memory 125.

ファイル保存先変更部16は、第1のドライバ118及び第2のドライバ119に指令を出力し、決定した保存先(第1の不揮発性メモリ124又は第2の不揮発性メモリ125)にファイルを保存させる。 The file storage destination change unit 16 outputs a command to the first driver 118 and the second driver 119 to store the file in the determined storage destination (the first non-volatile memory 124 or the second non-volatile memory 125).

[ファイル保存先の決定方法]
ファイルの保存先の決定方法の一例を示す。この例では、各ファイルの保存先の組合せ全てについて、ファイル情報記憶部12に記憶されたファイルの書込み履歴を参照して、各組合せにおける、第1の不揮発性メモリ124の合計使用容量及び第2の不揮発性メモリ125の書込み頻度合計を求める。
この結果、第1の不揮発性メモリ124の合計使用容量が、第1の不揮発性メモリ124の容量の上限を越えず、第2の不揮発性メモリ125の書込み頻度の合計が最も低い組合せを採用する。
[File save destination determination method]
An example of a method for determining a file storage destination is shown below. In this example, for all combinations of file storage destinations, the total usage capacity of the first non-volatile memory 124 and the total writing frequency of the second non-volatile memory 125 are calculated for each combination by referring to the file write history stored in the file information storage unit 12.
As a result, the combination in which the total usage capacity of the first non-volatile memory 124 does not exceed the upper capacity limit of the first non-volatile memory 124 and the total writing frequency of the second non-volatile memory 125 is the lowest is adopted.

例えば、図4では、書込み履歴を見ると、ファイル1~ファイル4の4つのファイルが書き込まれており、各ファイル1~ファイル4のファイル容量はそれぞれ300Kbyte、500Kbyte、800Kbyte、200Kbyteであり、各ファイル1~ファイル4の1日当たりの書込み頻度は、4回、5回、10回、3回である。 For example, in Figure 4, looking at the write history, four files, file 1 to file 4, have been written, the file sizes of file 1 to file 4 are 300 Kbytes, 500 Kbytes, 800 Kbytes, and 200 Kbytes, respectively, and the write frequency per day of file 1 to file 4 is 4 times, 5 times, 10 times, and 3 times.

4つのファイルの組合せと、各組合せについての、第1の不揮発性メモリ124の合計使用量、及び第2の不揮発性125メモリの書込み頻度合計は、図5のようになる。
各組合せについて、第1の不揮発性メモリ124に割り当てられたファイル容量の合計(以下、第1の不揮発性メモリ124の合計使用容量という)が、第1の不揮発性メモリ124の最大容量(1024Kbyte)未満となる組合せは、組合せ1~5、組合せ9~13である。
第1の不揮発性メモリ124の合計使用容量が第1の不揮発性メモリ124の最大容量を超えない組合せのうち、第2の不揮発性メモリ125の書込み頻度の合計が最も低い組合せは、組合せ13である。この結果により、ファイル保存先決定部15は、ファイル1とファイル2の保存先を第2の不揮発性メモリ125、ファイル3とファイル4の保存先を第1の不揮発性メモリ124と決定する。
The combinations of the four files, the total usage amount of the first non-volatile memory 124, and the total write frequency of the second non-volatile memory 125 for each combination are as shown in FIG.
For each combination, the combinations in which the total file capacity allocated to the first non-volatile memory 124 (hereinafter referred to as the total used capacity of the first non-volatile memory 124) is less than the maximum capacity of the first non-volatile memory 124 (1024 Kbytes) are combinations 1 to 5 and combinations 9 to 13.
Among the combinations in which the total used capacity of the first non-volatile memory 124 does not exceed the maximum capacity of the first non-volatile memory 124, the combination in which the total write frequency of the second non-volatile memory 125 is the lowest is combination 13. Based on this result, the file storage destination determination unit 15 determines that the storage destination of files 1 and 2 is the second non-volatile memory 125, and the storage destination of files 3 and 4 is the first non-volatile memory 124.

なお、ファイルの保存先の決定方法は上述の方法に限定されない。例えば、ファイル情報記憶部12を参照し、書込み回数の多いファイルから順に第1の不揮発性メモリ124に割り当て、割り当てたファイルの合計容量が第1の不揮発性メモリ124の最大容量を超えた場合には、それ以降のファイルを第2の不揮発性メモリ125に割り当てるよう決定してもよい。
ファイル保存先決定部15は、ファイル情報記憶部12に記憶されたファイルの書込み履歴に基づき第2の不揮発性メモリ125の書込み頻度が低くなるように各ファイルの保存先を決定する。
The method of determining the file storage destination is not limited to the above-mentioned method. For example, the file information storage unit 12 may be referenced, and files with the most frequent write counts may be allocated to the first non-volatile memory 124, and when the total capacity of the allocated files exceeds the maximum capacity of the first non-volatile memory 124, the subsequent files may be allocated to the second non-volatile memory 125.
The file destination determination unit 15 determines a destination for each file based on the writing history of the file stored in the file information storage unit 12 so that the writing frequency to the second non-volatile memory 125 is low.

[第2の開示]
図6は、第2の開示の情報処理装置1のブロック図である。第2の開示において、情報処理装置1は、書込み頻度修正部17を備える。
書込み頻度修正部17は、書込み履歴において、一時的に書込み頻度が大きく変動しているデータを除外する。例えば、機械の調整中などには、ファイルの書込み頻度が一時的に高くなる。書込み頻度修正部17は、例えば、四分位数や外れ値検定などを行い、書込み頻度が高い若しくは低い場合に、その時期のデータを書込み履歴から除外する。
[Second Disclosure]
6 is a block diagram of the information processing device 1 according to the second disclosure. In the second disclosure, the information processing device 1 includes a writing frequency correction unit 17.
The write frequency correction unit 17 excludes data in the write history that shows a large temporary change in the write frequency. For example, the file write frequency temporarily increases during machine adjustment. The write frequency correction unit 17 performs, for example, quartiles or outlier testing, and excludes data for a period when the write frequency is high or low from the write history.

図7は、書込み頻度修正を行う場合のファイル情報記憶部12の例である。書込み頻度修正を行う場合には、各ファイルについて所定の時間ごとの書込み頻度を記録する。図7(a)では、1日目、2日目、…と1日時間ごとの書込み頻度を記録している。
図7(b)に示すように、あるファイルの1日目の書込み頻度が9回、2日目が11回、3日目が100回、4日目が10回の場合、3日目だけが大きく変動している。書込み頻度修正部17は、3日目のデータを除外して、1日目と2日目と4日目の平均を算出する。平均値は10[回/日]となるので、この値が修正後の書込み頻度となる。
7 shows an example of the file information storage unit 12 when modifying the writing frequency. When modifying the writing frequency, the writing frequency for each file is recorded for each predetermined time. In FIG. 7(a), the writing frequency for each day and time is recorded, for example, the first day, the second day, and so on.
7B, if the write frequency of a certain file is 9 times on the first day, 11 times on the second day, 100 times on the third day, and 10 times on the fourth day, only the third day fluctuates greatly. The write frequency correction unit 17 excludes the data for the third day and calculates the average of the first, second, and fourth days. The average value is 10 times/day, and this value becomes the corrected write frequency.

ファイルの保存先は、修正後の書込み頻度に基づいて算出する。書込み頻度を修正することにより、例えば、3日目の書込み回数100回のように、一時的な変化の影響を受けることなく、定常的な使用状態で効率的に機能するファイル管理ができる。 The file save destination is calculated based on the revised write frequency. By correcting the write frequency, file management can be performed efficiently under normal usage conditions without being affected by temporary changes, such as 100 writes on the third day.

[ファイルの再配置]
ファイルの保存先を決定した場合、決定した保存先にファイルを移動するためのファイルの再配置が必要になる。図8の情報処理装置1は、再配置実行部18を備える。再配置実行部18は、以下のようにファイルの再配置を行う。
まず、ファイル情報記憶部12の保存先情報に従い、第1の不揮発性メモリ124から第2の不揮発性メモリ125へのファイルの移動を行う。第1の不揮発性メモリ124から第2の不揮発性メモリ125へのファイルの移動を最初に行うのは、第2の不揮発性メモリ125の容量が大きくメモリに空きがあるためである。
次に、ファイル情報記憶部12の保存先情報に従い、第2の不揮発性メモリ125に記録したファイルを第1の不揮発性メモリ124に移動する。ファイル情報記憶部12に記録された全てのファイルを移動すると、ファイルの再配置が完了する。
[File relocation]
When the destination to save the file has been determined, the file needs to be relocated in order to move the file to the determined destination. The information processing device 1 in Fig. 8 includes a relocation execution unit 18. The relocation execution unit 18 relocates the file as follows.
First, in accordance with the destination information in the file information storage unit 12, a file is moved from the first non-volatile memory 124 to the second non-volatile memory 125. The reason why the file is moved from the first non-volatile memory 124 to the second non-volatile memory 125 first is that the capacity of the second non-volatile memory 125 is large and there is free memory space.
Next, in accordance with the destination information in the file information storage unit 12, the files recorded in the second non-volatile memory 125 are moved to the first non-volatile memory 124. When all the files recorded in the file information storage unit 12 have been moved, the relocation of the files is completed.

情報処理装置1は、停電やエラーなどの理由により停止することがある。再配置実行部18は、再配置処理が中断しても継続して再開させるため、再配置されているファイルに関する情報を記憶する。
本開示では、ファイル情報記憶部12に記憶されたファイルにファイル1、ファイル2、ファイル3、・・・というファイル番号が割り当てられているものとする。再配置ファイル情報記憶部19は、ファイルを移動するごとに、移動を行ったファイルの番号Nを記憶する。ファイル情報記憶部12の最後のファイル番号を最大ファイル番号と呼ぶ。
The information processing device 1 may stop due to a power outage, an error, etc. The relocation execution unit 18 stores information about the file being relocated in order to resume the relocation process even if it is interrupted.
In the present disclosure, it is assumed that the files stored in the file information storage unit 12 are assigned file numbers such as file 1, file 2, file 3, .... Each time a file is moved, the relocation file information storage unit 19 stores the number N of the moved file. The last file number in the file information storage unit 12 is called the maximum file number.

図9を参照して再配置処理について説明する。
再配置実行部18は、最初に、ファイル番号Nに1を設定する(ステップS1)。これはファイル1が再配置処理の対象であることを示す。次いで、ファイル情報記憶部12を参照し、ファイルNが第1の不揮発性メモリ124から第2の不揮発性メモリ125に移動するファイルであれば、第1の不揮発性メモリ124から第2の不揮発性メモリ125にファイルNを移動する(ステップS2)。ファイルNの再配置処理が完了するとファイル番号を1インクリメントする(ステップS3)。
The rearrangement process will be described with reference to FIG.
The relocation execution unit 18 first sets the file number N to 1 (step S1). This indicates that file 1 is the target of the relocation process. Next, the file information storage unit 12 is referenced, and if file N is a file to be moved from the first non-volatile memory 124 to the second non-volatile memory 125, file N is moved from the first non-volatile memory 124 to the second non-volatile memory 125 (step S2). When the relocation process of file N is completed, the file number is incremented by 1 (step S3).

再配置実行部18は、ステップS3でインクリメントしたファイル番号Nと、ファイル情報記憶部12の最大ファイル番号を比較し、ファイル番号Nが最大ファイル番号以下である場合(ステップS4;No)、ステップS2に移行し、ファイルNの再配置処理を行う。
ファイル番号Nが最大ファイル番号を超えた場合(ステップS4;Yes)、第1の不揮発性メモリ124から第2の不揮発性メモリ125へのファイルの移動は完了する。再配置実行部18はステップS5に処理を移行する。
The relocation execution unit 18 compares the file number N incremented in step S3 with the maximum file number in the file information storage unit 12, and if the file number N is less than or equal to the maximum file number (step S4; No), it proceeds to step S2 and performs the relocation process for file N.
If the file number N exceeds the maximum file number (step S4; Yes), the transfer of the file from the first non-volatile memory 124 to the second non-volatile memory 125 is completed. The relocation execution unit 18 proceeds to the process of step S5.

再配置実行部18は、ファイル番号Nを1に設定する(ステップS5)。これはファイル1が再配置処理の対象であることを示す。次いで、ファイル情報記憶部12を参照し、ファイルNが第2の不揮発性メモリ125から第1の不揮発性メモリ124に移動するファイルであれば、第2の不揮発性メモリ125から第1の不揮発性メモリ124にファイルNを移動する(ステップS6)。ファイルNの再配置処理が完了するとファイル番号を1インクリメントする(ステップS7)。 The relocation execution unit 18 sets the file number N to 1 (step S5). This indicates that file 1 is the target of the relocation process. Next, the file information storage unit 12 is referenced, and if file N is a file to be moved from the second non-volatile memory 125 to the first non-volatile memory 124, file N is moved from the second non-volatile memory 125 to the first non-volatile memory 124 (step S6). When the relocation process for file N is completed, the file number is incremented by 1 (step S7).

再配置実行部18は、ステップS3でインクリメントしたファイル番号Nと、ファイル情報記憶部12の最大ファイル番号を比較し、ファイル番号Nが最大ファイル番号以下である場合(ステップS8;No)、ステップS6に移行し、ファイルNの再配置処理を行う。
ファイル番号Nが最大ファイル番号を超えた場合(ステップS8;Yes)、第2の不揮発性メモリ125から第1の不揮発性メモリ124へのファイルの移動が完了する。
最後に、再配置実行部18は、再配置ファイル情報記憶部19のファイル番号Nに0を代入して再配置処理を終了する(ステップS9)。
The relocation execution unit 18 compares the file number N incremented in step S3 with the maximum file number in the file information storage unit 12, and if the file number N is less than or equal to the maximum file number (step S8; No), it proceeds to step S6 and performs the relocation process for file N.
If the file number N exceeds the maximum file number (Step S8; Yes), the transfer of the file from the second non-volatile memory 125 to the first non-volatile memory 124 is completed.
Finally, the relocation execution unit 18 assigns 0 to the file number N in the relocation file information storage unit 19, and ends the relocation process (step S9).

再配置実行部18は、ステップS1からステップS4において第1の不揮発性メモリ124から第2の不揮発性メモリ125へのファイルの再配置を行い、ステップS5からステップS8において第2の不揮発性メモリ125から第1の不揮発性メモリ124へのファイルの再配置を行う。
再配置処理が中断した場合には、再配置ファイル情報記憶部19には0以外のファイル番号Nが保存されている。
再配置ファイル情報記憶部19のファイル番号Nの値が、第2の不揮発性メモリ125に保存するファイルのファイル番号の場合には、ファイル番号NのステップS2の直後に中断したと判定し、ファイル番号N+1のファイルのステップS2から再開する。
再配置ファイル情報記憶部19のファイル番号Nの値が、第1の不揮発性メモリ124に保存するファイルのファイル番号の場合には、ファイル番号NのステップS6の直後に中断したと判定し、ファイル番号N+1のファイルのステップS6から再開する。
The relocation execution unit 18 relocates files from the first non-volatile memory 124 to the second non-volatile memory 125 in steps S1 to S4, and relocates files from the second non-volatile memory 125 to the first non-volatile memory 124 in steps S5 to S8.
When the relocation process is interrupted, a file number N other than 0 is stored in the relocation file information storage unit 19 .
If the value of file number N in the relocation file information storage unit 19 is the file number of a file to be stored in the second non-volatile memory 125, it is determined that the processing was interrupted immediately after step S2 for file number N, and processing is resumed from step S2 for the file with file number N+1.
If the value of file number N in the relocation file information storage unit 19 is the file number of a file to be stored in the first non-volatile memory 124, it is determined that the processing was interrupted immediately after step S6 for file number N, and processing is resumed from step S6 for the file with file number N+1.

[ファイル情報記憶部の保存先]
ファイル情報記憶部12は、第1の不揮発性メモリ124、第2の不揮発性メモリ125、第3の不揮発性メモリ127の何れかに記憶する。
図10は、第1の不揮発性メモリ124にファイル情報記憶部12を設けた例である。第1の不揮発性メモリ124にファイル情報記憶部12を設けると、ファイル情報記憶部への書き込みが、第2の不揮発性メモリへの寿命に影響を与えないという効果がある。
[File information storage destination]
The file information storage unit 12 stores the information in any one of the first non-volatile memory 124 , the second non-volatile memory 125 , and the third non-volatile memory 127 .
10 shows an example in which a file information storage unit 12 is provided in the first non-volatile memory 124. Providing the file information storage unit 12 in the first non-volatile memory 124 has the effect that writing to the file information storage unit does not affect the lifespan of the second non-volatile memory.

図11は、第2の不揮発性メモリ125にファイル情報記憶部12を設けた例である。第2の不揮発性メモリ125にファイル情報記憶部12を設けると、ファイル情報記憶部の容量が、容量あたりのコストが高い第1の不揮発性メモリの使用容量に影響を与えないという効果がある。 Figure 11 shows an example in which a file information storage unit 12 is provided in the second non-volatile memory 125. Providing a file information storage unit 12 in the second non-volatile memory 125 has the advantage that the capacity of the file information storage unit does not affect the capacity used by the first non-volatile memory, which has a high cost per capacity.

図13は、第3の不揮発性メモリ127にファイル情報記憶部12を設けた例である。第3の不揮発性メモリ127にファイル情報記憶部12を設けると、ファイル情報記憶部への書き込みが、第2の不揮発性メモリへの寿命に影響を与えず、さらにファイル情報記憶部の容量が、容量あたりのコストが高い第1の不揮発性メモリの使用容量に影響を与えないという効果がある。 Figure 13 shows an example in which a file information storage unit 12 is provided in the third non-volatile memory 127. Providing a file information storage unit 12 in the third non-volatile memory 127 has the advantage that writing to the file information storage unit does not affect the lifespan of the second non-volatile memory, and furthermore, the capacity of the file information storage unit does not affect the capacity used by the first non-volatile memory, which has a high cost per capacity.

以上説明したように、本開示にかかる情報処理装置1は、書込み回数制限のない第1の不揮発性メモリ124と、書込み回数制限のある第2の不揮発性メモリ125の少なくとも2つの不揮発性メモリ124、125を備え、通常タスク実行部11が通常のタスクを実行している間、ファイルの書込み履歴をファイル情報記憶部12に作成し、ファイルの書込み履歴に基づいて、第2の不揮発性メモリ125に書込み頻度が低くなるように、各ファイルの保存先を決定する。 As described above, the information processing device 1 according to the present disclosure includes at least two non-volatile memories 124, 125, a first non-volatile memory 124 with no limit on the number of writes and a second non-volatile memory 125 with a limit on the number of writes, and while the normal task execution unit 11 is executing a normal task, creates a file write history in the file information storage unit 12, and determines the save destination of each file based on the file write history so that the writing frequency to the second non-volatile memory 125 is low.

また、ファイルの書込み履歴に基づいて、書込み回数制限ない第1の不揮発性メモリ124に記憶するファイルをなるべく多くするように、ファイルの保存先を決定する。 In addition, based on the file writing history, the file storage destination is determined so that as many files as possible are stored in the first non-volatile memory 124, which has no limit on the number of times it can be written.

書込み頻度が大きく変動しているデータを除外することにより、一時的な変化の影響を受けることなく、定常的な使用状態において効率的に機能するファイル管理ができる。 By excluding data whose write frequency fluctuates greatly, file management can be achieved that functions efficiently under steady-state usage conditions without being affected by temporary changes.

また、ファイルの保存先を決定するだけでなく、決定した保存先へのファイルの再配置を行う。再配置の際には、移動を行ったファイル番号を記憶する。そのため、処理が中断しても継続的に再開できる。 In addition to deciding where to save the file, it also relocates the file to the decided save destination. When relocating, it remembers the file number of the file that was moved. This means that even if the process is interrupted, it can be resumed continuously.

1 情報処理装置
11 通常タスク実行部
12 ファイル情報記憶部
13 ファイル管理部
14 ファイル保存先変更要求部
15 ファイル保存先決定部
16 ファイル保存先変更部
17 書込み頻度修正部
18 再配置実行部
19 再配置ファイル情報記憶部
111 CPU
118 第1のドライバ
119 第2のドライバ
122 表示部
123 入力部
124 第1の不揮発性メモリ
125 第2の不揮発性メモリ
126 第3のドライバ
127 第3の不揮発性メモリ
REFERENCE SIGNS LIST 1 Information processing device 11 Normal task execution unit 12 File information storage unit 13 File management unit 14 File storage destination change request unit 15 File storage destination determination unit 16 File storage destination change unit 17 Write frequency correction unit 18 Relocation execution unit 19 Relocation file information storage unit 111 CPU
118 First driver 119 Second driver 122 Display unit 123 Input unit 124 First non-volatile memory 125 Second non-volatile memory 126 Third driver 127 Third non-volatile memory

Claims (10)

書込み回数制限のない第1の不揮発性メモリと、
書込み回数制限のある第2の不揮発性メモリと、
通常のタスクを実行する通常タスク実行部と、
前記通常のタスクにおけるファイルの書込み履歴を記憶するファイル情報記憶部と、
前記ファイルの書込み履歴に基づき、前記第2の不揮発性メモリの書込み頻度が低くなるように前記ファイル情報記憶部に記憶されたファイルの保存先を決定するファイル保存先決定部と、
前記ファイル保存先決定部が決定した保存先に従い、前記第1の不揮発性メモリ又は前記第2の不揮発性メモリへファイルを保存させるファイル保存先変更部と、
前記ファイル保存先決定部が決定したファイルの保存先に基づき、前記第1の不揮発性メモリ又は前記第2の不揮発性メモリに記憶するファイルの再配置を行う再配置実行部と、
再配置が実行されているファイルの識別情報を記憶する再配置ファイル情報記憶部と、
を備え、
前記再配置実行部は、再配置が中断していた場合に前記識別情報を基に再配置を再開する、
情報処理装置。
a first non-volatile memory having no limit on the number of write operations;
a second non-volatile memory having a write limit;
a normal task execution unit that executes normal tasks;
a file information storage unit that stores a write history of a file in the normal task;
a file destination determination unit that determines a destination for storing the file stored in the file information storage unit based on the write history of the file so that the write frequency of the second non-volatile memory is low;
a file destination change unit that causes a file to be saved in the first non-volatile memory or the second non-volatile memory according to the destination determined by the file destination determination unit;
a relocation execution unit that relocates a file to be stored in the first non-volatile memory or the second non-volatile memory based on the file storage destination determined by the file storage destination determination unit;
a relocation file information storage unit that stores identification information of a file for which relocation is being executed;
Equipped with
the reallocation execution unit resumes the reallocation based on the identification information when the reallocation is interrupted;
Information processing device.
前記ファイルの書込み履歴は、各ファイルの書込み頻度及びファイルサイズを少なくとも含む請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file write history includes at least the write frequency and file size of each file. 前記ファイル保存先決定部は、前記ファイルの書込み履歴に基づき、前記第1の不揮発性メモリのファイルの容量の上限を超えず、かつ、前記第2の不揮発性メモリの書込み頻度が低くなるように各ファイルの保存先を決定する請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file save destination determination unit determines the save destination of each file based on the writing history of the file so as not to exceed the upper limit of the file capacity of the first non-volatile memory and so as to reduce the writing frequency of the second non-volatile memory. 前記ファイル保存先決定部は、前記ファイルの書込み履歴に基づき、前記第1の不揮発性メモリのファイル容量の上限を超えず、かつ、前記第2の不揮発性メモリの書込み頻度が低くなるようなファイルの保存先の組合せを決定する請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file storage destination determination unit determines a combination of file storage destinations based on the file writing history such that the upper limit of the file capacity of the first non-volatile memory is not exceeded and the writing frequency of the second non-volatile memory is low. 予め設定された所定の条件に従い、前記ファイルの保存先の変更開始を要求するファイル保存先変更要求部を有する請求項1記載の情報処理装置。 The information processing device according to claim 1, further comprising a file save destination change request unit that requests the start of changing the save destination of the file according to a preset condition. 前記第2の不揮発性メモリの書込み頻度のうち、一時的に変化する書込み頻度を除外する書込み頻度修正部を有する請求項1記載の情報処理装置。 The information processing device according to claim 1, further comprising a write frequency correction unit that excludes a write frequency that changes temporarily from the write frequency of the second non-volatile memory. 前記ファイル情報記憶部を、前記第1の不揮発性メモリに備える、請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file information storage unit is provided in the first non-volatile memory. 前記ファイル情報記憶部を、前記第2の不揮発性メモリに備える、請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file information storage unit is provided in the second non-volatile memory. 前記ファイル情報記憶部を、前記第1の不揮発性メモリ及び前記第2の不揮発性メモリとは異なる第3の不揮発性メモリに備える、請求項1記載の情報処理装置。 The information processing device according to claim 1, wherein the file information storage unit is provided in a third non-volatile memory different from the first non-volatile memory and the second non-volatile memory. 書込み回数制限のない第1の不揮発性メモリと、
書込み回数制限のある第2の不揮発性メモリと、
通常のタスクを実行する通常タスク実行部と、
前記通常のタスクにおけるファイルの書込み履歴を記憶するファイル情報記憶部と、
前記ファイルの書込み履歴に基づき、前記第2の不揮発性メモリの書込み頻度が低くなるように前記ファイル情報記憶部に記憶されたファイルの保存先を決定するファイル保存先決定部と、
前記ファイル保存先決定部が決定した保存先に従い前記第1の不揮発性メモリ又は前記第2の不揮発性メモリへファイルを保存させるファイル保存先変更部と、
前記ファイル保存先決定部が決定したファイルの保存先に基づき、前記第1の不揮発性メモリ又は前記第2の不揮発性メモリに記憶するファイルの再配置を行う再配置実行部と、
再配置が実行されているファイルの識別情報を記憶する再配置ファイル情報記憶部と、
を備え、
前記再配置実行部は、再配置が中断していた場合に前記識別情報を基に再配置を再開する、
情報処理システム。
a first non-volatile memory having no limit on the number of write operations;
a second non-volatile memory having a write limit;
a normal task execution unit that executes normal tasks;
a file information storage unit that stores a write history of a file in the normal task;
a file destination determination unit that determines a destination for storing the file stored in the file information storage unit based on the write history of the file so that the write frequency of the second non-volatile memory is low;
a file destination change unit that causes a file to be saved in the first non-volatile memory or the second non-volatile memory according to the destination determined by the file destination determination unit;
a relocation execution unit that relocates a file to be stored in the first non-volatile memory or the second non-volatile memory based on the file storage destination determined by the file storage destination determination unit;
a relocation file information storage unit that stores identification information of a file for which relocation is being executed;
Equipped with
the reallocation execution unit resumes the reallocation based on the identification information when the reallocation is interrupted;
Information processing system.
JP2020122660A 2020-07-17 2020-07-17 Information processing device and information processing system for managing destinations for storing files in non-volatile memory Active JP7548742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020122660A JP7548742B2 (en) 2020-07-17 2020-07-17 Information processing device and information processing system for managing destinations for storing files in non-volatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020122660A JP7548742B2 (en) 2020-07-17 2020-07-17 Information processing device and information processing system for managing destinations for storing files in non-volatile memory

Publications (2)

Publication Number Publication Date
JP2022019083A JP2022019083A (en) 2022-01-27
JP7548742B2 true JP7548742B2 (en) 2024-09-10

Family

ID=80204027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020122660A Active JP7548742B2 (en) 2020-07-17 2020-07-17 Information processing device and information processing system for managing destinations for storing files in non-volatile memory

Country Status (1)

Country Link
JP (1) JP7548742B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157441A (en) 2007-12-25 2009-07-16 Toshiba Corp Information processing apparatus, file rearrangement method, and program
JP2011022963A (en) 2009-07-21 2011-02-03 Panasonic Corp Information processing apparatus and information processing method
JP2014032582A (en) 2012-08-06 2014-02-20 Canon Inc Image processing apparatus, control method and program of storage device of image processing apparatus
WO2017006674A1 (en) 2015-07-06 2017-01-12 日本電気株式会社 Information processing system, storage control device, storage control method, and storage control program
WO2017006675A1 (en) 2015-07-06 2017-01-12 日本電気株式会社 Information processing system, storage control device, storage control method, and storage control program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3215237B2 (en) * 1993-10-01 2001-10-02 富士通株式会社 Storage device and method for writing / erasing storage device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009157441A (en) 2007-12-25 2009-07-16 Toshiba Corp Information processing apparatus, file rearrangement method, and program
JP2011022963A (en) 2009-07-21 2011-02-03 Panasonic Corp Information processing apparatus and information processing method
JP2014032582A (en) 2012-08-06 2014-02-20 Canon Inc Image processing apparatus, control method and program of storage device of image processing apparatus
WO2017006674A1 (en) 2015-07-06 2017-01-12 日本電気株式会社 Information processing system, storage control device, storage control method, and storage control program
WO2017006675A1 (en) 2015-07-06 2017-01-12 日本電気株式会社 Information processing system, storage control device, storage control method, and storage control program

Also Published As

Publication number Publication date
JP2022019083A (en) 2022-01-27

Similar Documents

Publication Publication Date Title
US11693463B2 (en) Memory system and controller
JP4844639B2 (en) MEMORY CONTROLLER, FLASH MEMORY SYSTEM HAVING MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD
JP4837731B2 (en) Flash memory with programmable durability
JP4822440B2 (en) Internal maintenance schedule request for non-volatile memory systems
US5530827A (en) Data management system for programming-limited type semiconductor memory and IC memory card employing data save/erase process with flag assignment
EP1561168B1 (en) Method and apparatus for splitting a logical block
US9753653B2 (en) High-priority NAND operations management
KR100914089B1 (en) Maintaining erase counts in non-volatile storage systems
US8200904B2 (en) System and method for clearing data from a cache
EP1430386B1 (en) Method of writing data to non-volatile memory
KR100818035B1 (en) Data management and data management systems and computer readable storage media on storage media
US20070150694A1 (en) Hybrid Mapping Implementation Within a Non-Volatile Memory System
US20150277786A1 (en) Method, device, and program for managing a flash memory for mass storage
US10956067B2 (en) Memory controller and flash memory system having the same
US9948809B2 (en) Image forming apparatus, memory management method for image forming apparatus, and program, using discretely arranged blocks in prioritizing information
JP4829202B2 (en) Storage device and memory control method
JP7548742B2 (en) Information processing device and information processing system for managing destinations for storing files in non-volatile memory
JP2018028830A (en) Electronic control device and information storage method thereof
JP2011159138A (en) Storage device and method of controlling the same
JP4818453B1 (en) Electronic device and data reading method
JP6329185B2 (en) Memory control circuit, memory control system, memory control method, and memory control program
JPH05158815A (en) Memory device
JP2009271848A (en) File system and data management method
JP2005122529A (en) Semiconductor memory device
US20110296080A1 (en) Method Of Writing To A NAND Memory Block Based File System With Log Based Buffering

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240305

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240423

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240730

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240829

R150 Certificate of patent or registration of utility model

Ref document number: 7548742

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150