JP2022173586A - Communication apparatus - Google Patents

Communication apparatus Download PDF

Info

Publication number
JP2022173586A
JP2022173586A JP2022161799A JP2022161799A JP2022173586A JP 2022173586 A JP2022173586 A JP 2022173586A JP 2022161799 A JP2022161799 A JP 2022161799A JP 2022161799 A JP2022161799 A JP 2022161799A JP 2022173586 A JP2022173586 A JP 2022173586A
Authority
JP
Japan
Prior art keywords
communication device
interface
communication
signal
printer
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
JP2022161799A
Other languages
Japanese (ja)
Other versions
JP7456470B2 (en
Inventor
訓史 寺下
Norifumi Terashita
直樹 吉田
Naoki Yoshida
竜彦 曽根
Tatsuhiko Sone
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
Priority claimed from JP2019235261A external-priority patent/JP6919704B2/en
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2022161799A priority Critical patent/JP7456470B2/en
Publication of JP2022173586A publication Critical patent/JP2022173586A/en
Application granted granted Critical
Publication of JP7456470B2 publication Critical patent/JP7456470B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

PROBLEM TO BE SOLVED: To provide a new technique for a communication apparatus to form a wireless network in accordance with a first communication system after performing wireless communication in accordance with a second communication system.
SOLUTION: A printer PR performs wireless communication in accordance with Bluetooth (R), and repeats the broadcast transmission of an advertisement signal (T100). The advertisement signal is a signal that should be used by a mobile terminal PT1 as a trigger to transmit a Wi-Fi connection request signal to the printer PR. The printer PR performs wireless communication in accordance with Wi-Fi and receives a Wi-Fi connection request signal from the mobile terminal PT1 (T120). In response to receiving the Wi-Fi connection request signal, the printer PR establishes Wi-Fi connection with the mobile terminal PT1 and forms a Wi-Fi network (T122).
SELECTED DRAWING: Figure 6
COPYRIGHT: (C)2023,JPO&INPIT

Description

本明細書では、複数の通信方式に従った無線通信を実行可能な通信機器を開示する。 This specification discloses a communication device capable of executing wireless communication according to a plurality of communication schemes.

特許文献1には、第1端末と外部機器とがWi-Fiに従った無線通信を実行するための技術が開示されている。第1端末は、第1端末自身が接続されているAP(Access Pointの略)に関する情報(即ち、MACアドレス、SSID、チャネル番号、保安キー等)を、BLE(Bluetooth(登録商標) Low Energyの略)を介して、外部機器に送信する。この場合、外部機器は、Wi-Fiモジュールを活性化し、当該情報を利用してAPに接続する。これにより、第1端末と外部機器とがWi-Fiに従った無線通信を実行することができる。 Patent Document 1 discloses a technique for performing wireless communication according to Wi-Fi between a first terminal and an external device. The first terminal sends information (that is, MAC address, SSID, channel number, security key, etc.) about the AP (abbreviation of Access Point) to which the first terminal itself is connected, to BLE (Bluetooth (registered trademark) Low Energy abbreviated) to an external device. In this case, the external device activates the Wi-Fi module and uses the information to connect to the AP. This allows the first terminal and the external device to perform wireless communication according to Wi-Fi.

特開2014-53007号公報JP-A-2014-53007

上述したように、特許文献1には、第1端末が、BLEを介した無線通信を外部機器と実行した後に、Wi-Fiに従った無線通信を外部機器と実行するための技術が開示されている。本明細書では、通信機器が、第2の通信方式に従った無線通信を実行した後に、第1の通信方式に従った無線ネットワークを形成するための新規な技術を開示する。 As described above, Patent Document 1 discloses a technique for performing wireless communication according to Wi-Fi with an external device after the first terminal performs wireless communication with the external device via BLE. ing. This specification discloses a novel technique for forming a wireless network according to a first communication scheme after a communication device performs wireless communication according to a second communication scheme.

本明細書によって開示される第1の通信機器は、第1の通信方式に従った無線通信を実行するための第1のインターフェースと、前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、前記第2のインターフェースを介して、トリガ信号をブロードキャスト送信することを繰り返すトリガ信号送信部であって、前記トリガ信号は、前記第1の通信機器と第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号送信部と、前記トリガ信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信する接続要求受信部と、前記第2の通信機器から前記無線接続要求を受信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第2の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、を備える。 A first communication device disclosed in this specification includes a first interface for performing wireless communication according to a first communication scheme and a second communication scheme different from the first communication scheme. and a trigger signal transmission unit that repeatedly broadcasts a trigger signal via the second interface for performing wireless communication according to the above, wherein the trigger signal is the first used by the second communication device as a trigger for transmitting to the first communication device a wireless connection request for forming a first wireless network to which both the communication device and the second communication device belong and the first wireless network is a network for performing wireless communication via the first interface, the trigger signal transmitting unit and the second a connection request receiving unit for receiving the wireless connection request from the communication device of the first via the first interface; establishing a first wireless connection via an interface with said second communication device to form said first wireless network to which both said first communication device and said second communication device belong; 1 establishing part.

上記の構成によると、第1の通信機器は、第2の通信方式に従った無線通信を実行して、トリガ信号をブロードキャスト送信することを繰り返す。その後、第1の通信機器は、トリガ信号を受信した第2の通信機器から無線接続要求を受信し、次いで、第1の無線接続を第2の通信機器と確立して、第1の無線ネットワークを形成する。このように、第1の通信機器は、第2の通信方式に従った無線通信を実行した後に、第1の通信方式に従った第1の無線ネットワークを適切に形成することができる。 According to the above configuration, the first communication device repeatedly performs wireless communication according to the second communication method and broadcasts the trigger signal. Thereafter, the first communication device receives a wireless connection request from the second communication device that received the trigger signal, and then establishes a first wireless connection with the second communication device to connect to the first wireless network. to form In this way, the first communication device can appropriately form the first wireless network according to the first communication scheme after performing wireless communication according to the second communication scheme.

上記の第1の通信機器を実現するための制御方法、コンピュータプログラム、及び、当
該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。
A control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the first communication device are also novel and useful.

本明細書では、第2の通信機器のためのコンピュータプログラムも開示する。前記第2の通信機器は、第1の通信方式に従った無線通信を実行するための第1のインターフェースと、前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、プロセッサと、を備える。前記コンピュータプログラムは、前記プロセッサに、以下の各処理、即ち、トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、前記第1の通信機器から、前記第2のインターフェースを介して、前記トリガ信号を受信するトリガ信号受信処理であって、前記トリガ信号は、前記第1の通信機器と前記第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号受信処理と、前記第1の通信機器から前記トリガ信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信する接続要求送信処理と、前記無線接続要求を前記第1の通信機器に送信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第1の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立処理と、を実行させる。 Also disclosed herein is a computer program for a second communication device. The second communication device has a first interface for performing wireless communication according to a first communication method, and performs wireless communication according to a second communication method different from the first communication method. and a processor. The computer program causes the processor to perform each of the following processes, i.e., when a trigger signal is repeatedly broadcast from the first communication device, from the first communication device via the second interface, trigger signal reception processing for receiving the trigger signal, wherein the trigger signal is wireless connection for forming a first wireless network to which both the first communication device and the second communication device belong; A signal to be utilized by the second communication device as a trigger to send a request to the first communication device, the first wireless network communicating wirelessly over the first interface. a network for executing the trigger signal reception process; and transmitting the wireless connection request via the first interface in response to receiving the trigger signal from the first communication device. and a connection request transmission process for transmitting the wireless connection request to the first communication device, and a first wireless connection via the first interface to the first communication a first establishment process of establishing with a device and forming the first wireless network to which both the first communication device and the second communication device belong.

上記のコンピュータプログラムは、以下の第2の通信機器を実現することができる。即ち、第2の通信機器は、トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、第2の通信方式に従った無線通信を実行して、第1の通信機器からトリガ信号を受信する。その後、第2の通信機器は、無線接続要求を第1の通信機器に送信し、次いで、第1のインターフェースを介した第1の無線接続を第1の通信機器と確立して、第1の無線ネットワークを形成する。このように、第2の通信機器は、第2の通信方式に従った無線通信を実行した後に、第1の通信方式に従った第1の無線ネットワークを適切に形成することができる。 The above computer program can implement the following second communication device. That is, when the trigger signal is repeatedly broadcast-transmitted from the first communication device, the second communication device performs wireless communication according to the second communication method, and receives the trigger signal from the first communication device. receive. Thereafter, the second communication device transmits a wireless connection request to the first communication device, and then establishes a first wireless connection over the first interface with the first communication device to communicate with the first communication device. Form a wireless network. In this way, the second communication device can properly form the first wireless network according to the first communication scheme after performing wireless communication according to the second communication scheme.

上記のコンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の第2の通信機器そのものも新規で有用である。また、上記の第2の通信機器を実現するための制御方法も新規で有用である。また、上記の第1の通信機器と第2の通信機器とを備える通信システムも、新規で有用である。 A computer-readable medium storing the above computer program is also novel and useful. Also, the second communication device itself is novel and useful. Also, the control method for realizing the second communication device is novel and useful. A communication system comprising the first communication device and the second communication device is also novel and useful.

通信システムの構成を示す。1 shows the configuration of a communication system; プリンタのWi-FiI/F関連処理のフローチャートを示す。4 shows a flowchart of Wi-Fi I/F-related processing of a printer. プリンタのBTI/F関連処理のフローチャートを示す。4 shows a flowchart of BTI/F-related processing of a printer. 携帯端末の処理のフローチャートを示す。4 shows a flowchart of processing of a mobile terminal. 第1実施例のケースAのシーケンス図を示す。FIG. 4 shows a sequence diagram of case A of the first embodiment; 第1実施例のケースB1及びB2のシーケンス図を示す。FIG. 4 shows a sequence diagram of cases B1 and B2 of the first embodiment; 第2実施例及び第3実施例のプリンタのWi-FiI/F関連処理のフローチャートを示す。FIG. 10 is a flowchart of Wi-Fi I/F-related processing of the printers of the second and third embodiments; FIG. 第2実施例のケースCのシーケンス図を示す。FIG. 11 shows a sequence diagram of case C of the second embodiment. 第2実施例のケースD1及びD2のシーケンス図を示す。FIG. 11 shows a sequence diagram of cases D1 and D2 of the second embodiment. 第3実施例のケースEのシーケンス図を示す。FIG. 12 shows a sequence diagram of case E of the third embodiment; FIG. 第3実施例のケースF1及びF2のシーケンス図を示す。FIG. 11 shows a sequence diagram of cases F1 and F2 of the third embodiment.

(第1実施例)
(通信システム2の構成)
図1に示されるように、通信システム2は、プリンタPRと、複数個の携帯端末PT1,PT2と、を備える。プリンタPRと各携帯端末PT1,PT2とは、無線通信を相互に実行可能である。
(First embodiment)
(Configuration of communication system 2)
As shown in FIG. 1, the communication system 2 includes a printer PR and a plurality of mobile terminals PT1 and PT2. The printer PR and the portable terminals PT1 and PT2 can perform wireless communication with each other.

(プリンタPRの構成)
プリンタPRは、印刷機能を実行可能な周辺機器、即ち、携帯端末PT1等の周辺機器である。プリンタPRは、操作部12と、表示部14と、印刷実行部16と、Wi-Fiインターフェース20と、BT(Bluetooth(登録商標)の略)インターフェース22と
、制御部30と、を備える。各部12~30は、バス線(符号省略)に接続されている。以下では、インターフェースのことを「I/F」と呼ぶ。
(Configuration of Printer PR)
The printer PR is a peripheral device capable of executing a printing function, that is, a peripheral device such as the mobile terminal PT1. The printer PR includes an operation unit 12, a display unit 14, a print execution unit 16, a Wi-Fi interface 20, and a BT (abbreviation for Bluetooth (registered trademark)) interface 22.
, and a control unit 30 . Each unit 12 to 30 is connected to a bus line (reference numerals omitted). The interface is hereinafter referred to as "I/F".

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をプリンタPRに入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、いわゆるタッチパネルとしても機能する。即ち、表示部14は、ユーザによって操作される操作部としても機能する。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。 The operation unit 12 has a plurality of keys. A user can input various instructions to the printer PR by operating the operation unit 12 . The display unit 14 is a display for displaying various information. The display unit 14 also functions as a so-called touch panel. That is, the display unit 14 also functions as an operation unit operated by the user. The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method.

Wi-FiI/F20は、Wi-Fi方式に従った無線通信(以下では「Wi-Fi通信」と呼ぶ)を実行するためのI/Fである。Wi-Fi方式は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の
規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に基づく無線通信方式である。より具体的に言うと、Wi-FiI/F20は、Wi-Fi Allianceによって策定されたWFD(Wi-Fi Direct(登録商標)の略)方式をサポートしている。WFD方式は、Wi-Fi Allianceによって作成された規格書「Wi-Fi Peer-to-Peer (P2P) Technical Specification Version1.1」に記述され
ている無線通信方式である。
The Wi-Fi I/F 20 is an I/F for performing wireless communication according to the Wi-Fi system (hereinafter referred to as "Wi-Fi communication"). The Wi-Fi system is, for example, IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards conforming thereto (eg, 802.11a, 11b, 11g, 11n, etc.) It is a wireless communication system based on More specifically, the Wi-Fi I/F 20 supports the WFD (abbreviation for Wi-Fi Direct (registered trademark)) system established by the Wi-Fi Alliance. The WFD system is a wireless communication system described in the standard "Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1" created by the Wi-Fi Alliance.

BTI/F22は、Bluetooth方式に従った無線通信(以下では「BT通信」と呼ぶ)を実行するためのI/Fである。Bluetooth方式は、例えば、IEEE802.15.1の規格、及び、それに準ずる規格に基づく無線通信方式である。より具体的に言うと、BTI/F22は、BLE(Bluetooth Low Energyの略)をサポートしている。BLEは、Bluetooth方式のバージョン4.0以降のバージョンで実現されている規格である。なお、以下では、Bluetooth方式のバージョン4.0未満のことを「クラシックBT」と呼ぶ。一対のBTI/Fの間でBLEに従ったBT通信を実行するために、一方のBTI/Fが、BT方式で定められている「Bluetooth Smart Ready」に対応し、かつ、他方のBTI/Fが、「BluetoothSmart Ready」、又は、BT方式で定められている「Bluetooth Smart」に対応していてもよい。「Bluetooth Smart Ready」に対応するBTI/Fは、BLEに従った動作とクラシックBTに従った動作との双方を実行可能なI/F(即ちいわゆるデュアルモードのI/F)である。「Bluetooth Smart」に対応するBTI/Fは、BLEに従った動作を実行可能であるが、クラシックB
Tに従った動作を実行不可能なI/Fである。本実施例では、プリンタPRと携帯端末PT1,PT2との間でBLEに従ったBT通信が実行される。そして、携帯端末PT1,PT2の後述のBTI/F(例えば符号62)が「Bluetooth Smart Ready」に対応して
いるので、プリンタPRのBTI/F22は、「Bluetooth Smart Ready」及び「Bluetooth Smart」のどちらに対応していてもよい。ただし、変形例では、プリンタPRのBTI/F22が「Bluetooth Smart Ready」に対応している場合に、携帯端末PT1,PT2
のBTI/Fが「Bluetooth Smart」に対応していてもよい。
The BTI/F 22 is an I/F for executing wireless communication according to the Bluetooth system (hereinafter referred to as "BT communication"). The Bluetooth system is, for example, a wireless communication system based on the IEEE802.15.1 standard and standards based thereon. More specifically, the BTI/F 22 supports BLE (short for Bluetooth Low Energy). BLE is a standard implemented in the Bluetooth system version 4.0 and later versions. Note that, hereinafter, Bluetooth system version 4.0 or earlier is referred to as "classic BT". In order to perform BT communication according to BLE between a pair of BTI/F, one BTI/F supports "Bluetooth Smart Ready" defined by the BT system, and the other BTI/F may correspond to "Bluetooth Smart Ready" or "Bluetooth Smart" defined by the BT system. A BTI/F that supports "Bluetooth Smart Ready" is an I/F (that is, a so-called dual-mode I/F) capable of performing both operations according to BLE and classic BT. BTI/F that supports "Bluetooth Smart" can operate according to BLE, but classic B
It is an I/F that cannot execute an operation according to T. In this embodiment, BT communication according to BLE is executed between the printer PR and the mobile terminals PT1 and PT2. Since the BTI/Fs (for example, reference numeral 62) of the mobile terminals PT1 and PT2, which will be described later, are compatible with "Bluetooth Smart Ready", the BTI/F 22 of the printer PR is compatible with "Bluetooth Smart Ready" and "Bluetooth Smart". Either one can be supported. However, in the modified example, when the BTI/F22 of the printer PR supports "Bluetooth Smart Ready", the mobile terminals PT1, PT2
BTI/F may support "Bluetooth Smart".

クラシックBTとBLEとの相違点を記述しておく。BLEのチャネル数(即ち40)は、クラシックBTのチャネル数(即ち79)よりも少ない。BLEのデータ通信時の消費電流(例えば15mA)は、クラシックBTのデータ通信時の消費電流(例えば35mA)よりも小さい。従って、BLEの消費電力は、クラシックBTの消費電力よりも低い。また、BLEでは、Advertise信号が利用されるが、クラシックBTでは、Advertise信号が利用されない。 The differences between classic BT and BLE are described. The number of channels of BLE (ie 40) is less than that of classic BT (ie 79). The current consumption (eg, 15 mA) during BLE data communication is smaller than the current consumption (eg, 35 mA) during classic BT data communication. Therefore, the power consumption of BLE is lower than that of classic BT. Also, in BLE, an Advertise signal is used, but in classic BT, an Advertise signal is not used.

Wi-Fi方式とBT方式との相違点を記述しておく。Wi-Fi通信の通信速度(例えば最大の通信速度が600Mbps)は、BT通信の通信速度(例えば最大の通信速度が24Mbps)よりも速い。Wi-Fi通信における搬送波の周波数は、2.4GHz帯又は5.0GHz帯である。BT通信における搬送波の周波数は、2.4GHz帯である。即ち、Wi-Fi通信における搬送波の周波数として5.0GHz帯が採用される場合には、Wi-Fi通信における搬送波の周波数とBT通信における搬送波の周波数とは異なる。また、Wi-Fi通信を実行可能な最大の距離(例えば約100m)は、BT通信を実行可能な最大の距離(例えば約数十m)よりも大きい。 Describe the differences between the Wi-Fi system and the BT system. The communication speed of Wi-Fi communication (for example, the maximum communication speed is 600 Mbps) is faster than the communication speed of BT communication (for example, the maximum communication speed is 24 Mbps). The carrier wave frequency in Wi-Fi communication is 2.4 GHz band or 5.0 GHz band. The frequency of carrier waves in BT communication is in the 2.4 GHz band. That is, when the 5.0 GHz band is adopted as the frequency of the carrier wave in Wi-Fi communication, the frequency of the carrier wave in Wi-Fi communication is different from the frequency of the carrier wave in BT communication. Also, the maximum distance over which Wi-Fi communication can be performed (eg, about 100 m) is longer than the maximum distance over which BT communication can be performed (eg, about several tens of meters).

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に格納されているプログラム36に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ34は、プリンタPRのBTデバイス名「NP」と、送信フラグ38と、を格納する。BTデバイス名「NP」は、BTI/F22に割り当てられているユニークな名称であり、換言すると、プリンタPRがBT通信を実行するために、プリンタPRを識別するための情報として利用される名称である。送信フラグ38は、BTデバイス名「NP」を外部に送信済みである場合に「ON」を示し、BTデバイス名「NP」を外部に送信済みでない場合に「OFF」を示す。なお、図1では、メモリ34が領域40を備えるように示されているが、当該領域40は、後述の第3実施例で利用される。 The control unit 30 has a CPU 32 and a memory 34 . The CPU 32 executes various processes according to programs 36 stored in the memory 34 . The memory 34 is composed of a volatile memory, a nonvolatile memory, or the like. The memory 34 stores the BT device name “NP” of the printer PR and the transmission flag 38 . The BT device name "NP" is a unique name assigned to the BTI/F 22, in other words, a name used as information for identifying the printer PR so that the printer PR executes BT communication. be. The transmission flag 38 indicates "ON" when the BT device name "NP" has been sent to the outside, and indicates "OFF" when the BT device name "NP" has not been sent to the outside. Note that FIG. 1 shows the memory 34 as having an area 40, but the area 40 is used in a third embodiment described later.

(携帯端末PT1,PT2の構成)
各携帯端末PT1,PT2は、例えば、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。以下では、携帯端末PT1の構成を説明するが、携帯端末PT2も携帯端末PT1と同様の構成を備える。
(Configuration of mobile terminals PT1 and PT2)
Each of the mobile terminals PT1 and PT2 is, for example, a portable terminal device such as a mobile phone (for example, smart phone), PDA, notebook PC, tablet PC, portable music player, or portable video player. Although the configuration of the mobile terminal PT1 will be described below, the mobile terminal PT2 also has the same configuration as the mobile terminal PT1.

携帯端末PT1は、操作部52と、表示部54と、Wi-FiI/F60と、BTI/F62と、制御部70と、を備える。各部52~70は、バス線(符号省略)に接続されている。 The mobile terminal PT1 includes an operation unit 52, a display unit 54, a Wi-Fi I/F 60, a BTI/F 62, and a control unit . Each part 52 to 70 is connected to a bus line (reference numerals omitted).

操作部52は、複数のキーを備える。ユーザは、操作部52を操作することによって、様々な指示を携帯端末PT1に入力することができる。表示部54は、様々な情報を表示するためのディスプレイである。表示部54は、いわゆるタッチパネルとしても機能する(即ち操作部としても機能する)。Wi-FiI/F60は、Wi-Fi通信を実行するためのI/Fである。Wi-FiI/F60は、WFDをサポートしていてもよいし、WFDをサポートしていなくてもよい。BTI/F62は、BT通信を実行するためのI/Fであり、BLEをサポートしている。各I/F60,62の相違は、プリンタPRの各I/F20,22の相違と同様である。 The operation unit 52 has a plurality of keys. By operating the operation unit 52, the user can input various instructions to the mobile terminal PT1. The display unit 54 is a display for displaying various information. The display unit 54 also functions as a so-called touch panel (that is, functions as an operation unit). A Wi-Fi I/F 60 is an I/F for performing Wi-Fi communication. The Wi-Fi I/F 60 may or may not support WFD. The BTI/F 62 is an I/F for executing BT communication and supports BLE. Differences between the I/Fs 60 and 62 are the same as the differences between the I/Fs 20 and 22 of the printer PR.

制御部70は、CPU72とメモリ74とを備える。CPU72は、メモリ74に格納されているOSプログラム76に従って、様々な処理を実行する。メモリ74は、揮発性メモリ、不揮発性メモリ等によって構成される。メモリ74は、OSプログラム76のみならず、プリンタアプリケーション78を格納する。プリンタアプリケーション78は、
プリンタPRに印刷機能を実行させるためのアプリケーションである。ユーザがプリンタPRに印刷機能を実行させることを望む際に、プリンタアプリケーション78がユーザによって起動される。プリンタアプリケーション78は、例えば、プリンタPRのベンダによって提供されるインターネット上のサーバから携帯端末PT1にインストールされてもよいし、プリンタPRと共に出荷されるメディアから携帯端末PT1にインストールされてもよい。
The control unit 70 has a CPU 72 and a memory 74 . The CPU 72 executes various processes according to the OS program 76 stored in the memory 74 . The memory 74 is composed of a volatile memory, a non-volatile memory, or the like. Memory 74 stores printer application 78 as well as OS program 76 . The printer application 78 is
This is an application for causing the printer PR to execute the print function. The printer application 78 is activated by the user when the user desires the printer PR to perform a printing function. The printer application 78 may be installed in the mobile terminal PT1 from a server on the Internet provided by the vendor of the printer PR, or may be installed in the mobile terminal PT1 from media shipped together with the printer PR.

メモリ74は、さらに、携帯端末PT1のBTデバイス名「N1」を格納する。BTデバイス名「N1」は、BTI/F62に割り当てられているユニークな名称であり、換言すると、携帯端末PT1がBT通信を実行するために、携帯端末PT1を識別するための情報として利用される名称である。なお、携帯端末PT2は、BTデバイス名「N1」とは異なるBTデバイス名「N2」を有する。メモリ74は、BTデバイス名格納領域80を備える。BTデバイス名格納領域80は、Wi-FiI/F60を介した無線接続、即ち、Wi-Fi方式に従った無線接続が確立されたプリンタのBTデバイス名を格納するための領域である。 The memory 74 further stores the BT device name "N1" of the mobile terminal PT1. The BT device name "N1" is a unique name assigned to the BTI/F 62. In other words, the BT device name "N1" is used as information for identifying the mobile terminal PT1 in order for the mobile terminal PT1 to perform BT communication. is the name. The mobile terminal PT2 has a BT device name "N2" different from the BT device name "N1". The memory 74 has a BT device name storage area 80 . The BT device name storage area 80 is an area for storing the BT device name of a printer with which a wireless connection via the Wi-Fi I/F 60, that is, a wireless connection according to the Wi-Fi system has been established.

(プリンタPRのWi-FiI/F関連処理;図2)
続いて、図2を参照して、プリンタPRのCPU32が実行するWi-FiI/F関連処理について説明する。Wi-FiI/F関連処理は、主に、Wi-FiI/F20に関連する処理である。CPU32は、プリンタPRの電源がONされると、図2の処理を開始する。
(Wi-Fi I/F related processing of printer PR; Fig. 2)
Next, with reference to FIG. 2, the Wi-Fi I/F related processing executed by the CPU 32 of the printer PR will be described. Wi-Fi I/F related processing is mainly processing related to Wi-Fi I/F 20 . When the printer PR is powered on, the CPU 32 starts the process of FIG.

S2では、CPU32は、ランダムに文字列を生成することによって、SSID(Service SetIdentifierの略)を生成する。そして、CPU32は、SSIDをメモリ34に格納させる。SSIDは、Wi-Fi通信を実行するための無線ネットワークを識別するための識別子である。 In S2, the CPU 32 generates an SSID (abbreviation for Service Set Identifier) by randomly generating a character string. Then, the CPU 32 causes the memory 34 to store the SSID. SSID is an identifier for identifying a wireless network for performing Wi-Fi communication.

S4では、CPU32は、Wi-FiI/F20をOFF状態からON状態に変更する。ここで、Wi-FiI/F20のOFF状態は、Wi-FiI/F20に電力が供給されていない状態、即ち、Wi-Fi通信を実行不可能な状態である。また、Wi-FiI/F20のON状態は、Wi-FiI/F20に電力が供給されている状態、即ち、Wi-Fi通信を実行可能な状態である。 In S4, the CPU 32 changes the Wi-Fi I/F 20 from the OFF state to the ON state. Here, the OFF state of the Wi-Fi I/F 20 is a state in which power is not supplied to the Wi-Fi I/F 20, that is, a state in which Wi-Fi communication cannot be performed. The ON state of the Wi-Fi I/F 20 is a state in which power is supplied to the Wi-Fi I/F 20, that is, a state in which Wi-Fi communication can be performed.

S4では、CPU32は、さらに、WFDのG/O(Group Ownerの略)ネゴシエーシ
ョンを実行することなく、プリンタPRの動作状態をWFDのデバイス状態からG/O状態に自発的に移行させる。G/O状態であるプリンタPRは、Wi-FiI/F20を介して、周囲の機器に自身の存在を知らせるためのビーコン信号を送信する。一方、G/O状態以外の状態(例えば、上記のデバイス状態、クライアント状態)であるプリンタPRは、ビーコン信号を送信しない。このために、G/O状態であるプリンタPRの消費電力は、G/O状態以外の状態であるプリンタPRの消費電力よりも高い。
In S4, the CPU 32 spontaneously shifts the operating state of the printer PR from the WFD device state to the G/O state without executing WFD G/O (abbreviation for Group Owner) negotiation. The printer PR in the G/O state transmits a beacon signal via the Wi-Fi I/F 20 to notify surrounding devices of its existence. On the other hand, a printer PR that is in a state other than the G/O state (for example, the above device state or client state) does not transmit a beacon signal. Therefore, the power consumption of the printer PR in the G/O state is higher than the power consumption of the printer PR in the non-G/O state.

次いで、CPU32は、S10及びS40の各監視処理を順次実行する。S10では、CPU32は、プリンタPRの操作部12又は表示部14(即ちタッチパネル)にユーザによってWi-Fi接続操作が実行されることを監視する。Wi-Fi接続操作は、プリンタPRと携帯端末(例えばPT1)との間にWi-Fi方式に従った無線接続(以下では「Wi-Fi接続」と呼ぶ)を確立するための操作である。Wi-Fi接続操作は、通常、プリンタPRとのWi-Fi接続が過去に確立されていない携帯端末のユーザによって実行される。CPU32は、Wi-Fi接続操作が実行される場合に、S10でYESと判断して、S12に進む。 Next, the CPU 32 sequentially executes each monitoring process of S10 and S40. In S10, the CPU 32 monitors execution of a Wi-Fi connection operation by the user on the operation unit 12 or the display unit 14 (that is, the touch panel) of the printer PR. The Wi-Fi connection operation is an operation for establishing a wireless connection according to the Wi-Fi system (hereinafter referred to as "Wi-Fi connection") between the printer PR and the portable terminal (PT1, for example). A Wi-Fi connection operation is normally performed by a mobile terminal user who has not previously established a Wi-Fi connection with the printer PR. When the Wi-Fi connection operation is executed, the CPU 32 determines YES in S10 and proceeds to S12.

S12では、CPU32は、メモリ34からSSIDを取得して、取得済みのSSIDを表示部14に表示させる。これにより、ユーザは、表示部14を見ることによって、プリンタPRとのWi-Fi接続を確立するために必要なSSIDを知ることができる。なお、上述したように、S2において、SSIDがメモリ34に格納される。ただし、S2が実行された後に、後述のS34又はS56が実行されると、メモリ34内の古いSSIDに代えて、新たなSSIDがメモリ34に格納される。従って、S2が実行された後に、S34又はS56が1回も実行されていない状況では、S12で表示されるSSIDは、S2で生成されたSSIDである。また、S2が実行された後に、S34又はS56が実行済みである状況では、S12で表示されるSSIDは、最新のS34又はS54で生成されたSSIDである。以下では、メモリ34に現在格納されているSSIDのことを「現行SSID」と呼ぶ。 In S<b>12 , the CPU 32 acquires the SSID from the memory 34 and causes the display unit 14 to display the acquired SSID. Thus, by looking at the display section 14, the user can know the SSID required to establish a Wi-Fi connection with the printer PR. As described above, the SSID is stored in the memory 34 in S2. However, when S34 or S56 to be described later is executed after S2 is executed, a new SSID is stored in the memory 34 instead of the old SSID in the memory 34 . Therefore, in a situation where S34 or S56 has not been executed even once after S2 is executed, the SSID displayed in S12 is the SSID generated in S2. Also, in a situation where S34 or S56 has already been executed after S2 has been executed, the SSID displayed in S12 is the latest SSID generated in S34 or S54. The SSID currently stored in the memory 34 is hereinafter referred to as the "current SSID".

S14では、CPU32は、携帯端末から、Wi-FiI/F20を介して、Probe Request信号(以下では「Probe_Req信号」と記載する)を受信したのか否かを判断する。Probe_Req信号は、携帯端末からブロードキャスト送信される信号であり、より具体的には、携帯端末の周囲に存在するG/O状態の機器及びアクセスポイントをサーチするための信号である。CPU32は、Probe_Req信号を受信した場合には、S14でYESと判断して、S16に進む。一方、CPU32は、S12が終了してから所定時間が経過するまでにProbe_Req信号を受信しなかった場合には、S14でNOと判断し、S16~S32をスキップして、S34に進む。 In S14, the CPU 32 determines whether or not a Probe Request signal (hereinafter referred to as a "Probe_Req signal") has been received from the mobile terminal via the Wi-Fi I/F 20. The Probe_Req signal is a signal broadcasted from the mobile terminal, and more specifically, a signal for searching for G/O state devices and access points existing around the mobile terminal. When the Probe_Req signal is received, the CPU 32 determines YES in S14 and proceeds to S16. On the other hand, if the CPU 32 does not receive the Probe_Req signal within a predetermined period of time from the end of S12, it determines NO in S14, skips S16 to S32, and proceeds to S34.

S16では、CPU32は、Wi-FiI/F20を介して、現行SSIDを含むProbe Response信号(以下では「Probe_Res信号」と記載する)を携帯端末に送信する。Probe_Res信号は、Probe_Req信号に対する応答信号である。なお、携帯端末は、Probe_Res信号を受信すると、Probe_Res信号に含まれるSSIDを携帯端末の表示部に表示する。ここで、携帯端末のユーザは、携帯端末の表示部に表示されているSSIDと、上記のS12でプリンタPRの表示部14に表示されたSSIDと、を対比して確認することによって、携帯端末の表示部に表示されているSSIDがどの装置のSSIDかを把握することが可能であり、プリンタPRの現行SSIDを選択し得る。これにより、ユーザは、後述のWi-Fi接続要求信号の送信を携帯端末に指示することができる。 In S16, the CPU 32 transmits a Probe Response signal including the current SSID (hereinafter referred to as "Probe_Res signal") to the mobile terminal via the Wi-Fi I/F 20. FIG. The Probe_Res signal is a response signal to the Probe_Req signal. When the mobile terminal receives the Probe_Res signal, the mobile terminal displays the SSID included in the Probe_Res signal on the display unit of the mobile terminal. Here, the user of the mobile terminal confirms the SSID displayed on the display of the mobile terminal by comparing and confirming the SSID displayed on the display 14 of the printer PR in S12. It is possible to grasp the SSID of which device the SSID displayed on the display section of is, and to select the current SSID of the printer PR. This allows the user to instruct the mobile terminal to transmit a Wi-Fi connection request signal, which will be described later.

S18では、CPU32は、携帯端末から、Wi-FiI/F20を介して、現行SSIDを含むWi-Fi接続要求信号を受信したのか否かを判断する。Wi-Fi接続要求信号は、Wi-Fi接続の確立をプリンタPRに要求するための信号であり、具体的には、Association Request信号である。CPU32は、現行SSIDを含むWi-Fi接続要求信号を受信した場合には、S18でYESと判断して、S20に進む。一方、CPU32は、S16が終了してから所定時間が経過するまでに現行SSIDを含むWi-Fi接続要求信号を受信しなかった場合には、S18でNOと判断し、S20~S32をスキップして、S34に進む。 In S18, the CPU 32 determines whether or not a Wi-Fi connection request signal including the current SSID has been received from the mobile terminal via the Wi-Fi I/F 20. The Wi-Fi connection request signal is a signal for requesting the printer PR to establish a Wi-Fi connection, specifically an Association Request signal. When the CPU 32 receives the Wi-Fi connection request signal including the current SSID, it determines YES in S18 and proceeds to S20. On the other hand, if the CPU 32 does not receive the Wi-Fi connection request signal including the current SSID within a predetermined period of time from the end of S16, it determines NO in S18 and skips S20 to S32. and proceed to S34.

S20では、CPU32は、Wi-FiI/F20を介した無線接続(即ちWi-Fi接続)を携帯端末と確立する。具体的には、CPU32は、Wi-FiI/F20を介して、各種の信号の通信(例えば、Association Response信号の送信、4-WayHandshakeの通信等)を携帯端末と実行する。CPU32は、上記の各種の信号の通信の過程で、携帯端末からSSIDとパスワードとを含むWi-Fi設定情報を受信して、Wi-Fi設定情報の認証を実行する。CPU32は、受信済みのSSIDが現行SSIDに一致し、かつ、受信済みのパスワードが所定のパスワードに一致する場合に、Wi-Fi設定情報の認証が成功したと判断して、携帯端末とのWi-Fi接続を確立する。ここで、所定のパスワードは、プリンタPRに予め設定されている固定
の文字列である。即ち、本実施例では、プリンタPRの電源がONされたり、後述のS34又はS56が実行されたりすると、SSIDが変更されるが、パスワードは変更されない。
In S20, the CPU 32 establishes a wireless connection (that is, a Wi-Fi connection) via the Wi-Fi I/F 20 with the mobile terminal. Specifically, the CPU 32 executes communication of various signals (eg, transmission of an Association Response signal, communication of 4-Way Handshake, etc.) with the mobile terminal via the Wi-Fi I/F 20 . The CPU 32 receives the Wi-Fi setting information including the SSID and password from the mobile terminal in the process of communicating the various signals described above, and authenticates the Wi-Fi setting information. When the received SSID matches the current SSID and the received password matches the predetermined password, the CPU 32 determines that the authentication of the Wi-Fi setting information has succeeded, and establishes a Wi-Fi connection with the mobile terminal. - Establish a Fi connection. Here, the predetermined password is a fixed character string preset in the printer PR. That is, in this embodiment, when the power of the printer PR is turned on or S34 or S56 described later is executed, the SSID is changed, but the password is not changed.

上述したように、S20において、プリンタPRと携帯端末との間にWi-Fi接続が確立される。これにより、プリンタPRがG/O状態で動作し、かつ、携帯端末がいわゆるレガシーとして動作するWi-Fi方式の無線ネットワーク(以下では「Wi-Fiネットワーク」と記載する)が形成される。レガシーは、WFDに従った動作を実行することなく、Wi-Fiネットワークに参加する機器を意味する。G/O状態であるプリンタPRがWi-Fiネットワークを管理するので、G/O状態であるプリンタPRは、Wi-Fiネットワークの親局(換言するとマスタデバイス)であると言える。また、レガシーである携帯端末が当該Wi-Fiネットワークに参加するので、レガシーである携帯端末は、Wi-Fiネットワークの子局(換言するとスレーブデバイス)であると言える。 As described above, at S20, a Wi-Fi connection is established between the printer PR and the mobile terminal. As a result, a Wi-Fi wireless network (hereinafter referred to as "Wi-Fi network") is formed in which the printer PR operates in the G/O state and the mobile terminal operates in a so-called legacy manner. Legacy refers to devices that join a Wi-Fi network without performing WFD-compliant operations. Since the printer PR in G/O state manages the Wi-Fi network, it can be said that the printer PR in G/O state is the master station (in other words, master device) of the Wi-Fi network. Also, since a legacy mobile terminal participates in the Wi-Fi network, it can be said that the legacy mobile terminal is a child station (in other words, a slave device) of the Wi-Fi network.

S24では、CPU32は、Wi-Fiネットワークを利用して(即ちWi-Fi接続を利用して)、Wi-FiI/F20を介して、メモリ34内のプリンタPRのBTデバイス名「NP」を携帯端末に送信する。 In S24, the CPU 32 uses the Wi-Fi network (that is, uses the Wi-Fi connection) to carry the BT device name "NP" of the printer PR in the memory 34 via the Wi-Fi I/F 20. Send to terminal.

S26では、CPU32は、メモリ34内の送信フラグ38が「OFF」を示すのか否かを判断する。CPU32は、送信フラグ38が「OFF」を示すと判断する場合(S26でYES)には、S28において、送信フラグ38を「ON」に変更し、S30に進む。一方、CPU32は、送信フラグ38が「ON」を示すと判断する場合(S26でNO)には、S28をスキップして、S30に進む。 In S26, the CPU 32 determines whether or not the transmission flag 38 in the memory 34 indicates "OFF". When determining that the transmission flag 38 indicates "OFF" (YES in S26), the CPU 32 changes the transmission flag 38 to "ON" in S28, and proceeds to S30. On the other hand, when the CPU 32 determines that the transmission flag 38 indicates "ON" (NO in S26), it skips S28 and proceeds to S30.

S30では、CPU32は、Wi-Fiネットワークを利用して、携帯端末から、Wi-FiI/F20を介して、印刷対象の画像を表わす印刷データを受信する。そして、CPU32は、印刷データを印刷実行部16に供給して、印刷データに従った印刷を印刷実行部16に実行させる。 In S30, CPU 32 receives print data representing an image to be printed from the mobile terminal via Wi-Fi I/F 20 using the Wi-Fi network. Then, the CPU 32 supplies the print data to the print execution unit 16 and causes the print execution unit 16 to execute printing according to the print data.

S32では、CPU32は、Wi-Fiネットワークを利用して、携帯端末から、Wi-FiI/F20を介して、切断信号を受信する。切断信号は、Wi-Fi接続の切断を要求するための信号である。この結果、プリンタPRと携帯端末との間のWi-Fi接続が切断される。 In S32, the CPU 32 receives a disconnection signal from the mobile terminal through the Wi-Fi I/F 20 using the Wi-Fi network. The disconnection signal is a signal for requesting disconnection of the Wi-Fi connection. As a result, the Wi-Fi connection between the printer PR and the mobile terminal is disconnected.

S34では、CPU32は、新たなSSIDを生成して、メモリ34内の古いSSIDに代えて、新たなSSIDをメモリ34に格納させる。即ち、CPU32は、SSIDを変更する。このように、SSIDが変更されるので、Wi-Fiネットワークのセキュリティを高め得る。S34が終了すると、S10に戻る。 In S34, the CPU 32 generates a new SSID and causes the memory 34 to store the new SSID in place of the old SSID in the memory 34. FIG. That is, the CPU 32 changes the SSID. As the SSID is changed in this way, the security of the Wi-Fi network can be enhanced. When S34 ends, the process returns to S10.

また、S40では、CPU32は、Wi-Fi接続操作が実行されることなく(S10でNO)、携帯端末から、Wi-FiI/F20を介して、現行SSIDを含むWi-Fi接続要求信号を受信することを監視する。CPU32は、現行SSIDを含むWi-Fi接続要求信号を受信した場合には、S40でYESと判断して、S50に進む。S50、S52、S54、S56は、それぞれ、S20、S30、S32、S34と同様である。S56が終了すると、S10に戻る。 Further, in S40, the CPU 32 receives a Wi-Fi connection request signal including the current SSID from the mobile terminal via the Wi-Fi I/F 20 without executing the Wi-Fi connection operation (NO in S10). monitor what you do. When the CPU 32 receives the Wi-Fi connection request signal including the current SSID, it determines YES in S40 and proceeds to S50. S50, S52, S54 and S56 are the same as S20, S30, S32 and S34, respectively. When S56 ends, the process returns to S10.

(プリンタPRのBTI/F関連処理;図3)
続いて、図3を参照して、プリンタPRのCPU32が実行するBTI/F関連処理について説明する。BTI/F関連処理は、主に、BTI/F22に関連する処理である。CPU32は、プリンタPRの電源がONされると、図3の処理を開始する。
(BTI/F-related processing of printer PR; FIG. 3)
Next, BTI/F-related processing executed by the CPU 32 of the printer PR will be described with reference to FIG. BTI/F related processing is mainly processing related to BTI/F 22 . When the printer PR is powered on, the CPU 32 starts the process of FIG.

S70では、CPU32は、BTI/F22がOFF状態であるのか否かを判断する。CPU32は、BTI/F22の状態をBTI/F22に問い合わせて、BTI/F22からOFF状態を示す情報を取得する場合には、S70でYESと判断してS72に進み、BTI/F22からON状態を示す情報を取得する場合には、S70でNOと判断してS80に進む。ここで、BTI/F22のOFF状態は、BTI/F22に電力が供給されていない状態、即ち、BT通信を実行不可能な状態である。また、BTI/F22のON状態は、BTI/F22に電力が供給されている状態、即ち、BT通信を実行可能な状態である。ON状態であるBTI/F22の消費電力(即ちBLEの消費電力)は、ON状態であるWi-FiI/F20の消費電力よりも低い。 In S70, the CPU 32 determines whether or not the BTI/F 22 is in the OFF state. When the CPU 32 inquires of the BTI/F 22 about the state of the BTI/F 22 and obtains information indicating the OFF state from the BTI/F 22, it determines YES in S70, advances to S72, and obtains the ON state from the BTI/F 22. In the case of acquiring the indicated information, it is determined as NO in S70 and the process proceeds to S80. Here, the OFF state of the BTI/F 22 is a state in which power is not supplied to the BTI/F 22, that is, a state in which BT communication cannot be executed. The ON state of the BTI/F 22 is a state in which power is supplied to the BTI/F 22, that is, a state in which BT communication can be performed. The power consumption of the BTI/F 22 in the ON state (that is, the power consumption of BLE) is lower than the power consumption of the Wi-Fi I/F 20 in the ON state.

S72では、CPU32は、メモリ34内の送信フラグ38が「ON」を示すのか否かを判断する。CPU32は、送信フラグ38が「ON」を示すと判断する場合(S72でYES)には、S74において、BTI/F22をOFF状態からON状態に変更する。S74でBTI/F22がON状態に変更されるまで、BTI/F22をOFF状態に設定することができるので、プリンタPRの消費電力を低減させることができる。一方、CPU32は、送信フラグ38が「OFF」を示すと判断する場合(S72でNO)には、S74をスキップして、S70に戻る。 In S72, the CPU 32 determines whether or not the transmission flag 38 in the memory 34 indicates "ON". When the CPU 32 determines that the transmission flag 38 indicates "ON" (YES in S72), in S74, the BTI/F 22 is changed from the OFF state to the ON state. Since the BTI/F 22 can be set to the OFF state until the BTI/F 22 is changed to the ON state in S74, the power consumption of the printer PR can be reduced. On the other hand, when determining that the transmission flag 38 indicates "OFF" (NO in S72), the CPU 32 skips S74 and returns to S70.

S80(即ちBTI/F22がON状態)では、CPU32は、まず、メモリ34から、プリンタPRのBTデバイス名「NP」と、現行SSIDと、所定のパスワードと、を取得する。そして、CPU32は、BTI/F22を介して、取得済みの各情報を含むAdvertise信号をブロードキャスト送信する。ここで、ブロードキャスト送信は、送信先が特定されていない信号である。即ち、Advertise信号は、送信元を示す情報としてBTデバイス名「NP」を含むが、送信先を示す情報を含んでいない。Advertise信号は、プリンタPRの周囲の機器にプリンタ自身の存在を知らせるための信号である。特に、CPU32は、Bluetoothの論理リンク(即ちBluetooth方式の無線接続)を確立することなく、Advertise信号を外部に送信する。より具体的には、Bluetoothのプロトコルスタックのうち、L2CAP層以上の通信が実行されず、L2CAP層よりも下位層(即ちLink Maneger層又はLink Layer層)の通信が実行されて、外部に送信される。L2CAP層は、Bluetoothの論理リンクを確立するための最上位層である。即ち、Advertise信号は、論理リンクを確立するための最上位層の通信が実行されずに、当該最上位層よりも下位層の通信が実行されて、外部に送信される。 In S80 (that is, the BTI/F 22 is ON), the CPU 32 first acquires the BT device name "NP" of the printer PR, the current SSID, and the predetermined password from the memory 34. FIG. Then, the CPU 32 broadcasts an Advertise signal including each acquired information via the BTI/F 22 . Here, broadcast transmission is a signal whose destination is not specified. That is, the Advertise signal includes the BT device name "NP" as information indicating the source of transmission, but does not include information indicating the destination of transmission. The Advertise signal is a signal for informing devices around the printer PR of the existence of the printer itself. In particular, the CPU 32 transmits the Advertise signal to the outside without establishing a Bluetooth logical link (that is, Bluetooth wireless connection). More specifically, in the Bluetooth protocol stack, communication at the L2CAP layer and above is not performed, and communication at the layer lower than the L2CAP layer (that is, the Link Manager layer or the Link Layer layer) is performed and transmitted to the outside. be. The L2CAP layer is the highest layer for establishing a Bluetooth logical link. That is, the Advertise signal is transmitted to the outside after communication in a layer lower than the highest layer is executed without executing the communication in the highest layer for establishing the logical link.

S80が終了すると、S70に戻る。そして、S70でNOを経てS80が再び実行されると、CPU32は、Advertise信号を再びブロードキャスト送信する。即ち、CPU32は、Advertise信号をブロードキャスト送信することを繰り返す。 When S80 ends, the process returns to S70. Then, when S80 is executed again through NO in S70, the CPU 32 broadcasts the Advertise signal again. That is, the CPU 32 repeats broadcasting the Advertise signal.

(携帯端末PT1の処理;図4)
続いて、図4を参照して、携帯端末PT1のCPU72が実行する処理について説明する。なお、携帯端末PT2も同様の処理を実行可能である。CPU72は、プリンタアプリケーション78を起動するための操作が携帯端末PT1に実行されると、プリンタアプリケーション78に従って、図4の処理を開始する。なお、携帯端末PT1に対する操作は、操作部52に実行されてもよいし、表示部54(即ちタッチパネル)に実行されてもよい。この点は、以下でも同様である。
(Processing of mobile terminal PT1; FIG. 4)
Next, processing executed by the CPU 72 of the mobile terminal PT1 will be described with reference to FIG. The portable terminal PT2 can also execute similar processing. When an operation for activating the printer application 78 is executed on the portable terminal PT1, the CPU 72 starts the process of FIG. An operation on the mobile terminal PT1 may be performed on the operation unit 52 or may be performed on the display unit 54 (that is, the touch panel). This point also applies to the following.

CPU72は、S100及びS140の各監視処理を順次実行することを繰り返す。S100では、CPU72は、ユーザによってWi-Fi接続操作が携帯端末PT1に実行されることを監視する。Wi-Fi接続操作は、通常、プリンタPRとのWi-Fi接続
が過去に確立されていない携帯端末のユーザによって実行される。CPU72は、Wi-Fi接続操作が実行される場合に、S100でYESと判断して、S102に進む。
The CPU 72 repeats the sequential execution of the monitoring processes of S100 and S140. In S100, the CPU 72 monitors that the user performs a Wi-Fi connection operation on the portable terminal PT1. A Wi-Fi connection operation is normally performed by a mobile terminal user who has not previously established a Wi-Fi connection with the printer PR. When the Wi-Fi connection operation is executed, the CPU 72 determines YES in S100 and proceeds to S102.

S102では、CPU72は、Wi-FiI/F60を介して、Probe_Req信号をブロードキャスト送信する。プリンタPRと携帯端末PT1との間の距離が、Wi-Fi通信を実行可能な距離よりも短ければ、Probe_Req信号は、プリンタPRによって受信され得る(図2のS14でYES参照)。 In S102, the CPU 72 broadcasts a Probe_Req signal via the Wi-Fi I/F 60. FIG. If the distance between the printer PR and the mobile terminal PT1 is shorter than the distance at which Wi-Fi communication can be performed, the Probe_Req signal can be received by the printer PR (see YES in S14 of FIG. 2).

S104では、CPU72は、Wi-FiI/F60を介して、Probe_Res信号を受信したのか否かを判断する。CPU72は、プリンタPRがG/O状態で動作している場合には、プリンタPRからProbe_Res信号を受信する(図2のS16参照)。また、CPU72は、携帯端末PT1の周囲にAP(Access Pointの略)が存在する場合には、APからProbe_Res信号を受信する。CPU72は、1個以上のProbe_Res信号を受信する場合には、S104でYESと判断して、S106に進む。一方、CPU72は、S102が終了してから所定時間が経過するまでに1個のProbe_Res信号も受信しない場合には、S104でNOと判断し、S106~S120をスキップして、S100に戻る。 In S104, the CPU 72 determines whether or not the Probe_Res signal has been received via the Wi-Fi I/F 60. The CPU 72 receives the Probe_Res signal from the printer PR when the printer PR is operating in the G/O state (see S16 in FIG. 2). Further, when an AP (abbreviation of Access Point) exists around the mobile terminal PT1, the CPU 72 receives a Probe_Res signal from the AP. When receiving one or more Probe_Res signals, the CPU 72 determines YES in S104 and proceeds to S106. On the other hand, if the CPU 72 does not receive even one Probe_Res signal within a predetermined period of time from the end of S102, it determines NO in S104, skips S106 to S120, and returns to S100.

S106では、CPU72は、受信済みの1個以上のProbe_Res信号に含まれる1個以上のSSIDを表示部54に表示させる。これにより、ユーザは、1個以上のSSIDの中から、プリンタPRで表示された現行SSID(図2のS12参照)を選択する操作を携帯端末PT1に実行し得る。即ち、ユーザは、上記の1個以上のSSIDと、上記の図2のS12でプリンタPRの表示部14に表示された現行SSIDと、を対比して、上記の1個以上のSSIDの中から現行SSIDを選択することができる。 In S106, the CPU 72 causes the display unit 54 to display one or more SSIDs included in one or more received Probe_Res signals. As a result, the user can perform an operation on the mobile terminal PT1 to select the current SSID (see S12 in FIG. 2) displayed on the printer PR from among one or more SSIDs. That is, the user compares the one or more SSIDs with the current SSID displayed on the display unit 14 of the printer PR in S12 of FIG. The current SSID can be selected.

S108では、CPU72は、S106で表示された1個以上のSSIDの中から1個のSSIDを選択する操作がユーザによって携帯端末PT1に実行されたのか否かを判断する。CPU72は、SSIDを選択する操作が実行された場合には、S108でYESと判断して、S110に進む。なお、図4では、プリンタPRの現行SSIDが選択されることを前提として、S110~S120の処理が記述されている。一方、CPU72は、SSIDを選択する操作が実行されない場合、即ち、ユーザによってキャンセルが指示される場合には、S108でNOと判断し、S110~S120をスキップして、S100に戻る。 In S108, the CPU 72 determines whether or not the user has performed an operation on the mobile terminal PT1 to select one SSID from the one or more SSIDs displayed in S106. When the operation of selecting the SSID has been performed, the CPU 72 determines YES in S108 and proceeds to S110. Note that FIG. 4 describes the processing of S110 to S120 on the assumption that the current SSID of the printer PR is selected. On the other hand, if the operation to select the SSID is not executed, that is, if the user instructs cancellation, the CPU 72 determines NO in S108, skips S110 to S120, and returns to S100.

S110では、CPU72は、パスワード入力画面を表示部54に表示させる。例えば、プリンタPRの管理者は、プリンタPRの所定のパスワードを携帯端末PT1のユーザに予め通知しておく。これにより、ユーザは、所定のパスワードを入力する操作を携帯端末PT1に実行し得る。当該操作が実行されると、S112に進む。 In S110, the CPU 72 causes the display unit 54 to display a password input screen. For example, the administrator of the printer PR notifies the user of the portable terminal PT1 of a predetermined password of the printer PR in advance. Thereby, the user can perform an operation of inputting a predetermined password on the mobile terminal PT1. After the operation is performed, the process proceeds to S112.

S112では、CPU72は、Wi-FiI/F60を介して、S108で選択されたSSID(即ちプリンタPRの現行SSID)を含むWi-Fi接続要求信号をプリンタPRに送信する。これにより、Wi-Fi接続要求信号は、プリンタPRによって受信され得る(図2のS18でYES参照)。 At S112, the CPU 72 transmits a Wi-Fi connection request signal including the SSID selected at S108 (ie, the current SSID of the printer PR) to the printer PR via the Wi-Fi I/F 60. FIG. Thereby, the Wi-Fi connection request signal can be received by the printer PR (see YES in S18 of FIG. 2).

S114では、CPU72は、Wi-FiI/F60を介した無線接続(即ちWi-Fi接続)をプリンタPRと確立する。具体的には、CPU72は、Wi-FiI/F60を介して、各種の信号の通信(例えば、Association Response信号の受信、4-WayHandshakeの通信等)をプリンタPRと実行する。CPU72は、上記の各種の信号の通信の過程で、S108で選択されたSSIDとS110で入力されたパスワードとを含むWi-Fi設定情報をプリンタPRに送信する。プリンタP
RにおいてWi-Fi設定情報の認証が成功する場合には、プリンタPRとのWi-Fi接続が確立される。これにより、プリンタPRがG/O状態で動作し、かつ、携帯端末PT1がレガシーとして動作するWi-Fiネットワークが形成される(図2のS20参照)。
In S114, the CPU 72 establishes a wireless connection (that is, a Wi-Fi connection) via the Wi-Fi I/F 60 with the printer PR. Specifically, the CPU 72 executes communication of various signals (for example, reception of an Association Response signal, 4-Way Handshake communication, etc.) with the printer PR via the Wi-Fi I/F 60 . The CPU 72 transmits Wi-Fi setting information including the SSID selected in S108 and the password input in S110 to the printer PR in the process of communicating the various signals described above. Printer P
If the Wi-Fi setting information is successfully authenticated in R, a Wi-Fi connection is established with the printer PR. As a result, a Wi-Fi network is formed in which the printer PR operates in the G/O state and the mobile terminal PT1 operates in the legacy mode (see S20 in FIG. 2).

S116では、CPU72は、Wi-Fiネットワークを利用して(即ちWi-Fi接続を利用して)、プリンタPRから、Wi-FiI/F60を介して、プリンタPRのBTデバイス名「NP」を受信する(図2のS24参照)。そして、CPU72は、受信済みのBTデバイス名「NP」をBTデバイス名格納領域80に格納させる。これにより、携帯端末PT1とのWi-Fi接続が確立されたプリンタ(以下では「確立済みプリンタ」と呼ぶ)のBTデバイス名がBTデバイス名格納領域80に格納される。 In S116, the CPU 72 uses the Wi-Fi network (that is, uses the Wi-Fi connection) to receive the BT device name "NP" of the printer PR from the printer PR via the Wi-Fi I/F 60. (see S24 in FIG. 2). Then, the CPU 72 stores the received BT device name “NP” in the BT device name storage area 80 . As a result, the BT device name of the printer with which the Wi-Fi connection has been established with the mobile terminal PT1 (hereinafter referred to as "established printer") is stored in the BT device name storage area 80. FIG.

S118では、CPU72は、Wi-Fiネットワークを利用して、Wi-FiI/F60を介して、印刷データをプリンタPRに送信する。これにより、印刷データによって表わされる画像の印刷をプリンタPRに実行させることができる(図2のS30参照)。なお、印刷データは、携帯端末PT1のメモリ74に格納されている1個以上の画像ファイルの中から、ユーザによって指定された画像ファイルである。ここで、印刷対象の画像ファイルの指定は、例えば、プリンタアプリケーション78の起動の直後に実行されてもよいし、S110でパスワードが入力された後に実行されてもよいし、S114でプリンタPRとのWi-Fi接続が確立された後に実行されてもよい。 In S118, the CPU 72 uses the Wi-Fi network to send the print data to the printer PR via the Wi-Fi I/F 60. FIG. This allows the printer PR to print the image represented by the print data (see S30 in FIG. 2). The print data is an image file designated by the user from among one or more image files stored in the memory 74 of the mobile terminal PT1. Here, the designation of the image file to be printed may be executed immediately after the printer application 78 is activated, may be executed after the password is entered in S110, or may be executed after communication with the printer PR in S114. It may be performed after a Wi-Fi connection is established.

S120では、CPU72は、プリンタPRへの印刷データの送信が完了する場合に、Wi-Fiネットワークを利用して、Wi-FiI/F60を介して、切断信号をプリンタPRに送信する。この結果、プリンタPRと携帯端末PT1との間のWi-Fi接続が切断される(図2のS32参照)。S120が終了すると、S100に戻る。 In S120, the CPU 72 uses the Wi-Fi network to transmit a disconnection signal to the printer PR via the Wi-Fi I/F 60 when transmission of the print data to the printer PR is completed. As a result, the Wi-Fi connection between the printer PR and the mobile terminal PT1 is disconnected (see S32 in FIG. 2). When S120 ends, the process returns to S100.

また、S140では、CPU72は、BTI/F62を介して、Advertise信号を受信することを監視する。上述したように、プリンタPRは、送信フラグ38がONを示す場合には、BTデバイス名「NP」と現行SSIDと所定のパスワードとを含むAdvertise信号をブロードキャスト送信することを繰り返す(図3のS80参照)。従って、プリンタPRと携帯端末PT1との間の距離が、BT通信を実行可能な最大の距離よりも短ければ、CPU72は、BTI/F62を介して、プリンタPRからAdvertise信号を受信する。この場合、CPU72は、S140でYESと判断して、S142に進む。 Moreover, in S140, the CPU 72 monitors reception of the Advertise signal via the BTI/F 62 . As described above, when the transmission flag 38 indicates ON, the printer PR repeatedly broadcasts an Advertise signal including the BT device name "NP", the current SSID, and the predetermined password (S80 in FIG. 3). reference). Therefore, if the distance between the printer PR and the portable terminal PT1 is shorter than the maximum distance at which BT communication can be performed, the CPU 72 receives the Advertise signal from the printer PR via the BTI/F62. In this case, the CPU 72 determines YES in S140 and proceeds to S142.

S142では、CPU72は、受信済みのAdvertise信号内のBTデバイス名(即ち受信済みのBTデバイス名)がBTデバイス名格納領域80に格納されているのか否かを判断する。上述したように、BTデバイス名格納領域80は、確立済みプリンタのBTデバイス名を格納する(S116参照)。従って、S142の判断は、Advertise信号の送信元のプリンタPRが確立済みプリンタであるのか否かを判断することを意味する。CPU72は、受信済みのBTデバイス名がBTデバイス名格納領域80に格納されていると判断する場合(S142でYES)には、S148に進む。なお、図4では、プリンタPRのBTデバイス名「NP」がBTデバイス名格納領域80に格納されていることを前提として、S148~S154の処理が記述されている。一方、CPU72は、受信済みのBTデバイス名がBTデバイス名格納領域80に格納されていないと判断する場合(S142でNO)には、S148~S154をスキップして、S100に戻る。 In S<b>142 , the CPU 72 determines whether or not the BT device name in the received Advertise signal (that is, the received BT device name) is stored in the BT device name storage area 80 . As described above, the BT device name storage area 80 stores the BT device name of the established printer (see S116). Therefore, the determination in S142 means determining whether the printer PR that sent the Advertise signal is an established printer. When the CPU 72 determines that the received BT device name is stored in the BT device name storage area 80 (YES in S142), the process proceeds to S148. Note that FIG. 4 describes the processing of S148 to S154 on the assumption that the BT device name “NP” of the printer PR is stored in the BT device name storage area 80. FIG. On the other hand, when the CPU 72 determines that the received BT device name is not stored in the BT device name storage area 80 (NO in S142), it skips S148 to S154 and returns to S100.

S148では、CPU72は、Wi-FiI/F60を介して、受信済みのAdvertise信号内の現行SSIDを含むWi-Fi接続要求信号をプリンタPRに送信する
。これにより、Wi-Fi接続要求信号は、プリンタPRによって受信され得る(図2のS40でYES参照)。このように、CPU72は、プリンタPRからAdvertise信号を受信することをトリガとして、Wi-Fi接続要求信号をプリンタPRに送信する。従って、Advertise信号は、Wi-Fi接続要求信号をプリンタPRに送信するためのトリガ信号であると言える。
In S148, the CPU 72 transmits a Wi-Fi connection request signal including the current SSID in the received Advertise signal to the printer PR via the Wi-Fi I/F 60 . As a result, the Wi-Fi connection request signal can be received by the printer PR (see YES in S40 of FIG. 2). In this way, the CPU 72 sends the Wi-Fi connection request signal to the printer PR, triggered by the reception of the Advertise signal from the printer PR. Therefore, the Advertise signal can be said to be a trigger signal for transmitting a Wi-Fi connection request signal to the printer PR.

S150では、CPU72は、S114と同様に、プリンタPRとのWi-Fi接続を確立する。ここでは、CPU72は、受信済みのAdvertise信号内の現行SSIDとパスワードとを含むWi-Fi設定情報を利用して、プリンタPRとのWi-Fi接続を確立する。S152、S154は、それぞれ、S118、S120と同様である。S154が終了すると、S100に戻る。 In S150, the CPU 72 establishes a Wi-Fi connection with the printer PR as in S114. Here, the CPU 72 establishes a Wi-Fi connection with the printer PR using the Wi-Fi setting information including the current SSID and password in the received Advertise signal. S152 and S154 are the same as S118 and S120, respectively. When S154 ends, the process returns to S100.

(具体的なケース)
続いて、図5及び図6を参照して、図2~図4の各処理によって実現される具体的なケースについて説明する。図5及び図6において、プリンタPRと携帯端末PT1,PT2との間の太線矢印、細線矢印は、それぞれ、Wi-Fi通信、BT通信を示す。
(specific case)
Next, with reference to FIGS. 5 and 6, specific cases realized by the processes shown in FIGS. 2 to 4 will be described. 5 and 6, thick line arrows and thin line arrows between the printer PR and the portable terminals PT1 and PT2 indicate Wi-Fi communication and BT communication, respectively.

(ケースA;図5)
ケースAの初期状態では、プリンタPRの電源がOFFされている。また、携帯端末PT1は、プリンタPRとのWi-Fi接続を過去に確立していない。即ち、携帯端末PT1のBTデバイス名格納領域80には、プリンタPRのBTデバイス名「NP」が格納されていない。なお、BTデバイス名格納領域80には、1個のプリンタのBTデバイス名も格納されていない。
(Case A; Fig. 5)
In the initial state of case A, the printer PR is powered off. Also, the mobile terminal PT1 has not established a Wi-Fi connection with the printer PR in the past. That is, the BT device name "NP" of the printer PR is not stored in the BT device name storage area 80 of the mobile terminal PT1. The BT device name storage area 80 does not store the BT device name of even one printer.

A0では、プリンタPRの電源がユーザによってONされる。この場合、プリンタPRは、T2において、SSID「X1」を生成し(図2のS2)、T4において、Wi-FiI/F20をON状態に変更し、G/O状態に移行する(S4)。次いで、A1では、Wi-Fi接続操作が携帯端末PT1のユーザによってプリンタPRに実行される(S10でYES)。この場合、T10では、プリンタPRは、SSID「X1」を表示する(S12)。 At A0, the power of the printer PR is turned on by the user. In this case, the printer PR generates the SSID "X1" at T2 (S2 in FIG. 2), changes the Wi-Fi I/F 20 to the ON state at T4, and shifts to the G/O state (S4). Next, in A1, the user of the portable terminal PT1 performs a Wi-Fi connection operation to the printer PR (YES in S10). In this case, at T10, the printer PR displays the SSID "X1" (S12).

A2では、プリンタアプリケーション78を起動するための操作と、Wi-Fi接続操作と、がユーザによって携帯端末PT1に実行される(図4のS100でYES)。この場合、T20では、携帯端末PT1は、Probe_Req信号をブロードキャスト送信する(S102)。 At A2, the user executes an operation for activating the printer application 78 and a Wi-Fi connection operation on the portable terminal PT1 (YES in S100 of FIG. 4). In this case, at T20, the mobile terminal PT1 broadcasts the Probe_Req signal (S102).

プリンタPRは、携帯端末PT1からProbe_Req信号を受信する場合(図2のS14でYES)に、T22において、SSID「X1」を含むProbe_Res信号を携帯端末PT1に送信する(S16)。なお、仮に、A2の操作が携帯端末PT1に実行されない場合には、携帯端末PT1からProbe_Req信号が送信されず、この結果、プリンタPRは、図2のS14でNOと判断する。 When the printer PR receives the Probe_Req signal from the mobile terminal PT1 (YES in S14 of FIG. 2), at T22, the printer PR transmits the Probe_Res signal including the SSID "X1" to the mobile terminal PT1 (S16). If the operation A2 is not executed on the mobile terminal PT1, the Probe_Req signal is not transmitted from the mobile terminal PT1, and as a result, the printer PR determines NO in S14 of FIG.

携帯端末PT1は、プリンタPRからProbe_Res信号を受信する場合(図4のS104でYES)に、T30において、Probe_Res信号に含まれるSSID「X1」を表示する(S106)。なお、携帯端末PT1は、プリンタPRとは異なる機器からProbe_Res信号をさらに受信する場合には、SSID「X1」のみならず、当該Probe_Res信号に含まれるSSIDも表示する。即ち、T30では、携帯端末PT1は、SSID「X1」を含む1個以上のSSIDを表示する。ここで、ユーザは、携帯端末PT1に表示されている1個以上のSSIDと、上記のT10でプリンタPRに表示されたSSID「X1」と、を比較することによって、上記の1個以上のSSID
の中から、プリンタPRのSSID「X1」を確認することができる。
When the portable terminal PT1 receives the Probe_Res signal from the printer PR (YES in S104 of FIG. 4), at T30, the SSID "X1" included in the Probe_Res signal is displayed (S106). When the mobile terminal PT1 further receives the Probe_Res signal from a device other than the printer PR, it displays not only the SSID "X1" but also the SSID included in the Probe_Res signal. That is, at T30, the mobile terminal PT1 displays one or more SSIDs including SSID "X1". Here, the user compares the one or more SSIDs displayed on the mobile terminal PT1 with the SSID "X1" displayed on the printer PR at T10, thereby determining the one or more SSIDs.
, the SSID "X1" of the printer PR can be confirmed.

A3では、1個以上のSSIDの中からSSID「X1」を選択する操作がユーザによって携帯端末PT1に実行される(図4のS108でYES)。この場合、T32では、携帯端末PT1は、パスワード入力画面を表示する(S110)。A4では、プリンタPRのパスワード「PS」を入力する操作がユーザによって携帯端末PT1に実行される。この場合、T40では、携帯端末PT1は、A3で選択されたSSID「X1」を含むWi-Fi接続要求信号をプリンタPRに送信する。なお、仮に、A3でSSID「X1」が選択されなかったり、A4でパスワードが入力されずにキャンセルされたりすると、携帯端末PT1からWi-Fi接続要求信号が送信されず、この結果、プリンタPRは、図2のS18でNOと判断する。 At A3, the user performs an operation on the mobile terminal PT1 to select the SSID "X1" from one or more SSIDs (YES in S108 of FIG. 4). In this case, at T32, the mobile terminal PT1 displays a password input screen (S110). At A4, the user performs an operation to the mobile terminal PT1 to input the password "PS" for the printer PR. In this case, at T40, the portable terminal PT1 transmits a Wi-Fi connection request signal including the SSID "X1" selected at A3 to the printer PR. If the SSID "X1" is not selected in A3 or the password is not entered in A4 and the password is canceled, the Wi-Fi connection request signal is not transmitted from the mobile terminal PT1, and as a result, the printer PR , it is determined as NO in S18 of FIG.

携帯端末PT1からプリンタPRにWi-Fi接続要求信号が送信されると、T42において、プリンタPRと携帯端末PT1との間にWi-Fi接続が確立される(図2のS20、図4のS114)。なお、プリンタPRは、T42の過程で、携帯端末PT1からSSID「X1」とパスワード「PS」とを含むWi-Fi設定情報を受信して、Wi-Fi設定情報の認証を実行し、本ケースでは認証が成功するので、携帯端末PT1とのWi-Fi接続を確立する。これにより、プリンタPRが親局として動作し、かつ、携帯端末PT1が子局として動作するWi-Fiネットワークが形成される。 When a Wi-Fi connection request signal is transmitted from the mobile terminal PT1 to the printer PR, a Wi-Fi connection is established between the printer PR and the mobile terminal PT1 in T42 (S20 in FIG. 2, S114 in FIG. 4). ). In the process of T42, the printer PR receives the Wi-Fi setting information including the SSID "X1" and the password "PS" from the mobile terminal PT1, and authenticates the Wi-Fi setting information. Then, since the authentication succeeds, a Wi-Fi connection is established with the portable terminal PT1. As a result, a Wi-Fi network is formed in which the printer PR operates as a master station and the portable terminal PT1 operates as a slave station.

プリンタPRは、携帯端末PT1とのWi-Fi接続を確立した後に、T44において、Wi-Fi接続を利用して、プリンタPRのBTデバイス名「NP」を携帯端末PT1に送信する(図2のS24)。そして、プリンタPRは、送信フラグ38を「ON」に変更し(S26でYES、S28)、この結果、T46において、BTI/F22をOFF状態からON状態に変更する(図3のS70でYES、S72でYES、S74)。 After establishing a Wi-Fi connection with the mobile terminal PT1, the printer PR uses the Wi-Fi connection to transmit the BT device name "NP" of the printer PR to the mobile terminal PT1 at T44 (see FIG. 2). S24). Then, the printer PR changes the transmission flag 38 to "ON" (YES in S26, S28), and as a result, changes the BTI/F 22 from the OFF state to the ON state in T46 (YES in S70 of FIG. 3, YES in S72, S74).

携帯端末PT1は、プリンタPRからBTデバイス名「NP」を受信する場合に、T50において、BTデバイス名「NP」を格納する(図4のS116)。次いで、携帯端末PT1は、T60において、Wi-Fi接続を利用して、印刷データをプリンタPRに送信する(S118)。 When the mobile terminal PT1 receives the BT device name "NP" from the printer PR, it stores the BT device name "NP" at T50 (S116 in FIG. 4). Next, at T60, the mobile terminal PT1 uses the Wi-Fi connection to send the print data to the printer PR (S118).

プリンタPRは、携帯端末PT1から印刷データを受信する場合に、T62において、印刷データに従った印刷処理を実行する(図2のS30)。なお、プリンタPRがBT通信を利用して携帯端末PT1から印刷データを受信する構成が考えられる。ただし、印刷データのデータサイズが大きい可能性があり、さらに、BT通信の通信速度は、Wi-Fi通信の通信速度よりも遅い。従って、仮に、BT通信を利用して印刷データを通信する構成を採用すると、印刷データの通信に長時間を要し得る。これに対し、本実施例では、Wi-Fi通信を利用して印刷データを通信するので、印刷データを迅速に通信することができる。 When the printer PR receives the print data from the portable terminal PT1, in T62, the printer PR executes print processing according to the print data (S30 in FIG. 2). A configuration is conceivable in which the printer PR receives print data from the mobile terminal PT1 using BT communication. However, the data size of print data may be large, and the communication speed of BT communication is slower than that of Wi-Fi communication. Therefore, if a configuration in which print data is communicated using BT communication is adopted, it may take a long time to communicate the print data. In contrast, in this embodiment, the print data is communicated using Wi-Fi communication, so the print data can be communicated quickly.

携帯端末PT1は、印刷データをプリンタPRに送信した後に、T70において、Wi-Fi接続を切断するための切断信号をプリンタPRに送信する(図4のS120)。これにより、プリンタPRと携帯端末PT1との間のWi-Fi接続が切断される。 After transmitting the print data to the printer PR, the portable terminal PT1 transmits a disconnection signal for disconnecting the Wi-Fi connection to the printer PR at T70 (S120 in FIG. 4). As a result, the Wi-Fi connection between the printer PR and the mobile terminal PT1 is disconnected.

プリンタPRは、携帯端末PT1から切断信号を受信した後(図2のS32)に、T72において、SSID「X1」とは異なるSSID「X2」を生成する(S34)。 After receiving the disconnection signal from the mobile terminal PT1 (S32 in FIG. 2), the printer PR generates an SSID "X2" different from the SSID "X1" at T72 (S34).

(ケースB1;図6)
図6のケースB1は、図5のケースAの続きであり、プリンタPRのWi-FiI/F20がON状態であり(図5のT4参照)、BTI/F22がON状態である(T46参
照)。また、携帯端末PT1のBTデバイス名格納領域80には、確立済みプリンタであるプリンタPRのBTデバイス名「NP」が格納されている(T50参照)。
(Case B1; FIG. 6)
Case B1 in FIG. 6 is a continuation of case A in FIG. 5, in which the Wi-Fi I/F 20 of the printer PR is ON (see T4 in FIG. 5) and the BTI/F 22 is ON (see T46). . The BT device name storage area 80 of the portable terminal PT1 stores the BT device name "NP" of the printer PR, which is an established printer (see T50).

T100では、プリンタPRは、Advertise信号をブロードキャスト送信することを繰り返す(図3のS80)。Advertise信号は、信号の送信元を示す情報としてプリンタPRのBTデバイス名「NP」を含み、さらに、SSID「X2」とパスワード「PS」とを含む。 At T100, the printer PR repeats broadcasting the Advertise signal (S80 in FIG. 3). The Advertise signal includes the BT device name "NP" of the printer PR as information indicating the source of the signal, and further includes SSID "X2" and password "PS".

上述したように、プリンタPRは、送信フラグ38が「ON」を示す場合、即ち、BTデバイス名「NP」を1回でも外部に送信した場合には、BTI/F22がON状態であり(図5のT46参照)、Advertise信号を繰り返し送信する(T100)。一方、プリンタPRは、送信フラグ38が「OFF」を示す場合、即ち、BTデバイス名「NP」を1回も外部に送信していない場合には、BTI/F22をOFF状態に維持して、Advertise信号を送信しない(図3のS72でNO、S70でYES)。このために、プリンタPRの省電力を実現することができる。 As described above, when the transmission flag 38 indicates "ON", that is, when the printer PR has transmitted the BT device name "NP" to the outside even once, the BTI/F 22 is in the ON state (Fig. 5), and repeatedly transmits an Advertise signal (T100). On the other hand, when the transmission flag 38 indicates "OFF", that is, when the BT device name "NP" has not been transmitted to the outside even once, the printer PR keeps the BTI/F 22 in the OFF state. The Advertise signal is not transmitted (NO in S72 of FIG. 3, YES in S70). For this reason, power saving of the printer PR can be realized.

A10では、プリンタアプリケーション78を起動するための操作がユーザによって携帯端末PT1に実行される(図4の処理のトリガ)。この場合、携帯端末PT1は、プリンタPRからAdvertise信号を受信し(S140でYES)、T102において、Advertise信号内のBTデバイス名「NP」がBTデバイス名格納領域80に格納されていると判断する(S142でYES)。そして、T120では、携帯端末PT1は、Advertise信号内のSSID「X2」を含むWi-Fi接続要求信号をプリンタPRに送信する(S148)。このように、携帯端末PT1は、SSIDを選択するための画面(図5のT30参照)とパスワードを入力するための画面(T32参照)とを表示することなく、Wi-Fi接続要求信号をプリンタPRに送信する。このために、ユーザは、プリンタPRと携帯端末PT1との間に2回目以降のWi-Fi接続を容易に確立させることができる。 At A10, the user performs an operation on the portable terminal PT1 to activate the printer application 78 (trigger of the process in FIG. 4). In this case, the mobile terminal PT1 receives the Advertise signal from the printer PR (YES in S140), and determines in T102 that the BT device name "NP" in the Advertise signal is stored in the BT device name storage area 80. (YES in S142). At T120, the mobile terminal PT1 transmits a Wi-Fi connection request signal including the SSID "X2" in the Advertise signal to the printer PR (S148). In this way, the mobile terminal PT1 sends the Wi-Fi connection request signal to the printer without displaying the screen for selecting the SSID (see T30 in FIG. 5) and the screen for entering the password (see T32). Send to PR. Therefore, the user can easily establish the Wi-Fi connection between the printer PR and the portable terminal PT1 from the second time onwards.

携帯端末PT1からプリンタPRにWi-Fi接続要求信号が送信されると、T122において、プリンタPRと携帯端末PT1との間にWi-Fi接続が確立される(図2のS50、図4のS150)。T122の後に実行されるT130、T132、T140、T142は、それぞれ、図5のT60、T62、T70、T72と同様である(図2のS52~S56、図4のS152、S154)。なお、T142では、SSID「X1」及び「X2」とは異なるSSID「X3」が生成される。 When a Wi-Fi connection request signal is transmitted from the mobile terminal PT1 to the printer PR, a Wi-Fi connection is established between the printer PR and the mobile terminal PT1 at T122 (S50 in FIG. 2, S150 in FIG. 4). ). T130, T132, T140, T142 executed after T122 are the same as T60, T62, T70, T72 in FIG. 5 (S52 to S56 in FIG. 2, S152, S154 in FIG. 4). At T142, SSID "X3" different from SSIDs "X1" and "X2" is generated.

(ケースB2)
ケースB2もケースAの続きである。携帯端末PT2のBTデバイス名格納領域(図示省略)には、プリンタPRのBTデバイス名「NP」が格納されていない。
(Case B2)
Case B2 is also a continuation of case A. The BT device name "NP" of the printer PR is not stored in the BT device name storage area (not shown) of the mobile terminal PT2.

T150では、T100と同様に、プリンタPRは、Advertise信号を繰り返し送信する(図3のS80)。A20では、プリンタアプリケーションを起動するための操作がユーザによって携帯端末PT2に実行される(図4の処理のトリガ)。この場合、携帯端末PT2は、プリンタPRからAdvertise信号を受信するが(図4のS140でYES)、T152において、Advertise信号内のBTデバイス名「NP」がBTデバイス名格納領域に格納されていないと判断する(S142でNO)。この結果、携帯端末PT2は、Wi-Fi接続要求信号をプリンタPRに送信しない。仮に、プリンタPRと携帯端末PT2との間にWi-Fi接続を確立させるためには、図5のケースAと同様の操作A1,A2等が、プリンタPR及び携帯端末PT2に実行される必要がある。 At T150, as at T100, the printer PR repeatedly transmits the Advertise signal (S80 in FIG. 3). At A20, the user performs an operation on the portable terminal PT2 to activate the printer application (trigger of the processing in FIG. 4). In this case, the mobile terminal PT2 receives the Advertise signal from the printer PR (YES in S140 of FIG. 4), but at T152, the BT device name "NP" in the Advertise signal is not stored in the BT device name storage area. (NO in S142). As a result, the mobile terminal PT2 does not send the Wi-Fi connection request signal to the printer PR. In order to establish a Wi-Fi connection between the printer PR and the mobile terminal PT2, the operations A1, A2, etc. similar to the case A in FIG. 5 need to be executed on the printer PR and the mobile terminal PT2. be.

(第1実施例の効果)
プリンタPRは、BT通信を実行して、Advertise信号をブロードキャスト送信することを繰り返す(図6のT100)。これにより、Advertise信号が携帯端末PT1によって受信され、携帯端末PT1からプリンタPRにWi-Fi接続要求信号が送信され(T120)、プリンタPRと携帯端末PT1との間にWi-Fi接続が確立される(T122)。このように、プリンタPRと携帯端末PT1とは、BT通信を実行した後に、Wi-Fiネットワークを適切に形成することができ、この結果、Wi-Fiネットワークを利用して、印刷データの通信を適切に実行することができる。
(Effect of the first embodiment)
The printer PR repeatedly performs BT communication and broadcasts an Advertise signal (T100 in FIG. 6). As a result, the Advertise signal is received by the mobile terminal PT1, a Wi-Fi connection request signal is transmitted from the mobile terminal PT1 to the printer PR (T120), and a Wi-Fi connection is established between the printer PR and the mobile terminal PT1. (T122). In this way, the printer PR and the mobile terminal PT1 can appropriately form a Wi-Fi network after executing BT communication, and as a result, print data can be communicated using the Wi-Fi network. can be executed properly.

また、本実施例では、プリンタPRと携帯端末PT1との間でBT通信が実行されるが、プリンタPRと携帯端末PT1との間にBT方式の論理リンク(即ちBT方式の無線接続)を確立せずに済む。このために、プリンタPRと携帯端末PT1とは、BT方式の論理リンクを確立するための信号を通信せずに済むので、プリンタPRと携帯端末PT1との処理負荷を軽減させ得る。また、プリンタPRのSSIDとパスワードとを含むWi-Fi設定情報がAdvertise信号に含まれているので、プリンタPRと携帯端末PT1とは、Advertise信号のBT通信の後に、Wi-Fi設定情報のBT通信を実行せずに済む。この点でも、プリンタPRと携帯端末PT1との処理負荷を軽減させ得る。 Also, in this embodiment, BT communication is executed between the printer PR and the mobile terminal PT1. can be done without For this reason, the printer PR and the mobile terminal PT1 do not need to communicate a signal for establishing a BT logical link, so the processing load on the printer PR and the mobile terminal PT1 can be reduced. Also, since the Wi-Fi setting information including the SSID and password of the printer PR is included in the Advertise signal, the printer PR and the mobile terminal PT1 perform BT communication of the Wi-Fi setting information after the BT communication of the Advertise signal. without performing any communication. In this respect as well, the processing load on the printer PR and the mobile terminal PT1 can be reduced.

また、本実施例では、携帯端末PT1がプリンタPRのBTデバイス名「NP」を格納している場合、即ち、携帯端末PT1がプリンタPRとのWi-Fi接続を過去に確立している場合には、携帯端末PT1から確立済みプリンタであるプリンタPRにWi-Fi接続要求信号が送信される(図6のケースB1参照)。これにより、Wi-Fi接続操作がプリンタPR及び携帯端末PT1に実行されなくても、プリンタPRと携帯端末PT1との間にWi-Fi接続が確立される。携帯端末PT1のユーザは、確立済みプリンタとのWi-Fi接続を容易に確立させることができる。 Further, in this embodiment, when the mobile terminal PT1 stores the BT device name "NP" of the printer PR, that is, when the mobile terminal PT1 has established a Wi-Fi connection with the printer PR in the past, , a Wi-Fi connection request signal is transmitted from the portable terminal PT1 to the printer PR, which is an established printer (see case B1 in FIG. 6). As a result, the Wi-Fi connection is established between the printer PR and the mobile terminal PT1 even if the Wi-Fi connection operation is not executed on the printer PR and the mobile terminal PT1. The user of the mobile terminal PT1 can easily establish a Wi-Fi connection with the established printer.

一方、携帯端末PT2がプリンタPRのBTデバイス名「NP」を格納していない場合、即ち、携帯端末PT2がプリンタPRとのWi-Fi接続を過去に確立していない場合には、携帯端末PT2からプリンタPRにWi-Fi接続要求信号が送信されない(図6のケースB2参照)。そして、プリンタPRと携帯端末PT2との間にWi-Fi接続を確立するためには、Wi-Fi接続操作がプリンタPR及び携帯端末PT2に実行される必要があり(図5のA1,A2参照)、さらに、SSIDを選択するための操作とパスワードを入力するための操作とが携帯端末PT2に実行される必要がある(図5のA3,A4参照)。これにより、例えば、プリンタPRを利用することがプリンタPRの管理者によって許可されていない携帯端末PT2が、プリンタPRとのWi-Fi接続を確立するのを抑制することができる。このために、プリンタPRのセキュリティを向上させることができる。 On the other hand, if the mobile terminal PT2 does not store the BT device name "NP" of the printer PR, that is, if the mobile terminal PT2 has not established a Wi-Fi connection with the printer PR in the past, the mobile terminal PT2 A Wi-Fi connection request signal is not sent to the printer PR from the printer PR (see case B2 in FIG. 6). In order to establish a Wi-Fi connection between the printer PR and the mobile terminal PT2, a Wi-Fi connection operation must be performed on the printer PR and the mobile terminal PT2 (see A1 and A2 in FIG. 5). ), and furthermore, an operation for selecting an SSID and an operation for inputting a password need to be executed on the portable terminal PT2 (see A3 and A4 in FIG. 5). As a result, for example, the mobile terminal PT2, which is not permitted to use the printer PR by the administrator of the printer PR, can be prevented from establishing a Wi-Fi connection with the printer PR. Therefore, the security of the printer PR can be improved.

また、各携帯端末PT1,PT2は、BTデバイス名格納領域80を備えており、プリンタPRのBTデバイス名「NP」がBTデバイス名格納領域80に格納されているのか否かを判断し(図4のS142)、判断結果に応じて、その後の処理を変える。従って、プリンタPRは、BTデバイス名格納領域を備えずに済み、さらに、判断処理を実行せずに済む。このために、プリンタPRの処理負荷を低減させ得る。 Each mobile terminal PT1, PT2 has a BT device name storage area 80, and determines whether or not the BT device name "NP" of the printer PR is stored in the BT device name storage area 80 (FIG. 4 S142), the subsequent processing is changed according to the judgment result. Therefore, the printer PR does not have to have a BT device name storage area and does not need to execute determination processing. Therefore, the processing load on the printer PR can be reduced.

(対応関係)
プリンタPR、携帯端末PT1,PT2が、それぞれ、「第1の通信機器」、「第2の通信機器」の一例である。BTデバイス名「NP」が、「第1の機器識別情報」の一例である。プリンタPRから見ると、携帯端末PT1が、「第3の通信機器」の一例である。携帯端末PT1から見ると、プリンタPR、BTデバイス名「NP」が、それぞれ、「第
3の通信機器」、「第3の機器識別情報」の一例である。Wi-Fi方式、Wi-FiI/F20,60が、それぞれ、「第1の通信方式」、「第1のインターフェース」の一例である。BT方式、BTI/F22,62が、それぞれ、「第2の通信方式」、「第2のインターフェース」の一例である。Advertise信号、Wi-Fi接続要求信号が、それぞれ、「トリガ信号」、「無線接続要求」の一例である。BTI/F22のOFF状態、ON状態が、それぞれ、「第1の状態」、「第2の状態」の一例である。また、図6のT122で確立されるWi-Fi接続、図5のT42で確立されるWi-Fi接続が、それぞれ、「第1の無線接続」、「第2の無線接続」の一例である。図6のT100のAdvertise信号内のSSID「X2」とパスワード「PS」とが、「ネットワーク関係情報」の一例である。
(correspondence relationship)
The printer PR and the mobile terminals PT1 and PT2 are examples of the "first communication device" and the "second communication device", respectively. The BT device name "NP" is an example of "first device identification information". When viewed from the printer PR, the portable terminal PT1 is an example of a "third communication device". When viewed from the mobile terminal PT1, the printer PR and the BT device name "NP" are examples of the "third communication device" and the "third device identification information", respectively. The Wi-Fi system and Wi-Fi I/Fs 20 and 60 are examples of the "first communication system" and the "first interface", respectively. The BT system and the BTI/Fs 22 and 62 are examples of the "second communication system" and the "second interface", respectively. The Advertise signal and the Wi-Fi connection request signal are examples of the "trigger signal" and the "wireless connection request", respectively. The OFF state and ON state of the BTI/F 22 are examples of the "first state" and the "second state", respectively. The Wi-Fi connection established at T122 in FIG. 6 and the Wi-Fi connection established at T42 in FIG. 5 are examples of the "first wireless connection" and the "second wireless connection", respectively. . The SSID “X2” and the password “PS” in the Advertise signal of T100 in FIG. 6 are an example of “network-related information”.

(第2実施例)
第1実施例と異なる点を中心に説明する。第1実施例では、プリンタPRからブロードキャスト送信されるAdvertise信号は、プリンタPRのBTデバイス名「NP」と、現行SSIDと、パスワードと、を含む(図3のS80)。本実施例では、Advertise信号は、BTデバイス名「NP」を含むが、現行SSIDとパスワードとを含まない。この点が、第1実施例とは大きく異なる。
(Second embodiment)
The description will focus on the differences from the first embodiment. In the first embodiment, the Advertise signal broadcasted from the printer PR includes the BT device name "NP" of the printer PR, the current SSID, and the password (S80 in FIG. 3). In this example, the Advertise signal contains the BT device name "NP" but does not contain the current SSID and password. This point is greatly different from the first embodiment.

(プリンタPRのWi-FiI/F関連処理;図7)
本実施例では、図2に代えて、図7のWi-FiI/F関連処理が実行される。S2は、図2のS2と同様である。図2では、S2が終了するとS4が実行されるが、図7では、S2が終了するとS10に進む。
(Wi-Fi I/F related processing of printer PR; FIG. 7)
In this embodiment, instead of FIG. 2, the Wi-Fi I/F related processing of FIG. 7 is executed. S2 is the same as S2 in FIG. In FIG. 2, S4 is executed when S2 ends, but in FIG. 7, when S2 ends, the process proceeds to S10.

S10は、図2のS10と同様である。S10でYESの場合、CPU32は、S11を実行する。S11は、図2のS4と同様である。その後に実行されるS12~S32は、図2のS12~S32と同様である。S34Aでは、CPU32は、プリンタPRの動作状態をG/O状態からデバイス状態に移行させる(即ちG/O状態を停止する)。これにより、プリンタPRの消費電力を低減させることができる。S34Aでは、CPU32は、さらに、Wi-FiI/F20をON状態からOFF状態に変更する。これにより、プリンタPRの消費電力を低減させることができる。S34Aでは、さらに、CPU32は、新たなSSIDを生成して、メモリ34内の古いSSIDに代えて、新たなSSIDをメモリ34に格納させる。S34Aが終了すると、S10に戻る。 S10 is the same as S10 in FIG. In the case of YES in S10, the CPU 32 executes S11. S11 is the same as S4 in FIG. S12 to S32 executed thereafter are the same as S12 to S32 in FIG. In S34A, the CPU 32 shifts the operating state of the printer PR from the G/O state to the device state (that is, stops the G/O state). As a result, the power consumption of the printer PR can be reduced. In S34A, the CPU 32 further changes the Wi-Fi I/F 20 from the ON state to the OFF state. As a result, the power consumption of the printer PR can be reduced. In S34A, the CPU 32 also generates a new SSID and causes the memory 34 to store the new SSID in place of the old SSID in the memory 34 . When S34A ends, the process returns to S10.

また、S40Aでは、CPU32は、Wi-Fi接続操作が実行されることなく(S10でNO)、BTI/F関連処理から所定の通知(図3のS90参照)を取得することを監視する。以下では、プリンタPRとのWi-Fi接続が確立された携帯端末のことを「確立済み端末」と呼ぶ。所定の通知は、BT通信によって確立済み端末からScan Request信号を受信する場合に、BTI/F関連処理からWi-FiI/F関連処理に供給される通知である。CPU32は、所定の通知を取得する場合に、S40AでYESと判断して、S42に進む。 Also, in S40A, the CPU 32 monitors acquisition of a predetermined notification (see S90 in FIG. 3) from the BTI/F related process without executing the Wi-Fi connection operation (NO in S10). Hereinafter, a portable terminal that has established a Wi-Fi connection with the printer PR will be referred to as an "established terminal". The predetermined notification is a notification supplied from the BTI/F related process to the Wi-Fi I/F related process when a Scan Request signal is received from an established terminal via BT communication. When acquiring the predetermined notification, the CPU 32 determines YES in S40A and proceeds to S42.

S42は、S11と同様である。S44では、CPU32は、確立済み端末である携帯端末から、Wi-FiI/F20を介して、現行SSIDを含むWi-Fi接続要求信号を受信するのかを判断する。CPU32は、現行SSIDを含むWi-Fi接続要求信号を受信した場合には、S44でYESと判断して、S50に進む。一方、CPU32は、S42が終了してから所定時間が経過するまでに現行SSIDを含むWi-Fi接続要求信号を受信しなかった場合には、S44でNOと判断し、S50~S54をスキップしてS56Aに進む。S50~S54は、図2のS50~S54と同様である。S56Aは、S34Aと同様である。S56Aが終了すると、S10に戻る。 S42 is the same as S11. In S44, the CPU 32 determines whether or not to receive a Wi-Fi connection request signal including the current SSID from the mobile terminal, which is an already-established terminal, via the Wi-Fi I/F 20 . When the CPU 32 receives the Wi-Fi connection request signal including the current SSID, it determines YES in S44 and proceeds to S50. On the other hand, if the CPU 32 does not receive the Wi-Fi connection request signal including the current SSID within a predetermined period of time from the end of S42, it determines NO in S44 and skips S50 to S54. to proceed to S56A. S50 to S54 are the same as S50 to S54 in FIG. S56A is similar to S34A. When S56A ends, the process returns to S10.

(プリンタPRのBTI/F関連処理;図3)
続いて、図3を参照して、本実施例のBTI/F関連処理の内容を説明する。S70~S74は、第1実施例と同様である。S80では、プリンタPRのCPU32は、送信元を示す情報としてBTデバイス名「NP」を含むAdvertise信号をブロードキャスト送信する。ただし、Advertise信号は、現行SSIDとパスワードとを含まない。S80が終了すると、S82に進む。
(BTI/F-related processing of printer PR; FIG. 3)
Next, with reference to FIG. 3, the contents of the BTI/F-related processing of this embodiment will be described. S70 to S74 are the same as in the first embodiment. In S80, the CPU 32 of the printer PR broadcasts an Advertise signal including the BT device name "NP" as information indicating the transmission source. However, the Advertise signal does not contain the current SSID and password. When S80 ends, the process proceeds to S82.

S82では、CPU32は、携帯端末から、BTI/F22を介して、Scan Request信号(以下では「Scan_Req信号」と記載する)を受信したのか否かを判断する。Scan_Req信号は、Advertise信号を受信した携帯端末が確立済み端末である場合に、携帯端末から送信される信号である。Scan_Req信号は、ユニキャスト信号であり、送信先を示す情報としてプリンタPRのBTデバイス名「NP」を含むと共に、送信元を示す情報として携帯端末のBTデバイス名(例えば携帯端末PT1のBTデバイス名「N1」)を含む。Scan_Req信号は、SSID及びパスワードを含むWi-Fi設定情報をプリンタPRに要求するための信号である。特に、CPU32は、論理リンクを確立しなくても、Scan_Req信号を受信することができる。即ち、Scan_Req信号は、論理リンクを確立するための最上位層の通信が実行されずに、当該最上位層よりも下位層の通信が実行されて、外部から受信される。CPU32は、Scan_Req信号を受信した場合には、S82でYESと判断して、S90に進む。一方、CPU32は、S80が終了してから所定時間が経過するまでにScan_Req信号を受信しなかった場合には、S82でNOと判断して、S90,S92をスキップしてS70に戻る。 In S82, the CPU 32 determines whether or not a Scan Request signal (hereinafter referred to as a "Scan_Req signal") has been received from the mobile terminal via the BTI/F 22. The Scan_Req signal is a signal transmitted from a mobile terminal when the mobile terminal that has received the Advertise signal is an established terminal. The Scan_Req signal is a unicast signal and includes the BT device name "NP" of the printer PR as information indicating the destination and the BT device name of the mobile terminal (for example, the BT device name of the mobile terminal PT1) as information indicating the transmission source. "N1"). The Scan_Req signal is a signal for requesting Wi-Fi setting information including SSID and password from the printer PR. In particular, the CPU 32 can receive the Scan_Req signal without establishing a logical link. That is, the Scan_Req signal is received from the outside after the communication of the layer lower than the top layer is executed without executing the communication of the highest layer for establishing the logical link. When the Scan_Req signal is received, the CPU 32 determines YES in S82 and proceeds to S90. On the other hand, if the CPU 32 does not receive the Scan_Req signal within a predetermined period of time from the end of S80, it determines NO in S82, skips S90 and S92, and returns to S70.

S90では、CPU32は、Wi-FiI/F関連処理(図7参照)に所定の通知を供給する。これにより、Wi-FiI/F20がON状態に変更され、プリンタPRの動作状態がG/O状態に移行される(図7のS40AでYES、S42)。 In S90, the CPU 32 supplies a predetermined notification to the Wi-Fi I/F related process (see FIG. 7). As a result, the Wi-Fi I/F 20 is changed to the ON state, and the operating state of the printer PR is shifted to the G/O state (YES in S40A of FIG. 7, S42).

S92では、CPU32は、BTI/F22を介して、Scan_Req信号の送信元の携帯端末にScan Response信号(以下では「Scan_Res信号」と記載する)を送信する。Scan_Res信号は、Scan_Req信号に対する応答信号であり、現行SSIDと所定のパスワード(即ちプリンタPRに予め設定されている固定の文字列)とを含む。また、Scan_Res信号は、ユニキャスト信号であり、送信先を示す情報として携帯端末のBTデバイス名(即ち、Scan_Req信号内の送信元のBTデバイス名)を含むと共に、送信元を示す情報としてプリンタPRのBTデバイス名「NP」を含む。CPU32は、論理リンクを確立することなく、Scan_Res信号を送信する。即ち、Scan_Res信号は、論理リンクを確立するための最上位層の通信が実行されずに、当該最上位層よりも下位層の通信が実行されて、外部に送信される。S92が終了すると、S70に戻る。 In S92, the CPU 32 transmits a Scan Response signal (hereinafter referred to as a "Scan_Res signal") to the mobile terminal that transmitted the Scan_Req signal via the BTI/F22. The Scan_Res signal is a response signal to the Scan_Req signal, and includes the current SSID and a predetermined password (that is, a fixed character string preset in the printer PR). The Scan_Res signal is a unicast signal, and includes the BT device name of the mobile terminal (that is, the BT device name of the sender in the Scan_Req signal) as information indicating the destination, and the printer PR as information indicating the sender. BT device name "NP". CPU 32 transmits the Scan_Res signal without establishing a logical link. That is, the Scan_Res signal is transmitted to the outside after communication in a layer lower than the highest layer is executed without executing the communication in the highest layer for establishing the logical link. When S92 ends, the process returns to S70.

(携帯端末の処理;図4)
続いて、図4を参照して、本実施例の携帯端末PT1の処理の内容を説明する。S100~S120、S140、及び、S142は、第1実施例と同様である。携帯端末PT1のCPU72は、S142でYESの場合に、S144において、Scan_Req信号を確立済みプリンタであるプリンタPRにユニキャスト送信する。これにより、Scan_Req信号は、プリンタPRによって受信され得る(図3のS82でYES参照)。
(Processing of mobile terminal; Fig. 4)
Next, with reference to FIG. 4, the details of the processing of the mobile terminal PT1 of this embodiment will be described. S100 to S120, S140 and S142 are the same as in the first embodiment. If S142 is YES, the CPU 72 of the mobile terminal PT1 unicasts a Scan_Req signal to the printer PR, which is an established printer, in S144. This allows the Scan_Req signal to be received by the printer PR (see YES in S82 of FIG. 3).

次いで、S146では、CPU72は、確立済みプリンタであるプリンタPRから、BTI/F62を介して、Scan_Res信号(図3のS92参照)を受信したのか否かを判断する。CPU72は、Scan_Res信号を受信した場合には、S146でYESと判断して、S148に進む。一方、CPU72は、S144が終了してから所定時間
が経過するまでにScan_Res信号を受信しなかった場合には、S146でNOと判断し、S148~S154をスキップして、S100に戻る。S148~S154は、第1実施例と同様である。
Next, in S146, the CPU 72 determines whether or not a Scan_Res signal (see S92 in FIG. 3) has been received from the printer PR, which is an established printer, via the BTI/F 62. When the Scan_Res signal is received, the CPU 72 determines YES in S146 and proceeds to S148. On the other hand, if the CPU 72 does not receive the Scan_Res signal within a predetermined period of time from the end of S144, it determines NO in S146, skips S148 to S154, and returns to S100. S148 to S154 are the same as in the first embodiment.

(ケースC:図8)
続いて、図8及び図9を参照して、本実施例の具体的なケースについて説明する。図8のケースCの初期状態は、図5のケースAの初期状態と同様である。図5のケースAと異なる点を中心として、ケースCの内容を説明する。
(Case C: Fig. 8)
Next, a specific case of this embodiment will be described with reference to FIGS. 8 and 9. FIG. The initial state of case C in FIG. 8 is similar to the initial state of case A in FIG. The contents of case C will be described, focusing on the differences from case A in FIG.

プリンタPRは、電源がONされる場合(A0)に、T202でSSIDを生成するが、Wi-FiI/F20をOFF状態に維持し、さらに、G/O状態に移行しない(即ち図5のT4を実行しない)。このために、プリンタPRの消費電力を低減させることができる。 When the power is turned on (A0), the printer PR generates an SSID in T202, but keeps the Wi-Fi I/F 20 in the OFF state and does not shift to the G/O state (that is, T4 in FIG. 5). ). Therefore, the power consumption of the printer PR can be reduced.

プリンタPRは、Wi-Fi接続操作がプリンタPRに実行される場合(A1)に、T204において、Wi-FiI/F20をON状態に変更し、G/O状態に移行する(図7のS10でYES、S11)。T210は、図5のT10と同様である。携帯端末PT1に実行される各操作A1~A4は、図5と同様である。また、T220~T270は、図5のT20~T70と同様である。T272では、プリンタPRは、デバイス状態に移行し、Wi-FiI/F20をOFF状態に変更し、SSID「X2」を生成する(図7のS34A)。T272が実行されるので、プリンタPRの消費電力を低減させることができる。 When the printer PR executes the Wi-Fi connection operation (A1), the printer PR changes the Wi-Fi I/F 20 to the ON state in T204 and shifts to the G/O state (in S10 of FIG. 7). YES, S11). T210 is the same as T10 in FIG. Each operation A1 to A4 executed on the portable terminal PT1 is the same as in FIG. Also, T220 to T270 are the same as T20 to T70 in FIG. At T272, the printer PR shifts to the device state, changes the Wi-Fi I/F 20 to the OFF state, and generates SSID "X2" (S34A in FIG. 7). Since T272 is executed, the power consumption of the printer PR can be reduced.

(ケースD1;図9)
図9のケースD1は、図8のケースCの続きであり、Wi-FiI/F20がOFF状態であり(図8のT272参照)、BTI/F22がON状態である(T246参照)。また、携帯端末PT1のBTデバイス名格納領域80には、確立済みプリンタであるプリンタPRのBTデバイス名「NP」が格納されている(T250参照)。図6のケースB1と異なる点を中心として、ケースD1の内容を説明する。
(Case D1; FIG. 9)
Case D1 in FIG. 9 is a continuation of case C in FIG. 8, in which the Wi-Fi I/F 20 is in the OFF state (see T272 in FIG. 8) and the BTI/F 22 is in the ON state (see T246). The BT device name storage area 80 of the portable terminal PT1 stores the BT device name "NP" of the printer PR, which is an established printer (see T250). The contents of case D1 will be described, focusing on the differences from case B1 in FIG.

T300のAdvertise信号は、送信元を示す情報としてプリンタPRのBTデバイス名「NP」を含むが、SSID「X2」とパスワード「PS」とを含まない。携帯端末PT1に実行される操作A10は、図6と同様である。T302は、図6のT102と同様である。 The Advertise signal of T300 contains the BT device name "NP" of the printer PR as information indicating the transmission source, but does not contain the SSID "X2" and the password "PS". The operation A10 performed on the mobile terminal PT1 is the same as in FIG. T302 is the same as T102 in FIG.

T310では、携帯端末PT1は、Scan_Req信号をプリンタPRに送信する(図4のS144)。Scan_Req信号は、送信先を示す情報としてBTデバイス名「NP」を含むと共に、送信元を示す情報としてBTデバイス名「N1」を含む。 At T310, the portable terminal PT1 transmits a Scan_Req signal to the printer PR (S144 in FIG. 4). The Scan_Req signal includes the BT device name "NP" as information indicating the destination and the BT device name "N1" as information indicating the source.

プリンタPRは、携帯端末PT1からScan_Req信号を受信する場合に、T312において、Wi-FiI/F20をON状態に変更し、G/O状態に移行する(図3のS82でYES、S90、図7のS40AでYES、S42)。そして、T314では、プリンタPRは、Scan_Res信号を携帯端末PT1に送信する。Scan_Res信号は、送信先を示す情報としてBTデバイス名「N1」を含むと共に、送信元を示す情報としてBTデバイス名「NP」を含む。また、Scan_Res信号は、SSID「X2」とパスワード「PS」とを含む。T320~T340は、図6のT120~T140と同様である。T342では、プリンタPRは、デバイス状態に移行し(即ちG/O状態を停止し)、Wi-FiI/F20をOFF状態に変更し、SSID「X3」を生成する(図7のS56A)。T342が実行されるので、プリンタPRの消費電力を低減させることができる。 When the printer PR receives the Scan_Req signal from the mobile terminal PT1, in T312, the Wi-Fi I/F 20 is changed to the ON state, and the printer PR shifts to the G/O state (YES in S82 in FIG. 3, S90 in FIG. YES in S40A, S42). At T314, the printer PR transmits a Scan_Res signal to the mobile terminal PT1. The Scan_Res signal includes the BT device name "N1" as information indicating the transmission destination and the BT device name "NP" as information indicating the transmission source. Also, the Scan_Res signal includes SSID “X2” and password “PS”. T320 to T340 are the same as T120 to T140 in FIG. At T342, the printer PR shifts to the device state (that is, stops the G/O state), changes the Wi-Fi I/F 20 to the OFF state, and generates SSID "X3" (S56A in FIG. 7). Since T342 is executed, the power consumption of the printer PR can be reduced.

(ケースD2)
ケースD2もケースCの続きである。T350のAdvertise信号は、SSID「X2」とパスワード「PS」とを含まない。A20は、図6のケースB2と同様であり、T352は、図6のT152と同様である。携帯端末PT2は、Scan_Req信号をプリンタPRに送信せず(図4のS142でNO)、この結果、Wi-Fi接続要求信号をプリンタPRに送信しない。
(Case D2)
Case D2 is also a continuation of case C. The Advertise signal of T350 does not include SSID "X2" and password "PS". A20 is the same as case B2 in FIG. 6, and T352 is the same as T152 in FIG. The portable terminal PT2 does not send the Scan_Req signal to the printer PR (NO in S142 of FIG. 4), and as a result does not send the Wi-Fi connection request signal to the printer PR.

(第2実施例の効果)
本実施例でも、プリンタPRと携帯端末PT1とは、BT通信を実行した後に、Wi-Fiネットワークを適切に形成することができる(図9のケースD1参照)。他にも、第1実施例と同様の効果が得られる。また、本実施例では、プリンタPRのSSIDとパスワードとを含むWi-Fi設定情報がAdvertise信号に含まれない。このために、Wi-Fi設定情報が、例えば、プリンタPRを利用することがプリンタPRの管理者によって許可されていない携帯端末PT2に送信されるのを抑制することができる。このために、プリンタPRのセキュリティを向上させることができる。なお、本実施例では、Scan_Req信号、Scan_Res信号が、それぞれ、「所定の要求信号」、「応答信号」の一例である。また、Scan_Res信号に含まれるSSIDとパスワードとが、「ネットワーク関係情報」の一例である。
(Effect of the second embodiment)
In this embodiment as well, the printer PR and the mobile terminal PT1 can appropriately form a Wi-Fi network after executing BT communication (see case D1 in FIG. 9). In addition, the same effects as those of the first embodiment can be obtained. Also, in this embodiment, the Wi-Fi setting information including the SSID and password of the printer PR is not included in the Advertise signal. For this reason, it is possible to prevent the Wi-Fi setting information from being transmitted to, for example, the mobile terminal PT2, which is not permitted to use the printer PR by the administrator of the printer PR. Therefore, the security of the printer PR can be improved. In this embodiment, the Scan_Req signal and the Scan_Res signal are examples of the "predetermined request signal" and the "response signal", respectively. Also, the SSID and password included in the Scan_Res signal are an example of "network related information".

(第3実施例)
上記の各実施例と異なる点を中心に説明する。携帯端末(例えばPT1)は、上記の各実施例では、BTデバイス名格納領域(例えば80)を備えるが、本実施例では、BTデバイス名格納領域を備えていない。そして、プリンタPRのメモリ34は、確立済み端末のBTデバイス名を格納するためのBTデバイス名格納領域40を備える(図1参照)。また、メモリ34は、送信フラグ38を格納しない。
(Third embodiment)
The description will focus on the differences from the above embodiments. The mobile terminal (for example, PT1) has a BT device name storage area (for example, 80) in each of the above embodiments, but does not have a BT device name storage area in this embodiment. The memory 34 of the printer PR has a BT device name storage area 40 for storing the BT device name of the established terminal (see FIG. 1). Also, the memory 34 does not store the transmission flag 38 .

(プリンタPRのWi-FiI/F関連処理;図7)
続いて、図7を参照して、本実施例のWi-FiI/F関連処理の内容を説明する。S2~S20は、第2実施例と同様である。S24では、プリンタPRのCPU32は、Wi-Fi接続を利用して、携帯端末から、Wi-FiI/F20を介して、携帯端末のBTデバイス名を受信する。そして、CPU32は、受信済みのBTデバイス名をBTデバイス名格納領域40に格納させる。これにより、確立済み端末のBTデバイス名がBTデバイス名格納領域40に格納される。また、CPU32は、S24が終了すると、S26及びS28を実行せずに、S30に進む。S30~S34A、及び、S40A~S56Aは、第2実施例と同様である。
(Wi-Fi I/F related processing of printer PR; FIG. 7)
Next, with reference to FIG. 7, the contents of the Wi-Fi I/F-related processing of this embodiment will be described. S2 to S20 are the same as in the second embodiment. In S24, the CPU 32 of the printer PR uses the Wi-Fi connection to receive the BT device name of the mobile terminal via the Wi-Fi I/F 20 from the mobile terminal. Then, the CPU 32 stores the received BT device name in the BT device name storage area 40 . As a result, the BT device name of the established terminal is stored in the BT device name storage area 40 . Further, when S24 ends, the CPU 32 proceeds to S30 without executing S26 and S28. S30 to S34A and S40A to S56A are the same as in the second embodiment.

(プリンタPRのBTI/F関連処理;図3)
続いて、図3を参照して、本実施例のBTI/F関連処理の内容を説明する。S70は、第1及び第2実施例と同様である。S72では、CPU32は、メモリ34内のBTデバイス名格納領域40に1個以上のBTデバイス名が格納されているのか否かを判断する。CPU32は、1個以上のBTデバイス名が格納されている場合には、S72でYESと判断して、S74に進み、1個のBTデバイス名も格納されていない場合には、S72でNOと判断し、S74をスキップして、S70に戻る。
(BTI/F-related processing of printer PR; FIG. 3)
Next, with reference to FIG. 3, the contents of the BTI/F-related processing of this embodiment will be described. S70 is the same as in the first and second embodiments. In S72, the CPU 32 determines whether or not one or more BT device names are stored in the BT device name storage area 40 in the memory . If one or more BT device names are stored, the CPU 32 determines YES in S72 and proceeds to S74, and if not even one BT device name is stored, determines NO in S72. Then, skip S74 and return to S70.

S80及びS82は、第2実施例と同様である。CPU32は、S82でYESと判断する場合に、S84において、Scan_Req信号に含まれる送信元のBTデバイス名が、メモリ34内のBTデバイス名格納領域40に格納されているのか否かを判断する。CPU32は、送信元のBTデバイス名がBTデバイス名格納領域40に格納されている場合、即ち、Scan_Req信号の送信元の携帯端末が確立済み端末である場合には、
S84でYESと判断して、S90に進む。一方、CPU32は、送信元のBTデバイス名がBTデバイス名格納領域40に格納されていない場合、即ち、Scan_Req信号の送信元の携帯端末とのWi-Fi接続が過去に確立されていない場合には、S84でNOと判断し、S90及びS92をスキップして、S70に戻る。S90及びS92は、第2実施例と同様である。
S80 and S82 are the same as in the second embodiment. When determining YES in S82, the CPU 32 determines in S84 whether or not the BT device name of the transmission source included in the Scan_Req signal is stored in the BT device name storage area 40 in the memory . If the BT device name of the transmission source is stored in the BT device name storage area 40, that is, if the mobile terminal that is the transmission source of the Scan_Req signal is an established terminal, the CPU 32
YES is determined in S84, and the process proceeds to S90. On the other hand, when the BT device name of the transmission source is not stored in the BT device name storage area 40, that is, when the Wi-Fi connection with the mobile terminal of the transmission source of the Scan_Req signal has not been established in the past, the CPU 32 determines NO in S84, skips S90 and S92, and returns to S70. S90 and S92 are the same as in the second embodiment.

(携帯端末の処理;図4)
続いて、図4を参照して、本実施例の携帯端末PT1の処理の内容を説明する。S100~S114は、第1及び第2実施例と同様である。S116では、携帯端末PT1のCPU72は、S114で確立されたWi-Fi接続を利用して、Wi-FiI/F60を介して、携帯端末PT1のBTデバイス名「N1」をプリンタPRに送信する(図7のS24)。S118、S120、及び、S140は、第1及び第2実施例と同様である。携帯端末PT1のCPU72は、S140でYESの場合に、S142を実行せずに、S144に進む。即ち、CPU72は、Advertise信号の送信元のプリンタPRが確立済みプリンタであるのか否かに関わらず、S144において、Scan_Req信号をプリンタPRに送信する。S146~S154は、第2実施例と同様である。
(Processing of mobile terminal; Fig. 4)
Next, with reference to FIG. 4, the details of the processing of the mobile terminal PT1 of this embodiment will be described. S100 to S114 are the same as in the first and second embodiments. In S116, the CPU 72 of the mobile terminal PT1 uses the Wi-Fi connection established in S114 to transmit the BT device name "N1" of the mobile terminal PT1 to the printer PR via the Wi-Fi I/F 60 ( S24 in FIG. 7). S118, S120 and S140 are the same as in the first and second embodiments. If S140 is YES, the CPU 72 of the mobile terminal PT1 proceeds to S144 without executing S142. In other words, the CPU 72 transmits the Scan_Req signal to the printer PR in S144 regardless of whether the printer PR that transmitted the Advertise signal is an established printer. S146 to S154 are the same as in the second embodiment.

(ケースE:図10)
続いて、図10及び図11を参照して、本実施例の具体的なケースについて説明する。図10のケースEの初期状態は、図5のケースAの初期状態(即ち図8のケースCの初期状態)と同様である。図8のケースCと異なる点を中心として、ケースEの内容を説明する。
(Case E: Fig. 10)
Next, a specific case of this embodiment will be described with reference to FIGS. 10 and 11. FIG. The initial state of case E in FIG. 10 is similar to the initial state of case A in FIG. 5 (that is, the initial state of case C in FIG. 8). The details of case E will be described, focusing on the differences from case C in FIG.

A0~A4は、図8と同様であり、T402~T442は、図8のT202~T242と同様である。T444では、携帯端末PT1は、T442で確立されたWi-Fi接続を利用して、携帯端末PT1のBTデバイス名「N1」をプリンタPRに送信する(図4のS116)。 A0 to A4 are the same as in FIG. 8, and T402 to T442 are the same as T202 to T242 in FIG. At T444, the mobile terminal PT1 uses the Wi-Fi connection established at T442 to transmit the BT device name "N1" of the mobile terminal PT1 to the printer PR (S116 in FIG. 4).

プリンタPRは、携帯端末PT1からBTデバイス名「N1」を受信する場合に、T445において、BTデバイス名「N1」をBTデバイス名格納領域40に格納する(図7のS24)。この結果、T446において、プリンタPRは、BTI/F22をOFF状態からON状態に変更する(図3のS70でYES、S72でYES、S74)。T460~T472は、図8のT260~S272と同様である。 When the printer PR receives the BT device name "N1" from the portable terminal PT1, it stores the BT device name "N1" in the BT device name storage area 40 at T445 (S24 in FIG. 7). As a result, in T446, the printer PR changes the BTI/F 22 from the OFF state to the ON state (YES in S70, YES in S72, and S74 in FIG. 3). T460 to T472 are the same as T260 to S272 in FIG.

(ケースF1;図11)
図11のケースF1は、図10のケースEの続きであり、Wi-FiI/F20がOFF状態であり(図10のT472参照)、BTI/F22がON状態である(T446参照)。また、プリンタPRのBTデバイス名格納領域40には、確立済み端末である携帯端末PT1のBTデバイス名「N1」が格納されている(T445参照)。図9のケースD1と異なる点を中心として、ケースF1の内容を説明する。
(Case F1; Fig. 11)
Case F1 in FIG. 11 is a continuation of case E in FIG. 10, in which the Wi-Fi I/F 20 is OFF (see T472 in FIG. 10) and the BTI/F 22 is ON (see T446). The BT device name storage area 40 of the printer PR stores the BT device name "N1" of the portable terminal PT1, which is an established terminal (see T445). The contents of case F1 will be described, focusing on the differences from case D1 in FIG.

A10は、図9のケースD1と同様であり、T500及びT510は、図9のT300及びT310と同様である。プリンタPRは、携帯端末PT1からScan_Req信号を受信する場合に、T511において、Scan_Req信号内の送信元のBTデバイス名「N1」がBTデバイス名格納領域40に格納されていると判断する(図3のS84でYES)。従って、T512では、プリンタPRは、Wi-FiI/F20をON状態に変更し、G/O状態に移行する(図3のS90、図7のS40AでYES、S42)。T514~T542は、図9のT314~T342と同様である。 A10 is similar to case D1 in FIG. 9, and T500 and T510 are similar to T300 and T310 in FIG. When the printer PR receives the Scan_Req signal from the mobile terminal PT1, it determines at T511 that the BT device name "N1" of the sender in the Scan_Req signal is stored in the BT device name storage area 40 (see FIG. 3). YES in S84). Therefore, in T512, the printer PR changes the Wi-Fi I/F 20 to the ON state and shifts to the G/O state (S90 in FIG. 3, YES in S40A in FIG. 7, S42). T514 to T542 are the same as T314 to T342 in FIG.

(ケースF2)
ケースF2もケースEの続きである。プリンタPRのBTデバイス名格納領域40には、携帯端末PT2のBTデバイス名「N2」が格納されていない。T550は、図9のT350と同様である、携帯端末PT2は、A20の操作が実行され、プリンタPRからAdvertise信号を受信する場合に、T560において、Scan_Req信号をプリンタPRに送信する(図4のS140でYES、S144)。Scan_Req信号は、送信先を示す情報としてBTデバイス名「NP」を含むと共に、送信元を示す情報としてBTデバイス名「N2」を含む。
(Case F2)
Case F2 is also a continuation of case E. The BT device name "N2" of the portable terminal PT2 is not stored in the BT device name storage area 40 of the printer PR. T550 is the same as T350 in FIG. 9. When the operation of A20 is executed and the mobile terminal PT2 receives the Advertise signal from the printer PR, in T560, the Scan_Req signal is sent to the printer PR (see T350 in FIG. 4). YES in S140, S144). The Scan_Req signal includes the BT device name "NP" as information indicating the destination and the BT device name "N2" as information indicating the source.

プリンタPRは、携帯端末PT2からScan_Req信号を受信する場合に、T561において、Scan_Req信号内の送信元のBTデバイス名「N2」がBTデバイス名格納領域40に格納されていないと判断する(図3のS84でNO)。従って、プリンタPRは、Wi-FiI/F20をON状態に変更せず、G/O状態に移行しない。これにより、プリンタPRの消費電力を低減させることができる。また、プリンタPRは、Scan_Res信号を携帯端末PT2に送信しない。この結果、携帯端末PT2は、Wi-Fi接続要求信号をプリンタPRに送信しない(図4のS146でNO)。 When the printer PR receives the Scan_Req signal from the mobile terminal PT2, it determines at T561 that the BT device name "N2" of the sender in the Scan_Req signal is not stored in the BT device name storage area 40 (see FIG. 3). NO in S84). Therefore, the printer PR does not change the Wi-Fi I/F 20 to the ON state and does not shift to the G/O state. As a result, the power consumption of the printer PR can be reduced. Also, the printer PR does not send the Scan_Res signal to the mobile terminal PT2. As a result, the mobile terminal PT2 does not send the Wi-Fi connection request signal to the printer PR (NO in S146 of FIG. 4).

(第3実施例の効果)
本実施例でも、プリンタPRと携帯端末PT1とは、BT通信を実行した後に、Wi-Fiネットワークを適切に形成することができる(図11のケースF1参照)。他にも、第1及び第2実施例と同様の効果が得られる。また、本実施例では、プリンタPRは、携帯端末からScan_Req信号を受信する場合に、Wi-Fi設定情報を含むScan_Res信号を自動的に携帯端末に送信するのではなく、携帯端末が確立済み端末であることに応じて(図3のS84でYES)、Wi-Fi設定情報を含むScan_Res信号を携帯端末に送信する。このために、Wi-Fi設定情報が、例えば、プリンタPRを利用することがプリンタPRの管理者によって許可されていない携帯端末PT2に送信されるのをより抑制することができる。このために、プリンタPRのセキュリティを向上させることができる。
(Effect of the third embodiment)
In this embodiment as well, the printer PR and the mobile terminal PT1 can appropriately form a Wi-Fi network after executing BT communication (see case F1 in FIG. 11). In addition, the same effects as those of the first and second embodiments can be obtained. Further, in this embodiment, when the printer PR receives the Scan_Req signal from the mobile terminal, the printer PR does not automatically send the Scan_Res signal including the Wi-Fi setting information to the mobile terminal. (YES in S84 of FIG. 3), a Scan_Res signal including Wi-Fi setting information is transmitted to the mobile terminal. For this reason, it is possible to further prevent the Wi-Fi setting information from being transmitted to, for example, the mobile terminal PT2, which is not permitted to use the printer PR by the administrator of the printer PR. Therefore, the security of the printer PR can be improved.

また、本実施例では、プリンタPRは、BTデバイス名格納領域40を備えており、携帯端末のBTデバイス名がBTデバイス名格納領域40に格納されているのか否かを判断し(図3のS84)、判断結果に応じて、その後の処理を変える。従って、携帯端末PT1,PT2は、BTデバイス名格納領域を備えずに済み、さらに、判断処理を実行せずに済む。このために、携帯端末PT1,PT2の処理負荷を低減させることができる。なお、本実施例では、携帯端末PT1,PT2のBTデバイス名「N1」,「N2」が、「第2の機器識別情報」の一例である。また、プリンタPRから見ると、携帯端末PT1、BTデバイス名「N1」が、それぞれ、「第3の通信機器」、「第3の機器識別情報」の一例である。 Further, in this embodiment, the printer PR has a BT device name storage area 40, and determines whether or not the BT device name of the portable terminal is stored in the BT device name storage area 40 (see FIG. 3). S84), the subsequent processing is changed according to the judgment result. Therefore, the mobile terminals PT1 and PT2 do not have to have a BT device name storage area and do not need to execute determination processing. Therefore, the processing load on the mobile terminals PT1 and PT2 can be reduced. In this embodiment, the BT device names "N1" and "N2" of the mobile terminals PT1 and PT2 are examples of "second device identification information". Also, from the perspective of the printer PR, the mobile terminal PT1 and the BT device name "N1" are examples of the "third communication device" and the "third device identification information", respectively.

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

(変形例1)各実施例の図3のS80において、プリンタPRは、プリンタPRのBTデバイス名「NP」を含まないAdvertise信号を外部に送信してもよい。そして、携帯端末PT1は、図4のS140において、プリンタPRからAdvertise信号を受信する場合(S140でYES)に、S142~S146を実行せずに、S148を実行してもよい。即ち、「トリガ信号」は、「第1の機器識別情報」を含まなくてもよい。また、本変形例では、「判断処理」を省略可能である。 (Modification 1) In S80 of FIG. 3 in each embodiment, the printer PR may externally transmit an Advertise signal that does not include the BT device name "NP" of the printer PR. Then, when the mobile terminal PT1 receives an Advertise signal from the printer PR in S140 of FIG. 4 (YES in S140), it may execute S148 without executing S142 to S146. That is, the "trigger signal" does not have to include the "first device identification information". Also, in this modified example, the "determination process" can be omitted.

(変形例2)第1及び第2実施例において、プリンタPRは、図2及び図7のS24を実
行しなくてもよい。この場合、例えば、携帯端末PT1は、プリンタPRとBT通信を実行して、プリンタPRからBTデバイス名「NP」を受信してもよい。また、例えば、携帯端末PT1のユーザは、プリンタPRのBTデバイス名「NP」を入力するための操作を携帯端末PT1に実行して、BTデバイス名「NP」をBTデバイス名格納領域80に格納させてもよい。本変形例では、「第2の確立部」及び「機器識別情報送信部」を省略可能であり、「第2の確立処理」及び「機器識別情報受信処理」を省略可能である。
(Modification 2) In the first and second embodiments, the printer PR does not have to execute S24 in FIGS. In this case, for example, the mobile terminal PT1 may perform BT communication with the printer PR and receive the BT device name "NP" from the printer PR. Further, for example, the user of the mobile terminal PT1 executes an operation on the mobile terminal PT1 to input the BT device name "NP" of the printer PR, and stores the BT device name "NP" in the BT device name storage area 80. You may let In this modified example, the “second establishment unit” and “device identification information transmission unit” can be omitted, and the “second establishment process” and “device identification information reception process” can be omitted.

(変形例3)第3実施例では、携帯端末PT1は、図4のS116を実行しなくてもよい。この場合、例えば、プリンタPRは、携帯端末PT1とBT通信を実行して、携帯端末PT1からBTデバイス名「N1」を受信してもよい。また、例えば、携帯端末PT1のユーザは、携帯端末PT1のBTデバイス名「N1」を入力するための操作をプリンタPRに実行して、BTデバイス名「N1」をBTデバイス名格納領域40に格納させてもよい。本変形例では、「第2の確立部」及び「機器識別情報受信部」を省略可能である。 (Modification 3) In the third embodiment, the mobile terminal PT1 does not have to execute S116 of FIG. In this case, for example, the printer PR may perform BT communication with the mobile terminal PT1 and receive the BT device name "N1" from the mobile terminal PT1. Also, for example, the user of the mobile terminal PT1 executes an operation on the printer PR to input the BT device name "N1" of the mobile terminal PT1, and stores the BT device name "N1" in the BT device name storage area 40. You may let In this modified example, the “second establishing unit” and the “device identification information receiving unit” can be omitted.

(変形例4)第1実施例において、プリンタPRのBTI/F22は、CPUとメモリとを備えていてもよい。BTI/F22のメモリは、プログラムと、BTデバイス名「NP」と、を予め格納していてもよい。BTI/F22のCPUは、BTI/F22がON状態である間に、制御部30内のCPU32から指示を受けなくても、BTI/F22のメモリ内のプログラムに従ってBTデバイス名「NP」を外部に送信することを繰り返してもよい。この場合、BTI/F22は、双方向通信を不可能な簡易な構成であってもよい。即ち、BTI/F22は、Scan_Req信号及びScan_Res信号の通信を実行不可能であってもよい。一般的に言うと、「トリガ信号送信部」は、第1実施例のように、「第1の通信機器」の制御部内のCPUが「第2のインターフェース」を制御することによって実現されてもよいし、「第1の通信機器」の制御部内のCPUが「第2のインターフェース」を制御せずに実現されてもよい。より一般的に言うと、「第1の通信機器」は、2個以上のプロセッサ(例えばプリンタPRの制御部30内のCPU32とBTI/F22内のCPU)と、2個以上のメモリ(例えば制御部30内のメモリ34とBTI/F22内のメモリ)と、を備えていてもよく、各プロセッサが各メモリに格納されている各プログラムに従って処理を実行してもよい。 (Modification 4) In the first embodiment, the BTI/F 22 of the printer PR may have a CPU and a memory. The memory of the BTI/F 22 may store the program and the BT device name "NP" in advance. The CPU of the BTI/F 22 outputs the BT device name "NP" to the outside according to the program in the memory of the BTI/F 22 without receiving instructions from the CPU 32 in the control unit 30 while the BTI/F 22 is in the ON state. Sending may be repeated. In this case, the BTI/F 22 may have a simple configuration that does not allow two-way communication. That is, the BTI/F 22 may be incapable of communicating the Scan_Req signal and the Scan_Res signal. Generally speaking, the ``trigger signal transmitter'' may be realized by the CPU in the controller of the ``first communication device'' controlling the ``second interface'' as in the first embodiment. Alternatively, the CPU in the control unit of the "first communication device" may be implemented without controlling the "second interface". More generally speaking, the "first communication device" includes two or more processors (eg, the CPU 32 in the control unit 30 of the printer PR and the CPU in the BTI/F 22) and two or more memories (eg, the control unit). memory 34 in unit 30 and memory in BTI/F 22), and each processor may execute processing according to each program stored in each memory.

(変形例5)第1実施例の図3のS80において、プリンタPRは、パスワードを含まないAdvertise信号を送信してもよい。また、第2及び第3実施例の図3のS92において、プリンタPRは、パスワードを含まないScan_Res信号を送信してもよい。この場合、Advertise信号又はScan_Res信号を受信した携帯端末においてパスワード入力画面が表示されて、パスワードがユーザによって携帯端末に入力される。本変形例では、SSIDのみが、「ネットワーク関係情報」の一例である。 (Modification 5) In S80 of FIG. 3 of the first embodiment, the printer PR may transmit an Advertise signal that does not include a password. Also, in S92 of FIG. 3 of the second and third embodiments, the printer PR may send a Scan_Res signal that does not contain the password. In this case, a password input screen is displayed on the mobile terminal that receives the Advertise signal or the Scan_Res signal, and the user inputs the password into the mobile terminal. In this modified example, only the SSID is an example of "network-related information."

(変形例6)各実施例において、プリンタPRの電源がONされている間に、BTI/F22がON状態に維持されてもよい。そして、プリンタPRは、プリンタPRの電源がONされている間に、Advertise信号を繰り返し送信してもよい。本変形例では、「変更部」を省略可能である。 (Modification 6) In each embodiment, the BTI/F 22 may be kept ON while the power of the printer PR is ON. The printer PR may repeatedly transmit the Advertise signal while the printer PR is powered on. In this modified example, the "change unit" can be omitted.

(変形例7)各実施例では、プリンタPRのパスワードが固定されている情報であるが、プリンタPRのSSIDは、プリンタPRと携帯端末との間のWi-Fi接続が切断される毎に変更される。これに代えて、プリンタPRのSSID及びパスワードの双方が固定されている情報であってもよい。そして、第1実施例の図3のS80において、プリンタPRは、SSIDもパスワードも含まないAdvertise信号を送信してもよい。また、第2及び第3実施例の図3のS92において、プリンタPRは、SSIDもパスワードも含まないScan_Res信号を送信してもよい。この場合、携帯端末PT1は、図4のS114でプリンタPRとのWi-Fi接続が確立される場合に、プリンタPRのS
SID及びパスワードの双方を格納する。そして、携帯端末PT1は、図4のS150において、格納済みのSSID及びパスワードを利用して、プリンタPRとのWi-Fi接続を確立する。即ち、「第1の通信機器」は、ネットワーク関係情報を外部に送信しなくてもよい。
(Modification 7) In each embodiment, the password of the printer PR is information that is fixed, but the SSID of the printer PR is changed each time the Wi-Fi connection between the printer PR and the mobile terminal is disconnected. be done. Alternatively, information in which both the SSID and password of the printer PR are fixed may be used. Then, in S80 of FIG. 3 of the first embodiment, the printer PR may transmit an Advertise signal that does not include the SSID and password. Also, in S92 of FIG. 3 of the second and third embodiments, the printer PR may send a Scan_Res signal that does not include the SSID and password. In this case, when the mobile terminal PT1 establishes a Wi-Fi connection with the printer PR in S114 of FIG.
Stores both the SID and password. Then, in S150 of FIG. 4, the mobile terminal PT1 uses the stored SSID and password to establish a Wi-Fi connection with the printer PR. That is, the "first communication device" does not have to transmit the network-related information to the outside.

(変形例8)第2及び第3実施例の図3のS92において、プリンタPRは、BT方式の論理リンク(即ちBT接続)を携帯端末と確立し、BT接続を利用して、SSID及びパスワードを携帯端末に送信してもよい。即ち、「ネットワーク関係情報」は、第2及び第3実施例のように、第2の通信方式に従った無線接続を利用せずに、外部に送信されてもよいし、本変形例のように、第2の通信方式に従った無線接続を利用して、外部に送信されてもよい。 (Modification 8) In S92 of FIG. 3 of the second and third embodiments, the printer PR establishes a BT logical link (that is, BT connection) with the mobile terminal, and uses the BT connection to enter the SSID and password. can be sent to mobile devices. That is, the "network-related information" may be transmitted to the outside without using the wireless connection according to the second communication method as in the second and third embodiments, or may be transmitted to the outside as in the present modification. Alternatively, it may be transmitted to the outside using a wireless connection according to the second communication method.

(変形例9)プリンタPRは、WFDをサポートしていなくてもよく、その代わりに、いわゆるSoftAPをサポートしていてもよい。この場合、プリンタPRは、図2のS4、図7のS11又はS42において、SoftAPを起動し、図7のS34A及びS56Aにおいて、SoftAPを停止する。 (Modification 9) The printer PR may not support WFD, and instead may support so-called SoftAP. In this case, the printer PR activates SoftAP in S4 of FIG. 2, S11 or S42 of FIG. 7, and stops SoftAP in S34A and S56A of FIG.

(変形例10)「第1(又は第2、第3)の機器識別情報」は、BTデバイス名でなくてもよく、他の識別情報(例えば、MACアドレス、IPアドレス等)であってもよい。 (Modification 10) The "first (or second, third) device identification information" may not be the BT device name, and may be other identification information (eg, MAC address, IP address, etc.) good.

(変形例11)第1実施例では、プリンタPRの電源がONされている間に、Wi-FiI/F20がON状態に維持され、プリンタPRの動作状態がG/O状態を維持される(図2のS4)。これに代えて、プリンタPRは、プリンタPRの電源がONされる際に、送信フラグ38が「ON」を示すのか否かを判断し、送信フラグ38が「ON」を示す場合に、S4の処理を実行し、送信フラグ38が「OFF」を示す場合に、S4の処理を実行しなくてもよい。本変形例では、プリンタPRの電源がONされている間に、Wi-FiI/F20がOFF状態に設定され得るし、プリンタPRの動作状態がデバイス状態に設定され得るので、プリンタPRの消費電力を低減させることができる。 (Modification 11) In the first embodiment, while the printer PR is powered on, the Wi-Fi I/F 20 is maintained in the ON state, and the operating state of the printer PR is maintained in the G/O state ( S4 in FIG. 2). Alternatively, the printer PR determines whether or not the transmission flag 38 indicates "ON" when the power of the printer PR is turned on. When the process is executed and the transmission flag 38 indicates "OFF", the process of S4 may not be executed. In this modification, the Wi-Fi I/F 20 can be set to the OFF state while the power of the printer PR is on, and the operating state of the printer PR can be set to the device state. can be reduced.

(変形例12)各実施例では、「第2のインターフェース」の「第1の状態」は、BTI/F22に電力が供給されていないOFF状態である。これに代えて、「第1の状態」は、BTI/F22に少量の電力が供給されている省電力状態であってもよい。この場合、「第1の状態」は、BTI/F22を介した無線通信を実行可能な状態であってもよいし、BTI/F22を介した無線通信を実行不可能な状態であってもよい。ただし、前者の場合、例えば、「第1の状態」は、「第2の状態」よりも通信速度が遅い状態であってもよい。そして、図3のS74では、BTI/F22の状態が、省電力状態から、省電力状態よりも消費電力が高いON状態に変更されてもよい。同様に、Wi-FiI/F20も、OFF状態に代えて、少量の電力が供給されている省電力状態に設定されてもよい。 (Modification 12) In each embodiment, the “first state” of the “second interface” is an OFF state in which power is not supplied to the BTI/F 22 . Alternatively, the "first state" may be a power saving state in which the BTI/F 22 is supplied with a small amount of power. In this case, the "first state" may be a state in which wireless communication via the BTI/F 22 can be performed, or a state in which wireless communication via the BTI/F 22 cannot be performed. . However, in the former case, for example, the "first state" may be a state in which the communication speed is slower than the "second state". Then, in S74 of FIG. 3, the state of the BTI/F 22 may be changed from the power saving state to the ON state in which power consumption is higher than that of the power saving state. Similarly, the Wi-Fi I/F 20 may be set to a power saving state in which a small amount of power is supplied instead of the OFF state.

(変形例13)「第1のインターフェース」は、Wi-Fi通信を実行するためのI/Fでなくてもよく、無線LANを構築可能な他の通信方式に従った無線通信を実行するためのI/Fであってもよい。また、「第2のインターフェース」は、BT通信を実行するためのI/Fでなくてもよく、例えば、近距離無線通信を実行可能な他の通信方式(例えばTransferJet(登録商標)方式)に従った無線通信を実行するためのI/Fであってもよい。 (Modification 13) The "first interface" does not have to be an I/F for executing Wi-Fi communication, and is for executing wireless communication according to another communication method that can construct a wireless LAN. may be the I/F. Also, the "second interface" does not have to be an I/F for executing BT communication. It may be an I/F for performing wireless communication according to the above.

(変形例14)「第1の通信機器」は、プリンタPRでなくてもよく、例えば、スキャナであってもよい。この場合、スキャナは、例えば、図2及び図7のS30又はS50において、携帯端末PT1から印刷データを受信する代わりに、原稿のスキャンを実行することによって生成されるスキャンデータを携帯端末PT1に送信してもよい。また、「第1
の通信機器」は、プリンタ及びスキャナとは異なる機器(例えば、コピー機、ファクシミリ、電話機、PC、サーバ、携帯端末等)であってもよい。また、「第2の通信機器」は、携帯端末でなくてもよく、他の機器(例えば、プリンタ、スキャナ、コピー機、ファクシミリ、電話機、デスクトップ型PC、サーバ等)であってもよい。
(Modification 14) The "first communication device" may not be the printer PR, and may be, for example, a scanner. In this case, for example, in S30 or S50 of FIGS. 2 and 7, the scanner transmits scan data generated by scanning the document to the mobile terminal PT1 instead of receiving print data from the mobile terminal PT1. You may Also, "First
"Communication equipment" may be equipment other than printers and scanners (eg, copiers, facsimiles, telephones, PCs, servers, mobile terminals, etc.). Also, the "second communication device" may not be a mobile terminal, but may be another device (for example, a printer, a scanner, a copier, a facsimile, a telephone, a desktop PC, a server, etc.).

(変形例15)各実施例では、プリンタPRのCPU32及び携帯端末PT1のCPU72がプログラム(即ちソフトウェア)を実行することによって、図2~図11の各処理が実現される。これに代えて、図2~図11の各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 15) In each embodiment, the CPU 32 of the printer PR and the CPU 72 of the mobile terminal PT1 execute programs (that is, software) to implement the processes shown in FIGS. Alternatively, at least one of the processes in FIGS. 2 to 11 may be implemented by hardware such as logic circuits.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 In addition, the technical elements described in this specification or in the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques exemplified in this specification or drawings achieve multiple purposes at the same time, and achieving one of them has technical utility in itself.

2:通信システム、PR:プリンタ、12:操作部、14:表示部、16:印刷実行部、20:Wi-FiI/F(インターフェース)、22:BTI/F、26:メモリ、30:制御部、32:CPU、34:メモリ、36:プログラム、38:送信フラグ、40:BTデバイス名格納領域、PT1,PT2:携帯端末、52:操作部、54:表示部、60:Wi-FiI/F、62:BTI/F、70:制御部、72:CPU、74:メモリ、76:OSプログラム、78:プリンタアプリケーション、80:BTデバイス名格納領域 2: communication system, PR: printer, 12: operation unit, 14: display unit, 16: print execution unit, 20: Wi-Fi I/F (interface), 22: BTI/F, 26: memory, 30: control unit , 32: CPU, 34: memory, 36: program, 38: transmission flag, 40: BT device name storage area, PT1, PT2: mobile terminal, 52: operation unit, 54: display unit, 60: Wi-Fi I/F , 62: BTI/F, 70: control unit, 72: CPU, 74: memory, 76: OS program, 78: printer application, 80: BT device name storage area

本明細書によって開示されるプリンタは、印刷実行部と、Wi-Fi方式に従った無線通信を実行するためのWi-Fiインターフェースと、Bluetooth方式に従った無線通信を実行するためのBluetoothインターフェースと、前記Wi-Fi方式に従った無線接続の確立に利用される接続情報を生成する生成部と、前記Bluetoothインターフェースを介して、前記Bluetooth方式に従ったAdvertise信号をブロードキャストするAdvertise信号送信部と、前記Advertise信号を受信した端末装置から所定信号を受信する所定信号受信部と、前記端末装置から前記所定信号を受信することに応じて、前記Bluetoothインターフェースを介したリンクを、前記所定信号を送信した前記端末装置と確立するリンク確立部と、確立済みの前記リンクを利用して、前記Wi-Fi方式に従った無線接続の確立に利用される前記接続情報を前記端末装置に送信する接続情報送信部と、前記接続情報を受信した前記端末装置から、前記Wi-Fiインターフェースを介して、前記接続情報を利用したWi-Fi接続要求を受信する接続要求受信部と、前記端末装置から前記Wi-Fi接続要求を受信することに応じて、前記Wi-Fiインターフェースを介したWi―Fi接続を前記Wi-Fi接続要求の送信元と確立する接続確立部と、確立済みの前記Wi-Fi接続を利用して画像データを受信する画像データ受信部と、受信済みの前記画像データに従った印刷を前記印刷実行部に実行させる印刷制御部と、を備え、前記接続情報送信部は、前記リンクを介して第1の前記接続情報を送信し、前記接続確立部は、前記第1の接続情報を利用した第1の前記Wi-Fi接続要求を受信することに応じて、第1の前記Wi-Fi接続を前記第1のWi-Fi接続要求の送信元と確立し、前記第1のWi-Fi接続が切断された後で、前記Wi-Fiインターフェースが親局として動作するまでに、前記生成部は、第2の前記Wi-Fi接続を確立するための第2の前記接続情報を生成し、前記第2の接続情報は、前記第1の接続情報と異なり、前記第2の接続情報の生成後に、前記接続情報送信部は、前記Bluetoothインターフェースを介して前記第2の接続情報を送信し、前記接続確立部は、前記接続要求受信部が前記第2の接続情報を利用した第2の前記Wi-Fi接続要求を受信することに応じて、第2の前記Wi-Fi接続を前記第2のWi-Fi接続要求の送信元と確立する。
本明細書によって開示される第1の通信機器は、第1の通信方式に従った無線通信を実行するための第1のインターフェースと、前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、前記第2のインターフェースを介して、トリガ信号をブロードキャスト送信することを繰り返すトリガ信号送信部であって、前記トリガ信号は、前記第1の通信機器と第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号送信部と、前記トリガ信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信する接続要求受信部と、前記第2の通信機器から前記無線接続要求を受信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第2の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、を備える。
The printer disclosed in this specification includes a print execution unit, a Wi-Fi interface for executing wireless communication according to the Wi-Fi system, and a Bluetooth interface for executing wireless communication according to the Bluetooth system. a generation unit for generating connection information used for establishing a wireless connection according to the Wi-Fi system; an Advertise signal transmission unit for broadcasting an Advertise signal according to the Bluetooth system via the Bluetooth interface; a predetermined signal receiving unit that receives a predetermined signal from a terminal device that has received the Advertise signal; and a link via the Bluetooth interface in response to receiving the predetermined signal from the terminal device that transmits the predetermined signal. a link establishing unit that establishes with the terminal device; and connection information transmission that transmits the connection information used for establishing a wireless connection according to the Wi-Fi system to the terminal device using the established link. a connection request receiving unit that receives a Wi-Fi connection request using the connection information from the terminal device that received the connection information via the Wi-Fi interface; A connection establishing unit that establishes a Wi-Fi connection via the Wi-Fi interface with the source of the Wi-Fi connection request in response to receiving the Fi connection request, and establishes the established Wi-Fi connection. and a print control unit for causing the print execution unit to print according to the received image data, wherein the connection information transmission unit receives the link. and the connection establishment unit, in response to receiving the first Wi-Fi connection request using the first connection information, transmits the first Wi-Fi connection information via the first Wi-Fi connection information. Establishing a Fi connection with a source of the first Wi-Fi connection request, and after the first Wi-Fi connection is disconnected and before the Wi-Fi interface acts as a master station, the generating A unit generates second said connection information for establishing a second said Wi-Fi connection, said second connection information being different from said first connection information and different from said second connection information. After generation, the connection information transmission unit transmits the second connection information via the Bluetooth interface, and the connection establishment unit generates a second connection information using the second connection information by the connection request reception unit. Previous Establishing a second Wi-Fi connection with a source of the second Wi-Fi connection request in response to receiving the Wi-Fi connection request.
A first communication device disclosed in this specification includes a first interface for performing wireless communication according to a first communication scheme and a second communication scheme different from the first communication scheme. and a trigger signal transmission unit that repeatedly broadcasts a trigger signal via the second interface for performing wireless communication according to the above, wherein the trigger signal is the first used by the second communication device as a trigger for transmitting to the first communication device a wireless connection request for forming a first wireless network to which both the communication device and the second communication device belong and the first wireless network is a network for performing wireless communication via the first interface, the trigger signal transmitting unit and the second a connection request receiving unit for receiving the wireless connection request from the communication device of the first via the first interface; establishing a first wireless connection via an interface with said second communication device to form said first wireless network to which both said first communication device and said second communication device belong; 1 establishment part.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下に、本明細書に記載の技術の特徴を列挙する。
(項目1)
第1の通信機器であって、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、
前記第2のインターフェースを介して、トリガ信号をブロードキャスト送信することを繰り返すトリガ信号送信部であって、前記トリガ信号は、前記第1の通信機器と第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号送信部と、
前記トリガ信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信する接続要求受信部と、
前記第2の通信機器から前記無線接続要求を受信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第2の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、
を備える、第1の通信機器。
(項目2)
前記トリガ信号送信部は、前記第2のインターフェースを介して、前記第1の通信機器のメモリに格納されている第1の機器識別情報であって、前記第1の通信機器を識別するための前記第1の機器識別情報を含む前記トリガ信号をブロードキャスト送信することを繰り返し、
前記接続要求受信部は、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されている場合に、前記第2の通信機器から前記無線接続要求を受信し、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されていない場合に、前記第2の通信機器から前記無線接続要求を受信しない、項目1に記載の第1の通信機器。
(項目3)
前記第1の通信機器は、さらに、
前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第1の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立部と、
前記第2の無線ネットワークを利用して、前記第1のインターフェースを介して、前記メモリ内の前記第1の機器識別情報を前記第3の通信機器に送信する機器識別情報送信部と、を備え、
前記接続要求受信部は、前記第2の通信機器と前記第3の通信機器とが一致することに起因して、前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されている場合に、前記第2の通信機器から前記無線接続要求を受信する、項目2に記載の第1の通信機器。
(項目4)
前記第1の通信機器は、さらに、
前記第1の機器識別情報が前記第3の通信機器に送信された後に、前記第2のインターフェースの状態を、第1の状態から、前記第1の状態よりも消費電力が高い第2の状態に変更する変更部を備える、項目3に記載の第1の通信機器。
(項目5)
前記トリガ信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含み、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、項目1から項目4のいずれか一項に記載の第1の通信機器。
(項目6)
前記第1の通信機器は、さらに、
前記トリガ信号を受信した前記第2の通信機器から、前記第2のインターフェースを介して、所定の要求信号を受信する要求信号受信部と、
前記第2の通信機器から前記所定の要求信号を受信することに応じて、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を前記第2の通信機器に送信する応答信号送信部であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号送信部を備え、
前記接続要求受信部は、前記応答信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信し、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、項目1から項目4のいずれか一項に記載の第1の通信機器。
(項目7)
前記第1の通信機器は、さらに、
前記トリガ信号を受信した前記第2の通信機器から、前記第2のインターフェースを介して、前記第2の通信機器を識別するための第2の機器識別情報を含む所定の要求信号を受信する要求信号受信部と、
前記所定の要求信号に含まれる前記第2の機器識別情報が前記第1の通信機器のメモリに格納されているのか否かを判断する判断部と、
前記第2の機器識別情報が前記メモリに格納されていると判断される場合に、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を前記第2の通信機器に送信し、前記第2の機器識別情報が前記メモリに格納されていないと判断される場合に、前記応答信号を前記第2の通信機器に送信しない応答信号送信部であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号送信部と、を備え、
前記接続要求受信部は、前記応答信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信し、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、項目1に記載の第1の通信機器。
(項目8)
前記第1の通信機器は、さらに、
前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第1の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立部と、
前記第2の無線ネットワークを利用して、前記第3の通信機器から、前記第1のインターフェースを介して、前記第3の通信機器を識別するための第3の機器識別情報を受信する機器識別情報受信部と、
前記第3の通信機器から前記第3の機器識別情報を受信することに応じて、前記第3の機器識別情報を前記メモリに格納させる格納制御部と、を備え、
前記判断部は、
前記第2の通信機器と前記第3の通信機器とが一致する場合に、前記第3の機器識別情報に一致する前記第2の機器識別情報が前記メモリに格納されていると判断し、
前記第2の通信機器と前記第3の通信機器とが一致しない場合に、前記第2の機器識別情報が前記メモリに格納されていないと判断する、項目7に記載の第1の通信機器。
(項目9)
前記第1の通信機器は、さらに、
前記第3の機器識別情報が前記メモリに格納された後に、前記第2のインターフェースの状態を、第1の状態から、前記第1の状態よりも消費電力が高い第2の状態に変更する変更部を備える、項目8に記載の第1の通信機器。
(項目10)
前記トリガ信号送信部は、前記第2の通信方式の論理リンクを確立するための最上位層の通信を実行せずに、前記最上位層よりも下位である下位層の通信を実行して、前記第2のインターフェースを介して、前記トリガ信号をブロードキャスト送信することを繰り返す、項目1から項目9のいずれか一項に記載の第1の通信機器。
(項目11)
第2の通信機器のためのコンピュータプログラムであって、
前記第2の通信機器は、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、
プロセッサと、を備え、
前記コンピュータプログラムは、前記プロセッサに、以下の各処理、即ち、
トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、前記第1の通信機器から、前記第2のインターフェースを介して、前記トリガ信号を受信するトリガ信号受信処理であって、前記トリガ信号は、前記第1の通信機器と前記第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号受信処理と、
前記第1の通信機器から前記トリガ信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信する接続要求送信処理と、
前記無線接続要求を前記第1の通信機器に送信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第1の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立処理と、
を実行させる、コンピュータプログラム。
(項目12)
前記トリガ信号は、前記第1の通信機器を識別するための第1の機器識別情報を含み、
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器のメモリに格納されているのか否かを判断する判断処理を実行させ、
前記接続要求送信処理では、
前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の機器識別情報が前記メモリに格納されていないと判断される場合に、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信しない、項目11に記載のコンピュータプログラム。
(項目13)
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記第2のインターフェースを介して、所定の要求信号を前記第1の通信機器に送信し、前記第1の機器識別情報が前記メモリに格納されていないと判断される場合に、前記所定の要求信号を前記第1の通信機器に送信しない要求信号送信処理と、
前記第1の通信機器から、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を受信する応答信号受信処理であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号受信処理と、を実行させ、
前記接続要求送信処理では、前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記所定の要求信号を前記第1の通信機器に送信して前記第1の通信機器から前記応答信号が受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、項目12に記載のコンピュータプログラム。
(項目14)
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第2の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立処理と、
前記第2の無線ネットワークを利用して、前記第3の通信機器から、前記第1のインターフェースを介して、前記第3の通信機器を識別するための第3の機器識別情報を受信する機器識別情報受信処理と、を実行させ、
前記判断処理では、
前記第1の通信機器と前記第3の通信機器とが一致する場合に、前記第3の機器識別情報に一致する前記第1の機器識別情報が前記メモリに格納されていると判断し、
前記第1の通信機器と前記第3の通信機器とが一致しない場合に、前記第1の機器識別情報が前記メモリに格納されていないと判断する、項目12又は項目13に記載のコンピュータプログラム。
(項目15)
前記トリガ信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含み、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、項目11又は項目12に記載のコンピュータプログラム。
(項目16)
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記トリガ信号を受信することに応じて、前記第2のインターフェースを介して、所定の要求信号を前記第1の通信機器に送信する要求信号送信処理と、
前記第1の通信機器から、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を受信する応答信号受信処理であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号受信処理と、を実行させ、
前記接続要求送信処理では、前記応答信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、項目11又は項目12に記載のコンピュータプログラム。
(項目17)
第2の通信機器であって、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、
トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、前記第1の通信機器から、前記第2のインターフェースを介して、前記トリガ信号を受信するトリガ信号受信部であって、前記トリガ信号は、前記第1の通信機器と前記第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号受信部と、
前記第1の通信機器から前記トリガ信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信する接続要求送信部と、
前記無線接続要求を前記第1の通信機器に送信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第1の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、
を備える第2の通信機器。
In addition, the technical elements described in this specification or in the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques exemplified in this specification or drawings achieve multiple purposes at the same time, and achieving one of them has technical utility in itself.
The features of the technology described herein are listed below.
(Item 1)
A first communication device,
a first interface for performing wireless communication according to a first communication scheme;
a second interface for performing wireless communication according to a second communication scheme different from the first communication scheme;
A trigger signal transmission unit that repeatedly broadcasts a trigger signal via the second interface, wherein the trigger signal is transmitted to the second communication device to which both the first communication device and the second communication device belong. a signal to be utilized by the second communication device as a trigger for sending a wireless connection request to the first communication device to form one wireless network, the first wireless network comprising: the trigger signal transmission unit, which is a network for performing wireless communication via the first interface;
a connection request receiving unit that receives the wireless connection request via the first interface from the second communication device that has received the trigger signal;
establishing a first wireless connection with the second communication device via the first interface in response to receiving the wireless connection request from the second communication device; a first establishing unit forming the first wireless network to which both the and the second communication device belong;
A first communication device comprising:
(Item 2)
The trigger signal transmission unit transmits, via the second interface, first device identification information stored in a memory of the first communication device, for identifying the first communication device. Repeating broadcast transmission of the trigger signal including the first device identification information;
The connection request receiving unit
receiving the wireless connection request from the second communication device when the first device identification information included in the trigger signal is stored in the second communication device;
The first according to item 1, wherein the wireless connection request is not received from the second communication device when the first device identification information included in the trigger signal is not stored in the second communication device. communication equipment.
(Item 3)
The first communication device further
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the second communication device; , a second establishing unit forming a second wireless network to which both the first communication device and the third communication device belong;
a device identification information transmission unit that uses the second wireless network to transmit the first device identification information in the memory to the third communication device via the first interface; ,
The connection request receiving unit causes the first device identification information included in the trigger signal to be the same as the second communication device because the second communication device and the third communication device match. 3. The first communication device according to item 2, wherein the wireless connection request is received from the second communication device when stored in the .
(Item 4)
The first communication device further
After the first device identification information is transmitted to the third communication device, the state of the second interface is changed from the first state to a second state in which power consumption is higher than that of the first state. 4. The first communication device according to item 3, comprising a changing unit that changes to
(Item 5)
the trigger signal includes network related information related to the first wireless network;
Any one of items 1 to 4, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. 1. The first communication device according to item 1.
(Item 6)
The first communication device further
a request signal receiving unit that receives a predetermined request signal via the second interface from the second communication device that has received the trigger signal;
Response signal transmission for transmitting a response signal to the predetermined request signal to the second communication device via the second interface in response to receiving the predetermined request signal from the second communication device a unit, wherein the response signal includes network-related information related to the first wireless network;
the connection request receiving unit receives the wireless connection request via the first interface from the second communication device that has received the response signal;
Any one of items 1 to 4, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. 1. The first communication device according to item 1.
(Item 7)
The first communication device further
A request to receive, via the second interface, a predetermined request signal including second device identification information for identifying the second communication device from the second communication device that has received the trigger signal. a signal receiver;
a determination unit that determines whether the second device identification information included in the predetermined request signal is stored in the memory of the first communication device;
transmitting a response signal to the predetermined request signal to the second communication device via the second interface when it is determined that the second device identification information is stored in the memory; A response signal transmission unit that does not transmit the response signal to the second communication device when it is determined that the second device identification information is not stored in the memory, wherein the response signal is the second communication device. the response signal transmitting unit including network related information related to one wireless network;
the connection request receiving unit receives the wireless connection request via the first interface from the second communication device that has received the response signal;
The first communication device according to item 1, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. communication equipment.
(Item 8)
The first communication device further
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the second communication device; , a second establishing unit forming a second wireless network to which both the first communication device and the third communication device belong;
Device identification for receiving third device identification information for identifying the third communication device from the third communication device via the first interface using the second wireless network an information receiving unit;
a storage control unit configured to store the third device identification information in the memory in response to receiving the third device identification information from the third communication device;
The determination unit
determining that the second device identification information matching the third device identification information is stored in the memory when the second communication device and the third communication device match;
8. The first communication device according to item 7, determining that the second device identification information is not stored in the memory when the second communication device and the third communication device do not match.
(Item 9)
The first communication device further
After the third device identification information is stored in the memory, the state of the second interface is changed from the first state to a second state in which power consumption is higher than that of the first state. 9. A first communication device according to item 8, comprising a unit.
(Item 10)
The trigger signal transmission unit executes communication of a lower layer that is lower than the top layer without executing communication of the highest layer for establishing the logical link of the second communication method, 10. The first communication device according to any one of items 1 to 9, repeating broadcasting the trigger signal via the second interface.
(Item 11)
A computer program for a second communication device, comprising:
The second communication device is
a first interface for performing wireless communication according to a first communication scheme;
a second interface for performing wireless communication according to a second communication scheme different from the first communication scheme;
a processor;
The computer program causes the processor to perform each of the following processes:
Trigger signal reception processing for receiving the trigger signal from the first communication device via the second interface when the trigger signal is repeatedly broadcast-transmitted from the first communication device, wherein the trigger a signal as a trigger for transmitting a wireless connection request to the first communication device for forming a first wireless network to which both the first communication device and the second communication device belong, the trigger signal reception process, wherein the trigger signal is a signal to be used by the second communication device, and the first wireless network is a network for performing wireless communication via the first interface;
connection request transmission processing for transmitting the wireless connection request to the first communication device via the first interface in response to receiving the trigger signal from the first communication device;
establishing a first wireless connection with the first communication device via the first interface in response to transmitting the wireless connection request to the first communication device; a first establishment process for forming the first wireless network to which both the and the second communication device belong;
computer program that causes the
(Item 12)
the trigger signal includes first device identification information for identifying the first communication device;
The computer program further instructs the processor to perform each of the following processes:
executing determination processing for determining whether or not the first device identification information included in the trigger signal is stored in the memory of the second communication device;
In the connection request transmission process,
transmitting the wireless connection request to the first communication device via the first interface when it is determined that the first device identification information is stored in the memory;
12. The wireless connection request according to item 11, wherein when it is determined that the first device identification information is not stored in the memory, the wireless connection request is not transmitted to the first communication device via the first interface. computer program.
(Item 13)
The computer program further instructs the processor to perform each of the following processes:
transmitting a predetermined request signal to the first communication device via the second interface when it is determined that the first device identification information is stored in the memory; a request signal transmission process of not transmitting the predetermined request signal to the first communication device when it is determined that the device identification information is not stored in the memory;
response signal reception processing for receiving a response signal to the predetermined request signal from the first communication device via the second interface, wherein the response signal is related to the first wireless network Execute the response signal reception process including network related information,
In the connection request transmission process, when it is determined that the first device identification information is stored in the memory, the predetermined request signal is transmitted to the first communication device to perform the first communication. transmitting the wireless connection request to the first communication device via the first interface in response to receiving the response signal from the device;
13. The computer program according to item 12, wherein in the first establishment process, the network-related information is used to establish the first wireless connection with the first communication device via the first interface.
(Item 14)
The computer program further instructs the processor to perform each of the following processes:
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the first communication device; , a second establishment process for forming a second wireless network to which both the second communication device and the third communication device belong;
Device identification for receiving third device identification information for identifying the third communication device from the third communication device via the first interface using the second wireless network Execute an information reception process,
In the judgment process,
determining that the first device identification information matching the third device identification information is stored in the memory when the first communication device and the third communication device match;
14. The computer program according to item 12 or 13, determining that the first device identification information is not stored in the memory when the first communication device and the third communication device do not match.
(Item 15)
the trigger signal includes network related information related to the first wireless network;
13. The item 11 or 12 according to item 12, wherein in the first establishment process, the first wireless connection via the first interface is established with the first communication device using the network-related information. computer program.
(Item 16)
The computer program further instructs the processor to perform each of the following processes:
request signal transmission processing for transmitting a predetermined request signal to the first communication device via the second interface in response to receiving the trigger signal;
response signal reception processing for receiving a response signal to the predetermined request signal from the first communication device via the second interface, wherein the response signal is related to the first wireless network Execute the response signal reception process including network related information,
In the connection request transmission process, in response to receiving the response signal, the wireless connection request is transmitted to the first communication device via the first interface;
13. The item 11 or 12 according to item 12, wherein in the first establishment process, the first wireless connection via the first interface is established with the first communication device using the network-related information. computer program.
(Item 17)
A second communication device,
a first interface for performing wireless communication according to a first communication scheme;
a second interface for performing wireless communication according to a second communication scheme different from the first communication scheme;
a trigger signal receiving unit configured to receive the trigger signal from the first communication device via the second interface when the trigger signal is repeatedly broadcast from the first communication device, the trigger a signal as a trigger for transmitting a wireless connection request to the first communication device for forming a first wireless network to which both the first communication device and the second communication device belong, the trigger signal receiver, which is a signal to be used by the second communication device, and the first wireless network is a network for performing wireless communication via the first interface;
a connection request transmission unit configured to transmit the wireless connection request to the first communication device via the first interface in response to receiving the trigger signal from the first communication device;
establishing a first wireless connection with the first communication device via the first interface in response to transmitting the wireless connection request to the first communication device; a first establishing unit forming the first wireless network to which both the and the second communication device belong;
A second communication device comprising:

Claims (17)

第1の通信機器であって、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、
前記第2のインターフェースを介して、トリガ信号をブロードキャスト送信することを繰り返すトリガ信号送信部であって、前記トリガ信号は、前記第1の通信機器と第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号送信部と、
前記トリガ信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信する接続要求受信部と、
前記第2の通信機器から前記無線接続要求を受信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第2の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、
を備える、第1の通信機器。
A first communication device,
a first interface for performing wireless communication according to a first communication scheme;
a second interface for performing wireless communication according to a second communication scheme different from the first communication scheme;
A trigger signal transmission unit that repeatedly broadcasts a trigger signal via the second interface, wherein the trigger signal is transmitted to the second communication device to which both the first communication device and the second communication device belong. a signal to be utilized by the second communication device as a trigger for sending a wireless connection request to the first communication device to form one wireless network, the first wireless network comprising: the trigger signal transmission unit, which is a network for performing wireless communication via the first interface;
a connection request receiving unit that receives the wireless connection request via the first interface from the second communication device that has received the trigger signal;
establishing a first wireless connection with the second communication device via the first interface in response to receiving the wireless connection request from the second communication device; and a first establishing unit forming the first wireless network to which both the and the second communication device belong;
A first communication device comprising:
前記トリガ信号送信部は、前記第2のインターフェースを介して、前記第1の通信機器のメモリに格納されている第1の機器識別情報であって、前記第1の通信機器を識別するための前記第1の機器識別情報を含む前記トリガ信号をブロードキャスト送信することを繰り返し、
前記接続要求受信部は、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されている場合に、前記第2の通信機器から前記無線接続要求を受信し、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されていない場合に、前記第2の通信機器から前記無線接続要求を受信しない、請求項1に記載の第1の通信機器。
The trigger signal transmission unit receives, via the second interface, first device identification information stored in a memory of the first communication device, for identifying the first communication device. Repeating broadcast transmission of the trigger signal including the first device identification information;
The connection request receiving unit
receiving the wireless connection request from the second communication device when the first device identification information included in the trigger signal is stored in the second communication device;
2. The apparatus according to claim 1, wherein said wireless connection request is not received from said second communication device when said first device identification information included in said trigger signal is not stored in said second communication device. 1 communication equipment.
前記第1の通信機器は、さらに、
前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第1の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立部と、
前記第2の無線ネットワークを利用して、前記第1のインターフェースを介して、前記メモリ内の前記第1の機器識別情報を前記第3の通信機器に送信する機器識別情報送信部と、を備え、
前記接続要求受信部は、前記第2の通信機器と前記第3の通信機器とが一致することに起因して、前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器に格納されている場合に、前記第2の通信機器から前記無線接続要求を受信する、請求項2に記載の第1の通信機器。
The first communication device further
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the second communication device; , a second establishing unit forming a second wireless network to which both the first communication device and the third communication device belong;
a device identification information transmission unit that uses the second wireless network to transmit the first device identification information in the memory to the third communication device via the first interface; ,
The connection request receiving unit causes the first device identification information included in the trigger signal to be the same as the second communication device because the second communication device and the third communication device match. 3. The first communication device of claim 2, receiving said wireless connection request from said second communication device when stored in a .
前記第1の通信機器は、さらに、
前記第1の機器識別情報が前記第3の通信機器に送信された後に、前記第2のインターフェースの状態を、第1の状態から、前記第1の状態よりも消費電力が高い第2の状態に変更する変更部を備える、請求項3に記載の第1の通信機器。
The first communication device further
After the first device identification information is transmitted to the third communication device, the state of the second interface is changed from the first state to a second state in which power consumption is higher than that of the first state. 4. The first communication device according to claim 3, comprising a modifying unit that modifies to .
前記トリガ信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含
み、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、請求項1から請求項4のいずれか一項に記載の第1の通信機器。
the trigger signal includes network related information related to the first wireless network;
5. The method according to any one of claims 1 to 4, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. A first communication device according to any one of the preceding claims.
前記第1の通信機器は、さらに、
前記トリガ信号を受信した前記第2の通信機器から、前記第2のインターフェースを介して、所定の要求信号を受信する要求信号受信部と、
前記第2の通信機器から前記所定の要求信号を受信することに応じて、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を前記第2の通信機器に送信する応答信号送信部であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号送信部を備え、
前記接続要求受信部は、前記応答信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信し、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、請求項1から請求項4のいずれか一項に記載の第1の通信機器。
The first communication device further
a request signal receiving unit that receives a predetermined request signal via the second interface from the second communication device that has received the trigger signal;
Response signal transmission for transmitting a response signal to the predetermined request signal to the second communication device via the second interface in response to receiving the predetermined request signal from the second communication device a unit, wherein the response signal includes network-related information related to the first wireless network;
the connection request receiving unit receives the wireless connection request via the first interface from the second communication device that has received the response signal;
5. The method according to any one of claims 1 to 4, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. A first communication device according to any one of the preceding claims.
前記第1の通信機器は、さらに、
前記トリガ信号を受信した前記第2の通信機器から、前記第2のインターフェースを介して、前記第2の通信機器を識別するための第2の機器識別情報を含む所定の要求信号を受信する要求信号受信部と、
前記所定の要求信号に含まれる前記第2の機器識別情報が前記第1の通信機器のメモリに格納されているのか否かを判断する判断部と、
前記第2の機器識別情報が前記メモリに格納されていると判断される場合に、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を前記第2の通信機器に送信し、前記第2の機器識別情報が前記メモリに格納されていないと判断される場合に、前記応答信号を前記第2の通信機器に送信しない応答信号送信部であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号送信部と、を備え、
前記接続要求受信部は、前記応答信号を受信した前記第2の通信機器から、前記第1のインターフェースを介して、前記無線接続要求を受信し、
前記第1の確立部は、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する、請求項1に記載の第1の通信機器。
The first communication device further
A request to receive, via the second interface, a predetermined request signal including second device identification information for identifying the second communication device from the second communication device that has received the trigger signal. a signal receiver;
a determination unit that determines whether the second device identification information included in the predetermined request signal is stored in a memory of the first communication device;
transmitting a response signal to the predetermined request signal to the second communication device via the second interface when it is determined that the second device identification information is stored in the memory; A response signal transmission unit that does not transmit the response signal to the second communication device when it is determined that the second device identification information is not stored in the memory, wherein the response signal is the second communication device. the response signal transmitting unit including network related information related to one wireless network;
the connection request receiving unit receives the wireless connection request via the first interface from the second communication device that has received the response signal;
The first communication device according to claim 1, wherein the first establishing unit establishes the first wireless connection via the first interface with the second communication device using the network-related information. communication equipment.
前記第1の通信機器は、さらに、
前記第1のインターフェースを介した前記第1の無線接続を前記第2の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第1の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立部と、
前記第2の無線ネットワークを利用して、前記第3の通信機器から、前記第1のインターフェースを介して、前記第3の通信機器を識別するための第3の機器識別情報を受信する機器識別情報受信部と、
前記第3の通信機器から前記第3の機器識別情報を受信することに応じて、前記第3の機器識別情報を前記メモリに格納させる格納制御部と、を備え、
前記判断部は、
前記第2の通信機器と前記第3の通信機器とが一致する場合に、前記第3の機器識別情報に一致する前記第2の機器識別情報が前記メモリに格納されていると判断し、
前記第2の通信機器と前記第3の通信機器とが一致しない場合に、前記第2の機器識
別情報が前記メモリに格納されていないと判断する、請求項7に記載の第1の通信機器。
The first communication device further
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the second communication device; , a second establishing unit forming a second wireless network to which both the first communication device and the third communication device belong;
Device identification for receiving third device identification information for identifying the third communication device from the third communication device via the first interface using the second wireless network an information receiving unit;
a storage control unit that stores the third device identification information in the memory in response to receiving the third device identification information from the third communication device;
The determination unit
determining that the second device identification information matching the third device identification information is stored in the memory when the second communication device and the third communication device match;
8. The first communication device according to claim 7, wherein when said second communication device and said third communication device do not match, it is determined that said second device identification information is not stored in said memory. .
前記第1の通信機器は、さらに、
前記第3の機器識別情報が前記メモリに格納された後に、前記第2のインターフェースの状態を、第1の状態から、前記第1の状態よりも消費電力が高い第2の状態に変更する変更部を備える、請求項8に記載の第1の通信機器。
The first communication device further
After the third device identification information is stored in the memory, the state of the second interface is changed from the first state to a second state in which power consumption is higher than that of the first state. 9. A first communication device according to claim 8, comprising a unit.
前記トリガ信号送信部は、前記第2の通信方式の論理リンクを確立するための最上位層の通信を実行せずに、前記最上位層よりも下位である下位層の通信を実行して、前記第2のインターフェースを介して、前記トリガ信号をブロードキャスト送信することを繰り返す、請求項1から請求項9のいずれか一項に記載の第1の通信機器。 The trigger signal transmission unit executes communication of a lower layer that is lower than the top layer without executing communication of the highest layer for establishing the logical link of the second communication method, 10. The first communication device according to any one of claims 1 to 9, repeating broadcasting the trigger signal via the second interface. 第2の通信機器のためのコンピュータプログラムであって、
前記第2の通信機器は、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2のインターフェースと、
プロセッサと、を備え、
前記コンピュータプログラムは、前記プロセッサに、以下の各処理、即ち、
トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、前記第1の通信機器から、前記第2のインターフェースを介して、前記トリガ信号を受信するトリガ信号受信処理であって、前記トリガ信号は、前記第1の通信機器と前記第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号受信処理と、
前記第1の通信機器から前記トリガ信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信する接続要求送信処理と、
前記無線接続要求を前記第1の通信機器に送信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第1の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立処理と、
を実行させる、コンピュータプログラム。
A computer program for a second communication device, comprising:
The second communication device is
a first interface for performing wireless communication according to a first communication scheme;
a second interface for performing wireless communication according to a second communication scheme different from the first communication scheme;
a processor;
The computer program causes the processor to perform each of the following processes:
Trigger signal reception processing for receiving the trigger signal from the first communication device via the second interface when the trigger signal is repeatedly broadcast-transmitted from the first communication device, wherein the trigger a signal as a trigger for transmitting a wireless connection request to the first communication device for forming a first wireless network to which both the first communication device and the second communication device belong, the trigger signal reception process, wherein the trigger signal is a signal to be used by the second communication device, and the first wireless network is a network for performing wireless communication via the first interface;
connection request transmission processing for transmitting the wireless connection request to the first communication device via the first interface in response to receiving the trigger signal from the first communication device;
establishing a first wireless connection with the first communication device via the first interface in response to transmitting the wireless connection request to the first communication device; a first establishment process for forming the first wireless network to which both the and the second communication device belong;
computer program that causes the
前記トリガ信号は、前記第1の通信機器を識別するための第1の機器識別情報を含み、
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記トリガ信号に含まれる前記第1の機器識別情報が前記第2の通信機器のメモリに格納されているのか否かを判断する判断処理を実行させ、
前記接続要求送信処理では、
前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の機器識別情報が前記メモリに格納されていないと判断される場合に、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信しない、請求項11に記載のコンピュータプログラム。
the trigger signal includes first device identification information for identifying the first communication device;
The computer program further instructs the processor to perform each of the following processes:
executing determination processing for determining whether or not the first device identification information included in the trigger signal is stored in the memory of the second communication device;
In the connection request transmission process,
transmitting the wireless connection request to the first communication device via the first interface when it is determined that the first device identification information is stored in the memory;
12. The apparatus according to claim 11, wherein the wireless connection request is not transmitted to the first communication device via the first interface when it is determined that the first device identification information is not stored in the memory. The computer program described.
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記第2のインターフェースを介して、所定の要求信号を前記第1の通信機器に送信し、前記第1の機器識別情報が前記メモリに格納されていないと判断される場合に、前記所定の要求信
号を前記第1の通信機器に送信しない要求信号送信処理と、
前記第1の通信機器から、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を受信する応答信号受信処理であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号受信処理と、を実行させ、
前記接続要求送信処理では、前記第1の機器識別情報が前記メモリに格納されていると判断される場合に、前記所定の要求信号を前記第1の通信機器に送信して前記第1の通信機器から前記応答信号が受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、請求項12に記載のコンピュータプログラム。
The computer program further instructs the processor to perform each of the following processes:
transmitting a predetermined request signal to the first communication device via the second interface when it is determined that the first device identification information is stored in the memory; a request signal transmission process of not transmitting the predetermined request signal to the first communication device when it is determined that the device identification information is not stored in the memory;
response signal reception processing for receiving a response signal to the predetermined request signal from the first communication device via the second interface, wherein the response signal is related to the first wireless network Execute the response signal reception process including network related information,
In the connection request transmission process, when it is determined that the first device identification information is stored in the memory, the predetermined request signal is transmitted to the first communication device to perform the first communication. transmitting the wireless connection request to the first communication device via the first interface in response to receiving the response signal from the device;
13. The computer program according to claim 12, wherein in said first establishment process, said network-related information is used to establish said first wireless connection with said first communication device via said first interface. .
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する前に、前記第1のインターフェースを介した第2の無線接続を第3の通信機器と確立して、前記第2の通信機器と前記第3の通信機器との双方が所属する第2の無線ネットワークを形成する第2の確立処理と、
前記第2の無線ネットワークを利用して、前記第3の通信機器から、前記第1のインターフェースを介して、前記第3の通信機器を識別するための第3の機器識別情報を受信する機器識別情報受信処理と、を実行させ、
前記判断処理では、
前記第1の通信機器と前記第3の通信機器とが一致する場合に、前記第3の機器識別情報に一致する前記第1の機器識別情報が前記メモリに格納されていると判断し、
前記第1の通信機器と前記第3の通信機器とが一致しない場合に、前記第1の機器識別情報が前記メモリに格納されていないと判断する、請求項12又は請求項13に記載のコンピュータプログラム。
The computer program further instructs the processor to perform each of the following processes:
establishing a second wireless connection via the first interface with a third communication device before establishing the first wireless connection via the first interface with the first communication device; , a second establishment process for forming a second wireless network to which both the second communication device and the third communication device belong;
Device identification for receiving third device identification information for identifying the third communication device from the third communication device via the first interface using the second wireless network Execute an information reception process,
In the judgment process,
determining that the first device identification information that matches the third device identification information is stored in the memory when the first communication device and the third communication device match;
14. The computer according to claim 12, wherein said computer determines that said first device identification information is not stored in said memory when said first communication device and said third communication device do not match. program.
前記トリガ信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含み、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、請求項11又は請求項12に記載のコンピュータプログラム。
the trigger signal includes network related information related to the first wireless network;
13. The apparatus according to claim 11 or 12, wherein in said first establishment process, said network-related information is used to establish said first wireless connection with said first communication device via said first interface. The computer program described.
前記コンピュータプログラムは、前記プロセッサに、さらに、以下の各処理、即ち、
前記トリガ信号を受信することに応じて、前記第2のインターフェースを介して、所定の要求信号を前記第1の通信機器に送信する要求信号送信処理と、
前記第1の通信機器から、前記第2のインターフェースを介して、前記所定の要求信号に対する応答信号を受信する応答信号受信処理であって、前記応答信号は、前記第1の無線ネットワークに関係するネットワーク関係情報を含む、前記応答信号受信処理と、を実行させ、
前記接続要求送信処理では、前記応答信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信し、
前記第1の確立処理では、前記ネットワーク関係情報を利用して、前記第1のインターフェースを介した前記第1の無線接続を前記第1の通信機器と確立する、請求項11又は請求項12に記載のコンピュータプログラム。
The computer program further instructs the processor to perform each of the following processes:
request signal transmission processing for transmitting a predetermined request signal to the first communication device via the second interface in response to receiving the trigger signal;
response signal reception processing for receiving a response signal to the predetermined request signal from the first communication device via the second interface, wherein the response signal is related to the first wireless network Execute the response signal reception process including network related information,
In the connection request transmission process, in response to receiving the response signal, the wireless connection request is transmitted to the first communication device via the first interface;
13. The apparatus according to claim 11 or 12, wherein in said first establishment process, said network-related information is used to establish said first wireless connection with said first communication device via said first interface. The computer program described.
第2の通信機器であって、
第1の通信方式に従った無線通信を実行するための第1のインターフェースと、
前記第1の通信方式とは異なる第2の通信方式に従った無線通信を実行するための第2
のインターフェースと、
トリガ信号が第1の通信機器から繰り返しブロードキャスト送信される場合に、前記第1の通信機器から、前記第2のインターフェースを介して、前記トリガ信号を受信するトリガ信号受信部であって、前記トリガ信号は、前記第1の通信機器と前記第2の通信機器との双方が所属する第1の無線ネットワークを形成するための無線接続要求を前記第1の通信機器に送信するためのトリガとして、前記第2の通信機器によって利用されるべき信号であり、前記第1の無線ネットワークは、前記第1のインターフェースを介した無線通信を実行するためのネットワークである、前記トリガ信号受信部と、
前記第1の通信機器から前記トリガ信号を受信することに応じて、前記第1のインターフェースを介して、前記無線接続要求を前記第1の通信機器に送信する接続要求送信部と、
前記無線接続要求を前記第1の通信機器に送信することに応じて、前記第1のインターフェースを介した第1の無線接続を前記第1の通信機器と確立して、前記第1の通信機器と前記第2の通信機器との双方が所属する前記第1の無線ネットワークを形成する第1の確立部と、
を備える第2の通信機器。
A second communication device,
a first interface for performing wireless communication according to a first communication scheme;
A second communication method for performing wireless communication according to a second communication method different from the first communication method
an interface of
a trigger signal receiving unit configured to receive the trigger signal from the first communication device via the second interface when the trigger signal is repeatedly broadcast from the first communication device, the trigger a signal as a trigger for transmitting a wireless connection request to the first communication device for forming a first wireless network to which both the first communication device and the second communication device belong, the trigger signal receiver, which is a signal to be used by the second communication device, and the first wireless network is a network for performing wireless communication via the first interface;
a connection request transmission unit configured to transmit the wireless connection request to the first communication device via the first interface in response to receiving the trigger signal from the first communication device;
establishing a first wireless connection with the first communication device via the first interface in response to transmitting the wireless connection request to the first communication device; a first establishing unit forming the first wireless network to which both the and the second communication device belong;
A second communication device comprising:
JP2022161799A 2019-12-25 2022-10-06 communication equipment Active JP7456470B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022161799A JP7456470B2 (en) 2019-12-25 2022-10-06 communication equipment

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2019235261A JP6919704B2 (en) 2018-09-20 2019-12-25 Communication equipment
JP2021119421A JP7156461B2 (en) 2019-12-25 2021-07-20 communication equipment
JP2022161799A JP7456470B2 (en) 2019-12-25 2022-10-06 communication equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2021119421A Division JP7156461B2 (en) 2019-12-25 2021-07-20 communication equipment

Publications (2)

Publication Number Publication Date
JP2022173586A true JP2022173586A (en) 2022-11-18
JP7456470B2 JP7456470B2 (en) 2024-03-27

Family

ID=78022283

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2021119421A Active JP7156461B2 (en) 2019-12-25 2021-07-20 communication equipment
JP2022161799A Active JP7456470B2 (en) 2019-12-25 2022-10-06 communication equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2021119421A Active JP7156461B2 (en) 2019-12-25 2021-07-20 communication equipment

Country Status (1)

Country Link
JP (2) JP7156461B2 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013162381A (en) * 2012-02-07 2013-08-19 Seiko Epson Corp Radio communication device
JP2013214803A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214802A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214801A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214804A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2014168215A (en) * 2013-02-28 2014-09-11 Brother Ind Ltd Communication apparatus
JP2015023539A (en) * 2013-07-23 2015-02-02 ブラザー工業株式会社 Radio communication device
JP2015033084A (en) * 2013-08-06 2015-02-16 大日本印刷株式会社 System, server and terminal for information provision, and program
JP2015056681A (en) * 2013-09-10 2015-03-23 ブラザー工業株式会社 Communication device
JP2015056865A (en) * 2013-09-13 2015-03-23 ブラザー工業株式会社 Communication device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140146954A (en) 2013-06-18 2014-12-29 삼성전자주식회사 Method and device for providing service
JP6175995B2 (en) 2013-08-30 2017-08-09 ブラザー工業株式会社 Mobile terminal and program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013162381A (en) * 2012-02-07 2013-08-19 Seiko Epson Corp Radio communication device
JP2013214803A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214802A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214801A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013214804A (en) * 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2014168215A (en) * 2013-02-28 2014-09-11 Brother Ind Ltd Communication apparatus
JP2015023539A (en) * 2013-07-23 2015-02-02 ブラザー工業株式会社 Radio communication device
JP2015033084A (en) * 2013-08-06 2015-02-16 大日本印刷株式会社 System, server and terminal for information provision, and program
JP2015056681A (en) * 2013-09-10 2015-03-23 ブラザー工業株式会社 Communication device
JP2015056865A (en) * 2013-09-13 2015-03-23 ブラザー工業株式会社 Communication device

Also Published As

Publication number Publication date
JP7156461B2 (en) 2022-10-19
JP7456470B2 (en) 2024-03-27
JP2021166415A (en) 2021-10-14

Similar Documents

Publication Publication Date Title
JP6406092B2 (en) Communication equipment
US9826116B2 (en) Image forming apparatus supporting peer to peer connection and method of performing image forming operation thereof
JP6477132B2 (en) Communication equipment
JP6421673B2 (en) Communication equipment
JP6950242B2 (en) Communication device
JP2018174453A (en) Computer program for terminal, and communication device
EP3226586B1 (en) Computer program for terminal device
JP7156461B2 (en) communication equipment
JP6919704B2 (en) Communication equipment
JP6638786B2 (en) Communication equipment
JP7070094B2 (en) Computer programs and communication equipment for communication equipment
JP6879155B2 (en) Communication equipment and terminal equipment
JP7388491B2 (en) communication equipment
JP6573018B2 (en) Communication equipment
JP2019207480A (en) Computer program for communication device, communication device, and computer program for server
JP6927255B2 (en) Communication equipment
JP6819417B2 (en) Communication device
JP2018117171A (en) Communication device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221027

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230816

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231225

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240213

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240226

R150 Certificate of patent or registration of utility model

Ref document number: 7456470

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150