JP2004287788A - Data processor - Google Patents

Data processor Download PDF

Info

Publication number
JP2004287788A
JP2004287788A JP2003078372A JP2003078372A JP2004287788A JP 2004287788 A JP2004287788 A JP 2004287788A JP 2003078372 A JP2003078372 A JP 2003078372A JP 2003078372 A JP2003078372 A JP 2003078372A JP 2004287788 A JP2004287788 A JP 2004287788A
Authority
JP
Japan
Prior art keywords
recording
file
recording medium
files
recorded
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.)
Withdrawn
Application number
JP2003078372A
Other languages
Japanese (ja)
Inventor
Hiroharu Ogusuri
弘治 小薬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2003078372A priority Critical patent/JP2004287788A/en
Publication of JP2004287788A publication Critical patent/JP2004287788A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processor capable of easily organizing files stored in a plurality of storage mediums. <P>SOLUTION: This data processor is adapted to rearrange the files recorded in the plurality of storage mediums, for example, according to the recording dates, and restore them considering the maximum recording capacity of each storage medium. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データ処理技術に関し、より具体的には、複数の記録媒体に記録されているファイルを容易に整理することの可能なデータ処理技術に関する。
【0002】
【従来の技術】
近年、コンピュータ技術の発達と普及に伴い、情報のディジタル化が急速に進んでいる。特に、従来はテキストデータが主流であったが、装置の処理能力向上に伴い、静止画、動画など様々なデータがディジタル化され、取り扱われるようになってきている。
【0003】
これらのディジタルデータは通常記憶容量あたりのコストが小さく、また大容量の記憶が可能な磁気記録媒体や光学記録媒体に記録されることが多いが、半導体メモリの低価格化、高容量化を背景として、特に小型化や耐久性が要求されるディジタルカメラや携帯情報端末(PDA)等の機器においては、メモリカード等の着脱可能な半導体メモリが記録媒体として用いられることも多い。
【0004】
また、パーソナルコンピュータ等のコンピュータ機器においても、データ交換やデータ運搬の手段として、メモリカードやカード型ディスクドライブ装置等の着脱可能な記録媒体が広く利用されるようになってきている。
【0005】
【特許文献1】
特開2001−111928号公報
【0006】
【発明が解決しようとする課題】
このような着脱可能な記録媒体は非常に便利である反面、記録媒体の数が増えるとその整理が煩雑になると言う問題がある。
【0007】
例えばディジタルカメラについて考えると、記録媒体は銀塩カメラにおけるフィルムに相当し、容量が一杯になった場合には撮影済みの画像を削除して空き容量を確保しない限り、新たな画像を撮影することはできない。また、近年は撮像素子数が非常に大きく、静止画像1枚あたりの容量が大きいほか、動画撮影機能を有する装置も多いため、メモリカードの容量は不足しがちである。そのため、一般的には複数の記録媒体を取り替えながら用いることになる。
【0008】
また、同一の記録媒体をディジタルカメラで用いたり、コンピュータ装置で用いたりすることが可能であることから、記録媒体中には非常に多くの種類のファイルが存在しうる。
【0009】
着脱可能な記録媒体に格納されたファイルの整理を容易にする技術として、例えば、特許文献1には、メモリカードに記憶された画像ファイル日付順にソートしてインデックスプリントを出力することで、メモリカード中の画像ファイルの整理を支援可能な画像データ処理装置が開示されている。
【0010】
しかしながら、特許文献1記載の技術は、同一の記録媒体に記憶されたファイルを対象としたものである。そのため、整理したいファイルが複数の記録媒体に記録されている場合、ユーザが各記録媒体に記録されているファイルを確認し、整理したいファイルを1つの記録媒体にまとめる必要があり、手間と時間がかかるという問題が生じる。
【0011】
本発明はこのような従来技術の問題点に鑑みなされたものであり、複数の記録媒体に記憶されているファイルを容易に整理可能とするデータ処理装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
すなわち、本発明の要旨は、複数の記録媒体の各々について、最大記録容量と、記録されているファイルに関する情報とを取得する情報取得手段と、ファイルに関する情報に基づいて、複数の記録媒体に記録されているファイルの記録順序を決定する並び替え手段と、記録順序と各記録媒体の最大記録容量とに基づいて、各記録媒体に記録すべきファイルを決定する決定手段と、複数の記録媒体の各々に対し、決定手段の決定に基づいてファイルを記録する記録手段とを有することを特徴とするデータ処理装置に存する。
【0013】
【発明の実施の形態】
以下、添付図面を参照しながら本発明をその好適な実施形態に基づき詳細に説明する。
■(第1の実施形態)
図1は、本発明の第1の実施形態に係るデータ処理装置の構成例を示すブロック図である。
【0014】
図1において、1は画像ファイルなどのデータを保持するための記憶装置(ストレージ)であり、例えばハードディスクドライブ等の大容量記憶装置である。2はファイルをソートする順番を決定するソート処理部、3はスロット4にセットされている記録媒体からデータを読み取るデータ検知再生部、4は複数の記録媒体8〜12をセットすることが可能なスロット、5はユーザとのインタフェースとなる操作キー、6は例えばストレージ1又は図示しないROM等に記憶されるプログラムを実行することによりデータ処理装置の各部を制御するCPU、7はスロット4にセットされている記録媒体8〜12にデータを記録するデータ記録部、13はLCDなどの表示装置からなる表示部である。以上の1から7と13でデータ処理装置を構成している。8、9、10、11、12はメモリカードや磁気/光ディスクなどのランダムアクセス可能な記録媒体である。
【0015】
なお、操作キー5は、単なるキーやボタンのみならず、マウス等のポインティングデバイスや、タッチパネル等、一般に使用される入力装置のいずれか1つ以上から構成されうる。
【0016】
また、記録媒体8〜12は物理的に異なる記録媒体であってもよいし、ハードディスクドライブにおけるパーティションのような論理的に区切られたボリュームであってもよい。
【0017】
図2は、本実施形態に係るデータ処理装置におけるデータ処理を模式的に示す図である。
図2の(1)は、ぞれぞれ最大記録容量500MBの記録媒体8〜12がデータ処理装置のスロット4にセットされている状態を示している。この状態において、記録媒体8にはFILE0001.MPG、FILE0002.MPG、FILE0003.MPGのファイルが記録されている。同様に、
記録媒体9にはFILE0004.MPG、FILE0005.MPG、FILE0006.JPG、
記録媒体10にはFILE0007.MPG、
記録媒体11にはFILE0008.JPG、FILE0009.JPG、
記録媒体12にはFILE0010.JPG、FILE0011.MPG、FILE0012.JPG、
のファイルがそれぞれ記録されている。
【0018】
図2(1)には、記録媒体8〜12に記録されている各ファイルの時刻属性の一例としての記録日も併せて示されている。
後述するように、本実施形態に係るデータ処理装置は、スロット4にセットされた記録媒体に記憶されたファイルを日付でソートし、ソートした結果に基づいてファイルを再度記録する。
【0019】
図2の(2)は、この処理が終わった状態を示しており、
記録媒体8にはFILE0007.MPG、FILE0008.JPG、FILE0010.JPG、
記録媒体9にはFILE0001.MPG、FILE0009.JPG、FILE0002.MPG、FILE0003.MPG、
記録媒体10にはFILE0011.MPG、FILE0012.JPG、FILE0006.JPG、
記録媒体11にはFILE0004.MPG、FILE0005.MPG、
記録媒体12にはファイルなし、
となる。
【0020】
また、データ処理装置は図2の(2)のような、ファイルの並び替え語の状態を表すイメージを表示画面13に表示することが可能であり、これによってユーザがファイルの並べ替え後の状態を容易に把握することを可能にする。
【0021】
次に、図3に示すフローチャートを用いて、本実施形態に係るデータ処理装置のファイル並び替え処理について説明する。
なお、以下の説明においては、データ処理装置のスロット4にN個(Nは1以上の自然数)の記録媒体がセットされているものとする。
【0022】
まず、カウンタとしての変数nに1を代入する(S301)。次にデータ検知再生ブロック3は、スロット4にセットされているn番目の記録媒体について、最大記録容量(S302)及び、記録されているすべてのファイルのファイル名、記録日、ファイルサイズを取得する(S303)。
【0023】
nに1を足し(S304)、n>Nが成立するか判断する(S305)。NOならばS302に戻り、全ての記録媒体についてS302〜S303の処理を繰り返す。一方、S305でYESならばN個の記録媒体に記録されているすべてのファイルのファイル名、記録日、ファイルサイズを取得したことになる。
【0024】
ソート処理部2は、取得した記録日によってすべてのファイルの並び順を決定する(S306)。そして、S306で決定した並び順と、S302で取得したN個の記録媒体それぞれの最大記録容量に基づいて、それぞれの記録媒体に記録するファイルを決定し、並べ替えリストを決定する(S307)。
【0025】
S307で決定した並び替えリストによる並べ替えが可能か判断する(S308)。NOならば並べ替えを実行せずに終了する。S308においては、例えば並び替えリストの順でファイルを記録した場合、続けて記録すべきファイルのファイルサイズと各記録媒体の最大記録容量との関係などにより、決定された順序を守ってN枚の記録媒体に書き込みきれない場合などを判定する。
【0026】
S308において、YESならば並べ替えリストに従ってデータ記録部7がファイルを記録し、処理を終了する(S309)。
【0027】
S307における並び替え処理の方法は任意であるが、例えば以下の方法により実現できる。まず、データ検知再生部3により、記録媒体8〜12に記憶されている全てのファイルを読み出し、ストレージ1に一旦書き込む。そして、ソート処理部2が決定した並び替えリストの順番で、データ記録部7により、各記録媒体8〜12に新たに書き込む。この際、元に記録されていたファイルは消去してから書き込みを行うことは言うまでもない。
【0028】
なお、ストレージ1に全てのファイルを読み出すのではなく、ソートの結果移動する必要のあるディスクのみストレージに読み出す構成でもよい。
【0029】
なお、図3のS307〜S308では、各記録媒体の最大記録容量とS306で決定した順序に基づいて並び替えの可否を判定したが、この可否判定はNが複数であり、かつ各記録媒体の最大記録容量が異なる場合には複数通りについて行っても良い。
【0030】
すなわち、記録媒体8、9、10、11、12(あるいはその逆)の順に記録していく場合のみならず、任意の順番で記録していく場合についても可否を判定するようにしても良い。換言すれば、スロット4にセットされた各記録媒体8〜12の物理的な位置関係と、並び替えリストに従ってファイルを書き込む記録媒体の順序が一致していない場合を含めて判定を行っても良い。
【0031】
記録媒体8、9、10、11、12(あるいはその逆)の順に記録することと、並び替えて記録できることのどちらを優先するかをユーザに設定させ、設定に応じて切り替えるようにしても良い。
【0032】
さらに、本実施形態ではS308において、S307で決定した並び替えリストによる並べ替えが可能か判断した結果が、NOだった場合並べ替えを実行せずに終了したが、ユーザに並べ順を編集させて並べ替えを実行してもよい。また、本発明に係るデータ処理装置が並べ替えが可能な他の並び順をユーザに提供し、ユーザに選択させてもよい。
【0033】
本実施形態によれば、複雑な編集作業をユーザにさせることなく、複数の記録媒体に記録されているファイル、及びファイルデータを日付順に並べ替えて記録しなおすことができるため、ファイルの整理が容易になる。
【0034】
■(第2の実施形態)
第1の実施形態においては、ファイルの日付を条件にして並び替えを行っていたが、本実施形態においてはファイルの種類によって並び替えを行うことを特徴とする。
【0035】
図4は、図2の(1)の状態にあるファイルに対して本実施形態に係るデータ処理装置のファイル並び替え処理を行った結果を模式的に示す図である。
本実施形態においては、ファイル名の拡張子(動画『.MPG』と静止画『.JPG』)によってファイルの種類を区別しているが、ファイルの種類を表す他の任意の属性(種類属性)に応じてファイルの種類を判別しても良い。
【0036】
本実施形態に係るデータ処理装置の構成は第1の実施形態と共通で良く、また並び替え処理についても図3で説明した手順におけるS306で行う並び替え処理の内容が変更になるのみであるため、以下、本実施形態においてS306で行う並び替え処理についてのみ説明する。なお、ファイル名の拡張子以外の属性で種類分けを行う場合には、S303において当該属性の取得を行うことは言うまでもない。
【0037】
まず、記録媒体8〜12に記録されたファイルを、その種類で分類し、記録する記録媒体を分けるデータ処理を行う。図4において、まずFILE0001からFILE0012のファイルを動画と静止画のファイルに分けると
動画ファイルはFILE0001.MPG、FILE0002.MPG、FILE0003.MPG、FILE0004.MPG、FILE0005.MPG、FILE0007.MPG、FILE0011.MPGである。
静止画ファイルはFILE0006.JPG、FILE0008.JPG、FILE0009.JPG、FILE0010.JPG、FILE0012.JPGである。
【0038】
次に、ファイルサイズの小さい静止画ファイルの記録する記録媒体を決定する。上述したように記録媒体8〜12はいずれも500MBの最大記録容量を有するため、静止画ファイルは任意の1つの記録媒体にまとめて記録可能である。ここでは、記録媒体12に全静止画ファイルを記録することにし、動画ファイルは残りの記録媒体8、9、10、11の最大記録容量で区切った並べ替えリストで並べ替えを行うと、図4に示すように、
記録媒体8にはFILE0001.MPG、FILE0002.MPG、FILE0003.MPG、
記録媒体9にはFILE0004.MPG、FILE0005.MPG、
記録媒体10にはFILE0007.MPG、
記録媒体11にはFILE0011.MPG、
記録媒体12にはFILE0006.JPG、FILE0008.JPG、FILE0009.JPG、FILE0010.JPG、FILE0012.JPG
という記録を行うための並び替えリストが決定される。
【0039】
また、ファイルの種類で分けたあとに第1の実施形態で行ったような日付情報に基づく並べ替えを行ったり、GPS情報、ファイル名などの他の付加情報でさらに並べ替え処理を行って並べ替えリストを決定してもよい。
また、記録ファイルがない記録媒体が増える(記録領域が大きく取れる)ような並べ替えリストを決定してもよい。
【0040】
本実施形態によれば、第1の実施形態と同様、複雑な編集作業をユーザにさせることなく、複数の記録媒体に記録されているファイルをファイルの種類毎に並べ替えて記録しなおすことができるため、ファイルの整理が容易になる。また、第1の実施形態と組み合わせるなど、他の条件でも並び替えが可能である。
【0041】
■(第3の実施形態)
第1及び第2の実施形態では、複数の記録媒体に記録されたファイルが固有のファイル名を有していたが、異なる記録媒体に同一名のファイルが存在することも考えられ、この場合には同一の記録媒体に書き込みすべきファイルに同一名のファイルが複数含まれる状況が発生しうる。本実施形態はこのような場合を考慮したものである。
【0042】
なお、以下、本実施形態における並び替え処理は第1の実施形態と同様にファイルの記録日で行う場合を例として説明するが、第2の実施形態で説明したような種類による分類やそれらの組み合わせに基づく並び替え処理にも適用可能であることは言うまでもない。
【0043】
図5の(1)に、並び替え処理前の各記録媒体8〜12に記録されたファイルの状態を示す。
本実施形態に係るデータ処理装置も上述の実施形態と同様、図1に示した構成を有する。また、スロット4にセットされた記録媒体8〜12はそれぞれ最大記録容量500MBであるとする。
【0044】
図5(1)の状態では、
記録媒体8にはFILE0001.MPG、FILE0002.MPG、FILE0003.MPG、
記録媒体9にはFILE0004.MPG、FILE0005.MPG、FILE0006.JPG、
記録媒体10にはFILE0001.MPG、
記録媒体11にはFILE0008.JPG、FILE0006.JPG、
記録媒体12にはFILE0010.JPG、FILE0011.MPG、FILE0006.JPG、
のファイルが記録されており、記録媒体8と記録媒体10にファイル名がFILE0001.JPGのそれぞれ内容が異なるファイルが記録されている。また記録媒体9と記録媒体11、記録媒体12にファイル名FILE0006.JPGのそれぞれ内容が異なるファイルが記録されている。
【0045】
次に、本実施形態における並び替え処理について説明する。本実施形態においても、基本的な処理の流れは第1の実施形態で説明した図3のフローチャートと同一であり、S306及びS307における並び順決定処理及び記録先媒体の決定処理の内容のみが異なるため、以下の説明ではこれら本実施形態に特有な処理についてのみ説明する。
【0046】
まず、第1の実施形態で説明したように、それぞれのファイルの記録日に基づいて時系列に並び順を決定し、次にそれぞれの記録媒体の最大記録容量で、それぞれのファイルが記録される記録媒体を決定し並べ替えリストを決定する。このリストと書き込み先の記憶媒体との関係を図5の(2)に示す。
【0047】
ここで各記憶媒体に記録されるファイルのファイル名を見ると、記録媒体8と記録媒体10に存在していたファイル名FILE0001.JPGの2つのファイルは、異なる記録媒体に記録されることになるため問題無いが、記録媒体9と記録媒体11、記録媒体12に存在していたファイル名FILE0006.JPGの3つのファイルのうち2つが記録媒体10に記録すべきファイルに含まれていることがわかる。
【0048】
このような場合、本実施形態におけるソート処理部2は、同一記録媒体に記録すべき同一名のm個のファイル(m≧2)のうち、(m−1)個のファイルのファイル名を変更する。ファイル名を変更するファイルをどのように選ぶかは任意に定めることができるが、本実施形態では例えば記録日の新しい方のFILE0006.JPGのファイル名を変更する。すなわち、図5では、記録日2002/05/10のFILE0006.JPGを、RFIL0006.JPGに変更している。
【0049】
このようなファイル名変更処理を行った後の並び替えリストを図5の(3)に示す。このように、同一記録媒体内でファイル名が重複しないようにしてから、S308、S309の処理結果に従って書き込みする。
【0050】
ファイル名を変更した場合、データ処理装置は、ファイル名を変更したことを表示部13にメッセージ表示する等の方法でユーザに通知することが可能である。
【0051】
本実施形態では、一つの記録媒体に同一ファイル名のファイルを複数記録したい場合、データ処理装置がユーザに意識させることなくファイル名を変更したが、同じファイル名があることをユーザに警告してもよいし、名前を変更するファイル名をユーザに選択させてもよい。
【0052】
本実施形態では、一つの記録媒体に同一ファイル名のファイルを複数記録したい場合、ファイル名を変更せずに同一ファイル名のない記録媒体に記録するデータ処理を行うようにしてもよい。例えば、図5(2)の場合、記録日の後のFILE0006.JPGから記録媒体11へ記録するようにすればよい。
【0053】
本実施形態では、一つの記録媒体に同一ファイル名のファイルを複数記録したい場合のみファイル名を変更したが、記録先の記録媒体が同一か否かにかかわらず、ファイル名が重複しないようにファイル名を変更してもよい。
【0054】
本発明の第3の実施形態によれば、本発明のデータ処理を実行し、一つの記録媒体に同一ファイル名のファイルを複数記録したい場合、ファイル名を変更することで記録媒体への記録が可能になる。また、ファイル名の変更をユーザに通知することでファイル名が変更されたことをユーザは確認できる。
なお、第3の実施形態は第1及び第2の実施形態と組み合わせて実施することが可能である。
【0055】
【他の実施形態】
上述の実施形態においては、1つの機器から構成されるデータ処理装置についてのみ説明したが、同等の機能を複数の機器から構成されるシステムによって実現しても良い。
【0056】
尚、前述した実施形態の機能を実現するソフトウェアのプログラムを、記録媒体から直接、或いは有線/無線通信を用いて当該プログラムを実行可能なコンピュータを有するシステム又は装置に供給し、そのシステム或いは装置のコンピュータが該供給されたプログラムを実行することによって同等の機能が達成される場合も本発明に含む。
【0057】
従って、本発明の機能処理をコンピュータで実現するために、該コンピュータに供給、インストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明の機能処理を実現するためのコンピュータプログラム自体も本発明に含まれる。
【0058】
その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等、プログラムの形態を問わない。
【0059】
プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、磁気テープ等の磁気記録媒体、MO、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−R、DVD−RW等の光/光磁気記憶媒体、不揮発性の半導体メモリなどがある。
【0060】
有線/無線通信を用いたプログラムの供給方法としては、コンピュータネットワーク上のサーバに本発明を形成するコンピュータプログラムそのもの、もしくは圧縮され自動インストール機能を含むファイル等、クライアントコンピュータ上で本発明を形成するコンピュータプログラムとなりうるデータファイル(プログラムデータファイル)を記憶し、接続のあったクライアントコンピュータにプログラムデータファイルをダウンロードする方法などが挙げられる。この場合、プログラムデータファイルを複数のセグメントファイルに分割し、セグメントファイルを異なるサーバに配置することも可能である。
【0061】
つまり、本発明の機能処理をコンピュータで実現するためのプログラムデータファイルを複数のユーザに対してダウンロードさせるサーバ装置も本発明に含む。
【0062】
また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件を満たしたユーザに対して暗号化を解く鍵情報を、例えばインターネットを介してホームページからダウンロードさせることによって供給し、その鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。
【0063】
また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。
【0064】
さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行ない、その処理によっても前述した実施形態の機能が実現され得る。
【0065】
【発明の効果】
以上説明したように、本発明によれば、複数の記録媒体に記録されているファイルをその属性や付加情報など所定の条件に基づいて自動的に並び替え、並び替えた順序で再度複数の記録媒体へ格納することにより、ユーザが複雑な編集作業を行うことなくファイルの整理を行うことが可能になる。
【図面の簡単な説明】
【図1】本発明の実施形態に係るデータ処理装置の構成例を示すブロック図である。
【図2】第1の実施形態における並び替え処理を説明する模式図である。
【図3】第1の実施形態における並び替え処理を説明するフローチャートである。
【図4】第2の実施形態における並び替え処理を説明する模式図である。
【図5】第3の実施形態における並び替え処理を説明する模式図である。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data processing technique, and more specifically, to a data processing technique capable of easily organizing files recorded on a plurality of recording media.
[0002]
[Prior art]
2. Description of the Related Art In recent years, with the development and spread of computer technology, digitization of information has been rapidly progressing. In particular, text data has been mainly used in the past, but various data such as still images and moving images have been digitized and handled with the improvement of the processing capability of the apparatus.
[0003]
These digital data usually have a low cost per storage capacity and are often recorded on magnetic or optical recording media capable of large-capacity storage. However, due to the lower cost and higher capacity of semiconductor memory. In particular, in a device such as a digital camera or a personal digital assistant (PDA) that requires miniaturization and durability, a detachable semiconductor memory such as a memory card is often used as a recording medium.
[0004]
Also, in computer equipment such as personal computers, removable recording media such as memory cards and card-type disk drive devices have been widely used as means for data exchange and data transfer.
[0005]
[Patent Document 1]
Japanese Patent Application Laid-Open No. 2001-111928
[Problems to be solved by the invention]
Although such a removable recording medium is very convenient, there is a problem that as the number of recording media increases, the organization thereof becomes complicated.
[0007]
For example, in the case of a digital camera, the recording medium is equivalent to the film in a silver halide camera, and when the capacity is full, a new image must be taken unless the taken image is deleted and free space is secured. Can not. In recent years, the number of imaging elements is very large, the capacity per still image is large, and many apparatuses have a moving image shooting function. Therefore, the capacity of a memory card tends to be insufficient. Therefore, generally, a plurality of recording media are used while being exchanged.
[0008]
Further, since the same recording medium can be used in a digital camera or a computer device, there can be very many types of files in the recording medium.
[0009]
As a technique for facilitating the organization of files stored in a removable recording medium, for example, Japanese Patent Application Laid-Open No. H11-163873 discloses a technique of sorting an image file stored in a memory card in date order and outputting an index print. An image data processing device capable of assisting in organizing image files inside is disclosed.
[0010]
However, the technique described in Patent Literature 1 is directed to files stored in the same recording medium. Therefore, when files to be organized are recorded on a plurality of recording media, it is necessary for the user to check the files recorded on each recording medium, and to combine the files to be organized on one recording medium, which is troublesome and time consuming. Such a problem arises.
[0011]
SUMMARY OF THE INVENTION The present invention has been made in view of such problems of the related art, and has as its object to provide a data processing device capable of easily organizing files stored in a plurality of recording media.
[0012]
[Means for Solving the Problems]
That is, the gist of the present invention is that, for each of a plurality of recording media, information acquisition means for acquiring a maximum recording capacity and information about recorded files, and recording on a plurality of recording media based on information about files. Rearranging means for determining the recording order of files being recorded, determining means for determining a file to be recorded on each recording medium based on the recording order and the maximum recording capacity of each recording medium, Recording means for recording a file based on the determination by the determining means.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, the present invention will be described in detail based on preferred embodiments with reference to the accompanying drawings.
■ (First embodiment)
FIG. 1 is a block diagram illustrating a configuration example of a data processing device according to the first embodiment of the present invention.
[0014]
In FIG. 1, reference numeral 1 denotes a storage device (storage) for holding data such as an image file, which is a large-capacity storage device such as a hard disk drive. 2 is a sort processing unit that determines the order in which files are sorted, 3 is a data detection and reproduction unit that reads data from a recording medium set in the slot 4, and 4 is a unit that can set a plurality of recording media 8 to 12. A slot 5 is an operation key serving as an interface with a user. A CPU 6 controls each unit of the data processing device by executing a program stored in the storage 1 or a ROM (not shown). A slot 7 is set in the slot 4. A data recording unit 13 for recording data on the recording media 8 to 12 is a display unit including a display device such as an LCD. The above-mentioned items 1 to 7 and 13 constitute a data processing device. Reference numerals 8, 9, 10, 11, and 12 are randomly accessible recording media such as memory cards and magnetic / optical disks.
[0015]
The operation keys 5 can be configured not only with simple keys and buttons, but also with one or more commonly used input devices such as a pointing device such as a mouse and a touch panel.
[0016]
The recording media 8 to 12 may be physically different recording media, or may be logically partitioned volumes such as partitions in a hard disk drive.
[0017]
FIG. 2 is a diagram schematically illustrating data processing in the data processing device according to the present embodiment.
FIG. 2A shows a state in which recording media 8 to 12 each having a maximum recording capacity of 500 MB are set in the slot 4 of the data processing device. In this state, FILE0001. MPG, FILE0002. MPG, FILE0003. An MPG file is recorded. Similarly,
The recording medium 9 includes FILE0004. MPG, FILE0005. MPG, FILE0006. JPG,
The recording medium 10 includes FILE0007. MPG,
The recording medium 11 includes FILE0008. JPG, FILE0009. JPG,
The recording medium 12 has FILE0010. JPG, FILE0011. MPG, FILE0012. JPG,
Are recorded respectively.
[0018]
FIG. 2A also shows a recording date as an example of a time attribute of each file recorded on the recording media 8 to 12.
As will be described later, the data processing device according to the present embodiment sorts the files stored in the recording medium set in the slot 4 by date, and records the files again based on the sorted result.
[0019]
FIG. 2 (2) shows a state in which this processing has been completed.
The recording medium 8 includes FILE0007. MPG, FILE0008. JPG, FILE0010. JPG,
The recording medium 9 has FILE0001. MPG, FILE0009. JPG, FILE0002. MPG, FILE0003. MPG,
The recording medium 10 includes FILE0011. MPG, FILE0012. JPG, FILE0006. JPG,
The recording medium 11 includes FILE0004. MPG, FILE0005. MPG,
No file on the recording medium 12,
It becomes.
[0020]
Further, the data processing apparatus can display an image representing the state of the file rearrangement words on the display screen 13 as shown in (2) of FIG. Can be easily grasped.
[0021]
Next, the file reordering process of the data processing device according to the present embodiment will be described with reference to the flowchart shown in FIG.
In the following description, it is assumed that N (N is a natural number of 1 or more) recording media are set in slot 4 of the data processing device.
[0022]
First, 1 is substituted for a variable n as a counter (S301). Next, the data detection / reproduction block 3 acquires the maximum recording capacity (S302) and the file names, recording dates, and file sizes of all recorded files for the n-th recording medium set in the slot 4. (S303).
[0023]
One is added to n (S304), and it is determined whether n> N is satisfied (S305). If NO, the process returns to S302, and the processes of S302 to S303 are repeated for all the recording media. On the other hand, if YES in S305, it means that the file names, recording dates, and file sizes of all the files recorded on the N recording media have been obtained.
[0024]
The sort processing unit 2 determines the arrangement order of all files based on the acquired recording date (S306). Then, based on the arrangement order determined in S306 and the maximum recording capacity of each of the N recording media acquired in S302, a file to be recorded on each recording medium is determined, and a rearrangement list is determined (S307).
[0025]
It is determined whether sorting by the sorting list determined in S307 is possible (S308). If NO, the process ends without executing the rearrangement. In S308, for example, when the files are recorded in the order of the rearrangement list, N files are recorded in the order determined according to the relationship between the file size of the file to be subsequently recorded and the maximum recording capacity of each recording medium. It is determined, for example, that data cannot be written on the recording medium.
[0026]
If YES in S308, the data recording unit 7 records the file according to the rearrangement list, and ends the processing (S309).
[0027]
The method of the rearrangement process in S307 is arbitrary, but can be realized by, for example, the following method. First, all files stored in the recording media 8 to 12 are read out by the data detection / reproduction unit 3 and are once written in the storage 1. Then, the data is newly written to each of the recording media 8 to 12 by the data recording unit 7 in the order of the rearrangement list determined by the sorting processing unit 2. At this time, it goes without saying that the file originally recorded is erased and then written.
[0028]
Instead of reading all the files to the storage 1, only the disks that need to be moved as a result of sorting may be read to the storage.
[0029]
In S307 to S308 in FIG. 3, whether or not rearrangement is possible is determined based on the maximum recording capacity of each recording medium and the order determined in S306. When the maximum recording capacities are different, it may be performed for a plurality of types.
[0030]
That is, whether or not recording may be performed in an arbitrary order may be determined as well as when recording is performed in the order of the recording media 8, 9, 10, 11, and 12 (or vice versa). In other words, the determination may be made including the case where the physical positional relationship between the recording media 8 to 12 set in the slot 4 and the order of the recording media to which the files are written according to the rearrangement list do not match. .
[0031]
The user may set which of the recording media 8, 9, 10, 11, and 12 (or vice versa) to be recorded, and which of the recording media can be rearranged, to be prioritized, and switch according to the setting. .
[0032]
Furthermore, in the present embodiment, in S308, if the result of determining whether or not sorting by the sorting list determined in S307 is possible is NO, the process ends without executing sorting, but the user is allowed to edit the sorting order. Sorting may be performed. Further, the data processing apparatus according to the present invention may provide the user with another sort order in which the sort can be performed, and allow the user to select the sort order.
[0033]
According to the present embodiment, files recorded on a plurality of recording media and file data can be rearranged in chronological order and recorded again without causing the user to perform complicated editing work. It will be easier.
[0034]
■ (Second embodiment)
In the first embodiment, the sorting is performed based on the date of the file. However, the present embodiment is characterized in that the sorting is performed according to the type of the file.
[0035]
FIG. 4 is a diagram schematically illustrating a result of performing a file rearrangement process of the data processing apparatus according to the present embodiment on the file in the state of (1) in FIG.
In the present embodiment, the file type is distinguished by the extension of the file name (moving image “.MPG” and still image “.JPG”). However, any other attribute (type attribute) indicating the file type is used. The type of the file may be determined accordingly.
[0036]
The configuration of the data processing apparatus according to the present embodiment may be the same as that of the first embodiment, and the reordering process is the same as the reordering process performed in S306 in the procedure described with reference to FIG. Hereinafter, only the rearrangement process performed in S306 in the present embodiment will be described. In the case where classification is performed using an attribute other than the file name extension, it is needless to say that the attribute is acquired in S303.
[0037]
First, the files recorded on the recording media 8 to 12 are classified according to their types, and data processing for dividing the recording media to be recorded is performed. In FIG. 4, first, the files of FILE0001 to FILE0012 are divided into moving image and still image files. MPG, FILE0002. MPG, FILE0003. MPG, FILE0004. MPG, FILE0005. MPG, FILE0007. MPG, FILE0011. MPG.
The still image file is FILE0006. JPG, FILE0008. JPG, FILE0009. JPG, FILE0010. JPG, FILE0012. JPG.
[0038]
Next, a recording medium for recording a still image file having a small file size is determined. As described above, since all of the recording media 8 to 12 have a maximum recording capacity of 500 MB, a still image file can be collectively recorded on any one recording medium. Here, when all the still image files are recorded on the recording medium 12, and the moving image files are rearranged in the rearrangement list divided by the maximum recording capacity of the remaining recording mediums 8, 9, 10, and 11, FIG. As shown in
The recording medium 8 has FILE0001. MPG, FILE0002. MPG, FILE0003. MPG,
The recording medium 9 includes FILE0004. MPG, FILE0005. MPG,
The recording medium 10 includes FILE0007. MPG,
The recording medium 11 includes FILE0011. MPG,
The recording medium 12 includes FILE0006. JPG, FILE0008. JPG, FILE0009. JPG, FILE0010. JPG, FILE0012. JPG
The sorting list for performing the recording is determined.
[0039]
Also, after sorting by file type, sorting is performed based on date information as in the first embodiment, or sorting is further performed by other additional information such as GPS information and file names. A replacement list may be determined.
Alternatively, a rearrangement list may be determined such that the number of recording media having no recording file increases (a large recording area can be obtained).
[0040]
According to the present embodiment, as in the first embodiment, files recorded on a plurality of recording media can be rearranged for each file type and recorded again without causing the user to perform complicated editing work. Because of this, files can be easily organized. Also, rearrangement can be performed under other conditions such as a combination with the first embodiment.
[0041]
■ (Third embodiment)
In the first and second embodiments, files recorded on a plurality of recording media have unique file names. However, it is possible that files having the same name exist on different recording media. In some cases, a situation may occur in which files to be written to the same recording medium include a plurality of files having the same name. The present embodiment takes such a case into consideration.
[0042]
In the following, the case where the rearrangement processing in the present embodiment is performed on the recording date of the file as in the first embodiment will be described as an example. However, the classification according to the type described in the second embodiment, It is needless to say that the present invention can be applied to a sorting process based on a combination.
[0043]
FIG. 5A shows a state of a file recorded on each of the recording media 8 to 12 before the rearrangement process.
The data processing device according to the present embodiment also has the configuration shown in FIG. It is also assumed that each of the recording media 8 to 12 set in the slot 4 has a maximum recording capacity of 500 MB.
[0044]
In the state of FIG.
The recording medium 8 has FILE0001. MPG, FILE0002. MPG, FILE0003. MPG,
The recording medium 9 includes FILE0004. MPG, FILE0005. MPG, FILE0006. JPG,
The recording medium 10 has FILE0001. MPG,
The recording medium 11 includes FILE0008. JPG, FILE0006. JPG,
The recording medium 12 has FILE0010. JPG, FILE0011. MPG, FILE0006. JPG,
Is recorded on the recording medium 8 and the recording medium 10 with the file name FILE0001. Files with different contents of the JPG are recorded. The recording medium 9, the recording medium 11, and the recording medium 12 have the file name FILE0006. Files with different contents of the JPG are recorded.
[0045]
Next, a rearrangement process according to the present embodiment will be described. Also in this embodiment, the basic processing flow is the same as the flowchart in FIG. 3 described in the first embodiment, and only the contents of the arrangement order determination processing and the recording destination medium determination processing in S306 and S307 are different. Therefore, in the following description, only the processing unique to the present embodiment will be described.
[0046]
First, as described in the first embodiment, the arrangement order is determined in chronological order based on the recording date of each file, and then each file is recorded at the maximum recording capacity of each recording medium. The recording medium is determined, and the sorting list is determined. The relationship between this list and the storage medium of the write destination is shown in (2) of FIG.
[0047]
Here, looking at the file names of the files recorded on each storage medium, the file names FILE0001. The two files of JPG are recorded on different recording media, so there is no problem. However, the file names FILE0006. It can be seen that two of the three files of the JPG are included in the files to be recorded on the recording medium 10.
[0048]
In such a case, the sort processing unit 2 in the present embodiment changes the file names of (m-1) files among m files (m ≧ 2) of the same name to be recorded on the same recording medium. I do. How to select a file whose file name is to be changed can be arbitrarily determined. In the present embodiment, for example, FILE0006. Change the JPG file name. That is, in FIG. 5, FILE0006. JPG, RFIL0006. JPG.
[0049]
FIG. 5C shows a rearrangement list after such a file name change process is performed. In this way, after the file names are not duplicated in the same recording medium, writing is performed according to the processing results of S308 and S309.
[0050]
When the file name is changed, the data processing device can notify the user of the change in the file name by displaying a message on the display unit 13 or the like.
[0051]
In the present embodiment, when it is desired to record a plurality of files having the same file name on one recording medium, the data processing apparatus changes the file name without making the user aware, but warns the user that the same file name exists. Alternatively, the user may select a file name to be renamed.
[0052]
In the present embodiment, when it is desired to record a plurality of files having the same file name on one recording medium, data processing for recording on a recording medium without the same file name without changing the file name may be performed. For example, in the case of FIG. 5B, FILE0006. What is necessary is just to record from JPG to the recording medium 11.
[0053]
In the present embodiment, the file name is changed only when it is desired to record a plurality of files having the same file name on one recording medium. However, regardless of whether the recording destination recording medium is the same, the file name is changed so that the file name is not duplicated. You may change your name.
[0054]
According to the third embodiment of the present invention, when the data processing of the present invention is executed and it is desired to record a plurality of files having the same file name on one recording medium, the recording on the recording medium can be performed by changing the file name. Will be possible. Also, by notifying the user of the change in the file name, the user can confirm that the file name has been changed.
Note that the third embodiment can be implemented in combination with the first and second embodiments.
[0055]
[Other embodiments]
In the above embodiment, only the data processing device including one device has been described. However, the same function may be realized by a system including a plurality of devices.
[0056]
In addition, a software program for realizing the functions of the above-described embodiments is supplied to a system or an apparatus having a computer capable of executing the program directly from a recording medium or by using wired / wireless communication. The present invention includes a case where a computer achieves the same function by executing the supplied program.
[0057]
Therefore, the program code itself supplied and installed in the computer to implement the functional processing of the present invention by the computer also implements the present invention. That is, the present invention includes the computer program itself for implementing the functional processing of the present invention.
[0058]
In this case, any form of the program, such as an object code, a program executed by an interpreter, and script data to be supplied to the OS, may be used as long as the program has a function.
[0059]
As a recording medium for supplying the program, for example, a magnetic recording medium such as a flexible disk, a hard disk, a magnetic tape, an MO, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-R, a DVD- There are optical / magneto-optical storage media such as RW, and nonvolatile semiconductor memories.
[0060]
As a method for supplying a program using wired / wireless communication, a computer program itself that forms the present invention on a server on a computer network, or a computer that forms the present invention on a client computer, such as a compressed file having an automatic installation function, etc. A method of storing a data file (program data file) that can be a program and downloading the program data file to a connected client computer may be used. In this case, the program data file can be divided into a plurality of segment files, and the segment files can be arranged on different servers.
[0061]
That is, the present invention also includes a server device that allows a plurality of users to download a program data file for implementing the functional processing of the present invention on a computer.
[0062]
Further, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM and distributed to users, and key information for decrypting the encryption for a user who satisfies predetermined conditions is transmitted to, for example, a homepage via the Internet. It is also possible to realize the program by supplying it by downloading it from, and using the key information to execute an encrypted program and install it on a computer.
[0063]
The functions of the above-described embodiments are implemented when the computer executes the read program, and an OS or the like running on the computer executes a part of the actual processing based on the instructions of the program. Alternatively, all the operations are performed, and the functions of the above-described embodiments can be realized by the processing.
[0064]
Further, after the program read from the recording medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion board or the The CPU or the like provided in the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments can also be realized by the processing.
[0065]
【The invention's effect】
As described above, according to the present invention, files recorded on a plurality of recording media are automatically rearranged based on predetermined conditions such as their attributes and additional information, and a plurality of recordings are performed again in the rearranged order. By storing the file in the medium, it is possible for the user to organize the file without performing complicated editing work.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration example of a data processing device according to an embodiment of the present invention.
FIG. 2 is a schematic diagram illustrating a rearrangement process according to the first embodiment.
FIG. 3 is a flowchart illustrating a rearrangement process according to the first embodiment.
FIG. 4 is a schematic diagram illustrating a rearrangement process according to a second embodiment.
FIG. 5 is a schematic diagram illustrating a rearrangement process according to a third embodiment.

Claims (1)

複数の記録媒体の各々について、最大記録容量と、記録されているファイルに関する情報とを取得する情報取得手段と、
前記ファイルに関する情報に基づいて、前記複数の記録媒体に記録されているファイルの記録順序を決定する並び替え手段と、
前記記録順序と前記各記録媒体の最大記録容量とに基づいて、前記各記録媒体に記録すべきファイルを決定する決定手段と、
前記複数の記録媒体の各々に対し、前記決定手段の決定に基づいて前記ファイルを記録する記録手段とを有することを特徴とするデータ処理装置。
For each of the plurality of recording media, information acquisition means for acquiring the maximum recording capacity and information about the recorded file,
Rearranging means for determining the recording order of the files recorded on the plurality of recording media based on the information about the file,
Determining means for determining a file to be recorded on each of the recording media based on the recording order and the maximum recording capacity of each of the recording media,
Recording means for recording the file on each of the plurality of recording media based on the determination by the determining means.
JP2003078372A 2003-03-20 2003-03-20 Data processor Withdrawn JP2004287788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003078372A JP2004287788A (en) 2003-03-20 2003-03-20 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003078372A JP2004287788A (en) 2003-03-20 2003-03-20 Data processor

Publications (1)

Publication Number Publication Date
JP2004287788A true JP2004287788A (en) 2004-10-14

Family

ID=33292871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003078372A Withdrawn JP2004287788A (en) 2003-03-20 2003-03-20 Data processor

Country Status (1)

Country Link
JP (1) JP2004287788A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086708A (en) * 2007-09-27 2009-04-23 Brother Ind Ltd File transfer device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009086708A (en) * 2007-09-27 2009-04-23 Brother Ind Ltd File transfer device and program

Similar Documents

Publication Publication Date Title
US5819295A (en) Document storing and managing system
JP5149570B2 (en) File management apparatus, file management apparatus control method, and program
US20080077594A1 (en) Providing a user access to data files distributed in a plurality of different types of user devices
US6992710B2 (en) Electronic camera apparatus and file management method
JPWO2004049167A1 (en) File management apparatus, file management method, file management program, and recording medium
US7075570B2 (en) Method of processing files and an apparatus thereof
US5987475A (en) Apparatus and method for processing hypertext and recording medium
US20090051971A1 (en) Apparatus and method for image recording, apparatus and method for image management, photo album, and programs
JP2006252045A (en) Device, method, and program for displaying file classification
JP2004287788A (en) Data processor
JP4110316B2 (en) File display device
JP2004343357A (en) Recording medium set, image recorder and image recording method
CN101751464A (en) Multimedia management and playback apparatus and data processing method
JP2003296162A (en) File management method
JP4348880B2 (en) File management program, computer-readable recording medium storing file management program, and file management method
JP2007087149A (en) Data recording device
JPS58114149A (en) Electronic filing system
JPH0581096A (en) Page deletion system for electronic filing device
JPH07311701A (en) Processor and method for information processing
JPH0667945A (en) Electronic filing device
JP2004110349A (en) Slip output system in library, its program, and recording medium
JP2006189970A (en) Electronic file management device
JP2002366541A (en) File management program, computer readable recording medium with file management program recorded thereon and file managing method
JP2009217614A (en) Data processor, data storing method, and data storage program
WO2007119375A1 (en) Image file management apparatus and image file management method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060606