JP3777842B2 - Network system, alternative processing control method, and server - Google Patents

Network system, alternative processing control method, and server Download PDF

Info

Publication number
JP3777842B2
JP3777842B2 JP35977598A JP35977598A JP3777842B2 JP 3777842 B2 JP3777842 B2 JP 3777842B2 JP 35977598 A JP35977598 A JP 35977598A JP 35977598 A JP35977598 A JP 35977598A JP 3777842 B2 JP3777842 B2 JP 3777842B2
Authority
JP
Japan
Prior art keywords
server
print
printer
print data
request
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
JP35977598A
Other languages
Japanese (ja)
Other versions
JP2000181653A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation 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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP35977598A priority Critical patent/JP3777842B2/en
Publication of JP2000181653A publication Critical patent/JP2000181653A/en
Application granted granted Critical
Publication of JP3777842B2 publication Critical patent/JP3777842B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークシステム、代替処理制御方法、及びサーバに係り、より詳しくは、印刷データを生成する端末装置、印刷データに基づいて印刷処理を実行するプリンタ、及び該プリンタを管理するサーバを備えたネットワークシステム、該ネットワークシステムにおける前記サーバに障害が発生した場合に端末装置から受けた印刷処理要求を、共にネットワークを構成している他のサーバに代替させる代替処理制御方法、上記ネットワークシステムを構成するサーバに関する。
【0002】
【従来の技術】
従来より、複数のワークステーション、複数のプリンタ及びプリンタを管理するプリントサーバにより構成されたネットワークシステムが構築されている。このようなネットワークシステムでの印刷処理時には、大量の印刷データをワークステーションからネットワークを介してプリントサーバへ送信して該プリントサーバ内のメモリに一時記憶される。次に、プリントサーバが、ネットワークに接続された少なくとも1つのプリンタにネットワークを介して印刷データを送信し、該プリンタにより印刷データの印刷処理を行っている。
【0003】
また、特開平9−62467号公報などに見られるように、プリントサーバが、LAN(ローカルネットワーク)等のネットワークに接続された各プリンタの機能を予めテーブル等で記憶しておき、ワークステーションからの印刷データに基づいて、機能の異なる複数のプリンタから印刷に適したプリンタを選択する技術が知られている。例えば、プリントサーバは、印刷データより、印刷される文書の記述言語、カラー印刷の有無、用紙サイズ等を判別し、判別により得られたこれらの各種印刷条件を満たすプリンタを選択する。
【0004】
上記のような技術では、ワークステーションからプリントサーバへ大量の印刷データを送信することで印刷要求が行なわれていた。プリントサーバでは、ネットワークに接続された複数台のワークステーションからの印刷データを一手に受信していた。このため印刷処理の要求が集中した場合には、印刷データを記憶するプリントサーバのメモリの容量が一杯になり、ワークステーションからの印刷データを受け付けられない、といった不都合が生じるおそれがある。なお、この問題を解決するため、プリントサーバの印刷データを記憶するメモリ領域を、ディスクの増設等により、拡大することも考えられるが、ディスクの増設等には多大なコストを必要とする別の問題が生ずる。
【0005】
また、大量の印刷データがワークステーションからネットワークを介してプリントサーバへ送信され、その後また、大量の印刷データがプリントサーバからネットワークを介してプリンタへ送信される。このため、ネットワーク上のデータ伝送量(通信トラフィック量)が増加し、ネットワークシステム全体でのデータ伝送処理効率を低下させるおそれがある。
【0006】
上記問題を解決するために、特願平9−257132号に記載の発明では、ワークステーションから印刷データをプリントサーバに転送するのではなく、印刷データよりも遥かにデータ量が少ないリファレンス情報(印刷データの所在などを表す印刷資源情報と、プリントサービス情報などを指定したジョブ属性情報と、印刷データの用紙サイズや用紙向きなどを表す印刷属性情報とから構成される)をプリントサーバに転送している。このリファレンス情報を受け取ったプリントサーバは、印刷属性情報を満足するプリンタを選定する。また、ワークステーション、プリントサーバ、プリンタ間を流れる印刷データの経路を、2種類のプリントサーバを介さないルート(ルート1、2)、及び4種類のプリントサーバを介すルート(ルート3、4、5、6)の中から決定する。このとき、プリントサーバを介さないルート1、2が優先して決定され、印刷データは決定された経路に従って、送受信される。したがって、印刷データは可能な限りプリントサーバを介さずにプリンタに転送され、印刷処理が行なわれる。これにより、印刷データがネットワーク上を流れる回数を低減し、ネットワーク上のデータ伝送量(通信トラフィック量)の増大を未然に防止させ、ネットワークシステム全体のスループットを向上させるという優れた効果をもたらすことができる。また、負荷分散(ロードバランス)、分割出力、迂回出力などの印刷サービスを効率よく行なうことも特徴としている。
【0007】
【発明が解決しようとする課題】
しかしながら、上記では、印刷処理を代替する機構を具備していなかったため、プリンタサーバに何らかの障害が発生した場合は、障害が発生したプリントサーバが復旧するまで、あるいは、代替サーバの設定が整うまで、印刷処理を実行することができなかった。
【0008】
このとき、管理者は、障害が発生したプリントサーバを停止し、代替サーバを準備しなければならない。代替サーバの設定は、障害が発生したプリントサーバの管理情報(装置情報テーブル、性能情報テーブル)に基づいて、代替サーバの管理情報を更新しなければならない。また、全ての利用者に、各自の印刷要求の処理状態を確認し、必要であれば再度印刷要求を行なうこと、代替サーバが設定されるまでは、印刷処理は行えないこと、復旧までの印刷要求は、代替サーバに行なわなければならないこと、などを周知徹底しなければならない。
【0009】
また、利用者は、自分の印刷処理状態を確認して、印刷が完了していない場合は、管理者が準備した代替サーバに再度印刷要求を行なわなければならない。しかし、印刷要求した印刷データが、プリントサーバの障害発生時に、前述の特願平9−257132号に記載の経路選定における、プリントサーバを介して印刷データをプリンタに転送するルート(ルート3、4、5、6)が選定されて転送中であった場合、印刷データが消失してしまうことがあった。また、このとき、選択されたプリンタで印刷データの一部が既に印刷されていることもあり、資源(用紙、トナー、電力等)の無駄使いという問題も発生していた。
【0010】
また、プリントサーバを介して印刷データをプリンタに転送するルート(ルート3、4、5、6)が選定されて処理されている場合、プリンタサーバのスプールに印刷データが大量に蓄積されていたり、大量の印刷データの送受信などのために、プリントサーバの処理が滞ってしまうことがあった。このため、ネットワークシステム全体のスループットが低下し、レファレンスを用いたことによる効果を十分に享受できない場合もあった。
【0011】
本発明は、上記問題を解決するために成されたもので、サーバに障害が発生した場合でも代替サーバを動的に選択して印刷処理を継続して行なうことができるネットワークシステム、代替処理制御方法、及びサーバを提供することを目的とする。
【0012】
【課題を解決するための手段】
上記目的を達成するために、請求項1に記載の発明は、印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記プリンタを管理するサーバと、を含んで構成されたネットワークシステムであって、前記サーバは、前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する決定手段と、前記決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する転送制御手段と、前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置からの印刷処理要求の処理を代替させる代替サーバを選択する選択手段と、前記選択手段により代替サーバに選択されたサーバに、前記端末装置から受けた印刷処理要求の代替を要求する要求手段と、他のサーバによって代替サーバに選択された場合に、前記端末装置からの印刷処理要求を代替して処理するように制御する代替処理制御手段と、を有することを特徴としている。
【0013】
請求項1に記載の発明によれば、ネットワークシステムは、端末装置とプリンタとサーバとを含んで構成している。端末装置では、印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成し、この印刷処理内容情報をサーバに送信することで印刷データの印刷処理要求を行なっている。すなわち、要求時に端末装置からサーバへ転送されるデータ量が少なくなり、ネットワークシステム上のトラフィック量の増大が防止されるようになっている。
【0014】
サーバは、決定手段と、転送制御手段と、選択手段と、要求手段と、代替処理制御手段とを備えている。
【0015】
決定手段では、端末装置から受信した印刷処理内容情報に基づいて該印刷データの印刷処理に適したプリンタと、該プリンタへの印刷データの転送経路とを決定する。転送制御手段では、決定手段により決定された転送経路に従って印刷データがプリンタへ転送されるように制御している。すなわち、サーバは、端末装置から受けた印刷処理要求を処理して、印刷データをプリンタに転送させるプリントサーバとして稼動している。
【0016】
選択手段では、サーバに印刷処理要求に対する処理を行うことができない何らかの障害が発生して、正常にプリンタサーバとしての機能を遂行できなくなった場合に、該サーバの処理を代替して行なう代替サーバを共にネットワークを構成している他のサーバの中から選択する。要求手段では、端末装置からの印刷処理要求の代替して行なうように、選択手段により代替サーバに選択されたサーバに要求する。
【0017】
代替処理制御手段では、他のサーバによって代替サーバに選択され、処理の代替要求を受けると、該サーバが代替を要求してきたサーバに代わりに端末装置からの印刷処理要求を処理するように制御する。
【0018】
すなわち、請求項1に記載の発明では、サーバに印刷処理要求に対する処理を行うことができない障害が発生し、正常にプリンタサーバとしての機能を遂行できなくなった場合に、代替サーバが自動的に選択され、この選択された代替サーバが該サーバに代わって、印刷処理の実行に適したプリンタ及び該プリンタへの印刷データの転送経路の決定、及び印刷データを該プリンタに転送する制御が行なわれる。また、代替サーバでは、障害発生時に処理中であった印刷要求、未処理の印刷要求、及び障害発生後になされた印刷要求に係らず、障害が発生したサーバに代わって印刷要求の処理が行なわれる。これにより、サーバが正常にプリンタサーバとしての機能を遂行できなくなった場合でも、ネットワークシステムの利用者は何ら意識することなく、印刷業務を継続して行なうことができる。
【0019】
なお、選択手段は、請求項2に記載されているように、他のサーバの所在情報と代替サーバとして起動するための代替サーバ起動条件とを含んで構成された代替サーバ選択情報を記憶する選択情報記憶部を有し、この代替サーバ選択情報に基づいて代替サーバを選択するとよい。
【0020】
また、請求項3に記載されているように、サーバは、決定手段により印刷処理の実行に適したプリンタを決定するのに用いられ、該サーバが管理する前記端末装置及び前記プリンタ毎の所在情報と性能情報とを含む管理情報を記憶する管理情報記憶部を更に有し、前記要求手段は、端末装置から受信した印刷処理内容情報、この管理情報、及び該サーバを介して転送する転送経路が決定され端末装置からプリンタへ転送途中の該サーバに蓄積されている前記印刷データのうちの少なくとも1つを代替サーバに送信することで代替要求を行なうとよい。
【0021】
請求項3に記載のネットワークシステムでは、他のサーバからの代替要求として印刷処理内容情報を受信した場合は、請求項4に記載されているように、代替処理制御手段は、受信した印刷処理内容情報に基づいて、決定手段による決定が行なわれるように制御するようにするとよい。
【0022】
また、他のサーバからの代替要求として管理情報を受信した場合は、請求項5に記載されているように、代替処理制御手段は、受信した管理情報に基づいて、代替を要求してきた他のサーバが管理している全ての端末装置とプリンタを該サーバの管理下に置くように、該サーバの管理情報を更新するようにするとよい。
【0023】
また、他のサーバからの代替要求として端末装置から前記プリンタへ転送途中の代替を要求してきたサーバに蓄積されていた印刷データを受信した場合は、請求項6に記載されているように、代替制御手段は、該端末装置及び該プリンタの少なくとも一方に、代替を要求してきたサーバに代えて該サーバを介する転送経路に変更することを通知し、印刷データの転送が該サーバを介して継続して行なわれるように制御するようにするとよい。
【0024】
請求項3から請求項6に記載のネットワークシステムでは、サーバの処理が停滞している場合、請求項7に記載されているように、要求手段は、端末装置から受信した未処理の印刷処理内容情報を代替サーバに送信することで、端末装置から受けた未処理の印刷処理要求の代替を要求するようにしてもよい。
【0025】
請求項3から請求項に記載のネットワークシステムでは、サーバの機能を停止する場合、請求項8に記載されているように、要求手段は、処理中及び未処理に係らず端末装置から受信した全ての印刷処理内容情報、管理情報、決定手段により該サーバを介して転送する転送経路が決定され端末装置からプリンタへの転送途中の該サーバに蓄積されている印刷データと、を代替サーバに送信することで、端末装置から受けた全ての印刷処理要求の代替を要求するようにしてもよい。
請求項1乃至請求項8に記載のネットワークシステムでは、請求項9に記載されているように、障害を、転送制御手段による印刷データの転送の制御の停止又は停滞としてもよい。
【0026】
また、請求項10に記載の発明は、印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記端末装置から前記印刷データの印刷処理要求として送信された前記印刷処理内容情報に基づいて、印刷処理の実行に適したプリンタ及び該プリンタへの印刷データの転送経路を決定して前記印刷データが該プリンタに転送されるように制御するサーバとを含んで構成されたネットワークシステムにおける、前記サーバに障害が発生した場合に前記端末装置から受けた印刷処理要求を、共に前記ネットワークを構成している他のサーバに代替させる代替処理制御方法であって、前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記サーバが、予め記憶されている代替サーバ選択情報に基づいて、前記ネットワークシステムを共に構成している他のサーバの中から、前記端末装置からの印刷処理要求を代替させる代替サーバを選択し、前記端末装置から受信した印刷処理内容情報、予め記憶されている前記サーバが管理している端末装置及びプリンタの管理情報、及び該サーバを介して転送する転送経路が決定され端末装置からプリンタへ転送途中の該サーバに蓄積されている前記印刷データのうちの少なくとも1つを前記代替サーバに選択されたサーバに送信することで代替要求を行ない、前記代替サーバに選択されたサーバが、前記代替要求を受けて、前記端末装置からの印刷処理要求を代替して処理するように制御する、ことを特徴としている。
【0027】
請求項10に記載の発明によれば、サーバに印刷処理要求に対する処理を行うことができない障害が発生すると、ネットワークシステムを共に構成している他のサーバの中から、端末装置からの印刷処理要求を代替させる代替サーバが選択される。この選択は、予め記憶されている代替サーバ選択情報に基づいて行なわれる。
【0028】
次いで、代替サーバに選択されたサーバに対して代替要求が行なわれる。この代替要求は、端末装置から受信した印刷処理内容情報、予め記憶されている該サーバが管理している端末装置及びプリンタの管理情報、及び該サーバを介して転送する転送経路が決定され端末装置からプリンタへ転送途中の該サーバに蓄積されている印刷データのうちの少なくとも1つを代替サーバに選択されたサーバに送信することで行なわれる。
【0029】
この代替要求を受けて、代替サーバに選択されたサーバにより、端末装置からの印刷処理要求を代替して処理するように制御され、印刷データが印刷処理の実行に適したプリンタに転送されるように制御される。
【0030】
すなわち、請求項10に記載の発明では、請求項1に記載の発明と同様に、サーバに印刷処理要求に対する処理を行うことができない障害が発生し、正常にプリンタサーバとしての機能を遂行できなくなった場合に、代替サーバが自動的に選択され、この選択された代替サーバが該サーバに代わって、印刷処理の実行に適したプリンタ及び該プリンタへの印刷データの転送経路の決定、及び印刷データを該プリンタに転送する制御が行なわれる。また、代替サーバでは、障害発生時に処理中であった印刷要求、未処理の印刷要求、及び障害発生後になされた印刷要求に係らず、障害が発生したサーバに代わって印刷要求の処理が行なわれる。これにより、サーバが正常にプリンタサーバとしての機能を遂行できなくなった場合でも、ネットワークシステムの利用者は何ら意識することなく、印刷業務を継続して行なうことができる
なお、端末装置からの印刷処理要求は、データ量が少ない印刷処理内容情報を用いて行なわれるので、要求時に端末装置からサーバへ転送されるデータ量が少なく、ネットワークシステム上のトラフィック量の増大が防止されるようになっている。
請求項10記載の代替処理制御方法では、請求項11に記載されているように、障害を、印刷データの前記プリンタへの転送の制御の停止又は停滞としてもよい。
【0031】
請求項12に記載の発明は、印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置、及び前記印刷データに基づいて印刷処理を実行するプリンタと共にネットワークを構成するサーバであって、前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する決定手段と、前記決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する転送制御手段と、前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置から受けた印刷処理要求の処理を代替させる代替サーバを、前記ネットワークシステムを共に構成している他のサーバの中から選択する選択手段と、前記選択手段により選択された前記代替サーバに、前記端末装置から受けた印刷処理要求の代替を要求する要求手段と、前記ネットワークを共に構成している他のサーバからの代替要求を受けて、代替を要求してきたサーバに代わって前記端末装置からの印刷処理要求を処理するように制御する代替処理制御手段と、を有することを特徴としている。
【0032】
請求項12に記載の発明によれば、サーバは、決定手段と、転送制御手段と、選択手段と、要求手段と、代替処理手段とを備えており、またネットワークを介して少なくとも1つの他のサーバと接続されている。
【0033】
決定手段では、端末装置から受信した印刷処理内容情報に基づいて該印刷データの印刷処理に適したプリンタと、該プリンタへの印刷データの転送経路とを決定する。転送制御手段では、決定手段により決定された転送経路に従って印刷データがプリンタへ転送されるように制御している。すなわち、サーバは、端末装置から受けた印刷処理要求を処理して、印刷データをプリンタに転送させるプリントサーバとして稼動している。
【0034】
選択手段では、サーバに印刷処理要求に対する処理を行うことができない何らかの障害が発生して、正常にプリンタサーバとしての機能を遂行できなくなった場合に、該サーバの処理を代替して行なう代替サーバを共にネットワークを構成している他のサーバの中から選択する。要求手段では、端末装置からの印刷処理要求の代替して行なうように、選択手段により代替サーバに選択されたサーバに要求する。
【0035】
代替処理制御手段では、他のサーバによって代替サーバに選択され、処理の代替要求を受けると、該サーバが代替を要求してきたサーバに代わりに端末装置からの印刷処理要求を処理するように制御する。
【0036】
すなわち、請求項12に記載の発明では、請求項1に記載の発明と同様に、サーバに印刷処理要求に対する処理を行うことができない障害が発生し、正常にプリンタサーバとしての機能を遂行できなくなった場合に、代替サーバが自動的に選択され、この選択された代替サーバが該サーバに代わって、印刷処理の実行に適したプリンタ及び該プリンタへの印刷データの転送経路の決定、及び印刷データを該プリンタに転送する制御が行なわれる。また、代替サーバでは、障害発生時に処理中であった印刷要求、未処理の印刷要求、及び障害発生後になされた印刷要求に係らず、障害が発生したサーバに代わって印刷要求の処理が行なわれる。これにより、サーバが正常にプリンタサーバとしての機能を遂行できなくなった場合でも、ネットワークシステムの利用者は何ら意識することなく、印刷業務を継続して行なうことができる。
【0037】
なお、端末装置からの印刷処理要求は、データ量が少ない印刷処理内容情報を用いて行なわれるので、要求時に端末装置からサーバへ転送されるデータ量が少なく、ネットワークシステム上のトラフィック量の増大が防止されるようになっている。
請求項12記載のサーバでは、請求項13に記載されているように、障害を、転送制御手段による印刷データの転送の制御の停止又は停滞としてもよい。
また、請求項14に記載の発明は、印刷データを生成すると共に印刷処理の内容を表す印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記プリンタを管理する管理サーバと、前記管理サーバの処理を代替する代替サーバと、を含んで構成されたネットワークシステムであって、前記管理サーバは、前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する第1決定手段と、前記第1決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する第1転送制御手段と、前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置からの印刷処理要求の処理を代替させる代替サーバを選択する選択手段と、前記選択手段により選択された代替サーバに、前記端末装置から受けた前記印刷処理内容情報を転送して代替を要求する要求手段と、を有し、前記代替サーバは、前記要求手段により代替を要求された前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する第2決定手段と、前記第2決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する第2転送制御手段と、を有することを特徴としている。
請求項14に記載の発明では、管理サーバに何らかの障害が発生して、正常にプリンタサーバとしての機能を遂行できなくなった場合に、管理サーバから代替サーバに印刷処理要求に対する処理の代替を要求し、代替サーバが管理サーバに代わりに端末装置からの印刷処理要求を処理するように制御している。これにより、管理サーバでは、他のサーバの印刷処理要求を処理を代替して処理するように制御する代替処理制御手段が不要となるため、代替処理を制御するプログラム等を記憶させておく記憶領域等の必要な資源を少なく抑えることができる。
請求項14記載のネットワークシステムでは、請求項15に記載されているように、障害を、第1転送制御手段による印刷データの転送の制御の停止又は停滞してもよい。
【0038】
【発明の実施の形態】
以下、本発明に係る実施の形態を、図面を参照して詳細に説明する。
【0039】
[ネットワークシステムの構成]
図1に本実施形態におけるネットワークシステムの概略構成を示す。
【0040】
図1に示されるように、ネットワークシステム100は、第1のネットワークN1及び第2のネットワークN2を含んで構成されている。
【0041】
このうち第1のネットワークN1では、複数(本実施形態では4つ)の端末装置(以下、ワークステーションという)12W1、12W2、12W3、12W4、1台のサーバ(以下では、単にサーバと称する)14、及び複数(本実施形態では4つ)のプリンタ16P1、16P2、16P3、16P4がローカルエリアネットワーク(LAN)10を介して相互に接続されている。なお、プリンタ16P1、16P2、16P3、16P4はサーバ14により管理されている。
【0042】
また、第2のネットワークN2では、複数(本実施形態では4つ)のワークステーション22W1、22W2、22W3、22W4、1台のサーバ24、及び複数(本実施形態では4つ)のプリンタ26P1、26P2、26P3、26P4がLAN20を介して相互に接続されている。なお、プリンタ26P1、26P2、26P3、26P4はサーバ24により管理されている。
【0043】
なお、第1のネットワークN1はルータ18を介して、第2のネットワークN2はルータ28を介して、それぞれLAN(FDDI/ISDN/X.25)30に接続されている。
【0044】
図2に示すように、ワークステーション12W1には、印刷データを蓄積するためのスプール160、印刷データを生成する印刷データ生成部112と後述する印刷内容を表すリファレンスを生成するリファレンス生成部111とを含み印刷データをスプール160へ蓄積するデータ生成部110、印刷処理要求に係る処理を管理する印刷管理部120、外部とのデータの入出力を司る入出力インタフェース部(以下、入出力I/Fと称する)150、入出力I/F150を介して入力される印刷処理状況(ステータス)情報の把握・管理等を行なうステータス制御部130、及びスプール160に蓄積された印刷データを、入出力I/F150を介して外部の装置へ出力するデータ出力部140が設けられている。
【0045】
印刷管理部120は、リファレンス生成部111で生成されたリファレンスをデータ出力部140によりサーバ14へ送信することにより、サーバ14に対して印刷データの印刷処理を要求する。また、印刷データをサーバ14やプリンタ16P1等の外部装置へ転送する際には、印刷管理部120は、スプール160に蓄積された印刷データをデータ出力部140により取り出させ、入出力I/F150を介して外部の装置へ出力(転送)させる。
【0046】
なお、他のワークステーション12W2、12W3、12W4、22W1、22W2、22W3、22W4も上記と同様の構成となっている。
【0047】
図3に示すように、サーバ14は印刷処理を管理する印刷管理部240を備えており、この印刷管理部240には、外部装置からのデータの入力を行なうデータ入力部211、外部装置へのデータの出力を行なうデータ出力部212、印刷処理状況(ステータス)の把握・管理等を行なうステータス制御部230、管理下にあるプリンタの性能等の情報を管理する装置情報管理部220、ワークステーションからのリファレンスを解釈するリファレンス解釈部250、印刷データを出力させるプリンタを選出するプリンタ選出部260、データ転送経路を設定するデータ転送経路設定部270、受信した印刷データ及びリファレンスを蓄積するためのスプール280、及び障害発生時に行なう代替要求と他のサーバからの代替要求を受けて行なう代替処理とを制御する代替処理制御部300が接続されている。
【0048】
また、サーバ14は外部とのデータの入出力を司る入出力I/F210を備えており、この入出力I/F210には、該入出力I/F210を介して入力される印刷処理状況やプリンタの状態に関する情報に基づいてプリンタを監視する装置監視部213、上記データ入力部211、及びデータ出力部212が接続されている。装置情報管理部220には、後述する管理下のプリンタに関する各種情報や他のプリントサーバを代替サーバとして選択するための条件を含む装置情報テーブル290及び管理下のプリンタの後述する性能情報を含む性能情報テーブル292が記憶されたメモリ221が接続されており、装置情報管理部220は装置監視部213からのプリンタの状態に関する情報を装置情報テーブル290及び性能情報テーブル292で蓄積管理する。
【0049】
また、代替処理制御部300にもメモリ221が接続されている。代替処理制御部300は、障害発生時に、装置情報テーブル290の代替サーバの選択条件に基づいて代替サーバを選択し、装置情報テーブル290、性能情報テーブル292、印刷要求(リファレンス)、印刷データを、必要に応じて代替サーバに転送する。また、他のプリントサーバに障害が発生し、代替サーバに選択された場合には、転送されてきた装置情報テーブル290、性能情報テーブル292、印刷要求(リファレンス)、印刷データに基づいて、サーバ14で管理している管理情報を更新する。
【0050】
スプール280には、データ入力部211、データ出力部212、印刷管理部240がそれぞれ接続されており、データ入力部211で受信されたデータ(印刷データ等)が蓄積される。なお、サーバ24も上記と同様な構成になっている。
【0051】
図4に示すように、プリンタ16P1には、印刷データの印刷処理を実行する印刷処理部340、外部とのデータの入出力を司る入出力I/F310、入出力I/F310を介して外部装置から入力された印刷データやリファレンスを受信し印刷処理部340へ入力するデータ入力部320、及び入出力I/F310を介して外部装置と印刷処理状況(ステータス)に関する情報の送受信を行なうステータス制御部330が設けられている。なお、他のプリンタ16P2、16P3、16P4、26P1、26P2、26P3、26P4も上記と同様な構成になっている。
【0052】
[装置情報テーブル及び性能情報テーブルの概要]
図5には、サーバ14においてネットワークN1に接続された装置を管理するための装置情報テーブルの一例を示す。この装置情報テーブル290は、図3に示す装置監視部213、装置情報管理部220により自動的に設定又は更新される。また、装置情報テーブル290の情報は、ユーザーが図示しないキーボードにより設定又は更新可能とされている。
【0053】
図5に示すように、装置情報テーブル290には、装置名称、ネットワークアドレス、装置タイプ、通信機能(クライアント機能/サーバ機能)、性能情報テーブル番号、装置状態、代替サーバ選択情報(機能、代替サーバ選択条件)などの情報が設定されている。なお、上記のクライアント機能とは、他の装置へのデータの送信及び他の装置からのデータの獲得を実行する通信機能であり、サーバ機能とは、他の装置からのデータの受信及び他の装置からのデータ獲得要求に対するデータの提供を実行する通信機能である。
【0054】
このうち装置名称には、ネットワークN1を介して接続された装置(プリンタ、サーバ、クライアント)を識別するための各装置で固有の装置名称が設定され、ネットワークアドレスには、各装置毎に割り当てられたネットワークアドレスが設定される。装置タイプには、各装置毎のタイプ情報(クライアント(C)、プリンタ(P)、サーバ(S)の種別)が設定され、通信機能には、接続された全装置(図1のワークステーション12W1、12W2、12W3、12W4、22W1、22W2、22W3、22W4、サーバ24、プリンタ16P1、16P2、16P3、16P4、26P1、26P2、26P3、26P4)が備えた通信機能情報(クライアント機能/サーバ機能)が設定される。性能情報テーブル番号には、装置がプリンタである場合のみ、後述する性能情報テーブル292へのインデックス情報が設定され、装置状態には、各装置の状態に関する情報(オンラインかオフラインか)が設定される。
【0055】
また、代替サーバ選択情報の機能には、代替機能の有無(Y/N)が設定される。また、代替機能ありと設定された装置については、代替サーバ選択条件が設定される。この代替サーバ選択条件には、障害発生時、処理停滞時(スプール・フル、大量印刷データの送受信中など)、指定年月日・時刻における、代替サーバに選択可能な条件とその代替機能範囲が設定される。
【0056】
例えば、サーバ14に障害が発生した場合は、図5に示されている装置名称AS1N1の装置に、全ての機能を代替させることができる。また、18:00にもAS1N1に全ての機能を代替させることができるので、サーバ14のメンテナンスを行なうこともできる。また、装置名称AS1N2の装置には、サーバ14のスプールの残り容量が20%以下になった場合に、サーバ14の一部機能を代替させることができる。これにより、サーバ14のスプール・フルによるネットワークシステムのスループットの低下を防止することができる。
【0057】
図6に示すように、性能情報テーブル292には、各プリンタのPDL(プリント言語)、印字解像度、印刷速度、対応用紙サイズ、印字面(片面印刷/両面印刷)、縮尺(拡大・縮小/1枚の用紙領域をN分割してN頁分記録する指定(N−up)/%縮尺)、カラー情報などのプリンタで持つ性能・機能の全ての情報が設定されている。この性能情報テーブル292は、図3に示す装置監視部213、装置情報管理部220により自動的に設定又は更新される。また、性能情報テーブル292の情報は、ユーザーが図示しないキーボードにより設定又は更新可能とされている。
【0058】
なお、サーバ24でも、上記と同様の装置情報テーブル290及び性能情報テーブル292によって、接続された全装置の装置情報を管理している。
【0059】
[リファレンスの概要]
次に、本実施形態においてワークステーションから印刷要求を行なうため、及び後述する代替要求処理における代替処理の依頼に使用されるリファレンスについて説明する。図7にはリファレンスD2の構造を表したブロック図を、図8にはリファレンスに含まれる情報の項目を、それぞれ示している。このリファレンスD2は、印刷データとは異なるデータであり、ワークステーションからサーバへ印刷要求を行なうために使用される制御情報の集まりである。
【0060】
図7、図8に示すようにリファレンスD2は、印刷資源情報91、ジョブ属性情報92、印刷属性情報93により構成されている。このうち印刷資源情報91には、実際に印刷する印刷データの所在地の情報及び印刷処理において使用される又は必要となる各種資源の情報などが設定される。
【0061】
ジョブ属性情報92には、印刷ジョブの運用情報として、優先順位や実行する時刻指定等のスケジュール情報と、特定のプリンタの指定情報、自動的に印刷データの印刷処理に最適なプリンタを検出させ該最適なプリンタで印刷処理させるための適合プリンタ指定情報、印刷処理の負荷を分散するよう指示する負荷分散(ロードバランス)の指定、印刷データを分割して出力するよう指示する分割出力(高速出力)の指定、及びプリンタエラー時に印刷処理を中断させることなく他のプリンタに切り替えて印刷処理を続行するよう指示する迂回出力の指定等の情報を含むプリントサービス情報と、後述するデータ転送経路の情報とが、設定される。
【0062】
印刷属性情報93には、プリンタで印刷するために必要となる情報として、用紙サイズ(A3、A4、B4・・・)、印刷部数、用紙の向き(縦か横か)、拡張情報(例えば、拡大/縮小/N−upの指定、片面印刷か両面印刷かの指定色づけに関する情報等)等が設定される。
【0063】
[印刷処理手順及び印刷データの転送手順の概要]
図9には、本実施形態における通常(サーバ正常時)の印刷処理の流れを示している。なお、以下では、ワークステーション12W1(図5の装置情報テーブル290の装置名称W1N1に示す装置に対応)からサーバ14(図5の装置情報テーブル290の装置名称S1N1に示す装置対応)へ印刷要求を行ない、プリンタ16P1(図5の装置情報テーブル290の装置名称P1N1に示す装置に対応)によりプリント出力する例について説明する。また、これらの装置は、図1に示したようにサーバ24(図5の装置情報テーブル290の装置名称AS1N1に示す装置対応)にもネットワーク接続している。
【0064】
ワークステーション12W1は、ワードプロセッサ等のアプリケーションソフトの印刷データD1の生成と並行して、印刷データD1の印刷処理内容に関する各種情報を含むリファレンスD2を生成し、ワークステーション12W1内のスプール160に保管する。そして、ワークステーション12W1は印刷データD1とリファレンスD2の保管終了をトリガーとして、サーバ14にリファレンスD2を送信することでサーバ14に対し印刷処理の要求を行なう。
【0065】
サーバ14は受信したリファレンスD2に定義されている図7、図8に示す各種情報(印刷資源情報91、ジョブ属性情報92、印刷属性情報93)を解析し、ワークステーション12W1が保管している印刷データD1をプリント出力させるプリンタ及び後述するデータ転送経路パターン(図11に示すルート1〜6参照)を決定する。そして、サーバ14は決定したデータ転送経路パターンをワークステーション12W1又はプリンタ16P1に通知する。
【0066】
通知を受けたワークステーション12W1又はプリンタ16P1はサーバ14からのデータ転送経路に従い、ワークステーション12W1が印刷データD1を直接、プリンタ16P1に送信したり、プリンタ16P1が印刷データD1をワークステーション12W1より獲得するか、又はサーバ14がワークステーション12W1の印刷データD1を受信又は獲得しプリンタ16P1に転送するかを行ない、プリンタ16P1によって印刷出力を行なう。
【0067】
次に、図10、図11で示す各種のデータ転送経路パターンを説明する。
【0068】
ルート1(図10のルート▲1▼)は、サーバ14からの指示に従いプリンタ16P1が、蓄積した印刷データD1をワークステーション12W1から直接獲得するデータ転送経路であり、ルート2(図10のルート▲2▼)は、サーバ14からの指示に従いワークステーション12W1が印刷データD1をプリンタ16P1に直接送信するデータ転送経路である。
【0069】
ルート3(図10のルート▲3▼)は、サーバ14が、蓄積した印刷データD1をワークステーション12W1から獲得し、この印刷データD1をプリンタ16P1がサーバ14から獲得するデータ転送経路であり、ルート4(図10のルート▲4▼)は、サーバ14が印刷データD1をワークステーション12W1から獲得し、プリンタ16P1へ転送するデータ転送経路である。
【0070】
ルート5(図10のルート▲5▼)は、サーバ14からの指示に従いワークステーション12W1が印刷データD1をサーバ14へ送信し、プリンタ16P1がサーバ14からの指示に従い印刷データD1をサーバ14から獲得するデータ転送経路であり、ルート6(図10のルート▲6▼)は、サーバ14からの指示に従いワークステーション12W1が印刷データD1をサーバ14へ送信し、サーバ14が受信した印刷データD1をプリンタ16P1へ転送する従来と同様のルートである。
【0071】
次に、前述した各ルート毎の特性を説明する。
【0072】
ルート1(ワークステーション←プリンタ)では、データはネットワーク上を1回のみ流れる。プリンタにより印刷データが獲得されるのでワークステーションは出力先の意識が無く、ワークステーションにおいては印刷ジョブが早期に解放されるという利点がある。
【0073】
ルート2(ワークステーション→プリンタ)では、データはネットワーク上を1回のみ流れる。ワークステーション自身が印刷データを送信するが、ワークステーションで印刷要求をするユーザーは出力先を意識しない。
【0074】
ルート3(ワークステーション←サーバ←プリンタ)では、データはネットワーク上を2回流れる。サーバにより印刷データが獲得されるのでワークステーションは出力先の意識が無く、ワークステーションにおいては印刷ジョブが早期に解放されるという利点がある。また、サーバでは、プリンタにより印刷データが獲得されるので、プリンタへの印刷データの出力制御を行なう必要がない。
【0075】
ルート4(ワークステーション←サーバ→プリンタ)では、データはネットワーク上を2回流れる。サーバにより印刷データが獲得されるのでワークステーションは出力先の意識が無く、ワークステーションにおいては印刷ジョブが早期に解放されるという利点がある。
【0076】
ルート5(ワークステーション→サーバ←プリンタ)では、データはネットワーク上を2回流れる。サーバでは、プリンタにより印刷データが獲得されるので、プリンタへの印刷データの出力制御を行なう必要がない。
【0077】
ルート6(ワークステーション→サーバ→プリンタ)では、データはネットワーク上を2回流れる(従来技術)。
【0078】
ところで、本実施形態では、図12に示すように、図7、図8で示すリファレンスD2のジョブ属性情報92に応じて、上記データ転送経路パターンに対し予め優先順位を設定している。なお、図12に記載したWSはワークステーションを、PRTはプリンタを、SVはサーバを、それぞれ示しており、後述する図14でもこれらと同様の略記を用いている。
【0079】
この図12に示すように、例えば、ジョブ属性情報92で特に指定が無い場合(プリントサービス無しの場合)及び負荷分散(ロードバランス)が指定されている場合は、図11のルート1、2、3、4、5、6の順に、予め優先順位1、2、3、4、5、6がそれぞれ設定されている。
【0080】
また、ジョブ属性情報92で分割出力が指定されている場合は、図11のルート1、2は採用しないので、ルート3、4、5、6の順に、予め優先順位1、2、3、4がそれぞれ設定されており、ジョブ属性情報92で迂回出力が指定されている場合は、図11のルート6のみ採用するので、該ルート6に予め優先順位1が設定されている。
【0081】
但し、上記のように経路パターンのデフォルト優先順位(1〜6)はシステムで決められているが、ユーザーの指定により任意の優先順位に変更可能とされている。
【0082】
[装置タイプと通信機能の組合せに応じたデータ転送経路の選定について]
次に、本実施形態における装置タイプと通信機能の組合せに応じたデータ転送経路の選定について、図13、図14を用いて説明する。
【0083】
図13には、装置情報テーブル290で管理している装置タイプ、通信機能の組合せを表しており、図14には、図13の各組合せ毎に実現可能なデータ転送経路を示している。
【0084】
なお、通信機能はクライアント機能(他の装置へのデータの送信及び他の装置からのデータの獲得を実行する通信機能)とサーバ機能(他の装置からのデータの受信及び他の装置からのデータ獲得要求に対するデータの提供を実行する通信機能)とに分類している。本実施形態におけるサーバ14はクライアント機能・サーバ機能の両機能を所有している。
【0085】
図13に示すM01はワークステーションとプリンタが共にクライアント機能、サーバ機能を所有している場合の組合せであり、図14に示すように、図11のデータ転送経路パターンの全てのルート1〜6での印刷データの通信を行なうことができる。
【0086】
M02は、ワークステーションがクライアント機能、サーバ機能の両機能を所有しプリンタがサーバ機能のみ所有する場合の組合せであり、図14に示すように、図11のデータ転送経路パターンのルート2、ルート4、ルート6での印刷データの通信を行なうことができる。
【0087】
M03は、ワークステーションがクライアント機能、サーバ機能の両機能を所有し、プリンタがクライアント機能のみ所有する場合の組合せであり、図14に示すように、図11のデータ転送経路パターンのルート1、ルート3、ルート5での印刷データの通信を行なうことができる。
【0088】
M04、M08、M12及びM16は、プリンタがクライアント機能もサーバ機能も所有していない場合の組合せであり、印刷データの通信を行なうことができないので、本実施形態の対象外となる組合せである(図14にはNONEと記載)。
【0089】
M05、M06、M07及びM08は、プリンタの機能に関係なくワークステーションがサーバ機能のみ所有しクライアント機能を所有していないので、該ワークステーションからリファレンスを送信できない。このため、本実施形態の対象外となる組合せである(図14にはNONEと記載)。
【0090】
M09は、ワークステーションがクライアント機能のみ所有し、プリンタがサーバ機能、クライアント機能の両機能を所有する組合せであり、図14に示すように、図11のデータ転送経路パターンのルート2、ルート5、ルート6での印刷データの通信を行なうことができる。
【0091】
M10は、ワークステーションがクライアント機能のみ所有し、プリンタがサーバ機能のみ所有する組合せであり、図14に示すように、図11のデータ転送経路パターンでのルート2、ルート6での印刷データの通信を行なうことができる。
【0092】
M11は、ワークステーションがクライアント機能のみ所有し、プリンタもクライアント機能のみ所有する組合せであり、図14に示すように、図11のデータ転送経路パターンでのルート5での印刷データの通信を行なうことができる。
【0093】
M13、M14及びM15は、ワークステーションがクライアント機能を所有していないため、該ワークステーションからリファレンスを送信できない。このため、本実施形態の対象外となる組合せである(図14にはNONEと記載)。
【0094】
[リファレンス送受信、印刷データ送受信及び印刷データの獲得・提供についての実現可能な装置の組合せについて]
まず、図15を用いて、リファレンスの送受信動作に関し実現可能な送信装置・受信装置の組合せを説明する。図15には、ワークステーションで作成したリファレンスD2の送信装置と該リファレンスを受信する装置との組合せを示す。
【0095】
この図15に示すM20は、ワークステーションがリファレンスD2をサーバへ送信する組合せであり、M21は、ワークステーションがリファレンスD2をプリンタへ送信する組合せである。
【0096】
M22は、前述したM20でリファレンスD2を受信したサーバが、ネットワークを介して接続された他のサーバへ該リファレンスD2を転送する組合せである。また、M23は、前述したM20でリファレンスD2を受信したサーバが管理・出力対象としているプリンタへ該リファレンスD2を転送する組合せである。
【0097】
次に、図16を用いて、印刷データの送受信動作に関し実現可能な送信装置・受信装置の組合せを説明する。図16には、ワークステーションで作成された印刷データD1の送信装置と該印刷データD1を受信する受信装置との組合せを示す。
【0098】
この図16に示すM30は、ワークステーションが印刷データD1をサーバへ送信する組合せであり、M31は、ワークステーションが印刷データD1をプリンタへ送信する組合せである。
【0099】
M32は、前述したM30で印刷データD1を受信したサーバが、ネットワークを介して接続された他のサーバへ印刷データを転送する組合せである。また、M33は、前述したM30での印刷データD1を受信したサーバが管理・出力の対象としているプリンタへ印刷データD1を転送する組合せである。
【0100】
次に、図17を用いて、印刷データの獲得・提供動作に関し実現可能な獲得装置・提供装置の組合せを説明する。図17には、ワークステーションで作成された印刷データD1を獲得する獲得装置と該印刷データD1を提供する提供装置との組合せを示す。
【0101】
この図17に示すM40は、サーバがワークステーションにより蓄積された印刷データD1を獲得する組合せであり、M41は、前述したM40でサーバが獲得した印刷データD1を、該サーバにネットワークを介して接続された他のサーバが獲得する組合せである。
【0102】
M42は、プリンタがワークステーションにより蓄積された印刷データD1を獲得する組合せである。また、M43は、前述したM40でサーバが獲得した印刷データD1を、プリンタがサーバから獲得する組合せである。
【0103】
[代替要求処理手順の概要]
図18には、本実施形態における障害発生時の代替サーバ設定の流れを示している。なお、以下では、障害が発生したサーバ14の全機能を代替する代替サーバにサーバ24を決定し、ワークステーション12W1からサーバ14への印刷要求をサーバ24に代替させてプリンタ16P1によりプリント出力する例について説明する。
【0104】
サーバ14に何らかの障害が発生し、プリントサーバとしての機能を全く果たせなくなった場合、サーバ14は装置情報テーブル290の代替サーバ選択条件に基づいて代替サーバをサーバ24に決定する。そして、サーバ14に記憶されている管理情報(装置情報テーブル290、性能情報テーブル292)、蓄積されている処理中及び未処理の全ての印刷要求(リファレンスD2)、印刷データD1をサーバ24に送信することで、サーバ24に対し代替要求を行なう。
【0105】
サーバ24は、サーバ14から送信されてきた管理情報(装置情報テーブル290、性能情報テーブル292)に基づいて、サーバ24に記憶されているオリジナルの管理情報を更新する。また、サーバ14から送信されてきた印刷要求(リファレンスD2)、印刷データD1をスプールに格納する。
【0106】
次に、サーバ24は、ワークステーション12W1に、印刷データD1及びリファレンスD2の送信先のサーバがサーバ24に変更されたことを通知する。また、サーバ24は、プリンタ16P1に、印刷データD1のサーバに獲得しにいくときの獲得先サーバが、サーバ24に変更されたことを通知する。
【0107】
これにより、印刷データD1の送信先や獲得先のプリントサーバが、サーバ14からサーバ24に切り替えられて、印刷途中や未処理の印刷データD1の印刷処理が継続される。なお、この通知は、サーバ14が管理していたクライアント機能を有する全てのワークステーション、プリンタに対して行なう。
【0108】
図19には、代替サーバ設定完了後の印刷処理の流れを示している。
【0109】
ワークステーション12W1では、新規に印刷データD1と印刷データD1に対応するリファレンスD2を生成し、ワークステーション12W1内のスプール160に保管する。そして、ワークステーション12W1は印刷データD1とリファレンスD2の保管終了をトリガーとして、障害発生でプリントサーバとしての稼働が不可能となったサーバ14の代替サーバに決定されたサーバ24に、新規に作成したリファレンスD2を送信する。これにより、代替サーバであるサーバ24に対して印刷処理の要求を行なう。
【0110】
サーバ24は受信したリファレンスD2を解析し、ワークステーション12W1が保管している印刷データD1をプリント出力させるプリンタ及びデータ転送経路パターン(図11に示すルート1〜6参照)を決定する。そして、サーバ24は決定したデータ転送経路パターンをワークステーション12W1又はプリンタ16P1に通知する。
【0111】
通知を受けたワークステーション12W1又はプリンタ16P1はサーバ24からのデータ転送経路に従い、ワークステーション12W1が印刷データD1を直接、プリンタ16P1に送信したり、プリンタ16P1が印刷データD1をワークステーション12W1より獲得するか、又はサーバ24がワークステーション12W1の印刷データD1を受信又は獲得しプリンタ16P1に転送するかを行ない、プリンタ16P1によって印刷出力を行なう。
【0112】
図20には、本実施形態におけるサーバの処理停滞時の印刷処理の流れを示している。なお、以下では、スプール・フルや大量印刷データの送受信中によりサーバ14による印刷処理が停滞し、一時的に印刷処理をサーバ24に代替(迂回)処理させる例について説明する。
【0113】
ワークステーション12W1では、印刷データD1と印刷データD1に対応するリファレンスD2を生成し、ワークステーション12W1内のスプール160に保管する。そして、ワークステーション12W1は印刷データD1とリファレンスD2の保管終了をトリガーとして、サーバ14にリファレンスD2を送信することでサーバ14に対して印刷処理の要求を行なう。
【0114】
このとき、サーバ14のスプール280がフル状態、あるいはサーバ14が大量の印刷データを送受信中であり、サーバ14では直ちにワークステーション12W1から要求された印刷処理が行えない状態である。サーバ14は装置情報テーブル290の代替サーバ選択条件に基づいて、処理停滞時の代替サーバにサーバ24を決定する。サーバ14は、ワークステーション12W1から受信し、まだ処理していない印刷要求(リファレンスD2)を、処理停滞時の代替サーバに決定されたサーバ24に転送する。
【0115】
サーバ24は受信したリファレンスD2を解析し、ワークステーション12W1が保管している印刷データD1をプリント出力させるプリンタ及びデータ転送経路パターン(図11に示すルート1〜6参照)を決定する。そして、サーバ24は決定したデータ転送経路パターンをワークステーション12W1又はプリンタ16P1に通知する。
【0116】
通知を受けたワークステーション12W1又はプリンタ16P1はサーバ24からのデータ転送経路に従い、ワークステーション12W1が印刷データD1を直接、プリンタ16P1に送信したり、プリンタ16P1が印刷データD1をワークステーション12W1より獲得するか、又はサーバ24がワークステーション12W1の印刷データD1を受信又は獲得しプリンタ16P1に転送するかを行ない、プリンタ16P1によって印刷出力を行なう。
【0117】
これにより、サーバ14の機能が滞り処理されていなかった印刷要求(リファレンスD2)をサーバに24が代替して処理するので、速やかに印刷処理が行なわれる。
【0118】
[本実施形態の作用]
以下、本実施形態の作用として、ワークステーションで生成した印刷データD1を印刷処理する場合に、ワークステーション、サーバ、プリンタのそれぞれで実行される通信制御処理ルーチンを説明する。以下では、一例として、ワークステーション12W1で印刷データD1を生成し、該印刷データD1の印刷処理要求をサーバ14に対して行なうケースを想定して説明する。
【0119】
ワークステーション12W1においては、以下に述べる図21の制御ルーチンが実行される。ワークステーション12W1では、ワードプロセッサ等のアプリケーションソフトからの印刷処理依頼の有無を監視している(図21のS100)。
【0120】
印刷処理依頼が有った場合、アプリケーションソフトからの文書データを印刷データD1へ変換すると共に、変換された印刷データD1に関するリファレンスD2を生成する(S101)。なお、ここで生成された印刷データD1はワークステーション12W1内のスプール160へ蓄積される。そして、印刷データD1への変換及びリファレンスD2の生成が終了すると、LAN10を介してリファレンスD2をサーバ14へ送信することにより、該リファレンスD2を用いた印刷要求をサーバ14に対し行なう(S102)。このリファレンスD2は、印刷データD1よりもデータ量が少ないので、印刷要求時のネットワーク上のデータ伝送量(通信トラフィック量)が削減されるという利点がある。
【0121】
このようなリファレンスD2を用いた印刷要求を行った後、サーバ14からの指示を待つ(S103)。サーバ14から指示が通知されると、その指示内容を解析する(S104)。解析した結果、指示内容が印刷データD1の送信である場合(図11のルート2、5、6の場合)、印刷データD1を送信するべき送信先の情報を上記指示内容より入手し(S106)、スプール160に蓄積していた印刷データD1を前記入手した送信先へ送信する(S107)。
【0122】
一方、指示内容を解析した結果、指示内容が印刷データD1の送信でない場合(例えば、スプール160に蓄積した印刷データD1をサーバ14又はプリンタ16P1が獲得する場合(=図11のルート1、3、4の場合))、ワークステーション12W1はその時点で印刷ジョブを解放し、S100へ戻り新たな印刷処理依頼を待つ。
【0123】
なお、サーバ14に障害が発生した場合は、ワークステーションでは、代替サーバに選択されたサーバ(例えばサーバ24)から後述のサーバの変更通知を受けて、上記の処理をサーバ14から代替サーバに変更して行なう。
【0124】
次に、サーバ14においては、以下に述べる図22の制御ルーチンが実行される。
【0125】
サーバ14は、図22のS200で、ネットワークN1を介して接続された装置(ワークステーション12W1、12W2、12W3、12W4又はプリンタ16P1、16P2、16P3、16P4)からのデータの受信有無を監視している。S200でデータの受信を検知した場合は、次のS201へ進み、データを受信し、受信したデータ(受信データ)を図3のスプール280へ保管する。
【0126】
S201でスプール280への受信データの保管が完了すると、次のS220で、サーバ14において代替サーバを選択する状態が発生しているか否かをチェックする。ここでサーバ14が正常に機能する場合には、S202に進み、サーバ14に何らかの障害が発生し、プリントサーバとしての機能を果たせなくなっている場合、又は、スプール280がフル状態であったり、大量の印刷データを送受信中でありプリントサーバの機能停滞中である場合はS221に進む。ステップ221では、詳しくは後述する代替要求処理のサブルーチンを実行する。
【0127】
S202では受信データがリファレンスD2であるか否かをチェックする。ここで、受信データがリファレンスD2でなく印刷データD1であれば、後述するS208へ進み、受信データがリファレンスD2であれば、S203へ進み、図23の出力プリンタ抽出処理のサブルーチンを実行する。
【0128】
ここで、図23の出力プリンタ抽出処理を説明する。図23のS400では、抽出したプリンタの情報を記憶するための抽出プリンタテーブル、抽出したプリンタの数をカウントするための抽出プリンタカウンターC1、検索した装置の数をカウントするための検索カウンターC2を初期化し、次のS401でリファレンスD2に含まれたジョブ属性情報92、印刷属性情報93を読み込む。
【0129】
次のS402では、サーバ14で管理している装置群からのプリンタ抽出のための検索・比較(後述する)が終了したか否かを、検索カウンターC2が全装置数NTに等しくなったか否かに基づいて判断し、全ての装置に対する検索・比較が終了した時点で、図23の処理を終了して図22の主ルーチンへリターンする。
【0130】
未だ全ての装置に対する検索・比較が終了していなければ、S403へ進み、リファレンスD2のジョブ属性情報92のプリントサービス項目で、出力するべきプリンタが指定されているか否かをチェックする。ここで、出力するべきプリンタが指定されていなければ、後述するS406へ進む。
【0131】
一方、出力するべきプリンタが指定されている場合、S404で該指定されたプリンタの性能情報テーブル番号を装置情報テーブル290より検索し、該性能情報テーブル番号に対応するプリンタの性能情報を、性能情報テーブル292より得る。そして、次のS405で検索カウンターC2を(全装置数NT−1)にセットする。これにより、次の検索ループで検索が終了することになる。
【0132】
次のS406では、装置情報テーブル290より1台分の装置情報を読み込む。もちろん、プリンタが指定されている場合は、該指定されたプリンタの装置情報を読み込む。次のS407では、読み込んだ装置情報がプリンタ情報であるか否かを判断する。ここで、読み込んだ装置情報がプリンタ以外の情報であった場合は、後述するS413へ進む。
【0133】
一方、読み込んだ装置情報がプリンタ情報であった場合、S408へ進み、読み込んだ装置情報の性能情報テーブル番号に対応するプリンタ性能情報を、性能情報テーブル292より読み込み、次のS409で図24のプリント条件チェック処理のサブルーチンを実行する。
【0134】
このS409でのプリント条件チェック処理では、まず、図23のS410で対象のプリンタが適合するプリンタであるか否かを示すフラグFを初期化(オフ)する(図24のS500)。なお、フラグFがオンの場合、対象のプリンタが適合するプリンタであることを示し、フラグFがオフの場合、対象のプリンタが適合するプリンタでないことを示すものとする。
【0135】
次に、S501〜S507では、対象のプリンタが、リファレンスD2の印刷属性情報93で指定されている各種の属性を満たすプリンタであるか否かの判別を、以下のように個別の属性単位に行なう。それぞれの判別において属性を満たしていなければ、図24のサブルーチンを終了し、図23のルーチンへリターンする。
【0136】
すなわち、S501では、抽出されたプリンタが稼働できる状態であるか否かの判断を行ない、稼働できる状態であれば、次のS502へ進む。S502ではプリント言語(PDL)条件を満たしているか否かの判別を行ない、PDL条件を満たしておれば、次のS503へ進む。
【0137】
S503では、印刷解像度条件を満たしているか否かの判別を行ない、印刷解像度条件を満たしておれば、次のS504へ進む。S504では用紙条件を満たしているか否かの判別を行ない、用紙条件を満たしておれば、次のS505へ進む。
【0138】
S505では印刷面条件(片面印刷か両面印刷か)を満たしているか否かの判別を行ない、印刷面条件を満たしておれば、次のS506へ進む。S506では縮尺条件を満たしているか否かの判別を行ない、縮尺条件を満たしておれば、次のS507へ進む。
【0139】
S507ではカラー条件を満たしているか否かの判別を行ない、カラー条件を満たしておれば、次のS508へ進む。S508では、S501〜S507で判別した条件を全て満足しているので、フラグFをオンにして、処理を終了し図23のルーチンへリターンする。
【0140】
このようにして、対象のプリンタが適合するプリンタであれば、フラグFがオンにセットされ、対象のプリンタが適合するプリンタでなければ、フラグFはオフのままとなる。
【0141】
図23において次のS410では、検索したプリンタ性能がリファレンスD2の印刷属性情報93で設定された印刷条件に適合しているか否かを、上記フラグFのオンオフ状態に基づいて判断する。ここで、検索したプリンタ性能が印刷条件に適合していなければ、後述するS413へ進む。
【0142】
一方、検索したプリンタ性能が印刷条件に適合しておれば、S411へ進み、抽出プリンタカウンターC1を1つインクリメントし、次のS412では、抽出されたプリンタの通信機能と印刷要求を行ったワークステーションの通信機能とを抽出プリンタテーブルに設定する。
【0143】
次のS413では検索カウンターC2を1つインクリメントし、S402へ戻って、処理を繰り返す。
【0144】
以後、各装置情報について、S402〜S413の処理を実行する。そして、全ての装置情報について処理が完了し、検索カウンターC2が全装置数NTに等しくなると、S402で肯定判定され、図23のサブルーチンを終了する。
【0145】
以上のようにして図22のS203での出力プリンタ抽出処理を終了した後、次のS204では、以下に述べる図25のデータ転送経路パターン及びプリンタ選定処理のサブルーチンを実行する。
【0146】
まず、図25のS600では、上記出力プリンタ抽出処理において、抽出されたプリンタの通信機能が設定されたプリンタ抽出テーブルを読み込み、次のS601では抽出プリンタカウンターC1より抽出プリンタ数を読み込む。そして、次のS602でリファレンスD2に含まれるジョブ属性情報92を読み込み、次のS603では指定されたジョブ属性情報92で迂回出力が指定されているか否かを判別する。ここで迂回出力が指定されていた場合、S604で印刷データD1のデータ転送経路を図11のパターン6に設定して処理を終了し、図22の主ルーチンへリターンする。
【0147】
一方、S602でのジョブ属性情報92の判別の結果、迂回出力が指定されていなかった場合、次のS605でジョブ属性情報92で分割出力が指定されているか否かを判別する。判別した結果、分割出力が指定されていた場合、S606へ進み、S600で読み込んだプリンタ抽出テーブルから、データ転送経路のパターン4又はパターン6の組合せが可能なプリンタを検索する。次のS607ではS605で検索できたプリンタがあるか否かを判別し、検索できたプリンタがあれば、後述するS613へ進む。検索できたプリンタが無かった場合、S608でプリンタが検索できなかった旨のエラー情報を、図示しないディスプレイに表示して処理を終了し、図22の主ルーチンへリターンする。
【0148】
一方、S605での判別の結果、分割出力でなかった場合、S609へ進み、ジョブ属性情報92でロードバランスが指定されているか否かを判別する。判別の結果、ロードバランスが指定されていた場合、S610において、上記S600で読み込んだプリンタ抽出テーブル内のプリンタの中から稼働率が最も低いプリンタを選出して、S613へ進む。S609の判別の結果、ロードバランスが指定されていなかった場合は、S611へ進み、ジョブ属性情報92で適合プリンタが指定されているか否かを判別する。判別の結果、適合プリンタが指定されていた場合、S612において上記S600で読み込んだプリンタ抽出テーブルより、最も高機能な通信機能の組合せ(機能パターン)を備えたプリンタを選出して、S613へ進む。
【0149】
一方、S611で判別した結果、適合プリンタが指定されていなかった場合は、指定プリンタが指定されているものとみなし、特にプリンタを選出することなく、S613へ進む。
【0150】
そして、S613ではS606、S610、S612で選出されたプリンタ又はジョブ属性情報92の指定プリンタで指定されたプリンタより、図12に示すデータ転送経路のプライオリティテーブルに従い、優先順位の高いデータ転送経路を選出して処理を終了し、図22の主ルーチンへリターンする。
【0151】
以上のような図22のS204でのデータ転送経路パターン及びプリンタ選定処理によって、印刷データD1のデータ転送経路及びプリンタが決定される。
【0152】
次に、図22のS205で、印刷処理の要求を行っているワークステーション12W1及び上記S204で決定されたプリンタ(例えば、プリンタ16P1)に対して、決定されたデータ転送パターンを通知する。
【0153】
次のS206では、決定されたデータ転送経路がサーバにより印刷データを獲得するパターン(すなわち、図11のルート3、ルート4)であるか否かを判別する。ここで、データ転送経路がサーバにより印刷データを獲得するパターンでなければ、S200へ戻り次の受信データ待ちを行なう。
【0154】
一方、データ転送経路がサーバにより印刷データを獲得するパターン(=図11のルート3、ルート4)であれば、S207で、リファレンスD2に含まれる印刷資源情報91の印刷データ所在情報を参照してワークステーション12W1から印刷データを獲得し、獲得した印刷データを図3のスプール280に保管する。そして、次のS208では、決定されたデータ転送経路が、サーバから印刷データを転送するパターン(すなわち、図11のルート4)であるか否かを判別する。ここで、データ転送経路がサーバから印刷データを転送するパターンでなければ(すなわち、図11のルート3であれば)、S200へ戻り次の受信データ待ちを行なう。
【0155】
一方、データ転送経路がサーバから印刷データを転送するパターンであれば、S209へ進み、S204で決定されたプリンタから印刷データD1を出力するためのスケジューリングを行ない、次のS210で決定されたプリンタへ印刷データD1を送信する。その後、S200へ戻り次の受信データ待ちを行なう。
【0156】
次に、サーバ14に何らかの障害が発生し、通常の印刷処理が行えない場合について説明する。
【0157】
サーバ14に障害が発生すると、前述のS200において肯定判定され、代替要求処理を行なうためにS221に進む。S221では、代替処理制御部300において、図26に示す代替要求処理のサブルーチンが実行される。ここで、図26の代替要求処理について説明する。
【0158】
図26のS700では、メモリ221に記憶されている装置情報テーブル290(図5参照)を読み込む。次いで、装置情報テーブル290の上段の装置から、S701ではサーバ14が管理している装置の情報を1つずつ取得し、S702では取得した情報から代替サーバ選択情報の機能欄を参照し、該装置が代替サーバの機能を有しているか否かをチェックする。代替サーバの機能を有していない場合は、S703に進み、サーバ14が管理している全ての装置についてチェックしたか否かが判断され、未チェックの装置がある場合は、S701に戻る。
【0159】
代替サーバの機能を有している装置が検索されると、装置情報テーブル290で設定されている該装置の代替サーバ選択条件が、サーバ14の状態(代替サーバを選択しなければならない事象)と一致するか否かがチェックされる。一致しない場合は前述のS703に進む。すなわち、サーバ14の状態に一致する代替サーバ機能を有する装置が選択されるまで、サーバ14が管理している装置を1つずつ順次チェックする。
【0160】
全ての装置のチェックが終了しても、代替サーバが選択されなかった場合(S703で肯定判定)には、図22のプリントサーバ処理のメインルーチンに戻る。この場合、サーバ14が代替サーバを選択する状態であるのにも係らず、処理を代行してくれる代替サーバがない状態である。したがって、サーバ14に障害が発生している場合は、継続して印刷処理を実行することが困難であるため、適切なエラー処理を行なう。また、プリントサーバの機能停滞中である場合は、継続して印刷処理を行なうことは可能であるため、処理を継続させる。
【0161】
一方、サーバ14の状態に一致する代替サーバ機能を有する装置(以下、「代替サーバ」という)が選択されると(S704で肯定判定)、S705に進み、代替する機能の範囲をチェックする。
【0162】
サーバ14に障害が発生し、全ての機能を代替サーバに代替させる場合(S705で肯定判定)は、S706で性能情報テーブル292、S707で装置情報テーブル290をサーバ14から代替サーバに送信する。またS708ではサーバ14に蓄積されている印刷データD1、S709では処理中及び未処理の全ての印刷要求(リファレンスD2)を代替サーバに送信する。これらの情報の送信により、サーバ14は代替サーバに全ての機能の代替を要求する。これにより、プリンタがプリントサーバに印刷データD1を獲得しに来るルート(ルート3、5)及びプリントサーバがプリンタに印刷データD1を送信するルートが選択され、スプール280に格納されている印刷途中の印刷データD1、あるいは未処理の印刷データD1の印刷処理を代替サーバに代行させることができる。
【0163】
一方、サーバ14の機能が停滞しており、一部の機能を代替サーバに代替させる(迂回する)場合(S705で否定判定)は、S709に進み、新規にワークステーション12W1から送られてきた未処理の印刷要求(リファレンスD2)のみを代替サーバに転送する。これにより、プリンタがプリントサーバに印刷データD1を獲得しに来るルート(ルート3、5)及びプリントサーバがプリンタに印刷データD1を送信するルートが選択され、スプール280に大量に蓄積された場合や、大量のデータの転送中によりサーバ14の処理が滞っているときに、代替サーバにサーバ14の処理の一部(未処理の印刷要求の処理)を代行させることができる。すなわち、如何なるときでも、リファレンスD2を用いたことによる利点(ネットワークシステム全体のスループットの低下の防止)を享受することができる。
【0164】
次に、障害が発生したサーバ14(代替要求サーバ)により代替サーバに選択された代替サーバにおいては、以下に述べる図27の制御ルーチンが実行される。なお、代替サーバは、サーバ14の管理外の他のプリンタ郡のプリントサーバとして稼働中であっても、専用の代替プリントサーバとして待機しているものであってもよい。以下では、サーバ14の代替サーバにサーバ24が選択された例について説明する。なお、サーバ24は、サーバ14の管理外の他のプリンタ群のプリンタサーバとして稼働中であり、先に述べたサーバ14と同様の処理が行なわれている。図27では、サーバ14と同一の処理には図22と同一の符号を付与し、ここでは説明を省略する。
【0165】
サーバ24は、S200で、ネットワークN2を介して接続された装置(ワークステーション22W1、22W2、22W3、22W4又はプリンタ26P1、26P2、26P3、26P4)、及び他のプリントサーバ(サーバ14)からのデータの受信有無を監視している。S200でデータの受信を検知した場合は、次のS201へ進み、データを受信し、受信したデータ(受信データ)を図3のスプール280へ保管する。
【0166】
S201でスプール280への受信データの保管が完了すると、S202に進み、受信データがリファレンスD2であるか否かをチェックする。ここで、受信データがリファレンスD2の場合は、サーバ14の印刷ルーチンと同様にS203からS210の処理が行なわれる。これにより、サーバ14の処理が停滞し、サーバ24に送られてきた未処理のレファレンスD2も、ワークステーションからのリファレンスD2と同様に処理される。すなわち、サーバ24によりサーバ14の処理が代替(迂回)処理される。
【0167】
一方、受信データがリファレンスD2でない場合は、S230へ進む。S230では、受信データが他のプリントサーバ(サーバ14)からの代替要求か否かのチェックを行なう。すなわち、受信データに、装置情報テーブル290及び性能情報テーブル292が含まれているかをチェックする。装置情報テーブル290及び性能情報テーブル292が含まれている場合は、他のプリントサーバ(サーバ14)からの全機能の代替要求であると判断し、代替要求を処理するためにS231に進む。他のプリントサーバからの代替要求ではない場合(受信データが印刷データD1のみ)は、サーバ14の印刷ルーチンと同様にS208に進む。
【0168】
S231では、図28に示す性能情報テーブル更新処理のサブルーチンを実行し、代替要求で送られてきたサーバ14の性能情報テーブル292に基づいて、サーバ24の性能情報テーブル292を更新する。
【0169】
ここで、図28の性能情報テーブル更新処理を説明する。S901では、代替処理制御部300において代替要求で送られてきたサーバ14の性能情報テーブル292を獲得し、次いでS902では、サーバ24の性能情報テーブル292を読み込む。
【0170】
以降の処理(S903からS905)は、代替要求で送られてきたサーバ14の性能情報テーブル292に登録されている装置について1つずつ順番に行なう。
【0171】
S903では、獲得したサーバ14の性能情報テーブル292に登録されている装置(プリンタ)をサーバ24の性能情報テーブル292に登録されている全ての装置と照合する。
【0172】
同一の装置がサーバ24の性能情報テーブル292に既に登録されている場合(S903で肯定判定)は、サーバ14の性能情報テーブル292に登録されている次の装置を照合する。
【0173】
サーバ24の性能情報テーブル292に登録されている装置の中に同一の装置がない場合(S903で否定判定)は、S904に進み、該装置をサーバ24の性能情報テーブル292に新規登録し、サーバ24の性能情報テーブル292を更新する。
【0174】
サーバ14の性能情報テーブル292に登録されている全ての装置について、サーバ24の性能情報テーブル292に登録されている装置と照合し、サーバ24の性能情報テーブル292の更新処理が終了したら、図27の主ルーチンへリターンする(S905)。
【0175】
図27の主ルーチンに戻ると、次のS232では、図29に示す装置情報テーブル更新処理のサブルーチンを実行し、代替要求で送られてきたサーバ14の装置情報テーブル290に基づいて、サーバ24の装置情報テーブル290を更新する。
【0176】
ここで、図29の装置情報テーブル更新処理を説明する。SA01では、代替処理制御部300において、代替要求で送られてきたサーバ14の装置情報テーブル290を獲得し、次いでSA02では、サーバ24の装置情報テーブル290を読み込む。
【0177】
以降の処理(SA03からSA06)は、代替要求で送られてきたサーバ14の装置情報テーブル290に登録されている装置について1つずつ順番に行なう。
【0178】
SA03では、獲得したサーバ14の装置情報テーブル290に登録されている装置がプリンタ装置であるか否かが判断される。プリンタではない場合(否定判定)は、サーバ14の装置情報テーブル290に登録されている次の装置について判断を行なう。プリンタ装置である場合(肯定判定)は、SA04に進む。
【0179】
SA04では、獲得したサーバ14の装置情報テーブル290に登録されている装置(プリンタ)をサーバ24の装置情報テーブル290に登録されている全ての装置と照合する。
【0180】
同一の装置がサーバ24の装置情報テーブル290に既に登録されている場合(SA04で肯定判定)は、SA03に戻り、サーバ14の装置情報テーブル290に登録されている次の装置がプリンタであるかの判断を行なう。
【0181】
サーバ24の装置情報テーブル290に登録されている装置の中に同一の装置がない場合(SA04で否定判定)は、SA05に進み、該装置(プリンタ)をサーバ24の装置情報テーブル290に新規登録し、サーバ24の装置情報テーブル290を更新する。
【0182】
なお、装置が同一であるか否かの判断は、図5に示した前述の装置情報テーブル290の装置名称又はネットワークアドレスにより行なう。
【0183】
サーバ14の装置情報テーブル290に登録されている全ての装置について、サーバ24の装置情報テーブル290に登録されている装置と照合し、サーバ24の装置情報テーブル290の更新処理が終了したら、図27の主ルーチンへリターンする(SA06)。
【0184】
上記、性能情報テーブル更新処理(図27の主ルーチンS231)と装置情報テーブルの更新処理(S232)の処理により、サーバ14が管理していた全ての端末装置、及びプリンタを、サーバ24の管理下に入れることができる。
【0185】
次のS233では、代替要求で送られてきたサーバ14からの印刷データD1、印刷要求(リファレンスD2)をサーバ24のスプール280に保管する。すなわち、プリンタがプリンタサーバに印刷データD1を獲得しに来るルート(ルート3、5)及びプリントサーバがプリンタに印刷データD1を送信するルートが選択され、サーバ14のスプール280に格納されていた印刷途中、あるいは未処理の印刷データD1が、サーバ24のスプール280に格納される。また、サーバ14の未処理の印刷要求(リファレンスD2)もスプール280に格納される。格納が終了するとS234に進む。
【0186】
S234では、データの転送経路を変更する。すなわち、プリンタがプリンタサーバに印刷データD1を獲得しに来るルート(ルート3、5)及びプリントサーバがプリンタに印刷データD1を送信するルートのサーバの所在情報(ネットワークアドレスなど)をサーバ14からサーバ24に変更する。また、このデータの転送経路変更の対象となるワークステーション及びプリンタに通知する。これにより、サーバ14により印刷要求(リファレンスD2)が処理され印刷中であった印刷データD1や、未処理(印刷待機中)の印刷データD1を継続して印刷処理することができる。
【0187】
サーバ24が、サーバ14が管理しているプリンタ群とは別のプリンタ群のプリンタサーバとして稼動している場合、サーバ14と同様に前述のS209の処理が行なわれて、サーバ24が本来管理しているプリンタ群に印刷データD1を送信するスケジューリングが既に行なわれている。次のS235では、この既にスケジューリングが行なわれた印刷要求と、サーバ14から代替要求で送られてきた印刷要求とが全て適切に印刷処理されるように、再スケジューリングを行なう。
【0188】
以上のように、サーバ14に代替サーバを選択する状態が発生した場合に、サーバ14から代替要求された処理を、サーバ24で代替(迂回)して処理することができる。なお、便宜上、代替要求サーバと代替サーバの制御を別々に説明したが、これらは同一のサーバにて実施されるものである。例えば、サーバ14が管理しているプリンタ群とは別のプリンタ群のプリンタサーバとして稼働中のサーバ24に障害が発生した場合には、逆にサーバ24が代替要求サーバとなってサーバ14に代替要求を行ない、サーバ14にサーバ24の処理を代替させることもできる。
【0189】
次に、プリンタにおいては、以下に述べる図30の制御ルーチンが実行される。プリンタ(ここでは、一例としてプリンタ16P1)は図30のS300で、ネットワークN1を介して接続されたワークステーション12W1、12W2、12W3、12W4又はサーバ14から、印刷データD1を受信したか否かのチェックを行っている。印刷データD1の受信が無い場合、S302においてサーバ14からのデータ獲得指示を受け付けているか否かのチェックを行なう。S302においてサーバ14からのデータ獲得指示を受け付けていない場合は、S300へ戻り、再度印刷データD1の受信チェックを行なう。
【0190】
S302においてサーバ14からのデータ獲得指示を受け付けたと判断すると、S303へ進み、該データ獲得指示の内容から印刷データの獲得先(ワークステーション又はサーバ)の情報を入手する。そして、次のS304では上記印刷データの獲得先から印刷データD1を獲得し、獲得した印刷データD1を図4の印刷処理部340に備えられている図示しないスプールへ保管する。この保管が終了すると、S305へ進み、保管した印刷データD1の印刷出力を行なう。
【0191】
一方、S300において印刷データD1の受信を検知すると、S301へ進み、受信した印刷データD1を図4の印刷処理部340に備えられている図示しないスプールへ保管する。この保管が終了すると、S305へ進み、保管した印刷データD1の印刷出力を行なう。このようにしてプリンタにおいて、印刷データD1が印刷出力される。
【0192】
なお、サーバ14に障害が発生した場合は、プリンタでは、代替サーバに選択されたサーバ24から前述のS234における変更通知を受けて、上記の処理をサーバ14からサーバ24に変更して行なう。
【0193】
以上説明した本実施形態では、ワークステーションは、印刷データD1よりもデータ量が少ないリファレンスD2を用いてサーバに印刷データD1の印刷処理を要求するので、要求時にワークステーションからサーバへ転送されるデータ量が減少し、ネットワーク上のデータ伝送量(通信トラフィック量)を削減することができる。また、印刷処理要求時にサーバで蓄積するべきデータ量も減少するので、サーバでは特に磁気ディスク装置等の増設を必要とせず、コスト低減を図ることができる。
【0194】
また、サーバでは、リファレンスD2を用いたワークステーションからの印刷処理要求を受けて、適正なプリンタ及び印刷データの転送経路を決定する。そして、前述したワークステーション、サーバ、プリンタの各々における制御処理ルーチンにより、上記適正な転送経路に基づく印刷データの印刷処理を実現することができる。
【0195】
また、サーバに何らかの障害が発生し通常の処理が行えない場合には、自動的に自動的に装置情報テーブル290から代替サーバが選択される。また、装置情報テーブル290、性能情報テーブル292が選択された代替サーバに送信され、代替サーバ側の設定も自動的に行なわれる。また、代替サーバにより障害が発生したサーバの処理が引き継がれて行なわれる。これにより、代替サーバの設定、利用者への通知などのネットワークシステムの障害発生時にかかる運用負荷を大幅に軽減することができる。
【0196】
また、障害が発生したサーバで行なわれていた、あるいは行なう予定であった処理が、選択された代替サーバにより代行される。これにより、障害が発生した場合でも、印刷処理を中断することなく、代替サーバにより印刷処理が継続されるので、信頼性の高いネットワークシステムを構築することができる。
【0197】
また、障害が発生したサーバで処理されていた印刷途中の印刷データD1の処理も、選択された代替サーバで引き継いで行なわれる。これにより、途中まで印刷した印刷データD1を再度先頭から印刷する必要がないため、資源(用紙、トナー、電力等)の無駄使いを低減することができる。
【0198】
また、スプール・フルや大量の印刷データの送受信等によりサーバの処理が停滞した(ネットワークシステム全体のスループットが低下)場合も、自動的に装置情報テーブル290から代替サーバが選択され、処理が滞ったサーバによる代替要求、及び代替サーバによる代替処理が行なわれる。これらの処理は印刷データD1よりもデータ量が少ないリファレンスD2を用いて行なわれるため、ネットワーク上のデータ伝送量(通信トラフィック量)の増大を未然に防止しつつ、ネットワークシステム全体のスループットを向上させることができる。
【0199】
なお、上記実施形態の作用では、ワークステーション12W1で印刷データD1を生成し、該印刷データD1の印刷処理要求をサーバ14に対して行なうケースを想定して説明したが、1つのネットワーク内に限定されず、ネットワークを介して接続された全てのワークステーション、サーバ、プリンタ間で上記と同様の通信制御処理を実現することができる。
【0200】
また、サーバ14に障害が発生し、他のネットワークでサーバ14の管理外のプリンタ群を管理しているサーバ24に処理を代替させるケースを想定して説明したが、これに限定されない。ネットワークを介して接続された全てのサーバ間で上記と同様の代替処理要求及び代替処理を実現し、ワークステーション、サーバ、プリンタ間で上記と同様の通信制御処理を実現することができる。また、ネットワークを介して接続された代替専用のプリントサーバを設置し、他のサーバからの代替要求を待機させてもよい。
【0201】
【発明の効果】
上記のように、本発明では、サーバに障害が発生した場合でも代替サーバを動的に選択して印刷処理を継続して行なうことができるネットワークシステム、代替処理制御方法、及びサーバを提供することができる。
【図面の簡単な説明】
【図1】 本実施形態におけるネットワークシステムの全体構成図である。
【図2】 ワークステーションの構成を示すブロック図である。
【図3】 サーバの構成を示すブロック図である。
【図4】 プリンタの構成を示すブロック図である。
【図5】 サーバで管理する装置情報テーブルの一例を示す表である。
【図6】 サーバで管理するプリンタ性能情報テーブルの一例を示す表である。
【図7】 リファレンスの構造を示す概念図である。
【図8】 リファレンスの詳細情報の一例を示す表である。
【図9】 プリントの流れを示す概念図である。
【図10】 データ通信ルートを示す概念図である。
【図11】 データ転送経路パターンの一覧表である。
【図12】 データ転送経路に関する優先順位を示す表である。
【図13】 ワークステーションとプリンタの通信機能マトリックス表である。
【図14】 図13の通信機能マトリックス別のデータ転送経路を示す表である。
【図15】 リファレンスの送信装置と受信装置のマトリックス表である。
【図16】 印刷データの送信装置と受信装置のマトリックス表である
【図17】 印刷データの獲得装置と提供装置のマトリックス表である。
【図18】 障害発生時の代替サーバ設定の流れを示す概念図である。
【図19】 代替サーバ設定完了後のプリントの流れを示す概念図である。
【図20】 処理停滞時のプリントの流れを示す概念図である。
【図21】 ワークステーションにおいて実行される通信制御処理ルーチンを示す流れ図である。
【図22】 サーバ(代替要求サーバ)において実行される通信制御処理ルーチンを示す流れ図である。
【図23】 出力プリンタ抽出処理のサブルーチンを示す流れ図である。
【図24】 プリント条件チェック処理のサブルーチンを示す流れ図である。
【図25】 データ転送経路パターン及びプリンタ選定処理のサブルーチンを示す流れ図である。
【図26】 代替要求サーバにおいて実行される代替要求処理のサブルーチンを示す流れ図である。
【図27】 サーバ(代替サーバ)において実行される通信制御処理ルーチンを示す流れ図である。
【図28】 代替サーバにおいて実行される性能情報テーブル更新処理のサブルーチンを示す流れ図である。
【図29】 代替サーバにおいて実行される装置情報テーブル更新処理のサブルーチンを示す流れ図である。
【図30】 プリンタにおいて実行される通信制御処理ルーチンを示す流れ図である。
【符号の説明】
10、20 LAN
12W1、12W2、12W3、12W4 ワークステーション
14 サーバ
24 サーバ
16P1、16P2、16P3、16P4 プリンタ
22W1、22W2、22W3、22W4 ワークステーション
26P1、26P2、26P3、26P4 プリンタ
D1 印刷データ
D2 リファレンス(印刷処理内容情報)
91 印刷資源情報
92 ジョブ属性情報
93 印刷属性情報
100 ネットワークシステム
110 データ生成部
120 印刷管理部
220 装置情報管理部
221 メモリ(選択情報記憶部、管理情報記憶部)
240 印刷管理部(決定手段、転送制御手段)
260 プリンタ選出部
270 データ転送経路設定部
280 スプール
290 装置情報テーブル(管理情報、代替サーバ選択情報)
292 性能情報テーブル(管理情報)
300 代替処理制御部(選択手段、要求手段、代替処理制御手段)
340 印刷処理部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a network system, an alternative processing control method, and a server, and more particularly, includes a terminal device that generates print data, a printer that executes print processing based on the print data, and a server that manages the printer. Network system, an alternative processing control method for replacing a print processing request received from a terminal device with another server that constitutes a network when a failure occurs in the server in the network system, and the network system Related to the server.
[0002]
[Prior art]
Conventionally, a network system including a plurality of workstations, a plurality of printers, and a print server that manages the printers has been constructed. During print processing in such a network system, a large amount of print data is transmitted from the workstation to the print server via the network and temporarily stored in the memory in the print server. Next, the print server transmits print data to at least one printer connected to the network via the network, and the printer performs print processing of the print data.
[0003]
Further, as seen in Japanese Patent Application Laid-Open No. 9-62467, etc., the print server stores the function of each printer connected to a network such as a LAN (local network) in advance in a table or the like. A technique for selecting a printer suitable for printing from a plurality of printers having different functions based on print data is known. For example, the print server determines the description language of the document to be printed, the presence / absence of color printing, the paper size, and the like from the print data, and selects a printer that satisfies these various printing conditions obtained by the determination.
[0004]
In the above technique, a print request is made by transmitting a large amount of print data from a workstation to a print server. The print server receives print data from a plurality of workstations connected to the network at a time. For this reason, when print processing requests are concentrated, there is a possibility that the memory capacity of the print server that stores the print data becomes full, and the print data from the workstation cannot be accepted. In order to solve this problem, it is conceivable to expand the memory area for storing print data of the print server by adding a disk or the like. Problems arise.
[0005]
Also, a large amount of print data is transmitted from the workstation to the print server via the network, and then a large amount of print data is also transmitted from the print server to the printer via the network. For this reason, the data transmission amount (communication traffic amount) on the network increases, and there is a possibility that the data transmission processing efficiency in the entire network system is lowered.
[0006]
In order to solve the above problem, the invention described in Japanese Patent Application No. 9-257132 does not transfer print data from a workstation to a print server, but rather reference information (print Print resource information indicating the location of data, job attribute information specifying print service information, and print attribute information indicating the paper size and orientation of the print data) Yes. The print server that has received this reference information selects a printer that satisfies the print attribute information. Also, the route of print data flowing between the workstation, the print server, and the printer is divided into routes (routes 1 and 2) that do not pass through two types of print servers, and routes (routes 3 and 4, Determine from among 5 and 6). At this time, routes 1 and 2 that do not pass through the print server are preferentially determined, and print data is transmitted and received according to the determined route. Therefore, the print data is transferred to the printer without passing through the print server as much as possible, and printing processing is performed. This reduces the number of times print data flows on the network, prevents an increase in data transmission volume (communication traffic volume) on the network, and improves the overall network system throughput. it can. Another feature is that print services such as load distribution, divided output, and detour output are efficiently performed.
[0007]
[Problems to be solved by the invention]
However, in the above, since a mechanism for substituting print processing was not provided, when a failure occurs in the printer server, until the print server in which the failure occurs is restored or until the setting of the replacement server is completed, The printing process could not be executed.
[0008]
At this time, the administrator must stop the print server in which the failure has occurred and prepare an alternative server. To set up an alternative server, the management information of the alternative server must be updated based on the management information (device information table, performance information table) of the print server in which the failure has occurred. Also, confirm the processing status of each user's print request with all users, request a print request again if necessary, print processing cannot be performed until an alternative server is set, and printing until recovery Requests must be made known to the alternate server, etc.
[0009]
Further, the user confirms his / her print processing status, and if printing has not been completed, the user must make a print request again to the alternative server prepared by the administrator. However, the print data requested to be printed is a route (route 3, 4) for transferring the print data to the printer via the print server in the route selection described in Japanese Patent Application No. 9-257132 when a failure occurs in the print server. When 5, 6) is selected and transfer is in progress, print data may be lost. At this time, a part of the print data has already been printed by the selected printer, causing a problem of wasteful use of resources (paper, toner, power, etc.).
[0010]
Further, when a route (route 3, 4, 5, 6) for transferring print data to the printer via the print server is selected and processed, a large amount of print data is accumulated in the spool of the printer server, Processing of the print server may be delayed due to transmission / reception of a large amount of print data. For this reason, the throughput of the entire network system is lowered, and there are cases where the effects of using the reference cannot be fully enjoyed.
[0011]
The present invention has been made to solve the above-described problem. Even when a failure occurs in a server, a network system capable of dynamically selecting an alternative server and continuously performing printing processing, and alternative processing control It is an object to provide a method and a server.
[0012]
[Means for Solving the Problems]
  In order to achieve the above object, the invention described in claim 1 is a terminal device that generates print data and represents print processing content and generates print processing content information having a smaller data amount than the print data. A network system including a printer that executes print processing based on print data, and a server that manages the printer, wherein the server sends a print processing request for the print data from the terminal device. Based on the received print processing content information, a printer that executes the print processing, a determination unit that determines a transfer path of print data to the printer, and the print data according to the transfer path determined by the determination unit Transfer control means for controlling transfer to a printer;When a failure that prevents processing for the print processing request occurs,A selection unit that selects an alternative server that substitutes the processing of the print processing request from the terminal device, and a request that requests the server selected as the alternative server by the selection unit to replace the print processing request received from the terminal device And alternative processing control means for controlling to process the print processing request from the terminal device in place of another server when selected as an alternative server by another server.
[0013]
According to the first aspect of the present invention, the network system includes a terminal device, a printer, and a server. In the terminal device, print data is generated and print processing content information representing the content of the print processing and having a smaller data amount than the print data is generated, and the print processing content information is transmitted to the server to print the print data. A processing request is being made. That is, the amount of data transferred from the terminal device to the server at the time of the request is reduced, and an increase in the amount of traffic on the network system is prevented.
[0014]
The server includes a determination unit, a transfer control unit, a selection unit, a request unit, and an alternative process control unit.
[0015]
The determining unit determines a printer suitable for the print processing of the print data and a transfer path of the print data to the printer based on the print processing content information received from the terminal device. The transfer control unit controls the print data to be transferred to the printer according to the transfer path determined by the determination unit. That is, the server operates as a print server that processes a print processing request received from a terminal device and transfers print data to a printer.
[0016]
  In the selection means, the serverUnable to process print requestWhen a failure occurs and the function as a printer server cannot be normally performed, an alternative server that performs the processing of the server is selected from other servers that together form the network. The requesting unit requests the server selected by the selection unit as the alternative server so as to replace the print processing request from the terminal device.
[0017]
In the alternative processing control means, when the alternative server is selected by another server and receives an alternative request for processing, the server controls the server to process the print processing request from the terminal device instead of the server requesting the alternative. .
[0018]
  That is, in the invention according to claim 1, the serverUnable to process print requestWhen a failure occurs and the function as a printer server cannot be performed normally, an alternative server is automatically selected, and the selected alternative server is a printer suitable for executing print processing on behalf of the server. In addition, determination of the transfer path of the print data to the printer and control for transferring the print data to the printer are performed. In the alternative server, the print request is processed on behalf of the failed server regardless of the print request being processed at the time of the failure, the unprocessed print request, and the print request made after the failure occurs. . As a result, even when the server cannot normally perform the function as a printer server, the user of the network system can continue to perform printing work without being aware of anything.
[0019]
In addition, the selection means stores the alternative server selection information configured to include the location information of the other server and the alternative server starting condition for starting as an alternative server, as described in claim 2 An information storage unit may be included, and an alternative server may be selected based on the alternative server selection information.
[0020]
According to a third aspect of the present invention, the server is used for determining a printer suitable for execution of the printing process by the determining means, and the location information for each of the terminal device and the printer managed by the server. And a management information storage unit that stores management information including performance information, and the request unit includes print processing content information received from the terminal device, the management information, and a transfer path for transferring through the server. The substitute request may be made by transmitting to the substitute server at least one of the print data that is determined and stored in the server being transferred from the terminal device to the printer.
[0021]
In the network system according to claim 3, when the print processing content information is received as an alternative request from another server, as described in claim 4, the alternative processing control means receives the received print processing content. Based on the information, it may be controlled so that the determination by the determination means is performed.
[0022]
When management information is received as an alternative request from another server, as described in claim 5, the alternative processing control means determines whether the alternative processing request has been made based on the received management information. The management information of the server may be updated so that all terminal devices and printers managed by the server are under the management of the server.
[0023]
In addition, when print data stored in a server that has requested a substitution in the middle of transfer from the terminal device to the printer as a substitution request from another server is received, the substitution is performed as described in claim 6. The control means notifies at least one of the terminal device and the printer that the transfer path is changed through the server instead of the server requesting the replacement, and the transfer of the print data is continued through the server. It is good to control so that it is performed.
[0024]
In the network system according to any one of claims 3 to 6, when the server processing is stagnant, as described in claim 7, the request unit receives the unprocessed print processing content received from the terminal device. By transmitting information to the alternative server, an alternative to an unprocessed print processing request received from the terminal device may be requested.
[0025]
  Claims 3 to7In the network system according to claim 8, when stopping the function of the server, as described in claim 8, the request unit includes all print processing content information received from the terminal device regardless of whether processing is in progress or not. By transmitting the management information and the print data stored in the server in the middle of the transfer from the terminal device to the printer after the transfer path to be transferred through the server is determined by the determining means, from the terminal device An alternative to all received print processing requests may be requested.
In the network system according to any one of claims 1 to 8, as described in claim 9, the failure may be stoppage or stagnation of control of transfer of print data by the transfer control unit.
[0026]
  Claims10According to the invention, a terminal device that generates print data and represents print processing content and generates print processing content information having a data amount smaller than the print data, and a printer that executes print processing based on the print data And determining a printer suitable for execution of the printing process and a transfer path of the printing data to the printer based on the printing process content information transmitted as a print processing request for the print data from the terminal device. In a network system configured to include a server for controlling data to be transferred to the printer, a print processing request received from the terminal device when a failure occurs in the server together forms the network. An alternative processing control method for substituting another server,When a failure that prevents processing for the print processing request occurs,Based on the alternative server selection information stored in advance, the server selects an alternative server for substituting a print processing request from the terminal device from among other servers that together constitute the network system; Print processing content information received from the terminal device, management information of the terminal device and printer managed by the server stored in advance, and a transfer path to be transferred via the server are determined and transferred from the terminal device to the printer A substitute request is made by transmitting at least one of the print data stored in the server on the way to the server selected as the substitute server, and the server selected as the substitute server receives the substitute request. In response to this, control is performed so that the print processing request from the terminal device is processed instead.
[0027]
  Claim10According to the invention described inUnable to process print requestWhen a failure occurs, an alternative server that substitutes the print processing request from the terminal device is selected from other servers that together constitute the network system. This selection is performed based on the alternative server selection information stored in advance.
[0028]
Next, an alternative request is made to the server selected as the alternative server. This substitute request is determined by determining the print processing content information received from the terminal device, the management information of the terminal device and printer managed by the server stored in advance, and the transfer path to be transferred via the server. Is performed by transmitting at least one of the print data stored in the server being transferred from the printer to the printer to the server selected as the alternative server.
[0029]
In response to this substitute request, the server selected as the substitute server is controlled to process the print processing request from the terminal device in place, and the print data is transferred to a printer suitable for executing the print processing. Controlled.
[0030]
  That is, the claim10In the invention described in claim 1, as in the invention described in claim 1,Unable to process print requestWhen a failure occurs and the function as a printer server cannot be performed normally, an alternative server is automatically selected, and the selected alternative server is a printer suitable for executing print processing on behalf of the server. In addition, determination of the transfer path of the print data to the printer and control for transferring the print data to the printer are performed. In the alternative server, the print request is processed on behalf of the failed server regardless of the print request being processed at the time of the failure, the unprocessed print request, and the print request made after the failure occurs. . As a result, even if the server cannot normally perform the function as a printer server, the network system user can continue to perform printing work without being aware of anything.
  Since the print processing request from the terminal device is made using print processing content information with a small amount of data, the amount of data transferred from the terminal device to the server at the time of the request is small, and the amount of traffic on the network system increases. It is to be prevented.
In the alternative processing control method according to the tenth aspect, as described in the eleventh aspect, the failure may be a stop or stagnation of control of transfer of print data to the printer.
[0031]
  Claim12According to the invention described in the above, a terminal device that generates print data, represents print processing content, and generates print processing content information having a data amount smaller than the print data, and executes print processing based on the print data A server that forms a network together with a printer, the printer that executes the print processing based on the print processing content information sent from the terminal device as a print processing request for the print data, and print data to the printer Determining means for determining the transfer path, and transfer control means for controlling the print data to be transferred to the printer according to the transfer path determined by the determining means,When a failure that prevents processing for the print processing request occurs,A selection means for selecting an alternative server for substituting the processing of the print processing request received from the terminal device from among other servers constituting the network system; and the alternative server selected by the selection means. The requesting device for requesting replacement of the print processing request received from the terminal device, and the terminal device on behalf of the server that has requested replacement by receiving a replacement request from another server that constitutes the network together And an alternative processing control means for controlling to process a print processing request.
[0032]
  Claim12According to the invention described in (1), the server includes a determination unit, a transfer control unit, a selection unit, a request unit, and an alternative processing unit, and is connected to at least one other server via a network. Has been.
[0033]
The determining unit determines a printer suitable for the print processing of the print data and a transfer path of the print data to the printer based on the print processing content information received from the terminal device. The transfer control unit controls the print data to be transferred to the printer according to the transfer path determined by the determination unit. That is, the server operates as a print server that processes a print processing request received from a terminal device and transfers print data to a printer.
[0034]
  In the selection means, the serverUnable to process print requestWhen a failure occurs and the function as a printer server cannot be normally performed, an alternative server that performs the processing of the server is selected from other servers that together form the network. The requesting unit requests the server selected by the selection unit as the alternative server so as to replace the print processing request from the terminal device.
[0035]
In the alternative processing control means, when the alternative server is selected by another server and receives an alternative request for processing, the server controls the server to process the print processing request from the terminal device instead of the server requesting the alternative. .
[0036]
  That is, the claim12In the invention described in claim 1, as in the invention described in claim 1,Unable to process print requestWhen a failure occurs and the function as a printer server cannot be performed normally, an alternative server is automatically selected, and the selected alternative server is a printer suitable for executing print processing on behalf of the server. In addition, determination of the transfer path of the print data to the printer and control for transferring the print data to the printer are performed. In the alternative server, the print request is processed on behalf of the failed server regardless of the print request being processed at the time of the failure, the unprocessed print request, and the print request made after the failure occurs. . As a result, even when the server cannot normally perform the function as a printer server, the user of the network system can continue to perform printing work without being aware of anything.
[0037]
  Since the print processing request from the terminal device is made using print processing content information with a small amount of data, the amount of data transferred from the terminal device to the server at the time of the request is small, and the amount of traffic on the network system increases. It is to be prevented.
In the server according to the twelfth aspect, as described in the thirteenth aspect, the failure may be a stop or stagnation of control of transfer of print data by the transfer control unit.
According to a fourteenth aspect of the invention, there is provided a terminal device that generates print data and print processing content information representing the content of the print processing, a printer that executes print processing based on the print data, and the printer. A network system configured to include a management server to manage and an alternative server to replace the processing of the management server, the management server being sent as a print processing request for the print data from the terminal device Based on the print processing content information, a printer that executes the print processing, a first determination unit that determines a transfer path of print data to the printer, and print data according to the transfer path determined by the first determination unit A first transfer control means for controlling the print processing request to be transferred to the printer, and a failure to perform processing for the print processing request. And a selection unit that selects an alternative server for substituting the processing of the print processing request from the terminal device, and the print processing content information received from the terminal device to the alternative server selected by the selection unit And a request unit for requesting replacement, and the replacement server executes the print processing based on the print processing content information requested for replacement by the request unit, and the printer. And a second transfer control unit for controlling the print data to be transferred to the printer according to the transfer path determined by the second determination unit. It is a feature.
In the invention according to the fourteenth aspect, when some trouble occurs in the management server and the function as the printer server cannot be normally performed, the management server requests the substitute server to perform the process for the print processing request. The alternative server controls to process the print processing request from the terminal device instead of the management server. As a result, the management server eliminates the need for an alternative processing control means for controlling the print processing request of another server to replace the processing, so that a storage area for storing a program or the like for controlling the alternative processing The necessary resources such as can be reduced.
In the network system according to the fourteenth aspect, as described in the fifteenth aspect, the failure may stop or stagnate the control of the print data transfer by the first transfer control unit.
[0038]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments according to the present invention will be described below in detail with reference to the drawings.
[0039]
[Network system configuration]
FIG. 1 shows a schematic configuration of a network system in the present embodiment.
[0040]
As shown in FIG. 1, the network system 100 includes a first network N1 and a second network N2.
[0041]
Among these, in the first network N1, a plurality (four in this embodiment) of terminal devices (hereinafter referred to as workstations) 12W1, 12W2, 12W3, 12W4, one server (hereinafter simply referred to as a server) 14 , And a plurality (four in this embodiment) of printers 16P1, 16P2, 16P3, and 16P4 are connected to each other via a local area network (LAN) 10. The printers 16P1, 16P2, 16P3, and 16P4 are managed by the server 14.
[0042]
In the second network N2, a plurality (four in this embodiment) of workstations 22W1, 22W2, 22W3, 22W4, one server 24, and a plurality (four in this embodiment) of printers 26P1, 26P2 are provided. , 26P3 and 26P4 are connected to each other via the LAN 20. The printers 26P1, 26P2, 26P3, and 26P4 are managed by the server 24.
[0043]
The first network N1 is connected to the LAN (FDDI / ISDN / X.25) 30 via the router 18 and the second network N2 via the router 28, respectively.
[0044]
As shown in FIG. 2, the workstation 12W1 includes a spool 160 for accumulating print data, a print data generation unit 112 that generates print data, and a reference generation unit 111 that generates a reference representing print contents to be described later. A data generation unit 110 for accumulating print data in the spool 160; a print management unit 120 for managing processing related to a print processing request; 150), the status control unit 130 for grasping and managing the print processing status (status) information input via the input / output I / F 150, and the print data accumulated in the spool 160 are used as the input / output I / F 150. A data output unit 140 for outputting to an external device is provided.
[0045]
The print management unit 120 requests the server 14 to perform print data print processing by transmitting the reference generated by the reference generation unit 111 to the server 14 by the data output unit 140. When transferring print data to an external device such as the server 14 or the printer 16P1, the print management unit 120 causes the data output unit 140 to retrieve the print data stored in the spool 160, and sets the input / output I / F 150. Output (transfer) to an external device.
[0046]
The other workstations 12W2, 12W3, 12W4, 22W1, 22W2, 22W3, and 22W4 have the same configuration as described above.
[0047]
As shown in FIG. 3, the server 14 includes a print management unit 240 that manages print processing. The print management unit 240 includes a data input unit 211 that inputs data from an external device, and an external device. From the data output unit 212 for outputting data, the status control unit 230 for grasping and managing the print processing status (status), the device information management unit 220 for managing information such as the performance of the printer under management, and the workstation A reference interpretation unit 250 for interpreting the reference of the printer, a printer selection unit 260 for selecting a printer for outputting print data, a data transfer path setting unit 270 for setting a data transfer path, and a spool 280 for storing received print data and reference In response to an alternative request made when a failure occurs and an alternative request from another server Alternate processing control unit 300 is connected to control the Cormorant alternative process.
[0048]
The server 14 also includes an input / output I / F 210 that controls input / output of data to / from the outside. The input / output I / F 210 includes a print processing status input via the input / output I / F 210 and a printer. An apparatus monitoring unit 213 that monitors the printer based on information on the status of the printer, the data input unit 211, and the data output unit 212 are connected. The device information management unit 220 includes a device information table 290 including various information related to a managed printer described later and conditions for selecting another print server as an alternative server, and performance including performance information described later of the managed printer. A memory 221 in which an information table 292 is stored is connected, and the device information management unit 220 stores and manages information on the printer status from the device monitoring unit 213 in the device information table 290 and the performance information table 292.
[0049]
Further, the memory 221 is also connected to the alternative process control unit 300. When a failure occurs, the alternative processing control unit 300 selects an alternative server based on the alternative server selection condition of the device information table 290, and receives the device information table 290, the performance information table 292, the print request (reference), and the print data Transfer to an alternate server if necessary. Further, when a failure occurs in another print server and it is selected as an alternative server, the server 14 is based on the transferred device information table 290, performance information table 292, print request (reference), and print data. Update management information managed by.
[0050]
A data input unit 211, a data output unit 212, and a print management unit 240 are connected to the spool 280, and data (such as print data) received by the data input unit 211 is accumulated. The server 24 has the same configuration as described above.
[0051]
As shown in FIG. 4, the printer 16P1 includes an external device via a print processing unit 340 that executes print processing of print data, an input / output I / F 310 that controls input / output of data to / from the outside, and the input / output I / F 310. A data input unit 320 that receives print data and a reference input from the printer and inputs them to the print processing unit 340, and a status control unit that transmits and receives information about the print processing status (status) to / from an external device via the input / output I / F 310 330 is provided. The other printers 16P2, 16P3, 16P4, 26P1, 26P2, 26P3, and 26P4 have the same configuration as described above.
[0052]
[Overview of device information table and performance information table]
FIG. 5 shows an example of a device information table for managing devices connected to the network N 1 in the server 14. The device information table 290 is automatically set or updated by the device monitoring unit 213 and the device information management unit 220 shown in FIG. Information in the device information table 290 can be set or updated by a user using a keyboard (not shown).
[0053]
As shown in FIG. 5, the device information table 290 includes a device name, a network address, a device type, a communication function (client function / server function), a performance information table number, a device status, and alternative server selection information (function, alternative server). Information such as (selection condition) is set. The client function is a communication function for executing transmission of data to other devices and acquisition of data from other devices, and the server function is the reception of data from other devices and other functions. It is a communication function for executing provision of data in response to a data acquisition request from a device.
[0054]
Among these, the device name is set to a unique device name for identifying each device (printer, server, client) connected via the network N1, and the network address is assigned to each device. Set network address. Type information for each device (type of client (C), printer (P), server (S)) is set in the device type, and all connected devices (workstation 12W1 in FIG. 1) are set in the communication function. , 12W2, 12W3, 12W4, 22W1, 22W2, 22W3, 22W4, server 24, printer function 16P1, 16P2, 16P3, 16P4, 26P1, 26P2, 26P3, 26P4) provided in communication function information (client function / server function) Is done. Only when the device is a printer, index information to a performance information table 292, which will be described later, is set in the performance information table number, and information on the status of each device (whether online or offline) is set in the device status. .
[0055]
Also, the presence / absence (Y / N) of the alternative function is set in the function of the alternative server selection information. In addition, an alternative server selection condition is set for an apparatus set as having an alternative function. The alternative server selection conditions include the conditions that can be selected for the alternative server and the range of alternative functions at the time of failure, processing stagnation (spool / full, sending / receiving large-volume print data, etc.), and the specified date / time. Is set.
[0056]
For example, when a failure occurs in the server 14, the device having the device name AS1N1 shown in FIG. 5 can be substituted for all functions. Also, since all functions can be replaced by AS1N1 at 18:00, the maintenance of the server 14 can also be performed. Further, the device having the device name AS1N2 can substitute a part of the function of the server 14 when the remaining capacity of the spool of the server 14 becomes 20% or less. Thereby, it is possible to prevent a decrease in the throughput of the network system due to the spool 14 of the server 14 being full.
[0057]
As shown in FIG. 6, the performance information table 292 includes PDL (print language), print resolution, print speed, corresponding paper size, print surface (single-sided printing / double-sided printing), scale (enlarged / reduced / 1) of each printer. Information on performance and functions of the printer, such as designation (N-up) /% scale) for recording N pages by dividing the sheet area into N pages and color information, is set. The performance information table 292 is automatically set or updated by the device monitoring unit 213 and the device information management unit 220 shown in FIG. Information in the performance information table 292 can be set or updated by a user using a keyboard (not shown).
[0058]
The server 24 also manages the device information of all connected devices by the device information table 290 and the performance information table 292 similar to the above.
[0059]
[Reference Overview]
Next, a reference used in this embodiment for making a print request from a workstation and for requesting an alternative process in an alternative request process described later will be described. FIG. 7 shows a block diagram showing the structure of the reference D2, and FIG. 8 shows items of information included in the reference. The reference D2 is data different from the print data, and is a collection of control information used for making a print request from the workstation to the server.
[0060]
As shown in FIGS. 7 and 8, the reference D <b> 2 includes print resource information 91, job attribute information 92, and print attribute information 93. Of these, the print resource information 91 is set with information on the location of print data to be actually printed, information on various resources used or necessary in the printing process, and the like.
[0061]
In the job attribute information 92, as the operation information of the print job, schedule information such as priority order and execution time designation, specific printer designation information, and an optimum printer for print processing of print data are automatically detected. Applicable printer designation information for print processing with the optimal printer, load distribution (load balance) designation for instructing to distribute the print processing load, and divided output (high-speed output) for instructing to divide and output the print data Print service information including information such as the designation of detour output for instructing to continue printing processing by switching to another printer without interrupting printing processing in the event of a printer error, and data transfer path information to be described later Is set.
[0062]
The print attribute information 93 includes information necessary for printing with a printer, such as paper size (A3, A4, B4...), Number of copies, paper orientation (vertical or horizontal), and extended information (for example, (Enlargement / reduction / designation of N-up, information on designated coloring for single-sided printing or double-sided printing, etc.) and the like are set.
[0063]
[Overview of print processing procedure and print data transfer procedure]
FIG. 9 shows a flow of normal printing processing (when the server is normal) in the present embodiment. In the following, a print request is sent from the workstation 12W1 (corresponding to the device indicated by the device name W1N1 in the device information table 290 in FIG. 5) to the server 14 (corresponding to the device indicated by the device name S1N1 in the device information table 290 in FIG. 5). An example of printing out by the printer 16P1 (corresponding to the device indicated by the device name P1N1 in the device information table 290 in FIG. 5) will be described. In addition, as shown in FIG. 1, these devices are also network-connected to the server 24 (corresponding to the device indicated by the device name AS1N1 in the device information table 290 in FIG. 5).
[0064]
In parallel with the generation of the print data D1 of application software such as a word processor, the workstation 12W1 generates a reference D2 including various types of information regarding the print processing contents of the print data D1, and stores the reference D2 in the spool 160 in the workstation 12W1. Then, the workstation 12W1 makes a request for print processing to the server 14 by transmitting the reference D2 to the server 14 using the end of storage of the print data D1 and the reference D2 as a trigger.
[0065]
The server 14 analyzes various information (print resource information 91, job attribute information 92, print attribute information 93) shown in FIGS. 7 and 8 defined in the received reference D2, and prints stored in the workstation 12W1. A printer that prints out the data D1 and a data transfer path pattern to be described later (see routes 1 to 6 shown in FIG. 11) are determined. Then, the server 14 notifies the determined data transfer path pattern to the workstation 12W1 or the printer 16P1.
[0066]
Upon receiving the notification, the workstation 12W1 or the printer 16P1 follows the data transfer path from the server 14, and the workstation 12W1 transmits the print data D1 directly to the printer 16P1, or the printer 16P1 acquires the print data D1 from the workstation 12W1. Alternatively, the server 14 receives or acquires the print data D1 of the workstation 12W1 and transfers it to the printer 16P1, and prints out by the printer 16P1.
[0067]
Next, various data transfer path patterns shown in FIGS. 10 and 11 will be described.
[0068]
Route 1 (route {circle around (1)} in FIG. 10) is a data transfer route in which the printer 16P1 directly acquires the stored print data D1 from the workstation 12W1 in accordance with an instruction from the server 14, and route 2 (route {circle around in FIG. 10). 2 ▼) is a data transfer path through which the workstation 12W1 directly transmits the print data D1 to the printer 16P1 in accordance with an instruction from the server 14.
[0069]
Route 3 (route {circle around (3)} in FIG. 10) is a data transfer route in which the server 14 acquires the accumulated print data D1 from the workstation 12W1, and the printer 16P1 acquires this print data D1 from the server 14. 4 (route (4) in FIG. 10) is a data transfer path through which the server 14 acquires the print data D1 from the workstation 12W1 and transfers it to the printer 16P1.
[0070]
In route 5 (route (5) in FIG. 10), the workstation 12W1 transmits the print data D1 to the server 14 according to the instruction from the server 14, and the printer 16P1 acquires the print data D1 from the server 14 according to the instruction from the server 14. A route 6 (route (6) in FIG. 10) is a data transfer path to be transmitted. The workstation 12W1 transmits the print data D1 to the server 14 in accordance with an instruction from the server 14, and the print data D1 received by the server 14 is transmitted to the printer. This route is the same as the conventional route for transferring to 16P1.
[0071]
Next, the characteristics of each route described above will be described.
[0072]
In route 1 (workstation ← printer), data flows only once on the network. Since the print data is acquired by the printer, the workstation has no consciousness of the output destination, and the workstation has an advantage that the print job is released at an early stage.
[0073]
In route 2 (workstation → printer), data flows only once on the network. The workstation itself transmits print data, but the user who makes a print request at the workstation is unaware of the output destination.
[0074]
In route 3 (workstation ← server ← printer), data flows twice on the network. Since the print data is acquired by the server, the workstation has no consciousness of the output destination, and the workstation has an advantage that the print job is released at an early stage. In the server, since the print data is acquired by the printer, there is no need to control output of the print data to the printer.
[0075]
In route 4 (workstation ← server → printer), data flows twice on the network. Since the print data is acquired by the server, the workstation has no consciousness of the output destination, and the workstation has an advantage that the print job is released at an early stage.
[0076]
In route 5 (workstation → server ← printer), data flows twice on the network. In the server, since the print data is acquired by the printer, there is no need to control output of the print data to the printer.
[0077]
In route 6 (workstation → server → printer), data flows twice over the network (prior art).
[0078]
By the way, in this embodiment, as shown in FIG. 12, priorities are set in advance for the data transfer path pattern in accordance with the job attribute information 92 of the reference D2 shown in FIGS. In FIG. 12, WS indicates a workstation, PRT indicates a printer, and SV indicates a server. The same abbreviations are used in FIG. 14 described later.
[0079]
As shown in FIG. 12, for example, when there is no particular designation in the job attribute information 92 (when there is no print service) and when load distribution (load balance) is designated, the routes 1, 2, and FIG. Priorities 1, 2, 3, 4, 5, and 6 are set in advance in the order of 3, 4, 5, and 6, respectively.
[0080]
Further, when divided output is specified in the job attribute information 92, the routes 1 and 2 in FIG. 11 are not adopted, so that the priorities 1, 2, 3, 4 are previously set in the order of the routes 3, 4, 5, and 6. Are set, and only the route 6 in FIG. 11 is adopted when the detour output is specified in the job attribute information 92, and therefore priority 1 is set in advance for the route 6.
[0081]
However, as described above, the default priority order (1 to 6) of the route pattern is determined by the system, but can be changed to an arbitrary priority order by the user.
[0082]
[Selection of data transfer path according to the combination of device type and communication function]
Next, selection of a data transfer path according to the combination of the device type and the communication function in the present embodiment will be described with reference to FIGS.
[0083]
FIG. 13 shows combinations of device types and communication functions managed by the device information table 290, and FIG. 14 shows data transfer paths that can be realized for each combination of FIG.
[0084]
The communication function includes a client function (communication function for executing transmission of data to other devices and acquisition of data from other devices) and a server function (reception of data from other devices and data from other devices). And a communication function that executes provision of data in response to an acquisition request). The server 14 in this embodiment possesses both a client function and a server function.
[0085]
M01 shown in FIG. 13 is a combination when both the workstation and the printer have a client function and a server function. As shown in FIG. 14, all the routes 1 to 6 in the data transfer path pattern of FIG. The print data can be communicated.
[0086]
M02 is a combination when the workstation has both the client function and the server function and the printer has only the server function, and as shown in FIG. 14, the route 2 and route 4 of the data transfer path pattern of FIG. , Communication of print data on route 6 can be performed.
[0087]
M03 is a combination in the case where the workstation possesses both the client function and the server function, and the printer possesses only the client function, and as shown in FIG. 14, the route 1 and route of the data transfer route pattern in FIG. 3. Communication of print data on route 5 can be performed.
[0088]
M04, M08, M12, and M16 are combinations when the printer has neither a client function nor a server function, and cannot communicate print data. In FIG. 14, it is described as NONE).
[0089]
M05, M06, M07, and M08 cannot transmit a reference from the workstation because the workstation has only the server function and does not have the client function regardless of the function of the printer. For this reason, this combination is excluded from the scope of the present embodiment (described as NONE in FIG. 14).
[0090]
M09 is a combination in which the workstation owns only the client function, and the printer possesses both the server function and the client function. As shown in FIG. 14, the data transfer route pattern shown in FIG. Communication of print data on the route 6 can be performed.
[0091]
M10 is a combination in which the workstation owns only the client function and the printer owns only the server function. As shown in FIG. 14, communication of print data in route 2 and route 6 in the data transfer route pattern of FIG. Can be performed.
[0092]
M11 is a combination in which the workstation owns only the client function and the printer owns only the client function. As shown in FIG. 14, the print data is communicated on the route 5 in the data transfer path pattern of FIG. Can do.
[0093]
M13, M14, and M15 cannot transmit a reference from the workstation because the workstation does not have a client function. For this reason, this combination is excluded from the scope of the present embodiment (described as NONE in FIG. 14).
[0094]
[Achievable combinations of devices for reference transmission / reception, print data transmission / reception, and print data acquisition and provision]
First, with reference to FIG. 15, a combination of a transmission device and a reception device that can be realized for reference transmission / reception operations will be described. FIG. 15 shows a combination of a transmission device for reference D2 created at a workstation and a device for receiving the reference.
[0095]
M20 shown in FIG. 15 is a combination in which the workstation transmits the reference D2 to the server, and M21 is a combination in which the workstation transmits the reference D2 to the printer.
[0096]
M22 is a combination in which the server that receives the reference D2 in M20 described above transfers the reference D2 to another server connected via the network. Further, M23 is a combination in which the server that receives the reference D2 in M20 described above transfers the reference D2 to the printer to be managed and output.
[0097]
Next, a combination of a transmission device and a reception device that can be realized with respect to print data transmission / reception operations will be described with reference to FIG. FIG. 16 shows a combination of a transmission device for print data D1 created at a workstation and a reception device for receiving the print data D1.
[0098]
M30 shown in FIG. 16 is a combination in which the workstation transmits the print data D1 to the server, and M31 is a combination in which the workstation transmits the print data D1 to the printer.
[0099]
M32 is a combination in which the server that receives the print data D1 in M30 described above transfers the print data to another server connected via the network. M33 is a combination in which the server that has received the print data D1 in M30 described above transfers the print data D1 to the printer that is the target of management and output.
[0100]
Next, a combination of an acquisition device and a provision device that can be realized with respect to print data acquisition and provision operations will be described with reference to FIG. FIG. 17 shows a combination of an acquisition device that acquires print data D1 created at a workstation and a provision device that provides the print data D1.
[0101]
M40 shown in FIG. 17 is a combination in which the server acquires the print data D1 accumulated by the workstation, and M41 connects the print data D1 acquired by the server in M40 described above to the server via the network. This is a combination acquired by other servers.
[0102]
M42 is a combination in which the printer acquires the print data D1 stored by the workstation. M43 is a combination in which the printer acquires the print data D1 acquired by the server in M40 from the server.
[0103]
[Overview of alternative request processing procedure]
FIG. 18 shows a flow of alternative server setting when a failure occurs in this embodiment. In the following, an example in which the server 24 is determined as an alternative server that replaces all the functions of the server 14 in which the failure has occurred, and a print request from the workstation 12W1 to the server 14 is replaced by the server 24 and printed by the printer 16P1. Will be described.
[0104]
When some failure occurs in the server 14 and the function as a print server cannot be performed at all, the server 14 determines the alternative server as the server 24 based on the alternative server selection condition in the device information table 290. Then, the management information (device information table 290, performance information table 292) stored in the server 14, all print requests that are being processed and unprocessed (reference D2), and print data D1 are transmitted to the server 24. As a result, an alternative request is made to the server 24.
[0105]
The server 24 updates the original management information stored in the server 24 based on the management information (device information table 290, performance information table 292) transmitted from the server 14. Further, the print request (reference D2) and the print data D1 transmitted from the server 14 are stored in the spool.
[0106]
Next, the server 24 notifies the workstation 12W1 that the destination server of the print data D1 and the reference D2 has been changed to the server 24. In addition, the server 24 notifies the printer 16P1 that the acquisition destination server when the print data D1 is to be acquired by the server has been changed to the server 24.
[0107]
As a result, the transmission destination or acquisition destination print server of the print data D1 is switched from the server 14 to the server 24, and the printing process of the print data D1 during printing or unprocessed is continued. This notification is made to all workstations and printers having client functions managed by the server 14.
[0108]
FIG. 19 shows the flow of print processing after the alternative server setting is completed.
[0109]
In the workstation 12W1, the print data D1 and the reference D2 corresponding to the print data D1 are newly generated and stored in the spool 160 in the workstation 12W1. Then, the workstation 12W1 is newly created in the server 24 determined as an alternative server of the server 14 that cannot be operated as a print server due to the occurrence of a failure, triggered by the end of storage of the print data D1 and the reference D2. Reference D2 is transmitted. As a result, a print processing request is made to the server 24 which is an alternative server.
[0110]
The server 24 analyzes the received reference D2, and determines a printer and a data transfer path pattern (see routes 1 to 6 shown in FIG. 11) that print out the print data D1 stored in the workstation 12W1. Then, the server 24 notifies the determined data transfer path pattern to the workstation 12W1 or the printer 16P1.
[0111]
Upon receiving the notification, the workstation 12W1 or the printer 16P1 follows the data transfer path from the server 24, and the workstation 12W1 transmits the print data D1 directly to the printer 16P1, or the printer 16P1 acquires the print data D1 from the workstation 12W1. Alternatively, the server 24 receives or acquires the print data D1 of the workstation 12W1 and transfers it to the printer 16P1, and the printer 16P1 performs print output.
[0112]
FIG. 20 shows the flow of the printing process when the server process is stagnant in this embodiment. In the following, an example will be described in which the print processing by the server 14 is stagnant due to the transmission / reception of spool full or a large amount of print data, and the server 24 temporarily substitutes (bypasses) the print processing.
[0113]
In the workstation 12W1, the print data D1 and the reference D2 corresponding to the print data D1 are generated and stored in the spool 160 in the workstation 12W1. Then, the workstation 12W1 makes a request for print processing to the server 14 by transmitting the reference D2 to the server 14 with the end of storage of the print data D1 and the reference D2 as a trigger.
[0114]
At this time, the spool 280 of the server 14 is full, or the server 14 is transmitting / receiving a large amount of print data, and the server 14 cannot immediately perform the print processing requested from the workstation 12W1. Based on the alternative server selection condition in the device information table 290, the server 14 determines the server 24 as an alternative server at the time of processing stagnation. The server 14 transfers the print request (reference D2) received from the workstation 12W1 and not yet processed to the server 24 determined as the alternative server at the time of the processing stagnation.
[0115]
The server 24 analyzes the received reference D2, and determines a printer and a data transfer path pattern (see routes 1 to 6 shown in FIG. 11) that print out the print data D1 stored in the workstation 12W1. Then, the server 24 notifies the determined data transfer path pattern to the workstation 12W1 or the printer 16P1.
[0116]
Upon receiving the notification, the workstation 12W1 or the printer 16P1 follows the data transfer path from the server 24, and the workstation 12W1 transmits the print data D1 directly to the printer 16P1, or the printer 16P1 acquires the print data D1 from the workstation 12W1. Alternatively, the server 24 receives or acquires the print data D1 of the workstation 12W1 and transfers it to the printer 16P1, and the printer 16P1 performs print output.
[0117]
As a result, the print request (reference D2) that has not been processed due to the function of the server 14 is processed by the server 24 instead of the server 24, so that the print process is performed promptly.
[0118]
[Operation of this embodiment]
Hereinafter, as an operation of the present embodiment, a communication control processing routine executed by each of the workstation, the server, and the printer when the print data D1 generated by the workstation is subjected to print processing will be described. In the following description, it is assumed that the print data D1 is generated by the workstation 12W1 and a print processing request for the print data D1 is made to the server 14 as an example.
[0119]
In the workstation 12W1, a control routine of FIG. 21 described below is executed. The workstation 12W1 monitors whether there is a print processing request from application software such as a word processor (S100 in FIG. 21).
[0120]
When there is a print processing request, the document data from the application software is converted into print data D1, and a reference D2 related to the converted print data D1 is generated (S101). The print data D1 generated here is stored in the spool 160 in the workstation 12W1. When the conversion to the print data D1 and the generation of the reference D2 are completed, the reference D2 is transmitted to the server 14 via the LAN 10, thereby making a print request using the reference D2 to the server 14 (S102). Since the reference D2 has a smaller data amount than the print data D1, there is an advantage that the data transmission amount (communication traffic amount) on the network at the time of the print request is reduced.
[0121]
After making a print request using such a reference D2, it waits for an instruction from the server 14 (S103). When an instruction is notified from the server 14, the instruction content is analyzed (S104). As a result of the analysis, if the instruction content is transmission of the print data D1 (in the case of routes 2, 5, and 6 in FIG. 11), information on the transmission destination to which the print data D1 is to be transmitted is obtained from the instruction content (S106). Then, the print data D1 stored in the spool 160 is transmitted to the acquired transmission destination (S107).
[0122]
On the other hand, as a result of analyzing the instruction content, when the instruction content is not transmission of the print data D1 (for example, when the server 14 or the printer 16P1 acquires the print data D1 stored in the spool 160 (= routes 1, 3, 4))), the workstation 12W1 releases the print job at that time, returns to S100, and waits for a new print processing request.
[0123]
When a failure occurs in the server 14, the workstation receives a server change notification described later from the server selected as the substitute server (for example, the server 24), and changes the above processing from the server 14 to the substitute server. And do it.
[0124]
Next, in the server 14, the control routine of FIG. 22 described below is executed.
[0125]
In S200 of FIG. 22, the server 14 monitors whether data is received from a device (workstation 12W1, 12W2, 12W3, 12W4 or printer 16P1, 16P2, 16P3, 16P4) connected via the network N1. . When the reception of data is detected in S200, the process proceeds to the next S201, where the data is received, and the received data (received data) is stored in the spool 280 in FIG.
[0126]
When the storage of the received data in the spool 280 is completed in S201, it is checked in S220 whether or not the server 14 is in a state of selecting an alternative server. If the server 14 functions normally, the process proceeds to S202, where some failure occurs in the server 14 and the function as a print server cannot be performed, or the spool 280 is full or a large amount If the print data is being transmitted / received and the print server function is stagnant, the process advances to step S221. In step 221, a sub-routine for substitution request processing, which will be described in detail later, is executed.
[0127]
In S202, it is checked whether or not the received data is the reference D2. If the received data is not the reference D2 but the print data D1, the process proceeds to S208, which will be described later. If the received data is the reference D2, the process proceeds to S203, and the output printer extraction process subroutine shown in FIG. 23 is executed.
[0128]
Here, the output printer extraction process of FIG. 23 will be described. In S400 of FIG. 23, an extraction printer table for storing extracted printer information, an extraction printer counter C1 for counting the number of extracted printers, and a search counter C2 for counting the number of searched devices are initialized. In step S401, the job attribute information 92 and the print attribute information 93 included in the reference D2 are read.
[0129]
In next step S402, whether or not the search / comparison (explained later) for extracting a printer from the device group managed by the server 14 is completed, whether or not the search counter C2 is equal to the total number of devices NT. When the search / comparison for all devices is completed, the processing of FIG. 23 is terminated and the process returns to the main routine of FIG.
[0130]
If the search / comparison for all the devices has not been completed yet, the process proceeds to S403, and it is checked whether or not the printer to be output is specified in the print service item of the job attribute information 92 of the reference D2. Here, if the printer to be output is not designated, the process proceeds to S406 described later.
[0131]
On the other hand, if the printer to be output is designated, the performance information table number of the designated printer is retrieved from the device information table 290 in S404, and the performance information of the printer corresponding to the performance information table number is obtained from the performance information. Obtained from table 292. In the next S405, the search counter C2 is set to (total number of devices NT-1). As a result, the search ends in the next search loop.
[0132]
In the next step S406, device information for one device is read from the device information table 290. Of course, when a printer is designated, the device information of the designated printer is read. In next step S407, it is determined whether or not the read device information is printer information. If the read device information is information other than that of the printer, the process proceeds to S413 to be described later.
[0133]
On the other hand, if the read device information is printer information, the process advances to step S408, and the printer performance information corresponding to the performance information table number of the read device information is read from the performance information table 292. In step S409, the print of FIG. The condition check processing subroutine is executed.
[0134]
In the print condition check process in S409, first, a flag F indicating whether or not the target printer is a compatible printer is initialized (turned off) in S410 in FIG. 23 (S500 in FIG. 24). When the flag F is on, it indicates that the target printer is a compatible printer, and when the flag F is off, it indicates that the target printer is not a compatible printer.
[0135]
Next, in S501 to S507, whether or not the target printer is a printer that satisfies various attributes specified by the print attribute information 93 of the reference D2 is determined for each individual attribute unit as follows. . If the attribute is not satisfied in each determination, the subroutine of FIG. 24 is terminated and the process returns to the routine of FIG.
[0136]
That is, in S501, it is determined whether or not the extracted printer is in an operable state. If it is in an operable state, the process proceeds to the next S502. In S502, it is determined whether or not a print language (PDL) condition is satisfied. If the PDL condition is satisfied, the process proceeds to the next S503.
[0137]
In S503, it is determined whether or not the print resolution condition is satisfied. If the print resolution condition is satisfied, the process proceeds to the next S504. In S504, it is determined whether or not the sheet condition is satisfied. If the sheet condition is satisfied, the process proceeds to the next S505.
[0138]
In S505, it is determined whether or not the printing surface condition (single-sided printing or double-sided printing) is satisfied. If the printing surface condition is satisfied, the process proceeds to the next S506. In S506, it is determined whether or not the scale condition is satisfied. If the scale condition is satisfied, the process proceeds to the next S507.
[0139]
In S507, it is determined whether or not the color condition is satisfied. If the color condition is satisfied, the process proceeds to the next S508. In S508, since all the conditions determined in S501 to S507 are satisfied, the flag F is turned on, the process is terminated, and the process returns to the routine of FIG.
[0140]
In this way, if the target printer is a compatible printer, the flag F is set on, and if the target printer is not a compatible printer, the flag F remains off.
[0141]
In step S410 in FIG. 23, it is determined based on the on / off state of the flag F whether or not the searched printer performance meets the printing conditions set in the printing attribute information 93 of the reference D2. If the searched printer performance does not match the printing conditions, the process proceeds to S413 described later.
[0142]
On the other hand, if the searched printer performance meets the printing conditions, the process proceeds to S411, and the extracted printer counter C1 is incremented by 1. In the next S412, the communication function of the extracted printer and the workstation that made the print request. Are set in the extraction printer table.
[0143]
In the next S413, the search counter C2 is incremented by one, and the process returns to S402 to repeat the processing.
[0144]
Thereafter, the processing of S402 to S413 is executed for each device information. When the processing for all the device information is completed and the search counter C2 becomes equal to the total number of devices NT, an affirmative determination is made in S402, and the subroutine of FIG.
[0145]
After completing the output printer extraction process in S203 of FIG. 22 as described above, in the next S204, a data transfer path pattern and printer selection process subroutine of FIG. 25 described below is executed.
[0146]
First, in S600 of FIG. 25, in the output printer extraction process, the printer extraction table in which the communication function of the extracted printer is set is read. In the next S601, the number of extracted printers is read from the extraction printer counter C1. In the next step S602, the job attribute information 92 included in the reference D2 is read. In the next step S603, it is determined whether or not the bypass output is designated by the designated job attribute information 92. If the detour output is designated here, the data transfer path of the print data D1 is set to the pattern 6 in FIG. 11 in S604, the process is terminated, and the process returns to the main routine in FIG.
[0147]
On the other hand, as a result of the determination of the job attribute information 92 in S602, if the bypass output is not specified, it is determined whether or not the divided output is specified in the job attribute information 92 in the next S605. If it is determined that divided output is designated, the process advances to step S606, and a printer capable of combining the pattern 4 or pattern 6 of the data transfer path is searched from the printer extraction table read in step S600. In the next S607, it is determined whether there is a printer that can be searched in S605. If there is a printer that can be searched, the process proceeds to S613 to be described later. If there is no printer that can be searched, error information indicating that the printer could not be searched is displayed on a display (not shown) in S608, the process is terminated, and the process returns to the main routine of FIG.
[0148]
On the other hand, if it is determined in step S605 that the output is not divided output, the process advances to step S609 to determine whether or not the load balance is designated by the job attribute information 92. If the load balance is designated as a result of the determination, in S610, the printer having the lowest operating rate is selected from the printers in the printer extraction table read in S600, and the process proceeds to S613. As a result of the determination in S609, if the load balance is not specified, the process proceeds to S611, and it is determined whether or not the compatible printer is specified in the job attribute information 92. As a result of the determination, if a suitable printer is designated, a printer having the most advanced combination of communication functions (function pattern) is selected from the printer extraction table read in S600 in S612, and the process proceeds to S613.
[0149]
On the other hand, if it is determined in step S611 that no suitable printer has been designated, it is assumed that the designated printer has been designated, and the process advances to step S613 without selecting a printer.
[0150]
In S613, a data transfer path having a higher priority is selected according to the priority table of the data transfer path shown in FIG. 12 from the printer selected in S606, S610, or S612 or the printer specified in the job attribute information 92. Then, the process ends, and the process returns to the main routine of FIG.
[0151]
The data transfer path and printer of the print data D1 are determined by the data transfer path pattern and printer selection process in S204 of FIG.
[0152]
Next, in S205 of FIG. 22, the determined data transfer pattern is notified to the workstation 12W1 that is requesting the printing process and the printer determined in S204 (for example, the printer 16P1).
[0153]
In next step S206, it is determined whether or not the determined data transfer path is a pattern for acquiring print data by the server (that is, route 3 and route 4 in FIG. 11). If the data transfer path is not a pattern for acquiring print data by the server, the process returns to S200 and waits for the next received data.
[0154]
On the other hand, if the data transfer path is a pattern for acquiring print data by the server (= route 3 and route 4 in FIG. 11), the print data location information of the print resource information 91 included in the reference D2 is referred to in S207. Print data is acquired from the workstation 12W1, and the acquired print data is stored in the spool 280 of FIG. In next step S208, it is determined whether or not the determined data transfer path is a pattern for transferring print data from the server (that is, route 4 in FIG. 11). If the data transfer path is not a pattern for transferring print data from the server (that is, route 3 in FIG. 11), the process returns to S200 and waits for the next received data.
[0155]
On the other hand, if the data transfer path is a pattern for transferring print data from the server, the process proceeds to S209, scheduling is performed to output the print data D1 from the printer determined in S204, and the printer determined in the next S210 is performed. Print data D1 is transmitted. Thereafter, the process returns to S200 and waits for the next received data.
[0156]
Next, a case where a failure occurs in the server 14 and normal print processing cannot be performed will be described.
[0157]
If a failure occurs in the server 14, an affirmative determination is made in the above-described S200, and the process proceeds to S221 to perform a substitution request process. In S221, the substitute process control unit 300 executes a substitute request process subroutine shown in FIG. Here, the alternative request process of FIG. 26 will be described.
[0158]
In S700 of FIG. 26, the device information table 290 (see FIG. 5) stored in the memory 221 is read. Next, information on the devices managed by the server 14 is acquired one by one from the upper device of the device information table 290, and the function column of the alternative server selection information is referred to from the acquired information in S702. Checks whether the server has the function of an alternative server. If the server does not have the function of an alternative server, the process proceeds to S703, where it is determined whether or not all devices managed by the server 14 have been checked. If there are unchecked devices, the process returns to S701.
[0159]
When a device having the function of the substitute server is searched, the substitute server selection condition of the device set in the device information table 290 is the state of the server 14 (an event in which the substitute server must be selected). A check is made to see if they match. If they do not match, the process proceeds to S703 described above. That is, the devices managed by the server 14 are sequentially checked one by one until a device having an alternative server function that matches the state of the server 14 is selected.
[0160]
If the alternative server is not selected even after all devices have been checked (Yes in S703), the process returns to the main routine of the print server process in FIG. In this case, although the server 14 is in a state of selecting an alternative server, there is no alternative server that performs the processing. Therefore, if a failure has occurred in the server 14, it is difficult to continue the printing process, and therefore appropriate error processing is performed. Further, when the print server function is stagnant, it is possible to continue the printing process, so the process is continued.
[0161]
On the other hand, when an apparatus having an alternative server function (hereinafter referred to as “alternative server”) that matches the state of the server 14 is selected (Yes in S704), the process proceeds to S705, and the range of the alternative function is checked.
[0162]
When a failure occurs in the server 14 and all functions are replaced by the alternative server (Yes in S705), the performance information table 292 is transmitted in S706 and the device information table 290 is transmitted from the server 14 to the alternative server in S707. In step S708, the print data D1 stored in the server 14 is transmitted. In step S709, all print requests (reference D2) being processed and not processed are transmitted to the alternative server. By transmitting these pieces of information, the server 14 requests the substitute server to substitute all functions. As a result, the route (routes 3 and 5) for the printer to acquire the print data D1 from the print server and the route for the print server to send the print data D1 to the printer are selected, and the print intermediate data stored in the spool 280 is being printed. The print processing of the print data D1 or the unprocessed print data D1 can be delegated to the alternative server.
[0163]
On the other hand, if the functions of the server 14 are stagnant and some of the functions are to be replaced (bypassed) with an alternative server (determination is negative in S705), the process proceeds to S709, and the new data sent from the workstation 12W1 Only the processing print request (reference D2) is transferred to the alternative server. As a result, the route (routes 3 and 5) from which the printer acquires the print data D1 to the print server and the route from which the print server transmits the print data D1 to the printer are selected and stored in a large amount in the spool 280. When the processing of the server 14 is delayed due to a large amount of data being transferred, a part of the processing of the server 14 (processing of an unprocessed print request) can be delegated to the alternative server. That is, at any time, it is possible to enjoy the advantage (preventing a decrease in throughput of the entire network system) by using the reference D2.
[0164]
Next, in the alternative server selected as the alternative server by the failed server 14 (substitution request server), the control routine of FIG. 27 described below is executed. Note that the alternative server may be operating as a print server of another printer group that is not managed by the server 14 or may stand by as a dedicated alternative print server. Hereinafter, an example in which the server 24 is selected as an alternative server for the server 14 will be described. The server 24 is operating as a printer server of another printer group that is not managed by the server 14, and the same processing as that of the server 14 described above is performed. In FIG. 27, the same processes as those in the server 14 are denoted by the same reference numerals as those in FIG. 22, and the description thereof is omitted here.
[0165]
In step S200, the server 24 receives data from devices connected via the network N2 (workstations 22W1, 22W2, 22W3, 22W4 or printers 26P1, 26P2, 26P3, 26P4) and other print servers (server 14). The presence or absence of reception is monitored. When the reception of data is detected in S200, the process proceeds to the next S201, where the data is received, and the received data (received data) is stored in the spool 280 in FIG.
[0166]
When the storage of the received data in the spool 280 is completed in S201, the process proceeds to S202, and it is checked whether or not the received data is the reference D2. Here, when the received data is the reference D2, the processing from S203 to S210 is performed as in the printing routine of the server 14. As a result, the processing of the server 14 stagnate, and the unprocessed reference D2 sent to the server 24 is processed in the same manner as the reference D2 from the workstation. That is, the server 24 performs an alternative (bypass) process of the server 14.
[0167]
On the other hand, if the received data is not the reference D2, the process proceeds to S230. In S230, it is checked whether the received data is an alternative request from another print server (server 14). That is, it is checked whether the received data includes the device information table 290 and the performance information table 292. If the device information table 290 and the performance information table 292 are included, it is determined that the request is a substitute request for all functions from another print server (server 14), and the process proceeds to S231 to process the substitute request. If it is not an alternative request from another print server (received data is only print data D1), the process proceeds to S208 as in the print routine of the server 14.
[0168]
In S231, the performance information table update processing subroutine shown in FIG. 28 is executed, and the performance information table 292 of the server 24 is updated based on the performance information table 292 of the server 14 sent in the substitute request.
[0169]
Here, the performance information table update processing of FIG. 28 will be described. In S901, the substitute processing control unit 300 acquires the performance information table 292 of the server 14 sent by the substitute request, and then in S902, the performance information table 292 of the server 24 is read.
[0170]
Subsequent processing (S903 to S905) is sequentially performed for each device registered in the performance information table 292 of the server 14 sent in the substitute request.
[0171]
In step S <b> 903, the apparatus (printer) registered in the acquired performance information table 292 of the server 14 is collated with all the apparatuses registered in the performance information table 292 of the server 24.
[0172]
If the same device is already registered in the performance information table 292 of the server 24 (Yes in S903), the next device registered in the performance information table 292 of the server 14 is checked.
[0173]
If there is no identical device among the devices registered in the performance information table 292 of the server 24 (No in S903), the process proceeds to S904, where the device is newly registered in the performance information table 292 of the server 24, and the server 24 performance information tables 292 are updated.
[0174]
When all the devices registered in the performance information table 292 of the server 14 are collated with the devices registered in the performance information table 292 of the server 24 and the update processing of the performance information table 292 of the server 24 is completed, FIG. Return to the main routine (S905).
[0175]
Returning to the main routine of FIG. 27, in the next S232, the apparatus information table update processing subroutine shown in FIG. 29 is executed, and based on the apparatus information table 290 of the server 14 sent in the substitute request, the server 24 The device information table 290 is updated.
[0176]
Here, the apparatus information table update process of FIG. 29 will be described. In SA01, the substitute processing control unit 300 acquires the device information table 290 of the server 14 sent by the substitute request, and then in SA02, the device information table 290 of the server 24 is read.
[0177]
Subsequent processing (SA03 to SA06) is performed one by one for the devices registered in the device information table 290 of the server 14 sent in the substitute request.
[0178]
In SA03, it is determined whether or not the device registered in the device information table 290 of the acquired server 14 is a printer device. If it is not a printer (negative determination), the next device registered in the device information table 290 of the server 14 is determined. If it is a printer device (positive determination), the process proceeds to SA04.
[0179]
In SA04, the acquired device (printer) registered in the device information table 290 of the server 14 is checked against all devices registered in the device information table 290 of the server 24.
[0180]
If the same device is already registered in the device information table 290 of the server 24 (Yes in SA04), the process returns to SA03, and is the next device registered in the device information table 290 of the server 14 a printer? Make a decision.
[0181]
If the same device is not registered in the device information table 290 of the server 24 (No in SA04), the process proceeds to SA05, and the device (printer) is newly registered in the device information table 290 of the server 24. Then, the device information table 290 of the server 24 is updated.
[0182]
Whether or not the devices are the same is determined based on the device name or network address in the device information table 290 shown in FIG.
[0183]
When all the devices registered in the device information table 290 of the server 14 are collated with the devices registered in the device information table 290 of the server 24 and the update processing of the device information table 290 of the server 24 is completed, FIG. Return to the main routine (SA06).
[0184]
Through the performance information table update process (main routine S231 in FIG. 27) and the apparatus information table update process (S232), all the terminal devices and printers managed by the server 14 are managed by the server 24. Can be put in.
[0185]
In the next S233, the print data D1 and the print request (reference D2) sent from the server 14 sent in the substitute request are stored in the spool 280 of the server 24. That is, the route (routes 3 and 5) from which the printer acquires the print data D1 to the printer server and the route from which the print server transmits the print data D1 to the printer are selected, and the print stored in the spool 280 of the server 14 is selected. Halfway or unprocessed print data D1 is stored in the spool 280 of the server 24. Further, an unprocessed print request (reference D2) of the server 14 is also stored in the spool 280. When the storage ends, the process proceeds to S234.
[0186]
In S234, the data transfer path is changed. That is, the server 14 obtains the location information (network address, etc.) from the server 14 to the server (routes 3 and 5) from which the printer acquires the print data D1 to the printer server and the route server from which the print server sends the print data D1 to the printer. Change to 24. In addition, a notification is sent to the workstation and printer whose data transfer path is to be changed. As a result, the print data D1 that was being printed after the print request (reference D2) was processed by the server 14 and the unprocessed (print standby) print data D1 can be continuously printed.
[0187]
When the server 24 is operating as a printer server of a printer group different from the printer group managed by the server 14, the above-described processing of S209 is performed in the same manner as the server 14, and the server 24 originally manages it. Scheduling to transmit the print data D1 to the printer group is already performed. In the next S235, rescheduling is performed so that the already scheduled print request and the print request sent as a substitute request from the server 14 are all appropriately printed.
[0188]
As described above, when the server 14 is in a state of selecting an alternative server, the server 24 can replace (detour) and process the request for replacement from the server 14. Note that, for convenience, the control of the substitute request server and the substitute server has been described separately, but these are performed by the same server. For example, when a failure occurs in the server 24 operating as a printer server of a printer group different from the printer group managed by the server 14, the server 24 becomes a substitute request server and substitutes for the server 14. It is also possible to make a request and have the server 14 replace the processing of the server 24.
[0189]
Next, in the printer, a control routine shown in FIG. 30 described below is executed. The printer (here, printer 16P1 as an example) checks in step S300 in FIG. 30 whether print data D1 has been received from workstations 12W1, 12W2, 12W3, 12W4 or server 14 connected via network N1. It is carried out. If print data D1 has not been received, it is checked in S302 whether a data acquisition instruction from the server 14 has been accepted. If the data acquisition instruction from the server 14 is not accepted in S302, the process returns to S300 and the reception check of the print data D1 is performed again.
[0190]
If it is determined in S302 that a data acquisition instruction from the server 14 has been received, the process proceeds to S303, and information on the print data acquisition destination (workstation or server) is obtained from the contents of the data acquisition instruction. In the next step S304, the print data D1 is acquired from the print data acquisition destination, and the acquired print data D1 is stored in a spool (not shown) provided in the print processing unit 340 of FIG. When the storage ends, the process proceeds to S305, and the stored print data D1 is printed out.
[0191]
On the other hand, when reception of the print data D1 is detected in S300, the process proceeds to S301, and the received print data D1 is stored in a spool (not shown) provided in the print processing unit 340 of FIG. When the storage is completed, the process proceeds to S305, and the stored print data D1 is printed out. In this way, the print data D1 is printed out in the printer.
[0192]
When a failure occurs in the server 14, the printer receives the change notification in the above-described S 234 from the server 24 selected as the alternative server, and changes the above processing from the server 14 to the server 24.
[0193]
In the present embodiment described above, the workstation uses the reference D2 having a smaller data amount than the print data D1 to request the server to print the print data D1, so that the data transferred from the workstation to the server at the time of the request. The amount is reduced, and the amount of data transmission (communication traffic amount) on the network can be reduced. In addition, since the amount of data to be stored in the server at the time of a print processing request is reduced, the server does not require an additional magnetic disk device or the like, and costs can be reduced.
[0194]
Further, the server receives a print processing request from the workstation using the reference D2, and determines an appropriate printer and print data transfer path. The print processing of the print data based on the appropriate transfer path can be realized by the control processing routine in each of the workstation, server, and printer described above.
[0195]
Further, when a failure occurs in the server and normal processing cannot be performed, an alternative server is automatically selected from the device information table 290 automatically. Further, the device information table 290 and the performance information table 292 are transmitted to the selected alternative server, and the setting on the alternative server side is automatically performed. Further, the processing of the server in which the failure has occurred due to the alternative server is taken over. As a result, it is possible to significantly reduce the operational load applied when a failure occurs in the network system, such as setting an alternative server and notifying the user.
[0196]
In addition, the processing that was or was scheduled to be performed on the server in which the failure occurred is substituted for the selected alternative server. As a result, even when a failure occurs, the printing process is continued by the alternative server without interrupting the printing process, so that a highly reliable network system can be constructed.
[0197]
Further, the processing of the print data D1 being processed by the server in which the failure has occurred is also taken over by the selected alternative server. As a result, it is not necessary to print the print data D1 that has been printed halfway from the beginning again, and wasteful use of resources (paper, toner, power, etc.) can be reduced.
[0198]
In addition, when a server process is stagnant due to spool full or a large amount of print data being sent / received (throughput of the entire network system is reduced), an alternative server is automatically selected from the device information table 290 and the process is delayed. Substitution request by the server and substitution processing by the substitution server are performed. Since these processes are performed using the reference D2 having a smaller data amount than the print data D1, the throughput of the entire network system is improved while preventing an increase in the data transmission amount (communication traffic amount) on the network. be able to.
[0199]
The operation of the above embodiment has been described on the assumption that the print data D1 is generated at the workstation 12W1 and a print processing request for the print data D1 is made to the server 14. However, the operation is limited to one network. Instead, the same communication control process as described above can be realized among all workstations, servers, and printers connected via the network.
[0200]
Further, although a case has been described in which a failure occurs in the server 14 and the server 24 that manages a printer group that is not managed by the server 14 is replaced in another network, the process is not limited to this. Substitution processing requests and processing similar to those described above can be realized among all servers connected via the network, and communication control processing similar to that described above can be realized among workstations, servers, and printers. Alternatively, an alternative print server connected via a network may be installed to wait for an alternative request from another server.
[0201]
【The invention's effect】
As described above, the present invention provides a network system, an alternative process control method, and a server that can dynamically select an alternative server and continue printing even when a failure occurs in the server. Can do.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram of a network system in the present embodiment.
FIG. 2 is a block diagram showing a configuration of a workstation.
FIG. 3 is a block diagram showing a configuration of a server.
FIG. 4 is a block diagram illustrating a configuration of a printer.
FIG. 5 is a table showing an example of a device information table managed by a server.
FIG. 6 is a table showing an example of a printer performance information table managed by a server.
FIG. 7 is a conceptual diagram showing the structure of a reference.
FIG. 8 is a table showing an example of detailed reference information.
FIG. 9 is a conceptual diagram illustrating a flow of printing.
FIG. 10 is a conceptual diagram showing a data communication route.
FIG. 11 is a list of data transfer path patterns.
FIG. 12 is a table showing priorities regarding data transfer paths;
FIG. 13 is a communication function matrix table of workstations and printers.
14 is a table showing data transfer paths for each communication function matrix of FIG.
FIG. 15 is a matrix table of reference transmission devices and reception devices.
FIG. 16 is a matrix table of a print data transmission device and a reception device.
FIG. 17 is a matrix table of print data acquisition apparatuses and provision apparatuses.
FIG. 18 is a conceptual diagram showing a flow of setting an alternative server when a failure occurs.
FIG. 19 is a conceptual diagram showing a flow of printing after completion of alternative server setting.
FIG. 20 is a conceptual diagram illustrating a print flow when processing is stagnant.
FIG. 21 is a flowchart showing a communication control processing routine executed in the workstation.
FIG. 22 is a flowchart showing a communication control processing routine executed in the server (alternate request server).
FIG. 23 is a flowchart showing a subroutine of output printer extraction processing.
FIG. 24 is a flowchart illustrating a subroutine of print condition check processing.
FIG. 25 is a flowchart showing a subroutine of data transfer path pattern and printer selection processing.
FIG. 26 is a flowchart showing a subroutine of an alternative request process executed in an alternative request server.
FIG. 27 is a flowchart showing a communication control processing routine executed in the server (alternative server).
FIG. 28 is a flowchart showing a subroutine of performance information table update processing executed in the alternative server.
FIG. 29 is a flowchart showing a subroutine of device information table update processing executed in an alternative server.
FIG. 30 is a flowchart showing a communication control processing routine executed in the printer.
[Explanation of symbols]
10, 20 LAN
12W1, 12W2, 12W3, 12W4 workstation
14 servers
24 servers
16P1, 16P2, 16P3, 16P4 Printer
22W1, 22W2, 22W3, 22W4 workstation
26P1, 26P2, 26P3, 26P4 Printer
D1 print data
D2 Reference (Print processing content information)
91 Printing Resource Information
92 Job attribute information
93 Print attribute information
100 network system
110 Data generator
120 Print Management Department
220 Device information management unit
221 memory (selection information storage unit, management information storage unit)
240 Print management unit (determination means, transfer control means)
260 Printer selection part
270 Data transfer path setting unit
280 spool
290 Device information table (management information, alternative server selection information)
292 Performance information table (management information)
300 Alternative process control unit (selection means, request means, alternative process control means)
340 Print processing unit

Claims (15)

印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記プリンタを管理するサーバと、を含んで構成されたネットワークシステムであって、
前記サーバは、
前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する決定手段と、
前記決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する転送制御手段と、
前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置からの印刷処理要求の処理を代替させる代替サーバを選択する選択手段と、
前記選択手段により代替サーバに選択されたサーバに、前記端末装置から受けた印刷処理要求の代替を要求する要求手段と、
他のサーバによって代替サーバに選択された場合に、前記端末装置からの印刷処理要求を代替して処理するように制御する代替処理制御手段と、
を有することを特徴とするネットワークシステム。
A terminal device that generates print data and represents the content of print processing and generates print processing content information that is smaller in data amount than the print data, a printer that executes print processing based on print data, and manages the printer A network system configured to include:
The server
A determination unit for determining a printer for executing the print processing and a transfer path of the print data to the printer based on the print processing content information sent as a print processing request for the print data from the terminal device;
Transfer control means for controlling the print data to be transferred to the printer according to the transfer path determined by the determining means;
A selection means for selecting an alternative server for substituting the processing of the print processing request from the terminal device when a failure that cannot perform the processing for the print processing request occurs ;
Request means for requesting the server selected as the substitute server by the selection means to replace the print processing request received from the terminal device;
An alternative process control means for controlling to process a print process request from the terminal device when the server is selected as an alternative server by another server;
A network system comprising:
前記選択手段は、他のサーバの所在情報と代替サーバとして起動するための代替サーバ起動条件とを含んで構成された代替サーバ選択情報を記憶する選択情報記憶部を有し、前記代替サーバ選択情報に基づいて、代替サーバを選択する、
ことを特徴とする請求項1に記載のネットワークシステム。
The selection means includes a selection information storage unit that stores alternative server selection information configured to include location information of another server and alternative server activation conditions for activation as an alternative server, and the alternative server selection information Select an alternative server based on
The network system according to claim 1.
前記サーバは、前記決定手段における印刷処理の実行に適したプリンタの決定に用いられ、該サーバが管理する前記端末装置及び前記プリンタの所在情報と性能情報とを含む管理情報を記憶する管理情報記憶部を更に有し、
前記要求手段は、前記端末装置から印刷要求として送られてきた印刷処理内容情報、前記管理情報記憶部に記憶されている前記管理情報、及び該サーバを介して転送する転送経路が決定され端末装置からプリンタへ転送途中の該サーバに蓄積されている前記印刷データのうちの少なくとも1つを代替サーバに送信することで代替要求を行なう、
ことを特徴とする請求項1又は請求項2に記載のネットワークシステム。
The server is used to determine a printer suitable for execution of print processing in the determination unit, and management information storage for storing management information including location information and performance information of the terminal device and the printer managed by the server Further comprising
The request unit determines the print processing content information sent as a print request from the terminal device, the management information stored in the management information storage unit, and a transfer path for transfer via the server. A substitute request is made by sending at least one of the print data stored in the server being transferred from the printer to the printer to the substitute server;
The network system according to claim 1 or 2, wherein
前記代替処理制御手段は、他のサーバからの代替要求として前記印刷処理内容情報を受信した場合、受信した前記印刷処理内容情報に基づいて、前記決定手段による決定が行なわれるように制御する、
ことを特徴とする請求項3に記載のネットワークシステム。
The alternative process control means, when receiving the print processing content information as an alternative request from another server, controls the determination means to make a determination based on the received print processing content information;
The network system according to claim 3.
前記代替処理制御手段は、他のサーバからの代替要求として前記管理情報を受信した場合、受信した管理情報に基づいて、代替を要求してきた他のサーバが管理している全ての端末装置とプリンタを該サーバの管理下に置くように、該サーバの管理情報を更新する、
ことを特徴とする請求項3又は請求項4に記載のネットワークシステム。
When the replacement processing control unit receives the management information as a replacement request from another server, all the terminal devices and printers managed by the other server that has requested replacement based on the received management information Update the management information of the server so that the server is under the management of the server,
The network system according to claim 3 or 4, characterized by the above.
前記代替制御手段は、他のサーバからの代替要求として前記端末装置から前記プリンタへ転送途中の代替を要求してきたサーバに蓄積されていた前記印刷データを受信した場合、該端末装置及び該プリンタの少なくとも一方に、代替を要求してきたサーバに代えて該サーバを介する転送経路に変更することを通知し、印刷データの転送が該サーバを介して継続して行なわれるように制御する、
ことを特徴とする請求項3乃至請求項5の何れか1項に記載のネットワークシステム。
When the substitution control means receives the print data stored in the server that has requested substitution during transfer from the terminal device to the printer as a substitution request from another server, the substitution control means Notifying at least one of the servers that have requested replacement to change to a transfer path via the server, and controlling the transfer of print data to continue through the server,
The network system according to any one of claims 3 to 5, wherein the network system is characterized in that
前記サーバの処理が停滞している場合、前記要求手段は、前記端末装置から受信した未処理の前記印刷処理内容情報を前記代替サーバに送信することで、前記端末装置から受けた未処理の印刷処理要求の代替を要求する、 ことを特徴とする請求項3乃至請求項6の何れか1項に記載のネットワークシステム。  When the processing of the server is stagnant, the request unit transmits the unprocessed print processing content information received from the terminal device to the alternative server, so that the unprocessed print received from the terminal device is transmitted. The network system according to any one of claims 3 to 6, wherein an alternative to the processing request is requested. 前記サーバの機能を停止する場合、前記要求手段は、処理中及び未処理に係らず端末装置から受信した全ての印刷処理内容情報、前記管理情報、前記決定手段により該サーバを介して転送する転送経路が決定され端末装置からプリンタへの転送途中の該サーバに蓄積されている前記印刷データと、を代替サーバに送信することで、前記端末装置から受けた全ての印刷処理要求の代替を要求する、
ことを特徴とする請求項3乃至請求項7の何れか1項に記載のネットワークシステム。
When stopping the function of the server, the request unit transfers all print processing content information received from the terminal device regardless of whether it is in process or not processed, the management information, and the transfer transferred through the server by the determination unit. Requesting substitution of all print processing requests received from the terminal device by transmitting the print data stored in the server in the middle of transfer from the terminal device to the printer whose path has been determined to the substitute server ,
The network system according to any one of claims 3 to 7, characterized in that:
前記障害を、前記転送制御手段による印刷データの転送の制御の停止又は停滞とするThe failure is defined as a stop or stagnation of print data transfer control by the transfer control means.
ことを特徴とする請求項1乃至請求項8の何れか1項に記載のネットワークシステム。  The network system according to any one of claims 1 to 8, wherein the network system is characterized in that:
印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記端末装置から前記印刷データの印刷処理要求として送信された前記印刷処理内容情報に基づいて、印刷処理の実行に適したプリンタ及び該プリンタへの印刷データの転送経路を決定して前記印刷データが該プリンタに転送されるように制御するサーバとを含んで構成されたネットワークシステムにおける、前記サーバに障害が発生した場合に前記端末装置から受けた印刷処理要求を、共に前記ネットワークを構成している他のサーバに代替させる代替処理制御方法であって、
前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記サーバが、予め記憶されている代替サーバ選択情報に基づいて、前記ネットワークシステムを共に構成している他のサーバの中から、前記端末装置からの印刷処理要求を代替させる代替サーバを選択し、
前記端末装置から受信した印刷処理内容情報、予め記憶されている前記サーバが管理している端末装置及びプリンタの管理情報、及び該サーバを介して転送する転送経路が決定され端末装置からプリンタへ転送途中の該サーバに蓄積されている前記印刷データのうちの少なくとも1つを前記代替サーバに選択されたサーバに送信することで代替要求を行ない、
前記代替サーバに選択されたサーバが、前記代替要求を受けて、前記端末装置からの印刷処理要求を代替して処理するように制御する、
ことを特徴とする代替処理制御方法。
A terminal device that generates print data and represents print processing content and generates print processing content information having a data amount smaller than the print data; a printer that executes print processing based on the print data; and the terminal device Based on the print processing content information transmitted as a print processing request for the print data, a printer suitable for execution of the print processing and a print data transfer path to the printer are determined, and the print data is transferred to the printer. In a network system configured to include a server that performs control, a print processing request received from the terminal device when a failure occurs in the server is sent to another server that configures the network together. An alternative processing control method to be substituted,
In the event of a failure that prevents the processing for the print processing request from occurring, the server is selected from among other servers that together constitute the network system based on pre-stored alternative server selection information. Selecting an alternative server for substituting the print processing request from the terminal device,
Print processing content information received from the terminal device, management information of the terminal device and printer managed by the server stored in advance, and a transfer path to be transferred via the server are determined and transferred from the terminal device to the printer Making a substitution request by transmitting at least one of the print data stored in the server on the way to the server selected as the substitution server;
The server selected as the substitute server receives the substitute request and controls to process the print processing request from the terminal device instead.
An alternative processing control method characterized by the above.
前記障害を、前記印刷データの前記プリンタへの転送の制御の停止又は停滞とするThe failure is a stop or stagnation of control of transfer of the print data to the printer.
ことを特徴とする請求項10記載の代替処理制御方法。  The alternative processing control method according to claim 10.
印刷データを生成すると共に印刷処理の内容を表し且つ前記印刷データよりもデータ量が少ない印刷処理内容情報を生成する端末装置、及び前記印刷データに基づいて印刷処理を実行するプリンタと共にネットワークを構成するサーバであって、
前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する決定手段と、
前記決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する転送制御手段と、
前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置から受けた印刷処理要求の処理を代替させる代替サーバを、前記ネットワークシステムを共に構成している他のサーバの中から選択する選択手段と、
前記選択手段により選択された前記代替サーバに、前記端末装置から受けた印刷処理要求の代替を要求する要求手段と、
前記ネットワークを共に構成している他のサーバからの代替要求を受けて、代替を要求してきたサーバに代わって前記端末装置からの印刷処理要求を処理するように制御する代替処理制御手段と、
を有することを特徴とするサーバ。
A network is configured with a terminal device that generates print data and represents print processing content and generates print processing content information having a data amount smaller than the print data, and a printer that executes print processing based on the print data A server,
A determination unit for determining a printer for executing the print processing and a transfer path of the print data to the printer based on the print processing content information sent as a print processing request for the print data from the terminal device;
Transfer control means for controlling the print data to be transferred to the printer according to the transfer path determined by the determining means;
An alternative server that replaces the processing of the print processing request received from the terminal device when a failure that cannot perform the processing for the print processing request occurs is included in other servers that together constitute the network system. A selection means to select from,
Request means for requesting the replacement server selected by the selection means to replace the print processing request received from the terminal device;
An alternative process control means for receiving an alternative request from another server that constitutes the network together, and controlling to process a print processing request from the terminal device on behalf of the server that has requested the alternative;
The server characterized by having.
前記障害を、前記転送制御手段による印刷データの転送の制御の停止又は停滞とするThe failure is defined as a stop or stagnation of print data transfer control by the transfer control means.
ことを特徴とする請求項12記載のサーバ。  The server according to claim 12.
印刷データを生成すると共に印刷処理の内容を表す印刷処理内容情報を生成する端末装置と、印刷データに基づいて印刷処理を実行するプリンタと、前記プリンタを管理する管理サーバと、前記管理サーバの処理を代替する代替サーバと、を含んで構成されたネットワークシステムであって、A terminal device that generates print data and print processing content information that represents the content of the print processing, a printer that executes print processing based on the print data, a management server that manages the printer, and processing of the management server A network system configured to include an alternative server for substituting
前記管理サーバは、  The management server
前記端末装置から前記印刷データの印刷処理要求として送られてきた前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する第1決定手段と、  First determination means for determining a printer for executing the print processing and a transfer path of the print data to the printer based on the print processing content information sent as a print processing request for the print data from the terminal device; ,
前記第1決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する第1転送制御手段と、  First transfer control means for controlling print data to be transferred to the printer according to the transfer path determined by the first determination means;
前記印刷処理要求に対する処理を行うことができない障害が発生した場合に、前記端末装置からの印刷処理要求の処理を代替させる代替サーバを選択する選択手段と、  A selection means for selecting an alternative server for substituting the processing of the print processing request from the terminal device when a failure that cannot perform the processing for the print processing request occurs;
前記選択手段により選択された代替サーバに、前記端末装置から受けた前記印刷処理内容情報を転送して代替を要求する要求手段と、を有し、  Requesting means for requesting substitution by transferring the print processing content information received from the terminal device to the substitution server selected by the selection means;
前記代替サーバは、  The alternative server is
前記要求手段により代替を要求された前記印刷処理内容情報に基づいて、該印刷処理を実行させるプリンタ及び該プリンタへの印刷データの転送経路を決定する第2決定手段と、  Second determining means for determining a printer for executing the printing process and a transfer path of print data to the printer based on the printing process content information requested for replacement by the requesting means;
前記第2決定手段により決定された転送経路に従って印刷データが前記プリンタへ転送されるよう制御する第2転送制御手段と、  Second transfer control means for controlling the print data to be transferred to the printer according to the transfer path determined by the second determination means;
を有することを特徴とするネットワークシステム。  A network system comprising:
前記障害を、前記第1転送制御手段による印刷データの転送の制御の停止又は停滞とするThe failure is set to stop or stagnation of print data transfer control by the first transfer control means.
ことを特徴とする請求項14記載のネットワークシステム。  The network system according to claim 14, wherein:
JP35977598A 1998-12-17 1998-12-17 Network system, alternative processing control method, and server Expired - Fee Related JP3777842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35977598A JP3777842B2 (en) 1998-12-17 1998-12-17 Network system, alternative processing control method, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35977598A JP3777842B2 (en) 1998-12-17 1998-12-17 Network system, alternative processing control method, and server

Publications (2)

Publication Number Publication Date
JP2000181653A JP2000181653A (en) 2000-06-30
JP3777842B2 true JP3777842B2 (en) 2006-05-24

Family

ID=18466238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35977598A Expired - Fee Related JP3777842B2 (en) 1998-12-17 1998-12-17 Network system, alternative processing control method, and server

Country Status (1)

Country Link
JP (1) JP3777842B2 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220564A (en) 2002-12-26 2004-08-05 Seiko Epson Corp Device linkage management system, network device, program for device, and device linkage management method
JP2004234625A (en) 2003-01-09 2004-08-19 Seiko Epson Corp Access control system, accessed terminal, access terminal, program for terminal, and access control method
CN1774693A (en) * 2003-12-05 2006-05-17 松下电器产业株式会社 Printer and printing method
JP4980255B2 (en) * 2008-01-28 2012-07-18 パナソニック株式会社 Print processing system
JP4574703B2 (en) * 2008-08-29 2010-11-04 コニカミノルタビジネステクノロジーズ株式会社 Output management server and data output system
JP5017237B2 (en) 2008-11-11 2012-09-05 シャープ株式会社 Image forming apparatus with printer server function
JP5339297B2 (en) * 2010-06-01 2013-11-13 キヤノンマーケティングジャパン株式会社 PRINT MANAGEMENT SYSTEM, ITS CONTROL METHOD, PROGRAM, RECORDING MEDIUM RECORDING PROGRAM, AND PRINT MANAGEMENT SERVER, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM RECORDING PROGRAM
JP5060593B2 (en) * 2010-06-04 2012-10-31 シャープ株式会社 Image forming apparatus and system
JP5729979B2 (en) * 2010-11-19 2015-06-03 キヤノン株式会社 Print relay system, print system, image forming apparatus, control method for controlling print relay system, and program
JP5661586B2 (en) * 2011-09-30 2015-01-28 株式会社沖データ Image forming apparatus, information processing apparatus, and image forming system
JP5862475B2 (en) 2012-06-18 2016-02-16 株式会社リコー Output management device, output management system, program
JP6518561B2 (en) 2015-09-28 2019-05-22 コニカミノルタ株式会社 Image forming apparatus, operation control program, and operation control method
JP2016106295A (en) * 2015-12-28 2016-06-16 株式会社リコー Output system and determination method
JP6597971B2 (en) * 2016-03-08 2019-10-30 コニカミノルタ株式会社 Image forming apparatus and program
JP7046648B2 (en) * 2018-02-27 2022-04-04 キヤノン株式会社 Print processing system, method, and program

Also Published As

Publication number Publication date
JP2000181653A (en) 2000-06-30

Similar Documents

Publication Publication Date Title
JP3777842B2 (en) Network system, alternative processing control method, and server
US5978559A (en) User interface for distributed printing system
US7619769B2 (en) Printing system
US6188487B1 (en) Print control system and print control method
JP3327357B2 (en) Printer management method
JPH11110143A (en) Method for making printer system execute printing, printing executing method, computer and printer system
JPH08272557A (en) Printing indicator
JPH10240459A (en) Print controller
JP4003301B2 (en) Network system and image forming apparatus
JP2002082791A (en) Print system for supplying virtual printer, information processor and information processing method
JP3817913B2 (en) Network system, terminal device, server, and image forming apparatus
JP2009123147A (en) Print control system, print control apparatus, print control method, print control program and recording medium
JPH10198540A (en) Decentralized controller for printer output
JP4089018B2 (en) Network system and image forming apparatus
JPH11203092A (en) Printing system
JP4453357B2 (en) Print processing apparatus and print processing program
JPH09222964A (en) Print server
JPH11220490A (en) Multimedia information distributor
JPH06195289A (en) Information processor
JP3312482B2 (en) Print data transmission source, printer device and print data storage device
JPH11154064A (en) Network system, terminal device, and server
JPH10157253A (en) Apparatus for controlling printing
JP3508933B2 (en) Printer management method
JP3755317B2 (en) Printing system
JPH0667823A (en) Print server

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051101

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060220

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees