JP5289349B2 - Document file browsing system - Google Patents
Document file browsing system Download PDFInfo
- Publication number
- JP5289349B2 JP5289349B2 JP2010013261A JP2010013261A JP5289349B2 JP 5289349 B2 JP5289349 B2 JP 5289349B2 JP 2010013261 A JP2010013261 A JP 2010013261A JP 2010013261 A JP2010013261 A JP 2010013261A JP 5289349 B2 JP5289349 B2 JP 5289349B2
- Authority
- JP
- Japan
- Prior art keywords
- text
- document file
- document
- image
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000009826 distribution Methods 0.000 claims description 190
- 238000003384 imaging method Methods 0.000 claims description 49
- 238000003860 storage Methods 0.000 claims description 40
- 230000005540 biological transmission Effects 0.000 claims description 14
- 238000004891 communication Methods 0.000 description 58
- 239000004973 liquid crystal related substance Substances 0.000 description 43
- 230000004044 response Effects 0.000 description 15
- 238000000034 method Methods 0.000 description 12
- 239000002131 composite material Substances 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Description
本発明は、携帯端末からの文書ファイルの配信要求に応じて、この文書ファイルを画像化した画像ファイルを携帯端末へ配信する配信サーバ及びその制御方法、並びにこの配信サーバを備える文書ファイル閲覧システムに関するものである。 The present invention relates to a distribution server that distributes an image file obtained by imaging a document file to a portable terminal in response to a document file distribution request from the portable terminal, a control method thereof, and a document file browsing system including the distribution server. Is.
近年、携帯電話機などの携帯端末の高機能化に伴い、社内のサーバに保管されているデータを社外の携帯端末へ配信し、この携帯端末でデータの閲覧を可能にした閲覧システムが知られている。携帯端末で取得するデータがテキスト、JPEG、及びHTML形式のデータの場合、ほとんどの携帯端末に搭載されているアプリケーションソフトで閲覧することができる。 In recent years, as mobile terminals such as mobile phones have become more sophisticated, a browsing system that distributes data stored in an in-house server to external mobile terminals and enables data browsing on the mobile terminals is known. Yes. When the data acquired by the mobile terminal is data in text, JPEG, and HTML format, it can be browsed by application software installed in most mobile terminals.
しかしながら、携帯端末で取得するデータが、文字種、改行位置や見出し、段落、図の位置といったレイアウトを認識できる形式で記述された、いわゆる構造化された文書ファイル形式のデータの場合、このデータの内容を閲覧可能なアプリケーションソフトを搭載している携帯端末は少ない。このため、文書ファイルを携帯端末に配信する際に、サーバにて文書ファイルを画像ファイルに変換して配信し、この画像ファイルに対応する画像(以下、文書画像という)を携帯端末に表示させることで、文書画像を介して文書ファイルの内容を閲覧させる方法が、よく用いられている。 However, if the data acquired by the mobile terminal is data in a so-called structured document file format described in a format that can recognize the layout such as character type, line feed position, headline, paragraph, figure position, the contents of this data Few mobile devices have application software that can view Therefore, when distributing a document file to a mobile terminal, the server converts the document file into an image file and distributes it, and displays an image corresponding to the image file (hereinafter referred to as a document image) on the mobile terminal. Thus, a method of browsing the contents of a document file via a document image is often used.
特許文献1には、サーバが文書ファイルを解析して、画像ファイルを生成するとともに、この文書ファイルに含まれるテキスト情報の抽出を行う文書ファイル閲覧システムが記載されている。この文書ファイル閲覧システムでは、サーバが携帯端末からの文書ファイルの配信要求を受け付けたときに、画像ファイルと共にテキスト情報を携帯端末に配信している。これにより、携帯端末では、文書画像の他に、テキスト情報を必要に応じて表示することができる。こうすれば、携帯端末のサイズの小さいディスプレイに文書画像を表示した際に、文書画像中では文字が潰れて読み難くなっている場合でも、テキスト情報を表示することで文書ファイルの内容を容易に把握することができる。
特許文献1では、サーバから携帯端末へ画像ファイルとテキスト情報の両方を送信しているが、携帯端末のディスプレイのサイズや解像度は機種毎に異なっており、機種によっては文書画像中の文字を読み取ることができる場合もある。このような場合には、テキスト情報をディスプレイに表示する必要はない。一般に、携帯端末は、無線通信を介してサーバとの間でデータの遣り取りを行うことが多い。この無線通信は、有線通信と比較して回線の容量が小さく通信速度が遅くなるため、サーバから携帯端末へ送信するデータの量を可能な限り減らす対策が要望されていた。
In
本発明は上記問題を解決するためのものであり、配信サーバから携帯端末へ送信するデータの量を可能な限り減らすことができる文書ファイル閲覧システムを提供することを目的とする。 The present invention has been made to solve the above problems, and an object thereof is to provide a Rubun document file browsing system can be reduced as much as possible the amount of data to be transmitted to the portable terminal from the distribution server.
上記目的を達成するため、本発明の文書ファイル閲覧システムは、配信サーバと、ネットワークを介して前記配信サーバと接続された携帯端末とからなる文書ファイル閲覧システムにおいて、前記配信サーバは、前記携帯端末から、文書ファイルの配信要求を受け付ける第1配信要求受付手段と、前記第1配信要求受付手段が受け付けた配信要求に基づき、文書ファイルを格納する文書ファイル格納部から、当該配信要求に対応する文書ファイルを取得する文書ファイル取得手段と、前記文書ファイル取得手段により取得された文書ファイルを解析して、文書ファイルに含まれる、少なくともテキスト及び画像を含むオブジェクトのレイアウト情報を取得するレイアウト情報取得手段と、前記レイアウト情報に基づき、文書ファイルを前記オブジェクトの領域毎に画像化した領域画像ファイルを生成する領域画像生成手段と、前記レイアウト情報に基づき、文書ファイルの各テキスト領域から、テキスト情報を取得してテキスト情報格納部に格納するテキスト情報取得手段と、前記領域画像ファイル及び前記レイアウト情報を前記携帯端末へ配信する第1配信手段と、前記携帯端末からテキスト情報の配信要求を受け付ける第2配信要求受付手段と、前記第2配信要求受付手段が受け付けた配信要求に対応するテキスト情報を、前記テキスト情報格納部から取得するテキスト情報取得手段と、前記テキスト情報取得手段が取得した前記テキスト情報を前記携帯端末へ配信する第2配信手段と、を備え、前記携帯端末は、前記第1配信要求受付手段に対して文書ファイルの配信要求を送信する第1配信要求送信手段と、前記第1配信手段から配信される前記領域画像ファイル及びレイアウト情報を取得する第1取得手段と、前記レイアウト情報に基づき前記領域画像ファイルをレイアウトして、文書画像データを生成するレイアウト手段と、前記文章画像データに基づき文書画像を表示するとともに、前記レイアウト情報に基づき前記文書画像内のテキスト領域を選択可能に表示する表示手段と、前記文書画像内の前記テキスト領域の中から、任意のテキスト領域を選択するための選択手段と、前記選択手段によって選択された前記テキスト領域に対応するテキスト情報の配信要求を、前記配信サーバへ送信する第2配信要求送信手段と、前記第2配信手段から配信される前記テキスト情報を取得する第2取得手段と、前記第2取得手段が取得した前記テキスト情報を、前記表示手段に表示させる表示制御手段と、を備えることを特徴とする。 In order to achieve the above object, the document file browsing system of the present invention is a document file browsing system comprising a distribution server and a portable terminal connected to the distribution server via a network, wherein the distribution server includes the portable terminal. From the document file storage unit storing the document file based on the distribution request received by the first distribution request receiving unit and the distribution request received by the first distribution request receiving unit, the document corresponding to the distribution request Document file acquisition means for acquiring a file, layout information acquisition means for analyzing the document file acquired by the document file acquisition means, and acquiring layout information of an object including at least text and an image included in the document file; , based on the layout information, the OH document file A region image generating means for generating an object imaged areas image file for each area of, based on the layout information, from the text areas of the document file, a text information acquisition acquires and stores text information on the text information storage section means and includes a first delivery means for delivering said area image files and the layout information to the portable terminal, and a second distribution request receiving means for receiving a distribution request of the text information from the portable terminal, the second distribution request receiving means text information corresponding to the distribution request is accepted, and the text information acquisition means for acquiring from the text information storage section, and a second distribution means for distributing the text information the text information acquisition means has acquired to the portable terminal, The portable terminal sends a document file distribution request to the first distribution request accepting unit. A first distribution request transmitting means for transmitting, a first acquisition means for acquiring the area image file and layout information distributed from the first distribution means, a layout of the area image file based on the layout information, and a document Layout means for generating image data; display means for displaying a document image based on the text image data; and display means for selectively displaying a text area in the document image based on the layout information; A selection means for selecting an arbitrary text area from among the text areas, and a second distribution request transmission for transmitting a distribution request for text information corresponding to the text area selected by the selection means to the distribution server Means, second acquisition means for acquiring the text information distributed from the second distribution means, and the second (2) display control means for causing the display means to display the text information acquired by the acquisition means .
前記配信サーバは、前記文書ファイルの配信要求を行った前記携帯端末の機種を判別する機種判別手段と、前記機種判別手段が判別した前記携帯端末の機種に応じて、文書ファイルに含まれるテキスト領域の画像化を実行するか否かを決定するテキスト領域画像化決定手段と、前記テキスト領域画像化決定手段が画像化を実行しないと決定した前記テキスト領域以外の領域の画像化を行うように、前記画像生成手段を制御する画像生成制御手段とを備えることが好ましい。 The distribution server includes: a model determination unit that determines a model of the portable terminal that has requested the distribution of the document file; and a text area included in the document file according to the model of the portable terminal that is determined by the model determination unit. A text region imaging determination unit that determines whether or not to perform the imaging, and an imaging of a region other than the text region that the text region imaging determination unit determines not to perform the imaging, It is preferable to include an image generation control unit that controls the image generation unit.
前記配信サーバは、前記携帯端末の機種と、当該機種毎の前記表示手段の表示画面のサイズ及び画素数を示す画面情報とを対応付けたデータテーブルを格納した格納手段を備えており、前記テキスト領域画像化決定手段は、前記データテーブルを参照して、前記機種判別手段が判別した前記携帯端末の機種に対応する前記画面情報に基づき、前記テキスト領域の画像化を実行するか否かを決定することが好ましい。 The distribution server includes a storage unit that stores a data table in which a model of the portable terminal is associated with screen information indicating a display screen size and the number of pixels of the display unit for each model, and the text The area imaging determination means determines whether to execute the imaging of the text area based on the screen information corresponding to the model of the portable terminal determined by the model determination means with reference to the data table It is preferable to do.
前記第1取得手段が、前記文書ファイルの前記テキスト領域に対応する前記領域画像ファイルを前記配信サーバから取得しなかった場合、前記レイアウト手段は、当該テキスト領域に対応するデータを含まない前記文書画像データを生成し、前記表示制御手段は、前記レイアウト情報に基づき、前記文書画像の当該テキスト領域に対応する領域に、テキスト領域であることを示すマークを表示させることが好ましい。 If the first acquisition means does not acquire the area image file corresponding to the text area of the document file from the distribution server, the layout means does not include the data corresponding to the text area. It generates Zode over data, wherein the display control unit, based on the layout information, the area corresponding to the text area of the document image, it is preferable to display a mark indicating that it is a text area.
前記携帯端末の前記第1配信要求送信手段は、当該携帯端末の機種を示す固有識別情報を含む前記文書ファイルの配信要求を前記配信サーバへ送信し、前記配信サーバの前記機種判別手段は、第1配信要求受付手段で受け付けた前記文書ファイルの配信要求に含まれる前記固有識別情報に基づき、前記携帯端末の機種を判別することが好ましい。 The first distribution request transmitting means of the portable terminal transmits a distribution request for the document file including unique identification information indicating the model of the portable terminal to the distribution server, and the model determining means of the distribution server includes: It is preferable to determine a model of the portable terminal based on the unique identification information included in the document file distribution request received by the one distribution request receiving unit.
前記表示制御手段は、前記文書画像上に前記テキスト情報を重ね合わせて表示させることが好ましい。また、前記表示制御手段は、前記テキスト情報を、前記表示手段の表示画面に合わせて拡大して表示させることが好ましい。 The display control means preferably displays the text information superimposed on the document image. Further, it is preferable that the display control means displays the text information in an enlarged manner in accordance with a display screen of the display means.
本発明によれば、配信サーバは、携帯端末からの文書ファイルの配信要求に応じて、文書ファイルをオブジェクトの領域毎に画像化した領域画像ファイルとレイアウト情報を携帯端末へ配信し、その後、この携帯端末から、文書画像内のテキスト領域に対応するテキスト情報の配信要求を受け付けたときに、予め文書ファイルから取得したテキスト情報を携帯端末へ配信するので、携帯端末からのテキスト情報の配信要求がない限り、テキスト情報の送信が行われることはない。これにより、携帯端末へ送信するデータの量を可能な限り減らすことができる。 According to the present invention , the distribution server distributes the area image file obtained by imaging the document file for each area of the object and the layout information to the portable terminal in response to the document file distribution request from the portable terminal. When a text information distribution request corresponding to the text area in the document image is received from the mobile terminal, the text information acquired from the document file is distributed to the mobile terminal in advance. Unless it is, text information is not transmitted. Thereby, the amount of data transmitted to the mobile terminal can be reduced as much as possible.
また、携帯端末の機種によっては、文書ファイルのテキスト領域の画像化を行わず、この画像化を行わないテキスト領域以外の領域をそれぞれ画像化した領域画像ファイルを携帯端末に配信するので、この場合には、携帯端末へ送信するデータの量をより減らすことができる。 In addition, depending on the model of the mobile terminal, the text area of the document file is not imaged, and an area image file in which each area other than the text area that is not imaged is imaged is delivered to the mobile terminal. The amount of data transmitted to the mobile terminal can be further reduced.
図1に示すように、文書ファイル閲覧システム10は、文書配信サーバ11と、携帯端末12とで構成されている。携帯端末12は、基地局14と無線通信し、基地局14を介してインターネット15にアクセスすることにより、インターネット15を介して文書配信サーバ11と接続される。これにより、文書配信サーバ11と携帯端末12とは、インターネット15を介して相互に通信を行うことができる。
As shown in FIG. 1, the document
文書配信サーバ11は、企業のネットワーク内に配置されたサーバであり、企業の社内で作成された種々の文書ファイル17を保管する。文書配信サーバ11は、携帯端末12から所定の文書ファイル17の配信要求を受け付けた際に、この文書ファイル17を画像ファイル18に変換して携帯端末12へ配信する。
The document distribution server 11 is a server arranged in a company network, and stores
文書ファイル17は、文書作成ソフト、表計算ソフト、プレゼンテーションソフトなどのアプリケーションソフトウェアを用いて作成されており、上述の構造化された文書ファイル形式のデータである。この文書ファイル17には、テキスト、及び写真、図形、線画、表などの画像のオブジェクトが含まれている。
The
携帯端末12には、各種の情報を表示するための液晶ディスプレイ20と、各種の操作指示を入力するための操作部(選択手段)21とが設けられている。携帯端末12は、操作部21に入力された指示に応じて文書配信サーバ11にアクセスし、文書配信サーバ11から取得した情報を液晶ディスプレイ20に出力する。例えば、取得した情報が画像ファイル18である場合、液晶ディスプレイ20には、文書ファイル17に対応した文書画像22が表示される。
The
文書配信サーバ11には、CPU(文書ファイル取得手段、テキスト情報取得手段)24と、メモリ25と、HDD26と、ネットワークI/F(第1及び第2配信要求受付手段、第1及び第2配信手段)27と、通信データ制御部28と、文書ファイル解析部29と、画像生成部30とが設けられている。また、これらの各部は、バス31を介して互いに接続されている。
The document distribution server 11 includes a CPU (document file acquisition unit, text information acquisition unit) 24, a memory 25, an
CPU24は、文書配信サーバ11の各部を統括的に制御する。メモリ25は、CPU24が制御を行う過程で生じた種々のデータを一時的に格納する。HDD26には、文書配信サーバ11を制御するための各種のプログラムやデータが格納されている。CPU24は、これらのプログラムやデータをHDD26から読み出してメモリ25に展開し、これを逐次処理することによって文書配信サーバ11の制御を行う。
The
HDD26には、上述のプログラムやデータの他に、文書ファイル格納部34と、画像格納部35と、レイアウト情報格納部36と、テキスト情報格納部37とが設けられている。文書ファイル格納部34は、社内で作成された各種の文書ファイル17を格納する。画像格納部35は、携帯端末12から配信要求された文書ファイル17(以下、配信要求文書ファイル17という)に対応する画像ファイル18を一時的に格納する。
The
レイアウト情報格納部36は、配信要求文書ファイル17に含まれる各種オブジェクトのレイアウト情報を示すレイアウト情報テーブル39を一時的に格納する。テキスト情報格納部37は、配信要求文書ファイル17の個々のテキスト領域からそれぞれ抽出したテキスト情報をまとめたテキスト情報テーブル40を格納している。
The layout
ネットワークI/F27は、インターネット15等を介して、携帯端末12と各種データの遣り取りを行う。ネットワークI/F27が携帯端末12から受信するデータは、文書ファイル格納部34内の文書ファイル17の一覧を示すリスト情報の配信要求(以下、リスト配信要求という)と、文書ファイル17の配信要求(以下、文書ファイル配信要求という)と、文書画像22の任意のテキスト領域に対応するテキスト情報の配信要求(以下、テキスト配信要求という)である。
The network I /
逆に、ネットワークI/F27が携帯端末12へ送信するデータは、リスト配信要求に対応するリスト情報と、配信要求文書ファイル17に対応する画像ファイル18及びレイアウト情報テーブル39と、テキスト配信要求で指定されたテキスト情報である。
Conversely, the data that the network I /
通信データ制御部28は、ネットワークI/F27で送受信されるデータを処理する。例えば、通信データ制御部28は、ネットワークI/F27で受信した各配信要求をCPU24へ送る。また、通信データ制御部28は、各配信要求に対応するリスト情報、配信要求文書ファイル17、レイアウト情報テーブル39、及びテキスト情報を、無線通信に適した所定のデータ形式に変換し、変換後のデータをネットワークI/F27に送る。
The communication data control unit 28 processes data transmitted / received through the network I /
文書ファイル解析部29は、配信要求文書ファイル17を解析して、この配信要求文書ファイル17の各ページに含まれるテキストや画像などの各種オブジェクトのレイアウト情報を取得する。また、文書ファイル解析部29は、文書ファイル17の個々のテキスト領域からテキスト情報を取得する。文書ファイル解析部29には、レイアウト情報取得部42と、テキスト情報取得部43とが設けられている。
The document file analysis unit 29 analyzes the distribution
レイアウト情報取得部42は、例えば仮想プリンタドライバを用いて配信要求文書ファイル17のレイアウトの解析を行う。仮想プリンタドライバは、配信要求文書ファイル17のページ毎に、ページに含まれるオブジェクトの種別、位置、及び大きさを示すページ記述言語(PDL)を生成し、これらページ毎のページ記述言語をレンダリング処理して、ページ毎の画像ファイル18を生成する。レイアウト情報取得部42は、仮想プリンタドライバが生成したページ毎のPDL情報に基づき、配信要求文書ファイル17の各ページのレイアウト情報を求めてレイアウト情報テーブル39を生成する。
The layout information acquisition unit 42 analyzes the layout of the distribution
テキスト情報取得部43は、レイアウト情報取得部42が生成したレイアウト情報テーブル39を基に、配信要求文書ファイル17の各ページのテキストを含むテキスト領域を判別する。そして、この判別結果に基づき、テキスト情報取得部43は、配信要求文書ファイル17に含まれる全てのテキスト領域からテキスト情報を取得して、テキスト情報テーブル40を生成する。
The text information acquisition unit 43 determines a text area including the text of each page of the distribution
画像生成部30は、配信要求文書ファイル17を、上述の仮想プリンタドライバにより仮想印刷することにより、文書ファイル17をページ毎に画像化して、ページ毎の画像ファイル18を生成する。なお、本実施形態では、上述のレイアウト情報取得部42によるレイアウト解析でも、仮想プリンタドライバを用いた仮想印刷が行われるので、この画像生成部30を上述の文書ファイル解析部29と一体化してもよい。
The
CPU24は、ネットワークI/F27で受信した各配信要求を解析し、各配信要求に応じた処理を実行する。CPU24は、受信した配信要求がリスト配信要求である場合には、文書ファイル格納部34内の文書ファイル17のファイル名とアドレスとを関連付けたリスト情報を生成し、このリスト情報を通信データ制御部28に送る。
The
また、CPU24は、受信した配信要求が文書ファイル配信要求である場合、これに対応する配信要求文書ファイル17が文書ファイル格納部34内のどこに格納されているかを解析した後、文書配信サーバ11の各部に画像ファイル18及びレイアウト情報テーブル39の生成及び送信を実行させる。さらに、CPU24は、受信した配信要求がテキスト配信要求である場合、テキスト情報格納部37内から対応するテキスト情報を検索して、文書配信サーバ11の各部にテキスト情報の送信を実行させる。
When the received distribution request is a document file distribution request, the
図2に示すように、レイアウト情報テーブル39は、文書IDと、オブジェクトが含まれるページのページ番号と、オブジェクトIDと、オブジェクトの種類を示すオブジェクト種別と、オブジェクトの横位置、縦位置、幅、及び高さとを関連付けて記憶したものである。 As shown in FIG. 2, the layout information table 39 includes a document ID, a page number of a page including the object, an object ID, an object type indicating the type of the object, a horizontal position, a vertical position, a width, And the height are stored in association with each other.
文書IDは、文書ファイル格納部34内の文書ファイル17を識別するために、文書ファイル17に付された固有識別情報である。オブジェクトIDは、同一ページ内のオブジェクトを一意に識別するために、オブジェクトに付与された固有識別情報である。オブジェクト種別は、オブジェクトがテキストである場合には「テキスト」が登録され、オブジェクトが写真、図形、線画、表などの画像である場合には「画像」が登録される。
The document ID is unique identification information given to the
横位置、縦位置は、各ページの任意の点(例えば左上隅)を原点としたときの、各オブジェクトの左上隅のX座標、Y座標である。また、幅、高さは、各オブジェクトのX方向の幅、Y方向の幅であり、例えば画素数などで表される。レイアウト情報テーブル39を参照することで、配信要求文書ファイル17の各ページに含まれる個々のオブジェクトの種別、位置、大きさを判別することができる。
The horizontal position and the vertical position are the X coordinate and Y coordinate of the upper left corner of each object when an arbitrary point (for example, the upper left corner) of each page is used as the origin. The width and height are the width in the X direction and the width in the Y direction of each object, and are represented by the number of pixels, for example. By referring to the layout information table 39, the type, position, and size of each object included in each page of the distribution
図3に示すように、テキスト情報テーブル40は、文書IDと、ページ番号と、オブジェクトIDと、これら文書ID、ページ番号、及びオブジェクトIDに対応するテキスト情報とを関連付けて記憶している。これにより、テキスト情報テーブル40を参照することで、文書ID、ページ番号、及びオブジェクトIDに基づき、配信要求文書ファイル17内の任意のテキスト領域に含まれるテキスト情報を判別することができる。
As shown in FIG. 3, the text information table 40 stores a document ID, a page number, an object ID, and text information corresponding to the document ID, the page number, and the object ID in association with each other. Thus, by referring to the text information table 40, it is possible to determine text information included in an arbitrary text area in the distribution
図4に示すように、携帯端末12は、液晶ディスプレイ20と操作部21の他に、CPU(表示制御手段)46と、メモリ47と、無線通信部(第1及び第2配信要求送信手段、第1及び第2取得手段)48と、通信データ制御部49と、画像処理部50と、レイアウト解析部51と、テキスト処理部52と、液晶ドライバ53とを備えている。これらは、バス54を介して互いに接続されている。
As shown in FIG. 4, in addition to the
CPU46は、メモリ47から各種のプログラムを読み出し、これを逐次処理することによって携帯端末12の各部を統括的に制御する。このCPU46には、操作部21が接続されている。これにより、ユーザからの操作指示が操作部21を介してCPU46に入力され、この操作指示に従って、CPU46は携帯端末12の各部に各種指令を発する。
The
メモリ47には、上述のプログラムの他に、携帯端末12の固有識別情報を示す端末ID56と、文書画像22の閲覧用のビューアアプリケーションソフト(以下、単にビューアという)57とが格納されている。無線通信部48は、インターネット15等を介して、文書配信サーバ11との間で上述の各種データの遣り取りを行う。
In addition to the above-described program, the
通信データ制御部49は、無線通信部48が文書配信サーバ11から受信したデータを解析して、リスト情報はCPU46に送り、画像ファイル18は画像処理部50に送り、レイアウト情報テーブル39はレイアウト解析部51に送り、テキスト情報はテキスト処理部52に送る。また、通信データ制御部49は、CPU46からの指令の下、文書配信サーバ11に対して行うリスト情報配信要求、文書ファイル配信要求、及びテキスト情報配信要求を生成して無線通信部48に送る。
The communication
画像処理部50は、通信データ制御部49から取得した画像ファイル18に拡大縮小、回転、平行移動等の各種画像処理を施すことで、液晶ディスプレイ20に適したサイズの文書画像22の画像データ(以下、文書画像データという)を生成する。なお、文書画像データは、配信要求文書ファイル17が複数ページである場合、複数ページ分の画像データで構成される。
The
レイアウト解析部51は、画像処理部50で行われた拡大縮小等の画像処理の内容に基づき、レイアウト情報テーブル39に登録されている縦位置、横位置、幅、高さを、画像処理後の文書画像22に対応した値に補正する。この補正後のレイアウト情報テーブル39を参照することで、文書画像22の各ページに含まれるオブジェクトの種別、オブジェクトID、位置、及び大きさを判別することができる。
The
テキスト処理部52は、通信データ制御部49から取得したテキスト情報に基づき、メモリ47に格納されているフォントを用いて、表示用のテキストデータを生成する。
The
液晶ドライバ53は、CPU46からの制御信号に応じて、文書配信サーバ11から取得した種々のデータをメモリ47から読み出し、そのデータをアナログのコンポジット信号に変換して液晶ディスプレイ20に出力する。
The
携帯端末12が文書配信サーバ11からリスト情報を取得した場合、図5に示すように、液晶ディスプレイ20には、文書配信サーバ11内の文書ファイル17のリストを示すリスト画面59が表示される。このリスト画面59において、各ファイル名には、その文書ファイル17の文書配信サーバ11内におけるアドレスを示すリンク60が張られている。操作部21の操作により、リンク60がポインタ61でクリックされると、このリンク60に対応する文書ファイル17の配信要求が文書配信サーバ11に対してなされる。
When the
また、携帯端末12が文書配信サーバ11から画像ファイル18とレイアウト情報テーブル39を取得した場合、図6に示すように、液晶ディスプレイ20には、画像ファイル18を元に生成された文書画像22が表示される。文書画像22中には、テキスト領域63を選択するための選択枠64が表示される。操作部21の操作により、選択枠64で任意のテキスト領域63を選択すると、選択枠64で強調表示されているテキスト領域63に対応するテキスト情報の配信要求が文書配信サーバ11に対してなされる。なお、符号65は、文書画像22内で画像が表示されている画像領域である。
When the
次に、図7に示すフローチャートを用いて、携帯端末12で文書ファイル17を閲覧する際の処理の流れについて説明を行う。操作部21にてビューア57の起動操作がなされると、CPU46は、通信データ制御部49及び無線通信部48に対してリスト配信要求の送信指令を発する。この送信指令を受けて、通信データ制御部49は、端末ID56を含んだ所定フォーマットのリスト配信要求を生成し、このリスト配信要求を無線通信部48に送る。これにより、リスト配信要求が、無線通信部48等を介して、文書配信サーバ11のネットワークI/F27へ送信される。
Next, the flow of processing when browsing the
ネットワークI/F27で受信されたリスト配信要求は、通信データ制御部28を経てCPU24に入力される。CPU24は、リスト配信要求に基づき、文書ファイル格納部34内の文書ファイル17のリスト情報を生成し、このリスト情報を通信データ制御部28に送る。また、CPU24は、リスト配信要求に含まれる端末ID56に基づき、リスト配信要求元の携帯端末12を宛先とした送信指令を通信データ制御部28及びネットワークI/F27に対してそれぞれ発する。これにより、リスト情報は、通信データ制御部28で適宜変換処理された後、ネットワークI/F27等を介して、携帯端末12の無線通信部48へ送信される。
The list distribution request received by the network I /
通信データ制御部49は、無線通信部48で受信したリスト情報をCPU46へ送る。CPU46は、リスト情報に基づきリスト画像データを生成し、このリスト画像データをメモリ47に一時的に格納する。次いで、CPU46は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47に格納されたリスト画像データを読み出して液晶ディスプレイ20へ出力する。これにより、図5で説明したリスト画面59が液晶ディスプレイ20に表示される。
The communication
操作部21を操作し、ポインタ61で所望のリンク60をクリックすると、CPU46は、通信データ制御部49及び無線通信部48に対して文書ファイル配信要求の送信指令を発する。この送信指令を受けて、通信データ制御部49は、クリックされたリンク60が示すアドレスと、端末ID56とを含む文書ファイル送信要求を生成して無線通信部48へ送る。これにより、文書ファイル配信要求(例えばGET http://doc.com/doc/?doc id=1 HTTP/1.1 UserAgent:Keitai1)が、文書配信サーバ11のネットワークI/F27へ送信される。
When the
ネットワークI/F27で受け付けられた文書ファイル配信要求は、通信データ制御部28を経てCPU24に入力される。CPU24は、文書ファイル配信要求を解析して、配信要求文書ファイル17のアドレスを取得する。次いで、このアドレスに基づき、CPU24は、HDD26の文書ファイル格納部34から配信要求文書ファイル17を読み出して、メモリ25に一時的に格納させる。
The document file distribution request accepted by the network I /
配信要求文書ファイル17の格納後、CPU24は、文書ファイル解析部29に対して解析指令を発する。この解析指令を受けて、文書ファイル解析部29のレイアウト情報取得部42が作動する。レイアウト情報取得部42は、メモリ25から配信要求文書ファイル17を読み出して、この配信要求文書ファイル17を仮想プリンタドライバにより仮想印刷する。
After storing the distribution
仮想印刷が実行されると、レイアウト情報取得部42は、仮想プリンタドライバが生成した配信要求文書ファイル17のページ毎のPDLに基づき、各ページに含まれるオブジェクトの種別、横位置、縦位置、幅、高さからなるレイアウト情報を求める。また、レイアウト情報取得部42は、各オブジェクトに対して、それぞれ同一ページ内で一意に識別可能なオブジェクトIDを付す。
When virtual printing is executed, the layout information acquisition unit 42, based on the PDL for each page of the distribution
次いで、レイアウト情報取得部42は、配信要求文書ファイル17の文書IDと、個々のオブジェクトが含まれるページのページ番号と、個々のオブジェクトのオブジェクトID及びレイアウト情報とを対応付けたレイアウト情報テーブル39を生成する。このレイアウト情報テーブル39は、レイアウト情報格納部36に一時的に格納される。
Next, the layout information acquisition unit 42 creates a layout information table 39 in which the document ID of the distribution
レイアウト情報テーブル39の格納後、テキスト情報取得部43が作動する。テキスト情報取得部43は、レイアウト情報格納部36内のレイアウト情報テーブル39を参照して、配信要求文書ファイル17の各ページに含まれるテキスト領域63を判別し、全てのテキスト領域63からそれぞれテキスト情報を取得する。
After storing the layout information table 39, the text information acquisition unit 43 operates. The text information acquisition unit 43 refers to the layout information table 39 in the layout
また、テキスト情報取得部43は、レイアウト情報テーブル39を参照して、文書IDと、各テキスト情報にそれぞれに対応するページ番号及びオブジェクトIDとを求める。そして、テキスト情報取得部43は、文書IDと、ページ番号と、オブジェクトIDと、テキスト情報とを対応付けたテキスト情報テーブル40を生成する。このテキスト情報テーブル40は、HDD26のテキスト情報格納部37に一時的に格納される。
In addition, the text information acquisition unit 43 refers to the layout information table 39 to obtain the document ID and the page number and object ID corresponding to each text information. Then, the text information acquisition unit 43 generates a text information table 40 in which the document ID, the page number, the object ID, and the text information are associated with each other. The text information table 40 is temporarily stored in the text
テキスト情報テーブル40の格納後、CPU24は、画像生成部30に対して画像生成指令を発する。この画像生成指令を受けて、画像生成部30は、配信要求文書ファイル17を仮想プリンタドライバにより仮想印刷する。これにより、文書ファイル17がページ毎に画像化されて、ページ毎の画像ファイル18が生成される。各画像ファイル18は、画像格納部35に一時的に格納される。なお、上述したように、レイアウト情報取得部42にて仮想印刷を実行するため、この仮想印刷で得られた画像ファイル18を画像格納部35に格納してもよい。
After storing the text information table 40, the
画像ファイル18の格納後、CPU24は、画像格納部35及びレイアウト情報格納部36からそれぞれ画像ファイル18及びレイアウト情報テーブル39を読み出して、通信データ制御部28に送る。また、CPU24は、文書ファイル配信要求元の携帯端末12を宛先とした送信指令を通信データ制御部28及びネットワークI/F27に対して発する。これにより、上述のリンク情報送信時と同様に、画像ファイル18及びレイアウト情報テーブル39は、携帯端末12の無線通信部48へ送信される。
After storing the
無線通信部48で受信された画像ファイル18及びレイアウト情報テーブル39は、通信データ制御部49に送られる。通信データ制御部49は、画像ファイル18を画像処理部50に送り、レイアウト情報テーブル39をレイアウト解析部51に送る。次いで、CPU46は、画像処理部50に対して画像処理指令を発する。この画像処理指令を受けて、画像処理部50は、各画像ファイル18に画像処理を施す。これにより、液晶ディスプレイ20のサイズに適した文書画像データが生成される。この文書画像データは、メモリ47に一時的に格納される。
The
文書画像データの格納後、CPU46は、レイアウト解析部51に対してレイアウト解析指令を発する。このレイアウト解析指令を受けて、レイアウト解析部51は、画像処理部50にて行われた画像処理に基づき、レイアウト情報テーブル39に登録されている縦位置、横位置、幅、高さを補正する。これにより、文書画像22の各ページに含まれるテキスト領域63の大きさ及び位置が判別可能となる。補正後のレイアウト情報テーブル39は、CPU46に送られる。
After storing the document image data, the
CPU46は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内の文書画像データを読み出して液晶ディスプレイ20に出力する。これにより、文書画像22が液晶ディスプレイ20に表示される。
The
図8(A)に示すように、文書画像22の表示中に、操作部21の所定の選択キーが押下されると、CPU46は、レイアウト情報テーブル39に基づき、文書画像22に含まれるテキスト領域63の大きさ及び位置を判別する。そして、この判別結果に基づき、CPU46は、文書画像22中の任意のテキスト領域63を強調表示する強調表示指令を、液晶ドライバ53に対して発する。これにより、液晶ドライバ53は、CPU46が指定したテキスト領域63を選択枠64で強調表示する。以下、選択キーが押下される度に、選択枠64で強調表示されるテキスト領域63が切り替わる。
As shown in FIG. 8A, when a predetermined selection key of the
図7に戻って、操作部21の所定の決定キーが押下されてテキスト情報の取得操作がなされると、CPU46は、レイアウト情報テーブル39から、文書IDと、現在表示されている文書画像22のページ番号と、選択枠64で強調表示されているテキスト領域63に対応するオブジェクトIDとをそれぞれ読み出して、通信データ制御部49に送る。次いで、CPU46は、通信データ制御部49及び無線通信部48に対してテキスト配信要求の送信指令を発する。
Returning to FIG. 7, when a predetermined determination key of the
通信データ制御部49は、CPU46からの送信指令を受けて、端末ID56、文書ID、ページ番号、及びオブジェクトIDを含むテキスト配信要求を生成し、このテキスト配信要求を無線通信部48に送る。これにより、テキスト配信要求(例えばGET http://doc.com/doc/?doc id=1/ctx id=3 HTTP/1.1〜)が、文書配信サーバ11のネットワークI/F27へ送信される。
Upon receiving a transmission command from the
ネットワークI/F27で受け付けられたテキスト配信要求は、通信データ制御部28を経てCPU24に入力される。CPU24は、テキスト情報格納部37内のテキスト情報テーブル40から、テキスト配信要求に含まれる文書ID、ページ番号、及びオブジェクトIDが一致するテキスト情報を取得する。次いで、CPU24は、テキスト情報を通信データ制御部28に送るとともに、テキスト配信要求元の携帯端末12を宛先として、通信データ制御部28及びネットワークI/F27に対して送信指令を発する。これにより、テキスト情報は、携帯端末12の無線通信部48へ送信される。
The text distribution request accepted by the network I /
無線通信部48で受信されたテキスト情報は通信データ制御部49に送られ、さらにこの通信データ制御部49からテキスト処理部52に送られる。次いで、CPU46は、テキスト処理部52に対して、テキストデータ生成指令を発する。このテキストデータ生成指令を受けて、テキスト処理部52は、テキスト情報から表示用のテキストデータを生成する。このテキストデータは、メモリ47に一時的に格納される。
The text information received by the
テキストデータの格納後、CPU46は、液晶ドライバ53に対してテキスト表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内のテキストデータを読み出して液晶ディスプレイ20に出力する。
After storing the text data, the
図8(B)に示すように、上述の図8(A)で選択されたテキスト領域63に対応するテキスト画像67が先の文書画像22上に重ね合わせて液晶ディスプレイ20に表示される。この際に、CPU46は、テキスト画像67が液晶ディスプレイ20の画面に合わせて拡大して表示されるように、液晶ドライバ53を制御する。
As shown in FIG. 8B, a text image 67 corresponding to the
テキスト画像67を表示することで、携帯端末12のサイズの小さい液晶ディスプレイ20でも、ユーザは、文書画像22中のテキストの内容を容易に把握することができる。このように、文書配信サーバ11は、ユーザが文書画像22中のテキストの内容確認を希望したときにテキスト情報を携帯端末12へ配信するので、携帯端末12へ配信されるデータの量を従来よりも削減することができる。
By displaying the text image 67, the user can easily grasp the content of the text in the
操作部21の決定キーが再度押下されると、テキスト画像67の表示が停止され、再度図8(A)に示すような文書画像22が液晶ディスプレイ20に表示される。以下、操作部21で、テキスト領域63の選択及び選択決定操作が行われるたびに、文書配信サーバ11からのテキスト情報の取得と表示が繰り返し実行される。
When the enter key of the
次に、図9を用いて、本発明の第2実施形態の文書ファイル閲覧システム70について説明を行う。上述の第1実施形態では、文書配信サーバ11が、配信要求文書ファイル17をページ毎に画像化した画像ファイル18を携帯端末12へ配信している。これに対して、文書ファイル閲覧システム70では、文書配信サーバ71から携帯端末72に対して、配信要求文書ファイル17を各ページのオブジェクトの領域毎に画像化した領域画像ファイル73を配信する。
Next, the document
また、文書ファイル閲覧システム70では、液晶ディスプレイ20のサイズや解像度が異なる携帯端末72の機種に応じて、配信要求文書ファイル17のテキスト領域の画像化を実行するか否かを決定する。以下、文書ファイル閲覧システム70について詳しく説明する。なお、上記第1実施形態と機能・構成上同一のものについては、同一符号を付してその説明は省略する。
Further, the document
文書ファイル閲覧システム70は、文書配信サーバ71と、携帯端末72とで構成されている。文書配信サーバ71は、上記第1実施形態の文書配信サーバ11と基本的には同じ構成である。ただし、文書配信サーバ71には、CPU24と画像生成部30の代わりに、CPU(画像生成制御手段)75と、テキスト領域画像化決定部(機種判別手段、テキスト領域画像化決定手段)76と、領域画像生成部77とが設けられている。また、HDD(格納手段)26には、画像格納部35の代わりに、領域画像格納部78と、端末情報テーブル79とが設けられている。
The document
領域画像格納部78には、上述の領域画像ファイル73が格納される。領域画像ファイル73には、元のオブジェクトに対応するページ番号とオブジェクトIDとが付帯情報として画像データに付与されている。
The area
図10に示すように、端末情報テーブル79には、端末ID56と、この端末ID56が割り当てられた携帯端末72の機種と、この機種における液晶ディスプレイ20の画面情報(表示画面の幅、高さ、及び単位長さ当たりの画素数を示すdpi)とが対応付けて記憶されている。これにより、端末情報テーブル79を参照することで、端末ID56に基づき、携帯端末72の機種毎の画面情報を判別することができる。
As shown in FIG. 10, in the terminal information table 79, the
図9に戻って、テキスト領域画像化決定部76は、端末情報テーブル79を参照して、文書ファイル配信要求元の機種に対応した液晶ディスプレイ20の画面情報を判別し、この判別結果に基づき、配信要求文書ファイル17のテキスト領域63の画像化を実行するか否かを決定する。具体的には、液晶ディスプレイ20で表示されるテキスト領域63内の文字サイズが所定のしきい値よりも小さくなる場合に、このテキスト領域63の画像化中止を決定する。
Returning to FIG. 9, the text area
領域画像生成部77は、上述のレイアウト情報取得部42が取得したレイアウト情報テーブル39を参照して、配信要求文書ファイル17を、各ページに含まれるオブジェクトの領域毎に仮想プリンタドライバで仮想印刷して、領域画像ファイル73を生成する。
The area image generation unit 77 refers to the layout information table 39 acquired by the layout information acquisition unit 42 described above, and virtually prints the distribution
CPU75は、基本的に上記第1実施形態のCPU24と同じ制御を行う。ただし、CPU75は、テキスト領域画像化決定部76の決定結果に基づき、領域画像生成部77が画像化する配信要求文書ファイル17中のオブジェクトの領域を指定する。
The
携帯端末72は、上記第1実施形態の携帯端末12と基本的には同じ構成である。ただし、携帯端末72には、上述のCPU46とレイアウト解析部51との代わりに、CPU81とレイアウト処理部82とが設けられている。
The
レイアウト処理部82は、文書配信サーバ71から取得したレイアウト情報テーブル39に基づき、領域画像ファイル73をレイアウトして文書画像データを生成する。文書画像データは、文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得している場合、上記第1実施形態のようにページ毎に画像化した時と同じようなデータが得られる。逆に、テキスト領域63の領域画像ファイル73を取得していない場合、文書画像データには、テキスト領域63に対応するデータが含まれない。
The
CPU81は、基本的に上記第1実施形態のCPU46と同じ制御を行う。ただし、CPU81は、文書画像データにテキスト領域63に対応するデータが含まれていない場合、文書画像22のテキスト領域63に対応する領域には、テキスト領域63であることを示す表示を行わせる。
The
次に、図11に示すフローチャートを用いて、携帯端末72で文書ファイル17を閲覧する際の処理の流れについて説明を行う。なお、携帯端末72からの文書ファイル配信要求に基づき、文書配信サーバ71がレイアウト情報テーブル39及びテキスト情報テーブル40を生成するまで処理の流れは、上述の第1実施形態と同じである。両テーブル39,40がそれぞれレイアウト情報格納部36、テキスト情報格納部37に格納された後、CPU75は、テキスト領域画像化決定部76に対して画像化決定指令を発する。この画像化決定指令には、文書ファイル配信要求に含まれている端末ID56が付与されている。
Next, the flow of processing when browsing the
図12に示すように、テキスト領域画像化決定部76は、CPU75からの画像化決定指令を受けて作動する。最初に、テキスト領域画像化決定部76は、端末ID56に基づき、HDD26内の端末情報テーブル79を参照して、この端末ID56に対応する携帯端末72の機種及びその液晶ディスプレイ20の画面情報を検索する。
As shown in FIG. 12, the text region
次いで、テキスト領域画像化決定部76は、上述のレイアウト情報取得時の仮想印刷で得られた画像中の文字の1文字当たりの画素数及び文字長さと、端末ID56に対応する液晶ディスプレイ20の画面情報とに基づき、液晶ディスプレイ20で個々のテキスト領域63の領域画像を表示した場合の1文字当たりの画素数p、文字長さLをそれぞれ求める。そして、テキスト領域画像化決定部76は、予め設定された1文字当たりの画素数しきい値をpt、1文字当たりの長さしきい値をLtとしたときに、上述の1文字当たりの画素数p及び文字長さLが、下記式(1)及び(2)からなる画像化停止条件を満たすか否かを判定する。
(1)pt>p
(2)Lt>L
Next, the text area
(1) pt> p
(2) Lt> L
テキスト領域画像化決定部76は、上記式(1)及び式(2)のいずれも満たさないテキスト領域63については画像化を決定するとともに、上記式(1)及び式(2)の少なくともいずれか一方を満たしたテキスト領域63については画像化中止を決定する。テキスト領域画像化決定部76の決定結果は、CPU75に送られる。
The text area
CPU75は、テキスト領域画像化決定部76の決定結果を受けて、領域画像生成部77に対して領域画像生成指令を発する。この際に、CPU75は、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63については、画像化を中止する旨の指令を発する。
In response to the determination result of the text region
領域画像生成部77は、CPU75からの領域画像生成指令を受けて作動する。領域画像生成部77は、レイアウト情報テーブル39を参照して、配信要求文書ファイル17を、各ページのオブジェクトの領域毎に仮想プリンタドライバで仮想印刷して領域画像ファイル73を生成する。この際に、CPU75により画像化中止の指定がされているテキスト領域の画像化は行わない。これにより、携帯端末72の画面では文字が小さくなり過ぎて内容を把握することが困難なテキスト領域については、画像化が中止される。各領域画像ファイル73は、ページ番号及びオブジェクトIDが付与された後、HDD26の領域画像格納部78に格納される。
The area image generation unit 77 operates in response to an area image generation command from the
図11に戻って、CPU75は、領域画像格納部78及びレイアウト情報格納部36からそれぞれ各領域画像ファイル73及びレイアウト情報テーブル39を読み出して、通信データ制御部28に送る。以下、上記第1実施形態と同様にして、領域画像ファイル73及びレイアウト情報テーブル39が、携帯端末12の無線通信部48へ送信される。
Returning to FIG. 11, the
無線通信部48で受信された各領域画像ファイル73及びレイアウト情報テーブル39は、通信データ制御部49より、画像処理部50とレイアウト処理部82とにそれぞれ送られる。画像処理部50は、各領域画像ファイル73に適宜画像処理を施した後、レイアウト処理部82に送る。次いで、CPU81は、レイアウト処理部82に対して領域画像ファイル73のレイアウト指令を発する。
Each
レイアウト処理部82は、CPU81からのレイアウト指令を受けて、先に取得したレイアウト情報テーブル39と、各領域画像ファイル73に付与されたページ情報及びオブジェクトIDとに基づき、各領域画像ファイル73をレイアウトして文書画像データを生成する。この文書画像データは、上記第1実施形態と同様に、画像処理部50にて液晶ディスプレイ20のサイズに適したデータに変換された後、メモリ47に格納される。また、レイアウト処理部82は、上記第1実施形態と同様に、レイアウト情報テーブル39を補正した後にCPU81へ送る。
Upon receiving a layout command from the
CPU81は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内の文書画像データを読み出して液晶ディスプレイ20に出力する。文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得している場合、上述の図8(A)で説明したような文書画像22が液晶ディスプレイ20に表示される。
The
これに対して、文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得していない場合、文書画像データには、テキスト領域63に対応するデータが含まれない。この場合、図13(A)に示すように、CPU81は、レイアウト情報テーブル39に基づき、文書画像22のテキスト領域63に対応する領域に、テキスト領域63であることを示すマーク84が表示されるように液晶ドライバ53を制御する。これにより、ユーザは、マーク84が表示される領域がテキスト領域63であることが判る。
On the other hand, when the
以下、第1実施形態と同様に、文書画像22中の任意のマーク84を選択枠64で選択して選択決定操作を行うと、図13(B)に示すように、このマーク84が示すテキスト領域63に対応するテキスト画像67が液晶ディスプレイ20に表示される。携帯端末12の画面では内容を把握することが困難なテキスト領域63の領域画像ファイル73を、携帯端末72へ配信しないようにしたので、第1実施形態よりも携帯端末72へ配信するデータの量を減らすことができる。
Thereafter, as in the first embodiment, when an
上記第2実施形態では、文書画像22上の、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63には、マーク84が代わりに表示される。このテキスト領域63については、その内容を確認するためにテキスト情報の配信要求が文書配信サーバ71に対してなされる可能性が高い。このため、文書配信サーバ71が携帯端末72へ領域画像ファイル73等を配信する際に、領域画像ファイル73を生成しなかったテキスト領域63のテキスト情報も同時に携帯端末72へ配信してもよい。
In the second embodiment, a
このような場合、携帯端末72は、文書画像22中の任意のテキスト領域63の選択決定操作がなされたときに、このテキスト領域63に対応するテキスト情報を既に取得している場合には、取得済みのテキスト情報に基づきテキスト画像67の表示を行う。また、携帯端末72は、対応するテキスト情報を取得していない場合には、上述したように文書配信サーバ71から取得する。
In such a case, the
上記第2実施形態では、携帯端末12に表示される文書画像22上において、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63にはマーク84を表示しているが、このマーク84は、図13(A)に示した形状のマークに限定されるものではなく、例えば「×」などの形状であってもよい。また、マーク84の代わりに、例えば、文書ファイル17のタイトルなどを表示してもよい。
In the second embodiment, on the
上記第1及び第2実施形態のレイアウト情報取得部42は、仮想プリンタドライバを用いて配信要求文書ファイル17を仮想印刷することで、レイアウト情報テーブル39を生成しているが、文書ファイル17を画像化した画像ファイル18からレイアウト情報テーブル39を生成してもよい。
The layout information acquisition unit 42 of the first and second embodiments generates the layout information table 39 by virtually printing the distribution
例えば、画像ファイル18を解析して、画像に含まれるオブジェクトの塊毎に領域に分割し、各領域の属性を判定する領域分割処理(特開2009−193254号公報参照)などを行うことで、レイアウト情報テーブル39を生成することができる。また、文書ファイル17を所定のビューアアプリケーションソフトで開くことで、文書ファイル17の画像をメモリバッファ上に展開し、この画像を上述の領域分割処理等でレイアウト解析することで、同様にレイアウト情報テーブル39を生成することができる。
For example, the
また、この場合には、テキスト情報取得部43は、レイアウト情報テーブル39に基づき、画像の各テキスト領域から、周知のOCR(Optical Character Recognition)処理により、テキスト情報を取得すればよい。なお、文書ファイル17やその画像からレイアウト情報やテキスト情報を取得する方法は、上述した方法に限定されず、周知の各種方法を用いることができる。
In this case, the text information acquisition unit 43 may acquire the text information from each text area of the image based on the layout information table 39 by a known OCR (Optical Character Recognition) process. Note that the method of acquiring layout information and text information from the
上記第1及び第2実施形態では、携帯電話機型の携帯端末を例に挙げて説明を行ったが、例えば、PDA型やノートパソコン型等の各種携帯端末を用いる場合にも本発明を適用することができる。 In the first and second embodiments, the mobile phone type mobile terminal has been described as an example. However, for example, the present invention is applied to various mobile terminals such as a PDA type and a notebook personal computer type. be able to.
10,70 文書ファイル閲覧システム
11,71 文書配信サーバ
12,72 携帯端末
17 文書ファイル
18 画像ファイル
21 操作部
22 文書画像
24,75 CPU
30 画像生成部
39 レイアウト情報テーブル
40 テキスト情報テーブル
42 レイアウト情報取得部
43 テキスト情報取得部
46,81 CPU
51 レイアウト解析部
63 テキスト領域
67 テキスト画像
76 テキスト領域画像化決定部
77 領域画像生成部
82 レイアウト処理部
84 マーク
DESCRIPTION OF
DESCRIPTION OF
51
Claims (7)
前記配信サーバは、
前記携帯端末から、文書ファイルの配信要求を受け付ける第1配信要求受付手段と、
前記第1配信要求受付手段が受け付けた配信要求に基づき、文書ファイルを格納する文書ファイル格納部から、当該配信要求に対応する文書ファイルを取得する文書ファイル取得手段と、
前記文書ファイル取得手段により取得された文書ファイルを解析して、文書ファイルに含まれる、少なくともテキスト及び画像を含むオブジェクトのレイアウト情報を取得するレイアウト情報取得手段と、
前記レイアウト情報に基づき、文書ファイルを前記オブジェクトの領域毎に画像化した領域画像ファイルを生成する領域画像生成手段と、
前記レイアウト情報に基づき、文書ファイルの各テキスト領域から、テキスト情報を取得してテキスト情報格納部に格納するテキスト情報取得手段と、
前記領域画像ファイル及び前記レイアウト情報を前記携帯端末へ配信する第1配信手段と、
前記携帯端末からテキスト情報の配信要求を受け付ける第2配信要求受付手段と、
前記第2配信要求受付手段が受け付けた配信要求に対応するテキスト情報を、前記テキスト情報格納部から取得するテキスト情報取得手段と、
前記テキスト情報取得手段が取得した前記テキスト情報を前記携帯端末へ配信する第2配信手段と、
を備え、
前記携帯端末は、
前記第1配信要求受付手段に対して文書ファイルの配信要求を送信する第1配信要求送信手段と、
前記第1配信手段から配信される前記領域画像ファイル及びレイアウト情報を取得する第1取得手段と、
前記レイアウト情報に基づき前記領域画像ファイルをレイアウトして、文書画像データを生成するレイアウト手段と、
前記文章画像データに基づき文書画像を表示するとともに、前記レイアウト情報に基づき前記文書画像内のテキスト領域を選択可能に表示する表示手段と、
前記文書画像内の前記テキスト領域の中から、任意のテキスト領域を選択するための選択手段と、
前記選択手段によって選択された前記テキスト領域に対応するテキスト情報の配信要求を、前記配信サーバへ送信する第2配信要求送信手段と、
前記第2配信手段から配信される前記テキスト情報を取得する第2取得手段と、
前記第2取得手段が取得した前記テキスト情報を、前記表示手段に表示させる表示制御手段と、
を備えることを特徴とする文書ファイル閲覧システム。 In a document file browsing system comprising a distribution server and a mobile terminal connected to the distribution server via a network,
The distribution server
From the mobile terminal, and the first delivery request receiving means for receiving a distribution request of the document file,
A document file acquisition unit that acquires a document file corresponding to the distribution request from a document file storage unit that stores the document file based on the distribution request received by the first distribution request reception unit;
Analyzing the document file acquired by the document file acquisition unit, and acquiring layout information of an object including at least text and an image included in the document file;
An area image generating means for generating an area image file obtained by imaging a document file for each area of the object based on the layout information;
Text information acquisition means for acquiring text information from each text region of the document file based on the layout information and storing it in the text information storage unit;
A first delivery means for delivering said area image files and the layout information to the portable terminal,
And the second delivery request receiving means for receiving a distribution request of the text information from the mobile terminal,
Text information acquisition means for acquiring text information corresponding to the distribution request received by the second distribution request reception means from the text information storage unit;
A second distribution means for distributing the text information the text information acquisition means has acquired to the portable terminal,
With
The portable terminal is
First distribution request transmitting means for transmitting a document file distribution request to the first distribution request receiving means;
First acquisition means for acquiring the area image file and layout information distributed from the first distribution means;
Layout means for laying out the area image file based on the layout information and generating document image data;
Display means for displaying a document image based on the sentence image data and displaying a text area in the document image based on the layout information so as to be selectable;
Selecting means for selecting an arbitrary text area from the text area in the document image;
Second distribution request transmission means for transmitting a distribution request for text information corresponding to the text area selected by the selection means to the distribution server;
Second acquisition means for acquiring the text information distributed from the second distribution means;
Display control means for causing the display means to display the text information acquired by the second acquisition means;
A document file browsing system comprising:
前記文書ファイルの配信要求を行った前記携帯端末の機種を判別する機種判別手段と、
前記機種判別手段が判別した前記携帯端末の機種に応じて、文書ファイルに含まれるテキスト領域の画像化を実行するか否かを決定するテキスト領域画像化決定手段と、
前記テキスト領域画像化決定手段が画像化を実行しないと決定した前記テキスト領域以外の領域の画像化を行うように、前記画像生成手段を制御する画像生成制御手段とを備えることを特徴とする請求項1記載の文書ファイル閲覧システム。 The distribution server
A model discriminating means for discriminating a model of the portable terminal that has made a delivery request for the document file;
Text area imaging determination means for determining whether or not to execute imaging of the text area included in the document file according to the model of the mobile terminal determined by the model determination means;
An image generation control unit that controls the image generation unit so as to perform imaging of an area other than the text area that is determined not to be imaged by the text area imaging determination unit. Item 1. A document file browsing system according to Item 1 .
前記テキスト領域画像化決定手段は、前記データテーブルを参照して、前記機種判別手段が判別した前記携帯端末の機種に対応する前記画面情報に基づき、前記テキスト領域の画像化を実行するか否かを決定することを特徴とする請求項2記載の文書ファイル閲覧システム。 The distribution server includes a storage unit that stores a data table in which a model of the mobile terminal is associated with screen information indicating the size and the number of pixels of the display unit of the display unit for each model,
Whether the text area imaging determination means performs imaging of the text area based on the screen information corresponding to the model of the portable terminal determined by the model determination means with reference to the data table The document file browsing system according to claim 2 , wherein the document file browsing system is determined.
前記配信サーバの前記機種判別手段は、第1配信要求受付手段で受け付けた前記文書ファイルの配信要求に含まれる前記固有識別情報に基づき、前記携帯端末の機種を判別することを特徴とする請求項2ないし4いずれか1項記載の文書ファイル閲覧システム。 Wherein the first delivery request transmitting means of the mobile terminal, sends a delivery request for the document file that contains the unique identification information indicating the model of the portable terminal to the distribution server,
The model determination unit of the distribution server determines a model of the portable terminal based on the unique identification information included in the document file distribution request received by the first distribution request reception unit. The document file browsing system according to any one of 2 to 4 .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010013261A JP5289349B2 (en) | 2010-01-25 | 2010-01-25 | Document file browsing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010013261A JP5289349B2 (en) | 2010-01-25 | 2010-01-25 | Document file browsing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011150646A JP2011150646A (en) | 2011-08-04 |
JP5289349B2 true JP5289349B2 (en) | 2013-09-11 |
Family
ID=44537540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010013261A Expired - Fee Related JP5289349B2 (en) | 2010-01-25 | 2010-01-25 | Document file browsing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5289349B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007048089A (en) * | 2005-08-10 | 2007-02-22 | Sharp Corp | Data processor, data processing method, data processing program, recording medium recorded of data processing program, and data structure of structured document data file |
JP2007164705A (en) * | 2005-12-16 | 2007-06-28 | S Ten Nine Kyoto:Kk | Method and program for converting computerized document |
JP2007199983A (en) * | 2006-01-26 | 2007-08-09 | Nec Corp | Document file browsing system, document file browsing method and document browsing program |
JP2009211601A (en) * | 2008-03-06 | 2009-09-17 | Nec Corp | Network distribution type document browsing system, document distribution server, document distribution method, and document distribution program |
-
2010
- 2010-01-25 JP JP2010013261A patent/JP5289349B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011150646A (en) | 2011-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8497883B2 (en) | Information display device | |
US10108584B2 (en) | Host apparatus and screen capture control method thereof | |
JP5187057B2 (en) | Layout printing system, layout document browsing method, and program | |
US20070279437A1 (en) | Method and apparatus for displaying document image, and information processing device | |
JP5901704B2 (en) | Information processing apparatus, information processing method, and program | |
US9619440B2 (en) | Document conversion apparatus | |
JP5829354B2 (en) | Information processing system, information processing system control method, information processing apparatus, information processing apparatus control method, information storage medium, and program | |
US8804169B2 (en) | Printing method, image forming apparatus, and web server | |
WO2012147485A1 (en) | Device, method, and program for displaying document file | |
JP2011243146A (en) | Relay server and its program, web site browsing system, web site browsing method, and application program | |
EP2317424A1 (en) | Information display device | |
JP2008234147A (en) | Document image display device, document image display method, and document image display program | |
US20130238984A1 (en) | Display control device, display control method, and computer program product | |
JP5355345B2 (en) | Document browsing system and control method thereof | |
US10171691B2 (en) | Document generation system for generating a second document from elements extracted from a first document, and document server, document generation method, and computer program | |
JP6128898B2 (en) | Information processing apparatus, control method for information processing apparatus, and program | |
JP5289349B2 (en) | Document file browsing system | |
JP5806551B2 (en) | Image processing apparatus, image processing method, and program | |
JP6977384B2 (en) | Information processing equipment, programs and image output systems | |
JP5267710B1 (en) | Information processing apparatus, content management system, and program | |
JP5838135B2 (en) | Mobile terminal device and WEB page display method | |
JP5345049B2 (en) | SEARCH SERVER, ITS CONTROL METHOD, AND SEARCH SYSTEM | |
JP5779412B2 (en) | Client / server system, client device, server device, comment screen creation method in client / server system, client device program, server device program | |
JP4852058B2 (en) | File generation server for mobile phone, operation control method thereof and control program thereof | |
JP6566514B2 (en) | Scale information setting device and scale information setting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120628 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130212 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130220 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130417 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130508 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130604 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5289349 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |