JP2016213614A - Communication device, control method, program of communication device - Google Patents

Communication device, control method, program of communication device Download PDF

Info

Publication number
JP2016213614A
JP2016213614A JP2015094344A JP2015094344A JP2016213614A JP 2016213614 A JP2016213614 A JP 2016213614A JP 2015094344 A JP2015094344 A JP 2015094344A JP 2015094344 A JP2015094344 A JP 2015094344A JP 2016213614 A JP2016213614 A JP 2016213614A
Authority
JP
Japan
Prior art keywords
communication
information
authority
providing
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.)
Pending
Application number
JP2015094344A
Other languages
Japanese (ja)
Inventor
秀明 橘
Hideaki Tachibana
秀明 橘
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 JP2015094344A priority Critical patent/JP2016213614A/en
Publication of JP2016213614A publication Critical patent/JP2016213614A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the trouble os re-performing a predetermined processing, when the fact of not having an authority is notified after performing the predetermined processing, for obtaining the authority for making other device participate the network, with communication parameter provision device.SOLUTION: When a predetermine processing, for obtaining the authority for making a provision device provide the communication parameters to other communication device, and for registering the fact of having the authority in the provision device, is executed with the provision device, first information indicating execution of the predetermine processing with the provision device is received therefrom. Thereafter, when provision of the communication parameters to other communication device is requested to the provision device, and the fact that the communication device does not have the authority is notified, the communication device transmits the first information to the provision device. The communication device makes the provision device provide the communication parameters to other communication device, by performing transmission of the first information.SELECTED DRAWING: Figure 4

Description

本発明は、通信技術に関する。   The present invention relates to communication technology.

近年、デジタルカメラ、プリンタ、携帯電話・スマートフォンなどの電子機器に無線通信機能を搭載し、これらの機器を無線ネットワークに接続して使用するケースが増えている。   In recent years, electronic devices such as digital cameras, printers, mobile phones and smartphones are equipped with a wireless communication function, and these devices are increasingly connected to a wireless network for use.

電子機器を無線ネットワークに接続するには、暗号方式、暗号鍵、認証方式、認証鍵等のさまざまな通信パラメータを設定する必要がある。これらの通信パラメータの設定を容易にする技術として、特許文献1に示す技術がある。特許文献1では、電子機器が、通信パラメータを示すQRコード(登録商標、以下省略)を表示させる。そして、携帯端末が、このQRコードを撮影により読み取り、読み取った通信パラメータをアクセスポイントに設定させる。   In order to connect an electronic device to a wireless network, it is necessary to set various communication parameters such as an encryption method, an encryption key, an authentication method, and an authentication key. As a technique for facilitating the setting of these communication parameters, there is a technique disclosed in Patent Document 1. In Patent Document 1, an electronic device displays a QR code (registered trademark, hereinafter omitted) indicating communication parameters. Then, the mobile terminal reads this QR code by photographing, and sets the read communication parameter in the access point.

特開2014−60623号公報JP 2014-60623 A

上述の特許文献1のように、2次元コードのように多くの情報を符号化できるコード情報の撮影を契機に通信パラメータの設定をすることにより、ユーザによる煩雑な入力を低減できる。また、特許文献1では、携帯端末が、電子機器のQRコードを撮影することにより、当該電子機器を簡便な操作でアクセスポイントに接続させることができる。しかしながら、このような利便性の反面として、画像の撮影を行うだけで、通信パラメータの設定が行われてしまい、容易に無線ネットワークで通信が可能となり、セキュリティ上の問題が生じ得る。そこで、コード情報の撮影を行うことでネットワークに新たな装置を参加させることができる権限を特定の装置にのみに与えることでセキュリティを維持させることが考えられる。通信パラメータを提供する提供装置は、権限の付与を要求する装置と権限を付与するための所定の処理を行い、当該処理を行った装置に対して、ネットワークに新たな装置を参加させる権限を与える。そして、提供装置は、新たな装置を参加させる要求が行われた場合、要求元の装置が権限を有するか否かを確認する。要求元の装置が権限を有する場合、提供装置は、要求元の装置から通知された新たな装置に通信パラメータを提供する。   As described in Patent Document 1 described above, complicated input by the user can be reduced by setting communication parameters triggered by shooting code information that can encode a large amount of information such as a two-dimensional code. Moreover, in patent document 1, the portable terminal can connect the said electronic device to an access point by simple operation by imaging | photography QR code of an electronic device. However, on the contrary to such convenience, communication parameters are set simply by taking an image, and communication can be easily performed over a wireless network, which may cause a security problem. Therefore, it is conceivable to maintain security by giving only a specific device the authority to join a new device to the network by photographing code information. A providing apparatus that provides communication parameters performs a predetermined process for granting authority with an apparatus that requests authority, and grants the authority to join a new apparatus to the network to the apparatus that has performed the process. . Then, when a request to join a new device is made, the providing device confirms whether or not the requesting device has authority. When the requesting device has authority, the providing device provides the communication parameter to the new device notified from the requesting device.

このような構成の場合に、提供装置が、権限を有する装置の情報を削除した場合を考える。上述の所定の処理を行った装置は、提供装置に新たな装置をネットワークに参加させる要求を行うが、提供装置は、権限を有する装置の情報を削除してしまったため、要求元の装置を権限を有さない装置とみなし、その要求を拒否してしまう。要求を行った装置は、新たな装置を参加させるため、再度所定の処理を行うことにより権限を獲得する必要があり、新たな装置をネットワークに参加させるまでに時間がかかる恐れがあった。また、要求元の装置のユーザが権限を付与するための所定の処理を開始する操作が必要となり、その煩わしさが生じる恐れがあった。   In the case of such a configuration, a case is considered where the providing apparatus deletes information on an authorized apparatus. The device that has performed the above-described predetermined processing requests the providing device to join a new device to the network. However, since the providing device has deleted the information on the authorized device, the requesting device is authorized. It is considered that the device does not have, and the request is rejected. The requesting device needs to acquire authority by performing a predetermined process again in order to join a new device, and it may take time to join the new device to the network. Further, the user of the requesting device needs to perform an operation for starting a predetermined process for granting the authority, which may be annoying.

本発明は、他の装置をネットワークに参加させる権限を得るための所定の処理を通信パラメータの提供装置と通信装置とが行った後に、当該権限を有さないことを通信装置が通知された場合、通信装置が所定の処理を再度行う手間を低減することを目的とする。   In the present invention, after a communication parameter providing apparatus and a communication apparatus perform predetermined processing for obtaining authority to join another apparatus to the network, the communication apparatus is notified that the authority is not possessed. An object of the present invention is to reduce the trouble of the communication device performing a predetermined process again.

そこで本発明の通信装置は、撮影された画像から装置に関する情報を取得する取得手段と、無線ネットワークに参加するための通信パラメータを提供する提供装置に、前記取得手段により取得した情報が示す他の通信装置への通信パラメータの提供を要求する要求手段と、前記他の通信装置への通信パラメータの提供を前記要求に応じて前記提供装置に行わせるための権限を得るため、かつ、前記権限を有することを前記提供装置に登録するための所定の処理を前記提供装置と実行する実行手段と、前記所定の処理を前記実行手段により実行した場合、前記所定の処理を前記提供装置と実行したことを示す第1情報を前記提供装置から受信する第1受信手段と、前記要求手段による要求を行った場合、前記通信装置の前記権限の有無を示す第2情報を前記提供装置から受信する第2受信手段と、前記所定の処理を前記実行手段により実行した後に、前記第2受信手段により受信した前記第2情報が、前記通信装置が前記権限を有さないことを示す場合、前記第1受信手段により受信した前記第1情報を前記提供装置に送信する送信手段と、前記通信装置は、前記送信手段による送信を行うことで、前記実行手段により前記所定の処理を再度行うことなく、前記他の通信装置への通信パラメータの提供を前記提供装置に行わせることを特徴とする。   Therefore, the communication device of the present invention provides an acquisition unit that acquires information about the device from a captured image, and a providing device that provides communication parameters for participating in a wireless network. Requesting means for requesting provision of communication parameters to a communication device; obtaining authority for causing the providing device to provide communication parameters to the other communication device in response to the request; and An execution unit that executes a predetermined process for registering the registration to the providing apparatus with the providing apparatus; and the execution unit that executes the predetermined process when the predetermined process is executed by the execution unit. When receiving a request by the request means and a first receiving means for receiving first information indicating the first information from the providing apparatus, a first information indicating whether or not the authority of the communication apparatus is present. A second receiving means for receiving information from the providing apparatus; and the second information received by the second receiving means after the predetermined processing is executed by the executing means, the communication apparatus has the authority. If there is not, the transmitting means for transmitting the first information received by the first receiving means to the providing apparatus, and the communication apparatus performs transmission by the transmitting means so that the execution means performs the predetermined information. The providing apparatus is allowed to provide communication parameters to the other communication apparatus without performing the above process again.

本発明によれば、他の装置をネットワークに参加させる権限を得るための所定の処理を通信パラメータの提供装置と通信装置とが行った後に、当該権限を有さないことを通信装置が通知された場合、通信装置が所定の処理を再度行う手間を低減することができる。   According to the present invention, after the communication parameter providing apparatus and the communication apparatus perform predetermined processing for obtaining authority to join another apparatus to the network, the communication apparatus is notified that the authority is not possessed. In this case, it is possible to reduce the trouble of the communication device performing the predetermined process again.

通信装置の構成を示す図である。It is a figure which shows the structure of a communication apparatus. 通信装置のソフトウェア機能構成を示す図である。It is a figure which shows the software function structure of a communication apparatus. 通信システムの構成の一例を示す図である。It is a figure which shows an example of a structure of a communication system. 通信装置間のシーケンスを示す図である。It is a figure which shows the sequence between communication apparatuses. 通信装置のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a communication apparatus. 通信装置のフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart of a communication apparatus.

以下、本実施形態に係る通信装置について、図面を参照しながら詳細に説明する。以下では、IEEE(The Institute of Electrical and Electronics Engineers,Inc.)802.11シリーズに準拠した無線LANシステムを用いた例について説明する。しかしながら、通信形態は必ずしもIEEE802.11準拠の無線LANには限らない。   Hereinafter, the communication apparatus according to the present embodiment will be described in detail with reference to the drawings. Hereinafter, an example using a wireless LAN system compliant with the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 series will be described. However, the communication mode is not necessarily limited to a wireless LAN compliant with IEEE 802.11.

図3に本実施形態の通信システムについて示す。図3に示す通信システムには、カメラ32、プリンタ33、アクセスポイント34(以下、AP34)が含まれる。なお、無線ネットワーク31は、AP34が形成する無線LANネットワークである。なお、本実施形態における通信システムにおける装置をカメラ、プリンタとして説明を行うが、例えば、携帯電話、PC、ビデオカメラ、スマートウォッチ、PDAなどの他の装置であってもよい。   FIG. 3 shows the communication system of this embodiment. The communication system shown in FIG. 3 includes a camera 32, a printer 33, and an access point 34 (hereinafter referred to as AP 34). The wireless network 31 is a wireless LAN network formed by the AP 34. In addition, although the apparatus in the communication system in this embodiment is described as a camera and a printer, for example, other apparatuses such as a mobile phone, a PC, a video camera, a smart watch, and a PDA may be used.

続いて、図3に示す通信システムの各装置(カメラ32、プリンタ33、AP34)の本実施形態におけるハードウェア構成について図1を用いて説明する。図1において、101は通信装置全体を示す。102は、記憶部103に記憶される制御プログラムを実行することにより装置全体を制御する制御部である。制御部102は例えばCPU(Central Processing Unit)により構成される。103は制御部102が実行する制御プログラム、画像データ、通信パラメータ等の各種情報を記憶する記憶部である。後述する各種動作は、記憶部103に記憶された制御プログラムを制御部102が実行することにより行われる。記憶部103は、例えば、HDD、フラッシュメモリ、ROM、RAMまたは着脱可能なSDカードなどの記憶媒体により構成される。   Next, the hardware configuration of each device (camera 32, printer 33, AP 34) of the communication system shown in FIG. 3 in this embodiment will be described with reference to FIG. In FIG. 1, reference numeral 101 denotes the entire communication apparatus. A control unit 102 controls the entire apparatus by executing a control program stored in the storage unit 103. The control unit 102 is configured by, for example, a CPU (Central Processing Unit). A storage unit 103 stores various information such as a control program executed by the control unit 102, image data, and communication parameters. Various operations described later are performed by the control unit 102 executing a control program stored in the storage unit 103. The storage unit 103 is configured by a storage medium such as an HDD, a flash memory, a ROM, a RAM, or a removable SD card.

104はIEEE802.11シリーズに準拠した無線LAN通信を行うための無線部である。無線部104は、無線通信を行うチップにより構成される。105は各種表示を行う表示部でありLCDやLEDのように視覚で認知可能な情報の出力、あるいはスピーカなどの音出力が可能な機能を有する。表示部105は視覚情報および音情報の少なくともどちらか一方を出力する機能を備えるものである。表示部105は視覚情報を表示する場合、表示する視覚情報に対応する画像データを保持するVRAM(Video RAM)を有する。表示部105は、VRAMに格納した画像データをLCDやLEDに表示させ続ける表示制御を行う。   A wireless unit 104 performs wireless LAN communication conforming to the IEEE802.11 series. The wireless unit 104 is configured by a chip that performs wireless communication. Reference numeral 105 denotes a display unit that performs various displays, and has a function capable of outputting visually recognizable information such as an LCD or LED, or outputting sound such as a speaker. The display unit 105 has a function of outputting at least one of visual information and sound information. When displaying visual information, the display unit 105 includes a VRAM (Video RAM) that holds image data corresponding to the visual information to be displayed. The display unit 105 performs display control for continuously displaying the image data stored in the VRAM on the LCD or LED.

106は、撮像素子、レンズ等により構成され、写真や動画の撮影を行う撮影部である。本実施形態において撮影部106は、バーコード、二次元コード、QRコードなどのコード情報の読み取りなどを実施する。   Reference numeral 106 denotes an image capturing unit that includes an image sensor, a lens, and the like and captures a photograph or a moving image. In the present embodiment, the photographing unit 106 performs reading of code information such as a barcode, a two-dimensional code, and a QR code.

107はアンテナ108の出力制御を行うアンテナ制御部であり、108は無線LANで通信するための2.4GHz帯および/または5GHz帯で通信可能なアンテナである。109は、ユーザが各種入力等を行い、通信装置101を操作するための入力部である。入力部109は、入力に対応するフラグを記憶部103等のメモリに記憶する。   Reference numeral 107 denotes an antenna control unit that performs output control of the antenna 108, and reference numeral 108 denotes an antenna capable of communication in the 2.4 GHz band and / or the 5 GHz band for communication via a wireless LAN. Reference numeral 109 denotes an input unit for the user to perform various inputs and operate the communication apparatus 101. The input unit 109 stores a flag corresponding to the input in a memory such as the storage unit 103.

図2は、後述の通信制御機能を実行するソフトウェア機能ブロックの構成の一例を表すブロック図である。本実施形態において、各装置の機能ブロックは、それぞれ記憶部103にプログラムとして記憶され、制御部102によって当該プログラムが実行されることによりその機能が実施される。制御部102は、制御プログラムにしたがって、各ハードウェアの制御、および、情報の演算や加工を行うことで各機能を実現する。なお、本機能ブロックに含まれる一部または全部がハードウェア化されていてもよい。この場合、各機能ブロックに含まれる一部または全部は、例えばASIC(Application Specific Integrated Circuit)により構成される。   FIG. 2 is a block diagram illustrating an example of a configuration of software function blocks that execute a communication control function described later. In the present embodiment, the functional blocks of each device are stored as programs in the storage unit 103, and the functions are implemented by the control unit 102 executing the programs. The control unit 102 implements each function by performing control of each hardware and calculation and processing of information according to a control program. A part or all of the functional blocks may be implemented as hardware. In this case, a part or all of the functional blocks are configured by, for example, ASIC (Application Specific Integrated Circuit).

図2において、201は、通信装置101が有するソフトウェア機能ブロック全体を示す。202は通信パラメータ制御部である。通信パラメータ制御部202は、装置間で通信パラメータを共有するための通信パラメータ共有処理を実行する。通信パラメータ共有処理においては、提供装置が受信装置に無線通信するための通信パラメータを提供する。ここで、通信パラメータには、ネットワーク識別子としてのSSID(Service Set Identifier)、暗号方式、暗号鍵、認証方式、認証鍵等の無線LAN通信を行うために必要な無線通信パラメータが含まれる。また、MACアドレス、パスフレーズ、IP層での通信を行うためのIPアドレス、上位サービスに必要な情報等も含めてもよい。   In FIG. 2, reference numeral 201 denotes an entire software function block included in the communication apparatus 101. Reference numeral 202 denotes a communication parameter control unit. The communication parameter control unit 202 executes communication parameter sharing processing for sharing communication parameters between devices. In the communication parameter sharing process, the providing device provides communication parameters for wireless communication with the receiving device. Here, the communication parameters include wireless communication parameters necessary for performing wireless LAN communication such as an SSID (Service Set Identifier) as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. Further, it may include a MAC address, a passphrase, an IP address for performing communication at the IP layer, information necessary for a higher level service, and the like.

通信パラメータ制御部202は、複数の方式の通信パラメータ共有処理を実行可能である。通信パラメータ制御部202が実行可能な第1方式は、通信装置101と他の装置との2装置間で通信パラメータを共有する方式である。なお、第1方式の通信パラメータ共有処理は、後述する第2方式の通信パラメータ共有処理を実行する権限を得るため、および、権限を有することを他の装置に登録するための権限登録処理である。   The communication parameter control unit 202 can execute a plurality of communication parameter sharing processes. The first method that can be executed by the communication parameter control unit 202 is a method in which communication parameters are shared between two devices, that is, the communication device 101 and another device. The first method communication parameter sharing process is an authority registration process for obtaining authority to execute a second method communication parameter sharing process, which will be described later, and for registering the authority in another apparatus. .

第1方式において、通信装置101は、他の装置に表示されているまたは他の装置に関連付けられたQRコードの撮影を行う。なお、他の装置に関連付けられたQRコードとは、例えば、他の装置の筺体に貼り付けられたQRコードや他の装置の取り扱い説明書に記載されたQRコードである。   In the first method, the communication apparatus 101 captures a QR code displayed on or associated with another apparatus. Note that the QR code associated with another device is, for example, a QR code attached to a housing of another device or a QR code described in an instruction manual of another device.

そして、通信装置101は、読み取ったQRコードに含まれる通信パラメータの設定を行うために必要な情報を取得する。通信パラメータの設定を行うために必要な情報は、例えば、通信パラメータそのもの、装置の識別情報、通信パラメータ共有処理の識別情報である。   Then, the communication apparatus 101 acquires information necessary for setting the communication parameter included in the read QR code. Information necessary for setting the communication parameter is, for example, the communication parameter itself, device identification information, and communication parameter sharing processing identification information.

そして、通信装置101は、読み取ったQRコードに含まれる装置の識別情報を取得する。なお、装置の識別情報は、機器を一意に識別するMACアドレスやUUIDであってよい。通信装置101は、QRコードから取得した識別情報が示す装置から暗号化された通信パラメータを受信する。通信装置101は、受信した当該通信パラメータに基づいて、QRコードから取得した識別情報が示す装置と無線接続する。なお、通信パラメータ共有処理の際に公開鍵を用いて暗号化された通信パラメータを装置間で通信してもよい。なお、通信パラメータ共有処理の際に公開鍵を用いて通信パラメータを暗号通信する方法は、例えば、特開2014−230152公報に示す方法を用いればよい。この公開鍵はQRコードに含まれてもよい。また、通信装置101は、第1方式の処理を実行した場合、後述する第2方式の通信パラメータ共有処理を実行するための権限を有することを確認する権限確認処理に用いる認証情報を他の装置に送信し、他の装置に登録させる。また、権限登録処理を実行したことを示す当該他の装置の認証情報を受信する。このように、第1方式の通信パラメータ共有処理は、第2方式の通信パラメータ共有処理を行うための権限の登録処理ということができる。   Then, the communication device 101 acquires device identification information included in the read QR code. The device identification information may be a MAC address or UUID that uniquely identifies the device. The communication device 101 receives the encrypted communication parameter from the device indicated by the identification information acquired from the QR code. The communication device 101 wirelessly connects to a device indicated by the identification information acquired from the QR code based on the received communication parameter. Note that communication parameters encrypted using a public key during communication parameter sharing processing may be communicated between devices. Note that, for example, a method disclosed in Japanese Patent Application Laid-Open No. 2014-230152 may be used as a method for performing cryptographic communication of communication parameters using a public key during communication parameter sharing processing. This public key may be included in the QR code. Further, when the communication apparatus 101 executes the process of the first method, the communication apparatus 101 uses the authentication information used for the authority confirmation process for confirming that it has the authority to execute the communication parameter sharing process of the second system described later as another apparatus. To be registered with other devices. Also, the authentication information of the other device indicating that the authority registration process has been executed is received. As described above, the first method communication parameter sharing process can be referred to as an authority registration process for performing the second method communication parameter sharing process.

通信装置101が実行可能な第2方式は、複数の他の装置間における通信パラメータの共有を、通信装置101を介して実行する方式である。第2方式において、通信装置101は、第1装置と第2装置とを無線接続させるための処理を行う。ここで、第1装置は、無線ネットワークに新たに参加する装置である。なお、第1装置は、通信パラメータ共有処理の際に通信パラメータを受信する受信装置として動作する。また、第2装置は、通信パラメータ共有処理において、通信パラメータを提供する提供装置として動作可能な装置である。また、第2装置は、無線ネットワークを構築するアクセスポイントであってよい。なお、第2方式の処理を実行し、第1装置と第2装置との間で通信パラメータの共有を行わせる通信装置101を中継装置と称する。   The second method that can be executed by the communication device 101 is a method in which communication parameters are shared among a plurality of other devices via the communication device 101. In the second method, the communication device 101 performs processing for wirelessly connecting the first device and the second device. Here, the first device is a device that newly joins the wireless network. The first device operates as a receiving device that receives communication parameters during the communication parameter sharing process. The second device is a device operable as a providing device that provides communication parameters in the communication parameter sharing process. The second device may be an access point that establishes a wireless network. Note that the communication device 101 that executes processing of the second method and allows communication parameters to be shared between the first device and the second device is referred to as a relay device.

第2方式において、通信装置101は、第1装置に表示されているまたは第1装置に関連付けられたQRコードの撮影を行う。なお、第1装置に関連付けられたQRコードとは、例えば、第1装置の筺体に貼り付けられたQRコードや第1装置の取り扱い説明書に記載されたQRコードである。   In the second method, the communication device 101 captures a QR code displayed on the first device or associated with the first device. Note that the QR code associated with the first device is, for example, a QR code affixed to the housing of the first device or a QR code described in an instruction manual for the first device.

そして、通信装置101は、読み取ったQRコードに含まれる第1装置の識別情報を取得する。通信装置101は、事前に第1方式による設定により、接続可能な装置であって、セキュアなリンクを確立可能な第2装置に、読み取ったQRコードに含まれる第1装置の識別情報をセキュアなリンクを介して転送する。即ち、通信装置101は、QRコードに含まれる識別情報が示す第1装置に通信パラメータを提供するように第2装置に要求する。なお、この識別情報の転送に際して、QRコードに含まれる識別情報以外の情報も併せて転送してよい。例えば、QRコードに含まれる通信パラメータを暗号通信するための公開鍵等の暗号化情報を併せて通知してよい。   And the communication apparatus 101 acquires the identification information of the 1st apparatus contained in the read QR code. The communication device 101 is a device that can be connected in advance by setting according to the first method, and secures the identification information of the first device included in the read QR code to a second device that can establish a secure link. Forward over the link. That is, the communication device 101 requests the second device to provide communication parameters to the first device indicated by the identification information included in the QR code. In addition, when transferring the identification information, information other than the identification information included in the QR code may be transferred together. For example, encryption information such as a public key for cryptographic communication of communication parameters included in the QR code may be notified together.

また、この転送の際に通信装置101は、第1方式による設定を行った際に第2装置と交換した認証情報を用いた権限確認処理を行う。権限確認処理により通信装置101が権限を有することが証明された場合、通信装置101からQRコードに含まれる第1装置の識別情報を転送された第2装置は、通信パラメータを第1装置に送信する。第1装置は、受信した当該通信パラメータに基づいて、第2装置と無線接続する。なお、第2装置は、通信装置から受信した公開鍵による公開鍵暗号方式により暗号化された状態の通信パラメータを第1装置に送信してよい。なお、通信装置101から第2装置への識別情報通知は、無線LANによるセキュアなリンクを用いて行ってもよいし、NFC(Near Field Communication)通信などのセキュアな近接無線通信で行われてよい。また、この転送は、Bluetooth(登録商標)などの無線LAN通信以外の通信を用いてよい。また、通信装置101は、取得したQRコードから読み取った情報を自装置の表示部によりQRコードとして表示し、第2装置に読み取らせることで転送を行ってもよい。   Further, at the time of this transfer, the communication apparatus 101 performs an authority confirmation process using the authentication information exchanged with the second apparatus when setting by the first method is performed. When it is proved that the communication apparatus 101 has the authority by the authority confirmation process, the second apparatus to which the identification information of the first apparatus included in the QR code is transferred from the communication apparatus 101 transmits the communication parameter to the first apparatus. To do. The first device wirelessly connects to the second device based on the received communication parameter. The second device may transmit the communication parameters encrypted by the public key encryption method using the public key received from the communication device to the first device. The identification information notification from the communication device 101 to the second device may be performed using a secure link by wireless LAN, or may be performed by secure proximity wireless communication such as NFC (Near Field Communication) communication. . For this transfer, communication other than wireless LAN communication such as Bluetooth (registered trademark) may be used. In addition, the communication apparatus 101 may perform transfer by displaying information read from the acquired QR code as a QR code on the display unit of the own apparatus and causing the second apparatus to read the information.

第2方式によれば、QRコードから読み取った情報に含まれる受信装置として動作する第1装置の識別情報を、提供装置として動作可能な第2装置に通知するため、第1装置と第2装置との間で通信パラメータを共有させることができる。   According to the second method, the first device and the second device are used to notify the second device operable as the providing device of the identification information of the first device that operates as the receiving device included in the information read from the QR code. Communication parameters can be shared with each other.

また、通信装置101と第2装置とで第1方式による通信パラメータの共有が、第2方式の処理を実行するための権限を第2装置から得るための条件となる。   Further, the communication parameter sharing by the first method between the communication device 101 and the second device is a condition for obtaining the authority to execute the processing of the second method from the second device.

なお、通信装置101は、第2方式による設定を実行する場合、事前に第2装置を登録しておくことができる。第2装置として登録する装置は、第1方式の処理で通信パラメータの共有を行ったことがある装置である。また、第2装置として登録する装置は、セキュアなリンクを介して接続することができる装置であってよい。通信装置101は、第2装置と第1方式を行った際に取得した第2装置の認証情報を保持することで当該第2装置の登録を行う。   Note that the communication device 101 can register the second device in advance when performing the setting by the second method. The device registered as the second device is a device that has shared communication parameters in the first method. The device registered as the second device may be a device that can be connected via a secure link. The communication device 101 registers the second device by holding the authentication information of the second device acquired when the first method is performed with the second device.

203はバーコード読み取り制御部である。バーコード読み取り制御部203は、撮影部106により撮影された画像を解析し、符号化されたコード情報を取得する。バーコード読み取り制御部203は、バーコード、二次元コード、QRコードなどのコード情報の解析処理を実施する。   Reference numeral 203 denotes a barcode reading control unit. The barcode reading control unit 203 analyzes the image photographed by the photographing unit 106 and acquires encoded code information. The barcode reading control unit 203 performs an analysis process of code information such as a barcode, a two-dimensional code, and a QR code.

204はバーコード生成制御部である。バーコード、二次元コード、QRコードなどのコード情報の生成を実施し、表示部105へ生成したコード情報を表示するための制御を実施する。バーコード生成制御部204は、記憶部に103に記憶される通信パラメータを設定されるための通信パラメータ設定アプリケーションに従って通信パラメータ設定に必要な情報を符号化したQRコードを表示させる。   Reference numeral 204 denotes a barcode generation control unit. Code information such as a bar code, a two-dimensional code, and a QR code is generated, and control for displaying the generated code information on the display unit 105 is performed. The barcode generation control unit 204 displays a QR code in which information necessary for communication parameter setting is encoded in accordance with a communication parameter setting application for setting communication parameters stored in the storage unit 103.

205はアプリケーションレイヤにおけるサービス制御部である。ここでのアプリケーションレイヤとはOSI参照モデルにおける第5層以上の上位レイヤにおけるサービス提供層のことをさす。すなわちサービス制御部205は、無線部104による無線通信を用いて印刷処理や画像ストリーミング処理や、ファイル転送処理などを実行する。   Reference numeral 205 denotes a service control unit in the application layer. The application layer here refers to a service providing layer in an upper layer higher than the fifth layer in the OSI reference model. That is, the service control unit 205 executes print processing, image streaming processing, file transfer processing, and the like using wireless communication by the wireless unit 104.

206はパケット受信部、207はパケット送信部であり、上位レイヤの通信プロトコルを含むあらゆるパケットの送受信を制御する。また、パケット受信206及びパケット送信部207は、対向装置との間でIEEE802.11規格に準拠したパケットの送信及び受信を行うため無線部104を制御する。   Reference numeral 206 denotes a packet receiving unit, and 207 denotes a packet transmitting unit, which controls transmission / reception of all packets including upper layer communication protocols. Further, the packet reception 206 and the packet transmission unit 207 control the wireless unit 104 in order to transmit and receive packets conforming to the IEEE 802.11 standard with the opposite device.

208はステーション機能制御部であり、IEEE802.11規格に定められたインフラストラクチャモードにおけるステーション(STA)として動作するSTA機能を提供する。STA機能制御部208は、STAとして動作する際に、認証・暗号処理等を実施する。また、209はAP機能制御部であり、IEEE802.11規格に定められたインフラストラクチャモードにおけるアクセスポイント(AP)として動作するAP機能を提供する。AP機能制御部209は、無線ネットワークを形成し、STAに対する認証・暗号処理およびSTAの管理等を実施する。210はデータ記憶部であり、ソフトウェアそのものおよび、通信パラメータや、バーコード類の情報の記憶部103への書き込み及び読み出しの制御を行う。   A station function control unit 208 provides a STA function that operates as a station (STA) in an infrastructure mode defined in the IEEE 802.11 standard. The STA function control unit 208 performs authentication / encryption processing and the like when operating as an STA. Reference numeral 209 denotes an AP function control unit that provides an AP function that operates as an access point (AP) in an infrastructure mode defined in the IEEE 802.11 standard. The AP function control unit 209 forms a wireless network, and performs authentication / encryption processing for the STA, management of the STA, and the like. Reference numeral 210 denotes a data storage unit that controls writing and reading of software itself, communication parameters, and barcode information to the storage unit 103.

以上の構成を有する通信システムの動作について説明を行う。カメラ32とAP34が、QRコードを用い通信パラメータ共有処理を実行した後に、プリンタ33を、カメラ32を介して、AP34(無線ネットワーク31)に接続させるシーケンスを図4に示す。カメラ32は、ユーザにより無線接続のための指示を受け付けると、撮影部106による撮影が可能なモードに移行する。そして、カメラ32は、プリンタ33を参加させるための権限を得るために、まず、AP34と第1方式の通信パラメータ共有処理を実行する。カメラ32は、AP34に表示もしくは貼付されているQRコードを撮影部106により読み取る(F401)。なお、F401の撮影は、ユーザ操作に応じて行われてもよいし、撮影部106の画角内にQRコードがあることを検出した場合、自動で撮影が行われてもよい。カメラ32は、読み取ったQRコードを復号し、そのQRコードが示す情報を取得する。カメラ32は、QRコードにより取得される情報が通信パラメータの設定を行うために必要な情報であるか否かを判定する。   The operation of the communication system having the above configuration will be described. FIG. 4 shows a sequence for connecting the printer 33 to the AP 34 (wireless network 31) via the camera 32 after the camera 32 and the AP 34 execute the communication parameter sharing process using the QR code. When the camera 32 receives an instruction for wireless connection from the user, the camera 32 shifts to a mode in which photographing by the photographing unit 106 is possible. The camera 32 first executes the communication parameter sharing process of the first method with the AP 34 in order to obtain the authority for causing the printer 33 to participate. The camera 32 reads the QR code displayed or pasted on the AP 34 by the photographing unit 106 (F401). Note that the shooting in F401 may be performed in response to a user operation, or when it is detected that the QR code is within the angle of view of the shooting unit 106, shooting may be performed automatically. The camera 32 decodes the read QR code and acquires information indicated by the QR code. The camera 32 determines whether the information acquired by the QR code is information necessary for setting communication parameters.

ここで、通信パラメータの設定を行うために必要な情報とは、例えば、通信パラメータを通信する際に暗号化に用いる情報と装置の識別情報とである。通信パラメータを通信する際に暗号化に用いる情報は、公開鍵または証明書であってよい。なお、通信パラメータ共有処理の際に公開鍵を用いて通信パラメータを暗号通信する方法は、例えば、特開2014−230152公報に示す方法を用いればよい。   Here, the information necessary for setting the communication parameter is, for example, information used for encryption and communication device identification information when communicating the communication parameter. The information used for encryption when communicating the communication parameters may be a public key or a certificate. Note that, for example, a method disclosed in Japanese Patent Application Laid-Open No. 2014-230152 may be used as a method for performing cryptographic communication of communication parameters using a public key during communication parameter sharing processing.

また、QRコードに含まれる装置の識別情報は、機器を一意に識別するMACアドレスやUUIDであってよい。また、通信パラメータの設定を行うために必要な情報は、通信パラメータ共有処理を示す識別子であってもよい。その他、QRコードを用いたワンタイムパスワード方式などの識別情報が含まれていてもよい。なお、QRコードに通信パラメータの設定を行うために必要な情報が含まれていない場合、カメラ32は、処理をエラー終了してよい。   Further, the device identification information included in the QR code may be a MAC address or UUID that uniquely identifies the device. Further, the information necessary for setting the communication parameter may be an identifier indicating the communication parameter sharing process. In addition, identification information such as a one-time password method using a QR code may be included. If the QR code does not contain information necessary for setting communication parameters, the camera 32 may terminate the process with an error.

カメラ32はAP34のQRコードから読みとった情報に含まれる装置の識別情報を指定した検索信号を送信する(F402)。なお、カメラ32は、検索信号にQRコードから読みとった情報を含めて送信してよい。また、カメラ32は、QRコードの撮影を用いた通信パラメータ共有処理に対応していることを示す情報要素を付加した検索信号を送信するようにしてよい。また、カメラ32は、通信パラメータを提供する提供装置を検索するための情報要素が含まれた検索信号を送信するようにしてよい。また、検索信号は、IEEE802.11規格において規定されているプローブリクエストであってよい。   The camera 32 transmits a search signal specifying the device identification information included in the information read from the QR code of the AP 34 (F402). Note that the camera 32 may transmit the search signal including information read from the QR code. In addition, the camera 32 may transmit a search signal to which an information element indicating that the communication parameter sharing process using QR code imaging is supported is added. The camera 32 may transmit a search signal including an information element for searching for a providing device that provides communication parameters. Further, the search signal may be a probe request defined in the IEEE 802.11 standard.

AP34は、カメラ32からの検索信号を受信すると、検索信号に対する応答である応答信号を返信する(F403)。なお、AP34は、QRコードの撮影を用いた通信パラメータ共有処理に対応していることを示す情報要素を付加した応答信号を送信してよい。また、応答信号は、IEEE802.11規格において規定されているプローブレスポンスであってよい。   Upon receiving the search signal from the camera 32, the AP 34 returns a response signal that is a response to the search signal (F403). Note that the AP 34 may transmit a response signal to which an information element indicating that the communication parameter sharing processing using QR code imaging is supported is added. Further, the response signal may be a probe response defined in the IEEE 802.11 standard.

カメラ32は、AP34から応答信号を受信すると、AP34とカメラ32の間で通信パラメータ共有処理が実施される(F404)。ここで実施される通信パラメータ共有処理は、上述の第1方式である。カメラ32とAP34は、第1方式の通信パラメータ共有処理に応じて、第2方式の処理を実行する権限を確認する権限確認処理に用いるカメラ32の認証情報を共有する。また、カメラ32とAP34は、権限登録処理を実行したことを証明する情報であるAP34の認証情報を共有する。即ち、カメラ32は、AP34の認証情報を受信する。また、AP34は、カメラ32の認証情報を取得する。このように、カメラ32は、AP34のQRコードを撮影し、第1方式による通信パラメータ共有処理を実行することで、AP34に第2方式の通信パラメータ共有処理を実行する権限を有することを示す認証情報を送信して、登録させることができる。   When the camera 32 receives the response signal from the AP 34, a communication parameter sharing process is performed between the AP 34 and the camera 32 (F404). The communication parameter sharing process performed here is the first method described above. The camera 32 and the AP 34 share the authentication information of the camera 32 used for the authority confirmation process for confirming the authority to execute the process of the second system in accordance with the communication parameter sharing process of the first system. Further, the camera 32 and the AP 34 share the authentication information of the AP 34 that is information that proves that the authority registration process has been executed. That is, the camera 32 receives the authentication information of the AP 34. In addition, the AP 34 acquires authentication information of the camera 32. As described above, the camera 32 captures the QR code of the AP 34 and executes the communication parameter sharing process according to the first method, whereby the authentication indicating that the AP 34 has the authority to execute the communication parameter sharing process according to the second method. Information can be sent and registered.

ここで、認証情報は、第1方式の通信パラメータ共有処理において、通信パラメータを暗号通信する際に用いる公開鍵や証明書などの情報であってよい。また、認証情報には、装置を特定するための情報(例えばMACアドレスやUUIDなど)が含まれてもよい。また、AP34の認証情報は、AP34のQRコードにおいて符号化されていてもよい。   Here, the authentication information may be information such as a public key or a certificate that is used when the communication parameter is encrypted and communicated in the communication parameter sharing process of the first method. In addition, the authentication information may include information (for example, a MAC address or UUID) for specifying the device. Further, the authentication information of the AP 34 may be encoded in the QR code of the AP 34.

AP34は、このように、第1方式の通信パラメータ共有処理を行った相手装置にAP34の認証情報を提供することで、第2方式の通信パラメータ共有処理で他の装置に通信パラメータを設定させる権限を相手装置に与えたことを証明する情報を提供する。カメラ32は、AP34の認証情報を記憶する(F407)。また、AP34も、カメラ32の認証情報を記憶する。   In this way, the AP 34 provides the authentication information of the AP 34 to the partner apparatus that has performed the communication parameter sharing process of the first method, thereby allowing other apparatuses to set communication parameters in the communication parameter sharing process of the second method. Provides information that proves that the remote device is given. The camera 32 stores the authentication information of the AP 34 (F407). The AP 34 also stores the authentication information of the camera 32.

カメラ32は、AP34から通信パラメータを受信すると、当該通信パラメータを用いて、AP34が形成する無線ネットワーク31に接続し、無線ネットワーク31を介してデータ通信処理を実施する(F405)。   Upon receiving the communication parameter from the AP 34, the camera 32 connects to the wireless network 31 formed by the AP 34 using the communication parameter, and performs data communication processing via the wireless network 31 (F405).

以降では、AP34が、例えば、他の情報を記憶する際にメモリ容量が足りなくなってしまった等の理由によりに記憶したカメラ32の認証情報を削除した場合の説明を行う(F406)。カメラ32の認証情報をAP34が削除する他の理由として、保存してから一定期間が経過した場合や電源が切れて記憶された情報がリセットされてしまった場合等が挙げられる。また、AP34は、通信パラメータ共有処理が完了した場合に、認証情報を削除してもよい。   Hereinafter, a description will be given of a case where the stored authentication information of the camera 32 is deleted, for example, because the AP 34 has run out of memory capacity when storing other information (F406). Other reasons why the AP 34 deletes the authentication information of the camera 32 include a case where a certain period of time has elapsed since the storage, or a case where the stored information is reset after the power is turned off. Further, the AP 34 may delete the authentication information when the communication parameter sharing process is completed.

また、AP34によって形成される無線ネットワーク31にプリンタ33を参加させるため、カメラ32が第2方式による通信パラメータ共有処理を実行するものとして以降の説明を行う。カメラ32は、第2方式による通信パラメータ共有処理に実行をユーザにより指示された場合、撮影部106による撮影が可能なモードに移行する。そして、カメラ32は、プリンタ33に表示もしくは貼付されているQRコードを撮影部106により読み取る(F408)。なお、プリンタ33は、QRコードを表示させる場合、ユーザ指示に応じてQRコードを表示させるものとする。また、QRコードは、プリンタ33の表示部105に表示されていなくても良く、取扱説明書やその他の媒体に記載されていてもよい。   The following description will be made on the assumption that the camera 32 executes the communication parameter sharing process according to the second method in order to cause the printer 33 to participate in the wireless network 31 formed by the AP 34. When the user instructs the execution of the communication parameter sharing processing according to the second method, the camera 32 shifts to a mode in which shooting by the shooting unit 106 is possible. Then, the camera 32 reads the QR code displayed on or attached to the printer 33 by the photographing unit 106 (F408). In addition, when displaying the QR code, the printer 33 displays the QR code according to a user instruction. The QR code may not be displayed on the display unit 105 of the printer 33 and may be described in an instruction manual or other medium.

カメラ32は、読み取ったQRコードを復号し、そのQRコードが示す情報を取得する。カメラ32は、QRコードにより取得される情報が通信パラメータの設定を行うために必要な情報であるか否かを判定する。なお、カメラ32は、QRコードにより取得される情報が通信パラメータの設定を行うために必要な情報ではないと判定した場合、処理をエラー終了してもよい。   The camera 32 decodes the read QR code and acquires information indicated by the QR code. The camera 32 determines whether the information acquired by the QR code is information necessary for setting communication parameters. If the camera 32 determines that the information acquired by the QR code is not necessary information for setting the communication parameter, the camera 32 may terminate the process with an error.

QRコードの情報が通信パラメータの設定を行うために必要な情報である場合、カメラ32は、QRコードの情報に含まれるプリンタ33の識別情報を、通信パラメータの受信を要求する受信装置の情報として、提供装置であるAP34に通知する(F409)。なお、F409における通知では、QRコードに含まれる識別情報以外の情報も併せて通知してよい。例えば、F409において、QRコードに含まれる通信パラメータを暗号通信するための公開鍵等の暗号化情報を併せて通知してよい。   When the QR code information is information necessary for setting the communication parameter, the camera 32 uses the identification information of the printer 33 included in the QR code information as information on a receiving device that requests reception of the communication parameter. Then, the notification is sent to the AP 34 as the providing apparatus (F409). In the notification in F409, information other than the identification information included in the QR code may be notified together. For example, in F409, encryption information such as a public key for performing encryption communication of communication parameters included in the QR code may be notified together.

また、カメラ32とAP34は、第2方式の処理を実行する権限を有するか否かを確認する権限確認処理を行う(F410)。この権限確認処理は、第1方式の処理によりAP34に提供したカメラ32の認証情報に基づく処理であって、カメラ32からF409において送信された情報が示すプリンタ33に通信パラメータを提供するか否かをAP34が決定するための処理である。   In addition, the camera 32 and the AP 34 perform authority confirmation processing for confirming whether or not the user has authority to execute the processing of the second method (F410). This authority confirmation processing is processing based on the authentication information of the camera 32 provided to the AP 34 by the processing of the first method, and whether to provide communication parameters to the printer 33 indicated by the information transmitted from the camera 32 in F409. Is a process for the AP 34 to determine.

カメラ32は、AP34に権限確認処理の要求を行う。なお、カメラ32は、F409の通知により、AP34に権限確認処理の要求を行うようにしてもよい。権限確認処理では、まず、カメラ32とAP34が、乱数を共有する。この乱数はカメラ32により生成されてもよいしAP34により生成されてもよい。そして、カメラ32は、乱数に対して自装置の認証情報を用いた所定の計算を実施し、ハッシュ値を求める。カメラ32は、計算結果であるハッシュ値をAP34に送信する。なお、カメラ32は、計算結果であるハッシュ値をAP34に送信することでAP34に認証処理の要求を行うようにしてもよい。   The camera 32 requests the AP 34 for authority confirmation processing. Note that the camera 32 may make a request for authority confirmation processing to the AP 34 by the notification of F409. In the authority confirmation process, first, the camera 32 and the AP 34 share a random number. This random number may be generated by the camera 32 or the AP 34. Then, the camera 32 performs a predetermined calculation using the authentication information of its own device on the random number to obtain a hash value. The camera 32 transmits a hash value as a calculation result to the AP 34. The camera 32 may make a request for authentication processing to the AP 34 by transmitting a hash value as a calculation result to the AP 34.

また、AP34は、F409の受信装置通知の送信元であるカメラ32の認証情報を保持しているか否かを判断する。受信装置通知の送信元であるカメラ32の認証情報を保持していない場合は、AP34は、処理結果をカメラ32は権限を有さないとして権限確認処理を終了する。一方、受信装置通知の送信元であるカメラ32の認証情報を保持している場合は、AP34は、カメラ32と共有した乱数に対して保持しているカメラ32の認証情報を用いた所定の計算を実施し、ハッシュ値を求める。なお、乱数に対して実施する所定の計算は、カメラ32が実施する計算と同一であるとする。AP34は、カメラ32から受信したハッシュ値と自身の計算結果であるハッシュ値が同じ値で一致すれば、処理結果をカメラ32は権限を有するとし、権限確認処理を終了する。また、AP34は、カメラ32から受信したハッシュ値と計算したハッシュ値が異なる値であれば、処理結果をカメラ32は権限を有さないとし、権限確認処理を終了する。なお、上述したようにAP34は、カメラ32の認証情報を削除してしまい、認証情報を保持していないため、F410の処理結果は権限を有さないとなる。   In addition, the AP 34 determines whether or not the authentication information of the camera 32 that is the transmission source of the notification of the reception device F409 is held. If the authentication information of the camera 32 that is the transmission source of the reception device notification is not held, the AP 34 determines that the camera 32 does not have the authority and terminates the authority confirmation process. On the other hand, when the authentication information of the camera 32 that is the transmission source of the reception device notification is held, the AP 34 performs a predetermined calculation using the authentication information of the camera 32 held for the random number shared with the camera 32. To obtain a hash value. Note that the predetermined calculation performed on the random number is the same as the calculation performed by the camera 32. If the hash value received from the camera 32 and the hash value that is the calculation result of the AP 34 match with the same value, the AP 34 determines that the camera 32 has the authority and terminates the authority confirmation process. If the hash value received from the camera 32 is different from the calculated hash value, the AP 34 determines that the camera 32 does not have authority for the processing result and ends the authority confirmation processing. As described above, since the AP 34 deletes the authentication information of the camera 32 and does not hold the authentication information, the processing result of F410 is not authorized.

AP34は、権限確認処理の処理結果をカメラ32に通知する(F411)。この処理結果には、権限の有無を示す情報が含まれる。なお、権限確認処理の処理結果には、認証譲情報を有していない、または、計算結果が一致しないなどの権限を有さないと判断された理由に関する情報を含めるようにしてもよい。AP34は、F406にてカメラ32の認証情報を削除しているため、F411において、権限を有さないことを示す情報が含まれる処理結果をカメラ32に通知する。   The AP 34 notifies the processing result of the authority confirmation process to the camera 32 (F411). This processing result includes information indicating the presence or absence of authority. Note that the processing result of the authority confirmation process may include information on the reason why it is determined that the user does not have the authorization transfer information or the calculation result does not match. Since the AP 34 deletes the authentication information of the camera 32 in F406, the AP 34 notifies the camera 32 of the processing result including information indicating that the user does not have authority in F411.

カメラ32は、AP34から受信した処理結果情報を参照して、権限を有するか否かを判定する(F412)。カメラ32は、第1方式の処理を行った相手であり、自装置の認証情報を登録させたAP34から権限を有さないことを通知された場合、権限登録処理を行ったことを示す権限証明通知を送信する(F413)。なお、権限証明通知は、権限登録処理を行った際にAP34から受信したAP34の認証情報が含まれている。また、権限証明通知に、AP34から受信したAP34の認証情報を含めることとしたが他の情報であってもよい。例えば、権限証明通知は、AP34のQRコードに含まれる情報であってよい。   The camera 32 refers to the processing result information received from the AP 34 and determines whether or not it has authority (F412). When the camera 32 is a partner who has performed the process of the first method and is notified that the AP 34 that has registered the authentication information of the own apparatus has no authority, the authority certificate indicating that the authority registration process has been performed. A notification is transmitted (F413). The authority certification notification includes the authentication information of the AP 34 received from the AP 34 when the authority registration process is performed. In addition, the authentication information of the AP 34 received from the AP 34 is included in the authority certification notification, but other information may be used. For example, the authority certification notification may be information included in the QR code of the AP 34.

また、カメラ32は、自装置の認証情報を再度AP34に登録させるために、権限証明通知に、自装置の認証情報を含める。なお、権限証明通知とは異なるメッセージによりカメラ32は、自装置の認証情報を再度AP34に送信するようにしてもよい。   Further, the camera 32 includes the authentication information of the own device in the authority certification notification in order to cause the AP 34 to register the authentication information of the own device again. Note that the camera 32 may transmit the authentication information of its own device to the AP 34 again by a message different from the authority certification notification.

AP34は、カメラ32から権限証明通知を受信した場合、カメラ32と権限登録処理である第1方式による通信パラメータ共有が実行したことを認識できる。したがって、AP34は、カメラ32が第2方式の処理において中継装置として動作する権限を有していることを確認できる。AP34は、権限証明通知を受信すると、再配布されたカメラ32の認証情報を再度登録して、権限確認処理を再度行うことを判定する。   When the AP 34 receives the authority certification notification from the camera 32, the AP 34 can recognize that the communication parameter sharing by the first method, which is the authority registration process, with the camera 32 has been executed. Therefore, the AP 34 can confirm that the camera 32 has the authority to operate as a relay device in the second method. Upon receiving the authority certification notification, the AP 34 re-registers the authentication information of the redistributed camera 32 and determines to perform the authority confirmation process again.

カメラ32とAP34は、F413において通信されたカメラ32の認証情報に基づいて再度権限確認処理を行う(F414)。F414における権限確認処理は、AP34は、F413において受信したカメラ32の認証情報を保持しているため、カメラ32が権限を有していることを確認できる。AP34は、権限を有していることを示す処理結果をカメラ32に通知する(F415)。なお、権限証明通知を通信した場合、再度権限確認処理を行うものとしたが、権限確認処理を省略してもよい。即ち、F414とF415を省略してもよい。   The camera 32 and the AP 34 perform the authority confirmation process again based on the authentication information of the camera 32 communicated in F413 (F414). In the authority confirmation process in F414, since the AP 34 holds the authentication information of the camera 32 received in F413, it can be confirmed that the camera 32 has the authority. The AP 34 notifies the camera 32 of the processing result indicating that it has authority (F415). Note that when the authority certification notification is communicated, the authority confirmation process is performed again, but the authority confirmation process may be omitted. That is, F414 and F415 may be omitted.

AP34は、カメラ32が権限を有していることを確認したため、カメラ32から通知された識別情報が示す装置(プリンタ33)と通信パラメータ共有処理を実施する(F416)。プリンタ33は、AP34から通信パラメータを受信すると、当該通信パラメータを用いて、AP34が形成する無線ネットワーク31に接続し、無線ネットワーク31を介してデータ通信処理を実施する(F417)。   Since the AP 34 has confirmed that the camera 32 has authority, the AP 34 performs communication parameter sharing processing with the device (printer 33) indicated by the identification information notified from the camera 32 (F416). Upon receiving the communication parameter from the AP 34, the printer 33 connects to the wireless network 31 formed by the AP 34 using the communication parameter, and performs data communication processing via the wireless network 31 (F417).

このように、カメラ32は、第2方式による通信パラメータの設定を行うための権限を有さないことを通知されても、権限登録処理である第1方式の処理を再び行うことなく認権限証明通知をAP34に送信する。したがって、カメラ32は、第1方式の処理を再度行って、認証情報をAP34に登録させる手間を低減して、第2方式による通信パラメータの設定を行い、プリンタ33を無線ネットワークに参加させることができる。   In this way, even if the camera 32 is notified that it does not have the authority to set the communication parameters according to the second method, the authorization authority proof is obtained without performing the first method process, which is the authority registration process, again. A notification is sent to the AP 34. Therefore, the camera 32 can perform the process of the first method again, reduce the trouble of registering the authentication information in the AP 34, set the communication parameter by the second method, and allow the printer 33 to participate in the wireless network. it can.

即ち、上述の処理によれば、カメラ32は、AP34のQRコードの撮影をユーザ操作に応じて行って、第1方式の処理により認証情報をAP34に登録する。そして、カメラ32は、第1方式の処理により認証情報を登録したにも拘わらず、AP34から権限を有することを認められなった場合、AP34のQRコードの再撮影を行わなくても、認証情報をAP34に再度登録することができる。したがって、カメラ32は権限確認処理により、権限を有さないと通知された場合に、権限証明通知を通知するので、権限を獲得すために再度権限登録処理を行う必要がない。したがって、カメラ32は、プリンタ33をネットワークに参加させるまでの時間の低減および再度権限登録処理を行う煩わしさの低減を行うことができる。   That is, according to the above-described processing, the camera 32 captures the QR code of the AP 34 according to the user operation, and registers the authentication information in the AP 34 by the processing of the first method. If the camera 32 is not authorized by the AP 34 in spite of having registered the authentication information by the process of the first method, the authentication information can be obtained without re-taking the QR code of the AP 34. Can be registered again in the AP 34. Therefore, when the camera 32 is notified by the authority confirmation process that it has no authority, the camera 32 notifies the authority certification notification, so that it is not necessary to perform the authority registration process again to acquire the authority. Therefore, the camera 32 can reduce the time until the printer 33 participates in the network and the troublesomeness of performing the authority registration process again.

続いて、カメラ32が通信パラメータ共有処理を実行する際の動作を図5および図6に示すフローチャートに従って説明する。図5のフローチャートは、入力部109を介してユーザから通信パラメータ共有処理の開始が指示された後に開始される。   Next, the operation when the camera 32 executes the communication parameter sharing process will be described with reference to the flowcharts shown in FIGS. The flowchart of FIG. 5 is started after the user is instructed to start the communication parameter sharing process via the input unit 109.

また図5及び図6に示すフローチャートは、制御部102が記憶部103に記憶されたコンピュータプログラムを読み出して実行することにより行われる処理の流れを示す。なお、図5及び図6に示すフローチャートに示すステップの一部または全部を例えばASIC等のハードウェアで実現する構成としてもよい。   The flowcharts shown in FIGS. 5 and 6 show the flow of processing performed when the control unit 102 reads out and executes the computer program stored in the storage unit 103. Note that a part or all of the steps shown in the flowcharts shown in FIGS. 5 and 6 may be realized by hardware such as an ASIC.

カメラ32は、入力部109の操作に応じて、通信パラメータ設定モードとなるために、通信パラメータ設定アプリケーションを起動する。アプリケーション起動後、通信パラメータ設定モードを起動しておく所定期間(例えば、2分)を計時する監視タイマ(非図示)を起動する(S501)。次にカメラ32は、撮影部106により、通信パラメータの設定を行うために必要な情報を符号化したQRコードを読み取ったか否かを判定する(S502)。例えば、通信パラメータそのもの、装置の識別情報、通信パラメータ共有処理の識別情報、通信パラメータを暗号通信するための暗号化情報等である。なお、S502における撮影は、ユーザ操作に応じて行われてもよいし、撮影部106の画角内にQRコードがあることを検出した場合、自動で撮影が行われてもよい。   The camera 32 activates the communication parameter setting application in order to enter the communication parameter setting mode according to the operation of the input unit 109. After the application is activated, a monitoring timer (not shown) that times a predetermined period (for example, 2 minutes) during which the communication parameter setting mode is activated is activated (S501). Next, the camera 32 determines whether the photographing unit 106 has read a QR code obtained by encoding information necessary for setting communication parameters (S502). For example, the communication parameter itself, device identification information, communication parameter sharing processing identification information, encryption information for encryption communication of communication parameters, and the like. Note that the imaging in S502 may be performed in response to a user operation, or when it is detected that a QR code is within the angle of view of the imaging unit 106, the imaging may be performed automatically.

カメラ32は、撮影部106により、通信パラメータの設定を行うために必要な情報が符号化されたQRコードを読み取っていない場合、S501で設定したタイマがタイムアウトするまでQRコードの撮影を行う(S508)。なお、カメラ32は、通信パラメータの設定を行うために必要な情報が含まれないQRコードを撮影した場合、エラー終了してもよいし、再度撮影を行うようにしてもよい。なお、S501において起動したタイマがタイムアウトした場合(S508でYes)、表示部105にエラーを表示し(S510)処理をエラー終了する。   If the camera 32 has not read a QR code in which information necessary for setting communication parameters is encoded by the image capturing unit 106, the camera 32 captures the QR code until the timer set in S501 times out (S508). ). Note that the camera 32 may end in an error or take a picture again when taking a QR code that does not include information necessary for setting communication parameters. If the timer activated in S501 has timed out (Yes in S508), an error is displayed on the display unit 105 (S510), and the process ends in error.

カメラ32は、撮影部106により、通信パラメータの設定を行うために必要な情報が符号化されたQRコードを読み取った場合、第1方式または第2方式の通信パラメータ共有処理を実行するかを判定する(S503)。S503の判定は、ユーザによる指示に基づいて行われてよい。また、カメラ32が上述の第2装置として登録した提供装置と接続中にQRコードを読み取った場合、第2方式の通信パラメータ共有処理を実行すると判定してよい。また、カメラ32が何れの装置とも接続していない場合、第1方式の通信パラメータ共有処理を実行すると判定してよい。また、カメラ32が上述の第2装置として何れの装置も登録していない場合、即ち、第1方式を未だ実行していない場合、第1方式の通信パラメータ共有処理を実行すると判定してよい。   The camera 32 determines whether to execute the communication parameter sharing process of the first method or the second method when the photographing unit 106 reads a QR code in which information necessary for setting communication parameters is encoded. (S503). The determination in S503 may be performed based on an instruction from the user. Further, when the QR code is read while the camera 32 is connected to the providing apparatus registered as the second apparatus described above, it may be determined that the communication parameter sharing process of the second method is executed. Further, when the camera 32 is not connected to any device, it may be determined to execute the communication parameter sharing process of the first method. If no device is registered as the second device described above, that is, if the first method is not yet executed, it may be determined that the communication parameter sharing process of the first method is executed.

S503において、第1方式の通信パラメータ共有処理を実行すると判定された場合、読みとったQRコードの情報に含まれる識別情報が示す提供装置を検索する(S504)。S504では、カメラ32は、QRコードの情報に含まれる識別情報を指定した検索信号を無線部104により送信する。カメラ32は、読みとったQRコードの情報に含まれる識別情報が示す提供装置から検索信号に対する応答信号を無線部104により受信したか否かを判定する(S505)。   If it is determined in S503 that the communication parameter sharing process of the first method is to be executed, the providing device indicated by the identification information included in the read QR code information is searched (S504). In S <b> 504, the camera 32 transmits a search signal designating identification information included in the QR code information by the wireless unit 104. The camera 32 determines whether or not the wireless unit 104 has received a response signal to the search signal from the providing device indicated by the identification information included in the read QR code information (S505).

カメラ32は、S501で起動したタイマがタイムアウトするまでに読みとったQRコードの情報に含まれる識別情報が示す提供装置から応答信号を受信せず、該提供装置を検出できない場合(S509でNo)、S510に処理を進める。   When the camera 32 does not receive a response signal from the providing device indicated by the identification information included in the QR code information read before the timer started in S501 times out and cannot detect the providing device (No in S509), The process proceeds to S510.

カメラ32は、読みとったQRコードの情報に含まれる識別情報が示す提供装置から応答信号を受信した場合、第2方式を実行する権限を得るための権限登録処理である提供装置と通信パラメータ共有処理を行う(S506)。また、カメラ32は、第2方式の処理を実行するための権限を有することを登録させるために、自装置の認証情報を提供装置に送信する。また、カメラ32は、権限登録処理を提供装置と実行したことを示す提供装置の認証情報を提供装置から受信する。   When the camera 32 receives a response signal from the providing apparatus indicated by the identification information included in the read QR code information, the camera 32 and the communication parameter sharing process which is an authority registration process for obtaining the authority to execute the second method (S506). Further, the camera 32 transmits the authentication information of its own device to the providing device in order to register that it has the authority to execute the process of the second method. Further, the camera 32 receives authentication information of the providing device indicating that the authority registration process has been executed with the providing device from the providing device.

カメラ32は、権限登録処理を提供装置と実行したことを示す情報である提供装置の認証情報を記憶部103に記憶する(S507)。また、カメラ32は、自装置の認証情報を提供装置に登録する。   The camera 32 stores authentication information of the providing device, which is information indicating that the authority registration process has been executed with the providing device, in the storage unit 103 (S507). Further, the camera 32 registers the authentication information of the own device in the providing device.

一方、S503において、第2方式の通信パラメータ共有処理を実行すると判定された場合、カメラ32は提供装置と接続中であるか否かを判定する(S600)。提供装置と接続中ではない場合、カメラ32は、例えば、「提供装置と接続を行ってください」とのエラー表示を行って処理を終了する(S612)。また、S600において、提供装置と接続中ではないと判定された場合、カメラ32は、前述した第2装置として登録してある提供装置と接続し、S601へ処理を進めてもよい。なお、S600では、カメラ32は、第2装置として登録してある提供装置の有無を判定し、第2装置として登録してある提供装置が1台もない場合、「提供装置と第1方式による処理を実行してください」とのエラー表示を行って処理をエラー終了してもよい。   On the other hand, if it is determined in S503 that the communication parameter sharing process of the second method is executed, it is determined whether the camera 32 is connected to the providing apparatus (S600). If the camera 32 is not connected to the providing device, the camera 32 displays an error message such as “Please connect with the providing device” and ends the processing (S612). If it is determined in S600 that the connection with the providing apparatus is not established, the camera 32 may connect to the providing apparatus registered as the second apparatus described above, and the process may proceed to S601. In S600, the camera 32 determines whether or not there is a providing device registered as the second device, and if there is no providing device registered as the second device, “the providing device and the first method” are used. The process may end in error by displaying an error message "Please execute the process."

S600において、提供装置と接続中であると判定された場合、カメラ32は、QRコードに含まれる装置の識別情報を、接続中の提供装置に、通信パラメータの受信を要求する受信装置の情報として、無線部104により通知する(S601)。即ち、カメラ32は、QRコードに含まれる識別情報が示す装置に通信パラメータを提供するように提供装置に要求する。なお、S601における通知では、QRコードに含まれる識別情報以外の情報も併せて通知してよい。例えば、QRコードに含まれる通信パラメータを暗号通信するための公開鍵等の暗号化情報を併せて通知してよい。   If it is determined in S600 that the device is connected to the providing device, the camera 32 uses the identification information of the device included in the QR code as information on the receiving device that requests the connected providing device to receive communication parameters. Then, the wireless unit 104 notifies (S601). That is, the camera 32 requests the providing device to provide the communication parameter to the device indicated by the identification information included in the QR code. In the notification in S601, information other than the identification information included in the QR code may be notified together. For example, encryption information such as a public key for cryptographic communication of communication parameters included in the QR code may be notified together.

また、カメラ32は、第2方式の処理を実行するための権限を有することを提供装置に証明するための権限確認処理を行う(S602)。S602の権限確認処理では、F410の処理において説明したように、カメラ32は、自装置の認証情報に基づく計算結果を提供装置に送信する。そして、提供装置は、自装置で同様に行った計算結果とカメラ32から受信した計算結果とを比較し、それらの一致を判断する。   In addition, the camera 32 performs an authority confirmation process for proving to the providing apparatus that it has the authority to execute the process of the second method (S602). In the authority confirmation process of S602, as described in the process of F410, the camera 32 transmits a calculation result based on the authentication information of the own apparatus to the providing apparatus. Then, the providing apparatus compares the calculation result similarly performed by the own apparatus with the calculation result received from the camera 32, and determines a match between them.

カメラ32は、権限確認処理の処理結果を提供装置から受信したか否かを判定する(S603)。カメラ32は、S501で起動したタイマがタイムアウトするまでに提供装置から処理結果を受信しない場合(S603でNo)、表示部105にエラーを表示する(S610)。また、カメラ32は、読みとったQRコードの情報に含まれる識別情報が示す受信装置に対し、通信パラメータ共有処理が失敗したことを示すエラー情報を無線部104により送信する(S611)。   The camera 32 determines whether or not the processing result of the authority confirmation process has been received from the providing device (S603). If the camera 32 does not receive a processing result from the providing apparatus before the timer started in S501 times out (No in S603), the camera 32 displays an error on the display unit 105 (S610). In addition, the camera 32 transmits error information indicating that the communication parameter sharing processing has failed to the receiving device indicated by the identification information included in the read QR code information by the wireless unit 104 (S611).

カメラ32は、権限確認処理の処理結果を提供装置から受信した場合、その処理結果情報を参照し(S604)、提供装置におけるカメラ32が権限の有無の確認結果を判定する(S605)。   When receiving the processing result of the authority confirmation process from the providing device, the camera 32 refers to the processing result information (S604), and determines the confirmation result of whether the camera 32 in the providing device has the authority (S605).

カメラ32は、権限確認処理により権限を有すると通知された場合、処理を終了する。なお、この場合、提供装置とQRコードの情報に含まれる識別情報が示す受信装置との間で通信パラメータ共有処理が実行される。   When the camera 32 is notified of the authority by the authority confirmation process, the process ends. In this case, a communication parameter sharing process is executed between the providing apparatus and the receiving apparatus indicated by the identification information included in the QR code information.

一方、カメラ32は、権限確認処理により権限を有すると通知された場合、S507にて記憶部103に記憶した提供装置の認証情報を含む権限証明通知を送信する(S606)。また、カメラ32は、権限証明通知に自装置の認証情報を含めて無線部104により送信する。つまり、AP34が削除してしまった、カメラ32が権限を有することを示す情報であるカメラ32の認証情報(例えば、公開鍵や証明書などの情報や装置を特定する情報)をカメラ32がAP34に再配布する。   On the other hand, when the camera 32 is notified of the authority by the authority confirmation process, the camera 32 transmits an authority certification notification including the providing device authentication information stored in the storage unit 103 in S507 (S606). In addition, the camera 32 transmits the authority certification notification including the authentication information of the own device by the wireless unit 104. In other words, the camera 32 authenticates the authentication information of the camera 32 (for example, information such as a public key or a certificate or information for specifying a device) that has been deleted by the AP 34 and indicates that the camera 32 has authority. Redistribute to

カメラ32は、権限証明通知の送信に応じて、S602と同様に提供装置と権限確認処理を再度実行する(S607)。カメラ32は、受信した権限確認処理の処理結果に基づいて権限の有無を判定する(S608)。権限を有することを通知された場合、提供装置とQRコードの情報に含まれる識別情報が示す受信装置との間で通信パラメータ共有処理が実行される。権限を有することを通知された場合、カメラ32は、S610に処理を進める。なお、権限証明通知を送信した場合、S607の権限確認処理は省略して処理を終了してもよい。   In response to the transmission of the authority certification notification, the camera 32 executes the authority confirmation process with the providing apparatus again in the same manner as in S602 (S607). The camera 32 determines the presence / absence of authority based on the processing result of the received authority confirmation process (S608). When notified of the authorization, a communication parameter sharing process is executed between the providing apparatus and the receiving apparatus indicated by the identification information included in the QR code information. If notified that the user has authority, the camera 32 advances the process to step S610. When the authority certification notification is transmitted, the authority confirmation process in S607 may be omitted and the process may be terminated.

以上のように、本実施形態によれば、QRコードにより通信パラメータの設定を行う装置において、第2方式のための権限確認処理により権限を有さないことを提供装置から通知された場合、権限登録処理を行ったことを示す情報を提供装置に自立的に送信する。したがって、再度ユーザにQRコードを読み取らせ、再度権限登録処理を行う必要がなくなるため、利便性が向上する。即ち、本実施形態によれば、カメラ32は、AP34のQRコードの撮影をユーザ操作に応じて行って、第2方式の処理の実行権限をAP34に登録する。そして、カメラ32は、第2方式の処理の実行権限を得たにも拘わらず、AP34から権限がないことを通知された場合、AP34のQRコードの撮影を再度行わなくても、第2方式の処理の実行権限を有することをAP34に証明することができる。したがって、プリンタ33をネットワークに参加させる際にQRコードを再撮影する手間や時間を削減することができる。   As described above, according to the present embodiment, in a device that sets communication parameters using a QR code, when the providing device notifies that there is no authority through the authority confirmation process for the second method, Information indicating that the registration process has been performed is independently transmitted to the providing apparatus. This eliminates the need for the user to read the QR code again and perform the authority registration process again, thereby improving convenience. That is, according to the present embodiment, the camera 32 captures the QR code of the AP 34 in accordance with a user operation, and registers the execution authority of the second method in the AP 34. When the camera 32 is notified of the absence of authority from the AP 34 even though the execution authority of the second system is obtained, the camera 32 does not have to capture the QR code of the AP 34 again. It is possible to prove to the AP 34 that the user has the authority to execute the process. Therefore, it is possible to reduce time and effort for re-taking the QR code when the printer 33 is joined to the network.

(その他の実施形態)
また、上述の実施形態においては、QRコードの画像撮影を利用して通信パラメータの設定を行うための情報を装置間でやり取りする構成について説明した。しかし、QRコードの撮影に代えて、NFCやBluetooth(登録商標)などの無線通信を用いてもよい。また、IEEE802.11adもしくはTransferJet(登録商標)等の無線通信を用いてもよい。
(Other embodiments)
Further, in the above-described embodiment, a configuration has been described in which information for setting communication parameters is exchanged between apparatuses using QR code image capturing. However, wireless communication such as NFC or Bluetooth (registered trademark) may be used instead of taking a QR code. Further, wireless communication such as IEEE802.11ad or TransferJet (registered trademark) may be used.

なお、読みとるQRコードは表示部に表示されているQRコードだけではなく、通信機器の筺体にシールなどの形態で貼り付けられているQRコードであってよい。また、読みとるQRコードは取り扱い説明書や通信機器の販売時の段ボールなどの包装に貼り付けられているものであってもよい。また、QRコードでなく、バーコード、二次元コードであってもよい。また、QRコードなどの機械が読み取り可能な情報に代えて、ユーザが読みとれる形式の情報であってもよい。   The QR code to be read is not limited to the QR code displayed on the display unit, but may be a QR code attached to the housing of the communication device in a form such as a seal. Further, the QR code to be read may be affixed to a packaging such as an instruction manual or cardboard at the time of sales of communication equipment. Further, instead of the QR code, a bar code or a two-dimensional code may be used. Further, instead of information that can be read by a machine such as a QR code, information in a format that can be read by the user may be used.

また、各実施形態において、装置間の通信をIEEE802.11準拠の無線LAN通信により行う場合について説明したが、これに限る物ではない。例えば、ワイヤレスUSB、MBOA、Bluetooth(登録商標)、UWB、ZigBee、NFC等の無線通信媒体を用いて実施してもよい。ここで、MBOAは、Multi Band OFDM Allianceの略である。また、UWBは、ワイヤレスUSB、ワイヤレス1394、WINETなどが含まれる。   In each embodiment, the case where communication between apparatuses is performed by wireless LAN communication conforming to IEEE 802.11 has been described. However, the present invention is not limited to this. For example, you may implement using wireless communication media, such as wireless USB, MBOA, Bluetooth (trademark), UWB, ZigBee, and NFC. Here, MBOA is an abbreviation for Multi Band OFDM Alliance. UWB includes wireless USB, wireless 1394, WINET, and the like.

本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

31 無線LANネットワーク
32 カメラ32
33 プリンタ33
34 AP34
31 Wireless LAN network 32 Camera 32
33 Printer 33
34 AP34

Claims (9)

通信装置であって、
撮影された画像から装置に関する情報を取得する取得手段と、
無線ネットワークに参加するための通信パラメータを提供する提供装置に、前記取得手段により取得した情報が示す他の通信装置への通信パラメータの提供を要求する要求手段と、
前記他の通信装置への通信パラメータの提供を前記要求に応じて前記提供装置に行わせるための権限を得るため、かつ、前記権限を有することを前記提供装置に登録するための所定の処理を前記提供装置と実行する実行手段と、
前記所定の処理を前記実行手段により実行した場合、前記所定の処理を前記提供装置と実行したことを示す第1情報を前記提供装置から受信する第1受信手段と、
前記要求手段による要求を行った場合、前記通信装置の前記権限の有無を示す第2情報を前記提供装置から受信する第2受信手段と、
前記所定の処理を前記実行手段により実行した後に、前記第2受信手段により受信した前記第2情報が、前記通信装置が前記権限を有さないことを示す場合、前記第1受信手段により受信した前記第1情報を前記提供装置に送信する送信手段と、
前記通信装置は、前記送信手段による送信を行うことで、前記実行手段により前記所定の処理を再度行うことなく、前記他の通信装置への通信パラメータの提供を前記提供装置に行わせることを特徴とする通信装置。
A communication device,
Acquisition means for acquiring information about the device from the captured image;
Request means for requesting a providing apparatus that provides communication parameters for participating in a wireless network to provide communication parameters to another communication apparatus indicated by the information obtained by the obtaining means;
Predetermined processing for obtaining authority to cause the providing apparatus to provide the communication parameter to the other communication apparatus in response to the request and registering the authority to the providing apparatus. Execution means for executing with the providing device;
A first receiving means for receiving, from the providing apparatus, first information indicating that the predetermined process has been executed with the providing apparatus when the predetermined process is executed by the executing means;
A second receiving means for receiving, from the providing apparatus, second information indicating the presence or absence of the authority of the communication device when making a request by the requesting means;
When the second information received by the second receiving means indicates that the communication device does not have the authority after the predetermined processing is executed by the executing means, the second receiving means has received the first processing by the first receiving means. Transmitting means for transmitting the first information to the providing device;
The communication device causes the providing device to provide communication parameters to the other communication device without performing the predetermined process again by the execution unit by performing transmission by the transmission unit. A communication device.
前記第2受信手段により受信した前記第2情報が、前記通信装置が前記権限を有することを示す場合、前記提供装置は、前記他の通信装置に通信パラメータを提供し、
前記受信手段により受信した情報が、前記通信装置が前記権限を有さないことを示す場合、前記提供装置は、前記他の通信装置に通信パラメータを提供しないことを特徴とする請求項1に記載の通信装置。
If the second information received by the second receiving means indicates that the communication device has the authority, the providing device provides communication parameters to the other communication device;
2. The providing device does not provide communication parameters to the other communication device when the information received by the receiving unit indicates that the communication device does not have the authority. Communication equipment.
前記実行手段は、第1画像から前記取得手段により取得した前記提供装置に関する情報に基づいて、当該提供装置から通信パラメータの受信を行う前記所定の処理により、前記権限を得ることを特徴とする請求項1または2に記載の通信装置。   The execution unit obtains the authority by the predetermined process of receiving communication parameters from the providing device based on information on the providing device acquired by the acquiring unit from the first image. Item 3. The communication device according to Item 1 or 2. 第1画像から前記取得手段により取得した前記提供装置に関する情報に基づいて、当該提供装置から通信パラメータの受信を行う前記所定の処理を前記実行手段により実行する場合、前記通信装置は、前記所定の処理を前記提供装置と実行したことを示す情報を前記提供装置から受信することを特徴とする請求項1乃至3の何れか1項に記載の通信装置。   When executing the predetermined process of receiving communication parameters from the providing apparatus based on information about the providing apparatus acquired by the acquiring unit from the first image, the communication apparatus is configured to execute the predetermined process. The communication apparatus according to claim 1, wherein information indicating that processing has been executed with the providing apparatus is received from the providing apparatus. 画像を撮影する撮影手段を有し、
前記取得手段は、バーコード、二次元コードまたはQRコードを前記撮影手段により撮影した画像から情報を取得することを特徴とする請求項1乃至4の何れか1項に記載の通信装置。
Having a photographing means for photographing an image;
5. The communication apparatus according to claim 1, wherein the obtaining unit obtains information from an image obtained by photographing a barcode, a two-dimensional code, or a QR code by the photographing unit.
前記通信パラメータは、SSID、暗号鍵、暗号方式、認証鍵、認証方式のうち少なくとも何れか一つを含むことを特徴とする請求項1乃至5の何れか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication parameter includes at least one of an SSID, an encryption key, an encryption method, an authentication key, and an authentication method. 前記通信パラメータは、IEEE802.11規格に準拠した通信を行うための情報であることを特徴とする請求項1乃至6の何れか1項に記載の通信装置。   The communication apparatus according to claim 1, wherein the communication parameter is information for performing communication conforming to the IEEE 802.11 standard. 通信装置の制御方法であって、
撮影された画像から装置に関する情報を取得する取得工程と、
無線ネットワークに参加するための通信パラメータを提供する提供装置に、前記取得工程において取得した情報が示す他の通信装置への通信パラメータの提供を要求する要求工程と、
前記他の通信装置への通信パラメータの提供を前記要求に応じて前記提供装置に行わせるための権限を得るため、かつ、前記権限を有することを前記提供装置に登録するための所定の処理を前記提供装置と実行する実行工程と、
前記所定の処理を前記実行工程において実行した場合、前記所定の処理を前記提供装置と実行したことを示す第1情報を前記提供装置から受信する第1受信工程と、
前記要求工程における要求を行った場合、前記通信装置の前記権限の有無を示す第2情報を前記提供装置から受信する第2受信工程と、
前記所定の処理を前記実行工程において実行した後に、前記第2受信工程において受信した前記第2情報が、前記通信装置が前記権限を有さないことを示す場合、前記第1受信工程において受信した前記第1情報を前記提供装置に送信する送信工程と、を有し、
前記通信装置は、前記送信工程を行うことで、前記所定の処理を再度行うことなく、前記他の通信装置への通信パラメータの提供を前記提供装置に行わせることを特徴とする通信装置の制御方法。
A communication device control method comprising:
An acquisition step of acquiring information about the device from the captured image;
A requesting step for requesting a providing device that provides communication parameters for participating in a wireless network to provide communication parameters to other communication devices indicated by the information obtained in the obtaining step;
Predetermined processing for obtaining authority to cause the providing apparatus to provide the communication parameter to the other communication apparatus in response to the request and registering the authority to the providing apparatus. An execution step to be executed with the providing device;
A first receiving step of receiving, from the providing device, first information indicating that the predetermined processing has been executed with the providing device when the predetermined processing is executed in the executing step;
A second receiving step of receiving, from the providing device, second information indicating the presence or absence of the authority of the communication device when making a request in the requesting step;
When the second information received in the second receiving step after executing the predetermined process in the executing step indicates that the communication device does not have the authority, the second information is received in the first receiving step. Transmitting the first information to the providing device, and
The communication apparatus controls the communication apparatus by causing the providing apparatus to provide communication parameters to the other communication apparatus without performing the predetermined process again by performing the transmission step. Method.
請求項1乃至7の何れか1項に記載の通信装置としてコンピュータを動作させるためのプログラム。   A program for operating a computer as the communication apparatus according to claim 1.
JP2015094344A 2015-05-01 2015-05-01 Communication device, control method, program of communication device Pending JP2016213614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015094344A JP2016213614A (en) 2015-05-01 2015-05-01 Communication device, control method, program of communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015094344A JP2016213614A (en) 2015-05-01 2015-05-01 Communication device, control method, program of communication device

Publications (1)

Publication Number Publication Date
JP2016213614A true JP2016213614A (en) 2016-12-15

Family

ID=57552146

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015094344A Pending JP2016213614A (en) 2015-05-01 2015-05-01 Communication device, control method, program of communication device

Country Status (1)

Country Link
JP (1) JP2016213614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021048585A (en) * 2019-09-19 2021-03-25 ヒュエンテク インコーポレーテッドHuantech Inc. Vehicle hub system supporting communication with vehicle owner and vehicle owner calling method using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021048585A (en) * 2019-09-19 2021-03-25 ヒュエンテク インコーポレーテッドHuantech Inc. Vehicle hub system supporting communication with vehicle owner and vehicle owner calling method using the same

Similar Documents

Publication Publication Date Title
JP6794191B2 (en) Communication equipment, communication methods, and programs
JP6702833B2 (en) Communication device, control of communication device and program
JP6716399B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6759011B2 (en) Communication equipment, communication methods, and programs
JP6532333B2 (en) Communication device, communication method and program
JP6776023B2 (en) Communication equipment, communication methods, and programs
JP6465723B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6482299B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2017028458A (en) Communication device, communication method and program
JP6501597B2 (en) Communication device, control method of communication device, program
JP6732460B2 (en) Communication device, communication method, program
CN112655272B (en) Communication device, communication method, and non-transitory computer-readable storage medium
US20190037620A1 (en) Communication apparatus, communication method, and program
JP2017135520A (en) Communication device, communication method and program
JP6472259B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
CN112655275B (en) Communication apparatus, communication method, and computer-readable storage medium
JP2018042057A (en) Communication apparatus, control method for communication apparatus, and program
JP2023027265A (en) Communication device, control method, and program
JP6525623B2 (en) Communication device, control method of communication device, and program
JP6572037B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2016213614A (en) Communication device, control method, program of communication device
JP6525667B2 (en) Communication device, communication method and program
WO2020110575A1 (en) Communication device, communication device control method, and program
JP2017028453A (en) Communication device, providing method, and program