JP2020088567A - Communication device, control method thereof, communication system, and program - Google Patents

Communication device, control method thereof, communication system, and program Download PDF

Info

Publication number
JP2020088567A
JP2020088567A JP2018219454A JP2018219454A JP2020088567A JP 2020088567 A JP2020088567 A JP 2020088567A JP 2018219454 A JP2018219454 A JP 2018219454A JP 2018219454 A JP2018219454 A JP 2018219454A JP 2020088567 A JP2020088567 A JP 2020088567A
Authority
JP
Japan
Prior art keywords
communication device
communication
period
unit
authentication
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
JP2018219454A
Other languages
Japanese (ja)
Inventor
誠 梅原
Makoto Umehara
誠 梅原
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 JP2018219454A priority Critical patent/JP2020088567A/en
Publication of JP2020088567A publication Critical patent/JP2020088567A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Facsimiles In General (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

To streamline an authentication process when providing a communication parameter.SOLUTION: A communication device provides predetermined information for performing an authentication process with a communication partner device, performs a scan process for detecting other communication devices in the vicinity during a first period after proving the predetermined information, and performs a waiting operation for receiving, during a second period following the first period, a request signal for the authentication process from the communication partner device that obtained the predetermined information. The first period and the second period are set alternately.SELECTED DRAWING: Figure 4

Description

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

従来、アクセスポイント(AP)を介した無線LAN通信が知られている。ステーション(STA)として機能する通信装置は、APとの間でセキュアな無線LAN通信を行うために、暗号方式、暗号鍵、認証方式、認証鍵等のさまざまな通信パラメータを設定する必要がある。 Conventionally, wireless LAN communication via an access point (AP) is known. The communication device functioning as a station (STA) needs to set various communication parameters such as an encryption method, an encryption key, an authentication method, and an authentication key in order to perform secure wireless LAN communication with the AP.

特許文献1には、通信装置としてのプリンタが、APと通信を行うための通信パラメータ設定を行う技術が開示されている。具体的には、まずプリンタはスキャン(サーチ)を実行し、周囲のAPを検出する。その後、プリンタは携帯端末と無線LAN接続し、検出したAPのリストを携帯端末に送信する。そして、ユーザの操作に応じて携帯端末がAPのリストの中から所望のAPを選択すると、プリンタは選択されたAPと通信を行うための通信パラメータ設定を行う。 Patent Document 1 discloses a technique in which a printer as a communication device sets communication parameters for communicating with an AP. Specifically, the printer first performs a scan (search) to detect surrounding APs. After that, the printer makes a wireless LAN connection with the mobile terminal and sends the list of detected APs to the mobile terminal. Then, when the mobile terminal selects a desired AP from the list of APs according to the user's operation, the printer sets communication parameters for communicating with the selected AP.

また、通信パラメータをセキュアに無線LANで伝送する方式として、DPP(Device Provisioning Protocol)が策定されている。DPPでは、コンフィギュレータと呼ばれる装置が、エンローリと呼ばれる装置に通信パラメータを提供する。なお、通信パラメータは、DPP規格では、コネクタ等といった、APに接続するために必要な情報を含む。 Further, DPP (Device Provisioning Protocol) has been established as a method for securely transmitting communication parameters via a wireless LAN. In DPP, a device called a configurator provides communication parameters to a device called an enrollee. In the DPP standard, the communication parameter includes information necessary for connecting to the AP, such as a connector.

特開2015−23441号公報JP, 2015-23441, A

特許文献1に記載の通信パラメータ設定方法において、DPPを用いて携帯端末からプリンタに対して、APと通信を行うための通信パラメータを提供することを考える。DPPにおける処理として、QRコード(登録商標)やBLE(Bluetooth(登録商標) Low Energy)等を介して公開鍵やアドレス等のBootstrap情報を提供/取得するBootstrap処理、デバイス認証を行う認証処理、通信パラメータを伝送する設定処理が規定されている。よって、まず、携帯端末とプリンタはBootstrap処理を開始する。また、プリンタは、Bootstrap処理と並行して、周囲のAPを検出するためのスキャンを開始する。QRコードを用いてBootstrap処理を行う場合、プリンタは、Bootstrap情報を携帯端末に提供するために、当該情報を示すQRコードを自装置の表示部に表示する。一方、携帯端末は、このQRコードを読み取ることでBootstrap情報を取得することができる。そして、携帯端末は、認証処理のために、取得したBootstrap情報に基づいて、プリンタに認証要求信号を送信する。 In the communication parameter setting method described in Patent Document 1, it is considered that the communication parameter for communicating with the AP is provided from the mobile terminal to the printer using DPP. As processes in DPP, a Bootstrap process for providing/obtaining Bootstrap information such as a public key and an address via a QR code (registered trademark) or BLE (Bluetooth (registered trademark) Low Energy), an authentication process for performing device authentication, a communication A setting process for transmitting parameters is specified. Therefore, first, the mobile terminal and the printer start the Bootstrap process. Further, the printer starts a scan for detecting surrounding APs in parallel with the bootstrap processing. When the Bootstrap process is performed using the QR code, the printer displays the QR code indicating the bootstrap information on the display unit of the device itself in order to provide the Bootstrap information to the mobile terminal. On the other hand, the mobile terminal can acquire the Bootstrap information by reading the QR code. Then, the mobile terminal transmits an authentication request signal to the printer based on the acquired Bootstrap information for the authentication process.

ここで、携帯端末が認証要求信号を送信したときに、プリンタがAPを検出するためのスキャンを実行中である場合、プリンタは認証要求信号を受信することができないため、認証処理を実行することができないという課題が生じる。このような課題に対して、携帯端末がプリンタからの認証応答信号を所定時間受信できない場合には認証要求信号を再送する、もしくは、プリンタがスキャン実行を完了した後にQRコードの表示を開始することが考えられる。しかしながら、前者の場合には、ユーザが携帯端末でQRコードの読み取りを行ったにも関わらず、プリンタがスキャン実行を完了するまで認証処理に移行できない。また、後者の場合には、プリンタはスキャン実行を完了するまでQRコードを表示部に表示できず、携帯端末もQRコードを読み取ることができない。すなわち、これらの対策では、認証処理までに時間がかかり、ユーザ利便性が低くなるという別の課題が生じる。 Here, if the printer is executing a scan for detecting the AP when the mobile terminal transmits the authentication request signal, the printer cannot receive the authentication request signal, and therefore the authentication process is executed. There is a problem that you cannot do it. To solve such a problem, when the mobile terminal cannot receive the authentication response signal from the printer for a predetermined time, the authentication request signal is retransmitted, or the QR code display is started after the printer completes the scan execution. Can be considered. However, in the former case, even though the user has read the QR code with the mobile terminal, it is not possible to shift to the authentication processing until the printer completes the scan execution. In the latter case, the printer cannot display the QR code on the display unit until the scan execution is completed, and the mobile terminal cannot read the QR code. That is, with these measures, another problem arises in that it takes time until the authentication process and user convenience is reduced.

本発明は、このような課題に鑑みてなされたものであり、通信パラメータ提供の際の認証処理を効率化することを目的とする。 The present invention has been made in view of such a problem, and an object of the present invention is to improve the efficiency of authentication processing when providing communication parameters.

上記目的を達成するための一手段として、本発明の通信装置は以下の構成を有する。すなわち、通信装置であって、通信相手装置との認証処理を行うために所定の情報を提供する提供手段と、前記所定の情報が提供された後の第1の期間で、周囲の他の通信装置を検出するためのスキャン処理を行うスキャン手段と、前記第1の期間に続く第2の期間で、前記提供手段によって提供された前記所定の情報を取得した前記通信相手装置から前記認証処理に対する要求信号を受信するための待ち受け動作を行う受信手段と、を有し、前記第1の期間と前記第2の期間は交互に設定される。 As one means for achieving the above object, the communication device of the present invention has the following configuration. That is, the communication device is a providing unit that provides predetermined information for performing an authentication process with a communication partner device, and other surrounding communication in a first period after the predetermined information is provided. A scanning unit that performs a scanning process for detecting a device, and a communication unit that acquires the predetermined information provided by the providing unit for the authentication process in a second period following the first period. A reception unit that performs a standby operation for receiving a request signal, and the first period and the second period are set alternately.

本発明によれば、通信パラメータ提供の際の認証処理を効率化することが可能となる。 According to the present invention, it is possible to improve the efficiency of authentication processing when providing communication parameters.

実施形態におけるプリンタ301の構成を示す図である。FIG. 3 is a diagram showing a configuration of a printer 301 according to the embodiment. 実施形態におけるスマートフォン301の構成を示す図である。It is a figure which shows the structure of the smart phone 301 in embodiment. 実施形態における通信システム30の構成の一例を示す図である。It is a figure which shows an example of a structure of the communication system 30 in embodiment. プリンタ301の動作の流れを示すフローチャートである。6 is a flowchart showing a flow of operations of the printer 301. スマートフォン302の動作の流れを示すフローチャートである。6 is a flowchart showing a flow of operations of the smartphone 302. 図4のS403の動作を説明するためのシーケンス図である。It is a sequence diagram for explaining the operation of S403 of FIG. スマートフォン302に表示されるAP情報一例を示す図である。It is a figure which shows an example of AP information displayed on the smart phone 302.

以下、添付の図面を参照して、本発明をその実施形態の一例に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。以下では、IEEE(The Institute of Electrical and Electronics Engineers,Inc.)802.11シリーズに準拠した無線LANシステムを用いた例について説明する。しかしながら、通信形態は必ずしもIEEE802.11規格に準拠した無線LANには限らない。 Hereinafter, the present invention will be described in detail based on an example of an embodiment with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the illustrated configurations. Hereinafter, an example using a wireless LAN system conforming to the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 series will be described. However, the communication form is not necessarily limited to the wireless LAN compliant with the IEEE 802.11 standard.

(通信システムの構成)
図3に、本実施形態における通信システム30の構成を示す。通信システム30は、プリンタ301、スマートフォン302、AP303〜306を含む。AP303〜306のSSID(Service Set Identifier)は、SSID_AP303〜SSID_AP306とする。スマートフォン302は、DPPに規定されるコンフィギュレータとして動作し、プリンタ301は、DPPに規定されるエンローリとして動作する。本実施形態では、スマートフォン302が、プリンタ301に対して、AP303と接続して通信するための通信パラメータを提供し、プリンタ301が、AP303により形成されるネットワークに参加する場合を想定する。
(Communication system configuration)
FIG. 3 shows the configuration of the communication system 30 in this embodiment. The communication system 30 includes a printer 301, a smartphone 302, and APs 303 to 306. The SSIDs (Service Set Identifiers) of the APs 303 to 306 are SSID_AP 303 to SSID_AP 306. The smartphone 302 operates as a configurator defined by DPP, and the printer 301 operates as an enrollee defined by DPP. In the present embodiment, it is assumed that the smartphone 302 provides the printer 301 with communication parameters for connecting to and communicating with the AP 303, and the printer 301 participates in the network formed by the AP 303.

なお、通信システム30を構成する通信装置は図3に示すものに限定されない。例えば、携帯電話、カメラ、PC、ビデオカメラ、スマートウォッチ、PDA(Personal Digital Assistant)などの通信装置によって、通信システム30が構成されてもよい。また、通信システム30は4台のAPを含むが、APの数はこれに限定されない。 The communication device forming the communication system 30 is not limited to that shown in FIG. For example, the communication system 30 may be configured by communication devices such as a mobile phone, a camera, a PC, a video camera, a smart watch, and a PDA (Personal Digital Assistant). Further, the communication system 30 includes four APs, but the number of APs is not limited to this.

(プリンタ301の構成)
図1(A)に、プリンタ301のハードウェア構成の一例を示す。制御部101は、記憶部102に記憶される制御プログラムを実行することによりプリンタ301全体を制御する制御部である。制御部101は、例えば1つ以上のCPU(Central Processing Unit)により構成される。記憶部102は、制御部101が実行する制御プログラム、画像データ、通信パラメータ等の各種情報を記憶する。後述する各種動作は、記憶部102に記憶された制御プログラムを制御部101が実行することにより行われ得る。記憶部102は、例えば、1つ以上の、ROM、RAM、HDD、フラッシュメモリまたは着脱可能なSDカードなどの記憶媒体により構成される。
(Configuration of printer 301)
FIG. 1A shows an example of the hardware configuration of the printer 301. The control unit 101 is a control unit that controls the entire printer 301 by executing a control program stored in the storage unit 102. The control unit 101 includes, for example, one or more CPUs (Central Processing Units). The storage unit 102 stores various kinds of information such as a control program executed by the control unit 101, image data, and communication parameters. Various operations described below can be performed by the control unit 101 executing the control program stored in the storage unit 102. The storage unit 102 is composed of, for example, one or more storage media such as a ROM, a RAM, a HDD, a flash memory, or a removable SD card.

無線部103は、IEEE802.11シリーズに準拠した無線LAN通信を行う。無線部103は、無線通信を行うチップにより構成され得る。表示部104は、LCDやLEDのように視覚で認知可能な情報の出力、あるいはスピーカなどの音出力が可能な機能を有し、各種表示を行う。表示部104は、視覚情報を表示する場合、表示する視覚情報に対応する画像データを保持するVRAM(Video RAM)を有し、VRAMに格納した画像データをLCDやLEDに表示させ続ける表示制御を行い得る。 The wireless unit 103 performs wireless LAN communication conforming to the IEEE 802.11 series. The wireless unit 103 can be configured by a chip that performs wireless communication. The display unit 104 has a function capable of outputting visually recognizable information, such as an LCD or LED, or a sound output such as a speaker, and performs various displays. When displaying visual information, the display unit 104 has a VRAM (Video RAM) that holds image data corresponding to the visual information to be displayed, and performs a display control for continuing to display the image data stored in the VRAM on an LCD or LED. You can do it.

印刷部105は、画像データ等を印刷するための機能を有する。アンテナ制御部106は、アンテナ107の出力制御を行う。アンテナ107は、無線LANで通信するための2.4GHz帯および/または5GHz帯で通信可能なアンテナである。入力部108は、ユーザが各種入力等を行い、プリンタ301を操作するための入力部である。入力部108は、入力に対応するフラグ等を記憶部102等のメモリに記憶し得る。なお、表示部104と入力部108は連結して動作することによりUI(ユーザインタフェース)として機能してもよい。 The printing unit 105 has a function of printing image data and the like. The antenna control unit 106 controls the output of the antenna 107. The antenna 107 is an antenna capable of communicating in the 2.4 GHz band and/or 5 GHz band for communicating with a wireless LAN. The input unit 108 is an input unit for the user to perform various inputs and operate the printer 301. The input unit 108 can store a flag or the like corresponding to the input in a memory such as the storage unit 102. Note that the display unit 104 and the input unit 108 may function as a UI (user interface) by connecting and operating.

図1(B)に、プリンタ301の機能構成の一例を示す。なお、本機能ブロックに含まれる一部または全部がハードウェア化されていてもよい。その場合、各機能ブロックに含まれる一部または全部は、例えばASIC(Application Specific Integrated Circuit)により構成され得る。 FIG. 1B shows an example of the functional configuration of the printer 301. Note that some or all of the functional blocks may be implemented as hardware. In that case, a part or all included in each functional block may be configured by, for example, an ASIC (Application Specific Integrated Circuit).

送信部111と受信部112は、各種情報(パケット、メッセージ、信号)を、無線部103を介してそれぞれ、送信および受信する。コード情報生成部113は、バーコード等の一次元バーコード、CPコードまたはQRコード等二次元コードといったコード情報およびコード情報を含む画像を生成する。コード情報には、プリンタ301が通信パラメータ共有処理を実行する際に使用される、プリンタ301の公開鍵や識別子(MACアドレス等)などのBootstrap情報が含まれる。公開鍵は、通信パラメータ共有処理の際のセキュリティを高めるために用いられる情報であり、証明書、またはパスワードなどの情報であってもよい。ここで、公開鍵は公開鍵暗号方式で用いられる暗号鍵の一種である。スキャン制御部114は、プリンタ301の周囲に存在するAPをスキャンするための制御を行う。認証処理部115は、通信相手装置(本実施形態ではスマートフォン302)に対する認証処理を実行する。本実施形態では、認証処理部115は、受信部112が認証要求信号を受信したことを受けて、DPPに従う認証処理を実行する。リスト管理部116は、スキャン制御部114によるスキャン処理により検出されたAPのリストを作成して管理する。接続処理部117は、APとの間で4−Way Handshakeなどの必要な接続処理を実施し、APとの間で無線LAN接続が確立するための制御を行う。表示制御部118は、表示部104への表示制御を行う。 The transmitting unit 111 and the receiving unit 112 respectively transmit and receive various information (packets, messages, signals) via the wireless unit 103. The code information generation unit 113 generates an image including code information and code information such as a one-dimensional barcode such as a barcode and a two-dimensional code such as a CP code or a QR code. The code information includes Boottrap information such as a public key of the printer 301 and an identifier (MAC address or the like) used when the printer 301 executes the communication parameter sharing process. The public key is information used to enhance security during communication parameter sharing processing, and may be information such as a certificate or a password. Here, the public key is a kind of encryption key used in the public key cryptosystem. The scan control unit 114 performs control for scanning APs existing around the printer 301. The authentication processing unit 115 executes an authentication process for the communication partner device (the smartphone 302 in this embodiment). In the present embodiment, the authentication processing unit 115 receives the reception of the authentication request signal by the receiving unit 112 and executes the authentication process according to DPP. The list management unit 116 creates and manages a list of APs detected by the scan processing by the scan control unit 114. The connection processing unit 117 performs necessary connection processing such as 4-Way Handshake with the AP, and performs control for establishing a wireless LAN connection with the AP. The display control unit 118 controls display on the display unit 104.

(スマートフォン302の構成)
図2(A)に、スマートフォン302のハードウェア構成の一例を示す。制御部201、記憶部202、無線部203、表示部204、アンテナ制御部206、アンテナ207、入力部208は、図1(A)に示した制御部101、記憶部102、無線部103、表示部104、アンテナ制御部106、アンテナ107、入力部108と同様のため、説明を省略する。撮影部205は、撮像素子、レンズ等により構成され、写真や動画の撮影を行う。撮影部205は、ユーザの操作により、一次元のバーコードや二次元コードといったコード情報の画像の撮影を行い得る。
(Structure of smartphone 302)
FIG. 2A shows an example of the hardware configuration of the smartphone 302. The control unit 201, the storage unit 202, the wireless unit 203, the display unit 204, the antenna control unit 206, the antenna 207, and the input unit 208 are the control unit 101, the storage unit 102, the wireless unit 103, and the display illustrated in FIG. The description is omitted because it is the same as the unit 104, the antenna control unit 106, the antenna 107, and the input unit 108. The image capturing unit 205 includes an image sensor, a lens, and the like, and captures a photograph or a moving image. The image capturing unit 205 can capture an image of code information such as a one-dimensional barcode or a two-dimensional code according to a user operation.

図2(B)に、スマートフォン302の機能構成の一例を示す。なお、プリンタ301と同様に、本機能ブロックに含まれる一部または全部がハードウェア化されていてもよい。送信部211と受信部212は、各種情報(パケット、メッセージ、信号)を、無線部203を介してそれぞれ、送信および受信する。コード情報解析部213は、撮影部205により撮影された、一次元バーコードや二次元コードといったコード情報の画像を読み取り、読み取った画像を解析し、符号化された所定の情報を取得する。認証処理部214は、通信相手装置(本実施形態ではプリンタ301)に対する認証処理を実行する。表示制御部215は、表示部204への表示を制御する。 FIG. 2B illustrates an example of a functional configuration of the smartphone 302. Similar to the printer 301, part or all of this functional block may be implemented as hardware. The transmission unit 211 and the reception unit 212 respectively transmit and receive various information (packets, messages, signals) via the wireless unit 203. The code information analysis unit 213 reads an image of code information such as a one-dimensional barcode or a two-dimensional code captured by the capturing unit 205, analyzes the read image, and acquires encoded predetermined information. The authentication processing unit 214 executes an authentication process for a communication partner device (printer 301 in this embodiment). The display control unit 215 controls the display on the display unit 204.

(プリンタ301の処理の流れ)
上述したように、本実施形態では、スマートフォン302が、プリンタ301に対して、AP303と接続して通信するための通信パラメータを提供し、プリンタ301が、AP303により形成されるネットワークに参加する場合を想定する。また、スマートフォン302は当該通信パラメータを予め保持しているものとする。
(Processing flow of the printer 301)
As described above, in the present embodiment, the case where the smartphone 302 provides the printer 301 with communication parameters for connecting to and communicating with the AP 303, and the printer 301 joins the network formed by the AP 303. Suppose. In addition, the smartphone 302 is assumed to hold the communication parameters in advance.

図4は、プリンタ301が行う処理の流れを示すフローチャートである。図4に示すフローチャートは、プリンタ301の制御部101が記憶部102に記憶されている制御プログラムを実行し、情報の演算および加工並びに各ハードウェアの制御を実行することにより実現され得る。また、図4に示す処理は、プリンタ301のユーザが入力部108を操作することにより、制御部101が通信パラメータ設定アプリケーションを起動することにより開始されるものとする。 FIG. 4 is a flowchart showing the flow of processing performed by the printer 301. The flowchart shown in FIG. 4 can be realized by the control unit 101 of the printer 301 executing the control program stored in the storage unit 102, and calculating and processing information and controlling each hardware. The processing illustrated in FIG. 4 is started when the user of the printer 301 operates the input unit 108 and the control unit 101 activates the communication parameter setting application.

S401でユーザによる操作により通信パラメータ設定アプリケーションが起動されると、S402でコード情報生成部113はコード情報の画像を生成し、表示制御部118が生成されたコード情報の画像を表示部104に表示する。本実施形態では、コード情報生成部113は、コード情報として、Bootstrap情報を示すQRコードを生成するものとする。DPPでは、Bootstrap情報には少なくとも公開鍵を含めることが規定されており、その他に、認証処理で使用可能なチャンネルリストや、装置(プリンタ301)の識別子(例えばMACアドレス)を含めてもよいことが規定されている。本実施形態では、Bootstrap情報は、プリンタ301の公開鍵と認証処理で使用可能なチャンネルリストとを含み、当該チャンネルリストには単一のチャンネル7chが指定されるものとする。なお、チャンネルリストには、任意のチャンネルが指定され得る。 When the communication parameter setting application is activated by the user's operation in S401, the code information generation unit 113 generates an image of code information in S402, and the display control unit 118 displays the generated code information image on the display unit 104. To do. In the present embodiment, the code information generation unit 113 is assumed to generate a QR code indicating Bootstrap information as the code information. The DPP specifies that the Bootstrap information should include at least a public key, and may additionally include a channel list that can be used in the authentication process and an identifier (for example, a MAC address) of the device (printer 301). Is specified. In the present embodiment, the Bootstrap information includes the public key of the printer 301 and the channel list that can be used in the authentication process, and the single channel 7ch is specified in the channel list. Any channel can be designated in the channel list.

S403では、制御部101は、周囲のAPを検出するためのスキャン動作と、スマートフォン302からの認証要求信号待ち受け動作を時分割で交互に実行するように、スキャン制御部114と受信部112を制御する。図6に、S403の動作を説明するためのシーケンス図を示す。図6に示すように、プリンタ301は、プリンタ301により利用可能な(プリンタ301がサポートする)チャンネルの内、一部のチャンネルをスキャンする動作と、7chでの認証要求待ち受け動作を時分割で実行する。具体的には、スキャン制御部114が、第1の期間で一部のチャンネルをスキャンし、当該第1の期間に続く第2の期間、すなわち、当該スキャンが行われていない間に、受信部112が7chでの認証要求信号を待ち受ける。当該第1の期間と第2の期間は、時間的に連続して交互に設定される。なお、図6では、単一チャンネルのスキャン実行と7chでの認証要求待ち受け動作を時分割で実行する例を示しているが、これに限定されるものではなく、2チャンネル以上のスキャン実行と認証要求待ち受けを時分割で実行するようにしてもよい。また、各チャンネルでのスキャンの時間と認証要求待ち受け時間は、同じであっても異なっていてもよく、それぞれ任意に設定可能である。 In step S403, the control unit 101 controls the scan control unit 114 and the reception unit 112 so that the scan operation for detecting surrounding APs and the operation for waiting for the authentication request signal from the smartphone 302 are alternately performed in a time division manner. To do. FIG. 6 shows a sequence diagram for explaining the operation of S403. As shown in FIG. 6, the printer 301 performs an operation of scanning a part of the channels (supported by the printer 301) usable by the printer 301 and an operation of waiting for an authentication request on 7ch in a time-sharing manner. To do. Specifically, the scan control unit 114 scans a part of the channels in the first period, and during the second period following the first period, that is, while the scan is not performed, the receiving unit 112 waits for an authentication request signal on 7ch. The first period and the second period are continuously and alternately set in terms of time. Although FIG. 6 shows an example in which the scan execution of a single channel and the authentication request waiting operation on 7ch are executed in a time-sharing manner, the present invention is not limited to this, and the scan execution and authentication of two or more channels are performed. The request waiting may be executed in a time-sharing manner. Further, the scanning time and the authentication request waiting time in each channel may be the same or different, and can be set arbitrarily.

図4の説明に戻る。S403の時分割動作は、S404で受信部112が認証要求信号を受信するか、S405でスキャン制御部114がプリンタ301により利用可能な全チャンネルのスキャンが完了したと判定するまで継続される。受信部112が認証要求信号を受信しない間に(S404でNO)、S405で全チャンネルのスキャンが完了したと判定された場合、処理はS406に進み、スキャン制御部114はスキャンを停止し、受信部112が認証要求信号の待ち受けのみを実行する。 Returning to the explanation of FIG. The time division operation of S403 is continued until the receiving unit 112 receives the authentication request signal in S404 or the scan control unit 114 determines in S405 that scanning of all channels available to the printer 301 is completed. If it is determined in S405 that the scanning of all the channels is completed while the receiving unit 112 does not receive the authentication request signal (NO in S404), the process proceeds to S406, the scan control unit 114 stops the scanning, and the reception is performed. The unit 112 only waits for an authentication request signal.

S404において、受信部112が認証要求信号を受信すると(S404でYES)、S407に進む。S407において、認証処理部115は、Bootstrap情報に含めたプリンタ301の公開鍵から識別情報を計算し、当該計算した識別情報と、受信した認証要求信号に含まれる識別情報とに基づいて認証処理を行う。具体的には、認証処理部115は、受信した認証要求信号に含まれる識別情報と、計算した識別情報とが一致するか否かを判定する。両者が一致する場合は認証処理が成功し、それ以外の場合は、認証処理は失敗する。本実施形態では、両者が一致する場合を想定し、送信部111は、認証処理が成功したことを示す認証応答信号を送信する。その後、受信部112がスマートフォン302から認証に成功したことを示す認証確認信号を受信すると認証処理が完了し、DPPに基づくセキュアチャンネル接続が確立される。 When the receiving unit 112 receives the authentication request signal in S404 (YES in S404), the process proceeds to S407. In step S407, the authentication processing unit 115 calculates the identification information from the public key of the printer 301 included in the Bootstrap information, and performs the authentication process based on the calculated identification information and the identification information included in the received authentication request signal. To do. Specifically, the authentication processing unit 115 determines whether the identification information included in the received authentication request signal and the calculated identification information match. If they match, the authentication process succeeds, otherwise, the authentication process fails. In the present embodiment, assuming that the two match, the transmission unit 111 transmits an authentication response signal indicating that the authentication processing has succeeded. After that, when the receiving unit 112 receives an authentication confirmation signal indicating that the authentication is successful from the smartphone 302, the authentication process is completed, and a secure channel connection based on DPP is established.

S408において、スキャン制御部114は、プリンタ301により利用可能な全チャンネルのスキャンが完了しているか否かを判定し、スキャン未実行のチャンネルがある場合には(S408でNO)、S409にてスキャン未実行チャンネルのスキャンを実行する。全チャンネルのスキャン完了後(S408でYES)、S410において、リスト管理部116は、スキャン制御部114によるスキャン結果に基づいて、検出したAPのリストを作成し、送信部111は、作成されたAPのリストをスマートフォン302に送信する。このAPのリストは、認証処理により確立したセキュアチャンネルを用いて送信される。 In step S<b>408, the scan control unit 114 determines whether the scan of all the channels available to the printer 301 has been completed. If there is a scan-unexecuted channel (NO in step S<b>408 ), the scan in step S<b>409 is performed. Perform a scan of unexecuted channels. After scanning of all channels is completed (YES in S408), in S410, the list management unit 116 creates a list of detected APs based on the scan result by the scan control unit 114, and the transmission unit 111 uses the created AP. Of the list is transmitted to the smartphone 302. This list of APs is transmitted using the secure channel established by the authentication process.

S411において、送信部111は、スマートフォン302に通信パラメータを要求する設定要求信号を送信する。これに応答する形で、受信部212がスマートフォン302から通信パラメータを含む設定応答信号を受信すると、設定処理が完了する。通信パラメータには、ネットワーク識別子としてのSSID、暗号方式、暗号鍵、認証方式、認証鍵等の無線LAN通信を行うために必要な無線通信パラメータが含まれる。さらに、通信パラメータには、DPPで規定される通信パラメータとして、AKM、レガシーPSK/パスフレーズ、コネクタ、有効期限(Expiry)などが含まれる。AKMとは、Authentication and key management typeの略であり、通信時にどの認証プロトコルや鍵交換アルゴリズムを使用するかを示す値である。レガシーPSK/パスフレーズは、従来のWPAやIEEE802.11に基づいた認証・鍵交換を実施する際の暗号鍵である。レガシーPSK/パスフレーズは、従来のWPAやIEEE802.11iに基づいた認証・鍵交換を実施する際の暗号鍵である。レガシーPSK/パスフレーズは、DPPに対応していないAPに接続するための情報である。コネクタは、DPPに対応しているAPに接続するための情報(DPPが定めた認証プロトコルや鍵交換アルゴリズムで使用する各種情報)である。 In S411, the transmission unit 111 transmits a setting request signal requesting communication parameters to the smartphone 302. In response to this, when the receiving unit 212 receives the setting response signal including the communication parameter from the smartphone 302, the setting process is completed. The communication parameters include wireless communication parameters necessary for performing wireless LAN communication, such as SSID as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. Further, the communication parameters include AKM, legacy PSK/passphrase, connector, expiration date (Expiry), etc. as communication parameters defined by DPP. AKM is an abbreviation for Authentication and key management type, and is a value indicating which authentication protocol or key exchange algorithm is used during communication. The legacy PSK/passphrase is an encryption key when performing authentication/key exchange based on the conventional WPA or IEEE 802.11. The legacy PSK/passphrase is an encryption key when performing authentication/key exchange based on conventional WPA or IEEE 802.11i. The legacy PSK/passphrase is information for connecting to an AP that does not support DPP. The connector is information for connecting to an AP that supports DPP (various information used in an authentication protocol and a key exchange algorithm defined by DPP).

S412において、接続処理部117は、受信部112により受信された設定応答信号に含まれる通信パラメータに基づき、接続要求信号を生成し、送信部111が生成された接続要求信号をAP303に送信する。接続要求信号にはコネクタが含まれる。接続要求信号に含まれるコネクタには、少なくとも通信パラメータを提供した装置(コンフィギュレータ)がスマートフォン302であることを示す管理装置情報が含まれる。AP303は、接続要求信号を受信すると、当該信号中の管理装置情報と自身が記憶する管理装置リストとを比較し、同一の装置(スマートフォン302)が登録されているかを確認する。同一装置が登録されていることを確認すると、AP303は、プリンタ301の接続を許可する接続許可信号をプリンタ301へ送信する。プリンタ301の受信部112がAP303から接続許可信号を受信すると、接続処理部117は、AP303との間で4−Way Handshakeなどの必要な接続処理を実施し、プリンタ301とAP303の間で無線LAN接続を確立する。 In S412, the connection processing unit 117 generates a connection request signal based on the communication parameter included in the setting response signal received by the reception unit 112, and the transmission unit 111 transmits the generated connection request signal to the AP 303. The connection request signal includes a connector. The connector included in the connection request signal includes at least management device information indicating that the device (configurator) that has provided the communication parameter is the smartphone 302. Upon receiving the connection request signal, the AP 303 compares the management device information in the signal with the management device list stored in itself, and confirms whether the same device (smartphone 302) is registered. Upon confirming that the same device is registered, the AP 303 sends a connection permission signal to the printer 301, which permits connection of the printer 301. When the receiving unit 112 of the printer 301 receives the connection permission signal from the AP 303, the connection processing unit 117 performs necessary connection processing such as 4-Way Handshake with the AP 303, and the wireless LAN between the printer 301 and the AP 303. Make a connection.

(スマートフォン302の処理の流れ)
図5は、スマートフォン302が行う処理の流れを示すフローチャートである。図5に示すフローチャートは、スマートフォン302の制御部201が記憶部202に記憶されている制御プログラムを実行し、情報の演算および加工並びに各ハードウェアの制御を実行することにより実現され得る。また、図5に示す処理は、スマートフォン302のユーザが入力部208を操作することにより、制御部201が通信パラメータ設定アプリケーションを起動することにより開始されるものとする。
(Processing flow of smartphone 302)
FIG. 5 is a flowchart showing the flow of processing performed by the smartphone 302. The flowchart illustrated in FIG. 5 can be realized by the control unit 201 of the smartphone 302 executing the control program stored in the storage unit 202, and calculating and processing information and controlling each hardware. The processing illustrated in FIG. 5 is started when the user of the smartphone 302 operates the input unit 208 and the control unit 201 activates the communication parameter setting application.

S501でユーザ操作により通信パラメータ設定アプリケーションが起動されると、制御部201が撮影部205を有効化する。S502において、ユーザが撮影部205を操作して、プリンタ301の表示部104に表示されているQRコードの画像を撮影すると、コード情報解析部213が当該QRコードの画像の読み取りと解析を行う。コード情報解析部213は、QRコードの画像を解析して、Bootstrap情報を取得する。本実施形態では、上述したように、Bootstrap情報には、プリンタ301の公開鍵と、認証処理で使用可能なチャンネルが指定されたチャンネルリストが含まれる。 When the communication parameter setting application is activated by the user operation in S501, the control unit 201 activates the image capturing unit 205. In S502, when the user operates the image capturing unit 205 to capture the image of the QR code displayed on the display unit 104 of the printer 301, the code information analysis unit 213 reads and analyzes the image of the QR code. The code information analysis unit 213 analyzes the QR code image and acquires Bootstrap information. In the present embodiment, as described above, the Bootstrap information includes the public key of the printer 301 and the channel list in which the channels that can be used in the authentication process are designated.

S503において、認証処理部214は、取得したBootstrap情報に含まれる公開鍵に対するハッシュ値を計算することにより、識別情報を生成する。そして、送信部211は、生成された識別情報を含めた認証要求信号を送信する。ここで、送信部211は、取得したBootstrap情報に含まれるチャンネルリストで指定されたチャンネルで認証要求信号を送信する。上述したように、本実施形態では、認証要求信号を受信したプリンタ301は認証処理に成功するものとし、認証処理が成功したことを示す認証応答信号を送信する(S407)。受信部212が認証応答信号を受信すると、認証処理部214は、受信された認証応答信号に含まれる情報に基づいて認証処理を行う。本実施形態では、認証処理部214は認証処理に成功するものとし、送信部211は認証に成功したことを示す認証確認信号をプリンタ301に送信する。 In step S503, the authentication processing unit 214 generates identification information by calculating a hash value for the public key included in the acquired Bootstrap information. Then, the transmission unit 211 transmits an authentication request signal including the generated identification information. Here, the transmission unit 211 transmits the authentication request signal through the channel specified by the channel list included in the acquired Bootstrap information. As described above, in the present embodiment, the printer 301 that has received the authentication request signal assumes that the authentication process has succeeded, and transmits the authentication response signal indicating that the authentication process has succeeded (S407). When the receiving unit 212 receives the authentication response signal, the authentication processing unit 214 performs the authentication process based on the information included in the received authentication response signal. In the present embodiment, it is assumed that the authentication processing unit 214 succeeds in the authentication process, and the transmission unit 211 transmits to the printer 301 an authentication confirmation signal indicating that the authentication has succeeded.

なお、送信部211が認証要求信号を送信したタイミングにおいて、プリンタ301が他のチャンネルをスキャンしている場合、受信部212は認証要求信号を受信することができない。このため、受信部212が認証応答信号を所定時間受信できなかった場合には、送信部211は、認証要求信号を再送してもよい。 If the printer 301 scans another channel at the timing when the transmission unit 211 transmits the authentication request signal, the reception unit 212 cannot receive the authentication request signal. Therefore, if the reception unit 212 has not received the authentication response signal for a predetermined time, the transmission unit 211 may retransmit the authentication request signal.

S504において、受信部212は、プリンタ301からAPのリストを受信する。そして、S505において、表示制御部215は、受信されたAPのリストの少なくとも一部のAPに関する情報を、AP情報として表示部204に表示する。図7に、スマートフォン302の表示部204に表示されるAP情報の一例を示す。本実施形態では、スキャン制御部114が図3に示すAP303〜306を検出し、表示制御部215がAP情報として、AP303〜306のSSID(SSID_AP303〜SSID_AP306)を表示する。なお、表示態様はこれに限定されず、表示制御部215は検出されたAPの一部のAPのAP情報を表示部204に表示してもよい。例えば、表示制御部215は、検出されたAPの内、DPPを用いてプリンタ301に通信パラメータを提供可能なAPのAP情報を表示するようにしてもよい。あるいは、表示制御部215は、DPPを用いてプリンタ301に通信パラメータを提供可能、かつ自身が管理装置リストに登録されていることが既知のAPのAP情報を表示するようにしてもよい。なお、表示可能なAPが1台のみの場合は、S505の処理はスキップするようにしてもよい。 In step S<b>504, the reception unit 212 receives the AP list from the printer 301. Then, in step S505, the display control unit 215 displays information regarding at least part of the APs in the received list of APs on the display unit 204 as AP information. FIG. 7 shows an example of AP information displayed on the display unit 204 of the smartphone 302. In the present embodiment, the scan control unit 114 detects the APs 303 to 306 shown in FIG. 3, and the display control unit 215 displays the SSIDs of the APs 303 to 306 (SSID_AP303 to SSID_AP306) as AP information. The display mode is not limited to this, and the display control unit 215 may display the AP information of a part of the detected APs on the display unit 204. For example, the display control unit 215 may display AP information of APs that can provide communication parameters to the printer 301 using DPP among the detected APs. Alternatively, the display control unit 215 may display AP information of an AP that is known to be able to provide communication parameters to the printer 301 using DPP and that is known to be registered in the management device list. When only one AP can be displayed, the process of S505 may be skipped.

S506において、表示部204に表示された複数のAPのSSIDのうち、ユーザの入力部208に対する操作によりプリンタ301の無線LAN接続先とするAPが選択されると、処理はS507へ進む。S507において、送信部211は、選択されたAPの通信パラメータを含む設定応答信号をプリンタ301に送信する。 In S506, when the AP to be the wireless LAN connection destination of the printer 301 is selected by the user's operation on the input unit 208 among the SSIDs of the plurality of APs displayed on the display unit 204, the process proceeds to S507. In step S<b>507, the transmission unit 211 transmits the setting response signal including the communication parameter of the selected AP to the printer 301.

このように、本実施形態では、プリンタ301は、通信パラメータ設定アプリケーション起動直後からQRコードの表示を開始する。そして、プリンタ301が、周囲のAPを検出するためのスキャン動作と、スマートフォン302からの認証要求信号待ち受け動作を時分割で交互に実行する。この時分割動作により、プリンタ301が、自身のサポートする全チャンネルのスキャン実行が完了する前に、スマートフォン302から認証要求信号を受信した場合においても、認証処理への移行することが可能となる。すなわち、プリンタでの通信パラメータ設定アプリケーション起動からQRコード表示までの時間短縮と、携帯端末でQRコード読み取り後から認証処理への移行時間短縮が可能となる。これにより、ユーザ利便性を高めることができる。 As described above, in this embodiment, the printer 301 starts displaying the QR code immediately after the communication parameter setting application is activated. Then, the printer 301 alternately performs a scanning operation for detecting surrounding APs and an operation of waiting for an authentication request signal from the smartphone 302 in a time division manner. This time division operation enables the printer 301 to shift to the authentication processing even when the printer 301 receives the authentication request signal from the smartphone 302 before the scan execution of all the channels supported by the printer 301 is completed. That is, it is possible to shorten the time from the communication parameter setting application start-up on the printer to the QR code display, and the transition time from the QR code reading on the mobile terminal to the authentication processing. As a result, user convenience can be improved.

なお、本実施形態では、プリンタ301とスマートフォン302は共に、ユーザによる通信パラメータ設定アプリケーションを起動するための操作により、通信パラメータ設定処理(図4、図5)が開始されたが、開始のトリガはこれに限定さない。例えば、プリンタ301とスマートフォン302がユーザによる所定の指示を受けたことを受けて、または、プリンタ301がスマートフォン302と所望のAP(本実施形態ではAP303)との通信可能範囲に存在することを検知したことを受けて、通信パラメータ設定処理が開始されてもよい。 In the present embodiment, both the printer 301 and the smartphone 302 start the communication parameter setting process (FIGS. 4 and 5) by the user's operation for starting the communication parameter setting application. Not limited to this. For example, it is detected that the printer 301 and the smartphone 302 have received a predetermined instruction from the user, or that the printer 301 is within the communicable range of the smartphone 302 and the desired AP (AP 303 in this embodiment). In response to this, the communication parameter setting process may be started.

また、本実施形態では、図4におけるS408〜410の処理において、プリンタ301は全チャンネルのスキャンが完了した後、検出したAPリストを一括で送信するものとした。しかし、プリンタ301は、S407での認証処理完了後、それまでにスキャンが完了したチャンネルで検出したAPリストを送信し、その後、未完了のチャンネルスキャンにより検出したAPリストを送信するようにしてもよい。また、図4において、プリンタ301は、S404で認証要求信号を受信した場合であっても、全チャンネルスキャンが完了してから、認証処理に移ってもよい。 Further, in the present embodiment, in the processes of S408 to 410 in FIG. 4, the printer 301 transmits the detected AP list at once after the scanning of all the channels is completed. However, even if the printer 301 transmits the AP list detected in the channels for which scanning has been completed until after the authentication processing in S407 is completed, the printer 301 may then transmit the AP list detected by incomplete channel scanning. Good. Further, in FIG. 4, even when the printer 301 receives the authentication request signal in S404, the printer 301 may move to the authentication process after the scanning of all channels is completed.

また、本実施形態においては、QRコードを利用してBootstrap処理を実行する構成について説明した。しかし、QRコードに代えて、NFCやBLEなどの無線通信を用いるようにしてもよい。 Further, in the present embodiment, the configuration in which the Bootstrap process is executed using the QR code has been described. However, instead of the QR code, wireless communication such as NFC or BLE may be used.

また、本実施形態において、装置間の通信をIEEE802.11規格に準拠した無線LAN通信により行う場合について説明したが、これに限る物ではない。例えば、ワイヤレスUSB、Bluetooth(登録商標)、ZigBee、NFC等の無線通信媒体を用いて実施してもよい。ここで、UWBは、ワイヤレスUSB、ワイヤレス1394、WINETなどが含まれる。 Further, although a case has been described with the present embodiment where communication between devices is performed by wireless LAN communication conforming to the IEEE 802.11 standard, the present invention is not limited to this. For example, a wireless communication medium such as a wireless USB, Bluetooth (registered trademark), ZigBee, or NFC may be used. Here, UWB includes wireless USB, wireless 1394, WINET, and the like.

[その他の実施形態]
本発明は、上述の実施形態の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 a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

301 プリンタ、302 スマートフォン、303〜306 アクセスポイント(AP) 301 printer, 302 smartphone, 303-306 access point (AP)

Claims (13)

通信装置であって、
通信相手装置との認証処理を行うために所定の情報を提供する提供手段と、
前記所定の情報が提供された後の第1の期間で、周囲の他の通信装置を検出するためのスキャン処理を行うスキャン手段と、
前記第1の期間に続く第2の期間で、前記提供手段によって提供された前記所定の情報を取得した前記通信相手装置から前記認証処理に対する要求信号を受信するための待ち受け動作を行う受信手段と、を有し、
前記第1の期間と前記第2の期間は交互に設定されることを特徴とする通信装置。
A communication device,
Providing means for providing predetermined information for performing authentication processing with the communication partner device,
Scanning means for performing a scanning process for detecting other surrounding communication devices in a first period after the predetermined information is provided;
A receiving unit that performs a standby operation for receiving a request signal for the authentication process from the communication partner device that has acquired the predetermined information provided by the providing unit in a second period that follows the first period; Has,
The communication device, wherein the first period and the second period are set alternately.
前記スキャン手段は、前記通信装置により利用可能な1つ以上のチャンネルで前記スキャン処理を行うことを特徴とする請求項1に記載の通信装置。 The communication device according to claim 1, wherein the scanning unit performs the scan process on one or more channels that can be used by the communication device. 前記利用可能なチャンネルが複数ある場合、前記スキャン手段は、前記第1の期間で、前記利用可能なチャンネルから選択した1つ以上のチャンネルで前記スキャン処理を行うことを特徴とする請求項2に記載の通信装置。 The scan means performs the scan process on one or more channels selected from the available channels during the first period when there are a plurality of available channels. The communication device described. 前記所定の情報は、所定のチャンネルが指定されたチャンネルリストを含み、
前記受信手段は、前記所定のチャンネルで前記待ち受け動作を行うことを特徴とする請求項2または3に記載の通信装置。
The predetermined information includes a channel list in which a predetermined channel is designated,
4. The communication device according to claim 2, wherein the receiving unit performs the standby operation on the predetermined channel.
前記チャンネルリストに複数の所定のチャンネルが指定された場合、
前記受信手段は、前記第2の期間で、前記複数の所定のチャンネルから選択した1つ以上のチャンネルで前記待ち受け動作を行うことを特徴とする請求項4に記載の通信装置。
If multiple predetermined channels are specified in the channel list,
The communication device according to claim 4, wherein the receiving unit performs the standby operation on one or more channels selected from the plurality of predetermined channels during the second period.
前記認証処理を行って前記通信相手装置との間でセキュアなチャンネルを確立する認証手段を更に有し、
前記受信手段により前記要求信号が受信された場合、前記スキャン手段は前記スキャン処理を停止し、前記認証手段は前記認証処理を行うことを特徴とする請求項2から5のいずれか1項に記載の通信装置。
Further comprising an authentication means for performing the authentication process to establish a secure channel with the communication partner device,
6. The scan unit stops the scan process and the authentication unit performs the authentication process when the request signal is received by the receiving unit. 7. Communication device.
前記認証手段による前記認証処理の完了後、前記スキャン手段が前記利用可能な1つ以上のチャンネルのうち前記スキャン処理を行っていないチャンネルがある場合、前記スキャン手段は、前記スキャン処理を行っていないチャンネルで前記スキャン処理を行うことを特徴とする請求項6に記載の通信装置。 After completion of the authentication processing by the authentication means, if there is a channel for which the scan means has not performed the scan processing among the one or more available channels, the scan means has not performed the scan processing. The communication device according to claim 6, wherein the scan processing is performed on a channel. 前記スキャン手段が前記利用可能な1つ以上のチャンネルのうち前記スキャン処理を行っていないチャンネルがない場合、前記スキャン処理により検出された他の通信装置のリストを作成する作成手段と、
前記作成手段により作成された前記リストを送信する送信手段と、を更に有することを特徴とする請求項7に記載の通信装置。
Creating means for creating a list of other communication devices detected by the scanning process when there is no channel among the available one or more channels that the scanning device has not performed the scanning process;
The communication device according to claim 7, further comprising: a transmitting unit that transmits the list created by the creating unit.
前記送信手段は、前記認証処理により確立された前記セキュアなチャンネルで前記リストを送信することを特徴とする請求項8に記載の通信装置。 9. The communication device according to claim 8, wherein the transmission unit transmits the list on the secure channel established by the authentication processing. 前記通信装置は、DPP(Device Provisioning Protocol)規格に準拠する通信装置であることを特徴とする請求項1から9のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 9, wherein the communication device is a communication device that complies with a DPP (Device Provisioning Protocol) standard. 第1の通信装置と第2の通信装置を有する通信システムであって、
前記第1の通信装置は、
前記第2の通信装置との認証処理を行うために所定の情報を提供する提供手段と、
前記所定の情報が提供された後の第1の期間で、周囲の他の通信装置を検出するためのスキャン処理を行うスキャン手段と、
前記所定の情報が提供された後の第2の期間で、前記第2の通信装置から前記認証処理に対する要求信号を受信するための待ち受け動作を行う第1の受信手段と、を有し、
前記第1の期間と前記第2の期間は交互に設定され
前記第2の通信装置は、
前記所定の情報を前記第1の通信装置から取得する取得手段と、
前記所定の情報に基づいて前記要求信号を送信する送信手段と、
前記要求信号が送信された後に、前記第1の通信装置により検出された周囲の他の通信装置のリストを受信する第2の受信手段と、
前記周囲の他の通信装置のリストを表示部に表示させる表示制御手段と、
を有することを特徴とする通信システム。
A communication system having a first communication device and a second communication device,
The first communication device is
Providing means for providing predetermined information for performing authentication processing with the second communication device;
Scanning means for performing a scanning process for detecting other surrounding communication devices in a first period after the predetermined information is provided;
A first receiving unit that performs a standby operation for receiving a request signal for the authentication process from the second communication device in a second period after the predetermined information is provided,
The first period and the second period are set alternately, and the second communication device,
An acquisition unit that acquires the predetermined information from the first communication device;
Transmitting means for transmitting the request signal based on the predetermined information;
Second receiving means for receiving a list of other communication devices in the vicinity detected by the first communication device after the request signal is transmitted,
Display control means for displaying a list of other communication devices in the vicinity on the display unit,
A communication system comprising:
通信装置の制御方法であって、
通信相手装置との認証処理を行うために所定の情報を提供する提供工程と、
前記所定の情報が提供された後の第1の期間で、周囲の他の通信装置を検出するためのスキャン処理を行うスキャン工程と、
前記第1の期間に続く第2の期間で、前記提供工程によって提供された前記所定の情報を取得した前記通信相手装置から前記認証処理に対する要求信号を受信するための待ち受け動作を行う受信工程と、を有し、
前記第1の期間と前記第2の期間は交互に設定されることを特徴とする通信装置の制御方法。
A method for controlling a communication device, comprising:
A providing step of providing predetermined information for performing an authentication process with a communication partner device,
A scanning step of performing a scanning process for detecting other surrounding communication devices in a first period after the predetermined information is provided;
A receiving step of performing a standby operation for receiving a request signal for the authentication processing from the communication partner apparatus that has acquired the predetermined information provided by the providing step, in a second period following the first period; Has,
The method of controlling a communication device, wherein the first period and the second period are set alternately.
コンピュータを、請求項1から10のいずれか1項に記載の通信装置として機能させるためのプログラム。 A program for causing a computer to function as the communication device according to claim 1.
JP2018219454A 2018-11-22 2018-11-22 Communication device, control method thereof, communication system, and program Pending JP2020088567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018219454A JP2020088567A (en) 2018-11-22 2018-11-22 Communication device, control method thereof, communication system, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018219454A JP2020088567A (en) 2018-11-22 2018-11-22 Communication device, control method thereof, communication system, and program

Publications (1)

Publication Number Publication Date
JP2020088567A true JP2020088567A (en) 2020-06-04

Family

ID=70909090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018219454A Pending JP2020088567A (en) 2018-11-22 2018-11-22 Communication device, control method thereof, communication system, and program

Country Status (1)

Country Link
JP (1) JP2020088567A (en)

Similar Documents

Publication Publication Date Title
US11770864B2 (en) Communication apparatus, control method for the communication apparatus, and storage medium
US11683382B2 (en) Communication device, method for controlling communication device, and program
US10547468B2 (en) Communication apparatus, communication method, and storage medium
JP6525714B2 (en) Communication device, control method of communication device, and program
KR102644362B1 (en) Communication apparatus, control method, and computer-readable storage medium
JP6465723B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US10966261B2 (en) Communication apparatus, communication method, and program
US10575171B2 (en) Communication apparatus, communication method, and storage medium
JP2017028460A (en) Communication device, communication method and program
CN112655272B (en) Communication device, communication method, and non-transitory computer-readable storage medium
JP2021005837A (en) Wireless communication apparatus and method of controlling the same
CN109565892B (en) Communication device, communication method and computer readable storage medium
JP2017028459A (en) Communication device, communication method and program
US20210195420A1 (en) Communication apparatus, communication method, and computer-readable storage medium
JP7387275B2 (en) Communication devices, communication methods and programs
JP2018042057A (en) Communication apparatus, control method for communication apparatus, and program
JP7258493B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD AND PROGRAM
JP2020088567A (en) Communication device, control method thereof, communication system, and program
JP6486228B2 (en) Communication apparatus, control method, and program
WO2023218759A1 (en) Communication device, control method therefor, and communication system
WO2024063046A1 (en) Communication device, control method for communication device, and program
JP2024089493A (en) COMMUNICATION DEVICE, CONTROL METHOD AND PROGRAM FOR COMMUNICATION DEVICE

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113