JP7091672B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP7091672B2
JP7091672B2 JP2018010384A JP2018010384A JP7091672B2 JP 7091672 B2 JP7091672 B2 JP 7091672B2 JP 2018010384 A JP2018010384 A JP 2018010384A JP 2018010384 A JP2018010384 A JP 2018010384A JP 7091672 B2 JP7091672 B2 JP 7091672B2
Authority
JP
Japan
Prior art keywords
terminal device
electronic device
wireless connection
target
setting
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
JP2018010384A
Other languages
Japanese (ja)
Other versions
JP2019129428A (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 JP2018010384A priority Critical patent/JP7091672B2/en
Publication of JP2019129428A publication Critical patent/JP2019129428A/en
Application granted granted Critical
Publication of JP7091672B2 publication Critical patent/JP7091672B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、電子機器等に関する。 The present invention relates to electronic devices and the like.

従来、所与の規格に準拠した無線通信方式により、端末装置と無線通信を行う電子機器が知られている。例えば、自身がアクセスポイントとして機能することで、端末装置と直接無線通信を行うプリンター等の電子機器が知られている。ここでの無線通信方式は、Wi-Fi規格に準拠した通信方式等である。 Conventionally, an electronic device that wirelessly communicates with a terminal device by a wireless communication method conforming to a given standard is known. For example, electronic devices such as printers that directly perform wireless communication with a terminal device by functioning as an access point by themselves are known. The wireless communication method here is a communication method or the like conforming to the Wi-Fi standard.

小型プリンターでは、簡単にプリンターの設定を行うために、SSID(Service Set Identifier)が固定のアクセスポイントとして動作する機能を搭載している。この際、アクセスポイントとして動作するプリンターに一度に接続できる端末装置の数は、少数に限定されてしまう。そのため、プリンターの設定処理を実行しない端末装置がプリンターに接続してしまうと、設定処理を実行する端末装置がプリンターに接続できず、設定処理を適切に行えない。 Small printers are equipped with a function in which the SSID (Service Set Identifier) operates as a fixed access point in order to easily set the printer. At this time, the number of terminal devices that can be connected to the printer operating as an access point at one time is limited to a small number. Therefore, if a terminal device that does not execute the printer setting process connects to the printer, the terminal device that executes the setting process cannot connect to the printer, and the setting process cannot be performed properly.

これに対して、特許文献1には、SSIDを規定の条件に従って動的に変化させる手法が開示されている。SSIDを動的に変更することで、不適切な端末装置との接続を抑制できる。不適切な端末装置とは、具体的には設定処理を実行しない端末装置である。 On the other hand, Patent Document 1 discloses a method of dynamically changing the SSID according to a specified condition. By dynamically changing the SSID, it is possible to suppress the connection with an inappropriate terminal device. An inappropriate terminal device is specifically a terminal device that does not execute a setting process.

特開2014-175822号公報Japanese Unexamined Patent Publication No. 2014-175822

小型プリンター等の電子機器は、表示部を有さない場合もある。そのような電子機器において特許文献1のように動的にSSIDを変化させた場合、変化後のSSIDを端末装置を使用するユーザーに通知することが難しい。また、端末装置側で変化後のSSIDを入力、或いは選択する必要がある。結果として、端末装置を使用するユーザーの負担が増加したり、端末装置側のアプリケーションに変化後のSSIDを推定するための処理を行わせる必要が生じてしまう。 Electronic devices such as small printers may not have a display unit. When the SSID is dynamically changed as in Patent Document 1 in such an electronic device, it is difficult to notify the user who uses the terminal device of the changed SSID. Further, it is necessary to input or select the changed SSID on the terminal device side. As a result, the burden on the user who uses the terminal device increases, and it becomes necessary for the application on the terminal device side to perform processing for estimating the SSID after the change.

本発明の幾つかの態様によれば、電子機器と端末装置の接続に関する負荷を軽減しつつ、不適切な端末装置との接続を抑制する電子機器等を提供できる。 According to some aspects of the present invention, it is possible to provide an electronic device or the like that suppresses the connection with an inappropriate terminal device while reducing the load related to the connection between the electronic device and the terminal device.

本発明の一態様は、電子機器の内部アクセスポイントを用いた無線通信を行う通信部と、前記通信部の通信制御を行う処理部と、を含み、前記通信部は、接続可能な端末装置の上限値が設定されており、且つ識別子が固定である前記内部アクセスポイントを用いた前記無線通信を行い、前記処理部は、前記内部アクセスポイントを用いて前記端末装置との無線接続を確立してから、前記端末装置により前記電子機器に対する設定処理が行われない時間が第1閾値を超えた場合、前記端末装置との無線接続を切断する処理、及び、前記端末装置を無線接続拒否対象に設定する処理を行い、前記処理部は、前記無線接続拒否対象に設定された前記端末装置からの接続要求を拒否する制御を行う電子機器に関係する。 One aspect of the present invention includes a communication unit that performs wireless communication using an internal access point of an electronic device and a processing unit that performs communication control of the communication unit, and the communication unit is a connectable terminal device. The wireless communication is performed using the internal access point for which an upper limit value is set and the identifier is fixed, and the processing unit establishes a wireless connection with the terminal device using the internal access point. Therefore, when the time during which the setting process for the electronic device is not performed by the terminal device exceeds the first threshold value, the process for disconnecting the wireless connection with the terminal device and the terminal device for setting the wireless connection refusal target. The processing unit is related to an electronic device that controls to reject a connection request from the terminal device set as the wireless connection refusal target.

内部アクセスポイントの識別子が固定、且つ接続可能な端末装置の数に上限があるという状況では、不適切な端末装置からの接続要求が許可されることで、本来接続すべき端末装置が電子機器に接続できないおそれがある。これに対して本発明の一態様では、所与の条件を満たした端末装置を無線接続拒否対象に設定し、当該端末装置からの接続要求を拒否する。これにより、不適切な端末装置との接続確立を抑制し、適切な端末装置との接続確立の蓋然性を高めることが可能になる。 In a situation where the identifier of the internal access point is fixed and there is an upper limit to the number of terminal devices that can be connected, the connection request from an inappropriate terminal device is permitted, and the terminal device that should be originally connected becomes an electronic device. You may not be able to connect. On the other hand, in one aspect of the present invention, a terminal device satisfying a given condition is set as a wireless connection refusal target, and a connection request from the terminal device is rejected. This makes it possible to suppress the establishment of a connection with an inappropriate terminal device and increase the probability of establishing a connection with an appropriate terminal device.

また本発明の一態様では、前記処理部は、前記端末装置との無線接続を確立してからの経過時間が第2閾値以下の期間に、前記端末装置により前記電子機器に対する前記設定処理が行われた場合、前記端末装置を無線接続優先対象に設定する処理を行い、前記無線接続優先対象に設定された前記端末装置との無線接続の確立を、前記無線接続優先対象に設定されていない前記端末装置との無線接続の確立よりも優先させてもよい。 Further, in one aspect of the present invention, the processing unit performs the setting process for the electronic device by the terminal device during a period in which the elapsed time from establishing the wireless connection with the terminal device is equal to or less than the second threshold value. If so, the process of setting the terminal device as the wireless connection priority target is performed, and the establishment of the wireless connection with the terminal device set as the wireless connection priority target is not set as the wireless connection priority target. It may be prioritized over the establishment of a wireless connection with the terminal device.

このようにすれば、接続すべき端末装置との接続を優先的に確立することが可能になる。 By doing so, it becomes possible to preferentially establish the connection with the terminal device to be connected.

また本発明の一態様では、前記第2閾値は、前記第1閾値以下であってもよい。 Further, in one aspect of the present invention, the second threshold value may be equal to or less than the first threshold value.

このようにすれば、無線接続拒否対象に設定する条件、無線接続優先対象に設定する条件を柔軟に設定することが可能になる。 By doing so, it is possible to flexibly set the conditions to be set as the wireless connection refusal target and the conditions to be set as the wireless connection priority target.

また本発明の一態様では、前記処理部は、前記無線接続優先対象に設定されている前記端末装置が存在する場合、前記電子機器の電源オンからの経過時間が第3閾値を超えるまで、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を拒否する制御を行ってもよい。 Further, in one aspect of the present invention, the processing unit, when the terminal device set as the wireless connection priority target exists, is described until the elapsed time from turning on the power of the electronic device exceeds the third threshold value. Control may be performed to reject a connection request from the terminal device that is not set as a wireless connection priority target.

このようにすれば、無線接続優先対象である端末装置の接続確立の優先度合いを、適切に制御することが可能になる。 By doing so, it becomes possible to appropriately control the priority of the connection establishment of the terminal device which is the wireless connection priority target.

また本発明の一態様では、前記内部アクセスポイントに接続可能な前記端末装置の前記上限値がN(Nは2以上の整数)である場合、前記処理部は、前記無線接続優先対象に設定されている前記端末装置の台数がN台である場合、前記電子機器の電源オンからの経過時間が第3閾値を超えるまで、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を拒否し、前記無線接続優先対象に設定されている前記端末装置の台数がN台未満である場合、前記電子機器の電源オンからの経過時間が前記第3閾値以下であっても、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を許可する制御を行ってもよい。 Further, in one aspect of the present invention, when the upper limit value of the terminal device that can be connected to the internal access point is N (N is an integer of 2 or more), the processing unit is set as the wireless connection priority target. When the number of the terminal devices is N, a connection request from the terminal device that is not set as the wireless connection priority target is received until the elapsed time from the power-on of the electronic device exceeds the third threshold value. When the number of the terminal devices set as the wireless connection priority target is less than N, the wireless connection is made even if the elapsed time from the power-on of the electronic device is equal to or less than the third threshold value. Control may be performed to allow a connection request from the terminal device that is not set as a priority target.

このようにすれば、内部アクセスポイントに複数の端末装置が接続可能な場合においても、無線接続優先対象である端末装置との接続を優先的に確立すること、及び優先度合いを適切に制御すること、が可能になる。 By doing so, even when a plurality of terminal devices can be connected to the internal access point, the connection with the terminal device that is the wireless connection priority target can be preferentially established, and the priority level can be appropriately controlled. , Will be possible.

また本発明の一態様では、前記無線接続拒否対象に設定された前記端末装置の情報を記憶する第1の記憶部と、前記無線接続優先対象に設定された前記端末装置の情報を記憶する第2の記憶部を含んでもよい。 Further, in one aspect of the present invention, there is a first storage unit that stores information of the terminal device set as the wireless connection refusal target, and a first storage unit that stores information of the terminal device set as the wireless connection priority target. It may include 2 storage units.

このようにすれば、無線接続拒否対象の情報と無線接続優先対象の情報を、異なる記憶部に分けて記憶することが可能になる。 In this way, the information of the wireless connection refusal target and the information of the wireless connection priority target can be stored separately in different storage units.

また本発明の一態様では、前記第1の記憶部は、揮発性メモリーであり、前記第2の記憶部は、不揮発性メモリーであってもよい。 Further, in one aspect of the present invention, the first storage unit may be a volatile memory, and the second storage unit may be a non-volatile memory.

このようにすれば、無線接続拒否対象の情報と無線接続優先対象の情報とで、電子機器の電源がオフにされたときの対応を異ならせることが可能になる。 By doing so, it is possible to make the correspondence when the power of the electronic device is turned off different between the information of the wireless connection refusal target and the information of the wireless connection priority target.

また本発明の一態様では、前記処理部は、前記内部アクセスポイントを用いて前記端末装置との接続を確立してから、前記端末装置により前記電子機器に対する前記設定処理が行われない時間が前記第1閾値を超えた場合、前記端末装置を、所与の設定時間、前記無線接続拒否対象に設定する処理を行ってもよい。 Further, in one aspect of the present invention, after the processing unit establishes a connection with the terminal device using the internal access point, the time during which the setting process for the electronic device is not performed by the terminal device is described. When the first threshold value is exceeded, the terminal device may be set as the wireless connection refusal target for a given set time.

このようにすれば、無線接続拒否対象に設定される時間を調整できるため、柔軟な通信制御を実現できる。 By doing so, the time set for the wireless connection refusal target can be adjusted, so that flexible communication control can be realized.

また本発明の一態様では、前記処理部は、前記端末装置が前記無線接続拒否対象に設定された回数が多いほど、前記無線接続拒否対象に設定される前記設定時間を長くする処理を行ってもよい。 Further, in one aspect of the present invention, the processing unit performs a process of lengthening the set time set for the wireless connection refusal target as the number of times the terminal device is set for the wireless connection refusal target increases. May be good.

このようにすれば、無線接続拒否対象に設定された履歴に基づいて、無線接続拒否対象に設定される時間を調整できるため、柔軟な通信制御を実現できる。 By doing so, the time set as the wireless connection refusal target can be adjusted based on the history set as the wireless connection refusal target, so that flexible communication control can be realized.

また本発明の他の態様は、電子機器の内部アクセスポイントを用いて端末装置と無線通信を行う通信部と、前記通信部の通信制御を行う処理部と、無線接続拒否対象に設定された前記端末装置のリストである第1のリスト情報を記憶する揮発性メモリーと、無線接続優先対象に設定された前記端末装置のリストである第2のリスト情報を記憶する不揮発性メモリーと、を含み、前記通信部は、接続可能な前記端末装置の上限値が設定されており、且つ識別子が固定である前記内部アクセスポイントを用いた前記無線通信を行い、前記処理部は、前記第1のリスト情報及び前記第2のリスト情報の少なくとも一方に基づく判定処理を行い、判定結果に基づいて前記端末装置からの接続要求を許可するか否かを決定する電子機器に関係する。 Further, in another aspect of the present invention, the communication unit that wirelessly communicates with the terminal device using the internal access point of the electronic device, the processing unit that controls the communication of the communication unit, and the wireless connection rejection target are set. It includes a volatile memory for storing the first list information which is a list of terminal devices and a non-volatile memory for storing a second list information which is a list of the terminal devices set as a wireless connection priority target. The communication unit performs the wireless communication using the internal access point to which the upper limit value of the connectable terminal device is set and the identifier is fixed, and the processing unit performs the wireless communication, and the processing unit performs the first list information. The present invention relates to an electronic device that performs a determination process based on at least one of the second list information and determines whether or not to allow a connection request from the terminal device based on the determination result.

内部アクセスポイントの識別子が固定、且つ接続可能な端末装置の数に上限があるという状況では、不適切な端末装置からの接続要求が許可されることで、本来接続すべき端末装置が電子機器に接続できないおそれがある。これに対して本発明の他の態様では、無線接続拒否対象の情報と無線接続優先対象の情報に基づいて、接続要求を許可するか拒否するかを決定する。これにより、不適切な端末装置との接続確立を抑制し、適切な端末装置との接続確立の蓋然性を高めることが可能になる。また、無線接続拒否対象の情報と無線接続優先対象の情報とで、電子機器の電源がオフにされたときの対応を異ならせることが可能になる。 In a situation where the identifier of the internal access point is fixed and there is an upper limit to the number of terminal devices that can be connected, the connection request from an inappropriate terminal device is permitted, and the terminal device that should be originally connected becomes an electronic device. You may not be able to connect. On the other hand, in another aspect of the present invention, it is determined whether to allow or deny the connection request based on the information of the wireless connection refusal target and the information of the wireless connection priority target. This makes it possible to suppress the establishment of a connection with an inappropriate terminal device and increase the probability of establishing a connection with an appropriate terminal device. Further, it is possible to make the correspondence when the power of the electronic device is turned off different between the information of the wireless connection refusal target and the information of the wireless connection priority target.

本実施形態の電子機器を含む通信システムの例。An example of a communication system including the electronic device of the present embodiment. 電子機器の構成例。Configuration example of electronic equipment. 端末装置の構成例。Configuration example of terminal device. 本実施形態の電子機器を含むPOSシステムの例。An example of a POS system including the electronic device of this embodiment. 設定処理に用いられる表示画面の例。An example of a display screen used for setting processing. 設定処理に用いられる表示画面の例。An example of a display screen used for setting processing. 設定処理に用いられる表示画面の例。An example of a display screen used for setting processing. 本実施形態の通信制御を説明するフローチャート。The flowchart explaining the communication control of this embodiment. 本実施形態の通信制御を説明するフローチャート。The flowchart explaining the communication control of this embodiment. 本実施形態の通信制御を説明するフローチャート。The flowchart explaining the communication control of this embodiment. 本実施形態の通信制御を説明するフローチャート。The flowchart explaining the communication control of this embodiment. 本実施形態の通信制御を説明するフローチャート。The flowchart explaining the communication control of this embodiment.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。 Hereinafter, this embodiment will be described. It should be noted that the present embodiment described below does not unreasonably limit the content of the present invention described in the claims. Moreover, not all of the configurations described in the present embodiment are essential constituent requirements of the present invention.

1.通信システム
図1は、本実施形態に係る電子機器100を含む通信システム10の構成を示す図である。通信システム10は、電子機器100と、端末装置200を含む。なお、図1では端末装置200として、PC(Personal Computer)である2台の端末装置200-1及び200-2を示したが、電子機器100と無線接続可能な範囲に設けられる端末装置200の数は3台以上であってもよい。また、端末装置200はPCに限定されず、スマートフォンやタブレット端末等の携帯端末装置であってもよい。
1. 1. Communication system FIG. 1 is a diagram showing a configuration of a communication system 10 including an electronic device 100 according to the present embodiment. The communication system 10 includes an electronic device 100 and a terminal device 200. In FIG. 1, two terminal devices 200-1 and 200-2, which are PCs (Personal Computers), are shown as the terminal devices 200, but the terminal device 200 provided in a range capable of wirelessly connecting to the electronic device 100. The number may be 3 or more. Further, the terminal device 200 is not limited to a PC, and may be a mobile terminal device such as a smartphone or a tablet terminal.

電子機器100は、例えばプリンター(印刷装置)である。プリンターは、受信する印刷データ、又は、自身が記憶する印刷データに基づいて、印刷媒体に文字や画像等を印刷する装置である。或いは電子機器100は、スキャナー、ファクシミリ装置又はコピー機であってもよい。電子機器100は、複数の機能を有する複合機(MFP:Multifunction Peripheral)であってもよく、印刷機能を有する複合機もプリンターの一例である。 The electronic device 100 is, for example, a printer (printing device). A printer is a device that prints characters, images, or the like on a print medium based on the print data received or the print data stored by the printer. Alternatively, the electronic device 100 may be a scanner, a facsimile machine or a copier. The electronic device 100 may be a multifunction device (MFP: Multifunction Peripheral) having a plurality of functions, and a multifunction device having a printing function is also an example of a printer.

電子機器100と端末装置200は、無線による通信が可能である。ここでの無線通信は、例えばWi-Fi(登録商標)の規格に準拠した通信である。電子機器100は、無線ネットワークN1を構築するアクセスポイントとして機能し、無線ネットワークN1に接続した端末装置200と直接無線通信する。電子機器100がアクセスポイントとして機能するとは、電子機器100が内部アクセスポイントを動作させることを表す。また、直接無線通信するとは、電子機器100と端末装置200が、外部のアクセスポイントを介さずに通信を行うこと、換言すれば電子機器100の内部アクセスポイントを用いて通信を行うことを表す。 The electronic device 100 and the terminal device 200 can communicate wirelessly. The wireless communication here is, for example, communication conforming to the Wi-Fi (registered trademark) standard. The electronic device 100 functions as an access point for constructing the wireless network N1 and directly communicates wirelessly with the terminal device 200 connected to the wireless network N1. The fact that the electronic device 100 functions as an access point means that the electronic device 100 operates an internal access point. Further, direct wireless communication means that the electronic device 100 and the terminal device 200 communicate with each other without going through an external access point, in other words, communicate with each other using the internal access point of the electronic device 100.

図2は、電子機器100の構成の一例を示すブロック図である。なお、図2は、印刷機能を有する電子機器100(プリンター、複合機)を示している。ただし、電子機器100をプリンター以外に拡張可能な点は上述したとおりである。電子機器100は、処理部110(プロセッサー)、操作部120(操作ボタン)、印刷部130、通信部140(通信インターフェース)、記憶部150(メモリー)を含む。 FIG. 2 is a block diagram showing an example of the configuration of the electronic device 100. Note that FIG. 2 shows an electronic device 100 (printer, multifunction device) having a printing function. However, as described above, the electronic device 100 can be expanded to other than the printer. The electronic device 100 includes a processing unit 110 (processor), an operation unit 120 (operation button), a printing unit 130, a communication unit 140 (communication interface), and a storage unit 150 (memory).

処理部110(プロセッサー、コントローラー)は、電子機器100の各部(通信部、記憶部、印刷部等)の制御を行ったり、本実施形態の各種の処理を行ったりする。例えば処理部110は、メインCPU(Central Processing Unit)、サブCPUなどの複数のCPU(MPU、マイコン)を含むことができる。メインCPU(メイン制御基板)は、電子機器100の各部の制御や全体的な制御を行う。サブCPUは、例えば電子機器100がプリンターである場合には、印刷についての各種の処理を行う。或いは通信処理のためのCPUを更に設けてもよい。 The processing unit 110 (processor, controller) controls each unit (communication unit, storage unit, printing unit, etc.) of the electronic device 100, and performs various processes of the present embodiment. For example, the processing unit 110 can include a plurality of CPUs (MPU, microcomputer) such as a main CPU (Central Processing Unit) and a sub CPU. The main CPU (main control board) controls each part of the electronic device 100 and controls the whole. For example, when the electronic device 100 is a printer, the sub CPU performs various processes related to printing. Alternatively, a CPU for communication processing may be further provided.

処理部110が行う本実施形態の各処理(各機能)は、プロセッサー(ハードウェアを含むプロセッサー)により実現できる。例えば本実施形態の各処理は、プログラム等の情報に基づき動作するプロセッサーと、プログラム等の情報を記憶するメモリー(記憶装置)により実現できる。ここでのプロセッサーは、例えば各部の機能が個別のハードウェアで実現されてもよいし、或いは各部の機能が一体のハードウェアで実現されてもよい。例えば、プロセッサーはハードウェアを含み、そのハードウェアは、デジタル信号を処理する回路及びアナログ信号を処理する回路の少なくとも一方を含むことができる。例えば、プロセッサーは、回路基板に実装された1又は複数の回路装置(例えばIC等)や、1又は複数の回路素子(例えば抵抗、キャパシター等)で構成することができる。プロセッサーは、例えばCPUであってもよい。ただし、プロセッサーはCPUに限定されるものではなく、GPU(Graphics Processing Unit)、或いはDSP(Digital Signal Processor)等、各種のプロセッサーを用いることが可能である。またプロセッサーはASICによるハードウェア回路でもよい。またプロセッサーは、複数のCPUにより構成されていてもよいし、複数のASIC(application specific integrated circuit)によるハードウェア回路により構成されていてもよい。また、プロセッサーは、複数のCPUと、複数のASICによるハードウェア回路と、の組み合わせにより構成されていてもよい。 Each process (each function) of the present embodiment performed by the process unit 110 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 memory (storage device) 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. Further, the processor may be a hardware circuit by ASIC. Further, the processor may be configured by a plurality of CPUs, or may be configured by a hardware circuit composed of a plurality of ASICs (application specific integrated circuits). Further, the processor may be configured by a combination of a plurality of CPUs and a hardware circuit by a plurality of ASICs.

操作部120は、操作ボタンを備える。図1の例では、操作部120は、操作ボタンとして、電源ボタンB12aと設定ボタンB12bとを備える。電源ボタンB12aは、電子機器100の電源のオンオフを切り替えるための操作ボタンである。設定ボタンB12bは、電子機器100を、無線ネットワークN1を構築するアクセスポイントとして機能させるための操作ボタンである。上述した図1は、例えば電子機器100の設定ボタンB12bが操作された状態でのシステム構成を表す図である。 The operation unit 120 includes operation buttons. In the example of FIG. 1, the operation unit 120 includes a power button B12a and a setting button B12b as operation buttons. The power button B12a is an operation button for switching the power on / off of the electronic device 100. The setting button B12b is an operation button for making the electronic device 100 function as an access point for constructing the wireless network N1. FIG. 1 described above is a diagram showing, for example, a system configuration in a state where the setting button B12b of the electronic device 100 is operated.

印刷部130は、印刷媒体としてのロール紙にドットを形成するサーマルヘッド、ロール紙を搬送する搬送機構、ロール紙を切断する切断機構等を備える。印刷部130は、処理部110の制御で、ロール紙を搬送しつつ、ロール紙にドットを形成して画像を記録する。印刷部130は、処理部110の制御で、ロール紙を所定の位置で切断し、文字や画像等が印刷された紙片を発行する。 The printing unit 130 includes a thermal head that forms dots on the roll paper as a printing medium, a transport mechanism that conveys the roll paper, a cutting mechanism that cuts the roll paper, and the like. The printing unit 130, under the control of the processing unit 110, forms dots on the roll paper and records an image while transporting the roll paper. The printing unit 130 cuts the roll paper at a predetermined position under the control of the processing unit 110, and issues a piece of paper on which characters, images, and the like are printed.

通信部140は、処理部110の制御で、所定の無線通信の規格に従って、無線通信を実行する。ここでの無線通信は、狭義にはWi-Fiの規格に準拠する通信である。本実施形態では、通信部140は、電子機器100の内部アクセスポイントを動作させることで無線ネットワークN1を構築し、無線ネットワークN1に接続した1又は複数の端末装置200と直接無線通信する。 The communication unit 140, under the control of the processing unit 110, executes wireless communication in accordance with a predetermined wireless communication standard. The wireless communication here is, in a narrow sense, a communication conforming to the Wi-Fi standard. In the present embodiment, the communication unit 140 constructs a wireless network N1 by operating an internal access point of the electronic device 100, and directly wirelessly communicates with one or a plurality of terminal devices 200 connected to the wireless network N1.

記憶部150は、データやプログラムなどの各種の情報を記憶する。処理部110や通信部140は例えば記憶部150をワーク領域として動作する。記憶部150は、SRAM、DRAMなどの半導体メモリーであってもよいし、レジスターであってもよいし、ハードディスク装置(HDD)などの磁気記憶装置であってもよいし、光学ディスク装置等の光学式記憶装置であってもよい。例えば、記憶部150はコンピューターにより読み取り可能な命令を格納しており、当該命令が処理部110(プロセッサー)により実行されることで、電子機器100の各部(通信部、処理部)の機能が実現されることになる。ここでの命令は、プログラムを構成する命令セットの命令でもよいし、処理部110(プロセッサー)のハードウェア回路に対して動作を指示する命令であってもよい。 The storage unit 150 stores various information such as data and programs. The processing unit 110 and the communication unit 140 operate, for example, with the storage unit 150 as a work area. The storage unit 150 may be a semiconductor memory such as SRAM or DRAM, a register, a magnetic storage device such as a hard disk device (HDD), or an optical disk device or the like. It may be an expression storage device. For example, the storage unit 150 stores instructions that can be read by a computer, and when the instructions are executed by the processing unit 110 (processor), the functions of each unit (communication unit, processing unit) of the electronic device 100 are realized. Will be done. The instruction here may be an instruction of an instruction set constituting the program, or may be an instruction instructing the hardware circuit of the processing unit 110 (processor) to operate.

記憶部150は、図2に示すように第1の記憶部151、第2の記憶部152を含む。第1の記憶部151は、ハードディスクや、EEPROM等の不揮発性メモリーであり、無線接続優先対象である端末装置200の情報を記憶する。第2の記憶部152は、SRAM、DRAM等の揮発性メモリーであり、無線接続拒否対象である端末装置200の情報を記憶する。無線接続優先対象、無線接続拒否対象については後述する。 As shown in FIG. 2, the storage unit 150 includes a first storage unit 151 and a second storage unit 152. The first storage unit 151 is a non-volatile memory such as a hard disk or EEPROM, and stores information of the terminal device 200 which is a priority target for wireless connection. The second storage unit 152 is a volatile memory such as a SRAM or DRAM, and stores information of the terminal device 200 that is the target of wireless connection refusal. The wireless connection priority target and the wireless connection refusal target will be described later.

また記憶部150は、電子機器100の設定情報を記憶してもよい。記憶部150には、電子機器100の設定に関する設定項目と、設定項目に対応する設定値との組み合わせが記憶される。 Further, the storage unit 150 may store the setting information of the electronic device 100. The storage unit 150 stores a combination of setting items related to the setting of the electronic device 100 and setting values corresponding to the setting items.

図3は、端末装置200の構成の一例を示すブロック図である。端末装置200は、処理部210(プロセッサー)、表示部220(ディスプレイ)、操作部230(操作ボタン等)、通信部240(通信インターフェース)、記憶部250(メモリー)を含む。 FIG. 3 is a block diagram showing an example of the configuration of the terminal device 200. The terminal device 200 includes a processing unit 210 (processor), a display unit 220 (display), an operation unit 230 (operation buttons and the like), a communication unit 240 (communication interface), and a storage unit 250 (memory).

処理部210(プロセッサー、コントローラー)は、表示部220、操作部230、通信部240、記憶部250の各部の制御を行う。 The processing unit 210 (processor, controller) controls each unit of the display unit 220, the operation unit 230, the communication unit 240, and the storage unit 250.

処理部210が行う本実施形態の各処理は、プロセッサーにより実現できる。例えば本実施形態の各処理は、プログラム等の情報に基づき動作するプロセッサーと、プログラム等の情報を記憶するメモリーにより実現できる。ここでのプロセッサーは、例えば各部の機能が個別のハードウェアで実現されてもよいし、或いは各部の機能が一体のハードウェアで実現されてもよい。例えば、プロセッサーはハードウェアを含み、そのハードウェアは、デジタル信号を処理する回路及びアナログ信号を処理する回路の少なくとも一方を含むことができる。例えば、プロセッサーは、回路基板に実装された1又は複数の回路装置や、1又は複数の回路素子で構成することができる。プロセッサーは、CPUであってもよい。ただし、プロセッサーはCPUに限定されるものではなく、GPU、或いはDSP等、各種のプロセッサーを用いることが可能である。またプロセッサーはASICによるハードウェア回路でもよい。またプロセッサーは、複数のCPUにより構成されていてもよいし、複数のASICによるハードウェア回路により構成されていてもよい。また、プロセッサーは、複数のCPUと、複数のASICによるハードウェア回路と、の組み合わせにより構成されていてもよい。 Each process of the present embodiment performed by the processing unit 210 can be realized by a processor. 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 memory 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 mounted on a circuit board or one or more circuit elements. The processor may be a CPU. However, the processor is not limited to the CPU, and various processors such as GPU or DSP can be used. Further, the processor may be a hardware circuit by ASIC. 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.

表示部220は、各種情報をユーザーに表示するディスプレイ等で構成され、操作部230は、ユーザーからの入力操作を受け付けるボタン等で構成される。表示部220及び操作部230は、タッチパネルにより一体的に構成してもよい。なお、端末装置200は、表示以外の態様でユーザーに対する報知を行う報知部を含んでもよい。報知部は、音による報知を行うスピーカーであってもよいし、振動による報知を行う振動部であってもよいし、これらの組み合わせであってもよい。振動部は、振動モーター等により実現される。 The display unit 220 is composed of a display or the like that displays various information to the user, and the operation unit 230 is composed of a button or the like that accepts an input operation from the user. The display unit 220 and the operation unit 230 may be integrally configured by a touch panel. The terminal device 200 may include a notification unit that notifies the user in a mode other than the display. The notification unit may be a speaker that performs notification by sound, a vibration unit that performs notification by vibration, or a combination thereof. The vibrating part is realized by a vibrating motor or the like.

通信部240は、処理部210の制御で、所定の無線通信(狭義にはWi-Fi)の規格に従って、無線通信を行う。通信部240は、電子機器100の内部アクセスポイントと、Wi-Fi(無線LAN)に準拠する規格に従って通信する。 The communication unit 240, under the control of the processing unit 210, performs wireless communication in accordance with a predetermined wireless communication (in a narrow sense, Wi-Fi) standard. The communication unit 240 communicates with the internal access point of the electronic device 100 according to a standard compliant with Wi-Fi (wireless LAN).

記憶部250(記憶装置、メモリー)は、データやプログラムなどの各種の情報を記憶する。処理部210や通信部240は記憶部250をワーク領域として動作する。記憶部250は、半導体メモリーであってもよいし、レジスターであってもよいし、磁気記憶装置であってもよいし、光学式記憶装置であってもよい。 The storage unit 250 (storage device, memory) stores various information such as data and programs. The processing unit 210 and the communication unit 240 operate with the storage unit 250 as a work area. The storage unit 250 may be a semiconductor memory, a register, a magnetic storage device, or an optical storage device.

記憶部250は、設定用アプリケーションを記憶する。設定用アプリケーションは、電子機器100の初期設定や設定変更等の操作を実行するためのアプリケーションであり、初期設定や設定変更等に係るユーザーインターフェースを提供する。 The storage unit 250 stores the setting application. The setting application is an application for executing operations such as initial setting and setting change of the electronic device 100, and provides a user interface related to initial setting and setting change.

次に、本実施形態の電子機器100が使用される具体的な状況について説明する。ただし、以下の説明は電子機器100の使用態様の一例であり、他の態様で電子機器100が用いられることは妨げられない。 Next, a specific situation in which the electronic device 100 of the present embodiment is used will be described. However, the following description is an example of the usage mode of the electronic device 100, and it does not prevent the electronic device 100 from being used in other modes.

本実施形態の電子機器100は、POS(Point Of Sale)システムで用いられるプリンターである。POSシステムとは、ショッピングセンターや、コンビニエンスストア、車内販売等の小売業や、レストランや、喫茶店、居酒屋等の飲食業等の業務で利用されるシステムであり、顧客が購入した商品に応じて会計を行う機能や、会計に応じてレシートを発行する機能等を有する。 The electronic device 100 of this embodiment is a printer used in a POS (Point Of Sale) system. The POS system is a system used in the retail business such as shopping centers, convenience stores, and in-car sales, and the food and beverage business such as restaurants, coffee shops, and taverns. It has a function to perform and a function to issue a receipt according to the accounting.

電子機器100をPOSシステムで使用する場合、種々の初期設定が必要となる。初期設定とは、電子機器100をPOSシステムに導入する際、端末装置200により実行される電子機器100に対する初回の設定である。また初期設定後にも、適宜、設定内容の変更を行うための設定処理が行われる。本実施形態の電子機器100は、図1に示すように、無線ネットワークN1に接続した端末装置200と直接無線通信することで、初期設定等の設定処理が実行される。そして、初期設定が完了した電子機器100がPOSシステムに導入される。 When the electronic device 100 is used in a POS system, various initial settings are required. The initial setting is the initial setting for the electronic device 100 executed by the terminal device 200 when the electronic device 100 is introduced into the POS system. Further, even after the initial setting, the setting process for changing the setting content is performed as appropriate. As shown in FIG. 1, the electronic device 100 of the present embodiment directly wirelessly communicates with the terminal device 200 connected to the wireless network N1 to execute setting processing such as initial setting. Then, the electronic device 100 whose initial settings have been completed is introduced into the POS system.

図4は、設定処理後の電子機器100を含む通信システムであるPOSシステム11の構成例である。POSシステム11では、POSプリンターである電子機器100が外部アクセスポイントAPと接続され、当該外部アクセスポイントAPに、印刷実行用の端末装置300が接続される。印刷実行用の端末装置300は、本実施形態に係る端末装置200であってもよいし、本実施形態に係る端末装置200とは異なる装置であってもよい。即ち、本実施形態に係る端末装置200は、設定処理を行う専用端末であってもよいし、設定及び印刷実行の両方を行う端末装置であってもよい。本実施形態の電子機器100は、アクセスポイントとして機能する第1の通信モードと、外部アクセスポイントAPに接続する第2の通信モードを切り替え可能に構成される。第1の通信モードとは、具体的にはアドホックモードであり、図1に対応する。第2の通信モードとは、具体的にはインフラストラクチャーモードであり、図4に対応する。 FIG. 4 is a configuration example of the POS system 11 which is a communication system including the electronic device 100 after the setting process. In the POS system 11, the electronic device 100, which is a POS printer, is connected to the external access point AP, and the terminal device 300 for printing execution is connected to the external access point AP. The terminal device 300 for printing execution may be the terminal device 200 according to the present embodiment, or may be a device different from the terminal device 200 according to the present embodiment. That is, the terminal device 200 according to the present embodiment may be a dedicated terminal that performs setting processing, or may be a terminal device that performs both setting and printing execution. The electronic device 100 of the present embodiment is configured to be able to switch between a first communication mode that functions as an access point and a second communication mode that connects to an external access point AP. The first communication mode is specifically an ad hoc mode, which corresponds to FIG. 1. The second communication mode is specifically an infrastructure mode and corresponds to FIG.

外部アクセスポイントAPは、外部アクセスポイントAPにより構築される無線ネットワークN2内の装置の無線通信を中継する装置である。電子機器100と端末装置300とは、互いが無線ネットワークN2に接続することで、外部アクセスポイントAPを介して通信可能となる。なお、無線ネットワークN2に接続することは、外部アクセスポイントAPと通信接続することに相当する。 The external access point AP is a device that relays the wireless communication of the device in the wireless network N2 constructed by the external access point AP. By connecting the electronic device 100 and the terminal device 300 to the wireless network N2, the electronic device 100 and the terminal device 300 can communicate with each other via the external access point AP. Note that connecting to the wireless network N2 corresponds to communicating with the external access point AP.

無線ネットワークN2を構築する外部アクセスポイントAPは、無線ネットワークN2を識別するための識別情報であるネットワーク識別情報を有する。また、外部アクセスポイントAPは、無線ネットワークN2へ接続するための認証情報を有する。本実施形態では、無線ネットワークN2を、IEEE802.11xで規定される無線LAN(Local Area Network)とする。この場合において、ネットワーク識別情報は、SSIDである。また、認証情報は、パスフレーズ及び暗号化方式を含む。パスフレーズは、無線LANによる通信を暗号化するために使用される暗号鍵である。パスフレーズは、パスワードであってもよい。暗号化方式は、例えばWEP(Wired Equivalent Privacy)、WPA(Wi-Fi Protected Access)、或いは、これらを拡張/改良した暗号化方式が挙げられる。 The external access point AP that constructs the wireless network N2 has network identification information that is identification information for identifying the wireless network N2. Further, the external access point AP has authentication information for connecting to the wireless network N2. In the present embodiment, the wireless network N2 is a wireless LAN (Local Area Network) defined by IEEE802.11x. In this case, the network identification information is the SSID. The authentication information also includes a passphrase and an encryption method. A passphrase is an encryption key used to encrypt communication via a wireless LAN. The passphrase may be a password. Examples of the encryption method include WEP (Wired Equivalent Privacy), WPA (Wi-Fi Protected Access), and an encryption method that is an extension / improvement of these.

端末装置200を用いた初期設定において、外部アクセスポイントAPのSSID及び認証情報を含む設定情報が、電子機器100の記憶部150に記憶される。電子機器100の通信部140は、設定されたSSID及び認証情報を用いて、無線ネットワークN2に接続する。設定処理の詳細については、図5~図7を用いて後述する。また、端末装置300(300-1,300-2)は、外部アクセスポイントAPのSSID及び認証情報を取得することにより、無線ネットワークN2に接続する。端末装置300は、電子機器100から外部アクセスポイントAPのSSID及び認証情報を取得することが可能である。 In the initial setting using the terminal device 200, the setting information including the SSID and the authentication information of the external access point AP is stored in the storage unit 150 of the electronic device 100. The communication unit 140 of the electronic device 100 connects to the wireless network N2 by using the set SSID and the authentication information. Details of the setting process will be described later with reference to FIGS. 5 to 7. Further, the terminal device 300 (300-1, 300-2) connects to the wireless network N2 by acquiring the SSID and the authentication information of the external access point AP. The terminal device 300 can acquire the SSID and authentication information of the external access point AP from the electronic device 100.

端末装置300は、無線ネットワークN2を用いて、ジョブデータを電子機器100に送信し、電子機器100は当該ジョブデータに基づきジョブを実行する。ジョブデータとは具体的には印刷データであり、ジョブとは印刷を実行するジョブを表す。 The terminal device 300 transmits job data to the electronic device 100 using the wireless network N2, and the electronic device 100 executes a job based on the job data. The job data is specifically print data, and the job represents a job for executing printing.

2.本実施形態の手法
次に本実施形態の手法について説明する。まず本実施形態の概要について説明した後、記憶部150の構成例、端末装置200を介して行われる電子機器100の設定処理の例について説明する。その後、状況に応じた処理の具体的な流れについて、図8~図12のシーケンス図を用いて説明する。
2. 2. Method of this embodiment Next, the method of this embodiment will be described. First, an outline of the present embodiment will be described, and then an example of the configuration of the storage unit 150 and an example of the setting process of the electronic device 100 performed via the terminal device 200 will be described. After that, a specific flow of processing according to the situation will be described with reference to the sequence diagrams of FIGS. 8 to 12.

2.1 概要
一般に、電子機器100がアクセスポイントとして機能する場合、無線ネットワークN1に接続可能な端末装置200の数には限りがある。なお、ここでは「無線ネットワークN1に接続する」ことは「電子機器100の内部アクセスポイントに接続する」ことに相当するため、電子機器100の内部アクセスポイントに接続可能な端末装置200の数に上限がある、と言い換えることが可能である。そのため、電子機器100の通信部140が内部アクセスポイントを動作させても、ユーザーの意図しない端末装置200が内部アクセスポイントに接続していることに起因して、適切な端末装置200が内部アクセスポイントに接続できない場合がある。上述した電子機器100の初期設定や設定変更の例であれば、設定の意思がある端末装置200、即ち設定用アプリケーションが起動された端末装置200が内部アクセスポイントに接続できない場合がある。
2.1 Overview Generally, when the electronic device 100 functions as an access point, the number of terminal devices 200 that can be connected to the wireless network N1 is limited. Here, since "connecting to the wireless network N1" corresponds to "connecting to the internal access point of the electronic device 100", the upper limit is the number of terminal devices 200 that can be connected to the internal access point of the electronic device 100. It is possible to paraphrase that there is. Therefore, even if the communication unit 140 of the electronic device 100 operates the internal access point, the appropriate terminal device 200 is connected to the internal access point because the terminal device 200 not intended by the user is connected to the internal access point. You may not be able to connect to. In the above-mentioned example of initial setting or setting change of the electronic device 100, the terminal device 200 having the intention of setting, that is, the terminal device 200 in which the setting application is started may not be able to connect to the internal access point.

例えば、端末装置200-1が、設定用アプリケーションが起動された端末装置200であり、端末装置200-2が、設定用アプリケーションが起動されていない端末装置200であるとする。また、電子機器100の内部アクセスポイントに接続可能な端末装置200の数が1であるとする。 For example, it is assumed that the terminal device 200-1 is the terminal device 200 in which the setting application is started, and the terminal device 200-2 is the terminal device 200 in which the setting application is not started. Further, it is assumed that the number of terminal devices 200 that can be connected to the internal access point of the electronic device 100 is 1.

端末装置200-2が以前に内部アクセスポイントに接続したことがあると、端末装置200-2の記憶部250は、電子機器100の内部アクセスポイントのSSID及びパスフレーズを記憶している。そのため、電子機器100の内部アクセスポイントが起動された場合、端末装置200-2は、記憶しているSSID及びパスフレーズを用いて、内部アクセスポイントへの接続を試行する。OS(Operating System)等の設定にもよるが、記憶しているSSID及びパスフレーズを用いた接続試行は、ユーザーの操作を必要とせず、自動的に行われる場合もある。 If the terminal device 200-2 has previously connected to an internal access point, the storage unit 250 of the terminal device 200-2 stores the SSID and passphrase of the internal access point of the electronic device 100. Therefore, when the internal access point of the electronic device 100 is activated, the terminal device 200-2 attempts to connect to the internal access point using the stored SSID and passphrase. Although it depends on the settings of the OS (Operating System) and the like, the connection attempt using the stored SSID and passphrase may be automatically performed without requiring the user's operation.

結果として、端末装置200-2を使用するユーザーは電子機器100の設定を行う意思がないにもかかわらず、端末装置200-2が、端末装置200-1より先に、内部アクセスポイントに接続する可能性がある。端末装置200-2が端末装置200-1より先に内部アクセスポイントに接続すると、内部アクセスポイントに接続可能な端末装置200の数が1であるため、端末装置200-1は、内部アクセスポイントに接続できず、設定処理を実行できない。 As a result, the terminal device 200-2 connects to the internal access point before the terminal device 200-1 even though the user who uses the terminal device 200-2 does not intend to set the electronic device 100. there is a possibility. When the terminal device 200-2 connects to the internal access point before the terminal device 200-1, the number of the terminal devices 200 that can be connected to the internal access point is 1, so that the terminal device 200-1 becomes the internal access point. Cannot connect and cannot execute the setting process.

例えば、電子機器100の設定担当者が、端末装置200-2のユーザーから端末装置200-1のユーザーに変更された場合に、上記の問題が発生する。 For example, when the person in charge of setting the electronic device 100 is changed from the user of the terminal device 200-2 to the user of the terminal device 200-1, the above problem occurs.

或いは、複数の電子機器100で、SSID及びパスフレーズの初期値が共通化されている場合も考えられる。この場合、所与のSSID及びパスフレーズを複数の電子機器100の設定処理に流用できるため、ユーザーの利便性向上が可能である。より具体的には、設定処理のための接続に際して、ユーザーはSSIDの選択やパスフレーズの入力を省略できる。この例において、端末装置200-2を用いて所与の電子機器100(第1の電子機器)の設定処理が行われた場合、端末装置200-2は、第1の電子機器の内部アクセスポイントのSSID及びパスフレーズを記憶する。その後、異なる電子機器100(第2の電子機器)の設定を端末装置200-1から行おうとした場合、端末装置200-2が保持しているSSID及びパスフレーズは、第2の電子機器と共通であるため、端末装置200-2が、端末装置200-1より先に、第2の電子機器に接続する可能性がある。 Alternatively, it is conceivable that the initial values of the SSID and the passphrase are shared by the plurality of electronic devices 100. In this case, since the given SSID and passphrase can be diverted to the setting process of the plurality of electronic devices 100, the convenience of the user can be improved. More specifically, the user can omit the selection of SSID and the input of the passphrase when connecting for the setting process. In this example, when the setting process of the given electronic device 100 (first electronic device) is performed by using the terminal device 200-2, the terminal device 200-2 is an internal access point of the first electronic device. Memorize the SSID and passphrase of. After that, when trying to set a different electronic device 100 (second electronic device) from the terminal device 200-1, the SSID and passphrase held by the terminal device 200-2 are common to the second electronic device. Therefore, the terminal device 200-2 may be connected to the second electronic device before the terminal device 200-1.

このようなケースは、ユーザーが複数の電子機器100を導入しようとした場合に発生しうる。或いは、複数の電子機器100を導入する場合に、初期設定を専門業者(電子機器100のメーカーや、販売代理店等)が代行することも考えられる。専門業者の使用する端末装置200では、多数の電子機器100に対して設定処理を行うことになるため、上述したような問題が特に発生しやすい。 Such a case may occur when the user tries to introduce a plurality of electronic devices 100. Alternatively, when a plurality of electronic devices 100 are introduced, it is conceivable that a specialist company (manufacturer of the electronic device 100, a sales agent, etc.) will perform the initial setting on behalf of the user. In the terminal device 200 used by a specialist, the setting process is performed on a large number of electronic devices 100, so that the above-mentioned problems are particularly likely to occur.

これに対して、特許文献1のように、アクセスポイントとして機能する電子機器100のSSID、即ち内部アクセスポイントのSSIDを動的に変更する手法が考えられる。SSIDを変更すれば、端末装置200-2が記憶しているSSIDと変更後のSSIDが一致しなくなるため、端末装置200-2と電子機器100との接続が確立されず、所望の端末装置200(端末装置200-1)の接続確立が妨げられない。 On the other hand, as in Patent Document 1, a method of dynamically changing the SSID of the electronic device 100 that functions as an access point, that is, the SSID of the internal access point can be considered. If the SSID is changed, the SSID stored in the terminal device 200-2 and the changed SSID do not match, so that the connection between the terminal device 200-2 and the electronic device 100 is not established, and the desired terminal device 200 is not established. The connection establishment of (terminal device 200-1) is not hindered.

しかし電子機器100の内部アクセスポイントのSSIDが変更される場合、端末装置200が電子機器100と無線接続を行うためには、変更後のSSIDを知らなくてはならない。電子機器100が液晶パネル等の表示部を有する場合、当該表示部にSSIDを表示することで、端末装置200のユーザーにSSIDを通知できる。しかし、図1に示したPOSシステム用のプリンターのように、電子機器100が表示部を有さない場合もある。電子機器100がプリンターである場合、SSIDを印刷することで通知することも可能であるが、SSIDを変更する度に紙を消費することになり、好ましくない。また、端末装置200側でも、変更後のSSIDの入力操作、或いは選択操作が必要となるため、ユーザーの利便性が低い。 However, when the SSID of the internal access point of the electronic device 100 is changed, the terminal device 200 must know the changed SSID in order to make a wireless connection with the electronic device 100. When the electronic device 100 has a display unit such as a liquid crystal panel, the SSID can be notified to the user of the terminal device 200 by displaying the SSID on the display unit. However, as in the printer for the POS system shown in FIG. 1, the electronic device 100 may not have a display unit. When the electronic device 100 is a printer, it is possible to notify by printing the SSID, but it is not preferable because paper is consumed every time the SSID is changed. Further, even on the terminal device 200 side, the input operation or the selection operation of the SSID after the change is required, so that the convenience of the user is low.

本実施形態の電子機器100は、図2に示したように、電子機器の内部アクセスポイントを用いた無線通信を行う通信部140と、通信部140の通信制御を行う処理部110を含む。そして通信部140は、接続可能な端末装置200の上限値が設定されており、且つ識別子が固定である内部アクセスポイントを用いた無線通信を行う。処理部110は、内部アクセスポイントを用いて端末装置200との無線接続を確立してから、端末装置200により電子機器100に対する設定処理が行われない時間が第1閾値Th1を超えた場合、端末装置200との無線接続を切断する処理、及び、端末装置200を無線接続拒否対象に設定する処理を行う。そして処理部110は、無線接続拒否対象に設定された端末装置200からの接続要求を拒否する制御を行う。 As shown in FIG. 2, the electronic device 100 of the present embodiment includes a communication unit 140 that performs wireless communication using an internal access point of the electronic device, and a processing unit 110 that performs communication control of the communication unit 140. Then, the communication unit 140 performs wireless communication using an internal access point in which the upper limit of the connectable terminal device 200 is set and the identifier is fixed. When the processing unit 110 exceeds the first threshold Th1 for the time during which the setting process for the electronic device 100 is not performed by the terminal device 200 after establishing the wireless connection with the terminal device 200 using the internal access point, the terminal 110 A process of disconnecting the wireless connection with the device 200 and a process of setting the terminal device 200 as a wireless connection refusal target are performed. Then, the processing unit 110 controls to reject the connection request from the terminal device 200 set as the wireless connection refusal target.

ここで、内部アクセスポイントの識別子とは、当該内部アクセスポイントを特定するための情報であり、具体的には上述してきたSSIDである。また、設定処理とは、電子機器100の設定を行う処理であり、詳細については図5~図7を用いて後述する。 Here, the identifier of the internal access point is information for identifying the internal access point, and specifically, the SSID described above. The setting process is a process for setting the electronic device 100, and details thereof will be described later with reference to FIGS. 5 to 7.

このように、設定処理を行わない端末装置200との無線接続を切断するとともに、当該端末装置200からの接続要求を拒否することで、不適切な端末装置200により、無線接続が占有されることを抑制できる。結果として、設定処理を行う適切な端末装置200と電子機器100との接続が阻害されることを抑制可能である。 In this way, by disconnecting the wireless connection with the terminal device 200 that does not perform the setting process and rejecting the connection request from the terminal device 200, the wireless connection is occupied by the inappropriate terminal device 200. Can be suppressed. As a result, it is possible to prevent the connection between the appropriate terminal device 200 for performing the setting process and the electronic device 100 from being hindered.

本実施形態では、端末装置200が無線接続拒否対象に設定されているか否かを、接続要求を拒否する条件として用いる。さらに、端末装置200を無線接続拒否対象に設定するか否かを、接続確立後、設定処理が行われない時間に基づいて判定する。このようにすれば、接続が確立された端末装置200のユーザーが、設定処理を意図しているか否かを適切に判定可能である。なお、詳細については後述するが、ここでの設定処理は設定を変更する処理に限定されず、現在の設定内容を取得する処理等、設定に関する種々の処理を含む。 In the present embodiment, whether or not the terminal device 200 is set as a wireless connection refusal target is used as a condition for rejecting the connection request. Further, it is determined whether or not the terminal device 200 is set as the wireless connection refusal target based on the time when the setting process is not performed after the connection is established. By doing so, it is possible to appropriately determine whether or not the user of the terminal device 200 for which the connection has been established intends the setting process. Although the details will be described later, the setting process here is not limited to the process of changing the setting, and includes various processes related to the setting such as the process of acquiring the current setting content.

また処理部110は、端末装置200との無線接続を確立してからの経過時間が第2閾値Th2以下の期間に、端末装置200により電子機器100に対する設定処理が行われた場合、当該端末装置200を無線接続優先対象に設定する処理を行う。そして処理部110は、無線接続優先対象に設定された端末装置200との無線接続の確立を、無線接続優先対象に設定されていない端末装置200との無線接続の確立よりも優先させる。 Further, when the processing unit 110 performs setting processing for the electronic device 100 by the terminal device 200 during a period in which the elapsed time from establishing the wireless connection with the terminal device 200 is the second threshold value Th2 or less, the terminal device 110 Performs a process of setting 200 as a wireless connection priority target. Then, the processing unit 110 gives priority to the establishment of the wireless connection with the terminal device 200 set as the wireless connection priority target over the establishment of the wireless connection with the terminal device 200 not set as the wireless connection priority target.

このように電子機器100は、接続が確立された端末装置200のユーザーが、設定処理を意図していると判定された場合に、当該端末装置200を他の端末装置200に比べて優先的に接続対象とする。これにより、ユーザーによる設定処理を適切に実行させることが可能になる。 As described above, when it is determined that the user of the terminal device 200 for which the connection has been established intends the setting process, the electronic device 100 gives priority to the terminal device 200 over the other terminal devices 200. Target for connection. This makes it possible for the user to properly execute the setting process.

設定処理では、一度設定処理を行った後、設定内容を微調整する場合も多い。図5に示すように、印字の速度や濃度を設定した場合、テスト印刷を行い、その結果に応じて、適切な速度や濃度となるように設定内容を微調整する。或いは図6に示すように、ロゴを設定した場合、テスト印刷の結果に応じて、ロゴが所望の位置に、所望の態様で表示されるように設定内容を微調整する。このように、一度設定処理を行った端末装置200は、再度同じ電子機器100を対象として設定処理を行う蓋然性が高い。そのため、所定時間内に設定処理を行ったことを条件に、端末装置200を無線接続優先対象に設定すれば、適切な通信制御を実現可能である。 In the setting process, it is often the case that the setting content is fine-tuned after the setting process is performed once. As shown in FIG. 5, when the printing speed and density are set, test printing is performed, and the setting contents are finely adjusted so as to have an appropriate speed and density according to the result. Alternatively, as shown in FIG. 6, when the logo is set, the setting content is finely adjusted so that the logo is displayed at a desired position and in a desired mode according to the result of test printing. As described above, it is highly probable that the terminal device 200 that has been set once again performs the setting process for the same electronic device 100 again. Therefore, if the terminal device 200 is set as a wireless connection priority target on condition that the setting process is performed within a predetermined time, appropriate communication control can be realized.

なお、ここでの「優先させる」とは、無線接続優先対象に設定された端末装置200との接続が確立される蓋然性を、他の端末装置200に比べて高くすることを表す。図11を用いて後述するように、所与の期間において無線接続優先対象に設定された端末装置200からの接続要求を許可し、無線接続優先対象に設定されていない端末装置200からの接続要求を拒否することで、無線接続優先対象である端末装置200の接続確立を優先してもよい。 The term "priority" here means that the probability of establishing a connection with the terminal device 200 set as the wireless connection priority target is higher than that of other terminal devices 200. As will be described later with reference to FIG. 11, the connection request from the terminal device 200 set as the wireless connection priority target is permitted in a given period, and the connection request from the terminal device 200 not set as the wireless connection priority target is permitted. By rejecting, the connection establishment of the terminal device 200, which is the wireless connection priority target, may be prioritized.

本実施形態では、端末装置200が無線接続拒否対象か、無線接続優先対象か、いずれでもないかに応じて、当該端末装置200からの接続要求に対する応答を変化させる。また、端末装置200との接続が確立された場合、接続確立からの経過時間に応じて、当該端末装置200を無線接続拒否対象又は無線接続優先対象に設定したり、設定を解除する。これにより、識別子が固定であり、且つ接続台数に上限がある場合にも、適切な端末装置200との接続を確立することが可能になる。 In the present embodiment, the response to the connection request from the terminal device 200 is changed depending on whether the terminal device 200 is a wireless connection refusal target or a wireless connection priority target. When the connection with the terminal device 200 is established, the terminal device 200 is set as a wireless connection refusal target or a wireless connection priority target, or the setting is canceled, depending on the elapsed time from the connection establishment. This makes it possible to establish an appropriate connection with the terminal device 200 even when the identifier is fixed and the number of connected devices has an upper limit.

2.2 電子機器の記憶部の構成例
図2に示したように、電子機器100は、無線接続拒否対象に設定された端末装置200の情報を記憶する第1の記憶部151と、無線接続優先対象に設定された端末装置200の情報を記憶する第2の記憶部152を含む。ここで、第1の記憶部151は、揮発性メモリーであり、第2の記憶部152は、不揮発性メモリーである。
2.2 Configuration example of the storage unit of the electronic device As shown in FIG. 2, the electronic device 100 is wirelessly connected to the first storage unit 151 that stores the information of the terminal device 200 set as the wireless connection refusal target. A second storage unit 152 for storing information of the terminal device 200 set as a priority target is included. Here, the first storage unit 151 is a volatile memory, and the second storage unit 152 is a non-volatile memory.

このようにすれば、無線接続拒否対象と無線接続優先対象とで、情報の取り扱いに差を設けることが可能になる。以下、無線接続拒否対象に設定された端末装置200の情報を第1のリスト情報と表記し、無線接続優先対象に設定された端末装置200の情報を第2のリスト情報と表記する。 By doing so, it is possible to make a difference in the handling of information between the wireless connection refusal target and the wireless connection priority target. Hereinafter, the information of the terminal device 200 set as the wireless connection refusal target is referred to as the first list information, and the information of the terminal device 200 set as the wireless connection priority target is referred to as the second list information.

第1のリスト情報は、無線接続拒否対象に設定された端末装置200の識別情報を含む。ここでの端末装置200の識別情報は、端末装置200のMACアドレスや、機器固有の個体番号等である。また、第1のリスト情報は、最大M台分の識別情報を保持でき、ここでのMは任意の整数を設定可能である。第2のリスト情報は、無線接続優先対象に設定された端末装置200の識別情報を含む。また、第2のリスト情報は、最大N台分の識別情報を保持でき、ここでのNは電子機器100の内部アクセスポイントに同時に接続可能な上限台数に対応する数である。以下、後述する変形例を除いてN=1である例について説明する。 The first list information includes the identification information of the terminal device 200 set as the wireless connection refusal target. The identification information of the terminal device 200 here is a MAC address of the terminal device 200, an individual number unique to the device, or the like. Further, the first list information can hold identification information for a maximum of M units, and M here can be set to an arbitrary integer. The second list information includes the identification information of the terminal device 200 set as the wireless connection priority target. Further, the second list information can hold identification information for up to N units, where N is a number corresponding to the maximum number of units that can be simultaneously connected to the internal access point of the electronic device 100. Hereinafter, an example in which N = 1 will be described except for a modification described later.

第1の記憶部151は揮発性メモリーであるため、第1のリスト情報は、電子機器100の電源をオフにすることでリセットが可能である。そのため、設定処理を行う端末装置200が誤って無線接続拒否対象に設定された場合にも、電子機器100の電源を入れ直すことで、接続確立が可能になる。電子機器100の設定処理を行うために、電子機器100と端末装置200の接続を確立した後に、突発的な事情で端末装置200のユーザーが離席したり、電話対応等の他の作業を行うことで、設定処理が行われない時間が第1閾値を超えてしまう場合がある。このような場合にも、端末装置200のユーザーは、自席に戻った後、或いは電話対応等の作業の完了後に、一旦電子機器100の電源を入れ直すことで、設定作業を開始可能になる。 Since the first storage unit 151 is a volatile memory, the first list information can be reset by turning off the power of the electronic device 100. Therefore, even if the terminal device 200 that performs the setting process is erroneously set as the wireless connection refusal target, the connection can be established by turning the power of the electronic device 100 off and then on again. After establishing the connection between the electronic device 100 and the terminal device 200 in order to perform the setting process of the electronic device 100, the user of the terminal device 200 leaves the seat due to a sudden situation, or performs other work such as telephone correspondence. Therefore, the time when the setting process is not performed may exceed the first threshold value. Even in such a case, the user of the terminal device 200 can start the setting work by temporarily turning the power of the electronic device 100 on and off after returning to his / her own seat or after completing the work such as telephone correspondence.

また、第2の記憶部152は不揮発性メモリーであるため、第2のリスト情報は、電子機器100の電源をオフにしても失われない。そのため、電子機器100の電源がオンになった場合に、無線接続優先対象との接続が優先的に確立され、ユーザーによる設定処理をスムーズに行わせることが可能になる。電子機器100の構成によっては、外部アクセスポイントAPに接続するか、自身の内部アクセスポイントを動作させるかを変更する際、即ち通信モードを変更する際に、再起動が必要になるものもある。この場合、設定処理を行うために内部アクセスポイントを起動すると、必ず電子機器100の電源が一旦オフにされる。そのため、設定処理の開始時に適切な端末装置200との接続を優先的に確立するためには、無線接続優先対象の情報を不揮発性メモリーに記憶する必要性が高い。 Further, since the second storage unit 152 is a non-volatile memory, the second list information is not lost even when the power of the electronic device 100 is turned off. Therefore, when the power of the electronic device 100 is turned on, the connection with the wireless connection priority target is preferentially established, and the setting process by the user can be smoothly performed. Depending on the configuration of the electronic device 100, a restart may be required when changing whether to connect to the external access point AP or to operate its own internal access point, that is, when changing the communication mode. In this case, when the internal access point is started to perform the setting process, the power of the electronic device 100 is always turned off once. Therefore, in order to preferentially establish a connection with an appropriate terminal device 200 at the start of the setting process, it is highly necessary to store the information of the wireless connection priority target in the non-volatile memory.

また本実施形態の手法は、電子機器100の内部アクセスポイントを用いて端末装置200と無線通信を行う通信部140と、通信部140の通信制御を行う処理部110と、無線接続拒否対象に設定された端末装置200の情報である第1のリスト情報を記憶する揮発性メモリー(第1の記憶部151)と、無線接続優先対象に設定された端末装置200の情報である第2のリスト情報を記憶する不揮発性メモリー(第2の記憶部152)と、を含む電子機器100に適用できる。電子機器100の通信部140は、接続可能な端末装置200の上限値が設定されており、且つ識別子が固定である内部アクセスポイントを用いた無線通信を行い、処理部110は、第1のリスト情報及び第2のリスト情報の少なくとも一方に基づく判定処理を行い、判定結果に基づいて端末装置200からの接続要求を許可するか否かを決定する。 Further, in the method of the present embodiment, the communication unit 140 that wirelessly communicates with the terminal device 200 using the internal access point of the electronic device 100, the processing unit 110 that controls the communication of the communication unit 140, and the wireless connection rejection target are set. Volatile memory (first storage unit 151) that stores the first list information that is the information of the terminal device 200, and the second list information that is the information of the terminal device 200 set as the wireless connection priority target. It can be applied to the electronic device 100 including the non-volatile memory (second storage unit 152) for storing the information. The communication unit 140 of the electronic device 100 performs wireless communication using an internal access point in which the upper limit of the connectable terminal device 200 is set and the identifier is fixed, and the processing unit 110 is the first list. A determination process is performed based on at least one of the information and the second list information, and it is determined whether or not to allow the connection request from the terminal device 200 based on the determination result.

2.3 設定処理
次に、設定処理について詳細に説明する。ここでは電子機器100がプリンターである例について説明する。本実施形態では、プリンターに関する設定項目は、印刷に係る設定項目と、通信に係る設定項目とに大別される。印刷に係る設定項目は、印字濃度や、印字速度等の印刷動作の設定に係る設定項目や、余白等のプリンターが印刷する文字や画像等の設定に係る設定項目を含む。通信に係る設定項目は、SSIDや、認証情報、プリンターのIPアドレス等の通信の設定に係る設定項目を含む。
2.3 Setting process Next, the setting process will be described in detail. Here, an example in which the electronic device 100 is a printer will be described. In the present embodiment, the setting items related to the printer are roughly classified into the setting items related to printing and the setting items related to communication. The setting items related to printing include setting items related to setting printing operations such as print density and printing speed, and setting items related to settings such as characters and images printed by the printer such as margins. The setting items related to communication include setting items related to communication settings such as SSID, authentication information, and IP address of the printer.

図5~図7は、設定処理を行う際に端末装置200の表示部220に表示される設定画面の例である。図5は、印刷制御に関する設定項目、及び設定値を表示する画面の例である。図5では、設定項目として、「用紙幅-桁数」、「印字速度」、「印字濃度」の3つがあり、それぞれ現在の設定値として「80mm-42桁」、「レベル13」、「70%」という値が設定されている。図5の場合、各設定値の表示領域に対する選択操作を行うことで、プルダウン式のメニューが表示される。ユーザーは、当該プルダウン式のメニューから所望の値を選択し、画面右下の設定ボタンを押下する。これにより、端末装置200から電子機器100に対して、設定値の更新指示が行われ、電子機器100の記憶部150では、設定値が更新後の値に上書きされる。 5 to 7 are examples of setting screens displayed on the display unit 220 of the terminal device 200 when performing the setting process. FIG. 5 is an example of a screen for displaying setting items and setting values related to print control. In FIG. 5, there are three setting items, "paper width-number of digits", "printing speed", and "print density", and the current setting values are "80 mm-42 digits", "level 13", and "70", respectively. The value "%" is set. In the case of FIG. 5, a pull-down menu is displayed by performing a selection operation for the display area of each set value. The user selects a desired value from the pull-down menu and presses the setting button at the lower right of the screen. As a result, the terminal device 200 gives an instruction to update the set value to the electronic device 100, and the storage unit 150 of the electronic device 100 overwrites the set value with the updated value.

また、図6は印刷媒体の上部に所定のロゴを表示する場合の、ロゴの設定処理を行う画面の例である。図6の画面により、ロゴに対応する画像ファイルの選択、ロゴの表示倍率、表示位置の設定が可能である。所望の設定値を選択した後に、「プリンターに登録」ボタンが押下されることで、電子機器100の記憶部150に記憶される設定値が更新される。 Further, FIG. 6 is an example of a screen for setting a logo when displaying a predetermined logo on the upper part of the print medium. From the screen of FIG. 6, it is possible to select an image file corresponding to the logo, set the display magnification of the logo, and set the display position. After selecting the desired set value, the "register with printer" button is pressed to update the set value stored in the storage unit 150 of the electronic device 100.

図7は、通信制御に関する設定項目、及び設定値を表示する画面の例である。通信制御に関する設定項目とは、「バンド」、「通信モード」、「SSID」等であり、図7の例ではそれぞれ現在の設定値として「2.4GHz帯」、「インフラストラクチャー」、「Printer」という値が設定されている。なお、図7に示すように、「通信規格」、「チャンネル」、「セキュリティータイプ」等の設定項目を追加可能である。 FIG. 7 is an example of a screen for displaying setting items and setting values related to communication control. The setting items related to communication control are "band", "communication mode", "SSID", etc., and in the example of FIG. 7, the current setting values are "2.4 GHz band", "infrastructure", "Printer", respectively. The value is set. As shown in FIG. 7, setting items such as "communication standard", "channel", and "security type" can be added.

「通信モード」が「インフラストラクチャー」である場合、電子機器100は、外部アクセスポイントAPに対して接続を行う。「通信モード」が「アドホック」である場合、電子機器100は、内部アクセスポイントを動作させ、端末装置200からの接続を受け付ける。通信モードは、設定画面から変更されてもよいし、図1に示す設定ボタンB12bの操作により変更されてもよい。図7では不図示であるが、電子機器100が「インフラストラクチャー」モードで動作する場合に、接続先となる外部アクセスポイントAPのSSIDやパスフレーズを、設定項目に追加してもよい。 When the "communication mode" is "infrastructure", the electronic device 100 connects to the external access point AP. When the "communication mode" is "ad hoc", the electronic device 100 operates the internal access point and accepts the connection from the terminal device 200. The communication mode may be changed from the setting screen or may be changed by operating the setting button B12b shown in FIG. Although not shown in FIG. 7, when the electronic device 100 operates in the “infrastructure” mode, the SSID or passphrase of the external access point AP to be connected may be added to the setting items.

「SSID」とは、電子機器100の内部アクセスポイントのSSIDであり、本実施形態では固定であることが想定される。ただし、本実施形態のSSIDは、電子機器100により自動的に変更されないものであればよく、ユーザーが自身の操作に基づいてSSIDを変更することは妨げられない。 The “SSID” is the SSID of the internal access point of the electronic device 100, and is assumed to be fixed in the present embodiment. However, the SSID of the present embodiment may be one that is not automatically changed by the electronic device 100, and the user is not prevented from changing the SSID based on his / her own operation.

なお、図5~図7では、設定用アプリケーションで用いられる画面の例を説明した。ただし、設定処理は専用のアプリケーションではなく、Webブラウザー等により実行されてもよい。電子機器100の通信部140はWebサーバーを起動し、端末装置200の通信部240は、Webブラウザーを用いて電子機器100との通信を行う。この場合、Webブラウザーの表示領域に、図5~図7と同様の画面が表示される。専用の設定用アプリケーションと、Webブラウザーとで、設定用の画面や、設定可能な項目を変更してもよい。 Note that FIGS. 5 to 7 have described examples of screens used in the setting application. However, the setting process may be executed by a Web browser or the like instead of a dedicated application. The communication unit 140 of the electronic device 100 activates the Web server, and the communication unit 240 of the terminal device 200 communicates with the electronic device 100 using a Web browser. In this case, the same screens as those in FIGS. 5 to 7 are displayed in the display area of the Web browser. The setting screen and the items that can be set may be changed between the dedicated setting application and the Web browser.

本実施形態における設定処理とは、狭義には図5~図7を用いて説明した設定画面を用いて設定値を変更し、変更結果を電子機器100に反映させる処理であるが、これには限定されない。例えば設定処理は、端末装置200の設定用アプリケーションを起動したり、Webブラウザーを用いて電子機器100のWebサーバーに接続する処理を含んでもよい。 The setting process in the present embodiment is, in a narrow sense, a process of changing the set value using the setting screen described with reference to FIGS. 5 to 7 and reflecting the change result on the electronic device 100. Not limited. For example, the setting process may include a process of starting a setting application of the terminal device 200 or connecting to a Web server of the electronic device 100 using a Web browser.

図5~図7からわかるように、設定処理において、端末装置200は現在の設定値を取得し、ユーザーに対して提示する処理を行う。つまり設定値の変更前であっても、端末装置200と電子機器100の間での通信が行われ、電子機器100では設定用アプリケーションやWebブラウザーによる接続があったことを検出できる。端末装置200のユーザーに設定処理を行う意図がない場合、そもそも設定用アプリケーションの起動等が行われない。つまり電子機器100からすれば、設定用アプリケーション等を用いた接続があった時点で、端末装置200のユーザーに設定を行う意図があると推定できる。つまり「設定処理が行われたか否か」の判定は、実際に設定値が変更されたか否かの判定により実現されてもよいし、端末装置200の設定用アプリケーション等からの接続があったか否かの判定により実現されてもよい。 As can be seen from FIGS. 5 to 7, in the setting process, the terminal device 200 acquires the current set value and performs a process of presenting it to the user. That is, even before the setting value is changed, communication is performed between the terminal device 200 and the electronic device 100, and the electronic device 100 can detect that there is a connection by the setting application or the Web browser. If the user of the terminal device 200 does not intend to perform the setting process, the setting application is not started in the first place. That is, from the viewpoint of the electronic device 100, it can be estimated that the user of the terminal device 200 intends to make the setting when the connection is made by using the setting application or the like. That is, the determination of "whether or not the setting process has been performed" may be realized by determining whether or not the set value has actually been changed, and whether or not there has been a connection from the setting application or the like of the terminal device 200. It may be realized by the determination of.

2.4.処理の流れ
以下、状況に応じた処理シーケンスについて説明する。
2.4. Processing flow The processing sequence according to the situation will be described below.

2.4.1 第1のリスト情報及び第2のリスト情報が空の場合
図8は、第1のリスト情報及び第2のリスト情報が空である場合の処理を説明するシーケンス図である。第1のリスト情報及び第2のリスト情報が空とは、接続要求をしてくる端末装置200が、無線接続拒否対象と無線接続優先対象のいずれにも設定されていないことに対応する。また、第2のリスト情報が空、且つ第1のリスト情報が空でない場合であって、接続要求をしてくる端末装置200が無線接続拒否対象でない場合も、図8と同様に考えられる。
2.4.1 When the first list information and the second list information are empty FIG. 8 is a sequence diagram illustrating a process when the first list information and the second list information are empty. The fact that the first list information and the second list information are empty corresponds to the fact that the terminal device 200 that makes a connection request is not set as either a wireless connection refusal target or a wireless connection priority target. Further, the case where the second list information is empty and the first list information is not empty and the terminal device 200 requesting the connection is not the target of the wireless connection refusal is also considered as in FIG.

まずユーザーは電子機器100の電源をオンにする(S101)。この時点で、第1のリスト情報はリセットされて空になっている。また、図8の例ではそれ以前に端末装置200が無線接続優先対象に設定されておらず、第2のリスト情報も空であるケースを想定している。 First, the user turns on the power of the electronic device 100 (S101). At this point, the first list information has been reset and emptied. Further, in the example of FIG. 8, it is assumed that the terminal device 200 has not been set as the wireless connection priority target before that, and the second list information is also empty.

この状態において、設定処理を行わない端末装置200-2が、自身が記憶しているSSID及びパスフレーズを用いて電子機器100の内部アクセスポイントに対する接続要求を行った(S102)。電子機器100の処理部110は、まず端末装置200-2が無線接続優先対象に設定されてるか否かを判定する(S103)。具体的には、第2のリスト情報に含まれる識別情報と、端末装置200-2の識別情報の照合処理を行う。端末装置200-2の識別情報は、S102の接続要求の際に取得可能である。例えば、端末装置200-2は、電子機器100の内部アクセスポイントのSSIDの選択後、自身の識別情報を含むマネージメントフレームを電子機器100に対して送信する。図8では、照合処理の結果、第2のリスト情報が空であると判定された(S104)。 In this state, the terminal device 200-2, which does not perform the setting process, makes a connection request to the internal access point of the electronic device 100 using the SSID and the passphrase stored by itself (S102). The processing unit 110 of the electronic device 100 first determines whether or not the terminal device 200-2 is set as the wireless connection priority target (S103). Specifically, the identification information included in the second list information and the identification information of the terminal device 200-2 are collated. The identification information of the terminal device 200-2 can be acquired at the time of the connection request of S102. For example, the terminal device 200-2 transmits a management frame including its own identification information to the electronic device 100 after selecting the SSID of the internal access point of the electronic device 100. In FIG. 8, as a result of the collation process, it was determined that the second list information was empty (S104).

S103、S104の処理により、端末装置200-2は、無線接続優先対象ではないことがわかる。ただし、端末装置200-2以外の装置が無線接続優先対象に設定されていないこともわかるため、端末装置200-2の接続要求を許可する余地は残っている。 By the processing of S103 and S104, it can be seen that the terminal device 200-2 is not a wireless connection priority target. However, since it can be seen that devices other than the terminal device 200-2 are not set as wireless connection priority targets, there is still room for permitting the connection request of the terminal device 200-2.

次に電子機器100の処理部110は、端末装置200-2が無線接続拒否対象に設定されてるか否かを判定する(S105)。具体的には、第1のリスト情報に含まれる識別情報と、端末装置200-2の識別情報の照合処理を行う。図8では、照合処理の結果、端末装置200-2の識別情報は第1のリスト情報に含まれていないと判定された(S106)。 Next, the processing unit 110 of the electronic device 100 determines whether or not the terminal device 200-2 is set as the wireless connection refusal target (S105). Specifically, the identification information included in the first list information and the identification information of the terminal device 200-2 are collated. In FIG. 8, as a result of the collation process, it was determined that the identification information of the terminal device 200-2 was not included in the first list information (S106).

S105、S106により、電子機器100の処理部110は、端末装置200-2からの接続要求を、積極的に拒否する必要はないと判定できる。よってS103~S106の処理に基づいて、電子機器100の処理部110は、端末装置200-2からの接続要求を許可する制御を行い(S107)、電子機器100と端末装置200-2との接続が確立される。 From S105 and S106, it can be determined that the processing unit 110 of the electronic device 100 does not need to positively reject the connection request from the terminal device 200-2. Therefore, based on the processing of S103 to S106, the processing unit 110 of the electronic device 100 controls to allow the connection request from the terminal device 200-2 (S107), and connects the electronic device 100 and the terminal device 200-2. Is established.

しかし、端末装置200-2のユーザーは設定処理を行う意図が無かったため、接続が確立されてからの経過時間が第1閾値Th1を超えても、設定処理が行われなかった(S108)。ここでの第1閾値Th1は数十秒程度であるが、具体的な値については種々の変形実施が可能である。上述したように、「設定処理が行われたか否か」の判定は、端末装置200の設定用アプリケーション等からの接続があったか否かの判定により実現されてもよい。この場合、第1閾値Th1が数十秒程度の短い時間であっても、端末装置200のユーザーに設定処理を行う意図があるか否かを適切に判定できる。 However, since the user of the terminal device 200-2 did not intend to perform the setting process, the setting process was not performed even if the elapsed time from the establishment of the connection exceeded the first threshold value Th1 (S108). The first threshold value Th1 here is about several tens of seconds, but various modifications can be made for specific values. As described above, the determination of "whether or not the setting process has been performed" may be realized by determining whether or not there is a connection from the setting application or the like of the terminal device 200. In this case, even if the first threshold value Th1 is a short time of about several tens of seconds, it can be appropriately determined whether or not the user of the terminal device 200 intends to perform the setting process.

電子機器100の処理部110は、端末装置200-2との無線接続を切断し(S109)、さらに端末装置200-2を無線接続拒否対象に登録する(S110)。S110の処理は、具体的には第1のリスト情報に、端末装置200-2の識別情報を追加する処理である。 The processing unit 110 of the electronic device 100 disconnects the wireless connection from the terminal device 200-2 (S109), and further registers the terminal device 200-2 as a wireless connection refusal target (S110). Specifically, the process of S110 is a process of adding the identification information of the terminal device 200-2 to the first list information.

また、ユーザーは端末装置200-1に対して電子機器100と接続するための操作を行い(S111)、端末装置200-1が、電子機器100の内部アクセスポイントに対する接続要求を行う(S112)。これに対して、電子機器100は、端末装置200-1の識別情報と第2のリスト情報の照合処理(S113,S114)、端末装置200-1の識別情報と第1のリスト情報の照合処理(S115,S116)を行う。 Further, the user performs an operation for connecting to the electronic device 100 to the terminal device 200-1 (S111), and the terminal device 200-1 makes a connection request to the internal access point of the electronic device 100 (S112). On the other hand, the electronic device 100 collates the identification information of the terminal device 200-1 with the second list information (S113, S114), and collates the identification information of the terminal device 200-1 with the first list information. (S115, S116) is performed.

図8の場合、S113~S116の処理は、S103~S106と同様となり、電子機器100の処理部110は、端末装置200-1からの接続要求を許可する制御を行い(S117)、電子機器100と端末装置200-1との接続が確立される。 In the case of FIG. 8, the processing of S113 to S116 is the same as that of S103 to S106, and the processing unit 110 of the electronic device 100 controls to allow the connection request from the terminal device 200-1 (S117), and the electronic device 100 And the terminal device 200-1 are established.

端末装置200-1のユーザーは、設定処理を行う意図があるため、無線接続の確立からの経過時間が第2閾値Th2以下の期間に、設定処理が行われる(S118)。この場合、端末装置200-1は、微調整等のために電子機器100に対する設定処理を繰り返す蓋然性が高いと判定される。よって電子機器100は、端末装置200-1を無線接続優先対象に登録する(S119)。S119の処理は、具体的には第2のリスト情報に、端末装置200-1の識別情報を追加する処理である。 Since the user of the terminal device 200-1 intends to perform the setting process, the setting process is performed during the period when the elapsed time from the establishment of the wireless connection is the second threshold value Th2 or less (S118). In this case, it is determined that the terminal device 200-1 has a high probability of repeating the setting process for the electronic device 100 for fine adjustment or the like. Therefore, the electronic device 100 registers the terminal device 200-1 as a wireless connection priority target (S119). Specifically, the process of S119 is a process of adding the identification information of the terminal device 200-1 to the second list information.

電子機器100の使用が完了したら、ユーザーは電子機器100の電源をオフにする(S120)。 When the use of the electronic device 100 is completed, the user turns off the power of the electronic device 100 (S120).

ここで、S108~S110の処理で用いられる第1閾値Th1と、S118、S119の処理で用いられる第2閾値Th2は、Th2≦Th1である。Th2=Th1の場合、接続確立から設定処理が行われるまでの経過時間がTh1を超えた端末装置200は無線接続拒否対象に設定され、経過時間がTh1(=Th2)以下である端末装置200は無線接続優先対象に設定される。即ち、無線接続拒否対象と無線接続優先対象のいずれにも設定されていない端末装置200との接続が確立された場合、設定処理の状況に応じて、当該端末装置200は、無線接続拒否対象と無線接続優先対象のいずれか一方に設定される。 Here, the first threshold value Th1 used in the processing of S108 to S110 and the second threshold value Th2 used in the processing of S118 and S119 are Th2 ≦ Th1. When Th2 = Th1, the terminal device 200 whose elapsed time from the connection establishment to the setting process exceeding Th1 is set as the wireless connection refusal target, and the terminal device 200 whose elapsed time is Th1 (= Th2) or less is set. It is set as a wireless connection priority target. That is, when a connection with a terminal device 200 that is not set as either a wireless connection refusal target or a wireless connection priority target is established, the terminal device 200 becomes a wireless connection refusal target depending on the status of the setting process. It is set to one of the wireless connection priority targets.

Th2<Th1の場合、接続確立から設定処理が行われるまでの経過時間がTh1を超えた端末装置200は無線接続拒否対象に設定され、経過時間がTh2以下である端末装置200は無線接続優先対象に設定され、経過時間がTh2より大きくTh1以下である端末装置200は無線接続拒否対象と無線接続優先対象のいずれにも設定されない。この場合、無線接続優先対象の設定条件が厳しくなり、より設定処理を行う意図が強いと判定される端末装置200を無線接続優先対象に設定することが可能になる。 When Th2 <Th1, the terminal device 200 whose elapsed time from the connection establishment to the setting process exceeds Th1 is set as the wireless connection refusal target, and the terminal device 200 whose elapsed time is Th2 or less is the wireless connection priority target. The terminal device 200, which is set to and whose elapsed time is greater than Th2 and less than or equal to Th1, is not set as either a wireless connection refusal target or a wireless connection priority target. In this case, the setting conditions for the wireless connection priority target become stricter, and it becomes possible to set the terminal device 200, which is determined to have a stronger intention to perform the setting process, as the wireless connection priority target.

2.4.2 第1のリスト情報に登録済み
図9は、第1のリスト情報に無線接続拒否対象の端末装置200の識別情報が登録済みであり、且つ無線接続拒否対象に設定された端末装置200から接続要求があった場合の処理を説明するシーケンス図である。
2.4.2 Registered in the first list information In FIG. 9, the identification information of the terminal device 200 to be rejected by wireless connection is registered in the first list information, and the terminal set as the target of wireless connection refusal. It is a sequence diagram explaining the process when the connection request is made from the apparatus 200.

電子機器100の電源がオンにされ(S201)、第1のリスト情報がリセットされた後、端末装置200-2を無線接続拒否対象に登録する処理、即ち端末装置200-2の識別情報を第1のリスト情報に追加する処理が行われた(S202)。S202の処理は、図8のS102~S110の処理に対応する。 After the power of the electronic device 100 is turned on (S201) and the first list information is reset, the process of registering the terminal device 200-2 as the wireless connection refusal target, that is, the identification information of the terminal device 200-2 is the first. The process of adding to the list information of 1 was performed (S202). The processing of S202 corresponds to the processing of S102 to S110 of FIG.

上述したように、OS等の設定によっては、無線接続が切断(図8のS109)された後も、同じSSID及びパスフレーズを用いて、自動的に接続が試行される。即ち、端末装置200-2からの接続要求が行われる(S203)。この場合、電子機器100の処理部110は、まず端末装置200-2が無線接続優先対象に設定されてるか否かを判定する(S204)。その結果、第2のリスト情報が空である、即ち、端末装置200-2の識別情報は第2のリスト情報に含まれていないと判定される(S205)。 As described above, depending on the settings of the OS and the like, even after the wireless connection is disconnected (S109 in FIG. 8), the connection is automatically tried using the same SSID and passphrase. That is, a connection request is made from the terminal device 200-2 (S203). In this case, the processing unit 110 of the electronic device 100 first determines whether or not the terminal device 200-2 is set as the wireless connection priority target (S204). As a result, it is determined that the second list information is empty, that is, the identification information of the terminal device 200-2 is not included in the second list information (S205).

S204、S205の処理は、図8のS103、S104と同様であり、端末装置200-2は無線接続優先対象ではないこと、端末装置200-2以外の装置が無線接続優先対象に設定されていないことがわかるため、この時点では、端末装置200-2の接続要求を許可する余地は残る。 The processing of S204 and S205 is the same as that of S103 and S104 of FIG. 8, the terminal device 200-2 is not a wireless connection priority target, and the devices other than the terminal device 200-2 are not set as a wireless connection priority target. Therefore, at this point, there is still room for permitting the connection request of the terminal device 200-2.

次に電子機器100は、端末装置200-2が無線接続拒否対象に設定されてるか否かを判定する(S206)。具体的には、第1のリスト情報に含まれる識別情報と、端末装置200-2の識別情報の照合処理を行う。図9の場合、端末装置200-2の識別情報が第1のリスト情報に含まれると判定された(S207)。 Next, the electronic device 100 determines whether or not the terminal device 200-2 is set as a wireless connection refusal target (S206). Specifically, the identification information included in the first list information and the identification information of the terminal device 200-2 are collated. In the case of FIG. 9, it was determined that the identification information of the terminal device 200-2 is included in the first list information (S207).

S206、S207により、端末装置200-2は設定処理を行う端末装置ではなく、積極的に接続要求を拒否すべき対象であると判定できる。よって電子機器100の処理部110は、端末装置200-2からの接続要求を拒否する制御を行う(S208)。 According to S206 and S207, it can be determined that the terminal device 200-2 is not a terminal device that performs setting processing, but is a target for positively rejecting the connection request. Therefore, the processing unit 110 of the electronic device 100 controls to reject the connection request from the terminal device 200-2 (S208).

図9に示した処理により、電子機器100は、不適切な端末装置200からの接続要求を拒否するため、当該不適切な端末装置200により無線接続が占有されることを抑制できる。 By the process shown in FIG. 9, since the electronic device 100 rejects the connection request from the inappropriate terminal device 200, it is possible to prevent the wireless connection from being occupied by the inappropriate terminal device 200.

2.4.3 第2のリスト情報に登録済み
図10は、第2のリスト情報に無線接続優先対象の端末装置200の識別情報が登録済みである場合の処理を説明するシーケンス図である。
2.4.3 Registered in the Second List Information FIG. 10 is a sequence diagram illustrating a process when the identification information of the terminal device 200 to be prioritized for wireless connection is registered in the second list information.

まず、端末装置200-1を無線接続優先対象に登録する処理、即ち端末装置200-1の識別情報を第2のリスト情報に追加する処理が行われ(S301)、その後、電子機器100の電源がオフにされた。S301の処理は、図8のS111~S119の処理に対応する。 First, a process of registering the terminal device 200-1 as a wireless connection priority target, that is, a process of adding the identification information of the terminal device 200-1 to the second list information is performed (S301), and then the power supply of the electronic device 100 is supplied. Was turned off. The processing of S301 corresponds to the processing of S111 to S119 in FIG.

その後、電子機器100の電源がオンにされる(S302)。上述したように、第2の記憶部152は不揮発性メモリーであるため、電子機器100の電源が一旦オフにされたとしても、第2のリスト情報はリセットされずに保持される。 After that, the power of the electronic device 100 is turned on (S302). As described above, since the second storage unit 152 is a non-volatile memory, even if the power of the electronic device 100 is once turned off, the second list information is retained without being reset.

電子機器100がアクセスポイントとしての動作を開始することで、端末装置200-2からの接続要求が行われる(S303)。この場合、電子機器100は、まず端末装置200-2が無線接続優先対象に設定されてるか否かを判定する(S304)。その結果、第2のリスト情報に既に識別情報が登録済みであり、且つ、当該識別情報は端末装置200-2の識別情報と一致しないと判定される(S305)。 When the electronic device 100 starts operating as an access point, a connection request is made from the terminal device 200-2 (S303). In this case, the electronic device 100 first determines whether or not the terminal device 200-2 is set as the wireless connection priority target (S304). As a result, it is determined that the identification information has already been registered in the second list information, and that the identification information does not match the identification information of the terminal device 200-2 (S305).

S304、S305の処理により、端末装置200-2は無線接続優先対象ではないこと、及び端末装置200-2以外の装置が無線接続優先対象に設定されていることがわかる。ここでは電子機器100の内部アクセスポイントに接続可能な上限台数が1台であるため、仮に端末装置200-2の接続要求を許可してしまうと、無線接続優先対象に設定された端末装置200-1から接続要求があった場合に、当該端末装置200-1との無線接続を確立できなくなってしまう。 From the processes of S304 and S305, it can be seen that the terminal device 200-2 is not a wireless connection priority target, and that devices other than the terminal device 200-2 are set as wireless connection priority targets. Here, since the maximum number of units that can be connected to the internal access point of the electronic device 100 is one, if the connection request of the terminal device 200-2 is permitted, the terminal device 200- set as the wireless connection priority target. When there is a connection request from 1, it becomes impossible to establish a wireless connection with the terminal device 200-1.

よって電子機器100の処理部110は、端末装置200-2が無線接続拒否対象に設定されてるか否かを判定することなく、端末装置200-2からの接続要求を拒否する制御を行う(S306)。 Therefore, the processing unit 110 of the electronic device 100 controls to reject the connection request from the terminal device 200-2 without determining whether or not the terminal device 200-2 is set as the wireless connection refusal target (S306). ).

また、ユーザーは端末装置200-1に対して電子機器100と接続するための操作を行い(S307)、端末装置200-1が、電子機器100の内部アクセスポイントに対する接続要求を行う(S308)。これに対して、電子機器100は、端末装置200-1が無線接続優先対象に設定されてるか否かを判定する(S309)。その結果、第2のリスト情報に端末装置200-1の識別情報が登録済みであり、端末装置200-1は無線接続優先対象であると判定される(S310)。 Further, the user performs an operation for connecting to the electronic device 100 to the terminal device 200-1 (S307), and the terminal device 200-1 makes a connection request to the internal access point of the electronic device 100 (S308). On the other hand, the electronic device 100 determines whether or not the terminal device 200-1 is set as the wireless connection priority target (S309). As a result, the identification information of the terminal device 200-1 is registered in the second list information, and it is determined that the terminal device 200-1 is the wireless connection priority target (S310).

よって電子機器100の処理部110は、端末装置200-1が無線接続拒否対象に設定されてるか否かを判定することなく、端末装置200-1からの接続要求を許可する制御を行い(S311)、電子機器100と端末装置200-1との接続が確立される。 Therefore, the processing unit 110 of the electronic device 100 controls to allow the connection request from the terminal device 200-1 without determining whether or not the terminal device 200-1 is set as the wireless connection refusal target (S311). ), The connection between the electronic device 100 and the terminal device 200-1 is established.

端末装置200-1のユーザーは、設定処理を行う意思があるため、設定処理が行われる(S312)。なお、後述する図12の処理を考慮すれば、端末装置200-1による設定処理は、無線接続の確立からの経過時間が第4閾値Th4以下の期間に行われる。第4閾値については、図12を用いて後述する。 Since the user of the terminal device 200-1 intends to perform the setting process, the setting process is performed (S312). Considering the process of FIG. 12, which will be described later, the setting process by the terminal device 200-1 is performed during a period in which the elapsed time from the establishment of the wireless connection is the fourth threshold value Th4 or less. The fourth threshold will be described later with reference to FIG.

2.4.4 第2のリスト情報に登録済みある場合の例外処理1
図11は、第2のリスト情報に無線接続優先対象の端末装置200の識別情報が登録済みである場合の、第1の例外処理を説明するシーケンス図である。
2.4.4 Exception handling when registered in the second list information 1
FIG. 11 is a sequence diagram illustrating the first exception handling when the identification information of the terminal device 200 to be the wireless connection priority target is registered in the second list information.

図11のS401~S406については、図10のS301~S306と同様である。即ち、端末装置200-1が無線接続優先対象に登録されている場合、第2のリスト情報を用いた照合処理により、他の端末装置200-2からの接続要求は拒否される。 S401 to S406 in FIG. 11 are the same as S301 to S306 in FIG. That is, when the terminal device 200-1 is registered as the wireless connection priority target, the connection request from the other terminal device 200-2 is rejected by the collation process using the second list information.

ただし図11のケースでは、S402で電源がオンになってからの経過時間が第3閾値Th3を超えても、電子機器100と端末装置200の無線接続が確立されなかった(S407)。端末装置200-1以外の装置からの接続要求がS403~S406と同様の流れで拒否されることに鑑みれば、S407は、電子機器100と無線接続優先対象である端末装置200-1との無線接続が、第3閾値Th3だけの時間を経過しても確立されなかったことに対応する。 However, in the case of FIG. 11, even if the elapsed time from turning on the power in S402 exceeds the third threshold value Th3, the wireless connection between the electronic device 100 and the terminal device 200 is not established (S407). Considering that the connection request from the device other than the terminal device 200-1 is rejected in the same flow as in S403 to S406, the S407 is wireless between the electronic device 100 and the terminal device 200-1 which is the wireless connection priority target. Corresponds to the fact that the connection was not established after the time of the third threshold Th3.

具体的には、担当者の配置変更等により、端末装置200-1が移動されて、電子機器100との無線通信が行われない場合が考えられる。或いは端末装置200-1がスマートフォン等の携帯端末装置であれば、ユーザーが端末装置200-1を持ったまま離席している場合も考えられる。 Specifically, it is conceivable that the terminal device 200-1 may be moved due to a change in the arrangement of the person in charge, and wireless communication with the electronic device 100 may not be performed. Alternatively, if the terminal device 200-1 is a mobile terminal device such as a smartphone, it is conceivable that the user is away from the desk while holding the terminal device 200-1.

いずれにせよ、S407では、無線接続優先対象である端末装置200-1からの接続要求が行われる蓋然性が低いと推定できる。このような場合にまで、端末装置200-1を優先し、他の端末装置200からの接続要求を拒否する合理性は低い。 In any case, in S407, it can be estimated that there is a low probability that the connection request from the terminal device 200-1, which is the wireless connection priority target, will be made. Even in such a case, it is not rational to give priority to the terminal device 200-1 and reject the connection request from the other terminal device 200.

よって電子機器100の処理部110は、端末装置200-2からの接続要求が行われた場合に(S408)、第2のリスト情報の照合処理をスキップして、端末装置200-2が無線接続拒否対象に設定されてるか否かを判定する(S409)。その結果、端末装置200-2が無線接続拒否対象でなければ(S410)、端末装置200-2からの接続要求を許可する制御を行い(S411)、電子機器100と端末装置200-2との接続が確立される。 Therefore, when the connection request from the terminal device 200-2 is made (S408), the processing unit 110 of the electronic device 100 skips the collation process of the second list information, and the terminal device 200-2 is wirelessly connected. It is determined whether or not it is set as a rejection target (S409). As a result, if the terminal device 200-2 is not the target of wireless connection refusal (S410), control is performed to allow the connection request from the terminal device 200-2 (S411), and the electronic device 100 and the terminal device 200-2 are connected to each other. The connection is established.

図11に示したように、電子機器100の処理部110は、無線接続優先対象に設定されている端末装置200(200-1)が存在する場合、電子機器100の電源オンからの経過時間が第3閾値Th3を超えるまで、無線接続優先対象に設定されていない端末装置200(200-2)からの接続要求を拒否する制御を行う。さらに言えば、電子機器100の電源オンからの経過時間が第3閾値Th3を超えた場合、無線接続優先対象に設定されていない端末装置200からの接続要求が許可される可能性がある。 As shown in FIG. 11, the processing unit 110 of the electronic device 100 has an elapsed time from turning on the power of the electronic device 100 when the terminal device 200 (200-1) set as the wireless connection priority target exists. Control is performed to reject the connection request from the terminal device 200 (200-2) that is not set as the wireless connection priority target until the third threshold value Th3 is exceeded. Further, when the elapsed time from the power-on of the electronic device 100 exceeds the third threshold value Th3, the connection request from the terminal device 200 which is not set as the wireless connection priority target may be permitted.

即ち、本実施形態において、「無線接続優先対象に設定された端末装置200との無線接続の確立を、無線接続優先対象に設定されていない端末装置200との無線接続の確立よりも優先させる」との制御は、上記第3閾値Th3を超えるまでの期間において、無線接続優先対象の端末装置200からの接続要求を許可し、他の端末装置200からの接続要求を拒否する制御により実現される。換言すれば、無線接続優先対象の端末装置200は第3閾値Th3に相当する時間の経過前に接続要求を行えば、電子機器100との無線接続の確立が保証されることになる。 That is, in the present embodiment, "the establishment of a wireless connection with the terminal device 200 set as the wireless connection priority target is prioritized over the establishment of the wireless connection with the terminal device 200 not set as the wireless connection priority target". The control with is realized by the control of permitting the connection request from the terminal device 200 of the wireless connection priority target and rejecting the connection request from the other terminal device 200 in the period until the third threshold value Th3 is exceeded. .. In other words, if the terminal device 200 to be prioritized for wireless connection makes a connection request before the lapse of time corresponding to the third threshold value Th3, the establishment of wireless connection with the electronic device 100 is guaranteed.

このようにすれば、無線接続優先対象の端末装置200との無線接続の確立を優先しつつ、状況に応じて他の端末装置200との無線接続も確立できるため、柔軟性の高い通信制御が可能になる。 By doing so, while giving priority to establishing a wireless connection with the terminal device 200 to be prioritized for wireless connection, it is possible to establish a wireless connection with another terminal device 200 depending on the situation, so that highly flexible communication control can be achieved. It will be possible.

2.4.5 第2のリスト情報に登録済みある場合の例外処理2
図12は、第2のリスト情報に無線接続優先対象の端末装置200の識別情報が登録済みである場合の、第2の例外処理を説明するシーケンス図である。
2.4.5 Exception handling when registered in the second list information 2
FIG. 12 is a sequence diagram illustrating the second exception handling when the identification information of the terminal device 200 to be the wireless connection priority target is registered in the second list information.

図12のS501~S507については、図10のS301、S302、S307~S311と同様である。即ち、端末装置200-1が無線接続優先対象に設定されている場合、第2のリスト情報を用いた照合処理により、当該端末装置200-1からの接続要求は許可され、電子機器100との無線接続が確立される。 S501 to S507 in FIG. 12 are the same as S301, S302, and S307 to S311 in FIG. That is, when the terminal device 200-1 is set as the wireless connection priority target, the connection request from the terminal device 200-1 is permitted by the collation process using the second list information, and the connection request with the electronic device 100 is permitted. A wireless connection is established.

ただし図12のケースでは、電子機器100と端末装置200-1の接続が確立されてからの経過時間が第4閾値Th4を超えても、設定処理が実行されなかった(S508)。具体的には、端末装置200-1は電子機器100と無線接続が可能な位置に配置されているが、担当者の配置変更等により、端末装置200-1が電子機器100の設定処理に用いられなくなった場合等が考えられる。 However, in the case of FIG. 12, even if the elapsed time from the establishment of the connection between the electronic device 100 and the terminal device 200-1 exceeds the fourth threshold value Th4, the setting process is not executed (S508). Specifically, the terminal device 200-1 is arranged at a position where it can be wirelessly connected to the electronic device 100, but the terminal device 200-1 is used for the setting process of the electronic device 100 due to a change in the arrangement of the person in charge or the like. It is possible that the device cannot be used.

この場合、端末装置200-1との無線接続を維持してしまうと、設定処理を行わない端末装置200-1により接続が占有されてしまい好ましくない。また、端末装置200-1が設定処理を行わない以上、当該端末装置200-1との無線接続の確立を、他の端末装置200に比べて優先する意義も薄い。 In this case, if the wireless connection with the terminal device 200-1 is maintained, the connection is occupied by the terminal device 200-1 that does not perform the setting process, which is not preferable. Further, as long as the terminal device 200-1 does not perform the setting process, it is of little significance to prioritize the establishment of the wireless connection with the terminal device 200-1 as compared with the other terminal devices 200.

よって電子機器100の処理部110は、端末装置200-1を無線接続優先対象から解除する処理を行う(S509)。S509の処理は、第2のリスト情報から、端末装置200-1の識別情報を削除する処理である。また電子機器100は、端末装置200-1との無線接続を切断する(S510)。 Therefore, the processing unit 110 of the electronic device 100 performs a process of releasing the terminal device 200-1 from the wireless connection priority target (S509). The process of S509 is a process of deleting the identification information of the terminal device 200-1 from the second list information. Further, the electronic device 100 disconnects the wireless connection from the terminal device 200-1 (S510).

図12に示した処理により、一旦無線接続優先対象に設定された端末装置200であっても、その後の設定処理の実行状況に応じて、無線接続を切断したり、無線接続優先対象から除外できる。不適切な端末装置200を過剰に優先することがないため、適切な通信制御を実現できる。 By the process shown in FIG. 12, even if the terminal device 200 is once set as the wireless connection priority target, the wireless connection can be disconnected or excluded from the wireless connection priority target depending on the execution status of the subsequent setting process. .. Since the inappropriate terminal device 200 is not given excessive priority, appropriate communication control can be realized.

3.変形例
以下、いくつかの変形例について説明する。
3. 3. Modification Examples Some modifications will be described below.

3.1 複数台への拡張
以上では、アクセスポイントとして機能する電子機器100に同時に接続可能な端末装置200が1台である例について説明した。ただし、同時接続可能な台数は、N(Nは2以上の整数)台に拡張可能である。この場合も、Nが過剰に大きい数とならないため、設定処理を行わない端末装置200が電子機器100に接続することは抑制すべきである。
3.1 Expansion to a plurality of devices In the above, an example in which one terminal device 200 can be simultaneously connected to an electronic device 100 functioning as an access point has been described. However, the number of units that can be connected at the same time can be expanded to N (N is an integer of 2 or more). In this case as well, since N does not become an excessively large number, it should be suppressed that the terminal device 200 that does not perform the setting process is connected to the electronic device 100.

この場合、無線接続優先対象として設定可能な端末装置200の上限台数、即ち第2のリスト情報に含まれる識別情報の上限数は、Nとなる。無線接続優先対象である端末装置200の数がi(iは0≦i<Nである整数)である場合、無線接続優先対象である端末装置200のための接続枠を確保したとしても、N-i台の端末装置200が電子機器100と接続する余裕がある。 In this case, the upper limit of the number of terminal devices 200 that can be set as the wireless connection priority target, that is, the upper limit of the identification information included in the second list information is N. When the number of terminal devices 200 that are the wireless connection priority targets is i (i is an integer in which 0 ≦ i <N), even if a connection frame for the terminal devices 200 that is the wireless connection priority target is secured, N -There is room for the i-unit terminal device 200 to connect to the electronic device 100.

第2のリスト情報を用いた処理では、まず、接続要求をしてきた端末装置200が無線接続優先対象であるか否かが判定され、無線接続優先対象である場合、接続要求が許可される。この処理は、図10のS309~S311,図12のS505~507に対応する。この場合、同時接続可能な台数がN台になった場合も同様の処理を行う。即ち、第2のリスト情報に含まれる識別情報の各識別情報と、接続要求をしてきた端末装置200の識別情報の照合処理が行われる。 In the process using the second list information, first, it is determined whether or not the terminal device 200 that has made the connection request is the wireless connection priority target, and if it is the wireless connection priority target, the connection request is permitted. This process corresponds to S309 to S311 in FIG. 10 and S505 to 507 in FIG. In this case, the same process is performed even when the number of units that can be connected at the same time reaches N units. That is, each identification information of the identification information included in the second list information is collated with the identification information of the terminal device 200 that has requested the connection.

また接続要求をしてきた端末装置200が無線接続優先対象でないと判定された場合、第2のリスト情報を参照することで、無線接続優先対象でない端末装置200からの接続要求を許可する余地が残っているか否か、が判定される。この処理は、図8のS103~S104、S113~S114、図9のS204~S205、図10のS304~S305、図11のS404~S405に対応する。 If it is determined that the terminal device 200 that has made the connection request is not the wireless connection priority target, there is still room for permitting the connection request from the terminal device 200 that is not the wireless connection priority target by referring to the second list information. Whether or not it is determined. This process corresponds to S103 to S104, S113 to S114 in FIG. 8, S204 to S205 in FIG. 9, S304 to S305 in FIG. 10, and S404 to S405 in FIG.

接続要求を許可する余地があれば第1のリスト情報の参照処理に移行するし(S105、S115、S206)、許可する余地がなければ接続要求を拒否する(S306、S406)。接続可能な端末装置200の台数が1台である場合、接続要求を許可する余地が残っているか否かの判定は、第2のリスト情報が空であるか否かを判定すれば足りた。 If there is room to allow the connection request, the process proceeds to the reference processing of the first list information (S105, S115, S206), and if there is no room to allow, the connection request is rejected (S306, S406). When the number of connectable terminal devices 200 is one, it is sufficient to determine whether or not there is room for permitting the connection request by determining whether or not the second list information is empty.

同時接続可能な台数がN台である場合、第2のリスト情報が空であるか否かの判定を、第2のリスト情報が上限に達しているか否かの判定に拡張する。具体的には、第2のリスト情報を参照した結果、無線接続優先対象である端末装置200の数がi(0≦i<N)であれば、N-i台の余裕があるため、第1のリスト情報の参照処理に移行する。一方、第2のリスト情報を参照した結果、無線接続優先対象である端末装置200の数がNであれば、余裕がないため、接続要求を拒否する。 When the number of units that can be simultaneously connected is N, the determination of whether or not the second list information is empty is expanded to the determination of whether or not the second list information has reached the upper limit. Specifically, as a result of referring to the second list information, if the number of terminal devices 200 that are the wireless connection priority targets is i (0≤i <N), there is a margin of N-i units, so that the second list is available. Move to the reference processing of the list information of 1. On the other hand, as a result of referring to the second list information, if the number of terminal devices 200 that are the priority targets for wireless connection is N, there is no margin and the connection request is rejected.

以上のように拡張することで、電子機器100に同時に接続可能な端末装置200が複数台の場合にも、図8~図12と同様の処理を行うことが可能である。特に図11を拡張した場合、以下のようになる。即ち、内部アクセスポイントに接続可能な端末装置200の上限値がN(Nは2以上の整数)である場合において、処理部110は、無線接続優先対象に設定されている端末装置200の台数がN台である場合、電子機器100の電源オンからの経過時間が第3閾値Th3を超えるまで、無線接続優先対象に設定されていない端末装置から200の接続要求を拒否する制御を行う。また処理部110は、無線接続優先対象に設定されている端末装置200の台数がN台未満である場合、電子機器100の電源オンからの経過時間が第3閾値Th3以下であっても、無線接続優先対象に設定されていない端末装置200からの接続要求を許可する制御を行う。 By expanding as described above, it is possible to perform the same processing as in FIGS. 8 to 12 even when there are a plurality of terminal devices 200 that can be connected to the electronic device 100 at the same time. In particular, when FIG. 11 is expanded, it becomes as follows. That is, when the upper limit value of the terminal device 200 that can be connected to the internal access point is N (N is an integer of 2 or more), the processing unit 110 has the number of terminal devices 200 set as the wireless connection priority target. In the case of N units, control is performed to reject 200 connection requests from terminal devices that are not set as wireless connection priority targets until the elapsed time from turning on the power of the electronic device 100 exceeds the third threshold value Th3. Further, when the number of terminal devices 200 set as the wireless connection priority target is less than N, the processing unit 110 wirelessly performs even if the elapsed time from the power-on of the electronic device 100 is the third threshold value Th3 or less. Control is performed to allow a connection request from a terminal device 200 that is not set as a connection priority target.

3.2 無線接続拒否対象に関する変形例
また以上では、所与の端末装置200が無線接続拒否対象に登録された場合、当該登録は電子機器100の電源をオフにすることで解除される例を示した。ただし、無線接続拒否対象の登録/解除については種々の変形実施が可能である。
3.2 Modification example regarding wireless connection refusal target In the above, when a given terminal device 200 is registered as a wireless connection refusal target, the registration is canceled by turning off the power of the electronic device 100. Indicated. However, various modifications can be made to register / cancel the wireless connection refusal target.

電子機器100の処理部110は、操作部120に対する操作入力を受け付けた場合に、無線接続拒否対象の登録をリセットする、即ち、第1の記憶部151に記憶された第1のリスト情報を初期化する処理を行う。このようにすれば、ユーザーの操作により、端末装置200を無線接続拒否対象から除外することが可能になる。設定処理を行う端末装置200が誤って無線接続拒否対象に設定された場合、電子機器100の再起動をせずとも、設定処理を開始できるため、ユーザーの利便性向上が可能になる。この際、第1のリスト情報の全てを初期化してもよいし、第1のリスト情報のうち、いずれかの端末装置200の情報を指定して消去してもよい。 When the processing unit 110 of the electronic device 100 receives the operation input to the operation unit 120, the registration of the wireless connection refusal target is reset, that is, the first list information stored in the first storage unit 151 is initially initialized. Perform the process of resetting. By doing so, the terminal device 200 can be excluded from the wireless connection refusal target by the user's operation. When the terminal device 200 for performing the setting process is erroneously set as the target for refusing the wireless connection, the setting process can be started without restarting the electronic device 100, so that the convenience of the user can be improved. At this time, all of the first list information may be initialized, or the information of any terminal device 200 may be specified and deleted from the first list information.

また処理部110は、内部アクセスポイントを用いて端末装置200との接続を確立してから、端末装置200により電子機器100に対する設定処理が行われない時間が第1閾値Th1を超えた場合、端末装置200を、所与の設定時間、無線接続拒否対象に設定する処理を行ってもよい。換言すれば、端末装置200が無線接続拒否対象に登録された後、所与の設定時間の経過後に、当該端末装置200は無線接続拒否対象から除外される。 Further, when the processing unit 110 exceeds the first threshold Th1 for the time during which the setting process for the electronic device 100 is not performed by the terminal device 200 after establishing the connection with the terminal device 200 using the internal access point, the terminal The device 200 may be set as a wireless connection refusal target for a given set time. In other words, after the terminal device 200 is registered in the wireless connection refusal target, the terminal device 200 is excluded from the wireless connection refusal target after a lapse of a given set time.

このようにすれば、設定処理を行わなかった端末装置200との接続を抑制しつつ、設定時間経過後には当該端末装置200からの接続要求を許可することも可能になるため、柔軟な通信制御が可能になる。設定処理を行う端末装置200が誤って無線接続拒否対象に設定された場合、ユーザーは電子機器100の再起動や解除操作を行わなくても、設定処理を実行することが可能である。 By doing so, it is possible to suppress the connection with the terminal device 200 that has not been set, and to allow the connection request from the terminal device 200 after the set time has elapsed, so that flexible communication control can be performed. Will be possible. When the terminal device 200 that performs the setting process is erroneously set as the wireless connection refusal target, the user can execute the setting process without restarting or canceling the electronic device 100.

ただし、所与の設定時間を過剰に短くしてしまうと、不適切な端末装置200との接続確立を抑制するという効果が損なわれる。一方、設定時間を過剰に長くしてしまうと、設定処理を行う端末装置200が誤って無線接続拒否対象に設定された場合に、ユーザーが待機する時間が長くなり利便性に欠ける。 However, if the given set time is excessively shortened, the effect of suppressing the establishment of a connection with an inappropriate terminal device 200 is impaired. On the other hand, if the set time is excessively long, if the terminal device 200 that performs the setting process is erroneously set as the wireless connection refusal target, the user waits for a long time, which is not convenient.

よって処理部110は、端末装置200が無線接続拒否対象に設定された回数が多いほど、無線接続拒否対象に設定される上記設定時間を長くする処理を行う。例えば、初めて無線接続拒否対象に設定された場合、上記設定時間を10秒とし、2回目を20秒、3回目を30秒とする。なお、回数と設定時間の関係については種々の変形実施が可能である。 Therefore, the processing unit 110 performs a process of lengthening the set time set as the wireless connection refusal target as the number of times the terminal device 200 is set as the wireless connection refusal target increases. For example, when the wireless connection is rejected for the first time, the set time is set to 10 seconds, the second time is set to 20 seconds, and the third time is set to 30 seconds. It should be noted that various modifications can be made regarding the relationship between the number of times and the set time.

このようにすれば、端末装置200が設定処理を行わない蓋然性が高いほど、無線接続拒否対象に設定される時間が長くなるため、不適切な端末装置200との接続確立を抑制できる。また、設定処理を行う端末装置200が誤って無線接続拒否対象に設定されたとしても、無線接続拒否対象に設定された回数が少ないことが想定されるため、比較的短い時間で設定処理を開始できる。 By doing so, the higher the probability that the terminal device 200 does not perform the setting process, the longer the time for setting the wireless connection refusal target becomes, so that it is possible to suppress the establishment of a connection with an inappropriate terminal device 200. Further, even if the terminal device 200 that performs the setting process is mistakenly set as the wireless connection refusal target, it is assumed that the number of times the setting process is set as the wireless connection refusal target is small, so that the setting process is started in a relatively short time. can.

この場合、第1の記憶部151は、第1のリスト情報として、端末装置200の識別情報と、当該端末装置200が無線接続拒否対象に設定された回数を関連付けて記憶する。無線接続拒否対象に設定された回数は、電子機器100の電源がオフにされた時点で0にリセットされる。また記憶部150は、無線接続拒否対象に設定された回数と、上記設定時間を関連付ける情報を記憶する。回数と設定時間を関連付ける情報は、電子機器100の電源オフで消去されないことが好ましいため、第2の記憶部152等の不揮発性メモリーに記憶される。回数と設定時間を関連付ける情報は、ルックアップテーブル等の情報であってもよいし、関係式の情報であってもよい。 In this case, the first storage unit 151 stores the identification information of the terminal device 200 and the number of times the terminal device 200 is set as the wireless connection refusal target in association with each other as the first list information. The number of times set as the wireless connection refusal target is reset to 0 when the power of the electronic device 100 is turned off. Further, the storage unit 150 stores information relating the number of times set as the wireless connection refusal target and the set time. Since it is preferable that the information relating the number of times and the set time is not erased when the power of the electronic device 100 is turned off, the information is stored in a non-volatile memory such as the second storage unit 152. The information relating the number of times and the set time may be information such as a look-up table or information on a relational expression.

処理部110は、不図示の計時部を用いた計時処理を行い、無線接続拒否対象に設定された各端末装置200について、回数に対応する設定時間が経過したか否かを監視する。設定時間が経過したと判定されたら、処理部110は第1のリスト情報から、処理対象である端末装置200の識別情報を削除する処理を行う。 The processing unit 110 performs timekeeping processing using a timekeeping unit (not shown), and monitors whether or not the set time corresponding to the number of times has elapsed for each terminal device 200 set as the wireless connection refusal target. When it is determined that the set time has elapsed, the processing unit 110 performs a process of deleting the identification information of the terminal device 200 to be processed from the first list information.

なお、本変形例における情報の形式、管理手法については種々の変形実施が可能である。例えば無線接続拒否対象に設定された回数を、第1のリスト情報とは別の情報として管理してもよい。或いは、第1のリスト情報にアクティブ/非アクティブを表すフラグ情報を追加し、第1のリスト情報に識別情報が記憶されており、且つ、フラグ情報がアクティブである端末装置200を、無線接続拒否対象として処理してもよい。この場合、設定時間が経過した端末装置200を無線接続拒否対象から解除する処理は、識別情報を削除する処理ではなく、フラグ情報を非アクティブにする処理により実現される。 Various modifications can be made to the information format and management method in this modification. For example, the number of times set as the wireless connection refusal target may be managed as information different from the first list information. Alternatively, the terminal device 200 in which the flag information indicating active / inactive is added to the first list information, the identification information is stored in the first list information, and the flag information is active is rejected by wireless connection. It may be processed as a target. In this case, the process of canceling the terminal device 200 for which the set time has elapsed from the wireless connection refusal target is realized not by the process of deleting the identification information but by the process of deactivating the flag information.

以上、本発明を適用した実施形態及びその変形例について説明したが、本発明は、各実施形態やその変形例そのままに限定されるものではなく、実施段階では、発明の要旨を逸脱しない範囲内で構成要素を変形して具体化することができる。また、上記した各実施形態や変形例に開示されている複数の構成要素を適宜組み合わせることによって、種々の発明を形成することができる。例えば、各実施形態や変形例に記載した全構成要素からいくつかの構成要素を削除してもよい。さらに、異なる実施の形態や変形例で説明した構成要素を適宜組み合わせてもよい。また、明細書又は図面において、少なくとも一度、より広義または同義な異なる用語と共に記載された用語は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。このように、発明の主旨を逸脱しない範囲内において種々の変形や応用が可能である。 Although the embodiments to which the present invention is applied and the modified examples thereof have been described above, the present invention is not limited to the respective embodiments and the modified examples as they are, and at the implementation stage, the present invention is within a range that does not deviate from the gist of the invention. The components can be transformed and embodied with. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the above-described embodiments and modifications. For example, some components may be deleted from all the components described in each embodiment or modification. Further, the components described in different embodiments and modifications may be combined as appropriate. Also, in the specification or drawings, a term described at least once with a different term having a broader meaning or a synonym may be replaced with the different term in any part of the specification or the drawing. As described above, various modifications and applications are possible within a range that does not deviate from the gist of the invention.

10…通信システム、11…POSシステム、100…電子機器、110…処理部、
120…操作部、130…印刷部、140…通信部、150…記憶部、
151…第1の記憶部、152…第2の記憶部、200…端末装置、210…処理部、
220…表示部、230…操作部、240…通信部、250…記憶部、
300…端末装置(印刷用端末装置)、AP…外部アクセスポイント、
B12a…電源ボタン、B12b…設定ボタン、N1、N2…無線ネットワーク
10 ... communication system, 11 ... POS system, 100 ... electronic device, 110 ... processing unit,
120 ... Operation unit, 130 ... Printing unit, 140 ... Communication unit, 150 ... Storage unit,
151 ... 1st storage unit, 152 ... 2nd storage unit, 200 ... terminal device, 210 ... processing unit,
220 ... Display unit, 230 ... Operation unit, 240 ... Communication unit, 250 ... Storage unit,
300 ... Terminal device (printing terminal device), AP ... External access point,
B12a ... Power button, B12b ... Setting button, N1, N2 ... Wireless network

Claims (10)

電子機器の内部アクセスポイントを用いた無線通信を行う通信部と、
前記通信部の通信制御を行う処理部と、
を含み、
前記通信部は、
接続可能な端末装置の上限値が設定されており、且つ識別子が固定である前記内部アクセスポイントを用いた前記無線通信を行い、
前記処理部は、
前記内部アクセスポイントを用いて前記端末装置との無線接続を確立してから、前記端末装置により前記電子機器に対する設定処理が行われない時間が第1閾値を超えた場合、前記端末装置との無線接続を切断する処理、及び、前記端末装置を無線接続拒否対象に設定する処理を行い、
前記処理部は、
前記無線接続拒否対象に設定された前記端末装置からの接続要求を拒否する制御を行い、
前記電子機器に対する前記設定処理は、前記端末装置による前記電子機器の初期設定処理又は前記端末装置による前記電子機器の設定変更処理であることを特徴とする電子機器。
A communication unit that performs wireless communication using the internal access point of an electronic device,
A processing unit that controls communication of the communication unit and
Including
The communication unit
Perform the wireless communication using the internal access point in which the upper limit of the connectable terminal device is set and the identifier is fixed.
The processing unit
When the time during which the setting process for the electronic device is not performed by the terminal device exceeds the first threshold after establishing the wireless connection with the terminal device using the internal access point, the wireless connection with the terminal device is performed. Performs a process of disconnecting the connection and a process of setting the terminal device as a wireless connection refusal target.
The processing unit
Control to reject the connection request from the terminal device set as the wireless connection rejection target ,
An electronic device characterized in that the setting process for the electronic device is an initial setting process of the electronic device by the terminal device or a setting change process of the electronic device by the terminal device .
請求項1において、
前記処理部は、
前記端末装置との無線接続を確立してからの経過時間が第2閾値以下の期間に、前記端末装置により前記電子機器に対する前記設定処理が行われた場合、前記端末装置を無線接続優先対象に設定する処理を行い、
前記無線接続優先対象に設定された前記端末装置との無線接続の確立を、前記無線接続優先対象に設定されていない前記端末装置との無線接続の確立よりも優先させることを特徴とする電子機器。
In claim 1,
The processing unit
When the setting process for the electronic device is performed by the terminal device during a period in which the elapsed time from establishing the wireless connection with the terminal device is equal to or less than the second threshold value, the terminal device is set as the wireless connection priority target. Perform the setting process and
An electronic device characterized in that the establishment of a wireless connection with the terminal device set as the wireless connection priority target is prioritized over the establishment of a wireless connection with the terminal device not set as the wireless connection priority target. ..
請求項2において、
前記第2閾値は、前記第1閾値以下であることを特徴とする電子機器。
In claim 2,
An electronic device characterized in that the second threshold value is equal to or lower than the first threshold value.
請求項2又は3において、
前記処理部は、
前記無線接続優先対象に設定されている前記端末装置が存在する場合、前記電子機器の電源オンからの経過時間が第3閾値を超えるまで、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を拒否する制御を行うことを特徴とする電子機器。
In claim 2 or 3,
The processing unit
When the terminal device set as the wireless connection priority target exists, the terminal device not set as the wireless connection priority target is used until the elapsed time from turning on the power of the electronic device exceeds the third threshold value. An electronic device characterized by controlling the rejection of a connection request.
請求項2又は3において、
前記内部アクセスポイントに接続可能な前記端末装置の前記上限値がN(Nは2以上の整数)である場合、
前記処理部は、
前記無線接続優先対象に設定されている前記端末装置の台数がN台である場合、前記電子機器の電源オンからの経過時間が第3閾値を超えるまで、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を拒否し、
前記無線接続優先対象に設定されている前記端末装置の台数がN台未満である場合、前記電子機器の電源オンからの経過時間が前記第3閾値以下であっても、前記無線接続優先対象に設定されていない前記端末装置からの接続要求を許可する制御を行うことを特徴とする電子機器。
In claim 2 or 3,
When the upper limit value of the terminal device that can be connected to the internal access point is N (N is an integer of 2 or more).
The processing unit
When the number of the terminal devices set as the wireless connection priority target is N, the terminal device is not set as the wireless connection priority target until the elapsed time from the power-on of the electronic device exceeds the third threshold value. Rejecting the connection request from the terminal device,
When the number of the terminal devices set as the wireless connection priority target is less than N, the wireless connection priority target is set even if the elapsed time from the power-on of the electronic device is equal to or less than the third threshold value. An electronic device characterized by performing control to allow a connection request from the terminal device that has not been set.
請求項2乃至5のいずれかにおいて、
前記無線接続拒否対象に設定された前記端末装置の情報を記憶する第1の記憶部と、
前記無線接続優先対象に設定された前記端末装置の情報を記憶する第2の記憶部を含むことを特徴とする電子機器。
In any of claims 2 to 5,
A first storage unit for storing information of the terminal device set as the wireless connection refusal target, and a first storage unit.
An electronic device including a second storage unit that stores information of the terminal device set as the wireless connection priority target.
請求項6において
前記第1の記憶部は、揮発性メモリーであり、
前記第2の記憶部は、不揮発性メモリーであることを特徴とする電子機器。
In claim 6, the first storage unit is a volatile memory.
The second storage unit is an electronic device characterized by being a non-volatile memory.
請求項1乃至7のいずれかにおいて、
前記処理部は、
前記内部アクセスポイントを用いて前記端末装置との接続を確立してから、前記端末装置により前記電子機器に対する前記設定処理が行われない時間が前記第1閾値を超えた場合、前記端末装置を、所与の設定時間、前記無線接続拒否対象に設定する処理を行うことを特徴とする電子機器。
In any one of claims 1 to 7,
The processing unit
When the time during which the setting process for the electronic device is not performed by the terminal device exceeds the first threshold value after the connection with the terminal device is established by using the internal access point, the terminal device is used. An electronic device characterized by performing a process of setting a wireless connection refusal target for a given set time.
請求項8において、
前記処理部は、
前記端末装置が前記無線接続拒否対象に設定された回数が多いほど、前記無線接続拒否対象に設定される前記設定時間を長くする処理を行うことを特徴とする電子機器。
In claim 8,
The processing unit
An electronic device characterized in that a process of lengthening the set time set as the wireless connection refusal target is performed as the number of times the terminal device is set as the wireless connection refusal target increases.
請求項1乃至9のいずれかにおいて、In any of claims 1 to 9,
前記設定処理は、電子機器の印刷に関する設定項目又は電子機器の通信に関する設定項目についての前記初期設定処理又は前記設定変更処理であることを特徴とする電子機器。 The electronic device is characterized in that the setting process is the initial setting process or the setting change process for a setting item related to printing of an electronic device or a setting item related to communication of an electronic device.
JP2018010384A 2018-01-25 2018-01-25 Electronics Active JP7091672B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018010384A JP7091672B2 (en) 2018-01-25 2018-01-25 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018010384A JP7091672B2 (en) 2018-01-25 2018-01-25 Electronics

Publications (2)

Publication Number Publication Date
JP2019129428A JP2019129428A (en) 2019-08-01
JP7091672B2 true JP7091672B2 (en) 2022-06-28

Family

ID=67472439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018010384A Active JP7091672B2 (en) 2018-01-25 2018-01-25 Electronics

Country Status (1)

Country Link
JP (1) JP7091672B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024023878A1 (en) * 2022-07-25 2024-02-01 ファナック株式会社 Connection control device, connection control system, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015142163A (en) 2014-01-27 2015-08-03 ブラザー工業株式会社 Wireless communication apparatus
JP2015173354A (en) 2014-03-11 2015-10-01 キヤノン株式会社 Information processing device, information processing device control method and program
JP2017130839A (en) 2016-01-21 2017-07-27 キヤノン株式会社 Communication apparatus, communication control method, and program
JP2017175295A5 (en) 2016-03-22 2019-05-09 Image forming apparatus, control method and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6684123B2 (en) * 2016-03-22 2020-04-22 キヤノン株式会社 Image forming apparatus, control method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015142163A (en) 2014-01-27 2015-08-03 ブラザー工業株式会社 Wireless communication apparatus
JP2015173354A (en) 2014-03-11 2015-10-01 キヤノン株式会社 Information processing device, information processing device control method and program
JP2017130839A (en) 2016-01-21 2017-07-27 キヤノン株式会社 Communication apparatus, communication control method, and program
JP2017175295A5 (en) 2016-03-22 2019-05-09 Image forming apparatus, control method and program

Also Published As

Publication number Publication date
JP2019129428A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
JP6714813B2 (en) Electronic device, wireless communication method, and program
KR102093639B1 (en) Communication apparatus having direct wireless communication function and method for controlling communication apparatus
US20190265924A1 (en) Terminal apparatus, communication system, computer-readable recording medium, and communication control method
US10691379B2 (en) Printing apparatus having wireless direct communication function and method of controlling the printing apparatus
JP2014068303A (en) Radio communication system, radio communication device and communication control program
JP2013110679A (en) Information processor, and control method and control program of the same
JP7091672B2 (en) Electronics
CN106708447B (en) Printing apparatus and control method of printing apparatus
JP2013022857A (en) Printing apparatus
US20170255423A1 (en) Communication processing system, processing device, and non-transitory recording medium for computer readable program
CN110087336B (en) Electronic equipment
CN107422996B (en) Printing apparatus and control method of printing apparatus
CN113934381A (en) Image forming system, user terminal, image forming apparatus, and computer readable medium
JP2003291462A (en) Image output system, image output apparatus, detector, program, medium recording program
CN112558442A (en) Image forming apparatus, printing system, and print information notification method
JP2016159429A (en) Image recording device and control program
US9658810B2 (en) Image forming apparatus, information processing apparatus, image forming method, and non-transitory computer readable medium that generate a list of users waiting for a job execution
JP2023029545A (en) Printing device, control method for the same, and program
US10846030B2 (en) Communication device and non-transitory computer-readable medium storing computer-readable instructions for communication device or server
JP6610206B2 (en) Electronic device, terminal, wireless communication system, wireless communication method, and program
JP7443881B2 (en) Electronic equipment, communication systems and communication methods
US11599618B2 (en) User authentication device and image forming device
JP6744783B2 (en) Information processing apparatus, control method thereof, and program
US20090106828A1 (en) Device administration apparatus, device administration method and recording medium
JP2018001616A (en) Image formation apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210930

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211019

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220530

R150 Certificate of patent or registration of utility model

Ref document number: 7091672

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150