[go: up one dir, main page]

JPH05173871A - Memory card file management method - Google Patents

Memory card file management method

Info

Publication number
JPH05173871A
JPH05173871A JP3342988A JP34298891A JPH05173871A JP H05173871 A JPH05173871 A JP H05173871A JP 3342988 A JP3342988 A JP 3342988A JP 34298891 A JP34298891 A JP 34298891A JP H05173871 A JPH05173871 A JP H05173871A
Authority
JP
Japan
Prior art keywords
packet
memory card
area
cluster
usage information
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
JP3342988A
Other languages
Japanese (ja)
Inventor
Tetsuya Hashimoto
徹也 橋本
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3342988A priority Critical patent/JPH05173871A/en
Publication of JPH05173871A publication Critical patent/JPH05173871A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To execute the same management method at both times when a memory card is SRAM and flash in a system file-managing with a packet cluster using information area. CONSTITUTION:The area of packet cluster using information (0) consists of a tuple ID 1, a pointer 2 and a packet cluster using information 3. When the memory card is flash, the area of the piece of packet cluster using information (0) is updated into a new area chaining with a tuple chain by each packet so that the file management method of SRAM/flash memory card are made to be the same.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタルスチルビデオ
カメラ(DSVC)におけるメモリカードファイル管理方
法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory card file management method in a digital still video camera (DSVC).

【0002】[0002]

【従来の技術】従来、デジタルスチルビデオカメラにお
けるメモリカードの管理方法は、通常メモリカードの記
録領域をファイル管理領域とデータ領域に分け、ファイ
ル管理領域にそれぞれのファイル情報やクラスタの管理
情報などを記録しファイル管理を行なっている。このメ
モリカードのファイル管理方法では、ファイル管理領域
にパケット・クラスタ使用情報として使用クラスタ数,
残留クラスタ数,最終使用パケット番号,先頭未使用ク
ラスタ番号を記録する領域をもっており、ファイル記
録,ファィル消去ごとにこれらのパケット・クラスタ使
用情報を書き換えてファイル管理を効率的に行ってい
る。
2. Description of the Related Art Conventionally, in a memory card management method for a digital still video camera, a recording area of a normal memory card is divided into a file management area and a data area, and file information and cluster management information are stored in the file management area. Records and manages files. In this file management method for the memory card, the number of clusters used in the file management area as packet cluster usage information,
It has an area for recording the number of remaining clusters, the number of last used packets, and the number of unused clusters at the beginning. The file / cluster usage information is rewritten every time a file is recorded or a file is erased to efficiently manage the file.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、スター
ティックランダムアクセスメモリ(SRAM)カードでは
バイト単位の消去が可能なのでパケット・クラスタ使用
情報の更新ができるが、フラッシュメモリのメモリカー
ドではバイト単位の消去ができないので、このパケット
・クラスタ使用情報をSRAMと同じシステムでファイ
ル管理ができないという問題があった。本発明は上記従
来の問題を解決するものであり、フラッシュメモリカー
ドでもSRAMでも同じシステムで管理することができ
るメモリカード管理方法を提供することを目的とするも
のである。
However, since the static random access memory (SRAM) card can be erased in byte units, the packet cluster usage information can be updated, but the flash memory memory card can be erased in byte units. Therefore, there is a problem in that the packet cluster usage information cannot be file-managed in the same system as the SRAM. The present invention solves the above-mentioned conventional problems, and an object of the present invention is to provide a memory card management method capable of managing both a flash memory card and an SRAM in the same system.

【0004】[0004]

【課題を解決するための手段】本発明は上記目的を達成
するために、メモリカード内のパケット・クラスタの使
用情報として、メモリカードの記録領域に残留クラスタ
数,使用クラスタ数,最終使用パケット番号,先頭未使
用クラスタ番号等を記録してファイル管理し、メモリカ
ードがフラッシュのときは、上記パケット・クラスタ使
用情報領域をパケット記録毎に、タプル連鎖で連鎖して
いる新たな領域に更新するようにしたものである。
In order to achieve the above object, the present invention uses, as usage information of packet clusters in a memory card, the number of remaining clusters, the number of used clusters, and the last used packet number in the recording area of the memory card. , The head unused cluster number etc. is recorded and the file is managed, and when the memory card is a flash, the above-mentioned packet / cluster usage information area is updated to a new area linked by a tuple chain for each packet recording. It is the one.

【0005】[0005]

【作用】したがって本発明によれば、メモリカードのフ
ァイル管理情報のパケット・クラスタ使用情報の領域
を、カードがフラッシュならばパケット記録毎にタプル
連鎖で新たな領域へ更新することにより、SRAMカー
ドおよびフラッシュカードを同じファイル管理システム
で行うことができる。
According to the present invention, therefore, the area of the packet / cluster usage information of the file management information of the memory card is updated to a new area by a tuple chain for each packet recording if the card is a flash, so that the SRAM card and Flash cards can be done with the same file management system.

【0006】[0006]

【実施例】図1は本発明の一実施例におけるパケット・
クラスタ使用情報の記録領域を示したものである。図1
において、1はタプルID(識別子)、2はポインタ、3
はパケット・クラスタ使用情報の領域であって、上記1
〜3でパケット・クラスタ使用情報(0)を構成する。4
はパケット・クラスタ使用情報(1)、5はパケット・ク
ラスタ使用情報(2)の記録領域である。新たなパケット
が記録されて、制御装置(図示せず)がパケット・クラス
タ情報を更新するときは、パケット・クラスタ情報のタ
プルIDを検索して、カードがSRAMならばポインタ
が16進数のFFでタプル連鎖終了なので、この領域毎に
パケット・クラスタ情報を更新し、カードがフラッシュ
の場合は、ポインタが次のパケット・クラスタ使用情報
領域の先頭を指しており、このポインタが指しているの
が、パケット・クラスタ使用情報のタプルIDならば、
また次のポインタの指すタプルIDを読む、このように
タプル連鎖で検索して行き、もしポインタの指すタプル
IDがパケット・クラスタ使用情報のタプルIDでなけ
れば、その領域に新たなパケット・クラスタ使用情報を
書き込む。このようにしてフラッシュカードのパケット
・クラスタ使用情報の更新は、パケット記録毎に次の領
域に書き込む。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows a packet
It shows a recording area of cluster usage information. Figure 1
, 1 is a tuple ID (identifier), 2 is a pointer, 3
Is an area of packet cluster usage information, and
The packet cluster usage information (0) is composed of 3 to 3. Four
Is a recording area of packet cluster usage information (1) and 5 is a recording area of packet cluster usage information (2). When a new packet is recorded and the controller (not shown) updates the packet cluster information, the tuple ID of the packet cluster information is searched, and if the card is SRAM, the pointer is a hexadecimal FF. Since the tuple chain ends, the packet cluster information is updated for each area, and if the card is a flash, the pointer points to the beginning of the next packet cluster usage information area, and this pointer points to If it is a tuple ID of packet cluster usage information,
Also, the tuple ID pointed to by the next pointer is read, and the tuple chain is searched in this way. If the tuple ID pointed by the pointer is not the tuple ID of the packet cluster use information, a new packet cluster is used in that area. Write information. In this way, the update of the packet / cluster usage information of the flash card is written in the next area for each packet recording.

【0007】[0007]

【発明の効果】本発明は上記実施例から明らかなよう
に、メモリカードのファイル管理情報のパケット・クラ
スタ使用情報の領域を、カードがフラッシュならばパケ
ット記録毎にタプル連鎖で新たな領域へ更新することに
より、SRAMカードおよびフラッシュカードを同じフ
ァイル管理方法で効率的にファイル管理を行うことがで
きるという効果を有する。
As is apparent from the above embodiment, the present invention updates the area of the packet / cluster usage information of the file management information of the memory card to a new area by tuple chain for each packet recording if the card is a flash. By doing so, it is possible to efficiently manage files in the SRAM card and the flash card using the same file management method.

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

【図1】本発明の一実施例におけるパケット・クラスタ
使用情報の記録領域を示した図である。
FIG. 1 is a diagram showing a recording area of packet cluster usage information in an embodiment of the present invention.

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

1…タプルID、 2…ポインタ、 3…パケット・ク
ラスタ使用情報、 4…パケット・クラスタ使用情報
(1)、 5…パケット・クラスタ使用情報(2)。
1 ... Tuple ID, 2 ... Pointer, 3 ... Packet cluster usage information, 4 ... Packet cluster usage information
(1), 5 ... Packet cluster usage information (2).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 メモリカード内のパケット・クラスタの
使用情報として、メモリカードの記録領域に残留クラス
タ数,使用クラスタ数,最終使用パケット番号,先頭未
使用クラスタ番号等を記録するパケット・クラスタ使用
情報領域によりファイル管理を行うファイル管理システ
ムにおいて、メモリカードがフラッシュのときは、前記
パケット・クラスタ使用情報領域をパケット記録毎に、
タプル連鎖で連鎖している新たな領域に更新することに
より、スターティックランダムアクセスメモリ(SRA
M)カードとフラッシュメモリカードを同じシステムで
ファイル管理を行うことを特徴とするメモリカードファ
イル管理方法。
1. Packet cluster usage information for recording the number of remaining clusters, the number of used clusters, the last used packet number, the first unused cluster number, etc. in the recording area of the memory card as the packet cluster usage information in the memory card. In a file management system that manages files by area, when the memory card is a flash, the packet / cluster usage information area is set for each packet recording,
The static random access memory (SRA) is updated by updating to a new area linked by tuple chain.
M) A memory card file management method characterized in that files are managed in the same system for the card and the flash memory card.
JP3342988A 1991-12-25 1991-12-25 Memory card file management method Pending JPH05173871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3342988A JPH05173871A (en) 1991-12-25 1991-12-25 Memory card file management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3342988A JPH05173871A (en) 1991-12-25 1991-12-25 Memory card file management method

Publications (1)

Publication Number Publication Date
JPH05173871A true JPH05173871A (en) 1993-07-13

Family

ID=18358070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3342988A Pending JPH05173871A (en) 1991-12-25 1991-12-25 Memory card file management method

Country Status (1)

Country Link
JP (1) JPH05173871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5633824A (en) * 1995-03-30 1997-05-27 Nec Corporation File system for flash memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5633824A (en) * 1995-03-30 1997-05-27 Nec Corporation File system for flash memory

Similar Documents

Publication Publication Date Title
JP2002123421A (en) Remapping control method for flash memory and structure for flash memory therefor
JPH05313980A (en) Information recording method
CN1890645B (en) Data processing device and data recording method for information recording medium
JPH11144478A (en) Information storage method for nonvolatile semiconductor memory and electronic device
JP2005196609A (en) Information recording format and information recording medium
JP2553751B2 (en) Disk sector replacement method
JPH05173871A (en) Memory card file management method
JP2985385B2 (en) Image data retrieval system
JPH05258585A (en) Filing device
JP3061385B2 (en) Data management device and data management method
JP4443705B2 (en) Data filing system and data filing method
JPH02132516A (en) System and method for write enable type optical disk controlling
JPH06266587A (en) File management system for flash memory
JPH05113922A (en) Data storage device
JPS63173270A (en) Data set area management method for write-once storage device
JPH0283639A (en) File creation control method
JPH0668182A (en) Drawing version number management system using optical card
JPH06222965A (en) Managing method for circulation sequential organized file
JPH02253450A (en) File managing method and file editing method
JPS61145658A (en) Index order editing file device
KR20050024322A (en) Method for restoring administrative data records of a memory that can be erased in blocks
JPS62177642A (en) File management system for postscript filing device
JPH04361371A (en) Image data retrieval system
JPS63255732A (en) High speed picture display device
JP2004126945A (en) Storage device and control method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees