JP2021090153A - Communication device and computer program for terminal device - Google Patents

Communication device and computer program for terminal device Download PDF

Info

Publication number
JP2021090153A
JP2021090153A JP2019219888A JP2019219888A JP2021090153A JP 2021090153 A JP2021090153 A JP 2021090153A JP 2019219888 A JP2019219888 A JP 2019219888A JP 2019219888 A JP2019219888 A JP 2019219888A JP 2021090153 A JP2021090153 A JP 2021090153A
Authority
JP
Japan
Prior art keywords
communication device
advertising signal
communication
information
connection
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.)
Granted
Application number
JP2019219888A
Other languages
Japanese (ja)
Other versions
JP7354811B2 (en
Inventor
宗久 松田
Munehisa Matsuda
宗久 松田
弘崇 朝倉
Hirotaka Asakura
弘崇 朝倉
卓弥 井上
Takuya Inoue
卓弥 井上
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2019219888A priority Critical patent/JP7354811B2/en
Publication of JP2021090153A publication Critical patent/JP2021090153A/en
Application granted granted Critical
Publication of JP7354811B2 publication Critical patent/JP7354811B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

To provide techniques that enable a device receiving an advertising signal (hereinafter referred to as "AD signal") to perform proper processing depending on a type of the AD signal.SOLUTION: A communication device transmits an extended AD signal when a radio connection is not established with an access point (hereinafter referred to as "AP".) The extended AD signal includes prescribed information for performing prescribed communication with a terminal device and the prescribed communication refers to the communication for receiving connection information from the terminal device, where the connection information refers to information for establishing a radio connection between the communication device and the AP. When the extended AD signal is received by the terminal device, the communication device performs the prescribed communication for which the prescribed information is used with the terminal device, receives the connection information from the terminal device, and uses the connection information to establish a radio communication with the AP. The communication device transmits a normal AD signal when radio connection has been established with the AP.SELECTED DRAWING: Figure 2

Description

本明細書では、Bluetooth(登録商標)規格に従った無線通信によって端末装置から通信装置に接続情報が送信され、通信装置が当該接続情報を利用してアクセスポイントとの無線接続を確立する技術を開示する。 In the present specification, a technique in which connection information is transmitted from a terminal device to a communication device by wireless communication in accordance with the Bluetooth (registered trademark) standard, and the communication device uses the connection information to establish a wireless connection with an access point. Disclose.

非特許文献1には、DPP(Device Provisioning Protocolの略)方式に従って、或る装置とアクセスポイントとの間にWi−Fi接続を確立させるための技術が開示されている。この文献には、Bluetooth規格に従った無線通信を利用して、当該或る装置の公開鍵を外部に送信することが開示されている。特に、Bluetooth規格のバージョン5で利用可能な拡張アドバタイジング信号を利用して、公開鍵を外部に送信することが開示されている。 Non-Patent Document 1 discloses a technique for establishing a Wi-Fi connection between a certain device and an access point according to a DPP (abbreviation of Device Provisioning Protocol) method. This document discloses that the public key of a certain device is transmitted to the outside by using wireless communication according to the Bluetooth standard. In particular, it is disclosed that the public key is transmitted to the outside by using the extended advertising signal available in version 5 of the Bluetooth standard.

「Device Provisioning Protocol Specification Version 1.1」 Wi-Fi Alliance, 2018年"Device Provisioning Protocol Specification Version 1.1" Wi-Fi Alliance, 2018

本明細書では、アドバタイジング信号を受信する装置が、アドバタイジング信号の種類に応じた適切な処理を実行し得る技術を提供する。 The present specification provides a technique in which an apparatus that receives an advertising signal can perform appropriate processing according to the type of the advertising signal.

本明細書によって開示される通信装置は、Bluetooth規格に従った無線通信を実行するための第1の無線インターフェースであって、前記Bluetooth規格のバージョン5以降で利用可能な拡張アドバタイジング信号と、前記Bluetooth規格の前記バージョン5未満で利用可能な拡張されていない通常アドバタイジング信号と、のどちらも送信可能である前記第1の無線インターフェースと、Wi−Fi規格に従った無線通信を実行するための第2の無線インターフェースと、前記第2の無線インターフェースを介して、前記通信装置とアクセスポイントとの間に無線接続が確立されていない場合に、前記拡張アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する第1のインターフェース制御部であって、前記拡張アドバタイジング信号は、前記通信装置と端末装置との間で所定通信を実行するための所定情報を含み、前記所定通信は、前記端末装置から接続情報を受信するための通信であり、前記接続情報は、前記第2の無線インターフェースを介して、前記通信装置と前記アクセスポイントとの間に前記無線接続を確立するための情報である、前記第1のインターフェース制御部と、前記拡張アドバタイジング信号が前記端末装置によって受信される場合に、前記所定情報が利用された前記所定通信を前記端末装置と実行して、前記端末装置から前記接続情報を受信する接続情報受信部と、前記端末装置から前記接続情報が受信される場合に、前記接続情報を利用して、前記第2の無線インターフェースを介して、前記アクセスポイントとの前記無線接続を確立する接続確立部と、前記第2の無線インターフェースを介して、前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されている場合に、前記通常アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する第2のインターフェース制御部と、を備えていてもよい。 The communication device disclosed herein is a first wireless interface for performing wireless communication in accordance with the Bluetooth standard, and includes an extended advertising signal available in version 5 or later of the Bluetooth standard and the Bluetooth. The first radio interface capable of transmitting both the non-extended normal advertising signal available in less than version 5 of the standard and the second for performing radio communication in accordance with the Wi-Fi standard. The first wireless interface so as to transmit the extended advertising signal when a wireless connection is not established between the communication device and the access point via the wireless interface and the second wireless interface. The extended advertising signal includes predetermined information for executing predetermined communication between the communication device and the terminal device, and the predetermined communication is transmitted from the terminal device. Communication for receiving connection information, and the connection information is information for establishing the wireless connection between the communication device and the access point via the second wireless interface. When the first interface control unit and the extended advertising signal are received by the terminal device, the predetermined communication using the predetermined information is executed with the terminal device, and the connection information is obtained from the terminal device. When the connection information is received from the connection information receiving unit and the terminal device, the connection information is used to establish the wireless connection with the access point via the second wireless interface. The first so as to transmit the normal advertising signal when the wireless connection is established between the communication device and the access point via the connection establishment unit and the second wireless interface. A second interface control unit that controls the wireless interface of the above may be provided.

上記の構成によると、通信装置は、アクセスポイントとの無線接続が確立されていない場合に、所定情報を含む拡張アドバタイジング信号を送信する。このために、通信装置は、拡張アドバタイジング信号を受信した端末装置から接続情報を受信し、アクセスポイントとの無線接続を確立することができる。一方、通信装置は、アクセスポイントとの無線接続が確立されている場合に、通常アドバタイジング信号を送信する。このために、通信装置とは異なる装置(例えば上記の端末装置)は、通常アドバタイジング信号を利用することができる。このように、上記の構成によると、アドバタイジング信号を受信する装置(例えば上記の端末装置)は、アドバタイジング信号の種類(即ち拡張アドバタイジング信号又は通常アドバタイジング信号)に応じた適切な処理を実行し得る。 According to the above configuration, the communication device transmits an extended advertising signal including predetermined information when a wireless connection with the access point is not established. Therefore, the communication device can receive the connection information from the terminal device that has received the extended advertising signal and establish a wireless connection with the access point. On the other hand, the communication device normally transmits an advertising signal when a wireless connection with the access point is established. For this reason, a device different from the communication device (for example, the terminal device described above) can usually use an advertising signal. As described above, according to the above configuration, the device that receives the advertising signal (for example, the terminal device described above) can perform appropriate processing according to the type of advertising signal (that is, the extended advertising signal or the normal advertising signal).

本明細書では、端末装置のためのコンピュータプログラムも開示する。前記端末装置は、Bluetooth規格に従った無線通信を実行するための第1の無線インターフェースと、Wi−Fi規格に従った無線通信を実行するための第2の無線インターフェースと、コンピュータと、を備えていてもよい。前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、前記第1の無線インターフェースを介して、通信装置から、前記Bluetooth規格のバージョン5以降で利用可能な拡張アドバタイジング信号を受信する第1のアドバタイジング信号受信部であって、前記拡張アドバタイジング信号は、前記通信装置と前記端末装置との間で所定通信を実行するための所定情報を含み、前記所定通信は、接続情報を前記通信装置に送信するための通信であり、前記接続情報は、前記第2の無線インターフェースを介して、前記通信装置とアクセスポイントとの間に無線接続を確立するための情報である、前記第1のアドバタイジング信号受信部と、前記通信装置から前記拡張アドバタイジング信号が受信される場合に、前記所定情報が利用された前記所定通信を前記通信装置と実行して、前記接続情報を前記通信装置に送信する接続情報送信部と、前記通信装置が前記接続情報を利用して前記アクセスポイントとの前記無線接続を確立した後に、前記第1の無線インターフェースを介して、前記通信装置から、前記Bluetooth規格の前記バージョン5未満で利用可能な拡張されていない通常アドバタイジング信号を受信する第2のアドバタイジング信号受信部と、前記通信装置から前記通常アドバタイジング信号が受信される場合に、前記第2の無線インターフェース及び前記アクセスポイントを介して、画像処理実行指示を前記通信装置に送信する実行指示送信部であって、前記画像処理実行指示は、画像処理を前記通信装置に実行させるための指示である、前記実行指示送信部と、として機能させてもよい。 Also disclosed herein are computer programs for terminal equipment. The terminal device includes a first wireless interface for executing wireless communication in accordance with the Bluetooth standard, a second wireless interface for executing wireless communication in accordance with the Wi-Fi standard, and a computer. You may be. The computer program receives the computer from a communication device via the following parts, that is, the first wireless interface, an extended advertising signal available in version 5 or later of the Bluetooth standard. A signal receiving unit, the extended advertising signal includes predetermined information for executing predetermined communication between the communication device and the terminal device, and the predetermined communication transmits connection information to the communication device. The connection information is information for establishing a wireless connection between the communication device and the access point via the second wireless interface, the first advertising signal receiving unit. When the extended advertising signal is received from the communication device, the connection information transmission unit that executes the predetermined communication using the predetermined information with the communication device and transmits the connection information to the communication device. After the communication device establishes the wireless connection with the access point by using the connection information, from the communication device via the first wireless interface, less than the version 5 of the Bluetooth standard. A second advertising signal receiver that receives an available unextended normal advertising signal and, when the normal advertising signal is received from the communication device, via the second wireless interface and the access point. , The execution instruction transmitting unit that transmits an image processing execution instruction to the communication device, and the image processing execution instruction is an instruction for causing the communication device to execute image processing. It may work.

上記の構成によると、端末装置は、通信装置から所定情報を含む拡張アドバタイジング信号を受信する場合に、接続情報を通信装置に送信する。このために、通信装置は、接続情報を利用して、アクセスポイントとの無線接続を確立することができる。その後、端末装置は、通信装置から通常アドバタイジング信号を受信する場合に、アクセスポイントを介して、画像処理実行指示を通信装置に送信する。このように、上記の構成によると、アドバタイジング信号を受信する端末装置は、アドバタイジング信号の種類(即ち拡張アドバタイジング信号又は通常アドバタイジング信号)に応じた適切な処理を実行し得る。 According to the above configuration, when the terminal device receives the extended advertising signal including predetermined information from the communication device, the terminal device transmits the connection information to the communication device. For this purpose, the communication device can establish a wireless connection with the access point by using the connection information. After that, when the terminal device normally receives the advertising signal from the communication device, the terminal device transmits an image processing execution instruction to the communication device via the access point. As described above, according to the above configuration, the terminal device that receives the advertising signal can perform appropriate processing according to the type of advertising signal (that is, the extended advertising signal or the normal advertising signal).

上記の通信装置を実現するためのコンピュータプログラム、当該コンピュータプログラムを記憶するコンピュータ可読記録媒体、及び、上記の通信装置によって実行される方法も新規で有用である。上記の端末装置のコンピュータプログラムを記憶するコンピュータ可読記録媒体、上記の端末装置そのもの、及び、上記の端末装置によって実行される方法も新規で有用である。また、上記の通信装置と上記の端末装置とを備えるシステムも新規で有用である。 A computer program for realizing the above-mentioned communication device, a computer-readable recording medium for storing the computer program, and a method executed by the above-mentioned communication device are also new and useful. A computer-readable recording medium for storing the computer program of the terminal device, the terminal device itself, and a method executed by the terminal device are also new and useful. Further, a system including the above-mentioned communication device and the above-mentioned terminal device is also new and useful.

通信システムの構成を示す。The configuration of the communication system is shown. 第1実施例のシーケンス図を示す。The sequence diagram of the 1st Example is shown. 図2の続きを示す。The continuation of FIG. 2 is shown. 第2実施例のケースA及びケースBのシーケンス図を示す。The sequence diagram of case A and case B of the second embodiment is shown. 第3実施例のケースCのシーケンス図を示す。The sequence diagram of the case C of the 3rd Example is shown. 第3実施例のケースDのシーケンス図を示す。The sequence diagram of the case D of the 3rd Example is shown.

(第1実施例)
(通信システム2の構成:図1)
図1に示されるように、通信システム2は、複数個のプリンタ10,50と携帯端末100とを備える。プリンタ50及び携帯端末100のそれぞれは、Wi−Fi規格に従った無線接続(以下では「Wi−Fi接続」と記載する)をアクセスポイント200と確立している。即ち、プリンタ50及び携帯端末100は、アクセスポイント200によって形成される同じ無線ネットワークに所属している。以下では、携帯端末、アクセスポイントのことを、それぞれ、「端末」、「AP」と簡単に記載する。
(First Example)
(Configuration of communication system 2: FIG. 1)
As shown in FIG. 1, the communication system 2 includes a plurality of printers 10 and 50 and a mobile terminal 100. Each of the printer 50 and the mobile terminal 100 has established a wireless connection (hereinafter, referred to as "Wi-Fi connection") according to the Wi-Fi standard as an access point 200. That is, the printer 50 and the mobile terminal 100 belong to the same wireless network formed by the access point 200. In the following, the mobile terminal and the access point will be briefly described as "terminal" and "AP", respectively.

本実施例では、まず、プリンタ10と携帯端末100との間でBlueTooth(登録商標)規格に従った無線通信が実行され、AP200とのWi−Fi接続を確立するための接続情報が端末100からプリンタ10に送信される。その後、プリンタ10とAP200との間でWi−Fi接続が確立される。 In this embodiment, first, wireless communication according to the Bluetooth (registered trademark) standard is executed between the printer 10 and the mobile terminal 100, and connection information for establishing a Wi-Fi connection with the AP200 is transmitted from the terminal 100. It is transmitted to the printer 10. After that, a Wi-Fi connection is established between the printer 10 and the AP200.

(プリンタ10,50の構成)
各プリンタ10,50は、印刷機能を実行可能な周辺装置(例えば端末100の周辺装置)である。プリンタ10のモデル名は「M1」であり、プリンタ50のモデル名は「M1」とは異なる「M2」である。プリンタ10は、表示部12と、印刷実行部14と、BT(BlueToothの略)インターフェース16と、Wi−Fiインターフェース18と、制御部30と、を備える。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of printers 10 and 50)
Each of the printers 10 and 50 is a peripheral device (for example, a peripheral device of the terminal 100) capable of executing a printing function. The model name of the printer 10 is "M1", and the model name of the printer 50 is "M2" which is different from "M1". The printer 10 includes a display unit 12, a print execution unit 14, a BT (abbreviation of Bluetooth) interface 16, a Wi-Fi interface 18, and a control unit 30. In the following, the interface will be referred to as "I / F".

表示部12は、様々な情報を表示するためのディスプレイである。表示部12は、ユーザから指示を受け付けるタッチパネル(即ち操作部)としても機能する。印刷実行部14は、インクジェット方式、レーザ方式等の印刷機構を備える。 The display unit 12 is a display for displaying various information. The display unit 12 also functions as a touch panel (that is, an operation unit) that receives instructions from the user. The print execution unit 14 includes a printing mechanism such as an inkjet method or a laser method.

BTI/F16は、BT規格に従った無線通信を実行するためのI/Fである。BT規格は、例えば、IEEE802.15.1の規格、及び、それに準ずる規格に基づく無線通信方式である。BTI/F16は、BT規格のバージョン5以降で定義されているI/Fである。BT規格のバージョン5以降では、拡張アドバタイジング信号(いわゆるAdvertising Extensions)が採用されている。BTI/F16は、BT規格のバージョン5.0以降で利用可能な拡張アドバタイジング信号と、BT規格のバージョン5未満で利用可能な拡張されていない通常アドバタイジング信号と、のどちらも送信可能である。拡張アドバタイジング信号に含めることが可能なデータのサイズは、通常アドバタイジング信号に含めることが可能なデータのサイズよりも大きい。このために、BTI/F16は、拡張アドバタイジング信号を利用して、比較的に大きいサイズのデータ(例えば後述の公開鍵300)を送信することができる。以下では、アドバタイジング信号のことを「AD信号」と記載する。 The BTI / F16 is an I / F for executing wireless communication in accordance with the BT standard. The BT standard is, for example, a wireless communication system based on the IEEE802.5.1 standard and a standard equivalent thereto. BTI / F16 is an I / F defined in version 5 or later of the BT standard. In version 5 or later of the BT standard, extended advertising signals (so-called Advertising Extensions) are adopted. The BTI / F16 can transmit both an extended advertising signal available in BT standard version 5.0 and later and an unextended normal advertising signal available in BT standard version 5 and below. The size of the data that can be included in the extended advertising signal is usually larger than the size of the data that can be included in the advertising signal. For this purpose, the BTI / F16 can transmit data having a relatively large size (for example, the public key 300 described later) by using the extended advertising signal. Hereinafter, the advertising signal will be referred to as an “AD signal”.

Wi−FiI/F14は、Wi−Fi規格に従った無線通信を実行するための無線インターフェースである。Wi−Fi規格は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば802.11a,11b,11g,11n,11ac等)に従って、無線通信を実行するための無線通信方式である。Wi−FiI/F14は、特に、Wi−Fi Allianceによって策定されたDPP(Device Provisioning Protocolの略)方式をサポートしている。DPP方式は、Wi−Fi Allianceによって作成された規格書「Device Provisioning Protocol Specification Version 1.1」に記述されている無線通信方式である。 The Wi-Fi I / F14 is a wireless interface for executing wireless communication in accordance with the Wi-Fi standard. The Wi-Fi standard is, for example, the standard of IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 and the standard equivalent thereto (for example, 802.11a, 11b, 11g, 11n, 11ac, etc.). According to the above, it is a wireless communication method for executing wireless communication. The Wi-Fi I / F14 specifically supports the DPP (abbreviation of Device Provisioning Protocol) method developed by the Wi-Fi Alliance. The DPP method is a wireless communication method described in the standard "Device Provisioning Protocol Specification Version 1.1" created by Wi-Fi Alliance.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に記憶されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。 The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program 36 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, and the like.

プリンタ50のハードウェア構成(図示省略)は、プリンタ10と同様である。即ち、プリンタ50は、BT規格のバージョン5以降で定義されているBTI/Fと、DPP方式をサポートしているWi−FiI/Fと、を備える。 The hardware configuration (not shown) of the printer 50 is the same as that of the printer 10. That is, the printer 50 includes a BTI / F defined in version 5 or later of the BT standard, and a Wi-Fi I / F that supports the DPP method.

(端末100の構成)
端末100は、携帯電話(例えばスマートフォン)、PDA、タブレットPC等の可搬型の端末装置である。端末100は、表示部112と、BTI/F116と、Wi−FiI/F118と、制御部130と、を備える。
(Configuration of terminal 100)
The terminal 100 is a portable terminal device such as a mobile phone (for example, a smartphone), a PDA, or a tablet PC. The terminal 100 includes a display unit 112, a BTI / F116, a Wi-Fi I / F118, and a control unit 130.

表示部112は、様々な情報を表示するためのディスプレイである。表示部112は、ユーザから指示を受け付けるタッチパネル(即ち操作部)としても機能する。BTI/F116は、プリンタ10のBTI/F16と同様である。即ち、BTI/F116は、BT規格のバージョン5以降で定義されているI/Fであり、拡張AD信号及び通常AD信号のどちらも解釈可能である。Wi−FiI/F118は、プリンタ10のWi−FiI/F18と同様である。即ち、Wi−FiI/F118は、DPP方式をサポートしている。 The display unit 112 is a display for displaying various information. The display unit 112 also functions as a touch panel (that is, an operation unit) that receives instructions from the user. The BTI / F116 is the same as the BTI / F16 of the printer 10. That is, BTI / F116 is an I / F defined in version 5 or later of the BT standard, and both an extended AD signal and a normal AD signal can be interpreted. The Wi-Fi I / F 118 is similar to the Wi-Fi I / F 18 of the printer 10. That is, the Wi-Fi I / F 118 supports the DPP method.

制御部130は、CPU132とメモリ134とを備える。CPU132は、メモリ134に格納されているプログラム136,138に従って、様々な処理を実行する。メモリ134は、揮発性メモリ、不揮発性メモリ等によって構成され、OS(Operating Systemの略)プログラム136(以下では単に「OS136」と記載する)とプリントアプリケーション138(以下では単に「アプリ138」と記載する)とを記憶する。 The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes according to the programs 136 and 138 stored in the memory 134. The memory 134 is composed of a volatile memory, a non-volatile memory, and the like, and is described as an OS (abbreviation of Operating System) program 136 (hereinafter simply referred to as "OS 136") and a print application 138 (hereinafter simply referred to as "application 138"). To remember).

OS136は、端末100の基本的な動作を制御するためのプログラムであり、例えば、iOS(登録商標)、アンドロイド(登録商標)等である。アプリ138は、プリンタ10とAP200との間にWi−Fi接続を確立させたり、プリンタ10に印刷を実行させたりするためのプログラムである。アプリ138は、例えば、プリンタ10のベンダによって提供されるインターネット上のサーバから端末100にインストールされてもよいし、プリンタ10と共に出荷されるメディアから端末100にインストールされてもよい。 OS 136 is a program for controlling the basic operation of the terminal 100, and is, for example, iOS (registered trademark), Android (registered trademark), and the like. The application 138 is a program for establishing a Wi-Fi connection between the printer 10 and the AP200 and causing the printer 10 to perform printing. The application 138 may be installed on the terminal 100 from a server on the Internet provided by the vendor of the printer 10, or may be installed on the terminal 100 from the media shipped with the printer 10.

(各デバイス10,50,100によって実行される処理:図2)
続いて、図2及び図3を参照して、各デバイス10等によって実行される具体的な処理を説明する。以下では、端末100のCPU132がOS136又はアプリ138に従って実行する処理を説明する際に、OS136又はアプリ138を主体として説明する。図2及び図3では、各デバイス10等の間のBT規格に従った通信、Wi−Fi規格に従った通信を、それぞれ、実線、破線で示す。この点は、第2及び第3実施例の図4〜図6でも同様である。
(Processes executed by each device 10, 50, 100: FIG. 2)
Subsequently, with reference to FIGS. 2 and 3, specific processes executed by each device 10 and the like will be described. In the following, when the process executed by the CPU 132 of the terminal 100 according to the OS 136 or the application 138 will be described, the OS 136 or the application 138 will be mainly described. In FIGS. 2 and 3, communication according to the BT standard and communication according to the Wi-Fi standard between the devices 10 and the like are shown by solid lines and broken lines, respectively. This point is the same in FIGS. 4 to 6 of the second and third embodiments.

T100では、プリンタ10の電源がユーザによってONされる。この状態では、プリンタ10は、AP200とのWi−Fi接続を確立していない。この場合、プリンタ10のCPU32は、拡張AD信号の送信をBTI/F16に指示する。この結果、BTI/F16は、T102において、拡張AD信号を繰り返し送信する。拡張AD信号は、プリンタ10のモデル名M1と、プリンタ10の公開鍵300と、を含む。公開鍵300は、DPP方式の信号であるAuthentication Requestの送信に利用される情報である。 At T100, the power of the printer 10 is turned on by the user. In this state, the printer 10 has not established a Wi-Fi connection with the AP200. In this case, the CPU 32 of the printer 10 instructs the BTI / F 16 to transmit the extended AD signal. As a result, the BTI / F16 repeatedly transmits the extended AD signal at the T102. The extended AD signal includes the model name M1 of the printer 10 and the public key 300 of the printer 10. The public key 300 is information used for transmitting the Authentication Request, which is a DPP signal.

T110では、端末100のアプリ138を起動する操作がユーザによって実行され、T112では、プリンタ10とAP200との間のWi−Fi接続を確立するためのWi−Fi接続操作がユーザによって実行される。この場合、T120では、アプリ138は、AD信号の受信を指示するための受信指示をOS136に供給する。 In T110, the operation of invoking the application 138 of the terminal 100 is executed by the user, and in T112, the Wi-Fi connection operation for establishing the Wi-Fi connection between the printer 10 and the AP200 is executed by the user. In this case, in T120, the application 138 supplies the OS 136 with a reception instruction for instructing the reception of the AD signal.

OS136は、アプリ138から受信指示を取得すると(T120)、BTI/F116を起動し、T122において、BTI/F116を介して、プリンタ10から拡張AD信号を受信する。そして、OS136は、T124において、拡張AD信号に含まれるモデル名M1及び公開鍵300をアプリ138に供給する。 When the OS 136 acquires the reception instruction from the application 138 (T120), the OS 136 activates the BTI / F116, and at the T122, receives the extended AD signal from the printer 10 via the BTI / F116. Then, the OS 136 supplies the model name M1 and the public key 300 included in the extended AD signal to the application 138 at the T124.

アプリ138は、OS136からモデル名M1及び公開鍵300を取得すると(T124)、T130において、接続確認画面を表示部112に表示する。接続確認画面は、取得済みのモデル名M1を有するプリンタ10とAP200との間にWi−Fi接続を確立させるのか否かをユーザに問い合わせるメッセージと、YESボタンと、Cancelボタンと、を含む。 When the application 138 acquires the model name M1 and the public key 300 from the OS 136 (T124), the application 138 displays the connection confirmation screen on the display unit 112 at the T130. The connection confirmation screen includes a message asking the user whether to establish a Wi-Fi connection between the printer 10 having the acquired model name M1 and the AP200, a YES button, and a Cancel button.

T132では、接続確認画面内のYESボタンがユーザによって選択される。この場合、アプリ138は、T140において、DPP方式に従った無線通信の実行を指示するためのDPP指示をOS136に供給する。DPP指示は、T124で取得済みの公開鍵300を含む。 In T132, the YES button in the connection confirmation screen is selected by the user. In this case, the application 138 supplies the OS 136 with a DPP instruction for instructing the execution of wireless communication according to the DPP method in the T140. The DPP instruction includes the public key 300 acquired at T124.

OS136は、アプリ138からDPP指示を取得すると(T140)、T142において、DPP方式のAuthentication(以下では「Auth」と記載する)をプリンタ10と実行する。具体的には、OS136は、まず、公開鍵300と端末100の秘密鍵とを利用して共有鍵を生成し、当該共有鍵を利用して暗号化データを生成する。そして、OS136は、Wi−FiI/F118を介して、当該暗号化データと端末100の公開鍵とを含むAuth Requestをプリンタ10に送信する。当該Requestは、認証の実行をプリンタ10に要求する信号である。 When the OS 136 acquires the DPP instruction from the application 138 (T140), the OS 136 executes the DPP-type Authentication (hereinafter referred to as “Aut”) with the printer 10 at the T142. Specifically, the OS 136 first generates a shared key using the public key 300 and the private key of the terminal 100, and generates encrypted data using the shared key. Then, the OS 136 transmits the Next Request including the encrypted data and the public key of the terminal 100 to the printer 10 via the Wi-Fi I / F 118. The Request is a signal requesting the printer 10 to execute authentication.

CPU32は、Wi−FiI/F18を介して、端末100から当該Requestを受信すると、当該Requestに含まれる暗号化データの認証を実行する。CPU32は、認証が成功すると、Wi−FiI/F18を介して、成功を示すAuth Responseを端末100に送信する。以下では、Request、Responseのことを、それぞれ、「Req」、「Res」と記載する。 When the CPU 32 receives the Request from the terminal 100 via the Wi-Fi I / F18, the CPU 32 authenticates the encrypted data included in the Request. When the authentication is successful, the CPU 32 transmits an After Response indicating success to the terminal 100 via the Wi-Fi I / F18. In the following, Request and Response will be referred to as “Req” and “Res”, respectively.

CPU32は、Auth Resを端末100に送信すると(T142)、T144において、DPP方式のConfiguration(以下では「Config」と記載する)を端末100と実行する。具体的には、CPU32は、Wi−FiI/F18を介して、Config Reqを端末100に送信する。当該Reqは、プリンタ用Config Objectの送信をプリンタ10に要求する信号である。当該Objectは、プリンタ10がAP200とのWi−Fi接続を確立するために必要な接続情報であり、プリンタ用Signed−Connector等を含む。以下では、Config Object、Signed−Connectorのことを、それぞれ、「CO」、「SC」と記載する。 When the CPU 32 transmits the Ath Res to the terminal 100 (T142), the CPU 32 executes a DPP-type configuration (hereinafter referred to as “Config”) with the terminal 100 at T144. Specifically, the CPU 32 transmits the Config Req to the terminal 100 via the Wi-Fi I / F18. The Req is a signal requesting the printer 10 to transmit a Config Object for a printer. The Object is connection information necessary for the printer 10 to establish a Wi-Fi connection with the AP200, and includes a Signed-Connector for the printer and the like. In the following, the Concrete Object and the Signed-Connector will be referred to as “CO” and “SC”, respectively.

OS136は、Wi−FiI/F118を介して、プリンタ10からConfig Reqを受信すると、プリンタ用SCを含むプリンタ用COを生成する。次いで、OS136は、Wi−FiI/F118を介して、プリンタ用COを含むConfig Resをプリンタ10に送信する。 When the OS 136 receives the Config Req from the printer 10 via the Wi-Fi I / F 118, the OS 136 generates a printer CO including a printer SC. Next, OS 136 transmits Config Res including CO for the printer to the printer 10 via Wi-Fi I / F 118.

CPU32は、Wi−FiI/F18を介して、端末100からConfig Resを受信すると(T144)、T146において、プリンタ用COをメモリ34に記憶する。 When the CPU 32 receives the Config Res from the terminal 100 via the Wi-Fi I / F 18 (T144), the CPU 32 stores the printer CO in the memory 34 at the T146.

次いで、CPU32は、T148において、DPP方式のNetwork AccessをAP200と実行する。具体的には、CPU32は、まず、T146で記憶済みのプリンタ用COに含まれるプリンタ用SCを取得する。そして、CPU32は、Wi−FiI/F18を介して、プリンタ用SCを含むDPP Peer Discovery ReqをAP200に送信する。当該Reqは、認証の実行をAP200に要求する信号である。以下では、DPP Peer Discoveryのことを、単に「Discovery」と記載する。 Next, the CPU 32 executes the DPP-type Network Access with the AP200 at T148. Specifically, the CPU 32 first acquires the printer SC included in the printer CO stored in T146. Then, the CPU 32 transmits the DPP Peer Discovery Req including the SC for the printer to the AP200 via the Wi-Fi I / F18. The Req is a signal requesting the AP200 to execute authentication. In the following, DPP Peer Discovery will be simply referred to as "Discovery".

AP200は、プリンタ10からDiscovery Reqを受信すると、当該Reqに含まれるプリンタ用SCを利用して認証を実行する。AP200は、認証が成功すると、接続キーを生成すると共に、AP用SCを含むDiscovery Resをプリンタ10に送信する。 When the AP200 receives the Discovery Req from the printer 10, the AP200 executes the authentication by using the printer SC included in the Req. When the authentication is successful, the AP200 generates a connection key and transmits a Discovery Res including the AP SC to the printer 10.

CPU32は、Wi−FiI/F18を介して、AP200からDiscovery Resを受信すると、当該Resに含まれるAP用SCを利用して認証を実行する。CPU32は、認証が成功すると、接続キーを生成する。ここで生成される接続キーは、AP200によって生成される接続キーと同じものである。これにより、プリンタ10及びAP200の間で接続キーが共有される。 When the CPU 32 receives the Discovery Res from the AP 200 via the Wi-Fi I / F 18, the CPU 32 executes authentication using the AP SC included in the Res. The CPU 32 generates a connection key when the authentication is successful. The connection key generated here is the same as the connection key generated by the AP200. As a result, the connection key is shared between the printer 10 and the AP200.

CPU32は、接続キーを利用して、Wi−FiI/F18を介して、4way−handshakeの通信をAP200と実行する。この結果、プリンタ10とAP200との間にWi−Fi接続が確立される。 The CPU 32 uses the connection key to execute 4-way-handshake communication with the AP200 via Wi-Fi I / F18. As a result, a Wi-Fi connection is established between the printer 10 and the AP200.

CPU32は、プリンタ用COをメモリ34に記憶すると(T146)、換言すると、AP200とのWi−Fi接続を確立すると(T148)、通常AD信号の送信をBTI/F16に指示する。この結果、BTI/F16は、T150において、通常AD信号を繰り返し送信する。通常AD信号は、電波強度情報E1と、プリンタ10のIPアドレスIP1と、を含む。電波強度情報E1は、通常AD信号の送信時における搬送波の電波強度である送信電波強度を示す情報である。より詳細には、送信電波強度は、通常AD信号の送信元であるプリンタ10から1m離れた地点で測定される搬送波の受信電波強度に等しい。BTI/F16は、予め決められている送信電波強度を示す電波強度情報E1を含む通常AD信号を送信する。 When the CPU 32 stores the CO for the printer in the memory 34 (T146), in other words, when the Wi-Fi connection with the AP200 is established (T148), the CPU 32 normally instructs the BTI / F 16 to transmit the AD signal. As a result, the BTI / F16 normally repeatedly transmits the AD signal at the T150. Usually, the AD signal includes the radio field intensity information E1 and the IP address IP1 of the printer 10. The radio wave strength information E1 is information indicating the transmitted radio wave strength which is the radio wave strength of the carrier wave at the time of transmitting a normal AD signal. More specifically, the transmitted radio field strength is equal to the received radio wave strength of the carrier wave measured at a point 1 m away from the printer 10 which is usually the source of the AD signal. The BTI / F16 transmits a normal AD signal including radio wave intensity information E1 indicating a predetermined transmission radio wave intensity.

上述したように、プリンタ10は、プリンタ用COがメモリ34に記憶されていない場合には、拡張AD信号を送信し(T102)、プリンタ用COがメモリ34に記憶されている場合(T146)には、通常AD信号を送信する(T150)。図示省略しているが、プリンタ10は、プリンタ用COがメモリ34に記憶された後に、プリンタ用COがメモリ34から消去される場合には、拡張AD信号を再び送信する。このように、プリンタ10は、プリンタ用COを記憶しているのか否かに応じて、即ち、AP200とのWi−Fi接続を確立しているのか否かに応じて、適切なAD信号を送信することができる。 As described above, the printer 10 transmits an extended AD signal when the printer CO is not stored in the memory 34 (T102), and when the printer CO is stored in the memory 34 (T146). Usually transmits an AD signal (T150). Although not shown, the printer 10 transmits the extended AD signal again when the printer CO is erased from the memory 34 after the printer CO is stored in the memory 34. In this way, the printer 10 transmits an appropriate AD signal depending on whether or not the CO for the printer is stored, that is, whether or not a Wi-Fi connection with the AP200 is established. can do.

(図2の続きの処理:図3)
続いて、図3を参照して、図2の続きの処理を説明する。図2の処理において、プリンタ10とAP200との間にWi−Fi接続が確立されると(T148)、各プリンタ10,50及び端末100がAP200によって形成される同じ無線ネットワークに所属する状態になる。この状態では、プリンタ10は、通常AD信号を繰り返し送信する(図2のT150)。また、プリンタ50も、通常AD信号を繰り返し送信する。当該AD信号は、送信電波強度を示す電波強度情報E2と、プリンタ50のIPアドレスIP2と、を含む。
(Continued processing of FIG. 2: FIG. 3)
Subsequently, the subsequent processing of FIG. 2 will be described with reference to FIG. In the process of FIG. 2, when a Wi-Fi connection is established between the printer 10 and the AP200 (T148), the printers 10, 50 and the terminal 100 belong to the same wireless network formed by the AP200. .. In this state, the printer 10 normally repeatedly transmits the AD signal (T150 in FIG. 2). The printer 50 also normally repeatedly transmits the AD signal. The AD signal includes radio wave strength information E2 indicating the transmitted radio wave strength and the IP address IP2 of the printer 50.

T210では、印刷対象の画像を表わす画像ファイルを選択するためのファイル選択操作がユーザによって実行される。ここで選択される画像ファイルは、端末100のメモリ134に記憶されているファイルであってもよいし、インターネットを介して取得されるファイルであってもよい。この場合、T220では、アプリ138は、プリンタ10,50の検索を指示するための検索指示をOS136に供給する。 In T210, a file selection operation for selecting an image file representing an image to be printed is executed by the user. The image file selected here may be a file stored in the memory 134 of the terminal 100, or may be a file acquired via the Internet. In this case, in T220, the application 138 supplies the OS 136 with a search instruction for instructing the search of the printers 10 and 50.

OS136は、アプリ138から検索指示を取得すると(T220)、T222において、Wi−Fi接続を利用して(即ちWi−FiI/F118を介して)、検索信号をブロードキャストによってAP200に送信する。この結果、検索信号が各プリンタ10,50によって受信される。 When the OS 136 acquires the search instruction from the application 138 (T220), the OS 136 transmits the search signal to the AP200 by broadcasting using the Wi-Fi connection (that is, via the Wi-Fi I / F 118) at the T222. As a result, the search signal is received by each of the printers 10 and 50.

プリンタ10のCPU32は、Wi−Fi接続を利用して(即ちWi−FiI/F18を介して)、端末100から検索信号を受信すると(T222)、T224Aにおいて、Wi−Fi接続を利用して、プリンタ10のモデル名M1と、プリンタ10のIPアドレスIP1と、を含む応答信号を端末100に送信する。同様に、プリンタ50は、T224Bにおいて、Wi−Fi接続を利用して、プリンタ50のモデル名M2と、プリンタ50のIPアドレスIP2と、を含む応答信号を端末100に送信する。 When the CPU 32 of the printer 10 receives a search signal from the terminal 100 using the Wi-Fi connection (that is, via the Wi-Fi I / F18) (T222), the CPU 32 of the printer 10 uses the Wi-Fi connection in the T224A. A response signal including the model name M1 of the printer 10 and the IP address IP1 of the printer 10 is transmitted to the terminal 100. Similarly, in T224B, the printer 50 transmits a response signal including the model name M2 of the printer 50 and the IP address IP2 of the printer 50 to the terminal 100 by using the Wi-Fi connection.

OS136は、Wi−Fi接続を利用して、各プリンタ10,50から各応答信号を受信すると(T224A,T224B)、T226において、各応答信号に含まれる各情報(即ち、モデル名M1とIPアドレスIP1のセット、及び、モデル名M2とIPアドレスIP2のセット)をアプリ138に供給する。 When the OS 136 receives each response signal from each of the printers 10 and 50 using the Wi-Fi connection (T224A, T224B), in T226, each information included in each response signal (that is, the model name M1 and the IP address) A set of IP1 and a set of model name M2 and IP address IP2) are supplied to the application 138.

アプリ138は、OS136から各情報を取得すると(T226)、T230において、AD信号の受信を指示するための受信指示をOS136に供給する。 When the application 138 acquires each information from the OS 136 (T226), the application 138 supplies the OS 136 with a reception instruction for instructing the reception of the AD signal at the T230.

OS136は、アプリ138から受信指示を取得すると(T230)、BTI/F116を起動し、T232Aにおいて、BTI/F116を介して、プリンタ10から通常AD信号を受信し、T232Bにおいて、BTI/F116を介して、プリンタ50から通常AD信号を受信する。この場合、OS136は、T234において、各通常AD信号に含まれる各情報(即ち、電波強度情報E1及びIPアドレスIP1のセット、並びに、電波強度情報E2及びIPアドレスIP2のセット)をアプリ138に供給する。 When the OS 136 acquires a reception instruction from the application 138 (T230), the OS 136 activates the BTI / F116, receives a normal AD signal from the printer 10 via the BTI / F116 at the T232A, and receives a normal AD signal from the printer 10 at the T232B via the BTI / F116. Then, a normal AD signal is received from the printer 50. In this case, in T234, the OS 136 supplies each information included in each normal AD signal (that is, a set of radio field strength information E1 and IP address IP1 and a set of radio field strength information E2 and IP address IP2) to the application 138. To do.

アプリ138は、OS136から各情報を取得すると(T234)、T240において、プリンタ10から受信された電波強度情報E1を利用して、プリンタ10と端末100との間の距離を算出すると共に、プリンタ50から受信された電波強度情報E2を利用して、プリンタ50と端末100との間の距離を算出する。具体的には、アプリ138は、まず、電波強度情報E1から送信電波強度を特定する。次いで、アプリ138は、BTI/F116から、プリンタ10からの通常AD信号の受信時における搬送波の電波強度である受信電波強度を取得する。そして、アプリ138は、特定済みの送信電波強度と取得済みの受信電波強度とをT240に示される数式に代入して、プリンタ10と端末100との間の距離を算出する。同様に、アプリ138は、プリンタ50と端末100との間の距離を算出する。 When the application 138 acquires each information from the OS 136 (T234), the application 138 calculates the distance between the printer 10 and the terminal 100 by using the radio wave intensity information E1 received from the printer 10 in the T240, and also calculates the distance between the printer 10 and the terminal 100. The distance between the printer 50 and the terminal 100 is calculated by using the radio wave intensity information E2 received from the printer 50. Specifically, the application 138 first specifies the transmitted radio wave strength from the radio wave strength information E1. Next, the application 138 acquires the received radio wave intensity, which is the radio wave intensity of the carrier wave at the time of receiving the normal AD signal from the printer 10, from the BTI / F116. Then, the application 138 substitutes the specified transmission radio wave intensity and the acquired reception radio wave intensity into the mathematical formula shown in T240, and calculates the distance between the printer 10 and the terminal 100. Similarly, the app 138 calculates the distance between the printer 50 and the terminal 100.

アプリ138は、T250において、T226で取得済みの各情報と、T240で算出済みの各距離と、を利用して、プリンタ選択画面を表示する。プリンタ選択画面は、印刷を実行すべきプリンタを選択することをユーザに促すメッセージと、T226で取得済みの各情報に含まれる各モデル名M1,M2と、を含む。ここで、アプリ138は、プリンタ10との距離がプリンタ50との距離よりも小さい場合には、プリンタ10のモデル名M1がプリンタ50のモデル名M2よりも上方に配置されるように、各モデル名M1,M2をソートして表示する(図3のT250のプリンタ選択画面参照)。一方、アプリ138は、プリンタ10との距離がプリンタ50との距離よりも大きい場合には、プリンタ10のモデル名M1がプリンタ50のモデル名M2よりも下方に配置されるように、各モデル名M1,M2をソートして表示する。このように、端末100との距離が近いプリンタが優先的に(即ち上方に)表示されるので、ユーザは、端末100との距離が近いプリンタを知ることができ、当該プリンタを選択することができる。 The application 138 displays the printer selection screen in T250 by using each information acquired in T226 and each distance calculated in T240. The printer selection screen includes a message prompting the user to select a printer to perform printing, and model names M1 and M2 included in the information acquired in T226. Here, in the application 138, when the distance to the printer 10 is smaller than the distance to the printer 50, each model is arranged so that the model name M1 of the printer 10 is arranged above the model name M2 of the printer 50. The names M1 and M2 are sorted and displayed (see the printer selection screen of T250 in FIG. 3). On the other hand, in the application 138, when the distance to the printer 10 is larger than the distance to the printer 50, each model name is arranged so that the model name M1 of the printer 10 is arranged below the model name M2 of the printer 50. M1 and M2 are sorted and displayed. In this way, the printers that are close to the terminal 100 are displayed preferentially (that is, upward), so that the user can know the printers that are close to the terminal 100 and can select the printer. it can.

上述したように、T232A及びT232Bの各通常AD信号は、IPアドレスIP1,IP2を含む。このために、アプリ138は、例えば、T232Aの通常AD信号に含まれる電波強度情報E1から算出される距離と、当該通常AD信号に含まれるIPアドレスIP1と、を対応付けることができる。また、アプリ138は、モデル名M1及びIPアドレスIP1のセットを取得済みである(T226)。このために、アプリ138は、IPアドレスIP1に対応付けられている距離が、モデル名M1を有するプリンタ10との距離であることを特定することができる。同様に、アプリ138は、IPアドレスIP2に対応付けられている距離が、モデル名M2を有するプリンタ50との距離であることを特定することができる。このように、アプリ138は、IPアドレスを介して、モデル名と距離とを対応付けることができる。なお、変形例では、通常AD信号は、IPアドレスに代えて、プリンタを識別する他の識別情報(例えばプリンタのシリアル番号等)を含んでいてもよい。この場合、T224A及びT224Bの各応答信号は、当該識別情報をさらに含んでいてもよい。本変形例では、アプリ138は、当該識別情報を介して、モデル名と距離とを対応付けることができる。 As described above, each of the normal AD signals of T232A and T232B includes IP addresses IP1 and IP2. For this purpose, the application 138 can associate, for example, the distance calculated from the radio field intensity information E1 included in the normal AD signal of T232A with the IP address IP1 included in the normal AD signal. In addition, the application 138 has already acquired a set of the model name M1 and the IP address IP1 (T226). For this purpose, the application 138 can specify that the distance associated with the IP address IP1 is the distance from the printer 10 having the model name M1. Similarly, the application 138 can specify that the distance associated with the IP address IP2 is the distance to the printer 50 having the model name M2. In this way, the application 138 can associate the model name with the distance via the IP address. In the modified example, the AD signal may include other identification information (for example, the serial number of the printer) that identifies the printer instead of the IP address. In this case, each response signal of T224A and T224B may further include the identification information. In this modification, the application 138 can associate the model name with the distance via the identification information.

T252では、プリンタ選択画面において、プリンタ10のモデル名M1がユーザによって選択される。この場合、アプリ138は、T260において、画像ファイルの送信を指示するための印刷指示をOS136に供給する。印刷指示は、T226及びT234で取得済みのプリンタ10のIPアドレスIP1と、T210で選択済みの画像ファイルのファイル名と、を含む。 In T252, the model name M1 of the printer 10 is selected by the user on the printer selection screen. In this case, the application 138 supplies the OS 136 with a print instruction for instructing the transmission of the image file at T260. The print instruction includes the IP address IP1 of the printer 10 acquired in T226 and T234, and the file name of the image file selected in T210.

OS136は、アプリ138から印刷指示を取得すると、T262において、Wi−Fi接続を利用して、送信先としてのIPアドレスIP1と、選択済みの画像ファイルと、を含む印刷指示をプリンタ10に送信する。 When the OS 136 acquires the print instruction from the application 138, the OS 136 transmits the print instruction including the IP address IP1 as the destination and the selected image file to the printer 10 in T262 by using the Wi-Fi connection. ..

CPU32は、端末100から印刷指示を受信すると(T262)、T270において、当該画像ファイルによって表わされる画像の印刷を印刷実行部14に指示する。この結果、印刷実行部14は、当該画像の印刷を実行する。 When the CPU 32 receives the print instruction from the terminal 100 (T262), the CPU 32 instructs the print execution unit 14 to print the image represented by the image file at T270. As a result, the print execution unit 14 prints the image.

(本実施例の効果)
本実施例によると、プリンタ10は、AP200とのWi−Fi接続が確立されていない場合に、公開鍵300を含む拡張AD信号を送信する(図2のT102)。このために、プリンタ10は、拡張AD信号を受信した端末100からプリンタ用COを受信し(T144)、AP200とのWi−Fi接続を確立することができる(T148)。一方、プリンタ10は、AP200とのWi−Fi接続が確立されている場合に、通常AD信号を送信する(T150)。このために、端末100は、通常AD信号を利用することができる(図3のT240〜T262)。具体的には、端末100は、各プリンタ10,50との距離に従ってソートされたプリンタ選択画面を表示し(T240,T250)、プリンタ選択画面においてプリンタ10のモデル名M1が選択される場合(T252)に、印刷指示をプリンタ10に送信する(T260,T262)。この結果、プリンタ10は、画像の印刷を実行することができる(T270)。このように、本実施例によると、AD信号を受信する端末100は、AD信号の種類(即ち拡張AD信号又は通常AD信号)に応じた適切な処理を実行することができる。
(Effect of this example)
According to this embodiment, the printer 10 transmits an extended AD signal including the public key 300 when the Wi-Fi connection with the AP200 is not established (T102 in FIG. 2). For this purpose, the printer 10 can receive the printer CO from the terminal 100 that has received the extended AD signal (T144) and establish a Wi-Fi connection with the AP200 (T148). On the other hand, the printer 10 normally transmits an AD signal when a Wi-Fi connection with the AP200 is established (T150). For this purpose, the terminal 100 can normally use the AD signal (T240 to T262 in FIG. 3). Specifically, the terminal 100 displays a printer selection screen sorted according to the distance from each of the printers 10 and 50 (T240, T250), and when the model name M1 of the printer 10 is selected on the printer selection screen (T252). ), The print instruction is transmitted to the printer 10 (T260, T262). As a result, the printer 10 can print an image (T270). As described above, according to the present embodiment, the terminal 100 that receives the AD signal can execute appropriate processing according to the type of the AD signal (that is, the extended AD signal or the normal AD signal).

(対応関係)
プリンタ10、端末100が、それぞれ、「通信装置」、「端末装置」の一例である。印刷実行部14、BTI/F16、Wi−FiI/F18が、それぞれ、「通信装置」の「画像処理実行部」、「第1の無線インターフェース」、「第2の無線インターフェース」の一例である。BTI/F116、Wi−FiI/F118が、それぞれ、「端末装置」の「第1の無線インターフェース」、「第2の無線インターフェース」の一例である。公開鍵300、プリンタ用COが、それぞれ、「所定情報」、「接続情報」の一例である。図2のT142及びT144の通信が、「所定通信」の一例である。図3のT262の印刷指示が、「画像処理実行指示」の一例である。電波強度情報E1が、「距離を算出するための情報」の一例である。T250のプリンタ選択画面が、「特定画面」の一例である。モデル名M1,M2が、「複数個の識別情報」の一例である。
(Correspondence)
The printer 10 and the terminal 100 are examples of a "communication device" and a "terminal device", respectively. The print execution unit 14, BTI / F16, and Wi-Fi I / F18 are examples of the “image processing execution unit”, the “first wireless interface”, and the “second wireless interface” of the “communication device”, respectively. BTI / F116 and Wi-FiI / F118 are examples of the "first wireless interface" and the "second wireless interface" of the "terminal device", respectively. The public key 300 and the printer CO are examples of "predetermined information" and "connection information", respectively. The communication of T142 and T144 in FIG. 2 is an example of "predetermined communication". The print instruction of T262 in FIG. 3 is an example of the “image processing execution instruction”. The radio field strength information E1 is an example of "information for calculating the distance". The printer selection screen of T250 is an example of a "specific screen". Model names M1 and M2 are examples of "plurality of identification information".

「通信装置」に関する対応関係は以下のとおりである。図2のT102の処理、T144の処理、T146の処理、T148の処理、T150の処理が、それぞれ、「第1のインターフェース制御部」、「接続情報受信部」、「記憶制御部」、「接続確立部」、「第2のインターフェース制御部」によって実行される処理の一例である。図3のT262の処理、T270の処理が、それぞれ、「指示受信部」、「画像処理制御部」によって実行される処理の一例である。 The correspondence regarding "communication equipment" is as follows. The processing of T102, the processing of T144, the processing of T146, the processing of T148, and the processing of T150 in FIG. 2 are the "first interface control unit", "connection information receiving unit", "memory control unit", and "connection", respectively. This is an example of the processing executed by the "establishment unit" and the "second interface control unit". The processing of T262 and the processing of T270 in FIG. 3 are examples of processing executed by the “instruction receiving unit” and the “image processing control unit”, respectively.

「端末装置」に関する対応関係は以下のとおりである。図2のT120に起因するT122の処理が、「第1のアドバタイジング信号受信部」によって実行される処理の一例である。T140に起因するT144の処理が、「接続情報送信部」によって実行される処理の一例である。図3のT230に起因するT232Aの処理が、「第2のアドバタイジング信号受信部」によって実行される処理の一例である。T240の処理、T250の処理が、それぞれ、「算出部」、「表示制御部」によって実行される処理の一例である。 The correspondence regarding the "terminal device" is as follows. The process of T122 caused by T120 of FIG. 2 is an example of the process executed by the “first advertising signal receiving unit”. The process of T144 caused by T140 is an example of the process executed by the “connection information transmitter”. The process of T232A caused by T230 in FIG. 3 is an example of the process executed by the “second advertising signal receiving unit”. This is an example of processing in which the processing of T240 and the processing of T250 are executed by the “calculation unit” and the “display control unit”, respectively.

(第2実施例)
第2実施例では、図1に示されるように、AP200及びAP250は、有線によって接続されていり、互いに通信可能である。また、端末100とは異なる端末150は、AP250とのWi−Fi接続を確立している。端末150のハードウェア構成(図示省略)は、端末100と同様である。
(Second Example)
In the second embodiment, as shown in FIG. 1, the AP200 and AP250 are connected by wire and can communicate with each other. Further, the terminal 150 different from the terminal 100 has established a Wi-Fi connection with the AP 250. The hardware configuration (not shown) of the terminal 150 is the same as that of the terminal 100.

本実施例では、図2と同様の処理が実行され、プリンタ10とAP200との間にWi−Fi接続が確立される。その後、図4の処理が実行される。第1実施例とは異なり、端末100は、各プリンタ10,50との距離を算出せず、プリンタ選択画面(図3のT250参照)を表示しない。以下では、端末100を利用してプリンタ10に印刷を実行させるケースAと、端末150を利用してプリンタ10に印刷を実行させるケースBと、を説明する。 In this embodiment, the same process as in FIG. 2 is executed, and a Wi-Fi connection is established between the printer 10 and the AP200. After that, the process of FIG. 4 is executed. Unlike the first embodiment, the terminal 100 does not calculate the distance to each of the printers 10 and 50 and does not display the printer selection screen (see T250 in FIG. 3). In the following, a case A in which the printer 10 is made to execute printing by using the terminal 100 and a case B in which the printer 10 is made to execute printing by using the terminal 150 will be described.

(第2実施例の処理:図4)
(ケースA)
アプリ138は、T310において、ファイル選択操作が実行されると、T330において、AD信号の受信を指示するための受信指示をOS136に供給する。
(Processing of the second embodiment: FIG. 4)
(Case A)
When the file selection operation is executed in the T310, the application 138 supplies the OS 136 with a reception instruction for instructing the reception of the AD signal in the T330.

OS136は、アプリ138から受信指示を取得すると(T330)、T332において、BTI/F116を介して、プリンタ10から通常AD信号を受信する。通常AD信号は、第1実施例とは異なり、モデル名M1をさらに含む。また、本実施例では、通常AD信号は、電波強度情報E1を含んでいなくてもよい。そして、OS136は、T334において、通常AD信号に含まれるモデル名M1及びIPアドレスIP1をアプリ138に供給する。 When the OS 136 acquires a reception instruction from the application 138 (T330), the OS 136 receives a normal AD signal from the printer 10 via the BTI / F116 at the T332. The normal AD signal, unlike the first embodiment, further includes the model name M1. Further, in this embodiment, the normal AD signal does not have to include the radio field intensity information E1. Then, the OS 136 supplies the model name M1 and the IP address IP1 included in the normal AD signal to the application 138 at the T334.

アプリ138は、OS136から各情報を取得すると(T334)、T350において、取得済みの各情報を利用して、印刷確認画面を表示する。印刷確認画面は、モデル名M1を有するプリンタ10が見つかったことを示すメッセージと、プリンタ10に印刷を実行させるのか否かをユーザに問い合わせるメッセージと、YESボタンと、キャンセルボタンと、を含む。T352では、印刷確認画面内のYESボタンがユーザによって選択される。この場合、アプリ138は、T360において、印刷指示をOS136に供給する。印刷指示は、T334で取得済みのプリンタ10のIPアドレスIP1と、T310で選択済みの画像ファイルのファイル名と、を含む。T362及びT370は、図3のT262及びT270と同様である。 When the application 138 acquires each information from the OS 136 (T334), the application 138 displays a print confirmation screen by using the acquired information in the T350. The print confirmation screen includes a message indicating that the printer 10 having the model name M1 has been found, a message asking the user whether to let the printer 10 execute printing, a YES button, and a cancel button. In T352, the YES button in the print confirmation screen is selected by the user. In this case, the application 138 supplies the print instruction to the OS 136 at the T360. The print instruction includes the IP address IP1 of the printer 10 acquired in T334 and the file name of the image file selected in T310. T362 and T370 are similar to T262 and T270 in FIG.

上述したように、通常AD信号は、プリンタ10のIPアドレスIP1を含む。このために、端末100は、通常AD信号に含まれるIPアドレスIP1を送信先IPアドレスとして含む印刷指示をプリンタ10に送信することができる(T360,T362)。このために、端末100は、プリンタ10に印刷を適切に実行させることができる。 As described above, the AD signal usually includes the IP address IP1 of the printer 10. For this purpose, the terminal 100 can transmit a print instruction including the IP address IP1 normally included in the AD signal as the destination IP address to the printer 10 (T360, T362). For this reason, the terminal 100 can cause the printer 10 to perform printing appropriately.

(ケースB)
ケースBでは、端末150は、T310〜T360と同様の処理を実行する。この結果、端末150は、T382において、IPアドレスIP1を送信先IPアドレスとして含む印刷指示を送信することができる。当該印刷指示は、まず、端末150とのWi−Fi接続を確立しているAP250に送信される。
(Case B)
In case B, the terminal 150 executes the same processing as T310 to T360. As a result, the terminal 150 can transmit a print instruction including the IP address IP1 as the destination IP address at T382. The print instruction is first transmitted to the AP 250, which has established a Wi-Fi connection with the terminal 150.

AP250は、印刷指示に含まれるIPアドレスIP1が、AP250自身によって形成されている無線ネットワークで利用されているIPアドレスでないと判断し、印刷指示をAP200に送信する。AP200は、印刷指示に含まれるIPアドレスIP1が、AP200自身によって形成されている無線ネットワークで利用されているIPアドレスである(即ちプリンタ10のIPアドレスである)と判断し、印刷指示をプリンタ10に送信する。このために、T390において、プリンタ10によって印刷が実行される。 The AP 250 determines that the IP address IP1 included in the print instruction is not the IP address used in the wireless network formed by the AP 250 itself, and transmits the print instruction to the AP 200. The AP200 determines that the IP address IP1 included in the print instruction is the IP address used in the wireless network formed by the AP200 itself (that is, the IP address of the printer 10), and issues the print instruction to the printer 10. Send to. Therefore, in T390, printing is executed by the printer 10.

上述したように、プリンタ10がAP200とのWi−Fi接続を確立しており、端末150がAP250とのWi−Fi接続を確立している。即ち、プリンタ10及び端末150は、異なる無線ネットワークに所属している。本実施例では、このような状況においても、端末150は、プリンタ10から受信される通常AD信号に含まれるIPアドレスIP1を送信先として印刷指示を送信することによって(T382)、プリンタ10に印刷を適切に実行させることができる。 As described above, the printer 10 has established a Wi-Fi connection with the AP200, and the terminal 150 has established a Wi-Fi connection with the AP250. That is, the printer 10 and the terminal 150 belong to different wireless networks. In this embodiment, even in such a situation, the terminal 150 prints to the printer 10 by transmitting a print instruction to the IP address IP1 included in the normal AD signal received from the printer 10 as a transmission destination (T382). Can be executed properly.

(第3実施例)
本実施例では、プリンタ10が、AP200とのWi−Fi接続を確立していない状態において、通常AD信号又は拡張AD信号を選択的に送信する点が第1実施例とは異なる。また、図1に示されるように、本実施例では、端末150とAP200との間にWi−Fi接続が確立されている。ここで、端末150は、BT規格のバージョン4.2で定義されているBTI/Fを備える。従って、端末150は、通常AD信号を解釈可能であるが、拡張AD信号を解釈不可能である。
(Third Example)
The present embodiment is different from the first embodiment in that the printer 10 selectively transmits a normal AD signal or an extended AD signal in a state where the Wi-Fi connection with the AP200 is not established. Further, as shown in FIG. 1, in this embodiment, a Wi-Fi connection is established between the terminal 150 and the AP200. Here, the terminal 150 includes a BTI / F defined in version 4.2 of the BT standard. Therefore, the terminal 150 can usually interpret the AD signal, but cannot interpret the extended AD signal.

(第3実施例のケースCの処理:図5)
図5のケースCでは、端末100を利用してプリンタ10とAP200との間にWi−Fi接続を確立させる。プリンタ10のCPU32は、T400において、電源がONされると、通常AD信号の送信をBTI/F16に指示する。この結果、BTI/F16は、T402において、通常AD信号を繰り返し送信する。通常AD信号は、プリンタ10のモデル名M1を含むが、公開鍵300を含まない。この状態では、プリンタ10がAP200とのWi−Fi接続を確立していないので、当該通常AD信号は、IPアドレスIP1も含まない。
(Processing of Case C of the Third Example: FIG. 5)
In case C of FIG. 5, the terminal 100 is used to establish a Wi-Fi connection between the printer 10 and the AP200. The CPU 32 of the printer 10 normally instructs the BTI / F 16 to transmit an AD signal when the power is turned on in the T400. As a result, the BTI / F16 normally repeatedly transmits the AD signal at the T402. Normally, the AD signal includes the model name M1 of the printer 10, but does not include the public key 300. In this state, since the printer 10 has not established a Wi-Fi connection with the AP200, the normal AD signal does not include the IP address IP1.

T410〜T432は、拡張AD信号に代えて通常AD信号が利用される点と、公開鍵300が利用されない点と、を除いて、図2のT110〜T132と同様である。T440では、アプリ138は、通常AD信号の送信を指示するための送信指示をOS136に供給する。 T410 to T432 are the same as T110 to T132 in FIG. 2, except that a normal AD signal is used instead of the extended AD signal and the public key 300 is not used. In T440, the application 138 normally supplies the OS 136 with a transmission instruction for instructing the transmission of the AD signal.

OS136は、アプリ138から送信指示を取得すると(T440)、T442において、BTI/F116を介して、切替指示を含む通常AD信号を送信する。切替指示は、通常AD信号に代えて拡張AD信号を送信するようにプリンタ10に要求するための指示である。 When the OS 136 acquires a transmission instruction from the application 138 (T440), the OS 136 transmits a normal AD signal including a switching instruction via the BTI / F116 at the T442. The switching instruction is an instruction for requesting the printer 10 to transmit an extended AD signal instead of the normal AD signal.

プリンタ10のCPU32は、T400において、電源がONされる場合に、通常AD信号の送信をBTI/F16に指示すると共に、通常AD信号の受信をBTI/F16に指示する。この結果、BTI/F16は、通常AD信号を送信する処理(T402)と、通常AD信号の受信を待機する処理と、を交互に実行する。このために、T442において、CPU32は、BTI/F16を介して、端末100から通常AD信号を受信することができる。この場合、CPU32は、当該通常AD信号に含まれる切替指示に従って、拡張AD信号の送信をBTI/F16に指示する。この結果、BTI/F16は、T450において、通常AD信号に代えて拡張AD信号を繰り返し送信する。当該拡張AD信号は、図2のT102で送信される拡張AD信号と同様である。 In the T400, the CPU 32 of the printer 10 instructs the BTI / F16 to transmit the normal AD signal and also instructs the BTI / F16 to receive the normal AD signal when the power is turned on. As a result, the BTI / F16 alternately executes the process of transmitting the normal AD signal (T402) and the process of waiting for the reception of the normal AD signal. Therefore, in T442, the CPU 32 can receive a normal AD signal from the terminal 100 via the BTI / F16. In this case, the CPU 32 instructs the BTI / F 16 to transmit the extended AD signal according to the switching instruction included in the normal AD signal. As a result, the BTI / F16 repeatedly transmits an extended AD signal in place of the normal AD signal at the T450. The extended AD signal is the same as the extended AD signal transmitted at T102 in FIG.

アプリ138は、送信指示をOS136に供給すると(T440)、次いで、T460において、受信指示をOS136に供給する。この結果、OS136は、T462において、BTI/F116を介して、プリンタ10から拡張AD信号を受信し、T464において、拡張AD信号に含まれる各情報をアプリ138に供給する。 When the application 138 supplies the transmission instruction to the OS 136 (T440), the application 138 then supplies the reception instruction to the OS 136 at the T460. As a result, the OS 136 receives the extended AD signal from the printer 10 via the BTI / F116 in the T462, and supplies each information included in the extended AD signal to the application 138 in the T464.

その後、図2のT140〜T148と同様の処理が実行され、プリンタ10とAP200との間にWi−Fi接続が確立される。この場合、プリンタ10のCPU32は、通常AD信号の送信をBTI/F16に指示する。この結果、BTI/F16は、T470において、拡張AD信号に代えて通常AD信号を繰り返し送信する。この状態では、プリンタ10がAP200とのWi−Fi接続を確立しているので、当該通常AD信号は、IPアドレスIP1を含む。この後の処理は、第1実施例(図3参照)と同様であってもよいし、第2実施例(図4参照)と同様であってもよい。 After that, the same processing as in T140 to T148 of FIG. 2 is executed, and a Wi-Fi connection is established between the printer 10 and the AP200. In this case, the CPU 32 of the printer 10 normally instructs the BTI / F 16 to transmit the AD signal. As a result, the BTI / F16 repeatedly transmits a normal AD signal instead of the extended AD signal at the T470. In this state, since the printer 10 has established a Wi-Fi connection with the AP200, the normal AD signal includes the IP address IP1. The subsequent processing may be the same as that of the first embodiment (see FIG. 3) or the same as that of the second embodiment (see FIG. 4).

(第3実施例のケースDの処理:図6)
図6のケースDでは、端末150を利用してプリンタ10とAP200との間にWi−Fi接続を確立させる。上述したように、端末150は、BT規格のバージョン4.2で定義されているBTI/Fを備え、拡張AD信号を解釈不可能である。
(Processing of Case D of the Third Example: FIG. 6)
In case D of FIG. 6, the terminal 150 is used to establish a Wi-Fi connection between the printer 10 and the AP200. As mentioned above, the terminal 150 includes the BTI / F defined in version 4.2 of the BT standard and cannot interpret the extended AD signal.

T500〜T532は、端末150が利用される点を除くと、図5のT400〜T432と同様である。端末150のアプリ(図示省略)は、T540において、BT接続指示をOS(図示省略)に供給する。この場合、T542において、OSは、BTI/Fを介して、L2CAP Linkをプリンタ10と確立する。なお、L2CAP Linkの確立のためには、通常、プリンタ10及び端末150の一方のデバイスにおいて、PINコードが表示され、他方のデバイスにおいて、当該PINコードが入力される。 T500 to T532 are the same as T400 to T432 in FIG. 5, except that the terminal 150 is used. The application (not shown) of the terminal 150 supplies the BT connection instruction to the OS (not shown) at T540. In this case, at T542, the OS establishes the L2CAP Link with the printer 10 via the BTI / F. In order to establish the L2CAP Link, a PIN code is usually displayed on one device of the printer 10 and the terminal 150, and the PIN code is input on the other device.

プリンタ10のCPU32は、L2CAP Linkが確立されると(T542)、T550において、当該Linkを利用して、公開鍵300を端末150に供給する。その後の処理は、端末150が利用される点を除くと、図2のT140〜148と同様である。この結果、プリンタ10とAP200との間にWi−Fi接続が確立される。T570は、図5のT470と同様である。 When the L2CAP Link is established (T542), the CPU 32 of the printer 10 uses the Link to supply the public key 300 to the terminal 150 at T550. Subsequent processing is the same as T140 to 148 in FIG. 2, except that the terminal 150 is used. As a result, a Wi-Fi connection is established between the printer 10 and the AP200. T570 is similar to T470 in FIG.

(本実施例の効果)
図5に示されるように、プリンタ10は、AP200とのWi−Fi接続を確立していない場合に、通常AD信号を送信する(図5のT402)。そして、プリンタ10は、当該通常AD信号が端末100によって受信され(T422)、かつ、端末100から切替指示が受信される場合(T442)に、公開鍵300を含む拡張AD信号を送信する(T450)。このために、プリンタ10は、端末100からプリンタ用COを受信して(図5で引用する図2のT144)、AP200とのWi−Fi接続を適切に確立することができる。また、図6に示されるように、プリンタ10は、AP200とのWi−Fi接続を確立していない場合に、通常AD信号を送信する(T502)。そして、プリンタ10は、当該通常AD信号が端末150によって受信され(T522)、かつ、端末150から切替指示が受信されない場合に、端末150とL2CAP Linkを確立する(T542)。そして、プリンタ10は、当該Linkを利用して、公開鍵300を端末150に送信する(T550)。このために、プリンタ10は、端末150からプリンタ用COを受信して(図6で引用する図2のT144)、AP200とのWi−Fi接続を適切に確立することができる。本実施例によると、プリンタ10は、拡張AD信号を解釈可能な端末100とBT規格の通信することによって、AP200とのWi−Fi接続を確立することができ(図5のケースC)、さらに、拡張AD信号を解釈不可能な端末150とBT規格の通信することによって、AP200とのWi−Fi接続を確立することができる(図6のケースD)。
(Effect of this example)
As shown in FIG. 5, the printer 10 normally transmits an AD signal when a Wi-Fi connection with the AP200 has not been established (T402 in FIG. 5). Then, when the normal AD signal is received by the terminal 100 (T422) and the switching instruction is received from the terminal 100 (T442), the printer 10 transmits an extended AD signal including the public key 300 (T450). ). For this purpose, the printer 10 can receive the printer CO from the terminal 100 (T144 in FIG. 2 cited in FIG. 5) and appropriately establish a Wi-Fi connection with the AP200. Further, as shown in FIG. 6, the printer 10 normally transmits an AD signal when a Wi-Fi connection with the AP200 has not been established (T502). Then, the printer 10 establishes the terminal 150 and the L2CAP Link (T542) when the normal AD signal is received by the terminal 150 (T522) and the switching instruction is not received from the terminal 150. Then, the printer 10 uses the Link to transmit the public key 300 to the terminal 150 (T550). For this purpose, the printer 10 can receive the printer CO from the terminal 150 (T144 in FIG. 2 cited in FIG. 6) and appropriately establish a Wi-Fi connection with the AP200. According to this embodiment, the printer 10 can establish a Wi-Fi connection with the AP200 by communicating with the terminal 100 capable of interpreting the extended AD signal in the BT standard (case C in FIG. 5), and further. By communicating the extended AD signal with the uninterpretable terminal 150 in the BT standard, a Wi-Fi connection with the AP200 can be established (Case D in FIG. 6).

(対応関係)
「切替指示」が、「所定指示」の一例である。「通信装置」に関する対応関係は以下のとおりである。図5のT402及び図6のT502の処理が、「第3のインターフェース制御部」によって実行される処理の一例である。図5のT450の処理が、「第1のインターフェース制御部」によって実行される処理の一例である。図6のT542の処理、T550の処理が、それぞれ、「リンク確立部」、「所定情報送信部」によって実行される処理の一例である。「端末装置」に関する対応関係は以下のとおりである。図5のT420に起因するT422の処理が、「第3のアドバタイジング信号受信部」によって実行される処理の一例である。T440に起因するT442の処理が、「所定指示送信部」によって実行される処理の一例である。T460に起因するT462の処理が、「第1のアドバタイジング信号受信部」によって実行される処理の一例である。
(Correspondence)
The "switching instruction" is an example of the "predetermined instruction". The correspondence regarding "communication equipment" is as follows. The processing of T402 in FIG. 5 and T502 in FIG. 6 is an example of processing executed by the “third interface control unit”. The process of T450 in FIG. 5 is an example of the process executed by the “first interface control unit”. The process of T542 and the process of T550 of FIG. 6 are examples of processes executed by the “link establishment unit” and the “predetermined information transmission unit”, respectively. The correspondence regarding the "terminal device" is as follows. The process of T422 caused by T420 in FIG. 5 is an example of the process executed by the “third advertising signal receiving unit”. The process of T442 caused by T440 is an example of the process executed by the "predetermined instruction transmitting unit". The process of T462 caused by T460 is an example of the process executed by the "first advertising signal receiving unit".

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。 Although specific examples of the present invention have been described in detail above, these are merely examples and do not limit the scope of claims. The techniques described in the claims include various modifications and modifications of the specific examples illustrated above. Modifications of the above embodiment are listed below.

(変形例1)端末100は、DPP方式をサポートしていなくてもよく、通常のWi−Fi規格の手法に従って、AP200とのWi−Fi接続を確立してもよい。この場合、端末100は、AP200によって形成されている無線ネットワークのSSID及びパスワード(以下では「AP接続情報」と記載する)を記憶済みである。また、プリンタ10は、WFD(Wi-Fi Direct(登録商標)の略)方式のGroup Owner(以下では「G/O」と記載する)として動作可能であってもよい。この場合、プリンタ10は、図2のT102において、プリンタ10がG/Oとして動作する無線ネットワークのSSID及びパスワード(以下では「WFD接続情報」と記載する)を含む拡張AD信号を送信してもよい。端末100は、拡張AD信号を受信することによって、WFD接続情報を取得することができる。この場合、端末100は、WFD接続情報を利用して、Wi−FiI/F118を介して、WFD方式の無線接続をプリンタ10と確立することができる。その後、端末100は、WFD方式の無線接続を利用して、Wi−FiI/F118を介して、AP接続情報をプリンタ10に送信する。このために、プリンタ10は、AP接続情報を利用して、AP200とのWi−Fi接続を確立することができる。本変形例では、WFD接続情報、AP接続情報が、それぞれ、「所定情報」、「接続情報」の一例である。WFD方式の無線接続を利用した通信が、「所定通信」の一例である。 (Modification 1) The terminal 100 does not have to support the DPP method, and may establish a Wi-Fi connection with the AP200 according to a method of a normal Wi-Fi standard. In this case, the terminal 100 has stored the SSID and password (hereinafter referred to as "AP connection information") of the wireless network formed by the AP200. Further, the printer 10 may be capable of operating as a WFD (abbreviation of Wi-Fi Direct (registered trademark)) type Group Owner (hereinafter referred to as “G / O”). In this case, even if the printer 10 transmits an extended AD signal including the SSID and password (hereinafter referred to as "WFD connection information") of the wireless network in which the printer 10 operates as a G / O in T102 of FIG. Good. The terminal 100 can acquire WFD connection information by receiving the extended AD signal. In this case, the terminal 100 can establish a WFD wireless connection with the printer 10 via Wi-Fi I / F 118 by using the WFD connection information. After that, the terminal 100 transmits the AP connection information to the printer 10 via the Wi-Fi I / F 118 by using the WFD wireless connection. For this purpose, the printer 10 can establish a Wi-Fi connection with the AP 200 by using the AP connection information. In this modification, the WFD connection information and the AP connection information are examples of "predetermined information" and "connection information", respectively. Communication using a WFD wireless connection is an example of "predetermined communication".

(変形例2)上記の変形例1と同様に、端末100は、通常のWi−Fi規格の手法に従ってAP200とのWi−Fi接続を確立し、AP接続情報を記憶済みであってもよい。そして、プリンタ10は、図2のT102において、公開鍵300に代えて、BT規格のペアリングを実行するためのペアリング情報(例えばPINコード)を含む拡張AD信号を送信してもよい。端末100は、拡張AD信号を受信することによって、ペアリング情報を取得することができる。この場合、端末100は、ペアリング情報を利用して、BTI/F116を介して、プリンタ10とのペアリングを実行して、L2CAP Linkをプリンタ10と確立することができる。その後、端末100は、L2CAP Linkを利用して、BTI/F116を介して、AP接続情報をプリンタ10に送信する。このために、プリンタ10は、AP接続情報を利用して、AP200とのWi−Fi接続を確立することができる。本変形例では、ペアリング情報、AP接続情報が、それぞれ、「所定情報」、「接続情報」の一例である。L2CAP Linkを利用した通信が、「所定通信」の一例である。 (Modification 2) Similar to the above modification 1, the terminal 100 may establish a Wi-Fi connection with the AP200 according to a normal Wi-Fi standard method and store AP connection information. Then, in T102 of FIG. 2, the printer 10 may transmit an extended AD signal including pairing information (for example, a PIN code) for executing BT standard pairing instead of the public key 300. The terminal 100 can acquire pairing information by receiving the extended AD signal. In this case, the terminal 100 can use the pairing information to perform pairing with the printer 10 via the BTI / F116 to establish the L2CAP Link with the printer 10. After that, the terminal 100 uses the L2CAP Link to transmit the AP connection information to the printer 10 via the BTI / F116. For this purpose, the printer 10 can establish a Wi-Fi connection with the AP 200 by using the AP connection information. In this modification, the pairing information and the AP connection information are examples of "predetermined information" and "connection information", respectively. Communication using L2CAP Link is an example of "predetermined communication".

(変形例3)プリンタ10に代えて、スキャン実行部を備えるスキャナが利用されてもよい。この場合、端末100は、図3のT260,T262において、AP200を介して、印刷指示に代えてスキャン指示をスキャナに送信する。そして、スキャナは、T270において、スキャン実行部にスキャンを実行させ、その後、AP200を介して、スキャンデータを端末100に送信する。本変形例では、スキャン実行部、スキャン指示、スキャンが、それぞれ、「画像処理実行部」、「画像処理実行指示」、「画像処理」の一例である。 (Modification 3) A scanner provided with a scan execution unit may be used instead of the printer 10. In this case, at T260 and T262 in FIG. 3, the terminal 100 transmits a scan instruction to the scanner instead of the print instruction via the AP200. Then, at T270, the scanner causes the scan execution unit to execute the scan, and then transmits the scan data to the terminal 100 via the AP200. In this modification, the scan execution unit, the scan instruction, and the scan are examples of the “image processing execution unit”, the “image processing execution instruction”, and the “image processing”, respectively.

(変形例4)プリンタ10は、図2のT150において、電波強度情報E1及びIPアドレスIP1に代えて、プリンタ10の現在のステータスを示すステータス情報を含む通常AD信号を送信してもよい。この場合、端末100は、通常AD信号を受信することによって、通常AD信号に含まれるステータス情報を表示することができる。本変形例では、プリンタ10は、端末100から印刷指示を受信しなくてもよい。本変形例では、「通信装置」の「指示受信部」及び「画像処理制御部」を省略可能である。 (Modification 4) In T150 of FIG. 2, the printer 10 may transmit a normal AD signal including status information indicating the current status of the printer 10 instead of the radio wave intensity information E1 and the IP address IP1. In this case, the terminal 100 can display the status information included in the normal AD signal by receiving the normal AD signal. In this modification, the printer 10 does not have to receive a print instruction from the terminal 100. In this modification, the "instruction receiving unit" and the "image processing control unit" of the "communication device" can be omitted.

(変形例5)端末100は、図3のT250において、各プリンタ10,50の各モデル名M1,M2をソートせずに、各モデル名M1,M2に対応付けて算出済みの各距離を表示してもよい。この場合、ユーザは、印刷確認画面内の各距離を見ることによって、どのプリンタに印刷を実行させるのかを決定することができる。また、別の変形例では、端末100は、図4のT350の前にプリンタ10の距離を算出し、T350において、当該距離を含む印刷確認画面を表示してもよい。この場合、ユーザは、印刷確認画面内の距離に応じて、プリンタ10に印刷を実行させるのか否かを決定することができる。一般的に言うと、「端末装置」の「表示制御部」は、複数個の識別情報がソートされている特定画面を表示部に表示させなくてもよく、距離に関する情報を示す特定画面を表示させればよい。 (Modification 5) In T250 of FIG. 3, the terminal 100 displays the calculated distances associated with the model names M1 and M2 without sorting the model names M1 and M2 of the printers 10 and 50. You may. In this case, the user can determine which printer is to perform printing by looking at each distance in the print confirmation screen. Further, in another modification, the terminal 100 may calculate the distance of the printer 10 before T350 in FIG. 4, and display a print confirmation screen including the distance at T350. In this case, the user can decide whether or not to cause the printer 10 to perform printing according to the distance in the print confirmation screen. Generally speaking, the "display control unit" of the "terminal device" does not have to display a specific screen in which a plurality of identification information is sorted on the display unit, and displays a specific screen showing information on distance. Just let me do it.

(変形例6)「通信装置」は、プリンタ10でなくてもよく、例えば、スキャナ、FAX装置、多機能機、PC、サーバ等であってもよい。 (Modification 6) The "communication device" does not have to be the printer 10, and may be, for example, a scanner, a fax device, a multifunctional device, a PC, a server, or the like.

(変形例7)上記の各実施例では、プリンタ10のCPU32がプログラム36(即ちソフトウェア)を実行すること、及び、端末100のCPU132がプログラム136,138を実行することによって、図2〜図6の各処理が実現される。これに代えて、いずれかの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 7) In each of the above embodiments, the CPU 32 of the printer 10 executes the program 36 (that is, software), and the CPU 132 of the terminal 100 executes the programs 136 and 138. Each process of is realized. Instead, either process may be implemented by hardware such as a logic circuit.

2:通信システム、10:プリンタ、12:表示部、14:印刷実行部、16:BTI/F、18:Wi−FiI/F、30:制御部、32:CPU、34:メモリ、36:プログラム、50:プリンタ、100:携帯端末、112:表示部、116:BTI/F、118:Wi−FiI/F、130:制御部、132:CPU、134:メモリ、136:OSプログラム、138:プリントアプリケーション、150:携帯端末、200,250:AP 2: Communication system, 10: Printer, 12: Display unit, 14: Print execution unit, 16: BTI / F, 18: Wi-Fi I / F, 30: Control unit, 32: CPU, 34: Memory, 36: Program , 50: Printer, 100: Mobile terminal, 112: Display unit, 116: BTI / F, 118: Wi-Fi I / F, 130: Control unit, 132: CPU, 134: Memory, 136: OS program, 138: Print Application, 150: Mobile terminal, 200, 250: AP

Claims (12)

通信装置であって、
Bluetooth規格に従った無線通信を実行するための第1の無線インターフェースであって、前記Bluetooth規格のバージョン5以降で利用可能な拡張アドバタイジング信号と、前記Bluetooth規格の前記バージョン5未満で利用可能な拡張されていない通常アドバタイジング信号と、のどちらも送信可能である前記第1の無線インターフェースと、
Wi−Fi規格に従った無線通信を実行するための第2の無線インターフェースと、
前記第2の無線インターフェースを介して、前記通信装置とアクセスポイントとの間に無線接続が確立されていない場合に、前記拡張アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する第1のインターフェース制御部であって、
前記拡張アドバタイジング信号は、前記通信装置と端末装置との間で所定通信を実行するための所定情報を含み、
前記所定通信は、前記端末装置から接続情報を受信するための通信であり、
前記接続情報は、前記第2の無線インターフェースを介して、前記通信装置と前記アクセスポイントとの間に前記無線接続を確立するための情報である、前記第1のインターフェース制御部と、
前記拡張アドバタイジング信号が前記端末装置によって受信される場合に、前記所定情報が利用された前記所定通信を前記端末装置と実行して、前記端末装置から前記接続情報を受信する接続情報受信部と、
前記端末装置から前記接続情報が受信される場合に、前記接続情報を利用して、前記第2の無線インターフェースを介して、前記アクセスポイントとの前記無線接続を確立する接続確立部と、
前記第2の無線インターフェースを介して、前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されている場合に、前記通常アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する第2のインターフェース制御部と、
を備える、通信装置。
It ’s a communication device,
A first wireless interface for performing wireless communication in accordance with the Bluetooth standard, which is an extended advertising signal available in version 5 or later of the Bluetooth standard and an extension available in less than version 5 of the Bluetooth standard. The first wireless interface, which is capable of transmitting both a normal advertising signal that has not been used, and the above-mentioned first wireless interface.
A second wireless interface for performing wireless communication according to the Wi-Fi standard,
A first wireless interface that controls the first wireless interface to transmit the extended advertising signal when a wireless connection is not established between the communication device and the access point via the second wireless interface. Interface control unit of
The extended advertising signal includes predetermined information for executing predetermined communication between the communication device and the terminal device.
The predetermined communication is a communication for receiving connection information from the terminal device, and is a communication for receiving connection information.
The connection information is information for establishing the wireless connection between the communication device and the access point via the second wireless interface.
When the extended advertising signal is received by the terminal device, a connection information receiving unit that executes the predetermined communication using the predetermined information with the terminal device and receives the connection information from the terminal device.
When the connection information is received from the terminal device, the connection establishment unit that establishes the wireless connection with the access point via the second wireless interface by using the connection information.
The first wireless interface is controlled so as to transmit the normal advertising signal when the wireless connection is established between the communication device and the access point via the second wireless interface. The second interface control unit and
A communication device.
前記通信装置は、さらに、
画像処理実行部と、
前記通常アドバタイジング信号が前記端末装置によって受信される場合に、前記無線接続を利用して、前記アクセスポイント及び前記第2の無線インターフェースを介して、前記端末装置から画像処理実行指示を受信する指示受信部と、
前記端末装置から前記画像処理実行指示が受信される場合に、画像処理を前記画像処理実行部に実行させる画像処理制御部と、
を備える、請求項1に記載の通信装置。
The communication device further
Image processing execution part and
When the normal advertising signal is received by the terminal device, an instruction reception for receiving an image processing execution instruction from the terminal device via the access point and the second wireless interface using the wireless connection is used. Department and
An image processing control unit that causes the image processing execution unit to execute image processing when the image processing execution instruction is received from the terminal device.
The communication device according to claim 1.
前記画像処理実行部は、印刷実行部であり、
前記画像処理実行指示は、印刷対象の画像を表わす画像ファイルを含み、
前記画像処理は、前記画像の印刷を含む、請求項2に記載の通信装置。
The image processing execution unit is a print execution unit.
The image processing execution instruction includes an image file representing an image to be printed, and includes an image file.
The communication device according to claim 2, wherein the image processing includes printing the image.
前記通常アドバタイジング信号は、前記端末装置が前記端末装置と前記通信装置との間の距離を算出するための情報を含む、請求項1から3のいずれか一項に記載の通信装置。 The communication device according to any one of claims 1 to 3, wherein the normal advertising signal includes information for the terminal device to calculate a distance between the terminal device and the communication device. 前記通常アドバタイジング信号は、前記通信装置のIPアドレスを含む、請求項1から4のいずれか一項に記載の通信装置。 The communication device according to any one of claims 1 to 4, wherein the normal advertising signal includes an IP address of the communication device. 前記通信装置は、さらに、
前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されていない場合に、前記通常アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する第3のインターフェース制御部と、
前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されていない状態で、前記通常アドバタイジング信号が前記端末装置によって受信され、かつ、前記第1の無線インターフェースを介して前記端末装置から所定指示が受信されない場合に、前記第1の無線インターフェースを介して、前記端末装置との無線リンクを確立するリンク確立部であって、前記所定指示は、前記通常アドバタイジング信号に代えて前記拡張アドバタイジング信号を送信するように前記通信装置に要求するための指示である、前記リンク確立部と、
前記端末装置との前記無線リンクが確立される場合に、前記無線リンクを利用して、前記第1の無線インターフェースを介して、前記所定情報を前記端末装置に送信する所定情報送信部と、を備え、
前記第1のインターフェース制御部は、前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されていない状態で、前記通常アドバタイジング信号が前記端末装置によって受信され、かつ、前記第1の無線インターフェースを介して前記端末装置から前記所定指示が受信される場合に、前記拡張アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する、請求項1から5のいずれか一項に記載の通信装置。
The communication device further
A third interface control unit that controls the first wireless interface so as to transmit the normal advertising signal when the wireless connection is not established between the communication device and the access point.
The normal advertising signal is received by the terminal device in a state where the wireless connection is not established between the communication device and the access point, and is predetermined from the terminal device via the first wireless interface. A link establishment unit that establishes a wireless link with the terminal device via the first wireless interface when an instruction is not received, and the predetermined instruction is an extended advertising signal instead of the normal advertising signal. The link establishment unit, which is an instruction for requesting the communication device to transmit the link.
When the wireless link with the terminal device is established, the predetermined information transmission unit that transmits the predetermined information to the terminal device via the first wireless interface by using the wireless link. Prepare,
In the first interface control unit, the normal advertising signal is received by the terminal device and the first radio is received in a state where the wireless connection is not established between the communication device and the access point. The invention according to any one of claims 1 to 5, which controls the first wireless interface so as to transmit the extended advertising signal when the predetermined instruction is received from the terminal device via the interface. Communication device.
前記通信装置は、さらに、
メモリと、
前記端末装置から前記接続情報が受信される場合に、前記接続情報を前記メモリに記憶させる記憶制御部を備え、
前記第1のインターフェース制御部は、前記接続情報が前記メモリに記憶されていない場合に、前記拡張アドバタイジング信号を送信するように前記第1の無線インターフェースを制御し、
前記第2のインターフェース制御部は、前記接続情報が前記メモリに記憶されている場合に、前記通常アドバタイジング信号を送信するように前記第1の無線インターフェースを制御する、請求項1から6のいずれか一項に記載の通信装置。
The communication device further
With memory
A storage control unit for storing the connection information in the memory when the connection information is received from the terminal device is provided.
The first interface control unit controls the first wireless interface so as to transmit the extended advertising signal when the connection information is not stored in the memory.
Any one of claims 1 to 6, wherein the second interface control unit controls the first wireless interface so as to transmit the normal advertising signal when the connection information is stored in the memory. The communication device according to paragraph 1.
端末装置のためのコンピュータプログラムであって、
前記端末装置は、
Bluetooth規格に従った無線通信を実行するための第1の無線インターフェースと、
Wi−Fi規格に従った無線通信を実行するための第2の無線インターフェースと、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
前記第1の無線インターフェースを介して、通信装置から、前記Bluetooth規格のバージョン5以降で利用可能な拡張アドバタイジング信号を受信する第1のアドバタイジング信号受信部であって、
前記拡張アドバタイジング信号は、前記通信装置と前記端末装置との間で所定通信を実行するための所定情報を含み、
前記所定通信は、接続情報を前記通信装置に送信するための通信であり、
前記接続情報は、前記第2の無線インターフェースを介して、前記通信装置とアクセスポイントとの間に無線接続を確立するための情報である、前記第1のアドバタイジング信号受信部と、
前記通信装置から前記拡張アドバタイジング信号が受信される場合に、前記所定情報が利用された前記所定通信を前記通信装置と実行して、前記接続情報を前記通信装置に送信する接続情報送信部と、
前記通信装置が前記接続情報を利用して前記アクセスポイントとの前記無線接続を確立した後に、前記第1の無線インターフェースを介して、前記通信装置から、前記Bluetooth規格の前記バージョン5未満で利用可能な拡張されていない通常アドバタイジング信号を受信する第2のアドバタイジング信号受信部と、
前記通信装置から前記通常アドバタイジング信号が受信される場合に、前記第2の無線インターフェース及び前記アクセスポイントを介して、画像処理実行指示を前記通信装置に送信する実行指示送信部であって、前記画像処理実行指示は、画像処理を前記通信装置に実行させるための指示である、前記実行指示送信部と、
として機能させる、コンピュータプログラム。
A computer program for terminal equipment
The terminal device is
A first wireless interface for performing wireless communication according to the Bluetooth standard,
A second wireless interface for performing wireless communication according to the Wi-Fi standard,
Equipped with a computer
The computer program puts the computer into the following parts, that is,
A first advertising signal receiver that receives an extended advertising signal available in version 5 or later of the Bluetooth standard from a communication device via the first wireless interface.
The extended advertising signal includes predetermined information for executing predetermined communication between the communication device and the terminal device.
The predetermined communication is communication for transmitting connection information to the communication device.
The connection information includes the first advertising signal receiving unit, which is information for establishing a wireless connection between the communication device and the access point via the second wireless interface.
When the extended advertising signal is received from the communication device, a connection information transmission unit that executes the predetermined communication using the predetermined information with the communication device and transmits the connection information to the communication device.
After the communication device establishes the wireless connection with the access point using the connection information, it can be used from the communication device via the first wireless interface in less than the version 5 of the Bluetooth standard. A second advertising signal receiver that receives the unextended normal advertising signal, and
An execution instruction transmitting unit that transmits an image processing execution instruction to the communication device via the second wireless interface and the access point when the normal advertising signal is received from the communication device. The process execution instruction is an instruction for causing the communication device to execute image processing, the execution instruction transmitting unit, and
A computer program that acts as.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記通信装置から前記通常アドバタイジング信号が受信される場合に、前記通常アドバタイジング信号に含まれる情報を利用して、前記端末装置と前記通信装置との間の距離を算出する算出部と、
算出済みの前記距離に関する情報を示す特定画面を前記端末装置の表示部に表示させる表示制御部と、
として機能させる、請求項8に記載のコンピュータプログラム。
The computer program further adds to the computer.
When the normal advertising signal is received from the communication device, a calculation unit that calculates the distance between the terminal device and the communication device by using the information included in the normal advertising signal, and a calculation unit.
A display control unit that displays a specific screen showing the calculated information about the distance on the display unit of the terminal device, and a display control unit.
8. The computer program of claim 8.
前記第2のアドバタイジング信号受信部は、前記第1の無線インターフェースを介して、前記通信装置を含む複数個の装置のそれぞれから前記通常アドバタイジング信号を受信し、
前記算出部は、前記複数個の装置のそれぞれから前記通常アドバタイジング信号が受信される場合に、前記複数個の装置のそれぞれについて、当該装置から受信された前記通常アドバタイジング信号に含まれる情報を利用して、前記端末装置と当該装置との間の距離を算出し、
前記表示制御部は、前記複数個の装置に対応する複数個の算出済みの前記距離に従って、前記複数個の装置を識別する複数個の識別情報がソートされている前記特定画面を前記表示部に表示させ、
前記実行指示送信部は、前記特定画面において、前記複数個の識別情報の中から前記通信装置を識別する識別情報が選択される場合に、前記画像処理実行指示を前記通信装置に送信する、請求項9に記載のコンピュータプログラム。
The second advertising signal receiving unit receives the normal advertising signal from each of a plurality of devices including the communication device via the first wireless interface.
When the normal advertising signal is received from each of the plurality of devices, the calculation unit uses the information included in the normal advertising signal received from the device for each of the plurality of devices. Then, the distance between the terminal device and the device is calculated.
The display control unit displays the specific screen on the display unit in which a plurality of identification information for identifying the plurality of devices is sorted according to a plurality of calculated distances corresponding to the plurality of devices. Display,
The execution instruction transmitting unit transmits the image processing execution instruction to the communication device when the identification information that identifies the communication device is selected from the plurality of identification information on the specific screen. Item 9. The computer program according to item 9.
前記通常アドバタイジング信号は、前記通信装置のIPアドレスを含み、
前記実行指示送信部は、前記通常アドバタイジング信号に含まれる前記IPアドレスを送信先IPアドレスとして含む前記画像処理実行指示を前記通信装置に送信する、請求項8から10のいずれか一項に記載のコンピュータプログラム。
The normal advertising signal includes the IP address of the communication device.
The execution instruction transmitting unit according to any one of claims 8 to 10, wherein the execution instruction transmitting unit transmits the image processing execution instruction including the IP address included in the normal advertising signal as a destination IP address to the communication device. Computer program.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記通信装置と前記アクセスポイントとの間に前記無線接続が確立されていない場合に、前記第1の無線インターフェースを介して、前記通信装置から前記通常アドバタイジング信号を受信する第3のアドバタイジング信号受信部と、
前記通信装置から前記通常アドバタイジング信号が受信される場合に、前記第1の無線インターフェースを介して、所定指示を前記通信装置に送信する所定指示送信部であって、前記所定指示は、前記通常アドバタイジング信号に代えて前記拡張アドバタイジング信号を送信するように前記通信装置に要求するための指示である、前記所定指示送信部と、を備え、
前記第1のアドバタイジング信号受信部は、前記所定指示が前記通信装置に送信される場合に、前記第1の無線インターフェースを介して、前記通信装置から前記拡張アドバタイジング信号を受信する、請求項8から11のいずれか一項に記載のコンピュータプログラム。
The computer program further adds to the computer.
A third advertising signal receiving unit that receives the normal advertising signal from the communication device via the first wireless interface when the wireless connection is not established between the communication device and the access point. When,
A predetermined instruction transmitting unit that transmits a predetermined instruction to the communication device via the first wireless interface when the normal advertising signal is received from the communication device, and the predetermined instruction is the normal advertising. A predetermined instruction transmitting unit, which is an instruction for requesting the communication device to transmit the extended advertising signal instead of the signal, is provided.
The first advertising signal receiving unit receives the extended advertising signal from the communication device via the first wireless interface when the predetermined instruction is transmitted to the communication device, according to claim 8. The computer program according to any one of 11.
JP2019219888A 2019-12-04 2019-12-04 Computer programs for communication devices and terminal devices Active JP7354811B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019219888A JP7354811B2 (en) 2019-12-04 2019-12-04 Computer programs for communication devices and terminal devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019219888A JP7354811B2 (en) 2019-12-04 2019-12-04 Computer programs for communication devices and terminal devices

Publications (2)

Publication Number Publication Date
JP2021090153A true JP2021090153A (en) 2021-06-10
JP7354811B2 JP7354811B2 (en) 2023-10-03

Family

ID=76220494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019219888A Active JP7354811B2 (en) 2019-12-04 2019-12-04 Computer programs for communication devices and terminal devices

Country Status (1)

Country Link
JP (1) JP7354811B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11057951B2 (en) 2018-03-12 2021-07-06 Canon Kabushiki Kaisha Communication apparatus, method of controlling communication apparatus, and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
JP7354811B2 (en) 2023-10-03

Similar Documents

Publication Publication Date Title
JP6766677B2 (en) Computer program for terminal equipment
JP7135635B2 (en) Computer program for printers and terminals
JP6819418B2 (en) Computer programs for terminal devices and communication devices
JP7180075B2 (en) Computer program for communication system, communication device and terminal device
JP2021190862A (en) Computer program for terminal device and communication device
JP6690172B2 (en) Communication equipment
US11252768B2 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device and communication device
JP7354811B2 (en) Computer programs for communication devices and terminal devices
JP7472676B2 (en) Computer program for communication device and terminal device
US10846030B2 (en) Communication device and non-transitory computer-readable medium storing computer-readable instructions for communication device or server
JP7070094B2 (en) Computer programs and communication equipment for communication equipment
JP2018129617A (en) Computer program for communication device
JP6565551B2 (en) Communication equipment
JP7347176B2 (en) Computer program for image processing device and terminal device
JP6398750B2 (en) Communication equipment
JP7056725B2 (en) Computer programs for terminal devices and communication devices
JP7459661B2 (en) COMPUTER PROGRAM FOR TERMINAL DEVICE, TERMINAL DEVICE, AND METHOD
JP7424013B2 (en) Computer programs for function execution devices and terminal devices
US11425773B2 (en) Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, terminal device, and communication device
JP2024022195A (en) Computer program for a terminal device, terminal device, and method executed by the terminal device
JP2023129633A (en) Function execution device and computer program for terminal device
JP2021190863A (en) Computer program for terminal device and communication device
JP2024002666A (en) Computer program for communication device, communication device, and method executed by communication device
JP2021163152A (en) Computer program for terminal device and terminal device and communication device
JP2023137428A (en) Application program for terminal device, terminal device, and communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221118

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230809

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230822

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230904

R150 Certificate of patent or registration of utility model

Ref document number: 7354811

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150