JP2000259486A - Method and device for html/mheg transformation - Google Patents

Method and device for html/mheg transformation

Info

Publication number
JP2000259486A
JP2000259486A JP11059308A JP5930899A JP2000259486A JP 2000259486 A JP2000259486 A JP 2000259486A JP 11059308 A JP11059308 A JP 11059308A JP 5930899 A JP5930899 A JP 5930899A JP 2000259486 A JP2000259486 A JP 2000259486A
Authority
JP
Japan
Prior art keywords
html
size
mheg
vertical
format
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
JP11059308A
Other languages
Japanese (ja)
Inventor
Junichi Kuboki
準一 久保木
Takeshi Kimura
武史 木村
Nobuo Saito
伸雄 斉藤
Masanobu Tanaka
雅信 田中
Tsutomu Ono
力 小野
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.)
Jisedai Joho Hoso System Kenkyusho KK
Toppan Inc
Original Assignee
Toppan Printing Co Ltd
Jisedai Joho Hoso System Kenkyusho KK
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 Toppan Printing Co Ltd, Jisedai Joho Hoso System Kenkyusho KK filed Critical Toppan Printing Co Ltd
Priority to JP11059308A priority Critical patent/JP2000259486A/en
Publication of JP2000259486A publication Critical patent/JP2000259486A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To facilitate multimedia and hypermedia experts group(MHEG) contents transformation and preparation by transforming the tag of an interpreted text document into format according to the specification of MHEG. SOLUTION: A layout analytic part 13 analyzes a logical document structure by interpreting the tag of a text document contained in a hyper text mark-up language(HTML) among HTML contents to be a transformation source. A format transforming part 15 transforms the format of a reference file constituting HTML contents into format matched with the instruction purpose of MHEG contents. When it is discriminated by the size discrimination of a picture consistency control part 23 that a vertical object size exceeds a vertical presentation size, a correction picture constituting part 25 constitutes a virtual correction picture vertically dividing a virtual display picture. Then, the tag of the interpreted text document is transformed into format according to the specification of MHEG by a tag transforming part 27.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、少なくともHTM
Lファイルを含むHTMLコンテンツを、シナリオ及び
シーンの各ファイルを含むMHEGコンテンツに変換す
る際に用いられるHTML/MHEG変換方法に係り、
特に、本発明で提案する新規な変換方法を用いてHTM
LとMHEG間の互換性問題を解決することにより、H
TMLコンテンツを利用して例えばデジタル放送に用い
られるMHEGコンテンツをきわめて容易に変換作成し
得るHTML/MHEG変換方法、及びその変換装置に
関する。
The present invention relates to at least an HTM
The present invention relates to an HTML / MHEG conversion method used when converting HTML content including an L file into MHEG content including scenario and scene files.
In particular, the HTM using the novel conversion method proposed in the present invention
By solving the compatibility problem between L and MHEG, H
The present invention relates to an HTML / MHEG conversion method and a conversion apparatus capable of extremely easily converting and creating, for example, MHEG content used for digital broadcasting using TML content.

【0002】[0002]

【従来の技術】最近現行の地上波放送に加えてデジタル
放送に係る社会基盤が急速に整備されてきた。
2. Description of the Related Art In recent years, social infrastructure related to digital broadcasting in addition to current terrestrial broadcasting has been rapidly improved.

【0003】ところで、デジタル放送が真に魅力あるサ
ービスとしての地位を確立する上で考慮すべき重要な点
は、映像・音声などを含む番組を単にデジタル化して放
送するのみならず、いわゆる「デジタル化の配当」を視
聴者に還元する点にあると言われている。
An important point to consider when establishing the position of digital broadcasting as a truly attractive service is that not only programs including video and audio are simply digitized and broadcasted, but also so-called “digital broadcasting”. It is said that there is a point of returning the “payment of the change” to the viewer.

【0004】ここで「デジタル化の配当」とは、例えば
幼児から高齢者に至るあらゆる年齢層に属する視聴者の
嗜好に合致するであろう多様な番組を放送すること、及
びデジタル化の特性を活かして番組情報等を付加した番
組を放送することで、あたかもシャワーのようにして複
数の放送事業者から送られてくる膨大な数量の番組のな
かから、視聴者の嗜好に合致した番組を素早く検索して
視聴可能とする仕組みを用意することを言う。
[0004] Here, the "dividend of digitalization" refers to broadcasting various programs that will meet the tastes of viewers belonging to all ages, from infants to the elderly, and the characteristics of digitization. Broadcasting programs with program information etc. by utilizing them, it is possible to quickly find programs that match the viewer's taste from a huge amount of programs sent from multiple broadcasters as if it were a shower. This means preparing a mechanism that allows users to search and view.

【0005】[0005]

【発明が解決しようとする課題】ところが、上述した
「デジタル化の配当」のうち、前者の多様な番組の放送
に注目すれば、これは視聴者にとっての番組選択肢が増
えることを意味するため、自身の放送番組の視聴率向上
を切望する放送事業者は、人材・時間・費用を含む制約
条件下で、視聴者の多様な嗜好に合致した魅力ある番組
を制作しこれを放送する必要に迫られるが、この際、従
来の番組制作手法をそのまま踏襲していたのでは、厳し
い制約条件下でこの要求を満足することは到底不可能で
あるといった解決すべき課題を内在していた。
However, when paying attention to the former broadcasting of various programs out of the above-mentioned "payment of digitization", this means that there are more program options for viewers. Broadcasters who are eager to improve their audience ratings of their broadcast programs have to create and broadcast attractive programs that meet diverse audience preferences under constraints including human resources, time, and costs. However, at this time, there is an inherent problem to be solved such that it is impossible to satisfy this requirement under severe constraint conditions if the conventional program production method is directly followed.

【0006】そこで、本発明者らは、上記した課題解決
手段の一つとして、インターネット等で広く流通してお
り、リソースが豊富なWWW(World Wide Web)で提供さ
れるWebページなどのHTML (Hypertext Markup L
anguage)コンテンツを利用できないかとの着想を得るに
至った。
Accordingly, the present inventors have proposed, as one of the means for solving the above-described problems, an HTML (Web site) such as a Web page widely distributed on the Internet and provided on the WWW (World Wide Web) with abundant resources. Hypertext Markup L
anguage) I came up with the idea of using the content.

【0007】しかし、ここで下記に述べる新たな課題を
生じた。
However, the following new problem has arisen.

【0008】すなわち、HTMLとは、その名の示す通
り、ハイパーテキストを記述するための言語であり、H
TMLコンテンツは、HTMLの規定に従ってそのテキ
スト文書が構造化されている。
[0008] That is, HTML is a language for describing hypertext as its name implies.
The text document of the TML content is structured according to the rules of HTML.

【0009】一方で、映像・音声・テキスト・静止画な
どのマルチメディアデータを自由自在に取り扱う仕組み
として、国内の放送事業者がその採用候補として有力視
しているのが、MHEG−5 (Multimedia and Hyperme
dia Experts Group part5)と呼ばれる国際標準規格(ISO
/IEC13522-5)である。
On the other hand, as a mechanism for freely handling multimedia data such as video, audio, text, and still images, MHEG-5 (Multimedia) is considered to be a promising candidate for adoption by broadcasters in Japan. and Hyperme
dia Experts Group part5)
/ IEC13522-5).

【0010】ここで、HTMLコンテンツをデジタル放
送のコンテンツとして利用する際に生じるのが、HTM
Lと、MHEG−5(以下、単に「MHEG」と言
う。)との間の互換性問題であり、本発明者らは、この
互換性問題の解決を企図して鋭意研究を推進した結果、
本発明を想到するに至ったのである。
[0010] Here, when the HTML content is used as the content of the digital broadcast, what happens when the HTML content is used.
L and MHEG-5 (hereinafter, simply referred to as “MHEG”). The inventors of the present invention have made intensive studies to solve this compatibility problem, and as a result,
The present invention has been reached.

【0011】本発明は、上述した実情を鑑みてなされた
ものであり、本発明で提案する新規な変換方法を用いて
HTMLとMHEG間の互換性問題を解決することによ
り、HTMLコンテンツを利用して例えばデジタル放送
に用いられるMHEGコンテンツをきわめて容易に変換
作成し得るHTML/MHEG変換方法、及びその変換
装置を提供することを課題とする。
The present invention has been made in view of the above-described circumstances, and solves the compatibility problem between HTML and MHEG by using a novel conversion method proposed by the present invention, thereby utilizing HTML contents. It is therefore an object of the present invention to provide an HTML / MHEG conversion method and a conversion apparatus capable of converting and creating MHEG content used for digital broadcasting very easily.

【0012】[0012]

【課題を解決するための手段】上記課題を解決するため
に、請求項1の発明は、少なくともHTMLファイルを
含むHTMLコンテンツを、シナリオ及びシーンの各フ
ァイルを含むMHEGコンテンツに変換する際に用いら
れるHTML/MHEG変換方法であって、変換元とな
るHTMLコンテンツのうちHTMLファイルに含まれ
るテキスト文書のタグを解釈することで論理的な文書構
造を解析し、当該解析結果からオブジェクトのレイアウ
トを把握するレイアウト解析工程と、変換先となるMH
EGコンテンツが呈する水平及び垂直方向長さで定義さ
れる提示サイズを含む書式を設定する書式設定工程と、
前記レイアウト解析工程で把握されたオブジェクトのレ
イアウトと、前記書式設定工程で設定された書式とに基
づいて、当該オブジェクトの水平方向長さを表す水平方
向オブジェクトサイズが、水平方向における前記提示サ
イズを表す水平方向提示サイズを越えないことを企図し
て最適化しつつ1又は2以上の各オブジェクトを配置し
た仮想表示画面を構成する表示状態構成工程と、当該表
示状態構成工程で構成された仮想表示画面に基づいて、
当該仮想表示画面の垂直方向長さを表す垂直方向オブジ
ェクトサイズを求め、当該求められた垂直方向オブジェ
クトサイズが、垂直方向における前記提示サイズを表す
垂直方向提示サイズを越えるか否かに係るサイズ判定を
行い、当該サイズ判定の結果、前記垂直方向オブジェク
トサイズが、前記垂直方向提示サイズを越える旨の判定
が下されたとき、前記仮想表示画面の垂直方向における
最適な分割候補箇所を決定することで画面整合性を調整
する画面整合性調整工程と、当該画面整合性調整工程に
おけるサイズ判定の結果、前記垂直方向オブジェクトサ
イズが、前記垂直方向提示サイズを越える旨の判定が下
されたとき、前記最適化された分割候補箇所で前記仮想
表示画面を垂直方向に分割した仮想補正画面を構成する
補正画面構成工程と、前記レイアウト解析工程で解釈さ
れた前記テキスト文書のタグを、MHEGの規定に従う
形式に変換するタグ変換工程と、を含み、シナリオ及び
シーンの各ファイルを含むMHEGコンテンツを取得す
ることを要旨とする。
In order to solve the above problems, the invention of claim 1 is used when converting HTML content including at least an HTML file into MHEG content including scenario and scene files. This is an HTML / MHEG conversion method, in which a logical document structure is analyzed by interpreting a tag of a text document included in an HTML file among HTML contents to be converted, and an object layout is grasped from the analysis result. Layout analysis process and MH to be converted
A format setting step of setting a format including a presentation size defined by horizontal and vertical lengths presented by the EG content;
Based on the layout of the objects grasped in the layout analysis step and the format set in the format setting step, the horizontal object size representing the horizontal length of the object represents the presentation size in the horizontal direction A display state configuration step of configuring a virtual display screen in which one or more objects are arranged while optimizing to not exceed the horizontal presentation size; and a virtual display screen configured by the display state configuration step. On the basis of,
A vertical object size representing the vertical length of the virtual display screen is obtained, and a size determination is performed on whether the obtained vertical object size exceeds the vertical presentation size representing the presentation size in the vertical direction. When the determination is made that the vertical object size exceeds the vertical presentation size as a result of the size determination, the screen is determined by determining an optimal division candidate position in the vertical direction of the virtual display screen. A screen consistency adjusting step of adjusting the consistency, and as a result of the size determination in the screen consistency adjusting step, when it is determined that the vertical object size exceeds the vertical presentation size, the optimization is performed. Correction screen forming step of forming a virtual correction screen by vertically dividing the virtual display screen at the divided candidate positions And a tag conversion step of converting the tags of the text document interpreted in the layout analysis step into a format conforming to MHEG regulations, and acquiring MHEG contents including scenario and scene files. .

【0013】請求項1の発明によれば、まず、レイアウ
ト解析工程において、変換元となるHTMLコンテンツ
のうちHTMLファイルに含まれるテキスト文書のタグ
を解釈することで論理的な文書構造を解析し、この解析
結果からオブジェクトのレイアウトを把握する。一方、
書式設定工程において、変換先となるMHEGコンテン
ツが呈する水平及び垂直方向長さで定義される提示サイ
ズを含む書式を設定する。
According to the first aspect of the present invention, first, in a layout analysis step, a logical document structure is analyzed by interpreting a tag of a text document included in an HTML file among HTML contents to be converted. From this analysis result, the layout of the object is grasped. on the other hand,
In the format setting step, a format including a presentation size defined by horizontal and vertical lengths of the MHEG content to be converted is set.

【0014】次に、表示状態構成工程において、レイア
ウト解析工程で把握されたオブジェクトのレイアウト
と、書式設定工程で設定された書式とに基づいて、水平
方向オブジェクトサイズが、水平方向提示サイズを越え
ないことを企図して最適化しつつ1又は2以上の各オブ
ジェクトを配置した仮想表示画面を構成する。
Next, in the display state configuration step, the horizontal object size does not exceed the horizontal presentation size based on the layout of the objects grasped in the layout analysis step and the format set in the format setting step. A virtual display screen in which one or more objects are arranged while optimizing for this purpose is configured.

【0015】次に、画面整合性調整工程において、表示
状態構成工程で構成された仮想表示画面に基づいて、仮
想表示画面の垂直方向オブジェクトサイズを求め、求め
られた垂直方向オブジェクトサイズが、垂直方向提示サ
イズを越えるか否かに係るサイズ判定を行い、このサイ
ズ判定の結果、垂直方向オブジェクトサイズが、垂直方
向提示サイズを越える旨の判定が下されたとき、仮想表
示画面の垂直方向における最適な分割候補箇所を決定す
ることで画面整合性を調整する。
Next, in a screen consistency adjusting step, a vertical object size of the virtual display screen is obtained based on the virtual display screen formed in the display state forming step, and the obtained vertical object size is set in the vertical direction. A size determination is performed as to whether or not the size exceeds the presentation size. As a result of the size determination, when it is determined that the vertical object size exceeds the vertical presentation size, the optimal size of the virtual display screen in the vertical direction is determined. The screen consistency is adjusted by determining the division candidate portion.

【0016】次に、補正画面構成工程において、画面整
合性調整工程におけるサイズ判定の結果、垂直方向オブ
ジェクトサイズが、垂直方向提示サイズを越える旨の判
定が下されたとき、最適化された分割候補箇所で仮想表
示画面を垂直方向に分割した仮想補正画面を構成する。
Next, in the correction screen configuration step, when it is determined that the vertical object size exceeds the vertical presentation size as a result of the size determination in the screen consistency adjustment step, the optimized division candidate A virtual correction screen is obtained by vertically dividing the virtual display screen at the location.

【0017】そして、タグ変換工程において、レイアウ
ト解析工程で解釈されたテキスト文書のタグを、MHE
Gの規定に従う形式に変換する。
In the tag conversion step, the tags of the text document interpreted in the layout analysis step are converted into MHE tags.
Convert to a format that complies with G rules.

【0018】以上の各工程を経て、シナリオ及びシーン
の各ファイルを含むMHEGコンテンツを取得する。
Through the above steps, MHEG contents including scenario and scene files are obtained.

【0019】このように、請求項1の発明によれば、H
TMLファイルに含まれるテキスト文書のタグを解釈す
ることで論理的な文書構造を解析し、この解析結果から
オブジェクトのレイアウトを把握し、把握したオブジェ
クトに対し、MHEGコンテンツの提示サイズといった
所定の枠組みを考慮しながら、必要に応じて水平及び/
又は垂直方向における最適化処理を適宜施す一方で、前
記解釈されたテキスト文書のタグを、MHEGの規定に
従う形式に変換するので、したがって、HTMLとMH
EG間の互換性問題を解決することが可能となる結果と
して、HTMLコンテンツを利用して例えばデジタル放
送に用いられるMHEGコンテンツをきわめて容易に変
換作成し得るHTML/MHEG変換方法を提供するこ
とができる。
As described above, according to the first aspect of the present invention, H
The logical document structure is analyzed by interpreting the tag of the text document included in the TML file, the layout of the object is grasped from the analysis result, and a predetermined framework such as the presentation size of the MHEG content is provided for the grasped object. Horizontal and / or
Or, while appropriately performing optimization processing in the vertical direction, the tags of the interpreted text document are converted into a format in accordance with the MHEG rules.
As a result of being able to solve the compatibility problem between EGs, it is possible to provide an HTML / MHEG conversion method that can very easily convert and create, for example, MHEG content used for digital broadcasting using HTML content. .

【0020】また、請求項2の発明は、請求項1に記載
のHTML/MHEG変換方法であって、前記変換元と
なるHTMLコンテンツは、前記HTMLファイルに含
まれるテキスト文書のタグに関連付けて参照される参照
ファイルを含むことを要旨とする。
According to a second aspect of the present invention, in the HTML / MHEG conversion method according to the first aspect, the HTML content to be converted is referred to in association with a tag of a text document included in the HTML file. It is the gist that the reference file to be included is included.

【0021】請求項2の発明によれば、変換元となるH
TMLコンテンツは、HTMLファイルに含まれるテキ
スト文書のタグに関連付けて参照される参照ファイルを
含むものとされるので、したがって、参照ファイルを含
むHTMLコンテンツの変換に用いて最適なHTML/
MHEG変換方法を実現することができる。
According to the second aspect of the present invention, the conversion source H
Since the HTML content includes a reference file that is referred to in association with the tag of the text document included in the HTML file, therefore, the HTML / HTML that is most suitable for converting the HTML content including the reference file is used.
The MHEG conversion method can be realized.

【0022】さらに、請求項3の発明は、請求項2に記
載のHTML/MHEG変換方法であって、前記参照フ
ァイルがもつフォーマットを、前記MHEGコンテンツ
の提示用途に合致した所望のフォーマットに変換するフ
ォーマット変換工程をさらに含むことを要旨とする。
Further, according to a third aspect of the present invention, there is provided the HTML / MHEG conversion method according to the second aspect, wherein the format of the reference file is converted into a desired format that matches the presentation purpose of the MHEG content. The gist of the present invention is to further include a format conversion step.

【0023】請求項3の発明によれば、参照ファイルが
もつフォーマットを、MHEGコンテンツの提示用途に
合致した所望のフォーマットに変換するフォーマット変
換工程をさらに含むものとされるので、したがって、フ
ォーマット変換工程では、参照ファイルがもつフォーマ
ットを、MHEGコンテンツの提示用途に合致した所望
のフォーマットに変換する処理が必要に応じて実行され
る結果として、MHEGコンテンツの提示用途に用いて
最適なフォーマットに変換された参照ファイルを得るこ
とができる。
According to the third aspect of the present invention, the method further includes a format conversion step of converting the format of the reference file into a desired format that matches the application of the MHEG content. Then, the process of converting the format of the reference file into a desired format that matches the presentation purpose of the MHEG content is executed as necessary, and as a result, the format is converted to the optimal format for the presentation purpose of the MHEG content. You can get a reference file.

【0024】しかも、請求項4の発明は、請求項3に記
載のHTML/MHEG変換方法であって、前記参照フ
ァイルがGIFフォーマットをもつ画像ファイルである
とき、前記フォーマット変換工程では、GIF画像をP
NG画像にフォーマット変換することを要旨とする。
According to a fourth aspect of the present invention, in the HTML / MHEG conversion method according to the third aspect, when the reference file is an image file having a GIF format, the GIF image is converted in the format conversion step. P
The point is to convert the format into an NG image.

【0025】請求項4の発明によれば、参照ファイルが
GIFフォーマットをもつ画像ファイルであるとき、フ
ォーマット変換工程では、GIF画像をPNG画像にフ
ォーマット変換するので、したがって、請求項3の発明
と同様に、MHEGコンテンツの提示用途に用いて最適
なフォーマットに変換された参照ファイルを得ることが
できる。
According to the fourth aspect of the present invention, when the reference file is an image file having the GIF format, the format conversion step converts the format of the GIF image into a PNG image. In addition, it is possible to obtain a reference file converted into an optimal format for use in presenting MHEG content.

【0026】また、請求項5の発明は、請求項2乃至4
のうちいずれか一項に記載のHTML/MHEG変換方
法であって、少なくとも、前記レイアウト解析工程、前
記表示状態構成工程、前記画面整合性調整工程、又は前
記補正画面構成工程の各々では、前記参照ファイルを考
慮した工程処理が実行されることを要旨とする。
Further, the invention of claim 5 provides the invention of claims 2 to 4
In the HTML / MHEG conversion method according to any one of the above, at least in each of the layout analysis step, the display state configuration step, the screen consistency adjustment step, or the correction screen configuration step, the reference is performed. The gist of the present invention is to execute a process in consideration of a file.

【0027】請求項5の発明によれば、少なくとも、レ
イアウト解析工程、表示状態構成工程、画面整合性調整
工程、又は補正画面構成工程の各々では、参照ファイル
を考慮した工程処理が実行されるので、したがって、例
えばレイアウト解析工程での処理を例に挙げると、レイ
アウト解析工程では、参照ファイルに内包されたオブジ
ェクトを含む、換言すれば、変換元となるHTMLコン
テンツに含まれるオブジェクト全体としてのレイアウト
を把握することが可能となる結果として、実情に即した
高精度のHTML/MHEG変換方法を提供することが
できる。
According to the fifth aspect of the present invention, at least in each of the layout analysis step, the display state configuration step, the screen consistency adjustment step, and the correction screen configuration step, a process is performed in consideration of the reference file. Therefore, for example, taking the processing in the layout analysis step as an example, in the layout analysis step, the layout as an entire object included in the HTML content as the conversion source including the object included in the reference file is included. As a result, it is possible to provide a highly accurate HTML / MHEG conversion method suitable for the actual situation.

【0028】さらに、請求項6の発明は、請求項1乃至
5のうちいずれか一項に記載のHTML/MHEG変換
方法であって、前記表示状態構成工程では、前記水平方
向オブジェクトサイズが、前記水平方向提示サイズを越
えないことを企図して最適化しつつ1又は2以上のオブ
ジェクトを配置した仮想表示画面を構成するにあたり、
前記水平方向オブジェクトサイズが、前記水平方向提示
サイズを越えるとき、当該越える部分を順次折り返すこ
とで1又は2以上のオブジェクトを配置した仮想表示画
面を構成することを要旨とする。
According to a sixth aspect of the present invention, there is provided the HTML / MHEG conversion method according to any one of the first to fifth aspects, wherein in the display state configuration step, the horizontal object size is set to In configuring a virtual display screen on which one or more objects are arranged while optimizing for the purpose of not exceeding the horizontal presentation size,
When the horizontal direction object size exceeds the horizontal direction presentation size, a virtual display screen in which one or more objects are arranged is configured by sequentially folding back the portion exceeding the horizontal direction presentation size.

【0029】請求項6の発明によれば、表示状態構成工
程では、水平方向オブジェクトサイズが、水平方向提示
サイズを越えないことを企図して最適化しつつ1又は2
以上のオブジェクトを配置した仮想表示画面を構成する
にあたり、水平方向オブジェクトサイズが水平方向提示
サイズを越えるとき、この越える部分を順次折り返すこ
とで1又は2以上のオブジェクトを配置した仮想表示画
面を構成するので、したがって、例えば、オブジェクト
がテキスト文章である場合であって、このテキスト文章
が呈する水平方向オブジェクトサイズが水平方向提示サ
イズを超える場合には、この越えるテキスト部分を順次
折り返すようにして、オブジェクトに対する水平方向の
最適化処理が実行される結果として、MHEGコンテン
ツの提示サイズといった所定の枠組みのなかで、HTM
Lコンテンツを忠実に再現する際に用いて最適なHTM
L/MHEG変換方法を提供することができる。
According to the sixth aspect of the present invention, in the display state forming step, the horizontal object size is optimized by 1 or 2 while optimizing the horizontal object size so as not to exceed the horizontal presentation size.
In configuring a virtual display screen on which the above objects are arranged, when the horizontal object size exceeds the horizontal presentation size, the portion exceeding the horizontal presentation size is sequentially folded to form a virtual display screen on which one or more objects are arranged. Therefore, for example, when the object is a text sentence, and the horizontal object size presented by the text sentence exceeds the horizontal presentation size, the text portion exceeding the horizontal direction is sequentially wrapped, and As a result of the execution of the optimization process in the horizontal direction, the HTM in a predetermined framework such as the presentation size of the MHEG content
The best HTM to use when faithfully reproducing L content
An L / MHEG conversion method can be provided.

【0030】さらにまた、請求項7の発明は、請求項1
乃至6のうちいずれか一項に記載のHTML/MHEG
変換方法であって、前記画面整合性調整工程におけるサ
イズ判定の結果、前記垂直方向オブジェクトサイズが、
前記垂直方向提示サイズを越える旨の判定が下されたと
き、前記最適化された分割候補箇所で前記仮想表示画面
を垂直方向に分割したときの各単位仮想表示画面には、
各表示画面間での遷移操作を可能にするボタンオブジェ
クトが配置されることを要旨とする。
Further, the invention of claim 7 is the invention of claim 1
The HTML / MHEG according to any one of the above items 6 to 6
In the conversion method, as a result of the size determination in the screen consistency adjustment step, the vertical object size,
When it is determined that the size exceeds the vertical presentation size, the unit virtual display screen when the virtual display screen is vertically divided at the optimized division candidate location,
The gist is to arrange a button object that enables a transition operation between the respective display screens.

【0031】請求項7の発明によれば、画面整合性調整
工程におけるサイズ判定の結果、垂直方向オブジェクト
サイズが、垂直方向提示サイズを越える旨の判定が下さ
れたとき、前記最適化された分割候補箇所で仮想表示画
面を垂直方向に分割したときの各単位仮想表示画面に
は、各表示画面間での遷移操作を可能にするオブジェク
トが配置されるので、したがって、例えば垂直方向にお
ける最適化処理が施されることで仮想表示画面が垂直方
向に分割されるに至った場合であっても、各単位仮想表
示画面間の遷移操作を例えばボタンオブジェクトを用い
て実行可能な仕組みを提供することができる。
According to the seventh aspect of the present invention, when it is determined that the vertical object size exceeds the vertical presentation size as a result of the size determination in the screen consistency adjustment step, the optimized division is performed. In each unit virtual display screen when the virtual display screen is vertically divided at the candidate portion, an object that enables a transition operation between the respective display screens is arranged. Therefore, for example, optimization processing in the vertical direction Is provided, it is possible to provide a mechanism capable of executing a transition operation between the unit virtual display screens using, for example, a button object, even when the virtual display screen is vertically divided. it can.

【0032】しかも、請求項8の発明は、請求項1乃至
7のうちいずれか一項に記載のHTML/MHEG変換
方法であって、前記画面整合性調整工程では、前記表示
状態構成工程で構成された仮想表示画面に基づいて垂直
方向オブジェクトサイズを求めるにあたり、当該仮想表
示画面に配置された各オブジェクト毎の垂直方向サイズ
を積算することで求めることを要旨とする。
Further, the invention according to claim 8 is the HTML / MHEG conversion method according to any one of claims 1 to 7, wherein the screen consistency adjusting step comprises the display state forming step. In obtaining the vertical object size based on the virtual display screen thus obtained, the gist is that the vertical object size is obtained by integrating the vertical size of each object arranged on the virtual display screen.

【0033】請求項8の発明によれば、画面整合性調整
工程では、表示状態構成工程で構成された仮想表示画面
に基づいて垂直方向オブジェクトサイズを求めるにあた
り、仮想表示画面に配置された各オブジェクト毎の垂直
方向サイズを積算することで求めるものとされるので、
したがって、各オブジェクト毎の高精度の垂直方向サイ
ズを積算する結果として、垂直方向オブジェクトサイズ
を高精度に求めることができる。
According to the eighth aspect of the present invention, in the screen consistency adjusting step, when obtaining the vertical object size based on the virtual display screen formed in the display state forming step, each object arranged on the virtual display screen is obtained. Since it is determined by integrating the vertical size for each,
Therefore, as a result of accumulating the high-precision vertical size of each object, the vertical-direction object size can be obtained with high accuracy.

【0034】さらに、請求項9の発明は、請求項1乃至
8のうちいずれか一項に記載のHTML/MHEG変換
方法であって、前記画面整合性調整工程で最適な分割候
補箇所を決定するにあたり、当該分割候補箇所の最適化
に係る調整入力操作を許容する調整入力工程をさらに含
むことを要旨とする。
Further, the invention according to claim 9 is the HTML / MHEG conversion method according to any one of claims 1 to 8, wherein an optimum division candidate position is determined in the screen consistency adjustment step. In this regard, the gist of the present invention is to further include an adjustment input step of allowing an adjustment input operation for optimizing the division candidate portion.

【0035】請求項9の発明によれば、画面整合性調整
工程で最適な分割候補箇所を決定するにあたり、分割候
補箇所の最適化に係る調整入力操作を許容する調整入力
工程をさらに含むものとされるので、したがって、分割
候補箇所の最適化に係る調整入力操作を許容する仕組み
が用意される結果として、画面整合性調整工程で最適な
分割候補箇所を決定するにあたり、その最適化精度のさ
らなる向上を期待することができる。
According to the ninth aspect of the present invention, the determination of the optimum division candidate portion in the screen consistency adjustment step further includes an adjustment input step of allowing an adjustment input operation for optimizing the division candidate portion. Therefore, as a result of providing a mechanism that allows an adjustment input operation related to the optimization of the division candidate portion, the determination of the optimal division candidate portion in the screen consistency adjustment step further increases the optimization accuracy. We can expect improvement.

【0036】そして、請求項10の発明は、少なくとも
HTMLファイルを含むHTMLコンテンツを、シナリ
オ及びシーンの各ファイルを含むMHEGコンテンツに
変換するHTML/MHEG変換装置であって、変換元
となるHTMLコンテンツのうちHTMLファイルに含
まれるテキスト文書のタグを解釈することで論理的な文
書構造を解析し、当該解析結果からオブジェクトのレイ
アウトを把握するレイアウト解析手段と、変換先となる
MHEGコンテンツが呈する水平及び垂直方向長さで定
義される提示サイズを含む書式を設定する書式設定手段
と、前記レイアウト解析手段で把握されたオブジェクト
のレイアウトと、前記書式設定手段で設定された書式と
に基づいて、当該オブジェクトの水平方向長さを表す水
平方向オブジェクトサイズが、水平方向における前記提
示サイズを表す水平方向提示サイズを越えないことを企
図して最適化しつつ1又は2以上の各オブジェクトを配
置した仮想表示画面を構成する表示状態構成手段と、当
該表示状態構成手段で構成された仮想表示画面に基づい
て、当該仮想表示画面の垂直方向長さを表す垂直方向オ
ブジェクトサイズを求め、当該求められた垂直方向オブ
ジェクトサイズが、垂直方向における前記提示サイズを
表す垂直方向提示サイズを越えるか否かに係るサイズ判
定を行い、当該サイズ判定の結果、前記垂直方向オブジ
ェクトサイズが、前記垂直方向提示サイズを越える旨の
判定が下されたとき、前記仮想表示画面の垂直方向にお
ける最適な分割候補箇所を決定することで画面整合性を
調整する画面整合性調整手段と、当該画面整合性調整手
段におけるサイズ判定の結果、前記垂直方向オブジェク
トサイズが、前記垂直方向提示サイズを越える旨の判定
が下されたとき、前記最適化された分割候補箇所で前記
仮想表示画面を垂直方向に分割した仮想補正画面を構成
する補正画面構成手段と、前記レイアウト解析手段で解
釈された前記テキスト文書のタグを、MHEGの規定に
従う形式に変換するタグ変換手段と、を含み、シナリオ
及びシーンの各ファイルを含むMHEGコンテンツを取
得することを要旨とする。
The invention according to claim 10 is an HTML / MHEG conversion device for converting HTML content including at least an HTML file into MHEG content including scenario and scene files, wherein the HTML content of the conversion source is included. Among them, a layout analysis unit for analyzing a logical document structure by interpreting a tag of a text document included in an HTML file and grasping a layout of an object from the analysis result, and a horizontal and vertical display of MHEG content to be converted. A format setting unit for setting a format including a presentation size defined by a direction length; a layout of the object grasped by the layout analysis unit; and a format of the object based on the format set by the format setting unit. A horizontal object representing the horizontal length Display state configuring means for configuring a virtual display screen on which one or more objects are arranged while optimizing for the purpose of not exceeding a horizontal presentation size representing the presentation size in the horizontal direction, and the display A vertical object size representing a vertical length of the virtual display screen is determined based on the virtual display screen configured by the state configuration unit, and the determined vertical object size represents the presentation size in the vertical direction. Performing a size determination as to whether the size exceeds the vertical presentation size, and as a result of the size determination, when it is determined that the vertical object size exceeds the vertical presentation size, Screen consistency adjustment means for adjusting screen consistency by determining an optimal division candidate position in the vertical direction; As a result of the size determination by the screen consistency adjustment means, when it is determined that the vertical object size exceeds the vertical presentation size, the virtual display screen is vertically shifted at the optimized division candidate position. And a tag conversion unit configured to convert a tag of the text document interpreted by the layout analysis unit into a format conforming to MHEG rules. The gist is to acquire MHEG content including each file.

【0037】請求項10の発明によれば、まず、レイア
ウト解析手段において、変換元となるHTMLコンテン
ツのうちHTMLファイルに含まれるテキスト文書のタ
グを解釈することで論理的な文書構造を解析し、この解
析結果からオブジェクトのレイアウトを把握する。一
方、書式設定手段において、変換先となるMHEGコン
テンツが呈する水平及び垂直方向長さで定義される提示
サイズを含む書式を設定する。
According to the tenth aspect, first, the layout analysis means analyzes the logical document structure by interpreting the tag of the text document included in the HTML file in the HTML content to be converted. From this analysis result, the layout of the object is grasped. On the other hand, the format setting means sets a format including a presentation size defined by the horizontal and vertical lengths of the MHEG content to be converted.

【0038】次に、表示状態構成手段において、レイア
ウト解析手段で把握されたオブジェクトのレイアウト
と、書式設定手段で設定された書式とに基づいて、水平
方向オブジェクトサイズが、水平方向提示サイズを越え
ないことを企図して最適化しつつ1又は2以上の各オブ
ジェクトを配置した仮想表示画面を構成する。
Next, based on the layout of the objects grasped by the layout analyzing means and the format set by the format setting means, the display state forming means does not make the horizontal object size exceed the horizontal presentation size. A virtual display screen in which one or more objects are arranged while optimizing for this purpose is configured.

【0039】次に、画面整合性調整手段において、表示
状態構成手段で構成された仮想表示画面に基づいて、仮
想表示画面の垂直方向オブジェクトサイズを求め、求め
られた垂直方向オブジェクトサイズが、垂直方向提示サ
イズを越えるか否かに係るサイズ判定を行い、このサイ
ズ判定の結果、垂直方向オブジェクトサイズが、垂直方
向提示サイズを越える旨の判定が下されたとき、仮想表
示画面の垂直方向における最適な分割候補箇所を決定す
ることで画面整合性を調整する。
Next, the screen consistency adjusting means obtains the vertical object size of the virtual display screen based on the virtual display screen constituted by the display state forming means, and determines the obtained vertical object size in the vertical direction. A size determination is performed as to whether or not the size exceeds the presentation size. As a result of the size determination, when it is determined that the vertical object size exceeds the vertical presentation size, the optimal size of the virtual display screen in the vertical direction is determined. The screen consistency is adjusted by determining the division candidate portion.

【0040】次に、補正画面構成手段において、画面整
合性調整手段におけるサイズ判定の結果、垂直方向オブ
ジェクトサイズが、垂直方向提示サイズを越える旨の判
定が下されたとき、最適化された分割候補箇所で仮想表
示画面を垂直方向に分割した仮想補正画面を構成する。
Next, when the correction screen composing means judges that the vertical object size exceeds the vertical presentation size as a result of the size judgment by the screen consistency adjusting means, the optimized division candidate A virtual correction screen is obtained by vertically dividing the virtual display screen at the location.

【0041】そして、タグ変換手段において、レイアウ
ト解析手段で解釈されたテキスト文書のタグを、MHE
Gの規定に従う形式に変換する。
The tag conversion means converts the tag of the text document interpreted by the layout analysis means into MHE.
Convert to a format that complies with G rules.

【0042】以上の各手段での処理を経て、シナリオ及
びシーンの各ファイルを含むMHEGコンテンツを取得
する。
The MHEG contents including the scenario and scene files are obtained through the above-described processes.

【0043】このように、請求項10の発明によれば、
HTMLファイルに含まれるテキスト文書のタグを解釈
することで論理的な文書構造を解析し、この解析結果か
らオブジェクトのレイアウトを把握し、把握したオブジ
ェクトに対し、MHEGコンテンツの提示サイズといっ
た所定の枠組みを考慮しながら、必要に応じて水平及び
/又は垂直方向における最適化処理を適宜施す一方で、
前記解釈されたテキスト文書のタグを、MHEGの規定
に従う形式に変換するので、したがって、HTMLとM
HEG間の互換性問題を解決することが可能となる結果
として、HTMLコンテンツを利用して例えばデジタル
放送に用いられるMHEGコンテンツをきわめて容易に
変換作成し得るHTML/MHEG変換装置を提供する
ことができる。
Thus, according to the tenth aspect of the present invention,
The logical document structure is analyzed by interpreting the tag of the text document included in the HTML file, the layout of the object is grasped from the analysis result, and a predetermined framework such as the presentation size of the MHEG content is provided for the grasped object. While taking into account, while appropriately performing optimization processing in the horizontal and / or vertical directions as necessary,
Since the interpreted text document tags are converted into a format conforming to the MHEG regulations, the HTML and M
As a result of being able to solve the compatibility problem between HEGs, it is possible to provide an HTML / MHEG conversion device that can very easily convert and create MHEG contents used for digital broadcasting, for example, using HTML contents. .

【0044】[0044]

【発明の実施の形態】以下に、本発明に係るHTML/
MHEG変換方法、及びその変換装置の実施形態につい
て、図に基づいて詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION The HTML /
An embodiment of an MHEG conversion method and an MHEG conversion device will be described in detail with reference to the drawings.

【0045】図1は、本発明に係るHTML/MHEG
変換方法を具現化した変換装置の概略ブロック構成図、
図2は、HTMLとMHEGとのページ構成の相違を表
す概念図、図3乃至4は、本発明に係るHTML/MH
EG変換方法の変換過程を表す説明図である。
FIG. 1 shows an HTML / MHEG according to the present invention.
Schematic block configuration diagram of a conversion device embodying the conversion method,
FIG. 2 is a conceptual diagram showing a difference in page configuration between HTML and MHEG, and FIGS. 3 and 4 are HTML / MH according to the present invention.
It is explanatory drawing showing the conversion process of the EG conversion method.

【0046】本発明の説明に先立って、SGML(Stand
ard Generalized Markup Language)を基礎としたコンピ
ュータ向けの構造化言語であるHTML(Hyper Text Ma
rkupLanguage)から、テレビ受信機のセット・トップ・
ボックス(以下、「STB」と言う。)向けのマルチメ
ディア提示を目標に開発されたMHEG (Multimediaan
d Hypermedia Experts Group)への変換を円滑に実現す
る際に障害となる点、すなわち、HTMLとMHEG間
の互換性を確保する上で考慮すべき重要な点を以下に列
挙する。
Prior to the description of the present invention, SGML (Stand
HTML (Hyper Text Ma) which is a structured language for computers based on ard Generalized Markup Language
rkupLanguage) from the TV set top
MHEG (Multimediaan) developed with the goal of presenting multimedia for boxes (hereinafter referred to as “STB”)
d) The points that are obstacles to the smooth conversion to the Hypermedia Experts Group), that is, important points to be considered in ensuring compatibility between HTML and MHEG, are listed below.

【0047】第1に、位置指定方法の相違が挙げられ
る。
First, there is a difference in the position designation method.

【0048】HTMLでは、文章や画像等を含むオブジ
ェクトの位置を相対的に指定する。これにより、ブラウ
ザ側のウィンドウの大きさが変わると、それに伴って提
示のされ方も違ってくる。
In HTML, the position of an object including a text and an image is relatively designated. As a result, when the size of the window on the browser side changes, the presentation method also changes accordingly.

【0049】一方、MHEGでは、ブラウザ側に依存す
ることなく所定の提示され方を実現するため、オブジェ
クトの位置を絶対的に指定することが求められる。
On the other hand, in the MHEG, in order to realize a predetermined presentation method without depending on the browser side, it is required to absolutely designate the position of the object.

【0050】第2に、ページ構成の相違が挙げられる。Second, there is a difference in the page configuration.

【0051】HTMLでは、基本的にページの大きさの
概念がなく、一つのページの大きさには制限がない。こ
のため、目的の画面を自在に閲覧する仕組みとして、画
面スクロールが用意されている。
In HTML, there is basically no concept of page size, and there is no limit on the size of one page. For this reason, screen scrolling is provided as a mechanism for freely browsing the target screen.

【0052】一方、MHEGでは、ページの大きさの上
限が提示サイズとして規定されている。また、MHEG
は、STBに対するリモコン操作を媒介して操作者の意
図を入力することを前提として開発されており、スクロ
ールを許可しない設計思想がある。このため、目的の画
面を自在に閲覧する仕組みとして、画面スクロールに代
えて、ページ間の遷移を可能とするボタンオブジェクト
が用意されている。
On the other hand, in MHEG, the upper limit of the page size is defined as the presentation size. Also, MHEG
Has been developed on the premise that an operator's intention is input via a remote control operation on the STB, and there is a design concept that does not allow scrolling. For this reason, as a mechanism for freely browsing the target screen, a button object that enables transition between pages is prepared instead of screen scrolling.

【0053】第3に、タグの相違が挙げられる。Third, there is a difference between tags.

【0054】HTMLでは、文書の論理的な構造やスタ
イル、又は図2(a)に示すリンク先指定などのアクシ
ョンを、タグと呼ばれる要素を用いて記述している。
In HTML, the logical structure and style of a document, or actions such as link destination designation shown in FIG. 2A are described using elements called tags.

【0055】一方、MHEGでは、コンテンツを出力す
る際の画面上の位置指定(レイアウト)や出力タイミン
グの指定等を、図2(b)に示すように、シナリオやシ
ーン(ページ)等を用いて表現している。
On the other hand, in the MHEG, the designation of the position (layout) on the screen when outputting the content, the designation of the output timing, and the like are performed using a scenario, a scene (page), and the like as shown in FIG. expressing.

【0056】上記を総括すれば、HTMLとMHEG間
の互換性を確保する上で考慮すべき重要な点は、第1
に、オブジェクトの位置指定を、相対指定から絶対指定
に変換すること、第2に、大きさに制限がないHTML
ページを、有限面積の所定の提示サイズで規定されるM
HEGページに分割し、分割したページをシナリオ構造
に変換すること、第3に、HTMLのタグを、MHEG
の文法等の規定に従って変換すること、換言すれば、H
TMLのタグやリンク等を解釈することで文書の論理的
な構造を解析し、それをMHEGのシナリオの構造に変
換すること、にあると言うことができる。
Summarizing the above, the important points to be considered in securing compatibility between HTML and MHEG are as follows.
Second, the position designation of an object is converted from a relative designation to an absolute designation.
The page is defined as M with a predetermined presentation size of a finite area.
Dividing into HEG pages, converting the divided pages into a scenario structure, and thirdly, adding HTML tags to MHEG
, In other words, H
It can be said that the logical structure of the document is analyzed by interpreting the TML tags and links, and the document is converted into the structure of the MHEG scenario.

【0057】そこで、本発明者らは、上述の重要点を踏
まえて、少なくともHTMLファイルを含むHTMLコ
ンテンツを、シナリオ及びシーンの各ファイルを含むM
HEGコンテンツに変換することを企図して、以下に述
べるHTML/MHEG変換方法を想到するに至ったの
である。
In view of the above-mentioned important points, the present inventors have converted HTML contents including at least HTML files into M-files including scenario and scene files.
With the intention of converting to HEG content, the following HTML / MHEG conversion method has been conceived.

【0058】すなわち、本発明に係るHTML/MHE
G変換方法は、変換元となるHTMLコンテンツのうち
HTMLファイルに含まれるテキスト文書のタグを解釈
することで論理的な文書構造を解析し、当該解析結果か
らオブジェクトのレイアウトを把握するレイアウト解析
工程と、変換先となるMHEGコンテンツが呈する水平
及び垂直方向長さで定義される提示サイズを含む書式を
設定する書式設定工程と、前記レイアウト解析工程で把
握されたオブジェクトのレイアウトと、前記書式設定工
程で設定された書式とに基づいて、当該オブジェクトの
水平方向長さを表す水平方向オブジェクトサイズが、水
平方向における前記提示サイズを表す水平方向提示サイ
ズを越えないことを企図して最適化しつつ1又は2以上
の各オブジェクトを配置した仮想表示画面を構成する表
示状態構成工程と、当該表示状態構成工程で構成された
仮想表示画面に基づいて、当該仮想表示画面の垂直方向
長さを表す垂直方向オブジェクトサイズを求め、当該求
められた垂直方向オブジェクトサイズが、垂直方向にお
ける前記提示サイズを表す垂直方向提示サイズを越える
か否かに係るサイズ判定を行い、当該サイズ判定の結
果、前記垂直方向オブジェクトサイズが、前記垂直方向
提示サイズを越える旨の判定が下されたとき、前記仮想
表示画面の垂直方向における最適な分割候補箇所を決定
することで画面整合性を調整する画面整合性調整工程
と、当該画面整合性調整工程におけるサイズ判定の結
果、前記垂直方向オブジェクトサイズが、前記垂直方向
提示サイズを越える旨の判定が下されたとき、前記最適
化された分割候補箇所で前記仮想表示画面を垂直方向に
分割した仮想補正画面を構成する補正画面構成工程と、
前記レイアウト解析工程で解釈された前記テキスト文書
のタグを、MHEGの規定に従う形式に変換するタグ変
換工程と、を含み、シナリオ及びシーンの各ファイルを
含むMHEGコンテンツを取得することを特徴としてい
る。
That is, the HTML / MHE according to the present invention
The G conversion method includes a layout analysis step of analyzing a logical document structure by interpreting a tag of a text document included in an HTML file among HTML contents to be converted, and grasping a layout of an object from the analysis result. A format setting step of setting a format including a presentation size defined by the horizontal and vertical lengths of the MHEG content to be converted; a layout of the object grasped in the layout analysis step; Based on the set format, 1 or 2 while optimizing the horizontal object size representing the horizontal length of the object so as not to exceed the horizontal presentation size representing the presentation size in the horizontal direction A display state configuration step of configuring a virtual display screen on which the above objects are arranged; Based on the virtual display screen configured in the display state configuration step, a vertical object size representing a vertical length of the virtual display screen is obtained, and the obtained vertical object size is the presentation size in the vertical direction. Performing a size determination as to whether the vertical object size exceeds the vertical presentation size, and as a result of the size determination, determining that the vertical object size exceeds the vertical direction presentation size; A screen consistency adjustment step of adjusting the screen consistency by determining an optimal division candidate position in the vertical direction of the screen, and a result of the size determination in the screen consistency adjustment step, the vertical direction object size is determined in the vertical direction. When it is determined that the size exceeds the presentation size, the virtual display screen is displayed at the optimized division candidate position. A correction screen configuration step of configuring the virtual correction screen divided in the vertical direction,
And a tag conversion step of converting the tags of the text document interpreted in the layout analysis step into a format conforming to MHEG regulations, and acquiring MHEG contents including scenario and scene files.

【0059】本HTML/MHEG変換方法によれば、
まず、レイアウト解析工程において、変換元となるHT
MLコンテンツのうちHTMLファイルに含まれるテキ
スト文書のタグを解釈することで論理的な文書構造を解
析し、この解析結果からオブジェクトのレイアウトを把
握する。一方、書式設定工程において、変換先となるM
HEGコンテンツが呈する水平及び垂直方向長さで定義
される提示サイズを含む書式を設定する。なお、HTM
Lファイルに含まれるテキスト文書のタグを解釈すると
は、例えばテキスト文書のスタイルをCSS (Cascadin
g Style Sheet)を用いて記述している場合には、CSS
の解釈をも含むものとする。また、上述の提示サイズと
しては、標準テレビ映像(SDTV)では4:3のアス
ペクト比を、又はハイビジョン映像(HDTV)では1
6:9のアスペクト比を、目的に応じて適宜選択的に設
定すればよい。
According to the HTML / MHEG conversion method,
First, in the layout analysis process, the HT as the conversion source
The logical document structure is analyzed by interpreting the tag of the text document included in the HTML file in the ML content, and the layout of the object is grasped from the analysis result. On the other hand, in the format setting step, the conversion destination M
A format including a presentation size defined by the horizontal and vertical lengths of the HEG content is set. Note that HTM
To interpret the tag of the text document included in the L file, for example, the style of the text document is changed to CSS (Cascadin
g Style Sheet), use CSS
And the interpretation of In addition, the above-mentioned presentation size has an aspect ratio of 4: 3 for a standard television image (SDTV) or 1 for a high-definition image (HDTV).
The aspect ratio of 6: 9 may be selectively set as appropriate according to the purpose.

【0060】次に、表示状態構成工程において、レイア
ウト解析工程で把握されたオブジェクトのレイアウト
と、書式設定工程で設定された書式とに基づいて、水平
方向オブジェクトサイズが、水平方向提示サイズを越え
ないことを企図して最適化しつつ1又は2以上の各オブ
ジェクトを配置した仮想表示画面を構成する。
Next, in the display state configuration step, the horizontal object size does not exceed the horizontal presentation size based on the layout of the objects grasped in the layout analysis step and the format set in the format setting step. A virtual display screen in which one or more objects are arranged while optimizing for this purpose is configured.

【0061】次に、画面整合性調整工程において、表示
状態構成工程で構成された仮想表示画面に基づいて、仮
想表示画面の垂直方向オブジェクトサイズを求め、求め
られた垂直方向オブジェクトサイズが、垂直方向提示サ
イズを越えるか否かに係るサイズ判定を行い、このサイ
ズ判定の結果、垂直方向オブジェクトサイズが、垂直方
向提示サイズを越える旨の判定が下されたとき、仮想表
示画面の垂直方向における最適な分割候補箇所を決定す
ることで画面整合性を調整する。
Next, in the screen consistency adjustment step, the vertical object size of the virtual display screen is obtained based on the virtual display screen formed in the display state forming step, and the obtained vertical object size is set in the vertical direction. A size determination is performed as to whether or not the size exceeds the presentation size. As a result of the size determination, when it is determined that the vertical object size exceeds the vertical presentation size, the optimal size of the virtual display screen in the vertical direction is determined. The screen consistency is adjusted by determining the division candidate portion.

【0062】次に、補正画面構成工程において、画面整
合性調整工程におけるサイズ判定の結果、垂直方向オブ
ジェクトサイズが、垂直方向提示サイズを越える旨の判
定が下されたとき、最適化された分割候補箇所で仮想表
示画面を垂直方向に分割した仮想補正画面を構成する。
Next, in the correction screen configuration step, when it is determined that the vertical object size exceeds the vertical presentation size as a result of the size determination in the screen consistency adjustment step, the optimized division candidate A virtual correction screen is obtained by vertically dividing the virtual display screen at the location.

【0063】そして、タグ変換工程において、レイアウ
ト解析工程で解釈されたテキスト文書のタグを、MHE
Gの規定に従う形式に変換する。
In the tag conversion step, the tag of the text document interpreted in the layout analysis step is
Convert to a format that complies with G rules.

【0064】以上の各工程を経て、シナリオ及びシーン
の各ファイルを含むMHEGコンテンツを取得する。
Through the above steps, MHEG contents including scenario and scene files are obtained.

【0065】このように、本HTML/MHEG変換方
法によれば、HTMLファイルに含まれるテキスト文書
のタグを解釈することで論理的な文書構造を解析し、こ
の解析結果からオブジェクトのレイアウトを把握し、把
握したオブジェクトに対し、MHEGコンテンツの提示
サイズといった所定の枠組みを考慮しながら、必要に応
じて水平及び/又は垂直方向における最適化処理を適宜
施す一方で、前記解釈されたテキスト文書のタグを、M
HEGの規定に従う形式に変換するので、したがって、
HTMLとMHEG間の互換性問題を解決することが可
能となる結果として、HTMLコンテンツを利用して例
えばデジタル放送に用いられるMHEGコンテンツをき
わめて容易に変換作成することができる。
As described above, according to the HTML / MHEG conversion method, the logical document structure is analyzed by interpreting the tag of the text document included in the HTML file, and the layout of the object is grasped from the analysis result. While taking into account a predetermined framework, such as the presentation size of MHEG content, with respect to the grasped object, optimization processing in the horizontal and / or vertical directions is appropriately performed as necessary, while the tag of the interpreted text document is added. , M
Since it is converted into a format according to the HEG rules,
As a result of solving the compatibility problem between HTML and MHEG, MHEG content used for digital broadcasting, for example, can be converted and created very easily using HTML content.

【0066】なお、本HTML/MHEG変換方法は、
上述した形態に限定されることなく、以下に述べる種々
の変形例を許容することができる。
The HTML / MHEG conversion method is as follows.
Without being limited to the above-described embodiment, various modifications described below can be allowed.

【0067】すなわち、例えば、変換元となるHTML
コンテンツは、HTMLファイルに含まれるテキスト文
書のタグに関連付けて参照される参照ファイルを含むこ
とを許容する。
That is, for example, the conversion source HTML
The content is allowed to include a reference file referred to in association with a tag of a text document included in the HTML file.

【0068】このようにすれば、参照ファイルを含むH
TMLコンテンツの変換に用いて最適なHTML/MH
EG変換方法を実現することができる。
In this way, H including the reference file
HTML / MH optimal for conversion of TML content
An EG conversion method can be realized.

【0069】また、参照ファイルがもつフォーマット
を、MHEGコンテンツの提示用途に合致した所望のフ
ォーマットに変換するフォーマット変換工程をさらに含
むことを許容する。
Further, it is permitted to further include a format conversion step of converting the format of the reference file into a desired format that matches the use of the MHEG content.

【0070】このようにすれば、フォーマット変換工程
では、参照ファイルがもつフォーマットを、MHEGコ
ンテンツの提示用途に合致した所望のフォーマットに変
換する処理が必要に応じて実行される結果として、MH
EGコンテンツの提示用途に用いて最適なフォーマット
に変換された参照ファイルを得ることができる。
In this manner, in the format conversion step, the process of converting the format of the reference file into a desired format that matches the purpose of presentation of the MHEG content is executed as necessary.
It is possible to obtain a reference file converted into an optimal format for use in presenting EG content.

【0071】さらに、参照ファイルがGIF (Graphics
Interchange Format)フォーマットをもつ画像ファイル
であるとき、前記フォーマット変換工程では、GIF画
像をPNG (Portable Network Graphics)画像にフォー
マット変換することを許容する。ここで、PNGとは、
WWWの標準化団体であるW3C(World Wide WebConso
rtium)がWWWでの画像フォーマットとして推奨してい
るものであり、デジタル放送に適した画像フォーマット
であると言うことができる。
Further, if the reference file is a GIF (Graphics
When the image file has an Interchange Format), the format conversion step allows format conversion of the GIF image into a PNG (Portable Network Graphics) image. Here, PNG is
W3C (World Wide WebConso
rtium) is recommended as an image format in WWW, and can be said to be an image format suitable for digital broadcasting.

【0072】このようにすれば、MHEGコンテンツの
提示用途に用いて最適なフォーマットに変換された参照
ファイルを得ることができる。
In this way, it is possible to obtain a reference file converted into an optimal format for use in presenting MHEG content.

【0073】また、少なくとも、前記レイアウト解析工
程、前記表示状態構成工程、前記画面整合性調整工程、
又は前記補正画面構成工程の各々では、前記参照ファイ
ルを考慮した工程処理が実行されることを許容する。
Further, at least the layout analysis step, the display state configuration step, the screen consistency adjustment step,
Alternatively, in each of the correction screen configuration steps, it is allowed to execute a step process in consideration of the reference file.

【0074】このようにすれば、例えばレイアウト解析
工程での処理を例に挙げると、レイアウト解析工程で
は、参照ファイルに内包されたオブジェクトを含む、換
言すれば、変換元となるHTMLコンテンツに含まれる
オブジェクト全体としてのレイアウトを把握することが
可能となる結果として、実情に即した高精度のHTML
/MHEG変換方法を提供することができる。
By doing so, for example, taking the processing in the layout analysis step as an example, in the layout analysis step, the object included in the reference file is included, in other words, included in the HTML content to be converted. As a result of being able to grasp the layout of the entire object, high-precision HTML that matches the actual situation
/ MHEG conversion method can be provided.

【0075】さらに、前記表示状態構成工程では、水平
方向オブジェクトサイズが、水平方向提示サイズを越え
ないことを企図して最適化しつつ1又は2以上のオブジ
ェクトを配置した仮想表示画面を構成するにあたり、水
平方向オブジェクトサイズが水平方向提示サイズを越え
るとき、この越える部分を順次折り返すことで1又は2
以上のオブジェクトを配置した仮想表示画面を構成する
ことを許容する。
Further, in the display state composing step, a virtual display screen in which one or more objects are arranged while optimizing the horizontal object size so as not to exceed the horizontal presentation size is considered. When the horizontal object size exceeds the horizontal presentation size, the portion exceeding the horizontal presentation size is sequentially folded back to 1 or 2
It is allowed to configure a virtual display screen on which the above objects are arranged.

【0076】このようにすれば、例えば、オブジェクト
がテキスト文章である場合であって、このテキスト文章
が呈する水平方向オブジェクトサイズが水平方向提示サ
イズを超える場合には、図3に示すように、この越える
テキスト部分を順次折り返すように改行することで、オ
ブジェクトに対する水平方向の最適化処理が実行される
結果として、MHEGコンテンツの提示サイズといった
所定の枠組みのなかで、HTMLコンテンツを忠実に再
現する際に用いて最適なHTML/MHEG変換方法を
提供することができる。
In this way, for example, when the object is a text document and the size of the horizontal object presented by the text document exceeds the horizontal presentation size, as shown in FIG. Line breaks are sequentially wrapped over the text portion that exceeds, so that the horizontal optimization process is performed on the object. As a result, when the HTML content is faithfully reproduced in a predetermined framework such as the presentation size of the MHEG content. To provide an optimal HTML / MHEG conversion method.

【0077】さらにまた、前記画面整合性調整工程にお
けるサイズ判定の結果、垂直方向オブジェクトサイズが
垂直方向提示サイズを越える旨の判定が下されたとき、
最適化された分割候補箇所で仮想表示画面を垂直方向に
分割したときの各単位仮想表示画面には、図4に示すよ
うに、各表示画面すなわち各ページ間での遷移操作を可
能にするオブジェクト29が配置されることを許容す
る。さらに詳しく述べると、図4に示すように、例えば
HTMLでオリジナルを一つにするページでは、MHE
Gにおいてシナリオに沿って直列に配列するようにして
分割し、分割した各ページ毎に、ページ遷移を操作入力
する際に用いられるボタンオブジェクト29をそれぞれ
配置する。
Further, as a result of the size determination in the screen consistency adjustment step, when it is determined that the vertical object size exceeds the vertical presentation size,
As shown in FIG. 4, each unit virtual display screen when the virtual display screen is vertically divided at the optimized division candidate position has an object that enables a transition operation between each display screen, that is, each page. 29 are allowed to be located. More specifically, as shown in FIG. 4, for example, in a page where the original is united by HTML, the MHE
In G, the screen is divided so as to be arranged in series according to the scenario, and a button object 29 used for inputting a page transition is arranged for each of the divided pages.

【0078】このようにすれば、例えば垂直方向におけ
る最適化処理が施されることで仮想表示画面が垂直方向
に分割されるに至った場合であっても、各単位仮想表示
画面間の遷移操作をボタンオブジェクト29を用いて実
行可能な仕組みを提供することができる。
In this way, even if the virtual display screen is divided in the vertical direction by performing the optimization processing in the vertical direction, for example, the transition operation between the unit virtual display screens is performed. Can be provided using the button object 29.

【0079】しかも、前記画面整合性調整工程では、前
記表示状態構成工程で構成された仮想表示画面に基づい
て垂直方向オブジェクトサイズを求めるにあたり、仮想
表示画面に配置された各オブジェクト毎の垂直方向サイ
ズを積算することで求めることを許容する。付言すれ
ば、HTMLの各タグには、独自にオブジェクトサイズ
が規定されているので、これらの各オブジェクト毎の垂
直方向サイズを積算することが可能である。
Further, in the screen consistency adjusting step, when the vertical object size is obtained based on the virtual display screen formed in the display state forming step, the vertical size of each object arranged on the virtual display screen is determined. It is allowed to obtain by integrating. In addition, since each HTML tag has its own object size, it is possible to accumulate the vertical size of each object.

【0080】このようにすれば、各オブジェクト毎の高
精度の垂直方向サイズを積算する結果として、垂直方向
オブジェクトサイズを高精度に求めることができる。
In this way, the vertical object size can be obtained with high accuracy as a result of integrating the vertical size with high accuracy for each object.

【0081】さらに、前記画面整合性調整工程で最適な
分割候補箇所を決定するにあたり、分割候補箇所の最適
化に係る調整入力操作を許容する調整入力工程をさらに
含むことを許容する。
Further, in deciding an optimum division candidate portion in the screen consistency adjustment step, it is permitted to further include an adjustment input step for permitting an adjustment input operation for optimizing the division candidate portion.

【0082】このようにすれば、分割候補箇所の最適化
に係る調整入力操作を許容する仕組みが用意される結果
として、画面整合性調整工程で最適な分割候補箇所を決
定するにあたり、その最適化精度のさらなる向上を期待
することができる。
In this manner, as a result of providing a mechanism for allowing an adjustment input operation for optimizing a division candidate portion, when the optimum division candidate portion is determined in the screen consistency adjustment step, the optimization is performed. A further improvement in accuracy can be expected.

【0083】次に、上述したHTML/MHEG変換方
法をプログラム化してインストールしたハードウェアに
よって具現化されるHTML/MHEG変換装置11
は、少なくともHTMLファイルを含むHTMLコンテ
ンツを、シナリオ及びシーンの各ファイルを含むMHE
Gコンテンツに変換する機能を有して構成されている。
Next, an HTML / MHEG conversion device 11 embodied by hardware in which the above-described HTML / MHEG conversion method is programmed and installed.
Converts HTML content including at least HTML files into MHE including scenario and scene files.
It has a function of converting to G content.

【0084】詳しく述べると、本HTML/MHEG変
換装置11は、図1に示すように、レイアウト解析手段
として機能するレイアウト解析部13と、フォーマット
変換部15と、書式設定手段として機能する書式設定部
17と、表示状態構成手段として機能する表示状態構成
部19と、調整入力部21と、画面整合性調整手段とし
て機能する画面整合性調整部23と、補正画面構成手段
として機能する補正画面構成部25と、タグ変換手段と
して機能するタグ変換部27と、を含んで構成されてい
る。
More specifically, as shown in FIG. 1, the HTML / MHEG conversion device 11 includes a layout analysis unit 13 functioning as a layout analysis unit, a format conversion unit 15, and a format setting unit functioning as a format setting unit. 17, a display state configuration unit 19 functioning as a display state configuration unit, an adjustment input unit 21, a screen consistency adjustment unit 23 functioning as a screen consistency adjustment unit, and a correction screen configuration unit functioning as a correction screen configuration unit 25 and a tag conversion unit 27 functioning as a tag conversion unit.

【0085】レイアウト解析部13は、変換元となるH
TMLコンテンツのうちHTMLファイルに含まれるテ
キスト文書のタグを解釈することで論理的な文書構造を
解析し、この解析結果からオブジェクトのレイアウトを
把握する機能を有している。
The layout analysis unit 13 outputs the H
It has a function of analyzing the logical document structure by interpreting the tag of the text document included in the HTML file in the TML content, and grasping the layout of the object from the analysis result.

【0086】フォーマット変換部15は、HTMLコン
テンツを構成する参照ファイルがもつフォーマットを、
MHEGコンテンツの提示用途に合致した所望のフォー
マットに変換する機能を有している。
The format conversion unit 15 converts the format of the reference file that constitutes the HTML content into
It has a function of converting the MHEG content into a desired format that matches the intended use.

【0087】書式設定部17は、変換先となるMHEG
コンテンツが呈する水平及び垂直方向長さで定義される
提示サイズ及び、提示時における文字ポイント数を含む
書式を設定する機能を有している。ここで設定する書式
は、操作者の設定操作によりそのパラメータを適宜の値
に変更することができる。
The format setting unit 17 stores the MHEG to be converted.
It has a function of setting a presentation size defined by the horizontal and vertical lengths of the content and a format including the number of character points at the time of presentation. In the format set here, the parameter can be changed to an appropriate value by the setting operation of the operator.

【0088】表示状態構成部19は、レイアウト解析部
13で把握されたオブジェクトのレイアウトと、書式設
定部17で設定された書式とに基づいて、水平方向オブ
ジェクトサイズが、水平方向提示サイズを越えないこと
を企図して、例えば、文章オブジェクトの折り返し改行
処理や、画像オブジェクトの縮小処理等を含む最適化を
施しながら1又は2以上の各オブジェクトを配置した仮
想表示画面を構成する機能を有している。
The display state configuration unit 19 determines that the horizontal object size does not exceed the horizontal presentation size based on the layout of the objects grasped by the layout analysis unit 13 and the format set by the format setting unit 17. In consideration of this, for example, a function to configure a virtual display screen on which one or two or more objects are arranged while performing optimization including a line return process of a text object, a reduction process of an image object, and the like is provided. I have.

【0089】調整入力部21は、画面整合性調整部23
で最適な分割候補箇所を決定するにあたり、分割候補箇
所の最適化に係る調整入力操作を行う際に用いられる。
これにより、分割候補箇所の最適化に係る調整入力操作
を許容する仕組みが用意される結果として、画面整合性
調整部23で最適な分割候補箇所を決定するにあたり、
その最適化精度のさらなる向上を期待することができ
る。
The adjustment input unit 21 includes a screen consistency adjustment unit 23
Is used when performing an adjustment input operation related to optimizing a division candidate location in determining an optimal division candidate location.
As a result, as a result of providing a mechanism that allows an adjustment input operation related to optimization of a division candidate location, when the screen consistency adjustment unit 23 determines an optimal division candidate location,
Further improvement of the optimization accuracy can be expected.

【0090】画面整合性調整部23は、表示状態構成部
19で構成された仮想表示画面に基づいて、仮想表示画
面の垂直方向オブジェクトサイズを求め、求められた垂
直方向オブジェクトサイズが、垂直方向提示サイズを越
えるか否かに係るサイズ判定を行い、このサイズ判定の
結果、垂直方向オブジェクトサイズが垂直方向提示サイ
ズを越える旨の判定が下されたとき、仮想表示画面の垂
直方向における最適な分割候補箇所を決定することで画
面整合性を調整する機能を有している。
The screen consistency adjusting section 23 obtains the vertical object size of the virtual display screen based on the virtual display screen formed by the display state forming section 19, and displays the obtained vertical object size in the vertical direction. A size determination is performed as to whether or not the size exceeds the size, and when it is determined that the vertical object size exceeds the vertical presentation size as a result of the size determination, an optimal division candidate in the vertical direction of the virtual display screen is determined. It has a function of adjusting the screen consistency by determining the location.

【0091】この垂直方向における最適化を実行するに
あたっては、例えば、1つのまとまりがある文章オブジ
ェクトを分割する場合において、この文章オブジェクト
内における文章のつながりを考慮した改頁箇所の妥当性
検証を行うものとする。なお、1つのまとまりがある画
像オブジェクトの分割は原則的に禁止し、画像オブジェ
クトの分割要求が生じた場合には、画像オブジェクトを
対象とした縮小等のスケーリング処理で対応するものと
する。しかも、垂直方向における最適化を実行するにあ
たっては、再配置されたオブジェクトが均一にレイアウ
トされることを考慮して実行するものとする。
In executing the optimization in the vertical direction, for example, when a text object having one unit is divided, the validity of a page break point in consideration of the connection of texts in the text object is verified. Shall be. Note that division of an image object having one unit is prohibited in principle, and when a request to divide an image object occurs, the image object is handled by scaling processing such as reduction. In addition, in performing the optimization in the vertical direction, the optimization is performed in consideration of the fact that the rearranged objects are uniformly laid out.

【0092】補正画面構成部25は、画面整合性調整部
25におけるサイズ判定の結果、垂直方向オブジェクト
サイズが垂直方向提示サイズを越える旨の判定が下され
たとき、最適化された分割候補箇所で仮想表示画面を垂
直方向に分割した仮想補正画面を構成する機能を有して
いる。
When the screen consistency adjustment unit 25 determines that the vertical object size exceeds the vertical presentation size as a result of the size determination in the screen consistency adjustment unit 25, the correction screen configuration unit 25 determines the optimized division candidate position at the optimized division candidate position. It has a function of forming a virtual correction screen obtained by dividing the virtual display screen in the vertical direction.

【0093】そして、タグ変換部27は、レイアウト解
析部13で解釈されたテキスト文書のタグを、MHEG
の規定に従う形式に変換する機能を有して構成されてい
る。
The tag conversion unit 27 converts the tag of the text document interpreted by the layout analysis unit 13 into the MHEG
And has a function of converting to a format conforming to the rules of

【0094】このように構成されたHTML/MHEG
変換装置11によれば、HTMLファイルに含まれるテ
キスト文書のタグを解釈することで論理的な文書構造を
解析し、この解析結果からオブジェクトのレイアウトを
把握し、把握したオブジェクトに対し、MHEGコンテ
ンツの提示サイズといった所定の枠組みを考慮しなが
ら、必要に応じて水平及び/又は垂直方向における最適
化処理を適宜施す一方で、前記解釈されたテキスト文書
のタグを、MHEGの規定に従う形式に変換するので、
したがって、HTMLとMHEG間の互換性問題を解決
することが可能となる結果として、HTMLコンテンツ
を利用して例えばデジタル放送に用いられるMHEGコ
ンテンツをきわめて容易に変換作成し得るHTML/M
HEG変換装置を提供することができる。
The HTML / MHEG configured as described above
According to the conversion device 11, the logical document structure is analyzed by interpreting the tag of the text document included in the HTML file, the layout of the object is grasped from the result of the analysis, and the MHEG content Since the horizontal and / or vertical optimization processing is appropriately performed as necessary while considering a predetermined framework such as a presentation size, the interpreted text document tags are converted into a format conforming to the MHEG rules. ,
Therefore, as a result that the compatibility problem between HTML and MHEG can be solved, HTML / M that can convert and create MHEG content used for digital broadcasting, for example, very easily using HTML content can be obtained.
An HEG conversion device can be provided.

【0095】なお、本発明は、上述した実施形態の例に
限定されることなく、請求の範囲に記載された技術的思
想を逸脱しない範囲内において、適宜の変更を加えるこ
とにより、その他の態様で実施することができることは
言うまでもない。
The present invention is not limited to the above-described embodiment, but may be modified in any other manner by appropriately modifying the technical idea described in claims. Needless to say, it can be implemented in

【0096】[0096]

【発明の効果】以上詳細に説明したように、請求項1又
は10の発明によれば、HTMLファイルに含まれるテ
キスト文書のタグを解釈することで論理的な文書構造を
解析し、この解析結果からオブジェクトのレイアウトを
把握し、把握したオブジェクトに対し、MHEGコンテ
ンツの提示サイズといった所定の枠組みを考慮しなが
ら、必要に応じて水平及び/又は垂直方向における最適
化処理を適宜施す一方で、前記解釈されたテキスト文書
のタグを、MHEGの規定に従う形式に変換するので、
したがって、HTMLとMHEG間の互換性問題を解決
することが可能となる結果として、HTMLコンテンツ
を利用して例えばデジタル放送に用いられるMHEGコ
ンテンツをきわめて容易に変換作成することができる。
As described above in detail, according to the first or tenth aspect of the present invention, the logical document structure is analyzed by interpreting the tags of the text document included in the HTML file, and the result of the analysis is obtained. While the layout of the object is grasped from, and the grasped object is appropriately subjected to the optimization processing in the horizontal and / or vertical directions as necessary while considering a predetermined framework such as the presentation size of the MHEG content, the interpretation is performed. Since the tag of the text document is converted into a format in accordance with the rules of MHEG,
Therefore, as a result that the compatibility problem between HTML and MHEG can be solved, it is possible to very easily convert and create MHEG content used for digital broadcasting, for example, using HTML content.

【0097】また、請求項2の発明によれば、参照ファ
イルを含むHTMLコンテンツの変換に用いて最適なH
TML/MHEG変換方法を実現することができる。
According to the second aspect of the present invention, an optimal H used for converting HTML content including a reference file is used.
A TML / MHEG conversion method can be realized.

【0098】さらに、請求項3の発明によれば、フォー
マット変換工程では、参照ファイルがもつフォーマット
を、MHEGコンテンツの提示用途に合致した所望のフ
ォーマットに変換する処理が必要に応じて実行される結
果として、MHEGコンテンツの提示用途に用いて最適
なフォーマットに変換された参照ファイルを得ることが
できる。
Further, according to the third aspect of the present invention, in the format conversion step, the process of converting the format of the reference file into a desired format that matches the application of the MHEG content is executed as necessary. As a result, it is possible to obtain a reference file converted into an optimal format for use in presenting MHEG content.

【0099】しかも、請求項4の発明によれば、参照フ
ァイルがGIFフォーマットをもつ画像ファイルである
とき、フォーマット変換工程では、GIF画像をPNG
画像にフォーマット変換するので、したがって、請求項
3の発明と同様に、MHEGコンテンツの提示用途に用
いて最適なフォーマットに変換された参照ファイルを得
ることができる。
According to the fourth aspect of the present invention, when the reference file is an image file having the GIF format, the format conversion step converts the GIF image into a PNG image.
Since the format is converted into an image, it is possible to obtain a reference file converted into an optimal format for use in presenting MHEG content, similarly to the third aspect of the present invention.

【0100】また、請求項5の発明によれば、例えばレ
イアウト解析工程での処理を例に挙げると、レイアウト
解析工程では、参照ファイルに内包されたオブジェクト
を含む、換言すれば、変換元となるHTMLコンテンツ
に含まれるオブジェクト全体としてのレイアウトを把握
することが可能となる結果として、実情に即した高精度
のHTML/MHEG変換方法を提供することができ
る。
According to the fifth aspect of the present invention, for example, taking the processing in the layout analysis step as an example, the layout analysis step includes an object included in the reference file, in other words, becomes a conversion source. As a result of being able to grasp the layout of the entire object included in the HTML content, it is possible to provide a highly accurate HTML / MHEG conversion method suited to the actual situation.

【0101】さらに、請求項6の発明によれば、例え
ば、オブジェクトがテキスト文章である場合であって、
このテキスト文章が呈する水平方向オブジェクトサイズ
が水平方向提示サイズを超える場合には、この越えるテ
キスト部分を順次折り返すようにして、オブジェクトに
対する水平方向の最適化処理が実行される結果として、
MHEGコンテンツの提示サイズといった所定の枠組み
のなかで、HTMLコンテンツを忠実に再現する際に用
いて最適なHTML/MHEG変換方法を提供すること
ができる。
Further, according to the invention of claim 6, for example, when the object is a text document,
If the horizontal object size of the text sentence exceeds the horizontal presentation size, the text portion exceeding the horizontal presentation size is sequentially turned over, and the horizontal optimization process is performed on the object as a result.
It is possible to provide an optimal HTML / MHEG conversion method to be used when faithfully reproducing HTML content within a predetermined framework such as a presentation size of MHEG content.

【0102】さらにまた、請求項7の発明によれば、例
えば垂直方向における最適化処理が施されることで仮想
表示画面が垂直方向に分割されるに至った場合であって
も、各単位仮想表示画面間の遷移操作を例えばボタンオ
ブジェクトを用いて実行可能な仕組みを提供することが
できる。
Further, according to the present invention, even if the virtual display screen is divided in the vertical direction by performing the optimization process in the vertical direction, for example, each unit virtual A mechanism capable of executing a transition operation between display screens using, for example, a button object can be provided.

【0103】しかも、請求項8の発明によれば、各オブ
ジェクト毎の高精度の垂直方向サイズを積算する結果と
して、垂直方向オブジェクトサイズを高精度に求めるこ
とができる。
Further, according to the eighth aspect of the present invention, the vertical object size can be obtained with high accuracy as a result of integrating the vertical size with high accuracy for each object.

【0104】そして、請求項9の発明によれば、分割候
補箇所の最適化に係る調整入力操作を許容する仕組みが
用意される結果として、画面整合性調整工程で最適な分
割候補箇所を決定するにあたり、その最適化精度のさら
なる向上を期待することができるというきわめて優れた
効果を奏する。
According to the ninth aspect of the present invention, as a result of providing a mechanism for allowing an adjustment input operation for optimizing a division candidate portion, an optimal division candidate portion is determined in the screen consistency adjustment step. In this case, there is an extremely excellent effect that further improvement of the optimization accuracy can be expected.

【図面の簡単な説明】[Brief description of the drawings]

【図1】図1は、本発明に係るHTML/MHEG変換
方法を具現化した変換装置の概略ブロック構成図であ
る。
FIG. 1 is a schematic block diagram of a conversion apparatus embodying an HTML / MHEG conversion method according to the present invention.

【図2】図2は、HTMLとMHEGとのページ構成の
相違を表す概念図である。
FIG. 2 is a conceptual diagram illustrating a difference in a page configuration between HTML and MHEG.

【図3】図3は、本発明に係るHTML/MHEG変換
方法の変換過程を表す説明図である。
FIG. 3 is an explanatory diagram showing a conversion process of an HTML / MHEG conversion method according to the present invention.

【図4】図4は、本発明に係るHTML/MHEG変換
方法の変換過程を表す説明図である。
FIG. 4 is an explanatory diagram showing a conversion process of the HTML / MHEG conversion method according to the present invention.

【符号の説明】[Explanation of symbols]

11 HTML/MHEG変換装置 13 レイアウト解析部(レイアウト解析手段) 15 フォーマット変換部 17 書式設定部(書式設定手段) 19 表示状態構成部(表示状態構成手段) 21 調整入力部 23 画面整合性調整部(画面整合性調整手段) 25 補正画面構成部(補正画面構成手段) 27 タグ変換部(タグ変換手段) Reference Signs List 11 HTML / MHEG conversion device 13 Layout analysis unit (layout analysis unit) 15 Format conversion unit 17 Format setting unit (format setting unit) 19 Display state configuration unit (display state configuration unit) 21 Adjustment input unit 23 Screen consistency adjustment unit ( Screen consistency adjustment means) 25 Correction screen configuration unit (correction screen configuration unit) 27 Tag conversion unit (tag conversion unit)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 木村 武史 東京都台東区西浅草1丁目1番1号 株式 会社次世代情報放送システム研究所内 (72)発明者 斉藤 伸雄 東京都台東区台東1丁目5番1号 凸版印 刷株式会社内 (72)発明者 田中 雅信 東京都台東区台東1丁目5番1号 凸版印 刷株式会社内 (72)発明者 小野 力 東京都台東区台東1丁目5番1号 凸版印 刷株式会社内 Fターム(参考) 5B082 GA02  ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Takeshi Kimura 1-1-1, Nishiasakusa, Taito-ku, Tokyo Inside the Next Generation Information and Broadcasting System Research Laboratories (72) Inventor Nobuo Saito 1-5, Taito, Taito-ku, Tokyo No. 1 Letterpress Printing Co., Ltd. (72) Inventor Masanobu Tanaka 1-5-1, Taito, Taito-ku, Tokyo Letterpress No. 1 (72) Inventor Riki Ono 1-5-1, Taito, Taito-ku, Tokyo No. Toppan Printing Co., Ltd. F-term (reference) 5B082 GA02

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 少なくともHTMLファイルを含むHT
MLコンテンツを、シナリオ及びシーンの各ファイルを
含むMHEGコンテンツに変換する際に用いられるHT
ML/MHEG変換方法であって、 変換元となるHTMLコンテンツのうちHTMLファイ
ルに含まれるテキスト文書のタグを解釈することで論理
的な文書構造を解析し、当該解析結果からオブジェクト
のレイアウトを把握するレイアウト解析工程と、 変換先となるMHEGコンテンツが呈する水平及び垂直
方向長さで定義される提示サイズを含む書式を設定する
書式設定工程と、 前記レイアウト解析工程で把握されたオブジェクトのレ
イアウトと、前記書式設定工程で設定された書式とに基
づいて、当該オブジェクトの水平方向長さを表す水平方
向オブジェクトサイズが、水平方向における前記提示サ
イズを表す水平方向提示サイズを越えないことを企図し
て最適化しつつ1又は2以上の各オブジェクトを配置し
た仮想表示画面を構成する表示状態構成工程と、 当該表示状態構成工程で構成された仮想表示画面に基づ
いて、当該仮想表示画面の垂直方向長さを表す垂直方向
オブジェクトサイズを求め、当該求められた垂直方向オ
ブジェクトサイズが、垂直方向における前記提示サイズ
を表す垂直方向提示サイズを越えるか否かに係るサイズ
判定を行い、当該サイズ判定の結果、前記垂直方向オブ
ジェクトサイズが、前記垂直方向提示サイズを越える旨
の判定が下されたとき、前記仮想表示画面の垂直方向に
おける最適な分割候補箇所を決定することで画面整合性
を調整する画面整合性調整工程と、 当該画面整合性調整工程におけるサイズ判定の結果、前
記垂直方向オブジェクトサイズが、前記垂直方向提示サ
イズを越える旨の判定が下されたとき、前記最適化され
た分割候補箇所で前記仮想表示画面を垂直方向に分割し
た仮想補正画面を構成する補正画面構成工程と、 前記レイアウト解析工程で解釈された前記テキスト文書
のタグを、MHEGの規定に従う形式に変換するタグ変
換工程と、 を含み、シナリオ及びシーンの各ファイルを含むMHE
Gコンテンツを取得することを特徴とするHTML/M
HEG変換方法。
An HT including at least an HTML file
HT used when converting ML content into MHEG content including scenario and scene files
An ML / MHEG conversion method, in which a logical document structure is analyzed by interpreting a tag of a text document included in an HTML file among HTML contents to be converted, and an object layout is grasped from the analysis result. A layout analysis step, a format setting step of setting a format including a presentation size defined by the horizontal and vertical lengths of the MHEG content to be converted, a layout of objects grasped in the layout analysis step, Based on the format set in the format setting step, optimization is performed with the intention that the horizontal object size representing the horizontal length of the object does not exceed the horizontal presentation size representing the presentation size in the horizontal direction. A virtual display screen on which one or more objects are arranged. A display state configuration step, based on the virtual display screen configured in the display state configuration step, obtains a vertical object size representing a vertical length of the virtual display screen, and the obtained vertical object size is: A size determination is made as to whether or not a vertical presentation size representing the presentation size in the vertical direction is exceeded, and as a result of the size determination, a determination is made that the vertical object size exceeds the vertical presentation size. A screen consistency adjustment step of adjusting the screen consistency by determining an optimal division candidate position in the vertical direction of the virtual display screen; and, as a result of the size determination in the screen consistency adjustment step, the vertical object When it is determined that the size exceeds the vertical presentation size, the optimized division candidate item is determined. A correction screen configuration step of forming a virtual correction screen obtained by dividing the virtual display screen in the vertical direction, and a tag conversion step of converting the tag of the text document interpreted in the layout analysis step into a format conforming to MHEG regulations And MHE including scenario and scene files.
HTML / M characterized by acquiring G contents
HEG conversion method.
【請求項2】 請求項1に記載のHTML/MHEG変
換方法であって、 前記変換元となるHTMLコンテンツは、前記HTML
ファイルに含まれるテキスト文書のタグに関連付けて参
照される参照ファイルを含むことを特徴とするHTML
/MHEG変換方法。
2. The HTML / MHEG conversion method according to claim 1, wherein the HTML content to be converted is the HTML content.
HTML including a reference file referred to in association with a tag of a text document included in the file
/ MHEG conversion method.
【請求項3】 請求項2に記載のHTML/MHEG変
換方法であって、 前記参照ファイルがもつフォーマットを、前記MHEG
コンテンツの提示用途に合致した所望のフォーマットに
変換するフォーマット変換工程をさらに含むことを特徴
とするHTML/MHEG変換方法。
3. The HTML / MHEG conversion method according to claim 2, wherein the format of the reference file is the MHEG.
An HTML / MHEG conversion method, further comprising a format conversion step of converting the content into a desired format suitable for the presentation purpose of the content.
【請求項4】 請求項3に記載のHTML/MHEG変
換方法であって、 前記参照ファイルがGIFフォーマットをもつ画像ファ
イルであるとき、 前記フォーマット変換工程では、GIF画像をPNG画
像にフォーマット変換することを特徴とするHTML/
MHEG変換方法。
4. The HTML / MHEG conversion method according to claim 3, wherein when the reference file is an image file having a GIF format, the format conversion step converts the format of the GIF image into a PNG image. HTML /
MHEG conversion method.
【請求項5】 請求項2乃至4のうちいずれか一項に記
載のHTML/MHEG変換方法であって、 少なくとも、前記レイアウト解析工程、前記表示状態構
成工程、前記画面整合性調整工程、又は前記補正画面構
成工程の各々では、 前記参照ファイルを考慮した工程処理が実行されること
を特徴とするHTML/MHEG変換方法。
5. The HTML / MHEG conversion method according to claim 2, wherein at least the layout analysis step, the display state configuration step, the screen consistency adjustment step, or The HTML / MHEG conversion method, wherein in each of the correction screen configuration steps, a step process is performed in consideration of the reference file.
【請求項6】 請求項1乃至5のうちいずれか一項に記
載のHTML/MHEG変換方法であって、 前記表示状態構成工程では、 前記水平方向オブジェクトサイズが、前記水平方向提示
サイズを越えないことを企図して最適化しつつ1又は2
以上のオブジェクトを配置した仮想表示画面を構成する
にあたり、前記水平方向オブジェクトサイズが、前記水
平方向提示サイズを越えるとき、当該越える部分を順次
折り返すことで1又は2以上のオブジェクトを配置した
仮想表示画面を構成することを特徴とするHTML/M
HEG変換方法。
6. The HTML / MHEG conversion method according to claim 1, wherein in the display state configuration step, the horizontal direction object size does not exceed the horizontal direction presentation size. 1 or 2 while optimizing for
In constructing a virtual display screen on which the above objects are arranged, when the horizontal object size exceeds the horizontal presentation size, a virtual display screen on which one or more objects are arranged by sequentially folding back the excess part. HTML / M characterized by comprising
HEG conversion method.
【請求項7】 請求項1乃至6のうちいずれか一項に記
載のHTML/MHEG変換方法であって、 前記画面整合性調整工程におけるサイズ判定の結果、前
記垂直方向オブジェクトサイズが、前記垂直方向提示サ
イズを越える旨の判定が下されたとき、前記最適化され
た分割候補箇所で前記仮想表示画面を垂直方向に分割し
たときの各単位仮想表示画面には、各表示画面間での遷
移操作を可能にするオブジェクトが配置されることを特
徴とするHTML/MHEG変換方法。
7. The HTML / MHEG conversion method according to claim 1, wherein as a result of the size determination in the screen consistency adjusting step, the vertical direction object size is set in the vertical direction. When it is determined that the size exceeds the presentation size, the unit virtual display screen when the virtual display screen is vertically divided at the optimized division candidate position includes a transition operation between the respective display screens. An HTML / MHEG conversion method, wherein an object that enables the conversion is arranged.
【請求項8】 請求項1乃至7のうちいずれか一項に記
載のHTML/MHEG変換方法であって、 前記画面整合性調整工程では、 前記表示状態構成工程で構成された仮想表示画面に基づ
いて垂直方向オブジェクトサイズを求めるにあたり、当
該仮想表示画面に配置された各オブジェクト毎の垂直方
向サイズを積算することで求めることを特徴とするHT
ML/MHEG変換方法。
8. The HTML / MHEG conversion method according to claim 1, wherein in the screen consistency adjusting step, the image consistency adjusting step is performed based on a virtual display screen configured in the display state configuring step. A vertical object size obtained by multiplying the vertical size of each object arranged on the virtual display screen by calculating the vertical object size.
ML / MHEG conversion method.
【請求項9】 請求項1乃至8のうちいずれか一項に記
載のHTML/MHEG変換方法であって、 前記画面整合性調整工程で最適な分割候補箇所を決定す
るにあたり、当該分割候補箇所の最適化に係る調整入力
操作を許容する調整入力工程をさらに含むことを特徴と
するHTML/MHEG変換方法。
9. The HTML / MHEG conversion method according to claim 1, wherein an optimal division candidate location is determined in the screen consistency adjustment step. An HTML / MHEG conversion method, further comprising an adjustment input step of allowing an adjustment input operation related to optimization.
【請求項10】 少なくともHTMLファイルを含むH
TMLコンテンツを、シナリオ及びシーンの各ファイル
を含むMHEGコンテンツに変換するHTML/MHE
G変換装置であって、 変換元となるHTMLコンテンツのうちHTMLファイ
ルに含まれるテキスト文書のタグを解釈することで論理
的な文書構造を解析し、当該解析結果からオブジェクト
のレイアウトを把握するレイアウト解析手段と、 変換先となるMHEGコンテンツが呈する水平及び垂直
方向長さで定義される提示サイズを含む書式を設定する
書式設定手段と、 前記レイアウト解析手段で把握されたオブジェクトのレ
イアウトと、前記書式設定手段で設定された書式とに基
づいて、当該オブジェクトの水平方向長さを表す水平方
向オブジェクトサイズが、水平方向における前記提示サ
イズを表す水平方向提示サイズを越えないことを企図し
て最適化しつつ1又は2以上の各オブジェクトを配置し
た仮想表示画面を構成する表示状態構成手段と、 当該表示状態構成手段で構成された仮想表示画面に基づ
いて、当該仮想表示画面の垂直方向長さを表す垂直方向
オブジェクトサイズを求め、当該求められた垂直方向オ
ブジェクトサイズが、垂直方向における前記提示サイズ
を表す垂直方向提示サイズを越えるか否かに係るサイズ
判定を行い、当該サイズ判定の結果、前記垂直方向オブ
ジェクトサイズが、前記垂直方向提示サイズを越える旨
の判定が下されたとき、前記仮想表示画面の垂直方向に
おける最適な分割候補箇所を決定することで画面整合性
を調整する画面整合性調整手段と、 当該画面整合性調整手段におけるサイズ判定の結果、前
記垂直方向オブジェクトサイズが、前記垂直方向提示サ
イズを越える旨の判定が下されたとき、前記最適化され
た分割候補箇所で前記仮想表示画面を垂直方向に分割し
た仮想補正画面を構成する補正画面構成手段と、 前記レイアウト解析手段で解釈された前記テキスト文書
のタグを、MHEGの規定に従う形式に変換するタグ変
換手段と、 を含み、シナリオ及びシーンの各ファイルを含むMHE
Gコンテンツを取得することを特徴とするHTML/M
HEG変換装置。
10. H including at least an HTML file
HTML / MHE for converting TML content to MHEG content including scenario and scene files
A layout converter that analyzes a logical document structure by interpreting a tag of a text document included in an HTML file among HTML contents to be converted, and grasps a layout of an object from the analysis result. Means, format setting means for setting a format including a presentation size defined by the horizontal and vertical lengths of the MHEG content to be converted, an object layout grasped by the layout analyzing means, and the format setting While optimizing the horizontal object size representing the horizontal length of the object on the basis of the format set by the means so as not to exceed the horizontal presentation size representing the presentation size in the horizontal direction, 1 Or, a display state structure constituting a virtual display screen on which two or more objects are arranged. Means, a vertical object size representing a vertical length of the virtual display screen is determined based on the virtual display screen configured by the display state configuring means, and the determined vertical object size is determined in the vertical direction. Performing a size determination related to whether or not exceeds the vertical presentation size representing the presentation size, as a result of the size determination, when it is determined that the vertical object size exceeds the vertical presentation size, Screen consistency adjustment means for adjusting screen consistency by determining an optimal division candidate location in the vertical direction of the virtual display screen, As a result of the size determination in the screen consistency adjustment means, the vertical direction object size, When it is determined that the size exceeds the vertical presentation size, the virtual division candidate location is Correction screen configuration means for forming a virtual correction screen obtained by dividing a display screen in the vertical direction; and tag conversion means for converting the tag of the text document interpreted by the layout analysis means into a format conforming to MHEG regulations. , MHE including each file of scenario, scene and scene
HTML / M characterized by acquiring G content
HEG converter.
JP11059308A 1999-03-05 1999-03-05 Method and device for html/mheg transformation Pending JP2000259486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11059308A JP2000259486A (en) 1999-03-05 1999-03-05 Method and device for html/mheg transformation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11059308A JP2000259486A (en) 1999-03-05 1999-03-05 Method and device for html/mheg transformation

Publications (1)

Publication Number Publication Date
JP2000259486A true JP2000259486A (en) 2000-09-22

Family

ID=13109626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11059308A Pending JP2000259486A (en) 1999-03-05 1999-03-05 Method and device for html/mheg transformation

Country Status (1)

Country Link
JP (1) JP2000259486A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005013409A (en) * 2003-06-25 2005-01-20 Olympus Corp Endoscope apparatus or endoscope system
JP2009163326A (en) * 2007-12-28 2009-07-23 Access Co Ltd Markup language document conversion device, method, program, and system
JP2011034154A (en) * 2009-07-30 2011-02-17 Fujitsu Frontech Ltd Program and method for converting display layout information
US8250027B2 (en) 2006-11-06 2012-08-21 Nec Corporation Computer system, database access method, application server, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005013409A (en) * 2003-06-25 2005-01-20 Olympus Corp Endoscope apparatus or endoscope system
US8250027B2 (en) 2006-11-06 2012-08-21 Nec Corporation Computer system, database access method, application server, and program
JP2009163326A (en) * 2007-12-28 2009-07-23 Access Co Ltd Markup language document conversion device, method, program, and system
JP2011034154A (en) * 2009-07-30 2011-02-17 Fujitsu Frontech Ltd Program and method for converting display layout information

Similar Documents

Publication Publication Date Title
US7636927B2 (en) Document data structure and method for integrating broadcast television with web pages
US8032651B2 (en) News architecture for iTV
CN101073266B (en) Method and system for streaming images to wireless devices
US8407582B2 (en) Browser program for performing table-layout
US7176931B2 (en) Modifying hyperlink display characteristics
US8108487B2 (en) Simulcast web page delivery
JP4281017B2 (en) Information processing apparatus, display control method, and program
EP1914986A1 (en) An electronic program guide interface customizing method, server, set top box and system
JP2003531438A (en) System and method for digital document processing
JP2009510565A5 (en)
JPWO2006123744A1 (en) Content display system and content display method
CN106792102B (en) The method and set-top box that the multiple audio video synchronizations of set top box side homepage play
US20110314368A1 (en) Method to Generate a Software Part of a Web Page and Such Software Part
EP1566057A1 (en) Apparatus and method for reproducing interactive contents by controlling font according to aspect ratio conversion
CN106792103A (en) Set top box side homepage wicket represents the method and Set Top Box of multiple recommendation bitmaps
US20120005606A1 (en) Display controlling device, disiplay controlling method, and program
JP2000259486A (en) Method and device for html/mheg transformation
US8797460B2 (en) Reception apparatus, reception method, and program
JP2006279887A (en) Information-browsing system, method, and program
JP4104562B2 (en) Browser program, method and apparatus for performing table layout
JP2001078108A (en) Program guide information storage means, program guide information display means and program guide information display device
KR101645487B1 (en) Apparatus and method of offering electronic manual having user editing function
JP2001268543A (en) Information processor, its method and storage medium
Valliappan et al. Integrating Interactive TV with the Web using XSL.
JP4543096B2 (en) Browser program, method and apparatus for performing table layout