JP5043706B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents
COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Download PDFInfo
- Publication number
- JP5043706B2 JP5043706B2 JP2008029562A JP2008029562A JP5043706B2 JP 5043706 B2 JP5043706 B2 JP 5043706B2 JP 2008029562 A JP2008029562 A JP 2008029562A JP 2008029562 A JP2008029562 A JP 2008029562A JP 5043706 B2 JP5043706 B2 JP 5043706B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- time
- state
- receiving
- communication device
- 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
Landscapes
- Facsimiles In General (AREA)
- Facsimile Transmission Control (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、サーバ装置と通信可能に接続された通信装置、当該通信装置による通信方法、及び、当該通信方法をコンピュータに実行させるためのプログラムに関するものである。 The present invention relates to a communication device communicably connected to a server device, a communication method using the communication device, and a program for causing a computer to execute the communication method.
近年、ネットワークのブロードバンド化が普及しており、ADSLやFTTHに見られるようなコンシューマ向けのアクセス回線に加え、屋外、家庭内でアクセスポイントやPHSなどを利用してネットワーク通信を行える無線インフラも整備されてきている。さらに、これらインフラを利用して撮影した画像を遠隔地のパーソナルコンピュータ等に送信することができるデジタルカメラも提案されている。 In recent years, network broadbandization has become widespread, and in addition to consumer access lines such as those found in ADSL and FTTH, a wireless infrastructure has also been established that allows network communications using access points and PHS outdoors and at home. Has been. Furthermore, a digital camera capable of transmitting images taken using these infrastructures to a remote personal computer has been proposed.
従来、これらのブロードバンド対応機器(通信装置)において、ネットワーク通信が行われない場合は、当該機器に搭載されているネットワークI/Fへの電力供給を停止し、当該機器の省電力化を図る技術が提案されている(例えば、特許文献1)。 Conventionally, in these broadband-compatible devices (communication devices), when network communication is not performed, a technique for stopping power supply to the network I / F mounted on the device and reducing the power consumption of the device Has been proposed (for example, Patent Document 1).
一方、例えば、DHCP(Dynamic Host Configuration Protocol)サーバから割り振られたIPアドレスのリース期間といった、時間単位で変化するネットワーク情報も存在する。したがって、ネットワーク情報を利用する装置は、装置内で正確に時間情報を管理する必要がある。 On the other hand, there is also network information that changes in units of time, such as a lease period of an IP address allocated from a Dynamic Host Configuration Protocol (DHCP) server. Therefore, a device using network information needs to manage time information accurately in the device.
しかしながら、特許文献1では、画像撮像装置の内部で管理している時間情報自体が変更された場合の振る舞いについては、全く考慮されていなかった。例えば、省電力モード時に当該通信装置内部の時間情報が変更された場合、その後、省電力モードからの復帰時またはパワーオフモードからの復帰時にネットワーク上の他の機器と同期が取れなくなってしまうという問題があった。
However, in
本発明は上述した問題点に鑑みてなされたものであり、省電力モードまたはパワーオフモードを有する機器であっても、ネットワーク上の他の機器と正確に同期をとれるようにすることを目的とする。 The present invention has been made in view of the above-described problems, and it is an object of the present invention to accurately synchronize with other devices on a network even in a device having a power saving mode or a power off mode. To do.
本発明に係る通信装置は、第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置であって、サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、計時手段が示す時刻を取得する取得手段と、前記受信手段が前記アドレスを受信した後に当該通信装置が前記第2の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知手段とを有し、前記計時手段が示す時刻が変更されたことを前記検知手段が検知した場合、前記受信手段は、前記アドレスを再度受信する。 A communication device according to the present invention is a communication device having a first state and a second state that consumes less power than the first state, and is connected to an external device from a server device via a network. A receiving means for receiving an address for communication and a lease period of the address; an acquiring means for acquiring a time indicated by a time measuring means; and the communication apparatus receives the address after the receiving means receives the address. The time indicated by the time measuring means includes a detecting means for detecting that the time indicated by the time measuring means is changed while the communication device is in the second state, and the time indicated by the time measuring means is changed. When the detecting means detects that the address is received, the receiving means receives the address again.
また、本発明に係る通信装置は、第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置であって、サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、計時手段が示す時刻を取得する取得手段と、前記受信手段が前記アドレスを受信した後に当該通信装置が前記第2の状態から前記第1の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知手段と、前記計時手段が示す時刻が変更されたことを前記検知手段が検知した場合、前記リース期間と前記変更された時刻とに基づき、前記アドレスが有効か否かを判断する判断手段と有し、前記判断手段により、前記アドレスが有効でないと判断された場合、前記受信手段は、前記アドレスを再度受信する。 The communication device according to the present invention is a communication device having a first state and a second state that consumes less power than the first state, and is externally connected from the server device via a network. A receiving means for receiving an address for communicating with the apparatus, a lease period of the address, an acquiring means for acquiring a time indicated by a time measuring means, and the communication apparatus receives the address after the receiving means receives the address. When the state is shifted from the second state to the first state, the time measuring means detects that the time indicated by the time measuring means has been changed while the communication device is in the second state, and the time measuring means And determining means for determining whether or not the address is valid based on the lease period and the changed time when the detecting means detects that the indicated time has been changed. If the address is determined not to be valid, the receiving means receives the address again.
本発明によれば、省電力モードまたはパワーオフモードを有する装置であっても、ネットワーク上の他の機器と正確に同期をとることができる。 According to the present invention, even a device having a power saving mode or a power off mode can be accurately synchronized with other devices on the network.
以下、本発明を実施するための最良の形態について、添付図面を参照しながら詳細に説明する。
なお、以下に示す本発明の実施形態においては、通信装置として、被写体を撮像してその画像データの出力が可能なカメラ、デジタルカメラ、デジタルビデオカメラ等の画像撮像装置を適用した例を示す。より具体的には、通信装置として、デジタルカメラからなる画像撮像装置を適用した例を示す。また、以下に示す本発明の実施形態においては、時間単位で管理が必要なネットワーク情報として、DHCPサーバから割り振られるIPアドレスを適用した例を示す。
The best mode for carrying out the present invention will be described below in detail with reference to the accompanying drawings.
In the embodiment of the present invention described below, an example in which an image imaging device such as a camera, a digital camera, or a digital video camera capable of imaging a subject and outputting the image data is applied as a communication device. More specifically, an example in which an image capturing device including a digital camera is applied as the communication device will be described. In the embodiment of the present invention described below, an example is shown in which an IP address allocated from a DHCP server is applied as network information that needs to be managed in time units.
(第1の実施形態)
本発明の第1の実施形態について、添付図面を参照しながら詳細に説明する。
図1は、本発明の第1の実施形態に係る画像撮像システム(ネットワーク通信システム)の全体構成の一例を示すブロック図である。
(First embodiment)
A first embodiment of the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 is a block diagram showing an example of the overall configuration of an image capturing system (network communication system) according to the first embodiment of the present invention.
図1に示すように、画像撮像システム10は、画像撮像装置(100、100a、100b)と、アクセスポイント(200、200b)と、ルーター(300、300a、300b)と、ネットワーク(400)を有して構成されている。更に、画像撮像システム10は、パーソナルコンピュータ(500a、500b)と、サーバ装置(600a、600b)を有して構成されている。即ち、画像撮像装置(100、100a、100b)は、ネットワーク(400)を介して、パーソナルコンピュータ(500a、500b)、及び、サーバ装置(600a、600b)と通信可能に接続されている。
As shown in FIG. 1, the image capturing
画像撮像装置(100、100a、100b)は、本発明に係る通信装置に相当するものであり、DHCPクライアントの機能と通信機能とが搭載されている。この画像撮像装置において、無線LAN通信機能を使用する場合には、画像撮像装置(100、100b)のように、アクセスポイント(200、200b)及びルーター(300、300b)を介してネットワーク(400)に接続される。また、有線通信機能を使用する場合には、画像撮像装置(100a)のように、ルーター(300a)に直接接続されてネットワーク(400)に接続される。 The image capturing devices (100, 100a, 100b) correspond to the communication device according to the present invention, and are equipped with a DHCP client function and a communication function. When the wireless LAN communication function is used in this image pickup apparatus, the network (400) is connected via the access point (200, 200b) and the router (300, 300b) like the image pickup apparatus (100, 100b). Connected to. When the wired communication function is used, like the image pickup apparatus (100a), it is directly connected to the router (300a) and connected to the network (400).
パーソナルコンピュータ(500a、500b)、及び、サーバ装置(600a、600b)は、それぞれ、ルーター(300a、300b)を介してネットワーク(400)に接続される。ここで、サーバ装置(600a、600b)には、DHCPサーバの機能が搭載され、ネットワーク上の機器が外部装置と通信するためのIPアドレスの割り当てを行う。即ち、サーバ装置(600a、600b)は、DHCPサーバを構成する。 The personal computers (500a, 500b) and the server devices (600a, 600b) are connected to the network (400) via routers (300a, 300b), respectively. Here, the server device (600a, 600b) is equipped with a DHCP server function and assigns an IP address for a device on the network to communicate with an external device. That is, the server devices (600a and 600b) constitute a DHCP server.
本実施形態の画像撮像システム10では、以下に示す処理が行われる。
まず、サーバ装置(600a、600b)は、DHCP機能の技術を使用して、最初の通信モードを設定した時に、ネットワーク上の機器に動的にIPアドレスを割り当てる。なお、このIPアドレスにはリース期間という有効期限が設定されている。リース期間の終了時には、割り当てたIPアドレスをネットワーク上の機器から受信することで、IPアドレスを回収する。また、画像撮像装置(100、100a、100b)は、DHCPクライアント機能を使用して、ネットワーク接続に必要なIPアドレスをサーバ装置から自動取得し、ネットワーク(400)との接続制御の処理を行う。そして、画像撮像装置(100、100a、100b)は、撮影した画像データをネットワーク(400)を介してパーソナルコンピュータ(500a、500b)等の外部装置へ送信する処理を行う。
In the image capturing
First, the server apparatus (600a, 600b) dynamically assigns an IP address to a device on the network when the first communication mode is set using the DHCP function technology. This IP address has an expiration date called a lease period. At the end of the lease period, the IP address is collected by receiving the assigned IP address from a device on the network. The image capturing apparatuses (100, 100a, 100b) use the DHCP client function to automatically obtain an IP address necessary for network connection from the server apparatus, and perform connection control processing with the network (400). Then, the image capturing devices (100, 100a, 100b) perform processing for transmitting the captured image data to an external device such as a personal computer (500a, 500b) via the network (400).
図2は、本発明の第1の実施形態に係る画像撮像装置(通信装置)の概略構成の一例を示すブロック図である。以下の説明では、画像撮像装置を代表して、画像撮像装置100について説明を行う。
FIG. 2 is a block diagram illustrating an example of a schematic configuration of the image capturing apparatus (communication apparatus) according to the first embodiment of the present invention. In the following description, the
画像撮像装置100は、シャッタースイッチ101と、光学系112と、撮像素子113と、システム制御部102と、圧縮・伸長部103と、記録部104、105と、ネットワーク接続用インターフェイス(I/F)106を有して構成されている。さらに、画像撮像装置100は、画像記憶メモリ107と、電源部108と、RTC(Real_Time_Clock)109と、揮発性メモリ110と、不揮発性メモリ111と、その他、図2に示す各構成部を有して構成されている。
The
画像撮像装置100は、シャッタースイッチ101が押下されると、撮影動作を開始し、レンズや絞りなどを組み合わせた光学系112を通して得られる被写体像を、撮像素子113が取り込む。このように画像撮像装置100は、当該押下時点での撮影画像に係る画像データを取得する。この際、画像データは、例えば、画像記憶メモリ107に記憶されて取得される。そして、画像撮像装置100では、例えば、システム制御部102において、必要に応じて、画像記憶メモリ107に記憶された画像データの画像処理を行う。その後、画像データは、圧縮・伸長部103によって所定の形式で圧縮された後、メモリカード等から構成される記録部104、105に格納される。
When the
さらに、画像撮像装置100は、記録部104、105に格納された画像データを、必要に応じて、ネットワーク接続用I/F106を介して他の機器にネットワーク(400)を経由して送信する。或いは、画像撮像装置100は、記録部104、105に書き込まれる前の画像記憶メモリ107に記憶されている画像データを、必要に応じて、他の機器(外部装置)にネットワーク(400)を経由して送信することもできる。
Furthermore, the
具体的に、ネットワーク接続用I/F106によって、画像撮像装置100は、LANに接続することができる。そして、画像撮像装置100は、このLANを介してネットワーク(400)に接続を行う。ネットワーク接続用I/F106は、イーサネット(登録商標)接続回路もしくは無線LAN接続回路等からなり、撮影者により通信モードが設定されると電源部108から電力が供給され、通信モードが終了すると電源部108からの電力の供給が停止される。なお、ネットワーク接続用I/F106は、例えば、記録部104、105にLAN通信カードを装着して実現する構成としても良い。
Specifically, the
電源部108は、画像撮像装置100内の各種ブロックに電力を供給する。この電源部108は画像撮像装置100から着脱可能であってもよいし、内蔵されたものでもよい。システム制御部102は、撮影者からの操作入力に応じて、電源部108に通電の要求を指令することにより、例えば、電源部108からネットワーク接続用I/F106へ電力の供給を開始する。この状態が通常電力モードに設定された第1の状態である。また、電源部108は、外部装置との通信が切断されると、ネットワーク接続用I/F106への電力の供給を停止する。この状態が省電力モードに設定された第2の状態である。このように、本実施形態における画像撮像装置100は、通常電力モードと省電力モードを使い分けることで、電力の消費を抑制することができる。但し、この場合、記録部104、105にLAN通信カードが装着されている場合には、ネットワーク接続用I/F106に代わり、記録部104、105に対して電力の供給の開始及び停止が行われる。
The power supply unit 108 supplies power to various blocks in the
RTC109は、画像撮像装置100に対する電源部108からの電力の供給が遮断されたとしても、電源部108とは別の内蔵電池(図示せず)を用いて、常に、実時間情報を計時し続けることができる。ここで、RTC109は、後述するIPアドレス取得時間等の基準となる実時間を計時する計時手段の一例である。
Even if the power supply from the power supply unit 108 to the
次に、上記構成の画像撮像装置100を用いて、DHCPサーバであるサーバ装置(600a、600b)からIPアドレスを割り当てられたと同時に通知されるリース期間等の時間情報を管理する方法について説明する。さらに、当該時間情報を管理する方法を用いて、画像撮像装置100において実施されるネットワーク接続処理の方法について説明する。
Next, a method for managing time information such as a lease period that is notified at the same time that an IP address is assigned from a server apparatus (600a, 600b) that is a DHCP server using the
図3は、本発明の第1の実施形態に係る画像撮像システム(ネットワーク通信システム)の処理手順の一例を示すシーケンス図である。ここで、図3に示すシーケンス図では、特に、画像撮像装置100で時間情報を管理する処理手順を中心に示している。
FIG. 3 is a sequence diagram illustrating an example of a processing procedure of the image capturing system (network communication system) according to the first embodiment of the present invention. Here, in the sequence diagram shown in FIG. 3, the processing procedure for managing time information in the
以下の説明では、図1に示すパーソナルコンピュータ(500a、500b)をFTP(File_Transfer_Protocol)サーバとして使用する例について説明を行う。具体的には、画像撮像装置100と、FTPサーバとして使用するパーソナルコンピュータ(500a、500b)との間で画像転送処理が行われるものとして説明を行う。なお、以下の説明では、画像撮像装置100が使用する通信プロトコルとしてFTPを用いる形態を示すが、本実施形態においては、これに限定されるわけではない。例えば、FTPの他に、PTP(Picture Transfer Protocol)やHTTP(Hyper Txet Transfer Protocol)等の他の通信プロトコルを用いることも可能である。この場合、パーソナルコンピュータ(500a、500b)は、当該他の通信プロトコルに対応したサーバとして使用されることになる。
In the following description, an example in which the personal computer (500a, 500b) shown in FIG. 1 is used as an FTP (File_Transfer_Protocol) server will be described. Specifically, description will be made assuming that image transfer processing is performed between the
まず、図3のステップS101において、画像撮像装置100のシステム制御部102は、電源部108からの電力供給が開始されると、DHCPサーバであるサーバ装置(600a、600b)に対して、IPアドレスの取得要求を行う。この際、システム制御部102は、ネットワーク接続用I/F106を介して、サーバ装置(600a、600b)に対して、IPアドレスの取得要求を送信する。
First, in step S101 in FIG. 3, when the power supply from the power supply unit 108 is started, the
続いて、ステップS102において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対してIPアドレスを割り当て、割当てたIPアドレスを画像撮像装置100に送信して通知する。
Subsequently, in step S102, the server apparatuses (600a, 600b) that are DHCP servers allocate an IP address to the
続いて、ステップS103において、画像撮像装置100のシステム制御部102は、ステップS102で割り当てられたIPアドレスを受信して取得すると共に、当該IPアドレスを割り振られた時間をRTC109から取得する。即ち、ステップS103では、DHCPサーバであるサーバ装置(600a、600b)からIPアドレスを取得すると共に、当該IPアドレスを取得したIPアドレス取得時間を、RTC109から取得する。
Subsequently, in step S103, the
続いて、ステップS104において、画像撮像装置100のシステム制御部102は、ステップS103で取得したIPアドレス取得時間を、揮発性メモリ110に格納して管理する。
Subsequently, in step S104, the
続いて、ステップS105において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対して、ステップS102で割り当てたIPアドレスのリース期間の通知を行う。
Subsequently, in step S105, the server apparatuses (600a and 600b) which are DHCP servers notify the
続いて、ステップS106において、画像撮像装置100のシステム制御部102は、ステップS105で通知されたIPアドレスのリース期間を受信して取得し、揮発性メモリ110に格納して管理する。
Subsequently, in step S <b> 106, the
この状態で撮影者によりシャッタースイッチ101が押下されると、続いて、ステップS107において、画像撮像装置100のシステム制御部102は、撮影動作を開始し、撮影画像に係る画像データを生成する処理を行う。そして、システム制御部102は、撮影者(使用者)の操作により予め設定された、FTPサーバであるパーソナルコンピュータ(500a、500b)に対して、ネットワーク接続用I/F106を介して、生成した画像データを転送する処理を行う。この際、ネットワーク接続用I/F106は、ステップS103で取得したIPアドレスを用いて、FTPサーバであるパーソナルコンピュータ(500a、500b)と通信を行い、画像データの転送を行う。
When the photographer presses the
その後、例えば、シャッタースイッチ101が一定時間押下されなければ、続いて、ステップS108において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態とする。この際、システム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止する。この場合、画像撮像装置100自体に対する電源部108からの電力の供給は停止されていないため、揮発性メモリ110への電力の供給は停止されていない状態(以降、必要に応じて「スリープ状態」と称する)である。そのため、揮発性メモリ110に格納されているネットワーク情報であるIPアドレスのリース期間情報とIPアドレス取得時間情報が消去されることはない。
Thereafter, for example, if the
ここで、ステップS108の省電力モード状態(スリープ状態)において、RTC109で管理している実時間が変更された場合(ステップS1081)について説明する。この場合、画像撮像装置100のシステム制御部102はスリープ状態から復帰後、これを検知する。時間の変更を検知した場合、システム制御部102は、ステップS103で取得したIPアドレスを開放する処理を行う。その後、ステップS109において、画像撮像装置100のシステム制御部102は、DHCPサーバであるサーバ装置(600a、600b)に対して、ネットワーク接続用I/F106を介して、再度、IPアドレスの取得要求を行う。
Here, the case where the actual time managed by the
続いて、ステップS110において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対して、IPアドレスの割り当てを行う。
Subsequently, in step S <b> 110, the server apparatuses (600 a and 600 b) that are DHCP servers assign an IP address to the
続いて、ステップS111において、画像撮像装置100のシステム制御部102は、ステップS110で割り当てられたIPアドレスを再度受信、取得すると共に、当該IPアドレスを割り振られた時間をRTC109から取得する。即ち、ステップS111では、DHCPサーバであるサーバ装置(600a、600b)からIPアドレスを再取得すると共に、当該IPアドレスを取得したIPアドレス取得時間を、管理時間が変更されたRTC109から取得する。
Subsequently, in step S111, the
続いて、ステップS112において、画像撮像装置100のシステム制御部102は、ステップS111で取得したIPアドレス取得時間を、揮発性メモリ110に格納して管理する。この際、ステップS104で格納したIPアドレス取得時間情報は消去されて、ステップS111で取得したIPアドレス取得時間情報に書き換えられて格納される。
Subsequently, in step S112, the
続いて、ステップS113において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対して、ステップS110で割り当てたIPアドレスのリース期間の通知を行う。
Subsequently, in step S113, the server apparatuses (600a, 600b) which are DHCP servers notify the
続いて、ステップS114において、画像撮像装置100のシステム制御部102は、ステップS113で通知されたIPアドレスのリース期間を、揮発性メモリ110に格納して管理する。この際、ステップS106で格納したIPアドレスのリース期間情報は消去されて、ステップS113で通知されたIPアドレスのリース期間情報に書き換えられて格納される。
Subsequently, in step S114, the
その後、シャッタースイッチ101が一定時間押下されなかった場合について説明する。この場合、ステップS115において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態(スリープ状態)とする。
Thereafter, a case where the
スリープ状態に移行した後、転送準備動作が行われた場合について説明する。シャッタースイッチ101が押下されると、ステップS116において、画像撮像装置100のシステム制御部102は、撮影動作を開始する。そして、システム制御部102は、撮影画像に係る画像データを生成する処理を行って、当該画像データの画像転送準備動作を行う。この際、画像転送準備動作は、上述したシャッタースイッチ101が押下されたことを契機として行われる形態に限られない。例えば、画像撮像装置100の表示部(不図示)に表示されたGUI画面上から、撮影者が転送画像の画像データを選択したことを契機として行われる形態であっても良い。この画像データの転送準備動作がなされると、システム制御部102は、画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。これにより、省電力モード状態(スリープ状態)から通常電力モード状態に復帰することになる。
A case where a transfer preparation operation is performed after shifting to the sleep state will be described. When the
続いて、ステップS117において、画像撮像装置100のシステム制御部102は、ステップS115における省電力モードからの復帰時間を、RTC109から取得する。なお、図3の例では、ステップS115で省電力モード状態(スリープ状態)となる例を示しているが、例えば、画像撮像装置100自体への電源部108からの電力供給が停止(遮断)された状態であるパワーオフモード状態となる形態であってもよい。このパワーオフモード状態は、例えば、撮影者(使用者)により電源スイッチ(不図示)が操作されたことを契機として移行する。また、ステップS115がパワーオフモード状態である場合には、ステップS117において、パワーオフモードからの復帰時間が、RTC109から取得されることになる。
Subsequently, in step S117, the
続いて、ステップS118において、画像撮像装置100のシステム制御部102は、まず、ステップS111で取得したIPアドレス取得時間とステップS117で取得した省電力モードからの復帰時間との差を算出する。ここで算出された差は、ステップS111でIPアドレスを取得してから省電力モードから復帰するまでに経過した経過時間、つまりIPアドレスを所有している所有時間を示す。その後、システム制御部102は、算出したIPアドレスの所有時間とステップS113で通知されたIPアドレスのリース期間とを比較する。
Subsequently, in step S118, the
続いて、ステップS119において、画像撮像装置100のシステム制御部102は、ステップS118の比較の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えているか否かを判断する。
Subsequently, in step S119, the
ステップS119の判断の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えていない場合(即ち、IPアドレスの所有時間がIPアドレスのリース期間内である場合)には、ステップS120に進む。ステップS120に進むと、システム制御部102は、撮影者(使用者)が指定した、パーソナルコンピュータ(500a、500b)に対して、ネットワーク接続用I/F106を介して、ステップS116で生成した画像データを転送する処理を行う。この際、ネットワーク接続用I/F106は、ステップS111で既に取得済の(即ち、前回取得した)IPアドレスを用いて、FTPサーバであるパーソナルコンピュータ(500a、500b)と通信を行い、画像データの転送を行う。その後、ステップS115に移行する。
If it is determined in step S119 that the IP address possession time does not exceed the IP address lease period (that is, the IP address possession time is within the IP address lease period), the process proceeds to step S120. In step S120, the
一方、ステップS119の判断の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えている場合には、ステップS101に戻る。そして、この場合、DHCPサーバであるサーバ装置(600a、600b)に対して、再度、IPアドレスの取得要求を行うことになる。 On the other hand, if it is determined in step S119 that the IP address possession time exceeds the IP address lease period, the process returns to step S101. In this case, an IP address acquisition request is made again to the server devices (600a, 600b) that are DHCP servers.
以上が、第1の実施形態における処理の一例を示すシーケンスである。以下、フローチャートを用いてさらに詳細に説明する。
図4−1及び図4−2は、本発明の第1の実施形態に係る画像撮像装置(通信装置)の処理手順の一例を示すフローチャートである。ここで、図4−1及び図4−2に示すフローチャートでは、特に、画像撮像装置100で実施されるネットワーク接続の処理手順を中心に示している。
The above is a sequence showing an example of processing in the first embodiment. Hereinafter, it will be described in further detail using a flowchart.
FIGS. 4A and 4B are flowcharts illustrating an example of a processing procedure of the image capturing apparatus (communication apparatus) according to the first embodiment of the present invention. Here, in the flowcharts illustrated in FIGS. 4A and 4B, the network connection processing procedure performed by the
まず、図4−1のステップS201において、画像撮像装置100の電源スイッチ(不図示)が操作されると、システム制御部102は、電源部108から電力を供給する制御を行い、電源の投入処理をする。即ち、ステップS201では、システム制御部102は、電源の投入処理を行って、パワーオフモードからの復帰の処理を行う。
First, in step S201 of FIG. 4-1, when a power switch (not shown) of the
続いて、ステップS202において、システム制御部102は、画像撮像装置100の初期化処理を実行する。ステップS202の初期化処理が終了すると、画像撮像装置100では、撮影者の操作待ちとなる。
Subsequently, in step S <b> 202, the
続いて、ステップS203において、システム制御部102は、撮影者からの操作に基づいて、前回設定したネットワーク接続パラメータ(ネットワーク情報)を用いたネットワーク接続処理を行うか否かを判断する。ここで、本実施形態においては、ネットワーク接続処理を行う方法として2つの方法がある。1つは、前回設定したネットワーク接続パラメータを用いる方法である。もう1つは、画像撮像装置100のGUI画面から撮影者の操作により新たに設定されるネットワーク接続パラメータを用いる方法である。
Subsequently, in step S203, the
ステップS203の判断の結果、前回設定したネットワーク接続パラメータを用いたネットワーク接続処理を行わない場合には、ステップS204に進む。ステップS204に進むと、システム制御部102は、撮影者からの操作に基づいて、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行うか否かを判断する。
As a result of the determination in step S203, if the network connection process using the previously set network connection parameter is not performed, the process proceeds to step S204. In step S204, the
ステップS204の判断の結果、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行う場合には、ステップS205に進む。ステップS205に進むと、システム制御部102は、GUI画面として、表示部(不図示)にネットワーク設定パラメータの設定画面を表示して、ネットワーク設定パラメータ(ネットワーク情報)の入力を受け付ける。
As a result of the determination in step S204, when the network connection process using the network connection parameter set from the GUI screen of the
続いて、ステップS206において、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。
Subsequently, in step S206, the
続いて、ステップS207において、ネットワーク接続用I/F106は、システム制御部102による制御に基づいて、ネットワーク(400)及びサーバ(DHCPサーバ、FTPサーバ)への接続処理を行う。
Subsequently, in step S207, the network connection I /
続いて、ステップS208において、システム制御部102は、ステップS207のネットワーク接続用I/F106による接続処理が成功したか否かを判断する。
Subsequently, in step S208, the
ステップS208の判断の結果、ステップS207のネットワーク接続用I/F106による接続処理が成功した場合には、ステップS209に進む。ステップS209に進むと、システム制御部102は、IPアドレスの取得方法としてDHCP機能を使用しているか否かを判断する。即ち、ステップS209では、ネットワーク(400)への接続が確立された際、撮用者が画像撮像装置100に対して設定したIPアドレス取得方法がDHCPサーバ(600a、600b)から動的なIPアドレスを取得する方法であるか否かが判断される。
As a result of the determination in step S208, if the connection process by the network connection I /
ステップS209の判断の結果、DHCP機能を使用している場合には、ステップS210に進む。ステップS210に進むと、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から割り当てられたIPアドレスを取得すると共に、当該IPアドレスを取得した時間を示すIPアドレス取得時間をRTC109から取得する。さらに、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から通知されたIPアドレスのリース期間を受信する。そして、システム制御部102は、当該IPアドレスのリース期間と当該IPアドレス取得時間を、揮発性メモリ110に格納して管理する。このステップS210における処理は、例えば、図3に示すステップS103、S104及びS106と同様である。
If the result of determination in step S209 is that the DHCP function is being used, processing proceeds to step S210. In step S210, the
一方、ステップS209でDHCP機能を使用していないと判断された場合、或いは、ステップS210の処理が終了した場合には、ステップS223に進む。 On the other hand, if it is determined in step S209 that the DHCP function is not used, or if the process of step S210 is completed, the process proceeds to step S223.
また、ステップS204の判断の結果、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行わない場合(即ち、ネットワーク接続処理を行わない場合)には、ステップS211に進む。ステップS211に進むと、システム制御部102は、画像撮像装置100を撮影モードとして機能させる。即ち、この場合、画像撮像装置100は、デジタルカメラとして機能することになる。そして、画像撮像装置100による撮影モードが終了すると、ステップS204に戻る。
As a result of the determination in step S204, if the network connection process using the network connection parameter set from the GUI screen of the
一方、ステップS203の判断の結果、前回設定したネットワーク接続パラメータを用いたネットワーク接続処理を行う場合には、ステップS212に進む。この際、前回設定したネットワーク接続パラメータ(ネットワーク情報)には、割り当てられたIPアドレス、当該IPアドレスのリース期間等の情報が含まれるものとする。ステップS212に進むと、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。
On the other hand, if it is determined in step S203 that network connection processing using the previously set network connection parameter is to be performed, the process proceeds to step S212. At this time, it is assumed that the previously set network connection parameter (network information) includes information such as the assigned IP address and the lease period of the IP address. In step S212, the
続いて、ステップS213において、システム制御部102は、IPアドレスのリース期間の残り時間があるか否かを判断する。具体的に以下の処理を行う。
Subsequently, in step S213, the
まず、システム制御部102は、ステップS201の電源投入に係る時間、即ち、省電力モードからの復帰時またはパワーオフモードからの復帰時における復帰時間を、RTC109から取得する。次いで、システム制御部102は、IPアドレス取得時間と取得した復帰時間との差(即ち、当該IPアドレスを所有している所有時間)を算出する。次いで、システム制御部102は、算出したIPアドレスの所有時間とIPアドレスのリース期間とを比較し、IPアドレスの所有時間がIPアドレスのリース期間内であるか否かを判断し、Pアドレスのリース期間の残り時間があるか否かを判断する。
First, the
ステップS213の判断の結果、IPアドレスのリース期間の残り時間がない場合、即ち、IPアドレスの所有時間がIPアドレスのリース期間を超えている場合には、ステップS214に進む。この場合、DHCPサーバであるサーバ装置(600a、600b)は、前回の接続時に画像撮像装置100に対して割り当てたIPアドレスを他の通信装置に対して、割り振っている可能性がある。そこで、ステップS214に進み、システム制御部102は、DHCPサーバのサーバ装置(600a、600b)に対して、IPアドレス及び当該IPアドレスのリース期間を含むネットワーク設定パラメータ(ネットワーク情報)を再度取得する処理を行う。
As a result of the determination in step S213, if there is no remaining time of the IP address lease period, that is, if the IP address possession time exceeds the IP address lease period, the process proceeds to step S214. In this case, there is a possibility that the server devices (600a, 600b) which are DHCP servers have assigned the IP address assigned to the
続いて、ステップS215において、システム制御部102は、ステップS214におけるネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功したか否かを判断する。
Subsequently, in step S215, the
ステップS215でネットワーク設定パラメータ(ネットワーク情報)の再取得処理が失敗した場合、或いは、ステップS208の接続処理が失敗した場合には、ステップS216に進む。ステップS216に進むと、システム制御部102は、ネットワーク(400)への接続処理がエラーである旨を、例えば表示部(不図示)や音声出力部(不図示)から報知して、撮影者(使用者)に対して当該エラーを警告する。ここで、例えば、ステップS208の接続処理が失敗した場合(例えば、撮影者により設定されたネットワーク設定パラメータが誤っていたために接続処理が失敗した場合)には、撮影者に対して設定パラメータが間違っている旨の警告が行われる。
If the re-acquisition process of the network setting parameter (network information) fails in step S215, or if the connection process of step S208 fails, the process proceeds to step S216. In step S216, the
続いて、ステップS217において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。その後、ステップS204に戻る。
Subsequently, in step S217, the
一方、ステップS213の判断の結果、IPアドレスのリース期間の残り時間がある場合、即ち、IPアドレスの所有時間がIPアドレスのリース期間内である場合には、ステップS218に進む。ステップS218に進むと、システム制御部102は、ステップS201で電源の投入処理が行われる前の前回のネットワーク設定パラメータ(ネットワーク情報)用いて、ネットワーク(400)への再接続処理を行う。
On the other hand, as a result of the determination in step S213, if there is a remaining time in the lease period of the IP address, that is, if the possession time of the IP address is within the lease period of the IP address, the process proceeds to step S218. In step S218, the
続いて、ステップS219において、システム制御部102は、ステップS218におけるネットワーク(400)への接続処理が成功したか否かを判断する。
Subsequently, in step S219, the
ステップS219の判断の結果、ステップS218におけるネットワーク(400)への接続処理が失敗した場合には、ステップS214に進む。 If the result of determination in step S219 is that the connection processing to the network (400) in step S218 has failed, processing proceeds to step S214.
また、ステップS215の判断の結果、DHCPサーバであるサーバ装置(600a、600b)からネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功した場合には、ステップS220に進む。ステップS220に進むと、システム制御部102は、ステップS214で取得したIPアドレスのIPアドレス取得時間をRTC109から取得する。そして、システム制御部102は、当該IPアドレス取得時間と、ステップS214で取得したIPアドレスのリース期間を、揮発性メモリ110に格納して管理する。
If the re-acquisition process of the network setting parameters (network information) from the server devices (600a, 600b) that are DHCP servers is successful as a result of the determination in step S215, the process proceeds to step S220. In step S220, the
続いて、ステップS221において、システム制御部102は、例えば、撮影者からの操作に基づいて、撮影画像の画像データを転送する、FTPサーバであるパーソナルコンピュータ(500a、500b)を設定する。
Subsequently, in step S221, the
ステップS221の処理が終了した場合、或いは、ステップS219でネットワーク(400)への接続処理が成功したと判断された場合には、ステップS222に進む。ステップS222に進むと、システム制御部102は、既に設定されているFTPサーバへの接続処理を行い、当該FTPサーバへの接続処理が成功したか否かを判断する。
When the process of step S221 is completed, or when it is determined in step S219 that the connection process to the network (400) is successful, the process proceeds to step S222. In step S222, the
ステップS222の判断の結果、既に設定されているFTPサーバへの接続処理が失敗した場合には、ステップS216に進んで、撮影者(使用者)に対して、当該FTPサーバへの接続処理がエラーである旨の警告を行う。 As a result of the determination in step S222, if the connection process to the already set FTP server has failed, the process proceeds to step S216, and the connection process to the FTP server is in error for the photographer (user). It warns that it is.
一方、ステップS222の判断の結果、既に設定されているFTPサーバへの接続処理が成功した場合には、ステップS223に進む。ステップS223に進むと、システム制御部102は、画像撮像装置100で実際に撮影動作が行われて撮影画像の画像データの生成が行われ、転送画像データが発生したか否かを判断する。
On the other hand, as a result of the determination in step S222, if the connection process to the already set FTP server is successful, the process proceeds to step S223. In step S223, the
ステップS223の判断の結果、転送画像データが発生した場合には、ステップS224に進む。ステップS224に進むと、システム制御部102は、既に設定されているFTPサーバに対して、転送画像データの画像転送処理を行う。
If transfer image data is generated as a result of the determination in step S223, the process proceeds to step S224. In step S224, the
一方、ステップS223の判断の結果、転送画像データが発生しない場合には、ステップS225に進む。ステップS225に進むと、システム制御部102は、当該転送画像データが発生しない時間が、予め設定された設定時間を超えたか否かを判断する。
On the other hand, if it is determined in step S223 that no transfer image data is generated, the process proceeds to step S225. In step S225, the
ステップS225の判断の結果、当該転送画像データが発生しない時間が、予め設定された設定時間を超えていない場合(即ち、設定時間内である場合)には、ステップS223に戻る。 As a result of the determination in step S225, when the time during which the transfer image data is not generated does not exceed the preset set time (that is, within the set time), the process returns to step S223.
一方、ステップS225の判断の結果、当該転送画像データが発生しない時間が、予め設定された設定時間を超えている場合には、図4−2に示すステップS301に進み、図4−2に示す省電力モード状態(スリープ状態)への移行処理が行われる。 On the other hand, as a result of the determination in step S225, if the time during which the transfer image data is not generated exceeds the preset set time, the process proceeds to step S301 shown in FIG. 4-2 and shown in FIG. Transition processing to the power saving mode state (sleep state) is performed.
まず、図4−2に示すステップS301において、システム制御部102は、RTC109で管理している実時間の設定が変更されたか否かを判断する。
First, in step S301 shown in FIG. 4B, the
ステップS301の判断の結果、RTC109で管理している実時間の設定が変更されたと判断した場合には、ステップS302に進む。ステップS302に進むと、システム制御部102は、現在取得しているネットワーク設定パラメータ(ネットワーク情報)を開放する処理を行う。ここで、ネットワーク設定パラメータ(ネットワーク情報)には、現在取得しているIPアドレス及びそのリース期間の情報が含まれる。
If it is determined in step S301 that the real time setting managed by the
続いて、ステップS303において、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から、新しいネットワーク設定パラメータ(ネットワーク情報)の再取得処理を行う。ここで、新しいネットワーク設定パラメータ(ネットワーク情報)には、新しいIPアドレス及び当該新しいIPアドレスのリース期間の情報が含まれる。
Subsequently, in step S303, the
続いて、ステップS304において、システム制御部102は、まず、ステップS303で取得した新しいIPアドレスのIPアドレス取得時間を、実時間の設定が変更されたRTC109から取得する。次いで、システム制御部102は、新しいIPアドレスのIPアドレス取得時間、及び、ステップS303で取得した新しいIPアドレスのリース期間を、揮発性メモリ110に退避して管理する。
Subsequently, in step S304, the
ステップS304の処理が終了した場合、或いは、ステップS301でRTC109の実時間の設定が変更されていないと判断された場合には、ステップS305に進む。ステップS305に進むと、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。この際、画像撮像装置100自体への電源部108からの電力供給は停止されないため、揮発性メモリ110への電力供給は停止されていない状態である。このため、ステップS304で揮発性メモリ110に退避させた情報が消去されることはない。
When the process of step S304 is completed, or when it is determined in step S301 that the setting of the real time of the
続いて、ステップS306において、システム制御部102は、画像転送準備動作が発生したか否かを判断する。ここで、このステップS306の処理は、図3のステップS116の処理と同様である。この判断の結果、画像転送準備動作が発生していない場合には、画像転送準備動作が発生するまで、ステップS306で待機する。
Subsequently, in step S306, the
一方、ステップS306の判断の結果、画像転送準備動作が発生した場合には、システム制御部102は、画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。これにより、省電力モード状態(スリープ状態)から通常電力モード状態に復帰することになる。その後、図4−1のステップS212に移行し、ステップS212以降の処理が行われる。
On the other hand, if the result of the determination in step S306 is that an image transfer preparation operation has occurred, the
なお、本実施形態では、実時間情報をRTC109から取得する形態を示しているが、例えば、GPS(Global Positioning System)などから実時間情報を取得する方法でも本発明は実施可能である。
In the present embodiment, the real-time information is acquired from the
また、本実施形態の画像撮像装置100では、画像撮像装置100自体への電源部108からの電力供給が停止された場合(即ち、パワーオフモードの場合)、揮発性メモリ110への電力供給も停止される状態になる。この場合、本実施形態の画像撮像装置100では、例えば、システム制御部102において、揮発性メモリ110上に管理していた、IPアドレスのリース期間情報及びIPアドレス取得時間情報等を、不揮発性メモリ111に退避させて管理する。この処理は、画像撮像装置100自体への電源部108からの電力供給が停止されてしまうため、揮発性メモリ110の記憶情報を不揮発性メモリ111に移し変えて、当該記憶情報が消去されてしまうことを回避するためである。
Further, in the
また、本実施形態の画像撮像装置100では、例えば、システム制御部102において、以下の処理を行うようにしてもよい。
まず、省電力モードまたはパワーオフモードに遷移する前に、DHCPサーバから既に取得済のIPアドレスの使用可能期間を検出する。そして、検出した使用可能期間が当該IPアドレスのリース期間に対して残りが短い場合(即ち、ある閾値よりも小さい場合)に、当該IPアドレスの再取得を行い、当該IPアドレスのリース期間の延長処理を行うようにする。
Further, in the
First, before the transition to the power saving mode or the power off mode, the usable period of the IP address already acquired from the DHCP server is detected. When the detected usable period is short with respect to the lease period of the IP address (that is, smaller than a certain threshold value), the IP address is reacquired and the lease period of the IP address is extended. Do processing.
また、本実施形態では、画像撮像装置100の内部にネットワーク接続用I/F106を設けて、画像撮像装置100への電源部108からの電力の供給及び停止のタイミングが同じであることを前提に説明してきた。しかしながら、画像撮像装置の機能しか持っていない装置とネットワーク接続用I/F106しか持っていない装置とをコネクタやケーブルなどで接続することで、画像撮像装置100と同様の機能を実現できるシステムにおいても本発明は有効である。この場合、ネットワーク接続用I/Fがスリープ状態の時は、例えば、ネットワーク接続用I/Fを有する装置の揮発性メモリ内にネットワーク情報を管理する。そして、オートパワーオフ状態に遷移する時に、ネットワーク接続用I/Fを有する装置の揮発性メモリ内のネットワーク情報を、画像撮像装置の不揮発性メモリ111に移し変えることにより、本発明は実現可能である。
Further, in this embodiment, it is assumed that the network connection I /
さらに、上述した画像撮像装置の機能しか持っていない装置とネットワーク接続用I/Fしか持っていない装置とをコネクタやケーブルなどで接続する場合には、実時間情報を管理している外部機器から当該実時間情報の変更を通知する方法が適用可能である。この場合、例えば、画像撮像装置のシステム制御部102において、外部装置から実時間情報を取得することになる。また、実時間情報を管理する外部機器において実時間情報の変更通知を行う機構が無い場合には、例えば、ネットワーク接続用I/Fしか持っていない装置から実時間情報を定期的に取得することにより、実時間情報の変更があったものとする方法が適用可能である。
Further, when connecting a device having only the function of the above-described image pickup device and a device having only a network connection I / F by a connector or a cable, an external device that manages real-time information is used. A method for notifying the change of the real-time information is applicable. In this case, for example, the
このように、スリープ状態において実時間情報が変更されると、新しい時間軸上で情報を管理することにより、省電力モード状態(スリープ状態)からの復帰後にネットワーク(400)に再接続することが容易となる。 As described above, when the real-time information is changed in the sleep state, it is possible to reconnect to the network (400) after returning from the power saving mode state (sleep state) by managing the information on the new time axis. It becomes easy.
本実施形態の画像撮像装置100では、DHCPサーバから割り振られる動的IPアドレスに代表されるような時間単位で管理が必要な情報を、ネットワーク(400)への接続を行わずに、省電力モード中でも管理することが可能となる。さらに、本実施形態の画像撮像装置100では、省電力モード中において実時間情報が変更されたことが検知されると、即座にネットワーク情報の更新・再取得を行う。したがって、スリープ状態の間に時間情報が変更された場合でも、実時間とずれたIPアドレスの管理を行うことを防ぐことが可能となる。また、画像撮像装置100では、時間情報を正確に把握しているため、DHCPサーバへの取得要求の回数が減少し、DHCPサーバのトラヒック増大を解消し、スループットが大きく向上する。
In the
加えて、画像撮像装置100では、ネットワーク(400)に接続する際に、前回取得したIPアドレスの所有時間がリース期間を超えており、ネットワーク接続ができなかった場合に、再度、DHCPサーバからネットワーク情報を取得するようにしている。これにより、常に、ネットワーク(400)に接続することができ、装置のパフォーマンスを安定させることで、画像撮像装置の可用性が向上するとともに、利用効率が大幅に向上する。
In addition, when the
本実施形態の画像撮像装置100によれば、例えば省電力モードに移行し、ネットワーク接続用I/F106への電力供給が停止しても、画像撮像装置100内部の実時間情報でネットワーク情報を管理することが可能である。また、省電力モード中に実時間情報の変更があった場合でも、直ちにネットワーク情報の再取得処理および当該画像撮像装置100内部での時間情報の修正を行うことが可能である。これにより、省電力モードからの復帰時またはパワーオフモードを有する装置であっても、ネットワーク上の他の機器と正確に同期をとることができる。
According to the
(第2の実施形態)
本発明の第2の実施形態について、添付図面を参照しながら詳細に説明する。
本発明の第2の実施形態に係る画像撮像システム(ネットワーク通信システム)の全体構成については、図1に示す第1の実施形態に係る画像撮像システムと同様である。また、本発明の第2の実施形態に係る画像撮像装置(通信装置)の概略構成については、図2に示す第1の実施形態に係る画像撮像装置と同様である。このため、その詳細な説明は省略する。
(Second Embodiment)
A second embodiment of the present invention will be described in detail with reference to the accompanying drawings.
The overall configuration of the image capturing system (network communication system) according to the second embodiment of the present invention is the same as that of the image capturing system according to the first embodiment shown in FIG. The schematic configuration of the image capturing apparatus (communication apparatus) according to the second embodiment of the present invention is the same as that of the image capturing apparatus according to the first embodiment shown in FIG. For this reason, the detailed description is abbreviate | omitted.
図5は、本発明の第2の実施形態に係る画像撮像システム(ネットワーク通信システム)の処理手順の一例を示すシーケンス図である。ここで、図5に示すシーケンス図では、特に、画像撮像装置100で時間情報を管理する処理手順を中心に示している。なお、図5に示す処理ステップにおいて、図3に示す処理ステップと同様のものについては、同じ符号を付している。
FIG. 5 is a sequence diagram illustrating an example of a processing procedure of the image capturing system (network communication system) according to the second embodiment of the present invention. Here, in the sequence diagram shown in FIG. 5, the processing procedure for managing time information in the
また、以下の説明では、図1に示すパーソナルコンピュータ(500a、500b)をFTP(File_Transfer_Protocol)サーバとして使用する例について説明を行う。具体的には、画像撮像装置100と、FTPサーバとして使用するパーソナルコンピュータ(500a、500b)との間で画像転送処理が行われるものとして説明を行う。なお、以下の説明では、画像撮像装置100が使用する通信プロトコルとしてFTPを用いる形態を示すが、本実施形態においては、これに限定されるわけではない。例えば、FTPの他に、PTP(Picture Transfer Protocol)やHTTP(Hyper Txet Transfer Protocol)等の他の通信プロトコルを用いることも可能である。この場合、パーソナルコンピュータ(500a、500b)は、当該他の通信プロトコルに対応したサーバとして使用されることになる。
In the following description, an example in which the personal computer (500a, 500b) shown in FIG. 1 is used as an FTP (File_Transfer_Protocol) server will be described. Specifically, description will be made assuming that image transfer processing is performed between the
まず、図5に示すシーケンス図では、図3に示すステップS101〜S107と同様の処理を経る。これにより、画像撮像装置100は、DHCPサーバからIPアドレスを取得すると共に、当該IPアドレスを取得したIPアドレス取得時間、及び、当該IPアドレスのリース期間の情報を揮発性メモリ110に格納して管理する。
First, in the sequence diagram shown in FIG. 5, the same processing as steps S101 to S107 shown in FIG. 3 is performed. As a result, the
その後、例えば、シャッタースイッチ101が一定時間押下されなければ、続いて、ステップS108において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態とする。この際、システム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止する。この場合、画像撮像装置100自体に対する電源部108からの電力の供給は停止されていないため、揮発性メモリ110への電力の供給は停止されていない状態(スリープ状態)である。そのため、揮発性メモリ110に格納されているネットワーク情報であるIPアドレスのリース期間情報とIPアドレス取得時間情報が消去されることはない。
Thereafter, for example, if the
ステップS108の省電力モード状態(スリープ状態)において、RTC109で管理している実時間が変更されると(ステップS1081)、画像撮像装置100のシステム制御部102は、これを検知する。
When the actual time managed by the
続いて、ステップS1082において、画像撮像装置100のシステム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止した省電力モードのまま、RTC109から変更前の実時間情報を取得する。さらに、システム制御部102は、RTC109の実時間が変更される前に揮発性メモリ110に格納したIPアドレス取得時間情報を、当該揮発性メモリ110から読み出す。
Subsequently, in step S1082, the
続いて、ステップS1083において、画像撮像装置100のシステム制御部102は、RTC109から変更後の実時間情報を取得する。
Subsequently, in step S1083, the
続いて、ステップS1084において、画像撮像装置100のシステム制御部102は、ステップS1082で読み出したIPアドレス取得時間を、ステップS1083で取得した変更後の実時間軸上で補正する。具体的に、システム制御部102は、まず、ステップS1082で取得した変更前の実時間とステップS1083で取得した変更後の実時間から、変更された時間の期間を割り出す。そして、システム制御部102は、割り出した期間に基づいて、ステップS1082で読み出したIPアドレス取得時間を補正する。
Subsequently, in step S1084, the
続いて、ステップS1085において、画像撮像装置100のシステム制御部102は、ステップS1084で補正した補正後のIPアドレス取得時間を、補正前のIPアドレス取得時間に書き換えて、揮発性メモリ110に格納する。
Subsequently, in step S1085, the
その後、シャッタースイッチ101が押下されると、ステップS116において、画像撮像装置100のシステム制御部102は、撮影動作を開始する。そして、システム制御部102は、撮影画像に係る画像データを生成する処理を行って、当該画像データの画像転送準備動作を行う。この際、画像転送準備動作は、上述したシャッタースイッチ101が押下されたことを契機として行われる形態に限られない。例えば、画像撮像装置100の表示部(不図示)に表示されたGUI画面上から、撮影者が転送画像の画像データを選択したことを契機として行われる形態であっても良い。この画像データの転送準備動作がなされると、システム制御部102は、画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。これにより、省電力モード状態(スリープ状態)から通常電力モード状態に復帰することになる。
Thereafter, when the
続いて、ステップS117において、画像撮像装置100のシステム制御部102は、ステップS108における省電力モードからの復帰時間を、RTC109から取得する。
Subsequently, in step S117, the
続いて、ステップS118において、画像撮像装置100のシステム制御部102は、まず、ステップS1085で格納したIPアドレス取得時間とステップS117で取得した省電力モードからの復帰時間との差を算出する。ここで算出された差は、ステップS103で取得したIPアドレスを所有している所有時間を示す。その後、システム制御部102は、算出したIPアドレスの所有時間とステップS105で通知されたIPアドレスのリース期間とを比較する。
Subsequently, in step S118, the
続いて、ステップS119において、画像撮像装置100のシステム制御部102は、ステップS118の比較の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えているか否かを判断する。
Subsequently, in step S119, the
ステップS119の判断の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えていない場合(即ち、IPアドレスの所有時間がIPアドレスのリース期間内である場合)には、ステップS120に進む。ステップS120に進むと、システム制御部102は、撮影者(使用者)が指定した、パーソナルコンピュータ(500a、500b)に対して、ネットワーク接続用I/F106を介して、ステップS116で生成した画像データを転送する処理を行う。この際、ネットワーク接続用I/F106は、ステップS103で既に取得済の(即ち、前回取得した)IPアドレスを用いて、FTPサーバであるパーソナルコンピュータ(500a、500b)と通信を行い、画像データの転送を行う。その後、ステップS108に移行する。
If it is determined in step S119 that the IP address possession time does not exceed the IP address lease period (that is, the IP address possession time is within the IP address lease period), the process proceeds to step S120. In step S120, the
一方、ステップS119の判断の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えている場合には、ステップS101に戻る。そして、この場合、DHCPサーバであるサーバ装置(600a、600b)に対して、再度、IPアドレスの取得要求を行うことになる。 On the other hand, if it is determined in step S119 that the IP address possession time exceeds the IP address lease period, the process returns to step S101. In this case, an IP address acquisition request is made again to the server devices (600a, 600b) that are DHCP servers.
図6は、本発明の第2の実施形態に係る画像撮像装置(通信装置)の処理手順の一例を示すフローチャートである。ここで、図6に示すフローチャートでは、特に、画像撮像装置100で実施されるネットワーク接続の処理手順を中心に示している。
FIG. 6 is a flowchart illustrating an example of a processing procedure of the image capturing apparatus (communication apparatus) according to the second embodiment of the present invention. Here, in the flowchart shown in FIG. 6, the network connection processing procedure performed by the
まず、図6の処理を開始する前に、上述した図4−1に示す処理を経る。以下には、まず、図4−1に示す処理について説明する。 First, before the process of FIG. 6 is started, the process shown in FIG. In the following, the process shown in FIG.
まず、図4−1のステップS201において、画像撮像装置100の電源スイッチ(不図示)が操作されると、システム制御部102は、電源部108から電力を供給する制御を行い、電源の投入処理をする。即ち、ステップS201では、システム制御部102は、電源の投入処理を行って、パワーオフモードからの復帰の処理を行う。
First, in step S201 of FIG. 4-1, when a power switch (not shown) of the
続いて、ステップS202において、システム制御部102は、画像撮像装置100の初期化処理を実行する。ステップS202の初期化処理が終了すると、画像撮像装置100では、撮影者の操作待ちとなる。
Subsequently, in step S <b> 202, the
続いて、ステップS203において、システム制御部102は、撮影者からの操作に基づいて、前回設定したネットワーク接続パラメータ(ネットワーク情報)を用いたネットワーク接続処理を行うか否かを判断する。ここで、本実施形態においては、ネットワーク接続処理を行う方法として、第1の実施形態と同様に2つの方法とがあるものとする。
Subsequently, in step S203, the
ステップS203の判断の結果、前回設定したネットワーク接続パラメータを用いたネットワーク接続処理を行わない場合には、ステップS204に進む。ステップS204に進むと、システム制御部102は、撮影者からの操作に基づいて、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行うか否かを判断する。
As a result of the determination in step S203, if the network connection process using the previously set network connection parameter is not performed, the process proceeds to step S204. In step S204, the
ステップS204の判断の結果、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行う場合には、ステップS205に進む。ステップS205に進むと、システム制御部102は、GUI画面として、表示部(不図示)にネットワーク設定パラメータの設定画面を表示して、ネットワーク設定パラメータ(ネットワーク情報)の入力を受け付ける。
As a result of the determination in step S204, when the network connection process using the network connection parameter set from the GUI screen of the
続いて、ステップS206において、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。
Subsequently, in step S206, the
続いて、ステップS207において、ネットワーク接続用I/F106は、システム制御部102による制御に基づいて、ネットワーク(400)及びサーバ(DHCPサーバ、FTPサーバ)への接続処理を行う。
Subsequently, in step S207, the network connection I /
続いて、ステップS208において、システム制御部102は、ステップS207のネットワーク接続用I/F106による接続処理が成功したか否かを判断する。
Subsequently, in step S208, the
ステップS208の判断の結果、ステップS207のネットワーク接続用I/F106による接続処理が成功した場合には、ステップS209に進む。ステップS209に進むと、システム制御部102は、IPアドレスの取得方法としてDHCP機能を使用しているか否かを判断する。即ち、ステップS209では、ネットワーク(400)への接続が確立された際、撮用者が画像撮像装置100に対して設定したIPアドレス取得方法がDHCPサーバ(600a、600b)から動的なIPアドレスを取得する方法であるか否かが判断される。
As a result of the determination in step S208, if the connection process by the network connection I /
ステップS209の判断の結果、DHCP機能を使用している場合には、ステップS210に進む。ステップS210に進むと、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から割り当てられたIPアドレスを取得すると共に、当該IPアドレスを取得した時間を示すIPアドレス取得時間をRTC109から取得する。さらに、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から通知されたIPアドレスのリース期間を受信する。そして、システム制御部102は、当該IPアドレスのリース期間と当該IPアドレス取得時間を、揮発性メモリ110に格納して管理する。このステップS210における処理は、例えば、図5に示すステップS103、S104及びS106と同様である。
If the result of determination in step S209 is that the DHCP function is being used, processing proceeds to step S210. In step S210, the
一方、ステップS209でDHCP機能を使用していないと判断された場合、或いは、ステップS210の処理が終了した場合には、ステップS223に進む。 On the other hand, if it is determined in step S209 that the DHCP function is not used, or if the process of step S210 is completed, the process proceeds to step S223.
また、ステップS204の判断の結果、画像撮像装置100のGUI画面から設定されるネットワーク接続パラメータを用いたネットワーク接続処理を行わない場合(即ち、ネットワーク接続処理を行わない場合)には、ステップS211に進む。ステップS211に進むと、システム制御部102は、画像撮像装置100を撮影モードとして機能させる。即ち、この場合、画像撮像装置100は、デジタルカメラとして機能することになる。そして、画像撮像装置100による撮影モードが終了すると、ステップS204に戻る。
As a result of the determination in step S204, if the network connection process using the network connection parameter set from the GUI screen of the
一方、ステップS203の判断の結果、前回設定したネットワーク接続パラメータを用いたネットワーク接続処理を行う場合には、ステップS212に進む。この際、前回設定したネットワーク接続パラメータ(ネットワーク情報)には、割り当てられたIPアドレス、当該IPアドレスのリース期間等の情報が含まれるものとする。ステップS212に進むと、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。
On the other hand, if it is determined in step S203 that network connection processing using the previously set network connection parameter is to be performed, the process proceeds to step S212. At this time, it is assumed that the previously set network connection parameter (network information) includes information such as the assigned IP address and the lease period of the IP address. In step S212, the
続いて、ステップS213において、システム制御部102は、IPアドレスのリース期間の残り時間があるか否かを判断する。具体的に以下の処理を行う。
Subsequently, in step S213, the
まず、システム制御部102は、ステップS201の電源投入に係る時間、即ち、省電力モードからの復帰時またはパワーオフモードからの復帰時における復帰時間を、RTC109から取得する。次いで、システム制御部102は、IPアドレス取得時間と取得した復帰時間との差(即ち、当該IPアドレスを所有している所有時間)を算出する。次いで、システム制御部102は、算出したIPアドレスの所有時間とIPアドレスのリース期間とを比較し、IPアドレスの所有時間がIPアドレスのリース期間内であるか否かを判断し、Pアドレスのリース期間の残り時間があるか否かを判断する。
First, the
ステップS213の判断の結果、IPアドレスのリース期間の残り時間がない場合、即ち、IPアドレスの所有時間がIPアドレスのリース期間を超えている場合には、ステップS214に進む。ステップS214に進むと、システム制御部102は、DHCPサーバのサーバ装置(600a、600b)に対して、IPアドレス及び当該IPアドレスのリース期間を含むネットワーク設定パラメータ(ネットワーク情報)の再取得処理を行う。
As a result of the determination in step S213, if there is no remaining time of the IP address lease period, that is, if the IP address possession time exceeds the IP address lease period, the process proceeds to step S214. In step S214, the
続いて、ステップS215において、システム制御部102は、ステップS214におけるネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功したか否かを判断する。
Subsequently, in step S215, the
ステップS215でネットワーク設定パラメータ(ネットワーク情報)の再取得処理が失敗した場合、或いは、ステップS208の接続処理が失敗した場合には、ステップS216に進む。ステップS216に進むと、システム制御部102は、ネットワーク(400)への接続処理がエラーである旨を、例えば表示部(不図示)や音声出力部(不図示)から報知して、撮影者(使用者)に対して当該エラーを警告する。ここで、例えば、ステップS208の接続処理が失敗した場合(例えば、撮影者により設定されたネットワーク設定パラメータが誤っていたために接続処理が失敗した場合)には、撮影者に対して設定パラメータが間違っている旨の警告が行われる。
If the re-acquisition process of the network setting parameter (network information) fails in step S215, or if the connection process of step S208 fails, the process proceeds to step S216. In step S216, the
続いて、ステップS217において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。その後、ステップS204に戻る。
Subsequently, in step S217, the
一方、ステップS213の判断の結果、IPアドレスのリース期間の残り時間がある場合、即ち、IPアドレスの所有時間がIPアドレスのリース期間内である場合には、ステップS218に進む。ステップS218に進むと、システム制御部102は、ステップS201で電源の投入処理が行われる前の前回のネットワーク設定パラメータ(ネットワーク情報)用いて、ネットワーク(400)への再接続処理を行う。
On the other hand, as a result of the determination in step S213, if there is a remaining time in the lease period of the IP address, that is, if the possession time of the IP address is within the lease period of the IP address, the process proceeds to step S218. In step S218, the
続いて、ステップS219において、システム制御部102は、ステップS218におけるネットワーク(400)への接続処理が成功したか否かを判断する。
Subsequently, in step S219, the
ステップS219の判断の結果、ステップS218におけるネットワーク(400)への接続処理が失敗した場合には、ステップS214に進む。 If the result of determination in step S219 is that the connection processing to the network (400) in step S218 has failed, processing proceeds to step S214.
また、ステップS215の判断の結果、DHCPサーバであるサーバ装置(600a、600b)からネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功した場合には、ステップS220に進む。ステップS220に進むと、システム制御部102は、ステップS214で取得したIPアドレスのIPアドレス取得時間をRTC109から取得する。そして、システム制御部102は、当該IPアドレス取得時間と、ステップS214で取得したIPアドレスのリース期間を、揮発性メモリ110に格納して管理する。
If the re-acquisition process of the network setting parameters (network information) from the server devices (600a, 600b) that are DHCP servers is successful as a result of the determination in step S215, the process proceeds to step S220. In step S220, the
続いて、ステップS221において、システム制御部102は、例えば、撮影者からの操作に基づいて、撮影画像の画像データを転送する、FTPサーバであるパーソナルコンピュータ(500a、500b)を設定する。
Subsequently, in step S221, the
ステップS221の処理が終了した場合、或いは、ステップS219でネットワーク(400)への接続処理が成功したと判断された場合には、ステップS222に進む。ステップS222に進むと、システム制御部102は、既に設定されているFTPサーバへの接続処理を行い、当該FTPサーバへの接続処理が成功したか否かを判断する。
When the process of step S221 is completed, or when it is determined in step S219 that the connection process to the network (400) is successful, the process proceeds to step S222. In step S222, the
ステップS222の判断の結果、既に設定されているFTPサーバへの接続処理が失敗した場合には、ステップS216に進んで、撮影者(使用者)に対して、当該FTPサーバへの接続処理がエラーである旨の警告を行う。 As a result of the determination in step S222, if the connection process to the already set FTP server has failed, the process proceeds to step S216, and the connection process to the FTP server is in error for the photographer (user). It warns that it is.
一方、ステップS222の判断の結果、既に設定されているFTPサーバへの接続処理が成功した場合には、ステップS223に進む。ステップS223に進むと、システム制御部102は、画像撮像装置100で実際に撮影動作が行われて撮影画像の画像データの生成が行われ、転送画像データが発生したか否かを判断する。
On the other hand, as a result of the determination in step S222, if the connection process to the already set FTP server is successful, the process proceeds to step S223. In step S223, the
ステップS223の判断の結果、転送画像データが発生した場合には、ステップS224に進む。ステップS224に進むと、システム制御部102は、既に設定されているFTPサーバに対して、転送画像データの画像転送処理を行う。
If transfer image data is generated as a result of the determination in step S223, the process proceeds to step S224. In step S224, the
一方、ステップS223の判断の結果、転送画像データが発生しない場合には、ステップS225に進む。ステップS225に進むと、システム制御部102は、当該転送画像データが発生しない時間が、予め設定された設定時間を超えたか否かを判断する。
On the other hand, if it is determined in step S223 that no transfer image data is generated, the process proceeds to step S225. In step S225, the
ステップS225の判断の結果、当該転送画像データが発生しない時間が、予め設定された設定時間を超えていない場合(即ち、設定時間内である場合)には、ステップS223に戻る。 As a result of the determination in step S225, when the time during which the transfer image data is not generated does not exceed the preset set time (that is, within the set time), the process returns to step S223.
一方、ステップS225の判断の結果、当該転送画像データが発生しない時間が、予め設定された設定時間を超えている場合には、図6に示すステップS501に進み、図6に示す省電力モード状態(スリープ状態)への移行処理が行われる。 On the other hand, as a result of the determination in step S225, when the time during which the transfer image data is not generated exceeds the preset set time, the process proceeds to step S501 shown in FIG. 6, and the power saving mode state shown in FIG. Transition processing to (sleep state) is performed.
まず、図6に示すステップS501において、システム制御部102は、RTC109で管理している実時間の設定が変更されたか否かを判断する。
First, in step S501 shown in FIG. 6, the
ステップS501の判断の結果、RTC109で管理している実時間の設定が変更されたと判断した場合には、ステップS502に進む。ステップS502に進むと、システム制御部102は、RTC109から変更前の実時間情報を取得する。さらに、システム制御部102は、RTC109の実時間が変更される前に揮発性メモリ110に格納したIPアドレス取得時間情報を、当該揮発性メモリ110から読み出す。
As a result of the determination in step S501, if it is determined that the setting of the real time managed by the
続いて、ステップS503において、システム制御部102は、RTC109から変更後の実時間情報を取得する。
Subsequently, in step S <b> 503, the
続いて、ステップS504において、システム制御部102は、ステップS502で読み出したIPアドレス取得時間を、ステップS503で取得した変更後の実時間軸上で補正する。具体的に、システム制御部102は、まず、ステップS502で取得した変更前の実時間とステップS503で取得した変更後の実時間から、変更された時間の期間を割り出す。そして、システム制御部102は、割り出した期間に基づいて、ステップS502で読み出したIPアドレス取得時間を補正する。
Subsequently, in step S504, the
ステップS504の処理が終了した場合、或いは、ステップS501でRTC109の実時間の設定が変更されていないと判断された場合には、ステップS505に進む。ステップS505に進むと、システム制御部102は、IPアドレスのリース期間と共に、ステップS504で補正した新しいIPアドレス取得時間を、揮発性メモリ110に退避して管理する。この際、システム制御部102は、当該補正後の新しいIPアドレス取得時間を、補正前のIPアドレス取得時間に書き換えて、揮発性メモリ110に格納する。
When the process of step S504 is completed, or when it is determined in step S501 that the setting of the real time of the
続いて、ステップS506において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。この際、画像撮像装置100自体への電源部108からの電力供給は停止されないため、揮発性メモリ110への電力供給は停止されていない状態である。このため、ステップS505で揮発性メモリ110に退避させた情報が消去されることはない。
In step S506, the
続いて、ステップS507において、システム制御部102は、画像転送準備動作が発生したか否かを判断する。ここで、このステップS507の処理は、図5のステップS116の処理と同様である。この判断の結果、画像転送準備動作が発生していない場合には、画像転送準備動作が発生するまで、ステップS507で待機する。
Subsequently, in step S507, the
一方、ステップS507の判断の結果、画像転送準備動作が発生した場合には、システム制御部102は、画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。これにより、省電力モード状態(スリープ状態)から通常電力モード状態に復帰することになる。その後、図4−1のステップS212に移行し、ステップS212以降の処理が行われる。
On the other hand, if the result of the determination in step S507 is that an image transfer preparation operation has occurred, the
なお、本実施形態では、実時間情報をRTC109から取得する形態を示しているが、例えば、GPS(Global Positioning System)などから実時間情報を取得する方法でも本発明は実施可能である。
In the present embodiment, the real-time information is acquired from the
また、本実施形態の画像撮像装置100では、画像撮像装置100自体への電源部108からの電力供給が停止された場合(即ち、パワーオフモードの場合)、揮発性メモリ110への電力供給も停止される状態(オートパワーオフ状態)になる。この場合、本実施形態の画像撮像装置100では、例えば、システム制御部102において、揮発性メモリ110上に管理していた、IPアドレスのリース期間情報及びIPアドレス取得時間情報等を、不揮発性メモリ111に退避させて管理する。この処理は、画像撮像装置100自体への電源部108からの電力供給が停止されてしまうため、揮発性メモリ110の記憶情報を不揮発性メモリ111に移し変えて、当該記憶情報が消去されてしまうことを回避するためである。
Further, in the
また、本実施形態においても、画像撮像装置100の内部にネットワーク接続用I/F106を設けて、画像撮像装置100への電源部108からの電力の供給及び停止のタイミングが同じであることを前提に説明してきた。しかしながら、画像撮像装置の機能しか持っていない装置とネットワーク接続用I/F106しか持っていない装置とをコネクタやケーブルなどで接続することで、画像撮像装置100と同様の機能を実現できるシステムにおいても本発明は有効である。この場合、ネットワーク接続用I/Fがスリープ状態の時は、例えば、ネットワーク接続用I/Fを有する装置の揮発性メモリ内にネットワーク情報を管理する。そして、オートパワーオフ状態に遷移する時に、ネットワーク接続用I/Fを有する装置の揮発性メモリ内のネットワーク情報を、画像撮像装置100の不揮発性メモリ111に移し変えることにより、本発明は実現可能である。
Also in this embodiment, it is assumed that the network connection I /
さらに、上述した画像撮像装置の機能しか持っていない装置とネットワーク接続用I/Fしか持っていない装置とをコネクタやケーブルなどで接続する場合には、実時間情報を管理している外部機器から当該実時間情報の変更を通知する方法が適用可能である。この方法は、例えば、図5のステップS1082、図6のステップS502に適用できる。この場合、例えば、画像撮像装置のシステム制御部102において、外部装置から実時間情報を取得することになる。また、実時間情報を管理する外部機器において実時間情報の変更通知を行う機構が無い場合には、例えば、ネットワーク接続用I/Fしか持っていない装置から実時間情報を定期的に取得することにより、実時間情報の変更があったものとする方法が適用可能である。
Further, when connecting a device having only the function of the above-described image pickup device and a device having only a network connection I / F by a connector or a cable, an external device that manages real-time information is used. A method for notifying the change of the real-time information is applicable. This method can be applied to, for example, step S1082 in FIG. 5 and step S502 in FIG. In this case, for example, the
本実施形態の画像撮像装置100では、DHCPサーバから割り振られる動的IPアドレスに代表されるような時間単位で管理が必要な情報を、ネットワーク(400)への接続を行わずに、省電力モード中でも管理することが可能となる。さらに、本実施形態の画像撮像装置100では、省電力モード中において実時間情報が変更されたとしても新しい時間軸上で情報を管理することにより、スリープ状態からの復帰後にネットワーク(400)に再接続することが容易となる。これにより、画像撮像装置100では、時間除法を正確に把握しているため、DHCPサーバへの取得要求の回数が減少し、DHCPサーバのトラヒック増大を解消し、スループットが大きく向上する。
In the
加えて、画像撮像装置100では、ネットワーク(400)に接続する際に、前回取得したIPアドレスの所有時間がリース期間を超えており、ネットワーク接続ができなかった場合に、再度、DHCPサーバからネットワーク情報を取得するようにしている。これにより、常に、ネットワーク(400)に接続することができ、装置のパフォーマンスを安定させることで、画像撮像装置の可用性が向上するとともに、利用効率が大幅に向上する。
In addition, when the
なお、本実施形態では、IPアドレスの所有時間を算出し、リース期間と比較することでリース期間の有効性を判断することとしたが、必ずしもこの方法には限定されない。例えば、アドレスを受信した時刻にリース期間を加算することで、リース期間が到来する時刻を算出することが可能である。この画像撮像装置は時刻を保持しておくことで、RTC109の時刻と比較するだけでIPアドレスの有効性を判断することが可能となる。
In this embodiment, the IP address possession time is calculated and compared with the lease period to determine the validity of the lease period. However, the present invention is not necessarily limited to this method. For example, it is possible to calculate the time when the lease period arrives by adding the lease period to the time when the address is received. By holding the time, this image pickup apparatus can determine the validity of the IP address only by comparing with the time of the
前述した各実施形態に係る画像撮像装置(通信装置)を構成する図2の各構成部は、コンピュータのCPUがROMなどに記憶されたプログラムを実行することによって実現できる。また、前述した画像撮像装置(通信装置)による通信方法を示す図3〜図6の各ステップは、コンピュータのCPUがROMなどに記憶されたプログラムを実行することによって実現できる。これらのプログラム及び当該プログラムを記録したコンピュータ読み取り可能な記憶媒体は本発明に含まれる。 2 constituting the image capturing apparatus (communication apparatus) according to each embodiment described above can be realized by the CPU of the computer executing a program stored in the ROM or the like. Each step of FIGS. 3 to 6 showing the communication method by the above-described image pickup apparatus (communication apparatus) can be realized by the CPU of the computer executing a program stored in the ROM or the like. These programs and computer-readable storage media storing the programs are included in the present invention.
具体的に、前記プログラムは、例えばCD−ROMのような記憶媒体に記録し、或いは各種伝送媒体を介し、コンピュータに提供される。前記プログラムを記録する記憶媒体としては、CD−ROM以外に、フレキシブルディスク、ハードディスク、磁気テープ、光磁気ディスク、不揮発性メモリカード等を用いることができる。他方、前記プログラムの伝送媒体としては、プログラム情報を搬送波として伝搬させて供給するためのコンピュータネットワーク(LAN、インターネットの等のWAN、無線通信ネットワーク等)システムにおける通信媒体を用いることができる。また、この際の通信媒体としては、光ファイバ等の有線回線や無線回線などが挙げられる。 Specifically, the program is recorded in a storage medium such as a CD-ROM, or provided to a computer via various transmission media. As a storage medium for recording the program, a flexible disk, a hard disk, a magnetic tape, a magneto-optical disk, a nonvolatile memory card, and the like can be used in addition to the CD-ROM. On the other hand, as the transmission medium of the program, a communication medium in a computer network (LAN, WAN such as the Internet, wireless communication network, etc.) system for propagating and supplying program information as a carrier wave can be used. In addition, examples of the communication medium at this time include a wired line such as an optical fiber, a wireless line, and the like.
また、本発明は、コンピュータが供給されたプログラムを実行することにより各実施形態に係る画像撮像装置(通信装置)の機能が実現される態様に限られない。そのプログラムがコンピュータにおいて稼働しているOS(オペレーティングシステム)或いは他のアプリケーションソフト等と共同して各実施形態に係る画像撮像装置(通信装置)の機能が実現される場合も、かかるプログラムは本発明に含まれる。また、供給されたプログラムの処理の全て、或いは一部がコンピュータの機能拡張ボードや機能拡張ユニットにより行われて各実施形態に係る画像撮像装置(通信装置)の機能が実現される場合も、かかるプログラムは本発明に含まれる。 In addition, the present invention is not limited to an aspect in which the functions of the image capturing apparatus (communication apparatus) according to each embodiment are realized by executing a program supplied by a computer. When the function of the image capturing apparatus (communication apparatus) according to each embodiment is realized in cooperation with an OS (operating system) or other application software running on the computer, such a program is included in the present invention. include. In addition, when all or part of the processing of the supplied program is performed by a function expansion board or function expansion unit of a computer, the functions of the image capturing apparatus (communication apparatus) according to each embodiment are realized. The program is included in the present invention.
また、前述した本実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。 In addition, all of the above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. . That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.
10 画像撮像システム(ネットワーク通信システム)
100、100a、100b 画像撮像装置
200、200b アクセスポイント
300、300a、300b ルーター
400 ネットワーク
500a、500b パーソナルコンピュータ(FTPサーバ)
600a、600b サーバ装置(DHCPサーバ)
101 シャッタースイッチ
102 システム制御部
103 圧縮・伸長部
104、105 記録部
106 ネットワーク接続用インターフェイス(ネットワーク接続用I/F)
107 画像記憶メモリ
108 電源部
109 RTC(Real_Time_Clock)
110 揮発性メモリ
111 不揮発性メモリ
10 Imaging system (network communication system)
100, 100a, 100b
600a, 600b Server device (DHCP server)
101
107 Image storage memory 108
110 Volatile memory 111 Nonvolatile memory
Claims (18)
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、
計時手段が示す時刻を取得する取得手段と、
前記受信手段が前記アドレスを受信した後に当該通信装置が前記第2の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知手段とを有し、
前記計時手段が示す時刻が変更されたことを前記検知手段が検知した場合、前記受信手段は、前記アドレスを再度受信することを特徴とする通信装置。 A communication device having a first state and a second state that consumes less power than the first state,
Receiving means for receiving, from the server device, an address for communicating with an external device via a network, and a lease period of the address;
Obtaining means for obtaining the time indicated by the time measuring means;
When the communication device shifts to the second state after the receiving unit receives the address, the time indicated by the time measuring unit is changed while the communication device is in the second state. Detecting means for detecting,
The communication apparatus according to claim 1, wherein when the detection unit detects that the time indicated by the time measuring unit is changed, the reception unit receives the address again.
前記揮発性メモリは、前記第1の状態及び前記第2の状態において電力が供給されることを特徴とする請求項1に記載の通信装置。 A volatile memory for storing the address and the lease period;
The communication apparatus according to claim 1 , wherein power is supplied to the volatile memory in the first state and the second state.
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、
計時手段が示す時刻を取得する取得手段と、
前記受信手段が前記アドレスを受信した後に当該通信装置が前記第2の状態から前記第1の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知手段と、
前記計時手段が示す時刻が変更されたことを前記検知手段が検知した場合、前記リース期間と前記変更された時刻とに基づき、前記アドレスが有効か否かを判断する判断手段と有し、
前記判断手段により、前記アドレスが有効でないと判断された場合、前記受信手段は、前記アドレスを再度受信することを特徴とする通信装置。 A communication device having a first state and a second state that consumes less power than the first state,
Receiving means for receiving, from the server device, an address for communicating with an external device via a network, and a lease period of the address;
Obtaining means for obtaining the time indicated by the time measuring means;
When the communication device shifts from the second state to the first state after the receiving unit receives the address, the time indicated by the time measuring unit is the time when the communication device is in the second state. A detecting means for detecting that it has been changed to,
Determining means for determining whether the address is valid based on the lease period and the changed time when the detecting means detects that the time indicated by the time measuring means is changed;
The communication apparatus according to claim 1, wherein when the determination unit determines that the address is not valid, the reception unit receives the address again.
前記算出手段は、前記補正手段により補正された時刻に基づき前記経過時間を算出することを特徴とする請求項5に記載の通信装置。 Based on the changed time, further comprising a correction means for correcting the time of receiving the address,
The communication apparatus according to claim 5 , wherein the calculation unit calculates the elapsed time based on the time corrected by the correction unit.
前記経過時間が前記リース期間を超えている場合、前記判断手段は、前記アドレスが有効でないと判断することを特徴とする請求項5に記載の通信装置。 If the elapsed time does not exceed the lease period, the determining means determines that the address is valid;
6. The communication apparatus according to claim 5 , wherein when the elapsed time exceeds the lease period, the determination unit determines that the address is not valid.
前記判断手段により前記アドレスが有効であると判断された場合、当該通信装置は、前記受信手段による前記アドレスの再度受信をせず、既に前記受信手段により受信されているアドレスを用いて前記外部装置と通信を行うことを特徴とする請求項3乃至7のいずれか1項に記載の通信装置。 If the determination unit determines that the address is not valid, the communication device communicates with the external device using the address received by the reception unit again,
When the determination unit determines that the address is valid, the communication apparatus does not receive the address again by the reception unit, and uses the address already received by the reception unit. a communication apparatus according to any one of claims 3 to 7, characterized in that the communicating.
前記受信手段は、DHCP機能を使用して前記アドレスを取得することを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。 The server device is a DHCP server;
The reception means, a communication device according to any one of claims 1 to 9, characterized in that for obtaining the address using the DHCP function.
前記撮像手段は、前記シャッターボタンの操作に応じて前記撮像を行うことを特徴とする請求項12に記載の通信装置。The communication apparatus according to claim 12, wherein the imaging unit performs the imaging in response to an operation of the shutter button.
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第2の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知ステップと、
前記計時手段が示す時刻が変更されたことを前記検知ステップで検知した場合、前記アドレスを再度受信する再度受信ステップと
を有することを特徴とする通信方法。 A communication method by a communication device having a first state and a second state that consumes less power than the first state,
A receiving step of receiving an address for communicating with an external device via a network and a lease period of the address from the server device;
An acquisition step of acquiring the time indicated by the time measuring means;
When the communication device shifts to the second state after receiving the address in the receiving step, the time indicated by the time measuring means is changed while the communication device is in the second state. A detection step to detect;
And a receiving step for receiving the address again when the detecting step detects that the time indicated by the time measuring means has been changed.
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第2の状態から前記第1の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知ステップと、
前記計時手段が示す時刻が変更されたことを前記検知ステップで検知した場合、前記リース期間と前記変更された時刻とに基づき、前記アドレスが有効か否かを判断する判断ステップと、
前記判断ステップにより、前記アドレスが有効でないと判断された場合、前記アドレスを再度受信する再度受信ステップと
を有することを特徴とする通信方法。 A communication method by a communication device having a first state and a second state that consumes less power than the first state,
A receiving step of receiving an address for communicating with an external device via a network and a lease period of the address from the server device;
An acquisition step of acquiring the time indicated by the time measuring means;
When the communication device shifts from the second state to the first state after receiving the address in the receiving step, the time indicated by the time measuring means is the time when the communication device is in the second state. A detection step for detecting the change to
A determination step of determining whether or not the address is valid based on the lease period and the changed time when detecting that the time indicated by the time measuring means has been changed;
And a receiving step for receiving the address again when the address is determined to be invalid by the determining step.
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第2の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知ステップと、
前記計時手段が示す時刻が変更されたことを前記検知ステップで検知した場合、前記アドレスを再度受信する再度受信ステップと
をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute a communication method using a communication device having a first state and a second state that consumes less power than the first state,
A receiving step of receiving an address for communicating with an external device via a network and a lease period of the address from the server device;
An acquisition step of acquiring the time indicated by the time measuring means;
When the communication device shifts to the second state after receiving the address in the receiving step, the time indicated by the time measuring means is changed while the communication device is in the second state. A detection step to detect;
When the detection step detects that the time indicated by the time measuring means has been changed, the program for causing the computer to execute the reception step of receiving the address again.
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第2の状態から前記第1の状態に移行した場合、前記計時手段が示す時刻が、当該通信装置が前記第2の状態である間に変更されたことを検知する検知ステップと、
前記計時手段が示す時刻が変更されたことを前記検知ステップで検知した場合、前記リース期間と前記変更された時刻とに基づき、前記アドレスが有効か否かを判断する判断ステップと、
前記判断ステップにより、前記アドレスが有効でないと判断された場合、前記アドレスを再度受信する再度受信ステップと
をコンピュータに実行させるためのプログラム。 A program for causing a computer to execute a communication method using a communication device having a first state and a second state that consumes less power than the first state,
A receiving step of receiving an address for communicating with an external device via a network and a lease period of the address from the server device;
An acquisition step of acquiring the time indicated by the time measuring means;
When the communication device shifts from the second state to the first state after receiving the address in the receiving step, the time indicated by the time measuring means is the time when the communication device is in the second state. A detection step for detecting the change to
A determination step of determining whether or not the address is valid based on the lease period and the changed time when detecting that the time indicated by the time measuring means has been changed;
When the determination step determines that the address is not valid, a program for causing the computer to execute a reception step of receiving the address again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008029562A JP5043706B2 (en) | 2008-02-08 | 2008-02-08 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008029562A JP5043706B2 (en) | 2008-02-08 | 2008-02-08 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009188941A JP2009188941A (en) | 2009-08-20 |
JP5043706B2 true JP5043706B2 (en) | 2012-10-10 |
Family
ID=41071699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008029562A Expired - Fee Related JP5043706B2 (en) | 2008-02-08 | 2008-02-08 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5043706B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007134980A (en) * | 2005-11-10 | 2007-05-31 | Canon Inc | Information processing apparatus for carrying out power management control in network environment |
-
2008
- 2008-02-08 JP JP2008029562A patent/JP5043706B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009188941A (en) | 2009-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7467162B2 (en) | Pre-configured settings for portable devices | |
US7984196B2 (en) | Communication apparatus and its control method | |
WO2012134572A1 (en) | Collaborative image control | |
JP2010011364A (en) | Image output system and method of controlling the same, image input device and method of controlling the same, and image output device and method of controlling the same | |
US20090265462A1 (en) | Monitoring apparatus and storage method | |
JP4928303B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM | |
JP2013101436A (en) | Memory card with radio communication function, operation method of memory card with radio communication function, program, digital camera, and operation method of digital camera | |
JP2011077727A (en) | Positioning communication system, imaging device, and positioning device | |
JP2008146250A (en) | Update system, update method, and program | |
JP2009098908A (en) | Time-out control system, client device, server device, and time-out control method | |
JP2011004155A (en) | Image processing apparatus, method of controlling the same, and program | |
JP5043706B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2018033006A (en) | Information processing device, information processing method, and computer program | |
US20210410072A1 (en) | Program and electronic device | |
JP2016020034A (en) | Information processing device, control method of the same, and program | |
EP3663914B1 (en) | Image capturing apparatus, system, control method for image capturing apparatus, and non-transitory computer-readable storage medium | |
JP2013005274A (en) | Control device, control method, and program | |
JP6819389B2 (en) | Information processing system, client terminal and program | |
JP2017046232A (en) | Communication device, control method thereof, and program | |
KR20100009296A (en) | Method for controlling wireless connection of network camera | |
JP2008205669A (en) | Network monitoring unit and network monitoring program | |
JP4667246B2 (en) | Imaging device and image data control method | |
JP2007013733A (en) | Device and method for creating file | |
JP2006197394A (en) | Imaging device, control method, and imaging system | |
JP6406893B2 (en) | Monitoring device and monitoring system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20101217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120315 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120327 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120525 |
|
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: 20120612 |
|
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: 20120712 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5043706 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: 20150720 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |