JP7257744B2 - Communication device, control method, and program - Google Patents

Communication device, control method, and program Download PDF

Info

Publication number
JP7257744B2
JP7257744B2 JP2018084476A JP2018084476A JP7257744B2 JP 7257744 B2 JP7257744 B2 JP 7257744B2 JP 2018084476 A JP2018084476 A JP 2018084476A JP 2018084476 A JP2018084476 A JP 2018084476A JP 7257744 B2 JP7257744 B2 JP 7257744B2
Authority
JP
Japan
Prior art keywords
communication device
communication
information
setting
receiving
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018084476A
Other languages
Japanese (ja)
Other versions
JP2019193120A (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 JP2018084476A priority Critical patent/JP7257744B2/en
Priority to EP23190784.1A priority patent/EP4266723A3/en
Priority to EP19167252.6A priority patent/EP3562125B1/en
Priority to ES21193174T priority patent/ES2957461T3/en
Priority to EP21193174.6A priority patent/EP3955552B1/en
Priority to KR1020190042814A priority patent/KR102527424B1/en
Priority to US16/384,204 priority patent/US11838116B2/en
Priority to CN201910323424.4A priority patent/CN110401985B/en
Priority to CN202310635935.6A priority patent/CN116647935A/en
Publication of JP2019193120A publication Critical patent/JP2019193120A/en
Priority to JP2023060829A priority patent/JP2023098925A/en
Application granted granted Critical
Publication of JP7257744B2 publication Critical patent/JP7257744B2/en
Priority to KR1020230053706A priority patent/KR102644362B1/en
Priority to US18/480,694 priority patent/US20240031362A1/en
Priority to KR1020240029680A priority patent/KR20240038661A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/50Secure pairing of devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • H04W12/77Graphical identity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Description

本発明は、無線通信における通信設定技術に関する。 The present invention relates to communication setting technology in wireless communication.

近年、デジタルカメラ、プリンタ、携帯電話、スマートフォンなどの電子機器に無線通信機能が搭載され、これらの電子機器を無線ネットワークに接続することによって通信を伴うサービスを実行するケースが増えている。電子機器を無線ネットワークに接続するためには、例えば、暗号方式、暗号鍵、認証方式、認証鍵等の少なくともいずれかを含んだ、通信パラメータの設定がなされている必要がある。これらの通信パラメータの設定を容易にする技術として、Wi-Fi Device Provisioning Protocol(以下では「DPP」と呼ぶ。)が策定されている。特許文献1には、QR(Quick Response)コード等の標示により通信パラメータの設定を行う相手装置を検出することを含んだDPPによる通信パラメータの設定技術が記載されている。特許文献1には、DPPでは、通信パラメータを提供する提供装置(コンフィギュレータ)が、アクセスポイントに接続するために必要な情報を、公開鍵を用いて、通信パラメータを受信する受信装置(エンローリ)に提供することが記載されている。 In recent years, electronic devices such as digital cameras, printers, mobile phones, and smart phones are equipped with wireless communication functions, and there are increasing cases of executing services involving communication by connecting these electronic devices to a wireless network. In order to connect an electronic device to a wireless network, it is necessary to set communication parameters including at least one of, for example, an encryption method, an encryption key, an authentication method, an authentication key, and the like. Wi-Fi Device Provisioning Protocol (hereinafter referred to as "DPP") has been established as a technique for facilitating setting of these communication parameters. Patent Literature 1 describes a technique for setting communication parameters by DPP, which includes detecting a partner device for which communication parameters are to be set by means of indications such as QR (Quick Response) codes. In Patent Document 1, in DPP, a provision device (configurator) that provides communication parameters transmits information necessary for connecting to an access point using a public key to a reception device (enrollee) that receives communication parameters. stated to provide.

米国特許出願公開第2017/0295448号明細書U.S. Patent Application Publication No. 2017/0295448

QRコード(登録商標)を読み取ることにより公開鍵を取得して認証を実行するDPPのようなパラメータ設定方式では、QRコードを撮像する側の装置は撮像される側の装置を特定できるが、撮像される側の装置が撮像する側の装置を特定することができない。このため、少なくとも撮像される側の装置において、意図しない装置との間でパラメータ設定を実行してしまうという課題があった。 In a parameter setting method such as DPP that acquires a public key by reading a QR code (registered trademark) and executes authentication, the device that captures the QR code can identify the device that captures the image. The device on the receiving side cannot specify the device on the imaging side. For this reason, there is a problem that at least the device on the imaged side executes parameter setting with an unintended device.

本発明は、上記課題に鑑みてなされたものであり、通信装置において、適切な相手装置との間で通信パラメータの設定を実行可能とすることを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to enable a communication apparatus to set communication parameters with an appropriate partner apparatus.

本発明の一態様による通信装置は、通信接続を行うために必要なパラメータの設定を行うためのDevice Provisioning Protocol(DPP)におけるDPP Authentication Requestを、前記通信装置に関する情報を取得した他の装置から受信する受信手段と、前記受信手段によって前記DPP Authentication Requestが受信された場合に、前記他の装置との間で前記パラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付手段と、前記他の装置との間でパラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置と前記DPPによる前記パラメータ設定を実行する実行手段と、を有する。
A communication device according to an aspect of the present invention transmits a DPP Authentication Request in Device Provisioning Protocol (DPP) for setting parameters necessary for establishing a communication connection from another device that has acquired information about the communication device. receiving means for receiving; receiving means for receiving a user input as to whether or not to execute setting of the parameter with the other device when the DPP Authentication Request is received by the receiving means; and execution means for executing the parameter setting by the other device and the DPP when the user input indicating execution of parameter setting with the other device is received.

本発明によれば、通信装置が適切な相手装置との間で通信パラメータの設定を実行することができる。 According to the present invention, a communication device can set communication parameters with an appropriate partner device.

無線通信システムの構成例を示す図である。It is a figure which shows the structural example of a radio|wireless communications system. 通信装置のハードウェア構成例を示す図である。It is a figure which shows the hardware structural example of a communication apparatus. 通信装置の機能構成例を示す図である。It is a figure which shows the functional structural example of a communication apparatus. DPPのレスポンダ側の通信装置が実行する処理の流れの例を示すフローチャートである。FIG. 10 is a flowchart showing an example of the flow of processing executed by a communication device on the DPP responder side; FIG. DPPのイニシエータ側の通信装置が実行する処理の流れの例を示すフローチャートである。FIG. 11 is a flow chart showing an example of the flow of processing executed by a DPP initiator-side communication device; FIG. 通信装置が表示するユーザインタフェースの一例を示す図である。FIG. 4 is a diagram showing an example of a user interface displayed by the communication device; 通信装置が表示するユーザインタフェースの一例を示す図である。FIG. 4 is a diagram showing an example of a user interface displayed by the communication device; 無線通信システムで実行される処理の流れの第1の例を示す図である。FIG. 2 is a diagram illustrating a first example of the flow of processing executed in a wireless communication system; 無線通信システムで実行される処理の流れの第2の例を示す図である。FIG. 5 is a diagram showing a second example of the flow of processing executed in the wireless communication system; 無線通信システムで実行される処理の流れの第3の例を示す図である。FIG. 10 is a diagram illustrating a third example of the flow of processing executed in the wireless communication system;

以下、本発明の実施の形態について、図面を参照しながら説明する。本実施形態では、IEEE802.11規格シリーズに準拠した無線LANシステムを用いた例について説明する。しかしながら、これに限られず、IEEE802.11規格シリーズに準拠しない他の無線通信システムにおいても以下の手法を適用可能である。なお、IEEEは、The Institute of Electrical and Electronics Engineers, Inc.の略称である。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. In this embodiment, an example using a wireless LAN system conforming to the IEEE802.11 standard series will be described. However, the method is not limited to this, and the following technique can be applied to other wireless communication systems that do not comply with the IEEE802.11 standard series. IEEE is the Institute of Electrical and Electronics Engineers, Inc. is an abbreviation for

(無線通信システムの構成)
図1に、本実施形態に係る無線通信システムの構成を示す。本無線通信システムは、例えば、アクセスポイント101、スマートフォン103、プリンタ104および無線LANのネットワーク102を含む。なお、図1の例では、無線通信システムに含まれる通信装置として、アクセスポイント101、スマートフォン103、及びプリンタ104が示されているが、これらに限られない。例えば、これらの通信装置が、携帯電話、カメラ、パーソナルコンピュータ(PC)、ビデオカメラ、スマートウォッチ、パーソナルデジタルアシスタント(PDA)等の他の形態の通信装置と置き換えられてもよい。また、無線通信システムに含まれる通信装置の数は、図1の例では3台であるが、2台または4台以上の通信装置が無線通信システムに含まれてもよい。
(Configuration of wireless communication system)
FIG. 1 shows the configuration of a radio communication system according to this embodiment. This wireless communication system includes, for example, an access point 101 , a smart phone 103 , a printer 104 and a wireless LAN network 102 . Note that although the example of FIG. 1 shows the access point 101, the smartphone 103, and the printer 104 as communication devices included in the wireless communication system, they are not limited to these. For example, these communication devices may be replaced by other forms of communication devices such as mobile phones, cameras, personal computers (PCs), video cameras, smart watches, personal digital assistants (PDAs), and the like. Also, although the number of communication devices included in the wireless communication system is three in the example of FIG. 1, two or four or more communication devices may be included in the wireless communication system.

本実施形態では、アクセスポイント101が形成するネットワーク102に、プリンタ104を参加させる際の処理について説明する。このとき、例えばスマートフォン103が、DPPのコンフィギュレータとして動作し、DPPのエンローリとして動作するプリンタ104に対して、アクセスポイント101に接続するための情報を提供しうる。なお、上述のように、DPPは、WiFi Device Provisioning Protocolの略語である。また、コンフィギュレータは通信パラメータの提供を行う提供装置であり、エンローリは提供される通信パラメータを受信する受信装置である。通信パラメータは、アクセスポイント等のネットワークを形成する装置に接続するために使われる情報であり、例えば、ネットワーク識別子としてのSSIDや、暗号鍵、暗号方式等の情報である。 In this embodiment, processing for joining the printer 104 to the network 102 formed by the access point 101 will be described. At this time, for example, the smartphone 103 can operate as a DPP configurator and provide information for connecting to the access point 101 to the printer 104 operating as a DPP enrollee. As mentioned above, DPP is an abbreviation for WiFi Device Provisioning Protocol. Also, the configurator is a provider that provides communication parameters, and the enrollee is a receiver that receives the provided communication parameters. The communication parameter is information used for connecting to a device forming a network such as an access point, and is, for example, SSID as a network identifier, encryption key, encryption method, and other information.

本実施形態では、DPPによるパラメータ設定を開始するイニシエータが、イニシエータと共にパラメータ設定を実行するレスポンダにおいて示されたQRコード等の画像を撮像して、公開鍵を取得し、その公開鍵を用いてパラメータ設定を実行する。イニシエータとレスポンダは、通信パラメータの提供処理における役割とは無関係に決定される。すなわち、コンフィギュレータはイニシエータとレスポンダのいずれにおいても動作可能であり、同様に、エンローリもイニシエータとレスポンダのいずれにおいても動作可能である。DPPによるパラメータ設定処理では、上述のように、イニシエータは、通信パラメータの送受信の相手装置を特定してQRコード等の画像の読み取りを行う一方で、レスポンダは、どの通信装置によってその画像が読み取られたかを特定できない。このため、レスポンダは、不適切な相手装置とDPPによるパラメータ設定を実行してしまいうる。これに対して本実施形態では、レスポンダが、イニシエータからQRコード等の画像の読み取り後にレスポンダへ送信される所定の信号(例えばDPP Authentication Request)を受信した際に、ユーザ入力を受付可能な状態へ移行する。例えば、レスポンダは、要求信号から得られるイニシエータについての装置情報を画面表示し、パラメータ設定の相手装置がユーザの意図したものとなっているかのユーザ入力を受け付ける。そして、レスポンダにおいて、イニシエータがパラメータ設定の相手装置として受け入れることを示すユーザ入力が受け付けられたことに応じて、その後のDPPによるパラメータ設定処理が継続されるようにする。これにより、通信装置が、ユーザによる確認がなされた他の装置との間でパラメータ交換を行うようにすることができ、不適切な装置との間で通信パラメータの交換が行われること等を防ぐことができるようになる。 In this embodiment, an initiator that starts parameter setting by DPP captures an image such as a QR code indicated by a responder that executes parameter setting together with the initiator, acquires a public key, and uses the public key to obtain a parameter setting. Run the settings. The initiator and responder are determined regardless of their role in the communication parameter providing process. That is, the configurator can operate as either an initiator or a responder, and similarly the enrollee can operate as either an initiator or a responder. In the parameter setting process by DPP, as described above, the initiator identifies the partner device for transmission/reception of communication parameters and reads an image such as a QR code, while the responder determines which communication device reads the image. Unable to determine For this reason, the responder may execute parameter setting with an inappropriate partner device and DPP. On the other hand, in this embodiment, when the responder receives a predetermined signal (for example, DPP Authentication Request) that is transmitted to the responder after reading an image such as a QR code from the initiator, the user input can be accepted. Transition. For example, the responder displays device information about the initiator obtained from the request signal on the screen, and accepts user input as to whether the partner device for parameter setting is what the user intended. Then, the responder continues the subsequent parameter setting processing by the DPP in response to receiving a user input indicating acceptance of the initiator as a partner device for parameter setting. As a result, the communication device can exchange parameters with other devices confirmed by the user, thereby preventing communication parameters from being exchanged with inappropriate devices. be able to

以下では、このような処理を実行する通信装置の構成と、実行される処理の流れの例について詳細に説明する。 In the following, a configuration of a communication device that executes such processing and an example of the flow of processing that is executed will be described in detail.

(装置構成)
図2は、本実施形態に係る各通信装置(アクセスポイント101、スマートフォン103及びプリンタ104)のハードウェア構成例を示している。通信装置は、一例において、制御部201、記憶部202、無線部203、表示部204、撮像部205、アンテナ制御部206、アンテナ207、及び入力部208を有する。
(Device configuration)
FIG. 2 shows a hardware configuration example of each communication device (access point 101, smartphone 103, and printer 104) according to this embodiment. The communication device, for example, includes a control unit 201 , a storage unit 202 , a radio unit 203 , a display unit 204 , an imaging unit 205 , an antenna control unit 206 , an antenna 207 and an input unit 208 .

制御部201は、記憶部202に記憶された制御プログラムを実行することによって通信装置全体を制御する。制御部201は、例えばCPU(Central Processing Unit)やMPU(Micro Processing Unit)等の1つ以上のプロセッサを含んで構成される。また、制御部201は、例えば、ASIC(特定用途向け集積回路)やDSP(デジタルシグナルプロセッサ)等のハードウェアや、FPGA(フィールドプログラマブルゲートアレイ)等のゲートアレイ回路を含んで構成されてもよい。記憶部202は、制御部201によって実行される制御プログラムや、画像データ、通信パラメータ等の各種情報を記憶する。後述する各種動作は、記憶部202に記憶された制御プログラムを制御部201が実行することにより実現されうる。記憶部202は、例えば、ROM(読み出し専用メモリ)、RAM(ランダムアクセスメモリ)、HDD(ハードディスクドライブ)、フラッシュメモリ、又は着脱可能なSD(セキュアデジタル)カード等の記憶媒体を含んで構成される。 The control unit 201 controls the entire communication apparatus by executing control programs stored in the storage unit 202 . The control unit 201 includes one or more processors such as a CPU (Central Processing Unit) and an MPU (Micro Processing Unit). In addition, the control unit 201 may include hardware such as ASIC (Application Specific Integrated Circuit) and DSP (Digital Signal Processor), and a gate array circuit such as FPGA (Field Programmable Gate Array). . The storage unit 202 stores various information such as control programs executed by the control unit 201, image data, and communication parameters. Various operations to be described later can be realized by the control unit 201 executing a control program stored in the storage unit 202 . The storage unit 202 includes a storage medium such as a ROM (read only memory), a RAM (random access memory), an HDD (hard disk drive), a flash memory, or a removable SD (secure digital) card. .

無線部203は、IEEE802.11規格シリーズに準拠した無線LAN通信を行うための各種処理を実行する。無線部203は、例えば無線周波数(RF)回路やベースバンド(BB)回路等の無線通信回路が形成された回路チップを含んで構成される。表示部204は、LCD(液晶ディスプレイ)やLED(発光ダイオード)のように視覚で認知可能な情報の出力や、スピーカなどの音出力が可能な機能を用いて、各種情報を外部に提示する。すなわち、表示部204は、視覚情報と音情報との少なくともいずれかを出力する機能を有する。なお、表示部204は、視覚情報を表示する場合、例えば表示対象の視覚情報に対応する画像データを保持可能なVRAM(Video RAM)を有し、LCDやLEDに対して、VRAMに格納した画像データを継続的に表示させる表示制御を行いうる。 The wireless unit 203 executes various processes for performing wireless LAN communication conforming to the IEEE802.11 standard series. The radio unit 203 includes a circuit chip on which a radio communication circuit such as a radio frequency (RF) circuit or a baseband (BB) circuit is formed. The display unit 204 presents various types of information to the outside by using a function capable of outputting visually recognizable information such as an LCD (liquid crystal display) or an LED (light emitting diode) and outputting sound such as a speaker. That is, the display unit 204 has a function of outputting at least one of visual information and sound information. When displaying visual information, the display unit 204 has, for example, a VRAM (Video RAM) capable of holding image data corresponding to visual information to be displayed. Display control for continuously displaying data can be performed.

撮像部205は、撮像素子、レンズ等を含んで構成され、写真や動画の撮像を行う。撮像部205は、バーコード、二次元コード、QRコード(登録商標)等の画像の撮像を行うことができる。アンテナ制御部206はアンテナ207の制御を行い、アンテナ207は無線LANで通信するための2.4GHz帯および/または5GHz帯に動作帯域を有する任意のタイプのアンテナである。入力部208は、各種ユーザ入力を受け付ける受付装置であり、ユーザが通信装置を操作する際に用いられる。入力部208は、受け付けたユーザ入力に対応するフラグを記憶部202等のメモリに記憶する。 The image capturing unit 205 includes an image sensor, a lens, and the like, and captures photographs and moving images. The imaging unit 205 can capture an image of a bar code, two-dimensional code, QR code (registered trademark), or the like. Antenna control unit 206 controls antenna 207, which is any type of antenna having an operating band in the 2.4 GHz band and/or the 5 GHz band for wireless LAN communication. The input unit 208 is a reception device that receives various user inputs, and is used when the user operates the communication device. The input unit 208 stores the flag corresponding to the received user input in a memory such as the storage unit 202 .

なお、図2の構成例は一例にすぎず、通信装置は、その他のハードウェア構成を有していてもよいし、一部のハードウェアを有しなくてもよい。例えば、通信装置がプリンタである場合には、通信装置は、図2の構成に加えて印刷部を有しうる。また、通信装置がアクセスポイント101である場合には、通信装置は、表示部204や撮像部205を有しなくてもよい。また、上述の2つ以上のブロックが1つに統合されてもよい。例えば、通信装置がスマートフォン103である場合、表示部204と入力部208のそれぞれの少なくとも一部が統合されたタッチパネルが用いられてもよい。また、1つのブロックが2つ以上のブロックに分割されてもよい。 Note that the configuration example in FIG. 2 is merely an example, and the communication device may have other hardware configurations, or may not have a part of the hardware. For example, if the communication device is a printer, the communication device may have a printing unit in addition to the configuration of FIG. Also, when the communication device is the access point 101 , the communication device does not have to have the display unit 204 and the imaging unit 205 . Also, two or more of the above blocks may be integrated into one. For example, when the communication device is the smartphone 103, a touch panel in which at least a part of each of the display unit 204 and the input unit 208 is integrated may be used. Also, one block may be divided into two or more blocks.

図3は、通信装置の機能構成例を示している。なお、図3は、主として後述の処理を実行するための機能を示しており、通信装置は、示されるもの以外の機能を有してもよい。 FIG. 3 shows a functional configuration example of a communication device. It should be noted that FIG. 3 mainly shows functions for executing processing described later, and the communication device may have functions other than those shown.

通信装置は、その機能構成として、例えば、通信パラメータ制御部301、画像読取制御部302、画像生成制御部303、及び、サービス制御部304を有する。また、通信装置は、例えば、パケット受信部305、パケット送信部306、ステーション機能制御部307、アクセスポイント機能制御部308、及びデータ記憶部309を有する。これらの機能ブロックは、それぞれ、記憶部202に記憶されたプログラムが制御部201によって実行されることによって実現されうる。例えば、制御部201は、制御プログラムに従って、各ハードウェアの制御、及び、情報の演算や加工を行うことによって各機能を実現する。なお、一部又は全部の機能が、ASIC等の専用のハードウェアによって実現されてもよい。 The communication device has, for example, a communication parameter control unit 301, an image reading control unit 302, an image generation control unit 303, and a service control unit 304 as its functional configuration. The communication device also has, for example, a packet receiver 305 , a packet transmitter 306 , a station function controller 307 , an access point function controller 308 , and a data storage 309 . Each of these functional blocks can be implemented by the control unit 201 executing a program stored in the storage unit 202 . For example, the control unit 201 realizes each function by controlling each hardware and calculating and processing information according to a control program. Some or all of the functions may be realized by dedicated hardware such as ASIC.

通信パラメータ制御部301は、装置間で通信パラメータを共有するための通信パラメータ共有処理を実行する。通信パラメータ共有処理では、提供装置が、無線通信を実行するための通信パラメータを受信装置に提供する。ここで、通信パラメータは、ネットワーク識別子としてのSSID(Service Set Identifier)、暗号方式、暗号鍵、認証方式、認証鍵等の少なくともいずれかなど、無線LANの通信を行うために必要な無線通信パラメータを含む。また、通信パラメータは、DPPで規定されるコネクタ、MACアドレス、PSK、パスフレーズ、IP層での通信を行うためのIPアドレス、上位サービスに必要な情報等を含んでもよい。なお、MACはMedium Access Controlの、PSKはPre Shared Keyの、IPはInternet Protocolの、頭字語である。本実施形態では、通信パラメータ制御部301は、DPPによる通信パラメータ共有処理を実行するものとする。しかしながら、通信パラメータ制御部301はDPPによらずに、WPS(Wi-Fi Protected Setup)やWi-Fi Directなどによって通信パラメータ共有処理を実行してもよい。 The communication parameter control unit 301 executes communication parameter sharing processing for sharing communication parameters between devices. In the communication parameter sharing process, the providing device provides the receiving device with communication parameters for performing wireless communication. Here, the communication parameters are wireless communication parameters necessary for wireless LAN communication, such as at least one of SSID (Service Set Identifier) as a network identifier, encryption method, encryption key, authentication method, and authentication key. include. Further, the communication parameters may include a connector defined by DPP, MAC address, PSK, passphrase, IP address for performing communication in the IP layer, information necessary for upper services, and the like. Note that MAC is an acronym for Medium Access Control, PSK is an acronym for Pre Shared Key, and IP is an acronym for Internet Protocol. In this embodiment, the communication parameter control unit 301 executes communication parameter sharing processing by DPP. However, the communication parameter control unit 301 may execute communication parameter sharing processing not by DPP but by WPS (Wi-Fi Protected Setup), Wi-Fi Direct, or the like.

画像読取制御部302は、撮像部205により撮像されたバーコード、二次元コード、QRコード等の画像を解析し、符号化された情報を取得する。画像読取制御部302は、通信パラメータ共有処理を実行する際に使用される公開鍵を含むコード情報を、撮像部205によって撮像した画像として取得する。なお、コード情報は、CP(Computer Purpose)コードまたはQRコードなどの2次元コードまたはバーコードなどの1次元コードでありうる。画像読取制御部302は、取得したコード情報の画像を解析し、符号化された情報を取得する。本実施形態では、コード情報は、通信パラメータ共有処理において用いられる情報を含みうる。ここで、通信パラメータ共有処理において用いられる情報は、例えば、認証処理に用いられる公開鍵や装置の識別子などの情報を含む。なお、公開鍵は、公開鍵暗号方式で用いられる暗号鍵の一種で、通信パラメータ共有処理の際のセキュリティを高めるために用いられる情報である。なお、公開鍵に代えて、証明書やパスワード等の情報が用いられてもよい。画像生成制御部303は、バーコード、二次元コード、QRコード等の画像を生成し、生成した画像を表示部204へ表示するための制御を実行する。画像生成制御部303は、通信パラメータ共有処理を実行する際に使用される公開鍵や通信装置の識別子などの情報を含むコード情報を生成する。なお、通信装置においては、予め生成されたコード情報が筐体やその通信装置の製品の取り扱い説明書や製品の包装(例えば箱)に貼付されるなどによって、画面表示を伴わずにコード情報が表示されてもよい。これによれば、表示部204を有しない通信装置であっても、本実施形態に係る処理を実行することが可能となる。 The image reading control unit 302 analyzes an image such as a barcode, two-dimensional code, or QR code captured by the imaging unit 205 and acquires encoded information. The image reading control unit 302 acquires code information including a public key used when executing communication parameter sharing processing as an image captured by the imaging unit 205 . The code information may be a two-dimensional code such as a CP (Computer Purpose) code or QR code, or a one-dimensional code such as a bar code. The image reading control unit 302 analyzes the image of the acquired code information and acquires encoded information. In this embodiment, code information may include information used in communication parameter sharing processing. Here, the information used in the communication parameter sharing process includes, for example, information such as a public key and device identifier used in the authentication process. The public key is a type of encryption key used in public key cryptography, and is information used to enhance security during communication parameter sharing processing. Information such as a certificate or a password may be used instead of the public key. The image generation control unit 303 generates an image such as a barcode, two-dimensional code, QR code, etc., and executes control for displaying the generated image on the display unit 204 . The image generation control unit 303 generates code information including information such as a public key used when executing communication parameter sharing processing and an identifier of a communication device. In communication devices, pre-generated code information is pasted on the housing, the instruction manual of the product of the communication device, or the packaging (for example, box) of the product, so that the code information can be transmitted without being displayed on the screen. may be displayed. According to this, even a communication device that does not have the display unit 204 can execute the processing according to the present embodiment.

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

パケット受信部305及びパケット送信部306は、上位レイヤの通信プロトコルを含む任意のパケットの送受信を制御する。例えば、パケット受信部305及びパケット送信部306は、通信の相手装置との間でIEEE802.11規格シリーズに準拠したパケットの送信及び受信を行うために無線部203を制御する。 A packet receiving unit 305 and a packet transmitting unit 306 control transmission and reception of arbitrary packets including upper layer communication protocols. For example, the packet receiving unit 305 and the packet transmitting unit 306 control the radio unit 203 to transmit and receive packets conforming to the IEEE 802.11 standard series with a communication partner device.

ステーション機能制御部307は、IEEE802.11規格シリーズのインフラストラクチャモードにおけるステーション(STA)として動作するSTA機能を提供する。ステーション機能制御部307は、STAとして動作する際に、認証・暗号処理等を実行する。また、アクセスポイント機能制御部308は、IEEE802.11規格シリーズのインフラストラクチャモードにおけるアクセスポイント(AP)として動作するAP機能を提供する。アクセスポイント機能制御部308は、無線ネットワークを形成し、STAに対する認証・暗号処理およびSTAの管理等を行う。データ記憶部309は、ソフトウェアそのもの、および、通信パラメータやバーコード類の情報の記憶部202への書き込み及び読み出しの制御を行う。 Station function control section 307 provides an STA function that operates as a station (STA) in the infrastructure mode of the IEEE802.11 standard series. Station function control section 307 executes authentication/encryption processing and the like when operating as an STA. Also, the access point function control unit 308 provides an AP function that operates as an access point (AP) in the infrastructure mode of the IEEE802.11 standard series. Access point function control section 308 forms a wireless network, performs authentication/encryption processing for STAs, and manages STAs. A data storage unit 309 controls writing and reading of information such as software itself, communication parameters and bar codes to and from the storage unit 202 .

なお、通信装置は、図3に示される構成の一部を有しなくてもよく、場合によっては、図3に示される構成と同様の機能を果たすことができる他の構成によって全ての構成が置き換えられてもよい。例えば、通信装置がアクセスポイント101である場合には、画像読取制御部302等を有しなくてもよい。また、通信装置において予め生成されたコード情報が筐体に貼付されるなどによって、画面表示を伴わずにコード情報を表示する場合、画像生成制御部303が省略されてもよい。 Note that the communication device may not have a part of the configuration shown in FIG. 3, and depending on the case, the entire configuration may be replaced by another configuration capable of performing the same function as the configuration shown in FIG. may be replaced. For example, if the communication device is the access point 101, the image reading control unit 302 and the like may not be provided. Further, when the code information generated in advance in the communication device is attached to the housing and the code information is displayed without screen display, the image generation control unit 303 may be omitted.

(処理の流れ)
続いて、上述の通信装置が実行する処理の流れの例について説明する。以下では、まず、DPPのレスポンダ及びイニシエータが実行する処理の流れについて説明し、その後、無線通信システムで実行される処理の流れの例を説明する。
(Processing flow)
Next, an example of the flow of processing executed by the communication device described above will be described. In the following, first, the flow of processing executed by DPP responders and initiators will be described, and then an example of the flow of processing executed in a wireless communication system will be described.

<レスポンダ側の通信装置の動作>
図4に、レスポンダとして動作する通信装置(以下ではレスポンダ装置と呼ぶ。)が実行する処理の流れの例を示す。レスポンダ装置は、まず、例えばユーザ入力を介して、DPPによる通信パラメータ設定を実行するためのアプリケーションを起動する(S401)。その後、レスポンダ装置は、例えばユーザ操作を介して、通信パラメータの提供装置(コンフィギュレータ)と受信装置(エンローリ)とのいずれとの役割で動作するかを決定する(S402)。なお、レスポンダ装置は、例えばユーザ操作によらない事前設定された役割で動作するようにしてもよい。例えば、レスポンダ装置は、自装置がアクセスポイントである場合、常にコンフィギュレータとして動作するようにしてもよい。その後、レスポンダ装置は、例えば表示部204を介して、自装置の公開鍵等の自装置に関する情報を示すQRコードのようなコード情報の画像を表示する(S403)。なお、レスポンダ装置は、例えば印刷された画像が筐体に貼付される形式でコード情報を表示してもよく、この場合、S403においては特段の処理を実行しなくてもよい。コード情報の画像は、イニシエータ側の通信装置(以下ではイニシエータ装置と呼ぶ。)によって撮像される。イニシエータ装置は、撮像したコード情報を解析し、レスポンダ装置に関する情報を取得した後に、DPP Authentication Requestパケットをレスポンダ装置へ送信する。そして、レスポンダ装置は、このDPP Authentication Requestパケットを受信する(S404)。
<Operation of the communication device on the responder side>
FIG. 4 shows an example of the flow of processing executed by a communication device operating as a responder (hereinafter referred to as a responder device). The responder device first activates an application for executing communication parameter setting by DPP, for example, via user input (S401). After that, the responder device determines, for example, through a user's operation, whether to act as a communication parameter providing device (configurator) or as a receiving device (enrollee) (S402). Note that the responder device may operate in a preset role that does not depend on user operation, for example. For example, a responder device may act as a configurator whenever it is an access point. After that, the responder device displays an image of code information such as a QR code indicating information about the device itself, such as the public key of the device itself, via the display unit 204, for example (S403). Note that the responder device may display the code information in a format in which a printed image is pasted on the housing, for example, and in this case, no particular processing need be executed in S403. An image of code information is captured by a communication device on the initiator side (hereinafter referred to as an initiator device). The initiator device analyzes the imaged code information, acquires information about the responder device, and then transmits a DPP Authentication Request packet to the responder device. The responder device then receives this DPP Authentication Request packet (S404).

そして、レスポンダ装置は、S402で決定された自装置の通信パラメータ提供処理における役割(コンフィギュレータまたはエンローリ)を確認する(S405)。レスポンダ装置は、自装置がコンフィギュレータとして動作すると決定されている場合は、設定確認のためのユーザインタフェース(UI)を表示する(S406)。このUIの例を図6に示す。レスポンダ装置は、一例において、図6に示すように、イニシエータ装置のデバイス名を提示し、このイニシエータ装置との間での通信パラメータ設定処理の実行を許可するか否かのユーザ入力を受付可能な状態へ移行する。なお、図6の「デバイス名」の領域には、イニシエータ装置のMACアドレスや、DPP Authentication Requestパケットに付加情報として設定されたイニシエータ装置を特定可能な情報などが表示される。図6のUIでは、「OK」、「NO」、「相互」の3つの選択肢が提示され、ユーザはこれらの選択肢のうちのいずれかを選択する。ここで、「OK」は、表示されたイニシエータ装置との間の通信パラメータ設定処理を許可することを示す選択肢であり、「NG」は、表示されたイニシエータ装置との間の通信パラメータ設定処理を許可しないことを示す選択肢である。また、「相互」は、イニシエータ装置が表示したQRコード等のコード情報をレスポンダ装置が撮像することによる相互認証処理を実行して、相互にコード情報が取得された状態で通信パラメータ設定処理を実行することを示す選択肢である。なお、レスポンダ装置は、イニシエータ装置との通信パラメータ設定処理を許可する場合に、初期設定として「OK」又は「相互」の一方を実行するように指定されていてもよい。この場合、例えば図6のUIにおいて、「OK」のみが表示され、ユーザ入力によってこの「OK」が選択された場合、このユーザ入力は初期設定に基づいて「OK」又は「相互」として解釈される。 Then, the responder device confirms the role (configurator or enrollee) of its own device in the communication parameter providing process determined in S402 (S405). If the responder device is determined to operate as a configurator, the responder device displays a user interface (UI) for setting confirmation (S406). An example of this UI is shown in FIG. In one example, as shown in FIG. 6, the responder device presents the device name of the initiator device and can accept user input as to whether or not execution of communication parameter setting processing with this initiator device is permitted. state. In addition, in the "device name" area in FIG. 6, the MAC address of the initiator device, information that can identify the initiator device set as additional information in the DPP Authentication Request packet, and the like are displayed. The UI in FIG. 6 presents three options, "OK", "NO", and "Mutual", and the user selects one of these options. Here, "OK" is an option indicating that the communication parameter setting processing with the displayed initiator device is permitted, and "NG" indicates that the communication parameter setting processing with the displayed initiator device is permitted. This is an option that indicates not to allow. In addition, "mutual" executes mutual authentication processing by having the responder device image code information such as a QR code displayed by the initiator device, and executes communication parameter setting processing in a state in which the code information is mutually acquired. This is an option that indicates that Note that the responder device may be designated to execute either “OK” or “mutual” as an initial setting when permitting communication parameter setting processing with the initiator device. In this case, for example, in the UI of FIG. 6, if only "OK" is displayed and this "OK" is selected by user input, this user input is interpreted as "OK" or "mutual" based on initial settings be.

レスポンダ装置は、ユーザ操作が受け付けられた際に、これらの選択肢のうちのいずれがユーザによって選択されたかを判定する(S407)。レスポンダ装置は、S407において「NO」が選択されたと判定した場合は、イニシエータ装置に対してDPP Authentication Responseパケットでエラー応答を送信して(S417)、処理を終了する。レスポンダ装置は、S407で「OK」が選択されたと判定した場合は、通信パラメータ設定処理の相手装置であるイニシエータ装置の情報をユーザに入力させるためのUIを表示し、ユーザ入力の受付状態へ移行する(S408)。S408で表示されるUIの例を図7に示す。ユーザは、図7の「入力欄」に、イニシエータ装置の情報を入力する。ここで入力される情報は、例えば後述のS411で取得可能な情報と同様の情報でありうる。例えば、レスポンダ装置が、事前にインターネット等を介してイニシエータ装置の情報に関するファイルを取得しておき、そのファイルを指定することによってイニシエータ装置の情報が入力されうる。また、入力される情報は、後述のS411で取得可能な情報と異なっていてもよい。例えば、レスポンダ装置は、イニシエータ装置を特定可能な情報等のユーザによる手動入力を受け付けてもよい。レスポンダ装置は、S408で相手装置の情報のユーザによる入力を受け付けると、その後に処理をS412へ進める(S409でNO)。 The responder device determines which of these options has been selected by the user when the user's operation is accepted (S407). If the responder device determines that "NO" is selected in S407, it sends an error response to the initiator device using a DPP Authentication Response packet (S417), and ends the process. If the responder device determines that "OK" is selected in S407, it displays a UI for allowing the user to input information about the initiator device, which is the partner device of the communication parameter setting process, and shifts to a state of accepting user input. (S408). FIG. 7 shows an example of the UI displayed in S408. The user inputs the information of the initiator device in the "input field" in FIG. The information input here can be, for example, the same information as the information that can be acquired in S411, which will be described later. For example, the responder device acquires a file related to the information of the initiator device in advance via the Internet or the like, and the information of the initiator device can be input by designating the file. Also, the information to be input may be different from the information that can be acquired in S411, which will be described later. For example, the responder device may accept manual input by the user, such as information that can identify the initiator device. When the responder device receives the user's input of the information on the counterpart device in S408, the process proceeds to S412 (NO in S409).

一方、レスポンダ装置は、S407で「相互」が選択されたと判定した場合は、S408の処理を実行せず、処理をS410へ進める(S409でYES)。S410において、レスポンダ装置は、イニシエータ装置にQRコード等のコード情報の表示を促すために、DPP Authentication Responseパケットでエラー応答を送信する。イニシエータ装置は、このDPP Authentication Responseパケットでのエラー応答に応じてコード情報を表示する。レスポンダ装置は、イニシエータ装置がコード情報を表示するのを待ち、コード情報が表示された際に、このコード情報を撮像し(S411)、イニシエータ装置の情報を取得する。ここで取得される情報は、例えば、イニシエータ装置の公開鍵等の情報でありうる。レスポンダ装置は、イニシエータ装置の情報を取得すると、続いて、DPP Authentication Responseパケットで正常応答を送信する(S412)。その後、レスポンダ装置は、DPPの仕様に基づいてパラメータ交換を実行し、イニシエータ装置との接続処理を実行する(S413~S416)。 On the other hand, if the responder determines that "mutual" is selected in S407, the process proceeds to S410 without executing the process of S408 (YES in S409). At S410, the responder device transmits an error response in a DPP Authentication Response packet to prompt the initiator device to display code information such as a QR code. The initiator device displays code information in response to the error response in this DPP Authentication Response packet. The responder device waits for the initiator device to display the code information, and when the code information is displayed, images the code information (S411) and acquires the information of the initiator device. The information acquired here can be, for example, information such as the public key of the initiator device. After acquiring the information of the initiator device, the responder device subsequently transmits a normal response in a DPP Authentication Response packet (S412). After that, the responder device executes parameter exchange based on the DPP specifications, and executes connection processing with the initiator device (S413 to S416).

<イニシエータ側の通信装置の動作>
続いて、図5を用いて、イニシエータ装置が実行する処理の流れの例について説明する。イニシエータ装置は、まず、例えばユーザ入力を介して、DPPによる通信パラメータ設定を実行するためのアプリケーションを起動する(S501)。その後、イニシエータ装置は、例えばユーザ操作を介して、通信パラメータの提供装置(コンフィギュレータ)と受信装置(エンローリ)とのいずれの役割で動作するかを決定する(S502)。そして、イニシエータ装置は、レスポンダ装置において表示されている公開鍵を含むQRコード等のコード情報を撮像し(S503)、レスポンダ装置に関する情報を取得する。イニシエータ装置は、この情報を取得したことに応じて、レスポンダ装置に対してDPP Authentication Requestパケットを送信する(S508)。
<Operation of the communication device on the initiator side>
Next, an example of the flow of processing executed by the initiator device will be described with reference to FIG. The initiator device first activates an application for executing communication parameter setting by DPP, for example, via user input (S501). After that, the initiator device determines, for example, through a user's operation, whether to act as a communication parameter providing device (configurator) or as a receiving device (enrollee) (S502). Then, the initiator device captures code information such as a QR code including the public key displayed on the responder device (S503), and acquires information about the responder device. Upon acquiring this information, the initiator device transmits a DPP Authentication Request packet to the responder device (S508).

なお、イニシエータ装置は、レスポンダ装置に対してDPP Authentication Requestパケットを送信する前に、S405~S408と同様の処理を実行しうる。ただし、例えば、イニシエータ装置が通信パラメータ設定処理を実行する相手装置を誤らずに選択してコード情報の読み取りを開始することができ、レスポンダ装置を確実に特定できると考えられる場合、これらの処理は実行されなくてもよい。 Note that the initiator device can execute processing similar to S405 to S408 before transmitting the DPP Authentication Request packet to the responder device. However, for example, when it is considered that the initiator device can correctly select the partner device to execute the communication parameter setting process and start reading the code information, and can certainly identify the responder device, these processes are It does not have to be executed.

イニシエータ装置は、自装置がコンフィギュレータとして動作している場合に、コード情報によって取得した相手装置の情報を表示し(S505)、その相手装置との通信パラメータ設定処理を許可するか否かのユーザ入力を受け付けうる。そして、例えば意図しない相手装置のコード情報を読み取ってしまっていた場合等に、S506において「NO」が選択されることにより、DPP Authentication Requestパケットを送信せずに、通信パラメータの設定処理を終了しうる。また、イニシエータ装置は、S506において「OK」が選択された場合に、例えば図7のUIを表示し、相手装置の情報の入力を促してもよい(S507)。一例において、イニシエータ装置は、相手装置の名称等の情報の入力を受け付けうる。その後、イニシエータ装置は、DPP Authentication Requestパケットを送信する。そして、イニシエータ装置は、レスポンダ装置からのDPP Authentication Responseパケットでの正常応答を受信する(S511)。 When the initiator device operates as a configurator, the initiator device displays the information of the partner device acquired by the code information (S505), and the user inputs whether or not to permit the communication parameter setting process with the partner device. can accept Then, for example, when the code information of an unintended partner device is read, "NO" is selected in S506, thereby ending the communication parameter setting process without transmitting the DPP Authentication Request packet. sell. Further, when "OK" is selected in S506, the initiator device may display, for example, the UI of FIG. 7 to prompt the input of information on the partner device (S507). In one example, the initiator device can accept input of information such as the name of the partner device. After that, the initiator device transmits a DPP Authentication Request packet. The initiator device then receives a normal response in the DPP Authentication Response packet from the responder device (S511).

また、イニシエータ装置は、S506において「相互」が選択された場合には、S507の処理を実行せずにDPP Authentication Requestパケットを送信する。その後、イニシエータ装置は、例えば相手装置からDPP Authentication Responseパケットでのエラー応答を受信したことに応じて、QRコード等のコード情報を表示部204に表示させる(S510)。また、イニシエータ装置は、「相互」が選択された場合、DPP Authentication Requestパケットの送信後に所定時間が経過したことに応じて、コード情報を表示するようにしてもよい。そして、イニシエータ装置は、レスポンダ装置がこのコード情報を取得した後に送信するDPP Authentication Responseパケットでの正常応答を、受信する(S511)。 Also, when "mutual" is selected in S506, the initiator device transmits a DPP Authentication Request packet without executing the processing of S507. After that, the initiator device displays code information such as a QR code on the display unit 204 in response to receiving an error response in the DPP Authentication Response packet from the counterpart device, for example (S510). Further, when "mutual" is selected, the initiator device may display the code information when a predetermined time has passed after transmission of the DPP Authentication Request packet. The initiator device then receives a normal response in the DPP Authentication Response packet sent by the responder device after acquiring this code information (S511).

その後は、イニシエータ装置は、DPPの仕様に基づいてパラメータ交換を実行し、レスポンダ装置との接続処理を実行する(S512~S515)。 After that, the initiator device executes parameter exchange based on the DPP specifications, and executes connection processing with the responder device (S512 to S515).

以上のように、本実施形態によれば、QRコード等のコード情報を利用した通信パラメータ設定において、レスポンダ装置のユーザがイニシエータ装置を特定(必要に応じてイニシエータ装置がレスポンダ装置を確認)可能とする。そして、ユーザによる許可後に、これらの通信装置間での通信パラメータの提供及び受信を行うことが可能となる。 As described above, according to the present embodiment, in setting communication parameters using code information such as a QR code, the user of the responder device can identify the initiator device (the initiator device can confirm the responder device if necessary). do. After permission by the user, communication parameters can be provided and received between these communication devices.

<無線通信システム全体における処理の流れ>
続いて、上述のようなイニシエータ装置及びレスポンダ装置を含んだ無線通信システムにおいて実行される処理の流れの例について説明する。上述のように、本実施形態にかかる無線通信システムでは、アクセスポイント101がネットワーク102を構築しており、スマートフォン103がアクセスポイント101に接続可能な通信パラメータを保持している。スマートフォン103は、例えば、アクセスポイント101がDPPに対応していない場合、WPSやAOSS(AirStation One-Touch Secure System)などの既存のプロトコルを用いて通信パラメータを取得しうる。また、スマートフォン103は、アクセスポイント101がDPPに対応している場合は、DPPを用いた自動設定等を用いてもよい。なお、本実施形態では、図1の無線通信システムに関してアクセスポイント101がスマートフォン103に通信パラメータを提供する場合について説明するが、このような構成以外が用いられてもよい。例えば、Wi-Fi Direct(登録商標)のグループオーナが本実施形態に係るアクセスポイント101と同様に動作し、クライアントに通信パラメータを提供し、そのクライアントがさらに別のクライアントに通信パラメータを提供するようにしてもよい。また、スマートフォン103のユーザが、入力部208を介して手動で通信パラメータを入力してもよい。その後、スマートフォン103は、DPPのコンフィギュレータとして、エンローリ(プリンタ104)との通信パラメータ設定処理を実行するものとする。このとき、スマートフォン103(コンフィギュレータ)がイニシエータであって相互認証を行わない場合、レスポンダであって相互認証を行わない場合、レスポンダであって相互認証を行う場合、の処理の流れについて、以下、説明する。
<Flow of processing in the entire wireless communication system>
Next, an example of the flow of processing executed in a wireless communication system including the initiator device and responder device as described above will be described. As described above, in the wireless communication system according to this embodiment, the access point 101 constructs the network 102 and holds communication parameters that allow the smartphone 103 to connect to the access point 101 . For example, when the access point 101 does not support DPP, the smartphone 103 can acquire communication parameters using existing protocols such as WPS and AOSS (AirStation One-Touch Secure System). Further, when the access point 101 supports DPP, the smartphone 103 may use automatic setting using DPP. In this embodiment, a case where the access point 101 provides communication parameters to the smartphone 103 with respect to the wireless communication system of FIG. 1 will be described, but a configuration other than such a configuration may be used. For example, a Wi-Fi Direct (registered trademark) group owner operates in the same manner as the access point 101 according to the present embodiment, provides communication parameters to a client, and the client provides communication parameters to another client. can be Alternatively, the user of the smart phone 103 may manually input communication parameters via the input unit 208 . Thereafter, the smartphone 103, as a DPP configurator, executes communication parameter setting processing with the enrollee (printer 104). At this time, the flow of processing when the smartphone 103 (configurator) is the initiator and does not perform mutual authentication, when the smartphone 103 (configurator) is the responder and does not perform mutual authentication, and when it is the responder and performs mutual authentication will be described below. do.

図8は、コンフィギュレータがイニシエータであって相互認証を行わない場合の処理の流れの例を示している。本処理では、まず、レスポンダ装置がQRコードを表示し、イニシエータ装置は、レスポンダ装置に表示されたQRコードを撮像する。イニシエータ装置は、このQRコードの撮像を契機として、DPP Authentication Requestパケットをレスポンダ装置に送信する。レスポンダ装置は、DPP Authentication Requestパケットを受信すると、必要に応じて、図6に示すようなUI画面を表示する。なお、レスポンダ装置がエンローリである場合、受信したパラメータを使用するか否かを後に選択すれば足りる場合など、相手装置(イニシエータ装置)によらずに通信パラメータ設定処理を許可してもよい場合がある。このような場合、レスポンダ装置は、UI画面を表示しなくてもよい。なお、レスポンダ装置がUI画面を表示して、特定のイニシエータ装置との間でのみ通信パラメータ設定処理を許可するようにすることで、不必要な通信パラメータ設定処理が実行されるのを抑制することができる。レスポンダ装置は、UI画面が表示された場合、そのUI画面においてユーザによって「OK」が押下されたことに応じて、DPP Authentication Responseパケットをイニシエータ装置へ送信する。その後は、DPPの仕様に基づいて、パラメータ交換が実行され、レスポンダ装置とイニシエータ装置との間の接続処理が実行される。 FIG. 8 shows an example of the flow of processing when the configurator is the initiator and does not perform mutual authentication. In this process, first, the responder device displays the QR code, and the initiator device images the QR code displayed on the responder device. Triggered by the image of this QR code, the initiator device transmits a DPP Authentication Request packet to the responder device. Upon receiving the DPP Authentication Request packet, the responder device displays a UI screen as shown in FIG. 6 as necessary. In addition, when the responder device is an enrollee, there are cases where it is sufficient to select whether or not to use the received parameters later, and so on. be. In such a case, the responder device may not display the UI screen. In addition, by displaying a UI screen on the responder device and permitting communication parameter setting processing only with a specific initiator device, execution of unnecessary communication parameter setting processing can be suppressed. can be done. When the UI screen is displayed, the responder device transmits a DPP Authentication Response packet to the initiator device in response to the user pressing "OK" on the UI screen. After that, parameter exchange is performed based on the DPP specification, and connection processing is performed between the responder device and the initiator device.

図9は、エンローリがイニシエータであって相互認証を行わない場合の処理の流れの例を示している。本処理でも、まず、レスポンダ装置がQRコードを表示し、イニシエータ装置は、レスポンダ装置に表示されたQRコードを撮像する。イニシエータ装置は、このQRコードの撮像を契機として、DPP Authentication Requestパケットをレスポンダ装置に送信する。レスポンダ装置は、このDPP Authentication Requestパケットを受信すると、図6に示すようなUI画面を表示させる。図6における「デバイス名」には、イニシエータ装置のMACアドレスや、DPP Authentication Requestパケットに付加情報として設定されているイニシエータ装置を特定するための情報が表示される。レスポンダ装置が通信パラメータの提供装置(コンフィギュレータ)である場合、イニシエータ装置を特定せずに通信パラメータを提供してしまうと、意図しない通信装置がネットワークに参加可能となってしまいうる。このため、本処理例では、コンフィギュレータとして機能するレスポンダ装置は、エンローリの候補であるイニシエータ装置を特定する情報をユーザに提供し、そのイニシエータ装置と通信パラメータ設定処理を実行してよいか否かのユーザ操作を受け付ける。これにより、ユーザが通信パラメータ設定処理を実行してよいと判断した相手装置との間でのみ、通信パラメータ設定処理を実行するようにすることができる。レスポンダ装置は、UI画面においてユーザによって「OK」が押下されたことに応じて、図7のようなUI画面を表示させ、通信パラメータ設定処理を実行する相手装置に関する情報のユーザ入力を受け付ける。そして、レスポンダ装置は、そのユーザ入力を受け付けた後に、DPP Authentication Responseパケットをイニシエータ装置へ送信する。その後は、DPPの仕様に基づいて、パラメータ交換が実行され、レスポンダ装置とイニシエータ装置との間の接続処理が実行される。 FIG. 9 shows an example of the flow of processing when the enrollee is the initiator and does not perform mutual authentication. Also in this process, first, the responder device displays a QR code, and the initiator device images the QR code displayed on the responder device. Triggered by the image of this QR code, the initiator device transmits a DPP Authentication Request packet to the responder device. When the responder device receives this DPP Authentication Request packet, it displays a UI screen as shown in FIG. The "device name" in FIG. 6 displays the MAC address of the initiator device and information for specifying the initiator device set as additional information in the DPP Authentication Request packet. When the responder device is a communication parameter providing device (configurator), providing communication parameters without specifying an initiator device may allow an unintended communication device to participate in the network. Therefore, in this processing example, the responder device functioning as the configurator provides the user with information specifying the initiator device that is the candidate of the enrollee, and determines whether or not the communication parameter setting process can be executed with the initiator device. Accept user operations. Accordingly, it is possible to execute the communication parameter setting process only with the partner device for which the user has determined that the communication parameter setting process can be executed. When the user presses "OK" on the UI screen, the responder device displays a UI screen such as that shown in FIG. 7 and accepts user input of information regarding the counterpart device for executing communication parameter setting processing. After receiving the user input, the responder device transmits a DPP Authentication Response packet to the initiator device. After that, parameter exchange is performed based on the DPP specification, and connection processing is performed between the responder device and the initiator device.

図10は、相互認証が行われる場合の処理の流れの例を示している。なお、図10の処理例は、エンローリがイニシエータの場合の処理例を示しているが、コンフィギュレータがイニシエータであっても同様の処理が実行されうる。本処理でも、まず、レスポンダ装置がQRコードを表示し、イニシエータ装置は、レスポンダ装置に表示されたQRコードを撮像する。イニシエータ装置は、このQRコードの撮像を契機として、DPP Authentication Requestパケットをレスポンダ装置に送信する。レスポンダ装置は、このDPP Authentication Requestパケットを受信すると、図6に示すようなUI画面を表示させる。そして、レスポンダ装置は、ユーザによって「相互」が押下されると、イニシエータ装置に対してDPP Authentication Responseパケットでエラー応答を送信し、イニシエータ装置がQRコードを表示するのを待機する。その後、イニシエータ装置がQRコードを表示し、レスポンダ装置は、レスポンダ装置に表示されたQRコードを撮像する。レスポンダ装置は、イニシエータ装置の情報を取得すると、イニシエータ装置に対して、DPP Authentication Responseパケットで正常応答を送信する。その後は、DPPの仕様に基づいて、パラメータ交換が実行され、レスポンダ装置とイニシエータ装置との間の接続処理が実行される。 FIG. 10 shows an example of the flow of processing when mutual authentication is performed. Note that the processing example in FIG. 10 shows a processing example when the enrollee is the initiator, but similar processing can be executed even if the configurator is the initiator. Also in this process, first, the responder device displays a QR code, and the initiator device images the QR code displayed on the responder device. Triggered by the image of this QR code, the initiator device transmits a DPP Authentication Request packet to the responder device. When the responder device receives this DPP Authentication Request packet, it displays a UI screen as shown in FIG. Then, when the user presses "mutual", the responder device transmits an error response in a DPP Authentication Response packet to the initiator device, and waits for the initiator device to display the QR code. After that, the initiator device displays the QR code, and the responder device captures the QR code displayed on the responder device. When the responder device acquires the information of the initiator device, the responder device transmits a normal response in a DPP Authentication Response packet to the initiator device. After that, based on the DPP specification, parameter exchange is performed, and connection processing is performed between the responder device and the initiator device.

以上のようにして、DPPのレスポンダ装置は、ユーザがイニシエータ装置の情報を確認できるようにし、その確認結果に基づいて、そのイニシエータ装置との通信パラメータ設定処理の実行を許可するかのユーザ操作を受付可能とするUI画面を表示する。レスポンダ装置は、一例において、DPP Authentication Requestパケットを受信したことに基づいて、このUI画面を表示する。そして、レスポンダ装置は、イニシエータ装置との通信パラメータ設定処理を許可することを示すユーザ操作を受け付けたことに基づいて、DPPによる通信パラメータ設定処理を継続する。一方、レスポンダ装置は、イニシエータ装置との通信パラメータ設定処理を許可しないことを示すユーザ操作を受け付けた場合は、DPPによる通信パラメータ設定処理を継続せずに処理を終了する。これにより、ユーザが意図しない通信装置間で通信パラメータが交換されてしまうことを防ぐことができる。 As described above, the DPP responder device allows the user to confirm the information of the initiator device, and based on the confirmation result, allows the user to perform the communication parameter setting process with the initiator device. Display the UI screen that can be accepted. In one example, the responder device displays this UI screen based on receiving the DPP Authentication Request packet. Then, the responder device continues the communication parameter setting process by the DPP based on the reception of the user's operation indicating that the communication parameter setting process with the initiator device is permitted. On the other hand, when the responder device receives a user operation indicating that the communication parameter setting process with the initiator device is not permitted, the process ends without continuing the communication parameter setting process by DPP. This can prevent communication parameters from being exchanged between communication devices unintended by the user.

なお、UI画面の表示は必ずしも用いられなくてもよい。例えば、音声等によるイニシエータ装置の情報の提示が行われてもよく、レスポンダ装置に備えられたキーや物理ボタン等によって、上述のOKやNO等の選択を受け付けてもよい。すなわち、ユーザが相手装置を確認して通信パラメータ設定処理の実行可否を判断できるようにする任意の情報提示方法及び操作受付方法が用いられうる。 Note that the display of the UI screen does not necessarily have to be used. For example, the information of the initiator device may be presented by voice or the like, and the selection of OK, NO, or the like described above may be accepted by keys, physical buttons, or the like provided on the responder device. In other words, any information presenting method and operation accepting method that allows the user to check the partner device and determine whether the communication parameter setting process can be executed can be used.

また、上述の実施形態では、QRコード(登録商標)の画像を利用して、通信パラメータ設定処理を実行するための情報が通信装置間で送受信される例について説明したが、これに限られない。例えば、QRコード(登録商標)の撮像に代えて、Near Field Communication(NFC)やBluetooth(登録商標)などの無線通信が用いられてもよい。また、IEEE802.11adやTransferJet(登録商標)等の無線通信が用いられてもよい。なお、QRコード等のコード情報に代えて、ユーザが読み取ることができる情報が用いられてもよい。例えば、所定の文字列が表示され、アプリケーション起動後にユーザがその文字列を入力することにより、上述のQRコードの撮像で得られる情報と同様の情報を取得できるようにしてもよい。 Further, in the above-described embodiment, an example in which information for executing communication parameter setting processing is transmitted and received between communication devices using a QR code (registered trademark) image has been described, but the present invention is not limited to this. . For example, instead of imaging a QR code (registered trademark), wireless communication such as Near Field Communication (NFC) or Bluetooth (registered trademark) may be used. Alternatively, wireless communication such as IEEE802.11ad or TransferJet (registered trademark) may be used. Information that can be read by a user may be used instead of code information such as a QR code. For example, a predetermined character string may be displayed, and the user may input the character string after starting the application to obtain information similar to the information obtained by imaging the QR code described above.

また、上述の実施形態では、通信装置間の通信をIEEE802.11規格シリーズ準拠の無線LANにより行う場合について説明したが、これに限られない。例えば、ワイヤレスUSBやワイヤレス1394やWINET等のUWB(Ultra Wide Band)、Bluetooth(登録商標)、ZigBee、NFC等の無線通信媒体が用いられてもよい。 Further, in the above-described embodiment, a case has been described in which communication between communication devices is performed by a wireless LAN conforming to the IEEE802.11 standard series, but the present invention is not limited to this. For example, wireless communication media such as wireless USB, wireless 1394, UWB (Ultra Wide Band) such as WINET, Bluetooth (registered trademark), ZigBee, and NFC may be used.

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

201:制御部、202:記憶部、203:無線部、204:表示部、205:撮像部 201: control unit, 202: storage unit, 203: wireless unit, 204: display unit, 205: imaging unit

Claims (24)

通信装置であって、
通信接続を行うために必要なパラメータの設定を行うためのDevice Provisioning Protocol(DPP)におけるDPP Authentication Requestを、前記通信装置に関する情報を取得した他の装置から受信する受信手段と、
前記受信手段によって前記DPP Authentication Requestが受信された場合に、前記他の装置との間で前記パラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付手段と、
前記他の装置との間でパラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置と前記DPPによる前記パラメータ設定を実行する実行手段と、
を有することを特徴とする通信装置。
A communication device,
Receiving means for receiving a DPP Authentication Request in Device Provisioning Protocol (DPP) for setting parameters necessary for establishing a communication connection from another device that has acquired information about the communication device ;
receiving means for receiving a user input as to whether or not to execute setting of the parameter with the other device when the DPP Authentication Request is received by the receiving means;
execution means for executing the setting of the parameters by the other device and the DPP when the user input indicating execution of parameter setting with the other device is received;
A communication device comprising:
通信装置であって、
他の装置に関する情報を取得する取得手段と、
前記他の装置に関する情報が取得された場合前記取得した前記他の装置に関する情報の少なくとも一部を表示し、前記他の装置との間でDevice Provisioning Protocol(DPP)により通信接続を行うために必要なパラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付手段と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、DPP Authentication Requestを前記他の装置に送信する送信手段と、
前記DPP Authentication Requestに基づく認証に成功すると、前記他の装置と前記パラメータ設定を実行する実行手段と、
を有することを特徴とする通信装置。
A communication device,
obtaining means for obtaining information about other devices;
When the information about the other device is acquired, at least part of the acquired information about the other device is displayed, and communication connection is established with the other device by Device Provisioning Protocol (DPP). receiving means for receiving user input as to whether or not to execute setting of parameters necessary for
transmission means for transmitting a DPP Authentication Request to the other device when the user input indicating execution of setting the parameter with the other device is received;
execution means for executing setting of the parameter with the other device when the authentication based on the DPP Authentication Request is successful ;
A communication device comprising:
前記受付手段は、前記他の装置に関する情報を提示して、前記ユーザ入力を受け付ける、
ことを特徴とする請求項1又は2に記載の通信装置。
the accepting means presents information about the other device and accepts the user input;
3. The communication device according to claim 1 or 2, characterized by:
前記受付手段は、前記パラメータ設定における前記通信装置の役割に基づいて、前記他の装置に関する情報を提示するか否かを制御する、
ことを特徴とする請求項3に記載の通信装置。
The receiving means controls whether or not to present information about the other device based on the role of the communication device in setting the parameters .
4. The communication device according to claim 3, characterized by:
前記受付手段は、前記通信装置がパラメータを提供する役割で動作する場合に、前記他の装置に関する情報を提示する、
ことを特徴とする請求項4に記載の通信装置。
The receiving means presents information about the other device when the communication device operates in a role of providing parameters.
5. The communication device according to claim 4, characterized by:
前記受付手段は、前記通信装置がパラメータを提供する役割で動作する場合であって、前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置に関する情報をユーザに入力させる、
ことを特徴とする請求項1から5のいずれか1項に記載の通信装置。
When the communication device operates in a role of providing parameters, and when the user input indicating execution of setting of the parameters with the other device is received, prompting a user to enter information about the other device;
6. The communication device according to any one of claims 1 to 5, characterized in that:
前記受付手段は、前記通信装置がパラメータを提供する役割で動作する場合に、前記ユーザ入力として、前記他の装置との間で相互認証を行うか否かの選択を受け付ける、
ことを特徴とする請求項1から6のいずれか1項に記載の通信装置。
The accepting means accepts, as the user input, a selection as to whether or not to perform mutual authentication with the other device when the communication device operates in a role of providing parameters.
The communication device according to any one of claims 1 to 6, characterized in that:
前記相互認証は、前記他の装置が前記通信装置の情報を取得することと、前記通信装置の情報を前記他の装置が取得することとを含む、
ことを特徴とする請求項7に記載の通信装置。
The mutual authentication includes obtaining information of the communication device by the other device and obtaining information of the communication device by the other device,
8. The communication device according to claim 7, characterized by:
前記DPP Authentication Requestは、前記他の装置が前記通信装置に関する情報を取得したことに基づいて前記他の装置から送信される、
ことを特徴とする請求項1に記載の通信装置。
The DPP Authentication Request is transmitted from the other device based on the acquisition of information about the communication device by the other device.
The communication device according to claim 1, characterized by:
前記通信装置に関する情報を示す画像を表示する表示手段をさらに有し、
前記他の装置は前記表示手段によって表示された画像を撮像することによって前記通信装置に関する情報を取得する、
ことを特徴とする請求項1に記載の通信装置。
further comprising display means for displaying an image showing information about the communication device;
the other device acquires information about the communication device by capturing an image displayed by the display means;
The communication device according to claim 1, characterized by:
前記他の装置は、前記通信装置に関する情報を示す画像を撮像することによって、前記通信装置に関する情報を取得する、
ことを特徴とする請求項1に記載の通信装置。
the other device acquires information about the communication device by capturing an image showing information about the communication device;
The communication device according to claim 1, characterized by:
前記他の装置は、無線通信によって、前記通信装置に関する情報を取得する、
ことを特徴とする請求項1に記載の通信装置。
the other device acquires information about the communication device by wireless communication;
The communication device according to claim 1, characterized by:
前記実行手段は、前記他の装置との間でパラメータの設定を実行することを示す前記ユーザ入力が受け付けられた場合にDPP Authentication Responseを送信し、前記他の装置と前記DPPによる前記パラメータの設定を実行する、ことを特徴とする請求項1に記載の通信装置。 The execution means transmits a DPP Authentication Response when the user input indicating execution of parameter setting with the other device is received, and the parameter setting is performed by the other device and the DPP. 2. The communication device according to claim 1, wherein: 前記受付手段は、前記他の装置との間で前記パラメータの設定を実行することを許可するためのオブジェクトと前記パラメータの設定を実行することを許可しないためのオブジェクトとを表示し、前記ユーザ入力を受け付ける、ことを特徴とする請求項1から13のいずれか1項に記載の通信装置。 The receiving means displays an object for permitting execution of the parameter setting with the other device and an object for not permitting execution of the parameter setting, and the user input 14. A communication device according to any one of claims 1 to 13, characterized in that it receives a 通信装置であって、
通信接続を行うために必要なパラメータの設定を実行する処理において前記通信装置に関する公開鍵を用いて行われる認証処理に関する要求を、前記公開鍵を取得した他の装置から受信する受信手段と、
前記受信手段によって前記要求が受信された場合に、前記他の装置との間で前記パラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付手段と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置と前記パラメータ設定を実行する実行手段と、
を有することを特徴とする通信装置。
A communication device,
Receiving means for receiving , from another device that has acquired the public key, a request regarding authentication processing that is performed using a public key relating to the communication device in processing for setting parameters necessary for establishing a communication connection;
receiving means for receiving a user input as to whether or not to execute setting of the parameter with the other device when the request is received by the receiving means;
execution means for executing the parameter setting with the other device when the user input indicating execution of the parameter setting with the other device is received;
A communication device comprising:
通信装置であって、
他の装置に関する公開鍵を取得する取得手段と、
前記他の装置に関する公開鍵が取得された場合前記他の装置に関する情報を表示し、前記他の装置との間で通信接続を行うために必要なパラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付手段と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合、前記公開鍵を用いて行われる認証処理に関する要求を前記他の装置に送信する送信手段と、
前記他の装置から前記認証処理に関する応答を受信する受信手段と、
前記応答が受信された後、前記他の装置と前記パラメータ設定を実行する実行手段と、
を有することを特徴とする通信装置。
A communication device,
obtaining means for obtaining public keys relating to other devices;
When the public key related to the other device is acquired, the information related to the other device is displayed, and whether or not to set parameters necessary for establishing communication connection with the other device is determined. receiving means for receiving user input;
transmitting means for transmitting a request for authentication processing performed using the public key to the other device when the user input indicating that the parameter setting is to be executed with the other device is accepted; ,
receiving means for receiving a response regarding the authentication process from the other device;
execution means for executing setting of the parameter with the other device after the response is received;
A communication device comprising:
前記他の装置は、前記通信装置に関する公開鍵を示す画像を撮像することによって、前記通信装置に関する公開鍵を取得する、
ことを特徴とする請求項1に記載の通信装置。
The other device obtains the public key related to the communication device by capturing an image showing the public key related to the communication device.
16. The communication device according to claim 15 , characterized by:
前記他の装置は、無線通信によって、前記通信装置に関する公開鍵を取得する、
ことを特徴とする請求項1に記載の通信装置。
the other device obtains a public key related to the communication device by wireless communication;
16. The communication device according to claim 15 , characterized by:
前記実行手段は、前記他の装置との間で前記パラメータの設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記認証処理に関する応答を送信し、前記他の装置と前記パラメータの設定を実行する、ことを特徴とする請求項15に記載の通信装置。 The executing means transmits a response regarding the authentication process when the user input indicating execution of the setting of the parameters with the other device is accepted, and performs the setting of the parameters with the other device. 16. A communication device according to claim 15, characterized in that it performs configuration. 通信装置によって実行される制御方法であって、
通信接続を行うために必要なパラメータの設定を行うためのDevice Provisioning Protocol(DPP)におけるDPP Authentication Requestを、前記通信装置に関する情報を取得した他の装置から受信する受信工程と、
前記DPP Authentication Requestが受信された場合に、前記他の装置との間で前記パラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付工程と、
前記他の装置との間でパラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置と前記DPPによる前記パラメータ設定を実行する実行工程と、
を有することを特徴とする制御方法。
A control method performed by a communication device, comprising:
a receiving step of receiving a DPP Authentication Request in Device Provisioning Protocol (DPP) for setting parameters necessary for establishing a communication connection from another device that has acquired information about the communication device ;
a receiving step of receiving a user input as to whether or not to execute setting of the parameter with the other device when the DPP Authentication Request is received;
an executing step of executing the parameter setting by the other device and the DPP when the user input indicating executing the parameter setting with the other device is received;
A control method characterized by having
通信装置によって実行される制御方法であって、
他の装置に関する情報を取得する取得工程と、
前記他の装置に関する情報が取得された場合前記取得した前記他の装置に関する情報の少なくとも一部を表示し、前記他の装置との間でDevice Provisioning Protocol(DPP)により通信接続を行うために必要なパラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付工程と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、DPP Authentication Requestを前記他の装置に送信する送信工程と、
前記DPP Authentication Requestに基づく認証に成功すると、前記他の装置と前記パラメータ設定を実行する実行工程と、
を有することを特徴とする制御方法。
A control method performed by a communication device, comprising:
an obtaining step of obtaining information about the other device;
When the information about the other device is acquired, at least part of the acquired information about the other device is displayed, and communication connection is established with the other device by Device Provisioning Protocol (DPP). a receiving step for receiving user input as to whether or not to execute setting of parameters necessary for
a transmission step of transmitting a DPP Authentication Request to the other device when the user input indicating that the parameter setting is to be performed with the other device is received;
an executing step of executing setting of the parameter with the other device when the authentication based on the DPP Authentication Request is successful ;
A control method characterized by having
通信装置によって実行される制御方法であって、
通信接続を行うために必要なパラメータの設定を実行する処理において前記通信装置に関する公開鍵を用いて行われる認証処理に関する要求を、前記公開鍵を取得した他の装置から受信する受信工程と、
前記要求が受信された場合に、前記他の装置との間で前記パラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付工程と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合に、前記他の装置と前記パラメータ設定を実行する実行工程と、
を有することを特徴とする制御方法。
A control method performed by a communication device, comprising:
a receiving step of receiving , from another device that has acquired the public key, a request relating to authentication processing that is performed using the public key of the communication device in the processing of setting parameters necessary for establishing a communication connection ;
a receiving step of receiving a user input as to whether or not to execute setting of the parameter with the other device when the request is received ;
an executing step of executing the parameter setting with the other device when the user input indicating executing the parameter setting with the other device is received;
A control method characterized by having
通信装置によって実行される制御方法であって、
他の装置に関する公開鍵を取得する取得工程と、
前記他の装置に関する公開鍵が取得された場合前記他の装置に関する情報を表示し、前記他の装置との間で通信接続を行うために必要なパラメータ設定を実行するか否かについてのユーザ入力を受け付ける受付工程と、
前記他の装置との間で前記パラメータ設定を実行することを示す前記ユーザ入力が受け付けられた場合、前記公開鍵を用いて行われる認証処理に関する要求を前記他の装置に送信する送信工程と、
前記他の装置から前記認証処理に関する応答を受信する受信工程と、
前記応答が受信された後、前記他の装置と前記パラメータ設定を実行する実行工程と、
を有することを特徴とする制御方法。
A control method performed by a communication device, comprising:
obtaining a public key for another device;
When the public key related to the other device is acquired, the information related to the other device is displayed, and whether or not to set parameters necessary for establishing communication connection with the other device is determined. a receiving step for receiving user input;
a sending step of sending a request for an authentication process performed using the public key to the other device when the user input indicating execution of setting the parameter with the other device is accepted; ,
a receiving step of receiving a response regarding the authentication process from the other device;
performing the setting of the parameter with the other device after the response is received;
A control method characterized by having
コンピュータを請求項1から1のいずれか1項に記載の通信装置が有する各手段として機能させるためのプログラム。 A program for causing a computer to function as each means of the communication device according to any one of claims 1 to 19 .
JP2018084476A 2018-04-25 2018-04-25 Communication device, control method, and program Active JP7257744B2 (en)

Priority Applications (13)

Application Number Priority Date Filing Date Title
JP2018084476A JP7257744B2 (en) 2018-04-25 2018-04-25 Communication device, control method, and program
EP23190784.1A EP4266723A3 (en) 2018-04-25 2019-04-04 Communication apparatus, control method, and program
EP19167252.6A EP3562125B1 (en) 2018-04-25 2019-04-04 Communication apparatus, control method, and computer program
ES21193174T ES2957461T3 (en) 2018-04-25 2019-04-04 Communication apparatus, control procedure and program
EP21193174.6A EP3955552B1 (en) 2018-04-25 2019-04-04 Communication apparatus, control method, and program
KR1020190042814A KR102527424B1 (en) 2018-04-25 2019-04-12 Communication apparatus, control method, and computer-readable storage medium
US16/384,204 US11838116B2 (en) 2018-04-25 2019-04-15 Communication apparatus, control method, and computer-readable storage medium
CN201910323424.4A CN110401985B (en) 2018-04-25 2019-04-22 Communication apparatus, control method, and computer-readable storage medium
CN202310635935.6A CN116647935A (en) 2018-04-25 2019-04-22 Communication apparatus, control method, and computer-readable storage medium
JP2023060829A JP2023098925A (en) 2018-04-25 2023-04-04 Communication apparatus
KR1020230053706A KR102644362B1 (en) 2018-04-25 2023-04-25 Communication apparatus, control method, and computer-readable storage medium
US18/480,694 US20240031362A1 (en) 2018-04-25 2023-10-04 Communication apparatus, control method, and computer-readable storage medium
KR1020240029680A KR20240038661A (en) 2018-04-25 2024-02-29 Communication apparatus, control method, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018084476A JP7257744B2 (en) 2018-04-25 2018-04-25 Communication device, control method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023060829A Division JP2023098925A (en) 2018-04-25 2023-04-04 Communication apparatus

Publications (2)

Publication Number Publication Date
JP2019193120A JP2019193120A (en) 2019-10-31
JP7257744B2 true JP7257744B2 (en) 2023-04-14

Family

ID=66323653

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018084476A Active JP7257744B2 (en) 2018-04-25 2018-04-25 Communication device, control method, and program
JP2023060829A Pending JP2023098925A (en) 2018-04-25 2023-04-04 Communication apparatus

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023060829A Pending JP2023098925A (en) 2018-04-25 2023-04-04 Communication apparatus

Country Status (6)

Country Link
US (2) US11838116B2 (en)
EP (3) EP3955552B1 (en)
JP (2) JP7257744B2 (en)
KR (3) KR102527424B1 (en)
CN (2) CN116647935A (en)
ES (1) ES2957461T3 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5127658B2 (en) 2008-10-06 2013-01-23 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM
JP7257744B2 (en) 2018-04-25 2023-04-14 キヤノン株式会社 Communication device, control method, and program
JP7259334B2 (en) * 2019-01-09 2023-04-18 ブラザー工業株式会社 Terminal and computer program for terminal
JP2021180362A (en) * 2020-05-11 2021-11-18 キヤノン株式会社 Communication device, method for controlling communication device, and program
KR20220142774A (en) * 2021-04-15 2022-10-24 삼성전자주식회사 Electronic device and method for performing cloud onboarding of external electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016081428A (en) 2014-10-21 2016-05-16 キヤノン株式会社 Information terminal, information processing device, and program
JP2017135520A (en) 2016-01-26 2017-08-03 キヤノン株式会社 Communication device, communication method and program
JP2018037979A (en) 2016-09-02 2018-03-08 キヤノン株式会社 Communication device, communication method, and program

Family Cites Families (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3918500A (en) 1974-03-18 1975-11-11 Kayaba Industry Co Ltd Harness cord selecting and driving device for jacquard machines
JP5571892B2 (en) 2008-10-06 2014-08-13 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, COMPUTER PROGRAM, STORAGE MEDIUM
JP5127658B2 (en) 2008-10-06 2013-01-23 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, COMPUTER PROGRAM, AND STORAGE MEDIUM
JP5121668B2 (en) 2008-10-22 2013-01-16 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5759242B2 (en) 2011-04-14 2015-08-05 キヤノン株式会社 COMMUNICATION DEVICE, PROCESSING METHOD THEREOF, AND PROGRAM
JP6271843B2 (en) * 2013-02-22 2018-01-31 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
JP6335466B2 (en) * 2013-10-04 2018-05-30 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6269025B2 (en) 2013-12-18 2018-01-31 株式会社バッファロー Wireless connection apparatus, method for copying setting information related to wireless communication, and network system
US9848332B2 (en) * 2014-11-21 2017-12-19 Apple Inc. Method and apparatus for providing wireless service groups
JP6472259B2 (en) * 2015-02-10 2019-02-20 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP6525714B2 (en) * 2015-04-30 2019-06-05 キヤノン株式会社 Communication device, control method of communication device, and program
JP6558965B2 (en) 2015-06-04 2019-08-14 キヤノン株式会社 Communication device, control method, and program
JP6570355B2 (en) 2015-07-21 2019-09-04 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN106535357A (en) 2015-09-10 2017-03-22 中国电信股份有限公司 Method and system for configuring wifi parameters
JP6789628B2 (en) 2015-12-18 2020-11-25 キヤノン株式会社 Communication equipment, control methods, and programs
JP6827773B2 (en) * 2016-01-18 2021-02-10 キヤノン株式会社 Communication equipment, communication methods and programs
US10873842B2 (en) 2016-04-08 2020-12-22 Blackberry Limited Managed object to provision a device according to one of plural provisioning techniques
JP6794191B2 (en) 2016-09-02 2020-12-02 キヤノン株式会社 Communication equipment, communication methods, and programs
JP6716399B2 (en) 2016-09-06 2020-07-01 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6702833B2 (en) * 2016-09-15 2020-06-03 キヤノン株式会社 Communication device, control of communication device and program
US20180109418A1 (en) * 2016-10-19 2018-04-19 Qualcomm Incorporated Device provisioning protocol (dpp) using assisted bootstrapping
EP3379789A1 (en) * 2017-03-20 2018-09-26 Koninklijke Philips N.V. Mutual authentication system
JP7071164B2 (en) 2018-03-01 2022-05-18 キヤノン株式会社 Communication equipment, control methods for communication equipment, and programs
JP7151131B2 (en) * 2018-03-30 2022-10-12 ブラザー工業株式会社 Communication device and computer program for the communication device
JP7183559B2 (en) * 2018-03-30 2022-12-06 ブラザー工業株式会社 Printers and computer programs for printers
JP7024559B2 (en) * 2018-03-30 2022-02-24 ブラザー工業株式会社 Computer programs for terminal devices, terminal devices, communication devices, and computer programs for communication devices
JP7155581B2 (en) * 2018-03-30 2022-10-19 ブラザー工業株式会社 Communication device and computer program for the communication device
US20190313246A1 (en) * 2018-04-06 2019-10-10 Iot And M2M Technologies, Llc Device default wifi credentials for simplified and secure configuration of networked transducers
JP7257744B2 (en) 2018-04-25 2023-04-14 キヤノン株式会社 Communication device, control method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016081428A (en) 2014-10-21 2016-05-16 キヤノン株式会社 Information terminal, information processing device, and program
JP2017135520A (en) 2016-01-26 2017-08-03 キヤノン株式会社 Communication device, communication method and program
JP2018037979A (en) 2016-09-02 2018-03-08 キヤノン株式会社 Communication device, communication method, and program

Also Published As

Publication number Publication date
EP3955552B1 (en) 2023-09-20
EP3562125A1 (en) 2019-10-30
US20190334892A1 (en) 2019-10-31
EP3955552A1 (en) 2022-02-16
EP4266723A2 (en) 2023-10-25
KR20240038661A (en) 2024-03-25
US11838116B2 (en) 2023-12-05
EP3562125B1 (en) 2021-10-06
US20240031362A1 (en) 2024-01-25
KR20230065205A (en) 2023-05-11
EP4266723A3 (en) 2023-11-15
KR102644362B1 (en) 2024-03-07
EP3955552C0 (en) 2023-09-20
CN110401985B (en) 2023-06-27
CN110401985A (en) 2019-11-01
KR102527424B1 (en) 2023-05-03
ES2957461T3 (en) 2024-01-19
JP2023098925A (en) 2023-07-11
CN116647935A (en) 2023-08-25
JP2019193120A (en) 2019-10-31
KR20190124141A (en) 2019-11-04

Similar Documents

Publication Publication Date Title
US11770864B2 (en) Communication apparatus, control method for the communication apparatus, and storage medium
JP7257744B2 (en) Communication device, control method, and program
US11683382B2 (en) Communication device, method for controlling communication device, and program
JP6525714B2 (en) Communication device, control method of communication device, and program
JP6465723B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US10966261B2 (en) Communication apparatus, communication method, and program
JP2005223896A (en) Vision encoding of contents address for making data transfer in digital apparatus easy
CN108292199B (en) Information processing apparatus, information processing system, and information processing method
CN112655272B (en) Communication device, communication method, and non-transitory computer-readable storage medium
US20170215067A1 (en) Communication apparatus, communication method, and storage medium
JP2021005837A (en) Wireless communication apparatus and method of controlling the same
CN112655275B (en) Communication apparatus, communication method, and computer-readable storage medium
JP7258493B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD AND PROGRAM
JP2020043397A (en) Communication device, communication method, and program
JP2020088567A (en) Communication device, control method thereof, communication system, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220922

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230404

R151 Written notification of patent or utility model registration

Ref document number: 7257744

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151