JP6041619B2 - COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM - Google Patents

COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM Download PDF

Info

Publication number
JP6041619B2
JP6041619B2 JP2012233674A JP2012233674A JP6041619B2 JP 6041619 B2 JP6041619 B2 JP 6041619B2 JP 2012233674 A JP2012233674 A JP 2012233674A JP 2012233674 A JP2012233674 A JP 2012233674A JP 6041619 B2 JP6041619 B2 JP 6041619B2
Authority
JP
Japan
Prior art keywords
network
communication
data processing
mobile phone
digital camera
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.)
Active
Application number
JP2012233674A
Other languages
Japanese (ja)
Other versions
JP2014086844A (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 JP2012233674A priority Critical patent/JP6041619B2/en
Priority to US14/056,836 priority patent/US9325898B2/en
Publication of JP2014086844A publication Critical patent/JP2014086844A/en
Application granted granted Critical
Publication of JP6041619B2 publication Critical patent/JP6041619B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワークを介して他の機器と通信する技術に関する。   The present invention relates to technology for communicating with other devices via a network.

デジタルカメラなどのデータ処理装置に無線通信機能を搭載し、データ処理装置の保持する画像データを外部装置に送信する技術が知られている(特許文献1)。この機能を用いることで画像データをより手軽に外部装置に送信することが可能となった。
また近年では、デジタルカメラに簡易的なアクセスポイント機能を搭載したものも知られている。デジタルカメラが簡易的なアクセスポイント機能を起動すると、他の装置がデジタルカメラをアクセスポイントとして検知し、デジタルカメラが形成したネットワークに参加する。このようにすることで、デジタルカメラと他の装置を容易に通信させることが可能となる。
A technique for mounting a wireless communication function in a data processing device such as a digital camera and transmitting image data held by the data processing device to an external device is known (Patent Document 1). By using this function, image data can be transmitted to an external device more easily.
In recent years, digital cameras equipped with a simple access point function are also known. When the digital camera activates a simple access point function, another device detects the digital camera as an access point and participates in the network formed by the digital camera. By doing in this way, it becomes possible to make a digital camera and another apparatus communicate easily.

特開2007−166577号公報Japanese Patent Laid-Open No. 2007-166577

一般的に使用されているアクセスポイントなどの中継装置は、公衆網などに接続する回線を有しており、インターネットを介した通信などを行うことができる。その一方で、デジタルカメラ等の装置は、公衆網などに接続する回線を有していないのが一般的である。したがって、簡易的なアクセスポイント機能で形成したネットワークに参加しても、インターネットなどの外部ネットワークと通信できないケースが考えられる。   A commonly used relay device such as an access point has a line connected to a public network or the like, and can perform communication via the Internet. On the other hand, devices such as digital cameras generally do not have a line connected to a public network or the like. Therefore, there may be a case where communication with an external network such as the Internet is not possible even if the network is formed with a simple access point function.

上述のように、簡易的なアクセスポイント機能で形成したネットワークは、通常のアクセスポイントが形成したネットワークとは異なる性格を有する。しかしながら、ネットワークに参加する側の機器から見た場合、通常のアクセスポイントが形成したネットワークと、簡易的なアクセスポイント機能により形成されたネットワークとを識別することが困難であった。   As described above, a network formed by a simple access point function has a different character from a network formed by a normal access point. However, when viewed from a device participating in the network, it is difficult to distinguish between a network formed by a normal access point and a network formed by a simple access point function.

本発明の通信装置は、アクセスポイントが形成したネットワークに参加が可能な通信装置であって、第1のネットワークを介してデータ処理装置との通信を確立し、前記データ処理装置とのデータ通信を行うデータ通信手段と、前記データ処理装置から、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したか否かを示す通知を受信する受信手段と、前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知する検知手段と、ネットワークを介したデータの送信または受信を制御する制御手段とを有し、前記検知手段により前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後、前記制御手段は、前記受信手段により受信された通知の結果に応じて、前記通信装置が現在参加している前記第1のネットワークを離脱するか否かを制御することを特徴とするThe communication device of the present invention is a communication device that can participate in a network formed by an access point, establishes communication with the data processing device via the first network, and performs data communication with the data processing device. Communication between the data processing means, a receiving means for receiving from the data processing apparatus a notification indicating whether the data processing apparatus has formed the first network as the access point, and communication with the data processing apparatus A detection unit that detects that an application for performing transition to the background and a control unit that controls transmission or reception of data via a network, and communicates with the data processing apparatus by the detection unit. After detecting that the application for performing transition to the background, the control means receives the reception. Depending on the received notification of the results by means, wherein the communication device and controls whether to leave the first network currently participating.

本発明によれば、自機が接続するネットワークの種類を容易に識別することが可能になり、その結果に応じた適切な通信制御を行うことが可能となる。   According to the present invention, it is possible to easily identify the type of network to which the own device is connected, and it is possible to perform appropriate communication control according to the result.

第1の実施形態におけるデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera in 1st Embodiment. 第1の実施形態における携帯電話の構成を示すブロック図である。It is a block diagram which shows the structure of the mobile telephone in 1st Embodiment. 第1の実施形態におけるネットワーク構成を示す図である。It is a figure which shows the network structure in 1st Embodiment. 第1の実施形態におけるデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera in 1st Embodiment. 第1の実施形態における表示画面の一例である。It is an example of the display screen in 1st Embodiment. 第1の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 1st Embodiment. 第1の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 1st Embodiment. 第1の実施形態における表示画面の一例である。It is an example of the display screen in 1st Embodiment. 第1の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 1st Embodiment. 第1の実施形態における動作の概要を示した図である。It is the figure which showed the outline | summary of the operation | movement in 1st Embodiment. 第1の実施形態における動作の概要を示した図である。It is the figure which showed the outline | summary of the operation | movement in 1st Embodiment. 第1の実施形態における表示画面の一例である。It is an example of the display screen in 1st Embodiment. 第1の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 1st Embodiment. 第2の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 2nd Embodiment. 第2の実施形態におけるデジタルカメラの動作を示すフローチャートである。It is a flowchart which shows operation | movement of the digital camera in 2nd Embodiment. 第1の実施形態における携帯電話の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile telephone in 1st Embodiment.

以下に、本発明を実施するための形態について、添付の図面を用いて詳細に説明する。   EMBODIMENT OF THE INVENTION Below, the form for implementing this invention is demonstrated in detail using attached drawing.

なお、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されてもよい。また、各実施の形態を適宜組み合せることも可能である。   The embodiment described below is an example as means for realizing the present invention, and may be appropriately modified or changed depending on the configuration of the apparatus to which the present invention is applied and various conditions. Moreover, it is also possible to combine each embodiment suitably.

[第1の実施形態]
<デジタルカメラの構成>
図1は、本実施形態のデータ処理装置の一例であるデジタルカメラ100の構成例を示すブロック図である。なお、ここではデータ処理装置の一例としてデジタルカメラについて述べるが、データ処理装置はこれに限られない。例えばデータ処理装置は携帯型のメディアプレーヤやいわゆるタブレットデバイス、パーソナルコンピュータなどの情報処理装置であってもよい。
[First Embodiment]
<Configuration of digital camera>
FIG. 1 is a block diagram illustrating a configuration example of a digital camera 100 that is an example of a data processing apparatus according to the present embodiment. Although a digital camera is described here as an example of the data processing device, the data processing device is not limited to this. For example, the data processing apparatus may be an information processing apparatus such as a portable media player, a so-called tablet device, or a personal computer.

制御部101は、入力された信号や、後述のプログラムに従ってデジタルカメラ100の各部を制御する。なお、制御部101が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。   The control unit 101 controls each unit of the digital camera 100 according to an input signal and a program described later. Note that instead of the control unit 101 controlling the entire apparatus, a plurality of hardware may share the processing to control the entire apparatus.

撮像部102は、撮像部102に含まれるレンズで結像された被写体光を電気信号に変換し、ノイズ低減処理などを行いデジタルデータを画像データとして出力する。撮像した画像データはバッファメモリに蓄えられた後、制御部101にて所定の演算を行い、記録媒体110に記録される。   The imaging unit 102 converts subject light imaged by a lens included in the imaging unit 102 into an electrical signal, performs noise reduction processing, and outputs digital data as image data. The captured image data is stored in the buffer memory, and then a predetermined calculation is performed by the control unit 101 and recorded on the recording medium 110.

不揮発性メモリ103は、電気的に消去・記録可能な不揮発性のメモリであり、制御部101で実行される後述のプログラム等が格納される。   The non-volatile memory 103 is an electrically erasable / recordable non-volatile memory, and stores a program to be described later executed by the control unit 101.

作業用メモリ104は、撮像部102で撮像された画像データを一時的に保持するバッファメモリや、表示部106の画像表示用メモリ、制御部101の作業領域等として使用される。   The work memory 104 is used as a buffer memory that temporarily holds image data picked up by the image pickup unit 102, an image display memory of the display unit 106, a work area of the control unit 101, and the like.

操作部105は、ユーザがデジタルカメラ100に対する指示をユーザから受け付けるために用いられる。操作部105は例えば、ユーザがデジタルカメラ100の電源のON/OFFを指示するための電源ボタンや、撮影を指示するためのレリーズスイッチ、画像データの再生を指示するための再生ボタンなどの操作部材を含む。また、後述する表示部106に形成されるタッチパネルも操作部105に含まれる。なお、レリーズスイッチは、SW1およびSW2を有する。レリーズスイッチが、いわゆる半押し状態となることにより、SW1がONとなる。これにより、AF(オートフォーカス)処理、AE(自動露出)処理、AWB(オートホワイトバランス)処理、EF(フラッシュプリ発光)処理等の撮影準備を行うための指示を受け付ける。また、レリーズスイッチが、いわゆる全押し状態となることにより、SW2がONとなる。これにより、撮影を行うための指示を受け付ける。   The operation unit 105 is used for the user to accept an instruction for the digital camera 100 from the user. The operation unit 105 includes, for example, operation members such as a power button for instructing the user to turn on / off the power of the digital camera 100, a release switch for instructing photographing, and a reproduction button for instructing reproduction of image data. including. A touch panel formed on the display unit 106 described later is also included in the operation unit 105. The release switch has SW1 and SW2. When the release switch is in a so-called half-pressed state, SW1 is turned on. As a result, an instruction for making preparations for shooting such as AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, and EF (flash pre-emission) processing is accepted. Further, when the release switch is in a fully-pressed state, SW2 is turned on. As a result, an instruction for photographing is received.

表示部106は、撮影の際のビューファインダー画像の表示、撮影した画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部106は必ずしもデジタルカメラ100が内蔵する必要はない。デジタルカメラ100は内部又は外部の表示部106と接続することができ、表示部106の表示を制御する表示制御機能を少なくとも有していればよい。   The display unit 106 displays a viewfinder image at the time of shooting, displays shot image data, and displays characters for interactive operation. Note that the display unit 106 is not necessarily built in the digital camera 100. The digital camera 100 can be connected to an internal or external display unit 106 and only needs to have at least a display control function for controlling display on the display unit 106.

記録媒体110は、撮像部102から出力された画像データを記録することができる。記録媒体110は、デジタルカメラ100に着脱可能なよう構成してもよいし、デジタルカメラ100に内蔵されていてもよい。すなわち、デジタルカメラ100は少なくとも記録媒体110にアクセスする手段を有していればよい。   The recording medium 110 can record the image data output from the imaging unit 102. The recording medium 110 may be configured to be detachable from the digital camera 100 or may be built in the digital camera 100. That is, the digital camera 100 only needs to have a means for accessing at least the recording medium 110.

接続部111は、外部装置と接続するためのインターフェースである。本実施形態のデジタルカメラ100は、接続部111を介して、外部装置とデータのやりとりを行うことができる。なお、本実施形態では、接続部111は外部装置と無線LANで通信するためのインターフェースを含む。制御部101は、接続部111を制御することで外部装置との無線通信を実現する。なお、通信方式は無線LANに限定されるものではない。   The connection unit 111 is an interface for connecting to an external device. The digital camera 100 of this embodiment can exchange data with an external device via the connection unit 111. In the present embodiment, the connection unit 111 includes an interface for communicating with an external device via a wireless LAN. The control unit 101 realizes wireless communication with an external device by controlling the connection unit 111. The communication method is not limited to the wireless LAN.

なお、本実施形態におけるデジタルカメラ100は、インフラストラクチャモードにおけるスレーブ装置として動作することが可能である。スレーブ装置として動作する場合、周辺のアクセスポイント(以下、AP)に接続することで、APが形成するネットワークに参加することが可能である。また、本実施形態におけるデジタルカメラ100は、APの一種ではあるが、より機能が限定された簡易的なAP(以下、簡易AP)として動作することも可能である。なお、本実施形態におけるAPは中継装置の一例である。デジタルカメラ100が簡易APとして動作すると、デジタルカメラ100は自身でネットワークを形成する。デジタルカメラ100の周辺の装置は、デジタルカメラ100をAPと認識し、デジタルカメラ100が形成したネットワークに参加することが可能となる。上記のようにデジタルカメラ100を動作させるためのプログラムは不揮発性メモリ103に保持されているものとする。   Note that the digital camera 100 in the present embodiment can operate as a slave device in the infrastructure mode. When operating as a slave device, it is possible to join a network formed by an AP by connecting to a peripheral access point (hereinafter referred to as AP). In addition, the digital camera 100 according to the present embodiment is a kind of AP, but can also operate as a simple AP with a limited function (hereinafter referred to as a simple AP). The AP in this embodiment is an example of a relay device. When the digital camera 100 operates as a simple AP, the digital camera 100 forms a network by itself. Devices around the digital camera 100 can recognize the digital camera 100 as an AP and participate in a network formed by the digital camera 100. It is assumed that a program for operating the digital camera 100 is held in the nonvolatile memory 103 as described above.

なお、本実施形態におけるデジタルカメラ100はAPの一種であるものの、スレーブ装置から受信したデータをインターネットプロバイダなどに転送するゲートウェイ機能は有していない簡易APである。したがって、自機が形成したネットワークに参加している他の装置からデータを受信しても、それをインターネットなどのネットワークに転送することはできない。   Although the digital camera 100 according to the present embodiment is a kind of AP, it is a simple AP that does not have a gateway function for transferring data received from a slave device to an Internet provider or the like. Therefore, even if data is received from another device participating in the network formed by the own device, it cannot be transferred to a network such as the Internet.

以上がデジタルカメラ100の説明である。次に、外部装置の一例である携帯電話200について説明する。   The above is the description of the digital camera 100. Next, a mobile phone 200 that is an example of an external device will be described.

<携帯電話の構成>
図2は、本実施形態の通信装置の一例である携帯電話200の構成例を示すブロック図である。なお、ここでは通信装置の一例として携帯電話について述べるが、通信装置はこれに限られない。例えば通信装置は、無線機能付きのデジタルカメラ、携帯型のメディアプレーヤやいわゆるタブレットデバイス、パーソナルコンピュータ、スマートフォンなどの情報処理装置であってもよい。
<Configuration of mobile phone>
FIG. 2 is a block diagram illustrating a configuration example of the mobile phone 200 that is an example of the communication apparatus according to the present embodiment. Although a mobile phone is described here as an example of a communication device, the communication device is not limited to this. For example, the communication device may be an information processing device such as a digital camera with a wireless function, a portable media player, a so-called tablet device, a personal computer, or a smartphone.

制御部201は、入力された信号や、後述のプログラムに従って携帯電話200の各部を制御する。なお、制御部201が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。   The control unit 201 controls each unit of the mobile phone 200 according to an input signal and a program described later. Note that instead of the control unit 201 controlling the entire apparatus, the entire apparatus may be controlled by a plurality of pieces of hardware sharing the processing.

撮像部202は、撮像部202に含まれるレンズで結像された被写体光を電気信号に変換し、ノイズ低減処理などを行いデジタルデータを画像データとして出力する。撮像した画像データはバッファメモリに蓄えられた後、制御部201にて所定の演算を行い、記録媒体210に記録される。   The imaging unit 202 converts subject light imaged by a lens included in the imaging unit 202 into an electrical signal, performs noise reduction processing, and outputs digital data as image data. The captured image data is stored in the buffer memory, and then a predetermined calculation is performed by the control unit 201 and recorded on the recording medium 210.

不揮発性メモリ203は、電気的に消去・記録可能な不揮発性のメモリであり、制御部201で実行される各種プログラム等が格納される。デジタルカメラ100と通信するためのプログラムも不揮発性メモリ203に保持され、カメラ通信アプリケーションとしてインストールされているものとする。なお、本実施形態における携帯電話200の処理は、カメラ通信アプリケーションにより提供されるプログラムを読み込むことにより実現される。なお、カメラ通信アプリケーションは携帯電話200にインストールされたOSの基本的な機能を利用するためのプログラムを有しているものとする。なお、携帯電話200のOSが本実施形態における処理を実現するためのプログラムを有していてもよい。   The nonvolatile memory 203 is an electrically erasable / recordable nonvolatile memory, and stores various programs executed by the control unit 201. It is assumed that a program for communicating with the digital camera 100 is also stored in the nonvolatile memory 203 and installed as a camera communication application. Note that the processing of the mobile phone 200 in the present embodiment is realized by reading a program provided by a camera communication application. It is assumed that the camera communication application has a program for using the basic functions of the OS installed in the mobile phone 200. Note that the OS of the mobile phone 200 may have a program for realizing the processing in the present embodiment.

作業用メモリ204は、撮像部202で生成された画像データを一時的に保存するバッファメモリや、表示部206の画像表示用メモリや、制御部201の作業領域等として使用される。   The work memory 204 is used as a buffer memory for temporarily storing image data generated by the imaging unit 202, an image display memory for the display unit 206, a work area for the control unit 201, and the like.

操作部205は、携帯電話200に対する指示をユーザから受け付けるために用いられる。操作部205は例えば、ユーザが携帯電話200の電源のON/OFFを指示するための電源ボタンや、表示部206に形成されるタッチパネルなどの操作部材を含む。   The operation unit 205 is used to receive an instruction for the mobile phone 200 from the user. The operation unit 205 includes, for example, operation members such as a power button for the user to instruct ON / OFF of the power supply of the mobile phone 200 and a touch panel formed on the display unit 206.

表示部206は、画像データの表示、対話的な操作のための文字表示などを行う。なお、表示部206は必ずしも携帯電話200が内蔵する必要はない。携帯電話200は表示部206と接続することができ、表示部206の表F示を制御する表示制御機能を少なくとも有していればよい。   The display unit 206 displays image data, characters for interactive operation, and the like. Note that the display unit 206 is not necessarily built in the mobile phone 200. The mobile phone 200 can be connected to the display unit 206 and need only have at least a display control function for controlling the display F of the display unit 206.

記録媒体210は、撮像部202から出力された画像データを記録することができる。記録媒体210は、携帯電話200に着脱可能なよう構成してもよいし、携帯電話200に内蔵されていてもよい。すなわち、携帯電話200は少なくとも記録媒体210にアクセスする手段を有していればよい。   The recording medium 210 can record image data output from the imaging unit 202. The recording medium 210 may be configured to be detachable from the mobile phone 200 or may be built in the mobile phone 200. That is, the mobile phone 200 only needs to have at least a means for accessing the recording medium 210.

接続部211は、外部装置と接続するためのインターフェースである。本実施形態の携帯電話200は、接続部211を介して、外部装置とデータのやりとりを行うことができる。なお、本実施形態では、接続部211は外部装置と無線LANで通信するためのインターフェースを含む。制御部201は、接続部211を制御することで外部装置との無線通信を実現する。なお、本実施形態におけるデジタルカメラ100は、少なくともインフラストラクチャモードにおけるスレーブ装置として動作することが可能であり、周辺のAPが形成するネットワークに参加することが可能である。   The connection unit 211 is an interface for connecting to an external device. The cellular phone 200 of this embodiment can exchange data with an external device via the connection unit 211. In the present embodiment, the connection unit 211 includes an interface for communicating with an external device via a wireless LAN. The control unit 201 realizes wireless communication with an external device by controlling the connection unit 211. Note that the digital camera 100 in this embodiment can operate as at least a slave device in the infrastructure mode, and can participate in a network formed by neighboring APs.

公衆網接続部212は、公衆無線通信を行う際に用いられるインターフェースである。携帯電話200は、公衆網接続部212を介して、他の機器と通話をしたり、データ通信をすることができる。通話の際には、制御部201はマイク213およびスピーカ214を介して音声信号の入力と出力を行う。本実施形態では、公衆網接続部212は3Gを用いた通信を行うためのインターフェースを含むものとする。なお、3Gに限らず、LTEやWiMAX、ADSL、FTTH、いわゆる4Gといった他の通信方式を用いてもよい。また、接続部211および公衆網接続部212は必ずしも独立したハードウェアで構成する必要はなく、例えば一つのアンテナで兼用することも可能である。以上が携帯電話200の説明である。   The public network connection unit 212 is an interface used when performing public wireless communication. The mobile phone 200 can make a call with another device or perform data communication via the public network connection unit 212. During a call, the control unit 201 inputs and outputs an audio signal via the microphone 213 and the speaker 214. In this embodiment, the public network connection unit 212 includes an interface for performing communication using 3G. Not only 3G but other communication methods such as LTE, WiMAX, ADSL, FTTH, so-called 4G may be used. Further, the connection unit 211 and the public network connection unit 212 do not necessarily need to be configured by independent hardware, and may be shared by, for example, one antenna. The above is the description of the mobile phone 200.

<接続形態の概要>
図3は、本実施形態における、デジタルカメラ100と携帯電話200との接続形態を模式的に表した図である。デジタルカメラ100と携帯電話200が無線でデータを送受信する場合、図3(a)、図3(b)の2つの接続形態が考えられる。
<Overview of connection configuration>
FIG. 3 is a diagram schematically showing a connection form between the digital camera 100 and the mobile phone 200 in the present embodiment. When the digital camera 100 and the mobile phone 200 transmit and receive data wirelessly, two connection forms shown in FIGS. 3A and 3B are possible.

図3(a)は、外部中継装置の一例である外部AP300が形成する無線LANネットワークに、デジタルカメラ100と携帯電話200とが参加する形態である。デジタルカメラ100及び携帯電話200は、外部AP300が定期的に送信するビーコン信号を検知し、外部AP300が形成する無線LANネットワークに参加する。デジタルカメラ100と携帯電話200は同じ無線LANネットワークに参加した後、互いの機器発見、機器の能力取得などを経て無線LANによるデータの送受信が可能な状態となる(機器間の通信を確立する)。   FIG. 3A shows a form in which the digital camera 100 and the mobile phone 200 participate in a wireless LAN network formed by an external AP 300 that is an example of an external relay device. The digital camera 100 and the mobile phone 200 detect a beacon signal periodically transmitted by the external AP 300 and participate in a wireless LAN network formed by the external AP 300. After the digital camera 100 and the mobile phone 200 participate in the same wireless LAN network, they can transmit and receive data via the wireless LAN through mutual device discovery and device capability acquisition (establish communication between devices). .

また、本実施形態における外部AP300は、公衆網などを用いてインターネットなどの外部ネットワークに接続することが可能である。したがって、携帯電話200は、外部AP300を介してインターネット上にデータを送信することが可能である。   In addition, the external AP 300 in this embodiment can be connected to an external network such as the Internet using a public network or the like. Therefore, the mobile phone 200 can transmit data over the Internet via the external AP 300.

図3(b)は、外部AP300を介さず、デジタルカメラ100と携帯電話200とが直接接続する形態である。この場合は、デジタルカメラ100が簡易APとして動作して無線LANネットワークを形成する。デジタルカメラ100は簡易APとして動作すると、ビーコン信号の定期的な送信を開始する。携帯電話200はビーコン信号を検知し、デジタルカメラ100が形成した無線LANネットワークに参加する。そして図3(a)の場合と同様、互いの機器発見、機器の能力取得などを経て通信を確立し、データの送受信が可能な状態となる。   FIG. 3B illustrates a form in which the digital camera 100 and the mobile phone 200 are directly connected without using the external AP 300. In this case, the digital camera 100 operates as a simple AP to form a wireless LAN network. When the digital camera 100 operates as a simple AP, the digital camera 100 starts to periodically transmit a beacon signal. The mobile phone 200 detects the beacon signal and participates in the wireless LAN network formed by the digital camera 100. As in the case of FIG. 3A, communication is established through mutual device discovery, device capability acquisition, and the like, and data can be transmitted and received.

なお、前述したように、本実施形態におけるデジタルカメラ100はインターネットなどの外部ネットワークへの通信機能を有していない。したがって、デジタルカメラ100が形成する無線LANネットワークに参加している携帯電話200は、簡易APを介してインターネットなどにデータを送信することはできない。   As described above, the digital camera 100 in the present embodiment does not have a function of communicating with an external network such as the Internet. Therefore, the mobile phone 200 participating in the wireless LAN network formed by the digital camera 100 cannot transmit data to the Internet or the like via the simple AP.

以上述べたように、デジタルカメラ100と携帯電話200には2通りの接続形態がある。本実施形態では、これらの接続形態に応じて適切な制御を行う例について説明する。   As described above, the digital camera 100 and the mobile phone 200 have two connection forms. In this embodiment, an example in which appropriate control is performed according to these connection modes will be described.

<接続処理>
図4は、携帯電話200と接続する際のデジタルカメラ100の処理を示すフローチャートである。なお、本フローチャートに示す処理は、デジタルカメラ100の制御部101が入力信号やプログラムにしたがい、デジタルカメラ100の各部を制御することにより実現される。なお、特に断らない限り、デジタルカメラ100の処理を示す他のフローチャートでも同様である。本フローチャートは、デジタルカメラ100のユーザがメニュー操作などで他装置との接続を指示したことに応じて開始される。
<Connection process>
FIG. 4 is a flowchart showing processing of the digital camera 100 when connecting to the mobile phone 200. Note that the processing shown in this flowchart is realized by the control unit 101 of the digital camera 100 controlling each unit of the digital camera 100 in accordance with an input signal or a program. The same applies to other flowcharts showing the processing of the digital camera 100 unless otherwise specified. This flowchart is started in response to a user of the digital camera 100 instructing connection with another apparatus through a menu operation or the like.

ステップS400で、制御部101は外部APの形成する無線LANネットワークに参加するか、自機を簡易APとして動作させるかを選択させる画面を表示部106に表示する。本ステップで表示される画面の一例を図5A(a)に示す。   In step S400, the control unit 101 displays on the display unit 106 a screen for selecting whether to participate in the wireless LAN network formed by the external AP or to operate the own device as a simple AP. An example of the screen displayed in this step is shown in FIG.

ステップS401において、ユーザ操作によりボタン501が選択されたと判断した場合、制御部101は無線LAN無線ネットワークを形成することが選択されたと判断し、処理をステップS402に進める。ユーザ操作によりボタン502が選択されたと判断した場合、制御部101は外部APが形成する無線LANネットワークに参加することが選択されたと判断し、処理をステップS407に進める。   If it is determined in step S401 that the button 501 has been selected by a user operation, the control unit 101 determines that formation of a wireless LAN wireless network has been selected, and the process proceeds to step S402. If it is determined that the button 502 has been selected by a user operation, the control unit 101 determines that it has been selected to participate in the wireless LAN network formed by the external AP, and the process proceeds to step S407.

ステップS402で、制御部101は無線LANネットワークを形成する。具体的には、制御部101はネットワークを形成するのに必要なESSID、BSSID、認証方式、暗号種別、暗号鍵を生成する。また制御部101は、接続機器がネットワークに参加するために必要な情報として、少なくともESSIDおよび暗号鍵を表示部106に表示する。この表示の一例を図5A(b)に示す。図5A(b)の例では、ダイアログ503に示されるように、ESSIDは「CAMERA−123」、暗号鍵は「12345678」に決定されている。なお、暗号鍵やESSIDは接続ごとや接続機器ごとに生成してもよいし、常に同じになるようにしてもよい。さらに本ステップでは、他機器との通信を可能にするため、IPアドレスの割り当て、サブネットの設定を行い、ステップS403に進む。   In step S402, the control unit 101 forms a wireless LAN network. Specifically, the control unit 101 generates an ESSID, BSSID, authentication method, encryption type, and encryption key necessary for forming a network. Further, the control unit 101 displays at least an ESSID and an encryption key on the display unit 106 as information necessary for the connected device to participate in the network. An example of this display is shown in FIG. 5A (b). In the example of FIG. 5A (b), as shown in the dialog 503, the ESSID is determined to be “CAMERA-123”, and the encryption key is determined to be “12345678”. Note that the encryption key and ESSID may be generated for each connection and each connected device, or may be always the same. Furthermore, in this step, in order to enable communication with other devices, an IP address is assigned and a subnet is set, and the process proceeds to step S403.

一方、ステップS407に進んだ場合、制御部101は周辺の無線LANネットワークをスキャンし、その結果検出されたビーコン信号に含まれるESSIDの一覧を表示部106に表示する。この際の画面の一例を図5A(c)に示す。図5A(c)の例では、「NETWORK−100」及び「NETWORK−101」というESSIDが検出されている。ユーザ操作により、図5A(c)のリスト506から無線LANネットワークが選択されると、制御部101は選択された無線LANネットワークへの参加、つまりAPへの接続処理を行う。さらに、他機器との通信を可能にするため、IPアドレスの割り当て、サブネットの設定を行い、ステップS403に進む。   On the other hand, when the process proceeds to step S407, the control unit 101 scans the surrounding wireless LAN network and displays a list of ESSIDs included in the detected beacon signals on the display unit 106. An example of the screen at this time is shown in FIG. 5A (c). In the example of FIG. 5A (c), ESSIDs “NETWORK-100” and “NETWORK-101” are detected. When a wireless LAN network is selected from the list 506 in FIG. 5A (c) by a user operation, the control unit 101 performs participation in the selected wireless LAN network, that is, connection processing to the AP. Furthermore, in order to enable communication with other devices, an IP address is assigned and a subnet is set, and the process proceeds to step S403.

ステップS403で、制御部101は、同一ネットワーク内の接続可能な機器を検索する。なお、ここで携帯電話200がデジタルカメラ100により検索可能な状態になるためには、携帯電話200側での操作が必要になる。以下、図5A、図5Bを用いて、携帯電話200側の操作について説明する。図5Bは、本実施形態における携帯電話200の処理を示すフローチャートである。なお、本フローチャートに示す処理は、携帯電話200の制御部201が入力信号やプログラムにしたがい、携帯電話200の各部を制御することにより実現される。なお、特に断らない限り、携帯電話200の処理を示す他のフローチャートでも同様である。   In step S403, the control unit 101 searches for connectable devices in the same network. Here, in order to make the mobile phone 200 searchable by the digital camera 100, an operation on the mobile phone 200 side is required. Hereinafter, the operation on the mobile phone 200 side will be described with reference to FIGS. 5A and 5B. FIG. 5B is a flowchart showing processing of the mobile phone 200 in the present embodiment. Note that the processing shown in this flowchart is realized by the control unit 201 of the mobile phone 200 controlling each unit of the mobile phone 200 in accordance with an input signal or a program. The same applies to other flowcharts showing the processing of the mobile phone 200 unless otherwise specified.

まず、携帯電話200のユーザにより所定の操作がなされたことに応じて、ステップS551で制御部201は、参加する無線LANネットワークを選択する画面を表示部206に表示させる。この画面に遷移すると、制御部201は周辺の無線LANネットワークのスキャンを行い、その結果検出されたESSIDのリスト510を表示する。画面の一例を図5A(e)に示す。本実施形態では、これらの処理はカメラ通信アプリケーションの起動前に携帯電話200のOSの機能により行われるが、予め起動されたカメラ通信アプリケーションがOSの機能と連携しながら処理を行ってもよい。ここで、デジタルカメラ100が簡易APとして動作している場合は、携帯電話200はデジタルカメラ100のESSIDを検出し、リスト510に表示する。図5A(e)では、デジタルカメラ100のESSIDとして「CAMERA−123」が表示されている。   First, in response to a predetermined operation performed by the user of the mobile phone 200, the control unit 201 causes the display unit 206 to display a screen for selecting a wireless LAN network to participate in in step S551. When transitioning to this screen, the control unit 201 scans the surrounding wireless LAN network and displays a list 510 of ESSIDs detected as a result. An example of the screen is shown in FIG. 5A (e). In the present embodiment, these processes are performed by the OS function of the mobile phone 200 before the camera communication application is activated. However, the camera communication application activated in advance may perform the process in cooperation with the OS function. Here, when the digital camera 100 is operating as a simple AP, the mobile phone 200 detects the ESSID of the digital camera 100 and displays it on the list 510. In FIG. 5A (e), “CAMERA-123” is displayed as the ESSID of the digital camera 100.

ステップS552で、制御部201はリスト510のうちいずれかのESSIDが選択されるのを待機する。ユーザ操作により、リスト510のうちいずれかのESSIDが選択されると、ステップS553において制御部201は対応する無線LANネットワークへの参加処理を行う。これで、ネットワークへの参加は完了する。   In step S552, the control unit 201 waits for any ESSID in the list 510 to be selected. When any ESSID is selected from the list 510 by a user operation, the control unit 201 performs a process of joining the corresponding wireless LAN network in step S553. This completes participation in the network.

ネットワークへの参加後、携帯電話200のユーザは携帯電話200にインストールされたカメラ通信アプリケーションを起動する。カメラ通信アプリケーションを起動した後の携帯電話200の処理を図5(b)のフローチャートで説明する。カメラ通信アプリケーションの主な機能としては、同じネットワーク内に存在するデジタルカメラと通信を確立する機能、画像データなどのコンテンツデータを送受信する機能、自機の有するコンテンツデータをサーバに送信する処理を制御する機能がある。   After joining the network, the user of the mobile phone 200 activates the camera communication application installed on the mobile phone 200. The processing of the mobile phone 200 after starting the camera communication application will be described with reference to the flowchart of FIG. The main functions of the camera communication application are the function to establish communication with digital cameras that exist in the same network, the function to send and receive content data such as image data, and the processing to send the content data of its own device to the server There is a function to do.

ユーザ操作に基づきカメラ通信アプリケーションが起動されると、ステップS571において、図5A(f)のような待機画面が表示部206に表示される。ダイアログ511には、現在参加しているネットワークのSSIDが表示される。図5A(f)の例は、図5A(e)の画面で「CAMERA−123」が選択された場合を示している。また、カメラ通信アプリケーションを起動後、デジタルカメラ100が携帯電話200を検出できるよう、無線LANネットワークを介して自機器のサービスの通知を行う。デジタルカメラ100はこのサービスの通知に基づき、携帯電話200を検出することができる。なお、このサービスの通知には携帯電話200のデバイス名及びUUIDが含まれる。ステップS572において、制御部201はデジタルカメラ100からの接続要求を待機する。接続要求があったと判断した場合は、ステップS573においてデジタルカメラ100との通信を確立する。   When the camera communication application is activated based on a user operation, a standby screen as shown in FIG. 5A (f) is displayed on the display unit 206 in step S571. The dialog 511 displays the SSID of the currently participating network. The example of FIG. 5A (f) shows a case where “CAMERA-123” is selected on the screen of FIG. 5A (e). In addition, after starting the camera communication application, the service of the device itself is notified via the wireless LAN network so that the digital camera 100 can detect the mobile phone 200. The digital camera 100 can detect the mobile phone 200 based on the notification of this service. Note that this service notification includes the device name and UUID of the mobile phone 200. In step S572, the control unit 201 waits for a connection request from the digital camera 100. If it is determined that a connection request has been made, communication with the digital camera 100 is established in step S573.

図4の説明に戻る。ステップS403で、制御部101は、同一ネットワークに存在する接続可能な機器を検索する。前述したように、携帯電話200側でサービス通知が行われていれば、デジタルカメラ100は携帯電話200を検出することができる。検索の結果、接続可能な機器を検出した場合、制御部101はサービスの通知に含まれるデバイス名を表示部106にリスト表示する。リスト表示の一例を図5A(d)に示す。また、同じくサービスの通知に含まれるUUIDとデバイス名とを関連づけて作業用メモリ104に保存する。   Returning to the description of FIG. In step S403, the control unit 101 searches for connectable devices that exist in the same network. As described above, the digital camera 100 can detect the mobile phone 200 if the service notification is made on the mobile phone 200 side. When a connectable device is detected as a result of the search, the control unit 101 displays a list of device names included in the service notification on the display unit 106. An example of the list display is shown in FIG. Similarly, the UUID and device name included in the service notification are stored in the work memory 104 in association with each other.

なお、本実施形態ではサービスの通知にデバイス名とUUIDが含まれる構成としたが、サービスの通知を受信したデジタルカメラ100が、デバイス名及びUUIDを携帯電話200に問い合わせる構成としてもよい。   In the present embodiment, the device notification and the UUID are included in the service notification. However, the digital camera 100 that has received the service notification may inquire the mobile phone 200 for the device name and the UUID.

ステップS404で、制御部101はステップS403でリスト表示された機器名のうちいずれかを選択するユーザ操作を受け付ける。   In step S404, the control unit 101 receives a user operation for selecting one of the device names displayed in the list in step S403.

ステップS405で、制御部101は、ステップS404で選択された機器のUUIDを用いて携帯電話200に接続要求を送信し、選択された機器との通信を確立するための処理を開始する。なお、本実施形態では相手機器のUUIDを用いて接続を実行するが、UUIDからIPアドレスやポート番号を特定して接続したり、検索を行う時点でIPアドレスを入手してもよい。通信を確立した後は処理をステップS406に進める。   In step S405, the control unit 101 transmits a connection request to the mobile phone 200 using the UUID of the device selected in step S404, and starts processing for establishing communication with the selected device. In the present embodiment, the connection is executed using the UUID of the counterpart device. However, the IP address may be obtained by specifying the IP address or port number from the UUID or performing a search. After communication is established, the process proceeds to step S406.

ステップS406で、制御部101はステップS405で通信を確立した携帯電話200に対し、現在参加している無線LANネットワークが簡易APにより形成されたものか否かを通知する。具体的には、自機が簡易APとして動作し、自機の無線LANネットワークに携帯電話200が参加している場合、デジタルカメラ100は無線LANネットワークが自機により形成されたものである旨を携帯電話200に通知する。また、他のAPが形成した無線LANネットワークに参加している場合、デジタルカメラ100は無線LANネットワークが自機により形成されたものでない旨を携帯電話200に通知する。この通知により、携帯電話200は、デジタルカメラ100により形成されたネットワークに参加しているか、他のAPにより形成されたものかを判断することができる。そしてこの通知に基づき、携帯電話200は、自機が参加している無線LANネットワークから外部ネットワークへと通信可能であるかを判断することができる。   In step S406, the control unit 101 notifies the mobile phone 200 that has established communication in step S405 whether the currently participating wireless LAN network is formed by a simple AP. Specifically, when the own device operates as a simple AP and the mobile phone 200 participates in the own wireless LAN network, the digital camera 100 indicates that the wireless LAN network is formed by the own device. Notify the mobile phone 200. When participating in a wireless LAN network formed by another AP, the digital camera 100 notifies the mobile phone 200 that the wireless LAN network is not formed by the own device. By this notification, the mobile phone 200 can determine whether it participates in the network formed by the digital camera 100 or is formed by another AP. Based on this notification, the mobile phone 200 can determine whether communication from the wireless LAN network in which the mobile phone 200 is participating to the external network is possible.

<接続後の動作>
図6は、デジタルカメラ100と通信を確立した後の、携帯電話200の動作を示すフローチャートである。
<Operation after connection>
FIG. 6 is a flowchart showing the operation of the mobile phone 200 after establishing communication with the digital camera 100.

デジタルカメラ100と通信を確立すると、携帯電話の制御部201は、図7(a)に示すカメラ通信アプリケーションのメニュー画面を表示部206に表示する。メニュー画面には設定ボタン701、閲覧ボタン702が表示される。設定ボタン701は、携帯電話200のデバイス名の設定や、アップロードにおける各種設定を行うためのボタンである。閲覧ボタン702は、通信を確立したデジタルカメラ100に保存されている画像データを表示部206に表示させるためのボタンである。   When communication with the digital camera 100 is established, the control unit 201 of the mobile phone displays a menu screen of the camera communication application shown in FIG. A setting button 701 and a browse button 702 are displayed on the menu screen. A setting button 701 is a button for setting a device name of the mobile phone 200 and various settings in uploading. A browse button 702 is a button for causing the display unit 206 to display image data stored in the digital camera 100 with which communication has been established.

ステップS601で、制御部101は閲覧ボタン702が選択されたか否かを判断する。閲覧ボタン702が選択されたと判断した場合にはステップS602に進む。選択されていないと判断した場合は処理を繰り返す。   In step S601, the control unit 101 determines whether the browse button 702 has been selected. If it is determined that the browse button 702 has been selected, the process proceeds to step S602. If it is determined that it is not selected, the process is repeated.

ステップS602で、制御部201はデジタルカメラ100に対して、デジタルカメラ100が有する画像データのサムネイルを要求する。この要求に応答して、デジタルカメラ100は要求されたサムネイルを携帯電話200に送信する。なお、サムネイルは1枚ずつの要求を繰り返してもよいし、まとめて複数枚要求するコマンドを送信してもよい。   In step S <b> 602, the control unit 201 requests the digital camera 100 for thumbnails of image data included in the digital camera 100. In response to this request, the digital camera 100 transmits the requested thumbnail to the mobile phone 200. It should be noted that the thumbnails may be requested one by one or a command for requesting a plurality of thumbnails may be transmitted.

ステップS603で、携帯電話200は接続部211を介してデジタルカメラ100から送信されたサムネイルを受信する。   In step S <b> 603, the mobile phone 200 receives the thumbnail transmitted from the digital camera 100 via the connection unit 211.

ステップS604で、制御部201は受信したサムネイルを表示部206に一覧表示する。図7(b)に表示画面の一例を示す。図7(b)の例では、サムネイルが4列に表示されており、上下方向へのスクロール操作によりさらに他の画像データを表示させることが可能である。   In step S604, the control unit 201 displays the received thumbnails as a list on the display unit 206. FIG. 7B shows an example of the display screen. In the example of FIG. 7B, thumbnails are displayed in four columns, and further image data can be displayed by scrolling up and down.

ステップS605で、制御部201は、一覧表示されたサムネイルの中からいずれかのサムネイルが選択されたか判断する。選択されたと判断した場合には、ステップS606に進む。そうでない場合は、ステップS604に戻る。   In step S605, the control unit 201 determines whether any thumbnail is selected from the thumbnails displayed as a list. If it is determined that it has been selected, the process proceeds to step S606. Otherwise, the process returns to step S604.

ステップS606で、制御部201は選択されたサムネイルを大きなサイズで表示する。図7(c)に表示の一例を示す。図7(c)に示すように、選択されたサムネイルが図7(b)と比べてより大きなサイズで表示される。なお、ステップS606では選択されたサムネイルをそのまま大きなサイズで表示しているが、大きなサイズで表示することに鑑みて、より大きなサムネイルもしくは本画像データを再度デジタルカメラ100に要求してもよい。   In step S606, the control unit 201 displays the selected thumbnail in a large size. An example of display is shown in FIG. As shown in FIG. 7C, the selected thumbnail is displayed in a larger size compared to FIG. 7B. In step S606, the selected thumbnail is displayed in a large size as it is. However, in view of displaying in a large size, a larger thumbnail or main image data may be requested to the digital camera 100 again.

また、図7(c)に示す画面には受信ボタン705が含まれる。受信ボタン705は、表示されているサムネイルに対応する本画像データをデジタルカメラから受信し、かつ受信した画像データに対して所定の処理を行うためのボタンである。以下、具体的に説明する。   Further, the screen shown in FIG. 7C includes a reception button 705. The reception button 705 is a button for receiving main image data corresponding to the displayed thumbnail from the digital camera and performing predetermined processing on the received image data. This will be specifically described below.

ユーザ操作によりボタン705が選択されると、制御部201は図7(d)に示すメニューが画像データに半透明で重畳表示される。以下、メニューに含まれるボタンについて説明する。   When the button 705 is selected by a user operation, the control unit 201 displays the menu shown in FIG. Hereinafter, buttons included in the menu will be described.

ボタン706は、デジタルカメラ100から受信した本画像データをSNS(ソーシャルネットワークサービス)にインターネットを介してアップロードするためのボタンである。携帯電話200のユーザは予めアップロード先のSNSを設定しておき、ボタン706が選択されると、SNSの提供するサーバに本画像データを送信する処理が開始される。なお、ボタン706が選択されたことに応じてアップロード先のSNSを設定する処理を開始してもよい。   A button 706 is a button for uploading the main image data received from the digital camera 100 to the SNS (social network service) via the Internet. When the user of the mobile phone 200 sets an SNS as an upload destination in advance and the button 706 is selected, a process of transmitting the main image data to a server provided by the SNS is started. Note that the processing for setting the upload destination SNS may be started in response to selection of the button 706.

ボタン707は、デジタルカメラ100から受信した本画像データをコンテンツサーバにアップロードするためのボタンである。携帯電話200のユーザは予めアップロード先のコンテンツサーバを設定しておき、ボタン707が選択されると、コンテンツサーバに、本画像データをインターネットを介して送信する処理が開始される。なお、ボタン707を選択したことに応じてアップロード先のコンテンツサーバを設定する処理を開始してもよい。   A button 707 is a button for uploading the main image data received from the digital camera 100 to the content server. When the user of the mobile phone 200 sets an upload destination content server in advance and the button 707 is selected, a process of transmitting the main image data to the content server via the Internet is started. Note that the process of setting the upload destination content server may be started in response to selection of the button 707.

ボタン708は、デジタルカメラ100から受信した本画像データをメールに添付して送信するためのボタンである。ボタン708が選択されると、制御部201はメールアプリケーションを起動し、受信した本画像データを添付したメールのひな形を提供する。携帯電話200のユーザは、所望の文面を入力後、インターネットを介して任意のアドレスにメールを送信することができる。   A button 708 is a button for transmitting the main image data received from the digital camera 100 by attaching it to an e-mail. When the button 708 is selected, the control unit 201 activates a mail application, and provides a mail template with the received main image data attached thereto. The user of the mobile phone 200 can send a mail to an arbitrary address via the Internet after inputting a desired text.

ボタン709は、デジタルカメラ100から受信した本画像データを記録媒体210に記録するためのボタンである。ボタン707が選択されると、デジタルカメラ100から受信した本画像データが記録媒体210に記録される。   A button 709 is a button for recording the main image data received from the digital camera 100 on the recording medium 210. When the button 707 is selected, the main image data received from the digital camera 100 is recorded on the recording medium 210.

ボタン710はキャンセルボタンであり、選択されると図7(d)に示すメニューを消去し、表示は図7(c)の状態に戻る。   A button 710 is a cancel button. When selected, the menu shown in FIG. 7D is deleted, and the display returns to the state shown in FIG. 7C.

続いてステップS607で、制御部201は図7(d)に示すボタンのうち、ボタン706〜709のいずれかが選択されたか判断する。ボタン706〜709のいずれかが選択されたと判断した場合はステップS608に進む。ボタン710が選択されたと判断した場合には、ステップS606に戻る。   Subsequently, in step S607, the control unit 201 determines whether any of the buttons 706 to 709 is selected from the buttons illustrated in FIG. If it is determined that any of the buttons 706 to 709 has been selected, the process proceeds to step S608. If it is determined that the button 710 has been selected, the process returns to step S606.

ステップS608に進むと、制御部201は、ステップS605で選択したサムネイルに対応する画像データを携帯電話200に要求する。携帯電話200が要求に応じて画像データをデジタルカメラ100に送信すると、携帯電話200は画像データを受信し、画像データを作業用メモリ204に保持する。画像データの受信中は表示部206に図7(e)の画面を表示する。なお、携帯電話200のユーザは図7(e)のボタン712を選択することにより、受信を中止することができる。   In step S608, the control unit 201 requests the mobile phone 200 for image data corresponding to the thumbnail selected in step S605. When the mobile phone 200 transmits image data to the digital camera 100 in response to the request, the mobile phone 200 receives the image data and holds the image data in the work memory 204. While the image data is being received, the screen shown in FIG. Note that the user of the mobile phone 200 can cancel the reception by selecting the button 712 in FIG.

画像データの受信が完了すると処理はステップS609に進み、制御部201はステップステップS607においてどのような処理が選択されたかを判断する。ボタン706、ボタン707、ボタン708のいずれかのボタンが選択された、つまり受信した画像データを外部に送信する動作が選択されたと判断した場合は、処理をステップS611に進める。一方、ボタン709が選択されていると判断した場合、つまり受信した画像データを外部に送信せずに記録媒体210に保存する動作が選択されたと判断した場合は、処理をステップS610に進める。   When the reception of the image data is completed, the process proceeds to step S609, and the control unit 201 determines what process is selected in step S607. If it is determined that any of the buttons 706, 707, and 708 has been selected, that is, the operation of transmitting the received image data to the outside has been selected, the process proceeds to step S611. On the other hand, if it is determined that the button 709 is selected, that is, if it is determined that the operation of saving the received image data to the recording medium 210 without transmitting it to the outside is selected, the process proceeds to step S610.

まず、ステップS610に進んだ場合について説明する。ステップS610で、制御部201はステップS608で受信した画像データを作業用メモリ204から記録媒体210に保存し、処理を終了する。   First, the case where it progresses to step S610 is demonstrated. In step S610, the control unit 201 saves the image data received in step S608 from the work memory 204 to the recording medium 210, and ends the process.

次に、ステップS611に進んだ場合について説明する。ステップS611で、制御部201は、現在参加しているネットワークがデジタルカメラ100の簡易AP機能で形成されたものか判断する。制御部201は、図4のステップS406でデジタルカメラから受信した通知を参照することで、本ステップにおける判断を行う。デジタルカメラ100の簡易AP機能で形成されたネットワークではないと判断した場合、処理をステップS612に進める。デジタルカメラ100の簡易AP機能で形成されたネットワークであると判断した場合、処理をステップS613に進める。   Next, the case where it progresses to step S611 is demonstrated. In step S <b> 611, the control unit 201 determines whether the currently participating network is formed with the simple AP function of the digital camera 100. The control unit 201 makes a determination in this step by referring to the notification received from the digital camera in step S406 in FIG. If it is determined that the network is not formed by the simple AP function of the digital camera 100, the process advances to step S612. If it is determined that the network is formed by the simple AP function of the digital camera 100, the process advances to step S613.

まず、ステップS611からステップS612に進んだ場合について説明する。この場合、制御部201は、現在自機が参加しているネットワークが簡易AP機能により形成されたものではなく、外部APによるものであると判断する。つまり、図3(a)に示すような接続形態であると判断する。この場合、外部APを介して携帯電話200は画像データを送信することが可能である。そこで制御部201は、インターネットを介した所定の送信先情報(URLやメールアドレス)とステップS608で受信した画像データとを、外部APに対して送信する。このことにより、外部APから所定の送信先に画像データが送信される。   First, the case where the process proceeds from step S611 to step S612 will be described. In this case, the control unit 201 determines that the network in which the own device is currently participating is not formed by the simple AP function but by the external AP. That is, it is determined that the connection form is as shown in FIG. In this case, the mobile phone 200 can transmit image data via the external AP. Therefore, the control unit 201 transmits predetermined transmission destination information (URL and mail address) via the Internet and the image data received in step S608 to the external AP. As a result, the image data is transmitted from the external AP to a predetermined transmission destination.

次に、ステップS611からステップS613に進んだ場合について説明する。この場合、制御部201は、現在の接続形態が図3(b)に示すものであると判断する。この場合、携帯電話200はAPの形成するネットワークに接続しているものの、APを介して外部のネットワークに画像データを送信することはできない。そこで携帯電話200は本ステップで、現在参加しているネットワークから離脱し、AP(ここではデジタルカメラ100)との接続を切断する。   Next, a case where the process proceeds from step S611 to step S613 will be described. In this case, the control unit 201 determines that the current connection form is as shown in FIG. In this case, the mobile phone 200 is connected to a network formed by the AP, but cannot transmit image data to an external network via the AP. Therefore, in this step, the mobile phone 200 leaves the currently participating network and disconnects from the AP (here, the digital camera 100).

ステップS614で、制御部201はデジタルカメラ100を介さない通信方法で画像データを外部に送信する。本実施形態では、公衆網接続部212を用いた3Gネットワークを介した通信により、画像データの送信を行う。   In step S614, the control unit 201 transmits image data to the outside using a communication method that does not pass through the digital camera 100. In this embodiment, image data is transmitted by communication via a 3G network using the public network connection unit 212.

なお、他の実施形態として、デジタルカメラ100以外のAPが形成したネットワークに接続部211を用いて接続し、そのAPを介した画像データの送信を試みてもよい。また、公衆網接続部212によるデータ送信と接続部212によるデータ送信を並行して行うことができるのであれば、ステップS613でネットワークから離脱せずに公衆網接続部212によるデータ送信を行ってもよい。   As another embodiment, a connection unit 211 may be used to connect to a network formed by an AP other than the digital camera 100, and transmission of image data via the AP may be attempted. If data transmission by the public network connection unit 212 and data transmission by the connection unit 212 can be performed in parallel, the data transmission by the public network connection unit 212 may be performed without leaving the network in step S613. Good.

ステップS613、ステップS614での処理中に表示部206に表示される画面を図7(f)に示す。図7(f)の画面には、今まで参加していたデジタルカメラ100が形成していたネットワークから切断された旨をダイアログ713にてユーザに通知する。さらに別の通信方法で画像データの送信を行っている旨をダイアログ714にてユーザに通知する。このようにしたのは以下の理由による。単にダイアログ713のみを表示すると、ユーザはこのままでは画像データが送信できないと思ってしまう可能性がある。そこで本実施形態では、ネットワークから切断された旨を示すダイアログとともに、送信が行われている旨を示すダイアログも表示することとした。   FIG. 7F shows a screen displayed on the display unit 206 during the processing in steps S613 and S614. On the screen of FIG. 7F, the dialog 713 notifies the user that the digital camera 100 that has participated so far has been disconnected from the network. Further, a dialog 714 notifies the user that image data is being transmitted by another communication method. The reason for this is as follows. If only the dialog 713 is displayed, the user may think that image data cannot be transmitted as it is. Therefore, in this embodiment, a dialog indicating that transmission is being performed is displayed together with a dialog indicating disconnection from the network.

なお、ステップS611の判断を行わず、ステップS612において一定時間または一定回数送信できなかった場合にネットワークから離脱する方法も考えられる。しかしながらこの場合、ネットワークの離脱までに時間がかかる可能性が高く、通信量も増えてしまうおそれがある。したがって、予めデジタルカメラ100から携帯電話200に対し、ネットワークが簡易APによるものか否かを通知しておく方がより好ましい。   Note that a method of leaving the network when the transmission is not possible for a certain time or a certain number of times in step S612 without performing the determination in step S611 is also conceivable. However, in this case, there is a high possibility that it will take time to leave the network, and the amount of communication may increase. Therefore, it is more preferable to notify the digital camera 100 to the mobile phone 200 in advance whether or not the network is a simple AP.

また、ステップS613、S614で画像データを送信する前に、画像データへのコメントやタイトルを追加したり、SNSの設定(たとえば公開範囲やアルバムの選択など)を行う画面を表示してもよい。   Further, before transmitting the image data in steps S613 and S614, a screen for adding a comment or title to the image data or setting an SNS (for example, selection of a disclosure range or album) may be displayed.

また、ここでは、1つの画像データをデジタルカメラ100から受信し、携帯電話200から送信する例を説明したが、複数枚の画像データを選択して携帯電話200が受信し、それらを順次外部ネットワークに送信してもよい。また、一旦画像データを受信した後、どの画像データを携帯電話200から送信するかを選択させるようにしてもよい。   Also, here, an example in which one image data is received from the digital camera 100 and transmitted from the mobile phone 200 has been described, but a plurality of pieces of image data are selected and received by the mobile phone 200, and these are sequentially received by an external network. May be sent to. Further, once image data is received, which image data is to be transmitted from the mobile phone 200 may be selected.

以上が、デジタルカメラ100と接続した後の携帯電話200の動作である。次に、デジタルカメラ100側の詳細な動作について以下に説明する。図8は、携帯電話200と接続した後のデジタルカメラ100の動作を示すフローチャートである。   The above is the operation of the mobile phone 200 after connecting to the digital camera 100. Next, detailed operation on the digital camera 100 side will be described below. FIG. 8 is a flowchart showing the operation of the digital camera 100 after connection with the mobile phone 200.

ステップS801で、デジタルカメラ100の制御部101は、接続部111を介して携帯電話200からの要求を受信したかどうかを判断する。要求を受信した場合にはステップS801、受信していない場合にはステップS802に進む。ここで受信する可能性のある要求としては、ステップS602で送信されるサムネイルの要求か、ステップS607〜ステップS608で送信される画像データの要求のいずれかである。   In step S <b> 801, the control unit 101 of the digital camera 100 determines whether a request from the mobile phone 200 is received via the connection unit 111. If a request is received, the process proceeds to step S801. If not received, the process proceeds to step S802. The request that may be received here is either a thumbnail request transmitted in step S602 or an image data request transmitted in steps S607 to S608.

ステップS804に進んだ場合について説明する。ステップS804で、制御部101は、ステップS801で受信した要求がサムネイルの要求(ステップS602で送信される要求)であるかを判断する。サムネイルの要求であると判断した場合にはステップS805に進む。サムネイルの要求でないと判断した場合にはステップS807に進む。   A case where the process proceeds to step S804 will be described. In step S804, the control unit 101 determines whether the request received in step S801 is a thumbnail request (request transmitted in step S602). If it is determined that the request is for a thumbnail, the process proceeds to step S805. If it is determined that the request is not a thumbnail request, the process advances to step S807.

まず、ステップS805に進んだ場合について説明する。ステップS805で、制御部101は記録媒体110に保存している画像データの中から、携帯電話200から要求されている画像データを検索し、検索された画像データに対応するサムネイルを作業用メモリ104に読み込む。もちろん、複数のサムネイルを読み込むことも可能である。この際、サムネイルは既に画像データに関連づけされているものを用いてもよいし、別途新たなサムネイルを生成してもよい。   First, the case where it progresses to step S805 is demonstrated. In step S805, the control unit 101 retrieves image data requested from the mobile phone 200 from the image data stored in the recording medium 110, and displays a thumbnail corresponding to the retrieved image data in the work memory 104. Read in. Of course, it is also possible to read a plurality of thumbnails. At this time, the thumbnail already associated with the image data may be used, or a new thumbnail may be generated separately.

続いてステップS806で、制御部101は作業用メモリ104に保持したサムネイルを要求された携帯電話200に送信し、処理をステップS801に戻す。この処理の結果、携帯電話200側ではステップS603のサムネイル受信処理が実行される。以上が、デジタルカメラ100から携帯電話200にサムネイルを送信する処理である。   In step S806, the control unit 101 transmits the thumbnail held in the work memory 104 to the requested mobile phone 200, and the process returns to step S801. As a result of this processing, the thumbnail reception processing in step S603 is executed on the mobile phone 200 side. The processing for transmitting thumbnails from the digital camera 100 to the mobile phone 200 has been described above.

次に、ステップS807に進んだ場合について説明する。ステップS807で、制御部101は、ステップS801で受信した要求がサムネイルに対応する画像データの要求(ステップS617で送信される要求)であるか判断する。画像データの要求であると判断した場合にはステップS808に進む。画像データの要求でないと判断した場合にはステップS810に進む。   Next, the case where it progresses to step S807 is demonstrated. In step S807, the control unit 101 determines whether the request received in step S801 is a request for image data corresponding to a thumbnail (request transmitted in step S617). If it is determined that the request is for image data, the process proceeds to step S808. If it is determined that the request is not for image data, the process advances to step S810.

まず、ステップS808に進んだ場合について説明する。ステップS808で、制御部101は記録媒体110に保存している画像データの中から要求されている画像データを検索し、検索された画像データを作業用メモリ104に読み込む。   First, the case where the process proceeds to step S808 will be described. In step S <b> 808, the control unit 101 retrieves requested image data from the image data stored in the recording medium 110 and reads the retrieved image data into the work memory 104.

続いてステップS809で、制御部101は作業用メモリ104に保持した画像データを携帯電話200に送信し、処理をステップS801に戻す。この処理の結果、携帯電話200側ではステップS608の画像データ受信処理が実行される。   In step S809, the control unit 101 transmits the image data held in the work memory 104 to the mobile phone 200, and the process returns to step S801. As a result of this processing, the image data reception processing in step S608 is executed on the mobile phone 200 side.

一方でステップS810に進んだ場合、制御部101は、受信した要求は自機が適切に応答できないものであると判断し、その旨を示すエラー通知をデジタルカメラ100に送信する。   On the other hand, when the processing proceeds to step S810, the control unit 101 determines that the received request cannot be appropriately responded by itself, and transmits an error notification indicating that fact to the digital camera 100.

次に、ステップS801からステップS802に進んだ場合について説明する。ステップS802で、制御部101は、接続が切断されたかを判断する。本ステップで接続が切断されたと判断されるケースとしては、以下があげられる。携帯電話200と確立していた通信が切断された場合、携帯電話200がネットワーク上に存在しなくなった場合、自機がAPからのビーコン信号を受信できなくなり、ネットワークを見失った場合などである。なお、自機が簡易APとして動作している場合はネットワークを見失うことはない。接続が切断されたと判断した場合、処理はステップS803に進む。切断されてないと判断した場合は処理はステップS801に戻る。   Next, a case where the process proceeds from step S801 to step S802 will be described. In step S802, the control unit 101 determines whether the connection is disconnected. Examples of cases in which it is determined that the connection has been disconnected in this step include the following. For example, when the communication established with the mobile phone 200 is disconnected, the mobile phone 200 no longer exists on the network, the own device cannot receive the beacon signal from the AP, and the network is lost. Note that when the own device operates as a simple AP, the network is not lost. If it is determined that the connection has been disconnected, the process proceeds to step S803. If it is determined that it has not been disconnected, the process returns to step S801.

ステップS803において、制御部101は自機が簡易APとして動作しているか否か判断する。簡易APとして動作していないと判断した場合は処理をステップS811に進める。簡易APとして動作していると判断した場合は処理をステップS812に進める。   In step S803, the control unit 101 determines whether or not the own device is operating as a simple AP. If it is determined that the AP is not operating as a simple AP, the process advances to step S811. If it is determined that it is operating as a simple AP, the process proceeds to step S812.

ステップS811で、制御部101は現在参加しているネットワークからの離脱処理を行う。それに対しステップS812では、制御部101は現在自機が形成しているネットワークを消滅させる。具体的には、ビーコン信号の送信を停止し、ネットワークに対してネットワークを消滅させる旨などの通知をブロードキャストする。   In step S811, the control unit 101 performs detachment processing from the currently participating network. On the other hand, in step S812, the control unit 101 extinguishes the network currently formed by itself. Specifically, the transmission of the beacon signal is stopped, and a notification to the effect that the network is extinguished is broadcast to the network.

以上が、デジタルカメラ100から携帯電話200に画像データを送信する処理である。   The above is the process of transmitting image data from the digital camera 100 to the mobile phone 200.

<動作概略>
以下、図6、図8に示す処理の概要を図9、図10を用いて説明する。図9、10は、デジタルカメラ100が有する画像データを携帯電話200が受信し、その受信した画像データをインターネット904へと送信する際の概要図である。
<Outline of operation>
The outline of the processing shown in FIGS. 6 and 8 will be described below with reference to FIGS. FIGS. 9 and 10 are schematic diagrams when the mobile phone 200 receives the image data of the digital camera 100 and transmits the received image data to the Internet 904.

まず図9(a)を用いて、デジタルカメラ100がAPとして動作した場合(図4のステップS402)について説明する。この場合、タイミング901で、デジタルカメラ100と携帯電話200は、デジタルカメラ100の形成したネットワークに参加し、通信を確立する。この際、デジタルカメラ100は現在のネットワークが自機で形成したネットワークか否かを携帯電話200に通知する(図4のステップS406)。   First, a case where the digital camera 100 operates as an AP (step S402 in FIG. 4) will be described with reference to FIG. In this case, at timing 901, the digital camera 100 and the mobile phone 200 participate in the network formed by the digital camera 100 and establish communication. At this time, the digital camera 100 notifies the mobile phone 200 whether or not the current network is a network formed by itself (step S406 in FIG. 4).

そしてタイミング902で、デジタルカメラ100は自機が有する画像データを、自機が形成した無線LANネットワークを介して携帯電話200に送信する。ここで、携帯電話200は受信した画像データをインターネット904に送信する処理を行うのであるが、携帯電話200は現在のネットワークがデジタルカメラ100により形成されたものであることを事前の通知で認識している。そこで携帯電話200はタイミング903で、デジタルカメラ100により形成されたネットワークから離脱し、3Gを用いて公衆回線網経由で画像データをインターネット904に送信する。これが、デジタルカメラ100がAPとして動作した場合の動作の概要である。   At timing 902, the digital camera 100 transmits the image data held by the digital camera 100 to the mobile phone 200 via the wireless LAN network formed by the digital camera 100. Here, the mobile phone 200 performs processing for transmitting the received image data to the Internet 904, but the mobile phone 200 recognizes in advance notification that the current network is formed by the digital camera 100. ing. Therefore, the mobile phone 200 leaves the network formed by the digital camera 100 at timing 903 and transmits image data to the Internet 904 via the public network using 3G. This is an outline of the operation when the digital camera 100 operates as an AP.

なお、デジタルカメラ100がAPとして動作した場合の動作として、図9(b)に示す形態も考えられる。図9(b)の形態では、携帯電話200がタイミング903でネットワークから離脱した後に、周囲に外部AP300があればタイミング913で外部AP300の形成するネットワークに参加する。そしてタイミング914で外部AP300経由でインターネット904に画像データを送信する。なお、この際の外部AP300への接続はユーザ操作によって行ってもよい。図9(b)のような動作をする利点は以下の通りである。すなわち、デジタルカメラ100と携帯電話200との間で通信を行う場合、外部APを経由して通信するよりデジタルカメラ100と携帯電話200とが直接通信した方が通信速度が早いケースが多い。そこで、デジタルカメラ100と携帯電話200との間のデータ通信はデジタルカメラ100の形成するネットワークを用いて直接通信し、インターネットを介したデータ通信が必要になったタイミング外部APの形成するネットワークに参加するのが効率的である。このように、第1のネットワークから第2のネットワークに参加するネットワークを変更することで、インターネットへのデータ送信が可能となる。   As an operation when the digital camera 100 operates as an AP, the form shown in FIG. In the form of FIG. 9B, after the mobile phone 200 leaves the network at timing 903, if there is an external AP 300 in the vicinity, the mobile phone 200 joins the network formed by the external AP 300 at timing 913. At timing 914, the image data is transmitted to the Internet 904 via the external AP 300. Note that the connection to the external AP 300 at this time may be performed by a user operation. The advantages of operating as shown in FIG. 9B are as follows. That is, when communication is performed between the digital camera 100 and the mobile phone 200, the communication speed is often higher when the digital camera 100 and the mobile phone 200 communicate directly than when communicating via an external AP. Therefore, data communication between the digital camera 100 and the mobile phone 200 communicates directly using the network formed by the digital camera 100, and when data communication via the Internet becomes necessary Participates in the network formed by the external AP It is efficient to do. In this manner, data transmission to the Internet can be performed by changing the network participating in the second network from the first network.

次に図10を用いて、外部AP300の形成するネットワークを用いた場合(図4のステップS407)について説明する。まずタイミング1001で、デジタルカメラ100と携帯電話200は外部AP300により形成されたネットワークに参加する。そして、外部AP300を介してデジタルカメラ100と携帯電話200との通信を確立する。そしてタイミング1002で、外部AP300を介してデジタルカメラ100から携帯電話200に画像データが送信され、携帯電話200は画像データを受信する。そして携帯電話200は受信した画像データをインターネット904に送信する処理を行うのであるが、携帯電話200は現在のネットワークがデジタルカメラ100により形成されたものでないことを事前の通知で認識している。そこで携帯電話200はタイミング1003で、インターネット904に画像データが送出されるよう、外部AP300に対して画像データを送信する。これが、外部AP300を利用した場合の動作の概要である。   Next, a case where a network formed by the external AP 300 is used (step S407 in FIG. 4) will be described with reference to FIG. First, at timing 1001, the digital camera 100 and the mobile phone 200 join a network formed by the external AP 300. Communication between the digital camera 100 and the mobile phone 200 is established via the external AP 300. At timing 1002, image data is transmitted from the digital camera 100 to the mobile phone 200 via the external AP 300, and the mobile phone 200 receives the image data. The mobile phone 200 performs processing for transmitting the received image data to the Internet 904, but the mobile phone 200 recognizes from a prior notification that the current network is not formed by the digital camera 100. Therefore, the mobile phone 200 transmits the image data to the external AP 300 so that the image data is transmitted to the Internet 904 at timing 1003. This is an outline of the operation when the external AP 300 is used.

以上説明したように、本実施形態におけるデジタルカメラ100は、現在参加しているネットワークが自機の簡易AP機能を用いて形成されたものか否かを携帯電話200に通知することとした。この構成により、携帯電話はネットワークの特徴に合わせた適切な処理を実行することが可能となる。   As described above, the digital camera 100 according to the present embodiment notifies the mobile phone 200 whether or not the currently participating network is formed using its own simple AP function. With this configuration, the mobile phone can execute appropriate processing according to the characteristics of the network.

また、本実施形態では、ユーザが携帯電話200を操作することでデジタルカメラ100から携帯電話200への画像データの送信や、インターネットへの画像データの送信を指示する構成とした。これに対し、ユーザがデジタルカメラ100を操作して、画像データを携帯電話200に送信したり、携帯電話200からインターネットへの画像データの送信を指示するようにしてもよい。   In the present embodiment, the user operates the mobile phone 200 to instruct transmission of image data from the digital camera 100 to the mobile phone 200 and transmission of image data to the Internet. On the other hand, the user may operate the digital camera 100 to transmit image data to the mobile phone 200 or to instruct transmission of image data from the mobile phone 200 to the Internet.

また本実施形態では、デジタルカメラ100がネットワークを形成して携帯電話200と直接通信する構成とした。これに対し、Wi−Fi Directのように機器同士が事前に通信してどちらがAPとなるような接続形態においても、本発明を適用することは可能である。   In this embodiment, the digital camera 100 forms a network and communicates directly with the mobile phone 200. On the other hand, the present invention can be applied to a connection form in which devices communicate with each other in advance and which becomes an AP, such as Wi-Fi Direct.

また、本実施形態ではデジタルカメラ100から受信した画像データを携帯電話200がインターネットを介して送信する場合にネットワークを切り替える制御を例としてあげたが、本発明の適用範囲はこれに限定されない。例えば、参加中のネットワークがデジタルカメラ100により形成されたものであると判断した場合、携帯電話200は自機のWebブラウザや電子メールなど、インターネットを利用するアプリケーションを使用する場合に同様の制御を行ってもよい。   In the present embodiment, the network switching control is described as an example when the mobile phone 200 transmits image data received from the digital camera 100 via the Internet. However, the scope of application of the present invention is not limited to this. For example, when it is determined that the participating network is formed by the digital camera 100, the mobile phone 200 performs the same control when using an application using the Internet, such as its own Web browser or e-mail. You may go.

<携帯電話のアプリケーションが切り替られた場合の動作>
ここまで、携帯電話200がカメラ通信アプリケーションを用いて、デジタルカメラ100と通信するシステムについて説明した。ここで本実施形態の携帯電話200は、カメラ通信アプリケーションのみならず、様々な機能のプログラムを不揮発性メモリ203に保持し、複数のアプリケーションとして利用することができる。これらのアプリケーションは、ユーザ操作などに基づき切り替えることが可能である。以下、カメラ通信アプリケーションと他のアプリケーションとが切り替えられた場合の処理について説明する。
<Operation when the mobile phone application is switched>
So far, the system in which the mobile phone 200 communicates with the digital camera 100 using the camera communication application has been described. Here, the mobile phone 200 according to the present embodiment can store not only the camera communication application but also programs having various functions in the nonvolatile memory 203 and can be used as a plurality of applications. These applications can be switched based on a user operation or the like. Hereinafter, a process when the camera communication application and another application are switched will be described.

図11に、本実施形態の携帯電話200における、アプリケーション切り替えの概要を示す。   FIG. 11 shows an outline of application switching in the mobile phone 200 of the present embodiment.

図11(a)は、カメラ通信アプリケーションを起動した状態の携帯電話200の外観例である。なお、図11(a)に示す画面は表示画面の一例であり、前述のとおり、カメラ通信アプリケーションが起動されると、図7(a)〜(f)のような画面が表示される。 図11(a)はさらに、携帯電話200の外観も示している。表示部206は操作部205の一例としてのタッチパネルも備える。また、携帯電話200は操作部205の一例として、「ホーム」ボタン221、「メニュー」ボタン222、「戻る」ボタン223などのボタンを備える。   FIG. 11A is an external view example of the mobile phone 200 in a state where the camera communication application is activated. Note that the screen shown in FIG. 11A is an example of a display screen. As described above, when the camera communication application is activated, the screens shown in FIGS. 7A to 7F are displayed. FIG. 11A further shows the appearance of the mobile phone 200. The display unit 206 also includes a touch panel as an example of the operation unit 205. The mobile phone 200 includes buttons such as a “home” button 221, a “menu” button 222, and a “return” button 223 as an example of the operation unit 205.

本実施形態における携帯電話200は、フォアグラウンドとバックグラウンドという概念でアプリケーションを管理する。フォアグラウンドにいるアプリケーションとは、表示部206に表示されている状態にあるアプリケーションを指す。バックグラウンドにいるアプリケーションとは、表示部206には表示されていないものの、起動はされているアプリケーションを指す。   The mobile phone 200 in this embodiment manages applications based on the concept of foreground and background. The application in the foreground refers to an application in a state displayed on the display unit 206. An application in the background refers to an application that is not displayed on the display unit 206 but is activated.

本実施形態における携帯電話200は、所定のアプリケーションをフォアグラウンドで実行中であっても、「ホーム」ボタン221を押下することにより、実行中のアプリケーションの画面をバックグラウンドに遷移させることができる。この場合、ホーム画面と呼ばれる画面がフォアグラウンドに表示される。図11(b)に、ホーム画面の画面例を示す。ホーム画面では、各アプリケーションを示すボタンが一覧表示される。ユーザ操作によりボタンが選択されると、各アプリケーションの起動や、起動中アプリケーションの呼び出しを行うことができる。例えば、ボタン231はカメラ通信アプリケーションのボタンであり、ボタン232はインターネットブラウジングを行うためのWebブラウザアプリケーションのボタンである。   Even when a predetermined application is being executed in the foreground, the mobile phone 200 according to the present embodiment can transition the screen of the application being executed to the background by pressing the “home” button 221. In this case, a screen called a home screen is displayed in the foreground. FIG. 11B shows a screen example of the home screen. On the home screen, a list of buttons indicating each application is displayed. When a button is selected by a user operation, each application can be activated or an activated application can be called. For example, the button 231 is a camera communication application button, and the button 232 is a web browser application button for Internet browsing.

図12(b)のホーム画面でWebブラウザアプリケーションのボタン232をユーザが選択すると、図12(c)に示すようにWebブラウザアプリケーションが起動し、Webブラウザアプリケーションの画面231が表示される。なお、Webブラウザアプリケーションがまだ起動していなかった場合には新規に起動してフォアグラウンドに遷移させ、画面を表示する。一方、すでにWebブラウザアプリケーションを起動していた場合には、バックグラウンドにいたWebブラウザアプリケーションの画面をフォアグラウンドに遷移させることで、Webブラウザアプリケーション画面を再表示する。   When the user selects the Web browser application button 232 on the home screen of FIG. 12B, the Web browser application is activated and the Web browser application screen 231 is displayed as shown in FIG. If the web browser application has not been activated yet, the web browser application is newly activated and shifted to the foreground, and the screen is displayed. On the other hand, if the Web browser application has already been activated, the Web browser application screen is redisplayed by changing the screen of the Web browser application in the background to the foreground.

また、本実施形態における携帯電話200は、「戻る」ボタン223を使用して、現在の操作を行う直前にフォアグラウンドに表示していたアプリケーションを呼び出すことができる。その場合、バックグラウンドにいたアプリケーションの画面をフォアグラウンドに遷移させるとともに、表示中であったアプリケーションの画面をバックグラウンドに遷移させることになる。このようにして、携帯電話200では、複数のアプリケーションを随時切り替えることができる。   In addition, the mobile phone 200 according to the present embodiment can call the application displayed in the foreground immediately before performing the current operation using the “return” button 223. In that case, the screen of the application that was in the background is transitioned to the foreground, and the screen of the application that was being displayed is transitioned to the background. In this way, in the mobile phone 200, a plurality of applications can be switched at any time.

ここで、本実施形態のカメラ通信アプリケーションがフォアグラウンドからバックグラウンドに遷移した場合について説明する。本実施形態における携帯電話200は、現在参加中のネットワークが、簡易APとしてのデジタルカメラ100が形成したものであるか否かに基づき、アプリケーション切り替え時の処理を異ならせる。   Here, a case where the camera communication application of the present embodiment transitions from the foreground to the background will be described. The mobile phone 200 according to the present embodiment changes processing at the time of application switching based on whether or not the network that is currently participating is formed by the digital camera 100 as a simple AP.

まず、簡易APにより形成されたネットワークに参加していると判断した場合、携帯電話200はカメラ通信アプリケーションをバックグラウンドに遷移させる。さらに携帯電話200は参加中のネットワークから離脱し、周辺の他のネットワークに接続する。このようにした理由は以下の通りである。すなわち、携帯電話200にインストールされるアプリケーションの多くは、インターネットを利用するものが多く存在する。仮にこのようなアプリケーションに切り替わった場合に、携帯電話200が引き続き簡易APが形成したネットワークに参加していると、インターネットが利用できず不便だからである。なお、ネットワークから離脱後に新たなネットワークに参加する処理は、離脱後に自動的に実行してもよいし、離脱後にユーザの操作に応じて実行してもよい。   First, when it is determined that the mobile phone 200 is participating in a network formed by the simple AP, the mobile phone 200 shifts the camera communication application to the background. Furthermore, the mobile phone 200 leaves the participating network and connects to other peripheral networks. The reason for this is as follows. That is, many of the applications installed on the mobile phone 200 use the Internet. This is because if the mobile phone 200 continues to join the network formed by the simple AP when the application is switched to such an application, the Internet cannot be used, which is inconvenient. Note that the process of joining a new network after leaving the network may be executed automatically after leaving or may be executed in response to a user operation after leaving.

本実施形態のカメラ通信アプリケーションでは、図11(d)に示すとおりに、アプリケーション切り替え後、簡易APが形成したネットワークから離脱したタイミングで、デジタルカメラとの接続を切断した旨のメッセージ231を表示する。さらに、ネットワークからの離脱後、自動的に新たなネットワークに参加する場合はその旨も通知する。   In the camera communication application according to the present embodiment, as shown in FIG. 11D, a message 231 indicating that the connection with the digital camera has been disconnected is displayed at the timing when the simple AP leaves the network formed after the application is switched. . In addition, when automatically joining a new network after leaving the network, a notification to that effect is also sent.

なお、通常APの形成するネットワークに参加していると判断した場合は、そのままネットワークへの参加を継続する。   If it is determined that the user is participating in the network formed by the normal AP, the user continues to participate in the network as it is.

なお、携帯電話200がデジタルカメラ100から画像データを受信している最中にアプリケーションの切り替え指示を受け付けた場合、即座にネットワークから離脱せず、画像データの受信を継続してもよい。この場合には、図11(e)に示すメッセージを表示し、デジタルカメラ100との接続を継続することを伝えるとともに、その間は他のアプリケーションでインターネットを利用できないことを伝える。   When the mobile phone 200 receives an application switching instruction while receiving image data from the digital camera 100, the image data may be continuously received without immediately leaving the network. In this case, the message shown in FIG. 11 (e) is displayed to inform that the connection with the digital camera 100 is continued, and to inform that other applications cannot use the Internet during that time.

図12は、カメラ通信アプリケーションから他のアプリケーションへの切り替えが実行されたときの携帯電話200の処理を示すフローチャートである。なお、以下の説明で各アプリケーションが動作主体のように記述する場合があるが、実際には各アプリケーションのプログラムに従い、制御部201が携帯電話200の各部を制御することにより処理が実現される。   FIG. 12 is a flowchart illustrating processing of the mobile phone 200 when switching from the camera communication application to another application is executed. In the following description, each application may be described as an operation subject. However, in actuality, the process is realized by the control unit 201 controlling each unit of the mobile phone 200 according to the program of each application.

ステップS1201にて、カメラ通信アプリケーションは、バックグラウンドへの遷移通知を待機する。バックグラウンドへの遷移通知は、ユーザによりホームボタン221が操作されたことを検知したOSが、カメラ通信アプリケーションに対して通知する。通知を受けたと判断した場合、処理はステップS1202へ進む。   In step S1201, the camera communication application waits for notification of transition to the background. The OS that has detected that the user has operated the home button 221 is notified of the transition to the background to the camera communication application. If it is determined that a notification has been received, the process proceeds to step S1202.

ステップS1202において、バックグラウンドに遷移したカメラ通信アプリケーションは、現在参加しているネットワークがデジタルカメラ100の簡易AP機能で形成されたものか判断する。制御部201は、図4のステップS406でデジタルカメラから受信した通知を参照することで、本ステップにおける判断を行う。デジタルカメラ100の簡易AP機能で形成されたネットワークではないと判断した場合、処理をステップS1212に進める。デジタルカメラ100の簡易AP機能で形成されたネットワークであると判断した場合、処理をステップS1203に進める。   In step S <b> 1202, the camera communication application that has transitioned to the background determines whether the currently participating network is formed with the simple AP function of the digital camera 100. The control unit 201 makes a determination in this step by referring to the notification received from the digital camera in step S406 in FIG. If it is determined that the network is not formed by the simple AP function of the digital camera 100, the process advances to step S1212. If it is determined that the network is formed by the simple AP function of the digital camera 100, the process advances to step S1203.

まず、ステップS1202からステップS1212に進んだ場合について説明する。この場合、現在自機が参加しているネットワークが簡易AP機能により形成されたものではなく、外部APによるものであると判断する。つまり、図3(a)に示すような接続形態であると判断する。この場合、参加中のネットワークに接続したままとする(ステップS1212)。これにより、他のアプリケーションでもインターネットを利用することが可能である。   First, a case where the process proceeds from step S1202 to step S1212 will be described. In this case, it is determined that the network in which the own device is currently participating is not formed by the simple AP function but by the external AP. That is, it is determined that the connection form is as shown in FIG. In this case, it remains connected to the participating network (step S1212). As a result, the Internet can be used by other applications.

次に、ステップS1202からステップS1203に進んだ場合について説明する。ステップS1203において、カメラ通信アプリケーションは、現在デジタルカメラ100から画像データを受信中であるか判断する。受信中であればステップS1204へ進む。受信処置中でなければステップS1207へ進む。   Next, a case where the process proceeds from step S1202 to step S1203 will be described. In step S1203, the camera communication application determines whether image data is currently being received from the digital camera 100. If it is being received, the process proceeds to step S1204. If the reception process is not in progress, the process advances to step S1207.

受信中の場合には、ステップS1204にて、図11(e)に示すとおりのメッセージを表示し、デジタルカメラとの接続を継続することを伝える。デジタルカメラから画像を受信する操作はそもそもユーザが指示したものなので、画像受信処理中であることが自明であれば、このメッセージは表示しなくともよい。その後、ステップS1205にて、カメラからの画像データの受信処理を継続し、ステップS1206にて画像データの受信が完了したと判断した場合には、ステップS1207へ進む。   If it is being received, in step S1204, a message as shown in FIG. 11E is displayed to inform that the connection with the digital camera is to be continued. Since the operation for receiving an image from the digital camera is originally instructed by the user, this message need not be displayed if it is obvious that the image receiving process is in progress. After that, in step S1205, the process of receiving image data from the camera is continued. If it is determined in step S1206 that the reception of image data has been completed, the process proceeds to step S1207.

ここで、カメラ通信アプリケーションはバックグラウンドに遷移した後、ステップS1207で一定時間待機する。これは、ユーザが誤操作で他のアプリケーションへ接続してしまった可能性を考慮したものであり、もしすぐにカメラ通信アプリケーションがフォアグラウンドに戻された場合に、デジタルカメラとの接続を維持しておくためである。この一定時間は、10秒など、アプリケーション切り替えが誤操作でないことを判断するに十分な時間を設けるのがよい。なお、このステップS1207は必ずしも実行する必要はなく、ステップS1207を省略することで、切り替え先のアプリケーションをすぐに利用できるようにすることも考えられる。   Here, after transitioning to the background, the camera communication application waits for a predetermined time in step S1207. This takes into account the possibility that the user has accidentally connected to another application. If the camera communication application is immediately returned to the foreground, the connection with the digital camera is maintained. Because. This fixed time is preferably 10 seconds, which is sufficient to determine that the application switching is not an erroneous operation. Note that step S1207 is not necessarily executed, and it may be possible to use the switching destination application immediately by omitting step S1207.

続いてカメラ通信アプリケーションは、ステップS1208にて、自身が引き続きバックグラウンドにいるかいなかを判断する。バックグラウンドにいると判断した場合には、ステップS1209にてネットワークを離脱し、ステップS1210にて新たなネットワークへ接続する。そしてステップS1211にて図11(d)に示すとおりに、アプリケーション切り替え後、カメラが形成したネットワークから離脱したタイミングで、カメラとの接続を切断した旨のメッセージ231を表示する。   Subsequently, in step S1208, the camera communication application determines whether it is still in the background. If it is determined that the user is in the background, the network is disconnected in step S1209, and a new network is connected in step S1210. In step S1211, as shown in FIG. 11D, a message 231 indicating that the connection with the camera has been disconnected is displayed at the timing when the camera is disconnected from the network formed after the application is switched.

なお、ここでは省略したが、ステップS1211でメッセージを表示する前に、新しいネットワークでインターネットが利用できるか判断したうえで、その利用の可否をメッセージ表示しても良い。   Although omitted here, before displaying a message in step S1211, it may be determined whether or not the Internet can be used in a new network, and a message indicating whether or not the Internet can be used is displayed.

[第2の実施形態]
第1の実施形態では、携帯電話200側で必要に応じて参加するネットワークを切り替える形態について説明した。しかしながら、ネットワークを切り替える制御を容易に行えないシステムも考えられる。特に、いわゆるスマートフォンと呼ばれる携帯電話の場合、OSと、OS上で動作するアプリケーションの役割分担がある程度明確になっている。例えば、ネットワークの切り替えはOSの機能であり、アプリケーションからはネットワークを切り替える制御ができないケースが考えられる。本実施形態では、上記のようなケースにおいても、ネットワークの特徴に応じた適切な処理を実行できるようにする。なお、本実施形態は第1の実施形態と共通する部分が多いため、共通部分の説明は省略し、本実施形態に特有の部分を中心に説明する。以下、OSやカメラ通信アプリケーションが処理の主体であるかのように記載する箇所があるが、実際には制御部201がOSまたはカメラ通信アプリケーションのいずれかのプログラムを読み込み、各種処理を実現していることはいうまでもない。
[Second Embodiment]
In the first embodiment, a mode has been described in which the mobile phone 200 switches the participating network as necessary. However, a system that cannot easily perform control to switch networks is also conceivable. In particular, in the case of a mobile phone called a so-called smartphone, the division of roles between the OS and the applications operating on the OS has been clarified to some extent. For example, network switching is a function of the OS, and there is a case where control of switching the network cannot be performed from an application. In the present embodiment, even in the above case, it is possible to execute appropriate processing according to the characteristics of the network. In addition, since this embodiment has many parts in common with the first embodiment, description of the common parts will be omitted, and description will be made focusing on parts unique to the present embodiment. In the following, there are places where the OS or camera communication application is the main subject of processing, but in reality, the control unit 201 reads one of the programs of the OS or camera communication application to implement various processes. Needless to say.

図14は、本実施形態における、携帯電話200の動作を示すフローチャートである。このフローチャートはデジタルカメラ100と接続した後の処理を示すものであり、図6と同様の処理に関しては同じステップ番号を付した。図6のフローチャートと異なるのは、ステップS1101〜S1104である。   FIG. 14 is a flowchart showing the operation of the mobile phone 200 in the present embodiment. This flowchart shows processing after connection with the digital camera 100, and the same step numbers are assigned to the same processing as in FIG. Steps S1101 to S1104 are different from the flowchart of FIG.

ステップS1101で、カメラ通信アプリケーションは、接続しているデジタルカメラ100に対して、形成したネットワークの消滅要求を出す。この要求を受信したデジタルカメラ100は、自機の簡易AP機能で形成したネットワークを消滅させる。前述したように、ネットワークの消滅処理として、デジタルカメラ100はビーコン信号の送信を停止し、ネットワークに対してネットワークが消滅することを通知する。   In step S <b> 1101, the camera communication application issues a request to delete the formed network to the connected digital camera 100. Upon receiving this request, the digital camera 100 extinguishes the network formed by its own simple AP function. As described above, as the network disappearance process, the digital camera 100 stops transmitting the beacon signal and notifies the network that the network disappears.

続いて、ステップS1102で、接続しているネットワークが消滅しているかどうかを判断する。ネットワークが消滅したと判断した場合には、ステップS612に進む。消滅していないと判断した場合は処理を繰り返す。   In step S1102, it is determined whether the connected network has disappeared. If it is determined that the network has disappeared, the process proceeds to step S612. If it is determined that it has not disappeared, the process is repeated.

本実施形態におけるOSは、今まで参加していたネットワークが消滅したことを検知すると、ネットワークの切り替えを行う。まず周辺の無線LANネットワークを検索し、以前接続したことのある無線LANネットワークを検出した場合はそのネットワークに参加する。また、以前接続したことのある無線LANネットワークが検出されなかった場合は、3G通信に切り替える。このように、カメラ通信アプリケーションは携帯電話200の参加するネットワークを直接切り替えることはできないものの、デジタルカメラ100の形成するネットワークを消滅させるよう制御することで、間接的にネットワークを切り替えることが可能となる。   When the OS in the present embodiment detects that the network that has participated so far has disappeared, the OS switches the network. First, a peripheral wireless LAN network is searched, and if a wireless LAN network that has been connected before is detected, it joins that network. If a wireless LAN network that has been connected before is not detected, switching to 3G communication is performed. As described above, although the camera communication application cannot directly switch the network in which the mobile phone 200 participates, the network can be indirectly switched by controlling the network formed by the digital camera 100 to disappear. .

次に、ステップS1103で、カメラ通信アプリケーションはOSに対してインターネットへの画像データの送信を要求する。具体的には、送信先のアドレス、送信対象となる画像データを特定する情報などをOSに通知する。通信アプリケーションの処理はここまでである。   In step S1103, the camera communication application requests the OS to transmit image data to the Internet. Specifically, the address of the transmission destination, information for specifying the image data to be transmitted, and the like are notified to the OS. This is the end of the communication application processing.

次にステップS1104にてOSは、現在参加しているネットワークを介して画像データをインターネットに送信する。   In step S1104, the OS transmits image data to the Internet via the currently participating network.

以上が、本実施形態における携帯電話200の動作である。続いて、デジタルカメラ100の動作について説明する。図15は、本実施形態におけるデジタルカメラ100の動作を示すフローチャートである。このフローチャートは携帯電話200と接続した後の処理を示すものであり、図8と同様の処理に関しては同じステップ番号を付した。図6のフローチャートと異なるのは、ステップS1201、S1202である。ステップS807において、制御部101が本画像データの取得要求ではないと判断した場合に、処理はステップS1201に進む。   The above is the operation of the mobile phone 200 in the present embodiment. Next, the operation of the digital camera 100 will be described. FIG. 15 is a flowchart showing the operation of the digital camera 100 in the present embodiment. This flowchart shows processing after connection with the mobile phone 200, and the same step numbers are assigned to the same processing as in FIG. What is different from the flowchart of FIG. 6 is steps S1201 and S1202. If the control unit 101 determines in step S807 that the request is not an acquisition request for main image data, the process advances to step S1201.

ステップS1201で、制御部101は、携帯電話200からの要求がネットワークの消滅要求であるかどうかを判断する。消滅要求である場合にはステップS1202に進む。消滅要求でない場合はステップS810に進み、エラーを送信する。   In step S1201, the control unit 101 determines whether or not the request from the mobile phone 200 is a network extinction request. If it is an extinction request, the process proceeds to step S1202. If it is not an extinction request, the process proceeds to step S810, and an error is transmitted.

ステップS1202で、制御部101は自機の簡易AP機能で形成したネットワークの消滅処理を行い、終了する。   In step S1202, the control unit 101 performs a process for deleting the network formed by the simple AP function of the own device, and the process ends.

なお、本実施形態ではネットワークの消滅要求を受けた時点で消滅処理を行ったが、携帯電話200に処理を受け付けたことを返信し、その後所定時間待ってからネットワーク消滅処理を実行してもよい。そうすることによって、携帯電話200は要求が受け付けられたことを知ることができる。   In this embodiment, the annihilation process is performed when a request for erasure of the network is received. However, the network annihilation process may be executed after returning to the mobile phone 200 that the process has been accepted and waiting for a predetermined time. . By doing so, the mobile phone 200 can know that the request has been accepted.

同様に、図15に、携帯電話のアプリケーションの切り替えが実行されたときの、本実施形態におけるカメラ通信アプリケーションの処理としてのフローチャートを示す。図12と同様の処理に関しては同じステップ番号を付した。図12のフローチャートと異なるのは、ステップS1601〜S1602である。   Similarly, FIG. 15 shows a flowchart as processing of the camera communication application in the present embodiment when switching of the mobile phone application is executed. The same step numbers are assigned to processes similar to those in FIG. Steps S1601 to S1602 are different from the flowchart of FIG.

ステップS1601で、カメラ通信アプリケーションは、接続しているデジタルカメラ100に対して、形成したネットワークの消滅要求を出す。この要求を受信したデジタルカメラ100は、自機の簡易AP機能で形成したネットワークを消滅させる。前述したように、ネットワークの消滅処理として、デジタルカメラ100はビーコン信号の送信を停止し、ネットワークに対してネットワークが消滅することを通知する。   In step S1601, the camera communication application issues a request to delete the formed network to the connected digital camera 100. Upon receiving this request, the digital camera 100 extinguishes the network formed by its own simple AP function. As described above, as the network disappearance process, the digital camera 100 stops transmitting the beacon signal and notifies the network that the network disappears.

続いて、ステップS1602で、接続しているネットワークが消滅しているかどうかを判断する。ネットワークが消滅したと判断した場合には、ステップS612に進む。消滅していないと判断した場合は処理を繰り返す。   In step S1602, it is determined whether the connected network has disappeared. If it is determined that the network has disappeared, the process proceeds to step S612. If it is determined that it has not disappeared, the process is repeated.

以上に説明したように、本実施形態によれば、携帯電話のアプリなどネットワークの切断が実施できない場合でも、ユーザがネットワークの接続状態を意識することなく、画像データのアップロードを最適なネットワークで行うことが可能になる。   As described above, according to the present embodiment, even when a network disconnection such as a mobile phone application cannot be performed, the user uploads image data through an optimal network without being aware of the network connection state. It becomes possible.

また、本発明の目的は、以下の様にして達成することも可能である。まず、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(または記録媒体)を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行する。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、以下のようにして達成することも可能である。即ち、読み出したプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合である。ここでプログラムコードを記憶する記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、ROM、RAM、磁気テープ、不揮発性のメモリカード、CD−ROM、CD−R、DVD、光ディスク、光磁気ディスク、MOなどが考えられる。また、LAN(ローカル・エリア・ネットワーク)やWAN(ワイド・エリア・ネットワーク)などのコンピュータネットワークを、プログラムコードを供給するために用いることができる。   The object of the present invention can also be achieved as follows. First, a storage medium (or recording medium) that records a program code of software that implements the functions of the above-described embodiments is supplied to a system or apparatus. Then, the computer (or CPU or MPU) of the system or apparatus reads and executes the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also the following can be achieved. That is, when the operating system (OS) running on the computer performs part or all of the actual processing based on the instruction of the read program code, the functions of the above-described embodiments are realized by the processing. It is. Examples of the storage medium for storing the program code include a flexible disk, hard disk, ROM, RAM, magnetic tape, nonvolatile memory card, CD-ROM, CD-R, DVD, optical disk, magneto-optical disk, MO, and the like. Can be considered. Also, a computer network such as a LAN (Local Area Network) or a WAN (Wide Area Network) can be used to supply the program code.

Claims (15)

アクセスポイントが形成したネットワークに参加が可能な通信装置であって、
第1のネットワークを介してデータ処理装置との通信を確立し、前記データ処理装置とのデータ通信を行うデータ通信手段と、
前記データ処理装置から、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したか否かを示す通知を受信する受信手段と、
前記データ処理装置との通信を行うためのアプリケーションバックグラウンド遷移したことを検知する検知手段
ネットワークを介したデータの送信または受信を制御する制御手段とを有し、
前記検知手段により前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後、前記制御手段は、前記受信手段により受信された通知の結果に応じて、前記通信装置が現在参加している前記第1のネットワークを離脱するか否かを制御することを特徴とする通信装置。
A communication device capable of joining a network formed by an access point ,
Data communication means for establishing communication with the data processing device via the first network and performing data communication with the data processing device;
Receiving means for receiving from the data processing device a notification indicating whether or not the data processing device has formed the first network as the access point ;
Detecting means for detecting that the application for communicating with the data processing apparatus is transitioned to the background,
Control means for controlling transmission or reception of data via the network ,
After detecting that the application for performing communication with the data processing device has transitioned to the background by the detecting means, the control means determines the communication according to the result of the notification received by the receiving means. A communication apparatus for controlling whether or not the apparatus leaves the first network to which it currently participates.
前記受信手段により、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したことを示す通知が受信された場合、前記制御手段は、前記検知手段により前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後に、前記通信装置が現在参加している前記第1のネットワークを離脱するよう制御することを特徴とする請求項1に記載の通信装置。When the receiving means receives a notification indicating that the data processing apparatus has formed the first network as the access point, the control means communicates with the data processing apparatus by the detecting means. The communication apparatus according to claim 1, wherein the communication apparatus controls the communication apparatus to leave the first network to which the communication apparatus currently participates after detecting that an application for performing transition to the background. 前記受信手段により、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成していないことを示す通知が受信された場合、前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことが検知された後も前記制御手段は、インターネットを介したデータの送信または受信が引き続き前記第1のネットワークを形成するアクセスポイントを介して行われるよう制御することを特徴とする請求項1または2に記載の通信装置。 When the reception unit receives a notification indicating that the data processing apparatus does not form the first network as the access point , an application for communicating with the data processing apparatus is set in the background. even after the transition was is detected, the control means, and controlling so dividing line through the access point transmission or reception of data via the Internet will continue to form the first network according Item 3. The communication device according to Item 1 or 2 . 前記受信手段により、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したことを示す通知が受信された場合、前記制御手段は前記検知手段により前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後に、前記第1のネットワークとは異なる第2のネットワークに前記通信装置参加するよう制御することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。 When the notification indicating that the data processing apparatus has formed the first network as the access point is received by the reception means, the control means communicates with the data processing apparatus by the detection means 4. The control apparatus according to claim 1, further comprising: controlling the communication apparatus to participate in a second network different from the first network after detecting that the application for transferring to the background is detected . Item 1. The communication device according to item 1 . 前記受信手段により、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したことを示す通知が受信された場合、前記制御手段は、前記検知手段により前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後所定時間経過後に、前記通信装置が現在参加している前記第1のネットワークを離脱するよう制御することを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。When the receiving means receives a notification indicating that the data processing apparatus has formed the first network as the access point, the control means communicates with the data processing apparatus by the detecting means. 4. The control device according to claim 1, wherein the communication device is controlled to leave the first network to which the communication device currently participates after a predetermined time has elapsed after detecting that the application to be performed has shifted to the background. The communication device according to any one of the above. 前記第2のネットワークは公衆網であり、
前記制御手段は前記インターネットを介したデータの送信または受信を前記第2のネットワークを介して行うよう制御することを特徴とする請求項に記載の通信装置。
The second network is a public network;
The communication apparatus according to claim 4 , wherein the control unit controls transmission or reception of data via the Internet via the second network.
前記公衆網は3GまたはLTEによるネットワークであることを特徴とする請求項に記載の通信装置。 The communication apparatus according to claim 6 , wherein the public network is a network based on 3G or LTE. 前記第2のネットワークは前記第1のネットワークを形成するアクセスポイントとは異なるアクセスポイントが形成するネットワークであって、
前記制御手段は前記インターネットを介したデータの送信または受信を前記第2のネットワークを介して行うよう制御することを特徴とする請求項に記載の通信装置。
The second network is a network formed by an access point different from the access point forming the first network,
The communication apparatus according to claim 4 , wherein the control unit controls transmission or reception of data via the Internet via the second network.
前記データ処理装置は、公衆網に接続する手段を有さないことを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 Wherein the data processing device, a communication device according to any one of claims 1 to 8, characterized in that no means for connecting to a public network. 前記データ処理装置は、ゲートウェイ機能を有さないことを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 Wherein the data processing device, a communication device according to any one of claims 1 to 9, characterized in that no gateway function. 前記データ通信手段は、公衆網に接続する手段を有するアクセスポイントが形成した第1のネットワークを介してデータ処理装置との通信を確立し、前記データ処理装置とのデータ通信を行うことが可能であることを特徴とする請求項1乃至10のいずれか1項に記載の通信装置。 The data communication means can establish communication with a data processing device via a first network formed by an access point having means for connecting to a public network, and can perform data communication with the data processing device. communication apparatus according to any one of claims 1 to 10, characterized in that there. 前記データ通信手段は、ゲートウェイ機能を有するアクセスポイントが形成した第1のネットワークを介してデータ処理装置との通信を確立し、前記データ処理装置とのデータ通信を行うことが可能であることを特徴とする請求項1乃至11のいずれか1項に記載の通信装置。 The data communication means is capable of establishing communication with a data processing apparatus via a first network formed by an access point having a gateway function and performing data communication with the data processing apparatus. The communication device according to any one of claims 1 to 11 . 前記通信装置は携帯電話であることを特徴とする請求項1乃至12のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 12, wherein the communication device is a mobile phone. アクセスポイントが形成したネットワークに参加が可能な通信装置の制御方法であって、
第1のネットワークを介してデータ処理装置との通信を確立し、前記データ処理装置とのデータ通信を行うデータ通信工程と、
前記データ処理装置から、前記データ処理装置が前記アクセスポイントとして前記第1のネットワークを形成したか否かを示す通知を受信する受信工程と、
前記データ処理装置との通信を行うためのアプリケーションバックグラウンド遷移したことを検知する検知工程と
前記検知工程で、前記前記データ処理装置との通信を行うためのアプリケーションがバックグラウンドに遷移したことを検知した後、前記受信工程で受信された通知の結果に応じて、現在参加しているネットワークを離脱するか否かを制御する工程とを有することを特徴とする通信装置の制御方法。
A method of controlling a communication device capable of joining a network formed by an access point ,
A data communication step of establishing communication with the data processing device via the first network and performing data communication with the data processing device;
Receiving from the data processing device a notification indicating whether the data processing device has formed the first network as the access point ;
A detection step of detecting that the application for communicating with the data processing apparatus is transitioned to the background
In the detection step, after detecting that the application for performing communication with the data processing device has transitioned to the background, the network that is currently participating according to the result of the notification received in the reception step And a step of controlling whether or not to leave the communication apparatus.
コンピュータを、請求項1乃至13のいずれか1項に記載の通信装置の各手段として機能させる、コンピュータにより実行が可能なプログラム。   A computer-executable program that causes a computer to function as each unit of the communication device according to any one of claims 1 to 13.
JP2012233674A 2012-10-23 2012-10-23 COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM Active JP6041619B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2012233674A JP6041619B2 (en) 2012-10-23 2012-10-23 COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
US14/056,836 US9325898B2 (en) 2012-10-23 2013-10-17 Communication apparatus and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012233674A JP6041619B2 (en) 2012-10-23 2012-10-23 COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM

Publications (2)

Publication Number Publication Date
JP2014086844A JP2014086844A (en) 2014-05-12
JP6041619B2 true JP6041619B2 (en) 2016-12-14

Family

ID=50789544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012233674A Active JP6041619B2 (en) 2012-10-23 2012-10-23 COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM

Country Status (1)

Country Link
JP (1) JP6041619B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6137076B2 (en) * 2014-07-08 2017-05-31 コニカミノルタ株式会社 TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD, AND TERMINAL DEVICE CONTROL PROGRAM
JPWO2017006528A1 (en) * 2015-07-07 2018-04-19 パナソニックIpマネジメント株式会社 Communication system, transmitting terminal and receiving terminal
JP2017208805A (en) * 2016-05-17 2017-11-24 株式会社リコー Communication system, program, information processing device and communication method
US10674561B2 (en) 2016-05-17 2020-06-02 Ricoh Company, Ltd. Communication system, information processing apparatus, and communication method
WO2018105422A1 (en) 2016-12-06 2018-06-14 キヤノン株式会社 Information processing device, information processing method, and storage medium whereupon program is stored
US10735639B2 (en) 2017-06-29 2020-08-04 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and program
JP2019053950A (en) * 2017-09-19 2019-04-04 日立アプライアンス株式会社 Heating cooking system
JP7041559B2 (en) * 2018-03-14 2022-03-24 キヤノン株式会社 Communication devices, data transfer devices and their control methods, and programs
JP2019175332A (en) * 2018-03-29 2019-10-10 キヤノン株式会社 Information processing device
JP2021158561A (en) 2020-03-27 2021-10-07 キヤノン株式会社 Communication apparatus, control method therefor, and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3848235B2 (en) * 2002-10-04 2006-11-22 ソニー株式会社 COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING SYSTEM AND METHOD, AND COMPUTER PROGRAM
JP4829600B2 (en) * 2005-11-28 2011-12-07 キヤノン株式会社 COMMUNICATION DEVICE AND COMMUNICATION DEVICE CONTROL METHOD
JP4921064B2 (en) * 2006-07-31 2012-04-18 キヤノン株式会社 Communication device, communication method, program for controlling communication device, and storage medium storing program
US20120076118A1 (en) * 2010-09-29 2012-03-29 Michael Montemurro Methods and apparatus to present network capabilities available via wireless networks
US20110040900A1 (en) * 2009-08-13 2011-02-17 Yepez Roberto Gabriel Host/peripheral local interconnect that is compatible with self-configurable peripheral device
KR20120052092A (en) * 2010-11-15 2012-05-23 삼성전자주식회사 Method for tethering network, method for connecting network and wirelessly communication system thereof
JP5511856B2 (en) * 2012-01-10 2014-06-04 キヤノン株式会社 COMMUNICATION DEVICE, PROGRAM FOR CONTROLLING COMMUNICATION DEVICE, STORAGE MEDIUM CONTAINING THE PROGRAM, AND NETWORK FORMING METHOD
JP5980027B2 (en) * 2012-07-18 2016-08-31 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Also Published As

Publication number Publication date
JP2014086844A (en) 2014-05-12

Similar Documents

Publication Publication Date Title
JP5980027B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6041619B2 (en) COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
JP6207330B2 (en) COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
JP5882768B2 (en) Image processing apparatus, control method thereof, and program
JP6393030B2 (en) Transmission device, reception device, control method, program, and transmission / reception system
KR101761106B1 (en) Communication apparatus and control method thereof
JP6092622B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
US9325898B2 (en) Communication apparatus and method for controlling the same
JP6066724B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5705203B2 (en) COMMUNICATION DEVICE, COMMUNICATION TERMINAL, ITS CONTROL METHOD, PROGRAM
JP6033014B2 (en) Information processing apparatus, control method thereof, and program
JP6021524B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
US11523462B2 (en) Communication apparatus capable of wirelessly communicating with another apparatus, control method therefor, and storage medium
JP6223511B2 (en) COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
JP2016034103A (en) Communication apparatus, control method of the same and program
JP2014116745A (en) Communication device, control method therefor and program
JP2021022797A (en) Communication device
JP5813261B2 (en) COMMUNICATION DEVICE, COMMUNICATION TERMINAL, ITS CONTROL METHOD, PROGRAM
JP5813270B1 (en) COMMUNICATION DEVICE, COMMUNICATION TERMINAL, ITS CONTROL METHOD, PROGRAM
JP6033379B2 (en) COMMUNICATION DEVICE, COMMUNICATION TERMINAL, ITS CONTROL METHOD, PROGRAM
JP6120568B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151023

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160920

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: 20161011

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161108

R151 Written notification of patent or utility model registration

Ref document number: 6041619

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151