JP6128840B2 - Wireless communication apparatus, control method thereof, and program - Google Patents

Wireless communication apparatus, control method thereof, and program Download PDF

Info

Publication number
JP6128840B2
JP6128840B2 JP2012286681A JP2012286681A JP6128840B2 JP 6128840 B2 JP6128840 B2 JP 6128840B2 JP 2012286681 A JP2012286681 A JP 2012286681A JP 2012286681 A JP2012286681 A JP 2012286681A JP 6128840 B2 JP6128840 B2 JP 6128840B2
Authority
JP
Japan
Prior art keywords
network
information
connection
control unit
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.)
Expired - Fee Related
Application number
JP2012286681A
Other languages
Japanese (ja)
Other versions
JP2014131107A (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 JP2012286681A priority Critical patent/JP6128840B2/en
Publication of JP2014131107A publication Critical patent/JP2014131107A/en
Application granted granted Critical
Publication of JP6128840B2 publication Critical patent/JP6128840B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信装置のネットワーク接続処理に関する。   The present invention relates to a network connection process of a communication apparatus.

近年、デジタルカメラやデジタルカメラを搭載した機器は急速に普及している。また、IEEE802.11xを代表とする無線通信規格(無線LAN規格)による通信をサポートする機器も、通信デバイスの小型化、低価格化によってノート型やラップトップ型パーソナルコンピュータ以外に拡大している。例えば、プリンタ、携帯情報端末、デジタルカメラ、携帯電話機である。これにより、有線接続の場合よりも様々な種類の機器と通信が可能である。   In recent years, digital cameras and devices equipped with digital cameras are rapidly spreading. In addition, devices that support communication based on a wireless communication standard (wireless LAN standard) typified by IEEE802.11x are expanding to devices other than notebook computers and laptop personal computers due to miniaturization and price reduction of communication devices. For example, a printer, a portable information terminal, a digital camera, and a mobile phone. Thereby, it is possible to communicate with various types of devices as compared with the case of wired connection.

また、無線通信機器に簡易的なアクセスポイント機能を搭載したものも知られている。無線通信装置が簡易的なアクセスポイント機能を起動すると、他の装置が無線通信装置をアクセスポイントとして検知し、無線通信装置が形成したネットワークに参加する。このようにすることで、アクセスポイントが形成する無線ネットワークがない環境においても、無線通信装置同士で接続を確立することができる。   A wireless communication device having a simple access point function is also known. When the wireless communication device activates a simple access point function, another device detects the wireless communication device as an access point and participates in the network formed by the wireless communication device. By doing so, it is possible to establish a connection between wireless communication devices even in an environment where there is no wireless network formed by an access point.

無線通信を利用して相手機器と接続する場合、まず、無線ネットワークに接続する無線接続処理を行い、その後、選択したネットワークに存在する相手機器と接続する機器接続処理を行うという2段階の手順を踏むことが多い。   When connecting to a partner device using wireless communication, first, a two-step procedure is performed in which a wireless connection process for connecting to a wireless network is performed, and then a device connection process for connecting to a partner device existing in the selected network is performed. I often step on it.

その際、それぞれの手順において、ユーザはネットワークや機器を選択したり、パスワードを入力したりしなければならず、デジタルカメラなどのパーソナルコンピュータに比べて操作入力手段が豊富ではない機器においては、操作手順の簡単化が求められている。   At that time, in each procedure, the user must select a network or device, enter a password, and operate on devices that do not have a lot of operation input means compared to a personal computer such as a digital camera. There is a need for simplified procedures.

特許文献1では、機器の無線LAN接続において、インフラストラクチャモードとアドホックモードのどちらを優先するか設定できる。さらに、インフラストラクチャモード優先の場合はアドホックで接続中でもインフラストラクチャ環境を発見したら、インフラストラクチャ接続に切り替える手法が提案されている。   In Patent Document 1, it is possible to set which of the infrastructure mode and the ad hoc mode is prioritized in the wireless LAN connection of a device. Furthermore, when the infrastructure mode is prioritized, there is proposed a method of switching to infrastructure connection when an infrastructure environment is discovered even during connection in ad hoc.

特開2006−340380号公報JP 2006-340380 A

しかしながら、上述の特許文献に開示された従来技術では、優先設定に従って機器をネットワークへの参加させることができるが、相手機器との接続に関してまでサポートするものではない。   However, in the prior art disclosed in the above-mentioned patent document, the device can participate in the network according to the priority setting, but it does not support the connection with the counterpart device.

本発明に係る通信装置は、ネットワークに参加する参加手段と、ネットワークを形成する形成手段と、前記参加手段により参加したネットワーク内の外部装置と接続する接続手段と、前記参加手段により参加したことのあるネットワークの情報と、前記形成手段により形成したことのあるネットワークの情報と、前記接続手段により接続したことのある外部装置の情報とを保持する保持手段とを有し、前記参加手段により、前記通信装置とは異なる装置が形成したネットワークに参加した場合、前記保持手段は、前記参加手段により参加したネットワークの情報を前記接続手段により接続される外部装置の情報と関連付けず、前記接続手段による接続の前に保持し、前記形成手段により前記通信装置が形成したネットワークを用いる場合、前記保持手段は前記接続手段による外部装置との接続の後に、前記形成手段により形成したネットワークの情報と前記接続手段により接続した外部装置の情報と関連付けて保持することを特徴とする。 The communication apparatus according to the present invention includes a joining means for joining the network, a forming means for forming the network, a connecting means for connecting to an external device in the network joined by the joining means, and the joining means for joining. Holding means for holding information on a certain network, information on a network that has been formed by the forming means, and information on an external device that has been connected by the connecting means; When participating in a network formed by a device different from the communication device, the holding unit does not associate the information of the network joined by the joining unit with the information of the external device connected by the connection unit, and the connection by the connection unit If the holding before, using a network more the communication device is formed in the forming means, before Holding means after the connection with the external device by said connecting means, characterized in that it held in association with the information of the external device connected by said connecting means and forming information of the network by the forming means.

本発明によれば、ネットワークへの参加と機器接続を一連の手順として提供可能であり、さらに、接続の際の設定パラメータを適切に取り扱うことができる。   According to the present invention, network participation and device connection can be provided as a series of procedures, and setting parameters at the time of connection can be handled appropriately.

本発明に係る実施形態の通信装置の構成を示すブロック図。The block diagram which shows the structure of the communication apparatus of embodiment which concerns on this invention. 本実施形態の携帯電話の構成を示すブロック図。The block diagram which shows the structure of the mobile telephone of this embodiment. 本実施形態のネットワーク構成を示す図。The figure which shows the network structure of this embodiment. 本実施形態の通信装置が保持するデータベースの概念図。The conceptual diagram of the database which the communication apparatus of this embodiment hold | maintains. 本実施形態の通信装置の処理を示すフローチャート。The flowchart which shows the process of the communication apparatus of this embodiment. 本実施形態の通信装置の処理を示すフローチャート。The flowchart which shows the process of the communication apparatus of this embodiment. 本実施形態の通信装置の処理を示すフローチャート。The flowchart which shows the process of the communication apparatus of this embodiment. 本実施形態の通信装置の処理中に表示される画面を例示する図。The figure which illustrates the screen displayed during processing of the communication apparatus of this embodiment. 実施形態2の通信装置の処理を示すフローチャート。9 is a flowchart illustrating processing of the communication apparatus according to the second embodiment. 実施形態2の通信装置の処理を示すフローチャート。9 is a flowchart illustrating processing of the communication apparatus according to the second embodiment. 実施形態2の通信装置の処理を示すフローチャート。9 is a flowchart illustrating processing of the communication apparatus according to the second embodiment.

以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

なお、以下に説明する実施の形態は、本発明の実現手段としての一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されてもよい。また、各実施の形態を適宜組み合せることも可能である。   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.

以下、本発明の通信装置を、例えば、デジタルカメラ等の撮像装置に搭載した実施形態について説明するが、これに限られない。本発明を、例えば携帯電話や携帯型のメディアプレーヤ、いわゆるタブレットデバイス、パーソナルコンピュータなどの情報処理装置に適用することもできる。   Hereinafter, an embodiment in which the communication apparatus of the present invention is mounted on an imaging apparatus such as a digital camera will be described, but the present invention is not limited thereto. The present invention can also be applied to an information processing apparatus such as a mobile phone or a portable media player, a so-called tablet device or a personal computer.

<撮像装置の構成>
図1を参照して、本発明に係る実施形態の撮像装置の構成及び機能の概略について説明する。
<Configuration of imaging device>
With reference to FIG. 1, an outline of a configuration and functions of an imaging apparatus according to an embodiment of the present invention will be described.

図1において、制御部101は、入力された信号や、後述のプログラムに従ってデジタルカメラ100の各部を制御する。なお、制御部101が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。   In FIG. 1, a 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 an interactive operation screen. 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は、無線LANのインフラストラクチャモードにおけるスレーブ装置として動作することが可能である。スレーブ装置として動作する場合、周辺のアクセスポイント(以下、AP)に接続することで、APが形成するネットワークに参加することが可能である。また、本実施形態におけるデジタルカメラ100は、APの一種ではあるが、より機能が限定された簡易的なAP(以下、簡易AP)として動作することも可能である。なお、本実施形態におけるAPは中継装置の一例である。デジタルカメラ100が簡易APとして動作すると、デジタルカメラ100は自身でネットワークを形成する。デジタルカメラ100の周辺の装置は、デジタルカメラ100をAPと認識し、デジタルカメラ100が形成したネットワークに参加することが可能となる。上記のようにデジタルカメラ100を動作させるためのプログラムは不揮発性メモリ103に保持されているものとする。   The digital camera 100 according to the present embodiment can operate as a slave device in a wireless LAN 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である。したがって、自機が形成したネットワークに参加している他の装置からデータを受信しても、それをインターネットなどのネットワークに転送することはできない。なお、他の実施形態として、デジタルカメラ100にゲートウェイ機能を持たせることも可能である。   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. As another embodiment, the digital camera 100 can have a gateway function.

<携帯電話の構成>
次に、図2を参照して、本発明の接続機器を適用した一実施形態の携帯電話200の構成及び機能について説明する。なお、以下では、本発明の通信装置の一例として携帯電話について述べるが、これに限られない。本発明は、例えば無線機能付きのデジタルカメラ、携帯型のメディアプレーヤやいわゆるタブレットデバイス、パーソナルコンピュータ、スマートフォンなどの情報処理装置にも適用できる。
<Configuration of mobile phone>
Next, with reference to FIG. 2, the configuration and functions of a mobile phone 200 according to an embodiment to which the connection device of the present invention is applied will be described. In the following, a mobile phone is described as an example of the communication device of the present invention, but the present invention is not limited to this. The present invention can also be applied to information processing apparatuses such as a digital camera with a wireless function, a portable media player, a so-called tablet device, a personal computer, and a smartphone.

図2において、制御部201は、入力された信号や、後述のプログラムに従って携帯電話200の各部を制御する。なお、制御部201が装置全体を制御する代わりに、複数のハードウェアが処理を分担することで、装置全体を制御してもよい。   In FIG. 2, 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の表示を制御する表示制御機能を少なくとも有していればよい。   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 has at least a display control function for controlling the display 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は必ずしも独立したハードウェアで構成する必要はなく、例えば1つのアンテナで兼用することも可能である。   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.

<システム構成>
次に、図3を参照して、本実施形態のデジタルカメラ100と携帯電話200とが接続されたシステム構成について説明する。
<System configuration>
Next, a system configuration in which the digital camera 100 and the mobile phone 200 according to the present embodiment are connected will be described with reference to FIG.

デジタルカメラ100と携帯電話200が無線LANでデータを送受信する場合、図3(a)と図3(b)の2つのデータ通信形態が考えられる。   When the digital camera 100 and the mobile phone 200 transmit and receive data via a wireless LAN, two data communication modes shown in FIGS. 3A and 3B are possible.

図3(a)は、外部中継装置の一例である外部AP300が形成する無線LANネットワークに、デジタルカメラ100と携帯電話200とが参加する第1のデータ通信形態である。デジタルカメラ100及び携帯電話200は、外部AP300が定期的に送信するビーコン信号を検知し、外部AP300が形成する無線LANネットワークに参加する。デジタルカメラ100と携帯電話200は同じ無線LANネットワークに参加した後、互いの機器発見、機器の能力取得などを経て無線LANによるデータの送受信が可能な状態となる(機器間の接続を確立する)。   FIG. 3A shows a first data communication mode 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 participating in the same wireless LAN network, the digital camera 100 and the mobile phone 200 are ready to transmit and receive data via the wireless LAN through mutual device discovery, device capability acquisition, etc. (establish connection 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とが直接接続する第2のデータ通信形態である。この場合は、デジタルカメラ100が簡易APとして動作して無線LANネットワークを形成する。デジタルカメラ100は簡易APとして動作すると、ビーコン信号の定期的な送信を開始する。携帯電話200はビーコン信号を検知し、デジタルカメラ100が形成した無線LANネットワークに参加する。そして図3(a)の場合と同様、互いの機器発見、機器の能力取得などを経て接続を確立し、データの送受信が可能な状態となる。   FIG. 3B illustrates a second data communication mode 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, a connection 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 data communication modes. In this embodiment, an example in which appropriate control is performed according to these data communication modes will be described.

<接続履歴のデータ構造>
次に、図4を参照して、本実施形態のデジタルカメラ100が保持するデータベースについて説明する。
<Data structure of connection history>
Next, a database held by the digital camera 100 of this embodiment will be described with reference to FIG.

デジタルカメラ100が相手機器と接続する場合、まずネットワークに参加し(ここでは自機が簡易APとしてネットワークを形成する場合も含む)、その後相手機器との接続を確立する。本実施形態では、ネットワークの情報と接続する相手機器の情報とを別のデータベースで管理する。本実施形態におけるデジタルカメラ100が保持するデータベースには、接続機器情報410と、ネットワーク参加パラメータ420と、ネットワーク形成パラメータ430が記録されている。   When the digital camera 100 connects to a partner device, it first joins the network (including the case where the device itself forms a network as a simple AP), and then establishes a connection with the partner device. In the present embodiment, the network information and the information of the partner device to be connected are managed in separate databases. In the database held by the digital camera 100 in the present embodiment, the connected device information 410, the network participation parameter 420, and the network formation parameter 430 are recorded.

接続機器情報410は、デジタルカメラ100がネットワークを介して接続したことのある相手機器を管理するための情報である。なお、接続機器情報410は、第1の記憶手段により記憶される履歴情報の一例である。接続機器情報410には、個々の接続機器情報に付与される「接続機器情報番号」と、「接続順」、「機器種別」、「登録名」、「UUID」、「閲覧許可設定」、「ネットワーク生成パラメータ番号」が記録されている。ここで、「接続順」とはデジタルカメラ100が接続機器情報410に記憶している接続機器に対し、過去に接続した順番であり、番号が大きいほうが最近接続したことを示す。「登録名」はユーザ設定可能な接続機器名であり、ユーザが接続機器を識別できるように自由に変更することができる。なお、「機器種別」、「登録名」、「UUID」などは必ずしも別個の情報でなくてもよく、例えば種別と名称と一意な文字列を連結した1つのIDでこれらの情報を特定できるようにしてもよい。「ネットワーク形成パラメータ番号」は、ネットワーク形成パラメータ430のうち、どのパラメータを用いてネットワークを形成したかを示す。また、接続機器情報410は、N個記憶できるようにしており、それ以上記憶させるためには既に記憶されている接続機器情報410を削除する必要がある。なお、接続機器情報410を、デジタルカメラ100のユーザからの操作により削除してもよいし、N個記憶している状態で新たに記憶しようとした際に、「接続順」を参照して番号が一番小さい接続機器情報410を削除してもよい。   The connected device information 410 is information for managing a partner device to which the digital camera 100 has been connected via a network. The connected device information 410 is an example of history information stored by the first storage unit. The connected device information 410 includes “connected device information number” given to each connected device information, “connection order”, “device type”, “registered name”, “UUID”, “viewing permission setting”, “ "Network generation parameter number" is recorded. Here, the “connection order” is the order in which the digital camera 100 has connected to the connection device stored in the connection device information 410 in the past, and the larger number indicates the most recent connection. “Registered name” is a connected device name that can be set by the user, and can be freely changed so that the user can identify the connected device. Note that “device type”, “registered name”, “UUID”, and the like are not necessarily separate information, and for example, such information can be specified by one ID obtained by concatenating the type, name, and unique character string. It may be. The “network formation parameter number” indicates which parameter of the network formation parameters 430 is used to form the network. Further, N pieces of connected device information 410 can be stored, and in order to store more, it is necessary to delete the already stored connected device information 410. Note that the connected device information 410 may be deleted by an operation from the user of the digital camera 100, or when referring to the “connection order” when N is newly stored in the state of storing N numbers, May be deleted.

ネットワーク参加パラメータ420は、デジタルカメラ100が参加したことのある、外部APなどが形成したネットワークを管理するための情報である。なお、ネットワーク参加パラメータ420は第2の記憶手段により記憶される履歴情報の一例である。ネットワーク参加パラメータ420には、個々のネットワーク参加パラメータに付与される「ネットワーク参加パラメータ番号」、「接続順」、「ESSID」、「認証方式」、「暗号種別」、「暗号鍵」、「チャネル」、「IPアドレス取得方法」、「DNS取得方法」が記憶されている。ここで、「接続順」とはデジタルカメラ100がネットワーク参加パラメータ420に記憶している無線ネットワークに対し、過去に参加した順番であり、番号が大きいほうが最近参加したことを示す。また、ネットワーク参加パラメータ420は、M個記憶できるようにしており、それ以上記憶させるためには既に記憶されているネットワーク参加パラメータ420を削除する必要がある。なお、ネットワーク参加パラメータ420を、デジタルカメラ100のユーザからの操作により削除してもよい。もしくは、M個記憶している状態で新たに記憶しようとした際に、「接続順」を参照して番号が一番小さいネットワーク参加パラメータ420を削除してもよい。なお、自機が簡易APとしてネットワークを形成した場合、その情報はネットワーク参加パラメータ820とは識別可能な情報として、以下に説明するネットワーク形成パラメータ430で管理される。   The network participation parameter 420 is information for managing a network formed by an external AP or the like to which the digital camera 100 has participated. The network participation parameter 420 is an example of history information stored by the second storage unit. The network participation parameter 420 includes “network participation parameter number”, “connection order”, “ESSID”, “authentication method”, “encryption type”, “encryption key”, “channel” assigned to each network participation parameter. , “IP address acquisition method” and “DNS acquisition method” are stored. Here, “connection order” is the order in which the digital camera 100 has joined the wireless network stored in the network participation parameter 420 in the past, and the larger number indicates the more recent participation. Further, M network participation parameters 420 can be stored, and in order to store more, it is necessary to delete the already stored network participation parameters 420. Note that the network participation parameter 420 may be deleted by an operation from the user of the digital camera 100. Or, when trying to store a new memory with M stored, the network participation parameter 420 having the smallest number may be deleted with reference to “connection order”. When the own apparatus forms a network as a simple AP, the information is managed by a network formation parameter 430 described below as information that can be distinguished from the network participation parameter 820.

ネットワーク形成パラメータ430は、デジタルカメラ100が簡易APとして形成したネットワークの情報を管理するものである。ネットワーク形成パラメータ430には、個々のネットワーク形成パラメータに付与される「ネットワーク生成パラメータ番号」と、「ESSID」、「暗号鍵」が記憶されている。ネットワーク形成パラメータ430に認証方式、暗号種別、チャネル、IPアドレス取得方法、DNS取得方法などを記憶してもよいが、デジタルカメラ100が生成するネットワークの全てに共通の項目は必ずしも記憶しなくともよい。また、ネットワーク形成パラメータ430は、接続機器情報410と同数のN個記憶できるようにしている。接続機器情報410が削除された場合、関連付けられているネットワーク形成パラメータ430を消すことにより、ネットワーク形成パラメータ430がN個より多く記憶することがなくなる。   The network formation parameter 430 manages network information formed by the digital camera 100 as a simple AP. The network formation parameter 430 stores “network generation parameter number”, “ESSID”, and “encryption key” assigned to each network formation parameter. An authentication method, encryption type, channel, IP address acquisition method, DNS acquisition method, and the like may be stored in the network formation parameter 430, but items common to all networks generated by the digital camera 100 need not necessarily be stored. . Further, the network formation parameters 430 can be stored in the same number N as the connected device information 410. When the connected device information 410 is deleted, deleting the associated network formation parameter 430 eliminates the storage of more than N network formation parameters 430.

デジタルカメラ100が保持するデータベースは、制御部101が不揮発性メモリ103から作業用メモリ104に展開して使用されてもよい。以降の説明ではデジタルカメラ100が保持するデータベースは作業用メモリ104に展開されているものとして説明する。   The database held by the digital camera 100 may be used by the control unit 101 expanding from the nonvolatile memory 103 to the work memory 104. In the following description, it is assumed that the database held by the digital camera 100 is expanded in the work memory 104.

<機器登録処理>
次に、図5Aから図5Cを参照して、本実施形態のデジタルカメラ100が携帯電話200を含む通信装置と初めて通信を行う場合のデジタルカメラ100での処理について説明する。なお、以下に説明する処理は、デジタルカメラ100の制御部101が入力信号やプログラムにしたがい、デジタルカメラ100の各部を制御することにより実現される。なお、特に言及しない限り、デジタルカメラ100の処理を示す他のフローチャートでも同様である。本処理は、デジタルカメラ100のユーザがメニュー操作などで他装置との接続を指示したことに応じて開始される。
<Device registration process>
Next, with reference to FIG. 5A to FIG. 5C, processing in the digital camera 100 when the digital camera 100 of the present embodiment first communicates with a communication device including the mobile phone 200 will be described. Note that the processing described below 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 processing of the digital camera 100 unless otherwise specified. This processing is started in response to a user of the digital camera 100 instructing connection with another device through a menu operation or the like.

図6(a)に、接続機器と接続を開始する際に表示部106に表示されるUI画面を例示する。デジタルカメラ100のユーザは、接続機器の機器種別としてカメラ601、携帯電話602、PC603、プリンタ604、Webサービス605などを選択する。またMENU606が選択された場合、1つ前の画面に戻る。本実施形態では携帯電話602が選択された場合について説明する。   FIG. 6A illustrates a UI screen displayed on the display unit 106 when connection with a connected device is started. The user of the digital camera 100 selects the camera 601, the mobile phone 602, the PC 603, the printer 604, the Web service 605, etc. as the device type of the connected device. When MENU 606 is selected, the screen returns to the previous screen. In this embodiment, a case where the mobile phone 602 is selected will be described.

図6(b)に、デジタルカメラ100のユーザにより接続する機器種別が選択された場合、機器登録処理、もしくは2回目以降接続処理を選択する際に表示部106に表示されるUI画面を例示する。デジタルカメラ100のユーザは、接続先の機器の登録607を選択し、その機器種別の接続機器を登録するか、既に登録済みの接続機器である608、609を選択し、2回目以降接続処理を行う。   FIG. 6B illustrates a UI screen displayed on the display unit 106 when the device type to be connected is selected by the user of the digital camera 100 and the device registration process or the second and subsequent connection processes are selected. . The user of the digital camera 100 selects the connection destination device registration 607 and registers the connection device of that device type, or selects the connection devices 608 and 609 that have already been registered, and performs connection processing for the second and subsequent times. Do.

まず、図5Aを参照して、「接続先の機器の登録」が選択された場合の機器登録処理(ネットワーク参加/形成)を行う際のデジタルカメラ100の処理について説明する。   First, with reference to FIG. 5A, a description will be given of processing of the digital camera 100 when performing device registration processing (network participation / formation) when “register destination device” is selected.

図5Aにおいて、ステップS501では、制御部101は、ネットワーク参加パラメータ420が記憶されているかを判定する。ネットワーク参加パラメータ420が記憶されていると判定した場合、制御部101は処理をステップS502に進め、無線ネットワークに参加するためにAPの検索処理を行う。また、ネットワーク参加パラメータ420が記憶されていないと判定した場合、制御部101は処理をステップS504に進め、無線ネットワークの形成処理を行う。   5A, in step S501, the control unit 101 determines whether the network participation parameter 420 is stored. If it is determined that the network participation parameter 420 is stored, the control unit 101 advances the process to step S502, and performs an AP search process to participate in the wireless network. If it is determined that the network participation parameter 420 is not stored, the control unit 101 advances the process to step S504 to perform a wireless network formation process.

ステップS502では、制御部101は、接続部111を制御することにより、周囲に存在するAPを検索する。図6(c)に、APの検索中に表示部106に表示される画面を例示する。   In step S <b> 502, the control unit 101 searches for APs existing around by controlling the connection unit 111. FIG. 6C illustrates a screen displayed on the display unit 106 during the AP search.

ステップS503では、制御部101は、ネットワーク参加パラメータ420に記憶されているAP、すなわち登録済APが、ステップS502のAP検索で発見されたかを判定する。AP検索で発見されたと判定した場合、制御部101は処理をステップS506に進める。AP検索で発見していないと判定された場合、制御部101は処理をステップS504に進め、自機の簡易APによる無線ネットワークの形成処理を行う。なお、本実施形態では、ネットワーク参加パラメータ420に記憶されているAPが、ステップS502のAP検索で発見されたか否かをESSIDの比較により判定しているが、BSSIDなど他の識別子を用いて判定してもよい。   In step S503, the control unit 101 determines whether an AP stored in the network participation parameter 420, that is, a registered AP has been found by the AP search in step S502. When it determines with having been found by AP search, the control part 101 advances a process to step S506. If it is determined that the application has not been found by the AP search, the control unit 101 advances the process to step S504, and performs a wireless network formation process using the own simple AP. In the present embodiment, whether or not the AP stored in the network participation parameter 420 is found by comparison of ESSIDs is determined by the AP search in step S502, but is determined using another identifier such as BSSID. May be.

また、ステップS501においてネットワーク参加パラメータ420が記憶されていない場合、処理をステップS504に進めるのは、ステップS502でAP検索を行っても、ステップS503で登録済みAPを見つけることができないからである。そのため、ステップS502の検索処理を省略して、接続を確立するまでの時間を短縮させることを意図している。また、別の意図として、ネットワーク参加パラメータ420が記憶されていない場合は、ネットワークに参加しようとすると、ネットワークの選択や、参加するためにはパラメータの入力などが必要となり、デジタルカメラ100の操作が煩雑になる。このため、パラメータ入力する手間が少ない簡易APによるネットワーク形成のほうを優先して行うことにしている。   If the network participation parameter 420 is not stored in step S501, the process proceeds to step S504 because the registered AP cannot be found in step S503 even if the AP search is performed in step S502. Therefore, it is intended to shorten the time until the connection is established by omitting the search process in step S502. Further, as another intention, when the network participation parameter 420 is not stored, when attempting to join the network, it is necessary to select the network or input parameters in order to participate, and the operation of the digital camera 100 can be performed. It becomes complicated. For this reason, priority is given to network formation by a simple AP that requires less time to input parameters.

ステップS504では、制御部101は無線LANネットワークを形成するために必要なESSID、認証方式、暗号種別、暗号鍵、チャネルを生成する。本実施形態におけるデジタルカメラ100は、新規登録処理の場合、ESSID、暗号鍵、認証方式、暗号種別、チャネルのうち、少なくとも1つは毎回異なるものを生成する。本実施形態では、ESSID、暗号鍵は毎回異なるものを生成する。なお本実施形態では、ステップS504のタイミングでは、制御部101は生成したネットワーク情報のネットワーク形成パラメータ430への登録は行わない。ネットワーク形成パラメータ430への登録は、後述する接続機器との接続が確立した時点で記憶する。   In step S504, the control unit 101 generates an ESSID, an authentication method, an encryption type, an encryption key, and a channel necessary for forming a wireless LAN network. In the case of a new registration process, the digital camera 100 according to the present embodiment generates a different one at least one of ESSID, encryption key, authentication method, encryption type, and channel each time. In this embodiment, different ESSIDs and encryption keys are generated each time. In this embodiment, at the timing of step S504, the control unit 101 does not register the generated network information in the network formation parameter 430. The registration to the network formation parameter 430 is stored at the time when connection with a connection device to be described later is established.

ステップS505では、制御部101は、ステップS504において生成したネットワークパラメータを用いて、無線LANネットワークを形成する。また制御部101は、外部装置がネットワークに参加するために必要な情報として、少なくともESSIDおよび暗号鍵を表示部106に表示する。図6(d)に接続待機中に表示部106に表示される画面を例示する。図6(d)の画面では、ダイアログ610に示されるように、ESSIDは「CAMERA−123」、暗号鍵は「12345678」に決定されている。外部装置のユーザはこの表示を確認することで、容易にデジタルカメラ100が形成したネットーワークに参加することができる。さらにステップS505では、他機器との通信を可能にするため、IPアドレスの割り当て、サブネットの設定を行い、制御部101は処理をステップS521に進める。   In step S505, the control unit 101 forms a wireless LAN network using the network parameters generated in step S504. The control unit 101 displays at least the ESSID and the encryption key on the display unit 106 as information necessary for the external device to participate in the network. FIG. 6D illustrates a screen displayed on the display unit 106 while waiting for connection. In the screen of FIG. 6D, as shown in the dialog 610, the ESSID is determined to be “CAMERA-123” and the encryption key is “12345678”. The user of the external apparatus can easily participate in the network formed by the digital camera 100 by confirming this display. In step S505, in order to enable communication with other devices, IP address assignment and subnet setting are performed, and the control unit 101 advances the process to step S521.

次に、ステップS503からステップS506に進んだ場合について説明する。ステップS506では、制御部101は、ネットワーク参加パラメータ420に記憶されているAPが、ステップS502のAP検索で複数発見されたかを判定する。AP検索で複数発見されたと判定した場合、制御部101は処理をステップS508に進める。AP検索で複数発見していないと判定された場合、制御部101は処理をステップS507に進める。   Next, a case where the process proceeds from step S503 to step S506 will be described. In step S506, the control unit 101 determines whether a plurality of APs stored in the network participation parameter 420 have been found by the AP search in step S502. If it is determined that a plurality of AP searches have been found, the control unit 101 advances the process to step S508. If it is determined that a plurality of AP searches have not been found, the control unit 101 advances the process to step S507.

ステップS507では、制御部101は、ステップS502のAP検索で発見されたAPの中から、ネットワーク参加パラメータ420に記憶されているAPを選択し、処理をステップS509に進める。   In step S507, the control unit 101 selects an AP stored in the network participation parameter 420 from the APs discovered by the AP search in step S502, and the process proceeds to step S509.

ステップS508では、制御部101は、ステップS502のAP検索で発見されたAPの中から、ネットワーク参加パラメータ420に記憶されているAPで、最近参加したAPを選択し、処理をステップS509に進める。制御部101はネットワーク参加パラメータ420の「接続順」情報を参照し、その中から値が一番大きいものを選択することで、直近に参加したAPを選択することができる。例えば、図4のネットワーク参加パラメータ420が記憶されている状態で、ステップS502のAP検索においてNETWORK−100、NETWORK−101、NETWORK−102という3つのAPが検索されたとする。この場合、ネットワーク参加パラメータ420に記憶されているのは、421に記憶されているNETWORK−100と、422に記憶されているNETWORK−101である。また、それらに対応するネットワーク参加パラメータ420の「接続順」は、NETWORK−100が「6」、NETWORK−101が「2」なので、値が大きいNETWORK−100(421)が最近参加したAPとして選択される。   In step S508, the control unit 101 selects a recently joined AP from the APs discovered in the AP search in step S502, among APs stored in the network participation parameter 420, and the process proceeds to step S509. The control unit 101 refers to the “connection order” information of the network participation parameter 420 and can select the AP that has participated most recently by selecting the one with the largest value. For example, it is assumed that three APs NETWORK-100, NETWORK-101, and NETWORK-102 are searched in the AP search in step S502 in a state where the network participation parameter 420 of FIG. 4 is stored. In this case, the NETWORK-100 stored in 421 and the NETWORK-101 stored in 422 are stored in the network participation parameter 420. Also, the “connection order” of the network participation parameter 420 corresponding thereto is “6” for NETWORK-100 and “2” for NETWORK-101, so NETWORK-100 (421) having a large value is selected as the AP that recently joined. Is done.

ステップS509では、制御部101は、ネットワーク参加パラメータ420を参照して、ステップS507もしくは、ステップS508で選択されたAPの無線LANネットワークに参加する。図6(e)に、無線LANネットワーク参加処理中に表示部106に表示される画面を例示する。   In step S509, the control unit 101 refers to the network participation parameter 420 and participates in the wireless LAN network of the AP selected in step S507 or step S508. FIG. 6E illustrates a screen displayed on the display unit 106 during the wireless LAN network participation process.

ステップS510では、制御部101は無線LANネットワークへの接続に成功したかを判定する。接続に成功したと判定した場合、制御部101は処理をステップS511に進める。接続に失敗したと判定した場合は、制御部101は処理をステップS513に進め、エラー表示を行う。   In step S510, the control unit 101 determines whether the connection to the wireless LAN network has succeeded. If it is determined that the connection is successful, the control unit 101 advances the process to step S511. If it is determined that the connection has failed, the control unit 101 advances the process to step S513 to display an error.

ステップS511では、制御部101は、ネットワーク参加パラメータ420のIPアドレス取得方法、DNS取得方法を参照して、IPアドレスの割り当て、サブネットの設定を行い、処理をステップS512に進める。   In step S511, the control unit 101 refers to the IP address acquisition method and DNS acquisition method of the network participation parameter 420, assigns an IP address, sets a subnet, and advances the process to step S512.

ステップS512では、制御部101はIPアドレスの割り当てが成功したかを判定する。IPアドレスの割り当てに成功したと判定した場合は、制御部101は処理をステップS521に進め、機器検索処理を実行する。IPアドレスの割り当てに失敗したと判定した場合は、制御部101は処理をステップS513に進め、エラー表示を行う。   In step S512, the control unit 101 determines whether the IP address assignment has been successful. If it is determined that the IP address assignment has been successful, the control unit 101 advances the process to step S521 to execute a device search process. If it is determined that the IP address allocation has failed, the control unit 101 advances the process to step S513 to display an error.

ステップS513では、制御部101は無線LANネットワークへの接続に失敗した、もしくは、IPアドレスの割り当てに失敗した旨を表示部106に表示する。また、デジタルカメラ100のユーザにより、エラー内容を確認した旨の通知がなされた場合、制御部101は処理をステップS541に進める。ここまでが、デジタルカメラ100がネットワークに参加する際の処理である。   In step S513, the control unit 101 displays on the display unit 106 that the connection to the wireless LAN network has failed or the IP address allocation has failed. If the user of the digital camera 100 notifies that the error content has been confirmed, the control unit 101 advances the process to step S541. This is the process when the digital camera 100 joins the network.

次に、図5Bを参照して、機器登録処理(接続機器との接続)を行う際のデジタルカメラ100の処理について説明する。   Next, with reference to FIG. 5B, processing of the digital camera 100 when performing device registration processing (connection with a connected device) will be described.

図5Bにおいて、ステップS521では、制御部101は、同一ネットワーク内の接続可能な機器を検索する。制御部101は、SSDP(Simple Service Discovery Protocol)やmDNS(Multicast Domain Name Service)等を用いて検索を行い、携帯電話200の通知するサービスを検出する。なお、本実施形態ではここで携帯電話200側でもユーザは所定の操作を行い、携帯電話200がデジタルカメラ100により検索可能な状態に移行させる。本実施形態では、所定の通信アプリケーションを起動させることで、携帯電話200がデジタルカメラ100により検索可能な状態に移行する。図6(d)、(f)に、機器検索中に表示部106に表示される画面を例示する。図6(d)はデジタルカメラ100の簡易AP機能を用いて無線LANネットワークを形成した場合の画面例である。制御部101は610のように、形成した無線ネットワークのSSIDと暗号化キー、さらに携帯電話200のアプリケーションを起動することをユーザに促すメッセージを表示部106へ表示する。図6(f)は外部APの形成する無線LANネットワークに参加した場合の画面例であり、図6(e)から遷移する。制御部101は携帯電話200のアプリケーションを起動することをユーザに促すメッセージを表示部106へ表示する。これによりユーザが携帯電話200のアプリケーションを起動すると、携帯電話200は接続ネットワークに対してサービス通知を行うので、デジタルカメラ100は携帯電話200を検索することが可能となる。   In FIG. 5B, in step S521, the control unit 101 searches for connectable devices in the same network. The control unit 101 performs a search using SSDP (Simple Service Discovery Protocol), mDNS (Multicast Domain Name Service), and the like, and detects a service notified by the mobile phone 200. In this embodiment, the user also performs a predetermined operation on the mobile phone 200 side to shift the mobile phone 200 to a state where the digital camera 100 can search. In the present embodiment, the mobile phone 200 shifts to a state where the digital camera 100 can search by activating a predetermined communication application. 6D and 6F illustrate screens displayed on the display unit 106 during device search. FIG. 6D is a screen example when a wireless LAN network is formed using the simple AP function of the digital camera 100. The control unit 101 displays a message prompting the user to activate the SSID and encryption key of the formed wireless network and the application of the mobile phone 200 on the display unit 106, as in 610. FIG. 6F shows an example of a screen when participating in a wireless LAN network formed by an external AP, and transitions from FIG. The control unit 101 displays a message prompting the user to start the application of the mobile phone 200 on the display unit 106. Thus, when the user activates the application of the mobile phone 200, the mobile phone 200 issues a service notification to the connection network, so that the digital camera 100 can search for the mobile phone 200.

ステップS522では、制御部101は接続可能な機器を発見したかを判定する。接続可能な機器を発見したと判定された場合、制御部101は処理をステップS524に進め、発見した機器一覧を表示する。接続可能な機器を発見していないと判定された場合、制御部101は処理をステップS523に進める。   In step S522, the control unit 101 determines whether a connectable device has been found. If it is determined that a connectable device has been found, the control unit 101 advances the process to step S524 to display a list of found devices. If it is determined that no connectable device has been found, the control unit 101 advances the process to step S523.

ステップS523では、制御部101は、デジタルカメラ100のユーザから無線ネットワーク変更の指示があるかを判定する。無線ネットワーク変更の指示があると判定した場合、制御部101は、現在形成している無線LANネットワークを消滅もしくは、現在参加しているネットワークから離脱し、処理をステップS541に進める。無線ネットワーク変更の指示がないと判定した場合、制御部101は処理をステップS521に進める。例えば、無線LANネットワークを形成した場合の画面例である図6(d)では、ネットワーク変更612が選択された場合、無線ネットワーク変更の指示があると判定し、現在形成している無線LANネットワークを消滅させ、処理をステップS541に進める。また、無線LANネットワークに参加した場合の画面例である図6(f)では、ネットワーク変更614が選択された場合、無線ネットワーク変更の指示があると判定し、現在参加している無線LANネットワークから離脱し、処理をステップS541に進める。また、無線LANネットワーク参加処理中に表示する画面例である図6(e)における、ネットワーク変更613を選択された場合も、無線LANネットワークの参加処理を中断し、処理をステップS541に進める。   In step S523, the control unit 101 determines whether there is an instruction to change the wireless network from the user of the digital camera 100. If it is determined that there is an instruction to change the wireless network, the control unit 101 eliminates the currently formed wireless LAN network or leaves the currently participating network, and the process proceeds to step S541. If it is determined that there is no instruction to change the wireless network, the control unit 101 advances the process to step S521. For example, in FIG. 6D, which is an example of a screen when a wireless LAN network is formed, when the network change 612 is selected, it is determined that there is an instruction to change the wireless network, and the currently formed wireless LAN network is displayed. The process proceeds to step S541. Further, in FIG. 6F, which is an example of a screen when participating in a wireless LAN network, when the network change 614 is selected, it is determined that there is an instruction to change the wireless network, and the wireless LAN network currently participating is used. The process leaves and the process proceeds to step S541. Also, when the network change 613 in FIG. 6E, which is an example of a screen displayed during the wireless LAN network participation process, is selected, the wireless LAN network participation process is interrupted, and the process proceeds to step S541.

ステップS524では、制御部101はサービスの通知に含まれるデバイス名を表示部106にリスト表示する。図6(g)に、接続可能な機器のリストとして、表示部106に表示される画面を例示する。図6(g)では、接続可能な機器として「mobilePhone1」が検出されている。また、本ステップでサービスの通知に含まれるUUIDとデバイス名とを関連付けて作業用メモリ104に保存する。   In step S524, the control unit 101 displays a list of device names included in the service notification on the display unit 106. FIG. 6G illustrates a screen displayed on the display unit 106 as a list of connectable devices. In FIG. 6G, “mobilePhone1” is detected as a connectable device. In this step, the UUID and the device name included in the service notification are associated with each other and stored in the work memory 104.

なお、本実施形態ではサービスの通知にデバイス名とUUIDが含まれる構成としたが、サービスの通知を受信したデジタルカメラ100が、デバイス名及びUUIDを携帯電話200に問い合わせる構成としてもよい。また、サービスの通知に含まれるUUIDの接続機器が既に接続機器情報410に記憶されている場合、表示部106に表示されるサービスの通知に含まれるデバイス名の代わりに、接続機器情報410に記憶されている登録名を表示してもよい。   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. In addition, when the connected device with the UUID included in the service notification is already stored in the connected device information 410, the device is stored in the connected device information 410 instead of the device name included in the service notification displayed on the display unit 106. The registered name may be displayed.

ステップS525では、制御部101はデジタルカメラ100のユーザにより、ステップS524でリスト表示されたデバイス名のうちいずれかを選択させる。ステップS524でリスト表示された画面例である図6(g)では、接続可能な機器615を選択することが可能である。また、本ステップ中にも接続機器検索を継続し、新たに接続可能な機器を検出した場合、制御部101はサービスの通知に含まれるデバイス名を表示部106にリスト表示する。   In step S525, the control unit 101 causes the user of the digital camera 100 to select one of the device names listed in step S524. In FIG. 6G, which is a screen example displayed as a list in step S524, a connectable device 615 can be selected. In addition, when the connected device search is continued during this step and a newly connectable device is detected, the control unit 101 displays a list of device names included in the service notification on the display unit 106.

ステップS526では、制御部101は、ステップS525で選択された機器のUUIDを用いて携帯電話200に接続要求を送信し、選択された機器との接続を確立するための処理を開始し、処理をステップS527に進める。なお、本実施形態では接続機器のUUIDを用いて接続を実行するが、UUIDからIPアドレスやポート番号を特定して接続してもよい。また、検索を行う時点でIPアドレスを入手してもよい。図6(h)に、接続要求先の機器として、表示部106に表示される画面を例示する。図6(h)の画面では「mobilePhone1」に接続要求を送信している。   In step S526, the control unit 101 transmits a connection request to the mobile phone 200 using the UUID of the device selected in step S525, starts processing for establishing a connection with the selected device, and performs processing. The process proceeds to step S527. In this embodiment, the connection is performed using the UUID of the connected device, but the connection may be performed by specifying the IP address or the port number from the UUID. Further, the IP address may be obtained at the time of performing the search. FIG. 6H illustrates a screen displayed on the display unit 106 as the connection request destination device. In the screen of FIG. 6H, a connection request is transmitted to “mobilePhone1”.

ステップS527では、制御部101は選択された機器との接続を確立することに成功したかを判定する。接続を確立できたと判定した場合、制御部101は処理をステップS528に進める。接続を確立できなかったと判定した場合、制御部101は表示部106にエラー表示し、機器登録処理を終了する。図6(i)に、接続が確立したときに、表示部106に表示される画面を例示する。図6(i)の画面には、切断ボタン616、リサイズ選択ボタン617、画像送信ボタン618などが表示されており、切断ボタン616が選択された場合、接続が確立している機器との接続を切断する。リサイズ選択ボタン617を選択された場合、リサイズの設定を変更可能であり、「リサイズなし」や「Mサイズ」、「Sサイズ」などに変更可能である。画像送信ボタン618が選択された場合、接続が確立している機器へ、リサイズの設定で選択されているサイズにリサイズを行い、画像を送信する。   In step S527, the control unit 101 determines whether the connection with the selected device has been successfully established. If it is determined that the connection has been established, the control unit 101 advances the process to step S528. If it is determined that the connection could not be established, the control unit 101 displays an error on the display unit 106 and ends the device registration process. FIG. 6I illustrates a screen displayed on the display unit 106 when a connection is established. In the screen of FIG. 6 (i), a disconnect button 616, a resize selection button 617, an image transmission button 618, and the like are displayed. When the disconnect button 616 is selected, a connection with an established device is established. Disconnect. When the resize selection button 617 is selected, the resize setting can be changed, and can be changed to “no resize”, “M size”, “S size”, or the like. When the image transmission button 618 is selected, the image is resized to the size selected in the resize setting and transmitted to the connected device.

ステップS528では、制御部101は現在接続している無線LANネットワークが、デジタルカメラ100が自らの簡易AP機能により形成したネットワークであるかを判定する。デジタルカメラ100が自ら形成したネットワークであると判定した場合、制御部101は処理をステップS529に進める。   In step S528, the control unit 101 determines whether the currently connected wireless LAN network is a network formed by the digital camera 100 using its simple AP function. When it is determined that the digital camera 100 is a network formed by itself, the control unit 101 advances the process to step S529.

デジタルカメラ100が自ら形成したネットワークでないと判定した場合、制御部101は処理をステップS530に進める。   If it is determined that the digital camera 100 is not a network formed by itself, the control unit 101 advances the process to step S530.

ステップS529では、制御部101はデジタルカメラ100が自ら形成したネットワークのパラメータを、ネットワーク形成パラメータ430に記憶する。例えば、ネットワーク形成パラメータに何も記憶されていない状態で、デジタルカメラ100が形成したネットワークのESSIDが「CAMERA−123」、暗号鍵が「12345678」の場合、図4のネットワーク形成パラメータ431のようになる。   In step S529, the control unit 101 stores the network parameters formed by the digital camera 100 in the network formation parameters 430. For example, when nothing is stored in the network formation parameter and the ESSID of the network formed by the digital camera 100 is “CAMERA-123” and the encryption key is “12345678”, the network formation parameter 431 in FIG. Become.

なお、デジタルカメラ100が自ら形成したネットワークであると判定した場合のみ、ネットワークパラメータを記憶する意図は以下の通りである。すなわち、ネットワーク形成パラメータは接続機器と1対1に関連付けて記憶することにより、後述する2回目以降の接続で利用可能になるパラメータである。したがって、ネットワークを形成してすぐにパラメータを記憶するのではなく、関連付ける接続機器が決定してから記憶することとしている。また、デジタルカメラ100が自ら形成したネットワークでないと判定した場合に、ネットワークパラメータを記憶していないのは、後述するネットワーク変更処理の際に記憶するためである。   Only when it is determined that the digital camera 100 is a network formed by itself, the intention of storing the network parameters is as follows. That is, the network formation parameter is a parameter that can be used for the second and subsequent connections described later by storing the connection parameters in a one-to-one relationship with the connected device. Therefore, the parameters are not stored immediately after the network is formed, but are stored after the connected device to be associated is determined. In addition, when it is determined that the network is not a network formed by the digital camera 100, the network parameter is not stored because it is stored at the time of a network change process described later.

ステップS530では、制御部101は接続機器の情報を接続機器情報410に記憶する。例えば、接続機器情報の情報番号2と3が既に登録されている状態で、接続が確立した機器が「mobilePhone1」の場合、接続機器情報は図4の接続機器情報番号1の列(411)のようになる。このとき、接続機器情報番号は、既に記憶されている接続機器情報と排他された番号である必要がある。接続順は、既に記憶されている接続機器情報の接続順よりも大きい値になるように設定する必要がある。UUIDは、ステップS524で作業用メモリに保存したUUIDを記憶してもよいし、携帯電話200に問い合わせる構成としてもよい。閲覧許可は、デジタルカメラ100のユーザに選択させて保存してもよいし、デフォルトとして許可、もしくは不許可を保存して、後から変更できる構成にしてもよい。ネットワーク形成パラメータ番号は、ステップS528でデジタルカメラ100が自ら形成したネットワークであると判定した場合、ステップS529で保存したネットワーク形成パラメータ番号を保存する。ステップS528でデジタルカメラ100が自ら形成したネットワークでないと判定した場合、何も保存しない。   In step S530, the control unit 101 stores information on the connected device in the connected device information 410. For example, in the state where the information numbers 2 and 3 of the connected device information are already registered and the connected device is “mobilePhone1”, the connected device information is the column (411) of the connected device information number 1 in FIG. It becomes like this. At this time, the connected device information number needs to be a number exclusive to the already stored stored device information. The connection order needs to be set to a value larger than the connection order of the already-stored connected device information. As the UUID, the UUID saved in the work memory in step S524 may be stored, or the mobile phone 200 may be inquired. The browsing permission may be selected and saved by the user of the digital camera 100, or may be configured so that it can be changed later by saving permission or non-permission as a default. If it is determined that the network formation parameter number is a network formed by the digital camera 100 in step S528, the network formation parameter number saved in step S529 is saved. If it is determined in step S528 that the digital camera 100 is not a network formed by itself, nothing is stored.

次に、図5Cを参照して、機器登録処理(ネットワーク変更)を行う際のデジタルカメラ100の処理について説明する。   Next, with reference to FIG. 5C, processing of the digital camera 100 when performing device registration processing (network change) will be described.

図5Cにおいて、ステップS541では、制御部101は周囲に存在するAPを検索し、処理をステップS542に進める。   In FIG. 5C, in step S541, the control unit 101 searches for nearby APs, and advances the process to step S542.

ステップS542では、制御部101は、ステップS541でスキャンした結果検出されたビーコン信号に含まれるESSIDの一覧を表示部106に表示する。図6(j)に、AP検索結果として、表示部106に表示される画面を例示する。図6(j)の画面では、「NETWORK−100」及び「NETWORK−102」というESSIDが検出されている。また、更新619が選択された場合は、再度周囲に存在するAPを検索し、図6(j)と同様の画面を表示する。また、本実施形態では、周囲に存在するAPを2つしか表示していないが、複数見つかった場合は、画面をスクロールさせることにより、周囲に存在するAPを複数表示してもよい。このとき、ネットワーク参加パラメータ420の「接続順」を参照し、過去に参加したことのあるAPを最近参加した順番に上位にソートしてもよい。また、電波強度の強いものから上位にソートしてもよい。   In step S542, the control unit 101 displays a list of ESSIDs included in the beacon signal detected as a result of scanning in step S541 on the display unit 106. FIG. 6J illustrates a screen displayed on the display unit 106 as an AP search result. In the screen of FIG. 6 (j), ESSIDs “NETWORK-100” and “NETWORK-102” are detected. If update 619 is selected, APs existing around are searched again, and the same screen as in FIG. 6J is displayed. Further, in the present embodiment, only two APs existing around are displayed. However, when a plurality of APs are found, a plurality of APs existing around may be displayed by scrolling the screen. At this time, by referring to the “connection order” of the network participation parameter 420, APs that have participated in the past may be sorted higher in the order of recent participation. Moreover, you may sort into a high rank from the thing with strong radio field intensity.

ステップS543では、制御部101は無線LANネットワークに参加するかを判定する。図6(j)では、検出したAP621、622が選択された場合、無線LANネットワークに参加すると判定し、制御部101は処理をステップS546に進め、選択した無線LANネットワークへの参加処理を行う。無線LANネットワークの形成を指示する620が選択された場合、無線LANネットワークに参加しないと判定し、制御部101は処理をS544に進める。   In step S543, the control unit 101 determines whether to participate in the wireless LAN network. In FIG. 6J, when the detected APs 621 and 622 are selected, it is determined to participate in the wireless LAN network, and the control unit 101 advances the process to step S546 to perform the participation process in the selected wireless LAN network. When 620 for instructing formation of a wireless LAN network is selected, it is determined that the wireless LAN network is not joined, and the control unit 101 advances the process to step S544.

ステップS544、S545の処理は、ステップS504、S505と同様の処理であるため、説明を省略する。   Since the processing of steps S544 and S545 is the same as that of steps S504 and S505, the description thereof is omitted.

ステップS546では、制御部101は、ステップS543において選択されたAPの無線LANネットワークに参加し、処理をステップS547に進める。このとき、選択されたAPがネットワーク参加パラメータ420に記憶されているAPであった場合は、暗号鍵などを入力させることなく無線LANネットワークに参加してもよい。もしくは暗号鍵の入力画面の初期値として記憶している暗号鍵を入力してもよい。また、IPアドレス取得方法、DNS取得方法も、選択させず記憶している方法を用いてもよいし、再度デジタルカメラ100のユーザに選択させてもよい。選択されたAPがネットワーク参加パラメータ420に記憶されていないAPであった場合は、必要なパラメータをデジタルカメラ100のユーザに入力させてもよい。IPアドレス取得方法、DNS取得方法も、デジタルカメラ100のユーザに入力させてもよいし、デフォルトとしてAutoとしてもよい。   In step S546, the control unit 101 participates in the wireless LAN network of the AP selected in step S543, and the process proceeds to step S547. At this time, if the selected AP is an AP stored in the network participation parameter 420, it may participate in the wireless LAN network without inputting an encryption key or the like. Alternatively, the encryption key stored as the initial value of the encryption key input screen may be input. As the IP address acquisition method and DNS acquisition method, a method stored without selection may be used, or the user of the digital camera 100 may select again. If the selected AP is an AP that is not stored in the network participation parameter 420, the user of the digital camera 100 may input necessary parameters. The IP address acquisition method and DNS acquisition method may be input by the user of the digital camera 100, or Auto may be used as a default.

ステップS547からS549の処理は、ステップS510からS512と同様の処理であるため、説明を省略する。ステップS547において、無線LANネットワークに接続失敗したと判定した場合は、制御部101は処理をステップS553に進め、表示部106にエラー表示を行う。ステップS549において、IPアドレスの割り当てに成功したと判定した場合は、制御部101は処理をステップS550に進める。IPアドレスの割り当てに失敗したと判定した場合は、制御部101は処理をステップS553に進め、表示部106にエラー表示を行う。   Since the processing from step S547 to S549 is the same as that from step S510 to S512, the description thereof is omitted. If it is determined in step S547 that the connection to the wireless LAN network has failed, the control unit 101 advances the processing to step S553, and displays an error on the display unit 106. If it is determined in step S549 that the IP address assignment has been successful, the control unit 101 advances the process to step S550. If it is determined that the IP address allocation has failed, the control unit 101 advances the processing to step S553 and displays an error on the display unit 106.

ステップS550では、制御部101はネットワーク参加パラメータ420を参照して、現在参加している無線LANネットワークが記憶済みかを判定する。記憶済みと判定した場合、制御部101は処理をS552に進め、ネットワークパラメータの更新を行う。記憶済みでないと判定した場合、制御部101は処理をS551に進め、ネットワークパラメータを新規に記憶する。   In step S550, the control unit 101 refers to the network participation parameter 420 and determines whether the currently participating wireless LAN network has been stored. If it is determined that the data has been stored, the control unit 101 advances the process to S552 and updates the network parameter. If it is determined that it has not been stored, the control unit 101 advances the processing to S551 and newly stores the network parameter.

ステップS551では、制御部101は現在参加している無線LANネットワークのパラメータを、ネットワーク参加パラメータ420に記憶し、処理をステップS521に進める。   In step S551, the control unit 101 stores the parameters of the currently participating wireless LAN network in the network participation parameter 420, and the process proceeds to step S521.

例えば、ステップS542に表示されたAP一覧の中でNETWORK−102というネットワークが選択された場合は、ネットワーク参加パラメータ番号3(423)にESSID「NETWORK−102」と、認証方式、暗号種別、暗号鍵、チャネル、IPアドレス取得方法、DNS取得方法に然るべき値を記憶する。また、接続順は最も大きな値にする必要があるので「7」を記憶する。   For example, when the network NETWORK-102 is selected in the AP list displayed in step S542, the network participation parameter number 3 (423) includes the ESSID “NETWORK-102”, the authentication method, the encryption type, and the encryption key. , Channel, IP address acquisition method, DNS acquisition method appropriate values are stored. Since the connection order needs to be the largest value, “7” is stored.

ステップS552では、制御部101は現在参加している無線LANネットワークのパラメータを用いて、ネットワーク参加パラメータ420を更新し、処理をS521に進める。例えば、ステップS542に表示されたAP一覧の中でNETWORK−101というネットワークが選択された場合は、ネットワーク参加パラメータ番号2(422)の接続順を、最も大きな値にする必要があるので「7」に更新する。   In step S552, the control unit 101 updates the network participation parameter 420 using the parameters of the currently participating wireless LAN network, and advances the process to step S521. For example, when the network NETWORK-101 is selected in the AP list displayed in step S542, it is necessary to set the connection order of the network participation parameter number 2 (422) to the largest value, so “7”. Update to

ステップS553の処理は、ステップS513と同様の処理であるため、説明を省略する。ステップS553でエラー表示後、デジタルカメラ100のユーザにより、エラー内容を確認した旨を通知された場合、制御部101は処理をステップS541に進める。   Since the process of step S553 is the same process as step S513, description is abbreviate | omitted. After displaying the error in step S553, if the user of the digital camera 100 is notified that the error content has been confirmed, the control unit 101 advances the process to step S541.

<2回目以降接続>
次に、図7Aから図7Cを参照して、携帯電話200を含む接続機器と2回目以降接続する際のデジタルカメラ100の処理について説明する。
<Connection after the second>
Next, with reference to FIG. 7A to FIG. 7C, processing of the digital camera 100 when connecting to the connection device including the mobile phone 200 for the second time and thereafter will be described.

まず、図7Aを参照して、2回目以降接続処理(ネットワーク参加/形成)を行う際のデジタルカメラ100の処理について説明する。   First, with reference to FIG. 7A, the processing of the digital camera 100 when performing the second and subsequent connection processing (network participation / formation) will be described.

ステップS701では、制御部101はデジタルカメラ100のユーザからの接続機器選択を受け付ける。前述したように、図6(b)の既に登録済みの接続機器である608、609が選択された場合、2回目以降接続処理を行う。ここで、既に登録済みの接続機器は、接続機器情報410に記憶されている機器の一覧を表示する。例えば、機器情報が図4の状態の場合、既に登録済みの接続機器は「mobilePhone1」(411)、「mobilePhone2」(412)、「PC1」(413)である。ここで図6(a)において携帯電話602が選択されているため、既に登録済みの接続機器として、機器種別が携帯電話の「mobilePhone1」(411)、「mobilePhone2」(412)のみを表示する。   In step S <b> 701, the control unit 101 receives a connected device selection from the user of the digital camera 100. As described above, when the devices 608 and 609 that are already registered in FIG. 6B are selected, connection processing is performed for the second and subsequent times. Here, the already registered connected devices display a list of devices stored in the connected device information 410. For example, when the device information is in the state shown in FIG. 4, the already connected devices are “mobilePhone1” (411), “mobilePhone2” (412), and “PC1” (413). Here, since the mobile phone 602 is selected in FIG. 6A, only “mobilePhone1” (411) and “mobilePhone2” (412) whose device type is the mobile phone are displayed as already connected devices.

ステップS702からS704の処理は、図5のステップS501からS503と同様の処理であるため、省略して説明する。   The processing from step S702 to S704 is the same as the processing from step S501 to S503 in FIG.

ステップS702において、制御部101は、ネットワーク参加パラメータ420が記憶されていないと判定した場合は、処理をステップS705に進める。一方、ステップS704に進んだ場合、制御部101は、ネットワーク参加パラメータ420に記憶されているAPが、ステップS703のAP検索で発見されたかを判定し、AP検索で発見されたと判定した場合、処理をステップS709に進める。制御部101は、AP検索で発見されなかったと判定された場合、処理をステップS705に進める。   In step S702, if the control unit 101 determines that the network participation parameter 420 is not stored, the process proceeds to step S705. On the other hand, when the process proceeds to step S704, the control unit 101 determines whether the AP stored in the network participation parameter 420 is found by the AP search in step S703, and when it is determined that the AP is found by the AP search, Advances to step S709. When it is determined that the control unit 101 has not found the AP search, the process proceeds to step S705.

ステップS705では、制御部101は接続機器情報410を参照し、ステップS701で選択した接続機器に関連付いた無線ネットワーク形成履歴があるかを判定する。例えば、接続機器情報410が図4の状態である場合に、ステップS701において「mobilePhone1」(411)が選択されていた場合は、ネットワーク形成パラメータ番号が関連付けられているので、制御部101は処理をS706に進める。一方、ステップS701において「mobilePhone2」(412)が選択されていた場合は、ネットワーク形成パラメータ番号が関連付けられていないので、制御部101は処理をS707に進める。   In step S705, the control unit 101 refers to the connected device information 410, and determines whether there is a wireless network formation history associated with the connected device selected in step S701. For example, when the connected device information 410 is in the state shown in FIG. 4, if “mobilePhone1” (411) is selected in step S701, the network formation parameter number is associated, so the control unit 101 performs processing. The process proceeds to S706. On the other hand, if “mobilePhone2” (412) is selected in step S701, the network formation parameter number is not associated, and the control unit 101 advances the process to step S707.

ステップS706では、制御部101は接続機器情報410を参照し、ステップS701で選択した接続機器に関連付いた無線ネットワーク形成パラメータ番号を特定する。そして、ネットワーク形成パラメータ430を参照し、ネットワーク形成パラメータの読み出しを行い、処理をS708に進める。例えば、接続機器情報410とネットワーク形成パラメータ430が図4の状態である場合、ステップS701において「mobilePhone1」(411)が選択されていた場合は、ネットワーク形成パラメータ番号1(431)が関連付けられている。このため、制御部101はネットワーク形成パラメータ430からネットワーク形成パラメータ番号1(431)を参照し、ESSID「CAMERA−123」、暗号鍵「12345678」を読み出す。   In step S706, the control unit 101 refers to the connected device information 410 and identifies a wireless network formation parameter number associated with the connected device selected in step S701. Then, the network formation parameter 430 is referred to, the network formation parameter is read, and the process proceeds to S708. For example, when the connected device information 410 and the network formation parameter 430 are in the state shown in FIG. 4, if “mobilePhone1” (411) is selected in step S701, the network formation parameter number 1 (431) is associated. . Therefore, the control unit 101 refers to the network formation parameter number 1 (431) from the network formation parameter 430, and reads the ESSID “CAMERA-123” and the encryption key “12345678”.

ステップS707の処理は、図5のステップS504と同様の処理であるため、説明を省略する。ステップS708では、制御部101は、ステップS706において読み出したネットワークパラメータ、もしくは、ステップS707において生成したネットワークパラメータを用いて、無線LANネットワークを形成する。つまり、簡易APとして新しくネットワークを形成し、接続相手に参加させる処理を行う。これ以降の処理は、図5のステップS505と同様の処理であるため、説明を省略する。制御部101は、処理をステップS721に進める。また、ステップS705で無線ネットワーク形成履歴がありと判定された場合、ネットワーク形成パラメータ430を参照して無線LANネットワークを形成する意図は以下の通りである。すなわち、接続機器と2回目以降接続する場合に、デジタルカメラ100が前回と同じネットワークを形成すれば、接続機器側は記憶しているネットワークパラメータを使用して接続処理を行え、ユーザに暗号鍵などを再度入力させる手間を省略できるからである。   The processing in step S707 is the same as that in step S504 in FIG. In step S708, the control unit 101 forms a wireless LAN network using the network parameter read in step S706 or the network parameter generated in step S707. That is, a new network is formed as a simple AP, and a process for participating in a connection partner is performed. The subsequent processes are the same as those in step S505 in FIG. The control unit 101 advances the process to step S721. If it is determined in step S705 that there is a wireless network formation history, the intention to form a wireless LAN network with reference to the network formation parameter 430 is as follows. That is, when the digital camera 100 forms the same network as the previous time when connecting to the connected device for the second time or later, the connected device side can perform connection processing using the stored network parameters, and the user can use an encryption key or the like. This is because it is possible to save the trouble of inputting again.

ステップS709からS716の処理は、図5のステップS506からS513と同様の処理であるため、説明を省略する。ステップS713において、無線LANネットワークに接続失敗したと判定した場合は、制御部101は処理をステップS716に進める。ステップS715において、IPアドレスの割り当てに成功したと判定した場合は、制御部101は処理をステップS721に進める。IPアドレスの割り当てに失敗したと判定した場合は、制御部101は処理をステップS716に進める。ステップS716でエラー表示後、デジタルカメラ100のユーザにより、エラー内容を確認した旨を通知された場合、制御部101は処理をステップS731に進める。   The processing from steps S709 to S716 is the same as the processing from steps S506 to S513 in FIG. If it is determined in step S713 that the connection to the wireless LAN network has failed, the control unit 101 advances the process to step S716. If it is determined in step S715 that the IP address has been successfully allocated, the control unit 101 advances the process to step S721. If it is determined that the IP address assignment has failed, the control unit 101 advances the process to step S716. After the error display in step S716, if the user of the digital camera 100 is notified that the error content has been confirmed, the control unit 101 advances the process to step S731.

次に、図7Bを参照して、接続機器との2回目以降の接続を行う際のデジタルカメラ100の処理について説明する。   Next, with reference to FIG. 7B, processing of the digital camera 100 when performing the second and subsequent connections with the connected device will be described.

図7Bにおいて、ステップS721では、制御部101は、同一ネットワーク内の接続可能な機器から、ステップS701で選択した接続機器の検索を行う。検索方法の処理の詳細は、図5のステップS521と同様の処理であるため、説明を省略する。制御部101は接続機器情報410を参照し、ステップS701で選択した接続機器のUUIDが一致する接続可能な機器を検索する。例えば、接続機器情報410が図4の状態である場合、ステップS701で「mobilePhone1」(411)が選択された場合は、UUIDが「0000−ABCD−EFGH」である接続可能な機器を検索する。図6(d)と図6(f)に、接続可能な機器の検索中に、表示部106に表示される画面を例示する。   In FIG. 7B, in step S721, the control unit 101 searches for the connected device selected in step S701 from connectable devices in the same network. Details of the processing of the search method are the same as those in step S521 in FIG. The control unit 101 refers to the connected device information 410 and searches for connectable devices that match the UUID of the connected device selected in step S701. For example, when the connected device information 410 is in the state of FIG. 4 and “mobilePhone1” (411) is selected in step S701, a connectable device whose UUID is “0000-ABCD-EFGH” is searched. FIG. 6D and FIG. 6F illustrate screens displayed on the display unit 106 while searching for connectable devices.

ステップS722では、制御部101は接続可能な機器から、ステップS701で選択した機器を発見したかを判定する。ステップS701で選択した機器を発見したと判定された場合、制御部101は処理をステップS724に進める。ステップS701で選択した機器を発見していないと判定された場合、制御部101は処理をステップS723に進める。   In step S722, the control unit 101 determines whether the device selected in step S701 is found from connectable devices. When it is determined that the device selected in step S701 has been found, the control unit 101 advances the process to step S724. If it is determined in step S701 that the selected device has not been found, the control unit 101 advances the process to step S723.

ステップS723の処理は、図5のステップS523と同様の処理であるため、説明を省略する。ステップS723において、ネットワーク変更の指示がされたと判定した場合、制御部101は処理をステップS731に進める。ネットワーク変更の指示がされていないと判定した場合、制御部101は処理をステップS721に進める。   The process in step S723 is the same as that in step S523 in FIG. If it is determined in step S723 that a network change instruction has been issued, the control unit 101 advances the process to step S731. If it is determined that the network change instruction has not been given, the control unit 101 advances the process to step S721.

ステップS724では、制御部101はステップS701で選択した機器のUUIDを用いて携帯電話200に接続要求を送信し、選択された機器との接続を確立するための処理を開始する。制御部101は処理をステップS725に進める。接続を確立するための処理の詳細は、図5のステップS526と同様の処理であるため、説明を省略する。図6(h)に、ステップS701で「mobilePhone1」が選択された場合に、表示部106に表示される画面を例示する。   In step S724, the control unit 101 transmits a connection request to the mobile phone 200 using the UUID of the device selected in step S701, and starts processing for establishing a connection with the selected device. The control unit 101 advances the process to step S725. Details of the process for establishing the connection are the same as those in step S526 in FIG. FIG. 6H illustrates a screen displayed on the display unit 106 when “mobilePhone1” is selected in step S701.

ステップS725からS726の処理は、図5のステップS527からS528と同様の処理であるため、説明を省略する。ステップS726において、デジタルカメラ100が自ら形成したネットワークであると判定した場合、制御部101は処理をステップS727に進める。デジタルカメラ100が自ら形成したネットワークでないと判定した場合、制御部101は処理をステップS729に進める。   The processing from steps S725 to S726 is the same as the processing from steps S527 to S528 in FIG. If it is determined in step S726 that the digital camera 100 is a network formed by itself, the control unit 101 advances the process to step S727. If it is determined that the digital camera 100 is not a network formed by itself, the control unit 101 advances the process to step S729.

ステップS727では、制御部101はステップS705でネットワークパラメータを生成したかを判定する。ネットワークパラメータを生成したと判定された場合、制御部101は処理をステップS728に進め、ネットワークパラメータを記憶する。ネットワークパラメータを生成していないと判定された場合、制御部101は処理をステップS729に進める。   In step S727, the control unit 101 determines whether a network parameter has been generated in step S705. When it is determined that the network parameter has been generated, the control unit 101 advances the processing to step S728 and stores the network parameter. If it is determined that the network parameter is not generated, the control unit 101 advances the process to step S729.

ステップS728では、制御部101はデジタルカメラ100が自ら形成したネットワークのパラメータを、ネットワーク形成パラメータ430に記憶し、2回目接続を終了する。例えば、ネットワーク形成パラメータが図4の状態のときに、ステップS701で「mobilePhone2」が選択され、デジタルカメラ100が形成したネットワークのESSIDが「CAMERA−456」、暗号鍵が「11112222」の場合、ネットワーク形成パラメータ430のネットワーク形成パラメータ番号2の列(432)に、ESSID「CAMERA−456」、暗号鍵が「11112222」を記憶する。   In step S728, the control unit 101 stores the network parameters formed by the digital camera 100 in the network formation parameters 430, and ends the second connection. For example, when the network formation parameter is in the state shown in FIG. 4, “mobilePhone2” is selected in step S701, the network ESSID formed by the digital camera 100 is “CAMERA-456”, and the encryption key is “11112222”. The ESSID “CAMERA-456” and the encryption key “11112222” are stored in the network formation parameter number 2 column (432) of the formation parameter 430.

ステップS729では、制御部101は接続機器情報410における接続機器のパラメータを更新する。例えば、接続機器情報410が図4の状態の場合、ステップS701で「mobilePhone2」が選択されると、接続機器情報410の接続機器情報番号2の列(412)の接続順に、他の接続機器情報の接続順よりも大きい値である「7」を記憶する。また、ステップS727でネットワークパラメータを生成した場合、ステップS728で記憶したネットワーク形成パラメータ430のネットワーク形成パラメータ番号に、接続機器情報番号2の列(412)のネットワーク形成パラメータ番号を記憶する。これにより、次に「mobilePhone2」にネットワークを形成して接続を確立させる場合、同一の無線LANパラメータを用いることが可能となる。   In step S729, the control unit 101 updates the parameter of the connected device in the connected device information 410. For example, when the connected device information 410 is in the state of FIG. 4, when “mobilePhone2” is selected in step S701, the other connected device information is arranged in the connection order of the connected device information number 2 column (412) in the connected device information 410. “7”, which is a value larger than the connection order of, is stored. When the network parameter is generated in step S727, the network formation parameter number in the column (412) of the connected device information number 2 is stored in the network formation parameter number of the network formation parameter 430 stored in step S728. As a result, the same wireless LAN parameters can be used when a network is subsequently formed in “mobilePhone2” to establish a connection.

次に、図7Cを参照して、2回目接続処理(ネットワーク変更)を行う際のデジタルカメラ100の処理について説明する。   Next, processing of the digital camera 100 when performing the second connection processing (network change) will be described with reference to FIG. 7C.

図7Cにおいて、ステップS731からS733の処理は、図5のステップS541からS543と同様の処理であるため、説明を省略する。ステップS733において無線LANネットワークに参加すると判定した場合、制御部101は処理をステップS738に進める。無線LANネットワークに参加しないと判定した場合、制御部101は処理をS734に進める。   In FIG. 7C, the processing from step S731 to S733 is the same as the processing from step S541 to S543 in FIG. When it determines with participating in a wireless LAN network in step S733, the control part 101 advances a process to step S738. If it is determined not to participate in the wireless LAN network, the control unit 101 advances the process to step S734.

ステップS734からS737の処理は、ステップS705からS708と同様の処理であるため、説明を省略する。ステップS737の処理の後、制御部101は処理をステップS721に進める。   Since the processing from step S734 to S737 is the same as that from step S705 to S708, description thereof will be omitted. After the process of step S737, the control unit 101 advances the process to step S721.

ステップS738からS745の処理は、図5のステップS546からS553と同様であるため、説明を省略する。ステップS743の処理の後、制御部101は処理をステップS721に進める。ステップS744の処理の後、制御部101は処理をステップS721に進める。ステップS745でエラー表示後、デジタルカメラ100のユーザにより、エラー内容を確認した旨を通知された場合、制御部101は処理をステップS731に進める。   The processing from step S738 to S745 is the same as that from step S546 to S553 in FIG. After the process of step S743, the control unit 101 advances the process to step S721. After the process of step S744, the control unit 101 advances the process to step S721. After displaying the error in step S745, if the user of the digital camera 100 is notified that the error content has been confirmed, the control unit 101 advances the process to step S731.

以上説明したように、本実施形態のデジタルカメラ100は、接続履歴のある装置を指定すると、適切なネットワークへの参加を開始し、ネットワークに参加した後は指定された機器に接続する。ユーザから見れば、自分が接続したい機器を選択すれば、ネットワークへの参加から機器との接続までの一連の処理が適切に実行されるため、操作性を向上させることができる。   As described above, when a digital camera 100 according to the present embodiment designates a device having a connection history, the digital camera 100 starts joining an appropriate network, and connects to a designated device after joining the network. From the user's point of view, if a device that the user wants to connect to is selected, a series of processing from joining the network to connection with the device is appropriately executed, so that operability can be improved.

[実施形態2]
以下に、実施形態2のデジタルカメラ100の処理について説明する。
[Embodiment 2]
The processing of the digital camera 100 according to the second embodiment will be described below.

上述した実施形態1では、デジタルカメラ100と携帯電話200には2つのデータ通信形態があり、これらのデータ通信形態に応じて適切な制御を行う例について説明した。しかしながら接続機器のハードウェア構成やユーザの使用形態、使用環境によっては、アクセスポイントの検索方法を適宜変更した方がよい場合がある。アクセスポイントの検索は実施形態1でも述べたように、同一の無線LANネットワークに参加する機器それぞれがアクセスポイントからのビーコン信号を検知することにより行われる。しかしながら、タイミングや電波状況、無線LANネットワーク数その他の要因により、一度の検索処理では目的のアクセスポイントを発見するに至らないこともありうる。   In the first embodiment described above, the digital camera 100 and the mobile phone 200 have two data communication modes, and an example in which appropriate control is performed according to these data communication modes has been described. However, depending on the hardware configuration of the connected device, the usage pattern of the user, and the usage environment, it may be desirable to change the access point search method as appropriate. As described in the first embodiment, the access point search is performed when each device participating in the same wireless LAN network detects a beacon signal from the access point. However, depending on timing, radio wave conditions, the number of wireless LAN networks, and other factors, a target access point may not be found in a single search process.

図5AのステップS502では、制御部101はアクセスポイント検索を行った後、ステップS503において、登録済みのアクセスポイントがあるかどうかの判定を行っている。しかし、仮にステップS503において、制御部101は登録済みのアクセスポイントが見つからなかったと判定しても、再度処理をステップS502に戻し、アクセスポイント検索を行ってもよい。ただし、本当に登録済みのアクセスポイントが見つからない状況において、何度もアクセスポイント検索を試行すると処理に時間が掛かる。そのため、例えば3回の試行で登録済みのアクセスポイントが見つからなければ、制御部101は処理をステップS502の検索処理には戻さず、ステップS504、S505の無線ネットワーク形成処理に進めるなど、上限回数を決めておいてもよい。これによりアクセスポイント検索時のタイミングや電波状況により、1度の検索で所望のアクセスポイントを見つけられなかった場合でも、アクセスポイント検索を上限回数まで繰り返すので、所望の無線LANネットワークに接続することが可能となる。   In step S502 of FIG. 5A, after performing an access point search, the control unit 101 determines whether there is a registered access point in step S503. However, even if it is determined in step S503 that the registered access point is not found, the control unit 101 may return the process to step S502 and perform an access point search. However, in the situation where the registered access point is not found, the process takes time if the access point search is tried many times. Therefore, for example, if a registered access point is not found in three trials, the control unit 101 does not return the process to the search process in step S502 but proceeds to the wireless network formation process in steps S504 and S505. You may decide. As a result, the access point search is repeated up to the upper limit number of times even when the desired access point cannot be found by one search due to the timing and radio wave condition at the time of access point search, so it is possible to connect to the desired wireless LAN network. It becomes possible.

さらには、周囲のネットワーク環境によって処理の流れを変えてもよい。一度のアクセスポイント検索では発見できないアクセスポイントがある可能性については上述した通りである。その場合でもいくつかのアクセスポイントは発見したが、いくつかのアクセスポイントは発見できなかったという場合が多く、周囲に発見可能なアクセスポイントがあるにもかかわらず検索の結果1つも発見できないことは少ない。   Furthermore, the processing flow may be changed depending on the surrounding network environment. The possibility that there is an access point that cannot be found by a single access point search is as described above. Even in that case, although some access points were discovered, some access points could not be found in many cases. Few.

そのため、制御部101はステップS502でアクセスポイントを検索し、その結果1つもアクセスポイントが見つからなければ、処理をステップS502の検索処理には戻さず、ステップS504、S505の無線ネットワーク形成処理に進めてもよい。これにより、デジタルカメラ100の周囲にアクセスポイントが1つもない、つまり無線LAN環境がまったく存在しないような環境下においては、不要な検索処理に時間をかけずに、ステップS504、S505の無線ネットワーク形成処理に進むことができる。   Therefore, the control unit 101 searches for an access point in step S502, and if no access point is found as a result, the process does not return to the search process in step S502, but proceeds to the wireless network formation process in steps S504 and S505. Also good. As a result, in an environment where there is no access point around the digital camera 100, that is, there is no wireless LAN environment, the wireless network formation in steps S504 and S505 is performed without taking time for unnecessary search processing. Proceed to processing.

図5CのステップS541におけるアクセスポイント検索についても同様である。ここでも一度の検索ですべてのアクセスポイントの発見に至らない可能性はある。そのため、例えば3回検索を試行し、発見したアクセスポイントの一覧をステップS542において表示するようにすればより正確な情報をユーザに提供することができる。   The same applies to the access point search in step S541 in FIG. 5C. Again, there is a possibility that not all access points will be found in a single search. Therefore, for example, if a search is tried three times and a list of discovered access points is displayed in step S542, more accurate information can be provided to the user.

また、ユーザの使用目的によっては接続シーケンスを適宜変更した方がよい場合もある。   Moreover, it may be better to change the connection sequence as appropriate depending on the purpose of use of the user.

実施形態1で述べたように、本実施形態におけるデジタルカメラ100が形成する無線LANネットワークは、インターネットなどの外部ネットワークへの通信機能を有していない。したがって、デジタルカメラ100が形成する無線LANネットワークに参加している携帯電話200は、簡易APを介してインターネットなどにデータを送信することはできない。したがって、インターネットなどの外部ネットワークへ接続することを主目的とするユーザにとっては、図5AのステップS504、S505の無線ネットワーク形成処理を行う必要はない。また、ステップS501で登録済みのアクセスポイントがない場合とステップS503で登録済みのアクセスポイントが発見できなかった場合にも、制御部101は処理をステップS504、S505には進めない。この場合は、図5CのステップS541(S501から分岐した場合)または、ステップS542(S503から分岐した場合)に進める。   As described in the first embodiment, the wireless LAN network formed by the digital camera 100 in this embodiment does not have a communication function to 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. Therefore, it is not necessary for the user whose main purpose is to connect to an external network such as the Internet to perform the wireless network formation processing in steps S504 and S505 in FIG. 5A. Further, also when there is no registered access point at step S501 and when a registered access point cannot be found at step S503, the control unit 101 does not proceed to steps S504 and S505. In this case, the process proceeds to step S541 (when branched from S501) or step S542 (when branched from S503) in FIG. 5C.

また、ステップS543でユーザは未登録の無線ネットワークに参加するか、無線ネットワーク形成処理を開始するかを選択できる。そのためインターネットなどの外部ネットワークへ接続することを主目的とするユーザは、無線ネットワーク形成処理を行うことなく未登録のアクセスポイントでの無線ネットワークに参加できる。また、無線ネットワーク形成処理による接続を選択することもできる。   In step S543, the user can select whether to participate in an unregistered wireless network or start a wireless network formation process. Therefore, a user whose main purpose is to connect to an external network such as the Internet can participate in a wireless network at an unregistered access point without performing wireless network formation processing. It is also possible to select a connection by wireless network formation processing.

なお、インターネットなどの外部ネットワークへ接続することを主目的とするかを、制御部101は、携帯電話200に問い合わせて判定を行ってもよいし、デジタルカメラ100のユーザからの入力により、切り替えるようにしてもよい。   Whether the main purpose is to connect to an external network such as the Internet may be determined by the control unit 101 by inquiring of the mobile phone 200 or may be switched by an input from the user of the digital camera 100. It may be.

[他の実施形態]
本発明は、以下の処理を実行することによっても実現される。即ち、上記実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
[Other Embodiments]
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program code. It is processing to do. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (12)

通信装置であって、
ネットワークに参加する参加手段と、
ネットワークを形成する形成手段と、
前記参加手段により参加したネットワーク内の外部装置と接続する接続手段と、
前記参加手段により参加したことのあるネットワークの情報と、前記形成手段により形成したことのあるネットワークの情報と、前記接続手段により接続したことのある外部装置の情報とを保持する保持手段とを有し、
前記参加手段により、前記通信装置とは異なる装置が形成したネットワークに参加した場合、前記保持手段は、前記参加手段により参加したネットワークの情報を前記接続手段により接続される外部装置の情報と関連付けず、前記接続手段による接続の前に保持し、
前記形成手段により前記通信装置が形成したネットワークを用いる場合、前記保持手段は前記接続手段による外部装置との接続の後に、前記形成手段により形成したネットワークの情報と前記接続手段により接続した外部装置の情報と関連付けて保持することを特徴とする通信装置。
A communication device,
A means of joining the network,
Forming means for forming a network;
Connection means for connecting to an external device in the network joined by the participation means;
And holding means for holding information on networks that have been joined by the joining means, information on networks that have been formed by the forming means, and information on external devices that have been connected by the connecting means. And
When the joining unit joins a network formed by a device different from the communication device, the holding unit does not associate the information of the network joined by the joining unit with the information of the external device connected by the connecting unit. , held before the connection by the connecting means,
When using the more the network to which the communication device is formed in the forming means, the external device wherein the holding means which is connected after the connection with the external device by the connection means, by the connecting means and forming information of the network by said forming means A communication apparatus characterized in that the information is held in association with the information.
前記外部装置と関連付けて保持されたネットワークの情報は、関連付けられた外部装置と接続する場合に用いられることを特徴とする請求項に記載の通信装置。 The communication apparatus according to claim 1 , wherein the network information held in association with the external apparatus is used when connecting to the associated external apparatus. 前記外部装置と関連付けて保持されたネットワークの情報は、関連付けられていない外部装置と接続する場合には用いられないことを特徴とする請求項1または2に記載の通信装置。The communication apparatus according to claim 1 or 2, wherein the network information held in association with the external apparatus is not used when connecting to an external apparatus that is not associated with the external apparatus. 外部装置との接続に前記形成手段により形成したネットワークを用いる場合であって、かつ当該接続する外部装置の情報が前記保持手段に保持された前記ネットワークの情報と関連付けられていない場合、前記形成手段は新たなパラメータを用いて前記ネットワークを形成することを特徴とする請求項3に記載の通信装置。When the network formed by the forming unit is used for connection with an external device, and the information of the connected external device is not associated with the network information held by the holding unit, the forming unit 4. The communication apparatus according to claim 3, wherein the network is formed using a new parameter. 前記通信装置は、中継装置として動作することでネットワークを形成することを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 It said communication apparatus, the communication apparatus according to any one of claims 1 to 4, characterized in that to form a network to operate as a relay device. 前記中継装置は、無線LANにおけるアクセスポイントであることを特徴とする請求項に記載の通信装置。 The communication apparatus according to claim 5 , wherein the relay apparatus is an access point in a wireless LAN. 前記通信装置は撮像装置であることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 Communication device according to any one of claims 1 to 6, wherein the communication device is an imaging device. 前記通信装置は携帯電話であることを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 Communication device according to any one of claims 1 to 7 wherein the communication device characterized in that it is a mobile phone. 前記通信装置はタブレットデバイスであることを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。The communication apparatus according to claim 1, wherein the communication apparatus is a tablet device. 前記参加手段によるネットワークへの参加または前記形成手段によるネットワークの形成と、前記接続手段による外部装置への接続とは一連の処理として実行されることを特徴とする請求項1乃至9のいずれか1項に記載の通信装置。 The participation in the network by the participation unit or the formation of the network by the formation unit and the connection to the external device by the connection unit are executed as a series of processes. The communication device according to item. 通信装置の制御方法であって、
ネットワークに参加する参加工程と、
ネットワークを形成する形成工程と、
前記参加工程で参加したネットワーク内の外部装置と接続する接続工程と、
前記参加工程で参加したことのあるネットワークの情報と、前記形成工程で形成したことのあるネットワークの情報と、前記接続工程で接続したことのある外部装置の情報とを保持する保持工程とを有し、
前記参加工程で、前記通信装置とは異なる装置が形成したネットワークに参加した場合、前記参加工程で参加したネットワークの情報を前記接続工程で接続される外部装置の情報と関連付けず、前記接続工程での接続の前に前記保持工程で保持し、
前記形成工程で前記通信装置が形成したネットワークを用いる場合、前記接続工程での外部装置との接続の後に、前記形成工程で形成したネットワークの情報と前記接続工程で接続した外部装置の情報とを関連付けて前記保持工程で保持することを特徴とする通信装置の制御方法。
A communication device control method comprising:
Participation process to join the network,
Forming process to form a network;
A connection step of connecting to an external device in the network that participated in the participation step;
A holding step for holding network information that has been joined in the joining step, network information that has been formed in the forming step, and external device information that has been connected in the connecting step; And
In the participation step, when participating in a network formed by a device different from the communication device, the network information participating in the participation step is not associated with the information of the external device connected in the connection step, and the connection step Holding in the holding step before connection of
When using a network to which the communication device is formed in said forming step, after the connection with the external device in the connecting step, the information of the external apparatus connection information of the network formed in the forming step and in the connecting step A method for controlling a communication apparatus, characterized in that the information is held in the holding step.
コンピュータを、請求項1乃至10のいずれか1項に記載の通信装置の各手段として機能させるコンピュータが読み取り可能なプログラム。   A computer-readable program that causes a computer to function as each unit of the communication device according to any one of claims 1 to 10.
JP2012286681A 2012-12-28 2012-12-28 Wireless communication apparatus, control method thereof, and program Expired - Fee Related JP6128840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012286681A JP6128840B2 (en) 2012-12-28 2012-12-28 Wireless communication apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012286681A JP6128840B2 (en) 2012-12-28 2012-12-28 Wireless communication apparatus, control method thereof, and program

Publications (2)

Publication Number Publication Date
JP2014131107A JP2014131107A (en) 2014-07-10
JP6128840B2 true JP6128840B2 (en) 2017-05-17

Family

ID=51409150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012286681A Expired - Fee Related JP6128840B2 (en) 2012-12-28 2012-12-28 Wireless communication apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP6128840B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004328272A (en) * 2003-04-23 2004-11-18 Canon Inc Image pickup device, printing system including the same and printing control method therefor
JP2004357057A (en) * 2003-05-29 2004-12-16 Toshiba Corp Radio communication terminal and its control method
JP4635592B2 (en) * 2004-12-15 2011-02-23 富士ゼロックス株式会社 Document processing system

Also Published As

Publication number Publication date
JP2014131107A (en) 2014-07-10

Similar Documents

Publication Publication Date Title
JP6039414B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6128844B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6335516B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP5980027B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP2015073231A (en) Communication device, communication method and program
JP6207330B2 (en) COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
JP6033014B2 (en) Information processing apparatus, control method thereof, and program
JP7143071B2 (en) Communication device, communication system, communication method, and program
JP6393359B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP6128840B2 (en) Wireless communication apparatus, control method thereof, and program
JP6021524B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP7418114B2 (en) Communication device, its control method, and its program
JP7446820B2 (en) Communication device, communication device search method and program
JP2016034103A (en) Communication apparatus, control method of the same and program
JP2018056829A (en) Communication apparatus, control method thereof, and program
JP6223511B2 (en) COMMUNICATION DEVICE, DATA PROCESSING DEVICE, ITS CONTROL METHOD, PROGRAM
JP6821369B2 (en) Communication equipment, its control method, and programs
JP2021022797A (en) Communication device
JP2015073232A (en) Communication device, communication method, and program
JP2014131104A (en) Communication device, control method therefor and program
JP2014116745A (en) Communication device, control method therefor and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161028

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170411

R151 Written notification of patent or utility model registration

Ref document number: 6128840

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees