Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3624902B2 - Communication control of information processing equipment on a network - Google Patents
[go: Go Back, main page]

JP3624902B2 - Communication control of information processing equipment on a network - Google Patents

Communication control of information processing equipment on a network Download PDF

Info

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
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002177912A
Other languages
Japanese (ja)
Other versions
JP2004021758A (en
JP2004021758A5 (en
Inventor
智明 桑原
康児 秋吉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002177912A priority Critical patent/JP3624902B2/en
Publication of JP2004021758A publication Critical patent/JP2004021758A/en
Application granted granted Critical
Publication of JP3624902B2 publication Critical patent/JP3624902B2/en
Publication of JP2004021758A5 publication Critical patent/JP2004021758A5/ja
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 printing system 1000 as an embodiment to which an information processing apparatus of the present invention is applied. The printing system 1000 is a printing mediation server Computer (hereinafter simply referred to as “print mediation server”) 100, a content provider CP, a mobile phone MB connectable to the Internet, two printers PRT1 and PRT2, and a locally connected personal computer PC. Instead of the mobile phone MB, a general-purpose personal computer or an information terminal equipped with a communication device such as a PDA may be used. The personal computer PC is connected to the print mediation server 100, the content provider CP, and the mobile phone MB via the Internet service provider ISP and the Internet INT. The personal computer PC receives a predetermined print job for each printer through communication with the print mediation server 100 and executes print processing.
[0034]
The print mediation server 100 registers and manages the addresses and IDs of the printers PRT1 and PRT2, their capability information, and the like. The printer capability information includes information such as the type of printer such as a laser printer or an ink jet printer, and whether or not color printing is possible. The print mediation server 100 also accepts and manages a print job designated from the mobile phone MB for each printer to be output. The print mediation server 100 corresponds to “another information processing apparatus” of the present invention.
[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 print mediation server 100 together with the designation of the printer to be output as a print job.
[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 print mediation server 100, download of a print job, print processing, and the like by communication with the print mediation server 100. Details of the agent will be described later.
[0038]
B. Print mediation server:
FIG. 2 is an explanatory diagram showing a schematic configuration of the print mediation server 100. The print mediation server 100 includes a main control unit 10, a communication control unit 20, a UI providing unit 30, a user management unit 40, a print job management unit 50, a PDF conversion unit 60, and a module management unit 70. ing. Each of these functional blocks is configured by software. Each of these functional blocks can also be configured in hardware. Further, in this embodiment, for convenience of explanation, the state where each functional block is configured in a single server is illustrated, but it is also possible to configure as a distributed processing system using a plurality of servers.
[0039]
The main control unit 10 controls the operation of each functional block in the print mediation server 100.
[0040]
The communication control unit 20 includes a reception unit 22 and a transmission unit 24, and controls communication with other servers and a personal computer PC (agent) as a client.
[0041]
The UI providing unit 30 provides an HTML user interface according to a request from the mobile phone MB or the agent. For example, the UI providing unit 30 provides a user interface for specifying a print job or a printer to the mobile phone MB, and a user interface for performing user registration or the like to the agent.
[0042]
The user management unit 40 manages user IDs and passwords and printer IDs used in the printing system 1000. The user management unit 40 changes the setting when there is a request for registration or cancellation of the printer from the agent.
[0043]
The print job management unit 50 manages a print job designated from the mobile phone MB for each printer managed by the user management unit 40.
[0044]
The PDF conversion unit 60 converts the print job into a PDF file when there is a print job transfer request from the agent. If the print job managed by the print job management unit 50 is simply a URL indicating the location of the content, the PDF conversion unit 60 acquires an HTML document or image from the content server at the URL and converts it to a PDF file. Convert. In this embodiment, the print mediation server 100 distributes the print job to the agent as a PDF file.
[0045]
The module management unit 70 manages the latest various modules that the agent should have, and provides the latest module in response to a request from the agent.
[0046]
C. Agent:
FIG. 3 is an explanatory diagram showing the internal configuration of the agent 200. The agent 200 includes an agent management module 210, a communication implementation module 220, an agent browser module 230, a printer management DLL 240, a print processing module 242, a printer setting DLL 244, a printer registration module 246, a printer management extension DLL 248, A module management DLL 250, an upgrade processing module 252, an agent activation launcher module 260, and an agent setting module 270 are provided. Each of these functional blocks is configured by software. Each of these functional blocks can also be configured in hardware.
[0047]
The agent management module 210 manages and manages each part in the agent 200. The agent management module 210 transfers a request from each module and DLL to the communication implementation module 220, and distributes the return value received from the print mediation server 100 to each module of the request source.
[0048]
The communication implementation module 220 implements a communication unit for performing communication (HTTP communication) with the print mediation server 100 using HTTP (HyperText Transfer Protocol). The communication implementation module 220 includes a queue (not shown) for storing the request transferred from the agent management module 210, converts the request into an HTTP request in the order stored in the queue, and sends the request to the print mediation server 100. Send. Also, an HTTP response is received from the print mediation server 100 in response to the transmitted request. In addition, a gateway function for performing HTTP communication from the agent browser module 230 is also provided. The communication implementation module 220 also determines whether communication with the print mediation server 100 has been disconnected. The communication mounting module 220 corresponds to a transmission unit, a reception unit, and a determination unit of the present invention.
[0049]
The printer management DLL 240 monitors the printer used by the agent 200, executes printing, and monitors the printing status. In other words, the printer management DLL 240 communicates with the printers PRT1 and PRT2 through the printer management extension DLL248, acquires the printer status and job status, and monitors changes thereof. Further, the printer management DLL 240 executes print processing by the print processing module 242. The print processing module reads data from a PDF file as a print job received from the print mediation server 100 in accordance with instructions from the agent management module 210 and the printer management DLL 240, and outputs the data to the printer.
[0050]
The printer setting DLL 244 performs settings for registering and canceling printers used in the agent 200 and changing printer capability information. These settings are made from a user interface provided by the printer registration module 246. The set contents are stored and managed in the registry. When the setting is changed, the contents of the registry are changed.
[0051]
The module management DLL 250 manages each module and DLL version constituting the agent 200, and monitors the operating status of each process. The upgrade processing module 252 downloads and installs the latest module, DLL, from the module management unit 70 of the print mediation server 100.
[0052]
The agent activation launcher module 260 provides a means for the user to execute activation processing and termination processing of the agent 200.
[0053]
The agent setting module 270 provides a user interface for the user to make various settings of the agent 200. In this embodiment, Internet connection (whether or not dial-up connection is made, connection destination of dial-up connection), print job check (time interval for checking whether there is a print job), version upgrade of each module (automatic version upgrade) Various settings relating to whether or not to perform the operation.
[0054]
The agent browser module 230 provides a user interface for registering the owner of a printer used in the printing system 1000 and for issuing a print instruction when a print job is downloaded from the print mediation server 100.
[0055]
Communication between the agent 200 and the print mediation server 100 and communication between modules are performed by exchanging methods described later. This method is defined to centralize communication between the agent 200 and the print mediation server 100 by the communication implementation module 220 and flexibly cope with changes in the communication protocol.
[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 printing system 1000 in the print mediation server 100.
[0058]
The DP method is a method for canceling registration of a printer registered in the print mediation server 100.
[0059]
The GJ method is a method for downloading a print job file from the print mediation server 100.
[0060]
The PS method is a method for notifying the print mediation server 100 of the print status.
[0061]
The JS method is a method for notifying the print mediation server 100 of the job status.
[0062]
The PC method is a method for notifying the print mediation server 100 of printer capability information. The PC method is used when changing the printer capability information.
[0063]
The NJ method is a method for inquiring whether there is a new print job in the print mediation server 100.
[0064]
D. Processing at the agent:
FIG. 5 is a flowchart showing the flow of processing from activation to termination of the agent 200. First, the activation process of the agent 200 is performed (step S100). In the activation process of the agent 200, each module described above is activated and initialized. Then, printer status monitoring processing (step S200a), module operation status monitoring processing (step S200b), version upgrade processing (step S200c), printer registration / release / change processing (step S200d), printing processing (step S200e), error processing. The communication process is executed (Step S200) while appropriately performing (Step S200f). When each process ends, the end process of the agent 200 is performed (step S300).
[0065]
As described above, in the communication process, when troubles occur in communication such as communication disconnection or agent 200 hang-up, the printing system 1000 may not operate smoothly depending on the type of the process. Here, a description will be given focusing on “registered printer release processing” and “printer capability information change processing”, which are likely to cause an inappropriate operation when communication trouble occurs before the completion of processing.
[0066]
E. Registered printer release processing:
FIG. 6 is a flowchart showing a flow of processing for canceling a printer registered in the print mediation server 100. FIG. 6 shows a flowchart in the case where processing is normally performed without causing communication trouble. First, the printer registration module 246 is used to delete the printer ID and printer capability information of the desired printer from the registry (step S210). Then, a DP method for canceling the registered printer is transmitted from the communication implementation module 220 to the print mediation server 100 (step S212). When the communication implementation module 220 receives a DP method having a return value of “OK” from the print mediation server 100 (step S214), the registered printer release process is terminated. If trouble occurs during communication in step S212 or step S214, the DP method remains in the queue of the communication implementation module 220.
[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 print mediation server 100. FIG. 7 shows a flowchart in the case where processing is normally performed. First, using the printer registration module 246, the printer capability information in the registry is changed (step S220). Then, a PC method for notifying the changed content is transmitted from the communication implementation module 220 to the print mediation server 100 (step S222). When the communication implementation module 220 receives a PC method having a return value of “OK” from the print mediation server 100 (step S224), the printer capability information change process is terminated. If trouble occurs during the communication in step S222 or step S224, the PC method remains in the queue of the communication implementation module 220.
[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 agent 200. When the user executes “agent end” from the agent activation launcher module 260, it is first determined whether or not there is an unsent method in the queue of the communication implementation module 220 (step S302). If there is no unsent method in the queue, each module is terminated and the agent termination process is terminated.
[0070]
If there is an untransmitted method in the queue, the communication implementation module 220 transmits the method to the print mediation server 100 (step S304). Then, it is determined whether or not a response from the print mediation server 100 to the method transmitted by the communication implementation module 220 has been received (step S306). When the communication mounting module 220 receives the response, it is determined that the processing in the print mediation server 100 has been completed, each module is terminated, and the agent termination processing is terminated. If the communication mounting module 220 cannot receive the response, it is determined that communication trouble has occurred, the contents are stored in the INI file as an unsent method (step S308), and each module is terminated. Then, the agent termination process is terminated.
[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 agent 200 and the print mediation server 100 is low.
[0072]
H. Agent startup processing:
FIG. 9 is a flowchart showing a flow of activation (reactivation) processing of the agent 200. When the user executes “agent activation” from the agent activation launcher module 260, first, each module is activated (step S101). Then, it is determined whether or not an unsent method is stored in the INI file (step S102). If the unsent method is not saved, the startup process is terminated.
[0073]
If the unsent method is stored in the INI file, the unsent method is read (step S103) and transmitted from the communication implementation module 220 to the print mediation server 100 (step S104). Then, after receiving a response from the print mediation server to the method transmitted by the communication implementation module 220 (step S105). The description about the unsent method in the INI file is deleted (step S106), and the agent activation process is terminated.
[0074]
By doing this, even if a communication failure occurs after the method is stored in the queue of the communication implementation module 220, the unsent method is saved in the INI file when the agent 200 terminates. Therefore, when the agent 200 is restarted, the INI Unsent methods can be read from the file and sent. Accordingly, it is possible to avoid inconsistency in management information regarding the printer between the agent 200 and the print mediation server 100. Note that the content of the unsent method stored in the INI file corresponds to the recovery information of the present invention. The communication mounting module 220 also corresponds to a generation unit and a recovery information transmission unit of the present invention.
[0075]
I. Saving timing of unsent method to INI file:
In this embodiment, the appropriate timing at which the communication implementation module 220 stores the unsent method in the INI file varies depending on the mode of communication trouble, the occurrence timing of the trouble, and the type of method.
[0076]
As a mode of communication trouble,
(1) disconnection of communication;
(2) Agent 200 hangs up,
There are two ways.
[0077]
And as the timing of these troubles,
(A) Before sending the method,
(A1) Before processing by the agent 200;
(A2) After processing by the agent 200;
(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 agent 200 is not hung up, it is sufficient to save the method in the INI file after the communication trouble occurs. The method may be saved in the INI file before communication trouble occurs (after the method is stored in the queue). The DP method and the PC method are methods whose contents cannot be determined unless the processing in the agent 200 is completed. Therefore, in the case of the combination of (1) and (a1), the method is stored in the INI file. Can not be saved. In order to deal with (2), since the agent 200 does not operate after the trouble occurs, it is preferable to save the method in the INI file immediately after storing the method in the queue.
[0080]
In the case where trouble occurs in communication between the agent 200 and the print mediation server 100, there are JS methods in addition to the above-described DP method and PC method as methods that are likely to be synchronized between the two. In the printing system 1000 of this embodiment, the print mediation server 100 waits for a job status notification indicating the end of processing such as “printing complete” or “error end” from the agent 200 and then performs the following processing. It is. If trouble occurs during the communication of the JS method, the print mediation server 100 continues to wait for a job status notification from the agent 200.
[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 printer management DLL 240, but in this embodiment, in order to cope with the above (2), printing is performed. Before executing the above, the JS method for notifying "error end" is stored in the INI file in advance. However, if the execution of printing is completed after saving the JS method of “error end” in the INI file, the JS method for notifying “printing completion” will be stored in the INI file after the trouble of communication occurs. We decided to save.
[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 communication implementation module 220 to the print mediation server 100 (step S230). When the communication implementation module 220 receives the NJ method indicating that there is a print job from the print mediation server 100 (step S231), it stores the JS method for notifying "error end" in the INI file (step S232). By doing so, when the printing process ends in error thereafter, JS for notifying the end of the printing process error can be automatically transmitted to the print mediation server 100 when the agent 200 is restarted.
[0083]
Then, the GJ method for downloading the print job file is transmitted from the communication implementation module 220 to the print mediation server 100 (step S233), and the print job file (PDF file) is received (step S234). Then, printing is executed (step S235). When printing is completed, the print job file is discarded (step S236), and a JS method for notifying “printing completion” is transmitted (step S237). Then, the “error end” JS method stored in the INI file is deleted (step S238). Since the “error end” JS method is deleted after printing is completed, the “error end” JS method stored in advance before printing is not transmitted after printing is completed. When the communication implementation module 220 receives a JS method having a return value of “OK” from the print mediation server 100 (step S239), the printing process is terminated.
[0084]
By doing so, it is possible to avoid that the print mediation server 100 keeps waiting for transmission of the JS method from the agent.
[0085]
According to the agent 200 of the present embodiment, when a problem occurs in communication between the print mediation server 100 and the agent 200, the method to be transmitted is stored in the INI file, and is read out automatically when the agent 200 is restarted. Since it can be transmitted, inconsistency between the management information of the two can be avoided.
[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 print mediation server 100 when the agent 200 is restarted. Also good.
[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 printing system 1000 as an example, but the present invention is not limited to this. The present invention can be similarly applied to a system that performs a series of processing by communication between information processing apparatuses existing on a network. Therefore, in the above embodiment, the information processing apparatus of the present invention is applied to the client (personal computer PC) side, but may be applied to the server (print mediation server 100) side.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a schematic configuration of a printing system 1000 as an embodiment to which an information processing apparatus of the present invention is applied.
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 agent 200. FIG.
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 agent 200;
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 agent 200.
FIG. 9 is a flowchart showing a flow of activation (reactivation) processing of the agent 200;
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 .
請求項1記載の情報処理装置であって、更に、
前記印刷仲介サーバコンピュータから前記メソッドとして送信された要求に対する応答を受信する受信部を備え、
前記生成部は、前記受信時に生じ得る前記通信の支障が解消されたときに前記印刷仲介サーバコンピュータに送信すべき復旧情報であって、前記メソッドの送信のタイミングに関連づけて予め定めたタイミングで保存される復旧情報を生成する、
情報処理装置。
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.
請求項1記載の情報処理装置であって、更に、
前記送信時に前記通信の支障が生じたか否かを判断する判断部を備え、
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記判断部によって前記支障が生じたと判断された場合である、
情報処理装置。
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.
請求項2記載の情報処理装置であって、更に、
前記受信時に通信の支障が生じたか否かを判断する判断部を備え、
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記判断部によって前記支障が生じたと判断された場合である、
情報処理装置。
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.
請求項1記載の情報処理装置であって、
前記生成部において前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記支障が生じる前であり、前記生成部は、前記通信が正常に完了したときに前記復旧情報を削除する、
情報処理装置。
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.
請求項5記載の情報処理装置であって、
前記生成部において当該情報処理装置側で前記所定の処理が正常に終了したことを示す前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記処理が行われた後である、
情報処理装置。
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.
請求項5記載の情報処理装置であって、
前記生成部において当該情報処理装置側で前記所定の処理が異常終了したことを示す前記復旧情報を保存するとして予め記憶された複数の前記タイミングの一つは、前記処理が行われる前である、
情報処理装置。
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.
請求項1記載の情報処理装置であって、
前記復旧情報送信部は、前記復旧情報の送信が完了したときに前記復旧情報を削除する、
情報処理装置。
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.
請求項1記載の情報処理装置であって、
前記印刷仲介サーバコンピュータは、前記ネットワーク上に存在し、当該情報処理装置の管理下にある印刷装置を、当該情報処理装置からの登録要求に応じて登録し、前記印刷装置によって印刷すべき所定の印刷ジョブを、当該情報処理装置からの前記印刷ジョブの送信要求である所定のメソッドに応じて当該情報処理装置に送信する手段を備え、
前記メソッドの一つは、前記印刷装置の登録の解除の通知を行うメソッドである、
情報処理装置。
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.
請求項9記載の情報処理装置であって、
前記印刷仲介サーバコンピュータは、更に、前記印刷装置の能力に関する能力情報を登録する手段を備え、
前記メソッドの一つは、前記能力情報の通知を行うメソッドである、
情報処理装置。
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.
請求項9記載の情報処理装置であって、
前記印刷仲介サーバコンピュータは、更に、前記印刷ジョブが複数存在する場合に、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.
請求項13記載のコンピュータプログラムをコンピュータ読み取り可能に記録した記録媒体。A recording medium recording the computer program according to claim 13 in a computer-readable manner.
JP2002177912A 2002-06-19 2002-06-19 Communication control of information processing equipment on a network Expired - Fee Related JP3624902B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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