JP3743419B2 - Setting system, electronic device, and program - Google Patents

Setting system, electronic device, and program Download PDF

Info

Publication number
JP3743419B2
JP3743419B2 JP2002333269A JP2002333269A JP3743419B2 JP 3743419 B2 JP3743419 B2 JP 3743419B2 JP 2002333269 A JP2002333269 A JP 2002333269A JP 2002333269 A JP2002333269 A JP 2002333269A JP 3743419 B2 JP3743419 B2 JP 3743419B2
Authority
JP
Japan
Prior art keywords
model
printer
electronic device
setting
operating
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
JP2002333269A
Other languages
Japanese (ja)
Other versions
JP2004171093A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2002333269A priority Critical patent/JP3743419B2/en
Priority to US10/626,548 priority patent/US7392299B2/en
Publication of JP2004171093A publication Critical patent/JP2004171093A/en
Application granted granted Critical
Publication of JP3743419B2 publication Critical patent/JP3743419B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークに接続された電子機器の設定をモデル機器として稼動している電子機器の設定に基づいて行う設定システム、当該設定システムを構成する電子機器、及び当該電子機器としてコンピュータを機能させるプログラムに関し、特に、一つのネットワーク内にモデル機器として稼動している電子機器が存在するようにし得る設定システム、電子機器、及びプログラムに関する。
【0002】
【従来の技術】
従来からプリンタ(電子機器の一例)とパーソナルコンピュータなどとを通信可能に接続し、プリンタの設定内容(例えば、メールサーバやDNSサーバのアクセス先に関する情報など)をパーソナルコンピュータで変更し、この変更後の設定内容に基づいてプリンタを制御するプリンタの遠隔操作に関する技術が提供されている(例えば、特開平11−203087号公報参照。)。
【0003】
【特許文献】
特開平11−203087号公報
【0004】
【発明が解決しようとする課題】
また、特開平11−203087号公報に記載されているように、企業などでは、同一のネットワーク内に複数のプリンタを接続して利用することが一般に行われる傾向にある。このような同一のネットワーク内に複数のプリンタを接続する環境においては(特に、複数のプリンタを管理する管理者が1人である場合は)、夫々のプリンタの設定内容を同じにすることが想定され、夫々のプリンタに対して設定を行ったのでは管理者の負担が大きいことから、プリンタが一のプリンタの設定内容を取得し、取得した設定内容に基づいて自機器の設定を行う技術が要望されている。尚、以下において、適宜、自機器の設定内容を提供する側のプリンタを、モデルプリンタとして稼動しているプリンタと言うことにする。
【0005】
ところが、モデルプリンタとして稼動しているプリンタを特定のプリンタに限定してしまうと、例えば、モデルプリンタとして稼動しているプリンタがネットワークから一時的に取り外された場合や電源が切られた場合などでは、ネットワーク上にモデルプリンタとして稼動しているプリンタが存在しなくなり、プリンタはモデルプリンタとして稼動しているプリンタからその設定内容を取得できなくなるという問題が生じる。
【0006】
そこで、本発明は、一つのネットワーク内にモデル機器として稼動している電子機器が存在するようにし得る設定システム、電子機器、及びプログラムを提供することを目的とする。
【0007】
【課題を解決するための手段】
請求項1に記載の設定システムは、モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムであって、前記電子機器は、自己の電子機器がモデル機器として稼動していない際に、モデル機器として電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるため、前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段と、前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段と、前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段と、を備えたことを特徴とする。
【0008】
請求項2に記載の設定システムは、前記通常設定手段又は前記優先順位設定手段により自己をモデル機器として稼動させる以前にモデル機器として稼動していた電子機器が稼働を再開したとき、優先順位設定手段が、自己をモデル機器として稼動しないようにすると共に、前記以前にモデル機器として稼動していた電子機器をモデル機器として稼動させるようにすることを特徴とする。
【0009】
請求項3に記載の設定システムは、前記電子機器が、優先順位設定手段によって自己がモデル機器として稼動しないようになったとき、自機器の設定内容を前記以前にモデル機器として稼動していた電子機器に送信する送信手段をさらに備えており、前記以前にモデル機器として稼動していた電子機器は、自機器の設定内容を前記送信手段によって送信された設定内容に基づいて更新することを特徴とする。
【0010】
請求項4に記載の電子機器は、モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムを構成する電 子機器であって、前記電子機器は、自己の電子機器がモデル機器として稼動していない際に、モデル機器としての電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるために前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段と、前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段と、前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段と、を備えたことを特徴とする電子機器。
【0011】
請求項5に記載のプログラムは、モデル機器として稼動しているコンピュータに対して設定内容を送信するよう要求する要求機能及び他のコンピュータからの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数のコンピュータがネットワークを介して通信可能に接続されており、前記モデル機器として稼動しているコンピュータの設定内容に基づいて、前記モデル機器として稼動していないコンピュータの設定を行う設定システムを構成するコンピュータを、自己の電子機器がモデル機器として稼動していない際に、モデル機器としての電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるために前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段、前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段、前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段、として機能させることを特徴とするプログラム。
【0012】
請求項1、請求項、請求項によると、モデル機器として稼動している電子機器(或いはコンピュータ)から当該電子機器の設定内容を取得することができないときは、通常設定手段が自己をモデル機器として稼動させる。また、モデル機器として稼動している電子機器(或いはコンピュータ)から当該電子機器の設定内容を取得することができるときは、優先順位設定手段が当該電子機器及び自己の優先順位に基づいていずれかの電子機器をモデル機器として稼動させる。このため、ネットワーク上にモデル機器として稼動している電子機器(或いはコンピュータ)が存在しなくなるという状況を防ぐことが可能になる。さらに、優先順位設定手段は、新たにモデル機器となるための電子機器の優先順位が、モデル機器の優先順位より高いか等しい場合に、新たにモデル機器となるための電子機器をモデル機器として稼働させるので、各電子機器の優先順位が High 又は Low 2 つですみ、モデル機器として稼働させるための優先順位の設定が容易である。
【0013】
請求項によると、ネットワーク上に2台のモデル機器が存在する状態を解消することができるとともに、以前にモデル機器として稼動していた電子機器をモデル機器として稼動させるため、主にモデル機器として稼動する電子機器が存在するので、システムの管理者は電子機器の設定に関する管理が容易になる。
【0014】
請求項によると、以前にモデル機器として稼動していた電子機器がネットワーク上に存在しない間(例えば、ネットワークから外されていた間や、電源が切られていた間)に管理者によって設定された電子機器の設定内容を、管理者はモデル機器として稼動することとなった電子機器に再度行う必要がなく、管理者の負担が軽減される。
【0015】
また、請求項によると、ネットワーク上に2台のモデル機器が稼動することがない。また、以前にモデル機器として稼動していた電子機器をモデル機器として稼動させない(現在モデル機器として稼動している電子機器を継続してモデル機器として稼動させる)ため、モデル機器として稼動する電子機器が頻繁に切り換わることがなくなって、システム全体の処理負荷が増大する状況を防ぐことができる。
【0016】
尚、請求項に記載のプログラムは、CD−ROM(Compact Disc Read OnlyMemory)などのリムーバブル型記録媒体などに記録して配布可能である他、インターネットなどの通信ネットワークを介して配布可能である。
【0017】
以下、本発明の好適な実施の形態について図面を参照しつつ説明する。
【0018】
まず、本発明の実施の形態における設定システムについて図1及び図2を参照しつつ説明する。図1は、設定システムのシステム構成の一例を示す図である。図2は、図1の設定システムを構成する装置の装置構成の一例を示す図である。
【0019】
設定システム1は、図1に示すように、プリンタ2:2a、2b、2c、2dと、パーソナルコンピュータ3:3a、3b、3cと、ルータ4とを備えており、夫々LAN(Local Area Network)5のLANケーブルに接続されている。この設定システム1のプリンタ2及びパーソナルコンピュータ3の各電子機器は、LAN5を介して互いに通信可能になっており、また、ルータ4を介して設定システム1外の電子機器とデータの送受信を行うことができるようになっている。但し、ここでは、一の電子機器の設定内容に基づいて他の電子機器が自機器の設定を行う電子機器が、プリンタである場合を例に挙げて説明する。尚、他のプリンタの要求に応じて自機器の設定内容を、要求元の他のプリンタに提供するプリンタをモデルプリンタと言うことにする。
【0020】
但し、設定システム1のプリンタ2やパーソナルコンピュータ3は、SNMP(Simple Network Management Protocol)の対応機器である。ここで、SNMPとは、IETF(Internet Engineering Task Protocol)で標準化されたIP(Internet Protocol)ネットワーク環境での管理プロトコルである。このSNMPでは、管理する側のSNMPマネージャと管理される側のSNMPエージェントとでMIB(Management Information Base)と呼ばれる管理情報を交換することで、電子機器の管理が行われる。
【0021】
図1のプリンタ2:2a、2b、2c、2dは、図2(a)に示すように、CPU21と、ROM22と、RAM23と、NVRAM24と、操作パネル25と、印字部26と、インターフェース27とを備えている。プリンタ2a、2b、2c、2dは、モデルプリンタとして稼動しているプリンタに対して当該プリンタの設定内容を送信するように要求する要求機能、及び他のプリンタから前記要求があった場合に自機器の設定内容を送信する応答機能を備えており、例えば、設定内容の送信要求及び設定内容の送信は、夫々、SNMP GET及びSNMP REPLYにより実現することができる。但し、モデルプリンタとして稼動していないプリンタが、要求機能を利用してモデルプリンタとして稼動しているプリンタに対して設定内容の送信要求を行う。また、モデルプリンタとして稼動しているプリンタが、応答機能を利用して、設定内容の送信要求に応答して自機器の設定内容を要求元に送信する。
【0022】
CPU(Central Processing Unit)21は、各種演算処理を行うものであって、中央演算処理装置として機能する。本実施の形態におけるCPU21は、LAN5上での動作の開始時(電源投入されており、かつ、インターフェース27を介してLAN5に接続されたことが検出された時)などに、ROM22から後述する設定処理プログラムを読み出し、読み出した設定処理プログラムに沿って設定処理(図3及び図4参照)を実行する。
【0023】
ROM(Read Only Memory)22は、読み出し専用の記憶装置であって、プリンタ2の主記憶装置の一部を構成するものである。このROM22には、システムプログラムや、図3及び図4を参照しつつ後述するモデルプリンタとして稼動しているプリンタの設定内容に基づいて自機器の設定を行う設定処理をプリンタに実行させるための設定処理プログラム(この設定処理プログラムには、モデルプリンタとして稼動しているプリンタがLAN5上に存在するように制御するルーチンが含まれている。)など、各種プログラムが格納されている。RAM(Random Access Memory)23は、読み出し・書き込み可能な揮発性記憶装置であって、ROM22と同様にプリンタ2の主記憶装置の一部を構成するものである。RAM23には、データ処理の中間結果を格納するためのワークエリアなどがある。
【0024】
NVRAM(Non Volatile Random Access Memory)24は、読み出し・書き込み可能であって、電源オフ時にも記憶したデータを記憶し続けることが可能な記憶装置である。また、NVRAM24には、モデルフラグの値(Enable又はDisable)、自動設定フラグの値(Enable又はDisable)、優先度の値(High又はLow)が格納されている。また、NVRAM24には、設定内容(使用プロトコル、使用権限(セキュリティ)、各種使用サーバの登録、言語や時計などに関する情報)が格納されている。この設定内容が、モデルプリンタとして稼動しているプリンタから他のプリンタへ提供される。
【0025】
モデルフラグは、自機器がモデルプリンタとして稼動しているプリンタであるか否かを示すためのフラグである。モデルフラグの値が"Enable"であれば、モデルプリンタとして稼動しているプリンタである。一方、モデルフラグの値が"Disable"であれば、モデルプリンタとして稼動しているプリンタ以外のプリンタである。
【0026】
自動設定フラグは、モデルプリンタとして稼動しているプリンタの設定内容に基づいて自機器の設定を行うか否かを示すためのフラグである。自動設定フラグの値が"Enable"であれば、モデルプリンタとして稼動しているプリンタの設定内容に基づいて自機器の設定を行う。一方、自動設定フラグの値が"Disable"であれば、モデルプリンタとして稼動しているプリンタの設定内容に基づいて自機器の設定を行わない。
【0027】
優先度は、モデルプリンタとして稼動しているプリンタがLAN5上に2台以上存在する状況を防ぐために利用されるものである。詳しくは、優先度は、現在モデルプリンタとして稼動しているプリンタ(以下、適宜、現モデルプリンタという。)がモデルプリンタとして稼動する前に、モデルプリンタとして稼動していたプリンタ(以下、適宜、元モデルプリンタという。)がLAN5に再び参加するようになった場合に、現モデルプリンタと元モデルプリンタとの何れをモデルプリンタとして稼動するプリンタとするかを決定するために利用されるものである。
【0028】
現モデルプリンタの優先度が"High"であり、元モデルプリンタの優先度が"High"及び"Low"である場合及び現モデルプリンタの優先度が"Low"であり、元モデルプリンタの優先度が"Low"である場合、つまり、現モデルプリンタの優先度が元モデルプリンタの優先度より高いか等しい場合、モデルプリンタとして稼動するプリンタを現モデルプリンタとする(現モデルプリンタを継続してモデルプリンタとして稼動させ、元モデルプリンタをモデルプリンタとして稼動させないようにする)。
【0029】
また、現モデルプリンタの優先度が"Low"であり、元モデルプリンタの優先度がHigh"の場合、つまり現モデルプリンタの優先度が元モデルプリンタの優先度より低い場合、モデルプリンタとして稼動するプリンタを元モデルプリンタとする(現モデルプリンタをモデルプリンタとして稼動しないようにし、元モデルプリンタをモデルプリンタとして稼動するようにする)。
【0030】
操作パネル25は、ディスプレイなどにより情報を出力して表示する表示装置と、外部からの入力操作を行う入力装置とを備えており、例えば、液晶表示器やプラズマ表示器などにより構成され、表示面に入力装置としての操作部を構成するタッチパネルなどを備えるものである。印字部26は、モノクロ又はカラーによる文字又は画像の印刷機能を提供するものである。インターフェース27は、プリンタ2をLAN5に接続し、プリンタ2とLAN5の先に接続されているパーソナルコンピュータ3などの各装置との間の通信を可能にするものである。
【0031】
上述したプリンタ2は、ユーザによって自動設定フラグ及び優先度の値を変更できるように構成されている。例えば、操作パネル25の表示部に、"プリンタの設定をモデルプリンタの設定内容に基づいて自動的に行いますか"とこれに対応するチェックボックスとを含んだ自動設定フラグ設定画面を表示する(自動設定フラグに対応)。そして、ユーザは、操作パネル25の操作部を利用してチェックボックスにチェックを入れるかどうかによって自動設定フラグの値(Enable又はDisable)の設定/変更を行う。但し、自動設定フラグ設定画面は操作パネル25の操作部に対するユーザの所定の操作により操作パネル25の表示部に表示される。
【0032】
また、操作パネル25の表示部に、"モデルプリンタとしての稼動を維持するために優先度を高くしますか"とこれに対応するチェックボックスとを含む優先度設定画面を表示する(優先度に対応)。そして、ユーザは、操作パネル25の操作部を利用してチェックボックスにチェックを入れることによって優先度を"High"にし、チェックを外すことによって優先度を"Low"にする。但し、優先度設定画面は、モデルプリンタとして稼動しているプリンタにおいて、操作パネル25の操作部に対するユーザの所定の操作により操作パネル25の表示部に表示される。
【0033】
図1のパーソナルコンピュータ3:3a、3b、3cは、図2(b)に示すように、CPU31と、ROM32と、RAM33と、HDD34と、操作部35と、表示部36と、インターフェース37とを備えている。
【0034】
CPU31は、各種演算及び処理を行うものであって、中央演算処理装置として機能する。ROM32は、読み出し専用の記憶装置であって、パーソナルコンピュータ3の主記憶装置の一部を構成するものである。このROM32には、システムプログラムなど、各種プログラムが格納されている。RAM33は、読み出し・書き込み可能な揮発性記憶装置であって、ROM32と同様にパーソナルコンピュータ3の主記憶装置の一部を構成するものである。そして、RAM33には、データの中間結果を格納するためのワークエリアなどがある。HDD(Hard Disk Drive)34は、読み出し・書き込み可能な記憶装置(ハードディスク)及びその読取装置である。
【0035】
操作部35は、パーソナルコンピュータ3の入力装置を構成するものである。この操作部35は、所定数の入力キーを並べてなるキーボードやマウスなどのポインティングデバイスなどで構成されている。表示部36は、ディスプレイなどにより情報を出力して表示する表示装置であり、例えば、液晶表示器やプラズマ表示器などにより構成される。尚、液晶表示器には、STN方式やDSTN方式などの単純マトリックス方式のものや、TFTなどのアクティブマトリックス方式のものなどがある。インターフェース37は、パーソナルコンピュータ3をLAN5に接続し、パーソナルコンピュータ3とLAN5の先に接続されているプリンタ2などの各電子機器との間の通信を可能にするものである。
【0036】
以下、設定システム1において行われる設定処理について図3及び図4を参照しつつ説明する。図3及び図4は、設定システム1を構成するプリンタが行う設定処理の動作フローを示すフローチャートである。図3及び図4の設定処理の実行は、プリンタ2がLAN5上で動作を開始した時(電源投入されており、且つ、インターフェース27を介してLAN5に接続されたことが検出された時)などに、プリンタ2のCPU21によってROM22から上述した設定処理プログラムが読み出されて開始される。
【0037】
ステップS101において、CPU21は、NVRAM24に記憶されているモデルフラグが"Enable"であるか否かを判定する。モデルフラグが"Enable"であると判定された場合には(S101:YES)、ステップS102の処理へ移行する。一方、モデルフラグが"Enable"でない、つまり、"Disable"であると判定された場合には(S101:NO)、ステップS103の処理へ移行する。
【0038】
ステップS102において、プリンタ2は、CPU21に制御されて、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタ(自機器)がLAN5に参加したことをLAN5に参加している他のプリンタに通知するために、モデルプリンタ参加の通知をブロードキャストする。そして、ステップS103の処理へ移行する。但し、LAN5に参加している他のプリンタも、図3及び図4の設定処理を実行しており、自機器が実行している設定処理における後述するステップS108の判定ステップにおいて、ステップS102でブロードキャストされたモデルプリンタ参加の通知を受信したか否かを判定することになる。
【0039】
つまり、上述したステップS101及びステップS102の処理により、前回モデルプリンタとしてLAN5に参加していたプリンタ(以前にモデルプリンタとして稼動していたプリンタ)2が再びLAN5に参加すると、その旨がLAN5に参加している他のプリンタに通知されることになる。但し、モデルプリンタとしてLAN5に参加していなかったプリンタ2がLAN5に再び参加しても(S101:NO)、その旨の通知が行われない。
【0040】
ステップS103において、CPU21は、NVRAM24に記憶されているモデルフラグが"Disable"であるか否かを判定する。モデルフラグが"Disable"であると判定された場合には(S103:YES)、ステップS104の処理へ移行する。一方、モデルフラグが"Disable"でない、つまり、"Enable"であると判定された場合には(S103:NO)、ステップS108の処理へ移行する。
【0041】
ステップS103の判定ステップでモデルフラグが"Disable"である、つまりモデルプリンタとして稼動していないと判定された場合(S103:YES)、ステップS104において、プリンタ2は、CPU21に制御されて、LAN5にモデルプリンタとして稼動しているプリンタの存在を確認する処理を行い、ステップS105の処理へ移行する。このステップS104の処理は、例えば、LAN5に参加している全てのプリンタ2に対してモデルフラグの送信を要求し(SNMP GET)、これに対する応答(SNMP REPLY)により取得したモデルフラグの値を利用することにより行うことができる。或いは、モデルプリンタとして稼動しているプリンタのIPアドレスを利用して、pingコマンドを実行して、それに対する応答があるか否かにより行うことができる。
【0042】
ステップS105において、CPU21は、ステップS104の確認結果に基づいて、LAN5にモデルプリンタとして稼動しているプリンタが存在しているか否かを判定する。モデルプリンタが存在していると判定された場合には(S105:YES)、ステップS108の処理へ移行する。一方、LAN5にモデルプリンタが存在していないと判定された場合には(S105:NO)、ステップS106の処理へ移行する。
【0043】
尚、ステップS103〜ステップS105の処理が、プリンタ2がモデルプリンタとして稼動していない際に、要求機能に基づきモデルプリンタとして稼動しているプリンタから当該プリンタの設定内容を取得することができるか否かを判断する処理に相当する
【0044】
ステップS106において、CPU21は、NVRAM24に記憶されているモデルフラグの値を"Disable"から"Enable"にし、モデルプリンタとして稼動するようにする。そして、ステップS107の処理へ移行する。尚、ステップS106の処理が、要求機能に基づきモデルプリンタとして稼動しているプリンタから当該プリンタの設定内容を取得することができないと判断された場合に(S105:NO)、自己をモデルプリンタとして稼動させ(通常設定手段)、応答機能に基づき他のプリンタからの要求に応じて自機器の設定内容を送信するようにする処理に相当する
【0045】
尚、モデルプリンタと稼動するようになったプリンタにおいて、ユーザは適宜上述した優先度設定画面を呼び出すことによって、当該プリンタの優先度を"Low"から"High"にし、或いは、"High"から"Low"にする。
【0046】
ステップS107において、プリンタ2は、CPU21に制御されて、モデルプリンタ変更の通知(自機器がモデルプリンタとして稼動する旨の通知)をブロードキャストする(SNMP TRAPの拡張)。そして、ステップS108の処理へ移行する。このステップS107の処理は、自機器がモデルプリンタとして稼動するようになった旨をLAN5に参加しているプリンタに通知する処理に相当する(通知手段)。尚、ブロードキャストされるデータは、SNMP TRAPに自機器がモデルプリンタとし稼動する旨の内容や自機器のIPアドレスなどを追加したものである。但し、LAN5に参加している他のプリンタも、図3及び図4の設定処理を実行しており、自機器が実行している設定処理の後述するステップS122の判定ステップで、ステップS107でブロードキャストされたモデルプリンタ変更の通知を受信したか否かを判定することになる。
【0047】
ステップS103〜ステップS106の処理によって、LAN5にモデルプリンタとして稼動しているプリンタが存在していないことを検知した、モデルプリンタとして稼動していないプリンタ2が、以降モデルプリンタとして稼動することになる。そして、ステップS107の処理によって、モデルプリンタとして稼動するようになったプリンタ2は、LAN5に参加している他のプリンタにその旨(自機器がモデルプリンタとして稼動するようになった旨)を通知する。
【0048】
ステップS108において、CPU21は、インターフェース27を介してモデルプリンタ参加の通知(前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタが再びLAN5に参加すると、図3及び図4の設定処理を開始し、開始した設定処理のステップS102でブロードキャストするモデルプリンタ参加の通知)を受信したか否かを判定する。モデルプリンタ参加の通知を受信したと判定された場合には(S108:YES)、ステップS109の処理へ移行する。一方、モデルプリンタ参加の通知を受信していないと判定された場合には(S108:NO)、ステップS116の処理へ移行する。
【0049】
ステップS109において、CPU21は、NVRAM24に記憶されているモデルフラグが"Enable"であるか否かを判定する。モデルフラグが"Enable"であると判定された場合には(S109:YES)、ステップS110の処理へ移行する。一方、モデルフラグが"Enable"でない、つまり、"Disable"であると判定された場合には(S109:NO)、ステップS116の処理へ移行する。
【0050】
つまり、上述したステップS108〜ステップS109の処理が、現在モデルプリンタとして稼動しているプリンタ2が、自身がモデルプリンタとして稼動する前にモデルプリンタとして稼動していたプリンタから当該プリンタの設定内容を要求機能に基づいて再び取得できるようになったか否かを判断する処理に相当する
【0051】
ステップS110において、プリンタ2は、CPU21に制御されて、ステップS109で受信したモデルプリンタ参加の通知を行ったプリンタに対して、優先度の値(High或いはLow)を送信するように要求し(SNMP GET)、ステップS111の処理へ移行する。尚、この要求には、優先度の送信要求を行ったプリンタ2のNVRAM24に記憶されている優先度(High又はLow)が含まれている。この要求に対して、モデルプリンタ参加の通知を行ったプリンタは、CPUに制御されて、自機器が実行している設定処理の後述するステップS116及びステップS117の処理によって自機器のNVRAMに記憶されている優先度の値(High又はLow)を送信する(SNMP REPLY)。
【0052】
ステップS111において、CPU21は、インターフェース27を介して、モデルプリンタ参加の通知を行ったプリンタからこのプリンタの優先度を受信する。そして、ステップS112の処理へ移行する。
【0053】
ステップS112において、CPU21は、自機器(現モデルプリンタ)のNVRAM24に記憶されている優先度よりモデルプリンタ参加の通知を行った相手側のプリンタ(元モデルプリンタ)の優先度が高いか否かを判定する。相手の優先度が高いと判定された場合には(S112:YES)、ステップS113の処理へ移行する。一方、相手の優先度が高いと判定されなかった場合には(S112:NO)、そのままモデルプリンタとして稼動しつづけ(優先順位設定手段)、ステップS116の処理へ移行する。
【0054】
ステップS113において、CPU21は、NVRAM24に記憶されているモデルフラグの値を"Enable"から"Disable"にし、モデルプリンタとして稼動しないようにするとともに、優先度が"High"の場合には"Low"にする(優先順位設定手段)。そして、ステップS114の処理へ移行する。
【0055】
上述したステップS110〜ステップS113の処理によって、モデルプリンタ参加の通知を受け取った、現在モデルプリンタとして稼動しているプリンタ2は、モデルプリンタ参加の通知を行ったプリンタに対して当該プリンタの優先度の送信を要求し、自機器の優先度よりモデルプリンタ参加の通知を行った相手側のプリンタの優先度が高い場合には、モデルフラグを"Enable"から"Disable"にして、モデルプリンタとして稼動しないようにするこの場合、相手側のプリンタ(モデルプリンタ参加の通知を行ったプリンタ)が以降モデルプリンタとして稼動することになる。
一方、自機器の優先度が相手側のプリンタの優先度より高いか等しい場合には、そのままモデルプリンタとして稼動し続ける。この場合、相手側のプリンタは、自機器が実行している設定処理の後述するステップS118及びステップS119の処理により、自機器をモデルプリンタとして稼動しないようにする。
【0056】
ステップS114において、プリンタ2は、CPU21に制御されて、モデルプリンタ参加の通知を行ったプリンタ(以降モデルプリンタとして稼動するプリンタ)に対して、自機器の設定内容を送信し(SNMP SET)、ステップS115の処理へ移行する。但し、モデルプリンタ参加の通知を行ったプリンタ2は、自機器が実行している設定処理の後述するステップS120の判定ステップにおいてステップS114で送信された設定内容を受信したか否かを判定することになる。
【0057】
上述したステップS114の処理が、自機器をモデルプリンタとして稼動しないようにした(S113)ときに、自機器の設定内容を以前にモデルプリンタとして稼動していたプリンタ(モデルプリンタ参加の通知を行ったプリンタ)に送信する処理に相当する(送信手段)。
【0058】
ステップS115において、プリンタ2は、CPU21に制御されて、モデルプリンタ変更の通知(自機器がモデルプリンタとして稼動しなくなった旨と、モデルプリンタ参加の通知を行ったプリンタが以降モデルプリンタとして稼動する旨とを含んでいる。)をブロードキャストする(SNMP TRAPの拡張)。そして、ステップS116の処理へ移行する。但し、LAN5に参加している他のプリンタ2は、自機器が実行している設定処理の後述するステップS122の判定ステップにおいてステップS115でブロードキャストされたモデルプリンタ変更の通知を受信したか否かを判定することになる。
【0059】
ステップS116において、CPU21は、インターフェース27を介して現在モデルプリンタとして稼動しているプリンタから優先度の送信要求(現在モデルプリンタとして稼動しているプリンタが実行している設定処理のステップS110で行った送信要求)を受信したか否かを判定する。優先度の送信要求を受信したと判定された場合には(S116:YES)、ステップS117の処理へ移行する。一方、優先度の送信要求を受信していないと判定された場合には(S116:NO)、ステップS120の処理へ移行する。尚、ステップS116で優先度の送信要求を受信するプリンタ2は、モデルプリンタ参加の通知をブロードキャストしたプリンタ、言い換えると、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタである。
【0060】
ステップS117において、プリンタ2は、CPU21に制御されて、NVRAM24に記憶されている優先度の値(High又はLow)を要求元(現在モデルプリンタとして稼動しているプリンタ)に対して送信する(SNMP REPLY)。そして、ステップS118の処理へ移行する。但し、現在モデルプリンタとして稼動しているプリンタは、自機器が実行している設定処理の上述したステップS111においてステップS117で送信された優先度を受信することになる。
【0061】
ステップS118において、CPU21は、自機器(モデルプリンタ参加の通知を行ったプリンタ:元モデルプリンタ)のNVRAM24に記憶されている優先度が現在モデルプリンタとして稼動している相手側のプリンタ(現モデルプリンタ)の優先度(当該優先度はステップS116で受信した優先度の送信要求に含まれている。)より高いか否かを判定する。自機器の方が高いと判定された場合には(S118:YES)、以降モデルプリンタとして稼動し(優先順位設定手段)、ステップS120の処理へ移行する。一方、自機器の方が高いと判定されなかった場合には(S118:NO)、ステップS119の処理へ移行する。尚、本実施の形態では、モデルプリンタとして稼動している状態で電源が切られ再度電源を入れられた場合やLAN5から外されて再びLAN5に接続された場合などにおいても、モデルフラグを"Enable"に保持する設計としている。
【0062】
ステップS119において、CPU21は、NVRAM24に記憶されているモデルフラグの値を"Enable"から"Disable"にし、モデルプリンタとして稼動しないようにするとともに、優先度が"High"の場合には"Low"にする(優先順位設定手段)。そして、ステップS120の処理へ移行する。
【0063】
上述したステップS118〜ステップS119の処理によって、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタ2は、自機器の優先度が現在モデルプリンタとして稼動している相手側のプリンタ(優先度の送信要求を行ったプリンタ)の優先度より高くない場合には、モデルフラグを"Enable"から"Disable"にして、モデルプリンタとならないようにする。この場合、現在モデルプリンタとして稼動しているプリンタが継続してモデルプリンタとして稼動することになる。
一方、自機器の優先度が相手側のプリンタの優先度より高い場合には、モデルフラグを"Enable"のままにして、以降モデルプリンタとして稼動させる。この場合、現在モデルプリンタとして稼動しているプリンタは、自機器が実行している設定処理の上述したステップS113の処理により、モデルプリンタとして稼動しないようにする。
【0064】
ステップS120において、CPU21は、優先度の送信要求を行ったプリンタ(自機器が実行している設定処理のステップS113でモデルプリンタとして稼動しなくなったプリンタ:以下、適宜、旧モデルプリンタという。)からインターフェース27を介して設定内容(旧モデルプリンタが実行している設定処理のステップS114で送信する設定内容)を受信したか否かを判定する。旧モデルプリンタから設定内容を受信したと判定された場合には(S120:YES)、ステップS121の処理へ移行する。一方、設定内容を受信していないと判定された場合には(S120:NO)、ステップS122の処理へ移行する。
【0065】
ステップS121において、CPU21は、NVRAM24に記憶されている設定内容をステップS120で受信した設定内容に更新する。これによって、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタ2が再びLAN5に参加し、自機器の優先度が旧モデルプリンタの優先度より高い場合に、NVRAM24に記憶されている設定内容が旧モデルプリンタの設定内容に更新される。
【0066】
ステップS122において、CPU21は、インターフェース27を介してモデルプリンタ変更の通知(モデルプリンタとして稼動するようになったプリンタが実行している設定処理のステップS107でブロードキャストするモデルプリンタ変更の通知、及びモデルプリンタとして稼動しなくなったプリンタが実行している設定処理のステップS115でブロードキャストするモデルプリンタ変更の通知のいずれか)を受信したか否かを判定する。モデルプリンタ変更の通知を受信したと判定された場合には(S122:YES)、ステップS123の処理へ移行する。一方、モデルプリンタ変更の通知を受信していないと判定された場合には(S122:NO)、ステップS124の処理へ移行する。
【0067】
ステップS123において、CPU21は、ステップS122で受信したモデルプリンタ変更の通知に基づいて、以降モデルプリンタとして稼動するプリンタのIPアドレスなどをNVRAM24に記憶する。そして、ステップS124の処理へ移行する。これによって、プリンタ2は、以降モデルプリンタとして稼動するプリンタを把握することができる。
【0068】
ステップS124において、CPU21は、NVRAM24に記憶されているモデルフラグが"Disable"であるか否かを判定する。モデルフラグが"Disable"であると判定された場合には(S124:YES)、ステップS125の処理へ移行する。一方、モデルフラグが"Disable"でない、つまり、"Enable"であると判定された場合には(S124:NO)、ステップS128の処理へ移行する。
【0069】
ステップS125において、CPU21は、NVRAM24に記憶されている自動設定フラグが"Enable"であるか否かを判定する。自動設定フラグが"Enable"であると判定された場合には(S125:YES)、ステップS126の処理へ移行する。一方、自動設定フラグが"Enable"でない、つまり、"Disable"であると判定された場合には(S125:NO)、ステップS128の処理へ移行する。
【0070】
ステップS126において、プリンタ2は、CPU21に制御されて、モデルプリンタとして稼動しているプリンタに対して、設定内容を送信するようにユニキャストにて要求する(SNMP GET)。そして、ステップS127の処理へ移行する。
【0071】
ステップS127において、CPU21は、インターフェース27を介してモデルプリンタとして稼動しているプリンタが送信する設定内容(モデルプリンタとして稼動しているプリンタが実行している設定処理の後述するステップS129で送信する設定内容)を受信し、受信した設定内容に基づいて自機器のNVRAM24に記憶されている設定内容を更新する。そして、ステップS128の処理へ移行する。
【0072】
つまり、モデルプリンタとして稼動しておらず(S124:YES)、モデルプリンタの設定内容に基づいて自機器の設定内容を更新する設定がなされている(S125:YES)プリンタ2は、要求機能に基づき、モデルプリンタとして稼動しているプリンタに対して設定内容の送信を要求し(S126)、モデルプリンタとして稼動しているプリンタの設定内容を取得して、取得した設定内容に基づいて自機器の設定内容を更新する(S127)。
【0073】
ステップS128において、CPU21は、インターフェース27を介して設定内容の送信要求(モデルフラグが"Disable"で、自動設定フラグが"Enable"であるプリンタが実行している設定処理のステップS126で行った設定内容の送信要求)を受信したか否かを判定する。設定内容の送信要求を受信したと判定された場合には(S128:YES)、ステップS129の処理へ移行する。一方、設定内容の送信要求を受信していないと判定された場合には(S128:NO)、ステップS103の処理へ戻る。
【0074】
ステップS129において、プリンタ2は、CPU21に制御されて、NVRAM24に記憶されている設定内容を要求元(設定内容の送信要求を行ったプリンタ)へ返信する(SNMP REPLY)。但し、設定内容の送信要求を行ったプリンタは、自機器が実行している設定処理のステップS127において、ステップS129で送信された設定内容を受信することになる。
【0075】
つまり、設定内容の送信要求を受信したモデルプリンタとして稼動しているプリンタ2は、自機器の設定内容を要求元に返信する(S128:YES、S129)。
【0076】
以下、図3及び図4を参照しつつ説明した設定システム1におけるプリンタ2の動作シーケンス例について図5及び図6を参照しつつ説明する。図5及び図6は、設定システム1における動作シーケンス例を示す図である。尚、図5及び図6は、図3及び図4に示したフローチャートに基づく動作の一例である。
【0077】
まず、図5について説明する。但し、LAN5にモデルプリンタとして稼動しているプリンタがないことを検知して、モデルプリンタとして稼動するようになったプリンタをプリンタ2aとし、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタをプリンタ2bとする。また、プリンタ2bの優先度がプリンタ2aの優先度より高いとする。
【0078】
モデルプリンタとして稼動しているプリンタ2bが、例えば、電源が切られたり、LAN5から取り外されたりなどして、LAN5から切断される(S201)。
【0079】
モデルプリンタとして稼動していない(モデルフラグが"Disable"である)プリンタ2aは、CPU21に制御されて、LAN5でモデルプリンタとして稼動しているプリンタの存在を確認する(S202:プリンタ2aが実行している設定処理のS104の処理に対応)。但し、プリンタ2bは、LAN5から切断されているため、プリンタ2aと通信できない状態になっている。
【0080】
プリンタ2aは、LAN5でモデルプリンタとして稼動しているプリンタの存在を確認できず、モデルプリンタが存在しないと判断する(S203:プリンタ2aが実行している設定処理のS105のNOに相当)。
続いて、プリンタ2aは、LAN5にモデルプリンタとして稼動しているプリンタが存在しないので、モデルフラグを"Disable"から"Enable"にして、自機器をモデルプリンタとして稼動させる(S204:プリンタ2aが実行している設定処理のS106に相当)。
【0081】
プリンタ2aは、CPU21に制御されて、モデルプリンタ変更の通知(プリンタ2aが以降モデルプリンタとして稼動する旨の通知)をブロードキャストする(S205:プリンタ2aが実行している設定処理のS107に相当)。
【0082】
LAN5から切断される前にモデルプリンタとして稼動していたプリンタ2bがLAN5に参加する(S206)。
【0083】
プリンタ2bは、CPU21に制御されて、モデルプリンタ参加の通知をブロードキャストする(S207:プリンタ2bが実行している設定処理のS102に相当)。
【0084】
プリンタ2aは、モデルプリンタの参加の通知を受信すると(プリンタ2aが実行している設定処理のS108のYESに相当)、自機器のモデルフラグがステップS204の処理で"Enable"になっていることから(プリンタ2aが実行している設定処理のS109のYESに相当)、プリンタ2bに対してユニキャストにて優先度の送信要求を行う(S208:プリンタ2aが実行している設定処理のS110に相当)。但し、この送信要求にはプリンタ2aの優先度が含まれている。
【0085】
プリンタ2bは、プリンタ2aから優先度の送信要求を受信すると(プリンタ2bが実行している設定処理のS116のYESに相当)、CPU21に制御されて、プリンタ2bの優先度を要求元であるプリンタ2aに送信する(S209:プリンタ2bが実行している設定処理のS117に相当)。
【0086】
プリンタ2aは、プリンタ2bからプリンタ2bの優先度を受信し(プリンタ2aが実行している設定処理のS111に相当)、プリンタ2aのCPU21は、受信したプリンタ2bの優先度がプリンタ2aの優先度より高いと判断し、NVRAM24に記憶されているモデルフラグを"Enable"から"Disable"にする(S210:プリンタ2aが実行している設定処理のS112のYES、S113に相当)。これによって、プリンタ2aはモデルプリンタとして稼動しなくなる。
【0087】
プリンタ2bのCPU21は、プリンタ2bの優先度がプリンタ2aの優先度より高いと判断し(プリンタ2bが実行している設定処理の118のYESに相当)、プリンタ2bは以降モデルプリンタとして稼動することになる(S211)。
【0088】
ステップS210の処理でモデルプリンタとして稼動しなくなったプリンタ2aは、CPU21に制御されて、NVRAM24に記憶されている自機器の設定内容をプリンタ2bに対して送信する(S212:プリンタ2aが実行している設定処理のS114に相当)。
【0089】
プリンタ2bがプリンタ2aからプリンタ2aの設定内容を受信すると、プリンタ2bのCPU21は、プリンタ2aから受け取った設定内容にNVRAM24に記憶している設定内容を更新する(S213:プリンタ2bが実行している設定処理のS120のYES、S121に相当)。
【0090】
プリンタ2aは、CPU21に制御されて、モデルプリンタ変更の通知(プリンタ2aがモデルプリンタとして稼動しなくなった旨と、プリンタ2bが以降モデルプリンタとして稼動する旨とを含んでいる。)をブロードキャストする(S214:プリンタ2aが実行している設定処理のS115に相当)。
【0091】
次に、図6について説明する。LAN5にモデルプリンタとして稼動しているプリンタがないことを検知して、モデルプリンタとして稼動するようになったプリンタをプリンタ2aとし、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタをプリンタ2bとする。また、プリンタ2bの優先度がプリンタ2aの優先度より低いか、等しいとする。
【0092】
モデルプリンタとして稼動しているプリンタ2bが、例えば、電源が切られたり、LAN5から取り外されたりなどして、LAN5から切断される(S301)。
【0093】
モデルプリンタとして稼動していない(モデルフラグが"Disable"である)プリンタ2aは、CPU21に制御されて、LAN5でモデルプリンタとして稼動しているプリンタの存在を確認する(S302:プリンタ2aが実行している設定処理のS104の処理に対応)。但し、プリンタ2bは、LAN5から切断されているため、プリンタ2aと通信できない状態になっている。
【0094】
プリンタ2aは、LAN5でモデルプリンタとして稼動しているプリンタの存在を確認できず、モデルプリンタが存在しないと判断する(S303:プリンタ2aが実行している設定処理のS105のNOに相当)。
続いて、プリンタ2aは、LAN5にモデルプリンタとして稼動しているプリンタが存在しないので、モデルフラグを"Disable"から"Enable"にして、自機器をモデルプリンタとして稼動させる(S304:プリンタ2aが実行している設定処理のS106に相当)。
【0095】
プリンタ2aは、CPU21に制御されて、モデルプリンタ変更の通知(プリンタ2aが以降モデルプリンタとして稼動する旨の通知)をブロードキャストする(S305:プリンタ2aが実行している設定処理のS107に相当)。
【0096】
LAN5から切断される前にモデルプリンタとして稼動していたプリンタ2bがLAN5に参加する(S306)。
【0097】
プリンタ2bは、CPU21に制御されて、モデルプリンタ参加の通知をブロードキャストする(S307:プリンタ2bが実行している設定処理のS102に相当)。
【0098】
プリンタ2aは、モデルプリンタの参加の通知を受信すると(プリンタ2aが実行している設定処理のS108のYESに相当)、自機器のモデルフラグがステップS304の処理で"Enable"になっていることから(プリンタ2aが実行している設定処理のS109のYESに相当)、プリンタ2bに対してユニキャストにて優先度の送信要求を行う(S308:プリンタ2aが実行している設定処理のS110に相当)。但し、この送信要求にはプリンタ2aの優先度が含まれている。
【0099】
プリンタ2bは、プリンタ2aから優先度の送信要求を受信すると(プリンタ2bが実行している設定処理のS116のYESに相当)、CPU21に制御されて、プリンタ2bの優先度を要求元であるプリンタ2aに送信する(S309:プリンタ2bが実行している設定処理のS117に相当)。
【0100】
プリンタ2aは、プリンタ2bからプリンタ2bの優先度を受信し(プリンタ2aが実行している設定処理のS111に相当)、プリンタ2aのCPU21は、受信したプリンタ2bの優先度がプリンタ2aの優先度より高くないと判断し(プリンタ2aが実行している設定処理のS112:NOに相当)、そのままモデルプリンタとして稼動する。
【0101】
プリンタ2bのCPU21は、プリンタ2bの優先度がプリンタ2aの優先度より高くないと判断し、プリンタ2bのNVRAM24に記憶されているモデルフラグを"Enable"から"Disable"にする(S310:プリンタ2bが実行している設定処理の118のNO、S119に相当)。これによって、プリンタ2bはモデルプリンタとして稼動しない。
【0102】
以上説明したように、モデルプリンタとして稼動しているプリンタがLAN5に存在しないことが検知されたとき、プリンタ2(通常設定手段)が自機器をモデルプリンタとして稼動するようにする。また、モデルプリンタとして稼動しているプリンタがLAN5に存在することが検知されたとき、プリンタ2(優先順位設定手段)がモデルプリンタ及び自機器の優先順位に基づいて、いずれかをモデルプリンタとして稼動するようにする。このため、LAN5にモデルプリンタとして稼動しているプリンタが長期間存在しなくなることを防ぐことが可能になる。さらに、新たにモデルプリンタとなるためのプリンタ2同士の優先順位は、プリンタ2の優先順位より高いか等しい場合にモデルプリンタとして稼働させるので、各プリンタの優先順位が High 又は Low 2 つですみ、モデルプリンタとして稼働させるための優先順位の設定が容易である。
【0103】
また、モデルプリンタがLAN5に存在しないことを検知して、自機器をモデルプリンタとして稼動するようにしたプリンタ2は、モデルプリンタ変更の通知(自機器がモデルプリンタとして稼動するようになった旨の通知)をブロードキャストするため、LAN5に接続された他のプリンタは、モデルプリンタの変更に対して適切な対処を行うことができる。例えば、モデルプリンタに変更が生じた場合であっても、プリンタ2は、以前にモデルプリンタとして稼動していたプリンタではなくて、新たにモデルプリンタとして稼動するようになったプリンタに対して、設定内容の要求を行うことが可能になる。
【0104】
さらに、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタ(元モデルプリンタ)が再びLAN5に参加した場合、優先度を利用して、以降モデルプリンタとして稼動するプリンタを、現在モデルプリンタとして稼動しているプリンタ(現モデルプリンタ)と元モデルプリンタの何れかになるようにしているため、LAN5上に2台のモデルプリンタが存在する状態を防ぐことができる。
【0105】
さらに、モデルプリンタとして稼動しなくなったプリンタ(旧モデルプリンタ)の設定内容が新たにモデルプリンタとして稼動するようになったプリンタ(新モデルプリンタ:元モデルプリンタであったプリンタ)に送信されるので、例えば、旧モデルプリンタの設定内容がユーザによって更新されている場合であっても、新モデルプリンタはユーザにより変更された最新の設定内容を他のプリンタに提供することが可能になる。
【0106】
以上、本発明の好適な実施の形態について説明したが、本発明は、前記実施の形態に限定されるものではなく、特許請求の範囲に記載した限りにおいて様々な設計変更が可能なものである。例えば、本実施の形態では、優先度を利用して、現在モデルプリンタとして稼動しているプリンタ(現モデルプリンタ)と以前モデルプリンタとして稼動していたプリンタ(元モデルプリンタ)のうち何れを以降モデルプリンタとして稼動させるか決定しているが、これに限らない。例えば、常に、現モデルプリンタを継続してモデルプリンタとして稼動させて、元モデルプリンタをモデルプリンタとして稼動させないようにしてもよい。この場合、モデルプリンタが頻繁に切り換わることがなくなって、LAN5全体の負荷を軽減することができる。また、常に、元モデルプリンタをモデルプリンタとして稼動させて、現モデルプリンタをモデルプリンタとして稼動させないようにしてもよい。この場合、ほぼ同じプリンタで設定内容の管理を行えるので、管理が容易になる。
【0107】
また、上記実施の形態では、優先度の値が"High"と"Low"との場合であるが、これに限らず、優先度の値を設定内容を更新(変更)した時の時刻としてもよく、この場合、例えば、時刻の新しい方を優先度が高いとしてもよい。また、優先度の値を設定内容の設定回数としてもよく、この場合、例えば、設定回数の多い方を優先度が高いとしてもよい。
【0108】
さらに、上記実施の形態では、前回LAN5に参加していた際にモデルプリンタとして稼動していたプリンタ2がLAN5に参加すると、モデルプリンタ参加の通知をブロードキャストし、現在モデルプリンタとして稼動しているプリンタ2は、ブロードキャストされたモデルプリンタ参加の通知を受信するか否かにより、以前にモデルプリンタとして稼動していたプリンタから設定内容を受信することができるようになったか否かを判断しているが、これに限らない。例えば、現在モデルプリンタとして稼動しているプリンタ2が以前にモデルプリンタとして稼動していたプリンタの存在を定期的に確認し(この確認は、例えば、SNMP GETやpingコマンドの実行により実現できる。)、以前にモデルプリンタとして稼動していたプリンタから設定内容を受信することができるようになったか否かを判断するようにしてもよい。
【0109】
さらに、上記実施の形態の設定処理を、例えば、機種ごと、或いは、ベンダーごとに、モデルプリンタとして稼動しているプリンタが1台存在するようにしてもよい。これは、MIBに機種名、ベンダー名を含めることにより実現できる。
【0110】
さらに、上記実施の形態では、プリンタを例に挙げて説明したが、上記実施の形態の設定処理と実質的に同様の処理をスキャナなどそれ以外の電子機器に適用してもよい。
【0111】
さらに、上記実施の形態などで説明した設定処理を実行させるためのプログラムをCD−ROMなどコンピュータが読み取り可能な記録媒体に記録するようにしてもよい。
【0112】
【発明の効果】
請求項1、請求項、請求項によると、モデル機器として稼動している電子機器(或いはコンピュータ)から当該電子機器の設定内容を取得することができないときは、通常設定手段が自己をモデル機器として稼動させる。また、モデル機器として稼動している電子機器(或いはコンピュータ)から当該電子機器の設定内容を取得することができるときは、優先順位設定手段が当該電子機器及び自己の優先順位に基づいていずれかの電子機器をモデル機器として稼動させる。このため、ネットワーク上にモデル機器として稼動している電子機器(或いはコンピュータ)が存在しなくなるという状況を防ぐことが可能になる。さらに、優先順位設定手段は、新たにモデル機器となるための電子機器の優先順位が、モデル機器の優先順位より高いか等しい場合に、新たにモデル機器となるための電子機器をモデル機器として稼働させるので、各電子機器の優先順位が High 又は Low 2 つですみ、モデル機器として稼働させるための優先順位の設定が容易である。
【0113】
請求項によると、ネットワーク上に2台のモデル機器が存在する状態を解消することができるとともに、以前にモデル機器として稼動していた電子機器をモデル機器として稼動させるため、主にモデル機器として稼動する電子機器が存在するので、システムの管理者は電子機器の設定に関する管理が容易になる。
【0114】
請求項によると、以前にモデル機器として稼動していた電子機器がネットワーク上に存在しない間(例えば、ネットワークから外されていた間や、電源が切られていた間)に管理者によって設定された電子機器の設定内容を、管理者はモデル機器として稼動することとなった電子機器に再度行う必要がなく、管理者の負担が軽減される。
【0115】
また、請求項によると、ネットワーク上に2台のモデル機器が稼動することがない。また、以前にモデル機器として稼動していた電子機器をモデル機器として稼動させない(現在モデル機器として稼動している電子機器を継続してモデル機器として稼動させる)ため、モデル機器として稼動する電子機器が頻繁に切り換わることがなくなって、システム全体の処理負荷が増大する状況を防ぐことができる。
【図面の簡単な説明】
【図1】 本発明の実施の形態における設定システムのシステム構成を示す図である。
【図2】 図1に示した設定システムを構成する装置(プリンタ、パーソナルコンピュータ)の装置構成を示す図である。
【図3】 図1に示した設定システムを構成するプリンタが行う設定処理の動作フローを示すフローチャートである。
【図4】 図1に示した設定システムを構成するプリンタが行う設定処理の動作フローを示すフローチャートである。
【図5】 図1に示した設定システムの設定処理における動作シーケンス例を示す図である。
【図6】 図1に示した設定システムの設定処理における動作シーケンス例を示す図である。
【符号の説明】
1 設定システム
2 プリンタ
3 パーソナルコンピュータ
4 ルータ
5 LAN
21、31 CPU
22、32 ROM
23、33 RAM
24 NVRAM
25 操作パネル
26 印字部
27、37 インターフェース
34 HDD
35 操作部
36 表示部
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a setting system configured to set an electronic device connected to a network based on the setting of an electronic device operating as a model device, an electronic device constituting the setting system, and a computer to function as the electronic device. In particular, the present invention relates to a setting system, an electronic device, and a program that allow an electronic device operating as a model device to exist in one network.
[0002]
[Prior art]
  Conventionally, a printer (an example of an electronic device) and a personal computer are connected to be communicable, and printer settings (for example, information on the access destination of a mail server or DNS server) are changed on the personal computer. There is provided a technique related to remote operation of a printer that controls the printer based on the set contents (see, for example, Japanese Patent Laid-Open No. 11-203087).
[0003]
[Patent Literature]
          Japanese Patent Laid-Open No. 11-20387
[0004]
[Problems to be solved by the invention]
  Further, as described in Japanese Patent Application Laid-Open No. 11-203087, companies and the like tend to generally use a plurality of printers connected to the same network. In such an environment in which a plurality of printers are connected in the same network (especially when there is one administrator managing a plurality of printers), it is assumed that the setting contents of each printer are the same. However, since it is burdensome for the administrator to make settings for each printer, there is a technology in which the printer acquires the setting contents of one printer and sets its own device based on the acquired setting contents. It is requested. In the following, the printer that provides the setting contents of the own device will be referred to as a printer operating as a model printer.
[0005]
  However, if the printer operating as a model printer is limited to a specific printer, for example, if the printer operating as a model printer is temporarily removed from the network or turned off. This causes a problem that there is no printer operating as a model printer on the network, and the printer cannot acquire the setting contents from the printer operating as the model printer.
[0006]
  SUMMARY An advantage of some aspects of the invention is that it provides a setting system, an electronic device, and a program that allow an electronic device operating as a model device to exist in one network.
[0007]
[Means for Solving the Problems]
  The setting system according to claim 1 sets the own device when there is a request function for requesting an electronic device operating as a model device to transmit setting contents and the request from another electronic device. A plurality of electronic devices having a response function for transmitting contents are communicably connected via a network, and are operating as the model device based on the setting contents of the electronic device operating as the model device. A setting system configured to set no electronic device, the electronic deviceElectronic equipmentAs a model device when theofAcquires the settings of the electronic device operating as a model device based on the requested function from the electronic deviceIn order to operate itself as a model device, when the electronic device is connected to the network, other electronic devices connected to the network operate the electronic device as a model device. A notification means for notifying a message, a normal setting means for setting the electronic device as a model device when the model device responding to the message of the notification means does not exist, and the model responding to the message of the notification means If there is a device, the priority of the electronic device operating as the model device and the electronic device of its own is confirmed, and the priority of the electronic device of its own is the electronic device operating as the model device. Priority to allow the electronic device to operate as the model device if it is higher than or equal to the device priority. Position setting meansAnd.
[0008]
  3. The setting system according to claim 2, wherein when the electronic device that has been operating as a model device before operating itself as a model device by the normal setting unit or the priority setting unit restarts operation, priority setting unit However, the electronic device is prevented from operating as a model device, and the electronic device previously operated as the model device is operated as the model device.
[0009]
  The setting system according to claim 3, when the electronic device is not operated as a model device by the priority setting means, the setting content of the own device is the electronic device that has been operated as the model device before. The electronic device that has been further operated as the model device before updating the setting content of the own device based on the setting content transmitted by the transmission means, further comprising a transmission means for transmitting to the device To do.
[0010]
  The electronic device according to claim 4 is a function of requesting the electronic device operating as a model device to transmit setting contents and the setting of the own device when there is the request from another electronic device. A plurality of electronic devices having a response function for transmitting contents are communicably connected via a network, and are operating as the model device based on the setting contents of the electronic device operating as the model device. The power supply that configures the setting system When the electronic device is a child device and the electronic device is not operating as a model device, the setting contents of the electronic device operating as the model device from the electronic device as the model device based on the requested function When the electronic device is connected to the network to operate itself as a model device, the electronic device is operated as a model device to another electronic device connected to the network. A notification means for notifying a message to the effect, a normal setting means for setting the electronic device as a model device when there is no model device responding to the message from the notification means, and a response to the message from the notification means When the model device exists, the electronic device operating as the model device and the self electronic device are superior. The order is confirmed, and when the priority of the electronic device is higher than or equal to the priority of the electronic device operating as the model device, the electronic device is operated as the model device. An electronic device comprising: priority setting means.
[0011]
  The program according to claim 5 is:A plurality of computers having a request function for requesting a computer operating as a model device to transmit setting contents and a response function for transmitting the setting contents of the own device when there is a request from another computer Are communicably connected via a network, and a computer constituting a setting system configured to set a computer not operating as the model device based on the setting contents of the computer operating as the model device,When the own electronic device is not operating as a model device, the setting contents of the electronic device operating as the model device are acquired from the electronic device as the model device based on the requested function, and the device is operated as the model device. Therefore, when the electronic device is connected to the network, notification means for notifying another electronic device connected to the network of a message indicating that the electronic device is operated as a model device, the notification When the model device responding to the message of the means does not exist, the normal setting means for setting the electronic device as the model device, and when the model device responding to the message of the notification means exists, the model device operates as the model device The priority order of the electronic device and the self electronic device Previous rank, the equal or higher than the priority of the electronic device running as a model instrument, priority setting means for the electronic equipment of the self, so as to operate as the model device,A program characterized by functioning as
[0012]
  Claim 1, claim4, Claims5according to,When the setting contents of the electronic device cannot be acquired from the electronic device (or computer) operating as the model device, the normal setting means operates itself as the model device.The Also,When the setting contents of the electronic device can be acquired from the electronic device (or computer) operating as the model device, the priority setting unit selects one of the electronic devices based on the electronic device and its own priority. Is operated as a model device. For this reason, it is possible to prevent a situation in which there is no electronic device (or computer) operating as a model device on the network. Further, the priority order setting means operates the electronic device that becomes the new model device as the model device when the priority order of the electronic device that becomes the new model device is higher than or equal to the priority order of the model device. The priority of each electronic device High Or Low of 2 As a result, it is easy to set priorities for operating as model equipment.
[0013]
  Claim2According to the above, it is possible to eliminate the state where two model devices exist on the network, and to operate an electronic device that was previously operated as a model device as a model device. Since the devices exist, the system administrator can easily manage the settings of the electronic devices.
[0014]
  Claim3According to, the electronic device that was set by the administrator while the electronic device that was previously operating as a model device does not exist on the network (for example, when it was disconnected from the network or turned off) The administrator does not need to perform the setting contents again on the electronic device that has been operated as the model device, thereby reducing the burden on the administrator.
[0015]
  Claims4According to this, two model devices do not operate on the network. In addition, since electronic devices that were previously operating as model devices are not operated as model devices (the electronic devices that are currently operating as model devices are continuously operated as model devices) It is possible to prevent a situation where the processing load of the entire system increases due to frequent switching.
[0016]
  Claims5In addition to being able to be recorded and distributed on a removable recording medium such as a CD-ROM (Compact Disc Read Only Memory), the program can be distributed via a communication network such as the Internet.
[0017]
  Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[0018]
  First, a setting system according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram illustrating an example of a system configuration of a setting system. FIG. 2 is a diagram illustrating an example of a device configuration of the devices constituting the setting system of FIG.
[0019]
  As shown in FIG. 1, the setting system 1 includes printers 2: 2a, 2b, 2c, and 2d, personal computers 3: 3a, 3b, and 3c, and a router 4, each of which is a LAN (Local Area Network). 5 LAN cables. The electronic devices of the printer 2 and the personal computer 3 of the setting system 1 can communicate with each other via the LAN 5, and transmit / receive data to / from electronic devices outside the setting system 1 via the router 4. Can be done. However, here, an example will be described in which the electronic device in which another electronic device sets its own device based on the setting content of one electronic device is a printer. A printer that provides the setting contents of its own device to another printer that requested it in response to a request from another printer is referred to as a model printer.
[0020]
  However, the printer 2 and the personal computer 3 of the setting system 1 are devices compatible with SNMP (Simple Network Management Protocol). Here, SNMP is a management protocol in an IP (Internet Protocol) network environment standardized by IETF (Internet Engineering Task Protocol). In this SNMP, electronic devices are managed by exchanging management information called MIB (Management Information Base) between the managing SNMP manager and the managing SNMP agent.
[0021]
  As shown in FIG. 2A, the printers 2a, 2b, 2c, and 2d in FIG. 1 include a CPU 21, a ROM 22, a RAM 23, an NVRAM 24, an operation panel 25, a printing unit 26, and an interface 27. It has. The printers 2a, 2b, 2c, and 2d have their own functions when a request function for requesting the printer operating as a model printer to transmit the setting contents of the printer and the request from another printer is received. For example, the transmission request for the setting contents and the transmission of the setting contents can be realized by SNMP GET and SNMP REPLY, respectively. However, a printer that is not operating as a model printer uses a request function to make a transmission request for setting contents to a printer that is operating as a model printer. In addition, a printer operating as a model printer uses the response function to transmit the setting contents of its own device to the request source in response to the setting contents transmission request.
[0022]
  A CPU (Central Processing Unit) 21 performs various arithmetic processes and functions as a central arithmetic processing unit. The CPU 21 according to the present embodiment sets a setting to be described later from the ROM 22 when the operation on the LAN 5 is started (when power is turned on and it is detected that the LAN 5 is connected via the interface 27). The processing program is read out, and setting processing (see FIGS. 3 and 4) is executed according to the read setting processing program.
[0023]
  A ROM (Read Only Memory) 22 is a read-only storage device and constitutes a part of the main storage device of the printer 2. The ROM 22 has a setting for causing the printer to execute setting processing for setting the own device based on the setting contents of the system program and a printer operating as a model printer described later with reference to FIGS. Various programs such as a processing program (this setting processing program includes a routine for controlling a printer operating as a model printer to exist on the LAN 5) are stored. A RAM (Random Access Memory) 23 is a readable / writable volatile storage device, and constitutes a part of the main storage device of the printer 2 like the ROM 22. The RAM 23 has a work area for storing intermediate results of data processing.
[0024]
  An NVRAM (Non Volatile Random Access Memory) 24 is a storage device that can be read and written, and can continue to store stored data even when the power is turned off. The NVRAM 24 stores a model flag value (Enable or Disable), an automatic setting flag value (Enable or Disable), and a priority value (High or Low). The NVRAM 24 stores setting contents (use protocol, use authority (security), registration of various use servers, information on language, clock, etc.). This setting content is provided from a printer operating as a model printer to other printers.
[0025]
  The model flag is a flag for indicating whether or not the device is a printer operating as a model printer. If the value of the model flag is “Enable”, the printer is operating as a model printer. On the other hand, if the value of the model flag is “Disable”, it is a printer other than the printer operating as the model printer.
[0026]
  The automatic setting flag is a flag for indicating whether or not to set the own device based on the setting contents of the printer operating as the model printer. If the value of the automatic setting flag is “Enable”, the self-device is set based on the setting contents of the printer operating as the model printer. On the other hand, if the value of the automatic setting flag is “Disable”, the own device is not set based on the setting contents of the printer operating as the model printer.
[0027]
  The priority is used to prevent a situation where two or more printers operating as model printers exist on the LAN 5. Specifically, the priority is given to the printer that was operating as a model printer (hereinafter referred to as the current model printer) (hereinafter referred to as the current model printer as appropriate). This is used to determine which of the current model printer and the original model printer is to be used as a model printer when the model printer is rejoined to the LAN 5.
[0028]
  The priority of the current model printer is "High", the priority of the original model printer is "High" and "Low", and the priority of the current model printer is "Low", and the priority of the original model printer Is "Low", that is, when the priority of the current model printer is higher than or equal to the priority of the original model printer, the printer operating as the model printer is set as the current model printer (the current model printer is continued as a model). Operate as a printer and do not operate the original model printer as a model printer).
[0029]
  Also, if the priority of the current model printer is "Low" and the priority of the original model printer is High, that is, if the priority of the current model printer is lower than the priority of the original model printer, it operates as a model printer. The printer is the original model printer (the current model printer is not operated as a model printer, and the original model printer is operated as a model printer).
[0030]
  The operation panel 25 includes a display device that outputs and displays information on a display or the like, and an input device that performs an input operation from the outside. The operation panel 25 includes, for example, a liquid crystal display, a plasma display, and the like. And a touch panel constituting an operation unit as an input device. The printing unit 26 provides a monochrome or color character or image printing function. The interface 27 connects the printer 2 to the LAN 5 and enables communication between the printer 2 and each device such as the personal computer 3 connected to the end of the LAN 5.
[0031]
  The printer 2 described above is configured such that the user can change the automatic setting flag and the priority value. For example, an automatic setting flag setting screen including “Do you want to automatically set the printer based on the setting contents of the model printer” and a corresponding check box is displayed on the display unit of the operation panel 25 ( Corresponds to automatic setting flag). Then, the user sets / changes the value (Enable or Disable) of the automatic setting flag depending on whether the check box is checked using the operation unit of the operation panel 25. However, the automatic setting flag setting screen is displayed on the display unit of the operation panel 25 by a predetermined user operation on the operation unit of the operation panel 25.
[0032]
  In addition, a priority setting screen including “Do you want to increase the priority to maintain operation as a model printer” and a check box corresponding to this is displayed on the display unit of the operation panel 25 (the priority is set). Correspondence). Then, the user sets the priority to “High” by checking the check box using the operation unit of the operation panel 25, and sets the priority to “Low” by removing the check. However, the priority setting screen is displayed on the display unit of the operation panel 25 by the user's predetermined operation on the operation unit of the operation panel 25 in the printer operating as the model printer.
[0033]
  As shown in FIG. 2B, the personal computers 3: 3a, 3b, and 3c in FIG. 1 include a CPU 31, a ROM 32, a RAM 33, an HDD 34, an operation unit 35, a display unit 36, and an interface 37. I have.
[0034]
  The CPU 31 performs various calculations and processes, and functions as a central processing unit. The ROM 32 is a read-only storage device and constitutes a part of the main storage device of the personal computer 3. The ROM 32 stores various programs such as a system program. The RAM 33 is a readable / writable volatile storage device, and constitutes a part of the main storage device of the personal computer 3 like the ROM 32. The RAM 33 has a work area for storing intermediate results of data. An HDD (Hard Disk Drive) 34 is a readable / writable storage device (hard disk) and its reader.
[0035]
  The operation unit 35 constitutes an input device of the personal computer 3. The operation unit 35 is configured by a pointing device such as a keyboard or a mouse in which a predetermined number of input keys are arranged. The display unit 36 is a display device that outputs and displays information on a display or the like, and includes, for example, a liquid crystal display or a plasma display. The liquid crystal display includes a simple matrix type such as STN type and DSTN type and an active matrix type such as TFT. The interface 37 connects the personal computer 3 to the LAN 5 and enables communication between the personal computer 3 and each electronic device such as the printer 2 connected to the end of the LAN 5.
[0036]
  Hereinafter, the setting process performed in the setting system 1 will be described with reference to FIGS. 3 and 4. 3 and 4 are flowcharts showing an operation flow of setting processing performed by the printer constituting the setting system 1. 3 and 4 is executed when the printer 2 starts operation on the LAN 5 (when it is detected that the power is turned on and connected to the LAN 5 via the interface 27). Then, the setting process program described above is read from the ROM 22 by the CPU 21 of the printer 2 and started.
[0037]
  In step S <b> 101, the CPU 21 determines whether or not the model flag stored in the NVRAM 24 is “Enable”. When it is determined that the model flag is “Enable” (S101: YES), the process proceeds to step S102. On the other hand, when it is determined that the model flag is not “Enable”, that is, “Disable” (S101: NO), the process proceeds to step S103.
[0038]
  In step S <b> 102, the printer 2 is controlled by the CPU 21 to indicate that the printer (own device) that was operating as a model printer when it participated in the LAN 5 last time has joined the LAN 5. In order to notify the printer, a model printer participation notification is broadcast. Then, the process proceeds to step S103. However, other printers participating in the LAN 5 are also executing the setting process of FIGS. 3 and 4, and in the determination step of step S <b> 108 described later in the setting process being executed by the own device, broadcast in step S <b> 102. It is determined whether or not a notification of participation in the model printer is received.
[0039]
  That is, when the printer 2 that previously participated in the LAN 5 as a model printer (a printer that has been operating as a model printer) 2 again participates in the LAN 5 by the processing in the above-described steps S101 and S102, that fact participates in the LAN 5. It will be notified to other printers. However, even if the printer 2 that has not participated in the LAN 5 as a model printer participates in the LAN 5 again (S101: NO), notification to that effect is not performed.
[0040]
  In step S <b> 103, the CPU 21 determines whether or not the model flag stored in the NVRAM 24 is “Disable”. If it is determined that the model flag is “Disable” (S103: YES), the process proceeds to step S104. On the other hand, when it is determined that the model flag is not “Disable”, that is, “Enable” (S103: NO), the process proceeds to step S108.
[0041]
  If it is determined in the determination step of step S103 that the model flag is “Disable”, that is, it is not operating as a model printer (S103: YES), in step S104, the printer 2 is controlled by the CPU 21 and connected to the LAN 5. A process for confirming the existence of a printer operating as a model printer is performed, and the process proceeds to step S105. The process of step S104, for example, requests transmission of model flags to all the printers 2 participating in the LAN 5 (SNMP GET), and uses the value of the model flag acquired by a response (SNMP REPLY) to this. This can be done. Alternatively, the ping command can be executed using the IP address of a printer operating as a model printer, and whether or not there is a response to the ping command can be performed.
[0042]
  In step S105, the CPU 21 determines whether there is a printer operating as a model printer in the LAN 5 based on the confirmation result in step S104. If it is determined that the model printer exists (S105: YES), the process proceeds to step S108. On the other hand, when it is determined that the model printer does not exist in the LAN 5 (S105: NO), the process proceeds to step S106.
[0043]
  Whether or not the processing of step S103 to step S105 can acquire the setting contents of the printer from the printer operating as the model printer based on the requested function when the printer 2 is not operating as the model printer. Equivalent to the process of determining.
[0044]
  In step S106, the CPU 21 changes the value of the model flag stored in the NVRAM 24 from “Disable” to “Enable” so as to operate as a model printer. Then, the process proceeds to step S107. If it is determined that the setting contents of the printer cannot be acquired from the printer operating as a model printer based on the requested function (S105: NO), the process of step S106 operates as a model printer. Let(Normal setting method)This corresponds to a process for transmitting the setting contents of the own device in response to a request from another printer based on the response function..
[0045]
  Note that in a printer that has become operable with a model printer, the user can call the priority setting screen described above to change the priority of the printer from “Low” to “High” or from “High”. Set to “Low”.
[0046]
  In step S107, the printer 2 is controlled by the CPU 21 to broadcast a model printer change notification (notification that the own device operates as a model printer) (extension of SNMP TRAP). Then, the process proceeds to step S108. The process of step S107 corresponds to a process of notifying a printer participating in the LAN 5 that the own device has been operated as a model printer (notification means). Note that the data to be broadcast is obtained by adding content indicating that the own device operates as a model printer to the SNMP TRAP, the IP address of the own device, and the like. However, the other printers participating in the LAN 5 are also executing the setting process of FIGS. 3 and 4, and are broadcast in step S107 in the determination step of step S122, which will be described later, of the setting process executed by the own device. It is determined whether or not a notification of the changed model printer has been received.
[0047]
  The printer 2 not operating as a model printer, which has detected that there is no printer operating as a model printer in the LAN 5 by the processing of step S103 to step S106, subsequently operates as a model printer. Then, the printer 2 that has been operated as a model printer by the processing of step S107 notifies the other printers participating in the LAN 5 that the own device has been operated as a model printer. To do.
[0048]
  In step S108, the CPU 21 notifies the model printer participation via the interface 27 (if the printer operating as the model printer when it participated in the LAN 5 last time participates in the LAN 5 again, the setting process of FIGS. 3 and 4 is performed. It is determined whether or not the model printer participation notification broadcast in step S102 of the started setting process has been received. If it is determined that the model printer participation notification has been received (S108: YES), the process proceeds to step S109. On the other hand, when it is determined that the model printer participation notification has not been received (S108: NO), the process proceeds to step S116.
[0049]
  In step S109, the CPU 21 determines whether or not the model flag stored in the NVRAM 24 is “Enable”. If it is determined that the model flag is “Enable” (S109: YES), the process proceeds to step S110. On the other hand, when it is determined that the model flag is not “Enable”, that is, “Disable” (S109: NO), the process proceeds to step S116.
[0050]
  In other words, the processing in steps S108 to S109 described above causes the printer 2 that is currently operating as a model printer to request the setting contents of the printer from the printer that was operating as the model printer before operating as the model printer. Corresponds to processing to determine whether or not it can be acquired again based on the function.
[0051]
  In step S110, the printer 2 is controlled by the CPU 21 to request the printer that has received the model printer participation notification received in step S109 to transmit a priority value (High or Low) (SNMP). GET), the process proceeds to step S111. This request includes the priority (High or Low) stored in the NVRAM 24 of the printer 2 that made the priority transmission request. In response to this request, the printer that has notified the participation of the model printer is controlled by the CPU, and stored in the NVRAM of the own device by the processing of steps S116 and S117 described later of the setting process executed by the own device. The priority value (High or Low) is transmitted (SNMP REPLY).
[0052]
  In step S <b> 111, the CPU 21 receives the priority of the printer from the printer that has notified the model printer participation via the interface 27. Then, the process proceeds to step S112.
[0053]
  In step S112, the CPU 21 determines whether or not the priority of the partner printer (original model printer) that has notified the model printer participation is higher than the priority stored in the NVRAM 24 of its own device (current model printer). judge. If it is determined that the priority of the other party is high (S112: YES), the process proceeds to step S113. On the other hand, if it is not determined that the other party's priority is high (S112: NO), it continues to operate as a model printer.(Priority order setting means)The process proceeds to step S116.
[0054]
  In step S113, the CPU 21 changes the value of the model flag stored in the NVRAM 24 from “Enable” to “Disable” so as not to operate as a model printer. When the priority is “High”, the CPU 21 sets “Low”. Make(Priority order setting means). Then, the process proceeds to step S114.
[0055]
  The printer 2 currently operating as a model printer that has received the notification of participation in the model printer by the processing in steps S110 to S113 described above determines the priority of the printer with respect to the printer that has notified the participation of the model printer. If the priority of the printer on the other side that requested transmission and notified the participation of the model printer is higher than the priority of its own device, the model flag is changed from "Enable" to "Disable" and it does not operate as a model printer. To do.In this case, the counterpart printer (the printer that has notified the participation of the model printer) will subsequently operate as a model printer.
  On the other hand, if the priority of the own device is higher than or equal to the priority of the counterpart printer, it continues to operate as a model printer. In this case, the partner printer prevents the own device from operating as a model printer by the processing in steps S118 and S119 described later of the setting process executed by the own device.
[0056]
  In step S114, the printer 2 is controlled by the CPU 21 to transmit the setting contents of its own device to the printer that has been notified of participation in the model printer (hereinafter, a printer that operates as a model printer) (SNMP SET). The process proceeds to S115. However, the printer 2 that has notified the participation of the model printer determines whether or not the setting content transmitted in step S114 has been received in the determination step of step S120, which will be described later, of the setting process executed by the own device. become.
[0057]
  When the above-described processing in step S114 prevents the own device from operating as a model printer (S113), the printer that previously operated as the model printer for the setting contents of the own device (notification of participation in the model printer has been performed) This corresponds to processing for transmission to a printer.
[0058]
  In step S115, the printer 2 is controlled by the CPU 21 to notify the model printer change (the fact that the own device has stopped operating as a model printer, and the printer that has notified the model printer participation will operate as a model printer thereafter. Broadcast) (extension of SNMP TRAP). Then, the process proceeds to step S116. However, whether the other printers 2 participating in the LAN 5 have received the notification of the model printer change broadcast in step S115 in the determination step of step S122, which will be described later, of the setting process executed by the own device. It will be judged.
[0059]
  In step S116, the CPU 21 sends a priority transmission request from the printer currently operating as the model printer via the interface 27 (performed in step S110 of the setting process executed by the printer currently operating as the model printer). It is determined whether a transmission request is received. If it is determined that a priority transmission request has been received (S116: YES), the process proceeds to step S117. On the other hand, when it is determined that a priority transmission request has not been received (S116: NO), the process proceeds to step S120. Note that the printer 2 that receives the priority transmission request in step S116 is the printer that broadcasts the notification of model printer participation, in other words, the printer that was operating as a model printer when it participated in the LAN 5 last time.
[0060]
  In step S117, the printer 2 is controlled by the CPU 21 and transmits the priority value (High or Low) stored in the NVRAM 24 to the request source (the printer currently operating as a model printer) (SNMP). REPLY). Then, the process proceeds to step S118. However, the printer currently operating as the model printer receives the priority transmitted in step S117 in the above-described step S111 of the setting process being executed by the own device.
[0061]
  In step S118, the CPU 21 determines that the priority stored in the NVRAM 24 of the own device (the printer that has notified the model printer participation: the original model printer) is the other printer (current model printer) currently operating as the model printer. ) (The priority is included in the priority transmission request received in step S116). If it is determined that the device itself is higher (S118: YES), then it operates as a model printer.(Priority order setting means)The process proceeds to step S120. On the other hand, when it is not determined that the own device is higher (S118: NO), the process proceeds to step S119. In this embodiment, the model flag is set to “Enable” even when the power is turned off and turned on again while operating as a model printer, or when it is disconnected from the LAN 5 and connected to the LAN 5 again. "It is designed to hold on.
[0062]
  In step S119, the CPU 21 changes the value of the model flag stored in the NVRAM 24 from “Enable” to “Disable” so that it does not operate as a model printer. If the priority is “High”, the CPU 21 sets “Low”. Make(Priority order setting means). Then, the process proceeds to step S120.
[0063]
  As a result of the processing in steps S118 to S119 described above, the printer 2 that has been operating as a model printer when it participated in the LAN 5 last time has the priority of its own device that is currently operating as a model printer ( If the priority is not higher than the priority of the printer that made the transmission request of the priority, the model flag is changed from “Enable” to “Disable” so that the printer does not become a model printer. In this case, the printer currently operating as the model printer continues to operate as the model printer.
  On the other hand, when the priority of the own device is higher than the priority of the counterpart printer, the model flag is kept “Enable” and the printer is subsequently operated as a model printer. In this case, the printer that is currently operating as a model printer is prevented from operating as a model printer by the processing in step S113 described above of the setting processing that is being executed by the device itself.
[0064]
  In step S120, the CPU 21 starts from the printer that has made the priority transmission request (the printer that has stopped operating as the model printer in step S113 of the setting process executed by the device itself: hereinafter referred to as the old model printer as appropriate). It is determined whether or not setting contents (setting contents transmitted in step S114 of the setting process executed by the old model printer) are received via the interface 27. If it is determined that the setting content has been received from the old model printer (S120: YES), the process proceeds to step S121. On the other hand, when it is determined that the setting content has not been received (S120: NO), the process proceeds to step S122.
[0065]
  In step S121, the CPU 21 updates the setting content stored in the NVRAM 24 to the setting content received in step S120. As a result, when the printer 2 that was operating as a model printer when it participated in the LAN 5 last time participates in the LAN 5 again and the priority of its own device is higher than the priority of the old model printer, it is stored in the NVRAM 24. The setting contents are updated to the setting contents of the old model printer.
[0066]
  In step S122, the CPU 21 notifies the model printer change via the interface 27 (the model printer change notification broadcast in step S107 of the setting process executed by the printer that has become operable as the model printer, and the model printer. It is determined whether or not a model printer change notification broadcast in step S115 of the setting process executed by the printer that has stopped operating is received. If it is determined that the model printer change notification has been received (S122: YES), the process proceeds to step S123. On the other hand, if it is determined that the model printer change notification has not been received (S122: NO), the process proceeds to step S124.
[0067]
  In step S123, the CPU 21 stores, in the NVRAM 24, the IP address and the like of the printer that operates as a model printer thereafter, based on the model printer change notification received in step S122. Then, the process proceeds to step S124. As a result, the printer 2 can grasp a printer that operates as a model printer thereafter.
[0068]
  In step S124, the CPU 21 determines whether or not the model flag stored in the NVRAM 24 is “Disable”. If it is determined that the model flag is “Disable” (S124: YES), the process proceeds to step S125. On the other hand, if it is determined that the model flag is not “Disable”, that is, “Enable” (S124: NO), the process proceeds to step S128.
[0069]
  In step S125, the CPU 21 determines whether or not the automatic setting flag stored in the NVRAM 24 is “Enable”. If it is determined that the automatic setting flag is “Enable” (S125: YES), the process proceeds to step S126. On the other hand, when it is determined that the automatic setting flag is not “Enable”, that is, “Disable” (S125: NO), the process proceeds to step S128.
[0070]
  In step S126, the printer 2 is controlled by the CPU 21 and requests the printer operating as a model printer by unicast to transmit the setting contents (SNMP GET). Then, the process proceeds to step S127.
[0071]
  In step S127, the CPU 21 transmits the setting contents transmitted by the printer operating as the model printer via the interface 27 (settings transmitted in step S129 described later in the setting process executed by the printer operating as the model printer). Content) is received, and the setting content stored in the NVRAM 24 of the own device is updated based on the received setting content. Then, the process proceeds to step S128.
[0072]
  That is, the printer 2 is not operating as a model printer (S124: YES), and is set to update the setting contents of its own device based on the setting contents of the model printer (S125: YES). Requesting the printer operating as the model printer to transmit the setting contents (S126), acquiring the setting contents of the printer operating as the model printer, and setting the own device based on the acquired setting contents The contents are updated (S127).
[0073]
  In step S128, the CPU 21 sends a setting content transmission request via the interface 27 (the setting performed in step S126 of the setting process executed by the printer whose model flag is “Disable” and automatic setting flag is “Enable”). It is determined whether or not (content transmission request) has been received. If it is determined that a transmission request for setting contents has been received (S128: YES), the process proceeds to step S129. On the other hand, if it is determined that a transmission request for setting contents has not been received (S128: NO), the process returns to step S103.
[0074]
  In step S129, the printer 2 is controlled by the CPU 21 to send back the setting contents stored in the NVRAM 24 to the request source (the printer that made the transmission request for the setting contents) (SNMP REPLY). However, the printer that has made a transmission request for setting contents receives the setting contents transmitted in step S129 in step S127 of the setting process being executed by the own device.
[0075]
  That is, the printer 2 operating as a model printer that has received the transmission request for the setting content returns the setting content of the own device to the request source (S128: YES, S129).
[0076]
  Hereinafter, an operation sequence example of the printer 2 in the setting system 1 described with reference to FIGS. 3 and 4 will be described with reference to FIGS. 5 and 6. 5 and 6 are diagrams illustrating an example of an operation sequence in the setting system 1. 5 and 6 are examples of operations based on the flowcharts shown in FIGS.
[0077]
  First, FIG. 5 will be described. However, it is detected that there is no printer operating as a model printer in the LAN 5, and the printer that has started to operate as a model printer is designated as the printer 2a. This printer is designated as printer 2b. Further, it is assumed that the priority of the printer 2b is higher than the priority of the printer 2a.
[0078]
  The printer 2b operating as a model printer is disconnected from the LAN 5 by, for example, being powered off or removed from the LAN 5 (S201).
[0079]
  The printer 2a not operating as a model printer (the model flag is “Disable”) is controlled by the CPU 21 to confirm the presence of a printer operating as a model printer on the LAN 5 (S202: executed by the printer 2a). Corresponding to the process of S104 in the setting process). However, since the printer 2b is disconnected from the LAN 5, it cannot communicate with the printer 2a.
[0080]
  The printer 2a cannot confirm the existence of a printer operating as a model printer on the LAN 5, and determines that there is no model printer (S203: equivalent to NO in S105 of the setting process executed by the printer 2a).
  Subsequently, since there is no printer operating as a model printer in the LAN 5, the printer 2a changes the model flag from “Disable” to “Enable” and operates the own device as a model printer (S204: executed by the printer 2a). Equivalent to S106 in the setting process).
[0081]
  The printer 2a is controlled by the CPU 21 to broadcast a model printer change notification (notification that the printer 2a will be operated as a model printer thereafter) (S205: equivalent to S107 of the setting process executed by the printer 2a).
[0082]
  The printer 2b operating as a model printer before disconnecting from the LAN 5 joins the LAN 5 (S206).
[0083]
  The printer 2b is controlled by the CPU 21 to broadcast a model printer participation notification (S207: equivalent to S102 of the setting process executed by the printer 2b).
[0084]
  When the printer 2a receives the notification of participation of the model printer (corresponding to YES in S108 of the setting process executed by the printer 2a), the model flag of its own device is “Enable” in the process of step S204. (Corresponding to YES in S109 of the setting process executed by the printer 2a), a priority transmission request is made by unicast to the printer 2b (S208: S110 of the setting process executed by the printer 2a). Equivalent). However, this transmission request includes the priority of the printer 2a.
[0085]
  When the printer 2b receives a priority transmission request from the printer 2a (corresponding to YES in S116 of the setting process executed by the printer 2b), the printer 2b is controlled by the CPU 21 to set the priority of the printer 2b as the requesting printer. (S209: equivalent to S117 of the setting process executed by the printer 2b).
[0086]
  The printer 2a receives the priority of the printer 2b from the printer 2b (corresponding to S111 of the setting process executed by the printer 2a), and the CPU 21 of the printer 2a determines that the received priority of the printer 2b is the priority of the printer 2a. It is determined that the model flag is higher, and the model flag stored in the NVRAM 24 is changed from “Enable” to “Disable” (S210: corresponding to YES and S113 in S112 of the setting process executed by the printer 2a). As a result, the printer 2a does not operate as a model printer.
[0087]
  The CPU 21 of the printer 2b determines that the priority of the printer 2b is higher than the priority of the printer 2a (corresponding to YES of 118 of the setting process executed by the printer 2b), and the printer 2b is to operate as a model printer thereafter. (S211).
[0088]
  The printer 2a that has become inoperable as a model printer in the process of step S210 is controlled by the CPU 21 to transmit the setting contents of the own device stored in the NVRAM 24 to the printer 2b (S212: executed by the printer 2a). Equivalent to S114 of the setting process).
[0089]
  When the printer 2b receives the setting contents of the printer 2a from the printer 2a, the CPU 21 of the printer 2b updates the setting contents stored in the NVRAM 24 to the setting contents received from the printer 2a (S213: executed by the printer 2b). This corresponds to YES in S120 of the setting process and S121).
[0090]
  The printer 2a is controlled by the CPU 21 to broadcast a model printer change notification (including that the printer 2a is no longer operating as a model printer and that the printer 2b is subsequently operating as a model printer) (see FIG. S214: Corresponding to S115 of the setting process executed by the printer 2a).
[0091]
  Next, FIG. 6 will be described. Detecting that there is no printer operating as a model printer in the LAN 5, the printer that has started to operate as a model printer is designated as the printer 2a, and the printer that was operating as a model printer when participating in the LAN 5 last time Is the printer 2b. Further, it is assumed that the priority of the printer 2b is lower than or equal to the priority of the printer 2a.
[0092]
  The printer 2b operating as a model printer is disconnected from the LAN 5 by, for example, being powered off or removed from the LAN 5 (S301).
[0093]
  The printer 2a not operating as a model printer (the model flag is “Disable”) is controlled by the CPU 21 to confirm the presence of a printer operating as a model printer on the LAN 5 (S302: executed by the printer 2a). Corresponding to the process of S104 in the setting process). However, since the printer 2b is disconnected from the LAN 5, it cannot communicate with the printer 2a.
[0094]
  The printer 2a cannot confirm the existence of a printer operating as a model printer on the LAN 5, and determines that there is no model printer (S303: equivalent to S105 of the setting process executed by the printer 2a).
  Subsequently, since there is no printer operating as a model printer in the LAN 5, the printer 2a changes the model flag from “Disable” to “Enable” and operates the own device as a model printer (S304: executed by the printer 2a). Equivalent to S106 in the setting process).
[0095]
  The printer 2a is controlled by the CPU 21 to broadcast a model printer change notification (notification that the printer 2a will operate as a model printer thereafter) (S305: equivalent to S107 of the setting process executed by the printer 2a).
[0096]
  The printer 2b operating as a model printer before disconnecting from the LAN 5 joins the LAN 5 (S306).
[0097]
  The printer 2b is controlled by the CPU 21 to broadcast a model printer participation notification (S307: equivalent to S102 of the setting process executed by the printer 2b).
[0098]
  When the printer 2a receives the notification of participation of the model printer (corresponding to YES in S108 of the setting process executed by the printer 2a), the model flag of its own device is “Enable” in the process of step S304. From (corresponding to YES in S109 of the setting process executed by the printer 2a), a priority transmission request is made by unicast to the printer 2b (S308: S110 of the setting process executed by the printer 2a). Equivalent). However, this transmission request includes the priority of the printer 2a.
[0099]
  When the printer 2b receives a priority transmission request from the printer 2a (corresponding to YES in S116 of the setting process executed by the printer 2b), the printer 2b is controlled by the CPU 21 to set the priority of the printer 2b as the requesting printer. (S309: equivalent to S117 of the setting process executed by the printer 2b).
[0100]
  The printer 2a receives the priority of the printer 2b from the printer 2b (corresponding to S111 of the setting process executed by the printer 2a), and the CPU 21 of the printer 2a determines that the received priority of the printer 2b is the priority of the printer 2a. It is determined that it is not higher (corresponding to S112: NO of the setting process executed by the printer 2a), and it operates as a model printer as it is.
[0101]
  The CPU 21 of the printer 2b determines that the priority of the printer 2b is not higher than the priority of the printer 2a, and changes the model flag stored in the NVRAM 24 of the printer 2b from “Enable” to “Disable” (S310: Printer 2b). Is equivalent to 118 of the setting process being executed, S119). As a result, the printer 2b does not operate as a model printer.
[0102]
  As explained above,When it is detected that a printer operating as a model printer does not exist in the LAN 5, the printer 2 (normal setting means) operates its own device as a model printer. Further, when it is detected that a printer operating as a model printer exists in the LAN 5, the printer 2 (priority setting means) operates as either a model printer based on the priority of the model printer or its own device. To do. For this reason, it becomes possible to prevent a printer operating as a model printer from being present in the LAN 5 for a long time. Furthermore, since the priority order of the printers 2 to become new model printers is operated as a model printer when the priority order of the printers 2 is higher than or equal to the priority order of the printers 2, the priority order of each printer is High Or Low of 2 It is easy to set priorities for operating as a model printer.
[0103]
  Further, the printer 2 which detects that the model printer does not exist in the LAN 5 and operates its own device as a model printer is notified of the model printer change (the fact that the own device has been operated as a model printer). Notification) is broadcast, so that other printers connected to the LAN 5 can take appropriate measures against the change of the model printer. For example, even when the model printer is changed, the printer 2 is not set to a printer that has previously been operated as a model printer, but a printer that has been newly operated as a model printer. Content requests can be made.
[0104]
  Further, if a printer (original model printer) that was operating as a model printer when it participated in the LAN 5 last time participates in the LAN 5 again, the printer that operates as a model printer after that is used as the current model using the priority. Since either the printer operating as the printer (current model printer) or the original model printer is used, it is possible to prevent a state where two model printers exist on the LAN 5.
[0105]
  In addition, the settings of the printer that no longer operates as a model printer (old model printer) are sent to the printer that newly operates as a model printer (new model printer: the printer that was the original model printer) For example, even when the setting contents of the old model printer are updated by the user, the new model printer can provide the latest setting contents changed by the user to other printers.
[0106]
  The preferred embodiments of the present invention have been described above. However, the present invention is not limited to the above-described embodiments, and various design changes can be made as long as they are described in the claims. . For example, in this embodiment, the priority is used to determine which of the printer currently operating as a model printer (current model printer) and the printer that was previously operating as a model printer (original model printer) is a subsequent model. Although it is determined whether to operate as a printer, it is not limited to this. For example, the current model printer may be continuously operated as a model printer, and the original model printer may not be operated as a model printer. In this case, the model printer is not frequently switched, and the load on the entire LAN 5 can be reduced. Alternatively, the original model printer may always be operated as a model printer, and the current model printer may not be operated as a model printer. In this case, since the setting contents can be managed with almost the same printer, the management becomes easy.
[0107]
  In the above embodiment, the priority values are “High” and “Low”. However, the present invention is not limited to this, and the priority value may be the time when the set content is updated (changed). In this case, for example, the newer time may be given higher priority. Further, the priority value may be set as the number of setting contents, and in this case, for example, the higher the setting number may be set as the higher priority.
[0108]
  Further, in the above embodiment, when the printer 2 that was operating as a model printer when participating in the LAN 5 last time participates in the LAN 5, a notification of participation in the model printer is broadcast, and the printer currently operating as the model printer. 2 determines whether it is possible to receive setting contents from a printer that has been operating as a model printer before, depending on whether or not a broadcast notification of participation in the model printer is received. Not limited to this. For example, the printer 2 that is currently operating as a model printer periodically checks for the presence of a printer that has previously operated as a model printer (this confirmation can be realized, for example, by executing an SNMP GET or ping command). Alternatively, it may be determined whether or not the setting contents can be received from a printer that has been operated as a model printer before.
[0109]
  Further, the setting process of the above-described embodiment may be such that there is one printer operating as a model printer for each model or each vendor, for example. This can be realized by including the model name and the vendor name in the MIB.
[0110]
  Furthermore, in the above-described embodiment, the printer has been described as an example. However, processing substantially similar to the setting processing in the above-described embodiment may be applied to other electronic devices such as a scanner.
[0111]
  Furthermore, a program for executing the setting process described in the above embodiments may be recorded on a computer-readable recording medium such as a CD-ROM.
[0112]
【The invention's effect】
  Claim 1, claim4, Claims5according to,When the setting contents of the electronic device cannot be acquired from the electronic device (or computer) operating as the model device, the normal setting means operates itself as the model device.The Also,When the setting contents of the electronic device can be acquired from the electronic device (or computer) operating as the model device, the priority setting unit selects one of the electronic devices based on the electronic device and its own priority. Is operated as a model device. For this reason, it is possible to prevent a situation in which there is no electronic device (or computer) operating as a model device on the network. Further, the priority order setting means operates the electronic device that becomes the new model device as the model device when the priority order of the electronic device that becomes the new model device is higher than or equal to the priority order of the model device. The priority of each electronic device High Or Low of 2 As a result, it is easy to set priorities for operating as model equipment.
[0113]
  Claim2According to the above, it is possible to eliminate the state where two model devices exist on the network, and to operate an electronic device that was previously operated as a model device as a model device. Since the devices exist, the system administrator can easily manage the settings of the electronic devices.
[0114]
  Claim3According to, the electronic device that was set by the administrator while the electronic device that was previously operating as a model device does not exist on the network (for example, when it was disconnected from the network or turned off) The administrator does not need to perform the setting contents again on the electronic device that has been operated as the model device, thereby reducing the burden on the administrator.
[0115]
  Claims4According to this, two model devices do not operate on the network. In addition, since electronic devices that were previously operating as model devices are not operated as model devices (the electronic devices that are currently operating as model devices are continuously operated as model devices) It is possible to prevent a situation where the processing load of the entire system increases due to frequent switching.
[Brief description of the drawings]
FIG. 1 is a diagram showing a system configuration of a setting system in an embodiment of the present invention.
2 is a diagram showing a device configuration of devices (printer, personal computer) constituting the setting system shown in FIG. 1. FIG.
FIG. 3 is a flowchart showing an operation flow of setting processing performed by a printer configuring the setting system shown in FIG. 1;
4 is a flowchart showing an operation flow of setting processing performed by a printer constituting the setting system shown in FIG.
FIG. 5 is a diagram showing an example of an operation sequence in setting processing of the setting system shown in FIG. 1;
6 is a diagram showing an example of an operation sequence in setting processing of the setting system shown in FIG. 1. FIG.
[Explanation of symbols]
  1 Setting system
  2 Printer
  3 Personal computer
  4 routers
  5 LAN
  21, 31 CPU
  22, 32 ROM
  23, 33 RAM
  24 NVRAM
  25 Operation panel
  26 Printing section
  27, 37 interface
  34 HDD
  35 Operation unit
  36 display section

Claims (5)

モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムであって、
前記電子機器は、
自己の電子機器がモデル機器として稼動していない際に、モデル機器として電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるため、
前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段と、
前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段と、
前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段と、
を備えたことを特徴とする設定システム。
A plurality of functions having a request function for requesting an electronic device operating as a model device to transmit setting contents and a response function for transmitting the setting contents of the own device when there is the request from another electronic device In a setting system for setting an electronic device not operating as the model device based on the setting contents of the electronic device operating as the model device. There,
The electronic device is
When own electronic apparatus is not operating as a model device, obtains the settings of the electronic device from the electronic device as a model instrument running as a model instrument based on the desired function, to run self as a model instrument For,
A notification means for notifying the other electronic device connected to the network of a message indicating that the electronic device operates as a model device when the electronic device is connected to the network;
When the model device responding to the message of the notification means does not exist, normal setting means for setting the electronic device as a model device;
When the model device responding to the message from the notification means exists, the priority order between the electronic device operating as the model device and the own electronic device is confirmed, and the priority order of the own electronic device is Priority setting means for causing the electronic device to operate as the model device when higher than or equal to the priority of the electronic device operating as the model device ;
A setting system characterized by comprising:
前記通常設定手段又は前記優先順位設定手段により自己をモデル機器として稼動させる以前にモデル機器として稼動していた電子機器が稼働を再開したとき、優先順位設定手段が、自己をモデル機器として稼動しないようにすると共に、前記以前にモデル機器として稼動していた電子機器をモデル機器として稼動させるようにすることを特徴とする請求項1に記載の設定システム。When an electronic device that has been operating as a model device before operating itself as a model device by the normal setting unit or the priority order setting unit resumes operation, the priority setting unit does not operate as a model device. The setting system according to claim 1, wherein the electronic device that has been operated as the model device before is operated as the model device. 前記電子機器は、優先順位設定手段によって自己がモデル機器として稼動しないようになったとき、自機器の設定内容を前記以前にモデル機器として稼動していた電子機器に送信する送信手段をさらに備えており、
前記以前にモデル機器として稼動していた電子機器は、自機器の設定内容を前記送信手段によって送信された設定内容に基づいて更新することを特徴とする請求項に記載の設定システム。
The electronic device further includes transmission means for transmitting the setting contents of the own device to the electronic device previously operated as the model device when the electronic device is not operated as the model device by the priority order setting means. And
The setting system according to claim 2 , wherein the electronic device that has been operating as the model device before updates the setting content of the own device based on the setting content transmitted by the transmission unit.
モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムを構成する電子機器であって、
前記電子機器は、
自己の電子機器がモデル機器として稼動していない際に、モデル機器としての電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるために
前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段と、
前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段と、
前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器 として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段と、
を備えたことを特徴とする電子機器。
A plurality of functions having a request function for requesting an electronic device operating as a model device to transmit setting contents and a response function for transmitting the setting contents of the own device when there is the request from another electronic device A setting system configured to set an electronic device not operating as the model device based on the setting contents of the electronic device operating as the model device. An electronic device comprising:
The electronic device is
When the own electronic device is not operating as a model device, the setting contents of the electronic device operating as the model device are acquired from the electronic device as the model device based on the requested function, and the device is operated as the model device. for
A notification means for notifying the other electronic device connected to the network of a message indicating that the electronic device operates as a model device when the electronic device is connected to the network;
When the model device responding to the message of the notification means does not exist, normal setting means for setting the electronic device as a model device;
When the model device responding to the message from the notification means exists , the priority order between the electronic device operating as the model device and the own electronic device is confirmed, and the priority order of the own electronic device is Priority setting means for causing the electronic device to operate as the model device when higher than or equal to the priority of the electronic device operating as the model device;
An electronic device characterized by comprising:
モデル機器として稼動しているコンピュータに対して設定内容を送信するよう要求する要求機能及び他のコンピュータからの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数のコンピュータがネットワークを介して通信可能に接続されており、前記モデル機器として稼動しているコンピュータの設定内容に基づいて、前記モデル機器として稼動していないコンピュータの設定を行う設定システムを構成するコンピュータを、
自己の電子機器がモデル機器として稼動していない際に、モデル機器としての電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得し、自己をモデル機器として稼働させるために
前記自己の電子機器が前記ネットワークに接続された時に、前記ネットワークに接続されている他の電子機器に前記自己の電子機器をモデル機器として稼働する旨のメッセージを通知する通知手段、
前記通知手段のメッセージに応答する前記モデル機器が存在しない場合、前記自己の電子機器をモデル機器として設定する通常設定手段、
前記通知手段のメッセージに応答する前記モデル機器が存在した場合、前記モデル機器として稼働している電子機器と、前記自己の電子機器との優先順位を確認し、前記自己の電子機器の優先順位が、前記モデル機器として稼働している電子機器の優先順位より高いか等しい場合、前記自己の電子機器を、前記モデル機器として稼働させるようにする優先順位設定手段、
として機能させることを特徴とするプログラム。
A plurality of computers having a request function for requesting a computer operating as a model device to transmit setting contents and a response function for transmitting the setting contents of the own device when there is a request from another computer Are communicably connected via a network, and a computer constituting a setting system configured to set a computer not operating as the model device based on the setting contents of the computer operating as the model device,
When the own electronic device is not operating as a model device, the setting contents of the electronic device operating as the model device are acquired from the electronic device as the model device based on the requested function, and the device is operated as the model device. for
A notification means for notifying a message indicating that the electronic device operates as a model device to another electronic device connected to the network when the electronic device is connected to the network;
Normal setting means for setting the electronic device as a model device when the model device responding to the message from the notification means does not exist;
When the model device responding to the message from the notification means exists, the priority order between the electronic device operating as the model device and the own electronic device is confirmed, and the priority order of the own electronic device is Priority setting means for causing the electronic device to operate as the model device when the priority is higher than or equal to the priority of the electronic device operating as the model device;
A program characterized by functioning as
JP2002333269A 2002-07-25 2002-11-18 Setting system, electronic device, and program Expired - Fee Related JP3743419B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2002333269A JP3743419B2 (en) 2002-11-18 2002-11-18 Setting system, electronic device, and program
US10/626,548 US7392299B2 (en) 2002-07-25 2003-07-25 Configuration setting system for network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002333269A JP3743419B2 (en) 2002-11-18 2002-11-18 Setting system, electronic device, and program

Publications (2)

Publication Number Publication Date
JP2004171093A JP2004171093A (en) 2004-06-17
JP3743419B2 true JP3743419B2 (en) 2006-02-08

Family

ID=32698036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002333269A Expired - Fee Related JP3743419B2 (en) 2002-07-25 2002-11-18 Setting system, electronic device, and program

Country Status (1)

Country Link
JP (1) JP3743419B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006099300A (en) * 2004-09-29 2006-04-13 Seiko Epson Corp Device setting management of device to be connected to network
JP4229073B2 (en) 2005-02-24 2009-02-25 ブラザー工業株式会社 Network systems, devices, and programs
JP4239987B2 (en) 2005-02-24 2009-03-18 ブラザー工業株式会社 Network systems, devices, and programs
JP2022070771A (en) * 2020-10-27 2022-05-13 シャープ株式会社 Image forming device, setting method and system

Also Published As

Publication number Publication date
JP2004171093A (en) 2004-06-17

Similar Documents

Publication Publication Date Title
US7392299B2 (en) Configuration setting system for network system
US10749763B2 (en) Reliable address discovery cache
JP4682056B2 (en) Device management apparatus, device management system, device management method, device search program, and recording medium
JP4663497B2 (en) Information processing system and information processing apparatus assignment management method
JP2006253900A (en) Method for ip address takeover, ip-address takeover program, server and network system
JP2000033755A (en) Method for constituting network of peripheral apparatus
US9377980B2 (en) Host apparatus and server connected to image forming apparatus to perform pull printing, and printing method thereof
WO2008069080A2 (en) Management apparatus and method thereof
JP2009296128A (en) Information processor, control method for information processor, and computer program
JP2009122986A (en) Information processing system, information processing program and information processor
JP3743419B2 (en) Setting system, electronic device, and program
US8166199B2 (en) Communication apparatus, network system, communication method and program
US20100332681A1 (en) Communication apparatus capable of selecting a proper source address from a plurality of source addresses assigned thereto, method of controlling the same, and storage medium
JP5094356B2 (en) Information processing apparatus, information processing method, and program for executing the method
JP5287512B2 (en) Peripheral device, program, and network system
JP2009284410A (en) Information processing apparatus, method for controlling thereof and computer program
JP5263029B2 (en) Management device and computer program
JP2013129146A (en) Printer
JP3775360B2 (en) Setting system, electronic device, and program
JP2005209145A (en) Bidirectional communication network device management apparatus, network device management method, program, and recording medium
JP4127454B2 (en) Printer management system
JP2005321922A (en) Information sharing system and information sharing program
JP2010003037A (en) Image forming device and power control system
JP2018200646A (en) Information processing apparatus and image formation apparatus
JP2004118623A (en) Electronic device and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050912

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20051107

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 3743419

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20091125

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091125

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20101125

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101125

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20111125

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20111125

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121125

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20131125

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees