JP7052560B2 - Systems, terminals, devices and programs - Google Patents

Systems, terminals, devices and programs Download PDF

Info

Publication number
JP7052560B2
JP7052560B2 JP2018100061A JP2018100061A JP7052560B2 JP 7052560 B2 JP7052560 B2 JP 7052560B2 JP 2018100061 A JP2018100061 A JP 2018100061A JP 2018100061 A JP2018100061 A JP 2018100061A JP 7052560 B2 JP7052560 B2 JP 7052560B2
Authority
JP
Japan
Prior art keywords
wireless communication
terminal device
network identifier
password
access point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018100061A
Other languages
Japanese (ja)
Other versions
JP2019176451A (en
Inventor
和輝 ▲柳▼澤
純平 小泉
健二 作田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to CN201910222214.6A priority Critical patent/CN110312293B/en
Priority to US16/362,952 priority patent/US11082845B2/en
Priority to EP19165258.5A priority patent/EP3547760B1/en
Publication of JP2019176451A publication Critical patent/JP2019176451A/en
Application granted granted Critical
Publication of JP7052560B2 publication Critical patent/JP7052560B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、システム、端末装置、デバイス及びプログラムに関する。 The present invention relates to systems, terminal devices, devices and programs.

特許文献1には、無線LAN(Local Area Network)に接続可能な複合機の表示部に表示されたSSID(Service Set Identifier)の中からユーザーが操作部を操作して接続対象のSSIDを選択することにより、複合機が接続対象のアクセスポイント(Access Point:AP)に無線接続する技術が記載されている。 In Patent Document 1, the user operates the operation unit to select the SSID to be connected from the SSID (Service Set Identifier) displayed on the display unit of the complex machine that can be connected to the wireless LAN (Local Area Network). This describes a technique for wirelessly connecting a composite device to an access point (Access Point: AP) to be connected.

特開2011-188518号公報Japanese Unexamined Patent Publication No. 2011-188518

ユーザーの一部は、複合機や印刷装置のタッチパネルの操作に慣れていない。スマートフォンやタブレットのタッチパネルに比べると操作の機会が少ないからである。このようなユーザーにとって、複合機や印刷装置のタッチパネルを操作して無線設定を行うことは大きな負担になっていた。 Some users are not accustomed to operating the touch panels of multifunction devices and printing devices. This is because there are fewer opportunities for operation than the touch panel of a smartphone or tablet. For such a user, it is a heavy burden to operate the touch panel of the multifunction device or the printing device to make wireless settings.

また、複合機や印刷装置のタッチパネルの操作に慣れているユーザーであっても、タッチパネルが小さければ、SSIDの選択及びSSIDのパスワードの入力がしづらく、無線設定に大きな負担を感じる。
ましてや、タッチパネルが複合機や印刷装置に付いていなければ、ユーザーは、アクセスポイントによっては複合機や印刷装置をアクセスポイントに無線接続させることすらできない。
このような事情から、ユーザーがデバイスをアクセスポイントに無線接続させる操作を補助する技術が求められている。
Further, even a user who is accustomed to operating the touch panel of a multifunction device or a printing device has difficulty in selecting the SSID and inputting the SSID password if the touch panel is small, and feels a heavy burden on the wireless setting.
Furthermore, if the touch panel is not attached to the multifunction device or printing device, the user cannot even wirelessly connect the multifunction device or printing device to the access point depending on the access point.
Under these circumstances, there is a demand for technology that assists the user in operating the device to wirelessly connect to the access point.

上記の目的を達成するために、本発明の一つの態様は、デバイスと、第1無線通信方式により前記デバイスと第1無線通信を確立する端末装置と、を備えるシステムにおいて、前記端末装置は、第2無線通信方式により無線通信ネットワークのアクセスポイントと第2無線通信を確立する処理を行う第2無線通信部と、画面の表示を行う表示部と、前記画面からの入力を受け付ける操作部と、端末制御部と、を備え、前記デバイスは、前記第2無線通信方式により無線通信ネットワークのアクセスポイントと第3無線通信を確立する処理を行う第3無線通信部と、デバイス制御部と、を備え、前記端末制御部は、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立しているか否かを判定する第1判定処理を行い、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していると判定した場合、前記第2無線通信部が前記第2無線通信を確立しているアクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信し、前記デバイス制御部は、前記第3無線通信部が前記第2無線通信方式の無線通信ネットワークの探索により取得したネットワーク識別子のリストに、前記端末装置から前記第1無線通信を介して受信した第1ネットワーク識別子が含まれているか否かを判定し、前記第1ネットワーク識別子が含まれていると判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていることを示す通知を前記第1無線通信を介して前記端末装置へ送信し、前記端末制御部は、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記端末装置が接続しているアクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を前記表示部に表示させ、前記第1画面から前記指示を受け付けると、第1パスワード入力画面を前記表示部に表示させ、第1パスワード入力画面から第1パスワードの入力を受け付けると、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信し、前記デバイス制御部は、前記端末装置から前記第1無線通信を介して受信した前記第1ネットワーク識別子と前記第1パスワードに基づいて、前記第3無線通信部により前記第1ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させ、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、前記デバイス制御部は、アクセスポイントと前記第2無線通信を確立していない前記端末装置からのネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、前記端末制御部は、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第2ネットワーク識別子を選択させ、前記第2ネットワーク識別子が選択されると、第2パスワード入力画面を前記表示部に表示させ、前記第2パスワード入力画面から第2パスワードの入力を受け付けると、前記第2ネットワーク識別子と前記第2パスワードを前記第1無線通信を介して前記デバイスへ送信し、前記デバイス制御部は、前記端末装置から前記第1無線通信を介して受信した前記第2ネットワーク識別子と前記第2パスワードに基づいて、前記第3無線通信部により前記第2ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、システムである。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子があるときは、第1ネットワーク識別子とユーザーが端末装置の操作部で入力した第1パスワードとが端末装置からデバイスへ送信され、デバイスは第1ネットワーク識別子と第1パスワードに基づいて第1ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。一方、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから端末装置へネットワーク識別子のリストが送られ、ネットワーク識別子のリストから選択された第2ネットワーク識別子とユーザーが端末装置の操作部で入力した第2パスワードとが端末装置からデバイスへ送信され、デバイスは第2ネットワーク識別子と第2パスワードに基づいて第2ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
In order to achieve the above object, one aspect of the present invention is a system comprising a device and a terminal device for establishing a first wireless communication with the device by a first wireless communication method. A second wireless communication unit that performs processing to establish a second wireless communication with an access point of a wireless communication network by a second wireless communication method, a display unit that displays a screen, and an operation unit that accepts input from the screen. The device includes a terminal control unit, and the device includes a third wireless communication unit and a device control unit that perform processing for establishing a third wireless communication with an access point of the wireless communication network by the second wireless communication method. The terminal control unit performs a first determination process for determining whether or not the second wireless communication unit has established the second wireless communication with the access point, and as a result of the first determination process, the second determination process is performed. When it is determined that the wireless communication unit has established the second wireless communication with the access point, the first network identifier of the access point where the second wireless communication unit has established the second wireless communication is referred to as the first network identifier. (1) Transmission to the device via wireless communication, and the device control unit includes the list of network identifiers acquired by the third wireless communication unit by searching for the wireless communication network of the second wireless communication method from the terminal device. When it is determined whether or not the first network identifier received via the first wireless communication is included and it is determined that the first network identifier is included, the first network identifier is the network identifier. A notification indicating that the device is included in the list is transmitted to the terminal device via the first wireless communication, and the terminal control unit includes the first network identifier in the list of network identifiers stored in the device. When a notification indicating that the device is connected is received from the device via the first wireless communication, a first screen for receiving an instruction to wirelessly connect the device to the access point to which the terminal device is connected is displayed on the display unit. When the instruction is received from the first screen, the first password input screen is displayed on the display unit, and when the input of the first password is received from the first password input screen, the first network identifier and the first one are received. The password is transmitted to the device via the first wireless communication, and the device control unit is based on the first network identifier and the first password received from the terminal device via the first wireless communication. The third The wireless communication unit establishes the third wireless communication with the access point identified by the first network identifier, and the terminal control unit has the second wireless communication unit with the access point as a result of the first determination process. If it is determined that the second wireless communication has not been established, the device is requested to list the network identifiers via the first wireless communication, and the device control unit establishes the second wireless communication with the access point. In response to a request for a list of network identifiers from the terminal device that has not been used, the list of network identifiers is transmitted to the terminal device via the first wireless communication, and the terminal control unit receives the device from the device. 1 When the list of the network identifiers is received via wireless communication, any second network identifier in the list of the network identifiers is selected, and when the second network identifier is selected, the second password input screen is displayed. When it is displayed on the display unit and the input of the second password is received from the second password input screen, the second network identifier and the second password are transmitted to the device via the first wireless communication, and the device control is performed. The unit is an access point identified by the second network identifier by the third wireless communication unit based on the second network identifier received from the terminal device via the first wireless communication and the second password. It is a system that establishes the third wireless communication.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is included in the list of network identifiers, the first network identifier and the first password entered by the user in the operation unit of the terminal device are used. Is transmitted from the terminal device to the device, and the device can establish a third wireless communication between the first network identifier and the access point identified by the first network identifier based on the first password. On the other hand, when the terminal device is not wirelessly connected to the access point, a list of network identifiers is sent from the device to the terminal device in response to a request from the terminal device, and a second network identifier selected from the list of network identifiers is sent. And the second password entered by the user in the operation unit of the terminal device are transmitted from the terminal device to the device, and the device is the third of the second network identifier and the access point identified by the second network identifier based on the second password. Wireless communication can be established. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

本発明の一つの態様は、第1無線通信方式によりデバイスと第1無線通信を確立する端末装置において、第2無線通信方式により無線通信ネットワークのアクセスポイントと第2無線通信を確立する処理を行う第2無線通信部と、画面の表示を行う表示部と、前記画面からの入力を受け付ける操作部と、端末制御部と、を備え、前記端末制御部は、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立しているか否かを判定する第1判定処理を行い、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していると判定した場合、前記第2無線通信部が前記第2無線通信を確立しているアクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信し、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記端末装置が接続しているアクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を前記表示部に表示させ、前記第1画面から前記指示を受け付けると、第1パスワード入力画面を前記表示部に表示させ、前記第1パスワード入力画面から第1パスワードの入力を受け付けると、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子があるときは、第1ネットワーク識別子とユーザーが端末装置の操作部で入力した第1パスワードとが端末装置からデバイスへ送信され、デバイスは第1ネットワーク識別子と第1パスワードに基づいて第1ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第2ネットワーク識別子を選択させ、前記第2ネットワーク識別子が選択されると、第2パスワード入力画面を前記表示部に表示させ、前記第2パスワード入力画面から第2パスワードの入力を受け付けると、前記第2ネットワーク識別子と前記第2パスワードを前記第1無線通信を介して前記デバイスへ送信する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから端末装置へネットワーク識別子のリストが送られ、ネットワーク識別子のリストから選択された第2ネットワーク識別子とユーザーが端末装置の操作部で入力した第2パスワードとが端末装置からデバイスへ送信され、デバイスは第2ネットワーク識別子と第2パスワードに基づいて第2ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
One aspect of the present invention is to perform a process of establishing a second wireless communication with an access point of a wireless communication network by a second wireless communication method in a terminal device that establishes a first wireless communication with a device by the first wireless communication method. The second wireless communication unit includes a second wireless communication unit, a display unit for displaying a screen, an operation unit for receiving input from the screen, and a terminal control unit. The second wireless communication unit is an access point for the terminal control unit. And the first determination process for determining whether or not the second wireless communication is established, and as a result of the first determination process, the second wireless communication unit establishes the access point and the second wireless communication. If it is determined that the device is present, the second wireless communication unit transmits the first network identifier of the access point for which the second wireless communication is established to the device via the first wireless communication, and the device stores the first network identifier. When a notification indicating that the first network identifier is included in the list of network identifiers is received from the device via the first wireless communication, the device is wirelessly connected to the access point to which the terminal device is connected. When the first screen for receiving the connection instruction is displayed on the display unit and the instruction is received from the first screen, the first password input screen is displayed on the display unit and the first password is displayed from the first password input screen. This is a terminal device that receives the input of the above and transmits the first network identifier and the first password to the device via the first wireless communication.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is included in the list of network identifiers, the first network identifier and the first password entered by the user in the operation unit of the terminal device are used. Is transmitted from the terminal device to the device, and the device can establish a third wireless communication between the first network identifier and the access point identified by the first network identifier based on the first password. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.
Further, in one aspect of the present invention, in the terminal device, the terminal control unit determines that the second wireless communication unit has not established the access point and the second wireless communication as a result of the first determination process. When the device is requested to list the network identifiers via the first wireless communication and the device receives the list of network identifiers from the device via the first wireless communication, any of the list of network identifiers is received. When the second network identifier is selected and the second network identifier is selected, the second password input screen is displayed on the display unit, and when the input of the second password is accepted from the second password input screen, the second password input screen is displayed. It is a terminal device that transmits the second network identifier and the second password to the device via the first wireless communication.
With this configuration, when the terminal device is not wirelessly connected to the access point, a list of network identifiers is sent from the device to the terminal device in response to a request from the terminal device, and a second selected from the list of network identifiers. The network identifier and the second password entered by the user in the operation unit of the terminal device are transmitted from the terminal device to the device, and the device is the access point identified by the second network identifier based on the second network identifier and the second password. A third wireless communication can be established. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第2無線通信方式による前記デバイスとの第4無線通信の確立に使用される無線設定情報を要求し、前記デバイスから出力された前記無線設定情報を使用して前記デバイスと前記第4無線通信を確立する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから無線設定情報が出力され、デバイスから出力された無線設定情報を使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。
また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを含む二次元コードを要求し、前記デバイスから出力された前記二次元コードを撮像部に読み取らせ、前記撮像部が読み取った前記二次元コードから前記第5ネットワーク識別子及び前記第5パスワードを取得し、取得した前記第5ネットワーク識別子及び前記第5パスワードを使用して前記デバイスと前記第4無線通信を確立する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから第5ネットワーク識別子及び第5パスワードを含む二次元コードが出力され、デバイスから出力された二次元コードを撮像部により読み取った二次元コードから取得された第5ネットワーク識別子及び第5パスワードを使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。また、二次元コードの読み取りによって、第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードが取得できるので、無線設定が簡単である。
Further, in one aspect of the present invention, in the terminal device, the terminal control unit determines that the second wireless communication unit has not established the access point and the second wireless communication as a result of the first determination process. If so, the device is requested to use the radio setting information used for establishing the fourth wireless communication with the device by the second wireless communication method via the first wireless communication, and the device is output. It is a terminal device that establishes the fourth wireless communication with the device by using the wireless setting information.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device outputs wireless setting information in response to a request from the terminal device, and the terminal device uses the wireless setting information output from the device. A fourth wireless communication can be established between the device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed.
Further, in one aspect of the present invention, in the terminal device, the terminal control unit determines that the second wireless communication unit has not established the access point and the second wireless communication as a result of the first determination process. If so, the device is requested via the first wireless communication to request a two-dimensional code including a fifth network identifier and a fifth password used for establishing the fourth wireless communication, and the device is output. The imaging unit is made to read the two-dimensional code, the fifth network identifier and the fifth password are acquired from the two-dimensional code read by the imaging unit, and the acquired fifth network identifier and the fifth password are used. It is a terminal device that establishes the fourth wireless communication with the device.
With this configuration, when the terminal device is not wirelessly connected to the access point, a two-dimensional code including the fifth network identifier and the fifth password is output from the device in response to a request from the terminal device, and is output from the device. The fourth wireless communication can be established between the terminal device and the device by using the fifth network identifier and the fifth password obtained from the two-dimensional code read by the image pickup unit. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed. Further, since the fifth network identifier and the fifth password used for establishing the fourth wireless communication can be obtained by reading the two-dimensional code, the wireless setting is easy.

また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを要求し、ネットワーク識別子及びパスワード入力画面を前記表示部に表示させ、前記ネットワーク識別子及びパスワード入力画面から前記第5ネットワーク識別子及び前記第5パスワードの入力を受け付けると、前記第5ネットワーク識別子及び前記第5パスワードを使用して前記デバイスと前記第4無線通信を確立する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから第5ネットワーク識別子及び第5パスワードが出力され、デバイスから出力された第5ネットワーク識別子及び第5パスワードを使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。
また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される前記デバイスのデバイス名を要求し、デバイス名選択画面を前記表示部に表示させ、前記デバイス名選択画面から前記デバイスのデバイス名の選択を受け付けると、選択されたデバイス名を使用して前記デバイスと前記第4無線通信を確立する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスからデバイスのデバイス名が出力され、デバイスから出力されたデバイスのデバイス名を使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。また、デバイスのデバイス名の選択によって、第4無線通信が確立できるので、無線設定が簡単である。
Further, in one aspect of the present invention, in the terminal device, the terminal control unit determines that the second wireless communication unit has not established the access point and the second wireless communication as a result of the first determination process. If so, the device is requested to use the fifth network identifier and the fifth password used to establish the fourth wireless communication via the first wireless communication, and the network identifier and the password input screen are displayed on the display unit. When the input of the fifth network identifier and the fifth password is accepted from the network identifier and password input screen, the fifth network identifier and the fifth password are used to establish the fourth wireless communication with the device. It is a terminal device.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device outputs the fifth network identifier and the fifth password in response to the request from the terminal device, and the fifth network identifier output from the device. And the fifth password can be used to establish a fourth wireless communication between the terminal device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed.
Further, in one aspect of the present invention, in the terminal device, the terminal control unit determines that the second wireless communication unit has not established the access point and the second wireless communication as a result of the first determination process. If so, the device is requested to use the device name of the device used for establishing the fourth wireless communication via the first wireless communication, the device name selection screen is displayed on the display unit, and the device name is displayed. When the selection of the device name of the device is accepted from the selection screen, the terminal device establishes the fourth wireless communication with the device using the selected device name.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device name of the device is output from the device in response to the request from the terminal device, and the device name of the device output from the device is used. A fourth wireless communication can be established between the terminal device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed. Further, since the fourth wireless communication can be established by selecting the device name of the device, the wireless setting is easy.

また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていないことを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第3ネットワーク識別子を選択させ、前記第3ネットワーク識別子が選択されると、第3パスワード入力画面を前記表示部に表示させ、前記第3パスワード入力画面から第3パスワードの入力を受け付けると、前記第3ネットワーク識別子と前記第3パスワードを第1無線通信を介して前記デバイスへ送信する、端末装置である。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子がないときは、端末装置からの要求に応じてデバイスから端末装置へネットワーク識別子のリストが送られ、ネットワーク識別子のリストから選択された第3ネットワーク識別子とユーザーが端末装置の操作部で入力した第3パスワードとが端末装置からデバイスへ送信され、デバイスは第3ネットワーク識別子と第3パスワードに基づいて第3ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
Further, in one aspect of the present invention, in the terminal device, the terminal control unit gives a notification from the device indicating that the first network identifier is not included in the list of network identifiers stored in the device. 1 When receiving via wireless communication, the device is requested to list the network identifiers via the first wireless communication, and when receiving from the device via the first wireless communication, the list of network identifiers is received. When any third network identifier is selected from the list of network identifiers and the third network identifier is selected, the third password input screen is displayed on the display unit, and the third password is displayed from the third password input screen. This is a terminal device that receives the input of the above and transmits the third network identifier and the third password to the device via the first wireless communication.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is not included in the list of network identifiers, the list of network identifiers is sent from the device to the terminal device in response to a request from the terminal device. The third network identifier selected from the list of network identifiers and the third password entered by the user in the operation unit of the terminal device are transmitted from the terminal device to the device, and the device is based on the third network identifier and the third password. It is possible to establish a third wireless communication with the access point identified by the third network identifier. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

また、本発明の一つの態様は、端末装置において、前記端末制御部は、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリスト及び前記ネットワーク識別子のリストにステルスモードで動作するアクセスポイントのネットワーク識別子が含まれていることを示すステルスアクセスポイント情報を受信すると、第4ネットワーク識別子及び第4パスワード入力画面を前記表示部に表示させ、前記第4ネットワーク識別子及び第4パスワード入力画面から第4ネットワーク識別子及び第4パスワードの入力を受け付けると、前記第4ネットワーク識別子と前記第4パスワードを前記第1無線通信を介して前記デバイスへ送信する、端末装置である。
この構成により、ネットワーク識別子のリストの中に、値がNULL又は長さが0のネットワーク識別子が含まれている場合には、デバイスから端末装置へステルスアクセスポイント情報が送られ、ユーザーが端末装置の操作部で入力した第4ネットワーク識別子と第4パスワードとが端末装置からデバイスへ送信され、デバイスは第4ネットワーク識別子と第4パスワードに基づいて第4ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。また、ユーザーは、ステルスアクセスポイントを利用してデバイスを無線通信ネットワークに接続させることができる。
Further, in one aspect of the present invention, in the terminal device, the terminal control unit operates in stealth mode from the device to the list of network identifiers and the list of network identifiers via the first wireless communication. Upon receiving the stealth access point information indicating that the network identifier of the above is included, the fourth network identifier and the fourth password input screen are displayed on the display unit, and the fourth network identifier and the fourth password input screen are displayed. 4 A terminal device that receives input of a network identifier and a fourth password and transmits the fourth network identifier and the fourth password to the device via the first wireless communication.
With this configuration, if the list of network identifiers contains a network identifier with a value of NUML or a length of 0, stealth access point information is sent from the device to the terminal device and the user can use the terminal device. The 4th network identifier and the 4th password entered in the operation unit are transmitted from the terminal device to the device, and the device is the third radio with the access point identified by the 4th network identifier based on the 4th network identifier and the 4th password. Communication can be established. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point. Users can also use stealth access points to connect devices to wireless communication networks.

また、本発明の一つの態様は、端末装置において、前記端末装置は、前記第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを前記デバイスと前記第1無線通信を介してやり取りする処理を行い、前記デバイスが前記第2ルールで予め定められたメッセージを前記端末装置に送ってきた場合、前記デバイスと前記第1無線通信を介して情報の送受信を行い、前記デバイスが前記第2ルールで予め定められたメッセージを前記端末装置に送ってこなかった場合、前記デバイスと前記第1無線通信を介して情報の送受信を行わない、端末装置である。
この構成により、第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを送ってきた相手とだけに、端末装置及びデバイスの情報のやり取りの相手を制限することができる。これにより、第1無線通信を介して情報のやり取りを行う相手の正当性が検証されるので、第1無線通信を介してやり取りされる情報の安全性が向上する。
Further, one aspect of the present invention is a terminal device, wherein the terminal device sends a message predetermined by a second rule different from the first rule defined by the pairing standard of the first wireless communication. When a process of exchanging with a device via the first wireless communication is performed and the device sends a message predetermined by the second rule to the terminal device, the device and the first wireless communication are used. When information is transmitted / received and the device does not send a message predetermined by the second rule to the terminal device, the terminal device does not send / receive information to / from the device via the first wireless communication. Is.
With this configuration, information on terminal devices and devices can be exchanged only with the other party who has sent a message predetermined by the second rule, which is different from the first rule defined by the pairing standard of the first wireless communication. You can limit your opponent. As a result, the legitimacy of the other party exchanging information via the first wireless communication is verified, so that the safety of the information exchanged via the first wireless communication is improved.

本発明の一つの態様は、第1無線通信方式により端末装置と第1無線通信を確立するデバイスにおいて、第2無線通信方式により無線通信ネットワークのアクセスポイントと第3無線通信を確立する処理を行う第3無線通信部と、デバイス制御部と、を備え、前記デバイス制御部は、前記第3無線通信部が前記第2無線通信方式の無線通信ネットワークの探索により取得したネットワーク識別子のリストに、前記端末装置から前記第1無線通信を介して受信した第1ネットワーク識別子が含まれているか否かを判定し、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていると判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていることを示す通知を前記第1無線通信を介して前記端末装置へ送信し、前記端末装置から前記第1無線通信を介して受信した前記第1ネットワーク識別子と第1パスワードに基づいて、前記第3無線通信部により前記第1ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子があるときには、第1ネットワーク識別子とユーザーが端末装置の操作部で入力した第1パスワードとが端末装置からデバイスへ送信され、デバイスは第1ネットワーク識別子と第1パスワードに基づいて第1ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの前記ネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、前記端末装置から前記第1無線通信を介して受信した第2ネットワーク識別子と第2パスワードに基づいて、前記第3無線通信部により前記第2ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されていない場合に、端末装置からの要求に応じてデバイスから端末装置へネットワーク識別子のリストが送られ、ネットワーク識別子のリストから選択された第2ネットワーク識別子とユーザーが端末装置の操作部で入力した第2パスワードとが端末装置からデバイスへ送信され、デバイスは第2ネットワーク識別子と第2パスワードに基づいて第2ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
One aspect of the present invention is to perform a process of establishing a third wireless communication with an access point of a wireless communication network by a second wireless communication method in a device that establishes a first wireless communication with a terminal device by the first wireless communication method. The device control unit includes a third wireless communication unit and a device control unit, and the device control unit is included in the list of network identifiers acquired by the third wireless communication unit by searching for a wireless communication network of the second wireless communication method. When it is determined whether or not the first network identifier received from the terminal device via the first wireless communication is included and it is determined that the first network identifier is included in the list of the network identifiers, the said The notification indicating that the first network identifier is included in the list of network identifiers is transmitted to the terminal device via the first wireless communication, and received from the terminal device via the first wireless communication. It is a device that establishes the third wireless communication with the access point identified by the first network identifier by the third wireless communication unit based on the first network identifier and the first password.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is included in the list of network identifiers, the first network identifier and the first password entered by the user in the operation unit of the terminal device are used. Transmitted from the terminal device to the device, the device can establish a third wireless communication between the first network identifier and the access point identified by the first network identifier based on the first password. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.
Further, in one aspect of the present invention, in the device, the device control unit requests a list of the network identifiers from the terminal device which has not established the second wireless communication with the access point by the second wireless communication method. A list of the network identifiers is transmitted to the terminal device via the first wireless communication, and based on the second network identifier and the second password received from the terminal device via the first wireless communication. , A device that establishes the third wireless communication with the access point identified by the second network identifier by the third wireless communication unit.
With this configuration, when the terminal device is not wirelessly connected to the access point, a list of network identifiers is sent from the device to the terminal device in response to a request from the terminal device, and a second network selected from the list of network identifiers is sent. The identifier and the second password entered by the user in the operation unit of the terminal device are transmitted from the terminal device to the device, and the device is the second network identifier and the access point identified by the second network identifier based on the second password. 3 Wireless communication can be established. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第2無線通信方式による前記デバイスとの第4無線通信の確立に使用される無線設定情報の要求に応じて、前記無線設定情報を出力し、前記デバイスから出力した前記無線設定情報を使用して前記端末装置と前記第4無線通信を確立する、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから無線設定情報が出力され、デバイスから出力された無線設定情報を使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。
また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを含む二次元コードの要求に応じて、前記二次元コードを出力し、前記デバイスから出力した前記二次元コードに含まれる前記第5ネットワーク識別子及び前記第5パスワードを使用して前記端末装置と前記第4無線通信を確立する、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから第5ネットワーク識別子及び第5パスワードを含む二次元コードが出力され、デバイスから出力された二次元コードから取得された第5ネットワーク識別子及び第5パスワードを使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。また、二次元コードの読み取りによって、第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードが取得できるので、無線設定が簡単である。
Further, one aspect of the present invention is the second wireless communication method from the terminal device in which the device control unit has not established the second wireless communication with the access point by the second wireless communication method in the device. In response to a request for wireless setting information used to establish a fourth wireless communication with the device, the wireless setting information is output, and the wireless setting information output from the device is used to use the terminal device and the terminal device. A device that establishes a fourth wireless communication.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device outputs wireless setting information in response to a request from the terminal device, and the terminal device uses the wireless setting information output from the device. A fourth wireless communication can be established between the device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed.
Further, in one aspect of the present invention, in the device, the device control unit is the fourth wireless communication from the terminal device which has not established the second wireless communication with the access point by the second wireless communication method. In response to a request for a two-dimensional code including a fifth network identifier and a fifth password used for establishment, the two-dimensional code is output, and the fifth network identifier and the fifth network identifier included in the two-dimensional code output from the device are output. A device that establishes the fourth wireless communication with the terminal device using the fifth password.
With this configuration, when the terminal device is not wirelessly connected to the access point, a two-dimensional code including the fifth network identifier and the fifth password is output from the device in response to a request from the terminal device, and is output from the device. The fourth wireless communication can be established between the terminal device and the device by using the fifth network identifier and the fifth password obtained from the two-dimensional code. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed. Further, since the fifth network identifier and the fifth password used for establishing the fourth wireless communication can be obtained by reading the two-dimensional code, the wireless setting is easy.

また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードの要求に応じて、前記第5ネットワーク識別子及び前記第5パスワードを出力し、前記デバイスから出力した前記第5ネットワーク識別子及び前記第5パスワードを使用して前記端末装置と前記第4無線通信を確立する、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスから第5ネットワーク識別子及び第5パスワードが出力され、デバイスから出力された第5ネットワーク識別子及び第5パスワードを使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。
また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される前記デバイスのデバイス名の要求に応じて、前記デバイス名を出力し、前記デバイスから出力した前記デバイス名を使用して前記端末装置と前記第4無線通信を確立する、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されていない場合には、端末装置からの要求に応じてデバイスからデバイスのデバイス名が出力され、デバイスから出力されたデバイスのデバイス名を使用して端末装置とデバイス間で第4無線通信を確立することができる。これにより、端末装置からデバイスへ第4無線通信により例えば印刷データを送信でき、簡単に印刷を実行することができる。また、デバイスのデバイス名の選択によって、第4無線通信が確立できるので、無線設定が簡単である。
Further, in one aspect of the present invention, in the device, the device control unit is the fourth wireless communication from the terminal device which has not established the second wireless communication with the access point by the second wireless communication method. In response to a request for the 5th network identifier and the 5th password used for establishment, the 5th network identifier and the 5th password are output, and the 5th network identifier and the 5th password output from the device are used. It is a device that establishes the fourth wireless communication with the terminal device.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device outputs the fifth network identifier and the fifth password in response to the request from the terminal device, and the fifth network identifier output from the device. And the fifth password can be used to establish a fourth wireless communication between the terminal device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed.
Further, in one aspect of the present invention, in the device, the device control unit is the fourth wireless communication from the terminal device which has not established the second wireless communication with the access point by the second wireless communication method. In a device that outputs the device name in response to a request for the device name of the device used for establishment and establishes the fourth wireless communication with the terminal device using the device name output from the device. be.
With this configuration, when the terminal device is not wirelessly connected to the access point, the device name of the device is output from the device in response to the request from the terminal device, and the device name of the device output from the device is used. A fourth wireless communication can be established between the terminal device and the device. Thereby, for example, print data can be transmitted from the terminal device to the device by the fourth wireless communication, and printing can be easily executed. Further, since the fourth wireless communication can be established by selecting the device name of the device, the wireless setting is easy.

また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていないと判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていないことを示す通知を前記第1無線通信を介して前記端末装置へ送信し、前記端末装置からの前記ネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、前記端末装置から前記第1無線通信を介して受信した第3ネットワーク識別子と第3パスワードに基づいて、前記第3無線通信部により前記第3ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、デバイスである。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子がないときは、端末装置からの要求に応じてデバイスから端末装置へネットワーク識別子のリストが送られ、ネットワーク識別子のリストから選択された第3ネットワーク識別子とユーザーが端末装置の操作部で入力した第3パスワードとが端末装置からデバイスへ送信され、デバイスは第3ネットワーク識別子と第3パスワードに基づいて第3ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
Further, in one aspect of the present invention, when the device control unit determines that the first network identifier is not included in the list of the network identifiers in the device, the first network identifier is the network identifier. A notification indicating that the network identifier is not included in the list is transmitted to the terminal device via the first wireless communication, and the list of network identifiers is displayed in response to a request from the terminal device for the list of network identifiers. 1 The third network by the third wireless communication unit based on the third network identifier and the third password transmitted to the terminal device via wireless communication and received from the terminal device via the first wireless communication. A device that establishes the third wireless communication with the access point identified by the identifier.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is not included in the list of network identifiers, the list of network identifiers is sent from the device to the terminal device in response to a request from the terminal device. The third network identifier selected from the list of network identifiers and the third password entered by the user in the operation unit of the terminal device are transmitted from the terminal device to the device, and the device is based on the third network identifier and the third password. It is possible to establish a third wireless communication with the access point identified by the third network identifier. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

また、本発明の一つの態様は、デバイスにおいて、前記デバイス制御部は、前記ネットワーク識別子のリストの中に、値がNULL又は長さが0のネットワーク識別子が含まれている場合、前記ネットワーク識別子のリスト及び前記ネットワーク識別子のリストにステルスモードで動作するアクセスポイントのネットワーク識別子が含まれていることを示すステルスアクセスポイント情報を前記第1無線通信を介して前記端末装置へ送信し、前記端末装置から前記第1無線通信を介して受信した第4ネットワーク識別子と第4パスワードに基づいて、前記第3無線通信部により前記第4ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、デバイスである。
この構成により、ネットワーク識別子のリストの中に、値がNULL又は長さが0のネットワーク識別子が含まれている場合には、デバイスから端末装置へステルスアクセスポイント情報が送られ、ユーザーが端末装置の操作部で入力した第4ネットワーク識別子と第4パスワードとが端末装置からデバイスへ送信され、デバイスは第4ネットワーク識別子と第4パスワードに基づいて第4ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。また、ユーザーは、ステルスアクセスポイントを利用してデバイスを無線通信ネットワークに接続させることができる。
Further, in one aspect of the present invention, in the device, when the device control unit includes a network identifier having a value of NUML or a length of 0 in the list of network identifiers, the device control unit of the network identifier. Stealth access point information indicating that the list and the list of the network identifiers include the network identifier of the access point operating in the stealth mode is transmitted to the terminal device via the first wireless communication, and the terminal device transmits the stealth access point information. Based on the fourth network identifier and the fourth password received via the first wireless communication, the third wireless communication unit establishes the third wireless communication with the access point identified by the fourth network identifier. It is a device.
With this configuration, if the list of network identifiers contains a network identifier with a value of NUML or a length of 0, stealth access point information is sent from the device to the terminal device and the user can use the terminal device. The 4th network identifier and the 4th password entered in the operation unit are transmitted from the terminal device to the device, and the device is the third radio with the access point identified by the 4th network identifier based on the 4th network identifier and the 4th password. Communication can be established. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point. Users can also use stealth access points to connect devices to wireless communication networks.

また、本発明の一つの態様は、デバイスにおいて、前記デバイスは、前記第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを前記端末装置と前記第1無線通信を介してやり取りする処理を行い、前記端末装置が前記第2ルールで予め定められたメッセージを前記デバイスに送ってきた場合、前記端末装置と前記第1無線通信を介して情報の送受信を行い、前記端末装置が前記第2ルールで予め定められたメッセージを前記デバイスに送ってこなかった場合、前記端末装置と前記第1無線通信を介して情報の送受信を行わない、デバイスである。
この構成により、第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを送ってきた相手とだけに、端末装置及びデバイスの情報のやり取りの相手を制限することができる。これにより、第1無線通信を介して情報のやり取りを行う相手の正当性が検証されるので、第1無線通信を介してやり取りされる情報の安全性が向上する。
Further, in one aspect of the present invention, in the device, the device sends a message predetermined by a second rule different from the first rule defined by the pairing standard of the first wireless communication to the terminal device. When the terminal device sends a message predetermined by the second rule to the device by performing a process of exchanging with the terminal device via the first wireless communication, the terminal device and the first wireless communication are used. A device that sends / receives information and does not send / receive information to / from the terminal device via the first wireless communication when the terminal device does not send a message predetermined by the second rule to the device. Is.
With this configuration, information on terminal devices and devices can be exchanged only with the other party who has sent a message predetermined by the second rule, which is different from the first rule defined by the pairing standard of the first wireless communication. You can limit your opponent. As a result, the legitimacy of the other party exchanging information via the first wireless communication is verified, so that the safety of the information exchanged via the first wireless communication is improved.

本発明の一つの態様は、第1無線通信部に、第1無線通信方式によりデバイスと第1無線通信を確立させるステップと、第2無線通信部が第2無線通信方式によりアクセスポイントと第2無線通信を確立しているか否かを判定する第1判定処理ステップと、前記第1判定処理ステップの結果、前記第2無線通信部が前記アクセスポイントと第2無線通信を確立していると判定した場合、前記第1無線通信部に、前記アクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信させるステップと、前記第1無線通信部が、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信した場合、表示部に、前記アクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を表示させるステップと、前記第1画面が前記指示を受け付けると、前記表示部に、第1パスワード入力画面を表示させるステップと、前記第1パスワード入力画面が第1パスワードの入力を受け付けると、前記第1無線通信部に、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信させるステップと、をコンピューターに実行させるためのプログラムである。
この構成により、端末装置がアクセスポイントと無線接続されている場合においてネットワーク識別子のリストに第1ネットワーク識別子があるときは、第1ネットワーク識別子とユーザーが端末装置の操作部で入力した第1パスワードとが端末装置からデバイスへ送信され、デバイスは第1ネットワーク識別子と第1パスワードに基づいて第1ネットワーク識別子が識別するアクセスポイントとの第3無線通信を確立することができる。これにより、デバイスからアクセスポイントに無線接続する際に端末装置を利用してアクセスポイントに設定する情報の入力を行うことができる。
One aspect of the present invention is a step of establishing a first wireless communication with a device by a first wireless communication unit in a first wireless communication unit, and a second wireless communication unit with an access point by a second wireless communication method. As a result of the first determination processing step for determining whether or not wireless communication is established and the first determination processing step, it is determined that the second wireless communication unit has established the second wireless communication with the access point. If so, the device stores the step of causing the first wireless communication unit to transmit the first network identifier of the access point to the device via the first wireless communication, and the first wireless communication unit. When a notification indicating that the first network identifier is included in the list of network identifiers is received from the device via the first wireless communication, the display unit is instructed to wirelessly connect the device to the access point. A step of displaying the first screen for accepting the above, a step of displaying the first password input screen on the display unit when the first screen accepts the instruction, and the first password input screen for inputting the first password. Is a program for causing a computer to execute a step of causing the first wireless communication unit to transmit the first network identifier and the first password to the device via the first wireless communication.
With this configuration, when the terminal device is wirelessly connected to the access point and the first network identifier is included in the list of network identifiers, the first network identifier and the first password entered by the user in the operation unit of the terminal device are used. Is transmitted from the terminal device to the device, and the device can establish a third wireless communication between the first network identifier and the access point identified by the first network identifier based on the first password. This makes it possible to input information to be set in the access point by using the terminal device when wirelessly connecting the device to the access point.

実施形態に係るシステムの概略構成を示す図である。It is a figure which shows the schematic structure of the system which concerns on embodiment. Wi-Fi(登録商標)ビーコンを模式的に示す図である。It is a figure which shows typically the Wi-Fi (registered trademark) beacon. 実施形態に係るSSIDリストの構成例を示す図である。It is a figure which shows the structural example of the SSID list which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment. 実施形態に係るシステムの動作を説明するためのシーケンスチャートである。It is a sequence chart for demonstrating the operation of the system which concerns on embodiment.

以下、本発明の実施形態について、図面を参照して詳細に説明する。
図1は、本実施形態に係るシステムの概略構成を示す図である。図1に示すシステム1は、印刷装置10と端末装置20とを備える。本実施形態においては、印刷装置10がデバイスに対応する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a diagram showing a schematic configuration of a system according to the present embodiment. The system 1 shown in FIG. 1 includes a printing device 10 and a terminal device 20. In this embodiment, the printing device 10 corresponds to the device.

印刷装置10と端末装置20とは、BLE(Bluetooth(登録商標) Low Energy)の規格に準拠した無線通信方式により第1無線通信110を確立する。本実施形態においては、BLEの規格に準拠した無線通信方式が第1無線通信方式に対応する。 The printing device 10 and the terminal device 20 establish a first wireless communication 110 by a wireless communication method compliant with the BLE (Bluetooth (registered trademark) Low Energy) standard. In the present embodiment, the wireless communication method conforming to the BLE standard corresponds to the first wireless communication method.

端末装置20は、Wi-Fi(登録商標)の規格に準拠した無線通信方式により無線LANのアクセスポイント30と第2無線通信120を確立する。印刷装置10は、Wi-Fiの規格に準拠した無線通信方式により無線LANのアクセスポイント30と第3無線通信130を確立する。本実施形態においては、Wi-Fiの規格に準拠した無線通信方式が第2無線通信方式に対応する。 The terminal device 20 establishes a wireless LAN access point 30 and a second wireless communication 120 by a wireless communication method conforming to the Wi-Fi (registered trademark) standard. The printing device 10 establishes a wireless LAN access point 30 and a third wireless communication 130 by a wireless communication method conforming to the Wi-Fi standard. In the present embodiment, the wireless communication method conforming to the Wi-Fi standard corresponds to the second wireless communication method.

アクセスポイント30は無線LANルーターとして機能する。図1中には、1台のアクセスポイント30が示されるが、複数台のアクセスポイント30が印刷装置10及び端末装置20の周辺に存在していてもよい。 The access point 30 functions as a wireless LAN router. Although one access point 30 is shown in FIG. 1, a plurality of access points 30 may exist in the vicinity of the printing device 10 and the terminal device 20.

[印刷装置の構成]
図1を参照して、印刷装置10の構成を説明する。印刷装置10は、処理部11とBLE通信部12とWi-Fi通信部13とタッチパネルディスプレイ14と印刷部15とを備える。BLE通信部12は、BLE規格により、Wi-Fi通信部13よりも低電力でより近距離の通信相手と無線通信を行うことができる。BLE通信部12は、例えば、BLE規格での無線通信を行うチップやモジュールとして構成される。
[Printing device configuration]
The configuration of the printing apparatus 10 will be described with reference to FIG. The printing device 10 includes a processing unit 11, a BLE communication unit 12, a Wi-Fi communication unit 13, a touch panel display 14, and a printing unit 15. According to the BLE standard, the BLE communication unit 12 can perform wireless communication with a communication partner at a shorter distance with lower power than the Wi-Fi communication unit 13. The BLE communication unit 12 is configured as, for example, a chip or a module that performs wireless communication according to the BLE standard.

Wi-Fi通信部13は、Wi-Fi規格によって通信相手と無線通信を行うことができる。Wi-Fi通信部13は、例えば、Wi-Fi規格での無線通信を行うチップやモジュールとして構成される。本実施形態においては、Wi-Fi通信部13が第3無線通信部に対応する。 The Wi-Fi communication unit 13 can perform wireless communication with a communication partner according to the Wi-Fi standard. The Wi-Fi communication unit 13 is configured as, for example, a chip or a module that performs wireless communication according to the Wi-Fi standard. In the present embodiment, the Wi-Fi communication unit 13 corresponds to the third wireless communication unit.

タッチパネルディスプレイ14は、各種の情報を表示可能なディスプレイと、ディスプレイに対するタッチを検出するタッチパネルとを兼ねたユーザーインターフェイスである。印刷部15は、図示しない印刷媒体の搬送機構や印刷媒体に画像を印刷する印刷機構等を備えている。 The touch panel display 14 is a user interface that also serves as a display capable of displaying various types of information and a touch panel for detecting a touch on the display. The printing unit 15 includes a transport mechanism for a printing medium (not shown), a printing mechanism for printing an image on the printing medium, and the like.

処理部11は、図示しないCPU,ROMやRAM等のメモリー(メモリーはEEPROMであっても良い。以下同様)を備えており、メモリーに記録されたプログラムを実行可能である。処理部11は、メモリーに記録されたファームウェア(プログラム)を実行することにより、デバイス制御部11aの機能を実現する。デバイス制御部11aは、BLE通信部12、Wi-Fi通信部13、タッチパネルディスプレイ14、印刷部15の動作を制御する。例えば、デバイス制御部11aは、タッチパネルディスプレイ14に画像を表示し、また、タッチパネルディスプレイ14に対するユーザーの入力を受け付ける。また、デバイス制御部11aは、印刷データに基づいて印刷データが示す画像に対する画像処理を実行し、印刷部15を制御して当該画像を印刷媒体に印刷させる。また、デバイス制御部11aは、BLE通信部12を制御し、端末装置20と第1無線通信110を確立する。また、デバイス制御部11aは、Wi-Fi通信部13を制御し、アクセスポイント30と第3無線通信130を確立する。 The processing unit 11 includes a memory (memory may be EEPROM, the same shall apply hereinafter) such as a CPU, ROM, and RAM (not shown), and can execute a program recorded in the memory. The processing unit 11 realizes the function of the device control unit 11a by executing the firmware (program) recorded in the memory. The device control unit 11a controls the operations of the BLE communication unit 12, the Wi-Fi communication unit 13, the touch panel display 14, and the printing unit 15. For example, the device control unit 11a displays an image on the touch panel display 14 and accepts user input to the touch panel display 14. Further, the device control unit 11a executes image processing on the image indicated by the print data based on the print data, and controls the print unit 15 to print the image on the print medium. Further, the device control unit 11a controls the BLE communication unit 12 to establish the terminal device 20 and the first wireless communication 110. Further, the device control unit 11a controls the Wi-Fi communication unit 13 to establish the access point 30 and the third wireless communication 130.

処理部11は、SSIDリスト11bをメモリーに格納する。SSIDリスト11bは、Wi-Fi通信部13がWi-Fiの規格に準拠した無線通信方式の無線LANの探索により取得したSSIDのリストである。本実施形態においては、Wi-Fiの規格に準拠した無線通信方式の無線LANが第2無線通信方式の無線通信ネットワークに対応する。また、本実施形態においては、SSIDがネットワーク識別子に対応する。 The processing unit 11 stores the SSID list 11b in the memory. The SSID list 11b is a list of SSIDs acquired by the Wi-Fi communication unit 13 by searching for a wireless LAN of a wireless communication method conforming to the Wi-Fi standard. In the present embodiment, the wireless LAN of the wireless communication system conforming to the Wi-Fi standard corresponds to the wireless communication network of the second wireless communication system. Further, in the present embodiment, the SSID corresponds to the network identifier.

[端末装置の構成]
図1を参照して、端末装置20の構成を説明する。端末装置20は、処理部21とBLE通信部22とWi-Fi通信部23とタッチパネルディスプレイ24とを備える。BLE通信部22は、BLE規格により、Wi-Fi通信部23よりも低電力でより近距離の通信相手と無線通信を行うことができる。BLE通信部22は、例えば、BLE規格での無線通信を行うチップやモジュールとして構成される。
[Terminal device configuration]
The configuration of the terminal device 20 will be described with reference to FIG. The terminal device 20 includes a processing unit 21, a BLE communication unit 22, a Wi-Fi communication unit 23, and a touch panel display 24. According to the BLE standard, the BLE communication unit 22 can perform wireless communication with a communication partner at a shorter distance with lower power than the Wi-Fi communication unit 23. The BLE communication unit 22 is configured as, for example, a chip or a module that performs wireless communication according to the BLE standard.

Wi-Fi通信部23は、Wi-Fi規格によって通信相手と無線通信を行うことができる。Wi-Fi通信部23は、例えば、Wi-Fi規格での無線通信を行うチップやモジュールとして構成される。本実施形態においては、Wi-Fi通信部23が第2無線通信部に対応する。 The Wi-Fi communication unit 23 can perform wireless communication with a communication partner according to the Wi-Fi standard. The Wi-Fi communication unit 23 is configured as, for example, a chip or a module that performs wireless communication according to the Wi-Fi standard. In the present embodiment, the Wi-Fi communication unit 23 corresponds to the second wireless communication unit.

タッチパネルディスプレイ24は、各種の情報を表示可能なディスプレイと、ディスプレイに対するタッチを検出するタッチパネルとを兼ねたユーザーインターフェイスである。本実施形態においては、タッチパネルディスプレイ24が表示部及び操作部に対応する。タッチパネルディスプレイ24は、画面の表示を行う表示部としての機能と、当該画面からの入力を受け付ける操作部としての機能とを持つ。 The touch panel display 24 is a user interface that also serves as a display capable of displaying various types of information and a touch panel for detecting a touch on the display. In the present embodiment, the touch panel display 24 corresponds to the display unit and the operation unit. The touch panel display 24 has a function as a display unit for displaying a screen and a function as an operation unit for receiving input from the screen.

処理部21は、図示しないCPU,ROMやRAM等のメモリーを備えており、メモリーに記録されたプログラムを実行可能である。処理部21は、メモリーに記録されたアプリケーション(プログラム)を実行することにより、端末制御部21aの機能を実現する。端末制御部21aは、BLE通信部22、Wi-Fi通信部23、タッチパネルディスプレイ24の動作を制御する。例えば、端末制御部21aは、タッチパネルディスプレイ24に画像を表示し、また、タッチパネルディスプレイ24に対するユーザーの入力を受け付ける。また、端末制御部21aは、BLE通信部22を制御し、印刷装置10と第1無線通信110を確立する。また、端末制御部21aは、Wi-Fi通信部23を制御し、アクセスポイント30と第2無線通信120を確立する。 The processing unit 21 includes a memory such as a CPU, ROM, and RAM (not shown), and can execute a program recorded in the memory. The processing unit 21 realizes the function of the terminal control unit 21a by executing the application (program) recorded in the memory. The terminal control unit 21a controls the operation of the BLE communication unit 22, the Wi-Fi communication unit 23, and the touch panel display 24. For example, the terminal control unit 21a displays an image on the touch panel display 24 and accepts user input to the touch panel display 24. Further, the terminal control unit 21a controls the BLE communication unit 22 to establish the printing device 10 and the first wireless communication 110. Further, the terminal control unit 21a controls the Wi-Fi communication unit 23 to establish the access point 30 and the second wireless communication 120.

端末装置20は、例えば、スマートフォンやタブレット型のコンピューター(タブレットPC)等の携帯通信端末装置であってもよく、又は、据置き型の端末装置(例えば、据置き型のパーソナルコンピューター等)であってもよい。 The terminal device 20 may be, for example, a mobile communication terminal device such as a smartphone or a tablet-type computer (tablet PC), or a stationary terminal device (for example, a stationary personal computer or the like). You may.

[SSIDリストの作成について]
図2は、Wi-Fiビーコンを模式的に示す図である。Wi-Fiビーコンは、Wi-Fi規格で定義されており、決められたフォーマット通りの情報が記述される部分にネットワーク情報の一項目としてSSIDが記述される。アクセスポイント30は、定期的にWi-Fiビーコンをブロードキャストする。Wi-Fi通信部13は、アクセスポイント30からブロードキャストされたWi-Fiビーコンを受信する。
[About creating SSID list]
FIG. 2 is a diagram schematically showing a Wi-Fi beacon. The Wi-Fi beacon is defined by the Wi-Fi standard, and the SSID is described as one item of network information in the part where the information according to the determined format is described. The access point 30 periodically broadcasts a Wi-Fi beacon. The Wi-Fi communication unit 13 receives the Wi-Fi beacon broadcast from the access point 30.

デバイス制御部11aは、Wi-Fi通信部13が受信したWi-Fiビーコンに含まれるSSIDをWi-Fi通信部13から取得する。デバイス制御部11aは、Wi-Fi通信部13から取得したSSIDをSSIDリスト11bに記載する。このとき、Wi-Fi通信部13から取得したSSIDが既にSSIDリスト11bに含まれている場合には、SSIDリスト11bに同じSSIDを重複して記載しない。図3に、本実施形態に係るSSIDリストの構成例を示す。図3に例示されるSSIDの値は便宜上の値である。 The device control unit 11a acquires the SSID included in the Wi-Fi beacon received by the Wi-Fi communication unit 13 from the Wi-Fi communication unit 13. The device control unit 11a describes the SSID acquired from the Wi-Fi communication unit 13 in the SSID list 11b. At this time, if the SSID acquired from the Wi-Fi communication unit 13 is already included in the SSID list 11b, the same SSID is not duplicated in the SSID list 11b. FIG. 3 shows a configuration example of the SSID list according to the present embodiment. The SSID values exemplified in FIG. 3 are values for convenience.

デバイス制御部11aは、Wi-Fi通信部13を制御し、一定の周期でWi-Fiビーコンの受信を行い、Wi-Fiビーコンの受信結果に基づいてSSIDリスト11bを更新する。これにより、一定の周期で、SSIDリスト11bが最新化される。 The device control unit 11a controls the Wi-Fi communication unit 13, receives the Wi-Fi beacon at regular intervals, and updates the SSID list 11b based on the reception result of the Wi-Fi beacon. As a result, the SSID list 11b is updated at regular intervals.

アクセスポイント30の中には、SSIDの値がNULL又はSSIDの長さが0である「通称、ステルスAP(ステルスアクセスポイント)」と呼ばれるものが存在し得る。ステルスAPからブロードキャストされたWi-Fiビーコンに含まれるSSIDとして、以下の2つの例が挙げられる。 Among the access points 30, there may be a so-called "stealth AP (stealth access point)" in which the SSID value is NULL or the SSID length is 0. The following two examples can be mentioned as the SSID included in the Wi-Fi beacon broadcast from the stealth AP.

(ステルスAPのSSIDの例1)
SSIDの値がNULLである場合、例えばSSIDの長さが4(SSID Length=4)である場合において、SSIDの値としてSSIDの長さ分だけNULL(¥0)となる(SSID=‘¥0¥0¥0¥0’)。
(Example 1 of SSID of stealth AP)
When the SSID value is NULL, for example, when the SSID length is 4 (SSID Length = 4), the SSID value is NULL (¥ 0) by the length of the SSID (SSID ='¥ 0). ¥ 0 ¥ 0 ¥ 0').

(ステルスAPのSSIDの例2)
SSIDの長さが0である場合(SSID Length=0)において、SSIDの値として「SSID=‘’」。
(Stealth AP SSID Example 2)
When the SSID length is 0 (SSID Length = 0), "SSID =''" as the SSID value.

デバイス制御部11aは、Wi-Fi通信部13から取得したSSIDが上記したステルスAPのSSIDの例1(SSIDの値がNULL)又は上記したステルスAPのSSIDの例2(SSIDの長さが0)に該当するかを判断し、該当する場合にはSSIDとして「SSIDの値がNULL」又は「SSIDの長さが0」をSSIDリスト11bに記載する。本実施形態では、SSIDリスト11bに記載される「SSIDの値がNULL」又は「SSIDの長さが0」がステルスアクセスポイント情報に対応する。 In the device control unit 11a, the SSID acquired from the Wi-Fi communication unit 13 is Example 1 of the SSID of the above-mentioned stealth AP (the value of the SSID is FULL) or Example 2 of the SSID of the above-mentioned stealth AP (the length of the SSID is 0). ), And if applicable, “SSID value is FULL” or “SSID length is 0” is described in the SSID list 11b as the SSID. In the present embodiment, "the value of SSID is NULL" or "the length of SSID is 0" described in the SSID list 11b corresponds to the stealth access point information.

[システムの動作]
図4から図7を参照して、本実施形態に係るシステム1の動作を説明する。図4から図7は、本実施形態に係るシステム1の動作を説明するためのシーケンスチャートである。図4から図7において、APはアクセスポイント30を指し、PRは印刷装置10を指し、TEは端末装置20を指す。
[System operation]
The operation of the system 1 according to the present embodiment will be described with reference to FIGS. 4 to 7. 4 to 7 are sequence charts for explaining the operation of the system 1 according to the present embodiment. In FIGS. 4 to 7, AP refers to the access point 30, PR refers to the printing device 10, and TE refers to the terminal device 20.

はじめに、図4において、端末装置20は、処理部21がアプリケーションを実行し、端末制御部21aの機能が実現されている。また、端末装置20は、端末制御部11bの制御により、BLE通信部22が起動している。また、印刷装置10には、アクセスポイント30のSSID及びパスワードが設定されていない。 First, in FIG. 4, in the terminal device 20, the processing unit 21 executes an application, and the function of the terminal control unit 21a is realized. Further, in the terminal device 20, the BLE communication unit 22 is activated under the control of the terminal control unit 11b. Further, the SSID and password of the access point 30 are not set in the printing device 10.

(ステップS101) 印刷装置10の電源がオンされる。印刷装置10の電源がオンされると、処理部11がメモリーに記録されたファームウェアを実行し、デバイス制御部11aの機能が実現される。 (Step S101) The power of the printing device 10 is turned on. When the power of the printing device 10 is turned on, the processing unit 11 executes the firmware recorded in the memory, and the function of the device control unit 11a is realized.

(ステップS102) デバイス制御部11aは、Wi-Fi通信部23を制御し、Wi-Fiビーコンの受信を行い、Wi-Fiビーコンの受信結果に基づいてSSIDリスト11bを作成する。デバイス制御部11aは、作成したSSIDリスト11bをメモリーに格納する。 (Step S102) The device control unit 11a controls the Wi-Fi communication unit 23, receives the Wi-Fi beacon, and creates the SSID list 11b based on the reception result of the Wi-Fi beacon. The device control unit 11a stores the created SSID list 11b in the memory.

(ステップS103) デバイス制御部11aは、BLE通信部12を制御し、BLE規格のビーコン信号としてアドバタイズパケット(Advertising Packet)を送信させる。 (Step S103) The device control unit 11a controls the BLE communication unit 12 to transmit an advertising packet as a BLE standard beacon signal.

(ステップS104) 端末装置20において、端末制御部21aは、BLE通信部22によりアドバタイズパケットを受信すると、タッチパネルディスプレイ24に「印刷装置と無線LAN接続するかを問う通知」の画面を表示させる。端末制御部21aは、ユーザーがタッチパネルディスプレイ24により「印刷装置と無線LAN接続することを承認」する操作を受け付けると、印刷装置10を第1無線通信110を確立する相手に選択する。この後、ステップS105に処理を進める。 (Step S104) In the terminal device 20, when the terminal control unit 21a receives the advertisement packet by the BLE communication unit 22, the touch panel display 24 displays a screen of "notification asking whether to connect to the printing device via wireless LAN". When the user accepts the operation of "approving the wireless LAN connection with the printing device" by the touch panel display 24, the terminal control unit 21a selects the printing device 10 as the partner for establishing the first wireless communication 110. After that, the process proceeds to step S105.

なお、アドバタイズパケットを送信する印刷装置10が複数ある場合には、ステップS104a(ステップS104a-1,S104a-2)が実行される。 If there are a plurality of printing devices 10 that transmit advertisement packets, step S104a (steps S104a-1 and S104a-2) is executed.

(ステップS104a-1) 端末制御部21aは、BLE通信部22により複数のアドバタイズパケットを受信し、アドバタイズパケットを送信する印刷装置10が複数あることを検出すると、タッチパネルディスプレイ24に印刷装置10の一覧の画面を表示させる。印刷装置10の一覧は、端末装置20からの距離が近い順に印刷装置10が示されたものである。 (Step S104a-1) When the terminal control unit 21a detects that there are a plurality of printing devices 10 that receive a plurality of advertisement packets by the BLE communication unit 22 and transmit the advertisement packets, a list of the printing devices 10 is displayed on the touch panel display 24. Display the screen of. The list of printing devices 10 shows the printing devices 10 in order of increasing distance from the terminal device 20.

ここで、端末装置20と印刷装置10との距離を算出する方法を説明する。端末制御部21aは、BLE通信部22によりBLE規格のビーコン信号の受信信号強度(RSSI:Received Signal Strength Indication)を取得する。端末制御部21aは、BLE通信部22により取得したBLE規格のビーコン信号の受信信号強度に基づいて、印刷装置10との距離を求める。端末制御部21aは、BLE規格のビーコン信号に含まれる距離の基準となる信号強度値と、BLE規格のビーコン信号の受信信号強度とを比較する。距離の基準となる信号強度値とは、BLE規格のビーコン信号の送信側機器から基準となる距離だけ離れた位置に受信側機器を設置したときの、当該受信側機器でのBLE規格のビーコン信号の受信信号強度である。BLE規格のビーコン信号としてアドバタイズパケットを用いる例であれば、送信側機器がブロードキャスター(Broadcaster)であり、受信側機器がオブザーバー(Observer)である。基準となる距離は、例えば1mであるが、異なる距離に設定されてもよい。 Here, a method of calculating the distance between the terminal device 20 and the printing device 10 will be described. The terminal control unit 21a acquires the received signal strength (RSSI: Received Signal Strength Indication) of the BLE standard beacon signal by the BLE communication unit 22. The terminal control unit 21a obtains the distance from the printing device 10 based on the received signal strength of the BLE standard beacon signal acquired by the BLE communication unit 22. The terminal control unit 21a compares the signal strength value as a reference of the distance included in the BLE standard beacon signal with the received signal strength of the BLE standard beacon signal. The signal strength value that serves as a reference for the distance is the BLE standard beacon signal at the receiving side device when the receiving side device is installed at a position that is a reference distance away from the transmitting side device of the BLE standard beacon signal. Received signal strength. In the example of using the advertisement packet as the beacon signal of the BLE standard, the transmitting side device is a broadcaster and the receiving side device is an observer (Observer). The reference distance is, for example, 1 m, but may be set to a different distance.

説明を図4に戻す。
(ステップS104a-2) 端末制御部21aは、ユーザーがタッチパネルディスプレイ24により印刷装置10の一覧から1台の印刷装置10を選択する操作を受け付けると、選択された印刷装置10を第1無線通信110を確立する相手に選択する。この後、ステップS105に処理を進める。
The explanation is returned to FIG.
(Step S104a-2) When the terminal control unit 21a receives an operation of selecting one printing device 10 from the list of printing devices 10 by the touch panel display 24, the terminal control unit 21a transfers the selected printing device 10 to the first wireless communication 110. Select as the person to establish. After that, the process proceeds to step S105.

(ステップS105) 端末制御部21aは、BLE通信部22を制御し、第1無線通信110を確立する相手に選択した印刷装置10と第1無線通信110を確立する。 (Step S105) The terminal control unit 21a controls the BLE communication unit 22 and establishes the printing device 10 and the first wireless communication 110 selected as the partner for establishing the first wireless communication 110.

(ステップS106) 端末制御部21aは、第1無線通信110を介して、メッセージ「XXXX」を印刷装置10へ送信する。メッセージ「XXXX」は、端末装置20のアプリケーションと印刷装置10のファームウェアとの間で予め定められたルールに従って生成されるものである。 (Step S106) The terminal control unit 21a transmits the message “XXXX” to the printing device 10 via the first wireless communication 110. The message "XXXX" is generated according to a predetermined rule between the application of the terminal device 20 and the firmware of the printing device 10.

(ステップS107) 印刷装置10において、デバイス制御部11aは、第1無線通信110を介して端末装置20から受信したメッセージ「XXXX」が正しいか否かを判定する。メッセージ「XXXX」が正しいか否かは、端末装置20のアプリケーションと印刷装置10のファームウェアとの間で予め定められたルールに従って判定される。デバイス制御部11aは、メッセージ「XXXX」が正しいと判定した場合、第1無線通信110を介して、メッセージ「YYYY」を端末装置20へ応答する。メッセージ「YYYY」は、端末装置20のアプリケーションと印刷装置10のファームウェアとの間で予め定められたルールに従って生成されるものである。 (Step S107) In the printing device 10, the device control unit 11a determines whether or not the message “XXXX” received from the terminal device 20 via the first wireless communication 110 is correct. Whether or not the message "XXXX" is correct is determined according to a predetermined rule between the application of the terminal device 20 and the firmware of the printing device 10. When the device control unit 11a determines that the message "XXXX" is correct, the device control unit 11a responds the message "YYYY" to the terminal device 20 via the first wireless communication 110. The message "YYYY" is generated according to a predetermined rule between the application of the terminal device 20 and the firmware of the printing device 10.

端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10から受信したメッセージ「YYYY」が正しいか否かを判定する。メッセージ「YYYY」が正しいか否かは、端末装置20のアプリケーションと印刷装置10のファームウェアとの間で予め定められたルールに従って判定される。端末制御部21aは、メッセージ「YYYY」が正しいと判定した場合には、第1無線通信110を介して、印刷装置10と情報のやり取りを行うと判断する。一方、端末制御部21aは、メッセージ「YYYY」が正しくないと判定した場合には、第1無線通信110を介して、印刷装置10と情報のやり取りを行わないと判断する。 In the terminal device 20, the terminal control unit 21a determines whether or not the message "YYYY" received from the printing device 10 via the first wireless communication 110 is correct. Whether or not the message "YYYY" is correct is determined according to a predetermined rule between the application of the terminal device 20 and the firmware of the printing device 10. When the terminal control unit 21a determines that the message "YYYY" is correct, it determines that information is exchanged with the printing device 10 via the first wireless communication 110. On the other hand, when the terminal control unit 21a determines that the message "YYYY" is incorrect, it determines that the information is not exchanged with the printing device 10 via the first wireless communication 110.

なお、上記したステップS106,S107の手順とは逆であってもよい。はじめに印刷装置10から端末装置20へメッセージ「XXXX」を送信し、端末装置20が当該メッセージ「XXXX」が正しいと判断した場合に端末装置20から印刷装置10へメッセージ「YYYY」を応答する。印刷装置10において、デバイス制御部11aは、当該メッセージ「YYYY」が正しいと判断した場合には、第1無線通信110を介して、端末装置20と情報のやり取りを行うと判断する。一方、デバイス制御部11aは、当該メッセージ「YYYY」が正しくないと判定した場合には、第1無線通信110を介して、端末装置20と情報のやり取りを行わないと判断する。 The procedure of steps S106 and S107 may be reversed. First, the printing device 10 transmits the message "XXXX" to the terminal device 20, and when the terminal device 20 determines that the message "XXXX" is correct, the terminal device 20 responds to the printing device 10 with the message "YYYY". In the printing device 10, if the device control unit 11a determines that the message "YYYY" is correct, it determines that information is exchanged with the terminal device 20 via the first wireless communication 110. On the other hand, when the device control unit 11a determines that the message "YYYY" is incorrect, it determines that the information is not exchanged with the terminal device 20 via the first wireless communication 110.

ここでは、上記したステップS106,S107の結果、端末装置20と印刷装置10とは、第1無線通信110を介して、情報のやり取りを行うとする。 Here, as a result of the above steps S106 and S107, it is assumed that the terminal device 20 and the printing device 10 exchange information via the first wireless communication 110.

(ステップS108) 端末装置20において、端末制御部21aは、Wi-Fi通信部23がアクセスポイント30と第2無線通信120を確立しているか否かを判定する。本実施形態においては、ステップS108が第1判定処理に対応する。ステップS108の判定の結果、Wi-Fi通信部23がアクセスポイント30と第2無線通信120を確立している場合には、図5のステップS200に処理を進める。一方、ステップS108の判定の結果、Wi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していない場合には、図6のステップS300に処理を進める。 (Step S108) In the terminal device 20, the terminal control unit 21a determines whether or not the Wi-Fi communication unit 23 has established the access point 30 and the second wireless communication 120. In the present embodiment, step S108 corresponds to the first determination process. As a result of the determination in step S108, if the Wi-Fi communication unit 23 has established the access point 30 and the second wireless communication 120, the process proceeds to step S200 in FIG. On the other hand, if the Wi-Fi communication unit 23 has not established the access point 30 and the second wireless communication 120 as a result of the determination in step S108, the process proceeds to step S300 in FIG.

<端末装置がアクセスポイントと無線接続されている場合>
図5を参照してステップS200を説明する。
(ステップS201) 端末装置20において、端末制御部21aは、Wi-Fi通信部23が第2無線通信120を確立しているアクセスポイント30のSSID(以下、第1SSIDと称する)を、第1無線通信110を介して印刷装置10へ送信する。
<When the terminal device is wirelessly connected to the access point>
Step S200 will be described with reference to FIG.
(Step S201) In the terminal device 20, the terminal control unit 21a uses the SSID (hereinafter referred to as the first SSID) of the access point 30 in which the Wi-Fi communication unit 23 has established the second wireless communication 120 as the first wireless. It is transmitted to the printing device 10 via the communication 110.

(ステップS202) 印刷装置10において、デバイス制御部11aは、SSIDリスト11bの中に、端末装置20から第1無線通信110を介して受信した第1SSIDが含まれているか否かを判定する。デバイス制御部11aは、SSIDリスト11bの中に第1SSIDが含まれていると判定したときは、第1SSIDの確認の成功の通知を第1無線通信110を介して端末装置20へ送信する。一方、デバイス制御部11aは、SSIDリスト11bの中に第1SSIDが含まれていないと判定したときは、第1SSIDの確認の失敗の通知を第1無線通信110を介して端末装置20へ送信する。 (Step S202) In the printing device 10, the device control unit 11a determines whether or not the SSID list 11b includes the first SSID received from the terminal device 20 via the first wireless communication 110. When the device control unit 11a determines that the first SSID is included in the SSID list 11b, the device control unit 11a transmits a notification of success of the confirmation of the first SSID to the terminal device 20 via the first wireless communication 110. On the other hand, when the device control unit 11a determines that the first SSID is not included in the SSID list 11b, the device control unit 11a transmits a notification of failure of confirmation of the first SSID to the terminal device 20 via the first wireless communication 110. ..

(ステップS203) 端末装置20において、端末制御部21aは、印刷装置10から第1無線通信110を介して受信した第1SSIDの確認結果の通知を確認する。当該通知の確認の結果、第1SSIDの確認の成功である場合にはステップS210に処理を進める。一方、当該通知の確認の結果、第1SSIDの確認の失敗である場合にはステップS220に処理を進める。 (Step S203) In the terminal device 20, the terminal control unit 21a confirms the notification of the confirmation result of the first SSID received from the printing device 10 via the first wireless communication 110. As a result of the confirmation of the notification, if the confirmation of the first SSID is successful, the process proceeds to step S210. On the other hand, if the confirmation of the first SSID fails as a result of the confirmation of the notification, the process proceeds to step S220.

<端末装置がアクセスポイントと無線接続されている場合において、SSIDリストに第1SSIDがあるとき>
ステップS210を説明する。
(ステップS211) 端末装置20において、端末制御部21aは、自端末装置20が接続しているアクセスポイント30に印刷装置10を無線接続させる指示を受け付ける第1画面を、タッチパネルディスプレイ24に表示させる。第1画面から指示を受け付けた場合、図7のステップS401に処理を進める。
<When the terminal device is wirelessly connected to the access point and the first SSID is in the SSID list>
Step S210 will be described.
(Step S211) In the terminal device 20, the terminal control unit 21a causes the touch panel display 24 to display a first screen for receiving an instruction to wirelessly connect the printing device 10 to the access point 30 to which the terminal device 20 is connected. When the instruction is received from the first screen, the process proceeds to step S401 in FIG.

図7に説明を移す。
(ステップS401) 端末制御部21aは、第1画面から指示を受け付けると、パスワード入力画面(第1パスワード入力画面)をタッチパネルディスプレイ24に表示させる。端末制御部21aは、パスワード入力画面から第1SSIDのパスワード(以下、第1パスワードと称する)の入力を受け付ける。
The explanation is transferred to FIG.
(Step S401) When the terminal control unit 21a receives an instruction from the first screen, the terminal control unit 21a displays the password input screen (first password input screen) on the touch panel display 24. The terminal control unit 21a accepts the input of the password of the first SSID (hereinafter referred to as the first password) from the password input screen.

(ステップS402) 端末制御部21aは、第1SSIDと第1パスワードを第1無線通信110を介して印刷装置10へ送信する。 (Step S402) The terminal control unit 21a transmits the first SSID and the first password to the printing device 10 via the first wireless communication 110.

(ステップS403) 印刷装置10において、デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第1SSIDと第1パスワードに基づいて、Wi-Fi通信部13によりアクセスポイント30との第3無線通信130を確立させる。 (Step S403) In the printing device 10, the device control unit 11a is connected to the access point 30 by the Wi-Fi communication unit 13 based on the first SSID and the first password received from the terminal device 20 via the first wireless communication 110. The third wireless communication 130 is established.

なお、端末装置20がアクセスポイント30と無線接続されている場合において、印刷装置10のSSIDリスト11bに第1SSIDがあるときは、端末装置20は、印刷装置10へSSIDリスト11bを要求しない。これは、BLEの規格に準拠した無線通信方式の通信速度ではSSIDリスト11bの送信に比較的時間がかかるので、ユーザーの待ち時間を少しでも短縮することを目的としている。 When the terminal device 20 is wirelessly connected to the access point 30 and the SSID list 11b of the printing device 10 has the first SSID, the terminal device 20 does not request the SSID list 11b from the printing device 10. This is intended to reduce the waiting time of the user as much as possible because it takes a relatively long time to transmit the SSID list 11b at the communication speed of the wireless communication method conforming to the BLE standard.

<端末装置がアクセスポイントと無線接続されている場合において、SSIDリストに第1SSIDがないとき>
図5のステップS220を説明する。
(ステップS221) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へSSIDリスト11bを要求する。
<When the terminal device is wirelessly connected to the access point and the first SSID is not in the SSID list>
Step S220 of FIG. 5 will be described.
(Step S221) In the terminal device 20, the terminal control unit 21a requests the printing device 10 for the SSID list 11b via the first wireless communication 110.

(ステップS222) 印刷装置10において、デバイス制御部11aは、端末装置20からのSSIDリスト11bの要求に応じて、処理部11のメモリーに格納されているSSIDリスト11bを第1無線通信110を介して端末装置20へ送信する。 (Step S222) In the printing device 10, the device control unit 11a responds to the request of the SSID list 11b from the terminal device 20 by using the SSID list 11b stored in the memory of the processing unit 11 via the first wireless communication 110. And sends it to the terminal device 20.

(ステップS223) 端末装置20において、端末制御部21aは、印刷装置10から第1無線通信110を介して受信したSSIDリスト11bのいずれかのSSID(以下、第3SSIDと称する)が選択されると、図7のステップS401に処理を進める。 (Step S223) In the terminal device 20, when the terminal control unit 21a selects any SSID (hereinafter referred to as a third SSID) of the SSID list 11b received from the printing device 10 via the first wireless communication 110. , The process proceeds to step S401 in FIG. 7.

図7に説明を移す。
(ステップS401) 端末制御部21aは、第3SSIDが選択されると、パスワード入力画面(第3パスワード入力画面)をタッチパネルディスプレイ24に表示させる。端末制御部21aは、パスワード入力画面から第3SSIDのパスワード(以下、第3パスワードと称する)の入力を受け付ける。
The explanation is transferred to FIG.
(Step S401) When the third SSID is selected, the terminal control unit 21a displays the password input screen (third password input screen) on the touch panel display 24. The terminal control unit 21a accepts the input of the password of the third SSID (hereinafter referred to as the third password) from the password input screen.

(ステップS402) 端末制御部21aは、第3SSIDと第3パスワードを第1無線通信110を介して印刷装置10へ送信する。 (Step S402) The terminal control unit 21a transmits the third SSID and the third password to the printing device 10 via the first wireless communication 110.

(ステップS403) 印刷装置10において、デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第3SSIDと第3パスワードに基づいて、Wi-Fi通信部13によりアクセスポイント30との第3無線通信130を確立させる。 (Step S403) In the printing device 10, the device control unit 11a is connected to the access point 30 by the Wi-Fi communication unit 13 based on the third SSID and the third password received from the terminal device 20 via the first wireless communication 110. The third wireless communication 130 is established.

上記したステップS223における第3SSIDの選択は、以下の方法(1)又は(2)により行われる。
(1)SSIDリスト11b内のSSIDが1個のみである場合、端末制御部21aは、当該1個のSSIDを第3SSIDに選択する。但し、当該1個のSSIDが「SSIDの値がNULL」又は「SSIDの長さが0」のいずれでもない場合に限る。
(2)SSIDリスト11b内のSSIDが複数個ある場合、端末制御部21aは、タッチパネルディスプレイ24にSSIDリスト11bの画面を表示させる。端末制御部21aは、ユーザーがタッチパネルディスプレイ24によりSSIDリスト11bから1個のSSIDを選択する操作を受け付けると、選択されたSSIDを第3SSIDに選択する。
The selection of the third SSID in step S223 described above is performed by the following method (1) or (2).
(1) When there is only one SSID in the SSID list 11b, the terminal control unit 21a selects the one SSID as the third SSID. However, this is limited to the case where the one SSID is neither "the value of SSID is NULL" nor "the length of SSID is 0".
(2) When there are a plurality of SSIDs in the SSID list 11b, the terminal control unit 21a causes the touch panel display 24 to display the screen of the SSID list 11b. When the user receives the operation of selecting one SSID from the SSID list 11b on the touch panel display 24, the terminal control unit 21a selects the selected SSID as the third SSID.

<端末装置が印刷装置から受信したSSIDリストにステルスAPのSSIDとして「SSIDの値がNULL」又は「SSIDの長さが0」が記載されている場合>
なお、SSIDリスト11bにSSIDとして「SSIDの値がNULL」又は「SSIDの長さが0」が記載されている場合、端末制御部21aは、SSID及びパスワード入力画面(第4パスワード入力画面)をタッチパネルディスプレイ24に表示させる。端末制御部21aは、SSID及びパスワード入力画面から、SSID(以下、第4SSIDと称する)及びパスワード(以下、第4パスワードと称する)の入力を受け付けると、図7のステップS402に処理を進める。次いで、ステップS402では、端末制御部21aは、第4SSIDと第4パスワードを第1無線通信110を介して印刷装置10へ送信する。次いで、ステップS403では、印刷装置10において、デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第4SSIDと第4パスワードに基づいて、Wi-Fi通信部13によりアクセスポイント30との第3無線通信130を確立させる。
<When "SSID value is NULL" or "SSID length is 0" is described as the SSID of the stealth AP in the SSID list received by the terminal device from the printing device>
When "the value of SSID is NULL" or "the length of SSID is 0" is described as SSID in the SSID list 11b, the terminal control unit 21a displays the SSID and password input screen (fourth password input screen). It is displayed on the touch panel display 24. When the terminal control unit 21a receives the input of the SSID (hereinafter referred to as the 4th SSID) and the password (hereinafter referred to as the 4th password) from the SSID and password input screen, the process proceeds to step S402 of FIG. Next, in step S402, the terminal control unit 21a transmits the fourth SSID and the fourth password to the printing device 10 via the first wireless communication 110. Next, in step S403, in the printing device 10, the device control unit 11a is accessed by the Wi-Fi communication unit 13 based on the fourth SSID and the fourth password received from the terminal device 20 via the first wireless communication 110. Establish a third wireless communication 130 with 30.

<端末装置がアクセスポイントと無線接続されていない場合>
図6を参照してステップS300を説明する。
(ステップS301) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へSSIDリスト11bを要求する。
<When the terminal device is not wirelessly connected to the access point>
Step S300 will be described with reference to FIG.
(Step S301) In the terminal device 20, the terminal control unit 21a requests the printing device 10 for the SSID list 11b via the first wireless communication 110.

(ステップS302) 印刷装置10において、デバイス制御部11aは、端末装置20からのSSIDリスト11bの要求に応じて、処理部11のメモリーに格納されているSSIDリスト11bを第1無線通信110を介して端末装置20へ送信する。 (Step S302) In the printing device 10, the device control unit 11a responds to the request of the SSID list 11b from the terminal device 20 by using the SSID list 11b stored in the memory of the processing unit 11 via the first wireless communication 110. And sends it to the terminal device 20.

(ステップS303) 端末装置20において、端末制御部21aは、印刷装置10から第1無線通信110を介して受信したSSIDリスト11bのいずれかのSSID(第2SSID)が選択されると、図7のステップS401に処理を進める。 (Step S303) In the terminal device 20, when the SSID (second SSID) of any SSID list 11b received from the printing device 10 via the first wireless communication 110 is selected by the terminal control unit 21a, FIG. 7 shows. The process proceeds to step S401.

図7に説明を移す。
(ステップS401) 端末制御部21aは、第2SSIDが選択されると、パスワード入力画面(第2パスワード入力画面)をタッチパネルディスプレイ24に表示させる。端末制御部21aは、パスワード入力画面から第2SSIDのパスワード(第2パスワード)の入力を受け付ける。
The explanation is transferred to FIG.
(Step S401) When the second SSID is selected, the terminal control unit 21a displays the password input screen (second password input screen) on the touch panel display 24. The terminal control unit 21a accepts the input of the password (second password) of the second SSID from the password input screen.

(ステップS402) 端末制御部21aは、第2SSIDと第2パスワードを第1無線通信110を介して印刷装置10へ送信する。 (Step S402) The terminal control unit 21a transmits the second SSID and the second password to the printing device 10 via the first wireless communication 110.

(ステップS403) 印刷装置10において、デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第2SSIDと第2パスワードに基づいて、Wi-Fi通信部13によりアクセスポイント30との第3無線通信130を確立させる。 (Step S403) In the printing device 10, the device control unit 11a is connected to the access point 30 by the Wi-Fi communication unit 13 based on the second SSID and the second password received from the terminal device 20 via the first wireless communication 110. The third wireless communication 130 is established.

なお、上記したステップS303における第2SSIDの選択は、上記した図5のステップS223における第2SSIDの選択の方法(1),(2)と同じである。 The selection of the second SSID in step S303 described above is the same as the methods (1) and (2) for selecting the second SSID in step S223 of FIG. 5 described above.

また、SSIDリスト11bにSSIDとして「SSIDの値がNULL」又は「SSIDの長さが0」が記載されている場合には、上記した<端末装置が印刷装置から受信したSSIDリストにステルスAPのSSIDとして「SSIDの値がNULL」又は「SSIDの長さが0」が記載されている場合>と同じ処理が行われる。 Further, when "SSID value is NULL" or "SSID length is 0" is described as SSID in SSID list 11b, the above-mentioned <SSID list received from the printing device by the terminal device contains stealth AP. When "the value of SSID is NULL" or "the length of SSID is 0" is described as SSID>, the same processing is performed.

以上のように本実施形態によれば、印刷装置10(デバイス)と、BLEの規格に準拠した無線通信方式(第1無線通信方式)により印刷装置10と第1無線通信110を確立する端末装置20と、を備えるシステム1において、
端末装置20の端末制御部21aは、Wi-Fi通信部23(第2無線通信部)がアクセスポイント30と第2無線通信120を確立しているか否かを判定する第1判定処理を行い、
第1判定処理の結果、Wi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していると判定した場合、
端末制御部21aは、Wi-Fi通信部23が第2無線通信120を確立しているアクセスポイント30の第1SSID(第1ネットワーク識別子)を、第1無線通信110を介して印刷装置10へ送信し、
印刷装置10のデバイス制御部11aは、Wi-Fi通信部13がWi-Fiの規格に準拠した無線通信方式(第2無線通信方式)の無線LAN(無線通信ネットワーク)の探索により取得したSSIDリスト11bに、端末装置20から第1無線通信110を介して受信した第1SSIDが含まれているか否かを判定し、第1SSIDが含まれていると判定した場合、第1SSIDがSSIDリスト11bに含まれていることを示す通知を第1無線通信110を介して端末装置20へ送信し、
端末制御部21aは、印刷装置10が記憶するSSIDリスト11bに第1SSIDが含まれていることを示す通知を印刷装置10から第1無線通信110を介して受信すると、端末装置20が接続しているアクセスポイント30に印刷装置10を無線接続させる指示を受け付ける第1画面をタッチパネルディスプレイ24(表示部及び操作部)に表示させ、第1画面から当該指示を受け付けると、第1パスワード入力画面をタッチパネルディスプレイ24に表示させ、第1パスワード入力画面から第1パスワードの入力を受け付けると、第1SSIDと第1パスワードを第1無線通信110を介して印刷装置10へ送信し、
デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第1SSIDと第1パスワードに基づいて、Wi-Fi通信部13により第1SSIDが識別するアクセスポイントとの第3無線通信130を確立させる。
第1判定処理の結果、Wi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していない場合、
端末制御部21aは、第1無線通信110を介して印刷装置10へSSIDリスト11bを要求し、
デバイス制御部11aは、端末装置20からのSSIDリスト11bの要求に応じて、SSIDリスト11bを第1無線通信110を介して端末装置20へ送信し、
端末制御部21aは、印刷装置10から第1無線通信110を介してSSIDリスト11bを受信すると、SSIDリスト11bのいずれかの第2SSIDを選択させ、第2SSIDが選択されると、第2パスワード入力画面をタッチパネルディスプレイ24に表示させ、第2パスワード入力画面から第2パスワードの入力を受け付けると、第2SSIDと第2パスワードを第1無線通信110を介して印刷装置10へ送信し、
デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第2SSIDと第2パスワードに基づいて、Wi-Fi通信部13により第2SSIDが識別するアクセスポイント30との第3無線通信130を確立させる。
この本実施形態の構成により、端末装置20がアクセスポイント30と無線接続されている場合においてSSIDリスト11bに第1SSIDがあるときは、第1SSIDとユーザーが端末装置20のタッチパネルディスプレイ24で入力した第1パスワードとが端末装置20から印刷装置10へ送信され、印刷装置10は第1SSIDと第1パスワードに基づいて第1SSIDが識別するアクセスポイント30との第3無線通信130を確立することができる。一方、端末装置20がアクセスポイント30と無線接続されていない場合には、端末装置20からの要求に応じて印刷装置10から端末装置20へSSIDリスト11bが送られ、SSIDリスト11bから選択された第2SSIDとユーザーが端末装置20のタッチパネルディスプレイ24で入力した第2パスワードとが端末装置20から印刷装置10へ送信され、印刷装置10は第2SSIDと第2パスワードに基づいて第2SSIDが識別するアクセスポイント30との第3無線通信130を確立することができる。
したがって本実施形態によれば、印刷装置10からアクセスポイント30に無線接続する際に端末装置20を利用してアクセスポイント30に設定する情報の入力を行うことができる。
As described above, according to the present embodiment, the printing device 10 (device) and the terminal device for establishing the printing device 10 and the first wireless communication 110 by the wireless communication method (first wireless communication method) conforming to the BLE standard. 20 and in system 1
The terminal control unit 21a of the terminal device 20 performs a first determination process for determining whether or not the Wi-Fi communication unit 23 (second wireless communication unit) has established the access point 30 and the second wireless communication 120.
When it is determined that the Wi-Fi communication unit 23 has established the access point 30 and the second wireless communication 120 as a result of the first determination process,
The terminal control unit 21a transmits the first SSID (first network identifier) of the access point 30 in which the Wi-Fi communication unit 23 has established the second wireless communication 120 to the printing device 10 via the first wireless communication 110. death,
The device control unit 11a of the printing device 10 is a SSID list acquired by the Wi-Fi communication unit 13 by searching for a wireless LAN (wireless communication network) of a wireless communication method (second wireless communication method) conforming to the Wi-Fi standard. When it is determined whether or not the first SSID received from the terminal device 20 via the first wireless communication 110 is included in 11b and it is determined that the first SSID is included, the first SSID is included in the SSID list 11b. A notification indicating that the information has been sent is transmitted to the terminal device 20 via the first wireless communication 110, and the notification is transmitted to the terminal device 20.
When the terminal control unit 21a receives a notification from the printing device 10 via the first wireless communication 110 that the SSID list 11b stored in the printing device 10 includes the first SSID, the terminal device 20 connects to the terminal device 21a. When the touch panel display 24 (display unit and operation unit) displays the first screen for receiving the instruction to wirelessly connect the printing device 10 to the access point 30, and the instruction is received from the first screen, the first password input screen is displayed on the touch panel. When the display 24 is displayed and the input of the first password is accepted from the first password input screen, the first SSID and the first password are transmitted to the printing device 10 via the first wireless communication 110.
The device control unit 11a communicates with the access point identified by the first SSID by the Wi-Fi communication unit 13 based on the first SSID and the first password received from the terminal device 20 via the first wireless communication 110. Establish 130.
As a result of the first determination process, when the Wi-Fi communication unit 23 has not established the access point 30 and the second wireless communication 120,
The terminal control unit 21a requests the printing device 10 for the SSID list 11b via the first wireless communication 110, and requests the SSID list 11b.
The device control unit 11a transmits the SSID list 11b to the terminal device 20 via the first wireless communication 110 in response to the request of the SSID list 11b from the terminal device 20.
When the terminal control unit 21a receives the SSID list 11b from the printing device 10 via the first wireless communication 110, it causes the second SSID of any of the SSID lists 11b to be selected, and when the second SSID is selected, the second password is input. When the screen is displayed on the touch panel display 24 and the input of the second password is accepted from the second password input screen, the second SSID and the second password are transmitted to the printing device 10 via the first wireless communication 110.
The device control unit 11a has a third radio with an access point 30 identified by the second SSID by the Wi-Fi communication unit 13 based on the second SSID and the second password received from the terminal device 20 via the first wireless communication 110. Establish communication 130.
According to the configuration of this embodiment, when the terminal device 20 is wirelessly connected to the access point 30 and the first SSID is in the SSID list 11b, the first SSID and the user input the first SSID on the touch panel display 24 of the terminal device 20. The 1 password is transmitted from the terminal device 20 to the printing device 10, and the printing device 10 can establish a third wireless communication 130 between the first SSID and the access point 30 identified by the first SSID based on the first password. On the other hand, when the terminal device 20 is not wirelessly connected to the access point 30, the SSID list 11b is sent from the printing device 10 to the terminal device 20 in response to a request from the terminal device 20, and is selected from the SSID list 11b. The second SSID and the second password entered by the user on the touch panel display 24 of the terminal device 20 are transmitted from the terminal device 20 to the printing device 10, and the printing device 10 is an access identified by the second SSID based on the second SSID and the second password. A third wireless communication 130 with the point 30 can be established.
Therefore, according to the present embodiment, when the printing device 10 wirelessly connects to the access point 30, the terminal device 20 can be used to input information to be set in the access point 30.

また本実施形態によれば、デバイス制御部11aは、第1SSIDがSSIDリスト11bに含まれていないと判定した場合、第1SSIDがSSIDリスト11bに含まれていないことを示す通知を第1無線通信110を介して端末装置20へ送信し、
端末制御部21aは、印刷装置10が記憶するSSIDリスト11bに第1SSIDが含まれていないことを示す通知を印刷装置10から第1無線通信110を介して受信すると、第1無線通信110を介して印刷装置10へSSIDリスト11bのリストを要求し、
デバイス制御部11aは、端末装置20からのSSIDリスト11bの要求に応じて、SSIDリスト11bを第1無線通信110を介して端末装置20へ送信し、
端末制御部21aは、印刷装置10から第1無線通信110を介してSSIDリスト11bを受信すると、SSIDリスト11bのいずれかの第3SSIDを選択させ、第3SSIDが選択されると、第3パスワード入力画面をタッチパネルディスプレイ24に表示させ、第3パスワード入力画面から第3パスワードの入力を受け付けると、第3SSIDと第3パスワードを第1無線通信110を介して印刷装置10へ送信し、
デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第3SSIDと第3パスワードに基づいて、Wi-Fi通信部13により第3SSIDが識別するアクセスポイント30との第3無線通信130を確立させる。
この本実施形態の構成により、端末装置20がアクセスポイント30と無線接続されている場合においてSSIDリスト11bに第1SSIDがないときは、端末装置20からの要求に応じて印刷装置10から端末装置20へSSIDリスト11bが送られ、SSIDリスト11bから選択された第3SSIDとユーザーが端末装置20のタッチパネルディスプレイ24で入力した第3パスワードとが端末装置20から印刷装置10へ送信され、印刷装置10は第3SSIDと第3パスワードに基づいて第3SSIDが識別するアクセスポイント30との第3無線通信130を確立することができる。
したがって本実施形態によれば、印刷装置10からアクセスポイント30に無線接続する際に端末装置20を利用してアクセスポイント30に設定する情報の入力を行うことができる。
Further, according to the present embodiment, when the device control unit 11a determines that the first SSID is not included in the SSID list 11b, the first wireless communication indicates that the first SSID is not included in the SSID list 11b. It is transmitted to the terminal device 20 via 110, and is transmitted to the terminal device 20.
When the terminal control unit 21a receives a notification from the printing device 10 via the first wireless communication 110 that the SSID list 11b stored in the printing device 10 does not include the first SSID, the terminal control unit 21a via the first wireless communication 110. Request the printing device 10 for the list of the SSID list 11b.
The device control unit 11a transmits the SSID list 11b to the terminal device 20 via the first wireless communication 110 in response to the request of the SSID list 11b from the terminal device 20.
When the terminal control unit 21a receives the SSID list 11b from the printing device 10 via the first wireless communication 110, the terminal control unit 21a selects any third SSID of the SSID list 11b, and when the third SSID is selected, the third password is input. When the screen is displayed on the touch panel display 24 and the input of the third password is accepted from the third password input screen, the third SSID and the third password are transmitted to the printing device 10 via the first wireless communication 110.
The device control unit 11a has a third radio with an access point 30 identified by the third SSID by the Wi-Fi communication unit 13 based on the third SSID and the third password received from the terminal device 20 via the first wireless communication 110. Establish communication 130.
According to the configuration of this embodiment, when the terminal device 20 is wirelessly connected to the access point 30 and the SSID list 11b does not have the first SSID, the printing device 10 to the terminal device 20 respond to a request from the terminal device 20. The SSID list 11b is sent to, and the third SSID selected from the SSID list 11b and the third password entered by the user on the touch panel display 24 of the terminal device 20 are transmitted from the terminal device 20 to the printing device 10, and the printing device 10 is sent. A third wireless communication 130 with the access point 30 identified by the third SSID based on the third SSID and the third password can be established.
Therefore, according to the present embodiment, when the printing device 10 wirelessly connects to the access point 30, the terminal device 20 can be used to input information to be set in the access point 30.

また本実施形態によれば、デバイス制御部11aは、SSIDリスト11bの中に、値がNULL又は長さが0のSSIDが含まれている場合、SSIDリスト11b及びSSIDリスト11bにステルスモードで動作するアクセスポイントのSSIDが含まれていることを示すステルスアクセスポイント情報を第1無線通信110を介して端末装置20へ送信し、
端末制御部21aは、印刷装置10から第1無線通信110を介してSSIDリスト11b及びステルスアクセスポイント情報を受信すると、第4SSID及び第4パスワード入力画面をタッチパネルディスプレイ24に表示させ、第4SSID及び第4パスワード入力画面から第4SSID及び第4パスワードの入力を受け付けると、第4SSIDと第4パスワードを第1無線通信110を介して印刷装置10へ送信し、
デバイス制御部11aは、端末装置20から第1無線通信110を介して受信した第4SSIDと第4パスワードに基づいて、Wi-Fi通信部13により第4SSIDが識別するアクセスポイント30との第3無線通信130を確立させる。
この本実施形態の構成により、SSIDリスト11bの中に、値がNULL又は長さが0のSSIDが含まれている場合には、印刷装置10から端末装置20へステルスアクセスポイント情報が送られ、ユーザーが端末装置20のタッチパネルディスプレイ24で入力した第4SSIDと第4パスワードとが端末装置20から印刷装置10へ送信され、印刷装置10は第4SSIDと第4パスワードに基づいて第4SSIDが識別するアクセスポイント30との第3無線通信130を確立することができる。
したがって本実施形態によれば、印刷装置10からアクセスポイント30に無線接続する際に端末装置20を利用してアクセスポイント30に設定する情報の入力を行うことができる。また、ユーザーは、ステルスAPを利用して印刷装置10を無線LANに接続させることができる。
Further, according to the present embodiment, the device control unit 11a operates in stealth mode in the SSID list 11b and the SSID list 11b when the SSID list 11b contains the SSID whose value is NULL or the length is 0. Stealth access point information indicating that the SSID of the access point to be used is included is transmitted to the terminal device 20 via the first wireless communication 110.
When the terminal control unit 21a receives the SSID list 11b and the stealth access point information from the printing device 10 via the first wireless communication 110, the terminal control unit 21a displays the 4th SSID and the 4th password input screen on the touch panel display 24, and displays the 4th SSID and the 4th SSID. When the input of the 4th SSID and the 4th password is accepted from the 4 password input screen, the 4th SSID and the 4th password are transmitted to the printing device 10 via the 1st wireless communication 110.
The device control unit 11a has a third radio with an access point 30 identified by the fourth SSID by the Wi-Fi communication unit 13 based on the fourth SSID and the fourth password received from the terminal device 20 via the first wireless communication 110. Establish communication 130.
According to the configuration of this embodiment, when the SSID list 11b includes the SSID having a value of FULL or a length of 0, stealth access point information is sent from the printing device 10 to the terminal device 20. The 4th SSID and the 4th password input by the user on the touch panel display 24 of the terminal device 20 are transmitted from the terminal device 20 to the printing device 10, and the printing device 10 is an access identified by the 4th SSID based on the 4th SSID and the 4th password. A third wireless communication 130 with the point 30 can be established.
Therefore, according to the present embodiment, when the printing device 10 wirelessly connects to the access point 30, the terminal device 20 can be used to input information to be set in the access point 30. In addition, the user can connect the printing device 10 to the wireless LAN by using the stealth AP.

また本実施形態によれば、端末装置20は、第1無線通信110のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを印刷装置10と第1無線通信110を介してやり取りする処理を行い、印刷装置10が第2ルールで予め定められたメッセージを端末装置20に送ってきた場合、印刷装置10と第1無線通信110を介して情報の送受信を行い、印刷装置10が第2ルールで予め定められたメッセージを端末装置20に送ってこなかった場合、印刷装置10と第1無線通信110を介して情報の送受信を行わない。印刷装置10、第1無線通信110のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを端末装置20と第1無線通信110を介してやり取りする処理を行い、端末装置20が第2ルールで予め定められたメッセージを印刷装置10に送ってきた場合、端末装置20と第1無線通信110を介して情報の送受信を行い、端末装置20が第2ルールで予め定められたメッセージを印刷装置10に送ってこなかった場合、端末装置20と第1無線通信110を介して情報の送受信を行わない。
この本実施形態の構成により、第1無線通信110のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを送ってきた相手とだけに、端末装置20及び印刷装置10の第1無線通信110を介しての情報のやり取りの相手を制限することができる。
したがって本実施形態によれば、第1無線通信110を介して情報のやり取りを行う相手の正当性が検証されるので、第1無線通信110を介してやり取りされる情報の安全性が向上する。このような安全性を確保する方式として、一般的には、BLE通信方式の規格で定められたペアリング方式が採用される。このペアリング方式では、ユーザーがPIN(Personal Identification Number)コード等の認証情報を端末装置20や印刷装置10に入力する必要があるので、ユーザーに認証情報入力の手間がかかる。一方、本実施形態によれば、BLE通信方式の規格で定められたペアリング方式が採用されないので、認証情報の入力が不要となり、ユーザーに認証情報入力の手間がかからない。更に、上述したメッセージのやり取りにより、無関係の端末と装置間で情報がやり取りされることがないよう一定の安全性が確保される。
Further, according to the present embodiment, the terminal device 20 prints a message predetermined by a second rule different from the first rule defined by the pairing standard of the first wireless communication 110 with the printing device 10 and the first wireless. When a process of exchanging via the communication 110 is performed and the printing device 10 sends a message predetermined by the second rule to the terminal device 20, information is transmitted / received via the printing device 10 and the first wireless communication 110. If the printing device 10 does not send the message predetermined by the second rule to the terminal device 20, the information is not transmitted / received via the printing device 10 and the first wireless communication 110. A process of exchanging a message predetermined by a second rule different from the first rule defined by the pairing standard of the printing device 10 and the first wireless communication 110 with the terminal device 20 via the first wireless communication 110. When the terminal device 20 sends a message predetermined by the second rule to the printing device 10, information is transmitted and received between the terminal device 20 and the first wireless communication 110, and the terminal device 20 sends and receives the second rule. If the predetermined message is not sent to the printing device 10, the information is not transmitted / received via the terminal device 20 and the first wireless communication 110.
According to the configuration of this embodiment, the terminal device 20 and the terminal device 20 and only the other party who has sent a message predetermined by the second rule different from the first rule defined by the pairing standard of the first wireless communication 110. It is possible to limit the parties for exchanging information via the first wireless communication 110 of the printing device 10.
Therefore, according to the present embodiment, the validity of the other party exchanging information via the first wireless communication 110 is verified, so that the safety of the information exchanged via the first wireless communication 110 is improved. As a method for ensuring such safety, a pairing method defined by a standard of a BLE communication method is generally adopted. In this pairing method, since the user needs to input the authentication information such as the PIN (Personal Identification Number) code into the terminal device 20 and the printing device 10, it takes time and effort for the user to input the authentication information. On the other hand, according to the present embodiment, since the pairing method defined by the BLE communication method standard is not adopted, it is not necessary to input the authentication information, and the user does not have to take the trouble of inputting the authentication information. Further, the above-mentioned message exchange ensures a certain level of security so that information is not exchanged between an unrelated terminal and the device.

上述したように本実施形態によれば、印刷装置10からアクセスポイント30に無線接続する際に端末装置20を利用してアクセスポイント30に設定する情報の入力を行うことができる。これにより、複合機や印刷装置等のデバイスのタッチパネルが小さい場合であっても、端末装置を利用してSSIDの選択及びSSIDのパスワードの入力ができるので、ユーザーの使い勝手が向上する効果が得られる。また、デバイスにタッチパネルが付いていない場合であっても、端末装置を利用してSSIDの選択及びSSIDのパスワードの入力ができるので、デバイスからアクセスポイントへSSID及びパスワードの設定ができ、アクセスポイントにデバイスを無線接続させることができるようになるという効果が得られる。 As described above, according to the present embodiment, when the printing device 10 wirelessly connects to the access point 30, the terminal device 20 can be used to input information to be set in the access point 30. As a result, even when the touch panel of a device such as a multifunction device or a printing device is small, the SSID can be selected and the SSID password can be input using the terminal device, which has the effect of improving the usability of the user. .. Even if the device does not have a touch panel, the SSID and SSID password can be selected and entered using the terminal device, so the SSID and password can be set from the device to the access point, and the access point can be used. The effect is that the device can be connected wirelessly.

<端末装置がアクセスポイントと無線接続されていない場合の他の動作例>
次に図8から図11を参照して、本実施形態に係るシステム1における、端末装置がアクセスポイントと無線接続されていない場合の他の動作例を説明する。図8から図11は、端末装置がアクセスポイントと無線接続されていない場合の他の動作例を説明するためのシーケンスチャートである。図8から図11において、APはアクセスポイント30を指し、PRは印刷装置10を指し、TEは端末装置20を指す。
<Other operation examples when the terminal device is not wirelessly connected to the access point>
Next, with reference to FIGS. 8 to 11, another operation example in the system 1 according to the present embodiment when the terminal device is not wirelessly connected to the access point will be described. 8 to 11 are sequence charts for explaining another operation example when the terminal device is not wirelessly connected to the access point. In FIGS. 8 to 11, AP refers to the access point 30, PR refers to the printing device 10, and TE refers to the terminal device 20.

上述の図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定された場合には、図8のステップS1000に処理を進める。 If it is determined as a result of the determination in step S108 of FIG. 4 that the Wi-Fi communication unit 23 of the terminal device 20 has not established the access point 30 and the second wireless communication 120, the step S1000 of FIG. Proceed to the process.

図8を参照してステップS1000を説明する。
(ステップS1001) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へ、Wi-Fiの規格に準拠した無線通信方式による印刷装置10との第4無線通信の確立に使用される無線設定情報を要求する。第4無線通信は、Wi-Fiの規格に準拠した無線通信方式により端末装置20と印刷装置10との間で確立される無線通信であって、アクセスポイント30を介さない無線通信である。
Step S1000 will be described with reference to FIG.
(Step S1001) In the terminal device 20, the terminal control unit 21a communicates to the printing device 10 via the first wireless communication 110 with the fourth wireless communication with the printing device 10 by a wireless communication method compliant with the Wi-Fi standard. Request the radio configuration information used for establishment. The fourth wireless communication is a wireless communication established between the terminal device 20 and the printing device 10 by a wireless communication method conforming to the Wi-Fi standard, and is a wireless communication that does not go through the access point 30.

(ステップS1002) 印刷装置10において、デバイス制御部11aは、端末装置20からの無線設定情報の要求に応じて、無線設定情報を出力する。無線設定情報の出力方法は、タッチパネルディスプレイ14の画面表示であってもよく、又は、印刷部15の印刷であってもよい。 (Step S1002) In the printing device 10, the device control unit 11a outputs the wireless setting information in response to the request for the wireless setting information from the terminal device 20. The wireless setting information output method may be the screen display of the touch panel display 14 or the printing of the printing unit 15.

(ステップS1003) 端末装置20において、端末制御部21aは、印刷装置10から出力された無線設定情報の入力を受け付ける。 (Step S1003) In the terminal device 20, the terminal control unit 21a receives the input of the wireless setting information output from the printing device 10.

(ステップS1004) 端末装置20の端末制御部21aと印刷装置10のデバイス制御部11aとは、無線設定情報を使用して第4無線通信を確立する。 (Step S1004) The terminal control unit 21a of the terminal device 20 and the device control unit 11a of the printing device 10 establish a fourth wireless communication by using the wireless setting information.

なお、第4無線通信を確立するための専用アプリケーションが印刷装置10に設けられる場合、端末装置20の端末制御部21aは、上記ステップS1001の前に、第1無線通信110を介して印刷装置10へ当該専用アプリケーションを有効にするように要求する。印刷装置10のデバイス制御部11aは、当該要求に応じて、当該専用アプリケーションを起動させる。 When the printing device 10 is provided with a dedicated application for establishing the fourth wireless communication, the terminal control unit 21a of the terminal device 20 may use the printing device 10 via the first wireless communication 110 before the step S1001. Request that the dedicated application be enabled. The device control unit 11a of the printing device 10 activates the dedicated application in response to the request.

上述した図8に係る「端末装置がアクセスポイントと無線接続されていない場合の他の動作例」によれば、端末装置20の端末制御部21aは、図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定した場合、第1無線通信110を介して印刷装置10へ、Wi-Fiの規格に準拠した無線通信方式(第2無線通信方式)による印刷装置10との第4無線通信の確立に使用される無線設定情報を要求し、印刷装置10から出力された無線設定情報を使用して印刷装置10と第4無線通信を確立する。
この構成により、端末装置20がアクセスポイント30と第2無線通信120を確立していない場合において、簡単に印刷を実行できるという効果が得られる。この効果について説明する。端末装置20がアクセスポイント30と第2無線通信120を確立していない場合、印刷装置10をアクセスポイント30と第3無線通信130を確立させても、端末装置20と印刷装置10間はアクセスポイント30を介した無線通信を行うことができないので、端末装置20から印刷装置10へアクセスポイント30を介して印刷データを送信できない。このため、端末装置20をアクセスポイント30と第2無線通信120を確立させる手順が別途必要になり、印刷するまでに手間がかかる。一方、図8に係る他の動作例によれば、端末装置20がアクセスポイント30と第2無線通信120を確立していない場合、端末装置20と印刷装置10間で第4無線通信が確立されるので、端末装置20から印刷装置10へ第4無線通信により印刷データを送信でき、簡単に印刷を実行することができる。
According to "another operation example when the terminal device is not wirelessly connected to the access point" according to FIG. 8 described above, the terminal control unit 21a of the terminal device 20 is a terminal as a result of the determination in step S108 of FIG. When the Wi-Fi communication unit 23 of the device 20 determines that the access point 30 and the second wireless communication 120 have not been established, the printing device 10 is sent to the printing device 10 via the first wireless communication 110 in accordance with the Wi-Fi standard. Requests the wireless setting information used for establishing the fourth wireless communication with the printing device 10 by the wireless communication method (second wireless communication method), and uses the wireless setting information output from the printing device 10 to print the printing device 10. And establish a fourth wireless communication.
With this configuration, it is possible to easily perform printing when the terminal device 20 has not established the access point 30 and the second wireless communication 120. This effect will be described. When the terminal device 20 does not establish the access point 30 and the second wireless communication 120, even if the printing device 10 establishes the access point 30 and the third wireless communication 130, the access point between the terminal device 20 and the printing device 10 is reached. Since wireless communication cannot be performed via the access point 30, print data cannot be transmitted from the terminal device 20 to the printing device 10 via the access point 30. Therefore, a procedure for establishing the access point 30 and the second wireless communication 120 in the terminal device 20 is required separately, and it takes time and effort to print. On the other hand, according to another operation example according to FIG. 8, when the terminal device 20 has not established the access point 30 and the second wireless communication 120, the fourth wireless communication is established between the terminal device 20 and the printing device 10. Therefore, print data can be transmitted from the terminal device 20 to the printing device 10 by the fourth wireless communication, and printing can be easily executed.

<ステップS1000の具体例1>
図9を参照して、ステップS1000の具体例1(ステップS1000a)を説明する。ステップS1000の具体例1では、端末装置20は、第1OS(Operating System)を備える。端末装置20において、端末制御部21aは第1OS上で実現される。
<Specific example 1 of step S1000>
A specific example 1 (step S1000a) of step S1000 will be described with reference to FIG. In the first embodiment of step S1000, the terminal device 20 includes a first OS (Operating System). In the terminal device 20, the terminal control unit 21a is realized on the first OS.

上述の図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定された場合には、図9のステップS1000aに処理を進める。 If it is determined as a result of the determination in step S108 of FIG. 4 that the Wi-Fi communication unit 23 of the terminal device 20 has not established the access point 30 and the second wireless communication 120, the step S1000a of FIG. 9 Proceed to the process.

図9を参照してステップS1000aを説明する。
(ステップS1001a) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へ、第4無線通信の確立に使用されるSSID(以下、第5SSIDと称する)及びパスワード(以下、第5パスワードと称する)を含むQRコード(登録商標)を要求する。QRコードは二次元コードの一例である。
Step S1000a will be described with reference to FIG.
(Step S1001a) In the terminal device 20, the terminal control unit 21a sends the printing device 10 via the first wireless communication 110 to the SSID (hereinafter referred to as the fifth SSID) and the password (hereinafter referred to as the fifth SSID) used for establishing the fourth wireless communication. Hereinafter, a QR code (registered trademark) including a fifth password) is requested. The QR code is an example of a two-dimensional code.

(ステップS1002a) 印刷装置10において、デバイス制御部11aは、端末装置20からのQRコードの要求に応じて、QRコードを出力する。QRコードの出力方法は、タッチパネルディスプレイ14の画面表示であってもよく、又は、印刷部15の印刷であってもよい。 (Step S1002a) In the printing device 10, the device control unit 11a outputs a QR code in response to a request for a QR code from the terminal device 20. The QR code output method may be the screen display of the touch panel display 14 or the printing of the printing unit 15.

(ステップS1003a) 端末装置20において、端末制御部21aは、印刷装置10から出力されたQRコードを読み取る。QRコードの読み取り方法は、端末装置20が撮像部を備え、当該撮像部によりQRコードの読み取りを行うものである。端末制御部21aは、読み取ったQRコードから第5SSID及び第5パスワードを取得する。なお、撮像部は、CCDカメラ等を備えた撮像ユニットであっても良いし、CMOSセンサ等を備えた撮像ユニットであっても良い。 (Step S1003a) In the terminal device 20, the terminal control unit 21a reads the QR code output from the printing device 10. In the method of reading the QR code, the terminal device 20 includes an image pickup unit, and the image pickup unit reads the QR code. The terminal control unit 21a acquires the fifth SSID and the fifth password from the read QR code. The image pickup unit may be an image pickup unit provided with a CCD camera or the like, or may be an image pickup unit provided with a CMOS sensor or the like.

(ステップS1004a) 端末装置20の端末制御部21aと印刷装置10のデバイス制御部11aとは、第5SSID及び第5パスワードを使用して第4無線通信を確立する。 (Step S1004a) The terminal control unit 21a of the terminal device 20 and the device control unit 11a of the printing device 10 establish a fourth wireless communication by using the fifth SSID and the fifth password.

なお、第4無線通信を確立するための専用アプリケーションが印刷装置10に設けられる場合、端末装置20の端末制御部21aは、上記ステップS1001aの前に、第1無線通信110を介して印刷装置10へ当該専用アプリケーションを有効にするように要求する。印刷装置10のデバイス制御部11aは、当該要求に応じて、当該専用アプリケーションを起動させる。 When the printing device 10 is provided with a dedicated application for establishing the fourth wireless communication, the terminal control unit 21a of the terminal device 20 may use the printing device 10 via the first wireless communication 110 before the step S1001a. Request that the dedicated application be enabled. The device control unit 11a of the printing device 10 activates the dedicated application in response to the request.

上述した図9に係る「端末装置がアクセスポイントと無線接続されていない場合の他の動作例」によれば、端末装置20の端末制御部21aは、図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定した場合、第1無線通信110を介して印刷装置10へ、Wi-Fiの規格に準拠した無線通信方式(第2無線通信方式)による印刷装置10との第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを含むQRコード(二次元コード)を要求し、印刷装置10から出力されたQRコードを撮像部に読み取らせ、撮像部が読み取ったQRコードから第5ネットワーク識別子及び第5パスワードを取得し、取得した第5ネットワーク識別子及び第5パスワードを使用して印刷装置10と第4無線通信を確立する。
この構成により、上述した図8に係る他の動作例と同様に、端末装置20がアクセスポイント30と第2無線通信120を確立していない場合において、端末装置20から印刷装置10へ第4無線通信により印刷データを送信でき、簡単に印刷を実行することができるという効果が得られる。また、QRコード(二次元コード)の読み取りによって、第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードが取得できるので、無線設定が簡単である。
According to "another operation example when the terminal device is not wirelessly connected to the access point" according to FIG. 9 described above, the terminal control unit 21a of the terminal device 20 is a terminal as a result of the determination in step S108 of FIG. When the Wi-Fi communication unit 23 of the device 20 determines that the access point 30 and the second wireless communication 120 have not been established, the printing device 10 is sent to the printing device 10 via the first wireless communication 110 in accordance with the Wi-Fi standard. A QR code (two-dimensional code) including a fifth network identifier and a fifth password used for establishing a fourth wireless communication with the printing device 10 by the wireless communication method (second wireless communication method) is requested, and the printing device 10 is requested. The QR code output from the image pickup unit is read by the image pickup unit, the fifth network identifier and the fifth password are acquired from the QR code read by the image pickup unit, and the acquired fifth network identifier and fifth password are used in the printing device 10. And establish a fourth wireless communication.
With this configuration, as in the other operation example according to FIG. 8 described above, when the terminal device 20 has not established the access point 30 and the second wireless communication 120, the fourth wireless device is transmitted from the terminal device 20 to the printing device 10. The effect that print data can be transmitted by communication and printing can be easily performed can be obtained. Further, by reading the QR code (two-dimensional code), the fifth network identifier and the fifth password used for establishing the fourth wireless communication can be obtained, so that the wireless setting is easy.

<ステップS1000の具体例2>
図10を参照して、ステップS1000の具体例2(ステップS1000b)を説明する。ステップS1000の具体例2では、端末装置20は、第2OSを備える。端末装置20において、端末制御部21aは第2OS上で実現される。
<Specific example 2 of step S1000>
A specific example 2 (step S1000b) of step S1000 will be described with reference to FIG. In the second embodiment of step S1000, the terminal device 20 includes a second OS. In the terminal device 20, the terminal control unit 21a is realized on the second OS.

上述の図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定された場合には、図10のステップS1000bに処理を進める。 If it is determined as a result of the determination in step S108 of FIG. 4 that the Wi-Fi communication unit 23 of the terminal device 20 has not established the access point 30 and the second wireless communication 120, the step S1000b of FIG. 10 Proceed to the process.

図10を参照してステップS1000bを説明する。
(ステップS1001b) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へ、第4無線通信の確立に使用される第5SSID及び第5パスワードを要求する。
Step S1000b will be described with reference to FIG.
(Step S1001b) In the terminal device 20, the terminal control unit 21a requests the printing device 10 via the first wireless communication 110 for the fifth SSID and the fifth password used for establishing the fourth wireless communication.

(ステップS1002b) 印刷装置10において、デバイス制御部11aは、端末装置20からの第5SSID及び第5パスワードの要求に応じて、第5SSID及び第5パスワードを出力する。第5SSID及び第5パスワードの出力方法は、タッチパネルディスプレイ14の画面表示であってもよく、又は、印刷部15の印刷であってもよい。 (Step S1002b) In the printing device 10, the device control unit 11a outputs the fifth SSID and the fifth password in response to the request for the fifth SSID and the fifth password from the terminal device 20. The fifth SSID and the fifth password may be output on the screen of the touch panel display 14 or may be printed by the printing unit 15.

(ステップS1003b) 端末装置20において、端末制御部21aは、SSID及びパスワード入力画面をタッチパネルディスプレイ24に表示させる。端末制御部21aは、SSID及びパスワード入力画面から第5SSID及び第5パスワードの入力を受け付ける。 (Step S1003b) In the terminal device 20, the terminal control unit 21a displays the SSID and password input screen on the touch panel display 24. The terminal control unit 21a accepts the input of the 5th SSID and the 5th password from the SSID and password input screen.

(ステップS1004b) 端末装置20の端末制御部21aと印刷装置10のデバイス制御部11aとは、第5SSID及び第5パスワードを使用して第4無線通信を確立する。 (Step S1004b) The terminal control unit 21a of the terminal device 20 and the device control unit 11a of the printing device 10 establish a fourth wireless communication by using the fifth SSID and the fifth password.

なお、第4無線通信を確立するための専用アプリケーションが印刷装置10に設けられる場合、端末装置20の端末制御部21aは、上記ステップS1001bの前に、第1無線通信110を介して印刷装置10へ当該専用アプリケーションを有効にするように要求する。印刷装置10のデバイス制御部11aは、当該要求に応じて、当該専用アプリケーションを起動させる。 When the printing device 10 is provided with a dedicated application for establishing the fourth wireless communication, the terminal control unit 21a of the terminal device 20 may use the printing device 10 via the first wireless communication 110 before the step S1001b. Request that the dedicated application be enabled. The device control unit 11a of the printing device 10 activates the dedicated application in response to the request.

上述した図10に係る「端末装置がアクセスポイントと無線接続されていない場合の他の動作例」によれば、端末装置20の端末制御部21aは、図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定した場合、第1無線通信110を介して印刷装置10へ、Wi-Fiの規格に準拠した無線通信方式(第2無線通信方式)による印刷装置10との第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを要求し、SSID及びパスワード入力画面をタッチパネルディスプレイ24(表示部)に表示させ、SSID及びパスワード入力画面から第5ネットワーク識別子及び第5パスワードの入力を受け付けると、第5ネットワーク識別子及び第5パスワードを使用して印刷装置10と第4無線通信を確立する。
この構成により、上述した図8に係る他の動作例と同様に、端末装置20がアクセスポイント30と第2無線通信120を確立していない場合において、端末装置20から印刷装置10へ第4無線通信により印刷データを送信でき、簡単に印刷を実行することができるという効果が得られる。
According to "another operation example when the terminal device is not wirelessly connected to the access point" according to FIG. 10 described above, the terminal control unit 21a of the terminal device 20 is a terminal as a result of the determination in step S108 of FIG. When the Wi-Fi communication unit 23 of the device 20 determines that the access point 30 and the second wireless communication 120 have not been established, the printing device 10 is sent to the printing device 10 via the first wireless communication 110 in accordance with the Wi-Fi standard. Requests the 5th network identifier and 5th password used to establish the 4th wireless communication with the printing device 10 by the wireless communication method (2nd wireless communication method), and displays the SSID and password input screen on the touch panel display 24 (display unit). ), And when the input of the fifth network identifier and the fifth password is accepted from the SSID and password input screen, the fifth network identifier and the fifth password are used to establish the fourth wireless communication with the printing device 10.
With this configuration, as in the other operation example according to FIG. 8 described above, when the terminal device 20 has not established the access point 30 and the second wireless communication 120, the fourth wireless device is transmitted from the terminal device 20 to the printing device 10. The effect that print data can be transmitted by communication and printing can be easily performed can be obtained.

<ステップS1000の具体例3>
図11を参照して、ステップS1000の具体例3(ステップS1000c)を説明する。ステップS1000の具体例3では、端末装置20は、第3OSを備える。端末装置20において、端末制御部21aは第3OS上で実現される。
<Specific example 3 of step S1000>
A specific example 3 (step S1000c) of step S1000 will be described with reference to FIG. In the third embodiment of step S1000, the terminal device 20 includes a third OS. In the terminal device 20, the terminal control unit 21a is realized on the third OS.

上述の図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定された場合には、図11のステップS1000cに処理を進める。 If it is determined as a result of the determination in step S108 of FIG. 4 that the Wi-Fi communication unit 23 of the terminal device 20 has not established the access point 30 and the second wireless communication 120, the step S1000c of FIG. 11 Proceed to the process.

図11を参照してステップS1000cを説明する。
(ステップS1001c) 端末装置20において、端末制御部21aは、第1無線通信110を介して印刷装置10へ、第4無線通信の確立に使用される印刷装置10のデバイス名を要求する。
Step S1000c will be described with reference to FIG.
(Step S1001c) In the terminal device 20, the terminal control unit 21a requests the printing device 10 via the first wireless communication 110 for the device name of the printing device 10 used for establishing the fourth wireless communication.

(ステップS1002c) 印刷装置10において、デバイス制御部11aは、端末装置20からのデバイス名の要求に応じて、印刷装置10のデバイス名を出力する。デバイス名の出力方法は、タッチパネルディスプレイ14の画面表示であってもよく、又は、印刷部15の印刷であってもよい。印刷装置10のデバイス名は、当該印刷装置10を一意に特定可能な文字列であればよく、任意の文字列に設定可能である。例えば、2台の印刷装置10に対して、一方の印刷装置10のデバイス名を「printer01」に設定し、もう一方の印刷装置10のデバイス名を「printer02」に設定することが挙げられる。また、印刷装置10のデバイス名として第5SSIDを設定してもよい。印刷装置10のデバイス名として第5SSIDが設定されれば、ユーザーが端末装置20の接続先の印刷装置10を特定しやすくなる。 (Step S1002c) In the printing device 10, the device control unit 11a outputs the device name of the printing device 10 in response to the request for the device name from the terminal device 20. The device name may be output on the screen of the touch panel display 14 or may be printed by the printing unit 15. The device name of the printing device 10 may be any character string as long as it is a character string that can uniquely identify the printing device 10. For example, for two printing devices 10, the device name of one printing device 10 may be set to "printer01" and the device name of the other printing device 10 may be set to "printer02". Further, the fifth SSID may be set as the device name of the printing apparatus 10. If the fifth SSID is set as the device name of the printing device 10, it becomes easy for the user to specify the printing device 10 to which the terminal device 20 is connected.

(ステップS1003c) 端末装置20において、端末制御部21aは、デバイス名選択画面をタッチパネルディスプレイ24に表示させる。デバイス名選択画面には、選択対象として複数のデバイス名が表示可能である。デバイス名選択画面に選択対象として表示されるデバイス名は、端末装置20が過去に収集したデバイス名である。端末装置20が過去に収集したデバイス名は、端末装置20が印刷装置10から送信されるビーコンを受信して当該ビーコンに含まれるデバイス名を取得したものである。
端末制御部21aは、デバイス名選択画面から印刷装置10のデバイス名の選択を受け付ける。
(Step S1003c) In the terminal device 20, the terminal control unit 21a displays the device name selection screen on the touch panel display 24. A plurality of device names can be displayed as selection targets on the device name selection screen. The device name displayed as a selection target on the device name selection screen is a device name collected in the past by the terminal device 20. The device names collected in the past by the terminal device 20 are those obtained by the terminal device 20 receiving the beacon transmitted from the printing device 10 and acquiring the device name included in the beacon.
The terminal control unit 21a accepts the selection of the device name of the printing device 10 from the device name selection screen.

(ステップS1004c) 端末装置20の端末制御部21aと印刷装置10のデバイス制御部11aとは、印刷装置10のデバイス名を使用して第4無線通信を確立する。本ステップS1004cでは、第4無線通信の確立においてパスワード認証が省略される。 (Step S1004c) The terminal control unit 21a of the terminal device 20 and the device control unit 11a of the printing device 10 establish a fourth wireless communication by using the device name of the printing device 10. In this step S1004c, password authentication is omitted in establishing the fourth wireless communication.

なお、第4無線通信の確立手順において、デバイス制御部11aは、第4無線通信の確立の承認選択画面をタッチパネルディスプレイ24に表示させ、承認選択画面から第4無線通信の確立の承認を受け付けるようにしてもよい。これにより、ステップS1004cでは、第4無線通信の確立においてパスワード認証が省略されるが、第4無線通信の確立の承認をユーザーから受けることができるので、第4無線通信の確立の正当性を保つことができる。 In the procedure for establishing the fourth wireless communication, the device control unit 11a displays the approval selection screen for establishing the fourth wireless communication on the touch panel display 24, and accepts the approval for the establishment of the fourth wireless communication from the approval selection screen. You may do it. As a result, in step S1004c, password authentication is omitted in the establishment of the fourth wireless communication, but the user can approve the establishment of the fourth wireless communication, so that the validity of the establishment of the fourth wireless communication is maintained. be able to.

また、第4無線通信を確立するための専用アプリケーションが印刷装置10に設けられる場合、端末装置20の端末制御部21aは、上記ステップS1001cの前に、第1無線通信110を介して印刷装置10へ当該専用アプリケーションを有効にするように要求する。印刷装置10のデバイス制御部11aは、当該要求に応じて、当該専用アプリケーションを起動させる。 When the printing device 10 is provided with a dedicated application for establishing the fourth wireless communication, the terminal control unit 21a of the terminal device 20 may use the printing device 10 via the first wireless communication 110 before the step S1001c. Request that the dedicated application be enabled. The device control unit 11a of the printing device 10 activates the dedicated application in response to the request.

上述した図11に係る「端末装置がアクセスポイントと無線接続されていない場合の他の動作例」によれば、端末装置20の端末制御部21aは、図4のステップS108の判定の結果、端末装置20のWi-Fi通信部23がアクセスポイント30と第2無線通信120を確立していないと判定した場合、第1無線通信110を介して印刷装置10へ、Wi-Fiの規格に準拠した無線通信方式(第2無線通信方式)による印刷装置10との第4無線通信の確立に使用される印刷装置10のデバイス名を要求し、デバイス名選択画面をタッチパネルディスプレイ24(表示部)に表示させ、デバイス名選択画面から印刷装置10のデバイス名の選択を受け付けると、選択されたデバイス名を使用して印刷装置10と第4無線通信を確立する。
この構成により、上述した図8に係る他の動作例と同様に、端末装置20がアクセスポイント30と第2無線通信120を確立していない場合において、端末装置20から印刷装置10へ第4無線通信により印刷データを送信でき、簡単に印刷を実行することができるという効果が得られる。また、印刷装置10のデバイス名の選択によって、第4無線通信が確立できるので、無線設定が簡単である。
According to "another operation example when the terminal device is not wirelessly connected to the access point" according to FIG. 11 described above, the terminal control unit 21a of the terminal device 20 is a terminal as a result of the determination in step S108 of FIG. When the Wi-Fi communication unit 23 of the device 20 determines that the access point 30 and the second wireless communication 120 have not been established, the printing device 10 is sent to the printing device 10 via the first wireless communication 110 in accordance with the Wi-Fi standard. Requests the device name of the printing device 10 used to establish the fourth wireless communication with the printing device 10 by the wireless communication method (second wireless communication method), and displays the device name selection screen on the touch panel display 24 (display unit). When the device name selection of the printing device 10 is accepted from the device name selection screen, the selected device name is used to establish the fourth wireless communication with the printing device 10.
With this configuration, as in the other operation example according to FIG. 8 described above, when the terminal device 20 has not established the access point 30 and the second wireless communication 120, the fourth wireless device is transmitted from the terminal device 20 to the printing device 10. The effect that print data can be transmitted by communication and printing can be easily performed can be obtained. Further, since the fourth wireless communication can be established by selecting the device name of the printing device 10, the wireless setting is easy.

以上、本発明の実施形態を、図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない限り、変更、置換、削除等されてもよい。 Although the embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and changes, substitutions, deletions, etc. are made as long as the gist of the present invention is not deviated. May be done.

また、以上に説明した装置(例えば、印刷装置10又は端末装置20)における任意の構成部の機能を実現するためのプログラムを、コンピューター読み取り可能な記録媒体に記録し、そのプログラムをコンピューターシステムに読み込ませて実行するようにしてもよい。なお、ここでいう「コンピューターシステム」とは、OS(Operating System)や周辺機器等のハードウェアを含むものであってもよい。また、「コンピューター読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリー等の書き込み可能な不揮発性メモリー、DVD(Digital Versatile Disc)等の可搬媒体、コンピューターシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピューター読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバーやクライアントとなるコンピューターシステム内部の揮発性メモリー(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。また、上記プログラムは、このプログラムを記憶装置等に格納したコンピューターシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピューターシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピューターシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 Further, a program for realizing the function of an arbitrary component in the device (for example, the printing device 10 or the terminal device 20) described above is recorded on a computer-readable recording medium, and the program is read into the computer system. You may let it run. The "computer system" referred to here may include hardware such as an OS (Operating System) and peripheral devices. The "computer-readable recording medium" is a flexible disk, a magneto-optical disk, a ROM, a writable non-volatile memory such as a flash memory, a portable medium such as a DVD (Digital Versatile Disc), and a built-in computer system. A storage device such as a hard disk. Furthermore, the "computer-readable recording medium" is a volatile memory inside a computer system that serves as a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line (for example, DRAM (Dynamic)). It also includes those that hold the program for a certain period of time, such as Random Access Memory)). Further, the program may be transmitted from a computer system in which this program is stored in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the "transmission medium" for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the above program may be for realizing a part of the above-mentioned functions. Further, a so-called difference file (difference program) may be used, which can realize the above-mentioned function in combination with a program already recorded in the computer system.

また、以上に説明した装置(例えば、印刷装置10又は端末装置20)における任意の構成部の機能は、プロセッサ(ハードウェアを含むプロセッサ)により実現できる。例えば本実施形態の各処理は、プログラム等の情報に基づき動作するプロセッサと、プログラム等の情報を記憶するコンピューター読み取り可能な記録媒体により実現できる。ここでのプロセッサは、例えば各部の機能が個別のハードウェアで実現されてもよいし、或いは各部の機能が一体のハードウェアで実現されてもよい。例えば、プロセッサはハードウェアを含み、そのハードウェアは、デジタル信号を処理する回路及びアナログ信号を処理する回路の少なくとも一方を含むことができる。例えば、プロセッサは、回路基板に実装された1又は複数の回路装置(例えばIC等)や、1又は複数の回路素子(例えば抵抗、キャパシター等)で構成することができる。プロセッサは、例えばCPUであってもよい。ただし、プロセッサはCPUに限定されるものではなく、GPU(Graphics Processing Unit)、或いはDSP(Digital Signal Processor)等、各種のプロセッサを用いることが可能である。またプロセッサはASIC(Application Specific Integrated Circuit)によるハードウェア回路でもよい。またプロセッサは、複数のCPUにより構成されていてもよいし、複数のASICによるハードウェア回路により構成されていてもよい。また、プロセッサは、複数のCPUと、複数のASICによるハードウェア回路と、の組み合わせにより構成されていてもよい。またプロセッサは、アナログ信号を処理するアンプ回路やフィルター回路等を含んでもよい。 Further, the function of an arbitrary component in the apparatus described above (for example, the printing apparatus 10 or the terminal apparatus 20) can be realized by a processor (a processor including hardware). For example, each process of the present embodiment can be realized by a processor that operates based on information such as a program and a computer-readable recording medium that stores information such as a program. In the processor here, for example, the functions of each part may be realized by individual hardware, or the functions of each part may be realized by integrated hardware. For example, the processor includes hardware, which hardware can include at least one of a circuit that processes a digital signal and a circuit that processes an analog signal. For example, a processor can be composed of one or more circuit devices (eg, ICs, etc.) mounted on a circuit board, or one or more circuit elements (eg, resistors, capacitors, etc.). The processor may be, for example, a CPU. However, the processor is not limited to the CPU, and various processors such as a GPU (Graphics Processing Unit) or a DSP (Digital Signal Processor) can be used. The processor may be a hardware circuit based on an ASIC (Application Specific Integrated Circuit). Further, the processor may be configured by a plurality of CPUs or may be configured by a hardware circuit by a plurality of ASICs. Further, the processor may be configured by a combination of a plurality of CPUs and a hardware circuit by a plurality of ASICs. Further, the processor may include an amplifier circuit, a filter circuit, and the like for processing an analog signal.

1…システム、10…印刷装置(デバイス)、11…処理部、11a…デバイス制御部、11b…SSIDリスト(ネットワーク識別子のリスト)、12…BLE通信部、13…Wi-Fi通信部(第3無線通信部)、14…タッチパネルディスプレイ、15…印刷部、20…端末装置、21…処理部、21a…端末制御部、22…BLE通信部、23…Wi-Fi通信部(第2無線通信部)、24…タッチパネルディスプレイ(表示部及び操作部) 1 ... System, 10 ... Printing device (device), 11 ... Processing unit, 11a ... Device control unit, 11b ... SSID list (list of network identifiers), 12 ... BLE communication unit, 13 ... Wi-Fi communication unit (third) Wireless communication unit), 14 ... Touch panel display, 15 ... Printing unit, 20 ... Terminal device, 21 ... Processing unit, 21a ... Terminal control unit, 22 ... BLE communication unit, 23 ... Wi-Fi communication unit (second wireless communication unit) ), 24 ... Touch panel display (display unit and operation unit)

Claims (20)

デバイスと、第1無線通信方式により前記デバイスと第1無線通信を確立する端末装置と、を備えるシステムにおいて、
前記端末装置は、
第2無線通信方式により無線通信ネットワークのアクセスポイントと第2無線通信を確立する処理を行う第2無線通信部と、
画面の表示を行う表示部と、
前記画面からの入力を受け付ける操作部と、
端末制御部と、を備え、
前記デバイスは、
前記第2無線通信方式により無線通信ネットワークのアクセスポイントと第3無線通信を確立する処理を行う第3無線通信部と、
デバイス制御部と、を備え、
前記端末制御部は、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立しているか否かを判定する第1判定処理を行い、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していると判定した場合、前記第2無線通信部が前記第2無線通信を確立しているアクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信し、
前記デバイス制御部は、前記第3無線通信部が前記第2無線通信方式の無線通信ネットワークの探索により取得したネットワーク識別子のリストに、前記端末装置から前記第1無線通信を介して受信した第1ネットワーク識別子が含まれているか否かを判定し、前記第1ネットワーク識別子が含まれていると判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていることを示す通知を前記第1無線通信を介して前記端末装置へ送信し、
前記端末制御部は、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記端末装置が接続しているアクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を前記表示部に表示させ、前記第1画面から前記指示を受け付けると、第1パスワード入力画面を前記表示部に表示させ、第1パスワード入力画面から第1パスワードの入力を受け付けると、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信し、
前記デバイス制御部は、前記端末装置から前記第1無線通信を介して受信した前記第1ネットワーク識別子と前記第1パスワードに基づいて、前記第3無線通信部により前記第1ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させ、
前記端末制御部は、前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、
前記デバイス制御部は、アクセスポイントと前記第2無線通信を確立していない前記端末装置からのネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、
前記端末制御部は、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第2ネットワーク識別子を選択させ、前記第2ネットワーク識別子が選択されると、第2パスワード入力画面を前記表示部に表示させ、前記第2パスワード入力画面から第2パスワードの入力を受け付けると、前記第2ネットワーク識別子と前記第2パスワードを前記第1無線通信を介して前記デバイスへ送信し、
前記デバイス制御部は、前記端末装置から前記第1無線通信を介して受信した前記第2ネットワーク識別子と前記第2パスワードに基づいて、前記第3無線通信部により前記第2ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、
システム。
In a system including a device and a terminal device that establishes a first wireless communication with the device by a first wireless communication method.
The terminal device is
A second wireless communication unit that performs processing to establish a second wireless communication with an access point of a wireless communication network by a second wireless communication method.
The display unit that displays the screen and
An operation unit that accepts input from the screen and
Equipped with a terminal control unit
The device is
A third wireless communication unit that performs processing for establishing a third wireless communication with an access point of the wireless communication network by the second wireless communication method.
Equipped with a device control unit
The terminal control unit performs a first determination process for determining whether or not the second wireless communication unit has established the second wireless communication with the access point.
As a result of the first determination process, when it is determined that the second wireless communication unit has established the second wireless communication with the access point, the second wireless communication unit has established the second wireless communication. The first network identifier of the access point is transmitted to the device via the first wireless communication.
The device control unit receives the list of network identifiers acquired by the third wireless communication unit by searching for the wireless communication network of the second wireless communication method from the terminal device via the first wireless communication. If it is determined whether or not the network identifier is included and it is determined that the first network identifier is included, the notification indicating that the first network identifier is included in the list of the network identifiers is given. It is transmitted to the terminal device via the first wireless communication, and is transmitted to the terminal device.
When the terminal control unit receives a notification from the device via the first wireless communication indicating that the list of network identifiers stored in the device includes the first network identifier, the terminal device is connected. When the first screen for receiving the instruction to wirelessly connect the device to the access point is displayed on the display unit and the instruction is received from the first screen, the first password input screen is displayed on the display unit. When the input of the first password is accepted from the first password input screen, the first network identifier and the first password are transmitted to the device via the first wireless communication.
The device control unit is an access identified by the first network identifier by the third wireless communication unit based on the first network identifier and the first password received from the terminal device via the first wireless communication. Establish the third wireless communication with the point,
When the terminal control unit determines as a result of the first determination process that the second wireless communication unit has not established the second wireless communication with the access point, the terminal control unit transfers to the device via the first wireless communication. Request a list of the network identifiers
In response to a request for a list of network identifiers from the terminal device that has not established the second wireless communication with the access point, the device control unit uses the terminal for the list of network identifiers via the first wireless communication. Send to the device,
When the terminal control unit receives the list of the network identifiers from the device via the first wireless communication, the terminal control unit causes the second network identifier of any one of the list of the network identifiers to be selected, and the second network identifier is selected. Then, when the second password input screen is displayed on the display unit and the input of the second password is accepted from the second password input screen, the second network identifier and the second password are used for the first wireless communication. Send to the device via
The device control unit is an access identified by the second network identifier by the third wireless communication unit based on the second network identifier and the second password received from the terminal device via the first wireless communication. Establishing the third wireless communication with the point,
system.
第1無線通信方式によりデバイスと第1無線通信を確立する端末装置において、
第2無線通信方式により無線通信ネットワークのアクセスポイントと第2無線通信を確立する処理を行う第2無線通信部と、
画面の表示を行う表示部と、
前記画面からの入力を受け付ける操作部と、
端末制御部と、を備え、
前記端末制御部は、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立しているか否かを判定する第1判定処理を行い、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していると判定した場合、前記第2無線通信部が前記第2無線通信を確立しているアクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信し、
前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記端末装置が接続しているアクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を前記表示部に表示させ、前記第1画面から前記指示を受け付けると、第1パスワード入力画面を前記表示部に表示させ、前記第1パスワード入力画面から第1パスワードの入力を受け付けると、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信する、
端末装置。
In the terminal device that establishes the first wireless communication with the device by the first wireless communication method.
A second wireless communication unit that performs processing to establish a second wireless communication with an access point of a wireless communication network by a second wireless communication method.
The display unit that displays the screen and
An operation unit that accepts input from the screen and
Equipped with a terminal control unit
The terminal control unit performs a first determination process for determining whether or not the second wireless communication unit has established the second wireless communication with the access point.
As a result of the first determination process, when it is determined that the second wireless communication unit has established the second wireless communication with the access point, the second wireless communication unit has established the second wireless communication. The first network identifier of the access point is transmitted to the device via the first wireless communication.
When a notification indicating that the first network identifier is included in the list of network identifiers stored in the device is received from the device via the first wireless communication, the access point to which the terminal device is connected receives a notification. When the display unit displays the first screen for receiving the instruction to wirelessly connect the device and the instruction is received from the first screen, the first password input screen is displayed on the display unit and the first password input screen is displayed. Upon receiving the input of the first password from, the first network identifier and the first password are transmitted to the device via the first wireless communication.
Terminal device.
前記端末制御部は、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、
前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第2ネットワーク識別子を選択させ、前記第2ネットワーク識別子が選択されると、第2パスワード入力画面を前記表示部に表示させ、前記第2パスワード入力画面から第2パスワードの入力を受け付けると、前記第2ネットワーク識別子と前記第2パスワードを前記第1無線通信を介して前記デバイスへ送信する、
請求項2に記載の端末装置。
The terminal control unit
As a result of the first determination process, when it is determined that the second wireless communication unit has not established the second wireless communication with the access point, the list of the network identifiers is sent to the device via the first wireless communication. Request and
When the list of the network identifiers is received from the device via the first wireless communication, any second network identifier in the list of the network identifiers is selected, and when the second network identifier is selected, the second network identifier is selected. When the password input screen is displayed on the display unit and the input of the second password is accepted from the second password input screen, the second network identifier and the second password are transmitted to the device via the first wireless communication. do,
The terminal device according to claim 2.
前記端末制御部は、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第2無線通信方式による前記デバイスとの第4無線通信の確立に使用される無線設定情報を要求し、
前記デバイスから出力された前記無線設定情報を使用して前記デバイスと前記第4無線通信を確立する、
請求項2に記載の端末装置。
The terminal control unit
As a result of the first determination process, when it is determined that the second wireless communication unit has not established the second wireless communication with the access point, the second wireless communication is sent to the device via the first wireless communication. Requests radio configuration information used to establish a fourth radio communication with the device by method.
Using the wireless setting information output from the device, the fourth wireless communication is established with the device.
The terminal device according to claim 2.
前記端末制御部は、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを含む二次元コードを要求し、
前記デバイスから出力された前記二次元コードを撮像部に読み取らせ、
前記撮像部が読み取った前記二次元コードから前記第5ネットワーク識別子及び前記第5パスワードを取得し、
取得した前記第5ネットワーク識別子及び前記第5パスワードを使用して前記デバイスと前記第4無線通信を確立する、
請求項4に記載の端末装置。
The terminal control unit
As a result of the first determination process, when it is determined that the second wireless communication unit has not established the second wireless communication with the access point, the fourth wireless communication is sent to the device via the first wireless communication. Request a 2D code containing the 5th network identifier and 5th password used to establish
Have the image pickup unit read the two-dimensional code output from the device, and then read the two-dimensional code.
The fifth network identifier and the fifth password are obtained from the two-dimensional code read by the image pickup unit, and the fifth network identifier and the fifth password are obtained.
The fifth network identifier and the fifth password obtained are used to establish the fourth wireless communication with the device.
The terminal device according to claim 4.
前記端末制御部は、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを要求し、
ネットワーク識別子及びパスワード入力画面を前記表示部に表示させ、
前記ネットワーク識別子及びパスワード入力画面から前記第5ネットワーク識別子及び前記第5パスワードの入力を受け付けると、前記第5ネットワーク識別子及び前記第5パスワードを使用して前記デバイスと前記第4無線通信を確立する、
請求項4に記載の端末装置。
The terminal control unit
As a result of the first determination process, when it is determined that the second wireless communication unit has not established the second wireless communication with the access point, the fourth wireless communication is sent to the device via the first wireless communication. Request the 5th network identifier and 5th password used to establish
Display the network identifier and password input screen on the display unit.
When the input of the fifth network identifier and the fifth password is accepted from the network identifier and password input screen, the fifth network identifier and the fifth password are used to establish the fourth wireless communication with the device.
The terminal device according to claim 4.
前記端末制御部は、
前記第1判定処理の結果、前記第2無線通信部がアクセスポイントと前記第2無線通信を確立していないと判定した場合、前記第1無線通信を介して前記デバイスへ、前記第4無線通信の確立に使用される前記デバイスのデバイス名を要求し、
デバイス名選択画面を前記表示部に表示させ、
前記デバイス名選択画面から前記デバイスのデバイス名の選択を受け付けると、選択されたデバイス名を使用して前記デバイスと前記第4無線通信を確立する、
請求項4に記載の端末装置。
The terminal control unit
As a result of the first determination process, when it is determined that the second wireless communication unit has not established the second wireless communication with the access point, the fourth wireless communication is sent to the device via the first wireless communication. Request the device name of the device used to establish
Display the device name selection screen on the display unit,
When the device name selection of the device is accepted from the device name selection screen, the selected device name is used to establish the fourth wireless communication with the device.
The terminal device according to claim 4.
前記端末制御部は、
前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていないことを示す通知を前記デバイスから前記第1無線通信を介して受信すると、前記第1無線通信を介して前記デバイスへ前記ネットワーク識別子のリストを要求し、
前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリストを受信すると、前記ネットワーク識別子のリストのいずれかの第3ネットワーク識別子を選択させ、前記第3ネットワーク識別子が選択されると、第3パスワード入力画面を前記表示部に表示させ、前記第3パスワード入力画面から第3パスワードの入力を受け付けると、前記第3ネットワーク識別子と前記第3パスワードを第1無線通信を介して前記デバイスへ送信する、
請求項2に記載の端末装置。
The terminal control unit
When a notification indicating that the first network identifier is not included in the list of network identifiers stored in the device is received from the device via the first wireless communication, the device is notified via the first wireless communication. Request a list of the network identifiers
When the list of the network identifiers is received from the device via the first wireless communication, any third network identifier in the list of the network identifiers is selected, and when the third network identifier is selected, the third network identifier is selected. When the password input screen is displayed on the display unit and the input of the third password is accepted from the third password input screen, the third network identifier and the third password are transmitted to the device via the first wireless communication. ,
The terminal device according to claim 2.
前記端末制御部は、前記デバイスから前記第1無線通信を介して前記ネットワーク識別子のリスト及び前記ネットワーク識別子のリストにステルスモードで動作するアクセスポイントのネットワーク識別子が含まれていることを示すステルスアクセスポイント情報を受信すると、第4ネットワーク識別子及び第4パスワード入力画面を前記表示部に表示させ、前記第4ネットワーク識別子及び第4パスワード入力画面から第4ネットワーク識別子及び第4パスワードの入力を受け付けると、前記第4ネットワーク識別子と前記第4パスワードを前記第1無線通信を介して前記デバイスへ送信する、
請求項2、3、8のいずれか1項に記載の端末装置。
The terminal control unit indicates that the list of network identifiers and the list of network identifiers from the device via the first wireless communication include the network identifier of the access point operating in stealth mode. Upon receiving the information, the fourth network identifier and the fourth password input screen are displayed on the display unit, and when the input of the fourth network identifier and the fourth password is received from the fourth network identifier and the fourth password input screen, the above-mentioned The fourth network identifier and the fourth password are transmitted to the device via the first wireless communication.
The terminal device according to any one of claims 2, 3 and 8.
前記端末装置は、前記第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを前記デバイスと前記第1無線通信を介してやり取りする処理を行い、前記デバイスが前記第2ルールで予め定められたメッセージを前記端末装置に送ってきた場合、前記デバイスと前記第1無線通信を介して情報の送受信を行い、前記デバイスが前記第2ルールで予め定められたメッセージを前記端末装置に送ってこなかった場合、前記デバイスと前記第1無線通信を介して情報の送受信を行わない、
請求項2、3、8、9のいずれか1項に記載の端末装置。
The terminal device performs a process of exchanging a message predetermined by a second rule different from the first rule defined by the pairing standard of the first wireless communication with the device via the first wireless communication. When the device sends a message predetermined by the second rule to the terminal device, information is transmitted and received to and from the device via the first wireless communication, and the device uses the second rule. If a predetermined message is not sent to the terminal device, information is not transmitted / received to / from the device via the first wireless communication.
The terminal device according to any one of claims 2, 3, 8 and 9.
第1無線通信方式により端末装置と第1無線通信を確立するデバイスにおいて、
第2無線通信方式により無線通信ネットワークのアクセスポイントと第3無線通信を確立する処理を行う第3無線通信部と、
デバイス制御部と、を備え、
前記デバイス制御部は、
前記第3無線通信部が前記第2無線通信方式の無線通信ネットワークの探索により取得したネットワーク識別子のリストに、前記端末装置から前記第1無線通信を介して受信した第1ネットワーク識別子が含まれているか否かを判定し、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていると判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていることを示す通知を前記第1無線通信を介して前記端末装置へ送信し、
前記端末装置から前記第1無線通信を介して受信した前記第1ネットワーク識別子と第1パスワードに基づいて、前記第3無線通信部により前記第1ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、
デバイス。
In the device that establishes the first wireless communication with the terminal device by the first wireless communication method.
A third wireless communication unit that performs processing to establish a third wireless communication with an access point of a wireless communication network by a second wireless communication method.
Equipped with a device control unit
The device control unit
The list of network identifiers acquired by the third wireless communication unit in the search for the wireless communication network of the second wireless communication method includes the first network identifier received from the terminal device via the first wireless communication. When it is determined whether or not the first network identifier is included in the list of network identifiers, the notification indicating that the first network identifier is included in the list of network identifiers is given. It is transmitted to the terminal device via the first wireless communication, and is transmitted to the terminal device.
The third radio with an access point identified by the first network identifier by the third radio communication unit based on the first network identifier and the first password received from the terminal device via the first radio communication. Establish communication,
device.
前記デバイス制御部は、
アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの前記ネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、
前記端末装置から前記第1無線通信を介して受信した第2ネットワーク識別子と第2パスワードに基づいて、前記第3無線通信部により前記第2ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、
請求項11に記載のデバイス。
The device control unit
In response to a request for the list of network identifiers from the access point and the terminal device for which the second wireless communication has not been established by the second wireless communication method, the list of network identifiers is provided via the first wireless communication. Send to the terminal device
The third wireless communication with the access point identified by the second network identifier by the third wireless communication unit based on the second network identifier and the second password received from the terminal device via the first wireless communication. To establish
The device according to claim 11.
前記デバイス制御部は、
アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第2無線通信方式による前記デバイスとの第4無線通信の確立に使用される無線設定情報の要求に応じて、前記無線設定情報を出力し、
前記デバイスから出力した前記無線設定情報を使用して前記端末装置と前記第4無線通信を確立する、
請求項11に記載のデバイス。
The device control unit
Radio setting information used for establishing a fourth wireless communication with the device by the second wireless communication method from the access point and the terminal device for which the second wireless communication is not established by the second wireless communication method. Upon request, the wireless setting information is output and
The fourth wireless communication is established with the terminal device by using the wireless setting information output from the device.
The device according to claim 11.
前記デバイス制御部は、
アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードを含む二次元コードの要求に応じて、前記二次元コードを出力し、
前記デバイスから出力した前記二次元コードに含まれる前記第5ネットワーク識別子及び前記第5パスワードを使用して前記端末装置と前記第4無線通信を確立する、
請求項13に記載のデバイス。
The device control unit
A two-dimensional code including a fifth network identifier and a fifth password used for establishing the fourth wireless communication from the access point and the terminal device for which the second wireless communication has not been established by the second wireless communication method. Upon request, the above two-dimensional code is output and
The fifth network identifier and the fifth password included in the two-dimensional code output from the device are used to establish the fourth wireless communication with the terminal device.
13. The device of claim 13.
前記デバイス制御部は、
アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される第5ネットワーク識別子及び第5パスワードの要求に応じて、前記第5ネットワーク識別子及び前記第5パスワードを出力し、
前記デバイスから出力した前記第5ネットワーク識別子及び前記第5パスワードを使用して前記端末装置と前記第4無線通信を確立する、
請求項13に記載のデバイス。
The device control unit
In response to a request for a fifth network identifier and a fifth password used to establish the fourth wireless communication from the access point and the terminal device for which the second wireless communication has not been established by the second wireless communication method. Output the 5th network identifier and the 5th password,
The fifth network identifier and the fifth password output from the device are used to establish the fourth wireless communication with the terminal device.
13. The device of claim 13.
前記デバイス制御部は、
アクセスポイントと前記第2無線通信方式により第2無線通信を確立していない前記端末装置からの、前記第4無線通信の確立に使用される前記デバイスのデバイス名の要求に応じて、前記デバイス名を出力し、
前記デバイスから出力した前記デバイス名を使用して前記端末装置と前記第4無線通信を確立する、
請求項13に記載のデバイス。
The device control unit
The device name in response to a request for a device name of the device used for establishing the fourth wireless communication from the access point and the terminal device for which the second wireless communication has not been established by the second wireless communication method. Is output,
The fourth wireless communication is established with the terminal device by using the device name output from the device.
13. The device of claim 13.
前記デバイス制御部は、
前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていないと判定した場合、前記第1ネットワーク識別子が前記ネットワーク識別子のリストに含まれていないことを示す通知を前記第1無線通信を介して前記端末装置へ送信し、
前記端末装置からの前記ネットワーク識別子のリストの要求に応じて、前記ネットワーク識別子のリストを前記第1無線通信を介して前記端末装置へ送信し、
前記端末装置から前記第1無線通信を介して受信した第3ネットワーク識別子と第3パスワードに基づいて、前記第3無線通信部により前記第3ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、
請求項11に記載のデバイス。
The device control unit
When it is determined that the first network identifier is not included in the list of network identifiers, a notification indicating that the first network identifier is not included in the list of network identifiers is notified via the first wireless communication. Send to the terminal device
In response to a request from the terminal device for the list of network identifiers, the list of network identifiers is transmitted to the terminal device via the first wireless communication.
The third wireless communication with the access point identified by the third network identifier by the third wireless communication unit based on the third network identifier and the third password received from the terminal device via the first wireless communication. To establish
The device according to claim 11.
前記デバイス制御部は、
前記ネットワーク識別子のリストの中に、値がNULL又は長さが0のネットワーク識別子が含まれている場合、前記ネットワーク識別子のリスト及び前記ネットワーク識別子のリストにステルスモードで動作するアクセスポイントのネットワーク識別子が含まれていることを示すステルスアクセスポイント情報を前記第1無線通信を介して前記端末装置へ送信し、
前記端末装置から前記第1無線通信を介して受信した第4ネットワーク識別子と第4パスワードに基づいて、前記第3無線通信部により前記第4ネットワーク識別子が識別するアクセスポイントとの前記第3無線通信を確立させる、
請求項11、12、17のいずれか1項に記載のデバイス。
The device control unit
If the list of network identifiers includes a network identifier with a value of NUML or a length of 0, the list of network identifiers and the list of network identifiers will contain the network identifier of the access point operating in stealth mode. Stealth access point information indicating that it is included is transmitted to the terminal device via the first wireless communication, and the stealth access point information is transmitted to the terminal device.
The third wireless communication with the access point identified by the fourth network identifier by the third wireless communication unit based on the fourth network identifier and the fourth password received from the terminal device via the first wireless communication. To establish
The device according to any one of claims 11, 12, and 17.
前記デバイスは、前記第1無線通信のペアリングの規格で定められた第1ルールとは異なる第2ルールで予め定められたメッセージを前記端末装置と前記第1無線通信を介してやり取りする処理を行い、前記端末装置が前記第2ルールで予め定められたメッセージを前記デバイスに送ってきた場合、前記端末装置と前記第1無線通信を介して情報の送受信を行い、前記端末装置が前記第2ルールで予め定められたメッセージを前記デバイスに送ってこなかった場合、前記端末装置と前記第1無線通信を介して情報の送受信を行わない、
請求項11、12、17、18のいずれか1項に記載のデバイス。
The device performs a process of exchanging a message predetermined by a second rule different from the first rule defined by the pairing standard of the first wireless communication with the terminal device via the first wireless communication. When the terminal device sends a message predetermined by the second rule to the device, information is transmitted / received to / from the terminal device via the first wireless communication, and the terminal device performs the second. If the message predetermined by the rule is not sent to the device, the information is not transmitted / received to / from the terminal device via the first wireless communication.
The device according to any one of claims 11, 12, 17, and 18.
第1無線通信部に、第1無線通信方式によりデバイスと第1無線通信を確立させるステップと、
第2無線通信部が第2無線通信方式によりアクセスポイントと第2無線通信を確立しているか否かを判定する第1判定処理ステップと、
前記第1判定処理ステップの結果、前記第2無線通信部が前記アクセスポイントと第2無線通信を確立していると判定した場合、前記第1無線通信部に、前記アクセスポイントの第1ネットワーク識別子を、前記第1無線通信を介して前記デバイスへ送信させるステップと、
前記第1無線通信部が、前記デバイスが記憶するネットワーク識別子のリストに前記第1ネットワーク識別子が含まれていることを示す通知を前記デバイスから前記第1無線通信を介して受信した場合、表示部に、前記アクセスポイントに前記デバイスを無線接続させる指示を受け付ける第1画面を表示させるステップと、
前記第1画面が前記指示を受け付けると、前記表示部に、第1パスワード入力画面を表示させるステップと、
前記第1パスワード入力画面が第1パスワードの入力を受け付けると、前記第1無線通信部に、前記第1ネットワーク識別子と前記第1パスワードを前記第1無線通信を介して前記デバイスへ送信させるステップと、
をコンピューターに実行させるためのプログラム。
A step of establishing the first wireless communication with the device by the first wireless communication method in the first wireless communication unit,
The first determination processing step of determining whether or not the second wireless communication unit has established the second wireless communication with the access point by the second wireless communication method, and
As a result of the first determination processing step, when it is determined that the second wireless communication unit has established the second wireless communication with the access point, the first wireless communication unit is notified of the first network identifier of the access point. To the device via the first wireless communication, and
When the first wireless communication unit receives a notification from the device via the first wireless communication indicating that the list of network identifiers stored in the device includes the first network identifier, the display unit. A step of displaying a first screen for receiving an instruction to wirelessly connect the device to the access point.
When the first screen receives the instruction, the step of displaying the first password input screen on the display unit, and
When the first password input screen accepts the input of the first password, the step of causing the first wireless communication unit to transmit the first network identifier and the first password to the device via the first wireless communication. ,
A program that lets your computer run.
JP2018100061A 2018-03-27 2018-05-24 Systems, terminals, devices and programs Active JP7052560B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201910222214.6A CN110312293B (en) 2018-03-27 2019-03-22 Terminal device, wireless communication apparatus, system including the same, and storage medium
US16/362,952 US11082845B2 (en) 2018-03-27 2019-03-25 Terminal apparatus, device, and non-transitory computer-readable recording medium
EP19165258.5A EP3547760B1 (en) 2018-03-27 2019-03-26 System, terminal apparatus, device, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018059833 2018-03-27
JP2018059833 2018-03-27

Publications (2)

Publication Number Publication Date
JP2019176451A JP2019176451A (en) 2019-10-10
JP7052560B2 true JP7052560B2 (en) 2022-04-12

Family

ID=68169793

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018100061A Active JP7052560B2 (en) 2018-03-27 2018-05-24 Systems, terminals, devices and programs

Country Status (1)

Country Link
JP (1) JP7052560B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7179520B2 (en) * 2018-07-31 2022-11-29 キヤノン株式会社 Communication device, control method, and program
JP2021077936A (en) * 2019-11-05 2021-05-20 株式会社Preferred Networks Electronic device, program, setting method, and terminal
JP2022042094A (en) 2020-09-02 2022-03-14 セイコーエプソン株式会社 Electronic apparatus and program
JPWO2023037829A1 (en) 2021-09-08 2023-03-16
WO2023037830A1 (en) 2021-09-08 2023-03-16 パナソニックIpマネジメント株式会社 Control device, terminal, control method, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010087922A (en) 2008-09-30 2010-04-15 Brother Ind Ltd Method of connection to wireless network, wireless communication device, and program
JP2013125990A (en) 2011-12-13 2013-06-24 Nippon Telegr & Teleph Corp <Ntt> Radio network failure isolation support system
JP2013214801A (en) 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013222244A (en) 2012-04-13 2013-10-28 Toshiba Corp Memory device and radio communication control method thereof
JP2016063404A (en) 2014-09-18 2016-04-25 セイコーエプソン株式会社 Information processing system and display device
JP2017184169A (en) 2016-03-31 2017-10-05 キヤノン株式会社 Information processing device, control method, and program
JP2017188869A (en) 2016-01-29 2017-10-12 キヤノン株式会社 Information processing apparatus, control method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010087922A (en) 2008-09-30 2010-04-15 Brother Ind Ltd Method of connection to wireless network, wireless communication device, and program
JP2013125990A (en) 2011-12-13 2013-06-24 Nippon Telegr & Teleph Corp <Ntt> Radio network failure isolation support system
JP2013214801A (en) 2012-03-30 2013-10-17 Brother Ind Ltd Communication device
JP2013222244A (en) 2012-04-13 2013-10-28 Toshiba Corp Memory device and radio communication control method thereof
JP2016063404A (en) 2014-09-18 2016-04-25 セイコーエプソン株式会社 Information processing system and display device
JP2017188869A (en) 2016-01-29 2017-10-12 キヤノン株式会社 Information processing apparatus, control method, and program
JP2017184169A (en) 2016-03-31 2017-10-05 キヤノン株式会社 Information processing device, control method, and program

Also Published As

Publication number Publication date
JP2019176451A (en) 2019-10-10

Similar Documents

Publication Publication Date Title
JP7052560B2 (en) Systems, terminals, devices and programs
JP5962564B2 (en) Communication control program and communication device
US9311030B2 (en) Communication setting technology and communication apparatus
JP6666765B2 (en) Communication device, control method therefor, and program
JP6069939B2 (en) Wireless communication device, communication setting method, and communication setting program
US9137419B2 (en) Communication apparatus capable of executing a direct wireless communication, communication apparatus control method, and program
CN105009614A (en) Method and apparatus for peer-2-peer wi-fi ranging using near field communication
US20100254285A1 (en) Information communication terminal
US20140268232A1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US9864552B2 (en) Communication apparatus, control method of communication apparatus, and storage medium
JP2017085379A (en) Communication device and control method thereof, information processing device, communication system, and program
JP2018195100A (en) Image reading device and program
US20180042056A1 (en) Information processing apparatus and method and program for controlling information processing apparatus
CN110312293B (en) Terminal device, wireless communication apparatus, system including the same, and storage medium
EP2713672A2 (en) Wireless slave devices configuration and communication therewith
US9462063B2 (en) Network device search system that allows information processing terminal to identify network device
JP2019057853A (en) Information processing unit, information processing system, and program
JP6766469B2 (en) Information processing equipment, image processing equipment and programs
US20210271432A1 (en) Information processing apparatus having a plurality of lines, control method therefor, and storage medium
JP2022078092A (en) Information processing apparatus, method for controlling the same, and program
JP7016705B2 (en) Communication equipment, communication systems, information processing methods and programs
JP2018117168A (en) Server for connection support, terminal device, system, method, and program
JP5896451B2 (en) In-vehicle communication device, communication system, communication method, and program
CN112822790B (en) Data transmission method and device, electronic equipment and computer readable storage medium
EP4020157A1 (en) Output system, system, output method, and carrier means

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220210

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220314

R150 Certificate of patent or registration of utility model

Ref document number: 7052560

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150