JP2005025476A - Device, method and program for converting data, and recording medium - Google Patents

Device, method and program for converting data, and recording medium Download PDF

Info

Publication number
JP2005025476A
JP2005025476A JP2003189800A JP2003189800A JP2005025476A JP 2005025476 A JP2005025476 A JP 2005025476A JP 2003189800 A JP2003189800 A JP 2003189800A JP 2003189800 A JP2003189800 A JP 2003189800A JP 2005025476 A JP2005025476 A JP 2005025476A
Authority
JP
Japan
Prior art keywords
conversion
data
job
request
conversion 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
JP2003189800A
Other languages
Japanese (ja)
Inventor
Yuichi Ishii
勇一 石井
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003189800A priority Critical patent/JP2005025476A/en
Publication of JP2005025476A publication Critical patent/JP2005025476A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data converting device for providing function of converting a data form via a network, and to provide its method, its program and a recording medium thereof. <P>SOLUTION: The data converting device includes a data converting means for converting the data form of a prescribed kind of data. The device comprises a communication means for receiving a request to convert the data form of the prescribed kind of data which is transmitted via the network; and a conversion request processing means for allowing the data converting means to convert the data form of the prescribed kind of data, based on the conversion request which the communication means receives. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データのデータ形式の変換を実行するデータ変換装置、データ変換方法、データ変換プログラム及び記録媒体に関する。
【0002】
【従来の技術】
現在では、様々なデータ形式によるデータが見受けられる。よく知られているデータ形式としてすぐに思いつくものだけでも、テキスト形式、BITMAP形式、JPEG形式、PDF形式、GIF形式等、多数に上る。
【0003】
その他にも、ワープロソフトや表計算ソフト等、アプリケーション独自の形式も定義されている。各データ形式にはそれぞれの特長があり、ユーザは用途に応じて使い分けている。
【0004】
これらのデータ形式の変換ができればユーザにとって便宜である。かかる要望に応じ、データ形式を変換するソフトウェア(以下、「変換ソフト」という。)が既に提供されている。ユーザは、変換ソフトを利用することにより、所定の文書データを所望のデータ形式によるデータに変換させることができる。
【0005】
【発明が解決しようとする課題】
しかしながら、上記変換ソフトは、端末ごとにインストールして利用する必要があった。ネットワーク技術が発達した今日において、ソフトウェアを端末ごとにインストールしなければならないのは非常に非効率である。即ち、インストールに要する手間のみならず、システム全体における資源効率の観点からも望ましいシステム形態ではない。
【0006】
また、携帯電話や、PDA(Personal Digital(Data) Assistants)等、端末の種類が多様化した今日においては、PC(Personal Computer)だけでなく、様々な端末から利用可能な態様によって、サービスを提供できることが望ましい。
【0007】
本発明は、上記の点に鑑みてなされたものであって、ネットワークを介してデータ形式の変換機能を提供することができるデータ変換装置、データ変換方法、データ変換プログラム及び記録媒体の提供を目的とする。
【0008】
【課題を解決するための手段】
そこで上記課題を解決するため、本発明は、所定のデータのデータ形式を変換するデータ変換手段を有するデータ変換装置であって、ネットワークを介して送信される、前記所定のデータのデータ形式の変換要求を受信する通信手段と、前記通信手段が受信した前記変換要求に基づいて、前記データ変換手段に前記所定のデータのデータ形式を変換させる変換要求処理手段とを有することを特徴とする。
【0009】
このようなデータ変換装置では、ネットワークを介して送信されるデータ変換の要求に基づいてデータの変換を実行することができるため、ネットワークを介したデータ変換機能を提供することができる。
【0010】
また上記課題を解決するため、本発明は、上記データ変換装置におけるデータ変換方法、前記データ変換方法をコンピュータに実行させるためのデータ変換プログラム、及び前記データ変換プログラムを記録した記憶媒体としてもよい。
【0011】
【発明の実施の形態】
以下、図面に基づいて本発明の実施の形態を説明する。図1は、本発明の実施の形態におけるデータ変換システムの構成例を示す図である。図1に示されるように、本実施の形態におけるデータ変換システム1は、データ変換サーバ10、文書管理サーバ20、Webサーバ30、及び端末40等から構成されており、それぞれはインターネットやLAN等のネットワーク50を介して接続されている。
【0012】
データ変換サーバ10は、文書データのデータ形式の変換機能(以下、「データ変換機能」という。)をWebサービスとして提供するコンピュータである。
【0013】
文書管理サーバ20は、文書データを管理する文書管理データベース(文書管理DB)を有するコンピュータであり、文書データの検索、及び更新等の機能をWebサービスとして提供する。
【0014】
Webサーバ30は、データ管理サーバ10や文書管理サーバ20等の機能をWebページとして提供するためのいわゆるWebサーバである。
【0015】
端末40は、ユーザがデータ変換システム1利用するためのインタフェースを提供するPC(Personal Computer)、PDA(Personal Digital(Data) Assistants)、又は携帯電話等の通信機能を有する端末である。なお、図中端末40は、一つのブロックとして示されているが、物理的に一台の端末に限定されるという趣旨ではない。一般的な情報システムと同様、多数の端末を接続することが可能である。
【0016】
次に、データ変換サーバ10のハードウェア構成例について説明する。図2は、本発明の実施の形態におけるデータ変換サーバのハードウェア構成例を示す図である。図2のデータ変換サーバ10は、それぞれバスBで相互に接続されているドライブ装置100と、補助記憶装置102と、メモリ装置103と、演算処理装置104と、インタフェース装置105とを有するように構成される。
【0017】
データ変換サーバ10において文書データの変換処理を実現するデータ変換プログラムは、CD―ROM等の記憶媒体101によって提供される。データ変換プログラムを記録した記憶媒体101がドライブ装置100にセットされると、データ変換プログラムが記憶媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。
【0018】
補助記憶装置102は、インストールされたデータ変換プログラムを格納すると共に、必要なファイルやデータ等を格納する。メモリ装置103は、データ変換プログラムの起動指示があった場合に、補助記憶装置102からデータ変換プログラムを読み出して格納する。演算処理装置104は、メモリ装置103に格納されたデータ変換プログラムに従ってデータ変換サーバ10に係る機能を実行する。インタフェース装置105は例えばモデム、ルータ等で構成され、ネットワークに接続するために用いられる。
【0019】
なお、文書管理サーバ20やWebサーバ30についても同様の構成をとることができる。
【0020】
次に、データ変換システム1の機能構成例について説明する。図3は、本発明の実施の形態におけるデータ変換システムの機能構成例を示す図である。
【0021】
データ変換サーバ10は、SOAPリスナ11、変換ジョブ処理部12、データ変換部13、非同期管理部14、文書管理接続部15、キューアクセス部16、及びジョブキュー17等から構成されている。
【0022】
SOAPリスナ11は、変換ジョブ処理部12が有する後述するメソッドを、Webサーバ30等からSOAP(Simple Object Access Protocol)のRPC(Remote Procedure Call)によって呼び出せるようにするための機能を提供するモジュールである。
【0023】
変換ジョブ処理部12は、文書データの変換処理の全体を制御するモジュールであり、変換要求受け付けメソッドや変換実行メソッド等を有している。
【0024】
変換要求受け付けメソッドは、Webサーバ30等からSOAPのRPCによって変換要求を受け付けるためのメソッドであり、受け付けた変換要求に基づいて実行すべき変換処理(以下、「ジョブ」という。)に関する情報(以下、「ジョブ情報」という。)を、キューアクセス部16を用いてジョブキュー17に登録する。
【0025】
変換実行メソッドは、ジョブキュー17に登録されているジョブ情報に基づいて文書データの変換処理を実行するメソッドである。
【0026】
データ変換部13は、文書データの変換機能が実装されているモジュールである。文書データの変換機能としては、PDF、テキスト、BITMAP、JPEG、JPEG2000、PNG、又はTIFF等への変換がある。なお、データ変換部13は、市販されているデータ変換ソフト等を用いてもよい。
【0027】
非同期管理部14は、変換ジョブ処理部12の変換実行メソッドを定期的に呼び出すためのモジュールであり、独立したプロセスとして常駐している。
【0028】
文書管理接続部15は、文書管理サーバ20における文書管理部22の機能をSOAPのRPCによって呼び出すためのインタフェースを提供するモジュールである。
【0029】
キューアクセス部16は、ジョブキュー17を操作するための関数群である。ジョブキュー17は、ジョブ情報を一時的に保持しておくためのものであり、本実施の形態においては、フォルダやファイルによって構成されている。
【0030】
文書管理サーバ20は、SOAPリスナ21、文書管理部22、及び文書管理DB23等から構成されている。SOAPリスナ21は、文書管理部22の機能をSOAPのRPCによって呼び出せるようにするための機能が実装されているモジュールである。
【0031】
文書管理部22は、文書管理DB23を操作するためのインタフェースを提供するモジュールである。例えば、文書管理部22は、文書管理DB23より文書データを取得するための文書取得メソッド、文書データの一覧情報を取得すための文書一覧取得メソッド、及び文書管理DB23に文書データを登録するための文書登録メソッド等を有している。
【0032】
文書管理DB23は、文書データが格納されているデータベースである。
【0033】
Webサーバ30は、httpd31、Webアプリ32、及びSOAPプロキシ33等から構成されている。httpd31は、端末40との間におけるHTTPによる通信を制御するデーモンプログラムである。httpd31は、端末40からのHTTPリクエストを受信すると、HTTPリクエストにおいて指定されたURLに対応するWebアプリ32を呼び出し、Webアプリ32が処理結果として出力したWebページを端末40に送信する。
【0034】
Webアプリ32は、Webページの生成を主な機能とするいわゆるWebアプリケーションである。Webアプリ32は、必要に応じてデータ変換サーバ10や文書管理サーバ20に対して所定の処理要求をSOAPのRPCによって行い、その結果を表示するWebページを生成する。例えば、Webアプリ32は、文書管理サーバ20の文書管理DB23に管理されている文書データの一覧を表示するWebページ(以下、「文書一覧ページ」という。)等を生成する。
【0035】
SOAPプロキシ33は、データ変換サーバ10や文書管理サーバ20の機能をSOAPのRPCにより呼び出すためのインタフェースをWebアプリ32に対して提供するモジュールである。SOAPプロキシ33により、Webアプリ32は、データ変換サーバ10や文書管理サーバ20の機能を、ネットワーク通信を意識することなく、透過的にメソッド呼び出しすることが可能となっている。
【0036】
なお、図中においては、Webアプリ32は一つのブロックとして示されているが、インスタンスとしては複数存在する。例えば、文書管理一覧ページを生成するためのモジュールや、その他のWebページを生成するモジュール毎にソースコードが実装されている。
【0037】
端末40は、Webブラウザ41を有している。ユーザは、端末40のWebブラウザ41によってWebサーバ30から送信されるWebページを閲覧することができる。
【0038】
以下、データ変換システム1の処理について説明するが、データ変換サーバ10とクライアント側(Webサーバ30や端末40等)との間における処理の同期の観点(第一の観点)と、データ変換サーバ10が、データ変換の対象とする文書データをどのように入手するかという観点(第二の観点)に基づいて、複数の形態に分けて説明する。
【0039】
第一の観点としては、データ変換サーバ10における変換処理が、クライアント側からの要求に対して非同期に実行される場合と、同期がとられて実行される場合との二つの形態に分けられる。非同期に実行されるとは、端末40による文書データの変換要求に対するデータ変換サーバ10による応答が、文書データの変換が完了する前になされることをいう。同期がとられて実行されるとは、端末40による文書データの変換要求に対するデータ変換サーバ10による応答が、文書データの変換が完了した後になされることをいう。
【0040】
第二の観点としては、変換対象とする文書データを、データ変換サーバ10が文書管理サーバ20から取得する場合(PULL型)と、端末40が端末40に保存されている文書データをデータ管理サーバ10にアップロードする場合(PUSH型)との二つの形態に分けられる。
【0041】
上記第一の観点と第二の観点との組み合わせにより、非同期PULL型、非同期PUSH型、同期PULL型、及び同期PUSH型の4つの形態が成り立つ。以下、この4つの形態をそれぞれ第一から第四の実施の形態として順番に説明する。
【0042】
まず、第一の実施の形態として、非同期PULL型の処理により文書データを変換する場合について説明する。図4及び図5は、第一の実施の形態(非同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。なお、図4及び図5のシーケンス図においては、httpd31、SOAPプロキシ33、SOAPリスナ11、文書管理接続部15、及びSOAPリスナ21等の通信手段として機能するものについては、便宜上省略しているが、以降のシーケンス図においても同様である。
【0043】
ステップS11において、端末40のユーザが、Webブラウザ41に表示された文書一覧ページにおいて、変換対象とする文書データ(以下、「対象データ」という。)を選択し、更に設定ページにおいて変換処理を規定するパラメータ情報(以下、「変換パラメータ情報」という。)を設定すると、Webブラウザ41は、Webサーバ30に対し対象データの変換要求を送信する。
【0044】
図6は、文書一覧ページの表示例を示す図である。文書一覧ページ410は、Webブラウザ41に文書一覧ページ410のURLを入力することにより、Webブラウザ41に表示させることができる。即ち、Webブラウザ41が、URLの入力に基づいて文書一覧ページ410の送信要求をWebサーバ30に送信すると、Webサーバ30のWebアプリ32が、文書管理サーバ20の文書管理部22の文書一覧取得メソッドをSOAPのRPCによって呼び出すことにより、文書管理DB23の所定のフォルダ内の文書データの一覧情報を取得する。Webアプリ32は、取得した文書データの一覧情報を掲載したWebページ(文書一覧ページ410)を生成する。Webアプリ32によって生成された文書一覧ページ410は、httpd31によって端末40に送信され、Webブラウザ41に表示される。
【0045】
文書一覧ページ410では、領域411に各文書データがサムネール表示されている。ここで、一つの文書データが表示されている矩形領域を「セル(cell)」と呼ぶこととすると、各セルは、文書データを選択するためのチェックボタンと、文書データの名前(文書名)を表示する文書名表示領域と、アイコン表示領域とを有している。例えば、文書名が「文書3」の文書データが表示されているセルについては、チェックボタン413、文書名表示領域414、及びアイコン表示領域415がある。
【0046】
ユーザが、変換対象とする文書データに対応するチェックボタンをチェックし(図6においては、文書1、文書2、及び文書3をチェック)、文書操作メニュー412をクリックすることにより表示される図示しないメニュー項目(「PDF化」、「テキスト化」、「BITMAP化」、「.JPEG化」、「JPEG2000化」、「PNG化」、及び「TIFF化」等)のうち、所望のデータ形式に対応するメニュー項目を選択すると、Webブラウザ41には、設定ページが表示される。
【0047】
図7は、設定ページの表示例を示す図である。図7の設定ページ420は、PDF化が選択された場合に表示される設定ページである。設定ページ420は、変換処理における変換パラメータ情報を設定させるためのWebページであり、対象データ一覧領域421、ファイル結合選択領域422、保存場所選択領域423、アーカイブ形式選択領域424、アーカイブファイル名入力領域425、変換失敗時動作選択領域426、及び優先度選択領域427等から構成されている。
【0048】
対象データ一覧領域421は、文書一覧ページ410において対象データとして選択された文書データの文書名の一覧が表示される領域である。
【0049】
ファイル結合選択領域422は、対象データとして複数の文書データが選択された場合に、変換後のデータ(以下、「変換データ」という。)を一つのファイルとして生成するか否かを選択するための領域である。ユーザは、チックボタン4221において、かかる選択を行うことができ、テキストボックス4222において、複数の文書データに基づいて生成される一つの変換データを格納するファイル(以下、「結合ファイル」という。)のファイル名を入力することができる。
【0050】
保存場所選択領域423は、変換データの保存場所を選択させるための領域である。ユーザは、コンボボックス4231によって変換データの保存場所として、文書管理DB23における所定のフォルダ等を選択することができる。
【0051】
アーカイブ形式選択領域424は、変換データのアーカイブ化に関する情報を設定させるための領域である。ユーザは、チェックボタン4221においてアーカイブ化するか否かを選択することができ、コンボボックス4242によってアーカイブ形式を選択することができる。
【0052】
アーカイブファイル名入力領域425は、変換データをアーカイブ化する場合において、生成されるアーカイブファイルのファイル名を入力させるための領域である。ユーザは、テキストボックス4251においてアーカイブファイルのファイル名を入力することができる。
【0053】
変換失敗時動作選択領域426は、変換処理が障害等により途中で失敗した場合の動作を選択させるための領域である。ユーザは、チェックボタン4261及びチェックボタン4262によって、スキップして実行するか又は変換を中止するかを選択することができる。スキップして実行するとは、例えば、文書1、文書2、及び文書3の変換を要求した場合に、文書1の変換が失敗したとしても、そのまま文書2及び文書3の変換を実行するという意味である。
【0054】
優先度選択領域427は、当該変換要求の優先度を選択させるための領域である。ユーザは、コンボボックス4271において、優先度を選択することができる。ここでの優先度とは、データ変換サーバ10が複数の変換要求を処理するにあたり、処理対象とする変換要求の順番を規定するものである。すなわち、高い優先度を指定すれば、変換要求が早く処理される可能性が高い。本実施の形態においては、優先度を1、2、3、4、・・・・と数字で表現し、値が小さいほど優先度が高いものとする。
【0055】
ユーザが、設定ページ420において変換パラメータ情報を設定し、OKボタン428をクリックすると、Webブラウザ41は、上述したステップS11における変換要求を、変換パラメータ情報を伴ってWebサーバ30に対して送信する。
【0056】
ステップS11に続いてステップS12に進み、Webサーバ30のWebアプリ32は、データ変換サーバ10の変換ジョブ処理部12の変換要求受け付けメソッドの一つである非同期PULL型変換メソッドを呼び出すことにより、非同期PULL型による文書データの変換を要求する。
【0057】
図8は、非同期PULL型変換メソッドの引数情報の例を示す図である。図8に示されるように、非同期PULL型変換メソッドは、引数として文書管理サーバのURL、文書ID、結合ファイル名、保存場所、アーカイブ形式アーカイブファイル名、変換失敗時の処理、及び優先度等を有している。
【0058】
文書管理サーバのURLは、文書管理サーバ20のURLが指定される。文書IDは、各文書データを一意に識別するために割り当てられた識別情報であり、ここでは対象データの文書IDが指定される。すなわち、対象データについては、文書IDのみが指定され、対象データの実データは、引数の値として指定されない。
【0059】
以上については、文書一覧ページ410における設定内容に基づいて特定される情報である。また、結合ファイル名以降については、設定ページ420における設定内容に基づいて特定される情報である。
【0060】
なお、上記において、非同期PULL型変換メソッドを、「変換要求受け付けメソッドの一つ」と表現したことからも明らかなように、変換ジョブ処理部12は、変換要求受け付けメソッドとして4種類のメソッドを有する。一つは、上述した非同期PULL型変換メソッドであり、他の3つは、非同期PUSH型変換メソッド、同期PULL型変換メソッド、及び同期PUSH型変換メソッドである。各メソッドは、それぞれ非同期PULL型、非同期PUSH型、同期PULL型、同期PUSH型による変換要求を受け付けるためのものである。従って、変換ジョブ処理部12は、呼び出されるメソッドの種類に応じて(変換要求の種類に応じて)、同期/非同期、及び、PUSH/PULLの別を識別し、対応する処理を実行する。
【0061】
ステップS12に続いてステップS13に進み、非同期PULL型変換メソッドが呼び出されたデータ変換サーバ10の変換ジョブ処理部12は、当該変換要求を一時的に保存しておくため、キューアクセス部16に対して、当該変換要求に応じて実行すべきジョブのジョブ情報として、非同期PULL型変換メソッドの引数に指定された変換パラメータ情報の保存を要求する。
【0062】
ステップS13に続いてステップS14に進み、キューアクセス部16は、ジョブ情報をジョブキュー17に登録する。
【0063】
図9は、ジョブキューの構成例を示す図である。図9に示されるように、本実施の形態におけるジョブキュー17は、トップフォルダ171と、トップフォルダ171の下に定義された複数のキューフォルダ(優先度1用フォルダ172、優先度2用フォルダ173、及び優先度3用フォルダ174等)と、同じくトップフォルダ171の下に配置されたキュー情報ファイル175と、キューフォルダの下に生成されるジョブファイル(ジョブファイル176、ジョブファイル177、及びジョブファイル178等)から構成される。
【0064】
ジョブファイルは、変換要求ごとに一つ生成され、各変換要求に対応するジョブ情報を保存するファイルである。
【0065】
キューフォルダは各ジョブファイルの優先度を区別するために、優先度ごとに複数定義されている。すなわち、各ジョブファイルは、対応する変換要求の優先度に応じたキューフォルダの下に生成される。
【0066】
キュー情報ファイル175は、現在未処理のジョブがあるか否かを判断するための情報を格納するファイルである。
【0067】
上記のジョブキュー17の構成をふまえて、ステップS14におけるキューアクセス部16によるジョブ情報の登録処理を更に詳しく説明する。図10は、キューアクセス部によるジョブ情報の登録処理を説明するためのフローチャートである。
【0068】
キューアクセス部16は、まず、ジョブを一意に識別するためのジョブIDを採番する(S14a)。
【0069】
続いて、ジョブの優先度(変換要求の優先度)に対応したキューフォルダにジョブファイルを生成し、当該ジョブファイにジョブ情報を登録する。(S14b)。例えば、優先度が1の場合には、優先度1用フォルダ172の下にジョブジョブファイルを生成する。
【0070】
図11は、ジョブファイルに保存されたジョブ情報の構成例を示す図である。図11に示されるように、ジョブ情報は、非同期PULL型変換メソッドの引数情報(図8)にジョブIDを対応づけることによって構成される。
【0071】
ステップS14bに続いてステップS14cに進み、キューアクセス部16は、キュー情報ファイル175にジョブIDを登録する。
【0072】
図12は、キュー情報ファイルに保存されているキュー情報の構成例を示す図である。図12に示されるように、キュー情報ファイル175には、キュー情報として、最後に処理したジョブのジョブIDと、最後に採番したジョブID(すなわち、最後に受信した変換要求に対するジョブのジョブID。)とを有している。従って、ここでは、キューアクセス部16は、最後に採番したジョブIDの値を、今回新たに採番したジョブIDの値に更新する。なお、キュー情報の利用方法については、後述する。
【0073】
以上で、ジョブ情報のジョブキュー17への登録が完了する。
【0074】
図4に戻り、ステップS15において、キューアクセス部16は、ジョブキュー17に登録したジョブのジョブIDを変換ジョブ処理部12に対して出力する。変換ジョブ処理部12は、ここでは、要求された変換処理(ジョブ)は実行せずに(非同期)、非同期PULL型変換メソッドの戻り値としてジョブIDをWebアプリ32に送信する(S16)。なお、ジョブIDは、Webアプリ32によってWebサーバ30内に保存され、ジョブの状態の問い合わせ等の際に用いられる。
【0075】
ステップS16に続いてステップS17に進み、Webアプリ32は、変換要求に対する応答として、変換要求を受け付けた旨を表示するWebページ(以下、「応答ページ」という。)をWebブラウザ41に送信する。応答ページは、Webブラウザ41によって表示され、ユーザは、変換要求が正常に受け付けられたことを確認することができる。
【0076】
一方、ステップS16において変換ジョブ処理部12が、Webアプリ32に対して応答を行った後においても、データ変換サーバ10では、非同期管理部14が、変換ジョブ処理部12の変換実行メソッドを定期的に呼び出している(S18)。変換ジョブ処理部12は、非同期管理部14による呼び出しに基づいて、キューアクセス部16に対し、ジョブキュー17からのジョブ情報の取得を要求する(S19)。
【0077】
ステップS19に続いてステップS20に進み、キューアクセス部16は、キュー情報ファイル175に保存されているキュー情報(図12)を参照することにより、現在未処理のジョブ(以下、「未処理ジョブ」という。)があるか否かを判断する。すなわち、キュー情報において、最後に処理したジョブのジョブID(以下、「最終ジョブID」という。)と最後に採番したジョブID(以下、「採番ジョブID」という。)との値が同じであれば、現在未処理のジョブは無いものと判断することができる。反対に、両者の値が異なっていたら、少なくとも採番ジョブIDに対応するジョブは、まだ処理されていないことになる。従って、キューアクセス部16は、最終ジョブIDと採番ジョブIDとを比較することにより、未処理ジョブがあるか否かを判断する。
【0078】
未処理ジョブがあると判断した場合は、キューアクセス部16は、優先度の高いキューフォルダから順にジョブファイルを検索し、最初に見つけたジョブファイルからジョブ情報を取得する(S21)。キューアクセス部16は、取得したジョブ情報を変換ジョブ処理部12に対して出力する(S22)。
【0079】
なお、ステップS20において、未処理ジョブはないと判断した場合は、キューアクセス部16は、未処理ジョブは無い旨を変換ジョブ処理部12に通知する。この場合、非同期管理部14からの再度の呼び出しに基づいて、ステップS19〜ステップS22までの処理が繰り返し実行されることになる。
【0080】
ステップS22に続いてステップS23に進み、変換ジョブ処理部12は、取得したジョブ情報(図11)における、「文書管理サーバのURL」と「文書ID」とに基づいて、対象データの送信要求を文書管理サーバ20の文書管理部22に対して送信する。なお、対象データの送信要求は、文書管理部22に実装されている文書取得メソッドを文書管理接続部15を介してSOAPのRPCによって呼び出すことにより行われる。
【0081】
ステップS23に続いてステップS24に進み、文書管理部22は、文書管理DB23より対象データを取得し、変換ジョブ処理部12に対して送信する(S25)。
【0082】
ステップS25に続いてステップS26に進み、変換ジョブ処理部12は、受信した対象データを、作業用フォルダに保存する。
【0083】
図13は、作業用フォルダへの対象データの保存例を示す図である。図13において、作業用フォルダ181の下に定義された複数のフォルダは、各ジョブに対応したフォルダ(以下、「ジョブフォルダ」という。)であり、例えば、対応するジョブIDをそのフォルダ名としている。
【0084】
各ジョブフォルダの下には、更に、Beforeフォルダが定義される。Beforeフォルダは、変換前の対象データを保存するためのフォルダである。
【0085】
従って、ステップS26において、変換ジョブ処理部12は、現在処理対象となっているジョブ(以下、「カレントジョブ」という。)に対応するジョブフォルダ(例えば、ジョブフォルダ182)を作業用フォルダ181の下に生成し、更に、ジョブフォルダ182の下にBeforeフォルダ183を生成して、Beforeフォルダ183に対象データ(文書1等)を保存する。
【0086】
ステップS26に続いて図5のステップS27に進み、変換ジョブ処理部12は、ジョブ情報(図11)における「変換先のデータ形式」に指定されている形式への対象データの変換をデータ変換部13に対し要求する。
【0087】
ステップS27に続いてステップS28に進み、データ変換部13は、Beforeフォルダ183より対象データを取り出し、対象データを指定されたデータ形式(PDF等)に変換し、変換によって生成される変換データを作業用フォルダ187に保存する。
【0088】
図14は、作業用フォルダへの変換データの保存例を示す図である。図14に示されるように、データ変換部13は、カレントジョブに対応するジョブフォルダであるジョブフォルダ182の下にAfterフォルダ184を生成し、Afterフォルダ184の下に変換データを保存する。
【0089】
変換ジョブ処理部12からの応答を受け取ると(S29)、変換ジョブ処理部12は、Afterフォルダ184より変換データを取り出し、文書管理部22の文書登録メソッドを呼び出すことにより、文書管理部22に対し変換データの文書管理DB23への登録を要求する(S30)。なお、登録先のフォルダは、ジョブ情報(図11)の「保存場所」に基づいて指定される。
【0090】
ステップS30に続いてステップS31に進み、文書管理部22は、指定されたフォルダに変換データを登録し、変換データを登録した旨の応答を変換ジョブ処理部12に対して送信する(S32)。
【0091】
ステップS32に続いてステップS33に進み、変換ジョブ処理部12は、ジョブの処理が正常に完了したため、カレントジョブのジョブ情報の削除をジョブキュー17より削除するようキューアクセス部16に対して要求する。
【0092】
ステップS33に続いてステップS34に進み、キューアクセス部16は、カレントジョブに対応するジョブファイル(図10)を削除することにより、カレントジョブのジョブ情報をジョブキュー17より削除する。更に、キューアクセス部16は、キュー情報ファイル175における「最後に処理したジョブのジョブID」の値をカレントジョブのジョブIDの値に更新して、データ変換処理を完了する。
【0093】
上述したように、第一の実施の形態におけるデータ変換サーバ10によれば、文書データの変換を端末40からの要求に基づいて実行することができる。従って、文書データの変換に必要なデータ変換部13に相当するプログラムを端末ごとにインストールする必要はない。
【0094】
一台のデータ変換サーバ10は、複数の端末40に対応するため、データ変換サーバ10に変換処理を実行させることは、システム全体における資源効率を高めることができる共に、データ変換部13の機能強化やバージョンアップにも柔軟に対応することができる。
【0095】
また、第一の実施の形態におけるデータ変換サーバ10は、PULL型により文書データを取得するため、サイズの大きなデータの扱いに向いてない携帯電話等からも、不便なく利用することができる。
【0096】
また、第一の実施の形態におけるデータ変換サーバ10は、端末40に対して非同期に変換処理を実行するため、文書データの変換要求を行った端末40のWebブラウザ41は、変換要求に対する応答待ちの状態から早期に復帰することができる。従って、Webブラウザ41のユーザは、文書データの変換要求を行った後、長時間待たされることなく、別の作業をWebブラウザ41において行うことができる。すなわち、変換処理をデータ変換サーバ10において一元的に行わせることによって生じうる、変換処理が完了するまでの待ち時間の増加という弊害を防止することができる。
【0097】
更に、データ変換サーバ10は、優先度に応じて変換要求を処理する順番を制御するため、緊急度等に柔軟に対応して変換処理を実行することができる。
【0098】
次に第二の実施の形態として、非同期PUSH型の処理により文書データを変換する場合について説明する。図15及び図16は、第二の実施の形態(非同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【0099】
端末40のユーザが、Webブラウザ41に表示されたPUSH型用の設定ページ(以下、「PUSH用設定ページ」という。)において対象データ及び変換パラメータ情報を設定すると、端末40は、Webサーバ30に対し対象データの変換要求を送信すると共に、対象データの実データをWebサーバ30にアップロードする(S41)。
【0100】
図17は、PUSH用設定ページの表示例を示す図である。図17のPUSH用設定ページ430は、設定ページ420(図7)とほぼ同様の構成となっているが、設定ページ420における対象データ一覧領域421の代わりに対象データ選択領域431が配置されている点において異なる。
【0101】
対象データ選択領域431は、端末40において保存されている文書データから対象データを選択させるための領域である。ユーザがファイル選択ボタン4312をクリックするとファイルダイアログが表示され、ファイルダイアログ上で選択された文書データの文書名が、テキストボックス4311に表示され、対象データとして認識される。
【0102】
従って、ユーザがPUSH用設定ページ430において、対象データとする文書データを選択し、その他の変換パラメータ情報を設定してOKボタン432をクリックすると、上述したステップS41の処理が実行される。
【0103】
ステップS41に続いてステップS42に進み、Webサーバ30のWebアプリ32は、データ変換サーバ10の変換ジョブ処理部12の非同期PUSH型変換メソッドを呼び出すことにより、文書データの変換要求を行う。
【0104】
図18は、非同期PUSH型変換メソッドの引数情報の例を示す図である。図18に示されるように非同期PUSH型変換メソッドの引数情報は、非同期PULL型変換メソッドの引数情報(図8)とほぼ同様であるが、文書IDの代わりに対象データの実データを有する点において異なる。従って、ステップS24において、Webアプリ32が、Webブラウザ41よりアップロードされた対象データの実データを当該引数の値として指定して、非同期PUSH型変換メソッドを呼び出すことにより、対象データの実データがデータ変換装置10に送信される。
【0105】
ステップS42に続いてステップS43に進み、非同期PUSH型変換メソッドが呼び出された変換ジョブ処理部12は、キューアクセス部16に対して、ジョブ情報として非同期PUSH型変換メソッドの引数に指定された変換パラメータ情報を保存するよう要求する。
【0106】
ステップS43に続いてステップS44に進み、キューアクセス部16は、第一の実施の形態(図9)において説明した手順と同様の手順によってジョブキュー17(図10)にジョブ情報を登録し、ジョブIDを変換ジョブ処理部12に対して出力する(S45)。但し、ジョブファイルに保存されるジョブ情報の構成は、第一の実施の形態におけるもの(図11)とは、多少異なる。
【0107】
図19は、第二の実施の形態におけるジョブファイルに保存されたジョブ情報の構成例を示す図である。図19に示されるように、第二の実施の形態におけるジョブ情報には、文書IDが含まれていない。第二の実施の形態においては、対象データの実データが既にアップロードされているため、文書IDによって対象データを識別する必要がないからである。また、第二の実施の形態におけるジョブ情報は、「文書管理サーバのURL」の代わりに「対象データの保存場所」を有している。「対象データの保存場所」は、アップロードされた対象データを保存しておく場所のパス名等を意味する。
【0108】
ステップS45に続いてステップS46に進み、変換ジョブ処理部12は、非同期PUSH型変換メソッドの引数に指定された対象データの実データを、ステップS26(図4)と同様に作業用フォルダ181のBeforeフォルダ(「対象データの保存場所」)に保存する。
【0109】
ステップS46に続いてステップS47に進み、以降ステップ図16のステップS62までは、第一の実施の形態におけるステップS16からステップS35(図4及び図5)までと同様の処理が実行される(但し、第二の実施の形態においては、文書管理サーバ20からの対象データの取得処理(図4:S23〜S26)は実行されない。上述したように、対象データは既にデータ変換サーバ10にアップロードされ、作業用フォルダ181に保存されているからである。)。
【0110】
すなわち、変換ジョブ処理部12は、この時点では、要求された変換処理は実行せずに(非同期)、ジョブIDをWebアプリ32に送信する(S47)。Webアプリ32によって応答ページがWebブラウザ41に送信され、Webブラウザ41に表示される(S48)。
【0111】
更に、非同期管理部14による定期的な呼び出しに基づいて(S49)、変換ジョブ処理部12は、キューアクセス部16からジョブキュー17に登録されているジョブ情報を取得し(S50〜S53)、ジョブ情報に基づいて、既にアップロードされ作業用フォルダに保存されている対象データの変換処理をデータ変換部13に実行させる(S54〜S56)。
【0112】
続いて、変換ジョブ処理部12は、変換処理によって生成された変換データを文書管理部22に送信することにより、変換データを文書管理DB23に登録し(S57〜S59)、キューアクセス部16にジョブキュー17からカレントジョブのジョブ情報を削除させる(S60〜S62)。
【0113】
上述したように、第二の実施の形態におけるデータ変換サーバ10によれば、文書データの変換を端末40からの要求に基づいて変換処理を実行することができるため、第一の実施の形態におけるデータ変換サーバ10と同様に、システム全体における資源効率を高めることができる共に、データ変換部13の機能強化等にも柔軟に対応することができる。
【0114】
また、第二の実施の形態におけるデータ変換サーバ10は、端末40よりアップロードされた文書データを文書データの変換対象とするため、ユーザは、端末40において生成、又は編集した文書データをそのまま(文書管理サーバ20に対する登録等の操作を経ることなく)変換対象として指定することができ、手軽に文書データの変換要求を行うことができる。
【0115】
更に、第二の実施の形態におけるデータ変換システム1は、端末40に対して非同期に印刷データを生成するため、文書データの変換要求を行った端末40のWebブラウザ41は、変換要求に対する応答待ちの状態から早期に復帰することができる。従って、Webブラウザ41のユーザは、文書データの変換要求を行った後、待たされることなく別の作業をWebブラウザ41において行うことができる。
【0116】
次に第三の実施の形態として、同期PULL型の処理により文書データを変換する場合について説明する。図20及び図21は、第三の実施の形態(同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。第三の実施の形態は、PULL型という点において第一の実施の形態と共通するため、処理手順においても第一の実施の形態と共通点が多い。従って、第一の実施の形態(図4及び図5)との違いを中心に説明する。
【0117】
ステップS71からステップS75までは、第一の実施の形態におけるステップS11からステップS15までとほぼ同様の処理が実行される。すなわち、文書一覧ページ410(図6)を経て設定ページ(図7)において設定された変換パラメータ情報がWebブラウザ41からWebアプリ32に送信され(S71)、Webアプリ32によって、変換ジョブ処理部12の変換要求受け付けメソッドが呼び出される(S72)。但し、ステップS72においては、第一の実施の形態における非同期PULL型変換メソッドではなく、同期PULL型変換メソッドが呼び出される。同期PULL型変換メソッドの引数情報は、非同期PULL型変換メソッドと同様である。
【0118】
同期PULL型変換メソッドを呼び出された変換ジョブ処理部12は、キューアクセス部16を用いてジョブ情報をジョブキュー17に登録する(S73〜S75)。
【0119】
ステップS75に続いてステップS76に進み、変換ジョブ処理部12は、この時点では、Webアプリ32に対する応答は行わずに、後述するデータ変換処理の完了の待ち合わせを行う。
【0120】
ステップS76に続いてステップS77に進み、以降ステップS94までは第一の実施の形態におけるステップS18からステップS35まで(図4及び図5)と同様の処理が実行される。
【0121】
すなわち、非同期管理部14による定期的な変換実行メソッドの呼び出しに基づいて(S77)、変換ジョブ処理部12は、キューアクセス部16からジョブキュー17に登録されているジョブ情報を取得し(S78〜S81)、ジョブ情報に基づいて、対象データを文書管理部32より取得する(S82〜S85)。続いて、変換ジョブ処理部12は、対象データの変換処理をデータ変換部13に実行させ(S86〜S88)、変換処理によって生成された変換データを文書管理部22に送信することにより、変換データを文書管理DB23に登録し(S89〜S91)、キューアクセス部16にジョブキュー17からカレントジョブのジョブ情報を削除させる(S92〜S94)。
【0122】
なお、ステップS77からステップS94までの処理を実行するプロセス(又はスレッド、以下、単に「プロセス」という。)は、ステップS76において待ち合わせを行っているプロセスとは異なる点に注意を要する。すなわち、前者のプロセス(以下、「変換実行プロセス」という。)は、非同期管理部14が属するプロセスであるのに対し、後者のプロセス(以下、「待ち合わせプロセス」という。)は、ステップS72における同期PULL型変換メソッドの呼び出しに基づいて起動されるプロセスである。この点は、第一の実施の形態においても同じであるが、第三の実施の形態においては、ステップS76において待ち合わせ処理を行っており、図20と図21のシーケンス図上では、当該待ち合わせ処理行っている変換ジョブ処理部12とステップS77からステップS94までの処理にかかる変換ジョブ処理部12とが同一の軸によって示されているため、両者の関係を理解する上で、それぞれはプロセスが異なることを確認しておく必要がある。
【0123】
ステップS94に続いてステップS95に進み、変換実行プロセスにおける変換ジョブ処理部12は、待ち合わせプロセスに対し、変換処理が完了した旨を通知する(変換処理完了通知)。
【0124】
ステップS95に続いてステップS96に進み、変換処理の完了通知を受けた待ち合わせプロセスにおける変換ジョブ処理部12は、ステップS72における同期PULL型変換メソッドの呼び出しに対する応答(戻り値)をWebアプリ32に対して送信する。なお、同期PULL型変換メソッドについては、非同期PULL型変換メソッドと比較して、ジョブIDを応答に含めてWebアプリ32に対して送信する必要性は低い。Webアプリ32が応答を受信するのは変換処理が完了し、その成否が明らかになった後であるため、その後にWebアプリ32がデータ管理サーバ10にジョブの状態を問い合わせる必要はないからである。従って、同期PULL型変換メソッドの戻り値としては、変換処理が正常に完了したか否かを示す情報だけでもよい。
【0125】
ステップS96に続いてステップS97に進み、Webアプリ32は、変換要求に対する応答として、変換処理が完了した旨を通知するWebページ(以下、「完了通知ページ」という。)をWebブラウザ41に送信する。完了通知ページは、Webブラウザ41によって表示される。なお、ステップS97の処理は、第一の実施の形態におけるステップS17(図4)の処理に対応する。但し、ステップS17における応答ページの送信は、変換処理が実行される前に実行されるのに対し、ステップS97における完了通知ページの送信は、変換処理が完了した後に実行される。従って、完了通知ページを閲覧したユーザは、変換要求が受け付けられた旨ではなく、変換処理が完了した旨を確認することになる。
【0126】
上述したように、第三の実施の形態におけるデータ変換サーバ10によれば、文書データの変換を端末40からの要求に基づいて変換処理を実行することができるため、第一及び第二の実施の形態におけるデータ変換サーバ10と同様に、システム全体における資源効率を高めることができる共に、データ変換部13の機能強化等にも柔軟に対応することができる。
【0127】
また、第三の実施の形態におけるデータ変換サーバ10は、PULL型により文書データを取得するため、サイズの大きなデータの扱いに向いてない携帯電話等からも、不便なく利用することができる。
【0128】
更に、第三の実施の形態におけるデータ変換亜s−場10は、端末40からの変換要求に対して同期的に文書データの変換処理を実行するため、端末40のユーザは、文書データの変換が完了した旨をその場で確認することができる。
【0129】
なお、第三の実施の形態におけるように、同期的に処理を実行する場合には、非同期管理部14による呼び出し処理は必ずしも必要ではない。すなわち、待ち合わせプロセスにおける変換ジョブ処理部12は、ステップS76で待ち合わせ処理をせずに、そのままステップS78以降の処理を実行してしまってもよい。但し、非同期管理部14の呼び出しに基づいて変換ジョブ処理部12が変換処理を実行するという手順をとることによって、同期型における手順と非同期型における手順との親和性を高めることができる。従って、ソースコードの共通化が図られ、開発効率を向上させることができるという便宜がある。かかる理由より、第三の実施の形態においては、待ち合わせプロセスには変換処理の完了の待ちあわせをさせ(S76)、変換実行プロセスは、非同期管理部14の呼び出しに基づいて変換処理を実行するといったロジックを採用している。この点については、後述する第四の実施の形態についても同様である。
【0130】
次に第四の実施の形態として、同期PUSH型の処理により文書データを変換する場合について説明する。図22及び図23は、第四の実施の形態(同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【0131】
ステップS101からステップS106にかけては、同じPUSH型をとる第二の実施の形態におけるステップS41からステップS46まで(図15)と同様の処理が実行される。すなわち、PUSH用設定ページ430ページにおいて設定された変換パラメータ情報と共に、端末40において保存されている文書データが対象データとしてデータ変換サーバ10にアップロードされる(S101、S102)。但し、ステップS102においては、第二の実施の形態における非同期PUSH型変換メソッドではなく、同期PUSH型変換メソッドが呼び出される。同期PUSH型変換メソッドの引数情報は、非同期PUSH型変換メソッドと同様である。
【0132】
同期PUSH型変換メソッドを呼び出された変換ジョブ処理部12は、キューアクセス部16を用いてジョブ情報をジョブキュー17に登録すると共に(S103〜S105)、アップロードされた対象データを作業用フォルダ181に保存する(S106)。
【0133】
ステップS106に続いてステップS107に進み、以降ステップS124までは、同じ同期型をとる第三の実施の形態におけるステップS76からステップS97まで(図20及び図21)と同様の処理が実行される(但し、第四の実施の形態においては、文書管理サーバ20からの対象データの取得処理(図20:S82〜S85)は実行されない。上述したように、対象データは既にデータ変換サーバ10にアップロードされ、作業用フォルダ181に保存されているからである。)。
【0134】
すなわち、待ち合わせプロセスにおける変換ジョブ処理部12は、変換処理の待ち合わせを行う(S107)。
【0135】
非同期管理部14による定期的な変換実行メソッドの呼び出しに基づいて(S108)、変換実行プロセスにおける変換ジョブ処理部12は、キューアクセス部16からジョブキュー17に登録されているジョブ情報を取得し(S109〜S112)、ジョブ情報に基づいて、対象データの変換処理をデータ変換部13に実行させる(S113〜S115)。
【0136】
続いて、変換ジョブ処理部12は、変換処理によって生成された変換データを文書管理部22に送信することにより、変換データを文書管理DB23に登録し(S116〜S118)、キューアクセス部16にジョブキュー17からカレントジョブのジョブ情報を削除させる(S119〜S121)。
【0137】
変換実行プロセスにおける変換ジョブ処理部12が変換処理の完了を待ち合わせプロセスに通知すると、待ち合わせプロセスにおける変換ジョブ処理部12は、ステップS102における同期PUSH型変換メソッドの呼び出しに対する応答(戻り値)をWebアプリ32に対して送信する。なお、同期PULL型変換メソッドの戻り値についても、第三の実施の形態における同期PULL型メソッドの戻り値と同様、変換処理が正常に完了したか否かを示す情報だけでもよい。
【0138】
Webアプリ32は、変換要求に対する応答として、完了通知ページをWebブラウザ41に送信し、完了通知ページがWebブラウザ41によって表示される(S124)。完了通知ページを閲覧したユーザは、変換処理が完了した旨を確認することができる。
【0139】
上述したように、第四の実施の形態におけるデータ変換サーバ10によれば、文書データの変換を端末40からの要求に基づいて変換処理を実行することができるため、上述した他の実施の形態におけるデータ管理サーバ10と同様に、システム全体における資源効率を高めることができる共に、データ変換部13の機能強化等にも柔軟に対応することができる。
【0140】
また、第四の実施の形態におけるデータ変換サーバ10は、端末40よりアップロードされた文書データを変換対象とするため、ユーザは、端末40において生成、又は編集した文書データをそのまま文書データの変換対象として指定することができ、手軽に文書データの変換要求を行うことができる。
【0141】
更に、第四の実施の形態におけるデータ変換サーバ10は、端末40に対して同期的に文書データの変換処理を実行するため、端末40のユーザは、文書データの変換が完了した旨をその場で確認することができる。
【0142】
なお、上述した4つの実施の形態は、互いに排他的な関係にあるわけではなく、4つの形態をおける実装を並存させてもよい。例えば、PUSH型、PULL型の選択についてはユーザの任意とする。即ち、本実施の形態のようにPULL型とPUSH型では利用するWebページが異なる場合には、ユーザがいずれのWebページを表示させるかによって、PULL型/PUSHの選択が行われる。
【0143】
一方、同期型、非同期型の選択についても、設定ページ410やPUSH用設定ページ420においてチェックボタン等で指定できるようにしてもよいし、データ変換サーバ10に自動的に判断させるようにしてもよい。後者の場合、例えば、同時期に複数の端末から文書データの変換要求が寄せられており、データ変換サーバ10の負荷が高い場合、又は、変換対象とする文書データのサイズが所定の値以上の場合等、処理を完了するまでに長時間を要する場合は非同期型とし、データ変換サーバ10の負荷が低い場合や、文書データの変換対象とする文書データのサイズが小さい場合等、短時間で処理を完了させることができる場合は同期型とすればよい。
【0144】
更に、上述の実施の形態においては、Webサーバ30、データ変換サーバ10、文書管理サーバ20をそれぞれ独立したハードウェアによって構成した例について説明したが、すべての機能を一台のサーバ機に実装してもよく、あるいは、更に細かい機能単位で独立したサーバを立ててもよい。
【0145】
以上、本発明の好ましい実施例について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。
【0146】
【発明の効果】
上述の如く、本発明によれば、ネットワークを介してデータ形式の変換機能を提供することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態におけるデータ変換システムの構成例を示す図である。
【図2】本発明の実施の形態におけるデータ変換サーバのハードウェア構成例を示す図である。
【図3】本発明の実施の形態におけるデータ変換システムの機能構成例を示す図である。
【図4】第一の実施の形態(非同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図5】第一の実施の形態(非同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図6】文書一覧ページの表示例を示す図である。
【図7】設定ページの表示例を示す図である。
【図8】非同期PULL型変換メソッドの引数情報の例を示す図である。
【図9】ジョブキューの構成例を示す図である。
【図10】キューアクセス部によるジョブ情報の登録処理を説明するためのフローチャートである。
【図11】ジョブファイルに保存されたジョブ情報の構成例を示す図である。
【図12】キュー情報ファイルに保存されているキュー情報の構成例を示す図である。
【図13】作業用フォルダへの対象データの保存例を示す図である。
【図14】作業用フォルダへの変換データの保存例を示す図である。
【図15】第二の実施の形態(非同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図16】第二の実施の形態(非同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図17】PUSH用設定ページの表示例を示す図である。
【図18】非同期PUSH型変換メソッドの引数情報の例を示す図である。
【図19】第二の実施の形態におけるジョブファイルに保存されたジョブ情報の構成例を示す図である。
【図20】第三の実施の形態(同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図21】第三の実施の形態(同期PULL型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図22】第四の実施の形態(同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【図23】第四の実施の形態(同期PUSH型)におけるデータ変換システムの処理を説明するためのシーケンス図である。
【符号の説明】
1 データ変換システム
10 データ変換サーバ
11、21 SOAPリスナ
12 変換ジョブ処理部
13 データ変換部
14 非同期管理部
15 文書管理接続部
16 キューアクセス部16
17 ジョブキュー
20 文書管理サーバ
22 文書管理部
23 文書管理DB
30 Webサーバ
31 httpd
32 Webアプリ
33 SOAPプロキシ
40 端末
41 Webブラウザ
100 ドライブ装置
101 記憶媒体
102 補助記憶装置
103 メモリ装置
104 演算処理装置
105 インタフェース装置
B バス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data conversion apparatus, a data conversion method, a data conversion program, and a recording medium that execute data format conversion.
[0002]
[Prior art]
At present, data in various data formats can be seen. There are many well-known data formats, such as text format, BITMAP format, JPEG format, PDF format, and GIF format.
[0003]
In addition, application-specific formats such as word processing software and spreadsheet software are also defined. Each data format has its own characteristics, and the user uses it according to the purpose.
[0004]
If these data formats can be converted, it is convenient for the user. In response to this demand, software for converting the data format (hereinafter referred to as “conversion software”) has already been provided. The user can convert predetermined document data into data in a desired data format by using conversion software.
[0005]
[Problems to be solved by the invention]
However, the conversion software needs to be installed and used for each terminal. In today's development of network technology, it is very inefficient to install software on each terminal. That is, it is not a desirable system form from the viewpoint of resource efficiency in the entire system as well as the effort required for installation.
[0006]
Also, in today's diversified types of terminals such as mobile phones and PDAs (Personal Digital (Data) Assistants), services are provided not only from PCs (Personal Computers) but also from various terminals. It is desirable to be able to do it.
[0007]
The present invention has been made in view of the above points, and it is an object of the present invention to provide a data conversion apparatus, a data conversion method, a data conversion program, and a recording medium that can provide a data format conversion function via a network. And
[0008]
[Means for Solving the Problems]
Accordingly, in order to solve the above-described problem, the present invention provides a data conversion apparatus having a data conversion means for converting the data format of predetermined data, and converting the data format of the predetermined data transmitted via a network. Communication means for receiving a request, and conversion request processing means for causing the data conversion means to convert the data format of the predetermined data based on the conversion request received by the communication means.
[0009]
In such a data conversion apparatus, data conversion can be performed based on a data conversion request transmitted via the network, and therefore a data conversion function via the network can be provided.
[0010]
In order to solve the above problems, the present invention may be a data conversion method in the data conversion apparatus, a data conversion program for causing a computer to execute the data conversion method, and a storage medium on which the data conversion program is recorded.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a diagram showing a configuration example of a data conversion system according to an embodiment of the present invention. As shown in FIG. 1, the data conversion system 1 according to the present embodiment includes a data conversion server 10, a document management server 20, a Web server 30, a terminal 40, and the like, each of which includes the Internet, a LAN, and the like. They are connected via the network 50.
[0012]
The data conversion server 10 is a computer that provides a data format conversion function of document data (hereinafter referred to as a “data conversion function”) as a Web service.
[0013]
The document management server 20 is a computer having a document management database (document management DB) for managing document data, and provides functions such as search and update of document data as a Web service.
[0014]
The Web server 30 is a so-called Web server for providing functions such as the data management server 10 and the document management server 20 as Web pages.
[0015]
The terminal 40 is a terminal having a communication function such as a PC (Personal Computer), a PDA (Personal Digital (Data) Assistant), or a mobile phone that provides an interface for the user to use the data conversion system 1. In addition, although the terminal 40 is shown as one block in the figure, it does not mean that it is physically limited to one terminal. Like a general information system, it is possible to connect a large number of terminals.
[0016]
Next, a hardware configuration example of the data conversion server 10 will be described. FIG. 2 is a diagram illustrating a hardware configuration example of the data conversion server according to the embodiment of the present invention. The data conversion server 10 in FIG. 2 includes a drive device 100, an auxiliary storage device 102, a memory device 103, an arithmetic processing device 104, and an interface device 105 that are connected to each other via a bus B. Is done.
[0017]
A data conversion program for realizing document data conversion processing in the data conversion server 10 is provided by a storage medium 101 such as a CD-ROM. When the storage medium 101 on which the data conversion program is recorded is set in the drive device 100, the data conversion program is installed from the storage medium 101 to the auxiliary storage device 102 via the drive device 100.
[0018]
The auxiliary storage device 102 stores the installed data conversion program and also stores necessary files and data. The memory device 103 reads the data conversion program from the auxiliary storage device 102 and stores it when there is an instruction to start the data conversion program. The arithmetic processing unit 104 executes functions related to the data conversion server 10 in accordance with a data conversion program stored in the memory device 103. The interface device 105 includes, for example, a modem, a router, etc., and is used for connecting to a network.
[0019]
The document management server 20 and the Web server 30 can have the same configuration.
[0020]
Next, a functional configuration example of the data conversion system 1 will be described. FIG. 3 is a diagram illustrating a functional configuration example of the data conversion system according to the embodiment of the present invention.
[0021]
The data conversion server 10 includes a SOAP listener 11, a conversion job processing unit 12, a data conversion unit 13, an asynchronous management unit 14, a document management connection unit 15, a queue access unit 16, a job queue 17, and the like.
[0022]
The SOAP listener 11 is a module that provides a function for allowing a later-described method of the conversion job processing unit 12 to be called from a Web server 30 or the like by a SOAP (Simple Object Access Protocol) RPC (Remote Procedure Call). .
[0023]
The conversion job processing unit 12 is a module that controls the entire document data conversion process, and includes a conversion request reception method, a conversion execution method, and the like.
[0024]
The conversion request receiving method is a method for receiving a conversion request from the Web server 30 or the like by SOAP RPC, and information (hereinafter referred to as “job”) to be executed based on the received conversion request. , “Job information”) is registered in the job queue 17 using the queue access unit 16.
[0025]
The conversion execution method is a method for executing document data conversion processing based on job information registered in the job queue 17.
[0026]
The data conversion unit 13 is a module in which a document data conversion function is implemented. The document data conversion function includes conversion to PDF, text, BITMAP, JPEG, JPEG2000, PNG, TIFF, or the like. The data conversion unit 13 may use commercially available data conversion software or the like.
[0027]
The asynchronous management unit 14 is a module for periodically calling the conversion execution method of the conversion job processing unit 12 and is resident as an independent process.
[0028]
The document management connection unit 15 is a module that provides an interface for calling a function of the document management unit 22 in the document management server 20 by SOAP RPC.
[0029]
The queue access unit 16 is a function group for operating the job queue 17. The job queue 17 is for temporarily storing job information. In the present embodiment, the job queue 17 is composed of folders and files.
[0030]
The document management server 20 includes a SOAP listener 21, a document management unit 22, a document management DB 23, and the like. The SOAP listener 21 is a module in which a function for enabling the function of the document management unit 22 to be called by a SOAP RPC.
[0031]
The document management unit 22 is a module that provides an interface for operating the document management DB 23. For example, the document management unit 22 registers a document acquisition method for acquiring document data from the document management DB 23, a document list acquisition method for acquiring document data list information, and document data in the document management DB 23. It has a document registration method.
[0032]
The document management DB 23 is a database that stores document data.
[0033]
The Web server 30 includes an httpd 31, a Web application 32, a SOAP proxy 33, and the like. The httpd 31 is a daemon program that controls HTTP communication with the terminal 40. When the httpd 31 receives an HTTP request from the terminal 40, the httpd 31 calls the Web application 32 corresponding to the URL specified in the HTTP request, and transmits the Web page output as a processing result by the Web application 32 to the terminal 40.
[0034]
The web application 32 is a so-called web application whose main function is to generate a web page. The Web application 32 makes a predetermined processing request to the data conversion server 10 and the document management server 20 as required by SOAP RPC, and generates a Web page for displaying the result. For example, the Web application 32 generates a Web page (hereinafter referred to as “document list page”) that displays a list of document data managed in the document management DB 23 of the document management server 20.
[0035]
The SOAP proxy 33 is a module that provides an interface for calling the functions of the data conversion server 10 and the document management server 20 by SOAP RPC to the Web application 32. The SOAP proxy 33 enables the Web application 32 to call the method of the functions of the data conversion server 10 and the document management server 20 transparently without being aware of network communication.
[0036]
In the figure, the Web application 32 is shown as one block, but there are a plurality of instances. For example, a source code is mounted for each module for generating a document management list page and other modules for generating other Web pages.
[0037]
The terminal 40 has a web browser 41. The user can browse a web page transmitted from the web server 30 by the web browser 41 of the terminal 40.
[0038]
Hereinafter, the processing of the data conversion system 1 will be described. From the viewpoint of the synchronization of the processing (first viewpoint) between the data conversion server 10 and the client side (Web server 30, terminal 40, etc.), the data conversion server 10. However, based on the viewpoint (second viewpoint) of how to obtain the document data to be converted, it will be described in a plurality of forms.
[0039]
As a first aspect, the conversion processing in the data conversion server 10 can be divided into two forms: a case where the conversion processing is executed asynchronously with respect to a request from the client side, and a case where the conversion processing is executed synchronously. Executing asynchronously means that the response by the data conversion server 10 to the document data conversion request by the terminal 40 is made before the conversion of the document data is completed. “Synchronized and executed” means that the response from the data conversion server 10 to the document data conversion request by the terminal 40 is made after the conversion of the document data is completed.
[0040]
As a second aspect, when the data conversion server 10 acquires document data to be converted from the document management server 20 (PULL type), the document data stored in the terminal 40 by the terminal 40 is converted into the data management server. 10 is uploaded into two forms (PUSH type).
[0041]
By combining the first viewpoint and the second viewpoint, four forms of an asynchronous PULL type, an asynchronous PUSH type, a synchronous PULL type, and a synchronous PUSH type are established. Hereinafter, these four modes will be described in order as first to fourth embodiments.
[0042]
First, as a first embodiment, a case will be described in which document data is converted by asynchronous PULL type processing. 4 and 5 are sequence diagrams for explaining processing of the data conversion system in the first embodiment (asynchronous PULL type). In the sequence diagrams of FIGS. 4 and 5, those that function as communication means such as the httpd 31, the SOAP proxy 33, the SOAP listener 11, the document management connection unit 15, and the SOAP listener 21 are omitted for convenience. The same applies to the subsequent sequence diagrams.
[0043]
In step S11, the user of the terminal 40 selects document data to be converted (hereinafter referred to as “target data”) on the document list page displayed on the Web browser 41, and further defines the conversion process on the setting page. When the parameter information to be set (hereinafter referred to as “conversion parameter information”) is set, the Web browser 41 transmits a target data conversion request to the Web server 30.
[0044]
FIG. 6 is a diagram illustrating a display example of a document list page. The document list page 410 can be displayed on the web browser 41 by inputting the URL of the document list page 410 to the web browser 41. That is, when the Web browser 41 transmits a transmission request for the document list page 410 to the Web server 30 based on the URL input, the Web application 32 of the Web server 30 acquires the document list of the document management unit 22 of the document management server 20. By calling the method by SOAP RPC, the list information of document data in a predetermined folder of the document management DB 23 is acquired. The Web application 32 generates a Web page (document list page 410) on which the acquired document data list information is posted. The document list page 410 generated by the web application 32 is transmitted to the terminal 40 by the httpd 31 and displayed on the web browser 41.
[0045]
In the document list page 410, each document data is displayed as a thumbnail in an area 411. Here, if a rectangular area in which one document data is displayed is called a “cell”, each cell has a check button for selecting the document data, and a document data name (document name). Has a document name display area and an icon display area. For example, a cell in which document data with the document name “Document 3” is displayed includes a check button 413, a document name display area 414, and an icon display area 415.
[0046]
Displayed when the user checks a check button corresponding to the document data to be converted (in FIG. 6, checks Document 1, Document 2, and Document 3) and clicks the document operation menu 412 (not shown). Corresponds to the desired data format among the menu items ("PDF conversion", "Textification", "BITMAP conversion", ".JPEG conversion", "JPEG2000 conversion", "PNG conversion", "TIFF conversion", etc.) When the menu item to be selected is selected, a setting page is displayed on the Web browser 41.
[0047]
FIG. 7 is a diagram illustrating a display example of the setting page. A setting page 420 in FIG. 7 is a setting page displayed when PDF conversion is selected. The setting page 420 is a Web page for setting conversion parameter information in the conversion process, and includes a target data list area 421, a file combination selection area 422, a storage location selection area 423, an archive format selection area 424, and an archive file name input area. 425, a conversion failure operation selection area 426, a priority selection area 427, and the like.
[0048]
The target data list area 421 is an area in which a list of document names of document data selected as target data on the document list page 410 is displayed.
[0049]
The file combination selection area 422 is used to select whether or not to generate converted data (hereinafter referred to as “converted data”) as one file when a plurality of document data is selected as target data. It is an area. The user can make such a selection with the tick button 4221, and in the text box 4222, a file storing one conversion data generated based on a plurality of document data (hereinafter referred to as “combined file”). You can enter a file name.
[0050]
The storage location selection region 423 is a region for selecting a storage location of conversion data. The user can select a predetermined folder or the like in the document management DB 23 as a conversion data storage location using the combo box 4231.
[0051]
The archive format selection area 424 is an area for setting information relating to conversion data archiving. The user can select whether or not to archive using the check button 4221, and can select an archive format using the combo box 4242.
[0052]
The archive file name input area 425 is an area for inputting the file name of the archive file to be generated when the conversion data is archived. The user can input the file name of the archive file in the text box 4251.
[0053]
The conversion failure operation selection area 426 is an area for selecting an operation when the conversion process fails midway due to a failure or the like. The user can select a skip button 4261 and a check button 4262 to execute by skipping or to cancel the conversion. “Skip and execute” means, for example, that if conversion of document 1, document 2 and document 3 is requested, even if conversion of document 1 fails, conversion of document 2 and document 3 is executed as it is. is there.
[0054]
The priority selection area 427 is an area for selecting the priority of the conversion request. The user can select a priority in the combo box 4271. The priority here specifies the order of conversion requests to be processed when the data conversion server 10 processes a plurality of conversion requests. That is, if a high priority is specified, there is a high possibility that the conversion request will be processed quickly. In the present embodiment, the priority is expressed by numbers such as 1, 2, 3, 4,..., And the smaller the value, the higher the priority.
[0055]
When the user sets the conversion parameter information on the setting page 420 and clicks the OK button 428, the Web browser 41 transmits the conversion request in Step S11 described above to the Web server 30 with the conversion parameter information.
[0056]
Progressing to step S12 following step S11, the web application 32 of the web server 30 calls the asynchronous PULL type conversion method which is one of the conversion request reception methods of the conversion job processing unit 12 of the data conversion server 10, thereby asynchronously. Requests conversion of document data in the PULL type.
[0057]
FIG. 8 is a diagram illustrating an example of argument information of an asynchronous PULL type conversion method. As shown in FIG. 8, the asynchronous PULL type conversion method includes the URL of the document management server, the document ID, the combined file name, the storage location, the archive format archive file name, the processing at the time of conversion failure, and the priority as arguments. Have.
[0058]
The URL of the document management server 20 is designated as the URL of the document management server. The document ID is identification information assigned to uniquely identify each document data, and here, the document ID of the target data is designated. That is, for the target data, only the document ID is specified, and the actual data of the target data is not specified as the argument value.
[0059]
The above is information specified based on the setting contents in the document list page 410. Further, the information after the combined file name is information specified based on the setting content on the setting page 420.
[0060]
In the above description, the conversion job processing unit 12 has four types of methods as the conversion request reception method, as is apparent from the expression of the asynchronous PULL type conversion method as “one of the conversion request reception methods”. . One is the above-described asynchronous PULL type conversion method, and the other three are an asynchronous PUSH type conversion method, a synchronous PULL type conversion method, and a synchronous PUSH type conversion method. Each method is for receiving a conversion request by an asynchronous PULL type, an asynchronous PUSH type, a synchronous PULL type, and a synchronous PUSH type. Therefore, the conversion job processing unit 12 identifies synchronous / asynchronous and PUSH / PULL depending on the type of method to be called (depending on the type of conversion request), and executes corresponding processing.
[0061]
In step S13 following step S12, the conversion job processing unit 12 of the data conversion server 10 for which the asynchronous PULL type conversion method has been called temporarily stores the conversion request. Thus, it is requested to save the conversion parameter information specified as an argument of the asynchronous PULL type conversion method as job information of the job to be executed in response to the conversion request.
[0062]
Progressing to step S14 following step S13, the queue access unit 16 registers the job information in the job queue 17.
[0063]
FIG. 9 is a diagram illustrating a configuration example of a job queue. As shown in FIG. 9, the job queue 17 according to the present embodiment includes a top folder 171 and a plurality of queue folders defined under the top folder 171 (priority 1 folder 172, priority 2 folder 173). , And a priority 3 folder 174), a queue information file 175 that is also arranged under the top folder 171, and job files (job file 176, job file 177, and job file generated under the queue folder) 178).
[0064]
One job file is generated for each conversion request and stores job information corresponding to each conversion request.
[0065]
In order to distinguish the priority of each job file, a plurality of queue folders are defined for each priority. That is, each job file is generated under a queue folder corresponding to the priority of the corresponding conversion request.
[0066]
The queue information file 175 is a file that stores information for determining whether there is a currently unprocessed job.
[0067]
Based on the configuration of the job queue 17 described above, job information registration processing by the queue access unit 16 in step S14 will be described in more detail. FIG. 10 is a flowchart for explaining job information registration processing by the queue access unit.
[0068]
The queue access unit 16 first assigns a job ID for uniquely identifying a job (S14a).
[0069]
Subsequently, a job file is generated in the queue folder corresponding to the job priority (conversion request priority), and the job information is registered in the job file. (S14b). For example, when the priority is 1, a job job file is generated under the priority 1 folder 172.
[0070]
FIG. 11 is a diagram illustrating a configuration example of job information stored in a job file. As shown in FIG. 11, the job information is configured by associating the job ID with the argument information (FIG. 8) of the asynchronous PULL type conversion method.
[0071]
In step S14c following step S14b, the queue access unit 16 registers the job ID in the queue information file 175.
[0072]
FIG. 12 is a diagram illustrating a configuration example of the queue information stored in the queue information file. As shown in FIG. 12, the queue information file 175 includes, as queue information, the job ID of the last processed job and the last job ID (that is, the job ID of the job for the last received conversion request). .) Accordingly, here, the queue access unit 16 updates the value of the job ID assigned last to the value of the job ID newly assigned this time. A method for using the queue information will be described later.
[0073]
This completes registration of job information in the job queue 17.
[0074]
Returning to FIG. 4, in step S <b> 15, the queue access unit 16 outputs the job ID of the job registered in the job queue 17 to the conversion job processing unit 12. Here, the conversion job processing unit 12 does not execute the requested conversion process (job) (asynchronous), and transmits the job ID to the Web application 32 as a return value of the asynchronous PULL type conversion method (S16). Note that the job ID is stored in the Web server 30 by the Web application 32 and is used when making an inquiry about the job status.
[0075]
Progressing to step S17 following step S16, the web application 32 transmits a web page (hereinafter referred to as “response page”) indicating that the conversion request has been received to the web browser 41 as a response to the conversion request. The response page is displayed by the web browser 41, and the user can confirm that the conversion request has been received normally.
[0076]
On the other hand, even after the conversion job processing unit 12 responds to the Web application 32 in step S <b> 16, in the data conversion server 10, the asynchronous management unit 14 periodically sets the conversion execution method of the conversion job processing unit 12. (S18). The conversion job processing unit 12 requests the queue access unit 16 to acquire job information from the job queue 17 based on the call by the asynchronous management unit 14 (S19).
[0077]
In step S20 following step S19, the queue access unit 16 refers to the queue information (FIG. 12) stored in the queue information file 175, so that the currently unprocessed job (hereinafter, “unprocessed job”). Whether or not there is) is determined. That is, in the queue information, the values of the job ID of the last processed job (hereinafter referred to as “final job ID”) and the last number of the job ID (hereinafter referred to as “numbered job ID”) are the same. If this is the case, it can be determined that there is no currently unprocessed job. On the other hand, if the two values are different, at least the job corresponding to the numbering job ID has not been processed yet. Therefore, the queue access unit 16 determines whether there is an unprocessed job by comparing the final job ID and the numbered job ID.
[0078]
If it is determined that there is an unprocessed job, the queue access unit 16 searches for job files in order from the queue folder with the highest priority, and acquires job information from the first found job file (S21). The queue access unit 16 outputs the acquired job information to the conversion job processing unit 12 (S22).
[0079]
If it is determined in step S20 that there is no unprocessed job, the queue access unit 16 notifies the conversion job processing unit 12 that there is no unprocessed job. In this case, the processing from step S19 to step S22 is repeatedly executed based on the re-calling from the asynchronous management unit 14.
[0080]
Progressing to step S23 following step S22, the conversion job processing unit 12 issues a transmission request for the target data based on the “document management server URL” and “document ID” in the acquired job information (FIG. 11). The data is transmitted to the document management unit 22 of the document management server 20. The target data transmission request is made by calling a document acquisition method implemented in the document management unit 22 by SOAP RPC via the document management connection unit 15.
[0081]
Progressing to step S24 following step S23, the document management unit 22 acquires the target data from the document management DB 23 and transmits it to the conversion job processing unit 12 (S25).
[0082]
Progressing to step S26 following step S25, the conversion job processing unit 12 stores the received target data in the work folder.
[0083]
FIG. 13 is a diagram illustrating an example of storing target data in a work folder. In FIG. 13, a plurality of folders defined under the work folder 181 are folders corresponding to the respective jobs (hereinafter referred to as “job folders”), and for example, the corresponding job IDs are used as the folder names. .
[0084]
Under each job folder, a Before folder is further defined. The Before folder is a folder for storing target data before conversion.
[0085]
Accordingly, in step S26, the conversion job processing unit 12 sets a job folder (for example, job folder 182) corresponding to the job currently processed (hereinafter referred to as “current job”) under the work folder 181. Further, a Before folder 183 is generated under the job folder 182, and the target data (such as document 1) is stored in the Before folder 183.
[0086]
Progressing to step S27 of FIG. 5 following step S26, the conversion job processing unit 12 converts the target data into the format specified in “data format of conversion destination” in the job information (FIG. 11). 13 is requested.
[0087]
Progressing to step S28 following step S27, the data conversion unit 13 extracts the target data from the Before folder 183, converts the target data into a specified data format (such as PDF), and converts the conversion data generated by the conversion into work And save in the folder 187.
[0088]
FIG. 14 is a diagram illustrating an example of storing the converted data in the working folder. As illustrated in FIG. 14, the data conversion unit 13 generates an After folder 184 under the job folder 182 that is a job folder corresponding to the current job, and stores the converted data under the After folder 184.
[0089]
When the response from the conversion job processing unit 12 is received (S29), the conversion job processing unit 12 retrieves the conversion data from the After folder 184 and calls the document registration method of the document management unit 22 to the document management unit 22. A request is made to register the converted data in the document management DB 23 (S30). Note that the registration destination folder is specified based on the “storage location” of the job information (FIG. 11).
[0090]
Progressing to step S31 following step S30, the document management unit 22 registers the conversion data in the designated folder, and transmits a response to the effect that the conversion data has been registered to the conversion job processing unit 12 (S32).
[0091]
In step S33 following step S32, the conversion job processing unit 12 requests the queue access unit 16 to delete the job information of the current job from the job queue 17 because the job processing has been normally completed. .
[0092]
Progressing to step S34 following step S33, the queue access unit 16 deletes the job information of the current job from the job queue 17 by deleting the job file (FIG. 10) corresponding to the current job. Further, the queue access unit 16 updates the value of “job ID of the last processed job” in the queue information file 175 to the value of the job ID of the current job, and completes the data conversion process.
[0093]
As described above, according to the data conversion server 10 in the first embodiment, conversion of document data can be executed based on a request from the terminal 40. Therefore, it is not necessary to install a program corresponding to the data conversion unit 13 necessary for document data conversion for each terminal.
[0094]
Since one data conversion server 10 corresponds to a plurality of terminals 40, causing the data conversion server 10 to execute conversion processing can improve resource efficiency in the entire system and enhance the function of the data conversion unit 13. And can be flexibly adapted to version upgrades.
[0095]
In addition, since the data conversion server 10 in the first embodiment acquires document data by the PULL type, it can be used without inconvenience even from a mobile phone or the like that is not suitable for handling large data.
[0096]
Further, since the data conversion server 10 in the first embodiment executes the conversion process asynchronously with respect to the terminal 40, the Web browser 41 of the terminal 40 that has requested conversion of the document data waits for a response to the conversion request. It is possible to return early from this state. Therefore, the user of the Web browser 41 can perform another work in the Web browser 41 without waiting for a long time after making a document data conversion request. That is, it is possible to prevent an adverse effect of an increase in waiting time until the conversion process is completed, which can be caused by performing the conversion process in the data conversion server 10 in an integrated manner.
[0097]
Furthermore, since the data conversion server 10 controls the order in which the conversion requests are processed according to the priority, the data conversion server 10 can execute the conversion process flexibly corresponding to the urgency level or the like.
[0098]
Next, as a second embodiment, a case where document data is converted by asynchronous PUSH type processing will be described. FIGS. 15 and 16 are sequence diagrams for explaining the processing of the data conversion system in the second embodiment (asynchronous PUSH type).
[0099]
When the user of the terminal 40 sets the target data and the conversion parameter information on the setting page for PUSH type (hereinafter referred to as “PUSH setting page”) displayed on the Web browser 41, the terminal 40 sends the information to the Web server 30. On the other hand, the target data conversion request is transmitted, and the actual data of the target data is uploaded to the Web server 30 (S41).
[0100]
FIG. 17 is a diagram illustrating a display example of a setting page for PUSH. The PUSH setting page 430 in FIG. 17 has substantially the same configuration as the setting page 420 (FIG. 7), but a target data selection area 431 is arranged instead of the target data list area 421 in the setting page 420. It is different in point.
[0101]
The target data selection area 431 is an area for selecting target data from document data stored in the terminal 40. When the user clicks the file selection button 4312, a file dialog is displayed, and the document name of the document data selected on the file dialog is displayed in the text box 4311 and recognized as target data.
[0102]
Accordingly, when the user selects document data as the target data on the PUSH setting page 430, sets other conversion parameter information, and clicks the OK button 432, the process of step S41 described above is executed.
[0103]
Progressing to step S42 following step S41, the web application 32 of the web server 30 requests conversion of document data by calling the asynchronous PUSH type conversion method of the conversion job processing unit 12 of the data conversion server 10.
[0104]
FIG. 18 is a diagram illustrating an example of argument information of an asynchronous PUSH type conversion method. As shown in FIG. 18, the argument information of the asynchronous PUSH type conversion method is almost the same as the argument information of the asynchronous PULL type conversion method (FIG. 8), but in that it has actual data of the target data instead of the document ID. Different. Therefore, in step S24, the Web application 32 designates the actual data of the target data uploaded from the Web browser 41 as the value of the argument and calls the asynchronous PUSH type conversion method. It is transmitted to the conversion device 10.
[0105]
Progressing to step S43 following step S42, the conversion job processing unit 12 for which the asynchronous PUSH type conversion method has been called sends the queue access unit 16 the conversion parameters specified as arguments of the asynchronous PUSH type conversion method as job information. Request to save information.
[0106]
In step S44 following step S43, the queue access unit 16 registers the job information in the job queue 17 (FIG. 10) by the same procedure as described in the first embodiment (FIG. 9), and the job The ID is output to the conversion job processing unit 12 (S45). However, the configuration of the job information stored in the job file is slightly different from that in the first embodiment (FIG. 11).
[0107]
FIG. 19 is a diagram illustrating a configuration example of job information stored in a job file according to the second embodiment. As shown in FIG. 19, the job information in the second embodiment does not include a document ID. This is because in the second embodiment, since the actual data of the target data has already been uploaded, it is not necessary to identify the target data by the document ID. Further, the job information in the second embodiment has “target data storage location” instead of “document management server URL”. “Target data storage location” means a path name or the like of a location for storing uploaded target data.
[0108]
Progressing to step S46 following step S45, the conversion job processing unit 12 converts the actual data of the target data specified as the argument of the asynchronous PUSH type conversion method into the Before of the working folder 181 as in step S26 (FIG. 4). Save it to a folder ("Target data storage location").
[0109]
Subsequent to step S46, the process proceeds to step S47, and thereafter, from step S16 to step S35 (FIGS. 4 and 5) in the first embodiment, the same processing as step S62 in FIG. In the second embodiment, the process for acquiring target data from the document management server 20 (FIG. 4: S23 to S26) is not executed, as described above, the target data has already been uploaded to the data conversion server 10, This is because it is stored in the working folder 181.)
[0110]
That is, at this point, the conversion job processing unit 12 does not execute the requested conversion process (asynchronous) and transmits the job ID to the Web application 32 (S47). A response page is transmitted to the web browser 41 by the web application 32 and displayed on the web browser 41 (S48).
[0111]
Further, based on the periodic call by the asynchronous management unit 14 (S49), the conversion job processing unit 12 acquires the job information registered in the job queue 17 from the queue access unit 16 (S50 to S53), and the job Based on the information, the data conversion unit 13 is caused to execute conversion processing of the target data that has already been uploaded and saved in the work folder (S54 to S56).
[0112]
Subsequently, the conversion job processing unit 12 registers the conversion data in the document management DB 23 by transmitting the conversion data generated by the conversion processing to the document management unit 22 (S57 to S59), and performs a job in the queue access unit 16. The job information of the current job is deleted from the queue 17 (S60 to S62).
[0113]
As described above, according to the data conversion server 10 in the second embodiment, conversion processing of document data can be executed based on a request from the terminal 40, and therefore in the first embodiment. Similar to the data conversion server 10, the resource efficiency of the entire system can be increased, and the function enhancement of the data conversion unit 13 can be flexibly dealt with.
[0114]
In addition, since the data conversion server 10 according to the second embodiment sets document data uploaded from the terminal 40 as the conversion target of the document data, the user can use the document data generated or edited in the terminal 40 as it is (document It can be designated as a conversion target (without going through operations such as registration to the management server 20), and a document data conversion request can be easily made.
[0115]
Furthermore, since the data conversion system 1 in the second embodiment generates print data asynchronously with respect to the terminal 40, the Web browser 41 of the terminal 40 that has requested conversion of document data waits for a response to the conversion request. It is possible to return early from this state. Therefore, the user of the Web browser 41 can perform another operation in the Web browser 41 without waiting after making a document data conversion request.
[0116]
Next, a case where document data is converted by synchronous PULL type processing will be described as a third embodiment. 20 and 21 are sequence diagrams for explaining processing of the data conversion system in the third embodiment (synchronous PULL type). Since the third embodiment is common to the first embodiment in that it is a PULL type, the processing procedure has much in common with the first embodiment. Therefore, the difference from the first embodiment (FIGS. 4 and 5) will be mainly described.
[0117]
From step S71 to step S75, processing substantially similar to that from step S11 to step S15 in the first embodiment is executed. That is, the conversion parameter information set on the setting page (FIG. 7) is transmitted from the Web browser 41 to the Web application 32 via the document list page 410 (FIG. 6) (S71). The conversion request reception method is called (S72). However, in step S72, the synchronous PULL type conversion method is called instead of the asynchronous PULL type conversion method in the first embodiment. The argument information of the synchronous PULL type conversion method is the same as that of the asynchronous PULL type conversion method.
[0118]
The conversion job processing unit 12 that has been called the synchronous PULL type conversion method registers the job information in the job queue 17 using the queue access unit 16 (S73 to S75).
[0119]
Progressing to step S76 following step S75, the conversion job processing unit 12 waits for completion of a data conversion process to be described later without making a response to the web application 32 at this point.
[0120]
Subsequent to step S76, the process proceeds to step S77, and thereafter, the same processing as that from step S18 to step S35 (FIGS. 4 and 5) in the first embodiment is executed up to step S94.
[0121]
That is, based on the periodic conversion execution method call by the asynchronous management unit 14 (S77), the conversion job processing unit 12 acquires job information registered in the job queue 17 from the queue access unit 16 (S78-). In step S81, the target data is acquired from the document management unit 32 based on the job information (S82 to S85). Subsequently, the conversion job processing unit 12 causes the data conversion unit 13 to execute conversion processing of the target data (S86 to S88), and transmits the conversion data generated by the conversion processing to the document management unit 22, thereby converting the conversion data. Is registered in the document management DB 23 (S89 to S91), and the queue access unit 16 deletes the job information of the current job from the job queue 17 (S92 to S94).
[0122]
It should be noted that the process (or thread, hereinafter simply referred to as “process”) that executes the processing from step S77 to step S94 is different from the process that waits in step S76. That is, the former process (hereinafter referred to as “conversion execution process”) is a process to which the asynchronous management unit 14 belongs, whereas the latter process (hereinafter referred to as “waiting process”) is synchronized in step S72. It is a process that is activated based on the invocation of a PULL type conversion method. This point is the same in the first embodiment, but in the third embodiment, the waiting process is performed in step S76. In the sequence diagrams of FIGS. 20 and 21, the waiting process is performed. Since the conversion job processing unit 12 being performed and the conversion job processing unit 12 related to the processing from step S77 to step S94 are indicated by the same axis, the processes are different for understanding the relationship between the two. It is necessary to confirm that.
[0123]
Progressing to step S95 following step S94, the conversion job processing unit 12 in the conversion execution process notifies the waiting process that conversion processing has been completed (conversion processing completion notification).
[0124]
Progressing to step S96 following step S95, the conversion job processing unit 12 in the waiting process that has received the notification of completion of the conversion process sends a response (return value) to the call of the synchronous PULL type conversion method in step S72 to the Web application 32. To send. Note that the synchronous PULL type conversion method is less required to be sent to the Web application 32 by including the job ID in the response than the asynchronous PULL type conversion method. This is because the Web application 32 receives the response after the conversion process is completed and the success or failure is revealed, and it is not necessary for the Web application 32 to inquire the job status to the data management server 10 thereafter. . Therefore, the return value of the synchronous PULL type conversion method may be only information indicating whether or not the conversion process has been normally completed.
[0125]
Proceeding to step S97 following step S96, the web application 32 transmits, to the web browser 41, a web page notifying that the conversion process has been completed (hereinafter referred to as “completion notification page”) as a response to the conversion request. . The completion notification page is displayed by the web browser 41. Note that the processing in step S97 corresponds to the processing in step S17 (FIG. 4) in the first embodiment. However, the response page transmission in step S17 is executed before the conversion process is executed, whereas the completion notification page transmission in step S97 is executed after the conversion process is completed. Therefore, the user who browsed the completion notification page confirms that the conversion process has been completed, not that the conversion request has been accepted.
[0126]
As described above, according to the data conversion server 10 in the third embodiment, the conversion process can be executed based on the request from the terminal 40 for the conversion of the document data. Similarly to the data conversion server 10 in the form, the resource efficiency of the entire system can be increased and the function enhancement of the data conversion unit 13 can be flexibly dealt with.
[0127]
In addition, since the data conversion server 10 according to the third embodiment acquires document data by the PULL type, it can be used without inconvenience even from a mobile phone that is not suitable for handling large data.
[0128]
Furthermore, since the data conversion sub-field 10 in the third embodiment executes document data conversion processing in response to a conversion request from the terminal 40, the user of the terminal 40 converts the document data. Can be confirmed on the spot.
[0129]
Note that when the processing is executed synchronously as in the third embodiment, the calling processing by the asynchronous management unit 14 is not necessarily required. In other words, the conversion job processing unit 12 in the waiting process may execute the processes in and after step S78 without performing the waiting process in step S76. However, by taking the procedure that the conversion job processing unit 12 executes the conversion process based on the call of the asynchronous management unit 14, the affinity between the synchronous type procedure and the asynchronous type procedure can be enhanced. Therefore, the source code can be shared, and the development efficiency can be improved. For this reason, in the third embodiment, the waiting process waits for the completion of the conversion process (S76), and the conversion execution process executes the conversion process based on the call of the asynchronous management unit 14. Is adopted. This also applies to the fourth embodiment described later.
[0130]
Next, a case where document data is converted by synchronous PUSH type processing will be described as a fourth embodiment. 22 and 23 are sequence diagrams for explaining the processing of the data conversion system in the fourth embodiment (synchronous PUSH type).
[0131]
From step S101 to step S106, processing similar to that from step S41 to step S46 (FIG. 15) in the second embodiment taking the same PUSH type is executed. That is, together with the conversion parameter information set on the PUSH setting page 430, the document data stored in the terminal 40 is uploaded to the data conversion server 10 as target data (S101, S102). However, in step S102, the synchronous PUSH type conversion method is called instead of the asynchronous PUSH type conversion method in the second embodiment. The argument information of the synchronous PUSH type conversion method is the same as that of the asynchronous PUSH type conversion method.
[0132]
The conversion job processing unit 12 that has called the synchronous PUSH type conversion method registers the job information in the job queue 17 using the queue access unit 16 (S103 to S105), and uploads the target data to the work folder 181. Save (S106).
[0133]
Subsequent to step S106, the process proceeds to step S107, and thereafter, the same processing as that from step S76 to step S97 (FIGS. 20 and 21) in the third embodiment taking the same synchronization type is executed until step S124 (FIG. 20 and FIG. 21). However, in the fourth embodiment, the process of acquiring target data from the document management server 20 (FIG. 20: S82 to S85) is not executed, as described above, the target data has already been uploaded to the data conversion server 10. This is because it is stored in the working folder 181.)
[0134]
That is, the conversion job processing unit 12 in the waiting process waits for conversion processing (S107).
[0135]
Based on the periodic conversion execution method call by the asynchronous management unit 14 (S108), the conversion job processing unit 12 in the conversion execution process acquires the job information registered in the job queue 17 from the queue access unit 16 ( S109 to S112), based on the job information, the data conversion unit 13 is caused to execute the target data conversion process (S113 to S115).
[0136]
Subsequently, the conversion job processing unit 12 registers the conversion data in the document management DB 23 by transmitting the conversion data generated by the conversion processing to the document management unit 22 (S116 to S118), and performs a job in the queue access unit 16. The job information of the current job is deleted from the queue 17 (S119 to S121).
[0137]
When the conversion job processing unit 12 in the conversion execution process notifies the waiting process of the completion of the conversion processing, the conversion job processing unit 12 in the waiting process sends a response (return value) to the call of the synchronous PUSH type conversion method in step S102 to the Web application 32. Note that the return value of the synchronous PULL type conversion method may be only information indicating whether or not the conversion process has been normally completed, as with the return value of the synchronous PULL type method in the third embodiment.
[0138]
As a response to the conversion request, the web application 32 transmits a completion notification page to the web browser 41, and the completion notification page is displayed by the web browser 41 (S124). The user who browsed the completion notification page can confirm that the conversion process has been completed.
[0139]
As described above, according to the data conversion server 10 in the fourth embodiment, the conversion processing of document data can be executed based on a request from the terminal 40, and thus the other embodiments described above. As with the data management server 10 in FIG. 1, the resource efficiency of the entire system can be increased and the function enhancement of the data conversion unit 13 can be flexibly dealt with.
[0140]
In addition, since the data conversion server 10 according to the fourth embodiment uses the document data uploaded from the terminal 40 as a conversion target, the user can directly convert the document data generated or edited in the terminal 40 into the document data conversion target. The document data conversion request can be easily made.
[0141]
Furthermore, since the data conversion server 10 in the fourth embodiment executes document data conversion processing synchronously with the terminal 40, the user of the terminal 40 confirms that the conversion of the document data has been completed on the spot. Can be confirmed.
[0142]
Note that the above-described four embodiments are not in an exclusive relationship with each other, and implementations in the four forms may coexist. For example, the PUSH type and PULL type selection is arbitrarily determined by the user. That is, when the Web page to be used is different between the PULL type and the PUSH type as in the present embodiment, the PULL type / PUSH is selected depending on which Web page is displayed by the user.
[0143]
On the other hand, the selection of the synchronous type or the asynchronous type may be specified with a check button or the like on the setting page 410 or the setting page 420 for PUSH, or the data conversion server 10 may be automatically determined. . In the latter case, for example, when document data conversion requests are received from a plurality of terminals at the same time and the load of the data conversion server 10 is high, or the size of the document data to be converted is a predetermined value or more. If it takes a long time to complete the processing, the processing is performed in a short time such as when the load on the data conversion server 10 is low or the size of the document data to be converted is small. If the process can be completed, it may be a synchronous type.
[0144]
Furthermore, in the above-described embodiment, the example in which the Web server 30, the data conversion server 10, and the document management server 20 are configured by independent hardware has been described. However, all functions are implemented in one server machine. Alternatively, an independent server may be set up in smaller functional units.
[0145]
The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.
[0146]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a data format conversion function via a network.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration example of a data conversion system according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a hardware configuration example of a data conversion server in the embodiment of the present invention.
FIG. 3 is a diagram illustrating a functional configuration example of a data conversion system according to an embodiment of the present invention.
FIG. 4 is a sequence diagram for explaining processing of the data conversion system in the first embodiment (asynchronous PULL type);
FIG. 5 is a sequence diagram for explaining processing of the data conversion system in the first embodiment (asynchronous PULL type);
FIG. 6 is a diagram illustrating a display example of a document list page.
FIG. 7 is a diagram illustrating a display example of a setting page.
FIG. 8 is a diagram illustrating an example of argument information of an asynchronous PULL type conversion method.
FIG. 9 is a diagram illustrating a configuration example of a job queue.
FIG. 10 is a flowchart for explaining job information registration processing by a queue access unit;
FIG. 11 is a diagram illustrating a configuration example of job information stored in a job file.
FIG. 12 is a diagram illustrating a configuration example of queue information stored in a queue information file.
FIG. 13 is a diagram illustrating an example of saving target data in a work folder.
FIG. 14 is a diagram illustrating an example of storing converted data in a working folder.
FIG. 15 is a sequence diagram for explaining processing of the data conversion system in the second embodiment (asynchronous PUSH type);
FIG. 16 is a sequence diagram for explaining processing of the data conversion system in the second embodiment (asynchronous PUSH type);
FIG. 17 is a diagram illustrating a display example of a setting page for PUSH.
FIG. 18 is a diagram illustrating an example of argument information of an asynchronous PUSH type conversion method.
FIG. 19 is a diagram illustrating a configuration example of job information stored in a job file according to the second embodiment.
FIG. 20 is a sequence diagram for explaining processing of the data conversion system in the third embodiment (synchronous PULL type).
FIG. 21 is a sequence diagram for explaining processing of the data conversion system in the third embodiment (synchronous PULL type);
FIG. 22 is a sequence diagram for explaining processing of the data conversion system in the fourth embodiment (synchronous PUSH type);
FIG. 23 is a sequence diagram for explaining processing of the data conversion system in the fourth embodiment (synchronous PUSH type);
[Explanation of symbols]
1 Data conversion system
10 Data conversion server
11, 21 SOAP Listener
12 Conversion job processing section
13 Data converter
14 Asynchronous Management Department
15 Document management connection
16 Queue access unit 16
17 Job queue
20 Document management server
22 Document Management Department
23 Document Management DB
30 Web server
31 httpd
32 Web application
33 SOAP proxy
40 terminals
41 Web browser
100 drive device
101 storage medium
102 Auxiliary storage device
103 Memory device
104 arithmetic processing unit
105 Interface device
B bus

Claims (23)

所定のデータのデータ形式を変換するデータ変換手段を有するデータ変換装置であって、
ネットワークを介して送信される、前記所定のデータのデータ形式の変換要求を受信する通信手段と、
前記通信手段が受信した前記変換要求に基づいて、前記データ変換手段に前記所定のデータのデータ形式を変換させる変換要求処理手段とを有することを特徴とするデータ変換装置。
A data conversion device having data conversion means for converting the data format of predetermined data,
A communication means for receiving a conversion request of a data format of the predetermined data transmitted via a network;
A data conversion apparatus comprising: conversion request processing means for causing the data conversion means to convert the data format of the predetermined data based on the conversion request received by the communication means.
前記変換要求処理手段は、前記変換要求を受け付ける変換メソッドを有し、
前記変換要求は、前記変換メソッドの呼び出し要求であることを特徴とする請求項1記載のデータ変換装置。
The conversion request processing means has a conversion method for receiving the conversion request,
The data conversion apparatus according to claim 1, wherein the conversion request is a call request for the conversion method.
前記変換メソッドに対する呼び出し要求は、SOAPのRPCによることを特徴とする請求項2記載のデータ変換装置。3. The data conversion apparatus according to claim 2, wherein the call request for the conversion method is based on SOAP RPC. 前記変換要求処理手段は、前記変換要求の種類に応じ、前記データ変換手段に前記所定のデータのデータ形式を変換させる前に前記通信手段に前記変換要求に対する応答を送信させることを特徴とする請求項1乃至3いずれか一項記載のデータ変換装置。The conversion request processing unit causes the communication unit to transmit a response to the conversion request before causing the data conversion unit to convert the data format of the predetermined data according to the type of the conversion request. Item 4. The data conversion device according to any one of Items 1 to 3. 前記変換要求処理手段は、前記変換要求の種類に応じ、前記データ変換手段に前記所定のデータのデータ形式を変換させた後に前記通信手段に前記変換要求に対する応答を送信させることを特徴とする請求項1乃至3いずれか一項記載のデータ変換装置。The conversion request processing means causes the communication means to transmit a response to the conversion request after the data conversion means converts the data format of the predetermined data according to the type of the conversion request. Item 4. The data conversion device according to any one of Items 1 to 3. 前記変換要求に基づく変換処理に関するジョブ情報を管理するジョブ情報管理手段を更に有し、
前記変換要求処理手段は、前記変換要求に含まれる情報を前記ジョブ情報として前記ジョブ管理手段に登録するジョブ情報登録手段と、
前記ジョブ情報管理手段より前記ジョブ情報を定期的に取得し、取得した前記ジョブ情報に基づいて前記データ変換手段に前記所定のデータのデータ形式を変換させるジョブ処理手段とを有することを特徴とする請求項1乃至5いずれか一項記載のデータ変換装置。
Job information management means for managing job information related to conversion processing based on the conversion request;
The conversion request processing means includes job information registration means for registering information included in the conversion request as the job information in the job management means,
Job processing means for periodically acquiring the job information from the job information management means and causing the data conversion means to convert the data format of the predetermined data based on the acquired job information. The data conversion apparatus according to claim 1.
前記ジョブ情報登録手段は、前記変換要求の種類に応じ、前記ジョブ情報を前記ジョブ管理手段に登録した後、前記変換手段による前記所定のデータのデータ形式の変換を待ち合わせずに前記通信手段に前記変換要求に対する応答を送信させることを特徴とする請求項6記載のデータ変換装置。The job information registration unit registers the job information in the job management unit in accordance with the type of the conversion request, and then waits for the conversion unit to convert the data format of the predetermined data to the communication unit without waiting for the conversion. The data conversion apparatus according to claim 6, wherein a response to the conversion request is transmitted. 前記ジョブ情報登録手段は、前記変換要求の種類に応じ、前記ジョブ情報を前記ジョブ管理手段に登録し、前記変換手段による前記所定のデータのデータ形式の変換が完了した後に前記通信手段に前記変換要求に対する応答を送信させることを特徴とする請求項6又は7記載のデータ変換装置。The job information registration unit registers the job information in the job management unit in accordance with the type of the conversion request, and after the conversion of the data format of the predetermined data by the conversion unit is completed, the job information registration unit converts the job information into the communication unit. 8. The data conversion apparatus according to claim 6, wherein a response to the request is transmitted. 前記ジョブ情報管理手段は、前記変換要求に含まれている前記変換要求の優先度に応じて前記ジョブ情報を管理し、
前記ジョブ処理手段は、前記優先度の高い変換要求から処理することを特徴とする請求項6乃至8いずれか一項記載のデータ変換装置。
The job information management means manages the job information according to the priority of the conversion request included in the conversion request,
The data conversion apparatus according to claim 6, wherein the job processing unit processes the conversion request with a high priority.
前記ジョブ情報管理手段は、前記優先度ごとに定義された複数のフォルダを有し、
前記ジョブ情報登録手段は、前記変換要求の優先度に応じた前記フォルダに前記ジョブ情報を登録し、
前記ジョブ処理手段は、前記優先度の高いフォルダから順に前記ジョブ情報を取得することを特徴とする請求項9記載のデータ変換装置。
The job information management means has a plurality of folders defined for each priority,
The job information registration means registers the job information in the folder according to the priority of the conversion request,
The data conversion apparatus according to claim 9, wherein the job processing unit acquires the job information in order from the folder with the highest priority.
最後に受信した前記変換要求に対するジョブ情報のジョブ識別情報である第一のジョブ識別情報と、最後に処理した前記変換要求に対するジョブ情報のジョブ識別情報である第二のジョブ識別情報とを管理するジョブ識別情報管理手段を更に有し、
前記ジョブ処理手段は、前記ジョブ識別情報管理手段より取得した前記第一のジョブ識別情報と前記第二のジョブ識別情報とが同一である場合に、前記ジョブ情報を取得することを特徴とする請求項6乃至10いずれか一項記載のデータ変換装置。
Managing first job identification information that is job identification information of job information for the last received conversion request, and second job identification information that is job identification information of job information for the last processed conversion request. A job identification information management means;
The job processing unit acquires the job information when the first job identification information and the second job identification information acquired from the job identification information management unit are the same. Item 11. The data conversion device according to any one of Items 6 to 10.
前記所定のデータのデータ識別情報に基づいて前記所定のデータを取得するデータ取得手段を更に有し、
前記変換要求処理手段は、前記変換要求に前記所定のデータが含まれていない場合は、前記データ取得手段が前記変換要求に含まれている前記データ識別情報に基づいて取得した前記所定のデータのデータ形式を前記変換手段に変換させることを特徴とする請求項1乃至11いずれか一項記載のデータ変換装置。
Further comprising data acquisition means for acquiring the predetermined data based on data identification information of the predetermined data;
The conversion request processing means, when the predetermined data is not included in the conversion request, the data acquisition means of the predetermined data acquired based on the data identification information included in the conversion request 12. A data conversion apparatus according to claim 1, wherein the data format is converted by the conversion means.
前記データ取得手段は、ネットワークを介して接続している第一のデータ管理装置より前記所定のデータを取得することを特徴とする請求項12いずれか一項記載のデータ変換装置。13. The data conversion apparatus according to claim 12, wherein the data acquisition unit acquires the predetermined data from a first data management apparatus connected via a network. 前記変換要求処理手段は、前記変換要求に前記所定のデータが含まれている場合は、該データのデータ形式を前記変換手段に変換させることを特徴とする請求項1乃至11いずれか一項記載のデータ変換装置。12. The conversion request processing unit, when the predetermined data is included in the conversion request, causes the conversion unit to convert the data format of the data. Data converter. 前記変換手段が前記所定のデータを変換することにより生成した変換データを、ネットワークを介して接続している第二のデータ管理サーバに登録する変換データ登録手段を更に有することを特徴とする請求項1乃至14いずれか一項記載のデータ変換装置。The conversion data registration means for registering the conversion data generated by converting the predetermined data by the conversion means in a second data management server connected via a network. The data conversion device according to any one of 1 to 14. 所定のデータのデータ形式を変換するデータ変換装置におけるデータ変換方法であって、
ネットワークを介して送信される、前記所定のデータのデータ形式の変換要求を受信する通信手順と、
前記変換要求に基づいて、前記所定のデータのデータ形式を変換するデータ変換手順と、
前記変換要求の種類に応じ、前記データ変換手順において前記所定のデータのデータ形式の変換が行われる前に、前記変換要求に対する応答を送信する応答送信手順とを有することを特徴とするデータ変換方法。
A data conversion method in a data conversion device for converting the data format of predetermined data,
A communication procedure for receiving a conversion request of a data format of the predetermined data transmitted via a network;
A data conversion procedure for converting the data format of the predetermined data based on the conversion request;
A data transmission method comprising: a response transmission procedure for transmitting a response to the conversion request before the conversion of the data format of the predetermined data is performed in the data conversion procedure according to the type of the conversion request. .
前記応答送信手順は、前記変換要求の種類に応じ、前記データ変換手順における前記所定のデータデータ形式の変換が完了した後に前記変換要求に対する応答を送信することを特徴とする請求項16記載のデータ変換方法。17. The data according to claim 16, wherein the response transmission procedure transmits a response to the conversion request after the conversion of the predetermined data format in the data conversion procedure is completed according to the type of the conversion request. Conversion method. 前記変換要求受信手順は、受信した変換要求に基づく変換処理に関するジョブ情報を所定の記憶領域に登録し、
前記データ変換手順は、
前記所定の記憶領域より前記ジョブ情報を定期的に取得するジョブ情報取得手順と、
前記ジョブ情報取得手順において取得された前記ジョブ情報に基づいて前記所定のデータのデータ形式を変換するジョブ実行手順とを有し、
前記応答送信手順は、前記変換要求の種類に応じ、前記変換要求受信手順において前記ジョブ情報が前記所定の記録領域に登録された後、前記ジョブ実行手順における前記所定のデータのデータ形式の変換を待ち合わせずに前記変換要求に対する応答を送信することを特徴とする請求項16又は17記載のデータ変換方法。
The conversion request receiving procedure registers job information related to conversion processing based on the received conversion request in a predetermined storage area,
The data conversion procedure includes:
A job information acquisition procedure for periodically acquiring the job information from the predetermined storage area;
A job execution procedure for converting the data format of the predetermined data based on the job information acquired in the job information acquisition procedure;
The response transmission procedure converts the data format of the predetermined data in the job execution procedure after the job information is registered in the predetermined recording area in the conversion request reception procedure according to the type of the conversion request. The data conversion method according to claim 16 or 17, wherein a response to the conversion request is transmitted without waiting.
前記応答送信手順は、前記変換要求の種類に応じ、前記ジョブ実行手順における前記所定のデータのデータ形式の変換を待ち合わせて前記変換要求に対する応答を送信することを特徴とする請求項16乃至18いずれか一項記載のデータ変換方法。The response transmission procedure waits for the conversion of the data format of the predetermined data in the job execution procedure according to the type of the conversion request, and transmits a response to the conversion request. The data conversion method according to claim 1. 前記所定のデータのデータ識別情報に基づいて前記所定のデータを取得するデータ取得手順を更に有し、
前記データ変換手順は、前記変換要求に前記所定のデータが含まれていない場合は、前記データ取得手順において前記変換要求に含まれている前記データ識別情報に基づいて取得された前記所定のデータのデータ形式を変換することを特徴とする請求項16乃至19いずれか一項記載のデータ変換方法。
A data acquisition procedure for acquiring the predetermined data based on data identification information of the predetermined data;
In the data conversion procedure, when the predetermined data is not included in the conversion request, the data conversion procedure includes the step of the predetermined data acquired based on the data identification information included in the conversion request in the data acquisition procedure. 20. The data conversion method according to claim 16, wherein the data format is converted.
前記データ変換手順は、前記変換要求に前記所定のデータが含まれている場合は、該データのデータ形式を変換することを特徴とする請求項16乃至20いずれか一項記載のデータ変換方法。21. The data conversion method according to claim 16, wherein the data conversion procedure converts the data format of the data when the predetermined data is included in the conversion request. 所定のデータのデータ形式を変換するデータ変換装置に、
ネットワークを介して送信される、前記所定のデータのデータ形式の変換要求を受信する通信手順と、
前記変換要求に基づいて、前記所定のデータのデータ形式を変換するデータ変換手順と、
前記変換要求の種類に応じ、前記データ変換手順において前記所定のデータのデータ形式の変換が行われる前に、前記変換要求に対する応答を送信する応答送信手順とを実行させるためのデータ変換プログラム。
To a data conversion device that converts the data format of predetermined data,
A communication procedure for receiving a conversion request of a data format of the predetermined data transmitted via a network;
A data conversion procedure for converting the data format of the predetermined data based on the conversion request;
A data conversion program for executing a response transmission procedure for transmitting a response to the conversion request before the conversion of the data format of the predetermined data is performed in the data conversion procedure according to the type of the conversion request.
所定のデータのデータ形式を変換するデータ変換装置に、
ネットワークを介して送信される、前記所定のデータのデータ形式の変換要求を受信する通信手順と、
前記変換要求に基づいて、前記所定のデータのデータ形式を変換するデータ変換手順と、
前記変換要求の種類に応じ、前記データ変換手順において前記所定のデータのデータ形式の変換が行われる前に、前記変換要求に対する応答を送信する応答送信手順とを実行させるためのデータ変換プログラムを記録したコンピュータ読み取り可能な記録媒体。
To a data conversion device that converts the data format of predetermined data,
A communication procedure for receiving a conversion request of a data format of the predetermined data transmitted via a network;
A data conversion procedure for converting the data format of the predetermined data based on the conversion request;
A data conversion program for executing a response transmission procedure for transmitting a response to the conversion request before the data conversion of the predetermined data is performed in the data conversion procedure according to the type of the conversion request. Computer-readable recording medium.
JP2003189800A 2003-07-01 2003-07-01 Device, method and program for converting data, and recording medium Pending JP2005025476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003189800A JP2005025476A (en) 2003-07-01 2003-07-01 Device, method and program for converting data, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003189800A JP2005025476A (en) 2003-07-01 2003-07-01 Device, method and program for converting data, and recording medium

Publications (1)

Publication Number Publication Date
JP2005025476A true JP2005025476A (en) 2005-01-27

Family

ID=34187902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003189800A Pending JP2005025476A (en) 2003-07-01 2003-07-01 Device, method and program for converting data, and recording medium

Country Status (1)

Country Link
JP (1) JP2005025476A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118623A (en) * 2013-12-19 2015-06-25 株式会社リコー Document information processing system, document information processing method, document information processing apparatus, and document information processing program
JP2015126350A (en) * 2013-12-26 2015-07-06 ブラザー工業株式会社 Information processing program and information processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118623A (en) * 2013-12-19 2015-06-25 株式会社リコー Document information processing system, document information processing method, document information processing apparatus, and document information processing program
JP2015126350A (en) * 2013-12-26 2015-07-06 ブラザー工業株式会社 Information processing program and information processor

Similar Documents

Publication Publication Date Title
JP5899749B2 (en) Control system, control device, and control program
US8230200B2 (en) Image forming apparatus capable of creating, managing and using job history and control method for the same
US8826176B2 (en) Information processing apparatus and control method
JP5704800B2 (en) Data processing apparatus, data processing method, and program
JP2002200827A (en) Imaging apparatus, imaging method and program for executing that method by computer
JP5638761B2 (en) Screen generation method, screen display method, screen generation device, and program
US20110292460A1 (en) Information processing system, information processing apparatus, control method thereof, and storage medium
JP5804749B2 (en) Data processing apparatus, data processing method and program
JP4625282B2 (en) Information processing apparatus, file operation method, file operation program, and recording medium
US8073827B2 (en) Processing device and processing method
US7242496B2 (en) Facsimile machine and data conversion device
JP4030943B2 (en) Image processing apparatus, image processing system, control method for image processing apparatus, program, and recording medium
US20040193746A1 (en) Service search device, service search method and document processing system
JP2012257001A (en) Information processor, property setting method, and computer program
JP2006235735A (en) Information processor, file operation program, and recording medium
JP2015041331A (en) Information processing terminal, method for controlling information processing terminal, and program
JP2012075087A (en) Image processing apparatus, processing unit, communication system, transmission method, program and storage medium
JP2005025476A (en) Device, method and program for converting data, and recording medium
JP5560905B2 (en) Remote control system, device to be controlled, operation terminal, and remote control method
JP2004280600A (en) Printing management device, printer management device, printing management method, printing management program, and printing management system
JP2015056838A (en) Distribution device, distribution method, and distribution program
US20090064201A1 (en) Image Forming Apparatus, Application Management Method, and Computer-Readable Recording Medium Having Application Management Program
JP2012243109A (en) Image processing system
JP2004287625A (en) Print data generation device, print data generation method, print data generation program, and recording medium
JP2000293458A (en) Data distribution device, data receiver and controlling method of them

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051025

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070615

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071002