JP2009003843A - Flash rom data management device and flash rom data management method - Google Patents

Flash rom data management device and flash rom data management method Download PDF

Info

Publication number
JP2009003843A
JP2009003843A JP2007166111A JP2007166111A JP2009003843A JP 2009003843 A JP2009003843 A JP 2009003843A JP 2007166111 A JP2007166111 A JP 2007166111A JP 2007166111 A JP2007166111 A JP 2007166111A JP 2009003843 A JP2009003843 A JP 2009003843A
Authority
JP
Japan
Prior art keywords
data
flash rom
time
data management
holdable
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.)
Pending
Application number
JP2007166111A
Other languages
Japanese (ja)
Inventor
Rei Kato
礼 加藤
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2007166111A priority Critical patent/JP2009003843A/en
Publication of JP2009003843A publication Critical patent/JP2009003843A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a flash ROM data management device capable of managing data by more accurately predicting a marginal time at which data retained in a flash ROM possibly disappears. <P>SOLUTION: A control circuit 2 predicts a retainable time TId of data retained in the flash ROM 14 on the basis of the device characteristic and state of use of the flash ROM 14 being a device for retaining data of a navigation system 1 for vehicle, and rewrites the data retained in the flash ROM 14 before the retainable time TId elapses. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、車載電子機器のデータ保持用デバイスとして使用されるフラッシュROMに記憶されているデータを管理する装置及び方法に関する。   The present invention relates to an apparatus and a method for managing data stored in a flash ROM used as a data holding device of an in-vehicle electronic device.

不揮発性メモリであるフラッシュROMは、比較的容量が小さいものにはNOR型、容量が大きいものにはNAND型が用いられることが多い。そして、NAND型のフラッシュROMは、フローティングゲートに注入された電子(ホットエレクトロン)が抜けることで保持データが消失する、所謂データ化けが発生する割合が比較的高く、そのようなデータ化けを防止するための管理を行うコントローラを用いる場合がある。   A flash ROM, which is a nonvolatile memory, is often used in a NOR type for a relatively small capacity and a NAND type for a large capacity. The NAND flash ROM has a relatively high rate of so-called data corruption, in which retained data is lost when electrons (hot electrons) injected into the floating gate are removed, and such data corruption is prevented. There is a case where a controller for performing management is used.

ところで、車載電子機器の1種であるナビゲーション装置にも、データ保持用にフラッシュROMが搭載されているが、容量が数M〜数10Mバイト程度と比較的小さいためNOR型のフラッシュROMを使用するのが一般的である。しかし、ナビゲーション装置であっても、最近は高機能・多機能化に伴って保持させるデータの容量が増加しており、それに伴い、フラッシュROMの容量も数10M〜数100Mバイトのオーダーになろうとしている。その結果、NOR型のフラッシュROMといえどもデータ化けが問題となることが想定される。
上記のようなデータ化けに対処する技術として、特許文献1には、フラッシュROMに対してデータの書き込みを行った回数をカウントし、その回数が所定値を超えるとデータを再書き込みするようにした技術が開示されている。
特開2000−251483号公報
By the way, a navigation device, which is a kind of in-vehicle electronic device, is also equipped with a flash ROM for holding data, but a NOR type flash ROM is used because its capacity is relatively small, about several megabytes to several tens of megabytes. It is common. However, even in the case of navigation devices, the capacity of data to be retained has increased recently with the increase in functionality and functionality, and along with this, the capacity of the flash ROM will be on the order of several tens to several hundreds of megabytes. It is said. As a result, even if it is a NOR type flash ROM, it is assumed that data corruption will be a problem.
As a technique for coping with data corruption as described above, Patent Document 1 counts the number of times data is written to the flash ROM, and rewrites the data when the number exceeds a predetermined value. Technology is disclosed.
JP 2000-251483 A

確かに、データの書き込み回数はフラッシュROMのデータ保持特性に影響を与えるパラメータではあるが、実際にフラッシュROMが使用されている環境では、その他の様々な要因がデータ保持特性に影響を与えているはずである。したがって、特許文献1のように、単純に書き込み回数のみに基づいてデータ化けを予測するのは不正確であり、再書き込みを不要に繰り返すことで、逆にフラッシュROMのデバイス寿命を縮める結果にもなりかねないという問題がある。   Certainly, the number of times data is written is a parameter that affects the data retention characteristics of the flash ROM, but in an environment where the flash ROM is actually used, various other factors affect the data retention characteristics. It should be. Therefore, it is inaccurate to predict garbled data based on only the number of writes as in Patent Document 1, and the result of shortening the device life of the flash ROM by repeating rewriting unnecessarily is also possible. There is a problem that could be.

本発明は上記事情に鑑みてなされたものであり、その目的は、フラッシュROMに記憶させたデータが消失しそうな限界時間をより正確に予測して、データを管理できるフラッシュROMのデータ管理装置及び方法を提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a data management device for a flash ROM capable of more accurately predicting a limit time at which data stored in the flash ROM is likely to disappear and managing the data. It is to provide a method.

請求項1記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、車載電子機器のデータ保持用デバイスに使用されるフラッシュROMのデバイス特性及び/又は使用状況に基づき、当該ROMに記憶されているデータの保持可能時間を予測し、再書き込み手段は、その保持可能時間が経過する以前に、フラッシュROMに記憶されているデータの再書き込みを行う。すなわち、デバイス特性や使用状況よりデータの保持可能時間を予測するので、データ化けが発生しそうな限界時間をより正確に予測できる。そして、その予測結果に基づきデータを再書き込みするので、再書き込みを不要に繰り返すことを抑制し、デバイス寿命を長期化することができる。   According to the data management device of the flash ROM of claim 1, the time predicting means is stored in the ROM based on the device characteristics and / or usage status of the flash ROM used for the data holding device of the in-vehicle electronic device. The rewrite means rewrites the data stored in the flash ROM before the holdable time elapses. That is, since the data retention time is predicted based on the device characteristics and usage status, it is possible to more accurately predict the limit time at which data corruption is likely to occur. And since data is rewritten based on the prediction result, it can suppress repeating rewriting unnecessarily and can prolong a device lifetime.

請求項2記載のフラッシュROMのデータ管理装置によれば、再書き込み手段は、フラッシュROMに確保されている未使用領域に対してデータの再書き込みを行う。すなわち、フラッシュROMの容量に余裕がある場合には、未使用領域にデータを再書き込みすることで、データの保持をより確実に行うことができる。   According to the data management device for the flash ROM of the second aspect, the rewrite means rewrites data to an unused area reserved in the flash ROM. That is, when the flash ROM has a sufficient capacity, the data can be held more reliably by rewriting the data in the unused area.

請求項3記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、保持可能時間の予測を、記憶されるデータの種類に対応してフラッシュROMにそれぞれ設定されている領域毎に行う。すなわち、データの書き込みにおいて実際に問題となるのは、フローティングゲートに電子が注入された状態のメモリセルであるが、各セル毎にその書き込み状態を管理するのは極めて煩雑である。そこで、フラッシュROMに記憶されるデータの種類,領域毎に管理を行うことで、管理の煩雑さを軽減し、且つそれぞれの状態の監視を妥当に行うことができる。   According to the flash ROM data management device of the third aspect, the time predicting means predicts the holdable time for each area set in the flash ROM corresponding to the type of stored data. That is, what actually becomes a problem in data writing is a memory cell in a state where electrons are injected into the floating gate, but it is very complicated to manage the writing state for each cell. Therefore, by managing each type and area of data stored in the flash ROM, it is possible to reduce the complexity of management and appropriately monitor each state.

請求項4記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、フラッシュROMのデータ保持特性に基づいて保持可能時間を予測する。すなわち、フラッシュROMの製品ごとに、データ保持特性はデバイスのスペックとして提示されているので、そのデータ保持特性を参照すれば保持可能時間を正確に予測することができる。   According to the flash ROM data management device of the fourth aspect, the time predicting means predicts the holdable time based on the data holding characteristics of the flash ROM. That is, since the data retention characteristics are presented as device specifications for each flash ROM product, the retention time can be accurately predicted by referring to the data retention characteristics.

請求項5記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、フラッシュROMに対するデータの書き込みが行われた回数をカウントし、書き込み回数に基づいて保持可能時間を予測する。すなわち、データの書き込み回数は、データの保持状況に大きく影響を与えるパラメータであるから、書き込み回数に基づき保持可能時間を予測することで、予測の確度を向上させることができる。   According to the flash ROM data management device of the fifth aspect, the time predicting means counts the number of times data is written to the flash ROM, and predicts the holdable time based on the number of times of writing. That is, the number of times data is written is a parameter that greatly affects the data holding state, and therefore the prediction accuracy can be improved by predicting the holdable time based on the number of writing times.

請求項6記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、フラッシュROMに対するデータの書き込みが行われた間隔を計測すると共に、各書き込み間隔の発生頻度をカウントし、発生頻度の分布状態に基づいて保持可能時間を予測する。すなわち、フラッシュROMに対してデータの書き込みが行われる間隔の長短も、データの保持特性に影響を及ぼすと考えられる。したがって、複数回の書き込みが行われる間隔の長さを所定の範囲毎に分類し、各範囲に属する回数に基づいて保持可能時間を予測することができる。   According to the data management device for the flash ROM according to claim 6, the time predicting unit measures an interval at which data is written to the flash ROM, counts the occurrence frequency of each write interval, and distributes the occurrence frequency. Predict the holdable time based on the state. That is, it is considered that the length of the interval at which data is written to the flash ROM also affects the data retention characteristics. Therefore, it is possible to classify the lengths of intervals at which writing is performed a plurality of times for each predetermined range and predict the holdable time based on the number of times belonging to each range.

請求項7記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、データの書き込みが行われた場合のフラッシュROM付近の温度を計測し、各温度において書き込みが行われた頻度をカウントすると、その書き込み頻度の分布状態に基づいて保持可能時間を予測する。すなわち、フラッシュROMに対してデータの書き込みが行われた際の温度もデータの保持特性に影響を及ぼすと考えられるので、複数回の書き込みが行われた際の温度を所定の範囲毎に分類し、各範囲に属する回数に基づいて保持可能時間を予測することができる。   According to the flash ROM data management device of claim 7, the time predicting means measures the temperature in the vicinity of the flash ROM when data is written, and counts the frequency of writing at each temperature. The holdable time is predicted based on the distribution state of the writing frequency. In other words, the temperature when data is written to the flash ROM is also considered to affect the data retention characteristics. Therefore, the temperature when data is written a plurality of times is classified into predetermined ranges. The holdable time can be predicted based on the number of times belonging to each range.

請求項8記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、フラッシュROMに対して書き込まれたデータの保持時間を計測し、その継続時間に基づいて保持可能時間を予測する。すなわち、フラッシュROMに対して書き込まれたデータの保持時間の長さもデータの保持特性に影響を及ぼすと考えられる。したがって、書き込まれたデータが保持された時間を所定の範囲毎に分類し、各範囲に属する回数に基づいて保持可能時間を予測することができる。   According to the flash ROM data management device of the eighth aspect, the time predicting means measures the retention time of the data written to the flash ROM, and predicts the retention time based on the continuation time. That is, it is considered that the retention time of data written to the flash ROM also affects the data retention characteristics. Therefore, it is possible to classify the time during which written data is held for each predetermined range, and predict the holdable time based on the number of times belonging to each range.

請求項9記載のフラッシュROMのデータ管理装置によれば、時間予測手段は、書き込まれたデータが保持されている期間におけるフラッシュROM付近の温度変化を計測し、複数の温度帯についてデータが保持されている期間の長さを累積し、その累積期間の分布状態に基づいて保持可能時間を予測する。すなわち、フラッシュROMに対して書き込まれたデータが保持されている期間における温度の変化状態も、データの保持特性に影響を及ぼすと考えられる。したがって、データの保持期間における温度帯を所定の範囲毎に分類し、各範囲に属する回数に基づいて保持可能時間を予測することができる。   According to the flash ROM data management device according to claim 9, the time predicting means measures a temperature change in the vicinity of the flash ROM during a period in which the written data is held, and the data is held for a plurality of temperature zones. Is accumulated, and the holdable time is predicted based on the distribution state of the accumulated period. That is, it is considered that the temperature change state during the period in which the data written in the flash ROM is retained also affects the data retention characteristics. Therefore, it is possible to classify the temperature zones in the data retention period for each predetermined range and predict the retention time based on the number of times belonging to each range.

請求項10記載のフラッシュROMのデータ管理装置によれば、再書き込み手段は、保持可能時間を、車載機器の製品寿命時間に基づいて決定した閾値と比較して、前者が後者を下回る場合にデータの再書き込みを行う。すなわち、フラッシュROMの保持可能時間が車載機器の製品寿命を下回る場合に、データの再書き込みを行うことで、車載機器が稼働していると想定される期間中にデータが消失することを回避できる。   According to the data management device of the flash ROM of claim 10, the rewrite means compares the holdable time with a threshold value determined based on the product lifetime of the in-vehicle device, and the data when the former is less than the latter Rewrite the file. In other words, when the holdable time of the flash ROM is less than the product life of the in-vehicle device, it is possible to avoid erasing the data during the period when the in-vehicle device is assumed to be operating by rewriting the data. .

請求項11記載のフラッシュROMのデータ管理装置によれば、再書き込み手段は、前記閾値を、製品寿命時間に1.0未満の係数を乗じて決定する。すなわち、製品仕様として定められている寿命時間に対し、上記係数を乗じてマージンを取ることで、データの消失を一層確実に回避することができる。   According to the data management device of the flash ROM of the eleventh aspect, the rewriting means determines the threshold by multiplying the product lifetime by a coefficient less than 1.0. In other words, the loss of data can be more reliably avoided by multiplying the lifetime defined as the product specification by the above coefficient and taking a margin.

(第1実施例)
以下、本発明の第1実施例を、車載電子機器の1つである車両用ナビゲーション装置に適用した場合について、図1ないし図5を参照しながら説明する。図1は車両用ナビゲーション装置1の電気的構成を示すブロック図である。同図に示すように、車両用ナビゲーション装置1は、制御手段としての制御回路(時間予測手段,再書き込み手段,データ管理装置)2、位置検出手段としての位置検出装置3、データ記憶手段としてのデータ記憶装置4、操作スイッチ群5、タッチパネル6、表示手段としての表示装置7、音声発生装置8、リモコンセンサ9およびこのリモコンセンサ9と対をなすリモコン10などを備えている。
(First embodiment)
Hereinafter, a case where the first embodiment of the present invention is applied to a vehicle navigation device which is one of in-vehicle electronic devices will be described with reference to FIGS. FIG. 1 is a block diagram showing an electrical configuration of the vehicle navigation apparatus 1. As shown in the figure, the vehicle navigation apparatus 1 includes a control circuit (time prediction means, rewrite means, data management device) 2 as control means, a position detection device 3 as position detection means, and data storage means. A data storage device 4, an operation switch group 5, a touch panel 6, a display device 7 as a display means, a sound generator 8, a remote control sensor 9, a remote control 10 that makes a pair with the remote control sensor 9, and the like are provided.

制御回路2は、車両用ナビゲーション装置1の動作全般を制御する機能を有しており、マイクロコンピュータを主体として構成されている。すなわち、制御回路2は、CPU、ROM、RAM、I/Oおよびこれらを接続するバスなど(いずれも図示せず)を備えて構成されている。このうち、ROMには車両用ナビゲーション装置1を動作させるための実行プログラムが格納され、RAMにはプログラム実行時の一時データやデータ記憶装置4から取得した地図データなどが一時的に格納されるようになっている。   The control circuit 2 has a function of controlling the overall operation of the vehicle navigation apparatus 1 and is configured mainly with a microcomputer. That is, the control circuit 2 includes a CPU, a ROM, a RAM, an I / O, a bus that connects these, and the like (all not shown). Of these, an execution program for operating the vehicle navigation device 1 is stored in the ROM, and temporary data at the time of program execution, map data acquired from the data storage device 4 and the like are temporarily stored in the RAM. It has become.

位置検出装置3は、ジヤイロスコープ11、距離センサ12およびGPS受信機13などから構成されている。これらのセンサ11〜13はそれぞれ性質の異なる検出誤差を有するので、これらのセンサ11〜13を組み合わせることにより、互いに検出誤差を補正しながら精度の高い位置検出を行ない得るようにしている。なお、要求される検出精度レベルによっては、すべてのセンサ11〜13を備える必要はなく、適宜選択して設ける構成とすることができる。更に、ステアリングの回転センサや各タイヤの回転を検出する車輪センサなどを組み合わせて位置検出装置3を構成しても良い。   The position detection device 3 includes a gyroscope 11, a distance sensor 12, a GPS receiver 13, and the like. Since these sensors 11 to 13 have detection errors having different properties, combining these sensors 11 to 13 enables highly accurate position detection while correcting the detection errors. It should be noted that depending on the required detection accuracy level, it is not necessary to provide all the sensors 11 to 13, and a configuration in which they are appropriately selected and provided. Further, the position detection device 3 may be configured by combining a steering rotation sensor, a wheel sensor that detects the rotation of each tire, and the like.

データ記憶装置4は、例えばDVD−ROMやハードディスクなどの情報記録媒体と、この情報記録媒体からデータを読み取る読取装置とから構成されており、読取装置によりデータを情報記録媒体から読み取って制御回路2に入力する。ここで、データ記憶装置4が備えているデータとしては、地図データ、マップマッチング用データ、経路を音声で案内するためのデータ、住所や施設名称などから地図上の位置(座標)を検索するための位置データ、場所をキーワードで検索するためのキーワード検索用データ、目的地をジャンル別に検索できるようにするためのジャンル別データなどがある。なお、上記位置データは、出発地や経由地や目的地が、住所、建築物名、施設名、交差点名、電話番号などで入力された場合にその位置を検索するためのもので、住所、建築物名、施設名、交差点名、電話番号などと、それに対応する地図上の座標を関連付けた地図索引データとして構成されている。   The data storage device 4 includes an information recording medium such as a DVD-ROM or a hard disk and a reading device that reads data from the information recording medium. The control circuit 2 reads data from the information recording medium by the reading device. To enter. Here, as the data provided in the data storage device 4, the map data, the map matching data, the data for guiding the route by voice, the location (coordinates) on the map from the address, the facility name, etc. are searched. Position data, keyword search data for searching for a place by keyword, genre data for enabling a destination to be searched by genre, and the like. The above location data is for searching the location when the departure point, waypoint, or destination is entered as an address, building name, facility name, intersection name, telephone number, etc. It is configured as map index data in which building names, facility names, intersection names, telephone numbers, etc. are associated with the corresponding coordinates on the map.

表示装置7は、地図データや文字或いは記号などを表示するための表示画面として液晶ディスプレイを備えて構成されており、その液晶ディスプレイの表面には透明な前記タッチパネル6が貼り付けられている。操作スイッチ群5、タッチパネル6、リモコン10は、データを入力したり、設定事項を入力したり、目的地設定のための各種入力を行うための入力手段として使用されるもので、操作スイッチ群5は例えば液晶ディスプレイの周辺に設けられた押釦スイッチなどから構成されている。   The display device 7 includes a liquid crystal display as a display screen for displaying map data, characters or symbols, and the transparent touch panel 6 is pasted on the surface of the liquid crystal display. The operation switch group 5, the touch panel 6, and the remote controller 10 are used as input means for inputting data, inputting setting items, and performing various inputs for destination setting. Is composed of, for example, a push button switch provided around the liquid crystal display.

制御回路2は、表示制御手段としての機能を有し、位置検出装置3から入力される情報に基づき車両の現在位置を演算して、地図データに基づいてその現在位置周辺の道路地図を表示装置7の液晶ディスプレイに表示すると共に、その表示された道路地図に重ねて車両の現在位置および進行方向を示すポインタを表示する。この表示画面に表示される道路地図の縮尺は操作スイッチ群5の操作によって変更できるようになっている。   The control circuit 2 has a function as display control means, calculates the current position of the vehicle based on information input from the position detection device 3, and displays a road map around the current position based on map data. 7 is displayed on the liquid crystal display, and a pointer indicating the current position and traveling direction of the vehicle is displayed over the displayed road map. The scale of the road map displayed on this display screen can be changed by operating the operation switch group 5.

制御回路2は、目的地までの経路を設定する機能、およびその経路に従って車両の進行すべき方向を音声発生装置8から出力する音声で指示したりする走行案内機能を有している。すなわち、操作スイッチ群5、タッチパネル6或いはリモコン10を操作して目的地、或いは経由地を設定すると、現在位置から目的地までの最適経路を案内経路として自動探索すると共に、その案内経路を表示装置7の液晶ディスプレイに表示されている道路地図上に通常の道路色とは異なる色で表示する。そして、制御回路2は、案内経路に従って車両の進行方向を音声などで案内する。なお、最適経路を設定する方法としては、ダイクストラ法などが用いられる。   The control circuit 2 has a function of setting a route to the destination, and a travel guidance function for instructing the direction in which the vehicle should travel according to the route by voice output from the voice generator 8. That is, when a destination or waypoint is set by operating the operation switch group 5, the touch panel 6 or the remote controller 10, an optimum route from the current position to the destination is automatically searched as a guidance route, and the guidance route is displayed on the display device. 7 is displayed in a color different from the normal road color on the road map displayed on the liquid crystal display 7. And the control circuit 2 guides the advancing direction of a vehicle with an audio | voice etc. according to a guidance route. The Dijkstra method or the like is used as a method for setting the optimum route.

また、制御回路2は、数10Mバイト程度のフラッシュROM14に、例えば、地図データの一部や設定データ,ユーザデータ,プログラムデータ,検査用データ,マルチメディア(カーオーディオやテレビなどの制御に関する)データなどを、対応する記憶領域(図2参照)に書き込んで記憶するようになっている。そして、フラッシュROM14付近の温度を測定するため、温度センサ15が配置されており、制御回路2は、温度センサ(温度検出手段)15より出力されるセンサ信号をA/D変換して読み込むようになっている。尚、フラッシュROM14は、制御回路2に内蔵されていても良い。   Further, the control circuit 2 stores, for example, a part of map data, setting data, user data, program data, inspection data, multimedia (related to control of car audio, television, etc.) data in a flash ROM 14 of about several tens of megabytes. Etc. are written and stored in a corresponding storage area (see FIG. 2). In order to measure the temperature in the vicinity of the flash ROM 14, a temperature sensor 15 is arranged, and the control circuit 2 reads the sensor signal output from the temperature sensor (temperature detection means) 15 by A / D conversion. It has become. The flash ROM 14 may be built in the control circuit 2.

次に、本実施例の作用について図3乃至図5も参照して説明する。先ず、フラッシュROM一般における、データ化けの概要について説明する。図3(a)に示すように、フラッシュROMにおけるデータ化けは、フローティングゲートに電荷を注入することで書き込み状態となったデータが、時間の経過と共に、注入された電荷の数が減少することで発生する。そして、データ化けの発生し易さに影響を与えるものとしては、図3(b)に示すように、データの書き込みが行われた場合の温度,書き込みが行われた回数,書き込みが行われた間隔,図3(c)に示すように、書き込んだデータを保持している時間,その保持時間における温度の状態がある。   Next, the operation of the present embodiment will be described with reference to FIGS. First, an outline of garbled data in a general flash ROM will be described. As shown in FIG. 3A, data garble in the flash ROM is caused by the fact that the data that has been written by injecting charges into the floating gate decreases with the passage of time. appear. As shown in FIG. 3 (b), the temperature when data is written, the number of times the data is written, and the data are written as those that affect the likelihood of data corruption. As shown in FIG. 3C, there are intervals, a time during which the written data is held, and a temperature state during the holding time.

すなわち、書き込み時の温度が低いほど、書き込み回数が増えるほど、書き込み間隔が短いほどデータ(電荷)保持特性は劣化し、また、データ保持時間が長いほど、保持時間中の温度が高いほどデータ保持特性は劣化する。尚、図中にハッチングで示す領域は、データ化けが発生する可能性が極めて高いと想定される領域である。
そこで、本実施例では、これらのデータ保持特性に基づいてフラッシュROM14のデータ保持可能時間を予測し(図3(d)参照)、その予測結果に応じて適切なタイミングでデータの再書き込み(リフレッシュ)を行うようにする。
In other words, the lower the temperature at the time of writing, the more the number of writing times, the shorter the writing interval, the more the data (charge) retention characteristics deteriorate, and the longer the data retention time, the higher the temperature during the retention time, the data retention The characteristics deteriorate. In addition, the area | region shown by hatching in a figure is an area | region assumed that possibility that data corruption will generate | occur | produce is very high.
Therefore, in this embodiment, the data retention time of the flash ROM 14 is predicted based on these data retention characteristics (see FIG. 3D), and data is rewritten (refreshed) at an appropriate timing according to the prediction result. ).

図4(a)は、制御回路2がフラッシュROM14にデータを書き込む場合に行う、「書き込み」に関するデータの取得処理を示すフローチャートである。制御回路2は、図2に示す領域毎に、データを書き込んだ際の温度TEを温度センサ15より取得すると(ステップS1)、書き込みを行った回数TIをカウントするためのカウンタをインクリメントする(ステップS2)。そして、前回同じ領域に書き込みを行った時点から今回書き込みを行うまでの間隔ITを計測すると(ステップS3)、処理を終了する(尚、これらのデータも、フラッシュROM14の所定領域に記憶される)。   FIG. 4A is a flowchart showing data acquisition processing related to “write” performed when the control circuit 2 writes data to the flash ROM 14. When the control circuit 2 obtains the temperature TE at the time of writing data from the temperature sensor 15 for each region shown in FIG. 2 (step S1), the control circuit 2 increments a counter for counting the number of times of writing TI (step S1). S2). Then, when the interval IT from the previous writing to the same area until the current writing is measured (step S3), the processing is terminated (these data are also stored in a predetermined area of the flash ROM 14). .

また、図4(b)は、制御回路2が既にデータを書き込んだ領域について、データ保持状態の監視を行う処理を示すフローチャートであり、一定周期(例えば、数時間)毎に実行される。制御回路2は、各領域についてデータの保持状態が継続されている場合は、その継続時間を更新することで保持時間Tkを測定し(ステップS4)、更に、その時点の温度データTeを温度センサ15より取得すると(ステップS5)、処理を終了する(これらのデータも、フラッシュROM14の所定領域に記憶される)。また、図4(a)に示すように、新たなデータが書き込まれて更新された場合には、図4(b)の処理で取得されたデータはクリアされる。   FIG. 4B is a flowchart showing a process for monitoring the data holding state in the area where the control circuit 2 has already written data, and is executed at regular intervals (for example, several hours). When the data holding state is continued for each region, the control circuit 2 updates the duration time to measure the holding time Tk (step S4), and further uses the temperature data Te at that time as the temperature sensor. 15 (step S5), the process is terminated (these data are also stored in a predetermined area of the flash ROM 14). Also, as shown in FIG. 4A, when new data is written and updated, the data acquired in the process of FIG. 4B is cleared.

図5(a)は、制御回路2によって行われるフラッシュROM14のデータ保持判定処理を示すフローチャートである。まず、ステップS11a〜S11eにおいて、フラッシュROM14のいずれかのデータ領域xについて、デバイス保持特性Fs,書換え回数TIx,書換え間隔ITx,書換え温度TEx,保持時間Tk・保持温度Teのデータを読み出す。尚、ステップS11aのデバイス保持特性Fsは、フラッシュROM14の製品固有の保持特性であり、各メモリデバイスについて予め取得している特性データより、対応するデバイス(A)に関するデータSを例えば制御回路2内のROMから読み込み、そのデータを関数化したものを保持特性Fsとする(したがって、各領域共通である)。   FIG. 5A is a flowchart showing a data retention determination process of the flash ROM 14 performed by the control circuit 2. First, in steps S11a to S11e, the data of the device holding characteristic Fs, the number of times of rewriting TIx, the rewriting interval ITx, the rewriting temperature TEx, the holding time Tk, and the holding temperature Te are read for any data area x of the flash ROM 14. Note that the device holding characteristic Fs in step S11a is a product-specific holding characteristic of the flash ROM 14, and the data S related to the corresponding device (A) is obtained, for example, in the control circuit 2 from the characteristic data acquired in advance for each memory device. Is read from the ROM and the data is converted into a function as the retention characteristic Fs (therefore, it is common to each region).

次に、ステップS11で取得した各データに基づき、領域xについてデータ保持可能時間TIdを算出する(ステップS12)。この場合、各データFs,TIx,ITx,TEx,Tk,Teをパラメータとする所定の関数fを用いる。すなわち、
TId=f(Fs,TIx,ITx,TEx,Tk,Te)
とする。関数fとしては、例えば各データに所定比率の重み係数を乗じて加減算するもの等を選択する。また、データ保持可能時間TIdは、少なくともデバイス保持特性Fsに応じて初期値が決まり、その他のパラメータに基づき演算を行うことで数値が次第に減少するものである。
Next, based on each data acquired in step S11, a data holdable time TId is calculated for the region x (step S12). In this case, a predetermined function f using the data Fs, TIx, ITx, TEx, Tk, Te as parameters is used. That is,
TId = f (Fs, TIx, ITx, TEx, Tk, Te)
And As the function f, for example, a function of multiplying each data by a weighting factor of a predetermined ratio and adding / subtracting is selected. Further, the initial value of the data retention possible time TId is determined according to at least the device retention characteristic Fs, and the numerical value is gradually decreased by performing an operation based on other parameters.

また、書換え間隔ITx,書換え温度TEx,保持時間Tk・保持温度Teについては、書換えイベントが発生する毎に取得したデータを、各データ値が属する範囲を分類して統計的に処理し、各データ値がどのような値域に分布しているかに応じてデータ保持可能時間TIdに及ぼす影響を考慮する。例えば、書換え間隔ITxであれば各間隔の発生頻度をカウントして発生頻度の分布状態に基づくことで、データの書き込みが行われる間隔の長短がフラッシュROM14のデータ保持特性に及ぼす影響を考慮する。書換え温度TExであれば、各温度において書き込みが行われた頻度をカウントし、各書き込み頻度の分布状態を基づくことで温度TExを所定の範囲毎に分類し、各範囲に属する回数に基づいて予測する。保持時間Tkであれば、その時間Tkを所定の範囲毎に分類し、各範囲に属する回数に基づいて予測し、保持温度Teであれば、温度Teを所定の範囲毎に分類し、各範囲に属する回数に基づいて予測する。   In addition, for the rewrite interval ITx, the rewrite temperature TEx, the holding time Tk, and the holding temperature Te, the data acquired every time a rewrite event occurs is statistically processed by classifying the range to which each data value belongs. The influence on the data holdable time TId is considered in accordance with what value range the values are distributed. For example, in the case of the rewrite interval ITx, the occurrence frequency of each interval is counted and based on the distribution state of the occurrence frequency, the influence of the length of the interval at which data is written on the data retention characteristics of the flash ROM 14 is taken into consideration. For the rewrite temperature TEx, the frequency of writing at each temperature is counted, the temperature TEx is classified into predetermined ranges based on the distribution state of each writing frequency, and predicted based on the number of times belonging to each range. To do. If the holding time Tk, the time Tk is classified for each predetermined range and predicted based on the number of times belonging to each range. If the holding temperature Te, the temperature Te is classified for each predetermined range. Prediction based on the number of times belonging to.

尚、フラッシュROM14の領域毎に判定処理を行うのは、実際にデータの書き込みで問題となるのは、フローティングゲートに電子が注入された状態のメモリセルであるが、各セル毎にその書き込み状態を管理するのは極めて煩雑となるためである。   It is to be noted that the determination processing is performed for each area of the flash ROM 14 is actually a memory cell in a state where electrons are injected into the floating gate, but the writing state is in each cell. This is because it becomes extremely complicated.

続いて、制御回路2は、算出した保持可能時間TIdと、車両用ナビゲーション装置1の製品寿命TIpに「1」未満の係数αを乗じたものとを比較し(ステップS13)、TId<α・TIpであれば(YES)、データ保持処理を実行する(ステップS14)。すなわち、領域xのデータを読み出してRAMなどに転送し、同一データを領域xに上書きする。尚、この際に、DMA(Direct Memory Access)コントローラを利用しても良い。それから、保持可能時間TIdをリセットして初期値に戻すと(ステップS16)、データ保持判定処理を終了する。   Subsequently, the control circuit 2 compares the calculated holdable time TId with the product lifetime TIp of the vehicle navigation device 1 multiplied by a coefficient α less than “1” (step S13), and TId <α · If it is TIp (YES), a data holding process is executed (step S14). That is, the data in the area x is read and transferred to a RAM or the like, and the same data is overwritten in the area x. At this time, a DMA (Direct Memory Access) controller may be used. Then, when the holdable time TId is reset and returned to the initial value (step S16), the data holding determination process is terminated.

ステップS13において(YES)と判断する場合は、フラッシュROM14のデータ保持可能時間が、車両用ナビゲーション装置1の製品寿命にマージン係数αを乗じた時間を下回るので、領域xのデータ保持が保証されないおそれがある。したがって、データ保持処理を実行する。尚、図5(b)は、データ保持処理の実行タイミングを示すイメージである。すなわち、遅くとも保持可能時間TIdが経過する以前に、リフレッシュ処理を終了する必要がある。一方、ステップS13において(YES)と判断する場合は、データ保持可能時間が車両用ナビゲーション装置1の製品寿命相当時間よりも長いので、データ保持処理は不要と判断される。したがって、そのまま判定処理を終了する。   If it is determined (YES) in step S13, the data retention possible time of the flash ROM 14 is less than the time obtained by multiplying the product lifetime of the vehicle navigation device 1 by the margin coefficient α, and therefore the data retention of the region x may not be guaranteed. There is. Therefore, the data holding process is executed. FIG. 5B is an image showing the execution timing of the data holding process. That is, it is necessary to finish the refresh process before the holdable time TId elapses at the latest. On the other hand, when it is determined as (YES) in step S13, it is determined that the data holding process is unnecessary because the data holding time is longer than the product lifetime equivalent time of the vehicle navigation device 1. Therefore, the determination process is finished as it is.

以上のように本実施例によれば、制御回路2は、車両用ナビゲーション装置1のデータ保持用デバイスであるフラッシュROM14のデバイス特性や使用状況に基づき、フラッシュROM14に記憶されているデータの保持可能時間TIdを予測し、その保持可能時間TIdが経過する以前に、フラッシュROM14に記憶されているデータの再書き込みを行う。したがって、データ化けが発生しそうな限界時間をより正確に予測して、その予測結果に基づきデータを再書き込みすることで再書き込みを不要に繰り返すことを抑制し、デバイス寿命を長期化することができる。   As described above, according to the present embodiment, the control circuit 2 can hold the data stored in the flash ROM 14 based on the device characteristics and usage status of the flash ROM 14 that is a data holding device of the vehicle navigation apparatus 1. The time TId is predicted, and the data stored in the flash ROM 14 is rewritten before the holdable time TId elapses. Therefore, it is possible to more accurately predict the limit time at which garbled data is likely to occur, and to rewrite data based on the prediction result, thereby suppressing unnecessary rewriting and extending the device life. .

そして、制御回路2は、保持可能時間TIdの予測を、記憶されるデータの種類に対応してフラッシュROM14にそれぞれ設定されている領域毎に行うので、管理の煩雑さを軽減し、且つそれぞれの状態の監視を妥当に行うことができる。また、制御回路2は、フラッシュROM14のデータ保持特性に基づいて保持可能時間を予測するので、製品ごとにスペックとして提示されているデータ保持特性を参照して、保持可能時間TIdを正確に予測できる。   Since the control circuit 2 performs the prediction of the holdable time TId for each area set in the flash ROM 14 corresponding to the type of stored data, the management complexity is reduced, and each Status monitoring can be performed reasonably. Further, since the control circuit 2 predicts the holdable time based on the data holding characteristics of the flash ROM 14, the holdable time TId can be accurately predicted with reference to the data holding characteristics presented as specifications for each product. .

更に、制御回路2は、フラッシュROM14に対するデータの書き込みが行われた回数をカウントし、書き込み回数に基づいて保持可能時間を予測するので、データの保持状況に大きく影響を与える書き込み回数に基づいて、保持可能時間TIdの予測確度を向上させることができる。
また、制御回路2は、フラッシュROM14に対するデータの書き込みが行われた間隔を計測すると共に各書き込み間隔の発生頻度をカウントし、発生頻度の分布状態に基づいて保持可能時間TIdを予測するので、データの書き込みが行われる間隔の長短がフラッシュROM14のデータ保持特性に及ぼす影響を考慮して、予測を行うことができる。
Furthermore, since the control circuit 2 counts the number of times data has been written to the flash ROM 14 and predicts the holdable time based on the number of times of writing, the control circuit 2 is based on the number of times of writing that greatly affects the data holding state. The prediction accuracy of the holdable time TId can be improved.
Further, the control circuit 2 measures the interval at which data is written to the flash ROM 14 and counts the occurrence frequency of each write interval, and predicts the holdable time TId based on the distribution state of the occurrence frequency. The prediction can be performed in consideration of the influence of the length of the writing interval on the data retention characteristics of the flash ROM 14.

また、制御回路2は、データの書き込みが行われた場合のフラッシュROM14付近の温度を計測し、各温度において書き込みが行われた頻度をカウントすると、その書き込み頻度の分布状態に基づいて保持可能時間TIdを予測するので、複数回の書き込みが行われた際の温度を所定の範囲毎に分類し、各範囲に属する回数に基づいて予測することができる。
また、制御回路2は、フラッシュROM14に対して書き込まれたデータの保持時間を計測し、その継続時間に基づいて保持可能時間TIdを予測するので、書き込まれたデータが保持された時間を所定の範囲毎に分類し、各範囲に属する回数に基づいて予測することができる。
Further, the control circuit 2 measures the temperature in the vicinity of the flash ROM 14 when data is written, and counts the frequency at which data is written at each temperature. Since the TId is predicted, the temperature when a plurality of times of writing is performed can be classified for each predetermined range and predicted based on the number of times belonging to each range.
Further, the control circuit 2 measures the retention time of the data written to the flash ROM 14 and predicts the retention time TId based on the continuation time, so that the time during which the written data is retained is set to a predetermined value. Classification can be performed for each range, and prediction can be made based on the number of times belonging to each range.

また、制御回路2は、書き込まれたデータが保持されている期間におけるフラッシュROM14付近の温度変化を計測し、複数の温度帯についてデータが保持されている期間の長さを累積し、その累積期間の分布状態に基づいて保持可能時間を予測するので、データの保持期間における温度帯を所定の範囲毎に分類し、各範囲に属する回数に基づいて保持可能時間を予測することができる。   Further, the control circuit 2 measures a temperature change in the vicinity of the flash ROM 14 during the period in which the written data is held, accumulates the length of the period in which the data is held for a plurality of temperature zones, and the accumulation period Since the holdable time is predicted based on the distribution state, it is possible to classify the temperature zone in the data holding period for each predetermined range and predict the holdable time based on the number of times belonging to each range.

加えて、制御回路2は、保持可能時間TIdを、車両用ナビゲーション装置1の製品寿命時間に基づいて決定した閾値と比較して、前者が後者を下回る場合にデータの再書き込みを行ので、ナビゲーション装置1が稼働していると想定される期間中にデータが消失することを回避できる。その場合、前記閾値を、製品寿命時間に1.0未満の係数αを乗じて決定する。すなわち、製品仕様として定められている寿命時間に対し、上記係数を乗じてマージンを取ることで、データの消失を一層確実に回避することができる。   In addition, the control circuit 2 compares the holdable time TId with a threshold value determined on the basis of the product lifetime of the vehicle navigation device 1, and rewrites data when the former falls below the latter. It is possible to avoid data loss during a period in which the apparatus 1 is assumed to be operating. In that case, the threshold value is determined by multiplying the product lifetime by a coefficient α of less than 1.0. In other words, the loss of data can be more reliably avoided by multiplying the lifetime defined as the product specification by the above coefficient and taking a margin.

(第2実施例)
図6及び図7は本発明の第2実施例を示すものであり、第1実施例と同一部分には同一符号を付して説明を省略し、以下異なる部分について説明する。第1実施例では、ステップS14におけるリフレッシュ処理において、再書き込みを行うデータを同じ領域に上書きしたが、第2実施例では、図7に示すように、フラッシュROM14Aの容量に予めマージンを持たせておく。そして、データの再書き込みを行う時点で空き領域が存在する場合には、その空き領域にデータを書き込む。
(Second embodiment)
6 and 7 show a second embodiment of the present invention. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof will be omitted. Hereinafter, different parts will be described. In the first embodiment, the data to be rewritten is overwritten in the same area in the refresh process in step S14. However, in the second embodiment, as shown in FIG. 7, a margin is given in advance to the capacity of the flash ROM 14A. deep. If a free area exists at the time when data is rewritten, data is written to the free area.

図6は、上記のステップS14に替わって行うデータ保持処理を示すフローチャートである。ステップS21において、その時点で領域xについてデータ書き込みを行っている容量SAと、フラッシュROM14Aの空き容量Seとを求めると、両者の大小を比較する(ステップS22)。そして、SA<Seであれば(YES)、空き領域に、領域xのデータを書き込んで保存する(ステップS23)。   FIG. 6 is a flowchart showing a data holding process performed in place of step S14. In step S21, when the capacity SA in which data is written in the area x at that time and the free capacity Se of the flash ROM 14A are obtained, the magnitudes of both are compared (step S22). If SA <Se (YES), the data in the area x is written and saved in the empty area (step S23).

一方、ステップS22において、SA≧Seであれば(NO)、領域xのデータを空き領域に転送することはできない。したがって、その時点でフラッシュROM14にアクセスが行われているか否かを確認し(ステップS24)、アクセス中でなければ(NO)第1実施例と同様に同じ領域xに同じデータを上書きする(ステップS25)。
以上のように第2実施例によれば、制御回路2は、フラッシュROM14Aに確保されている未使用領域に対してデータの再書き込みを行うので、フラッシュROM14Aの容量に余裕がある場合には、未使用領域にデータを再書き込みすることで、データの保持をより確実に行うことができる。
On the other hand, if SA ≧ Se in step S22 (NO), the data in the area x cannot be transferred to the empty area. Therefore, it is confirmed whether or not the flash ROM 14 is being accessed at that time (step S24), and if it is not being accessed (NO), the same data is overwritten in the same area x as in the first embodiment (step S24). S25).
As described above, according to the second embodiment, the control circuit 2 rewrites data to an unused area reserved in the flash ROM 14A. Therefore, when the capacity of the flash ROM 14A has a margin, By rewriting data in the unused area, the data can be held more reliably.

(第3実施例)
図8は本発明の第3実施例を示すものである。第3実施例では、フラッシュROM14に対して第1,第2実施例のように処理を行う制御回路2に相当する機能を制御部21とすると、例えばCPU21とフラッシュROM14との間において、どの部分に配置するかバリエーションを示すものである。図8(a)は、CPU22が制御回路2を構成しているとすると第1実施例の構成と同様のイメージであり、制御部21がCPU22の内部に包含される場合である。
(Third embodiment)
FIG. 8 shows a third embodiment of the present invention. In the third embodiment, assuming that the function corresponding to the control circuit 2 that performs processing on the flash ROM 14 as in the first and second embodiments is the control unit 21, which part between the CPU 21 and the flash ROM 14, for example, Or shows variations. FIG. 8A is an image similar to the configuration of the first embodiment assuming that the CPU 22 constitutes the control circuit 2, and is a case where the control unit 21 is included in the CPU 22.

図8(b)は、制御部21がCPU22の外部(フラッシュROM14との間)にあり、フラッシュROM14の書き込みを制御する独立したメモリコントローラのように構成される場合を示す。また、図8(c)は、制御部21がフラッシュROM14の内部に構成される場合を示す。尚、何れの場合も、制御部21は制御プログラムによって実現されるソフトウエア的な機能部であっても良いし、ハードウエアロジックで構成されていても良い。   FIG. 8B shows a case where the control unit 21 is outside the CPU 22 (between the flash ROM 14) and is configured as an independent memory controller that controls writing in the flash ROM 14. FIG. 8C shows a case where the control unit 21 is configured inside the flash ROM 14. In any case, the control unit 21 may be a software function unit realized by a control program, or may be configured by hardware logic.

本発明は上記し且つ図面に記載した実施例にのみ限定されるものではなく、以下のような変形または拡張が可能である。
NAND型,NOR型の何れのフラッシュROMに適用しても良い。
ステップS12における保持可能時間TIdの算出は、少なくとも、各データFs,TIx,ITx,TEx,Tk,Teの何れか1に基づいて行えば良く、それらのいくつかを任意に組み合わせて算出しても良い。
ステップS13において、係数αは必要に応じて乗じれば良く、製品寿命TIと直接比較しても良い。また、必ずしも製品寿命を基準に設定される閾値と比較するものに限らず、製品寿命とは無関係に設定した閾値を用いても良い。
保持可能時間TIdの算出及び判定は、必ずしもデータ領域毎に行う必要はない。
車載電子機器は車両用ナビゲーション装置1に限ることなく、その他カーオーディオ装置などに適用しても良い。
The present invention is not limited to the embodiments described above and shown in the drawings, and the following modifications or expansions are possible.
The present invention may be applied to either NAND type or NOR type flash ROM.
The holdable time TId in step S12 may be calculated based on at least one of the data Fs, TIx, ITx, TEx, Tk, and Te, and may be calculated by combining some of them. good.
In step S13, the coefficient α may be multiplied as necessary, and may be directly compared with the product life TI. Further, the threshold value is not necessarily compared with the threshold value set based on the product life, and a threshold value set regardless of the product life time may be used.
The calculation and determination of the holdable time TId is not necessarily performed for each data area.
The in-vehicle electronic device is not limited to the vehicle navigation device 1 and may be applied to other car audio devices.

本発明の第1実施例であり、車両用ナビゲーション装置の電気的構成を示すブロック図The block diagram which is 1st Example of this invention and shows the electrical structure of the navigation apparatus for vehicles. フラッシュROMのデータ記憶領域の一例を示す図The figure which shows an example of the data storage area of flash ROM (a)はフラッシュROMにおけるデータ化けを示すイメージ図、(b),(c)はフラッシュROMの電荷保持特性を示す図(A) is an image diagram showing garbled data in the flash ROM, and (b) and (c) are diagrams showing charge retention characteristics of the flash ROM. (a)はフラッシュROMにデータを書込む場合に行う「書込み」に関するデータ取得処理を示すフローチャート、(b)はデータを書込んだ領域について保持状態の監視処理を示すフローチャート(A) is a flowchart showing data acquisition processing related to “writing” performed when data is written to the flash ROM, and (b) is a flowchart showing holding state monitoring processing for an area where data is written. (a)はフラッシュROMのデータ保持判定処理を示すフローチャート、(b)はデータ保持処理の実行タイミングを示すイメージ図(A) is a flowchart showing the data retention determination process of the flash ROM, (b) is an image diagram showing the execution timing of the data retention process 本発明の第2実施例を示す図5(a)のステップS14相当図FIG. 5A shows a second embodiment of the present invention, corresponding to step S14 in FIG. 図2相当図2 equivalent diagram 本発明の第3実施例であり、(a)〜(c)は制御部をCPUとフラッシュROMとの間でどこに配置するかのバリエーションを示す図FIG. 4 is a third embodiment of the present invention, and (a) to (c) are diagrams showing variations of where the control unit is arranged between the CPU and the flash ROM.

符号の説明Explanation of symbols

図面中、1は車両用ナビゲーション装置(車載電子機器)、2は制御回路(時間予測手段,再書き込み手段,データ管理装置)、14はフラッシュROM、21は制御部を示す。   In the drawings, 1 is a vehicle navigation device (on-vehicle electronic device), 2 is a control circuit (time prediction means, rewriting means, data management device), 14 is a flash ROM, and 21 is a control unit.

Claims (22)

車載電子機器のデータ保持用デバイスとして使用されるフラッシュROMに記憶されているデータを管理する装置であって、
前記フラッシュROMのデバイス特性及び/又は使用状況に基づいて、当該ROMに記憶されているデータの保持可能時間を予測する時間予測手段と、
前記保持可能時間が経過する以前に、前記フラッシュROMに記憶されているデータの再書き込みを行う再書き込み手段とを備えたことを特徴とするフラッシュROMのデータ管理装置。
An apparatus for managing data stored in a flash ROM used as a data holding device for in-vehicle electronic equipment,
Time predicting means for predicting the retention time of the data stored in the ROM based on the device characteristics and / or usage of the flash ROM;
A data management apparatus for a flash ROM, comprising: a rewriting unit that rewrites data stored in the flash ROM before the holdable time elapses.
前記再書き込み手段は、前記フラッシュROMに確保されている未使用領域に対して、前記データの再書き込みを行うことを特徴とする請求項1記載のフラッシュROMのデータ管理装置。   2. The flash ROM data management apparatus according to claim 1, wherein the rewrite means rewrites the data to an unused area reserved in the flash ROM. 前記時間予測手段は、前記保持可能時間の予測を、記憶されるデータの種類に対応して前記フラッシュROMにそれぞれ設定されている領域毎に行うことを特徴とする請求項1または2記載のフラッシュROMのデータ管理装置。   3. The flash according to claim 1, wherein the time predicting unit predicts the holdable time for each area set in the flash ROM corresponding to the type of stored data. ROM data management device. 前記時間予測手段は、前記フラッシュROMのデータ保持特性に基づいて、前記保持可能時間を予測することを特徴とする請求項1乃至3の何れかに記載のフラッシュROMのデータ管理装置。   4. The flash ROM data management device according to claim 1, wherein the time predicting unit predicts the holdable time based on data holding characteristics of the flash ROM. 前記時間予測手段は、前記フラッシュROMに対するデータの書き込みが行われた回数をカウントし、前記書き込み回数に基づいて、前記保持可能時間を予測することを特徴とする請求項1乃至4の何れかに記載のフラッシュROMのデータ管理装置。   5. The time predicting unit counts the number of times data is written to the flash ROM, and predicts the holdable time based on the number of times of writing. A data management device for the flash ROM as described. 前記時間予測手段は、前記フラッシュROMに対するデータの書き込みが行われた間隔を計測すると共に、各書き込み間隔の発生頻度をカウントし、前記発生頻度の分布状態に基づいて保持可能時間を予測することを特徴とする請求項1乃至5の何れかに記載のフラッシュROMのデータ管理装置。   The time predicting means measures the interval at which data is written to the flash ROM, counts the frequency of occurrence of each write interval, and predicts the holdable time based on the distribution state of the frequency of occurrence. 6. The flash ROM data management device according to claim 1, wherein the data management device is a flash ROM data management device. 前記時間予測手段は、前記フラッシュROMに対するデータの書き込みが行われた場合の前記ROM付近の温度を計測すると共に、各温度について書き込みが行われた頻度をカウントし、前記書き込み頻度の分布状態に基づいて保持可能時間を予測することを特徴とする請求項1乃至6の何れかに記載のフラッシュROMのデータ管理装置。   The time prediction means measures the temperature in the vicinity of the ROM when data is written to the flash ROM, counts the frequency of writing for each temperature, and based on the distribution state of the writing frequency 7. The flash ROM data management device according to claim 1, wherein the holdable time is predicted. 前記時間予測手段は、前記フラッシュROMに対して書き込まれたデータの保持時間を計測し、その継続時間に基づいて保持可能時間を予測することを特徴とする請求項1乃至7の何れかに記載のフラッシュROMのデータ管理装置。   8. The time predicting unit according to claim 1, wherein the time predicting unit measures a holding time of data written to the flash ROM, and predicts a holding time based on the duration time. Flash ROM data management device. 前記時間予測手段は、前記フラッシュROMに対して書き込まれたデータが保持されている期間における前記ROM付近の温度変化を計測し、複数の温度帯についてデータが保持されている期間の長さを累積し、その累積期間の分布状態に基づいて保持可能時間を予測することを特徴とする請求項1乃至8の何れかに記載のフラッシュROMのデータ管理装置。   The time predicting unit measures a temperature change in the vicinity of the ROM during a period in which data written to the flash ROM is held, and accumulates the length of the period in which data is held for a plurality of temperature zones. 9. The flash ROM data management apparatus according to claim 1, wherein the holdable time is predicted based on a distribution state of the cumulative period. 前記再書き込み手段は、前記保持可能時間を、前記車載機器の製品寿命時間に基づいて決定した閾値と比較し、当該保持可能時間が前記閾値未満である場合にデータの再書き込みを行うことを特徴とする請求項1乃至9の何れかに記載のフラッシュROMのデータ管理装置。   The rewriting means compares the holdable time with a threshold value determined based on a product life time of the in-vehicle device, and rewrites data when the holdable time is less than the threshold value. A data management device for a flash ROM according to any one of claims 1 to 9. 前記再書き込み手段は、前記閾値を、前記製品寿命時間に1.0未満の係数を乗じて決定することを特徴とする請求項10記載のフラッシュROMのデータ管理装置。   11. The flash ROM data management device according to claim 10, wherein the rewriting means determines the threshold by multiplying the product lifetime by a coefficient less than 1.0. 車載電子機器のデータ保持用デバイスとして使用されるフラッシュROMに記憶されているデータを管理する方法であって、
前記フラッシュROMのデバイス特性及び/又は使用状況に基づいて、当該ROMに記憶されているデータの保持可能時間を予測し、
前記保持可能時間が経過する以前に、前記フラッシュROMに記憶されているデータの再書き込みを行うことを特徴とするフラッシュROMのデータ管理方法。
A method for managing data stored in a flash ROM used as a data holding device of an in-vehicle electronic device,
Based on the device characteristics and / or usage status of the flash ROM, predict the retention time of data stored in the ROM,
A data management method for a flash ROM, wherein the data stored in the flash ROM is rewritten before the holdable time elapses.
前記フラッシュROMに確保されている未使用領域に対して、前記データの再書き込みを行うことを特徴とする請求項12記載のフラッシュROMのデータ管理方法。   13. The flash ROM data management method according to claim 12, wherein the data is rewritten to an unused area reserved in the flash ROM. 前記保持可能時間の予測を、記憶されるデータの種類に対応して前記フラッシュROMにそれぞれ設定されている領域毎に行うことを特徴とする請求項12または13記載のフラッシュROMのデータ管理方法。   14. The flash ROM data management method according to claim 12, wherein the prediction of the holdable time is performed for each area set in the flash ROM corresponding to the type of stored data. 前記フラッシュROMのデータ保持特性に基づいて、前記保持可能時間を予測することを特徴とする請求項12乃至14の何れかに記載のフラッシュROMのデータ管理方法。   15. The flash ROM data management method according to claim 12, wherein the holdable time is predicted based on data holding characteristics of the flash ROM. 前記フラッシュROMに対するデータの書き込みが行われた回数をカウントし、前記書き込み回数に基づいて、前記保持可能時間を予測することを特徴とする請求項12乃至15の何れかに記載のフラッシュROMのデータ管理方法。   16. The data of the flash ROM according to claim 12, wherein the number of times data is written to the flash ROM is counted, and the holdable time is predicted based on the number of times of writing. Management method. 前記フラッシュROMに対するデータの書き込みが行われた間隔を計測すると共に、各書き込み間隔の発生頻度をカウントし、前記発生頻度の分布状態に基づいて保持可能時間を予測することを特徴とする請求項12乃至16の何れかに記載のフラッシュROMのデータ管理方法。   13. The interval at which data is written to the flash ROM is measured, the occurrence frequency of each write interval is counted, and the holdable time is predicted based on the distribution state of the occurrence frequency. The flash ROM data management method according to any one of items 1 to 16. 前記フラッシュROMに対するデータの書き込みが行われた場合の前記ROM付近の温度を計測すると共に、各温度について書き込みが行われた頻度をカウントし、前記書き込み頻度の分布状態に基づいて保持可能時間を予測することを特徴とする請求項12乃至17の何れかに記載のフラッシュROMのデータ管理方法。   The temperature in the vicinity of the ROM when data is written to the flash ROM is measured, the frequency at which writing is performed for each temperature is counted, and the holdable time is predicted based on the distribution state of the writing frequency 18. The flash ROM data management method according to claim 12, further comprising: 前記フラッシュROMに対して書き込まれたデータの保持時間を計測し、その継続時間に基づいて保持可能時間を予測することを特徴とする請求項12乃至18の何れかに記載のフラッシュROMのデータ管理方法。   19. The data management of the flash ROM according to claim 12, wherein a retention time of data written to the flash ROM is measured, and a retention time is predicted based on the continuation time. Method. 前記フラッシュROMに対して書き込まれたデータが保持されている期間における前記ROM付近の温度変化を計測し、複数の温度帯についてデータが保持されている期間の長さを累積し、その累積期間の分布状態に基づいて保持可能時間を予測することを特徴とする請求項12乃至19の何れかに記載のフラッシュROMのデータ管理方法。   The temperature change in the vicinity of the ROM during a period in which data written to the flash ROM is retained is measured, and the length of the period in which data is retained for a plurality of temperature zones is accumulated. 20. The flash ROM data management method according to claim 12, wherein the holdable time is predicted based on the distribution state. 前記保持可能時間を、前記車載機器の製品寿命時間に基づいて決定した閾値と比較し、当該保持可能時間が前記閾値未満である場合にデータの再書き込みを行うことを特徴とする請求項12乃至20の何れかに記載のフラッシュROMのデータ管理方法。   13. The holdable time is compared with a threshold value determined based on a product lifetime of the in-vehicle device, and data is rewritten when the holdable time is less than the threshold value. The flash ROM data management method according to claim 20. 前記閾値を、前記製品寿命時間に1.0未満の係数を乗じて決定することを特徴とする請求項21記載のフラッシュROMのデータ管理方法。   The flash ROM data management method according to claim 21, wherein the threshold value is determined by multiplying the product life time by a coefficient less than 1.0.
JP2007166111A 2007-06-25 2007-06-25 Flash rom data management device and flash rom data management method Pending JP2009003843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007166111A JP2009003843A (en) 2007-06-25 2007-06-25 Flash rom data management device and flash rom data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007166111A JP2009003843A (en) 2007-06-25 2007-06-25 Flash rom data management device and flash rom data management method

Publications (1)

Publication Number Publication Date
JP2009003843A true JP2009003843A (en) 2009-01-08

Family

ID=40320136

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007166111A Pending JP2009003843A (en) 2007-06-25 2007-06-25 Flash rom data management device and flash rom data management method

Country Status (1)

Country Link
JP (1) JP2009003843A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238364A (en) * 2011-05-12 2012-12-06 Ricoh Co Ltd Image processing device, refreshing method, and program
JP2014026451A (en) * 2012-07-26 2014-02-06 Toshiba Corp Storage system and data writing method of storage system
WO2014167621A1 (en) * 2013-04-08 2014-10-16 株式会社日立製作所 Memory module for writing on basis of data retention period
US9502129B1 (en) 2015-09-10 2016-11-22 Kabushiki Kaisha Toshiba Memory system and method of controlling nonvolatile memory
JP2017195009A (en) * 2016-04-18 2017-10-26 富士通株式会社 Memory and control method of memory
US9984731B2 (en) 2015-09-03 2018-05-29 Toshiba Memory Corporation Storage device and storage method
DE102017011350A1 (en) 2016-12-15 2018-06-21 Fanuc Corporation MACHINE LEARNING DEVICE, LIFE PERFORMANCE DEVICE, NUMERICAL CONTROL DEVICE, PRODUCTION SYSTEM AND MACHINE PROCESSING FOR PROGNOSTICATING A LIFE OF A NAND FLASH MEMORY
JPWO2022091240A1 (en) * 2020-10-28 2022-05-05

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011670A (en) * 1998-06-25 2000-01-14 Canon Inc Apparatus having nonvolatile memory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011670A (en) * 1998-06-25 2000-01-14 Canon Inc Apparatus having nonvolatile memory

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238364A (en) * 2011-05-12 2012-12-06 Ricoh Co Ltd Image processing device, refreshing method, and program
JP2014026451A (en) * 2012-07-26 2014-02-06 Toshiba Corp Storage system and data writing method of storage system
WO2014167621A1 (en) * 2013-04-08 2014-10-16 株式会社日立製作所 Memory module for writing on basis of data retention period
JPWO2014167621A1 (en) * 2013-04-08 2017-02-16 株式会社日立製作所 Memory module for writing based on data retention period
US9984731B2 (en) 2015-09-03 2018-05-29 Toshiba Memory Corporation Storage device and storage method
US10025514B2 (en) 2015-09-10 2018-07-17 Toshiba Memory Corporation Memory system and method of controlling nonvolatile memory
US9652167B2 (en) 2015-09-10 2017-05-16 Kabushiki Kaisha Toshiba Memory system and method of controlling nonvolatile memory
US9502129B1 (en) 2015-09-10 2016-11-22 Kabushiki Kaisha Toshiba Memory system and method of controlling nonvolatile memory
US10545691B2 (en) 2015-09-10 2020-01-28 Toshiba Memory Corporation Memory system and method of controlling nonvolatile memory
JP2017195009A (en) * 2016-04-18 2017-10-26 富士通株式会社 Memory and control method of memory
DE102017011350A1 (en) 2016-12-15 2018-06-21 Fanuc Corporation MACHINE LEARNING DEVICE, LIFE PERFORMANCE DEVICE, NUMERICAL CONTROL DEVICE, PRODUCTION SYSTEM AND MACHINE PROCESSING FOR PROGNOSTICATING A LIFE OF A NAND FLASH MEMORY
JPWO2022091240A1 (en) * 2020-10-28 2022-05-05
DE112020007747T5 (en) 2020-10-28 2023-08-17 Mitsubishi Electric Corporation Flash memory management device and flash memory management method
JP7395011B2 (en) 2020-10-28 2023-12-08 三菱電機株式会社 Flash memory management device and flash memory management method

Similar Documents

Publication Publication Date Title
JP2009003843A (en) Flash rom data management device and flash rom data management method
TWI530947B (en) Refreshing a group of memory cells in response to presence of potential disturbance
US8000927B2 (en) Data remaining period management device and method
CN104376875A (en) Methods and devices for predicting and determining life of storage device
EP2806362A1 (en) Information processing device, control circuit, computer-readable recording medium for control program, and control method
EP0139770A1 (en) Electronic odometer
CN101558392A (en) Hybrid non-volatile solid state memory system
EP4328082A1 (en) Method and apparatus for determining driving range of electric vehicle, and vehicle
JP2016062240A (en) Parking lot occupation/vacancy determination device, parking lot occupation/vacancy determination system, parking lot occupation/vacancy determination method, and computer program
JP2009014502A (en) Travel-related information learning system and vehicle control system
CN104995485B (en) Method and apparatus for vehicle usage logging
EP0400790B1 (en) Electronic odometer
US8185305B2 (en) Rewrite apparatus
JP5983512B2 (en) Writing device
WO2007080829A1 (en) Data update device, data update method, data update program, and recording medium
KR100817204B1 (en) Method and apparatus for mapping flash memory
US4685116A (en) Incremental count display system
CN114358404A (en) Flight data processing method, device electronic equipment and storage medium
CN114578401A (en) Method and device for generating lane track points, electronic equipment and storage medium
JP5933294B2 (en) Cumulative value information management apparatus for vehicle and cumulative value information management method
JP7322568B2 (en) Memory system, control method and program
JP5725717B2 (en) Vehicle mileage storage device
JP4692806B2 (en) Method of using storage means, arithmetic device using the same, and control program
JP7297689B2 (en) POWER STABILIZATION SUPPORT DEVICE, POWER STABILIZATION SUPPORT METHOD, AND PROGRAM
JP2850667B2 (en) Electronic odometer

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120529