JP6292886B2 - Layouting device, layouting method and layouting program - Google Patents
Layouting device, layouting method and layouting program Download PDFInfo
- Publication number
- JP6292886B2 JP6292886B2 JP2014001885A JP2014001885A JP6292886B2 JP 6292886 B2 JP6292886 B2 JP 6292886B2 JP 2014001885 A JP2014001885 A JP 2014001885A JP 2014001885 A JP2014001885 A JP 2014001885A JP 6292886 B2 JP6292886 B2 JP 6292886B2
- Authority
- JP
- Japan
- Prior art keywords
- content
- degree
- divergence
- layout
- layouting
- 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.)
- Active
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Description
本発明は、コンテンツの画面表示上の配置を決めるレイアウティング装置、レイアウティング方法およびレイアウティングプログラムに関する。 The present invention relates to a layouting device, a layouting method, and a layouting program that determine the layout of content on a screen display.
従来、テキストデータのコンテンツを画面上に配置する際にレイアウトを決める技術が提案されている。例えば、特許文献1記載の文書処理装置は、各領域内に存在するテキストを、変換結果を利用してそれぞれのテキスト領域内で評する際に、テキスト領域同士の配置関係を考慮し、すべての領域がページ内に収まるように移動を繰り返している。そして、翻訳結果による文章量の変化に対して、レイアウトを極力崩さずに、テキスト領域を移動している。
Conventionally, a technique for determining a layout when text data contents are arranged on a screen has been proposed. For example, the document processing apparatus described in
また、特許文献2記載のマルチメディア文書作成・編集システムは、テキストや音声、動画、イメージといった複数種の情報を混在させることが可能なマルチメディア文書の作成・編集を行なっており、入力文書の構造に応じたマルチメディア文書の配置を実現している。 In addition, the multimedia document creation / editing system described in Patent Document 2 creates and edits a multimedia document that can mix a plurality of types of information such as text, audio, video, and images. The arrangement of multimedia documents according to the structure is realized.
しかしながら、上記の特許文献1、2の技術を用いても、表示領域が限定されているタブレット端末等では、レイアウティングされた複数文書は適切に配置されない。また、入力コンテンツの文章量に応じて、空白が大きく表示される可能性がある。
However, even if the techniques of
本発明は、このような事情に鑑みてなされたものであり、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示でき、複雑な処理なしで適切なレイアウティングができるレイアウティング装置、レイアウティング方法およびレイアウティングプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances. A layouting apparatus and a layout that can flexibly display content in a layout suitable for the number and amount of content and can perform appropriate layout without complicated processing. It is an object to provide a routing method and a layouting program.
(1)上記の目的を達成するため、本発明のレイアウティング装置は、コンテンツの画面表示上の配置を決めるレイアウティング装置であって、画面表示の候補として複数のコンテンツを特定するコンテンツ特定部と、画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記特定された複数のコンテンツがそれぞれ有する特徴量との乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択する表示内容選択部と、を備えることを特徴としている。 (1) In order to achieve the above object, a layouting device of the present invention is a layouting device that determines an arrangement of content on a screen display, and includes a content specifying unit that specifies a plurality of content as screen display candidates, The screen is based on the degree of divergence between the capacity of each area of the plurality of layout templates prepared in advance for specifying the arrangement of the content on the screen display and the feature amount of each of the specified plurality of contents. And a display content selection unit for selecting a content to be used for display and a layout template.
このように、本発明のレイアウティング装置は、画面表示の候補として複数のコンテンツを特定し、あらかじめ準備された複数のレイアウトテンプレートに対する乖離度に基づいてレイアウトテンプレートを選択する。その結果、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示できる。また、あらかじめ準備されたテンプレートとの間でフィッティングを行なうため、複雑な処理なしで適切なコンテンツの配置ができる。 As described above, the layouting apparatus of the present invention specifies a plurality of contents as candidates for screen display, and selects a layout template based on a degree of deviation from a plurality of layout templates prepared in advance. As a result, content can be displayed flexibly with a layout suitable for the number and amount of content. In addition, since fitting is performed with a template prepared in advance, appropriate content can be arranged without complicated processing.
(2)また、本発明のレイアウティング装置は、前記レイアウトテンプレートの各領域の収容量と、前記レイアウトテンプレートの各領域に配置されるコンテンツが有する特徴量との差に基づいて前記乖離度を算出する乖離度算出部を更に備えることを特徴としている。これにより、全体にわたって各領域とそこに配置されるコンテンツとの適合性のバランスがとれたレイアウトでコンテンツを配置できる。 (2) Further, the layouting apparatus of the present invention calculates the degree of divergence based on a difference between a capacity of each region of the layout template and a feature amount of content arranged in each region of the layout template. And a divergence degree calculation unit. As a result, the content can be arranged in a layout in which the compatibility of each area and the content arranged there is balanced.
(3)また、本発明のレイアウティング装置は、前記乖離度算出部が、前記レイアウトテンプレートの各領域の収容量および前記コンテンツがそれぞれ有する特徴量を文字表示量で認識し、前記乖離度を算出することを特徴としている。これにより、文字表示量でコンテンツを表示する領域の収容量とそのコンテンツの表示量とが適合したレイアウトでコンテンツを配置できる。 (3) Further, in the layouting apparatus of the present invention, the divergence degree calculating unit recognizes the amount of each area of the layout template and the feature quantity of the content, respectively, as a character display amount, and calculates the divergence degree. It is characterized by doing. Thus, the content can be arranged in a layout in which the capacity of the area where the content is displayed with the character display amount and the display amount of the content are adapted.
(4)また、本発明のレイアウティング装置は、前記乖離度算出部が、前記コンテンツが画像または映像を含む場合に前記画像または映像の再生領域を文字表示量に変換して、前記乖離度を算出することを特徴としている。これにより、映像を含むコンテンツであってもコンテンツの集合に適したレイアウトでコンテンツを配置できる。 (4) In the layouting device of the present invention, the divergence degree calculating unit converts the reproduction area of the image or video into a character display amount when the content includes an image or video, and calculates the divergence degree. It is characterized by calculating. Thereby, even if it is a content containing an image | video, a content can be arrange | positioned with the layout suitable for the collection of content.
(5)また、本発明のレイアウティング装置は、前記乖離度算出部が、前記収容量と特徴量との差が正か負かによって、前記収容量と特徴量との差の前記乖離度への寄与の程度が異なる算出基準で前記乖離度を算出することを特徴としている。 (5) Further, in the layouting device of the present invention, the divergence degree calculation unit may change the difference between the accommodation amount and the feature amount depending on whether the difference between the accommodation amount and the feature amount is positive or negative. The degree of divergence is calculated based on calculation criteria having different degrees of contribution.
これにより、コンテンツが領域を埋められない場合と、コンテンツが領域の収容量を超える場合のいずれかの基準を優先したレイアウトでコンテンツを配置でき、場面に応じたレイアウティングが可能になる。 As a result, the content can be arranged with a layout that gives priority to either the case where the content cannot fill the region or the case where the content exceeds the capacity of the region, and layout according to the scene becomes possible.
(6)また、本発明のレイアウティング装置は、前記表示内容選択部が、前記乖離度が最小となるコンテンツおよびレイアウトテンプレートの組を選択することを特徴としている。これにより、コンテンツとレイアウトテンプレートとの適合度の最も高い組で表示画面を構成できる。 (6) Further, the layouting apparatus of the present invention is characterized in that the display content selection unit selects a set of content and a layout template that minimizes the degree of divergence. Thereby, a display screen can be comprised by the group with the highest matching degree of a content and a layout template.
(7)また、本発明のレイアウティング装置は、前記表示内容選択部が、前記乖離度が所定基準以下となるコンテンツおよびレイアウトテンプレートの組のいずれかを選択することを特徴としている。これにより、例えば、適合度の高いコンテンツとレイアウトテンプレートを確保しておき、別の基準でそのうちの一つを採用することができる。 (7) Further, the layouting apparatus of the present invention is characterized in that the display content selection unit selects one of a set of content and a layout template whose degree of divergence is a predetermined standard or less. As a result, for example, it is possible to secure content and a layout template with a high degree of matching, and adopt one of them according to another standard.
(8)また、本発明のレイアウティング装置は、前記コンテンツ特定部が、コンテンツの新旧、コンテンツ数の上限下限またはこれらの組合せにより、前記複数のコンテンツを特定することを特徴としている。 (8) Further, the layouting device of the present invention is characterized in that the content specifying unit specifies the plurality of contents by new and old contents, upper and lower limits of the number of contents, or a combination thereof.
これにより、表示すべきコンテンツの集合をある程度決めてから、その配置を決めることができる。その結果、古いコンテンツが優先される違和感や極端にコンテンツ数が多かったり少なかったりする違和感を解消できる。 As a result, the arrangement of contents to be displayed can be determined after a certain amount has been determined. As a result, it is possible to eliminate a sense of incongruity in which old content is prioritized and a sense of incongruity that the number of contents is extremely large or small.
(9)また、本発明のレイアウティング方法は、コンテンツの画面表示上の配置を決めるレイアウティング方法であって、画面表示の候補として複数のコンテンツを特定するステップと、画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記特定された複数のコンテンツがそれぞれ有する特徴量との乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択するステップと、を含むことを特徴としている。これにより、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示でき、複雑な処理なしで適切なコンテンツの配置ができる。 (9) The layouting method of the present invention is a layouting method for determining the layout of content on the screen display, the step of specifying a plurality of contents as candidates for screen display, and the layout of the content on the screen display. Content and layout template to be used for screen display based on the degree of divergence between the capacity of each area of a plurality of layout templates prepared in advance for specifying the content and the feature values of each of the specified plurality of contents And a step of selecting. As a result, the content can be flexibly displayed in a layout suitable for the number and amount of content, and appropriate content can be arranged without complicated processing.
(10)また、本発明のレイアウティングプログラムは、コンテンツの画面表示上の配置を決めるレイアウティングプログラムであって、画面表示の候補として複数のコンテンツを特定する処理と、画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記特定された複数のコンテンツがそれぞれ有する特徴量との乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択する処理と、をコンピュータに実行させることを特徴としている。これにより、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示でき、複雑な処理なしで適切なコンテンツの配置ができる。 (10) A layouting program according to the present invention is a layouting program for determining an arrangement of content on a screen display, a process for specifying a plurality of contents as candidates for screen display, and an arrangement of the contents on the screen display. Content and layout template to be used for screen display based on the degree of divergence between the capacity of each area of a plurality of layout templates prepared in advance for specifying the content and the feature values of each of the specified plurality of contents And a process for selecting a computer. As a result, the content can be flexibly displayed in a layout suitable for the number and amount of content, and appropriate content can be arranged without complicated processing.
本発明によれば、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示でき、複雑な処理なしで適切なレイアウティングができる。 According to the present invention, content can be displayed flexibly with a layout suitable for the number and amount of content, and appropriate layout can be performed without complicated processing.
以下に、本発明の実施の形態について、図面を参照しながら説明する。説明の理解を容易にするため、各図面において同一の構成要素に対しては同一の参照番号を付し、重複する説明は省略する。 Embodiments of the present invention will be described below with reference to the drawings. In order to facilitate understanding of the description, the same reference numerals are given to the same components in the respective drawings, and duplicate descriptions are omitted.
[レイアウティング装置の構成]
(装置全体)
図1は、レイアウティング装置100の構成を示すブロック図である。レイアウティング装置100は、コンテンツDB101、テンプレートDB102、コンテンツ特定部111、乖離度算出部112、表示内容選択部113、コンテンツ配置部140および表示部150を備えている。このような構成により、レイアウティング装置100は、コンテンツの画面表示上の配置を決める。
[Configuration of layouting device]
(Whole device)
FIG. 1 is a block diagram showing a configuration of the
(コンテンツDB)
コンテンツDB101は、RSSやAPIなどを利用してWEB上のコンテンツを取得する機能を有する。そして、コンテンツDB101は、表示するためのコンテンツを格納する。表示候補の対象となるコンテンツは、テキストだけでなく、動画、画像またはこれらとテキストとを組み合わせたものも含まれ、コンテンツDB101には、例えばニュース記事、SNSから得られた近況情報、ブログ等の写真付きテキスト、動画付テキストが格納される。
(Content DB)
The content DB 101 has a function of acquiring content on the web using RSS, API, or the like. The content DB 101 stores content to be displayed. The content that is the target of display includes not only text but also moving images, images, or combinations of these with text, and the
(テンプレートDB)
テンプレートDB102は、表示されるコンテンツのレイアウトが定義され、あらかじめ準備された複数のテンプレートを格納する。テンプレートは、例えば、紙面状に表示できるコンテンツ数をi、各コンテンツの表示領域上で表示できるコンテンツの文字表示量(収容量)をtmとすると、以下の式(1)のような形式で表現される。なお、jは、テンプレートの識別番号を表す。
The template DB 102 stores a plurality of templates prepared in advance, in which a layout of content to be displayed is defined. For example, if the number of contents that can be displayed on a paper surface is i and the character display amount (accommodation amount) of content that can be displayed on the display area of each content is tm, the template is expressed in the following formula (1). Is done. J represents the identification number of the template.
(コンテンツ特定部)
コンテンツ特定部111は、コンテンツDB101に格納されたコンテンツ群から、表示候補となる複数のコンテンツを抽出し、特定する。例えば、一定の時間間隔でコンテンツDB101に蓄積されたコンテンツ全てを対象としてもよいし、あらかじめ設定した数(例えば10)以上に蓄積された際に、蓄積されたコンテンツでコンテンツリストを作成してもよい。
(Content identification part)
The
また、コンテンツ特定部111は、コンテンツ配置後に生じた未使用コンテンツリストが存在する場合には、未使用コンテンツリストに含まれるコンテンツを表示候補として含めることができる。その際に、未使用コンテンツを優先的に表示リストに含める処理を適用できる。事前にTwitter(登録商標)のRetweet数や同アプリを利用しているユーザ(内部的に定義したユーザグループを含む)のログを利用して、特定のユーザ・グループに配信するコンテンツを事前分類することもできる。
In addition, when there is an unused content list generated after content placement, the
コンテンツ特定部111は、コンテンツの新旧、コンテンツ数の上限下限またはこれらの組合せにより、複数のコンテンツを特定することが好ましい。これにより、表示すべきコンテンツの集合をある程度決めてから、その配置を決めることができる。その結果、古いコンテンツが優先される違和感や極端にコンテンツ数が多かったり少なかったりする違和感を解消できる。
It is preferable that the
(乖離度算出部)
乖離度算出部112は、表示コンテンツ群を表す特徴量とレイアウトテンプレートの収容量の乖離度に基づいてレイアウトテンプレートを選択する。乖離度算出部112は、レイアウトテンプレートを選択する際には、コンテンツ特定部111によって生成されたコンテンツリストを利用する。
(Deviation degree calculation part)
The divergence
具体的には、レイアウトテンプレートの各領域の収容量およびコンテンツがそれぞれ有する特徴量を文字表示量で認識し、前記乖離度を算出する。これにより、表示領域の収容量とコンテンツの特徴量とが適合したレイアウトでコンテンツを配置できる。その結果、全体にわたって各表示領域とそこに配置されるコンテンツとの適合性のバランスがとれたレイアウトでコンテンツを配置できる。 Specifically, the amount of accommodation in each area of the layout template and the feature amount of each content are recognized as the character display amount, and the degree of divergence is calculated. Thereby, the content can be arranged in a layout in which the capacity of the display area and the feature amount of the content are adapted. As a result, the contents can be arranged in a layout in which the compatibility of each display area and the contents arranged there is balanced.
乖離度算出部112は、コンテンツが画像または映像を含む場合に画像または映像の再生領域を文字表示量に変換して、コンテンツの文字表示量をコンテンツがそれぞれ有する特徴量として乖離度を算出することが好ましい。これにより、映像を含むコンテンツであってもコンテンツの集合に適したレイアウトでコンテンツを配置できる。
When the content includes an image or video, the divergence
また、乖離度算出部112は、収容量と特徴量との差が正か負かによって、収容量と特徴量との差の乖離度への寄与の程度が異なる算出基準で前記乖離度を算出することが好ましい。これにより、コンテンツが表示領域を埋められない場合と、コンテンツが表示領域の収容量を超える場合のいずれかの基準を優先したレイアウトでコンテンツを配置でき、場面に応じたレイアウティングが可能になる。
Further, the divergence
(表示内容選択部)
表示内容選択部113は、乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択する。このように、レイアウティング装置100は、画面表示の候補として複数のコンテンツを特定し、その中のコンテンツとあらかじめ準備された複数のレイアウトテンプレートに対する乖離度に基づいて、表示対象とするコンテンツとレイアウトテンプレートを選択する。その結果、コンテンツの数や量に適したレイアウトで柔軟にコンテンツを表示できる。また、あらかじめ準備されたテンプレートとの間でコンテンツとのフィッティングを行なうため、複雑な処理なしで適切なレイアウティングができる。
(Display content selection section)
The display
表示内容選択部113は、乖離度が最小となるコンテンツおよびレイアウトテンプレートの組を選択することが好ましい。これにより、コンテンツとレイアウトテンプレートとの適合度の最も高いレイアウトでコンテンツを表示できる。
The display
表示内容選択部113は、乖離度が所定基準以下のコンテンツおよびレイアウトテンプレートの組のいずれかを選択することもできる。例えば、適合度の高いレイアウトテンプレートを確保しておき、別の基準でそのうちの一つを採用することができる。
The display
(コンテンツ配置部)
コンテンツ配置部140は、適合したコンテンツリスト、選択されたレイアウトテンプレートによる表示領域に基づいてコンテンツをバーチャルな紙面上に配置し、表示部150へ出力する。
(Content placement part)
The
(表示部)
表示部150は、表示デバイス上での表示を制御しており、コンテンツ配置部140によりバーチャルな紙面上に配置されたコンテンツをディスプレイ等の表示デバイス上で表示する。
(Display section)
The
(具体的構成)
なお、上記のレイアウティング装置100は、携帯端末、PC端末のように端末で構成されていてもよいし、サーバで構成されていてもよい。その場合には、コア機能部分110を有する機器がレイアウティング装置100として機能する。例えば、コンテンツDB101から表示部150まですべて端末側が有していてもよいし、コンテンツDB101のみサーバ側が有していてもよい。サーバがコンテンツDB101から表示内容選択部113まで有していて、端末側はコンテンツを配置して表示するだけの構成でもよい。
(Specific configuration)
In addition, said
(レイアウトテンプレート)
図2は、レイアウトテンプレートの例を示す概略図である。コンテンツの収容量は、バーチャルな紙面上で表示される領域を数値化したもので、例えば、文字数を利用することができ、フォントサイズによって変動させることができる。また、コンテンツが、動画、画像またはこれらとテキストの組合せで構成される場合には、例えば、画像表示サイズを文字数に変換することで、式(1)で表されるレイアウトテンプレートを利用できる。
(Layout template)
FIG. 2 is a schematic diagram illustrating an example of a layout template. The content capacity is obtained by quantifying the area displayed on the virtual paper. For example, the number of characters can be used, and can be varied depending on the font size. Further, when the content is composed of a moving image, an image, or a combination of these and text, for example, the layout template represented by Expression (1) can be used by converting the image display size into the number of characters.
図2に示すレイアウトテンプレートL51〜L53は、いずれもコンテンツ数が5の場合のレイアウトテンプレートを示している。例えば、レイアウトテンプレートL51は、レイアウトテンプレートL50のTm1、Tm2、Tm3、Tm4、Tm5をぞれぞれ200、100、100、100、100としたものである。また、レイアウトテンプレートL101〜L103は、いずれもコンテンツ数が10の場合のレイアウトテンプレートを示している。 The layout templates L51 to L53 shown in FIG. 2 are layout templates when the number of contents is five. For example, the layout template L51 is obtained by setting Tm1, Tm2, Tm3, Tm4, and Tm5 of the layout template L50 to 200, 100, 100, 100, and 100, respectively. In addition, layout templates L101 to L103 are all layout templates when the number of contents is 10.
また、コンテンツの特徴量が同一と判断されたコンテンツを表示させる場合には、表示領域側に事前に優先順位を付けることも可能である。例えば、Tmi,j={200,100,100,100,100}の時に、Wt={na,1,2,3,4}(na:対象外)と設定することで、コンテンツの特徴量が100となっている表示領域に優先順位をつけることができる。 In addition, when displaying content that is determined to have the same feature amount, it is possible to prioritize the display area in advance. For example, when Tm i, j = {200, 100, 100, 100, 100}, by setting Wt = {na, 1, 2, 3, 4} (na: excluded), the feature amount of the content A priority can be given to the display area where is 100.
[レイアウティング装置の動作]
(コンテンツの配置)
図3は、コンテンツ配置の基本動作を示すフローチャートである。レイアウティング装置100は、まず、閾値THをテンプレートDB102内の最小表示コンテンツ数にセットする(ステップS1)。そして、表示コンテンツ数iとなるレイアウトテンプレートTmi,jを抽出する(ステップS2)。なお、jはテンプレートのインデクスで、その最大値はコンテンツ数iの時のテンプレート数となる。
[Operation of layouting device]
(Content arrangement)
FIG. 3 is a flowchart showing the basic operation of content arrangement. The
次に、入力コンテンツ群(N個)から、i個表示するための順列を計算(NPi)し、入力コンテンツリストを作成する(ステップS3)そして、入力コンテンツリストにしたがって、入力コンテンツの特徴量ベクトルInk,lを作成する(ステップS4)。なお、lは入力コンテンツベクトル量のインデクスで、最大値は順列NPiの数である。 Next, a permutation for displaying i items is calculated ( N P i ) from the input content group (N items), and an input content list is created (step S3). A quantity vector In k, l is created (step S4). Incidentally, l is the index of the input content vector quantity, the maximum value is the number of permutations N P i.
このようにして得られた全てのコンテンツの特徴量ベクトルInk,lと、レイアウトテンプレートTmi,jの乖離度を算出する(ステップS5)。そして、全ての表示コンテンツ数テンプレートと、コンテンツの特徴量ベクトルInk,lの乖離度を計算し終えたか判定する(ステップS6)。判定の結果、計算が完了していない場合、iに1を加算し、ステップS2へ戻る(ステップS7)。計算が完了している場合にはステップS8に進む。 The degree of divergence between the feature quantity vectors Ink , l of all the contents thus obtained and the layout template Tm i, j is calculated (step S5). Then, it is determined whether the divergence degree between all the display content number templates and the content feature vectors Ink , l has been calculated (step S6). If the calculation is not completed as a result of the determination, 1 is added to i, and the process returns to step S2 (step S7). If the calculation is complete, the process proceeds to step S8.
乖離度の計算の結果をもとに、最も乖離度が低くなるテンプレートと、入力コンテンツ群を選択し、出力する(ステップS8)。使用されなかったコンテンツ数が閾値THより小さいか否かを判定する(ステップS9)。使用されなかったコンテンツ数が閾値TH以上の場合は、ステップS1に戻る。使用されなかったコンテンツ数が閾値THより小さい場合には、未使用コンテンツリストを作成し出力し(ステップS10)、処理を終了する。なお、これらの各処理は、コンテンツ特定部111、乖離度算出部112、表示内容選択部113が協働して行なうことができる。
Based on the calculation result of the divergence degree, a template with the lowest divergence degree and an input content group are selected and output (step S8). It is determined whether the number of contents that have not been used is smaller than the threshold value TH (step S9). If the number of contents that have not been used is greater than or equal to the threshold value TH, the process returns to step S1. If the number of unused contents is smaller than the threshold value TH, an unused content list is created and output (step S10), and the process ends. Each of these processes can be performed in cooperation with the
(乖離度の算出)
次に、乖離度の算出について説明する。乖離度は、コンテンツの特徴量ベクトルとレイアウトテンプレートの差異を表す数値として定義することができ、例えば、式(2)により乖離度Cを定義することができる。
Next, calculation of the divergence degree will be described. The divergence degree can be defined as a numerical value that represents the difference between the content feature vector and the layout template. For example, the divergence degree C can be defined by Expression (2).
f(x)はinとtmの関係によって変化する関数で、式(3)のように設定できる。
ここで、式(4)はテンプレートのコンテンツの収容量ベクトルを表している。
また、式(5)は入力コンテンツの特徴量ベクトルを表している。
このような乖離度を用いることにより、表示コンテンツ群をレイアウトテンプレートに適用した際に、テンプレートDB102内から、空白が少なく、かつ、できるだけコンテンツの特徴量が多くなるテンプレートを選択できる。コンテンツの特徴量からレイアウトの表示領域の収容量を引いた量が正の場合にこの差の乖離度への寄与の程度は、f(x)上段で表される。また、レイアウトの表示領域の収容量からコンテンツの特徴量を引いた量が負の場合に、この差の乖離度への寄与の程度は、f(x)下段で表される。すなわち、重み係数a、bを調整することで、これらの寄与の程度が異なる算出基準で乖離度を算出できる。
By using such a degree of divergence, when a display content group is applied to a layout template, a template having as little blank space and as much content feature as possible can be selected from the
重み係数をa>bとすると、コンテンツが表示領域の収容量に不足する場合の方が、コンテンツが表示領域の収容量を超える場合より乖離度が大きくなり、a<bとすると、コンテンツが表示領域の収容量を超える場合の方が、コンテンツが表示領域の収容量に不足する場合より乖離度が大きくなる。このように、コンテンツが表示領域の収容量を超える場合と、コンテンツが表示領域を埋められない場合のいずれかの基準を優先したレイアウトでコンテンツを配置でき、場面に応じたレイアウティングが可能になる。 When the weighting factor is a> b, the degree of divergence is greater when the content is less than the capacity of the display area than when the content exceeds the capacity of the display area. When a <b, the content is displayed. The degree of divergence is greater when the capacity exceeds the capacity of the area than when the content is insufficient for the capacity of the display area. In this way, content can be placed with a layout that gives priority to either the case where the content exceeds the capacity of the display region or the case where the content cannot fill the display region, and layout according to the scene becomes possible .
例えば、a=1,b=0と設定することで、コンテンツ表示領域に満たない場合よりも、表示領域を超えるコンテンツの特徴量を持つコンテンツリストを選定できるため、空白表示を優先的に防ぐことが可能となる。なお、a=1,b=0は一例であり、a,bの値はこの限りではない。 For example, by setting a = 1 and b = 0, it is possible to select a content list having a feature amount of content that exceeds the display area rather than a case where the content display area is not sufficient, so that blank display is preferentially prevented. Is possible. Note that a = 1 and b = 0 are examples, and the values of a and b are not limited to this.
(コンテンツの追加)
次に、表示候補のコンテンツが追加された場合の処理を説明する。コンテンツの配置では、必ずしも新たに選択されたレイアウトテンプレートを利用する必要はなく、すでに用いられているレイアウトテンプレートの特定の表示領域のみを更新することもできる。図4は、コンテンツ追加時の動作を示すフローチャートである。例えば、新着の追加しようとするコンテンツがあるとする。
(Add content)
Next, processing when a display candidate content is added will be described. In content arrangement, it is not always necessary to use a newly selected layout template, and only a specific display area of a layout template already used can be updated. FIG. 4 is a flowchart showing the operation when adding content. For example, it is assumed that there is content to be newly added.
まず、追加しようとするコンテンツが閾値TH未満か否かを判定する(ステップT1)。追加しようとするコンテンツが閾値TH未満である場合には、追加しようとするコンテンツの特徴量を計算する(ステップT2)。また、追加しようとするコンテンツの特徴量と使用しているレイアウトテンプレートの各表示領域との距離を計算する(ステップT3)。 First, it is determined whether or not the content to be added is less than the threshold value TH (step T1). If the content to be added is less than the threshold value TH, the feature amount of the content to be added is calculated (step T2). Also, the distance between the feature amount of the content to be added and each display area of the layout template used is calculated (step T3).
このようにして全てのコンテンツに対して、ステップT2,T3を行なう(ステップT4)。そして、得られた距離に基づいて、更新する表示領域を決定する(ステップT5)。 In this way, steps T2 and T3 are performed for all contents (step T4). Then, based on the obtained distance, a display area to be updated is determined (step T5).
なお、ステップT3については、例えば、追加しようとするコンテンツの特徴量をin、として、式(6)を適用することができる。
上記の式(6)をテンプレートの全ての表示領域に対して適用し、距離行列Dを出力する。
Note that for step T3, for example, Equation (6) can be applied with the feature amount of the content to be added being in.
The above equation (6) is applied to all the display areas of the template, and the distance matrix D is output.
ステップT5については、例えば、各距離行列Dから最小値を示す表示領域を順次選択することで実現できる。その際に、表示領域が重複する場合には、次点となる領域を選択することができる。また、要素次元において重複をゆるさないリストを生成し、その距離関数の総和が最小となる領域を抽出することもできる。 Step T5 can be realized, for example, by sequentially selecting a display area indicating the minimum value from each distance matrix D. At this time, if the display areas overlap, the next area can be selected. It is also possible to generate a list that does not loosen the overlap in the element dimension and extract a region where the sum of the distance functions is minimized.
(具体例)
図5は、動作の具体例を示す概略図である。図5の例では、入力記事A,B,C,D,E,Fから4つの入力リストIn1,In2,In3,In4を生成している。そして、4つのレイアウトテンプレートTm5,1〜Tm5,4との乖離度をそれぞれ算出し、レイアウトテンプレートTm5,4および入力リストIn2を選択している。
(Concrete example)
FIG. 5 is a schematic diagram showing a specific example of the operation. In the example of FIG. 5, four input lists In 1 , In 2 , In 3 , and In 4 are generated from the input articles A, B, C, D, E, and F. The degree of deviation from the four layout templates Tm 5,1 to Tm 5,4 is calculated, and the layout template Tm 5,4 and the input list In 2 are selected.
なお、以上の動作は、いずれも装置内のコンピュータにプログラムを実行させることで実現できる。 All of the above operations can be realized by causing a computer in the apparatus to execute a program.
100 レイアウティング装置
101 コンテンツDB
102 テンプレートDB
110 コア機能部分
111 コンテンツ特定部
112 乖離度算出部
113 表示内容選択部
140 コンテンツ配置部
150 表示部
A、B、C、D、E、F 記事
In 特徴量ベクトル
In1、In2、In3、In4 特徴量ベクトルで表した入力リスト
L101〜L103 レイアウトテンプレート
L50〜L53 レイアウトテンプレート
TH 閾値
Tm、Tm5,1〜Tm5,4 レイアウトテンプレート
100
102 Template DB
110
Claims (8)
画面表示の候補として複数のコンテンツを特定するコンテンツ特定部と、
画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記レイアウトテンプレートの各領域に配置される前記特定された複数のコンテンツがそれぞれ有する特徴量との差に基づいて乖離度を算出する乖離度算出部と、
前記算出された乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択する表示内容選択部と、を備え、
前記乖離度算出部は、前記収容量と特徴量との差が正か負かによって、前記収容量と特徴量との差の前記乖離度への寄与の程度が異なる算出基準で前記乖離度を算出することを特徴とするレイアウティング装置。 A layouting device that determines the layout of content on the screen,
A content specifying unit for specifying a plurality of contents as candidates for screen display;
Capacity of each area of the plurality of layout templates prepared in advance for specifying the arrangement of the contents on the screen display, and feature quantities respectively included in the specified plurality of contents arranged in each area of the layout template A divergence degree calculation unit for calculating a divergence degree based on the difference between
A display content selection unit that selects content and a layout template to be adopted for screen display based on the calculated degree of divergence ,
The divergence degree calculation unit calculates the divergence degree based on a calculation standard in which the difference between the accommodation amount and the feature amount differs in the degree of contribution to the divergence degree depending on whether the difference between the accommodation amount and the feature amount is positive or negative. calculated to layouting apparatus according to claim Rukoto.
コンテンツ特定部が、画面表示の候補として複数のコンテンツを特定するステップと、
乖離度算出部が、画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記レイアウトテンプレートの各領域に配置される前記特定された複数のコンテンツがそれぞれ有する特徴量との差に基づいて乖離度を算出するステップと、
表示内容選択部が、前記算出された乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択するステップと、を含み、
前記乖離度を算出するステップは、前記収容量と特徴量との差が正か負かによって、前記収容量と特徴量との差の前記乖離度への寄与の程度が異なる算出基準で前記乖離度を算出することを特徴とするレイアウティング方法。 A layouting method using a layouting device that determines the arrangement of content on the screen display,
A step of the content specifying unit specifying a plurality of contents as candidates for screen display;
The divergence degree calculation unit includes a storage capacity of each area of a plurality of layout templates prepared in advance to specify the arrangement of contents on the screen display, and the specified plurality of areas arranged in each area of the layout template . Calculating a degree of divergence based on a difference from the feature amount of each content ,
Display content selection section, based on the calculated deviation degree, it viewed including the steps of selecting the content and layout template employed in the screen display, and
The step of calculating the degree of divergence includes calculating the divergence based on a calculation criterion in which a difference between the amount of accommodation and the feature amount contributes to the degree of divergence depends on whether the difference between the amount of accommodation and the feature amount is positive or negative. A layouting method characterized by calculating a degree .
画面表示の候補として複数のコンテンツを特定する処理と、
画面表示上におけるコンテンツの配置を特定するためにあらかじめ準備された複数のレイアウトテンプレートの各領域の収容量と、前記レイアウトテンプレートの各領域に配置される前記特定された複数のコンテンツがそれぞれ有する特徴量との差に基づいて乖離度を算出する処理と、
前記算出された乖離度に基づいて、画面表示に採用するコンテンツおよびレイアウトテンプレートを選択する処理と、をコンピュータに実行させ、
前記乖離度を算出する処理は、前記収容量と特徴量との差が正か負かによって、前記収容量と特徴量との差の前記乖離度への寄与の程度が異なる算出基準で前記乖離度を算出することを特徴とするレイアウティングプログラム。
A layouting program that determines the layout of content on the screen.
A process of identifying multiple contents as screen display candidates,
Capacity of each area of the plurality of layout templates prepared in advance for specifying the arrangement of the contents on the screen display, and feature quantities respectively included in the specified plurality of contents arranged in each area of the layout template A process of calculating the degree of deviation based on the difference between
Based on the calculated degree of divergence, causing the computer to execute a process of selecting content and layout template to be adopted for screen display ,
The processing for calculating the degree of divergence is based on a calculation criterion in which the degree of contribution to the degree of divergence of the difference between the capacity and the feature amount differs depending on whether the difference between the capacity and the feature amount is positive or negative. layouting program characterized that you calculated degrees.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014001885A JP6292886B2 (en) | 2014-01-08 | 2014-01-08 | Layouting device, layouting method and layouting program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014001885A JP6292886B2 (en) | 2014-01-08 | 2014-01-08 | Layouting device, layouting method and layouting program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015130114A JP2015130114A (en) | 2015-07-16 |
JP6292886B2 true JP6292886B2 (en) | 2018-03-14 |
Family
ID=53760779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014001885A Active JP6292886B2 (en) | 2014-01-08 | 2014-01-08 | Layouting device, layouting method and layouting program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6292886B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU200770U1 (en) * | 2020-03-16 | 2020-11-11 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Саратовский государственный технический университет имени Гагарина Ю.А." (СГТУ имени Гагарина Ю.А.) | A device for intensifying the processes of liquid purification from impurities by precipitation |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4154976B2 (en) * | 2002-09-24 | 2008-09-24 | セイコーエプソン株式会社 | Layout system, program |
JP4144883B2 (en) * | 2004-08-06 | 2008-09-03 | キヤノン株式会社 | Information processing apparatus, control method therefor, and program |
JP2008262306A (en) * | 2007-04-10 | 2008-10-30 | Sharp Corp | Layout adjustment device, layout adjustment method, layout adjustment program and recording medium |
JP5096989B2 (en) * | 2008-04-04 | 2012-12-12 | キヤノン株式会社 | Document processing apparatus and document processing method |
JP5506176B2 (en) * | 2008-09-30 | 2014-05-28 | キヤノン株式会社 | Information processing apparatus and information processing method |
JP5739623B2 (en) * | 2010-06-25 | 2015-06-24 | キヤノン株式会社 | Editing device and program |
JP5744627B2 (en) * | 2011-06-01 | 2015-07-08 | キヤノン株式会社 | Document creation apparatus, document creation apparatus control method, and program |
-
2014
- 2014-01-08 JP JP2014001885A patent/JP6292886B2/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU200770U1 (en) * | 2020-03-16 | 2020-11-11 | Федеральное государственное бюджетное образовательное учреждение высшего образования "Саратовский государственный технический университет имени Гагарина Ю.А." (СГТУ имени Гагарина Ю.А.) | A device for intensifying the processes of liquid purification from impurities by precipitation |
Also Published As
Publication number | Publication date |
---|---|
JP2015130114A (en) | 2015-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102358604B1 (en) | Convergence data processing method and information recommendation system | |
EP3608795A1 (en) | Method and apparatus for generating knowledge graph, device and computer readable storage medium | |
CN103164463B (en) | Method and device for recommending labels | |
WO2017216980A1 (en) | Machine learning device | |
WO2021027256A1 (en) | Method and apparatus for processing interactive sequence data | |
CN104871122B (en) | Display control apparatus and display control method | |
US9129216B1 (en) | System, method and apparatus for computer aided association of relevant images with text | |
CN110675017A (en) | Performance evaluation method and device based on artificial intelligence | |
CN105894183A (en) | Project evaluation method and apparatus | |
CN105659584A (en) | Customizing mobile media captioning based on mobile media rendering | |
KR101667199B1 (en) | Relative quality index estimation apparatus of the web page using keyword search | |
CN105260459A (en) | Search method and apparatus | |
CN112990625A (en) | Method and device for allocating annotation tasks and server | |
JP6292886B2 (en) | Layouting device, layouting method and layouting program | |
KR20170057951A (en) | Mehtod and apparatus for sentence correction using natural language processing | |
CN110598766B (en) | Training method and device for commodity recommendation model and electronic equipment | |
CN106575418A (en) | Suggested keywords | |
CN110008880B (en) | Model compression method and device | |
CN105373310B (en) | Method and apparatus based on the user's operation real-time update page | |
CN109949090A (en) | Lead referral method, apparatus, electronic equipment and medium | |
JP2009252185A (en) | Information searching device, information searching method, control program, and recording medium | |
CN111145906B (en) | Project judging method, related device and readable storage medium | |
KR20090016959A (en) | Method for scrapping at viewer screen of electronic book, apparatus applied to the same | |
CN112597760A (en) | Method and device for extracting domain words in document | |
CN104572620B (en) | A kind of method and apparatus for showing chapters and sections content |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160729 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170608 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170620 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170809 |
|
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: 20180123 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180213 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6292886 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |