[go: up one dir, main page]

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

Setting system, electronic device, and program Download PDF

Info

Publication number
JP2004171093A
JP2004171093A JP2002333269A JP2002333269A JP2004171093A JP 2004171093 A JP2004171093 A JP 2004171093A JP 2002333269 A JP2002333269 A JP 2002333269A JP 2002333269 A JP2002333269 A JP 2002333269A JP 2004171093 A JP2004171093 A JP 2004171093A
Authority
JP
Japan
Prior art keywords
printer
model
operating
setting
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002333269A
Other languages
Japanese (ja)
Other versions
JP3743419B2 (en
Inventor
Yohei Maekawa
陽平 前川
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

Abstract

【課題】一つのネットワーク内にモデル機器として稼動している電子機器が存在するようにする。
【解決手段】モデルプリンタとして稼動していないプリンタは、LANにモデルプリンタとして稼動しているプリンタの存在を確認する(S104)。確認の結果、モデルプリンタがないと判断された場合(S105:NO)、自機器のモデルフラグを“Enable”にして、自機器をモデルプリンタとして稼動させる(S106)。
【選択図】 図3
An electronic device operating as a model device exists in one network.
A printer not operating as a model printer confirms the existence of a printer operating as a model printer on a LAN (S104). If it is determined that there is no model printer (S105: NO), the model flag of the own device is set to "Enable", and the own device is operated as a model printer (S106).
[Selection diagram] FIG.

Description

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

Claims (7)

モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムであって、
前記電子機器は、
自己がモデル機器として稼動していない際に、モデル機器として稼動している電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得することができるか否かを判断する判断手段と、
前記判断手段により前記モデル機器として稼動している電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得することができないと判断された場合に、自己をモデル機器として稼動させ、前記応答機能に基づき他の電子機器からの前記要求に応じて自機器の設定内容を送信する制御手段と、
を備えたことを特徴とする設定システム。
A plurality of functions including a request function for requesting the electronic device operating as a model device to transmit the setting content and a response function for transmitting the setting content of the own device when the request is received from another electronic device. A setting system for setting electronic devices that are not operating as the model device based on the settings of the electronic device operating as the model device, wherein the electronic devices are communicably connected via a network. So,
The electronic device,
When it is not operating as a model device, it is determined whether or not it is possible to acquire the setting contents of the electronic device operating as a model device based on the required function from the electronic device operating as a model device Means for determining
When it is determined that the setting content of the electronic device operating as the model device based on the request function cannot be obtained from the electronic device operating as the model device by the determination unit, the device determines that the device itself is the model device. Control means for operating and transmitting the setting content of the own device in response to the request from another electronic device based on the response function,
A setting system comprising:
前記電子機器は、前記制御手段によって自己をモデル機器として稼動させる際に、自己がモデル機器として稼動するようになった旨を前記ネットワークに接続されている他の電子機器に通知する通知手段をさらに備えたことを特徴とする請求項1に記載の設定システム。The electronic device further includes, when the control device causes the electronic device to operate as a model device, a notification unit that notifies the other electronic devices connected to the network that the device itself has started operating as the model device. The setting system according to claim 1, further comprising: 前記判断手段は、さらに、前記制御手段により自己をモデル機器として稼動させる以前にモデル機器として稼動していた電子機器から前記要求機能に基づく設定内容の取得を再びできるようになったか否かを判断するように構成され、
前記制御手段によりモデル機器として稼動するようになった電子機器の前記制御手段は、前記判断手段により前記以前にモデル機器として稼動していた電子機器から前記要求機能に基づく設定内容の取得を再びできるようになったと判断された場合に、自己をモデル機器として稼動しないようにし、
前記以前にモデル機器として稼動していた電子機器は、モデル機器として稼動することを特徴とする請求項1又は請求項2に記載の設定システム。
The determining unit further determines whether the control unit can obtain setting contents based on the requested function again from an electronic device that has been operating as a model device before operating itself as a model device. Is configured to
The control unit of the electronic device that is operated as the model device by the control unit can obtain the setting content based on the requested function again from the electronic device that was previously operated as the model device by the determination unit. If it is determined that it has become, it will not operate itself as a model device,
The setting system according to claim 1, wherein the electronic device that has been operating as a model device before operates as a model device.
前記電子機器は、前記制御手段によって自己をモデル機器として稼動しないようにすると、自機器の設定内容を前記以前にモデル機器として稼動していた電子機器に送信する送信手段をさらに備えており、
前記以前にモデル機器として稼動していた電子機器は、自機器の設定内容を前記送信手段によって送信された設定内容に基づいて更新することを特徴とする請求項3に記載の設定システム。
The electronic device further includes a transmission unit configured to transmit the setting contents of the own device to the electronic device that has been operating as the model device before, when the control unit does not operate the device itself as a model device,
The setting system according to claim 3, wherein the electronic device that has been operating as the model device before updates the setting contents of the own device based on the setting contents transmitted by the transmitting unit.
前記制御手段により電子機器をモデル機器として稼動させる以前にモデル機器として稼動していた電子機器は、前記応答機能に基づいて自機器の設定内容を送信できるようになってもモデル機器として稼動しないことを特徴とする請求項1又は請求項2に記載の設定システム。An electronic device that has been operating as a model device before the electronic device has been operated as a model device by the control unit should not operate as a model device even if the setting contents of the own device can be transmitted based on the response function. The setting system according to claim 1 or 2, wherein: モデル機器として稼動している電子機器に対して設定内容を送信するよう要求する要求機能及び他の電子機器からの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数の電子機器がネットワークを介して通信可能に接続されており、前記モデル機器として稼動している電子機器の設定内容に基づいて、前記モデル機器として稼動していない電子機器の設定を行う設定システムを構成する電子機器であって、
自己がモデル機器として稼動していない際に、モデル機器として稼動している電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得することができるか否かを判断する判断手段と、
前記判断手段により前記モデル機器として稼動している電子機器から前記要求機能に基づきモデル機器として稼動している電子機器の設定内容を取得することができないと判断された場合に、自己をモデル機器として稼動させ、前記応答機能に基づき他の電子機器からの前記要求に応じて自機器の設定内容を送信する制御手段と、
を備えたことを特徴とする電子機器。
A plurality of functions including a request function for requesting the electronic device operating as a model device to transmit the setting content and a response function for transmitting the setting content of the own device when the request is received from another electronic device. A setting system for setting electronic devices that are not operating as the model device based on the settings of the electronic device operating as the model device, wherein the electronic devices are communicably connected via a network. An electronic device comprising:
When it is not operating as a model device, it is determined whether or not it is possible to acquire the setting contents of the electronic device operating as a model device based on the required function from the electronic device operating as a model device Means for determining
When it is determined that the setting content of the electronic device operating as the model device based on the request function cannot be obtained from the electronic device operating as the model device by the determination unit, the device determines that the device itself is the model device. Control means for operating and transmitting the setting content of the own device in response to the request from another electronic device based on the response function,
An electronic device comprising:
モデル機器として稼動しているコンピュータに対して設定内容を送信するよう要求する要求機能及び他のコンピュータからの前記要求があった場合に自機器の設定内容を送信する応答機能を備えた複数のコンピュータがネットワークを介して通信可能に接続されており、前記モデル機器として稼動しているコンピュータの設定内容に基づいて、前記モデル機器として稼動していないコンピュータの設定を行う設定システムを構成するコンピュータを、
自己がモデル機器として稼動していない際に、モデル機器として稼動しているコンピュータから前記要求機能に基づきモデル機器として稼動しているコンピュータの設定内容を取得することができるか否かを判断する判断手段、及び、
前記判断手段により前記モデル機器として稼動しているコンピュータから前記要求機能に基づきモデル機器として稼動しているコンピュータの設定内容を取得することができないと判断された場合に、自己をモデル機器として稼動させ、前記応答機能に基づき他のコンピュータからの前記要求に応じて自機器の設定内容を送信する制御手段、
として機能させることを特徴とするプログラム。
A plurality of computers having a request function of requesting a computer operating as a model device to transmit the setting contents and a response function of transmitting the setting contents of the own device when the request is received from another computer Are communicably connected via a network, based on the settings of a computer operating as the model device, a computer constituting a setting system for setting a computer not operating as the model device,
When the self is not operating as a model device, a determination is made as to whether it is possible to acquire the setting contents of the computer operating as a model device from the computer operating as the model device based on the required function. Means, and
If it is determined that the setting content of the computer operating as the model device cannot be acquired from the computer operating as the model device based on the request function by the determination unit, the computer operates as the model device. Control means for transmitting the setting contents of the own device in response to the request from another computer based on the response function,
A program characterized by functioning as a program.
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 true JP2004171093A (en) 2004-06-17
JP3743419B2 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)

Cited By (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 configuration management for devices connected to the network
US7640314B2 (en) 2005-02-24 2009-12-29 Brother Kogyo Kabushiki Kaisha Network system, device and program
US7673008B2 (en) 2005-02-24 2010-03-02 Brother Kogyo Kabushiki Kaisha Network system and device
US20220131985A1 (en) * 2020-10-27 2022-04-28 Sharp Kabushiki Kaisha Image formation device, setting method, and system

Cited By (5)

* 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 configuration management for devices connected to the network
US7640314B2 (en) 2005-02-24 2009-12-29 Brother Kogyo Kabushiki Kaisha Network system, device and program
US7673008B2 (en) 2005-02-24 2010-03-02 Brother Kogyo Kabushiki Kaisha Network system and device
US20220131985A1 (en) * 2020-10-27 2022-04-28 Sharp Kabushiki Kaisha Image formation device, setting method, and system
US11800023B2 (en) * 2020-10-27 2023-10-24 Sharp Kabushiki Kaisha Image formation device, setting method, and system

Also Published As

Publication number Publication date
JP3743419B2 (en) 2006-02-08

Similar Documents

Publication Publication Date Title
US7392299B2 (en) Configuration setting system for network system
JP4974657B2 (en) Management apparatus and method
JP4682056B2 (en) Device management apparatus, device management system, device management method, device search program, and recording medium
JP4583452B2 (en) Method and system for monitoring server events in a node configuration by using direct communication between servers
US9377980B2 (en) Host apparatus and server connected to image forming apparatus to perform pull printing, and printing method thereof
US8085788B2 (en) System, device, method and computer program product for managing devices
JP2009296128A (en) Information processor, control method for information processor, and computer program
JP2017021458A (en) Monitoring device, method for controlling monitoring device, and program
JP3743419B2 (en) Setting system, electronic device, 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
CN104898993B (en) Information processing apparatus, image forming apparatus, and control apparatus and method for system
US20080252925A1 (en) Communication apparatus, network system, communication method and program
JP2007293503A (en) Device, its control method, and program
JP5094356B2 (en) Information processing apparatus, information processing method, and program for executing the method
JP3775360B2 (en) Setting system, electronic device, and program
JP2013129146A (en) Printer
JP4127454B2 (en) Printer management system
JP4632450B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP2010003037A (en) Image forming device and power control system
JP2014102694A (en) Information processing device and program
JP2004118623A (en) Electronic devices and programs
JP5966368B2 (en) Information processing apparatus, device management system, and program
JP2010218566A (en) Information processing program, information processor and information processing system
JP2005216079A (en) Information processor, information processing system, and method and program for device setting information management
JP5353833B2 (en) Server, print setting file storage control method, and storage control 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