JP2020088567A - Communication device, control method thereof, communication system, and program - Google Patents
Communication device, control method thereof, communication system, and program Download PDFInfo
- 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
Links
Images
Landscapes
- Facsimiles In General (AREA)
- Mobile Radio Communication Systems (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
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.
特許文献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.
以下、添付の図面を参照して、本発明をその実施形態の一例に基づいて詳細に説明する。なお、以下の実施形態において示す構成は一例に過ぎず、本発明は図示された構成に限定されるものではない。以下では、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
なお、通信システム30を構成する通信装置は図3に示すものに限定されない。例えば、携帯電話、カメラ、PC、ビデオカメラ、スマートウォッチ、PDA(Personal Digital Assistant)などの通信装置によって、通信システム30が構成されてもよい。また、通信システム30は4台のAPを含むが、APの数はこれに限定されない。
The communication device forming the
(プリンタ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
無線部103は、IEEE802.11シリーズに準拠した無線LAN通信を行う。無線部103は、無線通信を行うチップにより構成され得る。表示部104は、LCDやLEDのように視覚で認知可能な情報の出力、あるいはスピーカなどの音出力が可能な機能を有し、各種表示を行う。表示部104は、視覚情報を表示する場合、表示する視覚情報に対応する画像データを保持するVRAM(Video RAM)を有し、VRAMに格納した画像データをLCDやLEDに表示させ続ける表示制御を行い得る。
The
印刷部105は、画像データ等を印刷するための機能を有する。アンテナ制御部106は、アンテナ107の出力制御を行う。アンテナ107は、無線LANで通信するための2.4GHz帯および/または5GHz帯で通信可能なアンテナである。入力部108は、ユーザが各種入力等を行い、プリンタ301を操作するための入力部である。入力部108は、入力に対応するフラグ等を記憶部102等のメモリに記憶し得る。なお、表示部104と入力部108は連結して動作することによりUI(ユーザインタフェース)として機能してもよい。
The
図1(B)に、プリンタ301の機能構成の一例を示す。なお、本機能ブロックに含まれる一部または全部がハードウェア化されていてもよい。その場合、各機能ブロックに含まれる一部または全部は、例えばASIC(Application Specific Integrated Circuit)により構成され得る。
FIG. 1B shows an example of the functional configuration of the
送信部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
(スマートフォン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
図2(B)に、スマートフォン302の機能構成の一例を示す。なお、プリンタ301と同様に、本機能ブロックに含まれる一部または全部がハードウェア化されていてもよい。送信部211と受信部212は、各種情報(パケット、メッセージ、信号)を、無線部203を介してそれぞれ、送信および受信する。コード情報解析部213は、撮影部205により撮影された、一次元バーコードや二次元コードといったコード情報の画像を読み取り、読み取った画像を解析し、符号化された所定の情報を取得する。認証処理部214は、通信相手装置(本実施形態ではプリンタ301)に対する認証処理を実行する。表示制御部215は、表示部204への表示を制御する。
FIG. 2B illustrates an example of a functional configuration of the
(プリンタ301の処理の流れ)
上述したように、本実施形態では、スマートフォン302が、プリンタ301に対して、AP303と接続して通信するための通信パラメータを提供し、プリンタ301が、AP303により形成されるネットワークに参加する場合を想定する。また、スマートフォン302は当該通信パラメータを予め保持しているものとする。
(Processing flow of the printer 301)
As described above, in the present embodiment, the case where the
図4は、プリンタ301が行う処理の流れを示すフローチャートである。図4に示すフローチャートは、プリンタ301の制御部101が記憶部102に記憶されている制御プログラムを実行し、情報の演算および加工並びに各ハードウェアの制御を実行することにより実現され得る。また、図4に示す処理は、プリンタ301のユーザが入力部108を操作することにより、制御部101が通信パラメータ設定アプリケーションを起動することにより開始されるものとする。
FIG. 4 is a flowchart showing the flow of processing performed by the
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
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
図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
S404において、受信部112が認証要求信号を受信すると(S404でYES)、S407に進む。S407において、認証処理部115は、Bootstrap情報に含めたプリンタ301の公開鍵から識別情報を計算し、当該計算した識別情報と、受信した認証要求信号に含まれる識別情報とに基づいて認証処理を行う。具体的には、認証処理部115は、受信した認証要求信号に含まれる識別情報と、計算した識別情報とが一致するか否かを判定する。両者が一致する場合は認証処理が成功し、それ以外の場合は、認証処理は失敗する。本実施形態では、両者が一致する場合を想定し、送信部111は、認証処理が成功したことを示す認証応答信号を送信する。その後、受信部112がスマートフォン302から認証に成功したことを示す認証確認信号を受信すると認証処理が完了し、DPPに基づくセキュアチャンネル接続が確立される。
When the receiving
S408において、スキャン制御部114は、プリンタ301により利用可能な全チャンネルのスキャンが完了しているか否かを判定し、スキャン未実行のチャンネルがある場合には(S408でNO)、S409にてスキャン未実行チャンネルのスキャンを実行する。全チャンネルのスキャン完了後(S408でYES)、S410において、リスト管理部116は、スキャン制御部114によるスキャン結果に基づいて、検出したAPのリストを作成し、送信部111は、作成されたAPのリストをスマートフォン302に送信する。このAPのリストは、認証処理により確立したセキュアチャンネルを用いて送信される。
In step S<b>408, the
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
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
(スマートフォン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
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
S503において、認証処理部214は、取得したBootstrap情報に含まれる公開鍵に対するハッシュ値を計算することにより、識別情報を生成する。そして、送信部211は、生成された識別情報を含めた認証要求信号を送信する。ここで、送信部211は、取得したBootstrap情報に含まれるチャンネルリストで指定されたチャンネルで認証要求信号を送信する。上述したように、本実施形態では、認証要求信号を受信したプリンタ301は認証処理に成功するものとし、認証処理が成功したことを示す認証応答信号を送信する(S407)。受信部212が認証応答信号を受信すると、認証処理部214は、受信された認証応答信号に含まれる情報に基づいて認証処理を行う。本実施形態では、認証処理部214は認証処理に成功するものとし、送信部211は認証に成功したことを示す認証確認信号をプリンタ301に送信する。
In step S503, the
なお、送信部211が認証要求信号を送信したタイミングにおいて、プリンタ301が他のチャンネルをスキャンしている場合、受信部212は認証要求信号を受信することができない。このため、受信部212が認証応答信号を所定時間受信できなかった場合には、送信部211は、認証要求信号を再送してもよい。
If the
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
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
このように、本実施形態では、プリンタ301は、通信パラメータ設定アプリケーション起動直後からQRコードの表示を開始する。そして、プリンタ301が、周囲のAPを検出するためのスキャン動作と、スマートフォン302からの認証要求信号待ち受け動作を時分割で交互に実行する。この時分割動作により、プリンタ301が、自身のサポートする全チャンネルのスキャン実行が完了する前に、スマートフォン302から認証要求信号を受信した場合においても、認証処理への移行することが可能となる。すなわち、プリンタでの通信パラメータ設定アプリケーション起動からQRコード表示までの時間短縮と、携帯端末でQRコード読み取り後から認証処理への移行時間短縮が可能となる。これにより、ユーザ利便性を高めることができる。
As described above, in this embodiment, the
なお、本実施形態では、プリンタ301とスマートフォン302は共に、ユーザによる通信パラメータ設定アプリケーションを起動するための操作により、通信パラメータ設定処理(図4、図5)が開始されたが、開始のトリガはこれに限定さない。例えば、プリンタ301とスマートフォン302がユーザによる所定の指示を受けたことを受けて、または、プリンタ301がスマートフォン302と所望のAP(本実施形態ではAP303)との通信可能範囲に存在することを検知したことを受けて、通信パラメータ設定処理が開始されてもよい。
In the present embodiment, both the
また、本実施形態では、図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
また、本実施形態においては、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.
前記受信手段は、前記所定のチャンネルで前記待ち受け動作を行うことを特徴とする請求項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.
前記作成手段により作成された前記リストを送信する送信手段と、を更に有することを特徴とする請求項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.
前記第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.
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) |
-
2018
- 2018-11-22 JP JP2018219454A patent/JP2020088567A/en active Pending
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 |