Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5165406B2 - Electronic device, information file sharing system, and image file sharing system - Google Patents
[go: Go Back, main page]

JP5165406B2 - Electronic device, information file sharing system, and image file sharing system - Google Patents

Electronic device, information file sharing system, and image file sharing system Download PDF

Info

Publication number
JP5165406B2
JP5165406B2 JP2008026388A JP2008026388A JP5165406B2 JP 5165406 B2 JP5165406 B2 JP 5165406B2 JP 2008026388 A JP2008026388 A JP 2008026388A JP 2008026388 A JP2008026388 A JP 2008026388A JP 5165406 B2 JP5165406 B2 JP 5165406B2
Authority
JP
Japan
Prior art keywords
file
information
image
electronic device
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008026388A
Other languages
Japanese (ja)
Other versions
JP2009187273A (en
Inventor
嗣基 小杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Imaging Corp
Original Assignee
Olympus Imaging Corp
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 Olympus Imaging Corp filed Critical Olympus Imaging Corp
Priority to JP2008026388A priority Critical patent/JP5165406B2/en
Publication of JP2009187273A publication Critical patent/JP2009187273A/en
Application granted granted Critical
Publication of JP5165406B2 publication Critical patent/JP5165406B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、電子装置、情報ファイル共有システム、および画像ファイル共有システムに関し、特に複数の装置間で情報ファイルを授受して情報を共有化することを可能とするものに関する。   The present invention relates to an electronic apparatus, an information file sharing system, and an image file sharing system, and more particularly to an apparatus capable of sharing information by exchanging information files between a plurality of apparatuses.

伝送元の装置から伝送先の装置へとファイルを伝送し、そのファイルを伝送先の装置で記憶する際に、伝送されたファイルの名称と、伝送先で既に記憶されているファイルの名称とが重複して、伝送先で既に記憶されているファイルが上書きされてしまうのを防ぐ技術がいくつか提案されている。   When a file is transmitted from the transmission source device to the transmission destination device and the file is stored in the transmission destination device, the name of the transmitted file and the name of the file already stored at the transmission destination are Several techniques have been proposed for preventing the file already stored at the transmission destination from being overwritten.

特許文献1に開示される通信装置においては、ファイルサーバのような外部装置にファイルを蓄積(記憶)する際に、ファイルサーバ内の指定ディレクトリ内に同名のファイルが存在するか否か確認される。同名のファイルが存在しない場合には、ファイル名の変更なしに蓄積される。同名のファイルが存在する場合には、日時情報に基づく文字列が元のファイル名に付加される。   In the communication device disclosed in Patent Literature 1, when a file is stored (stored) in an external device such as a file server, it is confirmed whether a file with the same name exists in a specified directory in the file server. . If a file with the same name does not exist, it is accumulated without changing the file name. If a file with the same name exists, a character string based on the date / time information is added to the original file name.

特許文献2に開示されるものでは、複数台のカメラを協調動作させて画像を記録するのに際して、これら複数台のカメラのそれぞれを特定することが可能な文字列と撮影順番を特定可能な数字を含むファイル名が生成される。これにより、これら複数台のカメラが生成した画像データを1台のコンピュータ等に取り込んだ場合でも、ファイル名の重複を防止することが可能となる。また、これらのファイル名をもとに、どのカメラで撮影して得られた画像データかを特定可能で、さらにはどのような時間順で撮影されたかを特定することが可能となる。   In what is disclosed in Patent Document 2, when an image is recorded by operating a plurality of cameras in cooperation, a character string that can specify each of the plurality of cameras and a number that can specify a shooting order A file name containing is generated. This makes it possible to prevent duplication of file names even when image data generated by the plurality of cameras is taken into one computer or the like. Further, based on these file names, it is possible to specify which camera the image data is obtained by photographing, and furthermore it is possible to identify in what time order the images are taken.

特許文献3に開示されるものでは、撮像装置で生成されたファイルを画像保存サーバに転送して保存する際にファイル名が画像保存サーバで決定される。すなわち、撮像操作に先だって撮像装置と画像保存サーバとが接続され、撮像装置内の記憶装置の空き容量が検知される。そして、検知された空き容量に応じて、以後の撮像操作によって生成される画像ファイルに付与すべきファイル名が画像保存サーバによって決定され、そのファイル名が撮像装置に通知される。撮像装置は、撮像操作によって生成される画像ファイルに対して、上述のように通知されたファイル名を付与する。
特開2006−203694号公報 特開2004−235789号公報 特開2005−117487号公報
In the technique disclosed in Patent Document 3, when a file generated by an imaging device is transferred to an image storage server and stored, the file name is determined by the image storage server. That is, the imaging device and the image storage server are connected prior to the imaging operation, and the free capacity of the storage device in the imaging device is detected. Then, according to the detected free space, the file name to be given to the image file generated by the subsequent imaging operation is determined by the image storage server, and the file name is notified to the imaging device. The imaging device gives the file name notified as described above to the image file generated by the imaging operation.
JP 2006-203694 A JP 2004-235789 A JP 2005-117487 A

特許文献1に開示されるものでは、名前が重複するファイルの有無をファイル伝送先の装置と通信して事前に確認する必要があり、処理が煩雑なものとなり得る。また、ファイルの伝送元となる装置が複数存在し、それらが同時期に同一の処理を行おうとした場合には、ファイル名が重複してしまう可能性がある。   With what is disclosed in Patent Document 1, it is necessary to confirm in advance whether there is a file with a duplicate name by communicating with a file transmission destination device, and the processing can be complicated. In addition, when there are a plurality of devices serving as file transmission sources and they try to perform the same processing at the same time, there is a possibility that the file names will be duplicated.

特許文献2に開示されるものでは、上述したように複数台のカメラのそれぞれを特定することが可能な文字列と撮影順番を特定可能な数字を含むファイル名を生成されるファイルに付与すると、日本電子工業振興協会(JEIDA)で定められたカメラファイルシステム規格(DCF = Design rule for Camera File system)に準拠したファイルの名付けができなくなる場合がある。すると、あるカメラで生成された画像ファイルが、他の特定の機器で再生できないと云った不具合を生じることがある。DCFでは、ファイル名として、自由文字で構成される4文字とそれに続く4桁の数字(例:IMG_0001 この例ではアンダーバー”_”も1文字の自由文字としてカウントされる)でファイル名の拡張子を除く部分が形成されることと規定しているからである。   In what is disclosed in Patent Document 2, as described above, when a file name including a character string that can specify each of a plurality of cameras and a number that can specify a shooting order is given to the generated file, There are cases where naming a file that conforms to the camera file system standard (DCF = Design rule for Camera File system) defined by the Japan Electronics Industry Promotion Association (JEIDA) may become impossible. As a result, there may be a problem that an image file generated by a certain camera cannot be played back by another specific device. In DCF, the file name is an extension of the file name using 4 characters composed of free characters followed by 4 digits (eg, IMG — 0001 in this example, the underscore “_” is also counted as one free character). This is because it is stipulated that the portion excluding the is formed.

特許文献3に開示されるものでは、画像保存サーバからファイル名が通知されるまで撮像装置は画像ファイルを生成することができない。また、撮影操作終了後に当初予定していた画像保存サーバと異なる装置(パーソナルコンピュータ等)に接続してしまった場合、ファイル名が重複する問題を生じうる。   In the device disclosed in Patent Document 3, the imaging device cannot generate an image file until the file name is notified from the image storage server. In addition, when connected to a device (such as a personal computer) different from the image storage server originally planned after the photographing operation is completed, there may be a problem that file names are duplicated.

本発明は上記の問題に鑑みなされたもので、複数の装置間でファイルを伝送する際に、ユーザの利便性を損なうことなく、かつ容易にファイル名の重複を防ぐことが可能な技術を提供することを目的とする。   The present invention has been made in view of the above problems, and provides a technology capable of easily preventing duplication of file names without losing user convenience when transmitting files between a plurality of devices. The purpose is to do.

(1) 本発明の第1の態様は、データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な情報記憶装置を有する電子装置に適用される。そして、
前記情報記憶装置に記憶されている1または複数の前記情報ファイルのうち、外部装置に送信する対象の情報ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する情報ファイルを前記外部装置に送信する送信部と、
前記所定のファイル名を有する情報ファイルが前記外部装置で記憶される際に付与されたファイル名に関連する情報である転送先ファイル名情報を含むファイル保存情報を前記外部装置から受信するファイル保存情報受信部と、
前記所定のファイル名を有する情報ファイルの内部に含まれる前記付帯情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する、転送先ファイル保存情報付加処理部と
を有することにより上述した課題を解決する。
(2) 本発明の第2の態様は、データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な第1の情報記憶装置を有する相手電子装置から送信される前記情報ファイルを受信可能に構成される電子装置に適用される。そして、
前記相手電子装置から送信される前記情報ファイルを受信する情報ファイル受信部と、
前記情報ファイル受信部で受信した前記情報ファイルを前記電子装置の側で記憶するための、第2の情報記憶装置と、
前記情報ファイル受信部で受信した前記情報ファイルである受信情報ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の情報ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信情報ファイルに元来付与されていたファイル名を前記受信情報ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信情報ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信情報ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記情報ファイルを送信した前記相手電子装置に、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信する、ファイル保存情報送信部と
を有するものである。
(3) 本発明の第3の態様は、データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な第1の情報記憶装置を有する第1の電子装置と、前記情報ファイルを記憶可能な第2の情報記憶装置を有する第2の電子装置とを有し、前記第1の電子装置から送信される、前記第1の情報記憶装置に記憶される前記情報ファイルを、前記第2の電子装置が受信して前記第2の情報記憶装置に記憶可能な情報ファイル共有システムに適用される。そして、
前記第1の電子装置は、
前記第1の情報記憶装置に記憶されている1または複数の前記情報ファイルのうち、前記第2の電子装置に送信する対象の情報ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する情報ファイルを前記第2の電子装置に送信する送信部と
を有し、
前記第2の電子装置は、
前記第1の電子装置から送信される前記情報ファイルを受信する情報ファイル受信部と、
前記情報ファイル受信部で受信した前記情報ファイルである受信情報ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の情報ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信情報ファイルに元来付与されていたファイル名である前記所定のファイル名を前記受信情報ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信情報ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信情報ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記第1の電子装置に、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信する、ファイル保存情報送信部とを有し、
前記第1の電子装置はさらに、
前記第2の電子装置から送信される前記ファイル保存情報を受信する、ファイル保存情報受信部と、
前記所定のファイル名を有する情報ファイルの内部に含まれる前記付帯情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する、転送先ファイル保存情報付加処理部と
を有するものである。
(4) 本発明の第4の態様は、被写体を撮像して画像データを生成する撮像部を有し、前記画像データが収容されるデータ部と、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報とが内部に含まれる画像ファイルを記憶可能な第1の情報記憶装置を有する第1の電子装置と、前記画像ファイルを記憶可能な第2の情報記憶装置を有する第2の電子装置とを含み、前記第1の電子装置から送信される、前記第1の情報記憶装置に記憶される前記画像ファイルを、前記第2の電子装置が受信して前記第2の情報記憶装置に記憶可能に構成される画像ファイル共有システムに適用される。そして、
前記第1の電子装置は、
前記第1の情報記憶装置に記憶されている1または複数の前記画像ファイルのうち、前記第2の電子装置に送信する対象の画像ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する画像ファイルを前記第2の電子装置に送信する送信部と
を有し、
前記第2の電子装置は、
前記第1の電子装置から送信される前記画像ファイルを受信する画像ファイル受信部と、
前記画像ファイル受信部で受信した前記画像ファイルである受信画像ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の画像ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信画像ファイルに元来付与されていたファイル名である前記所定のファイル名を前記受信画像ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信画像ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信画像ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記第1の電子装置に、前記ファイル名決定部で決定されたファイル名を含む、ファイル保存情報を送信する、ファイル保存情報送信部とを有し、
前記第1の電子装置はさらに、
前記第2の電子装置から送信される前記ファイル保存情報を受信する、ファイル保存情報受信部と、
前記第1の情報記憶装置に記憶されている前記所定のファイル名を有する画像ファイルを読み出し、当該の画像ファイル中に含まれる画像データに対して画像データサイズを縮小し、縮小画像データを生成する処理をする画像データ縮小処理部と、
前記所定のファイル名を有する画像ファイルの内部に含まれる画像情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する処理を行い、当該の処理をした画像情報と前記縮小画像データとが収容される画像ファイルを生成して、前記所定のファイル名で上書き保存処理をする上書き保存処理部と
を有するものである。
(1) A first aspect of the present invention is applied to an electronic apparatus having an information storage device capable of storing an information file including therein a data portion and incidental information related to the data portion. And
A transmission file selection unit that selects an information file to be transmitted to an external device from one or more of the information files stored in the information storage device;
A transmission unit that transmits the information file having a predetermined file name selected by the transmission file selection unit to the external device;
File storage information for receiving, from the external device, file storage information including transfer destination file name information, which is information related to the file name assigned when the information file having the predetermined file name is stored in the external device A receiver,
A transfer destination file storage information addition processing unit that adds information based on the file storage information as transfer destination file storage information to the incidental information included in the information file having the predetermined file name. Solve the problem.
(2) A second aspect of the present invention is transmitted from a partner electronic device having a first information storage device capable of storing an information file including a data portion and incidental information related to the data portion. The present invention is applied to an electronic device configured to be able to receive the information file. And
An information file receiving unit for receiving the information file transmitted from the counterpart electronic device;
A second information storage device for storing the information file received by the information file receiver on the electronic device side;
Whether the file name of the received information file, which is the information file received by the information file receiver, is the same as the file name assigned to another information file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name originally given to the reception information file is determined as a file name to be given to the reception information file, and the duplication is determined. If it is determined that there is, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the reception information file;
A file storage processing unit for storing the received information file in the second information storage device by giving the file name determined by the file name determination unit;
A file storage information transmission unit configured to transmit file storage information including the file name determined by the file name determination unit to the partner electronic device that has transmitted the information file;
(3) According to a third aspect of the present invention, there is provided a first electronic device including a first information storage device capable of storing an information file including a data portion and incidental information related to the data portion. The second electronic device having a second information storage device capable of storing the information file, and transmitted from the first electronic device, the information stored in the first information storage device The file is applied to an information file sharing system in which the second electronic device can receive and store the file in the second information storage device. And
The first electronic device includes:
A transmission file selection unit that selects an information file to be transmitted to the second electronic device from one or more of the information files stored in the first information storage device;
A transmission unit that transmits the information file having a predetermined file name selected by the transmission file selection unit to the second electronic device;
The second electronic device includes:
An information file receiving unit for receiving the information file transmitted from the first electronic device;
Whether the file name of the received information file, which is the information file received by the information file receiver, is the same as the file name assigned to another information file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name to be given to the reception information file is the predetermined file name that is the file name originally given to the reception information file And when it is determined that there is an overlap, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the reception information file;
A file storage processing unit for storing the received information file in the second information storage device by giving the file name determined by the file name determination unit;
A file storage information transmission unit that transmits file storage information including the file name determined by the file name determination unit to the first electronic device;
The first electronic device further includes
A file storage information receiving unit for receiving the file storage information transmitted from the second electronic device;
A transfer destination file storage information addition processing unit for adding information based on the file storage information as transfer destination file storage information to the incidental information included in the information file having the predetermined file name; .
(4) A fourth aspect of the present invention includes an imaging unit that captures an image of a subject and generates image data. The data unit that stores the image data; and the imaging unit captures the subject and A first electronic device having a first information storage device capable of storing an image file including therein image information including at least an imaging condition for generating image data; and a second electronic device capable of storing the image file. The second electronic device receives the image file transmitted from the first electronic device and stored in the first information storage device. Thus, the present invention is applied to an image file sharing system configured to be capable of being stored in the second information storage device. And
The first electronic device includes:
A transmission file selection unit that selects a target image file to be transmitted to the second electronic device from one or more of the image files stored in the first information storage device;
A transmission unit that transmits an image file having a predetermined file name selected by the transmission file selection unit to the second electronic device;
The second electronic device includes:
An image file receiving unit for receiving the image file transmitted from the first electronic device;
Whether the file name of the received image file which is the image file received by the image file receiving unit is the same as the file name assigned to another image file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name to be given to the received image file is the predetermined file name that is the file name originally given to the received image file And when it is determined that there is an overlap, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the received image file;
A file storage processing unit for storing the received image file in the second information storage device by giving the file name determined by the file name determination unit;
A file storage information transmission unit that transmits file storage information including the file name determined by the file name determination unit to the first electronic device;
The first electronic device further includes
A file storage information receiving unit for receiving the file storage information transmitted from the second electronic device;
The image file having the predetermined file name stored in the first information storage device is read out, the image data size is reduced with respect to the image data included in the image file, and reduced image data is generated. An image data reduction processing unit for processing;
Performing a process of adding information based on the file storage information as transfer destination file storage information to the image information included in the image file having the predetermined file name, and the processed image information and the reduced image data And an overwrite storage processing unit that performs an overwrite storage process with the predetermined file name.

本発明によれば、情報ファイルの内部に含まれる付帯情報に、当該の情報ファイルが外部装置で記憶される際に付与されたファイル名に関連する情報である転送先ファイル名情報を含むファイル保存情報に基づく情報が転送先ファイル保存情報として付加されることにより、電子装置のユーザが外部装置に転送した情報ファイルに円滑かつ容易にアクセスすることが可能となる。   According to the present invention, the file storage includes the transfer destination file name information which is information related to the file name given when the information file is stored in the external device in the incidental information included in the information file. By adding information based on the information as transfer destination file storage information, the user of the electronic device can smoothly and easily access the information file transferred to the external device.

− 第1の実施の形態 −
本発明の第1の実施の形態においては、デジタルカメラとコンピュータとの間で画像ファイルを授受する例を説明をする。すなわち、電子装置としてのデジタルカメラから外部装置としてのコンピュータへ、情報ファイルが送信される。本実施の形態において、情報ファイルは画像ファイルである。以下、図1から図5を参照して本発明の第1の実施の形態について説明をする。
− First embodiment −
In the first embodiment of the present invention, an example in which an image file is exchanged between a digital camera and a computer will be described. That is, an information file is transmitted from a digital camera as an electronic device to a computer as an external device. In the present embodiment, the information file is an image file. Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.

図1は、本発明が適用されるデジタルカメラ100の概略的内部構成を示すブロック図である。図2は、デジタルカメラ100とコンピュータ200との間で画像ファイルが授受される様子を概念的に示す図である。図3は、デジタルカメラ100とコンピュータ200との間で画像ファイルが授受される際の概略的処理手順を説明するフローチャートである。図4は、図3に示す処理が行われたときにデジタルカメラ100の表示部に表示される情報の例を示す図である。そして、図5は、デジタルカメラ100に記憶されている画像ファイルのファイル構造を概念的に示すブロック図である。   FIG. 1 is a block diagram showing a schematic internal configuration of a digital camera 100 to which the present invention is applied. FIG. 2 is a diagram conceptually showing how image files are exchanged between the digital camera 100 and the computer 200. FIG. 3 is a flowchart for explaining a schematic processing procedure when an image file is exchanged between the digital camera 100 and the computer 200. FIG. 4 is a diagram illustrating an example of information displayed on the display unit of the digital camera 100 when the processing illustrated in FIG. 3 is performed. FIG. 5 is a block diagram conceptually showing the file structure of the image file stored in the digital camera 100.

デジタルカメラ100とコンピュータ200との間で授受される画像ファイルには、図5に示されるように、例えばP1010001.JPGといったファイル名が付与されている。この画像ファイル500は、画像データ部502と、この画像データ部502に関連する付帯情報としての画像情報504とが内部に含まれる。この画像情報504は、例えばExif情報などのようなタグ情報とすることが可能である。Exif情報中には、画像のピクセルサイズや、その画像を生成した日時(撮影日時)、画像生成(撮影)に際して用いたカメラの露光条件(焦点距離、解放F値、設定絞り値、設定シャッタ速度、設定等価ISO感度、フラッシュ発光の有無、ホワイトバランスの設定等、デジタルカメラを用いて被写体を撮像し、画像データを生成する際の撮像条件を含むことが可能である。画像情報504中に、後で詳述するように転送先ファイル保存情報506が付加されて(埋め込まれて)、新たな画像情報504Aが生成され、画像データ部502とともに画像ファイル500Aとして元のファイル名のまま上書きして記憶される。   The image file exchanged between the digital camera 100 and the computer 200 includes, for example, P1010001. A file name such as JPG is assigned. The image file 500 includes an image data portion 502 and image information 504 as supplementary information related to the image data portion 502. The image information 504 can be tag information such as Exif information. In the Exif information, the pixel size of the image, the date and time when the image was generated (shooting date and time), and the exposure conditions of the camera used during image generation (shooting) (focal length, release F value, set aperture value, set shutter speed) The image information 504 can include image capturing conditions for capturing an image of a subject using a digital camera, such as setting equivalent ISO sensitivity, presence / absence of flash emission, white balance setting, and the like. As will be described in detail later, transfer destination file storage information 506 is added (embedded) to generate new image information 504A, which is overwritten with the original file name as image file 500A together with image data portion 502. Remembered.

デジタルカメラ100は、図1に示されるように、撮像部102と、画像処理部104と、表示部106と、操作部108と、CPU110と、記憶媒体112と、RAM114と、ROM116と、通信部118とを有し、これらの要素がバス120を介して接続されている。   As shown in FIG. 1, the digital camera 100 includes an imaging unit 102, an image processing unit 104, a display unit 106, an operation unit 108, a CPU 110, a storage medium 112, a RAM 114, a ROM 116, and a communication unit. 118, and these elements are connected via a bus 120.

撮像部102は、撮影レンズ、ズーム駆動部、自動焦点調節部、絞り部、シャッタ、赤外カットフィルタ、光学的ローパスフィルタ(OLPF)、撮像素子、信号処理部(いずれも不図示)等を有する。撮影レンズによって形成された被写体像が撮像素子で光電変換されてアナログの画像信号が生成される。その画像信号は信号処理部でCDS(相関二重サンプリング)、AGC(自動ゲインコントロール)、A/D変換等の処理が行われ、デジタル化された画像信号がバス120を介してRAM114に転送されて一時的に記憶される。RAM114は、メモリアクセス速度に優れるSDRAM等で構成することが望ましい。画像処理部104は、ASIC(特定用途向け集積回路)等で構成され、上述したようにRAM114に一時的に記憶された画像信号に、デモザイク処理、階調補正処理、カラーバランス調整、アンシャープマスク処理、JPEG圧縮処理等を行い、画像データを生成する。表示部106は、TFT液晶表示素子または有機EL表示素子と、表示素子に画像を表示するためのドライバ等を有する。この表示部106によって、デジタルカメラ100が撮影モードに設定されているときにはスルー画表示処理が行われ、再生モードに設定されているときには再生画像の表示処理が行われる。   The imaging unit 102 includes a photographing lens, a zoom driving unit, an automatic focus adjustment unit, a diaphragm unit, a shutter, an infrared cut filter, an optical low-pass filter (OLPF), an imaging element, a signal processing unit (all not shown), and the like. . The subject image formed by the photographing lens is photoelectrically converted by the image sensor to generate an analog image signal. The image signal is subjected to processing such as CDS (correlated double sampling), AGC (automatic gain control), and A / D conversion in the signal processing unit, and the digitized image signal is transferred to the RAM 114 via the bus 120. Is temporarily stored. The RAM 114 is preferably composed of an SDRAM or the like that has an excellent memory access speed. The image processing unit 104 is configured by an ASIC (application-specific integrated circuit) or the like, and, as described above, the demosaic process, the gradation correction process, the color balance adjustment, the unsharp mask, and the image signal temporarily stored in the RAM 114. Processing, JPEG compression processing, etc. are performed to generate image data. The display unit 106 includes a TFT liquid crystal display element or an organic EL display element and a driver for displaying an image on the display element. The display unit 106 performs a through image display process when the digital camera 100 is set to the shooting mode, and performs a display process of a reproduction image when the digital camera 100 is set to the reproduction mode.

操作部108は、電源スイッチ、動作モード切り替えスイッチ、ズームスイッチ、プッシュスイッチや、十字型のスイッチ等で構成される選択スイッチ、レリーズスイッチ等の操作部材130(図2参照)を有し、これらの操作部材130のいずれかをユーザが操作したのを検出可能に構成される。CPU110は、ユーザが操作部材130を操作したのに応じてデジタルカメラ100の動作モードを切り替える。例えば、撮影モードにおいてCPU110は、焦点調節、測光、露光量調節、フラッシュ発光量調節等の制御を行う。再生モードにおいてCPU110は、表示部106に表示される画像の切り替え、縮小/拡大表示切り替え等の制御を行う。また、画像ファイル転送モードにおいてCPU110は、外部装置としてのコンピュータ200へ転送するべき画像ファイルをユーザが選択するのを受け付け、選択された画像ファイルをコンピュータ200に送信する際の制御を行う。   The operation unit 108 includes operation members 130 (see FIG. 2) such as a power switch, an operation mode switching switch, a zoom switch, a push switch, a selection switch including a cross-shaped switch, a release switch, and the like. It is configured to be able to detect that the user has operated any of the operation members 130. The CPU 110 switches the operation mode of the digital camera 100 in response to the user operating the operation member 130. For example, in the shooting mode, the CPU 110 performs control such as focus adjustment, photometry, exposure amount adjustment, and flash emission amount adjustment. In the reproduction mode, the CPU 110 performs control such as switching of an image displayed on the display unit 106, switching of reduction / enlargement display, and the like. In the image file transfer mode, the CPU 110 accepts that the user selects an image file to be transferred to the computer 200 as an external device, and performs control when transmitting the selected image file to the computer 200.

記憶媒体112は、デジタルカメラ100に対して装脱可能に構成されるカード型の読み書き可能なメモリであっても、あるいはデジタルカメラ100に内蔵される読み書き可能な記憶装置であってもよい。記憶媒体112は、ハードディスクドライブやフラッシュメモリ等、不揮発性の記憶装置で構成することが可能である。   The storage medium 112 may be a card-type readable / writable memory configured to be removable from the digital camera 100, or may be a readable / writable storage device built in the digital camera 100. The storage medium 112 can be configured by a nonvolatile storage device such as a hard disk drive or a flash memory.

ROM116は、CPU110で実行されるプログラムや各種の制御パラメータ等が記憶される不揮発性のメモリである。通信部118は、外部装置(本実施の形態においてはコンピュータ200)と双方向の通信を行うためのものである。外部装置との通信に際しては、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース(登録商標)、IrDA等の規格を用いるものであってもよい。無論、独自の規格による通信方式を用いるものであってもよい。   The ROM 116 is a non-volatile memory that stores programs executed by the CPU 110 and various control parameters. The communication unit 118 is for two-way communication with an external device (computer 200 in the present embodiment). When communicating with an external device, either a wired or wireless form can be used. In the case of wired, standards such as IEEE 1394 and USB can be used. In the case of wireless, standards such as IEEE802.11 can be used. Alternatively, a standard such as Bluetooth (registered trademark) or IrDA may be used. Of course, a communication method based on an original standard may be used.

図3には、デジタルカメラ100が上述した画像ファイル転送モードに設定され、デジタルカメラ100とコンピュータ200との間で画像ファイルの転送等の処理が行われる際の、CPU110およびコンピュータ200による処理手順が示されている。図3において、左側にはデジタルカメラ100が画像ファイル転送モードに設定されたときにCPU110で実行されるS300からS316までの処理手順が示される。また、図3の右側には、コンピュータ200で実行されるS350からS358までの処理手順が示される。   FIG. 3 shows a processing procedure performed by the CPU 110 and the computer 200 when the digital camera 100 is set to the above-described image file transfer mode and processing such as image file transfer is performed between the digital camera 100 and the computer 200. It is shown. In FIG. 3, the processing procedure from S300 to S316 executed by the CPU 110 when the digital camera 100 is set to the image file transfer mode is shown on the left side. Further, on the right side of FIG. 3, processing procedures from S350 to S358 executed by the computer 200 are shown.

S300においてCPU110は、ユーザによる画像ファイル選択操作受付の処理を行う。具体的には、表示部106に表示されるインデックス画像等を見ながらユーザが操作部材130を操作するのを検知する。そして、ユーザがコンピュータ200への送信を希望している画像ファイルを特定する。S300における画像ファイル選択操作受付処理において、一つの画像ファイルのみをユーザが選択可能に構成されていても、複数の画像ファイルをユーザが選択可能に構成されていてもよい。   In S300, the CPU 110 performs processing for accepting an image file selection operation by the user. Specifically, it is detected that the user operates the operation member 130 while viewing an index image or the like displayed on the display unit 106. Then, the image file that the user desires to transmit to the computer 200 is specified. In the image file selection operation acceptance process in S300, the user may be configured to select only one image file or may be configured to allow the user to select a plurality of image files.

S302においてCPU110は、選択された画像ファイルのデータを記憶媒体112からRAM114上に読み出す。RAM114上に読み出される画像ファイルのデータは、図5の上側に示されるように、画像データ部502と画像情報504とを含む。   In S <b> 302, the CPU 110 reads data of the selected image file from the storage medium 112 onto the RAM 114. The image file data read out on the RAM 114 includes an image data portion 502 and image information 504, as shown in the upper side of FIG.

S304においてCPU110は、コンピュータ200との接続処理を行い、デジタルカメラ100とコンピュータ200との間の双方向通信の開始を可能とする。続くS306においてCPU110は、RAM114上の画像ファイル500をコンピュータ200に向けて転送する処理を行う。   In S <b> 304, the CPU 110 performs a connection process with the computer 200, and enables bidirectional communication between the digital camera 100 and the computer 200 to start. In subsequent S <b> 306, the CPU 110 performs processing for transferring the image file 500 on the RAM 114 to the computer 200.

CPU110によるS306での処理に応答し、コンピュータ200はS350において、デジタルカメラ100から送信される画像ファイル500を受信する。このときコンピュータ200は、デジタルカメラ100の記憶媒体112内で記憶されていたときに画像ファイル500に付与されていたファイル名(以下、これを「オリジナルファイル名」と称する)に関連する情報もデジタルカメラ100から受信する。   In response to the processing at S306 by the CPU 110, the computer 200 receives the image file 500 transmitted from the digital camera 100 at S350. At this time, the computer 200 also digitally stores information related to the file name (hereinafter referred to as “original file name”) given to the image file 500 when stored in the storage medium 112 of the digital camera 100. Receive from the camera 100.

S352においてコンピュータ200は、受信した画像ファイル(以下、コンピュータ200がデジタルカメラ100から受信した画像ファイルを「受信画像ファイル」と称する。)を記憶しようとしているディレクトリ内に、受信画像ファイルのオリジナルファイル名と同じファイル名のファイルが無いか、検索処理を行う。   In step S <b> 352, the computer 200 stores the received image file (hereinafter, the image file received by the computer 200 from the digital camera 100 is referred to as “received image file”) in the directory in which the received image file is stored. Search for a file with the same file name as.

S352での検索処理結果に基づき、コンピュータ200はS354において、ファイル名決定処理を行う。すなわち、S352での検索処理結果に基づき、受信画像ファイルのオリジナルファイル名と重複するファイル名を有するファイルが無いと判定された場合には、受信画像ファイルに元来付与されていたオリジナルファイル名が、コンピュータ200内に受信画像ファイルを記憶する際のファイル名として決定される。一方、受信画像ファイルのオリジナルファイル名と重複するファイル名のファイルが有ると判定された場合には、予め定められた命名規則に従って生成されるファイル名が、コンピュータ200内に受信画像ファイルを記憶する際のファイル名として決定される。   Based on the search processing result in S352, the computer 200 performs a file name determination process in S354. That is, based on the search processing result in S352, when it is determined that there is no file having a file name that overlaps with the original file name of the received image file, the original file name originally given to the received image file is changed. The file name when the received image file is stored in the computer 200 is determined. On the other hand, if it is determined that there is a file with a file name that overlaps with the original file name of the received image file, a file name generated according to a predetermined naming rule stores the received image file in the computer 200. It is determined as the file name.

S356でコンピュータ200は、S354で上述のように決定されたファイル名に関連する情報を含むファイル保存情報を、デジタルカメラ100に送信する。続くS358においてコンピュータ200は、S354で決定されたファイル名でもって受信画像ファイル(図5の画像ファイル500に相当するもの)をハードディスクやフラッシュメモリ等で構成される記憶装置(記憶媒体)に記憶する。この記憶装置は、コンピュータ200に内蔵されるか外付けされるハードディスクドライブであってもよいし、シリコンディスクあるいはソリッドステートディスクと称される半導体記憶装置、あるいはUSBメモリ等であってもよい。   In S356, the computer 200 transmits file storage information including information related to the file name determined as described above in S354 to the digital camera 100. In subsequent S358, the computer 200 stores the received image file (corresponding to the image file 500 in FIG. 5) with the file name determined in S354 in a storage device (storage medium) constituted by a hard disk, a flash memory, or the like. . This storage device may be a hard disk drive built in or externally attached to the computer 200, a semiconductor storage device called a silicon disk or a solid state disk, or a USB memory.

コンピュータ200による上述したS356の処理を受け、CPU110はS308においてファイル保存情報受信処理を行う。すなわちCPU110は、コンピュータ200の処理ステップS356においてコンピュータ200から送信されるファイル保存情報を受信する。   In response to the process of S356 described above by the computer 200, the CPU 110 performs a file storage information reception process in S308. That is, CPU 110 receives the file storage information transmitted from computer 200 in processing step S356 of computer 200.

S310においてCPU110は、S308でコンピュータ200から受信したファイル保存情報に基づき、タグ情報更新処理を行う。すなわち、CPU110は、受信したファイル保存情報をもとに、S354でコンピュータ200により決定されたファイル名が、元来付与されていたオリジナルファイル名と異なるものであると判断した場合には、このファイル保存情報に基づく情報を転送先ファイル保存情報として画像情報504に付加する処理を行う。一方、S354でコンピュータ200により決定されたファイル名が、元来付与されていたオリジナルファイル名のままであると判定された場合には、画像情報504に変更を加えない。これに代えて、転送先ファイル保存情報として、上記ファイル名の変更の有無にかかわらず、コンピュータ200で受信画像ファイルを記憶する際に付与されたファイル名を特定可能な情報を転送先ファイル保存情報として画像情報504に付加する処理をしてもよい。S310におけるCPU110の上述した処理を経て、図5に示されるように、画像情報504中に転送先ファイル保存情報506が付加されて新たな画像情報504Aが生成される。   In S310, the CPU 110 performs tag information update processing based on the file storage information received from the computer 200 in S308. That is, if the CPU 110 determines that the file name determined by the computer 200 in S354 is different from the original file name originally assigned based on the received file storage information, A process of adding information based on the saved information to the image information 504 as transfer destination file saved information is performed. On the other hand, if it is determined that the file name determined by the computer 200 in S354 is the original file name originally assigned, the image information 504 is not changed. Instead, as the transfer destination file storage information, information that can specify the file name given when the received image file is stored in the computer 200 regardless of whether the file name is changed or not is the transfer destination file storage information. The image information 504 may be processed as follows. Through the above-described processing of the CPU 110 in S310, as shown in FIG. 5, transfer destination file storage information 506 is added to the image information 504 to generate new image information 504A.

S312においてCPU110は、コンピュータ200との接続状態を切断する処理を行う。   In S <b> 312, the CPU 110 performs processing for disconnecting the connection state with the computer 200.

S314においてCPU110は、画像データ部502と新たな画像情報504Aとを含む画像ファイル500Aをオリジナルファイル名のままで記憶媒体112に記憶する処理を行う。この処理によって、上述した転送先ファイル保存情報506が付加された新たな画像情報504Aを含む画像ファイル500Aが上書きして記憶される。なお、画像情報504、504A中には使用目的が限定されていない情報記憶エリアがあるので、その情報記憶エリア中に転送先ファイル保存情報506を付加することが望ましい。そのようにすることにより、ファイル構造をJEIDAのDCF規格に準拠した状態を維持することが可能となり、当該の画像ファイルを他の情報機器で読み込むことが可能となる。   In S314, the CPU 110 performs processing for storing the image file 500A including the image data portion 502 and the new image information 504A in the storage medium 112 with the original file name. By this processing, the image file 500A including the new image information 504A to which the transfer destination file storage information 506 is added is overwritten and stored. In addition, since there is an information storage area whose use purpose is not limited in the image information 504 and 504A, it is desirable to add the transfer destination file storage information 506 in the information storage area. By doing so, the file structure can be maintained in compliance with the JEIDA DCF standard, and the image file can be read by another information device.

S316においてCPU110は、表示部106に、ユーザが選択した画像ファイルをコンピュータ200(外部装置)に記憶する処理を終えたことをユーザに知らせるメッセージを表示する。その表示例を図4に示す。図4に示される例では、デジタルカメラ100からコンピュータ200に転送されたオリジナルファイル名P1010001.JPGを有する画像ファイルは、コンピュータ200の補助記憶装置内における保存先ディレクトリ(FTPROOT/DCIM/100ABCDE)中にP1010058.JPGとして保存された旨表示される。すなわち、図4に示される例では、コンピュータ200の補助記憶装置内の保存先ディレクトリ中にオリジナルファイル名と重複する名の画像ファイルが存在していたため、所定の命名方法に従ってP1010058.JPGというファイル名が付与され、保存されたことを示している。   In S316, the CPU 110 displays a message on the display unit 106 informing the user that the process of storing the image file selected by the user in the computer 200 (external device) has been completed. An example of the display is shown in FIG. In the example shown in FIG. 4, the original file name P1010001. The image file having JPG is stored in the storage destination directory (FTPROOT / DCIM / 100ABCDE) in the auxiliary storage device of the computer 200. It is displayed that it has been saved as JPG. In other words, in the example shown in FIG. 4, an image file having a name that overlaps with the original file name exists in the storage destination directory in the auxiliary storage device of the computer 200. Therefore, P1010058. The file name JPG is given and indicates that it has been saved.

以上に説明した転送先ファイル保存情報に関して、転送先ファイル名に関連する情報のみを含んでいてもよいが、上述した保存先ディレクトリに関連する情報も含むことが望ましい。理由は、デジタルカメラ100の側から遠隔操作によってコンピュータ200の補助記憶装置に記憶されている画像ファイルを操作するような場合に、目的とする画像ファイルへのアクセスが容易になるからである。   The transfer destination file storage information described above may include only information related to the transfer destination file name, but preferably includes information related to the above-described storage destination directory. The reason is that when an image file stored in the auxiliary storage device of the computer 200 is operated by remote control from the digital camera 100 side, it becomes easy to access the target image file.

また、1台の外部装置(コンピュータ等)に対して複数の電子装置(デジタルカメラ等)が同時に、あるいは時分割で接続可能な構成を有していてもよい。例えば、運動競技場で撮影をしている複数のカメラマンが使用しているデジタルカメラのそれぞれから1台の外部装置に画像ファイルを転送し、画像ファイルを集約する、といった形態で本発明を実施することが可能である。   A plurality of electronic devices (such as a digital camera) may be connected to one external device (such as a computer) simultaneously or in a time-sharing manner. For example, the present invention is implemented in such a manner that image files are transferred from one of the digital cameras used by a plurality of photographers shooting at an athletic field to one external device and the image files are aggregated. It is possible.

本発明の第1の実施の形態によれば、ユーザはファイル名の重複を気にすることなく情報ファイルを外部装置に送信して記憶させることが可能となる。そして、ファイル名の重複があれば予め定められた命名規則に従って新たなファイル名が生成されるので、大事な情報ファイルが上書きされてしまうこともない。また、上述のように外部装置の側で新たなファイル名が付与されて情報ファイルが記憶された場合には、そのファイル名を含むファイル保存情報が電子装置の側に送信され、そのファイル保存情報に基づく情報が転送先ファイル保存情報として画像情報中に付加される。この転送先ファイル保存情報を後で参照することにより、電子装置の側から遠隔操作によって外部装置の補助記憶装置に記憶される情報ファイルを操作する際に、目的とする情報ファイルにアクセスすることが容易となる。また、転送先で記憶される際のファイル名が電子装置のユーザに知らされるので、ファイル名をもとに画像ファイルを探そうとしたユーザが、外部装置に転送した筈の画像ファイルが見つからない、といった不安感を抱くことがない。   According to the first embodiment of the present invention, a user can transmit and store an information file to an external device without worrying about duplication of file names. If there are duplicate file names, a new file name is generated according to a predetermined naming rule, so that an important information file is not overwritten. Further, as described above, when a new file name is given on the external device side and the information file is stored, the file storage information including the file name is transmitted to the electronic device side, and the file storage information Is added to the image information as transfer destination file storage information. By referring to the transfer destination file storage information later, the target information file can be accessed when operating the information file stored in the auxiliary storage device of the external device by remote operation from the electronic device side. It becomes easy. In addition, since the file name when being stored at the transfer destination is notified to the user of the electronic device, the user trying to find the image file based on the file name finds the image file transferred to the external device. There is no feeling of anxiety.

− 第2の実施の形態 −
本発明の第2の実施の形態では、複数の電子装置の間で情報ファイルの授受を行うことが可能に構成される例について説明する。すなわち、第2の実施の形態においては、複数の電子装置のうちの一つが外部装置の役を担う。以下では、二人のユーザがそれぞれデジタルカメラを有していて、一方のユーザが撮影して得た画像ファイルを他方のユーザのデジタルカメラに送信するような場合を例にとって説明する。複数のデジタルカメラは、ある状況においては一のデジタルカメラが外部装置となりうるとともに、別の状況においては他のデジタルカメラが外部装置となりうる。
− Second Embodiment −
In the second embodiment of the present invention, an example will be described in which information files can be exchanged between a plurality of electronic devices. That is, in the second embodiment, one of the plurality of electronic devices serves as an external device. In the following, an example will be described in which two users each have a digital camera and an image file obtained by one user is transmitted to the digital camera of the other user. In a plurality of digital cameras, one digital camera can be an external device in a certain situation, and another digital camera can be an external device in another situation.

図6Aは、2台のデジタルカメラ(第1カメラ100A、第2カメラ100B)が双方向の通信を行うことが可能に接続される様子を概念的に示す図である。第1の電子機器としての第1カメラ100Aおよび第2の電子機器としての第2カメラ100Bの内部構成を図6Bに示す。第1カメラ100Aおよび第2カメラ100Bを構成する各要素は第1の実施の形態で図1を参照して説明したのと同様である。したがって、第1カメラ100Aを構成する各要素を参照する符号の末尾にはAを付し、第2カメラ100Bを構成する核要素を参照する符号の末尾にはBを付してその説明を省略する。なお、これらの第1カメラ100Aおよび第2カメラ100Bは同一の機種であってもよいし、異なる機種であってもよい。   FIG. 6A is a diagram conceptually illustrating a state where two digital cameras (first camera 100A and second camera 100B) are connected so as to be able to perform bidirectional communication. The internal configuration of the first camera 100A as the first electronic device and the second camera 100B as the second electronic device are shown in FIG. 6B. The elements constituting the first camera 100A and the second camera 100B are the same as those described with reference to FIG. 1 in the first embodiment. Therefore, A is attached to the end of the reference for referring to each element constituting the first camera 100A, and B is attached to the end of the reference for referring to the core element constituting the second camera 100B, and the description thereof is omitted. To do. The first camera 100A and the second camera 100B may be the same model or different models.

第1カメラ100Aと第2カメラ100Bとの通信に際しては、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。無論、独自の規格による通信方式を用いるものであってもよい。   For communication between the first camera 100A and the second camera 100B, either wired or wireless mode can be used. In the case of wired, standards such as IEEE 1394 and USB can be used. In the case of wireless, standards such as IEEE802.11 can be used. Alternatively, a standard such as Bluetooth or IrDA may be used. Of course, a communication method based on an original standard may be used.

図7Aおよび図7Bは、第1カメラ100Aおよび第2カメラで実行される撮像手順および画像ファイル転送処理手順を概略的に示すフローチャートである。左側のフローチャートが第1カメラ100A内のCPU110Aで、右側のフローチャートが第2カメラ100B内のCPU110Bで、それぞれ実行される処理手順を示している。   7A and 7B are flowcharts schematically showing an imaging procedure and an image file transfer processing procedure executed by the first camera 100A and the second camera. The flowchart on the left shows the processing procedure executed by the CPU 110A in the first camera 100A, and the flowchart on the right shows the processing procedure executed by the CPU 110B in the second camera 100B.

図7Aおよび図7Bに例示される処理手順では、最初に第1カメラ100A、第2カメラ100Bの双方で撮像が行われる例が示されている。これらの撮像は、必ずしも同時に行われる必要は無い。まず、左側のフローチャートにおけるS700からS706までの処理について説明する。第1カメラ100Aのユーザが操作部108Aを操作して撮像操作をするのに応じてS700で被写体Aが撮像される。S702では、上記撮像によって得られた画像信号に対して画像処理が行われ、第1の実施の形態で図5を参照して説明した画像データ部および画像情報が生成される。これらの画像データ部および画像情報を含む画像ファイルは、S704のファイル名生成処理で生成されたファイル名が付与され、S706において記憶媒体112Aに記憶される。   In the processing procedure illustrated in FIGS. 7A and 7B, an example is shown in which imaging is first performed by both the first camera 100A and the second camera 100B. These imaging operations are not necessarily performed simultaneously. First, the processing from S700 to S706 in the left flowchart will be described. In response to the user of the first camera 100A operating the operation unit 108A to perform an imaging operation, the subject A is imaged in S700. In S702, image processing is performed on the image signal obtained by the imaging, and the image data portion and the image information described with reference to FIG. 5 in the first embodiment are generated. The image file including the image data portion and the image information is given the file name generated by the file name generation process in S704, and is stored in the storage medium 112A in S706.

同様に、第2カメラ100Bのユーザが操作部108Bを操作して撮像操作をするのに応じてS750で被写体Bが撮像される。S752では、上記撮像によって得られた画像信号に対して画像処理が行われ、第1の実施の形態で図5を参照して説明した画像データ部および画像情報が生成される。これらの画像データ部および画像情報を含む画像ファイルは、S754のファイル名生成処理で生成されたファイル名が付与され、S756において記憶媒体112Bに記憶される。   Similarly, the subject B is imaged in S750 in response to the user of the second camera 100B operating the operation unit 108B to perform an imaging operation. In S752, image processing is performed on the image signal obtained by the imaging, and the image data portion and the image information described with reference to FIG. 5 in the first embodiment are generated. The image file including the image data portion and the image information is given the file name generated by the file name generation process in S754, and is stored in the storage medium 112B in S756.

S708からS712までの処理は、第1カメラ100Aのユーザが第1カメラ100Aを画像ファイル転送モードに設定し、第2カメラ100Bに送信すべき画像ファイルを選択したのに応じてCPU110Aで実行される。S708においてCPU110Aは、画像ファイルを送信する先の第2カメラ100Bと接続する処理を行う。この接続処理によって、CPU110Aは第2カメラ100Bから、当該の第2カメラ100Bがどのような仕様のカメラであるかを知ることの可能な情報を得ることができる。より具体的には、画像ファイル等の情報ファイルの授受が可能か、可能である場合にファイル名の重複を確認し、重複がある場合にはファイル名を別のファイル名に変更する上書き防止機能を有するか、といった情報を得ることができる。本例においては、第1カメラ100Aおよび第2カメラ100Bの双方が上記の上書き防止機能を有するものとする。   The processing from S708 to S712 is executed by the CPU 110A in response to the user of the first camera 100A setting the first camera 100A to the image file transfer mode and selecting the image file to be transmitted to the second camera 100B. . In S708, the CPU 110A performs a process of connecting to the second camera 100B to which the image file is transmitted. By this connection process, the CPU 110A can obtain information from the second camera 100B that can know what specifications the second camera 100B is. More specifically, it is possible to exchange information files such as image files or not. Overwrite prevention function that checks file name duplication when it is possible and changes the file name to another file name when there is duplication. Can be obtained. In this example, it is assumed that both the first camera 100A and the second camera 100B have the overwriting prevention function.

CPU110AはS710において、ユーザによって選択された被写体Aの画像ファイルを第2カメラ100Bに送信する。このとき、第2カメラ100Bでは、CPU110BによってS758の処理が実行され、第1カメラ100Aから送信された被写体Aの画像ファイルが受信される。S712においてCPU110Aは第2カメラ100Bとの通信を終えるために切断処理を行う。   In S710, the CPU 110A transmits the image file of the subject A selected by the user to the second camera 100B. At this time, in the second camera 100B, the process of S758 is executed by the CPU 110B, and the image file of the subject A transmitted from the first camera 100A is received. In S712, the CPU 110A performs a disconnection process to end communication with the second camera 100B.

S760からS764までの処理は、第2カメラ100Bのユーザが第2カメラ100Bを画像ファイル転送モードに設定し、第1カメラ100Aに送信すべき画像ファイルを選択したのに応じてCPU110Bで実行される。S760においてCPU110Bは、画像ファイルを送信する先の第1カメラ100Aと接続する処理を行う。この接続処理によって、CPU110Bは第1カメラ100Aから、当該の第1カメラ100Aがどのような仕様のカメラであるかを知ることの可能な情報を得ることができる。   The processing from S760 to S764 is executed by the CPU 110B in response to the user of the second camera 100B setting the second camera 100B to the image file transfer mode and selecting an image file to be transmitted to the first camera 100A. . In S760, the CPU 110B performs a process of connecting to the first camera 100A to which the image file is transmitted. With this connection process, the CPU 110B can obtain information from the first camera 100A that allows the first camera 100A to know what kind of specification the camera is.

CPU110BはS762において、ユーザによって選択された被写体Bの画像ファイルを第1カメラ100Aに送信する。このとき、第1カメラ100Aでは、CPU110AによってS714の処理が実行され、第2カメラ100Bから送信された被写体Bの画像ファイルが受信される。S764においてCPU110Bは第1カメラ100Aとの通信を終えるために切断処理を行う。   In step S762, the CPU 110B transmits the image file of the subject B selected by the user to the first camera 100A. At this time, in the first camera 100A, the processing of S714 is executed by the CPU 110A, and the image file of the subject B transmitted from the second camera 100B is received. In S764, the CPU 110B performs a disconnection process to end communication with the first camera 100A.

CPU110AによるS716、S718、S720の処理は、S714で受信した被写体Bの画像ファイルを記憶媒体112Aに記憶するための処理である。すなわち、受信した被写体Bの画像ファイル(受信画像ファイル)のファイル名と重複するファイル名のファイルが記憶媒体112A内の保存ディレクトリに無いか確認し、重複するファイル名のファイルが無ければオリジナルのファイル名でもって受信画像ファイルが記憶媒体112A内に記憶される。一方、オリジナルのファイル名と重複するファイル名のファイルが存在する場合には予め定められた命名規則に従って生成される別ファイル名が受信画像ファイルに付与されて記憶媒体112A内に記憶される。これらS716、S718、S720での処理は、第1の実施の形態で図3を参照して説明したS352、S354、S358での処理に相当する。   The processing of S716, S718, and S720 by the CPU 110A is processing for storing the image file of the subject B received in S714 in the storage medium 112A. That is, it is confirmed whether there is a file with a file name that overlaps with the file name of the received image file of the subject B (received image file) in the storage directory in the storage medium 112A. If there is no file with a duplicate file name, the original file The received image file is stored in the storage medium 112A by name. On the other hand, if a file with a file name that overlaps with the original file name exists, another file name generated according to a predetermined naming rule is assigned to the received image file and stored in the storage medium 112A. The processes in S716, S718, and S720 correspond to the processes in S352, S354, and S358 described with reference to FIG. 3 in the first embodiment.

一方、CPU110Bは、上述したS716、S718、S720での処理と同様の処理をS766、S768、S770で行う。その結果、被写体Aの画像ファイルが記憶媒体112B内に記憶される。   On the other hand, the CPU 110B performs processes similar to the processes in S716, S718, and S720 described above in S766, S768, and S770. As a result, the image file of the subject A is stored in the storage medium 112B.

CPU110AによるS722、S724、S726での処理は、第2カメラ100Bにファイル保存情報を送信するための処理である。CPU110AはS722において第2カメラ100Bとの交信を開始し、S724でファイル保存情報を第2カメラ100Bに送信する。このファイル保存情報は、第2カメラ100Bから送信された被写体Bの画像ファイルが記憶媒体112Aに記憶される際に付与されたファイル名に関連する情報を含む。このファイル保存情報にはさらに、記憶媒体112A内で被写体Bの画像ファイルが記憶される際の保存先のディレクトリに関連する情報を含むことが望ましい。   The processing in S722, S724, and S726 by the CPU 110A is processing for transmitting file storage information to the second camera 100B. The CPU 110A starts communication with the second camera 100B in S722, and transmits file storage information to the second camera 100B in S724. This file storage information includes information related to the file name given when the image file of the subject B transmitted from the second camera 100B is stored in the storage medium 112A. The file storage information preferably further includes information related to a storage destination directory when the image file of the subject B is stored in the storage medium 112A.

上述のようにして第1カメラ100Aからファイル保存情報が送信されるのに応じて、第2カメラ100BのCPU110BはS772で上記ファイル保存情報を受信する処理を行う。S774でCPU110Bは被写体Bの画像ファイルを記憶媒体112BからRAM114B上に読み出し、続くS776において、ファイル保存情報に基づく情報を画像情報(図5参照)中に転送先ファイル保存情報として付加する処理を行う。   In response to the transmission of the file storage information from the first camera 100A as described above, the CPU 110B of the second camera 100B performs a process of receiving the file storage information in S772. In step S774, the CPU 110B reads the image file of the subject B from the storage medium 112B onto the RAM 114B, and in subsequent step S776, performs processing for adding information based on the file storage information as transfer destination file storage information in the image information (see FIG. 5). .

S778においてCPU110Bは、画像データ部と、上述にように更新された画像情報とを含む画像ファイルを記憶媒体112B内に上書きして記憶する処理を行う。続くS780でCPU110Bは、第1の実施の形態で図4を参照して説明したのと同様の表示を表示部106Bに行う。   In S778, the CPU 110B performs a process of overwriting and storing in the storage medium 112B an image file including the image data portion and the image information updated as described above. In subsequent S780, the CPU 110B performs the same display on the display unit 106B as described with reference to FIG. 4 in the first embodiment.

S782、S784、S786においてCPU110Bは、CPU110AがS722、S724、S726において実行したのと同様の処理を行う。続いてCPU110Aは、CPU110BがS772からS780までのステップで実行したのと同様の処理をS728からS736までのステップで行う。その結果、記憶媒体112Aに記憶されている被写体Aの画像ファイルがRAM114A上に読み出され、第2カメラ100Bから受信したファイル保存情報に基づく情報が画像情報中に転送先ファイル保存情報として付加される。そして、画像データ部と更新された画像情報とを含む画像ファイルが記憶媒体112Aに上書きして記憶され、表示部106Aには第1の実施の形態で図4を参照して説明したのと同様の表示がなされる。   In S782, S784, and S786, the CPU 110B performs the same processing as that executed by the CPU 110A in S722, S724, and S726. Subsequently, the CPU 110A performs the same processing that the CPU 110B executes in steps S772 to S780 in steps S728 to S736. As a result, the image file of the subject A stored in the storage medium 112A is read onto the RAM 114A, and information based on the file storage information received from the second camera 100B is added to the image information as transfer destination file storage information. The Then, an image file including the image data portion and the updated image information is overwritten and stored in the storage medium 112A, and the display portion 106A is the same as described with reference to FIG. 4 in the first embodiment. Is displayed.

以上では、撮像の処理、画像ファイル送受信および記憶の処理、タグ情報更新の処理等が第1カメラ100Aと第2カメラ100Bとの間で交互に行われる例について説明したが、これはあくまでも理解を容易にするための例示にすぎない。これらの処理は、各ユーザが第1カメラ100A、第2カメラ100Bを操作するのに応じて随時行われる。   In the above description, an example in which imaging processing, image file transmission / reception and storage processing, tag information update processing, and the like are alternately performed between the first camera 100A and the second camera 100B has been described. It is just an example for ease. These processes are performed as needed according to each user operating the first camera 100A and the second camera 100B.

S704でCPU110Aにより、またはS754でCPU110Bにより実行されるファイル名生成処理、あるいは、S718でCPU110Aにより、またはS768でCPU110Bにより実行されるファイル名決定処理中で新たなファイル名を画像ファイルに付与する際のファイル名付与方法について図8を参照して説明する。   When a new file name is assigned to the image file during the file name generation process executed by the CPU 110A in S704 or the CPU 110B in S754, or in the file name determination process executed by the CPU 110A in S718 or the CPU 110B in S768 The file name assigning method will be described with reference to FIG.

第2の実施の形態において、第1カメラ100A、第2カメラ100Bでは撮像操作が随時行われ、また画像ファイルの送受信もカメラユーザの希望に応じて随時行われる。また、画像ファイルの受信中にも撮像操作が行われる場合がある。その場合、二つのカメラ間でファイル名決定に際して調停を行わないと、意図しないファイル名の重複を生じ、大事な画像ファイルを上書きして消してしまう可能性がある。このようなことを防ぐために実行されるのが図8に示される処理である。   In the second embodiment, the first camera 100A and the second camera 100B perform imaging operations at any time, and transmission / reception of image files is performed at any time according to the camera user's wishes. An imaging operation may be performed during reception of an image file. In this case, if mediation is not performed between the two cameras when determining the file name, an unintended file name may be duplicated, and an important image file may be overwritten and deleted. The processing shown in FIG. 8 is executed to prevent this.

図8に示す処理は、画像ファイルにファイル名を付与する際にCPU110A、CPU110Bによって実行される。図8で実行される処理は、JEIDAのDCF規格に準拠したファイル名を生成するための処理である。図8中の「ファイル番号」とは、DCF規格に従って付与されるファイル名(例:ABCD1234.JPG)中の、拡張子よりも左側の部分中における末尾4桁の部分(上記の例では1234がその部分に相当)を意味する。DCF規格によれば、新規の画像ファイルが一つ生成されて記憶されるたびに上記末尾4桁部分が0001から9999に達するまで順次インクリメントされる。その結果、画像ファイルが生成された順番に従って順次増加するファイル番号を含むファイル名が、新規に生成された画像ファイルに付与される。   The processing shown in FIG. 8 is executed by the CPU 110A and CPU 110B when assigning a file name to an image file. The process executed in FIG. 8 is a process for generating a file name compliant with the JEIDA DCF standard. The “file number” in FIG. 8 is the last four digits of the file name given according to the DCF standard (for example, ABCD1234.JPG) in the left part of the extension (in the above example, 1234 is Equivalent to that part). According to the DCF standard, each time a new image file is generated and stored, the last four digits are incremented sequentially until reaching 9999 from 0001. As a result, a file name including a file number that sequentially increases in the order in which the image files are generated is assigned to the newly generated image file.

このとき、インクリメントした結果が9999を超して10000となったときには、ファイル番号を0001とするとともに新たなディレクトリ(フォルダ)を新規に生成し、上記のファイル番号0001を含むファイル名の画像ファイルを、新規に生成されたディレクトリ中に記憶する。DCF規格では、ディレクトリに付与する名称の中にも連番部分を有していて、ディレクトリが新規に生成される際には、そのディレクトリに付与されるディレクトリ名(例:100ABCDE)中に含まれる番号(左記の例では100)がインクリメントされる(例:101ABCDE)。この番号が、図8中の「ディレクトリ番号」に相当する。   At this time, when the incremented result exceeds 9999 and reaches 10,000, a file number is set to 0001, a new directory (folder) is newly generated, and an image file having a file name including the file number 0001 is created. Store in a newly created directory. In the DCF standard, a name assigned to a directory also has a serial number part. When a directory is newly created, it is included in a directory name (eg, 100ABCDE) assigned to the directory. The number (100 in the example on the left) is incremented (example: 101ABCDE). This number corresponds to the “directory number” in FIG.

CPU110Aによって図8に示す処理が実行される場合について以下に説明する。S800においてCPU110Aは、セマフォ獲得の処理を行う。すなわち、CPU110Aが図8の処理を行う間、CPU110Bでファイル名を付与する処理を行わないように排他制御を行う(排他処理権限を得る)。これは、複数のCPU110A、110Bが同時にファイル名生成の処理を行うと、異なる画像ファイルに同じファイル名が付与される可能性が排除できないからである。   A case where the processing shown in FIG. 8 is executed by the CPU 110A will be described below. In S800, the CPU 110A performs semaphore acquisition processing. That is, while the CPU 110A performs the processing of FIG. 8, exclusive control is performed so that the CPU 110B does not perform processing for assigning a file name (obtains exclusive processing authority). This is because if a plurality of CPUs 110A and 110B simultaneously perform file name generation processing, the possibility that the same file name is assigned to different image files cannot be excluded.

S802においてCPU110Aは、これから記憶しようとする画像ファイルに付与するファイル名中のファイル番号をインクリメントする。S804においてCPU110Aは、S802でインクリメント処理したファイル番号が9999を超して10000となったか否かを判定する。この判定が、否定される(ファイル番号は9999以下)とS808に分岐する一方、肯定される(ファイル番号は10000)とS806に進む。   In S802, the CPU 110A increments the file number in the file name assigned to the image file to be stored. In S804, the CPU 110A determines whether or not the file number incremented in S802 exceeds 9999 and reaches 10,000. If this determination is denied (file number is 9999 or less), the process branches to S808, whereas if affirmed (file number is 10000), the process proceeds to S806.

CPU110AはS806において、ファイル番号を0001にリセットし、ディレクトリ番号をインクリメントする処理を行う。S808においてCPU110Aは、ファイル名生成の処理を行う。このとき、S806でディレクトリ番号がインクリメントされた場合には、インクリメントされたディレクトリ番号を含むディレクトリ名のディレクトリ(フォルダ)を生成する。   In step S806, the CPU 110A resets the file number to 0001 and increments the directory number. In S808, the CPU 110A performs file name generation processing. At this time, if the directory number is incremented in S806, a directory (folder) having a directory name including the incremented directory number is generated.

S810においてCPU110Aはセマフォ開放の処理を行う。これにより、CPU110A、110Bのいずれもが、必要に応じて随時ファイル名生成の処理を行うことが可能となる。S812においてCPU110Aはさらに、上述のように生成されたファイル名に関連する情報を含むファイル保存情報をCPU110Bに送信する。   In S810, the CPU 110A performs semaphore release processing. As a result, both of the CPUs 110A and 110B can perform file name generation processing as needed. In S812, the CPU 110A further transmits file storage information including information related to the file name generated as described above to the CPU 110B.

以上に説明した本発明の第2の実施の形態によれば、互いに接続可能な複数の電子機器間で情報ファイルを授受し、情報ファイルを受信した電子装置の側でそれを記憶媒体に記憶する際に、ファイル名の重複がないかを確認する。そして、ファイル名の重複があれば、予め定められた命名規則に従って生成される別ファイル名を付して記憶され、その旨が送信側の電子装置に送信される。したがって、情報ファイルを送信した電子装置側のユーザが、送った筈の情報ファイルが相手電子装置の方で見つからない、と云う不具合を抑止可能となる。また、相手電子装置で記憶された際のファイル名を、情報ファイルを送った側の電子装置のユーザが知ることができるので、相手側電子装置のユーザに対して、送った画像ファイルのファイル名はどのようなファイル名が付与されて相手側電子装置の記憶媒体に記憶されているかを教えることが可能となる。   According to the second embodiment of the present invention described above, an information file is exchanged between a plurality of electronic devices that can be connected to each other, and the electronic device that receives the information file stores it in a storage medium. Check for duplicate file names. If there are duplicate file names, they are stored with a different file name generated according to a predetermined naming rule, and this is transmitted to the electronic device on the transmission side. Therefore, it is possible to suppress the problem that the user on the electronic device side that transmitted the information file cannot find the transmitted information file on the partner electronic device. In addition, since the user of the electronic device that sent the information file can know the file name when it was stored in the counterpart electronic device, the file name of the image file sent to the user of the counterpart electronic device Can teach what file name is given and stored in the storage medium of the counterpart electronic device.

− 第3の実施の形態 −
本発明の第3の実施の形態では、3台以上の電子装置の間で情報ファイルの授受を行うことが可能に構成され、これらの電子装置がすべてデジタルカメラである例について説明する。図9Aは、3台のデジタルカメラ(第1カメラ100C、第2カメラ100D、第3カメラ100E)が三者間で相互に通信を行うことが可能に接続される様子を概念的に示す図である。互いに接続されるこれらのデジタルカメラは、相互に通信することを可能とする規格を満足する限り、すべて同じ機種であっても、一部異なる機種が含まれていても、すべてが異なる機種であってもよい。
− Third embodiment −
In the third embodiment of the present invention, an example will be described in which an information file can be exchanged between three or more electronic devices, and these electronic devices are all digital cameras. FIG. 9A is a diagram conceptually showing a state in which three digital cameras (first camera 100C, second camera 100D, and third camera 100E) are connected so that they can communicate with each other. is there. These digital cameras connected to each other are all of the same model, even if some of them are different, as long as they meet the standards that allow them to communicate with each other. May be.

図9Aでは、第1カメラ100C、第2カメラ100Dは同じ機種で、第3カメラ100Eのみ第1カメラ100C、第2カメラ100Dとは異なる機種となっている例を示している。これら3台のデジタルカメラのうちの二つが、残りの1台のデジタルカメラ(電子装置)にとっての相手デジタルカメラ(相手電子装置)の役を担う。この役割分担は、そのときの状況によって動的に変化可能に構成される。   FIG. 9A shows an example in which the first camera 100C and the second camera 100D are the same model, and only the third camera 100E is a model different from the first camera 100C and the second camera 100D. Two of these three digital cameras serve as counterpart digital cameras (partner electronic devices) for the remaining one digital camera (electronic device). This division of roles is configured to be dynamically changeable depending on the situation at that time.

第1カメラ100C、第2カメラ100D、および第3カメラ100Eの内部構成を図9Bに示す。第1カメラ100C、第2カメラ100Dおよび第3カメラ100Eを構成する要素は、第1の実施の形態で図1を参照して説明したのと同様である。したがって、第1カメラ100Cを構成する各要素を参照する符号の末尾にはCを、第2カメラ100Dを構成する各要素を参照する符号の末尾にはDを、そして第3カメラ100Eを構成する各要素を参照する符号の末尾にはEを、それぞれ付してその説明を省略する。   The internal configuration of the first camera 100C, the second camera 100D, and the third camera 100E is shown in FIG. 9B. Elements constituting the first camera 100C, the second camera 100D, and the third camera 100E are the same as those described with reference to FIG. 1 in the first embodiment. Therefore, “C” is added to the end of the reference to each element constituting the first camera 100C, “D” is attached to the end of the reference to each element making up the second camera 100D, and the third camera 100E is made up. An E is appended to the end of the reference to refer to each element, and the description thereof is omitted.

以下では、三人のユーザがそれぞれデジタルカメラを有するものとする。そして、第1カメラ100Cのユーザが撮影して得た画像ファイルを第2カメラ100Dに送信して第2カメラ100Dの記憶媒体112D内に記憶し、その画像ファイルを今度は第3カメラ100Eが第2カメラ100Dから受信して第3カメラ100Eのユーザが当該の画像を閲覧する例について説明する。すなわち、本実施の形態では、第2カメラ100Dおよび第3カメラ100Eが第1カメラ100Cにとっての相手電子装置となる例を示している。   In the following, it is assumed that three users each have a digital camera. Then, the image file obtained by the user of the first camera 100C is transmitted to the second camera 100D and stored in the storage medium 112D of the second camera 100D, and this image file is now stored by the third camera 100E. An example in which the user of the third camera 100E browses the image received from the second camera 100D will be described. That is, in the present embodiment, an example is shown in which the second camera 100D and the third camera 100E are counterpart electronic devices for the first camera 100C.

第1カメラ100C、第2カメラ100D、第3カメラ100E間での通信に際しては、第1、第2の実施の形態で説明したのと同様、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。独自の規格による通信方式を用いるものであってもよい。以下では、3台のカメラの間で無線を用いて通信が行われるものとする。   When communicating between the first camera 100C, the second camera 100D, and the third camera 100E, it is possible to use either wired or wireless forms as described in the first and second embodiments. is there. In the case of wired, standards such as IEEE 1394 and USB can be used. In the case of wireless, standards such as IEEE802.11 can be used. Alternatively, a standard such as Bluetooth or IrDA may be used. A communication method based on an original standard may be used. In the following, it is assumed that communication is performed between three cameras using radio.

図10Aおよび図10Bは、第1カメラ100C、第2カメラ100D、および第3カメラ100Eの間で実行される撮像手順、画像ファイル転送処理手順や画像ファイル閲覧手順などを概略的に示すフローチャートである。図10Aおよび図10Bには、三つのフローが描かれている。一番左のフローは第1カメラ100C内のCPU110Cで、中央のフローは第2カメラ100D内のCPU110Dで、そして一番右のフローは第3カメラ100E内のCPU110Eで、それぞれ実行される処理内容を示している。   10A and 10B are flowcharts schematically showing an imaging procedure, an image file transfer processing procedure, an image file browsing procedure, and the like executed between the first camera 100C, the second camera 100D, and the third camera 100E. . In FIG. 10A and FIG. 10B, three flows are depicted. The leftmost flow is the CPU 110C in the first camera 100C, the central flow is the CPU 110D in the second camera 100D, and the rightmost flow is the processing content executed by the CPU 110E in the third camera 100E. Is shown.

最初に、第1カメラ100C、第2カメラ100D、第3カメラ100Eの間で、グループを構成する操作が実行される。すなわち、3台のカメラ100C、100D、100Eのユーザがこれらのカメラを持ち寄り、各カメラの電源を投入する。そして、第1カメラ100Cのユーザが第1カメラ100Cを操作し、グループ形成のための操作を行う。この操作を受け、第1カメラ100C内のCPU110CはS1000において、接続の処理を実行する。すなわち、第1カメラ100Cの近傍に存在するカメラ(本実施の形態では第2カメラ100D、第3カメラ100Eがそれに相当する)に「呼びかけ」の動作を行い、他のカメラからの応答を待つ。この「呼びかけ」の動作に応答し、第2カメラ100D、第3カメラ100Eでは、グループに参加するか否かをユーザに選択させるための表示が表示部106D、106Eになされる。第2カメラ100Dおよび第3カメラ100Eのユーザは、グループに参加することを決定する操作をすることにより、3者間でのグループが形成される。   First, an operation for forming a group is executed among the first camera 100C, the second camera 100D, and the third camera 100E. That is, the users of the three cameras 100C, 100D, and 100E bring these cameras together and turn on the power of each camera. Then, the user of the first camera 100C operates the first camera 100C and performs an operation for forming a group. In response to this operation, the CPU 110C in the first camera 100C executes connection processing in S1000. That is, a “calling” operation is performed on cameras existing in the vicinity of the first camera 100C (in this embodiment, the second camera 100D and the third camera 100E correspond), and a response from another camera is awaited. In response to the “calling” operation, the second camera 100D and the third camera 100E display on the display units 106D and 106E to make the user select whether or not to join the group. When the users of the second camera 100D and the third camera 100E perform an operation of determining to join the group, a group of three people is formed.

このとき、第1カメラ100C、第2カメラ100D、第3カメラ100Eの間では、各種の情報の伝達がなされて、グループを構成するカメラがどのような仕様のカメラであるかを知ることが可能に構成される。具体的には、画像ファイル等の情報ファイルの授受が可能か、可能である場合にファイル名の重複を確認し、重複がある場合にはファイル名を別のファイル名に変更する機能を有するか、といった情報を得ることができるように構成される。   At this time, various information is transmitted between the first camera 100C, the second camera 100D, and the third camera 100E, and it is possible to know what specifications the cameras constituting the group are. Configured. Specifically, whether it is possible to exchange information files such as image files, and whether it has a function of checking file name duplication when it is possible and changing the file name to another file name when there is duplication , And so on.

上記に加え、各カメラ100C、100D、100Eの間では、各カメラを一意に特定可能なID情報、例えばカメラのモデル名と製造番号との組み合わせなどに関する情報の伝達もなされる。このID情報は、各カメラ100C、100D、100EのRAM114C、114D、114Eや、記憶媒体112C、112D、112Eなどに記憶される。以降、各カメラから送信される情報のヘッダ部分に送信先を特定する情報を組み込むことが可能となる。それにより、第1カメラ100C、第2カメラ100D、第3カメラ100Eと同様の機能を有する他のカメラが第1カメラ100C、第2カメラ100D、第3カメラ100Eで構成されるグループの近傍に存在していたとしても、情報ファイルあるいはその他情報の意図しない送信がグループ外のカメラに対して行われることはない。また、送信された情報がどのカメラ宛であるのかを認識することが可能であるので、送信先として設定されていないカメラが大量の情報を受信する動作を実行してしまうこともない。   In addition to the above, between each camera 100C, 100D, and 100E, ID information that can uniquely identify each camera, for example, information related to a combination of a camera model name and a serial number is also transmitted. This ID information is stored in the RAMs 114C, 114D, 114E of the cameras 100C, 100D, 100E, the storage media 112C, 112D, 112E, and the like. Thereafter, information for specifying the transmission destination can be incorporated into the header portion of the information transmitted from each camera. Thereby, other cameras having the same functions as those of the first camera 100C, the second camera 100D, and the third camera 100E exist in the vicinity of the group constituted by the first camera 100C, the second camera 100D, and the third camera 100E. Even if this is done, an unintended transmission of an information file or other information will not be sent to a camera outside the group. Further, since it is possible to recognize which camera the transmitted information is addressed to, a camera that is not set as a transmission destination does not execute an operation of receiving a large amount of information.

その後、第1カメラ100Cのユーザが被写体Aを撮像するための操作を行うのに応じて、CPU110Cが撮像処理手順を実行するものとして説明をする。第1カメラ100Cのユーザが撮像操作をするのに応答し、CPU110CはS1002で被写体撮像の動作に関わる一連の制御を行う。   Thereafter, it is assumed that the CPU 110C executes the imaging process procedure in response to the user of the first camera 100C performing an operation for imaging the subject A. In response to the user of the first camera 100C performing an imaging operation, the CPU 110C performs a series of controls relating to the subject imaging operation in S1002.

S1004でCPU110Cは、画像処理部104Cに対し、上記撮像によって得られた画像信号に画像処理を行うよう制御信号を発する。その結果、第1の実施の形態で図5を参照して説明した画像データ部および画像情報が生成される。これらの画像データ部および画像情報を含む画像ファイルは、S1006のファイル名生成処理で生成されたファイル名が付与され、S1008において記憶媒体112Cに記憶される。   In S1004, the CPU 110C issues a control signal to the image processing unit 104C so as to perform image processing on the image signal obtained by the imaging. As a result, the image data portion and the image information described with reference to FIG. 5 in the first embodiment are generated. The image file including the image data portion and the image information is given the file name generated by the file name generation process in S1006, and is stored in the storage medium 112C in S1008.

続いて、第1カメラ100Cのユーザが、被写体Aの画像ファイルを第2カメラ100Dに送信するための操作をしたものとする。この操作を受け、CPU110Cは、S1010において被写体Aの画像ファイルを第2カメラ100Dに送信する。このとき、第2カメラ100Dでは、CPU110DによってS1040の処理が実行され、第1カメラ100Cから送信された被写体Aの画像ファイルが受信される。   Subsequently, it is assumed that the user of the first camera 100C performs an operation for transmitting the image file of the subject A to the second camera 100D. In response to this operation, the CPU 110C transmits the image file of the subject A to the second camera 100D in S1010. At this time, in the second camera 100D, the process of S1040 is executed by the CPU 110D, and the image file of the subject A transmitted from the first camera 100C is received.

第2カメラ100DのCPU110Dによって実行されるS1042からS1048までの処理は、S1040の処理で第1カメラ100Cから受信した被写体Aの画像ファイルを記憶媒体112Dに記憶するための処理である。すなわち、受信した被写体Aの画像ファイル(受信画像ファイル)のファイル名と重複するファイル名のファイルが記憶媒体112D内の保存ディレクトリに無いか確認する。そしてCPU110Dは、重複するファイル名のファイルが無いと判定すると、オリジナルの(第1カメラ100Cから受信した画像ファイルにもともと付与されていた)ファイル名でもって受信画像ファイルを記憶媒体112D内に記憶する。一方、オリジナルのファイル名と重複するファイル名のファイルが存在すると判定した場合には、CPU110Dは予め定められた命名規則に従って生成される別ファイル名を受信画像ファイルに付与し、記憶媒体112D内に記憶する。   The processes from S1042 to S1048 executed by the CPU 110D of the second camera 100D are processes for storing the image file of the subject A received from the first camera 100C in the process of S1040 in the storage medium 112D. That is, it is confirmed whether there is a file having a file name that overlaps the file name of the received image file of the subject A (received image file) in the storage directory in the storage medium 112D. If the CPU 110D determines that there is no file with a duplicate file name, it stores the received image file in the storage medium 112D with the original file name (which was originally given to the image file received from the first camera 100C). . On the other hand, if it is determined that a file with a file name that overlaps with the original file name exists, the CPU 110D assigns another file name generated according to a predetermined naming rule to the received image file, and stores it in the storage medium 112D. Remember.

S1048においてCPU110Dは、第1カメラ100Cおよび第3カメラ100Eの双方にファイル保存情報を送信する。このファイル保存情報は、第1および第2の実施の形態で説明したのと同様に、第1カメラ100Cから送信された被写体Aの画像ファイルが記憶媒体112Dに記憶される際に付与されたファイル名に関連する情報を含んでいる。このファイル保存情報にはさらに、記憶媒体112D内で被写体Aの画像ファイルが記憶される際の保存先のディレクトリに関連する情報を含むことが望ましい。   In S1048, the CPU 110D transmits the file storage information to both the first camera 100C and the third camera 100E. The file storage information is a file assigned when the image file of the subject A transmitted from the first camera 100C is stored in the storage medium 112D, as described in the first and second embodiments. Contains information related to the name. The file storage information preferably further includes information related to a storage destination directory when the image file of the subject A is stored in the storage medium 112D.

上述のようにして第2カメラ100Dからファイル保存情報が送信されるのに応じて、第1カメラ100CのCPU110Cおよび第3カメラ100EのCPU110Eは以下に説明する処理を実行する。すなわち、第1カメラ100CのCPU110Cは、S1012で上記ファイル保存情報を受信する処理を行う。続いてS1014でCPU110Cは被写体Aの画像ファイルを記憶媒体112CからRAM114C上に読み出し、S1016において、ファイル保存情報に基づく情報を画像情報(図5参照)中に転送先ファイル保存情報として付加する処理を行う。S1018においてCPU110Cは、画像データ部と、上述にように更新された画像情報とを含む画像ファイルを記憶媒体112C内に上書きして記憶する処理を行う。そしてS1020でCPU110Cは、第1の実施の形態で図4を参照して説明したのと同様の表示を表示部106Cに行う。   In response to the file storage information transmitted from the second camera 100D as described above, the CPU 110C of the first camera 100C and the CPU 110E of the third camera 100E execute processing described below. That is, the CPU 110C of the first camera 100C performs a process of receiving the file storage information in S1012. In step S1014, the CPU 110C reads the image file of the subject A from the storage medium 112C onto the RAM 114C. In step S1016, the CPU 110C adds information based on the file storage information to the image information (see FIG. 5) as transfer destination file storage information. Do. In S1018, the CPU 110C performs a process of overwriting and storing the image file including the image data portion and the image information updated as described above in the storage medium 112C. In step S1020, the CPU 110C performs the same display on the display unit 106C as described with reference to FIG. 4 in the first embodiment.

一方、第3カメラ100EのCPU110Eは、上記のように第2カメラ100Dから送信されたファイル保存情報をS1070で受信する処理を行う。続くS1072でCPU110Eは、「第1カメラ100Cから第2カメラ100Dに画像ファイルが送信されて保存された」旨のメッセージを、記憶媒体112C、112Dに記憶する際に被写体Aの画像ファイルに付与されたファイル名とともに表示部106Eに表示する。   On the other hand, the CPU 110E of the third camera 100E performs the process of receiving the file storage information transmitted from the second camera 100D as described above in S1070. In subsequent S1072, the CPU 110E adds the message “The image file has been transmitted and saved from the first camera 100C to the second camera 100D” to the image file of the subject A when storing it in the storage media 112C and 112D. The file name is displayed on the display unit 106E.

続いて、上述のようにして表示部106Eに表示に表示されたメッセージを見た第3カメラ100Eのユーザが、第2カメラ100Dに転送・記憶された被写体Aの画像を第3カメラ100Eの表示部106E上で閲覧する操作をしたものとして以下の説明をする。   Subsequently, the user of the third camera 100E who sees the message displayed on the display unit 106E as described above displays the image of the subject A transferred and stored in the second camera 100D on the display of the third camera 100E. The following description will be given on the assumption that the browsing operation is performed on the unit 106E.

第3カメラ100Eのユーザは、第2カメラ100Dに転送・記憶された被写体Aの画像ファイルを開いて閲覧するべく、操作部108Eを操作する。その操作をCPU110EはS1074で受け付ける。S1076においてCPU110Eは、第3カメラ100Eのユーザが閲覧を希望するファイルを特定する情報を含む、閲覧ファイル指定情報を第2カメラ100Dに送信する処理を行う。この閲覧ファイル指定情報を第2カメラ100DのCPU110DはS1050で受信する。CPU110DはS1052において、上記閲覧ファイル指定情報で指定されるファイル名の画像ファイルをRAM114上に読み出す。そしてS1054でCPU110Dは、この画像ファイルを第3カメラ100Eに送信する処理を行う。   The user of the third camera 100E operates the operation unit 108E to open and browse the image file of the subject A transferred and stored in the second camera 100D. The CPU 110E accepts the operation in S1074. In S <b> 1076, the CPU 110 </ b> E performs processing for transmitting browsing file designation information including information for specifying a file that the user of the third camera 100 </ b> E desires to browse to the second camera 100 </ b> D. The CPU 110D of the second camera 100D receives this browse file designation information in S1050. In step S <b> 1052, the CPU 110 </ b> D reads the image file having the file name designated by the browse file designation information onto the RAM 114. In step S1054, the CPU 110D performs processing for transmitting the image file to the third camera 100E.

第3カメラ100EのCPU110Eは、上述のように第2カメラ100Dから送信された画像ファイルを受信する処理をS1078で実行する処理を行う。そしてS1080でCPU110Eは、S1078で受信した画像ファイルに基づく画像を表示部106Eに表示する処理を行う。   The CPU 110E of the third camera 100E performs a process of executing the process of receiving the image file transmitted from the second camera 100D as described above in S1078. In step S1080, the CPU 110E performs processing for displaying an image based on the image file received in step S1078 on the display unit 106E.

このようにして、第1カメラ100Cのユーザが撮像して生成された画像ファイルを第2カメラ100Dから送信された画像ファイルに送信して記憶媒体112D内に記憶することが可能となる。また、第3カメラ100Eのユーザもまた、自分の有する第3のカメラ100E内に画像ファイルをダウンロードして閲覧することが可能となる。このとき、第1カメラ100Cから画像ファイルを受信して記憶媒体112D内に記憶した第2カメラ100Dは、受信した画像ファイルを記憶媒体112D内に記憶する際にこの画像ファイルに付与されたファイル名を含むファイル保存情報を第1カメラ100C、第3カメラ100Eに送信する。これにより、第1カメラ100Cのユーザが管理する権限を持つ被写体Aの画像ファイルを後で第2カメラ100D内から削除するような場合に、円滑に目的とする画像ファイルを特定することが可能となる。また、第3カメラ100Eのユーザが被写体Aの画像を閲覧したいと思ったときに、当該の画像ファイルが第2カメラ100Dの記憶媒体112D内でどのようなファイル名で記憶されているかを知ることができる。このため、目的とする画像ファイルを円滑に特定することが可能となる。加えて、仮に第2カメラ100Dが動画の撮像中等でビジー状態にあるときには、被写体Aの画像を含む画像ファイルを第1カメラ100Cからダウンロードすることも可能であるが、そのようなときにも目的とする画像ファイルを容易に特定可能となる。なお、閲覧を目的として画像ファイルを授受する際には、インデックス画像等、ファイルサイズを比較的小さくすることの可能な情報を含むものを授受してもよい。   In this way, the image file generated by the user of the first camera 100C can be transmitted to the image file transmitted from the second camera 100D and stored in the storage medium 112D. Further, the user of the third camera 100E can also download and view the image file in the third camera 100E that the user has. At this time, the second camera 100D that has received the image file from the first camera 100C and stored it in the storage medium 112D has the file name given to this image file when storing the received image file in the storage medium 112D. Is transmitted to the first camera 100C and the third camera 100E. As a result, when the image file of the subject A having the authority managed by the user of the first camera 100C is later deleted from the second camera 100D, the target image file can be specified smoothly. Become. In addition, when the user of the third camera 100E wants to view the image of the subject A, the user knows what file name the image file is stored in the storage medium 112D of the second camera 100D. Can do. For this reason, it becomes possible to specify the target image file smoothly. In addition, if the second camera 100D is in a busy state such as during moving image capturing, an image file including the image of the subject A can be downloaded from the first camera 100C. The image file can be easily specified. Note that when an image file is exchanged for the purpose of viewing, an index image or the like including information that can make the file size relatively small may be exchanged.

以上では、第1カメラ100Cで撮像し、生成された画像ファイルを、第2カメラ100Dに送信して記憶し、続いて第2カメラ100Dから第3カメラ100Eに送信して第3カメラ100Eの表示部106Eで第3カメラ100Eのユーザが閲覧する例について説明した。本発明はこれに限定されるものではなく、グループを形成する複数のカメラ中、任意のカメラで撮影されて生成された画像ファイルは他のどのカメラにも送信して記憶することが可能で、他のどのカメラで閲覧可能に構成されていてもよい。   In the above, the image file captured and generated by the first camera 100C is transmitted to the second camera 100D and stored, and then transmitted from the second camera 100D to the third camera 100E to display the third camera 100E. The example in which the user of the third camera 100E browses with the unit 106E has been described. The present invention is not limited to this, and among a plurality of cameras forming a group, an image file shot and generated by an arbitrary camera can be transmitted to any other camera and stored. It may be configured to be viewable with any other camera.

− 第4の実施の形態 −
本発明の第4の実施の形態では、図11Aに示されるように、電子装置としてのデジタルカメラ100Fに外部装置としてのコンピュータ300が接続される場合を例にとって説明する。そして第1の実施の形態で説明したのと同様に、画像ファイルの送受信やファイル保存情報などの情報の送受信が行われる。なお、互いに接続される装置の組み合わせとしては、図11Aに示されるものだけではなく、デジタルカメラ同士、ボイスレコーダとコンピュータ、データロガとコンピュータ等、様々な形態で実施が可能である。
-Fourth embodiment-
In the fourth embodiment of the present invention, as shown in FIG. 11A, a case where a computer 300 as an external device is connected to a digital camera 100F as an electronic device will be described as an example. Then, as described in the first embodiment, transmission / reception of image files and transmission / reception of information such as file storage information are performed. The combination of devices connected to each other is not limited to that shown in FIG. 11A, but can be implemented in various forms such as digital cameras, a voice recorder and a computer, a data logger and a computer.

図11Bは、デジタルカメラ100Fおよびコンピュータ300の内部構成を概略的に示すブロック図である。デジタルカメラ100Fを構成する要素は、第1の実施の形態で図1を参照して説明したのと同様である。したがって、デジタルカメラ100Fを構成する各要素を参照する符号の末尾にはFを付してその説明を省略する。   FIG. 11B is a block diagram schematically showing an internal configuration of the digital camera 100F and the computer 300. Elements constituting the digital camera 100F are the same as those described with reference to FIG. 1 in the first embodiment. Therefore, F is added to the end of the code that refers to each element constituting the digital camera 100F, and the description thereof is omitted.

コンピュータ300の内部構成について説明する。コンピュータ300は、画像処理部304と、表示部306Bと、操作部308と、CPU310と、記憶媒体312と、RAM314と、ROM316と、通信部318とを有する。表示部308は、液晶表示パネル等で構成されて文字や画像等を表示可能に構成される。この表示部306は、コンピュータ300と一体に構成されていても、別体に構成されていてもよい。操作部308は、キーボードやマウス、タッチペン、トラックボール、そして各種のスイッチ等を含むことができる。記憶媒体312は、ハードディスクドライブやソリッドステートドライブ、あるいはメモリカード等を含むことができる。RAM314は、プログラムやデータ等を一時的に記憶するためのランダムアクセス可能な記憶装置であり、SD−RAM等で構成することが望ましい。   The internal configuration of the computer 300 will be described. The computer 300 includes an image processing unit 304, a display unit 306B, an operation unit 308, a CPU 310, a storage medium 312, a RAM 314, a ROM 316, and a communication unit 318. The display unit 308 is configured by a liquid crystal display panel or the like and can display characters, images, and the like. The display unit 306 may be configured integrally with the computer 300 or may be configured separately. The operation unit 308 can include a keyboard, a mouse, a touch pen, a trackball, various switches, and the like. The storage medium 312 can include a hard disk drive, a solid state drive, a memory card, or the like. The RAM 314 is a randomly accessible storage device for temporarily storing programs, data, and the like, and is preferably composed of an SD-RAM or the like.

ROM316は必要に応じて設けられる読み出し専用の記憶装置であり、BIOSやファームウェア等をストアすることができる。通信部318は、他の電子装置との間で情報の授受を可能とするもので、第1から第3の実施の形態で説明したのと同様、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。独自の規格による通信方式を用いるものであってもよい。   The ROM 316 is a read-only storage device provided as necessary, and can store BIOS, firmware, and the like. The communication unit 318 can exchange information with other electronic devices. As described in the first to third embodiments, the communication unit 318 can use either a wired or wireless form. Is possible. In the case of wired, standards such as IEEE 1394 and USB can be used. In the case of wireless, standards such as IEEE802.11 can be used. Alternatively, a standard such as Bluetooth or IrDA may be used. A communication method based on an original standard may be used.

CPU310は、ROM318、あるいは記憶媒体312からRAM314上に読み出されたプログラムを実行する。画像処理部304は、デジタルカメラ100Fから受信し、RAM314上に読み出された画像データ等を処理するためのものである。この画像処理部304は、記憶媒体312内に記憶されている画像処理プログラムがRAM314に読み出され、それをCPU310が実行することによって実施することが可能である。   The CPU 310 executes a program read from the ROM 318 or the storage medium 312 onto the RAM 314. The image processing unit 304 is for processing image data and the like received from the digital camera 100F and read out on the RAM 314. The image processing unit 304 can be implemented by reading an image processing program stored in the storage medium 312 into the RAM 314 and executing it by the CPU 310.

図12には、デジタルカメラ100Fが第1の実施の形態で説明した画像ファイル転送モードに設定され、デジタルカメラ100Fとコンピュータ300との間で画像ファイルの転送等の処理が行われる際の手順が示されている。図12において、左側にはデジタルカメラ100Fが画像ファイル転送モードに設定されたときにCPU110Fで実行されるS1200からS1218までの処理手順が示される。また、図12の右側には、コンピュータ300で実行されるS1250からS1258までの処理手順が示される。   FIG. 12 shows a procedure when the digital camera 100F is set to the image file transfer mode described in the first embodiment and processing such as image file transfer is performed between the digital camera 100F and the computer 300. It is shown. In FIG. 12, the processing procedure from S1200 to S1218 executed by the CPU 110F when the digital camera 100F is set to the image file transfer mode is shown on the left side. Further, on the right side of FIG. 12, the processing procedure from S1250 to S1258 executed by the computer 300 is shown.

S1200においてCPU110Fは、第1の実施の形態で説明したのと同様に、ユーザによる画像ファイル選択操作受付の処理を行う。そして、ユーザがコンピュータ300への送信を希望している画像ファイルを特定する。S1202においてCPU110Fは、選択された画像ファイルのデータを記憶媒体112FからRAM114F上に読み出す。RAM114F上に読み出される画像ファイルのデータは、図13の左上側に示されるように、画像データ部1302と画像情報1304とを含む。画像情報1304中には、画像の向きに関する情報1306が含まれている。この情報は、画像データを展開して表示部に表示する際に、画像をどの向きに回転させて表示させると見やすいかを示す情報である。特に縦構図で(画面の長辺を鉛直線と略平行になるようにカメラを構えて)撮影する際に、カメラのグリップ側が上になるように構える場合も、下になるように構える場合もあるので、画像を表示する際に回転する向きを指定可能であると画像の閲覧が容易となる。以下では上記の情報1306を表示方向指定情報と称する。なお、本実施の形態では、デジタルカメラ100Fのユーザが撮影操作をした結果、記憶媒体112Fに記憶される画像ファイル中で、表示方向指定情報1306は「回転なし」に対応するものとなっていて、画像データは2560×1920のピクセルサイズを有するものとして以下の説明をする。   In S1200, the CPU 110F performs processing for accepting an image file selection operation by the user, as described in the first embodiment. Then, the image file that the user desires to transmit to the computer 300 is specified. In S1202, the CPU 110F reads the data of the selected image file from the storage medium 112F onto the RAM 114F. Image file data read onto the RAM 114F includes an image data portion 1302 and image information 1304, as shown in the upper left of FIG. The image information 1304 includes information 1306 regarding the orientation of the image. This information is information indicating in which direction the image is rotated and displayed when the image data is expanded and displayed on the display unit. Especially when shooting in vertical composition (holding the camera so that the long side of the screen is almost parallel to the vertical line), the camera may be held with the grip side up or down. Therefore, if it is possible to specify the rotation direction when displaying the image, it is easy to view the image. Hereinafter, the information 1306 is referred to as display direction designation information. In the present embodiment, the display direction designation information 1306 corresponds to “no rotation” in the image file stored in the storage medium 112F as a result of the photographing operation by the user of the digital camera 100F. In the following description, it is assumed that the image data has a pixel size of 2560 × 1920.

S1204においてCPU110Fは、コンピュータ300との接続処理を行い、デジタルカメラ100Fとコンピュータ300との間の双方向通信の開始を可能とする。続くS1206においてCPU110Fは、RAM114F上の画像ファイル1300をコンピュータ300に向けて転送する処理を行う。   In step S1204, the CPU 110F performs a connection process with the computer 300, and enables bidirectional communication between the digital camera 100F and the computer 300 to be started. In subsequent S1206, the CPU 110F performs a process of transferring the image file 1300 on the RAM 114F toward the computer 300.

CPU110FによるS1206での処理に応答し、コンピュータ300はS1250において、デジタルカメラ100Fから送信される画像ファイル1300を受信する。このときコンピュータ300は、デジタルカメラ100Fの記憶媒体112F内で記憶されていたときに画像ファイル1300に付与されていたファイル名(以下、これを「オリジナルファイル名」と称する)に関連する情報もデジタルカメラ100Fから受信する。   In response to the processing in S1206 by the CPU 110F, the computer 300 receives the image file 1300 transmitted from the digital camera 100F in S1250. At this time, the computer 300 also digitally stores information related to the file name (hereinafter referred to as “original file name”) given to the image file 1300 when stored in the storage medium 112F of the digital camera 100F. Received from the camera 100F.

S1252においてコンピュータ300は、受信した画像ファイル(以下、コンピュータ300がデジタルカメラ100Fから受信した画像ファイルを「受信画像ファイル」と称する。)を記憶しようとしているディレクトリ内に、受信画像ファイルのファイル名と同じファイル名のファイルが無いか、検索処理を行う。   In step S1252, the computer 300 stores the file name of the received image file in the directory in which the received image file (hereinafter, the image file received by the computer 300 from the digital camera 100F) is to be stored. Search for a file with the same file name.

S1252でのファイル名検索処理結果に基づき、コンピュータ300はS1254において、ファイル名決定処理を行う。ファイル名決定の処理の詳細については第1の実施の形態で説明したのと同様であるのでその説明を省略する。   Based on the file name search process result in S1252, the computer 300 performs a file name determination process in S1254. The details of the file name determination process are the same as those described in the first embodiment, and a description thereof will be omitted.

S1256でコンピュータ300は、S1254で決定されたファイル名に関連する情報を含むファイル保存情報を、デジタルカメラ100Fに送信する。続くS1258においてコンピュータ300は、S1254で決定されたファイル名でもって受信画像ファイル(図13右上側に示される画像ファイル1300Aに相当するもの)をハードディスクやフラッシュメモリ等で構成される補助記憶装置に記憶する。ここでは、S1254で決定されたファイル名はP1010058.JPGであるものとする。   In S1256, the computer 300 transmits file storage information including information related to the file name determined in S1254 to the digital camera 100F. In the subsequent S1258, the computer 300 stores the received image file (corresponding to the image file 1300A shown in the upper right side of FIG. 13) with the file name determined in S1254 in an auxiliary storage device constituted by a hard disk, a flash memory, or the like. To do. Here, the file name determined in S1254 is P1010058. It is assumed to be JPG.

コンピュータ300による上述したS1256の処理を受け、CPU110FはS1208においてファイル保存情報受信処理を行う。S1210においてCPU110Fは、S1208でコンピュータ300から受信したファイル保存情報に基づき、タグ情報更新処理を行う。S1210での処理は、第1の実施の形態における図3のS310の処理と同様であるので説明を省略する。   In response to the processing of S1256 described above by the computer 300, the CPU 110F performs file storage information reception processing in S1208. In S1210, the CPU 110F performs tag information update processing based on the file storage information received from the computer 300 in S1208. Since the process in S1210 is the same as the process in S310 of FIG. 3 in the first embodiment, a description thereof will be omitted.

S1212においてCPU110Fは、画像データ縮小処理を行う。すなわち、CPU110Fは、RAM114F上に読み込まれている、画像データ部1302に対応する画像データに対してリサイズの処理を行い、ファイルサイズを縮小する処理を行う。本実施の形態においては、リサイズ処理後のピクセルサイズは640×480であるものとするが、本発明ではリサイズ処理後のピクセルサイズが640×480より大きくても小さくてもよい。さらには、リサイズ処理は行わずに圧縮率を高める処理をしても良いし、リサイズの処理および圧縮率を上げる処理の双方を行うものであってもよい。   In S1212, the CPU 110F performs image data reduction processing. That is, the CPU 110F performs a resizing process on the image data corresponding to the image data unit 1302 read on the RAM 114F, and performs a process of reducing the file size. In the present embodiment, the pixel size after the resizing process is 640 × 480. However, in the present invention, the pixel size after the resizing process may be larger or smaller than 640 × 480. Furthermore, the processing for increasing the compression rate may be performed without performing the resizing processing, or both the processing for resizing and the processing for increasing the compression rate may be performed.

S1212におけるCPU110Fの上述した処理の後、CPU110FはS1214において記憶媒体112Fに記憶する処理を行う。このとき記憶媒体112Fに記憶される画像ファイルに付与されるファイル名は上述したオリジナルファイル名であるので、上述したS1210、S1212の処理によって生成された画像ファイルが記憶媒体112Fに上書きして記憶されることになる。図13の左下側には、記憶媒体112Fに上書きして記憶される画像ファイル1300Bのファイル構造が示されている。上書きして記憶される画像ファイル1300Bは、画像情報1304Aと画像データ部1302Aとを有する。画像データ部1302Aは、上述したようにS1212で画像データ縮小の処理が行われて640×480のピクセルサイズを有するものとなっている。また、画像情報1304Aには、転送先ファイル保存情報1308、表示方向指定情報1306、転送済みフラグ1310などの情報が含まれる。   After the above-described process of the CPU 110F in S1212, the CPU 110F performs a process of storing in the storage medium 112F in S1214. At this time, since the file name given to the image file stored in the storage medium 112F is the original file name described above, the image file generated by the processing in S1210 and S1212 described above is overwritten and stored in the storage medium 112F. Will be. In the lower left side of FIG. 13, the file structure of an image file 1300B that is stored over the storage medium 112F is shown. The image file 1300B stored by overwriting has image information 1304A and an image data portion 1302A. As described above, the image data portion 1302A has a pixel size of 640 × 480 after image data reduction processing is performed in S1212. Further, the image information 1304A includes information such as transfer destination file storage information 1308, display direction designation information 1306, and a transfer completed flag 1310.

後の処理でCPU110Fが記憶媒体112Fから画像ファイルを読み出す処理をしたときに、画像情報1304(1304A)を参照することにより、当該の画像ファイルは既にコンピュータ300に送信しているか否かを判定することが可能となる。また、画像データ部1302、1302A内の画像データを展開して表示する際に、表示方向指定情報に基づいて画像を回転することにより、ユーザにとって見やすい画像表示をすることが可能となる。   When the CPU 110F performs a process of reading an image file from the storage medium 112F in a later process, it is determined whether or not the image file has already been transmitted to the computer 300 by referring to the image information 1304 (1304A). It becomes possible. Further, when the image data in the image data sections 1302 and 1302A is expanded and displayed, the image can be displayed easily for the user by rotating the image based on the display direction designation information.

続いて、上述のようにしてデジタルカメラ100Fの記憶媒体112Fに上書きされたP1010001.JPGをユーザが開き、画像回転の操作を行う例について図14および図15を参照して説明する。図14は、上述したユーザの操作を受けてデジタルカメラ100FのCPU110Fおよびコンピュータ300で実行される処理手順を概略的に示すフローチャートである。そして、図14の左側にはCPU110Fで実行される処理手順が、右側にはコンピュータ300で実行される処理手順が、それぞれ示されている。図15は、図14に示される処理手順を経て変更が加えられる画像ファイルの内容を概念的に示している。   Subsequently, P1010001. Overwritten in the storage medium 112F of the digital camera 100F as described above. An example in which the user opens the JPG and performs an image rotation operation will be described with reference to FIGS. 14 and 15. FIG. 14 is a flowchart schematically showing a processing procedure executed by the CPU 110F of the digital camera 100F and the computer 300 in response to the user operation described above. The processing procedure executed by the CPU 110F is shown on the left side of FIG. 14, and the processing procedure executed on the computer 300 is shown on the right side. FIG. 15 conceptually shows the contents of an image file that is changed through the processing procedure shown in FIG.

ユーザは操作部108Fを操作して、デジタルカメラ100Fを画像表示モードに設定し、表示部106Fに表示するべき画像を選択する操作をする。ここでユーザは、記憶媒体112Fに記憶されている画像ファイルの中からP1010001.JPGというファイル名が付された画像ファイルを指定したものとする。この操作を受け、CPU110FはS1400において、操作対象のファイル選択操作受け付けの処理を行う。S1402においてCPU110Fは、ユーザにより選択された画像ファイルをRAM114F上に読み出し、続くS1404で表示部106Fに画像を表示する処理を行う。S1402で記憶媒体112Fから読み出される画像ファイルは、図15の左上側に示される画像ファイル1300Bである。この画像ファイル1300Bに含まれる画像データ部1302Aは、一例として640×480のピクセルサイズにリサイズされたものであるので、記憶媒体112Fから読み出して画像を表示部106Fに表示するまでに要する時間を短縮することが可能となる。なお、リサイズされる前の画像データ部1302を含む画像ファイル1300Aは、先に説明したようにコンピュータ300の記憶媒体312中にP1010058.JPGというファイル名が付与されて記憶されている。   The user operates the operation unit 108F, sets the digital camera 100F to the image display mode, and performs an operation of selecting an image to be displayed on the display unit 106F. Here, the user selects P1010001. From the image files stored in the storage medium 112F. It is assumed that an image file with a file name “JPG” is designated. In response to this operation, in step S1400, the CPU 110F performs processing for accepting an operation target file selection operation. In S1402, the CPU 110F reads the image file selected by the user onto the RAM 114F, and performs a process of displaying an image on the display unit 106F in S1404. The image file read from the storage medium 112F in S1402 is the image file 1300B shown on the upper left side of FIG. Since the image data portion 1302A included in the image file 1300B is resized to a pixel size of 640 × 480 as an example, the time required for reading from the storage medium 112F and displaying the image on the display portion 106F is shortened. It becomes possible to do. Note that the image file 1300A including the image data portion 1302 before being resized is stored in the storage medium 312 of the computer 300 in the P1010058. A file name JPG is assigned and stored.

ユーザは、表示部106Fに表示される画像を見て、表示される画像の向きを回転させる操作を行う。この操作について説明すると、表示部106Fは通常、横長の表示画面を有する。P1010001.JPGが、先に説明した縦構図で撮像して得られたものであるとすると、表示部106Fに表示される画像は横に寝たものとなる。縦構図の撮像に際して、ユーザはデジタルカメラ100Fのグリップ側を上にして構える場合と下にして構える場合とがある。それによって、表示部106Fに表示される画像の天側は画面の向かって右側に位置する場合と左側に位置する場合とがある。また、特殊な構図等で撮影した場合には、表示される画像の天地を逆にした方が見やすくなる場合がある。そのようなことを考慮し、デジタルカメラ100Fは画像を表示する際の表示方向を任意の方向に指定可能に構成することが可能である。   The user looks at the image displayed on the display unit 106F and performs an operation of rotating the orientation of the displayed image. This operation will be described. The display unit 106F normally has a horizontally long display screen. P1010001. Assuming that the JPG is obtained by imaging with the above-described vertical composition, the image displayed on the display unit 106F is lying on the side. When capturing a vertical composition, the user may hold the digital camera 100F with the grip side up or hold it down. Accordingly, the top side of the image displayed on the display unit 106F may be located on the right side or the left side of the screen. In addition, when shooting with a special composition or the like, it may be easier to see if the displayed image is upside down. In consideration of such a situation, the digital camera 100F can be configured so that the display direction for displaying an image can be designated in an arbitrary direction.

CPU110FはS1406において、ユーザによる上述した表示方向指定の操作を受け付け、表示部106Fに表示される画像を指定された表示方向に回転させる処理を行う。デジタルカメラ100Fは一例として、時計回りの方向(CW)に90°、反時計回りの方向(CCW)に90°、いずれかの方向に180°といった表示方向指定の操作を受け付けることが可能に構成される。本実施例において、ユーザは表示方向を反時計回りの方向に90°(CCW90°)と指定する操作を行ったものとする。   In step S1406, the CPU 110F accepts the above-described display direction designation operation by the user, and performs a process of rotating the image displayed on the display unit 106F in the designated display direction. As an example, the digital camera 100F is configured to be able to accept display direction designation operations such as 90 ° in the clockwise direction (CW), 90 ° in the counterclockwise direction (CCW), and 180 ° in any direction. Is done. In this embodiment, it is assumed that the user has performed an operation of designating the display direction to be 90 ° (CCW 90 °) in the counterclockwise direction.

S1408においてCPU110Fは、RAM114F上に読み出されているP1010001.JPGの画像ファイル1300Bに含まれる画像情報1304A中の表示方向指定情報1306を「画像の向き:回転無し」に対応するものから「画像の向き:CCW90°」に対応するものへと書き換える。   In S1408, the CPU 110F reads P1010001. The display direction designation information 1306 in the image information 1304A included in the JPG image file 1300B is rewritten from one corresponding to “image orientation: no rotation” to one corresponding to “image orientation: CCW 90 °”.

S1410においてCPU110Fは、画像情報1304A中のファイル転送済みフラグ1310の状態を判定する。すなわち、当該の画像ファイル(本例ではP1010001.JPGの画像ファイル)が以前にコンピュータ300に送信されたか否かを判定する。「転送済みフラグ:オン」は、当該の画像ファイルが以前にコンピュータ300に送信されたことを意味する。   In S1410, the CPU 110F determines the state of the file transfer completed flag 1310 in the image information 1304A. That is, it is determined whether or not the image file (P100001.JPG image file in this example) has been transmitted to the computer 300 before. “Transfer completed flag: ON” means that the image file has been transmitted to the computer 300 before.

S1410での判定が肯定されたときの分岐先であるS1412においてCPU110Fは、コンピュータ300と接続する処理を行う。この処理を受け、コンピュータ300はデジタルカメラ100Fとの交信が可能な状態となる。   In S1412 which is a branch destination when the determination in S1410 is affirmed, the CPU 110F performs a process of connecting to the computer 300. In response to this processing, the computer 300 is ready to communicate with the digital camera 100F.

S1414でCPU110Fは、転送先ファイル名判定の処理を行う。転送先ファイル名判定の処理について説明すると、CPU110Fはコンピュータ300と接続して、以前にコンピュータ300へ送信して記憶されている画像ファイルに対して遠隔操作を行う。すなわち、CPU110Fはコンピュータ300の記憶媒体312に記憶される画像ファイルのファイル名を指定して、その画像ファイルに対して所定の処理を行うように、コンピュータ300へ処理コマンドを送信する。記憶媒体312に記憶される画像ファイルは、先にも説明したようにファイル名が変更されて記憶されている場合がある(本例において、P1010001.JPGのファイル名を有する画像ファイルはデジタルカメラ100Fからコンピュータ300に送信され、P1010058.JPGというファイル名にリネームされて記憶媒体312に記憶されている)。そこでCPU110Fは画像情報1304A中の転送先ファイル保存情報1308を参照する。本例では、記憶媒体112Fに記憶されるP1010001.JPGというファイル名の画像ファイルに対応する画像ファイルはコンピュータ300の記憶媒体312内でP1010058.JPGというファイル名で記憶されていることを、CPU110Fは転送先ファイル保存情報1308を参照することにより知ることができる。これがS1414で行われる、転送先ファイル名判定の処理である。   In S1414, the CPU 110F performs a transfer destination file name determination process. The transfer destination file name determination process will be described. The CPU 110F is connected to the computer 300, and performs a remote operation on an image file previously transmitted to the computer 300 and stored. That is, the CPU 110F designates the file name of the image file stored in the storage medium 312 of the computer 300, and transmits a processing command to the computer 300 so as to perform predetermined processing on the image file. The image file stored in the storage medium 312 may be stored with the file name changed as described above (in this example, the image file having the file name P1010001.JPG is the digital camera 100F. To the computer 300, renamed to the file name P1010058.JPG, and stored in the storage medium 312). Therefore, the CPU 110F refers to the transfer destination file storage information 1308 in the image information 1304A. In this example, P1010001. Stored in the storage medium 112F. The image file corresponding to the image file having the file name JPG is stored in the storage medium 312 of the computer 300 as P1010058. The CPU 110F can know that the file is stored with the file name JPG by referring to the transfer destination file storage information 1308. This is the transfer destination file name determination process performed in S1414.

S1416においてCPU110Fは、コンピュータ300で処理する対象の画像ファイルのファイル名をコンピュータ300に送信する。ここで送信される処理対象のファイル名は、S1414の転送先ファイル名判定処理で得られたファイル名(本例ではP1010058.JPG)である。これに応答してコンピュータ300は、CPU110Fから送信された処理対象ファイル名をS1450で受信する。   In step S <b> 1416, the CPU 110 </ b> F transmits the file name of the image file to be processed by the computer 300 to the computer 300. The processing target file name transmitted here is the file name (P1010058.JPG in this example) obtained by the transfer destination file name determination processing in S1414. In response to this, the computer 300 receives the processing target file name transmitted from the CPU 110F in S1450.

S1418においてCPU110Fは、表示方向指定情報変更コマンドをコンピュータ300に送信する。CPU110Fは、上記コマンドとともに表示方向指定情報(本例においてはCCW90°に対応する情報)も送信する。これに応答してコンピュータ300はCPU110Fから送信された表示方向指定情報変更コマンドおよび表示方向指定情報を受信する。   In S1418, the CPU 110F transmits a display direction designation information change command to the computer 300. The CPU 110F also transmits display direction designation information (information corresponding to CCW 90 ° in this example) together with the above command. In response to this, the computer 300 receives the display direction designation information change command and the display direction designation information transmitted from the CPU 110F.

S1454においてコンピュータ300は、S1450で受信した処理対象ファイル名に対応する画像ファイルを記憶媒体312からRAM314上に読み出す。このとき読み出される画像ファイルは、図15の右上に示される画像ファイル1300Aである。   In S1454, the computer 300 reads the image file corresponding to the processing target file name received in S1450 from the storage medium 312 onto the RAM 314. The image file read at this time is an image file 1300A shown in the upper right of FIG.

S1456においてコンピュータ300は、RAM314上に読み出された画像ファイル1300Aの画像情報1304中に含まれる表示方向指定情報1306を「画像の向き:回転無し」に対応する情報から「画像の向き:CCW90°」に対応する情報へと更新する処理を行う。   In S <b> 1456, the computer 300 changes the display direction designation information 1306 included in the image information 1304 of the image file 1300 </ b> A read onto the RAM 314 from the information corresponding to “image orientation: no rotation” to “image orientation: CCW 90 °. Is updated to information corresponding to "."

S1458においてコンピュータ300は、S1456で更新された画像情報1304Cと画像データ部1302とを含む画像ファイル1300Dを記憶媒体312に上書きして記憶し、一連の処理の実行を完了する。その結果、図15の右下に示される画像ファイル1300Dが記憶媒体312上に記憶される。以降、コンピュータ300上でP1010058.JPGのファイルを開いて閲覧する際には、表示方向指定情報1306Aに基づいて表示方向回転の処理が行われるので、縦構図で撮像された画像の閲覧が容易となる。   In S1458, the computer 300 overwrites and stores the image file 1300D including the image information 1304C updated in S1456 and the image data unit 1302 on the storage medium 312, and completes the execution of a series of processes. As a result, the image file 1300D shown in the lower right of FIG. 15 is stored on the storage medium 312. Thereafter, P1010058. When the JPG file is opened and browsed, the display direction rotation process is performed based on the display direction designation information 1306A, so that it is easy to browse the image captured in the vertical composition.

デジタルカメラ100Fでの処理の説明に戻ると、CPU110FはS1420で、コンピュータ300との接続状態を切断する処理を行う。続いてCPU110FはS1422において、図15の左下に示される、更新後の表示方向指定情報1306Aが含まれる画像情報1304Bと画像データ部1302Aとを有する画像ファイル1300Cをオリジナルのファイル名(本例においてはP1010001.JPG)で記憶媒体112Fに上書き記憶し、一連の処理の実行を完了する。   Returning to the description of the processing in the digital camera 100F, the CPU 110F performs processing of disconnecting the connection state with the computer 300 in S1420. Subsequently, in S1422, the CPU 110F selects an image file 1300C having the image information 1304B including the updated display direction designation information 1306A and the image data portion 1302A shown in the lower left of FIG. 15 as the original file name (in this example, P1010001.JPG) is overwritten and stored in the storage medium 112F, and a series of processing is completed.

ところで、S1410での判定が否定された場合、S1408で表示方向指定情報を更新した画像ファイルには、以前にコンピュータ300へ送信した履歴が無い、ということを意味する。そのため、CPU110FはS1412からS1420までの処理をスキップする。そしてS1422において、更新後の表示方向指定情報が含まれる画像情報と画像データ部とを有する画像ファイルをオリジナルのファイル名で記憶媒体112Fに上書き記憶する。   If the determination in S1410 is negative, it means that the image file whose display direction designation information has been updated in S1408 does not have a history transmitted to the computer 300 previously. Therefore, the CPU 110F skips the processing from S1412 to S1420. In step S1422, the image file including the image information including the updated display direction designation information and the image data portion is overwritten and stored in the storage medium 112F with the original file name.

第4の実施の形態は、例えばスタジオ撮影などのような状況で、デジタルカメラ100Fで撮影して生成された画像ファイルをファイルサーバとしてのコンピュータ300に順次送信するようなものと考えることができる。すなわち、画像データをコンピュータ300に送信した後、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイル中の画像データの容量を減ずることにより、ユーザは記憶媒体112Fの残り容量を気にすることなく撮影を続けることが可能となる。一方、どのような画像であるかを確認するのには十分な程度の画像を記憶媒体112Fに残しておくことにより、今までに撮影してえられた画像を迅速に確認することが可能となる。   The fourth embodiment can be considered to sequentially transmit image files generated by shooting with the digital camera 100F to a computer 300 as a file server in a situation such as studio shooting. That is, after transmitting the image data to the computer 300, the user does not care about the remaining capacity of the storage medium 112F by reducing the capacity of the image data in the image file stored in the storage medium 112F of the digital camera 100F. Shooting can be continued. On the other hand, it is possible to quickly confirm the images obtained so far by leaving a sufficient amount of images in the storage medium 112F for confirming what kind of image it is. Become.

このとき、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイルがコンピュータ300に送信され、記憶媒体312に記憶する際にファイル名の重複を生じることが無く、大事なファイルを誤って消去してしまうような不具合を抑制可能である。また、コンピュータ300からデジタルカメラ100Fにはコンピュータ300の側で記憶される際に画像ファイルに付与されたファイル名を含むファイル保存情報が送信されるので、デジタルカメラ100Fのユーザはコンピュータ300内で目的とする画像ファイルを容易に見つけ出すことが可能となる。   At this time, the image file stored in the storage medium 112F of the digital camera 100F is transmitted to the computer 300, and there is no duplication of the file name when the image file is stored in the storage medium 312. Can be suppressed. In addition, since the file storage information including the file name given to the image file when it is stored on the computer 300 side is transmitted from the computer 300 to the digital camera 100F, the user of the digital camera 100F uses the target in the computer 300. It is possible to easily find the image file.

さらに、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイルに含まれる画像情報中には、転送先ファイル保存情報、表示方向指定情報、ファイル転送済みフラグなどを含むことができる。このため、ユーザがコンピュータ300の記憶媒体312に記憶される画像ファイルのファイル名を意識することなく、デジタルカメラ100Fの記憶媒体112F内に記憶される画像ファイルの表示方向を変更するような処理をした際に、それに連動してコンピュータ300の記憶媒体312内の対応する画像ファイル中の画像情報を容易に更新することが可能となる。   Further, the image information included in the image file stored in the storage medium 112F of the digital camera 100F can include transfer destination file storage information, display direction designation information, a file transfer completed flag, and the like. Therefore, a process for changing the display direction of the image file stored in the storage medium 112F of the digital camera 100F without the user being aware of the file name of the image file stored in the storage medium 312 of the computer 300. When this happens, the image information in the corresponding image file in the storage medium 312 of the computer 300 can be easily updated in conjunction therewith.

以上、第1から第4の実施の形態では、電子装置がデジタルカメラで、相手電子装置または外部装置がデジタルカメラまたはコンピュータである例について説明したが、本発明は様々な電子装置の組み合わせに適用することが可能である。デジタルカメラはスチルカメラであってもムービーカメラであってもよい。本発明はまた、デジタルカメラだけではなく、音声をデジタルデータとして記録するボイスレコーダや、各種の測定データを収集可能なデータロガ等に適用することも可能である。   As described above, in the first to fourth embodiments, the electronic device is a digital camera and the counterpart electronic device or the external device is a digital camera or a computer. However, the present invention is applied to various combinations of electronic devices. Is possible. The digital camera may be a still camera or a movie camera. The present invention can be applied not only to a digital camera but also to a voice recorder that records voice as digital data, a data logger that can collect various measurement data, and the like.

本発明は、電子式のスチルカメラ、ムービーカメラ、ボイスレコーダ、データロガ、携帯電話等、画像データや音声データを含む様々なデータを記録可能な機器およびそれらの機器に接続可能なコンピュータや、単体で作動可能な可搬式ストレージ装置などの情報機器に適用することが可能である。   The present invention is an electronic still camera, movie camera, voice recorder, data logger, mobile phone, etc., a device capable of recording various data including image data and audio data, a computer that can be connected to these devices, and a single unit. The present invention can be applied to information equipment such as an operable portable storage device.

デジタルカメラの内部構成を概略的に示すブロック図である。It is a block diagram which shows the internal structure of a digital camera schematically. デジタルカメラとコンピュータとが情報の授受をすることを可能に接続される様子を概念的に示す図である。It is a figure which shows notionally a mode that a digital camera and a computer are connected so that transmission / reception of information is possible. デジタルカメラおよびコンピュータで実行される画像ファイル授受の処理手順を概略的に説明するフローチャートである。It is a flowchart which illustrates roughly the process sequence of image file transmission / reception performed with a digital camera and a computer. 画像ファイルの転送処理完了時、デジタルカメラの表示部に表示されるメッセージの例を示す図である。FIG. 6 is a diagram illustrating an example of a message displayed on a display unit of a digital camera when an image file transfer process is completed. 画像ファイルの内部構成を例示するブロック図である。It is a block diagram which illustrates the internal structure of an image file. 2台のデジタルカメラが情報の授受を行うことを可能に接続される様子を概念的に示す図である。It is a figure which shows notionally a mode that two digital cameras are connected so that transmission / reception of information is possible. 互いに接続される2台のデジタルカメラの内部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the internal structure of the two digital cameras connected mutually. 2台のデジタルカメラで実行される、撮像および画像ファイル授受の処理手順を概略的に説明するフローチャートである。It is a flowchart which illustrates roughly the process sequence of an imaging and image file transfer performed with two digital cameras. 図7Aに示されるフローチャートに続くフローチャートである。It is a flowchart following the flowchart shown in FIG. 7A. 2台のデジタルカメラで実行されるファイル名生成の手順を概略的に説明するフローチャートであり、2台のデジタルカメラでほぼ同時にファイルが生成されるような状況においてもファイル名の重複が生じることの無いようにするための処理手順を示すものである。FIG. 5 is a flowchart schematically illustrating a procedure for generating a file name executed by two digital cameras, and duplication of file names occurs even in a situation where files are generated almost simultaneously by two digital cameras. The processing procedure for making it not exist is shown. 3台のデジタルカメラが情報の授受を行うことを可能に接続される様子を概念的に示す図である。It is a figure which shows notionally a mode that three digital cameras are connected so that transmission / reception of information is possible. 互いに接続される3台のデジタルカメラの内部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the internal structure of the three digital cameras connected mutually. 3台のデジタルカメラで実行される、撮像、画像ファイル転送、画像ファイル記憶、画像ファイルの表示等の処理手順を概略的に示すフローチャートである。4 is a flowchart schematically showing processing procedures such as imaging, image file transfer, image file storage, and image file display, which are executed by three digital cameras. 図10Aに示すフローチャートに続くフローチャートである。It is a flowchart following the flowchart shown in FIG. 10A. デジタルカメラとコンピュータとが情報の授受をすることを可能に接続される様子を概念的に示す図である。It is a figure which shows notionally a mode that a digital camera and a computer are connected so that transmission / reception of information is possible. 互いに接続されるデジタルカメラおよびコンピュータの内部構成を概略的に示すブロック図である。It is a block diagram which shows roughly the internal structure of the digital camera and computer which are mutually connected. デジタルカメラおよびコンピュータで実行される画像ファイル授受および画像データ縮小の処理手順を概略的に説明するフローチャートである。It is a flowchart which illustrates roughly the process sequence of image file transfer and image data reduction which are performed with a digital camera and a computer. 図12のフローチャートに示す処理手順が実行されることにより生成される画像ファイルの内部構成を概略的に示すブロック図である。FIG. 13 is a block diagram schematically showing an internal configuration of an image file generated by executing the processing procedure shown in the flowchart of FIG. 12. デジタルカメラで画像表示方向回転処理の処理をするのに応じてコンピュータ内の画像ファイル中の表示方向指定情報を書き換える際の処理手順を概略的に示すフローチャートである。It is a flowchart which shows roughly the process sequence at the time of rewriting the display direction designation | designated information in the image file in a computer according to processing of an image display direction rotation process with a digital camera. 図14のフローチャートに示す処理手順が実行されることにより生成される画像ファイルの内部構成を概略的に示すブロック図である。FIG. 15 is a block diagram schematically showing an internal configuration of an image file generated by executing the processing procedure shown in the flowchart of FIG. 14.

符号の説明Explanation of symbols

100、100A、100B、100C、100D、100E、100F … デジタルカメラ
106、106A、106B、106C、106D、106E、106F、306 … 表示部
108、108A、108B、108C、108D、108E、108F … 操作部
110、110A、110B、110C、110D、110E、110F … CPU
112、112A、112B、112C、112D、112E、112F … 記憶媒体
118、118A、118B、118C、118D、118E、118F、318 … 通信部
200、300 … コンピュータ
500、500A、1300、1300A、1300B、1300C、1300D … 画像ファイル
502、1302、1302A … 画像データ部
504、504A、1304、1304A、1304B、1304C … 画像情報
1306、1306A … 表示方向指定情報
1310 … ファイル転送済みフラグ
100, 100A, 100B, 100C, 100D, 100E, 100F ... Digital camera 106, 106A, 106B, 106C, 106D, 106E, 106F, 306 ... Display unit 108, 108A, 108B, 108C, 108D, 108E, 108F ... Operation unit 110, 110A, 110B, 110C, 110D, 110E, 110F ... CPU
112, 112A, 112B, 112C, 112D, 112E, 112F ... Storage medium 118, 118A, 118B, 118C, 118D, 118E, 118F, 318 ... Communication unit 200, 300 ... Computer 500, 500A, 1300, 1300A, 1300B, 1300C 1300D ... Image files 502, 1302, 1302A ... Image data parts 504, 504A, 1304, 1304A, 1304B, 1304C ... Image information 1306, 1306A ... Display direction designation information 1310 ... File transfer completed flag

Claims (14)

データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な情報記憶装置を有する電子装置であって、
前記情報記憶装置に記憶されている1または複数の前記情報ファイルのうち、外部装置に送信する対象の情報ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する情報ファイルを前記外部装置に送信する送信部と、
前記所定のファイル名を有する情報ファイルが前記外部装置で記憶される際に付与されたファイル名に関連する情報である転送先ファイル名情報を含むファイル保存情報を前記外部装置から受信するファイル保存情報受信部と、
前記所定のファイル名を有する情報ファイルの内部に含まれる前記付帯情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する、転送先ファイル保存情報付加処理部と
を有することを特徴とする電子装置。
An electronic device having an information storage device capable of storing an information file including therein a data portion and incidental information related to the data portion,
A transmission file selection unit that selects an information file to be transmitted to an external device from one or more of the information files stored in the information storage device;
A transmission unit that transmits the information file having a predetermined file name selected by the transmission file selection unit to the external device;
File storage information for receiving, from the external device, file storage information including transfer destination file name information, which is information related to the file name assigned when the information file having the predetermined file name is stored in the external device A receiver,
A transfer destination file storage information addition processing unit for adding information based on the file storage information as transfer destination file storage information to the incidental information included in the information file having the predetermined file name. An electronic device.
前記ファイル保存情報は、前記転送先ファイル名情報に加えて、前記所定のファイル名を有する情報ファイルが前記外部装置で記憶される際の記憶位置を特定する保存先ディレクトリ情報をさらに含むことを特徴とする請求項1に記載の電子装置。   In addition to the transfer destination file name information, the file storage information further includes storage destination directory information for specifying a storage location when the information file having the predetermined file name is stored in the external device. The electronic device according to claim 1. 前記外部装置に予め送信されて保管されている前記情報ファイルを、前記電子装置の側から前記外部装置を遠隔操作して処理させるための処理コマンドを生成するコマンド生成部と、
前記処理コマンドに基づいて前記遠隔操作により前記外部装置内で処理される対象の情報ファイルである処理対象ファイルを選択する際に、前記情報記憶装置に記憶されている情報ファイルの中から、前記処理対象ファイルに対応する情報ファイルを指定することにより前記選択を可能とする処理対象情報ファイル選択部と、
前記処理対象ファイル選択部で選択された前記処理対象ファイルを指定する処理対象ファイル指定情報と前記処理コマンドに関連する情報とを前記外部装置に送信するコマンド送信部とを有し、
前記コマンド送信部は、前記情報記憶装置内に記憶される情報ファイルのうち、前記処理対象ファイルに対応する情報ファイルの内部に含まれる前記付帯情報に付加されている前記転送先ファイル保存情報から前記ファイル保存情報を抽出し、当該のファイル保存情報に基づいて前記処理対象ファイル指定情報を生成し、前記処理コマンドに関連する情報とともに前記外部装置に送信することが可能なように構成されることを特徴とする請求項1または2に記載の電子装置。
A command generation unit for generating a processing command for processing the information file that has been transmitted and stored in advance to the external device by remotely operating the external device from the electronic device side;
When selecting a processing target file that is a target information file to be processed in the external device by the remote operation based on the processing command, the processing is performed from among the information files stored in the information storage device. A processing target information file selection unit that enables the selection by designating an information file corresponding to the target file;
A command transmission unit that transmits processing target file designation information that specifies the processing target file selected by the processing target file selection unit and information related to the processing command to the external device;
The command transmission unit includes the transfer destination file storage information added to the auxiliary information included in the information file corresponding to the processing target file among the information files stored in the information storage device. It is configured to be able to extract file storage information, generate the processing target file designation information based on the file storage information, and send it to the external device together with information related to the processing command. The electronic device according to claim 1, wherein the electronic device is characterized in that:
被写体を撮像して画像データを生成する撮像部をさらに有し、
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報である
ことを特徴とする請求項1から3のいずれか一つに記載の電子装置。
An image capturing unit that captures an image of the subject and generates image data;
The information file is an image file in which the image data is accommodated in the data portion,
The supplementary information included in the information file is image information including at least an imaging condition when the imaging unit captures the subject and generates the image data. The electronic device according to any one of the above.
データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な第1の情報記憶装置を有する相手電子装置から送信される前記情報ファイルを受信可能に構成される電子装置であって、
前記相手電子装置から送信される前記情報ファイルを受信する情報ファイル受信部と、
前記情報ファイル受信部で受信した前記情報ファイルを前記電子装置の側で記憶するための、第2の情報記憶装置と、
前記情報ファイル受信部で受信した前記情報ファイルである受信情報ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の情報ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信情報ファイルに元来付与されていたファイル名を前記受信情報ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信情報ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信情報ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記情報ファイルを送信した前記相手電子装置に、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信する、ファイル保存情報送信部と
を有することを特徴とする電子装置。
An electronic device configured to be capable of receiving the information file transmitted from a counterpart electronic device having a first information storage device capable of storing an information file including a data portion and incidental information related to the data portion. A device,
An information file receiving unit for receiving the information file transmitted from the counterpart electronic device;
A second information storage device for storing the information file received by the information file receiver on the electronic device side;
Whether the file name of the received information file, which is the information file received by the information file receiver, is the same as the file name assigned to another information file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name originally given to the reception information file is determined as a file name to be given to the reception information file, and the duplication is determined. If it is determined that there is, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the reception information file;
A file storage processing unit for storing the received information file in the second information storage device by giving the file name determined by the file name determination unit;
An electronic apparatus comprising: a file storage information transmission unit configured to transmit file storage information including the file name determined by the file name determination unit to the partner electronic device that has transmitted the information file.
前記電子装置は、
前記相手電子装置として第1の相手電子装置および少なくとも第2の相手電子装置を含む複数の相手電子装置と交信可能に構成され、
前記複数の相手電子装置を個々に特定可能な情報である交信相手特定情報を記憶する交信相手特定情報記憶部をさらに有し、
前記ファイル保存情報送信部は、前記交信相手特定情報記憶部に記憶される前記交信相手特定情報で特定される前記複数の相手電子装置のそれぞれに対して、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信するように構成されることを特徴とする請求項5に記載の電子装置。
The electronic device is
The partner electronic device is configured to be capable of communicating with a plurality of partner electronic devices including a first partner electronic device and at least a second partner electronic device,
A communication partner specifying information storage unit for storing communication partner specifying information which is information capable of individually specifying the plurality of partner electronic devices;
The file storage information transmission unit is a file determined by the file name determination unit for each of the plurality of partner electronic devices specified by the communication partner specifying information stored in the communication partner specifying information storage unit. 6. The electronic device of claim 5, wherein the electronic device is configured to transmit file storage information including a name.
被写体を撮像して画像データを生成する撮像部をさらに有し、
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報であり、
前記第2の情報記憶装置は、前記撮像部で生成された前記画像データが前記データ部に収容される前記画像ファイルを記憶可能に構成されるとともに、前記情報ファイル受信部で受信した情報ファイルも記憶可能に構成される
ことを特徴とする請求項5または6に記載の電子装置。
An image capturing unit that captures an image of the subject and generates image data;
The information file is an image file in which the image data is accommodated in the data portion,
The supplementary information included in the information file is image information including at least an imaging condition when the subject is imaged by the imaging unit to generate the image data.
The second information storage device is configured to be capable of storing the image file in which the image data generated by the imaging unit is accommodated in the data unit, and an information file received by the information file receiving unit The electronic device according to claim 5, wherein the electronic device is configured to be memorable.
データ部と、前記データ部に関連する付帯情報とが内部に含まれる情報ファイルを記憶可能な第1の情報記憶装置を有する第1の電子装置と、前記情報ファイルを記憶可能な第2の情報記憶装置を有する第2の電子装置とを有し、前記第1の電子装置から送信される、前記第1の情報記憶装置に記憶される前記情報ファイルを、前記第2の電子装置が受信して前記第2の情報記憶装置に記憶可能な情報ファイル共有システムであって、
前記第1の電子装置は、
前記第1の情報記憶装置に記憶されている1または複数の前記情報ファイルのうち、前記第2の電子装置に送信する対象の情報ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する情報ファイルを前記第2の電子装置に送信する送信部と
を有し、
前記第2の電子装置は、
前記第1の電子装置から送信される前記情報ファイルを受信する情報ファイル受信部と、
前記情報ファイル受信部で受信した前記情報ファイルである受信情報ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の情報ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信情報ファイルに元来付与されていたファイル名である前記所定のファイル名を前記受信情報ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信情報ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信情報ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記第1の電子装置に、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信する、ファイル保存情報送信部とを有し、
前記第1の電子装置はさらに、
前記第2の電子装置から送信される前記ファイル保存情報を受信する、ファイル保存情報受信部と、
前記所定のファイル名を有する情報ファイルの内部に含まれる前記付帯情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する、転送先ファイル保存情報付加処理部と
を有することを特徴とする、情報ファイル共有システム。
A first electronic device having a first information storage device capable of storing an information file including therein a data portion and incidental information related to the data portion; and second information capable of storing the information file A second electronic device having a storage device, and the second electronic device receives the information file transmitted from the first electronic device and stored in the first information storage device. An information file sharing system that can be stored in the second information storage device,
The first electronic device includes:
A transmission file selection unit that selects an information file to be transmitted to the second electronic device from one or more of the information files stored in the first information storage device;
A transmission unit that transmits the information file having a predetermined file name selected by the transmission file selection unit to the second electronic device;
The second electronic device includes:
An information file receiving unit for receiving the information file transmitted from the first electronic device;
Whether the file name of the received information file, which is the information file received by the information file receiver, is the same as the file name assigned to another information file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name to be given to the reception information file is the predetermined file name that is the file name originally given to the reception information file And when it is determined that there is an overlap, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the reception information file;
A file storage processing unit for storing the received information file in the second information storage device by giving the file name determined by the file name determination unit;
A file storage information transmission unit that transmits file storage information including the file name determined by the file name determination unit to the first electronic device;
The first electronic device further includes
A file storage information receiving unit for receiving the file storage information transmitted from the second electronic device;
A transfer destination file storage information addition processing unit for adding information based on the file storage information as transfer destination file storage information to the incidental information included in the information file having the predetermined file name. Information file sharing system.
前記第1の電子装置がさらに、
前記第2の電子装置に予め送信されて保管されている前記情報ファイルを、前記第1の電子装置の側から前記第2の電子装置を遠隔操作して処理させるための処理コマンドを生成するコマンド生成部と、
前記処理コマンドに基づいて前記遠隔操作により前記第2の電子装置内で処理される対象の情報ファイルである処理対象ファイルを選択する際に、前記第1の情報記憶装置に記憶されている情報ファイルの中から、前記処理対象ファイルに対応する情報ファイルを指定することにより前記選択を可能とする処理対象情報ファイル選択部と、
前記処理対象ファイル選択部で選択された前記処理対象ファイルを指定する処理対象ファイル指定情報と前記処理コマンドに関連する情報とを前記第2の電子装置に送信するコマンド送信部とを有し、
前記コマンド送信部は、前記第1の情報記憶装置内に記憶される情報ファイルのうち、前記処理対象ファイルに対応する情報ファイルの内部に含まれる前記付帯情報に付加されている前記転送先ファイル保存情報から前記ファイル保存情報を抽出し、当該のファイル保存情報に基づいて前記処理対象ファイル指定情報を生成し、前記処理コマンドに関連する情報とともに前記第2の電子装置に送信するように構成されることを特徴とする請求項8に記載の情報ファイル共有システム。
The first electronic device further includes
A command for generating a processing command for processing the information file previously transmitted and stored in the second electronic device by remotely operating the second electronic device from the first electronic device side A generator,
An information file stored in the first information storage device when selecting a processing target file that is a target information file to be processed in the second electronic device by the remote operation based on the processing command A processing target information file selection unit that enables the selection by designating an information file corresponding to the processing target file,
A command transmission unit configured to transmit processing target file designation information for designating the processing target file selected by the processing target file selection unit and information related to the processing command to the second electronic device;
The command transmission unit stores the transfer destination file added to the supplementary information included in the information file corresponding to the processing target file among the information files stored in the first information storage device. The file storage information is extracted from the information, the processing target file designation information is generated based on the file storage information, and transmitted to the second electronic device together with information related to the processing command The information file sharing system according to claim 8.
前記第1および第2の電子装置と交信可能な少なくとも第3の電子装置をさらに有し、
前記第2の電子装置はさらに、前記第1の電子装置および前記少なくとも第3の電子装置を個々に特定可能な情報である交信相手特定情報を記憶する交信相手特定情報記憶部をさらに有し、
前記ファイル保存情報送信部は、前記交信相手特定情報記憶部に記憶される前記交信相手特定情報で特定される前記第1の電子装置および前記少なくとも第3の電子装置のそれぞれに対して、前記ファイル名決定部で決定されたファイル名を含むファイル保存情報を送信するように構成されることを特徴とする請求項8または9に記載の情報ファイル共有システム。
And at least a third electronic device capable of communicating with the first and second electronic devices,
The second electronic device further includes a communication partner specifying information storage unit that stores communication partner specifying information that is information capable of individually specifying the first electronic device and the at least third electronic device,
The file storage information transmitting unit is configured to store the file for each of the first electronic device and the at least third electronic device specified by the communication partner specifying information stored in the communication partner specifying information storage unit. 10. The information file sharing system according to claim 8, wherein the file storage information including the file name determined by the name determination unit is configured to be transmitted.
前記第1の電子装置が、被写体を撮像して画像データを生成する撮像部をさらに有し、
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報である
ことを特徴とする請求項8から10のいずれか一つに記載の情報ファイル共有システム。
The first electronic device further includes an imaging unit that images a subject and generates image data;
The information file is an image file in which the image data is accommodated in the data portion,
11. The supplementary information included in the information file is image information including at least an imaging condition when the imaging unit captures the subject and generates the image data. The information file sharing system according to any one of the above.
前記第1、第2、および少なくとも第3の電子装置がいずれも、被写体を撮像して画像データを生成する撮像部をさらに有し、
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報である
ことを特徴とする請求項10に記載の情報ファイル共有システム。
Each of the first, second, and at least third electronic devices further includes an imaging unit that images a subject and generates image data;
The information file is an image file in which the image data is accommodated in the data portion,
The supplementary information included in the information file is image information including at least an imaging condition when the imaging unit captures the subject and generates the image data. Information file sharing system.
被写体を撮像して画像データを生成する撮像部を有し、前記画像データが収容されるデータ部と、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報とが内部に含まれる画像ファイルを記憶可能な第1の情報記憶装置を有する第1の電子装置と、前記画像ファイルを記憶可能な第2の情報記憶装置を有する第2の電子装置とを含み、前記第1の電子装置から送信される、前記第1の情報記憶装置に記憶される前記画像ファイルを、前記第2の電子装置が受信して前記第2の情報記憶装置に記憶可能に構成される画像ファイル共有システムであって、
前記第1の電子装置は、
前記第1の情報記憶装置に記憶されている1または複数の前記画像ファイルのうち、前記第2の電子装置に送信する対象の画像ファイルを選択する送信ファイル選択部と、
前記送信ファイル選択部で選択された、所定のファイル名を有する画像ファイルを前記第2の電子装置に送信する送信部と
を有し、
前記第2の電子装置は、
前記第1の電子装置から送信される前記画像ファイルを受信する画像ファイル受信部と、
前記画像ファイル受信部で受信した前記画像ファイルである受信画像ファイルのファイル名が、前記第2の情報記憶装置に既に記憶されている他の画像ファイルに付されているファイル名と重複が無いかを判定するファイル名重複判定部と、
前記ファイル名重複判定部で、前記重複が無いと判定された場合には前記受信画像ファイルに元来付与されていたファイル名である前記所定のファイル名を前記受信画像ファイルに付与すべきファイル名として決定し、前記重複があると判定された場合には、予め定められた命名規則に従って生成される別ファイル名を前記受信画像ファイルに付与すべきファイル名として決定する、ファイル名決定部と、
前記ファイル名決定部で決定されたファイル名を付与して前記受信画像ファイルを前記第2の情報記憶装置に記憶するファイル記憶処理部と、
前記第1の電子装置に、前記ファイル名決定部で決定されたファイル名を含む、ファイル保存情報を送信する、ファイル保存情報送信部とを有し、
前記第1の電子装置はさらに、
前記第2の電子装置から送信される前記ファイル保存情報を受信する、ファイル保存情報受信部と、
前記第1の情報記憶装置に記憶されている前記所定のファイル名を有する画像ファイルを読み出し、当該の画像ファイル中に含まれる画像データに対して画像データサイズを縮小し、縮小画像データを生成する処理をする画像データ縮小処理部と、
前記所定のファイル名を有する画像ファイルの内部に含まれる画像情報に、前記ファイル保存情報に基づく情報を転送先ファイル保存情報として付加する処理を行い、当該の処理をした画像情報と前記縮小画像データとが収容される画像ファイルを生成して、前記所定のファイル名で上書き保存処理をする上書き保存処理部と
を有することを特徴とする、画像ファイル共有システム。
An image capturing unit that captures an image of the subject and generates image data; and includes at least an image capturing condition for capturing the image of the subject by the image capturing unit and generating the image data. A first electronic device having a first information storage device capable of storing an image file containing image information therein; a second electronic device having a second information storage device capable of storing the image file; The image file stored in the first information storage device transmitted from the first electronic device can be received by the second electronic device and stored in the second information storage device An image file sharing system configured as follows:
The first electronic device includes:
A transmission file selection unit that selects a target image file to be transmitted to the second electronic device from one or more of the image files stored in the first information storage device;
A transmission unit that transmits an image file having a predetermined file name selected by the transmission file selection unit to the second electronic device;
The second electronic device includes:
An image file receiving unit for receiving the image file transmitted from the first electronic device;
Whether the file name of the received image file which is the image file received by the image file receiving unit is the same as the file name assigned to another image file already stored in the second information storage device A file name duplication judgment unit for judging
When the file name duplication determination unit determines that there is no duplication, the file name to be given to the received image file is the predetermined file name that is the file name originally given to the received image file And when it is determined that there is an overlap, a file name determination unit that determines another file name generated according to a predetermined naming rule as a file name to be given to the received image file;
A file storage processing unit for storing the received image file in the second information storage device by giving the file name determined by the file name determination unit;
A file storage information transmission unit that transmits file storage information including the file name determined by the file name determination unit to the first electronic device;
The first electronic device further includes
A file storage information receiving unit for receiving the file storage information transmitted from the second electronic device;
The image file having the predetermined file name stored in the first information storage device is read out, the image data size is reduced with respect to the image data included in the image file, and reduced image data is generated. An image data reduction processing unit for processing;
Performing a process of adding information based on the file storage information as transfer destination file storage information to the image information included in the image file having the predetermined file name, and the processed image information and the reduced image data An image file sharing system comprising: an overwriting storage processing unit that generates an image file in which the image file is stored and performs overwriting storage processing with the predetermined file name.
前記画像データ縮小処理部は、前記画像データに対して、ピクセルサイズを減ずるリサイズ処理、または画像圧縮率を高める処理を行うことを可能に構成されることを特徴とする請求項13に記載の画像ファイル共有システム。   The image according to claim 13, wherein the image data reduction processing unit is configured to be able to perform a resizing process for reducing a pixel size or a process for increasing an image compression rate on the image data. File sharing system.
JP2008026388A 2008-02-06 2008-02-06 Electronic device, information file sharing system, and image file sharing system Expired - Fee Related JP5165406B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008026388A JP5165406B2 (en) 2008-02-06 2008-02-06 Electronic device, information file sharing system, and image file sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008026388A JP5165406B2 (en) 2008-02-06 2008-02-06 Electronic device, information file sharing system, and image file sharing system

Publications (2)

Publication Number Publication Date
JP2009187273A JP2009187273A (en) 2009-08-20
JP5165406B2 true JP5165406B2 (en) 2013-03-21

Family

ID=41070445

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008026388A Expired - Fee Related JP5165406B2 (en) 2008-02-06 2008-02-06 Electronic device, information file sharing system, and image file sharing system

Country Status (1)

Country Link
JP (1) JP5165406B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5609304B2 (en) * 2010-06-21 2014-10-22 富士ゼロックス株式会社 Program and object management device
JP2013229817A (en) * 2012-04-26 2013-11-07 Canon Inc Image processing device, control method, and program
JP6036021B2 (en) * 2012-08-31 2016-11-30 カシオ計算機株式会社 File processing apparatus, file processing method, and program
JPWO2014122733A1 (en) * 2013-02-06 2017-01-26 株式会社日立製作所 Computer, data access management method and recording medium
JP6131647B2 (en) * 2013-03-15 2017-05-24 富士ゼロックス株式会社 Information processing apparatus, program, and file management system
JP5959680B2 (en) * 2015-03-24 2016-08-02 オリンパス株式会社 Recording device
JP6288210B2 (en) * 2016-10-25 2018-03-07 カシオ計算機株式会社 File processing apparatus and file processing method
CN112015702A (en) * 2020-09-15 2020-12-01 支付宝(杭州)信息技术有限公司 Message file name processing method, device and equipment
JP7828168B2 (en) * 2021-12-20 2026-03-11 キヤノン株式会社 File processing device, file processing method, and program
CN116156312B (en) * 2022-10-26 2025-12-19 维沃移动通信有限公司 File sharing method and device, electronic equipment and readable storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3372884B2 (en) * 1999-01-14 2003-02-04 エヌイーシーシステムテクノロジー株式会社 File transfer device and file transfer method
JP4613930B2 (en) * 2000-06-09 2011-01-19 セイコーエプソン株式会社 Creating an image specification file and playing an image using it
JP2003274327A (en) * 2002-03-15 2003-09-26 Konica Corp Data structure, image handling system, and program
JP2003333496A (en) * 2002-05-14 2003-11-21 Nikon Gijutsu Kobo:Kk Image management device and image management program
JP2003339004A (en) * 2002-05-21 2003-11-28 Canon Inc Information processing apparatus, information processing system, information processing method, storage medium, and program
JP2006011749A (en) * 2004-06-24 2006-01-12 Sony Corp Information processing apparatus, information processing method, and computer program
JP4713987B2 (en) * 2005-09-09 2011-06-29 オリンパスイメージング株式会社 Image data selection method and image data processing apparatus
JP2007300163A (en) * 2006-04-27 2007-11-15 Canon Inc Imaging apparatus, and image management system

Also Published As

Publication number Publication date
JP2009187273A (en) 2009-08-20

Similar Documents

Publication Publication Date Title
JP5165406B2 (en) Electronic device, information file sharing system, and image file sharing system
JP4462331B2 (en) Imaging apparatus, control method, program
JP7508529B2 (en) Smartphone, smartphone control method, program
CN100515035C (en) Digital camera system, image storage apparatus, and digital camera
US20080244093A1 (en) Data transfer apparatus and data receiving apparatus, and data transfer system
KR20080113698A (en) System for inputting location information into image and its operation method
JP5287258B2 (en) Imaging apparatus and image recording / reproducing method
JP2004159293A (en) Imaging recording apparatus, image processing apparatus, imaging recording control program and image processing program, imaging recording method, and image processing method
JP2008092543A (en) Recording apparatus, control method thereof, and program
JP2010081427A (en) Imaging apparatus and program
WO2021065406A1 (en) Imaging apparatus, information processing method, and program
JP3886109B2 (en) Portable terminal, data display method, data display program, and storage medium
JP2009020876A (en) File management apparatus, file transfer method, and imaging apparatus
WO2012169636A1 (en) Information terminal, information terminal control method, control program, and recording medium
JP2010045620A (en) Information processor and camera
US12143707B2 (en) Imaging apparatus and information processing method
JP4617036B2 (en) Image reproducing apparatus, image reproducing method, program, and recording medium
JP2005175957A (en) Image management apparatus, digital camera, and image management method
JP2006053863A (en) Image transmitting apparatus, imaging apparatus, image receiving apparatus, image transmitting method, and program
JP2023009680A (en) Communication apparatus, control method, and program
JP2003259281A (en) Digital camera and digital image file creation device
JP4324177B2 (en) Imaging apparatus, data transmission method, data transmission program, and storage medium
JP4900894B2 (en) Image processing apparatus, image processing program, and image processing method
JP2003274349A (en) Digital camera and image playback device
JP4742061B2 (en) Photographed image display device, photographed image display program, and recording medium recorded with photographed image display program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121219

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

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5165406

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees