JP5004851B2 - Digital camera - Google Patents
Digital camera Download PDFInfo
- Publication number
- JP5004851B2 JP5004851B2 JP2008094379A JP2008094379A JP5004851B2 JP 5004851 B2 JP5004851 B2 JP 5004851B2 JP 2008094379 A JP2008094379 A JP 2008094379A JP 2008094379 A JP2008094379 A JP 2008094379A JP 5004851 B2 JP5004851 B2 JP 5004851B2
- Authority
- JP
- Japan
- Prior art keywords
- storage
- digital camera
- application
- unit
- updating
- 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
Images
Description
本発明は、無線接続機能を有するデジタルカメラに関する。 The present invention relates to a digital camera having a wireless connection function.
従来、デジタルカメラと周辺機器とを有線接続し、マルチインターフェースで1つの通信カードを複数のアプリケーション(ストレージ、イメージング等)に見せることで、デジタルカメラの記憶部(カード、内蔵メモリ)に独立してアクセスすることが可能となっている。 Conventionally, a digital camera and peripheral devices are connected by wire, and a single communication card is shown to multiple applications (storage, imaging, etc.) via a multi-interface, so that it is independent of the storage unit (card, built-in memory) of the digital camera. It is possible to access.
この場合、1つのアプリケーションがデジタルカメラの記憶部の中身を変更しても、他のアプリケーションはそれを知る手段がない。従って、あるアプリケーションは、他のアプリケーションまたはデジタルカメラの撮影動作により記憶部が変更されたとしても、最新のデータを取得することができない。 In this case, even if one application changes the contents of the storage unit of the digital camera, the other application has no means of knowing it. Therefore, even if the storage unit is changed by another application or the photographing operation of the digital camera, a certain application cannot acquire the latest data.
さらに、周辺機器がパーソナルコンピュータ(以下、パソコンと略記する)の場合は、パソコンとデジタルカメラが接続状態のとき、キャッシュを有するパソコンは、デジタルカメラに対して周期的な書き込みを断続的に行う。そのため、デジタルカメラの記憶部が最新のデータに更新されても、更新されたことを知らないアプリケーションがその記憶部に書き込みを行うため、最新のデータを消してしまう問題があった。 Further, when the peripheral device is a personal computer (hereinafter abbreviated as a personal computer), when the personal computer and the digital camera are connected, the personal computer having the cache performs periodic writing on the digital camera intermittently. For this reason, even when the storage unit of the digital camera is updated to the latest data, an application that does not know that the update has been performed writes to the storage unit, and thus the latest data is erased.
また、近年、周辺機器の通信は有線から無線に移行している。有線接続では常に1対1でしか周辺機器と繋がらないが、無線は複数の周辺機器と時分割で通信が可能になる。これにより、デジタルカメラは複数の相手(パソコン、プリンタ等)と接続が可能となるが、ある周辺機器またはアプリケーションがデジタルカメラの記憶部を変更しても、他の周辺機器またはアプリケーションは変更されたのを知ることができない。 In recent years, the communication of peripheral devices has shifted from wired to wireless. A wired connection always connects to a peripheral device only one-to-one, but wireless communication is possible in a time-sharing manner with a plurality of peripheral devices. As a result, the digital camera can be connected to multiple partners (computers, printers, etc.), but if a peripheral device or application changes the storage of the digital camera, other peripheral devices or applications are changed. I can't know.
以上のように、1つの記憶部を同時に複数の周辺機器(または同一の周辺機器であっても複数のアプリケーション)にアクセス可能とした場合、個々の周辺機器(または同一の周辺機器であっても複数のアプリケーション)が同一記憶部に対してデータの同期が取れないばかりか、他の周辺機器(または同一の周辺機器であっても複数のアプリケーション)が書き込んだデータを書き戻してしまう問題があった。 As described above, when one storage unit can simultaneously access a plurality of peripheral devices (or a plurality of applications even in the same peripheral device), each peripheral device (or the same peripheral device) (Multiple applications) not only cannot synchronize data to the same storage unit, but also write back data written by other peripheral devices (or multiple applications even if they are the same peripheral device). It was.
そこで、特許文献1では、無線接続された周辺機器から所定の周期で定期的にデジタルカメラの記憶部にアクセスして、更新された記憶内容を取得する技術が提案されている。
しかしながら、上記特許文献1に開示の技術は、周辺機器であるパソコン側の機能であり、そのような機能を持たない周辺機器またはアプリケーションと無線接続される場合には、利用できない。また、上記特許文献1に開示の技術を適用したパソコンとのみではなく、他の周辺機器またはアプリケーションとも無線接続している場合には、上述したような問題が発生してしまう。 However, the technique disclosed in Patent Document 1 is a function on the personal computer side that is a peripheral device, and cannot be used when wirelessly connected to a peripheral device or application that does not have such a function. In addition, the above-described problem occurs when not only a personal computer to which the technology disclosed in Patent Document 1 is applied but also other peripheral devices or applications are wirelessly connected.
本発明は、上記の問題に鑑みてなされたもので、デジタルカメラが複数の周辺機器または同一の周辺機器であっても複数のアプリケーションと無線接続中にデジタルカメラの記憶部が変更された場合、複数の周辺機器またはアプリケーションが最新の記憶内容を取得することが可能なデジタルカメラを提供することを目的とする。 The present invention has been made in view of the above problems, and even when the digital camera is a plurality of peripheral devices or the same peripheral device, when the storage unit of the digital camera is changed during wireless connection with a plurality of applications, An object of the present invention is to provide a digital camera in which a plurality of peripheral devices or applications can obtain the latest stored contents.
本発明のデジタルカメラの一態様は、周辺機器が有する複数のアプリケーションと無線接続可能なデジタルカメラにおいて、
被写体を撮影して画像を取得する撮像手段と、
少なくとも上記撮像手段によって取得した画像を記憶する記憶手段と、
上記周辺機器の各アプリケーションと無線接続した状態で、上記記憶手段に記憶されている記憶内容の更新を行うイベントが発生したか否かを判断する判断手段と、
上記判断手段によって上記記憶手段の記憶内容を更新するイベントが発生したと判断された際に、当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有していないアプリケーションと当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有しているアプリケーションの内、当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有していないアプリケーションとの接続を一旦切断する切断手段と、
上記記憶手段の記憶内容の更新が完了した際、上記切断手段によって切断されたアプリケーションとの無線接続を再度行う再接続手段と、
を具備したことを特徴とする。
One aspect of the digital camera of the present invention is a digital camera that can be wirelessly connected to a plurality of applications included in a peripheral device.
Imaging means for capturing an image by photographing a subject;
Storage means for storing at least an image acquired by the imaging means;
A determination means for determining whether an event for updating the storage content stored in the storage means has occurred in a state in which the peripheral device is wirelessly connected to each application;
When the determination unit determines that an event for updating the storage content of the storage unit has occurred, an application that does not have a function of recognizing that the storage content of the storage unit has been updated and the storage Connection with an application that has a function of recognizing that the storage content of the storage unit has been updated, and that does not have a function of recognizing that the storage content of the storage unit has been updated Cutting means for cutting once,
Reconnection means for re-connecting wirelessly with the application disconnected by the disconnection means when the update of the storage content of the storage means is completed;
It is characterized by comprising.
また、本発明のデジタルカメラの別の態様は、複数の周辺機器の各々と無線接続可能なデジタルカメラにおいて、
被写体を撮影して画像を取得する撮像手段と、
少なくとも上記撮像手段によって取得した画像を記憶する記憶手段と、
上記複数の周辺機器と無線接続した状態で、上記記憶手段に記憶されている記憶内容の更新を行うイベントが発生したか否かを判断する判断手段と、
上記判断手段によって上記記憶手段の記憶内容を更新するイベントが発生したと判断された際に、当該記憶手段の記憶内容の更新が行われたことを認識できない周辺機器と当該記憶手段の記憶内容の更新が行われたことを認識できる周辺機器の内、当該記憶手段の記憶内容の更新が行われたことを認識できない周辺機器との接続を一旦切断する切断手段と、
上記記憶手段の記憶内容の更新が完了した際、上記切断手段によって切断された周辺機器との無線接続を再度行う再接続手段と、
を具備したことを特徴とする。
Another aspect of the digital camera of the present invention is a digital camera that can be wirelessly connected to each of a plurality of peripheral devices.
Imaging means for capturing an image by photographing a subject;
Storage means for storing at least an image acquired by the imaging means;
A determination unit that determines whether an event for updating the storage content stored in the storage unit has occurred in a wireless connection with the plurality of peripheral devices;
When it is determined by the determination means that an event for updating the storage contents of the storage means has occurred, the peripheral device that cannot recognize that the storage contents of the storage means have been updated and the storage contents of the storage means Of the peripheral devices that can recognize that the update has been performed, a disconnecting unit that temporarily disconnects the peripheral device that cannot recognize that the storage content of the storage unit has been updated , and
When the update of the storage contents of the storage unit is completed, a reconnection unit that performs wireless connection again with the peripheral device disconnected by the disconnection unit,
It is characterized by comprising.
本発明によればデジタルカメラが複数の周辺機器またはアプリケーションと無線接続中にデジタルカメラの記憶部が変更された場合、周辺機器またはアプリケーションとの切断・再接続を行うことで、複数の周辺機器またはアプリケーションが最新の記憶内容を取得することが可能となるデジタルカメラを提供することができる。 According to the present invention, when the storage unit of the digital camera is changed while the digital camera is wirelessly connected to a plurality of peripheral devices or applications, a plurality of peripheral devices or applications can be obtained by disconnecting / reconnecting to the peripheral devices or applications. It is possible to provide a digital camera that enables an application to acquire the latest stored content.
以下、本発明を実施するための最良の形態を図面を参照して説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
図1(A)は、本発明の一実施形態に係るデジタルカメラ100のシステム構成図であり、該デジタルカメラ100は、CPU101、ROM102、RAM103、無線通信部104、撮影制御部105、記憶部106、等を備える。
FIG. 1A is a system configuration diagram of a
CPU101は、当該デジタルカメラ100の動作を制御するプロセッサであり、ROM102には、そのCPU101の制御プログラムが記憶され、RAM103はワークエリアとして機能する。
The
無線通信部104は、周辺機器との無線通信を実行するよう設計されている。その無線通信方式は、Bluetooth(登録商標)やワイヤレスUSB等、各種存在し、ここでは特に限定しない。
The
撮影制御部105は、被写体を撮影して画像を取得する撮像手段である。この撮影制御部105は、CCD等の撮像素子1051と、撮影画像を所定のファイル形式(ROW,JPEG等)に変換する画像処理部1052と、変換した撮影画像を記憶部106へ書き込む書込処理部1053とを含む。記憶部106は、デジタルカメラのファイル格納領域であり、当該デジタルカメラに着脱自在な外付けカードの形態で提供されても良いし、内蔵メモリとして固定の記憶手段であっても構わない。
The
図1(B)は、このようなデジタルカメラ100を含む無線通信システムを示す図である。
FIG. 1B is a diagram showing a wireless communication system including such a
パソコン200は、複数のインターフェースをサポートし、そのインターフェースに対応するアプリケーションを実行する。この例では、ストレージ201とイメージング202を示す。ストレージ201は、SCSIを使った大容量記憶デバイス、イメージングはStill Image Capture Deviceがある。アプリケーション及びインターフェースという表現を用いるが、アプリケーションは機器上で動作するプログラムであり、そのアプリケーションの通信方法をインターフェースとする。
The
一方、デジタルカメラ100は、無線通信部104を介してパソコン200と無線通信を行う。マルチインターフェース制御部110は、プロトコルドライバであり、各インターフェースのプロトコルを実行する。また、デジタルカメラ100には、各アプリケーションのコマンドを実行するクラスドライバとして、ストレージのクラスドライバ111、イメージングのクラスドライバ112、PTP(Picture Transfer Protocol)のクラスドライバ113が存在する。これらのドライバは、CPU101によって実行されるプログラムとしてROM102に記憶されている。各クラスドライバ111〜113は、同じ記憶部106を共有する。
On the other hand, the
次に、上記のような構成のデジタルカメラ100の動作を説明する。
図2は、上記デジタルカメラ100のCPU101の動作を説明するためのフローチャートを示す図である。なお、ここでは、既に無線通信部104を介して周辺機器と無線接続済であるものとする。
Next, the operation of the
FIG. 2 is a flowchart for explaining the operation of the
CPU101は、まず、複数の周辺機器と接続中であるか否かを判断する(ステップS11)。
First, the
ここで、一つの周辺機器とのみ接続中であると判断した場合には、デジタルカメラ100の記憶部106に対して書き込みを行う書き込みコマンド(Writeコマンド)を何れかのインターフェースによって(即ちパソコン200のアプリケーションから)受信するというイベントが発生したか否かを判断する(ステップS12)。Writeコマンドを受信していないと判断した場合には、更に、撮影制御部105による撮影動作の指示がなされる、例えば図示しないシャッタ釦のレリーズ操作が行われるというイベントが発生したか否かを判断する(ステップS13)。そして、撮影動作の指示もないと判断した場合には、上記ステップS11に戻り、上記の処理を繰り返す。
Here, when it is determined that only one peripheral device is connected, a write command (Write command) for writing to the
一方、上記ステップS12においてWriteコマンドを受信したと判断した場合には、あるいは、上記ステップS13において撮影動作の指示があったと判断した場合には、記憶部106の更新に関与しないアプリケーションによる記憶部106へのアクセスを禁止するために、それら更新に関与しないアプリケーションに対応するインターフェースをビジー(Busy)にする(ステップS14)。即ち、Writeコマンドを受信した場合には、それを受信したインターフェース(アプリケーション)以外のインターフェース(アプリケーション)をビジーとする。また、撮影動作の指示があった場合には、全てのインターフェース(アプリケーション)をビジーにする。その後、パソコン200からのデータ又は撮影制御部105からの画像で記憶部106の記憶内容を更新する(ステップS15)。
On the other hand, if it is determined in step S12 that a Write command has been received, or if it is determined in step S13 that a shooting operation instruction has been received, the
次に、例えば、ワイヤレスUSBで規定されているDisconnectイベント等の切断要求をパソコン200に送信して、パソコン200との接続を一旦切り離す(ステップS16)。切断の詳細なハンドシェイクは各インターフェースの規格で定義されており、ここでは省略する。そしてその後、例えば、ワイヤレスUSBで規定されているConnectイベント等の再接続要求をパソコン200に送信して、パソコン200と再接続する(ステップS17)。接続の詳細なハンドシェイクについても、各インターフェースの規格で定義されており、ここでは省略する。そして、上記ステップS11に戻る。
Next, for example, a disconnection request such as a Disconnect event defined by the wireless USB is transmitted to the
また、上記ステップS11において、複数の周辺機器と接続中であると判断した場合には、Writeコマンドを何れかの周辺機器から受信するというイベントが発生したか否かを判断する(ステップS18)。Writeコマンドを受信していないと判断した場合には、更に、撮影制御部105による撮影動作の指示が行われるというイベントが発生したか否かを判断する(ステップS19)。そして、撮影動作の指示もないと判断した場合には、上記ステップS11に戻り、上記の処理を繰り返す。 If it is determined in step S11 that a plurality of peripheral devices are connected, it is determined whether or not an event of receiving a Write command from any peripheral device has occurred (step S18). If it is determined that the Write command has not been received, it is further determined whether or not an event has occurred in which a shooting operation instruction is issued by the shooting control unit 105 (step S19). If it is determined that there is no instruction for photographing operation, the process returns to step S11 and the above process is repeated.
一方、上記ステップS18においてWriteコマンドを受信したと判断した場合には、あるいは、上記ステップS19において撮影動作の指示があったと判断した場合には、Disconnectイベント等の切断要求を周辺機器に送信して、それらの周辺機器との接続を一旦切り離す(ステップS20)。但し、Writeコマンドを受信した場合には、それを受信したインターフェース(アプリケーション)が接続している周辺機器以外の周辺機器を切断するのに対して、撮影動作の指示があった場合には、全ての周辺機器を切断することとなる。その後、周辺機器からのデータ又は撮影制御部105からの画像で記憶部106の記憶内容を更新する(ステップS21)。そして、再接続要求を周辺機器に送信して、周辺機器と再接続する(ステップS17)。
On the other hand, if it is determined in step S18 that the Write command has been received, or if it is determined in step S19 that there has been an instruction for a shooting operation, a disconnect request such as a Disconnect event is transmitted to the peripheral device. The connection with these peripheral devices is once disconnected (step S20). However, when the Write command is received, the peripheral device other than the peripheral device to which the interface (application) that received the command is connected is disconnected. The peripheral equipment will be disconnected. Thereafter, the storage content of the
以下、具体的な例を用いて、動作をさらに説明する。
図3は、パソコン200内のアプリケーションがデジタルカメラ100の記憶部106を更新した時、他のアプリケーションに最新のデータを見せるシーケンスを示す図である。
Hereinafter, the operation will be further described using a specific example.
FIG. 3 is a diagram illustrating a sequence in which the latest data is displayed to other applications when the application in the
まずは、無線機器同士が再接続を行うシーケンスを説明する。
パソコン200とデジタルカメラ100は無線で接続中である(ステップS101)。無線通信は、外部環境の悪化で通信が切断される(ステップS102)。切断されたことを判断する方法は、無線方法により多種多様であるが、例えばパソコン200からある時間以上経過しても信号を受信しない場合などである。そのような場合、デジタルカメラ100は、パソコン200と再接続を行う(ステップS103)。再接続要求としては、例えば、ワイヤレスUSBで規定されているConnectイベントがあるが、詳細なハンドシェイクは各インターフェースの規格で定義されており、ここでは省略する。パソコン200が接続を検出したならば、各アプリケーション(ストレージ201,イメージング202)は、最新データを取得するために、デジタルカメラ100各インターフェース(ストレージのクラスドライバ111,イメージングのクラスドライバ112)を使ってデジタルカメラ100の記憶部106の情報を取得する(ステップS104,S105)。図3では、取得方法として、Media Informationをいう表現を使うが、ストレージ201ではディレクトリ等の読み出し、イメージング202ではGetObjectInfo等である。取得方法は、各インターフェース特有であり、詳細はここでは省略する。これで再接続が完了する。
First, a sequence in which wireless devices reconnect to each other will be described.
The
次に、パソコン200のアプリケーションがデジタルカメラ100の記憶部106を変更したときに、上記の再接続手段を用いてアプリケーションが最新のデータを取得するシーケンスを説明する。
Next, a sequence in which the application acquires the latest data using the reconnection unit when the application of the
この場合は、デジタルカメラ100は1台のパソコン200と接続しているので、上記ステップS11はNOに進む。
In this case, since the
そして、例えば、パソコン200のイメージング202が、デジタルカメラ100のイメージングのクラスドライバ112に対し、記憶部106への書き込みを指示すると(ステップS106)、Writeコマンドによる記憶部106の記憶内容の更新であるので、上記ステップS12はYESに進むこととなる。この書き込みは、パソコン200のストレージ201は知ることができない。そこで、イメージングのクラスドライバ112が記憶部106を変更中は、ストレージ201が記憶部106をアクセスできないように、上記ステップS14において、ストレージのクラスドライバ111をビジーにする(ステップS107)。そして、イメージングのクラスドライバ112は、上記ステップS15において、記憶部106の変更を行う(ステップS108)。なお、この記憶部106の記憶内容の更新処理中に、パソコン200のストレージ201からのストレージのクラスドライバ111へのコマンド(ステップS109)には、ストレージのクラスドライバ111はNAKで応答する(ステップS110)。NAKとは、コマンドが何かの理由で実行できないことを示すものである。そして、記憶部106の記憶内容の更新が完了したならば(ステップS111)、イメージングのクラスドライバ112は、パソコン200のイメージング202にコマンド完了を通知する(ステップS112)。
For example, when the
この状態では、パソコン200のイメージング202は、デジタルカメラ100の記憶部106の記憶内容として、最新の情報を所有しているが、パソコン200のストレージ201は、最新の情報を所有してない。そのため、デジタルカメラ100は、上記ステップS16において、接続を一旦切り離す(ステップS113)。切断要求としては、例えば、ワイヤレスUSBで規定されているDisconnectイベントがある。切断の詳細なハンドシェイクは各インターフェースの規格で定義されており、ここでは省略する。
In this state, the
その後、デジタルカメラ100は、上記ステップS17において、上述したような再接続を行う(ステップS103)ので、パソコン200の各アプリケーション(ストレージ201,イメージング202)は、各インターフェース(ストレージのクラスドライバ111,イメージングのクラスドライバ112)を使ってデジタルカメラ100の記憶部106から最新の情報を取得する(ステップS104,S105)。これにより、パソコン200内の各アプリケーション(ストレージ201,イメージング202)は最新の記憶情報を共有することができる。
Thereafter, in step S17, the
図4は、パソコン200とデジタルカメラ100が無線で接続中に、デジタルカメラ100の撮影制御部105で撮影動作が行われ、記憶部106への書き込みが行われる場合のシーケンスを示す図である。
FIG. 4 is a diagram illustrating a sequence in a case where a photographing operation is performed by the photographing
パソコン200とデジタルカメラ100が無線で接続中である(ステップS101)。この場合は、デジタルカメラ100は1台のパソコン200と接続しているので、上記ステップS11はNOに進む。
The
そして、撮影動作の指示がなされると(ステップS201)、上記ステップS13はYESに進むこととなる。この撮影動作での撮影制御部105による撮影画像の記憶部106への書き込みは、パソコン200のアプリケーション(ストレージ201,イメージング202)は知ることができない。そこで、撮影動作中は、ストレージ201,イメージング202が記憶部106をアクセスできないように、上記ステップS14において、各インターフェース(ストレージのクラスドライバ111,イメージングのクラスドライバ112)をビジーにする(ステップS202,S203)。これにより、この撮影動作中は、パソコン200からのコマンド、例えばイメージング202からのイメージングのクラスドライバ112へのコマンド(ステップS204)には、NAKで応答することなる(ステップS205)。そして、撮影制御部105で撮影された画像が、上記ステップS15において記憶部106に書き込まれて(ステップS206)、撮影動作の完了がCPU101に通知される(ステップS207)。
Then, when an instruction for photographing operation is given (step S201), the above step S13 proceeds to YES. The application (
撮影完了後は、パソコン200のアプリケーション(ストレージ201,イメージング202)は、デジタルカメラ100の記憶部106の記憶内容として、最新の情報を所有してないので、パソコン200に再接続を行う。即ち、デジタルカメラ100は、上記ステップS16において、接続を一旦切り離す(ステップS113)。その後、デジタルカメラ100は、上記ステップS17において、上述したような再接続を行い(ステップS103)、パソコン200の各アプリケーション(ストレージ201,イメージング202)は、各インターフェース(ストレージのクラスドライバ111,イメージングのクラスドライバ112)を使ってデジタルカメラ100の記憶部106から最新の情報を取得する(ステップS104,S105)。これにより、パソコン200内の各アプリケーション(ストレージ201,イメージング202)は最新の記憶情報を共有することができる。
After the photographing is completed, the application (
一方、図5に示すように、デジタルカメラ100が複数の周辺機器と無線で接続される場合もある。この例では、パソコン200Aは、帯域301Aを使って上記デジタルカメラ100と接続され、パソコン200Bは、帯域301Bを使って上記デジタルカメラ100と接続され、プリンタ400は、帯域301Cを使って上記デジタルカメラ100と接続されている。これらの帯域301A〜301Cは、同一帯域を時分割で使用しても良いし、異なる帯域を時分割で使用するのであっても良い。
On the other hand, as shown in FIG. 5, the
図6は、このように複数の周辺機器と無線接続している状態で、周辺機器によってデジタルカメラ100の記憶部106が変更されたときのシーケンスを示す図である。
FIG. 6 is a diagram showing a sequence when the
パソコン200Aは、ストレージで接続中であり(ステップS301)、パソコン200Bはイメージングで接続中であり(ステップS302)、プリンタ400はPTPで接続中である(ステップS303)。この場合は、デジタルカメラ100は複数の周辺機器と接続しているので、上記ステップS11はYESに進む。
The
そして、例えば、パソコン200Bが、デジタルカメラ100のイメージングのクラスドライバ112に対し、記憶部106への書き込みを指示すると(ステップS304)、Writeコマンドによる記憶部106の記憶内容の更新であるので、上記ステップS18はYESに進むこととなる。この書き込みは、他の周辺機器(この場合は、パソコン200B,プリンタ400)は知ることができない。そこで、イメージングのクラスドライバ112が記憶部106を変更中は、他の周辺機器が記憶部106をアクセスできないように、上記ステップS20において、それら他の周辺機器の接続を一旦切り離す(ステップS305,S306)。そして、イメージングのクラスドライバ112は、上記ステップS21において、記憶部106の変更を行う(ステップS307)。記憶部106の記憶内容の更新が完了したならば(ステップS308)、イメージングのクラスドライバ112は、パソコン200Bにコマンド完了を通知する(ステップS309)。
Then, for example, when the
この状態では、パソコン200Bは、デジタルカメラ100の記憶部106の記憶内容として、最新の情報を所有しているが、他の周辺機器(パソコン200B,プリンタ400)は、最新の情報を所有してない。そのため、デジタルカメラ100は、上記ステップS17において、再接続を行う(ステップS310,S312)。再接続された周辺機器(パソコン200B,プリンタ400)は、最新データを取得するために、各インターフェース(ストレージのクラスドライバ111,PTPのクラスドライバ113)を使ってデジタルカメラ100の記憶部106から最新の情報を取得する(ステップS311,S313)。これにより、デジタルカメラ100と通信する全ての周辺機器(パソコン200A及び200B,プリンタ400)は、最新の記憶情報を共有することができる。
In this state, the
なお、複数の周辺機器の内の一つが複数のアプリケーションでデジタルカメラ100に接続しており、一のアプリケーションから書き込みの指示があった場合には、他の周辺機器の接続を一旦切り離すと共に、図3を参照して前述したように、書き込み指示を出したアプリケーションを実行している周辺機器の他のアプリケーションからデジタルカメラ100の記憶部106をアクセスできないように、対応するクラスドライバをビジーにすれば良い。
When one of a plurality of peripheral devices is connected to the
図7は、デジタルカメラ100が複数の周辺機器と無線接続状態において、デジタルカメラ100の撮影制御部105で撮影動作が行われ、記憶部106への書き込みが行われる場合のシーケンスを示す図である。
FIG. 7 is a diagram illustrating a sequence in a case where a shooting operation is performed by the
パソコン200Aは、ストレージで接続中であり(ステップS301)、パソコン200Bはイメージングで接続中であり(ステップS302)、プリンタ400はPTPで接続中である(ステップS303)。この場合は、デジタルカメラ100は複数の周辺機器と接続しているので、上記ステップS11はYESに進む。
The
そして、撮影動作の指示がなされると(ステップS401)、上記ステップS13はYESに進むこととなる。この撮影動作での撮影制御部105による撮影画像の記憶部106への書き込みは、周辺機器(パソコン200A及び200B,プリンタ400)は知ることができない。そこで、撮影動作中は、周辺機器がアクセスできないように、上記ステップS20において、接続を一旦切り離す(ステップS402,S403,S404)。そして、撮影制御部105で撮影された画像が、上記ステップS15において記憶部106に書き込まれて(ステップS405)、撮影動作の完了がCPU101に通知される(ステップS406)。
Then, when an instruction for a photographing operation is given (step S401), step S13 proceeds to YES. The peripheral device (the
撮影完了後は、周辺機器(パソコン200A及び200B,プリンタ400)は、デジタルカメラ100の記憶部106の記憶内容として、最新の情報を所有してないので、デジタルカメラ100は、上記ステップS17において、再接続を行う(ステップS407,S409,S411)。再接続された周辺機器(パソコン200A及び200B,プリンタ400)は、最新データを取得するために、各インターフェース(ストレージのクラスドライバ111,イメージングのクラスドライバ112,PTPのクラスドライバ113)を使ってデジタルカメラ100の記憶部106から最新の情報を取得する(ステップS408,S410,S412)。これにより、デジタルカメラ100と通信する全ての周辺機器(パソコン200A及び200B,プリンタ400)は、最新の記憶情報を共有することができる。
Since the peripheral devices (the
以上説明したように、本実施形態によれば、デジタルカメラ100の記憶部106の記憶内容を変更するなら、デジタルカメラ100は一旦アプリケーション又は周辺機器との接続を切り離し、記憶部106を更新後に再接続するようにしているので、複数のインターフェースにおいて常に最新のデータを見せることができる。
As described above, according to the present embodiment, when the storage content of the
また、無線接続においては、デジタルカメラ100は複数の周辺機器(パソコン、プリンタ等)と接続が可能なため、一の周辺機器によりデジタルカメラ100の記憶部106が更新されるなら、同様に再接続を行うことで、複数の周辺機器において常に最新の記憶部を見せることができる。
In wireless connection, since the
更に、更新動作中は、他のアプリケーションによる記憶部106へのアクセスを禁止するようにしているので、他のアプリケーションによる二重更新動作を防ぐことができる。
Furthermore, during the update operation, access to the
以上実施形態に基づいて本発明を説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形や応用が可能なことは勿論である。 Although the present invention has been described above based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications and applications are naturally possible within the scope of the gist of the present invention.
例えば、デジタルカメラは、カメラ装置に限定するものではなく、カメラ付き機器等も含むものである。 For example, a digital camera is not limited to a camera device, and includes a device with a camera and the like.
100…デジタルカメラ、 101…CPU、 102…ROM、 103…RAM、 104…無線通信部、 105…撮影制御部、 106…記憶部、 110…マルチインターフェース制御部、 111〜113…クラスドライバ、 200,200A,200B…パソコン、 201…ストレージ、 202…イメージング、 301A〜301C…帯域、 400…プリンタ、 1051…撮像素子、 1052…画像処理部、 1053…書込処理部。
DESCRIPTION OF
Claims (9)
被写体を撮影して画像を取得する撮像手段と、
少なくとも上記撮像手段によって取得した画像を記憶する記憶手段と、
上記周辺機器の各アプリケーションと無線接続した状態で、上記記憶手段に記憶されている記憶内容の更新を行うイベントが発生したか否かを判断する判断手段と、
上記判断手段によって上記記憶手段の記憶内容を更新するイベントが発生したと判断された際に、当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有していないアプリケーションと当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有しているアプリケーションの内、当該記憶手段の記憶内容の更新が行われたことを認識できる機能を有していないアプリケーションとの接続を一旦切断する切断手段と、
上記記憶手段の記憶内容の更新が完了した際、上記切断手段によって切断されたアプリケーションとの無線接続を再度行う再接続手段と、
を具備したことを特徴とするデジタルカメラ。 In digital cameras that can be wirelessly connected to multiple applications on peripheral devices,
Imaging means for capturing an image by photographing a subject;
Storage means for storing at least an image acquired by the imaging means;
A determination means for determining whether an event for updating the storage content stored in the storage means has occurred in a state in which the peripheral device is wirelessly connected to each application;
When the determination unit determines that an event for updating the storage content of the storage unit has occurred, an application that does not have a function of recognizing that the storage content of the storage unit has been updated and the storage Connection with an application that has a function of recognizing that the storage content of the storage unit has been updated, and that does not have a function of recognizing that the storage content of the storage unit has been updated Cutting means for cutting once,
Reconnection means for re-connecting wirelessly with the application disconnected by the disconnection means when the update of the storage content of the storage means is completed;
A digital camera comprising:
上記記憶手段に記憶されている記憶内容の更新を行うイベントは、上記記憶手段の記憶内容を更新するアプリケーションにより発生され、
上記記憶手段の記憶内容を更新するアプリケーションによる上記記憶手段の記憶内容の更新中は、当該更新に関与しているアプリケーション以外のアプリケーションによる上記記憶手段へのアクセスを禁止する制御手段をさらに具備することを特徴とする請求項2に記載のデジタルカメラ。 The peripheral device includes an application for updating the storage content of the storage means,
An event for updating the storage contents stored in the storage means is generated by an application for updating the storage contents of the storage means,
Control means for prohibiting access to the storage means by an application other than the application involved in the update while the storage contents of the storage means are being updated by an application that updates the storage contents of the storage means. The digital camera according to claim 2.
上記撮像手段による撮影動作中は、上記周辺機器のアプリケーションによる上記記憶手段へのアクセスを禁止する制御手段をさらに具備することを特徴とする請求項2に記載のデジタルカメラ。 An event for updating the stored contents stored in the storage means is generated at the start of the photographing operation by the imaging means,
The digital camera according to claim 2, further comprising a control unit that prohibits access to the storage unit by an application of the peripheral device during a shooting operation by the imaging unit.
被写体を撮影して画像を取得する撮像手段と、
少なくとも上記撮像手段によって取得した画像を記憶する記憶手段と、
上記複数の周辺機器と無線接続した状態で、上記記憶手段に記憶されている記憶内容の更新を行うイベントが発生したか否かを判断する判断手段と、
上記判断手段によって上記記憶手段の記憶内容を更新するイベントが発生したと判断された際に、当該記憶手段の記憶内容の更新が行われたことを認識できない周辺機器と当該記憶手段の記憶内容の更新が行われたことを認識できる周辺機器の内、当該記憶手段の記憶内容の更新が行われたことを認識できない周辺機器との接続を一旦切断する切断手段と、
上記記憶手段の記憶内容の更新が完了した際、上記切断手段によって切断された周辺機器との無線接続を再度行う再接続手段と、
を具備したことを特徴とするデジタルカメラ。 In digital cameras that can be wirelessly connected to each of multiple peripheral devices,
Imaging means for capturing an image by photographing a subject;
Storage means for storing at least an image acquired by the imaging means;
A determination unit that determines whether an event for updating the storage content stored in the storage unit has occurred in a wireless connection with the plurality of peripheral devices;
When it is determined by the determination means that an event for updating the storage contents of the storage means has occurred, the peripheral device that cannot recognize that the storage contents of the storage means have been updated and the storage contents of the storage means Of the peripheral devices that can recognize that the update has been performed, a disconnecting unit that temporarily disconnects the peripheral device that cannot recognize that the storage content of the storage unit has been updated , and
When the update of the storage contents of the storage unit is completed, a reconnection unit that performs wireless connection again with the peripheral device disconnected by the disconnection unit,
A digital camera comprising:
上記記憶手段に記憶されている記憶内容の更新を行うイベントは、上記周辺機器のアプリケーションにより発生されることを特徴とする請求項6に記載のデジタルカメラ。 The peripheral device has an application for updating the storage contents of the storage means,
The digital camera according to claim 6, wherein an event for updating the storage content stored in the storage unit is generated by an application of the peripheral device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008094379A JP5004851B2 (en) | 2008-03-31 | 2008-03-31 | Digital camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008094379A JP5004851B2 (en) | 2008-03-31 | 2008-03-31 | Digital camera |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009246906A JP2009246906A (en) | 2009-10-22 |
JP5004851B2 true JP5004851B2 (en) | 2012-08-22 |
Family
ID=41308300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008094379A Expired - Fee Related JP5004851B2 (en) | 2008-03-31 | 2008-03-31 | Digital camera |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5004851B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357439B (en) | 2011-12-28 | 2019-04-05 | 富士胶片株式会社 | Lens unit |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05347574A (en) * | 1992-06-12 | 1993-12-27 | Seiko Epson Corp | Selective radio call receiver |
JP2004310400A (en) * | 2003-04-07 | 2004-11-04 | Fuji Photo Film Co Ltd | Information transmitting and receiving system |
JP2004312367A (en) * | 2003-04-07 | 2004-11-04 | Fuji Photo Film Co Ltd | Digital camera, data synchronizing system, data synchronizing method |
JP2005216101A (en) * | 2004-01-30 | 2005-08-11 | Canon Inc | Method for controlling information system, information processor, storage media, and program |
US8868628B2 (en) * | 2005-12-19 | 2014-10-21 | International Business Machines Corporation | Sharing computer data among computers |
-
2008
- 2008-03-31 JP JP2008094379A patent/JP5004851B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009246906A (en) | 2009-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100861389B1 (en) | Image pickup apparatus having communication function, method for controlling the same, and computer-readable storage medium | |
JP5110805B2 (en) | Communication terminal, communication method and program capable of wired and wireless communication | |
JP6097507B2 (en) | COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD | |
JP4564810B2 (en) | Imaging device | |
JP5687602B2 (en) | Memory card with wireless communication function, operation method of memory card with wireless communication function, program, digital camera, and operation method of digital camera | |
KR101791860B1 (en) | Communication apparatus and method for controlling communication apparatus | |
JP6433265B2 (en) | Information processing apparatus, electronic device, control method thereof, program, and storage medium | |
JP5629468B2 (en) | Information processing apparatus and control method thereof | |
JP5093109B2 (en) | External storage device and camera | |
JP2018037894A (en) | Electronic device and control method of the same | |
JP5004851B2 (en) | Digital camera | |
JP6529852B2 (en) | Information acquisition apparatus, information acquisition system including the same, control method of information acquisition apparatus, and program for information acquisition apparatus | |
CN109314794B (en) | Information processing apparatus, imaging apparatus, and system | |
EP2309735A1 (en) | Recording control device | |
US9380199B2 (en) | Recording medium and control method thereof | |
JP4621298B2 (en) | Imaging device | |
JP6478615B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP4677504B2 (en) | Imaging device | |
JP5319813B2 (en) | Information processing apparatus, information processing system, data processing method, and program | |
JP5562059B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
JP4960910B2 (en) | Information processing apparatus, information processing system having the information processing apparatus and imaging device, and data processing method, program, and storage medium in the information processing apparatus | |
JP4804317B2 (en) | Electronics | |
JP2007104595A (en) | Imaging apparatus and information processing apparatus | |
JP2017055366A (en) | Communication device, control method therefor and program | |
JP2010212896A (en) | Imaging apparatus, and control method and program thereof |
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: 20120117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120221 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120329 |
|
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: 20120508 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120522 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150601 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5004851 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: 20150601 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 |