JP2019013004A - Communication device and method for controlling the same, and program - Google Patents
Communication device and method for controlling the same, and program Download PDFInfo
- Publication number
- JP2019013004A JP2019013004A JP2018142282A JP2018142282A JP2019013004A JP 2019013004 A JP2019013004 A JP 2019013004A JP 2018142282 A JP2018142282 A JP 2018142282A JP 2018142282 A JP2018142282 A JP 2018142282A JP 2019013004 A JP2019013004 A JP 2019013004A
- Authority
- JP
- Japan
- Prior art keywords
- address
- network
- access point
- mode
- communication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、通信装置及びその制御方法、並びにプログラムに関する。 The present invention relates to a communication device, a control method thereof, and a program.
近年、画像形成装置においても無線LAN機能を搭載するものが増えてきている。無線LANを搭載した画像形成装置は、アクセスポイントにクライアントとして無線接続する機能であるインフラストラクチャモード(以下、「インフラモード」という)を備えているのが一般的である。 In recent years, an increasing number of image forming apparatuses are equipped with a wireless LAN function. An image forming apparatus equipped with a wireless LAN generally has an infrastructure mode (hereinafter referred to as “infrastructure mode”) that is a function of wirelessly connecting an access point as a client.
PCや携帯端末などはアクセスポイントを介して画像形成装置と通信を行い、例えば所望のデータを送信して印刷を行ったり、画像形成装置から機器情報を受信して機器管理に利用したりする。 A PC, a portable terminal, or the like communicates with the image forming apparatus via an access point, for example, transmits desired data to perform printing, receives apparatus information from the image forming apparatus, and uses it for apparatus management.
このようなインフラモードで動作する場合の画像形成装置におけるアドレッシング方法の1つとして、アクセスポイントがDHCPサーバとなり、画像形成装置はDHCPクライアントとしてアクセスポイントからIPアドレスが配布される方法がある。 As one of addressing methods in the image forming apparatus when operating in such an infrastructure mode, there is a method in which an access point serves as a DHCP server, and the image forming apparatus distributes an IP address from the access point as a DHCP client.
そして、画像形成装置はDHCPサーバーから配布されたIPアドレスを用いてPCや携帯端末などと通信を行うことになる。 Then, the image forming apparatus communicates with a PC, a portable terminal, or the like using the IP address distributed from the DHCP server.
一方で、近年、Wi−Fi AllianceによりWi−FiDirect(登録商標)が制定された。 On the other hand, in recent years, Wi-FiDirect (registered trademark) has been established by Wi-Fi Alliance.
Wi−Fi Directでは、無線端末がアクセスポイントとして動作するか、またはクライアントとして動作するかを自動的に決定するプロトコルが規定されている。 In Wi-Fi Direct, a protocol for automatically determining whether a wireless terminal operates as an access point or a client is defined.
このWi−Fi Directを使用することで、アクセスポイントを別途用意する必要がなくなり、無線端末同士で直接通信して、画像共有や印刷など各種のアプリケーションサービスを実行可能となる。 By using this Wi-Fi Direct, it is not necessary to prepare an access point separately, and various application services such as image sharing and printing can be executed by directly communicating between wireless terminals.
図13はWi−Fi Directの処理シーケンスの概要を示す図である。 FIG. 13 is a diagram showing an outline of a Wi-Fi Direct processing sequence.
図13において、画像形成装置と携帯端末はいずれもWi−Fi Directをサポートしているものとする。 In FIG. 13, it is assumed that both the image forming apparatus and the portable terminal support Wi-Fi Direct.
画像形成装置と携帯端末は、まず周囲にWi−Fi Directでの無線接続を試みている他の装置を探索し、お互いを検出することで相手機器を発見する。相手機器が発見されると、役割を決定する。この役割とは、アクセスポイント(GroupOwner)及びクライアント(Client)を示す。今の場合、画像形成装置がアクセスポイント、携帯端末がクライアントになったものとする。 First, the image forming apparatus and the portable terminal search for other apparatuses that are trying to establish a wireless connection by Wi-Fi Direct in the vicinity, and discover each other device by detecting each other. When the partner device is discovered, the role is determined. This role indicates an access point (GroupOwner) and a client (Client). In this case, it is assumed that the image forming apparatus is an access point and the mobile terminal is a client.
次に、WPS(Wi−Fi Protected Setup)などを用いて、画像形成装置と携帯端末とが、無線接続のためのパラメータを交換し、そのパラメータを用いてセキュア接続される。 Next, using WPS (Wi-Fi Protected Setup) or the like, the image forming apparatus and the portable terminal exchange parameters for wireless connection, and are securely connected using the parameters.
次いで、画像形成装置が携帯端末に対してDHCPによりIPアドレスを配布することで、IP接続される。 Next, the image forming apparatus distributes the IP address by DHCP to the mobile terminal, thereby establishing an IP connection.
この処理シーケンスを実行することで、画像形成装置に搭載されたアプリケーションサービスと携帯端末に搭載されたアプリケーションサービスとの直接通信が可能となる。 By executing this processing sequence, direct communication between the application service installed in the image forming apparatus and the application service installed in the portable terminal becomes possible.
こうして、画像形成装置はWi−Fi Directを用いた通信と、インフラモードによる通信という2つの通信が行われることとなる。 In this way, the image forming apparatus performs two types of communication: communication using Wi-Fi Direct and communication using the infrastructure mode.
この場合、Wi−Fi Directにより画像形成装置から携帯端末に配布されたIPアドレスと、インフラモードによりDHCPクライアントとしてアクセスポイントから配布されるIPアドレスとが同じIPアドレスになってしまう可能性がある。 In this case, there is a possibility that the IP address distributed from the image forming apparatus to the mobile terminal by Wi-Fi Direct and the IP address distributed from the access point as a DHCP client by the infrastructure mode become the same IP address.
同じIPアドレスになったとすると、画像形成装置100はあるパケットを送信しようとした場合に、インフラモードでの無線接続の経路に送信するべきか、Wi−FiDirectを用いた直接無線通信の経路に送信するべきか判断できなくなる。
Assuming that the same IP address is used, when the
誤った経路に送信してしまった場合は、当該パケットを用いた通信に失敗する上、誤った経路側に本来流れるべきでないパケットが流れることとなり、セキュリティの面からも望ましくない。 If the packet is transmitted to the wrong path, communication using the packet fails, and a packet that should not flow originally flows to the wrong path side, which is not desirable from the viewpoint of security.
このように、複数の通信が可能な通信インターフェースを備えた装置におけるネットワークアドレスの重複を回避する技術が開示されている(例えば、特許文献1参照)。 As described above, a technique for avoiding duplication of network addresses in a device having a communication interface capable of a plurality of communications is disclosed (for example, see Patent Document 1).
特許文献1に開示された技術では、互いに異なるネットワークにDHCPクライアントとして接続し、各ネットワークに対応するDHCPサーバからIPアドレスを取得するアドレッシング方法が開示されている。
The technique disclosed in
複数の通信インターフェースから取得したIPアドレスが同じIPアドレスであった場合には、データの誤送信が生じる可能性があるため、一方の通信インターフェースにのみ当該IPアドレスを配布し、他方の通信インターフェースには配布しない。それにより、複数の通信インターフェースが同じIPアドレスで動作する事態を回避する。 If the IP addresses acquired from multiple communication interfaces are the same IP address, there is a possibility that erroneous transmission of data may occur. Therefore, the IP address is distributed only to one communication interface and the other communication interface is used. Will not be distributed. This avoids a situation where a plurality of communication interfaces operate with the same IP address.
しかしながら、特許文献1に開示された技術では、IPアドレスが配布されない他方の通信インターフェースでは通信は行えないこととなる。従って、従来技術では、誤送信を防止することによりネットワーク機器との通信が妨げられるという問題点があった。
However, with the technique disclosed in
本発明の目的は、ネットワーク機器との通信を妨げることなくデータの誤送信を防止可能な通信装置及びその制御方法、並びにプログラムを提供することにある。 An object of the present invention is to provide a communication device that can prevent erroneous transmission of data without interfering with communication with a network device, a control method therefor, and a program.
上記目的を達成するために、請求項1の通信装置は、情報を表示する表示部と、特定のネットワークに接続するためのIPアドレスが割り当てられたネットワークインターフェースとを備え、アクセスポイントを提供し、前記アクセスポイントにアクセスする外部端末に対して1又は複数のIPアドレスを含む割り当て候補の中から1つのIPアドレスを割り当てる通信装置であって、前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付手段と、前記入力された設定情報に基づく割り当て候補のうちの少なくとも1つのIPアドレスと前記特定のネットワークに接続するためのIPアドレスとが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御手段と、を備えることを特徴とする。
To achieve the above object, the communication device according to
また、上記目的を達成するために、請求項5の通信装置は、情報を表示する表示部と、ネットワーク部とホスト部とを有する第1のIPアドレスであって特定のネットワークへ接続するための第1のIPアドレスが割り当てられたネットワークインターフェースとを備え、アクセスポイントを提供し、前記アクセスポイントにアクセスする外部端末に対して1又は複数のIPアドレスを含む割り当て候補の中から1つのIPアドレスを割り当てる通信装置であって、前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付手段と、ネットワーク部とホスト部とを有する第2のIPアドレスであって前記入力に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御手段と、を備えることを特徴とする。 In order to achieve the above object, a communication device according to claim 5 is a first IP address having a display unit for displaying information, a network unit, and a host unit for connecting to a specific network. A network interface to which a first IP address is assigned, providing an access point, and assigning one IP address from among candidate assignments including one or a plurality of IP addresses to an external terminal accessing the access point A communication device to be allocated, which is a second IP address having an accepting unit for accepting input of setting information for communication using the access point, a network unit, and a host unit, and obtained based on the input The network part of the second IP address matches the network part of the first IP address Control means for controlling information to be displayed on the display unit so that an operation for simultaneously performing communication via the specific network and communication via the access point cannot be performed. Features.
本発明によれば、ネットワーク機器との通信を妨げることなくデータの誤送信を防止可能となる。 According to the present invention, erroneous transmission of data can be prevented without interfering with communication with a network device.
以下、本発明の実施の形態について図面を参照しながら詳述する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本実施の形態に係る画像形成装置100を含む印刷システム1を示す図である。
FIG. 1 is a diagram illustrating a
図1において、印刷システム1は、画像形成装置100、携帯端末110,131、PC130、及びアクセスポイント120で構成される。
In FIG. 1, the
携帯端末110は、画像形成装置100と無線接続されている。また、画像形成装置100は、アクセスポイント120を介して、PC130、及び携帯端末131に有線または無線接続されている。また、アクセスポイント120にはDHCPサーバとして動作するDHCP機能が設けられている。本実施の形態では、本発明に係る通信装置として画像形成装置を例にしている。
The
本実施の形態における画像形成装置100の通信モードには、第1モードと第2モードの2つがある。
There are two communication modes of the
このうち、第1モードは、画像形成装置100が携帯端末110と通信する場合に、画像形成装置100または携帯端末110のいずれかがアクセスポイントとして動作することで直接無線通信を行うモードである。
Among these, the first mode is a mode in which when the
例えば、画像形成装置100と携帯端末110とがWi−Fi Directを用いて直接無線通信を行うモードが第1モードである。
For example, the first mode is a mode in which the
第2モードは、画像形成装置100がネットワーク上のアクセスポイント120または不図示のルーターを介してPC130や携帯端末131と通信するモードである。
The second mode is a mode in which the
例えば、インフラモードで無線通信を行うモードが第2モードである。第2モードで使用するIPアドレスは、第2モードにおいてDHCPクライアントとして動作した結果、アクセスポイント120から配布されたIPアドレスであるか、ネットワーク管理者が予め画像形成装置100に設定した固定IPアドレスである。
For example, the mode in which wireless communication is performed in the infrastructure mode is the second mode. The IP address used in the second mode is an IP address distributed from the
なお、本実施の形態では自動アドレス取得方法としてDHCPを例に挙げて説明するが、BOOTPなど他の自動アドレス取得方法でもよい。 In this embodiment, DHCP is described as an example of an automatic address acquisition method, but another automatic address acquisition method such as BOOTP may be used.
以上説明した第1モードと第2モードでの通信はそれぞれ独立しており、同時に動作可能となっている。 The communications in the first mode and the second mode described above are independent of each other and can be operated simultaneously.
なお、携帯端末110は、PC130及び携帯端末131と画像形成装置100及びアクセスポイント120を介して通信することはできない。
Note that the
このように、本実施の形態では、ネットワーク機器であるアクセスポイント120からIPアドレスを取得するとともに、他のネットワーク機器である携帯端末110にIPアドレスを配布する(割り当てる)。
As described above, in the present embodiment, an IP address is acquired from the
また、図1に示されるように、画像形成装置100は、画像形成装置100、及び携帯端末110で構成されるネットワークと、画像形成装置100、アクセスポイント120、PC130、及び携帯端末131で構成されるネットワークとを含む複数のネットワークに接続可能となっている。
As illustrated in FIG. 1, the
図2は、本発明の実施の形態に係る画像形成装置100の概略構成を示す図である。
FIG. 2 is a diagram showing a schematic configuration of the
図2において、画像形成装置100は、制御部201、プリンタ207、スキャナ209、及び操作パネル211で構成される。
In FIG. 2, the
制御部201は、プリンタ207、スキャナ209、及び操作パネル211と接続し、画像形成装置100全体を制御する。
A control unit 201 is connected to the
プリンタ207は、制御部201から印刷データを受信し、印刷データが示す画像を紙などの記録媒体に印刷する。スキャナ209は原稿を読み取り、原稿の画像を示す画像信号を制御部201に出力する。操作パネル211は、制御部201の指示に従ってユーザに情報を表示したり、タッチパネルやボタンなどによりユーザが操作した内容を制御部201に出力する。
The
また、制御部201は、CPU202、RAM203、ROM204、HDD214、プリンタインタフェース206、スキャナインタフェース208、操作パネルインタフェース210、無線LANインタフェース212、及び有線LANインタフェース213で構成され、それらはバス205で接続される。
The control unit 201 includes a
CPU202は、制御部201を制御することで画像形成装置100全体を制御する。RAM203には、CPU202が実行する各種プログラムやデータなどが記憶される。ROM204には、ブートプログラム、各種プログラム、及びデータなどが記憶される。HDD214には、各種プログラムや画像データなどが記憶される。
The
プリンタインタフェース206は、プリンタ207と制御部201とのインタフェースである。スキャナインタフェース208は、スキャナ209と制御部201とのインタフェースである。操作パネルインタフェース210は、操作パネル211と制御部201とのインタフェースである。
A
無線LANインタフェース212は、IEEE802.11系などのプロトコルに対応し、LANに無線で接続するためのインタフェースである。有線LANインタフェース213は、ツイストペアケーブルが接続され、LANに有線で接続するためのインタフェースである。
The
図3は、図1における画像形成装置100のソフトウェア構成を示す図である。
FIG. 3 is a diagram illustrating a software configuration of the
図3において、画像形成装置100のソフトウェアは、操作制御部300、アプリケーション部310、記憶部301、アドレス解決部302、通信制御部303、第1モード制御部304、第1モード通信部305、第2モード制御部306、及び第2モード通信部で構成される。
In FIG. 3, the software of the
上述した各部は、CPU202がRAM203に記憶されたプログラムを実行することで各部としての機能を実現する。後述するフローチャートは、HDD214に記憶され、RAM203に展開されたプログラムをCPU202が実行する処理を示している。
Each unit described above realizes a function as each unit by the
操作制御部300は、操作パネル211を制御する。具体的に、操作制御部300は、操作パネル211に操作メニューを表示してユーザーからの指示入力を待ち受けたり、受け付けた指示内容を各部に通知したり、指示結果を操作パネル211に表示したりする。
The
記憶部301は、各部からの指示により、指定されたデータをROM204やHDD214に記憶したり、または記憶しているデータを読み出したりする。
The
アドレス解決部302は、画像形成装置100のIPアドレス解決処理を行う。第1モード通信部305及び第2モード通信部307毎に記憶部301により記憶された設定に従い、通信で用いられるIPアドレスを決定する。
The
具体的に、アドレス解決部302は、記憶部301により記憶された固定IPアドレスを用いる機能、DHCPクライアントとして動作する機能、及び画像形成装置100自身や画像形成装置100に接続する携帯端末等の外部端末に対するDHCP機能を備えている。
Specifically, the
通信制御部303は、画像形成装置100が携帯端末110などの外部装置と通信を行う際の通信制御を行う。
The
具体的に、通信制御部303は、アプリケーション部310からのデータを第1モード通信部305または第2モード通信部307に渡してネットワークに送信させる。
Specifically, the
また、通信制御部303は、第1モード通信部305または第2モード通信部307を介してネットワークから受信したデータをアプリケーション部310に渡す。以下の説明では、第1モード通信部305及び第2モード通信部307をまとめて通信部と表現することがある。
In addition, the
さらに、通信制御部303は、第1モード通信部305及び第2モード通信部に割り当てられたIPアドレスによって、ネットワークに送信するデータを渡す通信部を判別する。
Furthermore, the
例えば、アドレス解決部302によって第1モード通信部305に割り当てられたIPアドレスが192.168.11.1であり、第2モード通信部307に割り当てられたIPアドレスが192.168.0.100であったとする。
For example, the IP address assigned to the first
そして、アプリケーション部310から渡されたデータに示されている送信先IPアドレスが192.168.0.2であったとする。
Assume that the destination IP address indicated in the data passed from the
この場合、送信データの送信先IPアドレスと同じネットワークアドレスが割り当てられているのは第2モード通信部307である。
In this case, the second
従って、通信制御部303は当該データを第2モード通信部307に渡してネットワークに送信させることになる。
Therefore, the
第1モード制御部304は画像形成装置100が第1モードで動作する際の通信制御を行う。第1モード通信部305は無線LANインタフェース212を制御し、アプリケーション部310が携帯端末110などの外部装置と第1モードで通信を行う際のデータの送受信を行う。
The first
第2モード制御部306は画像形成装置100が第2モードで動作する際の通信制御を行う。第2モード通信部307は無線LANインタフェース212または有線LANインタフェース213を制御し、アプリケーション部310がPC130や携帯端末131などの外部装置と第2モードで通信を行う際のデータの送受信を行う。
The second
アプリケーション部310は印刷サービス311、及びストレージサービス312などの各種サービスより構成されている。
The
印刷サービス311は、第1モード通信部305または第2モード通信部307から受信した印刷データを、通信制御部303を介して受信し、当該印刷データをプリンタインタフェース206を介してプリンタ207に出力する。
The
ストレージサービス312は、第1モード通信部305または第2モード通信部307から受信したデータを、通信制御部303を介して受信し、当該データをHDD214などの記憶装置に記憶する。
The
以下、第1モードで接続する際の処理、第2モードで接続する際の処理について順に説明する。 Hereinafter, the process when connecting in the first mode and the process when connecting in the second mode will be described in order.
図4は、図2におけるCPU202により実行される第1モード接続処理の手順を示すフローチャートである。
FIG. 4 is a flowchart showing the procedure of the first mode connection process executed by the
図4において、第1モード制御部304は、第1モード通信部305を起動する(ステップS501)。これにより、無線LANインタフェース212を介して第1モードによる無線接続が可能な状態となる。
In FIG. 4, the first
次いで、第1モード制御部304は、携帯端末110と第1モードで接続する(ステップS502)。そして、アドレス解決部302が、携帯端末110にIPアドレスを配布するアドレス解決処理を実行して(ステップS503)、本処理を終了する。
Next, the first
なお、上述したステップS502の処理は、従来技術として図13で説明したを内容であるが、具体的に説明すると、まず第1モードでの接続処理を実行中の外部装置を検索するための検索パケットを送信することで、携帯端末110が発見される。
Note that the processing in step S502 described above is the same as that described with reference to FIG. 13 as the prior art. More specifically, the processing for searching for an external device that is executing the connection processing in the first mode is first described. By transmitting the packet, the
次いで、アクセスポイント(GroupOwner)、及びクライアント(Client)となる機器を決定する役割決定が行われるが、本実施の形態では、画像形成装置100がアクセスポイントとなり、携帯端末110がクライアントとなるものとする。
Next, a role determination for determining an access point (GroupOwner) and a device to be a client (Client) is performed. In this embodiment, the
その後、WPSなどを用いて、画像形成装置と携帯端末とが、無線接続のためのパラメータを交換し、そのパラメータを用いてセキュア接続され、次のステップS503のアドレス解決処理に進む。 Thereafter, the WPS or the like is used to exchange parameters for wireless connection between the image forming apparatus and the portable terminal, and secure connection is performed using the parameters, and the process proceeds to the address resolution process in the next step S503.
図5は、図4におけるステップS503のアドレス解決処理の手順を示すフローチャートである。 FIG. 5 is a flowchart showing the procedure of the address resolution process in step S503 in FIG.
図5において、アドレス解決部302は記憶部301から第2モードのアドレス設定情報を取得し、画像形成装置100が現在第2モードでアクセスポイント120と接続中か否か判別する(ステップS601)。
In FIG. 5, the
ステップS601の判別の結果、第2モードで接続中の場合には(ステップS601でYES)、記憶部301により現在第2モードで使用しているIPアドレスを取得し(ステップS602)、ステップS604に進む。
If the result of determination in step S601 is that connection is being made in the second mode (YES in step S601), the
一方、第2モードで接続中ではない場合には(ステップS601でNO)、第2モードで使用したことのあるIPアドレスを取得する(ステップS603)。ここでは、第2モードで使用したことのあるIPアドレスとして、第2モードで前回使用したIPアドレスを記憶部301より取得するものとする。
On the other hand, if the connection is not established in the second mode (NO in step S601), an IP address that has been used in the second mode is acquired (step S603). Here, it is assumed that the IP address previously used in the second mode is acquired from the
次いで、取得したアドレスを用いて、第1モードで使用するIPアドレス(以下、「第1モードアドレス」という)の範囲を決定(特定)する(ステップS604)。ここでの決定方法については後述する。 Next, a range of IP addresses (hereinafter referred to as “first mode address”) used in the first mode is determined (specified) using the acquired address (step S604). The determination method here will be described later.
次いで、第1モードでの画像形成装置100のIPアドレスを、決定された範囲内のIPアドレスから決定し(ステップS605)、決定されたIPアドレスを記憶部301によりHDD214に記憶する。
Next, the IP address of the
そして、携帯端末110に、決定された範囲内のIPアドレスであって、ステップS605で決定されたIPアドレスとは異なるIPアドレスを配布し(ステップS606)、本処理を終了する。 Then, an IP address that is within the determined range and that is different from the IP address determined in step S605 is distributed to the mobile terminal 110 (step S606), and this process ends.
上記ステップS604でのIPアドレスの範囲の決定方法について説明する。まず、IPアドレスの範囲は、IPアドレスのネットワークアドレスが異なるIPアドレスの範囲とする。 A method for determining the IP address range in step S604 will be described. First, the IP address range is an IP address range in which the network address of the IP address is different.
例えば第2モードで使用中または使用したことのあるIPアドレス(以下、「第2モードアドレス」という)が192.168.0.100でホスト部が8ビットの場合、ネットワークアドレスは192.168.0となり、このネットワークアドレスとは異なるネットワークアドレスを持つIPアドレスが上記範囲の対象となる。例えば、「192.168.0」とは異なるサブネットを示す「192.168.11.1〜192.168.11.25」を上記範囲として決定する。 For example, when the IP address that is being used or has been used in the second mode (hereinafter referred to as “second mode address”) is 192.168.0.100 and the host part is 8 bits, the network address is 192.168 .. An IP address having a network address different from this network address becomes the target of the above range. For example, “192.168.11.1 to 192.168.11.25” indicating a subnet different from “192.168.8.0” is determined as the above range.
このように、本実施の形態は、携帯端末110に配布するIPアドレスを、アクセスポイントから取得したIPアドレス、つまり、第2モードで使用しているIPアドレスと異なるサブネットのIPアドレスとすることを特徴とする。これにより、画像形成装置100が通信を実行する際に、誤った通信経路にパケットを送信することを防止できる。
アクセスポイント120から取得されたIPアドレスと重複しない携帯端末110に配布するIPアドレスは、取得されたIPアドレスのネットワークアドレスと異なるネットワークアドレスのIPアドレスであるとしている。
As described above, according to the present embodiment, the IP address distributed to the
The IP address distributed to the
なお、第2モードアドレスの範囲が既知の場合や、接続機器が少ない場合などは必ずしも異なるネットワークアドレスを持つIPアドレスにする必要はないが、重複可能性を低下させるために、異なるネットワークアドレスにより範囲を決定した方がよい。 In addition, when the range of the second mode address is known or when there are few connected devices, it is not always necessary to use an IP address having a different network address. However, in order to reduce the possibility of duplication, the range is set by a different network address. It is better to decide.
また、第2モードで接続していない場合に、ステップS603で第2モードで前回使用したIPアドレスを取得する理由は、DHCPサーバから配布されるIPアドレスは、前回使用したIPアドレスの可能性が高いからである。 In addition, when not connected in the second mode, the reason why the IP address used last time in the second mode in step S603 is that the IP address distributed from the DHCP server may be the IP address used last time. Because it is expensive.
また、上記ステップS603では、第2モードで使用したことのあるIPアドレスを取得するようになっているが、画像形成装置100の初回起動時など、第2モードで動作したことがない場合には、ステップS603で取得されるIPアドレスは0.0.0.0となる。
In step S603, an IP address that has been used in the second mode is acquired. However, when the
この場合、ネットワークアドレスが重複する可能性は無いため、ステップS604において決定されるIPアドレスの範囲は任意の範囲でよい。 In this case, since there is no possibility that the network addresses overlap, the IP address range determined in step S604 may be an arbitrary range.
図6は、図2におけるCPU202により実行される第2モード接続処理の手順を示すフローチャートである。
FIG. 6 is a flowchart showing the procedure of the second mode connection process executed by the
図6において、アドレス解決部302は、第2モード制御部306からの指示を受けて、第2モード通信部307を介してDHCPクライアントとしてのリクエストを送信し、アクセスポイント120から第2モードのIPアドレスを取得する(ステップS701)。
In FIG. 6, the
次いで、第1モードで接続中か否か判別する(ステップS702)。ステップS702の判別の結果、第1モードで接続中でない場合には(ステップS702でNO)、取得したIPアドレスを第2モードで使用するアドレスと決定し(ステップS706)、決定されたIPアドレスを記憶部301によりHDD214に記憶して、本処理を終了する。
Next, it is determined whether or not the connection is established in the first mode (step S702). If the result of determination in step S702 is that connection is not being established in the first mode (NO in step S702), the acquired IP address is determined as an address to be used in the second mode (step S706), and the determined IP address is The data is stored in the
一方、ステップS702の判別の結果、第1モードで接続中の場合には(ステップS702でYES)、記憶部301により第1モードアドレスを取得する。
On the other hand, if the result of determination in step S702 is that connection is being established in the first mode (YES in step S702), the
そして、ステップS701で取得したIPアドレスと第1モードアドレスのネットワークアドレスが重複しているか否か判別する(ステップS703)。 Then, it is determined whether or not the IP address acquired in step S701 and the network address of the first mode address overlap (step S703).
ステップS703の判別の結果、ネットワークアドレスが重複していない場合には(ステップS703でNO)、上記ステップS705に進む。 As a result of the determination in step S703, if the network address is not duplicated (NO in step S703), the process proceeds to step S705.
一方、ステップS703の判別の結果、ネットワークアドレスが重複している場合には(ステップS703でYES)、図5で説明したアドレス解決処理を実行する(ステップS704)。 On the other hand, as a result of the determination in step S703, if the network addresses are duplicated (YES in step S703), the address resolution process described in FIG. 5 is executed (step S704).
このアドレス解決処理により、第1モードアドレスが変更されることとなり、ステップS701で取得したIPアドレスを第2モードで使用するアドレスと決定し(ステップS705)、決定されたIPアドレスを記憶部301によりHDD214に記憶して、本処理を終了する。
By this address resolution processing, the first mode address is changed, and the IP address acquired in step S701 is determined as the address used in the second mode (step S705), and the determined IP address is stored in the
このように、本実施の形態では、携帯端末110にIPアドレスを配布した後にアクセスポイント120から取得したIPアドレスが、携帯端末110に配布したIPアドレスと重複する場合には、アクセスポイント120から取得したIPアドレスと重複しないIPアドレスを配布する。
As described above, in this embodiment, when the IP address acquired from the
上記ステップS703の重複例として、ステップS701で取得したIPアドレスが192.168.11.2で、第1モードアドレスが192.168.11.1である場合が挙げられる。 As an example of duplication of step S703, there is a case where the IP address acquired in step S701 is 192.168.11.2 and the first mode address is 192.168.11.1.
以上説明した第1モード接続処理、及び第2モード接続処理のいずれの処理も、重複する場合には第2モードアドレスを優先させることで、IPアドレスの重複を回避できるようになっている。 If both the first mode connection process and the second mode connection process described above are duplicated, the second mode address is prioritized to avoid duplication of IP addresses.
また、上記処理により第1モードアドレスと第2モードアドレスを、異なるネットワークアドレスのIPアドレスとすると、通信制御部303は、データの誤送信を防止することができる。
Further, if the first mode address and the second mode address are IP addresses of different network addresses by the above processing, the
これは、通信制御部303はネットワークアドレスを参照することで、アプリケーション部310から渡されたデータが、第1モード通信部305と第2モード通信部307のいずれに渡すべきデータであるかを判別することができるからである。
This is because the
データの誤送信を防止できるので、誤送信による生じるトラフィックの上昇や、セキュリティ面の懸念も排除することができる。 Since erroneous transmission of data can be prevented, it is possible to eliminate an increase in traffic caused by erroneous transmission and security concerns.
以上説明した実施の形態では、配布する第1モードアドレスの範囲をアドレス解決部302が自動的に決定していたが、ユーザにより設定できるようにしてもよい。
In the embodiment described above, the
図7は、図2における操作パネル211に表示される画面例を示す図である。
FIG. 7 is a diagram showing an example of a screen displayed on the
図7(A)は、DHCPサーバ設定画面800を示す図である。
FIG. 7A is a diagram showing a DHCP
図7(A)において、DHCPサーバ設定画面800は、配布アドレス設定欄801、OKボタン802、及びキャンセルボタン803より構成されている。
7A, the DHCP
ユーザーは配布アドレス設定欄801に所望の第1モードアドレスの範囲を入力する。図7(A)の場合、ユーザーは第1モードIPアドレスの範囲として192.168.0.1〜192.168.0.25を入力したものとする。
The user inputs a desired first mode address range in the distribution
この状態でOKボタン802が押下されると、操作制御部300によって配布アドレス設定欄801の内容が記憶部301によりHDD214に記憶される。それにより、第1モードアドレスの範囲が設定されることとなる。なお、入力された範囲が第2モードアドレスのネットワークアドレスと重複する場合には、図7(B)に示される画面が表示される。
When the
一方、キャンセルボタン803が押下された場合は、配布アドレス設定欄801の内容は破棄され、DHCPサーバ設定画面800の表示は終了する。
On the other hand, when the cancel
図7(B)は、DHCPサーバ設定画面800により設定された範囲のネットワークアドレスが第2モードアドレスのネットワークアドレスに重複した場合に表示されるエラーメッセージ画面1000を示す図である。
FIG. 7B is a diagram showing an
図7(B)において、エラーメッセージ画面1000には、第2モードアドレスを使用しているインフラモードとは異なるネットワークアドレスを設定させるためのエラーメッセージが表示され、OKボタン1001が押下されると、DHCPサーバ設定画面800が表示される。
In FIG. 7B, an error message for setting a network address different from the infrastructure mode using the second mode address is displayed on the
図7(C)は、DHCPサーバ設定画面800により設定された範囲のネットワークアドレスが第2モードアドレスのネットワークアドレスに重複した場合に表示されるエラーメッセージ画面1200を示す図である。
FIG. 7C is a diagram showing an
図7(B)と図7(C)の違いは、図7(B)はDHCPサーバ設定画面800で設定されたときに重複している場合に表示される画面を示し、図7(C)はDHCPサーバ設定画面800で設定された後に、第2モードアドレスが配布され、その第2モードアドレスのネットワークアドレスに重複している場合には表示される画面という点である。
The difference between FIG. 7B and FIG. 7C is that FIG. 7B shows a screen that is displayed when there is an overlap when set on the DHCP
図7(C)において、エラーメッセージ画面1200では、第2モードアドレスとはネットワークアドレスが重複しない範囲をDHCPサーバ設定画面800で再設定させるためのメッセージが表示される。OKボタン1201が押下されると、エラーメッセージ画面1200は閉じられる。
In FIG. 7C, on the
上述した図7(B)(C)に示されるように、本実施の形態では、ユーザにより設定された場合に、アクセスポイント120から取得したIPアドレスが、ユーザにより設定された範囲に含まれる場合には、ユーザに範囲の再設定を促す内容を表示部である操作パネル211に表示する。
As shown in FIGS. 7B and 7C described above, in this embodiment, when set by the user, the IP address acquired from the
図8は、図2におけるCPU202により実行されるアドレスチェック処理の手順を示すフローチャートである。
FIG. 8 is a flowchart showing the procedure of the address check process executed by the
このアドレスチェック処理は、図7(A)のDHCPサーバ設定画面800で範囲が入力され、OKボタン802が押下されたときに重複をチェックする処理である。
This address check process is a process of checking for duplication when a range is input on the DHCP
図8において、操作制御部300は記憶部301から第2モードのアドレス設定情報を取得し、画像形成装置100が現在第2モードでアクセスポイント120と接続中か否か判別する(ステップS901)。
In FIG. 8, the
ステップS901の判別の結果、第2モードで接続中の場合には(ステップS901でYES)、記憶部301により現在第2モードで使用しているIPアドレスを取得し(ステップS902)、ステップS604に進む。
If it is determined in step S901 that the connection is in the second mode (YES in step S901), the
一方、第2モードで接続中ではない場合には(ステップS901でNO)、第2モードで使用したことのあるIPアドレスを取得する(ステップS903)。ここでは、第2モードで使用したことのあるIPアドレスとして、第2モードで前回使用したIPアドレスを記憶部301より取得するものとする。
On the other hand, when the connection is not being established in the second mode (NO in step S901), an IP address that has been used in the second mode is acquired (step S903). Here, it is assumed that the IP address previously used in the second mode is acquired from the
そして、設定された範囲のネットワークアドレスと第2モードアドレスのネットワークアドレスが重複しているか否か判別する(ステップS904)。 Then, it is determined whether or not the network address in the set range overlaps with the network address of the second mode address (step S904).
ステップS904の判別の結果、ネットワークアドレスが重複していない場合には(ステップS904でNO)、入力された範囲を第1モードでDHCPサーバとして動作する際に配布するIPアドレスの範囲として決定し、当該範囲を記憶部301によりHDD214に記憶して(ステップS905)、本処理を終了する。 If the network address does not overlap as a result of the determination in step S904 (NO in step S904), the input range is determined as a range of IP addresses to be distributed when operating as a DHCP server in the first mode, The said range is memorize | stored in HDD214 by the memory | storage part 301 (step S905), and this process is complete | finished.
一方、ステップS904の判別の結果、ネットワークアドレスが重複している場合には(ステップS904でYES)、図7(B)に示したエラーメッセージ画面1000を操作パネル211に表示して(ステップS906)、本処理を終了する。
On the other hand, as a result of the determination in step S904, if the network address is duplicated (YES in step S904), the
図7(A)では例として配布アドレス設定欄801には192.168.0.1〜192.168.0.25が入力されていた。
In FIG. 7A, 192.168.0.1 to 192.168.0.25 is input to the distribution
そのため例えば第2モードアドレスが192.168.0.100の場合は、ステップS904の重複チェックでは重複と判別される。第2モードアドレスが192.168.0.xxx以外のアドレスであった場合は、重複していないと判別される。 Therefore, for example, when the second mode address is 192.168.0.100, it is determined that there is a duplication in the duplication check in step S904. The second mode address is 192.168.8.0. If the address is other than xxx, it is determined that there is no duplication.
図9は、図2におけるCPU202により実行されるユーザ設定時第2モード接続処理の手順を示すフローチャートである。
FIG. 9 is a flowchart showing the procedure of the second mode connection process at the time of user setting executed by the
このユーザ設定時第2モード接続処理は、図7(A)に示したDHCPサーバ設定画面800で範囲の設定が行われた後に、第2モードで接続する際の処理を示している。
This second mode connection process at the time of user setting shows a process when connecting in the second mode after setting the range on the DHCP
図9において、アドレス解決部302は、第2モード制御部306からの指示を受けて、第2モード通信部307を介してDHCPクライアントとしてのリクエストを送信し、アクセスポイント120から第2モードのIPアドレスを取得する(ステップS1101)。
In FIG. 9, the
次いで、第1モードで接続中か否か判別する(ステップS1102)。ステップS1102の判別の結果、第1モードで接続中でない場合には(ステップS1102でNO)、取得したIPアドレスを第2モードで使用するアドレスと決定し(ステップS1106)、決定されたIPアドレスを記憶部301によりHDD214に記憶して、本処理を終了する。
Next, it is determined whether or not the connection is established in the first mode (step S1102). If the result of determination in step S1102 is that connection is not established in the first mode (NO in step S1102), the acquired IP address is determined as the address used in the second mode (step S1106), and the determined IP address is The data is stored in the
一方、ステップS1102の判別の結果、第1モードで接続中の場合には(ステップS1102でYES)、記憶部301によりユーザにより設定された範囲を取得する。
On the other hand, if the result of determination in step S1102 is that connection is being established in the first mode (YES in step S1102), the
そして、ステップS1101で取得したIPアドレスと設定された範囲のネットワークアドレスが重複しているか否か判別する(ステップS1103)。 Then, it is determined whether or not the IP address acquired in step S1101 and the network address in the set range overlap (step S1103).
ステップS1103の判別の結果、ネットワークアドレスが重複していない場合には(ステップS1103でNO)、上記ステップS1105に進む。 If it is determined in step S1103 that the network addresses do not overlap (NO in step S1103), the process proceeds to step S1105.
一方、ステップS1103の判別の結果、ネットワークアドレスが重複している場合には(ステップS1103でYES)、図7(C)で示したエラーメッセージ画面1200を操作パネル211に表示する(ステップS1104)。
On the other hand, as a result of the determination in step S1103, if the network address is duplicated (YES in step S1103), the
次いで、ステップS1101で取得したIPアドレスを第2モードで使用するアドレスと決定し(ステップS1105)、決定されたIPアドレスを記憶部301によりHDD214に記憶して、本処理を終了する。
Next, the IP address acquired in step S1101 is determined as an address to be used in the second mode (step S1105), the determined IP address is stored in the
上述した図8,9の処理によれば、ユーザにより第1モードアドレスの範囲を設定可能とした場合でも、重複または重複可能性がある場合にはユーザに範囲を変更させるので、IPアドレスの重複を回避できる。 According to the processes of FIGS. 8 and 9 described above, even when the range of the first mode address can be set by the user, the range is changed by the user when there is a possibility of duplication or duplication. Can be avoided.
以上説明した実施の形態では、第1モード及び第2モードが同時に動作可能として説明したが、アプリケーション部310に含まれるアプリケーションの中には、第1モード及び第2モードの同時動作に対応していないものもある。この場合、第1モード及び第2モードを排他的に動作させる排他制御を行う必要がある。
In the embodiment described above, it has been described that the first mode and the second mode can be operated simultaneously. However, some applications included in the
図10は、排他制御を行う画像形成装置100のソフトウェア構成を示す図である。
FIG. 10 is a diagram illustrating a software configuration of the
図10における構成は、図2の構成に、新たにモード切替部1320を加えたものとなっている。
The configuration in FIG. 10 is obtained by adding a
モード切替部1320は、第1モード及び第2モードのいずれか一方で通信するように排他的に切り替える。通信制御部303は、モード切替部1320が切り替えた方の通信モードで通信する通信部に、ネットワークに送信するデータを渡すこととなる。
The
図11は、排他制御し、第1モードで通信する場合のアドレス解決処理の手順を示すフローチャートである。 FIG. 11 is a flowchart showing a procedure of address resolution processing when exclusive control is performed and communication is performed in the first mode.
図11に示されるアドレス解決処理と、図5に示されるアドレス解決処理との違いは、図11の場合は第2モードで通信していない状態であるので、図5のステップS601の第2モードで通信中か否かの判別処理とステップS602が不要となる点である。 The difference between the address resolution process shown in FIG. 11 and the address resolution process shown in FIG. 5 is that communication is not performed in the second mode in the case of FIG. 11, so the second mode in step S601 of FIG. Thus, it is unnecessary to determine whether or not communication is in progress and step S602.
従って、排他制御し、第1モードで通信する場合は、図5の処理においても、ステップS601で否定判別されることとなるので、そのまま図5の処理を用いることができるが、ここでは図11のフローチャートで説明する。 Therefore, when performing exclusive control and communicating in the first mode, a negative determination is also made in step S601 in the process of FIG. 5, so that the process of FIG. 5 can be used as it is. The flowchart will be described.
図11において、まず第2モードで使用したことのあるIPアドレスを取得する(ステップS1403)。ここでは、第2モードで使用したことのあるIPアドレスとして、第2モードで前回使用したIPアドレスを記憶部301より取得するものとする。
In FIG. 11, first, an IP address that has been used in the second mode is acquired (step S1403). Here, it is assumed that the IP address previously used in the second mode is acquired from the
次いで、取得したアドレスを用いて、第1モードアドレスの範囲を決定する。ここでの決定方法については、図5で説明したとおりである。 Next, the range of the first mode address is determined using the acquired address. The determination method here is as described in FIG.
次いで、第1モードでの画像形成装置100のIPアドレスを、決定された範囲内のIPアドレスから決定し(ステップS1405)、決定されたIPアドレスを記憶部301によりHDD214に記憶する。
Next, the IP address of the
そして、携帯端末110に、決定された範囲内のIPアドレスであって、ステップS1405で決定されたIPアドレスとは異なるIPアドレスを配布し(ステップS1406)、本処理を終了する。 Then, an IP address that is within the determined range and that is different from the IP address determined in step S1405 is distributed to the mobile terminal 110 (step S1406), and this process ends.
なお、排他制御を行う場合、通信制御部303は、モード切替部1320が切り替えたモードに対応する通信部にデータを渡せばよいので、ネットワークアドレスを参照する必要がなくなることから、IPアドレスが重複しても誤送信などは生じない。
Note that when performing exclusive control, the
一方、IPアドレスに紐づけて印刷履歴や通信履歴などのログ管理を行っている場合は、ログの内容がいずれのモードにおけるものかを判別できないため、そのような場合にはIPアドレスを重複させないようにしなければならない。 On the other hand, when log management such as print history or communication history is performed in association with the IP address, it is not possible to determine in which mode the log content is, so in such a case, the IP address is not duplicated. Must do so.
図12は、排他制御し、第1モードで通信する場合のアドレスチェック処理の手順を示すフローチャートである。 FIG. 12 is a flowchart showing the procedure of address check processing when performing exclusive control and communicating in the first mode.
このアドレスチェック処理は、図7(A)のDHCPサーバ設定画面800で範囲が入力され、OKボタン802が押下されたときに重複をチェックする処理である。
This address check process is a process of checking for duplication when a range is input on the DHCP
図12において、操作制御部300は、第2モードで使用したことのあるIPアドレスを取得する(ステップS1501)。ここでは、第2モードで使用したことのあるIPアドレスとして、第2モードで前回使用したIPアドレスを記憶部301より取得するものとする。
In FIG. 12, the
そして、設定された範囲のネットワークアドレスと第2モードアドレスのネットワークアドレスが重複しているか否か判別する(ステップS1502)。 Then, it is determined whether or not the network address in the set range overlaps with the network address of the second mode address (step S1502).
ステップS1502の判別の結果、ネットワークアドレスが重複していない場合には(ステップS1502でNO)、入力された範囲を第1モードでDHCPサーバとして動作する際に配布するIPアドレスの範囲として決定し、当該範囲を記憶部301によりHDD214に記憶して(ステップS1503)、本処理を終了する。 If the network address does not overlap as a result of the determination in step S1502 (NO in step S1502), the input range is determined as a range of IP addresses to be distributed when operating as a DHCP server in the first mode, The said range is memorize | stored in HDD214 by the memory | storage part 301 (step S1503), and this process is complete | finished.
一方、ステップS703の判別の結果、ネットワークアドレスが重複している場合には(ステップS703でYES)、図7(A)に示したエラーメッセージ画面1000を操作パネル211に表示して(ステップS1506)、本処理を終了する。
On the other hand, as a result of the determination in step S703, if the network address is duplicated (YES in step S703), the
図11,12の処理によれば、第1モード及び第2モードの同時動作に対応していないアプリケーションがアプリケーション部310に含まれる場合でも、IPアドレスの重複を回避することができる。
11 and 12, duplication of IP addresses can be avoided even when the
以上説明したように、本実施の形態によれば、第1のネットワーク上の外部装置との通信で使用しているIPアドレスに基づいて、第2のネットワーク上の外部装置に配布するIPアドレスを決定する(ステップS604)。そして、決定されたIPアドレスを、第2のネットワーク上の外部装置に配布する(ステップS606)。 As described above, according to the present embodiment, the IP address distributed to the external device on the second network is based on the IP address used for communication with the external device on the first network. Determination is made (step S604). Then, the determined IP address is distributed to an external device on the second network (step S606).
このように重複しないIPアドレスを配布するので、ネットワーク機器との通信を妨げることなくデータの誤送信を防止可能となる。 Since IP addresses that do not overlap are distributed in this way, erroneous transmission of data can be prevented without interfering with communication with network devices.
なお、上述した実施の形態では、通信装置として画像形成装置を例に説明したが、本発明の趣旨に関する処理及び構成は画像形成装置の特徴を用いたものではなく、PCや携帯電話等の一般的な通信装置で実現可能であるので、本発明は一般的な通信装置に適用することができる。 In the above-described embodiment, the image forming apparatus has been described as an example of the communication apparatus. However, the processing and configuration related to the gist of the present invention do not use the characteristics of the image forming apparatus, and are generally used for PCs, mobile phones, and the like. Therefore, the present invention can be applied to a general communication device.
(他の実施の形態)
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。
(Other embodiments)
The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.
100 画像形成装置
202 CPU
203 RAM
204 ROM
214 HDD
300 操作制御部
301 記憶部
302 アドレス解決部
303 通信制御部
304 第1モード制御部
305 第1モード通信部
306 第2モード制御部
307 第2モード通信部
1320 モード切替部
100
203 RAM
204 ROM
214 HDD
300
Claims (18)
前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付手段と、
前記入力された設定情報に基づく割り当て候補のうちの少なくとも1つのIPアドレスと前記特定のネットワークに接続するためのIPアドレスとが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御手段と、
を備えることを特徴とする通信装置。 A display unit for displaying information; and a network interface to which an IP address for connection to a specific network is assigned, providing an access point and providing one or more IPs to an external terminal accessing the access point A communication device that allocates one IP address from among allocation candidates including an address,
Accepting means for accepting input of setting information for communication using the access point;
When at least one IP address of the allocation candidates based on the input setting information matches an IP address for connecting to the specific network, communication via the specific network and the access point are Control means for controlling information to be displayed on the display unit so that an operation for simultaneously performing communication via
A communication apparatus comprising:
前記設定画面に入力された設定情報に基づく割り当て候補のうちの少なくとも1つのIPアドレスと前記特定のネットワークに接続するためのIPアドレスとが一致することに基づいて、前記表示部にエラー画面を表示させることを特徴とする請求項1又は2に記載の通信装置。 The control means displays a setting screen for inputting the setting information on the display unit,
An error screen is displayed on the display unit based on the fact that at least one IP address among the allocation candidates based on the setting information input on the setting screen matches an IP address for connecting to the specific network The communication device according to claim 1 or 2, wherein
前記設定画面に入力された設定情報に基づく割り当て候補のうちの少なくとも1つのIPアドレスと前記特定のネットワークに接続するためのIPアドレスとが一致することに基づいて、前記設定画面に更なる設定情報を入力するように促すメッセージを前記表示部に表示させることを特徴とする請求項1又は2に記載の通信装置。 The control means displays a setting screen for inputting the setting information on the display unit,
Based on the fact that at least one IP address of the allocation candidates based on the setting information input on the setting screen matches an IP address for connecting to the specific network, further setting information on the setting screen The communication apparatus according to claim 1, wherein a message prompting the user to input is displayed on the display unit.
前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付手段と、
ネットワーク部とホスト部とを有する第2のIPアドレスであって前記入力に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御手段と、
を備えることを特徴とする通信装置。 A display unit for displaying information, and a network interface having a first IP address having a network unit and a host unit and assigned with a first IP address for connection to a specific network. A communication apparatus for allocating one IP address from among allocation candidates including one or a plurality of IP addresses to an external terminal that provides the access point;
Accepting means for accepting input of setting information for communication using the access point;
The second IP address having a network part and a host part, and when the network part of the second IP address acquired based on the input matches the network part of the first IP address, the specifying Control means for controlling information to be displayed on the display unit so that an operation for simultaneously performing communication via the network and communication via the access point cannot be performed,
A communication apparatus comprising:
前記入力された設定情報に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致することに基づいて、前記表示部にエラー画面を表示させることを特徴とする請求項5又は6に記載の通信装置。 The control means displays a setting screen for inputting the setting information on the display unit,
An error screen is displayed on the display unit based on a match between the network unit of the second IP address acquired based on the input setting information and the network unit of the first IP address. The communication device according to claim 5 or 6.
前記入力された設定情報に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致することに基づいて、前記設定画面に更なる設定情報を入力するように促すメッセージを前記表示部に表示させることを特徴とする請求項5又は6に記載の通信装置。 The control means displays a setting screen for inputting the setting information on the display unit,
Based on the fact that the network part of the second IP address acquired based on the input setting information matches the network part of the first IP address, further setting information is input to the setting screen. The communication device according to claim 5, wherein a message prompting the user to display is displayed on the display unit.
前記特定のネットワークまたは前記アクセスポイントを介して取得した印刷データは前記プリンタに出力されることを特徴とする1乃至15のいずれか1項に記載の通信装置。 A printer,
16. The communication apparatus according to claim 1, wherein print data acquired via the specific network or the access point is output to the printer.
前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付ステップと、
ネットワーク部とホスト部とを有する第2のIPアドレスであって前記入力に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御ステップと、
を備えることを特徴とする制御方法。 A display unit for displaying information, and a network interface having a first IP address having a network unit and a host unit and assigned with a first IP address for connection to a specific network. A method for controlling a communication device that provides and assigns one IP address from among allocation candidates including one or a plurality of IP addresses to an external terminal that accesses the access point,
An accepting step for accepting input of setting information for communication using the access point;
The second IP address having a network part and a host part, and when the network part of the second IP address acquired based on the input matches the network part of the first IP address, the specifying A control step for controlling information to be displayed on the display unit so that an operation for simultaneously performing communication via the network and communication via the access point cannot be performed,
A control method comprising:
前記制御方法は、
前記アクセスポイントを用いて通信するための設定情報の入力を受け付ける受付ステップと、
ネットワーク部とホスト部とを有する第2のIPアドレスであって前記入力に基づき取得された第2のIPアドレスのネットワーク部と前記第1のIPアドレスのネットワーク部とが一致する場合において、前記特定のネットワークを介した通信と前記アクセスポイントを介した通信とを同時に行うための操作ができないように、前記表示部に表示させる情報を制御する制御ステップと、を備えることを特徴とするプログラム。 A display unit for displaying information, and a network interface having a first IP address having a network unit and a host unit and assigned with a first IP address for connection to a specific network. A program for causing a computer to execute a method of controlling a communication device that assigns one IP address from among allocation candidates including one or a plurality of IP addresses to an external terminal that accesses the access point,
The control method is:
An accepting step for accepting input of setting information for communication using the access point;
The second IP address having a network part and a host part, and when the network part of the second IP address acquired based on the input matches the network part of the first IP address, the specifying And a control step for controlling information to be displayed on the display unit so that an operation for simultaneously performing communication via the network and communication via the access point cannot be performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018142282A JP6584603B2 (en) | 2018-07-30 | 2018-07-30 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018142282A JP6584603B2 (en) | 2018-07-30 | 2018-07-30 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014000885A Division JP6381211B2 (en) | 2014-01-07 | 2014-01-07 | Image forming apparatus and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019013004A true JP2019013004A (en) | 2019-01-24 |
JP6584603B2 JP6584603B2 (en) | 2019-10-02 |
Family
ID=65227070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018142282A Active JP6584603B2 (en) | 2018-07-30 | 2018-07-30 | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6584603B2 (en) |
-
2018
- 2018-07-30 JP JP2018142282A patent/JP6584603B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6584603B2 (en) | 2019-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6381211B2 (en) | Image forming apparatus and control method thereof | |
JP5348094B2 (en) | Support device and computer program | |
JP5994261B2 (en) | Communication device | |
EP3273637B1 (en) | Mobile management system and method for managing a local area network | |
JP6071624B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM | |
JP2014036292A (en) | Radio communication device, communication setting method and communication setting program | |
JP7071575B2 (en) | Information processing equipment, its control method, and programs | |
CN112689029A (en) | Method, device and equipment for acquiring IP address of group user | |
JP7236243B2 (en) | Information processing device, control method, and program | |
KR20110132847A (en) | Image forming apparatus, host device and method for controlling print | |
JP6584603B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
JP2018157516A (en) | Information processing device, communication system, communication route control method, and program | |
JP7279220B2 (en) | Information processing device, its control method, and program | |
JP2021022877A (en) | Information processing device, control method, and program | |
CN110022382B (en) | Information processing apparatus, control method thereof, and storage medium | |
KR102312563B1 (en) | Information processing apparatus for data communication with external apparatus and control method for the same, and storage medium | |
JP7027084B2 (en) | Information processing equipment, its control method, and programs | |
JP6101197B2 (en) | Network connection management system and method, and wireless terminal device | |
JP2017130839A (en) | Communication apparatus, communication control method, and program | |
JP6477239B2 (en) | Information processing apparatus, connection control method, and program | |
KR102306337B1 (en) | Information processing apparatus capable of easily configuring setting on infrastructure to be used, control method therefor, and storage medium | |
JP5773205B2 (en) | Relay server and relay communication system | |
JP2016195465A (en) | Communication device | |
JP6634057B2 (en) | Communication device, control method thereof, and program | |
JP2018050350A (en) | Communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180730 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190423 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190621 |
|
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: 20190806 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190903 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6584603 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |