JP7446734B2 - Wireless communication device and its control method, terminal device and its control method, program and storage medium - Google Patents

Wireless communication device and its control method, terminal device and its control method, program and storage medium Download PDF

Info

Publication number
JP7446734B2
JP7446734B2 JP2019146919A JP2019146919A JP7446734B2 JP 7446734 B2 JP7446734 B2 JP 7446734B2 JP 2019146919 A JP2019146919 A JP 2019146919A JP 2019146919 A JP2019146919 A JP 2019146919A JP 7446734 B2 JP7446734 B2 JP 7446734B2
Authority
JP
Japan
Prior art keywords
wireless communication
communication
access point
terminal device
point function
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
JP2019146919A
Other languages
Japanese (ja)
Other versions
JP2021027566A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019146919A priority Critical patent/JP7446734B2/en
Publication of JP2021027566A publication Critical patent/JP2021027566A/en
Application granted granted Critical
Publication of JP7446734B2 publication Critical patent/JP7446734B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線通信装置とその制御方法、端末装置とその制御方法、プログラム及び記憶媒体に関し、特に、近距離無線通信が可能な通信技術に関する。 The present invention relates to a wireless communication device and its control method, a terminal device and its control method, a program , and a storage medium , and particularly relates to a communication technology that enables short-range wireless communication.

従来からNFC通信機能と、無線LANのアクセスポイントとして機能するアクセスポイント機能を備える装置が存在する。 2. Description of the Related Art Conventionally, there have been devices that have an NFC communication function and an access point function that functions as a wireless LAN access point.

特許文献1には、NFC通信によりリクエストを受信した無線通信装置がアクセスポイントとして起動することが開示されている。 Patent Document 1 discloses that a wireless communication device that receives a request through NFC communication activates as an access point.

特開2008-283590号公報JP2008-283590A

しかしながら、上記の特許文献1のような無線通信装置の通信相手として、NFC通信が可能であっても、NFCのタグ情報読み取り機能しか持たず、無線通信機能に対して、例えばアクセスポイントの起動を促すようなリクエストの書込み機能を持たない装置も存在し、書込み機能を持つ装置と書込み機能を持たない装置が混在することも考えられる。 However, even if NFC communication is possible as a communication partner of a wireless communication device such as the one disclosed in Patent Document 1, it only has an NFC tag information reading function, and for example, activates an access point for the wireless communication function. There are also devices that do not have a writing function for prompting requests, and it is conceivable that there are devices that have a writing function and devices that do not have a writing function.

この場合、アクセスポイント機能を持つ無線通信装置としては、NFC通信を行ったが上記リクエストを受信できなかった場合に、上記リクエスト書込み機能を持たない装置と通信したのか、上記リクエスト書込み機能を持つ装置と通信したがリクエストが書き込まれないのかを判断することができないことが考えられる。そのため、アクセスポイントの起動が必要なケースでアクセスポイントが起動されないことが起こり得る。 In this case, if the wireless communication device with the access point function performs NFC communication but fails to receive the above request, the wireless communication device with the above request writing function may be asked whether it communicated with a device that does not have the above request writing function. It is possible that it is not possible to determine whether the request was not written even though the request was communicated with. Therefore, in a case where activation of the access point is required, the access point may not be activated.

そこで、本発明は、アクセスポイントとしての機能を適切に起動することができる技術を提供することを目的とする。 Therefore, an object of the present invention is to provide a technology that can appropriately activate the function as an access point.

上記の目的を達成するために、本発明に係る発明は、
近距離無線通信で外部機器と通信する第1の通信手段と、
無線LANで外部機器と通信する第2の通信手段と、
外部機器である端末装置との通信が前記第1の通信手段で行われたことを検知する検知手段と、
前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、所定時間が経過しても前記端末装置から前記第1の通信手段を介して何の指示も受信しなかったことに基づいて、前記第2の通信手段を用いて前記端末装置とダイレクト接続を行うためのアクセスポイント機能を起動するように制御する制御手段と
有することを特徴とする。
In order to achieve the above object, the invention according to the present invention
a first communication means for communicating with an external device by short-range wireless communication;
a second communication means for communicating with an external device via wireless LAN;
detection means for detecting that communication with a terminal device that is an external device is performed by the first communication means ;
After the detection means detects that communication has been performed by the first communication means , no instruction is received from the terminal device via the first communication means even after a predetermined period of time has elapsed. control means for controlling to activate an access point function for making a direct connection with the terminal device using the second communication means, based on the above ;
It is characterized by having the following.

本発明によれば、近距離無線通信での書込み機能を持たない装置であっても、無線通信装置のアクセスポイント機能を適切に起動することができる。 According to the present invention, even if the device does not have a write function in short-range wireless communication, the access point function of the wireless communication device can be appropriately activated.

プリンターのハードウェア構成を示す図である。FIG. 2 is a diagram showing the hardware configuration of a printer. 携帯端末、および携帯端末のハードウェア構成を示す図である。1 is a diagram showing a mobile terminal and a hardware configuration of the mobile terminal. FIG. プリンターの動作のフローチャートである。3 is a flowchart of the operation of the printer. 携帯端末の動作のフローチャートである。It is a flowchart of the operation of a mobile terminal. 書き込み機能を持たない携帯端末の動作のフローチャートである。It is a flowchart of the operation of a mobile terminal that does not have a writing function.

以下、本発明に係る無線通信装置について、図面を参照しながら詳細に説明する。 Hereinafter, a wireless communication device according to the present invention will be described in detail with reference to the drawings.

尚、以下の実施の形態は特許請求の範囲に係る本発明を限定するものでなく、また本実施の形態で説明されている特徴の組み合わせの全てが本発明の解決手段に必須のものとは限らない。 It should be noted that the following embodiments do not limit the present invention according to the claims, and all combinations of features described in the present embodiments are not essential to the solution of the present invention. Not exclusively.

(実施形態1)
本実施形態では、アクセスポイントを持つ無線通信装置としてプリンター100を、NFCの書き込み機能を持つ装置として携帯端末200を、およびNFCの書き込み機能を持たない装置として携帯端末300を例に挙げて説明する。携帯端末としては、PDA(Personal Digital Assistant)などの個人情報端末、携帯電話、スマートフォンなどが挙げられる。
(Embodiment 1)
In this embodiment, a printer 100 is used as a wireless communication device having an access point, a mobile terminal 200 is used as a device with an NFC writing function, and a mobile terminal 300 is used as an example of a device without an NFC writing function. . Examples of mobile terminals include personal information terminals such as PDAs (Personal Digital Assistants), mobile phones, and smartphones.

図1は、プリンター100のハードウェア構成を示す図である。 FIG. 1 is a diagram showing the hardware configuration of the printer 100.

プリンター100は、CPU101、操作部102、メモリ103、記憶部104、無線LAN制御部105、NFC制御部106を備え、それぞれがシステムバスを介して接続されている。CPU101は、プリンター100の全体制御を行う。操作部102は、プリンター100にユーザーが指示を与えるための操作部であり、例えば、ボタンやタッチパネル等を有する。 The printer 100 includes a CPU 101, an operation unit 102, a memory 103, a storage unit 104, a wireless LAN control unit 105, and an NFC control unit 106, each of which is connected via a system bus. The CPU 101 performs overall control of the printer 100. The operation unit 102 is an operation unit for a user to give instructions to the printer 100, and includes, for example, buttons, a touch panel, and the like.

メモリ103は、CPU101の作業領域としてのランダムアクセスメモリ(RAM)であり、種々の受信データの一時格納領域として用いられたり、各種設定データを記憶したりする。記憶部104は、例えば、フラッシュメモリ等であり、アプリケーション、オペレーティングシステム等の各種制御プログラムを格納する。プリンター100は、無線LAN制御部105を介してネットワークに接続可能であり、ネットワークを介して携帯端末などの外部機器やインターネットと接続可能に構成されている。NFC制御部106は、他のNFC装置との接続を検知したり、他のNFC装置との間でデータ通信を行ったりすることができる。 The memory 103 is a random access memory (RAM) that serves as a work area for the CPU 101, and is used as a temporary storage area for various received data and stores various setting data. The storage unit 104 is, for example, a flash memory or the like, and stores various control programs such as applications and operating systems. The printer 100 is connectable to a network via a wireless LAN control unit 105, and is configured to be connectable to external devices such as a mobile terminal and the Internet via the network. The NFC control unit 106 can detect connections with other NFC devices and perform data communication with other NFC devices.

図2は、携帯端末200、および携帯端末300のハードウェア構成を示す図である。 FIG. 2 is a diagram showing the hardware configurations of the mobile terminal 200 and the mobile terminal 300.

携帯端末200は、CPU201、操作部202、メモリ203、記憶部204、無線LAN制御部205、NFC制御部206を備え、それぞれがシステムバスを介して接続されている。CPU201は、携帯端末200の全体制御を行う。操作部202は、携帯端末200にユーザーが指示を与えるための操作部であり、例えば、ボタンやタッチパネル等を有する。 The mobile terminal 200 includes a CPU 201, an operation section 202, a memory 203, a storage section 204, a wireless LAN control section 205, and an NFC control section 206, each of which is connected via a system bus. CPU 201 performs overall control of mobile terminal 200 . The operation unit 202 is an operation unit for a user to give instructions to the mobile terminal 200, and includes, for example, buttons, a touch panel, and the like.

メモリ203は、CPU201の作業領域としてのランダムアクセスメモリ(RAM)であり、種々の受信データの一時格納領域として用いられたり、各種設定データを記憶したりする。記憶部204は、例えば、フラッシュメモリ等であり、アプリケーション、オペレーティングシステム等の各種制御プログラムを格納する。携帯端末200は、無線LAN制御部205を介してネットワークに接続可能であり、ネットワークを介してプリンターなどの外部機器やインターネットと接続可能に構成されている。 The memory 203 is a random access memory (RAM) that serves as a work area for the CPU 201, and is used as a temporary storage area for various received data and stores various setting data. The storage unit 204 is, for example, a flash memory or the like, and stores various control programs such as applications and an operating system. The mobile terminal 200 can be connected to a network via a wireless LAN control unit 205, and is configured to be connectable to external devices such as a printer and the Internet via the network.

NFC制御部206、およびNFC制御部207は、他のNFC装置との接続を検知したり、他のNFC装置との間でデータ通信を行ったりすることができる。携帯端末200のNFC制御部206が行うデータ通信は、NFCデータの読み取りと書き込みである。携帯端末300のNFC制御部207が行うデータ通信はNFCデータの読み取りのみであり、書き込みを行うことはできない。 The NFC control unit 206 and the NFC control unit 207 can detect connections with other NFC devices and perform data communication with other NFC devices. Data communication performed by the NFC control unit 206 of the mobile terminal 200 is reading and writing of NFC data. The data communication performed by the NFC control unit 207 of the mobile terminal 300 is only to read NFC data, and cannot write it.

まずプリンター100の動作から説明する。 First, the operation of the printer 100 will be explained.

図3はプリンター100の動作のフローチャートである。 FIG. 3 is a flowchart of the operation of the printer 100.

S301で、プリンター100は携帯端末200または携帯端末300のタッチ操作によりNFC通信の開始を検知する。 In S301, the printer 100 detects the start of NFC communication by a touch operation on the mobile terminal 200 or 300.

S302で、プリンター100はNFCデータ通信により、アクセスポイント機能を起動する指示、または起動しない指示が書き込みされたかどうか、および何も指示が書き込まれなかったか、を判定する。何も指示が書き込まれないことを判断するために一定時間指示を待つ。この一定時間指示を待ち受ける時間を指示待ち受け時間301とする。 In S302, the printer 100 determines, through NFC data communication, whether an instruction to activate or not to activate the access point function has been written, and whether no instruction has been written. Wait for an instruction for a certain period of time to determine that no instruction is written. This fixed period of time for waiting for an instruction is defined as an instruction waiting time 301.

アクセスポイント機能を起動する指示が書き込みされた場合、または指示待ち受け時間301を経過しても何も指示がされなかった場合は、S303で、すでにアクセスポイントが起動済かを判定する。まだ起動していない場合にはS304でアクセスポイント機能を起動する。もしアクセスポイント機能が起動済であった場合にはネットワーク設定は何も変更しない。アクセスポイント機能を起動しない指示が書き込みされた場合は、ネットワーク設定は何も設定を変更しない。 If an instruction to activate the access point function is written , or if no instruction is given even after the instruction standby time 301 has elapsed , it is determined in S303 whether the access point has already been activated. If the access point function has not been activated yet, the access point function is activated in S304. If the access point function has already been activated, no network settings will be changed. If an instruction not to activate the access point function is written, no network settings will be changed.

S305で、アクセスポイント機能の終了指示検知を判定する。検知しない場合にはS306で、一定時間経過するまでS305の終了指示検知判定処理を繰り返す。 In S305, it is determined whether an access point function termination instruction has been detected. If not detected, the end instruction detection determination process of S305 is repeated at S306 until a certain period of time has elapsed.

S305で終了指示を検知するか、S306で一定時間経過したら、S307では、S304でアクセスポイント機能を起動したかを判定する。 If an end instruction is detected in S305 or a certain period of time has elapsed in S306, it is determined in S307 whether the access point function was activated in S304.

アクセスポイント機能をS304で起動していた場合には、S308でアクセスポイント機能を終了する。それによりアクセスポイント機能の起動前のネットワーク設定に戻す。 If the access point function has been activated in S304, the access point function is terminated in S308. This returns the network settings to those before the activation of the access point function.

次に書き込み機能を持つ携帯端末200の動作を説明する。 Next, the operation of the mobile terminal 200 having a writing function will be explained.

図4は携帯端末200の動作のフローチャートである。 FIG. 4 is a flowchart of the operation of the mobile terminal 200.

S401で、携帯端末200をプリンター100にタッチ操作することでNFC通信が開始される。 In S401, NFC communication is started by touching the printer 100 with the mobile terminal 200.

S402ではNFCデータ通信を利用してプリンター100のアクセスポイント機能の接続情報401を取得する。接続情報401は例えばプリンター100のアクセスポイント機能のSSIDとパスワードである。 In S402, connection information 401 of the access point function of the printer 100 is acquired using NFC data communication. The connection information 401 is, for example, the SSID and password of the access point function of the printer 100.

S403では無線LANでプリンター100と通信できるかを確認する。 In S403, it is confirmed whether communication with the printer 100 via wireless LAN is possible.

通信できない場合には、S404で、NFCデータ通信を利用してプリンター100にアクセスポイント機能の起動を指示する。 If communication is not possible, in step S404, the printer 100 is instructed to activate the access point function using NFC data communication.

S405では、接続情報401を利用して、プリンター100に無線LAN接続する。この時、プリンターがアクセスポイント機能を起動するまでに一定時間かかる場合もあるので、携帯端末200がプリンター100とのアクセスポイント接続に失敗した時は、一定時間リトライしてもよい。 In step S405, the printer 100 is connected to the wireless LAN using the connection information 401. At this time, it may take a certain period of time for the printer to activate the access point function, so if the mobile terminal 200 fails to connect to the access point with the printer 100, it may be retried for a certain period of time.

S403でプリンター100と通信できると判断した場合には、S409で、NFCデータ通信を利用してプリンター100にアクセスポイント機能を起動しないよう指示する。 If it is determined in step S403 that communication with the printer 100 is possible, the printer 100 is instructed not to activate the access point function using NFC data communication in step S409.

S406では、プリンター100との通信を終了してよいか判断する。これは例えば印刷処理の実行が1度行われたら通信を終了してよい、としてもよいし、ユーザーに通信終了の操作を実行させても構わない。 In S406, it is determined whether communication with the printer 100 can be ended. For example, this may be such that communication may be terminated after the printing process has been executed once, or the user may be asked to perform an operation to terminate communication.

通信を終了してよいと判断したら、S407では、S404でアクセスポイント機能の起動を指示したか判定する。 If it is determined that it is OK to end the communication, it is determined in S407 whether activation of the access point function was instructed in S404.

アクセスポイント機能の起動を指示していた場合には、S408でプリンター100にアクセスポイント機能を終了する指示を行う。アクセスポイント機能を終了する指示を行った場合には、セキュリティに関わる情報をなるべく携帯端末で保持しないために、接続情報401を削除してもよい。また、アクセスポイント機能を終了する指示を行った場合は、携帯端末200のネットワーク設定をアクセスポイント機能に接続する前の状態に戻してもよい。 If activation of the access point function has been instructed, the printer 100 is instructed to terminate the access point function in step S408. When an instruction to terminate the access point function is given, the connection information 401 may be deleted in order to keep as little security-related information as possible in the mobile terminal. Further, when an instruction to terminate the access point function is given, the network settings of the mobile terminal 200 may be returned to the state before connecting to the access point function.

上述のプリンター100と携帯端末200との組み合わせでの動作フローを図3と図4のステップを利用して説明する。 The operation flow of the combination of the above-described printer 100 and mobile terminal 200 will be explained using the steps of FIGS. 3 and 4.

プリンター100に携帯端末200でタッチ操作を行うことで、プリンター100はS301としてNFC通信の開始を検知し、携帯端末200はS401としてNFC通信の開始を検知する。 By performing a touch operation on the printer 100 with the mobile terminal 200, the printer 100 detects the start of NFC communication in S301, and the mobile terminal 200 detects the start of NFC communication in S401.

次に携帯端末200はS402でプリンター100からアクセスポイント機能の接続情報401を取得する。 Next, the mobile terminal 200 acquires connection information 401 of the access point function from the printer 100 in S402.

続いて携帯端末200はS403で現在のネットワーク環境でプリンターと通信できるかを確認する。 Next, in step S403, the mobile terminal 200 checks whether it can communicate with the printer in the current network environment.

通信できない場合にはS404でアクセスポイント機能の起動を指示する。プリンターはS302でアクセスポイントの起動指示を検知し、S303、S304で必要に応じてアクセスポイント機能を起動する。 If communication is not possible, activation of the access point function is instructed in S404. The printer detects the access point activation instruction in S302, and activates the access point function as necessary in S303 and S304.

携帯端末200はS405でアクセスポイント機能を起動したプリンター100に接続する。 The mobile terminal 200 connects to the printer 100 whose access point function has been activated in S405.

その後で例えば印刷処理を実行し、印刷処理が正常に終了したら、S406でプリンター100との通信を終了してよい、と判定した場合には、S404でアクセスポイント機能の起動指示をしているので、S408でアクセスポイント機能を終了する指示を行う。 After that, for example, print processing is executed, and if it is determined in S406 that communication with the printer 100 can be terminated, an instruction to start the access point function is issued in S404. , instructs to terminate the access point function in S408.

ここでプリンター100はS305でアクセスポイント機能の終了指示を検知し、S304でアクセスポイント機能を起動していれば、S308でアクセスポイント機能を終了する。 Here, the printer 100 detects an instruction to terminate the access point function in S305, and if the access point function has been activated in S304, terminates the access point function in S308.

上記の通り、NFCの書込み機能を持つ携帯端末200でNFCタッチした場合には、アクセスポイント機能を起動する、しないに関わらず、プリンター100の次の動作を携帯端末200からS404、およびS409で指示できるので、プリンターはS302でアクセスポイント機能を起動するかどうかの指示待ち受け時間301を待つ必要はなく、処理速度を向上できる。 As mentioned above, when an NFC touch is performed using the mobile terminal 200 that has an NFC writing function, the mobile terminal 200 instructs the next operation of the printer 100 in S404 and S409, regardless of whether the access point function is activated or not. Therefore, the printer does not need to wait for the instruction standby time 301 to determine whether to activate the access point function in S302, and the processing speed can be improved.

また、本実施例では、携帯端末がプリンターからアクセスポイント接続情報を取得してから、ネットワーク環境の確認およびアクセスポイントの起動書き込みを実施しているが、これらの順番は実施例の限りではなく、ネットワーク環境の確認の後に、アクセスポイント接続情報を取得してもよいし、ネットワーク環境の確認およびアクセスポイントの起動書き込みの後に、アクセスポイント接続情報を取得してもよい。 Furthermore, in this embodiment, after the mobile terminal obtains the access point connection information from the printer, the network environment is checked and the access point is started and written. However, these orders are not limited to those in the embodiment. The access point connection information may be acquired after checking the network environment, or the access point connection information may be acquired after checking the network environment and writing to activate the access point.

上述した実施形態は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPUやMPU等)がプログラムを読み出して実行する処理である。また、プログラムは、1つのコンピュータで実行させても、複数のコンピュータを連動させて実行させるようにしてもよい。 The embodiment described above is also realized by performing the following processing. That is, the software (program) that realizes the functions of the embodiments described above is supplied to a system or device via a network or various storage media, and the computer (CPU, MPU, etc.) of the system or device reads and executes the program. This is the process of Further, the program may be executed on one computer or may be executed on multiple computers in conjunction with each other.

また、上記した処理の全てをソフトウェアで実現する必要はなく、処理の一部または全部をASIC等のハードウェアで実現するようにしてもよい。また、CPUも1つのCPUで全ての処理を行うものに限らず、複数のCPUが適宜連携をしながら処理を行うものとしてもよい。 Furthermore, it is not necessary to implement all of the above-described processing using software, and some or all of the processing may be implemented using hardware such as an ASIC. Moreover, the CPU is not limited to one CPU that performs all processing, but may be a plurality of CPUs that perform processing while working together as appropriate.

(実施形態2)
本実施形態では、書き込み機能を持たない携帯端末300の動作を図5で説明する。プリンター100の構成は実施形態1と同様である。
(Embodiment 2)
In this embodiment, the operation of the mobile terminal 300 without a writing function will be explained with reference to FIG. The configuration of the printer 100 is similar to that of the first embodiment.

S501で、携帯端末300をプリンター100にタッチ操作をすることでNFCデータ通信が開始されたら、S502で携帯端末300はプリンター100からプリンター100のアクセスポイント機能の接続情報401を取得する。 In step S501, when NFC data communication is started by touching the printer 100 with the mobile terminal 300, the mobile terminal 300 acquires connection information 401 of the access point function of the printer 100 from the printer 100 in step S502.

S503では無線LANを利用してプリンター100と通信できるかを確認する。通信できない場合、S504で接続情報401を利用してプリンター100に無線LAN接続する。 In S503, it is confirmed whether communication with the printer 100 is possible using the wireless LAN. If communication is not possible, a wireless LAN connection is made to the printer 100 using the connection information 401 in step S504.

携帯端末300はプリンター100に対してアクセスポイント機能の起動する、または起動しない、の指示ができないため、プリンター100は指示待ち受け時間301が経過するまでアクセスポイント機能を起動することはない。そのため、S503の判定後すぐに無線LAN接続を試みても接続できないことがある。したがって、S504では指示待ち受け時間301が経過してから無線LAN接続を試みてもよい。または、無線LAN接続に失敗した場合は、指示待ち受け時間301が経過するまでの間、無線LAN接続をリトライしてもよい。いずれにせよ、プリンター100と無線LAN接続に成功したら、S505でプリンター100との通信を終了してよいか判断する。この判断はS406と同様である。 Since the mobile terminal 300 cannot instruct the printer 100 to activate or not activate the access point function, the printer 100 does not activate the access point function until the instruction standby time 301 has elapsed. Therefore, even if a wireless LAN connection is attempted immediately after the determination in S503, the connection may not be possible. Therefore, in S504, wireless LAN connection may be attempted after the instruction standby time 301 has elapsed. Alternatively, if the wireless LAN connection fails, the wireless LAN connection may be retried until the instruction standby time 301 elapses. In any case, if the wireless LAN connection with the printer 100 is successful, it is determined in step S505 whether communication with the printer 100 can be ended. This determination is similar to S406.

終了してよい、と判断したら、S506でアクセスポイント機能を終了する指示を行う。この時、S504でプリンターと無線LAN接続していた場合には、携帯端末300のネットワーク設定をプリンターと無線LAN接続する前の状態に戻してもよい。 If it is determined that the access point function can be terminated, an instruction to terminate the access point function is issued in S506. At this time, if the printer was connected to the wireless LAN in S504, the network settings of the mobile terminal 300 may be returned to the state before the wireless LAN connection to the printer.

上述のプリンター100と携帯端末300との組み合わせでの動作フローの例を図3と図5のステップを利用して説明する。 An example of an operation flow in a combination of the above-described printer 100 and mobile terminal 300 will be described using the steps of FIGS. 3 and 5.

プリンター100に携帯端末300でタッチ操作を行うことで、プリンター100はS301としてNFC通信の開始を検知し、携帯端末300はS501としてNFC通信の開始を検知する。 By performing a touch operation on the printer 100 with the mobile terminal 300, the printer 100 detects the start of NFC communication in S301, and the mobile terminal 300 detects the start of NFC communication in S501.

次に携帯端末300はS502でプリンター100からアクセスポイント機能の接続情報401を取得する。 Next, the mobile terminal 300 acquires connection information 401 of the access point function from the printer 100 in step S502.

続いて携帯端末300はS503で現在のネットワーク環境でプリンターと通信できるかを確認する。通信できない場合には、指示待ち受け時間301が経過してから携帯端末300はプリンター100への無線LAN接続を試みる。携帯端末300からは何も指示を行っていないので、プリンター100はS302で指示待ち受け時間301が経過するまで、指示を受けることがないため、S303、S304で必要に応じてアクセスポイント機能を起動する。 Next, in step S503, the mobile terminal 300 checks whether it can communicate with the printer in the current network environment. If communication is not possible, the mobile terminal 300 attempts a wireless LAN connection to the printer 100 after the instruction standby time 301 has elapsed. Since no instructions have been issued from the mobile terminal 300, the printer 100 will not receive any instructions until the instruction standby time 301 has elapsed in S302, and therefore activates the access point function as necessary in S303 and S304. .

ここで、プリンター100のアクセスポイント機能が起動した状態になるので、S504での無線LAN接続が成功する。その後で例えば印刷処理を実行し、印刷処理が正常に終了したら、S505でプリンター100との通信を終了してよい、と判定した場合には、S506でアクセスポイント機能を終了する指示を行う。ここでプリンター100はS305でアクセスポイント機能の終了指示を検知し、S304でアクセスポイント機能を起動していれば、S308でアクセスポイント機能を終了する。 At this point, the access point function of the printer 100 is activated, so the wireless LAN connection in S504 is successful. Thereafter, for example, printing processing is executed, and when the printing processing is completed normally, if it is determined in S505 that communication with the printer 100 can be ended, an instruction is given to end the access point function in S506. Here, the printer 100 detects an instruction to terminate the access point function in S305, and if the access point function has been activated in S304, terminates the access point function in S308.

本実施例ではS302でアクセスポイント機能の起動指示が何もなかった場合には、S303、S304で必要に応じてアクセスポイント機能を起動しているが、指示待ち受け時間301が経過する前に、プリンター100に対して、他の例えば印刷実行指示などが無線LAN経由で行われた場合には、アクセスポイント機能を起動しないようにしてもよい。 In this embodiment, if there is no instruction to activate the access point function in S302, the access point function is activated as necessary in S303 and S304, but the printer In contrast to 100, if another command such as a print execution instruction is issued via the wireless LAN, the access point function may not be activated.

上記の通り、書込み機能を持たない携帯端末でNFCタッチした場合には、プリンターにアクセスポイント機能を起動する指示ができなくても、状況に応じて適切にアクセスポイント機能を起動できるので、書き込み機能を持たなくてもプリンターとプリンターのアクセスポイント接続経由で通信することが可能となる。 As mentioned above, if you use an NFC touch with a mobile terminal that does not have a writing function, even if you cannot instruct the printer to activate the access point function, you can activate the access point function appropriately depending on the situation, so the writing function Even if you do not have a printer, it is possible to communicate with the printer via the printer's access point connection.

(実施形態3)
本実施形態では、書き込み機能を持たない携帯端末300とプリンター100の組み合わせでの別の実施形態を説明する。
(Embodiment 3)
In this embodiment, another embodiment will be described in which a mobile terminal 300 that does not have a writing function and a printer 100 are combined.

プリンター100はS302でのアクセスポイント機能の起動指示を判定する際に、携帯端末300でのNFCタッチ操作を再度検知することで起動する指示と判断する。携帯端末300はS503で通信できないと判定した場合に、携帯端末の画面上に再度NFCタッチを促すメッセージを表示する。そのメッセージに従ってユーザーがNFCタッチを行うことで、プリンター100はNFCタッチ操作を再度検知することで、アクセスポイント機能を起動する指示と判断し、アクセスポイント機能を起動する。それにより、NFC書き込み機能を持たない携帯端末であっても、指示待ち受け時間301の経過を待たずにアクセスポイント機能を起動することができ、接続までの効率化が期待できる。 When determining the instruction to activate the access point function in S302, the printer 100 determines that the instruction is to activate by detecting the NFC touch operation on the mobile terminal 300 again. If the mobile terminal 300 determines in S503 that communication is not possible, it displays a message on the screen of the mobile terminal prompting the NFC touch again. When the user performs an NFC touch in accordance with the message, the printer 100 detects the NFC touch operation again, determines that this is an instruction to activate the access point function, and activates the access point function. As a result, even if the mobile terminal does not have an NFC writing function, it is possible to activate the access point function without waiting for the instruction standby time 301 to elapse, and it is expected that the connection process will be made more efficient.

301 プリンター100の指示待ち受け時間、
401 プリンター100のアクセスポイント機能の接続情報
301 Instruction standby time of printer 100;
401 Connection information for the access point function of the printer 100

Claims (18)

近距離無線通信で外部機器と通信する第1の通信手段と、
無線LANで外部機器と通信する第2の通信手段と、
外部機器である端末装置との通信が前記第1の通信手段で行われたことを検知する検知手段と、
前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、所定時間が経過しても前記端末装置から前記第1の通信手段を介して何の指示も受信しなかったことに基づいて、前記第2の通信手段を用いて前記端末装置とダイレクト接続を行うためのアクセスポイント機能を起動するように制御する制御手段と
有することを特徴とする無線通信装置。
a first communication means for communicating with an external device by short-range wireless communication;
a second communication means for communicating with an external device via wireless LAN;
detection means for detecting that communication with a terminal device that is an external device is performed by the first communication means ;
After the detection means detects that communication has been performed by the first communication means , no instruction is received from the terminal device via the first communication means even after a predetermined period of time has elapsed. control means for controlling to activate an access point function for making a direct connection with the terminal device using the second communication means, based on the above ;
A wireless communication device comprising :
前記第2の通信手段を介して前記端末装置が前記無線通信装置に前記アクセスポイント機能を用いた接続をするための接続情報を、前記第1の通信手段での通信によって前記端末装置に取得させることを特徴とする請求項1に記載の無線通信装置。causing the terminal device to acquire connection information for the terminal device to connect to the wireless communication device using the access point function via the second communication means through communication with the first communication means; The wireless communication device according to claim 1, characterized in that: 前記接続情報は、前記アクセスポイント機能のSSIDとパスワードを含むことを特徴とする請求項2に記載の無線通信装置。The wireless communication device according to claim 2, wherein the connection information includes an SSID and a password of the access point function. 前記制御手段は、前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、前記所定時間が経過しても前記端末装置から前記第1の通信手段を介して何の指示も受信せず、かつ、すでにアクセスポイント機能を起動中で無かった場合に、前記アクセスポイント機能を起動するように制御することを特徴とする請求項1乃至3のいずれか1項に記載の無線通信装置。The control means is configured to prevent any communication from the terminal device via the first communication means even after the predetermined period of time has elapsed after the detection means detects that communication has been performed by the first communication means. According to any one of claims 1 to 3, the access point function is controlled to be activated when the access point function is not received and the access point function is not already activated. wireless communication equipment. 前記制御手段は、前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、前記所定時間が経過する前に前記第1の通信手段を介して前記アクセスポイント機能を起動する指示を前記端末装置から受信した場合にも前記アクセスポイント機能を起動するように制御することを特徴とする請求項1乃至4のいずれか1項に記載の無線通信装置 The control means causes the detection means to activate the access point function via the first communication means before the predetermined time period elapses after the detection means detects that communication has been performed using the first communication means. 5. The wireless communication device according to claim 1, wherein the access point function is controlled to be activated even when an activation instruction is received from the terminal device. 前記制御手段は、前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、前記所定時間が経過するまでに前記第1の通信手段を介して前記アクセスポイント機能を起動しない指示を前記端末装置から受信した場合には、前記アクセスポイント機能を起動しないように制御することを特徴とする請求項1乃至5のいずれか1項に記載の無線通信装置。The control means causes the detection means to activate the access point function via the first communication means before the predetermined time period elapses after the detection means detects that communication has been performed using the first communication means. The wireless communication device according to any one of claims 1 to 5, wherein the wireless communication device controls the access point function so as not to activate it when an instruction not to activate it is received from the terminal device. 前記制御手段は、前記検知手段で、前記第1の通信手段で通信が行われたことを検知した後、前記所定時間が経過する前に前記第2の通信手段を介して印刷実行指示を受信した場合には、前記アクセスポイント機能を起動しないように制御することを特徴とする請求項1乃至6のいずれか1項に記載の無線通信装置。The control means receives a print execution instruction via the second communication means before the predetermined time period elapses after the detection means detects that communication is performed by the first communication means. 7. The wireless communication device according to claim 1, wherein the wireless communication device controls the access point function so as not to activate the access point function when the access point function is activated. 前記アクセスポイント機能を起動し、前記第2の通信手段での前記端末装置とのダイレクト接続がされた状態で、印刷処理を実行することを特徴とする請求項1乃至7のいずれか1項に記載の無線通信装置。8. The printing process according to any one of claims 1 to 7, characterized in that the access point function is activated and the printing process is executed in a state where a direct connection with the terminal device is established through the second communication means. The wireless communication device described. 近距離無線通信で外部機器と通信する第1の通信手段と、
無線LANで外部機器と通信する第2の通信手段と、
を有する無線通信装置の制御方法であって、
外部機器である端末装置との通信が前記第1の通信手段で行われたことを検知する検知ステップと、
前記検知ステップで、前記第1の通信手段で通信が行われたことを検知した後、所定時間が経過しても前記端末装置から前記第1の通信手段を介して何の指示も受信しなかったことに基づいて、前記第2の通信手段を用いて前記端末装置とダイレクト接続を行うためのアクセスポイント機能を起動するように制御する制御ステップと、
を有することを特徴とする無線通信装置の制御方法
a first communication means for communicating with an external device by short-range wireless communication;
a second communication means for communicating with an external device via wireless LAN;
A method for controlling a wireless communication device, the method comprising:
a detection step of detecting that communication with a terminal device that is an external device is performed by the first communication means;
In the detection step, after detecting that communication has been performed by the first communication means, no instruction is received from the terminal device via the first communication means even after a predetermined period of time has elapsed. a control step of controlling to activate an access point function for making a direct connection with the terminal device using the second communication means based on the above;
A method for controlling a wireless communication device, comprising :
少なくとも1つのコンピュータを、請求項1乃至8のいずれか1項に記載された無線通信装置の各手段として機能させるためのプログラム。A program for causing at least one computer to function as each means of the wireless communication device according to claim 1. 少なくとも1つのコンピュータを、請求項1乃至8のいずれか1項に記載された無線通信装置の各手段として機能させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。A computer-readable storage medium storing a program for causing at least one computer to function as each means of the wireless communication device according to any one of claims 1 to 8. 近距離無線通信で、外部機器の近距離無線通信手段に対して情報の書き込みを行うことができず、外部機器の近距離無線通信手段から情報の読み取りを行うことが可能な第3の通信手段と、A third communication means that cannot write information to the short-range wireless communication means of an external device in short-range wireless communication, but can read information from the short-range wireless communication means of the external device. and,
無線LANで外部機器と通信する第4の通信手段と、a fourth communication means for communicating with an external device via wireless LAN;
外部機器である無線通信装置から、前記無線通信装置をアクセスポイントとして前記無線通信装置にダイレクト接続するための接続情報を前記第3の通信手段によって読み取った後、所定時間が経過してから、前記接続情報を用いた無線LAN接続を行うように制御する制御手段と、After a predetermined period of time has elapsed after the third communication means reads connection information for direct connection to the wireless communication device using the wireless communication device as an access point from the wireless communication device that is an external device. A control means for controlling to perform a wireless LAN connection using the connection information;
を有することを特徴とする端末装置。A terminal device comprising:
前記無線通信装置は、近距離無線通信での前記端末装置と通信が行われたことを検知した後、前記所定時間が経過しても前記端末装置から近距離無線通信を介して何の指示も受信しなかったことに基づいて、前記端末装置と無線LANでのダイレクト接続を行うためのアクセスポイント機能を起動することを特徴とする請求項12に記載の端末装置。After the wireless communication device detects that communication has been performed with the terminal device via near field wireless communication, the wireless communication device does not receive any instruction from the terminal device via near field wireless communication even after the predetermined period of time has elapsed. 13. The terminal device according to claim 12, wherein the terminal device activates an access point function for establishing a direct connection with the terminal device via a wireless LAN based on the fact that the terminal device has not received the message. 前記制御手段は、前記無線通信装置から前記接続情報を前記第3の通信手段によって読み取った後、前記第4の通信手段によって現在のネットワーク環境で前記無線通信装置と通信できない場合に、前記所定時間が経過してから、前記接続情報を用いた無線LAN接続を行うように制御することを特徴とする請求項12または13に記載の端末装置。After reading the connection information from the wireless communication device by the third communication device, the control means may control the connection information for the predetermined period of time if the fourth communication device cannot communicate with the wireless communication device in the current network environment. 14. The terminal device according to claim 12, wherein the terminal device is controlled to perform a wireless LAN connection using the connection information after a period of time has elapsed. 前記制御手段は、前記無線通信装置から前記接続情報を前記第3の通信手段によって読み取った後、前記第4の通信手段によって前記無線通信装置と通信できる場合には、前記接続情報を用いた無線LAN接続を行わないように制御することを特徴とする請求項14に記載の端末装置。After reading the connection information from the wireless communication device by the third communication device, the control device is configured to perform wireless communication using the connection information if the fourth communication device can communicate with the wireless communication device. 15. The terminal device according to claim 14, wherein the terminal device is controlled not to make a LAN connection. 近距離無線通信で、外部機器の近距離無線通信手段に対して情報の書き込みを行うことができず、外部機器の近距離無線通信手段から情報の読み取りを行うことが可能な第3の通信手段と、A third communication means that cannot write information to the short-range wireless communication means of an external device in short-range wireless communication, but can read information from the short-range wireless communication means of the external device. and,
無線LANで外部機器と通信する第4の通信手段と、a fourth communication means for communicating with an external device via wireless LAN;
を有する端末装置の制御方法であって、A method for controlling a terminal device having:
外部機器である無線通信装置から、前記無線通信装置をアクセスポイントとして前記無線通信装置にダイレクト接続するための接続情報を前記第3の通信手段によって読み取った後、所定時間が経過してから、前記接続情報を用いた無線LAN接続を行うように制御する制御ステップ、After a predetermined period of time has elapsed after the third communication means reads connection information for direct connection to the wireless communication device using the wireless communication device as an access point from the wireless communication device that is an external device. a control step of controlling to perform a wireless LAN connection using connection information;
を有することを特徴とする端末装置の制御方法。A method for controlling a terminal device, comprising:
少なくとも1つのコンピュータを、請求項12乃至15のいずれか1項に記載された端末装置の各手段として機能させるためのプログラム。A program for causing at least one computer to function as each means of the terminal device according to any one of claims 12 to 15. 少なくとも1つのコンピュータを、請求項12乃至15のいずれか1項に記載された端末装置の各手段として機能させるためのプログラムを記憶したコンピュータが読み取り可能な記憶媒体。A computer-readable storage medium storing a program for causing at least one computer to function as each means of the terminal device according to any one of claims 12 to 15.
JP2019146919A 2019-08-09 2019-08-09 Wireless communication device and its control method, terminal device and its control method, program and storage medium Active JP7446734B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019146919A JP7446734B2 (en) 2019-08-09 2019-08-09 Wireless communication device and its control method, terminal device and its control method, program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019146919A JP7446734B2 (en) 2019-08-09 2019-08-09 Wireless communication device and its control method, terminal device and its control method, program and storage medium

Publications (2)

Publication Number Publication Date
JP2021027566A JP2021027566A (en) 2021-02-22
JP7446734B2 true JP7446734B2 (en) 2024-03-11

Family

ID=74663192

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019146919A Active JP7446734B2 (en) 2019-08-09 2019-08-09 Wireless communication device and its control method, terminal device and its control method, program and storage medium

Country Status (1)

Country Link
JP (1) JP7446734B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014192695A (en) 2013-03-27 2014-10-06 Brother Ind Ltd Information processing device, communication terminal device, and program for information processing device
JP2019013035A (en) 2018-09-19 2019-01-24 キヤノン株式会社 Information processing device, application, method of controlling information processing device, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014192695A (en) 2013-03-27 2014-10-06 Brother Ind Ltd Information processing device, communication terminal device, and program for information processing device
JP2019013035A (en) 2018-09-19 2019-01-24 キヤノン株式会社 Information processing device, application, method of controlling information processing device, and program

Also Published As

Publication number Publication date
JP2021027566A (en) 2021-02-22

Similar Documents

Publication Publication Date Title
US11917479B2 (en) Information processing apparatus, communication terminal, and non-transitory storage medium storing instructions executable by information processing apparatus
JP6624792B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6399831B2 (en) Information processing apparatus, information processing apparatus control method, and program
KR102093639B1 (en) Communication apparatus having direct wireless communication function and method for controlling communication apparatus
JP6800620B2 (en) Information processing equipment, control methods, and programs
US9092179B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US9456292B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
EP2667565A1 (en) Network device, method, and storage medium
JP2015184917A (en) System, information processing apparatus, control method of the information processing apparatus, and program
JP6341786B2 (en) Printing apparatus, printing apparatus control method, program, and printing system
KR20170058307A (en) Printing apparatus and control method of printing apparatus
JP7446734B2 (en) Wireless communication device and its control method, terminal device and its control method, program and storage medium
JP2015114765A (en) Information processor, program, and control method
CN108632486B (en) Information processing apparatus, control method, and storage medium
US10306098B2 (en) Image processing system, image processing device and non-transitory readable recording medium
US10481838B2 (en) Communication device, and non-transitory computer-readable recording medium storing computer-readable instructions for communication device
JP6929632B2 (en) Communication equipment, control methods and programs for communication equipment
US10966272B2 (en) Wireless LAN connection device and non-transitory computer readable medium storing program
JP2018011160A (en) Information processing device, control method thereof, and program
JP4740316B2 (en) Portable communication device
JP2021184209A (en) Information processing device, processing method for information processing device, and program
JPWO2018216437A1 (en) Image forming system and image forming apparatus
JP2019104206A (en) Information processing device, method for starting wi-fi direct in the information processing device, and program
JP2008191885A (en) Communication device control method for thin client
JP2015094990A (en) Information processing apparatus, information processing method, and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220805

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231102

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240228

R151 Written notification of patent or utility model registration

Ref document number: 7446734

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151