JP2016208461A - Processor, program and data structure - Google Patents

Processor, program and data structure Download PDF

Info

Publication number
JP2016208461A
JP2016208461A JP2015091875A JP2015091875A JP2016208461A JP 2016208461 A JP2016208461 A JP 2016208461A JP 2015091875 A JP2015091875 A JP 2015091875A JP 2015091875 A JP2015091875 A JP 2015091875A JP 2016208461 A JP2016208461 A JP 2016208461A
Authority
JP
Japan
Prior art keywords
file
content
package
application
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015091875A
Other languages
Japanese (ja)
Other versions
JP6543819B2 (en
Inventor
侑輝 河村
Yuki Kawamura
侑輝 河村
一博 大槻
Kazuhiro Otsuki
一博 大槻
彰 花田
Akira Hanada
彰 花田
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
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 Nippon Hoso Kyokai NHK filed Critical Nippon Hoso Kyokai NHK
Priority to JP2015091875A priority Critical patent/JP6543819B2/en
Publication of JP2016208461A publication Critical patent/JP2016208461A/en
Application granted granted Critical
Publication of JP6543819B2 publication Critical patent/JP6543819B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a processor which improves interoperability of contents relating to an application program that is provided in a digital broadcast service, a program and a data structure.SOLUTION: In an application package, a content route folder in which a content file relating to the application program of the digital broadcast service is disposed and package entry point metadata including content information indicating an entry point of the application program are disposed. A metadata analysis part 323 identifies the application program by analyzing the package entry point metadata from the application package, and a content structure analysis part 324 extracts the content file relating to the application program from the content route folder by analyzing structures of folders following the content route folder.SELECTED DRAWING: Figure 7

Description

本発明は、処理装置、プログラムおよびデータ構造に関する。   The present invention relates to a processing device, a program, and a data structure.

本発明は、放送伝送路や通信伝送路を用いて配信されるアプリケーションプログラム(以下、アプリケーションと呼ぶ)に係るコンテンツファイルを一括して扱うためのパッケージ化方法、フォーマットに関する。当該フォーマットは、放送通信連携サービス用アプリケーションの開発環境におけるプロジェクト管理、放送局・制作者間における素材交換、放送波や通信伝送路に各種のコンテンツファイル群を送信する送信装置に供給する際の共通フォーマットとして利用される。   The present invention relates to a packaging method and format for collectively handling content files related to an application program (hereinafter referred to as an application) distributed using a broadcast transmission path or a communication transmission path. This format is common for project management in the application development environment for broadcasting / communication cooperation services, material exchange between broadcasting stations and producers, and supply to transmitters that transmit various types of content files to broadcast waves and communication transmission paths. Used as a format.

第一世代の地上波デジタル放送/BS(Broadcasting Satellite)デジタル放送/CS(Communication Satellite)デジタル放送では、コンテンツ記述言語であるBML(Broadcast Markup Language)を用いてコンテンツが記述されていた。BMLは、非特許文献1に規定されているデータ放送サービス専用のコンテンツ記述言語である。非特許文献1では、BMLによるコンテンツの記述方式や、BMLによって記述されたコンテンツをMPEG−2 TS(Transport Stream)を用いて多重化および伝送するためのデータ構造について記載されている。しかしながら、BMLが規定された時点において、BMLを用いて記述されていたコンテンツファイル群を一括して扱うためのパッケージ化する方式について規定されていなかった。番組制作者と放送局との間、もしくは放送局間における素材交換における入力形式と、コンテンツを放送波で送信するための送信プログラムへの入力形式が個々に異なっていたため相互運用性の確保が課題であった。   In the first generation terrestrial digital broadcasting / BS (Broadcasting Satellite) digital broadcasting / CS (Communication Satellite) digital broadcasting, content is described using BML (Broadcast Markup Language) which is a content description language. BML is a content description language dedicated to data broadcasting services defined in Non-Patent Document 1. Non-Patent Document 1 describes a description method of content by BML and a data structure for multiplexing and transmitting content described by BML using MPEG-2 TS (Transport Stream). However, when BML is defined, a packaging method for collectively handling content file groups described using BML has not been defined. Since the input format for material exchange between program producers and broadcast stations, or between broadcast stations, and the input format for transmission programs for transmitting content via broadcast waves are different, ensuring interoperability is an issue. Met.

そこで、非特許文献2に記載のコンテンツの物理構造とメタ情報の記述言語であるBCML(Broadcast Content Markup Language)が規定された。コンテンツの物理構造とは、フォルダの階層構造と、当該コンテンツが格納されるコンテンツファイル群の配置方法を意味する。これにより、データ放送サービスの運用における相互運用性が改善された。
しかし、サービス提供の際、非特許文献2に記載のコンテンツの物理構造を、非特許文献1に規定される当該コンテンツの送信時におけるデータ構造(例えば、カルーセル、モジュール等)に対応させる必要がある。そのため、BMLを用いてコンテンツを記述する際、及び、BCMLを用いてコンテンツのメタ情報を記述する際、コンテンツ制作者は種々の要件を理解することが求められる。種々の要件として、例えば、インターネット上に掲載されるウェブページの記述言語として普及しているHTML(Hypertext Markup Language)との言語仕様の差異、伝送方式への理解の必要性、コンテンツ構造の自由度の低さ、専用の開発環境の必要性、等がある。そのため、BML及びBCMLを用いて記述されたデータ放送コンテンツの制作環境の普及や技術を有する人材の確保が阻まれていた。
Therefore, BCML (Broadcast Content Markup Language), which is a description language for content physical structure and meta information described in Non-Patent Document 2, has been defined. The physical structure of content means a hierarchical structure of folders and an arrangement method of a content file group in which the content is stored. This improved interoperability in the operation of data broadcasting services.
However, when providing a service, the physical structure of the content described in Non-Patent Document 2 needs to correspond to the data structure (for example, carousel, module, etc.) at the time of transmission of the content specified in Non-Patent Document 1. . Therefore, when describing content using BML and when describing meta information of content using BCML, the content creator is required to understand various requirements. Various requirements include, for example, differences in language specifications from HTML (Hypertext Markup Language), which is widely used as a description language for web pages posted on the Internet, need for understanding of transmission methods, and freedom of content structure. The need for a dedicated development environment, etc. Therefore, the spread of the production environment for data broadcasting contents described using BML and BCML and the securing of human resources with technology have been hindered.

他方、インターネットを介して提供されるウェブページの記述言語として、従来のHTMLの仕様を拡張したHTML5が策定された。HTML5では、映像、音声、2D(2−Dimensional)/3Dグラフィックスなど、従来のHTMLよりも多様なメディアを高い自由度で取り扱うことが可能になる。かかる動きに呼応して、データ放送コンテンツの記述言語としてHTML5を利用する方式が策定された(非特許文献3参照)。第一世代のデジタル放送サービスの付加サービスの一部として非特許文献3に規定される仕様に準拠したHTML5アプリケーションを用いた放送通信連携サービス(ハイブリッドキャスト(登録商標))が、2015年3月現在、既に実用化されている。   On the other hand, HTML5, which is an extension of the conventional HTML specification, has been established as a description language for web pages provided via the Internet. In HTML5, various media such as video, audio, 2D (2-Dimensional) / 3D graphics, etc. can be handled with a higher degree of freedom than conventional HTML. In response to this movement, a method of using HTML5 as a description language for data broadcasting contents has been developed (see Non-Patent Document 3). As of March 2015, a broadcasting / communication cooperation service (Hybrid Cast (registered trademark)) that uses an HTML5 application that complies with the specifications defined in Non-Patent Document 3 as part of the additional services of the first generation digital broadcasting service. Has already been put to practical use.

実用化されている放送通信連携サービスでは、受信機がアプリケーションを取得するのに最低限必要な制御情報をMPEG−2 TSに多重化したうえで放送波により伝送し、コンテンツファイル群をインターネットに接続されたウェブサーバを介して配信する。しかしながら、既存の受信機の動作保証、伝送帯域の制約などの理由により、HTML5アプリケーションのコンテンツファイル群の放送波による伝送は、2015年3月現在実用化されていない。   In the broadcasting / communication cooperation service that has been put to practical use, the control information necessary for the receiver to acquire the application is multiplexed with MPEG-2 TS and then transmitted by broadcast waves, and the content file group is connected to the Internet. Distributed via a web server. However, transmission of content files for HTML5 applications by broadcast waves has not been put into practical use as of March 2015 due to reasons such as operation guarantees of existing receivers and restrictions on transmission bandwidth.

放送サービスにおけるHTML5アプリケーションの採用と並行して、第二世代デジタル放送の標準化が進められている。例えば、非特許文献4には、MPEG−H MMT(MPEG Media Transport、単にMMTとも呼ばれる)を利用したデジタル放送の多重化方式が規定されている。第二世代デジタル放送の伝送方式としてMPEG−2 TSを採用する場合でも既存の受信機の動作を保証しないことが許容されれば、放送通信連携サービスにおいてHTML5アプリケーションのコンテンツファイル群の放送波による伝送が実用化される可能性がある。伝送において通信伝送路の他、放送波を用いることで、ウェブサーバへのアクセス負荷の低減、通信伝送路に接続していない受信機によるアプリケーションの取得、実行が期待される。   In parallel with the adoption of HTML5 applications in broadcasting services, standardization of second generation digital broadcasting is underway. For example, Non-Patent Document 4 defines a digital broadcast multiplexing system using MPEG-H MMT (MPEG Media Transport, also simply referred to as MMT). Even when adopting MPEG-2 TS as a transmission system for second-generation digital broadcasting, if it is allowed not to guarantee the operation of an existing receiver, transmission of content files of an HTML5 application by broadcast waves in a broadcasting / communication cooperation service May be put to practical use. By using a broadcast wave in addition to a communication transmission line, transmission is expected to reduce the access load to the web server and to acquire and execute an application by a receiver not connected to the communication transmission line.

電波産業会,デジタル放送におけるデータ放送符号化方式と伝送方式,ARIB STD−B24 6.1版,2014.12.16Radio Industry Association, Data Broadcast Coding System and Transmission System in Digital Broadcasting, ARIB STD-B24 6.1 Edition, 2014.12.16 電波産業会,デジタル放送におけるデータ放送番組交換方式,ARIB STD−B35 1.2版,2006.3.14Radio Industry Association, Data Broadcast Program Exchange Method for Digital Broadcasting, ARIB STD-B35 1.2 Edition, 2006.3.14 IPTVフォーラム,HTML5ブラウザ仕様,IPTVFJ STD−0011 2.0版,2014.6.29IPTV Forum, HTML5 Browser Specification, IPTVFJ STD-0011 2.0 Edition, 2014.4.629 電波産業会,デジタル放送におけるMMTによるメディアトランスポート方式,STD−B60 1.1版,2014.12.16Radio Industry Association, Media Transport System by MMT in Digital Broadcasting, STD-B60 1.1 Edition, 2014.12.16 “.ZIP File Format Specification”,[online],PKWARE Inc.,[2015年2月20日検索],インターネット<https://pkware.cachefly.net/webdocs/APPNOTE/APPNOTE−6.3.3.TXT>“.ZIP File Format Specification”, [online], PKWARE Inc. [Search February 20, 2015], Internet <https: // pkware. cachefly. net / webdocs / APPNOTE / APPNOTE-6.3.3. TXT> Society of Motion Picture and Television Engineers,The MXF File Format Specification (the overall master document),SMPTE 377MSociety of Motion Picture and Television Engineers, The MXF File Format Specification (the overall master document), SMPTE 377M Internet Engineering Task Force,FILE TRANSFER PROTOCOL(FTP),Request for Comments 959,1985.10Internet Engineering Task Force, FILE TRANSFER PROTOCOL (FTP), Request for Comments 959, 1985.10.

2015年3月現在、実用化されている放送通信連携サービスでは、HTML5アプリケーションは通信伝送路のみを介して伝送される。サービス提供者は、送信に際しコンテンツファイル群をそのまま1台もしくは複数台のウェブサーバにアップロードすればよい。このため、特にコンテンツファイル群の内部構造、メタ情報の記述方法を規定せず、単にコンテンツの基底となるフォルダをそのまま圧縮(例えば、非特許文献5)しても直ちに相互運用性は損なわれない。しかしながら、今後、サービス規模の拡大、第二世代デジタル放送サービスにおけるアプリケーションの放送波伝送の実用化により伝送経路が多様になる一方で、コンテンツ制作者、サービス提供者が個々に運用するとコンテンツファイル群の相互運用性が損なわれるおそれがある。また、相互運用において、コンテンツファイル群を一括して取り扱う場合のように比較的簡易な運用では、非特許文献5に記載のZIP形式のファイルとして構成されていても利便性が確保される。これに対し、ファイル単位でのコンテンツファイル群の伝送や番組アーカイブシステムとの親和性を確保するためには、非特許文献6に記載のMXF(Material eXchange Format)との相互運用が期待される。   As of March 2015, in the broadcasting / communication cooperation service in practical use, the HTML5 application is transmitted only through the communication transmission path. The service provider may upload the content file group as it is to one or a plurality of web servers at the time of transmission. For this reason, the internal structure of the content file group and the description method of the meta information are not stipulated, and the interoperability is not immediately impaired even if the folder serving as the base of the content is simply compressed (for example, Non-Patent Document 5). . However, in the future, the transmission path will be diversified due to the expansion of the service scale and the practical application of broadcast wave transmission of applications in the second generation digital broadcasting service. However, if content creators and service providers operate individually, Interoperability may be impaired. In interoperability, in a relatively simple operation, such as when handling content file groups all together, convenience is ensured even if the file is configured as a ZIP format file described in Non-Patent Document 5. On the other hand, interoperability with MXF (Material eXchange Format) described in Non-Patent Document 6 is expected in order to ensure the compatibility of content file group transmission in file units and the program archive system.

本発明は上記の点に鑑みてなされたものであり、デジタル放送サービスで提供されるアプリケーションプログラムに関するコンテンツの相互運用性を向上できる処理装置、プログラムおよびデータ構造を提供することを課題とする。また、コンテンツファイル群が時間経過に応じて変化しない静的なHTML5アプリケーションの他、送信対象のコンテンツファイル群が時間経過に応じて動的に変化するアプリケーションの送信、あるいはそれらの動作検証を実現する。また、ZIPファイルとして構成されたコンテンツファイル群とMXFファイルとして構成されたコンテンツファイル群との相互運用性を確保する。   The present invention has been made in view of the above points, and an object of the present invention is to provide a processing device, a program, and a data structure that can improve the interoperability of contents related to an application program provided by a digital broadcasting service. In addition to a static HTML5 application whose content file group does not change over time, the transmission of an application whose content file group to be transmitted dynamically changes over time, or the operation verification thereof is realized. . Further, interoperability between the content file group configured as a ZIP file and the content file group configured as an MXF file is ensured.

本発明は上記の課題を解決するためになされたものであり、[1]本発明の一態様は、デジタル放送サービスのアプリケーションプログラムに関するコンテンツファイルが配置されたコンテンツルートフォルダと、前記アプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータとが配置されたアプリケーションパッケージから、前記パッケージエントリポイントメタデータを解析して前記アプリケーションプログラムを特定するメタデータ解析部と、前記コンテンツルートフォルダ以下のフォルダの構造を解析して、前記アプリケーションプログラムに関するコンテンツファイルを前記コンテンツルートフォルダから抽出するコンテンツ構造解析部と、を備える処理装置である。
[1]の構成によれば、パッケージエントリメタデータを参照して、アプリケーションプログラムの最初に参照されるエントリポイントの所在が直ちに識別される。制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出されるので、制作者と放送事業者もしくはサービス提供者間において共通の処理対象が特定されることにより相互運用性が向上する。
The present invention has been made to solve the above problems. [1] One aspect of the present invention is a content root folder in which a content file related to an application program of a digital broadcasting service is arranged, and an entry of the application program. A metadata analysis unit that analyzes the package entry point metadata and identifies the application program from an application package in which package entry point metadata including content information indicating points is arranged, and a folder under the content root folder And a content structure analysis unit that extracts a content file related to the application program from the content root folder.
According to the configuration of [1], the location of the entry point referred to first in the application program is immediately identified with reference to the package entry metadata. Since content files arbitrarily configured by the producer are efficiently extracted as processing targets, interoperability is improved by specifying a common processing target between the producer and the broadcaster or service provider.

[2]本発明の一態様は、上述の処理装置であって、前記コンテンツ構造解析部は、前記コンテンツファイルのファイル名を解析して、前記ファイル名が示す時刻と前記コンテンツファイルの所在を示す制御対象ファイルリストを生成することを特徴とし、前記制御対象ファイルリストを参照して、番組の編成時刻に相当する時刻を示すファイル名を有するコンテンツファイルを選択するファイル制御部を備える。
[2]の構成によれば、時間経過に応じてコンテンツファイルが更新されるコンテンツについても、番組編成の際にファイル名により処理開始時刻と処理対象のファイルが直ちに特定される。制作者は、処理の開始やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理開始時刻に基づいた番組編成を円滑に行うことができる。
[2] One aspect of the present invention is the above-described processing device, wherein the content structure analysis unit analyzes a file name of the content file and indicates a time indicated by the file name and a location of the content file. A control target file list is generated, and a file control unit that selects a content file having a file name indicating a time corresponding to a program organization time with reference to the control target file list.
According to the configuration of [2], for the content whose content file is updated as time elapses, the processing start time and the processing target file are immediately specified by the file name when the program is organized. The producer can efficiently verify the start and time of the process, and the broadcaster or service provider can smoothly organize the program based on the process start time intended by the producer.

[3]本発明の一態様は、上述の処理装置であって、前記ファイル制御部は選択したコンテンツファイルが空ファイルである場合、前記選択したファイルのファイル名が示す時刻において前記コンテンツファイルに係る処理を停止させることを特徴とする。
[3]の構成によれば、番組編成の際に停止されるコンテンツについて、ファイル名により停止時刻と停止対象のファイルが直ちに特定される。制作者は、処理の停止やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理停止時刻に基づいた番組編成を円滑に行うことができる。
[3] One aspect of the present invention is the processing apparatus described above, wherein the file control unit relates to the content file at a time indicated by a file name of the selected file when the selected content file is an empty file. The processing is stopped.
According to the configuration of [3], the stop time and the file to be stopped are immediately specified by the file name for the content to be stopped when the program is organized. The producer can efficiently verify the process stop and the time, and the broadcaster or the service provider can smoothly organize the program based on the process stop time intended by the producer.

[4]本発明の一態様は、上述の処理装置であって、前記コンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、前記コンテンツファイルに格納されたデータとを含むセットがコンテンツファイル間で連結された第1の形式のファイルから、前記セット毎に前記データを格納したコンテンツファイルを前記ヘッダが示すフォルダに配置して前記アプリケーションパッケージとして展開する展開部を備える。
[4]の構成によれば、第1の形式のファイルから展開により再生されたアプリケーションパッケージから番組編成の際に処理対象のコンテンツファイルが特定される。番組編成において一括した取扱いに便宜な第1の形式のファイルの活用を図ることができる。
[4] One aspect of the present invention is the processing apparatus described above, wherein a set including a folder in which the content file is arranged, a header indicating identification information, and data stored in the content file is between content files. And a developing unit that arranges the content file storing the data for each set in the folder indicated by the header from the files of the first format concatenated in (3) and develops them as the application package.
According to the configuration of [4], the content file to be processed is specified at the time of program organization from the application package reproduced by development from the first format file. It is possible to use a file of the first format convenient for batch handling in program organization.

[5]本発明の一態様は、上述の処理装置であって、前記セットの配置を示す区分データが前記セットそれぞれの先頭にさらに配置された第2の形式のファイルから、前記区分データをそれぞれ除外して前記第1の形式のファイルに変換する第1変換部を備える。
[5]の構成によれば、第2の形式のファイルを、第1の形式のファイルへの変換を区分データの除外といった簡素な処理により実現することができる。区分データによる個々のコンテンツファイルに対するアクセスが容易な第2の形式のファイルを、第1の形式のファイルに変換して一括した取扱いを促進することができる。
[5] One aspect of the present invention is the above-described processing device, wherein each of the pieces of division data is obtained from a file of a second format in which division data indicating the arrangement of the set is further arranged at the head of each of the sets. A first conversion unit that excludes and converts the file into the first format file is provided.
According to the configuration of [5], conversion of the second format file into the first format file can be realized by a simple process such as exclusion of segmented data. The second format file that allows easy access to the individual content files based on the classification data can be converted into the first format file to facilitate batch handling.

[6]本発明の一態様は、上述の処理装置であって、前記第1の形式に含まれる前記セットそれぞれの先頭に前記セットの配置を示す区分データを配置して第2の形式のファイルに変換する第2変換部を備える。
[6]の構成によれば、第1の形式のファイルから第2の形式へのファイルへの変換を区分データの配置といった簡素な処理により実現することができる。そのため、一括した取扱いに便宜な第1の形式のファイルを、第2の形式のファイルに変換して個々のコンテンツファイルに対するアクセスを促進することができるので、コンテンツ制作、編集を効率よく行うことができる。
[6] One aspect of the present invention is the above-described processing device, wherein a file of the second format is arranged by arranging division data indicating the arrangement of the set at the head of each of the sets included in the first format. The 2nd conversion part which converts into 2 is provided.
According to the configuration of [6], conversion from the first format file to the second format file can be realized by a simple process such as arrangement of segmented data. Therefore, the first format file convenient for batch handling can be converted to the second format file to facilitate access to individual content files, so that content creation and editing can be performed efficiently. it can.

[7]本発明の一態様は、上述の処理装置であって、前記パッケージエントリポイントメタデータは、前記コンテンツファイルの伝送方式を示すトランスミッション情報を含み、前記トランスミッション情報が示す伝送方式を用いて前記コンテンツファイルを送信させる送信制御部を備える。
[7]の構成によれば、制作者が任意に構成したコンテンツファイルが送信対象として効率的に抽出され、放送事業者もしくはサービス提供者が指定した所望の伝送方式を用いて送信される。そのため、デジタル放送サービスを提供において、制作者と放送事業者もしくはサービス提供者との間の相互運用性が向上する。
[7] One aspect of the present invention is the above-described processing device, wherein the package entry point metadata includes transmission information indicating a transmission method of the content file, and uses the transmission method indicated by the transmission information. A transmission control unit for transmitting the content file is provided.
According to the configuration of [7], a content file arbitrarily configured by the producer is efficiently extracted as a transmission target, and transmitted using a desired transmission method designated by the broadcaster or service provider. Therefore, in providing a digital broadcast service, interoperability between the producer and the broadcaster or service provider is improved.

[8]本発明の一態様は、上述の処理装置であって、前記アプリケーションプログラムに記述される命令が示す処理を実行する実行部を備える。
[8]の構成によれば、制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出されるので、制作されたアプリケーションパッケージに配置されるアプリケーションプログラムの動作検証を円滑に行うことができる。
[8] One aspect of the present invention is the above-described processing device, which includes an execution unit that executes a process indicated by an instruction described in the application program.
According to the configuration of [8], content files arbitrarily configured by the producer are efficiently extracted as processing targets, so that the operation verification of the application program arranged in the produced application package can be performed smoothly. it can.

[9]本発明の一態様は、処理装置のコンピュータに、デジタル放送サービスのアプリケーションプログラムに関するコンテンツファイルが配置されたコンテンツルートフォルダと、前記アプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータとが配置されたアプリケーションパッケージから、前記パッケージエントリポイントメタデータを解析して前記アプリケーションプログラムを特定するメタデータ解析手順、前記コンテンツルートフォルダ以下のフォルダの構造を解析して、前記アプリケーションプログラムに関するコンテンツファイルを前記コンテンツルートフォルダから抽出するコンテンツ構造解析手順、を実行させるためのプログラムである。
[9]の構成によれば、パッケージエントリメタデータを参照して、アプリケーションプログラムの最初に参照されるエントリポイントの所在が直ちに識別される。制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出できるので、制作者と放送事業者もしくはサービス提供者との間の相互運用性が向上する。
[9] According to one aspect of the present invention, a package entry point meta including a content root folder in which a content file related to an application program of a digital broadcasting service is placed on a computer of a processing device and content information indicating an entry point of the application program. Content related to the application program by analyzing the package entry point metadata from the application package in which the data is arranged to identify the application program and analyzing the structure of the folder under the content root folder A program for executing a content structure analysis procedure for extracting a file from the content root folder.
According to the configuration of [9], the location of the entry point referred to first in the application program is immediately identified with reference to the package entry metadata. Since content files arbitrarily configured by the producer can be efficiently extracted as processing targets, interoperability between the producer and the broadcaster or service provider is improved.

[10]本発明の一態様は、コンテンツルートフォルダと、デジタル放送サービスのアプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータが配置されたパッケージルートフォルダを備え、前記コンテンツルートフォルダ以下のフォルダにおいて、前記アプリケーションプログラムのファイルが配置されたことを特徴とするアプリケーションパッケージのデータ構造である。
[10]の構成によれば、パッケージエントリメタデータを参照して、アプリケーションプログラムの最初に参照されるエントリポイントの所在が直ちに識別されるので、制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出される。制作者と放送事業者もしくはサービス提供者が、共通のデータ構造を用いて処理対象を円滑に特定できるので、相互運用性が向上する。
[10] One aspect of the present invention includes a content root folder and a package root folder in which package entry point metadata including content information indicating an entry point of an application program of a digital broadcasting service is arranged, and the content root folder is below the content root folder The data structure of the application package is characterized in that the application program file is arranged in the folder.
According to the configuration of [10], the location of the entry point referred to at the beginning of the application program is immediately identified by referring to the package entry metadata. Therefore, the content file arbitrarily configured by the creator is the processing target. Extracted efficiently. Interoperability is improved because the producer and the broadcaster or service provider can smoothly specify the processing target using a common data structure.

[11]本発明の一態様は、上述のデータ構造であって、前記コンテンツルートフォルダ以下のフォルダにおいて、前記アプリケーションプログラムに関するコンテンツファイルが配置され、前記コンテンツファイルの少なくとも1つのファイル名が前記コンテンツファイルの処理開始時刻を示すタイムコードを含むことを特徴とする。
[11]の構成によれば、時間経過に応じてコンテンツファイルが更新されるコンテンツについても、番組編成の際にファイル名により処理開始時刻と処理対象のファイルが直ちに特定される。制作者は、処理の開始やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理開始時刻に基づいた番組編成を円滑に行うことができる。
[11] One aspect of the present invention is the data structure described above, wherein a content file related to the application program is arranged in a folder below the content root folder, and at least one file name of the content file is the content file It includes a time code indicating the processing start time.
According to the configuration of [11], for the content whose content file is updated as time elapses, the processing start time and the processing target file are immediately specified by the file name when the program is organized. The producer can efficiently verify the start and time of the process, and the broadcaster or service provider can smoothly organize the program based on the process start time intended by the producer.

[12]本発明の一態様は、上述のデータ構造であって、前記コンテンツルートフォルダ以下のフォルダにおいて、ファイル名が前記コンテンツファイルの少なくとも1つの処理停止時刻を示すタイムコードを含む空ファイルが配置されていることを特徴とする。
[12]の構成によれば、番組編成の際に停止されるコンテンツについて、ファイル名により停止時刻と停止対象のファイルが直ちに特定される。制作者は、処理の停止やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理停止時刻に基づいた番組編成を円滑に行うことができる。
[12] One aspect of the present invention is the data structure described above, wherein an empty file whose file name includes a time code indicating at least one processing stop time of the content file is arranged in a folder below the content root folder It is characterized by being.
According to the configuration of [12], the stop time and the file to be stopped are immediately specified by the file name for the content to be stopped when the program is organized. The producer can efficiently verify the process stop and the time, and the broadcaster or the service provider can smoothly organize the program based on the process stop time intended by the producer.

[13]本発明の一態様は、上述のデータ構造であって、前記アプリケーションプログラムに関するコンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、前記コンテンツファイルに格納されたデータとを含むセットがコンテンツファイル間で連結された1個のファイルとして構成されたことを特徴とする。
[13]の構成によれば、種々のコンテンツファイルを含んで構成されるアプリケーションパッケージが1個のファイルとして表されるので、当該アプリケーションパッケージについて一括した取扱いが容易になる。
[13] One aspect of the present invention is the above-described data structure, wherein a set including a folder in which a content file related to the application program is arranged, a header indicating identification information, and data stored in the content file. It is characterized by being configured as one file concatenated between content files.
According to the configuration of [13], an application package including various content files is represented as one file, so that the application package can be easily handled in a batch.

[14]本発明の一態様は、上述のデータ構造であって、前記セットそれぞれの先頭に前記セットの配置を示す区分データが配置されたことを特徴とする。
[14]の構成によれば、アプリケーションパッケージを構成する個々のコンテンツファイルの存在を区分データに基づいて検出することにより、個々のコンテンツファイルのコンテンツの編集、管理に便宜である。
[14] One aspect of the present invention is the data structure described above, characterized in that segment data indicating the arrangement of the set is arranged at the head of each of the sets.
According to the configuration [14], it is convenient for editing and managing the contents of the individual content files by detecting the presence of the individual content files constituting the application package based on the division data.

[15]本発明の一態様は、前記パッケージエントリポイントメタデータは、前記アプリケーションプログラムに関するコンテンツファイルの伝送方式を示すトランスミッション情報を含むことを特徴とする。
[15]の構成によれば、制作者が任意に構成したコンテンツファイルが送信対象として効率的に特定され、放送事業者もしくはサービス提供者は特定されたコンテンツファイルの送信にあたり所望の伝送方式を指定することができる。そのため、デジタル放送サービスの提供において、制作者と放送事業者もしくはサービス提供者との間の相互運用性が向上する。
[15] One aspect of the present invention is characterized in that the package entry point metadata includes transmission information indicating a transmission method of a content file related to the application program.
According to the configuration of [15], a content file arbitrarily configured by a producer is efficiently specified as a transmission target, and a broadcaster or a service provider specifies a desired transmission method for transmitting the specified content file can do. Therefore, interoperability between the producer and the broadcaster or service provider is improved in providing the digital broadcast service.

本発明によれば、デジタル放送サービスで提供されるアプリケーションプログラムに関するコンテンツの相互運用性を向上することができる。   ADVANTAGE OF THE INVENTION According to this invention, the interoperability of the content regarding the application program provided with a digital broadcast service can be improved.

本実施形態に係る放送通信連携システムの構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the broadcast communication cooperation system which concerns on this embodiment. 本実施形態に係るアプリケーションパッケージのデータ構造を示す図である。It is a figure which shows the data structure of the application package which concerns on this embodiment. コンテンツフォルダ内のコンテンツの構造の一例を示す図である。It is a figure which shows an example of the structure of the content in a content folder. 送信対象ファイルの時間変化の一例を示す図である。It is a figure which shows an example of the time change of a transmission object file. コンテンツフォルダ内のコンテンツの構造の他の例を示す図である。It is a figure which shows the other example of the structure of the content in a content folder. 送信対象ファイルの時間変化の一例を示す図である。It is a figure which shows an example of the time change of a transmission object file. 本実施形態に係るアプリケーション送信装置の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the application transmitter which concerns on this embodiment. コンテンツファイル群の例を示す図である。It is a figure which shows the example of a content file group. 本実施形態に係るパッケージ読み込み処理を示すフローチャートである。It is a flowchart which shows the package reading process which concerns on this embodiment. タイムコード制御対象ファイルリストの例を示す図である。It is a figure which shows the example of a time code control object file list. 本実施形態に係るファイル制御処理を示すフローチャートである。It is a flowchart which shows the file control process which concerns on this embodiment. 本実施形態に係る送信制御処理を示すフローチャートである。It is a flowchart which shows the transmission control process which concerns on this embodiment. 本実施形態に係るアプリケーション動作検証装置の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the application operation verification apparatus which concerns on this embodiment. 各形式のアプリケーションパッケージのデータ構成の例を示す図である。It is a figure which shows the example of a data structure of the application package of each format. 本実施形態に係るZIP−MXF変換を示すフローチャートである。It is a flowchart which shows the ZIP-MXF conversion which concerns on this embodiment. 本実施形態に係るMXF−ZIP変換を示すフローチャートである。It is a flowchart which shows MXF-ZIP conversion based on this embodiment.

以下、図面を参照しながら本発明の実施形態について説明する。
図1は、本実施形態に係る放送通信連携システムB1の構成を示す概略ブロック図である。
本実施形態に係る放送通信連携システムB1は、コンテンツ管理装置10、コンテンツ送信装置20、アプリケーション送信装置30、符号化装置40、多重化装置50、サーバ装置60、放送設備70、受信機80、アプリケーション動作検証装置90及びルータ装置100を含んで構成される。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic block diagram showing the configuration of the broadcasting / communication cooperation system B1 according to the present embodiment.
The broadcast communication cooperation system B1 according to the present embodiment includes a content management device 10, a content transmission device 20, an application transmission device 30, an encoding device 40, a multiplexing device 50, a server device 60, a broadcast facility 70, a receiver 80, and an application. The operation verification device 90 and the router device 100 are included.

コンテンツ管理装置10は、番組毎のコンテンツパッケージを記憶する記憶媒体を含んで構成される。個々のコンテンツパッケージは、番組の構成要素として1個又は複数個のマルチメディアデータを格納したファイル群である。マルチメディアデータとは、番組として放送される内容、つまり、映像、音声、字幕、アプリケーション、その他情報等のデータを示す。アプリケーションは、記述言語、例えば、HTML5で記述され、記述された命令が示す処理を受信機80に実行させることにより放送通信連携サービスを実現するプログラムであり、その実行により、番組の一部を構成するマルチメディアデータが提示される。放送通信連携サービスにより提供されるコンテンツを、特に放送通信連携コンテンツと呼ぶことがある。以下の説明では、アプリケーションその他のプログラムに記述された命令が示す処理を実行させることを、単にアプリケーションその他のプログラムを「実行する」と呼ぶことがある。コンテンツパッケージが番組の構成要素のうち、アプリケーションに係るファイルのみを含む場合には、そのコンテンツパッケージを単にアプリケーションパッケージと呼ぶことがある。コンテンツパッケージが、アプリケーションを構成するファイルに加えて、映像、音声、字幕、その他データ等を含むことを、コンテンツパッケージがアプリケーションパッケージを内包していると呼ぶことがある。コンテンツ管理装置10は、例えば、複数のコンテンツパッケージを記憶する番組アーカイブ装置である。コンテンツ管理装置10は、主に放送事業者、番組制作者により管理される。また、コンテンツパッケージを構成するファイル群は、例えばMXFやZIPなどの形式でパッケージ化されていてもよい。   The content management apparatus 10 includes a storage medium that stores a content package for each program. Each content package is a file group storing one or more multimedia data as program components. The multimedia data refers to data broadcast as a program, that is, data such as video, audio, subtitles, applications, and other information. An application is a program that is described in a description language, for example, HTML5, and that realizes a broadcasting / communication cooperation service by causing the receiver 80 to execute a process indicated by the described instruction. Multimedia data to be presented. The content provided by the broadcasting / communication cooperation service may be particularly referred to as broadcasting / communication cooperation content. In the following description, executing the process indicated by the instruction described in the application or other program may be simply referred to as “execution” of the application or other program. When a content package includes only files related to an application among program components, the content package may be simply referred to as an application package. When a content package includes video, audio, subtitles, and other data in addition to the files that make up the application, the content package may be referred to as containing the application package. The content management device 10 is, for example, a program archive device that stores a plurality of content packages. The content management apparatus 10 is managed mainly by a broadcaster and a program producer. Further, the file group constituting the content package may be packaged in a format such as MXF or ZIP, for example.

コンテンツ送信装置20は、コンテンツ読み込みトリガと、放送する番組のコンテンツパッケージ名情報が入力されるとき、パッケージ名情報で指定されるコンテンツパッケージをコンテンツ管理装置10から取得する。コンテンツ読み込みトリガは、番組編成情報を管理する上位システムである番組編成情報管理装置(図示せず)から入力される。番組編成情報には、放送番組に係るコンテンツパッケージのパッケージ名、当該番組の編成時刻情報、その番組の放送中に実行されるアプリケーションのアプリケーション編成情報などが含まれる。コンテンツ送信装置20は、取得したコンテンツパッケージに格納されたマルチメディアデータを読み出し、読み出したマルチメディアデータを符号化装置40に出力する。また、コンテンツ送信装置20は、当該コンテンツパッケージもしくは当該コンテンツパッケージに内包されたアプリケーションパッケージを読み込み、読み込んだアプリケーションパッケージをアプリケーション送信装置30に出力する。   When the content reading trigger and the content package name information of the program to be broadcast are input, the content transmission device 20 acquires the content package specified by the package name information from the content management device 10. The content reading trigger is input from a program organization information management apparatus (not shown) which is a host system that manages program organization information. The program organization information includes a package name of a content package related to a broadcast program, organization time information of the program, application organization information of an application executed during the broadcast of the program, and the like. The content transmission apparatus 20 reads the multimedia data stored in the acquired content package, and outputs the read multimedia data to the encoding apparatus 40. Further, the content transmission device 20 reads the content package or the application package included in the content package, and outputs the read application package to the application transmission device 30.

アプリケーション送信装置30は、コンテンツ送信装置20からアプリケーションパッケージを取得する。アプリケーション送信装置30には、番組編成情報管理装置(図示せず)から直接、もしくはコンテンツ送信装置20を経由して間接的に、パッケージ読み込みトリガとアプリケーションパッケージ名情報が入力される。アプリケーション送信装置30は、パッケージ名情報で指定されるアプリケーションパッケージを展開してアプリケーションに係るファイル群を生成する。アプリケーション送信装置30は、アプリケーションの動作を制御するための制御情報を生成する。制御情報には、例えば、アプリケーション情報テーブル(AIT:Application Information Table)が含まれる。AITは、受信機80によるアプリケーションの起動、終了などの動作の制御、放送映像の表示レイアウト変更可否等の機能の権限、アプリケーションの取得先、取得経路等を示すデータである。アプリケーション送信装置30は、展開したアプリケーションに関するコンテンツファイル群と制御情報を多重化装置50又はサーバ装置60に送信する。   The application transmission device 30 acquires an application package from the content transmission device 20. The application transmission device 30 receives a package reading trigger and application package name information directly from a program organization information management device (not shown) or indirectly through the content transmission device 20. The application transmitting device 30 expands the application package specified by the package name information and generates a file group related to the application. The application transmission device 30 generates control information for controlling the operation of the application. The control information includes, for example, an application information table (AIT: Application Information Table). The AIT is data indicating control of operations such as activation and termination of an application by the receiver 80, authority of functions such as whether or not to change a broadcast video display layout, an application acquisition destination, an acquisition route, and the like. The application transmission device 30 transmits a content file group and control information regarding the developed application to the multiplexing device 50 or the server device 60.

符号化装置40は、コンテンツ送信装置20から受信したマルチメディアデータを、それぞれのメディアに応じた所定の符号化方式で符号化する。映像符号化方式は、例えば、ISO/IEC 23008−2 HEVC(International Organization for Standardization/International Electronical Commission 23008 Part2 High Efficiency Video Coding、HEVCとも呼ばれる)で規格化された符号化方式である。音声符号化方式は、例えば、ISO/IEC 14496 −3 Audio(MPEG−4 オーディオとも呼ばれる)で規格化された符号化方式である。符号化装置40は、符号化したマルチメディアデータを多重化装置50に送信する。なお、コンテンツパッケージに格納されたマルチメディアデータが、そのまま多重化装置50において処理可能な符号化済みのデータである場合、符号化装置40は省略されてもよい。   The encoding device 40 encodes the multimedia data received from the content transmission device 20 by a predetermined encoding method corresponding to each medium. The video encoding method is, for example, ISO / IEC 23008-2 HEVC (International Organization for Standardization / International Electrical Commission 23003, also referred to as Part 2 High Efficient Video Coding, E coding method). The audio encoding system is an encoding system standardized by, for example, ISO / IEC 14496-3 Audio (also referred to as MPEG-4 audio). The encoding device 40 transmits the encoded multimedia data to the multiplexing device 50. If the multimedia data stored in the content package is encoded data that can be processed by the multiplexing device 50 as it is, the encoding device 40 may be omitted.

多重化装置50は、符号化装置40から受信した符号化済みのマルチメディアデータと、アプリケーション送信装置30から受信した制御情報及びコンテンツファイル群を多重化し、所定の形式の多重化データを生成する。多重化データは、例えば、MMTP(MPEG Media Transport Protocol)パケットを包含する複数のIPパケットからなるIPフローとして構成される。MMTPパケットには、MMTパッケージテーブル(MPT:MMT Package Table)が含まれる。MPTは、放送番組の構成要素である1個または複数個のマルチメディアデータ、つまり、映像、音声、字幕、アプリケーション、その他情報等のリストやその要件を示す制御情報である。多重化装置50は、生成した多重化データをルータ装置100又は放送設備70に送信する。   The multiplexing device 50 multiplexes the encoded multimedia data received from the encoding device 40, the control information and the content file group received from the application transmission device 30, and generates multiplexed data in a predetermined format. The multiplexed data is configured as an IP flow made up of a plurality of IP packets including, for example, an MMTP (MPEG Media Transport Protocol) packet. The MMTP packet includes an MMT package table (MPT: MMT Package Table). The MPT is control information indicating one or a plurality of multimedia data that is a component of a broadcast program, that is, a list of video, audio, subtitles, applications, other information, and the like and requirements thereof. The multiplexing device 50 transmits the generated multiplexed data to the router device 100 or the broadcasting facility 70.

サーバ装置60は、アプリケーション送信装置30からアプリケーションに係るコンテンツファイル群と制御情報のファイルを受信し、受信したファイルを記憶する。サーバ装置60は、受信機80から受信した要求情報で指定されるファイルを、その応答として通信伝送路NTを介して受信機80に送信する。
また、ルータ装置100は、多重化装置50から受信した多重化データを、通信伝送路NTを介して受信機80に送信する。ルータ装置100は、通信伝送路NTを介して多重化データを送信する必要がない場合には、省略されてもよい。
通信伝送路NTは、サーバ装置60もしくはルータ装置100と受信機80との間で各種のデータを双方向的に伝送する伝送路である。通信伝送路NTは、例えば、インターネット、公衆無線通信網、等の広域通信網を含んで構成される。なお、通信伝送路NTを介して各種のデータを伝送(又は送信、受信)することを、「通信で伝送(又は送信、受信)する」と呼ぶことがある。
The server device 60 receives the content file group and the control information file related to the application from the application transmitting device 30, and stores the received file. The server device 60 transmits a file specified by the request information received from the receiver 80 to the receiver 80 via the communication transmission path NT as a response.
In addition, the router device 100 transmits the multiplexed data received from the multiplexing device 50 to the receiver 80 via the communication transmission path NT. The router device 100 may be omitted when it is not necessary to transmit multiplexed data via the communication transmission line NT.
The communication transmission line NT is a transmission line for bidirectionally transmitting various data between the server device 60 or the router device 100 and the receiver 80. The communication transmission line NT includes, for example, a wide area communication network such as the Internet or a public wireless communication network. Note that transmitting (or transmitting or receiving) various data via the communication transmission line NT may be referred to as “transmitting (or transmitting or receiving) by communication”.

放送設備70は、多重化装置50から受信した多重化データを、放送伝送路BTを介して受信機80に送信する。
放送伝送路BTは、放送設備70が送信するデータを同時に不特定多数の受信機80に一方向的に伝送する伝送路である。放送伝送路BTは、例えば、放送衛星で中継される所定の周波数帯域の電波(放送波)である。放送伝送路BTには、放送設備70から電波を送信するための送信局までのネットワークが含まれてもよい。なお、放送伝送路BTを介して各種のデータを伝送(又は、送信、受信)することを、「放送で伝送(又は、送信、受信)する」と呼ぶことがある。
The broadcast facility 70 transmits the multiplexed data received from the multiplexing device 50 to the receiver 80 via the broadcast transmission path BT.
The broadcast transmission path BT is a transmission path for simultaneously transmitting data transmitted from the broadcast facility 70 to an unspecified number of receivers 80 in one direction. The broadcast transmission path BT is, for example, a radio wave (broadcast wave) in a predetermined frequency band that is relayed by a broadcast satellite. The broadcast transmission path BT may include a network from the broadcast facility 70 to a transmission station for transmitting radio waves. Note that transmission (or transmission, reception) of various types of data via the broadcast transmission path BT may be referred to as “transmission (or transmission, reception) by broadcast”.

受信機80は、放送伝送路BT又は通信伝送路NTで伝送される多重化データと、通信伝送路NTを介して受信するコンテンツファイル群に基づいて放送通信連携サービスを提供する。受信機80は、放送伝送路BTで受信した多重化データからMPTを抽出し、MPTで指定されたマルチメディアデータ、制御情報及びコンテンツファイル群を受信した多重化データから抽出する。受信機80は、MPTで指定された要件に従って当該マルチメディアデータに基づくコンテンツを提示する。また、受信機80は、抽出した制御情報で指定された要求先のサーバ装置60に対して、当該制御情報で指定されたアプリケーションのファイルの要求情報を、通信伝送路NTを介して送信する。受信機80は、その応答として当該アプリケーションに係るコンテンツファイル群を受信する。受信機80は、放送伝送路BT又は通信伝送路NTを介して受信したコンテンツファイル群で伝送されたアプリケーションを実行してコンテンツを提示する。受信機80は、制御情報で表示レイアウトの変更の許可が指示されている場合には、相互にコンテンツの提示領域が重複しないように、コンテンツの表示レイアウトを変更してもよい。
従って、放送通信連係サービスにより、放送で伝送される映像、音声その他のコンテンツと、放送又は通信で伝送されるアプリケーションの実行により提供されるコンテンツにより多様な放送サービスが構成される。
The receiver 80 provides a broadcasting / communication cooperation service based on multiplexed data transmitted through the broadcasting transmission path BT or the communication transmission path NT and a content file group received via the communication transmission path NT. The receiver 80 extracts MPT from the multiplexed data received by the broadcast transmission path BT, and extracts the multimedia data, control information, and content file group specified by the MPT from the received multiplexed data. The receiver 80 presents content based on the multimedia data according to the requirements specified by the MPT. Further, the receiver 80 transmits the request information of the application file specified by the control information to the request destination server device 60 specified by the extracted control information via the communication transmission line NT. The receiver 80 receives a content file group related to the application as a response. The receiver 80 executes the application transmitted by the content file group received via the broadcast transmission path BT or the communication transmission path NT and presents the content. The receiver 80 may change the display layout of the content so that the display areas of the content do not overlap each other when permission to change the display layout is instructed by the control information.
Accordingly, various broadcasting services are configured by the broadcasting / communication linking service by contents provided by execution of an application transmitted by broadcasting or communication, and contents transmitted by broadcasting or communication.

アプリケーション動作検証装置90は、制作者が制作したアプリケーションパッケージを取得し、取得したアプリケーションパッケージに配置されたアプリケーションのファイルを展開する。アプリケーション動作検証装置90は、入力されたアプリケーション編成情報で指定された時刻において、アプリケーションを実行することにより、その動作を検証する。アプリケーション動作検証装置90で動作検証を完了したアプリケーションに係るコンテンツファイル群を格納したアプリケーションパッケージは、番組の素材の一部として提供されることがある。   The application operation verification device 90 acquires an application package created by the creator, and expands an application file arranged in the acquired application package. The application operation verification device 90 verifies the operation by executing the application at the time specified by the input application composition information. An application package storing a content file group related to an application whose operation verification has been completed by the application operation verification apparatus 90 may be provided as a part of program material.

なお、図1に示す例では、受信機80の個数は1個であるが、一般には複数個である。図1に示す例では、サーバ装置60の個数は1個であるが、複数個であってもよい。また、放送通信連携システムB1の全部又は一部は、放送事業者により実施される他、他の業者により実施されてもよい。例えば、コンテンツ管理装置10とアプリケーション動作検証装置90は、コンテンツ制作者(以下、制作者)により実施されうる。また、アプリケーション送信装置30とサーバ装置60と、ルータ装置100は、放送事業者とは別個のサービス提供者により実施されうる。受信機80は、主に番組の視聴を目的に各家庭や事業所等に配置される。   In the example shown in FIG. 1, the number of receivers 80 is one, but in general, there are a plurality. In the example illustrated in FIG. 1, the number of server devices 60 is one, but may be plural. Moreover, all or part of the broadcasting / communication cooperation system B1 may be implemented by other contractors in addition to being implemented by the broadcaster. For example, the content management device 10 and the application operation verification device 90 can be implemented by a content creator (hereinafter referred to as a producer). Further, the application transmission device 30, the server device 60, and the router device 100 can be implemented by a service provider that is separate from the broadcaster. The receiver 80 is arranged at each home or business office mainly for the purpose of viewing a program.

(アプリケーションパッケージのデータ構造)
次に、本実施形態に係るアプリケーションパッケージのデータ構造(物理構造)について説明する。
図2は、本実施形態に係るアプリケーションパッケージのデータ構造を示す図である。
本実施形態に係るアプリケーションパッケージは、パッケージルートフォルダを基底フォルダとして有する。パッケージルートフォルダには、当該フォルダを特定するためのフォルダ名が付される。パッケージルートフォルダのフォルダ名として人間が識別可能な任意の名称が設定可能である。パッケージルートフォルダとして、当該フォルダ内に格納されるアプリケーションの名称、略称、別名、バージョン番号又はこれらを含む名称を有するフォルダ名が付されてもよい。パッケージルートフォルダには、パッケージエントリメタデータとコンテンツルートフォルダ、イベントメッセージフォルダ及びドキュメントフォルダが配置される。
(Application package data structure)
Next, the data structure (physical structure) of the application package according to the present embodiment will be described.
FIG. 2 is a diagram illustrating a data structure of the application package according to the present embodiment.
The application package according to the present embodiment has a package root folder as a base folder. The package root folder is given a folder name for specifying the folder. An arbitrary name that can be identified by a human can be set as the folder name of the package root folder. As the package root folder, a name of an application stored in the folder, an abbreviation, an alias, a version number, or a folder name having a name including these may be attached. Package entry metadata, content root folder, event message folder, and document folder are arranged in the package root folder.

パッケージエントリメタデータは、所定の記述言語により、アプリケーションパッケージに格納されるアプリケーションに関する情報が記述されたデータである。記述言語には、例えば、XML(eXtensible Markup Language)をベースに放送通信連携コンテンツに関する情報の記述方式を定義することができる。その拡張言語仕様は、例えば、HCML(Hybridcast Contents Markup Language)と呼ばれる。パッケージエントリメタデータに記述される情報は、格納されるアプリケーションの所在として、そのエントリポイント(アプリケーションエントリポイント)となるファイルのファイル名等を示すコンテンツ情報、アプリケーションパッケージの構造等を示すパッケージ情報、当該アプリケーションの伝送方式及び送信先である受信機80における当該アプリケーションの制御等を示すトランスミッション情報を含む。   Package entry metadata is data in which information related to an application stored in an application package is described in a predetermined description language. In the description language, for example, a description method of information related to broadcasting / communication cooperation content can be defined based on XML (extensible Markup Language). The extended language specification is called, for example, HCML (Hybridcast Content Markup Language). The information described in the package entry metadata includes, as the location of the application to be stored, content information indicating the file name of the file serving as the entry point (application entry point), package information indicating the structure of the application package, etc. It includes transmission information indicating an application transmission method and control of the application in the receiver 80 as a transmission destination.

コンテンツ情報が示すアプリケーションエントリポイントのファイル名として、当該ファイルが配置されるフォルダを示すファイルパスを用いて指定されてもよい。エントリポイントとは、アプリケーションに係るファイル群のうち、アプリケーションの実行環境であるブラウザ等が最初に実行又は参照するファイルを意味する。コンテンツ情報には、当該アプリケーションのアプリケーション名、番組名、放送局名、制作者名等の属性情報が含まれてもよい。トランスミッション情報においては、伝送方式の1つの要素である伝送プロトコルとして、例えば、MMTP(MMT Protocol)、FTP(File Transfer Protocol)が指定される。伝送方式の他の要素である伝送経路として、例えば、放送伝送路BT又は通信伝送路NTならびにその起点であるサーバ装置60、ルータ装置100のIPアドレス、ポート番号などが指定される。また、伝送方式の他の要素である伝送時のフォルダ階層情報として、例えば、MMTPによる伝送に用いられるフォルダ構造もしくはFTPによる転送先のフォルダ構造において、アプリケーションの起点となるフォルダ名が指定される。FTPが用いられる場合、トランスミッション情報にサーバ装置60におけるファイルおよびフォルダのパーミッション設定に係る情報が含まれてもよい。伝送方式の指定は、アプリケーションパッケージ全体についてなされてもよいし、アプリケーションパッケージに含まれる一部のファイル群毎になされてもよいし、ファイル毎になされてもよい。アプリケーションの制御として、例えば、起動、停止、表示レイアウトの変更の許否が指定される。パッケージ情報には、コンテンツルートフォルダのフォルダ名、イベントメッセージフォルダの有無、イベントメッセージフォルダのフォルダ名、ドキュメントフォルダの有無、ドキュメントフォルダのフォルダ名、コンテンツルートフォルダに格納されるコンテンツのコンテンツ構成情報が指定されてもよい。コンテンツ構成情報として、例えば、当該コンテンツのデータが格納されるファイルのファイルパスが含まれる。それぞれのファイルパスは、各ファイルのファイル名と当該ファイルが配置されるフォルダ名を示し、ファイルパスの全体により当該コンテンツのコンテンツフォルダの階層構造が表される。これらのファイルが上述したコンテンツファイル群に相当する。パッケージエントリメタデータの名称は、所定の名称、例えば、“package_entry.hcml”と予め定めておいてもよい。拡張子の“hcml”は、HCMLで記述されたメタデータファイルであることを示す。   The file name of the application entry point indicated by the content information may be specified using a file path indicating a folder in which the file is arranged. The entry point means a file that is first executed or referred to by a browser or the like that is an execution environment of the application among a group of files related to the application. The content information may include attribute information such as an application name, a program name, a broadcasting station name, and a producer name of the application. In the transmission information, for example, MMTP (MMT Protocol) and FTP (File Transfer Protocol) are specified as a transmission protocol that is one element of the transmission method. As a transmission path which is another element of the transmission method, for example, the broadcast transmission path BT or the communication transmission path NT, and the IP address and port number of the server apparatus 60 and the router apparatus 100 which are the starting points are designated. In addition, as folder hierarchy information at the time of transmission, which is another element of the transmission method, for example, a folder name that is the starting point of an application is specified in a folder structure used for transmission by MMTP or a folder structure of a transfer destination by FTP. When FTP is used, the transmission information may include information relating to file and folder permission settings in the server device 60. The designation of the transmission method may be made for the entire application package, may be made for each partial file group included in the application package, or may be made for each file. As control of the application, for example, whether to start, stop, or change the display layout is specified. Package information specifies the folder name of the content root folder, the presence / absence of the event message folder, the folder name of the event message folder, the presence / absence of the document folder, the folder name of the document folder, and the content configuration information of the content stored in the content root folder May be. The content configuration information includes, for example, a file path of a file in which the content data is stored. Each file path indicates a file name of each file and a folder name in which the file is arranged, and the hierarchical structure of the content folder of the content is represented by the entire file path. These files correspond to the content file group described above. The name of the package entry metadata may be predetermined as a predetermined name, for example, “package_entry.hcml”. The extension “hcml” indicates a metadata file described in HCML.

コンテンツルートフォルダは、コンテンツファイル群が格納される基底となるフォルダである。格納されるコンテンツファイル群には、指定されるアプリケーションエントリポイントが含まれるアプリケーションのファイルと、当該ファイルに格納されたアプリケーションから参照されるコンテンツのファイル(コンテンツファイル)が含まれる。参照されるコンテンツには、アプリケーションエントリポイントとは異なる部分のアプリケーション、例えば、サブプログラムが含まれることがある。なお、アプリケーションエントリポイントのファイルは、必ずしもコンテンツルートフォルダに配置されていなくてもよく、コンテンツルートフォルダよりも下位のフォルダに配置されてもよい。図2に示す例では、アプリケーションエントリポイントのファイルは、コンテンツルートフォルダに配置され、そのファイル名は、“index.html”である。拡張子の“html”は、HTML5で当該アプリケーションが記述されていることを示す。コンテンツルートフォルダには、アプリケーションの制作者が独自に定義した物理構造を有するコンテンツファイル群が内包される。物理構造として、当該コンテンツが格納されるコンテンツファイルのそれぞれが配置されるフォルダと、それらのフォルダの階層構造が定義される。つまり、コンテンツルートフォルダに配置されるコンテンツファイル群の物理構造を、コンテンツ構成情報を用いて制作者が任意に指定可能である。コンテンツルートフォルダのフォルダ名がパッケージエントリメタデータにおいて指定されない場合には、デフォルトのフォルダ名(例えば、“contents”)が用いられてもよい。なお、以下の説明では、コンテンツルートフォルダ以下の階層のフォルダをコンテンツフォルダと呼ぶ。   The content root folder is a base folder in which content file groups are stored. The stored content file group includes an application file including a designated application entry point and a content file (content file) referred to by the application stored in the file. The referenced content may include a part of an application different from the application entry point, for example, a subprogram. Note that the application entry point file does not necessarily have to be placed in the content root folder, and may be placed in a folder lower than the content root folder. In the example shown in FIG. 2, the file of the application entry point is placed in the content root folder, and the file name is “index.html”. The extension “html” indicates that the application is described in HTML5. The content root folder contains a content file group having a physical structure uniquely defined by an application creator. As a physical structure, a folder in which each content file storing the content is arranged, and a hierarchical structure of these folders are defined. That is, the creator can arbitrarily specify the physical structure of the content file group arranged in the content root folder using the content configuration information. If the folder name of the content root folder is not specified in the package entry metadata, a default folder name (for example, “contents”) may be used. In the following description, a folder below the content root folder is called a content folder.

イベントメッセージフォルダは、イベントメッセージの内容に係るファイルや、それらの伝送タイミングなどのイベントメッセージに関する制御情報に係るファイルが配置されるフォルダである。イベントメッセージフォルダのフォルダ名がパッケージエントリメタデータにおいて指定されない場合には、デフォルトのフォルダ名(例えば、“event_messages”)が用いられてもよい。   The event message folder is a folder in which files related to the contents of event messages and files related to control information related to event messages such as transmission timing thereof are arranged. When the folder name of the event message folder is not specified in the package entry metadata, a default folder name (for example, “event_messages”) may be used.

ドキュメントフォルダは、アプリケーションの仕様書、説明文章など当該アプリケーションに関わる任意のファイル(アプリケーション本体を除く)が配置されるフォルダである。ドキュメントフォルダ内に配置されたファイルは、伝送対象にならないファイルである。ドキュメントフォルダのフォルダ名がパッケージエントリメタデータにおいて指定されない場合には、デフォルトのフォルダ名(例えば、“documents”)が用いられてもよい。   The document folder is a folder in which arbitrary files (excluding the application main body) related to the application such as application specifications and explanatory texts are arranged. A file placed in the document folder is a file that is not a transmission target. If the folder name of the document folder is not specified in the package entry metadata, a default folder name (eg, “documents”) may be used.

イベントメッセージが利用されない場合には、イベントメッセージフォルダが省略されてもよい。また、ドキュメントフォルダに配置するファイルがない場合には、ドキュメントフォルダが省略されてもよい。
また、個々のアプリケーションパッケージは、上述のデータ構造を示す単一のデータファイルとして構成されてもよい。そのようなアプリケーションパッケージのデータ形式は、例えば、ZIP形式のファイル(ZIPファイル)、MXF形式のファイル(MXFファイル)である。ZIPファイル、MXFファイルは、1つ以上の個々のファイルに格納された実体データ(ファイルデータ)とメタデータを含み、所定の形式で一体に構成されたアーカイブファイルである。
When the event message is not used, the event message folder may be omitted. If there is no file to be placed in the document folder, the document folder may be omitted.
Each application package may be configured as a single data file indicating the data structure described above. The data format of such an application package is, for example, a ZIP file (ZIP file) or an MXF file (MXF file). The ZIP file and MXF file are archive files that include entity data (file data) and metadata stored in one or more individual files, and are integrally configured in a predetermined format.

(コンテンツの構造の例)
次に、コンテンツフォルダに配置されたコンテンツの構造の例について説明する。
図3は、コンテンツフォルダ内のコンテンツの構造の一例を示す図である。
図3に示す例は、放送通信連携サービスにおいて、放送時間が30分間である番組枠に連動して編成される番組連動型コンテンツのデータが格納されるファイルの例である。これらのファイルは、コンテンツルートフォルダ内の“data”フォルダに配置され、放送中においてアプリケーションの実行により参照される。図3に示す4個のファイルは、番組の進行に伴って順次差し替えの制御がなされる。ファイル名が“text.json”であるファイルは、番組の編成開始時刻から提供されるファイル(当初ファイル)である。当初ファイルのファイル名を以下の説明では原ファイル名と呼ぶことがある。ファイル名が“00−12−34_text.json”であるファイルは、番組開始後12分34秒に当初ファイルから置き換えられる差替ファイルである。差替ファイルのファイル名は、半角英数文字からなる編成タイムコード“00−12−34”、アンダーバー“_”及び原ファイル名“text.json”、をその順序で含んで構成される。編成タイムコード“00−12−34”は、番組の編成開始時刻を起点として当該ファイルが置き換えられる時刻が12分34秒であることを示す。差替ファイルのファイル名に含まれる原ファイル名“text.json”により、差し替え元の当初ファイルが特定される。ファイル名が編成タイムコードを含むことにより、当該ファイル名を有するファイルが差替ファイルであることが特定される。なお、アプリケーションパッケージ内におけるファイル名にタイムコードを含む差替ファイルも、アプリケーション送信装置30から送信される際には、タイムコードとアンダーバーを除いた原ファイル名のファイルとして送信される。
(Example of content structure)
Next, an example of the structure of content arranged in the content folder will be described.
FIG. 3 is a diagram illustrating an example of the structure of content in the content folder.
The example shown in FIG. 3 is an example of a file storing program-linked content data organized in conjunction with a program frame whose broadcast time is 30 minutes in the broadcast communication cooperation service. These files are placed in the “data” folder in the content root folder, and are referenced by executing the application during broadcasting. The four files shown in FIG. 3 are sequentially controlled to be replaced as the program progresses. A file whose file name is “text.json” is a file (initial file) provided from the program organization start time. The file name of the original file may be referred to as the original file name in the following description. The file whose file name is “00-12-34_text.json” is a replacement file that is replaced from the original file at 12 minutes 34 seconds after the program starts. The file name of the replacement file includes an organization time code “00-12-34” composed of alphanumeric characters, an underscore “_”, and an original file name “text.json” in that order. The organization time code “00-12-34” indicates that the time when the file is replaced from the organization start time of the program is 12 minutes 34 seconds. The original file to be replaced is specified by the original file name “text.json” included in the file name of the replacement file. When the file name includes the organization time code, it is specified that the file having the file name is a replacement file. Note that a replacement file including a time code in the file name in the application package is also transmitted as a file with the original file name excluding the time code and the underbar when transmitted from the application transmission device 30.

従って、アプリケーション送信装置30は、図4に示すように、“00−00−00”以降であって“00−12−34”より前の編成タイムコードが指示される場合には、当初ファイル“text.json”を送信対象ファイルとして送信する。アプリケーション送信装置30は、番組開始後12分34秒後において、送信対象ファイルを当初ファイルから、“00−12−34_text.json”のファイルに置き換える。“00−12−34”以降であって“00−22−57”より前の編成タイムコードが指示される場合には、差替ファイル“00−12−34_text.json”が送信される。アプリケーション送信装置30は、番組開始後22分57秒後において、送信対象ファイルを“00−12−34_text.json”のファイルから、“00−22−57_text.json”のファイルに置き換える。“00−22−57”以降であって“00−28−11”より前の編成タイムコードが指示される場合には、差替ファイル“00−22−57_text.json”が送信される。アプリケーション送信装置30は、番組開始後28分11秒後において、送信対象ファイルを“00−22−57_text.json”のファイルから、“00−28−11_text.json”のファイルに置き換える。“00−28−11”以降であって“00−30−00”より前の編成タイムコードが指示される場合には、差替ファイル“00−28−11_text.json”が送信される。   Therefore, as shown in FIG. 4, the application transmitting apparatus 30, when a composition time code after “00-00-00” and before “00-12-34” is designated, “text.json” is transmitted as a transmission target file. The application transmission device 30 replaces the transmission target file with the file “00-12-34_text.json” from the initial file 12 minutes and 34 seconds after the program starts. When the knitting time code after “00-12-34” and before “00-22-57” is designated, the replacement file “00-12-34_text.json” is transmitted. The application transmitting apparatus 30 replaces the transmission target file with the file “00-22-57_text.json” from the file “00-12-34_text.json” 22 minutes 57 seconds after the program starts. When the knitting time code after “00-22-57” and before “00-28-11” is designated, the replacement file “00-22-57_text.json” is transmitted. The application transmission device 30 replaces the transmission target file with the file “00-28-11_text.json” from the file “00-22-57_text.json” 28 minutes and 11 seconds after the program starts. When the knitting time code after “00-28-11” and before “00-30-00” is designated, the replacement file “00-28-11_text.json” is transmitted.

図5は、コンテンツフォルダ内のコンテンツの構造の他の例を示す図である。
図5に示す例は、放送通信連携サービスにおいて、放送時間が30分間である番組枠に連動して編成される番組連動型コンテンツのデータを格納するファイルの他の例である。これらのファイルは、コンテンツルートフォルダ内の“images”フォルダに配置される、放送の信号によるアプリケーションからの参照の要否が制御される。図4に示す4個のファイルのうち、ファイル名が“logo.jpeg”であるファイルは、当初ファイルである。ファイル名が“00−08−43_logo.jpeg”であるファイルは、当初ファイル又は差替ファイルの送信の停止を指示するファイル(送信停止ファイル)である。送信停止ファイルのファイル名は、差替ファイルと同様に、半角英数文字からなる編成タイムコード“00−08−43”、アンダーバー“_”及び原ファイル名“logo.jpeg”をその順序で含んで構成される。但し、送信停止ファイルは、格納される実体データのデータ量(ファイルサイズ)が0バイトである空ファイルであることにより、特定される。送信停止時刻は、その編成タイムコードが示す時刻で指定される。送信を停止する停止対象ファイルとして指定される差替ファイルは、送信停止ファイルのファイル名に含まれる原ファイル名と、送信停止時刻よりも前の時刻を示すもののうち、最後の時刻を示す編成タイムコードを含むファイル名を有するファイルである。そのようなファイルが存在しない場合には、当初ファイルが送信停止ファイルとして指定される。
FIG. 5 is a diagram illustrating another example of the structure of content in the content folder.
The example shown in FIG. 5 is another example of a file that stores data of program-linked content organized in conjunction with a program frame whose broadcast time is 30 minutes in the broadcast communication cooperation service. These files are placed in the “images” folder in the content root folder, and the necessity of reference from the application by the broadcast signal is controlled. Of the four files shown in FIG. 4, the file whose file name is “logo.jpeg” is the initial file. The file whose file name is “00-08-43_logo.jpeg” is a file (transmission stop file) instructing to stop transmission of the initial file or the replacement file. The file name of the transmission stop file includes the organization time code “00-08-43” consisting of single-byte alphanumeric characters, the underscore “_”, and the original file name “logo.jpeg” in the same order as the replacement file. Consists of. However, the transmission stop file is specified by being an empty file in which the data amount (file size) of the entity data to be stored is 0 bytes. The transmission stop time is designated by the time indicated by the composition time code. The replacement file specified as the stop target file for stopping transmission is the organization time indicating the last time among the original file name included in the file name of the transmission stop file and the time before the transmission stop time. A file having a file name including a code. If no such file exists, the initial file is designated as a transmission stop file.

他方、ファイル名が“00−15−41_logo.jpeg”であるファイルは、ファイル送信の再開を指示するファイル(送信再開ファイル)である。送信再開ファイルは、差替対象ファイルと同様に実体データを有するファイルであって、ファイル名が、半角英数文字からなる編成タイムコード“00−15−41”、アンダーバー“_”及び原ファイル名“logo.jpeg”をその順序で含んで構成される。送信再開時刻は、その編成タイムコードが示す時刻で指定される。送信停止時刻よりも後の時刻を示す編成タイムコードを含むファイル名を有するファイルのうち、最も早い時刻を示す編成タイムコードを含むファイル名を有するファイルが送信再開ファイルと特定される。   On the other hand, the file whose file name is “00-15-41_logo.jpeg” is a file (transmission resume file) instructing to resume file transmission. The transmission restart file is a file having actual data like the replacement target file, and the file name is composed time code “00-15-41” consisting of alphanumeric characters, underscore “_”, and original file name. It includes “logo.jpeg” in that order. The transmission restart time is specified by the time indicated by the composition time code. Of the files having the file name including the organization time code indicating the time after the transmission stop time, the file having the file name including the organization time code indicating the earliest time is identified as the transmission resume file.

従って、アプリケーション送信装置30は、図6に示すように、“00−00−00”以降であって“00−08−34”より前の編成タイムコードが指示される場合には、当初ファイル“logo.jpeg”を送信する。アプリケーション送信装置30は、番組開始後8分43秒において、当初ファイル“logo.jpeg”の送信を停止する。よって、“00−08−43”以降であって“00−15−41”より前の編成タイムコードが指示される場合には、ファイルの送信が行われない。アプリケーション送信装置30は、番組開始後15分41秒において、ファイル“00−15−41_logo.jpeg”の送信を開始する。よって、“00−15−41”以降であって“00−25−16”より前の編成タイムコードが指示される場合には、送信再開ファイル“00−15−41_logo.jpeg”が送信される。アプリケーション送信装置30は、番組開始後25分16秒後において、送信再開ファイル“00−15−41_logo.jpeg”の送信を停止する。よって、“00−25−16”以降の編成タイムコードが指示される場合には、ファイルの送信が行われない。
なお、当初ファイルは、編成タイムコードとして編成開始時刻を示す“00−00−00”とアンダーバー“_”と原ファイル名(例えば、“text.json”)をその順序で含んで構成されるファイル名を有してもよい。また、差替ファイル、送信停止ファイルもしくは送信再開ファイルのファイル名における編成タイムコードは、例えば“00−12−34.200−text.json”(.200は200ミリ秒を示す)など、より高い時刻の精度を表すものであってもよい。
Therefore, as shown in FIG. 6, the application transmitting apparatus 30, when a composition time code after “00-00-00” and before “00-08-34” is designated, log.jpeg ". The application transmitting device 30 stops transmitting the initial file “logo.jpeg” at 8 minutes 43 seconds after the program starts. Therefore, when the knitting time code after “00-08-43” and before “00-15-41” is instructed, the file is not transmitted. The application transmitting apparatus 30 starts transmitting the file “00-15-41_logo.jpeg” 15 minutes and 41 seconds after the program starts. Therefore, when the composition time code after “00-15-41” and before “00-25-16” is designated, the transmission resumption file “00-15-41_logo.jpeg” is transmitted. . The application transmitting device 30 stops transmitting the transmission resumption file “00-15-41_logo.jpeg” 25 minutes and 16 seconds after the program starts. Therefore, when a composition time code after “00-25-16” is instructed, the file is not transmitted.
The initial file is a file that includes “00-00-00” indicating an organization start time as an organization time code, an underscore “_”, and an original file name (for example, “text.json”) in that order. You may have a name. Also, the organization time code in the file name of the replacement file, transmission stop file or transmission restart file is higher, for example, “00-12-34.200-text.json” (.200 indicates 200 milliseconds). It may represent the accuracy of time.

(アプリケーション送信装置の構成)
次に、本実施形態に係るアプリケーション送信装置30の構成について説明する。
図7は、本実施形態に係るアプリケーション送信装置30の構成を示す概略ブロック図である。
アプリケーション送信装置30は、パッケージ記憶部31、制御部32、外部ファイル更新部33、一時フォルダ34及び送信部35を含んで構成される。アプリケーション送信装置30は、専用の装置であってもよいし、汎用のサーバ装置において所定の送信制御プログラムに記述される命令が示す処理を実行することにより構成されてもよい。また、1または複数の機能ブロックは、複数の専用装置もしくはサーバ装置間で分散されてもよい。
(Configuration of application transmitter)
Next, the configuration of the application transmission device 30 according to the present embodiment will be described.
FIG. 7 is a schematic block diagram illustrating a configuration of the application transmission device 30 according to the present embodiment.
The application transmission device 30 includes a package storage unit 31, a control unit 32, an external file update unit 33, a temporary folder 34, and a transmission unit 35. The application transmission device 30 may be a dedicated device, or may be configured by executing a process indicated by a command described in a predetermined transmission control program in a general-purpose server device. One or a plurality of functional blocks may be distributed among a plurality of dedicated devices or server devices.

パッケージ記憶部31は、コンテンツ送信装置20から入力されたアプリケーションパッケージを記憶する。パッケージ記憶部31は、例えば、ハードディスクドライブ(HDD:Hard−disk Drive)等を含んで構成される。以下に説明する例では、アプリケーションパッケージがZIPファイルとして構成されている場合を例にする。   The package storage unit 31 stores the application package input from the content transmission device 20. The package storage unit 31 includes, for example, a hard disk drive (HDD: Hard-disk Drive). In the example described below, a case where an application package is configured as a ZIP file is taken as an example.

制御部32は、中央処理装置(CPU:Central Processing Unit)等の制御装置(図示せず)と記憶媒体を含んで構成され、記憶媒体から読み取った所定の送信プログラムに記述される命令が示す処理を実行することにより、パッケージ展開部321、展開パッケージ記憶部322、メタデータ解析部323、コンテンツ構造解析部324、ファイル制御部326、制御情報生成部328及び送信制御部329として機能する。記憶媒体は、例えば、SRAM(Static Random Access Memory)、フラッシュROM(Read−only Memory)、ハードディスクドライブ(HDD:Hard−disk Drive)等を含んで構成される。制御部32の機能については、後述する。   The control unit 32 includes a control device (not shown) such as a central processing unit (CPU) and a storage medium, and a process indicated by a command described in a predetermined transmission program read from the storage medium. As a result, the package development unit 321, the development package storage unit 322, the metadata analysis unit 323, the content structure analysis unit 324, the file control unit 326, the control information generation unit 328, and the transmission control unit 329 function. The storage medium includes, for example, an SRAM (Static Random Access Memory), a flash ROM (Read-only Memory), a hard disk drive (HDD: Hard-disk Drive), and the like. The function of the control unit 32 will be described later.

外部ファイル更新部33には、外部システム(図示せず)からの受信データに基づいてリアルタイムコンテンツを格納するコンテンツファイルを、その提供単位毎に生成する。リアルタイムコンテンツは、情報提供者により逐次(リアルタイム)に更新されるコンテンツである。リアルタイムコンテンツには、例えば、時事情報(ニュース)、気象情報、株価や為替等の相場情報等があり、放送事業者以外の情報提供者から提供される情報が含まれてもよい。外部ファイル更新部33は、生成したコンテンツファイルを一時フォルダ34に記憶することにより、同種のリアルタイムコンテンツのコンテンツファイルを更新する。これにより、アプリケーションの実行により参照されるリアルタイムコンテンツのコンテンツファイルが更新される。   The external file update unit 33 generates a content file for storing real-time content for each provision unit based on received data from an external system (not shown). Real-time content is content that is updated in real time by an information provider. The real-time content includes, for example, current affairs information (news), weather information, market price information such as stock prices and exchange rates, and the like, and may include information provided from information providers other than broadcasters. The external file update unit 33 updates the content file of the same type of real-time content by storing the generated content file in the temporary folder 34. Thereby, the content file of the real-time content referred by execution of an application is updated.

一時フォルダ34は、送信対象ファイルを一時的に記憶する記憶部である。一時フォルダ34は、制御部32で利用される記憶媒体の記憶領域とは、別個の記憶領域であってもよい。一時フォルダ34は、外部システムから所定の伝送プロトコル(例えば、NFS:Network File System、HTTP:Hypertext Transfer Protocol、FTP、等)を用いて外部ファイル更新部33を介してアクセス可能であってもよい。   The temporary folder 34 is a storage unit that temporarily stores a transmission target file. The temporary folder 34 may be a storage area that is separate from the storage area of the storage medium used by the control unit 32. The temporary folder 34 may be accessible from the external system via the external file update unit 33 using a predetermined transmission protocol (for example, NFS: Network File System, HTTP: Hypertext Transfer Protocol, FTP, etc.).

送信部35は、一時フォルダに記憶された各種のファイルをサーバ装置60又は多重化装置50に送信する。送信対象ファイル、送信時刻、送信方式等は、制御部32により制御される。   The transmission unit 35 transmits various files stored in the temporary folder to the server device 60 or the multiplexing device 50. The transmission target file, transmission time, transmission method, and the like are controlled by the control unit 32.

次に、制御部32の機能について説明する。パッケージ展開部321は、外部システムである番組編成情報管理装置(図示せず)からパッケージ読み込みトリガとアプリケーションパッケージ名情報が入力されるとき、アプリケーションパッケージ名情報が示すアプリケーションパッケージをパッケージ記憶部31から読み込む。なお、アプリケーション送信装置30は、パッケージ記憶部31を備えずに、ネットワーク等を介して、コンテンツ管理装置10(図1)の記憶領域から直接、もしくは、コンテンツ送信装置20を介してパッケージを取得してもよい。アプリケーション名情報には、アプリケーションパッケージが格納されるファイルを示すファイルパスが含まれることがある。番組編成情報管理装置が管理するアプリケーション編成情報は、アプリケーションの編成時刻情報、アプリケーションパッケージ名情報を含む。編成時刻情報は、編成開始時刻、編成終了時刻など番組におけるアプリケーションの編成に関する情報を含む。番組編成情報管理装置は、少なくとも編成開始時刻よりもアプリケーション送信装置30による処理に要する時間(処理遅延)よりも早い時刻に、アプリケーション送信装置30にパッケージ読み込みトリガとアプリケーションパッケージ名情報のセットを出力する。パッケージ展開部321は、ZIPファイルとして構成されたアプリケーションパッケージを展開する。展開されたアプリケーションパッケージは、上述した複数のフォルダを有し、展開により得られた個々のファイル(ローカルファイル)は、ZIPファイルに含まれるローカルファイルヘッダ(後述)で指定されたフォルダに配置される。パッケージ展開部321は、展開したアプリケーションパッケージを展開パッケージ記憶部322に記憶する。パッケージ読み込み処理については、後述する。
展開パッケージ記憶部322は、展開されたアプリケーションパッケージを記憶する記憶部である。展開パッケージ記憶部322は、上述した記憶媒体の記憶領域の一部が用いられる。
Next, functions of the control unit 32 will be described. The package development unit 321 reads the application package indicated by the application package name information from the package storage unit 31 when a package read trigger and application package name information are input from a program organization information management device (not shown) which is an external system. . Note that the application transmission device 30 does not include the package storage unit 31 and acquires a package directly from the storage area of the content management device 10 (FIG. 1) or via the content transmission device 20 via a network or the like. May be. The application name information may include a file path indicating a file in which the application package is stored. The application organization information managed by the program organization information management apparatus includes application organization time information and application package name information. The organization time information includes information related to the organization of the application in the program, such as the organization start time and the organization end time. The program organization information management device outputs a package read trigger and application package name information set to the application transmission device 30 at least earlier than the time (processing delay) required for processing by the application transmission device 30 than the organization start time. . The package expansion unit 321 expands an application package configured as a ZIP file. The expanded application package has the plurality of folders described above, and individual files (local files) obtained by the expansion are arranged in a folder designated by a local file header (described later) included in the ZIP file. . The package expanding unit 321 stores the expanded application package in the expanded package storage unit 322. The package reading process will be described later.
The expanded package storage unit 322 is a storage unit that stores the expanded application package. Part of the storage area of the storage medium described above is used for the expanded package storage unit 322.

メタデータ解析部323は、展開パッケージ記憶部322からパッケージエントリメタデータを読み込み、読み込んだパッケージエントリメタデータを解析する。パッケージエントリメタデータにおいてコンテンツルートフォルダのフォルダ名が指定されている場合には、メタデータ解析部323は、指定されたフォルダ名を有するフォルダをコンテンツルートフォルダと特定する。コンテンツルートフォルダのフォルダ名が指定されていない場合には、メタデータ解析部323は、デフォルトのフォルダ名“contents”を有するフォルダをコンテンツルートフォルダと特定する(図8(a)参照)。メタデータ解析部323は、パッケージエントリメタデータ内の記述を解析し、コンテンツ情報をコンテンツ構造解析部324に、トランスミッション情報を制御情報生成部328及び送信制御部329に出力する。   The metadata analysis unit 323 reads package entry metadata from the expanded package storage unit 322 and analyzes the read package entry metadata. When the folder name of the content root folder is specified in the package entry metadata, the metadata analysis unit 323 specifies the folder having the specified folder name as the content root folder. When the folder name of the content root folder is not specified, the metadata analysis unit 323 specifies a folder having the default folder name “contents” as the content root folder (see FIG. 8A). The metadata analysis unit 323 analyzes the description in the package entry metadata, and outputs the content information to the content structure analysis unit 324 and the transmission information to the control information generation unit 328 and the transmission control unit 329.

コンテンツ構造解析部324は、メタデータ解析部323から入力されたパッケージエントリメタデータに記述されたコンテンツ情報とパッケージ情報に基づいてコンテンツルートフォルダ以下の階層であるコンテンツフォルダ内のコンテンツの構造を解析する。まず、コンテンツ構造解析部324は、パッケージエントリメタデータのコンテンツ情報で指定されたアプリケーションエントリポイントとなるアプリケーションのファイルを送信対象ファイルとして検出する(図8(a)参照)。コンテンツ構造解析部324は、パッケージ情報を解析し、パッケージ情報を構成するファイルパスで指定されるコンテンツファイルと当該コンテンツファイルが配置されているフォルダを検出する。送信対象ファイルとして、アプリケーションエントリポイントのファイルと、そのアプリケーションの参照先、つまり、起動、取得、提示等の処理対象として指定されたコンテンツのコンテンツファイルが検出される(図8(b)参照)。コンテンツ構造解析部324は、編成開始時刻から送信される送信対象ファイルを格納されているパッケージの構成を保ったまま一時フォルダ34に記憶する。コンテンツ構造解析部324は、編成タイムコードをファイル名に含まないコンテンツファイル又は編成タイムコード“00−00−00”をファイル名に含むコンテンツファイルを編成開始時刻から送信される送信対象ファイルとして特定する。なお、コンテンツ構造解析部324は、アプリケーションエントリポイントとなるアプリケーションの記述を解析して、他のファイルを参照する処理の実行命令に係る記述において指定された参照先のコンテンツファイルを検出してもよい。   The content structure analysis unit 324 analyzes the content structure in the content folder that is a hierarchy below the content root folder based on the content information described in the package entry metadata input from the metadata analysis unit 323 and the package information. . First, the content structure analysis unit 324 detects an application file serving as an application entry point designated by the content information of the package entry metadata as a transmission target file (see FIG. 8A). The content structure analysis unit 324 analyzes the package information and detects a content file specified by a file path constituting the package information and a folder in which the content file is arranged. As a transmission target file, an application entry point file and a reference destination of the application, that is, a content file of a content designated as a processing target such as activation, acquisition, and presentation are detected (see FIG. 8B). The content structure analysis unit 324 stores the transmission target file transmitted from the composition start time in the temporary folder 34 while maintaining the package configuration stored therein. The content structure analysis unit 324 specifies a content file that does not include the composition time code in the file name or a content file that includes the composition time code “00-00-00” in the file name as a transmission target file transmitted from the composition start time. . Note that the content structure analysis unit 324 may analyze the description of the application serving as the application entry point and detect the reference content file specified in the description related to the execution instruction of the process referring to another file. .

検出されるファイルには、編成タイムコードによる制御対象となるタイムコード制御対象ファイルが含まれることがある。コンテンツ構造解析部324は、ファイル名に編成タイムコードを含む差替ファイル、送信停止ファイル及び送信再開ファイルを、タイムコード制御対象ファイルとして特定する。コンテンツ構造解析部324は、特定したタイムコード制御対象ファイル毎に、タイムコードとファイルパスとを対応付けたセットを含むリストを生成し、タイムコードが示す時刻の早い順にこれらのセットを並び替える。並び替えによって得られたリストを、タイムコード制御対象ファイルリストと呼ぶ。コンテンツ構造解析部324は、生成したタイムコード制御対象ファイルリストをファイル制御部326に出力する。   The detected file may include a time code control target file to be controlled by the composition time code. The content structure analysis unit 324 identifies the replacement file, the transmission stop file, and the transmission restart file that include the organization time code in the file name as the time code control target file. The content structure analysis unit 324 generates a list including a set in which the time code and the file path are associated with each other for the identified time code control target file, and rearranges these sets in order of the time indicated by the time code. The list obtained by the rearrangement is called a time code control target file list. The content structure analysis unit 324 outputs the generated time code control target file list to the file control unit 326.

ファイル制御部326には、コンテンツ構造解析部324からタイムコード制御対象ファイルリストと、番組編成情報管理装置(図示せず)から編成タイムコードが入力される。ファイル制御部326は、タイムコード制御対象パッケージに格納されたタイムコード制御対象ファイルのうち、タイムコード制御対象ファイルリストを参照し、編成タイムコードに適合したタイムコードに対応したファイル名を有するファイルを特定する。ファイル制御部326は、特定したファイルを送信対象ファイルと判定し、展開パッケージ記憶部322に記憶されたアプリケーションパッケージから抽出する。ファイル制御部326は、抽出したファイルを、一時フォルダ34において抽出元のアプリケーションパッケージのフォルダに相当するフォルダの記憶領域に記憶する。図8(c)に示す例では、編成タイムコードが“00−12−34”になると同時もしくは直後に、ファイル制御部326は、展開パッケージ記憶部322のフォルダ“data”に配置されたファイル“00−12−34_text.json”を抽出する。ファイル制御部326は、一時フォルダ34におけるフォルダ“data”の記憶領域にある当初ファイル“text.json”を削除し、ファイル“00−12−34_text.json”のファイル名を“text.json”と変更して一時フォルダ34に配置する。ファイル削除とファイル配置は瞬時に行われるため、ファイルの書き換えに等しい。   The file control unit 326 receives the time code control target file list from the content structure analysis unit 324 and the organization time code from the program organization information management device (not shown). The file control unit 326 refers to the time code control target file list among the time code control target files stored in the time code control target package, and selects a file having a file name corresponding to the time code suitable for the organization time code. Identify. The file control unit 326 determines that the identified file is a transmission target file, and extracts it from the application package stored in the expanded package storage unit 322. The file control unit 326 stores the extracted file in a storage area of a folder corresponding to the extraction source application package folder in the temporary folder 34. In the example shown in FIG. 8C, when the composition time code becomes “00-12-34”, at the same time or immediately after, the file control unit 326 displays the file “arranged in the folder“ data ”in the expanded package storage unit 322. 00-12-34_text.json "is extracted. The file control unit 326 deletes the initial file “text.json” in the storage area of the folder “data” in the temporary folder 34, and changes the file name of the file “00-12-34_text.json” to “text.json”. Change and place in the temporary folder 34. Since file deletion and file placement are performed instantaneously, it is equivalent to file rewriting.

特定したファイルのファイルサイズが0byte(空ファイル)である場合には、ファイル制御部326は当該ファイルを送信停止ファイルと判定し、判定した送信停止ファイルと同種のファイルを一時フォルダ34から消去する。図8(c)に示す例では、ファイル制御部326は、展開パッケージ記憶部322のフォルダ“images”に配置されたファイル“00−15−41_logo.json”のファイルサイズが0byteであることを特定する。ファイル制御部326は、当該ファイルが送信停止ファイルと判別する。ファイル制御部326は、同種のファイルとして送信停止ファイルが配置されているフォルダ“images”に相当する一時フォルダ34のフォルダ“images”の記憶領域に記憶されていた原ファイル名が共通であるファイル“logo.jpeg”を検出する。ファイル制御部326は、検出したファイルを消去することにより、送信対象ファイルを更新する。ファイル制御部326によるファイル制御処理については後述する。   If the file size of the identified file is 0 bytes (empty file), the file control unit 326 determines that the file is a transmission stop file, and deletes the same type of file as the determined transmission stop file from the temporary folder 34. In the example illustrated in FIG. 8C, the file control unit 326 specifies that the file size of the file “00-15-41_logo.json” arranged in the folder “images” of the expanded package storage unit 322 is 0 bytes. To do. The file control unit 326 determines that the file is a transmission stop file. The file control unit 326 uses the same file name “original file name” stored in the storage area of the folder “images” of the temporary folder 34 corresponding to the folder “images” in which the transmission stop file is arranged as the same type of file. log.jpeg "is detected. The file control unit 326 updates the transmission target file by deleting the detected file. File control processing by the file control unit 326 will be described later.

制御情報生成部328は、一時フォルダ34における送信対象ファイルの記憶状態およびメタデータ解析部323から入力されたパッケージエントリメタデータが示すトランスミッション情報に基づいて、送信対象ファイルから構成されるアプリケーションに関する制御情報を生成する。トランスミッション情報が、一部のファイル群又はファイル毎に定められている場合には、制御情報生成部328は、トランスミッション情報のうち当該送信対象ファイルに関する部分の情報を含む制御情報を生成する。制御情報として、トランスミッション情報が示す、起動、終了などの動作の制御、放送映像の表示レイアウト変更可否等の機能の権限等の情報が含まれる。また、伝送経路として通信伝送路NTが指定され、かつ伝送プロトコルとしてFTPが指定される場合には、サーバ装置60のIPアドレスが受信機80からの取得先として制御情報に含まれる。なお、制御情報生成部328は、トランスミッション情報において指定された伝送方式に応じた形式の制御情報を生成する。例えば、MMTPが指定される場合、制御情報生成部328は、制御情報として非特許文献4に記載のMH−アプリケーション情報テーブル(MH−AIT)、データディレクトリ管理テーブル、データアセット管理テーブル及びデータコンテント管理テーブル等を生成する。FTPが指定される場合、制御情報生成部328は、制御情報としてファイル形式のAIT等を生成する。制御情報生成部328は、生成した制御情報を送信制御部329に出力する。   The control information generation unit 328 controls the control information related to the application including the transmission target file based on the storage state of the transmission target file in the temporary folder 34 and the transmission information indicated by the package entry metadata input from the metadata analysis unit 323. Is generated. When the transmission information is determined for each part of the file group or each file, the control information generation unit 328 generates control information including information on a part related to the transmission target file in the transmission information. The control information includes information such as control of operations such as activation and termination indicated by the transmission information, and authority of functions such as whether or not to change the display layout of the broadcast video. When the communication transmission path NT is specified as the transmission path and FTP is specified as the transmission protocol, the IP address of the server device 60 is included in the control information as the acquisition destination from the receiver 80. Note that the control information generation unit 328 generates control information in a format corresponding to the transmission method specified in the transmission information. For example, when MMTP is specified, the control information generation unit 328 controls the MH-application information table (MH-AIT), data directory management table, data asset management table, and data content management described in Non-Patent Document 4 as control information. Generate a table or the like. When FTP is designated, the control information generation unit 328 generates a file format AIT or the like as control information. The control information generation unit 328 outputs the generated control information to the transmission control unit 329.

送信制御部329は、メタデータ解析部323から入力されたパッケージエントリメタデータが示すトランスミッション情報を参照して、一時フォルダ34に記憶された送信対象ファイルの伝送方式を特定する。送信制御部329は、当該ファイルと、制御情報生成部328から入力された制御情報を送信部35に出力し、出力したファイルと制御情報を特定した伝送方式を用いて送信させる。送信制御部329による送信制御処理については後述する。   The transmission control unit 329 refers to the transmission information indicated by the package entry metadata input from the metadata analysis unit 323 and identifies the transmission method of the transmission target file stored in the temporary folder 34. The transmission control unit 329 outputs the file and the control information input from the control information generation unit 328 to the transmission unit 35, and causes the transmission unit 35 to transmit the file and the control information using the specified transmission method. The transmission control process by the transmission control unit 329 will be described later.

(パッケージ読み込み処理)
次に、本実施形態に係るパッケージ読み込み処理について説明する。
図9は、本実施形態に係るパッケージ読み込み処理を示すフローチャートである。
(ステップS101)パッケージ展開部321は、番組編成情報管理装置(図示せず)からパッケージ読み込みトリガ入力の有無を判定する。あると判定されるとき(ステップS101 YES)、ステップS102に進む。ないと判定されるとき(ステップS101 NO)、ステップS101の処理を繰り返す(待ち受け)。
(ステップS102)パッケージ展開部321は、入力されたアプリケーションパッケージ名情報で指定されたアプリケーションパッケージ名情報が示すアプリケーションパッケージをパッケージ記憶部31から読み込む。パッケージ展開部321は、ZIPファイルとして構成されたアプリケーションパッケージを展開し、展開したアプリケーションパッケージを展開パッケージ記憶部322に記憶する。その後、ステップS103に進む。
(Package loading process)
Next, the package reading process according to the present embodiment will be described.
FIG. 9 is a flowchart showing a package reading process according to the present embodiment.
(Step S101) The package development unit 321 determines whether or not a package read trigger is input from a program organization information management device (not shown). When it is determined that there is (YES in step S101), the process proceeds to step S102. When it is determined that there is not (NO in step S101), the processing in step S101 is repeated (standby).
(Step S <b> 102) The package development unit 321 reads the application package indicated by the application package name information specified by the input application package name information from the package storage unit 31. The package expanding unit 321 expands an application package configured as a ZIP file, and stores the expanded application package in the expanded package storage unit 322. Thereafter, the process proceeds to step S103.

(ステップS103)メタデータ解析部323は、展開パッケージ記憶部322からパッケージエントリメタデータを読み込む。メタデータ解析部323は、読み込んだパッケージエントリメタデータを解析し、コンテンツのファイル群が格納されたコンテンツフォルダを特定する。その後、ステップS104に進む。 (Step S <b> 103) The metadata analysis unit 323 reads package entry metadata from the expanded package storage unit 322. The metadata analysis unit 323 analyzes the read package entry metadata and identifies a content folder in which a content file group is stored. Thereafter, the process proceeds to step S104.

(ステップS104)コンテンツ構造解析部324は、パッケージエントリメタデータに記述されたコンテンツ情報とパッケージ情報に基づいてコンテンツフォルダ内のコンテンツの構造を解析し送信対象ファイルと、タイムコード制御対象ファイルを検出する。コンテンツ構造解析部324は、編成開始時刻(タイムコード“00−00−00”)からの送信対象ファイルを一時フォルダ34に記憶する。その後、ステップS105に進む。 (Step S104) The content structure analysis unit 324 analyzes the structure of the content in the content folder based on the content information described in the package entry metadata and the package information, and detects a transmission target file and a time code control target file. . The content structure analysis unit 324 stores the transmission target file from the composition start time (time code “00-00-00”) in the temporary folder 34. Thereafter, the process proceeds to step S105.

(ステップS105)コンテンツ構造解析部324は、検出したタイムコード制御対象ファイル毎のタイムコードとファイルパスとのセットを、そのタイムコードが示す時刻の順に配列したタイムコード制御対象ファイルリストを生成する。コンテンツ構造解析部324は、生成したタイムコード制御対象ファイルリストをファイル制御部326に出力する。 (Step S105) The content structure analysis unit 324 generates a time code control target file list in which a set of a time code and a file path for each detected time code control target file is arranged in the order indicated by the time code. The content structure analysis unit 324 outputs the generated time code control target file list to the file control unit 326.

図10は、タイムコード制御対象ファイルリストの例を示す図である。
図10に示すタイムコード制御対象ファイルリストは、図3、5に示すコンテンツのファイルがアプリケーションパッケージに配置されている場合を例にして、生成されたファイルリストである。このタイムコード制御対象ファイルリストには、2種類の当初ファイル“logo.jpeg”、“text.json”に関連するタイムコード制御対象ファイルに関する情報のセットを各3件含む。例えば、第2行に示すセットは、番号“1”、タイムコード“00−08−43”及び“ファイルパスcontents/images/00−08−43_logo.jpeg”からなる。タイムコード“00−08−43”は、タイムコード制御に係る時刻が編成開始時刻から8分43秒後であることを示す。ファイル“00−08−43_logo.jpeg”は送信停止ファイルであるので、この時刻は直前の順序の同種のファイル(この場合、当初ファイル“logo.jpeg”)の送信停止時刻を示す。ファイルパス“contents/images/00−08−43_logo.jpeg”は、配置されるフォルダが“contents/images/”であり、ファイル名が“00−08−43_logo.jpeg”であることを示す。タイムコード制御対象ファイルリストは、タイムコードとファイルパスの他に、ファイルサイズやファイル操作種別等を要素として含んでもよい。
FIG. 10 is a diagram illustrating an example of a time code control target file list.
The time code control target file list shown in FIG. 10 is a file list generated by taking as an example the case where the content files shown in FIGS. 3 and 5 are arranged in the application package. This time code control target file list includes three sets of information related to time code control target files related to the two types of initial files “logo.jpeg” and “text.json”. For example, the set shown in the second row includes a number “1”, a time code “00-08-43”, and “file path contents / images / 00-08-43_logo.jpeg”. The time code “00-08-43” indicates that the time related to the time code control is 8 minutes 43 seconds after the knitting start time. Since the file “00-08-43_logo.jpeg” is a transmission stop file, this time indicates the transmission stop time of the same type of file in the immediately preceding order (in this case, the initial file “logo.jpeg”). The file path “contents / images / 00-08-43_logo.jpg” indicates that the folder to be arranged is “contents / images /” and the file name is “00-08-43_logo.jpeg”. The time code control target file list may include a file size, a file operation type, and the like as elements in addition to the time code and the file path.

(ファイル制御処理)
次に、本実施形態に係るファイル制御処理について説明する。
図11は、本実施形態に係るファイル制御処理を示すフローチャートである。
(ステップS111)制御部32は、編成開始時にファイル制御部326の機能を実行するスレッドを起動することにより、ファイル制御処理を開始する。その後、ステップS112に進む。
(ステップS112)ファイル制御部326は、番組編成情報管理装置(図示せず)から入力される編成タイムコードを参照し、パッケージエントリメタデータに含まれるコンテンツ情報が示す番組の継続時間と比較して、編成終了か否かを判定する。編成タイムコードが示す時刻が継続時間以上であるとき、ファイル制御部326は編成終了と判定する。編成タイムコードが示す時刻が継続時間未満であるとき、ファイル制御部326は編成中と判定する。その後、ステップS113に進む。
(File control processing)
Next, file control processing according to the present embodiment will be described.
FIG. 11 is a flowchart showing file control processing according to the present embodiment.
(Step S111) The control unit 32 starts a file control process by activating a thread that executes the function of the file control unit 326 at the start of composition. Thereafter, the process proceeds to step S112.
(Step S112) The file control unit 326 refers to the organization time code input from the program organization information management device (not shown), and compares it with the duration of the program indicated by the content information included in the package entry metadata. Then, it is determined whether or not the knitting is finished. When the time indicated by the composition time code is equal to or longer than the duration time, the file control unit 326 determines that the composition is finished. When the time indicated by the knitting time code is less than the duration, the file control unit 326 determines that knitting is in progress. Thereafter, the process proceeds to step S113.

(ステップS113)ファイル制御部326が編成終了と判定する場合(ステップS113 YES)、ステップS117に進む。ファイル制御部326が編成中と判定する場合(ステップS113 NO)、ステップS114に進む。
(ステップS114)ファイル制御部326は、タイムコード制御対象ファイルリストにおける先頭の項目(未処理のタイムコード制御対象ファイルのうち最先の項目)のタイムコードの値と、編成タイムコードの値とを比較する。その後、ステップS115に進む。
(ステップS115)編成タイムコードの値の方が小さいと判定されたとき(ステップS115 YES)、ステップS112に戻る。編成タイムコードの値が、タイムコード制御対象ファイルリストのタイムコードの値と等しいか、より大きいと判定されたとき(ステップS115 NO)、ステップS116に進む。
(Step S113) When the file control unit 326 determines that the composition is finished (YES in Step S113), the process proceeds to Step S117. If the file control unit 326 determines that knitting is in progress (NO in step S113), the process proceeds to step S114.
(Step S114) The file control unit 326 obtains the time code value of the first item in the time code control target file list (the first item in the unprocessed time code control target file) and the knitting time code value. Compare. Thereafter, the process proceeds to step S115.
(Step S115) When it is determined that the value of the knitting time code is smaller (YES in Step S115), the process returns to Step S112. When it is determined that the value of the composition time code is equal to or greater than the time code value of the time code control target file list (NO in step S115), the process proceeds to step S116.

(ステップS116)ファイル制御部326は、一時フォルダ34に記憶されたタイムコード制御対象パッケージから当該ファイルを送信対象ファイルとして抽出する。ファイル制御部326は、抽出したファイルを一時フォルダ34の送信対象ファイル領域に記憶されている同種のファイルを抽出したファイルに置き換え、その同種のファイルを削除する。但し、抽出したファイルが送信停止ファイル(ファイルサイズが0バイト)である場合には、ファイル制御部326は、当該ファイルを送信停止ファイルと判定する。そして、ファイル制御部326は、当該ファイルについて置き換えを行わず、一時フォルダ34に記憶されている同種のファイルを削除する。その後、ファイル制御部326は、ファイル制御部326は、タイムコード制御対象ファイルリストの先頭の項目に記述された情報を削除し、その後、ステップS112に戻る。 (Step S116) The file control unit 326 extracts the file from the time code control target package stored in the temporary folder 34 as a transmission target file. The file control unit 326 replaces the extracted file with the extracted file of the same type stored in the transmission target file area of the temporary folder 34, and deletes the same type of file. However, if the extracted file is a transmission stop file (file size is 0 byte), the file control unit 326 determines that the file is a transmission stop file. The file control unit 326 then deletes the same type of file stored in the temporary folder 34 without replacing the file. Thereafter, the file control unit 326 deletes the information described in the top item of the time code control target file list, and then returns to step S112.

なお、ファイル制御部326は、抽出した送信対象ファイルのファイル名を、編成タイムコードとアンダーバーが除去された原ファイル名に置き換え、ファイル名を置き換えた送信対象ファイルを一時フォルダ34に記憶してもよい。これにより、受信機80は、アプリケーションにおいて指定された参照先のファイル名を変更せずに、置き換えられた送信対象ファイルを参照することができる。   Note that the file control unit 326 may replace the file name of the extracted transmission target file with the original file name from which the organization time code and underbar are removed, and store the transmission target file with the replaced file name in the temporary folder 34. Good. Thereby, the receiver 80 can refer to the replaced transmission target file without changing the file name of the reference destination designated in the application.

(送信制御処理)
次に、本実施形態に係る送信制御処理について説明する。
図12は、本実施形態に係る送信制御処理を示すフローチャートである。
(ステップS121)制御部32は、送信プログラムの実行開始時において送信制御部329の機能を実行するスレッドを起動することにより、送信制御処理を開始する。その後、ステップS122に進む。
(ステップS122)送信制御部329は、番組編成情報管理装置(図示せず)から送信開始トリガが入力されたか否かを判定する。入力されたと判定する場合(ステップS122 YES)、ステップS123に進む。入力されないと判定する場合(ステップS122 NO)、ステップS122の処理を繰り返す(待ち受け)。
(ステップS123)送信制御部329は、一時フォルダ34に記憶された送信対象ファイルを送信部35に出力することにより、パッケージエントリメタデータに含まれるトランスミッション情報で指定された伝送方式を用いて送信させる。送信制御部329は、制御情報生成部328から入力された制御情報についても同様に、送信部35に送信させる。
その後、ステップS124に進む。
(ステップS124)送信制御部329は、番組編成情報管理装置(図示せず)から送信終了トリガが入力されたか否かを判定する。入力されたと判定された場合(ステップS124 YES)、ステップS122に戻る(待ち受け)。入力されないと判定された場合(ステップS124 NO)、ステップS123に戻る(送信継続)。
(Transmission control processing)
Next, transmission control processing according to the present embodiment will be described.
FIG. 12 is a flowchart showing a transmission control process according to the present embodiment.
(Step S <b> 121) The control unit 32 starts the transmission control process by activating a thread that executes the function of the transmission control unit 329 at the start of execution of the transmission program. Thereafter, the process proceeds to step S122.
(Step S122) The transmission control unit 329 determines whether or not a transmission start trigger is input from a program organization information management device (not shown). When it determines with having input (step S122 YES), it progresses to step S123. When it is determined that no input has been made (NO in step S122), the processing in step S122 is repeated (waiting).
(Step S123) The transmission control unit 329 outputs the transmission target file stored in the temporary folder 34 to the transmission unit 35, thereby transmitting the file using the transmission method specified by the transmission information included in the package entry metadata. . Similarly, the transmission control unit 329 causes the transmission unit 35 to transmit the control information input from the control information generation unit 328.
Thereafter, the process proceeds to step S124.
(Step S124) The transmission control unit 329 determines whether or not a transmission end trigger is input from a program organization information management device (not shown). If it is determined that the input has been made (YES in step S124), the process returns to step S122 (standby). If it is determined that no input has been made (NO in step S124), the process returns to step S123 (continuation of transmission).

なお、トランスミッション情報において伝送プロトコルとしてMMTPが指定される場合(ファイル送信)、送信制御部329は送信部35に対して直接の送信先として多重化装置50(図1)を指定し、送信先が多重化装置50と指定された送信対象ファイル(コンテンツファイル群)と制御情報を送信部35に送信させる。送信制御部329は、多重化装置50に送信させた送信対象ファイルと制御情報を、指定された伝送方式で多重化装置50に送信させる。多重化装置50は、アプリケーション送信装置30から受信した送信対象ファイル、制御情報及び符号化装置40から受信したマルチメディアデータを多重化して得られた多重化データを生成する。多重化装置50は、生成した多重化データを細分化し、細分化されたデータを格納したMMTPパケットを生成する。多重化装置50は、生成したMMTPパケットを格納した一連のIPパケットからなるIPフローを生成する。多重化装置50は、生成したIPフローをアプリケーション送信装置30から指定された伝送経路に応じた送信先に送信する。伝送経路として通信伝送路NTが指定された場合には、多重化装置50は、IPフローをルータ装置100(図1)に送信する。伝送経路として放送伝送路BTが指定された場合には、多重化装置50は、IPフローを放送設備70(図1)に送信する。ルータ装置100に送信されたIPフローは、通信伝送路NTを介して受信機80(図1)に伝送される。放送設備70に送信されたIPフローは、放送伝送路BTを介して受信機80に伝送される。受信機80は、伝送されたIPフローから送信対象ファイルの全体を取得できるように、送信制御部329は、送信対象ファイルを所定期間毎に繰り返し送信させる。また、アプリケーションを構成するファイル群を番組編成時刻から送信開始する場合、受信機80が全てのファイルを受信し、アプリケーションが実行可能になるまでの遅延が生じる。このため、受信機80において番組開始時刻と同時にアプリケーションを実行できるようにするため、番組編成時刻よりも早い時刻において送信制御部329に送信開始トリガを与え、ファイル群の送信を開始させてもよい。   When MMTP is specified as a transmission protocol in the transmission information (file transmission), the transmission control unit 329 specifies the multiplexing device 50 (FIG. 1) as a direct transmission destination to the transmission unit 35, and the transmission destination is The transmission device 35 is caused to transmit the transmission target file (content file group) and the control information designated as the multiplexing device 50. The transmission control unit 329 causes the multiplexing device 50 to transmit the transmission target file and the control information transmitted to the multiplexing device 50 using the designated transmission method. The multiplexing device 50 generates multiplexed data obtained by multiplexing the transmission target file received from the application transmitting device 30, the control information, and the multimedia data received from the encoding device 40. The multiplexing device 50 subdivides the generated multiplexed data and generates an MMTP packet storing the subdivided data. The multiplexing device 50 generates an IP flow composed of a series of IP packets storing the generated MMTP packet. The multiplexing device 50 transmits the generated IP flow to a transmission destination according to the transmission path specified by the application transmission device 30. When the communication transmission path NT is designated as the transmission path, the multiplexing apparatus 50 transmits the IP flow to the router apparatus 100 (FIG. 1). When the broadcast transmission path BT is designated as the transmission path, the multiplexing device 50 transmits the IP flow to the broadcast facility 70 (FIG. 1). The IP flow transmitted to the router device 100 is transmitted to the receiver 80 (FIG. 1) via the communication transmission line NT. The IP flow transmitted to the broadcast facility 70 is transmitted to the receiver 80 via the broadcast transmission path BT. The transmission control unit 329 repeatedly transmits the transmission target file every predetermined period so that the receiver 80 can acquire the entire transmission target file from the transmitted IP flow. Further, when transmission of a file group constituting an application is started from the program composition time, a delay occurs until the receiver 80 receives all the files and the application becomes executable. For this reason, in order to enable the receiver 80 to execute the application simultaneously with the program start time, a transmission start trigger may be given to the transmission control unit 329 at a time earlier than the program scheduling time to start transmission of the file group. .

ファイル制御部326により一時フォルダ34に記憶された送信対象ファイルが更新されてから、送信制御部329により更新後の送信対象ファイルが送信されるまでに遅延が生じることがある。例えば、一時フォルダ34内のすべてのファイルを一回ずつ送信するのに5秒を要する場合、更新後のファイルの送信が終了するまでに、最大で5秒の遅延が生じる可能性がある。そこで、ファイル制御部326は、タイムコード制御対象ファイルを一時フォルダ34に記憶するとき、送信対象ファイルが当該タイムコード制御対象ファイルに更新されたことを示すファイル更新情報を送信制御部329に出力してもよい。これにより、送信制御部329は、ファイル制御部326から入力されたファイル更新情報が示す更新後のタイムコード制御対象ファイルを優先して送信させ、受信機80(図1)において実行中のアプリケーションにファイルの更新が反映されるまでの遅延を低減することができる。なお、トランスミッション情報において、IPフローの伝送方式としてMMTP以外の伝送プロトコルが指定されてもよい。また、トランスミッション情報において、送信対象ファイルが格納されるデータ形式としてIPフロー以外のデータ形式、例えば、TS(Transport Stream)が指定されてもよい。なお、アプリケーション送信装置30と多重化装置50との間における伝送方式として、異なる階層の伝送方式が利用可能である。一例として、アプリケーション送信装置30の送信制御部329がファイルの細分化とMMTPパケットの生成を行い、多重化装置50が制御情報の再構成とIPフローの多重化を行ってもよい。   There may be a delay from when the transmission target file stored in the temporary folder 34 is updated by the file control unit 326 to when the updated transmission target file is transmitted by the transmission control unit 329. For example, if it takes 5 seconds to transmit all the files in the temporary folder 34 once, there is a possibility that a delay of 5 seconds at the maximum occurs until the transmission of the updated file is completed. Therefore, when storing the time code control target file in the temporary folder 34, the file control unit 326 outputs file update information indicating that the transmission target file has been updated to the time code control target file to the transmission control unit 329. May be. As a result, the transmission control unit 329 preferentially transmits the updated time code control target file indicated by the file update information input from the file control unit 326, and causes the application being executed in the receiver 80 (FIG. 1) to execute. The delay until the file update is reflected can be reduced. In the transmission information, a transmission protocol other than MMTP may be specified as the IP flow transmission method. In the transmission information, a data format other than the IP flow, for example, a TS (Transport Stream) may be designated as a data format in which the transmission target file is stored. In addition, as a transmission method between the application transmission device 30 and the multiplexing device 50, transmission methods of different layers can be used. As an example, the transmission control unit 329 of the application transmission device 30 may perform file segmentation and MMTP packet generation, and the multiplexing device 50 may perform reconfiguration of control information and multiplexing of IP flows.

トランスミッション情報において、伝送プロトコルとしてFTPが指定される場合(ファイル転送)、送信制御部329は送信部35に対して出力先としてサーバ装置60(図1)を指定する。FTPの指定により、伝送経路として、通信伝送路NTが指定される。サーバ装置60は、アプリケーション送信装置30から受信した送信対象ファイル(コンテンツファイル群)のうち受信機80(図1)からの要求情報で指定されるファイルを、その応答として通信伝送路NTを介して受信機80に送信する。そのため、サーバ装置60は、番組の編成開始時刻よりも前にアプリケーション送信装置30からの送信対象ファイルの受信が完了している必要がある。そこで、送信制御部329は、編成開始時刻よりも少なくとも送信開始から送信完了までの送信時間(ファイル転送時間)だけ早い時刻に送信対象ファイルの送信を開始させてもよい。なお、送信制御部329は、ファイル制御部326により一時フォルダ34に記憶させた送信対象ファイルの削除に応じて、送信部35に対してサーバ装置60に送信した送信対象ファイルの削除を指示するFTPコマンドを送信させてもよい。また、送信制御部329は、ファイル制御部326により一時フォルダ34に記憶させた送信対象ファイルの更新に応じて、送信部35に対してサーバ装置60に当該送信対象ファイルの更新を指示するFTPコマンドを送信させてもよい。FTPコマンドの送信タイミングは、ファイル制御部326に入力される編成タイムコードが示す時刻よりも少なくともファイル転送時間だけ早い時刻であってもよい。なお、トランスミッション情報において、送信先としてサーバ装置60が指定される場合であっても、伝送プロトコルとしてFTP以外の伝送プロトコルが指定されてもよい。   In the transmission information, when FTP is specified as a transmission protocol (file transfer), the transmission control unit 329 specifies the server device 60 (FIG. 1) as an output destination to the transmission unit 35. By specifying FTP, the communication transmission line NT is specified as the transmission path. The server device 60 sends a file designated by the request information from the receiver 80 (FIG. 1) among the transmission target files (content file group) received from the application transmission device 30 via the communication transmission line NT as a response. Transmit to receiver 80. Therefore, the server device 60 needs to complete the reception of the transmission target file from the application transmission device 30 before the program organization start time. Therefore, the transmission control unit 329 may start transmission of the transmission target file at a time earlier than the composition start time by at least the transmission time (file transfer time) from the transmission start to the transmission completion. The transmission control unit 329 instructs the transmission unit 35 to delete the transmission target file transmitted to the server device 60 in response to the deletion of the transmission target file stored in the temporary folder 34 by the file control unit 326. A command may be transmitted. In addition, the transmission control unit 329 instructs the transmission unit 35 to update the transmission target file to the server device 60 in response to the update of the transmission target file stored in the temporary folder 34 by the file control unit 326. May be transmitted. The transmission timing of the FTP command may be a time that is at least earlier than the time indicated by the composition time code input to the file control unit 326 by the file transfer time. In the transmission information, even if the server device 60 is designated as the transmission destination, a transmission protocol other than FTP may be designated as the transmission protocol.

複数のアプリケーションパッケージにおいて、それぞれ異なる伝送方式がトランスミッション情報において指定されている場合には、送信制御部329は、それぞれ指定された伝送方式を用いて並列に送信対象ファイルを送信させてもよい。また、トランスミッション情報においてファイル群毎に伝送方式が指定されている場合には、送信制御部329は、送信対象ファイルが属するファイル群の伝送方式を用いて当該送信対象ファイルを送信させてもよい。また、トランスミッション情報において、ファイル毎に伝送方式が指定されている場合には、送信制御部329は、送信対象ファイルに係る伝送方式を用いて当該送信対象ファイルを送信させてもよい。なお、トランスミッション情報において伝送プロトコルとしてMMTPが指定されているとき、IPフローへの多重周期が指定可能であってもよく、多重周期は、ファイルに格納される情報の重要性、緊急性等に応じて、可変であってもよい。多重周期が指定されている場合には、送信制御部329は、指定された多重周期で送信対象ファイルのデータを多重化装置50に多重化させることによりIPフローを生成させる。   When different transmission methods are designated in the transmission information in the plurality of application packages, the transmission control unit 329 may cause the transmission target files to be transmitted in parallel using the designated transmission methods. When a transmission method is specified for each file group in the transmission information, the transmission control unit 329 may cause the transmission target file to be transmitted using the transmission method of the file group to which the transmission target file belongs. In the transmission information, when a transmission method is specified for each file, the transmission control unit 329 may cause the transmission target file to be transmitted using the transmission method related to the transmission target file. When MMTP is specified as the transmission protocol in the transmission information, a multiplex period for the IP flow may be specified, and the multiplex period depends on the importance, urgency, etc. of the information stored in the file. It may be variable. When the multiplexing period is designated, the transmission control unit 329 causes the multiplexing device 50 to multiplex the data of the transmission target file with the designated multiplexing period, thereby generating an IP flow.

なお、パッケージ展開部321は、パッケージ読み込みトリガとアプリケーションパッケージ名情報のセットが複数セット入力されるとき、それぞれのアプリケーションパッケージ名情報で指定されるアプリケーションパッケージを読み込む。制御部32は、読み込んだ複数のアプリケーションパッケージについて、それぞれ上記の処理を並列に行い、それぞれの番組に係るコンテンツファイル群を送信してもよい。
また、ファイル制御部326、送信制御部329は、制御部32の他の構成とは別個のプログラムの実行により、その機能を実現してもよい。また、外部ファイル更新部33の機能を実現するために、制御部32と同一のプログラムの実行により実現してもよいし、異なるプログラムの実行により実現してもよい。
When a plurality of sets of package reading triggers and application package name information are input, the package development unit 321 reads the application package specified by each application package name information. The control unit 32 may perform the above-described processing in parallel for each of the plurality of read application packages and transmit a content file group related to each program.
In addition, the file control unit 326 and the transmission control unit 329 may realize their functions by executing a program that is different from other configurations of the control unit 32. Moreover, in order to implement | achieve the function of the external file update part 33, you may implement | achieve by execution of the same program as the control part 32, and you may implement | achieve by execution of a different program.

(アプリケーション動作検証装置の構成)
次に、本実施形態に係るアプリケーション動作検証装置90の構成について説明する。アプリケーション送信装置30(図7)と同一の構成については、同一の符号を付してその説明を援用する。
図13は、本実施形態に係るアプリケーション動作検証装置90の構成を示す概略ブロック図である。
アプリケーション動作検証装置90は、パッケージ記憶部31、一時フォルダ34、制御部92及び実行部93を含んで構成される。アプリケーション動作検証装置90は、専用の装置であってもよい。また、アプリケーション動作検証装置90は、汎用のサーバ装置又はパーソナルコンピュータに所定のアプリケーション動作検証プログラムに記述される命令が示す処理を実行させることにより構成されてもよい。
(Configuration of application operation verification device)
Next, the configuration of the application operation verification apparatus 90 according to the present embodiment will be described. About the same structure as the application transmitter 30 (FIG. 7), the same code | symbol is attached | subjected and the description is used.
FIG. 13 is a schematic block diagram showing the configuration of the application operation verification apparatus 90 according to this embodiment.
The application operation verification device 90 includes a package storage unit 31, a temporary folder 34, a control unit 92, and an execution unit 93. The application operation verification device 90 may be a dedicated device. The application operation verification device 90 may be configured by causing a general-purpose server device or personal computer to execute processing indicated by a command described in a predetermined application operation verification program.

制御部92は、CPU等の制御装置(図示せず)と記憶媒体を含んで構成され、記憶媒体から読み取った所定のアプリケーション動作検証プログラムに記述される命令が示す処理を実行することにより、パッケージ展開部321、展開パッケージ記憶部322、メタデータ解析部323、コンテンツ構造解析部324及びファイル制御部326として機能する。制御部92の構成は、アプリケーション送信装置30の制御部32(図7)において制御情報生成部328及び送信制御部329が省略された構成に相当する。このことは、アプリケーション動作検証装置90がファイルの送信を要しないためである。従って、制御部92は、パッケージ記憶部31から読み取ったアプリケーションパッケージから送信対象ファイルに代えて検証対象ファイルを特定し、特定した検証対象ファイルを一時フォルダ34に記憶する。また、制御部92は、当該アプリケーションパッケージから、編成タイムコードに適合したタイムコードをファイル名に含むタイムコード制御対象ファイルを、一時フォルダ34の検証対象ファイル領域に検証対象ファイルとして記憶する。これらの検証対象ファイルは、ファイル制御部326に入力される編成タイムコードで指定される時刻において受信機80(図1)に送信されるコンテンツファイルに相当する。   The control unit 92 includes a control device (not shown) such as a CPU and a storage medium. The control unit 92 executes a process indicated by a command described in a predetermined application operation verification program read from the storage medium, thereby It functions as a development unit 321, a development package storage unit 322, a metadata analysis unit 323, a content structure analysis unit 324, and a file control unit 326. The configuration of the control unit 92 corresponds to a configuration in which the control information generation unit 328 and the transmission control unit 329 are omitted in the control unit 32 (FIG. 7) of the application transmission device 30. This is because the application operation verification apparatus 90 does not require transmission of a file. Therefore, the control unit 92 specifies the verification target file instead of the transmission target file from the application package read from the package storage unit 31 and stores the specified verification target file in the temporary folder 34. In addition, the control unit 92 stores, from the application package, a time code control target file including a time code suitable for the composition time code in the file name as a verification target file in the verification target file area of the temporary folder 34. These verification target files correspond to content files transmitted to the receiver 80 (FIG. 1) at the time specified by the composition time code input to the file control unit 326.

実行部93には、ユーザからの操作入力による操作信号が入力され、入力された操作信号で指定されるアプリケーションエントリポイントのファイルを特定し、特定したファイルを一時フォルダ34から読み込む。実行部93は、読み込んだファイルに格納されたアプリケーションに記述された命令が示す処理を実行する。実行部93は、記述されたアプリケーションを解析し、参照先として指定された他のコンテンツファイルを一時フォルダ34から読み込む。実行部93は、処理の実行により読み込んだコンテンツファイルに格納されたコンテンツの提示を制御する。従って、アプリケーションエントリポイントのファイルへアクセスすることにより、編成タイムコードが示す時刻を指定した動作検証が可能になる。実行部93は、アプリケーション動作検証プログラムとは別個のプログラム、例えば、ウェブブラウザを実行することにより実現されてもよい。   The execution unit 93 receives an operation signal by an operation input from the user, specifies an application entry point file specified by the input operation signal, and reads the specified file from the temporary folder 34. The execution unit 93 executes a process indicated by an instruction described in the application stored in the read file. The execution unit 93 analyzes the described application and reads another content file designated as a reference destination from the temporary folder 34. The execution unit 93 controls the presentation of content stored in the content file read by executing the process. Therefore, by accessing the file of the application entry point, it is possible to verify the operation specifying the time indicated by the composition time code. The execution unit 93 may be realized by executing a program separate from the application operation verification program, for example, a web browser.

(相互変換)
上述した説明では、アプリケーション送信装置30、アプリケーション動作検証装置90のパッケージ展開部321(図7、13)がZIP形式のアプリケーションパッケージを展開する場合を例にしたが、これには限られない。アプリケーション送信装置30、アプリケーション動作検証装置90は、それぞれMXF形式のアプリケーションパッケージを読み込み、読み込んだMXF形式のアプリケーションパッケージについて形式変換を行ってZIP形式のアプリケーションパッケージを生成する第1変換部(図示せず)を備えてもよい。また、アプリケーション動作検証装置90は、ZIP形式のアプリケーションパッケージについて形式変換を行ってMXF形式のアプリケーションパッケージを生成する第2変換部(図示せず)を備えてもよい。以下の説明では、これらの変換部を、単に変換部と総称する。また、ZIPファイルからMXFファイルへの形式変換をZIP−MXF変換と呼び、MXFファイルからZIPファイルへの形式変換をMXF−ZIP変換と呼ぶ。また、図1のコンテンツ管理装置10に記憶されるアプリケーションに係るファイルとは別個の映像、音声等のマルチメディアデータを含むコンテンツパッケージのデータ形式がMXF形式である場合、コンテンツ管理装置10の出力部もしくはコンテンツ送信装置20がコンテンツパッケージについてMXF−ZIP変換を行ってもよい。その場合には、アプリケーション送信装置30にはMXF−ZIP変換によって得られたZIP形式のアプリケーションパッケージが入力される。
(Mutual conversion)
In the above description, the case where the package deployment unit 321 (FIGS. 7 and 13) of the application transmission device 30 and the application operation verification device 90 deploys the ZIP application package is taken as an example, but the present invention is not limited to this. The application transmission device 30 and the application operation verification device 90 each read an MXF format application package, perform format conversion on the read MXF format application package, and generate a ZIP format application package (not shown). ) May be provided. In addition, the application operation verification apparatus 90 may include a second conversion unit (not shown) that performs format conversion on a ZIP application package to generate an MXF application package. In the following description, these conversion units are simply referred to as conversion units. The format conversion from the ZIP file to the MXF file is called ZIP-MXF conversion, and the format conversion from the MXF file to the ZIP file is called MXF-ZIP conversion. In addition, when the data format of the content package including multimedia data such as video and audio separate from the file related to the application stored in the content management device 10 in FIG. 1 is the MXF format, the output unit of the content management device 10 Alternatively, the content transmission device 20 may perform MXF-ZIP conversion on the content package. In that case, the application transmission device 30 receives the ZIP-format application package obtained by MXF-ZIP conversion.

次に、各形式のアプリケーションパッケージのデータ構成について説明する。
図14は、各形式のアプリケーションパッケージのデータ構成の例を示す図である。
図14の上段は、ZIPファイルとして構成されたアプリケーションパッケージの構成の一例を示す。ZIPファイルは、ローカルファイルヘッダとファイルデータ(ファイルエントリ)等からなる複数個のセット、複数個のセントラルディレクトリヘッダ、エンドオブセントラルディレクトリレコードをその順序で含んで構成されるファイルである。ローカルファイルヘッダは、アプリケーションパッケージに配置される個々のファイル(ローカルファイル)に当該ファイルに関する情報、例えば、ファイルサイズ、ファイルパスを示すデータである。ローカルファイルは、アプリケーションのファイル、アプリケーションから参照される各種のコンテンツのファイル、パッケージエントリメタデータ、イベントメッセージに関するファイル、ドキュメントフォルダに配置される各種のファイルが該当する。ローカルファイルヘッダにより、個々のローカルファイルのファイルデータ(実体データ)が区分される。ローカルファイルヘッダに後続する領域に、当該ローカルファイルのファイルデータが格納される。各セントラルディレクトリヘッダは、それぞれのローカルファイルの圧縮方式、圧縮前後のファイルサイズ、ZIPファイル全体において当該ローカルファイルが格納される位置などの情報を示すデータである。エンドオブセントラルディレクトリレコードは、ZIPファイルの終端を示すデータである。この構成により、ZIPファイルには、パッケージルートフォルダ以下のフォルダ間の階層構造、各フォルダに配置されるローカルファイルをそれぞれ示すデータが一括して格納される。そのため、ZIPファイルは、パッケージルートフォルダを起点として、コンテンツファイルの構成フォルダの物理構造と、それぞれのフォルダに配置される個々のローカルファイルに展開することができる。各ローカルファイルに付随する情報として、ローカルファイルヘッダに後続する領域と、ファイルデータに後続する領域の一方又は両方に他のデータ構造が含まれていてもよい。また、先頭のセントラルディレクトリヘッダの前の領域と、最後尾のセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコードとの間の領域の一方又は両方に、他のデータ構造が含まれていてもよい。
Next, the data structure of each type of application package will be described.
FIG. 14 is a diagram illustrating an example of the data configuration of each type of application package.
The upper part of FIG. 14 shows an example of the configuration of an application package configured as a ZIP file. The ZIP file is a file including a plurality of sets including a local file header and file data (file entry), a plurality of central directory headers, and an end-of-central directory record in that order. The local file header is data indicating information related to the file, such as a file size and a file path, for each file (local file) arranged in the application package. The local file corresponds to an application file, various content files referenced from the application, package entry metadata, a file related to an event message, and various files arranged in a document folder. The file data (substance data) of each local file is divided by the local file header. File data of the local file is stored in an area subsequent to the local file header. Each central directory header is data indicating information such as the compression method of each local file, the file size before and after compression, and the location where the local file is stored in the entire ZIP file. The end of central directory record is data indicating the end of the ZIP file. With this configuration, in the ZIP file, data indicating the hierarchical structure between folders below the package root folder and local files arranged in each folder are stored in a lump. Therefore, the ZIP file can be expanded from the package root folder into the physical structure of the content file configuration folder and the individual local files arranged in each folder. As information accompanying each local file, another data structure may be included in one or both of the area following the local file header and the area following the file data. Another data structure may be included in one or both of the area before the first central directory header and the area between the last central directory header and the end-of-central directory record.

図14の下段は、MXFファイルとして構成されたアプリケーションパッケージの構成の一例を示す。MXFファイルは、コンテンツの制作、管理においてしばしば用いられるデータ形式を有するファイルである。MXFファイルにおいて、ZIPファイルを構成する各ローカルファイルのローカルヘッダとファイルデータのセットを、その順序で含む所定のデータ配列(Generic Stream Partition)に格納される。MXFファイルは、Key、Length及びValue領域をその順序で含み、さらにValue領域に複数のKLV構造を内包して構成されるファイルである。複数のKLV構造からなるデータ配列は、Generic Streamと呼ばれる。図14の下段における先頭のKeyは、当該MXFファイルがアプリケーションパッケージのGeneric Streamを有することを示す値(アプリケーションパッケージ識別値)が設定される。後続するLengthには、後続する複数のKLV構造全体のデータサイズを示す値が設定される。アプリケーションパッケージ識別値を持つKLV構造のValue領域に内包される個々のKLV構造は、Key、Length及びValueをその順序で含み、Value領域に種々のデータを格納して構成されるデータ構造である。冒頭から末尾の直前までのKLV構造のKeyには、アプリケーションパッケージを構成するローカルファイルが格納されていることを示す値(ローカルファイル識別値)が設定される。Lengthには、後続するValue領域に格納されるデータのデータサイズを示す値(データサイズ値)が設定される。Value領域は、個々のローカルファイルのローカルファイルヘッダと当該ローカルファイルのファイルデータが格納されるデータ領域である。ファイルデータに付随する情報として、ローカルファイルヘッダとは別個のデータ構造を含む場合には、そのデータ構造も同一のValue領域に併せて格納される。即ち、KeyとLengthは、それらの挿入により、個々のローカルファイルヘッダとファイルデータのセットが区分される区分データである。ZIPファイルに格納される個々のローカルファイルのローカルファイルヘッダが、そのローカルファイルに関する情報(プロパティ記述)として利用可能である。   The lower part of FIG. 14 shows an example of the configuration of an application package configured as an MXF file. An MXF file is a file having a data format often used in content production and management. In the MXF file, a local header of each local file constituting the ZIP file and a set of file data are stored in a predetermined data array (Generic Stream Partition) including the order. The MXF file is a file that includes a Key, Length, and Value area in that order, and further includes a plurality of KLV structures in the Value area. A data array composed of a plurality of KLV structures is called a generic stream. A value (application package identification value) indicating that the MXF file has a generic stream of the application package is set in the top key in the lower part of FIG. In the subsequent Length, a value indicating the data size of the entire plurality of subsequent KLV structures is set. Each KLV structure included in the value area of the KLV structure having the application package identification value is a data structure that includes key, length, and value in that order, and stores various data in the value area. A value (local file identification value) indicating that a local file constituting the application package is stored is set in the Key of the KLV structure from the beginning to immediately before the end. In the Length, a value (data size value) indicating the data size of data stored in the subsequent Value area is set. The Value area is a data area in which the local file header of each local file and the file data of the local file are stored. If the information accompanying the file data includes a data structure separate from the local file header, the data structure is also stored in the same Value area. That is, Key and Length are segmented data in which individual local file headers and file data sets are segmented by their insertion. The local file header of each local file stored in the ZIP file can be used as information (property description) regarding the local file.

アプリケーションパッケージに係るMXFファイルの末尾のKLV構造のKeyには、各ローカルファイルのセントラルディレクトリヘッダが格納されることを示す値(セントラルディレクトリレコード識別値)が設定される。Lengthには、後続するValueに格納されるValueに格納されるデータのデータサイズ値が設定される。Valueは、各ローカルファイルに係るセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコードをその順序で格納されるデータ領域である。なお、冒頭のセントラルディレクトリヘッダの前の領域、最後尾のセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコードとの間の領域の一方又は両方に、他のデータ構造が含まれていてもよい。従って、末尾のKLV構造には、ZIPファイルに格納される個々のセントラルディレクトリヘッダで構成されるファイルインデックスが、そのままアプリケーションのコンテンツファイル群のインデックス情報として格納される。MXFファイルにおいて、アプリケーションパッケージ識別値を有するGeneric Streamが内包するKLV構造の数は、格納されるローカルファイルの数よりも1個多い。このようなデータ構造により、後述するZIPファイルとMXFファイル相互間の形式変換が簡素になる。また、上記のアプリケーションパッケージに係るMXFファイルの構造を、映像、音声など他のマルチメディアデータを格納したMXFファイルの構造と結合した、番組コンテンツをまとめたコンテンツパッケージとして構成されてもよい。   A value (central directory record identification value) indicating that the central directory header of each local file is stored is set in the key of the KLV structure at the end of the MXF file related to the application package. In the Length, a data size value of data stored in the Value stored in the subsequent Value is set. Value is a data area in which a central directory header and an end-of-central directory record related to each local file are stored in that order. Other data structures may be included in one or both of the area before the beginning central directory header and the area between the last central directory header and the end of central directory record. Therefore, in the last KLV structure, a file index composed of individual central directory headers stored in the ZIP file is stored as it is as index information of the content file group of the application. In the MXF file, the number of KLV structures included in the generic stream having the application package identification value is one more than the number of stored local files. With such a data structure, format conversion between a ZIP file and an MXF file described later is simplified. The MXF file structure related to the application package may be combined with the structure of an MXF file storing other multimedia data such as video and audio, and may be configured as a content package in which program contents are collected.

(形式変換)
次に、形式変換について説明する。ZIP−MXF変換では、変換部は、ZIPファイルに含まれるローカルファイル毎のローカルファイルヘッダとファイルデータ等のセットを格納したKLV構造を順次連結することにより、MXFファイルを生成する。具体的には、変換部は図15に示す処理を行う。
(Format conversion)
Next, format conversion will be described. In ZIP-MXF conversion, the conversion unit generates an MXF file by sequentially connecting a KLV structure storing a set of local file headers and file data for each local file included in the ZIP file. Specifically, the conversion unit performs the process shown in FIG.

図15は、本実施形態に係るZIP−MXF変換を示すフローチャートである。
(ステップS131)変換部は、記憶媒体に記憶されたZIPファイルに含まれる個々のローカルファイルのローカルファイルヘッダとファイルデータのセットをそれぞれ抽出する。さらにローカルファイルに係るデータ構造がファイルデータの前後に存在する場合には、変換部は、それらもまとめて抽出する。その後、ステップS132に進む。
(ステップS132)変換部は、抽出したセット毎に、ローカルファイル識別値が設定されたKeyと、当該セットのデータサイズ値が設定されたLengthと、当該セットのローカルファイルヘッダとファイルデータ等を格納したValue領域とを連結し、KLV構造を生成する。その後、ステップS133に進む。
FIG. 15 is a flowchart showing ZIP-MXF conversion according to the present embodiment.
(Step S131) The conversion unit extracts a local file header and a set of file data of each local file included in the ZIP file stored in the storage medium. Further, when the data structure related to the local file exists before and after the file data, the conversion unit also extracts them together. Thereafter, the process proceeds to step S132.
(Step S132) For each extracted set, the conversion unit stores a key in which a local file identification value is set, a length in which the data size value of the set is set, a local file header and file data of the set, and the like. The KLV structure is generated by concatenating the value regions. Thereafter, the process proceeds to step S133.

(ステップS133)変換部は、当該ZIPファイルに含まれる個々のローカルファイルのセントラルディレクトリヘッダとエンドオブディレクトリレコードを抽出する。冒頭のセントラルディレクトリヘッダの前の領域と、最後尾のセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコードとの間の領域の一方又は両方に、特定のローカルファイルに限定されない情報を持つ他のデータ構造が含まれている場合には、変換部は、それらもまとめて抽出する。その後、ステップS134に進む。
(ステップS134)変換部は、セントラルディレクトリレコード識別値が設定されたKeyと、抽出したセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコード等の全体のデータサイズが設定されたLengthと、抽出したセントラルディレクトリヘッダとエンドオブセントラルディレクトリレコード等を格納したValue領域とを連結し、KLV構造を生成する。その後、ステップS135に進む。
(Step S133) The conversion unit extracts the central directory header and end-of-directory record of each local file included in the ZIP file. One or both of the area before the first central directory header and the area between the last central directory header and the end-of-central directory record contain other data structures with information that is not limited to a specific local file. If so, the conversion unit also extracts them together. Thereafter, the process proceeds to step S134.
(Step S134) The converting unit sets the key in which the central directory record identification value is set, the length in which the entire data size such as the extracted central directory header and the end of central directory record is set, the extracted central directory header and the end of A KLV structure is generated by concatenating the value area storing the central directory record and the like. Thereafter, the process proceeds to step S135.

(ステップS135)変換部は、アプリケーションパッケージ識別値が設定されたKeyと、ステップS132、S134において生成されたKLV構造全体のデータサイズが設定されたLengthと、ステップS132、S134において生成されたKLV構造を連結してGeneric Streamを生成し、MXFファイルを出力する。変換部は、出力したMXFファイルを記憶媒体に記憶する。この際、変換部は、必要に応じて、別途生成された映像、音声等、他のマルチメディアデータを格納したMXFファイルと結合し、コンテンツパッケージを構成してもよい。その後、図15に示す処理を終了する。 (Step S135) The conversion unit includes the Key in which the application package identification value is set, the Length in which the data size of the entire KLV structure generated in Steps S132 and S134 is set, and the KLV structure generated in Steps S132 and S134. To generate a generic stream and output an MXF file. The conversion unit stores the output MXF file in a storage medium. At this time, the conversion unit may be combined with an MXF file storing other multimedia data such as video and audio generated separately as necessary to form a content package. Thereafter, the process shown in FIG.

MXF−ZIP変換では、変換部は、MXFファイルに含まれるローカルファイル毎のKLV構造を区分するKeyとLengthを除外し、Value領域に格納されたローカルファイルヘッダとファイルデータ等のセットを順次連結することにより、ZIPファイルを生成する。具体的には、変換部は図16に示す処理を行う。   In MXF-ZIP conversion, the conversion unit excludes the Key and Length that distinguish the KLV structure for each local file included in the MXF file, and sequentially concatenates a set of local file headers and file data stored in the Value area. As a result, a ZIP file is generated. Specifically, the conversion unit performs the process shown in FIG.

図16は、本実施形態に係るMXF−ZIP変換を示すフローチャートである。
(ステップS141)変換部は、記憶媒体に記憶されたアプリケーションパッケージのMXFファイルもしくはアプリケーションパッケージを内包するコンテンツパッケージのMXFファイルを読み込み、Keyの設定値に基づきアプリケーションパッケージが格納されていること、及びその格納位置を判別し、後続するLengthに基づいてMXFファイルのうちアプリケーションパッケージに係るKLV構造を内包するValue領域のデータサイズを判定する。その後、ステップS142に進む。
FIG. 16 is a flowchart showing MXF-ZIP conversion according to the present embodiment.
(Step S141) The conversion unit reads the MXF file of the application package stored in the storage medium or the MXF file of the content package containing the application package, stores the application package based on the set value of the key, and The storage location is determined, and the data size of the value area including the KLV structure related to the application package in the MXF file is determined based on the subsequent Length. Thereafter, the process proceeds to step S142.

(ステップS142)変換部は、アプリケーションパッケージ識別値を持つKLV構造のValue領域に内包されるKVL構造のうち、冒頭から末尾の直前までのKLV構造のそれぞれについて、冒頭のKeyの設定値に基づきローカルファイルが格納されていることを判別する。変換部は、後続するLengthに基づいてさらに後続するValue領域に格納されたデータのデータサイズを判定する。変換部は、ローカルファイルヘッダとファイルデータ等が格納されたValue領域を抽出する。その後、ステップS143に進む。
(ステップS143)変換部は、アプリケーションパッケージ識別値を有するKLV構造のValue領域に内包されるKVL構造のうち、末尾のKLV構造について、その冒頭のKeyの設定値に基づきセントラルディレクトリレコードが格納されることを判別する。変換部は、後続するLengthに基づいてさらに後続するValue領域に格納されたデータのデータサイズを判定する。変換部は、セントラルディレクトリヘッダとエンドオブセントラルディレクトリレコード等が格納されたValue領域を抽出する。その後、ステップS144に進む。
(Step S142) The conversion unit performs local processing for each of the KLV structures from the beginning to immediately before the end among the KVL structures included in the value area of the KLV structure having the application package identification value based on the setting value of the beginning Key. Determine that the file is stored. The conversion unit determines the data size of the data stored in the subsequent Value area based on the subsequent Length. The conversion unit extracts a value area in which a local file header, file data, and the like are stored. Thereafter, the process proceeds to step S143.
(Step S143) The conversion unit stores the central directory record for the last KLV structure among the KVL structures included in the value area of the KLV structure having the application package identification value based on the setting value of the first key. Determine that. The conversion unit determines the data size of the data stored in the subsequent Value area based on the subsequent Length. The conversion unit extracts a value area in which a central directory header, an end-of-central directory record, and the like are stored. Thereafter, the process proceeds to step S144.

(ステップS144)変換部は、ステップS112で抽出したValue領域を順次連結し、ステップS143で抽出したValue領域をさらに連結してZIPファイルを生成する。その後、図16に示す処理を終了する。 (Step S144) The conversion unit sequentially connects the value areas extracted in step S112, and further connects the value areas extracted in step S143 to generate a ZIP file. Thereafter, the process shown in FIG. 16 ends.

以上に説明したように、本実施形態に係るアプリケーション送信装置30及びアプリケーション動作検証装置90は、それぞれメタデータ解析部323及びコンテンツ構造解析部324を備える。メタデータ解析部323は、アプリケーションパッケージから、パッケージエントリポイントメタデータを解析してアプリケーションプログラムを特定する。アプリケーションパッケージには、デジタル放送サービスのアプリケーションプログラムに関するコンテンツファイルが配置されたコンテンツルートフォルダと、アプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータとが配置されている。コンテンツ構造解析部324は、コンテンツルートフォルダ以下のフォルダの構造を解析して、アプリケーションプログラムに関するコンテンツファイルを前記コンテンツルートフォルダから抽出する。
この構成によれば、パッケージエントリメタデータを参照して、アプリケーションプログラムの最初に参照されるエントリポイントの所在が直ちに識別される。制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出されるので、制作者と放送事業者もしくはサービス提供者間において共通の処理対象が特定される。例えば、本アプリケーションパッケージを放送事業者もしくはサービス提供者と制作者との間の素材交換、放送事業者における送信装置への共通のデータ形式として利用することにより相互運用性が向上する。
As described above, the application transmission device 30 and the application operation verification device 90 according to the present embodiment include the metadata analysis unit 323 and the content structure analysis unit 324, respectively. The metadata analysis unit 323 analyzes the package entry point metadata from the application package and specifies an application program. In the application package, a content root folder in which content files related to the application program of the digital broadcasting service are arranged, and package entry point metadata including content information indicating the entry point of the application program are arranged. The content structure analysis unit 324 analyzes the structure of a folder below the content root folder, and extracts a content file related to the application program from the content root folder.
According to this configuration, the location of the entry point referred to first in the application program is immediately identified with reference to the package entry metadata. Since content files arbitrarily configured by the producer are efficiently extracted as processing targets, a common processing target is specified between the producer and the broadcaster or the service provider. For example, the interoperability is improved by using this application package as a material exchange between the broadcaster or service provider and the producer, and as a common data format to the transmission device in the broadcaster.

また、コンテンツ構造解析部324は、コンテンツファイルのファイル名を解析して、ファイル名が示す時刻とコンテンツファイルの所在を示す制御対象ファイルリストを生成する。そして、アプリケーション送信装置30及びアプリケーション動作検証装置90は、制御対象ファイルリストを参照して、番組の編成時刻に相当する時刻を示すファイル名を有するコンテンツファイルを選択するファイル制御部326を備える。
この構成によれば、時間経過に応じてコンテンツファイルが更新されるコンテンツについても、番組編成の際にファイル名により処理開始時刻と処理対象のファイルが直ちに特定される。制作者は、処理の開始やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理開始時刻に基づいた番組編成を円滑に行うことができる。
In addition, the content structure analysis unit 324 analyzes the file name of the content file, and generates a control target file list indicating the time indicated by the file name and the location of the content file. The application transmission device 30 and the application operation verification device 90 include a file control unit 326 that refers to the control target file list and selects a content file having a file name indicating a time corresponding to the program organization time.
According to this configuration, for a content whose content file is updated as time elapses, the processing start time and the processing target file are immediately specified by the file name when the program is organized. The producer can efficiently verify the start and time of the process, and the broadcaster or service provider can smoothly organize the program based on the process start time intended by the producer.

また、ファイル制御部326は、選択したコンテンツファイルが空ファイルである場合、選択したファイルのファイル名が示す時刻においてコンテンツファイルに係る処理を停止させることを特徴とする。
この構成によれば、番組編成の際に停止されるコンテンツについて、ファイル名により停止時刻と停止対象のファイルが直ちに特定される。制作者は、処理の停止やその時刻を効率的に検証することができ、放送事業者もしくはサービス提供者は、制作者が意図した処理停止時刻に基づいた番組編成を円滑に行うことができる。
Further, when the selected content file is an empty file, the file control unit 326 stops processing related to the content file at the time indicated by the file name of the selected file.
According to this configuration, the stop time and the file to be stopped are immediately specified by the file name for the content to be stopped when the program is organized. The producer can efficiently verify the process stop and the time, and the broadcaster or the service provider can smoothly organize the program based on the process stop time intended by the producer.

また、アプリケーション送信装置30及びアプリケーション動作検証装置90は、それぞれパッケージ展開部321を備える。パッケージ展開部321は、第1の形式のファイルから、セット毎にデータを格納したコンテンツファイルをヘッダが示すフォルダに配置してアプリケーションパッケージとして展開する。第1の形式のファイルは、コンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、コンテンツファイルに格納されたデータとを含むセットがコンテンツファイル間で連結されて構成される。第1の形式のファイルは、例えば、ZIPファイルである。
この構成によれば、第1の形式のファイルから展開により再生されたアプリケーションパッケージから番組編成の際に処理対象のコンテンツファイルが特定される。番組編成において一括した取扱いに便宜な第1の形式のファイルの活用を図ることができる。
Further, the application transmission device 30 and the application operation verification device 90 each include a package development unit 321. The package development unit 321 arranges the content file storing data for each set from the first format file in the folder indicated by the header, and develops it as an application package. The file of the first format is configured by connecting a set including a folder in which the content file is arranged, a header indicating identification information, and data stored in the content file, between the content files. The file in the first format is, for example, a ZIP file.
According to this configuration, the content file to be processed is specified at the time of program organization from the application package reproduced by development from the first format file. It is possible to use a file of the first format convenient for batch handling in program organization.

また、アプリケーション送信装置30及びアプリケーション動作検証装置90は、それぞれ変換部を備える。変換部は、第2の形式のファイルから、区分データをそれぞれ除外して前記第1の形式のファイルに変換する。第2の形式のファイルは、コンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、コンテンツファイルに格納されたデータとを含むセットの配置を示す区分データが当該セットそれぞれの先頭にさらに配置されたファイルである。第2の形式のファイルは、例えば、MXFファイルである。
この構成によれば、第2の形式のファイルから、第1の形式のファイルへの変換を区分データの除外といった簡素な処理により実現することができる。区分データによる個々のコンテンツファイルに対するアクセスが容易な第2の形式のファイルを、第1の形式のファイルに変換して一括した取扱いを促進することができる。
In addition, each of the application transmission device 30 and the application operation verification device 90 includes a conversion unit. The conversion unit excludes the division data from the second format file and converts the file into the first format file. In the file of the second format, the division data indicating the arrangement of the set including the folder in which the content file is arranged and the header indicating the identification information and the data stored in the content file are further arranged at the head of each set. File. The second format file is, for example, an MXF file.
According to this configuration, the conversion from the second format file to the first format file can be realized by a simple process such as exclusion of segmented data. The second format file that allows easy access to the individual content files based on the classification data can be converted into the first format file to facilitate batch handling.

また、アプリケーション動作検証装置90は、第1の形式に含まれる上述したセットそれぞれの先頭に前記セットの配置を示す区分データを配置して第2の形式のファイルに変換する変換部を備える。
この構成によれば、第1の形式のファイルから第2の形式へのファイルへの変換を区分データの配置といった簡素な処理により実現することができる。そのため、一括した取扱いに便宜な第1の形式のファイルを、第2の形式のファイルに変換して個々のコンテンツファイルに対するアクセスを促進することができるので、コンテンツ制作、編集を効率よく行うことができる。そのため、第1の形式のファイルによる簡易な運用、第2の形式のファイルによるファイルベースシステムとの親和性や長期的なアーカイブへの適用性を両立することができる。
In addition, the application operation verification apparatus 90 includes a conversion unit that arranges division data indicating the arrangement of the set at the head of each of the above-described sets included in the first format and converts the data into a file of the second format.
According to this configuration, conversion from the first format file to the second format file can be realized by a simple process such as arrangement of segmented data. Therefore, the first format file convenient for batch handling can be converted to the second format file to facilitate access to individual content files, so that content creation and editing can be performed efficiently. it can. Therefore, it is possible to achieve both simple operation using the first format file, compatibility with the file base system using the second format file, and applicability to long-term archiving.

また、アプリケーション送信装置30は、パッケージエントリポイントメタデータに含まれるトランスミッション情報が示すコンテンツファイルの伝送方式を用いて抽出したコンテンツファイルを送信させる送信制御部329を備える。
この構成によれば、制作者が任意に構成したコンテンツファイルが送信対象として効率的に抽出され、放送事業者もしくはサービス提供者が指定した所望の伝送方式を用いて送信される。そのため、デジタル放送サービスを提供において、制作者と放送事業者もしくはサービス提供者との間の相互運用性が向上する。
In addition, the application transmission device 30 includes a transmission control unit 329 that transmits the content file extracted using the content file transmission method indicated by the transmission information included in the package entry point metadata.
According to this configuration, a content file arbitrarily configured by the producer is efficiently extracted as a transmission target, and transmitted using a desired transmission method designated by the broadcaster or service provider. Therefore, in providing a digital broadcast service, interoperability between the producer and the broadcaster or service provider is improved.

また、アプリケーション動作検証装置90は、特定されたアプリケーションプログラムに記述される命令が示す処理を実行する実行部93を備える。
この構成によれば、制作者が任意に構成したコンテンツファイルが処理対象として効率的に抽出されるので、制作されたアプリケーションパッケージに配置されるアプリケーションプログラムの動作検証を円滑に行うことができる。
In addition, the application operation verification device 90 includes an execution unit 93 that executes processing indicated by an instruction described in the identified application program.
According to this configuration, since the content file arbitrarily configured by the producer is efficiently extracted as a processing target, the operation verification of the application program arranged in the produced application package can be performed smoothly.

以上、図面を参照してこの発明の一実施形態について説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。   The embodiment of the present invention has been described above with reference to the drawings. However, the specific configuration is not limited to the above-described configuration, and various design changes and the like can be made without departing from the gist of the present invention. Is possible.

例えば、アプリケーション送信装置30は、コンテンツ送信装置20、符号化装置40及び多重化装置50のいずれか、又はそれらの任意の組み合わせと一体化した単一の装置として構成されてもよい。また、アプリケーション動作検証装置90は、コンテンツ管理装置10と一体化した単一の装置として構成されてもよい。   For example, the application transmission device 30 may be configured as a single device integrated with any of the content transmission device 20, the encoding device 40, the multiplexing device 50, or any combination thereof. Further, the application operation verification device 90 may be configured as a single device integrated with the content management device 10.

B1…放送通信連携システム、BT…放送伝送路、NT…通信伝送路、10…コンテンツ管理装置、20…コンテンツ送信装置、30…アプリケーション送信装置、31…パッケージ記憶部、32…制御部、321…パッケージ展開部、322…展開パッケージ記憶部、323…メタデータ解析部、324…コンテンツ構造解析部、326…ファイル制御部、328…制御情報生成部、329…送信制御部、33…外部ファイル更新部、34…一時フォルダ、35…送信部、40…符号化装置、50…多重化装置、60…サーバ装置、70…放送設備、80…受信機、90…アプリケーション動作検証装置、92…制御部、93…実行部、100…ルータ装置 B1 ... broadcast communication cooperation system, BT ... broadcast transmission path, NT ... communication transmission path, 10 ... content management apparatus, 20 ... content transmission apparatus, 30 ... application transmission apparatus, 31 ... package storage section, 32 ... control section, 321 ... Package development unit, 322 ... Development package storage unit, 323 ... Metadata analysis unit, 324 ... Content structure analysis unit, 326 ... File control unit, 328 ... Control information generation unit, 329 ... Transmission control unit, 33 ... External file update unit 34 ... Temporary folder, 35 ... Transmitter, 40 ... Encoding device, 50 ... Multiplexer, 60 ... Server device, 70 ... Broadcast equipment, 80 ... Receiver, 90 ... Application operation verification device, 92 ... Control unit, 93 ... execution unit, 100 ... router device

Claims (15)

デジタル放送サービスのアプリケーションプログラムに関するコンテンツファイルが配置されたコンテンツルートフォルダと、前記アプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータとが配置されたアプリケーションパッケージから、
前記パッケージエントリポイントメタデータを解析して前記アプリケーションプログラムを特定するメタデータ解析部と、
前記コンテンツルートフォルダ以下のフォルダの構造を解析して、前記アプリケーションプログラムに関するコンテンツファイルを前記コンテンツルートフォルダから抽出するコンテンツ構造解析部と、
を備える処理装置。
From the application package in which the content root folder in which the content file related to the application program of the digital broadcasting service is arranged, and the package entry point metadata including the content information indicating the entry point of the application program,
A metadata analysis unit that analyzes the package entry point metadata and identifies the application program;
Analyzing a structure of a folder under the content root folder, and extracting a content file related to the application program from the content root folder;
A processing apparatus comprising:
前記コンテンツ構造解析部は、前記コンテンツファイルのファイル名を解析して、前記ファイル名が示す時刻と前記コンテンツファイルの所在を示す制御対象ファイルリストを生成することを特徴とし、
前記制御対象ファイルリストを参照して、番組の編成時刻に相当する時刻を示すファイル名を有するコンテンツファイルを選択するファイル制御部
を備える請求項1に記載の処理装置。
The content structure analysis unit analyzes the file name of the content file, and generates a control target file list indicating the time indicated by the file name and the location of the content file,
The processing apparatus according to claim 1, further comprising: a file control unit that refers to the control target file list and selects a content file having a file name indicating a time corresponding to a program organization time.
前記ファイル制御部は、選択したコンテンツファイルが空ファイルである場合、前記選択したファイルのファイル名が示す時刻において前記コンテンツファイルに係る処理を停止させることを特徴とする請求項2に記載の処理装置。   3. The processing apparatus according to claim 2, wherein when the selected content file is an empty file, the file control unit stops processing related to the content file at a time indicated by a file name of the selected file. . 前記コンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、前記コンテンツファイルに格納されたデータとを含むセットがコンテンツファイル間で連結された第1の形式のファイルから、前記セット毎に前記データを格納したコンテンツファイルを前記ヘッダが示すフォルダに配置して前記アプリケーションパッケージとして展開する展開部
を備える請求項1から請求項3のいずれか一項に記載の処理装置。
From a file in a first format in which a set including a folder in which the content file is arranged and a header indicating identification information and data stored in the content file is linked between the content files, the data for each set The processing apparatus according to any one of claims 1 to 3, further comprising: an expansion unit that arranges a content file storing the content file in a folder indicated by the header and expands the content file as the application package.
前記セットの配置を示す区分データが前記セットそれぞれの先頭にさらに配置された第2の形式のファイルから、前記区分データをそれぞれ除外して前記第1の形式のファイルに変換する第1変換部
を備える請求項4に記載の処理装置。
A first conversion unit that converts the division data indicating the arrangement of the set into a file of the first format by excluding the division data from a second type of file further arranged at the head of each of the sets; The processing apparatus of Claim 4 provided.
前記第1の形式に含まれる前記セットそれぞれの先頭に前記セットの配置を示す区分データを配置して第2の形式のファイルに変換する第2変換部
を備える請求項4または請求項5に記載の処理装置。
The second conversion unit that arranges division data indicating the arrangement of the set at the head of each of the sets included in the first format and converts the data into a file of the second format. Processing equipment.
前記パッケージエントリポイントメタデータは、前記コンテンツファイルの伝送方式を示すトランスミッション情報を含み、
前記トランスミッション情報が示す伝送方式を用いて前記コンテンツファイルを送信させる送信制御部
を備える請求項1から請求項6のいずれか一項に記載の処理装置。
The package entry point metadata includes transmission information indicating a transmission method of the content file,
The processing apparatus according to any one of claims 1 to 6, further comprising: a transmission control unit that transmits the content file using a transmission method indicated by the transmission information.
前記アプリケーションプログラムに記述される命令が示す処理を実行する実行部
を備える請求項1から請求項6のいずれか一項に記載の処理装置。
The processing device according to any one of claims 1 to 6, further comprising an execution unit that executes processing indicated by an instruction described in the application program.
処理装置のコンピュータに、
デジタル放送サービスのアプリケーションプログラムに関するコンテンツファイルが配置されたコンテンツルートフォルダと、前記アプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータとが配置されたアプリケーションパッケージから、
前記パッケージエントリポイントメタデータを解析して前記アプリケーションプログラムを特定するメタデータ解析手順、
前記コンテンツルートフォルダ以下のフォルダの構造を解析して、前記アプリケーションプログラムに関するコンテンツファイルを前記コンテンツルートフォルダから抽出するコンテンツ構造解析手順、
を実行させるためのプログラム。
In the computer of the processing unit,
From the application package in which the content root folder in which the content file related to the application program of the digital broadcasting service is arranged, and the package entry point metadata including the content information indicating the entry point of the application program,
A metadata analysis procedure for analyzing the package entry point metadata to identify the application program;
A content structure analysis procedure for analyzing a structure of a folder under the content root folder and extracting a content file related to the application program from the content root folder;
A program for running
コンテンツルートフォルダと、デジタル放送サービスのアプリケーションプログラムのエントリポイントを示すコンテンツ情報を含むパッケージエントリポイントメタデータが配置されたパッケージルートフォルダを備え、
前記コンテンツルートフォルダ以下のフォルダにおいて、前記アプリケーションプログラムのファイルが配置されたことを特徴とするアプリケーションパッケージのデータ構造。
A content root folder and a package root folder in which package entry point metadata including content information indicating an entry point of an application program of the digital broadcasting service is arranged;
A data structure of an application package, wherein the application program file is arranged in a folder below the content root folder.
前記コンテンツルートフォルダ以下のフォルダにおいて、前記アプリケーションプログラムに関するコンテンツファイルが配置され、前記コンテンツファイルの少なくとも1つのファイル名が前記コンテンツファイルの処理開始時刻を示すタイムコードを含むことを特徴とする請求項10に記載のアプリケーションパッケージのデータ構造。   The content file related to the application program is arranged in a folder below the content root folder, and at least one file name of the content file includes a time code indicating a processing start time of the content file. Application package data structure described in. 前記コンテンツルートフォルダ以下のフォルダにおいて、ファイル名が前記コンテンツファイルの少なくとも1つの処理停止時刻を示すタイムコードを含む空ファイルが配置されていることを特徴とする請求項11に記載のアプリケーションパッケージのデータ構造。   12. The application package data according to claim 11, wherein an empty file including a time code whose file name indicates at least one processing stop time of the content file is arranged in a folder below the content root folder. Construction. 前記アプリケーションプログラムに関するコンテンツファイルが配置されるフォルダならびに識別情報を示すヘッダと、前記コンテンツファイルに格納されたデータとを含むセットがコンテンツファイル間で連結された1個のファイルとして構成されたことを特徴とする請求項10から請求項12のいずれか一項に記載のアプリケーションパッケージのデータ構造。   A set including a folder in which a content file related to the application program is arranged, a header indicating identification information, and data stored in the content file is configured as one file connected between the content files. The data structure of the application package according to any one of claims 10 to 12. 前記セットそれぞれの先頭に前記セットの配置を示す区分データが配置されたことを特徴とする請求項13に記載のアプリケーションパッケージのデータ構造。   14. The data structure of an application package according to claim 13, wherein division data indicating the arrangement of the set is arranged at the head of each of the sets. 前記パッケージエントリポイントメタデータは、前記アプリケーションプログラムに関するコンテンツファイルの伝送方式を示すトランスミッション情報を含むことを特徴とする請求項10から請求項14のいずれか一項に記載のアプリケーションパッケージのデータ構造。   15. The data structure of an application package according to any one of claims 10 to 14, wherein the package entry point metadata includes transmission information indicating a transmission method of a content file related to the application program.
JP2015091875A 2015-04-28 2015-04-28 Processing device and program Active JP6543819B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015091875A JP6543819B2 (en) 2015-04-28 2015-04-28 Processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015091875A JP6543819B2 (en) 2015-04-28 2015-04-28 Processing device and program

Publications (2)

Publication Number Publication Date
JP2016208461A true JP2016208461A (en) 2016-12-08
JP6543819B2 JP6543819B2 (en) 2019-07-17

Family

ID=57490785

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015091875A Active JP6543819B2 (en) 2015-04-28 2015-04-28 Processing device and program

Country Status (1)

Country Link
JP (1) JP6543819B2 (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002358228A (en) * 2001-02-23 2002-12-13 Matsushita Electric Ind Co Ltd Digital data transmission/reception system and method thereof
JP2003504977A (en) * 1999-07-09 2003-02-04 カナル プラス ソシエテ アノニム Apparatus and method for testing an application
JP2004048515A (en) * 2002-07-12 2004-02-12 Sony Communication Network Corp Data transmitting method and device and data receiving method and device
JP2009088949A (en) * 2007-09-28 2009-04-23 Konica Minolta Business Technologies Inc Image formation system, image forming apparatus, and program
JP2011078068A (en) * 2009-10-02 2011-04-14 Hitachi Kokusai Electric Inc System for video transmission
JP2013009322A (en) * 2011-05-20 2013-01-10 Nippon Hoso Kyokai <Nhk> Receiver and broadcast transmission device
JP2014504385A (en) * 2010-10-28 2014-02-20 パラメトリック テクノロジー コーポレーション Method and system for computer-aided design
WO2014084073A1 (en) * 2012-11-29 2014-06-05 ソニー株式会社 Reception apparatus, reception method, transmission apparatus, transmission method and program
WO2014196398A1 (en) * 2013-06-06 2014-12-11 ソニー株式会社 Receiving device, receiving method, transmission device, transmission method, and program
US20150032845A1 (en) * 2013-07-26 2015-01-29 Samsung Electronics Co., Ltd. Packet transmission protocol supporting downloading and streaming

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003504977A (en) * 1999-07-09 2003-02-04 カナル プラス ソシエテ アノニム Apparatus and method for testing an application
JP2002358228A (en) * 2001-02-23 2002-12-13 Matsushita Electric Ind Co Ltd Digital data transmission/reception system and method thereof
JP2004048515A (en) * 2002-07-12 2004-02-12 Sony Communication Network Corp Data transmitting method and device and data receiving method and device
JP2009088949A (en) * 2007-09-28 2009-04-23 Konica Minolta Business Technologies Inc Image formation system, image forming apparatus, and program
JP2011078068A (en) * 2009-10-02 2011-04-14 Hitachi Kokusai Electric Inc System for video transmission
JP2014504385A (en) * 2010-10-28 2014-02-20 パラメトリック テクノロジー コーポレーション Method and system for computer-aided design
JP2013009322A (en) * 2011-05-20 2013-01-10 Nippon Hoso Kyokai <Nhk> Receiver and broadcast transmission device
WO2014084073A1 (en) * 2012-11-29 2014-06-05 ソニー株式会社 Reception apparatus, reception method, transmission apparatus, transmission method and program
WO2014196398A1 (en) * 2013-06-06 2014-12-11 ソニー株式会社 Receiving device, receiving method, transmission device, transmission method, and program
US20150032845A1 (en) * 2013-07-26 2015-01-29 Samsung Electronics Co., Ltd. Packet transmission protocol supporting downloading and streaming

Also Published As

Publication number Publication date
JP6543819B2 (en) 2019-07-17

Similar Documents

Publication Publication Date Title
US9912982B2 (en) Reception of broadcast data in a data carousel transmission scheme and television receiver for the same
US9979781B2 (en) Receiving device, receiving method, transmission device, transmission method, and program
JP2018170791A (en) Method and apparatus for transmitting and receiving content
EP3119102B1 (en) Receiving device, reception method, transmitting device, and transmission method
EP2728896B1 (en) Receiving device, receiving method, and program
KR20150067148A (en) Reception device, reception method, transmission device, and transmission method
JP6428610B2 (en) Reception device, reception method, transmission device, transmission method, and program
JP2017216719A (en) Receiver
CA2849064A1 (en) Method of processing an interactive service related to a broadcast program and apparatus therefor
JP6543819B2 (en) Processing device and program
JP6303969B2 (en) Receiving apparatus and receiving method
EP3490265A1 (en) Receiving device, transmitting device, and data processing method
JP2018110434A (en) Receiving device and receiving method
KR20220112750A (en) Method for signaling replacement to terminal, replacement method by terminal and corresponding computer program products, systems and terminals
JP2004180258A (en) Transmitting device of structured data
JP2019161677A (en) Receiving device, receiving method, and transmitting method
JP2019134329A (en) Broadcast signal transmission/reception device
Infante et al. Real‐Time DVB‐MHP Interactive Data Transcoding to Blu‐Ray
JP2004318771A (en) Receiver of structured data
JP2004318772A (en) Receiver of structured data
JP2004318795A (en) Method for receiving structured data
JP2004318806A (en) Method for receiving structured data
JP2004318797A (en) Method for receiving structured data
JP2004318802A (en) Method for receiving structured data
JP2004318779A (en) Receiver of structured data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180918

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181113

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190108

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190405

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190416

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190521

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190523

R150 Certificate of patent or registration of utility model

Ref document number: 6543819

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250