JP5043706B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM - Google Patents

COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Download PDF

Info

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
Application number
JP2008029562A
Other languages
Japanese (ja)
Other versions
JP2009188941A (en
Inventor
健一郎 林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2008029562A priority Critical patent/JP5043706B2/en
Publication of JP2009188941A publication Critical patent/JP2009188941A/en
Application granted granted Critical
Publication of JP5043706B2 publication Critical patent/JP5043706B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To perform accurate synchronization with other equipment on a network even in the equipment having a power saving mode or a power off mode. <P>SOLUTION: This communication method includes steps for: acquiring an IP address from a server device (S103) and acquiring a lease interval of the IP address (S106); managing an IP address acquirement time with which the IP address is acquired and the lease interval (S104 and S106); acquiring a return time when returning from the power saving mode (or return time from power interruption mode) (S117); using the acquired IP address acquirement time and the return time; calculating a possessing time possessing the IP address, and according to the result of comparison of the calculated possessing time with the lease time; and performing control to perform the reacquirement of the IP address (S118 to S120). <P>COPYRIGHT: (C)2009,JPO&amp;INPIT

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).

特開2005−86263号公報JP 2005-86263 A

一方、例えば、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 Patent Document 1, no consideration is given to the behavior when the time information itself managed in the image capturing apparatus is changed. For example, if the time information inside the communication device is changed during the power saving mode, then it will not be possible to synchronize with other devices on the network when returning from the power saving mode or returning from the power off mode. There was a problem.

本発明は上述した問題点に鑑みてなされたものであり、省電力モードまたはパワーオフモードを有する機器であっても、ネットワーク上の他の機器と正確に同期をとれるようにすることを目的とする。   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 system 10 includes an image capturing device (100, 100a, 100b), an access point (200, 200b), a router (300, 300a, 300b), and a network (400). Configured. Further, the image capturing system 10 includes a personal computer (500a, 500b) and a server device (600a, 600b). That is, the image pickup devices (100, 100a, 100b) are connected to the personal computers (500a, 500b) and the server devices (600a, 600b) via the network (400) so as to be communicable.

画像撮像装置(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 system 10 of the present embodiment, the following processing is performed.
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 image capturing apparatus 100 will be described on behalf of the image capturing apparatus.

画像撮像装置100は、シャッタースイッチ101と、光学系112と、撮像素子113と、システム制御部102と、圧縮・伸長部103と、記録部104、105と、ネットワーク接続用インターフェイス(I/F)106を有して構成されている。さらに、画像撮像装置100は、画像記憶メモリ107と、電源部108と、RTC(Real_Time_Clock)109と、揮発性メモリ110と、不揮発性メモリ111と、その他、図2に示す各構成部を有して構成されている。   The image capturing apparatus 100 includes a shutter switch 101, an optical system 112, an image sensor 113, a system control unit 102, a compression / expansion unit 103, recording units 104 and 105, and a network connection interface (I / F). 106. Furthermore, the image capturing apparatus 100 includes an image storage memory 107, a power supply unit 108, an RTC (Real_Time_Clock) 109, a volatile memory 110, a nonvolatile memory 111, and other components illustrated in FIG. Configured.

画像撮像装置100は、シャッタースイッチ101が押下されると、撮影動作を開始し、レンズや絞りなどを組み合わせた光学系112を通して得られる被写体像を、撮像素子113が取り込む。このように画像撮像装置100は、当該押下時点での撮影画像に係る画像データを取得する。この際、画像データは、例えば、画像記憶メモリ107に記憶されて取得される。そして、画像撮像装置100では、例えば、システム制御部102において、必要に応じて、画像記憶メモリ107に記憶された画像データの画像処理を行う。その後、画像データは、圧縮・伸長部103によって所定の形式で圧縮された後、メモリカード等から構成される記録部104、105に格納される。   When the shutter switch 101 is pressed, the image capturing apparatus 100 starts a photographing operation, and the image sensor 113 captures a subject image obtained through the optical system 112 that combines a lens, a diaphragm, and the like. As described above, the image capturing apparatus 100 acquires image data relating to a captured image at the time of pressing. At this time, the image data is stored in the image storage memory 107 and acquired, for example. In the image capturing apparatus 100, for example, the system control unit 102 performs image processing on the image data stored in the image storage memory 107 as necessary. Thereafter, the image data is compressed in a predetermined format by the compression / decompression unit 103 and then stored in the recording units 104 and 105 including a memory card or the like.

さらに、画像撮像装置100は、記録部104、105に格納された画像データを、必要に応じて、ネットワーク接続用I/F106を介して他の機器にネットワーク(400)を経由して送信する。或いは、画像撮像装置100は、記録部104、105に書き込まれる前の画像記憶メモリ107に記憶されている画像データを、必要に応じて、他の機器(外部装置)にネットワーク(400)を経由して送信することもできる。   Furthermore, the image capturing apparatus 100 transmits the image data stored in the recording units 104 and 105 to other devices via the network (400) via the network connection I / F 106 as necessary. Alternatively, the image capturing apparatus 100 transfers the image data stored in the image storage memory 107 before being written in the recording units 104 and 105 to another device (external device) via the network (400) as necessary. You can also send it.

具体的に、ネットワーク接続用I/F106によって、画像撮像装置100は、LANに接続することができる。そして、画像撮像装置100は、このLANを介してネットワーク(400)に接続を行う。ネットワーク接続用I/F106は、イーサネット(登録商標)接続回路もしくは無線LAN接続回路等からなり、撮影者により通信モードが設定されると電源部108から電力が供給され、通信モードが終了すると電源部108からの電力の供給が停止される。なお、ネットワーク接続用I/F106は、例えば、記録部104、105にLAN通信カードを装着して実現する構成としても良い。   Specifically, the image capturing apparatus 100 can be connected to the LAN through the network connection I / F 106. The image capturing apparatus 100 connects to the network (400) via this LAN. The network connection I / F 106 includes an Ethernet (registered trademark) connection circuit, a wireless LAN connection circuit, or the like. When the communication mode is set by the photographer, power is supplied from the power supply unit 108. When the communication mode ends, the power supply unit The supply of power from 108 is stopped. Note that the network connection I / F 106 may be realized by mounting a LAN communication card on the recording units 104 and 105, for example.

電源部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 image capturing apparatus 100. The power supply unit 108 may be detachable from the image capturing apparatus 100 or may be built-in. The system control unit 102 instructs the power supply unit 108 to request energization in response to an operation input from the photographer, for example, to start supplying power from the power supply unit 108 to the network connection I / F 106. This state is the first state set to the normal power mode. In addition, when communication with the external device is disconnected, the power supply unit 108 stops supplying power to the network connection I / F 106. This state is the second state set to the power saving mode. As described above, the image capturing apparatus 100 according to the present embodiment can suppress power consumption by properly using the normal power mode and the power saving mode. However, in this case, when a LAN communication card is attached to the recording units 104 and 105, power supply is started and stopped to the recording units 104 and 105 instead of the network connection I / F 106. .

RTC109は、画像撮像装置100に対する電源部108からの電力の供給が遮断されたとしても、電源部108とは別の内蔵電池(図示せず)を用いて、常に、実時間情報を計時し続けることができる。ここで、RTC109は、後述するIPアドレス取得時間等の基準となる実時間を計時する計時手段の一例である。   Even if the power supply from the power supply unit 108 to the image capturing apparatus 100 is cut off, the RTC 109 always keeps counting real-time information using a built-in battery (not shown) different from the power supply unit 108. be able to. Here, the RTC 109 is an example of a time measuring unit that measures a real time serving as a reference such as an IP address acquisition time described later.

次に、上記構成の画像撮像装置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 image capturing apparatus 100 having the above-described configuration will be described. Further, a network connection processing method performed in the image capturing apparatus 100 using a method for managing the time information will be described.

図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 image capturing apparatus 100 is particularly shown.

以下の説明では、図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 image capturing apparatus 100 and personal computers (500a, 500b) used as FTP servers. In the following description, a form using FTP as a communication protocol used by the image capturing apparatus 100 is shown, but the present embodiment is not limited to this. For example, in addition to FTP, other communication protocols such as PTP (Picture Transfer Protocol) and HTTP (Hyper TX Transfer Protocol) may be used. In this case, the personal computer (500a, 500b) is used as a server corresponding to the other communication protocol.

まず、図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 system control unit 102 of the image capturing apparatus 100 sends an IP address to the server apparatuses (600a and 600b) that are DHCP servers. Request acquisition of. At this time, the system control unit 102 transmits an IP address acquisition request to the server apparatuses (600a, 600b) via the network connection I / F 106.

続いて、ステップ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 image capturing apparatus 100, and transmit the assigned IP address to the image capturing apparatus 100 for notification.

続いて、ステップS103において、画像撮像装置100のシステム制御部102は、ステップS102で割り当てられたIPアドレスを受信して取得すると共に、当該IPアドレスを割り振られた時間をRTC109から取得する。即ち、ステップS103では、DHCPサーバであるサーバ装置(600a、600b)からIPアドレスを取得すると共に、当該IPアドレスを取得したIPアドレス取得時間を、RTC109から取得する。   Subsequently, in step S103, the system control unit 102 of the image capturing apparatus 100 receives and acquires the IP address assigned in step S102, and acquires the time to which the IP address is assigned from the RTC 109. That is, in step S103, an IP address is acquired from the server devices (600a, 600b) that are DHCP servers, and an IP address acquisition time for acquiring the IP address is acquired from the RTC 109.

続いて、ステップS104において、画像撮像装置100のシステム制御部102は、ステップS103で取得したIPアドレス取得時間を、揮発性メモリ110に格納して管理する。   Subsequently, in step S104, the system control unit 102 of the image capturing apparatus 100 stores and manages the IP address acquisition time acquired in step S103 in the volatile memory 110.

続いて、ステップS105において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対して、ステップS102で割り当てたIPアドレスのリース期間の通知を行う。   Subsequently, in step S105, the server apparatuses (600a and 600b) which are DHCP servers notify the image capturing apparatus 100 of the lease period of the IP address assigned in step S102.

続いて、ステップS106において、画像撮像装置100のシステム制御部102は、ステップS105で通知されたIPアドレスのリース期間を受信して取得し、揮発性メモリ110に格納して管理する。   Subsequently, in step S <b> 106, the system control unit 102 of the image capturing apparatus 100 receives and acquires the IP address lease period notified in step S <b> 105, and stores and acquires the lease period in the volatile memory 110.

この状態で撮影者によりシャッタースイッチ101が押下されると、続いて、ステップS107において、画像撮像装置100のシステム制御部102は、撮影動作を開始し、撮影画像に係る画像データを生成する処理を行う。そして、システム制御部102は、撮影者(使用者)の操作により予め設定された、FTPサーバであるパーソナルコンピュータ(500a、500b)に対して、ネットワーク接続用I/F106を介して、生成した画像データを転送する処理を行う。この際、ネットワーク接続用I/F106は、ステップS103で取得したIPアドレスを用いて、FTPサーバであるパーソナルコンピュータ(500a、500b)と通信を行い、画像データの転送を行う。   When the photographer presses the shutter switch 101 in this state, in step S107, the system control unit 102 of the image pickup apparatus 100 starts a shooting operation and generates image data related to the shot image. Do. Then, the system control unit 102 generates an image generated via the network connection I / F 106 with respect to the personal computers (500a, 500b) that are FTP servers set in advance by the operation of the photographer (user). Process to transfer data. At this time, the network connection I / F 106 communicates with the personal computers (500a, 500b) that are FTP servers by using the IP address acquired in step S103, and transfers image data.

その後、例えば、シャッタースイッチ101が一定時間押下されなければ、続いて、ステップS108において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態とする。この際、システム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止する。この場合、画像撮像装置100自体に対する電源部108からの電力の供給は停止されていないため、揮発性メモリ110への電力の供給は停止されていない状態(以降、必要に応じて「スリープ状態」と称する)である。そのため、揮発性メモリ110に格納されているネットワーク情報であるIPアドレスのリース期間情報とIPアドレス取得時間情報が消去されることはない。   Thereafter, for example, if the shutter switch 101 is not pressed for a certain period of time, subsequently, in step S108, the system control unit 102 of the image capturing apparatus 100 sets the operation mode of the image capturing apparatus 100 to the power saving mode. At this time, the system control unit 102 stops supplying power from the power supply unit 108 to the network connection I / F 106. In this case, since the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is not stopped, the power supply to the volatile memory 110 is not stopped (hereinafter referred to as “sleep state” as necessary). Called). Therefore, IP address lease period information and IP address acquisition time information, which are network information stored in the volatile memory 110, are not erased.

ここで、ステップ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 RTC 109 is changed in the power saving mode state (sleep state) in step S108 (step S1081) will be described. In this case, the system control unit 102 of the image capturing apparatus 100 detects this after returning from the sleep state. When a change in time is detected, the system control unit 102 performs processing for releasing the IP address acquired in step S103. Thereafter, in step S109, the system control unit 102 of the image capturing apparatus 100 makes an IP address acquisition request again to the server apparatuses (600a, 600b) that are DHCP servers via the network connection I / F 106. Do.

続いて、ステップ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 image capturing apparatus 100.

続いて、ステップS111において、画像撮像装置100のシステム制御部102は、ステップS110で割り当てられたIPアドレスを再度受信、取得すると共に、当該IPアドレスを割り振られた時間をRTC109から取得する。即ち、ステップS111では、DHCPサーバであるサーバ装置(600a、600b)からIPアドレスを再取得すると共に、当該IPアドレスを取得したIPアドレス取得時間を、管理時間が変更されたRTC109から取得する。   Subsequently, in step S111, the system control unit 102 of the image capturing apparatus 100 receives and acquires the IP address assigned in step S110 again, and acquires the time assigned to the IP address from the RTC 109. That is, in step S111, the IP address is reacquired from the server devices (600a, 600b) that are DHCP servers, and the IP address acquisition time for acquiring the IP address is acquired from the RTC 109 whose management time has been changed.

続いて、ステップS112において、画像撮像装置100のシステム制御部102は、ステップS111で取得したIPアドレス取得時間を、揮発性メモリ110に格納して管理する。この際、ステップS104で格納したIPアドレス取得時間情報は消去されて、ステップS111で取得したIPアドレス取得時間情報に書き換えられて格納される。   Subsequently, in step S112, the system control unit 102 of the image capturing apparatus 100 stores and manages the IP address acquisition time acquired in step S111 in the volatile memory 110. At this time, the IP address acquisition time information stored in step S104 is erased and rewritten and stored in the IP address acquisition time information acquired in step S111.

続いて、ステップS113において、DHCPサーバであるサーバ装置(600a、600b)は、画像撮像装置100に対して、ステップS110で割り当てたIPアドレスのリース期間の通知を行う。   Subsequently, in step S113, the server apparatuses (600a, 600b) which are DHCP servers notify the image capturing apparatus 100 of the lease period of the IP address assigned in step S110.

続いて、ステップS114において、画像撮像装置100のシステム制御部102は、ステップS113で通知されたIPアドレスのリース期間を、揮発性メモリ110に格納して管理する。この際、ステップS106で格納したIPアドレスのリース期間情報は消去されて、ステップS113で通知されたIPアドレスのリース期間情報に書き換えられて格納される。   Subsequently, in step S114, the system control unit 102 of the image capturing apparatus 100 stores and manages the lease period of the IP address notified in step S113 in the volatile memory 110. At this time, the lease period information of the IP address stored in step S106 is erased and rewritten and stored in the lease period information of the IP address notified in step S113.

その後、シャッタースイッチ101が一定時間押下されなかった場合について説明する。この場合、ステップS115において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態(スリープ状態)とする。   Thereafter, a case where the shutter switch 101 is not pressed for a certain time will be described. In this case, in step S115, the system control unit 102 of the image capturing apparatus 100 sets the operation mode of the image capturing apparatus 100 to the power saving mode state (sleep state).

スリープ状態に移行した後、転送準備動作が行われた場合について説明する。シャッタースイッチ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 shutter switch 101 is pressed, in step S116, the system control unit 102 of the image pickup apparatus 100 starts a shooting operation. Then, the system control unit 102 performs a process of generating image data related to the captured image, and performs an image transfer preparation operation for the image data. At this time, the image transfer preparation operation is not limited to the form performed when the shutter switch 101 described above is pressed. For example, it may be a form that is triggered by the photographer selecting image data of a transfer image from a GUI screen displayed on a display unit (not shown) of the image capturing apparatus 100. When the image data transfer preparation operation is performed, the system control unit 102 predicts that the image transfer process is started, and controls to start supplying power from the power supply unit 108 to the network connection I / F 106. I do. As a result, the normal power mode state is restored from the power saving mode state (sleep state).

続いて、ステップS117において、画像撮像装置100のシステム制御部102は、ステップS115における省電力モードからの復帰時間を、RTC109から取得する。なお、図3の例では、ステップS115で省電力モード状態(スリープ状態)となる例を示しているが、例えば、画像撮像装置100自体への電源部108からの電力供給が停止(遮断)された状態であるパワーオフモード状態となる形態であってもよい。このパワーオフモード状態は、例えば、撮影者(使用者)により電源スイッチ(不図示)が操作されたことを契機として移行する。また、ステップS115がパワーオフモード状態である場合には、ステップS117において、パワーオフモードからの復帰時間が、RTC109から取得されることになる。   Subsequently, in step S117, the system control unit 102 of the image capturing apparatus 100 acquires the return time from the power saving mode in step S115 from the RTC 109. In the example of FIG. 3, an example in which the power saving mode state (sleep state) is set in step S115 is shown. However, for example, the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is stopped (cut off). The power-off mode state that is the state may be used. This power-off mode state shifts when a photographer (user) operates a power switch (not shown), for example. When step S115 is in the power-off mode state, the return time from the power-off mode is acquired from the RTC 109 in step S117.

続いて、ステップS118において、画像撮像装置100のシステム制御部102は、まず、ステップS111で取得したIPアドレス取得時間とステップS117で取得した省電力モードからの復帰時間との差を算出する。ここで算出された差は、ステップS111でIPアドレスを取得してから省電力モードから復帰するまでに経過した経過時間、つまりIPアドレスを所有している所有時間を示す。その後、システム制御部102は、算出したIPアドレスの所有時間とステップS113で通知されたIPアドレスのリース期間とを比較する。   Subsequently, in step S118, the system control unit 102 of the image capturing apparatus 100 first calculates a difference between the IP address acquisition time acquired in step S111 and the return time from the power saving mode acquired in step S117. The difference calculated here indicates the elapsed time from the acquisition of the IP address in step S111 until the return from the power saving mode, that is, the ownership time of possessing the IP address. Thereafter, the system control unit 102 compares the calculated possession time of the IP address with the lease period of the IP address notified in step S113.

続いて、ステップS119において、画像撮像装置100のシステム制御部102は、ステップS118の比較の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えているか否かを判断する。   Subsequently, in step S119, the system control unit 102 of the image capturing apparatus 100 determines whether the IP address possession time exceeds the IP address lease period as a result of the comparison in step S118.

ステップ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 system control unit 102 generates image data generated in step S116 via the network connection I / F 106 for the personal computer (500a, 500b) designated by the photographer (user). Process to transfer. At this time, the network connection I / F 106 communicates with the personal computer (500a, 500b) as the FTP server using the IP address already acquired in step S111 (that is, acquired last time), and the image data Perform the transfer. Thereafter, the process proceeds to step S115.

一方、ステップ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 image capturing apparatus 100 is particularly illustrated.

まず、図4−1のステップS201において、画像撮像装置100の電源スイッチ(不図示)が操作されると、システム制御部102は、電源部108から電力を供給する制御を行い、電源の投入処理をする。即ち、ステップS201では、システム制御部102は、電源の投入処理を行って、パワーオフモードからの復帰の処理を行う。   First, in step S201 of FIG. 4-1, when a power switch (not shown) of the image capturing apparatus 100 is operated, the system control unit 102 performs control to supply power from the power source unit 108, and performs a power on process. do. That is, in step S201, the system control unit 102 performs a power-on process and performs a process for returning from the power-off mode.

続いて、ステップS202において、システム制御部102は、画像撮像装置100の初期化処理を実行する。ステップS202の初期化処理が終了すると、画像撮像装置100では、撮影者の操作待ちとなる。   Subsequently, in step S <b> 202, the system control unit 102 executes initialization processing of the image capturing apparatus 100. When the initialization process in step S202 is completed, the image capturing apparatus 100 waits for a photographer's operation.

続いて、ステップS203において、システム制御部102は、撮影者からの操作に基づいて、前回設定したネットワーク接続パラメータ(ネットワーク情報)を用いたネットワーク接続処理を行うか否かを判断する。ここで、本実施形態においては、ネットワーク接続処理を行う方法として2つの方法がある。1つは、前回設定したネットワーク接続パラメータを用いる方法である。もう1つは、画像撮像装置100のGUI画面から撮影者の操作により新たに設定されるネットワーク接続パラメータを用いる方法である。   Subsequently, in step S203, the system control unit 102 determines whether or not to perform network connection processing using the previously set network connection parameter (network information) based on an operation from the photographer. Here, in the present embodiment, there are two methods for performing network connection processing. One is a method using the network connection parameter set last time. The other is a method of using network connection parameters newly set by a photographer's operation from the GUI screen of the image capturing apparatus 100.

ステップ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 system control unit 102 determines whether to perform network connection processing using network connection parameters set from the GUI screen of the image capturing apparatus 100 based on an operation from the photographer.

ステップ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 image capturing apparatus 100 is performed, the process proceeds to step S205. In step S205, the system control unit 102 displays a network setting parameter setting screen on a display unit (not shown) as a GUI screen, and accepts input of the network setting parameter (network information).

続いて、ステップS206において、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。   Subsequently, in step S206, the system control unit 102 predicts that the image transfer process will be started when an image transfer preparation operation occurs (S116), and the power supply unit 108 performs the network connection to the I / F 106. Control to start supplying power.

続いて、ステップS207において、ネットワーク接続用I/F106は、システム制御部102による制御に基づいて、ネットワーク(400)及びサーバ(DHCPサーバ、FTPサーバ)への接続処理を行う。   Subsequently, in step S207, the network connection I / F 106 performs connection processing to the network (400) and the server (DHCP server, FTP server) based on control by the system control unit 102.

続いて、ステップS208において、システム制御部102は、ステップS207のネットワーク接続用I/F106による接続処理が成功したか否かを判断する。   Subsequently, in step S208, the system control unit 102 determines whether or not the connection process by the network connection I / F 106 in step S207 is successful.

ステップ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 / F 106 in step S207 is successful, the process proceeds to step S209. In step S209, the system control unit 102 determines whether or not the DHCP function is used as an IP address acquisition method. That is, in step S209, when the connection to the network (400) is established, the IP address acquisition method set by the photographer for the image capturing apparatus 100 is the dynamic IP address from the DHCP server (600a, 600b). It is determined whether or not it is a method for acquiring the.

ステップ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 system control unit 102 acquires an IP address assigned from the server device (600a, 600b) that is a DHCP server, and sets an IP address acquisition time indicating the time when the IP address is acquired from the RTC 109. get. Further, the system control unit 102 receives the lease period of the IP address notified from the server devices (600a, 600b) which are DHCP servers. Then, the system control unit 102 stores and manages the lease period of the IP address and the IP address acquisition time in the volatile memory 110. The processing in step S210 is the same as, for example, steps S103, S104, and S106 shown in FIG.

一方、ステップ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 image capturing apparatus 100 is not performed (that is, the network connection process is not performed), the process proceeds to step S211. move on. In step S211, the system control unit 102 causes the image capturing apparatus 100 to function as a shooting mode. That is, in this case, the image capturing apparatus 100 functions as a digital camera. Then, when the shooting mode by the image pickup apparatus 100 is completed, the process returns to step S204.

一方、ステップ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 system control unit 102 predicts that an image transfer process is started when an image transfer preparation operation occurs (S116), and the power supply unit 108 supplies power to the network connection I / F 106. Control to start the supply of.

続いて、ステップS213において、システム制御部102は、IPアドレスのリース期間の残り時間があるか否かを判断する。具体的に以下の処理を行う。   Subsequently, in step S213, the system control unit 102 determines whether there is a remaining time of the lease period of the IP address. Specifically, the following processing is performed.

まず、システム制御部102は、ステップS201の電源投入に係る時間、即ち、省電力モードからの復帰時またはパワーオフモードからの復帰時における復帰時間を、RTC109から取得する。次いで、システム制御部102は、IPアドレス取得時間と取得した復帰時間との差(即ち、当該IPアドレスを所有している所有時間)を算出する。次いで、システム制御部102は、算出したIPアドレスの所有時間とIPアドレスのリース期間とを比較し、IPアドレスの所有時間がIPアドレスのリース期間内であるか否かを判断し、Pアドレスのリース期間の残り時間があるか否かを判断する。   First, the system control unit 102 acquires from the RTC 109 the time related to power-on in step S201, that is, the return time at the time of return from the power saving mode or the return from the power off mode. Next, the system control unit 102 calculates the difference between the IP address acquisition time and the acquired return time (that is, the ownership time in which the IP address is owned). Next, the system control unit 102 compares the calculated IP address possession time with the IP address lease period, determines whether the IP address possession time is within the IP address lease period, and determines the P address. Determine if there is remaining time for the lease period.

ステップ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 image capturing device 100 at the previous connection to other communication devices. Therefore, the process proceeds to step S214, in which the system control unit 102 obtains again the network setting parameters (network information) including the IP address and the lease period of the IP address for the server devices (600a, 600b) of the DHCP server. I do.

続いて、ステップS215において、システム制御部102は、ステップS214におけるネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功したか否かを判断する。   Subsequently, in step S215, the system control unit 102 determines whether or not the network setting parameter (network information) reacquisition process in step S214 is successful.

ステップ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 system control unit 102 notifies that there is an error in the connection processing to the network (400) from, for example, a display unit (not shown) or a voice output unit (not shown), and the photographer ( The user) is warned of the error. Here, for example, when the connection process in step S208 fails (for example, when the connection process fails because the network setting parameter set by the photographer is incorrect), the setting parameter is incorrect for the photographer. Is warned.

続いて、ステップS217において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。その後、ステップS204に戻る。   Subsequently, in step S217, the system control unit 102 performs control to stop power supply from the power supply unit 108 to the network connection I / F 106. Thereafter, the process returns to step S204.

一方、ステップ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 system control unit 102 performs reconnection processing to the network (400) using the previous network setting parameter (network information) before the power-on processing is performed in step S201.

続いて、ステップS219において、システム制御部102は、ステップS218におけるネットワーク(400)への接続処理が成功したか否かを判断する。   Subsequently, in step S219, the system control unit 102 determines whether or not the connection process to the network (400) in step S218 is successful.

ステップ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 system control unit 102 acquires the IP address acquisition time of the IP address acquired in step S214 from the RTC 109. Then, the system control unit 102 stores the IP address acquisition time and the lease period of the IP address acquired in step S214 in the volatile memory 110 for management.

続いて、ステップS221において、システム制御部102は、例えば、撮影者からの操作に基づいて、撮影画像の画像データを転送する、FTPサーバであるパーソナルコンピュータ(500a、500b)を設定する。   Subsequently, in step S221, the system control unit 102 sets, for example, personal computers (500a, 500b) that are FTP servers that transfer image data of a captured image based on an operation from a photographer.

ステップ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 system control unit 102 performs connection processing to the already set FTP server, and determines whether the connection processing to the FTP server is successful.

ステップ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 system control unit 102 determines whether or not the image capturing apparatus 100 has actually performed a shooting operation to generate image data of the captured image, and transfer image data has been generated.

ステップ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 system control unit 102 performs image transfer processing of the transfer image data on the already set FTP server.

一方、ステップ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 system control unit 102 determines whether the time during which the transfer image data is not generated has exceeded a preset setting time.

ステップ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 system control unit 102 determines whether or not the real time setting managed by the RTC 109 has been changed.

ステップS301の判断の結果、RTC109で管理している実時間の設定が変更されたと判断した場合には、ステップS302に進む。ステップS302に進むと、システム制御部102は、現在取得しているネットワーク設定パラメータ(ネットワーク情報)を開放する処理を行う。ここで、ネットワーク設定パラメータ(ネットワーク情報)には、現在取得しているIPアドレス及びそのリース期間の情報が含まれる。   If it is determined in step S301 that the real time setting managed by the RTC 109 has been changed, the process proceeds to step S302. In step S302, the system control unit 102 performs processing for releasing the currently acquired network setting parameter (network information). Here, the network setting parameter (network information) includes information on the currently acquired IP address and its lease period.

続いて、ステップS303において、システム制御部102は、DHCPサーバであるサーバ装置(600a、600b)から、新しいネットワーク設定パラメータ(ネットワーク情報)の再取得処理を行う。ここで、新しいネットワーク設定パラメータ(ネットワーク情報)には、新しいIPアドレス及び当該新しいIPアドレスのリース期間の情報が含まれる。   Subsequently, in step S303, the system control unit 102 performs re-acquisition processing of new network setting parameters (network information) from the server devices (600a, 600b) that are DHCP servers. Here, the new network setting parameter (network information) includes information on a new IP address and a lease period of the new IP address.

続いて、ステップS304において、システム制御部102は、まず、ステップS303で取得した新しいIPアドレスのIPアドレス取得時間を、実時間の設定が変更されたRTC109から取得する。次いで、システム制御部102は、新しいIPアドレスのIPアドレス取得時間、及び、ステップS303で取得した新しいIPアドレスのリース期間を、揮発性メモリ110に退避して管理する。   Subsequently, in step S304, the system control unit 102 first acquires the IP address acquisition time of the new IP address acquired in step S303 from the RTC 109 whose real time setting has been changed. Next, the system control unit 102 saves and manages the IP address acquisition time of the new IP address and the lease period of the new IP address acquired in step S303 in the volatile memory 110.

ステップ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 RTC 109 has not been changed, the process proceeds to step S305. In step S305, the system control unit 102 performs control to stop power supply from the power supply unit 108 to the network connection I / F 106. At this time, since the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is not stopped, the power supply to the volatile memory 110 is not stopped. For this reason, the information saved in the volatile memory 110 in step S304 is not erased.

続いて、ステップS306において、システム制御部102は、画像転送準備動作が発生したか否かを判断する。ここで、このステップS306の処理は、図3のステップS116の処理と同様である。この判断の結果、画像転送準備動作が発生していない場合には、画像転送準備動作が発生するまで、ステップS306で待機する。   Subsequently, in step S306, the system control unit 102 determines whether an image transfer preparation operation has occurred. Here, the process of step S306 is the same as the process of step S116 of FIG. If the result of this determination is that an image transfer preparation operation has not occurred, the process waits in step S306 until the image transfer preparation operation occurs.

一方、ステップ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 system control unit 102 predicts that the image transfer process will be started, and the network connection I / F 106 is sent from the power supply unit 108. Control to start supplying power. As a result, the normal power mode state is restored from the power saving mode state (sleep state). Thereafter, the process proceeds to step S212 in FIG. 4A and the processes after step S212 are performed.

なお、本実施形態では、実時間情報をRTC109から取得する形態を示しているが、例えば、GPS(Global Positioning System)などから実時間情報を取得する方法でも本発明は実施可能である。   In the present embodiment, the real-time information is acquired from the RTC 109. However, the present invention can be implemented by a method of acquiring real-time information from, for example, GPS (Global Positioning System).

また、本実施形態の画像撮像装置100では、画像撮像装置100自体への電源部108からの電力供給が停止された場合(即ち、パワーオフモードの場合)、揮発性メモリ110への電力供給も停止される状態になる。この場合、本実施形態の画像撮像装置100では、例えば、システム制御部102において、揮発性メモリ110上に管理していた、IPアドレスのリース期間情報及びIPアドレス取得時間情報等を、不揮発性メモリ111に退避させて管理する。この処理は、画像撮像装置100自体への電源部108からの電力供給が停止されてしまうため、揮発性メモリ110の記憶情報を不揮発性メモリ111に移し変えて、当該記憶情報が消去されてしまうことを回避するためである。   Further, in the image capturing apparatus 100 of the present embodiment, when power supply from the power supply unit 108 to the image capturing apparatus 100 itself is stopped (that is, in the power-off mode), power supply to the volatile memory 110 is also performed. It will be stopped. In this case, in the image capturing apparatus 100 according to the present embodiment, for example, the lease period information and the IP address acquisition time information of the IP address managed on the volatile memory 110 in the system control unit 102 are stored in the nonvolatile memory. The information is managed by being saved to 111. In this process, since the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is stopped, the stored information in the volatile memory 110 is transferred to the nonvolatile memory 111 and the stored information is deleted. This is to avoid this.

また、本実施形態の画像撮像装置100では、例えば、システム制御部102において、以下の処理を行うようにしてもよい。
まず、省電力モードまたはパワーオフモードに遷移する前に、DHCPサーバから既に取得済のIPアドレスの使用可能期間を検出する。そして、検出した使用可能期間が当該IPアドレスのリース期間に対して残りが短い場合(即ち、ある閾値よりも小さい場合)に、当該IPアドレスの再取得を行い、当該IPアドレスのリース期間の延長処理を行うようにする。
Further, in the image capturing apparatus 100 according to the present embodiment, for example, the system control unit 102 may perform the following processing.
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 / F 106 is provided inside the image capturing apparatus 100 and the power supply and stop timings from the power supply unit 108 to the image capturing apparatus 100 are the same. I have explained. However, even in a system that can realize a function similar to that of the image pickup apparatus 100 by connecting a device having only the function of the image pickup apparatus and a device having only the network connection I / F 106 with a connector or a cable. The present invention is effective. In this case, when the network connection I / F is in the sleep state, for example, network information is managed in the volatile memory of the device having the network connection I / F. The present invention can be realized by transferring the network information in the volatile memory of the device having the network connection I / F to the non-volatile memory 111 of the image capturing device at the time of transition to the auto power off state. is there.

さらに、上述した画像撮像装置の機能しか持っていない装置とネットワーク接続用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 system control unit 102 of the image capturing apparatus acquires real-time information from the external apparatus. In addition, when there is no mechanism for notifying the change of the real time information in the external device that manages the real time information, for example, the real time information is periodically acquired from a device having only the network connection I / F. Thus, it is possible to apply a method in which real-time information is changed.

このように、スリープ状態において実時間情報が変更されると、新しい時間軸上で情報を管理することにより、省電力モード状態(スリープ状態)からの復帰後にネットワーク(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 image capturing apparatus 100 of the present embodiment, information that needs to be managed in time units as represented by a dynamic IP address allocated from a DHCP server can be saved in the power saving mode without connecting to the network (400). It becomes possible to manage among them. Furthermore, when it is detected that the real-time information is changed during the power saving mode, the image capturing apparatus 100 according to the present embodiment immediately updates / re-acquires the network information. Therefore, even when the time information is changed during the sleep state, it is possible to prevent management of an IP address that deviates from the real time. Further, since the image capturing apparatus 100 accurately grasps the time information, the number of acquisition requests to the DHCP server is reduced, the increase in the traffic of the DHCP server is eliminated, and the throughput is greatly improved.

加えて、画像撮像装置100では、ネットワーク(400)に接続する際に、前回取得したIPアドレスの所有時間がリース期間を超えており、ネットワーク接続ができなかった場合に、再度、DHCPサーバからネットワーク情報を取得するようにしている。これにより、常に、ネットワーク(400)に接続することができ、装置のパフォーマンスを安定させることで、画像撮像装置の可用性が向上するとともに、利用効率が大幅に向上する。   In addition, when the image capturing apparatus 100 is connected to the network (400), if the ownership time of the previously acquired IP address exceeds the lease period and the network connection cannot be established, the network is again connected from the DHCP server to the network (400). I try to get information. Thereby, it is possible to always connect to the network (400), and by stabilizing the performance of the apparatus, the availability of the image pickup apparatus is improved and the utilization efficiency is greatly improved.

本実施形態の画像撮像装置100によれば、例えば省電力モードに移行し、ネットワーク接続用I/F106への電力供給が停止しても、画像撮像装置100内部の実時間情報でネットワーク情報を管理することが可能である。また、省電力モード中に実時間情報の変更があった場合でも、直ちにネットワーク情報の再取得処理および当該画像撮像装置100内部での時間情報の修正を行うことが可能である。これにより、省電力モードからの復帰時またはパワーオフモードを有する装置であっても、ネットワーク上の他の機器と正確に同期をとることができる。   According to the image capturing apparatus 100 of this embodiment, for example, even when the mode is shifted to the power saving mode and the power supply to the network connection I / F 106 is stopped, the network information is managed with the real-time information inside the image capturing apparatus 100. Is possible. Further, even when the real time information is changed during the power saving mode, it is possible to immediately perform the re-acquisition processing of the network information and the correction of the time information in the image capturing apparatus 100. As a result, even when the device returns from the power saving mode or has the power off mode, it can be accurately synchronized with other devices on the network.

(第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 image capturing apparatus 100 is particularly shown. In the processing steps shown in FIG. 5, the same reference numerals are given to the same processing steps as those shown in FIG.

また、以下の説明では、図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 image capturing apparatus 100 and personal computers (500a, 500b) used as FTP servers. In the following description, a form using FTP as a communication protocol used by the image capturing apparatus 100 is shown, but the present embodiment is not limited to this. For example, in addition to FTP, other communication protocols such as PTP (Picture Transfer Protocol) and HTTP (Hyper TX Transfer Protocol) may be used. In this case, the personal computer (500a, 500b) is used as a server corresponding to the other communication protocol.

まず、図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 image capturing apparatus 100 acquires an IP address from the DHCP server, and stores the IP address acquisition time for acquiring the IP address and the lease period information of the IP address in the volatile memory 110 for management. To do.

その後、例えば、シャッタースイッチ101が一定時間押下されなければ、続いて、ステップS108において、画像撮像装置100のシステム制御部102は、当該画像撮像装置100の動作モードを省電力モード状態とする。この際、システム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止する。この場合、画像撮像装置100自体に対する電源部108からの電力の供給は停止されていないため、揮発性メモリ110への電力の供給は停止されていない状態(スリープ状態)である。そのため、揮発性メモリ110に格納されているネットワーク情報であるIPアドレスのリース期間情報とIPアドレス取得時間情報が消去されることはない。   Thereafter, for example, if the shutter switch 101 is not pressed for a certain period of time, subsequently, in step S108, the system control unit 102 of the image capturing apparatus 100 sets the operation mode of the image capturing apparatus 100 to the power saving mode. At this time, the system control unit 102 stops supplying power from the power supply unit 108 to the network connection I / F 106. In this case, since the supply of power from the power supply unit 108 to the image capturing apparatus 100 itself is not stopped, the supply of power to the volatile memory 110 is not stopped (sleep state). Therefore, IP address lease period information and IP address acquisition time information, which are network information stored in the volatile memory 110, are not erased.

ステップS108の省電力モード状態(スリープ状態)において、RTC109で管理している実時間が変更されると(ステップS1081)、画像撮像装置100のシステム制御部102は、これを検知する。   When the actual time managed by the RTC 109 is changed in the power saving mode state (sleep state) in step S108 (step S1081), the system control unit 102 of the image capturing apparatus 100 detects this.

続いて、ステップS1082において、画像撮像装置100のシステム制御部102は、電源部108からネットワーク接続用I/F106への電力の供給を停止した省電力モードのまま、RTC109から変更前の実時間情報を取得する。さらに、システム制御部102は、RTC109の実時間が変更される前に揮発性メモリ110に格納したIPアドレス取得時間情報を、当該揮発性メモリ110から読み出す。   Subsequently, in step S1082, the system control unit 102 of the image capturing apparatus 100 maintains the power saving mode in which the power supply from the power supply unit 108 to the network connection I / F 106 is stopped, and the real time information before the change from the RTC 109. To get. Further, the system control unit 102 reads from the volatile memory 110 the IP address acquisition time information stored in the volatile memory 110 before the real time of the RTC 109 is changed.

続いて、ステップS1083において、画像撮像装置100のシステム制御部102は、RTC109から変更後の実時間情報を取得する。   Subsequently, in step S1083, the system control unit 102 of the image capturing apparatus 100 acquires the changed real-time information from the RTC 109.

続いて、ステップS1084において、画像撮像装置100のシステム制御部102は、ステップS1082で読み出したIPアドレス取得時間を、ステップS1083で取得した変更後の実時間軸上で補正する。具体的に、システム制御部102は、まず、ステップS1082で取得した変更前の実時間とステップS1083で取得した変更後の実時間から、変更された時間の期間を割り出す。そして、システム制御部102は、割り出した期間に基づいて、ステップS1082で読み出したIPアドレス取得時間を補正する。   Subsequently, in step S1084, the system control unit 102 of the image capturing apparatus 100 corrects the IP address acquisition time read in step S1082 on the changed real time axis acquired in step S1083. Specifically, the system control unit 102 first determines the period of the changed time from the actual time before the change acquired in step S1082 and the actual time after the change acquired in step S1083. Then, the system control unit 102 corrects the IP address acquisition time read in step S1082 based on the determined period.

続いて、ステップS1085において、画像撮像装置100のシステム制御部102は、ステップS1084で補正した補正後のIPアドレス取得時間を、補正前のIPアドレス取得時間に書き換えて、揮発性メモリ110に格納する。   Subsequently, in step S1085, the system control unit 102 of the image capturing apparatus 100 rewrites the corrected IP address acquisition time corrected in step S1084 with the IP address acquisition time before correction, and stores it in the volatile memory 110. .

その後、シャッタースイッチ101が押下されると、ステップS116において、画像撮像装置100のシステム制御部102は、撮影動作を開始する。そして、システム制御部102は、撮影画像に係る画像データを生成する処理を行って、当該画像データの画像転送準備動作を行う。この際、画像転送準備動作は、上述したシャッタースイッチ101が押下されたことを契機として行われる形態に限られない。例えば、画像撮像装置100の表示部(不図示)に表示されたGUI画面上から、撮影者が転送画像の画像データを選択したことを契機として行われる形態であっても良い。この画像データの転送準備動作がなされると、システム制御部102は、画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。これにより、省電力モード状態(スリープ状態)から通常電力モード状態に復帰することになる。   Thereafter, when the shutter switch 101 is pressed, in step S116, the system control unit 102 of the image capturing apparatus 100 starts a photographing operation. Then, the system control unit 102 performs a process of generating image data related to the captured image, and performs an image transfer preparation operation for the image data. At this time, the image transfer preparation operation is not limited to the form performed when the shutter switch 101 described above is pressed. For example, it may be a form that is triggered by the photographer selecting image data of a transfer image from a GUI screen displayed on a display unit (not shown) of the image capturing apparatus 100. When the image data transfer preparation operation is performed, the system control unit 102 predicts that the image transfer process is started, and controls to start supplying power from the power supply unit 108 to the network connection I / F 106. I do. As a result, the normal power mode state is restored from the power saving mode state (sleep state).

続いて、ステップS117において、画像撮像装置100のシステム制御部102は、ステップS108における省電力モードからの復帰時間を、RTC109から取得する。   Subsequently, in step S117, the system control unit 102 of the image capturing apparatus 100 acquires the return time from the power saving mode in step S108 from the RTC 109.

続いて、ステップS118において、画像撮像装置100のシステム制御部102は、まず、ステップS1085で格納したIPアドレス取得時間とステップS117で取得した省電力モードからの復帰時間との差を算出する。ここで算出された差は、ステップS103で取得したIPアドレスを所有している所有時間を示す。その後、システム制御部102は、算出したIPアドレスの所有時間とステップS105で通知されたIPアドレスのリース期間とを比較する。   Subsequently, in step S118, the system control unit 102 of the image capturing apparatus 100 first calculates the difference between the IP address acquisition time stored in step S1085 and the return time from the power saving mode acquired in step S117. The difference calculated here indicates the possession time during which the IP address acquired in step S103 is possessed. Thereafter, the system control unit 102 compares the calculated possession time of the IP address with the lease period of the IP address notified in step S105.

続いて、ステップS119において、画像撮像装置100のシステム制御部102は、ステップS118の比較の結果、IPアドレスの所有時間がIPアドレスのリース期間を超えているか否かを判断する。   Subsequently, in step S119, the system control unit 102 of the image capturing apparatus 100 determines whether the IP address possession time exceeds the IP address lease period as a result of the comparison in step S118.

ステップ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 system control unit 102 generates image data generated in step S116 via the network connection I / F 106 for the personal computer (500a, 500b) designated by the photographer (user). Process to transfer. At this time, the network connection I / F 106 communicates with the personal computer (500a, 500b) that is the FTP server using the IP address already acquired in step S103 (that is, acquired last time), and the image data Perform the transfer. Thereafter, the process proceeds to step S108.

一方、ステップ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 image capturing apparatus 100 is mainly shown.

まず、図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 image capturing apparatus 100 is operated, the system control unit 102 performs control to supply power from the power source unit 108, and performs a power on process. do. That is, in step S201, the system control unit 102 performs a power-on process and performs a process for returning from the power-off mode.

続いて、ステップS202において、システム制御部102は、画像撮像装置100の初期化処理を実行する。ステップS202の初期化処理が終了すると、画像撮像装置100では、撮影者の操作待ちとなる。   Subsequently, in step S <b> 202, the system control unit 102 executes initialization processing of the image capturing apparatus 100. When the initialization process in step S202 is completed, the image capturing apparatus 100 waits for a photographer's operation.

続いて、ステップS203において、システム制御部102は、撮影者からの操作に基づいて、前回設定したネットワーク接続パラメータ(ネットワーク情報)を用いたネットワーク接続処理を行うか否かを判断する。ここで、本実施形態においては、ネットワーク接続処理を行う方法として、第1の実施形態と同様に2つの方法とがあるものとする。   Subsequently, in step S203, the system control unit 102 determines whether or not to perform network connection processing using the previously set network connection parameter (network information) based on an operation from the photographer. Here, in the present embodiment, there are two methods for performing the network connection process, as in the first embodiment.

ステップ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 system control unit 102 determines whether to perform network connection processing using network connection parameters set from the GUI screen of the image capturing apparatus 100 based on an operation from the photographer.

ステップ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 image capturing apparatus 100 is performed, the process proceeds to step S205. In step S205, the system control unit 102 displays a network setting parameter setting screen on a display unit (not shown) as a GUI screen, and accepts input of the network setting parameter (network information).

続いて、ステップS206において、システム制御部102は、画像転送準備動作が発生した時(S116)に画像転送処理が開始されることを予測し、電源部108からネットワーク接続用I/F106に対して電力の供給を開始する制御を行う。   Subsequently, in step S206, the system control unit 102 predicts that the image transfer process will be started when an image transfer preparation operation occurs (S116), and the power supply unit 108 performs the network connection to the I / F 106. Control to start supplying power.

続いて、ステップS207において、ネットワーク接続用I/F106は、システム制御部102による制御に基づいて、ネットワーク(400)及びサーバ(DHCPサーバ、FTPサーバ)への接続処理を行う。   Subsequently, in step S207, the network connection I / F 106 performs connection processing to the network (400) and the server (DHCP server, FTP server) based on control by the system control unit 102.

続いて、ステップS208において、システム制御部102は、ステップS207のネットワーク接続用I/F106による接続処理が成功したか否かを判断する。   Subsequently, in step S208, the system control unit 102 determines whether or not the connection process by the network connection I / F 106 in step S207 is successful.

ステップ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 / F 106 in step S207 is successful, the process proceeds to step S209. In step S209, the system control unit 102 determines whether or not the DHCP function is used as an IP address acquisition method. That is, in step S209, when the connection to the network (400) is established, the IP address acquisition method set by the photographer for the image capturing apparatus 100 is the dynamic IP address from the DHCP server (600a, 600b). It is determined whether or not it is a method for acquiring the.

ステップ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 system control unit 102 acquires an IP address assigned from the server device (600a, 600b) that is a DHCP server, and sets an IP address acquisition time indicating the time when the IP address is acquired from the RTC 109. get. Further, the system control unit 102 receives the lease period of the IP address notified from the server devices (600a, 600b) which are DHCP servers. Then, the system control unit 102 stores and manages the lease period of the IP address and the IP address acquisition time in the volatile memory 110. The processing in step S210 is similar to, for example, steps S103, S104, and S106 shown in FIG.

一方、ステップ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 image capturing apparatus 100 is not performed (that is, the network connection process is not performed), the process proceeds to step S211. move on. In step S211, the system control unit 102 causes the image capturing apparatus 100 to function as a shooting mode. That is, in this case, the image capturing apparatus 100 functions as a digital camera. Then, when the shooting mode by the image pickup apparatus 100 is completed, the process returns to step S204.

一方、ステップ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 system control unit 102 predicts that an image transfer process is started when an image transfer preparation operation occurs (S116), and the power supply unit 108 supplies power to the network connection I / F 106. Control to start the supply of.

続いて、ステップS213において、システム制御部102は、IPアドレスのリース期間の残り時間があるか否かを判断する。具体的に以下の処理を行う。   Subsequently, in step S213, the system control unit 102 determines whether there is a remaining time of the lease period of the IP address. Specifically, the following processing is performed.

まず、システム制御部102は、ステップS201の電源投入に係る時間、即ち、省電力モードからの復帰時またはパワーオフモードからの復帰時における復帰時間を、RTC109から取得する。次いで、システム制御部102は、IPアドレス取得時間と取得した復帰時間との差(即ち、当該IPアドレスを所有している所有時間)を算出する。次いで、システム制御部102は、算出したIPアドレスの所有時間とIPアドレスのリース期間とを比較し、IPアドレスの所有時間がIPアドレスのリース期間内であるか否かを判断し、Pアドレスのリース期間の残り時間があるか否かを判断する。   First, the system control unit 102 acquires from the RTC 109 the time related to power-on in step S201, that is, the return time at the time of return from the power saving mode or the return from the power off mode. Next, the system control unit 102 calculates the difference between the IP address acquisition time and the acquired return time (that is, the ownership time in which the IP address is owned). Next, the system control unit 102 compares the calculated IP address possession time with the IP address lease period, determines whether the IP address possession time is within the IP address lease period, and determines the P address. Determine if there is remaining time for the lease period.

ステップ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 system control unit 102 performs a re-acquisition process of the network setting parameter (network information) including the IP address and the lease period of the IP address for the server devices (600a, 600b) of the DHCP server. .

続いて、ステップS215において、システム制御部102は、ステップS214におけるネットワーク設定パラメータ(ネットワーク情報)の再取得処理が成功したか否かを判断する。   Subsequently, in step S215, the system control unit 102 determines whether or not the network setting parameter (network information) reacquisition process in step S214 is successful.

ステップ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 system control unit 102 notifies that there is an error in the connection processing to the network (400) from, for example, a display unit (not shown) or a voice output unit (not shown), and the photographer ( The user) is warned of the error. Here, for example, when the connection process in step S208 fails (for example, when the connection process fails because the network setting parameter set by the photographer is incorrect), the setting parameter is incorrect for the photographer. Is warned.

続いて、ステップS217において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。その後、ステップS204に戻る。   Subsequently, in step S217, the system control unit 102 performs control to stop power supply from the power supply unit 108 to the network connection I / F 106. Thereafter, the process returns to step S204.

一方、ステップ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 system control unit 102 performs reconnection processing to the network (400) using the previous network setting parameter (network information) before the power-on processing is performed in step S201.

続いて、ステップS219において、システム制御部102は、ステップS218におけるネットワーク(400)への接続処理が成功したか否かを判断する。   Subsequently, in step S219, the system control unit 102 determines whether or not the connection process to the network (400) in step S218 is successful.

ステップ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 system control unit 102 acquires the IP address acquisition time of the IP address acquired in step S214 from the RTC 109. Then, the system control unit 102 stores the IP address acquisition time and the lease period of the IP address acquired in step S214 in the volatile memory 110 for management.

続いて、ステップS221において、システム制御部102は、例えば、撮影者からの操作に基づいて、撮影画像の画像データを転送する、FTPサーバであるパーソナルコンピュータ(500a、500b)を設定する。   Subsequently, in step S221, the system control unit 102 sets, for example, personal computers (500a, 500b) that are FTP servers that transfer image data of a captured image based on an operation from a photographer.

ステップ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 system control unit 102 performs connection processing to the already set FTP server, and determines whether the connection processing to the FTP server is successful.

ステップ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 system control unit 102 determines whether or not the image capturing apparatus 100 has actually performed a shooting operation to generate image data of the captured image, and transfer image data has been generated.

ステップ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 system control unit 102 performs image transfer processing of the transfer image data on the already set FTP server.

一方、ステップ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 system control unit 102 determines whether the time during which the transfer image data is not generated has exceeded a preset setting time.

ステップ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 system control unit 102 determines whether or not the real time setting managed by the RTC 109 has been changed.

ステップ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 RTC 109 has been changed, the process proceeds to step S502. In step S502, the system control unit 102 acquires real-time information before the change from the RTC 109. Further, the system control unit 102 reads from the volatile memory 110 the IP address acquisition time information stored in the volatile memory 110 before the real time of the RTC 109 is changed.

続いて、ステップS503において、システム制御部102は、RTC109から変更後の実時間情報を取得する。   Subsequently, in step S <b> 503, the system control unit 102 acquires changed real-time information from the RTC 109.

続いて、ステップS504において、システム制御部102は、ステップS502で読み出したIPアドレス取得時間を、ステップS503で取得した変更後の実時間軸上で補正する。具体的に、システム制御部102は、まず、ステップS502で取得した変更前の実時間とステップS503で取得した変更後の実時間から、変更された時間の期間を割り出す。そして、システム制御部102は、割り出した期間に基づいて、ステップS502で読み出したIPアドレス取得時間を補正する。   Subsequently, in step S504, the system control unit 102 corrects the IP address acquisition time read in step S502 on the changed real time axis acquired in step S503. Specifically, the system control unit 102 first determines the period of the changed time from the real time before the change acquired in step S502 and the real time after the change acquired in step S503. Then, the system control unit 102 corrects the IP address acquisition time read in step S502 based on the determined period.

ステップ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 RTC 109 has not been changed, the process proceeds to step S505. In step S 505, the system control unit 102 saves and manages the new IP address acquisition time corrected in step S 504 together with the IP address lease period in the volatile memory 110. At this time, the system control unit 102 rewrites the new IP address acquisition time after the correction to the IP address acquisition time before the correction, and stores it in the volatile memory 110.

続いて、ステップS506において、システム制御部102は、ネットワーク接続用I/F106に対する電源部108からの電力供給を停止する制御を行う。この際、画像撮像装置100自体への電源部108からの電力供給は停止されないため、揮発性メモリ110への電力供給は停止されていない状態である。このため、ステップS505で揮発性メモリ110に退避させた情報が消去されることはない。   In step S506, the system control unit 102 performs control to stop power supply from the power supply unit 108 to the network connection I / F 106. At this time, since the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is not stopped, the power supply to the volatile memory 110 is not stopped. For this reason, the information saved in the volatile memory 110 in step S505 is not erased.

続いて、ステップS507において、システム制御部102は、画像転送準備動作が発生したか否かを判断する。ここで、このステップS507の処理は、図5のステップS116の処理と同様である。この判断の結果、画像転送準備動作が発生していない場合には、画像転送準備動作が発生するまで、ステップS507で待機する。   Subsequently, in step S507, the system control unit 102 determines whether an image transfer preparation operation has occurred. Here, the process of step S507 is the same as the process of step S116 of FIG. If no image transfer preparation operation has occurred as a result of this determination, the process waits in step S507 until the image transfer preparation operation has occurred.

一方、ステップ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 system control unit 102 predicts that the image transfer process will be started, and the network connection I / F 106 is sent from the power supply unit 108. Control to start supplying power. As a result, the normal power mode state is restored from the power saving mode state (sleep state). Thereafter, the process proceeds to step S212 in FIG. 4A and the processes after step S212 are performed.

なお、本実施形態では、実時間情報をRTC109から取得する形態を示しているが、例えば、GPS(Global Positioning System)などから実時間情報を取得する方法でも本発明は実施可能である。   In the present embodiment, the real-time information is acquired from the RTC 109. However, the present invention can be implemented by a method of acquiring real-time information from, for example, GPS (Global Positioning System).

また、本実施形態の画像撮像装置100では、画像撮像装置100自体への電源部108からの電力供給が停止された場合(即ち、パワーオフモードの場合)、揮発性メモリ110への電力供給も停止される状態(オートパワーオフ状態)になる。この場合、本実施形態の画像撮像装置100では、例えば、システム制御部102において、揮発性メモリ110上に管理していた、IPアドレスのリース期間情報及びIPアドレス取得時間情報等を、不揮発性メモリ111に退避させて管理する。この処理は、画像撮像装置100自体への電源部108からの電力供給が停止されてしまうため、揮発性メモリ110の記憶情報を不揮発性メモリ111に移し変えて、当該記憶情報が消去されてしまうことを回避するためである。   Further, in the image capturing apparatus 100 of the present embodiment, when power supply from the power supply unit 108 to the image capturing apparatus 100 itself is stopped (that is, in the power-off mode), power supply to the volatile memory 110 is also performed. It will be in a stopped state (auto power off state). In this case, in the image capturing apparatus 100 according to the present embodiment, for example, the lease period information and the IP address acquisition time information of the IP address managed on the volatile memory 110 in the system control unit 102 are stored in the nonvolatile memory. The information is managed by being saved to 111. In this process, since the power supply from the power supply unit 108 to the image capturing apparatus 100 itself is stopped, the stored information in the volatile memory 110 is transferred to the nonvolatile memory 111 and the stored information is deleted. This is to avoid this.

また、本実施形態においても、画像撮像装置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 / F 106 is provided inside the image capturing apparatus 100 and that the power supply from the power supply unit 108 to the image capturing apparatus 100 and the timing of stopping are the same. Explained. However, even in a system that can realize a function similar to that of the image pickup apparatus 100 by connecting a device having only the function of the image pickup apparatus and a device having only the network connection I / F 106 with a connector or a cable. The present invention is effective. In this case, when the network connection I / F is in the sleep state, for example, network information is managed in the volatile memory of the device having the network connection I / F. The present invention can be realized by transferring the network information in the volatile memory of the device having the network connection I / F to the non-volatile memory 111 of the image capturing device 100 at the time of transition to the auto power off state. It is.

さらに、上述した画像撮像装置の機能しか持っていない装置とネットワーク接続用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 system control unit 102 of the image capturing apparatus acquires real-time information from the external apparatus. In addition, when there is no mechanism for notifying the change of the real time information in the external device that manages the real time information, for example, the real time information is periodically acquired from a device having only the network connection I / F. Thus, it is possible to apply a method in which real-time information is changed.

本実施形態の画像撮像装置100では、DHCPサーバから割り振られる動的IPアドレスに代表されるような時間単位で管理が必要な情報を、ネットワーク(400)への接続を行わずに、省電力モード中でも管理することが可能となる。さらに、本実施形態の画像撮像装置100では、省電力モード中において実時間情報が変更されたとしても新しい時間軸上で情報を管理することにより、スリープ状態からの復帰後にネットワーク(400)に再接続することが容易となる。これにより、画像撮像装置100では、時間除法を正確に把握しているため、DHCPサーバへの取得要求の回数が減少し、DHCPサーバのトラヒック増大を解消し、スループットが大きく向上する。   In the image capturing apparatus 100 of the present embodiment, information that needs to be managed in time units as represented by a dynamic IP address allocated from a DHCP server can be saved in the power saving mode without connecting to the network (400). It becomes possible to manage among them. Furthermore, even if the real-time information is changed during the power saving mode, the image capturing apparatus 100 according to the present embodiment manages the information on the new time axis so that the network (400) can be re-established after returning from the sleep state. It becomes easy to connect. Accordingly, since the image capturing apparatus 100 accurately grasps the time division method, the number of acquisition requests to the DHCP server is reduced, the increase in the traffic of the DHCP server is eliminated, and the throughput is greatly improved.

加えて、画像撮像装置100では、ネットワーク(400)に接続する際に、前回取得したIPアドレスの所有時間がリース期間を超えており、ネットワーク接続ができなかった場合に、再度、DHCPサーバからネットワーク情報を取得するようにしている。これにより、常に、ネットワーク(400)に接続することができ、装置のパフォーマンスを安定させることで、画像撮像装置の可用性が向上するとともに、利用効率が大幅に向上する。   In addition, when the image capturing apparatus 100 is connected to the network (400), if the ownership time of the previously acquired IP address exceeds the lease period and the network connection cannot be established, the network is again connected from the DHCP server to the network (400). I try to get information. Thereby, it is possible to always connect to the network (400), and by stabilizing the performance of the apparatus, the availability of the image pickup apparatus is improved and the utilization efficiency is greatly improved.

なお、本実施形態では、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 RTC 109.

前述した各実施形態に係る画像撮像装置(通信装置)を構成する図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.

本発明の第1の実施形態に係る画像撮像システム(ネットワーク通信システム)の全体構成の一例を示すブロック図である。1 is a block diagram illustrating an example of an overall configuration of an image capturing system (network communication system) according to a first embodiment of the present invention. 本発明の第1の実施形態に係る画像撮像装置(通信装置)の概略構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a schematic configuration of an image capturing device (communication device) according to a first embodiment of the present invention. 本発明の第1の実施形態に係る画像撮像システム(通信システム)の処理手順の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the process sequence of the imaging system (communication system) which concerns on the 1st Embodiment of this invention. 本発明の第1の実施形態に係る画像撮像装置(通信装置)の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the imaging device (communication device) which concerns on the 1st Embodiment of this invention. 図4−1に引き続き、本発明の第1の実施形態に係る画像撮像装置(通信装置)の処理手順の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of a processing procedure of the image capturing apparatus (communication apparatus) according to the first embodiment of the present invention, following FIG. 4-1. 本発明の第2の実施形態に係る画像撮像システム(通信システム)の処理手順の一例を示すシーケンス図である。It is a sequence diagram which shows an example of the process sequence of the imaging system (communication system) which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る画像撮像装置(通信装置)の処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence of the imaging device (communication device) which concerns on the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

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 Image capturing apparatus 200, 200b Access point 300, 300a, 300b Router 400 Network 500a, 500b Personal computer (FTP server)
600a, 600b Server device (DHCP server)
101 Shutter switch 102 System control unit 103 Compression / decompression unit 104, 105 Recording unit 106 Network connection interface (network connection I / F)
107 Image storage memory 108 Power supply unit 109 RTC (Real_Time_Clock)
110 Volatile memory 111 Nonvolatile memory

Claims (18)

第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置であって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、
計時手段が示す時刻を取得する取得手段と、
前記受信手段が前記アドレスを受信した後に当該通信装置が前記第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の状態において電力が供給されることを特徴とする請求項に記載の通信装置。
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.
第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置であって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信手段と、
計時手段が示す時刻を取得する取得手段と、
前記受信手段が前記アドレスを受信した後に当該通信装置が前記第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.
前記取得手段は、前記受信手段が前記アドレスを受信した時刻を取得することを特徴とする請求項に記載の通信装置。 The communication apparatus according to claim 3 , wherein the acquisition unit acquires a time when the reception unit receives the address. 前記受信手段が前記アドレスを受信してからの経過時間を前記取得手段が取得した時刻に基づき算出する算出手段を更に有する請求項に記載の通信装置。 The communication apparatus according to claim 4 , further comprising a calculating unit that calculates an elapsed time since the receiving unit received the address based on the time acquired by the acquiring unit. 前記変更された時刻に基づき、前記アドレスを受信した時刻を補正する補正手段を更に有し、
前記算出手段は、前記補正手段により補正された時刻に基づき前記経過時間を算出することを特徴とする請求項に記載の通信装置。
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.
前記経過時間が前記リース期間を超えていない場合、前記判断手段は、前記アドレスが有効であると判断し、
前記経過時間が前記リース期間を超えている場合、前記判断手段は、前記アドレスが有効でないと判断することを特徴とする請求項に記載の通信装置。
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.
前記判断手段により前記アドレスが有効でないと判断された場合、当該通信装置は、前記受信手段が再度受信したアドレスを用いて前記外部装置と通信を行い、
前記判断手段により前記アドレスが有効であると判断された場合、当該通信装置は、前記受信手段による前記アドレスの再度受信をせず、既に前記受信手段により受信されているアドレスを用いて前記外部装置と通信を行うことを特徴とする請求項乃至のいずれか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.
前記第2の状態では、前記通信装置が前記外部装置と通信を行うための通信手段に電力が供給されないことを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 In the second state, the communication device according to any one of claims 1 to 8, characterized in that said communication device is not supplied with power communication means for communicating with the external device. 前記サーバ装置は、DHCPサーバであり、
前記受信手段は、DHCP機能を使用して前記アドレスを取得することを特徴とする請求項1乃至のいずれか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.
前記計時手段は、当該通信装置に接続された装置が有することを特徴とする請求項1乃至10のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 10 , wherein the time measuring means is included in a device connected to the communication device. 被写体像を撮像し、画像データを得る撮像手段を更に有することを特徴とする請求項1乃至11のいずれか1項に記載の通信装置。The communication apparatus according to claim 1, further comprising an imaging unit that captures a subject image and obtains image data. シャッターボタンを更に有し、A shutter button,
前記撮像手段は、前記シャッターボタンの操作に応じて前記撮像を行うことを特徴とする請求項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の状態から前記第1の状態に移行することを特徴とする請求項13に記載の通信装置。The communication device according to claim 13, wherein when the shutter button is operated in the second state, the communication device shifts from the second state to the first state. 第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置による通信方法であって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第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.
第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置による通信方法であって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第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.
第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置による通信方法をコンピュータに実行させるためのプログラムであって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第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.
第1の状態と、前記第1の状態よりも消費する電力が少ない第2の状態とを有する通信装置による通信方法をコンピュータに実行させるためのプログラムであって、
サーバ装置から、ネットワークを介して外部装置と通信するためのアドレスと、前記アドレスのリース期間とを受信する受信ステップと、
計時手段が示す時刻を取得する取得ステップと、
前記受信ステップで前記アドレスを受信した後に当該通信装置が前記第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.
JP2008029562A 2008-02-08 2008-02-08 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM Expired - Fee Related JP5043706B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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
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
JP4928303B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
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
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
JP6861692B2 (en) Imaging device, system, control method of imaging device, and 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
US20130195170A1 (en) Data transmission apparatus, data transmission method, and storage medium

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