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 PDFInfo
- 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
Links
- 238000012545 processing Methods 0.000 claims description 150
- 238000000034 method Methods 0.000 claims description 111
- 230000008569 process Effects 0.000 claims description 79
- 238000012546 transfer Methods 0.000 claims description 60
- 230000005540 biological transmission Effects 0.000 claims description 50
- 238000003384 imaging method Methods 0.000 claims description 45
- 230000006854 communication Effects 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 25
- 230000009467 reduction Effects 0.000 claims description 7
- 230000006835 compression Effects 0.000 claims description 4
- 238000007906 compression Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 15
- 230000000875 corresponding effect Effects 0.000 description 11
- 230000006870 function Effects 0.000 description 4
- 230000007175 bidirectional communication Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000002265 prevention Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 208000019901 Anxiety disease Diseases 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000036506 anxiety Effects 0.000 description 1
- 230000000386 athletic effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005375 photometry Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
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
特許文献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に開示されるものでは、撮像装置で生成されたファイルを画像保存サーバに転送して保存する際にファイル名が画像保存サーバで決定される。すなわち、撮像操作に先だって撮像装置と画像保存サーバとが接続され、撮像装置内の記憶装置の空き容量が検知される。そして、検知された空き容量に応じて、以後の撮像操作によって生成される画像ファイルに付与すべきファイル名が画像保存サーバによって決定され、そのファイル名が撮像装置に通知される。撮像装置は、撮像操作によって生成される画像ファイルに対して、上述のように通知されたファイル名を付与する。
特許文献1に開示されるものでは、名前が重複するファイルの有無をファイル伝送先の装置と通信して事前に確認する必要があり、処理が煩雑なものとなり得る。また、ファイルの伝送元となる装置が複数存在し、それらが同時期に同一の処理を行おうとした場合には、ファイル名が重複してしまう可能性がある。
With what is disclosed in
特許文献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
デジタルカメラ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
デジタルカメラ100は、図1に示されるように、撮像部102と、画像処理部104と、表示部106と、操作部108と、CPU110と、記憶媒体112と、RAM114と、ROM116と、通信部118とを有し、これらの要素がバス120を介して接続されている。
As shown in FIG. 1, the
撮像部102は、撮影レンズ、ズーム駆動部、自動焦点調節部、絞り部、シャッタ、赤外カットフィルタ、光学的ローパスフィルタ(OLPF)、撮像素子、信号処理部(いずれも不図示)等を有する。撮影レンズによって形成された被写体像が撮像素子で光電変換されてアナログの画像信号が生成される。その画像信号は信号処理部でCDS(相関二重サンプリング)、AGC(自動ゲインコントロール)、A/D変換等の処理が行われ、デジタル化された画像信号がバス120を介してRAM114に転送されて一時的に記憶される。RAM114は、メモリアクセス速度に優れるSDRAM等で構成することが望ましい。画像処理部104は、ASIC(特定用途向け集積回路)等で構成され、上述したようにRAM114に一時的に記憶された画像信号に、デモザイク処理、階調補正処理、カラーバランス調整、アンシャープマスク処理、JPEG圧縮処理等を行い、画像データを生成する。表示部106は、TFT液晶表示素子または有機EL表示素子と、表示素子に画像を表示するためのドライバ等を有する。この表示部106によって、デジタルカメラ100が撮影モードに設定されているときにはスルー画表示処理が行われ、再生モードに設定されているときには再生画像の表示処理が行われる。
The
操作部108は、電源スイッチ、動作モード切り替えスイッチ、ズームスイッチ、プッシュスイッチや、十字型のスイッチ等で構成される選択スイッチ、レリーズスイッチ等の操作部材130(図2参照)を有し、これらの操作部材130のいずれかをユーザが操作したのを検出可能に構成される。CPU110は、ユーザが操作部材130を操作したのに応じてデジタルカメラ100の動作モードを切り替える。例えば、撮影モードにおいてCPU110は、焦点調節、測光、露光量調節、フラッシュ発光量調節等の制御を行う。再生モードにおいてCPU110は、表示部106に表示される画像の切り替え、縮小/拡大表示切り替え等の制御を行う。また、画像ファイル転送モードにおいてCPU110は、外部装置としてのコンピュータ200へ転送するべき画像ファイルをユーザが選択するのを受け付け、選択された画像ファイルをコンピュータ200に送信する際の制御を行う。
The
記憶媒体112は、デジタルカメラ100に対して装脱可能に構成されるカード型の読み書き可能なメモリであっても、あるいはデジタルカメラ100に内蔵される読み書き可能な記憶装置であってもよい。記憶媒体112は、ハードディスクドライブやフラッシュメモリ等、不揮発性の記憶装置で構成することが可能である。
The
ROM116は、CPU110で実行されるプログラムや各種の制御パラメータ等が記憶される不揮発性のメモリである。通信部118は、外部装置(本実施の形態においてはコンピュータ200)と双方向の通信を行うためのものである。外部装置との通信に際しては、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース(登録商標)、IrDA等の規格を用いるものであってもよい。無論、独自の規格による通信方式を用いるものであってもよい。
The
図3には、デジタルカメラ100が上述した画像ファイル転送モードに設定され、デジタルカメラ100とコンピュータ200との間で画像ファイルの転送等の処理が行われる際の、CPU110およびコンピュータ200による処理手順が示されている。図3において、左側にはデジタルカメラ100が画像ファイル転送モードに設定されたときにCPU110で実行されるS300からS316までの処理手順が示される。また、図3の右側には、コンピュータ200で実行されるS350からS358までの処理手順が示される。
FIG. 3 shows a processing procedure performed by the
S300においてCPU110は、ユーザによる画像ファイル選択操作受付の処理を行う。具体的には、表示部106に表示されるインデックス画像等を見ながらユーザが操作部材130を操作するのを検知する。そして、ユーザがコンピュータ200への送信を希望している画像ファイルを特定する。S300における画像ファイル選択操作受付処理において、一つの画像ファイルのみをユーザが選択可能に構成されていても、複数の画像ファイルをユーザが選択可能に構成されていてもよい。
In S300, the
S302においてCPU110は、選択された画像ファイルのデータを記憶媒体112からRAM114上に読み出す。RAM114上に読み出される画像ファイルのデータは、図5の上側に示されるように、画像データ部502と画像情報504とを含む。
In S <b> 302, the
S304においてCPU110は、コンピュータ200との接続処理を行い、デジタルカメラ100とコンピュータ200との間の双方向通信の開始を可能とする。続くS306においてCPU110は、RAM114上の画像ファイル500をコンピュータ200に向けて転送する処理を行う。
In S <b> 304, the
CPU110によるS306での処理に応答し、コンピュータ200はS350において、デジタルカメラ100から送信される画像ファイル500を受信する。このときコンピュータ200は、デジタルカメラ100の記憶媒体112内で記憶されていたときに画像ファイル500に付与されていたファイル名(以下、これを「オリジナルファイル名」と称する)に関連する情報もデジタルカメラ100から受信する。
In response to the processing at S306 by the
S352においてコンピュータ200は、受信した画像ファイル(以下、コンピュータ200がデジタルカメラ100から受信した画像ファイルを「受信画像ファイル」と称する。)を記憶しようとしているディレクトリ内に、受信画像ファイルのオリジナルファイル名と同じファイル名のファイルが無いか、検索処理を行う。
In step S <b> 352, the
S352での検索処理結果に基づき、コンピュータ200はS354において、ファイル名決定処理を行う。すなわち、S352での検索処理結果に基づき、受信画像ファイルのオリジナルファイル名と重複するファイル名を有するファイルが無いと判定された場合には、受信画像ファイルに元来付与されていたオリジナルファイル名が、コンピュータ200内に受信画像ファイルを記憶する際のファイル名として決定される。一方、受信画像ファイルのオリジナルファイル名と重複するファイル名のファイルが有ると判定された場合には、予め定められた命名規則に従って生成されるファイル名が、コンピュータ200内に受信画像ファイルを記憶する際のファイル名として決定される。
Based on the search processing result in S352, the
S356でコンピュータ200は、S354で上述のように決定されたファイル名に関連する情報を含むファイル保存情報を、デジタルカメラ100に送信する。続くS358においてコンピュータ200は、S354で決定されたファイル名でもって受信画像ファイル(図5の画像ファイル500に相当するもの)をハードディスクやフラッシュメモリ等で構成される記憶装置(記憶媒体)に記憶する。この記憶装置は、コンピュータ200に内蔵されるか外付けされるハードディスクドライブであってもよいし、シリコンディスクあるいはソリッドステートディスクと称される半導体記憶装置、あるいはUSBメモリ等であってもよい。
In S356, the
コンピュータ200による上述したS356の処理を受け、CPU110はS308においてファイル保存情報受信処理を行う。すなわちCPU110は、コンピュータ200の処理ステップS356においてコンピュータ200から送信されるファイル保存情報を受信する。
In response to the process of S356 described above by the
S310においてCPU110は、S308でコンピュータ200から受信したファイル保存情報に基づき、タグ情報更新処理を行う。すなわち、CPU110は、受信したファイル保存情報をもとに、S354でコンピュータ200により決定されたファイル名が、元来付与されていたオリジナルファイル名と異なるものであると判断した場合には、このファイル保存情報に基づく情報を転送先ファイル保存情報として画像情報504に付加する処理を行う。一方、S354でコンピュータ200により決定されたファイル名が、元来付与されていたオリジナルファイル名のままであると判定された場合には、画像情報504に変更を加えない。これに代えて、転送先ファイル保存情報として、上記ファイル名の変更の有無にかかわらず、コンピュータ200で受信画像ファイルを記憶する際に付与されたファイル名を特定可能な情報を転送先ファイル保存情報として画像情報504に付加する処理をしてもよい。S310におけるCPU110の上述した処理を経て、図5に示されるように、画像情報504中に転送先ファイル保存情報506が付加されて新たな画像情報504Aが生成される。
In S310, the
S312においてCPU110は、コンピュータ200との接続状態を切断する処理を行う。
In S <b> 312, the
S314においてCPU110は、画像データ部502と新たな画像情報504Aとを含む画像ファイル500Aをオリジナルファイル名のままで記憶媒体112に記憶する処理を行う。この処理によって、上述した転送先ファイル保存情報506が付加された新たな画像情報504Aを含む画像ファイル500Aが上書きして記憶される。なお、画像情報504、504A中には使用目的が限定されていない情報記憶エリアがあるので、その情報記憶エリア中に転送先ファイル保存情報506を付加することが望ましい。そのようにすることにより、ファイル構造をJEIDAのDCF規格に準拠した状態を維持することが可能となり、当該の画像ファイルを他の情報機器で読み込むことが可能となる。
In S314, the
S316においてCPU110は、表示部106に、ユーザが選択した画像ファイルをコンピュータ200(外部装置)に記憶する処理を終えたことをユーザに知らせるメッセージを表示する。その表示例を図4に示す。図4に示される例では、デジタルカメラ100からコンピュータ200に転送されたオリジナルファイル名P1010001.JPGを有する画像ファイルは、コンピュータ200の補助記憶装置内における保存先ディレクトリ(FTPROOT/DCIM/100ABCDE)中にP1010058.JPGとして保存された旨表示される。すなわち、図4に示される例では、コンピュータ200の補助記憶装置内の保存先ディレクトリ中にオリジナルファイル名と重複する名の画像ファイルが存在していたため、所定の命名方法に従ってP1010058.JPGというファイル名が付与され、保存されたことを示している。
In S316, the
以上に説明した転送先ファイル保存情報に関して、転送先ファイル名に関連する情報のみを含んでいてもよいが、上述した保存先ディレクトリに関連する情報も含むことが望ましい。理由は、デジタルカメラ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
また、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 (
第1カメラ100Aと第2カメラ100Bとの通信に際しては、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。無論、独自の規格による通信方式を用いるものであってもよい。
For communication between the
図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
図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
同様に、第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
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
CPU110AはS710において、ユーザによって選択された被写体Aの画像ファイルを第2カメラ100Bに送信する。このとき、第2カメラ100Bでは、CPU110BによってS758の処理が実行され、第1カメラ100Aから送信された被写体Aの画像ファイルが受信される。S712においてCPU110Aは第2カメラ100Bとの通信を終えるために切断処理を行う。
In S710, the
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
CPU110BはS762において、ユーザによって選択された被写体Bの画像ファイルを第1カメラ100Aに送信する。このとき、第1カメラ100Aでは、CPU110AによってS714の処理が実行され、第2カメラ100Bから送信された被写体Bの画像ファイルが受信される。S764においてCPU110Bは第1カメラ100Aとの通信を終えるために切断処理を行う。
In step S762, the
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
一方、CPU110Bは、上述したS716、S718、S720での処理と同様の処理をS766、S768、S770で行う。その結果、被写体Aの画像ファイルが記憶媒体112B内に記憶される。
On the other hand, the
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
上述のようにして第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
S778においてCPU110Bは、画像データ部と、上述にように更新された画像情報とを含む画像ファイルを記憶媒体112B内に上書きして記憶する処理を行う。続くS780でCPU110Bは、第1の実施の形態で図4を参照して説明したのと同様の表示を表示部106Bに行う。
In S778, the
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
以上では、撮像の処理、画像ファイル送受信および記憶の処理、タグ情報更新の処理等が第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
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
第2の実施の形態において、第1カメラ100A、第2カメラ100Bでは撮像操作が随時行われ、また画像ファイルの送受信もカメラユーザの希望に応じて随時行われる。また、画像ファイルの受信中にも撮像操作が行われる場合がある。その場合、二つのカメラ間でファイル名決定に際して調停を行わないと、意図しないファイル名の重複を生じ、大事な画像ファイルを上書きして消してしまう可能性がある。このようなことを防ぐために実行されるのが図8に示される処理である。
In the second embodiment, the
図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
このとき、インクリメントした結果が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
S802においてCPU110Aは、これから記憶しようとする画像ファイルに付与するファイル名中のファイル番号をインクリメントする。S804においてCPU110Aは、S802でインクリメント処理したファイル番号が9999を超して10000となったか否かを判定する。この判定が、否定される(ファイル番号は9999以下)とS808に分岐する一方、肯定される(ファイル番号は10000)とS806に進む。
In S802, the
CPU110AはS806において、ファイル番号を0001にリセットし、ディレクトリ番号をインクリメントする処理を行う。S808においてCPU110Aは、ファイル名生成の処理を行う。このとき、S806でディレクトリ番号がインクリメントされた場合には、インクリメントされたディレクトリ番号を含むディレクトリ名のディレクトリ(フォルダ)を生成する。
In step S806, the
S810においてCPU110Aはセマフォ開放の処理を行う。これにより、CPU110A、110Bのいずれもが、必要に応じて随時ファイル名生成の処理を行うことが可能となる。S812においてCPU110Aはさらに、上述のように生成されたファイル名に関連する情報を含むファイル保存情報をCPU110Bに送信する。
In S810, the
以上に説明した本発明の第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 (
図9Aでは、第1カメラ100C、第2カメラ100Dは同じ機種で、第3カメラ100Eのみ第1カメラ100C、第2カメラ100Dとは異なる機種となっている例を示している。これら3台のデジタルカメラのうちの二つが、残りの1台のデジタルカメラ(電子装置)にとっての相手デジタルカメラ(相手電子装置)の役を担う。この役割分担は、そのときの状況によって動的に変化可能に構成される。
FIG. 9A shows an example in which the
第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
以下では、三人のユーザがそれぞれデジタルカメラを有するものとする。そして、第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
第1カメラ100C、第2カメラ100D、第3カメラ100E間での通信に際しては、第1、第2の実施の形態で説明したのと同様、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。独自の規格による通信方式を用いるものであってもよい。以下では、3台のカメラの間で無線を用いて通信が行われるものとする。
When communicating between the
図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
最初に、第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
このとき、第1カメラ100C、第2カメラ100D、第3カメラ100Eの間では、各種の情報の伝達がなされて、グループを構成するカメラがどのような仕様のカメラであるかを知ることが可能に構成される。具体的には、画像ファイル等の情報ファイルの授受が可能か、可能である場合にファイル名の重複を確認し、重複がある場合にはファイル名を別のファイル名に変更する機能を有するか、といった情報を得ることができるように構成される。
At this time, various information is transmitted between the
上記に加え、各カメラ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
その後、第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
S1004でCPU110Cは、画像処理部104Cに対し、上記撮像によって得られた画像信号に画像処理を行うよう制御信号を発する。その結果、第1の実施の形態で図5を参照して説明した画像データ部および画像情報が生成される。これらの画像データ部および画像情報を含む画像ファイルは、S1006のファイル名生成処理で生成されたファイル名が付与され、S1008において記憶媒体112Cに記憶される。
In S1004, the CPU 110C issues a control signal to the
続いて、第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
第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
S1048においてCPU110Dは、第1カメラ100Cおよび第3カメラ100Eの双方にファイル保存情報を送信する。このファイル保存情報は、第1および第2の実施の形態で説明したのと同様に、第1カメラ100Cから送信された被写体Aの画像ファイルが記憶媒体112Dに記憶される際に付与されたファイル名に関連する情報を含んでいる。このファイル保存情報にはさらに、記憶媒体112D内で被写体Aの画像ファイルが記憶される際の保存先のディレクトリに関連する情報を含むことが望ましい。
In S1048, the
上述のようにして第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
一方、第3カメラ100EのCPU110Eは、上記のように第2カメラ100Dから送信されたファイル保存情報をS1070で受信する処理を行う。続くS1072でCPU110Eは、「第1カメラ100Cから第2カメラ100Dに画像ファイルが送信されて保存された」旨のメッセージを、記憶媒体112C、112Dに記憶する際に被写体Aの画像ファイルに付与されたファイル名とともに表示部106Eに表示する。
On the other hand, the
続いて、上述のようにして表示部106Eに表示に表示されたメッセージを見た第3カメラ100Eのユーザが、第2カメラ100Dに転送・記憶された被写体Aの画像を第3カメラ100Eの表示部106E上で閲覧する操作をしたものとして以下の説明をする。
Subsequently, the user of the
第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
第3カメラ100EのCPU110Eは、上述のように第2カメラ100Dから送信された画像ファイルを受信する処理をS1078で実行する処理を行う。そしてS1080でCPU110Eは、S1078で受信した画像ファイルに基づく画像を表示部106Eに表示する処理を行う。
The
このようにして、第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
以上では、第1カメラ100Cで撮像し、生成された画像ファイルを、第2カメラ100Dに送信して記憶し、続いて第2カメラ100Dから第3カメラ100Eに送信して第3カメラ100Eの表示部106Eで第3カメラ100Eのユーザが閲覧する例について説明した。本発明はこれに限定されるものではなく、グループを形成する複数のカメラ中、任意のカメラで撮影されて生成された画像ファイルは他のどのカメラにも送信して記憶することが可能で、他のどのカメラで閲覧可能に構成されていてもよい。
In the above, the image file captured and generated by the
− 第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
図11Bは、デジタルカメラ100Fおよびコンピュータ300の内部構成を概略的に示すブロック図である。デジタルカメラ100Fを構成する要素は、第1の実施の形態で図1を参照して説明したのと同様である。したがって、デジタルカメラ100Fを構成する各要素を参照する符号の末尾にはFを付してその説明を省略する。
FIG. 11B is a block diagram schematically showing an internal configuration of the
コンピュータ300の内部構成について説明する。コンピュータ300は、画像処理部304と、表示部306Bと、操作部308と、CPU310と、記憶媒体312と、RAM314と、ROM316と、通信部318とを有する。表示部308は、液晶表示パネル等で構成されて文字や画像等を表示可能に構成される。この表示部306は、コンピュータ300と一体に構成されていても、別体に構成されていてもよい。操作部308は、キーボードやマウス、タッチペン、トラックボール、そして各種のスイッチ等を含むことができる。記憶媒体312は、ハードディスクドライブやソリッドステートドライブ、あるいはメモリカード等を含むことができる。RAM314は、プログラムやデータ等を一時的に記憶するためのランダムアクセス可能な記憶装置であり、SD−RAM等で構成することが望ましい。
The internal configuration of the
ROM316は必要に応じて設けられる読み出し専用の記憶装置であり、BIOSやファームウェア等をストアすることができる。通信部318は、他の電子装置との間で情報の授受を可能とするもので、第1から第3の実施の形態で説明したのと同様、有線、無線いずれの形態を利用することも可能である。有線の場合には、IEEE1394やUSB等の規格を用いることが可能である。無線の場合には、IEEE802.11等の規格を用いることが可能である。あるいは、ブルートゥース、IrDA等の規格を用いるものであってもよい。独自の規格による通信方式を用いるものであってもよい。
The
CPU310は、ROM318、あるいは記憶媒体312からRAM314上に読み出されたプログラムを実行する。画像処理部304は、デジタルカメラ100Fから受信し、RAM314上に読み出された画像データ等を処理するためのものである。この画像処理部304は、記憶媒体312内に記憶されている画像処理プログラムがRAM314に読み出され、それをCPU310が実行することによって実施することが可能である。
The
図12には、デジタルカメラ100Fが第1の実施の形態で説明した画像ファイル転送モードに設定され、デジタルカメラ100Fとコンピュータ300との間で画像ファイルの転送等の処理が行われる際の手順が示されている。図12において、左側にはデジタルカメラ100Fが画像ファイル転送モードに設定されたときにCPU110Fで実行されるS1200からS1218までの処理手順が示される。また、図12の右側には、コンピュータ300で実行されるS1250からS1258までの処理手順が示される。
FIG. 12 shows a procedure when the
S1200においてCPU110Fは、第1の実施の形態で説明したのと同様に、ユーザによる画像ファイル選択操作受付の処理を行う。そして、ユーザがコンピュータ300への送信を希望している画像ファイルを特定する。S1202においてCPU110Fは、選択された画像ファイルのデータを記憶媒体112FからRAM114F上に読み出す。RAM114F上に読み出される画像ファイルのデータは、図13の左上側に示されるように、画像データ部1302と画像情報1304とを含む。画像情報1304中には、画像の向きに関する情報1306が含まれている。この情報は、画像データを展開して表示部に表示する際に、画像をどの向きに回転させて表示させると見やすいかを示す情報である。特に縦構図で(画面の長辺を鉛直線と略平行になるようにカメラを構えて)撮影する際に、カメラのグリップ側が上になるように構える場合も、下になるように構える場合もあるので、画像を表示する際に回転する向きを指定可能であると画像の閲覧が容易となる。以下では上記の情報1306を表示方向指定情報と称する。なお、本実施の形態では、デジタルカメラ100Fのユーザが撮影操作をした結果、記憶媒体112Fに記憶される画像ファイル中で、表示方向指定情報1306は「回転なし」に対応するものとなっていて、画像データは2560×1920のピクセルサイズを有するものとして以下の説明をする。
In S1200, the
S1204においてCPU110Fは、コンピュータ300との接続処理を行い、デジタルカメラ100Fとコンピュータ300との間の双方向通信の開始を可能とする。続くS1206においてCPU110Fは、RAM114F上の画像ファイル1300をコンピュータ300に向けて転送する処理を行う。
In step S1204, the
CPU110FによるS1206での処理に応答し、コンピュータ300はS1250において、デジタルカメラ100Fから送信される画像ファイル1300を受信する。このときコンピュータ300は、デジタルカメラ100Fの記憶媒体112F内で記憶されていたときに画像ファイル1300に付与されていたファイル名(以下、これを「オリジナルファイル名」と称する)に関連する情報もデジタルカメラ100Fから受信する。
In response to the processing in S1206 by the
S1252においてコンピュータ300は、受信した画像ファイル(以下、コンピュータ300がデジタルカメラ100Fから受信した画像ファイルを「受信画像ファイル」と称する。)を記憶しようとしているディレクトリ内に、受信画像ファイルのファイル名と同じファイル名のファイルが無いか、検索処理を行う。
In step S1252, the
S1252でのファイル名検索処理結果に基づき、コンピュータ300はS1254において、ファイル名決定処理を行う。ファイル名決定の処理の詳細については第1の実施の形態で説明したのと同様であるのでその説明を省略する。
Based on the file name search process result in S1252, the
S1256でコンピュータ300は、S1254で決定されたファイル名に関連する情報を含むファイル保存情報を、デジタルカメラ100Fに送信する。続くS1258においてコンピュータ300は、S1254で決定されたファイル名でもって受信画像ファイル(図13右上側に示される画像ファイル1300Aに相当するもの)をハードディスクやフラッシュメモリ等で構成される補助記憶装置に記憶する。ここでは、S1254で決定されたファイル名はP1010058.JPGであるものとする。
In S1256, the
コンピュータ300による上述したS1256の処理を受け、CPU110FはS1208においてファイル保存情報受信処理を行う。S1210においてCPU110Fは、S1208でコンピュータ300から受信したファイル保存情報に基づき、タグ情報更新処理を行う。S1210での処理は、第1の実施の形態における図3のS310の処理と同様であるので説明を省略する。
In response to the processing of S1256 described above by the
S1212においてCPU110Fは、画像データ縮小処理を行う。すなわち、CPU110Fは、RAM114F上に読み込まれている、画像データ部1302に対応する画像データに対してリサイズの処理を行い、ファイルサイズを縮小する処理を行う。本実施の形態においては、リサイズ処理後のピクセルサイズは640×480であるものとするが、本発明ではリサイズ処理後のピクセルサイズが640×480より大きくても小さくてもよい。さらには、リサイズ処理は行わずに圧縮率を高める処理をしても良いし、リサイズの処理および圧縮率を上げる処理の双方を行うものであってもよい。
In S1212, the
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
後の処理でCPU110Fが記憶媒体112Fから画像ファイルを読み出す処理をしたときに、画像情報1304(1304A)を参照することにより、当該の画像ファイルは既にコンピュータ300に送信しているか否かを判定することが可能となる。また、画像データ部1302、1302A内の画像データを展開して表示する際に、表示方向指定情報に基づいて画像を回転することにより、ユーザにとって見やすい画像表示をすることが可能となる。
When the
続いて、上述のようにしてデジタルカメラ100Fの記憶媒体112Fに上書きされたP1010001.JPGをユーザが開き、画像回転の操作を行う例について図14および図15を参照して説明する。図14は、上述したユーザの操作を受けてデジタルカメラ100FのCPU110Fおよびコンピュータ300で実行される処理手順を概略的に示すフローチャートである。そして、図14の左側にはCPU110Fで実行される処理手順が、右側にはコンピュータ300で実行される処理手順が、それぞれ示されている。図15は、図14に示される処理手順を経て変更が加えられる画像ファイルの内容を概念的に示している。
Subsequently, P1010001. Overwritten in the
ユーザは操作部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
ユーザは、表示部106Fに表示される画像を見て、表示される画像の向きを回転させる操作を行う。この操作について説明すると、表示部106Fは通常、横長の表示画面を有する。P1010001.JPGが、先に説明した縦構図で撮像して得られたものであるとすると、表示部106Fに表示される画像は横に寝たものとなる。縦構図の撮像に際して、ユーザはデジタルカメラ100Fのグリップ側を上にして構える場合と下にして構える場合とがある。それによって、表示部106Fに表示される画像の天側は画面の向かって右側に位置する場合と左側に位置する場合とがある。また、特殊な構図等で撮影した場合には、表示される画像の天地を逆にした方が見やすくなる場合がある。そのようなことを考慮し、デジタルカメラ100Fは画像を表示する際の表示方向を任意の方向に指定可能に構成することが可能である。
The user looks at the image displayed on the
CPU110FはS1406において、ユーザによる上述した表示方向指定の操作を受け付け、表示部106Fに表示される画像を指定された表示方向に回転させる処理を行う。デジタルカメラ100Fは一例として、時計回りの方向(CW)に90°、反時計回りの方向(CCW)に90°、いずれかの方向に180°といった表示方向指定の操作を受け付けることが可能に構成される。本実施例において、ユーザは表示方向を反時計回りの方向に90°(CCW90°)と指定する操作を行ったものとする。
In step S1406, the
S1408においてCPU110Fは、RAM114F上に読み出されているP1010001.JPGの画像ファイル1300Bに含まれる画像情報1304A中の表示方向指定情報1306を「画像の向き:回転無し」に対応するものから「画像の向き:CCW90°」に対応するものへと書き換える。
In S1408, the
S1410においてCPU110Fは、画像情報1304A中のファイル転送済みフラグ1310の状態を判定する。すなわち、当該の画像ファイル(本例ではP1010001.JPGの画像ファイル)が以前にコンピュータ300に送信されたか否かを判定する。「転送済みフラグ:オン」は、当該の画像ファイルが以前にコンピュータ300に送信されたことを意味する。
In S1410, the
S1410での判定が肯定されたときの分岐先であるS1412においてCPU110Fは、コンピュータ300と接続する処理を行う。この処理を受け、コンピュータ300はデジタルカメラ100Fとの交信が可能な状態となる。
In S1412 which is a branch destination when the determination in S1410 is affirmed, the
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
S1416においてCPU110Fは、コンピュータ300で処理する対象の画像ファイルのファイル名をコンピュータ300に送信する。ここで送信される処理対象のファイル名は、S1414の転送先ファイル名判定処理で得られたファイル名(本例ではP1010058.JPG)である。これに応答してコンピュータ300は、CPU110Fから送信された処理対象ファイル名をS1450で受信する。
In step S <b> 1416, the
S1418においてCPU110Fは、表示方向指定情報変更コマンドをコンピュータ300に送信する。CPU110Fは、上記コマンドとともに表示方向指定情報(本例においてはCCW90°に対応する情報)も送信する。これに応答してコンピュータ300はCPU110Fから送信された表示方向指定情報変更コマンドおよび表示方向指定情報を受信する。
In S1418, the
S1454においてコンピュータ300は、S1450で受信した処理対象ファイル名に対応する画像ファイルを記憶媒体312からRAM314上に読み出す。このとき読み出される画像ファイルは、図15の右上に示される画像ファイル1300Aである。
In S1454, the
S1456においてコンピュータ300は、RAM314上に読み出された画像ファイル1300Aの画像情報1304中に含まれる表示方向指定情報1306を「画像の向き:回転無し」に対応する情報から「画像の向き:CCW90°」に対応する情報へと更新する処理を行う。
In S <b> 1456, the
S1458においてコンピュータ300は、S1456で更新された画像情報1304Cと画像データ部1302とを含む画像ファイル1300Dを記憶媒体312に上書きして記憶し、一連の処理の実行を完了する。その結果、図15の右下に示される画像ファイル1300Dが記憶媒体312上に記憶される。以降、コンピュータ300上でP1010058.JPGのファイルを開いて閲覧する際には、表示方向指定情報1306Aに基づいて表示方向回転の処理が行われるので、縦構図で撮像された画像の閲覧が容易となる。
In S1458, the
デジタルカメラ100Fでの処理の説明に戻ると、CPU110FはS1420で、コンピュータ300との接続状態を切断する処理を行う。続いてCPU110FはS1422において、図15の左下に示される、更新後の表示方向指定情報1306Aが含まれる画像情報1304Bと画像データ部1302Aとを有する画像ファイル1300Cをオリジナルのファイル名(本例においてはP1010001.JPG)で記憶媒体112Fに上書き記憶し、一連の処理の実行を完了する。
Returning to the description of the processing in the
ところで、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
第4の実施の形態は、例えばスタジオ撮影などのような状況で、デジタルカメラ100Fで撮影して生成された画像ファイルをファイルサーバとしてのコンピュータ300に順次送信するようなものと考えることができる。すなわち、画像データをコンピュータ300に送信した後、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイル中の画像データの容量を減ずることにより、ユーザは記憶媒体112Fの残り容量を気にすることなく撮影を続けることが可能となる。一方、どのような画像であるかを確認するのには十分な程度の画像を記憶媒体112Fに残しておくことにより、今までに撮影してえられた画像を迅速に確認することが可能となる。
The fourth embodiment can be considered to sequentially transmit image files generated by shooting with the
このとき、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイルがコンピュータ300に送信され、記憶媒体312に記憶する際にファイル名の重複を生じることが無く、大事なファイルを誤って消去してしまうような不具合を抑制可能である。また、コンピュータ300からデジタルカメラ100Fにはコンピュータ300の側で記憶される際に画像ファイルに付与されたファイル名を含むファイル保存情報が送信されるので、デジタルカメラ100Fのユーザはコンピュータ300内で目的とする画像ファイルを容易に見つけ出すことが可能となる。
At this time, the image file stored in the
さらに、デジタルカメラ100Fの記憶媒体112Fに記憶される画像ファイルに含まれる画像情報中には、転送先ファイル保存情報、表示方向指定情報、ファイル転送済みフラグなどを含むことができる。このため、ユーザがコンピュータ300の記憶媒体312に記憶される画像ファイルのファイル名を意識することなく、デジタルカメラ100Fの記憶媒体112F内に記憶される画像ファイルの表示方向を変更するような処理をした際に、それに連動してコンピュータ300の記憶媒体312内の対応する画像ファイル中の画像情報を容易に更新することが可能となる。
Further, the image information included in the image file stored in the
以上、第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.
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 ...
112, 112A, 112B, 112C, 112D, 112E, 112F ...
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または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.
前記相手電子装置から送信される前記情報ファイルを受信する情報ファイル受信部と、
前記情報ファイル受信部で受信した前記情報ファイルを前記電子装置の側で記憶するための、第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の情報記憶装置に記憶されている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.
前記第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.
前記第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.
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報である
ことを特徴とする請求項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.
前記情報ファイルは、前記画像データが前記データ部に収容される画像ファイルであり、
前記情報ファイルの内部に含まれる前記付帯情報は、前記撮像部で前記被写体を撮像して前記画像データを生成する際の撮像条件を少なくとも含む画像情報である
ことを特徴とする請求項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の情報記憶装置に記憶されている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.
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)
| 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)
| 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 |
-
2008
- 2008-02-06 JP JP2008026388A patent/JP5165406B2/en not_active Expired - Fee Related
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 |