JP2012088758A - Storage device and control method of storage device - Google Patents

Storage device and control method of storage device Download PDF

Info

Publication number
JP2012088758A
JP2012088758A JP2010232322A JP2010232322A JP2012088758A JP 2012088758 A JP2012088758 A JP 2012088758A JP 2010232322 A JP2010232322 A JP 2010232322A JP 2010232322 A JP2010232322 A JP 2010232322A JP 2012088758 A JP2012088758 A JP 2012088758A
Authority
JP
Japan
Prior art keywords
data
storage medium
storage
storage device
entry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010232322A
Other languages
Japanese (ja)
Other versions
JP5267534B2 (en
Inventor
Daisuke Kamiishi
大介 上石
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 JP2010232322A priority Critical patent/JP5267534B2/en
Publication of JP2012088758A publication Critical patent/JP2012088758A/en
Application granted granted Critical
Publication of JP5267534B2 publication Critical patent/JP5267534B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a storage device and a control method of the storage device such that even if writing of data to a nonvolatile memory is interrupted, the nonvolatile memory can be started up next time without causing format illegality.SOLUTION: The storage device includes a nonvolatile memory management service 1 (control mechanism), an external storage device 2, and a nonvolatile memory 3. The external storage device 2 has a nonvolatile memory use size 21 storing a nonvolatile memory use size, and a Checksum value 22 storing a check sum. The nonvolatile memory 3 has a plurality of Entry's 31. The plurality of Entry's 31 each have respective items of a Signature 311 indicative of whether each Entry is effective, a Status 312, a data length 313, and a data part 314. When the writing is restarted after interruption, the check sum is verified again to determine whether the interruption is caused by a fault of the nonvolatile memory 3.

Description

本発明は記憶装置及び記憶装置の制御方法に係り、特に、電源断が生じた際にも、記憶媒体の信頼性チェックが可能な記憶装置及び記憶装置の制御方法に関する。   The present invention relates to a storage device and a storage device control method, and more particularly, to a storage device and a storage device control method capable of checking the reliability of a storage medium even when a power failure occurs.

近年、情報処理装置等のサーバ・プラットフォームでは、BIOS(Basic Input/Output System)やOS(オペレーティング・システム)の設定情報を保存する目的で、標準インターフェースが規定されており、また、BIOSが不揮発性メモリへのデータ追加、削除を行うサービスを提供している。
不揮発性メモリには、BIOSやOSを立ち上げるために必要な情報や障害ログが格納されており、その他、システム運用する上で必要な重要情報が格納されている。
なお、不揮発性メモリは、長期間使用による劣化などが原因で、故障する場合が有るため、従来は、不揮発性メモリを二重化するなどの技術が提案されている。
しかしながら、書き込み中の電源断が発生した場合には、データの整合がとれず、チェックサムチェックが不一致になってしまうという問題点が残っており、本発明でも、この問題点の解決を課題としている。
In recent years, server platforms such as information processing devices have defined standard interfaces for the purpose of storing BIOS (Basic Input / Output System) and OS (operating system) configuration information, and the BIOS is non-volatile. Provides services to add and delete data from memory.
The nonvolatile memory stores information and failure logs necessary for starting up the BIOS and OS, and other important information necessary for system operation.
In addition, since the non-volatile memory may break down due to deterioration due to long-term use or the like, conventionally, a technique such as duplicating the non-volatile memory has been proposed.
However, when power is cut off during writing, there is still a problem that the data cannot be matched and the checksum check becomes inconsistent. The present invention also has a problem of solving this problem. Yes.

本発明に先行する公知技術としては、例えば、特許文献1には、不揮発性記憶装置にデータを記録する際、データの書き込み処理が中断された場合であっても、どこまでが信用できるデータなのかを容易に判別できるデータ書き込み方法及び装置が開示されている。具体的には、不揮発性記憶手段へのデータの書き込み開始前及び書き込み処理中に、データ書き込みが中断される要因の発生の有無を検出し、予め設けたマーカビットを記録する領域に検出結果に応じたデータを付加して書き込むものとし。再立ち上げ後にマーカビットの変化点を検出することにより信用できるデータの範囲が確定できるものとしている。   As a known technique prior to the present invention, for example, in Patent Document 1, when data is recorded in a non-volatile storage device, how far the data can be trusted even when the data writing process is interrupted. A data writing method and apparatus capable of easily discriminating the above are disclosed. Specifically, before the start of data writing to the non-volatile storage means and during the writing process, the presence or absence of a factor that interrupts the data writing is detected, and the detection result is recorded in an area for recording a marker bit provided in advance. Appropriate data shall be added and written. It is assumed that the range of reliable data can be determined by detecting the change point of the marker bit after restarting.

また、例えば、特許文献2には、データ更新時の電源断などで書込みエラーが発生しても、正常な格納データを読み出せ、エラーを復旧させ継続使用可能な不揮発性メモリの管理方法が開示されている。具体的には、ユーザデータ領域にユーザデータを書込み、書き込み成功で、ユーザデータ配列参照情報が示すユーザデータ配列を読出し、妥当性確認情報演算書込み処理を実行して書込みデータと読出しデータを照合し、一致の場合、ユーザデータ配列参照情報の数だけユーザデータ配列に書込み完了か判定し、ノーでiに1を加えてユーザデータ領域書込み処理から再度実行する。データの妥当性判定で一致しないと新しいユーザデータ配列に変更してエラー復旧を行い、ユーザデータ領域への書込みから再度実行し継続使用するものとしている。   Further, for example, Patent Document 2 discloses a non-volatile memory management method capable of reading normal stored data and recovering the error even if a write error occurs due to a power failure at the time of data update, and can be used continuously. Has been. Specifically, the user data is written to the user data area, the user data array indicated by the user data array reference information is read when the writing is successful, the validity check information calculation writing process is executed, and the written data and the read data are collated. In the case of coincidence, it is determined whether or not writing to the user data array is completed by the number of user data array reference information. If the data validity does not match, the data is changed to a new user data array, error recovery is performed, the data is re-executed after being written to the user data area, and is continuously used.

また、例えば、特許文献3には、ヘッダ変換の際に行われるチェックサムの再計算に要する時間を削減するヘッダ変換装置が開示されている。具体的には、チェックサムフィールドを含む複数のフィールドが設けられた少なくとも一つのヘッダを持つパケットが入力された場合に、このヘッダのチェックサムフィールドを除く所定フィールドの値を変換する変換手段と、前記変換手段によって変換される前記所定フィールドの変換の前後の値を用いて算出されるチェックサムの差分値を記憶する差分値記憶手段と、前記変換手段によって所定フィールドの値が変換されたパケットのヘッダのチェックサムフィールドの値を前記差分値記憶手段に記憶される差分値を用いて新たな値に書き換える書換手段とを備えるものとしている。   Further, for example, Patent Document 3 discloses a header conversion device that reduces the time required for recalculation of checksum performed at the time of header conversion. Specifically, when a packet having at least one header provided with a plurality of fields including a checksum field is input, conversion means for converting a value of a predetermined field excluding the checksum field of the header; A difference value storage means for storing a difference value of a checksum calculated using values before and after conversion of the predetermined field converted by the conversion means; a packet of which the value of the predetermined field is converted by the conversion means; Rewriting means for rewriting the value of the checksum field of the header to a new value using the difference value stored in the difference value storage means is provided.

さらに、例えば、特許文献4には、書き込みが頻繁に行なわれる不揮発性メモリの信頼性を保ちつつ、不揮発性メモリの破壊を防止して寿命を延ばすことができ、また外観から寿命の時期の目安をつけられる技術が開示されている。具体的には、データを収納するためのデータ収納用不揮発性メモリと、データ収納用不揮発性メモリのチェックサムを収納するためのチェックサム収納用不揮発性メモリと、各々の不揮発性メモリ内のデータの読み込み/書き込みを制御する機能、及びデータ収納用不揮発性メモリからチェックサムを算出する機能を有する中央処理手段と、チェックサムのエラー、書き込み回数、メモリの寿命を表示する表示手段とを備え、中央処理手段により算出されたチェックサムの下所定桁をチェックサム収納用不揮発性メモリのチェックサム収納番地として、当該チェックサム収納番地に書き込みマークまたは書き込み回数を収納するものとしている。   Further, for example, in Patent Document 4, the reliability of a nonvolatile memory in which writing is frequently performed can be maintained, the destruction of the nonvolatile memory can be prevented and the life can be extended, and the life time can be estimated from the appearance. A technique that can be applied is disclosed. Specifically, a data storage nonvolatile memory for storing data, a checksum storage nonvolatile memory for storing a checksum of the data storage nonvolatile memory, and data in each nonvolatile memory A central processing unit having a function of controlling reading / writing of data and a function of calculating a checksum from a non-volatile memory for storing data, and a display unit for displaying a checksum error, the number of times of writing, and a memory life, A predetermined digit below the checksum calculated by the central processing unit is used as a checksum storage address of the checksum storage nonvolatile memory, and a write mark or a write count is stored in the checksum storage address.

特開2000−132464号公報JP 2000-132464 A 特開2001−331382号公報JP 2001-331382 A 特開2003−124977号公報Japanese Patent Laid-Open No. 2003-124977 特開平7−141899号公報Japanese Patent Laid-Open No. 7-141899

ところで、不揮発性メモリには、前述のとおり、BIOSやOSを立ち上げるために必要な情報や、その他の情報(例えば障害ログ)が格納されており、即ち、システムを運用する上での重要な情報が格納されている。
しかしながら、上記背景技術で述べた従来の記憶装置の制御方法にあっては、突然の電源断や、FATAL障害発生により、不揮発性メモリへの書き込みが中断してしまった場合、不揮発性メモリに期待外のフォーマットの状態で格納されることがあり、不揮発性メモリの全消去を行わなければシステムの立ち上げ不可になるケースが存在するという問題点が有る。
By the way, as described above, the nonvolatile memory stores information necessary for starting up the BIOS and OS, and other information (for example, a failure log), that is, important in operating the system. Information is stored.
However, in the conventional storage device control method described in the background art above, when writing to the nonvolatile memory is interrupted due to a sudden power interruption or a FATAL failure, the nonvolatile memory is expected. There is a problem that the data may be stored in an external format, and there is a case where the system cannot be started up unless the nonvolatile memory is completely erased.

例えば、不揮発性メモリへ書き込むデータは長さが可変長であるため、データの中にデータ長を格納しなければならない。けれども、突然の電源断や、FATAL障害発生により、このデータ長未格納の状態で書き込みが中断されると、次のブートではフォーマットが守られていない状態になるため、BIOSは不揮発性メモリの内容が不正と判断してシステムの立上げを停止させてしまうことになる。   For example, since data to be written to the nonvolatile memory has a variable length, the data length must be stored in the data. However, if writing is interrupted while the data length is not stored due to a sudden power failure or a FATAL failure, the format will not be preserved at the next boot, so the BIOS will save the contents of the nonvolatile memory. Will be determined to be fraudulent and stop the system startup.

さらに、BIOSは、不揮発性メモリの診断を行うために、チェックサムを保有しているが、チェックサムの更新処理を行わずに電源断になった場合、次回立上げ時には、チェックサムが不一致となり、不揮発性メモリが不正と判断されてしまうという問題点が有った。このような事態が生じる理由を述べると、通常はデータ更新直後にチェックサムの更新を行うが、突然電源された場合には、チェックサム更新が行われないためである。この問題点を解決するための対策としては、不揮発性メモリを分割してチェックサムをとる手法も有るが、電源断によってチェックサム更新が行われていないブロックに関しては、不揮発性メモリが不正と見なされることまでは改善できないことになる。   In addition, the BIOS has a checksum for diagnosing non-volatile memory, but if the power is cut off without performing the checksum update process, the checksum will not match at the next startup. However, there is a problem that the nonvolatile memory is determined to be illegal. The reason why such a situation occurs is that the checksum is updated immediately after the data update, but the checksum is not updated when the power is suddenly turned on. As a countermeasure to solve this problem, there is a method of dividing the nonvolatile memory and taking the checksum, but the nonvolatile memory is considered invalid for the block that has not been updated with the checksum due to the power failure. It is impossible to improve until it is done.

なお、特許文献1〜4に記載の公知技術は、ユーザが管理する一般的なデータがチェックサムによる診断対象となっており、また、リカバリ対象になっているが、不揮発性メモリに格納されているBIOSやOSを中断から立ち上げるために必要な情報や、その他の情報(例えば障害ログ)に対する根本的な診断やリカバリ処理としては、不十分であった。   In addition, in the known techniques described in Patent Documents 1 to 4, general data managed by the user is a diagnosis target by checksum and is a recovery target, but is stored in a nonvolatile memory. It was insufficient as a fundamental diagnosis and recovery process for information necessary to start up the existing BIOS and OS from interruption and other information (for example, failure log).

これに対し、本発明に係る記憶装置では、データを格納すると共に、格納データのチェックサム値を用いてデータ検証する第1の記憶媒体と、前記格納データのブロックサイズとチェックサム値とを格納する第2の記憶媒体と、該第1と第3の記憶媒体を制御する手段と、を備え、突然の電源断やFATAL障害の発生により、第1の記憶媒体への書き込みが中断してしまった場合であっても、第2の記憶媒体に記憶した情報を参照することで、本装置の次回立上げ時にはフォーマットエラーとすることなく、本装置を正常に再使用できるようにすることを骨子としている。   On the other hand, in the storage device according to the present invention, the first storage medium for storing data and verifying the data using the checksum value of the stored data, and the block size and the checksum value of the stored data are stored. A second storage medium that controls the first and third storage media, and writing to the first storage medium is interrupted due to a sudden power failure or a FATAL failure. Even in this case, it is important to refer to the information stored in the second storage medium so that the apparatus can be normally reused without causing a format error at the next startup of the apparatus. It is said.

本発明は、上記従来の問題点に鑑みてなされたものであって、データの不揮発性メモリ書き込みが中断されてしまっても、次回立上げでは不揮発性メモリのフォーマット不正を発生させずに立ち上げることができる記憶装置及び記憶装置の制御方法を提供することを目的としている。
また、本発明の他の目的は、不揮発性メモリの格納データの正常性チェックに際しては、有効な部位のみを有効値として扱ってチェックサム検証を行うことを可能にして、電源断が起きても、不揮発性メモリの信頼性チェックを行うことができる記憶装置及び記憶装置の制御方法を提供することにある。
The present invention has been made in view of the above-described conventional problems, and even if data writing to the nonvolatile memory is interrupted, the next startup will start without causing an illegal format of the nonvolatile memory. It is an object of the present invention to provide a storage device and a control method for the storage device.
Another object of the present invention is to enable checksum verification by treating only valid parts as valid values when checking the normality of data stored in a nonvolatile memory, even if a power failure occurs. Another object of the present invention is to provide a storage device and a storage device control method capable of performing reliability check of a nonvolatile memory.

上記課題を解決するために、本発明に係る記憶装置は、1記憶単位を構成するエントリ内に、所与のデータと、該データの属性情報と、該エントリの属性情報とを記憶する第1の記憶媒体と、前記第1の記憶媒体の現在までの使用量と、該使用量で示される前記第1の記憶媒体内の記憶データについてのチェックサム値とを記憶する第2の記憶媒体と、所与の指令に基づいて、前記第1と第2の記憶媒体の記憶内容を制御する制御手段と、を備えたことを特徴とする。   In order to solve the above-described problem, a storage device according to the present invention stores first data, attribute information of the data, and attribute information of the entry in an entry constituting one storage unit. A second storage medium that stores a use amount of the first storage medium up to the present time, and a checksum value for storage data in the first storage medium indicated by the use amount And control means for controlling the storage contents of the first and second storage media based on a given command.

また、本発明に係る記憶装置の制御方法は、第1の記憶媒体の1記憶単位を構成するエントリ内に、所与のデータと、該データの属性情報と、該エントリの属性情報とを記憶するステップと、第2の記憶媒体に、前記第1の記憶媒体の現在までの使用量と、該使用量で示される前記第1の記憶媒体内の記憶データについてのチェックサム値とを記憶するステップと、所与の指令に基づいて、前記第1と第2の記憶媒体の記憶内容を制御する制御ステップと、を有することを特徴とする。   The storage device control method according to the present invention stores given data, attribute information of the data, and attribute information of the entry in an entry constituting one storage unit of the first storage medium. Storing the amount of use of the first storage medium up to the present time and the checksum value for the storage data in the first storage medium indicated by the amount of use in the second storage medium And a control step for controlling the storage contents of the first and second storage media based on a given command.

以上説明したように、本発明の記憶装置によれば、ハードウェアとして、第1と第2の記憶媒体とを備え、前記第2の記憶媒体には、前記第1の記憶媒体(例えば不揮発性メモリ)の現在までの使用量と、該使用量で示される前記第1の記憶媒体内の記憶データについてのチェックサム値とを記憶するように構成したので、突然の電源断やFATAL障害の発生により、第1の記憶媒体への書き込みが中断してしまった場合であっても、第2の記憶媒体に記憶した情報を参照することで、本装置の次回立上げ時にはフォーマットエラーとはしないで、本装置を正常に再使用できる効果が有る。   As described above, according to the storage device of the present invention, the hardware includes the first and second storage media, and the second storage medium includes the first storage medium (for example, non-volatile storage). Memory) up to the present time and the checksum value for the storage data in the first storage medium indicated by the usage amount are stored, so that sudden power interruption or FATAL failure occurs. Thus, even if the writing to the first storage medium is interrupted, the format error will not occur at the next startup of the apparatus by referring to the information stored in the second storage medium. There is an effect that the apparatus can be normally reused.

本発明の実施形態に係る記憶装置の全体構成を示す構成図である。It is a block diagram which shows the whole structure of the memory | storage device which concerns on embodiment of this invention. 本発明の実施形態に係る記憶装置の変数新規作成処理時の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence at the time of the variable new creation process of the memory | storage device which concerns on embodiment of this invention. 本発明の実施形態に係る記憶装置の変数削除処理時の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence at the time of the variable deletion process of the memory | storage device which concerns on embodiment of this invention. 本発明の実施形態に係る記憶装置の変数更新処理時の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence at the time of the variable update process of the memory | storage device which concerns on embodiment of this invention. 本発明の実施形態に係る記憶装置のアクセス要求処理時の処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence at the time of the access request process of the memory | storage device which concerns on embodiment of this invention. 本発明の実施形態に係る記憶装置の立ち上げ時の処理における処理手順を示すフローチャート図である。It is a flowchart figure which shows the process sequence in the process at the time of starting of the memory | storage device which concerns on embodiment of this invention.

本発明は、不揮発性メモリが記憶するデータの保全を図るものであり、具体的には、不揮発性メモリに値を格納している際に、電源切断されても、次回ブートではフォーマットエラーを起こさずにシステムが立ち上がることができるようにする。
また、データの正常性のチェックにおいても、有効な部位のみを有効値として扱えるようにすることで、電源断が起きても、不揮発性メモリの信頼性チェックを可能とする。
このため、本発明では、不揮発性メモリの格納形式を定義し、不揮発性メモリとは別個に設置した外部記憶装置に、不揮発性メモリの使用サイズとチェックサム値とを格納するようにし、その上で、不揮発性メモリの格納フォーマット、不揮発性メモリへの所定のアクセス手順を実行する。
The present invention is intended to preserve the data stored in the nonvolatile memory. Specifically, even when the value is stored in the nonvolatile memory, even if the power is turned off, a format error is caused in the next boot. So that the system can be up and running.
Also, in checking the normality of data, it is possible to check the reliability of the non-volatile memory even if the power is cut off by enabling only valid parts to be handled as valid values.
Therefore, in the present invention, the storage format of the nonvolatile memory is defined, and the used size and the checksum value of the nonvolatile memory are stored in an external storage device installed separately from the nonvolatile memory. Then, a storage format of the nonvolatile memory and a predetermined access procedure to the nonvolatile memory are executed.

以下、本発明の記憶装置及び記憶装置の制御方法の実施形態について、図面を参照して詳細に説明する。
図1は、本発明の実施形態に係る記憶装置の全体構成を示す構成図である。
同図に示す本実施形態に係る記憶装置は、不揮発性メモリ管理サービス1(制御手段)と、外部記憶装置2(第2の記憶媒体)と、不揮発性メモリ3(第1の記憶媒体)と、を備える。
外部記憶装置2は、不揮発性メモリ使用サイズを格納する不揮発性メモリ使用サイズ21と、チェックサムを格納するChecksum値22と、を備える。
不揮発性メモリ3は、複数のEntry 31(エントリ)を備える。
本発明では、一般に、不揮発性メモリ3として、読み書き可能な任意の種類の記憶媒体を使用することができる。
Embodiments of a storage device and a storage device control method according to the present invention will be described below in detail with reference to the drawings.
FIG. 1 is a configuration diagram showing the overall configuration of a storage device according to an embodiment of the present invention.
The storage device according to the present embodiment shown in the figure includes a nonvolatile memory management service 1 (control means), an external storage device 2 (second storage medium), and a nonvolatile memory 3 (first storage medium). .
The external storage device 2 includes a nonvolatile memory usage size 21 that stores a nonvolatile memory usage size, and a Checksum value 22 that stores a checksum.
The nonvolatile memory 3 includes a plurality of entries 31 (entries).
In the present invention, generally, any type of readable / writable storage medium can be used as the nonvolatile memory 3.

複数のEntry31の各々は、当該Entryが有効か否かを示すSignature311(Signature格納項目)と、Status312(Status格納項目)と、データ長313(データの長さを格納する項目)と、データ部314(データを格納する項目)と、を備える。   Each of the plurality of entries 31 includes a signature 311 (signature storage item) indicating whether the entry is valid, a status 312 (status storage item), a data length 313 (item storing data length), and a data portion 314. (Items for storing data).

この実施形態では、不揮発性メモリ管理サービス1が、図示しない上位の管理システムからの要求を受けて、外部記憶装置2及び不揮発性メモリ3を制御するものとしたが、本発明では、一般に、不揮発性メモリ管理サービス1の下位に図示しない制御システムを設置して、該制御システムが、不揮発性メモリ管理サービス1の要求を受けて外部記憶装置2及び不揮発性メモリ3を制御する構成とすることも可能である。
また、外部記憶装置2は、ここでは本発明に係る記憶装置の1構成要素としたが、遠隔地を含む任意の地点に設置された外部の記憶装置とすることも可能である。
In this embodiment, the nonvolatile memory management service 1 controls the external storage device 2 and the nonvolatile memory 3 in response to a request from a higher-level management system (not shown). A control system (not shown) may be installed below the volatile memory management service 1 so that the control system controls the external storage device 2 and the non-volatile memory 3 in response to a request from the non-volatile memory management service 1. Is possible.
Further, although the external storage device 2 is here one component of the storage device according to the present invention, it may be an external storage device installed at an arbitrary point including a remote place.

以下、本実施形態の記憶装置の動作を説明する。
図2は、本発明の実施形態に係る記憶装置の変数新規作成処理時の処理手順を示すフローチャート図である。
以下、図1を参照しながら、図2に示すフローチャートを使用して、本実施形態に係る記憶装置の変数新規作成処理時の処理手順を説明する。
ここでは、不揮発性メモリ管理サービス1が、外部の上位システムからデータ新規作成指示を受けた場合について説明する。
まず、ステップA1では、不揮発性メモリ管理サービス1は、Signature を無効とした新規エントリを不揮発性メモリ3の最後尾に作成する。
Hereinafter, the operation of the storage device of this embodiment will be described.
FIG. 2 is a flowchart showing a processing procedure at the time of new variable creation processing of the storage device according to the embodiment of the present invention.
Hereinafter, with reference to FIG. 1, a processing procedure at the time of new variable creation processing of the storage device according to the present embodiment will be described using the flowchart shown in FIG. 2.
Here, a case where the nonvolatile memory management service 1 receives a new data creation instruction from an external host system will be described.
First, in step A 1, the nonvolatile memory management service 1 creates a new entry with Signature as invalid at the end of the nonvolatile memory 3.

次に、ステップA2では、不揮発性メモリ管理サービス1は、作成したエントリに新規作成データ及びそのデータ長を格納する(より具体的には、データ長313に新規作成データのデータ長を、エントリ項目のデータ部314に該データを、それぞれ格納する)。
次に、ステップA3では、不揮発性メモリ管理サービス1は、作成したエントリのステータスを文字列の「ADDED 」とする(より具体的には、エントリ項目のStatus312に「ADDED 」を格納する)。
次に、ステップA4では、不揮発性メモリ管理サービス1は、作成したエントリのSignatureを有効とする(より具体的には、エントリ項目のSignature311に、例えば、有効を示すフラグを立てる)。
Next, in step A2, the nonvolatile memory management service 1 stores the newly created data and its data length in the created entry (more specifically, the data length of the newly created data is entered in the data length 313 as the entry item). The data is stored in the data portion 314 of the data).
Next, in step A3, the nonvolatile memory management service 1 sets the status of the created entry to “ADDED” in the character string (more specifically, stores “ADDED” in the Status item 312 of the entry item).
Next, in step A4, the nonvolatile memory management service 1 validates the signature of the created entry (more specifically, for example, sets a flag indicating validity in the signature 311 of the entry item).

最後に、ステップA5では、不揮発性メモリ管理サービス1は、不揮発性メモリ使用サイズと、チェックサム値とを外部記憶装置2に保存する(より具体的には、不揮発性メモリ使用サイズ21に不揮発性メモリ使用サイズを、Checksum値22には不揮発性メモリ3の記憶領域の、前記メモリ使用サイズの範囲で算出されるチェックサム値を、それぞれ格納する)。   Finally, in step A5, the non-volatile memory management service 1 stores the non-volatile memory usage size and the checksum value in the external storage device 2 (more specifically, the non-volatile memory usage size 21 is non-volatile. The memory use size is stored in the checksum value 22 and the checksum value calculated in the memory use size range of the storage area of the nonvolatile memory 3 is stored).

図3は、本発明の実施形態に係る記憶装置の変数削除処理時の処理手順を示すフローチャート図である。
以下、図1を参照しながら、図3に示すフローチャートを使用して、本実施形態に係る記憶装置の変数削除処理時の処理手順を説明する。
不揮発性メモリ管理サービス1が、外部の上位システムからデータ削除指示を受けた場合は、以下に示す処理を開始する。
FIG. 3 is a flowchart showing a processing procedure during variable deletion processing of the storage device according to the embodiment of the present invention.
Hereinafter, with reference to FIG. 1, a processing procedure at the time of variable deletion processing of the storage device according to the present embodiment will be described using the flowchart shown in FIG.
When the nonvolatile memory management service 1 receives a data deletion instruction from an external host system, the following processing is started.

先ず、ステップB1では、不揮発性メモリ管理サービス1は、不揮発性メモリ3において、当該削除対象のデータを保持するエントリのエントリ項目であるStatus312に無効(かつ空き領域)を示す文字列の「DELETED」を格納する。
次に、ステップB2では、不揮発性メモリ管理サービス1は、当該削除対象データの不揮発性メモリ使用サイズを外部記憶装置2の不揮発性メモリ使用サイズ21に保存し、また、前述のチェックサム値を外部記憶装置2のChecksum値22に保存する。
First, in step B1, the non-volatile memory management service 1 in the non-volatile memory 3 “DELETED” of a character string indicating invalidity (and free space) in the status item 312 of the entry holding the data to be deleted. Is stored.
Next, in step B2, the non-volatile memory management service 1 stores the non-volatile memory usage size of the data to be deleted in the non-volatile memory usage size 21 of the external storage device 2, and stores the checksum value described above in the external The checksum value 22 of the storage device 2 is stored.

図4は、本発明の実施形態に係る記憶装置の変数更新処理時の処理手順を示すフローチャート図である。
以下、図1を参照しながら、図4に示すフローチャートを使用して、本実施形態に係る記憶装置の変数更新処理時の処理手順を説明する。
不揮発性メモリ管理サービス1が、外部の上位システムからデータ更新指示を受けた場合は、以下に示す処理を開始する。
先ず、ステップC1では、不揮発性メモリ管理サービス1は、当該更新対象のデータを保持するエントリを対象に、図3に示す手順でのデータの削除を行う。
次に、ステップC2では、不揮発性メモリ管理サービス1は、当該エントリへの当該更新データの書き込みを行う。
FIG. 4 is a flowchart showing a processing procedure during variable update processing of the storage device according to the embodiment of the present invention.
Hereinafter, with reference to FIG. 1, a processing procedure at the time of variable update processing of the storage device according to the present embodiment will be described using the flowchart shown in FIG. 4.
When the nonvolatile memory management service 1 receives a data update instruction from an external host system, the following processing is started.
First, in step C1, the nonvolatile memory management service 1 deletes data according to the procedure shown in FIG. 3 for the entry that holds the data to be updated.
Next, in Step C2, the nonvolatile memory management service 1 writes the update data to the entry.

図5は、本発明の実施形態に係る記憶装置のアクセス要求処理時の処理手順を示すフローチャート図である。
以下、図1を参照しながら、図5に示すフローチャートを使用して、本実施形態に係る記憶装置のアクセス要求処理時の処理手順を説明する。
ここでは、不揮発性メモリ管理サービス1 が、データリード要求を受けた場合の処理を説明する。
先ず、ステップD1では、不揮発性メモリ管理サービス1は、探査位置を不揮発性メモリ3の先頭領域(図示は省略)にセットする。
FIG. 5 is a flowchart showing a processing procedure during access request processing of the storage device according to the embodiment of the present invention.
Hereinafter, a processing procedure at the time of access request processing of the storage device according to the present embodiment will be described using the flowchart shown in FIG. 5 with reference to FIG.
Here, a process when the nonvolatile memory management service 1 receives a data read request will be described.
First, in step D1, the nonvolatile memory management service 1 sets the search position in the top area (not shown) of the nonvolatile memory 3.

次に、ステップD2では、不揮発性メモリ管理サービス1は、上記探査位置から順に、エントリを検索する。まず、現在のエントリのSignature311が無効であるか否かを検証し、現在のエントリのSignature311が無効である場合は目的のデータ変数無しと判断し、Not Foundの場合として処理を終了する。また、現在のエントリのSignature311が無効でない場合は、ステップD3に進む。
ステップD3では、不揮発性メモリ管理サービス1は、現在のエントリのSignature311が目的のデータであるか否かを検証し、現在のエントリのSignature311が目的のデータであった場合、当該現在のエントリに目的のデータが格納されていると判断し、Foundの場合として処理を終了する。また、現在のエントリのSignature311が目的のデータではなかった場合には、ステップD2に戻って次のエントリから検索を繰り返す。
Next, in step D2, the nonvolatile memory management service 1 searches for entries in order from the search position. First, it is verified whether or not the signature 311 of the current entry is invalid. If the signature 311 of the current entry is invalid, it is determined that there is no target data variable, and the process ends as a case of Not Found. If Signature 311 of the current entry is not invalid, the process proceeds to step D3.
In step D3, the nonvolatile memory management service 1 verifies whether the signature 311 of the current entry is the target data. If the signature 311 of the current entry is the target data, the nonvolatile memory management service 1 sets the target entry to the current entry. It is determined that the data is stored, and the process ends as the case of Found. If the signature 311 of the current entry is not the target data, the process returns to step D2 to repeat the search from the next entry.

図6は、本発明の実施形態に係る記憶装置の立ち上げ時の処理における処理手順を示すフローチャート図である。
以下、図1を参照しながら、図6に示すフローチャートを使用して、本実施形態に係る記憶装置の立ち上げ時の処理における処理手順を説明する。
この立ち上げ時の処理手順は、システム障害等により中断していた処理を再開する場合に実行するものとする。
先ず、ステップE1では、不揮発性メモリ管理サービス1は、外部記憶装置2から、不揮発性メモリ使用サイズ21の内容(不揮発性メモリ使用サイズ)と、チェックサム値22の内容(チェックサム)とを取得する。
FIG. 6 is a flowchart showing a processing procedure in processing at the time of starting the storage device according to the embodiment of the present invention.
Hereinafter, with reference to FIG. 1, a processing procedure in processing at the time of starting the storage device according to the present embodiment will be described using the flowchart shown in FIG. 6.
This processing procedure at the time of start-up is executed when processing that has been interrupted due to a system failure or the like is resumed.
First, in step E1, the nonvolatile memory management service 1 acquires the contents of the nonvolatile memory usage size 21 (nonvolatile memory usage size) and the contents of the checksum value 22 (checksum) from the external storage device 2. To do.

次に、ステップE2では、不揮発性メモリ管理サービス1は、取得した不揮発性メモリ使用サイズの範囲で、不揮発性メモリ3の記憶領域に格納されているデータについてのチェックサムを算出する。
次に、ステップE3では、不揮発性メモリ管理サービス1は、ステップE2で算出したチェックサムと、ステップE1で取得したチェックサム値22の内容(チェックサム)とが一致するか否かを検証し、上記チェックサムの一致がとれなかった場合はステップE4に進み、上記チェックサムの一致がとれた場合はステップE6に移る。
ステップE4では、不揮発性メモリ管理サービス1は、前回データ削除中に電源断になった可能性を疑い(つまり、或るエントリのエントリ項目であるStatus312を、文字列の「ADDED」から文字列の「DELETED」に書き換えた状態で電源断になった可能性がある)ので、文字列の「ADDED」が示す数値データ(部分的なチェックサム)と、文字列の「DELETED」が示す数値データ(部分的なチェックサム)との差分値を、上記算出済のチェックサムに加算する。
Next, in step E2, the non-volatile memory management service 1 calculates a checksum for data stored in the storage area of the non-volatile memory 3 within the acquired non-volatile memory usage size range.
Next, in step E3, the nonvolatile memory management service 1 verifies whether or not the checksum calculated in step E2 matches the contents (checksum) of the checksum value 22 acquired in step E1. If the checksums do not match, the process proceeds to step E4. If the checksums match, the process proceeds to step E6.
In step E4, the non-volatile memory management service 1 suspects that the power supply was cut off during the previous data deletion (that is, the status item 312 of an entry is changed from the character string “ADDED” to the character string The numeric data (partial checksum) indicated by the character string “ADDED” and the numerical data indicated by the character string “DELETED” The difference value from the (partial checksum) is added to the calculated checksum.

ステップE5では、不揮発性メモリ管理サービス1は、上記加算されたチェックサムでもってすれば、ステップE1で取得したチェックサム値22の内容(チェックサム)との一致がとれるか否かを再度検証する(このような検証を行う理由については後述する)。ここで、上記チェックサムの一致がとれない場合はステップE7に移り、また、上記チェックサムの一致がとれる場合はステップE6に進む。
ステップE6では、不揮発性メモリ管理サービス1は、不揮発性メモリ3を正常と判断し、未使用領域の初期化を行う。その後、処理を終了する(正常終了)。
ステップE7では、不揮発性メモリ管理サービス1は、不揮発性メモリ3に障害発生と判断し、処理を終了する(異常終了)。
In step E5, the non-volatile memory management service 1 verifies again whether the contents (checksum) of the checksum value 22 acquired in step E1 can be matched if the added checksum is used. (The reason for performing such verification will be described later). If the checksums cannot be matched, the process proceeds to step E7. If the checksums can be matched, the process proceeds to step E6.
In step E6, the non-volatile memory management service 1 determines that the non-volatile memory 3 is normal and initializes an unused area. Thereafter, the process ends (normal end).
In step E7, the nonvolatile memory management service 1 determines that a failure has occurred in the nonvolatile memory 3, and ends the process (abnormal termination).

なお、図6のフローチャートに示す手順では、不揮発性メモリを前詰めに順番に使用することを前提としている。このようにすることで、不揮発性メモリ3を一様に使用することが可能となり、一部の領域に書き換えが集中することで、不揮発性メモリの書き換え可能上限に到達してしまうことを防ぐことができる。
エントリ更新中に電源断になった場合、エントリ更新中のエントリは必ず最後尾にあり(ステップA1参照)、外部記憶に保存された不揮発性メモリ使用領域長は、更新中の一つ前のエントリの末尾を指している。よって、次回立上げ時に、ステップE6にて、この更新中のエントリ部分を初期化することで、不揮発性メモリの整合を保つことができる。
同様に、データ追加時において、不揮発性メモリ使用サイズとチェックサム値とを更新する前に電源断になった場合は、追加中の変数(より具体的にはエントリ)は無効とすることができる。
Note that the procedure shown in the flowchart of FIG. 6 is based on the premise that the nonvolatile memories are used in order from the front. In this way, the nonvolatile memory 3 can be used uniformly, and rewriting concentrates on a part of the area, thereby preventing reaching the rewritable upper limit of the nonvolatile memory. Can do.
If the power is cut off during entry update, the entry being updated is always at the end (see step A1), and the non-volatile memory usage area length stored in the external storage is the previous entry being updated. Points to the end. Therefore, at the next startup, in step E6, the entry part being updated is initialized, so that the consistency of the nonvolatile memory can be maintained.
Similarly, when adding data, if the power is turned off before updating the non-volatile memory usage size and checksum value, the variable being added (more specifically, the entry) can be invalidated. .

データ削除時に、不揮発性メモリ使用サイズとチェックサム値とを更新する前に電源断になった場合、チェックサム不一致となるが、この原因は、Status311の内容が、文字列の「ADDED」なるデータから、文字列の「DELETED」なるデータへと更新されたことにより、チェックサムの値が、その差分値だけ変化したことにある。よって、このような場合、「不揮発性メモリ3に障害発生」と、単純に判断してしまうことを避けるために、ステップE4にて算出したチェックサムに該差分値を加算した上で、チェックサムのチェックを再度行うことで、チェックサム不一致が、削除中の電源断によるものなのか、不揮発性メモリ3の障害発生によるものなのか否かを識別することができる。つまり、再度のチェックサム検証で一致がとれれば削除中の電源断によるものと判断され、また、再度のチェックサム検証でも一致がとれなければ不揮発性メモリ3の障害によるものと判断される。   When the data is deleted, if the power is turned off before updating the non-volatile memory usage size and the checksum value, a checksum mismatch occurs. This is because the data of Status 311 contains data “ADDED” in the character string. As a result, the checksum value is changed by the difference value due to the update to the data “DELETED” of the character string. Therefore, in such a case, in order to avoid simply judging that “a failure has occurred in the nonvolatile memory 3”, the checksum calculated by adding the difference value to the checksum calculated in step E4 is used. By performing this check again, it is possible to identify whether the checksum mismatch is due to a power failure during deletion or due to a failure in the nonvolatile memory 3. That is, if a match is obtained in the second checksum verification, it is determined that the power supply is being deleted. If a match is not obtained in the second checksum verification, it is determined that the non-volatile memory 3 is faulty.

この実施の形態によれば、突然の電源断やFATAL障害の発生により、不揮発性メモリ3への書き込みが中断してしまった場合でも、次回立上げ時にフォーマットエラーとせず、中断されてしまったデータを前述のとおり無効化することで、不揮発性メモリ3のデータについての整合性が取れる効果が有る。   According to this embodiment, even if writing to the non-volatile memory 3 is interrupted due to a sudden power interruption or a FATAL failure, the data that has been interrupted does not cause a format error at the next startup. As described above, there is an effect that the consistency of the data in the nonvolatile memory 3 can be obtained.

また、突然の電源断やFATAL障害の発生により、外部記憶装置2に保存している不揮発性メモリ3内の現在までの格納データのチェックサム値の更新ができなかった場合でも、前述のとおり、本来チェックサムへ反映されるべき値差分をエントリのStatus312の内容変化のみに限定させ、その差分を加算して再度チェックサムの検証を行うことで、電源断によるチェックサム不一致と、不揮発性メモリ3の障害による不一致とを区別し、確実に不揮発性メモリ3のデータの有効性を診断できる効果が有る。   Even if the checksum value of the stored data in the nonvolatile memory 3 stored in the external storage device 2 cannot be updated due to a sudden power interruption or FATAL failure, as described above, The value difference that should originally be reflected in the checksum is limited to only the change in the contents of the status 312 of the entry, and the checksum is verified again by adding the difference. It is possible to distinguish the discrepancy due to the failure of the data and reliably diagnose the validity of the data in the nonvolatile memory 3.

なお、本発明に係る記憶装置の各構成要素の処理の少なくとも一部をコンピュータ制御により実行するものとし、かつ、上記処理を、図2〜6の各フローチャートで示した手順によりコンピュータに実行せしめるプログラムは、半導体メモリを始め、CD−ROMや磁気テープなどのコンピュータ読み取り可能な記録媒体に格納して配付してもよい。そして、少なくともマイクロコンピュータ、パーソナルコンピュータ、汎用コンピュータを範疇に含むコンピュータが、上記の記録媒体から上記プログラムを読み出して、実行するものとしてもよい。   A program for executing at least a part of the processing of each component of the storage device according to the present invention by computer control and causing the computer to execute the above processing according to the procedure shown in each flowchart of FIGS. May be stored and distributed in a computer-readable recording medium such as a semiconductor memory, a CD-ROM, or a magnetic tape. A computer including at least a microcomputer, a personal computer, and a general-purpose computer may read and execute the program from the recording medium.

1 不揮発性メモリ管理サービス(制御機構)
2 外部記憶装置(第2の記憶媒体)
3 不揮発性メモリ(第1の記憶媒体)
21 不揮発性メモリ使用サイズ
22 Checksum値(チェックサム値)
31 Entry(エントリ)。
311 Signature(有効/無効・フラグ)格納項目
312 Status(ステータス)格納項目
313 データ長格納項目
314 データ部(データ格納項目)
1 Nonvolatile memory management service (control mechanism)
2 External storage device (second storage medium)
3 Nonvolatile memory (first storage medium)
21 Non-volatile memory usage size 22 Checksum value
31 Entry.
311 Signature (valid / invalid / flag) storage item 312 Status storage item 313 Data length storage item 314 Data section (data storage item)

Claims (8)

1記憶単位を構成するエントリ内に、所与のデータと、該データの属性情報と、該エントリの属性情報とを記憶する第1の記憶媒体と、
前記第1の記憶媒体の現在までの使用量と、該使用量で示される前記第1の記憶媒体内の記憶データについてのチェックサム値とを記憶する第2の記憶媒体と、
所与の指令に基づいて、前記第1と第2の記憶媒体の記憶内容を制御する制御手段と、を備えたことを特徴とする記憶装置。
A first storage medium for storing given data, attribute information of the data, and attribute information of the entry in an entry constituting one storage unit;
A second storage medium that stores a usage amount of the first storage medium to date and a checksum value for storage data in the first storage medium indicated by the usage amount;
A storage device comprising: control means for controlling storage contents of the first and second storage media based on a given command.
前記データは可変長データであり、前記制御手段は、前記属性情報には当該データの長さを示す情報を含めることを特徴とする請求項1記載の記憶装置。   2. The storage device according to claim 1, wherein the data is variable-length data, and the control means includes information indicating a length of the data in the attribute information. 前記制御手段は、前記エントリの属性情報として、該エントリが有効か無効かを示すSignature情報と、該エントリのステータスを示すStatus情報との、2種類の情報を示すことを特徴とする請求項1または請求項2記載の記憶装置。   The control means indicates two types of information as attribute information of the entry: Signature information indicating whether the entry is valid or invalid, and Status information indicating the status of the entry. Alternatively, the storage device according to claim 2. 前記制御手段は、前記Status情報として、エントリが新規に生成された時には文字列の「ADDED」を示し、当該エントリが削除された時には文字列の「DELETED」を示すことを特徴とする請求項3記載の記憶装置。   The control means indicates, as the Status information, a character string “ADDED” when an entry is newly generated, and a character string “DELETED” when the entry is deleted. The storage device described. 前記制御手段は、中断からの再起動時には、前記第2の記憶媒体が記憶する前記現在までの使用量の範囲で、前記第1の記憶媒体の現在までの記憶データのチェックサム値を算出すると共に、該算出したチェックサム値と、前記第2の記憶媒体が記憶する前記チェックサム値とを比較することにより、前記第1の記憶媒体の現在までの記憶データを検証することを特徴とする請求項1乃至4のいずれか1項に記載の記憶装置。   The control means calculates a checksum value of stored data of the first storage medium up to the present within a range of the amount of use up to the present stored in the second storage medium at the time of restart from interruption. And comparing the calculated checksum value with the checksum value stored in the second storage medium to verify the stored data up to the present time in the first storage medium. The storage device according to claim 1. 前記制御手段は、中断からの再起動時には、前記第2の記憶媒体が記憶する前記現在までの使用量の範囲で、前記第1の記憶媒体の現在までの記憶データのチェックサム値を算出すると共に、該算出したチェックサム値と、前記第2の記憶媒体が記憶する前記チェックサム値とを比較し、該比較が不一致となる場合は、前記第2の記憶媒体が記憶する前記チェックサム値に対して前記文字列の「ADDED」と「DELETED」とのデータの相違によるチェックサム値の相違分を補正した上で、前記算出したチェックサム値との再比較を行うと共に、該再比較でも不一致となる場合は、前記第1の記憶媒体に障害が生じたと判断することを特徴とする請求項4記載の記憶装置。   The control means calculates a checksum value of stored data of the first storage medium up to the present within a range of the amount of use up to the present stored in the second storage medium at the time of restart from interruption. The calculated checksum value is compared with the checksum value stored in the second storage medium, and the checksum value stored in the second storage medium if the comparison does not match The difference between the checksum values due to the difference in data between the character strings “ADDED” and “DELETED” is corrected, and then recompared with the calculated checksum value. The storage device according to claim 4, wherein when there is a mismatch, it is determined that a failure has occurred in the first storage medium. 前記第1の記憶媒体は不揮発性メモリであることを特徴とする請求項1乃至6のいずれか1項に記載の記憶装置。   The storage device according to claim 1, wherein the first storage medium is a nonvolatile memory. 第1の記憶媒体の1記憶単位を構成するエントリ内に、所与のデータと、該データの属性情報と、該エントリの属性情報とを記憶するステップと、
第2の記憶媒体に、前記第1の記憶媒体の現在までの使用量と、該使用量で示される前記第1の記憶媒体内の記憶データについてのチェックサム値とを記憶するステップと、
所与の指令に基づいて、前記第1と第2の記憶媒体の記憶内容を制御する制御ステップと、を有することを特徴とする記憶装置の制御方法。
Storing given data, attribute information of the data, and attribute information of the entry in an entry constituting one storage unit of the first storage medium;
Storing, in a second storage medium, a usage amount of the first storage medium up to the present and a checksum value for storage data in the first storage medium indicated by the usage amount;
And a control step of controlling the storage contents of the first and second storage media based on a given command.
JP2010232322A 2010-10-15 2010-10-15 Storage device and storage device control method Expired - Fee Related JP5267534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010232322A JP5267534B2 (en) 2010-10-15 2010-10-15 Storage device and storage device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010232322A JP5267534B2 (en) 2010-10-15 2010-10-15 Storage device and storage device control method

Publications (2)

Publication Number Publication Date
JP2012088758A true JP2012088758A (en) 2012-05-10
JP5267534B2 JP5267534B2 (en) 2013-08-21

Family

ID=46260359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010232322A Expired - Fee Related JP5267534B2 (en) 2010-10-15 2010-10-15 Storage device and storage device control method

Country Status (1)

Country Link
JP (1) JP5267534B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05314020A (en) * 1992-05-08 1993-11-26 Toshiba Corp Memory card device
JP2010231699A (en) * 2009-03-30 2010-10-14 Nec Corp Data processing device, data processing method and data processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05314020A (en) * 1992-05-08 1993-11-26 Toshiba Corp Memory card device
JP2010231699A (en) * 2009-03-30 2010-10-14 Nec Corp Data processing device, data processing method and data processing program

Also Published As

Publication number Publication date
JP5267534B2 (en) 2013-08-21

Similar Documents

Publication Publication Date Title
US7694094B2 (en) Transaction method for managing the storing of persistent data in a transaction stack
US8281229B2 (en) Firmware verification using system memory error check logic
TWI490876B (en) Method and apparatus of system boot and pilot process
TWI433157B (en) Method for accessing a flash memory and associated memory device
US8751817B2 (en) Data processing apparatus and validity verification method
CN103858107A (en) Secure recovery apparatus and method
JP2006268524A (en) Storage device, and its control method and program
US20190332480A1 (en) Method, device and computer program product for detecting incomplete write of data
US20150370653A1 (en) Replacement of a corrupt driver variable record
EP2339499A1 (en) Storage device, information processing device, and program
TW201526007A (en) Method, device and operating system for processing, using a NAND flash memory burn data
US8788800B2 (en) OS processing method, system and non-transitory computer readable storage medium thereof
WO2022194048A1 (en) Method and device for data update, and vehicle
JP6861739B2 (en) Embedded device and firmware update method
JP2010067098A (en) Information processor, information processing method, and information processing program
US7657795B2 (en) Method and apparatus for writing to a target memory page of a memory
US9507665B2 (en) Computing device and method for accessing BIOS using middleware controller of the computing device
CN113238790A (en) Firmware program updating method and system based on SD card and EEPROM
US8261133B1 (en) Protection and recovery of non-redundant information stored in a memory
JP5267534B2 (en) Storage device and storage device control method
CN112579179A (en) Partition mounting method of embedded system
CN111522686B (en) Nonvolatile data reading and writing method and device
CN112099987A (en) Data management method, device, equipment and storage medium
US20060143369A1 (en) Nonvolatile memory and card reader provided with the same
JP2005149291A (en) Filesystem, program therefor, and information processing system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121030

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130312

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130422

R150 Certificate of patent or registration of utility model

Ref document number: 5267534

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees