JP4258251B2 - Status notification receiver - Google Patents
Status notification receiver Download PDFInfo
- Publication number
- JP4258251B2 JP4258251B2 JP2003093604A JP2003093604A JP4258251B2 JP 4258251 B2 JP4258251 B2 JP 4258251B2 JP 2003093604 A JP2003093604 A JP 2003093604A JP 2003093604 A JP2003093604 A JP 2003093604A JP 4258251 B2 JP4258251 B2 JP 4258251B2
- Authority
- JP
- Japan
- Prior art keywords
- status notification
- port number
- change
- receiving
- status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 claims description 79
- 230000008859 change Effects 0.000 claims description 75
- 230000008569 process Effects 0.000 claims description 65
- 238000010586 diagram Methods 0.000 description 16
- 238000012217 deletion Methods 0.000 description 9
- 230000037430 deletion Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 4
- 239000000470 constituent Substances 0.000 description 3
- 230000002776 aggregation Effects 0.000 description 2
- 238000004220 aggregation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、情報機器から当該情報機器の状態に関する通知である状態通知を受信するための状態通知受信装置に関する。
【0002】
【従来の技術】
LANなどのネットワーク上にパーソナルコンピュータ(以下、「PC」という)とプリンタとが接続されたシステムにおいて、PCは、印刷データをネットワークを介してプリンタに送信して、プリンタで印刷させることができる。
【0003】
ここで、たとえば印刷終了通知などの、プリンタの状態に関する通知である状態通知が、プリンタからPCに送信される。この場合、プリンタは、送信先であるPCの予め決められたポート番号を指定して状態通知をPCに送信する。
【0004】
しかし、状態通知を受信するためのポート番号が他のアプリケーションによって使用されている場合には、PCはプリンタからの状態通知を受信することができなくなるという問題があった。
【0005】
この問題を解決するために、PCからプリンタなどのファンクションデバイスに対して、印刷終了通知などのジョブ処理結果を受信するためのポート番号を、未使用のポート番号から割り当てて通知する技術が提案されている(たとえば、特許文献1参照)。この場合、プリンタは、PCから通知されたポート番号を指定して、ジョブ処理結果をPCに送信することができる。
【0006】
【特許文献1】
特開2002−189693号公報
【0007】
【発明が解決しようとする課題】
しかしながら、上記特許文献1に記載の技術にあっては、PCがジョブ処理結果などの状態通知を受信するためのポート番号をプリンタに通知した後に、当該ポート番号がPC側で変更された場合については何ら記載されていない。
【0008】
たとえば、あるプログラムをPCにインストールする場合、当該プログラムで使用するポート番号が決まっていて状態通知を受信するためのポート番号と重なっているときには、状態通知を受信するためのポート番号を変更しなければならない事態が生じ得る。したがって、プリンタから状態通知を送信してもらうための予約がポート番号の変更前に行われている場合には、状態通知がPCの変更前のポート番号に送信されてしまうため、PCは当該状態通知を受信できなくなるという問題が依然として残る。上記特許文献1に記載の技術は、かかる問題については配慮しておらず、これを解決するための具体的な方法を提示するものではない。
【0009】
本発明は、上述の課題を解決するためになされたものであり、本発明の目的は、プリンタなどの情報機器から送信される状態通知を受信するためのポート番号が変更された場合であっても、当該状態通知を確実に受信することが可能な状態通知受信装置を提供することである。
【0010】
【課題を解決するための手段】
本発明の上記目的は、下記の手段によって達成される。
【0011】
(1)情報機器から当該情報機器の状態に関する通知である状態通知を受信するための状態通知受信装置であって、前記状態通知を受信するためのポート番号を変更する変更処理を行う変更手段と、前記変更手段により前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御手段とを有する状態通知受信装置。
【0012】
(2)前記情報機器は、印刷装置である上記(1)に記載の状態通知受信装置。
【0013】
(3)前記情報機器から前記状態通知を送信してもらうための予約を登録する登録手段をさらに有し、前記制御手段は、前記予約が登録されているとき、前記制御を行う上記(1)または(2)に記載の状態通知受信装置。
【0014】
(4)前記所定条件は、前記変更処理前に登録された前記予約に基づく状態通知がすべて受信されたことである上記(3)に記載の状態通知受信装置。
【0015】
(5)前記所定条件は、前記状態通知の受信を許容する期限として設定された所定日時である上記(1)または(2)に記載の状態通知受信装置。
(6)前記所定日時は、ユーザの操作に基づいて設定可能である上記(5)に記載の状態通知受信装置。
(7)情報機器から当該情報機器の状態に関する通知である状態通知を受信するための状態通知受信方法であって、前記状態通知を受信するためのポート番号を変更する変更処理を行う変更ステップと、前記変更ステップにおいて前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御ステップとを有する状態通知受信方法。
(8)情報機器から当該情報機器の状態に関する通知である状態通知を受信するためのプログラムであって、前記状態通知を受信するためのポート番号を変更する変更処理を行う変更手順と、前記変更手順において前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御手順とをコンピュータに実行させるためのプログラム。
(9)上記(8)に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。
【0016】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を説明する。
【0017】
図1は、本発明の第1実施形態に係るPCが適用されたプリントシステムの構成を示すブロック図である。
【0018】
図1に示すように、プリントシステムは、状態通知受信装置としての機能を有するPC100と、情報機器としてのプリンタ200とを備え、これらはネットワーク300を介して相互に通信可能に接続されている。ネットワーク300は、イーサネット(R)、トークンリング、FDDI等の規格によるLANや、LAN同士を専用線で接続したWAN等からなる。
【0019】
なお、ネットワークに接続される機器の種類および台数は、図1に示す例に限定されない。また、本発明は、ネットワーク300上のPC100が図示しないサーバを介してプリンタ200と接続されているシステム、あるいは、PC100がプリンタ200と1対1で接続されているシステムにも適用可能である。
【0020】
図2は、図1に示されるPC100の構成を示すブロック図である。図2に示すように、PC100は、装置全体の制御および各種演算処理を行うCPU101、プログラムやデータを格納するためのROM102、作業領域として一時的にプログラムやデータを記憶するためのRAM103、各種のプログラムやデータを保存するための外部記憶装置としてのハードディスク104、各種情報の表示のための液晶ディスプレイなどの表示部105、各種指示の入力のためのキーボードやマウスなどの入力部106、およびネットワーク300に接続するためのLANカードなどのネットワークインタフェース107を含み、これらは信号を遣り取りするためのバス108を介して相互に接続されている。
【0021】
図3は、図1に示されるプリンタ200の構成を示すブロック図である。図3に示すように、プリンタ200は、CPU201、ROM202、RAM203、操作パネル部204、印刷部205、およびネットワークインタフェース206を含み、これらは信号を遣り取りするためのバス207を介して相互に接続されている。なお、プリンタ200の構成要素のうち、PC100の構成要素と同様の機能を有する部分についての重複する説明を省略する。
【0022】
RAM203は、PC100から受信したデータを一時的に記憶できる。なお、プリンタ200は、各種のプログラムやデータを保存するための外部記憶装置としてのハードディスクを有していてもよい。操作パネル部204は、各種情報の表示および各種指示の入力に使用される。印刷部205は、電子写真式プロセス等の周知の作像プロセスを用いて、各種データを用紙などの記録材上に印刷する。
【0023】
PC100、およびプリンタ200は、上述した構成要素以外の構成要素を含んでいてもよく、あるいは、上述した構成要素のうちの一部が含まれていなくてもよい。
【0024】
以下においては、たとえばPC100がプリンタ200からの状態通知を受信する場合について説明する。ここで、状態通知とは、プリンタなどの情報機器の状態に関する通知をいう。状態通知には、たとえばプリンタでの印刷処理が終了したことを通知するための印刷終了通知が含まれる。
【0025】
次に、図4〜図11を参照して、PC100で行われる処理について説明する。なお、図4のフローチャートにより示されるアルゴリズムは、PC100のハードディスク104などの記憶装置にプログラムとして記憶されており、CPU101により実行される。
【0026】
図4に示すように、まず、PC100は、状態通知を受信するためのポート番号を決定する。すなわち、PC100は、状態通知の受信用に現時点で設定されているポート番号、および後述する第2状態通知予約リストに存在するポート番号のいずれを用いても、状態通知を受信可能とする(S101)。
【0027】
ここで、理解を容易にするため、状態通知を受信するためのポート番号を変更する変更処理(後述のS109参照)がまだ行われていない状態から始まる一般的なパターンの一例を取り上げて、順に説明する。この場合、最初は、第2状態通知予約リストには何も存在しないので、PC100は、状態通知の受信用に現時点で設定されているポート番号(たとえば1000番)を用いた場合にのみ、状態通知を受信可能とする。
【0028】
続いて、プリンタ200から状態通知を送信してもらうことを予約するための指示があったか否かが判断される(S102)。
【0029】
このような予約指示は、ユーザにより入力部106を通して行われ得る。具体的には、予約指示は、たとえば図5に示すような操作用画面500を用いて行われる。
【0030】
操作用画面500は、状態通知を送信してもらうための予約を指示するための予約指示部510と、状態通知を受信するためのポート番号の変更を指示するための後述するポート番号変更指示部520とを有している。
【0031】
ここで、ユーザは、予約指示部510のターゲットリスト511に状態通知の送信元であるターゲットとしてのプリンタ200のIPアドレスを入力して、送信してもらう状態通知の種類をチェックボックス512を用いて選択し、予約ボタン513を操作することにより、予約指示を行うことができる。ここで、プリンタ200のIPアドレスを入力する代わりに、予め用意されたプリンタのリストからターゲットとしてのプリンタ200を選択してもよい。
【0032】
なお、状態通知には、印刷終了通知のほか、たとえばプリンタでの印刷処理が可能であることを通知するための印刷可能通知、プリンタでの印刷処理が開始したことを通知するための印刷開始通知などの他の状態通知が含まれてもよい。また、印刷終了通知などの状態通知を送信してもらうための予約指示は、ユーザが印刷ジョブをプリンタ200に送信するときに自動的に行われてもよい。さらに、PC100の起動時など所定の時期に、予約指示が自動的に行われてもよい。
【0033】
予約指示があった場合(S102でYES)、プリンタ200に対して、状態通知を送信してもらうための予約に必要な状態通知予約データが送信される(S103)。図6は、状態通知予約データの一例を示す。図6に示す状態通知予約データには、予約指示部510のチェックボックス512へのチェックマークの入力結果に対応する返信条件531と、予約指示部510のターゲットリスト511、および状態通知の受信用に現時点で設定されているポート番号に対応する返信先532とが含まれる。
【0034】
続いて、状態通知を送信してもらうための予約を内容とする状態通知予約が、状態通知予約リストに追加されて登録される(S104)。図7は、状態通知予約の登録がない場合の、状態通知予約リスト集合部の一例を示す。図7に示すように、状態通知予約リスト集合部540は、状態通知予約リスト541と、後述する第2状態通知予約リスト542とを有している。この状態通知予約リスト集合部540は、たとえばRAM103の所定領域に設けられる。ただし、状態通知予約リスト541と第2状態通知予約リスト542とは、たとえばRAM103の別々の領域に設けられていてもよい。図8は、状態通知予約543が追加された場合の、状態通知予約リスト集合部の一例を示す。
【0035】
予約指示がない場合(S102でNO)、ステップS103およびS104をスキップして、ステップS105に進む。
【0036】
ステップS105では、プリンタ200から状態通知(図14参照)が受信されたか否かが判断される。
【0037】
状態通知が受信された場合(S105でYES)、PC100は、表示部105上に図9に示すような状態通知の表示を行うための表示処理を実行する(S106)。なお、PC100は、印刷部を備えて、状態通知の印刷を行うための印刷処理を実行してもよい。続いて、プリンタ200から受信された状態通知に対応する状態通知予約543が、状態通知予約リスト集合部540から削除される(S107)。ここで、状態通知予約543を状態通知予約リスト集合部540から削除するようにしたのは、状態通知予約543は、通常、状態通知予約リスト541に存在するが、後述するように第2状態通知予約リスト542に移動される場合があるからである。ただし、理解を容易にするため、この時点では、状態通知予約543に基づくプリンタ200からの状態通知が受信されておらず、したがって、状態通知予約543が状態通知予約リスト集合部540からまだ削除されていないものとして、説明を進める。
【0038】
状態通知の受信がない場合(S105でNO)、ステップS106およびS107をスキップして、ステップS108に進む。
【0039】
ステップS108では、ポート番号を変更するための指示があったか否かが判断される。
【0040】
このようなポート番号変更指示は、ユーザにより入力部106を通して行われ得る。具体的には、ポート番号変更指示は、たとえば図5に示したような操作用画面500を用いて行われる。
【0041】
ここで、ユーザは、図10に示すように、ポート番号変更指示部520のポート番号入力ボックス521に状態通知を受信するためのポート番号(たとえば1001番)を入力して、変更ボタン522を操作することにより、ポート番号変更指示を行うことができる。
【0042】
ポート番号変更指示があった場合(S108でYES)、状態通知を受信するためのポート番号を変更する変更処理が行われる(S109)。
【0043】
続いて、状態通知予約リスト集合部540の状態通知予約リスト541に存在する状態通知予約543(図8参照)は、図11に示すように第2状態通知予約リスト542に移動させられる(S110)。
【0044】
ポート番号変更指示がない場合(S108でNO)、ステップS109およびS110をスキップして、ステップS101に戻る。
【0045】
ここで、たとえば状態通知を受信するためのポート番号を1000番から1001番に変更する変更処理が行われて(S109)、図11に示すように状態通知予約543が第2状態通知予約リスト542に移動させられた場合(S110)、ステップS101に戻って、次のような処理が行われる。すなわち、PC100は、状態通知の受信用に現時点で設定されているポート番号(1001番)、および第2状態通知予約リスト542に現時点で存在する状態通知予約543に含まれるポート番号(1000番)のいずれを用いても、状態通知を受信可能とする(S101)。すなわち、変更処理前のポート番号および変更処理後のポート番号のいずれを用いても状態通知を受信可能とする制御が行われる。
【0046】
さらに、ステップS102に進む。ただし、理解を容易にするため、この時点では、新たな予約指示がないものとして(S102でNO)、ステップS105に進む。
【0047】
ここで、プリンタ200が、状態通知予約543に基づく状態通知をPC100に送信した場合を想定する。この場合、PC100は、変更処理前のポート番号である1000番および変更処理後のポート番号である1001番のいずれを用いても状態通知を受信可能とされているため、ステップS105において、ポート番号の変更処理前に登録された状態通知予約に基づくプリンタ200からの状態通知を、確実に受信することができる。なお、ポート番号の変更処理後に登録された別の状態通知予約が存在する場合、当該状態通知予約に基づく状態通知も受信できることは言うまでもない。
【0048】
続いて、PC100は、状態通知の表示を行うための表示処理を行い(S106、図9参照)、該当する状態通知予約543を、第2状態通知予約リスト542から削除する(S107)。
【0049】
さらに、ステップS108に進む。ただし、理解を容易にするため、この時点では、新たなポート番号変更指示がないものとして(S108でNO)、ステップS101に戻る。
【0050】
そして、ステップS101では、この時点で第2状態通知予約リスト542に状態通知予約543が存在しないため、PC100は、状態通知の受信用に現時点で設定されているポート番号である1001番を用いた場合にのみ、状態通知を受信可能とする。このようにしてPC100は、状態通知予約に基づく状態通知が受信された後、変更処理前のポート番号を用いた状態通知の受信を拒絶する。したがって、長時間にわたりポートが不必要に開けられたまま放置される事態を防止することができ、セキュリティを確保することができる。
【0051】
なお、図4に示す処理は、別途設けられる所定の条件にしたがってプログラムの実行が終了させられるまで、繰り返し行われる。
【0052】
次に、図12〜図14を参照して、プリンタ200で行われる処理について説明する。なお、図12のフローチャートにより示されるアルゴリズムは、プリンタ200のROM202などの記憶装置にプログラムとして記憶されており、CPU201により実行される。
【0053】
図12に示すように、まず、プリンタ200は、PC100からの状態通知予約データ(図6参照)を受信したか否かを判断する(S201)。
【0054】
状態通知予約データが受信された場合(S201でYES)、たとえば図13に示すように、受信された状態通知予約データ530が、プリンタ側状態通知予約リスト550に追加されて登録される(S202)。このプリンタ側状態通知予約リスト550は、たとえばRAM203の所定領域に設けられる。
【0055】
状態通知予約データの受信がない場合(S201でNO)、ステップS202をスキップして、ステップS203に進む。
【0056】
ステップS203では、プリンタ側状態通知予約リスト550に示された状態が発生したか否かが判断される。すなわち、プリンタ側状態通知予約リスト550に存在する状態通知予約データ530における送信条件が満たされたか否かが判断される。たとえば図13において、送信条件は印刷終了である。
【0057】
プリンタ側状態通知予約リスト550に示された状態が発生した場合(S203でYES)、PC100に対して、状態通知予約データ530に対応する、たとえば図14に示すような状態通知560が送信される(S204)。続いて、プリンタ200は、該当する状態通知予約データ530を、プリンタ側状態通知予約リスト550から削除する(S205)。
【0058】
プリンタ側状態通知予約リスト550に示された状態が発生していない場合、ステップS204およびS205をスキップして、ステップS201に戻る。
【0059】
なお、図12に示す処理は、別途設けられる所定の条件にしたがってプログラムの実行が終了させられるまで、繰り返し行われる。
【0060】
このように本発明の第1実施形態によれば、状態通知受信装置としての機能を有するPC100は、状態通知を受信するためのポート番号を変更する変更処理が行われた場合、変更処理前のポート番号および変更処理後のポート番号のいずれを用いても状態通知を受信可能とする制御を行う。
【0061】
したがって、プリンタ200などの情報機器から送信される状態通知を受信するためのポート番号が何らかの理由で変更された場合であっても、ポート番号の変更前および変更後のいずれに登録された状態通知予約に基づく情報機器からの状態通知をも、確実に受信することができる。
【0062】
次に、本発明の第2実施形態について説明する。以下、第1実施形態と相違する点を中心に説明する。なお、第2実施形態のハードウェア構成は、第1実施形態のものと同様であるため同一の符号を用い、その説明を省略する。
【0063】
図15および図16は、本発明の第2実施形態に係るPC100で行われる処理について説明するためのフローチャートである。なお、図15および図16のフローチャートにより示されるアルゴリズムは、PC100のハードディスク104などの記憶装置にプログラムとして記憶されており、CPU101により実行される。
【0064】
ステップS301〜S309は、図4のステップS101〜S109とそれぞれ同様であるため、説明を省略する。
【0065】
状態通知を受信するためのポート番号を変更する変更処理が行われると(S309)、状態通知予約リスト集合部540の状態通知予約リスト541に存在する状態通知予約543は、図17に示すように削除予定日時が付加された上で、状態通知予約リスト集合部540の第2状態通知予約リスト542aに移動させられる(S310)。ここで、削除予定日時は、ポート番号の変更時(200X年2月1日8時とする)から所定時間後の日時、たとえば3時間後の200X年2月1日11時に設定される。ただし、削除予定日時は、手動あるいは自動を問わず、状態通知の受信を許容する期限として、所定日時に適宜設定され得る。なお、図17中の符号「544」は、状態通知の種類として印刷開始が選択され、ポート番号が1001番に変更された後に別途行われた状態通知予約を示すものである。
【0066】
続いて、第2状態通知予約リスト542aに存在する状態通知予約であって、状態通知の受信用に現時点で設定されているポート番号のものは、削除予定日時が削除された上で、状態通知予約リスト541に移動させられる(S311)。これにより、変更されたポート番号が、たとえば再度変更されて元のポート番号と同じになった場合、元のポート番号を含む状態通知予約を状態通知予約リスト541に戻すことが可能となる。
【0067】
ポート番号変更指示がない場合(S308でNO)、ステップS309〜S311をスキップして、ステップS312に進む。
【0068】
ステップS312では、第2状態通知予約リスト542aに、削除予定日時を過ぎた状態通知予約が存在するか否かが判断される。
【0069】
削除予定日時を過ぎた状態通知予約が存在する場合(S312でYES)、当該状態通知予約が、第2状態通知予約リスト542aから削除される(S313)。
【0070】
削除予定日時を過ぎた状態通知予約が存在しない場合(S312でNO)、ステップS313をスキップして、ステップS301に戻る。
【0071】
そして、たとえば図17に示す状態通知予約リスト集合部540において削除予定日時を過ぎた状態通知予約543が第2状態通知予約リスト542aから削除された場合(S313)、この時点で第2状態通知予約リスト542aには状態通知予約543が存在しない。このため、ステップS301では、PC100は、状態通知の受信用に現時点で設定されているポート番号である1001番を用いた場合にのみ、状態通知を受信可能とする。
【0072】
なお、図15および図16に示す処理は、別途設けられる所定の条件にしたがってプログラムの実行が終了させられるまで、繰り返し行われる。
【0073】
このように本発明の第2実施形態によれば、上記した第1実施形態と同様の効果が得られるほか、PC100は、削除予定日時以後、変更処理前のポート番号を用いた状態通知の受信を拒絶する。したがって、たとえばプリンタ側状態通知予約リストの内容が消えてしまう事態の発生などの種々の理由で、プリンタ200から状態通知が届かない場合であっても、長時間にわたりポートが不必要に開けられたまま放置される事態を防止することができ、セキュリティをより一層確保することができる。
【0074】
本発明は、上述した実施形態のみに限定されるものではなく、特許請求の範囲内において、種々改変することができる。
【0075】
たとえば、上述した実施形態では、情報機器としてプリンタを用いた場合について説明したが、本発明はこれに限られるものではない。本発明は、たとえばファクシミリ装置、複写機、多機能周辺機器(MFP)、スキャナ、デジタルカメラ、およびPCなどの情報機器にも適用することができる。また、状態通知受信装置としての機能を有する装置として、PCの代わりに、たとえばワークステーション、サーバなどのコンピュータが用いられてもよい。
【0076】
また、上述した実施形態では、状態通知を受信するためのポート番号が1つである場合について説明したが、本発明はこれに限られるものではなく、状態通知を受信するためのポート番号が複数有効に設定可能な場合にも適用することができる。この場合、複数設定されているポート番号のうちのいずれかを削除することも、ポート番号の変更という概念に含まれる。
【0077】
本発明において、状態通知を受信するための各種処理を行う手段および方法は、専用のハードウェア回路、またはプログラムされたコンピュータのいずれによっても実現することが可能である。上記プログラムは、例えばフレキシブルディスクやCD−ROMなどのコンピュータ読み取り可能な記録媒体によって提供されてもよいし、インターネット等のネットワークを介してオンラインで提供されてもよい。この場合、コンピュータ読み取り可能な記録媒体に記録されたプログラムは、通常、ハードディスク等の記憶装置に転送されて記憶される。また、上記プログラムは、単独のアプリケーションソフトとして提供されてもよいし、装置の一機能としてその装置のソフトウェアに組み込まれてもよい。
【0084】
【発明の効果】
上述したように、本発明によれば、プリンタなどの情報機器から送信される状態通知を受信するためのポート番号が何らかの理由で変更された場合であっても、ポート番号の変更前および変更後のいずれに登録された状態通知予約に基づく情報機器からの状態通知をも、確実に受信することができる。
【図面の簡単な説明】
【図1】 本発明の第1実施形態に係るPCが適用されたプリントシステムの構成を示すブロック図である。
【図2】 図1に示されるPCの構成を示すブロック図である。
【図3】 図1に示されるプリンタの構成を示すブロック図である。
【図4】 PCで行われる処理について説明するためのフローチャートである。
【図5】 操作用画面の一例を示す図である。
【図6】 状態通知予約データの一例を示す図である。
【図7】 状態通知予約の登録がない場合の、状態通知予約リスト集合部の一例を示す図である。
【図8】 状態通知予約が追加された場合の、状態通知予約リスト集合部の一例を示す図である。
【図9】 状態通知の表示例を示す図である。
【図10】 操作用画面を用いたポート番号の変更指示を説明するための図である。
【図11】 状態通知予約の状態通知予約リストから第2状態通知予約リストへの移動を説明するための図である。
【図12】 プリンタで行われる処理について説明するためのフローチャートである。
【図13】 プリンタ側状態通知予約リストの一例を示す図である。
【図14】 状態通知の一例を示す図である。
【図15】 本発明の第2実施形態に係るPCで行われる処理について説明するためのフローチャートである。
【図16】 図15から続くフローチャートである。
【図17】 本発明の第2実施形態に係る状態通知予約リスト集合部の一例を示す図である。
【符号の説明】
100…PC、
101、201…CPU、
102、202…ROM、
103、203…RAM、
104…ハードディスク、
105…表示部、
106…入力部、
107、206…ネットワークインタフェース、
108、207…バス、
200…プリンタ、
204…操作パネル部、
205…印刷部、
300…ネットワーク、
543…状態通知予約、
560…状態通知。[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a status notification receiving apparatus for receiving a status notification, which is a notification related to the status of the information device, from the information device.
[0002]
[Prior art]
In a system in which a personal computer (hereinafter referred to as “PC”) and a printer are connected to a network such as a LAN, the PC can transmit print data to the printer via the network and cause the printer to print.
[0003]
Here, a status notification that is a notification related to the status of the printer, such as a print completion notification, is transmitted from the printer to the PC. In this case, the printer designates a predetermined port number of the PC that is the transmission destination, and transmits a status notification to the PC.
[0004]
However, when the port number for receiving the status notification is used by another application, there is a problem that the PC cannot receive the status notification from the printer.
[0005]
In order to solve this problem, a technique has been proposed in which a port number for receiving a job processing result such as a print end notification is assigned from an unused port number to a function device such as a printer from a PC. (For example, refer to Patent Document 1). In this case, the printer can designate the port number notified from the PC and transmit the job processing result to the PC.
[0006]
[Patent Document 1]
JP 2002-189893 A
[0007]
[Problems to be solved by the invention]
However, in the technique described in
[0008]
For example, when installing a program on a PC, if the port number used by the program is determined and overlaps with the port number for receiving the status notification, the port number for receiving the status notification must be changed. Things that must be done can occur. Therefore, if a reservation for sending a status notification from the printer is made before the port number is changed, the status notification is sent to the port number before the PC change, so that the PC The problem of not being able to receive notifications remains. The technique described in
[0009]
The present invention has been made to solve the above-described problems, and an object of the present invention is when a port number for receiving a status notification transmitted from an information device such as a printer is changed. The present invention also provides a status notification receiving device that can reliably receive the status notification.
[0010]
[Means for Solving the Problems]
The above object of the present invention is achieved by the following means.
[0011]
(1) A status notification receiving apparatus for receiving a status notification, which is a notification regarding the status of the information device, from the information device, and a changing means for performing a change process for changing a port number for receiving the status notification; When the changing process is performed by the changing unit, by opening both ports corresponding to the port number before the changing process and the port number after the changing process, Until the arrival of the prescribed conditions The status notification can be received using either the port number before the change process or the port number after the change process. And rejecting the reception of the status notification using the port number before the change process when the predetermined condition has been reached. A status notification receiving device having control means for performing control.
[0012]
(2) The status notification receiving device according to (1), wherein the information device is a printing device.
[0013]
(3) The information processing apparatus further includes a registration unit that registers a reservation for transmitting the status notification from the information device, and the control unit performs the control when the reservation is registered. Alternatively, the status notification receiving device according to (2).
[0014]
(4) The above Predetermined conditions Received all status notifications based on the reservation registered prior to the change process Is that The state notification receiving device according to (3) above.
[0015]
(5) The above Predetermined conditions Is a predetermined date and time set as a time limit for allowing reception of the status notification Is The state notification receiving device according to (1) or (2) above.
(6) The state notification receiving device according to (5), wherein the predetermined date and time can be set based on a user operation.
( 7 A status notification receiving method for receiving a status notification that is a notification related to the status of the information device from the information device, the changing step performing a change process for changing a port number for receiving the status notification; When the change process is performed in the change step, by opening both ports corresponding to the port number before the change process and the port number after the change process, Until the arrival of the prescribed conditions The status notification can be received using either the port number before the change process or the port number after the change process. And rejecting the reception of the status notification using the port number before the change process when the predetermined condition has been reached. A status notification receiving method comprising: a control step for performing control.
( 8 ) A program for receiving a status notification, which is a notification regarding the status of the information device, from the information device, a change procedure for performing a change process for changing a port number for receiving the status notification; and When the change process is performed, by opening both ports corresponding to the port number before the change process and the port number after the change process, Until the arrival of the prescribed conditions The status notification can be received using either the port number before the change process or the port number after the change process. And rejecting the reception of the status notification using the port number before the change process when the predetermined condition has been reached. A program for causing a computer to execute a control procedure for performing control.
( 9 )the above( 8 A computer-readable recording medium on which the program described in (1) is recorded.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0017]
FIG. 1 is a block diagram showing a configuration of a printing system to which a PC according to the first embodiment of the present invention is applied.
[0018]
As shown in FIG. 1, the printing system includes a
[0019]
The type and number of devices connected to the network are not limited to the example shown in FIG. The present invention is also applicable to a system in which the PC 100 on the
[0020]
FIG. 2 is a block diagram showing a configuration of the
[0021]
FIG. 3 is a block diagram showing a configuration of the
[0022]
The
[0023]
The
[0024]
In the following, for example, a case where the
[0025]
Next, processing performed by the
[0026]
As shown in FIG. 4, first, the
[0027]
Here, for ease of understanding, an example of a general pattern starting from a state in which a change process (see S109 described later) for changing a port number for receiving a state notification has not yet been performed is taken up in order. explain. In this case, since there is nothing in the second status notification reservation list at first, the
[0028]
Subsequently, it is determined whether or not there is an instruction for reserving to receive a status notification from the printer 200 (S102).
[0029]
Such a reservation instruction can be given through the
[0030]
The
[0031]
Here, the user inputs the IP address of the
[0032]
In addition to the print end notification, for example, the status notification includes a print enable notification for notifying that the printer can perform print processing, and a print start notification for notifying that the printer has started the print processing. Other status notifications may be included. In addition, a reservation instruction for receiving a status notification such as a print end notification may be automatically issued when the user transmits a print job to the
[0033]
When there is a reservation instruction (YES in S102), status notification reservation data necessary for reservation for transmitting a status notification is transmitted to the printer 200 (S103). FIG. 6 shows an example of status notification reservation data. The status notification reservation data shown in FIG. 6 includes a
[0034]
Subsequently, a status notification reservation including a reservation for sending a status notification is added to the status notification reservation list and registered (S104). FIG. 7 shows an example of a status notification reservation list collection unit when no status notification reservation is registered. As shown in FIG. 7, the state notification reservation
[0035]
If there is no reservation instruction (NO in S102), steps S103 and S104 are skipped and the process proceeds to step S105.
[0036]
In step S105, it is determined whether or not a status notification (see FIG. 14) is received from the
[0037]
When the status notification is received (YES in S105), the
[0038]
If no status notification has been received (NO in S105), steps S106 and S107 are skipped and the process proceeds to step S108.
[0039]
In step S108, it is determined whether or not there is an instruction to change the port number.
[0040]
Such a port number change instruction can be issued by the user through the
[0041]
Here, as shown in FIG. 10, the user inputs a port number (for example, number 1001) for receiving a status notification in the port
[0042]
If there is a port number change instruction (YES in S108), a change process for changing the port number for receiving the status notification is performed (S109).
[0043]
Subsequently, the status notification reservation 543 (see FIG. 8) existing in the status
[0044]
If there is no port number change instruction (NO in S108), steps S109 and S110 are skipped and the process returns to step S101.
[0045]
Here, for example, a change process for changing the port number for receiving the status notification from 1000 to 1001 is performed (S109), and the
[0046]
Further, the process proceeds to step S102. However, in order to facilitate understanding, it is assumed at this point that there is no new reservation instruction (NO in S102), and the process proceeds to step S105.
[0047]
Here, it is assumed that the
[0048]
Subsequently, the
[0049]
Further, the process proceeds to step S108. However, in order to facilitate understanding, at this point, it is assumed that there is no new port number change instruction (NO in S108), and the process returns to step S101.
[0050]
In step S101, since the
[0051]
Note that the processing shown in FIG. 4 is repeatedly performed until the execution of the program is terminated in accordance with a predetermined condition provided separately.
[0052]
Next, processing performed by the
[0053]
As shown in FIG. 12, first, the
[0054]
When the status notification reservation data is received (YES in S201), for example, as shown in FIG. 13, the received status
[0055]
If no status notification reservation data has been received (NO in S201), step S202 is skipped and the process proceeds to step S203.
[0056]
In step S203, it is determined whether or not the state shown in the printer-side state
[0057]
When the state shown in the printer-side state
[0058]
If the status shown in the printer-side status
[0059]
The process shown in FIG. 12 is repeatedly performed until the execution of the program is terminated according to a predetermined condition provided separately.
[0060]
As described above, according to the first embodiment of the present invention, the
[0061]
Therefore, even when the port number for receiving the status notification transmitted from the information device such as the
[0062]
Next, a second embodiment of the present invention will be described. Hereinafter, a description will be given focusing on differences from the first embodiment. Since the hardware configuration of the second embodiment is the same as that of the first embodiment, the same reference numerals are used and the description thereof is omitted.
[0063]
FIGS. 15 and 16 are flowcharts for explaining processing performed by the
[0064]
Steps S301 to S309 are the same as steps S101 to S109 in FIG.
[0065]
When the change process for changing the port number for receiving the status notification is performed (S309), the
[0066]
Subsequently, for the status notification reservation existing in the second status
[0067]
If there is no port number change instruction (NO in S308), steps S309 to S311 are skipped and the process proceeds to step S312.
[0068]
In step S312, it is determined whether there is a status notification reservation that has passed the scheduled deletion date and time in the second status
[0069]
If there is a status notification reservation that has passed the scheduled deletion date and time (YES in S312), the status notification reservation is deleted from the second status
[0070]
If there is no status notification reservation past the scheduled deletion date and time (NO in S312), step S313 is skipped and the process returns to step S301.
[0071]
For example, when the
[0072]
The processes shown in FIGS. 15 and 16 are repeatedly performed until the execution of the program is terminated according to a predetermined condition provided separately.
[0073]
As described above, according to the second embodiment of the present invention, the same effects as those of the first embodiment described above can be obtained, and the
[0074]
The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope of the claims.
[0075]
For example, in the above-described embodiment, the case where a printer is used as the information device has been described, but the present invention is not limited to this. The present invention can also be applied to information devices such as facsimile machines, copiers, multifunction peripheral devices (MFPs), scanners, digital cameras, and PCs. Further, as a device having a function as a status notification receiving device, a computer such as a workstation or a server may be used instead of a PC.
[0076]
In the above-described embodiment, the case where there is one port number for receiving the state notification has been described. However, the present invention is not limited to this, and there are a plurality of port numbers for receiving the state notification. It can also be applied when it can be set effectively. In this case, deleting one of a plurality of set port numbers is also included in the concept of port number change.
[0077]
In the present invention, the means and method for performing various processes for receiving the status notification can be realized by either a dedicated hardware circuit or a programmed computer. The program may be provided by a computer-readable recording medium such as a flexible disk or a CD-ROM, or may be provided online via a network such as the Internet. In this case, the program recorded on the computer-readable recording medium is normally transferred to and stored in a storage device such as a hard disk. The program may be provided as a single application software, or may be incorporated in the software of the device as one function of the device.
[0084]
【The invention's effect】
As described above, according to the present invention, even when the port number for receiving a status notification transmitted from an information device such as a printer is changed for some reason, before and after the port number is changed. It is possible to reliably receive the status notification from the information device based on the status notification reservation registered in any of the above.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a print system to which a PC according to a first embodiment of the present invention is applied.
FIG. 2 is a block diagram showing a configuration of a PC shown in FIG.
FIG. 3 is a block diagram illustrating a configuration of the printer illustrated in FIG. 1;
FIG. 4 is a flowchart for explaining processing performed by a PC.
FIG. 5 is a diagram illustrating an example of an operation screen.
FIG. 6 is a diagram showing an example of status notification reservation data.
FIG. 7 is a diagram illustrating an example of a status notification reservation list collection unit when no status notification reservation is registered.
FIG. 8 is a diagram illustrating an example of a status notification reservation list collection unit when a status notification reservation is added.
FIG. 9 is a diagram illustrating a display example of a status notification.
FIG. 10 is a diagram for explaining a port number change instruction using an operation screen;
FIG. 11 is a diagram for explaining the movement from the status notification reservation list to the second status notification reservation list in the status notification reservation;
FIG. 12 is a flowchart for explaining processing performed by the printer.
FIG. 13 is a diagram illustrating an example of a printer-side status notification reservation list.
FIG. 14 is a diagram illustrating an example of a status notification.
FIG. 15 is a flowchart for explaining processing performed by a PC according to the second embodiment of the present invention.
FIG. 16 is a flowchart continued from FIG. 15;
FIG. 17 is a diagram showing an example of a status notification reservation list collection unit according to the second embodiment of the present invention.
[Explanation of symbols]
100 ... PC,
101, 201 ... CPU,
102, 202 ... ROM,
103, 203 ... RAM,
104 ... Hard disk,
105 ... display section,
106 ... input section,
107, 206 ... network interface,
108,207 ... Bus,
200 ... printer,
204 ... operation panel section,
205 ... printing section,
300 ... Network,
543 ... Status notification reservation,
560 ... Status notification.
Claims (9)
前記状態通知を受信するためのポート番号を変更する変更処理を行う変更手段と、
前記変更手段により前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御手段と
を有する状態通知受信装置。A status notification receiving device for receiving a status notification that is a notification regarding the status of the information device from the information device,
Change means for performing change processing for changing the port number for receiving the status notification;
When the changing process is performed by the changing unit, by opening both ports corresponding to the port number before the changing process and the port number after the changing process, the change is performed until a predetermined condition is reached. The status notification can be received using either the port number before processing or the port number after change processing, and the status notification using the port number before change processing when the predetermined condition is reached. A status notification receiving apparatus comprising control means for performing control for rejecting reception.
前記制御手段は、前記予約が登録されているとき、前記制御を行う請求項1または2に記載の状態通知受信装置。A registration unit for registering a reservation for sending the status notification from the information device;
The status notification receiving device according to claim 1, wherein the control unit performs the control when the reservation is registered.
前記状態通知を受信するためのポート番号を変更する変更処理を行う変更ステップと、
前記変更ステップにおいて前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御ステップと
を有する状態通知受信方法。A status notification receiving method for receiving a status notification, which is a notification regarding the status of the information device, from the information device,
A change step for performing a change process for changing a port number for receiving the status notification;
When the change process is performed in the change step, by opening both ports corresponding to the port number before the change process and the port number after the change process, the change is performed until a predetermined condition is reached. The status notification can be received using either the port number before processing or the port number after change processing, and the status notification using the port number before change processing when the predetermined condition is reached. A status notification receiving method comprising: a control step of performing control for rejecting reception.
前記状態通知を受信するためのポート番号を変更する変更処理を行う変更手順と、
前記変更手順において前記変更処理が行われた場合、前記変更処理前のポート番号および前記変更処理後のポート番号に該当する両ポートを開いた状態にすることにより、所定条件の到来までは前記変更処理前のポート番号および前記変更処理後のポート番号のいずれを用いても前記状態通知を受信可能とし、前記所定条件が到来した場合に前記変更処理前のポート番号を用いた前記状態通知の受信を拒絶する制御を行う制御手順と
をコンピュータに実行させるためのプログラム。A program for receiving a status notification that is a notification regarding the status of the information device from the information device,
A change procedure for performing a change process for changing a port number for receiving the status notification;
When the change process is performed in the change procedure, by opening both ports corresponding to the port number before the change process and the port number after the change process, the change is performed until a predetermined condition is reached. The status notification can be received using either the port number before processing or the port number after change processing, and the status notification using the port number before change processing when the predetermined condition is reached. A program for causing a computer to execute a control procedure for performing control for rejecting reception .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003093604A JP4258251B2 (en) | 2003-03-31 | 2003-03-31 | Status notification receiver |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003093604A JP4258251B2 (en) | 2003-03-31 | 2003-03-31 | Status notification receiver |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2004302757A JP2004302757A (en) | 2004-10-28 |
| JP2004302757A5 JP2004302757A5 (en) | 2005-08-25 |
| JP4258251B2 true JP4258251B2 (en) | 2009-04-30 |
Family
ID=33406351
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003093604A Expired - Fee Related JP4258251B2 (en) | 2003-03-31 | 2003-03-31 | Status notification receiver |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4258251B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008123424A (en) * | 2006-11-15 | 2008-05-29 | Fuji Xerox Co Ltd | Notification apparatus, notification system, and notification program |
-
2003
- 2003-03-31 JP JP2003093604A patent/JP4258251B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004302757A (en) | 2004-10-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8181256B2 (en) | Data transmission apparatus, control method therefor, and image input/output apparatus | |
| US8327037B2 (en) | Image input and output system, method and recording medium | |
| CN100380310C (en) | Image forming device, control method thereof, and image forming system | |
| US20080170259A1 (en) | Printing system and job processing method | |
| WO2008081976A2 (en) | Printing management server, printing management method and program, and recording medium | |
| US20100211951A1 (en) | Image processing apparatus, method of controlling the same, and storage medium | |
| JP2010219630A (en) | Workflow execution system, workflow execution method, and program | |
| JP2011248677A (en) | Image formation system, data processing device, image formation device and computer program | |
| US7167257B2 (en) | Method and apparatus for controlling image output on media of different output devices | |
| CN101237505A (en) | Imaging device and method of controlling imaging device | |
| US20070091361A1 (en) | Printer, print control method, and program for executing print control method | |
| US8760682B2 (en) | Job processing apparatus, control method therefor, and computer-readable storage medium | |
| JP2009071447A (en) | Information processing apparatus, control method thereof, and program | |
| JP2012175161A (en) | Operation display device and image transmission device | |
| JP2011253409A (en) | Image forming system | |
| JP4258251B2 (en) | Status notification receiver | |
| JP2005329620A (en) | Image forming apparatus, image forming apparatus control method, program, storage medium, and image forming system | |
| JP2000315131A (en) | Data processing device, data processing method, and storage medium storing computer readable program | |
| JP2006217212A (en) | Scan system, scan managing device, and scanner device | |
| JP6965627B2 (en) | Image forming device and program | |
| JP6665675B2 (en) | Conversion device, image forming system, and control program for conversion device | |
| JP2010214710A (en) | Printing system and image processor | |
| JP2006150778A (en) | Image processing device | |
| JP2006140812A (en) | Information processing apparatus and data transmission program | |
| JP2002171379A (en) | Image output system, image input device, management device and job management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050215 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050215 |
|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20050215 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071218 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080206 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080408 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20081007 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081117 |
|
| 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: 20090113 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090126 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120220 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130220 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140220 Year of fee payment: 5 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |