JP2012069006A - Layout selection device, layout selection method, layout selection program, and computer-readable recording medium, and content display device and content generation method - Google Patents

Layout selection device, layout selection method, layout selection program, and computer-readable recording medium, and content display device and content generation method Download PDF

Info

Publication number
JP2012069006A
JP2012069006A JP2010214510A JP2010214510A JP2012069006A JP 2012069006 A JP2012069006 A JP 2012069006A JP 2010214510 A JP2010214510 A JP 2010214510A JP 2010214510 A JP2010214510 A JP 2010214510A JP 2012069006 A JP2012069006 A JP 2012069006A
Authority
JP
Japan
Prior art keywords
layout
layouts
aspect ratio
content
display 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.)
Granted
Application number
JP2010214510A
Other languages
Japanese (ja)
Other versions
JP5501915B2 (en
Inventor
Yoshihiro Fukuda
吉洋 福田
Kazuhiro Miki
一浩 三木
Yasuaki Tachiiri
靖朗 立入
Tomoo Mitsutomi
智雄 光冨
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP2010214510A priority Critical patent/JP5501915B2/en
Publication of JP2012069006A publication Critical patent/JP2012069006A/en
Application granted granted Critical
Publication of JP5501915B2 publication Critical patent/JP5501915B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a layout selection device that selects a suitable layout from among a plurality of layouts when a content composed of a document and an image is displayed.SOLUTION: A layout selection device 10 includes: a detection part 11 which detects the size and aspect ratio of a display area where a content is displayed and respective sizes and aspect ratios of a plurality of layouts used to display content; a calculation part 12 which calculates matching indexes, indicative of degrees of matching between the plurality of layouts and the display area when the content is displayed in the display area using the plurality of layouts, for the plurality of layouts using the respective sizes and aspect ratios; and a determination part 13 which compares the respective matching indexes of the plurality of layouts with one another to determine one of the plurality of layouts which should be selected when displaying the content in the display area.

Description

本発明は、文書や画像からなるコンテンツを表示する際、コンテンツの最適なレイアウトを選択可能なレイアウト選択装置、レイアウト選択方法、レイアウト選択プログラムおよびコンピュータ読み取り可能な記録媒体、ならびに、コンテンツ表示装置およびコンテンツ作成方法に関するものである。   The present invention relates to a layout selection device, a layout selection method, a layout selection program, a computer-readable recording medium, a content display device, and a content, which can select an optimal layout of the content when displaying content composed of documents and images. It relates to the creation method.

近年、電子書籍端末が商品化され、一般家庭に普及し始めている。このような電子書籍端末は、利用者からの指示に応じて、たとえば無線通信を介して、電子新聞や電子雑誌といった電子書籍データを取得できるようになっている。また、利用者が電子書籍データを読むことができるようにするため、表示機能としての表示画面や、利用者からの指示を受け取るため、ユーザーインターフェイス機能としての入力デバイスが搭載されている。   In recent years, electronic book terminals have been commercialized and have begun to spread to ordinary households. Such an electronic book terminal can acquire electronic book data such as an electronic newspaper or an electronic magazine, for example, via wireless communication in accordance with an instruction from a user. In order to allow the user to read the electronic book data, a display screen as a display function and an input device as a user interface function are installed to receive instructions from the user.

ところで、このような電子書籍端末に限らず、パーソナルコンピュータやPDA、携帯電話機といった、コンテンツを表示する表示画面を備えた表示装置では、一般に、表示画面のアスペクト比や、インチ数といったその大きさは多種多様である。コンテンツ作成者は、自身が作成したコンテンツが、どのような表示画面に表示される場合であっても、その表示画面において最適なレイアウト、つまり、最適な見せ方を用いて、表示装置のユーザーにコンテンツを見せたいと希望するのが通常である。   By the way, not only in such an electronic book terminal, but in a display device having a display screen for displaying content, such as a personal computer, a PDA, and a mobile phone, in general, the size of the display screen such as the aspect ratio and the number of inches is A wide variety. Regardless of the display screen on which the content created by the content creator is displayed, the content creator uses the optimal layout on the display screen, that is, the optimal appearance, to the display device user. Usually you want to show content.

このような状況を考慮して、表示画面を表わす指標の1つであるアスペクト比が異なる表示画面に対し、コンテンツの内容を破綻させること無く、効率的に画像、映像を出力する画像出力方法が提案されている(たとえば、特許文献1を参照)。   In consideration of such a situation, there is an image output method for efficiently outputting an image and video without destroying the content of the content on a display screen having a different aspect ratio, which is one of the indexes representing the display screen. It has been proposed (see, for example, Patent Document 1).

この画像出力方法では、表示画面を複数の領域に分割するための分割パターンを表示画面のアスペクト比に対応付けて予め規定しておき、出力対象となる表示画面を、そのアスペクト比に対応する分割パターンに従って複数の領域に分割する。そして、たとえば、コンテンツである1つの画像を表示画面に表示させる際、分割された複数の領域それぞれに対する、複数の分割画像を生成し、生成した分割画像を複数の領域に対してそれぞれ出力する。   In this image output method, a division pattern for dividing a display screen into a plurality of areas is defined in advance in association with the aspect ratio of the display screen, and the display screen to be output is divided into pieces corresponding to the aspect ratio. Divide into multiple regions according to the pattern. For example, when displaying one image as content on the display screen, a plurality of divided images are generated for each of the plurality of divided regions, and the generated divided images are output to the plurality of regions, respectively.

このため、表示画面のアスペクト比に対応付けて表示画面の分割パターンを決めておくことにより、表示画面全体を効率よく利用することが可能となる。   For this reason, it is possible to efficiently use the entire display screen by determining the division pattern of the display screen in association with the aspect ratio of the display screen.

また、この画像出力方法では、表示画面を分割して得られる複数の領域のうち、主領域が表示画面のアスペクト比によらず、所定の縦横比を有するように表示画面を分割する。そして、主領域には、表示画面のアスペクト比によらず、所定の縦横比を有する画像を生成して出力する。   Further, in this image output method, the display screen is divided so that the main region has a predetermined aspect ratio regardless of the aspect ratio of the display screen among a plurality of regions obtained by dividing the display screen. In the main area, an image having a predetermined aspect ratio is generated and output regardless of the aspect ratio of the display screen.

このため、アスペクト比の異なる表示画面を分割して得られる主領域を相似形とし、各主領域に同一の画像を表示することにより、主領域に表示する画像は、表示画面のアスペクト比を意識せずに作成し、主領域に歪みやカケのない状態で表示することができる。   For this reason, the main areas obtained by dividing display screens with different aspect ratios are made similar, and the same image is displayed in each main area, so that the images displayed in the main areas are aware of the aspect ratio of the display screen. Can be created and displayed in the main area without distortion or blur.

特許第3761559号公報(平成18年1月20日登録)Japanese Patent No. 3761559 (registered on January 20, 2006)

しかしながら、特許文献1の画像出力方法では、表示画面を複数の領域に分割するための分割パターンを表示画面のアスペクト比に対応付けて予め規定しておくものであった。このため、表示画面の分割の仕方によっては、コンテンツ作成者が希望する、最適な見せ方にあったレイアウトにはならないことがあった。   However, in the image output method of Patent Document 1, a division pattern for dividing the display screen into a plurality of regions is defined in advance in association with the aspect ratio of the display screen. For this reason, depending on how the display screen is divided, the layout may not be in the optimal appearance desired by the content creator.

また、分割された複数の領域それぞれに対する分割画像を生成して、それら複数の領域に対してそれぞれ出力する必要があった。このため、やはり、分割画像の生成の仕方によっては、コンテンツ作成者が希望する、最適な見せ方にあったレイアウトにはならないことがあった。   In addition, it is necessary to generate a divided image for each of the plurality of divided areas and output the divided images to each of the plurality of areas. For this reason, depending on how the divided images are generated, the layout may not be in the optimal appearance desired by the content creator.

さらに、表示画面のアスペクト比によらず、主に表示したいコンテンツを表示する表示領域である「主領域」は、所定の縦横比により表示されるものであった。このため、表示画面のアスペクト比に応じたコンテンツの表示を行なうことができず、多種多様な表示画面の表示装置の各々に、コンテンツを最適な見せ方で表示することは困難であった。   Furthermore, the “main area”, which is a display area for mainly displaying content to be displayed, is displayed with a predetermined aspect ratio regardless of the aspect ratio of the display screen. For this reason, it is impossible to display content in accordance with the aspect ratio of the display screen, and it has been difficult to display the content on each of various display screen display devices in an optimal manner.

上記課題に鑑み、本発明の目的は、文書や画像からなるコンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができるレイアウト選択装置、レイアウト選択方法、レイアウト選択プログラムおよびコンピュータ読み取り可能な記録媒体、ならびに、コンテンツ表示装置およびコンテンツ作成方法を提供することである。   In view of the above problems, an object of the present invention is to provide a layout selection device, a layout selection method, a layout selection program, and a computer-readable program that can select an optimal layout from a plurality of layouts when displaying content including documents and images. And a content display device and a content creation method.

上記目的を達成するために、本発明に係るレイアウト選択装置は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出手段と、前記複数のレイアウトの各々を用いて前記コンテンツを前記表示領域に表示させたときにおける、用いたレイアウトと前記表示領域との一致の度合いを表わす一致指標を、前記検出手段によって検出された前記各々の大きさおよびアスペクト比を用いて前記複数のレイアウト毎に算出する算出手段と、前記算出手段によって算出された前記複数のレイアウトの各一致指標同士を比較することによって、前記コンテンツを前記表示領域に表示させるときに、前記複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定手段とを備える。   In order to achieve the above object, a layout selection apparatus according to the present invention includes a size and an aspect ratio of a display area for displaying content, and a size and an aspect ratio of each of a plurality of layouts used when displaying the content. Detecting means for detecting, and a matching index representing a degree of matching between the used layout and the display area when the content is displayed on the display area using each of the plurality of layouts, By comparing each matching index of the plurality of layouts calculated by the calculation unit with a calculation unit that calculates each of the plurality of layouts using each size and aspect ratio detected by the detection unit , When displaying the content in the display area, And a determination means for determining whether to select a layout.

この構成によれば、コンテンツを表示する表示領域の大きさおよびアスペクト比と、コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、表示領域および各レイアウトの各々の大きさおよびアスペクト比を用いて、複数のレイアウト毎に一致指標を算出する。   According to this configuration, the size and aspect ratio of the display area for displaying the content and the sizes and aspect ratios of the plurality of layouts used when displaying the content are detected, and the display area and the layout of each layout are detected. A coincidence index is calculated for each of a plurality of layouts using each size and aspect ratio.

この一致指標は、各レイアウトと表示領域との一致の度合いを表わす指標である。   This coincidence index is an index representing the degree of coincidence between each layout and the display area.

このため、コンテンツを表示領域に表示させるときに、各レイアウトの一致指標同士を比較することによって、表示領域との一致度合いの高いレイアウトを選択すべきレイアウトとして決定することができる。   Therefore, when the content is displayed in the display area, a layout having a high degree of matching with the display area can be determined as a layout to be selected by comparing the matching indexes of the respective layouts.

たとえばコンテンツ作成者は、自身が作成したコンテンツを表示する際に用いることを希望し、複数のレイアウトを予め準備する場合がある。   For example, the content creator may wish to use the content created by himself / herself and display a plurality of layouts in advance.

このような場合でも、コンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができる。   Even in such a case, when displaying the content, the optimum layout can be selected from a plurality of layouts.

前記算出手段は、前記複数のレイアウトの各大きさに関し、各レイアウトの大きさを構成する長辺および短辺のうち、各レイアウトを前記表示領域の内部に納まるようにしつつ、各レイアウトを拡大縮小したときにおける、前記表示領域の大きさを構成する長辺および短辺のいずれかと一致する辺である一致辺を特定し、その特定された一致辺についての拡大縮小前の長さに対する拡大縮小後の長さの比を、前記一致指標に含まれる拡縮率として前記複数のレイアウト毎に設定する拡縮率設定手段と、前記表示領域および前記複数のレイアウトの各アスペクト比に関し、各アスペクト比が表わす横と縦との比から、横と縦のうちのいずれか一方を1とする数値である換算値に換算し、前記表示領域のアスペクト比の換算値と、前記複数のレイアウトの各換算値との差分を、前記一致指標に含まれるアスペクト比差分として前記複数のレイアウト毎に設定するアスペクト比差分設定手段とを含むことが好ましい。   The calculation means enlarges / reduces each layout while keeping each layout within the display area among the long sides and short sides constituting the size of each layout with respect to each size of the plurality of layouts. After the enlargement / reduction with respect to the length before the enlargement / reduction of the specified coincidence side, the coincidence side that is the side that coincides with either the long side or the short side constituting the size of the display area is specified. A scaling ratio setting means for setting the ratio of the length of each of the plurality of layouts as a scaling ratio included in the coincidence index, and each aspect ratio of the display area and the plurality of layouts. Is converted into a conversion value that is a value in which one of the horizontal and vertical directions is 1, and the conversion value of the aspect ratio of the display area and the plurality of rays are converted. The difference between the converted value of the out preferably includes the aspect ratio difference setting means for setting for each of the plurality of layout as the aspect ratio difference included in the matching index.

この場合、各レイアウトと表示領域との一致の度合いを拡縮率やアスペクト比差分を用いて数値化することができる。   In this case, the degree of coincidence between each layout and the display area can be quantified using the enlargement / reduction ratio or the aspect ratio difference.

このため、各レイアウトの一致指標同士の比較を数値による比較によって行なうことができるので、一致指標同士の比較を効率良く、且つ、精度良く行なうことができる。   For this reason, since the comparison indices of the respective layouts can be compared by numerical comparison, the matching indices can be compared efficiently and accurately.

前記決定手段は、前記一致辺についての拡大縮小前後の長さが等しいときにおける比を前記拡縮率の基準値としたとき、前記拡縮率設定手段によって設定された前記複数のレイアウトの各拡縮率同士を比較し、前記基準値に一致する拡縮率、または、前記基準値に最も近い拡縮率を持つレイアウトを抽出する拡縮率抽出手段と、前記アスペクト比差分設定手段によって設定された前記複数のレイアウトの各アスペクト比差分同士を比較し、最も小さいアスペクト比差分を持つレイアウトを抽出するアスペクト比差分抽出手段とを含むことが好ましい。   When the ratio when the lengths before and after the enlargement / reduction for the coincidence sides are equal is a reference value of the enlargement / reduction ratio, the determination means determines whether the enlargement / reduction ratios of the plurality of layouts set by the enlargement / reduction ratio setting means Between the plurality of layouts set by the aspect ratio difference setting means, and an enlargement / reduction ratio extracting means for extracting a layout having an enlargement / reduction ratio that matches the reference value or the closest enlargement / reduction ratio to the reference value. It is preferable to include an aspect ratio difference extracting unit that compares the aspect ratio differences and extracts a layout having the smallest aspect ratio difference.

この場合、各レイアウトの一致指標同士の比較を数値の大小関係に基づいて行なうことができるので、基準値に一致する拡縮率、基準値に最も近い拡縮率、および、最も小さいアスペクト比差分の抽出を効率良く、且つ、精度良く行なうことができる。   In this case, since the matching indexes of the respective layouts can be compared based on the magnitude relation of the numerical values, the enlargement / reduction ratio matching the reference value, the enlargement / reduction ratio closest to the reference value, and the extraction of the smallest aspect ratio difference are extracted. Can be performed efficiently and accurately.

前記決定手段は、前記拡縮率抽出手段および前記アスペクト比差分抽出手段のいずれか一方を用いて前記複数のレイアウトから少なくとも1つのレイアウトを含む第1のレイアウトグループを抽出し、前記第1のレイアウトグループに複数のレイアウトが含まれるとき、前記拡縮率抽出手段および前記アスペクト比差分抽出手段のいずれか他方を用いて前記第1のレイアウトグループから少なくとも1つのレイアウトを含む第2のレイアウトグループを抽出することが好ましい。   The determining means extracts a first layout group including at least one layout from the plurality of layouts using any one of the enlargement / reduction ratio extracting means and the aspect ratio difference extracting means, and the first layout group When a plurality of layouts are included, a second layout group including at least one layout is extracted from the first layout group using one of the enlargement / reduction ratio extracting unit and the aspect ratio difference extracting unit. Is preferred.

この場合、拡縮率抽出手段およびアスペクト比差分抽出手段のいずれか一方を用いて複数のレイアウトから少なくとも1つのレイアウトを含む第1のレイアウトグループを抽出し、第1のレイアウトグループに複数のレイアウトが含まれるとき、拡縮率抽出手段およびアスペクト比差分抽出手段のいずれか他方を用いて第1のレイアウトグループから少なくとも1つのレイアウトを含む第2のレイアウトグループを抽出する。   In this case, the first layout group including at least one layout is extracted from the plurality of layouts using either the enlargement / reduction ratio extracting unit or the aspect ratio difference extracting unit, and the plurality of layouts are included in the first layout group. In this case, a second layout group including at least one layout is extracted from the first layout group by using either the enlargement / reduction ratio extraction unit or the aspect ratio difference extraction unit.

このため、2つの指標である拡縮率およびアスペクト比差分を用いても、効率よく、選択すべきレイアウトを決定することができる。   For this reason, the layout to be selected can be determined efficiently even using the scaling ratio and the aspect ratio difference, which are the two indexes.

前記決定手段は、前記第2のレイアウトグループに複数のレイアウトが含まれるとき、含まれる複数のレイアウトの各々が横書きであるか縦書きであるかを判断基準として、選択すべきレイアウトを決定することが好ましい。   The determining means determines a layout to be selected based on whether each of the plurality of layouts is horizontal writing or vertical writing when a plurality of layouts are included in the second layout group. Is preferred.

この場合、たとえば、ユーザーから表示領域に表示すべきレイアウトが指示された場合、その指示に基づくレイアウトの決定をすることができる。   In this case, for example, when a layout to be displayed in the display area is instructed by the user, the layout can be determined based on the instruction.

本発明に係るコンテンツ表示装置は、上記のレイアウト選択装置と、前記レイアウト選択装置によって選択されたレイアウトを用いて、コンテンツを表示領域に表示する表示装置とを備える。   A content display device according to the present invention includes the above-described layout selection device and a display device that displays content in a display area using the layout selected by the layout selection device.

この構成によれば、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、表示領域および各レイアウトの各々の大きさおよびアスペクト比を用いて、複数のレイアウト毎に一致指標を算出する。   According to this configuration, the size and aspect ratio of the display area for displaying the content and the sizes and aspect ratios of the plurality of layouts used when displaying the content are detected, and the display area and each layout are detected. A matching index is calculated for each of a plurality of layouts using the size and the aspect ratio of each.

この一致指標は、各レイアウトと表示領域との一致の度合いを表わす指標である。   This coincidence index is an index representing the degree of coincidence between each layout and the display area.

このため、コンテンツを表示領域に表示させるときに、各レイアウトの一致指標同士を比較することによって、表示領域との一致度合いの高いレイアウトを選択すべきレイアウトとして決定することができる。   Therefore, when the content is displayed in the display area, a layout having a high degree of matching with the display area can be determined as a layout to be selected by comparing the matching indexes of the respective layouts.

たとえばコンテンツ作成者は、自身が作成したコンテンツを表示する際に用いることを希望し、複数のレイアウトを予め準備する場合がある。   For example, the content creator may wish to use the content created by himself / herself and display a plurality of layouts in advance.

このような場合でも、コンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができる。   Even in such a case, when displaying the content, the optimum layout can be selected from a plurality of layouts.

本発明に係るレイアウト選択方法は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出工程と、前記複数のレイアウトの各々を用いて前記コンテンツを前記表示領域に表示させたときにおける、用いたレイアウトと前記表示領域との一致の度合いを表わす一致指標を、前記検出工程にて検出された前記各々の大きさおよびアスペクト比を用いて前記複数のレイアウト毎に算出する算出工程と、前記算出工程にて算出された前記複数のレイアウトの各一致指標同士を比較することによって、前記コンテンツを前記表示領域に表示させるときに、前記複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定工程とを含む。   The layout selection method according to the present invention includes a detection step of detecting a size and an aspect ratio of a display area for displaying content and each size and aspect ratio of a plurality of layouts used when displaying the content. When the content is displayed on the display area using each of the plurality of layouts, the matching index representing the degree of matching between the used layout and the display area is detected in the detection step. The content is displayed by comparing the calculation step for each of the plurality of layouts using each size and aspect ratio, and the matching indexes of the plurality of layouts calculated in the calculation step. Decide which layout to select from the multiple layouts when displaying in an area And a that decision process.

この構成によれば、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、表示領域および各レイアウトの各々の大きさおよびアスペクト比を用いて、複数のレイアウト毎に一致指標を算出する。   According to this configuration, the size and aspect ratio of the display area for displaying the content and the sizes and aspect ratios of the plurality of layouts used when displaying the content are detected, and the display area and each layout are detected. A matching index is calculated for each of a plurality of layouts using the size and the aspect ratio of each.

この一致指標は、各レイアウトと表示領域との一致の度合いを表わす指標である。   This coincidence index is an index representing the degree of coincidence between each layout and the display area.

このため、コンテンツを表示領域に表示させるときに、各レイアウトの一致指標同士を比較することによって、表示領域との一致度合いの高いレイアウトを選択すべきレイアウトとして決定することができる。   Therefore, when the content is displayed in the display area, a layout having a high degree of matching with the display area can be determined as a layout to be selected by comparing the matching indexes of the respective layouts.

たとえばコンテンツ作成者は、自身が作成したコンテンツを表示する際に用いることを希望し、複数のレイアウトを予め準備する場合がある。   For example, the content creator may wish to use the content created by himself / herself and display a plurality of layouts in advance.

このような場合でも、コンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができる。   Even in such a case, when displaying the content, the optimum layout can be selected from a plurality of layouts.

本発明に係るコンテンツ作成方法は、上記のレイアウト選択装置によってレイアウトが選択されるコンテンツの作成方法であって、前記コンテンツの内容を判断基準として、前記複数のレイアウトを決定するレイアウト決定工程と、前記レイアウト決定工程にて決定された前記複数のレイアウトを表わすレイアウト情報を前記コンテンツに書き込むレイアウト情報書き込み工程とを含む。   A content creation method according to the present invention is a content creation method in which a layout is selected by the layout selection device described above, wherein a layout determination step of determining the plurality of layouts using the content content as a criterion, A layout information writing step of writing layout information representing the plurality of layouts determined in the layout determination step into the content.

この構成によれば、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、表示領域および各レイアウトの各々の大きさおよびアスペクト比を用いて、複数のレイアウト毎に一致指標を算出する。   According to this configuration, the size and aspect ratio of the display area for displaying the content and the sizes and aspect ratios of the plurality of layouts used when displaying the content are detected, and the display area and each layout are detected. A matching index is calculated for each of a plurality of layouts using the size and the aspect ratio of each.

この一致指標は、各レイアウトと表示領域との一致の度合いを表わす指標である。   This coincidence index is an index representing the degree of coincidence between each layout and the display area.

このため、コンテンツを表示領域に表示させるときに、各レイアウトの一致指標同士を比較することによって、表示領域との一致度合いの高いレイアウトを選択すべきレイアウトとして決定することができる。   Therefore, when the content is displayed in the display area, a layout having a high degree of matching with the display area can be determined as a layout to be selected by comparing the matching indexes of the respective layouts.

たとえばコンテンツ作成者は、自身が作成したコンテンツを表示する際に用いることを希望し、複数のレイアウトを予め準備する場合がある。   For example, the content creator may wish to use the content created by himself / herself and display a plurality of layouts in advance.

このような場合でも、コンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができる。   Even in such a case, when displaying the content, the optimum layout can be selected from a plurality of layouts.

なお、前記レイアウト選択装置は、コンピュータによって実現してもよく、この場合には、コンピュータを前記各手段として動作させることにより前記レイアウト選択装置をコンピュータにて実現させるレイアウト選択装置の制御プログラム、およびそれを記録したコンピュータ読み取り可能な記録媒体も、本発明の範疇に入る。   The layout selection device may be realized by a computer. In this case, a control program for the layout selection device that causes the layout selection device to be realized by the computer by operating the computer as the respective means, and A computer-readable recording medium on which is recorded also falls within the scope of the present invention.

本発明のレイアウト選択装置は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出手段と、前記複数のレイアウトの各々を用いて前記コンテンツを前記表示領域に表示させたときにおける、用いたレイアウトと前記表示領域との一致の度合いを表わす一致指標を、前記検出手段によって検出された前記各々の大きさおよびアスペクト比を用いて前記複数のレイアウト毎に算出する算出手段と、前記算出手段によって算出された前記複数のレイアウトの各一致指標同士を比較することによって、前記コンテンツを前記表示領域に表示させるときに、前記複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定手段とを備える。   The layout selection device of the present invention includes a detection unit that detects the size and aspect ratio of a display area for displaying content, and the size and aspect ratio of a plurality of layouts used when displaying the content, When each of the plurality of layouts is used to display the content in the display area, a matching index indicating a degree of matching between the used layout and the display area is detected by each of the detection means. The content is displayed in the display area by comparing the calculation means for calculating each of the plurality of layouts using the size and the aspect ratio and the matching indexes of the plurality of layouts calculated by the calculation means. Which layout should be selected from the plurality of layouts. And a determination means for constant for.

それゆえ、文書や画像からなるコンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができるという効果を奏する。   Therefore, there is an effect that an optimum layout can be selected from a plurality of layouts when displaying content composed of documents and images.

本発明の一実施形態に係るレイアウト選択装置を備える電子書籍端末の構成を示すブロック図である。It is a block diagram which shows the structure of an electronic book terminal provided with the layout selection apparatus which concerns on one Embodiment of this invention. コンテンツの一構成例を説明する説明図である。It is explanatory drawing explaining the structural example of a content. コンテンツデータに書き込まれた複数のレイアウトデータを説明するための概念図である。It is a conceptual diagram for demonstrating several layout data written in content data. 表示領域の大きさおよびアスペクト比を説明する説明図であり、(a)は、上記電子書籍端末の表示画面全体が上記表示領域の場合を示し、(b)は、上記電子書籍端末の表示画面のうち、その中心付近の領域が上記表示領域の場合を示し、(c)は、上記電子書籍端末の表示画面のうち、その右隅付近の領域が上記表示領域の場合を示す。It is explanatory drawing explaining the magnitude | size and aspect-ratio of a display area, (a) shows the case where the whole display screen of the said electronic book terminal is the said display area, (b) is the display screen of the said electronic book terminal. Among these, the area near the center is the display area, and (c) shows the area near the right corner of the display screen of the electronic book terminal is the display area. 各レイアウトと表示領域との一致の度合いを表わす一致指標の算出を説明するための説明図である。It is explanatory drawing for demonstrating calculation of the matching parameter | index showing the degree of matching with each layout and a display area. 拡縮率を説明するための説明図である。It is explanatory drawing for demonstrating an expansion / contraction rate. アスペクト比差分を説明するための説明図である。It is explanatory drawing for demonstrating an aspect-ratio difference. 上記レイアウト選択装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the said layout selection apparatus. 上記レイアウト選択装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the said layout selection apparatus. 複数のレイアウトデータが書き込まれたコンテンツデータを説明するための説明図である。It is explanatory drawing for demonstrating the content data in which several layout data were written.

以下、本発明の一実施形態について、図面を参照しながら説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本発明に係るレイアウト選択装置は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、複数のレイアウトの各々を用いてコンテンツを表示領域に表示させたときにおける、用いたレイアウトと表示領域との一致の度合いを表わす一致指標を、表示領域の大きさおよびアスペクト比と、複数のレイアウトの各大きさおよびアスペクト比とを用いて、複数のレイアウト毎に算出する。   A layout selection device according to the present invention detects the size and aspect ratio of a display area for displaying content, and the size and aspect ratio of a plurality of layouts used when displaying the content, and a plurality of layouts When the content is displayed on the display area using each of the above, the matching index indicating the degree of matching between the used layout and the display area is set, the size and aspect ratio of the display area, and the size of each of the plurality of layouts. And the aspect ratio are calculated for each of a plurality of layouts.

そして、本発明に係るレイアウト選択装置は、このようにして算出された複数のレイアウトの各一致指標同士を比較することによって、コンテンツを表示領域に表示させるときに、複数のレイアウトからいずれのレイアウトを選択するべきかを決定するものである。   Then, the layout selection device according to the present invention compares each matching index of the plurality of layouts calculated in this way, so that any layout from the plurality of layouts is displayed when the content is displayed in the display area. It is what determines what to choose.

ここで、複数のレイアウトとは、電子書籍データといった文書や画像からなるコンテンツを作成するコンテンツ作成者が、自身が作成したコンテンツが表示領域、たとえば、電子書籍端末の表示画面全体やその表示画面の一部の領域(以下、表示画面全体とその一部の領域とをあわせて、単に「表示領域」と呼ぶこともある。)に表示される際、その表示に用いられるレイアウトである。   Here, a plurality of layouts means that a content creator who creates content consisting of documents and images such as electronic book data displays the content created by himself / herself in a display area, for example, the entire display screen of an electronic book terminal or the display screen thereof. This is a layout used for display when displayed in a partial area (hereinafter, the entire display screen and the partial area may be simply referred to as a “display area”).

たとえば、コンテンツ作成者は、自身のコンテンツを電子書籍端末のユーザーに読まれる際、そのコンテンツのレイアウト、つまり、そのコンテンツの見せ方を自由に変更されてしまうことを嫌う傾向にある。コンテンツ作成者は、自身が望む見せ方でコンテンツをユーザーに提供することを期待するものである。   For example, content creators tend to dislike changing the layout of the content, that is, how the content is displayed, when the user of the electronic book terminal reads the content. The content creator expects to provide content to the user in the way he / she wants to see it.

この複数のレイアウトは、コンテンツ作成者が予め準備するものであり、自身が作成したコンテンツの内容を鑑み、コンテンツ作成者が自ら作成する。上で述べたように、ユーザーがコンテンツを読む際に利用する、電子書籍端末等の表示装置では、その表示領域の大きさやアスペクト比は多種多様なものがある。コンテンツ作成者は、どのような大きさ、アスペクト比の表示領域にコンテンツが表示される場合でも、自身が希望するレイアウトで表示されるよう、複数のレイアウトを予め準備する。   The plurality of layouts are prepared in advance by the content creator, and are created by the content creator in consideration of the content created by the content creator. As described above, a display device such as an electronic book terminal used when a user reads content has a variety of display area sizes and aspect ratios. The content creator prepares a plurality of layouts in advance so that the content is displayed in a layout desired by the user regardless of the size and aspect ratio of the display area.

一方、一致指標とは、上で述べたように、各レイアウトと表示領域との一致の度合いを表わすものである。この一致の度合いは、具体的には、コンテンツを表示領域に表示させたとき、その表示に用いたレイアウトと表示領域とが完全に一致するときに一致の度合いが最も高い。レイアウトおよび表示領域を表わす指標として、それらの大きさおよびアスペクト比を用いた場合、その大きさおよびアスペクト比が共に一致するとき、上記の一致の度合いが最も高くなる。レイアウトと表示領域との間において、大きさまたはアスペクト比の少なくとも一方が異なれば異なるほど、上記の一致の度合いが低くなる。   On the other hand, the coincidence index represents the degree of coincidence between each layout and the display area, as described above. Specifically, when the content is displayed in the display area, the degree of matching is highest when the layout used for the display and the display area completely match. When these sizes and aspect ratios are used as indices representing the layout and display area, the degree of matching is the highest when the sizes and aspect ratios match. The difference between at least one of the size and the aspect ratio between the layout and the display area is the lower the degree of matching described above.

ここで、レイアウトおよび表示領域の大きさは、たとえば、各々を構成する矩形の長辺、短辺のそれぞれの長さを用いて表わすことができる。また、アスペクト比は、たとえば、各々の「横対縦」または「縦対横」の比の形で表わすことができる。   Here, the size of the layout and the display area can be expressed using, for example, the lengths of the long side and the short side of each of the rectangles. In addition, the aspect ratio can be expressed, for example, in the form of the ratio of “horizontal to vertical” or “vertical to horizontal”.

レイアウト選択装置は、コンテンツ作成者によって予め準備された複数のレイアウトの各々に関し、上述した一致の度合いを表わす一致指標を算出する。レイアウト選択装置は、この一致指標同士を比較し、その比較結果から、コンテンツを表示領域に表示させるときに、複数のレイアウトからいずれのレイアウトを選択するべきかを決定する。   The layout selection device calculates a matching index representing the degree of matching described above for each of a plurality of layouts prepared in advance by the content creator. The layout selection device compares the matching indexes and determines which layout should be selected from a plurality of layouts when displaying the content in the display area from the comparison result.

電子書籍端末は、このようなレイアウト選択装置を備えることにより、予め準備された複数のレイアウトから、最適なレイアウトを選択することができるので、電子書籍端末の多種多様な表示領域のいずれにおいても、最適な見え方でコンテンツを表示することができる。   Since the electronic book terminal includes such a layout selection device, an optimal layout can be selected from a plurality of layouts prepared in advance. Therefore, in any of the various display areas of the electronic book terminal, Content can be displayed in an optimal way.

なお、レイアウト選択装置の適用は、電子書籍端末に限定されるものではなく、文書や画像からなるコンテンツを無線通信により、取得し、表示画面上に表示するパーソナルコンピュータに備えてもよい。また、人によって持ち運ばれることにより移動可能な装置に備えてもよい。例えば、ゲーム機器、携帯電話、PDA等の携帯情報端末、ノート型パーソナルコンピュータ等である。いずれの装置においても、同様の効果を奏することができる。   Note that the application of the layout selection device is not limited to an electronic book terminal, but may be provided in a personal computer that acquires content including documents and images by wireless communication and displays the content on a display screen. Moreover, you may provide in the apparatus which can be moved by being carried by the person. For example, a game machine, a mobile phone, a portable information terminal such as a PDA, a notebook personal computer, or the like. In either apparatus, the same effect can be achieved.

以下、本発明の実施の形態では、レイアウト選択装置を備えた電子書籍端末を例に実施の形態として説明する。   Hereinafter, in an embodiment of the present invention, an electronic book terminal provided with a layout selection device will be described as an embodiment.

以下、図面を用いて電子書籍端末の構成について説明する。図1は、本発明の実施の形態1に係る電子書籍端末の構成を示すブロック図である。   Hereinafter, the configuration of the electronic book terminal will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an electronic book terminal according to Embodiment 1 of the present invention.

図1に示すように、本発明の実施形態に係る電子書籍端末(コンテンツ表示装置)1は、コンテンツデータを取得する取得部21と、コンテンツの表示位置を指定する指定部22と、コンテンツデータを分解および解読し、レイアウトデータを生成するパース部23と、パース部23によって生成されるレイアウトデータを記憶するレイアウトデータ記憶部24と、レイアウトデータを用いて段組みレイアウトデータを生成する段組みレイアウト生成部25と、段組みレイアウト生成部25によって生成される段組みレイアウトデータを基に行レイアウトデータを生成する行レイアウト生成部26と、イベントデータを生成し、行レイアウト生成部26によって生成される行レイアウトデータに割り当てるイベントデータ生成部27と、段組みレイアウトデータおよび行レイアウトデータからなる段組みデータを記憶する段組みデータ記憶部28と、段組みデータ記憶部28に記憶された段組みデータを用いて段組み処理する段組み処理部29とを備えている。   As shown in FIG. 1, an electronic book terminal (content display device) 1 according to an embodiment of the present invention includes an acquisition unit 21 that acquires content data, a designation unit 22 that specifies a display position of content, and content data. A parsing unit 23 that decomposes and decodes to generate layout data, a layout data storage unit 24 that stores layout data generated by the parsing unit 23, and a column layout generation that generates column layout data using the layout data Unit 25, a row layout generation unit 26 that generates row layout data based on the column layout data generated by column layout generation unit 25, a line that generates event data and is generated by line layout generation unit 26. Event data generation unit 27 assigned to layout data, and column A column data storage unit 28 that stores column data including layout data and line layout data, and a column processing unit 29 that performs column processing using the column data stored in the column data storage unit 28 are provided. ing.

さらに、電子書籍端末1は、パース部23が複数のレイアウトデータを生成した場合に、複数のレイアウトからいずれか1つのレイアウトを選択するレイアウト選択装置10を備えている。   Furthermore, the electronic book terminal 1 includes a layout selection device 10 that selects any one layout from a plurality of layouts when the parsing unit 23 generates a plurality of layout data.

また、さらに、電子書籍端末1は、指定部22によって指定された表示位置に表示すべきコンテンツのすべてに対し、段組み処理部29による段組み処理が実行されたか否かを判定するレイアウト判定部30と、表示位置に表示すべきコンテンツのすべての段組み処理が終了すると、それらコンテンツを表示するコンテンツ表示部31と、コンテンツ表示部31によるコンテンツ表示の際、そのコンテンツに必要となる画像データや音声データ等を生成するデータ生成部32と、レイアウトデータ記憶部24に記憶されたレイアウトデータを変更する変更部35とを備えている。   Further, the electronic book terminal 1 further determines whether or not the column processing by the column processing unit 29 has been executed for all the contents to be displayed at the display position specified by the specifying unit 22. 30. When all the column processing of the content to be displayed at the display position is completed, the content display unit 31 that displays the content, and the image data required for the content when the content display unit 31 displays the content, A data generation unit 32 that generates audio data and the like, and a change unit 35 that changes layout data stored in the layout data storage unit 24 are provided.

取得部21は、表示位置が指定されると、その表示位置に表示すべきコンテンツデータを取得する。このコンテンツデータは、書籍をデジタルデータにし、コンテンツ表示部31によって表示可能なコンテンツデータであり、動画データ、静止画データ、音声データなどが含まれる。取得部21は、電子書籍端末1にダウンロードする構成でコンテンツデータを取得する構成で実現されてもよいし、あるいは、ダウンロードせずにWeb上でアクセスしてコンテンツデータに取得する構成で実現されてもよい。   When the display position is designated, the acquisition unit 21 acquires content data to be displayed at the display position. This content data is content data that can be displayed by the content display unit 31 by converting a book into digital data, and includes moving image data, still image data, audio data, and the like. The acquisition unit 21 may be realized by a configuration in which content data is acquired by downloading to the electronic book terminal 1, or may be realized by a configuration in which content data is accessed and acquired on the Web without downloading. Also good.

また、取得部21は、ユーザーの操作入力、あるいは前回表示位置からの表示といった、上記の表示位置の指定に基づき、コンテンツデータ内の最小単位(ブロック)のデータを、必要となる領域分(レイアウトする必要がある領域分)だけ取得する。たとえば、コンテンツデータを説明するための概略図である図2において、取得部21は、Nブロックからなるコンテンツデータ40のうち、指定された表示位置である〔M−1〕、〔M〕、〔M+1〕のそれぞれのコンテンツデータ、この順に取得することになる。   In addition, the acquisition unit 21 stores the minimum unit (block) data in the content data for a necessary area (layout) based on the above-described display position designation such as a user operation input or display from the previous display position. Only areas that need to be acquired). For example, in FIG. 2, which is a schematic diagram for explaining content data, the acquisition unit 21 [M−1], [M], [M], which is a designated display position among the content data 40 composed of N blocks. M + 1] is acquired in this order.

指定部22は、ユーザーの操作入力、あるいは前回の表示位置に基づき、今回の表示位置を指定する。指定部22は、自身が指定する表示位置を取得部21に出力する。指定部22は、ユーザーの操作入力に基づき、表示位置を指定するために、ユーザーインターフェイス機能としての入力デバイス、たとえば、キーボート等を用いることができる。また、指定部22は、前回の表示位置に基づき、表示位置を指定するためには、前回の表示位置を記憶するための一時記憶装置、たとえば、フラッシュメモリやSRAMといった書き込み消去可能な半導体メモリを備えていればよい。   The designation unit 22 designates the current display position based on the user's operation input or the previous display position. The designation unit 22 outputs the display position designated by the designation unit 22 to the acquisition unit 21. The designation unit 22 can use an input device as a user interface function, such as a keyboard, in order to designate a display position based on a user operation input. In addition, the designation unit 22 designates a temporary storage device for storing the previous display position, for example, a erasable semiconductor memory such as a flash memory or an SRAM, in order to designate the display position based on the previous display position. It only has to have.

パース部23は、取得部21が取得した1ブロック分のコンテンツデータをパース、たとえば、分解、解読する。そして、パース部23は、全体のレイアウトを決めるレイアウトデータ(段数、余白、行間、文字間指定等に関するデータ)と、行をレイアウトするための行要素データ(コンテンツデータ内のフォントサイズの変更・拡大や、ルビ情報等に関するデータ)とを読み出す(準備する)。   The parsing unit 23 parses, for example, decomposes and decodes the content data for one block acquired by the acquisition unit 21. The parsing unit 23 then lays out layout data (data relating to the number of columns, margins, line spacing, character spacing, etc.) that determines the overall layout, and line element data (layout change / enlargement of the font size in the content data). And data relating to ruby information) are read out (prepared).

たとえば、パース部23は、〔M−1〕ブロックのデータを解析し、コンテンツデータ内のレイアウトデータおよび行要素データを取得、解読する。パース部23は、レイアウトデータおよび、行要素データをレイアウトデータ記憶部24に出力し、記憶する。なお、パース部23は、リンクジャンプの操作等に関するイベント情報を読み出すこともある。また、パース部23は、レイアウトデータについてはレイアウト選択装置10に出力してもよい。   For example, the parsing unit 23 analyzes the data of the [M-1] block, and acquires and decodes layout data and row element data in the content data. The parsing unit 23 outputs the layout data and the row element data to the layout data storage unit 24 and stores them. The parsing unit 23 may read event information related to a link jump operation or the like. The parsing unit 23 may output the layout data to the layout selection device 10.

さらに、パース部23は、全体のレイアウトを決めるレイアウトデータを、最初に読み込む領域(ヘッダ領域等)から読み出しておき、レイアウトデータ記憶部24等の記憶部に記憶させておいてもよい。   Further, the parsing unit 23 may read layout data for determining the entire layout from an area (header area or the like) to be read first and store it in a storage unit such as the layout data storage unit 24.

ここで、取得部21によって取得されるコンテンツデータには、上で述べたように、複数のレイアウトデータが予め準備されている場合がある。たとえば、図3では、1つのコンテンツデータ50内に6つのレイアウトA〜Fをそれぞれ決めるための6つのレイアウトデータが保持されている。レイアウトA〜Fは、たとえば、以下のようなレイアウトである。   Here, the content data acquired by the acquisition unit 21 may have a plurality of layout data prepared in advance as described above. For example, in FIG. 3, six layout data for determining each of the six layouts A to F are held in one content data 50. Layouts A to F are, for example, the following layouts.

(1)レイアウトAは、アスペクト比(横対縦)が2:1、長辺がa1、短辺がa2であり、レイアウトA内に配置される文書、画像等は縦書きである。   (1) Layout A has an aspect ratio (horizontal to vertical) of 2: 1, a long side is a1, a short side is a2, and documents, images, and the like arranged in layout A are vertically written.

(2)レイアウトBは、アスペクト比(横対縦)が2:1、長辺がb1、短辺がb2であり、レイアウトB内に配置される文書、画像等は横書きである。   (2) Layout B has an aspect ratio (horizontal to vertical) of 2: 1, a long side is b1, and a short side is b2. Documents, images, and the like arranged in layout B are horizontally written.

(3)レイアウトCは、アスペクト比(横対縦)が2:1、長辺がc1、短辺がc2であり、レイアウトC内に配置される文書、画像等は横書きである。   (3) The layout C has an aspect ratio (horizontal to vertical) of 2: 1, a long side of c1, and a short side of c2. Documents, images, and the like arranged in the layout C are horizontally written.

(4)レイアウトDは、アスペクト比(横対縦)が1:2、長辺がd1、短辺がd2であり、レイアウトD内に配置される文書、画像等は縦書きである。   (4) Layout D has an aspect ratio (horizontal to vertical) of 1: 2, a long side of d1, and a short side of d2. Documents, images, and the like arranged in layout D are vertically written.

(5)レイアウトEは、アスペクト比(横対縦)が1:2、長辺がe1、短辺がe2であり、レイアウトE内に配置される文書、画像等は縦書きである。   (5) The layout E has an aspect ratio (horizontal to vertical) of 1: 2, a long side of e1, and a short side of e2, and documents, images, and the like arranged in the layout E are vertically written.

(6)レイアウトFは、アスペクト比(横対縦)が1:1、一辺がfであり、レイアウトF内に配置される文書、画像等は横書きである。   (6) The layout F has an aspect ratio (horizontal to vertical) of 1: 1 and one side of f, and documents, images, and the like arranged in the layout F are horizontally written.

なお、上で述べた文書や画像等はレイアウトデータに含めず、別途、文書データや画像データといったデータ構造を持てるようにしてもよい。   Note that the document, image, and the like described above are not included in the layout data, but may have a data structure such as document data or image data.

コンテンツデータ50は、このような6つのレイアウトA〜Fをそれぞれ決めるための6つのレイアウトデータを保持している。この6つのレイアウトA〜Fは、上で述べたように、たとえば、このコンテンツデータ50の作成者が予め準備するものであり、コンテンツデータ50に含まれる文書、画像等を表示する際に用いられるレイアウトである。   The content data 50 holds six layout data for determining such six layouts A to F, respectively. As described above, the six layouts A to F are prepared in advance by the creator of the content data 50, and are used when a document, an image, or the like included in the content data 50 is displayed. It is a layout.

なお、このようなレイアウトデータは、たとえば、図10に示すように、コンテンツデータ内に書き込まれている。図10に示すコンテンツデータは、(600ピクセル,1024ピクセル)のレイアウト(縦表示2段組横書き記事用)、(800ピクセル,1366ピクセル)のレイアウト(縦表示2段組横書き記事用)、(1366ピクセル,800ピクセル)のレイアウト(横表示2段組横書き記事用)、(600ピクセル,400ピクセル)のレイアウト(横表示2段組横書き記事用)、(600ピクセル,400ピクセル)のレイアウト(横表示2段組縦書き記事用)、といった5つのレイアウトデータ(レイアウト情報)が書き込まれている。   Such layout data is written in the content data as shown in FIG. 10, for example. The content data shown in FIG. 10 includes (600 pixels, 1024 pixels) layout (for vertical display two-column horizontal writing article), (800 pixels, 1366 pixels) layout (vertical display two-column horizontal writing article), (1366) Pixel (800 pixels) layout (for horizontal display 2-column horizontal writing articles), (600 pixels, 400 pixels) layout (horizontal display 2-column horizontal writing articles), (600 pixels, 400 pixels) layout (horizontal display) Five pieces of layout data (layout information) such as two-column vertical writing articles) are written.

このようなレイアウトデータは、たとえば、コンテンツ作成者によって予め作成され、コンテンツデータ内に書き込まれることになる。当然、コンテンツ作成者は、コンテンツの内容に基づき、これら複数のレイアウトを作成し、コンテンツデータ内に書き込むことになる。   Such layout data is created in advance by the content creator and written in the content data, for example. Naturally, the content creator creates these multiple layouts based on the content and writes them in the content data.

パース部23は、このようにコンテンツデータ内に複数のレイアウトデータが含まれている場合、それらすべてのレイアウトデータを取得、解読し、レイアウトデータ記憶部24に出力する。   When the content data includes a plurality of layout data in this way, the parsing unit 23 acquires and decodes all the layout data, and outputs them to the layout data storage unit 24.

レイアウトデータ記憶部24は、パース部23によって取得、解読される行要素データを記憶する。また、レイアウトデータ記憶部24は、パース部23によって取得、解読された複数のレイアウトデータを記憶する。そのうちから、レイアウト選択装置10によって、後述するように、1つのレイアウトデータが選択される。レイアウトデータ記憶部24は、たとえば図3の例であれば、レイアウトA〜Fのいずれか1つのレイアウトを決めるためのレイアウトデータがレイアウト選択装置10によって選択されることになる。   The layout data storage unit 24 stores the row element data acquired and decoded by the parsing unit 23. The layout data storage unit 24 stores a plurality of layout data acquired and decoded by the parsing unit 23. From there, one layout data is selected by the layout selection device 10 as will be described later. In the layout data storage unit 24, for example, in the example of FIG. 3, layout data for determining any one of the layouts A to F is selected by the layout selection device 10.

なお、パース部23によって取得、解読された複数のレイアウトデータがレイアウト選択装置10に出力される場合であれば、レイアウトデータ記憶部24は、レイアウト選択装置10によって選択された1つのレイアウトデータを記憶する。レイアウトデータ記憶部24は、レイアウトA〜Fのいずれか1つのレイアウトを決めるためのレイアウトデータをレイアウト選択装置10から受け取り、それを記憶する。   If a plurality of layout data acquired and decoded by the parsing unit 23 is output to the layout selection device 10, the layout data storage unit 24 stores one layout data selected by the layout selection device 10. To do. The layout data storage unit 24 receives layout data for determining any one of the layouts A to F from the layout selection device 10 and stores it.

また、レイアウトデータ記憶部24は、たとえば、ハードディスクドライブなどの磁気ディスク装置や半導体メモリ等の公知の記憶装置から適宜選択して用いることができる。   In addition, the layout data storage unit 24 can be appropriately selected and used from, for example, a magnetic disk device such as a hard disk drive or a known storage device such as a semiconductor memory.

段組みレイアウト生成部25は、レイアウトデータ記憶部24に記憶されたレイアウトデータを用いて、指定部22によって指定された表示位置における、全体のレイアウトを示す段組みレイアウトデータを生成する。この段組みレイアウトデータでは、たとえば、2段組、フォントサイズ10dot、余白0dot、行間:標準フォントサイズの50%、文字間0dotといった設定がなされる。また、段組みレイアウトデータには、テキストデータや画像データの割付の情報も保持される。   The column layout generation unit 25 uses the layout data stored in the layout data storage unit 24 to generate column layout data indicating the entire layout at the display position specified by the specification unit 22. In this column layout data, for example, settings such as two columns, font size 10 dots, margin 0 dots, line spacing: 50% of the standard font size, and character spacing 0 dots are set. The column layout data also holds text data and image data allocation information.

また、段組みレイアウト生成部25は、イベントデータ生成部27によって生成される、動画、音声等のマルチメディアデータ、リンク移動等の各種イベント情報を、対応する行要素に割り当てる動作を行なってもよい。   In addition, the column layout generation unit 25 may perform an operation of assigning multimedia data such as moving images and sounds, and various types of event information such as link movements generated by the event data generation unit 27 to corresponding row elements. .

行レイアウト生成部26は、段組みレイアウト生成部25によって生成された段組みレイアウトを参照しつつ、パース部23によって取得、解読された行要素データを用いて、各行のレイアウトを示す行レイアウトデータを生成する。   The row layout generation unit 26 refers to the column layout generated by the column layout generation unit 25 and uses the row element data acquired and decoded by the parsing unit 23 to generate row layout data indicating the layout of each row. Generate.

段組みデータ記憶部28は、このようにして生成される段組みレイアウトデータおよび行レイアウトデータを、段組みデータとして記憶する。段組みデータ記憶部28は、たとえば、ハードディスクドライブなどの磁気ディスク装置や半導体メモリ等の公知の記憶装置から適宜選択して用いることができる。   The column data storage unit 28 stores column layout data and row layout data generated in this way as column data. For example, the column data storage unit 28 can be appropriately selected from a magnetic disk device such as a hard disk drive or a known storage device such as a semiconductor memory.

なお、段組みレイアウト生成部25は、変更部35によって、コンテンツに設定されているレイアウトデータが切り替わった場合や、ユーザーが設定を切り替えた場合などの再度情報を取得する必要がある場合には、レイアウトデータ記憶部24から新たなレイアウトデータを取得する。   Note that the column layout generation unit 25 needs to acquire information again when the changing unit 35 switches layout data set in the content or when the user switches the setting. New layout data is acquired from the layout data storage unit 24.

段組み処理部29は、段組みデータ記憶部28に記憶された段組みデータを用いて各段内に各行を配置し、段組み処理を実行する。段組み処理部29は、その段組み処理結果をレイアウト判定部30に出力する。   The column processing unit 29 arranges each row in each column using the column data stored in the column data storage unit 28, and executes column processing. The column processing unit 29 outputs the column processing result to the layout determination unit 30.

レイアウト判定部30は、現在表示している領域中のすべてのレイアウトが生成されているかどうかを判定する。レイアウトが終了されていない場合は、その旨を取得部21に通知する。取得部21は、その通知を受けて、次のブロックのコンテンツデータを取得する。この動作は、表示領域内のすべてのレイアウトが生成されるまで繰り返される。図2の例であれば、〔M−1〕、〔M〕、〔M+1〕のすべてのレイアウトが生成されるまで、すなわち、レイアウト判定部30が現在表示している領域中のすべてのレイアウトが生成されたと判定するまで、上記レイアウトの生成が繰り返される。   The layout determination unit 30 determines whether all layouts in the currently displayed area have been generated. If the layout has not been completed, the acquisition unit 21 is notified accordingly. The acquisition unit 21 receives the notification and acquires content data of the next block. This operation is repeated until all layouts in the display area are generated. In the example of FIG. 2, until all the layouts [M−1], [M], and [M + 1] are generated, that is, all layouts in the area currently displayed by the layout determination unit 30 are displayed. The generation of the layout is repeated until it is determined that it has been generated.

コンテンツ表示部31は、生成されたレイアウトに基づき、実際に文字、画像等の要素を表示する。ここで、リンクで紐付けられていたり、行要素として設定されていたりした動画、音声などのマルチメディアデータ、または、行要素として表示する必要のある画像データが存在する場合もある。その場合、コンテンツ表示部31は、データ生成部32によって生成されたデータを取得したうえで、音声・動画の再生や、画像の表示を行なう。   The content display unit 31 actually displays elements such as characters and images based on the generated layout. Here, there may be multimedia data such as moving images and sounds that are linked with links or set as row elements, or image data that needs to be displayed as row elements. In that case, the content display unit 31 obtains the data generated by the data generation unit 32 and then reproduces audio / video and displays an image.

データ生成部32は、レイアウト内で必要になった画像、音声データ等の表示再生に必要となる、各種コーデックでコーディングされたデータを再生可能な形式に変換する。具体的には、メディアデータ生成部33、画像デコード部34が、マルチメディアデータの生成、制御、画像データの表示可能なデータへの変換(デコード)を行なう。そして、データ生成部32は、その変換データをコンテンツ表示部31に対して出力する。   The data generation unit 32 converts data coded by various codecs, which is necessary for display and reproduction of images and audio data required in the layout, into a reproducible format. Specifically, the media data generation unit 33 and the image decoding unit 34 generate and control multimedia data, and convert (decode) the image data into displayable data. Then, the data generation unit 32 outputs the converted data to the content display unit 31.

(レイアウト選択装置10)
レイアウト選択装置10は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出部(検出手段)11と、複数のレイアウトの各々を用いてコンテンツを表示領域に表示させたときにおける、用いたレイアウトと表示領域との一致の度合いを表わす一致指標を、検出手段によって検出された各々の大きさおよびアスペクト比を用いて複数のレイアウト毎に算出する算出部(算出手段)12と、算出部12によって算出された複数のレイアウトの各一致指標同士を比較することによって、コンテンツを表示領域に表示させるときに、複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定部(決定手段)13とを備えている。
(Layout selection device 10)
The layout selection device 10 detects a size and an aspect ratio of a display area for displaying content and each size and aspect ratio of a plurality of layouts used when displaying the content. In addition, when the content is displayed on the display area using each of the plurality of layouts, the matching index indicating the degree of matching between the used layout and the display area is determined for each size and aspect detected by the detecting unit. When the content is displayed in the display area by comparing the calculation unit (calculation unit) 12 for each of the plurality of layouts using the ratio and the matching indexes of the plurality of layouts calculated by the calculation unit 12 And a determination unit (determination means) for determining which layout should be selected from a plurality of layouts It is equipped with a 3 and.

(検出部11)
検出部11は、コンテンツ表示部31からコンテンツを表示する表示領域の大きさおよびアスペクト比を検出する。検出部11によって検出される表示領域は、電子書籍端末1の表示画面(図示省略)全体である場合もあるし、その一部の領域である場合もある。要は、検出部11によって検出される表示領域は、取得部21によって取得されたコンテンツが、コンテンツ表示部31によって表示されるべき表示領域のことを意味する。
(Detector 11)
The detection unit 11 detects the size and aspect ratio of the display area for displaying content from the content display unit 31. The display area detected by the detection unit 11 may be the entire display screen (not shown) of the electronic book terminal 1 or may be a part of the display area. In short, the display area detected by the detection unit 11 means a display area where the content acquired by the acquisition unit 21 should be displayed by the content display unit 31.

検出部11は、たとえば図4に示す表示領域の大きさおよびアスペクト比を検出する。図4(a)は、電子書籍端末1aの表示画面60a全体が上記の表示領域の場合を示している。また、図4(b)は、電子書籍端末1aの表示画面60bのうち、その中心付近の領域61bが上記の表示領域の場合を示し、図4(c)は、電子書籍端末1cの表示画面60cのうち、その右隅付近の領域61cが上記の表示領域の場合を示している。   For example, the detection unit 11 detects the size and aspect ratio of the display area shown in FIG. FIG. 4A shows a case where the entire display screen 60a of the electronic book terminal 1a is the above display area. 4B shows a case where the area 61b near the center of the display screen 60b of the electronic book terminal 1a is the above display area, and FIG. 4C shows the display screen of the electronic book terminal 1c. A region 61c in the vicinity of the right corner of 60c shows the display region described above.

各電子書籍端末1a〜1cは、たとえば、以下のような表示領域を持っている。   Each electronic book terminal 1a-1c has the following display areas, for example.

(1)電子書籍端末1aの表示領域(表示画面)60aは、アスペクト比(縦対横)が2:1、長辺がA1、短辺がA2である。なお、表示領域60a内に配置される文書、画像等は横書き、縦書きのいずれであってもよい。ただし、横書き、縦書きのいずれか一方に初期設定されるのが一般的である。   (1) The display area (display screen) 60a of the electronic book terminal 1a has an aspect ratio (vertical to horizontal) of 2: 1, a long side of A1, and a short side of A2. Note that documents, images, and the like arranged in the display area 60a may be written horizontally or vertically. However, the initial setting is generally either horizontal writing or vertical writing.

(2)電子書籍端末1bは、アスペクト比(縦対横)が2:1、長辺がB1、短辺がB2である。なお、表示領域61b内に配置される文書、画像等は横書き、縦書きのいずれであってもよい。ただし、横書き、縦書きのいずれか一方に初期設定されるのが一般的である。   (2) The electronic book terminal 1b has an aspect ratio (vertical to horizontal) of 2: 1, a long side is B1, and a short side is B2. Note that documents, images, and the like arranged in the display area 61b may be written horizontally or vertically. However, the initial setting is generally either horizontal writing or vertical writing.

(3)電子書籍端末1cは、アスペクト比(縦対横)が1:2、長辺がC1、短辺がC2である。なお、表示領域61c内に配置される文書、画像等は横書き、縦書きのいずれであってもよい。ただし、横書き、縦書きのいずれか一方に初期設定されるのが一般的である。   (3) The electronic book terminal 1c has an aspect ratio (vertical to horizontal) of 1: 2, a long side of C1, and a short side of C2. Note that documents, images, and the like arranged in the display area 61c may be written horizontally or vertically. However, the initial setting is generally either horizontal writing or vertical writing.

また、検出部11は、レイアウトデータ記憶部24から、パース部23によって取得、解読された複数のレイアウトデータを読み取ると、各レイアウトデータの大きさおよびアスペクト比を検出する。たとえば図3の場合であれば、上で述べたような6つのレイアウトA〜Fの各大きさおよびアスペクト比を検出する。なお、検出部11は、各レイアウトの大きさおよびアスペクト比に加えて、各レイアウトが横書きなのか、縦書きなのかについても、各レイアウトから検出するようにしてもよい。   Further, when the plurality of layout data obtained and decoded by the parsing unit 23 is read from the layout data storage unit 24, the detection unit 11 detects the size and aspect ratio of each layout data. For example, in the case of FIG. 3, the sizes and aspect ratios of the six layouts A to F as described above are detected. In addition to the size and aspect ratio of each layout, the detection unit 11 may detect whether each layout is horizontal writing or vertical writing from each layout.

(算出部12)
算出部12は、検出部11によって検出された、表示領域の大きさおよびアスペクト比と、複数のレイアウトの各大きさおよびアスペクト比とを、検出部11から受け取る。算出部12は、各レイアウトに関し、各レイアウトを用いてコンテンツを表示領域に表示させたときにおける、各レイアウトと表示領域との一致の度合い、すなわち、上述した一致指標を算出する。
(Calculation unit 12)
The calculation unit 12 receives the size and aspect ratio of the display area and the sizes and aspect ratios of the plurality of layouts detected by the detection unit 11 from the detection unit 11. For each layout, the calculation unit 12 calculates the degree of matching between each layout and the display area when the content is displayed on the display area using each layout, that is, the above-described matching index.

算出部12は、たとえば、図4(a)の表示領域60aの大きさおよびアスペクト比と、図4のレイアウトA〜Fの各大きさおよびアスペクト比と、を受け取ると、図5に示すよう、表示領域60aに各レイアウトA〜Fを用いてコンテンツを表示させたとき、各レイアウトと表示領域との一致の度合いを表わす一致指標を算出する。   For example, when the calculation unit 12 receives the size and aspect ratio of the display area 60a in FIG. 4A and the sizes and aspect ratios of the layouts A to F in FIG. 4, as illustrated in FIG. When content is displayed on the display area 60a using the layouts A to F, a coincidence index representing the degree of coincidence between each layout and the display area is calculated.

算出部12は、後述する拡縮率およびアスペクト比差分を算出するために、拡縮率を複数のレイアウト毎に設定する拡縮率設定部(拡縮率設定手段)14と、アスペクト比差分を複数のレイアウト毎に設定するアスペクト比差分設定部(アスペクト比差分設定手段)15とを有している。   The calculation unit 12 calculates an enlargement / reduction ratio and an aspect ratio difference, which will be described later, and an enlargement / reduction ratio setting unit (enlargement / reduction ratio setting unit) 14 that sets the enlargement / reduction ratio for each of a plurality of layouts. The aspect ratio difference setting unit (aspect ratio difference setting means) 15 is set.

(拡縮率設定部14およびアスペクト比差分設定部15)
上で述べた一致指標は、次の2つの指標を用いことができる。
(Enlargement / reduction ratio setting unit 14 and aspect ratio difference setting unit 15)
The following two indices can be used as the coincidence index described above.

(1)拡大率および縮小率(以下、単に「拡縮率」と呼ぶ。)
(2)アスペクト比差分
先ず、図6を用いて拡縮率について説明する。図6は、図4(a)の表示領域60aに図3のレイアウトDを用いてコンテンツを表示させる場合を示している。
(1) Enlargement ratio and reduction ratio (hereinafter simply referred to as “enlargement / reduction ratio”)
(2) Aspect Ratio Difference First, the scaling ratio will be described with reference to FIG. FIG. 6 shows a case where content is displayed in the display area 60a of FIG. 4A using the layout D of FIG.

図6(a)に示すように、レイアウトDを用いた場合、レイアウトDは表示領域60aよりも大きさが小さいため、レイアウトDの拡大処理が必要である。そこで、図6(b)に示すように、レイアウトDの拡大処理を行なえばよい。ただし、この拡大処理は、レイアウトDのアスペクト比を維持しつつ、実行する。   As shown in FIG. 6A, when the layout D is used, the layout D is smaller than the display area 60a, so that the layout D needs to be enlarged. Therefore, the layout D may be enlarged as shown in FIG. However, this enlargement process is executed while maintaining the aspect ratio of the layout D.

したがって、図6(c)に示すように、レイアウトDの長辺d1が表示領域60aの短辺A2と一致するまで、この拡大処理を実行すればよい。   Therefore, as shown in FIG. 6C, this enlargement process may be executed until the long side d1 of the layout D coincides with the short side A2 of the display area 60a.

この場合、上記の拡縮率は、レイアウトDの長辺d1が表示領域60aの短辺A2と一致したときにおける、レイアウトDの長辺d1の拡大前後における長さの比となる。つまり、図6の場合であれば、拡縮率は「A2の長さ/d1の長さ」となる。このような場合を「長辺一致(フィット)」という。   In this case, the enlargement / reduction ratio is the ratio of the length before and after the enlargement of the long side d1 of the layout D when the long side d1 of the layout D coincides with the short side A2 of the display region 60a. That is, in the case of FIG. 6, the enlargement / reduction ratio is “length of A2 / length of d1”. Such a case is referred to as “long side match (fit)”.

もちろん、他のレイアウトでは、各レイアウトの短辺が表示領域60aの短辺と一致するまで拡大させる場合もある。このような場合を「短辺一致(フィット)」という。   Of course, in other layouts, the layout may be enlarged until the short side of each layout matches the short side of the display area 60a. Such a case is called “short side match (fit)”.

さらに、図6では、レイアウトが表示領域60aよりも小さい場合を用いて説明しているが、レイアウトが表示領域60aよりも大きい場合もあることはもちろんである。この場合、レイアウトの縮小処理が必要となり、その縮小処理において、各レイアウトの短辺が表示領域60aの短辺と一致するまで縮小すればよい。   Furthermore, although the case where the layout is smaller than the display area 60a is described in FIG. 6, it is needless to say that the layout may be larger than the display area 60a. In this case, layout reduction processing is required, and in the reduction processing, the layout may be reduced until the short side of each layout coincides with the short side of the display area 60a.

この縮小処理を行なった場合でも、上記と同様、拡縮率は、レイアウトの長辺および短辺のいずれかが表示領域60aの長辺および短辺のいずれかと一致したときにおける、レイアウトのその一致した辺の縮小前後における長さの比となる。   Even when this reduction process is performed, the enlargement / reduction ratio is the same as that of the layout when either the long side or the short side of the layout matches the long side or the short side of the display region 60a. It is the ratio of the length before and after the reduction of the side.

すなわち、拡縮率は、各レイアウトの大きさを構成する長辺および短辺のうち、各レイアウトを表示領域60aの内部に納まるようにしつつ、各レイアウトを拡大縮小したときにおける、表示領域60aの大きさを構成する長辺および短辺のいずれかと一致する辺である一致辺を特定し、その特定された一致辺についての拡大縮小前の長さに対する拡大縮小後の長さの比である。   That is, the enlargement / reduction ratio is the size of the display area 60a when the respective layouts are enlarged / reduced while the layouts are accommodated in the display area 60a among the long sides and the short sides constituting the size of each layout. This is the ratio of the length after enlargement / reduction to the length before enlargement / reduction for the specified coincidence side, with the coincidence side being the side that coincides with either the long side or the short side constituting the height.

(拡縮率決定手順)
ここで、拡縮率決定手順を説明する。ここでは、表示領域の長辺がA1、短辺がA2であり、レイアウトの長辺がB1、短辺がB2である場合を例とする。
(Expansion / reduction ratio determination procedure)
Here, the procedure for determining the enlargement / reduction ratio will be described. Here, the case where the long side of the display area is A1, the short side is A2, the long side of the layout is B1, and the short side is B2 is taken as an example.

レイアウトに関し、上述したような長辺フィットおよび短辺フィットを、それぞれ、実行する。その際、長辺フィット時の拡縮率と短辺フィット時の拡縮率との比較を行なう。表示領域のA1およびA2と、レイアウトのB1およびB2との大小関係によって、以下の(1)〜(5)のいずれかの処理を行なう。   With respect to the layout, the long side fit and the short side fit as described above are respectively performed. In that case, the expansion / contraction rate at the time of long side fitting is compared with the expansion / contraction rate at the time of short side fitting. Depending on the magnitude relationship between A1 and A2 in the display area and B1 and B2 in the layout, one of the following processes (1) to (5) is performed.

(1)表示領域のA1、A2ともに、レイアウトのB1、B2よりも小さい場合、長辺、短辺ともに縮小する。この場合、レイアウトのB1を表示領域に納めるために、長辺フィット時の縮小率を選択する。長辺、短辺フィット時の縮小率を比較すると、長辺フィット時の縮小率の方が大きくなるが、長辺フィット時の縮小率を選択する。   (1) If both A1 and A2 in the display area are smaller than B1 and B2 in the layout, both the long side and the short side are reduced. In this case, in order to fit B1 of the layout in the display area, a reduction ratio at the time of long side fitting is selected. When the reduction ratios at the long side fit and the short side fit are compared, the reduction ratio at the long side fit becomes larger, but the reduction ratio at the long side fit is selected.

(2)表示領域のA1、A2ともに、レイアウトのB1、B2よりも大きい場合、長辺、短辺ともに拡大する。この場合、レイアウトのB1を表示領域に納めるため、長辺フィット時の拡大率を選択する。なお、長辺、短辺フィット時の拡大率を比較すると、長辺フィット時の拡大率が小さくなる。よって、長辺フィット時の拡大率を選択することになる。   (2) When both A1 and A2 in the display area are larger than B1 and B2 in the layout, both the long side and the short side are enlarged. In this case, in order to fit B1 of the layout in the display area, an enlargement ratio at the time of long side fitting is selected. In addition, if the enlargement ratio at the time of long side fit is compared with the long side, the enlargement ratio at the time of long side fit becomes small. Therefore, the enlargement ratio at the time of long side fitting is selected.

(3)表示領域のA1よりもレイアウトのB1が大きく、表示領域のA2よりもレイアウト領域のB2が小さい場合、レイアウトのB1を表示領域に納めるため、長辺フィット時の縮小率を選択する。   (3) When B1 of the layout is larger than A1 of the display area and B2 of the layout area is smaller than A2 of the display area, a reduction ratio at the time of long-side fitting is selected to fit B1 of the layout in the display area.

(4)表示領域のA1よりもレイアウトのB2が小さく、表示領域のA2よりもレイアウトのB1が大きい場合、レイアウト領域B1を表示領域に納めるため、長辺フィット時の縮小率を選択する。   (4) When B2 of the layout is smaller than A1 of the display area and B1 of the layout is larger than A2 of the display area, the reduction ratio at the time of long-side fitting is selected in order to fit the layout area B1 in the display area.

(5)表示領域のA1よりもレイアウトのB1が小さく、表示領域のA2よりもレイアウトのB2が大きい場合、レイアウトのB1を表示領域に納めるために、短辺フィット時の縮小率を選択する。   (5) When the layout B1 is smaller than the display area A1 and the layout B2 is larger than the display area A2, the reduction ratio at the time of short-side fitting is selected in order to fit the layout B1 in the display area.

このようにして、レイアウト毎に決定した拡縮率を比較し、最も小さい拡縮率を決定する。これにより、コンテンツデータで最も小さい拡縮率を持つレイアウトを選択することができる。   In this way, the scaling ratio determined for each layout is compared, and the smallest scaling ratio is determined. As a result, the layout having the smallest enlargement / reduction ratio in the content data can be selected.

なお、縮小率は、実際には、その逆数によって、拡大率と比較しなければならない。たとえば、表示領域が100:100、レイアウトAが50:50、レイアウトBが200:200の場合、レイアウトAの拡大率は200%となる。一方、レイアウトBは、その縮小率が50%となる。ここで、このまま、この拡大率と縮小率とを比較すると、常に縮小率が選択されることになる。よって、縮小率が計算された場合には、逆数をとり、その逆数と拡大率と比較する必要がある。この場合、上で述べたレイアウトBの縮小率は200となる。   In practice, the reduction ratio must be compared with the enlargement ratio by its reciprocal. For example, when the display area is 100: 100, layout A is 50:50, and layout B is 200: 200, the enlargement ratio of layout A is 200%. On the other hand, layout B has a reduction rate of 50%. Here, if the enlargement ratio and the reduction ratio are compared as they are, the reduction ratio is always selected. Therefore, when the reduction ratio is calculated, it is necessary to take the reciprocal and compare the reciprocal with the enlargement ratio. In this case, the reduction ratio of the layout B described above is 200.

次に、図7を用いてアスペクト比差分について説明する。図7は、図6と同様、図4(a)の表示領域60aに図3のレイアウトDを用いてコンテンツを表示させる場合を示している。   Next, the aspect ratio difference will be described with reference to FIG. FIG. 7 shows a case where content is displayed using the layout D of FIG. 3 in the display area 60a of FIG.

図7に示すように、レイアウトDのアスペクト比(横対縦)は「1:2」、表示領域60aのアスペクト比(横対縦)は「2:1」となっている。ここで、たとえば、縦を「1」とすれば、レイアウトDのアスペクト比は「0.5」、表示領域60aのアスペクト比は「2」となる。つまり、縦を「1」とする各アスペクト比の換算値が、上記の「0.5」と「2」となる。   As shown in FIG. 7, the aspect ratio (horizontal to vertical) of the layout D is “1: 2”, and the aspect ratio (horizontal to vertical) of the display area 60a is “2: 1”. For example, if the vertical length is “1”, the aspect ratio of the layout D is “0.5”, and the aspect ratio of the display area 60a is “2”. That is, the converted values of the aspect ratios with the vertical length being “1” are the above “0.5” and “2”.

アスペクト比差分は、このような換算値同士の差分である。通常、整数比で表わされるアスペクト比をこのような換算を行なうことによって、両者の差分を容易に算出することが可能となる。   The aspect ratio difference is a difference between such converted values. Usually, by converting the aspect ratio represented by an integer ratio in this way, the difference between the two can be easily calculated.

ここでは、縦を「1」とする換算を行なったが、もちろん、横を「1」とする換算を行なっても構わない。要は、表示領域60a、各レイアウトのいずれの換算を行なう場合にも、「1」にする方向(縦または横)が同一であればよい。   Here, the conversion with the vertical length set to “1” is performed, but of course, the conversion may be performed with the horizontal length set to “1”. In short, it is sufficient that the direction (vertical or horizontal) to be “1” is the same regardless of which of the display area 60a and each layout is converted.

すなわち、アスペクト比差分は、表示領域60aおよび各レイアウトの各アスペクト比が表わす横と縦との比から、横と縦のうちのいずれか一方を1とする数値である換算値に換算し、表示領域60aのアスペクト比の換算値と、各レイアウトの換算値との差分である。   That is, the aspect ratio difference is converted from the horizontal / vertical ratio represented by each aspect ratio of the display area 60a and each layout into a converted value that is a value in which either horizontal or vertical is 1. This is the difference between the converted value of the aspect ratio of the area 60a and the converted value of each layout.

このようにして、算出部12は、拡縮率設定部14を用いて拡縮率を複数のレイアウト毎に設定すると共に、アスペクト比差分設定部15を用いてアスペクト比差分を複数のレイアウト毎に設定する。   In this way, the calculation unit 12 sets the enlargement / reduction ratio for each of the plurality of layouts using the enlargement / reduction ratio setting unit 14, and sets the aspect ratio difference for each of the plurality of layouts using the aspect ratio difference setting unit 15. .

(決定部13)
決定部13は、算出部12が拡縮率設定部(拡縮率設定手段)14およびアスペクト比差分設定部15を用いて複数のレイアウト毎に設定された拡縮率およびアスペクト比差分を受け取ると、各拡縮率同士、各アスペクト比差分同士を比較する。決定部13は、その比較結果を用いて、コンテンツを表示領域に表示する際に選択すべきレイアウトを、複数のレイアウトのうちから決定する。
(Determining unit 13)
When the calculation unit 12 receives the enlargement / reduction ratio and aspect ratio difference set for each of the plurality of layouts using the enlargement / reduction ratio setting unit (enlargement / reduction ratio setting unit) 14 and the aspect ratio difference setting unit 15, the determination unit 13 The ratios and the aspect ratio differences are compared. Using the comparison result, the determination unit 13 determines a layout to be selected when displaying the content in the display area from a plurality of layouts.

決定部13は、各レイアウトの拡縮率同士を比較する拡縮率抽出部(拡縮率抽出手段)16と、各レイアウトのアスペクト比差分同士を比較するアスペクト比差分抽出部(アスペクト比差分抽出手段)17と、を有している。   The determination unit 13 includes an enlargement / reduction rate extraction unit (enlargement / reduction rate extraction unit) 16 that compares the enlargement / reduction rates of the layouts, and an aspect ratio difference extraction unit (aspect ratio difference extraction unit) 17 that compares the aspect ratio differences of the layouts. And have.

(拡縮率抽出部16およびアスペクト比差分抽出部17)
一致指標は、拡縮率とアスペクト比差分とを含んでいる。このため、決定部13は、上述したように、各レイアウトの拡縮率同士を比較する拡縮率抽出部16と、各レイアウトのアスペクト比差分同士を比較するアスペクト比差分抽出部17と、を有している。
(Expansion / reduction ratio extraction unit 16 and aspect ratio difference extraction unit 17)
The coincidence index includes a scaling ratio and an aspect ratio difference. For this reason, as described above, the determination unit 13 includes the enlargement / reduction rate extraction unit 16 that compares the enlargement / reduction rates of the layouts and the aspect ratio difference extraction unit 17 that compares the aspect ratio differences of the layouts. ing.

拡縮率抽出部16は、各レイアウトに設定された拡縮率同士を比較する際、先ず、上で述べた一致辺が拡大縮小前後において等しいときの比を基準値として設定する。一致辺が拡大縮小前後で等しいことから、その基準値と等しい拡縮率を持つレイアウトは、拡大処理も縮小処理も不要となる。   When comparing the enlargement / reduction ratios set for the respective layouts, the enlargement / reduction ratio extraction unit 16 first sets a ratio when the above-described coincidence sides are equal before and after enlargement / reduction as a reference value. Since the coincident side is the same before and after enlargement / reduction, a layout having an enlargement / reduction ratio equal to the reference value does not require enlargement / reduction processing.

すなわち、拡縮率がこの基準値に一致するレイアウトを用いれば、その大きさを拡大処理、縮小処理する必要はなく、コンテンツをそのレイアウトで表示領域に表示することができる。もちろん、拡縮率が一致しなくても、この基準値に近ければ近いほど、元のレイアウトに近いレイアウトでコンテンツを表示することができることはいうまでもない。   That is, if a layout whose enlargement / reduction ratio matches this reference value is used, it is not necessary to enlarge or reduce the size, and the content can be displayed in the display area in the layout. Of course, even if the enlargement / reduction ratios do not match, it is needless to say that the closer to the reference value, the more the content can be displayed in the layout closer to the original layout.

拡縮率抽出部16は、各レイアウトに設定された拡縮率を受け取ると、このような基準値を設定し、各レイアウトの拡縮率のうち、基準値と一致する拡縮率を抽出する。拡縮率抽出部16は、各レイアウトの拡縮率の中に基準値と一致する拡縮率がなければ、基準値に最も近い拡縮率を抽出する。   When receiving the enlargement / reduction ratio set for each layout, the enlargement / reduction ratio extraction unit 16 sets such a reference value, and extracts the enlargement / reduction ratio that matches the reference value from the enlargement / reduction ratio of each layout. The enlargement / reduction ratio extraction unit 16 extracts the enlargement / reduction ratio closest to the reference value if there is no enlargement / reduction ratio that matches the reference value in the enlargement / reduction ratio of each layout.

アスペクト比差分抽出部17は、各レイアウトに設定されたアスペクト比差分を受け取ると、各レイアウトのアスペクト比差分のうち、最も小さいアスペクト比差分を抽出する。   When the aspect ratio difference extraction unit 17 receives the aspect ratio difference set for each layout, the aspect ratio difference extraction unit 17 extracts the smallest aspect ratio difference among the aspect ratio differences of each layout.

アスペクト比差分が小さければ小さいほど、レイアウトのアスペクト比と表示領域のアスペクト比とは近いといえる。もちろん、アスペクト比差分がゼロの場合、レイアウトと表示領域とはアスペクト比が一致する。   The smaller the aspect ratio difference, the closer the layout aspect ratio and the display area aspect ratio are. Of course, if the aspect ratio difference is zero, the layout and the display area have the same aspect ratio.

したがって、アスペクト比差分が最も小さいレイアウトを用いることによって、元のレイアウトに近いレイアウトでコンテンツを表示領域に表示することができる。   Therefore, by using the layout having the smallest aspect ratio difference, the content can be displayed in the display area with a layout close to the original layout.

アスペクト比差分抽出部17は、各レイアウトに設定されたアスペクト比差分を受け取ると、各レイアウトのアスペクト比差分のうち、最も小さいアスペクト比差分を抽出する。   When the aspect ratio difference extraction unit 17 receives the aspect ratio difference set for each layout, the aspect ratio difference extraction unit 17 extracts the smallest aspect ratio difference among the aspect ratio differences of each layout.

このようにして、決定部13は、拡縮率抽出部16を用いて各レイアウトの拡縮率のうちから基準値に一致する拡縮率、または、基準値に最も近い拡縮率を抽出すると共に、アスペクト比差分抽出部17を用いて各レイアウトのアスペクト比差分のうちから最も小さいアスペクト比差分を抽出する。   In this way, the determination unit 13 uses the enlargement / reduction rate extraction unit 16 to extract the enlargement / reduction rate that matches the reference value or the enlargement / reduction rate closest to the reference value from the enlargement / reduction rate of each layout, and the aspect ratio. The difference extraction unit 17 is used to extract the smallest aspect ratio difference from the aspect ratio differences of each layout.

そして、決定部13は、拡縮率抽出部16によって抽出された拡縮率と、アスペクト比差分抽出部17によって抽出されたアスペクト比差分とを用いて、複数のレイアウトからいずれのレイアウトを選択するべきかを決定する。決定部13が、拡縮率抽出部16の抽出結果と、アスペクト比差分抽出部17の抽出結果とを、どのようにして用い、1つのレイアウトを決定するかについては、以下の(レイアウト選択装置10の動作)で説明する。   Then, the determination unit 13 should select which layout from a plurality of layouts using the enlargement / reduction rate extracted by the enlargement / reduction rate extraction unit 16 and the aspect ratio difference extracted by the aspect ratio difference extraction unit 17. To decide. The determination unit 13 uses the extraction result of the enlargement / reduction ratio extraction unit 16 and the extraction result of the aspect ratio difference extraction unit 17 to determine one layout as described below (the layout selection device 10). The operation will be described below.

(レイアウト選択装置10の動作)
次に、レイアウト選択装置10の動作について説明する。
(Operation of Layout Selection Device 10)
Next, the operation of the layout selection device 10 will be described.

上述したように、一致指標は、拡縮率と、アスペクト比差分とを、用いことができる。このため、レイアウト選択装置10には、たとえば、ユーザーからの指示に基づき、拡縮率とアスペクト比差分のうち、いずれを優先し、レイアウトを選択するかが設定される。   As described above, the coincidence index can use the scaling ratio and the aspect ratio difference. For this reason, in the layout selection device 10, for example, which of the enlargement / reduction ratio and the aspect ratio difference has priority is selected based on an instruction from the user.

なお、ユーザーからの指示に代えて、コンテンツデータ内に予め規定して、コンテンツデータからの指示に基づき、いずれかを優先するようにしてもよい。あるいは、電子書籍端末1に予め規定して、電子書籍端末1からの指示に基づき、いずれかを優先するようにしてもよい。   Instead of the instruction from the user, it may be specified in advance in the content data, and either one may be prioritized based on the instruction from the content data. Or you may make it prescribe | regulate beforehand in the electronic book terminal 1 and give priority to either based on the instruction | indication from the electronic book terminal 1. FIG.

以下では、先ず、アスペクト比差分を優先する場合を説明し、次に、拡縮率を優先する場合を説明する。   Below, the case where priority is given to the aspect ratio difference will be described first, and then the case where priority will be given to the scaling ratio will be described.

(アスペクト比差分を優先)
図8は、アスペクト比差分を優先したときのレイアウト選択装置10の動作を示すフローチャートである。
(Aspect ratio difference has priority)
FIG. 8 is a flowchart showing the operation of the layout selection apparatus 10 when priority is given to the aspect ratio difference.

図8において、先ず、検出部11は、コンテンツ表示部31からコンテンツを表示する表示領域の大きさおよびアスペクト比を検出する。また、検出部11は、表示領域の大きさおよびアスペクト比を検出する(ステップS101)。   In FIG. 8, first, the detection unit 11 detects the size and aspect ratio of a display area for displaying content from the content display unit 31. In addition, the detection unit 11 detects the size and aspect ratio of the display area (step S101).

次に、算出部12は、検出部11の検出結果を受け取ると、拡縮率設定部14を用いて拡縮率を複数のレイアウト毎に設定すると共に、アスペクト比差分設定部15を用いてアスペクト比差分を複数のレイアウト毎に設定する(ステップS102)。本ステップS102での拡縮率設定部14およびアスペクト比差分設定部15の各々の動作については、上述したので、ここでは説明を繰り返さない。   Next, upon receiving the detection result of the detection unit 11, the calculation unit 12 sets the enlargement / reduction ratio for each of the plurality of layouts using the enlargement / reduction ratio setting unit 14, and uses the aspect ratio difference setting unit 15 to change the aspect ratio difference. Is set for each of a plurality of layouts (step S102). Since the operations of the enlargement / reduction ratio setting unit 14 and the aspect ratio difference setting unit 15 in step S102 have been described above, description thereof will not be repeated here.

次に、決定部13は、複数のレイアウト毎に設定された拡縮率およびアスペクト比差分を受け取ると、アスペクト比差分抽出部17を用いて、各レイアウトのアスペクト比差分のうち、ゼロであるアスペクト比差分の有無を判断する(ステップS103)。   Next, when receiving the enlargement / reduction ratio and aspect ratio difference set for each of the plurality of layouts, the determination unit 13 uses the aspect ratio difference extraction unit 17 to select an aspect ratio that is zero among the aspect ratio differences of each layout. It is determined whether or not there is a difference (step S103).

ゼロであるアスペクト比差分が有り(ステップS103YES)、かつ、そのゼロであるアスペクト比差分が1つであれば(ステップS104NO)、決定部13は、そのアスペクト比差分を持つレイアウトを選択すべきレイアウトに決定し(ステップS105)、レイアウト選択装置10の動作が終了する。   If there is an aspect ratio difference that is zero (step S103 YES) and there is one aspect ratio difference that is zero (step S104 NO), the determination unit 13 should select a layout that has the aspect ratio difference. (Step S105), and the operation of the layout selecting apparatus 10 is finished.

一方、上記のステップS104においてゼロであるアスペクト比差分が複数有れば(ステップS104YES)、優先対象をアスペクト比差分から拡縮率に変更し、後述するステップS106に進む。本ステップS104においてゼロであるアスペクト比差分が複数有る場合、それらのアスペクト比差分を持つレイアウトを第1のレイアウトグループとして分類する。   On the other hand, if there are a plurality of aspect ratio differences that are zero in step S104 (YES in step S104), the priority object is changed from the aspect ratio difference to the enlargement / reduction ratio, and the process proceeds to step S106 described later. If there are a plurality of aspect ratio differences that are zero in this step S104, the layouts having these aspect ratio differences are classified as the first layout group.

上記のステップS103においてゼロであるアスペクト比差分が無ければ(ステップS103NO)、決定部13は、アスペクト比差分抽出部17を用いて、今度は、各レイアウトのアスペクト比差分のうち、ゼロに最も近いアスペクト比差分を抽出する(ステップS107)。   If there is no aspect ratio difference that is zero in step S103 (NO in step S103), the determination unit 13 uses the aspect ratio difference extraction unit 17 and this time, the aspect ratio difference of each layout is closest to zero. An aspect ratio difference is extracted (step S107).

ゼロに最も近いアスペクト比差分が1つであれば(ステップS108NO)、決定部13は、そのアスペクト比差分を持つレイアウトを選択すべきレイアウトに決定し(ステップS105)、レイアウト選択装置10の動作が終了する。   If there is one aspect ratio difference closest to zero (NO in step S108), the determination unit 13 determines a layout having the aspect ratio difference as a layout to be selected (step S105), and the operation of the layout selection device 10 is performed. finish.

一方、上記のステップS108においてゼロに最も近いアスペクト比差分が複数有れば(ステップS108YES)、優先対象をアスペクト比差分から拡縮率に変更し、後述するステップS106に進む。本ステップS108においてゼロに最も近いアスペクト比差分が複数有る場合、それらのアスペクト比差分を持つレイアウトを上記の第1のレイアウトグループとして分類する。   On the other hand, if there are a plurality of aspect ratio differences closest to zero in step S108 (YES in step S108), the priority target is changed from the aspect ratio difference to the enlargement / reduction ratio, and the process proceeds to step S106 described later. If there are a plurality of aspect ratio differences closest to zero in step S108, layouts having these aspect ratio differences are classified as the first layout group.

決定部13は、拡縮率抽出部16を用いて、上記の第1のレイアウトグループに含まれる各レイアウトの拡縮率のうち、基準値に一致する拡縮率の有無を判断する(ステップS106)。   The determination unit 13 uses the enlargement / reduction rate extraction unit 16 to determine whether or not there is an enlargement / reduction rate that matches the reference value among the enlargement / reduction rates of the layouts included in the first layout group (step S106).

基準値に一致する拡縮率が有り(ステップS106YES)、かつ、その基準値に一致する拡縮率が1つであれば(ステップS109NO)、決定部13は、その拡縮率を持つレイアウトを選択すべきレイアウトに決定し(ステップS110)、レイアウト選択装置10の動作が終了する。   If there is an enlargement / reduction ratio that matches the reference value (YES in step S106) and there is one enlargement / reduction ratio that matches the reference value (NO in step S109), the determination unit 13 should select a layout having the enlargement / reduction ratio. The layout is determined (step S110), and the operation of the layout selection device 10 is completed.

一方、上記のステップS109において基準値に一致する拡縮率が複数有れば(ステップS109YES)、後述するステップS111に進む。本ステップS109において基準値に一致する拡縮率が複数有る場合、それらの拡縮率を持つレイアウトを第2のレイアウトグループとして分類する。   On the other hand, if there are a plurality of enlargement / reduction ratios that match the reference value in step S109 (YES in step S109), the process proceeds to step S111 described later. If there are a plurality of enlargement / reduction ratios that match the reference value in step S109, the layouts having these enlargement / reduction ratios are classified as the second layout group.

上記のステップS106において基準値に一致する拡縮率が無ければ(ステップS106NO)、決定部13は、拡縮率抽出部16を用いて、今度は、各レイアウトの拡縮率のうち、基準値に最も近い拡縮率を抽出する(ステップS112)。   If there is no enlargement / reduction rate that matches the reference value in step S106 (NO in step S106), the determination unit 13 uses the enlargement / reduction rate extraction unit 16 and this time is closest to the reference value among the enlargement / reduction rates of each layout. An enlargement / reduction ratio is extracted (step S112).

基準値に最も近い拡縮率が1つであれば(ステップS113NO)、決定部13は、その拡縮率を持つレイアウトを選択すべきレイアウトに決定し(ステップS110)、レイアウト選択装置10の動作が終了する。   If there is one enlargement / reduction ratio closest to the reference value (NO in step S113), the determination unit 13 determines a layout having the enlargement / reduction ratio as a layout to be selected (step S110), and the operation of the layout selection device 10 ends. To do.

一方、上記のステップS113において基準値に最も近い拡縮率が複数有れば(ステップS113YES)、後述するステップS111に進む。本ステップS113において基準値に最も近い拡縮率が複数有る場合、それらの拡縮率を持つレイアウトを第2のレイアウトグループとして分類する。   On the other hand, if there are a plurality of enlargement / reduction ratios closest to the reference value in step S113 (YES in step S113), the process proceeds to step S111 described later. If there are a plurality of enlargement / reduction ratios closest to the reference value in step S113, the layout having these enlargement / reduction ratios is classified as the second layout group.

第2のレイアウトグループに複数のレイアウトが含まれる場合、決定部13は、それらのレイアウトのうち、ユーザーからの指示に基づく横書き、または、縦書きのレイアウトいずれか1つを選択すべきレイアウトに決定する(ステップS111)。   When a plurality of layouts are included in the second layout group, the determination unit 13 determines the layout to be selected from either horizontal writing or vertical writing based on an instruction from the user among the layouts. (Step S111).

なお、本ステップS111において、レイアウトデータに縦書き、または、横書きが設定されている場合は、ユーザーからの指示よりも、レイアウトデータの設定が優先されることになる。   In this step S111, when vertical writing or horizontal writing is set in the layout data, the setting of the layout data has priority over the instruction from the user.

具体的には、先ず、レイアウトデータに縦書き、または、横書きの設定が省略されていれば、上述した表示領域の初期設定を読み込み、その初期設定に従い、縦書き、または、横書きの表示を行なう。もちろん、この場合、電子書籍端末1側からの設定変更は可能である。   Specifically, first, if the vertical writing or horizontal writing setting is omitted in the layout data, the initial setting of the display area described above is read, and vertical writing or horizontal writing is displayed according to the initial setting. . Of course, in this case, the setting can be changed from the electronic book terminal 1 side.

また、レイアウトデータの設定と表示領域の初期設定とが異なる場合、レイアウトデータの設定に従い、表示領域の設定が変更されることになる。この場合、電子書籍端末1側からの設定変更は不可となる。   If the layout data setting and the display area initial setting are different, the display area setting is changed according to the layout data setting. In this case, setting change from the electronic book terminal 1 side is impossible.

さらに、縦書きと横書きの2つのレイアウトデータが存在した場合、表示領域の初期設定に従い、縦書き、または、横書きの表示を行なう。この場合、電子書籍端末1側からの設定変更は可能である。   Further, when there are two layout data of vertical writing and horizontal writing, vertical writing or horizontal writing is displayed according to the initial setting of the display area. In this case, setting change from the electronic book terminal 1 side is possible.

なお、このような縦書きと横書きとの設定の比較処理を行っても、複数のレイアウトデータが残る場合、第3のレイアウトグループが分類される。この場合、たとえば、第3のレイアウトグループから、上で述べた拡縮率のうち縮小率が設定されたレイアウトデータを選択すればよい。   Note that if a plurality of layout data remain even after performing the vertical writing and horizontal writing comparison processing, the third layout group is classified. In this case, for example, layout data in which the reduction ratio is set among the above-described enlargement / reduction ratios may be selected from the third layout group.

また、第3のレイアウトグループで拡縮率のうち縮小率まで同じレイアウトが複数あった場合は、それらのうちから任意の1つを選択するようにすればよい。   Further, when there are a plurality of the same layouts up to the reduction ratio among the enlargement / reduction ratios in the third layout group, any one of them may be selected.

このようにして、レイアウト選択装置10の動作が終了する。   In this way, the operation of the layout selection device 10 is completed.

(拡縮率を優先)
図9は、拡縮率を優先したときのレイアウト選択装置10の動作を示すフローチャートである。
(Expansion / contraction ratio has priority)
FIG. 9 is a flowchart showing the operation of the layout selection device 10 when priority is given to the enlargement / reduction ratio.

図9において、先ず、検出部11は、コンテンツ表示部31からコンテンツを表示する表示領域の大きさおよびアスペクト比を検出する。また、検出部11は、表示領域の大きさおよびアスペクト比を検出する(ステップS201)。   In FIG. 9, first, the detection unit 11 detects the size and aspect ratio of a display area for displaying content from the content display unit 31. The detection unit 11 detects the size and aspect ratio of the display area (step S201).

次に、算出部12は、検出部11の検出結果を受け取ると、拡縮率設定部14を用いて拡縮率を複数のレイアウト毎に設定すると共に、アスペクト比差分設定部15を用いてアスペクト比差分を複数のレイアウト毎に設定する(ステップS202)。本ステップS202での拡縮率設定部14およびアスペクト比差分設定部15の各々の動作については、上述したので、ここでは説明を繰り返さない。   Next, upon receiving the detection result of the detection unit 11, the calculation unit 12 sets the enlargement / reduction ratio for each of the plurality of layouts using the enlargement / reduction ratio setting unit 14, and uses the aspect ratio difference setting unit 15 to change the aspect ratio difference. Is set for each of a plurality of layouts (step S202). Since the operations of the enlargement / reduction ratio setting unit 14 and the aspect ratio difference setting unit 15 in step S202 have been described above, description thereof will not be repeated here.

次に、決定部13は、複数のレイアウト毎に設定された拡縮率およびアスペクト比差分を受け取ると、拡縮率抽出部16を用いて、各レイアウトの拡縮率のうち、基準値に一致する拡縮率の有無を判断する(ステップS203)。   Next, when the determination unit 13 receives the enlargement / reduction rate and aspect ratio difference set for each of the plurality of layouts, the enlargement / reduction rate extraction unit 16 uses the enlargement / reduction rate extraction unit 16 to adjust the enlargement / reduction rate that matches the reference value. Is determined (step S203).

基準値に一致する拡縮率が有り(ステップS203YES)、かつ、その基準値に一致する拡縮率が1つであれば(ステップS204NO)、決定部13は、そのアスペクト比差分を持つレイアウトを選択すべきレイアウトに決定し(ステップS205)、レイアウト選択装置10の動作が終了する。   If there is an enlargement / reduction rate that matches the reference value (YES in step S203) and there is one enlargement / reduction rate that matches the reference value (NO in step S204), the determination unit 13 selects a layout having the aspect ratio difference. The layout to be determined is determined (step S205), and the operation of the layout selection device 10 ends.

一方、上記のステップS204において基準値に一致する拡縮率が複数有れば(ステップS204YES)、優先対象を拡縮率からアスペクト比差分に変更し、後述するステップS206に進む。本ステップS204において基準値に一致する拡縮率が複数有る場合、それらの拡縮率を持つレイアウトを第1のレイアウトグループとして分類する。   On the other hand, if there are a plurality of enlargement / reduction ratios matching the reference value in step S204 (YES in step S204), the priority object is changed from the enlargement / reduction ratio to the aspect ratio difference, and the process proceeds to step S206 described later. If there are a plurality of enlargement / reduction ratios matching the reference value in step S204, the layouts having these enlargement / reduction ratios are classified as the first layout group.

上記のステップS203において基準値に一致する拡縮率が無ければ(ステップS203NO)、決定部13は、拡縮率抽出部16を用いて、今度は、各レイアウトの拡縮率のうち、基準値に最も近い拡縮率を抽出する(ステップS207)。   If there is no enlargement / reduction rate that matches the reference value in the above step S203 (NO in step S203), the determination unit 13 uses the enlargement / reduction rate extraction unit 16 and this time is closest to the reference value among the enlargement / reduction rates of each layout. An enlargement / reduction ratio is extracted (step S207).

基準値に最も近い拡縮率が1つであれば(ステップS208NO)、決定部13は、その拡縮率を持つレイアウトを選択すべきレイアウトに決定し(ステップS205)、レイアウト選択装置10の動作が終了する。   If there is one enlargement / reduction ratio closest to the reference value (NO in step S208), the determination unit 13 determines a layout having the enlargement / reduction ratio as a layout to be selected (step S205), and the operation of the layout selection apparatus 10 ends. To do.

一方、上記のステップS208において基準値に最も近いアスペクト比差分が複数有れば(ステップS208YES)、優先対象を拡縮率からアスペクト比差分に変更し、後述するステップS206に進む。本ステップS208において基準値に最も近い拡縮率が複数有る場合、それらの拡縮率を持つレイアウトを上記の第1のレイアウトグループとして分類する。   On the other hand, if there are a plurality of aspect ratio differences closest to the reference value in step S208 (YES in step S208), the priority object is changed from the enlargement / reduction ratio to the aspect ratio difference, and the process proceeds to step S206 described later. If there are a plurality of enlargement / reduction ratios closest to the reference value in step S208, the layouts having these enlargement / reduction ratios are classified as the first layout group.

決定部13は、アスペクト比差分抽出部17を用いて、上記の第1のレイアウトグループに含まれる各レイアウトのアスペクト比差分のうち、ゼロであるアスペクト比差分の有無を判断する(ステップS206)。   The determination unit 13 uses the aspect ratio difference extraction unit 17 to determine whether there is an aspect ratio difference that is zero among the aspect ratio differences of the layouts included in the first layout group (step S206).

ゼロであるアスペクト比差分が有り(ステップS206YES)、かつ、そのゼロであるアスペクト比差分が1つであれば(ステップS209NO)、決定部13は、そのアスペクト比差分を持つレイアウトを選択すべきレイアウトに決定し(ステップS210)、レイアウト選択装置10の動作が終了する。   If there is an aspect ratio difference that is zero (step S206 YES) and there is one aspect ratio difference that is zero (step S209 NO), the determining unit 13 should select a layout that has the aspect ratio difference. (Step S210), and the operation of the layout selecting apparatus 10 is completed.

一方、上記のステップS209において基準値に一致する拡縮率が複数有れば(ステップS209YES)、後述するステップS211に進む。本ステップS209においてゼロであるアスペクト比差分が複数有る場合、それらのアスペクト比差分を持つレイアウトを第2のレイアウトグループとして分類する。   On the other hand, if there are a plurality of enlargement / reduction ratios matching the reference value in step S209 (YES in step S209), the process proceeds to step S211 described later. If there are a plurality of aspect ratio differences that are zero in step S209, the layout having these aspect ratio differences is classified as the second layout group.

上記のステップS206においてゼロであるアスペクト比差分が無ければ(ステップS206NO)、決定部13は、アスペクト比差分抽出部17を用いて、今度は、各レイアウトのアスペクト比差分のうち、ゼロに最も近いアスペクト比差分を抽出する(ステップS212)。   If there is no aspect ratio difference that is zero in step S206 (NO in step S206), the determination unit 13 uses the aspect ratio difference extraction unit 17 and this time, the closest to zero among the aspect ratio differences of each layout. An aspect ratio difference is extracted (step S212).

ゼロに最も近いアスペクト比差分が1つであれば(ステップS213NO)、決定部13は、そのアスペクト比差分を持つレイアウトを選択すべきレイアウトに決定し(ステップS210)、レイアウト選択装置10の動作が終了する。   If there is one aspect ratio difference closest to zero (NO in step S213), the determination unit 13 determines a layout having the aspect ratio difference as a layout to be selected (step S210), and the operation of the layout selection device 10 is performed. finish.

一方、上記のステップS213においてゼロに最も近いアスペクト比差分が複数有れば(ステップS213YES)、後述するステップS211に進む。本ステップS213においてゼロに最も近いアスペクト比差分が複数有る場合、それらのアスペクト比差分を持つレイアウトを第2のレイアウトグループとして分類する。   On the other hand, if there are a plurality of aspect ratio differences closest to zero in step S213 (YES in step S213), the process proceeds to step S211 described later. If there are a plurality of aspect ratio differences closest to zero in step S213, the layouts having these aspect ratio differences are classified as the second layout group.

第2のレイアウトグループに複数のレイアウトが含まれる場合、決定部13は、それらのレイアウトのうち、ユーザーからの指示に基づく横書き、または、縦書きのレイアウトいずれか1つを選択すべきレイアウトに決定する(ステップS211)。   When a plurality of layouts are included in the second layout group, the determination unit 13 determines the layout to be selected from either horizontal writing or vertical writing based on an instruction from the user among the layouts. (Step S211).

本ステップS211においても、上記のステップS111と同様、レイアウトデータに縦書き、または、横書きが設定されている場合は、ユーザーからの指示よりも、レイアウトデータの設定が優先されることになる。   In step S211, as in the case of step S111, when vertical writing or horizontal writing is set in the layout data, the setting of the layout data has priority over the instruction from the user.

このようにして、レイアウト選択装置10の動作が終了する。   In this way, the operation of the layout selection device 10 is completed.

以上説明したように、本実施形態によれば、電子書籍端末1は、コンテンツを表示する表示領域の大きさおよびアスペクト比と、コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出し、表示領域および各レイアウトの各々の大きさおよびアスペクト比を用いて、複数のレイアウト毎に一致指標を算出する。この一致指標は、各レイアウトと表示領域との一致の度合いを表わす指標である。   As described above, according to the present embodiment, the electronic book terminal 1 uses the size and aspect ratio of the display area for displaying the content, and the sizes and aspects of the plurality of layouts used when displaying the content. And a matching index is calculated for each of a plurality of layouts using the size and aspect ratio of each of the display area and each layout. This coincidence index is an index representing the degree of coincidence between each layout and the display area.

このため、コンテンツを表示領域に表示させるときに、各レイアウトの一致指標同士を比較することによって、表示領域との一致度合いの高いレイアウトを選択すべきレイアウトとして決定することができる。   Therefore, when the content is displayed in the display area, a layout having a high degree of matching with the display area can be determined as a layout to be selected by comparing the matching indexes of the respective layouts.

したがって、コンテンツを表示する際、複数のレイアウトから最適なレイアウトを選択することができる。   Therefore, when displaying content, an optimal layout can be selected from a plurality of layouts.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

最後に、レイアウト選択装置10の各ブロックは、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Finally, each block of the layout selection device 10 may be configured by hardware logic, or may be realized by software using a CPU as follows.

すなわち、レイアウト選択装置10は、各機能を実現する制御プログラムの命令を実行するCPU(central processing unit)、前記プログラムを格納したROM(read only memory)、前記プログラムを展開するRAM(random access memory)、前記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)等を備えている。そして、本発明の目的は、上述した機能を実現するソフトウェアであるレイアウト選択装置10の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、レイアウト選択装置10に供給し、そのコンピュータ(又はCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the layout selection device 10 includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM (random access memory) that expands the program. And a storage device (recording medium) such as a memory for storing the program and various data. An object of the present invention is a recording medium on which a program code (execution format program, intermediate code program, source program) of a control program of the layout selection device 10 which is software for realizing the above-described functions is recorded so as to be readable by a computer. This can also be achieved by supplying the data to the layout selection device 10 and reading and executing the program code recorded on the recording medium by the computer (or CPU or MPU).

前記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやコンパクトディスク−ROM/MO/MD/デジタルビデオデイスク/コンパクトディスク−R等の光ディスクを含むディスク系、ICカード(メモリカードを含む)/光カード等のカード系、あるいはマスクROM/EPROM/EEPROM/フラッシュROM等の半導体メモリ系等を用いることができる。   Examples of the recording medium include a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk / hard disk, and a compact disk-ROM / MO / MD / digital video disk / compact disk-R. A disk system including an optical disk, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROM / EPROM / EEPROM / flash ROM can be used.

また、レイアウト選択装置10を通信ネットワークと接続可能に構成し、前記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN、ISDN、VAN、CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE1394、USB、電力線搬送、ケーブルTV回線、電話線、ADSL回線等の有線でも、IrDAやリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、前記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   Further, the layout selection device 10 may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication. A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, even in the case of wired such as IEEE 1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc., infrared rays such as IrDA and remote control, Bluetooth ( (Registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, and the like can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave in which the program code is embodied by electronic transmission.

本発明は、文書や画像からなるコンテンツを無線通信により、取得し、表示画面上に表示する電子書籍端末、ゲーム機器、携帯電話、PDA等の携帯情報端末、ノート型パーソナルコンピュータに好適である。   The present invention is suitable for an electronic book terminal, a game machine, a mobile phone, a personal digital assistant such as a PDA, or a notebook personal computer that acquires contents including documents and images by wireless communication and displays them on a display screen.

1、1a、1b、1c 電子書籍端末(コンテンツ表示装置)
10 レイアウト選択装置
11 検出部(検出手段)
12 算出部(算出手段)
13 決定部(決定手段)
14 拡縮率設定部(拡縮率設定手段)
15 アスペクト比差分設定部(アスペクト比差分設定手段)
16 拡縮率抽出部(拡縮率抽出手段)
17 アスペクト比差分抽出部(アスペクト比差分抽出手段)
40、50 コンテンツ(コンテンツデータ)
60a 表示領域(表示画面)
61b、61c 表示領域
1, 1a, 1b, 1c Electronic book terminal (content display device)
DESCRIPTION OF SYMBOLS 10 Layout selection apparatus 11 Detection part (detection means)
12 Calculation unit (calculation means)
13 Determination unit (determination means)
14 Enlargement / reduction ratio setting unit (enlargement / reduction ratio setting means)
15 Aspect ratio difference setting section (Aspect ratio difference setting means)
16 Enlargement / reduction ratio extraction unit (enlargement / reduction ratio extraction means)
17 Aspect ratio difference extraction unit (Aspect ratio difference extraction means)
40, 50 Content (content data)
60a Display area (display screen)
61b, 61c Display area

Claims (10)

コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出手段と、
前記複数のレイアウトの各々を用いて前記コンテンツを前記表示領域に表示させたときにおける、用いたレイアウトと前記表示領域との一致の度合いを表わす一致指標を、前記検出手段によって検出された前記各々の大きさおよびアスペクト比を用いて前記複数のレイアウト毎に算出する算出手段と、
前記算出手段によって算出された前記複数のレイアウトの各一致指標同士を比較することによって、前記コンテンツを前記表示領域に表示させるときに、前記複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定手段と
を備えることを特徴とするレイアウト選択装置。
Detection means for detecting the size and aspect ratio of a display area for displaying content, and the size and aspect ratio of each of a plurality of layouts used when displaying the content;
When each of the plurality of layouts is used to display the content in the display area, a matching index indicating a degree of matching between the used layout and the display area is detected by each of the detection means. Calculating means for calculating for each of the plurality of layouts using a size and an aspect ratio;
By comparing each matching index of the plurality of layouts calculated by the calculation means, it is determined which layout should be selected from the plurality of layouts when the content is displayed in the display area. A layout selecting device.
前記算出手段は、
前記複数のレイアウトの各大きさに関し、各レイアウトの大きさを構成する長辺および短辺のうち、各レイアウトを前記表示領域の内部に納まるようにしつつ、各レイアウトを拡大縮小したときにおける、前記表示領域の大きさを構成する長辺および短辺のいずれかと一致する辺である一致辺を特定し、その特定された一致辺についての拡大縮小前の長さに対する拡大縮小後の長さの比を、前記一致指標に含まれる拡縮率として前記複数のレイアウト毎に設定する拡縮率設定手段と、
前記表示領域および前記複数のレイアウトの各アスペクト比に関し、各アスペクト比が表わす横と縦との比から、横と縦のうちのいずれか一方を1とする数値である換算値に換算し、前記表示領域のアスペクト比の換算値と、前記複数のレイアウトの各換算値との差分を、前記一致指標に含まれるアスペクト比差分として前記複数のレイアウト毎に設定するアスペクト比差分設定手段と
を含むことを特徴とする請求項1に記載のレイアウト選択装置。
The calculating means includes
Regarding each size of the plurality of layouts, among the long side and the short side constituting the size of each layout, the respective layouts are accommodated within the display area, and the respective layouts are enlarged or reduced, Identifies a matching edge that is one of the long and short edges that make up the size of the display area, and the ratio of the length after scaling to the length before scaling for the specified matching edge Scaling ratio setting means for setting the scaling ratio included in the matching index for each of the plurality of layouts,
With respect to each aspect ratio of the display area and the plurality of layouts, the aspect ratio represented by each aspect ratio is converted into a conversion value that is a numerical value in which either one of the horizontal and the vertical is 1. Aspect ratio difference setting means for setting the difference between the converted value of the aspect ratio of the display area and each converted value of the plurality of layouts as the aspect ratio difference included in the coincidence index for each of the plurality of layouts. The layout selection device according to claim 1.
前記決定手段は、
前記一致辺についての拡大縮小前後の長さが等しいときにおける比を前記拡縮率の基準値としたとき、前記拡縮率設定手段によって設定された前記複数のレイアウトの各拡縮率同士を比較し、前記基準値に一致する拡縮率、または、前記基準値に最も近い拡縮率を持つレイアウトを抽出する拡縮率抽出手段と、
前記アスペクト比差分設定手段によって設定された前記複数のレイアウトの各アスペクト比差分同士を比較し、最も小さいアスペクト比差分を持つレイアウトを抽出するアスペクト比差分抽出手段と
を含むことを特徴とする請求項2に記載のレイアウト選択装置。
The determining means includes
When the ratio when the lengths before and after enlargement / reduction for the coincidence side are equal is the reference value of the enlargement / reduction ratio, the enlargement / reduction ratio setting means sets the enlargement / reduction ratios to compare the enlargement / reduction ratios. An enlargement / reduction ratio extracting means for extracting a layout having the enlargement / reduction ratio that matches the reference value or the closest enlargement / reduction ratio to the reference value;
The aspect ratio difference extracting unit that compares the aspect ratio differences of the plurality of layouts set by the aspect ratio difference setting unit and extracts a layout having the smallest aspect ratio difference. 3. The layout selection device according to 2.
前記決定手段は、
前記拡縮率抽出手段および前記アスペクト比差分抽出手段のいずれか一方を用いて前記複数のレイアウトから少なくとも1つのレイアウトを含む第1のレイアウトグループを抽出し、
前記第1のレイアウトグループに複数のレイアウトが含まれるとき、前記拡縮率抽出手段および前記アスペクト比差分抽出手段のいずれか他方を用いて前記第1のレイアウトグループから少なくとも1つのレイアウトを含む第2のレイアウトグループを抽出することを特徴とする請求項3に記載のレイアウト選択装置。
The determining means includes
Extracting a first layout group including at least one layout from the plurality of layouts using any one of the enlargement / reduction ratio extraction unit and the aspect ratio difference extraction unit;
When a plurality of layouts are included in the first layout group, a second including at least one layout from the first layout group using either one of the enlargement / reduction ratio extraction unit and the aspect ratio difference extraction unit The layout selection apparatus according to claim 3, wherein a layout group is extracted.
前記決定手段は、前記第2のレイアウトグループに複数のレイアウトが含まれるとき、含まれる複数のレイアウトの各々が横書きであるか縦書きであるかを判断基準として、選択すべきレイアウトを決定することを特徴とする請求項4に記載のレイアウト選択装置。   The determining means determines a layout to be selected based on whether each of the plurality of layouts is horizontal writing or vertical writing when a plurality of layouts are included in the second layout group. The layout selection device according to claim 4. 請求項1〜5のいずれか1項に記載のレイアウト選択装置と、
前記レイアウト選択装置によって選択されたレイアウトを用いて、コンテンツを表示領域に表示する表示装置と
を備えることを特徴とするコンテンツ表示装置。
The layout selection device according to any one of claims 1 to 5,
A content display device comprising: a display device that displays content in a display area using the layout selected by the layout selection device.
コンテンツを表示する表示領域の大きさおよびアスペクト比と、前記コンテンツを表示するときに用いられる複数のレイアウトの各大きさおよびアスペクト比と、を検出する検出工程と、
前記複数のレイアウトの各々を用いて前記コンテンツを前記表示領域に表示させたときにおける、用いたレイアウトと前記表示領域との一致の度合いを表わす一致指標を、前記検出工程にて検出された前記各々の大きさおよびアスペクト比を用いて前記複数のレイアウト毎に算出する算出工程と、
前記算出工程にて算出された前記複数のレイアウトの各一致指標同士を比較することによって、前記コンテンツを前記表示領域に表示させるときに、前記複数のレイアウトからいずれのレイアウトを選択するべきかを決定する決定工程と
を含むことを特徴とするレイアウト選択方法。
A detection step of detecting a size and an aspect ratio of a display area for displaying content and each size and aspect ratio of a plurality of layouts used when displaying the content;
When each of the plurality of layouts is used to display the content in the display area, a matching index representing a degree of matching between the used layout and the display area is detected in each of the detection steps. A calculation step of calculating for each of the plurality of layouts using a size and an aspect ratio;
By comparing each matching index of the plurality of layouts calculated in the calculation step, it is determined which layout should be selected from the plurality of layouts when the content is displayed in the display area. A layout selecting method.
請求項1〜5のいずれか1項に記載のレイアウト選択装置における各手段としてコンピュータを動作させるためのレイアウト選択プログラム。   The layout selection program for operating a computer as each means in the layout selection apparatus of any one of Claims 1-5. 請求項8に記載のレイアウト選択プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the layout selection program according to claim 8 is recorded. 請求項1〜5のいずれか1項に記載のレイアウト選択装置によってレイアウトが選択されるコンテンツの作成方法であって、
前記コンテンツの内容を判断基準として、前記複数のレイアウトを決定するレイアウト決定工程と、
前記レイアウト決定工程にて決定された前記複数のレイアウトを表わすレイアウト情報を前記コンテンツに書き込むレイアウト情報書き込み工程と
を含むことを特徴とするコンテンツの作成方法。
A method for creating content in which a layout is selected by the layout selection device according to claim 1,
A layout determination step for determining the plurality of layouts using the content as a determination criterion;
And a layout information writing step of writing layout information representing the plurality of layouts determined in the layout determination step into the content.
JP2010214510A 2010-09-24 2010-09-24 Layout selection device, layout selection method, layout selection program, computer-readable recording medium, content display device, and content creation method Active JP5501915B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010214510A JP5501915B2 (en) 2010-09-24 2010-09-24 Layout selection device, layout selection method, layout selection program, computer-readable recording medium, content display device, and content creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010214510A JP5501915B2 (en) 2010-09-24 2010-09-24 Layout selection device, layout selection method, layout selection program, computer-readable recording medium, content display device, and content creation method

Publications (2)

Publication Number Publication Date
JP2012069006A true JP2012069006A (en) 2012-04-05
JP5501915B2 JP5501915B2 (en) 2014-05-28

Family

ID=46166177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010214510A Active JP5501915B2 (en) 2010-09-24 2010-09-24 Layout selection device, layout selection method, layout selection program, computer-readable recording medium, content display device, and content creation method

Country Status (1)

Country Link
JP (1) JP5501915B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057753A (en) * 2014-09-08 2016-04-21 Necパーソナルコンピュータ株式会社 Information processing device and program
JP2016197373A (en) * 2015-04-06 2016-11-24 コニカミノルタ株式会社 Data format conversion program, method, and device
CN108961363A (en) * 2018-06-11 2018-12-07 天意有福科技股份有限公司 A kind of composition method of electronic photo and electronic photo book

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067100A (en) * 2001-08-28 2003-03-07 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program for digital contents display, and storage medium stored with the digital contents display program
JP2004126687A (en) * 2002-09-30 2004-04-22 Seiko Epson Corp Layout system and layout program, and layout method
JP2006331342A (en) * 2005-05-30 2006-12-07 Nekusaburu:Kk Content layout recognition program, recognition system, recognition method, content layout conversion program, conversion system, and conversion method
JP2008294591A (en) * 2007-05-22 2008-12-04 Sharp Corp Content data providing device and content display device
WO2009136888A1 (en) * 2008-05-06 2009-11-12 Hewlett-Packard Development Company, L.P. Spatiotemporal media object layouts

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003067100A (en) * 2001-08-28 2003-03-07 Nippon Telegr & Teleph Corp <Ntt> Method, device, and program for digital contents display, and storage medium stored with the digital contents display program
JP2004126687A (en) * 2002-09-30 2004-04-22 Seiko Epson Corp Layout system and layout program, and layout method
JP2006331342A (en) * 2005-05-30 2006-12-07 Nekusaburu:Kk Content layout recognition program, recognition system, recognition method, content layout conversion program, conversion system, and conversion method
JP2008294591A (en) * 2007-05-22 2008-12-04 Sharp Corp Content data providing device and content display device
WO2009136888A1 (en) * 2008-05-06 2009-11-12 Hewlett-Packard Development Company, L.P. Spatiotemporal media object layouts
JP2011524035A (en) * 2008-05-06 2011-08-25 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Space-time layout of media objects

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016057753A (en) * 2014-09-08 2016-04-21 Necパーソナルコンピュータ株式会社 Information processing device and program
JP2016197373A (en) * 2015-04-06 2016-11-24 コニカミノルタ株式会社 Data format conversion program, method, and device
CN108961363A (en) * 2018-06-11 2018-12-07 天意有福科技股份有限公司 A kind of composition method of electronic photo and electronic photo book
CN108961363B (en) * 2018-06-11 2023-11-28 天意有福科技股份有限公司 Typesetting method of electronic photo and electronic photo book

Also Published As

Publication number Publication date
JP5501915B2 (en) 2014-05-28

Similar Documents

Publication Publication Date Title
US10671796B2 (en) Article authoring, distribution and rendering architecture
JP4774816B2 (en) Image processing apparatus, image processing method, and computer program.
US9497405B2 (en) Display device for displaying videos side by side without overlapping each other and method for the same
KR20090021404A (en) Adaptive video processing apparatus and video scaling method based on screen size of display device
JP2008158765A (en) Information processing device, information processing method, and program for executing it by computer
JP5312420B2 (en) Content analysis apparatus, method and program
JP2008250948A (en) Information processing device, information processing method, information processing program, storage medium recording information processing program, and information display device
JP5290433B2 (en) Display processing device, display processing device control method, control program, and computer-readable recording medium recording control program
US9727293B1 (en) Method and apparatus for paginating electronic documents
JP2004118477A (en) Information processor and information processing method, recording medium and its program
JP5501915B2 (en) Layout selection device, layout selection method, layout selection program, computer-readable recording medium, content display device, and content creation method
JP5674451B2 (en) Viewer device, browsing system, viewer program, and recording medium
JP2006303707A (en) Image processing apparatus and image processing method
JP2004118478A (en) Information processor and its method, recording medium and its program
JP2008234147A (en) Document image display device, document image display method, and document image display program
JP2011086050A (en) Information processing terminal and computer program
JP6924544B2 (en) Cartoon data display system, method and program
JP5780726B2 (en) Multi-column processing device, multi-column processing method, multi-column processing program, computer-readable recording medium, and content display device
WO2014042051A1 (en) Content creation device, method, and program
JP5538159B2 (en) Page number determination apparatus, page number determination method, page number determination program, and computer-readable recording medium
JPWO2006103830A1 (en) Display processing apparatus and display processing method
JP5977342B2 (en) Electronic comic data compression apparatus, method and program
JP4741916B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing image processing program for executing the method
JP2005092567A (en) Scroll controller, scroll control method, scroll control program, and recording medium
JP6223007B2 (en) Document display apparatus and method, program and data structure thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130401

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140120

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140312

R150 Certificate of patent or registration of utility model

Ref document number: 5501915

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150