JP2004013662A - Information processing device, information processing method and control program - Google Patents

Information processing device, information processing method and control program Download PDF

Info

Publication number
JP2004013662A
JP2004013662A JP2002168440A JP2002168440A JP2004013662A JP 2004013662 A JP2004013662 A JP 2004013662A JP 2002168440 A JP2002168440 A JP 2002168440A JP 2002168440 A JP2002168440 A JP 2002168440A JP 2004013662 A JP2004013662 A JP 2004013662A
Authority
JP
Japan
Prior art keywords
peripheral device
search
information
identification information
information processing
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.)
Withdrawn
Application number
JP2002168440A
Other languages
Japanese (ja)
Inventor
Yoshio Kimura
木村 欣生
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 JP2002168440A priority Critical patent/JP2004013662A/en
Publication of JP2004013662A publication Critical patent/JP2004013662A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a system that automatically handles a printer newly added to a network, without manual labor. <P>SOLUTION: A printer newly added to a network is automatically located, the located printer is automatically set for appropriate connection to the network, and software is automatically set in a server, so that a management load on an administrator can be reduced. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークデバイス、及び、ネットワークデバイスとネットワークを介して通信可能なコンピュータ、及び、これらの装置を含むネットワークシステム、及び、方法、及び制御プログラムに関する。
【0002】
【従来の技術】
ネットワークを探索し、探索されたネットワークデバイスをユーザが手動で指定すると、ネットワークアドレスの設定が行われる技術は存在する。
【0003】
しかし、新しくネットワークに接続する印刷装置を購入し、印刷クライアントからネットワーク経由で印刷可能にするためには、種々の手続きをふむ必要がある。例えば、印刷装置をTCP/IPのネットワークに接続する場合、最初に管理者は、印刷装置のパネルを使用したり、印刷装置に付属されたツールを使用したりして、印刷装置に対してIPアドレスを設定する。次に、プリントサーバPCに、設定したIPアドレスのLPRポートを作成し、購入した印刷装置のプリンタドライバをインストールし、出力先をLPRポートに割り振り、共有で使用できる設定を行う。最後に、各クライアントPCに、共有されたプリンタのプリンタドライバを各自インストールしてもらうか、または管理者が赴き、インストール作業を行う。以上の手続きを踏むことにより、クライアントPCから新しい印刷装置に対して印刷が可能になる。
【0004】
対して、一般ユーザのマニュアル操作無しに、クライアントPCにプリンタドライバをインストールできる方法が考えられつつある。このようなネットワークシステムでは、管理者がインストール指定すると、自動で各クライアントPCにプリンタドライバをインストールする機能がある。しかし、この場合も、プリンタドライバのインストールという手続きに関しては軽減されているが、購入してきたネットワークプリンタに対して、例えばIPアドレスの設定を行い、プリンタの設定項目をオブジェクトとして管理するための仕組みであるプリントエージェントオブジェクトを作成する手続きが必要である。
【0005】
このように、新規にネットワークに接続された印刷装置に対して、クライアントPCから印刷を可能にする手続きは、数多くの手続きを踏み、一般的に複雑であり、管理者の負荷を増加させている。
【0006】
【発明が解決しようとする課題】
本願発明は、これらの問題点の少なくとも一つの点を鑑みてなされたもので、ネットワーク環境下において、周辺装置がネットワークに接続されると、周辺装置がネットワーク通信を可能な状態になっているか否かを判断する仕組みを提供することを一つの目的とする。
【0007】
さらにこの判断結果に応じて、周辺装置の通信環境の設定を自動で行牛組を提供することをさらに別の目的とする。
【0008】
さらには、クライアントPCから印刷を可能にするための設定を自動で行ない、改良された方法及び印刷装置を提供し、ひいては管理者の負荷を低減することをさらに別の目的とする。
【0009】
さらに、本願発明の実施形態においては、あるサブネットワークに接続されていたネットワークデバイスが、異なるサブネットワークに移動した場合であっても、サーバ側で当該ネットワークデバイスを適切に再設定できる仕組みを提供することをさらに別の目的とする。
【0010】
【課題を解決するための手段】
上述の目的の少なくとも一つを達成すべく、本願においては、解決手段の一例として、以下の手段を提供する。
【0011】
請求項1に記載の発明は、周辺装置と通信可能な情報処理装置において、前記周辺装置に対する探索要求を発行し、前記探索要求に対する応答に付加された前記周辺装置を一意に識別可能な識別情報を取得することにより、前記ネットワーク上の周辺装置を探索する探索手段と、所定のプロトコルに従い、周辺装置に対して設定情報並びに前記周辺装置に固有の識別情報の要求を前記ネットワークへ送信する送信処理を制御する送信制御手段と、該送信処理において送信された前記設定情報並びに前記周辺装置に固有の識別情報の要求に対する応答を取得する取得手段と、前記探索手段に探索された周辺装置の情報と、前記取得手段により取得された前記周辺装置からの応答とに基づいて、前記探索手段に探索された周辺装置が、前記所定のプロトコルに従い正しく設定されているか否かを判断する判断手段とを備えたことを特徴とする。
【0012】
請求項2に記載の発明は、前記判断手段は、前記探索手段が探索した周辺装置に固有の識別情報をキーにして、前記取得手段が取得した設定情報が含む固有の識別情報に対応する周辺装置の設定が適切か否かを判断することを特徴とする。
【0013】
請求項3に記載の発明は、前記送信制御手段は、所定のサブネットに属する前記周辺装置に対し、該周辺装置に設定されているIPアドレス情報の取得要求を送信する送信処理を制御し、前記取得手段は、前記サブネットに属するように設定されている周辺装置から、前記周辺装置に固有の識別情報を含む前記取得要求に対する応答を取得し、前記判断手段は、前記取得手段が取得した固有の識別情報を用いて、前記探索手段が探索した周辺装置に、正しくIPアドレスが設定されているか否かを判断することを特徴とする。
【0014】
請求項4に記載の発明は、前記判断手段は、前記探索手段が探索した所定のサブネットに周辺装置が属するように前記周辺装置が設定されている場合には、前記周辺装置が正しく設定されていると判断することを特徴とする。
【0015】
請求項5に記載の発明は、前記判断手段により、正しく設定されていないと判断された周辺装置を自動的に前記所定のプロトコルにて通信可能に設定する設定情報をさらに備えたことを特徴とする。
【0016】
他の請求項に記載の発明は、請求項1乃至5に記載の発明の方法及び制御プログラムの発明であるので省略する。
【0017】
【発明の実施の形態】
(第1の実施形態)
本実施形態の目的の一つは、ネットワークシステムの環境下において、デバイス設定処理に実質的なユーザの介入を必要とすることなく、印刷装置がネットワークに接続可能となる設定を行い、印刷可能となる設定を行い、クライアントPCから印刷を可能にすることである。
【0018】
特に、第1の実施形態では、各コンピュータ、および印刷装置は、ネットワークで接続されており、ネットワークは、TCP/IPプロトコルをサポートしており、各コンピュータはIPアドレスが付加されていると仮定する。
【0019】
図1は、本発明の実施形態を適用可能なコンピュータの内部構成を示した図であり、以後登場するコンピュータの内部構成は、特に示さない場合には同様のものとする。図1に示すとおり、本実施形態に示すコンピュータは、標準的なPCや、ワークステーションにより構成される。
【0020】
図1において、100は、印刷クライアントコンピュータであり、クライアントコンピュータから新しく接続された印刷装置に対して、プリンタドライバをインストールして、印刷を行うコンピュータである。または、サーバコンピュータを兼ねていてもよい。または、印刷クライアントコンピュータが印刷可能にするための設定を行うプログラムがインストールされているコンピュータである。PC100は、ROM102もしくはハードディスク(HD)111に記憶された、あるいはフロッピー(R)ディスクドライブ(FD)112より供給される印刷装置設定プログラム、またはサーバ設定プログラムを実行するCPU101を備え、システムバス104に接続される各デバイスを総括的に制御する。
【0021】
103はRAMで、CPU101の主メモリ、ワークエリア等として機能する。105はユーザコマンド入力コントローラ(KBC)で、キーボード(KB)109や不図示のポインティングデバイス等からの指示入力を制御する。106はCRTコントローラ(CRTC)で、CRTディスプレイ(CRT)110の表示を制御する。107はディスクコントローラ(DKC)で、ブートプログラム、種々のアプリケーション、編集ファイル、ユーザファイル、そして印刷装置設定プログラム、またはサーバ設定プログラム等を記憶するハードディスク(HD)111およびフロッピー(R)ディスクコントローラ(FDC)112とのアクセスを制御する。108はホストインタフェース(I/F)で、LAN120を介して、ローカルプリンタ、ネットワークプリンタ、他のネットワーク機器あるいは他のPCと双方向にデータをやりとりする。
【0022】
図2は、本実施形態に含まれるプリンタの内部構成を示した図であり、以後、特に示さない限り記載される印刷装置の内部構成はこのようになっているものとする。ここでは、本発明の周辺装置の一例として、画像形成装置であるプリンタを挙げたが、周辺装置には、他の画像形成装置として、レーザプリンタはもちろん、インクジェットプリンタ、複写機、ファクシミリ並びにこれらの複合機であってもよいが、デジタルカメラ、スキャナなども含む。
【0023】
図2において、200は、ネットワークデバイスである印刷装置であり、ROM202もしくはRAM203などの記憶媒体より供給されるソフトウェアを実行するCPU201を備え、システムバス204に接続される各デバイスを総括的に制御する。
【0024】
203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。205はユーザコマンド入力装置で、本体パネルボタン等からの指示入力を制御する。206は、パネル表示部で、本体パネル内の液晶等に、本体の状態等を制御したり表示したりする。207は、印刷デバイスとして、本体を制御する。208はホストインタフェース(I/F)で、LAN209を介して、ローカルプリンタ、ネットワークプリンタ、他のネットワーク機器あるいは他のPCと双方向にデータをやりとりする。
【0025】
図3は、実質的な一般ユーザの介入を必要とすることない、印刷装置の設定を行い、サーバコンピュータの設定を行うシステムが動作するネットワークシステムの構成の実施形態の一例を示す図である。サーバコンピュータには、例えば、NDPS(登録商標)に対応したノベル社のネットウェアなどのミドルウェアが搭載されていてもよい。
【0026】
図3において、300は、例えばTCP/IPプロトコルをサポートするネットワークである。310、320、330は、ユーザが使用している印刷クライアントコンピュータで、ユーザは、プリンタドライバを使って、主に印刷装置350に印刷出力をするものとする。印刷クライアントは、図1のハードウェア構成を持つ。340は、サーバコンピュータで、ユーザが、新しく接続された印刷装置350に印刷できるようにするため、実質的な管理者の介入を必要とすること無く、印刷装置350の設定を行い、続いてサーバコンピュータの設定を行うプログラムが動作し、図1のハードウェア構成を持つ。なお、簡易のため、印刷装置設定プログラム、およびサーバ設定プログラムが、サーバコンピュータ340上で動作するとしているが、別のコンピュータで動作しても良いことは言うまでもない。この場合、サーバ設定プログラムは、なんらかの方法でサーバコンピュータ340と通信することになる。
【0027】
350は、周辺装置の一例である印刷装置で、一般ユーザに使用させる新しく接続された印刷装置であり、図2の構成を有する。もちろん、これらの構成は、一般的な構成を概念図にしただけで、一般ユーザが使用するコンピュータは何台あって良いことは言うまでもない。また、印刷装置が複数あっても良いことは言うまでもない。
【0028】
図4は、自動印刷環境構築プログラムの具体的な操作の流れの一例を示したフローチャートである。各コンピュータ、および印刷装置は、図1に示されたようなネットワークで接続されており、ネットワークは、TCP/IPプロトコルをサポートしており、各コンピュータはIPアドレスが付加されている場合を考える。また、サーバコンピュータ340は、印刷装置に対して、例えばLPRなどの所定のネットワークプリンティングプロトコルを使用して印刷ジョブを投入し、印刷クライアントコンピュータは、サーバコンピュータ340経由で印刷を行うことができるものとする。例えば、サーバコンピュータ340は、図1のようなハードウェア構成を取る。
【0029】
上述のような前提のシステムにおいて、ある印刷装置を購入し、ネットワークに接続すると、例えば、サーバコンピュータ340のHD111又はFD112に記憶されている、本発明の設定プログラムが起動し、図4のS401の処理を開始する。ステップS401において、新規に接続された印刷装置を発見する。なお、新規に接続された印刷装置を発見する方法は種々あるが、一例は後述する。
【0030】
次に、ステップS402において、新規に接続された印刷装置があるかどうかを判定する。新規に接続された印刷装置が無い場合、ステップS407に進み、処理を終了しないならば、ステップS408に進み、一定期間待機したあとステップS401へ戻る。処理を終了するならば、図4の一連のプロセスを終了する。S407において、処理を終了するか、処理を終了しないかは、例えば、自動印刷環境構築プログラム9997(設定プログラム)が、キーボードなどからの終了指示の入力に基づく終了シグナル、あるいは、サーバコンピュータ340内の、予め設定したタイマによる終了を示す割込みを認識するか否かで判断可能である。
【0031】
ステップS402において、新規に接続された印刷装置がある場合は、ステップS403へ進む。新規に接続された印刷装置にはIPアドレスが設定されていないか、有効なIPアドレスが設定されていないか、DHCP(DynamicHost Control Protocol)の設定がされていることが考えられる。DHCPは接続された時にDHCPサーバにより動的にIPアドレスを取得できるため便利であるが、DHCPサーバがネットワークに接続されいる必要があり、特に、電源投入毎にIPアドレスが変わることがあり、クライアントからIPアドレスを指定して印刷するLPR印刷の場合は、印刷装置にDHCPでIPアドレスを取得させる方法は一般的に不向きである。
【0032】
そこで、ステップS403において、固定の有効なIPアドレスを印刷装置に設定する場合を考える。なお、固定のIPアドレスを設定する方法は種々あるが、手動で設定しても、遠隔で設定しても、どの方法でも良いことは言うまでもない。また、印刷装置に設定するIPアドレスを選定する方法としては、もし印刷装置が発見された時に使用するIPアドレスをあらかじめ設定する方法が考えられる。なお、IPアドレスのコンフリクトを防ぐため、あらかじめ設定しておくIPアドレスを複数にするか、範囲を与えるようにし、設定する前に、設定しようとするIPアドレスが本当に現在使用されていないかを確認してから設定するとよい。
【0033】
次に、ステップS404において、新しく追加された印刷装置に対して、Printer Agent(以後PAと略する場合がある)オブジェクトを生成する。PAは、一般的には抽象的な概念であるが、ここでは、プリンタをオブジェクトとして管理するための、各種設定情報を含むデータ構造を示すものとする。本実施例では、ステップS403で生成するPAは、Public Access Printerとして生成するとする。PAの名前に関しては、任意の重複しない数字であっても良いし、IPアドレスであっても良いし、あらかじめ与えられていた名前であっても良いし、その他、重複しなければ何であっても良い。次に、ステップS405において、ステップS404において生成されたPAに対して、サーバコンピュータ304に搭載されるミドルウェアの自動ドライバインストール機能を有効にする設定を行う。
【0034】
次に、ステップS406において、ステップS404において生成されたPAに対して、あらかじめ用意しておいたプリンタドライバにより、プリンタドライバの関連付けを行い、終了する。
【0035】
図5は、新規に接続された印刷装置を発見する実施形態の一例を示したフローチャートである。図5の各処理は、サーバコンピュータ340に記憶された自動印刷環境構築プログラム9997により実行される。ネットワークには、プリンタだけでは無くPC等、様々な機器が接続されている。目的のネットワークに接続された印刷装置だけを列挙するため、自動印刷環境構築プログラムは、ステップS501において、印刷装置が理解でき、印刷装置が応答を返すプロトコルAの探索要求パケットをネットワーク全体にブロードキャストする処理を制御する。プロトコルAは、所望のネットワーク、ここでは、サブネットワーク(サブネット)内にプリンタの探索要求のブロードキャストを行なう。探索要求を受けたプリンタは、要求に対して、例えば、イーサネット(R)のネットワークボードに一意に物理的に付与されるMACアドレスを付加した応答を返信する。サーバコンピュータ340は、プリンタ350から、応答を受信することにより、当該ネットワークのサブネットに接続される全てのプリンタを検出することができる。
【0036】
プロトコルAは、ここでは、周辺装置探索用の簡易なプロトコルであり、周辺装置固有の識別情報、例えばMACアドレスなどを、ネットワークを探索して取得することができる。印刷装置は、プロトコルAの探索要求パケットを受け取ると、自分のMACアドレスを付加して応答を返すので、ステップS502において、応答が返ってきたMACアドレスのリストで構成されている、印刷装置のリストであるリストAを作成する。次に、ネットワークに接続された印刷装置の中で、既に使用されている印刷装置と、新しく追加された印刷装置を区別する。有効なIPアドレスが設定されている印刷装置が既に使用されている印刷装置、有効なIPアドレスが設定されていない印刷装置が新しく追加された印刷装置と考えられるため、有効なIPアドレスが設定されている機器が応答するプロトコルBに基づく探索パケットをネットワーク全体にブロードキャストする処理を、不図示のOS又は、送信プログラムを介して制御する。
【0037】
有効なIPアドレスが設定された機器は、プロトコルBの探索パケットを受け取ると、自分にIPアドレスとMACアドレスを付加して応答を返すので、ステップS504において、応答が返ってきたIPアドレスとMACアドレスのリストで構成されている、有効なIPアドレスが設定された機器のリストであるリストBを作成する。
【0038】
最後に、ステップS505において、リストAとリストBから、有効なIPアドレスが設定されていない、ネットワークに接続された印刷装置のリスト、すなわち、目的の新規に追加された印刷装置のリストが取得できる。
【0039】
具体的には、例えば、ステップS502において作成された印刷装置のリストであるリストAが作成される。ここでリストAを、{prn1、prn2、prn4、prn5、prn7}とする。また、ステップS504においては、有効なIPアドレスが設定された機器のリストであるリストBを作成する。リストBは、{prn1、prn3、prn4、prn6、prn7}とする。新規で追加された印刷装置のリストは、リストAにあってリストBに無いメンバである{prn2、prn5}となる。ここで、識別情報であるprn1乃至prn7は、MACアドレスを示す。機器に一意に付与され、所定の探索プロトコルであるものであれば、MACアドレスに限らず、例えば、改竄が検知可能な暗号化列であるプリンタに記憶されている証明書情報を、識別情報として、サーバコンピュータ340がプロトコルAを用いて取得してもよい。
【0040】
なお、プロトコルBとしては、ネットワーク機器で一般に持つSNMP/MIBを使うことが一般的だと思われるが、別のプロトコルであっても良いことは言うまでもない。
【0041】
また、本例では、SNMP/MIBを使用することを想定して、さらに独自のプロトコルを簡単にするために、プロトコルAとプロトコルBの二つのプロトコルを使用して新規に接続された印刷装置を特定したが、独自の複雑なプロトコルを開発して、本例のプロトコルAだけで新規デバイスを発見可能にするようにしても良いことは言うまでもない。
【0042】
以上により、新しく印刷可能になった印刷装置が追加された場合、自動で印刷装置にIPアドレスを設定し、サーバコンピュータ340上にPAを作成し、NDPSの機能であるプリンタドライバの自動インストール機能を有効にすることにより、印刷クライアントにプリンタドライバが自動でインストールされ、実質的なユーザの介入を必要とすることなく印刷が可能となる。
【0043】
ここで、図7は、IPアドレスが正しく設定されていないプリンタを特定する処理の一例を示す図である。S505の処理の一例を詳しく説明した図である。S505が開始されると、図7のS701処理に移る。S701で自動印刷環境構築プログラム9997は、リストAから一台の周辺機器(対象周辺装置)、ここではプリンタ350設定情報を読み込む。そして、S702で、対象周辺装置に設定されているIPアドレスがリストB内にあるか否かを判断する。S702で、対象周辺装置に設定されているIPアドレスがリストBにあると判断した場合は、リストAから読み込んだ対象周辺装置にはIPアドレスが正しく設定されていたものと判断する。S702で、リストAから読み込んだ対象周辺装置に設定されているIPアドレスがリストBにあると判断した場合は、S703に進み、S701でリストAから読み込んだ対象周辺装置には、IPアドレスが正しく設定されていないと判断し、対象周辺装置の識別情報、例えば、周辺装置名、MACアドレス、証明書情報などを獲得し、IPアドレスが正しく設定されていない装置としてファイルに追記する。そして、S704に進む。S704では、リストAの最後まで読み進んだか否かを判断する。最後であると判断した場合は、処理を終了する。即ちS505を抜ける。最後ではないと判断した場合には、リストAの読み込みポインタを進めて、次の一台の周辺装置の設定情報を読み込む(S701)。以後、リストAを読み終わるまで繰り返す。ここで、プロトコルAはIPアドレスを使用せずに、限定的な通信することが出来る簡易なプロトコルである。プロトコルAのような簡易なプロトコルを予め周辺装置に実装するのは容易であり、コスト的にも現実的なことである。
【0044】
こうすることで、IPアドレスが正しく設定されていない周辺装置のリストが完成する。まずプロトコルAで、所定のサブネット上で稼動中の全ての周辺装置から、MACアドレスとIPアドレスの組を取得する。
【0045】
そして、プロトコルBにて所定のサブネットに探索を行う。プロトコルBに対しては、正しく設定された周辺装置からしか応答が無い。例えば、サブネットが、192.168.1.0/25である場合、192.168.1.255に対してブロードキャストを行うと、192.168.1.1〜192.168.1.254までのIPアドレスが周辺装置に正しく設定されている場合にはそれらの周辺装置からは、それぞれ応答が有る。しかし、例えば、他のサブネット、192.168.3.0/25のサブネットに所属するプリンタX(192.168.3.100)が192.168.1.0/25に移動してきた場合、プリンタXは、192.168.1.255へのブロードキャストには応答しない。プリンタXはまだ、192.168.1.0/25に移動したにも関わらず、192.168.1.1〜192.168.1.254の値に正しく設定されていないからである。従って、プロトコルBで所定のサブネットの探索を行い応答の有ったものリストであるリストBは、192.168.1.1〜192.168.1.254の値に正しく設定されている周辺装置のリストである。
【0046】
ここで、リストAから、リストBに記憶された周辺装置のリストを除くと、正しくIPアドレスを設定すべき周辺装置が見つかる。これらの周辺装置に対して、正しく該所定のサブネットに属するような設定を遠隔で行うことができる。例えば、プリンタXのIPアドレスを自動印刷環境構築プログラム9997により、まだ使用されていない192.168.1.0/25に属するIPアドレス例えば192.168.1.10などに自動的に設定しなおす。以後、プリンタXはIP(インターネットプロトコル)を用いて通信することが出来る。このようにすれば、サブネットの応答の特性を利用して、また、周辺装置固有の識別情報であるMACアドレスを利用することにより、あるサブネットに新たに参加したプリンタの設定を、管理者の手を煩わせることなく、自動的に正しいか否かを判断し、正しくない場合には自動的に正しいアドレスに整合設定、つまり、正しいサブネット下に属することを示すアドレスを設定することが可能となる。
【0047】
本実施形態では、プリンタと通信可能なサーバコンピュータ304にには、簡易な探索プロトコルにより、プリンタに対する探索要求を発行し、探索要求に対する応答に付加されたプリンタに固有の識別情報であるMACアドレスを取得することにより、前記ネットワーク上のプリンタを探索する自動印刷環境構築プログラム(設定プログラム)と、所定のプロトコルに従い、プリンタに対して設定情報並びにプリンタに固有の識別情報の要求を前記ネットワークへの送信する送信処理を制御し、該送信処理において送信された前記IPアドレス、並びに、前記周辺装置に固有のMACアドレスの送信要求に対する応答を取得し、前記探索手段に探索された周辺装置の情報と、前記取得手段により取得された前記周辺装置からの応答とに基づいて、前記探索手段に探索された周辺装置が、前記所定のプロトコルに従い正しく設定されているか否かを判断する処理を実行するための自動印刷環境構築プログラムが搭載される。
【0048】
(第2の実施形態)
第1の実施形態では、新しく印刷装置が追加された場合、PAを生成する場合のディレクトリの位置とアクセス権の設定が自動で行うのが困難なため、Public Access Printer(パブリックアクセスプリンタ)としてPAを生成した。しかし、ディレクトリが複雑で無く、あらかじめディレクトリのどこにPAを生成するか解っている場合、あらかじめディレクトリの位置、およびアクセス権を指定しておいて、自動でControlled AccessPrinter(コントロールアクセスプリンタ)を生成するようにしても良いことは言うまでもない。
【0049】
(第3の実施形態)
第1の実施形態では、プリンタドライバの関連付けを自動で行っていたが、クライアントPCのOSが、例えばWindows(登録商標) 2000しか無い場合がある。その場合は、全てのOSのプリンタドライバを関連付けする必要は無く、Windows(登録商標) 2000のプリンタドライバだけ用意しておいて、それだけを関連付けすれば良い。このように、全て自動で行うと逆に負荷がかかる場合があり、一部を手動に変更可能にする選択肢を付けても良いことは言うまでもない。
【0050】
(第4の実施形態)
第1の実施形態では、新規に追加された印刷装置の探索を行うのを、一定間隔おきに行うものであった。これを、印刷装置がネットワークに接続された時になんらかの通知を行い、通知を受けてから印刷装置の設定、およびサーバコンピュータ340の設定を行うようにしても良いことは言うまでもない。
【0051】
上記で説明した本発明に係る実施例の自動印刷環境構築プログラムは、外部からインストールされるプログラムによって、コンピュータ100によって遂行されても良い。その場合、そのプログラムはCD−ROMやフラッシュメモリやフロッピー(R)ディスクなどの記憶媒体により、あるいは電子メールやパソコン通信などのネットワークを介して、外部の記憶媒体からプログラムを含む情報群をコンピュータ100上にロードすることにより、コンピュータ100に供給される場合でも本発明は適用されるものである。
【0052】
図6は、記憶媒体のメモリマップの一例を示す図である。9999はディレクトリ情報を記憶してある領域で、以降のインストールプログラムを記憶してある領域9998および自動印刷環境構築プログラムを記憶してある領域9997の位置を示している。9998は、インストールプログラムを記憶してある領域である。例えば、記憶媒体は、サーバコンピュータ340内に備えられる。即ち、記憶媒体は、例えば、図1のコンピュータ100のHD111や、FD112に相当する。9997は、実施例の自動印刷環境構築プログラムを記憶してある領域である。本発明のプログラムがコンピュータ100にインストールされる際には、まずインストールプログラムを記憶してある領域9998に記憶されているインストールプログラムがシステムにロードされ、CPU101によって実行される。次に、 CPU101によって実行されるインストールプログラムが、本プログラムを記憶してある領域9997から本プログラムを読み出して、ハードディスク111に格納する。
【0053】
なお、本発明は、複数の機器(例えばホストコンピュータ、インタフェース機器、リーダなど)から構成されるシステムあるいは統合装置に適用しても、ひとつの機器からなる装置に適用してもよい。
【0054】
また、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0055】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0056】
プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(R)ディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM,CD−R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。
【0057】
また、コンピュータが読み出したプログラムコードを実行することによって、前述した実施形態の機能が実現される他、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOSなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。
【0058】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によっても前述した実施形態の機能が実現され得る。
【0059】
なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体から、そのプログラムを、インターネット通信などの通信ラインを介して要求者にそのプログラムを配信する場合にも適用できることは言うまでもない。
【0060】
本願の各実施形態によれば、新しく印刷装置が追加された場合、印刷装置がネットワークに接続可能にするための設定を自動で行い、ネットワークシステムにおけるプリンタ設定を自動で行なうことができる。さらに、ネットワークシステムのプリンタドライバ自動ダウンロード機能と組み合わせることにより、実質的なユーザの介入を必要とすることなく、クライアントPCから印刷が可能になるという効果がある。
【0061】
【発明の効果】
以上説明したように、本発明によれば、新しく周辺装置が追加された場合、周辺装置がネットワークに接続可能にするための設定成されているか否かを判断することが出来る。
【0062】
さらに別の発明によれば、該判断結果に応じて、ネットワークシステムにおける周辺装置の設定を自動で行なうことができる。
【図面の簡単な説明】
【図1】本発明の実施形態を適用可能なコンピュータの内部構成を示した図である。
【図2】本実施形態に含まれるプリンタの内部構成を示した図である。
【図3】ネットワークシステムの構成の実施形態の一例を示す図である。
【図4】自動印刷環境構築プログラムの処理の一例を示す図である。
【図5】新規に接続された印刷装置を探索する仕組みの一例を示したフローチャートである。
【図6】記憶媒体メモリマップの一例を示す図である。
【図7】IPアドレスが正しく設定されていないプリンタを特定する処理の一例を示す図である。
【符号の説明】
100 クライアントコンピュータ
200 印刷装置
300 ネットワーク
310 印刷クライアントコンピュータ
320 印刷クライアントコンピュータ
330 印刷クライアントコンピュータ
340 サーバコンピュータ
350 追加された周辺装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a network device, a computer capable of communicating with the network device via a network, a network system including these devices, a method, and a control program.
[0002]
[Prior art]
There is a technology in which a network is searched and a network address is set when a user manually specifies a searched network device.
[0003]
However, in order to purchase a new printing device to be connected to the network and enable printing from the print client via the network, it is necessary to perform various procedures. For example, when connecting a printing device to a TCP / IP network, first, the administrator uses the panel of the printing device or a tool attached to the printing device to make an IP connection to the printing device. Set the address. Next, an LPR port having the set IP address is created in the print server PC, a printer driver of the purchased printing apparatus is installed, an output destination is allocated to the LPR port, and settings are made so that the printer can be shared and used. Finally, each client PC installs the printer driver of the shared printer by itself, or an administrator goes to perform the installation work. By performing the above procedure, printing can be performed from the client PC to the new printing apparatus.
[0004]
On the other hand, a method of installing a printer driver in a client PC without manual operation of a general user is being considered. Such a network system has a function of automatically installing a printer driver in each client PC when an administrator specifies installation. However, in this case as well, although the procedure of installing the printer driver is reduced, for example, an IP address is set for the purchased network printer, and a mechanism for managing the setting items of the printer as an object is used. A procedure for creating a print agent object is required.
[0005]
As described above, the procedure for enabling printing from a client PC to a printing apparatus newly connected to a network involves many procedures, is generally complicated, and increases the load on an administrator. .
[0006]
[Problems to be solved by the invention]
The present invention has been made in view of at least one of these problems, and in a network environment, when a peripheral device is connected to a network, whether the peripheral device is in a state capable of performing network communication. One purpose is to provide a mechanism for judging whether or not there is a problem.
[0007]
Still another object is to automatically provide a setting for setting the communication environment of the peripheral device in accordance with this determination result.
[0008]
Still another object is to provide an improved method and printing apparatus by automatically performing settings for enabling printing from a client PC, and thereby reduce the load on an administrator.
[0009]
Further, in the embodiment of the present invention, even when a network device connected to a certain sub-network moves to a different sub-network, a mechanism that allows the server to appropriately reconfigure the network device is provided. That is yet another purpose.
[0010]
[Means for Solving the Problems]
In order to achieve at least one of the above objects, the present application provides the following means as an example of the solving means.
[0011]
The invention according to claim 1 is an information processing apparatus that is capable of communicating with a peripheral device, issues a search request to the peripheral device, and identifies identification information that uniquely identifies the peripheral device added to a response to the search request. And transmission processing for transmitting to the network setting information and a request for identification information unique to the peripheral device to the peripheral device in accordance with a predetermined protocol. Transmission control means for controlling the setting information transmitted in the transmission processing, and acquisition means for acquiring a response to a request for identification information unique to the peripheral device, and information on the peripheral device searched by the search means The peripheral device searched by the search device based on the response from the peripheral device acquired by the acquisition device, And further comprising a determining means for determining whether it is properly set in accordance with protocol.
[0012]
According to a second aspect of the present invention, the determination unit uses the identification information unique to the peripheral device searched by the search unit as a key, and sets the peripheral device corresponding to the unique identification information included in the setting information acquired by the acquisition unit. It is characterized in that it is determined whether or not the setting of the device is appropriate.
[0013]
According to a third aspect of the present invention, the transmission control means controls a transmission process of transmitting, to the peripheral devices belonging to a predetermined subnet, an acquisition request for IP address information set in the peripheral devices, The acquiring unit acquires a response to the acquisition request including identification information unique to the peripheral device from the peripheral device set to belong to the subnet, and the determining unit acquires the unique response acquired by the acquiring unit. It is characterized in that it is determined whether or not an IP address is correctly set to the peripheral device searched by the search means using the identification information.
[0014]
According to a fourth aspect of the present invention, when the peripheral device is set so that the peripheral device belongs to a predetermined subnet searched by the search unit, the determining device determines that the peripheral device is correctly set. It is characterized by judging that there is.
[0015]
The invention according to claim 5, further comprising setting information for automatically setting the peripheral device determined to be incorrectly set by the determining means to be communicable according to the predetermined protocol. I do.
[0016]
The invention described in the other claims is the invention of the method and the control program according to the inventions of claims 1 to 5, and thus will not be described.
[0017]
BEST MODE FOR CARRYING OUT THE INVENTION
(1st Embodiment)
One of the objects of the present embodiment is to make settings so that a printing apparatus can be connected to a network without requiring substantial user intervention in device setting processing in an environment of a network system, and to enable printing. Setting is made to enable printing from the client PC.
[0018]
In particular, in the first embodiment, it is assumed that each computer and the printing device are connected by a network, the network supports the TCP / IP protocol, and each computer is provided with an IP address. .
[0019]
FIG. 1 is a diagram showing the internal configuration of a computer to which an embodiment of the present invention can be applied. The internal configuration of a computer appearing thereafter is the same unless otherwise indicated. As shown in FIG. 1, the computer according to the present embodiment includes a standard PC and a workstation.
[0020]
In FIG. 1, reference numeral 100 denotes a print client computer, which is a computer that installs a printer driver on a printing device newly connected from the client computer and performs printing. Alternatively, it may also serve as a server computer. Alternatively, the computer may be a computer in which a program for setting a print client computer to enable printing is installed. The PC 100 includes a CPU 101 that executes a printing apparatus setting program or a server setting program stored in a ROM 102 or a hard disk (HD) 111 or supplied from a floppy (R) disk drive (FD) 112. It controls each connected device as a whole.
[0021]
A RAM 103 functions as a main memory, a work area, and the like for the CPU 101. Reference numeral 105 denotes a user command input controller (KBC), which controls input of instructions from a keyboard (KB) 109 or a pointing device (not shown). Reference numeral 106 denotes a CRT controller (CRTC) which controls display on a CRT display (CRT) 110. A disk controller (DKC) 107 stores a hard disk (HD) 111 and a floppy (R) disk controller (FDC) for storing a boot program, various applications, editing files, user files, a printing apparatus setting program, a server setting program, and the like. ) 112. A host interface (I / F) 108 bidirectionally exchanges data with a local printer, a network printer, another network device, or another PC via the LAN 120.
[0022]
FIG. 2 is a diagram showing the internal configuration of the printer included in the present embodiment. Hereinafter, unless otherwise specified, the internal configuration of the printing apparatus described here is as described above. Here, as an example of the peripheral device of the present invention, a printer which is an image forming apparatus has been described. However, in the peripheral device, not only a laser printer but also an ink jet printer, a copier, a facsimile, and other image forming devices. It may be a multifunction device, but also includes a digital camera, a scanner, and the like.
[0023]
In FIG. 2, reference numeral 200 denotes a printing device which is a network device, which includes a CPU 201 for executing software supplied from a storage medium such as a ROM 202 or a RAM 203, and comprehensively controls each device connected to a system bus 204. .
[0024]
A RAM 203 functions as a main memory, a work area, and the like for the CPU 201. Reference numeral 205 denotes a user command input device, which controls an instruction input from a body panel button or the like. A panel display unit 206 controls and displays the state of the main body on a liquid crystal or the like in the main body panel. Reference numeral 207 controls the main body as a printing device. A host interface (I / F) 208 bidirectionally exchanges data with a local printer, a network printer, another network device, or another PC via the LAN 209.
[0025]
FIG. 3 is a diagram illustrating an example of an embodiment of a configuration of a network system in which a system for performing setting of a printing apparatus and setting of a server computer operates without substantially requiring intervention of a general user. The server computer may be equipped with, for example, middleware such as Novell's netware compatible with NDPS (registered trademark).
[0026]
In FIG. 3, a network 300 supports, for example, the TCP / IP protocol. Reference numerals 310, 320, and 330 denote print client computers used by the user, and the user mainly prints out to the printing apparatus 350 using a printer driver. The print client has the hardware configuration shown in FIG. 340 is a server computer that configures the printing device 350 without requiring substantial administrative intervention, so that a user can print to the newly connected printing device 350; A program for setting the computer operates and has the hardware configuration shown in FIG. Note that, for simplicity, the printing apparatus setting program and the server setting program operate on the server computer 340, but it goes without saying that the printing apparatus setting program and the server setting program may operate on another computer. In this case, the server setting program communicates with the server computer 340 in some way.
[0027]
A printing device 350 is an example of a peripheral device, and is a newly connected printing device to be used by a general user, and has a configuration shown in FIG. Of course, these configurations are merely conceptual diagrams of general configurations, and it goes without saying that there may be any number of computers used by general users. Needless to say, there may be a plurality of printing devices.
[0028]
FIG. 4 is a flowchart showing an example of a specific operation flow of the automatic print environment construction program. Each computer and the printing apparatus are connected by a network as shown in FIG. 1, the network supports the TCP / IP protocol, and each computer has a case where an IP address is added. Further, the server computer 340 submits a print job to the printing apparatus by using a predetermined network printing protocol such as LPR, and the print client computer performs printing via the server computer 340. I do. For example, the server computer 340 has a hardware configuration as shown in FIG.
[0029]
In the system based on the above-described premise, when a certain printing apparatus is purchased and connected to a network, for example, a setting program of the present invention stored in the HD 111 or the FD 112 of the server computer 340 is activated, and the processing proceeds to S401 in FIG. Start processing. In step S401, a newly connected printing device is found. Although there are various methods for finding a newly connected printing device, an example will be described later.
[0030]
Next, in step S402, it is determined whether there is a newly connected printing device. If there is no newly connected printing device, the process proceeds to step S407. If the process is not terminated, the process proceeds to step S408. After waiting for a certain period, the process returns to step S401. If the processing is ended, the series of processes in FIG. 4 is ended. In step S407, whether the processing is to be ended or not to be ended is determined, for example, by the automatic printing environment construction program 9997 (setting program) by the termination signal based on the input of the termination instruction from the keyboard or the like, or by the server computer 340. It can be determined based on whether or not to recognize an interrupt indicating termination by a preset timer.
[0031]
In step S402, if there is a newly connected printing apparatus, the process proceeds to step S403. It is conceivable that an IP address has not been set for a newly connected printing apparatus, a valid IP address has not been set, or DHCP (Dynamic Host Control Protocol) has been set. DHCP is convenient because it can dynamically obtain an IP address by a DHCP server when it is connected. However, it is necessary that the DHCP server be connected to the network. In the case of LPR printing in which printing is performed by designating an IP address from a printer, a method of causing a printing apparatus to obtain an IP address by DHCP is generally not suitable.
[0032]
Therefore, a case where a fixed valid IP address is set in the printing apparatus in step S403 is considered. Although there are various methods for setting a fixed IP address, it goes without saying that any method may be used, either manually or remotely. Further, as a method of selecting an IP address to be set in the printing apparatus, a method of setting an IP address to be used when a printing apparatus is found in advance can be considered. In order to prevent IP address conflicts, set a plurality of IP addresses to be set in advance or assign a range, and confirm that the IP address to be set is not currently used before setting. It is good to set after that.
[0033]
Next, in step S404, a Printer Agent (hereinafter sometimes abbreviated as PA) object is generated for the newly added printing apparatus. PA is generally an abstract concept, but here, it indicates a data structure including various setting information for managing a printer as an object. In the present embodiment, it is assumed that the PA generated in step S403 is generated as a Public Access Printer. Regarding the name of the PA, any unique number may be used, the IP address may be used, the name given in advance may be used, and any other name may be used if there is no duplication. good. Next, in step S405, a setting is made for the PA generated in step S404 to enable the automatic driver installation function of the middleware mounted on the server computer 304.
[0034]
Next, in step S406, the printer driver prepared in advance is associated with the PA generated in step S404, and the process ends.
[0035]
FIG. 5 is a flowchart illustrating an example of an embodiment for discovering a newly connected printing device. Each process in FIG. 5 is executed by the automatic printing environment construction program 9997 stored in the server computer 340. Various devices such as PCs as well as printers are connected to the network. To list only the printing devices connected to the target network, the automatic printing environment construction program broadcasts, in step S501, a protocol A search request packet that the printing device can understand and the printing device returns a response to over the network. Control processing. Protocol A broadcasts a printer search request in a desired network, here a sub-network (subnet). Upon receiving the search request, the printer returns a response to the request, for example, to which a MAC address uniquely assigned to a network board of Ethernet (R) is added. The server computer 340 can detect all the printers connected to the subnet of the network by receiving the response from the printer 350.
[0036]
Here, the protocol A is a simple protocol for searching for a peripheral device, and it is possible to obtain identification information unique to a peripheral device, for example, a MAC address, by searching a network. Upon receiving the search request packet of the protocol A, the printing device returns a response with its own MAC address added. Therefore, in step S502, the printing device list including the list of MAC addresses to which the response has been returned. Is created. Next, among the printing apparatuses connected to the network, a printing apparatus that is already used and a newly added printing apparatus are distinguished. Since a printing device for which a valid IP address is set is already used, and a printing device for which a valid IP address is not set is considered as a newly added printing device, a valid IP address is set. A process of broadcasting a search packet based on the protocol B to which the responding device responds over the entire network is controlled via an OS (not shown) or a transmission program.
[0037]
When the device to which the valid IP address is set receives the search packet of the protocol B, the device returns the response by adding the IP address and the MAC address to itself. In step S504, the device returns the IP address and the MAC address to which the response is returned. A list B, which is a list of devices having valid IP addresses set therein, is created.
[0038]
Finally, in step S505, a list of printing apparatuses connected to the network, for which a valid IP address is not set, that is, a list of newly added printing apparatuses, can be obtained from the lists A and B. .
[0039]
Specifically, for example, a list A that is a list of the printing devices created in step S502 is created. Here, list A is {prn1, prn2, prn4, prn5, prn7}. In step S504, a list B, which is a list of devices for which a valid IP address has been set, is created. List B is {prn1, prn3, prn4, prn6, prn7}. The list of newly added printing devices is {prn2, prn5}, which is a member that is in list A but not in list B. Here, prn1 to prn7, which are identification information, indicate MAC addresses. As long as it is uniquely assigned to the device and is a predetermined search protocol, not only the MAC address but also, for example, certificate information stored in the printer, which is an encrypted string that can be tampered with, is used as identification information. Alternatively, the server computer 340 may obtain the information using the protocol A.
[0040]
As the protocol B, it is generally considered to use SNMP / MIB that is generally used in network devices, but it goes without saying that another protocol may be used.
[0041]
In this example, assuming that SNMP / MIB is used, in order to further simplify a unique protocol, a printing device newly connected using two protocols, protocol A and protocol B, is used. Although specified, it goes without saying that a unique and complicated protocol may be developed so that a new device can be discovered only by the protocol A of this example.
[0042]
As described above, when a printing device that can newly print is added, an IP address is automatically set to the printing device, a PA is created on the server computer 340, and an automatic installation function of a printer driver, which is a function of NDPS, is provided. When enabled, the printer driver is automatically installed on the print client, and printing can be performed without substantial user intervention.
[0043]
Here, FIG. 7 is a diagram illustrating an example of a process of specifying a printer for which an IP address is not correctly set. FIG. 14 is a diagram for explaining an example of the process of S505 in detail. When S505 is started, the process proceeds to S701 in FIG. In step S701, the automatic printing environment construction program 9997 reads one peripheral device (target peripheral device), in this case, the printer 350 setting information from the list A. Then, in S702, it is determined whether or not the IP address set in the target peripheral device is in the list B. If it is determined in step S702 that the IP address set in the target peripheral device is in the list B, it is determined that the IP address is correctly set in the target peripheral device read from the list A. If it is determined in S702 that the IP address set in the target peripheral device read from the list A is in the list B, the process proceeds to S703, and the IP address of the target peripheral device read from the list A in S701 is correctly set. It is determined that the IP address is not set, and the identification information of the target peripheral device, for example, the peripheral device name, the MAC address, the certificate information, etc., is obtained, and is added to the file as a device for which the IP address is not correctly set. Then, the process proceeds to S704. In S704, it is determined whether or not the reading of the list A has been completed. If it is determined that the process is the last, the process ends. That is, the process exits from step S505. If it is not the last, the read pointer of the list A is advanced to read the setting information of the next peripheral device (S701). Thereafter, the processing is repeated until the reading of the list A is completed. Here, the protocol A is a simple protocol that can perform limited communication without using an IP address. It is easy to implement a simple protocol such as the protocol A in the peripheral device in advance, and it is realistic in terms of cost.
[0044]
By doing so, a list of peripheral devices for which the IP address is not set correctly is completed. First, according to protocol A, a set of a MAC address and an IP address is acquired from all peripheral devices operating on a predetermined subnet.
[0045]
Then, a predetermined subnet is searched by the protocol B. For the protocol B, there is no response only from a peripheral device that is correctly set. For example, if the subnet is 192.168.1.10/25, and broadcast to 192.168.1.255, the broadcast from 192.168.1.1 to 192.168.1.254 is performed. If the IP address is correctly set in the peripheral devices, there is a response from each of the peripheral devices. However, for example, if the printer X (192.168.3.3.100) belonging to another subnet, 192.168.3.0/25, moves to 192.168.1.0/25, X does not respond to broadcasts to 192.168.1.255. This is because the printer X has not yet been correctly set to the values of 192.168.1.1 to 192.168.1.254 even though it has moved to 192.168.1.10/25. Accordingly, the list B, which is a list of those which have searched for a predetermined subnet by the protocol B and have received a response, is a peripheral device which is correctly set to the values of 192.168.1.1 to 192.168.1.254. Here is a list.
[0046]
Here, if the list of the peripheral devices stored in the list B is removed from the list A, the peripheral device for which the IP address should be set correctly can be found. It is possible to remotely set these peripheral devices so as to correctly belong to the predetermined subnet. For example, the automatic printing environment construction program 9997 automatically resets the IP address of the printer X to an IP address belonging to 192.168.1.0/25 that is not yet used, for example, 192.168.1.10. . Thereafter, the printer X can communicate using the IP (Internet Protocol). In this way, by using the response characteristics of the subnet and by using the MAC address which is the identification information unique to the peripheral device, the setting of the printer newly participating in a certain subnet can be manually performed by the administrator. It is possible to automatically judge whether or not the address is correct, and if it is not correct, automatically match the address to the correct address, that is, set an address indicating that the address belongs to the correct subnet. .
[0047]
In the present embodiment, a search request for the printer is issued to the server computer 304 that can communicate with the printer by a simple search protocol, and the MAC address, which is identification information unique to the printer, added to the response to the search request is added to the server computer 304. By acquiring the information, an automatic print environment construction program (setting program) for searching for a printer on the network and a request for setting information and printer-specific identification information to the printer are transmitted to the network according to a predetermined protocol. Controlling the transmission processing to obtain the IP address transmitted in the transmission processing, and a response to the transmission request of the MAC address unique to the peripheral device, and information of the peripheral device searched by the search unit; Based on the response from the peripheral device obtained by the obtaining unit. Te, wherein the searched peripheral device searching means, automatic printing environment construction program for executing a process of determining whether it is properly set in accordance with the predetermined protocol is installed.
[0048]
(Second embodiment)
In the first embodiment, when a new printing device is added, it is difficult to automatically set a directory position and an access right when generating a PA. Therefore, the PA is used as a Public Access Printer (public access printer). Generated. However, if the directory is not complicated and it is known in advance where the PA should be generated in the directory, the location and access right of the directory are specified in advance, and the Controlled Access Printer (control access printer) is automatically generated. Needless to say, this is acceptable.
[0049]
(Third embodiment)
In the first embodiment, the association of the printer driver is automatically performed. However, there is a case in which the OS of the client PC is, for example, only Windows (registered trademark) 2000. In that case, it is not necessary to associate the printer drivers of all the OSs, and only the Windows (registered trademark) 2000 printer driver is prepared and it is only necessary to associate them. As described above, if all the operations are performed automatically, the load may be increased, and it goes without saying that an option that allows a part of the operation to be changed manually may be added.
[0050]
(Fourth embodiment)
In the first embodiment, the search for a newly added printing device is performed at regular intervals. Needless to say, this may be done by giving some notification when the printing device is connected to the network, and after receiving the notification, setting the printing device and setting the server computer 340.
[0051]
The automatic printing environment construction program of the embodiment according to the present invention described above may be executed by the computer 100 by a program installed from the outside. In that case, the program is stored in a storage medium such as a CD-ROM, a flash memory, a floppy (R) disk, or an external storage medium via a network such as e-mail or personal computer communication. The present invention can be applied even when supplied to the computer 100 by being loaded above.
[0052]
FIG. 6 is a diagram illustrating an example of a memory map of a storage medium. Reference numeral 9999 denotes an area in which directory information is stored, and indicates the positions of an area 9998 in which the subsequent installation program is stored and an area 9997 in which the automatic printing environment construction program is stored. An area 9998 stores an installation program. For example, the storage medium is provided in the server computer 340. That is, the storage medium corresponds to, for example, the HD 111 or the FD 112 of the computer 100 in FIG. Reference numeral 9997 denotes an area in which the automatic printing environment construction program of the embodiment is stored. When the program of the present invention is installed in the computer 100, first, the installation program stored in the area 9998 storing the installation program is loaded into the system and executed by the CPU 101. Next, the installation program executed by the CPU 101 reads the program from the area 9997 storing the program, and stores the program on the hard disk 111.
[0053]
The present invention may be applied to a system or an integrated device including a plurality of devices (for example, a host computer, an interface device, a reader, and the like), or may be applied to a device including a single device.
[0054]
A storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to a system or an apparatus, and a computer (or CPU or MPU) of the system or apparatus stores the program code stored in the storage medium. It is needless to say that the object of the present invention can also be achieved by reading and executing.
[0055]
In this case, the program code itself read from the storage medium implements the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0056]
As a storage medium for supplying the program code, for example, a floppy (R) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, or the like is used. Can be.
[0057]
The functions of the above-described embodiments are implemented when the computer executes the readout program code, and the OS or the like running on the computer performs part of the actual processing based on the instructions of the program code. Alternatively, the functions of the above-described embodiments can be realized by performing the entire process.
[0058]
Further, after the program code read from the storage medium is written into a memory provided on 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. A 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 can also be realized by the processing.
[0059]
The present invention is also applicable to a case where the program is delivered from a storage medium storing a program code of software for realizing the functions of the above-described embodiments to a requester via a communication line such as the Internet communication. It goes without saying that it can be applied.
[0060]
According to the embodiments of the present application, when a new printing device is added, the setting for enabling the printing device to connect to the network can be automatically performed, and the printer setting in the network system can be automatically performed. Further, in combination with the printer driver automatic download function of the network system, there is an effect that printing can be performed from the client PC without requiring substantial user intervention.
[0061]
【The invention's effect】
As described above, according to the present invention, when a peripheral device is newly added, it is possible to determine whether or not the setting for enabling the peripheral device to connect to the network has been made.
[0062]
According to still another invention, setting of a peripheral device in a network system can be automatically performed according to the determination result.
[Brief description of the drawings]
FIG. 1 is a diagram showing an internal configuration of a computer to which an embodiment of the present invention can be applied.
FIG. 2 is a diagram illustrating an internal configuration of a printer included in the embodiment.
FIG. 3 is a diagram illustrating an example of an embodiment of a configuration of a network system.
FIG. 4 is a diagram illustrating an example of processing of an automatic printing environment construction program.
FIG. 5 is a flowchart illustrating an example of a mechanism for searching for a newly connected printing apparatus.
FIG. 6 is a diagram showing an example of a storage medium memory map.
FIG. 7 is a diagram illustrating an example of a process for specifying a printer for which an IP address is not correctly set;
[Explanation of symbols]
100 client computers
200 printing device
300 Network
310 Print Client Computer
320 print client computer
330 print client computer
340 server computer
350 Peripherals Added

Claims (11)

周辺装置と通信可能な情報処理装置において、
前記周辺装置に対する探索要求を発行し、前記探索要求に対する応答に付加された前記周辺装置に固有の識別情報を取得することにより、前記ネットワーク上の周辺装置を探索する探索手段と、
所定のプロトコルに従い、周辺装置に対して設定情報並びに前記周辺装置に固有の識別情報の要求を前記ネットワークへ送信する送信処理を制御する送信制御手段と、
該送信処理において送信された前記設定情報並びに前記周辺装置に固有の識別情報の要求に対する応答を取得する取得手段と、
前記探索手段に探索された周辺装置の情報と、前記取得手段により取得された前記周辺装置からの応答とに基づいて、前記探索手段に探索された周辺装置が、前記所定のプロトコルに従い正しく設定されているか否かを判断する判断手段とを備えたことを特徴とする情報処理装置。
In an information processing device capable of communicating with a peripheral device,
A search unit for searching for a peripheral device on the network by issuing a search request for the peripheral device and acquiring identification information unique to the peripheral device added to a response to the search request;
According to a predetermined protocol, transmission control means for controlling a transmission process of transmitting setting information to the peripheral device and a request for identification information unique to the peripheral device to the network,
Acquisition means for acquiring a response to the request for identification information unique to the setting information and the peripheral device transmitted in the transmission processing,
Based on the information on the peripheral device searched by the search unit and the response from the peripheral device acquired by the acquisition unit, the peripheral device searched by the search unit is correctly set according to the predetermined protocol. An information processing apparatus, comprising: a determination unit configured to determine whether or not the information has been read.
前記判断手段は、前記探索手段が探索した周辺装置に固有の識別情報をキーにして、前記取得手段が取得した設定情報が含む固有の識別情報に対応する周辺装置の設定が適切か否かを判断することを特徴とする請求項1に記載の情報処理装置。The determination unit uses the identification information unique to the peripheral device searched by the search unit as a key, and determines whether the setting of the peripheral device corresponding to the unique identification information included in the setting information acquired by the acquisition unit is appropriate. The information processing apparatus according to claim 1, wherein the determination is performed. 前記送信制御手段は、所定のサブネットに属する前記周辺装置に対し、該周辺装置に設定されているIPアドレス情報の取得要求を送信する送信処理を制御し、
前記取得手段は、前記サブネットに属するように設定されている周辺装置から、前記周辺装置に固有の識別情報を含む前記取得要求に対する応答を取得し、
前記判断手段は、前記取得手段が取得した固有の識別情報を用いて、前記探索手段が探索した周辺装置に、正しくIPアドレスが設定されているか否かを判断することを特徴とする請求項1又は2に記載の情報処理装置。
The transmission control unit controls a transmission process of transmitting a request for acquiring IP address information set in the peripheral device to the peripheral device belonging to a predetermined subnet,
The acquisition unit acquires a response to the acquisition request including identification information unique to the peripheral device, from the peripheral device set to belong to the subnet,
2. The apparatus according to claim 1, wherein the determining unit determines whether an IP address is correctly set in the peripheral device searched by the searching unit using the unique identification information obtained by the obtaining unit. Or the information processing device according to 2.
前記判断手段は、前記探索手段が探索した所定のサブネットに周辺装置が属するように前記周辺装置が設定されている場合には、前記周辺装置が正しく設定されていると判断することを特徴とする請求項1乃至3のいずれかに記載の情報処理装置。When the peripheral device is set such that the peripheral device belongs to a predetermined subnet searched by the search unit, the determining unit determines that the peripheral device is correctly set. The information processing device according to claim 1. 前記判断手段により、正しく設定されていないと判断された周辺装置を自動的に前記所定のプロトコルにて通信可能に設定する設定情報をさらに備えたことを特徴とする請求項1乃至4のいずれかに記載の情報処理装置。5. The apparatus according to claim 1, further comprising setting information for automatically setting a peripheral device determined to be incorrectly set by the determination unit to be communicable according to the predetermined protocol. 6. An information processing apparatus according to claim 1. 周辺装置と通信可能な情報処理装置における方法において、
前記周辺装置に対する探索要求を発行し、前記探索要求に対する応答に付加された前記周辺装置に固有の識別情報を取得することにより、前記ネットワーク上の周辺装置を探索する探索工程と、
所定のプロトコルに従い、周辺装置に対して設定情報並びに前記周辺装置に固有の識別情報の要求を前記ネットワークへ送信する送信処理を制御する送信制御工程と、
該送信処理において送信された前記設定情報並びに前記周辺装置に固有の識別情報の要求に対する応答を取得する取得工程と、
前記探索工程にて探索された周辺装置の情報と、前記取得工程により取得された前記周辺装置からの応答とに基づいて、前記探索工程に探索された周辺装置が、前記所定のプロトコルに従い正しく設定されているか否かを判断する判断工程とを備えたことを特徴とする情報処理方法。
In a method in an information processing device capable of communicating with a peripheral device,
A search step of issuing a search request to the peripheral device and acquiring a unique identification information of the peripheral device added to a response to the search request to search for a peripheral device on the network;
According to a predetermined protocol, a transmission control step of controlling a transmission process of transmitting setting information to a peripheral device and a request for identification information unique to the peripheral device to the network,
An acquisition step of acquiring a response to the setting information transmitted in the transmission processing and a request for identification information unique to the peripheral device;
Based on the information on the peripheral device searched in the search step and the response from the peripheral device obtained in the obtaining step, the peripheral device searched in the search step is set correctly according to the predetermined protocol. A determining step of determining whether or not the information processing has been performed.
前記判断工程では、前記探索工程で探索された周辺装置に固有の識別情報をキーにして、前記取得工程で取得された設定情報が含む固有の識別情報に対応する周辺装置の設定が適切か否かを判断することを特徴とする請求項6に記載の情報処理方法。In the determining step, using the identification information unique to the peripheral device searched in the search step as a key, the setting of the peripheral device corresponding to the unique identification information included in the setting information acquired in the acquisition step is appropriate. 7. The information processing method according to claim 6, wherein it is determined whether or not the information processing is performed. 前記送信制御工程では、所定のサブネットに属する前記周辺装置に対し、該周辺装置に設定されているIPアドレス情報の取得要求の送信を制御し、
前記取得工程では、前記サブネットに属するように設定されている周辺装置から、前記周辺装置に固有の識別情報を含む前記取得要求に対する応答を取得し、
前記判断工程では、前記取得工程で取得された固有の識別情報を用いて、前記探索工程が探索した周辺装置に、正しくIPアドレスが設定されているか否かを判断することを特徴とする請求項6又は7に記載の情報処理方法。
In the transmission control step, for the peripheral device belonging to a predetermined subnet, controlling transmission of an acquisition request for IP address information set in the peripheral device,
In the obtaining step, from a peripheral device set to belong to the subnet, obtain a response to the obtaining request including identification information unique to the peripheral device,
In the determining step, it is determined whether an IP address is correctly set to the peripheral device searched in the searching step, using the unique identification information acquired in the acquiring step. 8. The information processing method according to 6 or 7.
前記判断工程では、前記探索工程で探索された所定のサブネットに周辺装置が属するように前記周辺装置が設定されている場合には、前記周辺装置が正しく設定されていると判断することを特徴とする請求項6乃至8のいずれかに記載の情報処理方法。In the determining step, when the peripheral device is set so that the peripheral device belongs to the predetermined subnet searched in the search step, it is determined that the peripheral device is correctly set. The information processing method according to any one of claims 6 to 8. 前記判断工程により、正しく設定されていないと判断された周辺装置を自動的に前記所定のプロトコルにて通信可能に設定する設定工程をさらに備えたことを特徴とする請求項6乃至9のいずれかに記載の情報処理方法。10. The apparatus according to claim 6, further comprising a setting step of automatically setting a peripheral device determined to be incorrectly set in the determining step to be communicable according to the predetermined protocol. An information processing method according to claim 1. 周辺装置と通信可能な情報処理装置において実行される制御プログラムにおいて、
前記周辺装置に対する探索要求を発行し、前記探索要求に対する応答に付加された前記周辺装置を一意に識別可能な識別情報を取得することにより、前記ネットワーク上の周辺装置を探索する探索工程と、
所定のプロトコルに従い、周辺装置に対して設定情報並びに前記周辺装置に固有の識別情報の要求を前記ネットワークへ送信する送信処理を制御する送信制御工程と、
該送信処理において送信された前記設定情報並びに前記周辺装置に固有の識別情報の要求に対する応答を取得する取得工程と、
前記探索工程にて探索された周辺装置の情報と、前記取得工程により取得された前記周辺装置からの応答とに基づいて、前記探索工程に探索された周辺装置が、前記所定のプロトコルに従い正しく設定されているか否かを判断する判断工程とを前記情報処理装置に実行させることを特徴とする制御プログラム。
In a control program executed in an information processing device capable of communicating with a peripheral device,
A search step of searching for a peripheral device on the network by issuing a search request to the peripheral device and acquiring identification information uniquely identifying the peripheral device added to a response to the search request,
According to a predetermined protocol, a transmission control step of controlling a transmission process of transmitting setting information to a peripheral device and a request for identification information unique to the peripheral device to the network,
An acquisition step of acquiring a response to the setting information transmitted in the transmission processing and a request for identification information unique to the peripheral device;
Based on the information on the peripheral device searched in the search step and the response from the peripheral device obtained in the obtaining step, the peripheral device searched in the search step is set correctly according to the predetermined protocol. A control step of causing the information processing apparatus to execute a determination step of determining whether the information processing has been performed.
JP2002168440A 2002-06-10 2002-06-10 Information processing device, information processing method and control program Withdrawn JP2004013662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002168440A JP2004013662A (en) 2002-06-10 2002-06-10 Information processing device, information processing method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002168440A JP2004013662A (en) 2002-06-10 2002-06-10 Information processing device, information processing method and control program

Publications (1)

Publication Number Publication Date
JP2004013662A true JP2004013662A (en) 2004-01-15

Family

ID=30435356

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002168440A Withdrawn JP2004013662A (en) 2002-06-10 2002-06-10 Information processing device, information processing method and control program

Country Status (1)

Country Link
JP (1) JP2004013662A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005216079A (en) * 2004-01-30 2005-08-11 Fuji Xerox Co Ltd Information processor, information processing system, and method and program for device setting information management
JP2007133509A (en) * 2005-11-08 2007-05-31 Canon Inc Device management system, device management method, computer program, and computer-readable storage medium
JP2007293664A (en) * 2006-04-26 2007-11-08 Murata Mach Ltd Information processor, image formation apparatus, program, and recording medium
JP2008152399A (en) * 2006-12-14 2008-07-03 Canon Inc License management system and control method therefor, and image processing apparatus and control method therefor
US7796588B2 (en) 2004-07-27 2010-09-14 Canon Kabushiki Kaisha Information processing device, control method thereof, and program
US7886030B2 (en) 2006-10-30 2011-02-08 Brother Kogyo Kabushiki Kaisha Method to configure a network device, service providing system, service providing device, and computer usable medium therefor
JP2011070610A (en) * 2009-09-28 2011-04-07 Brother Industries Ltd Control device and computer program
JP2011209889A (en) * 2010-03-29 2011-10-20 Brother Industries Ltd Communication apparatus and computer program
JP2016224731A (en) * 2015-05-29 2016-12-28 キヤノン株式会社 Information processing apparatus, information processing method, and computer program
CN112449003A (en) * 2020-10-19 2021-03-05 北京三快在线科技有限公司 Printing equipment network communication connection method and device and electronic equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005216079A (en) * 2004-01-30 2005-08-11 Fuji Xerox Co Ltd Information processor, information processing system, and method and program for device setting information management
US7796588B2 (en) 2004-07-27 2010-09-14 Canon Kabushiki Kaisha Information processing device, control method thereof, and program
JP2007133509A (en) * 2005-11-08 2007-05-31 Canon Inc Device management system, device management method, computer program, and computer-readable storage medium
JP2007293664A (en) * 2006-04-26 2007-11-08 Murata Mach Ltd Information processor, image formation apparatus, program, and recording medium
US7886030B2 (en) 2006-10-30 2011-02-08 Brother Kogyo Kabushiki Kaisha Method to configure a network device, service providing system, service providing device, and computer usable medium therefor
US8079090B2 (en) 2006-12-14 2011-12-13 Canon Kabushiki Kaisha License management system, control method thereof, image processing apparatus, and control method thereof
JP2008152399A (en) * 2006-12-14 2008-07-03 Canon Inc License management system and control method therefor, and image processing apparatus and control method therefor
JP2011070610A (en) * 2009-09-28 2011-04-07 Brother Industries Ltd Control device and computer program
US8867067B2 (en) 2009-09-28 2014-10-21 Brother Kogyo Kabushiki Kaisha Controlling device and computer program for controlling device
JP2011209889A (en) * 2010-03-29 2011-10-20 Brother Industries Ltd Communication apparatus and computer program
US8886776B2 (en) 2010-03-29 2014-11-11 Brother Kogyo Kabushiki Kaisha Communication apparatus and storing medium
JP2016224731A (en) * 2015-05-29 2016-12-28 キヤノン株式会社 Information processing apparatus, information processing method, and computer program
CN112449003A (en) * 2020-10-19 2021-03-05 北京三快在线科技有限公司 Printing equipment network communication connection method and device and electronic equipment

Similar Documents

Publication Publication Date Title
EP0952513B1 (en) Automatic configuration of a network printer
US8230049B2 (en) Information processing apparatus, information processing apparatus control method, and storage medium storing computer program
US7619765B2 (en) Client server system, information processing apparatus and control method therefor, and program for executing the control method
JP4464029B2 (en) Information processing method, control program, information processing device, peripheral device, response method, proxy response device, and network system
JP3740403B2 (en) Printing system, printing control apparatus, information processing method, control program
JP5300562B2 (en) Information processing apparatus, information processing method, and program
US20090059272A1 (en) Printer auto installation
JP5321929B2 (en) Universal device driver, device control program, information processing apparatus, server apparatus, and method
JP2008140243A (en) Information processor, information processing method and print control system
JP2007019614A (en) Terminal and program
JP2000330742A (en) Network printer system
JP4869033B2 (en) Network device, network device management apparatus, network device control method, network device management method, program, and storage medium
JP2004013662A (en) Information processing device, information processing method and control program
JP2006067480A (en) Network device management system, its control method, and program
JP2009069873A (en) Network equipment system, network equipment, program, information processing method
JP5581470B2 (en) Device sharing system, device sharing server, device sharing client, and device sharing method
JP2005258721A (en) Method for acquiring device configuration information and information processor
JP2004364190A (en) Communication apparatus and program for realizing the apparatus
KR20080048401A (en) The method and apparatus for configure network automatically
JP2003264556A (en) Device and program for setting address
JP4378372B2 (en) Information processing method, information processing apparatus, and storage medium
JP2002287931A (en) Information processor, print control device, pull-print system, information processing method, data processing method, storage medium and program
JP4243524B2 (en) Management device, managed device, setting value application method, setting value application program, and recording medium
JP2004074458A (en) Network printer, client terminal and recording medium for network communication system
JP6061730B2 (en) Management server device, client device, information processing method, and program

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906