JP4962603B2 - Browser program, control method, and control apparatus - Google Patents

Browser program, control method, and control apparatus Download PDF

Info

Publication number
JP4962603B2
JP4962603B2 JP2010162570A JP2010162570A JP4962603B2 JP 4962603 B2 JP4962603 B2 JP 4962603B2 JP 2010162570 A JP2010162570 A JP 2010162570A JP 2010162570 A JP2010162570 A JP 2010162570A JP 4962603 B2 JP4962603 B2 JP 4962603B2
Authority
JP
Japan
Prior art keywords
frame
size
horizontal size
screen
ratio
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
JP2010162570A
Other languages
Japanese (ja)
Other versions
JP2011008797A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010162570A priority Critical patent/JP4962603B2/en
Publication of JP2011008797A publication Critical patent/JP2011008797A/en
Application granted granted Critical
Publication of JP4962603B2 publication Critical patent/JP4962603B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Description

本発明は,HTML(HyperText Markup Language)データなどのマークアップ言語で記述されたデータを閲覧するブラウザに関する。さらに詳しくは,画面サイズに最適なレイアウト処理を行ってHTMLデータを表示処理するレイアウト機能付きブラウザプログラム,制御方法及び制御装置に関する。 The present invention relates to a browser for browsing data described in a markup language such as HTML (HyperText Markup Language) data. More specifically, the present invention relates to a browser program with a layout function , a control method, and a control device that perform layout processing optimum for the screen size and display HTML data.

インターネット上で公開されているWebページなどのHTMLデータは,コンピュータ装置(PC)の表示装置のように,ある程度大きな表示画面で閲覧されることを想定して作成されていることが多い。そのようなWebページを,カーナビゲーション装置,携帯電話,PDA(Personal Digital Assistant)のような小型の表示画面で閲覧する場合には,ページの一部分が切り取られた状態で表示される。そのため,ページ内容全てを閲覧するためには画面上下のみならず左右のスクロール操作が必要となって,操作が煩雑になる。   HTML data such as Web pages published on the Internet is often created on the assumption that it will be viewed on a somewhat large display screen like a display device of a computer device (PC). When such a Web page is viewed on a small display screen such as a car navigation device, a mobile phone, or a PDA (Personal Digital Assistant), it is displayed with a part of the page cut off. For this reason, in order to view all the page contents, not only the top and bottom of the screen but also the left and right scroll operations are required, and the operation becomes complicated.

これを解決するために,Webページのコンテンツを蓄積するWebサーバ側においてPC用のコンテンツと携帯電話用の補完コンテンツとを備えておき,配信要求されたコンテンツが補完すべきコンテンツの内容を含むものである場合に,補完コンテンツを生成して配信要求した端末に配信するようにしていた。   In order to solve this problem, the content for the PC and the supplemental content for the mobile phone are provided on the Web server side that stores the content of the Web page, and the content requested to be distributed includes the content to be supplemented. In such a case, complementary content is generated and distributed to the terminal that requested the distribution.

特開2002−342222号公報JP 2002-342222 A

しかし,同じような内容についてPC向けの一般的表示画面用のデータと携帯電話向けの小型画面用のデータとを用意しておくことは資源の無駄であるうえ,コンテンツの作成および維持・保管の観点からも負担が大きい。   However, preparing data for general display screens for PCs and data for small screens for mobile phones with the same content is wasteful of resources, as well as content creation, maintenance, and storage. The burden is also large from a viewpoint.

そのため,従来のようにカーナビゲーション装置や携帯電話などの小型画面専用のコンテンツを用意することなく,PC向けのコンテンツを小型画面でも最適に表示できるようにすることが望まれている。   Therefore, it is desired that content for a PC can be optimally displayed even on a small screen without preparing dedicated content for a small screen such as a car navigation device or a mobile phone.

そこで,Webページを表示画面の横サイズ(幅)に納めて表示できるようにWebページの各要素をレイアウト処理することによって,上下のスクロールのみでWebページの閲覧ができるようにして,閲覧の操作性を改善する技術が,本発明者によって発明されている。   Therefore, by performing layout processing on each element of the Web page so that the Web page can be displayed in the horizontal size (width) of the display screen, the Web page can be browsed only by scrolling up and down. The inventor has invented a technique for improving the performance.

このようなレイアウト処理において,フレーム分割が指定されたWebページやテーブルを含むWebページなどのサイズが,実際に表示する画面幅に納まらない場合に,単純にフレームサイズを縮小したり,テーブルを分解したりして表示しただけでは,以下のような状況が生じて適切なレイアウトが行えない場合があった。   In such a layout process, if the size of a Web page or a Web page that includes a table for which frame division is specified does not fit in the screen width that is actually displayed, the frame size is simply reduced or the table is decomposed. In some cases, the following situation may occur and proper layout may not be achieved.

・ Webページをフレーム分割の指定どおりに分割すると,フレームの一部が表示されない場合や,フレームの幅が極端に狭くなる場合が生じてコンテンツを閲覧できないことがある。   -If the Web page is divided as specified in the frame division, a part of the frame may not be displayed, or the width of the frame may become extremely narrow, and the content may not be browsed.

・ 表示サイズが大きい画像データを複数の画像データに分割し,テーブルを利用して1つのイメージとして表示するようなコンテンツを含むWebページを表示する場合に,1つのイメージを表示するための画像データ(イメージの部分)が,テーブルのセル単位での分割によってバラバラに配置され,イメージが分断されて表示されることがある。   -Image data for displaying a single image when displaying a Web page that contains content that can be displayed as a single image using a table by dividing large image data into multiple image data. The (image part) may be arranged in pieces by dividing the table in cell units, and the image may be divided and displayed.

本発明の目的は,フレーム分割,テーブルを含むWebページのレイアウト・イメージを保持しつつ,小型画面での閲覧に適したレイアウト処理を行ってWebページを表示処理する技術を提供することである。   An object of the present invention is to provide a technique for performing display processing of a Web page by performing layout processing suitable for browsing on a small screen while maintaining a layout image of the Web page including frame division and a table.

本発明の一態様として開示するブラウザプログラムは,マークアップ言語で記述された,表示対象であるページのデータに対する表示用解析情報から,前記ページに含まれるテーブルの横サイズを取得させ,前記テーブルの横サイズが前記ページを表示する表示装置の画面の横サイズより大きい場合に,前記テーブルの横サイズと前記画面の横サイズとの比率をもとに,前記テーブルを縮小して表示する割合である縮小率を算出させ,前記縮小率が所定の縮小限界率を超える場合に,前記ページの表示用解析情報から取得された,前記テーブルを構成するセルの大きさを示す情報にもとづいて,前記テーブルのセルをブロックに分割させ,前記テーブルを構成するブロックの列方向の並びによる横サイズが,前記画面の横サイズを超えない範囲となるように,前記テーブルをブロック単位で区切って配置させるものである。 Browser program disclosed as one embodiment of the present invention has been described in Ma Kuappu language, from the display analysis information for the data of the page is displayed, to obtain the horizontal size of the table included before Kipe over di, is greater than the horizontal size of the screen of the table Shimesuru display device Kipe over di previous horizontal size of the table, on the basis of the ratio between lateral size of the horizontal size and the front Kiga surface of said table, said table is calculated reduction ratio which is a ratio for displaying a reduced, if the previous SL reduction ratio exceeds a predetermined reduction limit ratio, obtained from the display analysis information of the page, the size of the cells constituting the table based on the information indicating of a cell of the table is divided into blocks, the horizontal size by the arrangement of column blocks constituting the table does not exceed the horizontal size of the screen range As the one in which is arranged separated to the table in blocks.

上記プログラムでは,表示対象のWebページの表示用解析情報からWebページに含まれるテーブルの横サイズを取得し,テーブルの横サイズがWebページを実際に表示する表示画面の横サイズより大きい場合に,テーブルの横サイズと表示画面の横サイズとの比率をもとにテーブル縮小率を算出し,このテーブル縮小率を用いてテーブルを構成するセルの全てを均等に縮小することによって,小型表示画面に対するレイアウト処理を行う。   In the above program, when the horizontal size of the table included in the Web page is acquired from the display analysis information of the Web page to be displayed, and the horizontal size of the table is larger than the horizontal size of the display screen that actually displays the Web page, A table reduction ratio is calculated based on the ratio between the horizontal size of the table and the horizontal size of the display screen, and all the cells that make up the table are uniformly reduced using this table reduction ratio. Perform layout processing.

これによって,小型の表示画面にテーブルを含むWebページを表示する場合に,テーブルを見やすく表示することができる。   As a result, when a Web page including a table is displayed on a small display screen, the table can be displayed in an easy-to-see manner.

さらに,上記プログラムは,前記コンピュータを,さらに,3)前記テーブル縮小率が所定の縮小限界率を超える場合に,前記Webページの表示用解析情報から前記テーブルを構成するセルの大きさを示すスパン情報を取得して,前記スパン情報にもとづいて前記テーブルのセルを矩形ブロックに切り分ける処理手段と,4)前記テーブルを構成する矩形ブロックの列方向の並びによる横サイズが,前記表示画面の横サイズを超えない範囲となるように,前記テーブルを矩形ブロック単位で区切って配置する処理手段として機能させるためのものである。   Further, the program further causes the computer to further: 3) a span indicating a size of a cell constituting the table from the display analysis information of the Web page when the table reduction rate exceeds a predetermined reduction limit rate. Processing means for acquiring information and dividing the cells of the table into rectangular blocks based on the span information; and 4) the horizontal size of the rectangular blocks constituting the table in the row direction is the horizontal size of the display screen This is to cause the table to function as a processing unit that divides and arranges the tables in units of rectangular blocks.

上記プログラムでは,テーブル縮小率が所定の縮小限界率を超える場合に,Webページの表示用解析情報からテーブルを構成するセルの大きさを示すスパン情報を取得して,このスパン情報にもとづいてテーブルのセルを矩形ブロックに切り分け,テーブルを構成する矩形ブロックの列方向の並びによる横サイズが,表示画面の横サイズを超えない範囲となるように,テーブルを矩形ブロック単位で区切って配置することによって,小型表示画面に対するレイアウト処理を行う。   In the above program, when the table reduction ratio exceeds a predetermined reduction limit ratio, span information indicating the size of the cells constituting the table is acquired from the analysis information for display of the Web page, and the table is based on the span information. Cell is divided into rectangular blocks, and the table is divided in units of rectangular blocks so that the horizontal size of the rectangular blocks that make up the table does not exceed the horizontal size of the display screen. , Perform layout processing for small display screens.

これによって,テーブルを利用して,1つの大きなイメージを複数の小さな画像データファイルを組み合わせて表示するようなWebページを,小型の表示画面に表示する場合に,イメージデータがバラバラに配置されてしまうことを防ぐことができる。   As a result, when a Web page that displays a large image in combination with a plurality of small image data files using a table is displayed on a small display screen, the image data is arranged in a disjoint manner. Can be prevented.

さらに,本発明の関連発明の一態様として開示されるプログラムは,マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するブラウザ装置を構成する処理手段であって,1)表示対象のWebページの表示用解析情報から,前記Webページを表示する標準的な画面の大きさを仮想的に設定した標準画面の横サイズを取得し,前記標準画面の横サイズと前記Webページを実際に表示する表示画面の横サイズとの比率をもとにフレーム縮小率を算出する処理手段と,2)前記フレーム縮小率が所定の縮小率限界値を超える場合に,分割フレームを構成するフレームのうち実値によるサイズが指定される実サイズ指定フレームについて,前記フレーム縮小率によって縮小処理されたフレームの横サイズの値が前記実値に近づくように,前記フレーム分割のフレーム間の比率を変更する処理手段と,3)前記変更したフレーム間の比率および前記フレーム縮小率とを用いてフレーム分割のフレームを縮小する処理手段として,コンピュータを機能させるためのレイアウト機能付きブラウザプログラムである。   Furthermore, a program disclosed as one aspect of a related invention of the present invention is a processing unit that configures a browser device that displays data described in a markup language by performing layout processing suitable for a display screen size. 1) The horizontal size of the standard screen obtained by virtually setting the standard screen size for displaying the Web page is obtained from the display analysis information of the Web page to be displayed. Processing means for calculating a frame reduction rate based on a ratio to a horizontal size of a display screen that actually displays the Web page; and 2) a divided frame when the frame reduction rate exceeds a predetermined reduction rate limit value. Of the frames constituting the frame, the horizontal size of the frame that has been reduced by the frame reduction rate is specified for the actual size designated frame for which the actual size is designated. Processing means for changing the ratio between frames of the frame division so that the value of the frame approaches the actual value, and 3) reducing the frame of the frame division using the ratio between the changed frames and the frame reduction ratio As a processing means, a browser program with a layout function for causing a computer to function is provided.

上記の関連発明に係るプログラムでは,表示対象のWebページのHTMLデータ解析処理によって生成された表示用解析情報から,Webページを表示する標準的な画面の大きさを仮想的に設定した標準画面の横サイズを取得し,標準画面の横サイズとWebページを実際に表示する表示画面の横サイズとの比率をもとにフレーム縮小率を算出する。そして,このフレーム縮小率が所定の縮小率限界値を超える場合に,分割フレームを構成するフレームのうち実値によるサイズが指定される実サイズ指定フレームについて,フレーム縮小率によるフレームの横サイズの値が指定されている実値に近づくように,フレーム分割のフレーム間の比率を変更して調整する。そして,変更したフレーム間の比率およびフレーム縮小率を用いてフレーム分割のフレームを縮小することによって,小型表示画面に対するレイアウト処理を行う。   In the program according to the related invention, a standard screen in which the size of a standard screen for displaying a Web page is virtually set from the display analysis information generated by the HTML data analysis processing of the Web page to be displayed. The horizontal size is acquired, and the frame reduction ratio is calculated based on the ratio between the horizontal size of the standard screen and the horizontal size of the display screen that actually displays the Web page. When the frame reduction rate exceeds a predetermined reduction rate limit value, the horizontal size value of the frame by the frame reduction rate for the actual size specification frame in which the size by the actual value is specified among the frames constituting the divided frame. Adjust the ratio between the frames in the frame division so that it approaches the actual value specified. Then, the layout process for the small display screen is performed by reducing the frame divided by using the changed ratio between frames and the frame reduction ratio.

これによって,小型の表示画面にWebページを表示する場合に,Webページで想定されているフレーム分割を保持しつつ見やすく表示することができる。   As a result, when a Web page is displayed on a small display screen, it is possible to display it easily while maintaining the frame division assumed in the Web page.

さらに,上記の関連発明に係るプログラムでは,前記フレーム間の比率を変更する処理手段は,前記フレーム分割のフレーム間の比率を変更する場合に,前記実値によるサイズが指定されない実サイズ指定なしフレームに対するフレーム縮小率を,前記縮小率限界値を超えない範囲において変更することができる。   Further, in the program according to the related invention, the processing means for changing the ratio between the frames is a frame without an actual size designation in which the size based on the actual value is not specified when the ratio between the frames of the frame division is changed. The frame reduction rate with respect to can be changed within a range not exceeding the reduction rate limit value.

さらに,上記の関連発明に係るプログラムでは,前記フレーム間の比率を変更する処理手段は,フレーム内部に表示するデータが存在しない実サイズ指定なしフレームについて,実サイズがゼロとなる範囲まで,フレーム縮小率を変更することができる。   Further, in the program according to the related invention, the processing means for changing the ratio between the frames reduces the frame to a range where the actual size is zero for a frame with no actual size designation in which data to be displayed in the frame does not exist. The rate can be changed.

開示されたプログラムによれば,テーブルを分割して表示処理する場合に,テーブルを構成するセルをテーブルの全ての列で下端が揃うようなセルの集まりを見つけてブロック化し,ブロック単位で分割するようにレイアウト処理を行う。よって,例えば,大きなイメージを複数の部分イメージの画像ファイルを組み合わせて表示させるためにテーブルを利用するようなWebページを表示処理する場合に,部分イメージの画像ファイルがバラバラに配置されて意図したイメージが表示されないという状態を防ぎ,閲覧しやすいWebページを表示させることができる。   According to the disclosed program, when a table is divided and displayed, the cells constituting the table are found by grouping a set of cells whose bottom ends are aligned in all columns of the table, and divided into blocks. The layout process is performed as follows. Therefore, for example, when displaying a Web page that uses a table to display a large image in combination with a plurality of partial image files, the partial image file is arranged separately and the intended image is displayed. Can be prevented from being displayed, and a Web page that is easy to browse can be displayed.

さらに,関連発明に係るプログラムによれば,WebページなどのHTMLデータを小型画面に表示処理をする場合に,HTMLデータで指定されたフレーム分割の比率を考慮して各フレームを縮小するレイアウト処理を行う。よって,カーナビゲーション装置などの小型画面においても,元のWebページのレイアウト・イメージを保持しつつ横スクロール操作が生じる状況を抑制して,閲覧しやすいWebページを表示させることができる。   Further, according to the program according to the related invention, when HTML data such as a web page is displayed on a small screen, layout processing for reducing each frame in consideration of the frame division ratio specified by the HTML data is performed. Do. Therefore, even on a small screen such as a car navigation device, it is possible to display a Web page that is easy to view by suppressing the situation in which a horizontal scroll operation occurs while maintaining the layout image of the original Web page.

本発明の最良の実施形態における構成例を示す図である。It is a figure which shows the structural example in the best embodiment of this invention. 表示対象となるフレーム分割を含むHTMLデータの例を示す図である。It is a figure which shows the example of the HTML data containing the frame division | segmentation used as display object. 図2に示すHTMLデータが標準画面で表示される場合のフレーム分割の表示例を示す図である。It is a figure which shows the example of a display of a frame division | segmentation in case the HTML data shown in FIG. 2 are displayed on a standard screen. 図2に示すHTMLデータが,PDA向けの小型画面で表示される場合のフレーム分割の表示例を示す図である。It is a figure which shows the example of a display of a frame division | segmentation in case the HTML data shown in FIG. 2 are displayed on the small screen for PDAs. フレーム縮小率を用いて各フレームを縮小処理した場合のフレーム分割の表示例を示す図である。It is a figure which shows the example of a display of a frame division | segmentation at the time of reducing each frame using a frame reduction rate. 縮小限界値を用いて各フレームを補整処理した場合のフレーム分割の表示例を示す図である。It is a figure which shows the example of a display of the frame division | segmentation at the time of carrying out the correction process of each flame | frame using a reduction | decrease limit value. フレーム分割処理の処理フローを示す図である。It is a figure which shows the processing flow of a frame division process. フレーム縮小処理の処理フローを示す図である。It is a figure which shows the processing flow of a frame reduction process. 表示対象となるテーブルを含むHTMLデータの例を示す図である。It is a figure which shows the example of the HTML data containing the table used as display object. 図9に示すHTMLデータがPC向けの標準画面で表示される場合のテーブルの表示例を示す図である。It is a figure which shows the example of a display of a table in case the HTML data shown in FIG. 9 are displayed on the standard screen for PCs. 従来処理によってテーブルがセル単位で分割されてレイアウトされた場合の表示例を示す図である。It is a figure which shows the example of a display when a table is divided | segmented and laid out by the cell unit by the conventional process. テーブル縮小率で縮小したテーブルの表示例を示す図である。It is a figure which shows the example of a display of the table reduced by the table reduction rate. 表示対象となるテーブルを含むHTMLデータの例を示す図である。It is a figure which shows the example of the HTML data containing the table used as display object. 図13に示すHTMLデータがPC向けの標準画面で表示される場合のテーブルの表示例を示す図である。It is a figure which shows the example of a display of a table in case the HTML data shown in FIG. 13 are displayed on the standard screen for PCs. 従来処理によってテーブルがセル単位で分割されてレイアウトされた場合の示例を示す図である。It is a figure which shows the example when a table is divided | segmented and laid out by the cell unit by the conventional process. テーブルのブロック化の例を示す図である。It is a figure which shows the example of blocking of a table. 本発明によってテーブルがブロック単位で分割されてレイアウトされた場合の示例を示す図である。It is a figure which shows the example in case the table is divided | segmented and laid out by the block unit by this invention. テーブル処理の処理フローを示す図である。It is a figure which shows the processing flow of a table process. テーブル均等縮小処理の処理フローを示す図である。It is a figure which shows the processing flow of a table equal reduction process. テーブル分割処理の処理フローを示す図である。It is a figure which shows the processing flow of a table division | segmentation process.

図1に,本発明の一態様として開示されるブラウザ装置の構成例を示す。   FIG. 1 shows a configuration example of a browser device disclosed as one embodiment of the present invention.

ブラウザ装置1は,ブラウジング処理制御部110,通信処理部111,HTML解析処理部112,レイアウト処理部113,画像表示処理部114を備える。   The browser device 1 includes a browsing processing control unit 110, a communication processing unit 111, an HTML analysis processing unit 112, a layout processing unit 113, and an image display processing unit 114.

ブラウジング処理制御部110は,HTMLデータを取得して,表示装置2に表示するブラウジング処理に関する一連の処理手段を制御する処理手段である。   The browsing processing control unit 110 is a processing unit that acquires HTML data and controls a series of processing units related to the browsing processing that is displayed on the display device 2.

通信処理部111は,HTTPプロトコルにしたがって,WebサイトのサーバからHTMLデータ(Webページ)を取得する処理手段である。   The communication processing unit 111 is processing means for acquiring HTML data (Web page) from a Web site server according to the HTTP protocol.

HTML解析処理部112は,表示するHTMLデータを解析し,DOM(Document Object Model)と呼ばれる形式のデータに変換する処理手段である。DOMは,HTMLデータの要素およびその階層関係を示すものである。   The HTML analysis processing unit 112 is a processing unit that analyzes HTML data to be displayed and converts it into data in a format called DOM (Document Object Model). DOM indicates the element of HTML data and its hierarchical relationship.

レイアウト処理部113は,HTML解析処理部112によって解析されたHTMLデータの解析情報に従って,表示装置2にWebページを表示するための各要素のレイアウト処理を行う処理手段である。なお,HTMLデータは,ウィジェット(Widget)と呼ばれるGUI(Graphical User Interface)用の表示部品で表現される。   The layout processing unit 113 is a processing unit that performs layout processing of each element for displaying a Web page on the display device 2 according to the analysis information of the HTML data analyzed by the HTML analysis processing unit 112. The HTML data is represented by a GUI (Graphical User Interface) display component called a widget.

画像表示処理部114は,レイアウト処理されたWebページのウィジェットを表示装置2に表示する処理手段である。   The image display processing unit 114 is a processing unit that displays a widget of a Web page that has undergone layout processing on the display device 2.

レイアウト処理部113は,表示装置2の小型画面に適した表示となるようにWebページのレイアウトを最適化する最適化レイアウト処理部130を備える。最適化レイアウト処理部130は,フレーム処理部131,テーブル処理部133,テキスト処理部135,画像/フォーム部品処理部137,フレーム縮小率記憶部141,テーブル解析情報記憶部143,テーブル縮小率記憶部145,およびセルブロック解析情報記憶部147を備える。   The layout processing unit 113 includes an optimized layout processing unit 130 that optimizes the layout of the Web page so that the display is suitable for the small screen of the display device 2. The optimized layout processing unit 130 includes a frame processing unit 131, a table processing unit 133, a text processing unit 135, an image / form part processing unit 137, a frame reduction rate storage unit 141, a table analysis information storage unit 143, and a table reduction rate storage unit. 145, and a cell block analysis information storage unit 147.

フレーム処理部131は,表示対象のWebページがフレーム分割を含む場合に,フレーム縮小率記憶部141に記憶されたフレーム縮小率をもとにフレーム分割の各フレームを縮小し,フレームの縮小率が所定の限界値を超えた場合にフレーム間の比率を変更する処理手段であって,フレーム縮小率算出処理部1311を備える。   When the Web page to be displayed includes frame division, the frame processing unit 131 reduces each frame of the frame division based on the frame reduction rate stored in the frame reduction rate storage unit 141, and the frame reduction rate is A processing means for changing a ratio between frames when a predetermined limit value is exceeded, and includes a frame reduction rate calculation processing unit 1311.

フレーム縮小率算出処理部1311は,HTML解析処理部112によって解析されたWebページの解析情報を用いて,仮想的に設定した所定の標準的な画面(以下「標準画面」という)で表示されるフレームのサイズから,表示装置2の画面(以下「実画面」という)で表示されるフレームのサイズへの縮小率を示すフレーム縮小率を算出し,フレーム縮小率記憶部141へ格納する手段である。   The frame reduction rate calculation processing unit 1311 is displayed on a predetermined standard screen (hereinafter referred to as “standard screen”) virtually set using the analysis information of the Web page analyzed by the HTML analysis processing unit 112. This is a means for calculating a frame reduction ratio indicating a reduction ratio from the size of the frame to the size of the frame displayed on the screen of the display device 2 (hereinafter referred to as “real screen”) and storing it in the frame reduction ratio storage unit 141. .

フレーム縮小率算出処理部1311は,標準画面のサイズと実画面のサイズとの比率を示すフレーム間比率を算出してフレーム縮小率とする。そして,フレーム分割の各フレームについて,フレームの横サイズ(以下「幅」という)および縦サイズ(以下「高さ」という)にそれぞれフレーム縮小率を掛け合わせて,縮小後のフレームの幅および高さの実サイズ値を算出する。   The frame reduction ratio calculation processing unit 1311 calculates an inter-frame ratio indicating a ratio between the standard screen size and the real screen size, and sets it as the frame reduction ratio. Then, for each frame of the frame division, the width and height of the reduced frame are obtained by multiplying the horizontal size (hereinafter referred to as “width”) and vertical size (hereinafter referred to as “height”) of the frame by the frame reduction rate, respectively. The actual size value of is calculated.

そして,フレーム縮小率の限界を示す縮小限界値を予め設定しておき,算出したフレーム縮小率が縮小限界値を超えている場合には,フレーム分割のフレーム間の比率を変更して,縮小処理によって実サイズが小さくなりすぎたフレームを拡大補整する。そして,各フレームについて,補整後のフレーム縮小率,すなわち元のサイズから,処理後のフレームサイズすなわち縮小および補整された実画面での実サイズへの縮小率を,フレーム縮小率記憶部141へ格納する。   A reduction limit value indicating the limit of the frame reduction rate is set in advance, and when the calculated frame reduction rate exceeds the reduction limit value, the ratio between frames of the frame division is changed to reduce the reduction processing. To enlarge and correct a frame whose actual size is too small. Then, for each frame, the frame reduction rate after correction, that is, the original size, the frame size after processing, that is, the reduction rate from the reduced and corrected actual size to the actual size is stored in the frame reduction rate storage unit 141. To do.

テーブル処理部133は,表示対象のWebページがテーブルを含む場合に,テーブル縮小率記憶部145に記憶されたテーブル縮小率をもとに縮小し,または,セルブロック解析情報記憶部147に記憶されたセルブロック解析情報をもとにテーブルをブロック単位で分割する処理手段であって,テーブル均等縮小処理部1331およびテーブル分割処理部1333を備える。   When the Web page to be displayed includes a table, the table processing unit 133 reduces the table based on the table reduction rate stored in the table reduction rate storage unit 145 or stores it in the cell block analysis information storage unit 147. The processing unit divides the table into blocks based on the cell block analysis information, and includes a table equalization reduction processing unit 1331 and a table division processing unit 1333.

テーブル処理部133は,HTML解析処理部112によって解析されたWebページの解析情報からテーブルおよびセルの解析処理を行って,テーブルのサイズ(幅および高さ),セルの最大幅,セルの最小幅などのテーブル解析情報を取得し,テーブル解析情報記憶部143へ格納する。   The table processing unit 133 performs table and cell analysis processing from the analysis information of the Web page analyzed by the HTML analysis processing unit 112, and the table size (width and height), the maximum cell width, and the minimum cell width. The table analysis information such as is acquired and stored in the table analysis information storage unit 143.

テーブル均等縮小処理部1331は,テーブル解析情報を用いて,テーブルの幅が実画面の幅を超えている場合に,テーブル幅および実画面幅をもとに,テーブルの各セルを均等に縮小する比率を示すテーブル縮小率を算出し,テーブル縮小率記憶部145に格納する処理手段である。   The table uniform reduction processing unit 1331 uses the table analysis information to uniformly reduce each cell of the table based on the table width and the actual screen width when the table width exceeds the actual screen width. This is a processing means for calculating a table reduction ratio indicating the ratio and storing it in the table reduction ratio storage unit 145.

テーブル分割処理部1333は,テーブル解析情報を用いて,テーブル縮小率が所定の縮小限界値を超えている場合に,テーブルを構成する各セルをブロック化して,ブロックを構成するセル,テーブル分割により配置位置を変更するブロックなどを示すセルブロック解析情報を生成し,セルブロック解析情報記憶部147ヘ格納する処理手段である。   The table division processing unit 1333 uses the table analysis information, and when the table reduction ratio exceeds a predetermined reduction limit value, the table division processing unit 1333 blocks each cell constituting the table, This is processing means for generating cell block analysis information indicating a block whose arrangement position is to be changed and storing it in the cell block analysis information storage unit 147.

テキスト処理部135は,フレーム処理部131によって縮小されたフレーム,テーブル処理部133によって縮小またはブロック分割によって位置変更されたセルの表示領域に従って,所定のテキストの折り返しを設定する処理手段である。   The text processing unit 135 is a processing unit that sets a predetermined text wrapping according to the frame reduced by the frame processing unit 131 and the display area of the cell whose position is changed by the reduction or block division by the table processing unit 133.

画像/フォーム部品処理部137は,フレーム処理部131によって縮小されたフレーム,テーブル処理部133によって縮小または位置変更されたセル内に表示される画像やフォーム部品などの要素を,対応する縮小率を用いて,要素の縦横の比率を保持して縮小する処理手段である。   The image / form component processing unit 137 displays the elements reduced in the frame reduced by the frame processing unit 131, the image displayed in the cell reduced or repositioned by the table processing unit 133, the form component, and the like, and the corresponding reduction ratio. It is a processing means for reducing the size while maintaining the aspect ratio of the elements.

以下に,本発明のブラウザ装置1の処理をより詳しく説明する。   Below, the process of the browser apparatus 1 of this invention is demonstrated in detail.

ブラウザ装置1では,一般的なブラウジング処理として,ブラウジング処理制御部110の制御のもと,通信処理部111によってWebサイトのサーバからHTMLデータを取得し,HTML解析処理部112によって,取得したHTMLデータを解析処理し,解析情報を生成する。レイアウト処理部113によって,解析情報にしたがってWebページのフレームの設定,各要素のレイアウトなどを行って表示装置2の表示画面に合わせた表示部品を生成し,画像表示処理部114によって,Webページの表示部品を表示装置2に表示する。   In the browser device 1, as a general browsing process, the communication processing unit 111 acquires HTML data from a Web site server under the control of the browsing processing control unit 110, and the HTML analysis processing unit 112 acquires the HTML data. Is analyzed and analysis information is generated. The layout processing unit 113 performs setting of the frame of the Web page, layout of each element, etc. according to the analysis information to generate a display component suitable for the display screen of the display device 2, and the image display processing unit 114 generates the display part of the Web page. The display component is displayed on the display device 2.

ここで,レイアウト処理部113は,取得したHTMLデータの解析情報をもとに,Webページを表示装置2の実画面サイズに対応する表示部品を生成するために,最適化レイアウト処理部130を起動する。   Here, the layout processing unit 113 activates the optimized layout processing unit 130 in order to generate a display component corresponding to the actual screen size of the display device 2 based on the analysis information of the acquired HTML data. To do.

最適化レイアウト処理部130は,表示装置2の実画面のサイズを考慮して,フレーム処理部131によって算出されたフレーム分割の各フレームのフレーム縮小率,テーブル処理部133によって生成されたテーブルのテーブル縮小率またはセルブロック解析情報,テキスト処理部135によって決定されたテキストの折り返し,画像/フォーム部品処理部137によって算出された画像データやフォーム部品の縮小率をもとに,フレーム分割またはテーブルを含むWebページのレイアウトを最適化する処理を行う。   The optimized layout processing unit 130 considers the size of the real screen of the display device 2, the frame reduction ratio of each frame of the frame division calculated by the frame processing unit 131, and the table of the table generated by the table processing unit 133. Includes frame division or table based on reduction rate or cell block analysis information, text wrapping determined by text processing unit 135, image data / form component reduction rate calculated by image / form part processing unit 137 A process for optimizing the layout of the Web page is performed.

〔フレーム分割の最適化処理〕
図2に,表示対象となるフレーム分割を含むHTMLデータの例を示す。図2に示すように,HTMLデータ(Webページ)は,4つのフレームに分割され,フレームA(ナビゲーション・フレーム)は,高さ=指定なし(スクリプト中,「*」で示す)・幅=250ピクセルのフレームとして,フレームB(本文フレーム)は,高さ=200ピクセル・幅=指定なしのフレームとして,フレームC(本文フレーム)は,高さ・幅=指定なしのフレームとして,フレームD(本文フレーム)は,高さ=100ピクセル・幅=指定なしのフレームとして表示される。
[Optimization processing for frame division]
FIG. 2 shows an example of HTML data including frame division to be displayed. As shown in FIG. 2, HTML data (Web page) is divided into four frames, and frame A (navigation frame) has a height = no designation (indicated by “*” in the script) / width = 250. As a pixel frame, frame B (text frame) has a height = 200 pixels / width = unspecified frame, frame C (text frame) has a height / width = unspecified frame D (text) Frame) is displayed as a frame of height = 100 pixels and width = unspecified.

また,図3に,図2に示すHTMLデータがPC向けの標準画面(画面サイズ=800×600ピクセル)で表示される場合のフレーム分割の表示例を示す。標準画面において,横(幅)方向のフレーム分割(以下,「フレーム横分割」という)では,フレームB,C,Dの幅(550ピクセル)は,標準画面の幅−フレームAの幅で決定する。また,縦(高さ)方向のフレーム分割(以下,「フレーム縦分割」という)では,フレームCの高さ(300ピクセル)は,標準画面の高さ−(フレームBの高さ+フレームDの高さ)で決定する。   FIG. 3 shows a display example of frame division when the HTML data shown in FIG. 2 is displayed on a standard screen for PC (screen size = 800 × 600 pixels). In frame division in the horizontal (width) direction on the standard screen (hereinafter referred to as “frame horizontal division”), the widths of frames B, C, and D (550 pixels) are determined by the width of the standard screen minus the width of frame A. . Also, in frame division in the vertical (height) direction (hereinafter referred to as “frame vertical division”), the height of frame C (300 pixels) is the height of the standard screen minus (height of frame B + frame D). Determine by height.

図4に,図2に示すHTMLデータが,PDA向けの小型画面(画面サイズ=400×200ピクセル)で表示される場合のフレーム分割の表示例を示す。図4に示すように,HTMLデータでフレームAの幅が,例えば250ピクセルなど,実際の数値によって指定(実サイズ指定)されているため,フレームBの幅は,表示画面の幅(400)−フレームAの幅(250)で決定される(150ピクセル)。   FIG. 4 shows a display example of frame division when the HTML data shown in FIG. 2 is displayed on a small screen for PDA (screen size = 400 × 200 pixels). As shown in FIG. 4, since the width of the frame A is specified by an actual numerical value (actual size specification) such as 250 pixels in the HTML data, the width of the frame B is the width of the display screen (400) − Determined by the width of frame A (250) (150 pixels).

したがって,HTMLデータを通常のレイアウト処理によって表示すると,本文フレーム(フレームB)の表示幅の方がナビゲーション・フレーム(フレームA)の表示幅より狭くなることになる。また,小型画面から,表示すべきWebページのフレーム全体がはみ出してしまい,フレームC,フレームDが表示されなくなる。このように,小型画面に表示されたWebページは,コンテンツ作成者が意図したレイアウトやフレーム比率とは,大きく異なったものになってしまう。   Therefore, when the HTML data is displayed by a normal layout process, the display width of the body frame (frame B) becomes narrower than the display width of the navigation frame (frame A). Further, the entire frame of the Web page to be displayed protrudes from the small screen, and the frames C and D are not displayed. In this way, the Web page displayed on the small screen is greatly different from the layout and frame ratio intended by the content creator.

そのため,フレーム縮小率算出処理部1311は,フレーム分割が含まれるコンテンツを,できるだけ本来のレイアウト・イメージを保つようにフレーム分割の各フレームを縮小処理する。   For this reason, the frame reduction rate calculation processing unit 1311 performs a reduction process on each frame of the frame division so that the content including the frame division retains the original layout image as much as possible.

具体的には,まず,フレーム縮小率算出処理部1311は,仮想的に標準画面のサイズ(800×600ピクセル)を設定し,標準画面のサイズと実画面のサイズ(400×200ピクセル)とのフレーム間比率を算出して,フレーム縮小率とする。ここで,実画面サイズより標準画面サイズが小さい場合には,フレーム縮小率=1.0として,実画面サイズを標準画面サイズとする。図3に示すPC向けの標準画面のサイズを標準画面サイズとし,図4に示す小型画面のサイズを実画面サイズとする場合に,フレーム縮小率は,幅=50%,高さ=約33.3%となる。   Specifically, first, the frame reduction ratio calculation processing unit 1311 virtually sets the standard screen size (800 × 600 pixels), and calculates the standard screen size and the real screen size (400 × 200 pixels). The interframe ratio is calculated and used as the frame reduction ratio. Here, when the standard screen size is smaller than the actual screen size, the frame reduction ratio = 1.0 and the actual screen size is set as the standard screen size. When the standard screen size for PC shown in FIG. 3 is the standard screen size and the small screen size shown in FIG. 4 is the real screen size, the frame reduction ratio is: width = 50%, height = about 33. 3%.

そして,フレーム縮小率算出処理部1311は,算出したフレーム縮小率をもとに,各フレームのサイズ(幅および高さ)に掛け合わせて,その結果をフレーム実サイズ(実フレーム幅/実フレーム高)とする。   Then, the frame reduction rate calculation processing unit 1311 multiplies the size (width and height) of each frame based on the calculated frame reduction rate, and the result is the actual frame size (actual frame width / actual frame height). ).

図5に,フレーム縮小率を用いて各フレームを縮小処理した場合のフレーム分割の表示例を示す。例えば,フレームAの実フレーム幅は250×50%=125ピクセルとなる。また,フレームB,C,Dの実フレーム幅は,400−125=275,または550×50%=275ピクセルとなり,各フレームの実フレーム高は,それぞれ,フレームBが200×33.3%=66ピクセル,フレームDが100×33.3%=33ピクセル,フレームCが200−(66+33)=101ピクセルとなる。   FIG. 5 shows a display example of frame division when each frame is reduced using the frame reduction rate. For example, the actual frame width of frame A is 250 × 50% = 125 pixels. The actual frame width of frames B, C, and D is 400-125 = 275 or 550 × 50% = 275 pixels, and the actual frame height of each frame is 200 × 33.3% = 66 pixels, frame D is 100 × 33.3% = 33 pixels, and frame C is 200− (66 + 33) = 101 pixels.

さらに,フレーム縮小率算出処理部1311は,フレームが実サイズ指定か実サイズ指定なしであるかを調べる。実サイズ指定とは,パーセント指定のような相対指定ではなく,具体的数値によってサイズが指定されることをいう。実サイズ指定なしとは,サイズに対する指定がないことをいう。HTMLデータの記述において,「*」指定と示す。   Further, the frame reduction rate calculation processing unit 1311 checks whether the frame is designated with an actual size or not. The actual size specification means that the size is specified by a specific numerical value, not a relative specification like the percent specification. No actual size specified means that there is no specification for size. In the description of HTML data, it is indicated as “*” designation.

そして,実サイズ指定なしフレームについて,実フレーム幅を調整して,実サイズ指定されたフレームで指定された幅や高さをできる限り保持するように補整する。   Then, for a frame without actual size designation, the actual frame width is adjusted to make adjustments so that the width and height designated by the frame with actual size designation are maintained as much as possible.

また,フレーム縮小率算出処理部1311は,所定の縮小限界値(幅縮小限界値/高さ縮小限界値)をもとに,実サイズ指定された値が,縮小限界値を超えて小さくならないように補整する。ここで,幅縮小限界値=60%,高さ縮小限界値=40%とする。   Also, the frame reduction rate calculation processing unit 1311 prevents the value designated by the actual size from becoming smaller than the reduction limit value based on a predetermined reduction limit value (width reduction limit value / height reduction limit value). To compensate. Here, the width reduction limit value = 60% and the height reduction limit value = 40%.

図6に,縮小限界値を用いて各フレームを補整処理した場合のフレーム分割の表示例を示す。ここでは,フレームAの実フレーム幅およびフレームB,Dの実フレーム高が,それぞれ縮小限界値を超えているため,縮小限界値を用いて,実フレーム幅または実フレーム高をそれぞれ拡大補整して,フレームAの実フレーム幅を250×60%=150ピクセルとし,フレームBの実フレーム高を200×40%=80ピクセル,フレームDの実フレーム高を100×40%=40ピクセルとする。   FIG. 6 shows a display example of frame division when each frame is corrected using the reduction limit value. Here, since the actual frame width of frame A and the actual frame heights of frames B and D exceed the reduction limit values, respectively, the actual frame width or the actual frame height is enlarged and adjusted using the reduction limit value. The actual frame width of frame A is 250 × 60% = 150 pixels, the actual frame height of frame B is 200 × 40% = 80 pixels, and the actual frame height of frame D is 100 × 40% = 40 pixels.

なお,フレーム縮小率算出処理部1311は,フレーム内に表示するデータが存在しない状態(空状態)のサイズ指定なしフレームについては,実フレーム幅/高を0まで変更できるようにしてもよい。   Note that the frame reduction rate calculation processing unit 1311 may be able to change the actual frame width / height to 0 for a frame with no size designation in a state where there is no data to be displayed in the frame (empty state).

また,フレーム縮小率算出処理部1311は,Webページを構成するフレーム数が所定値を超過していたり,フレームの実サイズが縮小限界値を超えたりしているなどの理由によって,実画面のサイズ内で補整処理し切れなかった場合には,従来処理と同様に,実画面のサイズを超えたフレームの一部または全部を表示しないようにしてもよい。   Further, the frame reduction rate calculation processing unit 1311 determines the size of the real screen because the number of frames constituting the Web page exceeds a predetermined value or the actual size of the frame exceeds the reduction limit value. If the correction process cannot be completed, a part or all of the frames exceeding the size of the actual screen may not be displayed as in the conventional process.

フレーム縮小率算出処理部1311は,フレーム分割の各フレームの幅および高さについて,標準画面におけるフレームサイズから,縮小処理および補整処理によって決定した実サイズへの縮小率(フレーム縮小率)をフレーム縮小率記憶部141に格納する。   The frame reduction ratio calculation processing unit 1311 reduces the frame reduction ratio (frame reduction ratio) from the frame size on the standard screen to the actual size determined by the reduction process and the correction process for the width and height of each frame in the frame division. It is stored in the rate storage unit 141.

図7に,フレーム分割処理の処理フローを示す。   FIG. 7 shows a process flow of the frame division process.

フレーム縮小率算出処理部1311は,仮想的な標準画面のサイズを設定し(ステップS10),HTML解析処理部112によって生成された解析情報をもとに,フレーム横分割があるか否かを判定する(ステップS11)。フレーム横分割がある場合にのみ(ステップS11のYES),フレームの幅についてフレーム縮小処理を行う(ステップS12)。さらに,フレーム縦分割があるか否かを判定して(ステップS13),フレーム縦分割がある場合にのみ(ステップS13のYES),フレームの高さについてフレーム縮小処理を行う(ステップS14)。なお,ステップS14の処理は,ステップS12の処理と同様の処理である。   The frame reduction rate calculation processing unit 1311 sets the size of a virtual standard screen (step S10), and determines whether or not there is a frame horizontal division based on the analysis information generated by the HTML analysis processing unit 112. (Step S11). Only when there is horizontal frame division (YES in step S11), frame reduction processing is performed for the frame width (step S12). Further, it is determined whether or not there is a vertical frame division (step S13). Only when there is a vertical frame division (YES in step S13), a frame reduction process is performed on the frame height (step S14). The process in step S14 is the same as the process in step S12.

図8に,ステップS12およびステップS14のフレーム縮小処理の処理フローを示す。   FIG. 8 shows a process flow of the frame reduction process in steps S12 and S14.

フレーム縮小率算出処理部1311は,実画面サイズと標準画面サイズから,フレーム間比率を算出し,フレーム縮小率とする(ステップS20)。そして,算出したフレーム縮小率を各フレームのサイズに掛け合わせて,フレーム実サイズとする(ステップS21)。   The frame reduction ratio calculation processing unit 1311 calculates an inter-frame ratio from the actual screen size and the standard screen size and sets it as the frame reduction ratio (step S20). Then, the calculated frame reduction ratio is multiplied by the size of each frame to obtain the actual frame size (step S21).

フレームに,実サイズ指定なしフレーム(「*」指定)があるか否かを判定し(ステップS22),実サイズ指定なしフレームがある場合のみ(ステップS22のYES),実サイズ指定フレームについて,フレームのサイズにフレーム縮小率を掛けた結果(実フレームのサイズ)が,そのフレームの元のサイズを下回っているか否かを判定する(ステップS23)。   It is determined whether or not the frame has a frame without actual size designation (“*” designation) (step S22). Only when there is a frame without actual size designation (YES in step S22), It is determined whether or not the result of multiplying the size of the frame by the frame reduction rate (actual frame size) is smaller than the original size of the frame (step S23).

縮小した実フレームのサイズが,元のサイズを下回っている場合のみ(ステップS23のYES),実サイズ指定なしフレームについて,その実フレームサイズが所定の縮小限界値を超えない範囲内で実フレームサイズを縮小し,実サイズ指定フレームについて,その元のサイズ(指定されたサイズ)を超えない範囲内で実フレームサイズを拡大して補整する(ステップS24)。   Only when the size of the reduced actual frame is smaller than the original size (YES in step S23), the actual frame size is set within a range in which the actual frame size does not exceed the predetermined reduction limit value for a frame without an actual size designation. The size is reduced, and the actual frame size is corrected by enlarging the actual frame size within a range not exceeding the original size (specified size) (step S24).

そして,実サイズ指定フレームの算出された実フレームサイズが元のサイズの値を下回っていて,かつフレーム内が空状態の実サイズ指定なしフレームが存在するか否かをチェックする(ステップS25)。   Then, it is checked whether the calculated actual frame size of the actual size designation frame is smaller than the original size value and there is an actual size undesignated frame in which the frame is empty (step S25).

実サイズ指定フレームの算出された実フレームサイズが元のサイズの値を下回り,かつフレーム内が空状態の実サイズ指定なしフレームが存在する場合にのみ(ステップS25のYES),実サイズ指定フレームの算出された実フレームサイズが元のサイズの値に近くなるように,空状態の実サイズ指定なしフレームの実フレームサイズ分を利用して拡大補整する(ステップS26)。   Only when the calculated actual frame size of the actual size specification frame is less than the original size value and there is an actual size specification frame that is empty in the frame (YES in step S25), the actual size specification frame Enlargement and correction is performed using the actual frame size of the empty real size unspecified frame so that the calculated actual frame size is close to the original size value (step S26).

このように,フレーム分割のフレーム縮小処理を行ってレイアウト処理をすることによって,図2のようなPC向けにデザインされたフレーム分割されたコンテンツ(Webページ)を,PDA等の小型画面においてもできるかぎり意図されたフレーム分割のレイアウトを保持して表示することができる。   In this way, by performing frame reduction processing by frame division and performing layout processing, frame-divided content (Web page) designed for a PC as shown in FIG. 2 can be displayed on a small screen such as a PDA. As long as the layout of the intended frame division is maintained, it can be displayed.

〔テーブルの最適化処理〕
図9に,表示対象となるテーブルを含むHTMLデータの例を示す。また,図10に,図9に示すHTMLデータがPC向けの標準画面で表示される場合のテーブルの表示例を示す。
[Table optimization processing]
FIG. 9 shows an example of HTML data including a table to be displayed. FIG. 10 shows a display example of the table when the HTML data shown in FIG. 9 is displayed on the standard screen for PC.

図10に示すように,HTMLデータ(Webページ)は2つのテーブルT1,T2を含む。テーブルT1は,イメージA(画像Aファイル)とテキストで構成されている。イメージAの画像データとテキストデータは,それぞれテーブルT1の2つのセルに表示されるように設定されている。   As shown in FIG. 10, the HTML data (Web page) includes two tables T1 and T2. The table T1 includes an image A (image A file) and text. Image data and text data of image A are set to be displayed in two cells of table T1, respectively.

また,テーブルT2には,画像データB1,B2の2つのファイルで生成される1つのイメージBが表示される。画像データB1,B2は,それぞれテーブルT2の2つのセルに表示されるように設定されている。   In addition, one image B generated by two files of image data B1 and B2 is displayed in the table T2. Image data B1 and B2 are set to be displayed in two cells of table T2, respectively.

一般的に,効率よく画像データの読み込みを行うために,大きな画像ファイルを複数のファイルに分割し,テーブル構造を利用して表示する手法が採用される。しかし,図11に示すように,従来処理では,実画面の幅にテーブルが納まらない場合には,テーブルがセル単位で分割されてレイアウトされてしまうため,複数のセルに設定された複数の画像データによって1つのイメージを表示するテーブルでは,イメージが分裂して表示されることになる。   In general, in order to efficiently read image data, a method of dividing a large image file into a plurality of files and displaying it using a table structure is employed. However, as shown in FIG. 11, in the conventional process, if the table does not fit in the width of the real screen, the table is divided and laid out in units of cells, so that a plurality of images set in a plurality of cells. In a table that displays one image according to data, the image is divided and displayed.

テーブル処理部133は,テーブル内に画像イメージがある場合に,テーブルを構成するセル全てを均等に縮小して,できる限り本来のレイアウトを保持して,テーブルを利用して表示するイメージが分裂しないような均等縮小処理,または,テーブルを構成するセルをブロック化してテーブルの分割をブロック単位で行うようなテーブル分割処理を行う。   When there is an image image in the table, the table processing unit 133 uniformly reduces all the cells constituting the table, maintains the original layout as much as possible, and does not divide the image displayed using the table. Such a uniform reduction process or a table division process in which the cells constituting the table are divided into blocks and the table is divided in units of blocks.

具体的には,テーブル処理部133は,HTML解析処理部112の解析情報をもとに,データテーブルおよびセルの解析処理を行い,テーブルのサイズ,セルの最大幅および最小幅などのテーブル解析情報を取得して,テーブル解析情報記憶部143に格納する。   Specifically, the table processing unit 133 performs data table and cell analysis processing based on the analysis information of the HTML analysis processing unit 112, and table analysis information such as table size, cell maximum width, and minimum width. Is stored in the table analysis information storage unit 143.

そして,テーブル均等縮小処理部1331は,テーブル解析情報をもとに,テーブルの幅を実画面の幅と比べて,テーブルの幅が実画面の幅の範囲内であれば,テーブルをそのまま配置する。一方,テーブルの幅が実画面の幅を超えている場合は,実画面の幅とテーブル幅とをもとに,テーブル縮小率を算出する。   Then, the table equal reduction processing unit 1331 compares the table width with the actual screen width based on the table analysis information, and if the table width is within the range of the actual screen, arranges the table as it is. . On the other hand, if the table width exceeds the real screen width, the table reduction ratio is calculated based on the real screen width and the table width.

そして,算出したテーブル縮小率が,所定の縮小限界値を超えていなければ,テーブルのセル全てについて,テーブル縮小率をもとにセルの幅を縮小する。また,セルの元の横・高さの比率,セル列内の比率を保持して,セルの高さやセル間のスペースを縮小する。   If the calculated table reduction ratio does not exceed the predetermined reduction limit value, the cell width is reduced for all the cells in the table based on the table reduction ratio. In addition, the original horizontal / height ratio of the cells and the ratio in the cell row are maintained, and the cell height and the space between the cells are reduced.

画像/フォーム部品処理部137は,テーブルのセルが縮小処理された場合に,テキスト以外のデータ,例えばイメージデータやサイズ指定されたフォーム部品などのオブジェクトについて,縮小処理された縮小率と同率で幅を縮小し,元のサイズにおける幅および高さの比率を保持するようにして高さを縮小する。   When the table cell is subjected to reduction processing, the image / form part processing unit 137 performs processing for data other than text, for example, object such as image data or size specified form part, at the same rate as the reduction ratio after reduction processing. To reduce the height so that the ratio of width to height at the original size is retained.

また,テキスト処理部135は,テーブルのセルが縮小処理された場合に,テキストを元の大きさのままで,縮小されたセルの幅に応じて折り返しを設定する。   In addition, when the table cell is reduced, the text processing unit 135 sets the wrapping according to the width of the reduced cell while keeping the original size of the text.

この場合に,テーブル処理部133は,図12に示すように,テーブル縮小率で縮小されたセルの幅でテキストの全文字を表示する行数を確保するために,セルの高さを拡大補整する。   In this case, as shown in FIG. 12, the table processing unit 133 enlarges and adjusts the cell height in order to secure the number of lines for displaying all characters of the text with the cell width reduced by the table reduction ratio. To do.

また,テーブル分割処理部1333は,テーブル縮小率が所定の縮小限界値を超えている場合に,テーブルを構成するセルをブロック化して,ブロック単位でテーブルを分割して配置位置を変更する。   Further, when the table reduction ratio exceeds a predetermined reduction limit value, the table division processing unit 1333 blocks the cells constituting the table and divides the table in units of blocks to change the arrangement position.

図13に,表示対象となるテーブルを含むHTMLデータの例を示す。また,図14に,図13に示すHTMLデータがPC向けの標準画面で表示される場合のテーブルの表示例を示す。   FIG. 13 shows an example of HTML data including a table to be displayed. FIG. 14 shows a display example of the table when the HTML data shown in FIG. 13 is displayed on the standard screen for PC.

図14に示すように,HTMLデータ(Webページ)のテーブルT3は,10個のセルca1〜cd3で構成されている。テーブルT3には,イメージC1を表示するために,イメージC1を分割した5つの画像ファイルが,5つのセルca1,ca2,cb1,cc1,cc2のそれぞれに表示される。また,イメージC3を表示するために,イメージC3を分割した3つの画像ファイルが,3つのセルcd1,cd2,ce1のそれぞれに表示される。また,イメージC2の画像ファイルがセルca3に,イメージC4の画像ファイルがセルcd3に,それぞれ表示される。   As shown in FIG. 14, the table T3 of HTML data (Web page) is composed of ten cells ca1 to cd3. In the table T3, in order to display the image C1, five image files obtained by dividing the image C1 are displayed in each of the five cells ca1, ca2, cb1, cc1, and cc2. In order to display the image C3, three image files obtained by dividing the image C3 are displayed in the three cells cd1, cd2, and ce1, respectively. The image file of the image C2 is displayed in the cell ca3, and the image file of the image C4 is displayed in the cell cd3.

テーブルの幅が実画面の幅を超えてしまう場合に,テーブルを分割して表示するが,従来処理では,テーブル分割の際に,テーブルの行や列のスパン情報(ROWSPAN属性,COLSPAN属性)を考慮せずに,セルが出現する順序に従って分割するセルを決定して配置位置を変更していた。そのため,図15に示すように,本来1つのイメージとして表示されるべきものがセル単位で分断されてしまい,元のイメージとかけ離れた状態で表示されることになる。   When the table width exceeds the actual screen width, the table is divided and displayed. In the conventional processing, the table row and column span information (ROWSPAN attribute, COLSPAN attribute) is displayed when the table is divided. Without consideration, the cell to be divided is determined according to the order in which the cells appear and the arrangement position is changed. Therefore, as shown in FIG. 15, what should originally be displayed as one image is divided in units of cells, and is displayed in a state far from the original image.

テーブル分割処理部1333は,画像データを表示するテーブルの幅を縮小しても実画面の幅を超えて納まらないような場合に,テーブルを構成するセルのスパン情報にもとづいて関連するセル同士をブロック化し,分割するセルをブロック単位で決定して配置するようにして,できる限り1つのイメージが分断されないようなテーブル分割処理を行う。   If the table division processing unit 1333 does not fit beyond the width of the real screen even if the width of the table for displaying the image data is reduced, the table division processing unit 1333 displays related cells based on the span information of the cells constituting the table. Table division processing is performed so that one image is not divided as much as possible by making blocks and determining and arranging cells to be divided in units of blocks.

テーブル分割処理部1333は,テーブルを構成するセルのROWSPAN属性(セルの高さを行数で指定する属性),COLSPAN属性(セルの幅を列数で指定する属性)などのスパン情報を取得する。そして,これらのスパン情報を解析して,テーブルの全ての列において下端が同一の行となり,また全ての行において右端が同一の列となるセルのグループを1つのブロックとする。   The table division processing unit 1333 acquires span information such as a ROWSPAN attribute (an attribute that specifies the cell height by the number of rows) and a COLSPAN attribute (an attribute that specifies the cell width by the number of columns) of the cells constituting the table. . Then, the span information is analyzed, and a group of cells whose bottom ends are the same row in all columns of the table and whose right end is the same column in all rows is defined as one block.

例えば,図14に示すテーブルにおいて,テーブルの左上端からのセルの出現順序に従って,解析情報のROWSPAN属性を用いて,そのセルの下端の行を調べる。すると,セルca1,セルca2,セルca3はそれぞれ下端の行が同じではなく,次に出現するセルcb1の下端の行は,セルca2と同じであるが,セルca3の下端の行と同じではない。次に出現するセルcc1,セルcc2の下端の行は,セルca3の下端の行と同じである。ここで,テーブルT3を構成する全ての列において,セルの下端の行が揃うため,セルcc1,cc2,ca3に共通する下端の行を分割ラインとする。   For example, in the table shown in FIG. 14, the row at the lower end of the cell is examined using the ROWSPAN attribute of the analysis information according to the appearance order of the cell from the upper left end of the table. Then, cell ca1, cell ca2, and cell ca3 are not the same at the bottom row, and the bottom row of cell cb1 that appears next is the same as cell ca2, but not the same as the bottom row of cell ca3. . The next lower row of the cells cc1 and cc2 is the same as the lower row of the cell ca3. Here, in all the columns constituting the table T3, since the bottom row of the cells is aligned, the bottom row common to the cells cc1, cc2, ca3 is set as a division line.

さらに,解析情報のCOLSPAN属性を用いて,同様にして,全ての行においてセルの右端の列が同一であるかどうかを調べる。すると,セルca1,セルcb1,セルcc1,cd1とセルce1は右端が同じ列ではなく,次に出現するセルca2,cc2,cd2,ce1の右端が同じ列である。ここで,テーブルT3を構成する全ての行において,セルの右端の列が揃うため,セルca2,cc2,cd2,ce1に共通する列を分割ラインとする。このようにして,図16に示すように,セルca1,ca2,cb1,cc1,cc2の5つのセルをブロックB1,セルca3をブロックB2,セルcd1,cd2,ce1の3つのセルをブロックB3,セルcd3をブロックB4とする。   Further, using the COLSPAN attribute of the analysis information, it is similarly checked whether the rightmost column of the cell is the same in all rows. Then, cell ca1, cell cb1, cell cc1, cd1 and cell ce1 are not in the same column at the right end, and the right end of cells ca2, cc2, cd2, ce1 that appear next is in the same column. Here, since the rightmost columns of the cells are aligned in all the rows constituting the table T3, the columns common to the cells ca2, cc2, cd2, and ce1 are set as division lines. In this way, as shown in FIG. 16, five cells of cells ca1, ca2, cb1, cc1, and cc2 are made into block B1, cell ca3 is made into block B2, and three cells of cells cd1, cd2, and ce1 are made into block B3. The cell cd3 is assumed to be a block B4.

そして,図17に示すように,テーブルのセルの列について,ブロックB1の右端が実画面の幅の範囲内にあるので,ブロックB1のセルの配置位置を解析情報で設定された位置とする。次に,ブロックB2の右端が実画面の幅の範囲内にないので,ブロックB2のセルの配置位置をブロックB1の下へ続く位置へ変更する。さらに,ブロックB3のセルの配置位置をブロックB2の下へ続く位置へ変更し,ブロックB4の右端が実画面の幅の範囲内にないので,ブロックB4のセルの配置位置をブロックB3の下へ続く位置へ変更する。   As shown in FIG. 17, since the right end of the block B1 is within the width of the real screen for the cell column of the table, the cell arrangement position of the block B1 is set to the position set by the analysis information. Next, since the right end of the block B2 is not within the range of the real screen, the cell arrangement position of the block B2 is changed to a position continuing below the block B1. Further, the cell arrangement position of the block B3 is changed to a position continuing below the block B2, and the right end of the block B4 is not within the width of the real screen, so that the cell arrangement position of the block B4 is below the block B3. Change to the next position.

図18に,テーブル処理の処理フローを示す。   FIG. 18 shows a processing flow of table processing.

テーブル処理部133は,HTMLデータの解析情報をもとにテーブルおよびセルの解析処理を行い,テーブルサイズ,セル内の最大幅,最小幅を取得し,テーブル解析情報記憶部143に格納する(ステップS30)。   The table processing unit 133 performs table and cell analysis processing based on the analysis information of the HTML data, acquires the table size, the maximum width in the cell, and the minimum width, and stores them in the table analysis information storage unit 143 (step S1). S30).

テーブル均等縮小処理部1331は,テーブルの幅が実画面の幅を超えるか否かを判断する(ステップS31)。テーブルの幅が実画面の幅を超える場合には(ステップS31のYES),テーブルの幅と実画面の幅とをもとに,テーブル縮小率を算出する(ステップS32)。   The table uniform reduction processing unit 1331 determines whether or not the width of the table exceeds the width of the real screen (step S31). If the width of the table exceeds the width of the real screen (YES in step S31), the table reduction ratio is calculated based on the width of the table and the width of the real screen (step S32).

そして,テーブル縮小率が所定の縮小限界値を超えているか否かを判定し(ステップS33),テーブル縮小率が縮小限界値を超えていなければ(ステップS33のNO),テーブル均等縮小処理を行い(ステップS34),テーブル縮小率が縮小限界値を超えていれば(ステップS33のYES),テーブル分割処理を行う(ステップS35)。   Then, it is determined whether or not the table reduction rate exceeds a predetermined reduction limit value (step S33). If the table reduction rate does not exceed the reduction limit value (NO in step S33), a table uniform reduction process is performed. (Step S34) If the table reduction rate exceeds the reduction limit value (YES in Step S33), table division processing is performed (Step S35).

図19に,ステップS34のテーブル均等縮小処理の処理フローを示す。   FIG. 19 shows a processing flow of the table uniform reduction processing in step S34.

テーブル均等縮小処理部1331は,ステップS32の処理で算出したテーブル縮小率をもとに,各セルのサイズ(幅および高さ)を縮小する(ステップS341)。   The table uniform reduction processing unit 1331 reduces the size (width and height) of each cell based on the table reduction ratio calculated in the process of step S32 (step S341).

画像/フォーム部品処理部137は,テキスト以外の要素の幅をテーブル縮小率と同率で縮小する。さらに,テキスト以外の要素の高さを,要素の元の横および縦の比率を保持するように縮小する(ステップS342)。   The image / form part processing unit 137 reduces the width of elements other than text at the same rate as the table reduction rate. Further, the height of the elements other than the text is reduced so as to maintain the original horizontal and vertical ratios of the elements (step S342).

図20に,ステップS35のテーブル分割処理の処理フローを示す。   FIG. 20 shows a process flow of the table division process in step S35.

テーブル分割処理部1333は,テーブルを構成する全ての列または行でセルの端(下端/右端)が揃うラインを見つけ,セルの端が揃うラインまでのセルをブロック化する(ステップS351)。   The table division processing unit 1333 finds a line where the cell ends (lower end / right end) are aligned in all the columns or rows constituting the table, and blocks the cells up to the line where the cell ends are aligned (step S351).

そして,未処理ブロックがなくなるまで(ステップS352),未処理のブロックから,優先度の高いブロックを選び出す。ここでは,優先度として,テーブルの左上端からのセルの出現順序を用いる(ステップS353)。選択したブロックについて,ブロックの幅が実画面の幅の範囲を超えるか否かを判定し(ステップS354),ブロックの幅が実画面の幅の範囲内である場合には(ステップS354のNO),そのブロックのセルの解析情報で指定された位置を配置位置とする(ステップS355)。   Until there is no unprocessed block (step S352), a block having a high priority is selected from the unprocessed blocks. Here, the order of appearance of the cells from the upper left end of the table is used as the priority (step S353). For the selected block, it is determined whether or not the width of the block exceeds the range of the actual screen width (step S354). If the block width is within the range of the actual screen width (NO in step S354) The position designated by the analysis information of the cell of the block is set as the arrangement position (step S355).

一方,ブロックの幅が実画面の幅の範囲を超えている場合には(ステップS354のYES),そのブロックのセルの配置位置をテーブルの最下行に続く位置へ変更する(ステップS356)。   On the other hand, if the block width exceeds the range of the real screen width (YES in step S354), the cell arrangement position of the block is changed to a position following the bottom row of the table (step S356).

なお,ブロックを構成するセルが1つの列である場合に,セルの幅が実画面の幅の範囲を超えるときは,そのセル幅を実画面の幅の範囲内となるように縮小する。   When the cell constituting the block is one column and the cell width exceeds the range of the real screen width, the cell width is reduced to be within the range of the real screen width.

以上,本発明をその実施の形態により説明したが,本発明はその主旨の範囲において種々の変形が可能であることは当然である。   Although the present invention has been described above with reference to the embodiments, it is obvious that the present invention can be variously modified within the scope of the gist thereof.

例えば,本実施の形態において,テーブル均等縮小処理とテーブル分割処理とを別個に施す場合の例を説明したが,テーブル均等縮小処理と,セルのブロック化によるテーブル分割処理とを組み合わせて施してもよい。例えば,テーブルのあるブロックの幅と実画面の幅とをもとにテーブル均等縮小率を算出して,テーブルをブロック単位に分割し,かつ実画面の幅を超えるブロックとなるセルを実画面の幅の範囲内に納まるように縮小してレイアウトする。これによって,大きなテーブルをできるかぎりまとまった矩形で分割して縮小限界値の範囲内で表示させることができる。   For example, in the present embodiment, an example in which the table equalization reduction process and the table division process are separately performed has been described. However, the table equalization reduction process and the table division process based on cell blocking may be performed in combination. Good. For example, the table uniform reduction ratio is calculated based on the width of the block with the table and the width of the real screen, the table is divided into blocks, and cells that become blocks exceeding the real screen width are displayed on the real screen. Reduce the layout to fit within the width. As a result, a large table can be divided into rectangles as close as possible and displayed within the range of the reduction limit value.

また,本発明は,コンピュータにより読み取られインストールされることによって,一定の目的のための処理をコンピュータに実行させるためのプログラムとして実施することができる。本発明を実現するプログラムは,コンピュータが読み取り可能な,可搬媒体メモリ,半導体メモリ,ハードディスクなどの適当な記録媒体に格納することができ,これらの記録媒体に記録して提供され,または,通信インタフェースを介して種々の通信網を利用した送受信により提供されるものである。   Further, the present invention can be implemented as a program for causing a computer to execute processing for a certain purpose by being read and installed by the computer. The program for realizing the present invention can be stored in an appropriate recording medium such as a portable medium memory, a semiconductor memory, and a hard disk, which can be read by a computer, provided by being recorded on these recording media, or communication. It is provided by transmission / reception using various communication networks via an interface.

本発明の形態および実施例の特徴を列記すると以下のとおりである。   The features of the embodiments and examples of the present invention are listed as follows.

(付記1) マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するブラウザ装置を構成する処理手段であって,
表示対象のWebページの表示用解析情報から,前記Webページを表示する標準的な画面の大きさを仮想的に設定した標準画面の横サイズを取得し,前記標準画面の横サイズと前記Webページを実際に表示する表示画面の横サイズとの比率をもとにフレーム縮小率を算出する処理手段と,
前記フレーム縮小率が所定の縮小率限界値を超える場合に,分割フレームを構成するフレームのうち実値によるサイズが指定される実サイズ指定フレームについて,前記フレーム縮小率によって縮小処理されたフレームの横サイズの値が前記実値に近づくように,前記フレーム分割のフレーム間の比率を変更する処理手段と,
前記変更したフレーム間の比率および前記フレーム縮小率とを用いてフレーム分割のフレームを縮小する処理手段として,
コンピュータを機能させるためのレイアウト機能付きブラウザプログラム。
(Supplementary note 1) Processing means for configuring a browser device that displays data described in a markup language by performing layout processing suitable for the display screen size,
The horizontal size of the standard screen in which the standard screen size for displaying the Web page is virtually set is acquired from the display analysis information of the Web page to be displayed, and the horizontal size of the standard screen and the Web page are acquired. Processing means for calculating a frame reduction ratio based on a ratio with a horizontal size of a display screen that actually displays
When the frame reduction ratio exceeds a predetermined reduction ratio limit value, the actual size designation frame for which the size by the actual value is designated among the frames constituting the divided frame is the side of the frame reduced by the frame reduction ratio. Processing means for changing a ratio between frames of the frame division so that a size value approaches the actual value;
As a processing means for reducing the frame divided by using the ratio between the changed frames and the frame reduction ratio,
Browser program with layout function to make computer function.

(付記2) 前記フレーム間の比率を変更する処理手段は,前記フレーム分割のフレーム間の比率を変更する場合に,前記実値によるサイズが指定されない実サイズ指定なしフレームに対するフレーム縮小率を,前記縮小率限界値を超えない範囲において変更する
ことを特徴とする前記付記1記載のレイアウト機能付きブラウザプログラム。
(Supplementary Note 2) The processing means for changing the ratio between the frames, when changing the ratio between the frames of the frame division, sets a frame reduction ratio for a frame without an actual size designation in which a size based on the actual value is not designated. The browser program with a layout function according to appendix 1, wherein the browser program is changed within a range not exceeding a reduction rate limit value.

(付記3) 前記フレーム間の比率を変更する処理手段は,フレーム内部に表示するデータが存在しない実サイズ指定なしフレームについて,実サイズがゼロとなる範囲まで,フレーム縮小率を変更する
ことを特徴とする前記付記1記載のレイアウト機能付きブラウザプログラム。
(Supplementary Note 3) The processing means for changing the ratio between frames changes the frame reduction ratio to a range where the actual size is zero for a frame with no actual size designation in which there is no data to be displayed inside the frame. The browser program with a layout function according to the above supplementary note 1.

(付記4) マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するブラウザ装置を構成する処理手段であって,
表示対象のWebページの表示用解析情報から前記Webページに含まれるテーブルの横サイズを取得し,前記テーブルの横サイズが前記Webページを実際に表示する表示画面の横サイズより大きい場合に,前記テーブルの横サイズと前記表示画面の横サイズとの比率をもとにテーブル縮小率を算出する処理手段と,
前記テーブル縮小率を用いて前記テーブルを構成するセルの全てを均等に縮小する処理手段として,
コンピュータを機能させるためのレイアウト機能付きブラウザプログラム。
(Supplementary Note 4) Processing means for configuring a browser device that displays data described in a markup language by performing layout processing suitable for the display screen size,
When the horizontal size of the table included in the Web page is acquired from the display analysis information of the Web page to be displayed, and the horizontal size of the table is larger than the horizontal size of the display screen that actually displays the Web page, Processing means for calculating a table reduction ratio based on a ratio between the horizontal size of the table and the horizontal size of the display screen;
As processing means for uniformly reducing all the cells constituting the table using the table reduction ratio,
Browser program with layout function to make computer function.

(付記5) さらに,前記テーブル縮小率が所定の縮小限界率を超える場合に,前記Webページの表示用解析情報から前記テーブルを構成するセルの大きさを示すスパン情報を取得して,前記スパン情報にもとづいて前記テーブルのセルを矩形ブロックに切り分ける処理手段と,
前記テーブルを構成する矩形ブロックの列方向の並びによる横サイズが,前記表示画面の横サイズを超えない範囲となるように,前記テーブルを矩形ブロック単位で区切って配置する処理手段として,
前記コンピュータを機能させるための前記付記4記載のレイアウト機能付きブラウザプログラム。
(Supplementary Note 5) Further, when the table reduction rate exceeds a predetermined reduction limit rate, span information indicating the size of the cells constituting the table is acquired from the analysis information for display of the Web page, and the span Processing means for dividing the table cells into rectangular blocks based on the information;
As processing means for arranging the table in units of rectangular blocks so that the horizontal size of the rectangular blocks constituting the table is in a range that does not exceed the horizontal size of the display screen,
The browser program with a layout function according to Appendix 4, which causes the computer to function.

(付記6) マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するレイアウト処理方法であって,
表示対象のWebページの表示用解析情報から,前記Webページを表示する標準的な画面の大きさを仮想的に設定した標準画面の横サイズを取得し,
前記標準画面の横サイズと前記Webページを実際に表示する表示画面の横サイズとの比率をもとにフレーム縮小率を算出し,
前記フレーム縮小率とを用いてフレーム分割のフレームを縮小する
ことを特徴とするWebページのレイアウト処理方法。
(Appendix 6) A layout processing method for displaying data described in a markup language by performing layout processing suitable for the display screen size,
The horizontal size of the standard screen obtained by virtually setting the size of the standard screen for displaying the web page is obtained from the display analysis information of the web page to be displayed.
Calculating a frame reduction ratio based on a ratio between a horizontal size of the standard screen and a horizontal size of a display screen that actually displays the Web page;
A method of processing a layout of a Web page, wherein the frame division frame is reduced using the frame reduction rate.

(付記7) マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するレイアウト処理方法であって,
表示対象のWebページの表示用解析情報から前記Webページに含まれるテーブルの横サイズを取得し,
前記テーブルの横サイズが前記Webページを実際に表示する表示画面の横サイズより大きい場合に,前記テーブルの横サイズと前記表示画面の横サイズとの比率をもとにテーブル縮小率を算出し,
前記テーブル縮小率を用いて前記テーブルを構成するセルの全てを均等に縮小する
ことを特徴とするWebページのレイアウト処理方法。
(Supplementary note 7) A layout processing method for displaying data described in a markup language by performing layout processing suitable for the display screen size,
Obtaining the horizontal size of the table included in the Web page from the display analysis information of the Web page to be displayed;
When the horizontal size of the table is larger than the horizontal size of the display screen that actually displays the Web page, a table reduction ratio is calculated based on the ratio between the horizontal size of the table and the horizontal size of the display screen,
A method for processing a layout of a Web page, wherein all the cells constituting the table are uniformly reduced using the table reduction ratio.

(付記8) マークアップ言語で記述されたデータを,表示画面サイズに適したレイアウト処理を行って表示するレイアウト処理方法であって,
表示対象のWebページの表示用解析情報から前記Webページに含まれるテーブルの横サイズを取得し,
前記テーブルの横サイズが前記Webページを実際に表示する表示画面の横サイズより大きい場合に,前記テーブルの横サイズと前記表示画面の横サイズとの比率をもとにテーブル縮小率を算出し,
前記テーブル縮小率が所定の縮小限界率を超える場合に,前記Webページの表示用解析情報から前記テーブルを構成するセルの大きさを示すスパン情報を取得して,前記スパン情報にもとづいて前記テーブルのセルを矩形ブロックに切り分け,
前記テーブルを構成する矩形ブロックの列方向の並びによる横サイズが,前記表示画面の横サイズを超えない範囲となるように,前記テーブルを矩形ブロック単位で区切って配置する
ことを特徴とするWebページのレイアウト処理方法。
(Supplementary note 8) A layout processing method for displaying data described in a markup language by performing layout processing suitable for the display screen size,
Obtaining the horizontal size of the table included in the Web page from the display analysis information of the Web page to be displayed;
When the horizontal size of the table is larger than the horizontal size of the display screen that actually displays the Web page, a table reduction ratio is calculated based on the ratio between the horizontal size of the table and the horizontal size of the display screen,
When the table reduction rate exceeds a predetermined reduction limit rate, span information indicating the size of the cells constituting the table is acquired from the analysis information for display of the Web page, and the table is based on the span information. Cut the cell into rectangular blocks,
A Web page characterized in that the table is divided and arranged in units of rectangular blocks so that the horizontal size of the rectangular blocks constituting the table is in a range that does not exceed the horizontal size of the display screen. Layout processing method.

1 ブラウザ装置
110 ブラウジング処理制御部
111 通信処理部
112 HTML解析処理部
113 レイアウト処理部
114 画像表示処理部
130 最適化レイアウト処理部
131 フレーム処理部
1311 フレーム縮小率算出処理部
133 テーブル処理部
1331 テーブル均等縮小処理部
1333 テーブル分割処理部
135 テキスト処理部
137 画像/フォーム部品処理部
141 フレーム縮小率記憶部
143 テーブル解析情報記憶部
145 テーブル縮小率記憶部
147 セルブロック解析情報記憶部
2 表示装置
DESCRIPTION OF SYMBOLS 1 Browser apparatus 110 Browsing process control part 111 Communication process part 112 HTML analysis process part 113 Layout process part 114 Image display process part 130 Optimization layout process part 131 Frame process part 1311 Frame reduction rate calculation process part 133 Table process part 1331 Table equality Reduction processing unit 1333 Table division processing unit 135 Text processing unit 137 Image / form part processing unit 141 Frame reduction rate storage unit 143 Table analysis information storage unit 145 Table reduction rate storage unit 147 Cell block analysis information storage unit 2 Display device

Claims (5)

ブラウザプログラムにおいて,
コンピュータ
ークアップ言語で記述された,表示対象であるページのデータに対する表示用解析情報から,前記ページに含まれるテーブルの横サイズを取得させ
前記テーブルの横サイズが前記ページを表示する表示装置の画面の横サイズより大きい場合に,前記テーブルの横サイズと前記画面の横サイズとの比率をもとに,前記テーブルを縮小して表示する割合である縮小率を算出させ
記縮小率が所定の縮小限界率を超える場合に,前記ページの表示用解析情報から取得された,前記テーブルを構成するセルの大きさを示す情報にもとづいて,前記テーブルのセルをブロックに分割させ,
前記テーブルを構成するブロックの列方向の並びによる横サイズが,前記画面の横サイズを超えない範囲となるように,前記テーブルをブロック単位で区切って配置させる,
ことを特徴とするブラウザプログラム。
In the browser program,
On the computer,
Written in Ma Kuappu language, from the display analysis information for the data of the page is displayed, to obtain the horizontal size of the table included before Kipe over di,
Is greater than the horizontal size of the screen of the table Shimesuru display device Kipe over di previous horizontal size of the table, on the basis of the ratio between lateral size of the horizontal size and the front Kiga surface of said table, said table reduced by calculating a reduction ratio which is a ratio of displaying,
If the previous SL reduction ratio exceeds a predetermined reduction limit ratio, obtained from the display analysis information of the page, based on the information indicating the size of the cells constituting the table, the cells of the table block Split,
The table is divided and arranged in units of blocks so that the horizontal size of the blocks constituting the table is in a range that does not exceed the horizontal size of the screen.
A browser program characterized by that .
前記セルには,画像データの一部が表示されることを特徴とする請求項1記載のブラウザプログラム。 Wherein the cell of claim 1, wherein the blanking Lau The program, wherein a part of the image data is displayed. 前記セルおよび前記ブロックは矩形であることを特徴とする請求項1記載または請求項2記載のブラウザプログラム。The browser program according to claim 1, wherein the cell and the block are rectangular. ブラウザの制御方法において,In the browser control method,
コンピュータが,Computer
マークアップ言語で記述された,表示対象であるページのデータに対する表示用解析情報から,前記ページに含まれるテーブルの横サイズを取得し,The horizontal size of the table included in the page is obtained from the display analysis information for the data of the page to be displayed described in the markup language.
前記テーブルの横サイズが前記ページを表示する表示装置の画面の横サイズより大きい場合に,前記テーブルの横サイズと前記画面の横サイズとの比率をもとに,前記テーブルを縮小して表示する割合である縮小率を算出し,When the horizontal size of the table is larger than the horizontal size of the screen of the display device that displays the page, the table is reduced and displayed based on the ratio between the horizontal size of the table and the horizontal size of the screen. Calculate the reduction rate, which is a percentage,
前記縮小率が所定の縮小限界率を超える場合に,前記ページの表示用解析情報から取得した,前記テーブルを構成するセルの大きさを示す情報にもとづいて,前記テーブルのセルをブロックに分割し,When the reduction ratio exceeds a predetermined reduction limit ratio, the table cells are divided into blocks based on the information indicating the size of the cells constituting the table obtained from the page display analysis information. ,
前記テーブルを構成するブロックの列方向の並びによる横サイズが,前記画面の横サイズを超えない範囲となるように,前記テーブルをブロック単位で区切って配置する,The table is divided and arranged in units of blocks so that the horizontal size according to the arrangement in the column direction of the blocks constituting the table does not exceed the horizontal size of the screen.
ことを特徴とする制御方法。A control method characterized by that.
マークアップ言語で記述されたデータを表示装置に表示する制御装置において,In a control device for displaying data described in a markup language on a display device,
表示対象であるページのデータに対する表示用解析情報から,前記ページに含まれるテーブルの横サイズを取得する取得部と,An acquisition unit for acquiring the horizontal size of the table included in the page from the display analysis information for the data of the page to be displayed;
前記テーブルの横サイズが前記ページを表示する表示装置の画面の横サイズより大きい場合に,前記テーブルの横サイズと前記画面の横サイズとの比率をもとに,前記テーブルを縮小して表示する割合である縮小率を算出する算出部と,When the horizontal size of the table is larger than the horizontal size of the screen of the display device that displays the page, the table is reduced and displayed based on the ratio between the horizontal size of the table and the horizontal size of the screen. A calculation unit for calculating a reduction ratio as a ratio;
前記縮小率が所定の縮小限界率を超える場合に,前記ページの表示用解析情報から取得した,前記テーブルを構成するセルの大きさを示す情報にもとづいて,前記テーブルのセルをブロックに分割する分割部と,When the reduction ratio exceeds a predetermined reduction limit ratio, the cells of the table are divided into blocks based on the information indicating the size of the cells constituting the table obtained from the page display analysis information. A dividing section;
前記テーブルを構成するブロックの列方向の並びによる横サイズが,前記画面の横サイズを超えない範囲となるように,前記テーブルをブロック単位で区切って配置する配置部と,An arrangement unit that divides and arranges the table in units of blocks so that the horizontal size of the blocks constituting the table is in a range that does not exceed the horizontal size of the screen;
を備えたことを特徴とする制御装置。A control device comprising:
JP2010162570A 2010-07-20 2010-07-20 Browser program, control method, and control apparatus Expired - Fee Related JP4962603B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010162570A JP4962603B2 (en) 2010-07-20 2010-07-20 Browser program, control method, and control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010162570A JP4962603B2 (en) 2010-07-20 2010-07-20 Browser program, control method, and control apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2005184530A Division JP2007004524A (en) 2005-06-24 2005-06-24 Browser program with optimization layout function

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011082568A Division JP5141787B2 (en) 2011-04-04 2011-04-04 Browser program with layout function and data display device

Publications (2)

Publication Number Publication Date
JP2011008797A JP2011008797A (en) 2011-01-13
JP4962603B2 true JP4962603B2 (en) 2012-06-27

Family

ID=43565289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010162570A Expired - Fee Related JP4962603B2 (en) 2010-07-20 2010-07-20 Browser program, control method, and control apparatus

Country Status (1)

Country Link
JP (1) JP4962603B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577796A (en) * 2017-09-19 2018-01-12 内蒙古蒙科立蒙古文化股份有限公司 The implementation method and device of mobile terminal web site contents page longitudinal direction multicolumn layout
CN114860123B (en) * 2022-03-29 2024-05-03 携程旅游信息技术(上海)有限公司 Method, system, medium and equipment for controlling display of list in page

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000115527A (en) * 1998-10-09 2000-04-21 Canon Inc Electronic document reading device, electronic document displaying method, information terminal device, data displaying method and storing medium
JP2000339301A (en) * 1999-03-23 2000-12-08 Canon Inc Device and method for dividing document and storage medium with its program stored therein
JP3879369B2 (en) * 2000-06-27 2007-02-14 株式会社Kddi研究所 Proxy server for re-editing page, method and recording medium recording program
JP2002049558A (en) * 2000-08-03 2002-02-15 Seiko Epson Corp Web ACCESS SUPPORT DEVICE AND NETWORK SYSTEM
JP4104562B2 (en) * 2003-02-14 2008-06-18 株式会社Access Browser program, method and apparatus for performing table layout

Also Published As

Publication number Publication date
JP2011008797A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP2007004524A (en) Browser program with optimization layout function
US10409895B2 (en) Optimizing a document based on dynamically updating content
CN109308155A (en) Adjust method, apparatus, computer equipment and the storage medium of the page
US10467337B2 (en) Responsive data exploration on small screen devices
KR102490938B1 (en) Video screen adjustment method and device, computer equipment and storage media
JP4733415B2 (en) Electronic document display apparatus and method, and computer program
JP4639242B2 (en) Browser program, method and apparatus for performing table layout
US8516389B2 (en) Re-using a display element associated with a first cell for a second cell
US20060200752A1 (en) Method and system for laying out paginated content for viewing
TWI453658B (en) A dynamic composing method for displayed screen
US20130305144A1 (en) Method of Publishing Digital Content
US20120311436A1 (en) Dynamic display of content using an electronic device
JPH10289230A (en) Automatic layout of contents in page composition
JP2012008686A (en) Information processor and method, and program
EP2874054B1 (en) Application text adjusting method, device, and terminal
US20190332861A1 (en) Digital Content Automated Layout System
JP4962603B2 (en) Browser program, control method, and control apparatus
JP5141787B2 (en) Browser program with layout function and data display device
CN114564263A (en) Page layout adjusting method and device
US20060150078A1 (en) Method for reallocating table formats in real-time
JP6025427B2 (en) Image processing apparatus, image processing method, and program
CN104424174B (en) Document processing system and document processing method
WO2012041236A1 (en) Method and apparatus for displaying data
CN113660516B (en) Video display method, device, equipment and medium
JP5368399B2 (en) Electronic album generating apparatus, stereoscopic image pasting apparatus, operation control method thereof, and program thereof

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120206

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120312

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees