JP5289349B2 - Document file browsing system - Google Patents

Document file browsing system Download PDF

Info

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
Application number
JP2010013261A
Other languages
Japanese (ja)
Other versions
JP2011150646A (en
Inventor
浩教 矢野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2010013261A priority Critical patent/JP5289349B2/en
Publication of JP2011150646A publication Critical patent/JP2011150646A/en
Application granted granted Critical
Publication of JP5289349B2 publication Critical patent/JP5289349B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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には、サーバが文書ファイルを解析して、画像ファイルを生成するとともに、この文書ファイルに含まれるテキスト情報の抽出を行う文書ファイル閲覧システムが記載されている。この文書ファイル閲覧システムでは、サーバが携帯端末からの文書ファイルの配信要求を受け付けたときに、画像ファイルと共にテキスト情報を携帯端末に配信している。これにより、携帯端末では、文書画像の他に、テキスト情報を必要に応じて表示することができる。こうすれば、携帯端末のサイズの小さいディスプレイに文書画像を表示した際に、文書画像中では文字が潰れて読み難くなっている場合でも、テキスト情報を表示することで文書ファイルの内容を容易に把握することができる。   Patent Document 1 describes a document file browsing system in which a server analyzes a document file to generate an image file and extracts text information contained in the document file. In this document file browsing system, when a server receives a document file distribution request from a mobile terminal, the text information is distributed to the mobile terminal together with the image file. Thereby, in a portable terminal, in addition to a document image, text information can be displayed as needed. In this way, when a document image is displayed on a small-sized display of a portable terminal, even if characters are crushed and difficult to read in the document image, the contents of the document file can be easily displayed by displaying text information. I can grasp it.

特開2007−199983号公報Japanese Patent Laid-Open No. 2007-199983

特許文献1では、サーバから携帯端末へ画像ファイルとテキスト情報の両方を送信しているが、携帯端末のディスプレイのサイズや解像度は機種毎に異なっており、機種によっては文書画像中の文字を読み取ることができる場合もある。このような場合には、テキスト情報をディスプレイに表示する必要はない。一般に、携帯端末は、無線通信を介してサーバとの間でデータの遣り取りを行うことが多い。この無線通信は、有線通信と比較して回線の容量が小さく通信速度が遅くなるため、サーバから携帯端末へ送信するデータの量を可能な限り減らす対策が要望されていた。   In Patent Document 1, both the image file and the text information are transmitted from the server to the mobile terminal. However, the display size and resolution of the mobile terminal are different for each model, and depending on the model, the characters in the document image are read. Sometimes you can. In such a case, there is no need to display text information on the display. In general, mobile terminals often exchange data with a server via wireless communication. Since this wireless communication has a smaller line capacity and a slower communication speed than wired communication, there has been a demand for measures to reduce the amount of data transmitted from the server to the portable terminal as much as possible.

本発明は上記問題を解決するためのものであり、配信サーバから携帯端末へ送信するデータの量を可能な限り減らすことができる文書ファイル閲覧システムを提供することを目的とする。 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.

文書ファイル閲覧システムの概略図である。It is the schematic of a document file browsing system. レイアウト情報テーブルの説明図である。It is explanatory drawing of a layout information table. テキスト情報テーブルの説明図である。It is explanatory drawing of a text information table. 携帯端末の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of a portable terminal. 携帯端末で表示されるリスト画面の説明図である。It is explanatory drawing of the list screen displayed with a portable terminal. 携帯端末で表示される文書画像の説明図である。It is explanatory drawing of the document image displayed with a portable terminal. 文書ファイルの閲覧処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the browsing process of a document file. テキスト画像表示を説明するための説明図である。It is explanatory drawing for demonstrating a text image display. 第2実施形態の文書ファイル閲覧システムの概略図である。It is the schematic of the document file browsing system of 2nd Embodiment. 端末情報テーブルを説明するための説明図である。It is explanatory drawing for demonstrating a terminal information table. 第2実施形態における、文書ファイルの閲覧処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the browsing process of a document file in 2nd Embodiment. 領域画像ファイルの生成処理の流れを説明するためのフローチャートである。It is a flowchart for demonstrating the flow of the production | generation process of an area image file. 第2実施形態で表示される文書画像を説明するための説明図である。It is explanatory drawing for demonstrating the document image displayed by 2nd Embodiment.

図1に示すように、文書ファイル閲覧システム10は、文書配信サーバ11と、携帯端末12とで構成されている。携帯端末12は、基地局14と無線通信し、基地局14を介してインターネット15にアクセスすることにより、インターネット15を介して文書配信サーバ11と接続される。これにより、文書配信サーバ11と携帯端末12とは、インターネット15を介して相互に通信を行うことができる。   As shown in FIG. 1, the document file browsing system 10 includes a document distribution server 11 and a mobile terminal 12. The portable terminal 12 is connected to the document distribution server 11 via the Internet 15 by wirelessly communicating with the base station 14 and accessing the Internet 15 via the base station 14. Thereby, the document distribution server 11 and the portable terminal 12 can communicate with each other via the Internet 15.

文書配信サーバ11は、企業のネットワーク内に配置されたサーバであり、企業の社内で作成された種々の文書ファイル17を保管する。文書配信サーバ11は、携帯端末12から所定の文書ファイル17の配信要求を受け付けた際に、この文書ファイル17を画像ファイル18に変換して携帯端末12へ配信する。   The document distribution server 11 is a server arranged in a company network, and stores various document files 17 created in the company. When the document distribution server 11 receives a distribution request for a predetermined document file 17 from the portable terminal 12, the document distribution server 11 converts the document file 17 into an image file 18 and distributes the image file 18 to the portable terminal 12.

文書ファイル17は、文書作成ソフト、表計算ソフト、プレゼンテーションソフトなどのアプリケーションソフトウェアを用いて作成されており、上述の構造化された文書ファイル形式のデータである。この文書ファイル17には、テキスト、及び写真、図形、線画、表などの画像のオブジェクトが含まれている。   The document file 17 is created using application software such as document creation software, spreadsheet software, and presentation software, and is data in the above-described structured document file format. The document file 17 includes text and image objects such as photographs, figures, line drawings, and tables.

携帯端末12には、各種の情報を表示するための液晶ディスプレイ20と、各種の操作指示を入力するための操作部(選択手段)21とが設けられている。携帯端末12は、操作部21に入力された指示に応じて文書配信サーバ11にアクセスし、文書配信サーバ11から取得した情報を液晶ディスプレイ20に出力する。例えば、取得した情報が画像ファイル18である場合、液晶ディスプレイ20には、文書ファイル17に対応した文書画像22が表示される。   The mobile terminal 12 is provided with a liquid crystal display 20 for displaying various information and an operation unit (selecting means) 21 for inputting various operation instructions. The portable terminal 12 accesses the document distribution server 11 according to the instruction input to the operation unit 21, and outputs information acquired from the document distribution server 11 to the liquid crystal display 20. For example, when the acquired information is an image file 18, a document image 22 corresponding to the document file 17 is displayed on the liquid crystal display 20.

文書配信サーバ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 HDD 26, and a network I / F (first and second distribution request receiving unit, first and second distribution). Means) 27, a communication data control unit 28, a document file analysis unit 29, and an image generation unit 30 are provided. These units are connected to each other via a bus 31.

CPU24は、文書配信サーバ11の各部を統括的に制御する。メモリ25は、CPU24が制御を行う過程で生じた種々のデータを一時的に格納する。HDD26には、文書配信サーバ11を制御するための各種のプログラムやデータが格納されている。CPU24は、これらのプログラムやデータをHDD26から読み出してメモリ25に展開し、これを逐次処理することによって文書配信サーバ11の制御を行う。   The CPU 24 comprehensively controls each unit of the document distribution server 11. The memory 25 temporarily stores various data generated in the process in which the CPU 24 performs control. The HDD 26 stores various programs and data for controlling the document distribution server 11. The CPU 24 controls the document distribution server 11 by reading out these programs and data from the HDD 26 and developing them in the memory 25 and processing them sequentially.

HDD26には、上述のプログラムやデータの他に、文書ファイル格納部34と、画像格納部35と、レイアウト情報格納部36と、テキスト情報格納部37とが設けられている。文書ファイル格納部34は、社内で作成された各種の文書ファイル17を格納する。画像格納部35は、携帯端末12から配信要求された文書ファイル17(以下、配信要求文書ファイル17という)に対応する画像ファイル18を一時的に格納する。   The HDD 26 is provided with a document file storage unit 34, an image storage unit 35, a layout information storage unit 36, and a text information storage unit 37 in addition to the above programs and data. The document file storage unit 34 stores various document files 17 created in the company. The image storage unit 35 temporarily stores an image file 18 corresponding to a document file 17 requested to be distributed from the mobile terminal 12 (hereinafter referred to as a distribution request document file 17).

レイアウト情報格納部36は、配信要求文書ファイル17に含まれる各種オブジェクトのレイアウト情報を示すレイアウト情報テーブル39を一時的に格納する。テキスト情報格納部37は、配信要求文書ファイル17の個々のテキスト領域からそれぞれ抽出したテキスト情報をまとめたテキスト情報テーブル40を格納している。   The layout information storage unit 36 temporarily stores a layout information table 39 indicating layout information of various objects included in the distribution request document file 17. The text information storage unit 37 stores a text information table 40 in which text information extracted from each text area of the distribution request document file 17 is collected.

ネットワークI/F27は、インターネット15等を介して、携帯端末12と各種データの遣り取りを行う。ネットワークI/F27が携帯端末12から受信するデータは、文書ファイル格納部34内の文書ファイル17の一覧を示すリスト情報の配信要求(以下、リスト配信要求という)と、文書ファイル17の配信要求(以下、文書ファイル配信要求という)と、文書画像22の任意のテキスト領域に対応するテキスト情報の配信要求(以下、テキスト配信要求という)である。   The network I / F 27 exchanges various data with the mobile terminal 12 via the Internet 15 or the like. Data received by the network I / F 27 from the portable terminal 12 includes a distribution request for list information (hereinafter referred to as a list distribution request) indicating a list of document files 17 in the document file storage unit 34 and a distribution request for the document file 17 ( A document file distribution request) and a text information distribution request corresponding to an arbitrary text area of the document image 22 (hereinafter referred to as a text distribution request).

逆に、ネットワークI/F27が携帯端末12へ送信するデータは、リスト配信要求に対応するリスト情報と、配信要求文書ファイル17に対応する画像ファイル18及びレイアウト情報テーブル39と、テキスト配信要求で指定されたテキスト情報である。   Conversely, the data that the network I / F 27 transmits to the portable terminal 12 is specified by the list information corresponding to the list distribution request, the image file 18 and layout information table 39 corresponding to the distribution request document file 17, and the text distribution request. Text information.

通信データ制御部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 / F 27. For example, the communication data control unit 28 sends each distribution request received by the network I / F 27 to the CPU 24. In addition, the communication data control unit 28 converts the list information corresponding to each distribution request, the distribution request document file 17, the layout information table 39, and the text information into a predetermined data format suitable for wireless communication. Data is sent to the network I / F 27.

文書ファイル解析部29は、配信要求文書ファイル17を解析して、この配信要求文書ファイル17の各ページに含まれるテキストや画像などの各種オブジェクトのレイアウト情報を取得する。また、文書ファイル解析部29は、文書ファイル17の個々のテキスト領域からテキスト情報を取得する。文書ファイル解析部29には、レイアウト情報取得部42と、テキスト情報取得部43とが設けられている。   The document file analysis unit 29 analyzes the distribution request document file 17 and acquires layout information of various objects such as text and images included in each page of the distribution request document file 17. The document file analysis unit 29 acquires text information from each text area of the document file 17. The document file analysis unit 29 includes a layout information acquisition unit 42 and a text information acquisition unit 43.

レイアウト情報取得部42は、例えば仮想プリンタドライバを用いて配信要求文書ファイル17のレイアウトの解析を行う。仮想プリンタドライバは、配信要求文書ファイル17のページ毎に、ページに含まれるオブジェクトの種別、位置、及び大きさを示すページ記述言語(PDL)を生成し、これらページ毎のページ記述言語をレンダリング処理して、ページ毎の画像ファイル18を生成する。レイアウト情報取得部42は、仮想プリンタドライバが生成したページ毎のPDL情報に基づき、配信要求文書ファイル17の各ページのレイアウト情報を求めてレイアウト情報テーブル39を生成する。   The layout information acquisition unit 42 analyzes the layout of the distribution request document file 17 using, for example, a virtual printer driver. The virtual printer driver generates a page description language (PDL) indicating the type, position, and size of an object included in the page for each page of the distribution request document file 17, and renders the page description language for each page. Then, the image file 18 for each page is generated. The layout information acquisition unit 42 obtains layout information of each page of the distribution request document file 17 based on the PDL information for each page generated by the virtual printer driver, and generates the layout information table 39.

テキスト情報取得部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 request document file 17 based on the layout information table 39 generated by the layout information acquisition unit 42. Based on the determination result, the text information acquisition unit 43 acquires text information from all the text areas included in the distribution request document file 17 and generates the text information table 40.

画像生成部30は、配信要求文書ファイル17を、上述の仮想プリンタドライバにより仮想印刷することにより、文書ファイル17をページ毎に画像化して、ページ毎の画像ファイル18を生成する。なお、本実施形態では、上述のレイアウト情報取得部42によるレイアウト解析でも、仮想プリンタドライバを用いた仮想印刷が行われるので、この画像生成部30を上述の文書ファイル解析部29と一体化してもよい。   The image generation unit 30 performs virtual printing of the distribution request document file 17 using the above-described virtual printer driver, thereby imaging the document file 17 for each page and generating an image file 18 for each page. In this embodiment, virtual printing using a virtual printer driver is performed even in the layout analysis by the layout information acquisition unit 42 described above. Therefore, even if the image generation unit 30 is integrated with the document file analysis unit 29 described above. Good.

CPU24は、ネットワークI/F27で受信した各配信要求を解析し、各配信要求に応じた処理を実行する。CPU24は、受信した配信要求がリスト配信要求である場合には、文書ファイル格納部34内の文書ファイル17のファイル名とアドレスとを関連付けたリスト情報を生成し、このリスト情報を通信データ制御部28に送る。   The CPU 24 analyzes each distribution request received by the network I / F 27 and executes processing according to each distribution request. When the received distribution request is a list distribution request, the CPU 24 generates list information in which the file name and address of the document file 17 in the document file storage unit 34 are associated with each other, and uses the list information as a communication data control unit. Send to 28.

また、CPU24は、受信した配信要求が文書ファイル配信要求である場合、これに対応する配信要求文書ファイル17が文書ファイル格納部34内のどこに格納されているかを解析した後、文書配信サーバ11の各部に画像ファイル18及びレイアウト情報テーブル39の生成及び送信を実行させる。さらに、CPU24は、受信した配信要求がテキスト配信要求である場合、テキスト情報格納部37内から対応するテキスト情報を検索して、文書配信サーバ11の各部にテキスト情報の送信を実行させる。   When the received distribution request is a document file distribution request, the CPU 24 analyzes where the corresponding distribution request document file 17 is stored in the document file storage unit 34, and then the document distribution server 11. Each unit is caused to execute generation and transmission of the image file 18 and the layout information table 39. Further, when the received distribution request is a text distribution request, the CPU 24 searches corresponding text information from the text information storage unit 37 and causes each unit of the document distribution server 11 to transmit the text information.

図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 document file 17 in order to identify the document file 17 in the document file storage unit 34. The object ID is unique identification information given to an object in order to uniquely identify the object in the same page. As the object type, “text” is registered when the object is text, and “image” is registered when the object is an image such as a photograph, figure, line drawing, or table.

横位置、縦位置は、各ページの任意の点(例えば左上隅)を原点としたときの、各オブジェクトの左上隅の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 request document file 17 can be determined.

図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 request document file 17 based on the document ID, page number, and object ID.

図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 liquid crystal display 20 and the operation unit 21, the mobile terminal 12 includes a CPU (display control unit) 46, a memory 47, and a wireless communication unit (first and second distribution request transmission units, First and second acquisition means) 48, a communication data control unit 49, an image processing unit 50, a layout analysis unit 51, a text processing unit 52, and a liquid crystal driver 53. These are connected to each other via a bus 54.

CPU46は、メモリ47から各種のプログラムを読み出し、これを逐次処理することによって携帯端末12の各部を統括的に制御する。このCPU46には、操作部21が接続されている。これにより、ユーザからの操作指示が操作部21を介してCPU46に入力され、この操作指示に従って、CPU46は携帯端末12の各部に各種指令を発する。   The CPU 46 reads out various programs from the memory 47 and sequentially processes them to control each part of the mobile terminal 12 in an integrated manner. The operation unit 21 is connected to the CPU 46. Thereby, an operation instruction from the user is input to the CPU 46 via the operation unit 21, and the CPU 46 issues various commands to each unit of the mobile terminal 12 according to the operation instruction.

メモリ47には、上述のプログラムの他に、携帯端末12の固有識別情報を示す端末ID56と、文書画像22の閲覧用のビューアアプリケーションソフト(以下、単にビューアという)57とが格納されている。無線通信部48は、インターネット15等を介して、文書配信サーバ11との間で上述の各種データの遣り取りを行う。   In addition to the above-described program, the memory 47 stores a terminal ID 56 indicating unique identification information of the mobile terminal 12 and viewer application software (hereinafter simply referred to as a viewer) 57 for browsing the document image 22. The wireless communication unit 48 exchanges the above-described various data with the document distribution server 11 via the Internet 15 or the like.

通信データ制御部49は、無線通信部48が文書配信サーバ11から受信したデータを解析して、リスト情報はCPU46に送り、画像ファイル18は画像処理部50に送り、レイアウト情報テーブル39はレイアウト解析部51に送り、テキスト情報はテキスト処理部52に送る。また、通信データ制御部49は、CPU46からの指令の下、文書配信サーバ11に対して行うリスト情報配信要求、文書ファイル配信要求、及びテキスト情報配信要求を生成して無線通信部48に送る。   The communication data control unit 49 analyzes the data received by the wireless communication unit 48 from the document distribution server 11, sends the list information to the CPU 46, sends the image file 18 to the image processing unit 50, and the layout information table 39 displays the layout analysis. The text information is sent to the text processing section 52. In addition, the communication data control unit 49 generates a list information distribution request, a document file distribution request, and a text information distribution request to be sent to the document distribution server 11 under a command from the CPU 46 and sends them to the wireless communication unit 48.

画像処理部50は、通信データ制御部49から取得した画像ファイル18に拡大縮小、回転、平行移動等の各種画像処理を施すことで、液晶ディスプレイ20に適したサイズの文書画像22の画像データ(以下、文書画像データという)を生成する。なお、文書画像データは、配信要求文書ファイル17が複数ページである場合、複数ページ分の画像データで構成される。   The image processing unit 50 performs various kinds of image processing such as enlargement / reduction, rotation, and parallel movement on the image file 18 acquired from the communication data control unit 49, so that the image data of the document image 22 having a size suitable for the liquid crystal display 20 ( Hereinafter, the document image data) is generated. Note that the document image data includes image data for a plurality of pages when the distribution request document file 17 has a plurality of pages.

レイアウト解析部51は、画像処理部50で行われた拡大縮小等の画像処理の内容に基づき、レイアウト情報テーブル39に登録されている縦位置、横位置、幅、高さを、画像処理後の文書画像22に対応した値に補正する。この補正後のレイアウト情報テーブル39を参照することで、文書画像22の各ページに含まれるオブジェクトの種別、オブジェクトID、位置、及び大きさを判別することができる。   The layout analysis unit 51 calculates the vertical position, horizontal position, width, and height registered in the layout information table 39 based on the contents of image processing such as enlargement / reduction performed by the image processing unit 50 after image processing. Correction is made to a value corresponding to the document image 22. By referring to the corrected layout information table 39, the type, object ID, position, and size of the object included in each page of the document image 22 can be determined.

テキスト処理部52は、通信データ制御部49から取得したテキスト情報に基づき、メモリ47に格納されているフォントを用いて、表示用のテキストデータを生成する。   The text processing unit 52 generates text data for display using the font stored in the memory 47 based on the text information acquired from the communication data control unit 49.

液晶ドライバ53は、CPU46からの制御信号に応じて、文書配信サーバ11から取得した種々のデータをメモリ47から読み出し、そのデータをアナログのコンポジット信号に変換して液晶ディスプレイ20に出力する。   The liquid crystal driver 53 reads various data acquired from the document distribution server 11 from the memory 47 in accordance with a control signal from the CPU 46, converts the data into an analog composite signal, and outputs the analog composite signal to the liquid crystal display 20.

携帯端末12が文書配信サーバ11からリスト情報を取得した場合、図5に示すように、液晶ディスプレイ20には、文書配信サーバ11内の文書ファイル17のリストを示すリスト画面59が表示される。このリスト画面59において、各ファイル名には、その文書ファイル17の文書配信サーバ11内におけるアドレスを示すリンク60が張られている。操作部21の操作により、リンク60がポインタ61でクリックされると、このリンク60に対応する文書ファイル17の配信要求が文書配信サーバ11に対してなされる。   When the mobile terminal 12 acquires list information from the document distribution server 11, as shown in FIG. 5, a list screen 59 showing a list of document files 17 in the document distribution server 11 is displayed on the liquid crystal display 20. In the list screen 59, each file name has a link 60 indicating the address of the document file 17 in the document distribution server 11. When the link 60 is clicked with the pointer 61 by the operation of the operation unit 21, a distribution request for the document file 17 corresponding to the link 60 is made to the document distribution server 11.

また、携帯端末12が文書配信サーバ11から画像ファイル18とレイアウト情報テーブル39を取得した場合、図6に示すように、液晶ディスプレイ20には、画像ファイル18を元に生成された文書画像22が表示される。文書画像22中には、テキスト領域63を選択するための選択枠64が表示される。操作部21の操作により、選択枠64で任意のテキスト領域63を選択すると、選択枠64で強調表示されているテキスト領域63に対応するテキスト情報の配信要求が文書配信サーバ11に対してなされる。なお、符号65は、文書画像22内で画像が表示されている画像領域である。   When the mobile terminal 12 acquires the image file 18 and the layout information table 39 from the document distribution server 11, the document image 22 generated based on the image file 18 is displayed on the liquid crystal display 20 as shown in FIG. 6. Is displayed. A selection frame 64 for selecting the text area 63 is displayed in the document image 22. When an arbitrary text area 63 is selected in the selection frame 64 by operating the operation unit 21, a text information distribution request corresponding to the text area 63 highlighted in the selection frame 64 is made to the document distribution server 11. . Reference numeral 65 denotes an image area in which an image is displayed in the document image 22.

次に、図7に示すフローチャートを用いて、携帯端末12で文書ファイル17を閲覧する際の処理の流れについて説明を行う。操作部21にてビューア57の起動操作がなされると、CPU46は、通信データ制御部49及び無線通信部48に対してリスト配信要求の送信指令を発する。この送信指令を受けて、通信データ制御部49は、端末ID56を含んだ所定フォーマットのリスト配信要求を生成し、このリスト配信要求を無線通信部48に送る。これにより、リスト配信要求が、無線通信部48等を介して、文書配信サーバ11のネットワークI/F27へ送信される。   Next, the flow of processing when browsing the document file 17 on the mobile terminal 12 will be described using the flowchart shown in FIG. When the viewer 57 is activated by the operation unit 21, the CPU 46 issues a list distribution request transmission command to the communication data control unit 49 and the wireless communication unit 48. In response to this transmission command, the communication data control unit 49 generates a list distribution request in a predetermined format including the terminal ID 56, and sends this list distribution request to the wireless communication unit 48. As a result, the list distribution request is transmitted to the network I / F 27 of the document distribution server 11 via the wireless communication unit 48 or the like.

ネットワーク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 / F 27 is input to the CPU 24 via the communication data control unit 28. Based on the list distribution request, the CPU 24 generates list information of the document file 17 in the document file storage unit 34 and sends this list information to the communication data control unit 28. Further, based on the terminal ID 56 included in the list distribution request, the CPU 24 issues a transmission command to the communication data control unit 28 and the network I / F 27, with the list distribution request source mobile terminal 12 as the destination. Thereby, the list information is appropriately converted by the communication data control unit 28 and then transmitted to the wireless communication unit 48 of the mobile terminal 12 via the network I / F 27 or the like.

通信データ制御部49は、無線通信部48で受信したリスト情報をCPU46へ送る。CPU46は、リスト情報に基づきリスト画像データを生成し、このリスト画像データをメモリ47に一時的に格納する。次いで、CPU46は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47に格納されたリスト画像データを読み出して液晶ディスプレイ20へ出力する。これにより、図5で説明したリスト画面59が液晶ディスプレイ20に表示される。   The communication data control unit 49 sends the list information received by the wireless communication unit 48 to the CPU 46. The CPU 46 generates list image data based on the list information, and temporarily stores the list image data in the memory 47. Next, the CPU 46 issues a display command to the liquid crystal driver 53. In response to this display command, the liquid crystal driver 53 reads the list image data stored in the memory 47 and outputs it to the liquid crystal display 20. As a result, the list screen 59 described in FIG. 5 is displayed on the liquid crystal display 20.

操作部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 operation unit 21 is operated and the desired link 60 is clicked with the pointer 61, the CPU 46 issues a document file distribution request transmission command to the communication data control unit 49 and the wireless communication unit 48. In response to this transmission command, the communication data control unit 49 generates a document file transmission request including the address indicated by the clicked link 60 and the terminal ID 56 and sends it to the wireless communication unit 48. As a result, a document file distribution request (for example, GET http://doc.com/doc/?doc id = 1 HTTP / 1.1 User Agent: Keitai 1) is transmitted to the network I / F 27 of the document distribution server 11.

ネットワークI/F27で受け付けられた文書ファイル配信要求は、通信データ制御部28を経てCPU24に入力される。CPU24は、文書ファイル配信要求を解析して、配信要求文書ファイル17のアドレスを取得する。次いで、このアドレスに基づき、CPU24は、HDD26の文書ファイル格納部34から配信要求文書ファイル17を読み出して、メモリ25に一時的に格納させる。   The document file distribution request accepted by the network I / F 27 is input to the CPU 24 via the communication data control unit 28. The CPU 24 analyzes the document file distribution request and acquires the address of the distribution request document file 17. Next, based on this address, the CPU 24 reads the distribution request document file 17 from the document file storage unit 34 of the HDD 26 and temporarily stores it in the memory 25.

配信要求文書ファイル17の格納後、CPU24は、文書ファイル解析部29に対して解析指令を発する。この解析指令を受けて、文書ファイル解析部29のレイアウト情報取得部42が作動する。レイアウト情報取得部42は、メモリ25から配信要求文書ファイル17を読み出して、この配信要求文書ファイル17を仮想プリンタドライバにより仮想印刷する。   After storing the distribution request document file 17, the CPU 24 issues an analysis command to the document file analysis unit 29. In response to this analysis command, the layout information acquisition unit 42 of the document file analysis unit 29 operates. The layout information acquisition unit 42 reads the distribution request document file 17 from the memory 25, and virtually prints this distribution request document file 17 using a virtual printer driver.

仮想印刷が実行されると、レイアウト情報取得部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 request document file 17 generated by the virtual printer driver, the type, horizontal position, vertical position, width of the object included in each page Find layout information consisting of height. Further, the layout information acquisition unit 42 attaches an object ID that can be uniquely identified to each object within the same page.

次いで、レイアウト情報取得部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 request document file 17, the page number of the page including each object, and the object ID and layout information of each object are associated with each other. Generate. The layout information table 39 is temporarily stored in the layout information storage unit 36.

レイアウト情報テーブル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 information storage unit 36 to determine the text area 63 included in each page of the distribution request document file 17 and then determines the text information from all the text areas 63. To get.

また、テキスト情報取得部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 information storage unit 37 of the HDD 26.

テキスト情報テーブル40の格納後、CPU24は、画像生成部30に対して画像生成指令を発する。この画像生成指令を受けて、画像生成部30は、配信要求文書ファイル17を仮想プリンタドライバにより仮想印刷する。これにより、文書ファイル17がページ毎に画像化されて、ページ毎の画像ファイル18が生成される。各画像ファイル18は、画像格納部35に一時的に格納される。なお、上述したように、レイアウト情報取得部42にて仮想印刷を実行するため、この仮想印刷で得られた画像ファイル18を画像格納部35に格納してもよい。   After storing the text information table 40, the CPU 24 issues an image generation command to the image generation unit 30. Upon receiving this image generation command, the image generation unit 30 virtually prints the distribution request document file 17 using the virtual printer driver. As a result, the document file 17 is imaged for each page, and an image file 18 for each page is generated. Each image file 18 is temporarily stored in the image storage unit 35. As described above, since the virtual printing is executed by the layout information acquisition unit 42, the image file 18 obtained by the virtual printing may be stored in the image storage unit 35.

画像ファイル18の格納後、CPU24は、画像格納部35及びレイアウト情報格納部36からそれぞれ画像ファイル18及びレイアウト情報テーブル39を読み出して、通信データ制御部28に送る。また、CPU24は、文書ファイル配信要求元の携帯端末12を宛先とした送信指令を通信データ制御部28及びネットワークI/F27に対して発する。これにより、上述のリンク情報送信時と同様に、画像ファイル18及びレイアウト情報テーブル39は、携帯端末12の無線通信部48へ送信される。   After storing the image file 18, the CPU 24 reads the image file 18 and the layout information table 39 from the image storage unit 35 and the layout information storage unit 36, and sends them to the communication data control unit 28. In addition, the CPU 24 issues a transmission command to the communication data control unit 28 and the network I / F 27 with the destination of the portable terminal 12 as the document file distribution request source. As a result, the image file 18 and the layout information table 39 are transmitted to the wireless communication unit 48 of the mobile terminal 12 in the same manner as when the link information is transmitted.

無線通信部48で受信された画像ファイル18及びレイアウト情報テーブル39は、通信データ制御部49に送られる。通信データ制御部49は、画像ファイル18を画像処理部50に送り、レイアウト情報テーブル39をレイアウト解析部51に送る。次いで、CPU46は、画像処理部50に対して画像処理指令を発する。この画像処理指令を受けて、画像処理部50は、各画像ファイル18に画像処理を施す。これにより、液晶ディスプレイ20のサイズに適した文書画像データが生成される。この文書画像データは、メモリ47に一時的に格納される。   The image file 18 and the layout information table 39 received by the wireless communication unit 48 are sent to the communication data control unit 49. The communication data control unit 49 sends the image file 18 to the image processing unit 50 and sends the layout information table 39 to the layout analysis unit 51. Next, the CPU 46 issues an image processing command to the image processing unit 50. In response to this image processing command, the image processing unit 50 performs image processing on each image file 18. Thereby, document image data suitable for the size of the liquid crystal display 20 is generated. This document image data is temporarily stored in the memory 47.

文書画像データの格納後、CPU46は、レイアウト解析部51に対してレイアウト解析指令を発する。このレイアウト解析指令を受けて、レイアウト解析部51は、画像処理部50にて行われた画像処理に基づき、レイアウト情報テーブル39に登録されている縦位置、横位置、幅、高さを補正する。これにより、文書画像22の各ページに含まれるテキスト領域63の大きさ及び位置が判別可能となる。補正後のレイアウト情報テーブル39は、CPU46に送られる。   After storing the document image data, the CPU 46 issues a layout analysis command to the layout analysis unit 51. In response to this layout analysis command, the layout analysis unit 51 corrects the vertical position, horizontal position, width, and height registered in the layout information table 39 based on the image processing performed by the image processing unit 50. . Thereby, the size and position of the text area 63 included in each page of the document image 22 can be determined. The corrected layout information table 39 is sent to the CPU 46.

CPU46は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内の文書画像データを読み出して液晶ディスプレイ20に出力する。これにより、文書画像22が液晶ディスプレイ20に表示される。   The CPU 46 issues a display command to the liquid crystal driver 53. In response to this display command, the liquid crystal driver 53 reads out the document image data in the memory 47 and outputs it to the liquid crystal display 20. As a result, the document image 22 is displayed on the liquid crystal display 20.

図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 operation unit 21 is pressed while the document image 22 is displayed, the CPU 46 determines the text area included in the document image 22 based on the layout information table 39. The size and position of 63 are determined. Based on the determination result, the CPU 46 issues a highlight display command for highlighting an arbitrary text region 63 in the document image 22 to the liquid crystal driver 53. As a result, the liquid crystal driver 53 highlights the text area 63 designated by the CPU 46 with the selection frame 64. Thereafter, each time the selection key is pressed, the text area 63 highlighted in the selection frame 64 is switched.

図7に戻って、操作部21の所定の決定キーが押下されてテキスト情報の取得操作がなされると、CPU46は、レイアウト情報テーブル39から、文書IDと、現在表示されている文書画像22のページ番号と、選択枠64で強調表示されているテキスト領域63に対応するオブジェクトIDとをそれぞれ読み出して、通信データ制御部49に送る。次いで、CPU46は、通信データ制御部49及び無線通信部48に対してテキスト配信要求の送信指令を発する。   Returning to FIG. 7, when a predetermined determination key of the operation unit 21 is pressed and an operation for acquiring text information is performed, the CPU 46 reads the document ID and the currently displayed document image 22 from the layout information table 39. The page number and the object ID corresponding to the text area 63 highlighted in the selection frame 64 are read out and sent to the communication data control unit 49. Next, the CPU 46 issues a text distribution request transmission command to the communication data control unit 49 and the wireless communication unit 48.

通信データ制御部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 CPU 46, the communication data control unit 49 generates a text distribution request including the terminal ID 56, document ID, page number, and object ID, and sends this text distribution request to the wireless communication unit 48. As a result, a text delivery request (for example, GET http://doc.com/doc/?doc id = 1 / ctx id = 3 HTTP / 1.1˜) is transmitted to the network I / F 27 of the document delivery server 11. 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 / F 27 is input to the CPU 24 via the communication data control unit 28. The CPU 24 acquires text information in which the document ID, page number, and object ID included in the text distribution request match from the text information table 40 in the text information storage unit 37. Next, the CPU 24 sends the text information to the communication data control unit 28 and issues a transmission command to the communication data control unit 28 and the network I / F 27 with the mobile terminal 12 as the text distribution request source as the destination. Thereby, the text information is transmitted to the wireless communication unit 48 of the mobile terminal 12.

無線通信部48で受信されたテキスト情報は通信データ制御部49に送られ、さらにこの通信データ制御部49からテキスト処理部52に送られる。次いで、CPU46は、テキスト処理部52に対して、テキストデータ生成指令を発する。このテキストデータ生成指令を受けて、テキスト処理部52は、テキスト情報から表示用のテキストデータを生成する。このテキストデータは、メモリ47に一時的に格納される。   The text information received by the wireless communication unit 48 is sent to the communication data control unit 49, and further sent from the communication data control unit 49 to the text processing unit 52. Next, the CPU 46 issues a text data generation command to the text processing unit 52. In response to the text data generation command, the text processing unit 52 generates text data for display from the text information. This text data is temporarily stored in the memory 47.

テキストデータの格納後、CPU46は、液晶ドライバ53に対してテキスト表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内のテキストデータを読み出して液晶ディスプレイ20に出力する。   After storing the text data, the CPU 46 issues a text display command to the liquid crystal driver 53. In response to this display command, the liquid crystal driver 53 reads the text data in the memory 47 and outputs it to the liquid crystal display 20.

図8(B)に示すように、上述の図8(A)で選択されたテキスト領域63に対応するテキスト画像67が先の文書画像22上に重ね合わせて液晶ディスプレイ20に表示される。この際に、CPU46は、テキスト画像67が液晶ディスプレイ20の画面に合わせて拡大して表示されるように、液晶ドライバ53を制御する。   As shown in FIG. 8B, a text image 67 corresponding to the text area 63 selected in FIG. 8A is overlaid on the previous document image 22 and displayed on the liquid crystal display 20. At this time, the CPU 46 controls the liquid crystal driver 53 so that the text image 67 is enlarged and displayed in accordance with the screen of the liquid crystal display 20.

テキスト画像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 document image 22 even on the small liquid crystal display 20 of the mobile terminal 12. As described above, the document distribution server 11 distributes the text information to the mobile terminal 12 when the user desires to confirm the content of the text in the document image 22. Can also be reduced.

操作部21の決定キーが再度押下されると、テキスト画像67の表示が停止され、再度図8(A)に示すような文書画像22が液晶ディスプレイ20に表示される。以下、操作部21で、テキスト領域63の選択及び選択決定操作が行われるたびに、文書配信サーバ11からのテキスト情報の取得と表示が繰り返し実行される。   When the enter key of the operation unit 21 is pressed again, the display of the text image 67 is stopped and the document image 22 as shown in FIG. 8A is displayed on the liquid crystal display 20 again. Hereinafter, every time selection and selection determination operation of the text area 63 is performed on the operation unit 21, acquisition and display of text information from the document distribution server 11 are repeatedly executed.

次に、図9を用いて、本発明の第2実施形態の文書ファイル閲覧システム70について説明を行う。上述の第1実施形態では、文書配信サーバ11が、配信要求文書ファイル17をページ毎に画像化した画像ファイル18を携帯端末12へ配信している。これに対して、文書ファイル閲覧システム70では、文書配信サーバ71から携帯端末72に対して、配信要求文書ファイル17を各ページのオブジェクトの領域毎に画像化した領域画像ファイル73を配信する。   Next, the document file browsing system 70 according to the second embodiment of the present invention will be described with reference to FIG. In the first embodiment described above, the document distribution server 11 distributes the image file 18 obtained by imaging the distribution request document file 17 for each page to the mobile terminal 12. On the other hand, in the document file browsing system 70, a region image file 73 obtained by imaging the distribution request document file 17 for each object region of each page is distributed from the document distribution server 71 to the portable terminal 72.

また、文書ファイル閲覧システム70では、液晶ディスプレイ20のサイズや解像度が異なる携帯端末72の機種に応じて、配信要求文書ファイル17のテキスト領域の画像化を実行するか否かを決定する。以下、文書ファイル閲覧システム70について詳しく説明する。なお、上記第1実施形態と機能・構成上同一のものについては、同一符号を付してその説明は省略する。   Further, the document file browsing system 70 determines whether or not to execute the imaging of the text area of the distribution request document file 17 according to the model of the portable terminal 72 having a different size and resolution of the liquid crystal display 20. Hereinafter, the document file browsing system 70 will be described in detail. In addition, about the thing same as said 1st Embodiment on a function and a structure, the same code | symbol is attached | subjected and the description is abbreviate | omitted.

文書ファイル閲覧システム70は、文書配信サーバ71と、携帯端末72とで構成されている。文書配信サーバ71は、上記第1実施形態の文書配信サーバ11と基本的には同じ構成である。ただし、文書配信サーバ71には、CPU24と画像生成部30の代わりに、CPU(画像生成制御手段)75と、テキスト領域画像化決定部(機種判別手段、テキスト領域画像化決定手段)76と、領域画像生成部77とが設けられている。また、HDD(格納手段)26には、画像格納部35の代わりに、領域画像格納部78と、端末情報テーブル79とが設けられている。   The document file browsing system 70 includes a document distribution server 71 and a portable terminal 72. The document distribution server 71 has basically the same configuration as the document distribution server 11 of the first embodiment. However, the document distribution server 71 includes a CPU (image generation control unit) 75, a text area imaging determination unit (model determination unit, text area imaging determination unit) 76, instead of the CPU 24 and the image generation unit 30. An area image generation unit 77 is provided. The HDD (storage means) 26 is provided with an area image storage unit 78 and a terminal information table 79 instead of the image storage unit 35.

領域画像格納部78には、上述の領域画像ファイル73が格納される。領域画像ファイル73には、元のオブジェクトに対応するページ番号とオブジェクトIDとが付帯情報として画像データに付与されている。   The area image storage unit 78 stores the area image file 73 described above. In the area image file 73, a page number and an object ID corresponding to the original object are attached to the image data as supplementary information.

図10に示すように、端末情報テーブル79には、端末ID56と、この端末ID56が割り当てられた携帯端末72の機種と、この機種における液晶ディスプレイ20の画面情報(表示画面の幅、高さ、及び単位長さ当たりの画素数を示すdpi)とが対応付けて記憶されている。これにより、端末情報テーブル79を参照することで、端末ID56に基づき、携帯端末72の機種毎の画面情報を判別することができる。   As shown in FIG. 10, in the terminal information table 79, the terminal ID 56, the model of the portable terminal 72 to which the terminal ID 56 is assigned, and the screen information of the liquid crystal display 20 in this model (the width and height of the display screen, And dpi indicating the number of pixels per unit length are stored in association with each other. Thereby, by referring to the terminal information table 79, the screen information for each model of the portable terminal 72 can be determined based on the terminal ID 56.

図9に戻って、テキスト領域画像化決定部76は、端末情報テーブル79を参照して、文書ファイル配信要求元の機種に対応した液晶ディスプレイ20の画面情報を判別し、この判別結果に基づき、配信要求文書ファイル17のテキスト領域63の画像化を実行するか否かを決定する。具体的には、液晶ディスプレイ20で表示されるテキスト領域63内の文字サイズが所定のしきい値よりも小さくなる場合に、このテキスト領域63の画像化中止を決定する。   Returning to FIG. 9, the text area imaging determination unit 76 refers to the terminal information table 79 to determine the screen information of the liquid crystal display 20 corresponding to the model of the document file distribution request source, and based on this determination result, It is determined whether or not to image the text area 63 of the distribution request document file 17. Specifically, when the character size in the text area 63 displayed on the liquid crystal display 20 is smaller than a predetermined threshold value, it is determined to stop imaging the text area 63.

領域画像生成部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 request document file 17 for each area of the object included in each page using a virtual printer driver. Thus, the area image file 73 is generated.

CPU75は、基本的に上記第1実施形態のCPU24と同じ制御を行う。ただし、CPU75は、テキスト領域画像化決定部76の決定結果に基づき、領域画像生成部77が画像化する配信要求文書ファイル17中のオブジェクトの領域を指定する。   The CPU 75 basically performs the same control as the CPU 24 of the first embodiment. However, the CPU 75 designates an object region in the distribution request document file 17 to be imaged by the region image generation unit 77 based on the determination result of the text region imaging determination unit 76.

携帯端末72は、上記第1実施形態の携帯端末12と基本的には同じ構成である。ただし、携帯端末72には、上述のCPU46とレイアウト解析部51との代わりに、CPU81とレイアウト処理部82とが設けられている。   The portable terminal 72 has basically the same configuration as the portable terminal 12 of the first embodiment. However, the mobile terminal 72 is provided with a CPU 81 and a layout processing unit 82 instead of the CPU 46 and the layout analysis unit 51 described above.

レイアウト処理部82は、文書配信サーバ71から取得したレイアウト情報テーブル39に基づき、領域画像ファイル73をレイアウトして文書画像データを生成する。文書画像データは、文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得している場合、上記第1実施形態のようにページ毎に画像化した時と同じようなデータが得られる。逆に、テキスト領域63の領域画像ファイル73を取得していない場合、文書画像データには、テキスト領域63に対応するデータが含まれない。   The layout processing unit 82 lays out the area image file 73 based on the layout information table 39 acquired from the document distribution server 71 and generates document image data. As the document image data, when the area image file 73 of the text area 63 is acquired from the document distribution server 71, the same data as when imaged for each page as in the first embodiment is obtained. Conversely, when the area image file 73 of the text area 63 is not acquired, the data corresponding to the text area 63 is not included in the document image data.

CPU81は、基本的に上記第1実施形態のCPU46と同じ制御を行う。ただし、CPU81は、文書画像データにテキスト領域63に対応するデータが含まれていない場合、文書画像22のテキスト領域63に対応する領域には、テキスト領域63であることを示す表示を行わせる。   The CPU 81 basically performs the same control as the CPU 46 of the first embodiment. However, if the data corresponding to the text area 63 is not included in the document image data, the CPU 81 causes the area corresponding to the text area 63 of the document image 22 to be displayed indicating that it is the text area 63.

次に、図11に示すフローチャートを用いて、携帯端末72で文書ファイル17を閲覧する際の処理の流れについて説明を行う。なお、携帯端末72からの文書ファイル配信要求に基づき、文書配信サーバ71がレイアウト情報テーブル39及びテキスト情報テーブル40を生成するまで処理の流れは、上述の第1実施形態と同じである。両テーブル39,40がそれぞれレイアウト情報格納部36、テキスト情報格納部37に格納された後、CPU75は、テキスト領域画像化決定部76に対して画像化決定指令を発する。この画像化決定指令には、文書ファイル配信要求に含まれている端末ID56が付与されている。   Next, the flow of processing when browsing the document file 17 on the portable terminal 72 will be described using the flowchart shown in FIG. The processing flow is the same as that in the first embodiment described above until the document distribution server 71 generates the layout information table 39 and the text information table 40 based on the document file distribution request from the portable terminal 72. After the tables 39 and 40 are stored in the layout information storage unit 36 and the text information storage unit 37, respectively, the CPU 75 issues an imaging determination command to the text area imaging determination unit 76. This imaging determination command is given the terminal ID 56 included in the document file distribution request.

図12に示すように、テキスト領域画像化決定部76は、CPU75からの画像化決定指令を受けて作動する。最初に、テキスト領域画像化決定部76は、端末ID56に基づき、HDD26内の端末情報テーブル79を参照して、この端末ID56に対応する携帯端末72の機種及びその液晶ディスプレイ20の画面情報を検索する。   As shown in FIG. 12, the text region imaging determination unit 76 operates in response to an imaging determination command from the CPU 75. First, the text region imaging determination unit 76 refers to the terminal information table 79 in the HDD 26 based on the terminal ID 56 and searches for the model of the portable terminal 72 corresponding to the terminal ID 56 and the screen information of the liquid crystal display 20. To do.

次いで、テキスト領域画像化決定部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 imaging determination unit 76 displays the number of pixels per character of the character and the character length in the image obtained by the virtual printing at the time of acquiring the layout information, and the screen of the liquid crystal display 20 corresponding to the terminal ID 56. Based on the information, the number p of pixels per character and the character length L when the region image of each text region 63 is displayed on the liquid crystal display 20 are obtained. Then, the text area imaging determination unit 76 sets the pixel per character described above when the preset threshold number of pixels per character is pt and the length threshold per character is Lt. It is determined whether the number p and the character length L satisfy the imaging stop condition consisting of the following formulas (1) and (2).
(1) pt> p
(2) Lt> L

テキスト領域画像化決定部76は、上記式(1)及び式(2)のいずれも満たさないテキスト領域63については画像化を決定するとともに、上記式(1)及び式(2)の少なくともいずれか一方を満たしたテキスト領域63については画像化中止を決定する。テキスト領域画像化決定部76の決定結果は、CPU75に送られる。   The text area imaging determination unit 76 determines imaging for the text area 63 that does not satisfy either of the above formulas (1) and (2), and at least one of the above formulas (1) and (2). For the text region 63 that satisfies one of them, the imaging stop is determined. The determination result of the text area imaging determination unit 76 is sent to the CPU 75.

CPU75は、テキスト領域画像化決定部76の決定結果を受けて、領域画像生成部77に対して領域画像生成指令を発する。この際に、CPU75は、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63については、画像化を中止する旨の指令を発する。   In response to the determination result of the text region imaging determination unit 76, the CPU 75 issues a region image generation command to the region image generation unit 77. At this time, the CPU 75 issues a command to stop imaging for the text area 63 for which the text area imaging determination unit 76 has determined to stop imaging.

領域画像生成部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 CPU 75. The area image generation unit 77 refers to the layout information table 39 and generates the area image file 73 by virtually printing the distribution request document file 17 with the virtual printer driver for each object area of each page. At this time, the CPU 75 does not image the text area for which the imaging stop is designated by the CPU 75. As a result, the imaging of the text region on the screen of the portable terminal 72 is stopped for the text region that is too small to grasp the content. Each area image file 73 is stored in the area image storage unit 78 of the HDD 26 after being given a page number and an object ID.

図11に戻って、CPU75は、領域画像格納部78及びレイアウト情報格納部36からそれぞれ各領域画像ファイル73及びレイアウト情報テーブル39を読み出して、通信データ制御部28に送る。以下、上記第1実施形態と同様にして、領域画像ファイル73及びレイアウト情報テーブル39が、携帯端末12の無線通信部48へ送信される。   Returning to FIG. 11, the CPU 75 reads the area image file 73 and the layout information table 39 from the area image storage unit 78 and the layout information storage unit 36, respectively, and sends them to the communication data control unit 28. Thereafter, the area image file 73 and the layout information table 39 are transmitted to the wireless communication unit 48 of the mobile terminal 12 in the same manner as in the first embodiment.

無線通信部48で受信された各領域画像ファイル73及びレイアウト情報テーブル39は、通信データ制御部49より、画像処理部50とレイアウト処理部82とにそれぞれ送られる。画像処理部50は、各領域画像ファイル73に適宜画像処理を施した後、レイアウト処理部82に送る。次いで、CPU81は、レイアウト処理部82に対して領域画像ファイル73のレイアウト指令を発する。   Each area image file 73 and layout information table 39 received by the wireless communication unit 48 are sent from the communication data control unit 49 to the image processing unit 50 and the layout processing unit 82, respectively. The image processing unit 50 appropriately performs image processing on each region image file 73 and then sends the image processing unit 50 to the layout processing unit 82. Next, the CPU 81 issues a layout command for the area image file 73 to the layout processing unit 82.

レイアウト処理部82は、CPU81からのレイアウト指令を受けて、先に取得したレイアウト情報テーブル39と、各領域画像ファイル73に付与されたページ情報及びオブジェクトIDとに基づき、各領域画像ファイル73をレイアウトして文書画像データを生成する。この文書画像データは、上記第1実施形態と同様に、画像処理部50にて液晶ディスプレイ20のサイズに適したデータに変換された後、メモリ47に格納される。また、レイアウト処理部82は、上記第1実施形態と同様に、レイアウト情報テーブル39を補正した後にCPU81へ送る。   Upon receiving a layout command from the CPU 81, the layout processing unit 82 lays out each area image file 73 based on the previously acquired layout information table 39 and the page information and object ID assigned to each area image file 73. Then, document image data is generated. The document image data is stored in the memory 47 after being converted into data suitable for the size of the liquid crystal display 20 by the image processing unit 50 as in the first embodiment. In addition, the layout processing unit 82 corrects the layout information table 39 and sends it to the CPU 81 as in the first embodiment.

CPU81は、液晶ドライバ53に対して表示指令を発する。この表示指令を受けて、液晶ドライバ53は、メモリ47内の文書画像データを読み出して液晶ディスプレイ20に出力する。文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得している場合、上述の図8(A)で説明したような文書画像22が液晶ディスプレイ20に表示される。   The CPU 81 issues a display command to the liquid crystal driver 53. In response to this display command, the liquid crystal driver 53 reads out the document image data in the memory 47 and outputs it to the liquid crystal display 20. When the area image file 73 of the text area 63 is acquired from the document distribution server 71, the document image 22 as described with reference to FIG. 8A is displayed on the liquid crystal display 20.

これに対して、文書配信サーバ71からテキスト領域63の領域画像ファイル73を取得していない場合、文書画像データには、テキスト領域63に対応するデータが含まれない。この場合、図13(A)に示すように、CPU81は、レイアウト情報テーブル39に基づき、文書画像22のテキスト領域63に対応する領域に、テキスト領域63であることを示すマーク84が表示されるように液晶ドライバ53を制御する。これにより、ユーザは、マーク84が表示される領域がテキスト領域63であることが判る。   On the other hand, when the area image file 73 of the text area 63 is not acquired from the document distribution server 71, the data corresponding to the text area 63 is not included in the document image data. In this case, as shown in FIG. 13A, the CPU 81 displays a mark 84 indicating the text area 63 in an area corresponding to the text area 63 of the document image 22 based on the layout information table 39. Thus, the liquid crystal driver 53 is controlled. Thereby, the user can recognize that the area where the mark 84 is displayed is the text area 63.

以下、第1実施形態と同様に、文書画像22中の任意のマーク84を選択枠64で選択して選択決定操作を行うと、図13(B)に示すように、このマーク84が示すテキスト領域63に対応するテキスト画像67が液晶ディスプレイ20に表示される。携帯端末12の画面では内容を把握することが困難なテキスト領域63の領域画像ファイル73を、携帯端末72へ配信しないようにしたので、第1実施形態よりも携帯端末72へ配信するデータの量を減らすことができる。   Thereafter, as in the first embodiment, when an arbitrary mark 84 in the document image 22 is selected with the selection frame 64 and a selection determination operation is performed, the text indicated by the mark 84 is shown in FIG. 13B. A text image 67 corresponding to the region 63 is displayed on the liquid crystal display 20. Since the area image file 73 of the text area 63 whose contents are difficult to grasp on the screen of the mobile terminal 12 is not distributed to the mobile terminal 72, the amount of data to be distributed to the mobile terminal 72 than in the first embodiment Can be reduced.

上記第2実施形態では、文書画像22上の、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63には、マーク84が代わりに表示される。このテキスト領域63については、その内容を確認するためにテキスト情報の配信要求が文書配信サーバ71に対してなされる可能性が高い。このため、文書配信サーバ71が携帯端末72へ領域画像ファイル73等を配信する際に、領域画像ファイル73を生成しなかったテキスト領域63のテキスト情報も同時に携帯端末72へ配信してもよい。   In the second embodiment, a mark 84 is displayed instead on the text area 63 on the document image 22 where the text area imaging determination unit 76 has determined to stop imaging. With respect to the text area 63, there is a high possibility that a text information distribution request is made to the document distribution server 71 in order to confirm the contents. For this reason, when the document distribution server 71 distributes the area image file 73 or the like to the portable terminal 72, the text information of the text area 63 for which the area image file 73 is not generated may be simultaneously distributed to the portable terminal 72.

このような場合、携帯端末72は、文書画像22中の任意のテキスト領域63の選択決定操作がなされたときに、このテキスト領域63に対応するテキスト情報を既に取得している場合には、取得済みのテキスト情報に基づきテキスト画像67の表示を行う。また、携帯端末72は、対応するテキスト情報を取得していない場合には、上述したように文書配信サーバ71から取得する。   In such a case, the portable terminal 72 acquires the text information corresponding to the text area 63 when the selection decision operation for the arbitrary text area 63 in the document image 22 is performed. The text image 67 is displayed based on the completed text information. Moreover, the portable terminal 72 acquires from the document delivery server 71 as mentioned above, when the corresponding text information is not acquired.

上記第2実施形態では、携帯端末12に表示される文書画像22上において、テキスト領域画像化決定部76が画像化中止を決定したテキスト領域63にはマーク84を表示しているが、このマーク84は、図13(A)に示した形状のマークに限定されるものではなく、例えば「×」などの形状であってもよい。また、マーク84の代わりに、例えば、文書ファイル17のタイトルなどを表示してもよい。   In the second embodiment, on the document image 22 displayed on the mobile terminal 12, the text region imaging determination unit 76 displays the mark 84 in the text region 63 determined to stop imaging. 84 is not limited to the mark having the shape shown in FIG. 13A, and may be a shape such as “x”, for example. Further, for example, the title of the document file 17 may be displayed instead of the mark 84.

上記第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 request document file 17 using a virtual printer driver. The layout information table 39 may be generated from the converted image file 18.

例えば、画像ファイル18を解析して、画像に含まれるオブジェクトの塊毎に領域に分割し、各領域の属性を判定する領域分割処理(特開2009−193254号公報参照)などを行うことで、レイアウト情報テーブル39を生成することができる。また、文書ファイル17を所定のビューアアプリケーションソフトで開くことで、文書ファイル17の画像をメモリバッファ上に展開し、この画像を上述の領域分割処理等でレイアウト解析することで、同様にレイアウト情報テーブル39を生成することができる。   For example, the image file 18 is analyzed, divided into regions for each object block included in the image, and region division processing (see Japanese Patent Application Laid-Open No. 2009-193254) for determining the attribute of each region is performed. A layout information table 39 can be generated. Further, by opening the document file 17 with a predetermined viewer application software, the image of the document file 17 is developed on the memory buffer, and the layout analysis table is similarly analyzed by performing the layout analysis by the above-described area division processing or the like. 39 can be generated.

また、この場合には、テキスト情報取得部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 document file 17 and its image is not limited to the method described above, and various known methods can be used.

上記第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 SYMBOLS 10,70 Document file browsing system 11,71 Document delivery server 12,72 Portable terminal 17 Document file 18 Image file 21 Operation part 22 Document image 24,75 CPU
DESCRIPTION OF SYMBOLS 30 Image generation part 39 Layout information table 40 Text information table 42 Layout information acquisition part 43 Text information acquisition part 46,81 CPU
51 Layout Analysis Unit 63 Text Area 67 Text Image 76 Text Area Imaging Determination Unit 77 Area Image Generation Unit 82 Layout Processing Unit 84 Mark

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:
前記配信サーバは、
前記文書ファイルの配信要求を行った前記携帯端末の機種を判別する機種判別手段と、
前記機種判別手段が判別した前記携帯端末の機種に応じて、文書ファイルに含まれるテキスト領域の画像化を実行するか否かを決定するテキスト領域画像化決定手段と、
前記テキスト領域画像化決定手段が画像化を実行しないと決定した前記テキスト領域以外の領域の画像化を行うように、前記画像生成手段を制御する画像生成制御手段とを備えることを特徴とする請求項記載の文書ファイル閲覧システム。
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 .
前記配信サーバは、前記携帯端末の機種と、当該機種毎の前記表示手段の表示画面のサイズ及び画素数を示す画面情報とを対応付けたデータテーブルを格納した格納手段を備えており、
前記テキスト領域画像化決定手段は、前記データテーブルを参照して、前記機種判別手段が判別した前記携帯端末の機種に対応する前記画面情報に基づき、前記テキスト領域の画像化を実行するか否かを決定することを特徴とする請求項記載の文書ファイル閲覧システム。
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取得手段が、前記文書ファイルの前記テキスト領域に対応する前記領域画像ファイルを前記配信サーバから取得しなかった場合、前記レイアウト手段は、当該テキスト領域に対応するデータを含まない前記文書画像データを生成、前記表示制御手段は、前記レイアウト情報に基づき、前記文書画像の当該テキスト領域に対応する領域に、テキスト領域であることを示すマークを表示させることを特徴とする請求項または記載の文書ファイル閲覧システム。 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. 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, and wherein the displaying a mark indicating that it is a text area according Item 4. The document file browsing system according to Item 2 or 3 . 前記携帯端末の前記第1配信要求送信手段は、当該携帯端末の機種を示す固有識別情報を含む前記文書ファイルの配信要求を前記配信サーバへ送信
前記配信サーバの前記機種判別手段は、第1配信要求受付手段で受け付けた前記文書ファイルの配信要求に含まれる前記固有識別情報に基づき、前記携帯端末の機種を判別することを特徴とする請求項ないしいずれか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 .
前記表示制御手段は、前記文書画像上に前記テキスト情報を重ね合わせて表示させることを特徴とする請求項ないしいずれか1項記載の文書ファイル閲覧システム。 Wherein the display control unit, a document file browsing system according to any one of claims 1 to 5, characterized in that to display by superimposing the text information on the document image. 前記表示制御手段は、前記テキスト情報を、前記表示手段の表示画面に合わせて拡大して表示させることを特徴とする請求項ないしいずれか1項記載の文書ファイル閲覧システム。 Wherein the display control unit, the text information, the display means a document file browsing system of claims 1 to 6 any one of claims, characterized in that enlarged and is displayed in accordance with the display screen.
JP2010013261A 2010-01-25 2010-01-25 Document file browsing system Expired - Fee Related JP5289349B2 (en)

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)

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

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