JP2011065445A - Electronic equipment and program of the same - Google Patents

Electronic equipment and program of the same Download PDF

Info

Publication number
JP2011065445A
JP2011065445A JP2009215814A JP2009215814A JP2011065445A JP 2011065445 A JP2011065445 A JP 2011065445A JP 2009215814 A JP2009215814 A JP 2009215814A JP 2009215814 A JP2009215814 A JP 2009215814A JP 2011065445 A JP2011065445 A JP 2011065445A
Authority
JP
Japan
Prior art keywords
data
storage area
stored
trash
amount
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
JP2009215814A
Other languages
Japanese (ja)
Other versions
JP2011065445A5 (en
Inventor
Masayuki Endo
将幸 遠藤
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009215814A priority Critical patent/JP2011065445A/en
Publication of JP2011065445A publication Critical patent/JP2011065445A/en
Publication of JP2011065445A5 publication Critical patent/JP2011065445A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide electronic equipment that properly manages data to be stored and data to be deleted even if there is a limitation on the capacity. <P>SOLUTION: The electronic equipment includes: a primary storage RAM 50 including a first data storage area storing first data, and a second data storage area storing second data moved from the first data storage area, in a storage area for storing an arbitrary amount of data; and a control part 42 controlling data storage processing to the primary storage RAM 50. When the first data stored in the first data storage area are moved to the second data storage area, the control part 42 deletes the second data stored in the second storage area according to a predetermined condition, and controls a data compression part 47a to reduce the amount of the first data to be moved, and then the reduced first data are stored in the second data storage area. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、各種のデータを記憶及び削除する電子機器及び電子機器のプログラムに関する。   The present invention relates to an electronic device for storing and deleting various data and a program for the electronic device.

一般的に、データを記憶する記録媒体を備えた電子機器は、当該記録媒体に記憶されたデータを管理する機能を有する。このような電子機器としては、例えば下記の特許文献1のように、画像データを管理するための撮像装置が挙げられる。   Generally, an electronic device provided with a recording medium for storing data has a function of managing data stored in the recording medium. As such an electronic apparatus, for example, an imaging apparatus for managing image data can be cited as in Patent Document 1 below.

この特許文献1には、フラッシュメモリ内を保存フォルダとゴミ箱フォルダとに区分して画像データを管理する撮像装置が記載されている。この撮像装置は、画像データを保存フォルダに格納し、保存を希望しない画像データをゴミ箱フォルダに格納する。そして、撮像装置は、ゴミ箱フォルダに格納されている画像データを消去する操作がされた場合には、当該画像データをフラッシュメモリから消去する。なお、保存フォルダ及びゴミ箱フォルダは、その記憶容量がそれぞれ可変である。   Japanese Patent Application Laid-Open No. 2005-228561 describes an imaging apparatus that manages image data by dividing a flash memory into a storage folder and a trash folder. This imaging apparatus stores image data in a storage folder, and stores image data that is not desired to be stored in a trash folder. Then, when an operation for deleting the image data stored in the trash folder is performed, the imaging apparatus deletes the image data from the flash memory. Note that the storage capacity of the storage folder and the trash folder is variable.

この撮像装置は、フラッシュメモリの記憶容量に制限があるために、撮像処理により得られた新たな画像データを記録する場合に、フラッシュメモリに空き容量があるか否かを判定する。撮像装置は、フラッシュメモリに空き容量がある場合には、そのまま画像データを記憶する。しかし、フラッシュメモリに空き容量がない場合には、撮像装置は、自動的にゴミ箱フォルダに格納されている画像データを消去する。このとき、撮像装置は、ゴミ箱フォルダに格納されている画像データの消去優先度に基づき、当該消去優先度が最も高い画像データをゴミ箱フォルダから消去する。この消去優先度は、各画像データに関連付けて記憶されている情報であり、画像データの付加情報として又は別個のテーブルに格納されている。   Since this image capturing apparatus has a limited storage capacity of the flash memory, when recording new image data obtained by the image capturing process, the image capturing apparatus determines whether or not there is a free capacity in the flash memory. The imaging device stores the image data as it is when there is free space in the flash memory. However, if there is no free space in the flash memory, the imaging device automatically deletes the image data stored in the trash folder. At this time, the imaging apparatus deletes the image data having the highest deletion priority from the trash folder based on the deletion priority of the image data stored in the trash folder. This erasure priority is information stored in association with each image data, and is stored as additional information of the image data or in a separate table.

撮像装置は、ゴミ箱フォルダに格納されている画像データを削除することにより、撮像して得た新たな画像データを格納する記憶容量を確保でき、当該空き容量に当該画像データを記憶させることができる。   By deleting the image data stored in the trash folder, the imaging apparatus can secure a storage capacity for storing new image data obtained by imaging, and can store the image data in the free capacity. .

特開2007−295181号公報JP 2007-295181 A

上述したように特許文献1に記載された撮像装置は、消去優先度が最も高い画像データをゴミ箱フォルダから消去することにより、新たに保存したい画像データのための空き容量を確保している。しかし、ゴミ箱フォルダに格納されている画像データは、撮像処理時又は編集時に設定される撮像画像の記録画素数である記録サイズ及び圧縮率である画質に応じて、データ量が異なるものである。したがって、ゴミ箱フォルダに格納された画像データを消去しても、新たに保存したい画像データを保存フォルダに格納できない場合がある。   As described above, the image pickup apparatus described in Patent Document 1 secures a free space for image data to be newly saved by erasing image data having the highest erasure priority from the trash folder. However, the amount of data of the image data stored in the trash can folder varies depending on the recording size that is the number of recorded pixels of the captured image and the image quality that is the compression rate that are set during the imaging process or editing. Therefore, even if the image data stored in the trash folder is deleted, the image data to be newly stored may not be stored in the storage folder.

具体的には、ゴミ箱フォルダに格納された画像データのうち最も消去優先度が高い画像データのデータ量が、新たに保存したい画像データのデータ量よりも小さい場合には、当該消去優先度が最も高い画像データを消去するのみでは、新たに保存したい画像データのデータ量に相当する空き容量を確保できない。   Specifically, when the amount of image data having the highest deletion priority among the image data stored in the trash folder is smaller than the amount of image data to be newly saved, the deletion priority is the highest. Only by deleting high image data, it is not possible to secure a free space corresponding to the data amount of image data to be newly saved.

また、上述した撮像装置において、新たに保存したい画像データのデータ量以上の空き容量を確保するために、ゴミ箱フォルダに格納された画像データのうち消去優先度の高いものから優先して複数の画像データを消去することができる。しかし、複数の画像データを消去すると、ユーザがゴミ箱フォルダに格納された画像データを確認したい場合に、確認したい画像が既に自動的に消去されているという事態を招来する可能性が高くなる。   Further, in the above-described imaging apparatus, in order to secure a free space equal to or larger than the data amount of image data to be newly saved, a plurality of images are prioritized from the image data stored in the trash folder with a higher priority of deletion. Data can be erased. However, if a plurality of image data is deleted, there is a high possibility that the user wants to check the image data stored in the trash folder, and that the image to be checked has already been automatically deleted.

そこで、本発明は、上述した実情に鑑みて提案されたものであり、記憶容量に制限がある場合であっても、保存するデータ及び削除するデータの管理を適切に行うことができる電子機器及び電子機器のプログラムを提供することを目的とする。   Therefore, the present invention has been proposed in view of the above-described circumstances, and an electronic device capable of appropriately managing data to be stored and data to be deleted even when the storage capacity is limited, and An object is to provide a program for an electronic device.

本発明に係る電子機器は、任意のデータ量のデータが記憶される記憶領域に、第1データを格納する第1データ記憶領域と当該第1データ記憶領域から移動された第2データを格納する第2データ記憶領域とが含まれる記憶手段と、記憶手段に対するデータの記憶処理を制御する制御手段とを備え、制御手段は、第1データ記憶領域に格納された第1データを第2データ記憶領域に移動させる場合に、所定の条件に従って第2データ記憶領域に格納された第2データを削除すると共に、移動させる第1データのデータ量を減少させて当該データ量が減少された第1データを第2データ記憶領域に格納する。   The electronic device according to the present invention stores a first data storage area for storing first data and second data moved from the first data storage area in a storage area for storing data of an arbitrary amount of data. A storage means including a second data storage area; and a control means for controlling a data storage process for the storage means. The control means stores the first data stored in the first data storage area in the second data storage area. When moving to the area, the second data stored in the second data storage area is deleted according to a predetermined condition, and the data amount of the first data to be moved is reduced to reduce the data amount. Are stored in the second data storage area.

本発明に係る電子機器のプログラムは、コンピュータを、任意のデータ量のデータごとにデータが記憶される記憶領域に、第1データを格納する第1データ記憶領域と当該第1データ記憶領域から移動された第2データを格納する第2データ記憶領域とが含まれる記憶手段に対するデータの記憶処理を制御する制御手段として機能させ、制御手段が、第1データ記憶領域に格納された第1データを第2データ記憶領域に移動させる場合に、所定の条件に従って第2データ記憶領域に格納された第2データを削除すると共に、移動させる第1データのデータ量を減少させて当該データ量が減少された第1データを第2データ記憶領域に格納する。   An electronic device program according to the present invention moves a computer from a first data storage area for storing first data to a storage area for storing data for each data of an arbitrary amount of data, and the first data storage area. And a second data storage area for storing the second data stored therein, the control means functions as a control means for controlling a data storage process for the storage means, and the control means stores the first data stored in the first data storage area. When moving to the second data storage area, the second data stored in the second data storage area is deleted according to a predetermined condition, and the data amount of the first data to be moved is reduced to reduce the data amount. The first data is stored in the second data storage area.

本発明に係る電子機器及び電子機器のプログラムによれば、第1データ記憶領域に格納された第1データを第2データ記憶領域に移動させる場合に、所定の条件に従って第2データを削除すると共に、移動させる第1データのデータ量を減少させて当該第1データを第2データ記憶領域に格納するので、記憶容量に制限がある場合であっても、保存するデータ及び削除するデータの管理を適切に行うことができる。   According to the electronic device and the program for the electronic device according to the present invention, when the first data stored in the first data storage area is moved to the second data storage area, the second data is deleted according to a predetermined condition. Since the data amount of the first data to be moved is reduced and the first data is stored in the second data storage area, management of data to be saved and data to be deleted can be performed even when the storage capacity is limited. Can be done appropriately.

本発明の一実施形態となるデジタルスチルカメラの構成を示し斜視図であり、(a)は主に前面の構成、(b)は主に背面の構成を示す斜視図である。1 is a perspective view illustrating a configuration of a digital still camera according to an embodiment of the present invention, in which (a) is a front configuration mainly, and (b) is a perspective view mainly illustrating a rear configuration. 図1に示すデジタルスチルカメラの制御系の構成を示すブロック図である。It is a block diagram which shows the structure of the control system of the digital still camera shown in FIG. 一次記憶RAMにおけるデータ記憶領域内の保存フォルダ記憶領域とゴミ箱フォルダ記憶領域について説明する図である。It is a figure explaining the preservation | save folder storage area and trash folder storage area in the data storage area in primary storage RAM. 本発明の一実施形態となるデジタルスチルカメラによるゴミ箱フォルダ記憶領域から削除データの自動消去処理を説明する図である。It is a figure explaining the automatic deletion process of the deletion data from the trash folder storage area by the digital still camera which becomes one Embodiment of this invention. 本発明の一実施形態となるデジタルスチルカメラにより作成される管理テーブルについて示す図である。It is a figure shown about the management table produced with the digital still camera which becomes one Embodiment of this invention. 本発明の一実施形態となるデジタルスチルカメラによる他のゴミ箱フォルダ記憶領域から削除データの自動消去処理を説明する図である。It is a figure explaining the automatic deletion process of the deletion data from the other trash folder storage area by the digital still camera which becomes one Embodiment of this invention. 本発明の一実施形態となるデジタルスチルカメラにより作成される管理テーブルについて示す他の図である。It is another figure shown about the management table produced with the digital still camera which becomes one Embodiment of this invention. 本発明の一実施形態となるデジタルスチルカメラによるゴミ箱フォルダ記憶領域から削除データの自動消去処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the automatic deletion process of deletion data from the trash box folder storage area by the digital still camera which becomes one Embodiment of this invention. 本発明の一実施形態となるデジタルスチルカメラによる他のゴミ箱フォルダ記憶領域から削除データの自動消去処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of the automatic erasure | elimination process of deletion data from the other trash box folder storage area by the digital still camera which becomes one Embodiment of this invention.

以下、本発明に係る電子機器の実施形態について、図面を参照して説明する。この実施形態においては、電子機器としての一例として、デジタルスチルカメラ1について説明する。しかし、本発明に係る電子機器としては、デジタルスチルカメラ1に限らず、ハードディスク装置を備えたパーソナルコンピュータ、メモリカードを備えた携帯電話機器、各種の携帯端末が含まれることは勿論である。   Hereinafter, embodiments of an electronic apparatus according to the present invention will be described with reference to the drawings. In this embodiment, a digital still camera 1 will be described as an example of an electronic device. However, the electronic apparatus according to the present invention is not limited to the digital still camera 1, but of course includes a personal computer having a hard disk device, a mobile phone apparatus having a memory card, and various portable terminals.

始めに、図1(a),(b)を参照して、本発明の一実施形態となるデジタルスチルカメラ1の全体構成について説明する。   First, an overall configuration of a digital still camera 1 according to an embodiment of the present invention will be described with reference to FIGS. 1 (a) and 1 (b).

本発明の一実施形態として示すデジタルスチルカメラ1は、図1(a)に示すように、略四角形形状の薄板状本体(以下、本体と略記)2の前面に撮影レンズ3,セルフタイマランプ4,ファインダ窓5,ストロボ発光部6,及びマイクロホン部7を備える。本体2上面の(ユーザにとって)右端側には電源キー8及びシャッタキー9が設けられている。   As shown in FIG. 1A, a digital still camera 1 shown as an embodiment of the present invention has a photographing lens 3 and a self-timer lamp 4 on the front surface of a substantially rectangular thin plate body (hereinafter abbreviated as a body) 2. , Finder window 5, strobe light emitting unit 6, and microphone unit 7. A power key 8 and a shutter key 9 are provided on the right end side (for the user) of the upper surface of the main body 2.

撮影レンズ3は、焦点距離を無段階に変化させるズーム機能及びAF(Auto Focus)機能を有する。この撮影レンズ3は、電源オフ時及び再生モード時は本体2内部に沈胴する。電源キー8は、電源のオン/オフ毎に操作されるキーである。シャッタキー9は、撮影モード時に撮影タイミングを指示する。   The photographing lens 3 has a zoom function and an AF (Auto Focus) function for changing the focal length steplessly. The taking lens 3 is retracted inside the main body 2 when the power is off and in the reproduction mode. The power key 8 is operated every time the power is turned on / off. The shutter key 9 instructs the shooting timing in the shooting mode.

本体2の背面には、図1(b)に示すように、撮影モード(R)キー10,再生モード(P)キー11,電子ビューファインダ(EVF)12,スピーカ部13,マクロキー14,ストロボキー15,メニュー(MENU)キー16,リングキー17,セット(SET)キー18,液晶表示部19が設けられている。   As shown in FIG. 1B, on the back of the main body 2, a shooting mode (R) key 10, a playback mode (P) key 11, an electronic viewfinder (EVF) 12, a speaker unit 13, a macro key 14, a strobe A key 15, a menu (MENU) key 16, a ring key 17, a set (SET) key 18, and a liquid crystal display unit 19 are provided.

撮影モードキー10は、電源オフの状態から操作することで自動的に電源オンとして静止画の撮影モードに移行する。一方、撮影モードキー10は、電源オンの状態から繰返し操作することで静止画と動画の撮影モードを循環的に設定する。   When the shooting mode key 10 is operated from the power-off state, the power is automatically turned on to shift to the still image shooting mode. On the other hand, the shooting mode key 10 cyclically sets shooting modes of still images and moving images by repeatedly operating from a power-on state.

再生モードキー11は、電源オフの状態から操作することで自動的に電源オンとして再生モードに移行する。EVF12は、液晶画面を使用した接眼型のファインダである。EVF12は、撮影モード時にはライブビュー画像を液晶画面に表示する。一方、EVF12は、再生モード時には選択された画像等を再生表示する。マクロキー14は、静止画の撮影モードで通常撮影とマクロ撮影とを切り換える際に操作する。ストロボキー15は、ストロボ発光部6の発光モードを切り換える際に操作する。メニューキー16は、各種メニュー項目等を選択する際に操作する。リングキー17は、上下左右各方向への項目選択用のキーが一体に形成されたものである。セットキー18は、リングキー17の中央に位置し、その時点で選択されている項目を設定する際に操作する。   When the playback mode key 11 is operated from the power-off state, the playback mode key 11 is automatically turned on to enter the playback mode. The EVF 12 is an eyepiece type finder that uses a liquid crystal screen. The EVF 12 displays a live view image on the liquid crystal screen in the shooting mode. On the other hand, the EVF 12 reproduces and displays the selected image or the like in the reproduction mode. The macro key 14 is operated when switching between normal shooting and macro shooting in the still image shooting mode. The strobe key 15 is operated when switching the light emission mode of the strobe light emitting unit 6. The menu key 16 is operated when selecting various menu items. The ring key 17 is formed integrally with keys for selecting items in the up, down, left, and right directions. The set key 18 is located at the center of the ring key 17 and is operated when setting an item selected at that time.

再生モード(P)キー11は、デジタルスチルカメラ1に記憶された撮像画像を確認させる場合に操作される。再生モード(P)キー11が操作された場合、デジタルスチルカメラ1は、後述のメモリカード(記憶手段)48に形成されたフォルダごとに、当該フォルダに格納された撮像画像を再生する。   The playback mode (P) key 11 is operated when confirming a captured image stored in the digital still camera 1. When the playback mode (P) key 11 is operated, the digital still camera 1 plays back the captured image stored in the folder for each folder formed in a memory card (storage means) 48 described later.

より具体的には、再生モード(P)キー11及びリングキー17の操作により、デジタルスチルカメラ1は、一次記憶RAM50に形成された保存フォルダに格納された撮像画像、保存フォルダからゴミ箱フォルダに移動された撮像画像を表示させることができる。保存フォルダとは、ユーザが保存を望むために形成されたフォルダであり、複数の撮像画像データが格納可能な容量を有している。また、ゴミ箱フォルダとは、ユーザが保存を望まないために保存フォルダから移動された複数の撮像画像データ格納されるフォルダである。更に、デジタルスチルカメラ1は、保存フォルダ、ゴミ箱フォルダごとに、それぞれ格納されている複数の撮像画像をサムネイル形式で一覧表示させ、リングキー17の操作により何れかの撮像画像を拡大表示することができる。これにより、デジタルスチルカメラ1は、ユーザにリングキー17を操作させて、保存フォルダからゴミ箱フォルダに移動させる撮像画像、ゴミ箱フォルダから消去する撮像画像を選択させることができる。   More specifically, when the playback mode (P) key 11 and the ring key 17 are operated, the digital still camera 1 moves from the captured image stored in the storage folder formed in the primary storage RAM 50 to the trash folder. The captured image can be displayed. The storage folder is a folder that is formed because the user desires to store it, and has a capacity capable of storing a plurality of captured image data. Further, the trash folder is a folder for storing a plurality of captured image data moved from the storage folder because the user does not want to store it. Further, the digital still camera 1 can display a list of a plurality of captured images respectively stored in the thumbnail format for each storage folder and trash folder, and can enlarge any one of the captured images by operating the ring key 17. it can. Thereby, the digital still camera 1 can cause the user to operate the ring key 17 to select a captured image to be moved from the storage folder to the trash folder and a captured image to be deleted from the trash folder.

液晶表示部19は、バックライト付きのカラー液晶パネルで構成される。液晶表示部19は、撮影モード時にはライブビュー画像のモニタ表示を行う。一方、液晶表示部19は、再生モード時には再生モード(P)キー11の操作により選択された撮像画像等を再生表示する。図示しないが、デジタルスチルカメラ1の底面には、記録媒体として用いられるメモリカード48を着脱するためのメモリカードスロットや、外部のパーソナルコンピュータ等と接続するためのシリアルインタフェースコネクタとしてのUSB(Universal Serial Bus)コネクタ等が設けられている。   The liquid crystal display unit 19 is composed of a color liquid crystal panel with a backlight. The liquid crystal display unit 19 displays a live view image on the monitor in the shooting mode. On the other hand, the liquid crystal display unit 19 reproduces and displays the captured image selected by operating the reproduction mode (P) key 11 in the reproduction mode. Although not shown, on the bottom surface of the digital still camera 1, a USB (Universal Serial) as a serial interface connector for connecting to a memory card slot for attaching / detaching a memory card 48 used as a recording medium, an external personal computer or the like. Bus) connectors are provided.

つぎに、図2を参照して、本発明の一実施形態となるデジタルスチルカメラ1の撮像系及び制御系の構成について説明する。   Next, with reference to FIG. 2, the configuration of an imaging system and a control system of the digital still camera 1 according to an embodiment of the present invention will be described.

本発明の一実施形態となるデジタルスチルカメラ1では、撮影モードの際、モータ(M)31の駆動により撮影レンズ3を移動させて、合焦位置や絞り位置を移動させる。撮像素子であるCCD(Charge Coupled Device)33は、撮影レンズ3を構成するレンズ光学系32の撮影光軸後方に配置されている。このCCD33は、タイミング発生器(TG(Timing Generator))34と垂直ドライバ35によって走査駆動される。CCD33は、一定周期毎に結像した光像に対応する光電変換信号を1フレーム分ごとに供給する。この光電変換信号は、アナログ形態の信号の状態でRGBの各原色成分毎に適宜ゲイン調整された後にサンプルホールド回路(S/H(sample/hold))36でサンプルホールドされ、A/D(analog to digital)変換器37でデジタルデータに変換される。このデジタルデータは、カラープロセス回路38により画素補間処理及びγ補正処理を含むカラープロセス処理が行われ、デジタル値の輝度信号Y及び色差信号Cb,Crとされる。そして、デジタル値の輝度信号Y及び色差信号Cb,Crは、DMA(Direct Memory Access)コントローラ39に供給される。   In the digital still camera 1 according to an embodiment of the present invention, in the photographing mode, the photographing lens 3 is moved by driving the motor (M) 31 to move the focus position and the aperture position. A CCD (Charge Coupled Device) 33 that is an image sensor is disposed behind the photographing optical axis of the lens optical system 32 that constitutes the photographing lens 3. The CCD 33 is scan-driven by a timing generator (TG (Timing Generator)) 34 and a vertical driver 35. The CCD 33 supplies a photoelectric conversion signal corresponding to a light image formed at regular intervals every frame. This photoelectric conversion signal is appropriately adjusted for each primary color component of RGB in the state of an analog signal, and then sampled and held by a sample hold circuit (S / H (sample / hold)) 36, and then A / D (analog) to digital) converter 37 converts the digital data. The digital data is subjected to color process processing including pixel interpolation processing and γ correction processing by the color process circuit 38 to obtain a digital luminance signal Y and color difference signals Cb and Cr. The digital luminance signal Y and the color difference signals Cb and Cr are supplied to a DMA (Direct Memory Access) controller 39.

DMAコントローラ39は、カラープロセス回路38から受け取った輝度信号Y及び色差信号Cb,Crを、同じくカラープロセス回路38からの複合同期信号,メモリ書込みイネーブル信号,及びクロック信号を用いて一度DMAコントローラ39内部のバッファに書込む。DMAコントローラ39は、DRAM(Dynamic Random Access Memory)インタフェース(I/F(Interface))40を介してバッファメモリとして使用されるDRAM41にDMA転送する。   The DMA controller 39 once uses the luminance signal Y and the color difference signals Cb and Cr received from the color process circuit 38 by using the composite synchronization signal, memory write enable signal, and clock signal from the color process circuit 38 once. Write to the buffer. The DMA controller 39 performs DMA transfer to a DRAM 41 used as a buffer memory via a DRAM (Dynamic Random Access Memory) interface (I / F (Interface)) 40.

制御部42は、CPU(Central Processing Unit),CPUで実行されるコンピュータプログラムを固定的に記憶したROM(Read Only Memory)等により構成される。制御部42は、デジタルスチルカメラ1全体の動作を制御する。   The control unit 42 includes a CPU (Central Processing Unit), a ROM (Read Only Memory) in which a computer program executed by the CPU is fixedly stored, and the like. The control unit 42 controls the operation of the entire digital still camera 1.

制御部42は、DRAM41への輝度及び色差信号からなる撮像画像データのDMA転送終了後に、この撮像画像データを、DRAMインタフェース40を介してDRAM41より読出し、VRAM(Video Random Access Memory)コントローラ43を介してVRAM44に書込む。デジタルビデオエンコーダ45は、上記撮像画像データを、VRAMコントローラ43を介してVRAM44より定期的に読出し、これらのデータを元にビデオ信号を発生してEVF12と液晶表示部19に供給する。EVF12と液晶表示部19は、デジタルビデオエンコーダ45から受け取ったビデオ信号に基づいた表示を行う。これにより、EVF12及び液晶表示部19は、その時点でVRAMコントローラ43から取り込んでいる画像情報に基づく画像(ライブビュー画像)をリアルタイムに表示する。   The control unit 42 reads the captured image data from the DRAM 41 via the DRAM interface 40 after the DMA transfer of the captured image data including the luminance and color difference signals to the DRAM 41, and the VRAM (Video Random Access Memory) controller 43. Write to the VRAM 44. The digital video encoder 45 periodically reads the captured image data from the VRAM 44 via the VRAM controller 43, generates a video signal based on these data, and supplies the video signal to the EVF 12 and the liquid crystal display unit 19. The EVF 12 and the liquid crystal display unit 19 perform display based on the video signal received from the digital video encoder 45. Thereby, the EVF 12 and the liquid crystal display unit 19 display an image (live view image) based on the image information captured from the VRAM controller 43 at that time in real time.

このようにEVF12及び液晶表示部19には、その時点での画像がライブビュー画像としてリアルタイムに表示される。このようなライブビュー画像の表示状態で、静止画撮影を行いたいタイミングでシャッタキー9が操作されると、当該シャッタキー9は、トリガ信号を発生する。制御部42は、このトリガ信号に応じてその時点でCCD33から取込んでいる1フレーム分の撮像画像データのDRAM41へのDMA転送を取り止める。次に、制御部42は、改めて適正な露出条件に従った絞り値及びシャッタ速度でCCD33を駆動するようにモータ(M)31を制御し、1フレーム分の撮像画像データを得てDRAM41へ転送し、その後にこの経路を停止し、記録保存の状態に遷移する。   In this manner, the EVF 12 and the liquid crystal display unit 19 display the image at that time as a live view image in real time. When the shutter key 9 is operated at a timing at which still image shooting is desired in such a live view image display state, the shutter key 9 generates a trigger signal. In response to this trigger signal, the control unit 42 stops DMA transfer of the captured image data for one frame that is being captured from the CCD 33 at that time to the DRAM 41. Next, the control unit 42 controls the motor (M) 31 so as to drive the CCD 33 again with the aperture value and shutter speed according to the appropriate exposure condition, and obtains one frame of captured image data and transfers it to the DRAM 41. After that, this route is stopped, and a transition is made to the record storage state.

この記録保存の状態において、制御部42は、DRAM41に書込まれている輝度及び色差信号を、DRAMインタフェース40を介してY,Cb,Crの各コンポーネント毎に読出して、画像処理部47に書込む。この画像処理部47は、データを圧縮するデータ圧縮部47aを含む。このデータ圧縮部47aは、撮影画像データに対してJPEG(Joint Photograph coding Experts Group)規格に従ったADCT(Adaptive Discrete Cosine Transform:適応離散コサイン変換)処理を行って、所定の圧縮率でデータの圧縮をする。この圧縮率は、所定の圧縮処理により、データの内容を保ったまま、容量の削減された度合いを示す。この圧縮済みのデータは、外部記録用のデータとしてメモリカード48に記録される。そして、制御部42は、撮像画像データの圧縮処理及びメモリカード48への圧縮データの書込み終了に伴なって、CCD33からDRAM41への経路を再び起動する。   In this recording and storage state, the control unit 42 reads the luminance and color difference signals written in the DRAM 41 for each component of Y, Cb, and Cr via the DRAM interface 40 and writes them to the image processing unit 47. Include. The image processing unit 47 includes a data compression unit 47a that compresses data. The data compression unit 47a performs ADCT (Adaptive Discrete Cosine Transform) processing according to JPEG (Joint Photograph Coding Experts Group) standard on the captured image data, and compresses the data at a predetermined compression rate. do. This compression rate indicates the degree to which the capacity has been reduced by the predetermined compression processing while maintaining the data contents. The compressed data is recorded on the memory card 48 as external recording data. Then, the control unit 42 activates the path from the CCD 33 to the DRAM 41 again with the compression processing of the captured image data and the completion of the writing of the compressed data to the memory card 48.

データ圧縮部47aのデータ圧縮率は、制御部42により制御される。デジタルスチルカメラ1は、例えば、画質として、低圧縮率の「高精細」、中程度の圧縮率の「標準」、高圧縮率の「エコノミー」を、ユーザの操作により選択することができるようにしている。制御部42は、低圧縮率、標準、高圧縮率の3段階のうち、ユーザにより選択された圧縮率で圧縮処理をするようにデータ圧縮部47aを制御する。これにより、撮像画像データは、データ圧縮部47aによる圧縮処理により任意のデータ量とされる。例えば、圧縮率が低い「高精細」の場合、撮像画像データのデータ量は最も多くなり、圧縮率が中程度の「標準」の場合、撮像画像データのデータ量は高精細のデータ量よりも少なくなり、圧縮率が低い「エコノミー」の場合、撮像画像データのデータ量は最も少なくなる。   The data compression rate of the data compression unit 47a is controlled by the control unit 42. For example, the digital still camera 1 can select “high definition” with a low compression rate, “standard” with a medium compression rate, and “economy” with a high compression rate by a user operation. ing. The control unit 42 controls the data compression unit 47a so as to perform compression processing at a compression rate selected by the user among the three levels of low compression rate, standard, and high compression rate. Thereby, the captured image data is made into an arbitrary data amount by the compression processing by the data compression unit 47a. For example, when the compression ratio is “high definition”, the amount of captured image data is the largest. When the compression ratio is “standard”, the amount of captured image data is larger than the amount of high definition data. In the case of “economy” where the compression rate is low and the compression rate is low, the amount of captured image data is the smallest.

また、撮像画像データは、記録画素数によってもデータ量が異なる。例えば、500万画素相当で2560ドット×1920ドットの撮像画像データは、約3MB(メガバイト)のデータ量となり、300万画素相当で2048ドット×1536ドットの撮像画像データは、約2MBのデータ量となり、100万画素相当で1024ドット×768ドットの撮像画像データは、約0.5MBのデータ量となる。これらの記録画素数は、ユーザにより選択され、制御部42の制御に従って設定される。このように、撮像画像データは、記録画素数、画質により任意のデータ量とされて、メモリカード48に記録される。   Further, the amount of captured image data varies depending on the number of recording pixels. For example, captured image data of 2560 dots × 1920 dots equivalent to 5 million pixels has a data amount of about 3 MB (megabyte), and captured image data of 2048 dots × 1536 dots equivalent to 3 million pixels has a data amount of about 2 MB. The captured image data of 1024 dots × 768 dots corresponding to 1 million pixels has a data amount of about 0.5 MB. These recording pixel numbers are selected by the user and set according to the control of the control unit 42. Thus, the captured image data is recorded in the memory card 48 with an arbitrary amount of data depending on the number of recording pixels and the image quality.

画質及び記録画素数は、ユーザの操作により選択される。このため、撮像画像データは、下記の表1のように記録画素数と圧縮率との関係により、任意のデータ量とされる。

Figure 2011065445
The image quality and the number of recorded pixels are selected by a user operation. For this reason, the captured image data has an arbitrary data amount depending on the relationship between the number of recorded pixels and the compression rate as shown in Table 1 below.
Figure 2011065445

表1において、α、β、γは圧縮率であり、αは最も低い圧縮率であり、γは最も高い圧縮率であり、βはαとγとの中間値の圧縮率である。例えば、JPEG規格における1〜100の圧縮率において、αは60、βは30、γは15である。2560ドット×1920ドットの高精細画質の撮像画像データは、3MB×αのデータ量となり、2560ドット×1920ドットの標準画質の撮像画像データは、3MB×βのデータ量となり、2560ドット×1920ドットのエコノミー画質の撮像画像データは、3MB×γのデータ量となる。また、2048ドット×1536ドットの高精細画質の撮像画像データは、2MB×αのデータ量となり、2048ドット×1536ドットの標準画質の撮像画像データは、2MB×βのデータ量となり、2048ドット×1536ドットのエコノミー画質の撮像画像データは、2MB×γのデータ量となる。更に、1024ドット×768ドットの高精細画質の撮像画像データは、0.5MB×αのデータ量となり、1024ドット×768ドットの標準画質の撮像画像データは、0.5MB×βのデータ量となり、1024ドット×768ドットのエコノミー画質の撮像画像データは、0.5MB×γのデータ量となる。   In Table 1, α, β, and γ are compression rates, α is the lowest compression rate, γ is the highest compression rate, and β is a compression rate that is an intermediate value between α and γ. For example, α is 60, β is 30, and γ is 15 at a compression ratio of 1 to 100 in the JPEG standard. The captured image data of high definition image quality of 2560 dots × 1920 dots has a data amount of 3 MB × α, and the captured image data of standard image quality of 2560 dots × 1920 dots has a data amount of 3 MB × β, 2560 dots × 1920 dots. The captured image data of economy image quality is 3 MB × γ. Further, the high-definition imaged image data of 2048 dots × 1536 dots has a data amount of 2 MB × α, and the imaged image data of standard image quality of 2048 dots × 1536 dots has a data amount of 2 MB × β, which is 2048 dots × The captured image data of economy image quality of 1536 dots has a data amount of 2 MB × γ. Furthermore, the high-definition imaged image data of 1024 dots × 768 dots has a data amount of 0.5 MB × α, and the standard imaged image data of 1024 dots × 768 dots has a data amount of 0.5 MB × β. The captured image data of economy image quality of 1024 dots × 768 dots has a data amount of 0.5 MB × γ.

制御部42には、キー入力部49が接続される。キー入力部49は、上述した電源キー8,シャッタキー9,撮影モードキー10,再生モードキー11,マクロキー14,ストロボキー15,メニューキー16,リングキー17,セットキー18等から構成される。これらのキー操作に伴なう信号は、直接に制御部42へ供給される。特に、キー入力部49は、例えば、撮像する画像の記録画素数又は画質を選択する際、複数の画像をサムネイル表示させて移動させる際などに、操作される。   A key input unit 49 is connected to the control unit 42. The key input unit 49 includes the power key 8, shutter key 9, shooting mode key 10, playback mode key 11, macro key 14, strobe key 15, menu key 16, ring key 17, set key 18 and the like described above. . Signals accompanying these key operations are directly supplied to the control unit 42. In particular, the key input unit 49 is operated, for example, when selecting the number of recording pixels or the image quality of an image to be captured and when moving a plurality of images in a thumbnail display.

制御部42には、上述したような記録保存の状態により得た任意のデータ量の撮像画像データを保存する一次記憶RAM50が接続されている。この一次記憶RAM50は、図3に示すように、全記憶領域のうち、撮像画像データが格納されるデータ記憶領域50Aが形成されている。このデータ記憶領域50Aは、制御部42の制御に従って、保存データ(第1データ)を保存する保存フォルダ記憶領域(第1データ記憶領域)50aと、当該保存フォルダ記憶領域50aから移動された削除データ(第2データ)を格納するゴミ箱フォルダ記憶領域(第2データ記憶領域)50bとを含む。なお、各フォルダは、データをファイル形式で格納する。保存フォルダ記憶領域50a及びゴミ箱フォルダ記憶領域50bには、多数の保存データ及び削除データが画像データ(#1〜#N)として格納可能となっている。なお、データ記憶領域50Aには、保存フォルダ記憶領域50aとゴミ箱フォルダ記憶領域50bの他に、ユーザ操作等により作成されたフォルダ、動画像データを記憶するフォルダがあっても良いことは勿論である。   The control unit 42 is connected to a primary storage RAM 50 that stores captured image data of an arbitrary data amount obtained in the record storage state as described above. As shown in FIG. 3, the primary storage RAM 50 includes a data storage area 50 </ b> A in which captured image data is stored among all the storage areas. The data storage area 50A includes a storage folder storage area (first data storage area) 50a for storing storage data (first data) and deleted data moved from the storage folder storage area 50a according to the control of the control unit 42. And a trash folder storage area (second data storage area) 50b for storing (second data). Each folder stores data in a file format. In the storage folder storage area 50a and the trash folder storage area 50b, a large number of storage data and deletion data can be stored as image data (# 1 to #N). In addition to the storage folder storage area 50a and the trash folder storage area 50b, the data storage area 50A may include a folder created by a user operation or a folder for storing moving image data. .

なお、この実施形態においては、一次記憶RAM50に保存フォルダ記憶領域50a、ゴミ箱フォルダ記憶領域50bが形成されている場合について説明するが、メモリカード48に保存フォルダ記憶領域、ゴミ箱フォルダ記憶領域を形成して以下に説明する動作を行うこともできる。また、パーソナルコンピュータにおけるRAM、ハードディスク装置や、携帯電話機器におけるRAM、メモリーカードに保存フォルダ記憶領域、ゴミ箱フォルダ記憶領域を形成して以下に説明する動作を行うこともでき、更にあらゆる電子機器の記憶領域に保存フォルダ記憶領域、ゴミ箱フォルダ記憶領域を形成して以下に説明する動作を行うこともできる。   In this embodiment, the case where the storage folder storage area 50a and the trash can folder storage area 50b are formed in the primary storage RAM 50 will be described. However, the storage folder storage area and the trash can folder storage area are formed in the memory card 48. The operations described below can also be performed. In addition, a storage folder storage area and a trash folder storage area can be formed in a personal computer RAM, hard disk device, mobile phone device RAM, or memory card, and the operations described below can be performed. It is also possible to form the storage folder storage area and the trash folder storage area in the area and perform the operations described below.

以下の説明では、第1データ記憶領域が保存フォルダ記憶領域50aであり、第2データ記憶領域がゴミ箱フォルダ記憶領域50bである場合について説明するが、これには限るものではない。例えば、第2データ記憶領域は、第1データ記憶領域からデータが移動可能な記憶領域であれば、ユーザの操作により作成された各種のフォルダであっても良く、動画像データや音声データ等の撮像画像データとは異なる種類のデータが格納されるフォルダであっても良い。また、第1データ記憶領域は、保存フォルダ記憶領域50aのように撮像処理により得られた撮像画像データが格納されるフォルダに限らず、ユーザの操作により作成された各種のフォルダであっても良く、動画像データや音声データ等の撮像画像データとは異なる種類のデータが格納されるフォルダであっても良い。すなわち、第1データ記憶領域と第2データ記憶領域との関係は、第1データ記憶領域から第2データ記憶領域へデータを移動できる関係であれば、後述する実施形態に示す処理が適用できる。   In the following description, a case where the first data storage area is the storage folder storage area 50a and the second data storage area is the trash folder storage area 50b is described, but the present invention is not limited to this. For example, as long as the second data storage area is a storage area in which data can be moved from the first data storage area, the second data storage area may be various folders created by user operations, such as moving image data and audio data. It may be a folder that stores data of a different type from the captured image data. Further, the first data storage area is not limited to a folder in which captured image data obtained by the imaging process is stored as in the storage folder storage area 50a, but may be various folders created by user operations. Alternatively, it may be a folder storing data of a different type from captured image data such as moving image data and audio data. That is, as long as the relationship between the first data storage area and the second data storage area is such that data can be moved from the first data storage area to the second data storage area, the processing described in the embodiments described later can be applied.

なお、保存フォルダ記憶領域50aの記憶容量とゴミ箱フォルダ記憶領域50bの記憶容量とは、固定であっても良く、可変であっても良い。望ましくは、制御部42は、保存フォルダ記憶領域50aに格納される撮像画像データが多く、ゴミ箱フォルダ記憶領域50bに格納される撮像画像データが少ない場合には、保存フォルダ記憶領域50aの記憶容量を多くするよう可変とする。   Note that the storage capacity of the storage folder storage area 50a and the storage capacity of the trash can folder storage area 50b may be fixed or variable. Desirably, the control unit 42 increases the storage capacity of the storage folder storage area 50a when the captured image data stored in the storage folder storage area 50a is large and the captured image data stored in the trash folder storage area 50b is small. Variable to increase.

この保存データは、上述したような記録保存の状態により記録された撮像画像データであって、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに移動されていない撮像画像データである。また、削除データは、ユーザによるキー入力部49に対する操作により、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに移動され、保存フォルダ記憶領域50aから削除された撮像画像データである。ゴミ箱フォルダ記憶領域50bに格納された削除データは、ユーザによるキー入力部49の操作により、一次記憶RAM50から消去される。又は、ゴミ箱フォルダ記憶領域50bに格納された削除データは、制御部42の制御により、自動的に一次記憶RAM50から消去される。このような保存フォルダ記憶領域50aに対する保存データの記録、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bへの保存データの移動、ゴミ箱フォルダ記憶領域50bから削除データの消去は、一次記憶RAM50に対するデータの記憶処理を制御する制御手段である制御部42により行われる。なお、以下の説明では、ゴミ箱フォルダ記憶領域50bから削除データを取り除く場合に、当該削除データを一次記憶RAM50から消去する場合について説明するが、これに限らず、ゴミ箱フォルダ記憶領域50bから削除する削除データを更に他の記憶領域に移動させても良い。   This stored data is captured image data recorded in the above-described recording and storage state, and is captured image data that has not been moved from the storage folder storage area 50a to the trash folder storage area 50b. The deletion data is captured image data that has been moved from the storage folder storage area 50a to the trash folder storage area 50b and deleted from the storage folder storage area 50a by a user operation on the key input unit 49. The deletion data stored in the trash folder storage area 50b is erased from the primary storage RAM 50 by the operation of the key input unit 49 by the user. Alternatively, the deletion data stored in the trash folder storage area 50 b is automatically deleted from the primary storage RAM 50 under the control of the control unit 42. Such recording of storage data in the storage folder storage area 50a, movement of storage data from the storage folder storage area 50a to the trash folder storage area 50b, and deletion of deletion data from the trash folder storage area 50b are as follows. This is performed by the control unit 42 which is a control means for controlling the storage process. In the following description, a case will be described in which deletion data is deleted from the primary storage RAM 50 when deletion data is removed from the trash folder storage area 50b. However, the present invention is not limited to this, and deletion to be deleted from the trash box folder storage area 50b is described. Data may be moved to another storage area.

制御部42により自動的に削除データを消去する処理(自動消去処理)は、保存フォルダ記憶領域50aに格納された保存データをゴミ箱フォルダ記憶領域50bに移動させる場合に行われる。保存データをゴミ箱フォルダ記憶領域50bに移動させるタイミングとしては、ユーザが保存データをゴミ箱フォルダ記憶領域50bに移動させる操作を行った時が挙げられる。   Processing for automatically deleting the deletion data (automatic deletion processing) by the control unit 42 is performed when the storage data stored in the storage folder storage area 50a is moved to the trash folder storage area 50b. The timing for moving the saved data to the trash folder storage area 50b includes the time when the user performs an operation to move the saved data to the trash folder storage area 50b.

このとき、制御部42は、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に、移動させる保存データのデータ量を減少させて当該データ量が減少された保存データをゴミ箱フォルダ記憶領域50bに格納する。この所定の条件とは、削除データの撮像日時が最も古い、削除データが保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに移動された日時が最も古いといった、撮像画像データの古さに基づく条件である。この撮像画像データの古さは、撮像画像データの付加情報として含まれている。所定の条件とは、例えばデータ編集日時、アクセス日時といった撮像画像データの古さを示す他の指標を用いても良いことは勿論である。また、データ量を減少させる処理は、記録画素数を低下させる処理、JPEG方式に従って圧縮率を上昇させる処理を含む。その他、撮像画像データのデータ量を減少させることができれば、ラインデータの間引き処理等であっても良い。   At this time, the control unit 42 erases the deleted data stored in the trash folder storage area 50b according to a predetermined condition, and reduces the data amount of the saved data to be moved so that the saved data with the reduced data amount is trashed. Store in the folder storage area 50b. This predetermined condition is a condition based on the age of the captured image data, such as the oldest date and time when the deleted data was captured, and the oldest date and time when the deleted data was moved from the storage folder storage area 50a to the trash folder storage area 50b. is there. The age of the captured image data is included as additional information of the captured image data. Needless to say, the predetermined condition may use another index indicating the age of the captured image data, such as data editing date and time and access date and time. The process for reducing the data amount includes a process for reducing the number of recorded pixels and a process for increasing the compression rate according to the JPEG method. In addition, line data thinning-out processing or the like may be used as long as the amount of captured image data can be reduced.

制御部42は、各部の制御時に、ワークメモリとして使用される一次記憶RAM(Random Access Memory)50に対して各種のデータを格納する。制御部42は、一次記憶RAM50の保存フォルダ記憶領域50aに格納されている保存データの付加情報、ゴミ箱フォルダ記憶領域50bに格納されている削除データの付加情報を格納した管理テーブル50Bを作成して、一次記憶RAM50に記憶しておく。この付加情報は、上述のように、ゴミ箱フォルダ記憶領域50bに格納した削除データの消去を管理するために必要な情報である。制御部42は、管理テーブル50Bを参照して、ゴミ箱フォルダ記憶領域50bから削除データの自動消去処理を制御する。   The control unit 42 stores various data in a primary storage RAM (Random Access Memory) 50 used as a work memory when each unit is controlled. The control unit 42 creates a management table 50B that stores additional information of saved data stored in the saved folder storage area 50a of the primary storage RAM 50 and additional information of deleted data stored in the trash folder storage area 50b. , Stored in the primary storage RAM 50. As described above, this additional information is information necessary for managing the deletion of the deletion data stored in the trash folder storage area 50b. The control unit 42 refers to the management table 50B, and controls automatic deletion processing of deleted data from the trash folder storage area 50b.

以下に具体例について説明する。なお、この具体例においては、保存フォルダ記憶領域50aの容量が1MBである場合について説明する。図4(a)に示すように、データ記憶領域50Aのうち、保存フォルダ記憶領域50aに、ファイル名が画像1であってデータ量が0.5MBの保存データ101と、ファイル名が画像2であってデータ量が0.25MBの保存データ102と、ファイル名が画像3であってデータ量が1.0MBの保存データ103と、ファイル名が画像4であってデータ量が1.0MBの保存データ104とが格納されているとする。また、ゴミ箱フォルダ記憶領域50bは、空き領域105があるものとする。なお、ファイル名、データ量は、各保存データに対して付加された情報として含まれているものである。   Specific examples will be described below. In this specific example, a case where the storage folder storage area 50a has a capacity of 1 MB will be described. As shown in FIG. 4 (a), in the data storage area 50A, the storage folder storage area 50a has storage data 101 with a file name of image 1 and a data amount of 0.5 MB, and a file name of image 2. Thus, the storage data 102 having a data amount of 0.25 MB, the storage data 103 having a file name of image 3 and a data amount of 1.0 MB, and the storage name 103 having a file name of image 4 and a data amount of 1.0 MB. Assume that data 104 is stored. In addition, it is assumed that the trash folder storage area 50b has an empty area 105. The file name and the data amount are included as information added to each saved data.

その後、図4(a)から図4(b)に示すように、制御部42の制御に従って、ファイル名が画像1の保存データがゴミ箱フォルダ記憶領域50bに移動され、更にその後に、ファイル名が画像2の保存データがゴミ箱フォルダ記憶領域50bに移動されたとする。これにより、保存フォルダ記憶領域50aにおいて、画像1の保存データ101,画像2の保存データ102が格納されていた領域が空き領域105となり、当該保存データ101,保存データ102が、削除データ101’,削除データ102’としてゴミ箱フォルダ記憶領域50bに移動される。   Thereafter, as shown in FIGS. 4 (a) to 4 (b), according to the control of the control unit 42, the storage data of the file name of image 1 is moved to the trash folder storage area 50b. Assume that the saved data of image 2 is moved to the trash folder storage area 50b. As a result, in the storage folder storage area 50a, the area in which the storage data 101 of the image 1 and the storage data 102 of the image 2 are stored becomes the empty area 105, and the storage data 101 and the storage data 102 are deleted data 101 ′, The deleted data 102 ′ is moved to the trash folder storage area 50b.

制御部42は、図5(a)に示すように、保存データ101が削除データ101’としてゴミ箱フォルダ記憶領域50bに移動された時に、ファイル名情報である「画像1」とゴミ箱への移動日時情報である「2009/05/22 19:52」とを対応付けた管理テーブル50Bを作成する。その後、保存データ102が移動された時に、制御部42は、管理テーブル50Bに対し、ファイル名情報である「画像2」とゴミ箱への移動日時情報である「2009/06/01 12:02」とを対応付けた情報を、追加する。このように、ゴミ箱フォルダ記憶領域50bに空き領域が充分にある場合、制御部42は、ゴミ箱フォルダ記憶領域50bに格納された削除データを消去せず、且つ、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに移動させる保存データ101,保存データ102のデータ量を減少させない。   As shown in FIG. 5A, when the saved data 101 is moved to the trash folder storage area 50b as the deletion data 101 ', the control unit 42 moves the file name information "Image 1" and the date and time of movement to the trash. A management table 50B is created in association with information “2009/05/22 19:52”. After that, when the saved data 102 is moved, the control unit 42, for the management table 50B, “image 2” as file name information and “2009/06/01 12:02” as movement date / time information to the trash box. Information that associates with is added. As described above, when there is sufficient free space in the trash folder storage area 50b, the control unit 42 does not erase the deletion data stored in the trash folder storage area 50b and also stores the trash folder storage from the storage folder storage area 50a. The data amount of the saved data 101 and the saved data 102 to be moved to the area 50b is not reduced.

更にその後、図4(b)から図4(c)に示すように、制御部42の制御に従って、ファイル名が画像3であってデータ量が1.0MBの保存データ103が、ゴミ箱フォルダ記憶領域50bに移動されたとする。このとき、制御部42は、図4(b)のように削除データ101’、削除データ102’をゴミ箱フォルダ記憶領域50bに格納した状態でのゴミ箱フォルダ記憶領域50bの空き領域105に、保存データ103が格納可能なデータ量が存在するかを判定する。制御部42は、保存データ103のデータ量がゴミ箱フォルダ記憶領域50bの空き領域105のデータ量よりも多いので、データ量が1.0MBの保存データ103がゴミ箱フォルダ記憶領域50bの空き領域105には格納できないことを判定する。   Thereafter, as shown in FIGS. 4B to 4C, the storage data 103 having the file name of image 3 and the data amount of 1.0 MB is stored in the trash folder storage area under the control of the control unit 42. Suppose that it is moved to 50b. At this time, the control unit 42 stores the saved data in the empty area 105 of the trash folder storage area 50b in a state where the deletion data 101 ′ and the deletion data 102 ′ are stored in the trash folder storage area 50b as shown in FIG. It is determined whether or not there is an amount of data that can be stored in 103. Since the data amount of the storage data 103 is larger than the data amount of the empty area 105 in the trash folder storage area 50b, the control unit 42 saves the storage data 103 with the data amount of 1.0 MB in the empty area 105 of the trash folder storage area 50b. Determines that cannot be stored.

この場合、制御部42は、保存データ103に対して、当該保存データ103のデータ量を減少させる。制御部42は、データ圧縮部47aにより保存データ103のデータ量を減少させる処理をさせ、保存データ103を、データ量が0.25MBの削除データ106に変換させる。そして、制御部42は、当該削除データ106をゴミ箱フォルダ記憶領域50bに格納させる。ここで、データ圧縮部47aは、制御部42の制御に従って、データ量を減少させる処理として、データ圧縮率を上昇させる処理又は記録画素数を減少させる処理を行う。具体的には、データ圧縮部47aは、表1に示すように、現在の圧縮率及び記録画素数に対し、保存データのデータ量を減少させるように圧縮率、記録画素数の一方又は双方を変更する。   In this case, the control unit 42 reduces the data amount of the saved data 103 with respect to the saved data 103. The control unit 42 causes the data compression unit 47a to reduce the data amount of the stored data 103, and converts the stored data 103 into deleted data 106 having a data amount of 0.25 MB. Then, the control unit 42 stores the deletion data 106 in the trash folder storage area 50b. Here, the data compression unit 47a performs a process of increasing the data compression rate or a process of reducing the number of recording pixels as the process of decreasing the data amount according to the control of the control unit 42. Specifically, as shown in Table 1, the data compression unit 47a sets one or both of the compression rate and the number of recording pixels so as to reduce the data amount of the stored data with respect to the current compression rate and the number of recording pixels. change.

制御部42は、図5(b)に示すように、保存データ103が削除データ106としてゴミ箱フォルダ記憶領域50bに移動された時に、ファイル名情報である「画像3」とゴミ箱への移動日時情報である「2009/07/18 14:05」とを対応付けた情報を、管理テーブル50Bに追加する。   As shown in FIG. 5B, when the saved data 103 is moved to the trash folder storage area 50b as the deletion data 106, the control unit 42 displays “image 3” that is file name information and date and time information of movement to the trash. The information associated with “2009/07/18 14:05” is added to the management table 50B.

更にその後、図4(c)から図4(d)に示すように、制御部42の制御に従って、ファイル名が画像4であってデータ量が1.0MBの保存データ104が、ゴミ箱フォルダ記憶領域50bに移動されたとする。このとき、制御部42は、図4(c)のように削除データ101’、削除データ102’及び削除データ106をゴミ箱フォルダ記憶領域50bに格納した状態でのゴミ箱フォルダ記憶領域50bの空き領域が、保存データ104を格納可能なデータ量を有しているかを判定する。制御部42は、図4(c)に示したゴミ箱フォルダ記憶領域50bの状態では、空き領域がないので、データ量が1.0MBの保存データ104がゴミ箱フォルダ記憶領域50bには格納できないことを判定する。   Thereafter, as shown in FIGS. 4C to 4D, the storage data 104 having the file name of image 4 and the data amount of 1.0 MB is stored in the trash folder storage area according to the control of the control unit 42. Suppose that it is moved to 50b. At this time, as shown in FIG. 4C, the control unit 42 stores the empty area of the trash folder storage area 50b in a state where the deletion data 101 ′, the deletion data 102 ′, and the deletion data 106 are stored in the trash folder storage area 50b. It is determined whether the stored data 104 has a data amount that can be stored. In the state of the trash folder storage area 50b shown in FIG. 4C, the control unit 42 indicates that there is no empty area, so that the storage data 104 having a data amount of 1.0 MB cannot be stored in the trash folder storage area 50b. judge.

このように、制御部42は、保存フォルダ記憶領域50aに格納された保存データ104をゴミ箱フォルダ記憶領域50bに移動させる場合に、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に、移動させる保存データ104のデータ量を減少させて当該データ量が減少された保存データ104を、削除データ107としてゴミ箱フォルダ記憶領域50bに格納する。この所定の条件は、ゴミ箱フォルダ記憶領域50bに格納された削除データのうち、当該ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する、という条件である。   As described above, when the storage unit 104 moves the storage data 104 stored in the storage folder storage area 50a to the trash folder storage area 50b, the control unit 42 deletes the deletion data stored in the trash folder storage area 50b according to a predetermined condition. At the same time, the data amount of the saved data 104 to be moved is reduced, and the saved data 104 having the reduced data amount is stored as the deletion data 107 in the trash folder storage area 50b. This predetermined condition is a condition that, among the deletion data stored in the trash folder storage area 50b, the deletion data having the oldest time moved to the trash folder storage area 50b is deleted.

したがって、制御部42は、図5(b)に示した管理テーブル50Bのゴミ箱への移動日時情報に基づき、ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データが、ファイル名情報が「画像1」の削除データであることを認識し、当該削除データ101’をゴミ箱フォルダ記憶領域50bから消去する。これにより、ゴミ箱フォルダ記憶領域50bには、削除データ101’のデータ量分の0.5MBの空き領域が発生する。制御部42は、当該ゴミ箱フォルダ記憶領域50bの空き領域に対して、保存データ104を、削除データとして格納する。このとき、制御部42は、削除データ101’を消去した後において、ゴミ箱フォルダ記憶領域50bの空き領域が、保存データ104を格納可能なデータ量を有しているかを判定する。制御部42は、保存データ104のデータ量(1.0MB)がゴミ箱フォルダ記憶領域50bの空き領域のデータ量(0.5MB)よりも多いので、保存データ104がゴミ箱フォルダ記憶領域50bの空き領域105には格納できないことを判定する。   Therefore, the control unit 42 uses the date and time information of the management table 50B shown in FIG. 5B to move to the trash box, and delete data with the oldest time moved to the trash folder storage area 50b has file name information “ Recognizing the deletion data of image 1 ”, the deletion data 101 ′ is deleted from the trash folder storage area 50b. As a result, an empty area of 0.5 MB corresponding to the data amount of the deletion data 101 'is generated in the trash folder storage area 50b. The control unit 42 stores the saved data 104 as deletion data in the empty area of the trash folder storage area 50b. At this time, after erasing the deletion data 101 ′, the control unit 42 determines whether the empty area of the trash folder storage area 50 b has a data amount that can store the saved data 104. Since the data amount (1.0 MB) of the saved data 104 is larger than the data amount (0.5 MB) of the empty area of the trash folder storage area 50b, the control unit 42 stores the saved data 104 in the empty area of the trash folder storage area 50b. It is determined that the data cannot be stored in 105.

この場合、制御部42は、保存データ104に対して、当該保存データ104のデータ量を減少させる。制御部42は、データ圧縮部47aにより、保存データ104のデータ量を減少させる処理をさせ、保存データ104を、データ量が0.5MBの削除データ107に変換させる。そして、制御部42は、当該削除データ107をゴミ箱フォルダ記憶領域50bに格納させる。具体的には、データ圧縮部47aは、表1に示すように、現在の圧縮率及び記録画素数に対し、保存データのデータ量を減少させるように圧縮率、記録画素数の一方又は双方を変更する。   In this case, the control unit 42 reduces the data amount of the saved data 104 with respect to the saved data 104. The control unit 42 causes the data compression unit 47a to perform a process of reducing the data amount of the stored data 104, and converts the stored data 104 into deleted data 107 having a data amount of 0.5 MB. Then, the control unit 42 stores the deletion data 107 in the trash folder storage area 50b. Specifically, as shown in Table 1, the data compression unit 47a sets one or both of the compression rate and the number of recording pixels so as to reduce the data amount of the stored data with respect to the current compression rate and the number of recording pixels. change.

上述のように、データ圧縮部47aは、制御部42の制御に従って、データ量を減少させる処理として、データ圧縮率を上昇させる処理又は記録画素数を減少させる処理を行う。具体的には、制御部42は、予めユーザの操作に基づいて、データ量を減少させる時に記録画素数を減少させるか圧縮率を上昇させるかが選択されている設定情報を記憶していても良い。この場合、データ圧縮部47aは、当該設定情報に基づく制御部42の制御に従って、記録画素数を減少させる処理又は圧縮率を上昇させる処理を行う。データ圧縮部47aは、ゴミ箱フォルダ記憶領域50bに移動される保存データの記録画素数又は圧縮率を取得し、上述の表1を参照して、ゴミ箱フォルダ記憶領域50bに格納可能なデータ量となる記録画素数又は圧縮率を選択する。そして、データ圧縮部47aは、選択した記録画素数又は圧縮率となるように保存データにデータ量を減少させる処理を施して、削除データ107を作成する。   As described above, the data compression unit 47a performs a process of increasing the data compression rate or a process of reducing the number of recording pixels as the process of decreasing the data amount according to the control of the control unit 42. Specifically, the control unit 42 may store setting information in which whether to decrease the number of recorded pixels or increase the compression rate when the data amount is decreased is previously stored based on a user operation. good. In this case, the data compression unit 47a performs a process of decreasing the number of recorded pixels or a process of increasing the compression rate according to the control of the control unit 42 based on the setting information. The data compression unit 47a obtains the number of recorded pixels or the compression rate of the stored data to be moved to the trash can folder storage area 50b, and refers to Table 1 described above to obtain the data amount that can be stored in the trash can folder storage area 50b. Select the number of recording pixels or compression rate. Then, the data compression unit 47a performs processing for reducing the data amount on the stored data so as to achieve the selected number of recording pixels or compression rate, and creates the deletion data 107.

例えば、表1において、保存データ104が“2MB×β=1.0[MB]”である場合、データ圧縮部47aは、中圧縮率のβを低圧縮率のγに変更することにより、“2MB×γ=0.5[MB]”の削除データ107を作成する。また、他の例としては、表1において、保存データ104が“3MB×γ=1.0[MB]”である場合、データ圧縮部47aは、記録画素数の2560ドット×1920ドットを2048ドット×1536ドットに変更することにより、“2MB×γ=0.5[MB]”の削除データ107を作成する。なお、上述の保存データ103のデータ量を減少させて、削除データ106を作成する処理も同様である。   For example, in Table 1, when the stored data 104 is “2 MB × β = 1.0 [MB]”, the data compression unit 47a changes the medium compression ratio β to the low compression ratio γ, thereby “ Delete data 107 of 2 MB × γ = 0.5 [MB] ”is created. As another example, in Table 1, when the stored data 104 is “3 MB × γ = 1.0 [MB]”, the data compression unit 47a sets the recording pixel count of 2560 dots × 1920 dots to 2048 dots. By changing to × 1536 dots, deletion data 107 of “2 MB × γ = 0.5 [MB]” is created. The process for creating the deletion data 106 by reducing the data amount of the stored data 103 is the same.

制御部42は、図5(c)に示すように、ゴミ箱フォルダ記憶領域50bから削除データ101’を消去した時に管理テーブル50Bに格納されたファイル名情報が「画像1」であってゴミ箱への移動日時情報である「2009/05/22 19:52」を削除する。その後、制御部42は、保存データ104が削除データ107としてゴミ箱フォルダ記憶領域50bに移動された時に、ファイル名情報である「画像4」とゴミ箱への移動日時情報である「2009/08/11 10:11」とを対応付けた情報を、管理テーブル50Bに追加する。   As shown in FIG. 5C, the control unit 42 deletes the deletion data 101 ′ from the trash folder storage area 50b, and the file name information stored in the management table 50B is “image 1” and the trash can is stored in the trash box. “2009/05/22 19:52” which is the movement date information is deleted. Thereafter, when the saved data 104 is moved to the trash folder storage area 50b as the deletion data 107, the control unit 42 “file 4” as the file name information and “2009/08/11” as the movement date / time information to the trash box. 10:11 ”is added to the management table 50B.

以上のように、本発明を適用したデジタルスチルカメラ1によれば、保存フォルダ記憶領域50aに格納された保存データをゴミ箱フォルダ記憶領域50bに移動させる場合に、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に、移動させる保存データのデータ量を減少させて当該データ量が減少された保存データをゴミ箱フォルダ記憶領域50bに格納する。このデジタルスチルカメラ1によれば、保存データをゴミ箱フォルダ記憶領域50bに格納可能なデータ量に変換するので、1個の削除データを消去するだけで、確実に保存データをゴミ箱フォルダ記憶領域50bに格納できる。このように、デジタルスチルカメラ1によれば、一次記憶RAM50の記憶容量に制限がある場合であっても、保存するデータ及び削除するデータの管理を適切に行うことができる。   As described above, according to the digital still camera 1 to which the present invention is applied, when the storage data stored in the storage folder storage area 50a is moved to the trash folder storage area 50b, the trash folder storage area 50b according to a predetermined condition. Is deleted, and the amount of saved data to be moved is reduced, and the saved data with the reduced data amount is stored in the trash folder storage area 50b. According to the digital still camera 1, the stored data is converted into a data amount that can be stored in the trash folder storage area 50b. Therefore, the stored data can be reliably stored in the trash folder storage area 50b only by deleting one deletion data. Can be stored. Thus, according to the digital still camera 1, even when the storage capacity of the primary storage RAM 50 is limited, it is possible to appropriately manage data to be saved and data to be deleted.

また、このデジタルスチルカメラ1によれば、所定の条件として、ゴミ箱フォルダ記憶領域50bに格納された削除データのうち、当該ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する条件に従って、ゴミ箱フォルダ記憶領域50bに格納された削除データを消去するので、ユーザがゴミ箱フォルダ記憶領域50bに格納されたデータを確認したい場合に、当該確認したいデータがないという事態が起こる可能性を低くできる。   Further, according to the digital still camera 1, as a predetermined condition, among deletion data stored in the trash folder storage area 50b, a condition for deleting the deletion data having the oldest time moved to the trash folder storage area 50b. Therefore, when the user wants to check the data stored in the trash folder storage area 50b, it is less likely that there will be no data to be checked. it can.

つぎに、上述したデジタルスチルカメラ1において、制御部42が、所定の条件として、ゴミ箱フォルダ記憶領域50bに格納された削除データのうち最もデータ生成時刻(撮影日、撮影時刻)が古い削除データを消去する条件に従って、ゴミ箱フォルダ記憶領域50bに格納された削除データを消去する実施形態について説明する。   Next, in the digital still camera 1 described above, the control unit 42 deletes deleted data having the oldest data generation time (shooting date, shooting time) among the deleted data stored in the trash folder storage area 50b as a predetermined condition. An embodiment will be described in which the deletion data stored in the trash folder storage area 50b is deleted in accordance with the deletion conditions.

具体的には、図6(a)に示すように、データ記憶領域50Aのうち、保存フォルダ記憶領域50aに、ファイル名が画像1、データ量が0.5MB、撮影日が2009/01/01の保存データ101と、ファイル名が画像2、データ量が0.25MB、撮影日が2009/03/12の保存データ102と、ファイル名が画像3、データ量が1.0MB、撮影日が2009/04/21の保存データ103と、ファイル名が画像4、データ量が1.0MB、撮影日が2009/04/27の保存データ104とが格納されているとする。また、ゴミ箱フォルダ記憶領域50bは、空き領域105があるものとする。なお、ファイル名、データ量、撮影日は、各保存データに対して付加された情報として含まれているものである。   Specifically, as shown in FIG. 6A, the file name is image 1, the data amount is 0.5 MB, and the shooting date is 2009/01/01 in the storage folder storage area 50a of the data storage area 50A. Saved data 101, file name is image 2, data amount is 0.25MB, shooting date is 2009/03/12, file name is image 3, data amount is 1.0MB, shooting date is 2009 Suppose that the storage data 103 of / 04/21 and the storage data 104 of a file name of image 4, a data amount of 1.0 MB, and a shooting date of 2009/04/27 are stored. In addition, it is assumed that the trash folder storage area 50b has an empty area 105. The file name, the data amount, and the shooting date are included as information added to each saved data.

この具体例における管理テーブル50Bは、例えば図7に示すようになる。この管理テーブル50Bには、ゴミ箱フォルダ記憶領域50bに格納した削除データの消去を管理するために必要な情報として、ファイル名情報と撮影日情報とが対応付けられている。制御部42は、管理テーブル50Bを参照して、ゴミ箱フォルダ記憶領域50bから削除データの自動消去処理を制御する。   The management table 50B in this specific example is as shown in FIG. In the management table 50B, file name information and shooting date information are associated with each other as information necessary for managing deletion of deletion data stored in the trash folder storage area 50b. The control unit 42 refers to the management table 50B, and controls automatic deletion processing of deleted data from the trash folder storage area 50b.

その後、図6(a)から図6(b)に示すように、制御部42の制御に従って、ファイル名が画像1の保存データがゴミ箱フォルダ記憶領域50bに移動され、更にその後に、ファイル名が画像2の保存データがゴミ箱フォルダ記憶領域50bに移動されたとする。これにより、保存フォルダ記憶領域50aには、画像1の保存データ101,画像2の保存データ102が格納されていた領域が空き領域105となり、当該保存データ101,保存データ102が、削除データ101’,削除データ102’としてゴミ箱フォルダ記憶領域50bに移動される。   Thereafter, as shown in FIG. 6A to FIG. 6B, according to the control of the control unit 42, the saved data of the file name of image 1 is moved to the trash folder storage area 50b. Assume that the saved data of image 2 is moved to the trash folder storage area 50b. Thereby, in the storage folder storage area 50a, the area where the storage data 101 of the image 1 and the storage data 102 of the image 2 are stored becomes the empty area 105, and the storage data 101 and the storage data 102 are deleted data 101 ′. , The deleted data 102 'is moved to the trash folder storage area 50b.

ゴミ箱フォルダ記憶領域50bに空き領域が充分にある場合、制御部42は、ゴミ箱フォルダ記憶領域50bに格納された削除データを消去せず、且つ、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに移動させる保存データ101,保存データ102のデータ量を減少させない。   When there is enough free space in the trash folder storage area 50b, the control unit 42 does not erase the deletion data stored in the trash folder storage area 50b and moves from the storage folder storage area 50a to the trash folder storage area 50b. The data amount of the stored data 101 and the stored data 102 is not reduced.

更にその後、図6(b)から図6(c)に示すように、制御部42の制御に従って、ファイル名が画像3であってデータ量が1.0MBの保存データ103が、ゴミ箱フォルダ記憶領域50bに移動されたとする。このとき、制御部42は、図6(b)のように削除データ101’、削除データ102’をゴミ箱フォルダ記憶領域50bに格納した状態でのゴミ箱フォルダ記憶領域50bの空き領域105が、保存データ103を格納可能なデータ量を有しているかを判定する。制御部42は、保存データ103のデータ量がゴミ箱フォルダ記憶領域50bの空き領域105のデータ量よりも多いので、保存データ103をゴミ箱フォルダ記憶領域50bの空き領域105には格納できないことを判定する。   Thereafter, as shown in FIG. 6B to FIG. 6C, according to the control of the control unit 42, the storage data 103 whose file name is the image 3 and whose data amount is 1.0 MB is stored in the trash folder storage area. Suppose that it is moved to 50b. At this time, as shown in FIG. 6B, the control unit 42 stores the empty area 105 of the trash folder storage area 50b in the state where the deletion data 101 ′ and the deletion data 102 ′ are stored in the trash folder storage area 50b as the saved data. It is determined whether or not it has a data amount capable of storing 103. The control unit 42 determines that the saved data 103 cannot be stored in the empty area 105 of the trash folder storage area 50b because the data amount of the saved data 103 is larger than the data quantity of the empty area 105 of the trash folder storage area 50b. .

この場合、制御部42は、保存データ103に対して、当該保存データ103のデータ量を減少させる。制御部42は、データ圧縮部47aにより、保存データ103のデータ量を減少させる処理をさせ、保存データ103を、データ量が0.25MBの削除データ106に変換させる。そして、制御部42は、当該削除データ106をゴミ箱フォルダ記憶領域50bに格納させる。ここで、データ圧縮部47aは、制御部42の制御に従って、データ量を減少させる処理として、データ圧縮率を上昇させる処理又は記録画素数を減少させる処理を行う。   In this case, the control unit 42 reduces the data amount of the saved data 103 with respect to the saved data 103. The control unit 42 causes the data compression unit 47a to reduce the data amount of the stored data 103, and converts the stored data 103 into deleted data 106 having a data amount of 0.25 MB. Then, the control unit 42 stores the deletion data 106 in the trash folder storage area 50b. Here, the data compression unit 47a performs a process of increasing the data compression rate or a process of reducing the number of recording pixels as the process of decreasing the data amount according to the control of the control unit 42.

更にその後、図6(c)から図6(d)に示すように、制御部42の制御に従って、ファイル名が画像4であってデータ量が1.0MBの保存データ104が、ゴミ箱フォルダ記憶領域50bに移動されたとする。このとき、制御部42は、図6(c)のように削除データ101’、削除データ102’及び削除データ106をゴミ箱フォルダ記憶領域50bに格納した状態でのゴミ箱フォルダ記憶領域50bの空き領域が、保存データ104を格納可能なデータ量を有しているかを判定する。制御部42は、図6(c)に示したゴミ箱フォルダ記憶領域50bの状態では、空き領域がないので、データ量が1.0MBの保存データ104がゴミ箱フォルダ記憶領域50bには格納できないことを判定する。   Thereafter, as shown in FIGS. 6C to 6D, the storage data 104 having the file name of image 4 and the data amount of 1.0 MB is stored in the trash folder storage area under the control of the control unit 42. Suppose that it is moved to 50b. At this time, as shown in FIG. 6C, the control unit 42 stores the free space in the trash folder storage area 50b in a state where the deletion data 101 ′, the deletion data 102 ′, and the deletion data 106 are stored in the trash folder storage area 50b. It is determined whether the stored data 104 has a data amount that can be stored. In the state of the trash folder storage area 50b shown in FIG. 6 (c), the control unit 42 indicates that there is no empty area, so that the storage data 104 having a data amount of 1.0 MB cannot be stored in the trash folder storage area 50b. judge.

このように、制御部42は、保存フォルダ記憶領域50aに格納された保存データ104をゴミ箱フォルダ記憶領域50bに移動させる場合に、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に、移動させる保存データ104のデータ量を減少させて当該データ量が減少された保存データ104を、削除データ107としてゴミ箱フォルダ記憶領域50bに格納する。この所定の条件は、ゴミ箱フォルダ記憶領域50bに格納された削除データのうち最も撮影日(データ生成時刻)が古い削除データを消去する、という条件である。   As described above, when the storage unit 104 moves the storage data 104 stored in the storage folder storage area 50a to the trash folder storage area 50b, the control unit 42 deletes the deletion data stored in the trash folder storage area 50b according to a predetermined condition. At the same time, the data amount of the saved data 104 to be moved is reduced, and the saved data 104 having the reduced data amount is stored as the deletion data 107 in the trash folder storage area 50b. This predetermined condition is a condition that deleted data having the oldest shooting date (data generation time) is deleted from the deleted data stored in the trash folder storage area 50b.

制御部42は、図7に示した管理テーブル50Bの最も古い撮影日情報を参照して、撮影日情報が「2009/01/01」であり、ファイル名情報が「画像1」の保存データ104に対して、当該保存データ104のデータ量を減少させる。制御部42は、データ圧縮部47aにより、保存データ104のデータ量を減少させる処理をさせ、保存データ104を、データ量が0.5MBの削除データ107に変換させる。そして、制御部42は、当該削除データ107をゴミ箱フォルダ記憶領域50bに格納させる。   The control unit 42 refers to the oldest shooting date information in the management table 50B shown in FIG. 7, and the stored data 104 with the shooting date information “2009/01/01” and the file name information “image 1”. In contrast, the data amount of the stored data 104 is reduced. The control unit 42 causes the data compression unit 47a to perform a process of reducing the data amount of the stored data 104, and converts the stored data 104 into deleted data 107 having a data amount of 0.5 MB. Then, the control unit 42 stores the deletion data 107 in the trash folder storage area 50b.

以上のように、デジタルスチルカメラ1によれば、所定の条件として、ゴミ箱フォルダ記憶領域50bに格納された削除データのうち最も撮影日が古い削除データを消去する条件に従って、ゴミ箱フォルダ記憶領域50bに格納された削除データを消去するので、ユーザがゴミ箱フォルダ記憶領域50bに格納された削除データを確認したい場合に、当該確認したい削除データがないという事態が起こる可能性を低くできる。   As described above, according to the digital still camera 1, as a predetermined condition, the deletion data stored in the trash folder storage area 50b is stored in the trash folder storage area 50b according to the condition for deleting the deletion data having the oldest shooting date. Since the stored deletion data is erased, when the user wants to confirm the deletion data stored in the trash can folder storage area 50b, the possibility that there is no deletion data to be confirmed can be reduced.

つぎに、上述したように構成されたデジタルスチルカメラ1によるゴミ箱フォルダ記憶領域50bからの削除データの自動消去処理について、図8を参照して説明する。上述したデジタルスチルカメラ1は、制御部42内のROMに、当該デジタルスチルカメラ1のプログラムを記憶している。このデジタルスチルカメラ1は、内部コンピュータである制御部42により、プログラムを実行することにより、削除データの自動消去処理を実行する。   Next, automatic deletion processing of deletion data from the trash box storage area 50b by the digital still camera 1 configured as described above will be described with reference to FIG. The digital still camera 1 described above stores the program of the digital still camera 1 in the ROM in the control unit 42. The digital still camera 1 executes a deletion data automatic erasing process by executing a program by the control unit 42 which is an internal computer.

先ず、ステップS1において、制御部42は、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに対して移動させるべき保存データが存在するか否かを判定する。このとき、制御部42は、例えば、ユーザの操作により、保存フォルダ記憶領域50aに格納されている保存データが選択され、当該保存データをゴミ箱フォルダ記憶領域50bに移動させることを認識した場合には、ステップS2に処理を進め、そうでない場合には、ステップS1の処理を繰り返す。   First, in step S1, the control unit 42 determines whether there is saved data to be moved from the saved folder storage area 50a to the trash box folder storage area 50b. At this time, for example, when the control unit 42 recognizes that the saved data stored in the saved folder storage area 50a is selected by the user's operation and the saved data is moved to the trash folder storage area 50b, The process proceeds to step S2, and if not, the process of step S1 is repeated.

次のステップS2において、制御部42は、ゴミ箱フォルダ記憶領域50bの削除データを消去するための情報としての管理テーブル50Bを一次記憶RAM50から読み出す。   In the next step S2, the control unit 42 reads from the primary storage RAM 50 a management table 50B as information for deleting the deleted data in the trash box folder storage area 50b.

次のステップS3において、制御部42は、現在のゴミ箱フォルダ記憶領域50bの空き領域の容量が、移動させるべき保存データのデータ量よりも少ないか否かを判定する。制御部42は、ゴミ箱フォルダ記憶領域50bの空き領域の容量が保存データのデータ量よりも少ない場合には、ステップS4に処理を進め、そうでない場合には、ステップS8に処理を進める。   In the next step S3, the control unit 42 determines whether or not the capacity of the empty area of the current trash box folder storage area 50b is smaller than the data amount of the stored data to be moved. If the capacity of the empty area of the trash folder storage area 50b is smaller than the data amount of the stored data, the control unit 42 proceeds to step S4, and otherwise proceeds to step S8.

ステップS3にて否定判定された後のステップS8においては、上述した図4(b)、図6(b)のように、制御部42は、保存データをゴミ箱フォルダ記憶領域50bの空き領域に格納する。次のステップS9において、制御部42は、管理テーブル50Bを更新する。ここで、制御部42は、図4を参照して説明したようにゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する設定である場合には、管理テーブル50Bにおけるゴミ箱フォルダ記憶領域50bに移動した削除データについてのゴミ箱への移動日時情報を追加する。一方、制御部42は、図6を参照して説明したように最も撮影日が古い削除データを消去する設定である場合には、管理テーブル50Bの更新をせずに処理を終了する。このような2種類の保存フォルダ記憶領域50aに格納された削除データを消去する所定の条件は、初期設定として何れか一方設定されていても良く、ユーザの操作に応じて選択できるようにしても良い。   In step S8 after a negative determination is made in step S3, as shown in FIGS. 4B and 6B described above, the control unit 42 stores the saved data in the empty area of the trash folder storage area 50b. To do. In the next step S9, the control unit 42 updates the management table 50B. Here, as described with reference to FIG. 4, the control unit 42 stores the trash folder storage in the management table 50 </ b> B when the deletion data having the oldest time moved to the trash folder storage area 50 b is deleted. Information on the date and time when the deleted data moved to the area 50b is moved to the trash can is added. On the other hand, as described with reference to FIG. 6, the control unit 42 ends the process without updating the management table 50 </ b> B when the deletion data having the oldest shooting date is set to be deleted. One of the predetermined conditions for deleting the deletion data stored in the two types of storage folder storage areas 50a may be set as an initial setting, and may be selected according to a user operation. good.

ステップS4において、制御部42は、ゴミ箱フォルダ記憶領域50b内の削除データのうち、消去する対象となる削除データを選択する。このとき、制御部42は、管理テーブル50Bを参照して、ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データ又は最も撮影日が古い削除データを選択する。   In step S4, the control unit 42 selects the deletion data to be deleted from the deletion data in the trash folder storage area 50b. At this time, the control unit 42 refers to the management table 50B and selects the deleted data with the oldest time or the oldest shooting date when moved to the trash folder storage area 50b.

次のステップS5において、制御部42は、ステップS4にて選択された削除データを、ゴミ箱フォルダ記憶領域50bから消去する。このとき、制御部42は、管理テーブル50Bから、消去した削除データについての情報を、消去する。   In the next step S5, the control unit 42 deletes the deletion data selected in step S4 from the trash folder storage area 50b. At this time, the control unit 42 deletes information about the deleted data that has been deleted from the management table 50B.

次のステップS6において、制御部42は、ゴミ箱フォルダ記憶領域50bに移動させる保存データのデータ量が、ステップS5にて消去された後のゴミ箱フォルダ記憶領域50bの空き領域の容量よりも多いか否かを判定する。制御部42は、保存データのデータ量が、ゴミ箱フォルダ記憶領域50bの空き領域の容量よりも多い場合にはステップS7に処理を進め、そうでない場合にはステップS8に処理を進める。   In the next step S6, the control unit 42 determines whether or not the amount of stored data to be moved to the trash can folder storage area 50b is larger than the capacity of the empty area of the trash can folder storage area 50b after being erased in step S5. Determine whether. The control unit 42 proceeds to step S7 if the amount of stored data is larger than the capacity of the free space in the trash folder storage area 50b, and proceeds to step S8 otherwise.

ステップS6にて否定判定された後のステップS8において、制御部42は、ゴミ箱フォルダ記憶領域50bの空き領域に対して保存データを格納することにより、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに保存データを移動させる。次のステップS9において、制御部42は、管理テーブル50Bを更新する。ここで、制御部42は、ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する設定である場合には、ゴミ箱フォルダ記憶領域50bに移動した削除データについてのゴミ箱への移動日時情報を追加する。一方、制御部42は、最も撮影日が古い削除データを消去する設定である場合には、管理テーブル50Bの更新をせずに処理を終了する。   In step S8 after a negative determination is made in step S6, the control unit 42 stores the saved data in the empty area of the trash folder storage area 50b, so that the saved folder storage area 50a changes to the trash folder storage area 50b. Move stored data. In the next step S9, the control unit 42 updates the management table 50B. Here, in the case where the setting is to delete the deleted data whose time moved to the trash folder storage area 50b is the oldest, the control unit 42 moves the erasure date of the deleted data moved to the trash folder storage area 50b to the trash box. Add information. On the other hand, when the setting is to delete the deleted data with the oldest shooting date, the control unit 42 ends the process without updating the management table 50B.

ステップS7において、制御部42は、データ圧縮部47aを制御して、移動させる保存データのデータ量を減少させる。このとき、データ圧縮部47aは、保存データに対して記録画素数を減少させる処理又は保存データの圧縮率を低下させる処理を行う。なお、データ圧縮部47aは、表1を参照して、記録画素数を減少させるか又は圧縮率を上昇させるかの一方を行っても良い。又は、データ圧縮部47aは、表1を参照して、記録画素数を減少させる及び圧縮率を上昇させることの双方を行っても良い。データ圧縮部47aは、表1を参照することにより、ゴミ箱フォルダ記憶領域50bの空き領域に確実に格納できるよう保存データのデータ量を減少するために、記録画素数及び圧縮率を選択できる。   In step S7, the control unit 42 controls the data compression unit 47a to reduce the amount of stored data to be moved. At this time, the data compression unit 47a performs processing for reducing the number of recorded pixels or processing for reducing the compression rate of the storage data with respect to the storage data. The data compression unit 47a may refer to Table 1 and perform either one of decreasing the number of recording pixels or increasing the compression rate. Alternatively, the data compression unit 47a may refer to Table 1 to both reduce the number of recorded pixels and increase the compression rate. By referring to Table 1, the data compression unit 47a can select the number of recording pixels and the compression rate in order to reduce the data amount of the stored data so that it can be reliably stored in the empty area of the trash folder storage area 50b.

次のステップS8において、制御部42は、ゴミ箱フォルダ記憶領域50bの空き領域に対して保存データを格納することにより、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに保存データを移動させる。次のステップS9において、制御部42は、管理テーブル50Bを更新する。ここで、制御部42は、ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する設定である場合には、ゴミ箱フォルダ記憶領域50bに移動した削除データについてのゴミ箱への移動日時情報を追加する。一方、制御部42は、最も撮影日が古い削除データを消去する設定である場合には、管理テーブル50Bの更新をせずに処理を終了する。   In the next step S8, the control unit 42 moves the saved data from the saved folder storage area 50a to the trash can folder storage area 50b by storing the saved data in the empty area of the trash can folder storage area 50b. In the next step S9, the control unit 42 updates the management table 50B. Here, in the case where the setting is to delete the deleted data whose time moved to the trash folder storage area 50b is the oldest, the control unit 42 moves the erasure date of the deleted data moved to the trash folder storage area 50b to the trash box. Add information. On the other hand, when the setting is to delete the deleted data with the oldest shooting date, the control unit 42 ends the process without updating the management table 50B.

以上のように、デジタルスチルカメラ1によれば、保存データをゴミ箱フォルダ記憶領域50bに格納可能なデータ量に変換するので、1個の削除データを消去するだけで、確実に保存データをゴミ箱フォルダ記憶領域50bに格納できる。したがって、デジタルスチルカメラ1によれば、一次記憶RAM50の記憶容量に制限がある場合であっても、保存するデータ及び削除するデータの管理を適切に行うことができる。   As described above, according to the digital still camera 1, the stored data is converted into the amount of data that can be stored in the trash folder storage area 50b. Therefore, the erasure data can be reliably transferred to the trash folder only by deleting one deleted data. It can be stored in the storage area 50b. Therefore, according to the digital still camera 1, even when the storage capacity of the primary storage RAM 50 is limited, data to be saved and data to be deleted can be appropriately managed.

つぎに、デジタルスチルカメラ1による他の削除データの自動消去処理について、図9を参照して説明する。なお、上述した図8に示した削除データの自動削除処理と同じ処理については、同一符号を付することによりその詳細な説明を省略する。   Next, automatic deletion processing of other deletion data by the digital still camera 1 will be described with reference to FIG. Note that the same processing as the processing for automatically deleting deleted data shown in FIG. 8 described above is denoted by the same reference numeral, and detailed description thereof is omitted.

制御部42は、上述したようにステップS1〜ステップS3の処理を行う。ステップS3において、制御部42は、ゴミ箱フォルダ記憶領域50bの空き領域の容量が保存データのデータ量よりも少ない場合には、ステップS11に処理を進め、そうでない場合には、ステップS8に処理を進める。   As described above, the control unit 42 performs the processes in steps S1 to S3. In step S3, the control unit 42 proceeds to step S11 when the capacity of the empty area of the trash folder storage area 50b is smaller than the data amount of the stored data, and otherwise proceeds to step S8. Proceed.

ステップS11において、制御部42は、保存データのデータ量を減少させることにより、保存データをゴミ箱フォルダ記憶領域50bに格納して移動させることができるか否かを判定する。このとき、制御部42は、表1を参照して、保存データの記録画素数を減少させ又は保存データの圧縮率を上昇させることにより、ゴミ箱フォルダ記憶領域50bの空き領域の容量よりも少ないデータ量にすることができるかを判断する。例えば、制御部42は、表1において、記録画素数が3種類、圧縮率(画質)が3種類しか設定されていない場合、最もデータ量が少ない1024ドット×768ドット且つエコノミーの圧縮率のγにしても、保存データがゴミ箱フォルダ記憶領域50bの空き領域の容量よりも少なくならないかを判定する。制御部42は、保存データのデータ量を減少させることにより保存データが移動可能である場合にはステップS12に処理を進め、そうでない場合にはステップS4〜ステップS7に処理を移行する。   In step S11, the control unit 42 determines whether or not the stored data can be stored and moved in the trash folder storage area 50b by reducing the data amount of the stored data. At this time, referring to Table 1, the control unit 42 reduces the number of recorded pixels of the stored data or increases the compression rate of the stored data, thereby reducing the data less than the free space capacity of the trash folder storage area 50b. Determine if it can be in quantity. For example, when only three types of recording pixels and three types of compression ratios (image quality) are set in Table 1, the control unit 42 has the smallest data amount of 1024 dots × 768 dots and the compression ratio γ of the economy Even so, it is determined whether the stored data is less than the capacity of the empty area of the trash folder storage area 50b. The controller 42 advances the process to step S12 if the saved data can be moved by reducing the data amount of the saved data, and moves the process to steps S4 to S7 otherwise.

このステップS4〜ステップS7において、制御部42は、図8に示したように、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に移動させる保存データのデータ量を減少させて当該保存データをゴミ箱フォルダ記憶領域50bに格納し、ステップS8に処理を進める。   In steps S4 to S7, as shown in FIG. 8, the control unit 42 deletes the deleted data stored in the trash folder storage area 50b according to a predetermined condition and reduces the amount of saved data to be moved. The stored data is stored in the trash folder storage area 50b, and the process proceeds to step S8.

ステップS12において、制御部42は、データ圧縮部47aを制御して、移動させる保存データのデータ量を減少させる。このとき、データ圧縮部47aは、保存データに対して記録画素数を減少させる処理又は保存データの圧縮率を低下させる処理を行う。次のステップS8において、制御部42は、ゴミ箱フォルダ記憶領域50bの空き領域に対して保存データを格納することにより、保存フォルダ記憶領域50aからゴミ箱フォルダ記憶領域50bに保存データを移動させる。次のステップS9において、制御部42は、管理テーブル50Bを更新する。ここで、制御部42は、ゴミ箱フォルダ記憶領域50bに移動された時刻が最も古い削除データを消去する設定である場合には、ゴミ箱フォルダ記憶領域50bに移動した削除データについてのゴミ箱への移動日時情報を追加する。一方、制御部42は、最も撮影日が古い削除データを消去する設定である場合には、管理テーブル50Bの更新をせずに処理を終了する。   In step S12, the control unit 42 controls the data compression unit 47a to reduce the amount of stored data to be moved. At this time, the data compression unit 47a performs processing for reducing the number of recorded pixels or processing for reducing the compression rate of the storage data with respect to the storage data. In the next step S8, the control unit 42 moves the saved data from the saved folder storage area 50a to the trash can folder storage area 50b by storing the saved data in the empty area of the trash can folder storage area 50b. In the next step S9, the control unit 42 updates the management table 50B. Here, in the case where the setting is to delete the deleted data whose time moved to the trash folder storage area 50b is the oldest, the control unit 42 moves the erasure date of the deleted data moved to the trash folder storage area 50b to the trash box. Add information. On the other hand, when the setting is to delete the deleted data with the oldest shooting date, the control unit 42 ends the process without updating the management table 50B.

以上のように、このデジタルスチルカメラ1によれば、制御部42が、移動される保存データのデータ量を減少させてゴミ箱フォルダ記憶領域50bに格納可能かを判定し、当該データ量が減少された保存データをゴミ箱フォルダ記憶領域50bに格納可能である場合には当該保存データを当該ゴミ箱フォルダ記憶領域50bに格納する。一方、制御部42は、当該データ量が減少された保存データをゴミ箱フォルダ記憶領域50bに格納可能ではない場合に初めて、所定の条件に従ってゴミ箱フォルダ記憶領域50bに格納された削除データを消去すると共に移動させる保存データのデータ量を減少させて当該保存データをゴミ箱フォルダ記憶領域50bに格納する。   As described above, according to the digital still camera 1, the control unit 42 determines whether or not the data amount of the stored data to be moved can be reduced and stored in the trash folder storage area 50b, and the data amount is reduced. If the stored data can be stored in the trash folder storage area 50b, the stored data is stored in the trash folder storage area 50b. On the other hand, the control unit 42 deletes the deleted data stored in the trash folder storage area 50b according to a predetermined condition only when the saved data whose data amount has been reduced cannot be stored in the trash folder storage area 50b. The amount of saved data to be moved is reduced and the saved data is stored in the trash folder storage area 50b.

これにより、デジタルスチルカメラ1は、移動される保存データのデータ量を減少させてゴミ箱フォルダ記憶領域50bに格納可能かに応じて、ゴミ箱フォルダ記憶領域50bに格納された削除データを一次記憶RAM50から消去するかを選択できる。したがって、このデジタルスチルカメラ1によれば、多くとも1個の削除データを消去するだけで、確実に保存データをゴミ箱フォルダ記憶領域50bに格納できる。このように、デジタルスチルカメラ1によれば、一次記憶RAM50の記憶容量に制限がある場合であっても、保存するデータ及び消去するデータの管理を適切に行うことができる。   As a result, the digital still camera 1 reduces the amount of stored data to be moved and stores the deleted data stored in the trash folder storage area 50b from the primary storage RAM 50 according to whether the data can be stored in the trash folder storage area 50b. You can choose whether to delete. Therefore, according to the digital still camera 1, the stored data can be reliably stored in the trash folder storage area 50b only by deleting at most one deletion data. As described above, according to the digital still camera 1, even when the storage capacity of the primary storage RAM 50 is limited, it is possible to appropriately manage data to be stored and data to be deleted.

なお、上述の実施の形態は本発明の一例である。このため、本発明は、上述の実施形態に限定されることはなく、この実施の形態以外であっても、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論である。   The above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made depending on the design and the like as long as the technical idea according to the present invention is not deviated from this embodiment. Of course, it is possible to change.

1 デジタルスチルカメラ
2 本体
3 撮影レンズ
4 セルフタイマランプ
5 ファインダ窓
6 ストロボ発光部
7 マイクロホン部
8 電源キー
9 シャッタキー
10 撮影モードキー
11 再生モードキー
12 EVF
13 スピーカ部
14 マクロキー
15 ストロボキー
16 メニューキー
17 リングキー
18 セットキー
19 液晶表示部
32 レンズ光学系
33 CCD
34 タイミング発生器
35 垂直ドライバ
36 サンプルホールド回路(S/H)
37 A/D変換器
38 カラープロセス回路
39 DMAコントローラ
40 DRAMインタフェース
41 DRAM
42 制御部
43 VRAMコントローラ
44 VRAM
45 デジタルビデオエンコーダ
47 画像処理部
47a データ圧縮部
48 メモリカード
49 キー入力部
50 RAM
50A データ記憶領域
50a 保存フォルダ記憶領域
50b ゴミ箱フォルダ記憶領域
50B 管理テーブル
DESCRIPTION OF SYMBOLS 1 Digital still camera 2 Main body 3 Shooting lens 4 Self-timer lamp 5 Finder window 6 Strobe light emission part 7 Microphone part 8 Power key 9 Shutter key 10 Shooting mode key 11 Playback mode key 12 EVF
13 Speaker unit 14 Macro key 15 Strobe key 16 Menu key 17 Ring key 18 Set key 19 Liquid crystal display unit 32 Lens optical system 33 CCD
34 Timing generator 35 Vertical driver 36 Sample hold circuit (S / H)
37 A / D converter 38 Color process circuit 39 DMA controller 40 DRAM interface 41 DRAM
42 Control Unit 43 VRAM Controller 44 VRAM
45 Digital video encoder 47 Image processing unit 47a Data compression unit 48 Memory card 49 Key input unit 50 RAM
50A Data storage area 50a Storage folder storage area 50b Trash folder storage area 50B Management table

Claims (5)

任意のデータ量のデータが記憶される記憶領域に、第1データを格納する第1データ記憶領域と当該第1データ記憶領域から移動された第2データを格納する第2データ記憶領域とが含まれる記憶手段と、
前記記憶手段に対するデータの記憶処理を制御する制御手段とを備え、
前記制御手段は、前記第1データ記憶領域に格納された第1データを前記第2データ記憶領域に移動させる場合に、所定の条件に従って前記第2データ記憶領域に格納された第2データを削除すると共に、前記移動させる第1データのデータ量を減少させて当該データ量が減少された第1データを前記第2データ記憶領域に格納することを特徴とする電子機器。
A storage area in which data of an arbitrary amount of data is stored includes a first data storage area for storing first data and a second data storage area for storing second data moved from the first data storage area Storage means,
Control means for controlling storage processing of data in the storage means,
The control means deletes the second data stored in the second data storage area according to a predetermined condition when moving the first data stored in the first data storage area to the second data storage area. And reducing the data amount of the first data to be moved and storing the first data in which the data amount is reduced in the second data storage area.
前記制御手段は、前記移動される第1データのデータ量を減少させて前記第2データ記憶領域に格納可能かを判定し、当該データ量が減少された第1データを前記第2データ記憶領域に格納可能である場合には、当該データ量が減少された第1データを当該第2データ記憶領域に格納し、当該データ量が減少された第1データを前記第2データ記憶領域に格納可能ではない場合には、所定の条件に従って前記第2データ記憶領域に格納された第2データを削除すると共に、前記移動させる第1データのデータ量を減少させて当該第1データを前記第2データ記憶領域に格納することを特徴とする請求項1に記載の電子機器。   The control means determines whether the data amount of the moved first data can be reduced and stored in the second data storage area, and the first data with the reduced data amount is stored in the second data storage area Can be stored in the second data storage area, and the first data reduced in the data quantity can be stored in the second data storage area. If not, the second data stored in the second data storage area is deleted in accordance with a predetermined condition, and the amount of the first data to be moved is reduced to reduce the first data to the second data. The electronic device according to claim 1, wherein the electronic device is stored in a storage area. 前記制御手段は、前記所定の条件として、前記第2データ記憶領域に格納された第2データのうち、当該第2データ記憶領域に移動された時刻が最も古い第2データを削除する条件に従って、前記第2データ記憶領域に格納された第2データを削除することを特徴とする請求項1又は請求項2に記載の電子機器。   The control means, as the predetermined condition, out of the second data stored in the second data storage area, according to the condition of deleting the second data having the oldest time moved to the second data storage area, The electronic device according to claim 1, wherein the second data stored in the second data storage area is deleted. 前記制御手段は、前記所定の条件として、前記第2データ記憶領域に格納された第2データのうち最もデータ生成時刻が古い第2データを削除する条件に従って、前記第2データ記憶領域に格納された第2データを削除することを特徴とする請求項1又は請求項2に記載の電子機器。   The control means is stored in the second data storage area according to a condition for deleting the second data having the oldest data generation time among the second data stored in the second data storage area as the predetermined condition. 3. The electronic apparatus according to claim 1, wherein the second data is deleted. コンピュータを、
任意のデータ量のデータごとにデータが記憶される記憶領域に、第1データを格納する第1データ記憶領域と当該第1データ記憶領域から移動された第2データを格納する第2データ記憶領域とが含まれる記憶手段に対するデータの記憶処理を制御する制御手段として機能させ、
前記制御手段が、前記第1データ記憶領域に格納された第1データを前記第2データ記憶領域に移動させる場合に、所定の条件に従って前記第2データ記憶領域に格納された第2データを削除すると共に、前記移動させる第1データのデータ量を減少させて当該データ量が減少された第1データを前記第2データ記憶領域に格納することを特徴とする電子機器のプログラム。
Computer
A first data storage area for storing the first data and a second data storage area for storing the second data moved from the first data storage area in a storage area for storing data for each arbitrary amount of data And function as a control means for controlling the storage process of data for the storage means including
When the control means moves the first data stored in the first data storage area to the second data storage area, the control means deletes the second data stored in the second data storage area according to a predetermined condition. And a program for an electronic device, wherein the data amount of the first data to be moved is reduced and the first data in which the data amount is reduced is stored in the second data storage area.
JP2009215814A 2009-09-17 2009-09-17 Electronic equipment and program of the same Pending JP2011065445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009215814A JP2011065445A (en) 2009-09-17 2009-09-17 Electronic equipment and program of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009215814A JP2011065445A (en) 2009-09-17 2009-09-17 Electronic equipment and program of the same

Publications (2)

Publication Number Publication Date
JP2011065445A true JP2011065445A (en) 2011-03-31
JP2011065445A5 JP2011065445A5 (en) 2012-06-21

Family

ID=43951620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009215814A Pending JP2011065445A (en) 2009-09-17 2009-09-17 Electronic equipment and program of the same

Country Status (1)

Country Link
JP (1) JP2011065445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016512687A (en) * 2013-03-15 2016-05-09 ヘリアエ デベロップメント、 エルエルシー Large-scale mixed nutrient production system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09219648A (en) * 1996-02-09 1997-08-19 Casio Comput Co Ltd File processor
JP2007036582A (en) * 2005-07-26 2007-02-08 Sony Corp Information recording apparatus and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09219648A (en) * 1996-02-09 1997-08-19 Casio Comput Co Ltd File processor
JP2007036582A (en) * 2005-07-26 2007-02-08 Sony Corp Information recording apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016512687A (en) * 2013-03-15 2016-05-09 ヘリアエ デベロップメント、 エルエルシー Large-scale mixed nutrient production system

Similar Documents

Publication Publication Date Title
US6812967B1 (en) Digital camera having multiple displays
JP4990321B2 (en) Imaging device
KR20040077498A (en) Image reproducing device and image reproducing method
JP4771507B2 (en) Image reproduction apparatus and program
JP2001285698A (en) Electronic camera
JP2011077654A (en) Imaging apparatus, control method thereof and program
US6741280B1 (en) Digital camera having reproduction zoom mode
JP3885013B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, RECORDING MEDIUM THEREOF, AND PROGRAM THEREOF
JP4349288B2 (en) Imaging apparatus, image processing method, and program
JP4826480B2 (en) Imaging apparatus, image management method, and program
JP2006094031A (en) Imaging apparatus, image processing method, and program
JP4678273B2 (en) Imaging apparatus, moving image storage method, and moving image storage program
JP2011065445A (en) Electronic equipment and program of the same
JP4461991B2 (en) Image transfer apparatus and program
JP2008054128A (en) Image pickup device, image display apparatus, and its program
JP4535089B2 (en) Imaging apparatus, image processing method, and program
JP2006287377A (en) Image storage device, image storage method, and image storage program
JP4211764B2 (en) Electronic camera, image recording apparatus, image recording method and program
JP2006287588A (en) Image processing apparatus and method, data file structure, computer program, and storage medium
JP4328960B2 (en) Image capturing apparatus and image recording method thereof
JP4396579B2 (en) Electronic camera, zoom range display method, and program
JP2005347885A (en) Imaging unit, photographing range adjustment method, and program
JP4622748B2 (en) Electronic camera, output control method, and program
JP2004040204A (en) Image reproducing apparatus
JP4310711B2 (en) Information processing apparatus and recording medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120509

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120509

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130528