JP2006127015A - Information processor - Google Patents

Information processor Download PDF

Info

Publication number
JP2006127015A
JP2006127015A JP2004312271A JP2004312271A JP2006127015A JP 2006127015 A JP2006127015 A JP 2006127015A JP 2004312271 A JP2004312271 A JP 2004312271A JP 2004312271 A JP2004312271 A JP 2004312271A JP 2006127015 A JP2006127015 A JP 2006127015A
Authority
JP
Japan
Prior art keywords
file
recording
card
recording medium
information data
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
JP2004312271A
Other languages
Japanese (ja)
Inventor
Koichiro Suzuki
幸一郎 鈴木
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 JP2004312271A priority Critical patent/JP2006127015A/en
Publication of JP2006127015A publication Critical patent/JP2006127015A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To easily copy information data whose contents are different between a plurality of recording media. <P>SOLUTION: This information processor is provided with a first recording/reproducing means for recording/reproducing an information data file for a first recording medium, a second recording/reproducing means for recording/reproducing the information data file for a second recording medium and a control means for controlling the first recording/reproducing means and the second recording/reproducing means to detect the information data file whose contents are identical does not exist in the second recording medium from among the plurality of information data files recorded in the first recording medium as a copy object file, and to reproduce the copy object file from the first recording medium, and to record it in the second recording medium. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は情報処理装置に関し、特に複数の記録媒体間での情報データのコピー処理に関する。   The present invention relates to an information processing apparatus, and more particularly to a process for copying information data between a plurality of recording media.

従来、撮影した画像データをメモリカードに記録するデジタルカメラが知られている。   Conventionally, digital cameras that record captured image data on a memory card are known.

また、メモリカードスロットを複数備え、複数のメモリカードに対して画像データを記録するデジタルカメラも考えられている(例えば、特許文献1参照)。   In addition, a digital camera that includes a plurality of memory card slots and records image data on a plurality of memory cards is also considered (see, for example, Patent Document 1).

このようなデジタルカメラでは、撮影された画像に通し番号を含んだファイル名を付けてメモリカードに保存するようになっているため、それぞれのデジタルカメラで撮影された画像に通し番号を含んだファイル名が付けられ、それぞれのメモリカードに保存されている。また、ファイル名をリセットする機能も持っており、リセットした後は新たに最初からファイル名に通し番号が付加される。
特開2001−169224号公報
In such a digital camera, a file name including a serial number is assigned to a captured image and saved on a memory card. Therefore, a file name including a serial number is not included in the image captured by each digital camera. Attached and stored on each memory card. It also has a function to reset the file name. After resetting, a serial number is newly added to the file name from the beginning.
JP 2001-169224 A

前述の様に複数のカードスロットを持つカメラでは、カード間で画像ファイルのコピーを行うことも考えられる。この場合、ファイル名を頼りに一方のカードに記録されている画像ファイルを他方にコピーすることが考えられるが、ファイル名を途中で理ゼットしてしまった場合などは、画像の内容が全く異なっていても同じファイル名が付加された画像ファイルが存在してしまうことも考えられる。   As described above, in a camera having a plurality of card slots, it is conceivable to copy image files between cards. In this case, it is possible to copy the image file recorded on one card to the other depending on the file name, but the contents of the image are completely different if the file name is set in the middle. However, there may be an image file with the same file name added.

そのため、単純にファイル名だけでは同じ内容の画像ファイルであるかどうかを判別できず、結局はユーザが実際に画像ファイルを再生、表示して比較しつつ、一枚一枚を手作業でコピーすることが必要となる。また、ファイル名の付け直しやディレクトリの追加が必要になるなど操作が非常にわずらわしく、また、時間もかかってしまうという問題がある。   For this reason, it is not possible to determine whether or not the image files have the same contents simply by the file name. Eventually, the user manually reproduces, displays and compares the image files one by one while copying them one by one. It will be necessary. In addition, operations such as the need to rename the file and add a directory are very troublesome and take time.

本発明はこの様な問題を解決し、異なる内容の情報データを複数の記録媒体間で容易にコピー可能にすることを目的とする。   An object of the present invention is to solve such problems and to make it possible to easily copy information data of different contents between a plurality of recording media.

本発明は、第1の記録媒体に対して情報データファイルを記録再生する第1の記録再生手段と、第2の記録媒体に対して情報データファイルを記録再生する第2の記録再生手段と、前記第1の記録媒体に記録されている複数の前記情報データファイルのうち、前記第2の記録媒体に同じ内容のものが存在しない情報データファイルをコピー対象ファイルとして検出し、前記コピー対象ファイルを前記第1の記録媒体から再生して前記第2の記録媒体に記録するよう前記第1の記録再生手段と第2の記録再生手段とを制御する制御手段とを備える。   The present invention comprises a first recording / reproducing means for recording / reproducing an information data file on / from a first recording medium, a second recording / reproducing means for recording / reproducing an information data file on / from a second recording medium, Among the plurality of information data files recorded on the first recording medium, an information data file having no same content on the second recording medium is detected as a copy target file, and the copy target file is Control means for controlling the first recording / reproducing means and the second recording / reproducing means so as to reproduce from the first recording medium and record on the second recording medium.

本発明によれば、コピー先の記録媒体に記録されていない情報データファイルを容易にコピーすることが可能となる。   According to the present invention, it is possible to easily copy an information data file that is not recorded on a copy destination recording medium.

以下、図面を参照しながら、実施の形態について説明していく。   Hereinafter, embodiments will be described with reference to the drawings.

図1は、本発明の実施形態による情報処理装置を説明する図である。   FIG. 1 is a diagram illustrating an information processing apparatus according to an embodiment of the present invention.

図1において、1は、デジタルカメラ本体である。2は、コントローラでデジタルカメラのすべてのブロックを制御する。3は、キーボードでユーザの操作を受け付ける。4は、CCD(固体撮像素子)で画像を電気信号に変換する。5は、撮像処理回路で、CCD4によって電気信号に変換された画像の信号をデジタル化する。6は、撮影用メモリで、撮像処理回路5でデジタル化された画像のデータを一時的に格納する。7は、コーデック回路で、画像データの圧縮または伸長を行う。8は、表示用メモリで、液晶パネル10に表示する内容を格納する。9は、表示回路で、表示用メモリ8から随時表示する内容を読み出しビデオ信号に変換する。10は、液晶パネルで、表示回路9で変換されたビデオ信号を表示してユーザに情報を伝える。11、12は、それぞれカードインターフェースA、そして、カードインターフェースBで、カードとのデータ通信、また、着脱を可能にするための回路である。13、14は、それぞれカードA、そして、カードBで、いわゆる不揮発性の半導体メモリを内蔵したメモリカードである。   In FIG. 1, reference numeral 1 denotes a digital camera body. 2 is a controller that controls all the blocks of the digital camera. 3 accepts a user operation with a keyboard. 4 is a CCD (solid-state image sensor) that converts an image into an electrical signal. An imaging processing circuit 5 digitizes the image signal converted into an electrical signal by the CCD 4. Reference numeral 6 denotes a photographing memory that temporarily stores image data digitized by the imaging processing circuit 5. A codec circuit 7 compresses or decompresses image data. Reference numeral 8 denotes a display memory for storing contents to be displayed on the liquid crystal panel 10. Reference numeral 9 denotes a display circuit, which reads contents displayed at any time from the display memory 8 and converts them into video signals. A liquid crystal panel 10 displays the video signal converted by the display circuit 9 to convey information to the user. Reference numerals 11 and 12 denote circuits for enabling data communication with the card and detachment with the card interface A and the card interface B, respectively. Reference numerals 13 and 14 denote a card A and a card B, respectively, which are memory cards incorporating a so-called nonvolatile semiconductor memory.

デジタルカメラの一般的な動作については、説明を省く。   A description of the general operation of the digital camera is omitted.

図2は、本発明の実施例による情報処理装置のコントローラに内蔵されるソフトウェアの構成を説明する図である。   FIG. 2 is a diagram illustrating a configuration of software built in the controller of the information processing apparatus according to the embodiment of the present invention.

図2において、100は、アプリケーションソフトウェアであり、デジタルカメラ全体1の制御を行う。110は、ファイルシステムであり、メモリカード上に適切に画像ファイルを保存、読み出し、削除などを行うための処理を行う。120は、入力ドライバであり、キーボード3からの信号を受け取りアプリケーション100にユーザからの指示を伝える。130、131は、カードドライバであり、カードA13およびカードB14との情報のやり取りをすべて制御する。140は、表示ドライバであり、アプリケーション100からの情報をユーザに伝えるために、その情報を表示するために表示回路9を制御する。   In FIG. 2, reference numeral 100 denotes application software, which controls the entire digital camera 1. Reference numeral 110 denotes a file system, which performs processing for appropriately saving, reading, and deleting image files on a memory card. An input driver 120 receives a signal from the keyboard 3 and transmits an instruction from the user to the application 100. Reference numerals 130 and 131 denote card drivers which control all exchanges of information with the card A13 and the card B14. Reference numeral 140 denotes a display driver, which controls the display circuit 9 to display the information from the application 100 in order to convey the information to the user.

ここで、ファイルに関する情報を集めたものであって、ファイルの名前や更新日時、大きさ、そして、様々な属性などが記録されている情報を、これ以降、エントリと呼ぶことにする。コントローラ2の中にある一時記憶用のメモリの一部が、ファイル一覧メモリAおよびB、コピー元ファイルエントリ、コピー先ファイルエントリとして割り当てられている。ファイル一覧メモリAおよびBは、エントリの配列でありそれぞれ複数のエントリを保持できる。また、コピー元ファイルエントリ、コピー先ファイルエントリは、それぞれエントリを一つ保持できる。   Here, information that is a collection of information about files and that records the file name, update date and time, size, and various attributes will be referred to as an entry hereinafter. A part of the temporary storage memory in the controller 2 is allocated as file list memories A and B, a copy source file entry, and a copy destination file entry. The file list memories A and B are an array of entries, and each can hold a plurality of entries. Each copy source file entry and copy destination file entry can hold one entry.

まず、カードA13からカードB14へファイルをコピーする場合について、アプリケーションソフトウェア100の動作を説明する。アプリケーション100は、キーボード3によりカードA13からカードB14へのコピー動作を指示されると、以下のシーケンスを開始する。   First, the operation of the application software 100 will be described for copying a file from the card A13 to the card B14. When the application 100 is instructed by the keyboard 3 to perform a copy operation from the card A13 to the card B14, the application 100 starts the following sequence.

アプリケーション100は、ファイルシステム110に対して、カードA13のファイルの一覧を取得するように命令する。それによって、取得されたファイルの一覧をファイル一覧メモリAに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14のファイルの一覧を取得するように命令する。それによって、取得されたファイルの一覧をファイル一覧メモリBに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14にディレクトリを新規に作成するように命令する。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。   The application 100 instructs the file system 110 to acquire a list of files on the card A13. As a result, the obtained list of files is stored in the file list memory A. The application 100 instructs the file system 110 to obtain a list of files on the card B14. As a result, the acquired file list is stored in the file list memory B. The application 100 instructs the file system 110 to create a new directory on the card B14. Entries are taken out from the file list memory A in order, and the following operations are repeated.

取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。   The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are sequentially extracted from the file list memory B, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルをそれぞれ読み出して、それらの内容を比較する。ここでは、ファイル名は関係なく、各ファイル内の画像データそのものの内容を比較する。具体的には、先頭のデータからの値を各々比較する。その結果、コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。   The extracted entry is stored in the copy destination file entry. The file specified by the copy source file entry and the file specified by the copy destination file entry are read out and their contents are compared. Here, the contents of the image data themselves in each file are compared regardless of the file name. Specifically, the values from the top data are compared. As a result, if the contents of the file specified by the copy source file entry and the file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared.

上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定されたファイルをカードB14に新規に作成されたディレクトリにコピーする。   The above operation is repeated for all entries stored in the file list memory B. If the copy flag of the copy source file entry is set, the file specified by the copy source file entry is copied to the newly created directory on the card B14.

上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   The above operation is repeated for all entries stored in the file list memory A.

アプリケーションは、これらの動作を、上記順序に実行を行うことで、カードA13のカードB14へのコピー動作を完了する。   The application performs these operations in the above order, thereby completing the copy operation of the card A13 to the card B14.

図3を用いて、カードA13からカードB14へ画像ファイルをコピーする場合について、アプリケーションソフトウェア100の動作をさらに具体的に説明する。   The operation of the application software 100 will be described more specifically with reference to FIG. 3 when copying an image file from the card A13 to the card B14.

図3において、1000はカードA内のフォルダA、1100はカードB内のフォルダBであり、2000はカードB内のフォルダA、2100はカードB内のフォルダBである。また、各フォルダ内の1001〜1004、1101〜1104、2001〜2004、2101〜2104はそれぞれ画像ファイルである。   In FIG. 3, 1000 is a folder A in the card A, 1100 is a folder B in the card B, 2000 is a folder A in the card B, and 2100 is a folder B in the card B. Further, 1001 to 1004, 1101 to 1104, 2001 to 2004, and 2101 to 2104 in each folder are image files.

次に、図4を用いて、カードA13とカードB14の中の画像ファイルについて説明する。   Next, image files in the card A13 and the card B14 will be described with reference to FIG.

ここで、画像ファイル1001と画像ファイル2001、画像ファイル1002と画像ファイル2002、画像ファイル1004と画像ファイル2101、画像ファイル1101と画像ファイル2003、画像ファイル1103と画像ファイル2103、画像ファイル1104と画像ファイル2104がそれぞれ同じ内容であるとして説明を進める。すなわち、カードA13の画像ファイルのうち、カードB14内に同じ内容のものが存在しない画像ファイルは、画像ファイル1003および画像ファイル1102である。アプリケーション100は、キーボード3によりカードA13からカードB14へのコピー動作を指示されると、以下のシーケンスを開始する。アプリケーション100は、ファイルシステム110に対して、カードA13の画像ファイルの一覧を取得するように命令する。それによって、取得された画像ファイルの一覧をファイル一覧メモリAに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14の画像ファイルの一覧を取得するように命令する。それによって、取得された画像ファイルの一覧をファイル一覧メモリBに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14にディレクトリN2200を新規に作成するように命令する。この結果、カードA13とカードB14の内容は図5のようになる。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。   Here, the image file 1001 and the image file 2001, the image file 1002 and the image file 2002, the image file 1004 and the image file 2101, the image file 1101 and the image file 2003, the image file 1103 and the image file 2103, and the image file 1104 and the image file 2104. The explanation will proceed assuming that the contents are the same. That is, among the image files of the card A13, the image files that do not have the same contents in the card B14 are the image file 1003 and the image file 1102. When the application 100 is instructed to copy from the card A13 to the card B14 by the keyboard 3, the application 100 starts the following sequence. The application 100 instructs the file system 110 to acquire a list of image files on the card A13. Thereby, the list of acquired image files is stored in the file list memory A. The application 100 instructs the file system 110 to acquire a list of image files on the card B14. Thereby, a list of acquired image files is stored in the file list memory B. The application 100 instructs the file system 110 to create a new directory N2200 in the card B14. As a result, the contents of the card A13 and the card B14 are as shown in FIG. Entries are taken out from the file list memory A in order, and the following operations are repeated.

取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。   The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are sequentially extracted from the file list memory B, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定された画像ファイルとコピー先ファイルエントリによって指定された画像ファイルをそれぞれ読み出して、それらの内容を比較する。その結果、コピー元ファイルエントリによって指定された画像ファイルとコピー先ファイルエントリによって指定された画像ファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。   The extracted entry is stored in the copy destination file entry. The image file specified by the copy source file entry and the image file specified by the copy destination file entry are read out and their contents are compared. As a result, if the contents of the image file specified by the copy source file entry and the image file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared.

上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。   The above operation is repeated for all entries stored in the file list memory B.

ここで、画像ファイル1001、画像ファイル1002、画像ファイル1004、画像ファイル1101、画像ファイル1103、画像およびファイル1104については、カードB14に内容が同じ画像ファイルがあるので、繰り返し動作のうちに、コピー元ファイルエントリのコピーフラグがクリアされる。したがって、コピーフラグがクリアされないのは、コピー元ファイルエントリが画像ファイル1003および画像ファイル1102を指定している場合である。コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定された画像ファイルをカードB14に新規に作成されたディレクトリN2200にコピーする。すなわち、カードA13からカードB14へコピーが行われるのは、画像ファイル1003および画像ファイル1102であって、それぞれ、ディレクトリN2200に画像ファイル2201および画像ファイル2202としてコピーされる。   Here, since the image file 1001, the image file 1002, the image file 1004, the image file 1101, the image file 1103, the image and the file 1104 have the same contents on the card B14, the copy source is included in the repetitive operation. The file entry copy flag is cleared. Therefore, the copy flag is not cleared when the copy source file entry specifies the image file 1003 and the image file 1102. If the copy flag of the copy source file entry is set, the image file specified by the copy source file entry is copied to the directory N2200 newly created on the card B14. That is, the image file 1003 and the image file 1102 are copied from the card A13 to the card B14, and are copied to the directory N2200 as the image file 2201 and the image file 2202, respectively.

上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   The above operation is repeated for all entries stored in the file list memory A.

アプリケーション100は、これらの動作を、上記順序に実行を行うことで、カードA13のカードB14へのコピー動作を完了する。動作完了後の、カードA13とカードB14の内容は図6のようになる。   The application 100 completes the copy operation of the card A13 to the card B14 by executing these operations in the above order. The contents of the cards A13 and B14 after the operation is completed are as shown in FIG.

つぎに、カードA13からカードB14へ、および、カードB14からカードA13へと相互に、ファイルをコピーする場合について、アプリケーションソフトウェア100の動作を説明する。   Next, the operation of the application software 100 will be described in the case where files are copied from the card A13 to the card B14 and from the card B14 to the card A13.

アプリケーション100は、キーボード3によりカードA13とカードB14の相互コピー動作を指示されると、以下のシーケンスを開始する。   When the application 100 is instructed by the keyboard 3 to perform a mutual copy operation between the card A13 and the card B14, the application 100 starts the following sequence.

アプリケーション100は、ファイルシステム110に対して、カードA13のファイルの一覧を取得するように命令する。それによって、取得されたファイルの一覧をファイル一覧メモリAに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14のファイルの一覧を取得するように命令する。それによって、取得されたファイルの一覧をファイル一覧メモリBに格納する。アプリケーション100は、ファイルシステム110に対して、カードA13にディレクトリを新規に作成するように命令する。さらに、アプリケーション100は、ファイルシステム110に対して、カードB14にディレクトリを新規に作成するように命令する。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。   The application 100 instructs the file system 110 to acquire a list of files on the card A13. As a result, the obtained list of files is stored in the file list memory A. The application 100 instructs the file system 110 to obtain a list of files on the card B14. As a result, the acquired file list is stored in the file list memory B. The application 100 instructs the file system 110 to create a new directory on the card A13. Furthermore, the application 100 instructs the file system 110 to create a new directory on the card B14. Entries are taken out from the file list memory A in order, and the following operations are repeated.

取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。   The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are sequentially extracted from the file list memory B, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルをそれぞれ読み出して、それらの内容を比較する。その結果、コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。   The extracted entry is stored in the copy destination file entry. The file specified by the copy source file entry and the file specified by the copy destination file entry are read out and their contents are compared. As a result, if the contents of the file specified by the copy source file entry and the file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared. The above operation is repeated for all entries stored in the file list memory B.

コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定されたファイルをカードB14に新規に作成されたディレクトリにコピーする。上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   If the copy flag of the copy source file entry is set, the file specified by the copy source file entry is copied to the newly created directory on the card B14. The above operation is repeated for all entries stored in the file list memory A.

ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。   Entries are sequentially extracted from the file list memory B, and the following operations are repeated. The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are taken out from the file list memory A in order, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルをそれぞれ読み出して、それらの内容を比較する。その結果、コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定されたファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   The extracted entry is stored in the copy destination file entry. The file specified by the copy source file entry and the file specified by the copy destination file entry are read out and their contents are compared. As a result, if the contents of the file specified by the copy source file entry and the file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared. The above operation is repeated for all entries stored in the file list memory A.

コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定されたファイルをカードA13に新規に作成されたディレクトリにコピーする。上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。   If the copy flag of the copy source file entry is set, the file specified by the copy source file entry is copied to a newly created directory on the card A13. The above operation is repeated for all entries stored in the file list memory B.

アプリケーションは、これらの動作を、上記順序に実行を行うことで、カードA13とカードB14の相互コピー動作を完了する。   The application executes these operations in the above order, thereby completing the mutual copying operation of the card A13 and the card B14.

図3を用いて、カードA13とカードB14の画像ファイルを相互コピーする場合について、アプリケーションソフトウェア100の動作をさらに具体的に説明する。なお、図3の細部の説明は、済んでいるので省略する。   The operation of the application software 100 will be described more specifically with reference to FIG. 3 when the image files of the card A13 and the card B14 are mutually copied. The detailed description of FIG. 3 is omitted because it has been completed.

次に、図7を用いて、カードA13とカードB14の中の画像ファイルについて説明する。   Next, image files in the card A13 and the card B14 will be described with reference to FIG.

ここで、画像ファイル1001と画像ファイル2001、画像ファイル1002と画像ファイル2002、画像ファイル1004と画像ファイル2101、画像ファイル1101と画像ファイル2003、画像ファイル1103と画像ファイル2103、画像ファイル1104と画像ファイル2104がそれぞれ同じ内容であるとして説明を進める。すなわち、カードA13において、カードB14に同じ内容がない画像ファイルは、画像ファイル1003および画像ファイル1102である。また、カードB14の画像ファイルのうち、カードA13に同じ内容のものが存在しない画像ファイルは、画像ファイル2004および画像ファイル2102である。   Here, the image file 1001 and the image file 2001, the image file 1002 and the image file 2002, the image file 1004 and the image file 2101, the image file 1101 and the image file 2003, the image file 1103 and the image file 2103, and the image file 1104 and the image file 2104. The explanation will proceed assuming that the contents are the same. That is, in the card A13, the image files that do not have the same contents in the card B14 are the image file 1003 and the image file 1102. Among the image files on the card B14, image files that do not have the same contents on the card A13 are the image file 2004 and the image file 2102.

アプリケーション100は、キーボード3によりカードA13とカードB14の相互コピー動作を指示されると、以下のシーケンスを開始する。   When the application 100 is instructed by the keyboard 3 to perform a mutual copy operation between the card A13 and the card B14, the application 100 starts the following sequence.

アプリケーション100は、ファイルシステム110に対して、カードA13の画像ファイルの一覧を取得するように命令する。それによって、取得された画像ファイルの一覧をファイル一覧メモリAに格納する。アプリケーション100は、ファイルシステム110に対して、カードB14の画像ファイルの一覧を取得するように命令する。それによって、取得された画像ファイルの一覧をファイル一覧メモリBに格納する。アプリケーション100は、ファイルシステム110に対して、カードA13にディレクトリN1200を新規に作成するように命令する。アプリケーション100は、ファイルシステム110に対して、カードB14にディレクトリN2200を新規に作成するように命令する。これらの結果、カードA13とカードB14の内容は図8のようになる。   The application 100 instructs the file system 110 to acquire a list of image files on the card A13. Thereby, the list of acquired image files is stored in the file list memory A. The application 100 instructs the file system 110 to acquire a list of image files on the card B14. Thereby, a list of acquired image files is stored in the file list memory B. The application 100 instructs the file system 110 to create a new directory N1200 in the card A13. The application 100 instructs the file system 110 to create a new directory N2200 in the card B14. As a result, the contents of the cards A13 and B14 are as shown in FIG.

まず、カードA13からカードB14へのコピー動作を行う。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。   First, a copy operation from the card A13 to the card B14 is performed. Entries are taken out from the file list memory A in order, and the following operations are repeated. The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are sequentially extracted from the file list memory B, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定されたファイルとコピー先ファイルエントリによって指定された画像ファイルをそれぞれ読み出して、それらの内容を比較する。その結果、コピー元ファイルエントリによって指定された画像ファイルとコピー先ファイルエントリによって指定されたファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。   The extracted entry is stored in the copy destination file entry. The file specified by the copy source file entry and the image file specified by the copy destination file entry are read out and their contents are compared. As a result, if the contents of the image file specified by the copy source file entry and the file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared. The above operation is repeated for all entries stored in the file list memory B.

ここで、画像ファイル1001、画像ファイル1002、画像ファイル1004、画像ファイル1101、画像ファイル1103、および画像ファイル1104については、カードB14に内容が同じ画像ファイルがあるので、繰り返し動作のうちに、コピー元ファイルエントリのコピーフラグがクリアされる。したがって、コピーフラグがクリアされないのは、コピー元ファイルエントリが画像ファイル1003および画像ファイル1102を指定している場合である。コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定された画像ファイルをカードB14に新規に作成されたディレクトリN2200にコピーする。すなわち、カードA13からカードB14へコピーが行われるのは、画像ファイル1003および画像ファイル1102であって、それぞれ、ディレクトリN2200に画像ファイル2201および画像ファイル2202としてコピーされる。上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   Here, since the image file 1001, the image file 1002, the image file 1004, the image file 1101, the image file 1103, and the image file 1104 have the same image file on the card B14, the copy source is included in the repeated operation. The file entry copy flag is cleared. Therefore, the copy flag is not cleared when the copy source file entry specifies the image file 1003 and the image file 1102. If the copy flag of the copy source file entry is set, the image file specified by the copy source file entry is copied to the directory N2200 newly created on the card B14. That is, the image file 1003 and the image file 1102 are copied from the card A13 to the card B14, and are copied to the directory N2200 as the image file 2201 and the image file 2202, respectively. The above operation is repeated for all entries stored in the file list memory A.

引き続き、カードB14からカードA13へのコピー動作を行う。   Subsequently, a copy operation from the card B14 to the card A13 is performed.

ファイル一覧メモリBからエントリを順番に取り出して、以下の動作を繰り返し行う。取り出したエントリをコピー元ファイルエントリに格納する。コピー元ファイルエントリのコピーフラグをセットする。ファイル一覧メモリAからエントリを順番に取り出して、以下の動作を繰り返し行う。   Entries are sequentially extracted from the file list memory B, and the following operations are repeated. The extracted entry is stored in the copy source file entry. Set the copy flag for the source file entry. Entries are taken out from the file list memory A in order, and the following operations are repeated.

取り出したエントリをコピー先ファイルエントリに格納する。コピー元ファイルエントリによって指定された画像ファイルとコピー先ファイルエントリによって指定された画像ファイルをそれぞれ読み出して、それらの内容を比較する。その結果、コピー元ファイルエントリによって指定された画像ファイルとコピー先ファイルエントリによって指定された画像ファイルの内容が同じならば、コピー元ファイルエントリのコピーフラグをクリアする。上記動作を、ファイル一覧メモリAに格納されているエントリについてすべて繰り返し行う。   The extracted entry is stored in the copy destination file entry. The image file specified by the copy source file entry and the image file specified by the copy destination file entry are read out and their contents are compared. As a result, if the contents of the image file specified by the copy source file entry and the image file specified by the copy destination file entry are the same, the copy flag of the copy source file entry is cleared. The above operation is repeated for all entries stored in the file list memory A.

ここで、画像ファイル2001、画像ファイル2002、画像ファイル2003、画像ファイル2101、画像ファイル2103、および画像ファイル2104については、カードA13に内容が同じ画像ファイルがあるので、繰り返し動作のうちに、コピー元ファイルエントリのコピーフラグがクリアされる。したがって、コピーフラグがクリアされないのは、コピー元ファイルエントリが画像ファイル2004および画像ファイル2102を指定している場合である。コピー元ファイルエントリのコピーフラグがセットされているならば、コピー元ファイルエントリによって指定された画像ファイルをカードA13に新規に作成されたディレクトリN1200にコピーする。すなわち、カードB14からカードA13へコピーが行われるのは、画像ファイル2004および画像ファイル2102であって、それぞれ、ディレクトリN1200に画像ファイル1201および画像ファイル1202としてコピーされる。上記動作を、ファイル一覧メモリBに格納されているエントリについてすべて繰り返し行う。   Here, since the image file 2001, the image file 2002, the image file 2003, the image file 2101, the image file 2103, and the image file 2104 have the same image file on the card A13, the copy source is included in the repeated operation. The file entry copy flag is cleared. Therefore, the copy flag is not cleared when the copy source file entry specifies the image file 2004 and the image file 2102. If the copy flag of the copy source file entry is set, the image file specified by the copy source file entry is copied to the directory N1200 newly created on the card A13. That is, the image file 2004 and the image file 2102 are copied from the card B14 to the card A13, and are copied to the directory N1200 as the image file 1201 and the image file 1202, respectively. The above operation is repeated for all entries stored in the file list memory B.

以上のように、アプリケーション100は、カードA13からカードB14へのコピー動作と、カードB14からカードA13へのコピー動作を、上記順序に実行することで、カードA13とカードB14の相互コピー動作を完了する。動作完了後の、カードA13とカードB14の内容は図9のようになる。   As described above, the application 100 completes the mutual copying operation between the card A13 and the card B14 by executing the copying operation from the card A13 to the card B14 and the copying operation from the card B14 to the card A13 in the above order. To do. The contents of the cards A13 and B14 after the operation is completed are as shown in FIG.

なお、前述の実施形態では、二つのメモリカード間で画像ファイルをコピーする場合について説明したが、一つの記録媒体内に作成された二つのフォルダ間で同様に画像ファイルをコピーする場合にも、本発明を同様に適用することが可能である。   In the above-described embodiment, the case where an image file is copied between two memory cards has been described. However, when an image file is similarly copied between two folders created in one recording medium, The present invention can be similarly applied.

本発明の実施例による情報処理装置を示した図である。It is the figure which showed the information processing apparatus by the Example of this invention. 本発明の実施例による情報処理装置のコントローラに内蔵されるソフトウェアの構成を示した図である。It is the figure which showed the structure of the software incorporated in the controller of the information processing apparatus by the Example of this invention. アプリケーションが動作する前のカードA13およびカードB14の内容を示した図である。It is the figure which showed the content of card | curd A13 and card | curd B14 before an application operate | moves. カードA13およびカードB14に格納されている画像ファイルの関係を示した図である。It is the figure which showed the relationship of the image file stored in card | curd A13 and card | curd B14. アプリケーションの動作途中でのカードA13とカードB14の内容を示した図である。It is the figure which showed the contents of card | curd A13 and card | curd B14 in the middle of operation | movement of an application. アプリケーションの動作完了でのカードA13とカードB14の内容を示した図である。It is the figure which showed the contents of the card | curd A13 and the card | curd B14 at the completion of operation | movement of an application. カードA13およびカードB14に格納されている画像ファイルの関係を示した図である。It is the figure which showed the relationship of the image file stored in card | curd A13 and card | curd B14. アプリケーションの動作途中でのカードA13とカードB14の内容を示した図である。It is the figure which showed the contents of card | curd A13 and card | curd B14 in the middle of operation | movement of an application. アプリケーションの動作完了でのカードA13とカードB14の内容を示した図である。It is the figure which showed the contents of the card | curd A13 and the card | curd B14 at the completion of operation | movement of an application.

Claims (7)

第1の記録媒体に対して情報データファイルを記録再生する第1の記録再生手段と、
第2の記録媒体に対して情報データファイルを記録再生する第2の記録再生手段と、
前記第1の記録媒体に記録されている複数の前記情報データファイルのうち、前記第2の記録媒体に同じ内容のものが存在しない情報データファイルをコピー対象ファイルとして検出し、前記コピー対象ファイルを前記第1の記録媒体から再生して前記第2の記録媒体に記録するよう前記第1の記録再生手段と第2の記録再生手段とを制御する制御手段とを備える情報処理装置。
First recording / reproducing means for recording / reproducing an information data file with respect to a first recording medium;
Second recording / reproducing means for recording / reproducing the information data file to / from the second recording medium;
Among the plurality of information data files recorded on the first recording medium, an information data file having no same content on the second recording medium is detected as a copy target file, and the copy target file is An information processing apparatus comprising: control means for controlling the first recording / reproducing means and the second recording / reproducing means so as to reproduce from the first recording medium and record on the second recording medium.
前記制御手段は、前記第2の記録媒体に対し前記コピー対象ファイルのためのフォルダを新たに作成して前記コピー対象ファイルを格納するよう前記第2の記録再生手段を制御することを特徴とする請求項1記載の情報処理装置。   The control means controls the second recording / reproducing means to newly create a folder for the copy target file on the second recording medium and store the copy target file. The information processing apparatus according to claim 1. 前記制御手段は、前記第1の記録媒体に記録されている複数の情報データファイルと前記第2の記録媒体に記録されている複数の情報データファイルとをそれぞれ再生し、各情報データファイル内の情報データの内容を各々比較することにより前記コピー対象ファイルを検出することを特徴とする請求項1記載の情報処理装置。   The control means reproduces a plurality of information data files recorded on the first recording medium and a plurality of information data files recorded on the second recording medium, respectively. The information processing apparatus according to claim 1, wherein the file to be copied is detected by comparing contents of information data. 前記制御手段は更に、前記第2の記録媒体に記録されている複数の前記情報データファイルのうち、前記第1の記録媒体に同じ内容のものが存在しない情報データファイルを第2のコピー対象ファイルとして検出し、前記第2のコピー対象ファイルを前記第2の記録媒体から再生して前記第1の記録媒体に記録するよう前記第1の記録再生手段と第2の記録再生手段とを制御することを特徴とする請求項1記載の情報処理装置。   The control means further selects an information data file having the same contents on the first recording medium from among the plurality of information data files recorded on the second recording medium as a second copy target file. And the first recording / reproducing means and the second recording / reproducing means are controlled so that the second copy target file is reproduced from the second recording medium and recorded on the first recording medium. The information processing apparatus according to claim 1. それぞれ複数の情報データファイルを格納した第1のフォルダと第2のフォルダが作成された記録媒体に対して前記情報データを記録再生する記録再生手段と、
前記第1のフォルダに格納されている複数の前記情報データファイルのうち、前記第2のフォルダに同じ内容のものが存在しない情報データファイルをコピー対象ファイルとして検出し、前記コピー対象ファイルを前記第1のフォルダから再生して前記第2のフォルダに格納するよう前記記録再生手段を制御する制御手段とを備える情報処理装置。
Recording / reproducing means for recording / reproducing the information data on / from a recording medium in which a first folder and a second folder each storing a plurality of information data files are created;
Among the plurality of information data files stored in the first folder, an information data file having no same content in the second folder is detected as a copy target file, and the copy target file is detected as the first target file. An information processing apparatus comprising: control means for controlling the recording / reproducing means so as to reproduce from one folder and store in the second folder.
第1の記録媒体と第2の記録媒体とに対して情報データファイルを記録再生する記録再生工程と、
前記第1の記録媒体に記録されている複数の前記情報データファイルのうち、前記第2の記録媒体に同じ内容のものが存在しない情報データファイルをコピー対象ファイルとして検出し、前記コピー対象ファイルを前記第1の記録媒体から再生して前記第2の記録媒体に記録する制御工程とを有する情報処理方法。
A recording / reproducing step of recording / reproducing the information data file with respect to the first recording medium and the second recording medium;
Among the plurality of information data files recorded on the first recording medium, an information data file having no same content on the second recording medium is detected as a copy target file, and the copy target file is And a control step of reproducing from the first recording medium and recording on the second recording medium.
それぞれ複数の情報データファイルを格納した第1のフォルダと第2のフォルダが作成された記録媒体に対して前記情報データを記録再生する記録再生工程と、
前記第1のフォルダに格納されている複数の前記情報データファイルのうち、前記第2のフォルダに同じ内容のものが存在しない情報データファイルをコピー対象ファイルとして検出し、前記コピー対象ファイルを前記第1のフォルダから再生して前記第2のフォルダに格納する制御工程とを有する情報処理方法。
A recording / reproducing step of recording / reproducing the information data with respect to a recording medium in which a first folder and a second folder each storing a plurality of information data files are created;
Among the plurality of information data files stored in the first folder, an information data file having no same content in the second folder is detected as a copy target file, and the copy target file is detected as the first target file. And a control step of reproducing from one folder and storing in the second folder.
JP2004312271A 2004-10-27 2004-10-27 Information processor Withdrawn JP2006127015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004312271A JP2006127015A (en) 2004-10-27 2004-10-27 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004312271A JP2006127015A (en) 2004-10-27 2004-10-27 Information processor

Publications (1)

Publication Number Publication Date
JP2006127015A true JP2006127015A (en) 2006-05-18

Family

ID=36721741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004312271A Withdrawn JP2006127015A (en) 2004-10-27 2004-10-27 Information processor

Country Status (1)

Country Link
JP (1) JP2006127015A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010283809A (en) * 2009-05-01 2010-12-16 Nikon Corp Data recording apparatus, and digital camera

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010283809A (en) * 2009-05-01 2010-12-16 Nikon Corp Data recording apparatus, and digital camera

Similar Documents

Publication Publication Date Title
JPH11341421A (en) Digital camera
JP2003298982A (en) Imaging apparatus
JP2005318125A (en) Method for dividing and recording data, method for dividing and recording data of electronic camera, and the electronic camera
JP2009118215A (en) Imaging apparatus
JP5983409B2 (en) Imaging apparatus, image transfer method, and program
JP2004007435A (en) Electronic camera, image recording apparatus, image recording method, and program
JP2006311067A (en) Electronic camera apparatus and history file creating method
US20080313216A1 (en) File management apparatus and file transfer method and imaging apparatus
JP3880489B2 (en) IMAGING DEVICE, DATA PROCESSING METHOD IN IMAGING DEVICE, STORAGE MEDIUM, AND PROGRAM
JP2009253769A (en) Imaging apparatus, method for controlling imaging apparatus, and program
JP4804270B2 (en) Image playback device
JP4757206B2 (en) Image processing apparatus, image processing apparatus control method, and computer program
JP2006127015A (en) Information processor
JP2005236496A (en) Image recording display system
JPH08147952A (en) Recording and reproducing device
JP2008182513A (en) Imaging apparatus with information writing function
JP2008219425A (en) Image processor and image processing method
JP5414844B2 (en) Imaging device
JP4198144B2 (en) Digital image editing device
JP2005175822A (en) Image pickup device, image processing method, recording medium and program
JP2008011421A (en) Camera device
JP2005051279A (en) Method of setting display direction of static image
JP4402510B2 (en) Image display device
JP6110730B2 (en) Imaging device
JP4358718B2 (en) Digital camera and method for creating, updating, and appending control file in digital camera

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: 20080108