JP7293268B2 - COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM - Google Patents
COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM Download PDFInfo
- Publication number
- JP7293268B2 JP7293268B2 JP2021019020A JP2021019020A JP7293268B2 JP 7293268 B2 JP7293268 B2 JP 7293268B2 JP 2021019020 A JP2021019020 A JP 2021019020A JP 2021019020 A JP2021019020 A JP 2021019020A JP 7293268 B2 JP7293268 B2 JP 7293268B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- communication
- mfp
- communication device
- ipv4 address
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Description
本発明は、通信装置及びその制御方法、並びにプログラムに関する。 The present invention relates to a communication device, its control method, and a program.
無線LAN通信機能を備える電子機器としてのMFPが知られている。MFPは、当該MFPとデータ通信を行うための通信アプリケーションがインストールされた外部装置、例えば、モバイル端末と無線LAN通信を行うためにMFPのアドレス情報を含むMFPのIP(Internet Protocol)アドレスを出力する。例えば、MFPは当該MFPの操作パネルにMFPのIPアドレスを含むQR画像を表示する。また、MFPは、NFC(Near Field radio Communication)やBLE(Bluetooth(登録商標) Low Energy)等の近距離無線通信を行ってモバイル端末にMFPのIPアドレスを送信する(例えば、特許文献1及び特許文献2参照)。MFPから出力された該MFPのIPアドレスをモバイル端末が設定すると、MFP及びモバイル端末の間で無線LAN通信が可能になる。
An MFP is known as an electronic device having a wireless LAN communication function. The MFP outputs an IP (Internet Protocol) address of the MFP including address information of the MFP to perform wireless LAN communication with an external device such as a mobile terminal in which a communication application for performing data communication with the MFP is installed. . For example, the MFP displays a QR image containing the IP address of the MFP on its operation panel. In addition, the MFP performs short-range wireless communication such as NFC (Near Field radio Communication) or BLE (Bluetooth (registered trademark) Low Energy) to transmit the IP address of the MFP to the mobile terminal (for example,
ところで、無線LAN通信では、IPアドレスとしてVersion4のIPアドレス(以下、「IPv4アドレス」という。)やVersion6のIPアドレス(以下、「IPv6アドレス」という。)が用いられる。モバイル端末は、IPv4アドレス及びIPv6アドレスのうち当該モバイル端末の通信アプリケーションが対応するバージョンのIPアドレスをMFPから取得する。 By the way, in wireless LAN communication, IP addresses of Version 4 (hereinafter referred to as "IPv4 addresses") and IP addresses of Version 6 (hereinafter referred to as "IPv6 addresses") are used as IP addresses. The mobile terminal acquires from the MFP the IP address of the version corresponding to the communication application of the mobile terminal, out of the IPv4 address and the IPv6 address.
しかしながら、従来では、モバイル端末の通信アプリケーションが対応しないバージョンのIPアドレスをモバイル端末がMFPから取得してしまう場合がある。具体的に、MFPにおいて、ユーザがIPv6アドレスの出力を設定した場合、MFPはIPv4アドレスを出力せず、IPv6アドレスのみを出力する。この場合、モバイル端末は、IPv4アドレスのみに対応する通信アプリケーションがインストールされていても、MFPから当該MFPのIPv6アドレスを取得してしまう。その結果、モバイル端末は、不要なIPv6アドレスの解析処理を行い、IPアドレスの解析の負荷が必要以上に増加してしまう。 However, conventionally, there are cases where the mobile terminal obtains from the MFP an IP address of a version that is not supported by the communication application of the mobile terminal. Specifically, when the user sets the output of the IPv6 address in the MFP, the MFP does not output the IPv4 address and outputs only the IPv6 address. In this case, the mobile terminal acquires the IPv6 address of the MFP from the MFP even if a communication application that supports only IPv4 addresses is installed. As a result, the mobile terminal performs unnecessary IPv6 address analysis processing, and the load of IP address analysis increases more than necessary.
本発明の目的は、IPv6アドレスに対応しない外部装置がIPv6アドレスを取得するのを確実に回避することができる通信装置及びその制御方法、並びにプログラムを提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a communication device, a control method thereof, and a program that can reliably prevent an external device that does not support IPv6 addresses from acquiring an IPv6 address.
上記目的を達成するために、本発明の通信装置は、外部装置とのデータ通信にIPv4アドレス又はIPv6アドレスを利用する通信装置であって、前記データ通信を行うための前記通信装置のアドレスを含むコード画像を表示する表示制御手段を有し、前記IPv4アドレス及び前記IPv6アドレスの両方を利用する設定がなされている場合に、前記表示制御手段により表示される前記コード画像は、前記通信装置のアドレスとして、前記通信装置のIPv4アドレスを含み、前記通信装置のIPv6アドレスを含まず、前記IPv4アドレスを利用しない設定がなされており、前記IPv6アドレスを利用する設定がなされている場合、前記通信装置のアドレスを含む前記コード画像は表示されないことを特徴とする。 To achieve the above object, a communication device of the present invention uses an IPv4 address or an IPv6 address for data communication with an external device, and includes an address of the communication device for performing the data communication. The display control means for displaying a code image is provided, and when the setting is made to use both the IPv4 address and the IPv6 address, the code image displayed by the display control means is the address of the communication device. includes the IPv4 address of the communication device, does not include the IPv6 address of the communication device, and is set not to use the IPv4 address. The code image including the address is not displayed .
本発明によれば、IPv6アドレスに対応しない外部装置がIPv6アドレスを取得するのを回避することができる。 According to the present invention, it is possible to avoid acquisition of an IPv6 address by an external device that does not support IPv6 addresses.
以下、本発明の実施の形態を図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
本実施の形態では、電子機器としてのMFPに本発明を適用した場合について説明するが、本発明の適用先はMFPに限られず、例えば、外部装置とデータ通信可能なパーソナルコンピュータ(PC)やカメラ等の装置であれば本発明を適用することができる。 In the present embodiment, a case where the present invention is applied to an MFP as an electronic device will be described, but the application of the present invention is not limited to the MFP. The present invention can be applied to any device such as
図1は、本発明の第1の実施の形態に係る電子機器としてのMFP101を含む通信システム100の構成を概略的に示す構成図である。
FIG. 1 is a configuration diagram schematically showing the configuration of a
図1において、通信システム100は、MFP101、アクセスポイント102、及び外部装置としてのモバイル端末103を備える。
In FIG. 1,
MFP101はIPv(Internet Protocol version)4アドレス及びIPv6アドレスの両方に対応する。MFP101は、ユーザの後述する図3の設定画面300の設定によってIPv4アドレス及びIPv6アドレスの各々に対して使用を許可するか否かが設定される。MFP101はIPv4アドレス及びIPv6アドレスのうち使用が許可されたIPアドレスを出力する。例えば、MFP101は使用が許可されたIPアドレスを含むQR画像を後述する図2の操作表示部214に表示する。また、MFP101は使用が許可されたIPアドレスをNFC(Near Field radio Communication)通信やBLE通信等の近距離無線通信によってモバイル端末103に送信する。アクセスポイント102はDHCPサーバであり、MFP101及びモバイル端末103のそれぞれにIPアドレスを割り当て、割り当てられたIPアドレスのそれぞれをMFP101及びモバイル端末103に通知する。モバイル端末103はMFP101とデータ通信を行うための図示しない通信アプリケーションがインストールされている。モバイル端末103は、MFP101に表示されたQR画像の読み取りや、近距離無線通信を行ってMFP101からモバイル端末103の通信アプリケーションが対応するバージョンのIPアドレスを取得し、当該IPアドレスを設定する。これにより、MFP101及びモバイル端末103の間でアクセスポイント102を介した無線LAN通信が可能になる。なお、本実施の形態では、無線LAN通信の一例として、アクセスポイント102を介する通信について説明するが、無線LAN通信はアクセスポイント102を介する通信に限定されない。例えば、アクセスポイント102を介さず、Wi-Fi Direct等によってMFP101及びモバイル端末103が直接無線LAN通信を行ってもよい。
The MFP 101 supports both IPv (Internet Protocol version) 4 addresses and IPv6 addresses. In the
図2は、図1のMFP101の構成を概略的に示すブロック図である。
FIG. 2 is a block diagram schematically showing the configuration of
図2において、MFP101は、制御部200、プリンタ部212、スキャナ部213、操作表示部214、無線LAN通信部215、有線LAN通信部216、BLE通信部217、及びNFC通信部218を備える。制御部200は、プリンタ部212、スキャナ部213、操作表示部214、無線LAN通信部215、有線LAN通信部216、BLE通信部217、及びNFC通信部218のそれぞれと接続されている。制御部200はCPU201、RAM202、ROM203、HDD204、プリンタI/F205、スキャナI/F206、操作表示部I/F207、無線LANI/F208、有線LANI/F209、BLEI/F210、及びNFCI/F211を備える。CPU201、RAM202、ROM203、HDD204、プリンタI/F205、スキャナI/F206、操作表示部I/F207、無線LANI/F208、有線LANI/F209、BLEI/F210、及びNFCI/F211はシステムバス219を介して互いに接続さている。
2, the MFP 101 includes a
制御部200はMFP101を統括的に制御する。CPU201はROM203やHDD204に格納されたプログラムを実行して各制御を行う。RAM202はCPU201の作業領域として用いられ、また、RAM202は各データの一時格納領域として用いられる。ROM203はCPU201が実行するプログラムやアクセスポイント102から通知されたMFP101のIPアドレス等を格納する。HDD204はプログラムや各データを格納する。プリンタI/F205はプリンタ部212とデータ通信を行い、スキャナI/F206はスキャナ部213とデータ通信を行い、操作表示部I/F207は操作表示部214とデータ通信を行う。無線LANI/F208は無線LAN通信部215とデータ通信を行い、有線LANI/F209は有線LAN通信部216とデータ通信を行い、BLEI/F210はBLE通信部217とデータ通信を行う。NFCI/F211はNFC通信部218とデータ通信を行う。
A
プリンタ部212はモバイル端末103から取得した印刷データ等に基づいて印刷を行う。スキャナ部213は図示しない原稿台に配置された原稿を読み取って画像データを生成する。操作表示部214はタッチパネル機能を有する図示しない表示部やキーボードを備える。例えば、操作表示部214はMFP101のIPアドレスを含むQR画像を表示する。また、操作表示部214はIPv4アドレス及びIPv6アドレスの各々の使用を許可するか否かを設定する図3の設定画面300を表示する。設定画面300はONボタン301,303及びOFFボタン302,304を含む。ユーザが各ONボタン301,303を設定した場合、IPv4アドレス及びIPv6アドレスの各使用が許可され、ユーザが各OFFボタン302,304を設定した場合、IPv4アドレス及びIPv6アドレスの各使用が許可されない。無線LAN通信部215は、IPv4アドレス及びIPv6アドレスのうち設定画面300の設定において使用が許可されたIPアドレスを用いてモバイル端末103と無線LAN通信を行う。有線LAN通信部216は図示しないLANケーブルで接続された外部装置と有線LAN通信を行う。BLE通信部217はBLE通信可能な外部装置とBLE通信を行い、NFC通信部218はNFC通信可能な外部装置とNFC通信を行う。
A
図4は、図1のモバイル端末103の構成を概略的に示すブロック図である。
FIG. 4 is a block diagram schematically showing the configuration of
図4において、モバイル端末103は制御部400、操作表示部410、カメラ部411、無線LAN通信部412、3G/LTE通信部413、BLE通信部414、及びNFC通信部415を備える。制御部400は、操作表示部410、カメラ部411、無線LAN通信部412、3G/LTE通信部413、BLE通信部414、及びNFC通信部415のそれぞれと接続されている。制御部400は、CPU401、RAM402、ROM403、操作表示部I/F404、カメラ制御部405、無線LANI/F406、3GLTEI/F407、BLEI/F408、及びNFCI/F409を備える。CPU401、RAM402、ROM403、操作表示部I/F404、カメラ制御部405、無線LANI/F406、3GLTEI/F407、BLEI/F408、及びNFCI/F409はシステムバス416を介して互いに接続されている。
4,
制御部400はモバイル端末103を統括的に制御する。CPU401はROM403に格納されたプログラムを実行して各制御を行う。RAM402はCPU401の作業領域として用いられ、また、RAM402は各データの一時格納領域として用いられる。ROM403はCPU401が実行するプログラムや各データを格納する。操作表示部I/F404は操作表示部410とデータ通信を行い、カメラ制御部405はカメラ部411とデータ通信を行い、無線LANI/F406は無線LAN通信部412とデータ通信を行う。3GLTEI/F407は3G/LTE通信部413とデータ通信を行い、BLEI/F408はBLE通信部414とデータ通信を行い、NFCI/F409はNFC通信部415とデータ通信を行う。
A
操作表示部410はタッチパネル機能を有する図示しない表示部やキーボードを備える。カメラ部411はMFP101に表示されたQR画像等を撮影し、当該QR画像からMFP101のIPアドレスを取得する。無線LAN通信部412はアクセスポイント102を介してMFP101と無線LAN通信を行う。3G/LTE通信部413は基地局と3G通信及びLTE通信を行う。BLE通信部414はBLE通信可能な外部装置とBLE通信を行い、NFC通信部415はNFC通信可能な外部装置とNFC通信を行う。
The
次に、通信システム100において、MFP101の操作表示部214に表示されたQR画像を用いて無線LAN通信の設定を行う場合について説明する。
Next, in the
図5は、図1のMFP101に表示されるQR画像を用いた無線LAN通信設定処理の手順を示すタイミングチャートである。
FIG. 5 is a timing chart showing the procedure of wireless LAN communication setting processing using the QR image displayed on the
図5において、まず、MFP101は無線LAN通信の設定に必要な各情報を含む図6(a)のQRデータ601に基づいてQR画像を生成する。QRデータには、設定画面300の設定において、使用が許可されたバージョンのIPアドレスが含まれ、使用が許可されないバージョンのIPアドレスは含まれない。例えば、設定画面300の設定において、IPv4アドレス及びIPv6アドレスのいずれも使用が許可されない場合、図6(b)に示すように、QRデータ602にはIPアドレスが含まれない。次いで、MFP101は生成されたQR画像を操作表示部214に表示する(ステップS501)。その後、ユーザがモバイル端末103にQR画像の撮影指示を行うと、モバイル端末103はMFP101の操作表示部214に表示されたQR画像を撮影し(ステップS502)、当該QR画像からMFP101のIPアドレスを取得する(ステップS503)。次いで、モバイル端末103は取得されたMFP101のIPアドレスを設定する。これにより、MFP101及びモバイル端末103の間の無線LAN通信が確立する。その後、通信システム100は本処理を終了する。
In FIG. 5, first, the
ここで、従来のMFPは、設定画面300の設定において、IPv6アドレスのみ使用が許可された場合、IPv4アドレス及びIPv6アドレスのうちIPv6アドレスのみを含むQR画像を操作表示部214に表示する。この場合、モバイル端末103が上記QR画像を読み取ると、モバイル端末103がIPv6アドレスに対応していなくても、IPv6アドレスを取得してしまう。
Here, the conventional MFP displays a QR image including only the IPv6 address among the IPv4 address and the IPv6 address on the
これに対応して、本実施の形態では、IPv4アドレスが使用不可能である場合、IPv4アドレス及びIPv6アドレスのいずれも出力されない。 Correspondingly, in this embodiment, if the IPv4 address is not available, neither the IPv4 address nor the IPv6 address is output.
図7は、図1のMFP101で実行されるQR画像表示制御処理の手順を示すフローチャートである。
FIG. 7 is a flow chart showing the procedure of QR image display control processing executed by the
図7の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われる。図7の処理では、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 7 is performed by the
図7において、まず、CPU201は後述する図8の識別処理を実行し、MFP101のIPv4アドレスが有効であるか否かを識別する(ステップS701)。次いで、CPU201は、ステップS701の識別結果に基づいてIPv4アドレスが使用不可能であるか否かを判別する(ステップS702)。例えば、ステップS701の識別結果において、MFP101のIPv4アドレスが有効であるとき、CPU201はIPv4アドレスが使用可能であると判別する。一方、ステップS701の識別結果において、MFP101のIPv4アドレスが無効であるとき、CPU201はIPv4アドレスが使用不可能であると判別する。
In FIG. 7, the
ステップS702の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201はROM203に格納されたMFP101のIPv4アドレスを含むQR画像を生成する(ステップS703)。次いで、CPU201は生成されたQR画像を操作表示部214に表示する(ステップS704)。その後、CPU201は後述するステップS706の処理を行う。
As a result of determination in step S702, when the IPv4 address of
ステップS702の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201はMFP101のIPv4アドレス及びIPv6アドレスのいずれも出力しない(出力制御手段)。具体的に、CPU201は操作表示部214にMFP101のIPアドレスを含むQR画像を表示しない(ステップS705)。次いで、CPU201はMFP101のIPv4アドレスが変更されたか否かを判別し(ステップS706)、MFP101のIPv4アドレスが変更されるまで待機する。例えば、CPU201は、ROM203に格納されたIPv4アドレスと異なるIPアドレスがアクセスポイント102から通知された場合や、当該IPv4アドレスのリース期間が経過した場合等にIPアドレスが変更されたと判別する。CPU201はMFP101のIPv4アドレスが変更されると(ステップS706でYES)、ステップS701の処理に戻る。
As a result of determination in step S702, when the IPv4 address of the
図8は、図7のステップS701の識別処理の手順を示すフローチャートである。 FIG. 8 is a flow chart showing the procedure of identification processing in step S701 of FIG.
図8において、まず、CPU201は、設定画面300の設定において、IPv4アドレスの使用が許可されたか否かを判別する(ステップS801)。
In FIG. 8, first, the
ステップS801の判別の結果、IPv4アドレスの使用が許可されないとき、CPU201は後述するステップS804の処理を行う。一方、ステップS801の判別の結果、IPv4アドレスの使用が許可されたとき、CPU201はアクセスポイント102から通知されたMFP101のIPv4アドレスをROM203等に格納しているか否かを判別する(ステップS802)。
As a result of the determination in step S801, when the use of the IPv4 address is not permitted, the
ステップS802の判別の結果、MFP101のIPv4アドレスを格納しているとき、CPU201はMFP101のIPv4アドレスを有効と識別し(ステップS803)、本処理を終了する。一方、ステップS802の判別の結果、MFP101のIPv4アドレスを格納していないとき、CPU201はMFP101のIPv4アドレスを無効と識別し(ステップS804)、本処理を終了する。
As a result of the determination in step S802, when the IPv4 address of the
上述した図7及ぶ図8の処理によれば、IPv4アドレスが使用不可能である場合、IPv4アドレス及びIPv6アドレスのいずれも出力されない。これにより、IPv6アドレスのみしか出力されない事態をなくすことができ、もって、IPv6アドレスに対応しないモバイル端末103がIPv6アドレスを取得するのを確実に回避することができる。
According to the processing of FIGS. 7 and 8 described above, neither the IPv4 address nor the IPv6 address is output when the IPv4 address is unavailable. As a result, it is possible to eliminate the situation where only the IPv6 address is output, thereby reliably avoiding the acquisition of the IPv6 address by the
また、上述した図7及ぶ図8の処理では、IPv4アドレスが使用不可能である場合、QR画像が表示されない。これにより、IPv6アドレスに対応しないモバイル端末103がQR画像からIPv6アドレスを取得する事態を確実になくすことができる。
Also, in the above-described processing of FIGS. 7 and 8, the QR image is not displayed when the IPv4 address is unavailable. This reliably prevents the
以上、本発明について、上述した実施の形態を用いて説明したが、本発明は上述した実施の形態に限定されるものではない。 Although the present invention has been described using the above-described embodiments, the present invention is not limited to the above-described embodiments.
例えば、IPv4アドレスが使用不可能である場合、MFP101のアドレス情報が未設定であることを示すIPv4アドレスを出力してもよい。
For example, if the IPv4 address cannot be used, an IPv4 address indicating that the address information of the
図9は、図7のQR画像表示制御処理の変形例の手順を示すフローチャートである。 FIG. 9 is a flow chart showing the procedure of a modification of the QR image display control process of FIG.
図9の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われる。図9の処理でも、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 9 is performed by the
図9において、まず、CPU201は図7のステップS701,S702の処理を行う。
In FIG. 9, first, the
ステップS702の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201はステップS703以降の処理を行う。一方、ステップS702の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201はIPv4アドレスとしてアドレス情報が未設定であることを示す「0.0.0.0」が設定された図10のQRデータ1001を生成する。その後、CPU201はQRデータ1001に基づいてQR画像を生成し(ステップS901)、ステップS704以降の処理を行う。
As a result of the determination in step S702, when the IPv4 address of the
図11は、図1のモバイル端末103で実行されるIPアドレス取得処理の手順を示すフローチャートである。
FIG. 11 is a flow chart showing the procedure of IP address acquisition processing executed by the
図11の処理は、CPU401がROM403に格納されたプログラムを実行することによって行われ、モバイル端末103はIPv4アドレスのみ対応する場合を前提とする。
The processing in FIG. 11 is performed by the
図11において、ユーザがQR画像を読み取るためにモバイル端末103をMFP101の操作表示部214にかざすと、CPU401は、操作表示部214にQR画像が表示されているか否かを判別する(ステップS1101)。
In FIG. 11, when the user holds the
ステップS1101の判別の結果、操作表示部214にQR画像が表示されていないとき、CPU401は本処理を終了する。一方、ステップS1101の判別の結果、操作表示部214にQR画像が表示されているとき、CPU401はカメラ部411によってQR画像を撮影する。CPU401は、撮影されたQR画像から、モバイル端末103にインストールされた通信アプリケーションが対応するバージョンのIPアドレス、具体的に、MFP101のIPv4アドレスを取得する。その後、CPU401は取得されたIPv4アドレスが「0.0.0.0」であるか否かを判別する(ステップS1102)。
When the QR image is not displayed on the
ステップS1102の判別の結果、取得されたIPv4アドレスが「0.0.0.0」であるとき、CPU401は図12のエラーメッセージ1201を操作表示部410に表示する(ステップS1103)。エラーメッセージ1201は、IPv4アドレスが「0.0.0.0」である、つまり、IPv4アドレスにMFP101のアドレス情報が未設定である旨を示すメッセージを含む。その後、CPU401は本処理を終了する。
As a result of the determination in step S1102, when the acquired IPv4 address is "0.0.0.0", the
ステップS1102の判別の結果、取得されたIPアドレスが「0.0.0.0」でないとき、CPU401は取得されたIPアドレスを設定し(ステップS1104)、本処理を終了する。
As a result of the determination in step S1102, when the acquired IP address is not "0.0.0.0", the
図9及び図11の処理では、IPv4アドレスが使用不可能である場合、アドレス情報が未設定であることを示す「0.0.0.0」のIPv4アドレスが出力される。これにより、IPv6アドレスに対応しないモバイル端末103がIPv6アドレスを取得することなく、且つMFP101において当該MFP101のアドレス情報が未設定である旨をユーザに通知することができる。
In the processing of FIGS. 9 and 11, when the IPv4 address cannot be used, an IPv4 address of "0.0.0.0" indicating that the address information has not been set is output. As a result, the
また、図9及び図11の処理では、IPv4アドレスが使用不可能である場合、MFP101のアドレス情報が未設定であることを示すIPv4アドレスを含むQR画像が表示される。これにより、モバイル端末103がQR画像からIPv4アドレスを取得する場合、当該QR画像からMFP101のアドレス情報を得られなかった旨をユーザに確実に通知することができる。
9 and 11, when the IPv4 address cannot be used, a QR image including the IPv4 address indicating that the address information of the
次に、本発明の第2の実施の形態について説明する。 Next, a second embodiment of the invention will be described.
本発明の第2の実施の形態は、その構成、作用が上述した第1の実施の形態と基本的に同じであり、IPアドレスの出力としてBLE通信を用いる点で本発明の第1の実施の形態と異なるため、以下、重複した構成、作用については説明を省略し、異なる構成、作用についての説明を行う。 The second embodiment of the present invention is basically the same as the above-described first embodiment in terms of its configuration and operation, and uses BLE communication to output IP addresses. 2, the description of duplicated configurations and actions will be omitted, and only the different configurations and actions will be described.
図13は、図1の通信システム100で実行されるBLE通信による無線LAN通信設定処理の手順を示すタイミングチャートである。
FIG. 13 is a timing chart showing a procedure of wireless LAN communication setting processing by BLE communication executed in the
図13において、まず、モバイル端末103は、MFP101から当該MFP101がBLE通信可能である旨を示すアドバタイジングパケットを受信すると、MFP101にBLE通信要求通知を送信する(ステップS1301)。これにより、MFP101及びモバイル端末103の間でBLE通信が可能になる。次いで、モバイル端末103は当該モバイル端末103にインストールされた通信アプリケーションが対応するバージョンのIPアドレス、例えば、MFP101のIPv4アドレスの要求通知をMFP101に送信する(ステップS1302)。
In FIG. 13, first, when the
MFP101はモバイル端末103から送信されたMFP101のIPv4アドレスの要求通知に応じて応答通知をモバイル端末103に送信する(ステップS1303)。応答通知は無線LAN通信の設定に必要な各情報を含む。例えば、設定画面300の設定において、IPv4アドレスの使用が許可された場合、応答通知には、図14(a)に示すように、MFP101のIPv4アドレスが含まれる。
The
モバイル端末103はMFP101から応答通知を受信すると、応答通知に含まれるMFP101のIPv4アドレスを設定し(ステップS1304)、MFP101にBLE通信の切断要求通知を送信する(ステップS1305)。これにより、MFP101及びモバイル端末103の間では、BLE通信が切断され、無線LAN通信が確立される。その後、通信システム100は本処理を終了する。
Upon receiving the response notification from the
図15は、図1のMFP101で実行されるBLE通信によるIPアドレス通信処理の手順を示すフローチャートである。
FIG. 15 is a flow chart showing the procedure of IP address communication processing by BLE communication executed by the
図15の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われ、MFP101及びモバイル端末103の間でBLE通信可能であることを前提とする。また、図15の処理でも、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 15 is performed by the
図15において、まず、CPU201は、MFP101のIPv4アドレスの要求通知を受信したか否かを判別する(ステップS1501)。CPU201は、MFP101のIPv4アドレスの要求通知を受信するまで待機し、当該要求通知をモバイル端末103から受信すると(ステップS1501でYES)、図7のステップS701の処理を行う。次いで、CPU201はステップS701の識別結果に基づいてMFP101のIPv4アドレスが使用不可能であるか否かを判別する(ステップS1502)。
In FIG. 15, first, the
ステップS1502の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201はMFP101のIPv4アドレスを含む応答通知を生成する(ステップS1503)。次いで、CPU201はBLE通信によって応答通知をモバイル端末103に送信し(ステップS1504)、ステップS1501の処理に戻る。
As a result of the determination in step S1502, when the IPv4 address of
ステップS1502の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201はMFP101のIPv4アドレスの要求通知に応答しない(ステップS1505)。すなわち、本実施の形態では、MFP101のIPv4アドレスが使用不可能である場合、CPU201はIPv4アドレス及びIPv6アドレスのいずれもBLE通信によって送信しない。その後、CPU201はステップS1501の処理に戻る。
As a result of determination in step S1502, when the IPv4 address of the
図15の処理では、モバイル端末103からMFP101のIPv4アドレスの要求通知を受信し、且つMFP101のIPv4アドレスが使用不可能である場合、IPv4アドレス及びIPv6アドレスのいずれもBLE通信によって送信されない。これにより、IPv6アドレスに対応しないモバイル端末103にBLE通信によってIPv6アドレスが送信されるのを確実に防止することができる。
In the process of FIG. 15, when a request notification for the IPv4 address of the
図16は、図15のBLE通信によるIPアドレス通信処理の変形例の手順を示すフローチャートである。 FIG. 16 is a flow chart showing the procedure of a modification of the IP address communication process by BLE communication in FIG.
図16の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われる。図16の処理でも、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 16 is performed by the
図16において、まず、CPU201は図15のステップS1501、S701、及びS1502の処理を行う。
In FIG. 16, the
ステップS1502の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201は図15のステップS1503以降の処理を行う。一方、ステップS1502の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201は、図14(b)に示すように、「0.0.0.0」が設定されたIPv4アドレスを含む応答通知を生成する(ステップS1601)。その後、CPU201はステップS1504以降の処理を行う。
As a result of the determination in step S1502, when the IPv4 address of the
上述した図16の処理では、モバイル端末103からIPv4アドレスの要求通知を受信した際にMFP101のIPv4アドレスが使用不可能である場合、「0.0.0.0」が設定されたIPv4アドレスを含む応答通知がBLE通信によって送信される。これにより、モバイル端末103がBLE通信によってIPv4アドレスを取得する場合、当該BLE通信によってMFP101のアドレス情報を得られなかった旨をユーザに確実に通知することができる。
In the process of FIG. 16 described above, when the IPv4 address request notification from the
上述した本実施の形態では、MFP101及びモバイル端末103の間でBLE通信が確立していることを前提としたが、BLE通信が確立する前にMFP101が「0.0.0.0」のIPv4アドレスを送信してもよい。具体的に、MFP101はBLE通信の設定を行うために送信されるアドバタイズパケットに「0.0.0.0」のIPv4アドレスを含める。これにより、BLE通信が確立されるのを待つことなく、BLE通信によってMFP101のアドレス情報を得られない旨をユーザに事前に通知することができる。
In the present embodiment described above, it is assumed that BLE communication has been established between the
次に、本発明の第3の実施の形態について説明する。 Next, a third embodiment of the invention will be described.
本発明の第3の実施の形態は、その構成、作用が上述した第1の実施の形態及び第2の実施の形態と基本的に同じであり、IPアドレスの出力としてNFC通信を用いる点で本発明の第1の実施の形態及び第2の実施の形態と異なるため、以下、重複した構成、作用については説明を省略し、異なる構成、作用についての説明を行う。 The third embodiment of the present invention is basically the same as the above-described first and second embodiments in terms of configuration and operation, and uses NFC communication to output IP addresses. Since it is different from the first embodiment and the second embodiment of the present invention, explanations of redundant configurations and actions will be omitted, and different configurations and actions will be explained.
図17は、図1の通信システム100で実行されるNFC通信による無線LAN通信設定処理の手順を示すタイミングチャートである。図17の処理では、MFP101のIPアドレス等の無線LAN通信の設定に必要な各情報を含む図18(a)のNDFEデータ1801(管理データ)が予め格納されていることを前提とする。
FIG. 17 is a timing chart showing a procedure of wireless LAN communication setting processing by NFC communication executed in the
図17において、まず、ユーザがモバイル端末103をMFP101のNFC通信部218にかざすと、モバイル端末103はMFP101に格納されたNDFEデータ1801を読み取る(ステップS1701)。次いで、モバイル端末103はNDFEデータ1801からモバイル端末103にインストールされた通信アプリケーションが対応するバージョンのIPアドレス、例えば、MFP101のIPv4アドレスを取得する(ステップS1702)。次いで、モバイル端末103は取得されたIPv4アドレスを設定する(ステップS1703)。これにより、MFP101及びモバイル端末103の間で無線LAN通信が確立される。その後、通信システム100は本処理を終了する。
In FIG. 17, first, when the user holds the
図19は、図1のMFP101で実行されるNFC通信によるIPアドレス通信処理の手順を示すフローチャートである。
FIG. 19 is a flow chart showing a procedure of IP address communication processing by NFC communication executed by the
図19の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われる。図19の処理でも、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 19 is performed by the
図19において、まず、CPU201は図7のステップS701を行い、ステップS701の識別結果に基づいてMFP101のIPv4アドレスが使用不可能であるか否かを判別する(ステップS1901)。
19, the
ステップS1901の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201はNDEFデータを生成しない(ステップS1902)。次いで、CPU201は図7のステップS706以降の処理を行う。
As a result of determination in step S1901, when the IPv4 address of the
ステップS1901の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201はMFP101のIPv4アドレスを含むNDEFデータ1801を生成する(ステップS1903)。その後、CPU201は、NDEFデータ1801を図示しないNFCタグに書き込み、図7のステップS706以降の処理を行う。
As a result of determination in step S1901, when the IPv4 address of the
上述した図19の処理では、IPv4アドレスが使用不可能である場合、NDEFデータが生成されない。これにより、IPv6アドレスに対応しないモバイル端末103がNFC通信によってIPv6アドレスを取得するのを確実に回避することができる。
In the process of FIG. 19 described above, NDEF data is not generated if the IPv4 address is not available. This can reliably prevent the
図20は、図1のMFP101で実行されるNFC通信によるIPアドレス通信処理の変形例の手順を示すフローチャートである。
FIG. 20 is a flow chart showing a procedure of a modification of IP address communication processing by NFC communication executed by
図20の処理は、CPU201がROM203及びHDD204に格納されたプログラムを実行することによって行われる。図20の処理でも、説明を容易にするために、設定画面300の設定において、IPv6アドレスの使用が許可された場合を前提とする。
The processing in FIG. 20 is performed by the
図20において、まず、CPU201はステップS701及びS1901の処理を行う。
In FIG. 20, the
ステップS1901の判別の結果、MFP101のIPv4アドレスが使用可能であるとき、CPU201は図19のステップS1903以降の処理を行う。一方、ステップS1901の判別の結果、MFP101のIPv4アドレスが使用不可能であるとき、CPU201は「0.0.0.0」のIPv4アドレスを含む図18(b)のNDEFデータ1802を生成する(ステップS2001)。次いで、CPU201は図7のステップS706以降の処理を行う。
As a result of the determination in step S1901, when the IPv4 address of the
上述した図20の処理では、IPv4アドレスが使用不可能である場合、「0.0.0.0」のIPv4アドレスを含むNDEFデータ1802が生成される。これにより、モバイル端末103がNFC通信によってIPアドレスを取得する場合、当該NFC通信によってMFP101のアドレス情報を得られなかった旨をユーザに確実に通知することができる。
In the process of FIG. 20 described above,
上述した本実施の形態では、IPアドレスの出力手段として、QR画像、BLE通信、及びNFC通信を用いた場合について説明したが、IPアドレスの出力手段はQR画像、BLE通信、及びNFC通信に限られない。例えば、ZigbeeやクラシックBluetooth(登録商標)等を用いてMFP101のIPアドレスを出力してもよい。
In the above-described embodiment, the case of using the QR image, BLE communication, and NFC communication as means for outputting the IP address has been described, but the means for outputting the IP address is limited to the QR image, BLE communication, and NFC communication. can't For example, the IP address of the
本発明は、上述の実施の形態の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、該システム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出して実行する処理でも実現可能である。また、本発明は、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。 The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus reads the program. It can also be realized by executing processing. The invention can also be implemented by a circuit (eg, an ASIC) that implements one or more functions.
101 MFP
103 モバイル端末
201 CPU
101 MFPs
103
Claims (10)
前記データ通信を行うための前記通信装置のアドレスを含むコード画像を表示する表示制御手段を有し、
前記IPv4アドレス及び前記IPv6アドレスの両方を利用する設定がなされている場合に、前記表示制御手段により表示される前記コード画像は、前記通信装置のアドレスとして、前記通信装置のIPv4アドレスを含み、前記通信装置のIPv6アドレスを含まず、
前記IPv4アドレスを利用しない設定がなされており、前記IPv6アドレスを利用する設定がなされている場合、前記通信装置のアドレスを含む前記コード画像は表示されないことを特徴とする通信装置。 A communication device that uses an IPv4 address or an IPv6 address for data communication with an external device,
display control means for displaying a code image including the address of the communication device for performing the data communication;
When settings are made to use both the IPv4 address and the IPv6 address, the code image displayed by the display control means includes the IPv4 address of the communication device as the address of the communication device, and not including the IPv6 address of the communication device,
The communication device, wherein the code image including the address of the communication device is not displayed when the IPv4 address is set not to be used and the IPv6 address is set to be used.
前記データ通信を行うための前記通信装置のアドレスを含むコード画像を表示する表示制御工程を有し、
前記IPv4アドレス及び前記IPv6アドレスの両方を利用する設定がなされている場合に、前記表示制御工程にて表示される前記コード画像は、前記通信装置のアドレスとして、前記通信装置のIPv4アドレスを含み、前記通信装置のIPv6アドレスを含まず、
前記IPv4アドレスを利用しない設定がなされており、前記IPv6アドレスを利用する設定がなされている場合、前記通信装置のアドレスを含む前記コード画像は表示されないことを特徴とする通信装置の制御方法。 A control method for a communication device using an IPv4 address or an IPv6 address for data communication with an external device,
a display control step of displaying a code image including an address of the communication device for performing the data communication;
when settings are made to use both the IPv4 address and the IPv6 address, the code image displayed in the display control step includes the IPv4 address of the communication device as the address of the communication device; not including the IPv6 address of the communication device,
A method of controlling a communication device, wherein the code image including the address of the communication device is not displayed when the IPv4 address is set not to be used and the IPv6 address is set to be used.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021019020A JP7293268B2 (en) | 2016-05-12 | 2021-02-09 | COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016096158A JP6843522B2 (en) | 2016-05-12 | 2016-05-12 | Communication equipment and its control method, and programs |
| JP2021019020A JP7293268B2 (en) | 2016-05-12 | 2021-02-09 | COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016096158A Division JP6843522B2 (en) | 2016-05-12 | 2016-05-12 | Communication equipment and its control method, and programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021078150A JP2021078150A (en) | 2021-05-20 |
| JP7293268B2 true JP7293268B2 (en) | 2023-06-19 |
Family
ID=86772564
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021019020A Active JP7293268B2 (en) | 2016-05-12 | 2021-02-09 | COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7293268B2 (en) |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005199627A (en) | 2004-01-19 | 2005-07-28 | Ricoh Co Ltd | Image processing apparatus having output authentication function for confidential print data |
| JP2014071488A (en) | 2012-09-27 | 2014-04-21 | Brother Ind Ltd | Function execution device |
| JP2014085968A (en) | 2012-10-25 | 2014-05-12 | Kyocera Document Solutions Inc | Electronic device, application distribution program and application distribution system |
| JP2015002427A (en) | 2013-06-14 | 2015-01-05 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
| JP2015050513A (en) | 2013-08-30 | 2015-03-16 | コニカミノルタ株式会社 | Mobile terminal device, and method and program for registering image processing device thereto |
| JP2015060242A (en) | 2013-09-17 | 2015-03-30 | コニカミノルタ株式会社 | Network system, code providing device, terminal device, code, communication method, and computer program |
| WO2015088481A1 (en) | 2013-12-09 | 2015-06-18 | Nokia Technologies Oy | Switching to advertising locator after connection establishment |
| JP2017136709A (en) | 2016-02-02 | 2017-08-10 | コニカミノルタ株式会社 | Image forming apparatus, image management apparatus, reading apparatus, and image formation control program |
| JP2017204769A (en) | 2016-05-12 | 2017-11-16 | キヤノン株式会社 | Electronic device, control method of the same, and program |
-
2021
- 2021-02-09 JP JP2021019020A patent/JP7293268B2/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005199627A (en) | 2004-01-19 | 2005-07-28 | Ricoh Co Ltd | Image processing apparatus having output authentication function for confidential print data |
| JP2014071488A (en) | 2012-09-27 | 2014-04-21 | Brother Ind Ltd | Function execution device |
| JP2014085968A (en) | 2012-10-25 | 2014-05-12 | Kyocera Document Solutions Inc | Electronic device, application distribution program and application distribution system |
| JP2015002427A (en) | 2013-06-14 | 2015-01-05 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM |
| JP2015050513A (en) | 2013-08-30 | 2015-03-16 | コニカミノルタ株式会社 | Mobile terminal device, and method and program for registering image processing device thereto |
| JP2015060242A (en) | 2013-09-17 | 2015-03-30 | コニカミノルタ株式会社 | Network system, code providing device, terminal device, code, communication method, and computer program |
| WO2015088481A1 (en) | 2013-12-09 | 2015-06-18 | Nokia Technologies Oy | Switching to advertising locator after connection establishment |
| JP2017136709A (en) | 2016-02-02 | 2017-08-10 | コニカミノルタ株式会社 | Image forming apparatus, image management apparatus, reading apparatus, and image formation control program |
| JP2017204769A (en) | 2016-05-12 | 2017-11-16 | キヤノン株式会社 | Electronic device, control method of the same, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021078150A (en) | 2021-05-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10866776B2 (en) | Pull printing method and system using cloud server | |
| US9612777B2 (en) | Pull printing method, apparatus and system | |
| JP6214177B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM | |
| US11343389B2 (en) | Writing IPV4 or IPV6 information into an NFC tag attached to an image forming apparatus | |
| US20150081845A1 (en) | Communication terminal, information processing method, and storage medium | |
| JP2015149625A (en) | Communication device, control method of the same and program | |
| JP6108868B2 (en) | Printing apparatus, printing apparatus control method, and program | |
| US20220006775A1 (en) | Information processing apparatus, information processing method and recording medium | |
| JP6843522B2 (en) | Communication equipment and its control method, and programs | |
| JP6182919B2 (en) | Communication program and communication device | |
| EP3413599B1 (en) | Information processing apparatus, communication system, and communication method | |
| JP6300888B1 (en) | Printing apparatus, system, and printing apparatus control method | |
| JP6157144B2 (en) | Printing apparatus, printing apparatus control method, and program | |
| JP7293268B2 (en) | COMMUNICATION DEVICE, CONTROL METHOD THEREOF, AND PROGRAM | |
| US9883328B2 (en) | Information processing apparatus, information processing method, and recording medium | |
| JP2019053463A (en) | Information processing apparatus, information processing system, information processing method, and program | |
| JP6634907B2 (en) | Communication device, wireless terminal, and program | |
| JP6191175B2 (en) | Network system, relay control device, communication control method, and program | |
| JP2019067449A (en) | Communication terminal device, communication system, program, and control method of communication terminal device | |
| JP6609155B2 (en) | Information processing apparatus, control method thereof, and program | |
| JP2016181152A (en) | Image formation device, image formation system, and program | |
| JP2019082953A (en) | Communication device, method for communication, and program | |
| JP2019082954A (en) | Communication device, method for communication, and program | |
| JP2015129820A (en) | Image forming apparatus, control method thereof, printing system, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210209 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220510 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220707 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221122 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230116 |
|
| 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: 20230509 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230607 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 7293268 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |