JP2661131B2 - Information storage and reading method and apparatus - Google Patents

Information storage and reading method and apparatus

Info

Publication number
JP2661131B2
JP2661131B2 JP10629888A JP10629888A JP2661131B2 JP 2661131 B2 JP2661131 B2 JP 2661131B2 JP 10629888 A JP10629888 A JP 10629888A JP 10629888 A JP10629888 A JP 10629888A JP 2661131 B2 JP2661131 B2 JP 2661131B2
Authority
JP
Japan
Prior art keywords
data
order
sequence
area
written
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.)
Expired - Lifetime
Application number
JP10629888A
Other languages
Japanese (ja)
Other versions
JPH01277397A (en
Inventor
晴美 廣瀬
寿純 安藤
慶己 竹川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP10629888A priority Critical patent/JP2661131B2/en
Priority to KR1019890005556A priority patent/KR0135082B1/en
Priority to EP19890304284 priority patent/EP0340981A3/en
Publication of JPH01277397A publication Critical patent/JPH01277397A/en
Priority to US08/746,878 priority patent/US5689676A/en
Application granted granted Critical
Publication of JP2661131B2 publication Critical patent/JP2661131B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、EEPROMなどの書き込み回数に限度のあるメ
モリの使用回数を増大させる情報記憶読出方法とその装
置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information storage / readout method and an apparatus for increasing the number of uses of a memory such as an EEPROM, which has a limited number of writes.

[発明の概要] 本発明は、書き込み回数に限度のある記憶担体に対す
る情報記憶読出方法とその装置において、 記憶担体に複数のデータエリアとそれに対応する複数
の使用順位エリアとを設け、データエリアに書き込みを
行うごとに、対応する使用順位エリアの使用順位を書き
替えて、その使用順位によって上記複数のデータエリア
を順番に使用することにより、 記憶担体の書き込み回数の限度以上にその記憶担体の
書き込み使用回数を増大させたものである。
[Summary of the Invention] The present invention relates to an information storage / reading method and apparatus for a storage carrier having a limited number of times of writing, wherein the storage carrier is provided with a plurality of data areas and a plurality of use order areas corresponding thereto, and the data area is provided in the data area. Each time writing is performed, the use order of the corresponding use order area is rewritten, and the plurality of data areas are used in order according to the use order. The number of times of use is increased.

[従来の技術] 従来より、電源オフ時のデータのバックアップ等に、
電気的に書き替可能な不揮発な記憶担体としてEEPROM
(電気的消去型プログラマブル・リード・オンリ・メモ
リ)等が用いられている。
[Prior art] Conventionally, for backup of data when power is turned off,
EEPROM as electrically rewritable nonvolatile storage carrier
(Electrically erasable programmable read only memory) and the like are used.

[発明が解決しようとする課題] しかしながら、上記従来の技術におけるEEPROM等の記
憶担体においては、書き込み回数に限度のあることが問
題点となっていた。即ち、メーカーが保証しているEEPR
OMの書き込み回数が少ない場合には、電源オフ時のデー
タのバックアップ等に使用するのに不適当な場合が生ず
る。例えば、1万回の保証の場合において、1日に10回
の書き込みを行う場合には3年で使用できなくなる虞れ
があり、また1日に30回の書き込みを行う場合には1年
で使用できなくなる虞れがある。このように書き込み保
証回数の少ないEEPROM等は、その用途が限られている。
[Problems to be Solved by the Invention] However, the storage carrier such as the EEPROM in the above-mentioned conventional technology has a problem that the number of times of writing is limited. In other words, the EEPR guaranteed by the manufacturer
If the number of times the OM is written is small, it may be unsuitable for use in backing up data when the power is turned off. For example, in the case of guarantee of 10,000 times, if writing 10 times a day, there is a possibility that it will not be able to be used in 3 years, and if writing 30 times a day, it will be 1 year. There is a possibility that it cannot be used. As described above, the use of the EEPROM or the like with a small number of guaranteed write operations is limited.

本発明は、上記問題点を解決するために創案されたも
ので、EEPROM等の記憶担体の書き込み回数の限度以上
に、その記憶担体の書き込み使用回数を増大することが
できる情報記憶読出方法とその装置を提供することを目
的とする。
The present invention has been made in order to solve the above-mentioned problems, and an information storage / reading method and an information storage / reading method capable of increasing the number of times of use of writing on a storage carrier such as an EEPROM or more, beyond the limit of the number of times of writing. It is intended to provide a device.

[課題を解決するための手段] 上記の目的を達成するための本発明の情報記憶読出方
法の構成は、 書き込み回数に限度のある記憶担体の情報記憶読出方
法であって、上記記憶担体に複数のデータエリアとそれ
に対応する複数の使用順位エリアを設け、最初にそれぞ
れの使用順位エリアに順次単調増加数列または単調減少
数列を用いて使用順位を示す情報を書き込み、 上記データエリアにデータを書き込むときには上記複
数の使用順位エリアから読み出した情報中の上記単調増
加数列または単調減少数列から先頭順位を判定して該先
頭順位の使用順位エリアに対応するデータエリアにデー
タの書き込みを行うとともに上記先頭順位のみを上記単
調増加数列または単調減少数列に続く値に書き替え、 上記書き込んだデータを読み出すときには上記複数の
使用順位エリアから読み出した情報中の単調増加数列ま
たは単調減少数列から最終順位を判定して該最終順位の
使用順位エリアに対応するデータエリアのデータを読み
出すことを特徴とし、 また、同じく本発明の情報記憶読出装置の構成は、 書き込み回数に限度のある記憶担体を有し、上記記憶
担体に複数のデータエリアとそれに対応する複数の使用
順位エリアとを設け、最初にそれぞれの使用順位エリア
に順次単調増加数列または単調減少数列を用いて使用順
位を示す情報を書き込み、上記単調増加数列または単調
減少数列から判定した先頭順位の使用順位エリアに対応
するデータエリアにデータの書き込みを行うごとに該使
用順位エリアの先頭順位のみを上記単調増加数列または
単調減少数列に続く値を用いて最終順位に書き替えて、
上記複数のデータエリアを順番に使用する制御手段を備
えたことを特徴とする。
[Means for Solving the Problems] To achieve the above object, an information storage and reading method according to the present invention is an information storage and reading method for a storage carrier having a limited number of times of writing. A data area and a plurality of use order areas corresponding to the data area are provided, and information indicating a use order is sequentially written into each use order area using a monotonically increasing number sequence or a monotonically decreasing number sequence, and data is written into the data area. The head order is determined from the monotone increasing sequence or the monotone decreasing sequence in the information read from the plurality of use order areas, and data is written to the data area corresponding to the use order area of the start order, and only the start order is written. To the value following the monotone increasing sequence or the monotone decreasing sequence, and when reading the written data, Determining a final rank from the monotone increasing sequence or the monotone decreasing sequence in the information read from the plurality of use order areas, and reading data of a data area corresponding to the use order area of the final order, The configuration of the information storage and reading device of the present invention includes a storage carrier having a limited number of times of writing, the storage carrier is provided with a plurality of data areas and a plurality of use order areas corresponding thereto, and each use order is first set. The information indicating the use order is sequentially written into the area using the monotonically increasing number sequence or the monotonically decreasing number sequence, and data is written to the data area corresponding to the use order area of the top order determined from the monotonically increasing number sequence or the monotonically decreasing number sequence. Only the top rank of the use rank area is written in the final rank using the value following the monotone increasing sequence or the monotone decreasing sequence. Ete,
A control means for sequentially using the plurality of data areas is provided.

[作用] 本発明は、書き込み回数に限度(m回)のある記憶担
体に複数(n個)のデータエリアを設け、言わばデータ
エリアにn倍の冗長性を持たせ、さらに同じ記憶担体で
上記の各データエリアに対応して設けた使用順位エリア
に使用順位を書き込み、この使用順位を対応するデータ
エリアにデータを書き込むごとに最終順位に書き替え、
新たなデータの書き込みは常に先頭順位に対応するデー
タエリアを使用することによって、n個のデータエリア
を順番に使用してゆく。このことによって、上記記憶担
体に対するm×n回の書き込みに使用できるようにす
る。即ち、記憶担体の使用回数をその書き込み回数の限
度のn倍にする。
[Operation] In the present invention, a plurality of (n) data areas are provided on a storage carrier having a limit of the number of writing times (m times), so that the data area is provided with n times redundancy, and the same storage carrier is used. The use order is written in the use order area provided corresponding to each data area, and the use order is rewritten to the final order every time data is written in the corresponding data area.
When writing new data, n data areas are used in order by always using the data area corresponding to the leading order. This makes it possible to use the storage medium for writing m × n times. That is, the number of uses of the storage carrier is set to n times the limit of the number of times of writing.

[実施例] 以下、本発明の実施例を図面に基づいて詳細に説明す
る。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の情報記憶読出装置の一実施例を示す
ブロック図である。本実施例は、書き込み回数m回保証
のEEPROMに1バイトのデータをm×n回まで書き込む場
合を例とする。本実施例は、データ書き込み用EEPROM1
とポインター用EEPROM2と制御部3とから成る。データ
書き込み用EEPROM1は、少なくとも1バイトのデータエ
リアをnバイト設けられる容量を持つものを使用する。
同様に少なくともnバイトの容量を持つポインター用EE
PROM2には、上記の各データエリアに対応してそれぞれ
のデータエリアの使用順位を示す情報を記憶する1バイ
トのポインターエリアをnバイト設ける。
FIG. 1 is a block diagram showing an embodiment of the information storage / readout device of the present invention. In this embodiment, an example is described in which 1-byte data is written up to m × n times in an EEPROM that is guaranteed to be written m times. In this embodiment, the data writing EEPROM 1 is used.
And a pointer EEPROM 2 and a control unit 3. The data write EEPROM 1 has a capacity to provide at least 1-byte data area of n bytes.
EE for pointers with at least n bytes capacity
The PROM 2 is provided with n bytes of a 1-byte pointer area for storing information indicating the use order of each data area corresponding to each of the above-mentioned data areas.

制御部3は、プロセッサ31と、このプロセッサ31のバ
ス32に接続されたROM33,RAM34、書き込み回路35,読み出
し回路36などから成る。書き込み回路35は、プロセッサ
31によってパワーオン時の初期化処理およびパワーオフ
時のデータ保持のため指定されるEEPROM1のデータエリ
アやそのデータエリアに対応するポインター用EEPROM2
のポインターエリアに書き込みを行う機能を有する。読
み出し回路36は、同じくプロセッサ31によって指定され
る上記ポインターエリアやデータエリアを読み出す機能
を有する。プロセッサ31は、初期化処理においてポイン
ター用EEPROM2のポインターエリアに使用順位の書き込
みを指示し、パワーオフ時のデータ保持のため上記使用
順位を読み出し回路36を介して読み出して先頭順位を判
定し、それを保持するポインターエリアに対応したデー
タエリアに書き込み回路35を介してデータを書き込む。
このとき前後して、プロセッサ31は、上記ポインターエ
リアの先頭順位を最終順位に書き替える。パワーオンさ
れた後、上記保持された最新データを利用する場合、CP
U31は読み出し回路36を介してポインター用EEPROM2の使
用順位を読み出して最終順位を判定し、その最終順位を
保持するポインターエリアに対応したデータエリアのデ
ータを読み出し回路36を介して読み出す。上記における
処理や判定の手順はROM33に格納され、上記EEPROM1,2か
ら読み出した使用順位やデータはRAM34上に転送されて
処理や判定に使用される。
The control unit 3 includes a processor 31, a ROM 33 and a RAM 34 connected to a bus 32 of the processor 31, a write circuit 35, a read circuit 36, and the like. The writing circuit 35 is a processor
The data area of EEPROM1 specified for initialization processing at power-on and data retention at power-off by 31 and the EEPROM2 for pointer corresponding to the data area
Has the function of writing to the pointer area of The read circuit 36 has a function of reading the pointer area and the data area also designated by the processor 31. The processor 31 instructs the writing of the use order in the pointer area of the pointer EEPROM 2 in the initialization process, reads out the use order through the readout circuit 36 to retain the data at the time of power-off, and determines the head order. The data is written via the write circuit 35 to the data area corresponding to the pointer area that holds.
Before or after this time, the processor 31 rewrites the top rank of the pointer area to the last rank. After power-on, if you want to use the latest data stored above,
U31 reads the use order of the pointer EEPROM 2 via the read circuit 36 to determine the final order, and reads out the data in the data area corresponding to the pointer area holding the final order via the read circuit 36. The procedure of the above processing and determination is stored in the ROM 33, and the use order and data read from the EEPROMs 1 and 2 are transferred to the RAM 34 and used for processing and determination.

以上のように構成した実施例における本発明の情報記
憶読出方法の実施例を述べる。第2図はその一実施例を
示すフローチャートである。パワーオンによりスタート
し、まずポインターエリアnバイトの使用順位の情報を
読み出す。ここで、使用順位(例えば0〜n−1)が既
に書き込まれているか否かによってEEPROMの初期状態を
判定し、初期状態であれば、ポインターエリアの初期化
即ち各ポインターエリアに使用順位(0〜n−1)を書
き込む。既に使用順位が書き込まれている場合には、読
み出した使用順位のうち最終順位を判定し、そのポイン
ターエリアに対応するデータエリアからデータを読み出
して、例えばRAM上に転送し一般の処理に使用する。以
上が読み出しの処理である。続いて、パワーオフ時に保
持すべき最新データが発生した場合、上記で読み出した
使用順位のうち先頭順位を判定し、そのポインターエリ
アの先頭順位に例えばnを加えて最終順位にした後、こ
のポインターエリアに対応するデータエリアに上記最新
データを書き込んで次のパワーオフに備える。このよう
にすれば、n個のデータエリアを順番に書き込みに使用
することができ、最新データは、最終順位を保持するポ
インターエリアに対応したデータエリアに格納されるの
で、そのパワーオフ時にも保持される最終順位が目印と
なって、そのパワーオン時に特定される。
An embodiment of the information storage / readout method of the present invention in the embodiment configured as described above will be described. FIG. 2 is a flowchart showing one embodiment. The processing is started by power-on, and first, information on the use order of n bytes of the pointer area is read. Here, the initial state of the EEPROM is determined based on whether or not the use order (for example, 0 to n-1) has already been written. If the initial state, the initialization of the pointer area, that is, the use order (0 To n-1) are written. If the use order has already been written, the final order is determined from the read use orders, data is read from the data area corresponding to the pointer area, and transferred to, for example, RAM, and used for general processing. . The above is the reading process. Subsequently, when the latest data to be held at the time of power-off occurs, the top rank of the use rank read out above is determined, and for example, n is added to the top rank of the pointer area to make the final rank, and then the pointer rank is determined. The latest data is written to the data area corresponding to the area to prepare for the next power-off. In this way, the n data areas can be sequentially used for writing, and the latest data is stored in the data area corresponding to the pointer area holding the final rank, so that the data is retained even when the power is turned off. The final ranking to be performed is a mark, and is specified when the power is turned on.

次にポインターエリアの使用順位情報による使用デー
タエリアの見分け方について説明する。第3図,第4図
はそのためポインターエリアの使用説明図であり、デー
タ書き込みごとのポインターエリアの使用順位の変化を
示している。第3図において(a)は初期状態、(b)
は初期設定された状態、(c),…,(x)はデータ書
き込みによって変化してゆく順序を示している。ここで
はデータエリアの数nをn=10として説明する。EEPROM
がイニシャライズ前の状態(たぶん全部が16進表示でFF
か00となっている)であるか否かは、読み出したポイン
ター用EEPROMの内容が順番に並んでいるか否かで容易に
判定できる。この場合(a)に示すように、例えば使用
順位がわかるような数列として00,01,02,…,09(=n−
1)の番号を1バイト目から10バイト目まで順番に書き
込む。(a)において00は先頭順位を示し、09は最終順
位を示すものとする。即ち最大値が最終順位を示し、最
小値が次の使用の先頭位置を示す。(b)に示すよう
に、最初のデータの書き込みは、00の書かれたポインタ
ーエリアに対応するデータエリアが使用され、使用した
目的のためにポインターエリアの使用順位を示す番号に
+n(=10)として0A(16進表示、以下同じ)に書き替
える。このことにより、使用したデータエリアの使用順
位は常に最大値となって最終順位を示し、そこに最新デ
ータが書き込まれていることを示す目印となる。データ
の書き込みは、最小値の使用順位に基づいて行い、1バ
イト目→2バイト目→3バイト目→…→nバイト目→1
バイト目→…と順に行う。従って目印用のポインター用
EEPROMの内容は、第3図の(b)→(c)→(d)→…
→(x)のように変わって行く。このように使用ごと
に、目印のために+nを続けて行くと、第4図(X)に
示すようにFF以上になって使用順位の中に00が含まれる
場合(0クロス)が生ずる。この場合にはFX(X=1,2,
…,F)を無視し、0以上のみの最大値を求めて最新デー
タを示す目印(最終順位)とし、一方、0以上を無視
し、FXの中で最小値を求めて次に書き込みを行う場合の
先頭順位とする。このとき、最終順位の次のポインター
エリアを先頭順位と判定しても良い。
Next, how to identify the used data area based on the use order information of the pointer area will be described. FIGS. 3 and 4 are diagrams for explaining the use of the pointer area, and show the change in the use order of the pointer area every time data is written. In FIG. 3, (a) is an initial state, (b)
,..., (X) indicate the order in which data writing changes. Here, the description will be made assuming that the number n of the data areas is n = 10. EEPROM
Is the state before initialization (perhaps all are hexadecimal and FF
Or 00) can be easily determined based on whether or not the contents of the read pointer EEPROM are arranged in order. In this case, as shown in (a), for example, 00, 01, 02,..., 09 (= n−
Write the number of 1) in order from the 1st byte to the 10th byte. In (a), 00 indicates the top rank and 09 indicates the last rank. That is, the maximum value indicates the final rank, and the minimum value indicates the head position of the next use. As shown in (b), the first data write uses a data area corresponding to the pointer area in which 00 is written. For the purpose of use, + n (= 10 ) As 0A (hexadecimal notation, same hereafter). As a result, the use order of the used data area always becomes the maximum value, indicating the final order, and serves as a mark indicating that the latest data has been written therein. Data writing is performed based on the order of use of the minimum value, the first byte → the second byte → the third byte →... → the nth byte → 1
It is performed in the order of the byte →. Therefore for pointers for landmarks
The contents of the EEPROM are shown in (b) → (c) → (d) → of FIG.
→ It changes like (x). As described above, when + n is continued for a mark for each use, a case where 00 is included in the use order and the use order is 00 (0 cross) occurs as shown in FIG. 4 (X). In this case, FX (X = 1,2,
…, F) is ignored, and the maximum value of only 0 or more is obtained as a mark indicating the latest data (final rank). On the other hand, the value of 0 or more is ignored, the minimum value is obtained in FX, and then writing is performed. In this case, it is the first rank. At this time, the pointer area next to the last rank may be determined as the top rank.

なお上記実施例において、データエリアを1バイトと
したが、一般的には複数バイトもしくは任意ビット数を
1語として1つのデータエリアを構成しても良く、また
本発明はEEPROMに限定されることなく、書き込み回数の
限られた記憶担体に適用できるものである。さらに、使
用順位を示す数列として一般的には、種々の単調増加数
列だけでなく、単調減少数列をも用いることができる。
従って、上記実施例の方法を一般的に表現すると以下の
ようにも表現することができる。
In the above embodiment, the data area is 1 byte. However, in general, one data area may be composed of a plurality of bytes or an arbitrary number of bits as one word, and the present invention is limited to the EEPROM. Instead, the present invention can be applied to a storage carrier having a limited number of writings. Further, in general, not only various monotonically increasing sequences but also monotonically decreasing sequences can be used as the sequences indicating the use order.
Therefore, the method of the above embodiment can be generally expressed as follows.

(1)一語あたり任意のビット数をもつ主(データ書き
込み用)記憶担体n語に情報(データ)を記憶読出する
方法において、(log2n)+1ビット以上のビット数を
もつ目印用(ポインター用)記憶担体n語に順次単調増
加または単調減少数列を書き込む。
(1) In a method of storing and reading information (data) in n words of a main (data writing) storage carrier having an arbitrary number of bits per word, a mark having a bit number of (log 2 n) +1 bits or more ( A sequence of monotonically increasing or monotonically decreasing numbers is sequentially written into n words of a memory carrier for a pointer.

(2)上記主記憶担体に情報を書き込む際には、上記主
記憶担体の書き込み位置に対応する上記目印用記憶担体
の位置(先頭順位位置)に上記単調増加数列の最大値を
超える値または上記単調減少数列の最小値未満の値を書
き込む。ここで、上記書き込み位置は、単調増加数列の
ときにはその最小値の位置、単調減少数列のときにはそ
の最大値位置とする。
(2) When writing information to the main storage carrier, a value exceeding the maximum value of the monotonically increasing number sequence or a position exceeding the maximum value of the monotonically increasing sequence at the position of the mark storage carrier (leading position) corresponding to the writing position of the main storage carrier. Write a value less than the minimum value in the monotonically decreasing sequence. Here, the writing position is the position of the minimum value in the case of the monotonically increasing sequence, and the maximum value position in the case of the monotonically decreasing sequence.

(3)上記目印用記憶担体への書き込み値が2n種類以上
の所定の範囲の外となるときは上記数列の初期値からく
りかえして書き込む。
(3) When the value written to the marker storage carrier is out of a predetermined range of 2n or more types, the data is repeatedly written from the initial value of the sequence.

(4)情報読出しの際には、上記目印用記憶担体の情報
(使用順位)を全部読み出すとともに、あらかじめ単調
増加数列を書き込んだ場合には、その最大値が収納され
ている位置を、あらかじめ単調減少数列を書き込んだ場
合にはその最小値が収納されている位置を、読出確定位
置(最新データ位置=最終順位)とするような読出確定
を行う。このとき、上記目印用記憶担体からの読出情報
(使用順位)中にあらかじめ定められたくり上がりまた
はくり下がり検出をなす検出値が存在する場合(例えば
0クロスの場合)には、上記読出情報中のくり上がりま
たはくり下がり前の値を有する読出情報を無効として、
該無効とされた読出情報以外の情報から上記読出確定を
行う。
(4) When reading out information, read out all the information (use order) of the above-mentioned marker storage carrier, and if a monotonically increasing sequence is written in advance, the position where the maximum value is stored is determined in advance by monotone. When the decreasing number sequence is written, the reading determination is performed such that the position where the minimum value is stored is the read determination position (latest data position = final rank). At this time, if there is a detection value (for example, in the case of 0 cross) in which the predetermined rise or fall detection is present in the read information (use order) from the mark storage carrier, the read information in the read information is used. Invalidate the read information having the value before going up or down,
The reading is determined from information other than the invalidated reading information.

(5)上記読出確定によって確定された位置の上記主記
憶担体の情報を読み出す。
(5) The information of the main storage carrier at the position determined by the read determination is read.

先に述べた実施例では、ポインター用EEPROMとデータ
書き込み用EEPROMとは別個のものとしたが、一つのEEPR
OMの中にデータエリアとポインターエリアを設けること
も可能である。
In the above-described embodiment, the EEPROM for pointer and the EEPROM for data writing are separate, but one EEPROM is used.
It is also possible to provide a data area and a pointer area in the OM.

以上のように、本発明はその主旨に沿って種々に応用
され、種々の実施態様を取り得るものである。
As described above, the present invention can be applied variously according to the gist and can take various embodiments.

[発明の効果] 以上の説明で明らかなように、本発明の情報記憶読出
方法とその装置によれば、以下のような効果を奏する。
[Effects of the Invention] As is clear from the above description, the information storage / readout method and apparatus according to the present invention have the following effects.

(1)書き込み回数に限度のある記憶担体の書き込み使
用回数を、n個のデータエリアとポインターエリアを設
けることによってn倍に増加させることができる。
(1) The number of write operations of a storage medium having a limited number of write operations can be increased n times by providing n data areas and pointer areas.

(2)書き込み回数の少ない記憶担体でも、パワーオフ
時のデータバックアップ等、書き込み回数をたくさん必
要とする場合において利用可能になる。即ち、書き込み
回数の少ない記憶担体の用途を拡大することができる。
(2) Even a storage medium with a small number of write operations can be used when a large number of write operations are required, such as data backup at power-off. That is, it is possible to expand the use of the storage carrier with a small number of writings.

(3)続けて同じデータエリアに書き込むことがないの
で、EEPROM等の記憶担体に与えるダメージも少なくな
る。
(3) Since data is not continuously written in the same data area, damage to a storage carrier such as an EEPROM is reduced.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の情報記憶読出装置の一実施例を示すブ
ロック図、第2図は本発明の情報記憶読出方法の一実施
例を示すフローチャート、第3図,第4図はポインター
エリアの使用説明図である。 1……データ書き込み用EEPROM、2……ポインター用EE
PROM、3……制御部(制御手段)。
FIG. 1 is a block diagram showing an embodiment of the information storage / readout apparatus of the present invention, FIG. 2 is a flowchart showing an embodiment of the information storage / readout method of the present invention, and FIGS. FIG. 1 ... EEPROM for writing data, 2 ... EE for pointer
PROM, 3... Control unit (control means).

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−158090(JP,A) 特開 昭61−150195(JP,A) 特開 昭61−151897(JP,A) ────────────────────────────────────────────────── ─── Continuation of front page (56) References JP-A-61-158090 (JP, A) JP-A-61-150195 (JP, A) JP-A-61-151897 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】書き込み回数に限度のある記憶担体の情報
記憶読出方法であって、 上記記憶担体に複数のデータエリアとそれに対応する複
数の使用順位エリアを設け、 最初にそれぞれの使用順位エリアに順次単調増加数列ま
たは単調減少数列を用いて使用順位を示す情報を書き込
み、 上記データエリアにデータを書き込むときには上記複数
の使用順位エリアから読み出した情報中の上記単調増加
数列または単調減少数列から先頭順位を判定して該先頭
順位の使用順位エリアに対応するデータエリアにデータ
の書き込みを行うとともに上記先頭順位のみを上記単調
増加数列または単調減少数列に続く値に書き替え、 上記書き込んだデータを読み出すときには上記複数の使
用順位エリアから読み出した情報中の単調増加数列また
は単調減少数列から最終順位を判定して該最終順位の使
用順位エリアに対応するデータエリアのデータを読み出
すことを特徴とする情報記憶読出方法。
An information storage and reading method for a storage medium having a limited number of times of writing, wherein said storage medium is provided with a plurality of data areas and a plurality of use order areas corresponding to the data areas. Information indicating the use order is sequentially written using a monotonically increasing sequence or a monotonically decreasing sequence, and when writing data to the data area, the leading order from the monotonically increasing sequence or the monotonically decreasing sequence in the information read from the plurality of use order areas. And writing data to the data area corresponding to the use order area of the leading order, and rewriting only the leading order to a value following the monotone increasing sequence or the monotone decreasing sequence, and reading the written data. Whether a monotonically increasing sequence or a monotonically decreasing sequence in the information read from the plurality of use order areas An information storing and reading method, wherein a final rank is determined from the data, and data in a data area corresponding to the use rank area of the final rank is read.
【請求項2】書き込み回数に限度のある記憶担体を有
し、 上記記憶担体に複数のデータエリアとそれに対応する複
数の使用順位エリアとを設け、 最初にそれぞれの使用順位エリアに順次単調増加数列ま
たは単調減少数列を用いて使用順位を示す情報を書き込
み、上記単調増加数列または単調減少数列から判定した
先頭順位の使用順位エリアに対応するデータエリアにデ
ータの書き込みを行うごとに該使用順位エリアの先頭順
位のみを上記単調増加数列または単調減少数列に続く値
を用いて最終順位に書き替えて、上記複数のデータエリ
アを順番に使用する制御手段を備えたことを特徴とする
情報読出装置。
2. A storage medium having a limited number of times of writing, comprising a plurality of data areas and a plurality of use order areas corresponding to the plurality of data areas. Alternatively, information indicating the use order is written using the monotone decreasing sequence, and each time data is written to the data area corresponding to the use order area of the leading order determined from the monotonically increasing sequence or the monotone decreasing sequence, the use order area is written. An information reading apparatus, comprising: a control unit that rewrites only a leading order to a final order using a value following the monotone increasing sequence or the monotone decreasing sequence and uses the plurality of data areas in order.
JP10629888A 1988-04-28 1988-04-28 Information storage and reading method and apparatus Expired - Lifetime JP2661131B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP10629888A JP2661131B2 (en) 1988-04-28 1988-04-28 Information storage and reading method and apparatus
KR1019890005556A KR0135082B1 (en) 1988-04-28 1989-04-27 Information storage apparatus and method
EP19890304284 EP0340981A3 (en) 1988-04-28 1989-04-28 Information storage apparatus and methods
US08/746,878 US5689676A (en) 1988-04-28 1996-11-18 Sequential EEPROM writing apparatus which sequentially and repetitively replaces a head position pointer with a last position pointer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10629888A JP2661131B2 (en) 1988-04-28 1988-04-28 Information storage and reading method and apparatus

Publications (2)

Publication Number Publication Date
JPH01277397A JPH01277397A (en) 1989-11-07
JP2661131B2 true JP2661131B2 (en) 1997-10-08

Family

ID=14430122

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10629888A Expired - Lifetime JP2661131B2 (en) 1988-04-28 1988-04-28 Information storage and reading method and apparatus

Country Status (1)

Country Link
JP (1) JP2661131B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03142794A (en) * 1989-10-27 1991-06-18 Fuji Electric Co Ltd Method for writing data to non-volatile memory
JP2654215B2 (en) * 1990-01-19 1997-09-17 株式会社東芝 Semiconductor memory system
JPH03250499A (en) * 1990-02-27 1991-11-08 Nec Corp Data storage circuit
JP2957724B2 (en) * 1991-03-01 1999-10-06 富士写真フイルム株式会社 EEPROM card
JP2635448B2 (en) * 1990-12-25 1997-07-30 富士写真フイルム株式会社 Data recording method in memory card and memory card system
JPH04344993A (en) * 1991-05-22 1992-12-01 Kyodo Printing Co Ltd Non-contact type ic card
JP3390482B2 (en) * 1992-06-12 2003-03-24 株式会社リコー Facsimile machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61158090A (en) * 1984-12-28 1986-07-17 Yamatake Honeywell Co Ltd Method for storing content of memory

Also Published As

Publication number Publication date
JPH01277397A (en) 1989-11-07

Similar Documents

Publication Publication Date Title
US6154808A (en) Method and apparatus for controlling data erase operations of a non-volatile memory device
US7065608B2 (en) Apparatus for recording data and method for writing data to flash memory
EP0712067B1 (en) Flash disk card
EP0887732B1 (en) Defective management data handling method and recording medium
US9152562B2 (en) Storage sub-system for a computer comprising write-once memory devices and write-many memory devices and related method
JP2003187585A (en) Method for detecting partially erased unit in flash device
US6839798B1 (en) Flash memory capable of storing frequently rewritten data
JP2007128562A (en) Electronic part having synchronous memory
JP2002278781A (en) Storage device, method for controlling storage device and program
US5724544A (en) IC memory card utilizing dual eeproms for image and management data
JP2661131B2 (en) Information storage and reading method and apparatus
CN113568579B (en) Memory, data storage method and data reading method
JPH03252993A (en) Information writing device for e2prom
JPH05150913A (en) Silicon disk with flash memory as storage medium
JPS6045994A (en) Information storing method by prom
JP2584119B2 (en) Data recording method in memory card and memory card system
JPH06309527A (en) Ic card
JP2808358B2 (en) IC card
JPH11259357A (en) Semiconductor integrated device and nonvolatile memory writing system
JP2850049B2 (en) IC card
JP2932392B2 (en) Memory card
JP3166659B2 (en) Storage device
JPH0820933B2 (en) Data writing method and device
CN116225326A (en) Data storage method, module, unmanned aerial vehicle control device and readable storage medium
JP3080682B2 (en) Still camera data writing method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term