JP3839856B2 - Data processing device - Google Patents

Data processing device Download PDF

Info

Publication number
JP3839856B2
JP3839856B2 JP02533394A JP2533394A JP3839856B2 JP 3839856 B2 JP3839856 B2 JP 3839856B2 JP 02533394 A JP02533394 A JP 02533394A JP 2533394 A JP2533394 A JP 2533394A JP 3839856 B2 JP3839856 B2 JP 3839856B2
Authority
JP
Japan
Prior art keywords
data
area
recording medium
recording
erased
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 - Fee Related
Application number
JP02533394A
Other languages
Japanese (ja)
Other versions
JPH07236108A (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.)
Canon Inc
Original Assignee
Canon Inc
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
Priority to JP02533394A priority Critical patent/JP3839856B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to DE69526749T priority patent/DE69526749D1/en
Priority to EP01117462A priority patent/EP1168815B1/en
Priority to DE69535301T priority patent/DE69535301T2/en
Priority to EP19950102520 priority patent/EP0669751B1/en
Priority to DE69536159T priority patent/DE69536159D1/en
Priority to EP06123957A priority patent/EP1761032B1/en
Publication of JPH07236108A publication Critical patent/JPH07236108A/en
Priority to US08/994,872 priority patent/US6750908B1/en
Application granted granted Critical
Publication of JP3839856B2 publication Critical patent/JP3839856B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明は記録前にデータ消去動作が必要な記録媒体を用いてデータ処理を行うデータ処理装置にかかわり、特に、前記記録媒体のデータ消去処理に関するものである。
【0002】
【従来の技術】
従来、固体メモリ素子を有するメモリカードを記録媒体として、静止画像を記録自在な電子スチルカメラはすでに市販されており、また、メモリカードを使用可能な電子手帳、携帯型コンピュータ等も市販されている。
【0003】
このようなメモリカードには読み出し、消去、書き込みが可能なフラッシュメモリが多く使用されている。
【0004】
【発明が解決しようとする課題】
フラッシュメモリは読み出し、書き込みはランダムに可能であるが、記録前にデータの消去動作が必要である。具体的に言うと、フラッシュメモリはオーバーライトしてデータを書くとそのデータは再生不能になったしまうため、今回新たなデータを記録する領域に記録されていた前のデータを消去してから前記新たなデータを記録しなければならない。
【0005】
尚、このような記録前に消去動作が必要な記録媒体はフラッシュメモリだけに限らず、例えばEEPROM、光磁気ディスク等がある。
【0006】
従って、記録前に消去動作が必要な記録媒体を用いた装置、例えば電子スチルカメラを想定した場合、まず、記録可能な領域のデータ消去を行い、この後、撮影した画像データの記録を行うという処理動作が必要となる。
【0007】
従って、撮影の合間に時間がかかり撮影タイミングを逃してしまうという問題が生じる。このような記録タイミングの問題は記録前に消去動作が必要な記録媒体を用いた記録装置にはどれでも生じる。
【0008】
本願発明は斯かる背景化に於て、記録前に消去動作が必要な記録媒体を用いる装置において、情報データの記録動作に支障を与えることがないように処理を行うデータ処理装置を提供することを目的とする。また、本発明の他の目的及び特徴は以下の明細書及び図面より明らかとなるであろう。
【0009】
【課題を解決するための手段】
本願に斯かる目的下にその一つの発明として、情報データを入力する入力手段と、物理的にデータが存在しない領域に対して情報データの記録が可能で、かつ情報データの記録状況を示す管理データが記録される管理データ領域を有する記録媒体に、前記入力手段によって入力された情報データを一旦メモリに記憶した後に記録する記録手段と、前記記録媒体から情報データを消去する消去手段と、前記記録媒体は装置に対して着脱自在であり、前記記録媒体が前記装置に装着された時、前記消去手段に対して前記記録媒体上の管理データ領域の管理データに基づいて前記記録媒体上の論理的にデータ消去されている領域を物理的にデータ消去するように制御する制御手段とを有し、前記制御手段は、前記記憶媒体上に前記メモリの記憶容量分のデータ未記録領域が確保できるように論理的にデータ消去されている領域を物理的にデータ消去することを特徴とするデータ処理装置を提示するものである。
【0010】
【作用】
上記発明によれば、従来のように記録時に消去に費やす時間を省くことができ、所望のタイミングで情報データの記録を可能にすることができる。
【0011】
【実施例】
以下、本発明にかかる実施例として電子スチルカメラを例にとって説明する。
【0012】
図1は本発明にかかる実施例の電子スチルカメラのブロック図である。
【0013】
図1において、1はレンズ、2はシャッタ、3は撮像素子、4は撮像素子3より出力される画像信号に、各種の補正、クランプ等を行う信号処理回路、5は信号処理回路4より出力される画像信号のアナログ−デジタル変換を行うA/D変換回路、6は画像データを少なくとも1枚分、一時的に記憶する為のメモリー部、7は画像データの記録又は読み出しを行うための半導体メモリー等の着脱可能な記録媒体、8は画像データの伝送の制御及びメモリー部6の制御を行うメモリー制御回路、9は画像データを外部のコンピュータ等(図示せず)に伝送する為のデジタルI/F部、10は撮像素子3、A/D変換回路5、メモリー制御回路7に各種タイミング信号を出力するタイミング発生回路、11は装置全体を制御するシステム制御回路、12はシステム制御回路11内に設けられている各種データを記憶する為のRAMである。
【0014】
上記のように構成された電子スチルカメラの動作を以下に説明する。
【0015】
図2は図1のように構成された電子スチルカメラの撮影から記録までの処理動作を説明するフローチャートである。
【0016】
不図示の操作スイッチ等により記録命令がシステム制御回路に入力されるとフローがスタートする。
【0017】
ステップS10ではシャッタ2を駆動して露光を行う。次に、ステップS11では撮像素子3より画像信号を読み出す。ステップS12では読み出された画像信号に対して信号処理回路4により色補正及び所定の処理が施される。ステップS13では信号処理回路4により処理された画像信号をA/D変換回路5によりA/D変換する。
【0018】
ステップS14ではステップS13でデジタル変換処理された画像信号をメモリー制御回路8を介してメモリー部6に記憶する。
【0019】
次に、ステップS15ではメモリー部6に記憶された画像データはメモリー制御回路8を介して記録媒体7に記録される。
【0020】
以下、記録媒体7への画像データの記録方式について説明する。
【0021】
図3は記録媒体のデータ領域を説明する図である。
【0022】
図3において、第1からn領域はそれぞれ1枚の画像データ領域を示す。ここで、実際には一連の画像データが点在している場合、あるいは画像データの圧縮率によるデータ量の違い、あるいは画像データ以外のデータとの混在等が考えられるが、ここでは説明の簡略化の為にそれぞれデータサイズが所定の同一の画像データのみが記録されているものとする。尚、これによって本発明が制限されるものではない。
【0023】
a領域は管理データ領域を示し、画像データ領域の記録状況(記録、未記録の有無)、データサイズ、各データの記録日時、各データの記録位置等を示す管理データが記録される管理データ領域である。
【0024】
以下、記録媒体7の記録及び消去動作を説明する。
【0025】
図4は記録媒体7の記録及び消去動作を説明するフローチャートである。
【0026】
図4において、記録媒体7が本体に新たに装着されるか、あるいは電源投入されて記録媒体が装着されているとフローがスタートする。尚、装着動作の検出はカメラ本体側が記録媒体7と通信を行って判定している。
【0027】
ステップS20では装着されている記録媒体の管理データ領域の検索を行い、画像データ領域の記録状況、即ち記録済領域、消去済未記録領域、記録許可領域をシステム制御回路11内のRAM12に記憶する。
【0028】
尚、消去済未記録領域とは記録媒体7の所定の記録領域の画像データが物理的に消去されている領域である。また、記録許可領域とは論理的に画像データが消去されている領域で、この領域は物理的消去を行っていないので前のデータが残っている領域である。
【0029】
ステップS21では管理データ領域の検索により、全領域未記録、即ち未使用である記録媒体7が装着されているかどうかを判断する。
【0030】
未使用な記録媒体7が装着されている時はステップS24に進み、未使用な記録媒体でない場合はステップS22へ進む。
【0031】
ステップS24では記録媒体7の全画像データ領域の消去を行い、ステップS26へ進む。
【0032】
ステップS22では装着されている記録媒体7が少なくとも1枚のスチル画像を記録できる容量を有するかどうかを判断する。
【0033】
少なくとも1枚のスチル画像を記録可能な記録媒体が装着されていた場合は、ステップS23へ進み、1枚もスチル画像を記録することができない記録媒体が装着されている時はステップS25へ進む。
【0034】
ステップS25では撮影者に記録不可能であること、記録媒体を交換することを示す警告を所定時間行ってフローを終了する。
【0035】
ステップS23では記録許可領域(論理的に消去されている領域)の物理的消去を行う。この時の消去する単位としては未記録領域と今回記録許可領域の物理的消去を行う領域とを合わせて所定の記録容量分を確保できるように前記記録許可領域を消去し、ステップS26へ進む。
【0036】
尚、所定の記録容量として例えば、メモリー部6の記憶容量分、メモリー部6に記憶できる最大枚数の記憶容量分、予め設定した記憶容量分、予め設定した枚数の容量分等である。また、全ての記録許可領域を消去してもよい。また、所定の記録容量を確保できるほど記録媒体に記録できる容量がない場合、確保できる容量分の消去を行う。この消去を実行するタイミングは記録媒体が電子カメラに装着されて、あるいは電源投入後、所定時間経過後自動的に実行する。また、消去する必要がない時(記録許可領域がない場合等)はもちろん消去動作は行わない。
【0037】
ステップS26では記録許可領域の消去に伴うRAM12、記録媒体7の管理データ領域の更新を行う。
【0038】
不図示のスイッチ等の入力により記録命令が成されるとステップS27へ進み、撮影動作を行い、一旦メモリー部6に記憶された後、撮影された画像データを記録媒体7内の画像データ領域の(消去済)未記録領域に記録する。
【0039】
ステップS28では撮影記録が終了すると、撮影記録にともなうRAM12、記録媒体7の管理データ領域のデータを更新する。
【0040】
ステップS29ではRAM12に記憶された画像データ領域の記録状況を検索して、記録媒体7に少なくとも1枚のスチル画像を記録できるかどうかを判断する。
【0041】
少なくとも1枚のスチル画像を記録可能である場合は、ステップS30へ進み、1枚もスチル画像を記録することができない場合は上述したステップS25へ進む。
【0042】
ステップS30では記録許可領域(論理的に消去されている領域)の物理的消去を行う。この時の消去する単位としては未記録領域と今回記録可能領域の消去する領域とを合わせて所定の記録容量を確保するように前記記録可能領域を消去し、ステップS31へ進む。
【0043】
尚、所定の記録容量として例えば、メモリー部6の記憶容量分、メモリー部6に記憶できる最大枚数の記憶容量分、予め設定した記憶容量分、予め設定した枚数の容量分等である。また、全ての記録許可領域を消去してもよい。また、所定の記録容量を確保できるほど記録媒体に記録できる容量がない場合、確保できる容量分の消去を行う。また、前記記録許可領域を消去しなくても前記所定の記録容量が確保できている時はもちろん消去動作を行う必要はない。また、この消去を実行するタイミングは撮影動作が終了して所定時間各種動作命令が入力されない場合自動的に実行する。
【0044】
ステップS31では記録可能領域の消去に伴うRAM12、記録媒体7の管理データ領域の更新を行いステップS27に戻る。
【0045】
以下、消去中(例えば図4のステップS23,S24,S30の処理中)に不図示のスイッチ等の入力により記録命令がなされた場合の処理動作を図5のフローチャートを参照しながら説明する。
【0046】
図5は消去中に撮影命令が入力された時の処理動作を説明するフローチャートである。
【0047】
図5において、記録媒体消去中に記録命令が入力されるとフローがスタートする。
【0048】
ステップS30では消去動作を一時中断して撮影動作を行い画像データはメモリー部6に記憶される。
【0049】
次に、ステップS31では記録媒体7に少なくとも1枚分の画像データを記録できる領域(物理的に消去されている領域)が存在するかどうかを判別する。
【0050】
存在しない場合はステップS32へ進み、存在する場合はステップS33へ進む。
【0051】
ステップS32では記録媒体7の記録許可領域の消去処理を行う。
【0052】
ステップS33ではメモリー部6から画像データを読み出して消去済領域に記録する。
【0053】
尚、本実施例では消去されていない場合、記録媒体7の消去と記録を独立して行うようにしたが、これを交互に行ってもよい。すなわち、1枚分の画像データの領域を更に所定領域に分割し、この領域を1単位として消去、記録を交互に行って記録媒体7に記録してもよい。
【0054】
以下に示すような場合に以下のような記録媒体7の消去処理を行うと更に使い勝手が良い。
▲1▼不図示のスイッチ等の入力により所定画像データのイレース命令が入力された場合
不図示のスイッチ等の入力により所定画像データのイレース命令が入力されるとその画像データ領域に対応する管理データ領域に所定のデータを書き込むことによってこの画像データがイレースされたものとする(論理的消去)。これをもってこの領域を記録許可領域とする。
【0055】
ここで、前記画像データは実際に消去されたわけではないので、これを再び復活させることは可能である。すなわち、管理データ領域に書き込んだ所定のデータをもとに戻すことにより復活できる。
【0056】
そして、システム制御回路11は前記イレース動作より計時を行い所定時間経過した記録許可領域の画像データを自動的に消去する(物理的消去)。
【0057】
尚、論理的消去、物理的消去を行った時はRAN12,記録媒体7の管理データを更新することはもちろんである。
【0058】
▲2▼装置がバッテリー電源により動作している場合
前記バッテリーの電圧が所定の電圧以上の場合には前記した所定容量分の未記録領域を確保するために記録媒体の消去(物理的消去)を行い、所定の電圧よりも低い場合には前記所定容量よりも少ない容量分の消去を行う。つまり、バッテリの電圧に応じて記録媒体7に確保する未記録領域の容量を変える。
【0059】
▲3▼圧縮率を切換えて画像データを圧縮する場合
圧縮率に応じて記録媒体に確保する未記録領域の容量を変化させる。
【0060】
尚、上記各実施例では電子スチルカメラを例にとって説明してきたがそれに限るものではない。つまり、前述の実施例はあらゆる点で単なる例示に過ぎず、限定的に解釈してはならない。
【0061】
【発明の効果】
以上説明したように本願発明によれば、物理的にデータが存在しない領域に対してデータ記録が可能な記録媒体を用いる装置において、前記記録媒体が装置に装着された時、記憶媒体上にバッファメモリの記憶容量分のデータ未記録領域が確保できるように論理的にデータ消去されている領域を物理的にデータ消去するようにしたので、従来のように記録時にデータ消去に費やす時間を省くことができ、所望のタイミングで情報データの記録を可能にすることができると共に前記記録媒体に対して装置に最適な、無駄のない消去動作を実行できます。
【図面の簡単な説明】
【図1】本発明にかかる第1の実施例の電子スチルカメラのブロック図である。
【図2】図1のように構成された電子スチルカメラの撮影から記録までの処理動作を説明するフローチャートである。
【図3】記録媒体7のデータ領域を説明する図である。
【図4】記録媒体7の記録及び消去動作を説明するフローチャートである。
【図5】消去中に撮影命令が入力された時の処理動作を説明するフローチャートである。
【符号の説明】
1 レンズ
2 シャッター
3 撮像素子
6 メモリー部
7 記録媒体
8 メモリー制御回路
11 システム制御回路
12 RAM
[0001]
[Industrial application fields]
The present invention relates to a data processing apparatus that performs data processing using a recording medium that requires a data erasing operation before recording, and more particularly to data erasing processing of the recording medium.
[0002]
[Prior art]
Conventionally, electronic still cameras capable of recording still images using a memory card having a solid-state memory element as a recording medium are already on the market, and electronic notebooks and portable computers that can use the memory card are also commercially available. .
[0003]
Many flash memories that can be read, erased, and written are used for such memory cards.
[0004]
[Problems to be solved by the invention]
The flash memory can be read and written randomly, but a data erasing operation is required before recording. Specifically, when the flash memory is overwritten and the data is written, the data becomes unreproducible. Therefore, the previous data recorded in the area where new data is recorded is erased before the data is written. New data must be recorded.
[0005]
Note that the recording medium that requires an erasing operation before recording is not limited to the flash memory, but includes, for example, an EEPROM, a magneto-optical disk, and the like.
[0006]
Therefore, when an apparatus using a recording medium that requires an erasing operation before recording, such as an electronic still camera, is assumed, first the data in the recordable area is erased, and then the captured image data is recorded. Processing action is required.
[0007]
Accordingly, there arises a problem that it takes a long time between photographing and misses the photographing timing. Such a recording timing problem occurs in any recording apparatus using a recording medium that requires an erasing operation before recording.
[0008]
In this background, the present invention provides a data processing apparatus that performs processing so as not to hinder the recording operation of information data in an apparatus that uses a recording medium that requires an erasing operation before recording. With the goal. Other objects and features of the present invention will become apparent from the following specification and drawings.
[0009]
[Means for Solving the Problems]
As one of the inventions for this purpose, there is an input means for inputting information data, and management that can record information data in an area where no data physically exists and indicates the recording status of the information data. A recording medium having a management data area in which data is recorded, a recording means for recording the information data input by the input means once stored in a memory, an erasing means for erasing the information data from the recording medium, and The recording medium is detachable from the apparatus, and when the recording medium is attached to the apparatus, the logical medium on the recording medium is determined based on the management data in the management data area on the recording medium with respect to the erasing means. Control means for physically erasing the data-erased area, and the control means has a storage capacity of the memory on the storage medium. It is intended to present data processing apparatus, wherein the data unrecorded area is physically data erased area being logically erasing data so as to ensure.
[0010]
[Action]
According to the above-described invention, it is possible to save time for erasing at the time of recording as in the prior art, and it is possible to record information data at a desired timing.
[0011]
【Example】
Hereinafter, an electronic still camera will be described as an example according to the present invention.
[0012]
FIG. 1 is a block diagram of an electronic still camera according to an embodiment of the present invention.
[0013]
In FIG. 1, 1 is a lens, 2 is a shutter, 3 is an image sensor, 4 is a signal processing circuit that performs various corrections, clamps, etc. on an image signal output from the image sensor 3, and 5 is an output from the signal processing circuit 4. A / D conversion circuit that performs analog-digital conversion of the image signal to be generated, 6 is a memory unit for temporarily storing at least one image data, and 7 is a semiconductor for recording or reading image data A removable recording medium such as a memory, 8 is a memory control circuit for controlling transmission of image data and the memory unit 6, and 9 is a digital I for transmitting image data to an external computer or the like (not shown). / F section, 10 is a timing generation circuit that outputs various timing signals to the image sensor 3, A / D conversion circuit 5, and memory control circuit 7, and 11 is a system control circuit that controls the entire apparatus. 12 is a RAM for storing various data provided to the system control circuit 11.
[0014]
The operation of the electronic still camera configured as described above will be described below.
[0015]
FIG. 2 is a flowchart for explaining processing operations from photographing to recording by the electronic still camera configured as shown in FIG.
[0016]
When a recording command is input to the system control circuit by an operation switch (not shown) or the like, the flow starts.
[0017]
In step S10, the shutter 2 is driven to perform exposure. Next, in step S <b> 11, an image signal is read from the image sensor 3. In step S12, the signal processing circuit 4 performs color correction and predetermined processing on the read image signal. In step S 13, the image signal processed by the signal processing circuit 4 is A / D converted by the A / D conversion circuit 5.
[0018]
In step S14, the image signal digitally converted in step S13 is stored in the memory unit 6 via the memory control circuit 8.
[0019]
In step S 15, the image data stored in the memory unit 6 is recorded on the recording medium 7 via the memory control circuit 8.
[0020]
Hereinafter, a method of recording image data on the recording medium 7 will be described.
[0021]
FIG. 3 is a diagram for explaining the data area of the recording medium.
[0022]
In FIG. 3, each of the first to n regions represents one image data region. Here, when a series of image data is actually scattered, a difference in the amount of data depending on the compression rate of the image data, or a mixture with data other than the image data can be considered. It is assumed that only the same image data having a predetermined data size is recorded for the purpose of conversion. Note that the present invention is not limited thereby.
[0023]
An area a represents a management data area, and management data area in which management data indicating the recording status (recorded / unrecorded), data size, recording date / time of each data, recording position of each data, etc. is recorded It is.
[0024]
Hereinafter, recording and erasing operations of the recording medium 7 will be described.
[0025]
FIG. 4 is a flowchart for explaining recording and erasing operations of the recording medium 7.
[0026]
In FIG. 4, the flow starts when the recording medium 7 is newly attached to the main body or when the recording medium is attached after the power is turned on. The attachment operation is detected by the camera body side communicating with the recording medium 7.
[0027]
In step S20, the management data area of the mounted recording medium is searched, and the recording status of the image data area, that is, the recorded area, the erased unrecorded area, and the recording permission area are stored in the RAM 12 in the system control circuit 11. .
[0028]
The erased unrecorded area is an area where image data in a predetermined recording area of the recording medium 7 is physically erased. Further, the recording permission area is an area where image data is logically erased, and this area is an area where the previous data remains because physical erasure is not performed.
[0029]
In step S21, it is determined by searching the management data area whether or not the entire area unrecorded, that is, unused recording medium 7 is loaded.
[0030]
When the unused recording medium 7 is loaded, the process proceeds to step S24, and when it is not an unused recording medium, the process proceeds to step S22.
[0031]
In step S24, the entire image data area of the recording medium 7 is erased, and the process proceeds to step S26.
[0032]
In step S22, it is determined whether the mounted recording medium 7 has a capacity capable of recording at least one still image.
[0033]
If a recording medium capable of recording at least one still image is loaded, the process proceeds to step S23. If a recording medium capable of recording no single still image is loaded, the process proceeds to step S25.
[0034]
In step S25, a warning that the photographer cannot record and that the recording medium is to be replaced is given for a predetermined time, and the flow ends.
[0035]
In step S23, physical erasure of the recording permission area (logically erased area) is performed. As a unit to be erased at this time, the recording permission area is erased so that a predetermined recording capacity can be secured by combining the unrecorded area and the area where the current recording permission area is physically erased, and the process proceeds to step S26.
[0036]
The predetermined recording capacity is, for example, the storage capacity of the memory unit 6, the maximum storage capacity that can be stored in the memory unit 6, the preset storage capacity, or the preset number of volumes. Further, all the recording permission areas may be erased. If there is not enough capacity to be recorded on the recording medium to ensure a predetermined recording capacity, erasure is performed for the capacity that can be secured. The timing of executing this erasure is automatically executed after a predetermined time has elapsed after the recording medium is mounted on the electronic camera or after the power is turned on. Of course, when there is no need to erase (such as when there is no recording permission area), the erasing operation is not performed.
[0037]
In step S26, the management data area of the RAM 12 and the recording medium 7 is updated with the deletion of the recording permission area.
[0038]
When a recording command is made by an input of a switch or the like (not shown), the process proceeds to step S27, where a photographing operation is performed. (Erased) Records in an unrecorded area.
[0039]
In step S28, when shooting and recording are completed, the data in the management data area of the RAM 12 and the recording medium 7 is updated along with the shooting and recording.
[0040]
In step S29, the recording status of the image data area stored in the RAM 12 is searched to determine whether or not at least one still image can be recorded on the recording medium 7.
[0041]
If at least one still image can be recorded, the process proceeds to step S30, and if no still image can be recorded, the process proceeds to step S25 described above.
[0042]
In step S30, physical erasure of the recording permission area (logically erased area) is performed. As a unit to be erased at this time, the recordable area is erased so as to secure a predetermined recording capacity by combining the unrecorded area and the area to be erased of the current recordable area, and the process proceeds to step S31.
[0043]
The predetermined recording capacity is, for example, the storage capacity of the memory unit 6, the maximum storage capacity that can be stored in the memory unit 6, the preset storage capacity, or the preset number of volumes. Further, all the recording permission areas may be erased. If there is not enough capacity to be recorded on the recording medium to ensure a predetermined recording capacity, erasure is performed for the capacity that can be secured. Of course, it is not necessary to perform an erasing operation when the predetermined recording capacity can be secured without erasing the recording permission area. Further, the timing for executing this erasure is automatically executed when the photographing operation is completed and various operation commands are not input for a predetermined time.
[0044]
In step S31, the management data area of the RAM 12 and the recording medium 7 is updated when the recordable area is erased, and the process returns to step S27.
[0045]
Hereinafter, the processing operation when a recording command is issued by an input of a switch or the like (not shown) during erasing (for example, during processing in steps S23, S24, and S30 in FIG. 4) will be described with reference to the flowchart in FIG.
[0046]
FIG. 5 is a flowchart for explaining the processing operation when a shooting command is input during erasure.
[0047]
In FIG. 5, the flow starts when a recording command is input during erasing of the recording medium.
[0048]
In step S30, the erasing operation is temporarily interrupted to perform the photographing operation, and the image data is stored in the memory unit 6.
[0049]
Next, in step S31, it is determined whether or not there is an area (area that is physically erased) in which at least one image data can be recorded on the recording medium 7.
[0050]
When it does not exist, it progresses to step S32, and when it exists, it progresses to step S33.
[0051]
In step S32, the recording permission area of the recording medium 7 is erased.
[0052]
In step S33, the image data is read from the memory unit 6 and recorded in the erased area.
[0053]
In this embodiment, when the recording medium 7 is not erased, the recording medium 7 is erased and recorded independently. However, this may be performed alternately. That is, the area of the image data for one sheet may be further divided into predetermined areas, and this area may be erased and recorded alternately on the recording medium 7 as a unit.
[0054]
In the following cases, the erasing process of the recording medium 7 as described below is further convenient.
(1) When an erase command for predetermined image data is input by an input of a switch (not shown) When management data corresponding to an image data area is input when an erase command for a predetermined image data is input by an input of a switch (not shown) It is assumed that this image data is erased by writing predetermined data in the area (logical erasure). This area is set as a recording permission area.
[0055]
Here, since the image data is not actually erased, it can be restored again. That is, it can be restored by restoring the predetermined data written in the management data area.
[0056]
The system control circuit 11 measures the time from the erase operation and automatically erases the image data in the recording permission area after a predetermined time has passed (physical erasure).
[0057]
Of course, when logical erasure and physical erasure are performed, the management data of the RAN 12 and the recording medium 7 is updated.
[0058]
(2) When the apparatus is operated by a battery power source When the voltage of the battery is equal to or higher than a predetermined voltage, the recording medium is erased (physical erasure) in order to secure an unrecorded area for the predetermined capacity. If the voltage is lower than the predetermined voltage, erase for a capacity smaller than the predetermined capacity is performed. That is, the capacity of the unrecorded area secured in the recording medium 7 is changed according to the battery voltage.
[0059]
(3) When compressing image data by switching the compression rate, the capacity of the unrecorded area secured on the recording medium is changed according to the compression rate.
[0060]
In each of the above embodiments, the electronic still camera has been described as an example. However, the present invention is not limited to this. In other words, the above-described embodiments are merely examples in all respects and should not be interpreted in a limited manner.
[0061]
【The invention's effect】
As described above, according to the present invention, in an apparatus using a recording medium capable of recording data in an area where no data physically exists, a buffer is placed on the storage medium when the recording medium is mounted on the apparatus. The data erased area is physically erased so that the unrecorded area of the memory's storage capacity can be secured, so the time spent for erasing data can be saved as before. This makes it possible to record information data at a desired timing, and to perform an efficient erasing operation on the recording medium that is optimal for the device.
[Brief description of the drawings]
FIG. 1 is a block diagram of an electronic still camera according to a first embodiment of the present invention.
FIG. 2 is a flowchart for explaining processing operations from photographing to recording of the electronic still camera configured as shown in FIG. 1;
FIG. 3 is a diagram illustrating a data area of a recording medium.
FIG. 4 is a flowchart for explaining recording and erasing operations of the recording medium 7;
FIG. 5 is a flowchart illustrating a processing operation when a shooting command is input during erasure.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Lens 2 Shutter 3 Image pick-up element 6 Memory part 7 Recording medium 8 Memory control circuit 11 System control circuit 12 RAM

Claims (3)

情報データを入力する入力手段と、
物理的にデータが存在しない領域に対して情報データの記録が可能で、かつ情報データの記録状況を示す管理データが記録される管理データ領域を有する記録媒体に、前記入力手段によって入力された情報データを一旦メモリに記憶した後に記録する記録手段と、
前記記録媒体から情報データを消去する消去手段と、
前記記録媒体は装置に対して着脱自在であり、前記記録媒体が前記装置に装着された時、前記消去手段に対して前記記録媒体上の管理データ領域の管理データに基づいて前記記録媒体上の論理的にデータ消去されている領域を物理的にデータ消去するように制御する制御手段とを有し、
前記制御手段は、前記記憶媒体上に前記メモリの記憶容量分のデータ未記録領域が確保できるように論理的にデータ消去されている領域を物理的にデータ消去することを特徴とするデータ処理装置。
An input means for inputting information data;
Information input by the input means to a recording medium capable of recording information data in an area where no data physically exists and having management data area in which management data indicating the recording status of the information data is recorded A recording means for recording the data once stored in the memory;
Erasing means for erasing information data from the recording medium;
The recording medium is detachable from the apparatus, and when the recording medium is attached to the apparatus, the erasing means is on the recording medium based on management data in a management data area on the recording medium. Control means for controlling to physically erase the area where data is logically erased,
The control means physically erases an area that has been logically erased so that a data unrecorded area corresponding to the storage capacity of the memory can be secured on the storage medium. .
請求項1において、前記データ処理装置を電子スチルカメラに搭載したことを特徴とするデータ処理装置。  2. The data processing apparatus according to claim 1, wherein the data processing apparatus is mounted on an electronic still camera. 請求項1において、前記制御手段は前記装置の電源立ち上げに時、前記消去手段に対して前記記録媒体上の管理データ領域の管理データに基づいて、前記記録媒体上の論理的にデータ消去されている領域を物理的にデータ消去するように制御することを特徴とするデータ処理装置。  2. The control unit according to claim 1, wherein the control unit logically erases data on the recording medium based on management data in a management data area on the recording medium when the apparatus is powered on. A data processing apparatus that controls to physically erase data in an area.
JP02533394A 1994-02-03 1994-02-23 Data processing device Expired - Fee Related JP3839856B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP02533394A JP3839856B2 (en) 1994-02-23 1994-02-23 Data processing device
EP01117462A EP1168815B1 (en) 1994-02-23 1995-02-22 Data processing apparatus using recording medium which needs data erasing processing before recording of data
DE69535301T DE69535301T2 (en) 1994-02-23 1995-02-22 Data processing device with storage medium that needs a deletion process before data can be stored on it
EP19950102520 EP0669751B1 (en) 1994-02-23 1995-02-22 Data processing apparatus using recording medium which needs data erasing processing before recording of data
DE69526749T DE69526749D1 (en) 1994-02-23 1995-02-22 Data processing device with a recording medium, in which data must be erased before data is recorded
DE69536159T DE69536159D1 (en) 1994-02-23 1995-02-22 Recording unit with detection of the durability of the recording medium
EP06123957A EP1761032B1 (en) 1994-02-23 1995-02-22 Recording unit with detection of durability of recording medium
US08/994,872 US6750908B1 (en) 1994-02-03 1997-12-19 Image processing apparatus using recording medium which needs data erasing processing before recording of data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02533394A JP3839856B2 (en) 1994-02-23 1994-02-23 Data processing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2004238447A Division JP3840242B2 (en) 2004-08-18 2004-08-18 Image processing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JPH07236108A JPH07236108A (en) 1995-09-05
JP3839856B2 true JP3839856B2 (en) 2006-11-01

Family

ID=12163009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02533394A Expired - Fee Related JP3839856B2 (en) 1994-02-03 1994-02-23 Data processing device

Country Status (1)

Country Link
JP (1) JP3839856B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3727983B2 (en) * 1995-09-28 2005-12-21 キヤノン株式会社 Electronic camera
JP3703181B2 (en) * 1995-09-28 2005-10-05 キヤノン株式会社 Flash ROM management method and apparatus
JP2002358492A (en) * 2001-05-31 2002-12-13 Dainippon Printing Co Ltd Ic card and its artificial parallel processing program
WO2004061669A1 (en) * 2003-01-06 2004-07-22 Matsushita Electric Industrial Co., Ltd. Video/audio signal recorder and recording method
JP2008186491A (en) * 2007-01-26 2008-08-14 Hitachi Ltd Video recording and reproducing device, and file erasing method

Also Published As

Publication number Publication date
JPH07236108A (en) 1995-09-05

Similar Documents

Publication Publication Date Title
US7053936B2 (en) Electronic camera and photographic information data file management method
US6816190B1 (en) Electronic camera having a plurality of storage media
US20040201746A1 (en) Digital camera and control method thereof
JP3839856B2 (en) Data processing device
JP3885013B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, RECORDING MEDIUM THEREOF, AND PROGRAM THEREOF
JP3423243B2 (en) Digital camera
JP3840242B2 (en) Image processing apparatus and control method thereof
JP3052301B2 (en) Electronic camera
US6750908B1 (en) Image processing apparatus using recording medium which needs data erasing processing before recording of data
JP3919261B2 (en) Memory control device and memory access method
JP4019176B2 (en) Image processing method and apparatus
JP4231586B2 (en) Electronic imaging device
JP3392173B2 (en) Storage management method for IC memory card
EP1168815B1 (en) Data processing apparatus using recording medium which needs data erasing processing before recording of data
JP2002109528A (en) Data storage device
JP3507121B2 (en) Recording device and recording unit
JP3826134B2 (en) Recording device
JPH0963192A (en) Data recording device and data recording method
JP4067418B2 (en) Digital camera
JP2005085081A (en) Data recording device with nonvolatile semiconductor memory as recording medium
JP4222748B2 (en) camera
JP2000181786A (en) Digital data recording device
JP2006202051A (en) Data processor and data processing method
JP3866889B2 (en) Digital camera
JP2000312325A5 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040629

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040818

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040910

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050610

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060804

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090811

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100811

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110811

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120811

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130811

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees