JP4630671B2 - Information processing apparatus, communication setting method thereof, and control program - Google Patents

Information processing apparatus, communication setting method thereof, and control program Download PDF

Info

Publication number
JP4630671B2
JP4630671B2 JP2005005108A JP2005005108A JP4630671B2 JP 4630671 B2 JP4630671 B2 JP 4630671B2 JP 2005005108 A JP2005005108 A JP 2005005108A JP 2005005108 A JP2005005108 A JP 2005005108A JP 4630671 B2 JP4630671 B2 JP 4630671B2
Authority
JP
Japan
Prior art keywords
filtering
communication setting
printer
communication
setting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005005108A
Other languages
Japanese (ja)
Other versions
JP2006192645A5 (en
JP2006192645A (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 JP2005005108A priority Critical patent/JP4630671B2/en
Publication of JP2006192645A publication Critical patent/JP2006192645A/en
Publication of JP2006192645A5 publication Critical patent/JP2006192645A5/ja
Application granted granted Critical
Publication of JP4630671B2 publication Critical patent/JP4630671B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that when resetting is tried to perform by a printer in which a filtering has been already set in a network installing, it is necessary either to release the filtering in advance or to initialize the printer for the installing, and when the filtering is restored after the installing, it is necessary to input again. <P>SOLUTION: In order to obtain convenience of the installing, when the filtering is set, the filtering is released temporarily, and it is returned to the original state after the installing is finished. In addition, when a host PC for the installing is not an object for the filtering, the installing is made simpler by adding automatically to the filtering. <P>COPYRIGHT: (C)2006,JPO&amp;NCIPI

Description

本発明は、プリンタ等のデバイスと通信を行う情報処理装置及びその通信設定方法、並びに前記通信設定方法を実現するための制御プログラムに関する。 The present invention relates to an information processing apparatus and a communication setting method thereof communicates with devices such as printers, as well as a control program for realizing the communication setting method.

近年、無線インターフェースを有したデバイス、例えばプリンタやプリンタアダプタは、従来有線で行っていたネットワーク構成を無線で構築することができ、配線等が不要なことから広く使われようになってきている。一例として、IEEEで標準化されている802.11b規格があり、この規格に対応した無線機器として、例えば無線LAN(Wireless Lacal Area Network)用のアクセスポイントやルーターなどがある。   In recent years, devices having a wireless interface, such as printers and printer adapters, have been widely used because a network configuration that has been conventionally performed by a wire can be built wirelessly and wiring is not required. As an example, there is the 802.11b standard standardized by IEEE, and as a wireless device corresponding to this standard, for example, there are an access point and a router for a wireless LAN (Wireless Lacal Area Network).

このような無線インターフェースを有するデバイスとして、無線LANに接続可能なプリンタは、配線等が不要で、且つ複数のコンピュータ(以下、ホストPCと記す)でプリンタを共有することができるために、家庭などでも一台のプリンタを使用して複数のホストPCから印刷する、といったようなニーズに応えられる(例えば、特許文献1及び特許文献2)。   As a device having such a wireless interface, a printer that can be connected to a wireless LAN does not require wiring or the like and can be shared by a plurality of computers (hereinafter referred to as host PCs). However, it is possible to meet needs such as printing from a plurality of host PCs using a single printer (for example, Patent Document 1 and Patent Document 2).

しかし、接続形態が無線であるため、無線が届く範囲では誰からも接続することができる可能性があり、情報の漏洩やハッキングに対するセキュリティ上の対策が重要になっている。その対策としては、無線LANに接続可能なプリンタに対してデータ送信を行うことができるホストPCを制限する方法がある。この方法の代表的なものとしては、MACアドレス(ネットワーク機器に個別に割り振られた唯一アドレス)を用い、通信を許可するホストPCをMACアドレスで制限しようとするようなものがある。   However, since the connection form is wireless, there is a possibility that anyone can connect within the reach of wireless, and security measures against information leakage and hacking are important. As a countermeasure, there is a method of limiting host PCs that can transmit data to a printer that can be connected to a wireless LAN. As a typical example of this method, there is a method using a MAC address (a unique address individually assigned to a network device) and trying to restrict host PCs that permit communication with the MAC address.

このような制限することをフィルタリングと呼び、MACアドレスを基にフィルタリングを行うものをMACアドレスフィルタリングと呼ぶ(例えば、特許文献3及び特許文献4)。フィルタリングは、通信を許可されていない相手からの通信を拒絶するため、セキュリティを保つことが可能になるほか、複雑な暗号化などを行う方式ではないため、実装することが比較的簡単である、といった長所を有している。
特開平07−013891号公報 特開2003−050677号公報 特開平11−027324号公報 特開2004−173148号公報
Such restriction is called filtering, and filtering based on the MAC address is called MAC address filtering (for example, Patent Document 3 and Patent Document 4). Filtering rejects communications from other parties that are not allowed to communicate, so security can be maintained, and it is not a method of performing complicated encryption, so it is relatively easy to implement. It has the following advantages.
Japanese Patent Laid-Open No. 07-013891 JP 2003-050677 A Japanese Patent Laid-Open No. 11-027324 JP 2004-173148 A

しかしながら、上記従来の技術では、フィルタリングが既に設定されたプリンタの無線LANを再設定して新たな環境で使用しようとした場合に次のような問題があった。すなわち、フィルタリングが既に設定されたプリンタは、フィルタリングで登録された通信相手との間でしか通信が許可されないため、無線LANの再設定を行うべくホストPCからプリンタをネットワーク経由で探す際に、該ホストPCが前記フィルタリングの対象機器となって通信が許可されずに無線LANの再設定ができない、という恐れがあった。   However, the above conventional technique has the following problems when attempting to use again in a new environment by resetting the wireless LAN of a printer for which filtering has already been set. That is, since a printer for which filtering has already been set is allowed to communicate only with a communication partner registered by filtering, when searching for a printer from the host PC via the network in order to reset the wireless LAN, the printer There is a fear that the host PC may become the filtering target device and the wireless LAN cannot be reset without communication being permitted.

この問題を解決するために、フィルタリングを一度解除或いはプリンタを初期化して、無線LANの再設定を行う方法も考えられるが、セキュリティを保つためには無線LANの再設定後に再度フィルタリングを設定し直すことが必要となり、ユーザの利便性を損なうことになる。   In order to solve this problem, it is possible to cancel the filtering once or initialize the printer and reset the wireless LAN, but to maintain security, reset the filtering again after resetting the wireless LAN. It is necessary to reduce the convenience of the user.

本発明は上記従来の問題点に鑑み、既にフィルタリングが設定されているデバイスでネットワーク・インストールを実行する場合でも、フィルタリングの解除や再設定をユーザが行うことなくネットワーク・インストールを簡単に実現することができる情報処理装置及びその通信設定方法、並びに制御プログラムを提供することを目的とする。 In view of the above-described conventional problems, the present invention can easily realize network installation without performing filtering cancellation or resetting by a user even when performing network installation on a device that has already been set up for filtering. and to provide an information processing apparatus and a communication setting method thereof, and control program.

上記目的を達成するため、本発明は、デバイスとの間で無線インターフェース経由での通信を有効及び無効のいずれかとするためのフィルタリングの設定が可能な情報処理装置において、有線インターフェース経由で前記デバイスの制御を可能にするための第一の通信設定を実行する第一の通信設定手段と、前記第一の通信設定手段による前記第一の通信設定の実行後に、無線インターフェースを経由での前記デバイスとの通信を可能とするための第二の通信設定を実行する第二の通信設定手段と、前記第一の通信設定手段による前記第一の通信設定の実行後であって、前記第二の通信設定手段による第二の通信設定を実行する前に、前記フィルタリングの設定を一時的に解除するフィルタリング解除手段と、前記第二の通信設定手段による前記第二の通信設定の実行後に、フィルタリングの設定を再設定するフィルタリング再設定手段とを備えたことを特徴とする。
また、本発明は、デバイスとの間で無線インターフェース経由での通信を有効及び無効のいずれかとするためのフィルタリングの設定が可能な情報処理装置の通信設定方法であって、有線インターフェース経由で前記デバイスの制御を可能にするための第一の通信設定を実行する第一の通信設定工程と、前記第一の通信設定工程による前記第一の通信設定の実行後に、無線インターフェースを経由での前記デバイスとの通信を可能とするための第二の通信設定を実行する第二の通信設定工程と、前記第一の通信設定工程による前記第一の通信設定の実行後であって、前記第二の通信設定工程による第二の通信設定を実行する前に、前記フィルタリングの設定を一時的に解除するフィルタリング解除工程と、前記第二の通信設定工程による前記第二の通信設定の実行後に、フィルタリングの設定を再設定するフィルタリング再設定工程とを有することを特徴とする。
また、本発明の制御プログラムは、上記の通信設定方法をコンピュータにより実現するための制御プログラムで有ることを特徴とする
To achieve the above object, the present invention provides a information processing apparatus capable of filtering settings for communicating with one of the valid and invalid of over the air interface between the device, the device via a wired interface a first communication setting means for performing a first communication configuration to enable control of, after execution of the first communication setting by the first communication setting means, over the non-linear interface a second communication setting means for performing the second communication setting for enabling the communication with the device, even after execution of the first communication setting by the first communication setting means, wherein before performing the second communication configuration according to the second communication setting unit, a filtering release means for temporarily releasing the setting of the filtering, according to the second communication setting means Serial after execution of the second communication configuration, is characterized in that a filtering resetting means for resetting the settings of the filtering.
The present invention also relates to a communication setting method of an information processing apparatus capable of setting filtering for enabling or disabling communication with a device via a wireless interface, the device via a wired interface. A first communication setting step for executing a first communication setting for enabling control of the device, and after execution of the first communication setting by the first communication setting step, the device via a wireless interface A second communication setting step for executing a second communication setting for enabling communication with the second communication setting step, and after the execution of the first communication setting by the first communication setting step. Before performing the second communication setting by the communication setting step, the filtering cancellation step for temporarily releasing the filtering setting, and the second communication setting step by the second After execution of the second communication settings, and having a filtering resetting step of resetting the settings of the filtering.
The control program of the present invention is a control program for realizing the communication setting method by a computer .

本発明によれば、既にフィルタリングが設定されているデバイスでネットワーク経由の通信設定を実行する場合に、フィルタリングの解除や再設定をユーザが行うことなく通信設定を簡単に実現することが可能になる。   According to the present invention, when performing communication setting via a network on a device for which filtering has already been set, it becomes possible to easily realize the communication setting without the user performing cancellation or resetting of filtering. .

本発明の情報処理装置及びその通信設定方法、並びに制御プログラムの実施
の形態について、図面を参照しながら説明する。
The information processing apparatus and a communication setting method thereof of the present invention, as well as the embodiment of the control program will be described with reference to the drawings.

[第1の実施の形態]
<システム構成>
図1は、本発明の実施の形態に係る情報処理システムの概略構成を示すブロック図である。
[First Embodiment]
<System configuration>
FIG. 1 is a block diagram showing a schematic configuration of an information processing system according to an embodiment of the present invention.

図中のノートPC11は、有線ローカルインターフェースとしてUSBケーブル15を使用し、無線インターフェースとして例えばPCMCIAカードタイプの無線LANカード14を装着することが可能に構成されている。プリンタ12もPC11と同様に有線ローカルインターフェースと無線インターフェースの両者を備える。有線ローカルインターフェースは、PC11とプリンタ12とをUSBケーブル15で接続することで実現される。無線インターフェースは、例えばPCMCIAカードタイプの無線LANカード14を装着することで実現される。   The notebook PC 11 in the figure is configured to use a USB cable 15 as a wired local interface and to be able to mount, for example, a PCMCIA card type wireless LAN card 14 as a wireless interface. Similar to the PC 11, the printer 12 includes both a wired local interface and a wireless interface. The wired local interface is realized by connecting the PC 11 and the printer 12 with the USB cable 15. The wireless interface is realized by mounting a PCMCIA card type wireless LAN card 14, for example.

アクセスポイント13は、無線インターフェースのアクセスポイントで無線機器同士の仲介の役割を果たす機能を有し、例えばPCMCIAカードタイプの無線LANカード14を装着することが可能に構成されている。なお、無線LANモジュールを内蔵した各機器を使用する場合は、PCMCIAカードタイプの無線LANカード14の装着は不要となる。   The access point 13 has a function of acting as an intermediary between wireless devices at the access point of the wireless interface, and is configured to be able to mount a wireless LAN card 14 of, for example, a PCMCIA card type. Note that when using each device with a built-in wireless LAN module, it is not necessary to install a PCMCIA card type wireless LAN card 14.

PC11とプリンタ12との間では、USBケーブル15を使って印刷データを送信することも可能であり、また無線LANインターフェースを用いてアクセスポイント13を経由してプリンタ12へ印刷データを送ることも可能になっている。本図では、1台のPC11のみが図示されているが、複数のPCが1つのアクセスポイントに接続可能であり、1つのプリンタを複数のPCで共有して印刷を行うこともできる。   It is also possible to transmit print data between the PC 11 and the printer 12 using the USB cable 15, and it is also possible to transmit print data to the printer 12 via the access point 13 using the wireless LAN interface. It has become. Although only one PC 11 is shown in the figure, a plurality of PCs can be connected to one access point, and one printer can be shared by a plurality of PCs for printing.

無線LANには、アクセスポイントを経由して複数の無線LAN機器と接続可能なモードがあり、インフラストラクチャモードと呼ばれる。インフラストラクチャモードでは、アクセスポイントに設定されたID(SSID)と同じIDを無線LAN機器にも設定することで、複数の無線LAN機器からアクセスポイントを経由してLANを構成することができる。   The wireless LAN has a mode that can be connected to a plurality of wireless LAN devices via an access point, and is called an infrastructure mode. In the infrastructure mode, a LAN can be configured from a plurality of wireless LAN devices via an access point by setting the same ID as the ID (SSID) set for the access point in the wireless LAN device.

無線LAN機器としてプリンタを使用する場合、プリンタがアクセスポイントに接続できるように設定する必要がある。本実施形態では、PC11とアクセスポイント13との間の設定は既になされていて、インフラストラクチャモードでアクセスポイントと通信できる状態になっているものとし、プリンタ12に関しては、まだ無線LANの設定が行われておらず、初期状態としてインフラストラクチャモードでIDは設定されていないものとしている。   When using a printer as a wireless LAN device, it is necessary to make settings so that the printer can connect to an access point. In the present embodiment, it is assumed that the setting between the PC 11 and the access point 13 has already been made and communication with the access point is possible in the infrastructure mode. It is assumed that no ID is set in the infrastructure mode as an initial state.

PC11では何らかのOS(オペレーティングシステム)が動作していて、そのOS環境で印刷を行うためには、印刷用ソフトウェア(プリンタドライバ)をPC11にインストールする必要がある。さらに無線LANを使って印刷を行うような場合には、プリンタ12内の無線LANの設定を行い、プリンタ12がアクセスポイント13と接続できる状態にした上、PC11では無線LANでの印刷を可能とするソフトウェアをPC11にインストールする。そして、無線LANでの印刷を可能とするソフトウェアをプリンタ12に適した設定にしておく必要がある。   Some operating system (OS) is operating on the PC 11, and printing software (printer driver) needs to be installed in the PC 11 in order to perform printing in the OS environment. Further, when printing using a wireless LAN, the wireless LAN in the printer 12 is set so that the printer 12 can be connected to the access point 13, and the PC 11 can print on the wireless LAN. The software to be installed is installed on the PC 11. It is necessary to set software suitable for the printer 12 that enables printing via a wireless LAN.

<プリンタドライバのインストール>
PC11などのホストPCにプリンタ12などのプリンタを接続して印刷を行えるようにするためには、ホストPCのOS上で印刷アプリケーションからの印刷命令を理解し、印刷命令に基づく印刷制御コマンド並びに印刷データをプリンタに転送し、プリンタの制御を行うためのソフトウェアが必要となる。このプリンタの制御を行うソフトウェアが前述したプリンタドライバである。
<Installing the printer driver>
In order to enable printing by connecting a printer such as the printer 12 to a host PC such as the PC 11, a print command from the print application is understood on the OS of the host PC, and a print control command and printing based on the print command are performed. Software for transferring data to the printer and controlling the printer is required. The software for controlling the printer is the printer driver described above.

ホストPCに接続される全てのハードウェアは、プリンタドライバに代表されるようにデバイスドライバを介してアプリケーションからの制御命令を受け取る仕組みで制御される。デバイスドライバは、デバイスがホストPCに接続されている間は一種の常駐プログラムとして特定のメモリ領域を占有して常駐している。   All hardware connected to the host PC is controlled by a mechanism that receives a control command from an application via a device driver, as represented by a printer driver. The device driver occupies a specific memory area as a kind of resident program while the device is connected to the host PC.

Windows(登録商標)に代表される最近のOSは、デバイスをホストPCに接続したときに自動的にそのデバイスに対応した適切なデバイスドライバを組み込むといったプラグ・アンド・プレイ機能を有している。デバイスを初めてホストPCに接続した際のプラグ・アンド・プレイ処理において、OSが標準に備えているデバイスドライバの中に最適なものが無かった場合、デバイス購入時にフロッピー(登録商標)ディスクやCD−ROMといったメディアで添付されるデバイスドライバをOSに組み込む必要がある。このデバイスドライバの組み込み作業をドライバのインストール作業と称する。   Recent OSs represented by Windows (registered trademark) have a plug-and-play function that automatically incorporates an appropriate device driver corresponding to a device when the device is connected to a host PC. In plug and play processing when a device is first connected to the host PC, if there is no optimal device driver included in the OS, a floppy (registered trademark) disk or CD- It is necessary to incorporate a device driver attached to a medium such as a ROM into the OS. This device driver installation operation is referred to as driver installation operation.

図2は、本実施形態に係る、USBを用いたプリンタドライバ・インストール処理で表示される画面の一例を示す画面表示図である。この画面例は、図1のプリンタ12で印刷を行うためプリンタドライバをPC11にインストールする際に、PC11の画面上に表示されるものである。   FIG. 2 is a screen display diagram illustrating an example of a screen displayed in the printer driver installation process using the USB according to the present embodiment. This screen example is displayed on the screen of the PC 11 when the printer driver is installed in the PC 11 for printing with the printer 12 of FIG.

まず始めの画面として、画面61が表示される。この画面61は、プリンタドライバ・インストール処理の開始画面になり、ユーザがインストール用のソフトウェアを起動することで、表示される。画面61上には、「実行」と「キャンセル」をそれぞれ選択する選択アイコン62,63があり、マウスなどで選択することができる。「実行」62を選択するとインストールが開始され、次の画面64が表示される。「キャンセル」63を選択した場合は、プリンタドライバのインストールは行われずに終了する。   A screen 61 is displayed as the first screen. This screen 61 is a printer driver / installation process start screen, and is displayed when the user starts the installation software. On the screen 61, there are selection icons 62 and 63 for selecting "execute" and "cancel", respectively, which can be selected with a mouse or the like. When “execute” 62 is selected, installation is started and the next screen 64 is displayed. If “Cancel” 63 is selected, the printer driver is not installed and the process ends.

画面64では、ユーザにUSBインターフェースを接続する旨の指示が表示され、ユーザはその指示に従ってプリンタ12のUSBインターフェースにUSBケーブル15を接続する。プリンタ12の電源が入っていない場合、ユーザはプリンタ12の電源を入れる。画面64でも、「キャンセル」65でインストールを中止することができる。   On the screen 64, an instruction to connect the USB interface is displayed to the user, and the user connects the USB cable 15 to the USB interface of the printer 12 according to the instruction. When the printer 12 is not turned on, the user turns on the printer 12. Also on the screen 64, installation can be canceled by “cancel” 65.

USBケーブル15を接続してプリンタ12の電源を入れると、プラグ・アンド・プレイによりプリンタドライバのインストール、及びプリンタ12の内部設定が完了する。   When the USB cable 15 is connected and the printer 12 is turned on, installation of the printer driver and internal settings of the printer 12 are completed by plug and play.

インストールに成功すると、画面66が表示されてインストールが完了し、「OK」67を選択することでソフトウェアが終了する。何らかの理由によりプリンタドライバのインストールが失敗した場合は、画面68が表示されてインストールに失敗したことをユーザに知らしめる。画面66と同様に「OK」69でソフトウェアが終了する。   When the installation is successful, a screen 66 is displayed and the installation is completed. By selecting “OK” 67, the software is terminated. If installation of the printer driver fails for some reason, a screen 68 is displayed to inform the user that the installation has failed. As with the screen 66, the software ends with “OK” 69.

以上のように、画面61→画面64→画面66と指示に従って操作することで、USBを使ったプリンタドライバのインストールが完了し、PC11からプリンタ12へUSBケーブル15を介して印刷データを送信することが可能となる。   As described above, the printer driver installation using the USB is completed by operating in accordance with the instructions of the screen 61 → the screen 64 → the screen 66, and the print data is transmitted from the PC 11 to the printer 12 via the USB cable 15. Is possible.

<本実施の形態に係る無線ネットワーク・インストールの概要>
I.アクセスポイントとプリンタが複数の場合
図3(a)〜(c)及び図4(d),(e)は、本実施形態に係る、USBを用いた無線ネットワーク・インストール処理で表示される画面例を示す画面表示図である。この画面例は、図2で説明したプリンタドライバのインストールが終了した後、引き続き無線LANの設定を行う際に、PC11の画面上に表示されるものである。
<Overview of Wireless Network Installation According to this Embodiment>
I. When there are a plurality of access points and printers FIGS. 3A to 3C and FIGS. 4D and 4E are examples of screens displayed in the wireless network installation process using USB according to this embodiment. FIG. This screen example is displayed on the screen of the PC 11 when the wireless LAN is subsequently set after the installation of the printer driver described in FIG.

図3(a)の画面66において、「OK」67が選択された場合は無線LANの設定は行われないが、「ネットワークインストール」70が選択されると、引き続き、無線ネットワーク・インストール処理が開始され、まず始めに、アクセスポイントと接続するためにアクセスポイントを選択する操作画面84(図3(b))が表示される。   When “OK” 67 is selected on the screen 66 in FIG. 3A, the wireless LAN setting is not performed, but when “Network installation” 70 is selected, the wireless network installation process starts. First, an operation screen 84 (FIG. 3B) for selecting an access point to connect to the access point is displayed.

この画面84は、プリンタ12に装着された無線LANカード14を使ってプリンタ12が接続可能なアクセスポイントの一覧を表示するために、PC11からUSBケーブル15経由でアクセスポイントサーチ用のコマンドをプリンタ12へ送り、その結果得られたアクセスポイント情報をUSBケーブル15経由で取得し、その取得内容を基に一覧を画面表示した状態を示している。プリンタ12は、アクセスポイントサーチ用のコマンドをUSBケーブル15を介してPC11から受信すると、無線LANカード14を使ってアクセスポイントをサーチする。   This screen 84 displays an access point search command from the PC 11 via the USB cable 15 in order to display a list of access points to which the printer 12 can be connected using the wireless LAN card 14 attached to the printer 12. The access point information obtained as a result is acquired via the USB cable 15, and a list is displayed on the screen based on the acquired content. When the printer 12 receives an access point search command from the PC 11 via the USB cable 15, the printer 12 searches for an access point using the wireless LAN card 14.

画面84内の表示領域85は、アクセスポイントサーチによってプリンタ12側から発見されたアクセスポイントの一覧を表示しており、この例では、3つのアクセスポイントA,B,Cがプリンタ12側から見つかったことを示している。複数のアクセスポイントから所望のアクセスポイントを選択できるように画面内85のハイライトされた行を移動することで、アクセスポイントを選択することができる。   A display area 85 in the screen 84 displays a list of access points discovered from the printer 12 side by the access point search. In this example, three access points A, B, and C are found from the printer 12 side. It is shown that. The access point can be selected by moving the highlighted line in the screen 85 so that a desired access point can be selected from a plurality of access points.

画面84内の「戻る」87を選択すると、前の画面66へ戻り、「次へ」88を選択することで、領域85で選択したアクセスポイントが指定された状態で次の画面に進む。「キャンセル」89ではインストールを中止する。画面84において、ユーザがアクセスポイントを選択すると、使用するアクセスポイントの設定がプリンタ12で行われ、プリンタ12がアクセスポイント13から認識できるようになる。PC11は、プリンタ12が正しく接続されたどうかを確認するために無線LAN経由でプリンタの検索を行う。   Selecting “Return” 87 in the screen 84 returns to the previous screen 66 and selecting “Next” 88 advances to the next screen with the access point selected in the area 85 being designated. “Cancel” 89 cancels the installation. When the user selects an access point on the screen 84, the access point to be used is set by the printer 12, and the printer 12 can be recognized from the access point 13. The PC 11 searches for a printer via a wireless LAN in order to check whether the printer 12 is correctly connected.

次の画面810(図3(c))は、アクセスポイント経由で発見されたプリンタの一覧を表示する画面である。このプリンタの一覧の取得及び表示は、PC11が無線LANインターフェースを使ってアクセスポイント13を経由してプリンタサーチ用のコマンドを送信し、プリンタサーチ用のコマンドを受け取ったプリンタがその返答を戻すことで行われる。すなわち、このサーチコマンドはブロードキャストでネットワーク上の全ての機器に送信され、サーチコマンドを受け取りこのコマンドを理解できる機器(この場合は特定のプリンタやプリンタアダプタ)がコマンドを送信したホストPCに対して、コマンドに対応して予め決められた情報を戻す。この情報には、プリンタの名称やID、アドレスなどが含まれていて、これら情報を基に接続したいプリンタを特定するようになっている。   The next screen 810 (FIG. 3C) is a screen that displays a list of printers discovered via the access point. The printer list is acquired and displayed by the PC 11 sending a printer search command via the access point 13 using the wireless LAN interface, and the printer receiving the printer search command returns its response. Done. That is, this search command is broadcasted to all devices on the network, and a device that can receive the search command and understand this command (in this case, a specific printer or printer adapter) sends the command to the host PC. Returns predetermined information corresponding to the command. This information includes the name, ID, address, etc. of the printer, and the printer to be connected is specified based on these information.

画面810では、発見されたプリンタの一覧が表示領域811に表示され、この例では3つのプリンタが発見されている。アクセスポイントの選択と同様に、領域811内においてハイライトで示されたプリンタが選択される。画面810で「戻る」812を選択すると前画面84へ戻り、「キャンセル」814を選択するとインストールは中止される。   On the screen 810, a list of discovered printers is displayed in the display area 811. In this example, three printers are discovered. Similar to the selection of the access point, the printer indicated by highlight in the area 811 is selected. Selecting “Return” 812 on the screen 810 returns to the previous screen 84, and selecting “Cancel” 814 stops the installation.

また、画面810で「次へ」813を選択することにより、表示領域811で選択したプリンタが接続相手として決定されると共に、ポート名を入力するための画面815(図4(d))が次に表示される。画面815内の入力領域816は、入力したいポート名を入れる領域である。ポート名は、1つのPCに接続される複数のプリンタが同じ機能を有する(例えば無線LAN)場合に、これらプリンタを区別するために用いられ、初期値として例えばWLAN01が設定される。   Also, by selecting “Next” 813 on the screen 810, the printer selected in the display area 811 is determined as the connection partner, and the screen 815 (FIG. 4D) for inputting the port name is displayed next. Is displayed. An input area 816 in the screen 815 is an area for entering a port name to be input. When a plurality of printers connected to one PC have the same function (for example, wireless LAN), the port name is used to distinguish these printers, and WLAN01 is set as an initial value, for example.

「WLAN」は、無線LANのプリンタを示すための識別名であり、「01」はシステムに登録されている最終の番号を表し、複数の同じ機能を有するプリンタを区別して扱うために順番に番号を付ける。プリンタドライバでは、このポート名によってプリンタを特定する。   “WLAN” is an identification name for indicating a printer of a wireless LAN, “01” represents a final number registered in the system, and is sequentially numbered to distinguish a plurality of printers having the same function. Add. In the printer driver, the printer is specified by this port name.

画面815で「戻る」817を選択すると、前画面810へ戻り、「次へ」818を選択することにより、入力領域816で入力した名前がポート名として決まる。また、「キャンセル」819の選択でインストールを中止する。画面815で「次へ」818が選択されると、ネットワーク・インストールの完了を示す画面820(図4(e))が表示される。   When “Return” 817 is selected on the screen 815, the screen returns to the previous screen 810, and by selecting “Next” 818, the name input in the input area 816 is determined as the port name. In addition, installation is canceled by selecting “Cancel” 819. When “Next” 818 is selected on the screen 815, a screen 820 (FIG. 4E) indicating the completion of network installation is displayed.

画面820には、2つのラジオボタン821,822があり、ユーザは、無線LAN用のプリンタアイコンのみを作成する場合はラジオボタン821を選択し、無線LAN用のプリンタアイコンとUSB用のプリンタアイコンの両方のアイコンを作成する場合にはラジオボタン822を選択することになる。ユーザが「OK」823を選択すると、ラジオボタン821が選択されている場合には、図5に示すようなプリンタアイコンが作成される。ラジオボタン822が選択されている場合には、図6に示すようなプリンタアイコンが作成される。このプリンタアイコンは、登録されているプリンタをユーザが確認したり、区別したり、或いは現在準備可能なプリンタを識別するのに利用され、アプリケーションからの印刷ではこのアイコンが選択される。   The screen 820 has two radio buttons 821 and 822, and the user selects the radio button 821 when creating only a wireless LAN printer icon, and selects a wireless LAN printer icon and a USB printer icon. When creating both icons, the radio button 822 is selected. When the user selects “OK” 823, if the radio button 821 is selected, a printer icon as shown in FIG. 5 is created. When the radio button 822 is selected, a printer icon as shown in FIG. 6 is created. This printer icon is used by the user to confirm or distinguish a registered printer, or to identify a printer that can be currently prepared, and this icon is selected for printing from an application.

例えば、図6において「BJ○○○USB001」のアイコンが選択されると、印刷データはUSBケーブル15経由で送信される。一方、「BJ○○○(コピー2)WLAN01」のアイコンが選択されると、印刷データは無線LAN経由で送信される。   For example, when the icon “BJOOXXUSB001” is selected in FIG. 6, the print data is transmitted via the USB cable 15. On the other hand, when the “BJXXX (copy 2) WLAN01” icon is selected, the print data is transmitted via the wireless LAN.

以上の方法で、ネットワークインストール完了画面のラジオボタンによるユーザの選択に従い、無線LANポートのセットアップのみを選択した場合は、無線LANポートインスタンスを表すプリンタ・アイコンのみ、無線LANポートと共にUSBポートのセットアップを選択した場合は、無線LANポートとUSBポートの両インスタンスを表す2つのプリンタ・アイコンが作成される。   When only the wireless LAN port setup is selected according to the user's selection by the radio button on the network installation completion screen in the above method, only the printer icon representing the wireless LAN port instance is set up with the wireless LAN port and the USB port setup. If selected, two printer icons representing both instances of the wireless LAN port and the USB port are created.

II.アクセスポイントとプリンタが1つのみの場合
図7は、本実施形態に係る、USBインターフェースを用いた無線ネットワーク・インストール処理で表示される他の画面例を示す画面表示図である。この画面例は、上述したUSBインターフェースを用いた無線ネットワーク・インストール処理に際して、前記アクセスポイントサーチとプリンタサーチによってアクセスポイントとプリンタがそれぞれ1つのみ発見された場合に、図3及び図4で説明した画面例に代えてPC11の画面上に表示されるものである。
II. FIG. 7 is a screen display diagram illustrating another screen example displayed in the wireless network installation process using the USB interface according to the present embodiment. This screen example has been described with reference to FIGS. 3 and 4 when only one access point and one printer are found by the access point search and printer search during the wireless network installation process using the USB interface described above. Instead of the screen example, it is displayed on the screen of the PC 11.

本例の表示画面は、図3及び図4で説明した表示画面において、画面84,810,815が省略されて表示されず、画面66と、画面820に対応する画面94のみの表示となる。1つのアクセスポイントで且つプリンタが一台のみ存在する環境においてポート名も自動に作成されるものでよい場合に、ユーザは図7に示す画面66での「ネットワークインストール」70の選択と、完了画面94での「OK」97の2つの指示を行うだけで、無線ネットワークのインストールが完了することになる。   In the display screen of this example, the screens 84, 810, and 815 are not displayed in the display screen described with reference to FIGS. 3 and 4, and only the screen 66 and the screen 94 corresponding to the screen 820 are displayed. When the port name may be automatically created in an environment with one access point and only one printer, the user selects the “network installation” 70 on the screen 66 shown in FIG. The installation of the wireless network is completed simply by giving two instructions “OK” 97 in 94.

III.コマンド
USBケーブル15経由でプリンタへ送られるUSBコマンドとして、本実施形態では、3つのコマンドを用意している。USBコマンドには、この他にも、印刷データを送るコマンド、各種プリンタの設定を行うコマンドなどがあるが、本発明に直接関係するインストールコマンドだけを挙げる。1つがアクセスポイントをサーチするコマンドで、2つ目が情報取得コマンドであり、プリンタに設定されている無線LANに関する情報をプリンタから取得するのに用いられる。3つ目は情報設定コマンドであり、無線LANに関する情報(例えばアクセスポイントのアドレス、モード、チャネルなど)を設定するコマンドである。
III. Commands In this embodiment, three commands are prepared as USB commands sent to the printer via the USB cable 15. Other USB commands include a command for sending print data, a command for setting various printers, and the like, but only an install command directly related to the present invention is listed. One is a command for searching for an access point, and the second is an information acquisition command, which is used to acquire information about a wireless LAN set in the printer from the printer. The third is an information setting command for setting information related to the wireless LAN (for example, access point address, mode, channel, etc.).

また、無線LANを介してプリンタへ送信されるネットワークコマンドとして、本実施形態では、ネットワークコマンドの内のインストールに使用されるコマンドとして、全てのプリンタが受け取るブロードキャスト用プリンタサーチコマンドと、特定のプリンタが受け取るアドレス指定用プリンタサーチコマンドの2つのコマンドが用意されている。ネットワークコマンドには、この他にも印刷データを送るコマンド、各種プリンタの設定を行うコマンドなどがあるが、本発明に直接関係するインストールコマンドだけを挙げる。このコマンドを使うことにより、ネットワーク上にあるプリンタが正しく見つかったか、且つ正しく設定されているかどうかの判断、つまり無線LAN経由でのプリンタとの接続確認を行うことができる。これらコマンドは、ネットワーク上で一般的なTCP/IP,UDPなどのプロトコルを介して転送、返信が行われる。   In this embodiment, as a network command transmitted to the printer via the wireless LAN, a broadcast printer search command received by all printers and a specific printer as a command used for installation among the network commands. Two commands, a printer search command for specifying an address to be received, are prepared. Other network commands include a command for sending print data, a command for setting various printers, and the like, but only installation commands directly related to the present invention are listed. By using this command, it is possible to determine whether a printer on the network has been found correctly and whether it has been set correctly, that is, to confirm connection with the printer via the wireless LAN. These commands are transferred and returned via a general protocol such as TCP / IP or UDP on the network.

<本実施の形態に係るフィルタリングの設定>
本実施の形態のプリンタ12は、特定のホストPCからの通信だけを行えるように制限するためにフィルタリングの設定が可能である。本実施の形態ではフィルタリングに2種類のフィルタ条件を設けている。1つがMACアドレスフィルタリングであって、ネットワーク機器に固有なMACアドレスをフィルタリングの条件とするものである。もう1つがIPアドレスフィルタリングであって、ネットワーク機器に割り振られるネットワークアドレスをフィルタリングの条件とするものである。どちらの場合も、ホストPCに割り振られたMACアドレス或いはIPアドレスを基に指定されたアドレスに合致するホストPCからの通信を許可するものである。このようなフィルタリングを設けることで、予期せぬホストPCからの通信を遮断することが可能となり、セキュリティを保つことが可能となる。
<Setting of filtering according to this embodiment>
The printer 12 according to the present embodiment can be set for filtering so as to restrict communication from a specific host PC. In this embodiment, two types of filter conditions are provided for filtering. One is MAC address filtering, which uses a MAC address unique to a network device as a filtering condition. The other is IP address filtering, which uses a network address assigned to a network device as a filtering condition. In either case, communication from the host PC that matches the address specified based on the MAC address or IP address assigned to the host PC is permitted. By providing such filtering, it is possible to block communication from the host PC unexpectedly, and it is possible to maintain security.

図8は、MACアドレスフィルタの設定画面を示す画面表示図である。   FIG. 8 is a screen display diagram showing a MAC address filter setting screen.

図中の20−1は、プリンタ12にMACアドレスフィルタリング及びIPアドレスフィルタリングの設定を行うために、ホストPC上で動作する設定ユーティリティソフトウェアの操作画面であり、この操作画面20−1の“アクセス制限”タブ20−2を選択することで表示することができる。そして、ボタン20−3でMACアドレスの設定を行うのか、或いはIPアドレスの設定を行うのかを切り替えることができ、MACアドレスフィルタリングの場合は、領域20−4上に、既に設定されているMACアドレスとコメントの一覧が表示される。   Reference numeral 20-1 in the figure denotes an operation screen of setting utility software that operates on the host PC in order to set MAC address filtering and IP address filtering in the printer 12. It can be displayed by selecting the “tab 20-2”. Then, the button 20-3 can be used to switch whether the MAC address is set or the IP address is set. In the case of MAC address filtering, the MAC address already set in the area 20-4 is set. A list of comments is displayed.

コメントは、MACアドレスだけではどのホストPCであるかが分かりにくい(単なる数字の列である)ため、ホストPCに愛称を付けてユーザから分かり易くするものである。領域20−5には、MACアドレスの一覧が表示され、領域20−6には、登録したMACアドレスに対応したコメントの一覧が表示される。   Since the comment is difficult to identify which host PC is the MAC address alone (it is just a string of numbers), the host PC is given a nickname and is easily understood by the user. A list of MAC addresses is displayed in the area 20-5, and a list of comments corresponding to the registered MAC addresses is displayed in the area 20-6.

新しいアドレスを追加する場合には“追加”ボタン20−7を押すことで可能となり、図9で示した入力画面が表示される。一度登録したMACアドレスを削除するには、“削除”ボタン20−8を押すことで可能となる。追加或いは削除を行った後、その内容をプリンタに設定するためには、“OK”ボタン20−9を押すことで実行される。設定を行わない場合は“CANCEL”ボタン20−10を押す。   A new address can be added by pressing an “add” button 20-7, and the input screen shown in FIG. 9 is displayed. Deletion of a MAC address once registered can be performed by pressing a “delete” button 20-8. After adding or deleting, in order to set the contents in the printer, it is executed by pressing an “OK” button 20-9. When not performing the setting, the “CANCEL” button 20-10 is pressed.

図9は、MACアドレスを追加する場合の入力画面を示す画面表示図である。   FIG. 9 is a screen display diagram showing an input screen for adding a MAC address.

この入力画面21−1は、図8の“追加”ボタン20−7を押すことで表示される。入力領域21−2には、MACアドレスを2桁単位で6個分入力することができる。入力領域21−3には、コメントを入力することが可能で、自由な文字で登録することができる。図9の例では、“ボクのパソコン”というコメントをMACアドレス“33−44−55−66−77−88”に付ける例を示している。21−4“OK”を押すことで、図9の入力画面で入力したMACアドレスとコメントが保存され、図8の表示領域20−4に表示される。   This input screen 21-1 is displayed by pressing the “add” button 20-7 in FIG. In the input area 21-2, six MAC addresses can be input in units of two digits. In the input area 21-3, a comment can be input and registered with free characters. The example of FIG. 9 shows an example in which the comment “My personal computer” is attached to the MAC address “33-44-55-66-77-88”. By pressing 21-4 “OK”, the MAC address and comment entered on the input screen of FIG. 9 are saved and displayed in the display area 20-4 of FIG.

これら追加処理を繰り返し行うことで、通信を許可するホストPCを登録することができる。   By repeating these additional processes, it is possible to register a host PC that permits communication.

図10は、IPアドレスフィルタの設定画面を示す画面表示図である。   FIG. 10 is a screen display diagram showing an IP address filter setting screen.

この設定画面は、“アクセス制限”タブ20−2を選択し、ボタン20−3でIPアドレスを選ぶことにより表示される。   This setting screen is displayed by selecting the “access restriction” tab 20-2 and selecting an IP address with the button 20-3.

IPアドレスフィルタリングの場合は、領域上22−4上に、既に設定されているIPアドレスとコメントの一覧が表示される。領域22−5内にIPアドレスの一覧が表示され、領域22−6内には、登録したIPアドレスに対応したコメントの一覧が表示される。 IPアドレスは、MACアドレスとは異なり複数のアドレスを指定することができるように構成されている。IPアドレスは、機器に固有に振られることはMACアドレスと同様であるが、機器に予め決められているものではない場合が一般的で、機器に設定する、或いは機器がサーバー(DHCPサーバーなど)から取得するなどが一般的である。このため、あるアドレスのグループで制限をかけることも可能となる。本実施の形態では、IPアドレスの開始アドレスと終了アドレスを用いてアドレス決めることとし、開始アドレスと終了アドレスの間に含まれるアドレスがフィルタリング対象とされるアドレスとなる。   In the case of IP address filtering, a list of already set IP addresses and comments is displayed on the area 22-4. A list of IP addresses is displayed in the area 22-5, and a list of comments corresponding to the registered IP addresses is displayed in the area 22-6. Unlike the MAC address, the IP address is configured so that a plurality of addresses can be specified. The IP address is assigned to the device in the same way as the MAC address, but is generally not predetermined for the device, and is set in the device, or the device is a server (such as a DHCP server). It is common to obtain from. For this reason, it is also possible to place a restriction on a group of a certain address. In this embodiment, the address is determined using the start address and the end address of the IP address, and the address included between the start address and the end address is the address to be filtered.

新しいアドレスを追加する場合には、“追加”ボタン22−7を押すことで可能となり、図11で示した入力画面が表示される。一度登録したIPアドレスを削除するには、“削除”ボタン22−8を押すことで可能となる。追加或いは削除を行った後、その内容をプリンタに設定するためには、“OK”ボタン20−9を押すことで実行される。設定を行わない場合は“CANCEL”ボタン22−10を押す。   A new address can be added by pressing an “add” button 22-7, and the input screen shown in FIG. 11 is displayed. To delete an IP address once registered, it is possible to press a “delete” button 22-8. After adding or deleting, in order to set the contents in the printer, it is executed by pressing an “OK” button 20-9. When the setting is not performed, the “CANCEL” button 22-10 is pressed.

図11は、IPアドレスを追加する場合の入力画面を示す画面表示図である。   FIG. 11 is a screen display diagram showing an input screen for adding an IP address.

この入力画面23−1は、図10の“追加”ボタン22−7を押すことで表示される。   This input screen 23-1 is displayed by pressing the “Add” button 22-7 in FIG. 10.

入力領域23−2には、開始IPアドレスを3桁単位で4個分入力することができ、また、入力領域23−3には、終了IPアドレスを3桁単位で4個分入力することができる。 さらに入力領域23−4には、コメントを入力することが可能で、自由な文字で登録することができる。図11の例では“ボクのパソコン”というコメントをIPアドレス“111.111.111.113”に付ける例を示している。1つのアドレスを指定する場合、開始アドレスと終了アドレスを同じにすることで行うことができる。“OK”ボタン23−5を押すことで、図11で入力したIPアドレスとコメントが保存され、図10の表示領域22−4に表示される。   In the input area 23-2, four start IP addresses can be input in units of three digits, and in the input area 23-3, four end IP addresses can be input in units of three digits. it can. Furthermore, it is possible to input a comment in the input area 23-4 and register it with free characters. The example of FIG. 11 shows an example in which a comment “My personal computer” is attached to the IP address “111.11.11.11.113”. When one address is designated, it can be performed by making the start address and the end address the same. By pressing an “OK” button 23-5, the IP address and the comment input in FIG. 11 are saved and displayed in the display area 22-4 in FIG.

これら追加処理を繰り返し行うことで通信を許可するホストPCを登録することができる。   By repeating these additional processes, it is possible to register a host PC that permits communication.

<MACアドレス/IPアドレスのテーブル>
図12は、MACアドレスのデータを保持するためのテーブルの内容を示す概念図であり、図13は、IPアドレスのデータを保持するためのテーブルの内容を示す概念図である。これらのテーブルは、それぞれ、プリンタ12内のROMメモリに記憶されている。そして、プリンタ12は、ホストPCからのテーブル操作データをプリンタ12が受信する。そして、プリンタ12内のCPUは、受信したテーブル操作データに従って、プリンタ12内のテーブルに記憶されている内容(後述する各種フラグ等)を読み出し又は変更する処理を制御する。
<MAC address / IP address table>
FIG. 12 is a conceptual diagram showing the contents of a table for holding MAC address data, and FIG. 13 is a conceptual diagram showing the contents of a table for holding IP address data. Each of these tables is stored in a ROM memory in the printer 12. Then, the printer 12 receives the table operation data from the host PC. The CPU in the printer 12 controls processing for reading or changing the contents (such as various flags described later) stored in the table in the printer 12 in accordance with the received table operation data.

図12において、MACアドレスフィルタフラグ24−1は、MACアドレスフィルタが有効であるかどうかを示すフラグであり、“0”の場合にはMACアドレスフィルタが無効であることを示し、“1”の場合には有効であることを示している。MACアドレスフィルタ数24−2は、テーブルの中でいくつのアドレスが登録されているかの登録数を示す。MACアドレス24−3、コメント24−4が1つずつで1組として、本実施の形態では10組が登録できるようになっている。   In FIG. 12, a MAC address filter flag 24-1 is a flag indicating whether or not the MAC address filter is valid. When it is “0”, it indicates that the MAC address filter is invalid and “1”. It shows that it is effective. The MAC address filter number 24-2 indicates the number of registered addresses indicating how many addresses are registered in the table. In this embodiment, 10 sets can be registered as one set of MAC address 24-3 and one comment 24-4.

図13において、IPアドレスフィルタフラグ25−1は、IPアドレスフィルタが有効であるかどうかを示すフラグであり、“0”の場合にはIPアドレスフィルタが無効であることを示し、“1”の場合には有効であることを示している。IPアドレスフィルタ数25−2は、テーブルの中でいくつのアドレスが登録されているかの登録数を示す。開始IPアドレス25−3、終了IPアドレス25−4、及びコメント25−5が1つずつで1組として、本実施の形態では10組が登録できるようになっている。   In FIG. 13, an IP address filter flag 25-1 is a flag indicating whether or not the IP address filter is valid. When it is “0”, it indicates that the IP address filter is invalid and “1”. It shows that it is effective. The IP address filter number 25-2 indicates the number of registrations indicating how many addresses are registered in the table. The start IP address 25-3, the end IP address 25-4, and the comment 25-5 can be registered as one set, and in this embodiment, 10 sets can be registered.

図8及び図9でMACアドレスが指定され入力された場合には、図12に示したMACアドレスのテーブルに登録され、MACアドレスフィルタフラグが“1”に設定されると共に、登録した個数がMACフィルタアドレス数に設定される。IPアドレスもMACアドレスと同様となる。   When the MAC address is specified and input in FIGS. 8 and 9, it is registered in the MAC address table shown in FIG. 12, the MAC address filter flag is set to “1”, and the registered number is the MAC address. Set to the number of filter addresses. The IP address is the same as the MAC address.

<フィルタの追加処理>
図14は、MACアドレスフィルタの追加処理の詳細を示したフローチャートである。IPアドレスフィルタ追加処理も同様のフローとなる。
<Filter addition processing>
FIG. 14 is a flowchart showing details of the MAC address filter addition processing. The IP address filter addition process is the same flow.

まず、プリンタ12からホストPCがネットワークを介して読み込んだテーブルの情報に基づいて、ステップS260でアドレスの追加が可能かどうかを判定する。図12に示したテーブルで10個までの登録が可能なっているため、図12のMACアドレスフィルタ数24−2が“10”となっているかどうかをチェックする。“10”となっていた場合には追加が不可能なので、ステップS261へ進み、追加が不可能であることを示すメッセージをユーザにダイアログ等をホストPCのディスプレイ等に示し、終了となる。   First, based on the information in the table read from the printer 12 by the host PC via the network, it is determined in step S260 whether an address can be added. Since up to 10 registrations are possible in the table shown in FIG. 12, it is checked whether the MAC address filter number 24-2 in FIG. 12 is “10”. If it is “10”, it is impossible to add, so the process proceeds to step S261, and a message indicating that the addition is impossible is displayed to the user on the display etc. of the host PC.

ステップS260の判定で追加が可能と判断された場合、ステップS262へ進み、図9に示した追加の画面を表示する。ステップS263で追加の入力が行われ、続くステップS264では、図12で示したMACアドレスフィルタのテーブルに値を追加する。この時、MACアドレスフィルタ数に1を加算する。後述する処理において、テーブルはホストPCからプリンタ12へ転送される。そして、プリンタ12は、図12で示したMACアドレスフィルタのテーブルに値を追加する処理を行う。   If it is determined in step S260 that the addition is possible, the process proceeds to step S262, and the additional screen shown in FIG. 9 is displayed. In step S263, additional input is performed. In subsequent step S264, a value is added to the MAC address filter table shown in FIG. At this time, 1 is added to the number of MAC address filters. In processing to be described later, the table is transferred from the host PC to the printer 12. Then, the printer 12 performs a process of adding a value to the MAC address filter table shown in FIG.

次のステップS265では、プリンタ12から読み込んだテーブルに基づいて、MACアドレスフィルタフラグ24−1がオンかどうかをチェックする。オンの場合はステップS267へ進み、オンでない場合、ステップS266へ進み、MACアドレスフィルタフラグをオンとする。ステップS267では、ステップS264で追加したテーブルをプリンタ12にネットワークを介して転送して、プリンタ12に設定記憶させる。   In the next step S265, based on the table read from the printer 12, it is checked whether the MAC address filter flag 24-1 is on. If it is on, the process proceeds to step S267. If it is not on, the process proceeds to step S266, and the MAC address filter flag is turned on. In step S267, the table added in step S264 is transferred to the printer 12 via the network, and is set and stored in the printer 12.

<フィルタの削除処理>
図15は、MACアドレスフィルタの削除処理の詳細を示したフローチャートである。IPアドレスフィルタ削除処理も同様のフローとなる。
<Filter deletion process>
FIG. 15 is a flowchart showing details of the MAC address filter deletion process. The IP address filter deletion process is the same flow.

まずステップS270でアドレスの削除が可能かどうかを判定する。図12に示したテーブルでMACアドレスフィルタ数24−2が“0”となっているかどうかをチェックする。“0”となっていた場合には削除が不可能なので、ステップS271へ進み、削除が不可能であることを示すメッセージをユーザに示し、終了となる。   First, in step S270, it is determined whether the address can be deleted. In the table shown in FIG. 12, it is checked whether the MAC address filter number 24-2 is “0”. If it is “0”, since deletion is impossible, the process proceeds to step S271, a message indicating that deletion is impossible is shown to the user, and the process ends.

ステップS270の判定で削除が可能と判断された場合は、ステップS272へ進み、図12で示したMACアドレスフィルタのテーブル24−3の値を削除する。この時、MACアドレスフィルタ数24−2に1を減算する。そしてステップS273において、MACアドレスフィルタ数24−2が“0”かどうかをチェックする。“0”の場合にはステップS275へ進み、“0”でない場合はステップS274へ進んでMACアドレスフィルタフラグをオフとする。ステップS275では、ステップS272で削除したテーブルをプリンタ12にネットワークを介して転送し、プリンタ12は、転送されてきたテーブルを設定記憶する。   If it is determined in step S270 that deletion is possible, the process proceeds to step S272, and the value in the MAC address filter table 24-3 shown in FIG. 12 is deleted. At this time, 1 is subtracted from the MAC address filter number 24-2. In step S273, it is checked whether the MAC address filter number 24-2 is “0”. If it is “0”, the process proceeds to step S275. If it is not “0”, the process proceeds to step S274, and the MAC address filter flag is turned off. In step S275, the table deleted in step S272 is transferred to the printer 12 via the network, and the printer 12 sets and stores the transferred table.

以上、図14及び図15の処理により、MACアドレスフィルタリング及びIPアドレスフィルタリングを行うアドレスの追加・削除が行え、プリンタ12にフィルタリングを行うアドレスを設定することができる。   As described above, by the processes in FIGS. 14 and 15, addresses to be subjected to MAC address filtering and IP address filtering can be added / deleted, and addresses to be filtered can be set in the printer 12.

<パケット取得処理>
図16は、プリンタ12がネットワーク経由でパケットを受信する際のパケット取得処理を示すフローチャートである。
<Packet acquisition processing>
FIG. 16 is a flowchart showing packet acquisition processing when the printer 12 receives a packet via the network.

プリンタ12は、ネットワークから印刷データやコマンドなどをパケットとして受け取り、パケット内の印刷データを処理して印刷を行う。パケットは物理層で受け取られ、上位層でプロトコルとして認識されて再構築され、さらに上位のアプリ層へと送られる。   The printer 12 receives print data and commands from the network as a packet, processes the print data in the packet, and performs printing. The packet is received by the physical layer, recognized as a protocol by the upper layer, reconstructed, and further sent to the upper application layer.

本実施の形態に係るフィルタリング処理は、物理層で受け取られたパケットを上位層へ渡す間で行われ、条件に合わないパケット(図12及び図13で説明したフィルタリングのテーブルに登録されていないホストPCからのパケット)は、上位層に送らないようにし、条件に合うパケットは上位層へそのまま送るようにすることで、機能する。   The filtering process according to the present embodiment is performed while a packet received at the physical layer is passed to an upper layer, and a packet that does not meet the conditions (host not registered in the filtering table described with reference to FIGS. 12 and 13). Packets from the PC) are not sent to the upper layer, and packets that meet the conditions are sent to the upper layer as they are.

この図16で示すパケット取得処理は、物理層の上に位置する層でのパケット取得を行う取得処理に当たり、フィルタリング条件に合うパケットのみパケットをセットし条件に合わないものは破棄する処理を行う。   The packet acquisition process shown in FIG. 16 is a process for acquiring a packet in a layer located above the physical layer, and performs a process of setting only packets that meet the filtering condition and discarding packets that do not meet the condition.

まず、図16のステップS280でパケットを取得する。パケットの取得は物理層を構成するハードウェアの読み出しなどで行う。次のステップS281では、受け取ったパケットがフィルタリングの条件に合うかどうかを判定する。このステップS281の処理は図17のフローチャートで詳細に説明する。   First, a packet is acquired in step S280 of FIG. Packets are acquired by reading out the hardware constituting the physical layer. In the next step S281, it is determined whether or not the received packet meets the filtering condition. The processing in step S281 will be described in detail with reference to the flowchart of FIG.

続くステップS282では、ステップS281の判定結果としての戻り値をチェックする。ステップS281の判定で有効なパケットでないと判断された場合は、ステップS284へ進んでパケットを破棄し、戻りとしてパケットが無かったとして呼び出された先に通知する。ステップS282で有効なパケットであると判断された場合は、ステップS283へ進んでパケットをセットし、パケットがあったとして呼び出された先に通知する。   In the subsequent step S282, the return value as the determination result in step S281 is checked. If it is determined in step S281 that the packet is not valid, the process proceeds to step S284, where the packet is discarded, and as a return, the called destination is notified that there is no packet. If it is determined in step S282 that the packet is valid, the process proceeds to step S283, where the packet is set, and the called destination is notified that there is a packet.

このようなパケット取得処理により条件に合わないパケットを上位層に渡さずに破棄することができる。   Packets that do not meet the conditions can be discarded without passing to the upper layer by such packet acquisition processing.

図17は、図16のフィルタアウト処理(ステップS281)の詳細を示すフローチャートである。   FIG. 17 is a flowchart showing details of the filter-out process (step S281) of FIG.

このフィルタアウト処理は、MACアドレスフィルタリングとIPアドレスフィルタリングの設定状況に従ってパケットが有効であるか無効であるかの判定を行う処理である。   This filter-out process is a process for determining whether a packet is valid or invalid according to the setting status of MAC address filtering and IP address filtering.

まずステップS290では、MACアドレスフィルタリングが有効になっているかをチェックする。これは、図12のMACアドレスフィルタフラグ24−1がオンであるかどうかで判断され、オンでない場合、すなわちMACアドレスフィルタが有効でない場合は、ステップS295へ進み、MACアドレスに関するチェックは行われない。   First, in step S290, it is checked whether MAC address filtering is enabled. This is determined based on whether or not the MAC address filter flag 24-1 in FIG. 12 is on. If not, that is, if the MAC address filter is not valid, the process proceeds to step S295, and the MAC address check is not performed. .

ステップS290でMACアドレスフィルタフラグ24−1がオンである場合は、ステップS291へ進んで、図16のステップS280で取得したパケットからMACアドレスに関する情報を取り出す。パケットには一般的にパケットの送信元のMACアドレスが含まれいるので、この情報を利用する。   If the MAC address filter flag 24-1 is on in step S290, the process proceeds to step S291, and information regarding the MAC address is extracted from the packet acquired in step S280 of FIG. Since the packet generally includes the MAC address of the transmission source of the packet, this information is used.

次のステップS292では、ステップS291で取り出してきたMACアドレスが、図12のテーブルに登録されているMACアドレス24−3の中に含まれるかどうかを検索する。一致するアドレスが含まれていれば(ステップS293)、MACアドレスに関しては有効なパケットであることが確認できたので、ステップS295へ進んでIPアドレスの判定処理を行う。ステップS293でテーブルに一致するMACアドレスが含まれていない場合には、送られてきたパケットはMACアドレスに関して無効なパケットであると判断されてステップS294へ進む。ステップS294では、判定の結果として受け取ったパケットは無効なパケットであることを戻り値とし、処理を終了する。   In the next step S292, it is searched whether or not the MAC address extracted in step S291 is included in the MAC address 24-3 registered in the table of FIG. If a matching address is included (step S293), it can be confirmed that the MAC address is a valid packet, so the process proceeds to step S295 to determine the IP address. If the MAC address matching the table is not included in step S293, it is determined that the transmitted packet is an invalid packet with respect to the MAC address, and the process proceeds to step S294. In step S294, the packet received as a result of the determination is an invalid packet as a return value, and the process ends.

MACアドレスフィルタリングがオンではない、またはMACアドレスフィルタリングがオンで有効なパケットであると判断された場合には、ステップS295以降のIPアドレスフィルタの判定処理へ進む。   If it is determined that the MAC address filtering is not on, or the MAC address filtering is on and the packet is valid, the process proceeds to the IP address filter determination process after step S295.

まずステップS295では、IPアドレスフィルタリングが有効になっているかをチェックする。これは、図13のIPアドレスフィルタフラグ25−1がオンであるかどうかで判断され、オンでない場合、すなわちIPアドレスフィルタが有効でない場合は、ステップS299へ進んでIPアドレスに関するチェックは行われない。   First, in step S295, it is checked whether IP address filtering is enabled. This is determined based on whether or not the IP address filter flag 25-1 in FIG. 13 is ON. If it is not ON, that is, if the IP address filter is not valid, the process proceeds to step S299 and no check regarding the IP address is performed. .

ステップS295でIPアドレスフィルタフラグ25−1がオンである場合は、ステップS296へ進み、図16のステップS280で取得したパケットからIPアドレスに関する情報を取り出す。パケットには一般的にパケットの送信元のIPアドレスが含まれいるので、この情報を利用する。   If the IP address filter flag 25-1 is ON in step S295, the process proceeds to step S296, and information regarding the IP address is extracted from the packet acquired in step S280 of FIG. Since the packet generally includes the IP address of the transmission source of the packet, this information is used.

次のステップS297では、ステップS296で取り出してきたIPアドレスが、図13のテーブルに登録されているIPアドレス25−3の中に含まれるかどうかを検索する。一致するアドレスが含まれていれば(ステップS298)、IPアドレスに関しては有効なパケットであることが確認できたので、ステップS299へ進む。ステップS298でテーブルに一致するIPアドレスが含まれていない場合は、送られてきたパケットはIPアドレスに関して無効なパケットであると判断されて前記ステップS294へ進む。   In the next step S297, it is searched whether or not the IP address extracted in step S296 is included in the IP address 25-3 registered in the table of FIG. If a matching address is included (step S298), since it is confirmed that the IP address is a valid packet, the process proceeds to step S299. If the IP address matching the table is not included in step S298, it is determined that the transmitted packet is an invalid packet with respect to the IP address, and the process proceeds to step S294.

ステップS299では、受け取ったパケットは有効なパケットであることを戻り値とし、処理を終了する。   In step S299, the received packet is a valid packet as a return value, and the process ends.

このような図17の処理により、MACアドレス及びIPアドレスに関してフィルタリングがオンとなっている場合にはそれぞれの登録されているテーブルから、送信されたパケットが有効であるかどうかの判定が行われ、その結果が戻される。   By such processing of FIG. 17, when filtering is turned on for the MAC address and the IP address, it is determined whether or not the transmitted packet is valid from each registered table. The result is returned.

<フィルタリングを考慮した本実施形態の無線ネットワーク・インストール>
次に、本実施の形態の特徴を成す処理として、上述の如く設定されたフィルタリングを考慮した場合の無線ネットワーク・インストールの処理について、図18、図19及び図20を参照しつつ説明する。
<Wireless network installation of this embodiment considering filtering>
Next, as a process that characterizes the present embodiment, a wireless network installation process in consideration of the filtering set as described above will be described with reference to FIGS. 18, 19, and 20. FIG.

図18は、第1の実施の形態に係る、フィルタリングを考慮した無線ネットワーク・インストールの手順を示すフローチャートである。   FIG. 18 is a flowchart illustrating a procedure for installing a wireless network in consideration of filtering according to the first embodiment.

まず、ステップS300において、図3(a)の画面で「ネットワークインストール」70が選択されたかか否かを判定する。選択された場合はステップS301へ進んで、フィルタリングの解除処理を行う。フィルタリングの解除処理は、図12のMACアドレスフィルタフラグ24−1と図13のIPアドレスフィルタフラグ25−1を一時的にオフすることで行われる。フラグオフにされることで図17で説明したフィルタアウト処理が行われなくなり、送信された全てのパケットは有効なパケットとして処理を行うことができる。ネットワークインストールの最初の処理としてフィルタリングを解除するため、インストール時のみフィルタリングの影響を受けることなくインストールが可能となる。   First, in step S300, it is determined whether or not “network installation” 70 is selected on the screen of FIG. If it is selected, the process proceeds to step S301 to perform filtering cancellation processing. The filtering cancellation processing is performed by temporarily turning off the MAC address filter flag 24-1 in FIG. 12 and the IP address filter flag 25-1 in FIG. When the flag is turned off, the filter-out process described with reference to FIG. 17 is not performed, and all transmitted packets can be processed as valid packets. Since filtering is canceled as the first process of network installation, installation can be performed without being affected by filtering only at the time of installation.

次に、アクセスポイントサーチ用のコマンドをUSBケーブル15を介してプリンタ12へ送信する(ステップS302)。プリンタ12はアクセスポイントのサーチを行い、見つかったアクセスポイントの情報をUSBケーブル15経由でPC11へ戻す。   Next, an access point search command is transmitted to the printer 12 via the USB cable 15 (step S302). The printer 12 searches for an access point, and returns information on the found access point to the PC 11 via the USB cable 15.

ここで、PC11がUSBケーブル15経由でプリンタ12へ送信する無線ネットワーク・インストール用のUSBコマンドとして、3つのコマンドが用意されている。その内のアクセスポイントサーチコマンドをプリンタ12へ送ることで、プリンタ12は、無線LANカード14等の無線LANモジュールを使い、アクセスポイントをサーチするための設定を無線LANモジュールに行う。   Here, three commands are prepared as USB commands for wireless network installation that the PC 11 transmits to the printer 12 via the USB cable 15. By sending an access point search command among them to the printer 12, the printer 12 uses the wireless LAN module such as the wireless LAN card 14 to make settings for searching for an access point in the wireless LAN module.

アクセスポイントサーチの設定がなされた無線LANモジュールは、アクセスポイントサーチの信号を発信する。この信号を受け取ったアクセスポイントは、自分のアクセスポイント情報(ID、電波状態、アドレス、チャネルなど)をサーチ信号を発信した相手へ返信する。無線LANモジュールはアクセスポイントから送り返されてきた情報を受信し、受信した情報をプリンタ12がPC11へ返送する。この時、プリンタ12は見つかった全てのアクセスポイントの情報をPC11へ返信する。   The wireless LAN module for which the access point search is set transmits an access point search signal. Upon receiving this signal, the access point returns its access point information (ID, radio wave status, address, channel, etc.) to the other party that sent the search signal. The wireless LAN module receives the information sent back from the access point, and the printer 12 returns the received information to the PC 11. At this time, the printer 12 returns information of all the found access points to the PC 11.

次のステップS303では、プリンタ12から戻されたアクセスポイント情報からアクセスポイントがいくつ見つかったかをチェックする。アクセスポイントが1つ以上見つかった場合は、ステップS304へ進んでアクセスポイント一覧の画面84(図3(b))を表示して、ユーザにアクセスポイントを選択させる。アクセスポイントが1つだけ見つかった場合は、ステップS304をスキップしてステップS305へ進む。   In the next step S303, the number of access points found from the access point information returned from the printer 12 is checked. If one or more access points are found, the process advances to step S304 to display the access point list screen 84 (FIG. 3B) and allow the user to select an access point. If only one access point is found, step S304 is skipped and the process proceeds to step S305.

ステップS305では、無線LANに使用するアクセスポイントの設定を行う。これは、ステップS302で見つかったアクセスポイントの情報を基に、ユーザにより選択されたアクセスポイント或いは唯一見つかったアクセスポイントを指定するための情報設定コマンドをUSBケーブル15経由でプリンタ12へ送ることにより行う。アクセスポイントのアドレスや暗号化キーなどアクセスポイントを利用するために必要な情報を情報設定コマンドで設定することで特定のアクセスポイントにプリンタ12を接続することができる。   In step S305, the access point used for the wireless LAN is set. This is performed by sending an information setting command for designating the access point selected by the user or the only found access point to the printer 12 via the USB cable 15 based on the information of the access point found in step S302. . The printer 12 can be connected to a specific access point by setting information necessary for using the access point, such as an address of the access point and an encryption key, using an information setting command.

続くステップS306では、ネットワークコマンドを使ってプリンタのサーチを行う。ネットワークコマンドとして、プリンタサーチコマンド(ブロードキャスト)及びプリンタサーチコマンド(アドレス指定)の2つのネットワークインストール用コマンドを用意している。2つともプリンタサーチ用のコマンドで、プリンタサーチコマンド(ブロードキャスト)は相手を指定しないもので、プリンタサーチコマンド(アドレス指定)は特定の相手を指定したものである。   In the subsequent step S306, a printer search is performed using a network command. Two network installation commands, a printer search command (broadcast) and a printer search command (address designation), are prepared as network commands. Both are commands for printer search, the printer search command (broadcast) does not specify a partner, and the printer search command (address specification) specifies a specific partner.

ここでは、PC11は、ブロードキャストのプリンタサーチコマンドを送信する。これは、無線LAN上に発信され、このコマンドを無線LANから受け取ったプリンタはプリンタ情報(ID、名称、アドレス、モデル名など)を、コマンドを送信したPC11へ無線LAN経由で返信する。これによって、PC11と該プリンタとの接続確認を無線LAN経由で行うことができる。このコマンドはブロードキャストで送信されるため、このコマンドを理解できるプリンタは全て該コマンドを送信したPC11へ返信する可能性がある。PC11は、プリンタから送り返された情報から自分が今インストールしようとしている機種を選別する必要がある。   Here, the PC 11 transmits a broadcast printer search command. This is transmitted on the wireless LAN, and the printer that has received this command from the wireless LAN returns printer information (ID, name, address, model name, etc.) via the wireless LAN to the PC 11 that sent the command. Thereby, the connection confirmation between the PC 11 and the printer can be performed via the wireless LAN. Since this command is transmitted by broadcast, all printers that can understand this command may send a reply to the PC 11 that transmitted the command. The PC 11 needs to select the model that it is trying to install from the information sent back from the printer.

PC11は、プリンタから送り返された情報から、接続可能なプリンタが1つであるかどうかをチェックする(ステップS307)。接続可能なプリンタが2つ以上見つかった場合には、ステップS308へ進んで画面810(図3(c))のプリンタ一覧を表示し、ユーザにプリンタを選択させる。見つかったプリンタが1つの場合、ステップS308をスキップしてステップS309へ進む。   The PC 11 checks whether there is one connectable printer from the information sent back from the printer (step S307). If two or more connectable printers are found, the process advances to step S308 to display the printer list on the screen 810 (FIG. 3C) and allow the user to select a printer. If one printer is found, step S308 is skipped and the process proceeds to step S309.

ステップS309では、ポート名の表示が必要かどうかのチェックを行い、必要であればステップS310へ進んでポート名の入力画面815(図4(d))を表示し、ユーザに入力させる。ポート名の入力が必要ない場合は、ステップS310をスキップしてステップS311へ進む。ポート名の入力をユーザに行わせるかどうかは、その必要性によりインストールソフトを構成するかどうかで決め、少ない画面による比較的簡単なインストールを実現する場合には省略することも可能である。   In step S309, it is checked whether or not the display of the port name is necessary. If necessary, the process proceeds to step S310 to display the port name input screen 815 (FIG. 4D) for the user to input. If it is not necessary to input a port name, step S310 is skipped and the process proceeds to step S311. Whether or not to allow the user to input a port name is determined by whether or not the installation software is configured according to the necessity, and can be omitted when a relatively simple installation with a small number of screens is realized.

ステップS311では、PC11はネットワーク情報の設定及び無線LAN用のポートインスタンスの登録をPC11内で行い、これによって無線LANインターフェース経由で印刷データをプリンタ12に送信できる状態になる。ネットワーク情報は、プリンタのアドレスや名称など印刷に必要となる情報を示している。次にステップS312でフィルタリングの再設定処理を行う。ステップS301でネットワークインストールを行うために一時的にオフしたフィルタリングの設定を元通りに再設定する処理で詳細は図19のフローチャートで説明する。ステップS312で元通りのフィルタリング設定に戻したので、次のステップS313では、図4(e)に示すネットワークインストール完了画面820を表示する。   In step S311, the PC 11 performs setting of network information and registration of a port instance for the wireless LAN in the PC 11, thereby enabling the print data to be transmitted to the printer 12 via the wireless LAN interface. The network information indicates information necessary for printing such as a printer address and name. In step S312, filtering resetting processing is performed. Details of the processing for resetting the filtering setting temporarily turned off for network installation in step S301 will be described with reference to the flowchart of FIG. Since the original filtering setting has been restored in step S312, the network installation completion screen 820 shown in FIG. 4E is displayed in the next step S313.

図19は、図18のフィルタリング再設定処理(ステップS312)の詳細を示すフローチャートである。   FIG. 19 is a flowchart showing details of the filtering resetting process (step S312) of FIG.

まず、ネットワークインストールを実行する前からMACアドレスフィルタリングが設定されていたかどうかをチェックする(ステップS400)。予めMACアドレスフィルタリングが設定されていない場合は、IPアドレスの処理ステップS406へ進む。ステップS400でMACアドレスフィルタリングが設定されていた場合は、ネットワークインストールを行おうとしているホストPCのMACアドレスを取得する(ステップS401)。   First, it is checked whether or not MAC address filtering has been set before executing network installation (step S400). If MAC address filtering is not set in advance, the process proceeds to IP address processing step S406. If MAC address filtering is set in step S400, the MAC address of the host PC that is about to perform network installation is acquired (step S401).

次にステップS402で、ステップS401で取得したホストPCのMACアドレスが図12のMACアドレスフィルタリングテーブル24−3に含まれるかどうかを検索する。テーブルにホストPCのMACアドレスが無い場合には(ステップS403)、ステップS404へ進んでテーブルにホストPCのMACアドレスをプリンタに追加させる。テーブルにホストPCのアドレスが既に登録されていた場合は(ステップS403)、ステップS404をスキップし追加を行わない。続いてステップS405へ進んで、図12のMACアドレスフィルタフラグ24−1をオンにする。これにより、MACアドレスフィルタリングが元々オンであれば再度オンとすることと、ホストPCのMACアドレスがテーブルに含まれていなければ追加が行われる。   In step S402, it is searched whether the MAC address of the host PC acquired in step S401 is included in the MAC address filtering table 24-3 in FIG. If there is no host PC MAC address in the table (step S403), the process proceeds to step S404 to add the host PC MAC address to the printer. If the host PC address has already been registered in the table (step S403), step S404 is skipped and no addition is performed. In step S405, the MAC address filter flag 24-1 in FIG. 12 is turned on. Thereby, if the MAC address filtering is originally on, it is turned on again, and if the MAC address of the host PC is not included in the table, addition is performed.

次にIPアドレスフィルタに関してステップS406以降で同様の処理を行う。まずIPアドレスフィルタリングが設定されていたかどうかをチェックする(ステップS406)。予めIPアドレスフィルタリングが設定されていない場合は、処理を終了する。 ステップS406でIPアドレスフィルタリングが設定されていた場合には、ネットワークインストールを行おうとしているホストPCのIPアドレスを取得し(ステップS407)、続いてステップS408において、ステップS407で取得したホストPCのIPアドレスが図13のIPアドレスフィルタリングテーブル25−3に含まれるかどうかを検索する。   Next, the same processing is performed after step S406 regarding the IP address filter. First, it is checked whether IP address filtering has been set (step S406). If IP address filtering has not been set in advance, the process ends. If IP address filtering is set in step S406, the IP address of the host PC that is going to perform network installation is acquired (step S407), and then in step S408, the IP of the host PC acquired in step S407 is acquired. It is searched whether the address is included in the IP address filtering table 25-3 of FIG.

テーブルにホストPCのIPアドレスが無い場合は(ステップS409)、ステップS410へ進んでプリンタ12内のテーブルにホストPCのIPアドレスを追加する。テーブルにホストPCのアドレスが既に登録されていた場合は(ステップS409)、ステップS410をスキップし追加をプリンタ12に行わせない。そして、ステップS411へ進んで、IPアドレスフィルタフラグ25−1をオンにする。これにより、IPアドレスフィルタリングが元々オンであれば再度オンとすることと、ホストPCのIPアドレスがテーブルに含まれていなければ追加がプリンタ12により行われる。   If there is no host PC IP address in the table (step S409), the process proceeds to step S410 to add the host PC IP address to the table in the printer 12. If the host PC address has already been registered in the table (step S409), step S410 is skipped and the printer 12 is not made to add. In step S411, the IP address filter flag 25-1 is turned on. Thus, if the IP address filtering is originally on, it is turned on again. If the IP address of the host PC is not included in the table, the addition is performed by the printer 12.

図20は、図19のアドレス追加処理(ステップS404,S410)の詳細を示すフローチャートであり、本実施の形態に係る、MACアドレス或いはIPアドレスの追加を行う処理の具体例を表している。   FIG. 20 is a flowchart showing details of the address addition processing (steps S404 and S410) in FIG. 19, and shows a specific example of processing for adding a MAC address or an IP address according to the present embodiment.

まずステップS420でテーブルが一杯であるかどうかをチェックする。これは、図12のMACアドレスフィルタ数24−2或いは図13のIPアドレスフィルタ数25−2が最大の登録可能数に達しているかどうかで判断される。テーブルが一杯でなければ追加が可能なのでステップS423へ進む。テーブルが一杯であった場合は、ステップS421へ進んでテーブルから1つアドレスを削除し、アドレスフィルタ数をディクリメント(−1)する(ステップS422)。そして、ステップS423でアドレスの追加を行い、さらにステップS424においてアドレスフィルタ数をインクリメント(+1)して、終了して戻りとなる。   First, in step S420, it is checked whether or not the table is full. This is determined based on whether the MAC address filter number 24-2 in FIG. 12 or the IP address filter number 25-2 in FIG. 13 has reached the maximum registrable number. If the table is not full, it can be added and the process proceeds to step S423. If the table is full, the process proceeds to step S421, where one address is deleted from the table, and the number of address filters is decremented (-1) (step S422). In step S423, an address is added, and in step S424, the number of address filters is incremented (+1), and the process ends and returns.

以上の図18〜図20の処理により、無線ネットワークのインストールに際して、既にフィルタリングが設定されている場合は、自動的に、一旦フィルタリングを解除してインストールが完了した後にフィルタリングを基へ戻すことが可能となる。従来のネットワークインストールと操作的には変わらずにフィルタリングの再設定が行われることになる。また、無線ネットワークのインストールを実行しているホストPCの情報がプリンタ12内のフィルタリングのテーブルに自動的に追加される。   18 to 20, when filtering is already set when installing a wireless network, it is possible to automatically cancel filtering once and return to the original filtering after the installation is completed. It becomes. Filtering is reset without changing the operation from the conventional network installation. In addition, the information of the host PC executing the wireless network installation is automatically added to the filtering table in the printer 12.

<本実施形態の利点>
本実施形態は、次のような利点を有する。
<Advantages of this embodiment>
This embodiment has the following advantages.

(1)既にフィルタリングが設定されているプリンタを使い無線LANの設定(無線ネットワーク・インストール)を実行する場合において、その実行前に自動的にフィルタリングを一時的に解除しておき、無線LANの設定を実行した後にフィルタリングを自動的に再設定するようにしたので、無線LANの設定をより簡単に実現することが可能になり、フィルタリングの有り無しで操作を変える必要がなくなる。これにより、ユーザオペレーションを統一することができる。さらに、フィルタリングが自動的に復帰するため、無線LANの設定を行ったことによりセキュリティレベルが低下する危険性を回避することができる。   (1) When performing a wireless LAN setting (wireless network installation) using a printer for which filtering has already been set, the filtering is automatically temporarily canceled before the execution to set the wireless LAN. Since the filtering is automatically reset after executing the above, the wireless LAN setting can be realized more easily, and it is not necessary to change the operation with or without filtering. Thereby, user operation can be unified. Furthermore, since the filtering is automatically restored, it is possible to avoid a risk that the security level is lowered by setting the wireless LAN.

(2)既にフィルタリングが設定されているプリンタを使い無線ネットワーク・インストールを実行する際に、インストールしようとしているホストPCがフィルタリングに登録されていないような場合には、そのホストPCの情報が自動的にフィルタリングに追加されるので、ユーザが改めてフィルタリングを設定する必要がなくなり、インストールしたホストPCではセキュリティを保ったままプリンタを直ぐに使い始めることができる。   (2) When performing a wireless network installation using a printer for which filtering is already set, if the host PC to be installed is not registered for filtering, the information of that host PC is automatically Therefore, it is not necessary for the user to set filtering again, and the installed host PC can start using the printer immediately while maintaining security.

[第2の実施の形態]
上記第1の実施の形態では、テーブルに登録されたものと一致するホストPCからのパケットを有効とするようなフィルタリングの構成を説明したが、テーブルに登録されたものと一致するホストPCからのパケットを無効とするようなフィルタリングの構成も考えられる。すなわち、このような構成においては、前述した図9及び図11のMACアドレス及びIPアドレスの追加処理を繰り返し行うことで、通信を拒絶するホストPCを登録することができる。
[Second Embodiment]
In the first embodiment, the filtering configuration is described so as to validate the packet from the host PC that matches the one registered in the table. However, the filtering from the host PC that matches the one registered in the table has been described. A filtering configuration that invalidates the packet is also conceivable. That is, in such a configuration, it is possible to register a host PC that refuses communication by repeatedly performing the MAC address and IP address addition processing of FIGS. 9 and 11 described above.

以下、第2の実施の形態として、このようなフィルタリング構成を考慮した無線ネットワーク・インストールの処理について、図21及び図22を参照しつつ説明する。なお、この処理のメインフローは、第1実施の形態の図18で説明したものと同様であるので、その説明を省略する。   Hereinafter, as a second embodiment, a wireless network installation process considering such a filtering configuration will be described with reference to FIG. 21 and FIG. Since the main flow of this process is the same as that described in FIG. 18 of the first embodiment, the description thereof is omitted.

図21は、第2の実施の形態に係るフィルタリング再設定処理の詳細を示すフローチャートであり、上記第1の実施の形態の図18で説明した、フィルタリングを考慮した無線ネットワーク・インストール手順におけるステップS312の処理について、図19のフローチャートに代えて用いられるものである。   FIG. 21 is a flowchart showing details of the filtering resetting process according to the second embodiment. Step S312 in the wireless network installation procedure in consideration of filtering described with reference to FIG. 18 of the first embodiment. This process is used in place of the flowchart of FIG.

まず、無線ネットワーク・インストールを実行する前からMACアドレスフィルタリングが設定されていたかどうかをチェックする(ステップS500)。予めMACアドレスフィルタリングが設定されていない場合、IPアドレスの処理であるステップS506以降へ進む。   First, it is checked whether or not MAC address filtering has been set before executing wireless network installation (step S500). If MAC address filtering is not set in advance, the process proceeds to step S506 and subsequent steps, which are IP address processing.

ステップS500でMACアドレスフィルタリングが設定されていた場合は、ネットワークインストールを行おうとしているホストPCのMACアドレスを取得する(ステップS501)。次のステップS502では、ステップS501で取得したホストのMACアドレスが図12のMACアドレスフィルタリングテーブル24−3に含まれるかどうかを検索する。テーブルにホストのMACアドレスがある場合は(ステップS503)、ステップS504へ進んでテーブルに登録されているホストのMACアドレスを削除する。テーブルにホストのアドレスが登録されていない場合は(ステップS503)、ステップS504をスキップして削除を行わない。次にステップS505へ進んで、図12のMACアドレスフィルタフラグ24−1をオンにする。   If MAC address filtering has been set in step S500, the MAC address of the host PC that is about to perform network installation is acquired (step S501). In the next step S502, it is searched whether or not the MAC address of the host acquired in step S501 is included in the MAC address filtering table 24-3 of FIG. If there is a host MAC address in the table (step S503), the process proceeds to step S504 to delete the host MAC address registered in the table. If the host address is not registered in the table (step S503), step S504 is skipped and no deletion is performed. In step S505, the MAC address filter flag 24-1 in FIG. 12 is turned on.

これにより、MACアドレスフィルタリングが元々オンであれば再度オンとすることと、ホストPCのMACアドレスがテーブルに含まれていれば削除が行われる。   Thereby, if the MAC address filtering is originally on, it is turned on again, and if the MAC address of the host PC is included in the table, the deletion is performed.

次にIPアドレスフィルタに関して同様の処理を行う。まずIPアドレスフィルタリングが設定されていたかどうかをチェックする(ステップS506)。予めIPアドレスフィルタリングが設定されていない場合は、処理を終了して戻りとなる。ステップS506でIPアドレスフィルタリングが設定されていた場合は、ネットワークインストールを行おうとしているホストPCのIPアドレスを取得する(ステップS507)。   Next, the same processing is performed for the IP address filter. First, it is checked whether IP address filtering has been set (step S506). If IP address filtering is not set in advance, the process ends and returns. If IP address filtering is set in step S506, the IP address of the host PC that is going to perform network installation is acquired (step S507).

続くステップS508では、ステップS507で取得したホストのIPアドレスが図13のIPアドレスフィルタリングテーブル25−3に含まれるかどうかを検索する。テーブルにホストのIPアドレスがある場合には(ステップS509)、ステップS510へ進んでテーブルからホストPCのIPアドレスを削除する。テーブルにホストのアドレスが登録されていない場合は(ステップS509)、ステップS510をスキップし削除を行わない。そして、ステップS511へ進んで、図13のIPアドレスフィルタフラグ25−1をオンにする。   In the subsequent step S508, it is searched whether or not the IP address of the host acquired in step S507 is included in the IP address filtering table 25-3 of FIG. If there is a host IP address in the table (step S509), the process proceeds to step S510, and the host PC IP address is deleted from the table. If the host address is not registered in the table (step S509), step S510 is skipped and no deletion is performed. In step S511, the IP address filter flag 25-1 shown in FIG. 13 is turned on.

これにより、IPアドレスフィルタリングが元々オンであれば再度オンとすることと、ホストPCのIPアドレスがテーブルに含まれていれば削除が行われる。   As a result, if IP address filtering is originally on, it is turned on again, and if the IP address of the host PC is included in the table, deletion is performed.

図22は、図21のアドレス削除処理(ステップS504,S510)の詳細を示すフローチャートであり、本実施の形態に係る、MACアドレス或いはIPアドレスの削除を行う処理の具体例を表している。   FIG. 22 is a flowchart showing details of the address deletion processing (steps S504 and S510) in FIG. 21, and shows a specific example of processing for deleting a MAC address or IP address according to the present embodiment.

まずステップS521で、テーブル(図12の24−3或いは図13の25−3)から1つアドレスを削除し、次のステップS522において、アドレスフィルタ数(図12の24−2或いは図13の25−2)をディクリメント(−1)し、処理を終了して戻りとなる。   First, in step S521, one address is deleted from the table (24-3 in FIG. 12 or 25-3 in FIG. 13), and in the next step S522, the number of address filters (24-2 in FIG. 12 or 25 in FIG. 13). -2) is decremented (-1), and the process ends and returns.

以上、図18、図21及び図22の処理により、無線ネットワークのインストールに際して、既にフィルタリングが設定されている場合、自動的に一旦フィルタリングを解除しインストールが完了した後にフィルタリングを基へ戻すことが可能となる。従来のネットワークインストールと操作的には変わらずにフィルタリングの再設定が行われることになる。また、無線ネットワーク・インストールを行っているホストPCの情報がフィルタリングのテーブルから自動的に削除される。   As described above, when filtering is already set during the installation of the wireless network by the processes of FIGS. 18, 21, and 22, it is possible to automatically cancel the filtering once and return to the filtering after the installation is completed. It becomes. Filtering is reset without changing the operation from the conventional network installation. In addition, the information of the host PC performing the wireless network installation is automatically deleted from the filtering table.

<本実施形態の利点>
本実施形態は、次のような利点を有する。
<Advantages of this embodiment>
This embodiment has the following advantages.

(1)第1実施の形態と同様に、無線LANの設定をより簡単に実現することが可能になり、フィルタリングの有り無しで操作を変える必要がなくなる。さらに、フィルタリングが自動的に復帰するため、無線LANの設定によりセキュリティレベルが低下する危険性を回避することができる。   (1) As in the first embodiment, the wireless LAN setting can be realized more easily, and there is no need to change the operation with or without filtering. Furthermore, since the filtering is automatically restored, it is possible to avoid a risk that the security level is lowered due to the setting of the wireless LAN.

(2)テーブルに登録されたアドレスを無効とする(テーブルに登録されたアドレスからの通信を行えないようにする)ようなフィルタリング構成において、インストールしようとしているホストPCがフィルタリングに登録されていた場合には、そのホストPCの情報が自動的にフィルタリングから削除されるので、インストールしたホストPCでは、セキュリティを保ったままプリンタを直ぐに使い始めることができる。   (2) When the host PC to be installed is registered for filtering in a filtering configuration in which the address registered in the table is invalid (communication from the address registered in the table cannot be performed) Since the information of the host PC is automatically deleted from the filtering, the installed host PC can start using the printer immediately while maintaining security.

なお、上述した図16〜図22のフローチャートに従ったプログラムをPC11などのホストPC内の記憶装置に格納し動作することにより、上述の制御方法を実現させることが可能となる。   The above-described control method can be realized by storing and operating the program according to the flowcharts of FIGS. 16 to 22 described above in a storage device in the host PC such as the PC 11.

<変形例>
(1)第1の実施の形態では、テーブルに登録されたものと一致するホストPCからのパケットを有効とするようなフィルタリングの構成を説明し、第2の実施の形態では、テーブルに登録されたものと一致するホストPCからのパケットを無効とするようなフィルタリングの構成を説明したが、これら両者の構成を合わせたフィルタリングの構成も可能である。例えば、ある範囲のIPアドレスを許可して、その中で特定のMACアドレスの機器だけを使えないようにすることは想定され得る。この場合は、IPアドレスは有効なものが登録され、MACアドレスには無効なものが登録されることになり、有効なものと無効なものとが登録されるテーブルに共存することになる。有効なものが登録される場合は第1の実施の形態と同じで、無効なものが登録される場合は第2の実施の形態と同じになる。
<Modification>
(1) In the first embodiment, a filtering configuration that validates a packet from the host PC that matches the one registered in the table will be described. In the second embodiment, the packet is registered in the table. Although the filtering configuration that invalidates the packet from the host PC that matches the above-described configuration has been described, a filtering configuration that combines these configurations is also possible. For example, it may be envisaged that a certain range of IP addresses is permitted so that only devices with a specific MAC address can be used. In this case, valid IP addresses are registered, invalid IP addresses are registered, and valid and invalid IP addresses coexist in a table in which they are registered. The case where valid ones are registered is the same as in the first embodiment, and the case where invalid ones are registered is the same as in the second embodiment.

(2)上記各実施形態では、フィルタリングを行う情報として、パケットに含まれるMACアドレス及びIPアドレスを用いたが、パケットの送信元を特定する情報であればこの限りではない。すなわち、本実施の形態では、通信プロトコルとして、TCP/IPプロトコルを使っているが、別のプロトコルでは、IPアドレスやMACアドレスに代わる情報が使われているものもある。このような情報を、フィルタリングを行う情報として用いることも可能である。また、TCP/IPプロトコルの層では、IPアドレス、MACアドレスが送信元を特定する情報になり、TCP/IP以下の層(物理層)或いはTCP/IPより上の層(アプリ層)全体で通信が成立している。例えば、アプリ層では、実際に送られてくるデータの中に識別を行うような情報を持つことがあり、このような識別情報を基にフィルタリングすることも可能である。   (2) In each of the above embodiments, the MAC address and the IP address included in the packet are used as the information to be filtered. However, the information is not limited to this as long as the information identifies the transmission source of the packet. That is, in the present embodiment, the TCP / IP protocol is used as the communication protocol, but in some other protocols, information in place of the IP address or the MAC address is used. Such information can also be used as information for filtering. Also, in the TCP / IP protocol layer, the IP address and MAC address are information for identifying the transmission source, and communication is performed in the layer below TCP / IP (physical layer) or the layer above TCP / IP (application layer) as a whole. Is established. For example, the application layer may have information for identifying in actually transmitted data, and filtering based on such identification information is also possible.

(3)上記各実施形態では、フィルタリングを行う処理をパケット取得処理の中で実行するように構成したが、パケットを制限することができる場所で実行するような構成であれば、その限りではない。すなわち、TCP/IPプロトコルでは、上記各実施の形態のように、IP層がパケットを物理層から取ってくるところでフィルタリングすることできるほか、例えばTCP層で、IP層から渡されたパケットを解析してフィルタリングすることもできる。また、TCP層の上のアプリ層でも、IPアドレスやMACアドレスの情報が伝えられるように構成されている場合にはフィルタリングすることが可能である。   (3) In each of the above embodiments, the filtering process is configured to be executed in the packet acquisition process. However, the configuration is not limited as long as the configuration is performed in a place where packets can be restricted. . That is, in the TCP / IP protocol, the IP layer can filter the packet taken from the physical layer as in the above embodiments, and can analyze the packet passed from the IP layer in the TCP layer, for example. Can also be filtered. Also, the application layer above the TCP layer can be filtered when configured to transmit information on IP addresses and MAC addresses.

なお、本発明の目的は、実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。   Note that an object of the present invention is to supply a storage medium recording a program code of software that implements the functions of the embodiment to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus as the storage medium. This can also be achieved by reading and executing the stored program code.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the program code and the storage medium storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。または、プログラムコードをネットワークを介してダウンロードしてもよい。   Examples of the storage medium for supplying the program code include a floppy (registered trademark) disk, a hard disk, a magneto-optical disk, a CD-ROM, a CD-R, a CD-RW, a DVD-ROM, a DVD-RAM, and a DVD. -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, etc. can be used. Alternatively, the program code may be downloaded via a network.

また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) running on the computer based on the instruction of the program code. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.

更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This includes the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the functions of the above-described embodiments are realized by the processing.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した各実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によって前述した各実施の形態の機能が実現される場合も、本発明に含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but the OS running on the computer based on the instruction of the program code is actually used. Needless to say, the present invention also includes a case in which the functions of the above-described embodiments are realized by performing part or all of the processing and the processing.

実施の形態に係る情報処理システムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the information processing system which concerns on embodiment. 実施形態に係る、USBを用いたプリンタドライバ・インストール処理で表示される画面の一例を示す画面表示図である。FIG. 6 is a screen display diagram illustrating an example of a screen displayed in a printer driver installation process using USB according to the embodiment. 実施形態に係る、USBを用いた無線ネットワーク・インストール処理で表示される画面例を示す画面表示図である。It is a screen display figure which shows the example of a screen displayed by the wireless network installation process using USB based on embodiment. 図3の続きの図である。FIG. 4 is a continuation of FIG. 3. 無線LANポートのセットアップのみを選択した場合のプリンタ一覧画面を示した図である。FIG. 6 is a diagram illustrating a printer list screen when only wireless LAN port setup is selected. 無線LANポートと共にUSBポートのセットアップを選択した場合のプリンタ一覧画面を示した図である。FIG. 6 is a diagram showing a printer list screen when selecting a USB port setup together with a wireless LAN port. USBインターフェースを用いた無線ネットワーク・インストール処理で表示される他の画面例を示す画面表示図である。FIG. 10 is a screen display diagram illustrating another screen example displayed in a wireless network installation process using a USB interface. MACアドレスフィルタの設定画面を示す画面表示図である。It is a screen display figure which shows the setting screen of a MAC address filter. MACアドレスを追加する場合の入力画面を示す画面表示図である。It is a screen display figure which shows the input screen in the case of adding a MAC address. IPアドレスフィルタの設定画面を示す画面表示図である。It is a screen display figure which shows the setting screen of IP address filter. IPアドレスを追加する場合の入力画面を示す画面表示図である。It is a screen display figure which shows the input screen in the case of adding an IP address. MACアドレスのデータを保持するためのテーブルの内容を示す概念図である。It is a conceptual diagram which shows the content of the table for hold | maintaining the data of a MAC address. IPアドレスのデータを保持するためのテーブルの内容を示す概念図である。It is a conceptual diagram which shows the content of the table for hold | maintaining the data of an IP address. MACアドレスフィルタの追加処理の詳細を示したフローチャートである。It is the flowchart which showed the detail of the addition process of a MAC address filter. MACアドレスフィルタの削除処理の詳細を示したフローチャートである。It is the flowchart which showed the detail of the deletion process of a MAC address filter. プリンタがネットワーク経由でパケットを受信する際のパケット取得処理を示すフローチャートである。7 is a flowchart illustrating packet acquisition processing when a printer receives a packet via a network. 図16のフィルタアウト処理(ステップS281)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the filter out process (step S281) of FIG. 第1の実施の形態に係る、フィルタリングを考慮した無線ネットワーク・インストールの手順を示すフローチャートである。It is a flowchart which shows the procedure of the radio | wireless network installation which considered filtering based on 1st Embodiment. 図18のフィルタリング再設定処理(ステップS312)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the filtering reset process (step S312) of FIG. 図19のアドレス追加処理(ステップS404,S410)の詳細を示すフローチャートである。20 is a flowchart showing details of address addition processing (steps S404 and S410) of FIG. 第2の実施の形態に係るフィルタリング再設定処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the filtering reset process which concerns on 2nd Embodiment. 図21のアドレス削除処理(ステップS504,S510)の詳細を示すフローチャートである。It is a flowchart which shows the detail of the address deletion process (step S504, S510) of FIG.

符号の説明Explanation of symbols

11 ノートPC
12 プリンタ
13 アクセスポイント
14 無線LANカード
15 USBケーブル
11 Notebook PC
12 Printer 13 Access point 14 Wireless LAN card 15 USB cable

Claims (7)

デバイスとの間で無線インターフェース経由での通信を有効及び無効のいずれかとするためのフィルタリングの設定が可能な情報処理装置において、
有線インターフェース経由で前記デバイスの制御を可能にするための第一の通信設定を実行する第一の通信設定手段と、
前記第一の通信設定手段による前記第一の通信設定の実行後に、無線インターフェースを経由での前記デバイスとの通信を可能とするための第二の通信設定を実行する第二の通信設定手段と、
前記第一の通信設定手段による前記第一の通信設定の実行後であって、前記第二の通信設定手段による第二の通信設定を実行する前に、前記フィルタリングの設定を一時的に解除するフィルタリング解除手段と、
前記第二の通信設定手段による前記第二の通信設定の実行後に、フィルタリングの設定を再設定するフィルタリング再設定手段とを備えたことを特徴とする情報処理装置。
In information processing apparatus capable of filtering settings for communicating with one of the valid and invalid of over the air interface between the device,
First communication setting means for executing a first communication setting for enabling control of the device via a wired interface;
After execution of the first communication setting by the first communication setting means, a second communication for performing the second communication setting for enabling the communication between the devices over non-linear interface Setting means;
The filtering setting is temporarily canceled after the first communication setting by the first communication setting unit and before the second communication setting by the second communication setting unit is executed. Filtering cancellation means;
An information processing apparatus comprising: a filtering resetting unit that resets a filtering setting after executing the second communication setting by the second communication setting unit.
前記フィルタリング再設定手段は、前記第一の通信設定手段及び前記第二の通信設定手段を用いて設定を行われる装置が前記デバイスとの間で無線インターフェース経由での通信が有効になるように設定する設定手段を有することを特徴とする請求項1に記載の情報処理装置。 It said filtering resetting means is set so that communication via the wireless interface is enabled between said first communication setting means and the second communication setting unit line dividing device settings using said device The information processing apparatus according to claim 1, further comprising a setting unit that performs the setting . 前記第1の通信設定手段による第一の通信設定とは、前記デバイスとの有線インターフェース経由でのデバイスドライバのインストール処理であることを特徴とする請求項1または2に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the first communication setting by the first communication setting means is a device driver installation process via a wired interface with the device . デバイスとの間で無線インターフェース経由での通信を有効及び無効のいずれかとするためのフィルタリングの設定が可能な情報処理装置の通信設定方法であって、A communication setting method for an information processing apparatus capable of setting filtering to enable or disable communication with a device via a wireless interface,
有線インターフェース経由で前記デバイスの制御を可能にするための第一の通信設定を実行する第一の通信設定工程と、A first communication setting step for executing a first communication setting for enabling control of the device via a wired interface;
前記第一の通信設定工程による前記第一の通信設定の実行後に、無線インターフェースを経由での前記デバイスとの通信を可能とするための第二の通信設定を実行する第二の通信設定工程と、A second communication setting step for executing a second communication setting for enabling communication with the device via a wireless interface after execution of the first communication setting by the first communication setting step; ,
前記第一の通信設定工程による前記第一の通信設定の実行後であって、前記第二の通信設定工程による第二の通信設定を実行する前に、前記フィルタリングの設定を一時的に解除するフィルタリング解除工程と、After the execution of the first communication setting by the first communication setting step and before executing the second communication setting by the second communication setting step, the filtering setting is temporarily canceled. A de-filtering step;
前記第二の通信設定工程による前記第二の通信設定の実行後に、フィルタリングの設定を再設定するフィルタリング再設定工程とを有することを特徴とする情報処理装置の通信設定方法。And a filtering resetting step of resetting a filtering setting after the execution of the second communication setting in the second communication setting step.
前記フィルタリング再設定工程は、前記第一の通信設定工程及び前記第二の通信設定工程を用いて設定を行われる装置が前記デバイスとの間で無線インターフェース経由での通信が有効になるように設定する設定工程を有することを特徴とする請求項4に記載の情報処理装置の通信設定方法 The filtering resetting step is set so that the device that is set using the first communication setting step and the second communication setting step is enabled to communicate with the device via a wireless interface. The communication setting method for an information processing apparatus according to claim 4, further comprising a setting step for performing information processing . 前記第1の通信設定工程による第一の通信設定とは、前記デバイスとの有線インターフェース経由でのデバイスドライバのインストール処理であることを特徴とする請求項4または5に記載の情報処理装置の通信設定方法 6. The information processing apparatus communication according to claim 4 or 5, wherein the first communication setting in the first communication setting step is a device driver installation process via a wired interface with the device. Setting method . 請求項4乃至請求項6のいずれか1項に記載の通信設定方法をコンピュータにより実現するための制御プログラム The control program for implement | achieving the communication setting method of any one of Claim 4 thru | or 6 with a computer .
JP2005005108A 2005-01-12 2005-01-12 Information processing apparatus, communication setting method thereof, and control program Expired - Fee Related JP4630671B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005005108A JP4630671B2 (en) 2005-01-12 2005-01-12 Information processing apparatus, communication setting method thereof, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005005108A JP4630671B2 (en) 2005-01-12 2005-01-12 Information processing apparatus, communication setting method thereof, and control program

Publications (3)

Publication Number Publication Date
JP2006192645A JP2006192645A (en) 2006-07-27
JP2006192645A5 JP2006192645A5 (en) 2008-02-28
JP4630671B2 true JP4630671B2 (en) 2011-02-09

Family

ID=36799082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005005108A Expired - Fee Related JP4630671B2 (en) 2005-01-12 2005-01-12 Information processing apparatus, communication setting method thereof, and control program

Country Status (1)

Country Link
JP (1) JP4630671B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5609276B2 (en) * 2010-06-02 2014-10-22 株式会社リコー Image forming apparatus and power consumption display method thereof
JP6531730B2 (en) 2016-07-21 2019-06-19 京セラドキュメントソリューションズ株式会社 Communication device and communication program
JP7314354B2 (en) * 2019-06-11 2023-07-25 キヤノン株式会社 Information processing device, control method and program

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713891A (en) * 1993-06-18 1995-01-17 Canon Inc Image processor
JPH1127324A (en) * 1997-06-30 1999-01-29 Nec Corp Communication controller
JP2003050677A (en) * 2001-08-06 2003-02-21 Canon Inc Printer, print system, print system communication equipment and method
JP2004173148A (en) * 2002-11-22 2004-06-17 Sony Corp Information processing apparatus, server client system and method, and computer program
JP2004320478A (en) * 2003-04-16 2004-11-11 Canon Inc Communication equipment, its control method, and communication method
JP2004328288A (en) * 2003-04-23 2004-11-18 Canon Inc Image pickup device, image processor, control method for them. and radio communication environment setting method
JP2004362322A (en) * 2003-06-05 2004-12-24 Fuji Photo Film Co Ltd Browsing system
JP2006523412A (en) * 2003-03-14 2006-10-12 トムソン ライセンシング Automatic configuration of client terminals in public hot spots

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713891A (en) * 1993-06-18 1995-01-17 Canon Inc Image processor
JPH1127324A (en) * 1997-06-30 1999-01-29 Nec Corp Communication controller
JP2003050677A (en) * 2001-08-06 2003-02-21 Canon Inc Printer, print system, print system communication equipment and method
JP2004173148A (en) * 2002-11-22 2004-06-17 Sony Corp Information processing apparatus, server client system and method, and computer program
JP2006523412A (en) * 2003-03-14 2006-10-12 トムソン ライセンシング Automatic configuration of client terminals in public hot spots
JP2004320478A (en) * 2003-04-16 2004-11-11 Canon Inc Communication equipment, its control method, and communication method
JP2004328288A (en) * 2003-04-23 2004-11-18 Canon Inc Image pickup device, image processor, control method for them. and radio communication environment setting method
JP2004362322A (en) * 2003-06-05 2004-12-24 Fuji Photo Film Co Ltd Browsing system

Also Published As

Publication number Publication date
JP2006192645A (en) 2006-07-27

Similar Documents

Publication Publication Date Title
JP6345317B2 (en) Information processing apparatus, control method for information processing apparatus, and program
US7689725B2 (en) Peripheral control device and method for controlling peripheral device
JP5074677B2 (en) Information processing apparatus, method, peripheral device, control program
US7523224B2 (en) Information processing apparatus control method for device having both first and second interface settings enabling the information processing apparatus to communicate with the device via both first and second interface
EP2165464B1 (en) Network configuration device
EP2104317B1 (en) Information processing unit, information playback unit, information processing method, information playback method, information processing system and program
CN106126455B (en) Memory system capable of controlling wireless communication function
JP3948455B2 (en) Setting processing program, setting processing device, and network device
JP4630671B2 (en) Information processing apparatus, communication setting method thereof, and control program
JP2006338358A (en) Application program
JP5105708B2 (en) Data processing device for restricting access based on address information, information processing device communicating with data processing device, address information setting method, information processing device control method, and program
JP4612809B2 (en) Information processing apparatus, control method therefor, and program
JP5230126B2 (en) Service disclosure suppression apparatus, method, and program
JP4579623B2 (en) Information processing apparatus and received packet filtering method
JP2005150794A (en) Computer apparatus and computer program
JP2009020591A (en) Printer adapter device and control method
JP4630579B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2004206162A (en) Communication device and image forming apparatus

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20060420

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20070626

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080111

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080111

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101115

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131119

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees