JP2003085033A - File conversion system, computer, program and file conversion method - Google Patents

File conversion system, computer, program and file conversion method

Info

Publication number
JP2003085033A
JP2003085033A JP2001272476A JP2001272476A JP2003085033A JP 2003085033 A JP2003085033 A JP 2003085033A JP 2001272476 A JP2001272476 A JP 2001272476A JP 2001272476 A JP2001272476 A JP 2001272476A JP 2003085033 A JP2003085033 A JP 2003085033A
Authority
JP
Japan
Prior art keywords
file
script
tag
computer
style sheet
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.)
Withdrawn
Application number
JP2001272476A
Other languages
Japanese (ja)
Inventor
Takayuki Fukui
隆之 福井
Daisuke Noguchi
大輔 野口
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2001272476A priority Critical patent/JP2003085033A/en
Publication of JP2003085033A publication Critical patent/JP2003085033A/en
Withdrawn 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 convert efficiently a BML file into an HTML file. SOLUTION: This computer 1 has a style sheet processor 22 for reading out a CSS 21, a script 22 and a body tag 23 from the BML file 20, inputting them into a Java program 25, and generating an HTML file using style attributes, the script and the tag returned from the Java program 25, and the Java program 25 for converting the inputted CSS 21 and script 22 into a description form of the HTML respectively, and returning them to the style sheet processor 22.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、例えばBSデジタ
ル放送制作システムなどに用いられるファイル変換シス
テム、コンピュータ、プログラム、ファイル変換方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file conversion system, computer, program and file conversion method used in, for example, a BS digital broadcast production system.

【0002】[0002]

【従来の技術】近年、ユーザにコンテンツの提供を行う
方法として、インターネットを利用する方法、BSデジ
タル放送を利用する方法など、さまざまな方法でのサー
ビス提供が可能になっている。
2. Description of the Related Art In recent years, as a method of providing contents to users, it has become possible to provide services by various methods such as the method of using the Internet and the method of using BS digital broadcasting.

【0003】BSデジタル放送の番組は、ブロードキャ
ストマークアップランゲージ(BML)というコンテン
ツ記述言語に基づいて制作され、放送局、番組制作会社
などに設置されたコンピュータ上にBMLファイルで管
理される。
Programs for BS digital broadcasting are produced based on a content description language called Broadcast Markup Language (BML), and are managed as BML files on a computer installed in a broadcasting station, a program production company or the like.

【0004】一方、インターネットでは、ハイパーテキ
ストマークアップランゲージ(HTML)というコンテ
ンツ記述言語に基づいてコンテンツ、つまり、HTML
ファイルが作成され、Webサーバなどでコンテンツが提
供されている。
On the other hand, on the Internet, contents based on a content description language called Hypertext Markup Language (HTML), that is, HTML, is used.
The file is created and the content is provided on a web server.

【0005】現在、これらのコンテンツを一つにまとめ
て番組コンテンツ提供希望ユーザに提供しようとする試
みが行われつつある。
At present, attempts are being made to combine these contents into one and provide it to users who desire to provide program contents.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、HTM
Lファイルを他の言語に変換する技術は多く存在するも
のの、BMLファイルをHTMLファイルに変換する技
術は未だ完全には構築されていないため、現状、汎用の
変換ソフトウェアを利用してタグの変換を行い、残っ
た、スクリプトなどについては、BMLファイルの内容
を技術者が解読し、HTMLの記述に書き直すしかな
く、作業効率が悪いという問題があった。
[Problems to be Solved by the Invention] However, HTM
Although there are many technologies for converting L files into other languages, the technology for converting BML files into HTML files has not yet been completely constructed, so currently, conversion of tags is performed using general-purpose conversion software. As for the remaining scripts, etc., there is a problem that the work efficiency is poor because the engineer has to decode the content of the BML file and rewrite it in the HTML description.

【0007】本発明はこのような課題を解決するために
なされたもので、BML形式で生成されたBSデジタル
放送向けの番組コンテンツをインターネットからのリク
エストでユーザに提供するサービスを実現することので
きるファイル変換システムを提供することを目的として
いる。
The present invention has been made to solve such a problem, and can realize a service for providing a program content for BS digital broadcasting generated in the BML format to a user by a request from the Internet. It aims to provide a file conversion system.

【0008】また、本発明は、BMLからHTMLへの
データ変換を効率よく行うことのできるコンピュータ、
プログラム、ファイル変換方法を提供することを目的と
している。
Further, the present invention is a computer capable of efficiently performing data conversion from BML to HTML,
The purpose is to provide a program and a file conversion method.

【0009】[0009]

【課題を解決するための手段】上記した目的を達成する
ために、請求項1記載の発明のファイル変換システム
は、ユーザからのインターネットを通じたファイル要求
を受け付け、該当ファイルを要求元のユーザに提供する
ファイル変換システムにおいて、BML形式で生成され
た第1のファイルを蓄積するファイル蓄積手段と、前記
ユーザからのファイル要求により、前記ファイル蓄積手
段のファイルの中の該当するBML形式の第1のファイ
ルを、HTML形式の第2のファイルに変換し前記イン
ターネットを通じて要求元のユーザに配信する手段とを
具備したことを特徴としている。
In order to achieve the above object, the file conversion system of the invention according to claim 1 receives a file request from the user via the Internet and provides the file to the requesting user. In the file conversion system, the file storing means for storing the first file generated in the BML format, and the first file in the corresponding BML format among the files in the file storing means according to the file request from the user. Is converted into a second file in HTML format and delivered to the requesting user through the Internet.

【0010】請求項2記載の発明のコンピュータは、B
ML形式で生成された第1のファイルを、HTML形式
の第2のファイルに変換するコンピュータにおいて、前
記第1のファイルからスタイルシートを読み込み、カス
ケーディングスタイルシート、スクリプト、タグを取得
する手段と、取得したカスケーディングスタイルシー
ト、スクリプト、タグを解析し、HTMLのスタイル属
性、スクリプト、タグに変換する手段と、変換されたス
タイル属性、スクリプト、タグをマージして第2のファ
イルを出力する手段とを具備したことを特徴としてい
る。
A computer according to a second aspect of the present invention is B
A computer for converting the first file generated in the ML format into a second file in the HTML format, means for reading the style sheet from the first file, and obtaining the cascading style sheet, script, and tag; A means for analyzing the acquired cascading style sheet, script, and tag and converting it into an HTML style attribute, script, and tag, and means for merging the converted style attribute, script, and tag to output a second file. It is characterized by having.

【0011】請求項3記載の発明のプログラムは、BM
L形式で生成された第1のファイルを、HTML形式の
第2のファイルに変換するコンピュータに処理を実行さ
せるプログラムにおいて、前記コンピュータを、前記第
1のファイルからスタイルシートを読み込み、カスケー
ディングスタイルシート、スクリプト、タグを取得する
手段と、取得したカスケーディングスタイルシート、ス
クリプト、タグを解析し、HTMLのスタイル属性、ス
クリプト、タグに変換する手段と、変換されたスタイル
属性、スクリプト、タグをマージして第2のファイルを
出力する手段として機能させるためのプログラムであ
る。
The program of the invention according to claim 3 is BM
In a program for causing a computer to convert a first file generated in L format into a second file in HTML format, the computer is set
A method to read the style sheet from the file of 1 and acquire the cascading style sheet, script, and tag, and a method to analyze the acquired cascading style sheet, script, and tag and convert it into HTML style attributes, script, and tags. , A program for merging the converted style attributes, scripts, and tags to function as a means for outputting the second file.

【0012】請求項4記載の発明のファイル変換方法
は、ユーザからのインターネットを通じたファイル要求
をコンピュータが受け付け、該当ファイルを要求元のユ
ーザに提供するファイル変換方法において、前記ユーザ
からコンピュータが受け付けたファイル要求により、フ
ァイル蓄積手段に蓄積されているファイルの中の該当す
るBML形式の第1のファイルを、HTML形式の第2
のファイルに変換するステップと、変換した第2のファ
イルを前記コンピュータがインターネットを通じて要求
元のユーザに配信するステップとを有することを特徴と
している。
According to the file conversion method of the present invention, in the file conversion method, the computer accepts a file request from the user via the Internet, and the file is provided to the requesting user. According to the file request, the first file in the corresponding BML format among the files stored in the file storage means is replaced by the second file in the HTML format.
And a step of delivering the converted second file to the requesting user via the Internet.

【0013】請求項5記載の発明のファイル変換方法
は、BML形式で生成された第1のファイルを、HTM
L形式の第2のファイルに変換するファイル変換方法に
おいて、前記第1のファイルからスタイルシートを読み
込み、カスケーディングスタイルシート、スクリプト、
タグを取得するステップと、取得したカスケーディング
スタイルシート、スクリプト、タグを解析し、HTML
のスタイル属性、スクリプト、タグに変換するステップ
と、変換されたスタイル属性、スクリプト、タグをマー
ジして第2のファイルを出力するステップとを有するこ
とを特徴としている。
According to a fifth aspect of the present invention, in the file conversion method, the first file generated in the BML format is converted into the HTM.
In a file conversion method for converting to a second file of L format, a style sheet is read from the first file, a cascading style sheet, a script,
The step of acquiring the tag and the acquired cascading style sheet, script, and tag are analyzed, and HTML
And a step of merging the converted style attributes, scripts, and tags to output the second file.

【0014】請求項1,4記載の発明では、BML形式
で生成された第1のファイルを第1のファイル蓄積手段
に蓄積しておき、ユーザからのファイル要求をインター
ネットを通じてコンピュータが受け付けた場合、コンピ
ュータは、第1のファイル蓄積手段の中の該当するBM
L形式のファイルを、HTML形式の第2のファイルに
変換して要求元のユーザに配信するので、BML形式で
生成されたBSデジタル放送向けの番組コンテンツだけ
を蓄積しておけば、インターネットを通じたユーザから
のリクエストに応じてHTML形式の番組コンテンツを
ユーザに提供するサービスを実現することができる。
According to the first and fourth aspects of the invention, when the first file generated in the BML format is stored in the first file storage means and the computer receives a file request from the user through the Internet, The computer uses the corresponding BM in the first file storage means.
Since the L format file is converted to the HTML format second file and distributed to the requesting user, if only the program content for the BS digital broadcasting generated in the BML format is stored, it can be transmitted through the Internet. It is possible to realize a service that provides the user with the program content in the HTML format in response to a request from the user.

【0015】請求項2,3,5記載の発明では、第1の
ファイルからスタイルシートを読み込み、カスケーディ
ングスタイルシート、スクリプト、タグを取得して解析
し、HTMLのスタイル属性、スクリプト、タグに別個
に変換し、それぞれ変換したスタイル属性、スクリプ
ト、タグをマージして第2のファイルを生成および出力
するので、BMLからHTMLへのデータ変換を確実に
かつ効率よく行うことができる。
According to the second, third, and fifth inventions, the style sheet is read from the first file, the cascading style sheet, the script, and the tag are acquired and analyzed, and the HTML style attribute, the script, and the tag are separately separated. Since the converted style attributes, scripts, and tags are merged to generate and output the second file, the data conversion from BML to HTML can be performed reliably and efficiently.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して詳細に説明する。図1は本発明に係る一つの
実施形態のファイル変換システムとしてのコンピュータ
の構成を示す図、図2はこのコンピュータに予め格納さ
れているBMLファイルの概要構成を示す図、図3はこ
のコンピュータにインストールされているソフトウェア
の構成を示す図である。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a configuration of a computer as a file conversion system according to one embodiment of the present invention, FIG. 2 is a diagram showing a schematic configuration of a BML file stored in advance in this computer, and FIG. 3 is a diagram showing this computer. It is a figure which shows the structure of the installed software.

【0017】同図に示すように、このコンピュータは、
CD−ROMやフレキシブルディスク(FD)を装填し
読み取り可能な装置本体部と、この装置本体部に内蔵さ
れたCPU、ROM、RAM、ハードディスク装置、な
どと、装置本体部に接続された入力装置および表示装置
とからなるコンピュータである。入力装置は、例えばキ
ーボート、マウスなどである。表示装置は、例えばCR
Tモニタ、LCDモニタなどである。
As shown in the figure, this computer is
A device main body that can be loaded by reading a CD-ROM or a flexible disk (FD), a CPU, a ROM, a RAM, a hard disk device, etc. built in this device main body, an input device connected to the device main body, and A computer including a display device. The input device is, for example, a keyboard or a mouse. The display device is, for example, a CR
Examples include T monitors and LCD monitors.

【0018】装置本体部内のROMには、バイオスなど
のコンピュータの初期動作設定プログラムが格納されて
いる。ハードティスク装置には、オペレーティングシス
テム(以下OSと称す)を含む各種ソフトウェアがイン
ストールされている。また、ハードティスク装置には、
変換対象のBMLファイルが予め格納されているものと
する。
A ROM in the main body of the apparatus stores an initial operation setting program of a computer such as BIOS. Various software including an operating system (hereinafter referred to as OS) is installed in the hard disk device. In addition, the hard disk device,
It is assumed that the BML file to be converted is stored in advance.

【0019】図2に示すように、BMLファイル20
は、スタイルシート24に、カスケーディングスタイル
シート21(以下CSS21と称す)、スクリプト2
2、bodyタグ23の各記載部分を有している。
As shown in FIG. 2, the BML file 20
Is a style sheet 24, cascading style sheet 21 (hereinafter referred to as CSS21), script 2
2. It has each description part of the body tag 23.

【0020】ハードティスク装置にインストールされて
いるソフトウェアとしては、図3に示すように、BML
ファイル20からスタイルシート24を読み込んで、そ
のスタイルシート24の記載に基づいてHTMLファイ
ル40を生成するスタイルシートプロセッサ31、Ja
vaプログラム32などがある。なお、JavaはSun
Microsystems社の登録商標である。スタイルシートプロ
セッサ31は、BMLファイル20からスタイルシート
24を読み込んで、スタイルシート24中のCSS2
1、スクリプト22、bodyタグ23の各記載部分を
抽出し、Javaプログラム32へ入力する。スタイル
シートプロセッサ31は、汎用のソフトウェアを利用し
ているが、専用のものでもよい。
As software installed in the hard disk device, as shown in FIG. 3, BML is used.
A style sheet processor 31 that reads a style sheet 24 from the file 20 and generates an HTML file 40 based on the description of the style sheet 24, Ja
There is a va program 32 and the like. Java is Sun
It is a registered trademark of Microsystems. The style sheet processor 31 reads the style sheet 24 from the BML file 20, and the CSS2 in the style sheet 24 is read.
1, the description parts of the script 22 and the body tag 23 are extracted and input to the Java program 32. The style sheet processor 31 uses general-purpose software, but may be a dedicated one.

【0021】Javaプログラム32は、入力されたC
SS21、スクリプト22を解析し、HTMLによって
呼び出し可能なスタイル属性、スクリプト、タグに変換
してスタイルシートプロセッサ22へ返す。なお、body
タグ23についてはスタイルシートプロセッサ31が変
換し、この中にスタイル属性のデータが存在した場合
は、この属性データを先にCSS21を解析したときの
Javaクラスに渡す。
The Java program 32 uses the input C
The SS 21 and the script 22 are analyzed, converted into style attributes, scripts, and tags that can be called by HTML, and returned to the style sheet processor 22. In addition, body
The style sheet processor 31 converts the tag 23, and if style attribute data is present in this, the attribute data is passed to the Java class when the CSS 21 was analyzed first.

【0022】スタイルシートプロセッサ31は、Jav
aプログラム32から戻されたスタイル属性、スクリプ
ト、タグで生成したHTMLファイル40を出力する。
The style sheet processor 31 is Java
a Outputs the HTML file 40 generated by the style attribute, script, and tag returned from the program 32.

【0023】以下、図4、図5を参照してこのコンピュ
ータの動作を説明する。図4はこのコンピュータの動作
を示すフローチャート、図5はスタイルシートプロセッ
サによって読み出されたスタイルシートの一例を示す図
である。
The operation of this computer will be described below with reference to FIGS. FIG. 4 is a flowchart showing the operation of this computer, and FIG. 5 is a diagram showing an example of the style sheet read by the style sheet processor.

【0024】このコンピュータでは、スタイルシートプ
ロセッサ31を起動すると、変換対象のBMLファイル
20を読み出すための画面が表示される。
In this computer, when the style sheet processor 31 is activated, a screen for reading the BML file 20 to be converted is displayed.

【0025】この画面から変換対象のBMLファイル2
0を指定すると、スタイルシートプロセッサ31は、そ
のBMLファイル20を読み込む(図4のS101)。
From this screen, the BML file 2 to be converted
When 0 is specified, the style sheet processor 31 reads the BML file 20 (S101 in FIG. 4).

【0026】BMLファイル20を読み込んだスタイル
シートプロセッサ31は、BMLファイル20の内容を
解析し(S102)、図5のようなスタイルシート24
を抽出し、CSS21、スクリプト22、bodyタグ23
の3つのパートに分けて、変換処理を行う。
The style sheet processor 31 having read the BML file 20 analyzes the contents of the BML file 20 (S102), and the style sheet 24 as shown in FIG.
Extracted, CSS21, script 22, body tag 23
The conversion process is performed in three parts.

【0027】スタイルシート24に、CSS21を検出
すると、スタイルシートプロセッサ31は、Javaプ
ログラム25の該当処理クラスにCSS21を入力する
(S103)。
When the CSS 21 is detected in the style sheet 24, the style sheet processor 31 inputs the CSS 21 into the corresponding processing class of the Java program 25 (S103).

【0028】Javaプログラム25の該当処理クラス
は、入力されたCSS21の内容を解析し(S10
4)、HTMLの形式に変換する。
The corresponding processing class of the Java program 25 analyzes the contents of the input CSS21 (S10).
4) Convert to HTML format.

【0029】また、スタイルシート24に、スクリプト
22を検出すると、スタイルシートプロセッサ31は、
Javaプログラム25の該当処理クラスにスクリプト
22を入力する(S105)。
When the script 22 is detected in the style sheet 24, the style sheet processor 31
The script 22 is input to the corresponding processing class of the Java program 25 (S105).

【0030】Javaプログラム25の該当処理クラス
は、入力されたスクリプト22の内容を解析し(S10
6)、HTMLの形式に変換する。
The corresponding processing class of the Java program 25 analyzes the content of the input script 22 (S10).
6) Convert to HTML format.

【0031】さらに、スタイルシートプロセッサ31
は、スタイルシート24のbodyタグ23を解析し、HT
MLのタグへ変換する(S107)。
Further, the style sheet processor 31
Analyzes the body tag 23 of the style sheet 24 and
It is converted into an ML tag (S107).

【0032】この際、bodyタグ23内にスタイル属性の
データが存在した場合、スタイルシートプロセッサ31
は、各スタイル属性のデータをCSS21を解析したJ
avaプログラム25の該当処理クラスに入力する(S
108)。
At this time, if the data of the style attribute exists in the body tag 23, the style sheet processor 31
J that analyzed CSS21 data of each style attribute
Input to the corresponding processing class of the ava program 25 (S
108).

【0033】Javaプログラム25の該当処理クラス
は、スタイルシートプロセッサ31からスタイル属性の
データが渡された場合、スタイル属性のデータからスタ
イル属性を解析し(S109)、CSS21にマージし
て新規スタイル属性としてHTMLタグ内に出力する
(S110)。
When the style sheet processor 31 receives the style attribute data from the style sheet processor 31, the relevant processing class of the Java program 25 analyzes the style attribute from the style attribute data (S109) and merges it into the CSS 21 to create a new style attribute. It is output in the HTML tag (S110).

【0034】スタイルシートプロセッサ31は、bodyタ
グ23を解析した結果、タグ内にスクリプト呼び出し箇
所が検出された場合、そのスクリプト呼び出し箇所をJ
avaプログラム25の該当処理クラスに入力する(S
111)。
As a result of analyzing the body tag 23, when the style call processor 31 detects a script call location in the tag, the style sheet processor 31 sets the script call location to J
Input to the corresponding processing class of the ava program 25 (S
111).

【0035】Javaプログラム25の該当処理クラス
は、入力されたスクリプト呼び出し箇所の情報を変換し
てHTMLに挿入すると共に、変換したスクリプトをH
TMLに出力する(S112)。
The corresponding processing class of the Java program 25 converts the input information of the script calling portion and inserts it into the HTML, and also converts the converted script into the H
Output to TML (S112).

【0036】このようにこの実施形態のコンピュータに
よれば、スタイルシートプロセッサ31は、BMLファ
イル20のスタイルシート24をベースに使用し、CS
S21、スクリプト22、bodyタグ23を検出すると、
bodyタグ23は自身でHTMLの対応するタグに変換
し、CSS21およびスクリプト22についてJava
プログラム25に入力して変換処理を行わせ、戻された
内容とタグをマージしてHTMLファイルを生成するの
で、BMLファイル20のCSS21、スクリプト2
2、bodyタグ23全てを一度にHTML形式に変換する
ことができ、ファイル変換の効率を向上することができ
る。
As described above, according to the computer of this embodiment, the style sheet processor 31 uses the style sheet 24 of the BML file 20 as a base, and
When S21, script 22 and body tag 23 are detected,
The body tag 23 is converted into an HTML corresponding tag by itself, and the CSS 21 and the script 22 are Java.
Since the HTML file is generated by merging the returned contents with the tags by inputting them into the program 25 and converting them, the CSS 21 of the BML file 20, the script 2
2. All the body tags 23 can be converted into the HTML format at once, and the efficiency of file conversion can be improved.

【0037】つまり、汎用のスタイルシートプロセッサ
31で処理できない部分をJavaプログラム25に請
け負わせることで、比較的安価にBML→HTML変換
を実現できる。
In other words, by subscribing the Java program 25 to the part that cannot be processed by the general-purpose style sheet processor 31, the BML → HTML conversion can be realized at a relatively low cost.

【0038】続いて、図6を参照して上記実施形態の変
形例について説明する。上記実施形態では、ファイルの
入出力をローカル入出力とするスタンドアロンのコンピ
ュータの例について説明したが、この変形例は、入力・
出力ともにネットワーク経由としたサービス提供システ
ム、例えばファイル変換システムなどの一例である。
Next, a modification of the above embodiment will be described with reference to FIG. In the above embodiment, an example of a stand-alone computer in which the input / output of the file is the local input / output has been described.
It is an example of a service providing system, such as a file conversion system, in which both outputs are via a network.

【0039】図6に示すように、このファイル変換シス
テムは、複数のコンピュータ、例えばBMLサーバ6
1、ASPサーバ62、クライアントPC63などをネ
ットワーク、例えばインターネットなどを介して接続し
て構成されている。
As shown in FIG. 6, this file conversion system includes a plurality of computers such as a BML server 6.
1, an ASP server 62, a client PC 63, etc. are connected via a network such as the Internet.

【0040】このファイル変換システムの場合、BML
サーバ61は、BSデジタル放送用の番組コンテンツを
BMLファイルで格納および管理している。
In the case of this file conversion system, BML
The server 61 stores and manages program contents for BS digital broadcasting as BML files.

【0041】また、ASPサーバ62は、インターネッ
ト上にサービス提供用のサイトを公開し、このサイトに
アクセスしたクライアントPC63のユーザ認証などの
手続きを行った後、クライアントPC63からの所望の
番組コンテンツの閲覧要求(ファイル要求)を受け付け
て、BMLサーバ61に対してファイル要求を転送し、
BMLサーバ61から送られてきたBMLファイルをH
TMLファイルに変換してインターネットを通じて該当
ユーザのクライアントPC63へ番組コンテンツを配信
する。
Further, the ASP server 62 publishes a site for providing services on the Internet, performs procedures such as user authentication of the client PC 63 that has accessed this site, and then browses the desired program content from the client PC 63. Accepts a request (file request), transfers the file request to the BML server 61,
The BML file sent from the BML server 61 is set to H
It is converted to a TML file and the program content is distributed to the client PC 63 of the corresponding user via the Internet.

【0042】クライアントPC63は、ブラウザなどの
インターネット閲覧ソフトウェアがインストールされた
ものであり、ブラウザの画面からASPサーバ62のサ
イトにアクセスして、ユーザ名、パスワードなどの入力
によるユーザ認証後、番組コンテンツの選択画面から、
所望の番組コンテンツを選択操作することでASPサー
バ62にファイル要求を行う。
The client PC 63 is installed with Internet browsing software such as a browser, accesses the site of the ASP server 62 from the screen of the browser, and after user authentication by inputting a user name, password, etc., the program content is displayed. From the selection screen,
A file request is issued to the ASP server 62 by selecting and operating the desired program content.

【0043】これにより、BMLサーバ61に、番組コ
ンテンツとしてBSデジタル放送用に作成したBMLフ
ァイルを格納しておけば、クライアントPC63からの
インターネットを通じたファイル要求に対して、HTM
L形式に変換した上で、番組コンテンツを閲覧させるこ
とができる。つまり、サーバにBMLファイルとHTM
Lファイルの2つの形式で番組コンテンツを格納および
管理する必要がなくなり、番組コンテンツを管理する上
でも、またディスクスペースとしても効率を向上するこ
とができる。
Thus, if the BML file created for the BS digital broadcasting is stored as the program content in the BML server 61, the HTM for the file request from the client PC 63 through the Internet.
The program content can be browsed after being converted to the L format. That is, the BML file and HTM are stored
It is not necessary to store and manage the program content in the two formats of the L file, and it is possible to improve the efficiency in managing the program content and as the disk space.

【0044】なお、本発明は上記実施形態のみに限定さ
れるものではない。上記実施形態では、スタイルシート
プロセッサ22として、汎用のものを使用したが、Ja
vaプログラム25と一体化した専用のソフトウェアを
作成してもよい。
The present invention is not limited to the above embodiment. In the above embodiment, a general-purpose style sheet processor 22 is used.
Dedicated software integrated with the va program 25 may be created.

【0045】上記実施形態におけるソフトウェア(スタ
イルシートプロセッサ22やJavaプログラム25)
は、フレキシブルディスクなどのコンピュータが読み出
し可能な記憶媒体に記憶されていても良く、また、ソフ
トウェア(プログラム)単体として伝送されるものでも
よい。この場合、記憶媒体に記憶されたソフトウェア
(プログラム)をコンピュータが読み出したり、LAN
やインターネッ上のサイト(サーバ)からダウンロード
してインストールすることにより、各実施形態における
処理が可能になる。
Software in the above-described embodiment (style sheet processor 22 and Java program 25)
May be stored in a computer-readable storage medium such as a flexible disk, or may be transmitted as software (program) alone. In this case, the computer reads the software (program) stored in the storage medium, or the LAN
The processing in each embodiment can be performed by downloading and installing from a site (server) on the Internet.

【0046】つまり、本発明におけるソフトウェア(プ
ログラム)は、コンピュータと独立した記憶媒体に記憶
されているものだけに限らず、LANやインターネット
などの伝送媒体を介して流通されるものも含まれる。
That is, the software (program) in the present invention is not limited to the one stored in the storage medium independent of the computer, but includes the one distributed through a transmission medium such as LAN or Internet.

【0047】なお、記憶媒体としては、上記フレキシブ
ルディスクの他、例えば磁気ディスク、光ディスク(C
D−ROM、CD−R、DVDなど)、光磁気ディスク
(MOなど)、半導体メモリなど、プログラムを記憶で
き、かつコンピュータが読み取り可能な記憶媒体であれ
ば、その記憶形式はいずれの形態であっても良い。
As the storage medium, in addition to the above flexible disk, for example, a magnetic disk, an optical disk (C
If the storage medium is a computer-readable storage medium capable of storing a program, such as a D-ROM, a CD-R, a DVD), a magneto-optical disk (MO, etc.), a semiconductor memory, etc., the storage format is in any form. May be.

【0048】また、記憶媒体からコンピュータにインス
トールされたプログラムの指示に基づき、コンピュータ
上で稼動しているOS(オペレーティングシステム)
や、データベース管理ソフト、ネットワークソフトなど
のMW(ミドルウェア)などが本実施形態を実現するた
めの各処理の一部を実行しても良い。
An OS (operating system) running on the computer based on the instructions of the program installed in the computer from the storage medium.
Alternatively, database management software, MW (middleware) such as network software, or the like may execute a part of each processing for realizing the present embodiment.

【0049】さらに、記憶媒体は、コンピュータと独立
した媒体に限らず、LANやインターネットなどにより
伝送されたプログラムをダウンロードして記憶または一
時記憶した記憶媒体も含まれる。また、記憶媒体は一つ
に限らず、複数の媒体から本実施形態における処理が実
行される場合も本発明における記録媒体に含まれ、媒体
構成はいずれの構成であっても良い。
Furthermore, the storage medium is not limited to a medium independent of the computer, but includes a storage medium in which a program transmitted via a LAN or the Internet is downloaded and stored or temporarily stored. Further, the number of storage media is not limited to one, and the case where the processing in the present embodiment is executed from a plurality of media is also included in the recording medium of the present invention, and the media configuration may be any configuration.

【0050】なお、コンピュータは、記憶媒体に記憶さ
れたプログラムに基づき、本実施形態における各処理を
実行するものであって、パソコンなどの一つからなる装
置、複数の装置がネットワーク接続されたシステムなど
のいずれの構成であっても良い。
The computer executes each process in the present embodiment based on the program stored in the storage medium, and is a device such as a personal computer or a system in which a plurality of devices are network-connected. Any configuration such as

【0051】また、コンピュータとは、パソコンに限ら
ず、情報処理機器に含まれる演算処理装置、マイコンな
ども含み、プログラムによって本発明の機能を実現する
ことが可能な機器、装置を総称している。
The computer is not limited to a personal computer, but also includes an arithmetic processing unit and a microcomputer included in information processing equipment, and is a generic term for equipment and devices capable of realizing the functions of the present invention by a program. .

【0052】[0052]

【発明の効果】以上説明したように本発明によれば、B
ML形式で生成した第1のファイルからスタイルシート
を読み込み、カスケーディングスタイルシート、スクリ
プト、タグを取得し、それぞれを別個に解析して、HT
MLのスタイル属性、スクリプト、タグに変換し、これ
らをマージしてHTML形式の第2のファイルを出力す
るので、BMLからHTMLへのデータ変換を効率よく
行うことができる。このようにBMLからHTMLへの
データ変換を行う技術を確立したことで、BML形式で
生成されたBSデジタル放送向けの番組コンテンツをイ
ンターネットからのリクエストでユーザに提供するサー
ビスを実現することができる。
As described above, according to the present invention, B
The style sheet is read from the first file generated in ML format, the cascading style sheet, script, and tags are acquired, each is analyzed separately, and HT
Since the ML style attribute, the script, and the tag are converted, and these are merged and the second file in the HTML format is output, the data conversion from BML to HTML can be efficiently performed. By establishing the technology for converting data from BML to HTML in this way, it is possible to realize a service that provides a user with a request from the Internet for program content for BS digital broadcasting generated in the BML format.

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

【図1】本発明の一つの実施形態のコンピュータの構成
を示す図である。
FIG. 1 is a diagram showing a configuration of a computer according to an embodiment of the present invention.

【図2】変換対象のBMLファイルの内容を示す図であ
る。
FIG. 2 is a diagram showing the contents of a BML file to be converted.

【図3】このコンピュータにおけるソフトウェア構成を
示す図である。
FIG. 3 is a diagram showing a software configuration in this computer.

【図4】このコンピュータのファイル変換動作を示すフ
ローチャートである。
FIG. 4 is a flowchart showing a file conversion operation of this computer.

【図5】このコンピュータを利用したファイル変換サー
ビスの実現例を示す図である。
FIG. 5 is a diagram showing an example of implementation of a file conversion service using this computer.

【図6】上記実施形態の変形例のファイル変換システム
の構成を示す図である。
FIG. 6 is a diagram showing a configuration of a file conversion system of a modified example of the above embodiment.

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

1…コンピュータ、22…スタイルシートプロセッサ、
25…Javaプログラム、61…BMLサーバ、62
…APSサーバ、63…クライアントPC。
1 ... computer, 22 ... style sheet processor,
25 ... Java program, 61 ... BML server, 62
... APS server, 63 ... Client PC.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 ユーザからのインターネットを通じたフ
ァイル要求を受け付け、該当ファイルを要求元のユーザ
に提供するファイル変換システムにおいて、 BML形式で生成された第1のファイルを蓄積するファ
イル蓄積手段と、 前記ユーザからのファイル要求により、前記ファイル蓄
積手段の中の該当するBML形式の第1のファイルを、
HTML形式の第2のファイルに変換し前記インターネ
ットを通じて要求元のユーザに配信する手段とを具備し
たことを特徴とするファイル変換システム。
1. In a file conversion system that receives a file request from a user via the Internet and provides the file to the user who made the request, a file storage unit that stores a first file generated in BML format, In response to a file request from the user, the corresponding BML format first file in the file storage means is
A file conversion system, comprising means for converting to a second file in HTML format and delivering it to the requesting user via the Internet.
【請求項2】 BML形式で生成された第1のファイル
を、HTML形式の第2のファイルに変換するコンピュ
ータにおいて、 前記第1のファイルからスタイルシートを読み込み、カ
スケーディングスタイルシート、スクリプト、タグを取
得する手段と、 取得したカスケーディングスタイルシート、スクリプ
ト、タグを解析し、HTMLのスタイル属性、スクリプ
ト、タグに変換する手段と、 変換されたスタイル属性、スクリプト、タグをマージし
て第2のファイルを出力する手段とを具備したことを特
徴とするコンピュータ。
2. A computer for converting a first file generated in BML format into a second file in HTML format, in which a style sheet is read from the first file, and cascading style sheets, scripts, and tags are read. A second file that merges the acquired cascading style sheet, script, and tag, and converts the acquired cascading style sheet, script, and tag into the HTML style attribute, script, and tag, and the converted style attribute, script, and tag. And a means for outputting.
【請求項3】 BML形式で生成された第1のファイル
を、HTML形式の第2のファイルに変換するコンピュ
ータに処理を実行させるプログラムにおいて、 前記コンピュータを、前記第1のファイルからスタイル
シートを読み込み、カスケーディングスタイルシート、
スクリプト、タグを取得する手段と、 取得したカスケーディングスタイルシート、スクリプ
ト、タグを解析し、HTMLのスタイル属性、スクリプ
ト、タグに変換する手段と、 変換されたスタイル属性、スクリプト、タグをマージし
て第2のファイルを出力する手段として機能させるため
のプログラム。
3. A program for causing a computer to execute a process for converting a first file generated in BML format into a second file in HTML format, wherein the computer reads a style sheet from the first file. , Cascading style sheets,
A means to acquire the script and the tag, a method to analyze the acquired cascading style sheet, the script and the tag and convert them to HTML style attributes, scripts and tags, and merge the converted style attributes, the scripts and the tags. A program for functioning as a means for outputting the second file.
【請求項4】 ユーザからのインターネットを通じたフ
ァイル要求をコンピュータが受け付け、該当ファイルを
要求元のユーザに提供するファイル変換方法において、 前記ユーザからコンピュータが受け付けたファイル要求
により、ファイル蓄積手段に蓄積されているファイルの
中の該当するBML形式の第1のファイルを、HTML
形式の第2のファイルに変換するステップと、 変換した第2のファイルを前記コンピュータがインター
ネットを通じて要求元のユーザに配信するステップとを
有することを特徴とするファイル変換方法。
4. A file conversion method in which a computer receives a file request from a user through the Internet and provides the file to the requesting user, and the file is stored in a file storage unit according to the file request received by the computer from the user. Of the corresponding BML format first file in the
A method of converting a file, comprising: converting into a second file of a format; and delivering the converted second file to the requesting user through the Internet by the computer.
【請求項5】 BML形式で生成された第1のファイル
を、HTML形式の第2のファイルに変換するファイル
変換方法において、 前記第1のファイルからスタイルシートを読み込み、カ
スケーディングスタイルシート、スクリプト、タグを取
得するステップと、 取得したカスケーディングスタイルシート、スクリプ
ト、タグを解析し、HTMLのスタイル属性、スクリプ
ト、タグに変換するステップと、 変換されたスタイル属性、スクリプト、タグをマージし
て第2のファイルを出力するステップとを有することを
特徴とするファイル変換方法。
5. A file conversion method for converting a first file generated in BML format into a second file in HTML format, wherein a style sheet is read from the first file, and a cascading style sheet, a script, The step of acquiring the tag, the step of analyzing the acquired cascading style sheet, script, and tag and converting into the HTML style attribute, script, and tag, and merging the converted style attribute, script, and tag And a step of outputting the file.
JP2001272476A 2001-09-07 2001-09-07 File conversion system, computer, program and file conversion method Withdrawn JP2003085033A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001272476A JP2003085033A (en) 2001-09-07 2001-09-07 File conversion system, computer, program and file conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001272476A JP2003085033A (en) 2001-09-07 2001-09-07 File conversion system, computer, program and file conversion method

Publications (1)

Publication Number Publication Date
JP2003085033A true JP2003085033A (en) 2003-03-20

Family

ID=19097844

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001272476A Withdrawn JP2003085033A (en) 2001-09-07 2001-09-07 File conversion system, computer, program and file conversion method

Country Status (1)

Country Link
JP (1) JP2003085033A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009130835A (en) * 2007-11-27 2009-06-11 Dainippon Printing Co Ltd Stored data moving system and method
JP2009199459A (en) * 2008-02-22 2009-09-03 Ntt Docomo Inc Content provision system, server apparatus and content provision method
JP2011259357A (en) * 2010-06-11 2011-12-22 Nippon Telegr & Teleph Corp <Ntt> Integrated browser device and its operation method
US8108763B2 (en) * 2007-01-19 2012-01-31 Constant Contact, Inc. Visual editor for electronic mail

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8108763B2 (en) * 2007-01-19 2012-01-31 Constant Contact, Inc. Visual editor for electronic mail
US9256586B2 (en) 2007-01-19 2016-02-09 Yan Gao Visual editor for electronic mail
US10038653B2 (en) 2007-01-19 2018-07-31 Constant Contact, Inc. Visual editor for electronic mail
JP2009130835A (en) * 2007-11-27 2009-06-11 Dainippon Printing Co Ltd Stored data moving system and method
JP2009199459A (en) * 2008-02-22 2009-09-03 Ntt Docomo Inc Content provision system, server apparatus and content provision method
JP2011259357A (en) * 2010-06-11 2011-12-22 Nippon Telegr & Teleph Corp <Ntt> Integrated browser device and its operation method

Similar Documents

Publication Publication Date Title
US7194678B1 (en) Dynamic web page generation method and system
US20030126555A1 (en) Enhanced attribute prompting in browser clients
US9189244B2 (en) Methods and systems for managing data service specifications
US10025758B2 (en) Support for non-native file types in web application environment
US7293034B2 (en) Dynamically customizing a user interface for the aggregation of content
US8010899B2 (en) System offering a data-skin based on standard schema and the method
JP4849692B2 (en) Method and apparatus for selecting and delivering portable portlets
US20060235998A1 (en) Off-loading data formatting to a communicatively coupled client
TWI235320B (en) System and method for dynamically integrating remote portal fragments into a local portal
JP2004334866A (en) Conversion of web site summary through tag rib
US20030226107A1 (en) JSP tag libraries and web services
JP2008539487A (en) System and method for providing a data format
US20130212121A1 (en) Client-side modification of electronic documents in a client-server environment
Pierce et al. Interoperable Web services for computational portals
US7613696B2 (en) Configuring search results using a layout editor
WO2002039649A2 (en) Transforming a source document to a desired target document
JPWO2007132568A1 (en) Data processing server and data processing method
JPWO2004021234A1 (en) Network system, provider, management site, requester and program
US20040189703A1 (en) Publishing interface for publishing content from a content-authoring application to a content server
JPH1115723A (en) Multimedia data supplying method and multimedia data server
JP2003085033A (en) File conversion system, computer, program and file conversion method
US9727397B2 (en) Container-less JSP template
JP2002351781A (en) Content generating device using screen display page layout
JP2007272443A (en) Development support device, development support method and development support program
Joshi Beginning XML with C# 7: XML Processing and Data Access for C# Developers

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081202