WO2018016199A1 - データ書き換え装置、データ書き換えプログラム - Google Patents

データ書き換え装置、データ書き換えプログラム Download PDF

Info

Publication number
WO2018016199A1
WO2018016199A1 PCT/JP2017/020464 JP2017020464W WO2018016199A1 WO 2018016199 A1 WO2018016199 A1 WO 2018016199A1 JP 2017020464 W JP2017020464 W JP 2017020464W WO 2018016199 A1 WO2018016199 A1 WO 2018016199A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
storage unit
rewriting
unit
information
Prior art date
Application number
PCT/JP2017/020464
Other languages
English (en)
French (fr)
Inventor
卓也 河▼崎▲
翔 中村
雄三 原田
上原 一浩
充啓 夏目
和明 早川
Original Assignee
株式会社デンソー
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 株式会社デンソー filed Critical 株式会社デンソー
Priority to DE112017003641.0T priority Critical patent/DE112017003641T5/de
Priority to US16/318,386 priority patent/US20190287626A1/en
Priority to CN201780029579.6A priority patent/CN109154904A/zh
Publication of WO2018016199A1 publication Critical patent/WO2018016199A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/14Circuits for erasing electrically, e.g. erase voltage switching circuits
    • G11C16/16Circuits for erasing electrically, e.g. erase voltage switching circuits for erasing blocks, e.g. arrays, words, groups
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/1666Error detection or correction of the data by redundancy in hardware where the redundant component is memory or memory area
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/102External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/102External programming circuits, e.g. EPROM programmers; In-circuit programming or reprogramming; EPROM emulators
    • G11C16/105Circuits or methods for updating contents of nonvolatile memory, especially with 'security' features to ensure reliable replacement, i.e. preventing that old data is lost before new data is reliably written

Definitions

  • This disclosure relates to a data rewriting device and a data rewriting program.
  • Patent Literature 1 discloses a technique for automatically rewriting and rewriting a communication program when rewriting of an application program stored in a memory fails.
  • Patent Document 2 discloses a technique for confirming whether or not data is correctly written when reading data from the flash memory when a write failure occurs due to an instantaneous power failure or the like during data writing to the flash memory. Is disclosed.
  • Japanese Patent Application Laid-Open No. 2004-151858 discloses a technique for re-updating a program using a second non-volatile memory when a failure occurs during the updating of the first non-volatile memory.
  • Processing when rewriting all the data written in the memory is performed as follows. That is, first, all data written in the memory is erased. At this time, along with erasing all data, the flash status information and stamp information stored in the memory when the previous data rewriting process is completed are also erased. Then, the current data rewriting process is started with the flash status information and the stamp information erased. When the data rewriting process is completed, the flash status information and the stamp information are written. Thereby, the data rewriting process is completed.
  • Flash status information is information that is written to memory when data rewrite processing is completed. That is, if the flash status information is written, it indicates that the data rewriting process is completed, and if not written, it indicates that the data rewriting process is not completed.
  • the stamp information is information that is written to the memory when it is confirmed that the written data does not contain an error. That is, if the stamp information is written, it indicates that the data does not contain an error, and if not written, it indicates that the data contains an error.
  • the flash status information and stamp information can be erased along with erasing all data. Therefore, data rewrite processing can be performed in a state where the flash status information and stamp information are erased. Therefore, for example, when the process is interrupted in the middle of the rewriting process, the flash status information and the stamp information are in an erased state, so that it is possible to recognize that the data rewriting is in an incomplete state. It is possible to avoid using the data.
  • the differential rewriting process that rewrites data that has a difference among the data written in the memory
  • all the data written in the memory is not erased, so the flash status information and the stamp information may not be erased. Arise. Therefore, for example, when the process is interrupted in the middle of the differential rewriting process, a situation may occur in which the flash status information and the stamp information remain written even though the differential data rewriting process has not been completed. In this case, since rewriting of data is completed and it is recognized that the data does not contain an error, the data may be used even though the rewriting of data is incomplete.
  • the present disclosure provides information indicating that the data rewriting process is completed before the data rewriting process is started, and information indicating that the written data does not include an error.
  • a data rewriting device and a data rewriting program which can be surely erased.
  • the data rewriting device includes a rewriting unit (11), a first writing unit (12), a second writing unit (13), and an erasing unit (14).
  • the rewriting unit rewrites data in which a difference has occurred among data written in the memory (100).
  • the first writing unit writes predetermined first information in the first storage unit (21) when the data rewriting process by the rewriting unit is completed.
  • the second writing unit confirms that the data written by the rewriting unit contains no error
  • the second writing unit writes predetermined second information in the second storage unit (22).
  • the erasing unit erases the first storage unit storing the first information and the second storage unit storing the second information before the data rewriting process by the rewriting unit is started.
  • the data rewriting program causes the data rewriting device to execute a rewriting process, a first writing process, a second writing process, and an erasing process.
  • the rewriting process rewrites data in which a difference occurs among data written in the memory (100).
  • predetermined first information is written into the first storage unit (21).
  • predetermined second information is written in the second storage unit (22).
  • the erasing process erases the first storage unit storing the first information and the second storage unit storing the second information before the rewriting process is started.
  • the first information written when the previous data rewriting process is completed that is, the information indicating that the data rewriting process is completed is displayed before the current data rewriting process is started. Can be erased reliably. Further, according to the present disclosure, the current data rewriting process is started with the second information written at the completion of the previous data rewriting process, that is, information indicating that the written data does not include an error. It can be securely erased before being done.
  • the drawing It is a block diagram schematically showing a configuration example of a data rewriting device according to the present embodiment, It is a flowchart which shows an example of a data rewriting process, It is a figure which shows the structural example of the memory which concerns on 1st Embodiment, It is a figure which shows the operation example of 1st Embodiment, It is a figure which shows the structural example of the memory which concerns on 2nd Embodiment, It is a figure which shows the operation example of 2nd Embodiment, It is a figure which shows the structural example of the memory which concerns on 3rd Embodiment, It is a figure which shows the operation example of 3rd Embodiment, It is a figure which shows the structural example of the memory which concerns on 4th Embodiment, It is a figure which shows the operation example of 4th Embodiment.
  • a data rewriting device 10 illustrated in FIG. 1 is a device that rewrites data written in the memory 100.
  • the data rewriting device 10 can perform a so-called differential rewriting process in which data having a difference among data written in the memory 100 is rewritten.
  • the memory 100 includes at least three areas of a rewrite software storage unit 101, a data storage unit 102, and a save unit 103.
  • the rewriting software storage unit 101 stores data rewriting software for causing the data rewriting device 10 to execute data rewriting processing.
  • Data rewriting software is an example of a data rewriting program.
  • the data storage unit 102 stores, for example, data constituting software used by the user.
  • the data storage unit 102 is composed of a plurality of block areas.
  • the data rewrite device 10 can rewrite data stored in the data storage unit 102 in units of blocks.
  • the saving unit 103 temporarily stores the data of the portion of the data to be rewritten that has no difference. This is an area for evacuation.
  • the data rewriting device 10 can save data until the saving unit 103 for one block is filled with saved data.
  • the data rewriting apparatus 10 can execute data rewriting processing, more specifically, generation and writing of new data, which will be described later, after the saving unit 103 is filled with saved data.
  • the data rewriting device 10 virtually implements the rewriting unit 11, the first writing unit 12, the second writing unit 13, and the erasing unit 14 by executing the data rewriting software read from the rewriting software storage unit 101.
  • these processing units 11 to 14 may be realized by hardware, or may be realized by a combination of software and hardware.
  • the rewrite unit 11 executes a rewrite process for rewriting data stored in the data storage unit 102.
  • the rewriting unit 11 can execute a differential rewriting process for rewriting data in which a difference has occurred among the data stored in the data storage unit 102.
  • the first writing unit 12 writes the flash status information in the first storage unit 21 to be described later when the data rewriting process by the rewriting unit 11 is completed.
  • the flash status information is an example of first information. If the flash status information is written in the first storage unit 21, it indicates that the data rewriting process has been completed. Further, if the flash status information is not written in the first storage unit 21, it indicates that the data rewriting process is not completed.
  • the second writing unit 13 confirms whether or not the data written by the rewriting unit 11 includes an error.
  • the second writing unit 13 confirms that the data written by the rewriting unit 11 does not include an error
  • the second writing unit 13 writes stamp information in the second storage unit 22 described later.
  • the stamp information is an example of second information. If the stamp information is written in the second storage unit 22, it indicates that the data written by the rewrite unit 11 does not contain an error. Further, if the stamp information is not written in the second storage unit 22, it indicates that the data written by the rewriting unit 11 contains an error.
  • various check methods such as a well-known CRC method can be employed.
  • the erasing unit 14 Before the data rewriting process by the rewriting unit 11 is started, the erasing unit 14 includes the first storage unit 21 storing the flash status information and the second storage unit 22 storing the stamp information in units of blocks. to erase. That is, the erasing unit 14 surely erases both the flash status information and the stamp information written in the memory 100 when the previous data rewriting process is completed before the current data rewriting process is started. Depending on the specifications of the data rewriting device 10, the erasure unit 14 designates the flash status information stored in the first storage unit 21 and the stamp information stored in the second storage unit 22, and these information It is also possible to delete the pinpoint.
  • the data rewriting device 10 when rewriting data in which a difference has occurred, the data rewriting device 10 first identifies a block area in which data to be rewritten is stored (S1). Then, the data rewriting device 10 causes the saving unit 103 to save the portion of the data stored in the identified block area where no difference has occurred (S2). Then, the data rewriting device 10 erases all the data stored in the specified block area (S3). Then, the data rewriting device 10 generates new data reflecting the difference by combining the newly generated difference data and the data saved in the saving unit 103 (S4). Then, the data rewriting device 10 stores the new data in the block area specified in step S1 (S5). As a result, the data rewriting device 10 rewrites the old data in which the difference is generated with the new data reflecting the difference.
  • the data rewrite device 10 repeatedly executes the processes of steps A1 to A5 for all the block areas where the difference has occurred (S6: NO).
  • the data rewriting device 10 rewrites the data in all the block areas where the difference has occurred (S6: YES)
  • it stores the flash status information in the first storage unit 21 (S7).
  • the data rewriting device 10 checks whether or not an error is included in the rewritten data (S8).
  • the stamp information is stored in the second storage unit 22 (S9), and this process is terminated.
  • the data rewriting device 10 executes a predetermined error handling process (S10) when an error is included in the rewritten data (S8: YES).
  • S10 a predetermined error handling process
  • various processing such as processing for rewriting data rewriting processing, processing for notifying that data rewriting processing has failed by display or voice, processing for prohibiting use of data, and the like can be considered. .
  • the data rewriting apparatus 10 having the above premise configuration performs a plurality of implementations for reliably erasing the flash status information and stamp information written at the end of the previous data rewriting process before starting the current data rewriting process.
  • a form can be adopted. Each embodiment will be described below.
  • the first storage unit 21 and the second storage unit 22 are separately provided outside the data storage unit 102.
  • the first storage unit 21 stores flash status information D1.
  • the second storage unit 22 stores stamp information D2.
  • the data rewriting device 10 first stores the first storage unit 21 storing the flash status information D1 and the stamp information D2.
  • the stored second storage unit 22 is erased in units of blocks. Thereby, the 1st storage part 21 and the 2nd storage part 22 will be in the blank state in which data is not stored.
  • the data rewriting device 10 may specify and erase the flash status information D1 stored in the first storage unit 21 and the stamp information D2 stored in the second storage unit 22 depending on the specifications. Is possible.
  • the data rewriting device 10 erases the data to be rewritten. Then, the data rewrite device 10 writes new data in the block area from which the data has been erased. When the data rewriting device 10 completes the data rewriting process, the data rewriting device 10 writes the flash status information D1 in the first storage unit 21. Further, the data rewriting device 10 confirms whether or not the written new data contains an error. When the data rewriting device 10 confirms that the written data does not contain an error, the data rewriting device 10 writes the stamp information D2 in the second storage unit 22.
  • the data rewriting device 10 starts the current data rewriting process after surely erasing the flash status information and the stamp information written at the completion of the previous data rewriting process. Accordingly, when the process is interrupted during the current data rewriting process, the flash status information and the stamp information are erased. Therefore, it can be recognized that the data rewriting is incomplete, and the data can be avoided from being used.
  • the configuration of the present embodiment can be realized by securing two block areas, that is, a block area for the first storage unit 21 and a block area for the second storage unit 22 outside the data storage unit 102. it can. Therefore, it is not necessary to significantly change the premise configuration of the data rewriting device 10, and the existing configuration can be used almost as it is.
  • a general storage unit 31 including a first storage unit 21 and a second storage unit 22 is provided outside the data storage unit 102. That is, the general storage unit 31 functions as a first storage unit and a second storage unit, and is an area in which both the flash status information D1 and the stamp information D2 are stored.
  • the data rewriting device 10 before starting the data rewriting process, the data rewriting device 10 first sets the general storage unit 31 storing the flash status information D1 and the stamp information D2 in units of blocks. to erase. As a result, the general storage unit 31 enters a blank state in which no data is stored. Note that the data rewriting device 10 can also specify and erase the flash status information D1 and the stamp information D2 stored in the general storage unit 31 depending on the specifications.
  • the data rewriting device 10 erases the data to be rewritten. Then, the data rewrite device 10 writes new data in the block area from which the data has been erased. When the data rewriting device 10 completes the data rewriting process, the data rewriting device 10 writes the flash status information D1 in the general storage unit 31. Further, the data rewriting device 10 confirms whether or not the written new data contains an error. When the data rewriting device 10 confirms that the written data does not contain an error, the data rewriting device 10 writes the stamp information D2 in the general storage unit 31.
  • the data rewriting device 10 starts the current data rewriting process after surely erasing the flash status information and the stamp information written at the completion of the previous data rewriting process. Accordingly, when the process is interrupted during the current data rewriting process, the flash status information and the stamp information are erased. Therefore, it can be recognized that the data rewriting is incomplete, and the data can be avoided from being used.
  • the configuration of the present embodiment can be realized by securing a block area for the general storage unit 31 outside the data storage unit 102. Therefore, it is not necessary to significantly change the premise configuration of the data rewriting device 10, and the existing configuration can be used almost as it is.
  • the first storage unit 21 and the second storage unit 22 are provided inside the data storage unit 102. That is, in this embodiment, the block area in the data storage unit 102 is used as an area for the first storage unit 21 and an area for the second storage unit 22.
  • the rewrite unit 11 also determines that the flash status information D1 stored in the first storage unit 21 and the stamp information D2 stored in the second storage unit 22 are also data in which a difference has occurred. It is assumed that it is recognized as a part of data to be rewritten by the data rewriting process.
  • the data rewriting device 10 before starting the data rewriting process, the data rewriting device 10 first stores the first storage unit 21 storing the flash status information D1 and the stamp information D2.
  • the stored second storage unit 22 is erased in block units as part of the data to be rewritten. Thereby, the 1st storage part 21 and the 2nd storage part 22 will be in the blank state in which data is not stored.
  • the data rewriting device 10 may specify and erase the flash status information D1 stored in the first storage unit 21 and the stamp information D2 stored in the second storage unit 22 depending on the specifications. Is possible.
  • the data rewriting device 10 erases data to be rewritten. Then, the data rewriting device 10 writes new data in the block area where the data is erased in the area other than the first storage unit 21 and the second storage unit 22. When the data rewriting device 10 completes the data rewriting process, the data rewriting device 10 writes the flash status information D1 in the first storage unit 21. Further, the data rewriting device 10 confirms whether or not the written new data contains an error. When the data rewriting device 10 confirms that the written data does not contain an error, the data rewriting device 10 writes the stamp information D2 in the second storage unit 22.
  • the data rewriting device 10 starts the current data rewriting process after surely erasing the flash status information and the stamp information written at the completion of the previous data rewriting process. Accordingly, when the process is interrupted during the current data rewriting process, the flash status information and the stamp information are erased. Therefore, it can be recognized that the data rewriting is incomplete, and the data can be avoided from being used.
  • the configuration of the present embodiment can be realized by securing two block areas inside the data storage unit 102, a block area for the first storage unit 21 and a block area for the second storage unit 22. Therefore, there is no need to change the premise configuration of the data rewriting device 10, and the existing configuration can be used as it is. Further, since the existing configuration can be used as it is, there is no need to newly provide a block area for the first storage unit 21 and a block area for the second storage unit 22, and accordingly, a memory area in which application programs are stored. Can be avoided.
  • the first storage unit 21 and the second storage unit 22 are provided in the retracting unit 103.
  • the save unit 103 stores the flash status information D1 and the stamp information D2.
  • the data rewriting device 10 first erases all data stored in the saving unit 103 before starting the data rewriting process.
  • the flash status information D1 and the stamp information D2 stored in the save unit 103 are also erased, and the save unit 103 enters a blank state in which no data is stored.
  • the data rewriting device 10 can also designate and erase the flash status information D1 and the stamp information D2 stored in the save unit 103 depending on the specification.
  • the data rewriting device 10 causes the saving unit 103 to save the data in which no difference occurs among the data to be rewritten as the saving data D3. Then, the data rewriting device 10 erases the data to be rewritten. Then, the data rewriting device 10 combines the difference data with the saved data D3 saved in the saving unit 103 to generate new data. Then, the data rewrite device 10 writes new data in the block area from which the data has been erased. When the data rewriting device 10 completes the data rewriting process, the data rewriting device 10 writes the flash status information D1 in the saving unit 103. Further, the data rewriting device 10 confirms whether or not the written new data contains an error. When the data rewriting device 10 confirms that the written data does not contain an error, the data rewriting device 10 writes the stamp information D2 in the saving unit 103.
  • the data rewriting device 10 starts the current data rewriting process after surely erasing the flash status information and the stamp information written at the completion of the previous data rewriting process. Accordingly, when the process is interrupted during the current data rewriting process, the flash status information and the stamp information are erased. Therefore, it can be recognized that the data rewriting is incomplete, and the data can be avoided from being used.
  • the configuration of the present embodiment can be realized by securing the first storage unit 21 and the second storage unit 22 in the save unit 103. Therefore, there is no need to change the premise configuration of the data rewriting device 10, and the existing configuration can be used as it is. Further, since the existing configuration can be used as it is, there is no need to newly provide a block area for the first storage unit 21 and a block area for the second storage unit 22, and accordingly, a memory area in which application programs are stored. Can be avoided.
  • the data rewriting device 10 has a function of checking whether the same data string as the flash status information D1 and the same data string as the stamp information D2 are included in the data D3 saved in the saving unit 103. It is good.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Retry When Errors Occur (AREA)

Abstract

データ書き換え装置10は、メモリ100に書き込まれているデータのうち差分が生じたデータを書き換える書き換え部11と、書き換え部11によるデータの書き換え処理が完了すると、第1情報を第1格納部21に書き込む第1書き込み部12と、書き換え部11により書き込まれたデータに誤りが含まれていないことを確認すると、第2情報を第2格納部22に書き込む第2書き込み部13と、書き換え部11によるデータの書き換え処理が開始される前に、第1情報を格納する第1格納部21および第2情報を格納する第2格納部22を消去する消去部14と、を備える。

Description

データ書き換え装置、データ書き換えプログラム 関連出願の相互参照
 本出願は、2016年7月19日に出願された日本出願番号2016-141344号に基づくもので、ここにその記載内容を援用する。
 本開示は、データ書き換え装置およびデータ書き換えプログラムに関する。
 従来より、メモリに書き込まれているデータを書き換える装置が考えられている。例えば特許文献1には、メモリに格納されるアプリケーションプログラムの書き換えに失敗したときに、通信プログラムを自動的に切り換えて再書き換えを行う技術が開示されている。特許文献2には、フラッシュメモリへのデータ書き込み中において瞬時停電などの影響により書き込み不良が発生した場合に、フラッシュメモリのデータを読み出す際に、データが正しく書き込まれているか否かを確認する技術が開示されている。特許文献3には、第1の不揮発性メモリの更新途中に障害が発生した場合に、第2の不揮発性メモリによりプログラムの再更新を行う技術が開示されている。
特開2004-005152号公報 特開平8-006865号公報 特開2002-351683号公報
 メモリに書き込まれているデータを全て書き換える場合の処理は、次のように行われる。即ち、まず、メモリに書き込まれているデータを全て消去する。このとき、全てのデータを消去することに伴い、前回のデータ書き換え処理の完了時にメモリに格納されたフラッシュステータス情報およびスタンプ情報も消去される。そして、フラッシュステータス情報およびスタンプ情報が消去された状態で、今回のデータ書き換え処理が開始される。そして、データ書き換え処理が完了するとフラッシュステータス情報およびスタンプ情報の書き込みが行われる。これにより、データ書き換え処理が完了する。
 フラッシュステータス情報は、データ書き換え処理が完了したときにメモリに書き込まれる情報である。即ち、フラッシュステータス情報が書き込まれていれば、データの書き換え処理が完了した状態であることを示し、書き込まれていなければ、データの書き換え処理が完了していない状態であることを示す。スタンプ情報は、書き込まれたデータに誤りが含まれていないことが確認されたときにメモリに書き込まれる情報である。即ち、スタンプ情報が書き込まれていれば、データに誤りが含まれていない状態であることを示し、書き込まれていなければ、データに誤りが含まれている状態であることを示す。
 メモリに書き込まれているデータを全て書き換える場合であれば、全てのデータを消去することに伴いフラッシュステータス情報およびスタンプ情報も消去することができる。そのため、フラッシュステータス情報およびスタンプ情報が消去された状態でデータの書き換え処理を行うことができる。よって、例えば書き換え処理の途中において当該処理が中断した場合には、フラッシュステータス情報およびスタンプ情報が消去された状態となっているため、データの書き換えが不完全な状態であることを認識することができ、当該データが使用されてしまうことを回避することができる。
 しかし、メモリに書き込まれているデータのうち差分が生じたデータを書き換える差分書き換え処理においては、メモリに書き込まれている全てのデータが消去されないことから、フラッシュステータス情報およびスタンプ情報が消去されない場合が生じる。そのため、例えば差分書き換え処理の途中において当該処理が中断した場合、差分データの書き換え処理が完了していないにも関わらず、フラッシュステータス情報およびスタンプ情報が書き込まれたままとなる状況が発生し得る。この場合、データの書き換えが完了し且つデータに誤りが含まれていないと認識されるため、データの書き換えが不完全であるにも関わらず、当該データが使用されてしまうおそれがある。
 そのため、特に差分書き換え処理を行う場合には、データの書き換え処理が開始される前に、フラッシュステータス情報およびスタンプ情報の双方を確実に消去することが求められる。特に、書き換え対象であるアプリケーションプログラムのデータ量が大きい場合、フラッシュステータス情報やスタンプ情報を格納するメモリ領域が限られている場合などにおいては、アプリケーションプログラムが格納されるメモリ領域を極力圧迫しないようにしつつ、フラッシュステータス情報およびスタンプ情報の双方を確実に消去することが求められる。
 そこで、本開示は、データの書き換え処理が開始される前に、データの書き換え処理が完了した状態であることを示す情報、および、書き込まれたデータに誤りが含まれていないことを示す情報を確実に消去できるようにしたデータ書き換え装置およびデータ書き換えプログラムを提供する。
 本開示の一態様において、データ書き換え装置は、書き換え部(11)、第1書き込み部(12)、第2書き込み部(13)、消去部(14)を備える。書き換え部は、メモリ(100)に書き込まれているデータのうち差分が生じたデータを書き換える。第1書き込み部は、書き換え部によるデータの書き換え処理が完了すると、所定の第1情報を第1格納部(21)に書き込む。第2書き込み部は、書き換え部により書き込まれたデータに誤りが含まれていないことを確認すると、所定の第2情報を第2格納部(22)に書き込む。消去部は、書き換え部によるデータの書き換え処理が開始される前に、第1情報を格納している第1格納部および第2情報を格納している第2格納部を消去する。
 本開示の一態様において、データ書き換えプログラムは、書き換え処理、第1書き込み処理、第2書き込み処理、消去処理をデータ書き換え装置に実行させる。書き換え処理は、メモリ(100)に書き込まれているデータのうち差分が生じたデータを書き換える。第1書き込み処理は、書き換え処理が完了すると、所定の第1情報を第1格納部(21)に書き込む。第2書き込み処理は、書き換え処理により書き込まれたデータに誤りが含まれていないことを確認すると、所定の第2情報を第2格納部(22)に書き込む。消去処理は、書き換え処理が開始される前に、第1情報を格納している第1格納部および第2情報を格納している第2格納部を消去する。
 本開示によれば、前回のデータ書き換え処理の完了時に書き込まれた第1情報、つまり、データの書き換え処理が完了した状態であることを示す情報を、今回のデータの書き換え処理が開始される前に確実に消去することができる。また、本開示によれば、前回のデータ書き換え処理の完了時に書き込まれた第2情報、つまり、書き込まれたデータに誤りが含まれていないことを示す情報を、今回のデータの書き換え処理が開始される前に確実に消去することができる。
 本開示についての上記目的およびその他の目的、特徴や利点は、添付の図面を参照しながら下記の詳細な記述により、より明確になる。その図面は、
本実施形態に係るデータ書き換え装置の構成例を概略的に示すブロック図であり、 データ書き換え処理の一例を示すフローチャートであり、 第1実施形態に係るメモリの構成例を示す図であり、 第1実施形態の動作例を示す図であり、 第2実施形態に係るメモリの構成例を示す図であり、 第2実施形態の動作例を示す図であり、 第3実施形態に係るメモリの構成例を示す図であり、 第3実施形態の動作例を示す図であり、 第4実施形態に係るメモリの構成例を示す図であり、 第4実施形態の動作例を示す図である。
 以下、データ書き換え装置に係る複数の実施形態について図面を参照しながら説明する。なお、各実施形態において実質的に同一の要素には同一の符号を付し、説明を省略する。
 (データ書き換え装置の前提構成)
 図1に例示するデータ書き換え装置10は、メモリ100に書き込まれているデータを書き換える装置である。この場合、データ書き換え装置10は、メモリ100に書き込まれているデータのうち差分が生じたデータを書き換える、いわゆる差分書き換え処理が可能である。メモリ100は、少なくとも、書き換えソフト格納部101、データ格納部102、退避部103の3つの領域を備える。
 書き換えソフト格納部101には、データ書き換え装置10にデータ書き換え処理を実行させるためのデータ書き換えソフトウェアが格納されている。データ書き換えソフトウェアは、データ書き換えプログラムの一例である。データ格納部102には、例えばユーザが使用するソフトウェアなどを構成するデータが格納されている。データ格納部102は、複数のブロック領域で構成されている。データ書き換え装置10は、データ格納部102に格納されているデータをブロック単位で書き換え可能となっている。退避部103は、データ書き換え装置10がデータ格納部102に格納されているデータを書き換える場合、特に差分のみを書き換える場合に、書き換え対象となるデータのうち差分が生じていない部分のデータを一時的に退避させるための領域である。
 データ書き換え装置10は、1ブロック分の退避部103が退避データにより満たされるまで、データを退避させることが可能である。そして、データ書き換え装置10は、退避部103が退避データにより満たされた後に、データの書き換え処理、より具体的には、後述する新データの生成および書き込みを実行することが可能である。
 データ書き換え装置10は、書き換えソフト格納部101から読み出したデータ書き換えソフトウェアを実行することにより、書き換え部11、第1書き込み部12、第2書き込み部13、消去部14を仮想的に実現する。なお、これらの処理部11~14は、ハードウェアにより実現してもよいし、ソフトウェアとハードウェアの組み合わせにより実現してもよい。
 書き換え部11は、データ格納部102に格納されているデータを書き換える書き換え処理を実行する。この場合、書き換え部11は、データ格納部102に格納されているデータのうち差分が生じたデータを書き換える差分書き換え処理を実行することが可能である。
 第1書き込み部12は、書き換え部11によるデータの書き換え処理が完了すると、フラッシュステータス情報を、後述する第1格納部21に書き込む。フラッシュステータス情報は、第1情報の一例である。フラッシュステータス情報が第1格納部21に書き込まれていれば、データの書き換え処理が完了した状態であることを示す。また、フラッシュステータス情報が第1格納部21に書き込まれていなければ、データの書き換え処理が完了していない状態であることを示す。
 第2書き込み部13は、書き換え部11によるデータの書き換え処理が完了すると、当該書き換え部11により書き込まれたデータに誤りが含まれていないか否かを確認する。そして、第2書き込み部13は、書き換え部11により書き込まれたデータに誤りが含まれていないことを確認すると、スタンプ情報を、後述する第2格納部22に書き込む。スタンプ情報は、第2情報の一例である。スタンプ情報が第2格納部22に書き込まれていれば、書き換え部11により書き込まれたデータに誤りが含まれていないことを示す。また、スタンプ情報が第2格納部22に書き込まれていなければ、書き換え部11により書き込まれたデータに誤りが含まれていることを示す。なお、書き込まれたデータに誤りが含まれていないか否かを確認する手法としては、例えば周知のCRC方式など、種々のチェック方式を採用することができる。
 消去部14は、書き換え部11によるデータの書き換え処理が開始される前に、フラッシュステータス情報を格納している第1格納部21およびスタンプ情報を格納している第2格納部22をブロック単位で消去する。即ち、消去部14は、前回のデータ書き換え処理の完了時にメモリ100に書き込まれたフラッシュステータス情報およびスタンプ情報の双方を、今回のデータ書き換え処理が開始される前に確実に消去するものである。なお、データ書き換え装置10の仕様によっては、消去部14は、第1格納部21に格納されているフラッシュステータス情報および第2格納部22に格納されているスタンプ情報を指定して、これらの情報をピンポイントで消去することも可能である。
 次に、データ書き換え装置10によるデータ書き換え処理の動作例について説明する。図2に例示するように、データ書き換え装置10は、差分が生じたデータを書き換える場合には、まず書き換え対象となるデータが格納されているブロック領域を特定する(S1)。そして、データ書き換え装置10は、特定したブロック領域に格納されているデータのうち差分が生じていない部分のデータを退避部103に退避させる(S2)。そして、データ書き換え装置10は、特定したブロック領域に格納されているデータを全て消去する(S3)。そして、データ書き換え装置10は、新たに生じた差分データと退避部103に退避させたデータとを結合することにより、差分が反映された新データを生成する(S4)。そして、データ書き換え装置10は、ステップS1において特定したブロック領域に新データを格納する(S5)。これにより、データ書き換え装置10は、差分が生じた旧データを、差分を反映した新データにより書き換える。
 データ書き換え装置10は、差分が生じた全てのブロック領域についてステップA1~A5の処理を繰り返し実行する(S6:NO)。そして、データ書き換え装置10は、差分が生じた全てのブロック領域のデータを書き換えると(S6:YES)、第1格納部21にフラッシュステータス情報を格納する(S7)。そして、データ書き換え装置10は、書き換え後のデータに誤りが含まれていないか否かを確認する(S8)。データ書き換え装置10は、書き換え後のデータに誤りが含まれていないことを確認すると(S8:NO)、第2格納部22にスタンプ情報を格納して(S9)、この処理を終了する。
 なお、データ書き換え装置10は、書き換え後のデータに誤りが含まれている場合(S8:YES)には、所定の誤り対応処理を実行する(S10)。誤り対応処理としては、例えば、データの書き換え処理をやり直す処理、データの書き換え処理を失敗している旨を表示や音声により報知する処理、データの使用を禁止する処理、など種々の処理が考えられる。
 以上の前提構成を備えるデータ書き換え装置10は、今回のデータ書き換え処理を開始する前に、前回のデータ書き換え処理の終了時に書き込まれたフラッシュステータス情報およびスタンプ情報を確実に消去するための複数の実施形態を採用可能である。以下、各実施形態について説明する。
 (第1実施形態)
 図3に例示するように、本実施形態は、第1格納部21および第2格納部22を、データ格納部102の外部に別々に設けたものである。第1格納部21には、フラッシュステータス情報D1が格納される。また、第2格納部22には、スタンプ情報D2が格納される。図4に例示するように、この場合、データ書き換え装置10は、データの書き換え処理を開始する前に、まず、フラッシュステータス情報D1を格納している第1格納部21、および、スタンプ情報D2を格納している第2格納部22をブロック単位で消去する。これにより、第1格納部21および第2格納部22は、データが格納されていないブランク状態となる。なお、データ書き換え装置10は、仕様によっては、第1格納部21に格納されているフラッシュステータス情報D1、および、第2格納部22に格納されているスタンプ情報D2を指定して消去することも可能である。
 そして、データ書き換え装置10は、書き換え対象となるデータを消去する。そして、データ書き換え装置10は、データを消去したブロック領域に新データを書き込んでいく。そして、データ書き換え装置10は、データの書き換え処理を完了すると、第1格納部21にフラッシュステータス情報D1を書き込む。また、データ書き換え装置10は、書き込んだ新データに誤りが含まれていないか否かを確認する。そして、データ書き換え装置10は、書き込んだデータに誤りが含まれていないことを確認すると、第2格納部22にスタンプ情報D2を書き込む。
 本実施形態によれば、データ書き換え装置10は、前回のデータ書き換え処理の完了時に書き込まれたフラッシュステータス情報およびスタンプ情報を確実に消去してから、今回のデータ書き換え処理を開始する。従って、今回のデータ書き換え処理の途中において当該処理が中断した場合には、フラッシュステータス情報およびスタンプ情報が消去された状態となっている。そのため、データの書き換えが不完全な状態であることを認識することができ、当該データが使用されてしまうことを回避することができる。
 また、本実施形態の構成は、データ格納部102の外部に、第1格納部21用のブロック領域および第2格納部22用のブロック領域の2つのブロック領域を確保することにより実現することができる。よって、データ書き換え装置10の前提構成を大幅に変更する必要が無く、既存の構成をほぼそのまま利用することができる。
 (第2実施形態)
 図5に例示するように、本実施形態は、データ格納部102の外部に、第1格納部21および第2格納部22を含む総合格納部31を設けたものである。即ち、総合格納部31は、第1格納部および第2格納部として機能するものであり、フラッシュステータス情報D1およびスタンプ情報D2の双方が格納される領域である。
 図6に例示するように、この場合、データ書き換え装置10は、データの書き換え処理を開始する前に、まず、フラッシュステータス情報D1およびスタンプ情報D2を格納している総合格納部31をブロック単位で消去する。これにより、総合格納部31は、データが格納されていないブランク状態となる。なお、データ書き換え装置10は、仕様によっては、総合格納部31に格納されているフラッシュステータス情報D1およびスタンプ情報D2を指定して消去することも可能である。
 そして、データ書き換え装置10は、書き換え対象となるデータを消去する。そして、データ書き換え装置10は、データを消去したブロック領域に新データを書き込んでいく。そして、データ書き換え装置10は、データの書き換え処理を完了すると、総合格納部31にフラッシュステータス情報D1を書き込む。また、データ書き換え装置10は、書き込んだ新データに誤りが含まれていないか否かを確認する。そして、データ書き換え装置10は、書き込んだデータに誤りが含まれていないことを確認すると、総合格納部31にスタンプ情報D2を書き込む。
 本実施形態によれば、データ書き換え装置10は、前回のデータ書き換え処理の完了時に書き込まれたフラッシュステータス情報およびスタンプ情報を確実に消去してから、今回のデータ書き換え処理を開始する。従って、今回のデータ書き換え処理の途中において当該処理が中断した場合には、フラッシュステータス情報およびスタンプ情報が消去された状態となっている。そのため、データの書き換えが不完全な状態であることを認識することができ、当該データが使用されてしまうことを回避することができる。
 また、本実施形態の構成は、データ格納部102の外部に、総合格納部31用のブロック領域を確保することにより実現することができる。よって、データ書き換え装置10の前提構成を大幅に変更する必要が無く、既存の構成をほぼそのまま利用することができる。
 (第3実施形態)
 図7に例示するように、本実施形態は、第1格納部21および第2格納部22を、データ格納部102の内部に設けたものである。即ち、本実施形態は、データ格納部102内のブロック領域を第1格納部21用の領域および第2格納部22用の領域として用いるものである。また、本実施形態では、書き換え部11は、第1格納部21に格納されているフラッシュステータス情報D1および第2格納部22に格納されているスタンプ情報D2も、差分が発生したデータであるとみなし、データ書き換え処理により書き換えるデータの一部として認識するように設定されている。
 図8に例示するように、この場合、データ書き換え装置10は、データの書き換え処理を開始する前に、まず、フラッシュステータス情報D1を格納している第1格納部21、および、スタンプ情報D2を格納している第2格納部22を、書き換え対象となるデータの一部としてブロック単位で消去する。これにより、第1格納部21および第2格納部22は、データが格納されていないブランク状態となる。なお、データ書き換え装置10は、仕様によっては、第1格納部21に格納されているフラッシュステータス情報D1、および、第2格納部22に格納されているスタンプ情報D2を指定して消去することも可能である。
 また、データ書き換え装置10は、書き換え対象となるデータを消去する。そして、データ書き換え装置10は、第1格納部21および第2格納部22以外の領域においてデータを消去したブロック領域に新データを書き込んでいく。そして、データ書き換え装置10は、データの書き換え処理を完了すると、第1格納部21にフラッシュステータス情報D1を書き込む。また、データ書き換え装置10は、書き込んだ新データに誤りが含まれていないか否かを確認する。そして、データ書き換え装置10は、書き込んだデータに誤りが含まれていないことを確認すると、第2格納部22にスタンプ情報D2を書き込む。
 本実施形態によれば、データ書き換え装置10は、前回のデータ書き換え処理の完了時に書き込まれたフラッシュステータス情報およびスタンプ情報を確実に消去してから、今回のデータ書き換え処理を開始する。従って、今回のデータ書き換え処理の途中において当該処理が中断した場合には、フラッシュステータス情報およびスタンプ情報が消去された状態となっている。そのため、データの書き換えが不完全な状態であることを認識することができ、当該データが使用されてしまうことを回避することができる。
 本実施形態の構成は、データ格納部102の内部に、第1格納部21用のブロック領域および第2格納部22用のブロック領域の2つのブロック領域を確保することにより実現することができる。よって、データ書き換え装置10の前提構成を変更する必要が全く無く、既存の構成をそのまま利用することができる。また、既存の構成をそのまま利用することができるため、第1格納部21用のブロック領域および第2格納部22用のブロック領域を新設する必要が無く、従って、アプリケーションプログラムが格納されるメモリ領域が圧迫されてしまうことを回避することができる。
 (第4実施形態)
 図9に例示するように、本実施形態は、第1格納部21および第2格納部22を退避部103に設けたものである。よって、退避部103には、フラッシュステータス情報D1およびスタンプ情報D2が格納される。図10に例示するように、この場合、データ書き換え装置10は、データの書き換え処理を開始する前に、まず、退避部103に格納されているデータを全て消去する。これにより、退避部103に格納されているフラッシュステータス情報D1およびスタンプ情報D2も消去され、退避部103は、データが格納されていないブランク状態となる。なお、データ書き換え装置10は、仕様によっては、退避部103に格納されているフラッシュステータス情報D1およびスタンプ情報D2を指定して消去することも可能である。
 そして、データ書き換え装置10は、書き換え対象となるデータのうち差分が発生していないデータを退避データD3として退避部103に退避させる。そして、データ書き換え装置10は、書き換え対象となるデータを消去する。そして、データ書き換え装置10は、退避部103に退避させた退避データD3に差分データを結合して新データを生成する。そして、データ書き換え装置10は、データを消去したブロック領域に新データを書き込んでいく。そして、データ書き換え装置10は、データの書き換え処理を完了すると、退避部103にフラッシュステータス情報D1を書き込む。また、データ書き換え装置10は、書き込んだ新データに誤りが含まれていないか否かを確認する。そして、データ書き換え装置10は、書き込んだデータに誤りが含まれていないことを確認すると、退避部103にスタンプ情報D2を書き込む。
 本実施形態によれば、データ書き換え装置10は、前回のデータ書き換え処理の完了時に書き込まれたフラッシュステータス情報およびスタンプ情報を確実に消去してから、今回のデータ書き換え処理を開始する。従って、今回のデータ書き換え処理の途中において当該処理が中断した場合には、フラッシュステータス情報およびスタンプ情報が消去された状態となっている。そのため、データの書き換えが不完全な状態であることを認識することができ、当該データが使用されてしまうことを回避することができる。
 また、本実施形態の構成は、退避部103に、第1格納部21および第2格納部22を確保することにより実現することができる。よって、データ書き換え装置10の前提構成を変更する必要が全く無く、既存の構成をそのまま利用することができる。また、既存の構成をそのまま利用することができるため、第1格納部21用のブロック領域および第2格納部22用のブロック領域を新設する必要が無く、従って、アプリケーションプログラムが格納されるメモリ領域が圧迫されてしまうことを回避することができる。
 なお、本実施形態では、フラッシュステータス情報と同じデータ列およびスタンプ情報と同じデータ列のうち少なくとも何れか一方のデータ列が、退避部103に退避させたデータD3中に偶発的に含まれている場合も発生し得る。そのため、データ書き換え装置10は、退避部103に退避させるデータD3中に、フラッシュステータス情報D1と同じデータ列、スタンプ情報D2と同じデータ列が含まれていないか否かをチェックする機能を備える構成としてもよい。
 (その他の実施形態)
 本開示は、上述した実施形態に限定されるものではなく、その要旨を逸脱しない範囲で種々の実施形態に適用可能である。例えば、上述した複数の実施形態を適宜組み合わせて実施してもよい。
 本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。

Claims (7)

  1.  メモリ(100)に書き込まれているデータのうち差分が生じたデータを書き換える書き換え部(11)と、
     前記書き換え部によるデータの書き換え処理が完了すると、所定の第1情報を第1格納部(21)に書き込む第1書き込み部(12)と、
     前記書き換え部により書き込まれたデータに誤りが含まれていないことを確認すると、所定の第2情報を第2格納部(22)に書き込む第2書き込み部(13)と、
     前記書き換え部によるデータの書き換え処理が開始される前に、前記第1情報を格納している前記第1格納部および前記第2情報を格納している前記第2格納部を消去する消去部(14)と、
    を備えるデータ書き換え装置。
  2.  前記第1格納部および前記第2格納部は、前記メモリのうちデータが書き換えられる書き換え領域の外部に設けられている請求項1に記載のデータ書き換え装置。
  3.  前記第1格納部および前記第2格納部は、前記書き換え領域の外部に別々に設けられている請求項2に記載のデータ書き換え装置。
  4.  前記書き換え領域の外部に、前記第1格納部および前記第2格納部を含む総合格納部(31)が設けられている請求項2に記載のデータ書き換え装置。
  5.  前記メモリのうちデータが書き換えられる書き換え領域の内部に、前記第1格納部および前記第2格納部が設けられており、
     前記書き換え部は、前記第1情報を格納している前記第1格納部および前記第2情報を格納している前記第2格納部も、書き換えるデータの一部として認識する請求項1に記載のデータ書き換え装置。
  6.  前記書き換え部により書き換えられるデータを一時的に退避させる退避部(103)を備え、
     前記第1格納部および前記第2格納部は、前記退避部に設けられている請求項1に記載のデータ書き換え装置。
  7.  メモリ(100)に書き込まれているデータのうち差分が生じたデータを書き換える書き換え処理と、
     前記書き換え処理が完了すると、所定の第1情報を第1格納部(21)に書き込む第1書き込み処理と、
     前記書き換え処理により書き込まれたデータに誤りが含まれていないことを確認すると、所定の第2情報を第2格納部(22)に書き込む第2書き込み処理と、
     前記書き換え処理が開始される前に、前記第1情報を格納している前記第1格納部および前記第2情報を格納している前記第2格納部を消去する消去処理と、
    をデータ書き換え装置(10)に実行させるデータ書き換えプログラム。
PCT/JP2017/020464 2016-07-19 2017-06-01 データ書き換え装置、データ書き換えプログラム WO2018016199A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE112017003641.0T DE112017003641T5 (de) 2016-07-19 2017-06-01 Datenüberschreibvorrichtung und Datenüberschreibprogramm
US16/318,386 US20190287626A1 (en) 2016-07-19 2017-06-01 Data overwriting device and data overwriting method
CN201780029579.6A CN109154904A (zh) 2016-07-19 2017-06-01 数据改写装置、数据改写程序

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016141344A JP2018013837A (ja) 2016-07-19 2016-07-19 データ書き換え装置、データ書き換えプログラム
JP2016-141344 2016-07-19

Publications (1)

Publication Number Publication Date
WO2018016199A1 true WO2018016199A1 (ja) 2018-01-25

Family

ID=60992046

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/020464 WO2018016199A1 (ja) 2016-07-19 2017-06-01 データ書き換え装置、データ書き換えプログラム

Country Status (5)

Country Link
US (1) US20190287626A1 (ja)
JP (1) JP2018013837A (ja)
CN (1) CN109154904A (ja)
DE (1) DE112017003641T5 (ja)
WO (1) WO2018016199A1 (ja)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020022265A1 (ja) 2018-07-25 2020-01-30 株式会社デンソー 車両用電子制御システム、プログラム更新の承諾判定方法及びプログラム更新の承諾判定プログラム
JP7379892B2 (ja) 2018-07-25 2023-11-15 株式会社デンソー 車両用電子制御システム、車両側システム及び携帯端末
JP7024765B2 (ja) 2018-08-10 2022-02-24 株式会社デンソー 車両用マスタ装置、更新データの配信制御方法及び更新データの配信制御プログラム
JP7400232B2 (ja) 2018-08-10 2023-12-19 株式会社デンソー 電子制御装置、リトライポイントの特定方法、リトライポイントの特定プログラム及び車両用電子制御システム
JP7427879B2 (ja) 2018-08-10 2024-02-06 株式会社デンソー 車両用マスタ装置、書換え対象のグループ管理方法及び書換え対象のグループ管理プログラム
JP7419689B2 (ja) 2018-08-10 2024-01-23 株式会社デンソー 車両用電子制御システム、センター装置、車両用マスタ装置、表示制御情報の送信制御方法、表示制御情報の受信制御方法、表示制御情報の送信制御プログラム及び表示制御情報の受信制御プログラム
JP7111074B2 (ja) 2018-08-10 2022-08-02 株式会社デンソー 車両用マスタ装置、セキュリティアクセス鍵の管理方法、セキュリティアクセス鍵の管理プログラム及び車両用電子制御システム
JP7354631B2 (ja) 2018-08-10 2023-10-03 株式会社デンソー 電子制御装置、車両用電子制御システム、差分データの整合性判定方法及び差分データの整合性判定プログラム
JP7484096B2 (ja) 2018-08-10 2024-05-16 株式会社デンソー 電子制御装置、書換えの実行制御方法及び書換えの実行制御プログラム
JP7354658B2 (ja) 2018-08-10 2023-10-03 株式会社デンソー 車両用電子制御システム、進捗表示の画面表示制御方法及び進捗表示の画面表示制御プログラム
JP7003976B2 (ja) 2018-08-10 2022-01-21 株式会社デンソー 車両用マスタ装置、更新データの検証方法及び更新データの検証プログラム
JP7047819B2 (ja) 2018-08-10 2022-04-05 株式会社デンソー 電子制御装置、車両用電子制御システム、アクティベートの実行制御方法及びアクティベートの実行制御プログラム
JP7439402B2 (ja) 2018-08-10 2024-02-28 株式会社デンソー 表示制御装置、書換え進捗状況の表示制御方法及び書換え進捗状況の表示制御プログラム
JP6973450B2 (ja) 2018-08-10 2021-12-01 株式会社デンソー 車両用マスタ装置、インストールの指示判定方法及びインストールの指示判定プログラム
JP7338280B2 (ja) 2018-08-10 2023-09-05 株式会社デンソー 車両用電子制御システム、車両用マスタ装置、メータ装置、プログラム更新の報知制御方法、インジケータの表示指示プログラム及びインジケータの表示プログラム

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124403A (ja) * 1996-10-24 1998-05-15 Hitachi Ltd ブロック消去型フラッシュメモリの書込み方法
JP2005056144A (ja) * 2003-08-04 2005-03-03 Nec Viewtechnology Ltd フラッシュメモリ搭載電子装置、そのメモリデータ管理方法およびプログラム

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3603333B2 (ja) 1994-06-22 2004-12-22 カシオ計算機株式会社 データ処理装置
JP2002351683A (ja) 2001-05-24 2002-12-06 Sharp Corp プログラム更新制御方法
JP2004005152A (ja) 2002-05-31 2004-01-08 Hitachi Unisia Automotive Ltd 不揮発性メモリの書き換え装置
JP4577075B2 (ja) * 2005-04-22 2010-11-10 株式会社デンソー 自動車用制御ユニット
JP4418439B2 (ja) * 2006-03-07 2010-02-17 パナソニック株式会社 不揮発性記憶装置およびそのデータ書込み方法
US8924362B2 (en) * 2008-06-30 2014-12-30 Microsoft Corporation B-file abstraction for efficiently archiving self-expiring data
JP2010146257A (ja) * 2008-12-18 2010-07-01 Fujitsu Ten Ltd 情報処理装置、プログラム更新方法および情報処理システム
KR102143517B1 (ko) * 2013-02-26 2020-08-12 삼성전자 주식회사 에러 정정회로를 포함하는 반도체 메모리 장치 및 반도체 메모리 장치의 동작방법
CN105468533B (zh) * 2014-09-10 2019-02-19 华为技术有限公司 数据写入方法、装置及存储器
JP6468640B2 (ja) 2015-02-04 2019-02-13 株式会社Subaru 車体のピラー構造

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10124403A (ja) * 1996-10-24 1998-05-15 Hitachi Ltd ブロック消去型フラッシュメモリの書込み方法
JP2005056144A (ja) * 2003-08-04 2005-03-03 Nec Viewtechnology Ltd フラッシュメモリ搭載電子装置、そのメモリデータ管理方法およびプログラム

Also Published As

Publication number Publication date
JP2018013837A (ja) 2018-01-25
US20190287626A1 (en) 2019-09-19
DE112017003641T5 (de) 2019-04-11
CN109154904A (zh) 2019-01-04

Similar Documents

Publication Publication Date Title
WO2018016199A1 (ja) データ書き換え装置、データ書き換えプログラム
JP3802411B2 (ja) 不揮発性半導体記憶装置のデータコピー方法
TWI522804B (zh) 快閃記憶體控制器以及資料儲存裝置以及快閃記憶體控制方法
JP2008198310A (ja) ビットエラーの修復方法および情報処理装置
JP5990430B2 (ja) Ssd(ソリッドステートドライブ)装置
JP2990181B1 (ja) フラッシュメモリ、フラッシュメモリを備えたマイクロコンピュータおよびフラッシュメモリへのプログラム格納方法
TW201528281A (zh) 資料儲存裝置以及快閃記憶體控制方法
TWI633428B (zh) 資料儲存裝置與記憶體裝置之資料處理方法
JP2011129192A (ja) 半導体記憶装置
TW201916018A (zh) 資料儲存裝置與將資料寫入記憶體裝置之方法
TWI512742B (zh) 非揮發性快閃記憶體擦除異常存儲塊修復方法和裝置
TW201617876A (zh) 資料儲存裝置以及快閃記憶體控制方法
JP4158526B2 (ja) メモリカード及びメモリへのデータ書き込み方法
JP3981268B2 (ja) 不揮発性メモリ及びそのデータ更新方法
JP6575157B2 (ja) ファームウェアのダウンロード方法及びファームウェア組込機器
CN113434086B (zh) 数据存储方法、装置、非易失性存储器件和存储器
JP6314859B2 (ja) 電子制御装置及びソフトウェア書き換えシステム
JP4452158B2 (ja) 不揮発性メモリシステム
JP6636930B2 (ja) フラッシュメモリ内蔵マイコン、マイコンに内蔵されたフラッシュメモリへのデータ書込み方法、および、フラッシュメモリへのデータを書込むプログラム
US20110082995A1 (en) Information processing apparatus
JP4602387B2 (ja) メモリカード、不揮発性メモリ、不揮発性メモリのデータ書込み方法及びデータ書込み装置
CN112685332A (zh) 数据存储方法及存储设备
JP2000035916A (ja) メモリ動作管理方法
JP2008146742A (ja) 不揮発性半導体記憶装置及びその処理方法
JP2009199211A (ja) メモリ制御方法及び装置、コンピュータプログラム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17830719

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17830719

Country of ref document: EP

Kind code of ref document: A1