JP2004127009A - Print system - Google Patents

Print system Download PDF

Info

Publication number
JP2004127009A
JP2004127009A JP2002291260A JP2002291260A JP2004127009A JP 2004127009 A JP2004127009 A JP 2004127009A JP 2002291260 A JP2002291260 A JP 2002291260A JP 2002291260 A JP2002291260 A JP 2002291260A JP 2004127009 A JP2004127009 A JP 2004127009A
Authority
JP
Japan
Prior art keywords
print
client device
data
distributed
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.)
Pending
Application number
JP2002291260A
Other languages
Japanese (ja)
Inventor
Yasuyuki Tsukui
津久井 保幸
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002291260A priority Critical patent/JP2004127009A/en
Publication of JP2004127009A publication Critical patent/JP2004127009A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To increase speed of processing by completing print processing by the minimum requests and responses thereby relieving a burden. <P>SOLUTION: A distributed business form is recorded and managed in a group 108 of client business form management tables of a Web server 100 for each client device. In a client device 110, the business form distributed from the Web server 100 is held in a business form storage part 113. When a print request exists, the Web server 100 refers to the group 108 of tables, establishes a business form required to be distributed which is not held by a client device 110 concerning the present print request and distributes distribution data generated by synthesizing the business form into one piece of data together with information required for generating other images to a corresponding client device 110. The client device 110 performs image generation and print by using the business form distributed this time and the existing business form. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術の分野】
本発明は、ネットワークを介して帳票、電子カタログなどのプリントを行う為のプリントシステムに関する。
【0002】
【従来の技術】
インターネットの急速な発展とWebサーバの林立に伴い、業務処理のWeb化が推進されている。ネットワークに接続されたクライアント装置であるパーソナルコンピュータは、情報の表示及び入力が可能なWebブラウザを搭載するのみで、Webブラウザ経由による業務処理が広く行われる様になっている。また、ブラウザによる業務を行う際には、ネットワーク上に存在するWebサーバとクライアント側であるWebブラウザとの間で情報の交換が行われる。Webサーバは、ブラウザから入力された情報を受け取り、サーバ内で加工後、再びブラウザに送信して、表示を行う等の動作を繰り返し行い、結果を得るというような形式で業務が遂行される。
【0003】
また、プリント処理に関しては、クライアント装置から送られた印刷要求を元に、サーバ側でフォームデータを用いたオーバレイ処理を実現することにより、美しいプリント結果が得られるデータをクライアント装置に配信するシステムが提供されている。
【0004】
この、ブラウザ経由のプリント処理における問題として次のようなものが挙げられる。まず、最終的なプリントイメージを生成する処理がすべてサーバ側で行われるため、Webサーバへの不特定多数からの集中的なリクエストがあると、負荷が大きくなるという点である。また、プリントイメージの生成はサーバ側のプリンタドライバを利用して行われるため、そのイメージをクライアント側で印刷するには、サーバに存在するプリンタドライバと同一のものを用意する必要がある。さらに、サーバ側で生成したプリントイメージは、内容によってはデータ量が大きくなる場合があり、クライアント装置へのデータ配信時にネットワークの負荷となることが想定される。
【0005】
このような問題を解決するために、例えば、下記特許文献1では、Webサーバからオーバレイに必要なデータをクライアント装置に配信し、クライアント側でオーバレイ処理を実現することを可能としており、また、サーバから配信されたデータは、クライアント装置で保持することを可能として、一度クライアント装置で保持されたデータは、次回からはサーバからは配信しないという機能を実現することにより、データ量削減による配信の効率化を図っている。
【0006】
図7は、下記特許文献1のプリントシステムにおける帳票フォームの自動配信機能の概要を表した図である。クライアント装置Cとサーバ装置Sとが接続されている。
【0007】
サーバ装置Sのリクエスト解析部1603は、クライアント装置Cのリクエスト生成部1601からの印刷要求(HTTPリクエスト)を解析し、帳票プリントデータの生成に必要な帳票フォーム、帳票データや、印刷条件を特定し、フォーム管理テーブル1501を参照して、上記特定された各帳票フォームの最終更新日時情報を取得する。そして、特定された帳票フォームを示す情報と取得された最終更新日時情報とを自動配信モジュール1502にセットする。自動配信モジュール1502は、自動配信用データを生成してクライアント装置Cに送信する。
【0008】
クライアント装置Cでは、自動配信モジュール1503が、自動配信用データを受信し、自動配信用データから抽出した情報が示す帳票フォームが帳票フォーム管理テーブル1504に登録されているかを判定することで、その帳票フォームが既に配信済みであるかを調べる。登録されていなければ、その帳票フォームを配信してもらうための要求(HTTPリクエスト)を生成し、その要求をサーバ装置Sに送信する。
【0009】
サーバ装置Sでは、リクエスト解析部1604が、上記要求を受信、解析して、クライアント装置Cに配信すべき帳票フォーム、つまり、クライアント装置Cが保持していない帳票フォームを特定し、それをレスポンス生成部1605が生成して配信データとしてクライアント装置Cに送信する。
【0010】
クライアント装置Cでは、配信データを受信すると、レスポンス解析部1602が、印刷条件を抽出してメモリに保持し、帳票の印刷に必要な帳票データ及び帳票フォームを抽出してファイルとして保存する。そして、抽出された各情報に基づいて、画像生成部903が帳票プリントデータを生成する。その後、プリンタにより印刷処理が行われる。
【0011】
【特許文献1】
特開2002−163596号公報(特願2000−363011号)
【0012】
【発明が解決しようとする課題】
しかしながら、上記特許文献1のプリントシステムでは、クライアント装置に配信済みの帳票フォームをサーバが知るためには、クライアント装置とサーバ間で複数回の通信が必要であった。すなわち、図7を参照すると、最初の印刷リクエストの処理「リクエスト生成部1601→リクエスト解析部1603」のほかに、配信が必要な帳票フォームを確認するためのサーバからクライアント装置への要求リクエストの処理「自動配信モジュール1502→自動配信モジュール1503」、及びこれに対するクライアント装置からの応答(実際に配信が必要な帳票フォームを計算するための情報が含まれる)の処理「自動配信モジュール1503→リクエスト解析部1604」、実際の帳票フォームを含んだ最終的なサーバからの応答の処理「レスポンス生成部1605→レスポンス解析部1602」の計4回の通信を行う必要があった。
【0013】
この方法では、クライアント装置に問い合わせることによる、クライアント装置に格納済みの帳票フォームの確認が、印刷処理毎になされるため、動作が確実である反面、通信回数が増えることにより速度が低下するという問題があった。
【0014】
また、実際のWebサーバを含んだ構成では、顧客が市販されている各種のWebサーバからひとつを選択し、それらWebサーバを通過するこれらの通信を作りこむ(橋渡しする)必要があり、Webサーバ実装工数の増大を招くという問題があった。
【0015】
本発明は上記従来技術の問題を解決するためになされたものであり、その目的は、最小限の要求、応答で印刷処理を完結させ、負荷を軽減させて処理の高速化を図ることができるプリントシステムを提供することにある。
【0016】
【課題を解決するための手段】
上記目的を達成するために本発明の請求項1のプリントシステムは、サーバ装置とクライアント装置とがネットワークで接続されて構成されるプリントシステムであって、前記サーバ装置は、前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出手段と、過去に配信済みの印刷用フォームを管理するフォーム管理手段と、前記フォーム管理手段により管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識手段と、前記フォーム認識手段により認識された印刷用フォームを前記データ抽出手段により抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信手段とを有し、前記クライアント装置は、前記サーバ装置の前記配信手段により配信された印刷用フォームを記憶するフォーム記憶手段と、前記配信手段により配信された印刷用フォーム又は前記フォーム記憶手段に記憶されている印刷用フォームと、前記配信手段により配信された印刷用データとに基づいて、印刷用画像を生成する画像生成手段とを有することを特徴とする〔態様1〕。
【0017】
また、本発明プリントシステムは、以下の態様のように構成してもよい。すなわち、
〔態様2〕請求項1(態様1)記載の構成において、前記クライアント装置は、前記配信手段により配信された印刷用フォームと前記フォーム記憶手段により記憶された印刷用フォームとで前記印刷要求に係る印刷処理の実行に必要な印刷用フォームが充足するか否かを判断する判断手段を有し、前記画像生成手段は、前記印刷用フォームが充足する場合にのみ前記印刷用画像の生成を行うことを特徴とする。
【0018】
〔態様3〕態様2記載の構成において、前記クライアント装置は、前記印刷用フォームが充足しない場合は、その旨を前記サーバ装置に通知する通知手段を有することを特徴とする。
【0019】
〔態様4〕態様3記載の構成において、前記サーバ装置が、前記クライアント装置の前記通知手段から前記印刷用フォームが充足しない旨の通知を受けた場合は、前記フォーム管理手段は、管理している印刷用フォームのうち前記通知に係るクライアント装置に対応するものを消去することを特徴とする。
【0020】
〔態様5〕態様4記載の構成において、前記サーバ装置は、前記フォーム管理手段により印刷用フォームが消去された場合は、前記印刷要求に対する前記データ抽出手段による印刷用フォーム及び印刷用データの抽出、前記フォーム管理手段による印刷用フォームの管理、前記フォーム認識手段による印刷用フォームの認識、並びに前記配信手段による印刷用フォーム及び印刷用データの配信の各処理を再試行することを特徴とする。
【0021】
〔態様6〕態様2記載の構成において、前記クライアント装置は、前記印刷用フォームが充足しない場合は、前記フォーム記憶手段により記憶されている印刷用フォームのリストを前記サーバ装置に返すリスト返信手段を有し、前記サーバ装置の前記フォーム管理手段は、前記リスト返信手段から返信されたリストに基づいて、前記リストに係るクライアント装置に対応する印刷用フォームを更新することを特徴とする。
【0022】
〔態様7〕態様1〜6のいずれかに記載の構成において、前記サーバ装置による前記クライアント装置の識別は、各クライアント装置に付与された固有情報に基づきなされ、前記固有情報は、前記サーバ装置により、端末情報、アクセス日時及び乱数をベースとして生成され、各クライアント装置に格納されることで各クライアント装置に付与されることを特徴とする。
【0023】
〔態様8〕態様1〜7のいずれかに記載の構成において、前記印刷用フォームには、電子的に部品化されたカタログの部分ページのフォームが含まれることを特徴とする。
【0024】
また、本発明は、以下の態様のように、情報処理装置、情報処理装置の制御方法、情報処理装置の制御プログラム、記憶媒体にも適用可能である。すなわち、〔態様9〕本発明の情報処理装置は、クライアント装置がネットワークで接続されるサーバ装置を構成する情報処理装置であって、前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出手段と、過去に配信済みの印刷用フォームを管理するフォーム管理手段と、前記フォーム管理手段により管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識手段と、前記フォーム認識手段により認識された印刷用フォームを前記データ抽出手段により抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信手段とを有し、前記クライアント装置は、配信された印刷用フォームを記憶し、前記配信された印刷用フォーム又は前記記憶された印刷用フォームと、前記配信された印刷用データとに基づいて印刷用画像を生成するものであることを特徴とする。
【0025】
〔態様10〕本発明の情報処理装置は、サーバ装置にネットワークで接続されるクライアント装置を構成する情報処理装置であって、印刷要求を前記サーバ装置に対して送信する印刷要求送信手段と、前記サーバ装置から配信される印刷用フォームを記憶するフォーム記憶手段と、前記サーバ装置から配信された印刷用フォーム又は前記フォーム記憶手段により記憶された印刷用フォームと、前記サーバ装置から配信された印刷用データとに基づいて、印刷用画像を生成する画像生成手段とを有し、前記サーバ装置は、印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出し、過去に配信済みの印刷用フォームを管理し、前記管理されている印刷用フォームの情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識し、前記認識された印刷用フォームを前記抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信するものであることを特徴とする。
【0026】
〔態様11〕本発明の情報処理装置の制御方法は、クライアント装置がネットワークで接続されるサーバ装置を構成する情報処理装置を制御する情報処理装置の制御方法であって、前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出ステップと、過去に配信済みの印刷用フォームを管理するフォーム管理ステップと、前記フォーム管理ステップにより管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識ステップと、前記フォーム認識ステップにより認識された印刷用フォームを前記データ抽出ステップにより抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信ステップとを有し、前記クライアント装置は、配信された印刷用フォームを記憶し、前記配信された印刷用フォーム又は前記記憶された印刷用フォームと、前記配信された印刷用データとに基づいて印刷用画像を生成するものであることを特徴とする。
【0027】
〔態様12〕本発明の情報処理装置の制御方法は、サーバ装置にネットワークで接続されるクライアント装置を構成する情報処理装置を制御する情報処理装置の制御方法であって、印刷要求を前記サーバ装置に対して送信する印刷要求送信ステップと、前記サーバ装置から配信される印刷用フォームを記憶するフォーム記憶ステップと、前記サーバ装置から配信された印刷用フォーム又は前記フォーム記憶ステップにより記憶された印刷用フォームと、前記サーバ装置から配信された印刷用データとに基づいて、印刷用画像を生成する画像生成ステップとを有し、前記サーバ装置は、印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出し、過去に配信済みの印刷用フォームを管理し、前記管理されている印刷用フォームの情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識し、前記認識された印刷用フォームを前記抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信するものであることを特徴とする。
【0028】
〔態様13〕本発明の情報処理装置の制御プログラムは、クライアント装置がネットワークで接続されるサーバ装置を構成する情報処理装置を制御する情報処理装置の制御プログラムであって、前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出ステップと、過去に配信済みの印刷用フォームを管理するフォーム管理ステップと、前記フォーム管理ステップにより管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識ステップと、前記フォーム認識ステップにより認識された印刷用フォームを前記データ抽出ステップにより抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信ステップとをコンピュータに実行させるためのプログラムであり、前記クライアント装置は、配信された印刷用フォームを記憶し、前記配信された印刷用フォーム又は前記記憶された印刷用フォームと、前記配信された印刷用データとに基づいて印刷用画像を生成するものであることを特徴とする。
【0029】
〔態様14〕本発明の情報処理装置の制御プログラムは、サーバ装置にネットワークで接続されるクライアント装置を構成する情報処理装置を制御する情報処理装置の制御プログラムであって、印刷要求を前記サーバ装置に対して送信する印刷要求送信ステップと、前記サーバ装置から配信される印刷用フォームを記憶するフォーム記憶ステップと、前記サーバ装置から配信された印刷用フォーム又は前記フォーム記憶ステップにより記憶された印刷用フォームと、前記サーバ装置から配信された印刷用データとに基づいて、印刷用画像を生成する画像生成ステップとをコンピュータに実行させるためのプログラムであり、前記サーバ装置は、印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出し、過去に配信済みの印刷用フォームを管理し、前記管理されている印刷用フォームの情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識し、前記認識された印刷用フォームを前記抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信するものであることを特徴とする。
【0030】
〔態様15〕本発明の記憶媒体は、クライアント装置がネットワークで接続されるサーバ装置を構成する情報処理装置を制御する情報処理装置の制御プログラムを記憶したコンピュータ読み取り可能な記憶媒体であって、前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出ステップと、過去に配信済みの印刷用フォームを管理するフォーム管理ステップと、前記フォーム管理ステップにより管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識ステップと、前記フォーム認識ステップにより認識された印刷用フォームを前記データ抽出ステップにより抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信ステップとをコンピュータに実行させるためのプログラムを記憶し、前記クライアント装置は、配信された印刷用フォームを記憶し、前記配信された印刷用フォーム又は前記記憶された印刷用フォームと、前記配信された印刷用データとに基づいて印刷用画像を生成するものであることを特徴とする。
【0031】
〔態様16〕本発明の記憶媒体は、サーバ装置にネットワークで接続されるクライアント装置を構成する情報処理装置を制御する情報処理装置の制御プログラムを記憶したコンピュータ読み取り可能な記憶媒体であって、印刷要求を前記サーバ装置に対して送信する印刷要求送信ステップと、前記サーバ装置から配信される印刷用フォームを記憶するフォーム記憶ステップと、前記サーバ装置から配信された印刷用フォーム又は前記フォーム記憶ステップにより記憶された印刷用フォームと、前記サーバ装置から配信された印刷用データとに基づいて、印刷用画像を生成する画像生成ステップとをコンピュータに実行させるためのプログラムを記憶し、前記サーバ装置は、印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出し、過去に配信済みの印刷用フォームを管理し、前記管理されている印刷用フォームの情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識し、前記認識された印刷用フォームを前記抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信するものであることを特徴とする。
【0032】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
【0033】
図1は、本発明の一実施の形態に係るプリントシステムの全体構成を示すブロック図である。本システムは、Webサーバ100(サーバ装置)にネットワーク109を介してパーソナルコンピュータ等のクライアント装置110が接続されて構成される。クライアント装置110は複数存在していてもよい。ネットワーク109としては、LAN、インターネット、無線等、Web環境の通信手順に対応するものであれば、その種類を問わない。
【0034】
Webサーバ100において、102はデータベース等を格納するデータ格納部(メモリの一部)であり、各業務用データが格納されている。配信データ生成部103(データ抽出手段、フォーム認識手段)は、クライアント装置110のHTTP印刷要求(以下、単に「印刷要求」または「印刷要求リクエスト」と称する)に基づいて、画像生成に必要なデータ(印刷用データ等)及び帳票フォーム(印刷用フォーム)を合成して成る配信データを生成する。104はWebサーバとしての役割を行うネットワーク通信制御部(配信手段)である。101は、帳票プリントを行う為の帳票フォームを格納する帳票フォーム格納部である。106は、帳票フォームに関するWebサーバ側での最新情報を記録管理するためのサーバ帳票フォーム管理テーブル(メモリの一部)である。
【0035】
108は、各クライアント装置110に対して過去に配信済みの帳票フォームを各クライアント装置毎に記録管理するためのクライアント帳票フォーム管理テーブル群(フォーム管理手段)である。クライアント帳票フォーム管理テーブル群108は、通常は膨大なデータ量となるため、外部記憶装置に保存されるが、Webサーバ100が容易にアクセスできればよく、Webサーバ100が備える記憶装置に保存されるようにしてもよい。帳票フォームリスト解析モジュール107は、クライアント装置110の後述する帳票フォームリストモジュール114で生成され送られる、クライアント装置110で現在有効な帳票フォームをリストした「帳票フォームリスト」を解析し、クライアント帳票フォーム管理テーブル群108に反映させる。
【0036】
クライアント装置110において、111は、Webサーバ100に対してデータの入出力を行うブラウザとして機能するデータ入出力部(通知手段、リスト返信手段、印刷要求送信手段)である。112は、配信データ生成部103によって生成され配信される配信データを解析し、画像生成に必要なデータ及び帳票フォームを復元するデータ処理部(判断手段)である。113は、データ処理部112によって復元された帳票フォームを格納する帳票フォーム格納部(フォーム記憶手段)である。Webサーバ100から配信された帳票フォームは、帳票フォーム格納部113に格納される。115は、決められた様式に従って帳票イメージ等の画像を作成する画像生成部(画像生成手段)である。117はプリンタ(印刷手段の一部)である。116は、画像生成部115で生成されたデータをプリンタ117が出力できる形式に変換するプリント出力部(印刷手段の一部)であり、一般にはプリンタドライバと呼ばれている。帳票フォームリストモジュール114は、何らかの理由により、サーバ側で管理されているクライアント装置110への配信済みフォームの管理テーブル(クライアント帳票フォーム管理テーブル群108)と、実際に各クライアント装置110に存在する帳票フォーム(帳票フォーム格納部113)との間に不整合が生じたときに、実際に現在有効な帳票フォームをリストした「帳票フォームリスト」を生成する。
【0037】
図2は、帳票フォームの配信から画像生成までの処理の概要を表した図である。この処理は、後述する図4、図6の処理に対応している。
【0038】
クライアント装置110において、リクエスト生成部21及びレスポンス解析部22の機能は、データ処理部112が果たす。また、画像生成部28の機能は、画像生成部115が果たす。リクエスト生成部21は、印刷要求リクエストを生成する。23は、リクエスト生成部21で生成されWebサーバ100に送信される印刷要求リクエストを示す。
【0039】
Webサーバ100において、リクエスト解析部24、配信データ生成部25及びレスポンス生成部26の機能は、配信データ生成部103が果たす。リクエスト解析部24は、印刷要求リクエスト23を解析する。配信データ生成部25は、配信が必要な帳票フォームを判断し、配信データを生成する。この判断は、サーバ帳票フォーム管理テーブル106及びクライアント帳票フォーム管理テーブル群108に保持されている情報に基づいてなされる。レスポンス生成部26は、クライアント装置110に配信するデータを含むレスポンスを生成する。
【0040】
27は、配信データ生成部25で生成された配信データを含むレスポンスであってクライアント装置110側に送信されるものを示している。レスポンス解析部22は、Webサーバ100から送信されるレスポンス27を解析する。画像生成部28は、レスポンス解析部22によって解析された結果を元に、画像生成を行う。
【0041】
図3は、サーバ帳票フォーム管理テーブル106に格納される情報の一例を示す概念図である。なお、この情報(テーブル情報FT)は、クライアント帳票フォーム管理テーブル群108のうちのひとつのテーブルに格納される情報の一例でもある。テーブル情報FTには、複数の帳票名(1〜n)が記憶されており、各帳票名(1〜n)に、最終更新日時情報(1〜n)が対応付けられ、データベース化されている。
【0042】
次に、クライアント装置110による帳票プリントイメージの生成、及び出力を行うための処理について説明する。
【0043】
図4は、Webサーバ100で実行される配信処理のフローチャートを示す図である。本フローチャートは、クライアント装置110からの印刷要求を受けたWebサーバ100が、配信データを生成し配信するまでの処理の流れを示している。なお、ステップS401〜S408は、配信データ生成部103により実行され、ステップS409はネットワーク通信制御部104によって実行される。
【0044】
まず、クライアント装置110から受信した印刷要求(HTTPリクエスト)を解析し(ステップS401)、データ格納部102及びサーバ帳票フォーム管理テーブル106を参照しつつ、画像生成に必要なデータを抽出、特定すると共に(ステップS402)、画像生成に必要な帳票フォームを抽出、特定する(ステップS403)。次に、画像生成後にプリンタ117が印刷実行する際に必要なプリンタ情報や印刷部数等(これをまとめて「印刷条件」と呼ぶ)を特定する(ステップS404)。
【0045】
次に、印刷要求から、その印刷要求に係るクライアント装置110に固有のクライアントIDを取得する(ステップS405)。ここで、クライアントIDは、例えば、Webサーバ100が、端末情報、アクセス日時及び乱数をベースとして生成し、各クライアント装置に格納させることで事前に各クライアント装置に付与されているものとする。
【0046】
次に、取得したクライアントIDに基づいて、サーバ側で管理されているクライアント帳票フォーム管理テーブル群108群を参照し、該テーブル群108群から、今回の印刷要求に係るクライアント装置110に対応している帳票フォーム(すなわちクライアント装置110が有しているであろう帳票フォーム)を取得する(ステップS406)。
【0047】
次に、配信が必要な帳票フォーム(以下、「要配信帳票フォーム」と称する)を確定する(ステップS407)。すなわち、前記ステップS403で特定された帳票フォームのうち、クライアント帳票フォーム管理テーブル群108群に記録されていないもの、及び、記録されているがその日付がサーバ帳票フォーム管理テーブル106とは異なっているものは、印刷要求に係るクライアント装置110が有していない帳票フォームであると認識されるため、このような帳票フォームを選択することで、上記クライアント装置110への「要配信帳票フォーム」を確定する。
【0048】
次に、前記ステップS402、S404、S407で特定、確定した画像生成に必要な情報を一つのデータに合成して配信データを生成し(ステップS408)、生成された配信データをクライアント装置110にレスポンスとして送信して(ステップS409)、本処理を終了する。なお、今回新たに配信された配信データ中の帳票フォームは、クライアント帳票フォーム管理テーブル群108のうち印刷要求に係るクライアント装置110に対応する部分に追加、反映される。なお、本処理に続き、クライアント装置110では、後述する図6の印刷処理がなされる。
【0049】
本処理では、クライアント装置110に一度配信された帳票フォームは、Webサーバ100中において、そのクライアント装置110に対応するクライアント帳票フォーム管理テーブル群108に記録されるため、通常、2回目以降は同一の帳票フォームが配信されることがない。しかし、一度Webサーバ100から配信された帳票フォームは、クライアント装置110において、帳票フォーム格納部113に保持されているため、クライアント装置110では、これを再利用することで、2回目以降の印刷要求時に過去に受信したものと同一の帳票フォームが配信されなくても、画像生成が可能である。
【0050】
図5は、図4のステップS408で生成される配信データの一例を示す概念図である。
【0051】
この配信データは、ヘッダ部51及びデータ部54を有する。ヘッダ部51は、出力するプリンタの情報を格納するフィールド52及び印刷条件の情報を格納するフィールド53から成る。データ部54は、解析により得られた画像生成に必要なデータを格納するフィールド55及び要配信帳票フォーム(1〜n)を格納するフィールド56から成る。要配信帳票フォームが複数存在する場合は、連続して格納される。
【0052】
図6は、クライアント装置110で実行される印刷処理のフローチャートを示す図である。本フローチャートは、印刷要求に応答してWebサーバ100から配信されたデータを受け取ったクライアント装置110が、画像を生成し、印刷を実行するまでの処理の流れを表したものである。なお、ステップS601、S608はデータ入出力部111によって実行され、ステップS602〜S605はデータ処理部112によって実行され、ステップS606は画像生成部115によって実行され、ステップS607はプリント出力部116によって実行される。
【0053】
まず、Webサーバ100からレスポンスとして送信された配信データを受信し(ステップS601)、受信された配信データから、印刷条件(図5に示すフィールド53に格納されたもの)を抽出して不図示のメモリ上に保持すると共に(ステップS602)、受信された配信データから、画像生成に必要なデータ(フィールド55に格納されたもの)を抽出し、ファイルとしてセーブする(ステップS603)。さらに、受信された配信データから、画像生成に必要な帳票フォーム(フィールド56に格納された要配信帳票フォーム)を抽出し、ファイルとしてセーブする(ステップS604)。なお、今回抽出された帳票フォームは、通常、帳票フォーム格納部113に既に格納済みの帳票フォームとは異なるので、そのような帳票フォームは帳票フォーム格納部113に新たに追加、格納する。
【0054】
次に、必要なすべての帳票フォームが充足しているか否かを判別する(ステップS605)。すなわち、前記ステップS604で抽出した帳票フォームと、以前のレスポンスから抽出され、帳票フォーム格納部113に既に格納済みの帳票フォームとで、今回の画像生成に必要なすべての帳票フォームが完備しているかを判断する。このような判別をするのは、例えば、過去に配信済みの帳票フォームであるが、クライアント装置110のユーザがその帳票フォームファイルを帳票フォーム格納部113から削除してしまった等の理由により、クライアント帳票フォーム管理テーブル群108の内容と、実際にクライアント装置110側に格納されている帳票フォームとが整合しなくなり、クライアント装置110が今回受け取った帳票フォームとクライアント装置110に存在する帳票フォームだけでは印刷を実施するのに十分でなくなる場合があるからである。
【0055】
その判別の結果、必要なすべての帳票フォームが充足している場合は、これら帳票フォーム及び前記ステップS602〜S604で抽出された情報に基づき印刷画像を生成し(ステップS606)、生成された印刷画像をプリンタ117により印刷させて(ステップS607)、本処理を終了する。
【0056】
一方、帳票フォームが充足していない場合は、画像の生成を行うことなく、画像生成が失敗したことを表すリクエスト(以下、「失敗通知リクエスト」と称する)をWebサーバ100に向けて再発信することで通知して(ステップS608)、本処理を終了する。
【0057】
ここで、上記再発信リクエストでは、「失敗通知リクエスト」に加えて、帳票フォームリストモジュール114で生成される有効クライアント帳票フォームのリスト(上記「帳票フォームリスト」)をWebサーバ100に返すことができる。「帳票フォームリスト」を返すか否かは、クライアント装置110のユーザが任意に選択可能になっている。「帳票フォームリスト」が含まれているか否かによってWebサーバ100側での対応が異なる。
【0058】
まず、「失敗通知リクエスト」に加えて「帳票フォームリスト」が返された場合は、帳票フォームリスト解析モジュール107が「帳票フォームリスト」を解析し、クライアント帳票フォーム管理テーブル群108のうち、再発信リクエストに係るクライアント装置110に対応する部分を「帳票フォームリスト」に同期させる。すなわち、「帳票フォームリスト」に基づいてクライアント帳票フォーム管理テーブル群108を再構成する。これにより、クライアント装置110で格納されている帳票フォームとWebサーバ100で格納されている配信済み帳票フォームとの整合が図られ、次回の印刷要求時からは、ユーザが意識をすることなく、常に最新の帳票フォームによる画像生成が行われる。
【0059】
一方、「帳票フォームリスト」が返らず、「失敗通知リクエスト」のみである場合は、クライアント帳票フォーム管理テーブル群108のうち、再発信リクエストに係るクライアント装置110に対応する部分をクリア(消去)する。これにより、次回の印刷要求時には、対応するクライアント装置110に対しては、印刷要求に必要なすべての帳票フォームを含んだレスポンスが配信されることになり、帳票フォームの対応クライアント装置110への格納をはじめからやりなおすことができる。
【0060】
なお、クライアント帳票フォーム管理テーブル群108をクリアした場合において、Webサーバ100が、今回実行できなかった印刷要求に対する配信処理を直ちに再試行するように構成してもよい。これによっても、帳票フォームの対応クライアント装置110への格納をはじめから速やかにやりなおすことができる。
【0061】
本実施の形態によれば、Webサーバ100は、印刷要求に係るクライアント装置110へ過去に配信済みの帳票フォームをクライアント帳票フォーム管理テーブル群108に管理し、通常時は、そのクライアント装置110に問い合わせる必要がないので、1往復のリクエスト及び応答で印刷処理が完結し、処理の高速化を図ることができる。また、一回づつのリクエスト及び応答で済むので、システムの通信経路の中間に顧客独自のWebサーバやWebアプリケーションが入るような構成であったとしても、処理の橋渡しをおこなうためのセッション管理の連携など、工数を増大させる仕組みを実装する必要がなくなり、Webサーバ100及びネットワークに対する負荷も軽減され、快適なネットワークプリントシステムが実現される。よって、最小限の要求、応答で印刷処理を完結させ、負荷を軽減させて処理の高速化を図ることができる。
【0062】
なお、帳票フォームとして、電子的に部品化されたカタログの部分ページのフォームを適用し、本発明をカタログ部分ページの配信、保存、印刷を行う場合に応用してもよい。
【0063】
なお、本発明の目的は、実施の形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成される。
【0064】
この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0065】
又、プログラムコードを供給するための記憶媒体としては、例えば、フロッピー(登録商標)ディスク、ハードディスク、光磁気ディスク、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD+RW、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。
【0066】
また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0067】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0068】
【発明の効果】
以上説明したように、本発明によれば、最小限の要求、応答で印刷処理を完結させ、負荷を軽減させて処理の高速化を図ることができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係るプリントシステムの全体構成を示すブロック図である。
【図2】帳票フォームの配信処理の概要を表した図である。
【図3】サーバ帳票フォーム管理テーブルに格納される情報の一例を示す概念図である。
【図4】Webサーバで実行される配信処理のフローチャートを示す図である。
【図5】図4のステップS408で生成される配信データの一例を示す概念図である。
【図6】クライアント装置で実行される印刷処理のフローチャートを示す図である。
【図7】特許文献1のプリントシステムにおける帳票フォームの自動配信機能の概要を表した図である。
【符号の説明】
100 Webサーバ(サーバ装置)
102 データ格納部(メモリの一部)
103 配信データ生成部(データ抽出手段、フォーム認識手段)
104 ネットワーク通信制御部(配信手段)
106 サーバ帳票フォーム管理テーブル(メモリの一部)
108 クライアント帳票フォーム管理テーブル群(フォーム管理手段)
110 クライアント装置
111 データ入出力部(通知手段、リスト返信手段、印刷要求送信手段)
112 データ処理部(判断手段)
113 帳票フォーム格納部(フォーム記憶手段)
114 帳票フォームリストモジュール
115 画像生成部(画像生成手段)
116 プリント出力部(印刷手段の一部)
117 プリンタ(印刷手段の一部)
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print system for printing forms, electronic catalogs, and the like via a network.
[0002]
[Prior art]
With the rapid development of the Internet and the proliferation of Web servers, the use of business processes on the Web has been promoted. Personal computers, which are client devices connected to a network, are equipped with a Web browser capable of displaying and inputting information, and business processes via the Web browser are widely performed. Further, when performing a business using a browser, information is exchanged between a Web server existing on the network and a Web browser on the client side. The Web server receives information input from the browser, processes the information in the server, transmits the processed information to the browser again, repeatedly performs operations such as displaying, and obtains a result, thereby performing a task.
[0003]
Regarding print processing, a system that realizes an overlay process using form data on the server side based on a print request sent from a client device, and distributes data to obtain a beautiful print result to the client device has been proposed. Are provided.
[0004]
Problems in the print processing via the browser include the following. First, since all processes for generating a final print image are performed on the server side, the load increases if there is an intensive request from an unspecified large number of Web servers. Further, since a print image is generated using a printer driver on the server side, in order to print the image on the client side, it is necessary to prepare the same printer driver as that existing on the server. Furthermore, the print image generated on the server side may have a large data amount depending on the content, and it is assumed that a network load occurs when data is delivered to the client device.
[0005]
In order to solve such a problem, for example, in Japanese Patent Application Laid-Open No. 2005-216, the data required for overlay is distributed from a Web server to a client device, and overlay processing can be realized on the client side. Can be held by the client device, and the data once held by the client device is not delivered from the server from the next time. It is trying to make it.
[0006]
FIG. 7 is a diagram showing an outline of an automatic distribution function of a form in the print system of Patent Document 1 below. The client device C and the server device S are connected.
[0007]
The request analysis unit 1603 of the server device S analyzes a print request (HTTP request) from the request generation unit 1601 of the client device C, and specifies a form, form data, and printing conditions required for generating form print data. The last update date and time information of each of the specified form forms is acquired with reference to the form management table 1501. Then, the information indicating the specified form and the obtained last update date / time information are set in the automatic distribution module 1502. The automatic distribution module 1502 generates automatic distribution data and transmits it to the client device C.
[0008]
In the client device C, the automatic distribution module 1503 receives the data for automatic distribution and determines whether or not the form indicated by the information extracted from the data for automatic distribution is registered in the form form management table 1504. Determine if the form has already been delivered. If not registered, a request (HTTP request) for having the form distributed is generated, and the request is transmitted to the server S.
[0009]
In the server device S, the request analysis unit 1604 receives and analyzes the request, specifies a form to be delivered to the client device C, that is, a form not held by the client device C, and generates a response as a response. The unit 1605 generates and transmits the distribution data to the client device C.
[0010]
In the client device C, when the distribution data is received, the response analysis unit 1602 extracts the print conditions and holds them in the memory, extracts the form data and form required for printing the form, and saves them as a file. Then, the image generation unit 903 generates form print data based on each extracted information. Thereafter, the printing process is performed by the printer.
[0011]
[Patent Document 1]
JP-A-2002-163596 (Japanese Patent Application No. 2000-363011)
[0012]
[Problems to be solved by the invention]
However, in the print system disclosed in Patent Document 1, communication between the client device and the server is required a plurality of times in order for the server to know the form distributed to the client device. That is, referring to FIG. 7, in addition to the processing of the first print request “request generation unit 1601 → request analysis unit 1603”, the processing of the request request from the server to the client device for confirming the form required to be distributed Processing of “automatic distribution module 1502 → automatic distribution module 1503” and the response from the client device (including information for calculating a form that actually requires distribution) “automatic distribution module 1503 → request analysis unit” 1604 ", and processing of the final response from the server including the actual form form," response generation unit 1605 → response analysis unit 1602 ", required a total of four communications.
[0013]
In this method, the form stored in the client device is checked for each print process by inquiring of the client device, so that the operation is reliable, but the speed decreases due to an increase in the number of communication times. was there.
[0014]
Further, in a configuration including an actual Web server, it is necessary for a customer to select one of various commercially available Web servers and to create (bridge) these communications passing through those Web servers. There has been a problem that the number of mounting steps is increased.
[0015]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems of the related art, and an object of the present invention is to complete a print process with a minimum number of requests and responses, to reduce the load, and to speed up the process. It is to provide a printing system.
[0016]
[Means for Solving the Problems]
To achieve the above object, a printing system according to claim 1 of the present invention is a printing system configured by connecting a server device and a client device via a network, wherein the server device performs printing from the client device. In response to a request, a data extraction unit that extracts a print form and print data necessary for forming a print image from a memory storing the print form and print data, and a print form that has been distributed in the past. Form managing means for managing, form recognizing means for recognizing a printing form not possessed by the client device relating to the print request based on the information managed by the form managing means, Printing the printed form together with the printing data extracted by the data extracting means. Requesting a client device, wherein the client device is configured to store a print form distributed by the distribution device of the server device, and distributed by the distribution device. Image forming means for generating a printing image based on the printing form or the printing form stored in the form storage means and the printing data distributed by the distribution means. [Aspect 1].
[0017]
Further, the print system of the present invention may be configured as follows. That is,
[Aspect 2] In the configuration according to claim 1 (Aspect 1), the client device responds to the print request with a print form distributed by the distribution unit and a print form stored by the form storage unit. The printing apparatus further includes a determination unit configured to determine whether a printing form required to execute a printing process is satisfied, wherein the image generation unit generates the printing image only when the printing form is satisfied. It is characterized by.
[0018]
[Aspect 3] In the configuration according to Aspect 2, the client device has a notifying unit for notifying the server device when the printing form is not satisfied.
[0019]
[Aspect 4] In the configuration according to Aspect 3, when the server device receives a notification from the notifying unit of the client device that the printing form is not satisfied, the form managing unit manages the printing form. A print form corresponding to the client device related to the notification is deleted.
[0020]
[Aspect 5] In the configuration according to Aspect 4, when the form management unit deletes the printing form, the server apparatus extracts the printing form and the printing data by the data extracting unit in response to the print request. The processing of printing form management by the form management means, recognition of the printing form by the form recognition means, and distribution of the printing form and printing data by the distribution means are retried.
[0021]
[Aspect 6] In the configuration according to Aspect 2, the client device includes a list returning unit that returns a list of printing forms stored in the form storage unit to the server device when the printing form is not satisfied. Wherein the form management unit of the server device updates a print form corresponding to the client device related to the list based on the list returned from the list return unit.
[0022]
[Aspect 7] In the configuration according to any one of Aspects 1 to 6, the identification of the client device by the server device is performed based on unique information given to each client device, and the unique information is transmitted by the server device. Is generated based on the terminal information, the access date and time, and the random number, and is stored in each client device to be given to each client device.
[0023]
[Eighth Aspect] In the configuration according to any one of the first to seventh aspects, the printing form includes a form of a partial page of a catalog that is electronically made into parts.
[0024]
The present invention is also applicable to an information processing apparatus, a control method for an information processing apparatus, a control program for an information processing apparatus, and a storage medium as in the following aspects. That is, [Aspect 9] An information processing apparatus according to the present invention is an information processing apparatus constituting a server device to which a client device is connected via a network, and in response to a print request from the client device, a printing form and a printing form. Data extracting means for extracting a print form and print data necessary for forming a print image from a memory storing print data, form management means for managing print forms distributed in the past, and form management A form recognizing means for recognizing a printing form not possessed by the client device relating to the print request based on the information managed by the means, and a printing form recognized by the form recognizing means by the data extracting means. A distribution to be distributed to the client device related to the print request together with the extracted print data. Means, the client device stores a distributed print form, and prints based on the distributed print form or the stored print form and the distributed print data. For generating an image for use.
[0025]
[Aspect 10] An information processing apparatus according to the present invention is an information processing apparatus constituting a client apparatus connected to a server apparatus via a network, wherein the print request transmitting unit transmits a print request to the server apparatus; A form storage unit for storing a printing form delivered from the server device, a printing form delivered from the server device or a printing form stored by the form storage unit, and a printing form delivered from the server device. Image generating means for generating a print image based on the data and the server device, in response to a print request, from a memory storing a print form and print data, to form a print image. It extracts necessary print forms and print data, manages print forms that have been distributed in the past, and manages the managed print forms. Based on the information of the print request, recognizes a print form that the client device related to the print request does not have, and sends the recognized print form together with the extracted print data to the client device related to the print request. It is characterized by being delivered to
[0026]
[Aspect 11] A method for controlling an information processing apparatus according to the present invention is a method for controlling an information processing apparatus that controls an information processing apparatus constituting a server apparatus to which a client apparatus is connected via a network. A data extraction step of extracting a print form and print data necessary for forming a print image from a memory storing the print form and print data according to a request; A form management step for managing; a form recognition step for recognizing a printing form not possessed by the client device relating to the print request based on the information managed by the form management step; Printing data extracted by the data extracting step A distribution step of distributing to the client device relating to the print request, wherein the client device stores the distributed print form, and stores the distributed print form or the stored print form. And generating a print image based on the distributed print data.
[0027]
[Aspect 12] A method for controlling an information processing apparatus according to the present invention is a method for controlling an information processing apparatus constituting a client apparatus connected to a server apparatus via a network, the method comprising: A print request transmitting step for transmitting to the server, a form storing step for storing a printing form distributed from the server device, and a printing form distributed from the server device or a printing form stored by the form storing step. An image generating step of generating a print image based on the form and the print data distributed from the server device, wherein the server device prints the print form and the print data in response to a print request. The printing form and printing data required for print image formation are extracted from the memory that stores Manages the completed print form, recognizes a print form that the client device related to the print request does not have, based on the information of the managed print form, and converts the recognized print form to The print data is distributed to the client device related to the print request together with the extracted print data.
[0028]
[Aspect 13] A control program for an information processing apparatus according to the present invention is a control program for an information processing apparatus for controlling an information processing apparatus constituting a server apparatus to which a client apparatus is connected via a network, and the printing program from the client apparatus. A data extraction step of extracting a print form and print data necessary for forming a print image from a memory storing the print form and print data according to a request; A form management step for managing; a form recognition step for recognizing a printing form not possessed by the client device relating to the print request based on the information managed by the form management step; Was extracted by the data extraction step. And a distribution step of distributing to the client device relating to the print request together with the printing data. The client device stores the distributed printing form, and stores the distributed printing form. And generating a print image based on the print form or the stored print form and the distributed print data.
[0029]
[Aspect 14] A control program for an information processing apparatus according to the present invention is a control program for an information processing apparatus for controlling an information processing apparatus constituting a client apparatus connected to a server apparatus via a network, wherein the print request is transmitted to the server apparatus. A print request transmitting step for transmitting to the server, a form storing step for storing a printing form distributed from the server device, and a printing form distributed from the server device or a printing form stored by the form storing step. A program for causing a computer to execute an image generation step of generating a print image based on the form and the print data distributed from the server device, wherein the server device responds to a print request, From the memory that stores print forms and print data, It extracts necessary print forms and print data, manages print forms that have been distributed in the past, and does not have a client device related to the print request based on the information on the managed print forms. The printing form is recognized, and the recognized printing form is delivered to the client device related to the print request together with the extracted printing data.
[0030]
[Aspect 15] A storage medium according to the present invention is a computer-readable storage medium storing a control program of an information processing device for controlling an information processing device constituting a server device to which a client device is connected via a network, In response to a print request from a client device, a data extraction step of extracting a print form and print data required for forming a print image from a memory storing the print form and print data; A form managing step of managing a print form of the form, a form recognizing step of recognizing a print form not possessed by a client device relating to a print request, based on information managed by the form managing step; Extracting the print form recognized by the recognition step from the data Storing a program for causing a computer to execute a distribution step of distributing the print data together with the print data extracted to the client to the print request, and the client device stores the distributed print form. And generating a print image based on the distributed print form or the stored print form and the distributed print data.
[0031]
[Aspect 16] A storage medium according to the present invention is a computer-readable storage medium storing a control program of an information processing apparatus for controlling an information processing apparatus constituting a client apparatus connected to a server apparatus via a network, and A print request transmission step of transmitting a request to the server device, a form storage step of storing a print form distributed from the server device, and a print form or the form storage step distributed from the server device. A program for causing a computer to execute an image generation step of generating a print image based on the stored print form and print data distributed from the server device, wherein the server device includes: Stores print forms and print data in response to print requests A print form and print data necessary for forming a print image are extracted from the memory, a print form that has been distributed in the past is managed, and a print request related to a print request is generated based on the information on the managed print form. The print form that the client device does not have is recognized, and the recognized print form is delivered to the client device related to the print request together with the extracted print data. .
[0032]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0033]
FIG. 1 is a block diagram showing an overall configuration of a print system according to one embodiment of the present invention. This system is configured by connecting a client device 110 such as a personal computer to a Web server 100 (server device) via a network 109. A plurality of client devices 110 may exist. The type of the network 109 is not limited as long as it corresponds to a communication procedure in a Web environment such as a LAN, the Internet, or wireless.
[0034]
In the Web server 100, reference numeral 102 denotes a data storage unit (a part of a memory) for storing a database and the like, and stores each business data. The distribution data generating unit 103 (data extracting unit, form recognizing unit) transmits data necessary for image generation based on an HTTP print request (hereinafter, simply referred to as “print request” or “print request request”) of the client device 110. (Print data, etc.) and a form (print form) are synthesized to generate distribution data. Reference numeral 104 denotes a network communication control unit (distribution unit) that functions as a Web server. A form storage unit 101 stores a form for printing a form. Reference numeral 106 denotes a server form management table (part of the memory) for recording and managing the latest information on the form on the Web server side.
[0035]
Reference numeral 108 denotes a client form management table group (form management means) for recording and managing a form previously distributed to each client apparatus 110 for each client apparatus. The client form management table group 108 is usually stored in an external storage device because it has a huge amount of data. However, it is sufficient that the Web server 100 can easily access the storage form. It may be. The form list analysis module 107 analyzes a “form form list” which is generated and transmitted by a form form list module 114 of the client device 110 described later, and which lists form forms currently valid in the client device 110, and manages the client form form. This is reflected in the table group 108.
[0036]
In the client device 110, a data input / output unit (notification unit, list return unit, print request transmission unit) 111 functions as a browser for inputting and outputting data to and from the Web server 100. Reference numeral 112 denotes a data processing unit (determination unit) that analyzes distribution data generated and distributed by the distribution data generation unit 103 and restores data necessary for image generation and a form. Reference numeral 113 denotes a form storage unit (form storage unit) for storing the form restored by the data processing unit 112. The form distributed from the Web server 100 is stored in the form storage unit 113. Reference numeral 115 denotes an image generation unit (image generation unit) that generates an image such as a form image in accordance with a determined format. Reference numeral 117 denotes a printer (a part of a printing unit). Reference numeral 116 denotes a print output unit (a part of a printing unit) that converts data generated by the image generation unit 115 into a format that can be output by the printer 117, and is generally called a printer driver. The form list module 114 manages, for some reason, a management table of the form distributed to the client device 110 managed on the server side (client form management table group 108), and a form actually present in each client device 110. When an inconsistency occurs with the form (form form storage unit 113), a “form form list” that lists the currently valid form forms is generated.
[0037]
FIG. 2 is a diagram showing an outline of processing from distribution of a form to image generation. This processing corresponds to the processing of FIGS. 4 and 6 described later.
[0038]
In the client device 110, the functions of the request generation unit 21 and the response analysis unit 22 are performed by the data processing unit 112. The function of the image generation unit 28 is performed by the image generation unit 115. The request generator 21 generates a print request. Reference numeral 23 denotes a print request request generated by the request generation unit 21 and transmitted to the Web server 100.
[0039]
In the Web server 100, the functions of the request analysis unit 24, the distribution data generation unit 25, and the response generation unit 26 are performed by the distribution data generation unit 103. The request analysis unit 24 analyzes the print request request 23. The distribution data generation unit 25 determines a form that requires distribution and generates distribution data. This determination is made based on information held in the server form management table 106 and the client form management table group 108. The response generation unit 26 generates a response including data to be distributed to the client device 110.
[0040]
Reference numeral 27 denotes a response including the distribution data generated by the distribution data generation unit 25, which is transmitted to the client device 110 side. The response analysis unit 22 analyzes the response 27 transmitted from the Web server 100. The image generation unit 28 generates an image based on the result analyzed by the response analysis unit 22.
[0041]
FIG. 3 is a conceptual diagram showing an example of information stored in the server form form management table 106. This information (table information FT) is also an example of information stored in one of the client form management tables 108. A plurality of form names (1 to n) are stored in the table information FT, and the last update date and time information (1 to n) is associated with each form name (1 to n) and is stored in a database. .
[0042]
Next, processing for generating and outputting a form print image by the client device 110 will be described.
[0043]
FIG. 4 is a diagram illustrating a flowchart of the distribution processing executed by the Web server 100. This flowchart shows the flow of processing until the Web server 100, which has received a print request from the client device 110, generates and distributes distribution data. Steps S401 to S408 are executed by the distribution data generation unit 103, and step S409 is executed by the network communication control unit 104.
[0044]
First, a print request (HTTP request) received from the client device 110 is analyzed (step S401), and data necessary for image generation is extracted and specified while referring to the data storage unit 102 and the server form management table 106. (Step S402), a form required for image generation is extracted and specified (Step S403). Next, printer information and the number of copies required for the printer 117 to execute printing after the image is generated (collectively referred to as “print conditions”) are specified (step S404).
[0045]
Next, a client ID unique to the client device 110 related to the print request is acquired from the print request (step S405). Here, it is assumed that, for example, the Web server 100 generates the client ID based on the terminal information, the access date and time, and the random number, and stores the generated client ID in each client device.
[0046]
Next, based on the obtained client ID, the client form management table group 108 managed on the server side is referred to, and from the table group 108, the client form 110 corresponding to the client device 110 related to the current print request is referred to. A form that is present (that is, a form that the client device 110 would have) is acquired (step S406).
[0047]
Next, a form that needs to be distributed (hereinafter, referred to as a "delivery required form") is determined (step S407). That is, of the forms identified in step S403, those not recorded in the client form management table group 108, and those recorded but different in date from the server form management table 106. The form is recognized as a form that the client device 110 related to the print request does not have, and by selecting such a form, the “delivery required form” to the client device 110 is determined. I do.
[0048]
Next, information necessary for image generation specified and determined in steps S402, S404, and S407 is combined into one piece of data to generate distribution data (step S408), and the generated distribution data is transmitted to the client device 110 as a response. (Step S409), and the process ends. The form in the distribution data newly distributed this time is added and reflected in a portion of the client form management table group 108 corresponding to the client device 110 related to the print request. Following this process, the client device 110 performs the printing process of FIG. 6 described later.
[0049]
In this process, the form once distributed to the client device 110 is recorded in the client form management table group 108 corresponding to the client device 110 in the Web server 100. The form is not distributed. However, since the form once distributed from the Web server 100 is stored in the form storage unit 113 in the client device 110, the client device 110 reuses the form to request the second and subsequent print requests. Sometimes an image can be generated even if the same form received in the past is not distributed.
[0050]
FIG. 5 is a conceptual diagram showing an example of the distribution data generated in step S408 of FIG.
[0051]
This distribution data has a header section 51 and a data section 54. The header section 51 includes a field 52 for storing printer information to be output and a field 53 for storing printing condition information. The data section 54 includes a field 55 for storing data required for image generation obtained by the analysis, and a field 56 for storing distribution form required (1 to n). If there are a plurality of delivery form forms that need to be distributed, they are stored consecutively.
[0052]
FIG. 6 is a diagram illustrating a flowchart of the printing process executed by the client device 110. This flowchart shows the flow of processing from the time when the client device 110, which has received the data distributed from the Web server 100 in response to the print request, generates an image and executes printing. Steps S601 and S608 are executed by the data input / output unit 111, steps S602 to S605 are executed by the data processing unit 112, step S606 is executed by the image generation unit 115, and step S607 is executed by the print output unit 116. You.
[0053]
First, distribution data transmitted as a response from the Web server 100 is received (step S601), and printing conditions (those stored in the field 53 shown in FIG. 5) are extracted from the received distribution data and are not shown. In addition to storing the data in the memory (step S602), data necessary for image generation (stored in the field 55) is extracted from the received distribution data and saved as a file (step S603). Further, a form required for image generation (delivery required form stored in the field 56) is extracted from the received distribution data and saved as a file (step S604). Since the form extracted this time is usually different from the form already stored in the form storage 113, such a form is newly added to the form storage 113 and stored.
[0054]
Next, it is determined whether or not all necessary form forms are satisfied (step S605). That is, whether the form extracted in step S604 and the form extracted from the previous response and already stored in the form storage unit 113 are complete with all the forms required for the current image generation. Judge. Such a determination is made, for example, in the form distributed in the past. However, for the reason that the user of the client device 110 has deleted the form form from the form storage unit 113, for example, The contents of the form form management table group 108 and the form actually stored on the client device 110 side do not match, and printing is performed using only the form received by the client device 110 this time and the form existing in the client device 110. May not be sufficient to implement the above.
[0055]
As a result of the determination, if all the required form forms are satisfied, a print image is generated based on the form forms and the information extracted in steps S602 to S604 (step S606). Is printed by the printer 117 (step S607), and this processing ends.
[0056]
On the other hand, when the form is not satisfied, a request indicating that the image generation has failed (hereinafter, referred to as a “failure notification request”) is retransmitted to the Web server 100 without generating the image. (Step S608), and the process ends.
[0057]
Here, in the retransmission request, in addition to the “failure notification request”, a list of valid client form forms generated by the form form list module 114 (the “form form list”) can be returned to the Web server 100. . Whether or not to return the “form form list” can be arbitrarily selected by the user of the client device 110. The correspondence on the Web server 100 side differs depending on whether or not the “form form list” is included.
[0058]
First, when the “form form list” is returned in addition to the “failure notification request”, the form form list analysis module 107 analyzes the “form form list” and retransmits the “form form list” in the client form form management table group 108. The part corresponding to the client device 110 related to the request is synchronized with the “form form list”. That is, the client form management table group 108 is reconfigured based on the “form form list”. As a result, the form stored in the client device 110 is matched with the distributed form stored in the Web server 100. From the next print request, the user does not need to be aware of the form at all times. Image generation using the latest form form is performed.
[0059]
On the other hand, when the “form form list” is not returned and only the “failure notification request” is received, the portion corresponding to the client device 110 related to the retransmission request in the client form form management table group 108 is cleared (erased). . As a result, at the time of the next print request, a response including all forms required for the print request is delivered to the corresponding client device 110, and the form is stored in the corresponding client device 110. Can be redone from the beginning.
[0060]
When the client form management table group 108 is cleared, the Web server 100 may be configured to immediately retry the distribution process for the print request that could not be executed this time. This also allows the form form to be stored in the corresponding client device 110 quickly from the beginning.
[0061]
According to the present embodiment, the Web server 100 manages the form previously distributed to the client device 110 related to the print request in the client form management table group 108, and normally inquires the client device 110. Since there is no necessity, printing processing is completed with one round trip request and response, and the processing can be speeded up. Also, since only one request and one response are required, even if a customer's own Web server or Web application is placed in the middle of the communication path of the system, coordination of session management for bridging processing is performed. For example, there is no need to implement a mechanism for increasing the number of steps, and the load on the Web server 100 and the network is reduced, and a comfortable network print system is realized. Therefore, the printing process can be completed with a minimum number of requests and responses, the load can be reduced, and the processing speed can be increased.
[0062]
It should be noted that a form of a partial page of an electronically cataloged catalog may be applied as the form, and the present invention may be applied to the case where distribution, storage, and printing of a catalog partial page are performed.
[0063]
Note that an object of the present invention is to supply a storage medium storing a program code of software for realizing the functions of the embodiments to a system or an apparatus, and a computer (or a CPU or an MPU or the like) of the system or the apparatus to store the storage medium. It is also achieved by reading and executing the program code stored in the.
[0064]
In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.
[0065]
Further, as a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, magneto-optical disk, CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD -RW, DVD + RW, magnetic tape, nonvolatile memory card, ROM, and the like can be used.
[0066]
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0067]
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. This also includes the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0068]
【The invention's effect】
As described above, according to the present invention, it is possible to complete the printing process with a minimum number of requests and responses, reduce the load, and speed up the process.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating an overall configuration of a print system according to an embodiment of the present invention.
FIG. 2 is a diagram showing an outline of a form form distribution process.
FIG. 3 is a conceptual diagram showing an example of information stored in a server form management table.
FIG. 4 is a diagram illustrating a flowchart of a distribution process executed by a Web server.
FIG. 5 is a conceptual diagram showing an example of distribution data generated in step S408 of FIG.
FIG. 6 is a diagram illustrating a flowchart of a printing process executed by the client device.
FIG. 7 is a diagram showing an outline of an automatic distribution function of a form in a print system of Patent Document 1.
[Explanation of symbols]
100 Web server (server device)
102 Data storage (part of memory)
103 Distribution data generation unit (data extraction means, form recognition means)
104 network communication control unit (distribution means)
106 Server form management table (part of memory)
108 Client form management table group (form management means)
110 client device
111 data input / output unit (notification unit, list return unit, print request transmission unit)
112 Data processing unit (judgment means)
113 Form storage unit (Form storage unit)
114 Form list module
115 Image Generation Unit (Image Generation Means)
116 Print output unit (part of printing means)
117 Printer (part of printing means)

Claims (1)

サーバ装置とクライアント装置とがネットワークで接続されて構成されるプリントシステムであって、
前記サーバ装置は、
前記クライアント装置からの印刷要求に応じて、印刷用フォーム及び印刷用データを格納しているメモリから、印刷画像形成に必要な印刷用フォーム及び印刷用データを抽出するデータ抽出手段と、
過去に配信済みの印刷用フォームを管理するフォーム管理手段と、
前記フォーム管理手段により管理されている情報に基づいて、印刷要求に係るクライアント装置が有していない印刷用フォームを認識するフォーム認識手段と、
前記フォーム認識手段により認識された印刷用フォームを前記データ抽出手段により抽出された印刷用データと共に前記印刷要求に係るクライアント装置に対して配信する配信手段とを有し、
前記クライアント装置は、
前記サーバ装置の前記配信手段により配信された印刷用フォームを記憶するフォーム記憶手段と、
前記配信手段により配信された印刷用フォーム又は前記フォーム記憶手段に記憶されている印刷用フォームと、前記配信手段により配信された印刷用データとに基づいて、印刷用画像を生成する画像生成手段とを有することを特徴とするプリントシステム。
A print system configured by connecting a server device and a client device via a network,
The server device,
Data extraction means for extracting a print form and print data necessary for forming a print image from a memory storing print forms and print data in response to a print request from the client device;
A form management means for managing print forms that have been delivered in the past,
A form recognizing unit that recognizes a printing form that the client device related to the print request does not have based on the information managed by the form managing unit;
Distribution means for distributing the print form recognized by the form recognition means together with the print data extracted by the data extraction means to the client device relating to the print request,
The client device,
Form storage means for storing a print form distributed by the distribution means of the server device;
An image generation unit that generates a print image based on the print form distributed by the distribution unit or the print form stored in the form storage unit, and the print data distributed by the distribution unit; A print system comprising:
JP2002291260A 2002-10-03 2002-10-03 Print system Pending JP2004127009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002291260A JP2004127009A (en) 2002-10-03 2002-10-03 Print system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002291260A JP2004127009A (en) 2002-10-03 2002-10-03 Print system

Publications (1)

Publication Number Publication Date
JP2004127009A true JP2004127009A (en) 2004-04-22

Family

ID=32282898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002291260A Pending JP2004127009A (en) 2002-10-03 2002-10-03 Print system

Country Status (1)

Country Link
JP (1) JP2004127009A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006178747A (en) * 2004-12-22 2006-07-06 Canon Marketing Japan Inc Print setting control device, and its control method and program therefor
JP2007179202A (en) * 2005-12-27 2007-07-12 Canon Marketing Japan Inc Electronic business form server, client, electronic business form system, information providing method, information using method, service providing method, server program, client program, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006178747A (en) * 2004-12-22 2006-07-06 Canon Marketing Japan Inc Print setting control device, and its control method and program therefor
JP4539975B2 (en) * 2004-12-22 2010-09-08 キヤノンマーケティングジャパン株式会社 Print setting control apparatus, control method thereof, and program
JP2007179202A (en) * 2005-12-27 2007-07-12 Canon Marketing Japan Inc Electronic business form server, client, electronic business form system, information providing method, information using method, service providing method, server program, client program, and storage medium

Similar Documents

Publication Publication Date Title
US6775023B1 (en) Center server, information processing apparatus and method, and print system
JP7158864B2 (en) System and method of using it
US8032464B2 (en) Server printing apparatus and its control method, and computer program
US20100027057A1 (en) Control apparatus for controlling workflow including a plurality of activities and workflow control method
US7042588B2 (en) Information processing apparatus, information processing methods and print systems
US20080005144A1 (en) Apparatus and method for transferring data between incompatible computer systems
US20150009539A1 (en) Information processing method, information processing apparatus and program
US7952742B2 (en) Information processing apparatus for processing print data, method thereof and media in storage of control program of executing such method
JP4958481B2 (en) WEB service execution method and information processing apparatus
JP4546105B2 (en) Message exchange method and message conversion system
US7256907B2 (en) Server apparatus, job managing method, computer-readable memory medium, and program
JP2004127009A (en) Print system
US7262875B2 (en) Data communication program product transmitting firmware in divisional manner
JP7234711B2 (en) Message notification device, content management system and program
JP4154204B2 (en) PRINT SYSTEM, INFORMATION PROCESSING DEVICE, CONTROL METHOD AND CONTROL PROGRAM THEREOF
JP2008123213A (en) Image outputting device and document processing method
JP4532723B2 (en) Information processing apparatus, printing system, information processing method, and printing method
JP3818396B2 (en) Printing system, print server, and information providing method thereof
JP2014123238A (en) Information processing apparatus, information processing system, and program
JP4292731B2 (en) Information processing system and server device
JP2000172465A (en) Internet printing system
JP4367141B2 (en) Instruction description content changing device and instruction description content changing program
JP4785296B2 (en) Server apparatus, server apparatus control method, and storage medium
JP2007058883A (en) Information processor and information processing method
JP2004185188A (en) Data transfer processing method and system, and data transfer processing program