JPH0561760A - Storage management system for memory card - Google Patents

Storage management system for memory card

Info

Publication number
JPH0561760A
JPH0561760A JP3244099A JP24409991A JPH0561760A JP H0561760 A JPH0561760 A JP H0561760A JP 3244099 A JP3244099 A JP 3244099A JP 24409991 A JP24409991 A JP 24409991A JP H0561760 A JPH0561760 A JP H0561760A
Authority
JP
Japan
Prior art keywords
header
area
storage
information
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3244099A
Other languages
Japanese (ja)
Other versions
JP3070994B2 (en
Inventor
Satoru Okamoto
悟 岡本
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP3244099A priority Critical patent/JP3070994B2/en
Publication of JPH0561760A publication Critical patent/JPH0561760A/en
Application granted granted Critical
Publication of JP3070994B2 publication Critical patent/JP3070994B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To apply a memory allocation table(MAT) system even at a non- volatile memory such as an EEPROM or the like in a batch erase system or a partial erase system for the unit of a block. CONSTITUTION:A memory card 11 equipped with a storage area 60 of the EEPROM is provided with plural header blocks 33 to be respectively recorded with header information related to the storage of image information and a header information pointer 36 to display whether each header block 33 is vacant or occupied. By turning-on a power source, a host such as a digital electronic still camera 10 or the like reads the header information from the latest header block 33 indicated by the pointer 36 to a memory 14. The image information is written in the EEPROM storage area 60, and the header information in the memory 14 is updated. When the operation of turning-off the power source of the host 10 is executed, the host 10 reads the header information from the memory 14 and writes this information in the header block 33 whose vacant state is displayed by the pointer 36, and the display corresponding to the header block 33 with this information written is turned to the occupied state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メモリカードの記憶管
理方式、とくに、消去可能なプログラマブル読出し専用
記憶装置(EPROM) や電気的に消去可能なプログラマブル
読出し専用記憶装置(EEPROM)などの消去可能な読出し専
用記憶デバイスを記憶領域とするメモリカードの記憶管
理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage management system for a memory card, and more particularly to an erasable programmable read-only memory (EPROM) or an electrically erasable programmable read-only memory (EEPROM). The present invention relates to a storage management method of a memory card having a read-only storage device as a storage area.

【0002】[0002]

【従来の技術】たとえばディジタル電子スチルカメラで
画像データの保存媒体に用いられる従来のメモリカード
は、記憶領域がSRAMであった。SRAMは、バックアップ用
の電源回路が必要であり、ビット単価が高価となる欠点
がある。近年、電池のバックアップが不要でブロック単
位または一括で電気的消去が可能なEEPROMを記憶領域と
するメモリカードが実用化され、容量も1Mビット程度の
ものが実現可能である。このようなEEPROMは、SRAMのメ
モリカードに代って用いられる可能性がある。
2. Description of the Related Art For example, a conventional memory card used as a storage medium for image data in a digital electronic still camera has a storage area of SRAM. SRAM requires a power supply circuit for backup and has a drawback that the unit price of bits is expensive. In recent years, a memory card having an EEPROM as a storage area, which does not require battery backup and can be electrically erased in block units or in a batch, has been put into practical use, and can have a capacity of about 1 Mbit. Such an EEPROM may be used in place of a SRAM memory card.

【0003】たとえば、本願の出願人と同じ出願人によ
る特許出願、特願平2-60927 に記載のメモリカードの記
憶管理方式では、メモリカードのEEPROMの記憶領域にお
いて、1コマ分の画像データが1つのパケットの形をと
る。1パケットの画像データは一般に、メモリの最小管
理単位である複数のクラスタに分散されて蓄積される。
これらのクラスタは、各パケットごとにメモリ・アロケ
ーション・テーブル(MAT) で管理される。つまり、1パ
ケットの画像データが複数のクラスタに分散されて記憶
される際、そのパケットに関する最初のクラスタの関連
をMAT にて定義し、その最初のクラスタの末尾にはそれ
に続く画像データが記憶されいているクラスタの識別情
報が記憶され、こうしたMAT から複数のクラスタに続く
チェーンを形成することによって1パケットの画像デー
タであることの関連性を定義する。これらのクラスタお
よびパケットなどを管理する管理情報は、メモリカード
のヘッダ領域に収容される。ヘッダは、メモリカード単
位に設けられ、これには、パケットの番号、パケットの
先頭クラスタ番号、使用クラスタ数、残留クラスタ数な
どの管理情報が書き込まれる。したがってヘッダは、1
パケットの画像データが記憶領域に書き込まれる毎に、
内容が更新される。このようなMAT 方式によるメモリ領
域の管理は、画像データのようなデータ長が固定されな
いデータの記憶については、クラスタの割当てに制限が
ないので有利である。
For example, in the memory management system of the memory card described in Japanese Patent Application No. 2-60927, which is a patent application filed by the same applicant as this application, one frame of image data is stored in the memory area of the EEPROM of the memory card. Takes the form of one packet. One packet of image data is generally distributed and accumulated in a plurality of clusters, which are the minimum management units of the memory.
These clusters are managed by a memory allocation table (MAT) for each packet. In other words, when the image data of one packet is distributed and stored in multiple clusters, the relation of the first cluster related to the packet is defined by MAT, and the subsequent image data is stored at the end of the first cluster. The identification information of the current cluster is stored, and the relationship of being one packet of image data is defined by forming a chain following a plurality of clusters from such MAT. Management information for managing these clusters and packets is stored in the header area of the memory card. The header is provided for each memory card, and management information such as the packet number, the head cluster number of the packet, the number of used clusters, and the number of remaining clusters is written in the header. Therefore the header is 1
Each time the packet image data is written to the storage area,
Contents are updated. Such management of the memory area by the MAT method is advantageous for storage of data such as image data whose data length is not fixed, because there is no limit to cluster allocation.

【0004】[0004]

【発明が解決しようとする課題】EEPROMは一般に、一括
消去方式やブロック単位の部分消去方式が価格の点で有
利である。また、その書換え限度も100 〜1000回程度で
ある。上述したようなMAT 方式は、ヘッダ領域を常時更
新する必要があるので、本来、SRAMなどの書換え可能な
記憶デバイスに好適である。しかし、一括消去方式やブ
ロック単位の部分消去方式のEEPROMには、そのままでは
適していない。
As for the EEPROM, the batch erasing method and the block erasing method are generally advantageous in terms of cost. Also, the rewriting limit is about 100 to 1000 times. The MAT method as described above is originally suitable for a rewritable storage device such as SRAM because the header area needs to be constantly updated. However, it is not suitable as it is for a batch erasing method or a block erasing method EEPROM.

【0005】本発明はこのような要求に鑑み、一括消去
方式やブロック単位の部分消去方式のEEPROMなどの不揮
発性メモリにおいてもMAT 方式が適用できるメモリカー
ドの記憶管理方式を提供することを目的とする。
In view of such demands, it is an object of the present invention to provide a memory management system of a memory card to which a MAT system can be applied even in a non-volatile memory such as a batch erasing system or a block unit partial erasing system EEPROM. To do.

【0006】[0006]

【課題を解決するための手段】本発明によれば、初期化
において所定の論理状態に記録が消去されこれに情報が
追加的に書き込まれるEEPROMの記憶領域を有するメモリ
カードの記憶管理方式方式は、前記記憶領域に設けら
れ、画像情報の記憶に係る管理情報の少なくとも一部を
含むヘッダ情報がそれぞれ記録される複数のヘッダ記録
領域と、前記記憶領域に設けられ、複数のヘッダ記録領
域のそれぞれについて空塞を表示する空塞表示手段と、
画像情報を前記記憶領域に書き込み、第1の時点で、画
像情報に関するヘッダ情報を複数のヘッダ記録領域のう
ち空塞表示手段の示す空きのヘッダ記録領域に書き込
み、空塞表示手段における書き込んだヘッダ記録領域に
対応する表示を塞がり表示にする制御手段とを含む。
According to the present invention, there is provided a storage management system for a memory card having a storage area of an EEPROM in which a record is erased in a predetermined logical state in initialization and information is additionally written therein. A plurality of header recording areas provided in the storage area, in which header information including at least a part of management information for storing image information is recorded, and a plurality of header recording areas provided in the storage area About the sky block display means to display the sky block,
The image information is written in the storage area, and at the first time, the header information relating to the image information is written in the empty header recording area indicated by the empty / closed display means among the plurality of header recording areas, and the written header in the empty / closed display means is written. And a control unit for closing the display corresponding to the recording area.

【0007】本発明によればまた、メモリカードの記憶
管理方式は、前記記憶領域に設けられ、画像情報の記憶
に係る管理情報の少なくとも一部を含むヘッダ情報が記
録されるヘッダ記録領域と、ヘッダ記録領域が形成され
る前記記憶領域における記憶位置を追加的に指示する複
数の記憶位置指示領域と、前記記憶領域に設けられ、複
数の記憶位置指示領域のうち最新に指示が追加された領
域を指示する指示手段と、画像情報を前記記憶領域に書
き込み、第1の時点で、指示手段に基づいて複数の記憶
位置指示領域における最新に指示が追加された領域を参
照し、この参照された記憶位置指示領域の指示する前記
記憶領域における位置を導出し、こうして導出された位
置のヘッダ記録領域に画像情報に関するヘッダ情報を書
き込む制御手段とを含む。
According to the present invention, the memory card storage management system further comprises a header recording area provided in the storage area, in which header information including at least a part of management information relating to storage of image information is recorded. A plurality of storage position indicating areas for additionally instructing a storage position in the storage area in which a header recording area is formed, and an area provided in the storage area and having the latest instruction among the plurality of storage position indicating areas And the image information is written in the storage area, and at the first time point, the area to which the latest instruction has been added among the plurality of storage position pointing areas based on the instruction means is referred to and referred to. Control means for deriving a position in the storage area designated by the storage location designating area, and writing header information relating to image information in the header recording area at the location thus derived; Including.

【0008】[0008]

【作用】本発明によれば、制御手段は、第2の時点で、
空塞表示手段指示する最新のヘッダ記録領域からヘッダ
情報を記憶手段に読み込む。画像情報を記憶領域に書き
込み、記憶手段のヘッダ情報を更新する。第1の時点で
制御手段は、記憶手段からヘッダ情報を読み出し、空塞
表示手段が空き表示をしているヘッダ記録領域にこれを
書き込み、この書き込んだヘッダ記録領域に対応する表
示を塞がり表示にする。
According to the present invention, the control means, at the second time point,
The header information is read from the latest header recording area instructed by the empty / closure display means into the storage means. The image information is written in the storage area, and the header information in the storage means is updated. At the first time point, the control means reads the header information from the storage means, writes it in the header recording area in which the empty / occluded display means displays an empty area, and closes the display corresponding to the written header recording area. To do.

【0009】本発明によればまた、制御手段は、指示手
段に基づいて複数の記憶位置指示領域における最新に指
示が追加された領域を参照してその指示する前記記憶領
域における位置を導出する。この導出された位置のヘッ
ダ記録領域に画像情報に関するヘッダ情報を書き込む。
Further, according to the present invention, the control means derives the position in the storage area to be instructed by referring to the area to which the latest instruction has been added in the plurality of storage position instructing areas based on the instructing means. Header information relating to image information is written in the header recording area at the derived position.

【0010】[0010]

【実施例】次に添付図面を参照して本発明によるメモリ
カードの記憶管理方式の実施例を詳細に説明する。図2
に、本発明をディジタル電子スチルカメラに適用した実
施例を示す。この実施例では、ディジタル電子スチルカ
メラ10にメモリカード11がコネクタ12を介して着脱可能
に接続される。カメラ10は、カード11に対してホストと
して機能し、撮影に必要な固体撮像デバイスなどの機能
部を有するが、説明の複雑化を避けるため、本発明の理
解に必要な部分のみが示されている。カメラ10は、撮像
デバイスによる撮影など、カメラの機能全体を制御する
システムコントローラ13およびその作業領域としてのメ
モリ14を有し、それらがバス15により相互に接続されて
いる。バス15は、メモリカード11とのインタフェースを
とるカードインタフェース16を介してコネクタ12に接続
されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a memory card storage management system according to the present invention will now be described in detail with reference to the accompanying drawings. Figure 2
An embodiment in which the present invention is applied to a digital electronic still camera is shown in FIG. In this embodiment, a memory card 11 is detachably connected to a digital electronic still camera 10 via a connector 12. The camera 10 functions as a host for the card 11 and has a functional unit such as a solid-state imaging device necessary for photographing, but only a portion necessary for understanding the present invention is shown in order to avoid complication of the description. There is. The camera 10 has a system controller 13 for controlling the entire functions of the camera such as shooting with an image pickup device and a memory 14 as a work area thereof, and these are connected to each other by a bus 15. The bus 15 is connected to the connector 12 via a card interface 16 that interfaces with the memory card 11.

【0011】メモリカード11は、本実施例では、カメラ
10で撮影された画像を表わす画像データをその関連デー
タとともに不揮発的に蓄積する記憶領域としてEEPROMの
記憶領域60を有する。EEPROM記憶領域60は、一括消去型
またはブロック消去などの部分消去型が有利に適用され
る。記憶領域60への書込み、読出しおよび消去は、カメ
ラすなわちホスト10のシステムコントローラ13の制御の
下にメモリコントローラ40によって行なわれる。メモリ
コントローラ40は、インタフェース45を介してカメラ10
のカードインタフェース16と接続される。メモリコント
ローラ40はまた、バッファメモリ50とも接続され、カメ
ラ10側からのバッファメモリ50の書込みと読出しも制御
する。EEPROM記憶領域60は、アクセスが比較的低速であ
り、たとえばカメラ10の連写による画像データの入力へ
対応するには十分でない。そこで本実施例では、高速の
SRAMのバッファメモリ50を設け、これを介してEEPROM記
憶領域60への書込みが行なわれる。
The memory card 11 is a camera in this embodiment.
A storage area 60 of an EEPROM is provided as a storage area for non-volatilely accumulating image data representing the image captured in 10 together with related data. The EEPROM storage area 60 is advantageously applied to a batch erase type or a partial erase type such as block erase. Writing, reading, and erasing to the storage area 60 are performed by the memory controller 40 under the control of the system controller 13 of the camera, that is, the host 10. The memory controller 40 connects the camera 10 via the interface 45.
Connected to the card interface 16. The memory controller 40 is also connected to the buffer memory 50 and controls writing and reading of the buffer memory 50 from the camera 10 side. The EEPROM storage area 60 has a relatively low access speed, and is not sufficient for inputting image data by continuous shooting of the camera 10, for example. Therefore, in this embodiment,
An SRAM buffer memory 50 is provided, and writing to the EEPROM storage area 60 is performed via this.

【0012】図1、図3および図4には、EEPROM記憶領
域60の構成が例示されている。この記憶領域60は、初期
化されるとすべての記憶単位が2進の「1」に、すなわ
ち16進の「F」に設定される。勿論本発明は、「0」に
初期化されるタイプのEEPROMにも有効に適用される。本
実施例では一般に、記憶領域60にてデータの書替えは行
なわず、データがすでに記憶されている既存の記憶領域
とは別な記憶領域に新たなデータを書き込む追加書込み
方式をとっている。
The structure of the EEPROM storage area 60 is illustrated in FIGS. 1, 3 and 4. When this storage area 60 is initialized, all storage units are set to binary "1", that is, to hexadecimal "F". Of course, the present invention is effectively applied to an EEPROM of the type initialized to "0". In the present embodiment, generally, the data is not rewritten in the storage area 60, and an additional writing method is used in which new data is written in a storage area different from the existing storage area in which the data is already stored.

【0013】カメラ10からメモリカード11の記憶領域60
に書き込むべきデータは、前述のように画像データのほ
かにディレクトリおよびメモリアロケーション・テーブ
ル(MAT) などの管理データがある。この管理データは、
カメラ10で撮影が行なわれる度に更新しなければならな
い。しかし画像データは通常の場合、記憶領域60におけ
る新たな領域への追加書込みでよい。
Storage area 60 of the memory card 11 from the camera 10
As described above, the data to be written in is the management data such as the directory and the memory allocation table (MAT) in addition to the image data. This management data is
It must be updated each time a picture is taken with the camera 10. However, in the normal case, the image data may be additionally written to a new area in the storage area 60.

【0014】記憶領域60は、前述した最小の管理単位で
ある単位記憶領域すなわちクラスタ21で管理される。図
3からわかるように、記憶領域60は、所定の記憶容量、
たとえば8Kバイトの大きさの複数のクラスタ21で構成さ
れている。それらのクラスタ21のうち特定のクラスタ、
本実施例ではクラスタ#1は管理データが書き込まれる領
域である。他のクラスタ、すなわち#2以降のクラスタ
は、画像データが書き込まれる。
The storage area 60 is managed by the unit storage area, that is, the cluster 21, which is the minimum management unit described above. As can be seen from FIG. 3, the storage area 60 has a predetermined storage capacity,
For example, it is composed of multiple clusters 21 each having a size of 8 Kbytes. A particular cluster of those clusters 21,
In this embodiment, the cluster # 1 is an area in which management data is written. Image data is written in other clusters, that is, clusters after # 2.

【0015】クラスタ#1は、図1に示すように、管理デ
ータが書き込まれるヘッダ領域28と、1パケットの画像
データを識別するパケット番号などの識別情報が書き込
まれるパケット識別領域22と、使用者が画像のコマすな
わちパケットを所望の順序に編集して再生するためのス
タートクラスタ番号およびデータ種別が書き込まれるデ
ィレクトリ領域24と、個々のパケットについてクラスタ
21の関連を示すデータ、すなわちそのパケットについて
関連するクラスタ21の記憶領域60におけるアドレスを示
すMAT データが記録されるMAT 領域26とを含む。後者の
4つの記憶領域22、24および26は、カメラ10による撮影
の度に新たな領域に情報が書き込まれ、図示の例では残
りの領域23、25および27は未使用状態である。
As shown in FIG. 1, the cluster # 1 includes a header area 28 in which management data is written, a packet identification area 22 in which identification information such as a packet number for identifying one packet of image data is written, and a user. Is a directory area 24 in which a start cluster number and a data type for editing and reproducing the image frames, that is, packets in a desired order, and a cluster for each packet
21 is associated with the packet, that is, the MAT area 26 in which the MAT data indicating the address in the storage area 60 of the cluster 21 associated with the packet is recorded. In the latter four storage areas 22, 24 and 26, information is written in new areas each time the image is taken by the camera 10, and in the illustrated example, the remaining areas 23, 25 and 27 are unused.

【0016】ヘッダ領域28には、本実施例では16バイト
単位のヘッダ記録領域すなわちヘッダブロック33が形成
されるヘッダブロック領域34と、192 バイトのヘッダ情
報ポインタ36とが設けられている。ヘッダブロック領域
34は、本実施例では1536バイトの記憶容量を有し、した
がって94個のヘッダブロック33が書込み可能である。ヘ
ッダブロック33のそれぞれは、本実施例では、記憶領域
60において使用されたクラスタの数すなわち使用クラス
タ数、未使用のクラスタの数すなわち残留クラスタ数、
最終使用パケット番号、先頭未使用クラスタ番号および
パリティチェック符号などのヘッダ情報30が書き込まれ
る領域である。このようなMAT 方式によるメモリ管理方
式の詳細については、本願と同じ出願人による係属中の
特許出願、特願平 1-317796 を参照されたい。
In this embodiment, the header area 28 is provided with a 16-byte unit header recording area, that is, a header block area 34 in which a header block 33 is formed, and a 192 byte header information pointer 36. Header block area
34 has a storage capacity of 1536 bytes in this embodiment, so that 94 header blocks 33 can be written. Each of the header blocks 33 has a storage area in this embodiment.
The number of used or used clusters, the number of unused or remaining clusters in 60,
This is an area in which header information 30 such as the last used packet number, the first unused cluster number, and the parity check code is written. For details of such a memory management method by the MAT method, refer to the pending patent application by the same applicant as this application, Japanese Patent Application No. 1-317796.

【0017】ここで本実施例に特徴的なことは、カメラ
10に特定のメモリカード11がコネクタ12によって接続さ
れ、カメラ10に電源が投入されると、ヘッダ領域28にお
ける最新のヘッダブロック33のデータがカメラ10のメモ
リ14に読み込まれ、撮影が行なわれるとメモリ14にてこ
れが更新され、カメラ10の電源をオフにする操作をする
と、カメラ10のシステムコントローラ13がこれに応動し
てメモリ14からヘッダ情報を読み出し、新たなヘッダブ
ロック33にこれを書き込むことである。以上の説明から
わかるように、ヘッダブロック33に書き込むべきデータ
の量は、必要最小限が望ましい。そうすれば、1つのメ
モリカード11についてカメラ10の電源をオフにする回数
を有効に増すことができる。ヘッダブロック33の更新に
ついては、後に詳述する。
The characteristic feature of this embodiment is that the camera
When a specific memory card 11 is connected to the connector 10 by the connector 12 and the camera 10 is powered on, the latest data of the header block 33 in the header area 28 is read into the memory 14 of the camera 10 and shooting is performed. When this is updated in the memory 14 and the power of the camera 10 is turned off, the system controller 13 of the camera 10 responds to this by reading the header information from the memory 14 and writing it in the new header block 33. Is. As can be seen from the above description, the minimum amount of data to be written in the header block 33 is desirable. This makes it possible to effectively increase the number of times the power of the camera 10 is turned off for one memory card 11. The updating of the header block 33 will be described later in detail.

【0018】ヘッダ情報ポインタ36は、ヘッダブロック
領域34にある複数のヘッダブロック33のうち最新のヘッ
ダ情報が書き込まれたヘッダブロックを指定する空塞表
示領域である。本実施例では、ヘッダ情報ポインタ36は
192 バイトの記憶領域を使用し、図4における最も右の
ビット位置にある、すなわち最下位桁に最も近い位置に
ある2進の「0」のビット位置が最新のヘッダ情報の記
録されているヘッダブロック33を指す。図示の例では、
ヘッダ情報ポインタ36の左から第3ビット位置まで2進
の「0」であるので、番号3を有するヘッダブロック#3
が最新のヘッダ情報を担持していることを示している。
勿論、ヘッダブロック33の空塞または最新の記録状態も
しくは記録順序を表示するには、このようなポインタの
形をとらず、個々のヘッダブロック33に表示ビットを設
けるなどの他の方法をとってもよい。
The header information pointer 36 is an empty / closed display area for designating the header block in which the latest header information is written among the plurality of header blocks 33 in the header block area 34. In this embodiment, the header information pointer 36 is
Using a 192 byte storage area, the binary "0" bit position at the rightmost bit position in FIG. 4, that is, the position closest to the least significant digit is the header in which the latest header information is recorded. Point to block 33. In the example shown,
Since it is a binary "0" from the left to the third bit position of the header information pointer 36, the header block # 3 having the number 3
Indicates that it carries the latest header information.
Of course, in order to display the empty / closed state or the latest recording state or recording order of the header block 33, another method such as providing a display bit in each header block 33 may be used without taking the form of such a pointer. ..

【0019】前述のように、記憶領域60の記録情報をす
べて消去する初期化において、ヘッダ領域28のブロック
領域34の記録情報はすべて消去され、またヘッダ情報ポ
インタ36の各ビットも消去され、これらのビットはすべ
て「1」となる。そこで、カメラ10の電源をオフにする
際にカメラ10から送られる最初のヘッダ情報は、ヘッダ
ブロック#0に書き込まれる。その後、電源がオフされる
度に、更新されたヘッダ情報が新しいヘッダブロック#
1、#2、#3といった順に書き込まれる。この書込みに対
応して、その都度、ヘッダ情報ポインタ36のビット
「1」は最上位桁すなわち先頭より順番に「0」に反転
される。したがって、図4の左より順に見て最初のビッ
ト「0」が最新情報のヘッダブロック33の番号を示すこ
とになる。したがって、図4のヘッダ情報ポインタ36の
論理状態では、図1に示すヘッダブロック#3に最新のヘ
ッダ情報が書き込まれていることを示している。図1に
示す実施例は初期化のときにビットが「1」になるEEPR
OMを用いているが、初期化のとき「0」になるもので
は、ヘッダ情報ポインタ36のビットの値は逆に、最右端
の「1」が最新のヘッダブロック33の番号を示すことに
なる。
As described above, in the initialization for erasing all the record information in the storage area 60, all the record information in the block area 34 of the header area 28 is erased, and each bit of the header information pointer 36 is also erased. Are all "1". Therefore, the first header information sent from the camera 10 when the power of the camera 10 is turned off is written in the header block # 0. After that, each time the power is turned off, the updated header information
It is written in order of 1, # 2, # 3. Corresponding to this writing, the bit "1" of the header information pointer 36 is inverted to "0" in order from the most significant digit, that is, the head, each time. Therefore, the first bit "0" as viewed from the left of FIG. 4 indicates the number of the header block 33 of the latest information. Therefore, the logical state of the header information pointer 36 in FIG. 4 indicates that the latest header information is written in the header block # 3 shown in FIG. In the embodiment shown in FIG. 1, the EEPR in which the bit becomes "1" at initialization
Although the OM is used, if the value becomes "0" at the time of initialization, the bit value of the header information pointer 36 is reversed, and the rightmost "1" indicates the latest header block 33 number. ..

【0020】カメラ10に、メモリカード11が装着され、
カメラ10の電源がオンされると、カメラ10のシステムコ
ントローラ13はこれに応動して、メモリカード11の記憶
領域60からのヘッダ28の読出し命令を出力する。この読
出し命令は、バス15、カードインタフェース16、コネク
タ12およびカード11側のインタフェース45を通してメモ
リコントローラ40に転送される。メモリコントローラ40
は、これに応動してヘッダ情報ポインタ36の最右端のビ
ット「0」に対応するヘッダブロック33のヘッダ情報を
読み出してインタフェース45に出力する。カメラ11のシ
ステムコントローラ13は、このヘッダ情報を受け取り、
そのメモリ14に格納する。
A memory card 11 is attached to the camera 10,
When the power of the camera 10 is turned on, the system controller 13 of the camera 10 responds to this and outputs a command to read the header 28 from the storage area 60 of the memory card 11. This read command is transferred to the memory controller 40 through the bus 15, the card interface 16, the connector 12 and the interface 45 on the card 11 side. Memory controller 40
In response to this, the header information of the header block 33 corresponding to the rightmost bit “0” of the header information pointer 36 is read and output to the interface 45. The system controller 13 of the camera 11 receives this header information,
It is stored in the memory 14.

【0021】カメラ10のシステムコントローラ13はそこ
で、撮影が行なわれるごとに、メモリ14のこのヘッダ情
報を更新する。これとともにシステムコントローラ13
は、1コマすなわち1パケットの画像データ、格納すべ
きクラスタのアドレス、およびそれらの付帯情報を出力
する。メモリコントローラ40は、インタフェース45を介
してこれを受け取り、これらの画像データおよび管理情
報をバツファメモリ50に一旦蓄積した後、これから読み
出して、指定されたアドレスに従ってディレクトリ領域
24にディレクトリデータを、MAT 領域26にはMAT データ
を、また他のクラスタ領域には画像データを書き込む。
The system controller 13 of the camera 10 then updates this header information in the memory 14 each time an image is taken. Along with this, the system controller 13
Outputs one frame, that is, one packet of image data, the address of the cluster to be stored, and their supplementary information. The memory controller 40 receives this via the interface 45, temporarily stores these image data and management information in the buffer memory 50, then reads them from this, and the directory area according to the designated address.
The directory data is written in 24, the MAT data is written in the MAT area 26, and the image data is written in other cluster areas.

【0022】撮影が終了し使用者が電源をオフにする操
作をすると、カメラ10のシステムコントローラ13は、メ
モリ14からヘッダ情報を読み出し、これをカードインタ
フェース16を通してメモリカード11へ出力する。メモリ
コントローラ40は、これを受け取ると、バツファメモリ
50に一旦蓄積する。その後、ヘッダ情報ポインタ36を調
べ、その最初の、すなわち最左端のビット「1」に対応
するヘッダブロック33にバツファメモリ50からヘッダ情
報を読み出して書き込む。これとともにメモリコントロ
ーラ40は、ヘッダ情報ポインタ36の最も左にある、すな
わち最初のビット「1」を「0」に反転する。こうして
ヘッダ情報が入力される毎にメモリコントローラ40は、
同様な動作を繰り返して最新のヘッダ情報を新しいヘッ
ダブロック33に書き込む。なお、この実施例では、カメ
ラ10の電源をオフにする際、更新されたヘッダ情報を新
たなヘッダブロック33に書き込むように構成されてい
る。しかし、たとえば撮影の都度など、所定の撮影回数
の経過によって新たなヘッダブロック33に書き込むよう
に構成してもよい。
When the user finishes photographing and turns off the power, the system controller 13 of the camera 10 reads the header information from the memory 14 and outputs it to the memory card 11 through the card interface 16. Upon receiving this, the memory controller 40 receives the buffer memory.
Accumulate at 50 once. After that, the header information pointer 36 is checked, and the header information is read from the buffer memory 50 and written in the first header block 33 corresponding to the leftmost bit "1". At the same time, the memory controller 40 inverts the leftmost bit of the header information pointer 36, that is, the first bit "1" to "0". Each time the header information is input in this way, the memory controller 40
The same operation is repeated to write the latest header information in the new header block 33. In this embodiment, when the power of the camera 10 is turned off, the updated header information is written in the new header block 33. However, it may be configured to write in the new header block 33 after a lapse of a predetermined number of times of shooting, for example, every time of shooting.

【0023】図5は本発明の他の実施例を示す。図1に
示す実施例では、ヘッダ情報の格納される領域が特定の
クラスタ#1に限定されていた。しかしこの方式では、記
憶容量の大きなEEPROMを使用したメモリカードの場合、
ヘッダ情報の更新回数が増え、したがってヘッダ領域と
して使用できる領域28の容量が不足することがある。図
5に示す実施例はこれを解決する方式で、ヘッダ情報を
書き込むべきヘッダ領域28は任意のクラスタ21に形成
し、特定のクラスタ、たとえばクラスタ#1にこのヘッダ
領域28の記録されているクラスタ21の番号を書き込む領
域81を設け、これを更新的に追加書き込みすることによ
って所期のヘッダ領域28にアクセスすることができる。
より詳細には、クラスタ番号領域81は、ヘッダ領域28の
形成されるクラスタ21の番号が書き込まれ、最新のヘッ
ダ領域28を含むクラスタ21を指示するクラスタ番号領域
81はポインタ82によって指示される。つまり、クラスタ
番号領域81は、図1に示す実施例におけるヘッダブロッ
ク33と同様に更新的に追加書き込みされ、ポインタ82
は、図1に示す実施例におけるヘッダ情報ポインタ36と
と同様に機能する。クラスタ番号領域81のクラスタ番号
は、クラスタ番号表84によって記憶領域60におけるクラ
スタアドレスに変換され、このクラスタアドレスによっ
て所期のヘッダ領域28を有するクラスタ21にアクセスさ
れる。
FIG. 5 shows another embodiment of the present invention. In the embodiment shown in FIG. 1, the area in which the header information is stored is limited to the specific cluster # 1. However, in this method, in the case of a memory card using EEPROM with a large storage capacity,
The number of times the header information is updated increases, so that the capacity of the area 28 that can be used as the header area may be insufficient. The embodiment shown in FIG. 5 is a method of solving this, in which the header area 28 in which the header information is to be written is formed in an arbitrary cluster 21, and a cluster recorded in the header area 28 in a specific cluster, for example, cluster # 1. An area 81 for writing the number 21 is provided, and the intended header area 28 can be accessed by additionally writing the area 81.
More specifically, the cluster number area 81 is written with the number of the cluster 21 in which the header area 28 is formed, and indicates the cluster 21 including the latest header area 28.
81 is designated by the pointer 82. That is, the cluster number area 81 is updated and additionally written similarly to the header block 33 in the embodiment shown in FIG.
Functions similarly to the header information pointer 36 in the embodiment shown in FIG. The cluster number in the cluster number area 81 is converted into a cluster address in the storage area 60 by the cluster number table 84, and the cluster 21 having the intended header area 28 is accessed by this cluster address.

【0024】カメラ10の電源を投入すると、まず特定の
領域80にアクセスし、ポインタ82およびクラスタ番号領
域81によって最新のヘッダ領域28のクラスタ21の番号を
索出する。このクラスタ番号、たとえばa1に従って最新
のヘッダ領域28から最新のヘッダブロック33の情報をメ
モリ14に取り込む。この動作は、図1に示す実施例と同
様である。ヘツダ情報をヘッダ領域28に書き込むとき
は、同様にして、最新のヘッダ領域28にアクセスし、そ
のポインタ36を参照して未使用のブロック33にへッダ情
報を書き込む。この方式は、1つのクラスタ21において
新たなヘッダブロック33への情報の書き込みが不能にな
ると、他のクラスタ33にヘッダ領域28を設定することに
よって、ヘッダ領域28を拡張的に使用ができる。
When the power of the camera 10 is turned on, first, the specific area 80 is accessed and the number of the cluster 21 in the latest header area 28 is searched by the pointer 82 and the cluster number area 81. Information of the latest header block 33 from the latest header area 28 is fetched into the memory 14 according to this cluster number, for example, a1. This operation is similar to that of the embodiment shown in FIG. When the header information is written in the header area 28, the latest header area 28 is accessed in the same manner, and the pointer 36 is referred to write the header information in the unused block 33. In this method, when the writing of information to the new header block 33 in one cluster 21 becomes impossible, the header area 28 can be used extensively by setting the header area 28 in the other cluster 33.

【0025】[0025]

【発明の効果】このように本発明によれば、一括消去方
式やブロック消去方式のEEPROMを用いたメモリカードに
おいても、書換え回数の多いヘッダデータを複数の領域
に追記的に書き込んで行くことにより、現行のSRAMカー
ドのヘッダ、ディレクトリおよびMAT を含むメモリ管理
方式が適用できる。したがって、フォーマットの互換性
があり、SRAMカードと同様に使用でき、SRAMカードより
消費電力が少ないEEPROMまたはEPROM のメモリカードを
実現できる。
As described above, according to the present invention, even in a memory card using a batch erasing method or a block erasing method EEPROM, the header data, which is frequently rewritten, is additionally written in a plurality of areas. , The memory management method including the current SRAM card header, directory and MAT can be applied. Therefore, it is possible to realize an EEPROM or EPROM memory card that has format compatibility, can be used like an SRAM card, and consumes less power than an SRAM card.

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

【図1】図2に示す実施例における管理データの記憶領
域の構成を例示した図である。
FIG. 1 is a diagram exemplifying a configuration of a storage area for management data in the embodiment shown in FIG.

【図2】本発明によるメモリカードの記憶管理方式をデ
ィジタル電子スチルカメラに適用した実施例を示す機能
ブロック図である。
FIG. 2 is a functional block diagram showing an embodiment in which a memory card storage management system according to the present invention is applied to a digital electronic still camera.

【図3】図2に示す実施例における記憶領域の構成の例
を示す図である。
FIG. 3 is a diagram showing an example of a configuration of a storage area in the embodiment shown in FIG.

【図4】図2に示す実施例におけるヘッダ情報ポインタ
の構成の例を示す図である。
FIG. 4 is a diagram showing an example of the configuration of a header information pointer in the embodiment shown in FIG.

【図5】本発明の他の実施例における管理データの記憶
領域の構成を例示する図である。
FIG. 5 is a diagram illustrating a configuration of a storage area for management data according to another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 ディジタル電子スチルカメラ 11 メモリカード 13 システムコントローラ 14 メモリ 21 クラスタ 28 ヘッダ領域 33 ヘッダブロック 36 ヘッダポインタ 40 メモリコントローラ 50 バッファメモリ 60 EEPROM記憶領域 10 Digital electronic still camera 11 Memory card 13 System controller 14 Memory 21 Cluster 28 Header area 33 Header block 36 Header pointer 40 Memory controller 50 Buffer memory 60 EEPROM storage area

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 初期化において所定の論理状態に記録が
消去されこれに情報が追加的に書き込まれるEEPROMの記
憶領域を有するメモリカードの記憶管理方式において、
該方式は、 前記記憶領域に設けられ、画像情報の記憶に係る管理情
報の少なくとも一部を含むヘッダ情報がそれぞれ記録さ
れる複数のヘッダ記録領域と、 前記記憶領域に設けられ、該複数のヘッダ記録領域のそ
れぞれについて空塞を表示する空塞表示手段と、 前記画像情報を前記記憶領域に書き込み、第1の時点
で、該画像情報に関するヘッダ情報を前記複数のヘッダ
記録領域のうち前記空塞表示手段の示す空きのヘッダ記
録領域に書き込み、該空塞表示手段における該書き込ん
だヘッダ記録領域に対応する表示を塞がり表示にする制
御手段とを含むことを特徴とするメモリカードの記憶管
理方式。
1. A storage management system for a memory card having a storage area of an EEPROM in which a record is erased to a predetermined logical state in initialization and information is additionally written to this,
The method includes a plurality of header recording areas provided in the storage area, in which header information including at least a part of management information related to storage of image information is recorded, respectively, and a plurality of header recording areas provided in the storage area. An empty block display means for displaying an empty block for each of the recording areas, and writing the image information in the storage area, and at a first point of time, header information relating to the image information is recorded in the empty block of the plurality of header recording areas. A storage management system for a memory card, comprising: a control means for writing in an empty header recording area indicated by the display means and for closing a display corresponding to the written header recording area in the empty / closed display means.
【請求項2】 請求項1に記載の方式において、 前記制御手段は、前記ヘッダ情報を書換え可能に蓄積す
る記憶手段を有し、 前記制御手段は、第1の時点とは異なる第2の時点で、
前記空塞表示手段に基づいて前記複数のヘッダ記録領域
のうちの最新に書き込まれた記録領域からそれに含まれ
るヘッダ情報を読み出して前記記憶手段に蓄積し、該記
憶手段に蓄積されているヘッダ情報を常時更新すること
を特徴とするメモリカードの記憶管理方式。
2. The method according to claim 1, wherein the control unit has a storage unit that rewritably stores the header information, and the control unit has a second time point different from the first time point. so,
The header information contained in the most recently written recording area of the plurality of header recording areas is read out from the plurality of header recording areas and accumulated in the storage means, and the header information accumulated in the storage means is read out. A memory card storage management method characterized by constantly updating.
【請求項3】 初期化において所定の論理状態に記録が
消去されこれに情報が追加的に書き込まれるEEPROMの記
憶領域を有するメモリカードの記憶管理方式において、
該方式は、 前記記憶領域に設けられ、画像情報の記憶に係る管理情
報の少なくとも一部を含むヘッダ情報が記録されるヘッ
ダ記録領域と、 該ヘッダ記録領域が形成される前記記憶領域における記
憶位置を追加的に指示する複数の記憶位置指示領域と、 前記記憶領域に設けられ、前記複数の記憶位置指示領域
のうち最新に指示が追加された領域を指示する指示手段
と、 前記画像情報を前記記憶領域に書き込み、第1の時点
で、前記指示手段に基づいて前記複数の記憶位置指示領
域における最新に指示が追加された領域を参照し、該参
照された記憶位置指示領域の指示する前記記憶領域にお
ける位置を導出し、該導出された位置の前記ヘッダ記録
領域に前記画像情報に関するヘッダ情報を書き込む制御
手段とを含むことを特徴とするメモリカードの記憶管理
方式。
3. A storage management system for a memory card having an EEPROM storage area in which a record is erased to a predetermined logical state in initialization and information is additionally written to this,
The method includes a header recording area provided in the storage area, in which header information including at least a part of management information for storing image information is recorded, and a storage position in the storage area in which the header recording area is formed. A plurality of storage position indicating areas for additionally instructing, and an instructing unit provided in the storage area for instructing an area to which the latest instruction is added among the plurality of storage position indicating areas; Writing to a storage area, at the first point of time, referring to the area of the plurality of storage position pointing areas to which the latest instruction has been added, based on the pointing means, the storage indicated by the referenced storage position pointing area And a control unit for deriving a position in the area and writing header information relating to the image information in the header recording area at the derived position. Memory management method of the.
【請求項4】 請求項3に記載の方式において、前記ヘ
ッダ記録領域は、 前記ヘッダ情報がそれぞれ記録される第1の複数の記録
領域と、 第1の複数の記録領域のそれぞれについて空塞を表示す
る第2の記録領域とを含み、 前記制御手段は、第1の時点で、前記画像情報に関する
ヘッダ情報を第1の複数の記録領域のうち第2の記録領
域の示す空きの記録領域に書き込み、第2の記録領域に
おける該書き込んだ第1の記録領域に対応する表示を塞
がり表示にすることを特徴とするメモリカードの記憶管
理方式。
4. The method according to claim 3, wherein the header recording area has a first plurality of recording areas in which the header information is recorded and a blank area is filled in each of the first plurality of recording areas. And a second recording area to be displayed, wherein the control means, at a first time point, stores header information relating to the image information in an empty recording area indicated by the second recording area among the first plurality of recording areas. A storage management method for a memory card, characterized in that a display corresponding to the written first recording area in the second recording area is closed and displayed.
【請求項5】 請求項4に記載の方式において、 前記制御手段は、前記ヘッダ情報を書換え可能に蓄積す
る記憶手段を有し、 前記制御手段は、第1の時点とは異なる第2の時点で、
前記指示手段の指示および第2の記録領域の表示に基づ
いて第1の複数の記録領域のうちの最新に書き込まれた
記録領域からそれに含まれるヘッダ情報を読み出して前
記記憶手段に蓄積し、該記憶手段に蓄積されているヘッ
ダ情報を常時更新することを特徴とするメモリカードの
記憶管理方式。
5. The method according to claim 4, wherein the control unit has a storage unit that rewritably stores the header information, and the control unit has a second time point different from the first time point. so,
Based on the instruction of the instructing means and the display of the second recording area, the header information included in the most recently written recording area of the first plurality of recording areas is read out and stored in the storage means. A memory card storage management method characterized by constantly updating header information accumulated in a storage means.
JP3244099A 1991-08-30 1991-08-30 Memory card storage management method Expired - Fee Related JP3070994B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3244099A JP3070994B2 (en) 1991-08-30 1991-08-30 Memory card storage management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3244099A JP3070994B2 (en) 1991-08-30 1991-08-30 Memory card storage management method

Publications (2)

Publication Number Publication Date
JPH0561760A true JPH0561760A (en) 1993-03-12
JP3070994B2 JP3070994B2 (en) 2000-07-31

Family

ID=17113741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3244099A Expired - Fee Related JP3070994B2 (en) 1991-08-30 1991-08-30 Memory card storage management method

Country Status (1)

Country Link
JP (1) JP3070994B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62285400A (en) * 1986-06-03 1987-12-11 住友重機械工業株式会社 Incident apparatus of magentic resonance type accelerator
EP1094407A2 (en) * 1999-09-24 2001-04-25 Sony Corporation Apparatus, method, and system for reading/writing data, and storage medium for a data read/write program
US6427049B2 (en) 1993-08-09 2002-07-30 Ricoh Company, Ltd. Electronic still camera
US6750908B1 (en) 1994-02-03 2004-06-15 Canon Kabushiki Kaisha Image processing apparatus using recording medium which needs data erasing processing before recording of data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62285400A (en) * 1986-06-03 1987-12-11 住友重機械工業株式会社 Incident apparatus of magentic resonance type accelerator
US6427049B2 (en) 1993-08-09 2002-07-30 Ricoh Company, Ltd. Electronic still camera
US6750908B1 (en) 1994-02-03 2004-06-15 Canon Kabushiki Kaisha Image processing apparatus using recording medium which needs data erasing processing before recording of data
EP1094407A2 (en) * 1999-09-24 2001-04-25 Sony Corporation Apparatus, method, and system for reading/writing data, and storage medium for a data read/write program
EP1094407A3 (en) * 1999-09-24 2003-01-02 Sony Corporation Apparatus, method, and system for reading/writing data, and storage medium for a data read/write program
US6810441B1 (en) 1999-09-24 2004-10-26 Sony Corporation Apparatus, method and system for reading/writing data, and medium for providing data read/write program

Also Published As

Publication number Publication date
JP3070994B2 (en) 2000-07-31

Similar Documents

Publication Publication Date Title
JP4085478B2 (en) Storage medium and electronic device system
JP2675429B2 (en) Data management method for memory card
EP0712067B1 (en) Flash disk card
US7227788B2 (en) Memory management device and memory device
KR100871027B1 (en) Data recorder and method for recording data in flash memory
JP4356686B2 (en) Memory device and memory control method
JP4268396B2 (en) Non-volatile memory device file management that can be programmed once
US5724544A (en) IC memory card utilizing dual eeproms for image and management data
KR20050119085A (en) Method of writing on a flash memory
US5689303A (en) Electronic still camera utilizing updatable frame catena information to maintain frame sequence
US5829014A (en) Method of supervising storage of data in a memory card having EEPROM and a memory card system using the same
JPH11144478A (en) Information storage method of nonvolatile semiconductor memory and electronic apparatus
JP3070994B2 (en) Memory card storage management method
JPH09171486A (en) Pc card
JP2584120B2 (en) Data recording method in memory card and memory card system
JPH0695955A (en) Flash file system
JPH05150913A (en) Silicon disk with flash memory as storage medium
JP2635448B2 (en) Data recording method in memory card and memory card system
EP0492450A2 (en) Memory card having an eeprom
JPH04147495A (en) Data recording method in ic memory card and ic memory card system
JPH04307647A (en) Memory card storage control system
JP4710274B2 (en) MEMORY DEVICE, MEMORY DEVICE CONTROL METHOD, AND DATA PROCESSING SYSTEM
JPH07320017A (en) Ic memory card
JP3552247B2 (en) Electronic still camera
JP3166659B2 (en) Storage device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000509

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080526

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090526

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090526

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100526

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110526

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees