JP3624902B2 - Communication control of information processing equipment on a network - Google Patents
Communication control of information processing equipment on a network Download PDFInfo
- Publication number
- JP3624902B2 JP3624902B2 JP2002177912A JP2002177912A JP3624902B2 JP 3624902 B2 JP3624902 B2 JP 3624902B2 JP 2002177912 A JP2002177912 A JP 2002177912A JP 2002177912 A JP2002177912 A JP 2002177912A JP 3624902 B2 JP3624902 B2 JP 3624902B2
- Authority
- JP
- Japan
- Prior art keywords
- information processing
- information
- processing apparatus
- communication
- 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
- 230000010365 information processing Effects 0.000 title claims description 127
- 230000006854 communication Effects 0.000 title claims description 122
- 238000004891 communication Methods 0.000 title claims description 120
- 238000000034 method Methods 0.000 claims description 157
- 238000012545 processing Methods 0.000 claims description 82
- 238000011084 recovery Methods 0.000 claims description 45
- 230000008569 process Effects 0.000 claims description 38
- 230000005540 biological transmission Effects 0.000 claims description 22
- 230000004044 response Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 5
- 238000001994 activation Methods 0.000 description 14
- 230000004913 activation Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 7
- 102100021699 Eukaryotic translation initiation factor 3 subunit B Human genes 0.000 description 5
- 101000896557 Homo sapiens Eukaryotic translation initiation factor 3 subunit B Proteins 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 239000013256 coordination polymer Substances 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000007420 reactivation Effects 0.000 description 3
- 241000605281 Anaplasma phagocytophilum Species 0.000 description 2
- 241000018344 Ehrlichia sp. 'CGE agent' Species 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Description
【0001】
【発明の属する技術分野】
本発明は、ネットワーク上における情報処理装置の通信制御に関する。
【0002】
【従来の技術】
従来、サーバとクライアントとの間で通信を行うことによって、一連の処理を実現するシステムがある。例えば、インターネットに接続されたサーバとクライアントとプリンタとの間で通信を行い、印刷を実行する印刷システムがある。
【0003】
このような印刷システムでは、印刷を実行するために、サーバとクライアントとで種々の情報を管理する。例えば、サーバは、印刷システムで利用できるプリンタのアドレスや、その能力情報等を、登録管理する。この登録内容は、クライアントからの要求に応じて設定変更可能である。また、サーバは、登録されたプリンタごとに印刷ジョブを受け付け、保持するとともに、クライアントからの要求に応じて印刷ジョブを送信する。クライアントは、サーバから送信された印刷ジョブをプリンタによって印刷する。サーバは、また、クライアント側での印刷ジョブのステータスを管理し、クライアントから印刷完了の通知を受けた後、印刷ジョブを削除する。
【0004】
【発明が解決しようとする課題】
上記印刷システムを円滑に動作させるためには、登録されたプリンタについて、クライアント側での管理情報と、サーバ側での管理情報とが一致していることが望まれる。上述した各種の処理の途中に、サーバとクライアントとの間の通信に支障が生じた場合には、両者間で要求および応答のやり取りに支障が生じ、処理が正常に完了しないという不具合が生じ得た。
【0005】
例えば、プリンタの登録内容の変更処理を行う過程で、通信に支障が生じた場合には、クライアント側で管理情報の変更を行ったにも関わらず、サーバ側の管理情報が変更されない可能性があった。この結果、通信が復旧しても、上記印刷システムの不適切な動作を招くおそれがあった。また、印刷処理を行う過程で、通信に支障が生じた場合には、クライアント側で印刷処理が完了したにも関わらず、サーバは処理が完了していないものと判断する可能性があった。この結果、通信が復旧しても、サーバが印刷完了の通知を待ち続ける可能性があった。
【0006】
このような通信の支障に起因する課題は、上述した印刷システムに限らず、ネットワーク上に存在するサーバとクライアントとが通信によって一連の処理を行うシステムにおいて同様に生じ得る。
【0007】
本発明は、上述の課題を解決するためになされたものであり、ネットワーク上に存在するサーバとクライアントとの通信に支障が生じた場合の管理情報の不整合を回避することを目的とする。
【0008】
【課題を解決するための手段およびその作用・効果】
上述課題の少なくとも一部を解決するため、本発明では、以下の構成を採用した。
本発明の情報処理装置は、
ネットワーク上に存在する印刷仲介サーバコンピュータを含む他の情報処理装置と通信を行う情報処理装置であって、
前記印刷仲介サーバコンピュータに当該情報処理装置側で行われた所定の印刷処理に関連した処理を行わせるための要求を、予め定めたメソッドとして送信する送信部と、
該送信時に生じ得る通信の切断や当該情報処理装置側の処理プログラムのハングアップなどの通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報を生成する生成部と、
前記支障が解消されたときに、前記復旧情報を自動的に前記印刷仲介サーバコンピュータに送信する復旧情報送信部と、
を備え、
更に、前記生成部は、前記メソッドの種類と前記通信の支障が発生し得るタイミングに関連付けて、前記生成した復旧情報を保存する複数のタイミングを予め記憶しており、前記通信の支障が生じる際には、前記予め記憶した複数のタイミングのうち、前記メソッドの種類と前記通信の支障が発生したタイミングとに基づいて選択されたタイミングで、前記復旧情報を保存する処理を行なうこと
を要旨とする。
【0009】
復旧情報としては、例えば、通信の支障のために未送信である要求が挙げられる。こうすることによって、他の情報処理装置への要求の送信時に通信の支障が生じても、当該情報処理装置の再起動などによって通信の支障が解消されたときに、復旧情報を他の情報処理装置に自動的に送信することができる。この結果、他の情報処理装置と当該情報処理装置との管理情報の不整合を回避することができる。
【0010】
本発明の情報処理装置において、更に、
前記他の情報処理装置から前記要求に対する応答を受信する受信部を備え、
前記生成部は、前記受信時に生じた通信の支障が解消されたときに前記他の情報処理装置に送信すべき復旧情報を生成するようにしてもよい。
【0011】
他の情報処理装置と当該情報処理装置との通信において、当該情報処理装置が他の情報処理装置に対して要求を送信し、他の情報処理装置からその要求に対する応答を受信することによって一連の処理が完了する場合がある。この場合、当該情報処理装置が他の情報処理装置から応答を受信する前に通信に支障が生じると、当該情報処理装置は、他の情報処理装置側で要求を正常に受信したか否かが不明になる。本発明の情報処理装置は、応答の受信時に通信の支障が生じた場合に、他の情報処理装置に復旧情報を送信することによって、他の情報処理装置が当該情報処理装置からの要求を正常に受信したか否かを確認できるので、両者の管理情報の不整合を回避することができる。
【0012】
本発明の情報処理装置において、更に、
前記送信時に通信の支障が生じたか否かを判断する判断部を備え、
前記生成部は、前記判断部によって前記支障が生じたと判断された場合に、前記復旧情報を生成するようにしてもよい。
【0013】
こうすることによって、要求の送信時に通信の支障が生じたときに、判断部の判断によって自動的に復旧情報を生成することができる。
【0014】
上記受信部を備える情報処理装置において、更に、
前記受信時に通信の支障が生じたか否かを判断する判断部を備え、
前記生成部は、前記判断部によって前記支障が生じたと判断された場合に、前記復旧情報を生成するようにしてもよい。
【0015】
こうすることによって、応答の受信時に通信の支障が生じたときに、判断部の判断によって自動的に復旧情報を生成することができる。
【0016】
本発明の情報処理装置において、
前記生成部は、送信すべき復旧情報が予め明らかな場合には、前記支障が生じる前に前記復旧情報を生成し、前記通信が正常に完了したときに前記復旧情報を削除するようにしてもよい。
【0017】
通信に支障が生じる前に復旧情報を生成することによって、通信時に当該情報処理装置がハングアップしても、再起動時に復旧情報を送信することができる。また、当該情報処理装置がハングアップせずに要求の送信が完了したときには、復旧情報を削除するので、処理の完了後に処理済みの要求を送信することを回避することもできる。
【0018】
上記情報処理装置において、
前記生成部は、当該情報処理装置側で前記所定の処理が行われた後に、該処理が正常に終了したことを示す前記復旧情報を生成するようにしてもよい。
【0019】
こうすることによって、当該情報処理装置側で所定の処理が行われた後で通信の支障が生じた場合に、他の情報処理装置に復旧情報を送信することができる。
【0020】
また、前記生成部は、当該情報処理装置側で前記所定の処理が行われる前に、該処理が異常終了したことを示す前記復旧情報を生成するようにしてもよい。
【0021】
他の情報処理装置は、当該情報処理装置側での処理の状況、例えば、処理の完了の通知を受信した後に当該情報処理装置に応答を送信する場合がある。この場合、当該情報処理装置での処理中に通信の支障が生じても、他の情報処理装置は、当該情報処理装置からの通知を待ち続けることになる。当該情報処理装置は、処理を行う前に、例えば、「エラー終了」の通知を行う復旧情報を生成しておくことによって、処理中に通信に支障が生じたときに復旧情報の送信を行うことができる。
【0022】
本発明の情報処理装置において、
前記復旧情報送信部は、前記復旧情報の送信が完了したときに前記復旧情報を削除するようにすることが好ましい。
【0023】
こうすることによって、復旧情報を繰り返し送信することを回避することができる。また、メモリ内の復旧情報の増加を防止し、メモリの消費を抑制することができる。
【0024】
本発明の情報処理装置において、
前記他の情報処理装置は、前記ネットワーク上に存在し、当該情報処理装置の管理下にある印刷装置を、当該情報処理装置からの登録要求に応じて登録し、前記印刷装置によって印刷すべき所定の印刷ジョブを、当該情報処理装置からの前記印刷ジョブの送信要求に応じて当該情報処理装置に送信する情報処理装置であり、
前記要求は、前記印刷装置の登録の解除の通知を含むようにすることが好ましい。
【0025】
先に説明したように、他の情報処理装置と当該情報処理装置との通信によって印刷を実行する印刷システムでは、両者間で登録管理されている印刷装置が整合していることが望まれる。当該情報処理装置側での印刷装置の登録が解除されたにも関わらず、他の情報処理装置側での登録が解除されない場合には、他の情報処理装置は、解除されているはずの印刷装置用の印刷ジョブを受け付けてしまうという不具合が発生する。本発明の情報処理装置が他の情報処理装置に送信する要求は、印刷装置の登録の解除の通知を含むので、印刷装置の登録の解除の通知を復旧情報として送信することができる。この結果、他の情報処理装置と当該情報処理装置とで管理されている印刷装置の不整合を回避することができる。
【0026】
上記情報処理装置において、
前記他の情報処理装置は、更に、前記印刷装置の能力に関する能力情報を登録可能な他の情報処理装置であり、
前記要求は、前記能力情報の通知を含むようにするようにすることが好ましい。
【0027】
先に説明した印刷システムでは、他の情報処理装置が登録されている印刷装置の能力情報(例えば、カラー印刷が可能か否か)に応じた印刷ジョブを当該情報処理装置に送信する場合がある。本発明では、このような場合に、印刷装置の能力情報を復旧情報として送信することができる。この結果、印刷装置の能力情報の不整合を回避することができる。
【0028】
上記情報処理装置において、
前記他の情報処理装置は、更に、前記印刷ジョブが複数存在する場合に、1の前記印刷ジョブを当該情報処理装置に送信した後、当該情報処理装置から当該印刷ジョブの処理の完了の通知を受信した後に、当該情報処理装置に他の前記印刷ジョブを送信する情報処理装置であり、
前記要求は、前記印刷ジョブの処理の完了の通知を含むようにすることが好ましい。
【0029】
こうすることによって、当該情報処理装置側で印刷ジョブの処理が完了した後に通信の支障が生じ、通知を送信できなかった場合でも、印刷ジョブの処理の完了の通知を復旧情報として自動的に送信することができる。この結果、他の情報処理装置は、印刷ジョブの処理の完了の通知を受信し、次の処理を続行することができる。
【0030】
本発明は、上述の情報処理装置としての構成の他、情報処理装置の制御方法の発明として構成することもできる。また、これらを実現するコンピュータプログラム、およびそのプログラムを記録した記録媒体、そのプログラムを含み搬送波内に具現化されたデータ信号など種々の態様で実現することが可能である。なお、それぞれの態様において、先に示した種々の付加的要素を適用することが可能である。
【0031】
本発明をコンピュータプログラムまたはそのプログラムを記録した記録媒体等として構成する場合には、情報処理装置を駆動するプログラム全体として構成するものとしてもよいし、本発明の機能を果たす部分のみを構成するものとしてもよい。また、記録媒体としては、フレキシブルディスクやCD−ROM、DVD−ROM、光磁気ディスク、ICカード、ROMカートリッジ、パンチカード、バーコードなどの符号が印刷された印刷物、コンピュータの内部記憶装置(RAMやROMなどのメモリ)および外部記憶装置などコンピュータが読み取り可能な種々の媒体を利用できる。
【0032】
【発明の実施の形態】
以下、本発明の実施の形態について、実施例に基づき以下の順で説明する。
A.印刷システムの構成:
B.印刷仲介サーバ:
C.エージェント:
D.エージェントにおける処理:
E.登録プリンタ解除処理:
F.プリンタ能力情報変更処理:
G.エージェント終了処理:
H.エージェント起動処理:
I.未送信メソッドのINIファイルへの保存タイミング:
J.印刷処理:
K.変形例:
【0033】
A.印刷システムの構成:
図1は、本発明の情報処理装置を適用した一実施例としての印刷システム1000の概略構成を示す説明図である。印刷システム1000は、印刷仲介サーバコンピュータ(以下、単に「印刷仲介サーバ」という)100と、コンテンツ・プロバイダCPと、インターネットに接続可能な携帯電話MBと、2台のプリンタPRT1,PRT2とローカル接続されたパーソナルコンピュータPCとから構成されている。携帯電話MBの代わりに、汎用のパーソナルコンピュータや、PDAなど、通信装置を備えた情報端末を用いるものとしてもよい。パーソナルコンピュータPCは、インターネット・サービス・プロバイダISPおよびインターネットINTを介して、印刷仲介サーバ100、コンテンツ・プロバイダCP、携帯電話MBと接続されている。パーソナルコンピュータPCは、印刷仲介サーバ100との通信により、プリンタごとに所定の印刷ジョブを受信し、印刷処理を実行する。
【0034】
印刷仲介サーバ100は、プリンタPRT1,PRT2のアドレスおよびIDや、その能力情報などを登録管理している。プリンタの能力情報には、レーザプリンタ、インクジェットプリンタ等プリンタの種別や、カラー印刷が可能か否かなどの情報が含まれる。印刷仲介サーバ100は、また、携帯電話MBから指定された印刷ジョブを、出力すべきプリンタごとに受け付け、管理する。印刷仲介サーバ100は、本発明の「他の情報処理装置」に相当する。
【0035】
コンテンツ・プロバイダCPは、メールサーバや、コンテンツサーバを備えており、電子メール文書や、HTML等で作成された文書、画像などのコンテンツを配信する。
【0036】
携帯電話MBは、ブラウザを備えており、コンテンツ・プロバイダCPによって提供されるコンテンツを表示可能である。携帯電話MBは、表示したコンテンツや、その所在を表すURL(Uniform Resource Locator)を印刷ジョブとして、出力すべきプリンタの指定とともに印刷仲介サーバ100に転送する。
【0037】
パーソナルコンピュータPCは、エージェントと呼ばれるソフトウェアを備えている。このパーソナルコンピュータPCは、本発明の情報処理装置に相当する。エージェントは、印刷仲介サーバ100との通信によって、印刷仲介サーバ100へのプリンタの登録・解除・変更や、印刷ジョブのダウンロード、印刷処理などを行うための各種モジュールを備えたソフトウェアである。エージェントの詳細については後述する。
【0038】
B.印刷仲介サーバ:
図2は、印刷仲介サーバ100の概略構成を示す説明図である。印刷仲介サーバ100は、主制御部10と、通信制御部20と、UI提供部30と、ユーザ管理部40と、印刷ジョブ管理部50と、PDF変換部60と、モジュール管理部70とを備えている。これらの各機能ブロックは、ソフトウェア的に構成されている。これらの各機能ブロックは、ハードウェア的に構成することも可能である。また、本実施例では、説明の便宜上、単体のサーバ内に各機能ブロックが構成されている状態を例示したが、複数のサーバを用いた分散処理システムとして構成することも可能である。
【0039】
主制御部10は、印刷仲介サーバ100内の各機能ブロックの動作制御を行う。
【0040】
通信制御部20は、受信部22と、送信部24とを備えており、他のサーバや、クライアントとしてのパーソナルコンピュータPC(エージェント)との通信の制御を行う。
【0041】
UI提供部30は、携帯電話MBや、エージェントからの要求に従い、HTMLによるユーザインタフェースを提供する。UI提供部30は、例えば、携帯電話MBには、印刷ジョブや、プリンタの指定を行うためのユーザインタフェースを提供し、エージェントには、ユーザ登録などを行うためのユーザインタフェースを提供する。
【0042】
ユーザ管理部40は、ユーザIDおよびパスワードや、印刷システム1000で利用されるプリンタIDの管理を行う。ユーザ管理部40は、エージェントからのプリンタの登録、解除等の要求があった場合には、設定の変更を行う。
【0043】
印刷ジョブ管理部50は、携帯電話MBから指定された印刷ジョブを、ユーザ管理部40で管理されているプリンタごとに管理する。
【0044】
PDF変換部60は、エージェントから印刷ジョブの転送要求があった場合に、印刷ジョブをPDFファイルに変換する。PDF変換部60は、印刷ジョブ管理部50で管理されている印刷ジョブが単にコンテンツの所在を表すURLである場合には、そのURL先のコンテンツサーバからHTML文書や画像を取得してPDFファイルに変換する。本実施例では、印刷仲介サーバ100は、印刷ジョブをPDFファイルでエージェントに配信する。
【0045】
モジュール管理部70は、エージェントが備えるべき最新の各種モジュールを管理しており、エージェントからの要求に応じて、最新のモジュールを提供する。
【0046】
C.エージェント:
図3は、エージェント200の内部構成を示す説明図である。エージェント200は、エージェント管理モジュール210と、通信実装モジュール220と、エージェントブラウザモジュール230と、プリンタ管理DLL240と、印刷処理モジュール242と、プリンタ設定DLL244と、プリンタ登録モジュール246と、プリンタ管理拡張DLL248と、モジュール管理DLL250と、バージョンアップ処理モジュール252と、エージェント起動ランチャモジュール260と、エージェント設定モジュール270とを備えている。これらの各機能ブロックは、ソフトウェア的に構成されている。これらの各機能ブロックは、ハードウェア的に構成することも可能である。
【0047】
エージェント管理モジュール210は、エージェント200内の各部を統括管理する。エージェント管理モジュール210は、各モジュール、DLLからの要求を通信実装モジュール220に転送し、印刷仲介サーバ100から受信した戻り値を要求元の各モジュールに振り分ける。
【0048】
通信実装モジュール220は、印刷仲介サーバ100とHTTP(HyperText Transfer Protocol)による通信(HTTP通信)を行うための通信手段を実現する。通信実装モジュール220は、エージェント管理モジュール210から転送された要求を格納するためのキュー(図示省略)を備えており、キューに格納された順序で要求をHTTPリクエストに変換し、印刷仲介サーバ100へ送信する。また、送信した要求に対する印刷仲介サーバ100からのHTTPレスポンスの受信を行う。また、エージェントブラウザモジュール230からHTTP通信を行うためのゲートウェイ機能も提供する。通信実装モジュール220は、また、印刷仲介サーバ100との通信が切断されたか否かの判断も行う。通信実装モジュール220は、本発明の送信部、受信部、判断部に相当する。
【0049】
プリンタ管理DLL240は、エージェント200で使用するプリンタの監視、印刷の実行および印刷状況の監視を行う。即ち、プリンタ管理DLL240は、プリンタ管理拡張DLL248によって、プリンタPRT1,PRT2との通信を行い、プリンタステータスやジョブステータスを取得し、その変化を監視する。また、プリンタ管理DLL240は、印刷処理モジュール242によって、印刷処理を実行する。印刷処理モジュールは、エージェント管理モジュール210、プリンタ管理DLL240からの指示に従い、印刷仲介サーバ100から受信した印刷ジョブとしてのPDFファイルからデータを読み込み、プリンタへ出力する。
【0050】
プリンタ設定DLL244は、エージェント200で使用するプリンタの登録、解除、プリンタ能力情報の変更の設定を行う。これらの設定は、プリンタ登録モジュール246が提供するユーザインタフェースから行われる。設定された内容は、レジストリに保存され、管理される。設定の変更などがあった場合には、レジストリの内容が変更される。
【0051】
モジュール管理DLL250は、エージェント200を構成する各モジュール、DLLのバージョンを管理し、また、各プロセスの稼動状況を監視する。バージョンアップ処理モジュール252は、印刷仲介サーバ100のモジュール管理部70から最新のモジュール、DLLをダウンロードし、インストールする。
【0052】
エージェント起動ランチャモジュール260は、ユーザがエージェント200の起動処理や終了処理を実行するための手段を提供する。
【0053】
エージェント設定モジュール270は、ユーザがエージェント200の各種設定を行うためのユーザインタフェースを提供する。本実施例では、インターネット接続(ダイヤルアップ接続するか否か、ダイヤルアップ接続の接続先)や、印刷ジョブのチェック(印刷ジョブの有無をチェックする時間間隔)、各モジュールのバージョンアップ(自動バージョンアップを行うか否か)に関する各種設定を行うことができる。
【0054】
エージェントブラウザモジュール230は、印刷システム1000で使用するプリンタのオーナー登録や、印刷仲介サーバ100から印刷ジョブをダウンロードしたときの印刷指示などを行うためのユーザインタフェースを提供する。
【0055】
エージェント200と印刷仲介サーバ100との通信および各モジュール間の通信は、後述するメソッドのやり取りによって行われる。このメソッドは、エージェント200と印刷仲介サーバ100との通信を、通信実装モジュール220で一元化し、通信プロトコルの変更に柔軟に対応するために定義されたものである。
【0056】
図4は、本実施例で用いられるメソッドを示す説明図である。本実施例では、図示した7種類のメソッドが用意されている。以下、各メソッドを、略称を用いて呼ぶ。
【0057】
RPメソッドは、印刷システム1000で利用するプリンタの印刷仲介サーバ100への登録するためのメソッドである。
【0058】
DPメソッドは、印刷仲介サーバ100に登録されているプリンタの登録を解除するためのメソッドである。
【0059】
GJメソッドは、印刷仲介サーバ100から印刷ジョブファイルをダウンロードするためのメソッドである。
【0060】
PSメソッドは、印刷仲介サーバ100にプリントステータスを通知するためのメソッドである。
【0061】
JSメソッドは、印刷仲介サーバ100にジョブステータスを通知するためのメソッドである。
【0062】
PCメソッドは、印刷仲介サーバ100にプリンタ能力情報を通知するためのメソッドである。PCメソッドは、プリンタ能力情報の変更時に用いられる。
【0063】
NJメソッドは、印刷仲介サーバ100に新たな印刷ジョブがあるか否かを問い合わせるためのメソッドである。
【0064】
D.エージェントにおける処理:
図5は、エージェント200の起動から終了までの処理の流れを示すフローチャートである。まず、エージェント200の起動処理を行う(ステップS100)。エージェント200の起動処理では、先に説明した各モジュールの起動および初期化を行う。そして、プリンタ状態監視処理(ステップS200a)、モジュール稼動状態監視処理(ステップS200b)、バージョンアップ処理(ステップS200c)、プリンタ登録・解除・変更処理(ステップS200d)、印刷処理(ステップS200e)、エラー処理(ステップS200f)を適宜行いつつ、通信処理を実行する(ステップS200)。各処理が終了すると、エージェント200の終了処理を行う(ステップS300)。
【0065】
先に説明したように、通信処理において、通信の切断や、エージェント200のハングアップなど、通信に支障が生じた場合、処理の種類によっては印刷システム1000が円滑に動作しなくなる場合がある。ここでは、処理の完了前に通信に支障が生じた場合に不適切な動作を招く可能性が高い「登録プリンタの解除処理」、「プリンタ能力情報変更処理」に着目して説明する。
【0066】
E.登録プリンタ解除処理:
図6は、印刷仲介サーバ100に登録されているプリンタを解除する処理の流れを示すフローチャートである。図6には、通信の支障が生じることなく、正常に処理が行われる場合のフローチャートを示した。まず、プリンタ登録モジュール246を用い、レジストリから所望のプリンタのプリンタIDおよびプリンタ能力情報を削除する(ステップS210)。そして、通信実装モジュール220から印刷仲介サーバ100へ、登録プリンタの解除を行うためのDPメソッドを送信する(ステップS212)。通信実装モジュール220が印刷仲介サーバ100から“OK”の戻り値を有するDPメソッドを受信すると(ステップS214)、登録プリンタ解除処理を終了する。ステップS212またはステップS214の通信時に支障が生じた場合には、DPメソッドは、通信実装モジュール220のキューに残ったままとなる。
【0067】
F.プリンタ能力情報変更処理:
図7は、印刷仲介サーバ100に登録されているプリンタの能力情報を変更する処理の流れを示すフローチャートである。図7には、正常に処理が行われる場合のフローチャートを示した。まず、プリンタ登録モジュール246を用い、レジストリのプリンタ能力情報を変更する(ステップS220)。そして、通信実装モジュール220から印刷仲介サーバ100へ変更後の内容を通知するためのPCメソッドを送信する(ステップS222)。通信実装モジュール220が印刷仲介サーバ100から“OK”の戻り値を有するPCメソッドを受信すると(ステップS224)、プリンタ能力情報変更処理を終了する。ステップS222またはステップS224の通信時に支障が生じた場合には、PCメソッドは、通信実装モジュール220のキューに残ったままとなる。
【0068】
本実施例では、上述した登録プリンタ解除処理およびプリンタ能力情報変更処理の際に通信の支障が生じた場合に備えて、以下に説明するエージェント終了処理およびエージェント起動(再起動)処理を行う。
【0069】
G.エージェント終了処理:
図8は、エージェント200の終了処理の流れを示すフローチャートである。ユーザがエージェント起動ランチャモジュール260から「エージェント終了」を実行すると、まず、通信実装モジュール220のキュー内に未送信のメソッドがあるか否かを判断する(ステップS302)。キュー内に未送信のメソッドがなければ、各モジュールを終了し、エージェント終了処理を終了する。
【0070】
キュー内に未送信のメソッドがあれば、通信実装モジュール220は、そのメソッドを印刷仲介サーバ100に送信する(ステップS304)。そして、通信実装モジュール220が送信したメソッドに対する印刷仲介サーバ100からの応答を受信したか否かを判断する(ステップS306)。通信実装モジュール220が応答を受信した場合は、印刷仲介サーバ100での処理が完了したものと判断して、各モジュールを終了し、エージェント終了処理を終了する。通信実装モジュール220が応答を受信できなかった場合は、通信の支障が生じたと判断して、その内容を未送信メソッドとしてINIファイルに保存して(ステップS308)、各モジュールを終了する。そして、エージェント終了処理を終了する。
【0071】
なお、本実施例では、INIファイルに保存する未送信メソッドは、先述したDPメソッド、PCメソッドおよび後述するJSメソッドとした。他のメソッドについては、エージェント200と印刷仲介サーバ100との間で同期をとる必然性が低いので、保存しないものとした。
【0072】
H.エージェント起動処理:
図9は、エージェント200の起動(再起動)処理の流れを示すフローチャートである。ユーザがエージェント起動ランチャモジュール260から「エージェント起動」を実行すると、まず、各モジュールを起動する(ステップS101)。そして、INIファイルに未送信メソッドが保存されているか否かを判断する(ステップS102)。未送信メソッドが保存されていなければ、起動処理を終了する。
【0073】
INIファイルに未送信メソッドが保存されていれば、未送信メソッドを読み出し(ステップS103)、通信実装モジュール220から印刷仲介サーバ100に送信する(ステップS104)。そして、通信実装モジュール220が送信したメソッドに対する印刷仲介サーバからの応答を受信した後(ステップS105)。INIファイルの未送信メソッドに関する記述を削除し(ステップS106)、エージェント起動処理を終了する。
【0074】
こうすることによって、メソッドを通信実装モジュール220のキューに格納した後に通信の支障が生じても、エージェント200の終了時にINIファイルに未送信メソッドが保存されるので、エージェント200の再起動時には、INIファイルから未送信メソッドを読み出し、送信することができる。従って、エージェント200と印刷仲介サーバ100でのプリンタに関する管理情報の不整合を回避することができる。なお、INIファイルに保存された未送信メソッドの内容は、本発明の復旧情報に相当する。また、通信実装モジュール220は、本発明の生成部、復旧情報送信部にも相当する。
【0075】
I.未送信メソッドのINIファイルへの保存タイミング:
本実施例において、通信実装モジュール220がINIファイルに未送信メソッドを保存する適切なタイミングは、通信の支障の態様や、支障の発生タイミングや、メソッドの種類によって異なる。
【0076】
通信の支障の態様としては、
(1)通信の切断と、
(2)エージェント200のハングアップと、
の2通りがある。
【0077】
そして、これら支障の発生タイミングとしては、
(a)メソッドの送信前、更には、
(a1)エージェント200での処理前と、
(a2)エージェント200での処理後と、
(b)メソッドの送信後(応答受信前)と、
の3通りがある。
【0078】
図10は、通信の支障の態様、その発生タイミング、メソッドの種類に応じたINIファイルへの未送信メソッドの保存タイミングを示す説明図である。
【0079】
先に説明したDPメソッド、PCメソッドについての保存タイミングは、(1)と、(a2)または(b)との組み合わせの場合に対応している。(1)の場合には、エージェント200はハングアップしていないので、通信の支障が発生した後でメソッドをINIファイルへ保存すれば足りる。通信の支障が生じる前(メソッドをキューに格納後)にメソッドをINIファイルに保存するようにしてもよい。なお、DPメソッド、PCメソッドは、エージェント200での処理が終了した後でなければ、その内容を確定できないメソッドであるから、(1)と(a1)の組み合わせの場合には、メソッドをINIファイルに保存することができない。(2)に対処するためには、支障の発生後は、エージェント200が動作しないので、メソッドをキューに格納後すぐにINIファイルに保存することが好ましい。
【0080】
エージェント200と印刷仲介サーバ100との間での通信に支障が生じた場合に、両者間で同期をとる必然性が高いメソッドとしては、上述したDPメソッド、PCメソッドの他にJSメソッドがある。本実施例の印刷システム1000では、印刷仲介サーバ100は、エージェント200から、「印刷完了」や、「エラー終了」等、処理の終了を示すジョブステータスの通知を待って、次の処理を行うからである。JSメソッドの通信時に支障が生じた場合には、印刷仲介サーバ100は、エージェント200からのジョブステータスの通知を待ち続けてしまう。
【0081】
JSメソッドは、ジョブステータスを通知するためのメソッドであり、その内容が処理の経過とともに変化するものである。従って、JSメソッドは、印刷が完了する前であってもINIファイルに保存することが可能である。この場合、プリンタ管理DLL240が監視するジョブステータスに応じて、INIファイルに保存するメソッドの内容を随時更新することも可能ではあるが、本実施例では、上記(2)に対処するために、印刷を実行する前に、予め「エラー終了」を通知するためのJSメソッドをINIファイルに保存することとした。ただし、「エラー終了」のJSメソッドをINIファイルに保存後、印刷の実行が完了した場合には、通信の支障が生じた後で、「印刷完了」を通知するためのJSメソッドをINIファイルに保存することとした。
【0082】
J.印刷処理:
図11は、印刷処理の流れを示すフローチャートである。まず、通信実装モジュール220から印刷仲介サーバ100へ、印刷ジョブの有無を問い合わせるためのNJメソッドを送信する(ステップS230)。通信実装モジュール220が印刷仲介サーバ100から印刷ジョブありとのNJメソッドを受信すると(ステップS231)、「エラー終了」を通知するためのJSメソッドをINIファイルに保存する(ステップS232)。こうすることによって、この後、印刷処理がエラー終了した場合に、エージェント200の再起動時に、印刷処理のエラー終了を通知するためのJSを印刷仲介サーバ100に自動的に送信することができる。
【0083】
そして、通信実装モジュール220から印刷仲介サーバ100に印刷ジョブファイルをダウンロードするためのGJメソッドを送信して(ステップS233)、印刷ジョブファイル(PDFファイル)を受信する(ステップS234)。そして、印刷を実行する(ステップS235)。印刷が完了すると、印刷ジョブファイルを破棄し(ステップS236)、「印刷完了」を通知するためのJSメソッドを送信する(ステップS237)。そして、INIファイルに保存した「エラー終了」のJSメソッドを削除する(ステップS238)。「エラー終了」のJSメソッドは、印刷完了後に削除されるので、印刷完了後に、印刷実行前に予め保存された「エラー終了」のJSメソッドが送信されることはない。通信実装モジュール220が印刷仲介サーバ100から“OK”の戻り値を有するJSメソッドを受信すると(ステップS239)、印刷処理を終了する。
【0084】
このようにすることによって、印刷仲介サーバ100が、エージェントからのJSメソッドの送信を待ち続けてしまうことを回避することができる。
【0085】
本実施例のエージェント200によれば、印刷仲介サーバ100とエージェント200との通信に支障が生じた場合に、送信すべきメソッドをINIファイルに保存し、エージェント200の再起動時に読み出して自動的に送信することができるので、両者の管理情報の不整合を回避することができる。
【0086】
K.変形例:
以上、本発明のいくつかの実施の形態について説明したが、本発明はこのような実施の形態になんら限定されるものではなく、その要旨を逸脱しない範囲内において種々なる態様での実施が可能である。例えば、以下のような変形例が可能である。
【0087】
K1.変形例1:
上記実施例では、プリンタPRT1,PRT2は、パーソナルコンピュータPCとローカル接続されているのもとしたが、これに限られない。プリンタPRT1,PRT2は、ネットワーク、例えば、インターネット上に存在し、パーソナルコンピュータPC(エージェント200)の管理下にあればよい。
【0088】
K2.変形例2:
上記実施例では、エージェント200の再起動時に未送信メソッドを印刷仲介サーバ100に送信するものとしたが、再起動の有無によらず、通信の支障が生じ、支障が解消した後に送信するものとしてもよい。
【0089】
K3.変形例3:
上記実施例では、通信の支障が生じたときに、未送信メソッドをINIファイルに保存するものとしたが、これに限られない。他のファイルに保存するようにしてもよい。
【0090】
K4.変形例4:
上記実施例では、本発明の情報処理装置を、印刷システム1000を例に説明したが、これに限られない。ネットワーク上に存在する情報処理装置間の通信によって一連の処理を行うシステムにおいて同様に適用可能である。従って、上記実施例では、本発明の情報処理装置をクライアント(パーソナルコンピュータPC)側に適用したが、サーバ(印刷仲介サーバ100)側に適用してもよい。
【図面の簡単な説明】
【図1】本発明の情報処理装置を適用した一実施例としての印刷システム1000の概略構成を示す説明図である。
【図2】印刷仲介サーバ100の概略構成を示す説明図である。
【図3】エージェント200の内部構成を示す説明図である。
【図4】本実施例で用いられるメソッドを示す説明図である。
【図5】エージェント200の起動から終了までの処理の流れを示すフローチャートである。
【図6】印刷仲介サーバ100に登録されているプリンタを解除する処理の流れを示すフローチャートである。
【図7】印刷仲介サーバ100に登録されているプリンタの能力情報を変更する処理の流れを示すフローチャートである。
【図8】エージェント200の終了処理の流れを示すフローチャートである。
【図9】エージェント200の起動(再起動)処理の流れを示すフローチャートである。
【図10】通信の支障の態様、その発生タイミング、メソッドの種類に応じたINIファイルへの未送信メソッドの保存タイミングを示す説明図である。
【図11】印刷処理の流れを示すフローチャートである。
【符号の説明】
1000…印刷システム
10…主制御部
20…通信制御部
22…受信部
24…送信部
30…UI提供部
40…ユーザ管理部
50…印刷ジョブ管理部
70…モジュール管理部
100…印刷仲介サーバ
200…エージェント
210…エージェント管理モジュール
220…通信実装モジュール
230…エージェントブラウザモジュール
240…プリンタ管理DLL
242…印刷処理モジュール
244…プリンタ設定DLL
246…プリンタ登録モジュール
250…モジュール管理DLL
252…バージョンアップ処理モジュール
260…エージェント起動ランチャモジュール
270…エージェント設定モジュール[0001]
BACKGROUND OF THE INVENTION
The present invention relates to communication control of an information processing apparatus on a network.
[0002]
[Prior art]
Conventionally, there is a system that realizes a series of processing by performing communication between a server and a client. For example, there is a printing system that performs printing by communicating between a server connected to the Internet, a client, and a printer.
[0003]
In such a printing system, various information is managed by the server and the client in order to execute printing. For example, the server registers and manages printer addresses that can be used in the printing system, capability information, and the like. This registered content can be changed according to a request from the client. The server receives and holds a print job for each registered printer, and transmits the print job in response to a request from the client. The client prints the print job transmitted from the server by the printer. The server also manages the status of the print job on the client side, and deletes the print job after receiving a print completion notification from the client.
[0004]
[Problems to be solved by the invention]
In order for the printing system to operate smoothly, it is desirable that the management information on the client side and the management information on the server side match for the registered printer. If communication between the server and the client is interrupted during the various processes described above, there may be a problem in that the request and response exchange between the two will interfere and the process may not be completed normally. It was.
[0005]
For example, in the process of changing the registered content of the printer, if communication trouble occurs, the management information on the server side may not be changed even though the management information is changed on the client side. there were. As a result, even if the communication is restored, there is a possibility that an inappropriate operation of the printing system is caused. Further, if a communication problem occurs during the printing process, the server may determine that the process is not completed despite the completion of the printing process on the client side. As a result, even if communication is restored, there is a possibility that the server continues to wait for a print completion notification.
[0006]
Problems due to such communication troubles may occur not only in the above-described printing system, but also in a system in which a server and a client existing on a network perform a series of processes by communication.
[0007]
The present invention has been made to solve the above-described problem, and an object of the present invention is to avoid inconsistency in management information when a communication between a server and a client existing on a network is hindered.
[0008]
[Means for solving the problems and their functions and effects]
In order to solve at least a part of the above-described problems, the present invention employs the following configuration.
The information processing apparatus of the present invention
An information processing apparatus that communicates with other information processing apparatuses including a print mediation server computer existing on a network,
A transmission unit that transmits, as a predetermined method, a request for causing the print mediation server computer to perform processing related to predetermined printing processing performed on the information processing apparatus side;
Restoration information to be sent to the print mediation server computer when troubles in communication such as disconnection of communication that may occur at the time of transmission and hang-up of the processing program on the information processing apparatus are resolved News A generating unit to generate;
A recovery information transmission unit that automatically transmits the recovery information to the print mediation server computer when the trouble is resolved;
With
Further, the generation unit stores in advance a plurality of timings for storing the generated recovery information in association with the type of the method and the timing at which the communication failure may occur, and when the communication failure occurs. Processing for storing the restoration information at a timing selected based on the type of the method and the timing at which the communication trouble has occurred among the plurality of timings stored in advance. about
Is the gist.
[0009]
The restoration information includes, for example, a request that has not been transmitted due to a communication failure. In this way, even if a communication failure occurs during transmission of a request to another information processing device, the recovery information is transferred to another information processing when the communication failure is resolved by restarting the information processing device. Can be automatically sent to the device. As a result, inconsistency in management information between another information processing apparatus and the information processing apparatus can be avoided.
[0010]
In the information processing apparatus of the present invention,
A receiving unit that receives a response to the request from the other information processing apparatus;
The generation unit may generate recovery information to be transmitted to the other information processing apparatus when the communication trouble that occurs at the time of reception is resolved.
[0011]
In communication between another information processing apparatus and the information processing apparatus, the information processing apparatus transmits a request to the other information processing apparatus and receives a response to the request from the other information processing apparatus. Processing may be completed. In this case, if a problem occurs in communication before the information processing apparatus receives a response from another information processing apparatus, the information processing apparatus determines whether the other information processing apparatus has received the request normally. Become unknown. The information processing apparatus according to the present invention transmits a recovery information to another information processing apparatus when a communication trouble occurs at the time of receiving a response, so that the other information processing apparatus normally requests a request from the information processing apparatus. Therefore, it is possible to avoid inconsistency between the management information of the two.
[0012]
In the information processing apparatus of the present invention,
A determination unit for determining whether or not a communication failure has occurred during the transmission;
The generation unit may generate the recovery information when the determination unit determines that the trouble has occurred.
[0013]
By doing so, the recovery information can be automatically generated according to the determination of the determination unit when a communication trouble occurs when the request is transmitted.
[0014]
In the information processing apparatus comprising the receiving unit,
A determination unit for determining whether or not a communication trouble has occurred at the time of reception;
The generation unit may generate the recovery information when the determination unit determines that the trouble has occurred.
[0015]
By doing so, the recovery information can be automatically generated according to the determination of the determination unit when a communication trouble occurs when the response is received.
[0016]
In the information processing apparatus of the present invention,
When the recovery information to be transmitted is clear in advance, the generation unit generates the recovery information before the trouble occurs, and deletes the recovery information when the communication is normally completed. Good.
[0017]
By generating the recovery information before trouble occurs in communication, even if the information processing apparatus hangs up during communication, the recovery information can be transmitted during restart. Further, when the transmission of the request is completed without the information processing apparatus hanging up, the recovery information is deleted, so that it is possible to avoid transmitting the processed request after the processing is completed.
[0018]
In the information processing apparatus,
The generation unit may generate the restoration information indicating that the process has been normally completed after the predetermined process is performed on the information processing apparatus side.
[0019]
By doing so, the recovery information can be transmitted to another information processing apparatus when communication trouble occurs after predetermined processing is performed on the information processing apparatus side.
[0020]
In addition, the generation unit may generate the recovery information indicating that the process has ended abnormally before the predetermined process is performed on the information processing apparatus side.
[0021]
The other information processing apparatus may transmit a response to the information processing apparatus after receiving a processing status on the information processing apparatus side, for example, a notification of completion of the processing. In this case, even if communication trouble occurs during processing in the information processing apparatus, other information processing apparatuses continue to wait for notification from the information processing apparatus. Prior to processing, the information processing apparatus, for example, generates recovery information for notifying "error end", so that the recovery information is transmitted when communication is interrupted during processing. Can do.
[0022]
In the information processing apparatus of the present invention,
It is preferable that the recovery information transmitting unit deletes the recovery information when transmission of the recovery information is completed.
[0023]
By doing so, it is possible to avoid repeatedly transmitting the recovery information. In addition, it is possible to prevent an increase in recovery information in the memory and to suppress memory consumption.
[0024]
In the information processing apparatus of the present invention,
The other information processing apparatus registers a printing apparatus that exists on the network and is managed by the information processing apparatus in response to a registration request from the information processing apparatus, and is to be printed by the printing apparatus. An information processing apparatus that transmits the print job to the information processing apparatus in response to the print job transmission request from the information processing apparatus,
The request preferably includes a notification of deregistration of the printing apparatus.
[0025]
As described above, in a printing system that performs printing through communication between another information processing apparatus and the information processing apparatus, it is desirable that the printing apparatuses registered and managed be consistent with each other. If the registration of the printing device on the information processing device side is cancelled, but the registration on the other information processing device side is not cancelled, the other information processing device prints that should have been cancelled. There is a problem that a print job for the apparatus is received. Since the request transmitted from the information processing apparatus of the present invention to the other information processing apparatus includes a notification of cancellation of registration of the printing apparatus, the notification of cancellation of registration of the printing apparatus can be transmitted as recovery information. As a result, it is possible to avoid inconsistencies between printing apparatuses managed by other information processing apparatuses and the information processing apparatus.
[0026]
In the information processing apparatus,
The other information processing apparatus is further another information processing apparatus capable of registering capability information regarding the capability of the printing apparatus,
Preferably, the request includes a notification of the capability information.
[0027]
In the printing system described above, a print job according to the capability information (for example, whether color printing is possible) of a printing apparatus in which another information processing apparatus is registered may be transmitted to the information processing apparatus. . In the present invention, the capability information of the printing apparatus can be transmitted as recovery information in such a case. As a result, it is possible to avoid inconsistency in the capability information of the printing apparatus.
[0028]
In the information processing apparatus,
The other information processing apparatus further transmits a single print job to the information processing apparatus when there are a plurality of the print jobs, and then notifies the information processing apparatus of the completion of processing of the print job. An information processing apparatus that transmits the print job to the information processing apparatus after receiving the information;
The request preferably includes a notification of completion of processing of the print job.
[0029]
In this way, even if the information processing device has completed processing of the print job and a communication failure has occurred and the notification cannot be sent, the print job processing completion notification is automatically sent as recovery information. can do. As a result, the other information processing apparatus can receive the notification of completion of the processing of the print job and can continue the next processing.
[0030]
The present invention can be configured as an invention of a method for controlling an information processing apparatus in addition to the above-described structure as an information processing apparatus. Further, the present invention can be realized in various modes such as a computer program that realizes these, a recording medium that records the program, and a data signal that includes the program and is embodied in a carrier wave. In addition, in each aspect, it is possible to apply the various additional elements shown above.
[0031]
When the present invention is configured as a computer program or a recording medium that records the program, the entire program for driving the information processing apparatus may be configured, or only the portion that performs the functions of the present invention is configured. It is good. The recording medium includes a flexible disk, a CD-ROM, a DVD-ROM, a magneto-optical disk, an IC card, a ROM cartridge, a punch card, a printed matter on which a code such as a barcode is printed, an internal storage device of a computer (RAM or Various types of computer-readable media such as a memory such as a ROM and an external storage device can be used.
[0032]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in the following order based on examples.
A. Configuration of printing system:
B. Print mediation server:
C. Agent:
D. Processing at the agent:
E. Registered printer release processing:
F. Printer capability information change processing:
G. Agent termination processing:
H. Agent startup processing:
I. Saving timing of unsent method to INI file:
J. et al. Printing process:
K. Variation:
[0033]
A. Configuration of printing system:
FIG. 1 is an explanatory diagram showing a schematic configuration of a
[0034]
The
[0035]
The content provider CP includes a mail server and a content server, and distributes contents such as e-mail documents, documents created with HTML, images, and the like.
[0036]
The mobile phone MB includes a browser and can display content provided by the content provider CP. The mobile phone MB transfers the displayed content and a URL (Uniform Resource Locator) indicating the location thereof to the
[0037]
The personal computer PC includes software called an agent. This personal computer PC corresponds to the information processing apparatus of the present invention. The agent is software including various modules for performing registration / cancellation / change of a printer in the
[0038]
B. Print mediation server:
FIG. 2 is an explanatory diagram showing a schematic configuration of the
[0039]
The
[0040]
The
[0041]
The
[0042]
The
[0043]
The print
[0044]
The
[0045]
The
[0046]
C. Agent:
FIG. 3 is an explanatory diagram showing the internal configuration of the
[0047]
The
[0048]
The
[0049]
The
[0050]
The
[0051]
The
[0052]
The agent
[0053]
The
[0054]
The
[0055]
Communication between the
[0056]
FIG. 4 is an explanatory diagram showing a method used in this embodiment. In this embodiment, the seven types of methods shown are prepared. Hereinafter, each method is called using an abbreviation.
[0057]
The RP method is a method for registering the printer used in the
[0058]
The DP method is a method for canceling registration of a printer registered in the
[0059]
The GJ method is a method for downloading a print job file from the
[0060]
The PS method is a method for notifying the
[0061]
The JS method is a method for notifying the
[0062]
The PC method is a method for notifying the
[0063]
The NJ method is a method for inquiring whether there is a new print job in the
[0064]
D. Processing at the agent:
FIG. 5 is a flowchart showing the flow of processing from activation to termination of the
[0065]
As described above, in the communication process, when troubles occur in communication such as communication disconnection or
[0066]
E. Registered printer release processing:
FIG. 6 is a flowchart showing a flow of processing for canceling a printer registered in the
[0067]
F. Printer capability information change processing:
FIG. 7 is a flowchart showing a flow of processing for changing the capability information of the printer registered in the
[0068]
In this embodiment, an agent termination process and an agent activation (reactivation) process described below are performed in preparation for a case where a communication failure occurs during the above-described registered printer release process and printer capability information change process.
[0069]
G. Agent termination processing:
FIG. 8 is a flowchart showing a flow of termination processing of the
[0070]
If there is an untransmitted method in the queue, the
[0071]
In this embodiment, the unsent methods stored in the INI file are the DP method, PC method, and JS method described later. Other methods are not stored because the necessity of synchronization between the
[0072]
H. Agent startup processing:
FIG. 9 is a flowchart showing a flow of activation (reactivation) processing of the
[0073]
If the unsent method is stored in the INI file, the unsent method is read (step S103) and transmitted from the
[0074]
By doing this, even if a communication failure occurs after the method is stored in the queue of the
[0075]
I. Saving timing of unsent method to INI file:
In this embodiment, the appropriate timing at which the
[0076]
As a mode of communication trouble,
(1) disconnection of communication;
(2)
There are two ways.
[0077]
And as the timing of these troubles,
(A) Before sending the method,
(A1) Before processing by the
(A2) After processing by the
(B) After sending the method (before receiving the response),
There are three ways.
[0078]
FIG. 10 is an explanatory diagram showing the timing of storing unsent methods in the INI file according to the mode of communication trouble, the timing of occurrence thereof, and the type of method.
[0079]
The storage timing for the DP method and the PC method described above corresponds to the combination of (1) and (a2) or (b). In the case of (1), since the
[0080]
In the case where trouble occurs in communication between the
[0081]
The JS method is a method for notifying the job status, and its content changes with the progress of processing. Therefore, the JS method can be saved in the INI file even before printing is completed. In this case, the contents of the method stored in the INI file can be updated at any time according to the job status monitored by the
[0082]
J. et al. Printing process:
FIG. 11 is a flowchart showing the flow of the printing process. First, the NJ method for inquiring whether or not there is a print job is transmitted from the
[0083]
Then, the GJ method for downloading the print job file is transmitted from the
[0084]
By doing so, it is possible to avoid that the
[0085]
According to the
[0086]
K. Variation:
As mentioned above, although several embodiment of this invention was described, this invention is not limited to such embodiment at all, and implementation in various aspects is possible within the range which does not deviate from the summary. It is. For example, the following modifications are possible.
[0087]
K1. Modification 1:
In the above embodiment, the printers PRT1 and PRT2 are locally connected to the personal computer PC. However, the present invention is not limited to this. The printers PRT1 and PRT2 exist on a network, for example, the Internet, and may be under the management of the personal computer PC (agent 200).
[0088]
K2. Modification 2:
In the above-described embodiment, the unsent method is transmitted to the
[0089]
K3. Modification 3:
In the above-described embodiment, the unsent method is stored in the INI file when communication trouble occurs. However, the present invention is not limited to this. You may make it preserve | save in another file.
[0090]
K4. Modification 4:
In the above embodiment, the information processing apparatus of the present invention has been described using the
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a schematic configuration of a
FIG. 2 is an explanatory diagram illustrating a schematic configuration of a print mediation server.
3 is an explanatory diagram showing an internal configuration of an
FIG. 4 is an explanatory diagram showing a method used in this embodiment.
FIG. 5 is a flowchart showing a flow of processing from activation to termination of an
FIG. 6 is a flowchart illustrating a processing flow for canceling a printer registered in the print mediation server.
FIG. 7 is a flowchart showing a flow of processing for changing printer capability information registered in the print mediation server.
FIG. 8 is a flowchart showing a flow of termination processing of the
FIG. 9 is a flowchart showing a flow of activation (reactivation) processing of the
FIG. 10 is an explanatory diagram showing a storage failure timing of an unsent method in an INI file according to a mode of communication trouble, an occurrence timing thereof, and a method type.
FIG. 11 is a flowchart illustrating a flow of printing processing.
[Explanation of symbols]
1000 ... Printing system
10 ... Main control section
20: Communication control unit
22: Receiver
24 ... Transmitter
30 ... UI provider
40 ... User management department
50. Print job management section
70: Module management unit
100: Print mediation server
200 ... Agent
210: Agent management module
220 ... Communication mounting module
230 ... Agent browser module
240: Printer management DLL
242 ... Print processing module
244: Printer setting DLL
246 ... Printer registration module
250 ... Module management DLL
252 ... Upgrade processing module
260: Agent launcher module
270 ... Agent setting module
Claims (14)
前記印刷仲介サーバコンピュータに当該情報処理装置側で行われた所定の印刷処理に関連した処理を行わせるための要求を、予め定めたメソッドとして送信する送信部と、
該送信時に生じ得る通信の切断や当該情報処理装置側の処理プログラムのハングアップなどの通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報を生成する生成部と、
前記支障が解消されたときに、前記復旧情報を自動的に前記印刷仲介サーバコンピュータに送信する復旧情報送信部と、
を備え、
更に、前記生成部は、前記メソッドの種類と前記通信の支障が発生し得るタイミングに関連付けて、前記生成した復旧情報を保存する複数のタイミングを予め記憶しており、前記通信の支障が生じる際には、前記予め記憶した複数のタイミングのうち、前記メソッドの種類と前記通信の支障が発生したタイミングとに基づいて選択されたタイミングで、前記復旧情報を保存する処理を行なう情報処理装置。An information processing apparatus that communicates with other information processing apparatuses including a print mediation server computer existing on a network,
A transmission unit that transmits, as a predetermined method, a request for causing the print mediation server computer to perform processing related to predetermined printing processing performed on the information processing apparatus side;
A generation unit for generating restoration information to be transmitted to the print intermediation server computer when the trouble of the communication, such as hang-up of the processing program of the cutting and the information processing apparatus of the communication that may occur during the transmission is canceled,
A recovery information transmission unit that automatically transmits the recovery information to the print mediation server computer when the trouble is resolved;
With
Further, the generation unit stores in advance a plurality of timings for storing the generated recovery information in association with the type of the method and the timing at which the communication failure may occur, and when the communication failure occurs. An information processing apparatus that performs a process of saving the recovery information at a timing selected based on the type of the method and the timing at which the communication trouble occurs among the plurality of timings stored in advance .
前記印刷仲介サーバコンピュータから前記メソッドとして送信された要求に対する応答を受信する受信部を備え、
前記生成部は、前記受信時に生じ得る前記通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報であって、前記メソッドの送信のタイミングに関連づけて予め定めたタイミングで保存される復旧情報を生成する、
情報処理装置。The information processing apparatus according to claim 1, further comprising:
A reception unit that receives a response to the request transmitted as the method from the print mediation server computer;
The generation unit is recovery information to be transmitted to the print mediation server computer when the communication trouble that may occur at the time of reception is resolved, and is stored at a predetermined timing in association with the transmission timing of the method Generate recovery information
Information processing device.
前記送信時に前記通信の支障が生じたか否かを判断する判断部を備え、
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記判断部によって前記支障が生じたと判断された場合である、
情報処理装置。The information processing apparatus according to claim 1, further comprising:
A determination unit that determines whether or not the communication trouble occurs during the transmission;
One of a plurality of the timings stored in advance as storing the restoration information in the generation unit is a case where the determination unit determines that the trouble has occurred.
Information processing device.
前記受信時に通信の支障が生じたか否かを判断する判断部を備え、
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記判断部によって前記支障が生じたと判断された場合である、
情報処理装置。The information processing apparatus according to claim 2, further comprising:
A determination unit for determining whether or not a communication trouble has occurred at the time of reception;
One of a plurality of the timings stored in advance as storing the restoration information in the generation unit is a case where the determination unit determines that the trouble has occurred.
Information processing device.
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記支障が生じる前であり、前記生成部は、前記通信が正常に完了したときに前記復旧情報を削除する、
情報処理装置。The information processing apparatus according to claim 1,
One of a plurality of the timings stored in advance as the restoration information is stored in the generation unit is before the trouble occurs, and the generation unit displays the recovery information when the communication is normally completed. delete,
Information processing device.
前記生成部において当該情報処理装置側で前記所定の処理が正常に終了したことを示す前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記処理が行われた後である、
情報処理装置。The information processing apparatus according to claim 5,
One of a plurality of the timings stored in advance as the restoration information indicating that the predetermined processing has been normally completed on the information processing apparatus side in the generation unit is stored after the processing is performed. is there,
Information processing device.
前記生成部において当該情報処理装置側で前記所定の処理が異常終了したことを示す前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記処理が行われる前である、
情報処理装置。The information processing apparatus according to claim 5,
One of a plurality of the timings stored in advance as storing the recovery information indicating that the predetermined process has ended abnormally on the information processing apparatus side in the generation unit is before the process is performed.
Information processing device.
前記復旧情報送信部は、前記復旧情報の送信が完了したときに前記復旧情報を削除する、
情報処理装置。The information processing apparatus according to claim 1,
The recovery information transmission unit deletes the recovery information when transmission of the recovery information is completed.
Information processing device.
前記印刷仲介サーバコンピュータは、前記ネットワーク上に存在し、当該情報処理装置の管理下にある印刷装置を、当該情報処理装置からの登録要求に応じて登録し、前記印刷装置によって印刷すべき所定の印刷ジョブを、当該情報処理装置からの前記印刷ジョブの送信要求である所定のメソッドに応じて当該情報処理装置に送信する手段を備え、
前記メソッドの一つは、前記印刷装置の登録の解除の通知を行うメソッドである、
情報処理装置。The information processing apparatus according to claim 1,
The print mediation server computer registers a printing apparatus that exists on the network and is managed by the information processing apparatus in response to a registration request from the information processing apparatus, and that is to be printed by the printing apparatus. Means for transmitting a print job to the information processing apparatus according to a predetermined method which is a transmission request for the print job from the information processing apparatus;
One of the methods is a method for notifying registration cancellation of the printing apparatus.
Information processing device.
前記印刷仲介サーバコンピュータは、更に、前記印刷装置の能力に関する能力情報を登録する手段を備え、
前記メソッドの一つは、前記能力情報の通知を行うメソッドである、
情報処理装置。An information processing apparatus according to claim 9,
The print mediation server computer further comprises means for registering capability information related to the capability of the printing apparatus,
One of the methods is a method for notifying the capability information.
Information processing device.
前記印刷仲介サーバコンピュータは、更に、前記印刷ジョブが複数存在する場合に、1の前記印刷ジョブを当該情報処理装置に送信した後、該情報処理装置から当該印刷ジョブの処理の完了の通知であるメソッドを受信した後に、当該情報処理装置に他の前記印刷ジョブを送信するよう構成され、
前記メソッドの一つは、前記印刷ジョブの処理の完了の通知を行うメソッドである、
情報処理装置。An information processing apparatus according to claim 9,
The print mediation server computer further notifies the completion of processing of the print job from the information processing apparatus after transmitting the one print job to the information processing apparatus when there are a plurality of the print jobs. After receiving the method, the information processing apparatus is configured to transmit the other print job,
One of the methods is a method for notifying completion of processing of the print job.
Information processing device.
(a)前記印刷仲介サーバコンピュータに当該情報処理装置側で行われた所定の印刷処理に関連した処理を行わせるための要求を、当該情報処理装置が、予め定めたメソッドとして送信する工程と、
(b)該送信時に生じ得る通信の切断や当該情報処理装置側の処理プログラムのハングアップなどの通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報を、前記情報処理装置が生成する工程と、
(x)前記メソッドの種類と前記通信の支障が発生し得るタイミングに関連付けて、前記生成した復旧情報を保存する複数のタイミングを予め記憶しておく工程と、
(y)前記通信の支障が生じる際には、前記予め記憶した複数のタイミングのうち、前記メソッドの種類と前記通信の支障が発生したタイミングとに基づいて選択されたタイミングで、前記復旧情報を保存する処理を行なう工程と、
(c)前記支障が解消されたときに、前記復旧情報を自動的に前記印刷仲介サーバコンピュータに送信する工程と、
を備える制御方法。A control method for controlling an information processing apparatus that communicates with a print mediation server computer including a print mediation server computer existing on a network,
(A) a step of causing the information processing apparatus to transmit, as a predetermined method, a request for causing the print mediation server computer to perform processing related to a predetermined print process performed on the information processing apparatus side;
(B) the recovery information to be transmitted to the print intermediation server computer when the trouble of the communication, such as hang-up of the cutting and the information processing apparatus of the processing program of communication that may occur during the transmission is canceled, the information A process generated by the processing device;
(X) a step of storing in advance a plurality of timings for storing the generated recovery information in association with the type of the method and the timing at which the communication trouble may occur;
(Y) When the communication trouble occurs, the restoration information is stored at a timing selected based on the method type and the timing at which the communication trouble occurs among the plurality of previously stored timings. A process of performing a storing process;
(C) a step of automatically transmitting the restoration information to the print mediation server computer when the trouble is resolved;
A control method comprising:
前記印刷仲介サーバコンピュータに当該情報処理装置側で行われた所定の印刷処理に関連した処理を行わせるための要求を、予め定めたメソッドとして送信する機能と、
該送信時に生じ得る通信の切断や当該情報処理装置側の処理プログラムのハングアップなどの通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報を生成する機能と、
前記メソッドの種類と前記通信の支障が発生し得るタイミングに関連付けて、前記生成した復旧情報を保存する複数のタイミングを予め記憶しておく機能と、
前記通信の支障が生じる際には、前記予め記憶した複数のタイミングのうち、前記メソッドの種類と前記通信の支障が発生したタイミングとに基づいて選択されたタイミングで、前記復旧情報を保存する処理を行なう機能と、
前記支障が解消されたときに、前記復旧情報を自動的に前記印刷仲介サーバコンピュータに送信する機能と、
をコンピュータに実現させるためのコンピュータプログラム。A computer program for controlling an information processing apparatus that communicates with other information processing apparatuses including a print mediation server computer existing on a network,
A function for transmitting, as a predetermined method, a request for causing the print mediation server computer to perform processing related to predetermined print processing performed on the information processing apparatus side;
And generating a restored information to be transmitted to the print intermediation server computer when the trouble of the communication, such as hang-up of the processing program of the cutting and the information processing apparatus of the communication that may occur during the transmission is canceled,
A function of storing in advance a plurality of timings for storing the generated recovery information in association with the type of the method and the timing at which the communication trouble may occur;
When the communication trouble occurs, a process of saving the restoration information at a timing selected based on the method type and the timing when the communication trouble occurs among the plurality of previously stored timings The ability to
A function of automatically transmitting the recovery information to the print mediation server computer when the trouble is resolved;
A computer program for realizing a computer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002177912A JP3624902B2 (en) | 2002-06-19 | 2002-06-19 | Communication control of information processing equipment on a network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002177912A JP3624902B2 (en) | 2002-06-19 | 2002-06-19 | Communication control of information processing equipment on a network |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2004021758A JP2004021758A (en) | 2004-01-22 |
| JP3624902B2 true JP3624902B2 (en) | 2005-03-02 |
| JP2004021758A5 JP2004021758A5 (en) | 2005-04-14 |
Family
ID=31175777
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002177912A Expired - Fee Related JP3624902B2 (en) | 2002-06-19 | 2002-06-19 | Communication control of information processing equipment on a network |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3624902B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6357826B2 (en) * | 2014-03-26 | 2018-07-18 | ブラザー工業株式会社 | Image forming system, image forming method, terminal device, and program |
-
2002
- 2002-06-19 JP JP2002177912A patent/JP3624902B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2004021758A (en) | 2004-01-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7546365B2 (en) | Network device management system and method of controlling same | |
| CN102970319B (en) | Processing control server, process control method and processing terminal | |
| JP3682777B2 (en) | Image forming apparatus and remote management system | |
| US8958089B2 (en) | Facsimile apparatus and control method therefor | |
| JP2006099300A (en) | Device configuration management for devices connected to the network | |
| JP3624902B2 (en) | Communication control of information processing equipment on a network | |
| JP2013061836A (en) | Server, data processor, data processing method | |
| US20110238784A1 (en) | Management apparatus and method therefor | |
| JP2001292272A (en) | Facsimile system, facsimile terminal device used in this facsimile system, format converter, and storage medium | |
| JP4441501B2 (en) | Method and system for printing data using message signaling service, and corresponding computer program and corresponding computer-readable storage medium | |
| JP3977135B2 (en) | Network device management system and control method thereof | |
| JP4671438B2 (en) | Server apparatus and control method thereof | |
| JP4747581B2 (en) | Monitor and control devices connected to the network | |
| JP4548145B2 (en) | Monitor and control devices connected to the network | |
| JP2001056753A (en) | Image forming device | |
| JP4561374B2 (en) | Control download of information from servers connected to the network | |
| JP2000330917A (en) | Image forming device | |
| US11762610B2 (en) | Communication apparatus that performs a process in response to a job notification received from a server and non-transitory computer-readable medium for communication apparatus | |
| JP4604792B2 (en) | Control download of information from servers connected to the network | |
| JP2004148612A (en) | Image forming apparatus and program | |
| JP2004326643A (en) | Document distribution request receiving device, document distribution device, document distribution method, document distribution program, and recording medium | |
| JP4665521B2 (en) | Monitor and control devices connected to the network | |
| JP4315048B2 (en) | Device management system | |
| JP4561373B2 (en) | Control download of information from servers connected to the network | |
| JP6079845B2 (en) | System and processing terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040330 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040330 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20040330 |
|
| A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20040421 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040607 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040802 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040810 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041006 |
|
| 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: 20041109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041122 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 3624902 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: 20081210 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091210 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101210 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101210 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111210 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111210 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121210 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121210 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131210 Year of fee payment: 9 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |