JP2013033358A - Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium - Google Patents

Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium Download PDF

Info

Publication number
JP2013033358A
JP2013033358A JP2011168586A JP2011168586A JP2013033358A JP 2013033358 A JP2013033358 A JP 2013033358A JP 2011168586 A JP2011168586 A JP 2011168586A JP 2011168586 A JP2011168586 A JP 2011168586A JP 2013033358 A JP2013033358 A JP 2013033358A
Authority
JP
Japan
Prior art keywords
electronic book
amount
sentence
binding direction
acquisition unit
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.)
Pending
Application number
JP2011168586A
Other languages
Japanese (ja)
Inventor
Kazuo Makishima
一雄 巻島
Yasuaki Tachiiri
靖朗 立入
Kazuhiro Miki
一浩 三木
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 JP2011168586A priority Critical patent/JP2013033358A/en
Publication of JP2013033358A publication Critical patent/JP2013033358A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic book binding direction determination device which is capable of determining the most suitable binding direction of an electronic book including vertical typesetting and horizontal typesetting of text together.SOLUTION: The electronic book binding direction determination device includes: a typesetting direction information acquisition unit 22 which divides data of an electronic book into a plurality of flows (divided ranges) in accordance with a preliminarily determined rule and acquires typesetting direction information showing that sentences are vertically written or horizontally written in each of the plurality of flows, from data of the electronic book; a sentence amount acquisition unit 24 which acquires the sum total of amounts of vertically written sentences in flows where the typesetting direction is vertical, out of the plurality of flows and acquires the sum total of amounts of horizontally written sentences in flows where the typesetting direction is horizontal, out of the plurality of flows on the basis of typesetting direction information of the plurality of flows acquired by the typesetting direction information acquisition unit 22; and a binding direction determination unit 26 which determines a binding direction of the electronic book on the basis of the sum total of amounts of vertically written sentences and the sum total of amount of horizontally written sentences, which are acquired by the sentence amount acquisition unit 24.

Description

この発明は、電子書籍用綴じ方向決定装置、表示装置、電子書籍用綴じ方向決定方法、電子書籍用綴じ方向決定プログラムおよびコンピュータ読み取り可能な記録媒体に関する。   The present invention relates to an electronic book binding direction determination device, a display device, an electronic book binding direction determination method, an electronic book binding direction determination program, and a computer-readable recording medium.

従来、電子書籍を再生・閲覧するための装置およびソフトウェアは、電子書籍の表示をスクロールさせて読む形式が主流であった。そのため、フォーマットとして書籍の綴じ方向を持たない電子書籍のファイルが存在し、そのような電子書籍が有料コンテンツとして一般に販売されている。   Conventionally, an apparatus and software for playing back and browsing an electronic book have been mainly in a form of scrolling and reading the display of the electronic book. For this reason, there are electronic book files that do not have the binding direction of books as a format, and such electronic books are generally sold as paid contents.

ところで、近年では、スマートフォンやタブレット型端末と呼称される携帯型の装置が発達し普及している。これらの携帯型デバイスは、紙の本のように画面をなぞってページめくりの操作を行い、自然にページをめくっているかのようなアニメーションを見せる事もできる。   By the way, in recent years, portable devices called smartphones and tablet terminals have been developed and spread. These portable devices can also turn the page by tracing the screen like a paper book, and can show an animation as if turning the page naturally.

現在、これらのデバイスの高性能化により、現実の読書に似た体験をユーザーに提供できる携帯型デバイスが開発されている。例えば、本文の組み方向に応じて現実の書籍を模した綴じ方向とページめくりの方向が決められる電子書籍表示装置が、次に挙げる特許文献1(特開2005−274691号公報)に開示されている。   Currently, as these devices become more sophisticated, portable devices that can provide users with an experience similar to real reading are being developed. For example, an electronic book display device in which a binding direction imitating an actual book and a page turning direction are determined according to the text assembling direction is disclosed in Patent Document 1 (Japanese Patent Laid-Open No. 2005-274691). Yes.

この特許文献1に記載された電子書籍表示装置は、見開き型の装置であり、内側に画面を右ページ用と左ページ用に1つずつ備えている。この電子書籍表示装置の本文の表示も、縦組み(文が縦書き)なら右側が若いページとなり、横組み(文が横書き)なら左側が若いページとなっている。すなわち、この電子書籍表示装置は、ページを送る方向も現実の書籍と同様になっている。なお、この電子表示装置は、外側に表表紙用として液晶画面を1つ備えている。   The electronic book display device described in Patent Document 1 is a spread-type device, and has one screen for the right page and one for the left page. As for the display of the text of this electronic book display device, the right side is a young page if it is vertical (sentence is vertical), and the left side is young if it is horizontal (sentence is horizontal). In other words, this electronic book display device has the same page sending direction as an actual book. This electronic display device includes one liquid crystal screen on the outside for use as a cover.

そして、この電子表示装置の特徴として、電子書籍に保存されている本文の組み方向が縦組みから横組みに切り換わったとき、または、横組みから縦組みに切り替わったとき、本文表示部に映し出す内容を上下さかさまにし、ユーザに装置の上下を持ち変えることを要求する。   As a feature of this electronic display device, when the text assembling direction stored in the electronic book is switched from vertical composition to horizontal composition, or when it is switched from horizontal composition to vertical composition, it is displayed on the text display section. The contents are turned upside down and the user is required to move the device up and down.

そうして、上記電子表示装置を上下逆さまにすると、表表紙用の液晶画面も、本文が縦組みなら右ページの裏になる一方、本文が横組みなら左ページの裏になるため、現実の書籍と同じ場所に表表紙が位置するようになっている。   If the electronic display device is turned upside down, the LCD screen for the front cover will be on the back of the right page if the text is in vertical composition, while it will be on the back of the left page if the text is in horizontal composition. The front cover is located in the same place as the book.

以上によって、ユーザは、現実の書籍と同様に、縦組みであれば綴じ方向が右であるように電子書籍を閲覧でき、横組みであれば綴じ方向が左であるように電子書籍を閲覧できる。   As described above, the user can browse the electronic book so that the binding direction is the right if the book is vertically assembled, and can browse the electronic book so that the binding direction is the left if the book is horizontally assembled. .

現在、一般に販売されている電子書籍の中には、1つの書籍内に縦組みと横組みの本文が混在しているものがある。例をあげると、ほとんどの箇所は日本語の縦組みであるが、一部に中扉として英語の原題を横書きで表記したり、奥付を横書きで表記したり、図やグラフなどを表示する箇所はキャプション(見出し)として横書きで表記したりしているものがある。   Currently, there are electronic books that are generally sold, in which vertical text and horizontal text are mixed in one book. For example, most of the parts are in vertical Japanese, but some of them are used as middle doors, with English originals written in horizontal writing, imprints written in horizontal writing, and diagrams and graphs. There are things that are written horizontally as captions (headings).

このため、上記特許文献1に記載された電子表示装置は、1つの電子書籍内に縦組みと横組みの文章が混在していることを考慮した設計になっていないため、縦組みと横組みが頻繁に入れ替わる電子書籍を読む場合に、頻繁に装置の上下を持ちかえなければならず、ユーザは閲覧に不快感を覚える。   For this reason, since the electronic display device described in Patent Document 1 is not designed in consideration of the fact that vertical writing and horizontal writing are mixed in one electronic book, vertical writing and horizontal writing are used. When reading an electronic book that frequently changes, the user has to frequently change the upper and lower sides of the device, and the user feels uncomfortable in browsing.

すなわち、上記電子表示装置では、縦組みと横組みの文章が混在している電子書籍は、綴じ方向が定まっていないために、ページめくりの順方向も定まっていないという問題がある。   In other words, the electronic display device has a problem in that the forward direction of page turning is not determined for an electronic book in which vertical and horizontal texts are mixed, because the binding direction is not fixed.

特開2005−274691号公報JP 2005-274691 A

前述のように、綴じ方向が記録されていないような電子書籍を、電子書籍表示装置で表示する場合に、綴じ方向が一意に定まらないことが原因で、綴じ方向情報を利用した操作を行うとき、表示している文章の位置によって、次のページめくりの順方向が左になったり右になったりするという問題があった。   As described above, when an electronic book whose binding direction is not recorded is displayed on the electronic book display device, when the operation using the binding direction information is performed because the binding direction is not uniquely determined. Depending on the position of the displayed text, the forward direction of the next page turning may be left or right.

上記課題を解決するため、この発明の電子書籍用綴じ方向決定装置は、
予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、上記複数の分割範囲の夫々について文字の配列方向が縦であるかまたは横であるかを表す組み方向の情報を上記電子書籍のデータから取得する組み方向情報取得部と、
上記組み方向情報取得部により取得された上記複数の分割範囲の夫々の上記組み方向の情報に基づいて、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲について縦書きの文章量の総計を取得すると共に、上記複数の分割範囲のうちの上記組み方向が横である分割範囲について横書きの文章量の総計を取得する文章量取得部と、
上記文章量取得部により取得された上記縦書きの文章量の総計と上記横書きの文章量の総計に基づいて、上記電子書籍の綴じ方向を決定する綴じ方向決定部と
を備えることを特徴とする。
In order to solve the above problems, a binding direction determination device for an electronic book according to the present invention includes:
The electronic book data is divided into a plurality of division ranges according to a predetermined rule, and information on the composition direction indicating whether the character arrangement direction is vertical or horizontal for each of the plurality of division ranges. A composition direction information acquisition unit to acquire from book data;
Based on the information on the composition direction of each of the plurality of division ranges acquired by the composition direction information acquisition unit, the amount of text written vertically for the division range in which the composition direction is vertical among the plurality of division ranges. And a sentence amount acquisition unit for acquiring a total amount of horizontally written sentences for a divided range in which the combination direction is horizontal among the plurality of divided ranges;
A binding direction determination unit that determines a binding direction of the electronic book based on a total amount of the vertical writing and a total amount of the horizontal writing acquired by the text amount acquisition unit; .

上記構成によれば、組み方向情報取得部によって、予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、複数の分割範囲の夫々について文字の配列方向が縦であるかまたは横であるかを表す組み方向の情報を電子書籍のデータから取得する。ここで、「予め決められた規則」としては、例えば、表紙、目次、表題、本文などの種別で分けたり、さらにその本文を章または段落等で分けたりする方法を定めたものである。そうして、上記組み方向情報取得部により取得された複数の分割範囲の夫々の組み方向の情報に基づいて、文章量取得部は、複数の分割範囲のうちの組み方向が縦である分割範囲について縦書きの文章量の総計を取得すると共に、複数の分割範囲のうちの組み方向が横である分割範囲について横書きの文章量の総計を取得する。この文章量取得部により取得された縦書きの文章量の総計と横書きの文章量の総計に基づいて、綴じ方向決定部により電子書籍の綴じ方向を決定する。例えば、上記横書きの文章量(文字数)の総計よりも縦書きの文章量(文字数)の総計が大きい場合、電子書籍を実際の書籍とみなしたときの表紙の正面視において、右側が綴じられた状態(綴じ方向が「右」)であり、左から右へのページめくりを順方向とする。また、上記縦書きの文章量(文字数)の総計よりも横書きの文章量(文字数)の総計が大きい場合、電子書籍を実際の書籍とみなしたときの表紙の正面視において、左側が綴じられた状態(綴じ方向が「左」)であり、右から左へのページめくりを順方向とする。   According to the above configuration, the composition direction information acquisition unit divides the electronic book data into a plurality of division ranges according to a predetermined rule, and the character arrangement direction is vertical or horizontal for each of the plurality of division ranges. Is obtained from the electronic book data. Here, the “predetermined rule” defines, for example, a method of dividing a cover, table of contents, title, body, etc., and further dividing the body into chapters or paragraphs. Then, based on the information on each of the plurality of division ranges acquired by the combination direction information acquisition unit, the sentence amount acquisition unit includes a division range in which the combination direction of the plurality of division ranges is vertical. A total amount of vertically written text is acquired for a divided range in which the composition direction is horizontal among a plurality of divided ranges. The binding direction determination unit determines the binding direction of the electronic book based on the total of the vertical writing amount and the total of the horizontal writing amount acquired by the writing amount acquisition unit. For example, if the total amount of vertical writing (number of characters) is larger than the total amount of horizontal writing (number of characters), the right side is bound in front view of the cover when the electronic book is regarded as an actual book. State (the binding direction is “right”), and page turning from left to right is defined as the forward direction. In addition, when the total amount of horizontal writing (number of characters) is larger than the total amount of vertical writing (number of characters), the left side is bound in front view of the cover when the electronic book is regarded as an actual book. State (the binding direction is “left”), and page turning from right to left is defined as the forward direction.

このように、電子書籍用綴じ方向決定装置は、縦組み(文が縦書き)と横組み(文が横書き)の文章が混在する電子書籍に対して最適な綴じ方向を決定できる。それ故、この発明の電子書籍用綴じ方向決定装置では、綴じ方向の指定のないフォーマットの電子書籍の綴じ方向を自動で決定することができる。   As described above, the electronic book binding direction determination device can determine an optimal binding direction for an electronic book in which vertical writing (sentence is written vertically) and horizontal writing (sentence is written horizontally). Therefore, the electronic book binding direction determination device of the present invention can automatically determine the binding direction of an electronic book in a format for which no binding direction is specified.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記綴じ方向決定部は、
上記縦書きの文章量の総計が上記横書きの文章量の総計以上か否か判定する文章量判定部と、
上記文章量判定部が上記縦書きの文章量の総計が上記横書きの文章量の総計以上と判定すると、上記電子書籍の綴じ方向を右に決定し、左から右へのページめくり方向を順方向に決定する一方、上記文章量判定部が上記縦書きの文章量の総計が上記横書きの文章量の総計未満であると判定すると、上記電子書籍の綴じ方向を左に決定し、右から左へのページめくり方向を順方向に決定するページめくり方向決定部と
を有する。
Further, in the electronic book binding direction determination device of one embodiment,
The binding direction determination unit
A sentence amount determination unit for determining whether the total amount of the vertically written sentence is greater than or equal to the total amount of the horizontally written sentence;
When the sentence amount determination unit determines that the total amount of the vertically written sentence is greater than or equal to the total amount of the horizontally written sentence, the binding direction of the electronic book is determined to the right, and the page turning direction from left to right is forward. On the other hand, if the sentence amount determination unit determines that the total amount of the vertically written sentence is less than the total amount of the horizontally written sentence, the binding direction of the electronic book is determined to the left and from right to left A page turning direction determining unit that determines the page turning direction of the forward direction.

上記実施形態によれば、綴じ方向決定部の文章量判定部が縦書きの文章量の総計が横書きの文章量の総計以上と判定すると、綴じ方向決定部のページめくり方向決定部は、電子書籍の綴じ方向を「右」に決定し、左から右へのページめくり方向を順方向に決定する。一方、綴じ方向決定部の文章量判定部が縦書きの文章量の総計が横書きの文章量の総計未満であると判定すると、綴じ方向決定部のページめくり方向決定部は、電子書籍の綴じ方向を「左」に決定し、右から左へのページめくり方向を順方向に決定する。これにより、綴じ方向決定部は、電子書籍の綴じ方向とページめくり方向を決定して、電子書籍の綴じ方向およびページめくり方向に基づいて、例えば電子書籍表示装置において最適なページめくりの表示をすることが可能となり、縦書きと横書きが混在した電子書籍であっても、ユーザに快適な読書サービスを提供できる。   According to the embodiment, when the sentence amount determination unit of the binding direction determination unit determines that the total amount of vertically written sentences is equal to or greater than the total amount of horizontally written sentences, the page turning direction determination unit of the binding direction determination unit is an electronic book. Is determined to be “right”, and the page turning direction from left to right is determined to be the forward direction. On the other hand, when the sentence amount determination unit of the binding direction determination unit determines that the total amount of vertical writing is less than the total amount of horizontal writing, the page turning direction determination unit of the binding direction determination unit determines the binding direction of the electronic book. Is determined to be “left”, and the page turning direction from right to left is determined to be the forward direction. Thereby, the binding direction determination unit determines the binding direction and the page turning direction of the electronic book, and displays the optimal page turning on the electronic book display device, for example, based on the binding direction and the page turning direction of the electronic book. This makes it possible to provide a user with a comfortable reading service even for electronic books in which vertical writing and horizontal writing are mixed.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲の総数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲の総数である。
Further, in the electronic book binding direction determination device of one embodiment,
The total amount of vertically written text acquired by the text amount acquisition unit is the total number of division ranges in which the combination direction is vertical among the plurality of division ranges,
The total of the horizontal writing amount acquired by the sentence amount acquisition unit is the total number of divided ranges in which the assembling direction is horizontal among the plurality of divided ranges.

上記実施形態によれば、文章量取得部で取得する縦書きの文章量の総計として、複数の分割範囲のうちの組み方向が縦である分割範囲の総数を用いると共に、文章量取得部で取得する横書きの文章量の総計として、複数の分割範囲のうちの組み方向が横である分割範囲の総数を用いることによって、文章量を高速で求めることができ、電子書籍のデータサイズが大きい場合に特に有用である。   According to the above embodiment, as the total amount of vertically written text acquired by the text amount acquisition unit, the total number of division ranges in which the combination direction is vertical among the plurality of division ranges is used and acquired by the text amount acquisition unit. When the total amount of horizontal writing to be used is the total number of division ranges in which the combination direction is horizontal among a plurality of division ranges, the sentence amount can be obtained at high speed, and the data size of the electronic book is large It is particularly useful.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲のデータの総バイト数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲のデータの総バイト数である。
Further, in the electronic book binding direction determination device of one embodiment,
The sum total of the vertically written sentence amount acquired by the sentence amount acquiring unit is the total number of bytes of data in the divided range in which the combination direction is vertical among the plurality of divided ranges,
The total of the horizontal writing amount acquired by the writing amount acquisition unit is the total number of bytes of data in the divided range in which the combination direction is horizontal among the plurality of divided ranges.

上記実施形態によれば、文章量取得部で取得する縦書きの文章量の総計として、複数の分割範囲のうちの組み方向が縦である分割範囲のデータの総バイト数を用いると共に、文章量取得部で取得する横書きの文章量の総計として、複数の分割範囲のうちの組み方向が横である分割範囲のデータの総バイト数を用いることによって、分割範囲の総数を文章量とするよりも、正確な文章量を得ることができる。ここで、電子書籍の分割範囲毎のデータの総バイト数としては、タグ情報、文字サイズ、画像の位置情報、ルビなどの表示に関係する補足的な情報のバイト数を含んだまま扱うことにより、電子書籍の本文のみを切り出す操作を行うことなく、データサイズから簡単に文章量が得られる。   According to the above embodiment, as the total amount of vertically written text acquired by the text amount acquisition unit, the total number of bytes of data in the divided range in which the combination direction is vertical among the plurality of divided ranges is used, and the amount of text By using the total number of bytes of data in the divided range where the set direction is horizontal among a plurality of divided ranges, as the total amount of horizontally written text acquired by the acquisition unit, the total number of divided ranges is set as the amount of sentences , You can get the correct amount of sentences. Here, the total number of bytes of data for each division range of the electronic book is handled by including the number of bytes of supplementary information related to the display of tag information, character size, image position information, ruby, etc. The amount of text can be easily obtained from the data size without performing an operation of cutting out only the text of the electronic book.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲の総文字数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲の総文字数である。
Further, in the electronic book binding direction determination device of one embodiment,
The sum total of the vertically written sentence amount acquired by the sentence amount acquisition unit is the total number of characters in the divided range in which the combination direction is vertical among the plurality of divided ranges,
The total of the horizontal writing amount acquired by the sentence amount acquisition unit is the total number of characters in the divided range in which the composition direction is horizontal among the plurality of divided ranges.

上記実施形態によれば、文章量取得部で取得する縦書きの文章量の総計として、複数の分割範囲のうちの組み方向が縦である分割範囲の総文字数を用いると共に、文章量取得部で取得する横書きの文章量の総計として、複数の分割範囲のうちの組み方向が横である分割範囲の総文字数を用いることによって、分割範囲のデータの総バイト数を文章量とするよりも、より正確な文章量を得ることができる。   According to the above embodiment, as the total amount of vertically written text acquired by the text amount acquisition unit, the total number of characters in the division range in which the combination direction is vertical among the plurality of division ranges is used, and the text amount acquisition unit By using the total number of characters in the divided range whose horizontal direction is the combination direction among multiple divided ranges as the total amount of horizontal writing to be acquired, it is more than the total number of bytes of data in the divided range as the amount of sentences Accurate sentence volume can be obtained.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲を表示装置に表示するときの総ページ数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲を上記表示装置に表示するときの総ページ数である。
Further, in the electronic book binding direction determination device of one embodiment,
The total amount of the vertically written sentence acquired by the sentence amount acquisition unit is the total number of pages when the division range in which the combination direction is vertical among the plurality of division ranges is displayed on a display device,
The total of the horizontal writing amount acquired by the sentence amount acquisition unit is the total number of pages when the divided range in which the assembling direction is horizontal among the plurality of divided ranges is displayed on the display device.

上記実施形態によれば、文章量取得部で取得する縦書きの文章量の総計として、複数の分割範囲のうちの組み方向が縦である分割範囲を表示装置に表示するときの総ページ数を用いると共に、文章量取得部で取得する横書きの文章量の総計として、複数の分割範囲のうちの組み方向が横である分割範囲を表示装置に表示するときの総ページ数を用いることによって、画像や異なる文字サイズの文章が混在しても、正確な文章量を得ることができる。   According to the above-described embodiment, the total number of pages when the division range in which the combination direction is vertical among the plurality of division ranges is displayed on the display device as the sum total of the vertical writing amount acquired by the sentence amount acquisition unit. By using the total number of pages when displaying the divided range in which the composition direction is horizontal among the plurality of divided ranges on the display device as the total amount of horizontal writing acquired by the sentence amount acquisition unit, the image Even if sentences of different character sizes are mixed, an accurate amount of sentences can be obtained.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記複数の分割範囲の夫々の種別毎に予め設定された重み付け情報を取得する重み付け情報取得部を備え、
上記文章量取得部は、
上記電子書籍のデータの上記複数の分割範囲の夫々について上記縦書きの文章量と上記横書きの文章量を取得する分割範囲文章量取得部と、
上記分割範囲文章量取得部により取得された上記複数の分割範囲の夫々の上記縦書きの文章量と上記横書きの文章量に対して、上記重み付け情報取得部により取得された上記重み付け情報に基づいて重み付けを行う文章量重み付け部と、
上記文章量重み付け部により重み付けされた上記複数の分割範囲の夫々の上記縦書きの文章量と上記横書きの文章量に基づいて、上記縦書きの文章量の総計と上記横書きの文章量の総計を求める文章量総計算出部と
を有する。
Further, in the electronic book binding direction determination device of one embodiment,
A weighting information acquisition unit that acquires weighting information set in advance for each type of the plurality of division ranges,
The above sentence amount acquisition unit
A divided range sentence amount acquisition unit for acquiring the vertical writing amount and the horizontal writing amount for each of the plurality of divided ranges of the electronic book data;
Based on the weighting information acquired by the weighting information acquisition unit for the vertical writing amount and the horizontal writing amount of each of the plurality of division ranges acquired by the division range sentence amount acquisition unit. A sentence weighting unit for weighting;
Based on the vertical writing amount and the horizontal writing amount of each of the plurality of division ranges weighted by the writing amount weighting unit, the total of the vertical writing amount and the horizontal writing amount are calculated. And a total sentence amount calculation section to be obtained.

上記実施形態によれば、文章量取得部の分割範囲文章量取得部は、電子書籍のデータの複数の分割範囲の夫々について縦書きの文章量と横書きの文章量を取得する。そして、分割範囲文章量取得部により取得された複数の分割範囲の縦書きの文章量と横書きの文章量に対して、文章量取得部の文章量重み付け部は、重み付け情報取得部により取得された重み付け情報に基づいて重み付けを行う。そうして、重み付けされた複数の分割範囲の夫々の縦書きの文章量と横書きの文章量に基づいて、文章量取得部の文章量総計算出部は、縦書きの文章量の総計と横書きの文章量の総計を求める。例えば、奥付や表示の重みを0.1とし、本文の重みを1.0とすることにより、本文の文章量を反映させた最適な綴じ方向を決定することができる。   According to the above-described embodiment, the divided range sentence amount acquisition unit of the sentence amount acquisition unit acquires the vertically written sentence amount and the horizontally written sentence amount for each of the plurality of divided ranges of the data of the electronic book. The sentence amount weighting unit of the sentence amount acquisition unit is acquired by the weighting information acquisition unit with respect to the vertical writing amount and the horizontal writing amount of the plurality of divided ranges acquired by the division range sentence amount acquisition unit. Weighting is performed based on the weighting information. Then, based on the vertical writing amount and horizontal writing amount of each of the weighted division ranges, the total writing amount calculation unit of the writing amount acquisition unit calculates the sum of the vertical writing amount and the horizontal writing amount. Find the total amount of text. For example, by setting the imprint and display weight to 0.1 and the text weight to 1.0, it is possible to determine the optimum binding direction that reflects the text amount of the text.

また、一実施形態の電子書籍用綴じ方向決定装置では、
上記電子書籍の言語情報を取得する言語情報取得部を備え、
上記綴じ方向決定部は、上記文章量取得部により取得された上記縦書きの文章量の総計と上記横書きの文章量の総計および上記言語情報取得部により取得された上記電子書籍の上記言語情報に基づいて、上記電子書籍の綴じ方向を決定する。
Further, in the electronic book binding direction determination device of one embodiment,
A language information acquisition unit for acquiring language information of the electronic book;
The binding direction determination unit includes the sum of the vertical writing amount acquired by the sentence amount acquisition unit, the total of the horizontal writing amount, and the language information of the electronic book acquired by the language information acquisition unit. Based on this, the binding direction of the electronic book is determined.

上記実施形態によれば、文章量取得部により取得された縦書きの文章量の総計と横書きの文章量の総計および言語情報取得部により取得された電子書籍の言語情報に基づいて、綴じ方向決定部により電子書籍の綴じ方向を決定することによって、例えば、文章量取得部により取得された縦書きの文章量の総計と横書きの文章量の総計により基本の綴じ方向を判定した後、この基本の綴じ方向と電子書籍の言語毎に設定されている綴じ方向とを組み合わせて、最適な綴じ方向を決定することが可能になる。   According to the embodiment, the binding direction is determined based on the total amount of vertical writing and the total amount of horizontal writing acquired by the text amount acquisition unit and the language information of the electronic book acquired by the language information acquisition unit. By determining the binding direction of the electronic book by the unit, for example, after determining the basic binding direction based on the total of the vertical writing amount and the total of the horizontal writing amount acquired by the sentence amount acquisition unit, It becomes possible to determine the optimum binding direction by combining the binding direction and the binding direction set for each language of the electronic book.

また、この発明の表示装置では、
上記電子書籍用綴じ方向決定装置と、
電子書籍の縦書きおよび横書きの表示が可能で、かつ、上記電子書籍に対して左から右へのページめくりおよび右から左へのページめくりの表示が可能な表示部と、
上記電子書籍用綴じ方向決定装置により決定された上記電子書籍の綴じ方向に基づいて、上記左から右へのページめくりおよび上記右から左へのページめくりの表示を上記表示部に指示するための操作部と
を備えることを特徴とする。
In the display device of the present invention,
The electronic book binding direction determination device;
A display unit capable of displaying vertical and horizontal writing of an electronic book, and capable of displaying page turning from left to right and page turning from right to left with respect to the electronic book;
Based on the binding direction of the electronic book determined by the electronic book binding direction determination device, the display unit is instructed to display the page turning from left to right and the page turning from right to left. And an operation unit.

上記構成によれば、電子書籍用綴じ方向決定装置によって、縦組みと横組みの文章が混在する電子書籍に対して決定された電子書籍の最適な綴じ方向に基づいて、操作部により左から右へのページめくりおよび右から左へのページめくりの表示を表示部に指示することによって、縦書きと横書きが混在した電子書籍であっても、ユーザに快適な読書サービスを提供できる。例えば、上記表示装置の表示部としては、ページをめくるアニメーションやカードがスライドするアニメーションなどを用いて、左から右へのページめくりおよび右から左へのページめくりの表示を行う。また、上記表示装置の操作部としては、十字キーやタッチスクリーンなどを用いてページめくりの操作を行う。   According to the above configuration, from the left to the right by the operation unit based on the optimal binding direction of the electronic book determined by the electronic book binding direction determination device with respect to the electronic book in which the vertically and horizontally written sentences are mixed. By instructing the display unit to display page turning and right-to-left page turning, a comfortable reading service can be provided to the user even for an electronic book in which vertical writing and horizontal writing are mixed. For example, the display unit of the display device displays a page turning from left to right and a page turning from right to left using an animation of turning a page or an animation of sliding a card. As the operation unit of the display device, a page turning operation is performed using a cross key or a touch screen.

また、一実施形態の表示装置では、
パーソナルコンピュータ、携帯情報端末、携帯電話機および電子書籍リーダーのうちのいずれか1つであることを特徴とする。
In the display device of one embodiment,
It is one of a personal computer, a portable information terminal, a mobile phone, and an electronic book reader.

また、この発明の電子書籍用綴じ方向決定方法では、
予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、上記複数の分割範囲の夫々に対して縦書きであるかまたは横書きであるかを表す組み方向の情報を組み方向情報取得部により取得する情報取得ステップと、
上記情報取得ステップにおいて取得された上記複数の分割範囲の夫々の上記組み方向の情報に基づいて、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲について縦書きの文章量の総計を文章量取得部により取得すると共に、上記複数の分割範囲のうちの上記組み方向が横である分割範囲について横書きの文章量の総計を上記文章量取得部により取得する文章量取得ステップと、
上記文章量取得ステップにおいて取得された上記縦書きの文章量の総計と上記横書きの文章量の総計に基づいて、上記電子書籍の綴じ方向を綴じ方向決定部により決定する綴じ方向決定ステップと
を含むことを特徴とする。
In the electronic book binding direction determination method of the present invention,
The electronic book data is divided into a plurality of division ranges according to a predetermined rule, and information on the combination direction indicating whether the writing is vertical writing or horizontal writing is obtained for each of the plurality of division ranges. Information acquisition step to be acquired by the department;
Based on the information on the composition direction of each of the plurality of division ranges acquired in the information acquisition step, the total amount of vertically written sentences for the division range in which the composition direction is vertical among the plurality of division ranges. A sentence amount acquisition step of acquiring, by the sentence amount acquisition unit, a total amount of horizontally written sentences for the divided range in which the combination direction is horizontal among the plurality of divided ranges;
A binding direction determination step of determining a binding direction of the electronic book by a binding direction determination unit based on the total amount of the vertical writing and the total amount of the horizontal writing acquired in the sentence amount acquisition step. It is characterized by that.

上記構成によれば、組み方向情報取得部によって、予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、複数の分割範囲の夫々について縦書きであるかまたは横書きであるかを表す組み方向の情報を取得する。そうして、上記組み方向情報取得部により取得された複数の分割範囲の夫々の組み方向の情報に基づいて、文章量取得部は、複数の分割範囲のうちの組み方向が縦である分割範囲について縦書きの文章量の総計を取得すると共に、複数の分割範囲のうちの組み方向が横である分割範囲について横書きの文章量の総計を取得する。次に、この文章量取得部により取得された縦書きの文章量の総計と横書きの文章量の総計に基づいて、綴じ方向決定部により電子書籍の綴じ方向を決定する。このようにして、縦組みと横組みの文章が混在する電子書籍に対して最適な綴じ方向を決定できる。   According to the above configuration, the composition direction information acquisition unit divides the data of the electronic book into a plurality of division ranges according to a predetermined rule, and determines whether each of the plurality of division ranges is vertical writing or horizontal writing. Get information about the direction of the assembly. Then, based on the information on each of the plurality of division ranges acquired by the combination direction information acquisition unit, the sentence amount acquisition unit includes a division range in which the combination direction of the plurality of division ranges is vertical. A total amount of vertically written text is acquired for a divided range in which the composition direction is horizontal among a plurality of divided ranges. Next, the binding direction of the electronic book is determined by the binding direction determination unit based on the total amount of vertical writing and the total amount of horizontal writing acquired by the text amount acquisition unit. In this way, an optimal binding direction can be determined for an electronic book in which vertical and horizontal texts are mixed.

また、この発明の電子書籍用綴じ方向決定プログラムでは、
上記電子書籍用綴じ方向決定方法の上記各ステップをコンピュータに実行させることを特徴とする。
In the electronic book binding direction determination program of the present invention,
A computer is caused to execute each of the steps of the electronic book binding direction determination method.

上記構成によれば、上記電子書籍用綴じ方向決定方法の上記各ステップをコンピュータに実行させることによって、縦組みと横組みの文章が混在する電子書籍に対して最適な綴じ方向を決定できる。   According to the above configuration, by causing the computer to execute the above steps of the electronic book binding direction determination method, an optimal binding direction can be determined for an electronic book in which vertical writing and horizontal writing are mixed.

また、この発明のコンピュータ読み取り可能な記録媒体では、
上記電子書籍用綴じ方向決定プログラムを記録したことを特徴とする。
In the computer-readable recording medium of the present invention,
The electronic book binding direction determination program is recorded.

上記構成によれば、上記コンピュータ読み取り可能な記録媒体に記録された上記電子書籍用綴じ方向決定プログラムをコンピュータに読み込んで上記電子書籍用綴じ方向決定方法を実行することによって、縦組みと横組みの文章が混在する電子書籍に対して最適な綴じ方向を決定できる。   According to the above configuration, the electronic book binding direction determination program recorded on the computer-readable recording medium is read into a computer and the electronic book binding direction determination method is executed, whereby vertical composition and horizontal composition are performed. An optimal binding direction can be determined for an electronic book in which sentences are mixed.

以上より明らかなように、この発明の電子書籍用綴じ方向決定装置、表示装置、電子書籍用綴じ方向決定方法、電子書籍用綴じ方向決定プログラムコンピュータ読み取り可能な記録媒体によれば、縦組みと横組みの文章が混在する電子書籍に対して最適な綴じ方向を決定できる。   As is clear from the above, according to the electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program of the present invention, the computer-readable recording medium can be An optimal binding direction can be determined for an electronic book in which a set of sentences is mixed.

図1はこの発明の第1実施形態の綴じ方向決定装置を備えた電子書籍リーダーの概略構成を示すブロック図である。FIG. 1 is a block diagram showing a schematic configuration of an electronic book reader provided with a binding direction determining device according to a first embodiment of the present invention. 図2は上記綴じ方向決定装置の動作を説明するための図である。FIG. 2 is a diagram for explaining the operation of the binding direction determination device. 図3は上記綴じ方向決定装置の組み方向情報取得部の動作を説明するためのフローチャートである。FIG. 3 is a flowchart for explaining the operation of the assembly direction information acquisition unit of the binding direction determination device. 図4は上記綴じ方向決定装置の文章量取得部と綴じ方向決定部の動作を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining the operations of the sentence amount acquisition unit and the binding direction determination unit of the binding direction determination device. 図5は上記綴じ方向決定装置の文章量取得部の動作を説明するためのフローチャートである。FIG. 5 is a flowchart for explaining the operation of the sentence amount acquisition unit of the binding direction determination apparatus. 図6はフロー数を文章量として用いる文章量取得部の動作を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining the operation of the sentence amount acquisition unit that uses the number of flows as the sentence amount. 図7はバイト数を文章量として用いる文章量取得部の動作を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining the operation of the sentence amount acquisition unit using the number of bytes as the sentence amount. 図8は文字数を文章量として用いる文章量取得部の動作を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining the operation of the sentence amount acquisition unit using the number of characters as the sentence amount. 図9はページ数を文章量として用いる文章量取得部の動作を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining the operation of the sentence amount acquisition unit that uses the number of pages as the sentence amount. 図10は電子書籍再生部の現在表示しているフローの組み方向を決定する方法を説明するためのフローチャートである。FIG. 10 is a flowchart for explaining a method of determining the combination direction of the currently displayed flow of the electronic book reproducing unit. 図11は綴じ方向決定部の動作を説明するためのフローチャートである。FIG. 11 is a flowchart for explaining the operation of the binding direction determination unit. 図12はコンテンツ表示部の動作を説明するためのフローチャートである。FIG. 12 is a flowchart for explaining the operation of the content display unit. 図13は画像を含むページの表示例を示す図である。FIG. 13 is a diagram illustrating a display example of a page including an image. 図14はこの発明の第2実施形態の綴じ方向決定装置を備えた電子書籍リーダーの概略構成を示すブロック図である。FIG. 14 is a block diagram showing a schematic configuration of an electronic book reader provided with a binding direction determining apparatus according to the second embodiment of the present invention. 図15は電子書籍の本文が3つに分割された第1フロー、第2フロー、第3フローの表示例を示す図である。FIG. 15 is a diagram illustrating a display example of the first flow, the second flow, and the third flow in which the text of the electronic book is divided into three. 図16は綴じ方向が右の実際の書籍の模式図である。FIG. 16 is a schematic diagram of an actual book whose binding direction is right. 図17は綴じ方向が左の実際の書籍の模式図である。FIG. 17 is a schematic diagram of an actual book whose binding direction is left. 図18は図16に示す右綴じ書籍のページめくりの順方向を示す図である。FIG. 18 is a diagram showing the forward direction of page turning of the right-bound book shown in FIG. 図19は図17に示す左綴じ書籍のページめくりの順方向を示す図である。FIG. 19 is a diagram showing the forward direction of page turning of the left-bound book shown in FIG. 図20は上記第1実施形態の電子書籍リーダーの左から右へのページめくりの表示動作を説明する正面図である。FIG. 20 is a front view for explaining the page turning display operation from left to right of the electronic book reader of the first embodiment. 図21は上記電子書籍リーダーの右から左へのページめくりの表示動作を説明する正面図である。FIG. 21 is a front view for explaining the page turning display operation from the right to the left of the electronic book reader.

以下、この発明の電子書籍用綴じ方向決定装置、表示装置、電子書籍用綴じ方向決定方法、電子書籍用綴じ方向決定プログラムおよびコンピュータ読み取り可能な記録媒体を図示の実施の形態により詳細に説明する。   The electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer-readable recording medium according to the present invention will be described below in detail with reference to the illustrated embodiments.

〔第1実施形態〕
図1はこの発明の第1実施形態の綴じ方向決定装置20を備えた電子書籍リーダー1の概略構成を示すブロック図を示している。
[First Embodiment]
FIG. 1 is a block diagram showing a schematic configuration of an electronic book reader 1 including a binding direction determining device 20 according to the first embodiment of the present invention.

この電子書籍リーダー1は、図1に示すように、コンテンツデータ取得部10と、電子書籍用綴じ方向決定装置の一例としての綴じ方向決定装置20と、操作部30と、電子書籍再生部40と、コンテンツ表示部50とを備えている。電子書籍リーダー1は、電子書籍を再生,表示等することが可能な端末機器である。また、綴じ方向決定装置20は、組み方向情報取得部22と、文章量取得部24と、綴じ方向決定部26とを備えている。   As shown in FIG. 1, the electronic book reader 1 includes a content data acquisition unit 10, a binding direction determination device 20 as an example of an electronic book binding direction determination device, an operation unit 30, and an electronic book reproduction unit 40. The content display unit 50 is provided. The electronic book reader 1 is a terminal device that can reproduce and display an electronic book. The binding direction determination device 20 includes a combination direction information acquisition unit 22, a text amount acquisition unit 24, and a binding direction determination unit 26.

また、上記綴じ方向決定部26は、縦書きの文章量の総計が横書きの文章量の総計以上か否か判定する文章量判定部26aと、文章量判定部26aが縦書きの文章量の総計が横書きの文章量の総計以上と判定すると、電子書籍の綴じ方向を右に決定し、左から右へのページめくり方向を順方向に決定する一方、文章量判定部26aが縦書きの文章量の総計が横書きの文章量の総計未満であると判定すると、電子書籍の綴じ方向を左に決定し、右から左へのページめくり方向を順方向に決定するページめくり方向決定部26bとを有する。   In addition, the binding direction determination unit 26 includes a text amount determination unit 26a that determines whether or not the total amount of vertical writing is equal to or greater than the total amount of horizontal writing, and the text amount determination unit 26a determines the total amount of vertical writing. Is determined to be greater than or equal to the total amount of horizontally written text, the binding direction of the electronic book is determined to the right and the page turning direction from left to right is determined to be the forward direction. A page turning direction determining unit 26b that determines the binding direction of the electronic book to the left and the page turning direction from the right to the left in the forward direction. .

まず、綴じ方向決定装置20の概略を説明する。なお、理解の容易のため、最初に綴じ方向決定装置20の概略動作を説明し、その次に、綴じ方向決定装置20を内蔵する電子書籍リーダー1の詳細動作およびその効果等について説明する。   First, an outline of the binding direction determination device 20 will be described. For ease of understanding, the schematic operation of the binding direction determination device 20 will be described first, and then the detailed operation and effects of the electronic book reader 1 incorporating the binding direction determination device 20 will be described.

ここで、この第1実施形態では、綴じ方向決定装置20は、電子書籍リーダー1に内蔵されているものとして説明する。しかしながら、綴じ方向決定装置20は、電子書籍リーダー1に外付けされてもよいし、また、電子書籍リーダー1ではなく、パーソナルコンピュータや携帯情報端末(PDA(Personal Digital Assistant:パーソナル・デジタル・アシスタント))、携帯電話等の表示装置に内蔵または外付けされる構成で実現されてもよい。   Here, in this 1st Embodiment, the binding direction determination apparatus 20 demonstrates as what is incorporated in the electronic book reader 1. FIG. However, the binding direction determination device 20 may be externally attached to the electronic book reader 1, or not the electronic book reader 1 but a personal computer or a personal digital assistant (PDA (Personal Digital Assistant)). ), Or a configuration that is built in or externally attached to a display device such as a mobile phone.

上記第1実施形態における電子書籍のデータのフォーマットについて説明する。この電子書籍のデータは、表紙、タイトル、著者および本文の情報を持つ。電子書籍のデータは、必ず任意の1つ以上の分割範囲に分けられ、この分割範囲の呼称を「フロー」という。フローは、電子書籍の表紙から順番通りに並び、番号が設定され、その番号は自然数である。また、各フローには組み方向が、「横」、「縦」、「規定なし」の三つの値の内のいずれかが設定されている。電子書籍のデータが上記以外に持つ情報は、デフォルト(予め用意された標準値)の組み方向と、各フローの組み方向と、各フローの文章量である。   The data format of the electronic book in the first embodiment will be described. This electronic book data has information on the cover, title, author, and text. The electronic book data is always divided into one or more arbitrary divided ranges, and the name of the divided ranges is called “flow”. The flows are arranged in order from the cover of the electronic book, numbers are set, and the numbers are natural numbers. In addition, each flow is set with any one of three values of “horizontal”, “vertical”, and “unspecified” as the assembly direction. Information other than that described above in the electronic book data includes the default (standard value prepared in advance) composition direction, the composition direction of each flow, and the text amount of each flow.

例えば、図15では、電子書籍の本文が3つに分割された第1フロー、第2フロー、第3フローの例を上側に示し、その第1〜第3フローをコンテンツ表示部50により表示したときのページ構成を下側に示している。ここで、文字数の多い第1フローは第1ページと第2ページに縦書きで表示され、文字数の少ない第2フローは第3ページに横書きで表示され、文字数の多い第3フローは第4ページと第5ページに縦書きで表示される。   For example, in FIG. 15, examples of the first flow, the second flow, and the third flow in which the text of the electronic book is divided into three are shown on the upper side, and the first to third flows are displayed by the content display unit 50. The page structure at the time is shown below. Here, the first flow with a large number of characters is displayed in vertical writing on the first page and the second page, the second flow with a small number of characters is displayed in horizontal writing on the third page, and the third flow with a large number of characters is displayed on the fourth page. Are displayed vertically on the fifth page.

ただし、このような電子書籍のデータのフォーマットは一例であって、本発明の他の実施形態としては、単にHTML(HyperText Markup Language)のようなタグ付けによる縦書き、横書きの指定を行っただけの電子書籍のデータでも構わない。この場合でも、電子書籍のデータを組み方向別に任意の分割範囲(フロー)に分けることができ、かつ、文章量も算出できるため、本発明の組み方向情報取得部と文章量取得部の条件を満たす。さらに、電子書籍は、表紙、目次、表題、本文などの種類や、本文内の章、段楽等の各種の条件に応じて各々別の種類のフローとして作成される。   However, the format of such electronic book data is merely an example. In another embodiment of the present invention, vertical writing or horizontal writing is simply specified by tagging such as HTML (HyperText Markup Language). Data of e-books can be used. Even in this case, since the data of the electronic book can be divided into arbitrary division ranges (flows) according to the composition direction, and the amount of text can also be calculated, the conditions of the composition direction information acquisition unit and the text amount acquisition unit of the present invention are set. Fulfill. Further, the electronic book is created as a flow of a different type according to various types of conditions such as a cover, a table of contents, a title, and a text, and various conditions such as chapters and music in the text.

図2は綴じ方向決定装置20の概略動作を説明するための図であり、図2(a)は、電子書籍リーダー1に綴じ方向決定装置20が組み込まれていない場合に、次のような電子書籍のデータを再生したときの動作を示している。   FIG. 2 is a diagram for explaining the schematic operation of the binding direction determination device 20. FIG. 2A illustrates the following electronic device when the binding direction determination device 20 is not incorporated in the electronic book reader 1. An operation when the book data is reproduced is shown.

すなわち、デフォルトの組み方向が「縦」であり、フローが3つ存在して、第2フローに組み方向が「横」と設定されている電子書籍のデータである。   That is, this is data of an electronic book in which the default composition direction is “vertical”, there are three flows, and the composition direction is set to “horizontal” in the second flow.

このとき、電子書籍再生部40は、現在再生しているフローの組み方向によって現在のページめくりの順方向を決定する。現実の書籍にならって、組み方向が「縦」ならばページめくりの順方向を左から右とし、組み方向が「横」ならばページめくりの順方向を右から左とする。そうすると、図2(a)では、第2フローのみがページめくりの順方向が右から左となってしまう。このため、例えば、ユーザはまず第1フローを左から右にページをめくった後、第2フローに進み、ここで前ページと同じ方向にめくればよいと期待して左から右にページをめくった場合は、第2フローでは左は逆方向に相当するため、その前の第1フローに戻ってしまう。こうした操作結果は、現実の書籍のページめくりに反しているため、ユーザはこの操作結果に不快感を覚える。   At this time, the electronic book reproducing unit 40 determines the forward direction of the current page turning according to the composition direction of the currently reproduced flow. According to an actual book, if the assembling direction is “vertical”, the forward direction of page turning is from left to right, and if the assembling direction is “horizontal”, the forward direction of page turning is from right to left. Then, in FIG. 2A, only the second flow has the forward direction of page turning from right to left. For this reason, for example, the user first turns the page from left to right in the first flow, then proceeds to the second flow, and turns the page from left to right in the hope of turning in the same direction as the previous page. In this case, since the left corresponds to the reverse direction in the second flow, the flow returns to the previous first flow. Since such an operation result is contrary to the page turning of an actual book, the user feels uncomfortable with the operation result.

一方、図2(b)は、電子書籍リーダー1に綴じ方向決定装置20を組み込んだ場合に、同じ電子書籍のデータを再生したときの動作を示している。ページめくりの順方向がどのページでも同じ方向に変更されている。   On the other hand, FIG. 2B shows an operation when data of the same electronic book is reproduced when the binding direction determining device 20 is incorporated in the electronic book reader 1. The page turning forward direction is changed to the same direction on every page.

綴じ方向決定装置20は、電子書籍のデータに予め指定されたデフォルトの組み方向と、各フローの組み方向および各フローの文章量を取得する。そして、組み方向が「縦」の文章の文章量の総計と、組み方向が「横」の文章の文章量の総計とを算出して、文章量の総計が多い方の組み方向を電子書籍全体の組み方向とみなす。そして、電子書籍全体の組み方向が「縦」ならば綴じ方向を右とし、電子書籍全体の組み方向が「横」ならば綴じ方向を左として、電子書籍全体でページめくりの順方向を一定のものにする。   The binding direction determination device 20 acquires a default combination direction specified in advance in the electronic book data, a combination direction of each flow, and a text amount of each flow. Then, calculate the sum of the text amount of the sentences whose composition direction is “vertical” and the sum of the text quantities of the sentences whose composition direction is “horizontal”, and determine the composition direction of the sentence with the larger sum of text amounts as the whole e-book. It is considered as the direction of assembly. If the entire electronic book is set to “vertical”, the binding direction is set to the right, and if the entire electronic book is set to “horizontal”, the binding direction is set to the left. Make things.

ここで、実際の書籍の場合の綴じ方向について説明する。図16は綴じ方向が右の実際の書籍(組み方向が「縦」)の模式図を示しており、図17は綴じ方向が左の書籍(組み方向が「横」)の模式図を示している。図16に示す右綴じの書籍のページめくりの順方向は、図18に示すように、左から右にページをめくる方向である。一方、図17に示す左綴じの書籍のページめくりの順方向は、図19に示すように、右から左にページをめくる方向である。   Here, the binding direction in the case of an actual book will be described. 16 shows a schematic diagram of an actual book with the binding direction on the right (the assembly direction is “vertical”), and FIG. 17 shows a schematic diagram of the book with the binding direction on the left (the assembly direction is “horizontal”). Yes. The forward direction of the page turning of the right-bound book shown in FIG. 16 is the direction of turning the page from left to right as shown in FIG. On the other hand, the forward direction of the page turning of the left-bound book shown in FIG. 17 is the direction of turning the page from right to left as shown in FIG.

これに対して、図20,図21は第1実施形態の電子書籍リーダー1のページめくりの表示動作を説明するための図である。図20に示すように、電子書籍リーダー1のコンテンツ表示部50の表示画面(液晶ディスプレイのタッチパネル部)を指先で左から右になぞることによって、左から右にページめくりが行われ、実際のページめくりを模したアニメーションを表示する。また、図21に示すように、電子書籍リーダー1のコンテンツ表示部50の表示画面(液晶ディスプレイのタッチパネル部)を指先で右から左になぞることによって、右から左にページめくりが行われ、実際のページめくりを模したアニメーションを表示する。   On the other hand, FIG. 20, FIG. 21 is a figure for demonstrating the display operation of the page turning of the electronic book reader 1 of 1st Embodiment. As shown in FIG. 20, by turning the display screen (touch panel portion of the liquid crystal display) of the content display unit 50 of the electronic book reader 1 from left to right with a fingertip, the page is turned from left to right, and the actual page is displayed. An animation that mimics turning is displayed. Further, as shown in FIG. 21, the page is turned from right to left by tracing the display screen (touch panel portion of the liquid crystal display) of the content display unit 50 of the electronic book reader 1 from the right to the left with a fingertip. Displays an animation that mimics page turning.

次に、電子書籍リーダー1の各部の詳細を説明する。なお、綴じ方向の決定は、その性質上、ページめくりの操作を行う前に処理しておく必要がある。したがって、電子書籍リーダー1で電子書籍のファイルを新たに開いた後、電子書籍の表示を開始する前に綴じ方向の決定が行われる。   Next, details of each part of the electronic book reader 1 will be described. The determination of the binding direction needs to be processed before performing the page turning operation due to its nature. Therefore, after the electronic book file is newly opened by the electronic book reader 1, the binding direction is determined before the display of the electronic book is started.

コンテンツデータ取得部10は、パーソナルコンピュータや携帯情報端末(PDA)、携帯電話などで再生、表示可能な電子書籍のデータを含むコンテンツデータを取得する。電子書籍のデータには、概略動作で説明した情報が含まれている。   The content data acquisition unit 10 acquires content data including electronic book data that can be reproduced and displayed by a personal computer, a personal digital assistant (PDA), a mobile phone, or the like. The electronic book data includes information described in the outline operation.

ここで、理解を容易にするためにページという概念について説明する。第1実施形態における電子書籍のデータのフォーマットにおいては、電子書籍はページという単位で文章を保持していない。ページめくりによる操作およびページめくりの表示は、あたかも現実の書籍と同じように新しいページをめくっているとユーザの目には映る。しかし、実際は、電子書籍リーダー1が表示する文章の開始位置を変えて、新しくそこから文章を表示しているだけである。ページという単位や概念は、第1実施形態における電子書籍にはない。以下、ページめくりで「ページ」という単語は、コンテンツ表示部50に一度に表示できる、すなわちページめくりを行わないままで表示できる文章か、またはコンテンツ表示部50に表示されている画像そのものを指す。なお、電子書籍の「フローのページ数」と言った場合は、そのフローを最初から最後まですべて表示するのに要するページの数を意味する。ただし、上記は第1実施形態における例であって、電子書籍がページという単位で文章、画像その他の情報を保持していても、電子書籍が綴じ方向を記録していない限りは、本発明の綴じ方向決定装置は有効である。   Here, the concept of a page will be described in order to facilitate understanding. In the electronic book data format in the first embodiment, the electronic book does not hold a sentence in units of pages. The operation by page turning and the display of page turning appear to the user's eyes as if turning a new page as if it were a real book. However, actually, the start position of the text displayed by the electronic book reader 1 is changed and the text is newly displayed from there. There is no unit or concept of page in the electronic book in the first embodiment. Hereinafter, the word “page” in page turning refers to a sentence that can be displayed on the content display unit 50 at a time, that is, a page that can be displayed without page turning, or an image displayed on the content display unit 50 itself. Note that the “number of pages in a flow” of an electronic book means the number of pages required to display all of the flow from the beginning to the end. However, the above is an example in the first embodiment, and even if the electronic book holds text, images, and other information in units of pages, as long as the electronic book does not record the binding direction, The binding direction determination device is effective.

電子書籍再生部40は、表示する文章の組み方向を決定する。また、表示する文章の開始位置を保持しており、ページめくりの操作が行われるたびに更新を行う。また、ページめくりされるたびに現在のページと、ひとつ前のページと、ひとつ次のページの文章内容を描画して画像を生成して、これをコンテンツ表示部50に渡す。   The electronic book reproducing unit 40 determines the text composition direction to be displayed. In addition, it holds the start position of the text to be displayed and updates it whenever a page turning operation is performed. Further, every time the page is turned, the text content of the current page, the previous page, and the next page is drawn to generate an image, which is passed to the content display unit 50.

電子書籍再生部40がどのようにして現在表示しているフローの組み方向を決定するかについて説明する。電子書籍のデータが持つフローの組み方向およびデフォルトの組み方向は、「規定なし」、「縦」、「横」の3つのうちのどれかを表す値をとる。これらの値をコンテンツデータ取得部10から取得する。そして、電子書籍再生部40自身が持つ通常の組み方向は、電子書籍のデータに関わらず縦に固定されている。   A description will be given of how the electronic book reproducing unit 40 determines the combination direction of the currently displayed flow. The flow composition direction and the default composition direction possessed by the data of the electronic book take a value representing one of the three, “unspecified”, “vertical”, and “horizontal”. These values are acquired from the content data acquisition unit 10. The normal assembling direction of the electronic book reproducing unit 40 itself is fixed vertically regardless of the data of the electronic book.

まず、表示するフローに設定されている組み方向が「規定なし」でないなら、その組み方向がそのまま表示する文章の組み方向となる。フローの組み方向が「規定なし」ならば、次に電子書籍のデータの持つデフォルトの組み方向を読みに行く。これが「規定なし」でないなら、その電子書籍のデータの持つデフォルトの組み方向がそのまま表示する文章の組み方向となる。「規定なし」ならば、電子書籍再生部40自身が持つ通常の組み方向が、表示する文章の組み方向となる。   First, if the composition direction set in the flow to be displayed is not “no specification”, the composition direction is the composition direction of the text to be displayed as it is. If the flow composition direction is “no specification”, then the default composition direction of the electronic book data is read. If this is not “no specification”, the default composition direction of the electronic book data is the composition direction of the displayed text as it is. If “no regulation”, the normal text composition direction of the electronic book reproducing unit 40 itself is the text composition direction to be displayed.

図10に示すフローチャートに従って表示する文章の組み方向を決定する電子書籍再生部40の動作を説明する。   The operation of the electronic book reproducing unit 40 for determining the text composition direction to be displayed according to the flowchart shown in FIG. 10 will be described.

まず、電子書籍再生部40は、ステップS71において、現在表示している第iフローを取得する。   First, in step S71, the electronic book reproducing unit 40 acquires the i-th flow currently displayed.

次に、ステップS72に進み、組み方向のデフォルト値dを取得する。次に、ステップS73に進み、ユーザー設定組み方向の値uを取得する。ここで、「ユーザー設定組み方向」の値uとは、ユーザーにより任意に設定された「縦」か「横」の2値のどちらかである。   Next, the process proceeds to step S72, and the default value d of the assembling direction is acquired. Next, proceeding to step S73, the value u of the user setting combination direction is acquired. Here, the value u of the “user setting combination direction” is either “vertical” or “horizontal” which is arbitrarily set by the user.

次に、ステップS74に進み、第iフローの組み方向が「規定なし」であると判定すると、ステップS75に進む一方、第iフローの組み方向が「規定なし」でないと判定すると、この処理を終了して、第iフローの組み方向が用いられる。   Next, the process proceeds to step S74, and if it is determined that the composition direction of the i-th flow is “no definition”, the process proceeds to step S75, and if it is determined that the composition direction of the i-th flow is not “no definition”, this process is performed. At the end, the assembly direction of the i-th flow is used.

そして、ステップS75では、組み方向のデフォルト値dが「規定なし」であると判定すると、ステップS78に進み、第iフローの組み方向を、ユーザー設定組み方向の値uに設定して、この処理を終了する。すなわち、デフォルトの組み方向がない書籍で、かつ、フローの組み方向が設定されていないフローがあるという条件の時のみ、「ユーザー設定組み方向」の値uが参照され、この条件のときのフローの組み方向を、「ユーザー設定組み方向」の「縦」か「横」の2値のどちらかとする。   In step S75, if it is determined that the default value d of the composition direction is “no specification”, the process proceeds to step S78, where the composition direction of the i-th flow is set to the value u of the user-defined composition direction, and this process is performed. Exit. That is, the value u of “user setting direction” is referred only when there is a book that does not have a default composition direction and there is a flow in which the composition direction of the flow is not set. Is set to either “vertical” or “horizontal” of “user setting assembling direction”.

一方、ステップS75で組み方向のデフォルト値dが「規定なし」でないと判定すると、ステップS76に進み、組み方向のデフォルト値dが「縦」か否かを判定する。   On the other hand, if it is determined in step S75 that the default value d in the assembling direction is not “no specification”, the process proceeds to step S76, and it is determined whether or not the default value d in the assembling direction is “vertical”.

そして、ステップS76で組み方向のデフォルト値dが「縦」であると判定すると、ステップS79に進み、第iフローの組み方向を「縦」に設定して、この処理を終了する。一方、ステップS76で組み方向のデフォルト値dが「縦」でないと判定すると、ステップS77に進み、第iフローの組み方向を「横」に設定して、この処理を終了する。   If it is determined in step S76 that the default value d of the assembling direction is “vertical”, the process proceeds to step S79, where the assembling direction of the i-th flow is set to “vertical”, and this process ends. On the other hand, if it is determined in step S76 that the default value d of the assembling direction is not “vertical”, the process proceeds to step S77, where the assembling direction of the i-th flow is set to “horizontal”, and this process ends.

また、操作部30は、実際に人の手によってページめくりの操作を受け付ける装置であり、ページめくりの操作を、左から右にめくるか右から左にめくるかで指示できる。   The operation unit 30 is a device that actually receives a page turning operation by a human hand, and can instruct the page turning operation by turning from left to right or from right to left.

また、コンテンツ表示部50は、電子書籍再生部40から現在のページの画像と、1つ前のページの画像と、1つ次のページの画像を取得する。また、コンテンツ表示部50は、綴じ方向決定装置20から綴じ方向を取得する。そして、操作部30でページめくりの操作が行われた時は、左から右にページをめくったか右から左にページをめくったかを、操作部30からコンテンツ表示部50に通知される仕組みになっている。操作部30がページめくりの操作を受けていない時は、コンテンツ表示部50は、現在のページの画像をそのまま表示する。操作部30からページめくりの操作を通知されたら、コンテンツ表示部50は、まず順方向にページがめくられたなら、現在のページと1つ次のページの画像を合成させて表示し、ページめくりを視覚的に表現する。逆方向にページがめくられたなら、現在のページと1つ前のページの画像を合成させて表示し、現実のページめくりを模したアニメーションを表示する。このアニメーションは、実際に書籍の紙面が1枚めくられるように表示される動画である。なお、このアニメーションは、現ページの表示から次ページの表示にスライドしながら変わるものでもよく、ページめくりが行われていることがユーザーに認識されるような他の表示形態であってもよい。   In addition, the content display unit 50 acquires an image of the current page, an image of the previous page, and an image of the next page from the electronic book reproduction unit 40. In addition, the content display unit 50 acquires the binding direction from the binding direction determination device 20. Then, when a page turning operation is performed on the operation unit 30, the content display unit 50 is notified from the operation unit 30 whether the page is turned from left to right or the page is turned from right to left. ing. When the operation unit 30 has not received a page turning operation, the content display unit 50 displays the image of the current page as it is. When the page turning operation is notified from the operation unit 30, the content display unit 50, when the page is first turned in the forward direction, displays the current page and the image of the next page combined and displayed. Is expressed visually. If the page is turned in the reverse direction, the current page and the image of the previous page are combined and displayed, and an animation simulating actual page turning is displayed. This animation is a moving image that is displayed so that the page of the book is actually turned. This animation may be changed while sliding from the display of the current page to the display of the next page, or may be another display form that allows the user to recognize that the page is being turned.

図12にコンテンツ表示部50の動作を説明するためのフローチャートを示している。   FIG. 12 shows a flowchart for explaining the operation of the content display unit 50.

まず、コンテンツ表示部50は、ステップS91において、電子書籍再生部40から電子書籍の綴じ方向を取得する。   First, the content display part 50 acquires the binding direction of an electronic book from the electronic book reproduction | regeneration part 40 in step S91.

次に、ステップS92に進み、操作部30からページめくりの操作が通知されたか否かを判定する。そして、ステップS92で操作部30からページめくりの操作が通知されたと判定すると、ステップS93に進む一方、操作部30からページめくりの操作が通知されていないと判定すると、ステップS92を繰り返す。   In step S92, it is determined whether or not a page turning operation is notified from the operation unit 30. If it is determined in step S92 that a page turning operation has been notified from the operation unit 30, the process proceeds to step S93. On the other hand, if it is determined that a page turning operation has not been notified from the operation unit 30, step S92 is repeated.

そして、ステップS93では、操作部30から通知されたページめくりの操作が左から右へのページめくりであると判定すると、ステップS95に進む一方、操作部30から通知されたページめくりの操作が左から右へのページめくりでないと判定すると、ステップS94に進む。   In step S93, if it is determined that the page turning operation notified from the operation unit 30 is page turning from left to right, the process proceeds to step S95, while the page turning operation notified from the operation unit 30 is left. If it is determined that the page is not turned from right to right, the process proceeds to step S94.

ステップS95で電子書籍の綴じ方向が右であると判定すると、ステップS97に進み、順方向のページめくり表示をして、この処理を終了する。   If it is determined in step S95 that the binding direction of the electronic book is right, the process proceeds to step S97, where the page turning display in the forward direction is performed, and this process ends.

一方、電子書籍の綴じ方向が右でないと判定すると、ステップS96に進み、逆方向のページめくり表示をして、この処理を終了する。   On the other hand, if it is determined that the binding direction of the electronic book is not right, the process proceeds to step S96, where the page turning display in the reverse direction is performed, and this process ends.

また、ステップS94では、電子書籍の綴じ方向が左であると判定すると、ステップS97に進む一方、電子書籍の綴じ方向が左でないと判定すると、ステップS96に進む。   In step S94, if it is determined that the binding direction of the electronic book is left, the process proceeds to step S97. On the other hand, if it is determined that the binding direction of the electronic book is not left, the process proceeds to step S96.

綴じ方向決定装置20は、コンテンツデータ取得部10から、デフォルトの組み方向と、各フローの組み方向と、各フローの文章量を取得して、このデフォルトの組み方向と各フローの組み方向と各フローの文章量に基づいて電子書籍の綴じ方向を決定する。そして、綴じ方向決定装置20は、決定した綴じ方向をコンテンツ表示部50に渡す。   The binding direction determination device 20 acquires the default composition direction, the composition direction of each flow, and the text amount of each flow from the content data acquisition unit 10, and the default composition direction, the composition direction of each flow, and each flow The binding direction of the electronic book is determined based on the text amount of the flow. Then, the binding direction determination device 20 passes the determined binding direction to the content display unit 50.

この第1実施形態では、コンテンツ表示部50に現実のページめくりを模したアニメーションを表現できるものを採用すると共に、操作部30左から右にページをめくるか右から左にページをめくるかを指示するものを採用したが、本発明を実施する際は、次の(1),(2)のどちらか一方の条件を満たしていればよい。   In the first embodiment, the content display unit 50 adopts an animation that can simulate an actual page turning, and instructs the operation unit 30 to turn pages from left to right or from right to left. However, when carrying out the present invention, it is sufficient if either one of the following conditions (1) and (2) is satisfied.

(1) コンテンツ表示部50は、右から左にページをめくったか、左から右にページをめくったかを視覚的に表現する。   (1) The content display unit 50 visually represents whether the page is turned from right to left or whether the page is turned from left to right.

(2) 操作部30は、ページめくりの方向を、順方向か逆方向かではなくて、左から右へのページめくりか右から左へのページめくりかを指示する。   (2) The operation unit 30 instructs the page turning direction from left to right or right to left, not the forward direction or the reverse direction.

例えば、上記(1)の条件を満たしていれば、操作部30は順方向か逆方向かのみを指示する単純なスイッチの機構でも構わない。また、上記(2)の条件を満たしていれば、上記(1)の条件は単に瞬間的に現在のページの画像から次のページの画像に表示が切り替わるものでも構わない。なぜなら、上記(1)と(2)の条件を両方とも満たしていないなら、その電子書籍リーダーはページめくりを表現しようという機能を持ち合わせておらず、図2(a)で説明したような不快な操作をユーザに体験させる事はないからである。   For example, as long as the condition (1) is satisfied, the operation unit 30 may be a simple switch mechanism that instructs only the forward direction or the reverse direction. Further, as long as the condition (2) is satisfied, the condition (1) may be that the display from the current page image is instantaneously switched to the next page image. Because, if both of the above conditions (1) and (2) are not satisfied, the e-book reader does not have the function of expressing page turning and is uncomfortable as explained in Fig. 2 (a). This is because the user is not allowed to experience the operation.

次に、綴じ方向決定装置20の実際の動作を説明する。   Next, the actual operation of the binding direction determination device 20 will be described.

<組み方向の情報の取得>
図1に示す組み方向情報取得部22は、コンテンツデータ取得部10から、デフォルトの組み方向と、各フローの組み方向を取得する。このデフォルトの組み方向および各フローの組み方向から、最終的に「縦」か「横」のどちらの組み方向で各フローの文章を表示するかを決定する。フローの組み方向が「縦」か「横」なら、それをそのままフローの組み方向とみなし、「規定なし」ならば、デフォルトの組み方向をフローの組み方向とみなす。さらに、デフォルトの組み方向も「規定なし」ならば、フローの組み方向は、「ユーザー設定組み方向」とする。
<Acquisition of assembly direction information>
The composition direction information acquisition unit 22 illustrated in FIG. 1 acquires the default composition direction and the composition direction of each flow from the content data acquisition unit 10. From the default composition direction and the composition direction of each flow, it is finally determined whether the text of each flow is displayed in the composition direction of “vertical” or “horizontal”. If the flow composition direction is “vertical” or “horizontal”, it is regarded as the flow composition direction as it is, and if it is “not specified”, the default composition direction is regarded as the flow composition direction. Further, if the default composition direction is also “no specification”, the composition direction of the flow is “user setting composition direction”.

図3に綴じ方向決定装置20の組み方向情報取得部22の動作を説明するためのフローチャートを示している。   FIG. 3 shows a flowchart for explaining the operation of the assembly direction information acquisition unit 22 of the binding direction determination device 20.

まず、組み方向情報取得部22は、ステップS1において、組み方向のデフォルト値dを取得する。次に、ステップS2に進み、ユーザー設定組み方向の値uを取得する。   First, the assembly direction information acquisition unit 22 acquires a default value d of the assembly direction in step S1. Next, proceeding to step S2, the value u of the user setting combination direction is acquired.

次に、ステップS3に進み、全フロー数nを取得する。   Next, it progresses to step S3 and the total number n of flows is acquired.

次に、ステップS4に進み、第iフローの組み方向が「規定なし」であると判定すると、ステップS5に進む一方、第iフローの組み方向が「規定なし」でないと判定すると、第iフローをインクリメントした後、第iフローがn未満であればステップS4に戻り、第iフローがnであればこの処理を終了する。   Next, the process proceeds to step S4, and if it is determined that the composition direction of the i-th flow is “no definition”, the process proceeds to step S5, whereas if it is determined that the composition direction of the i-th flow is not “no definition”, the i-th flow If the i-th flow is less than n, the process returns to step S4. If the i-th flow is n, the process ends.

そして、ステップS5では、組み方向のデフォルト値dが「規定なし」であると判定すると、ステップS8に進み、第iフローの組み方向を、ユーザー設定組み方向の値uに設定して、第iフローをインクリメントした後、第iフローがn未満であればステップS4に戻り、第iフローがnであればこの処理を終了する。   In step S5, if it is determined that the default value d of the composition direction is “no regulation”, the process proceeds to step S8, where the composition direction of the i-th flow is set to the value u of the user-set composition direction, and After incrementing the flow, if the i-th flow is less than n, the process returns to step S4, and if the i-th flow is n, the process is terminated.

一方、ステップS5で組み方向のデフォルト値dが「規定なし」でないと判定すると、ステップS6に進み、組み方向のデフォルト値dが「縦」か否かを判定する。   On the other hand, if it is determined in step S5 that the default value d in the assembling direction is not “no specification”, the process proceeds to step S6, and it is determined whether or not the default value d in the assembling direction is “vertical”.

そして、ステップS6で組み方向のデフォルト値dが「縦」であると判定すると、ステップS9に進み、第iフローの組み方向を「縦」に設定して、第iフローをインクリメントした後、第iフローがn未満であればステップS4に戻り、第iフローがnであればこの処理を終了する。   If it is determined in step S6 that the default value d of the composition direction is “vertical”, the process proceeds to step S9, the composition direction of the i-th flow is set to “vertical”, the i-th flow is incremented, If the i-flow is less than n, the process returns to step S4, and if the i-th flow is n, the process ends.

一方、組み方向のデフォルト値dが「縦」でないと判定すると、ステップS7に進み、第iフローの組み方向を「横」に設定して、第iフローをインクリメントした後、第iフローがn未満であればステップS4に戻り、第iフローがnであればこの処理を終了する。   On the other hand, if it is determined that the default value d of the composition direction is not “vertical”, the process proceeds to step S7, the composition direction of the i-th flow is set to “horizontal”, and the i-th flow is incremented. If the i-th flow is n, the process is terminated.

<文章量の取得>
図4は上記文章量取得部24と綴じ方向決定部26の動作を説明するためのフローチャートを示しており、図4に示すように、ステップS11で縦書きの文章量nr_downと横書きの文章量nr_rightを夫々0に設定する。次に、ステップS12に進み、文章量取得部24は、文章量を算出する。より詳しくは、文章量取得部24は、組み方向情報取得部22から各フローの組み方向を取得して、縦書きの文章量の総計と、横書きの文章量の総計を算出する。このとき、組み方向情報取得部22から縦書きのフローがどれだけの数あるか、横書きのフローがどれだけの数あるかを算出し、これをそのまま縦書きの文章量の総計と、横書きの文章量の総計とみなす。
<Acquisition of text amount>
FIG. 4 is a flowchart for explaining the operations of the sentence amount acquisition unit 24 and the binding direction determination unit 26. As shown in FIG. 4, in step S11, the vertical writing amount nr_down and the horizontal writing amount nr_right are shown. Are set to 0 respectively. Next, it progresses to step S12 and the text amount acquisition part 24 calculates a text amount. More specifically, the sentence amount acquisition unit 24 acquires the composition direction of each flow from the composition direction information acquisition unit 22 and calculates the sum of the vertical writing amount and the sum of the horizontal writing amount. At this time, the number of vertical writing flows and the number of horizontal writing flows are calculated from the composition direction information acquisition unit 22, and the total amount of vertical writing and the horizontal writing flow are calculated as they are. Consider the total amount of text.

次に、ステップS13に進み、綴じ方向決定部26により綴じ方向を決定する。   In step S13, the binding direction determination unit 26 determines the binding direction.

図5は上記綴じ方向決定装置20の文章量取得部24の動作を説明するためのフローチャートを示している。また、図6はフロー数を文章量として用いる文章量取得部24の動作を説明するためのフローチャートを示している。図5と図6のどちらも、縦書きの文章量はnr_downという変数で、横書きの文章量はnr_rightという変数で表される(初期値0)。また、図5では、第iフローが0,1,2,…,nについてステップS21〜S24を繰り返す(nは組み方向情報取得部22で取得された全フロー数)。   FIG. 5 is a flowchart for explaining the operation of the sentence amount acquisition unit 24 of the binding direction determination device 20. FIG. 6 is a flowchart for explaining the operation of the sentence amount acquisition unit 24 using the number of flows as the sentence amount. In both FIG. 5 and FIG. 6, the vertical writing amount is represented by a variable nr_down, and the horizontal writing amount is represented by a variable nr_right (initial value 0). 5, the steps S21 to S24 are repeated for the i-th flow of 0, 1, 2,..., N (n is the total number of flows acquired by the assembly direction information acquisition unit 22).

まず、図5に示すように、文章量取得部24は、ステップS21で第iフローの文章量nr_textを取得する。この実施形態では、図6に示すように、第iフローの文章量nr_textは1である。   First, as shown in FIG. 5, the text amount acquisition unit 24 acquires the text amount nr_text of the i-th flow in step S21. In this embodiment, as shown in FIG. 6, the text amount nr_text of the i-th flow is 1.

次に、ステップS22に進み、第iフローの組み方向を「縦」であると判定すると、ステップS24に進み、縦書きの文章量nr_downに文章量nr_textを加算する。そして、第iフローをインクリメントした後、第iフローがn未満であればステップS21に戻り、第iフローがnであればこの処理を終了する。   Next, the process proceeds to step S22, and if it is determined that the composition direction of the i-th flow is “vertical”, the process proceeds to step S24, and the sentence amount nr_text is added to the vertically written sentence amount nr_down. Then, after incrementing the i-th flow, if the i-th flow is less than n, the process returns to step S21, and if the i-th flow is n, the process is terminated.

一方、ステップS22に進み、第iフローの組み方向を「縦」でないと判定すると、ステップS23に進み、横書きの文章量nr_rightに文章量nr_textを加算する。そして、第iフローをインクリメントした後、第iフローがn未満であればステップS21に戻り、第iフローがnであればこの処理を終了する。   On the other hand, if the flow proceeds to step S22 and it is determined that the composition direction of the i-th flow is not “vertical”, the flow proceeds to step S23, and the sentence amount nr_text is added to the horizontally written sentence amount nr_right. Then, after incrementing the i-th flow, if the i-th flow is less than n, the process returns to step S21, and if the i-th flow is n, the process is terminated.

これにより、文章量取得部24は、フロー数で表された縦書きの文章量の総計(nr_down)と横書きの文章量の総計(nr_right)を取得する。   Thereby, the sentence amount acquisition unit 24 acquires the total amount of vertically written sentences (nr_down) and the total amount of horizontally written sentences (nr_right) represented by the number of flows.

なお、文章量としてフロー数を用いたが、図7に示すように、バイト数を文章量として用いてもよい。図7にバイト数を文章量として用いる文章量取得部24の動作を説明するためのフローチャートを示している。   Although the number of flows is used as the amount of text, the number of bytes may be used as the amount of text as shown in FIG. FIG. 7 shows a flowchart for explaining the operation of the sentence amount acquisition unit 24 using the number of bytes as the sentence amount.

図5に示すステップS21において、文章量取得部24が第iフローの文章量nr_textを取得するとき、文章量取得部24は、図7に示すステップS41で第iフローのファイル上でのサイズsを取得する。   In step S21 shown in FIG. 5, when the text amount acquisition unit 24 acquires the text amount nr_text of the i-th flow, the text amount acquisition unit 24 selects the size s on the i-th flow file in step S41 shown in FIG. To get.

次に、ステップS42に進み、第iフローの文章量nr_textをsとする。   In step S42, the text amount nr_text of the i-th flow is set to s.

ここで、サイズsの単位は、文字数でも、データのバイト数でも良く、一元的に文章の量を比較できるものならば何でもよい。図7では、文章を一定以下のメモリ上でのサイズを取るような単位(ブロック)に切り分け、これを文章量の単位とした。   Here, the unit of the size s may be the number of characters or the number of bytes of data, and may be anything as long as the amount of text can be compared centrally. In FIG. 7, the sentence is divided into units (blocks) that take a size on a memory below a certain level, and this is used as a unit of sentence amount.

また、上記第1実施形態では、各フローのブロック数が電子書籍のファイルに直接記録されているが、本発明を用いた他の実施形態としては、文章量が電子書籍のファイルに直接記録されていなくてもかまわない。電子書籍のファイルに分割範囲の切り分けが記録されている限り、各分割範囲の文章量は算出可能だからである。   In the first embodiment, the number of blocks of each flow is directly recorded in the electronic book file. However, as another embodiment using the present invention, the amount of text is directly recorded in the electronic book file. It does n’t matter if you do n’t. This is because as long as the division range is recorded in the electronic book file, the amount of text in each division range can be calculated.

なお、フロー数が例えば100以上のときはフロー数を文章量として用いて、文章量の正確な文字数やバイト数の取得と計算を省くことで高速化を図ってもよい。このときの閾値は、フロー数100に限らず、実施の形態によって適切な値を自由に決めてよい。また、綴じ方向決定装置20の処理能力が十分に高速であれば、フロー数をそのまま文章量とする(図6)のやり方を行う必要はなく、すべて図7の手法で各組み方向の文章量の総計を算出してよい。この場合、フロー数の閾値は不要となる。   For example, when the number of flows is 100 or more, the number of flows may be used as the amount of text, and the speed may be increased by omitting acquisition and calculation of the exact number of characters or bytes of the text amount. The threshold value at this time is not limited to the number of flows 100, and an appropriate value may be freely determined according to the embodiment. If the processing capability of the binding direction determination device 20 is sufficiently high, it is not necessary to use the flow number as it is as the amount of text (FIG. 6). May be calculated. In this case, the threshold for the number of flows is not necessary.

<綴じ方向の決定>
最後に、綴じ方向決定部26は、縦書きの文章量の総計と横書きの文章量の総計を比較して、より多い方の組み方向から綴じ方向を決定する。すなわち、組み方向が縦のフローの数が多い場合は綴じ方向は「右」であり、組み方向が横のフローの数が多いなら綴じ方向は「左」である。
<Determination of the binding direction>
Finally, the binding direction determination unit 26 compares the total amount of vertical writing and the total amount of horizontal writing, and determines the binding direction from the larger assembling direction. In other words, the binding direction is “right” when the number of flows in which the assembling direction is vertical is large, and the binding direction is “left” when the number of flows in which the assembling direction is horizontal is large.

図11は綴じ方向決定部26の動作を説明するフローチャートを示しており、綴じ方向決定部26は、ステップS81で縦書きの文章量の総計(nr_down)が横書きの文章量の総計(nr_right)未満であると判定すると、ステップS83に進み、綴じ方向を「左」として、この処理を終了する。   FIG. 11 is a flowchart illustrating the operation of the binding direction determination unit 26. In step S81, the binding direction determination unit 26 determines that the total amount of vertically written text (nr_down) is less than the total amount of horizontal writing (nr_right). If it is determined that, the process proceeds to step S83, the binding direction is set to “left”, and this process ends.

一方、ステップS81で縦書きの文章量の総計(nr_down)が横書きの文章量の総計(nr_right)以上であると判定すると、ステップS82に進み、綴じ方向を「右」として、この処理を終了する。   On the other hand, if it is determined in step S81 that the total amount of vertically written text (nr_down) is greater than or equal to the total amount of horizontally written text (nr_right), the process proceeds to step S82, the binding direction is set to “right”, and this processing is terminated. .

なお、理解の容易のため、次に具体的な電子書籍のデータを挙げて、綴じ方向決定装置20によって、文章量にブロック数を用いて最適な綴じ方向が決定される過程を確認する。   For ease of understanding, the process of determining the optimum binding direction by using the number of blocks as the text amount is confirmed by the binding direction determination device 20 by taking specific electronic book data next.

すなわち、電子書籍の持つデフォルトの組み方向が縦、フロー数が4とする。そして、第1フローは文章量が1ブロックであり、表紙を表していて、フロー別の組み方向は規定なしである。また、第2フローは文章量が1ブロックであり、英語の原題を表すためにフロー別の組み方向は横である。また、第3フローは文章量が50ブロックであり、本文を表していて、フロー別の組み方向は規定なしである。また、第4フローは文章量が1ブロックであり、奥付を表すためにフロー別の組み方向は横である。   That is, the default assembling direction of the electronic book is vertical and the number of flows is 4. The first flow has a sentence amount of one block, represents a cover, and the composition direction for each flow is not specified. In the second flow, the sentence amount is one block, and the composition direction for each flow is horizontal in order to represent the English original theme. In addition, the third flow has a sentence amount of 50 blocks, represents the body, and the composition direction for each flow is unspecified. In the fourth flow, the text amount is 1 block, and the composition direction for each flow is horizontal to represent the imprint.

まず、綴じ方向決定装置20において、組み方向情報取得部22は上記電子書籍のデータから各フローの組み方向の情報を取得する。このとき、第iフローの組み方向は、長さがフロー数i(=1,2,3,4)と等しい4の配列の変数baseline[i-1]に収められている。ここで、配列の各要素の型は、「規定なし」、「横」、「縦」の3通りを表す値を表現できるならば何でもよい。   First, in the binding direction determination device 20, the composition direction information acquisition unit 22 acquires information on the composition direction of each flow from the data of the electronic book. At this time, the assembling direction of the i-th flow is stored in the variable baseline [i−1] of 4 arrays whose length is equal to the flow number i (= 1, 2, 3, 4). Here, the type of each element of the array may be anything as long as it can represent three types of values: “no specification”, “horizontal”, and “vertical”.

さて、図3のフローチャートに従って、各フローの組み方向を決めていく。第1フローに設定された組み方向baseline[0]が「規定なし」であるため、baseline[0]にはデフォルトの組み方向を代入する。すなわち、第1フローの組み方向baseline[0]は「縦」となる。   Now, the assembly direction of each flow is determined according to the flowchart of FIG. Since the composition direction baseline [0] set in the first flow is “no specification”, the default composition direction is substituted for baseline [0]. That is, the composition direction baseline [0] of the first flow is “vertical”.

次に、第2フローは、すでに「規定なし」以外の値が組み方向として設定されているため、処理はせず、第2フローの組み方向baseline[1]は「横」となる。第3フローは第1フローと同様で、第3フローの組み方向baseline[2]は「縦」となる。第4フローは第2フローと同様で、第4フローの組み方向baseline[3]は「横」となる。   Next, since a value other than “no specification” has already been set as the assembly direction for the second flow, no processing is performed, and the assembly direction baseline [1] of the second flow is “horizontal”. The third flow is the same as the first flow, and the assembly direction baseline [2] of the third flow is “vertical”. The fourth flow is the same as the second flow, and the assembly direction baseline [3] of the fourth flow is “horizontal”.

次に、文章量取得部24は、図5に示す制御を行う。最初、縦書きの文章量の総計を表す変数はnr_down=0であり、横書きの文章量の総計を表す変数はnr_right=0である。   Next, the sentence amount acquisition unit 24 performs the control shown in FIG. Initially, a variable representing the total amount of vertically written text is nr_down = 0, and a variable representing the total amount of horizontally written text is nr_right = 0.

次に、第1フローから第4フローのそれぞれの文章量を取得し、すでに取得した組み方向baselineをもとにして、nr_down, nr_rightを算出する。第1フローはbaseline[0]=縦で、文章量は1ブロックなのでnr_down=1となり、第2フローはbaseline[1]=横で、文章量は1ブロックなのでnr_right=1となり、第3フローはbaseline[2]=縦で、文章量は50ブロックなのでnr_down=51となり、第4フローはbaseline[3]=横で、文章量は1ブロックなのでnr_right=2となる。   Next, the respective text amounts of the first flow to the fourth flow are acquired, and nr_down and nr_right are calculated based on the already acquired combination direction baseline. The first flow is baseline [0] = vertical and the amount of text is 1 block, so nr_down = 1, the second flow is baseline [1] = horizontal, and the amount of text is 1 block, so nr_right = 1, and the third flow is Since baseline [2] = vertical and the amount of text is 50 blocks, nr_down = 51. In the fourth flow, baseline [3] = horizontal and the amount of text is 1 block, so nr_right = 2.

したがって、最終的に、nr_right=2とnr_down=51という結果になる。   Therefore, the final result is nr_right = 2 and nr_down = 51.

最後に、綴じ方向決定部26は、変数nr_right=2とnr_down=51の値を比較して、nr_downの値が大きいため、この電子書籍の主な組み方向は「縦」とみなし、綴じ方向を「右」と決定する。この値はコンテンツ表示部50に渡され、ページめくりの順方向は左から右に固定される。   Finally, the binding direction determination unit 26 compares the values of the variables nr_right = 2 and nr_down = 51, and since the value of nr_down is large, the main assembling direction of this electronic book is regarded as “vertical”, and the binding direction is determined. Decide “right”. This value is passed to the content display unit 50, and the forward direction of page turning is fixed from left to right.

このようなブロック数を文章量に用いたもの以外の具体的な事例について以下の表1〜表4に示している。   Specific examples other than those using the number of blocks as the amount of text are shown in Tables 1 to 4 below.

Figure 2013033358
Figure 2013033358

上記表1では、フロー数を文章量としており、組み方向が横のフロー数が2であり、組み方向が縦のフロー数が1であるので、綴じ方向は「左」となる。この場合、表2〜表4に比べて、高速処理が可能で、文章量が多い電子書籍に対して好適である。   In Table 1 above, the number of flows is the amount of text, the number of flows in the horizontal direction is 2, and the number of flows in the vertical direction is 1, so the binding direction is “left”. In this case, as compared with Tables 2 to 4, high-speed processing is possible and it is suitable for an electronic book with a large amount of text.

Figure 2013033358
Figure 2013033358

上記表2では、バイト数を文章量としており、組み方向が横のバイト数の総計が626バイトであり、組み方向が縦のバイト数の総計が160バイトであるので、綴じ方向は「左」となる。表1のように、フロー数を文章量とする場合に、フローによって実際の文章量に偏りが大きいと、正確な文章量の判断が難しくなるが、表2では、フローによって文章量に偏りが大きくても正確に文章量を判断できる。この場合、フロー毎のデータの総バイト数としては、タグ情報、文字サイズ、画像の位置情報、ルビなどの表示に関係する補足的な情報のバイト数を含んだまま扱うことにより、電子書籍の本文のみを切り出す操作を行うことなく、データサイズから簡単に文章量が得られる。   In Table 2 above, the number of bytes is the text amount, the total number of bytes in the horizontal direction is 626 bytes, and the total number of vertical bytes in the direction is 160 bytes, so the binding direction is “left”. It becomes. As shown in Table 1, when the number of flows is set as the amount of text, if there is a large bias in the actual amount of text due to the flow, it becomes difficult to accurately determine the amount of text, but in Table 2, there is a bias in the amount of text due to the flow. Even if it is large, the amount of sentences can be judged accurately. In this case, the total number of bytes of data for each flow is handled by including the number of bytes of supplementary information related to the display of tag information, character size, image position information, ruby, etc. The amount of text can be easily obtained from the data size without performing the operation of extracting only the text.

Figure 2013033358
Figure 2013033358

上記表3では、文字数を文章量としており、組み方向が横の文字数の総計が266文字であり、組み方向が縦の文字数の総計が72文字であるので、綴じ方向は「左」となる。表2のように、バイト数を文章量とする場合に、タグ情報などを多く含んでいると、正確な文章量の判断が難しくなるが、表3では、タグ情報などを多く含んでいても正確に文章量を判断できる。   In Table 3 above, the number of characters is the amount of text, the total number of characters in the horizontal direction is 266 characters, and the total number of vertical characters is 72 characters, so the binding direction is “left”. As shown in Table 2, if the number of bytes is used as the amount of text, it will be difficult to determine the correct amount of text if it contains a lot of tag information, etc. The amount of sentences can be judged accurately.

図8のフローチャートは、文字数を文章量として用いた場合の文章量取得部24の図5のステップS21の動作を示している。図8に示すように、まず、ステップS51で第iフローの本文をコンテンツデータ取得部10から取得する。   The flowchart in FIG. 8 shows the operation of step S21 in FIG. 5 of the sentence amount acquisition unit 24 when the number of characters is used as the sentence amount. As shown in FIG. 8, first, the text of the i-th flow is acquired from the content data acquisition unit 10 in step S51.

次に、ステップS52に進み、第iフローの本文を構文解析してタグ情報を取り除いた本文の文字数char_countを算出する。   Next, the process proceeds to step S52, where the number of characters char_count in the body from which the tag information is removed by parsing the body of the i-th flow is calculated.

次に、ステップS53に進み、文章量nr_textに文字数char_countを代入して、この処理を終了する。   Next, proceeding to step S53, the number of characters char_count is substituted for the sentence amount nr_text, and this process ends.

Figure 2013033358
Figure 2013033358

上記表4では、ページ数を文章量としており、組み方向が横の文字数の総計が146文字であり、組み方向が縦の文字数の総計が160文字であるが、組み方向が横のページ数が4であり、組み方向が縦のページ数が3である。すなわち横の文章量の方が多いため、綴じ方向は「左」となる。表1〜表3の場合に比べて、表示されるページ数で文章量を判断するため、画像を多く含んでいたり、文字サイズがフローによって大きく異なったりした場合でも、正確に文章量の判断ができる。例えば、文字数が同じであっても、図13に示すような猫の画像を含む場合はページ数が2となるように、文字数だけでは文章量が正確でない場合があるが、ページ数で文章量を判断することで実際のページめくりに対応した適切な判断ができる。   In Table 4 above, the number of pages is the amount of text, the total number of characters in the horizontal direction is 146 characters, the total number of vertical characters is 160 characters, but the total number of pages in the horizontal direction is 4 and the number of pages in which the assembling direction is vertical is 3. That is, since the amount of horizontal text is larger, the binding direction is “left”. Compared to Tables 1 to 3, the amount of text is determined by the number of pages displayed, so even if the image contains many images or the character size varies greatly depending on the flow, the amount of text can be determined accurately. it can. For example, even if the number of characters is the same, the amount of sentences may not be accurate with just the number of characters so that the number of pages is 2 when a cat image as shown in FIG. 13 is included. By determining the above, it is possible to make an appropriate determination corresponding to the actual page turning.

このように、実際にコンテンツ表示部50に表示されるページ数は、本としての厚み(枚数)に相当する文章量となる。この場合、文章量取得部24は、電子書籍のデータを実際にコンテンツ表示部50に表示したときのページめくりの処理を表示なしで行って、組み方向が横のページ数の総計と組み方向が縦のページ数の総計を取得する。したがって、画像や異なる文字サイズの文章が混在しても、正確な文章量を得ることができる。   Thus, the number of pages actually displayed on the content display unit 50 is a sentence amount corresponding to the thickness (number of sheets) as a book. In this case, the sentence amount acquisition unit 24 performs the page turning process when the data of the electronic book is actually displayed on the content display unit 50 without displaying, and the total number of pages in which the composition direction is horizontal and the composition direction are determined. Get the total number of vertical pages. Therefore, even if images and sentences of different character sizes are mixed, an accurate sentence amount can be obtained.

図9のフローチャートは、ページ数を文章量として用いた場合の文章量取得部26の図5のステップS21の動作を示している。図9に示すように、まず、ステップS61で第iフローの本文をコンテンツデータ取得部10から取得する。   The flowchart of FIG. 9 shows the operation of step S21 in FIG. 5 of the sentence amount acquisition unit 26 when the number of pages is used as the sentence amount. As shown in FIG. 9, first, the text of the i-th flow is acquired from the content data acquisition unit 10 in step S61.

次に、ステップS62に進み、文章量nr_textに0を代入する。   Next, proceeding to step S62, 0 is substituted into the text amount nr_text.

次に、ステップS63に進み、第iフローの本文を構文解析してタグ情報以外の文字数char_countを算出する。   In step S63, the text of the i-th flow is parsed to calculate the number of characters other than tag information char_count.

次に、jが1からchar_countになるまでステップS64〜S67を繰り返す。   Next, steps S64 to S67 are repeated until j becomes 1 from char_count.

そして、ステップS64で電子書籍再生部40に第iフローの開始位置jを指定して第iフローを再生させる。   In step S64, the electronic book reproducing unit 40 designates the starting position j of the i-th flow and reproduces the i-th flow.

次に、ステップS65に進み、電子書籍再生部40から終了位置end_indexを取得する。ここで、終了位置end_indexとは、第iフローのコンテンツ表示部50に表示させたときのページの最後に表示される文字またはデータの第iフローにおける先頭文字からの文字数(またはバイト数)を表す。   In step S65, the end position end_index is acquired from the electronic book reproducing unit 40. Here, the end position end_index represents the number of characters (or the number of bytes) from the first character in the i-th flow of the character or data displayed at the end of the page when displayed on the content display unit 50 of the i-th flow. .

次に、ステップS66に進み、終了位置end_indexに1を加えてjに代入する。このjは、次にコンテンツ表示部50に表示させるページの最初の文字の位置を示している。   Next, proceeding to step S66, 1 is added to the end position end_index and substituted for j. This j indicates the position of the first character of the page to be displayed next on the content display unit 50.

次に、ステップS67に進み、文章量nr_textをインクリメントした後、jがchar_count未満のときは、ステップS64〜S67を繰り返す。また、jがchar_countのときは、この処理を終了する。   Next, it progresses to step S67, and after incrementing text amount nr_text, when j is less than char_count, step S64-S67 are repeated. When j is char_count, this process ends.

上記第1実施形態の綴じ方向決定装置20の構成によれば、縦組み(文字の配列方向が縦)と横組み(文字の配列方向が横)の文章が混在する電子書籍に対して最適な綴じ方向を決定できる。それ故、この発明の電子書籍用綴じ方向決定装置では、綴じ方向の指定のないフォーマットの電子書籍の綴じ方向を自動で決定することができる。   According to the configuration of the binding direction determination device 20 of the first embodiment, it is optimal for an electronic book in which sentences in a vertical composition (character arrangement direction is vertical) and horizontal composition (character arrangement direction is horizontal) are mixed. The binding direction can be determined. Therefore, the electronic book binding direction determination device of the present invention can automatically determine the binding direction of an electronic book in a format for which no binding direction is specified.

したがって、電子書籍のファイルのフォーマットが、本文の任意の部分に組み方向を指定できるような形式になっている限り、綴じ方向決定装置は有効に働くことができ、電子書籍の綴じ方向を自動で決定できる。それ故、綴じ方向決定装置20を電子書籍リーダー1に組み込めば、電子書籍のページめくり方向を一定にすることができ、ユーザに、現実に近いページめくりの操作体験を提供することができる。   Therefore, as long as the format of the electronic book file is in a format that can specify the assembling direction in an arbitrary part of the text, the binding direction determination device can work effectively, and the binding direction of the electronic book is automatically set. Can be determined. Therefore, if the binding direction determination device 20 is incorporated in the electronic book reader 1, the page turning direction of the electronic book can be made constant, and the user can be provided with a page turning operation experience that is close to reality.

また、上記綴じ方向決定部26において、文章量判定部26aが縦書きの文章量の総計が横書きの文章量の総計以上と判定すると、綴じ方向決定部26のページめくり方向決定部26bは、電子書籍の綴じ方向を「右」に決定し、左から右へのページめくり方向を順方向に決定する。一方、文章量判定部26aが縦書きの文章量の総計が横書きの文章量の総計未満であると判定すると、ページめくり方向決定部26bは、電子書籍の綴じ方向を「左」に決定し、右から左へのページめくり方向を順方向に決定する。これにより、綴じ方向決定部は、電子書籍の綴じ方向とページめくり方向を決定して、電子書籍の綴じ方向およびページめくり方向に基づいて、最適なページめくりの表示をすることが可能となり、縦書きと横書きが混在した電子書籍であっても、ユーザに快適な読書サービスを提供できる。   In the binding direction determination unit 26, when the text amount determination unit 26a determines that the total amount of vertical writing is equal to or greater than the total amount of horizontal writing, the page turning direction determination unit 26b of the binding direction determination unit 26 The binding direction of the book is determined as “right”, and the page turning direction from left to right is determined as the forward direction. On the other hand, when the sentence amount determination unit 26a determines that the total amount of vertically written sentences is less than the total amount of horizontally written sentences, the page turning direction determination unit 26b determines the binding direction of the electronic book to be “left”, The page turning direction from right to left is determined as the forward direction. As a result, the binding direction determination unit can determine the binding direction and the page turning direction of the electronic book, and can display the optimal page turning based on the binding direction and the page turning direction of the electronic book. Even an electronic book in which writing and horizontal writing are mixed can provide a comfortable reading service to the user.

さらに、綴じ方向決定装置20では、パーソナルコンピュータ、携帯情報端末、携帯電話機、および電子書籍リーダーの何れに用いてもよい。この綴じ方向決定装置20は、自身が接続される表示装置がパーソナルコンピュータ、携帯情報端末、携帯電話機、および電子書籍リーダーであるときに、好適に適用することができる。なお、綴じ方向決定装置20は、コンテンツとして提供する電子書籍のデータに綴じ方向を設定するための装置に適用することもできる。   Further, the binding direction determination device 20 may be used for any of a personal computer, a portable information terminal, a mobile phone, and an electronic book reader. The binding direction determination device 20 can be suitably applied when the display device to which the binding direction determination device 20 is connected is a personal computer, a portable information terminal, a mobile phone, and an electronic book reader. The binding direction determination device 20 can also be applied to a device for setting a binding direction for data of an electronic book provided as content.

〔第2実施形態〕
図14はこの発明の第2実施形態の綴じ方向決定装置120を備えた電子書籍リーダー101の概略構成を示すブロック図を示している。この第2実施形態の電子書籍リーダー101は、綴じ方向決定装置120を除いて第1実施形態の電子書籍リーダー1と同一の構成をしており、同一構成部には同一参照番号を付して説明を省略する。
[Second Embodiment]
FIG. 14 is a block diagram showing a schematic configuration of an electronic book reader 101 provided with a binding direction determining device 120 according to the second embodiment of the present invention. The electronic book reader 101 of the second embodiment has the same configuration as the electronic book reader 1 of the first embodiment except for the binding direction determination device 120, and the same reference numerals are assigned to the same components. Description is omitted.

この第2実施形態の電子書籍リーダー101は、図14に示すように、コンテンツデータ取得部10と、電子書籍用綴じ方向決定装置の一例としての綴じ方向決定装置120と、操作部30と、電子書籍再生部40と、コンテンツ表示部50とを備えている。電子書籍リーダー101は、電子書籍を再生,表示等することが可能な端末機器である。また、綴じ方向決定装置120は、組み方向情報取得部122と、文章量取得部124と、綴じ方向決定部126と、重み付け情報取得部127と、言語情報取得部128とを備えている。   As shown in FIG. 14, the electronic book reader 101 of the second embodiment includes a content data acquisition unit 10, a binding direction determination device 120 as an example of an electronic book binding direction determination device, an operation unit 30, and an electronic device. A book reproducing unit 40 and a content display unit 50 are provided. The electronic book reader 101 is a terminal device that can reproduce and display an electronic book. The binding direction determination device 120 includes a combination direction information acquisition unit 122, a sentence amount acquisition unit 124, a binding direction determination unit 126, a weighting information acquisition unit 127, and a language information acquisition unit 128.

上記重み付け情報取得部127は、複数のフロー(分割範囲)の夫々の種別毎に予め設定された重み付け情報を取得する。なお、この重み付け情報は、綴じ方向決定装置120の記憶部(図示せず)に記憶されていてもよいし、コンテンツデータ取得部10により取得された電子書籍のデータに重み付け情報が設定され、重み付け情報取得部127によりコンテンツデータ取得部10から取得されるようにしてもよい。   The weighting information acquisition unit 127 acquires weighting information set in advance for each type of a plurality of flows (division ranges). The weighting information may be stored in a storage unit (not shown) of the binding direction determination device 120, or the weighting information is set to the data of the electronic book acquired by the content data acquisition unit 10, and the weighting is performed. The information may be acquired from the content data acquisition unit 10 by the information acquisition unit 127.

また、上記文章量取得部124は、電子書籍のデータの複数のフローの夫々について縦書きの文章量と横書きの文章量を取得する分割範囲文章量取得部の一例としてのフロー文章量取得部124aと、フロー文章量取得部124aにより取得された複数のフローの夫々の縦書きの文章量と横書きの文章量に対して、重み付け情報取得部127により取得された重み付け情報に基づいて重み付けを行う文章量重み付け部124bと、文章量重み付け部124bにより重み付けされた複数のフローの夫々の縦書きの文章量と横書きの文章量に基づいて、縦書きの文章量の総計と横書きの文章量の総計を求める文章量総計算出部124cとを有する。   The sentence amount acquisition unit 124 is a flow sentence amount acquisition unit 124a as an example of a divided range sentence amount acquisition unit that acquires a vertical writing amount and a horizontal writing amount for each of a plurality of flows of electronic book data. And a sentence that performs weighting based on the weighting information acquired by the weighting information acquisition unit 127 with respect to the vertical writing amount and horizontal writing amount of each of the plurality of flows acquired by the flow sentence amount acquisition unit 124a. Based on the amount of vertical writing and the amount of horizontal writing of each of the plurality of flows weighted by the amount weighting unit 124b and the amount of text weighting unit 124b, the total amount of vertical writing and the total amount of horizontal writing are calculated. And a total sentence amount calculation unit 124c to be obtained.

また、上記言語情報取得部128は、コンテンツデータ取得部10から電子書籍の言語情報を取得する。   The language information acquisition unit 128 acquires language information of the electronic book from the content data acquisition unit 10.

また、上記綴じ方向決定部126は、文章量取得部124により取得された縦書きの文章量の総計と横書きの文章量の総計および言語情報取得部128により取得された電子書籍の言語情報に基づいて、電子書籍の綴じ方向を決定する。   Further, the binding direction determination unit 126 is based on the total amount of vertical writing and the total amount of horizontal writing acquired by the text amount acquisition unit 124 and the language information of the electronic book acquired by the language information acquisition unit 128. The binding direction of the electronic book is determined.

上記綴じ方向決定装置120によれば、文章量取得部124のフロー文章量取得部124aは、電子書籍のデータの複数のフロー(分割範囲)の夫々について縦書きの文章量と横書きの文章量を取得する。そして、フロー文章量取得部124aにより取得された複数のフローの縦書きの文章量と横書きの文章量に対して、文章量取得部124の文章量重み付け部124bは、重み付け情報取得部124により取得された重み付け情報に基づいて重み付けを行う。そうして、重み付けされた複数のフローの夫々の縦書きの文章量と横書きの文章量に基づいて、文章量取得部124の文章量総計算出部124cは、縦書きの文章量の総計と横書きの文章量の総計を求める。例えば、奥付や表紙の重みを0.1とし、本文の重みを1.0とすることにより、本文の文章量を反映させた最適な綴じ方向を決定することができる。なお、本文は、組み方向設定がなされた本文(例えば重み2.0)、組み方向が設定されていない本文(重み0.5)とに分けられていてもよい。   According to the binding direction determination device 120, the flow text amount acquisition unit 124a of the text amount acquisition unit 124 calculates the vertical writing amount and the horizontal writing amount for each of a plurality of flows (division ranges) of the electronic book data. get. The sentence amount weighting unit 124b of the sentence amount acquiring unit 124 acquires the weighted information acquiring unit 124 for the vertically written sentence amount and the horizontally written sentence amount of the plurality of flows acquired by the flow sentence amount acquiring unit 124a. Weighting is performed based on the weighted information. Then, based on the vertical writing amount and the horizontal writing amount of each of the plurality of weighted flows, the total writing amount calculation unit 124c of the writing amount acquisition unit 124 calculates the sum of the vertical writing amount and the horizontal writing amount. Find the total amount of sentences. For example, by setting the weight of the imprint or cover to 0.1 and the weight of the text to 1.0, the optimum binding direction reflecting the text amount of the text can be determined. Note that the text may be divided into a text (for example, weight 2.0) for which the composition direction is set and a text (weight 0.5) for which the composition direction is not set.

また、上記文章量取得部124により取得された縦書きの文章量の総計と横書きの文章量の総計および言語情報取得部128により取得された電子書籍の言語情報に基づいて、綴じ方向決定部126により電子書籍の綴じ方向を決定することによって、例えば、文章量取得部124により取得された縦書きの文章量の総計と横書きの文章量の総計により基本の綴じ方向を判定した後、この基本の綴じ方向と電子書籍の言語毎に設定されている綴じ方向とを組み合わせて、最適な綴じ方向を決定することが可能になる。例えば、電子書籍の言語情報が日本語である場合、縦書きの文章量の総計が、横書きの文章量の総計と比較して少なくても、その差が小さいならば、綴じ方向を「右」としたり、言語情報が英語である場合、縦書きの文章量の総計が、横書きの文章量の総計と比較してやや多くても、その差が小さいならば、綴じ方向を「左」としたりするといった処理を行う。   The binding direction determination unit 126 is based on the total amount of vertical writing and the total amount of horizontal writing acquired by the text amount acquisition unit 124 and the language information of the electronic book acquired by the language information acquisition unit 128. By determining the binding direction of the electronic book by the above method, for example, after determining the basic binding direction based on the sum of the vertical writing amount and the horizontal writing amount acquired by the sentence amount acquisition unit 124, the basic binding direction is determined. It becomes possible to determine the optimum binding direction by combining the binding direction and the binding direction set for each language of the electronic book. For example, if the language information of the electronic book is Japanese, the amount of vertical writing is small compared to the amount of horizontal writing, but if the difference is small, the binding direction is “right”. If the language information is English, the amount of vertical writing is slightly larger than the amount of horizontal writing, but if the difference is small, the binding direction is set to “left”. The process is performed.

最後に、綴じ方向決定装置20,120の各ブロック、特に組み方向情報取得部22,122、文章量取得部24,124、および綴じ方向決定部26,126は、ハードウェアロジックによって構成してもよいし、次のようにCPUを用いてソフトウェアによって実現してもよい。   Finally, each block of the binding direction determination devices 20 and 120, particularly the combination direction information acquisition units 22 and 122, the sentence amount acquisition units 24 and 124, and the binding direction determination units 26 and 126 may be configured by hardware logic. Alternatively, it may be realized by software using a CPU as follows.

すなわち、綴じ方向決定装置20は、各機能を実現する制御プログラム(電子書籍用綴じ方向決定プログラム)の命令を実行するCPU(central processing unit)、上記プログラムを格納したROM(read only memory)、上記プログラムを展開するRAM(random access memory)、上記プログラムおよび各種データを格納するメモリ等の記憶装置(記録媒体)などを備える。そして、本発明の目的は、上述した機能を実現するソフトウェアである綴じ方向決定装置20の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソースプログラムなどを含む)をコンピュータで読み取り可能に記録した記録媒体を、綴じ方向決定装置20に供給し、そのコンピュータ(またはCPUやMPU)が記録媒体に記録されているプログラムコードを読み出し実行することによっても、達成可能である。   That is, the binding direction determining device 20 includes a CPU (central processing unit) that executes instructions of a control program (electronic book binding direction determining program) that realizes each function, a ROM (read only memory) that stores the program, A RAM (random access memory) for expanding the program, a storage device (recording medium) such as a memory for storing the program and various data, and the like are provided. An object of the present invention is to record a program code (including an execution format program, an intermediate code program, a source program, etc.) of a control program of the binding direction determination device 20 that is software that realizes the above-described functions so that it can be read by a computer. This can also be achieved by supplying the recorded recording medium to the binding direction determining device 20 and having the computer (or CPU or MPU) read and execute the program code recorded on the recording medium.

それによって、電子書籍を閲覧するソフトウェアに本発明の電子書籍用綴じ方向決定プログラムを組み込んだ場合は、電子書籍ファイルのオープン時に、本発明を用いて綴じ方向を決定することで、ページめくりの順方向が一定となり、ユーザは快適な読書体験を味わうことができる。   As a result, when the electronic book binding direction determination program of the present invention is incorporated in software for browsing electronic books, the page turning order is determined by determining the binding direction using the present invention when the electronic book file is opened. The direction is constant and the user can enjoy a comfortable reading experience.

上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッピー(登録商標)ディスク/ハードディスク等の磁気ディスクやコンパクトディスク−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 (photomagnetic) / MD (mini disk) / digital video. A disk system including an optical disk such as a disk / compact disk-R, 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, etc. it can.

また、コンピュータを通信ネットワークと接続可能に構成し、上記プログラムコードを通信ネットワークを介して供給してもよい。この通信ネットワークとしては、特に限定されず、例えば、インターネット、イントラネット、エキストラネット、LAN(Local Area Network:ローカル・エリア・ネットワーク)、ISDN(Integrated Service Digital Network:統合サービス・デジタル・ネットワーク)、VAN(Value Added Network:付加価値通信網)、CATV(Cable Television:ケーブル・テレビジョン)通信網、仮想専用網(virtual private network)、電話回線網、移動体通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒体としては、特に限定されず、例えば、IEEE(Institute of Electrical and Electronics Engineers)1394、USB(Universal Serial Bus)、電力線搬送、ケーブルTV回線、電話線、ADSL(Asymmetric Digital Subscriber Line:非対称デジタル加入者線)回線等の有線でも、IrDA(Infrared Data Association)やリモコンのような赤外線、Bluetooth(登録商標)、802.11無線、HDR(High Data Rate:ハイ・データ・レート)、携帯電話網、衛星回線、地上波デジタル網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実現され得る。   The computer 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 (Local Area Network), ISDN (Integrated Service Digital Network), VAN ( Value Added Network (CAT), CATV (Cable Television) communication network, virtual private network, telephone line network, mobile communication network, satellite communication network, etc. can be used. . The transmission medium constituting the communication network is not particularly limited. For example, IEEE (Institute of Electrical and Electronics Engineers) 1394, USB (Universal Serial Bus), power line carrier, cable TV line, telephone line, ADSL (Asymmetric (Asymmetric)) Digital Subscriber Line (Asymmetrical Digital Subscriber Line) Even with a wired line such as an IrDA (Infrared Data Association) or remote control, infrared, Bluetooth (registered trademark), 802.11 wireless, HDR (High Data Rate: High Data Rate) Rate), mobile phone network, satellite line, terrestrial digital network, and the like. 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.

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

本発明は、電子書籍の最適な綴じ方向を自動で左か右に決定することができ、特に、現実のページめくりを模した操作や表示を行う表示装置(電子書籍リーダー等)に好適に適用することができる。   The present invention can automatically determine the optimal binding direction of an electronic book to the left or right, and is particularly suitable for a display device (such as an electronic book reader) that performs operations and displays that mimic actual page turning. can do.

1,101…電子書籍リーダー
10…コンテンツデータ取得部
20,120…綴じ方向決定装置
22,122…組み方向情報取得部
24,124…文章量取得部
26,126…綴じ方向決定部
26a…文章量判定部
26b…ページめくり方向決定部
127…重み付け情報取得部
128…言語情報取得部
30…操作部
40…電子書籍再生部
50…コンテンツ表示部
124a…フロー文章量取得部
124b…文章量重み付け部
124c…文章量総計算出部
DESCRIPTION OF SYMBOLS 1,101 ... Electronic book reader 10 ... Content data acquisition part 20,120 ... Binding direction determination apparatus 22,122 ... Assembly direction information acquisition part 24,124 ... Text amount acquisition part 26,126 ... Binding direction determination part 26a ... Text amount Determination unit 26b ... Page turning direction determination unit 127 ... Weighting information acquisition unit 128 ... Language information acquisition unit 30 ... Operation unit 40 ... Electronic book playback unit 50 ... Content display unit 124a ... Flow text amount acquisition unit 124b ... Text amount weighting unit 124c ... Sentence calculation section

Claims (13)

予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、上記複数の分割範囲の夫々について文字の配列方向が縦であるかまたは横であるかを表す組み方向の情報を上記電子書籍のデータから取得する組み方向情報取得部と、
上記組み方向情報取得部により取得された上記複数の分割範囲の夫々の上記組み方向の情報に基づいて、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲について縦書きの文章量の総計を取得すると共に、上記複数の分割範囲のうちの上記組み方向が横である分割範囲について横書きの文章量の総計を取得する文章量取得部と、
上記文章量取得部により取得された上記縦書きの文章量の総計と上記横書きの文章量の総計に基づいて、上記電子書籍の綴じ方向を決定する綴じ方向決定部と
を備えることを特徴とする電子書籍用綴じ方向決定装置。
The electronic book data is divided into a plurality of division ranges according to a predetermined rule, and information on the composition direction indicating whether the character arrangement direction is vertical or horizontal for each of the plurality of division ranges. A composition direction information acquisition unit to acquire from book data;
Based on the information on the composition direction of each of the plurality of division ranges acquired by the composition direction information acquisition unit, the amount of text written vertically for the division range in which the composition direction is vertical among the plurality of division ranges. And a sentence amount acquisition unit for acquiring a total amount of horizontally written sentences for a divided range in which the combination direction is horizontal among the plurality of divided ranges;
A binding direction determination unit that determines a binding direction of the electronic book based on a total amount of the vertical writing and a total amount of the horizontal writing acquired by the text amount acquisition unit; Electronic book binding direction determination device.
請求項1に記載の電子書籍用綴じ方向決定装置において、
上記綴じ方向決定部は、
上記縦書きの文章量の総計が上記横書きの文章量の総計以上か否か判定する文章量判定部と、
上記文章量判定部が上記縦書きの文章量の総計が上記横書きの文章量の総計以上と判定すると、上記電子書籍の綴じ方向を右に決定し、左から右へのページめくり方向を順方向に決定する一方、上記文章量判定部が上記縦書きの文章量の総計が上記横書きの文章量の総計未満であると判定すると、上記電子書籍の綴じ方向を左に決定し、右から左へのページめくり方向を順方向に決定するページめくり方向決定部と
を有することを特徴とする電子書籍用綴じ方向決定装置。
In the electronic book binding direction determination device according to claim 1,
The binding direction determination unit
A sentence amount determination unit for determining whether the total amount of the vertically written sentence is greater than or equal to the total amount of the horizontally written sentence;
When the sentence amount determination unit determines that the total amount of the vertically written sentence is greater than or equal to the total amount of the horizontally written sentence, the binding direction of the electronic book is determined to the right, and the page turning direction from left to right is forward. On the other hand, if the sentence amount determination unit determines that the total amount of the vertically written sentence is less than the total amount of the horizontally written sentence, the binding direction of the electronic book is determined to the left and from right to left And a page turning direction determining unit that determines the page turning direction of the electronic book as a forward direction.
請求項1または2に記載の電子書籍用綴じ方向決定装置において、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲の総数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲の総数であることを特徴とする電子書籍用綴じ方向決定装置。
In the electronic book binding direction determination device according to claim 1 or 2,
The total amount of vertically written text acquired by the text amount acquisition unit is the total number of division ranges in which the combination direction is vertical among the plurality of division ranges,
The total amount of the horizontally written sentence acquired by the sentence amount acquisition unit is a total number of divided ranges in which the assembling direction is horizontal among the plurality of divided ranges. .
請求項1または2に記載の電子書籍用綴じ方向決定装置において、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲のデータの総バイト数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲のデータの総バイト数であることを特徴とする電子書籍用綴じ方向決定装置。
In the electronic book binding direction determination device according to claim 1 or 2,
The sum total of the vertically written sentence amount acquired by the sentence amount acquiring unit is the total number of bytes of data in the divided range in which the combination direction is vertical among the plurality of divided ranges,
The total amount of the horizontally written sentence acquired by the sentence amount acquisition unit is the total number of bytes of data in the divided range in which the assembling direction is horizontal among the plurality of divided ranges. Binding direction determination device.
請求項1または2に記載の電子書籍用綴じ方向決定装置において、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲の総文字数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲の総文字数であることを特徴とする電子書籍用綴じ方向決定装置。
In the electronic book binding direction determination device according to claim 1 or 2,
The sum total of the vertically written sentence amount acquired by the sentence amount acquisition unit is the total number of characters in the divided range in which the combination direction is vertical among the plurality of divided ranges,
The binding amount determination for the electronic book, wherein the total amount of the horizontally written sentence acquired by the sentence amount acquisition unit is the total number of characters in the divided range in which the assembling direction is horizontal among the plurality of divided ranges. apparatus.
請求項1または2に記載の電子書籍用綴じ方向決定装置において、
上記文章量取得部で取得する上記縦書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲を表示装置に表示するときの総ページ数であり、
上記文章量取得部で取得する上記横書きの文章量の総計は、上記複数の分割範囲のうちの上記組み方向が横である分割範囲を上記表示装置に表示するときの総ページ数であることを特徴とする電子書籍用綴じ方向決定装置。
In the electronic book binding direction determination device according to claim 1 or 2,
The total amount of the vertically written sentence acquired by the sentence amount acquisition unit is the total number of pages when the division range in which the combination direction is vertical among the plurality of division ranges is displayed on a display device,
The total of the horizontal writing amount acquired by the sentence amount acquisition unit is the total number of pages when the division range in which the combination direction is horizontal among the plurality of division ranges is displayed on the display device. An electronic book binding direction determination device.
請求項1から6までのいずれか1つに記載の電子書籍用綴じ方向決定装置において、
上記複数の分割範囲の夫々の種別毎に予め設定された重み付け情報を取得する重み付け情報取得部を備え、
上記文章量取得部は、
上記電子書籍のデータの上記複数の分割範囲の夫々について上記縦書きの文章量と上記横書きの文章量を取得する分割範囲文章量取得部と、
上記分割範囲文章量取得部により取得された上記複数の分割範囲の夫々の上記縦書きの文章量と上記横書きの文章量に対して、上記重み付け情報取得部により取得された上記重み付け情報に基づいて重み付けを行う文章量重み付け部と、
上記文章量重み付け部により重み付けされた上記複数の分割範囲の夫々の上記縦書きの文章量と上記横書きの文章量に基づいて、上記縦書きの文章量の総計と上記横書きの文章量の総計を求める文章量総計算出部と
を有することを特徴とする電子書籍用綴じ方向決定装置。
In the binding direction determination apparatus for electronic books as described in any one of Claim 1-6,
A weighting information acquisition unit that acquires weighting information set in advance for each type of the plurality of division ranges,
The above sentence amount acquisition unit
A divided range sentence amount acquisition unit for acquiring the vertical writing amount and the horizontal writing amount for each of the plurality of divided ranges of the electronic book data;
Based on the weighting information acquired by the weighting information acquisition unit for the vertical writing amount and the horizontal writing amount of each of the plurality of division ranges acquired by the division range sentence amount acquisition unit. A sentence weighting unit for weighting;
Based on the vertical writing amount and the horizontal writing amount of each of the plurality of division ranges weighted by the writing amount weighting unit, the total of the vertical writing amount and the horizontal writing amount are calculated. A binding direction determination device for an electronic book, comprising: a total sentence amount calculation unit to be calculated.
請求項1から7までのいずれか1つに記載の電子書籍用綴じ方向決定装置において、
上記電子書籍の言語情報を取得する言語情報取得部を備え、
上記綴じ方向決定部は、上記文章量取得部により取得された上記縦書きの文章量の総計と上記横書きの文章量の総計および上記言語情報取得部により取得された上記電子書籍の上記言語情報に基づいて、上記電子書籍の綴じ方向を決定することを特徴とする電子書籍用綴じ方向決定装置。
In the binding direction determination apparatus for electronic books as described in any one of Claim 1-7,
A language information acquisition unit for acquiring language information of the electronic book;
The binding direction determination unit includes the sum of the vertical writing amount acquired by the sentence amount acquisition unit, the total of the horizontal writing amount, and the language information of the electronic book acquired by the language information acquisition unit. An electronic book binding direction determining device, wherein the electronic book binding direction is determined based on the electronic book.
請求項1から8までのいずれか1つに記載の電子書籍用綴じ方向決定装置と、
電子書籍の縦書きおよび横書きの表示が可能で、かつ、上記電子書籍に対して左から右へのページめくりおよび右から左へのページめくりの表示が可能な表示部と、
上記電子書籍用綴じ方向決定装置により決定された上記電子書籍の綴じ方向に基づいて、上記左から右へのページめくりおよび上記右から左へのページめくりの表示を上記表示部に指示するための操作部と
を備えることを特徴とする表示装置。
An electronic book binding direction determination device according to any one of claims 1 to 8,
A display unit capable of displaying vertical and horizontal writing of an electronic book, and capable of displaying page turning from left to right and page turning from right to left with respect to the electronic book;
Based on the binding direction of the electronic book determined by the electronic book binding direction determination device, the display unit is instructed to display the page turning from left to right and the page turning from right to left. A display device comprising an operation unit.
請求項9に記載の表示装置であって、
パーソナルコンピュータ、携帯情報端末、携帯電話機および電子書籍リーダーのうちのいずれか1つであることを特徴とする表示装置。
The display device according to claim 9,
A display device comprising any one of a personal computer, a portable information terminal, a mobile phone, and an electronic book reader.
予め決められた規則に従って電子書籍のデータを複数の分割範囲に分けて、上記複数の分割範囲の夫々に対して縦書きであるかまたは横書きであるかを表す組み方向の情報を組み方向情報取得部により取得する情報取得ステップと、
上記情報取得ステップにおいて取得された上記複数の分割範囲の夫々の上記組み方向の情報に基づいて、上記複数の分割範囲のうちの上記組み方向が縦である分割範囲について縦書きの文章量の総計を文章量取得部により取得すると共に、上記複数の分割範囲のうちの上記組み方向が横である分割範囲について横書きの文章量の総計を上記文章量取得部により取得する文章量取得ステップと、
上記文章量取得ステップにおいて取得された上記縦書きの文章量の総計と上記横書きの文章量の総計に基づいて、上記電子書籍の綴じ方向を綴じ方向決定部により決定する綴じ方向決定ステップと
を含むことを特徴とする電子書籍用綴じ方向決定方法。
The electronic book data is divided into a plurality of division ranges according to a predetermined rule, and information on the combination direction indicating whether the writing is vertical writing or horizontal writing is obtained for each of the plurality of division ranges. Information acquisition step to be acquired by the department;
Based on the information on the composition direction of each of the plurality of division ranges acquired in the information acquisition step, the total amount of vertically written sentences for the division range in which the composition direction is vertical among the plurality of division ranges. A sentence amount acquisition step of acquiring, by the sentence amount acquisition unit, a total amount of horizontally written sentences for the divided range in which the combination direction is horizontal among the plurality of divided ranges;
A binding direction determination step of determining a binding direction of the electronic book by a binding direction determination unit based on the total amount of the vertical writing and the total amount of the horizontal writing acquired in the sentence amount acquisition step. A method for determining a binding direction for an electronic book.
請求項11に記載の電子書籍用綴じ方向決定方法の上記各ステップをコンピュータに実行させることを特徴とする電子書籍用綴じ方向決定プログラム。   An electronic book binding direction determination program that causes a computer to execute each of the steps of the electronic book binding direction determination method according to claim 11. 請求項12に記載の電子書籍用綴じ方向決定プログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。   13. A computer-readable recording medium on which the electronic book binding direction determination program according to claim 12 is recorded.
JP2011168586A 2011-08-01 2011-08-01 Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium Pending JP2013033358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011168586A JP2013033358A (en) 2011-08-01 2011-08-01 Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011168586A JP2013033358A (en) 2011-08-01 2011-08-01 Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium

Publications (1)

Publication Number Publication Date
JP2013033358A true JP2013033358A (en) 2013-02-14

Family

ID=47789203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011168586A Pending JP2013033358A (en) 2011-08-01 2011-08-01 Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium

Country Status (1)

Country Link
JP (1) JP2013033358A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338609A (en) * 1998-05-26 1999-12-10 Nippon Telegr & Teleph Corp <Ntt> Device and method for book type information and computer-readable recording medium where program is recorded
JP2001125700A (en) * 1999-10-28 2001-05-11 Sharp Corp Electronic book display device
JP2004265434A (en) * 2004-04-09 2004-09-24 Sharp Corp Digital book display device
JP2008116791A (en) * 2006-11-07 2008-05-22 Sharp Corp Method of turning page of electronic book device
JP2010072887A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Document processor, printing system, document processing method, and program
JP2011118818A (en) * 2009-12-07 2011-06-16 Sharp Corp Image processing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338609A (en) * 1998-05-26 1999-12-10 Nippon Telegr & Teleph Corp <Ntt> Device and method for book type information and computer-readable recording medium where program is recorded
JP2001125700A (en) * 1999-10-28 2001-05-11 Sharp Corp Electronic book display device
JP2004265434A (en) * 2004-04-09 2004-09-24 Sharp Corp Digital book display device
JP2008116791A (en) * 2006-11-07 2008-05-22 Sharp Corp Method of turning page of electronic book device
JP2010072887A (en) * 2008-09-17 2010-04-02 Fuji Xerox Co Ltd Document processor, printing system, document processing method, and program
JP2011118818A (en) * 2009-12-07 2011-06-16 Sharp Corp Image processing device

Similar Documents

Publication Publication Date Title
US20210181911A1 (en) Electronic text manipulation and display
CN101916245B (en) A kind of e-book annotation on electronic reader realizes method and apparatus
US20040025111A1 (en) Reading device and method thereof using display
WO2012086356A1 (en) File format, server, view device for digital comic, digital comic generation device
JP5634853B2 (en) Electronic comic viewer device, electronic comic browsing system, viewer program, and electronic comic display method
WO2012086359A1 (en) Viewer device, viewing system, viewer program, and recording medium
WO2012086358A1 (en) Viewer device, viewing system, viewer program, and recording medium
JP6712486B2 (en) Electronic book display device, electronic book generation device, and program
Quinn et al. StoryKit: Designing a mobile application for story creation by children and older adults
KR20200000300A (en) Summary note making and Memorizing learning system using E-book and its method
JP2013033358A (en) Electronic book binding direction determination device, display device, electronic book binding direction determination method, electronic book binding direction determination program, and computer readable recording medium
KR20180137369A (en) Summary Note generating method for E-book and Word document, Memorization learning system and method using the same
Kyrnin Sams Teach Yourself HTML5 Mobile Application Development in 24 Hours
CN107784882A (en) A kind of interactive mode teaching digital publishing system
AU2018202847B2 (en) Electronic text manipulation and display
US20110078561A1 (en) Method and system of formatting text in an electronic document to increase reading speed
KR20180137845A (en) Summary Note making and Memorizing Learning system using E-book and Smartphone and its method
KR102482576B1 (en) Appartus and method for providing e-book service including memo layer
JP2019144507A (en) Output device, data output system, and outputting method
Sesay Thinking about ‘apps’ for classroom use: An introduction to get you thinking!
US20020042800A1 (en) Method for note recording the contents of the web page on line
KR101295005B1 (en) Method for generating file of electronic book and playing the same file
Baker Unit 14 Website Design
Young Democratizing course access
Maruyama et al. Another HTML5 Implementation of Web-Com for Embedding Chalk Annotations and Talk Voices into HTML Documents

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141028

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141031

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150317