JP5978000B2 - Receiving machine - Google Patents

Receiving machine Download PDF

Info

Publication number
JP5978000B2
JP5978000B2 JP2012112969A JP2012112969A JP5978000B2 JP 5978000 B2 JP5978000 B2 JP 5978000B2 JP 2012112969 A JP2012112969 A JP 2012112969A JP 2012112969 A JP2012112969 A JP 2012112969A JP 5978000 B2 JP5978000 B2 JP 5978000B2
Authority
JP
Japan
Prior art keywords
application
unit
receiver
broadcast
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012112969A
Other languages
Japanese (ja)
Other versions
JP2013066160A (en
Inventor
馬場 秋継
秋継 馬場
松村 欣司
欣司 松村
茂明 三矢
茂明 三矢
秀 武智
秀 武智
藤沢 寛
寛 藤沢
俊二 砂崎
俊二 砂崎
浩行 浜田
浩行 浜田
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
Japan Broadcasting Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Broadcasting Corp filed Critical Japan Broadcasting Corp
Priority to JP2012112969A priority Critical patent/JP5978000B2/en
Priority to EP12828400.7A priority patent/EP2750309A4/en
Priority to PCT/JP2012/070925 priority patent/WO2013031556A1/en
Priority to US14/239,598 priority patent/US20140214967A1/en
Publication of JP2013066160A publication Critical patent/JP2013066160A/en
Application granted granted Critical
Publication of JP5978000B2 publication Critical patent/JP5978000B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、受信機に関する。   The present invention relates to a receiver.

近年、放送通信連携サービスを実現するための研究が行われている。この放送通信連携サービスは、一例として、視聴者により利用される受信機に、放送局側から放送される放送番組コンテンツと、サービス事業者側からインターネット等の電気通信回線を介して配信される配信コンテンツとをそれぞれ受信させ、これら放送番組コンテンツと配信コンテンツとを連携させて再生させるサービスである。
受信機は、放送番組コンテンツと配信コンテンツとを表示および音声出力するためのアプリケーションを実行処理することによって、放送通信連携サービスを受けることができる。
また、受信機と通信端末とを連携動作させることによって、視聴者に、通信端末をも利用させて放送通信連携サービスを受けさせる試みも行われている。
In recent years, research for realizing a broadcasting / communication cooperation service has been conducted. As an example, this broadcasting / communication cooperation service is distributed to receivers used by viewers and broadcast program contents broadcast from the broadcasting station side and distributed from the service provider side via an electric communication line such as the Internet. This is a service for receiving content and reproducing the broadcast program content and distribution content in cooperation with each other.
The receiver can receive the broadcasting / communication cooperation service by executing an application for displaying and outputting the broadcast program content and the distribution content.
In addition, an attempt has been made to allow a viewer to receive a broadcasting / communication cooperation service by using a communication terminal by operating the receiver and the communication terminal in a cooperative manner.

従来、デジタル放送におけるアプリケーションの実行環境が規格化され運用されている(例えば、非特許文献1参照)。この文献には、ネットワークに接続された機器とこの機器の機能とをデータ放送コンテンツと連動させて利用させるための、ネットワーク機器利用に関する技術的事項が記載されている。   Conventionally, an application execution environment in digital broadcasting has been standardized and operated (see, for example, Non-Patent Document 1). This document describes technical matters related to the use of network devices in order to use devices connected to the network and the functions of the devices in conjunction with data broadcast contents.

「デジタル放送におけるアプリケーション実行環境 標準規格」、ARIB STD−B23、1.2版、社団法人電波産業会、平成21年7月“Application Execution Environment Standard for Digital Broadcasting”, ARIB STD-B23, 1.2 edition, Japan Radio Industry Association, July 2009

受信機と通信端末とを連携させる際、受信機が実行するアプリケーションと通信端末が実行するアプリケーションとを連携させたいという要求がある。ところで、例えばHTML5などのクライアント側アプリケーション用の言語には、仕様として通信の親側(サーバ側、ホスト側)として動作させる記述ができないものがある。
つまり、受信機と通信端末とのそれぞれが実行するアプリケーションがHTML5などの言語で記述されたアプリケーションである場合、それぞれのアプリケーションがクライアント側アプリケーションであるため、互いに通信を行うことができないという問題がある。
When linking a receiver and a communication terminal, there is a request to link an application executed by the receiver and an application executed by the communication terminal. By the way, for example, some languages for client side applications such as HTML5 cannot be described as operating on the communication parent side (server side, host side).
That is, when the application executed by each of the receiver and the communication terminal is an application described in a language such as HTML5, since each application is a client-side application, there is a problem that communication cannot be performed with each other. .

本発明は、上記事情に鑑みてなされたものであり、アプリケーションの言語仕様に関わらず、受信機が実行するアプリケーションと通信端末が実行するアプリケーションとを連携動作させることができる受信機を提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides a receiver capable of cooperatively operating an application executed by a receiver and an application executed by a communication terminal regardless of the language specification of the application. With the goal.

[1]上記の課題を解決するため、本発明による受信機は、放送信号を受信する放送受信部と、前記放送受信部が受信した放送信号から放送ストリームを分離する分離部と、前記分離部が分離した放送ストリームから自装置が実行すべきアプリケーションの情報を取得するアプリケーション情報取得部と、前記アプリケーション情報取得部が取得した情報が示すアプリケーションを実行するアプリケーション実行部と、前記実行部及びアプリケーションを実行する端末が当該アプリケーションの実行により出力した要求を受け付けるサーバ部と、前記サーバ部と前記アプリケーション実行部及び前記端末とのコネクションを確立するコネクト部と、前記コネクト部が確立したコネクションを介して、前記サーバ部が前記アプリケーション実行部から受け付けた要求を前記端末に出力し、前記サーバ部が前記端末から受け付けた要求を前記アプリケーション実行部に出力するブリッジ部とを備えることを特徴とする。
[2]上記[1]記載の受信機において、前記ブリッジ部は、前記アプリケーション実行部が実行するアプリケーションと前記端末が実行するアプリケーションとの関係が所定の条件を満たすか否かを判定し、当該条件を満たす場合に、前記コネクト部が確立したコネクションを介して、前記サーバ部が前記アプリケーション実行部から受け付けた要求を前記端末に出力し、前記サーバ部が前記端末から受け付けた要求を前記アプリケーション実行部に出力することを特徴とする。
[3]上記[2]記載の受信機において、前記アプリケーション実行部及び前記端末は、前記アプリケーションの実行により、前記サーバ部とのコネクションを確立する際に、連携するアプリケーションのタイプを示すタイプ情報を前記コネクト部に出力し、前記ブリッジ部における所定の条件は、前記コネクト部が前記アプリケーション実行部から受け付けたタイプ情報と前記端末から受け付けたタイプ情報とが一致することであることを特徴とする。
[4]上記[2]から[3]の何れかに記載の受信機において、前記ブリッジ部は、前記コネクト部によるコネクションが確立したときに、前記所定の条件の判定を行うことを特徴とする。
[5]上記[2]から[4]の何れかに記載の受信機において、前記ブリッジ部は、前記所定の条件を満たすと判定したときに、前記サーバ部と前記端末との間でブリッジ接続処理を行い、当該ブリッジ接続を特定する識別情報を生成して前記アプリケーション実行部に出力し、前記サーバ部が前記アプリケーション実行部から受け付けた要求に前記識別情報が含まれる場合、当該識別情報が割り当てられたブリッジ接続の接続先の前記端末に当該要求を出力し、前記サーバ部が前記識別情報が割り当てられたブリッジ接続の接続先の前記端末から要求を受け付けた場合、当該要求と前記識別情報の組み合わせを前記アプリケーション実行部に出力することを特徴とする。
[1] In order to solve the above problems, a receiver according to the present invention includes a broadcast receiving unit that receives a broadcast signal, a separation unit that separates a broadcast stream from the broadcast signal received by the broadcast reception unit, and the separation unit. An application information acquisition unit that acquires information on an application to be executed by the device from a broadcast stream separated by the device, an application execution unit that executes an application indicated by the information acquired by the application information acquisition unit, and the execution unit and the application. Via a server unit that receives a request output by execution of the application by a terminal to be executed, a connection unit that establishes a connection between the server unit, the application execution unit, and the terminal, and a connection established by the connection unit, The server unit executes the application The request received from the output to the terminal, the server unit is characterized in that it comprises a bridge section for outputting a request received from the terminal to the application execution unit.
[2] In the receiver according to [1], the bridge unit determines whether a relationship between an application executed by the application execution unit and an application executed by the terminal satisfies a predetermined condition, When the condition is satisfied, the server unit outputs the request received from the application execution unit to the terminal via the connection established by the connection unit, and the server unit receives the request received from the terminal. It outputs to the part.
[3] In the receiver according to [2], when the application execution unit and the terminal establish a connection with the server unit by executing the application, type information indicating a type of application to cooperate with is received. the output to connect unit, the predetermined condition in said bridge portion, characterized in that the type information in which the connect portion is received from the terminal and type information received from the application execution unit is to match.
[4] In the receiver according to any one of [2] to [3] , the bridge unit determines the predetermined condition when a connection is established by the connect unit. .
[5] In the receiver according to any one of [2] to [4] , when the bridge unit determines that the predetermined condition is satisfied , a bridge connection is established between the server unit and the terminal. performs the processing, if the generated identification information for identifying the bridge connection and outputs it to the application execution unit, said server unit includes the identification information on the request received from the application execution unit, the identification information is assigned When the request is received from the terminal of the bridge connection destination to which the identification information is assigned , the request is output to the terminal of the connection destination of the bridge connection . The combination is output to the application execution unit.

本発明によれば、受信機が実行するアプリケーション及び端末が実行するアプリケーションからの要求を受け付けるサーバ部を備え、サーバ部が端末から受け付けた要求を実行部に出力し、実行部から受け付けた要求を端末に出力することができる。すなわち、本発明による受信機は、アプリケーションの言語仕様に関わらず、受信機が実行するアプリケーションと通信端末が実行するアプリケーションとを連携動作させることができる。   According to the present invention, a server unit that receives a request from an application executed by a receiver and an application executed by a terminal is provided, the server unit outputs a request received from the terminal to the execution unit, and a request received from the execution unit is received. Can be output to the terminal. That is, the receiver according to the present invention can cause the application executed by the receiver and the application executed by the communication terminal to perform a cooperative operation regardless of the language specification of the application.

本発明の一実施形態である受信システムの機能構成を示すブロック図である。It is a block diagram which shows the function structure of the receiving system which is one Embodiment of this invention. 本発明が適用される放送通信連携システムを利用する者とその関係を示す図である。It is a figure which shows the person using the broadcast communication cooperation system to which this invention is applied, and its relationship. 放送通信連携システムの全体構成を示す図である。It is a figure which shows the whole structure of a broadcast communication cooperation system. 放送通信連携システムの端末連携モデルを示す図である。It is a figure which shows the terminal cooperation model of a broadcast communication cooperation system. 放送通信連携システムのサービス種別の概念図を示す。The conceptual diagram of the service classification of a broadcast communication cooperation system is shown. 放送通信連携システムに使用するAITのテキスト表現の例を示す図である。It is a figure which shows the example of the text expression of AIT used for a broadcast communication cooperation system. 放送通信連携システムにおけるアプリケーションのライフサイクルを示す図である。It is a figure which shows the life cycle of the application in a broadcast communication cooperation system. 放送通信連携システムにおける事業者間のデータの流れを示す図である。It is a figure which shows the data flow between providers in a broadcast communication cooperation system. 放送通信連携システム全体におけるデータの流れを示す図である。It is a figure which shows the flow of the data in the whole broadcast communication cooperation system. 放送通信連携システムにおけるレコメンドサービスのシーケンスを示す図である。It is a figure which shows the sequence of the recommendation service in a broadcast communication cooperation system. 放送通信連携システムにおける転送プロトコルスタックを示す図である。It is a figure which shows the transfer protocol stack in a broadcast communication cooperation system. 端末連携マネージャーの概念を示す図である。It is a figure which shows the concept of a terminal cooperation manager. WebSocketによる通信により受信機と携帯端末とを連携させる例を示す図である。It is a figure which shows the example which cooperates a receiver and a portable terminal by communication by WebSocket. WebSocketによる通信により受信機のアプリケーションと携帯端末のアプリケーションとを連携させる例を示す図である。It is a figure which shows the example which cooperates the application of a receiver and the application of a portable terminal by communication by WebSocket. 放送通信連携システムにおけるアプリケーション管理モデルを示す図である。It is a figure which shows the application management model in a broadcast communication cooperation system. 放送通信連携システムにおけるセキュアマネージャーの機能モデルを示す。The functional model of the secure manager in the broadcasting / communication cooperation system is shown. 放送通信連携システムにおける画面提示制御方式の概念を示す図である。It is a figure which shows the concept of the screen presentation control system in a broadcast communication cooperation system. 放送通信連携システムにおける画面提示制御の基本動作モデルを示す図である。It is a figure which shows the basic operation | movement model of the screen presentation control in a broadcast communication cooperation system. 放送通信連携システムにおけるポリシーレベルに応じた画面提示制御の例を示す。The example of the screen presentation control according to the policy level in a broadcast communication cooperation system is shown. 放送通信連携システムにおける緊急地震速報受信時の提示制御の例を示す。The example of the presentation control at the time of the earthquake early warning reception in a broadcast communication cooperation system is shown. 本発明の一実施形態による放送通信連携システムの全体構成図である。1 is an overall configuration diagram of a broadcasting / communication cooperation system according to an embodiment of the present invention. 同実施形態による受信機の内部構成を示す機能ブロック図である。It is a functional block diagram which shows the internal structure of the receiver by the embodiment. 同実施形態によるアプリケーション実行制御部の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the application execution control part by the embodiment. 同実施形態による提示制御部の詳細な構成を示すブロック図である。It is a block diagram which shows the detailed structure of the presentation control part by the embodiment. 本発明の一実施形態において、操作受付部として赤外線リモコンを用いた場合の、概略の外観正面図である。In one Embodiment of this invention, it is a general | schematic external appearance front view at the time of using an infrared remote control as an operation reception part. 同実施形態である受信機と、受信機アプリサーバと、コンテンツ配信サーバとの処理の手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of a process with the receiver which is the same embodiment, a receiver application server, and a content delivery server. 同実施形態である受信機が操作受付部の操作にしたがって作動する場合の、動作の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of operation | movement when the receiver which is the same embodiment operate | moves according to operation of the operation reception part. 同実施形態である受信機が操作受付部の操作にしたがって作動する場合の、動作の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of operation | movement when the receiver which is the same embodiment operate | moves according to operation of the operation reception part. 同実施形態である受信機の動作の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of operation | movement of the receiver which is the embodiment. 同実施形態である受信機と、機器と、端末アプリケーションサーバとの処理の手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of a process with the receiver which is the embodiment, an apparatus, and a terminal application server. 受信機と機器との連携処理の手順を示すシーケンス図である。It is a sequence diagram which shows the procedure of the cooperation process of a receiver and an apparatus. アプリケーション同士の連携手順を示すシーケンス図である。It is a sequence diagram which shows the cooperation procedure between applications. 受信機によるブリッジ判定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the bridge determination process by a receiver. イベント情報テーブルのデータ構造を示す図である。It is a figure which shows the data structure of an event information table.

以下、本発明を実施するための形態について、図面を参照して詳細に説明する。
本発明の一実施形態は、放送サービスのみを受ける状態と、放送通信連携サービスの一サービス形態であるストリーム従属型サービスを受ける状態とを、簡便な操作により切り替えることができる受信機である。また、本実施形態は、放送通信連携サービスの供給者側からの制御によって、現在受けている放送通信連携サービスを放送サービスに切り替えることができる受信機である。また、本実施形態は、放送通信連携サービスにおいて実行するアプリケーションと、このアプリケーションに関連するコンテンツデータとを、自装置の要求にしたがって外部の供給元から取得することができる受信機である。また、本実施形態は、受信機、および、受信機と機器(端末)とを含む受信システムであり、連携動作させる機器に実行させるアプリケーションを動的に変更することができる、受信機および受信システムである。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.
One embodiment of the present invention is a receiver capable of switching between a state in which only a broadcast service is received and a state in which a stream-dependent service that is one service form of a broadcast communication cooperation service is received by a simple operation. In addition, the present embodiment is a receiver that can switch the currently received broadcast communication cooperation service to the broadcast service under the control of the broadcast communication cooperation service supplier. In addition, the present embodiment is a receiver that can acquire an application to be executed in the broadcasting / communication cooperation service and content data related to the application from an external supply source according to a request of the own apparatus. In addition, the present embodiment is a receiver and a receiver system that includes a receiver and a device (terminal), and can dynamically change an application to be executed by a device that operates in cooperation. It is.

図1は、本発明の一実施形態である受信システムの機能構成を示すブロック図である。
同図に示すように、受信システムは、受信機4と機器8とを含んで構成される。
受信機4は、放送受信部401と、分離部402と、通信入出力部411と、アプリケーション実行制御部412と、操作入力部414と、選局部415と、外部I/F部417と、操作受付部474とを含んで構成される。
アプリケーション実行制御部412は、アプリケーション記憶部431と、アプリケーション制御部434と、アプリケーション実行部435と、リソースアクセス制御部438と、リソース制御部439とを含んで構成される。
アプリケーション制御部434は、アプリケーション情報取得部472と、起動制御部473と、終了制御部481とを含んで構成される。
操作入力部414は、起動要求信号取得部471を含んで構成される。
外部I/F部417は、機器側サーバ部491と、受信機側サーバ部492と、コネクト部493と、ブリッジ部494とを含んで構成される。なお、外部I/F部417は、機器側サーバ部491を接続する機器8毎に備え、それぞれが機器8と一対一で接続する構成であっても良いし、機器側サーバ部491を1つ備え、当該機器側サーバ部491が複数の機器8と接続する構成であっても良い。
機器8は、接続制御部501と、端末アプリケーション取得部(同図では、端末アプリ取得部と略記する)502と、端末アプリケーション実行部(同図では、端末アプリ実行部と略記する)503とを含んで構成される。
機器8は、前述したとおり、携帯電話、PDA、スマートフォン、タブレット、パーソナルコンピュータ等の通信機能を備えた端末(電子機器、情報処理装置)である。
FIG. 1 is a block diagram showing a functional configuration of a receiving system according to an embodiment of the present invention.
As shown in the figure, the receiving system includes a receiver 4 and a device 8.
The receiver 4 includes a broadcast receiving unit 401, a separation unit 402, a communication input / output unit 411, an application execution control unit 412, an operation input unit 414, a channel selection unit 415, an external I / F unit 417, an operation And a reception unit 474.
The application execution control unit 412 includes an application storage unit 431, an application control unit 434, an application execution unit 435, a resource access control unit 438, and a resource control unit 439.
The application control unit 434 includes an application information acquisition unit 472, an activation control unit 473, and an end control unit 481.
The operation input unit 414 includes an activation request signal acquisition unit 471.
The external I / F unit 417 includes a device-side server unit 491, a receiver-side server unit 492, a connect unit 493, and a bridge unit 494. The external I / F unit 417 may be provided for each device 8 to which the device-side server unit 491 is connected, and may be configured to be connected to the device 8 on a one-to-one basis, or one device-side server unit 491 is provided. The apparatus side server unit 491 may be connected to the plurality of apparatuses 8.
The device 8 includes a connection control unit 501, a terminal application acquisition unit (abbreviated as a terminal application acquisition unit in the figure) 502, and a terminal application execution unit (abbreviated as a terminal application execution unit in the figure) 503. Consists of including.
As described above, the device 8 is a terminal (electronic device, information processing apparatus) having a communication function such as a mobile phone, a PDA, a smartphone, a tablet, or a personal computer.

[本発明が適用される放送通信連携システムの説明]
ここで、本発明が適用される放送通信連携システムについて説明する。本発明が適用される放送通信連携システム(放送通信融合システム、放送通信システム、送受信システム)は、例えば、Hybridcast(登録商標)(ハイブリッドキャスト)システムであり、放送通信連携サービス(Hybridcast(登録商標)サービス、放送通信融合サービス、放送通信サービス)を提供する。本発明が適用される放送通信連携システムが実現する放送通信連携サービスは、デジタル放送サービスと、インターネットなどによる通信サービスとを連携する。例えば、放送通信連携サービスでは、デジタルテレビやパーソナルコンピュータ、携帯端末などの受信機は、放送により伝送された放送番組(以下、「番組」とも記載する。)の表示画面(以下、番組の表示画面の「放送画面」とも記載する。)に、この受信機に実装されているアプリケーションが通信により取得したサービスやコンテンツの表示画面(以下、「アプリケーション画面」、「アプリケーションの表示画面」とも記載する。)を合わせて同時に表示する。
[Description of Broadcast and Communication Cooperation System to which the Present Invention is Applied]
Here, a broadcasting / communication cooperation system to which the present invention is applied will be described. The broadcast communication cooperation system (broadcast communication integration system, broadcast communication system, transmission / reception system) to which the present invention is applied is, for example, a Hybridcast (registered trademark) (hybrid cast) system, and a broadcast communication cooperation service (Hybridcast (registered trademark)). Service, broadcasting / communication integration service, broadcasting / communication service). The broadcasting / communication cooperation service realized by the broadcasting / communication cooperation system to which the present invention is applied links a digital broadcasting service and a communication service using the Internet or the like. For example, in a broadcasting / communication cooperation service, a receiver such as a digital television, a personal computer, or a portable terminal displays a display screen (hereinafter, “program display screen”) of a broadcast program (hereinafter also referred to as “program”) transmitted by broadcasting. (Also referred to as a “broadcast screen”), and a display screen of services and contents acquired by communication by the application installed in the receiver (hereinafter referred to as “application screen” and “application display screen”). ) And display simultaneously.

[1. システムモデル]
[1.1 放送通信連携システムの利用者]
図2は、放送通信連携システムを利用する者とその関係を示す図である。
編成を伴う番組を送出する放送局は、放送電波あるいは通信網により番組を視聴者に配信する。放送局は、放送通信連携サービスを充実するために、番組に関連するメタデータをサービス事業者に提供する。
[1. System model]
[1.1 Users of the broadcasting / communication cooperation system]
FIG. 2 is a diagram showing a person who uses the broadcasting / communication cooperation system and its relationship.
A broadcasting station that sends a program accompanied by organization distributes the program to viewers by broadcast radio waves or a communication network. Broadcasting stations provide service providers with metadata related to programs in order to enhance broadcast communication cooperation services.

放送通信連携サービスを提供するサービス事業者は、視聴者に放送通信連携サービスを提供するためのコンテンツとアプリケーション(以下、「アプリ」とも記載する。)を制作し、配信する。以下では、単に「アプリケーション」と記載した場合、放送通信連携サービスを提供するためのアプリケーション(放送通信連携サービスのアプリケーション)を指す。コンテンツまたはアプリケーションの制作者と配信者が同一のサービス事業者である必要はない。放送局がサービス事業者を兼ねてもよい。サービス事業者は、他のサービス事業者へのリンク情報を提供することも可能である。サービス事業者は、提供するアプリケーションが公式であることを示すために、システム管理者にアプリケーションの登録を申請し、承認を得ることができる。承認されたアプリケーションは、受信機上での動作に制限を受けない。一方、承認されないアプリケーションが表示させる画面は、番組の表示画面および音声にオーバーラップすることはできないが、アプリケーションの表示画面を縮小して放送番組の画面の外に表示することができる。承認されたアプリケーションをA(Authorized)アプリケーション、承認されないアプリケーションを一般アプリケーションという。なお、Aアプリケーションを、公式アプリケーション、登録アプリケーション、認証済アプリケーション、認定アプリケーション、公認アプリケーション、オーソライズドアプリケーション、A(Authorized)タイプアプリケーションとも呼ぶ。また、一般アプリケーションを、非公式アプリケーション、非認証アプリケーション、非認定アプリケーション、非公認アプリケーション、U(Unauthorized)タイプアプリケーション、Uアプリケーションとも呼ぶ。   A service provider that provides a broadcasting / communication cooperation service produces and distributes content and an application (hereinafter also referred to as “app”) for providing the viewer with a broadcasting / communication cooperation service. Hereinafter, when simply described as “application”, it refers to an application for providing a broadcasting / communication cooperation service (an application of the broadcasting / communication cooperation service). The content or application producer and distributor need not be the same service provider. A broadcasting station may also serve as a service provider. The service provider can also provide link information to other service providers. The service provider can apply for registration of the application and obtain approval from the system administrator in order to indicate that the application to be provided is official. Approved applications are not restricted in operation on the receiver. On the other hand, a screen displayed by an unapproved application cannot overlap the program display screen and sound, but the application display screen can be reduced and displayed outside the broadcast program screen. An approved application is called an A (Authorized) application, and an unapproved application is called a general application. The A application is also referred to as an official application, a registered application, an authenticated application, an authorized application, an authorized application, an authorized application, or an A (Authorized) type application. The general application is also referred to as an unofficial application, an unauthenticated application, an unauthorized application, an unauthorized application, a U (Unauthorized) type application, or a U application.

システム管理者は、視聴者に提供するアプリケーション(受信機アプリ)がAアプリケーション(公式)であることを認定する機関である。申請されたアプリケーションを承認するか否かのシステム管理者の判断は、放送局からの委託による。   The system administrator is an organization that certifies that the application (receiver application) provided to the viewer is the A application (official). The system administrator's decision as to whether or not to approve the applied application depends on the commission from the broadcasting station.

各種設定等を行なうためのアプリケーションを受信機にインストールさせておいてもよい。この際、受信機におけるアプリケーションの表示画面が番組の表示画面(映像)にオーバーラップしてもよい。   An application for performing various settings may be installed in the receiver. At this time, the display screen of the application in the receiver may overlap the display screen (video) of the program.

放送局により放送された番組を視聴する視聴者は、放送通信連携サービスを享受する。
視聴者は、自身の意思により、アプリケーションをダウンロードしたり、起動したりすることができる。また、視聴者は、自身の意思により、アプリケーションの表示画面を番組の表示画面(映像)にオーバーラップさせることができる。
A viewer who views a program broadcast by a broadcasting station enjoys a broadcasting / communication cooperation service.
The viewer can download or start the application according to his / her will. Further, the viewer can overlap the display screen of the application with the display screen (video) of the program according to his / her intention.

[1.2 放送通信連携システムのシステム構成]
図3は、放送通信連携システムの全体構成を示す図である。放送通信連携システムは、電波を利用した現行の放送局設備に、機能的に「放送局サーバ群」、「サービス事業者サーバ群」、「受信機」を加えて構成される。
[1.2 System configuration of broadcasting / communication cooperation system]
FIG. 3 is a diagram illustrating the overall configuration of the broadcast communication cooperation system. The broadcasting / communication cooperation system is configured by functionally adding a “broadcasting station server group”, a “service provider server group”, and a “receiver” to the current broadcasting station equipment using radio waves.

放送局は、放送局設備を保有する。さらに放送局は、放送局サーバ群あるいはサービス事業者サーバ群の両方を構成し、管理運営する。また、サービス事業者は、サービス事業者サーバ群を構成し、管理運営する。システム管理者は、リポジトリサーバを管理運営する。受信機メーカは、受信機を製造販売する。視聴者は受信機を保有し、放送通信連携サービスを享受する。   The broadcasting station has broadcasting station facilities. Further, the broadcasting station configures and manages both the broadcasting station server group and the service provider server group. The service provider configures and manages a service provider server group. The system administrator manages and operates the repository server. The receiver manufacturer manufactures and sells the receiver. The viewer has a receiver and enjoys a broadcasting / communication cooperation service.

受信機(Hybridcast(登録商標)受信機、放送受信通信装置)は、標準化された共通のAPI(アプリケーションプログラムインタフェース:Application Program Interface)を搭載する。また、受信機は、地上デジタル放送、BS(broadcasting satellite)デジタル放送等の現行方式の放送を受信する。
放送局設備は、放送通信連携サービスを起動するための信号を放送波に多重化する。多重化の方式については後述する。
A receiver (Hybridcast (registered trademark) receiver, broadcast receiving communication device) is equipped with a standardized common API (Application Program Interface). Further, the receiver receives broadcasts of the current system such as terrestrial digital broadcast and BS (broadcasting satellite) digital broadcast.
The broadcasting station equipment multiplexes a signal for starting a broadcasting / communication cooperation service into a broadcasting wave. The multiplexing method will be described later.

[1.3 放送局サーバ群の構成例]
放送局サーバ群は、放送局が持っているコンテンツやメタデータを管理し、配信する。
例えば、放送局サーバ群は、各種サーバ、データ蓄積部(DB(データベース))及びAPIを含んで構成され、放送局サーバ群のサーバは、コンテンツ管理サーバ、視聴者管理サーバ、コンテンツ配信サーバ、放送局サービスサーバを含んで構成される。
[1.3 Configuration example of broadcast station server group]
The broadcasting station server group manages and distributes content and metadata held by broadcasting stations.
For example, the broadcast station server group includes various servers, a data storage unit (DB (database)), and an API, and the broadcast station server group includes a content management server, a viewer management server, a content distribution server, a broadcast A station service server is included.

コンテンツを管理するコンテンツ管理サーバは、放送コンテンツである番組とメタデータを管理する。コンテンツ管理サーバには、放送された番組または放送される番組を管理する番組管理サーバや、番組に関連するメタデータを管理するメタデータ管理サーバが含まれる。メタデータは、例えば、番組タイトル、番組ID、番組概要、出演者、スタッフ、放送日時、台本、字幕、解説などを示す。   A content management server that manages content manages programs and metadata that are broadcast content. The content management server includes a program management server that manages a broadcast program or a broadcast program, and a metadata management server that manages metadata related to the program. The metadata indicates, for example, a program title, a program ID, a program summary, performers, staff, broadcast date and time, script, captions, and commentary.

視聴者管理サーバは、視聴者(ユーザ)を管理し、コンテンツ配信サーバは、通信によりコンテンツデータを配信する。放送局サービスサーバは、放送局がサービス事業者に対してサービスを提供するためのサーバである。放送局サービスサーバが提供するサービスには、例えば、放送局が運営するソーシャルネットワークサービスや、放送番組毎のウェブログ(ブログ)などがある。   The viewer management server manages viewers (users), and the content distribution server distributes content data by communication. The broadcast station service server is a server for the broadcast station to provide a service to a service provider. Services provided by the broadcast station service server include, for example, a social network service operated by a broadcast station and a web log (blog) for each broadcast program.

放送局サーバ群のデータ蓄積部は、放送局が持っているコンテンツ、メタデータを格納する部分とデータベースから構成される。蓄積されたデータには、管理しているサービス事業者のみがアクセス可能であり、他者からはアクセスできないように制限している。   The data storage unit of the broadcast station server group includes a part for storing contents and metadata held by the broadcast station and a database. The stored data can be accessed only by the service provider that is managing it, and is restricted so that it cannot be accessed by others.

放送局サーバ群のAPIは、サービス事業者サーバ群からの要求に応じてデータを提供するためのAPIである。APIは、アプリケーションがサービスを受けるために呼び出すプログラムおよびその実行部である。   The API of the broadcasting station server group is an API for providing data in response to a request from the service provider server group. The API is a program that an application calls to receive a service and its execution unit.

[1.4 サービス事業者サーバ群の構成例]
サービス事業者が管理運営するサービスサーバ群は、アプリケーションとコンテンツを管理し、提供する。サービスサーバ群は、受信機アプリサーバ、サービスサーバ、コンテンツ配信サーバ、データ蓄積部(DB(データベース))及びAPIを含んで構成される。
[1.4 Service provider server group configuration example]
A service server group managed and operated by a service provider manages and provides applications and contents. The service server group includes a receiver application server, a service server, a content distribution server, a data storage unit (DB (database)), and an API.

受信機アプリサーバは、放送通信連携サービスのアプリケーションを管理するサーバである。サービス事業者は、受信機で動作するアプリケーションを保存、管理、配信する。
サービス事業者は、団体または個人で構成される。受信機アプリサーバは、受信機からの要求により、アプリケーションファイル(アプリケーションファイルについては後述する。)の保存場所を受信機に知らせるとともに、アプリケーションファイルを配信する。
The receiver application server is a server that manages an application of the broadcasting / communication cooperation service. The service provider stores, manages, and distributes applications that operate on the receiver.
Service providers are composed of groups or individuals. In response to a request from the receiver, the receiver application server notifies the receiver of the storage location of the application file (the application file will be described later) and distributes the application file.

サービスサーバは、受信機で動作しているアプリケーションからの要求によりサービスを提供するサーバである。サービスサーバには、例えば、多言語字幕サーバ、話速変換音声サーバ、ソーシャルTVサーバ、レコメンドサーバ、番組レビューサーバ、ブックマークサーバなどがある。   The service server is a server that provides a service in response to a request from an application operating on the receiver. Examples of the service server include a multilingual subtitle server, a speech speed conversion voice server, a social TV server, a recommendation server, a program review server, and a bookmark server.

コンテンツ配信サーバは、受信機で動作しているアプリケーションからの要求によりコンテンツを提供するサーバである。コンテンツ配信サーバには、例えば、VOD(VideoOn Demand)配信サーバ、字幕配信サーバ、マルチビュー配信サーバなどがある。   The content distribution server is a server that provides content in response to a request from an application running on the receiver. Examples of the content distribution server include a VOD (Video On Demand) distribution server, a caption distribution server, and a multi-view distribution server.

サービス事業者サーバ群のデータ蓄積部は、コンテンツデータ、メタデータ、サービス事業者が作成したデータ、視聴者データ、アプリケーションファイルを保存する場所である。データ蓄積部に保存されたデータには、管理しているサービス事業者のみがアクセスでき、他者からはアクセスできない。   The data storage unit of the service provider server group is a place for storing content data, metadata, data created by the service provider, viewer data, and application files. The data stored in the data storage unit can be accessed only by the service provider that is managing it, and cannot be accessed by others.

サービスサーバ群のAPIは、受信機で動作しているアプリケーションからの要求により、アプリケーションファイル、コンテンツ、サービスを提供するためのAPIである。   The API of the service server group is an API for providing application files, contents, and services in response to a request from an application running on the receiver.

[1.5 受信機]
受信機は、現行方式の放送を受信し表示するとともに、放送通信連携サービスを実行する。現行方式の放送とは、地上デジタル放送、BSデジタル放送等の衛星放送、データ放送である。また、受信機は、インターネットに接続される。
[1.5 Receiver]
The receiver receives and displays the broadcast of the current system, and executes a broadcasting / communication cooperation service. Current broadcasting is satellite broadcasting such as terrestrial digital broadcasting and BS digital broadcasting, and data broadcasting. The receiver is connected to the Internet.

受信機は、受信する放送波に多重された情報をもとにして、サービス事業者サーバにアプリケーションのダウンロード要求を行う。受信機が、ダウンロードしたアプリケーションファイルに含まれるアプリケーションプログラムを実行することによって、受信機上でアプリケーションが動作する。受信機上で動作しているアプリケーションは、サービス事業者サーバにアクセスしてコンテンツを取得する。
また、受信機は、同期機能、アプリ制御機能など放送通信連携サービスを実行するために必要な機能である放送通信連携機能を持つ。放送通信連携機能に対するAPIは共通化されているため、アプリケーションの制作が容易であるとともに、アプリケーションは受信機に依存しない。
放送通信連携サービスでは、パーソナルコンピュータや携帯端末などのデバイスとの連携のための機能も取り入れている。
The receiver makes an application download request to the service provider server based on the information multiplexed on the received broadcast wave. When the receiver executes an application program included in the downloaded application file, the application operates on the receiver. An application operating on the receiver accesses the service provider server and acquires content.
Further, the receiver has a broadcasting / communication cooperation function which is a function necessary for executing a broadcasting / communication cooperation service such as a synchronization function and an application control function. Since the API for the broadcasting / communication cooperation function is shared, it is easy to create an application and the application does not depend on the receiver.
The broadcasting / communication cooperation service also incorporates functions for cooperation with devices such as personal computers and portable terminals.

放送通信連携機能には、放送通信連携基本機能と、必要に応じて実装するオプション機能とがある。受信機メーカは、放送通信連携基本機能を全ての受信機に実装する。アプリケーションは、APIを通して放送通信連携機能を利用する。放送通信連携機能は、後述するAPIに基づき動作する。   The broadcasting / communication cooperation function includes a broadcasting / communication cooperation basic function and an optional function to be implemented as necessary. The receiver manufacturer implements the broadcasting / communication cooperation basic function in all receivers. The application uses the broadcasting / communication cooperation function through the API. The broadcasting / communication cooperation function operates based on an API described later.

受信機が実装するAPIは、受信機に依存することなく、アプリケーションの動作が同じになるようにするために規定される。全てのアプリケーションは、APIを通して受信機の処理を行なうため、APIを介さずにアプリケーションが受信機固有の機能にアクセスすることはできない。   The API implemented by the receiver is defined so that the operation of the application is the same without depending on the receiver. Since all applications process the receiver through the API, the application cannot access functions specific to the receiver without going through the API.

[1.6 端末連携モデル]
図4は、放送通信連携システムの端末連携モデルを示す図である。
受信機は、携帯端末などの端末と連携してサービスを提供することができる。連携する端末には、例えば、パーソナルコンピュータ、携帯電話、タブレット、スマートフォン、PDA(Personal Digital Assistant)などがある。受信機は、受信機機能として他の端末が利用可能な機能をAPIとして提供する。この他の端末が利用可能な機能を提供するAPIを端末連携APIという。例えば、携帯端末上で動作するアプリケーションは、端末連携APIを利用することで、番組情報の取得などの放送リソースにアクセスしたり、再生制御等の受信機機能を呼び出したりすることができる。
[1.6 Terminal linkage model]
FIG. 4 is a diagram illustrating a terminal cooperation model of the broadcasting / communication cooperation system.
The receiver can provide a service in cooperation with a terminal such as a portable terminal. Examples of terminals to be linked include a personal computer, a mobile phone, a tablet, a smartphone, and a PDA (Personal Digital Assistant). The receiver provides, as an API, a function that can be used by other terminals as a receiver function. An API that provides a function that can be used by other terminals is called a terminal cooperation API. For example, an application running on a mobile terminal can access a broadcasting resource such as acquisition of program information or call a receiver function such as reproduction control by using the terminal cooperation API.

[1.6.1 端末連携API]
端末連携APIは、他の端末やその端末上で動作するアプリケーションが受信機の機能を利用するためのAPIである。連携する端末は、ホームネットワーク(LAN)上の端末及びインターネットを通してアクセスする端末を対象とする。各種動作を提供するAPIの規定は後述する。
[1.6.1 Terminal cooperation API]
The terminal cooperation API is an API for using functions of the receiver by other terminals and applications operating on the terminals. The terminals that cooperate with each other target terminals on a home network (LAN) and terminals that are accessed through the Internet. The definition of the API that provides various operations will be described later.

[1.6.2 端末連携API提供プロセス]
受信機上で動作する端末連携API提供プロセスは、端末連携APIを動作させる。端末連携API提供プロセスは、常駐して動作する一種のデーモンプロセスのように動作する。
[1.6.2 Terminal cooperation API provision process]
The terminal cooperation API providing process operating on the receiver operates the terminal cooperation API. The terminal cooperation API providing process operates like a kind of daemon process that operates residently.

[1.6.3 APIを呼び出すプロトコル]
端末連携APIを呼び出すプロトコルには、例えば、RESTful(REST:Representational State Transfer)、UPnP(Universal Plug and Play)、XMPP(eXtensible Messaging and Presence Protocol)などが用いられる。
[1.6.3 Protocol for calling API]
For example, RESTful (REST: Representational State Transfer), UPnP (Universal Plug and Play), XMPP (eXtensible Messaging and Presence Protocol), or the like is used as a protocol for calling the terminal cooperation API.

[1.6.4 プッシュ通知(Notification)機能]
受信機は、インターネット上のサーバ等が受信機に対してプッシュで情報を通知するNotification(通知)機能にも対応する。受信機はサーバ等からのプッシュにより通知された情報を受信する。Notification機能によって、なんらかの受信機動作を制御する場合があり、Notification機能も端末連携API仕様の一部として規定される。
[1.6.4 Push Notification Function]
The receiver also supports a Notification function in which a server on the Internet notifies the receiver of information by pushing. The receiver receives information notified by a push from a server or the like. Some receiver operations may be controlled by the Notification function, and the Notification function is also defined as part of the terminal cooperation API specification.

[2. 放送通信連携アプリケーション]
[2.1 サービスとアプリケーションモデル]
放送通信連携システムのアプリケーションモデルは、DVB−GEM1.2のアプリケーションモデルの考え方をベースに追加、変更したモデルである。
[2. Broadcast communication application]
[2.1 Service and application model]
The application model of the broadcasting / communication cooperation system is a model added or changed based on the concept of the application model of DVB-GEM1.2.

[2.1.1 放送通信連携アプリケーション]
放送通信連携サービスのアプリケーションの動作は、AV(Audio Visual)コンテンツに連動した動作(連動)と、アプリケーション単独での動作(非連動)の2つのパターンに分類される。AVコンテンツとは、放送コンテンツ(番組)または通信コンテンツ(VoD等)である。
[2.1.1 Broadcast / communication cooperation application]
The operation of the application of the broadcasting / communication cooperation service is classified into two patterns: an operation linked to AV (Audio Visual) content (linked) and an operation of the application alone (not linked). AV content is broadcast content (program) or communication content (VoD, etc.).

連動の場合、起動などのアプリケーションのライフサイクル制御は、放送または通信コンテンツに連動して行われる。アプリケーションは、AVコンテンツと一緒に配信されるAIT(Application Information Table)(アプリケーション情報テーブル、アプリケーション起動情報)をもとに起動される。この場合、視聴者による起動や終了の操作に加え、放送事業者などのAVコンテンツの提供者がアプリケーションの自動起動や、終了などのライフサイクルを制御することも可能である。
一方、非連動の場合、放送や通信コンテンツに連動せずに、アプリケーション単独で起動、終了される。この場合、アプリケーションの開始や終了などのアプリケーションのライフサイクルは、視聴者によってのみ制御される。
In the case of linkage, application life cycle control such as activation is performed in conjunction with broadcast or communication content. The application is activated based on an AIT (Application Information Table) (application information table, application activation information) distributed together with the AV content. In this case, in addition to startup and termination operations by the viewer, a provider of AV content such as a broadcaster can also control a life cycle such as automatic startup and termination of an application.
On the other hand, in the case of non-linkage, the application is started and terminated without being linked to broadcasting or communication content. In this case, the life cycle of the application such as the start and end of the application is controlled only by the viewer.

[2.1.2 サービス]
従来、サービスとは、放送事業者が編成し、スケジュールの一環として放送可能な番組の連続のことをいうが、放送通信連携システムにおいてはこの考え方を拡張し、ストリーム従属型サービスと独立型サービスの2つのサービス種別を定義する。
[2.1.2 Service]
Conventionally, a service means a series of programs that can be broadcasted as part of a schedule organized by a broadcaster, but this concept has been expanded in a broadcasting / communication cooperation system to provide stream-dependent and independent services. Two service types are defined.

図5は、サービス種別の概念図を示す。
受信機において、ストリーム従属型サービス及び独立型サービスを擬似的に選局することで、関連するアプリケーションが起動することになる。
ストリーム従属型サービスは、従来の意味でのサービスの考え方を拡張したものであり、放送や通信で伝送するAVストリームに、それに連動して動作するアプリケーション(複数可)を加えて構成される。AVストリームの選択・再生(放送の場合は選局)によって連動してアプリケーションを起動することができる。
一方、独立型サービスは、映像・音声のストリームは含まず、アプリケーション(複数可)のみで構成される。視聴者が独立型サービスを選択することで、アプリケーションが起動される。
FIG. 5 shows a conceptual diagram of service types.
In the receiver, a related application is started by pseudo-tuning the stream dependent service and the independent service.
The stream dependent service is an extension of the service concept in the conventional sense, and is configured by adding an application (or a plurality of applications) operating in conjunction with an AV stream transmitted by broadcasting or communication. An application can be started in conjunction with selection / playback of an AV stream (channel selection in the case of broadcasting).
On the other hand, the independent service does not include a video / audio stream, and is configured only by an application (a plurality of applications). When the viewer selects the stand-alone service, the application is activated.

[2.1.3 オンザフライで取得するアプリ起動とインストールしたアプリの起動]
アプリケーションの起動には、オンザフライでアプリケーションファイルを取得して起動する方法と、予め受信機に蓄積(インストール)しておいたアプリケーションファイルを起動する方法の2つがある。オンザフライとは、アプリケーションの実行時に通信によってアプリケーションファイルを取得する方法であり、非インストール型、直接実行型ともいう。
[2.1.3 Launching apps acquired on the fly and launching installed apps]
There are two methods for starting an application: a method of starting an application file acquired on the fly, and a method of starting an application file stored (installed) in a receiver in advance. On-the-fly is a method of acquiring an application file by communication when an application is executed, and is also referred to as a non-install type or a direct execution type.

なお、受信機は、後述するAITによるアプリケーションの周知をもとに、ローカルのファイルシステムにあるアプリケーションファイルのアプリケーションプログラムを起動する。受信機は、通信によりアプリケーションファイルを取得してインストールする際、関連するAITに設定されているロケーション階層内の情報(2.5.1節参照)をローカルのファイルシステム上のロケーションに書き換え、必要に応じて独立型サービスを識別する値(独立型サービスのAIT単位で必要)を生成する動作などが必要となる。   The receiver activates an application program of an application file in the local file system based on the well-known application by AIT described later. When the receiver acquires and installs an application file by communication, it rewrites the information in the location hierarchy set in the related AIT (see section 2.5.1) to the location on the local file system. Accordingly, an operation for generating a value for identifying a stand-alone service (required for each AIT unit of the stand-alone service) is required.

[2.2 アプリケーションの周知法(シグナリング)]
[2.2.1 アプリケーション起動情報(AIT)]
サービスに含まれるアプリケーションの周知は、サービス選択時に通知されるアプリケーション起動情報によって行う。アプリケーション起動情報としてARIB STD−B23(以下、ARIB−Jと記載)で定義されているAITを用いる。ストリーム従属型サービス、独立型サービスそれぞれで、そのサービス用のAITが周知される。各サービスにおけるAITの送り方の詳細を以下に示す。
[2.2 Application well-known method (signaling)]
[2.2.1 Application startup information (AIT)]
The application included in the service is made known by application activation information notified when the service is selected. AIT defined by ARIB STD-B23 (hereinafter referred to as ARIB-J) is used as application activation information. In each of the stream dependent service and the independent service, the AIT for the service is known. Details of how to send AIT in each service are shown below.

図6は、放送通信連携システムに使用するAITのテキスト表現の例を示す図である。
放送通信連携システムにおいて使用するAITは、ARIB−Jで規定されるAITをベースとする。AITには、SI(Service Information)のテーブルで伝送するためのバイナリ表現と、XML(extensible markup language)形式によるテキスト表現(AIT File)とが存在し、同図では、テキスト表現の例を示している。AITには、アプリケーションを特定するアプリケーションID(applicationIdentifier)、アプリケーション状態を制御する制御コード(controlCode)、アプリケーションファイルの格納位置(格納場所)を示すロケーション情報(location)などが記述される。
FIG. 6 is a diagram showing an example of a text expression of AIT used in the broadcasting / communication cooperation system.
The AIT used in the broadcasting / communication cooperation system is based on the AIT defined by ARIB-J. In AIT, there are binary representation for transmission in SI (Service Information) table and text representation (AIT File) in XML (extensible markup language) format. In the figure, an example of text representation is shown. Yes. In the AIT, an application ID (applicationIdentifier) for identifying an application, a control code (controlCode) for controlling an application state, location information (location) indicating a storage location (storage location) of an application file, and the like are described.

[2.2.2 AVコンテンツに連動するアプリケーションの周知]
AVコンテンツに連動するアプリケーションの周知は、MPEG(Moving Picture Experts Group)−2 TS(トランスポートストリーム:Transport Stream)で伝送するAVコンテンツにAITを多重する場合と、別途AITの情報を送る場合がある。AVコンテンツと連動させてAITを伝送することにより、受信機において、放送番組に連動するアプリケーションの起動や、番組の進行に連動したダイナミックなアプリケーションの起動などのライフサイクル制御が可能となる。
周知方法には、例えば、(1)AIT用のES(エレメンタリーストリーム:Elementary Stream)追加、(2)EIT(イベント情報テーブル:EventInformationTable)への記述子追加、(3)カルーセルでの伝送、(4)通信でのAITファイルの取得、(5)通信でのダイナミックなAITファイルの伝送、などがある。
[2.2.2 Dissemination of applications linked to AV contents]
Known applications that are linked to AV content are sometimes multiplexed with AIT on AV content transmitted by MPEG (Moving Picture Experts Group) -2 TS (Transport Stream), or sent separately with AIT information. . By transmitting AIT in conjunction with AV content, life cycle control such as activation of an application that is linked to a broadcast program or dynamic application that is linked to the progress of the program can be performed at the receiver.
Well-known methods include, for example, (1) AIT ES (Elementary Stream) addition, (2) Descriptor addition to EIT (Event Information Table), (3) Carousel transmission, ( 4) Acquisition of AIT file by communication, (5) Dynamic transmission of AIT file by communication, etc.

(1)AIT用のES追加の場合、ARIB−Jにおける規定と同様にAITのESを放送TSに多重する。 (1) When an ES for AIT is added, the AIT ES is multiplexed on the broadcast TS in the same manner as in ARIB-J.

(2)EITへの記述子追加の場合、後述する提示制御と同様に、EIT(p/f)への記述子を追加し、AITで伝送される情報と同じ情報を伝送する。 (2) In the case of adding a descriptor to the EIT, a descriptor to the EIT (p / f) is added and the same information as the information transmitted by the AIT is transmitted as in the presentation control described later.

(3)カルーセルでの伝送の場合、DSM−CC(Digital Storage Media Command and Control)データカルーセルでAITを伝送する。例えば、特定のモジュールでAITファイルを伝送する。カルーセルで伝送することで、取得時間のオーバーヘッドが想定されるが、現行の放送信号を変更する必要がない。
カルーセルでの運用例として、放送通信連携起動ファイル伝送用カルーセルのコンポーネントタグ、モジュールを固定する。例えば、コンポーネントタグに「AA」を、モジュールIDに「0000」を設定し、モジュールのType記述子にAITであることを示すタイプを設定する。受信機は、モジュールの更新を監視し、更新を検出するとAITを読み直し、AITにより指定された制御(アプリケーションのライフサイクル制御)を実行する。
(3) In the case of transmission by carousel, AIT is transmitted by DSM-CC (Digital Storage Media Command and Control) data carousel. For example, an AIT file is transmitted by a specific module. By transmitting in the carousel, an acquisition time overhead is assumed, but there is no need to change the current broadcast signal.
As an example of operation in the carousel, the component tag and module of the broadcast communication cooperative activation file transmission carousel are fixed. For example, “AA” is set in the component tag, “0000” is set in the module ID, and a type indicating AIT is set in the Type descriptor of the module. The receiver monitors the update of the module, and when the update is detected, rereads the AIT, and executes the control specified by the AIT (application life cycle control).

(4)通信でのAITファイルの取得の場合、AVコンテンツの選択と同時に、別に用意されたAITファイルを取得する。例えば、再生するAVコンテンツの情報(コンテンツID)とアプリケーション起動情報(AIT)が記述された情報を起点に両者を取得する。サーバ型放送(ARIB TR−B27)の利用単位コンテンツやエントリーコンポーネントの考え方を利用することができる。 (4) When acquiring an AIT file by communication, an AIT file prepared separately is acquired simultaneously with the selection of AV content. For example, the AV content to be reproduced (content ID) and the information describing application activation information (AIT) are acquired as starting points. It is possible to use the concept of usage unit contents and entry components of server type broadcasting (ARIB TR-B27).

(5)通信でのダイナミックなAITの伝送の場合、AVコンテンツを再生中に、新たなアプリケーションを起動したり、起動中のアプリケーションを終了させたりする制御を通信で伝送するAITにより行う。なお、予め想定されていないタイミングでの制御を行なう場合、通信を経由したプッシュによる通知を行なう。   (5) In the case of dynamic AIT transmission by communication, control for starting a new application or ending an active application during reproduction of AV content is performed by the AIT transmitted by communication. When control is performed at a timing that is not assumed in advance, notification by push through communication is performed.

[2.2.3 独立して動作するアプリケーションの周知]
受信機は、独立して動作するアプリケーションの起動情報を含むAITを通信により取得する。独立アプリケーションは、既知のアプリケーションリポジトリから取得する。個々の独立アプリケーションの起動情報を取得するまでの手順を以下に示す。
[2.2.3 Dissemination of applications that operate independently]
The receiver acquires an AIT including activation information of an application that operates independently by communication. Independent applications are obtained from known application repositories. The procedure for obtaining the startup information of each independent application is shown below.

(1)受信機にアプリケーションリポジトリのロケーションをセットする。出荷時に予め設定してもよく、複数のリポジトリを後から何らかの方法で追加してもよい。
(2)アプリケーションメニューを開くと、受信機はアプリケーションリポジトリからアプリケーションのリスト(各アプリのAITのロケーション記述を含む)を取得し、メニューにアプリを表示する。
(3)視聴者が選択したアプリケーションのAITを通信から取得する。
(1) Set the application repository location in the receiver. It may be set in advance at the time of shipment, or a plurality of repositories may be added later by some method.
(2) When the application menu is opened, the receiver acquires a list of applications (including an AIT location description of each application) from the application repository, and displays the applications on the menu.
(3) The AIT of the application selected by the viewer is acquired from communication.

上記の手順は、リポジトリが提供するWEB(ウェブ) APIを利用して実行される。また、独立して動作するアプリケーションは、AVコンテンツと連動して動作するものではないため、予め指定したタイミングでの動的なライフサイクルコントロールは行わない。予め指定されていないタイミングでの制御(終了など)は、通信経由でのプッシュでの通知(Notification)により行なう。   The above procedure is executed using a WEB (Web) API provided by the repository. In addition, since an application that operates independently does not operate in conjunction with AV content, dynamic life cycle control is not performed at a predetermined timing. Control (such as termination) at a timing not specified in advance is performed by notification (notification) by push through communication.

[2.3 アプリケーションの起動と終了]
[2.3.1 アプリケーションのライフサイクル]
[2.3.1.1 ライフサイクル]
図7は、アプリケーションのライフサイクルを示す図である。
アプリケーションの状態は、ARIB−Jにおけるアプリケーションの状態に準じ、「Not Loaded(ロード前)」、「Loaded(ロード後)」、「Paused(休止)」、「Started(開始)」、「Destroyed(破壊)」の5つの状態を持つ。これら5つの状態において、アプリケーションがロード、実行されて終了するまでの一連の過程をアプリケーションのライフサイクルと呼び、各状態間の遷移の制御をライフサイクルコントロールと呼ぶ。
[2.3 Application startup and termination]
[2.3.1 Application life cycle]
[2.3.1.1 Lifecycle]
FIG. 7 is a diagram illustrating a life cycle of an application.
The application status is “Not Loaded”, “Loaded”, “Paused”, “Started”, “Destroyed” (destroyed) according to the application status in ARIB-J. ) ". In these five states, a series of processes from when an application is loaded and executed until the application is finished is called an application life cycle, and control of transition between the states is called life cycle control.

[2.3.1.2 AVコンテンツに連動するアプリケーションの基本的ライフサイクル制御]
AVコンテンツに連動するアプリケーションのライフサイクルの制御は、ストリーム従属型サービスの選択を通して行われることを基本とする。
ストリーム従属型サービスの選択は視聴者によって行われる。サービスは、AVコンテンツやアプリケーションを含む一連のコンテンツのセットであり、アプリケーションと一緒に送られるAITに含まれる制御コードよって起動や終了などのライフサイクルが制御される。一つのサービスに複数のアプリケーションが含まれ、それらが同時に動作する場合もある。
[2.3.1.2 Basic life cycle control of applications linked to AV contents]
The life cycle control of an application linked to AV content is basically performed through selection of a stream dependent service.
The selection of the stream dependent service is made by the viewer. A service is a set of a series of contents including AV contents and applications, and a life cycle such as activation and termination is controlled by a control code included in an AIT sent together with the application. A single service may include a plurality of applications that operate simultaneously.

アプリケーション起動のトリガとなるサービスの選択は、受信機APIを通してアプリケーションから制御する場合や、受信機のレジデントアプリケーションとしてのナビゲータから制御する場合、放送サービスの場合はリモコンボタンを制御する場合、などがある。サービス切り替え時に、切り替え前後のサービスに含まれるコンテンツ(AVコンテンツやアプリケーション)の提示が切り替えられる。切り替え前後のサービスに含まれるアプリケーションが異なる場合は、切り替え前に起動していたアプリケーションはサービス切り替えによって終了し、切り替え後には異なるアプリケーションが起動可能となる。これらの動作の詳細は、2.4節に後述する。   Selection of a service that triggers application activation includes control from an application through a receiver API, control from a navigator as a resident application of a receiver, and control of a remote control button in the case of a broadcast service. . At the time of service switching, presentation of content (AV content or application) included in the service before and after switching is switched. When the applications included in the service before and after the switching are different, the application that was activated before the switching is terminated by the service switching, and a different application can be activated after the switching. Details of these operations will be described later in section 2.4.

[2.3.2 アプリケーションの起動]
[2.3.2.1 AITによる起動]
受信機においてサービス(ストリーム従属型サービス、独立型サービス)が選択されたとき、サービスと共に提供されるAITに含まれる制御コードで「auto-start」が指定されたアプリケーションは、視聴者からの明示的なアクションなしでサービス選択とともに自動的に起動する。サービス選択中は、そのサービスに対するアプリケーションシグナリングによってライフサイクルが制御される。例えば、放送サービスの場合は、放送と共に伝送されるAITを受信機が常に監視し、その変化に対応する。このように、AITの伝送などのアプリケーションシグナリングによって、受信機において新たなアプリケーションを途中で自動起動(auto-start)するよう制御できる。
[2.3.2 Application startup]
[2.3.2.1 Startup by AIT]
When a service (stream dependent service or independent service) is selected at the receiver, an application for which “auto-start” is specified in the control code included in the AIT provided together with the service is explicitly received from the viewer. Automatically starts with service selection without any action. During service selection, the life cycle is controlled by application signaling for that service. For example, in the case of a broadcast service, the receiver always monitors the AIT transmitted together with the broadcast and responds to the change. As described above, by application signaling such as AIT transmission, a new application can be controlled to be automatically started (auto-start) in the middle of the receiver.

AITによるアプリケーション起動情報において「auto-start」が指定されていないアプリケーションは、自動的には起動されず、視聴者による明示的な起動が必要となる。この明示的な起動は、受信機のレジデントアプリケーションのアプリケーションローンチャーによって行われる。例えば、放送サービス選択時に、リモコンの放送通信連携サービスボタンを押すことで、受信機においてアプリケーション起動用のメニューが開き、現在の放送(通信)サービスに連動するアプリケーション一覧が表示される。ここで視聴者は、受信機に対して、起動したいアプリケーションを選択・起動する操作を行う。   An application for which “auto-start” is not designated in the application activation information by AIT is not automatically activated, and requires explicit activation by the viewer. This explicit activation is performed by the application launcher of the resident application of the receiver. For example, when a broadcast service is selected, a broadcast communication cooperation service button on the remote control is pressed to open an application activation menu in the receiver, and a list of applications linked to the current broadcast (communication) service is displayed. Here, the viewer performs an operation of selecting and starting an application to be started on the receiver.

[2.3.2.2 放送通信連携アプリケーションからの起動]
サービス内で複数のアプリケーションを起動できるため、起動済のアプリケーションから同じサービスに含まれる他のアプリケーションを起動することもある。ARIB−Jアプリケーション実行環境では、アプリケーションIDを指定することにより他のアプリケーションを起動するAPIが規定されている。その他の実行環境の場合も、同様の機能をもったAPIを規定する。
[2.3.2.2 Start from broadcasting / communication cooperation application]
Since a plurality of applications can be started in the service, another application included in the same service may be started from the started application. In the ARIB-J application execution environment, an API for starting another application by specifying an application ID is defined. In other execution environments, an API having the same function is defined.

[2.3.2.3 BML(Broadcast Markup Language)からの起動]
受信機は、放送通信連携アプリケーション実行環境に加えて、現行のBMLデータ放送の実行環境を備えることから、BMLのAPIとして放送通信連携アプリケーションの起動を制御するAPIを追加する。なお、BMLは、ARIB STD B24に規定されるマルチメディア符号化方式であり、現行の日本の地上・BS・CSデジタル放送におけるデータ放送方式として採用されている。
[2.3.2.3 Startup from BML (Broadcast Markup Language)]
Since the receiver includes the current BML data broadcast execution environment in addition to the broadcast communication cooperation application execution environment, an API for controlling the start of the broadcast communication cooperation application is added as a BML API. BML is a multimedia coding system defined in ARIB STD B24, and is adopted as a data broadcasting system in the current Japanese terrestrial / BS / CS digital broadcasting.

[2.3.2.4 独立して動作するアプリケーションの起動]
独立型サービスは、アプリケーションのみを含む仮想的なサービスであり、独立アプリケーションを選択することで、2.3.2.1節のAITによる起動と同じメカニズムによりAITを取得してアプリケーションが起動される。ただし、独立型サービスでは、少なくとも1つのauto-startアプリケーションが起動される。独立型サービスの選択は、例えば、アプリケーションローンチャーから行う。
[2.3.2.4 Launching an independently running application]
An independent service is a virtual service that includes only an application, and by selecting an independent application, the application is started by acquiring an AIT by the same mechanism as the activation by AIT in Section 2.3.2.1. . However, in the stand-alone service, at least one auto-start application is started. The stand-alone service is selected from, for example, an application launcher.

[2.3.3 アプリケーションの終了]
[2.3.3.1 AITによる終了]
起動されたアプリケーションは、そのサービスに対するアプリケーションシグナリングによってライフサイクルが制御される。例えば、放送の場合は、放送と共に伝送されるAITを受信機が常に監視し、起動中のアプリケーションに対して制御コードdestroyを指定することで、アプリケーションを終了する。通信で伝送するストリーム従属型サービスにAITが多重されている場合も、連動するアプリケーションの終了制御が可能である。
[2.3.3 Termination of application]
[2.3.3.1 End by AIT]
The life cycle of the activated application is controlled by application signaling for the service. For example, in the case of broadcast, the receiver always monitors the AIT transmitted together with the broadcast and designates the control code destroy for the active application, thereby terminating the application. Even when the AIT is multiplexed in the stream dependent service transmitted by communication, the termination control of the linked application can be performed.

[2.3.3.2 アプリケーション自身による終了]
アプリケーション自身が、終了用のAPIを用いて自ら終了する。
[2.3.3.2 Termination by application itself]
The application itself terminates itself using the termination API.

[2.3.3.3 他のアプリケーションによる終了]
アプリケーションが実行するアプリケーション終了用のAPIを用いて、起動中の他のアプリケーションを終了させる。この場合、他のアプリケーションを終了させる適切なセキュリティポリシーが必要である。
[2.3.3.3 Termination by other applications]
Using the application termination API executed by the application, other running applications are terminated. In this case, an appropriate security policy for terminating other applications is necessary.

[2.3.3.4 別のサービスへの切替え時の終了]
受信機における別のサービスへの切り替え時、ストリーム従属型サービスに含まれるアプリケーションのうち、切り替え前のサービスに含まれるアプリケーションは終了し、新しいサービスでシグナリングされたアプリケーションが起動される。切り替え前後のサービスに同じアプリケーションが含まれる場合は、動作を継続することも可能とする。これは、AIT中のフラグで制御する。ストリーム従属型サービスに含まれるアプリケーションであるサービスバウンドアプリケーションの詳細は、4.2節に後述する。
[2.3.3.4 Termination when switching to another service]
At the time of switching to another service at the receiver, among the applications included in the stream dependent service, the application included in the service before the switching is terminated, and the application signaled by the new service is started. If the same application is included in the services before and after switching, the operation can be continued. This is controlled by a flag in the AIT. Details of the service bound application, which is an application included in the stream dependent service, will be described later in section 4.2.

[2.3.3.5 受信機による終了]
受信機は、指定したアプリケーションを受信機機能により終了する。例えば、受信機が起動中のアプリケーション一覧を表示し、視聴者の選択によって指定のアプリケーションを終了させる。
[2.3.3.5 End by receiver]
The receiver terminates the designated application by the receiver function. For example, a list of applications that are activated by the receiver is displayed, and the designated application is terminated by the viewer's selection.

[2.3.3.6 動的なアプリケーション終了]
アプリケーションの終了を動的に制御するため、アプリケーションの終了を指示するAITのファイルを受信機に送信する。この場合、AITをプッシュ通知(Notification)する。
[2.3.3.6 Dynamic application termination]
In order to dynamically control the end of the application, an AIT file instructing the end of the application is transmitted to the receiver. In this case, push notification (Notification) of AIT is performed.

[2.3.4 複数アプリケーションの起動]
[2.3.4.1 同一サービス内でシグナリングされたアプリケーション]
受信機は、同一のサービスにおいてAITにリストされたアプリケーションを同時実行させることができる。
[2.3.4 Launching multiple applications]
[2.3.4.1 Application signaled within the same service]
The receiver can simultaneously execute applications listed in the AIT in the same service.

[2.3.4.2 AVコンテンツに連動するアプリケーションと独立して動作するアプリケーションの同時起動]
AVコンテンツに連動するアプリケーションは、ストリーム従属型サービス内でしか起動されない。一方、独立して動作するアプリケーションは、任意のタイミングでAVコンテンツに連動するアプリケーションや独立して動作する他のアプリケーションと同時に起動可能とする。
[2.3.4.2 Simultaneous activation of applications that operate independently of applications linked to AV content]
An application linked to AV content is activated only within the stream dependent service. On the other hand, an application that operates independently can be activated at the same time as an application that works with AV content or another application that operates independently.

[2.3.4.3 複数アプリケーション起動時のリソース管理]
複数のアプリケーションが起動する場合、それらが同じ受信機のリソース(例えばディスプレイ)を必要とする場合がある。受信機は、リソースマネージャなどの仕組みを備えて、適切にリソースを割り振ったり、リソースが使用出来ない場合はアプリケーションの実行をやめたりするなどの動作を行う。
[2.3.4.3 Resource management when starting multiple applications]
When multiple applications are launched, they may require the same receiver resources (eg, displays). The receiver is equipped with a mechanism such as a resource manager, and performs operations such as appropriately allocating resources and stopping execution of applications when resources are not available.

[2.4 アプリケーションのバウンダリ]
[2.4.1 バウンド/アンバウンドの基本的な扱い]
アプリケーションは編成サービスに紐付いた(対応付けられた)バウンドアプリケーションと紐付かない(対応付けられていない)アンバウンドアプリケーションの2種類がある。バウンドアプリケーションがどの編成サービスと紐付いているかは、当該アプリケーションの起動情報を含んでいるAITがどの編成サービスから得られたかで判定する。
[2.4 Application boundary]
[2.4.1 Basic handling of bound / unbound]
There are two types of applications: bound applications associated (associated) with the composition service and unbound applications not associated (unassociated). The composition service to which the bound application is associated is determined by the composition service from which the AIT including the activation information of the application is obtained.

バウンドアプリケーションは、紐付いている編成サービスを受信しているときに実行可能な状態になる。つまり、当該編成サービスからAITによって起動され、当該編成サービスの受信が終了したとき(受信している編成チャンネルが変更されたとき)には実行が終了する。バウンドアプリケーションから起動された別のアプリケーションもバウンドアプリケーションとして扱う。関連する一連のバウンドアプリケーション群の大本である最初に起動されたアプリケーションが終了したときには、それによって起動された他のアプリケーションも終了する。   The bound application is in an executable state when receiving the associated organization service. That is, when the composition service is started by the AIT and the reception of the composition service is finished (when the composition channel being received is changed), the execution is finished. Another application started from the bound application is also handled as a bound application. When the first activated application that is the main book of a series of related bound applications is terminated, the other applications activated thereby are also terminated.

アンバウンドアプリケーションは編成サービスに紐付いていないので、受信している編成サービスを変更してもアプリケーションの実行は継続される。編成サービスからはアプリケーションを起動するためのAITが得られないので、他の手段(例えば、アプリケーションと紐付いているAIT File(ファイル)を、アプリケーションローンチャー等を用いて入手するなど)によって起動情報が受信機に与えられ、起動される。アンバウンドアプリケーションから起動された別のアプリケーションもアンバウンドアプリケーションとして扱う。アプリケーションは、視聴者の操作によって明示的に終了することが基本であるが、受信している編成サービスから全てのアプリケーションを終了させる指示(KILLALL)がAITによって与えられた場合にも終了する。   Since the unbound application is not linked to the composition service, the execution of the application is continued even if the received composition service is changed. Since the AIT for starting the application cannot be obtained from the composition service, the start information is obtained by other means (for example, obtaining an AIT File (file) linked to the application using an application launcher or the like). It is given to the receiver and activated. Another application started from the unbound application is also handled as an unbound application. The application is basically terminated explicitly by the operation of the viewer, but is terminated also when an instruction (KILLALL) for terminating all applications is given by the AIT from the receiving service.

[2.4.2 アンバウンドアプリケーション固有の扱い]
アンバウンドアプリケーションは編成サービスと紐付かないが、2.3.2.4節で示すように、仮想的な編成サービス(受信機の起動時に受信機内に生成される)に紐付けることにより、バウンドアプリケーションと同じ起動処理メカニズムが適用できる。
[2.4.2 Handling specific to unbound applications]
An unbound application is not associated with a composition service, but as shown in Section 2.3.2.4, a bound application is associated with a virtual composition service (generated in the receiver when the receiver is started). The same startup processing mechanism can be applied.

仮想的な編成サービスの生成方法は受信機の実装依存であり、その編成サービスにどのような識別値を与えるかは受信機実装によって異なる。しかし、アプリケーションファイルを受信機内に蓄積しておいて任意のタイミングでアプリケーションローンチャーから起動できるようにしておく場合、仮想的な編成サービスを識別するIDやアプリケーションファイルの取得先(サービス事業者サーバないしはリポジトリから取得したAITには当該サーバが取得先として記述されているので、受信機内の蓄積領域から取得するように変更する必要がある)などが受信機実装に合うようにAITの内容を受信機が更新する必要がある。   The method of generating the virtual composition service depends on the implementation of the receiver, and what identification value is given to the composition service differs depending on the implementation of the receiver. However, if application files are stored in the receiver and can be started from the application launcher at an arbitrary timing, an ID for identifying a virtual organization service or an application file acquisition destination (service provider server or Since the server is described as the acquisition destination in the AIT acquired from the repository, it is necessary to change it so that it is acquired from the storage area in the receiver). Need to be updated.

[2.5 アプリケーションの取得方法]
[2.5.1 AITをもとにした取得]
上記の記述のとおり、全てのアプリケーションの起動情報はAITにより与えられる。
アプリケーションファイルの取得は、AITに含まれるアプリケーションのロケーション情報により指示される。例えば、図3の例ではロケーション情報は、「/ApplicationList/Application/applicationSpecificDescriptor/dvbjDescriptor/location」の階層に記述される(XMLとしてはlocation要素の内容として記述される)。ロケーション情報の記述は、例えば、「http://192.168.11.37/demo.jar」となる。
上記は、HTTP(Hypertext Transfer Protocol)プロトコルを用いて、demo.jar(Java(登録商標)のアプリケーションアーカイブ)を取得する例である。使用するトランスポートプロトコルや、アプリケーションのパッケージフォーマットについては、後述する。
[2.5 Application acquisition method]
[2.5.1 Acquisition based on AIT]
As described above, the activation information of all applications is given by the AIT.
Acquisition of the application file is instructed by the location information of the application included in the AIT. For example, in the example of FIG. 3, the location information is described in a hierarchy of “/ ApplicationList / Application / applicationSpecificDescriptor / dvbjDescriptor / location” (XML is described as the contents of the location element). The description of the location information is, for example, “http://192.168.11.37/demo.jar”.
The above is an example of acquiring demo.jar (Java (registered trademark) application archive) using the HTTP (Hypertext Transfer Protocol) protocol. The transport protocol to be used and the package format of the application will be described later.

[2.5.2 アプリケーションのパッケージフォーマット]
アプリケーションのパッケージフォーマットは、アプリケーションフォーマット(Java(登録商標)やHTML5)などに依存する。受信機は、何らかのひとかたまりになったファイル、もしくはエントリーファイルを取得することによって、アプリケーション起動に必要な一連のファイル(プログラム本体や画像ファイルなど)を取得する。この一連のファイルがアプリケーションファイルである。例えば、アプリケーションファイルには、一連のファイルを圧縮したもの(zipファイル等)、Jarファイル(Java(登録商標)実行環境)、エントリーのHTMLファイル(HTML5実行環境の場合)、独自に規定したエントリーファイルなどのフォーマットが使用される。
[2.5.2 Application package format]
The package format of the application depends on the application format (Java (registered trademark) or HTML5). The receiver acquires a series of files (such as a program main body and an image file) necessary for starting the application by acquiring a group of files or entry files. This series of files is an application file. For example, the application file includes a compressed series of files (such as a zip file), a Jar file (Java (registered trademark) execution environment), an entry HTML file (in the case of the HTML5 execution environment), and an entry file defined uniquely. Format is used.

[2.5.3 アプリケーションの伝送方法]
アプリケーションファイルをネットワーク経由で取得する際の伝送方法には、HTTPプロトコルによる取得と、FILEプロトコルによる取得とがある。
HTTPプロトコルによる取得の場合、GETメソッドにより取得する。AITのロケーションの指定は、「http://〜」とする。
一方、FILEプロトコルによる取得の場合、受信機のローカルに保存された(インストールされた)アプリケーションファイル(アプリケーションプログラム)を指定するときには、AITのロケーションの指定を「file:///〜」とする。
[2.5.3 Application transmission method]
The transmission method used when acquiring the application file via the network includes acquisition using the HTTP protocol and acquisition using the FILE protocol.
In the case of acquisition using the HTTP protocol, acquisition is performed using the GET method. The designation of the location of the AIT is “http: // ˜”.
On the other hand, in the case of acquisition using the FILE protocol, when specifying an application file (application program) stored (installed) locally on the receiver, the location of the AIT is specified as “file: /// ˜”.

[3. インタフェース条件]
[3.1 放送波の放送通信連携サービス制御信号]
放送波には、2.2.2節で前述したアプリケーション起動情報を送出するメカニズムが必要である。さらに、緊急警報放送時などを想定して、全てのアプリケーションを強制終了させるために、ARIB STD−B23第二部 10.16.3.2節で規定するAITのアプリケーション制御コード(application_control_code)に「KILLALL」を追加する。表1は、追加する制御コード「KILLALL」の意味を示す。
[3. Interface conditions]
[3.1 Broadcast wave communication communication service control signal]
The broadcast wave needs a mechanism for sending the application activation information described in Section 2.2.2. Furthermore, in order to forcibly terminate all applications in the event of an emergency warning broadcast, the AIT application control code (application_control_code) defined in ARIB STD-B23 Part 2 Section 10.16.3.2 is set to “ Add “KILLALL”. Table 1 shows the meaning of the control code “KILLALL” to be added.

Figure 0005978000
Figure 0005978000

また、アプリケーションとAVコンテンツの関係からアプリケーションの提示制御を行うために、EIT、AITに記述子を追加する。詳細は4.3節に後述する。   Also, descriptors are added to EIT and AIT in order to control application presentation from the relationship between the application and AV content. Details will be described later in section 4.3.

[3.2 放送局サーバ群API]
図8は、放送通信連携システムにおける事業者間のデータの流れを示す図であり、図9は、放送通信連携システム全体におけるデータの流れを示す図である。
ここでは、図8に示す、放送局サーバ群とサービス事業者サーバ群のサービス毎のサーバとの間、放送局サーバ群と放送通信連携基盤サーバとの間、及び、放送通信連携基盤サーバとサービス事業者サーバ群のサービス毎のサーバとの間のAPIの規定、図9に示す、受信機制御と放送通信連携基盤サーバとの間、メタデータとサービス毎のサーバとの間のAPIについて述べる。
[3.2 Broadcasting Station Server Group API]
FIG. 8 is a diagram illustrating a data flow between business operators in the broadcast communication cooperation system, and FIG. 9 is a diagram illustrating a data flow in the entire broadcast communication cooperation system.
Here, as shown in FIG. 8, between the broadcast station server group and the server for each service of the service provider server group, between the broadcast station server group and the broadcast communication cooperation infrastructure server, and between the broadcast communication cooperation infrastructure server and the service A description will be given of the API definition between the server for each service of the provider server group, the API between the receiver control and the broadcasting / communication cooperation base server, the metadata and the server for each service shown in FIG.

[3.2.1 API]
放送局サーバ群を構成する各サーバである放送局サーバと、サービス事業者サーバ群を構成する各サーバであるサービス事業者サーバとの間の通信はREST形式とする。また、放送局サーバとサービス事業者サーバとの間は、提供するサービスに応じてサーバのディレクトリー構成が異なることが予想されるため、APIは双方間で取り決める。放送局サーバ及びサービス事業者サーバのURLの例を以下に示す。
[3.2.1 API]
Communication between the broadcast station server, which is each server constituting the broadcast station server group, and the service provider server, which is each server constituting the service provider server group, is in the REST format. Also, since it is expected that the directory structure of the server differs between the broadcasting station server and the service provider server depending on the service to be provided, the API is negotiated between the two. Examples of URLs of the broadcast station server and service provider server are shown below.

http://hybridcast.org/{放送局名}/{サーバ名}/{コンテントID}/{管理するデータ}/{ソート方法}/{先頭アイテム},{個数}/?{パラメータ}={値}/ http://hybridcast.org/{Broadcaster name} / {Server name} / {Content ID} / {Data to be managed} / {Sort method} / {First item}, {Number} /? {Parameter} = { value}/

[3.2.2 レコメンドサービス]
図10は、レコメンドサービスのシーケンスを示す図である。サービス事業者サーバ群と、放送局サーバのインタフェース部との間で使用されるメソッドは、「GET」、「POST」、「PUT」、「DELETE」である。コマンドフォーマットの例を以下に示す。
[3.2.2 Recommendation service]
FIG. 10 is a diagram illustrating a sequence of a recommendation service. Methods used between the service provider server group and the interface unit of the broadcast station server are “GET”, “POST”, “PUT”, and “DELETE”. An example of the command format is shown below.

(1)http://hybridcast.or.jp/{放送局名}/(サーバ名)/{コンテントID}/{管理するデータ}/{ソート方法}/{先頭アイテム},{個数}/
(2)http://hybridcast.or.jp/{放送局名}/(サーバ名)/{視聴者ID}/{管理するデータ}/{ソート方法}/{先頭アイテム},{個数}/
(3)http://hybridcast.or.jp/{放送局名}/(サーバ名)/{レビューID}/{管理するデータ}/{ソート方法}/{先頭アイテム},{個数}/
(1) http://hybridcast.or.jp/{broadcast station name} / (server name) / {content ID} / {data to be managed} / {sort method} / {first item}, {number} /
(2) http://hybridcast.or.jp/{broadcast station name} / (server name) / {viewer ID} / {data to be managed} / {sort method} / {first item}, {number} /
(3) http://hybridcast.or.jp/{Broadcasting station name} / (Server name) / {Review ID} / {Data to be managed} / {Sort method} / {First item}, {Number} /

また、パラメータには、{放送局名}、{サーバ名}、{コンテントID}、{視聴者ID}、{レビューID}、{管理するデータ}、{ソート方法}、{先頭アイテム}、{個数}等々がある。   Parameters include {broadcast station name}, {server name}, {content ID}, {viewer ID}, {review ID}, {data to be managed}, {sort method}, {first item}, { Number} etc.

[3.2.3 管理対象のデータ]
管理対象のデータには、コンテンツ情報、ユーザ情報、ユーザ・ジェネレイテッド・コンテンツ情報、デバイス情報、認証情報がある。
コンテンツ情報は、タイトル、概要、ジャンル、放送日時、放送時間(尺)、映像モード、音声モード、字幕データ、台本、出演者、音楽、制作者、製作会社、著作、推薦番組、動画URI、再生回数、CM、タイムスタンプ情報、等を示すデータを含む。ユーザ情報は、ユーザ(視聴者)の名前、年齢、性別、地域、レビュー書込み数、コメント書込み数、お気に入り、フレンドリスト、再生場所(時刻)、再生終了場所(時刻)、番組視聴履歴等を示すデータを含む。ユーザ・ジェネレイテッド・コンテンツ情報は、コンテンツID、ユーザID、レビュー内容、レビュー書込み時刻、レビュー評価、等を示すデータを含む。デバイス情報は、デバイスIDを含む。認証情報は、認証IDを含む。
[3.2.3 Data to be managed]
Data to be managed includes content information, user information, user generated content information, device information, and authentication information.
Content information includes title, summary, genre, broadcast date / time, broadcast time (scale), video mode, audio mode, caption data, script, performer, music, producer, production company, work, recommended program, video URI, playback It includes data indicating the number of times, CM, time stamp information, and the like. The user information indicates the user's (viewer) name, age, gender, region, number of reviews written, number of comments written, favorites, friend list, playback location (time), playback end location (time), program viewing history, etc. Contains data. The user generated content information includes data indicating a content ID, a user ID, a review content, a review writing time, a review evaluation, and the like. The device information includes a device ID. The authentication information includes an authentication ID.

[3. トランスポートフォーマット]
[3.3.1 通信で扱う映像/音声について]
通信で扱う映像や音声は、デジタルテレビネットワーク機能仕様 ストリーミング機能仕様書 プロトコル編V1.1(デジタルテレビ情報化研究会)に準拠する。
[3. Transport format]
[3.3.1 Video / audio handled by communication]
Video and audio handled by communications conform to the Digital TV Network Functional Specification, Streaming Functional Specification, Protocol Version V1.1 (Digital Television Information Society).

[3.3.1.1 映像・音声のモノメディアフォーマットとの関連]
MPEG−2 VideoあるいはH.264/MPEG−4 AVC(Advanced Video Coding)で符号化された映像と、MPEG−1 Audio Layer II、MPEG−2 Audio AACで符号化された音声、および字幕等の多重化には、TTS(Timestamped Transport Stream)形式を使用する。ただし、MPEG2−TS、MMT(MPEG Media Transport)、MP4等も使用可能である。
[3.3.1.1 Relationship to Video / Audio Monomedia Format]
MPEG-2 Video or H.264 For multiplexing video encoded with H.264 / MPEG-4 AVC (Advanced Video Coding), audio encoded with MPEG-1 Audio Layer II, MPEG-2 Audio AAC, subtitles, etc. Use the Transport Stream format. However, MPEG2-TS, MMT (MPEG Media Transport), MP4, etc. can also be used.

[3.3.1.2 転送プロトコル関係]
図11は、転送プロトコルスタックを示す図である。
ストリーム伝送は、RTP(Real-Time Transport Protocol)/UDP(User Datagram protocol)およびHTTP/TCP(Transmission Control Protocol)を用いる。なお、RTP/UDPを用いる場合、オプションとして、誤り訂正の情報を伝送してもよい。また、HTTP/TCPを用いる場合、HTTPのコネクション、メソッド、ヘッダを利用してストリーム制御を行う。伝送がRTP(Real-time Transport Protocol)で行われる場合、ストリーム制御情報はRTSP(Real Time Streaming Protocol)を用いる。
[3.3.1.2 Transfer protocol]
FIG. 11 is a diagram illustrating a transfer protocol stack.
Stream transmission uses RTP (Real-Time Transport Protocol) / UDP (User Datagram Protocol) and HTTP / TCP (Transmission Control Protocol). When RTP / UDP is used, error correction information may be transmitted as an option. In addition, when HTTP / TCP is used, stream control is performed using HTTP connections, methods, and headers. When transmission is performed by RTP (Real-time Transport Protocol), RTSP (Real Time Streaming Protocol) is used as stream control information.

[3.3.2 字幕関連]
多言語字幕は、Timed Text Markup Language(W3C(World Wide Web Consortium))に準拠する。なお、同期については別途アプリケーションレベルで実施する。また、各対応フォントはサーバから必要に応じてダウンロードする。例えば、HTTPのペイロードにフォントファイルを載せる。この場合、WebのDynamic Fonts、PFR(PortableFont Resource)を利用する。
フォントの容量は約5−35MB(メガバイト)程度が望ましい。
[3.3.2 Subtitles]
Multilingual subtitles comply with Timed Text Markup Language (W3C (World Wide Web Consortium)). Note that synchronization is performed separately at the application level. Each corresponding font is downloaded from the server as necessary. For example, a font file is placed on the HTTP payload. In this case, Web Dynamic Fonts and PFR (PortableFont Resource) are used.
The font capacity is preferably about 5-35 MB (megabytes).

[3.4 モノメディアフォーマット]
放送通信連携サービスにおけるモノメディア符号化は下記に定義されたものを用いる。
[3.4 Monomedia format]
The monomedia encoding in the broadcasting / communication cooperation service uses the one defined below.

[3.4.1 動画]
動画には、ARIB STD−B32 2.4版第1部3.1節で規定されるMPEG−2 Video方式および同3.2節で規定されるMPEG4−AVC方式が用いられ、同5.1節で規定されるテレビジョンサービスの符号化パラメータの制約条件が適用される。
[3.4.1 Video]
For the moving images, the MPEG-2 Video system defined in ARIB STD-B32 2.4 edition, Part 1, section 3.1 and the MPEG4-AVC system defined in section 3.2 are used. The restrictions of the encoding parameters of the television service specified in section are applied.

[3.4.2 音声]
音声には、MPEG−2 Audioや、PCM(Pulse Code Modulation)(AIFF−C(Audio Interchange File Format Compression))を用いる。
MPEG−2 Audioの場合、ARIB STD−B32 2.4版第2部3.1節で規定されるMPEG−2 AAC方式が用いられ、同第5章で規定される符号化パラメータの制約条件が適用される。
PCMの場合、ARIB STD−B24 5.4版第一編第2部6.2節で規定される方式が用いられる。
付加音には、ARIB STD−B24 5.4版第一編第2部6.4節で規定される方式が用いられる。
[3.4.2 Voice]
MPEG-2 Audio and PCM (Pulse Code Modulation) (AIFF-C (Audio Interchange File Format Compression)) are used for audio.
In the case of MPEG-2 Audio, the MPEG-2 AAC system defined in ARIB STD-B32 2.4 Edition, Part 2, Section 3.1 is used, and the encoding parameter constraints defined in Chapter 5 are Applied.
In the case of PCM, the system defined in ARIB STD-B24 5.4 version 1st part 2 section 6.2 is used.
For the additional sound, the system defined in ARIB STD-B24 5.4 version 1st part 2 section 6.4 is used.

[3.4.3 静止画]
JPEG(Joint Photographic Experts Group)の場合、ARIB STD−B24
5.4版第一編第2部5.2節で規定される符号化方式が用いられる。
PNG(Portable Network Graphics:ポータブル・ネットワーク・グラフィックス)の場合、ISO/IEC 15948:2003にて規定される方式が用いられる。これは、W3C Recommendation Portable Network Graphics (PNG) Specification (Second Edition)と同内容である
[3.4.3 Still image]
In the case of JPEG (Joint Photographic Experts Group), ARIB STD-B24
The encoding method defined in Section 5.4 of the 5.4 edition, Volume 1, Part 2 is used.
In the case of PNG (Portable Network Graphics), a method defined in ISO / IEC 15948: 2003 is used. This is the same content as W3C Recommendation Portable Network Graphics (PNG) Specification (Second Edition)

[3.4.4 文字]
文字符号化には、ARIB STD−B24 5.4版第一編第2部7.2節で規定される国際符号化文字集合が用いられる。
文字符号集合には、同7.2.1.1.3節で規定されるBMP(Basic Multilingual Plane)セットが用られ、表7−20が適用される。また、ISO/IEC10646:2003追補5および同追補6が適用される。
外字には、ARIB STD−B24 5.4版第一編第2部7.2.1.2節で規定される方式またはARIB STD−B23第一部5.2.1.2節で規定される方式などが適用される。
制御符号には、ARIB STD−B24 5.4版第一編第2部7.2.2.1節で規定されるC0制御符号のうち、APR(CR)、APD(LF)のみが用いられる。その他のC0制御符号およびC1制御符号は用いられない。
文字符号の変換は、ARIB STD−B24 5.4版第一編第2部付録規定Eに従う。
[3.4.4 characters]
For character encoding, an internationally encoded character set defined in ARIB STD-B24 5.4 Edition, Volume 1, Part 2, Section 7.2 is used.
For the character code set, the BMP (Basic Multilingual Plane) set defined in section 7.2.1.1.3 is used, and Table 7-20 is applied. Also, ISO / IEC 10646: 2003 supplement 5 and supplement 6 are applied.
The external characters are defined in the ARIB STD-B24 5.4 edition, Part 1, Part 2 Section 1.2.1.2, or in the ARIB STD-B23 Part 1 section 5.2.1.2. The method is applied.
As control codes, only APR (CR) and APD (LF) are used among the C0 control codes defined in ARIB STD-B24 5.4 version 1 Part 2 Section 7.2.2.1. . Other C0 control codes and C1 control codes are not used.
The conversion of the character code is in accordance with ARIB STD-B24 5.4 Edition, Part 1, Part 2, Appendix E.

上記に規定する文字符号化方式以外の方式で情報が符号化されている場合、送出ないしは受信機内の適切なプロセスにおいて上記の文字符号化方式に変換し、処理を行う。すなわち、他の符号化方式による文字符号をアプリケーションからは直接扱わない。   When information is encoded by a method other than the character encoding method defined above, the information is converted into the character encoding method and processed in an appropriate process in the transmission or receiver. That is, the character code by another encoding method is not directly handled by the application.

[3.5 アプリケーションフォーマット]
受信機上で実行可能なアプリケーションの記述方法を示す。この記述方法により作成されたアプリケーションを実行するための実行環境と、セキュアマネージャとの結合については4章に示す。
[3.5 Application format]
Describes how to describe applications that can be executed on the receiver. The connection between the execution environment for executing the application created by this description method and the secure manager is shown in Chapter 4.

[3.5.1 受信機で実行可能なアプリケーションフォーマット]
受信機で実行可能なアプリケーションの記述方式として、BML(ARIB STD−B24)、ARIB−J(ARIB STD−B23)、HTML5(W3C HTML5
Working draft − 2011/Jan/13)を規定する。
[3.5.1 Application format executable by receiver]
As a description method of an application executable by the receiver, BML (ARIB STD-B24), ARIB-J (ARIB STD-B23), HTML5 (W3C HTML5
Working draft-2011 / Jan / 13).

[3.5.2 BML]
受信機は、地上デジタル放送運用規定(ARIB TR−B14)またはBSデジタル放送運用規定(ARIB TR−B15)に準ずるBML文書を提示する機能を有する。
受信機は、地上デジタル放送またはBSデジタル放送で提供されるデータ放送サービスを既存の規格どおりに提示できなくてはならない。ただし、受信機は、放送でデータカルーセル方式によって配信されるBMLコンテンツの提示のみを必須とし、通信でHTTPプロトコルによって提供されるBMLコンテンツ(TR−B14 第三編第2部5.14節、TR−B15 第一部第三編8.14節)の提示は必須としない。
[3.5.2 BML]
The receiver has a function of presenting a BML document that conforms to the terrestrial digital broadcast operation regulations (ARIB TR-B14) or the BS digital broadcast operation regulations (ARIB TR-B15).
The receiver must be able to present data broadcasting services provided by terrestrial digital broadcasting or BS digital broadcasting in accordance with existing standards. However, the receiver is required only to present BML content distributed by broadcasting by the data carousel method, and BML content provided by the HTTP protocol by communication (TR-B14 Volume 3, Part 2, Section 5.14, TR -B15 Part 1, Part 3, Section 8.14) is not mandatory.

また、データ放送コンテンツ(BML)を起点として、以下に規定される通信アプリケーションの起動を行うための放送用拡張APIとして、browser.startHybridcastApp()、getAITInfo()を規定する。   Also, starting from the data broadcast content (BML), browser.startHybridcastApp () and getAITInfo () are defined as broadcast extended APIs for starting the communication application defined below.

表2は、browser.startHybridcastApp()の規定を示す。browser.startHybridcastApp()は、放送通信連携アプリケーションを起動するAPIである。   Table 2 shows the definition of browser.startHybridcastApp (). browser.startHybridcastApp () is an API for starting a broadcasting / communication cooperation application.

Figure 0005978000
Figure 0005978000

表3は、getAITInfo()の規定を示す。getAITInfo()は、受信中のサービスに含まれる最新のAIT情報を取得するAPIである。   Table 3 shows the definition of getAITInfo (). getAITInfo () is an API for acquiring the latest AIT information included in the service being received.

Figure 0005978000
Figure 0005978000

[3.5.3 HTML5]
[3.5.3.1 記述方式]
受信機は、通信から提供されるプレゼンテーションエンジン型アプリケーションの記述方式としてHTML5をサポートする。JavaScript APIとして、下記のものをサポートする。なお、下記のAPIのうち、W3Cで検討が行われているものにはWorking Draft(WD)またはEditor’s Draft(ED)が含まれる。ただし、放送波で伝送されるデータカルーセルに関連するAPIは必須としない。
[3.5.3 HTML5]
[3.5.3.1 Description method]
The receiver supports HTML5 as a description method of a presentation engine type application provided from communication. The following are supported as JavaScript API. Of the following APIs, those being studied by W3C include Working Draft (WD) or Editor's Draft (ED). However, the API related to the data carousel transmitted by the broadcast wave is not essential.

(1)System Information API(W3C Working Draft 02 Feb. 2010)(2)WebSocket API(W3C Editor’s Draft 28 Feb. 2011)(3)File API(W3C Working Draft 26 Oct. 2010)(4)Permission for File API, System Information API(Permissions for Device API Access, W3C Working Draft 05 Oct. 2010)(5)Device Description Repository Simple API(W3C Recommendation 05 Dec. 2008)(6)API for Media Resource 1.0(W3C Working Draft 08 June 2010)(7)Web Storage(W3C Working Draft 08 Feb. 2011)(8)Server-Sent Events(W3C Editor’s Draft 28 Feb. 2011)(9)Indexed Database API(W3C Working Draft 19 Aug. 2010)(10)SIアクセスAPI(11)選局API
(12)印刷
(13)予約
(1) System Information API (W3C Working Draft 02 Feb. 2010) (2) WebSocket API (W3C Editor's Draft 28 Feb. 2011) (3) File API (W3C Working Draft 26 Oct. 2010) (4) Permission for File API , System Information API (Permissions for Device API Access, W3C Working Draft 05 Oct. 2010) (5) Device Description Repository Simple API (W3C Recommendation 05 Dec. 2008) (6) API for Media Resource 1.0 (W3C Working Draft 08 June 2010 (7) Web Storage (W3C Working Draft 08 Feb. 2011) (8) Server-Sent Events (W3C Editor's Draft 28 Feb. 2011) (9) Indexed Database API (W3C Working Draft 19 Aug. 2010) (10) SI Access API (11) Tuning API
(12) Print (13) Reservations

[3.5.3.2 ブラウザ]
受信機のHTML5ブラウザは、JavaScript処理系、Web Workers(W3C Working Draft 08 Feb. 2011)、Widget Interface(W3C Working Draft 3 Feb. 2011)、HTML Canvas2D Context(W3C Editor’s Draft 28 Feb. 2011)の機能を実装する。Web Workersは、マルチタスクをサポートするため、Widget Interfaceは、独立アプリケーションをサポートするため、HTML Canvas 2D Contextは、2次元ベクトルグラフィックスをサポートするために必要である。
[3.5.3.2 Browser]
The HTML5 browser of the receiver has the functions of JavaScript processing system, Web Workers (W3C Working Draft 08 Feb. 2011), Widget Interface (W3C Working Draft 3 Feb. 2011), HTML Canvas2D Context (W3C Editor's Draft 28 Feb. 2011) Implement. Web Workers supports multitasking, Widget Interface supports independent applications, and HTML Canvas 2D Context is necessary to support 2D vector graphics.

[3.5.4 ARIB−J]
受信機は、通信から提供されるアプリケーション実行エンジン型アプリケーションの記述方式としてARIB−Jをサポートする。また、複数ストリーム間の同期APIとしてDVB Bluebook A153(GEM Media Synchronization API)を用いる。
[3.5.4 ARIB-J]
The receiver supports ARIB-J as a description method of an application execution engine type application provided from communication. Further, DVB Bluebook A153 (GEM Media Synchronization API) is used as a synchronization API between a plurality of streams.

[3.6 受信機API]
以下に、HTML5およびARIB−Jで使用可能な受信機APIについて説明する。
[3.6 Receiver API]
Hereinafter, receiver APIs usable in HTML5 and ARIB-J will be described.

[3.6.1 名前空間]
名前空間とは、サーバ上や受信機内に存在する、映像音声コンテンツ、アプリケーション、モノメディアファイルなど、放送通信連携システムで扱う様々なリソースの位置を特定するための文字列の記述規則である。3.5.2節以降で使用する各種リソースを参照するための名前空間の記法は分類毎に規定する。リソースには、インターネットサーバ上のリソース、アプリケーションキャッシュ上のリソース、放送のリソースがある。インターネットサーバ上のリソースには、VODコンテンツなどのストリームリソースや、アプリケーション、アプリケーションから参照されるその他のリソースなどのファイルリソースがある。放送のリソースには、放送中の番組、過去・未来の番組などのストリームリソースや、モジュール、イベントメッセージなどのカルーセルリソースがある。
[3.6.1 Namespace]
The name space is a character string description rule for specifying the positions of various resources such as video / audio contents, applications, monomedia files, and the like that are handled on the server or in the receiver. Namespace notation for referring to various resources used in section 3.5.2 and after is specified for each classification. The resources include resources on the Internet server, resources on the application cache, and broadcasting resources. Resources on the Internet server include stream resources such as VOD content and file resources such as applications and other resources referred to by applications. Broadcast resources include stream resources such as programs being broadcast, past and future programs, and carousel resources such as modules and event messages.

[3.6.2 放送通信連携インタフェース]
放送通信連携インタフェースには、以下のインタフェースがある。
[3.6.2 Broadcasting / communication cooperation interface]
The broadcasting / communication cooperation interface includes the following interfaces.

(1)getRunningApplications():実行中のアプリケーションの情報を取得する。getRunningApplicationsの戻り値は、apps[]と、アプリケーション毎のapplication_id及びrunning_levelとを含む。apps[]には、実行中アプリケーションのリストが設定される。application_idには、アプリケーションIDが設定され、アプリケーションが一般アプリケーション(非公式アプリケーション)の場合はnullである。running_levelには、実行レベル(認証結果および視聴者設定の状態)が設定される。
なお、セキュリティ上の観点から、他アプリケーションに関して取得できる情報は制限すべきである。
(1) getRunningApplications (): Acquires information on applications being executed. The return value of getRunningApplications includes apps [] and application_id and running_level for each application. In apps [], a list of running applications is set. In application_id, an application ID is set, and is null when the application is a general application (unofficial application). In running_level, an execution level (authentication result and viewer setting state) is set.
From a security point of view, information that can be acquired for other applications should be restricted.

(2)queryApplicationInfo():指定したアプリケーションの情報を取得する。
(3)getProgramInfo():受信中の放送の情報を取得する。戻り値は、tuner_state、network_id、ts_id、orig_ts_id、service_id、event_id、content_idである。tuner_stateには、受信状態を表す値が設定される。
(4)getEPGInfo():受信中の放送のEIT(+SDT)中の各種情報を取得する。
(5)saveApplicationToCache():サーバ上のアプリケーションファイルをキャッシュに保存する。
(2) queryApplicationInfo (): Acquires information about the specified application.
(3) getProgramInfo (): Acquires information on the broadcast being received. Return values are tuner_state, network_id, ts_id, orig_ts_id, service_id, event_id, and content_id. In tuner_state, a value indicating the reception state is set.
(4) getEPGInfo (): Acquires various information in the EIT (+ SDT) of the broadcast being received.
(5) saveApplicationToCache (): Saves the application file on the server in the cache.

(6)queryApplicationInCache():キャッシュ中のアプリケーションファイル(アプリケーションプログラム)を検索する。queryApplicationInCache()の引数は、application_id、getDSMCCModule()、addBroadcastSignalListener()、getListFromHybridcastMenu()である。application_idには、認証機関から発行されたアプリケーションIDが設定される。getDSMCCModule()は、放送波から指定のモジュールを取得する。addBroadcastSignalListener()は、SI、緊急情報、カルーセルおよびイベントメッセージの更新を監視するリスナを登録する。getListFromHybridcastMenu()は、トップメニューアプリケーションのリストを取得する。queryApplicationInCache()の戻り値は、user_apps[]、broadcaster_apps[]、vendor_apps[]である。 (6) queryApplicationInCache (): Search for an application file (application program) in the cache. The arguments of queryApplicationInCache () are application_id, getDSMCCModule (), addBroadcastSignalListener (), and getListFromHybridcastMenu (). In application_id, an application ID issued from the certification authority is set. getDSMCCModule () acquires the specified module from the broadcast wave. addBroadcastSignalListener () registers a listener that monitors updates of SI, emergency information, carousel, and event messages. getListFromHybridcastMenu () acquires a list of top menu applications. The return values of queryApplicationInCache () are user_apps [], broadcaster_apps [], and vendor_apps [].

(7)addApplicationToHybridcastMenu():トップメニューにアプリケーションを追加する。
(8)getKeyFromBroadcast():放送から限定サーバアクセスのための鍵情報を取得する。
(9)querySupportedFunction():アプリケーションブラウザの機能を問い合わせる。これは、機能/APIが利用可能かチェックすることを目的として使用される。
(7) addApplicationToHybridcastMenu (): Adds an application to the top menu.
(8) getKeyFromBroadcast (): Acquires key information for limited server access from broadcasting.
(9) querySupportedFunction (): Queries the application browser function. This is used for the purpose of checking whether the function / API is available.

[3.6.3 BroadacastSignalListenerインタフェース]
BroadacastSignalListenerインタフェースは、放送から取得するSI、緊急情報、カルーセル、イベントメッセージを監視するためのリスナーインタフェースである。バウンドアプリケーション実行中に、紐付いている編成サービスが変更された場合にもこのインタフェースのイベントが発生する。
[3.6.3 BroadacastSignalListener interface]
The BroadacastSignalListener interface is a listener interface for monitoring SI, emergency information, carousel, and event messages acquired from broadcasting. This interface event also occurs when the associated organization service is changed during bound application execution.

[3.6.4 LocalDatabaseインタフェース]
LocalDatabaseインタフェースは、視聴者情報を受信機内で保持・管理するためのインタフェースである。視聴者情報は、個人情報などサーバ側に出すべきでない情報であり、視聴者ID、受信機IDなど最低限の情報である。
[3.6.4 LocalDatabase interface]
The LocalDatabase interface is an interface for holding and managing viewer information in the receiver. The viewer information is information that should not be output to the server side such as personal information, and is minimum information such as a viewer ID and a receiver ID.

[3.6.5 同期関連API]
SynchronizationManagerインタフェースとして、DVB Bluebook A153(GEM Stream Synchronization API)と同様のAPIを導入する。さらに、以下のインタフェースをAPIとして追加する。
[3.6.5 Synchronization API]
An API similar to DVB Bluebook A153 (GEM Stream Synchronization API) is introduced as the SynchronizationManager interface. Further, the following interface is added as an API.

(1)getCurrentSTC():現在のSTC(System Time Clock)値を取得する。なお、MPEG 2 Systems規格では、送信側のシステムクロック(STC)をMPEG2トランスポートストリーム中のPCR(Program Clock Reference)信号として多重し配信することで、受信機内部のシステムクロック(STC)が送信側のSTCと同期されるように規定している。
(2)getCurrentPositionInProgram():番組開始からの経過時間を取得する。
(3)delayStreamPresentation():提示中の放送ストリームの遅延提示を開始する。
(4)getCurrentDelay():提示中の放送ストリームの(本来の提示時刻からの)遅延時間量を取得する。
(1) getCurrentSTC (): Acquires the current STC (System Time Clock) value. In the MPEG 2 Systems standard, the system clock (STC) on the receiver side is multiplexed and distributed as a PCR (Program Clock Reference) signal in the MPEG2 transport stream so that the system clock (STC) inside the receiver is transmitted on the transmission side. To be synchronized with the STC.
(2) getCurrentPositionInProgram (): Acquires the elapsed time from the start of the program.
(3) delayStreamPresentation (): Starts delay presentation of the broadcast stream being presented.
(4) getCurrentDelay (): Acquires the delay time amount (from the original presentation time) of the broadcast stream being presented.

[3.6.6 SecurityExceptionインタフェース]
アプリケーションが、現在の実行レベルにおいて禁止されている関数呼び出しおよびプロパティ操作をした場合に発生する例外のインタフェースである。ecurityExceptionインタフェースは、上記各APIの呼び出し、あるいは、放送を参照するオブジェクト(HTML5なら<video>、ARIB−Jなら○○Controller)に対する各種操作によって発生する。
[3.6.6 SecurityException interface]
An interface for exceptions that occur when an application makes function calls and property operations that are prohibited at the current execution level. The ecurityException interface is generated by calling each of the above APIs or by various operations on an object (<video> for HTML5 or OO Controller for ARIB-J) that references a broadcast.

[3.7 受信機機能]
受信機は、組み込み機能として、下記の機能を備える。
[3.7.1 アプリケーションローンチャー]
アプリケーションローンチャーは、アプリケーションの起動のためのアプリケーションの選択を提供する受信機組み込みの機能である。選択の対象は下記のものである。
・受信機内に登録または蓄積されたアプリケーション。
・受信機内のプリインストールアプリケーション。
・既知のリポジトリに登録されたアプリケーション。
・アプリケーション起動情報によって起動指示が記述されたアプリケーションのうち、アプリケーション制御符号がAUTO_START以外のアプリケーション。
・ユーザによって終了したAUTO_STARTが指示されたアプリケーション(これは、当該アプリケーションが実行可能な条件(視聴中の編成サービス、時間等)が満たされていた時に当該アプリケーションを再起動できるようにするための機能である)。
[3.7 Receiver function]
The receiver has the following functions as built-in functions.
[3.7.1 Application Launcher]
The application launcher is a receiver built-in function that provides application selection for application launch. The target of selection is as follows.
・ Applications registered or stored in the receiver.
-Pre-installed application in the receiver.
・ Applications registered in known repositories.
・ Applications whose application control code is other than AUTO_START among applications whose start instructions are described by application start information.
・ Application for which AUTO_START has been instructed by the user (this is a function for enabling the application to be restarted when the conditions (execution service being watched, time, etc.) that can be executed by the application are satisfied) Is).

アプリケーションローンチャーを起動する方法としては、リモコン上の特定のキー押下、受信機の組み込みメニューの中からの選択などが挙げられる。
また、アプリケーションローンチャーは、リポジトリ中のアプリケーションをロンチャー自身に登録可能とし、ユーザが特定のアプリケーションを素早く簡便に起動できる機能を備える。また、アプリケーションローンチャーはアプリケーションの実行状態の如何にかかわらず、ユーザが任意のタイミングで起動でき、かつアプリケーションの実行状態に影響を及ぼさない。
As a method for starting the application launcher, a specific key press on the remote controller, selection from a built-in menu of the receiver, or the like can be given.
In addition, the application launcher has a function that allows an application in the repository to be registered in the launcher itself, and allows a user to start a specific application quickly and easily. Further, the application launcher can be activated at any timing by the user regardless of the execution state of the application, and does not affect the execution state of the application.

[3.8 端末連携機能]
受信機は、家庭内のLAN等で接続した携帯端末上で動作するアプリケーションに対して、API(端末連携API)を利用できるようにする。これにより、テレビ(受信機)と各種端末を連動して動作させることができる。例えば、携帯端末上のアプリケーションが、テレビで視聴中の番組情報を取得したり、テレビに提示する放送チャンネルや、VODコンテンツの再生制御等を行うなど、受信機の機能を呼び出したりすることが可能になる。
このような端末連携機能実現のため、受信機は、端末連携マネージャーを備える。下記に、端末連携マネージャーによる端末連携機能の詳細を記述する。なお、本実施形態では、端末連携マネージャーは、図1に示す外部I/F部417に備えられる。
[3.8 Terminal linkage function]
The receiver makes it possible to use an API (terminal cooperation API) for an application that operates on a portable terminal connected via a home LAN or the like. Accordingly, the television (receiver) and various terminals can be operated in conjunction with each other. For example, an application on a mobile terminal can call up the function of a receiver, such as acquiring information about a program being viewed on a TV, performing a broadcast channel to be displayed on the TV, or controlling playback of VOD content. become.
In order to realize such a terminal cooperation function, the receiver includes a terminal cooperation manager. The details of the terminal cooperation function by the terminal cooperation manager are described below. In this embodiment, the terminal cooperation manager is provided in the external I / F unit 417 shown in FIG.

[3.8.1 端末連携のスコープ]
受信機における端末連携のスコープとして、以下を想定する。
・ホームネットワーク:家庭内のLANに、受信機と連携する端末が共に接続しているケース。
・インターネット:インターネットを通して、複数の受信機が連携したり、受信機と携帯端末等が連携したりするケース。
[3.8.1 Terminal cooperation scope]
The scope of terminal cooperation at the receiver is assumed as follows.
Home network: A case where a terminal linked with a receiver is connected to a home LAN together.
・ Internet: A case where a plurality of receivers are linked through the Internet, or a receiver and a portable terminal are linked.

[3.8.2 端末連携マネージャー]
端末連携マネージャーは、端末間での通信の確立に加え、連携相手の端末からのAPI呼び出しによる受信機機能の制御、端末へのプッシュでの情報通知を行うプロセスであり、受信機の電源投入と同時に起ち上がる受信機のソフトウェアモジュールである。
受信機と端末が連携するため、端末連携マネージャーでは、通信の確立のための機器発見プロトコルや、連携用APIの呼び出しや戻り値を送受信するための通信プロトコルが規定されている。
[3.8.2 Terminal cooperation manager]
In addition to establishing communication between terminals, the terminal cooperation manager is a process for controlling the receiver function by API call from the terminal of the cooperation partner, and notifying information by pushing to the terminal. It is a software module of the receiver that rises at the same time.
In order for the receiver and the terminal to cooperate, the terminal cooperation manager defines a device discovery protocol for establishing communication and a communication protocol for calling and returning a cooperation API and a return value.

図12は、端末連携マネージャーの概念を示す図である。
受信機は、図12に示すように、複数の機器発見プロトコル、通信プロトコルに対応した構成を有する。例えば、ホームネットワークでの連携において異なる複数のプロトコルに対応する場合や、ホームネットワーク用のプロトコル、インターネットを通しての連携に用いるプロトコルとして異なるプロトコルを利用することが挙げられる。
また、受信機は、携帯端末上で動作するアプリケーションに対して、受信機の受信機機能との連携だけなく受信機上で動作するアプリケーションとの連携(アプリケーション間連携)についての仕組みも提供する。
FIG. 12 is a diagram illustrating the concept of the terminal cooperation manager.
As shown in FIG. 12, the receiver has a configuration corresponding to a plurality of device discovery protocols and communication protocols. For example, a case where a plurality of different protocols are supported in cooperation in a home network, a case where different protocols are used as a protocol for home network, and a protocol used for cooperation through the Internet can be mentioned.
The receiver also provides a mechanism for not only cooperation with the receiver function of the receiver but also cooperation (inter-application cooperation) with the application operating on the receiver for the application operating on the mobile terminal.

受信機機能を呼び出すAPIは、アプリケーション用の拡張APIとして規定するが、携帯端末に対しても基本的に同等の機能を持ったAPIを提供する。
アプリケーションと携帯端末との連携に関しては、アプリケーション次第でどのような機能や連携の仕方を提供するかは異なる。本端末連携機能においては、アプリケーションと携帯端末が連携するためにコマンドや各種情報を送受信するための、汎用的な仕組みを提供する。
端末連携マネージャーは、複数のプロトコルに対応したブリッジ機能を備え、携帯端末からの受信機機能呼び出しや、アプリケーションとの通信において、各プロトコルに対応させたデータの送受信を橋渡しする。なお、当該端末連携マネージャーは、図1に示す外部I/F部417の一部として、受信機4に備えられる。
An API for calling a receiver function is defined as an extended API for applications, but an API having basically the same function is provided for a mobile terminal.
Regarding cooperation between an application and a mobile terminal, what functions and how to cooperate are different depending on the application. In this terminal cooperation function, a general-purpose mechanism for transmitting and receiving commands and various kinds of information for cooperation between an application and a portable terminal is provided.
The terminal cooperation manager has a bridge function corresponding to a plurality of protocols, and bridges transmission / reception of data corresponding to each protocol in a receiver function call from a mobile terminal and communication with an application. The terminal cooperation manager is provided in the receiver 4 as a part of the external I / F unit 417 shown in FIG.

[3.8.3 機器発見のための仕組み]
端末連携機能は、ホームネットワークだけでなく、インターネットを通しての接続もスコープとするが、本節ではホームネットワークにおける機器発見の仕様を記述する。既存の他のプロトコルで容易に実装、利用が可能なものが望ましく、以下の仕様は一例である。
[3.8.3 Device discovery mechanism]
The terminal linkage function covers not only the home network but also the connection through the Internet, but this section describes the specifications for device discovery in the home network. It is desirable that other existing protocols can be easily implemented and used, and the following specifications are examples.

例えば、機器発見には、UPnP(Universal Plug and Play)の機器発見のプロトコルであるSSDP(Simple Service Discovery Protocol)を用いることができる。
SSDPは、UPnPにおいて、ネットワーク上のUPnPのデバイスやサービスの名前(URI)をもとに検索することに利用されている。この機能を利用し、機器連携のサービスの名前(URI)を指定して連携用デバイスを発見する。携帯端末から、連携可能な受信機を発見するために、端末連携マネージャーにSSDP対応機能を付加し、SSDPの検索メッセージを受信した際に接続先(IPアドレス、ポート番号を含む)の応答を返す。
For example, SSDP (Simple Service Discovery Protocol), which is a UPnP (Universal Plug and Play) device discovery protocol, can be used for device discovery.
SSDP is used in UPnP for searching based on the names (URIs) of UPnP devices and services on the network. Using this function, the device cooperation service name (URI) is specified and a device for cooperation is discovered. In order to find a receiver that can cooperate with the mobile terminal, add an SSDP-compatible function to the terminal cooperation manager, and when a SSDP search message is received, a connection destination (including IP address and port number) response is returned. .

[3.8.4 端末間連携のプロトコル]
本節では、受信機の端末連携マネージャーと連携対象の端末間のプロトコルを規定する。ホームネットワークでの連携、インターネットを通しての連携それぞれのスコープについて利用するプロトコルを記述する。一般に利用させている既存のプロトコルで容易に実装、利用が可能なものが望ましく、以下の仕様は一例である。
[3.8.4 Cooperation protocol between terminals]
In this section, the protocol between the terminal cooperation manager of the receiver and the terminal to be linked is specified. Describe the protocol to be used for each scope of cooperation in the home network and cooperation through the Internet. It is desirable to use an existing protocol that can be easily implemented and used, and the following specifications are examples.

[3.8.4.1 ホームネットワーク内での連携プロトコル]
(1) WebSocket
WebSocketは、HTML5の関連仕様の一つであり、HTML5アプリケーション(クライアント)とサーバをWebSocketで接続することにより、双方向のメッセージの送受信を行うことができる仕組みである。HTMLのステートレスな接続とは異なり、WebSocketはコネクションを持続させておくことができるため、リアルタイムにメッセージをやりとりするアプリケーションやサーバ側からのプッシュ配信を実現できる。
[3.8.4.1 Cooperation protocol in home network]
(1) WebSocket
WebSocket is one of the related specifications of HTML5, and is a mechanism that enables bidirectional message transmission / reception by connecting an HTML5 application (client) and a server with WebSocket. Unlike the stateless connection of HTML, the WebSocket can maintain the connection, so that it is possible to realize push delivery from an application that exchanges messages in real time or from the server side.

図13は、WebSocketによる通信により受信機と携帯端末とを連携させる例を示す図である。
図13に示すように、携帯端末で動作するHTML5アプリケーションから受信機に対してWebSocket接続を行うことで、双方向の通信路が生成され、その通信路を用いて各種コマンドや情報を送受信した連携を行うことができる。これは、携帯連携マネージャーにWebSocket用ブリッジの機能を付加し、WebSocket用ブリッジがWebSocketサーバとしての動作と、WebSocketを通して呼ばれた機能(API)に応じて受信機機能を制御する動作を備えることで実現される。
FIG. 13 is a diagram illustrating an example in which a receiver and a mobile terminal are linked through communication using WebSocket.
As shown in FIG. 13, a bidirectional communication path is generated by making a WebSocket connection to a receiver from an HTML5 application operating on a mobile terminal, and various commands and information are transmitted and received using the communication path. It can be performed. This is because the WebSocket bridge function is added to the mobile cooperation manager, and the WebSocket bridge has an operation as a WebSocket server and an operation for controlling a receiver function according to a function (API) called through the WebSocket. Realized.

具体的なAPIやサーバ側(受信機)からのイベント通知に関しては、WebSocket内でのメッセージフォーマットを規定することで実現する。メッセージフォーマットとして、JSON形式、XML形式が想定される。以下に、一例として、携帯端末から受信機のチャンネル変更を制御する場合のメッセージ例を示す。   A specific API or event notification from the server side (receiver) is realized by defining a message format in WebSocket. As the message format, a JSON format or an XML format is assumed. As an example, a message example in the case of controlling the channel change of the receiver from the mobile terminal is shown below.

《JSON形式の例》
{"ActionName":"RemoteControl","Arguments":{"Function":"SelectAir","URI":"arib://onid.tsid.svid/"}}
<< Example of JSON format >>
{"ActionName": "RemoteControl", "Arguments": {"Function": "SelectAir", "URI": "arib: //onid.tsid.svid/"}}

《XML形式の例》
<?xml version="1.0" encoding="UTF-8" ?><Action>
<ActionName>RemoteControl</ActionName>
<Arguments>
<Function>SelectAir</Function>
<URI>arib://onid.tsid.svid/</URI>
</Arguments>
</Action>
<< Example of XML format >>
<? xml version = "1.0" encoding = "UTF-8"?><Action>
<ActionName> RemoteControl </ ActionName>
<Arguments>
<Function> SelectAir </ Function>
<URI> arib: //onid.tsid.svid/ </ URI>
</ Arguments>
</ Action>

(2) HTTP
受信機の携帯端末マネージャーがHTTPサーバ用ブリッジ機能を備えることで、汎用的なHTTPプロトコルベースで様々な端末APIを呼び出すことが可能となる。ただし、HTTPはプル型のプロトコルであるため、受信機(サーバ側)からのプッシュでの通知を行うためには、Long pollingなど擬似的なプッシュ機能に対応させる必要がある。
(2) HTTP
Since the portable terminal manager of the receiver has an HTTP server bridge function, various terminal APIs can be called based on a general-purpose HTTP protocol. However, since HTTP is a pull-type protocol, it is necessary to support a pseudo-push function such as long polling in order to perform notification by push from the receiver (server side).

(3) UPnP
UPnP(Universal Plug and Play)は、家庭内のパソコンやAV機器などの各種機器を、ネットワークを通じて接続し、相互に機能を提供しあうためのプロトコルである。
UPnPをベースとしたDLNA対応の機器など、既に多くの機器が普及している。
受信機と携帯端末がそれぞれUPnPに対応することで、UPnP仕様にそった機器連携の機能が実現できる。
UPnPでは、サービス(機能)を提供するサーバと、サービスを利用するクライアントが存在するが、受信機、連携する携帯端末のいずれもUPnPサーバ、UPnPクライアントになり得る。ただし、受信機が放送番組に関連した各種情報を他の端末に提供する場合は、UPnP用ブリッジの機能を付加し、UPnP用ブリッジの機能がUPnPサーバとして動作することで実現される。
具体的なAPIやサーバ側(受信機)からのイベント通知に関しては、UPnPのフォーマットに従い規定する。
(3) UPnP
UPnP (Universal Plug and Play) is a protocol for connecting various devices such as personal computers and AV devices in a home through a network and providing functions to each other.
Many devices such as DLNA compatible devices based on UPnP are already in widespread use.
Since the receiver and the portable terminal each support UPnP, a device cooperation function in accordance with the UPnP specification can be realized.
In UPnP, there are a server that provides a service (function) and a client that uses the service. However, any of the receiver and the linked mobile terminal can be a UPnP server and a UPnP client. However, when the receiver provides various information related to the broadcast program to other terminals, it is realized by adding a UPnP bridge function and operating the UPnP bridge function as a UPnP server.
Specific APIs and event notifications from the server side (receiver) are defined according to the UPnP format.

[10.3.4.2 インターネットを通した連携プロトコル]
インターネット上でメッセージをリアルタイムに交換するためのプロトコルであるXMPPや、WebSocketなどを利用して端末間の連携を行う。
[10.3.2.4.2 Cooperation protocol over the Internet]
Cooperation between terminals is performed using XMPP, which is a protocol for exchanging messages on the Internet in real time, or WebSocket.

[10.3.5 アプリケーションと端末の連携]
携帯端末と受信機上で動作しているアプリケーションとがお互いに通信して連携を行うケースが想定される。
受信機に、WebSocket用ブリッジ機能を付加することで、アプリケーションフォーマットおよび連携先の携帯端末で動作するアプリケーションフォーマットがいずれもHTML5ベースの場合に、WebSocketを用いた汎用的なソケット通信路を構築できるようにする。
[10.3.5 Cooperation between application and terminal]
A case is assumed in which the mobile terminal and the application running on the receiver communicate with each other and cooperate.
By adding a WebSocket bridge function to the receiver, it is possible to construct a general socket communication path using WebSocket when both the application format and the application format that operates on the linked portable terminal are based on HTML5. To.

図14は、WebSocketによる通信により受信機のアプリケーションと携帯端末のアプリケーションとを連携させる例を示す図である。
HTML5ベースのアプリケーション同士を連携させるため、図14に示すように、端末連携マネージャーのWebSocket用ブリッジは、2つのWebSocketのサーバ機能を備える。アプリケーションの接続先としてWebSocketサーバA(図1に示す受信機側サーバ部492)を動作させ、加えて連携端末上のHTML5アプリケーションの接続先としてWebSocketサーバB(図1に示す機器側サーバ部491)を動作させ、片方のWebSocketサーバが受信したデータを他方のWebSocketサーバの接続先に送信することで、受信機と連携先の端末間でWebSocketによる双方向の通信が可能となる。例えば、アプリケーションは、HTML5のWebSocket APIを用いて既知のローカルWebSocketサーバに接続する(例.ws://localhost:8880/hybridcast_app/)。連携端末上で動作するHTML5アプリケーションは、機器発見の仕組みを利用し接続可能な受信機上のWebSocketサーバを特定し(例.ws://192.168.11.5:8880/external_app/)接続する。両者間のWebSocketを用いた通信路が生成され、その通信路内でコマンドやデータの送受信を行うことで連携が可能となる。
FIG. 14 is a diagram illustrating an example in which a receiver application and a mobile terminal application are linked by communication using WebSocket.
In order to link HTML5-based applications with each other, as shown in FIG. 14, the WebSocket bridge of the terminal cooperation manager has two WebSocket server functions. The WebSocket server A (receiver-side server unit 492 shown in FIG. 1) is operated as an application connection destination, and in addition, the WebSocket server B (device-side server unit 491 shown in FIG. 1) is connected as an HTML5 application connection destination on the cooperation terminal. , And the data received by one WebSocket server is transmitted to the connection destination of the other WebSocket server, so that bidirectional communication by WebSocket is possible between the receiver and the cooperation destination terminal. For example, the application connects to a known local WebSocket server using the WebSocket API of HTML5 (eg, ws: // localhost: 8880 / hybridcast_app /). The HTML5 application running on the cooperation terminal specifies a WebSocket server on the receiver that can be connected using the device discovery mechanism (eg, ws: //192.168.11.5: 8880 / external_app /) and connects. A communication path using WebSocket between the two is generated, and cooperation is possible by transmitting and receiving commands and data in the communication path.

[4. セキュリティ]
[4.1 放送通信連携アプリケーションの管理]
放送事業者の要件を満たしつつ放送通信連携サービスを普及・活性化させるために、放送事業者およびその関係者だけではなく、幅広いサービス事業者や個人が参入できる枠組みが必要となる。本放送通信連携システムでは、セキュリティの観点からアプリケーションを「Aアプリケーション」と「一般アプリケーション」に分類し、受信機において双方のアプリケーションを実行可能とする。
[4. Security]
[4.1 Management of broadcasting / communication cooperation application]
In order to disseminate and activate the broadcasting / communication cooperation service while satisfying the requirements of broadcasting companies, a framework that allows not only broadcasting companies and their related parties but also a wide range of service companies and individuals to participate is necessary. In this broadcasting / communication cooperation system, applications are classified into “A application” and “general application” from the viewpoint of security, and both applications can be executed in the receiver.

図15は、放送通信連携システムにおけるアプリケーション管理モデルを示す。「Aアプリケーション」は、登録管理者(第三者機関)への事前登録を行うことにより放送通信連携システムの仕様で期待する動作が保証される。「Aアプリケーション」は、登録時にIDと署名が付与され、受信機において2.2節で定義するセキュアマネージャーにより署名が検証され、すべてのAPIへのアクセスが可能となり、放送リソースを利用した番組連動サービスが行えるようになる。また、放送事業者から送出されるAITにより、放送事業者の要件に沿ったきめ細かい提示制御が可能となる。
一方、「一般アプリケーション」は、事前の登録は不要であるが、放送通信連携システムの仕様で期待する動作は保証されず、アプリケーションから放送関連のAPIを扱うことはできない。「一般アプリケーション」はIDと署名が付与されないため、個々のアプリケーションの指定は困難であるが、放送事業者の要件に基づいた提示制限を加えた上で実行させることは可能である。
FIG. 15 shows an application management model in the broadcasting / communication cooperation system. By performing pre-registration with a registration manager (a third party organization), the “A application” is assured of the operation expected in the specifications of the broadcast communication cooperation system. The “A application” is given an ID and signature at the time of registration, and the signature is verified by the secure manager defined in section 2.2 at the receiver, allowing access to all APIs, and program linkage using broadcast resources Service can be performed. In addition, the AIT transmitted from the broadcaster enables fine presentation control according to the broadcaster's requirements.
On the other hand, the “general application” does not need to be registered in advance, but the operation expected in the specifications of the broadcasting / communication cooperation system is not guaranteed, and the broadcasting-related API cannot be handled from the application. Since “general application” is not assigned an ID and signature, it is difficult to specify individual applications, but it is possible to execute the application with presentation restrictions based on the requirements of the broadcaster.

[4.2 セキュアマネージャーの機能モデル]
図16は、セキュアマネージャーの機能モデルを示す。セキュアマネージャーは、受信機においてセキュリティを総合的に管理する機能である。
[4.2 Secure Manager Functional Model]
FIG. 16 shows a functional model of the secure manager. The secure manager is a function that comprehensively manages security in the receiver.

[4.2.1 アプリケーション監視・制御機能]
受信機において動作するアプリケーションは、アプリケーションファイルの配布の形態により、上述したように、「Aアプリケーション」と「一般アプリケーション」の2種類に大別される。「Aアプリケーション」と「一般アプリケーション」は、4.1節に示すようにIDと署名の有無によって区別され、受信機におけるAPIのアクセス範囲や放送事業者からの制御範囲が異なるなど、アプリケーション実行時の動作内容が異なる。アプリケーション監視・制御機能は、Aアプリケーションまたは一般アプリケーションの種別の違いを識別し、確実にアプリケーション実行時の動作を制御することを目的とする。
[4.2.1 Application monitoring / control functions]
As described above, applications that run on the receiver are roughly classified into two types, “A application” and “general application”, depending on the distribution form of application files. “A application” and “general application” are distinguished according to the presence or absence of an ID and signature as shown in section 4.1, and the API access range in the receiver and the control range from the broadcaster are different. The operation contents of are different. The purpose of the application monitoring / control function is to identify the difference between the types of the A application and the general application, and to reliably control the operation at the time of executing the application.

(1)アプリケーション認証:受信機は、実行するすべてのアプリケーションについて、Aアプリケーションまたは一般アプリケーションのいずれか、さらにAアプリケーションであればIDを識別する。Aアプリケーションまたは一般アプリケーションの区別は、アプリケーションファイル(アプリケーションプログラム)に付与された署名の有無を確認しこれを検証することによって行う。Aアプリケーションであれば、受信機はさらに、署名に記述されたアプリケーションIDを取得する。アプリケーションの識別は、アプリケーションの取得時、または、起動時に行うものとする。
(2)画面提示制御:4.3節に後述する。
(3)リソースアクセス制御:受信機は、実行中のアプリケーションの放送リソース等のAPIへのアクセス制御を行う。アプリケーションがAPIにアクセスしようとする時に、当該アプリケーションが一般アプリケーションであれば、APIの種別によってアクセスを制限する。
また、アプリケーションがディスプレイへの画面表示APIにアクセスする際には、Aアプリケーションまたは一般アプリケーションの種別と、選局中の放送事業者の提示ポリシーに基づき、画面提示制御を実行する。詳細は4.3節に後述する。
(4)リボケーション:アプリケーションのリボケーション機能を備える。
(1) Application authentication: The receiver identifies either an A application or a general application for all applications to be executed, and further identifies an ID for an A application. The A application or the general application is distinguished by confirming the presence or absence of a signature attached to the application file (application program). If the application is an A application, the receiver further acquires an application ID described in the signature. Application identification is performed when an application is acquired or activated.
(2) Screen presentation control: described later in section 4.3.
(3) Resource access control: The receiver performs access control to APIs such as broadcast resources of the application being executed. When an application tries to access an API, if the application is a general application, the access is restricted by the type of API.
Further, when the application accesses the screen display API on the display, screen presentation control is executed based on the type of the A application or the general application and the presentation policy of the selected broadcaster. Details will be described later in section 4.3.
(4) Revocation: An application revocation function is provided.

[4.2.2 受信機保護]
受信機は、視聴者情報保護およびウィルス対策等の保護機能を備える。
[4.2.2 Receiver protection]
The receiver has protection functions such as viewer information protection and virus countermeasures.

[4.3 アプリケーションの画面提示制御]
[4.3.1 画面提示制御の概要]
放送通信連携サービスでは、放送番組と同時に関連する通信アプリケーションを提示させることにより、放送サービスの利便性を拡張することができる。一方、通信サービスの利用により、受信機の画面上で放送番組と通信アプリケーションが混在して提示されることが想定される。提示方法によっては、放送番組に通信アプリケーションの画面が重なり、放送番組の一意性や作品性が損なわれるだけでなく、緊急地震速報などの緊急性の高い情報が正確に視聴者に伝えられなくなる恐れがある。画面提示制御により、放送通信連携サービスにおいて、放送事業者の意図に基づいたアプリケーションの提示制御を行う。
[4.3 Application screen presentation control]
[4.3.1 Overview of screen presentation control]
In the broadcasting / communication cooperation service, the convenience of the broadcasting service can be expanded by presenting a related communication application simultaneously with the broadcasting program. On the other hand, it is assumed that a broadcast program and a communication application are mixedly presented on the receiver screen by using the communication service. Depending on the presentation method, the screen of the communication application overlaps with the broadcast program, which not only impairs the uniqueness and workability of the broadcast program, but also makes it impossible to accurately convey emergency information such as earthquake early warnings to viewers. There is. By the screen presentation control, application presentation control based on the intention of the broadcaster is performed in the broadcasting / communication cooperation service.

図17は、画面提示制御方式の概念を示す図である。画面提示制御方式は、個々の放送番組に対して通信アプリケーションをどのように画面上に提示させるかという放送事業者の提示ポリシーを受信機に反映させることを意図したもので、これをコンテンツの提示制御と呼ぶこととする。コンテンツの提示制御では、編成に応じた番組単位の提示制御、緊急地震速報などの番組中に発生するイベントに対する提示制御、アプリケーション単位の提示制御を実現する。   FIG. 17 is a diagram illustrating the concept of the screen presentation control method. The screen presentation control method is intended to reflect the broadcaster's presentation policy on how to display the communication application on the screen for each broadcast program on the receiver. This is called control. In the content presentation control, presentation control in units of programs according to composition, presentation control for events occurring in a program such as an earthquake early warning, and presentation control in units of applications are realized.

[4.3.2 画面提示制御の基本動作]
図18は、画面提示制御の基本動作モデルを示す図である。放送事業者の提示ポリシーを受信機に反映させるために、予め放送事業者が想定した、放送番組に対する通信コンテンツの提示方法を、提示ルールとして受信機で管理する。具体的には、通信コンテンツの提示方法として、重ね合わせの順序や並べ方の違いなどに応じてレベル分けを行い、提示レベル(ポリシーレベル)と提示方法のテーブルを提示ルールとして受信機内に保持する。放送事業者は指定する提示レベルを放送波に多重して伝送し、受信機はその提示レベルと提示ルールを照合し、提示方法を決定する。これにより、放送事業者の提示ポリシーに基づいた提示制御を実現することができる。
[4.3.2 Basic operation of screen presentation control]
FIG. 18 is a diagram illustrating a basic operation model of screen presentation control. In order to reflect the broadcaster's presentation policy to the receiver, the method of presenting the communication content for the broadcast program, which is assumed in advance by the broadcaster, is managed as a presentation rule by the receiver. Specifically, as a method for presenting communication content, levels are classified according to the order of superposition and the difference in arrangement, and a table of presentation levels (policy levels) and presentation methods is held in the receiver as presentation rules. The broadcaster multiplexes and transmits the designated presentation level to the broadcast wave, and the receiver collates the presentation level with the presentation rules to determine the presentation method. Thereby, presentation control based on the presentation policy of the broadcaster can be realized.

[4.3.3 制御情報の伝送・多重方式]
放送事業者の提示ポリシーを伝送する制御情報のフォーマットに関して、デジタル放送で使用されている番組配列情報を用いる方式として3つの具体例を挙げる。番組単位での画面提示制御として、既存のEIT(イベント情報テーブル:Event Information Table)を用いる方式と、EITを拡張して用いる方式(EIT+)がある。また、サービス(チャンネル)単位での画面提示制御として、放送信号のAITを拡張して用いる方式がある。さらに、番組中にリアルタイムに発生する事象単位での画面提示制御として、番組配列情報以外の放送局から送出される情報を用いる方式がある。以下に、4つの方式の詳細を記載する。
[4.3.3 Transmission and multiplexing of control information]
With respect to the format of the control information for transmitting the broadcaster's presentation policy, three specific examples will be given as a method using program arrangement information used in digital broadcasting. As a screen presentation control in units of programs, there are a method using an existing EIT (Event Information Table) and a method using an extended EIT (EIT +). As a screen presentation control in service (channel) units, there is a method in which the AIT of a broadcast signal is extended and used. Further, as a screen presentation control in units of events that occur in real time during a program, there is a method using information transmitted from a broadcasting station other than program arrangement information. Details of the four methods will be described below.

(1)EITの番組ジャンル(EIT):既存のEITのコンテント記述子に記述される番組ジャンルからポリシーレベルを判断する。受信機はそのために、番組ジャンルとポリシーレベルの対応表を管理する。ARIB規格との関連は、ARIB STD−B10
第2部 6.2.4、付録Hである。
(1) EIT program genre (EIT): The policy level is determined from the program genre described in the existing EIT content descriptor. For this purpose, the receiver manages a correspondence table between program genres and policy levels. The relationship with the ARIB standard is ARIB STD-B10.
Part 2 6.2.4, Appendix H.

表4は、番組ジャンルとポリシーレベルの関係の具体例を示す表である。番組ジャンル(program_genre)は、大分類を表す「content_nibble_level1」(0x0〜0xF)と、中分類を表す「content_nibble_level2」(0x0〜0xF)の2段階で構成される。受信機で管理するテーブルは中分類のジャンルまで対象とし、それぞれポリシーレベルの値を定義する。   Table 4 is a table showing a specific example of the relationship between the program genre and the policy level. The program genre (program_genre) is composed of two stages of “content_nibble_level1” (0x0 to 0xF) representing the major classification and “content_nibble_level2” (0x0 to 0xF) representing the middle classification. The table managed by the receiver covers the genre of the middle category, and defines a policy level value.

Figure 0005978000
Figure 0005978000

(2)EITに新記述子追加(EIT+):EITのイベント情報セクションに新しい記述子を追加し、ポリシー情報を記述する。受信機は、この記述子を解釈し所望の処理を実行することで、番組単位でのポリシーレベルに応じた制御を実現する。ARIB規格との関連は、ARIB TR−B14(第二分冊) 第3部 31.3、ARIB STD−B10 第2編 5.2.7である。 (2) New descriptor added to EIT (EIT +): A new descriptor is added to the event information section of EIT, and policy information is described. The receiver interprets this descriptor and executes a desired process, thereby realizing control according to the policy level for each program. The relationship with the ARIB standard is ARIB TR-B14 (second volume) Part 3 31.3, ARIB STD-B10 Volume 2 5.2.7.

表5は、イベントセキュリティ記述子の構造を示す表である。EIT+の場合、同図に示すイベントセキュリティ記述子を新規に定義し、EIT内の記述子領域にこのイベントセキュリティ記述子を格納して伝送する。イベントセキュリティ記述子には、ポリシーレベル(policy_level)、アプリケーションID(application_identifier)、制御コード(application_control_code)、優先度(application_priority)、プロトコル識別(protocol_id)、番組関連フラグ(associated_application_flag)を設定する。   Table 5 is a table showing the structure of the event security descriptor. In the case of EIT +, the event security descriptor shown in the figure is newly defined, and this event security descriptor is stored in the descriptor area in the EIT and transmitted. In the event security descriptor, a policy level (policy_level), an application ID (application_identifier), a control code (application_control_code), a priority (application_priority), a protocol identification (protocol_id), and a program related flag (associated_application_flag) are set.

Figure 0005978000
Figure 0005978000

policy_levelは、番組単位でのポリシーレベルを表す。ポリシーレベルは、1〜4の値とする。
application_identifier()は、アプリケーションを識別するための識別子である。表6は、application_identifier()の構造を示す。
policy_level represents a policy level in units of programs. The policy level is a value from 1 to 4.
application_identifier () is an identifier for identifying an application. Table 6 shows the structure of application_identifier ().

Figure 0005978000
Figure 0005978000

organization_idは、アプリケーションを作成した組織を表し、0x00000063以降の値をとる。application_idは、アプリケーションを識別する番号を表す。application_idは、組織識別内で一意に付与される。 organization_id represents the organization that created the application and takes a value of 0x00000063 or later. application_id represents a number for identifying an application. application_id is uniquely assigned within the organization identification.

application_control_codeは、アプリケーション状態を制御する制御コードを規定する。表7は、制御コードの規定を示す。   application_control_code specifies a control code for controlling the application state. Table 7 shows the definition of the control code.

Figure 0005978000
Figure 0005978000

application_priorityは、アプリケーション毎のポリシーレベルを示す。アプリケーション毎のポリシーレベルは、サービス内で告知されているアプリケーション間の相対的な優先度を示す。優先度は、1〜4の値とする。   application_priority indicates a policy level for each application. The policy level for each application indicates the relative priority among the applications announced in the service. The priority is a value from 1 to 4.

protocol_idは、アプリケーションファイルを伝送するプロトコルを示す。表8は、protocol_idの規定を示す。   protocol_id indicates a protocol for transmitting the application file. Table 8 shows the protocol_id specification.

Figure 0005978000
Figure 0005978000

associated_application_flagは、番組に連動するアプリケーションであるか否かを示す。表9は、associated_application_flagの規定を示す。 associated_application_flag indicates whether the application is linked to the program. Table 9 shows the definition of associated_application_flag .

Figure 0005978000
Figure 0005978000

(3)AITのテーブル定義および新記述子の追加(AIT+):AITを拡張してポリシー情報を伝送する。受信機は、このテーブルを解釈し所望の処理を実行することで、随時発生するイベントに対してポリシーレベルに応じた制御を実現する。ARIB規格との関連は、ARIB STD−B23 第2部 10.16である。 (3) AIT table definition and addition of new descriptor (AIT +): AIT is extended to transmit policy information. The receiver interprets this table and executes a desired process, thereby realizing control corresponding to a policy level for an event that occurs at any time. The association with the ARIB standard is ARIB STD-B23 Part 2 10.16.

表10に、AITのデータ構造を示す。表10に示すAITは、ARIB STD−B23で規定されているAITのデータ構造を拡張したものである。AITには、ポリシーレベル、アプリケーションID、制御コードを記述する。なお、AITはセクション形式で送信され、イベント継続中は常時送信されるものとする。アプリケーションIDは、application_identifier()に記述し、制御コードはapplication_control_codeに記述する。
なお、これらの詳細は、(2)EITの拡張で記載したものと同様である。
さらに、ポリシーレベルを記述するために、新たにセキュリティポリシー記述子を定義し、AITの共通記述子ループに格納して伝送する。
Table 10 shows the data structure of AIT. The AIT shown in Table 10 is an extension of the AIT data structure defined by ARIB STD-B23. AIT describes a policy level, an application ID, and a control code. The AIT is transmitted in the section format, and is always transmitted while the event is continuing. The application ID is described in application_identifier (), and the control code is described in application_control_code.
These details are the same as those described in (2) EIT extension.
Further, in order to describe the policy level, a new security policy descriptor is defined and stored in the AIT common descriptor loop for transmission.

Figure 0005978000
Figure 0005978000

表11は、新たに定義するセキュリティポリシー記述子の構造を示す。   Table 11 shows the structure of a newly defined security policy descriptor.

Figure 0005978000
Figure 0005978000

(4)緊急警報放送および緊急地震速報(EWS/EEW):放送局から送出される緊急情報を用いてポリシーレベルを判断する。受信機においては予め緊急情報とポリシーレベルとの対応はなされているものとし、緊急警報放送であれば、TMCCの緊急警報放送用起動フラグを、緊急地震速報では文字スーパー管理パケットを監視することで、緊急情報の発生と終了が検知され、その際のポリシーレベルを判断することが可能になる。ARIB規格との関連は、ARIB STD−B31 3.15およびARIB STD−B24 第一編 第3部 第9章である。 (4) Emergency warning broadcasting and emergency earthquake warning (EWS / EEW): The policy level is determined using emergency information transmitted from a broadcasting station. In the receiver, correspondence between emergency information and policy level is assumed in advance. If it is emergency warning broadcast, the emergency flag broadcast start flag of TMCC is monitored. The occurrence and termination of emergency information is detected, and the policy level at that time can be determined. The relationship with the ARIB standard is ARIB STD-B31 3.15 and ARIB STD-B24 Volume 1 Part 3 Chapter 9.

なお、上記の(1)〜(4)のそれぞれの方式は並行して同時に送出することが可能である。したがって、どの方式で送られたものを優先させてポリシーレベルを決定するかを決めておく必要がある。優先順位は以下の通りである。   Each of the above methods (1) to (4) can be sent simultaneously in parallel. Therefore, it is necessary to determine which method is used to prioritize what is sent and determine the policy level. The priority order is as follows.

EWS/EEW> AIT+ > EIT+ > EIT EWS / EEW> AIT +> EIT +> EIT

受信機はこの優先順位に基づき、ポリシーレベルを判断することで、放送事業者の意図に基づいた、緊急時の事象を優先させた画面提示制御が可能となる。   Based on this priority, the receiver determines the policy level, thereby enabling screen presentation control that prioritizes an emergency event based on the intention of the broadcaster.

[4.3.4 画面提示制御の例]
図19は、ポリシーレベルに応じた画面提示制御の例を示す。
番組のポリシーレベルが「1」の場合、Aアプリケーションのアプリケーション画面のアプリケーション画面および一般アプリケーションのアプリケーション画面の双方とも、放送画面上への重ね合わせが許可される。
番組のポリシーレベルが「2」の場合、Aアプリケーションのみが放送画面上への重ね合わせが許可され、一般アプリケーションのアプリケーション画面については、放送画面上への重ね合わせは禁止され、放送画面の外側への表示のみが許可される。
番組のポリシーレベルが「3」の場合、Aアプリケーションのアプリケーション画面、及び、一般アプリケーションのアプリケーション画面とも表示が許可されるが、全てのアプリケーション画面について、放送画面上への重ね合わせは禁止され、放送画面の外側への表示のみが許可される。
ポリシーレベルが「4」の場合、放送画面の全画面表示のみが許可される。
[4.3.4 Example of screen presentation control]
FIG. 19 shows an example of screen presentation control according to the policy level.
When the policy level of the program is “1”, both the application screen of the application screen of the A application and the application screen of the general application are permitted to be superimposed on the broadcast screen.
When the policy level of the program is “2”, only the A application is permitted to be superimposed on the broadcast screen, and the application screen of the general application is prohibited from being superimposed on the broadcast screen. Only display of is allowed.
When the policy level of the program is “3”, the display of both the application screen of the A application and the application screen of the general application is permitted, but superimposition on the broadcast screen is prohibited for all application screens. Only display outside the screen is allowed.
When the policy level is “4”, only the full screen display of the broadcast screen is permitted.

図20は、緊急地震速報受信時の提示制御の例を示す。番組Aの番組ポリシーレベルが「1」である場合、番組Aの放送時間帯においては、Aアプリケーションのアプリケーション画面、一般アプリケーションのアプリケーション画面とも放送画面上に重ね合わせて表示される。しかし、受信機は、番組Aの放送時間帯の中でも緊急地震速報が発生している時間帯におけるポリシーレベルは、緊急地震速報のポリシーレベル「4」であると判断する。そのため、受信機は、番組Aの放送時間帯であっても、緊急地震速報が発生している時間帯では、Aアプリケーションのアプリケーション画面、及び、一般アプリケーションのアプリケーション画面とも、放送画面上への重ね合わせを禁止する。   FIG. 20 shows an example of presentation control at the time of receiving the earthquake early warning. When the program policy level of program A is “1”, in the broadcast time zone of program A, the application screen of application A and the application screen of general application are displayed superimposed on the broadcast screen. However, the receiver determines that the policy level in the time zone in which the earthquake early warning is generated in the broadcast time zone of program A is the policy level “4” of the emergency earthquake early warning. Therefore, even if the receiver is in the broadcast time zone of program A, the application screen of the A application and the application screen of the general application are superimposed on the broadcast screen in the time zone where the earthquake early warning is occurring. Prohibit alignment.

[上述した放送通信連携システムを適用した本発明の実施形態の説明]
次に、図1に示す本発明の一実施形態を説明する。
図21は、本発明の一実施形態による放送通信連携システムの全体構成図である。同図に示すように、本実施形態の放送通信連携システムは、放送局が保有する放送事業者装置1、サービス事業者が保有するサービス事業者サーバ群2、システム管理者が保有するリポジトリサーバ3、及び、視聴者が保有する受信機4を備えて構成される。同図においては、受信機4を1台のみ示しているが、現実には複数台の受信機4が設けられる。
[Description of an embodiment of the present invention to which the above-described broadcast communication cooperation system is applied]
Next, an embodiment of the present invention shown in FIG. 1 will be described.
FIG. 21 is an overall configuration diagram of a broadcasting / communication cooperation system according to an embodiment of the present invention. As shown in the figure, the broadcasting / communication cooperation system of the present embodiment includes a broadcaster apparatus 1 owned by a broadcasting station, a service provider server group 2 held by a service provider, and a repository server 3 held by a system administrator. And a receiver 4 held by the viewer. Although only one receiver 4 is shown in the figure, a plurality of receivers 4 are actually provided.

放送事業者装置1は、放送送出装置11及び放送局サーバ群12を備える。
放送送出装置11は、図3に示す放送局設備に相当し、番組編成設備、番組送出設備、送信設備等から構成されるデジタル放送用の放送設備である。
The broadcast provider apparatus 1 includes a broadcast transmission apparatus 11 and a broadcast station server group 12.
The broadcast sending apparatus 11 corresponds to the broadcasting station equipment shown in FIG. 3, and is a broadcasting equipment for digital broadcasting composed of a program organization equipment, a program sending equipment, a transmission equipment, and the like.

放送送出装置11は、放送関連データ管理部111、信号設定部112及び放送送出部113を備えて構成される。
放送関連データ管理部111は、各番組の番組セキュリティポリシーデータ、Aアプリケーションのアプリケーションセキュリティーポリシーデータ、その他のポリシーデータなどを管理する。
番組セキュリティポリシーデータは、番組のポリシーレベルを示すポリシーレベルデータ、番組にバウンドされたアプリケーションのアプリケーションID、番組にバウンドされたアプリケーションに対する制御コードなどを含む。
アプリケーションセキュリティポリシーデータは、アプリケーションがバウンドされている番組を特定する情報や、アプリケーションのプロトコル識別、ロケーション情報などを含む。ロケーション情報は、アプリケーションの格納位置(格納場所)を示し、例えば、アプリケーションをダウンロード可能な受信機アプリサーバ21やリポジトリサーバ3のURLである。プロトコル識別は、アプリケーションが放送により伝送されたか、通信により伝送されたかを示す。
なお、Aアプリケーションのみが番組にバウンドされる。
The broadcast transmission apparatus 11 includes a broadcast-related data management unit 111, a signal setting unit 112, and a broadcast transmission unit 113.
The broadcast-related data management unit 111 manages program security policy data for each program, application security policy data for the A application, other policy data, and the like.
The program security policy data includes policy level data indicating a policy level of the program, an application ID of an application bound to the program, a control code for the application bound to the program, and the like.
The application security policy data includes information for identifying a program to which the application is bound, application protocol identification, location information, and the like. The location information indicates the storage location (storage location) of the application, and is, for example, the URL of the receiver application server 21 or the repository server 3 that can download the application. The protocol identification indicates whether the application is transmitted by broadcast or communication.
Only the A application is bound to the program.

ポリシーデータは、提示ルールデータとポリシーレベルテーブルを含む。
提示ルールデータは、ポリシーレベル毎の提示方法を記述したデータである。提示方法は、画面表示方法と音声出力方法を含む。画面表示方法には、例えば、放送画面(番組の映像)のみ表示する、Aアプリケーション及び一般アプリケーションともアプリケーション画面(アプリケーションの映像)を放送画面に重ねてあるいは放送画面の外に表示する、Aアプリケーションのアプリケーション画面のみ放送画面に重ねて表示し、一般アプリケーションのアプリケーション画面は放送画面の外に表示する、などの方法がある。音声出力方法には、例えば、放送番組の音声のみを出力する、放送番組の音声とAアプリケーションまたは一般アプリケーションの音声を独立にあるいは混合して出力する、などの方法がある。
ポリシーレベルテーブルは、番組のジャンルに対応したポリシーレベルや、各イベントのポリシーレベルを記述したデータである。イベントとは、例えば、緊急警報信号や緊急地震速報など、番組とは必ずしも連動して発生しない放送の内容である。
The policy data includes presentation rule data and a policy level table.
The presentation rule data is data describing a presentation method for each policy level. The presentation method includes a screen display method and an audio output method. As the screen display method, for example, only the broadcast screen (video of the program) is displayed. For both the A application and the general application, the application screen (video of the application) is displayed on the broadcast screen or outside the broadcast screen. There are methods such as displaying only the application screen superimposed on the broadcast screen, and displaying the application screen of the general application outside the broadcast screen. Examples of the audio output method include a method of outputting only the sound of the broadcast program, and outputting the sound of the broadcast program and the sound of the A application or the general application independently or in combination.
The policy level table is data describing the policy level corresponding to the genre of the program and the policy level of each event. An event is the content of a broadcast that does not necessarily occur in conjunction with a program, such as an emergency warning signal or an earthquake early warning.

信号設定部112は、放送送出部113が伝送する放送信号に各種データを設定する。
信号設定部112は、放送関連データ管理部111が管理している番組セキュリティポリシーデータやアプリケーションセキュリティーポリシーデータに基づいて、放送信号にAIT、番組のポリシーレベルデータを設定する。信号設定部112は、番組にバウンドされたアプリケーションのAITを独立したESとして放送信号(放送TS)に多重するか、データカルーセルに設定する。あるいは、信号設定部112は、番組にバウンドされたアプリケーションのAITと同等の情報をEITに設定する。また、信号設定部112は、番組のポリシーレベルデータをEIT(表5)、または、AIT(表11)に設定する。なお、番組のジャンルに対応するポリシーレベルを用いる場合には、ポリシーレベルデータを放送信号に設定しなくともよい。また、信号設定部112は、アプリケーションファイルをデータカルーセル等に設定する。また、信号設定部112は、放送関連データ管理部111が管理しているポリシーデータをセクション形式により放送信号に設定するか、エンジニアリングサービスあるいはデータカルーセルに設定する。
放送送出部113は、デジタル放送の放送信号を伝送する。放送信号は、信号設定部112により設定された情報を含む。
The signal setting unit 112 sets various data in the broadcast signal transmitted by the broadcast sending unit 113.
The signal setting unit 112 sets AIT and program policy level data for a broadcast signal based on program security policy data and application security policy data managed by the broadcast-related data management unit 111. The signal setting unit 112 multiplexes the AIT of the application bound to the program as an independent ES on the broadcast signal (broadcast TS) or sets it in the data carousel. Alternatively, the signal setting unit 112 sets information equivalent to the AIT of the application bound to the program in the EIT. Further, the signal setting unit 112 sets the policy level data of the program to EIT (Table 5) or AIT (Table 11). Note that when the policy level corresponding to the genre of the program is used, the policy level data need not be set in the broadcast signal. Further, the signal setting unit 112 sets the application file to a data carousel or the like. In addition, the signal setting unit 112 sets the policy data managed by the broadcast-related data management unit 111 to a broadcast signal in a section format, or to an engineering service or a data carousel.
The broadcast sending unit 113 transmits a broadcast signal for digital broadcasting. The broadcast signal includes information set by the signal setting unit 112.

放送局サーバ群12は、図3に示す放送局サーバ群に相当し、コンテンツ管理サーバ13、コンテンツ配信サーバ16、放送局サービスサーバ17及び通知サーバ18を備えて構成される。
コンテンツ管理サーバ13は、番組管理サーバ14及びメタデータ管理サーバ15を備えて構成される。番組管理サーバ14は、すでに放送された番組や放送される番組を管理する。メタデータ管理サーバ15は、各番組に関するメタデータを管理する。メタデータは、例えば、番組タイトル、番組ID、番組概要、出演者、放送日時、台本、字幕、解説のデータを含む。
The broadcast station server group 12 corresponds to the broadcast station server group shown in FIG. 3, and includes a content management server 13, a content distribution server 16, a broadcast station service server 17, and a notification server 18.
The content management server 13 includes a program management server 14 and a metadata management server 15. The program management server 14 manages already broadcasted programs and broadcasted programs. The metadata management server 15 manages metadata regarding each program. The metadata includes, for example, program title, program ID, program outline, performer, broadcast date and time, script, caption, and commentary data.

コンテンツ配信サーバ16は、インターネットなどの通信網9を介して受信機4と接続され、受信機4から要求されたコンテンツのコンテンツデータを配信する。
放送局サービスサーバ17は、サービス事業者サーバ群2に放送局のサービスのコンテンツデータを送信する。放送局のサービスには、例えば、ソーシャルネットサービス、ブログサービス等がある。
The content distribution server 16 is connected to the receiver 4 via the communication network 9 such as the Internet, and distributes content data of the content requested from the receiver 4.
The broadcast station service server 17 transmits the content data of the broadcast station service to the service provider server group 2. Examples of broadcasting station services include social network services and blog services.

通知サーバ18は、通信網9を介して受信機4と接続され、放送送出装置11の放送関連データ管理部111から取得した番組セキュリティポリシーデータとアプリケーションセキュリティーポリシーデータとに基づいて、番組にバウンドされたアプリケーションのAIT(図6)及び番組のポリシーレベルデータを受信機4に配信する。また、通知サーバ18は、放送送出装置11の放送関連データ管理部111から取得したポリシーデータを受信機4に配信する。なお、これらの情報の全てまたは一部は、通知サーバ18からの配信を行なわず、放送送出装置11の放送送出部113が放送信号のみで伝送する場合もある。   The notification server 18 is connected to the receiver 4 via the communication network 9 and is bound to the program based on the program security policy data and the application security policy data acquired from the broadcast-related data management unit 111 of the broadcast transmission device 11. The application AIT (FIG. 6) and the policy level data of the program are distributed to the receiver 4. In addition, the notification server 18 distributes the policy data acquired from the broadcast-related data management unit 111 of the broadcast transmission device 11 to the receiver 4. Note that all or part of the information may not be distributed from the notification server 18 and may be transmitted by the broadcast sending unit 113 of the broadcast sending device 11 using only the broadcast signal.

サービス事業者サーバ群2は、図3に示すサービス事業者サーバ群に相当し、受信機アプリサーバ21、サービスサーバ22、コンテンツ配信サーバ23及び通知サーバ24を備えて構成される。受信機アプリサーバ21、サービスサーバ22、コンテンツ配信サーバ23及び通知サーバ24は、通信網9を介して受信機4と接続される。   The service provider server group 2 corresponds to the service provider server group shown in FIG. 3 and includes a receiver application server 21, a service server 22, a content distribution server 23, and a notification server 24. The receiver application server 21, service server 22, content distribution server 23, and notification server 24 are connected to the receiver 4 via the communication network 9.

受信機アプリサーバ21は、各アプリケーションを管理し、受信機4へアプリケーションファイルを配信する。
サービスサーバ22は、例えば、多言語字幕サーバ、話速変換音声サーバ、ソーシャルTVサーバ、レコメンドサーバ、ブックマークサーバなどであり、受信機4から要求されたサービスのコンテンツデータを配信する。
コンテンツ配信サーバ23は、例えば、VOD配信サーバ、字幕配信サーバ、マルチビュー配信サーバであり、受信機4から要求されたコンテンツのコンテンツデータを配信する。
通知サーバ24は、アプリケーションのAIT(図6)を受信機4に送信する。なお、Aアプリケーションの場合、通知サーバ24は、放送送出装置11の放送関連データ管理部111から取得した番組セキュリティポリシーデータやアプリケーションセキュリティーポリシーデータに基づいたAIT(図6)を送信してもよい。
The receiver application server 21 manages each application and distributes application files to the receiver 4.
The service server 22 is, for example, a multilingual subtitle server, a speech speed conversion voice server, a social TV server, a recommendation server, a bookmark server, and the like, and distributes content data of a service requested from the receiver 4.
The content distribution server 23 is, for example, a VOD distribution server, a caption distribution server, or a multi-view distribution server, and distributes content data of content requested from the receiver 4.
The notification server 24 transmits the application AIT (FIG. 6) to the receiver 4. In the case of the A application, the notification server 24 may transmit AIT (FIG. 6) based on the program security policy data and application security policy data acquired from the broadcast related data management unit 111 of the broadcast transmission device 11.

リポジトリサーバ3は、図3に示すリポジトリに相当し、通信網9を介して受信機4と接続される。リポジトリサーバ3は、サービス事業者が生成したアプリケーションファイル(アプリケーションプログラム)に電子署名を行なうとともに、アプリケーションファイル(アプリケーションプログラム)の電子署名の認証に必要なデータを受信機4に送信する。また、リポジトリサーバ3は、Aアプリケーションの一覧を示すデータや、そのAアプリケーションのロケーション情報を受信機4に送信する。なお、リポジトリサーバ3が電子署名されたAアプリケーションのアプリケーションファイルを受信機4へ送信してもよく、受信機アプリサーバ21がリポジトリサーバ3から電子署名されたAアプリケーションのアプリケーションファイルを受信し、受信機4へ送信してもよい。また、リポジトリサーバ3は、AアプリケーションのAITを受信機4に送信してもよい。
また、リポジトリサーバ3は、放送送出装置11の放送関連データ管理部111から受信した番組セキュリティポリシーデータやアプリケーションセキュリティーポリシーデータに基づいて、番組にバウンドされたAアプリケーションのAIT(図6)を受信機4に送信してもよい。
The repository server 3 corresponds to the repository shown in FIG. 3 and is connected to the receiver 4 via the communication network 9. The repository server 3 performs an electronic signature on an application file (application program) generated by the service provider, and transmits data necessary for authenticating the electronic signature of the application file (application program) to the receiver 4. Further, the repository server 3 transmits data indicating a list of A applications and location information of the A applications to the receiver 4. The repository server 3 may transmit the application file of the A application that is digitally signed to the receiver 4, and the receiver application server 21 receives and receives the application file of the A application that is digitally signed from the repository server 3. You may transmit to the machine 4. Further, the repository server 3 may transmit the AIT of the A application to the receiver 4.
Further, the repository server 3 receives the AIT (FIG. 6) of the A application bound to the program based on the program security policy data and the application security policy data received from the broadcast related data management unit 111 of the broadcast transmission device 11. 4 may be transmitted.

受信機4は、図3に示す受信機に相当し、例えば、テレビ受像機、セットトップボックス、パーソナルコンピュータ、携帯端末等のデバイスである。   The receiver 4 corresponds to the receiver shown in FIG. 3 and is, for example, a device such as a television receiver, a set top box, a personal computer, or a portable terminal.

図22は、受信機4の内部構成を示す機能ブロック図である。同図に示すように、受信機4は、放送受信部401、分離部402、時計403、第1同期用バッファ404−1、第2同期用バッファ404−2、第1デコーダ405−1、第2デコーダ405−2、データ放送実行部406、映像制御部407、映像表示部408、音声制御部409、音声出力部410、通信入出力部411、アプリケーション実行制御部412、提示制御部413、操作入力部414、選局部415、ローカル情報記憶部416及び外部I/F部417を備えて構成される。   FIG. 22 is a functional block diagram showing the internal configuration of the receiver 4. As shown in the figure, the receiver 4 includes a broadcast receiving unit 401, a separating unit 402, a clock 403, a first synchronization buffer 404-1, a second synchronization buffer 404-2, a first decoder 405-1, 2 decoder 405-2, data broadcast execution unit 406, video control unit 407, video display unit 408, audio control unit 409, audio output unit 410, communication input / output unit 411, application execution control unit 412, presentation control unit 413, operation An input unit 414, a channel selection unit 415, a local information storage unit 416, and an external I / F unit 417 are configured.

放送受信部401は、放送信号を受信するチューナである。放送信号は、無線放送信号及び有線放送信号またはいずれか一方である。無線放送信号は、放送局側の送信アンテナが送信した放送電波(地上波)や、衛星が中継する衛星波を、受信アンテナで受信することにより得られる信号である。有線放送信号は、光ケーブルや同軸ケーブル等を介して放送局側から伝送される信号である。放送受信部401は、放送信号を受信して復調し、放送ストリーム(TS)を出力する。
分離部402は、デマルチプレクサであり、放送受信部401から供給された放送ストリームを、PCR(Program Clock Reference)、映像データ、音声データ、字幕データ、データ放送、PSI(Program Specific Information)/SI(Service Information)、独立エレメンタリストリーム(ES)で送信されたAITなどの各種データに分離する。なお、AITはデータ放送に含まれる場合や、AITと同様の内容がSIを構成するEITに設定される場合もある。また、分離部402は、放送信号からアプリケーションファイルを分離して出力する場合もある。
The broadcast receiving unit 401 is a tuner that receives a broadcast signal. The broadcast signal is either a wireless broadcast signal or a wired broadcast signal. A radio broadcast signal is a signal obtained by receiving a broadcast radio wave (ground wave) transmitted by a transmission antenna on the broadcast station side or a satellite wave relayed by a satellite with a reception antenna. The wired broadcast signal is a signal transmitted from the broadcast station side via an optical cable, a coaxial cable, or the like. The broadcast receiving unit 401 receives a broadcast signal, demodulates it, and outputs a broadcast stream (TS).
The demultiplexing unit 402 is a demultiplexer, which converts a broadcast stream supplied from the broadcast receiving unit 401 into PCR (Program Clock Reference), video data, audio data, subtitle data, data broadcast, PSI (Program Specific Information) / SI (SI). Service Information) and AIT transmitted in an independent elementary stream (ES). The AIT may be included in the data broadcast, or the same content as the AIT may be set in the EIT constituting the SI. Further, the separation unit 402 may separate and output the application file from the broadcast signal.

通信入出力部411は、通信網9を介した通信によるデータの入出力を行う。通信入出力部411は、通信網9を経由して送信されたAITやアプリケーションファイルをアプリケーション実行制御部412に出力する。また、通信入出力部411は、通信網9を経由して送信された番組のポリシーレベルデータやポリシーデータを提示制御部413へ出力する。また、通信入出力部411は、アプリケーション実行制御部412により実行されるアプリケーションの指示に従って、コンテンツ配信サーバ16やコンテンツ配信サーバ23から配信されるコンテンツデータ、サービスサーバ22から配信されるコンテンツデータを通信網9を経由して受信し、第2同期用バッファ404−2に出力する。   The communication input / output unit 411 inputs and outputs data through communication via the communication network 9. The communication input / output unit 411 outputs the AIT and application file transmitted via the communication network 9 to the application execution control unit 412. Further, the communication input / output unit 411 outputs the policy level data and policy data of the program transmitted via the communication network 9 to the presentation control unit 413. The communication input / output unit 411 communicates content data distributed from the content distribution server 16 and the content distribution server 23 and content data distributed from the service server 22 in accordance with an instruction of an application executed by the application execution control unit 412. The data is received via the network 9 and output to the second synchronization buffer 404-2.

操作入力部414は、視聴者による操作を受け付けるインタフェースであり、例えば、リモートコントローラ、携帯電話、タブレット端末等から視聴者が入力した情報を受信する受信装置や、キーボード、マウスなどである。操作入力部414は、視聴者が入力したメディア(地上/BS)やチャンネルの選択指示を選局部415に出力する。また、操作入力部414は、放送通信連携サービスの開始や終了の指示、アプリケーションに対する指示をアプリケーション実行制御部412に出力する。
選局部415は、操作入力部414に入力された操作に従って、放送受信部401において受信するメディアやチャンネルを制御する。
The operation input unit 414 is an interface that receives an operation by the viewer, and is, for example, a receiving device that receives information input by the viewer from a remote controller, a mobile phone, a tablet terminal, or the like, a keyboard, a mouse, or the like. The operation input unit 414 outputs media (terrestrial / BS) and channel selection instructions input by the viewer to the channel selection unit 415. In addition, the operation input unit 414 outputs instructions for starting and ending the broadcasting / communication cooperation service and instructions for the application to the application execution control unit 412.
The channel selection unit 415 controls media and channels received by the broadcast reception unit 401 in accordance with the operation input to the operation input unit 414.

データ放送実行部406は、デジタル放送信号により送信されたデータ放送アプリケーションを実行し、データ放送の画像(グラフィック)データを映像制御部407へ出力する。データ放送実行部406は、放送通信連携サービスのアプリケーションを起動するためのAPIを備える。データ放送実行部406がデータ放送アプリケーションを実行して、放送通信連携サービスのアプリケーションを起動するAPIが呼び出された場合、データ放送実行部406は、アプリケーションの起動をアプリケーション実行制御部412に指示する。また、データ放送実行部406は、データカルーセルによって送信されたAITやアプリケーションファイルをデータ放送から取得してアプリケーション実行制御部412に出力する。また、データ放送実行部406は、データカルーセルによって送信されたポリシーデータをデータ放送から取得して提示制御部413に出力する。   The data broadcast execution unit 406 executes the data broadcast application transmitted by the digital broadcast signal, and outputs data broadcast image (graphic) data to the video control unit 407. The data broadcast execution unit 406 includes an API for starting an application of the broadcast communication cooperation service. When the data broadcast execution unit 406 executes the data broadcast application and an API for starting the application of the broadcast communication cooperation service is called, the data broadcast execution unit 406 instructs the application execution control unit 412 to start the application. Further, the data broadcast execution unit 406 acquires the AIT and application file transmitted by the data carousel from the data broadcast and outputs them to the application execution control unit 412. Further, the data broadcast execution unit 406 acquires the policy data transmitted by the data carousel from the data broadcast and outputs it to the presentation control unit 413.

アプリケーション実行制御部412は、放送通信連携サービスのアプリケーションを実行する。アプリケーション実行制御部412は、実行しているアプリケーションに従って、コンテンツ配信サーバ16、コンテンツ配信サーバ23、あるいは、サービスサーバ22から受信したコンテンツデータをデコードするように第2デコーダ405−2に指示する。コンテンツデータは、映像データ、音声データの一方または両方を含む。映像データは、例えば、動画、静止画、テキストデータなどである。また、アプリケーション実行制御部412は、実行しているアプリケーションに従って、映像制御部407にグラフィック(映像)データや映像制御指示を出力し、音声制御部409に音声データや音声制御指示を出力する。   The application execution control unit 412 executes an application of the broadcasting / communication cooperation service. The application execution control unit 412 instructs the second decoder 405-2 to decode the content data received from the content distribution server 16, the content distribution server 23, or the service server 22 in accordance with the application being executed. The content data includes one or both of video data and audio data. The video data is, for example, a moving image, a still image, text data, or the like. The application execution control unit 412 outputs graphic (video) data and video control instructions to the video control unit 407 and outputs audio data and voice control instructions to the audio control unit 409 according to the application being executed.

時計403は、タイマーカウンタ値を出力する。時計403は、PCRが示すタイマーカウンタ値により発振器の周波数を調整し、放送送信側と時刻を同期させる。
第1同期用バッファ404−1は、分離部402から出力される映像データ、音声データ、字幕データを記憶する。映像データ、音声データ、字幕データのエレメンタリーストリーム(ES)から生成されたPES(Packetized Elementary Stream)は、放送ストリーム(TS)を構成するトランスポートパケット(Transport Packet)に分割されて設定される。PESのヘッダには、PTS(提示時刻情報:Presentation Time Stamp)が含まれる。第1同期用バッファ404−1は、分離部402から出力された映像データ、音声データ、字幕データを、第1デコーダ405−1の指示によりPESパケット単位で出力する。
第2同期用バッファ404−2は、通信入出力部411が受信したコンテンツやサービスのコンテンツデータを記憶する。あるいは、第2同期用バッファ404−2は、操作入力部414により入力された視聴者の指示に従って、分離部402から出力される映像データ、音声データ、字幕データを記憶する。第2同期用バッファ404−2は、記憶しているコンテンツデータあるいは番組の映像データ、音声データ、字幕データを第2デコーダ405−2の指示によりPESパケット単位で出力する。
The clock 403 outputs a timer counter value. The clock 403 adjusts the frequency of the oscillator according to the timer counter value indicated by the PCR, and synchronizes the time with the broadcast transmission side.
The first synchronization buffer 404-1 stores video data, audio data, and caption data output from the separation unit 402. A PES (Packetized Elementary Stream) generated from an elementary stream (ES) of video data, audio data, and subtitle data is set by being divided into transport packets constituting a broadcast stream (TS). The PES header includes PTS (Presentation Time Stamp). The first synchronization buffer 404-1 outputs the video data, audio data, and caption data output from the separation unit 402 in units of PES packets according to the instruction of the first decoder 405-1.
The second synchronization buffer 404-2 stores content data and service content data received by the communication input / output unit 411. Alternatively, the second synchronization buffer 404-2 stores video data, audio data, and caption data output from the separation unit 402 in accordance with a viewer instruction input by the operation input unit 414. The second synchronization buffer 404-2 outputs the stored content data or video data, audio data, and caption data of the program in units of PES packets according to the instruction of the second decoder 405-2.

第1デコーダ405−1は、時計403から出力された時刻に対応したPTSが設定されている第1同期用バッファ404−1内のPESパケットを特定し、特定したPESパケットからエンコードされた映像データ、音声データ、字幕データを読み出し、読み出したデータをデコードして出力する。
第2デコーダ405−2は、時計403から出力された時刻に対応するPTSが設定されている第2同期用バッファ404−2内のコンテンツデータあるいは番組のPESパケットを特定し、特定したPESパケットからエンコードされた映像データ、音声データ、字幕データを読み出し、読み出したデータをデコードして出力する。
The first decoder 405-1 identifies the PES packet in the first synchronization buffer 404-1, in which the PTS corresponding to the time output from the clock 403 is set, and the video data encoded from the identified PES packet Audio data and subtitle data are read, and the read data are decoded and output.
The second decoder 405-2 identifies the content data or the PES packet of the program in the second synchronization buffer 404-2 in which the PTS corresponding to the time output from the clock 403 is set, and from the identified PES packet The encoded video data, audio data, and subtitle data are read, and the read data are decoded and output.

提示制御部413は、選局されている番組のポリシーレベルあるいは発生中のイベントのポリシーレベルと、提示ルールデータとに従って提示方法(画面表示方法及び音声出力方法)を決定する。提示制御部413は、決定した画面表示方法により、放送画面、Aアプリケーションのアプリケーション画面、及び、一般アプリケーションのアプリケーション画面を表示するよう映像制御部407に指示する。さらに、提示制御部413は、決定した音声出力方法により、放送の音声データによる音声、Aアプリケーションの音声データによる音声、及び、一般アプリケーションの音声データによる音声を出力するよう音声制御部409に指示する。   The presentation control unit 413 determines a presentation method (screen display method and audio output method) according to the policy level of the selected program or the policy level of the event that is occurring and the presentation rule data. The presentation control unit 413 instructs the video control unit 407 to display the broadcast screen, the application screen of the A application, and the application screen of the general application according to the determined screen display method. Furthermore, the presentation control unit 413 instructs the audio control unit 409 to output the sound based on the broadcast sound data, the sound based on the sound data of the A application, and the sound based on the sound data of the general application according to the determined sound output method. .

映像制御部407は、第1デコーダ405−1から出力された番組の映像データ及び字幕データに基づく放送画面と、第2デコーダ405−2から出力されたコンテンツデータの映像データに基づくAアプリケーション、一般アプリケーションのアプリケーション画面とを、提示制御部413またはアプリケーション実行制御部412から指示された画面表示方法に従って映像表示部408に表示させる。また、アプリケーション実行制御部412からアプリケーションの実行によりグラフィック(映像)データが出力される場合、映像制御部407は、提示制御部413またはアプリケーション実行制御部412から指示された画面表示方法に従って、その映像データに基づく表示画面を併せて映像表示部408に表示させる。なお、第2デコーダ405−2からは、他の番組の映像データ及び字幕データが出力される場合もある。   The video control unit 407 includes a broadcast screen based on the video data and caption data of the program output from the first decoder 405-1 and an A application based on the video data of the content data output from the second decoder 405-2, The application screen of the application is displayed on the video display unit 408 according to the screen display method instructed from the presentation control unit 413 or the application execution control unit 412. When graphic (video) data is output from the application execution control unit 412 by executing the application, the video control unit 407 displays the video according to the screen display method instructed from the presentation control unit 413 or the application execution control unit 412. A display screen based on the data is also displayed on the video display unit 408. The second decoder 405-2 may output video data and caption data of other programs.

映像表示部408は、一般的なディスプレイであり、放送およびアプリケーションの画面を表示する。例えば、映像表示部408は、番組の放送画面に、通信網9から受信したコンテンツデータの動画、静止画、テキストや、アプリケーションの実行によってアプリケーション実行制御部412から出力されたグラフィックなどのアプリケーション画面、または、他の番組の放送画面を合成した映像を表示する。   The video display unit 408 is a general display, and displays broadcast and application screens. For example, the video display unit 408 displays an application screen such as a moving image, a still image, text of content data received from the communication network 9, a graphic output from the application execution control unit 412 by executing the application, Alternatively, a video that combines broadcast screens of other programs is displayed.

音声制御部409は、第1デコーダ405−1から出力された番組の音声データに基づく音声と、第2デコーダ405−2から出力されたコンテンツデータの音声データに基づくAアプリケーションや一般アプリケーションの音声と、アプリケーションの実行によってアプリケーション実行制御部412から出力された音声データに基づく音声とを、提示制御部413またはアプリケーション実行制御部412より指示された音声出力方法に従って音声出力部410から出力させる。なお、第2デコーダ405−2からは、他の番組の音声データが出力される場合もある。音声出力部410は、一般的なスピーカーあり、放送およびアプリケーションの音声を出力する。   The audio control unit 409 includes audio based on the audio data of the program output from the first decoder 405-1, audio of A application and general application based on the audio data of the content data output from the second decoder 405-2. The voice based on the voice data output from the application execution control unit 412 by executing the application is output from the voice output unit 410 according to the voice output method instructed by the presentation control unit 413 or the application execution control unit 412. Note that the second decoder 405-2 may output audio data of another program. The audio output unit 410 is a general speaker and outputs broadcast and application audio.

ローカル情報記憶部416は、ユーザ情報などの各種データを記憶する。
外部インタフェース部(以下、「外部I/F部」と記載する。)417は、LAN(Local Area Network)などのホームネットワークなどに接続される機器8との間でデータを送受信する。機器8は、受信機4と連携動作する端末であり、例えば、パーソナルコンピュータ、携帯電話、タブレット、スマートフォン、PDAである。
The local information storage unit 416 stores various data such as user information.
An external interface unit (hereinafter referred to as “external I / F unit”) 417 transmits and receives data to and from the device 8 connected to a home network such as a LAN (Local Area Network). The device 8 is a terminal that operates in cooperation with the receiver 4, and is, for example, a personal computer, a mobile phone, a tablet, a smartphone, or a PDA.

なお、受信機4がセットトップボックスなどの場合、映像表示部408及び音声出力部410は、受信機4と接続される外部装置とする。   When the receiver 4 is a set top box or the like, the video display unit 408 and the audio output unit 410 are external devices connected to the receiver 4.

図23は、アプリケーション実行制御部412の詳細な構成を示すブロック図である。
同図に示すように、アプリケーション実行制御部412は、アプリケーション記憶部431、アプリケーション認証部432、アプリケーション管理部433、アプリケーション制御部434、アプリケーション実行部435、リソースアクセス制御部438及びリソース制御部439を備える。
FIG. 23 is a block diagram illustrating a detailed configuration of the application execution control unit 412.
As shown in the figure, the application execution control unit 412 includes an application storage unit 431, an application authentication unit 432, an application management unit 433, an application control unit 434, an application execution unit 435, a resource access control unit 438, and a resource control unit 439. Prepare.

アプリケーション記憶部431は、通信入出力部411が通信網9を介して受信したアプリケーションファイル、あるいは、データ放送実行部406がデータ放送から取得したアプリケーションファイル、または、分離部402が放送信号から分離したアプリケーションファイルを記憶する。アプリケーションファイルは出荷時などに予めアプリケーション記憶部431に記憶されていてもよい。アプリケーション記憶部431は、主記憶装置及びディスク等の補助記憶装置からなり、例えば、アプリケーションファイルはディスクに記憶され、実行時に主記憶装置に読み出される。この場合、オンザフライで実行されるアプリケーションのアプリケーションファイルは、ディスクには記憶されずに主記憶装置のみに記憶され、実行が終了した場合は主記憶装置から削除される。   The application storage unit 431 is an application file received by the communication input / output unit 411 via the communication network 9, or an application file acquired from the data broadcast by the data broadcast execution unit 406, or separated from the broadcast signal by the separation unit 402. Store application files. The application file may be stored in the application storage unit 431 in advance at the time of shipment. The application storage unit 431 includes a main storage device and an auxiliary storage device such as a disk. For example, an application file is stored on a disk and read to the main storage device at the time of execution. In this case, the application file of the application executed on-the-fly is not stored in the disk but is stored only in the main storage device, and is deleted from the main storage device when the execution is completed.

アプリケーション認証部432は、リポジトリサーバ3から電子署名の認証に必要なデータを受信し、受信したデータを用いてアプリケーションファイル(アプリケーションプログラム)に付加された電子署名の検証を行う。例えば、アプリケーション認証部432は、リポジトリサーバ3から受信した公開鍵を用いて、電子署名されたアプリケーションファイルを復号する。その結果、所定のデータ列が得られた場合、アプリケーション認証部432は、電子署名の検証が成功したと判断する。アプリケーション認証部432は、電子署名の検証が成功した場合、Aアプリケーションであると判断し、電子署名の検証が不成功である場合、あるいは、電子署名が付加されていない場合、一般アプリケーションであると判断する。   The application authentication unit 432 receives data necessary for authentication of the electronic signature from the repository server 3, and verifies the electronic signature added to the application file (application program) using the received data. For example, the application authentication unit 432 uses the public key received from the repository server 3 to decrypt the application file that has been digitally signed. As a result, when a predetermined data string is obtained, the application authentication unit 432 determines that the verification of the electronic signature has succeeded. When the verification of the electronic signature is successful, the application authentication unit 432 determines that the application is an A application. When the verification of the electronic signature is unsuccessful, or when the electronic signature is not added, the application authentication unit 432 determines that the application is a general application. to decide.

アプリケーション管理部433は、アプリケーション実行部435によるアプリケーションの起動または停止の状態、起動しているアプリケーションの出力状況を管理する。出力状況とは、動作中のアプリケーションから画像や音声が出力されているか否かの情報である。アプリケーション管理部433は、提示制御部413からの問い合わせを受け、起動されているアプリケーションの出力状況や、起動されているアプリケーションがAアプリケーションであるか一般アプリケーションであるかの応答を返送する。   The application management unit 433 manages the activation or stop state of the application by the application execution unit 435 and the output status of the activated application. The output status is information indicating whether an image or sound is output from a running application. In response to the inquiry from the presentation control unit 413, the application management unit 433 returns the output status of the activated application and a response indicating whether the activated application is an A application or a general application.

アプリケーション制御部434は、番組にバウンドされているアプリケーションに対する制御コードや、操作入力部414により入力されたアプリケーションに対する指示に従って、アプリケーション実行部435におけるアプリケーションの起動や停止などを制御する。また、アプリケーション制御部434は、データ放送実行部406から起動が指示されたアプリケーションの起動をアプリケーション実行部435に指示する。アプリケーション制御部434は、操作入力部414からの入力に従ってチャンネルが変更される場合、変更前のチャンネルの番組にバウンドされているアプリケーションの終了と、変更後のチャンネルの番組にバウンドされているアプリケーションの起動をアプリケーション実行部435に指示する。なお、アプリケーション制御部434は、番組にバウンドされているアプリケーションや、バウンドされているアプリケーションに対する制御コードを、放送信号の独立ESもしくはデータ放送に含まれるAIT、放送信号のEITから得られるAITと同等の情報、または、通信入出力部411を介して通知サーバ18もしくは通知サーバ24から受信したAITから取得する。また、アプリケーション制御部434は、AITに設定されているロケーション情報を宛先としてアプリケーションファイルのダウンロード要求を送信する。受信機4からダウンロード要求を受信したリポジトリサーバ3、または、受信機アプリサーバ21は、アプリケーションファイルを受信機4に配信する。   The application control unit 434 controls activation and stop of the application in the application execution unit 435 according to the control code for the application bound to the program and the instruction for the application input by the operation input unit 414. In addition, the application control unit 434 instructs the application execution unit 435 to start the application that is instructed to start from the data broadcast execution unit 406. When the channel is changed according to the input from the operation input unit 414, the application control unit 434 terminates the application bound to the program of the channel before the change and the application bound to the program of the channel after the change. The application execution unit 435 is instructed to start. Note that the application control unit 434 is equivalent to the application bound to the program and the control code for the bound application as the independent ES of the broadcast signal or the AIT included in the data broadcast and the AIT obtained from the EIT of the broadcast signal. Or from the AIT received from the notification server 18 or the notification server 24 via the communication input / output unit 411. In addition, the application control unit 434 transmits an application file download request with the location information set in the AIT as a destination. The repository server 3 or the receiver application server 21 that has received the download request from the receiver 4 distributes the application file to the receiver 4.

アプリケーション実行部435は、受信機API部436及び端末連携API部437を備える。アプリケーション実行部435は、アプリケーション制御部434からの指示に従って、起動が指示されたアプリケーションのアプリケーションプログラムをアプリケーション記憶部431から読み出して実行する。アプリケーション実行部435がアプリケーションプログラムを実行することにより、受信機4上でアプリケーションが動作し、アプリケーション実行部435は通信網9を経由してコンテンツをコンテンツ配信サーバ16やコンテンツ配信サーバ23に要求したり、サービスをサービスサーバ22に要求したりする。また、アプリケーションプログラムを実行することにより、アプリケーション実行部435は、映像制御部407へグラフィックデータや映像制御指示を出力したり、音声制御部409に音声データや音声制御指示を出力したりする。   The application execution unit 435 includes a receiver API unit 436 and a terminal cooperation API unit 437. In accordance with an instruction from the application control unit 434, the application execution unit 435 reads the application program of the application instructed to start from the application storage unit 431 and executes it. When the application execution unit 435 executes the application program, the application operates on the receiver 4, and the application execution unit 435 requests content from the content distribution server 16 and the content distribution server 23 via the communication network 9. Or request a service from the service server 22. Also, by executing the application program, the application execution unit 435 outputs graphic data and video control instructions to the video control unit 407 and outputs audio data and voice control instructions to the audio control unit 409.

受信機API部436は、アプリケーション実行部435がアプリケーションを実行するにあたって受信機4内の各リソースを利用するためのAPIである受信機APIを実行する。受信機API部436が受信機APIを実行することにより、アプリケーション実行部435が実行しているアプリケーションプログラムから受信機4内のリソースが利用可能となる。
端末連携API部437は、外部I/F部417により通信可能なホームネットワーク上の機器8や、通信網9を介して接続される機器が受信機4の機能を利用するためのAPIである端末連携APIを実行する。端末連携API部437が端末連携APIを実行することにより、ホームネットワークを介して接続される機器8や通信網9を介して接続される機器から受信機4内のリソースが利用可能となる。
The receiver API unit 436 executes a receiver API that is an API for using each resource in the receiver 4 when the application execution unit 435 executes the application. When the receiver API unit 436 executes the receiver API, the resources in the receiver 4 can be used from the application program executed by the application execution unit 435.
The terminal cooperation API unit 437 is an API that allows the device 8 on the home network that can communicate with the external I / F unit 417 and the device connected via the communication network 9 to use the function of the receiver 4. Execute cooperative API. When the terminal cooperation API unit 437 executes the terminal cooperation API, resources in the receiver 4 can be used from a device 8 connected via the home network or a device connected via the communication network 9.

リソース制御部439は、受信機API部436や端末連携API部437から受信機4内のリソースである各機能部へのアクセスを制御する。
リソースアクセス制御部438は、受信機API部436や端末連携API部437から受信機4内の各機能部へのアクセスを許可するか否かを制御する。リソースアクセス制御部438は、この制御を、受信機API部436や端末連携API部437が実行する各APIの呼び出し元であるアプリケーションがAアプリケーションであるか一般アプリケーションであるかに従って行なう。
The resource control unit 439 controls access from the receiver API unit 436 and the terminal cooperation API unit 437 to each functional unit that is a resource in the receiver 4.
The resource access control unit 438 controls whether access from the receiver API unit 436 and the terminal cooperation API unit 437 to each functional unit in the receiver 4 is permitted. The resource access control unit 438 performs this control according to whether the application that is the caller of each API executed by the receiver API unit 436 or the terminal cooperation API unit 437 is an A application or a general application.

図24は、提示制御部413の詳細な構成を示すブロック図である。同図に示すように、提示制御部413は、ポリシーデータ管理部451、ポリシーデータ記憶部452、イベント解釈部453、ポリシーレベル照合部454、イベント制御部455、番組ポリシー記憶部456、ポリシー調停部457及びポリシーレベル記憶部458を備える。   FIG. 24 is a block diagram illustrating a detailed configuration of the presentation control unit 413. As shown in the figure, the presentation control unit 413 includes a policy data management unit 451, a policy data storage unit 452, an event interpretation unit 453, a policy level collation unit 454, an event control unit 455, a program policy storage unit 456, and a policy mediation unit. 457 and a policy level storage unit 458.

ポリシーデータ記憶部452は、提示ルールデータ及びポリシーレベルテーブルを含むポリシーデータを記憶する。ポリシーデータ管理部451は、ポリシーデータ記憶部452に記憶されるポリシーデータを管理する。ポリシーデータ管理部451は、ポリシーデータ記憶部452から読み出したポリシーレベルテーブルをポリシーレベル照合部454に出力し、ポリシーデータ記憶部452から読み出した提示ルールデータをポリシー調停部457に出力する。また、ポリシーデータ管理部451は、放送により送信されたポリシーデータを分離部402あるいはデータ放送実行部406から受信し、通信により送信されたポリシーデータを通信入出力部411から受信する。ポリシーデータ管理部451は、ポリシーデータ記憶部452に記憶されているポリシーデータを、放送または通信により送信されたポリシーデータにより更新する。   The policy data storage unit 452 stores policy data including presentation rule data and a policy level table. The policy data management unit 451 manages policy data stored in the policy data storage unit 452. The policy data management unit 451 outputs the policy level table read from the policy data storage unit 452 to the policy level verification unit 454, and outputs the presentation rule data read from the policy data storage unit 452 to the policy arbitration unit 457. Further, the policy data management unit 451 receives the policy data transmitted by broadcasting from the separation unit 402 or the data broadcast execution unit 406, and receives the policy data transmitted by communication from the communication input / output unit 411. The policy data management unit 451 updates the policy data stored in the policy data storage unit 452 with the policy data transmitted by broadcasting or communication.

イベント解釈部453は、放送受信部401が受信した放送信号や、分離部402が分離したデータ放送や字幕データを解析し、イベントの発生または終了を検出する。イベント解釈部453は、イベントの発生または終了を検出(解釈)すると、その検出したイベントのイベント番号と、発生または終了を示すステータスデータとをポリシーレベル照合部454に出力する。   The event interpreter 453 analyzes the broadcast signal received by the broadcast receiver 401, the data broadcast and subtitle data separated by the separator 402, and detects the occurrence or end of the event. When the event interpretation unit 453 detects (interprets) the occurrence or end of an event, the event interpretation unit 453 outputs the event number of the detected event and status data indicating the occurrence or end to the policy level matching unit 454.

ポリシーレベル照合部454は、ポリシーレベルテーブルを参照して、EITにより示される各番組のジャンルに対応したポリシーレベルと、イベント番号により特定されるイベントに対応したポリシーレベルを決定(照合)する。ポリシーレベル照合部454は、分離部402から入力されたSIより取得した番組の放送開始時刻及び放送終了時刻のデータと、当該番組のポリシーレベル(以下、「番組ポリシーレベル」と記載する。)をイベント制御部455に出力する。なお、番組ポリシーレベルがEITに設定されている場合、ポリシーレベル照合部454は、番組の放送開始時刻及び放送終了時刻のデータと、EITから取得した当該番組の番組ポリシーレベルをイベント制御部455に出力する。
また、ポリシーレベル照合部454は、AITから番組ポリシーレベルを取得した場合、取得した番組ポリシーレベルをポリシー調停部457に出力する。また、ポリシーレベル照合部454は、イベント番号に対応して決定したポリシーレベル(以下、「トリガーポリシーレベル」と記載する。)をポリシー調停部457に出力する。
The policy level checking unit 454 refers to the policy level table to determine (check) the policy level corresponding to the genre of each program indicated by the EIT and the policy level corresponding to the event specified by the event number. The policy level collating unit 454 includes the broadcast start time and broadcast end time data of the program acquired from the SI input from the separating unit 402 and the policy level of the program (hereinafter referred to as “program policy level”). Output to the event control unit 455. When the program policy level is set to EIT, the policy level verification unit 454 sends the program start level and end time data of the program and the program policy level of the program acquired from the EIT to the event control unit 455. Output.
Further, when the policy level matching unit 454 acquires the program policy level from the AIT, the policy level matching unit 454 outputs the acquired program policy level to the policy mediation unit 457. Further, the policy level matching unit 454 outputs the policy level determined in accordance with the event number (hereinafter referred to as “trigger policy level”) to the policy arbitration unit 457.

番組ポリシー記憶部456は、番組開始時刻及び番組終了時刻と、番組ポリシーレベルを対応付けて記憶する。イベント制御部455は、ポリシーレベル照合部454から入力された番組開始時刻及び番組終了時刻のデータと、番組ポリシーレベルとを対応付けて番組ポリシー記憶部456に書き込み、番組ポリシー記憶部456に記憶されているこれらの情報を基に、表示制御を実行する時刻を管理する。イベント制御部455は、番組ポリシー記憶部456に記憶されている番組開始時刻のデータを参照し、実行時刻を通知すべき時刻となったことを検出した場合、実行時刻と、その実行時刻に対応した番組ポリシーレベルをポリシー調停部457に出力する。   The program policy storage unit 456 stores the program start time and program end time in association with the program policy level. The event control unit 455 writes the program start time and program end time data input from the policy level matching unit 454 and the program policy level in association with each other and writes them in the program policy storage unit 456, and stores them in the program policy storage unit 456. Based on these information, the time for executing the display control is managed. When the event control unit 455 refers to the program start time data stored in the program policy storage unit 456 and detects that the execution time is to be notified, the event control unit 455 corresponds to the execution time and the execution time. The program policy level is output to the policy mediation unit 457.

ポリシーレベル記憶部458は、ポリシー調停部457に入力された実行時刻及び番組ポリシーレベルと、トリガーポリシーレベル及びステータスデータを記憶する。ポリシー調停部457は、イベント制御部455から入力された実行時刻及び番組ポリシーレベルと、ポリシーレベル照合部454から入力されたトリガーポリシーレベルとからポリシーレベルを決定する。例えば、トリガーポリシーレベルをポリシーレベルとして決定してもよく、番組ポリシーレベルとトリガーポリシーレベルのうちより高いほうをポリシーレベルとして決定してもよい。   The policy level storage unit 458 stores the execution time and program policy level, trigger policy level, and status data input to the policy arbitration unit 457. The policy arbitration unit 457 determines a policy level from the execution time and program policy level input from the event control unit 455 and the trigger policy level input from the policy level collation unit 454. For example, the trigger policy level may be determined as the policy level, and the higher one of the program policy level and the trigger policy level may be determined as the policy level.

なお、ポリシーレベル照合部454からAITにより取得した番組ポリシーレベルが入力された場合、ポリシー調停部457は、イベント制御部455から入力された番組ポリシーレベルよりも、ポリシーレベル照合部454から入力された番組ポリシーレベルを優先する。つまり、ポリシー調停部457は、AITより得られた番組ポリシーレベルと、トリガーポリシーレベルとからポリシーレベルを決定する。ポリシー調停部457は、提示ルールデータを参照し、決定したポリシーレベルと、アプリケーション管理部433から取得した動作中のアプリケーションがAアプリケーションであるか否かの情報や出力状況から、画面表示方法及び音声出力方法(提示方法)を決定する。ポリシー調停部457は、決定した画面表示方法を映像制御部407に出力し、決定した音声出力方法を音声制御部409に出力する。   When the program policy level acquired by the AIT is input from the policy level verification unit 454, the policy mediation unit 457 is input from the policy level verification unit 454 rather than the program policy level input from the event control unit 455. Prioritize program policy level. That is, the policy mediation unit 457 determines the policy level from the program policy level obtained from the AIT and the trigger policy level. The policy arbitration unit 457 refers to the presentation rule data, and determines the screen display method and sound based on the determined policy level, information indicating whether the active application acquired from the application management unit 433 is an A application, and the output status. Determine the output method (presentation method). The policy arbitration unit 457 outputs the determined screen display method to the video control unit 407, and outputs the determined audio output method to the audio control unit 409.

ここで、図1に戻り、操作受付部474と、起動要求信号取得部471と、アプリケーション情報取得部472と、起動制御部473と、終了制御部481とについて説明する。
また、接続制御部501と、端末アプリケーション取得部502と、端末アプリケーション実行部503とについても説明する。
Here, returning to FIG. 1, the operation accepting unit 474, the activation request signal acquisition unit 471, the application information acquisition unit 472, the activation control unit 473, and the end control unit 481 will be described.
The connection control unit 501, the terminal application acquisition unit 502, and the terminal application execution unit 503 will also be described.

操作受付部474は、視聴者(操作者)による操作にしたがって操作信号を送信する操作機器である。操作受付部474は、例えば、受信機4を遠隔操作可能なリモートコントローラ(以下、リモコン)、受信機4の本体に配設された操作パネル等である。リモコンには、リモコン機能を実現するためのアプリケーションプログラムを実行中である携帯端末(携帯電話、スマートフォン、タブレット端末等)、コンピュータ装置、カーナビゲーション端末等が含まれる。   The operation reception unit 474 is an operation device that transmits an operation signal in accordance with an operation by a viewer (operator). The operation receiving unit 474 is, for example, a remote controller (hereinafter referred to as a remote controller) capable of remotely operating the receiver 4, an operation panel disposed on the receiver 4 body, or the like. The remote controller includes a mobile terminal (such as a mobile phone, a smartphone, and a tablet terminal) that is executing an application program for realizing a remote control function, a computer device, a car navigation terminal, and the like.

操作受付部474は、受信機4を操作するための操作部を備える。なお、本実施形態において、操作受付部474の操作部は、例えば、電源ボタン、“0”から“9”までの数字ボタン(チャンネル指定ボタン)、チャンネル切替ボタン、音量調節ボタン、データ放送サービスボタン等、従来のテレビ操作リモコンに設けられているものと同様な操作ボタンである。データ放送サービスボタンは、受信機4がデータ放送を受信しているときに押されるたびに、データ放送の表示と非表示とを切り替える操作ボタンである。データ放送サービスボタンは、データ放送ボタン、dボタン、またはDボタンとも呼ばれる。   The operation reception unit 474 includes an operation unit for operating the receiver 4. In the present embodiment, the operation unit of the operation receiving unit 474 includes, for example, a power button, numeric buttons from “0” to “9” (channel designation button), a channel switching button, a volume control button, and a data broadcasting service button. The operation buttons are the same as those provided on the conventional television operation remote controller. The data broadcasting service button is an operation button for switching between displaying and hiding data broadcasting every time the receiver 4 is pressed when receiving data broadcasting. The data broadcast service button is also called a data broadcast button, d button, or D button.

また、操作受付部474の操作部には、図1には図示しない放送通信連携サービスボタンが設けられている。この放送通信連携サービスボタンは、受信機4に放送通信連携サービスを受け始めさせるための操作ボタンである。放送通信連携サービスボタンは、放送通信連携ボタン、hボタン、またはHボタンとも呼ばれる。操作受付部474は、放送通信連携サービスボタンが押されると、放送通信連携サービスにおけるストリーム従属型サービスの開始を要求するための起動要求信号を送信する。   In addition, the operation unit of the operation reception unit 474 is provided with a broadcast communication cooperation service button (not shown in FIG. 1). This broadcast communication cooperation service button is an operation button for causing the receiver 4 to start receiving the broadcast communication cooperation service. The broadcast communication cooperation service button is also called a broadcast communication cooperation button, h button, or H button. When the broadcast communication cooperation service button is pressed, the operation reception unit 474 transmits an activation request signal for requesting the start of the stream dependent service in the broadcast communication cooperation service.

なお、操作受付部474の操作部は、例えば、タッチパネルとグラフィカル・ユーザ・インタフェース(Graphical User Interface;GUI)とによって実現されるものであってもよい。   Note that the operation unit of the operation reception unit 474 may be realized by, for example, a touch panel and a graphical user interface (GUI).

操作入力部414は、操作受付部474が送信した操作信号を受信する。
操作入力部414の起動要求信号取得部471は、操作入力部414が受信した操作信号のうち起動要求信号を取り込んで起動要求コマンドを生成し、この起動要求コマンドをアプリケーション実行制御部412のアプリケーション制御部434に供給する。
また、操作入力部414は、放送サービス復帰ボタン、例えば、操作受付部474の操作部に設けられた数字ボタンまたはチャンネル切替ボタンが操作されたことによって送信された操作信号を受信した場合、終了要求コマンドを生成し、この終了要求コマンドをアプリケーション制御部434に供給する。
The operation input unit 414 receives the operation signal transmitted by the operation reception unit 474.
The activation request signal acquisition unit 471 of the operation input unit 414 generates an activation request command by taking an activation request signal among the operation signals received by the operation input unit 414, and uses the activation request command as an application control of the application execution control unit 412. To the unit 434.
When the operation input unit 414 receives an operation signal transmitted by operating a broadcast service return button, for example, a numeric button or a channel switching button provided on the operation unit of the operation reception unit 474, the operation input unit 414 requests to end the operation. A command is generated and this end request command is supplied to the application control unit 434.

アプリケーション制御部434のアプリケーション情報取得部472は、分離部402から定期的または不定期に供給されるAIT(Application Inforamation Table、アプリケーション情報テーブル)を取り込む。より詳細には、アプリケーション情報取得部472は、視聴者によって所望に選択されたメディアのうち、所望に選局されたチャンネルに対応するTS(Transport Stream;TS、放送ストリーム)から抽出された、AITのES(Elementary Stream)を、定期的または不定期に取り込む。   The application information acquisition unit 472 of the application control unit 434 takes in an AIT (Application Information Table, application information table) supplied from the separation unit 402 regularly or irregularly. More specifically, the application information acquisition unit 472 extracts an AIT extracted from a TS (Transport Stream; TS, broadcast stream) corresponding to a channel selected as desired among media selected by the viewer. The ES (Elementary Stream) is taken regularly or irregularly.

AITは、前述したとおり、アプリケーションに関する情報と、アプリケーションに対する制御情報と、アプリケーションを指定する情報とを含む情報である。図6に示したように、アプリケーションに関する情報には、アプリケーション名(appName)とアプリケーションID(orgId,appId)とが含まれる。アプリケーションに対する制御情報には、前記の表7に示したアプリケーション制御コード(application_control_code)が含まれる。このアプリケーション制御コードは、例えば、アプリケーションのライフサイクルを制御するためのデータである。アプリケーションを指定する情報には、ロケーション情報(location)が含まれる。このロケーション情報は、アプリケーションファイルの格納場所およびアプリケーションファイルを特定する情報である。ストリーム従属型サービスにおけるロケーション情報は、アプリケーションファイルを格納した受信機アプリサーバ21またはリポジトリサーバ3(アプリケーションサーバ)のURL(Uniform Resource Locator)である。   As described above, the AIT is information including information related to the application, control information for the application, and information for specifying the application. As shown in FIG. 6, the application information includes an application name (appName) and an application ID (orgId, appId). The control information for the application includes the application control code (application_control_code) shown in Table 7 above. This application control code is data for controlling the life cycle of the application, for example. The information specifying the application includes location information (location). This location information is information for specifying the storage location of the application file and the application file. The location information in the stream dependent service is a URL (Uniform Resource Locator) of the receiver application server 21 or the repository server 3 (application server) that stores the application file.

アプリケーション情報取得部472は、取り込んだAITからアプリケーション制御コードとアプリケーションIDとを抽出し、これらアプリケーション制御コードとアプリケーションIDとを終了制御部481に供給する。
なお、アプリケーション情報取得部472は、取り込んだAITからアプリケーションIDの代わりに、またはアプリケーションIDと共にアプリケーション名を抽出して終了制御部481に供給してもよい。
The application information acquisition unit 472 extracts the application control code and application ID from the captured AIT, and supplies the application control code and application ID to the end control unit 481.
Note that the application information acquisition unit 472 may extract the application name from the captured AIT instead of the application ID or together with the application ID and supply it to the end control unit 481.

また、アプリケーション情報取得部472は、起動要求信号取得部471から供給される起動要求コマンドを取り込むと、この起動要求コマンドの取り込みタイミングと同時またはこの取り込みタイミングの直後に取り込んだAITから、アプリケーション制御コードの他、アプリケーション名とロケーション情報とを抽出する。アプリケーション情報取得部472が抽出したアプリケーション名とアプリケーション制御コードとロケーション情報とを、アプリケーション情報と呼ぶ。アプリケーション情報取得部472は、抽出したアプリケーション情報を起動制御部473に供給する。   Further, when the application information acquisition unit 472 captures the activation request command supplied from the activation request signal acquisition unit 471, the application control code is obtained from the AIT captured at the same time as the activation request command or immediately after the acquisition timing. In addition, the application name and location information are extracted. The application name, application control code, and location information extracted by the application information acquisition unit 472 are referred to as application information. The application information acquisition unit 472 supplies the extracted application information to the activation control unit 473.

また、アプリケーション情報取得部472は、分離部402から定期的または不定期に供給されるPSI(Program Specific Information、プログラム特定情報)/SI(Service Information、番組配列情報)を取り込む。より詳細には、アプリケーション情報取得部472は、上述した、所望に選択されたメディアのうち、所望に選局されたチャンネルに対応するTSから抽出されたPSI/SIを、定期的または不定期に取り込む。
PSI/SIは、放送番組に関連するメタデータを含む情報である。メタデータは、前述したとおり、例えば、番組ID、番組概要、出演者、スタッフ、放送日時、台本、字幕、解説等の、放送番組に関連する情報である。
Further, the application information acquisition unit 472 takes in PSI (Program Specific Information, program identification information) / SI (Service Information, program arrangement information) supplied from the separation unit 402 regularly or irregularly. More specifically, the application information acquisition unit 472 periodically or irregularly extracts the PSI / SI extracted from the TS corresponding to the desired channel selected from the above-described desired media. take in.
PSI / SI is information including metadata related to a broadcast program. As described above, the metadata is information related to a broadcast program such as a program ID, a program overview, performers, staff, broadcast date and time, script, captions, and commentary.

本実施形態では、受信機4と機器8とを連携動作させる場合において機器8に実行させるアプリケーション(端末アプリケーションとも呼ぶ)を指定するアプリケーション指定情報が、PSI/SIに含まれている。アプリケーション指定情報は、端末アプリケーションを識別する識別情報であってもよいし、端末アプリケーションを格納する外部の端末アプリケーションサーバのURLであってもよい。
なお、アプリケーション指定情報はメタデータに含まれていてもよい。
放送送出装置11の信号設定部112は、放送番組またはその内容もしくはその進行状況に対応付けて、アプリケーション指定情報をTSに多重化する。
In the present embodiment, PSI / SI includes application designation information for designating an application (also referred to as a terminal application) to be executed by the device 8 when the receiver 4 and the device 8 are operated in cooperation. The application designation information may be identification information for identifying a terminal application, or may be a URL of an external terminal application server that stores the terminal application.
The application designation information may be included in the metadata.
The signal setting unit 112 of the broadcast transmission apparatus 11 multiplexes application designation information in the TS in association with the broadcast program or its contents or its progress.

アプリケーション情報取得部472は、取り込んだPSI/SIからアプリケーション指定情報とメタデータとを抽出し、これらアプリケーション指定情報とメタデータの全部または一部とをアプリケーション実行部435に供給する。
なお、アプリケーション指定情報およびメタデータまたはいずれかの情報は、特定の識別子に対応付けられて、独立的に設けられたESに含められてもよい。この場合は、分離部402は、そのESから、特定の識別子を手がかりとして、アプリケーション指定情報およびメタデータまたはいずれかの情報を抽出する。
The application information acquisition unit 472 extracts application designation information and metadata from the captured PSI / SI, and supplies all or part of the application designation information and metadata to the application execution unit 435.
The application designation information and metadata or any information may be included in an ES provided independently in association with a specific identifier. In this case, the separation unit 402 extracts application designation information and / or metadata from the ES using a specific identifier as a clue.

起動制御部473は、アプリケーション情報取得部472から供給されるアプリケーション情報、すなわち、アプリケーション名とアプリケーション制御コードとロケーション情報とを取り込む。起動制御部473は、アプリケーション制御コードがアプリケーションのスタンバイを示すデータであると識別した場合、アプリケーション情報に対応するアプリケーションの起動を制御する。   The activation control unit 473 captures application information supplied from the application information acquisition unit 472, that is, an application name, an application control code, and location information. The activation control unit 473 controls the activation of the application corresponding to the application information when the application control code is identified as data indicating standby of the application.

具体的には、起動制御部473は、アプリケーション制御コードがアプリケーションのスタンバイを示すデータであると識別した場合、アプリケーション要求コマンドを生成し、このアプリケーション要求コマンドを通信入出力部411に供給する。つまり、起動制御部473は、アプリケーション要求部である。
アプリケーションのスタンバイを示すデータは、例えば、前記の表7に示したアプリケーション制御コードにおける“12(16進数)”(識別名:PRESENT)である。
なお、アプリケーションのスタンバイを示すデータとしては、上記の“12(16進数)”(識別名:PRESENT)以外にも、専用に割り当てられたコードとしてもよい。
アプリケーション要求コマンドは、ロケーション情報が示すロケーションをアプリケーションファイルの要求先とし、そのアプリケーションファイルの取得要求(ダウンロード要求)を示すコマンドである。
Specifically, the activation control unit 473 generates an application request command and supplies the application request command to the communication input / output unit 411 when the application control code identifies data indicating application standby. That is, the activation control unit 473 is an application request unit.
The data indicating the standby of the application is, for example, “12 (hexadecimal number)” (identification name: PRESENT) in the application control code shown in Table 7 above.
In addition to the above “12 (hexadecimal number)” (identification name: PRESENT), the data indicating the standby of the application may be a dedicated code.
The application request command is a command indicating an acquisition request (download request) of the application file with the location indicated by the location information as a request destination of the application file.

なお、起動制御部473によるアプリケーションの起動の制御には、アプリケーション記憶部431に記憶されたアプリケーションファイルをアプリケーション実行部435に読み込ませて実行開始させることも含まれる。   Note that control of application activation by the activation control unit 473 includes reading an application file stored in the application storage unit 431 into the application execution unit 435 to start execution.

また、起動制御部473は、通信入出力部411から供給されるアプリケーションファイルの取得通知を取り込むと、アプリケーション実行要求コマンドを生成し、このアプリケーション実行要求コマンドをアプリケーション実行部435に供給する。
アプリケーション実行要求コマンドは、アプリケーションファイルの取得通知に対応するアプリケーションに対する実行開始要求を示すコマンドである。
In addition, when the activation control unit 473 receives the application file acquisition notification supplied from the communication input / output unit 411, the activation control unit 473 generates an application execution request command and supplies the application execution request command to the application execution unit 435.
The application execution request command is a command indicating an execution start request for the application corresponding to the application file acquisition notification.

アプリケーション制御部434の終了制御部481は、操作入力部414から供給される終了要求コマンドを取り込むと、アプリケーション実行部435からアプリケーションの処理の状態(アプリケーション実行状態)を検出する。終了制御部481は、検出したアプリケーション実行状態が実行状態である場合、アプリケーション実行終了コマンドを生成し、このアプリケーション実行終了コマンドをアプリケーション実行部435に供給する。つまり、終了制御部481は、操作入力部414から供給される終了要求コマンドを取り込むと、取り込み中のTSに対応付けられ且つ実行中であるアプリケーションの実行終了を制御する。   When the termination control unit 481 of the application control unit 434 fetches the termination request command supplied from the operation input unit 414, the application execution unit 435 detects the application processing state (application execution state). When the detected application execution state is the execution state, the end control unit 481 generates an application execution end command and supplies the application execution end command to the application execution unit 435. That is, when the termination control unit 481 captures the termination request command supplied from the operation input unit 414, the termination control unit 481 controls the termination of the execution of the application that is associated with the TS being captured and is being executed.

また、終了制御部481は、アプリケーション情報取得部472から供給されるアプリケーション制御コードとアプリケーションIDとを取り込む。終了制御部481は、取り込んだアプリケーション制御コードがアプリケーションの実行終了を指示するデータであると識別した場合、このアプリケーション制御コードに対応付けられたアプリケーションIDに対応するアプリケーションの実行終了を制御する。   Further, the end control unit 481 takes in the application control code and application ID supplied from the application information acquisition unit 472. When the captured application control code is identified as data for instructing the end of execution of the application, the end control unit 481 controls the end of execution of the application corresponding to the application ID associated with the application control code.

具体的には、終了制御部481は、アプリケーション制御コードがアプリケーションの実行終了を指示するデータであると識別した場合、このアプリケーション制御コードに対応付けられたアプリケーションIDを含むアプリケーション実行終了コマンドを生成し、このアプリケーション実行終了コマンドをアプリケーション実行部435に供給する。
アプリケーションの実行終了を指示するデータは、例えば、前記の表7に示したアプリケーション制御コードにおける“03(16進数)”(識別名:DESTROY)である。
Specifically, if the end control unit 481 identifies that the application control code is data instructing the end of execution of the application, the end control unit 481 generates an application execution end command including the application ID associated with the application control code. The application execution end command is supplied to the application execution unit 435.
The data for instructing the end of execution of the application is, for example, “03 (hexadecimal number)” (identification name: DESTROY) in the application control code shown in Table 7 above.

なお、アプリケーションの実行終了を指示するデータとしては、上記の“03(16進数)”(識別名:DESTROY)以外にも、“04(16進数)”(識別名:KILL)、“08(16進数)”(識別名:KILL ALL)、その他専用に割り当てられたコードとしてもよい。   In addition to the above “03 (hexadecimal number)” (identification name: DESTROY), “04 (hexadecimal number)” (identification name: KILL), “08 (16) (Hexadecimal number) "(identification name: KILL ALL), or other dedicated code may be used.

前述したアプリケーション実行部435は、その機能構成として、図示しないコンテンツ要求部を備える。このコンテンツ要求部は、アプリケーションの実行処理において必要なコンテンツデータを、放送局サーバ群12のコンテンツ配信サーバ16またはサービス事業者サーバ群2のコンテンツ配信サーバ23に対して要求するためのコンテンツ要求コマンドを生成し、このコンテンツ要求コマンドを通信入出力部411に供給する。   The application execution unit 435 described above includes a content request unit (not shown) as its functional configuration. This content requesting unit sends a content request command for requesting content data necessary for the application execution process to the content distribution server 16 of the broadcast station server group 12 or the content distribution server 23 of the service provider server group 2. The content request command is generated and supplied to the communication input / output unit 411.

アプリケーション実行部435は、前述したとおり、受信機4と機器8との連携機能を実現するための端末連携API(Application Program Interface)を有している。アプリケーション実行部435は、機器8との連携処理を実行するアプリケーション(連携アプリケーションとも呼ぶ)を実行する場合には、その連携アプリケーションに端末連携APIを呼び出させて実行処理する。   As described above, the application execution unit 435 has a terminal cooperation API (Application Program Interface) for realizing a cooperation function between the receiver 4 and the device 8. When executing an application (also referred to as a cooperative application) that executes a cooperative process with the device 8, the application execution unit 435 causes the cooperative application to call the terminal cooperative API and execute the application.

アプリケーション実行部435は、受信機4と機器8とを連携動作させた後、アプリケーション情報取得部472から供給されるアプリケーション指定情報とメタデータとを取り込む。受信機4と機器8とを連携動作させるとは、受信機4と機器8との通信路を確立させて、受信機4と機器8とが協働して放送通信連携サービスの受給状態を実現することである。受信機4と機器8との通信は、外部I/F部417のブリッジ部493が有するWebSocket用ブリッジ機能によるWebSocketのコネクションを介して行われる。   The application execution unit 435 takes the application designation information and metadata supplied from the application information acquisition unit 472 after operating the receiver 4 and the device 8 in cooperation. The cooperative operation of the receiver 4 and the device 8 is to establish a communication path between the receiver 4 and the device 8, and the receiver 4 and the device 8 cooperate to realize the receiving state of the broadcasting / communication cooperation service. It is to be. Communication between the receiver 4 and the device 8 is performed via a WebSocket connection using a WebSocket bridge function included in the bridge unit 493 of the external I / F unit 417.

アプリケーション実行部435は、連携動作中である機器8を指定する情報と、その機器8に実行させる端末アプリケーションを指定する情報(アプリケーション指定情報)と、メタデータとに基づいて、その機器8に対して端末アプリケーションを指定し起動制御を行う。機器8を指定する情報は、アプリケーション実行部435が、受信機4と機器8との連携を確立させたときに機器8から取得する情報である。
なお、受信機4に連携動作させる機器8があらかじめ特定されている場合は、機器8を指定する情報を省略してもよい。
The application execution unit 435 responds to the device 8 based on information specifying the device 8 that is operating in cooperation, information specifying the terminal application to be executed by the device 8 (application specifying information), and metadata. Specify the terminal application and perform startup control. The information specifying the device 8 is information acquired from the device 8 when the application execution unit 435 establishes cooperation between the receiver 4 and the device 8.
In addition, when the device 8 to be cooperatively operated by the receiver 4 is specified in advance, information specifying the device 8 may be omitted.

アプリケーション実行部435は、機器8を指定する情報と、アプリケーション指定情報と、メタデータとに基づいて、機器8に対して端末アプリケーションを指定し起動させるためのInvokeApplicationOnDevice()メソッドを、端末連携APIに設けている。InvokeApplicationOnDevice()メソッドは、例えば、下記のフォーマットを有する。   The application execution unit 435 provides an InvokeApplicationOnDevice () method for specifying and starting a terminal application to the device 8 based on information specifying the device 8, application specifying information, and metadata in the terminal cooperation API. Provided. The InvokeApplicationOnDevice () method has the following format, for example.

メソッド名: InvokeApplicationOnDevice()
機能: 機器8に対して端末アプリケーションを指定し起動させる。
引数: device_dev,application_id,strings_parameters
Method name: InvokeApplicationOnDevice ()
Function: Designates and starts a terminal application for the device 8.
Arguments: device_dev, application_id, strings_parameters

上記のInvokeApplicationOnDevice()メソッドにおいて、device_devは連携動作中である機器8を指定する情報(デバイスID)、application_idは端末アプリケーションを指定する情報(アプリケーション指定情報、アプリケーションID)、strings_parametersはメタデータである。
つまり、機器8と受信機4とが連携動作を開始した後、アプリケーション実行部435がInvokeApplicationOnDevice()メソッドを実行すると、アプリケーション実行部435は、device_devに対応する機器8に対して、application_idに対応する端末アプリケーションを起動させるための起動コマンドを、外部I/F417を介して機器8に送信する。
このとき、この起動コマンドには、stringus_parametersが引数として含められる。
In the InvokeApplicationOnDevice () method, device_dev is information (device ID) that specifies the device 8 that is operating in cooperation, application_id is information (application specification information, application ID) that specifies a terminal application, and strings_parameters is metadata.
That is, after the device 8 and the receiver 4 start the cooperative operation, when the application execution unit 435 executes the InvokeApplicationOnDevice () method, the application execution unit 435 corresponds to application_id for the device 8 corresponding to device_dev. A start command for starting the terminal application is transmitted to the device 8 via the external I / F 417.
At this time, stringus_parameters is included as an argument in this activation command.

なお、アプリケーション実行部435は、InvokeApplicationOnDevice()メソッドにおける引数のうち、stringus_parametersを省略して実行処理してもよい。本実施形態では、引数にstringus_parametersを含む場合について説明する。   Note that the application execution unit 435 may execute the execution process by omitting stringus_parameters from the arguments in the InvokeApplicationOnDevice () method. In the present embodiment, a case where stringus_parameters is included in the argument will be described.

また、前述した通信入出力部411は、その機能構成として、図示しないアプリケーション取得部と、コンテンツ取得部とを備える。
アプリケーション取得部は、通信入出力部411が送信したアプリケーション要求信号を受信した外部のサーバ、例えば、受信機アプリサーバ21またはリポジトリサーバ3から送信されたアプリケーションファイルを取り込み、このアプリケーションファイルをアプリケーション記憶部431に記憶させる。
コンテンツ取得部は、通信入出力部411が送信したコンテンツ要求信号を受信した外部のサーバ、例えば、コンテンツ配信サーバ16またはコンテンツ配信サーバ23から送信されたコンテンツデータを取り込み、このコンテンツデータを第2同期用バッファ404−2に供給する。
Further, the communication input / output unit 411 described above includes an application acquisition unit (not shown) and a content acquisition unit as its functional configuration.
The application acquisition unit takes in an application file transmitted from an external server, for example, the receiver application server 21 or the repository server 3 that has received the application request signal transmitted by the communication input / output unit 411, and stores the application file in the application storage unit 431 is stored.
The content acquisition unit takes in content data transmitted from an external server that has received the content request signal transmitted by the communication input / output unit 411, for example, the content distribution server 16 or the content distribution server 23, and this content data is second synchronized. To the buffer 404-2.

機器8の接続制御部501は、受信機4の外部I/F部417との間で通信を行うための通信インタフェースである。機器8と受信機4とが連携動作を開始した後、アプリケーション実行部435がInvokeApplicationOnDevice()メソッドを実行すると、接続制御部501は、外部I/F部417から供給される、strings_parametersを引数とした起動コマンドを取り込み、この起動コマンドを端末アプリケーション取得部502に供給する。   The connection control unit 501 of the device 8 is a communication interface for performing communication with the external I / F unit 417 of the receiver 4. When the application execution unit 435 executes the InvokeApplicationOnDevice () method after the device 8 and the receiver 4 start cooperative operation, the connection control unit 501 uses strings_parameters supplied from the external I / F unit 417 as an argument. The activation command is captured, and the activation command is supplied to the terminal application acquisition unit 502.

端末アプリケーション取得部502は、接続制御部501から供給される起動コマンドを取り込み、この起動コマンドに基づいて端末アプリケーションを取得し、この取得した端末アプリケーションを、strings_parametersとともに端末アプリケーション実行部503に供給する。   The terminal application acquisition unit 502 takes in the activation command supplied from the connection control unit 501, acquires a terminal application based on the activation command, and supplies the acquired terminal application to the terminal application execution unit 503 together with strings_parameters.

具体的には、端末アプリケーション取得部502は、図示しない端末アプリケーション記憶部を備えている。端末アプリケーション取得部502は、起動コマンドが示すdevice_devが当該機器8に該当するか否かを判定する。device_devが当該機器8に該当する場合、端末アプリケーション取得部502は、起動コマンドが示すapplication_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されているか否かを判定する。application_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されている場合、端末アプリケーション取得部502は、その端末アプリケーションを端末アプリケーション記憶部から読み出してstrings_parametersとともに端末アプリケーション実行部503に供給する。
device_devが当該機器8に該当しない場合、端末アプリケーション取得部502は、接続制御部501を介して受信機4にエラー情報を送信してもよい。
Specifically, the terminal application acquisition unit 502 includes a terminal application storage unit (not shown). The terminal application acquisition unit 502 determines whether device_dev indicated by the start command corresponds to the device 8. When device_dev corresponds to the device 8, the terminal application acquisition unit 502 determines whether a terminal application corresponding to application_id indicated by the activation command is stored in the terminal application storage unit. When the terminal application corresponding to application_id is stored in the terminal application storage unit, the terminal application acquisition unit 502 reads the terminal application from the terminal application storage unit and supplies it to the terminal application execution unit 503 along with strings_parameters.
When device_dev does not correspond to the device 8, the terminal application acquisition unit 502 may transmit error information to the receiver 4 via the connection control unit 501.

また、application_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されていない場合、端末アプリケーション取得部502は、その端末アプリケーションの取得要求を示す端末アプリケーション要求信号を生成し、この端末アプリケーション要求信号を、端末アプリケーションサーバに対して供給する。そして、端末アプリケーション取得部502は、端末アプリケーション要求信号に応じて端末アプリケーションサーバから供給された端末アプリケーションを取り込み、この端末アプリケーションをstrings_parametersとともに端末アプリケーション実行部503に供給する。
なお、端末アプリケーション取得部502は、その取り込んだ端末アプリケーションを、端末アプリケーション記憶部に記憶させてもよい。
When the terminal application corresponding to application_id is not stored in the terminal application storage unit, the terminal application acquisition unit 502 generates a terminal application request signal indicating an acquisition request for the terminal application, and the terminal application request signal is Supplied to the terminal application server. And the terminal application acquisition part 502 takes in the terminal application supplied from the terminal application server according to a terminal application request signal, and supplies this terminal application to the terminal application execution part 503 with strings_parameters.
The terminal application acquisition unit 502 may store the captured terminal application in the terminal application storage unit.

端末アプリケーションは、例えば、受信機4を遠隔操作するリモコン機能を実現するためのリモコンアプリケーション、クイズ番組やバラエティ番組等において視聴者から放送局またはサービス事業者に視聴者回答を送信するための回答(投票)アプリケーション、ウェブログ、チャット、SNS(Social Networking Service)等のクライアント機能を実現するためのアプリケーション等である。   The terminal application is, for example, a remote control application for realizing a remote control function for remotely operating the receiver 4, an answer for transmitting a viewer answer from a viewer to a broadcasting station or a service provider in a quiz program, a variety program, or the like ( Voting) application, web log, chat, SNS (Social Networking Service), and other client functions.

端末アプリケーション実行部503は、端末アプリケーション取得部502から供給される端末アプリケーションとstrings_parametersとを取り込み、このstrings_parametersを用いて端末アプリケーションを実行処理する。
例えば、strings_parametersが放送番組のキャストやスタッフに関する情報である場合、端末アプリケーション実行部503は、その放送番組のキャストやスタッフに関する情報、つまり放送リソースを利用して端末アプリケーションを実行処理する。
The terminal application execution unit 503 takes in the terminal application and strings_parameters supplied from the terminal application acquisition unit 502 and executes the terminal application using the strings_parameters.
For example, when strings_parameters is information related to a cast or staff of a broadcast program, the terminal application execution unit 503 executes the terminal application using information related to the cast or staff of the broadcast program, that is, broadcast resources.

図25は、操作受付部474として赤外線リモコンを用いた場合の、概略の外観正面図である。同図に示すように、操作受付部474には、電源ボタン、数字ボタン、チャンネル切替ボタン、音量調節ボタン、データ放送サービスボタン等、従来のテレビ操作リモコンに設けられているものと同様なボタンの他、放送通信連携サービスボタン475が設けられている。   FIG. 25 is a schematic external front view when an infrared remote controller is used as the operation receiving unit 474. As shown in the figure, the operation accepting unit 474 includes buttons similar to those provided on a conventional TV operation remote controller, such as a power button, a numeric button, a channel switching button, a volume control button, and a data broadcasting service button. In addition, a broadcast communication cooperation service button 475 is provided.

次に、操作受付部474の放送通信連携サービスボタン475が押された場合において、受信機4がAITを取得し、このAITに基づいて外部のサーバからアプリケーションファイルを取得してアプリケーションを実行し、このアプリケーションの実行処理に伴い、関連するコンテンツを外部のサーバから取得して提示する処理について説明する。   Next, when the broadcast communication cooperation service button 475 of the operation reception unit 474 is pressed, the receiver 4 acquires an AIT, acquires an application file from an external server based on the AIT, executes the application, A process for acquiring and presenting related content from an external server in accordance with the execution process of the application will be described.

図26は、受信機4と、受信機アプリサーバ21と、コンテンツ配信サーバ23との処理の手順を示すシーケンス図である。
ステップS1において、受信機4は、操作受付部474から送信される起動要求信号を受信すると、視聴者の所望によって選択されたメディアのうち、選局されたチャンネルに対応するTSから、AITのESを抽出する。
次に、ステップS2において、受信機4は、AITに含まれるアプリケーション制御コードがアプリケーションのスタンバイを示すデータであると識別した場合、アプリケーション要求信号を受信機アプリサーバ21に対して送信する。
次に、ステップS3において、受信機アプリサーバ21は、受信機4が送信したアプリケーション要求信号を受信して取り込むと、このアプリケーション要求信号が指定するアプリケーションファイルを読み出す。
次に、ステップS4において、受信機アプリサーバ21は、アプリケーション要求信号を送信した受信機4に対して、アプリケーションファイルを送信する。
FIG. 26 is a sequence diagram showing processing procedures of the receiver 4, the receiver application server 21, and the content distribution server 23.
In step S 1, when the receiver 4 receives the activation request signal transmitted from the operation reception unit 474, the AIT ES from the TS corresponding to the selected channel among the media selected by the viewer's request is received. To extract.
Next, in step S <b> 2, when the receiver 4 identifies that the application control code included in the AIT is data indicating application standby, the receiver 4 transmits an application request signal to the receiver application server 21.
Next, in step S3, when the receiver application server 21 receives and captures the application request signal transmitted by the receiver 4, the receiver application server 21 reads the application file specified by the application request signal.
Next, in step S4, the receiver application server 21 transmits the application file to the receiver 4 that has transmitted the application request signal.

次に、ステップS5において、受信機4は、受信機アプリサーバ21が送信したアプリケーションファイルを受信して取り込み、アプリケーションの実行処理を開始する。
次に、ステップS6において、受信機4は、アプリケーションの実行処理に伴って必要となるコンテンツデータを取得するためのコンテンツ要求信号をコンテンツ配信サーバ23に対して送信する。
次に、ステップS7において、コンテンツ配信サーバ23は、受信機4が送信したコンテンツ要求信号を受信して取り込むと、このコンテンツ要求信号が指定するコンテンツデータを読み出す。
次に、ステップS8において、コンテンツ配信サーバ23は、コンテンツ要求信号を送信した受信機4に対して、コンテンツデータを送信する。
次に、ステップS9において、受信機4は、コンテンツ配信サーバ23が送信したコンテンツデータを受信して取り込み、コンテンツをデコード処理して表示したり音声出力したりする。
Next, in step S5, the receiver 4 receives and takes in the application file transmitted by the receiver application server 21, and starts application execution processing.
Next, in step S <b> 6, the receiver 4 transmits to the content distribution server 23 a content request signal for acquiring content data that is necessary for the execution process of the application.
Next, in step S7, when the content distribution server 23 receives and takes in the content request signal transmitted by the receiver 4, it reads out the content data specified by the content request signal.
Next, in step S8, the content distribution server 23 transmits content data to the receiver 4 that has transmitted the content request signal.
Next, in step S9, the receiver 4 receives and takes in the content data transmitted by the content distribution server 23, decodes the content, displays it, and outputs it.

なお、図26において、受信機アプリサーバ21の代わりにリポジトリサーバ3を設けた場合、および、コンテンツ配信サーバ23の代わりにコンテンツ配信サーバ16を設けた場合も同様な処理となる。   In FIG. 26, the same processing is performed when the repository server 3 is provided instead of the receiver application server 21 and when the content distribution server 16 is provided instead of the content distribution server 23.

次に、操作受付部474から送信された操作信号を受信する受信機4の動作について、詳細に説明する。
図27および図28は、受信機4が操作受付部474の操作にしたがって作動する場合の、動作の処理手順を示すフローチャートである。
受信機4が放送信号を取り込み、視聴者によって選択されたメディアと選局されたチャンネルとに対応するTSから放送コンテンツを抽出して提示している状態、つまり、所望の番組を表示および音声出力している状態において、受信機4は、本フローチャートによる処理を実行開始する。
Next, the operation of the receiver 4 that receives the operation signal transmitted from the operation reception unit 474 will be described in detail.
FIG. 27 and FIG. 28 are flowcharts showing the processing procedure of the operation when the receiver 4 operates according to the operation of the operation receiving unit 474.
The receiver 4 captures the broadcast signal, extracts the broadcast content from the TS corresponding to the media selected by the viewer and the selected channel, that is, displays the desired program and outputs the audio In this state, the receiver 4 starts executing the processing according to this flowchart.

まず、ステップS11において、操作入力部414は、操作受付部474が送信する操作信号の受信を受け付けている。操作入力部414は、操作受付部474が送信した操作信号を受信すると、この操作信号を取り込んでステップS12の処理に移す。
ステップS12において、操作入力部414は、受信した操作信号が起動要求信号である場合(S12:YES)はステップS13の処理に移し、受信した操作信号が起動要求信号でない場合(S12:NO)は、図28のステップS21の処理に移す。
First, in step S <b> 11, the operation input unit 414 receives reception of an operation signal transmitted from the operation receiving unit 474. When the operation input unit 414 receives the operation signal transmitted from the operation reception unit 474, the operation input unit 414 takes in the operation signal and proceeds to the process of step S12.
In step S12, the operation input unit 414 proceeds to the process of step S13 when the received operation signal is the activation request signal (S12: YES), and when the received operation signal is not the activation request signal (S12: NO). Then, the process proceeds to step S21 in FIG.

ステップS13において、起動要求信号取得部471は、起動要求信号を取り込んで起動要求コマンドを生成し、この起動要求コマンドをアプリケーション実行制御部412のアプリケーション制御部434に供給する。
次に、アプリケーション制御部434のアプリケーション情報取得部472は、起動要求信号取得部471から供給される起動要求コマンドを取り込む。
次に、アプリケーション情報取得部472は、分離部402から供給されるAITを取り込む。このAITは、視聴者によって所望に選択されたメディアのうち、所望に選局されたチャンネルに対応するTSから抽出された情報である。
In step S <b> 13, the activation request signal acquisition unit 471 takes in the activation request signal, generates an activation request command, and supplies the activation request command to the application control unit 434 of the application execution control unit 412.
Next, the application information acquisition unit 472 of the application control unit 434 takes in the activation request command supplied from the activation request signal acquisition unit 471.
Next, the application information acquisition unit 472 takes in the AIT supplied from the separation unit 402. This AIT is information extracted from the TS corresponding to the channel selected as desired among the media desired by the viewer.

ステップS14において、アプリケーション情報取得部472は、取り込んだAITから、アプリケーション名とアプリケーション制御コードとロケーション情報とをアプリケーション情報として抽出し、このアプリケーション情報を起動制御部473に供給する。
次に、起動制御部473は、アプリケーション情報取得部472から供給されるアプリケーション情報、すなわち、アプリケーション名とアプリケーション制御コードとロケーション情報とを取り込む。
In step S14, the application information acquisition unit 472 extracts the application name, application control code, and location information as application information from the captured AIT, and supplies the application information to the activation control unit 473.
Next, the activation control unit 473 takes in the application information supplied from the application information acquisition unit 472, that is, the application name, application control code, and location information.

次に、ステップS15において、起動制御部473は、アプリケーション制御コードがアプリケーションのスタンバイを示すデータであると識別した場合(S15:YES)、ステップS16の処理に移し、アプリケーション制御コードがアプリケーションのスタンバイを示すデータでないと識別した場合(S15:NO)、本フローチャートの処理を終了させる。
具体的には、起動制御部473は、アプリケーション制御コードが例えば“12(16進数)”(識別名:PRESENT)であると識別した場合、ステップS16の処理に移し、アプリケーション制御コードが“12(16進数)”(識別名:PRESENT)でないと識別した場合、本フローチャートの処理を終了させる。
Next, in step S15, if the activation control unit 473 identifies that the application control code is data indicating application standby (S15: YES), the process proceeds to step S16, where the application control code sets application standby. If it is identified that the data is not shown (S15: NO), the process of this flowchart is terminated.
Specifically, if the activation control unit 473 identifies that the application control code is “12 (hexadecimal number)” (identification name: PRESENT), for example, the activation control unit 473 proceeds to the process of step S16, and the application control code is “12 ( If it is discriminated that it is not (hexadecimal) ”(identification name: PRESENT), the processing of this flowchart is terminated.

ステップS16において、起動制御部473は、ロケーション情報に示されるロケーションをアプリケーションファイルの要求先として指定したアプリケーション要求コマンドを生成し、このアプリケーション要求コマンドを通信入出力部411に供給する。
次に、通信入出力部411は、起動制御部473から供給されるアプリケーション要求コマンドを取り込み、このアプリケーション要求コマンドをアプリケーション要求信号として要求先に対して送信する。このアプリケーション要求信号は、例えば、アプリケーション要求コマンドをIP(Internet Protocol)パケット化した信号である。
すなわち、通信入出力部411は、アプリケーション要求コマンドが示す要求先である受信機アプリサーバ21またはリポジトリサーバ3に対して、アプリケーション要求信号を送信する。
In step S <b> 16, the activation control unit 473 generates an application request command specifying the location indicated in the location information as a request destination of the application file, and supplies the application request command to the communication input / output unit 411.
Next, the communication input / output unit 411 receives the application request command supplied from the activation control unit 473, and transmits this application request command as an application request signal to the request destination. This application request signal is, for example, a signal obtained by converting an application request command into an IP (Internet Protocol) packet.
That is, the communication input / output unit 411 transmits an application request signal to the receiver application server 21 or the repository server 3 that is a request destination indicated by the application request command.

次に、ステップS17において、通信入出力部411は、上記の要求先(受信機アプリサーバ21またはリポジトリサーバ3)が送信するアプリケーションファイルの受信を受け付けている。通信入出力部411は、上記の要求先が送信したアプリケーションファイルを受信すると、このアプリケーションファイルを取り込んでステップS18の処理に移す。   Next, in step S17, the communication input / output unit 411 accepts reception of an application file transmitted by the request destination (the receiver application server 21 or the repository server 3). When the communication input / output unit 411 receives the application file transmitted by the request destination, the communication input / output unit 411 takes in the application file and moves to the process of step S18.

ステップS18において、通信入出力部411は、取り込んだアプリケーションファイルをアプリケーション実行制御部412のアプリケーション記憶部431に供給し記憶させる。   In step S <b> 18, the communication input / output unit 411 supplies the captured application file to the application storage unit 431 of the application execution control unit 412 for storage.

次に、ステップS19において、通信入出力部411は、アプリケーションファイルの取得通知を起動制御部473に供給する。
次に、起動制御部473は、通信入出力部411から供給されるアプリケーションファイルの取得通知を取り込む。
次に、起動制御部473は、アプリケーションファイルの取得通知に対応するアプリケーションに対するアプリケーション実行要求コマンドを生成し、このアプリケーション実行要求コマンドをアプリケーション実行部435に供給する。
次に、アプリケーション実行部435は、起動制御部473から供給されるアプリケーション実行要求コマンドを取り込む。
次に、アプリケーション実行部435は、取り込んだアプリケーション実行要求コマンドにより指定されるアプリケーションファイルをアプリケーション記憶部431から読み込み、アプリケーションの実行処理を開始し、本フローチャートの処理を終了させる。
In step S <b> 19, the communication input / output unit 411 supplies an application file acquisition notification to the activation control unit 473.
Next, the activation control unit 473 captures an application file acquisition notification supplied from the communication input / output unit 411.
Next, the activation control unit 473 generates an application execution request command for the application corresponding to the application file acquisition notification, and supplies the application execution request command to the application execution unit 435.
Next, the application execution unit 435 takes in an application execution request command supplied from the activation control unit 473.
Next, the application execution unit 435 reads the application file designated by the fetched application execution request command from the application storage unit 431, starts application execution processing, and ends the processing of this flowchart.

一方、図28のステップS21において、操作入力部414は、操作信号が、操作受付部474の操作部に設けられた放送サービス復帰ボタン(例えば、数字ボタンまたはチャンネル切替ボタン)が操作されたことによって送信された操作信号である場合(S21:YES)、ステップS22の処理に移し、それ以外はステップS25の処理に移す。   On the other hand, in step S21 of FIG. 28, the operation input unit 414 receives an operation signal when a broadcast service return button (for example, a numeric button or a channel switching button) provided in the operation unit of the operation reception unit 474 is operated. When it is the transmitted operation signal (S21: YES), the process proceeds to step S22, and otherwise, the process proceeds to step S25.

ステップS22において、操作入力部414は、終了要求コマンドを生成し、この終了要求コマンドをアプリケーション制御部434に供給する。
次に、アプリケーション制御部434の終了制御部481は、操作入力部414から供給される終了要求コマンドを取り込み、アプリケーション実行部435からアプリケーション実行状態を検出する。
In step S <b> 22, the operation input unit 414 generates an end request command and supplies the end request command to the application control unit 434.
Next, the termination control unit 481 of the application control unit 434 receives the termination request command supplied from the operation input unit 414 and detects the application execution state from the application execution unit 435.

次に、ステップS23において、終了制御部481は、検出したアプリケーション実行状態が実行状態である場合(S23:YES)、ステップS24の処理に移し、アプリケーション実行状態が実行状態でない場合(S23:NO)、本フローチャートの処理を終了させる。   Next, in step S23, when the detected application execution state is the execution state (S23: YES), the end control unit 481 proceeds to the process of step S24, and when the application execution state is not the execution state (S23: NO). Then, the process of this flowchart is terminated.

ステップS24において、終了制御部481は、アプリケーション実行終了コマンドを生成し、このアプリケーション実行終了コマンドをアプリケーション実行部435に供給する。
次に、アプリケーション実行部435は、終了制御部481から供給されるアプリケーション実行終了コマンドを取り込むと、現在実行中であるアプリケーションの実行処理を終了させて、本フローチャートの処理を終了させる。
In step S24, the termination control unit 481 generates an application execution termination command and supplies the application execution termination command to the application execution unit 435.
Next, when the application execution unit 435 receives the application execution end command supplied from the end control unit 481, the application execution unit 435 ends the execution process of the application currently being executed and ends the process of this flowchart.

一方、ステップS25において、操作入力部414は、起動要求信号以外の操作信号にしたがって、メディアやチャンネルを指定するコードを選局部415に供給したり、音量を設定するコードを図示しない音量調節回路に供給したりする。
受信機4は、起動要求信号以外の操作信号にしたがった動作を開始して、本フローチャートの処理を終了する。
On the other hand, in step S25, the operation input unit 414 supplies a code for specifying a medium or a channel to the channel selection unit 415 according to an operation signal other than the activation request signal, or sends a code for setting the volume to a volume control circuit (not shown). Or supply.
The receiver 4 starts the operation according to the operation signal other than the activation request signal, and ends the process of this flowchart.

次に、放送通信連携サービスの提供者側からの制御に基づいてアプリケーションを実行終了させる受信機4の動作について説明する。
図29は、受信機4の動作の処理手順を示すフローチャートである。
まず、ステップS31において、アプリケーション情報取得部472は、分離部402から供給されるAITを取り込む。
Next, the operation of the receiver 4 that terminates execution of an application based on control from the provider side of the broadcasting / communication cooperation service will be described.
FIG. 29 is a flowchart illustrating a processing procedure of the operation of the receiver 4.
First, in step S <b> 31, the application information acquisition unit 472 takes in the AIT supplied from the separation unit 402.

ステップS32において、アプリケーション情報取得部472は、取り込んだAITからアプリケーション制御コードとアプリケーションIDとを抽出し、これらアプリケーション制御コードとアプリケーションIDとを終了制御部481に供給する。
次に、終了制御部481は、アプリケーション情報取得部472から供給されるアプリケーション制御コードとアプリケーションIDとを取り込む。
In step S32, the application information acquisition unit 472 extracts the application control code and the application ID from the captured AIT, and supplies the application control code and the application ID to the end control unit 481.
Next, the end control unit 481 takes in the application control code and the application ID supplied from the application information acquisition unit 472.

次に、ステップS33において、終了制御部481は、アプリケーション制御コードがアプリケーションの実行終了を指示するデータであると識別した場合(S33:YES)、ステップS34の処理に移し、アプリケーション制御コードがアプリケーションの実行終了を指示するデータでないと識別した場合(S33:NO)、ステップS31の処理に戻す。
具体的には、終了制御部481は、アプリケーション制御コードが例えば“03(16進数)”(識別名:DESTROY)であると識別した場合、ステップS34の処理に移し、アプリケーション制御コードが“03(16進数)”(識別名:DESTROY)でないと識別した場合、ステップS31の処理に戻す。
Next, in step S33, when the end control unit 481 identifies that the application control code is data instructing the end of execution of the application (S33: YES), the process proceeds to step S34, and the application control code is the application control code. If it is determined that the data is not data for instructing the end of execution (S33: NO), the process returns to step S31.
Specifically, when the end control unit 481 identifies that the application control code is “03 (hexadecimal number)” (identification name: DESTROY), for example, the end control unit 481 proceeds to the process of step S34, and the application control code is “03 ( If it is discriminated that it is not (hexadecimal number) "(identification name: DESTROY), the process returns to step S31.

ステップS34において、終了制御部481は、アプリケーション制御コードに対応付けられたアプリケーションIDを含むアプリケーション実行終了コマンドを生成し、このアプリケーション実行終了コマンドをアプリケーション実行部435に供給する。
次に、アプリケーション実行部435は、終了制御部481から供給されるアプリケーション実行終了コマンドを取り込む。
次に、アプリケーション実行部435は、終了制御部481から供給されるアプリケーション実行終了コマンドを取り込むと、現在実行中であるアプリケーションの実行処理を終了させ、本フローチャートの処理を終了させる。
In step S34, the termination control unit 481 generates an application execution termination command including the application ID associated with the application control code, and supplies the application execution termination command to the application execution unit 435.
Next, the application execution unit 435 takes in the application execution end command supplied from the end control unit 481.
Next, when the application execution unit 435 receives the application execution end command supplied from the end control unit 481, the application execution unit 435 ends the execution process of the application that is currently being executed, and ends the process of this flowchart.

次に、受信機4と連携動作させる機器8に実行させる端末アプリケーションを動的に変更する受信システムの動作について説明する。
図30は、受信機4と、機器8と、端末アプリケーションサーバとの処理の手順を示すシーケンス図である。
まず、ステップS41において、受信機4と機器8とが連携を確立させる。
具体的には、受信機4のアプリケーション実行部435は、機器8との連携処理を実行する連携アプリケーションに端末連携APIを呼び出させて実行処理する。アプリケーション実行部435が端末連携APIを実行することにより、受信機4と機器8とが連携を確立させる。
Next, the operation of the receiving system that dynamically changes the terminal application executed by the device 8 that operates in cooperation with the receiver 4 will be described.
FIG. 30 is a sequence diagram illustrating processing procedures performed by the receiver 4, the device 8, and the terminal application server.
First, in step S41, the receiver 4 and the device 8 establish cooperation.
Specifically, the application execution unit 435 of the receiver 4 causes the cooperation application that executes the cooperation processing with the device 8 to call the terminal cooperation API and execute the processing. When the application execution unit 435 executes the terminal cooperation API, the receiver 4 and the device 8 establish cooperation.

ここで、ステップS41における受信機4と機器8との連携処理の詳細な動作について説明する。
図31は、受信機4と機器8との連携処理の手順を示すシーケンス図である。
まず、機器8の端末アプリケーション実行部503が、機器8の利用者の操作によって受信機接続用アプリケーションを実行すると、ステップS411において、接続制御部501は、UPnPのSSDPによって、受信機4の検索を行う。
Here, a detailed operation of the cooperation process between the receiver 4 and the device 8 in step S41 will be described.
FIG. 31 is a sequence diagram illustrating the procedure of the cooperation process between the receiver 4 and the device 8.
First, when the terminal application execution unit 503 of the device 8 executes the receiver connection application by the operation of the user of the device 8, in step S411, the connection control unit 501 searches for the receiver 4 by UPnP SSDP. Do.

受信機4が機器8による検索を受け付けると、ステップS412において、受信機4の外部I/F部417は、機器8にWebSocketの接続アドレス及びポート番号を含む応答を送信する。具体的には、外部I/F部417は、WebSocket用のサーバプログラムを実行することで機器側サーバ部491を備え、当該機器側サーバ部491へのアクセスに用いる接続アドレス及びポート番号を、機器8に通知する。   When the receiver 4 receives the search by the device 8, the external I / F unit 417 of the receiver 4 transmits a response including the WebSocket connection address and port number to the device 8 in step S 412. Specifically, the external I / F unit 417 includes a device-side server unit 491 by executing a WebSocket server program, and sets a connection address and a port number used to access the device-side server unit 491 as a device. 8 is notified.

機器8が受信機4から接続アドレス及びポート番号を含む応答を受信すると、ステップS413において、機器8の端末アプリケーション実行部503は、機器8のディスプレイ(図示せず)に、検索に対する応答を受信した受信機4の一覧を、利用可能な受信機4の一覧として表示する。そして、端末アプリケーション実行部503は、当該一覧の中から連携すべき受信機4の選択を待機する。   When the device 8 receives the response including the connection address and the port number from the receiver 4, in step S413, the terminal application execution unit 503 of the device 8 receives the response to the search on the display (not shown) of the device 8. A list of receivers 4 is displayed as a list of available receivers 4. And the terminal application execution part 503 waits for selection of the receiver 4 which should cooperate from the said list | wrist.

次に、ステップS414において、機器8の利用者により、利用可能な受信機4の一覧の中から1つの受信機4が選択されると、端末アプリケーション実行部503は、連携する受信機4の選択を受け付ける。   Next, in step S414, when one receiver 4 is selected from the list of available receivers 4 by the user of the device 8, the terminal application execution unit 503 selects the receiver 4 to cooperate with. Accept.

次に、ステップS415において、接続制御部501は、ステップS414で選択を受け付けた受信機4に対してWebSocketのハンドシェイク要求を送信する。具体的には、接続制御部501は、ステップS412において受信機4から受信した接続アドレス及びポート番号を宛先とするハンドシェイク要求を送信する。   Next, in step S415, the connection control unit 501 transmits a WebSocket handshake request to the receiver 4 that has received the selection in step S414. Specifically, the connection control unit 501 transmits a handshake request with the connection address and port number received from the receiver 4 in step S412 as the destination.

受信機4が機器8からハンドシェイク要求を受信すると、ステップS416において、受信機4のコネクト部493は、機器側サーバ部491を介して、機器8に対してWebSocketのハンドシェイク応答を返すことで、コネクションを確立する。すなわち、コネクト部493は、機器側サーバ491と機器8とのコネクションを確立する。以降、受信機4と機器8とは当該コネクションを介して通信することにより、双方向通信を行うことができる。このとき、機器8が受信機4にイベント受信の登録(端末用アプリケーション起動情報受信登録)の要求を送信し、受信機4が当該要求に応じて、イベント受信の登録を行う。これにより、受信機4は、分離部402が分離する放送ストリームにアプリケーション指定情報が含まれる場合に、登録した機器8に対してプッシュ送信にて当該アプリケーションの起動コマンドを通知する。   When the receiver 4 receives the handshake request from the device 8, in step S416, the connect unit 493 of the receiver 4 returns a WebSocket handshake response to the device 8 via the device-side server unit 491. Establish a connection. That is, the connection unit 493 establishes a connection between the device side server 491 and the device 8. Thereafter, the receiver 4 and the device 8 can perform bidirectional communication by communicating via the connection. At this time, the device 8 transmits a request for event reception registration (terminal application activation information reception registration) to the receiver 4, and the receiver 4 registers event reception in response to the request. Accordingly, when the application designation information is included in the broadcast stream separated by the separation unit 402, the receiver 4 notifies the registered device 8 of the activation command of the application by push transmission.

図27に戻り、受信機4と機器8との間で連携を確立すると、ステップS42において、受信機4は、受信中のTSからアプリケーション指定情報とメタデータとを取得する。
具体的には、アプリケーション情報取得部472は、視聴者によって所望に選択されたメディアのうち、所望に選局されたチャンネルに対応するTSから抽出されたPSI/SIを取り込み、このPSI/SIからアプリケーション指定情報とメタデータとを取り込む。
Returning to FIG. 27, when cooperation is established between the receiver 4 and the device 8, in step S42, the receiver 4 acquires application designation information and metadata from the TS being received.
Specifically, the application information acquisition unit 472 takes in the PSI / SI extracted from the TS corresponding to the channel selected as desired from among the media selected as desired by the viewer, and from this PSI / SI Capture application specification information and metadata.

次に、ステップS43において、受信機4は、連携動作中である機器8を指定する情報と、ステップS42の処理においてPSI/SIにアプリケーション指定情報(第1の情報)が含まれる場合、取り込んだアプリケーション指定情報およびメタデータとに基づいて、その機器8に対してその端末アプリケーションを指定し起動制御を行う。
具体的には、アプリケーション実行部435は、携帯連携APIのInvokeApplicationOnDevice()メソッドを実行し、device_devに対応する機器8に対して、application_idに対応する端末アプリケーションを起動させるための起動コマンド(stringus_parametersを含む)(第2の情報)を、ステップS41において確立されたWebSocketのコネクションにより外部I/F417を介して機器8にプッシュ送信する。
Next, in step S43, the receiver 4 takes in the information specifying the device 8 that is operating in cooperation and the application specifying information (first information) in the PSI / SI in the processing in step S42. Based on the application designation information and the metadata, the terminal application is designated for the device 8 and activation control is performed.
Specifically, the application execution unit 435 includes a start command (stringus_parameters) for executing the InvokeApplicationOnDevice () method of the mobile cooperation API and starting the terminal application corresponding to application_id for the device 8 corresponding to device_dev. ) (Second information) is pushed and transmitted to the device 8 via the external I / F 417 through the WebSocket connection established in step S41.

次に、ステップS44において、機器8は、受信機4からの端末アプリケーションの起動制御を受け、指定された端末アプリケーションの情報をディスプレイ(図示せず)に表示する。そして、機器8は、利用者により当該端末アプリケーションの起動指示を受け付けると、指定された端末アプリケーションについての端末アプリケーション要求信号を生成し、この端末アプリケーション要求信号を端末アプリケーションサーバに対して送信する。   Next, in step S44, the device 8 receives the start control of the terminal application from the receiver 4, and displays information on the designated terminal application on a display (not shown). Then, when the device 8 receives an instruction to start the terminal application by the user, the device 8 generates a terminal application request signal for the specified terminal application, and transmits the terminal application request signal to the terminal application server.

具体的には、接続制御部501は、外部I/F部417から供給される、strings_parametersを引数とした起動コマンドを取り込み、この起動コマンドを端末アプリケーション取得部502に供給する。
次に、端末アプリケーション取得部502は、接続制御部501から供給される起動コマンドを取り込む。
次に、端末アプリケーション取得部502は、この起動コマンドに基づいて端末アプリケーションを取得し、この端末アプリケーションをstrings_parametersとともに端末アプリケーション実行部503に供給する。
Specifically, the connection control unit 501 takes in an activation command supplied from the external I / F unit 417 with strings_parameters as an argument, and supplies this activation command to the terminal application acquisition unit 502.
Next, the terminal application acquisition unit 502 takes in an activation command supplied from the connection control unit 501.
Next, the terminal application acquisition unit 502 acquires a terminal application based on this activation command, and supplies this terminal application to the terminal application execution unit 503 together with strings_parameters.

より具体的には、端末アプリケーション取得部502は、起動コマンドが示すdevice_devが当該機器8に対応するか否かを判定する。device_devが当該機器8に対応する場合、端末アプリケーション取得部502は、起動コマンドが示すapplication_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されているか否かを判定する。
ただし、図30は、application_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されていない場合の例である。
application_idに対応する端末アプリケーションが端末アプリケーション記憶部に記憶されていない場合、端末アプリケーション取得部502は、その端末アプリケーションの取得要求を示す端末アプリケーション要求信号を生成し、この端末アプリケーション要求信号を端末アプリケーションサーバに対して送信する。
More specifically, the terminal application acquisition unit 502 determines whether device_dev indicated by the start command corresponds to the device 8. When device_dev corresponds to the device 8, the terminal application acquisition unit 502 determines whether a terminal application corresponding to application_id indicated by the start command is stored in the terminal application storage unit.
However, FIG. 30 is an example when the terminal application corresponding to application_id is not stored in the terminal application storage unit.
When the terminal application corresponding to application_id is not stored in the terminal application storage unit, the terminal application acquisition unit 502 generates a terminal application request signal indicating an acquisition request for the terminal application, and the terminal application request signal is transmitted to the terminal application server. Send to.

次に、ステップS45において、端末アプリケーションサーバは、機器8が送信した端末アプリケーション要求信号を受信して取り込むと、この端末アプリケーション要求信号が指定する端末アプリケーションのファイルを読み出す。
次に、ステップS46において、端末アプリケーションサーバは、端末アプリケーション要求信号を送信した機器8に対して、端末アプリケーションのファイルを送信する。
Next, in step S45, when the terminal application server receives and captures the terminal application request signal transmitted by the device 8, the terminal application server reads the file of the terminal application specified by the terminal application request signal.
Next, in step S46, the terminal application server transmits a file of the terminal application to the device 8 that has transmitted the terminal application request signal.

次に、ステップS47において、機器8は、端末アプリケーションサーバが送信した端末アプリケーションのファイルを受信して取り込む。
具体的には、端末アプリケーション取得部502は、端末アプリケーション要求信号に応じて端末アプリケーションサーバから供給された端末アプリケーションを取り込み、この端末アプリケーションをstrings_parametersとともに端末アプリケーション実行部503に供給する。
Next, in step S47, the device 8 receives and takes in the file of the terminal application transmitted from the terminal application server.
Specifically, the terminal application acquisition unit 502 takes in the terminal application supplied from the terminal application server in response to the terminal application request signal, and supplies this terminal application to the terminal application execution unit 503 together with strings_parameters.

次に、ステップS48において、機器8は、取り込んだ端末アプリケーションのファイルにおける端末アプリケーションの実行処理を開始する。
具体的には、端末アプリケーション実行部503は、端末アプリケーション取得部502から供給される端末アプリケーションとstrings_parametersとを取り込み、このstrings_parametersを用いて端末アプリケーションの実行処理を開始させる。
次に、ステップS49において、受信機4は連携アプリケーションの実行処理を行うとともに、機器8は端末アプリケーションの実行処理を行う。これにより、受信機4と機器8とは、放送リソースを用いた連携動作を実現する。
Next, in step S <b> 48, the device 8 starts terminal application execution processing on the captured terminal application file.
Specifically, the terminal application execution unit 503 takes in the terminal application and strings_parameters supplied from the terminal application acquisition unit 502, and starts execution processing of the terminal application using the strings_parameters.
Next, in step S49, the receiver 4 performs a cooperative application execution process, and the device 8 performs a terminal application execution process. Thereby, the receiver 4 and the apparatus 8 implement | achieve cooperation operation | movement using a broadcast resource.

なお、ステップS41で確立したコネクションは、受信機4の連携アプリケーションまたは、機器8の受信機接続用アプリケーションの終了によって解除される。したがって、機器8がシングルタスクで動作する場合、すなわちステップS48において端末アプリケーションの起動とともに受信機接続用アプリケーションが終了する場合は、端末アプリケーションが新たに受信機4との間でWebSocketコネクションを確立する処理を行う。他方、機器8がマルチタスクで動作し、端末アプリケーションと受信機接続用アプリケーションとが並列に動作する場合は、コネクションが維持される。そのため、この場合端末アプリケーションは、受信機接続用アプリケーションが確立したコネクションを用いて連携処理を行っても良い。   Note that the connection established in step S41 is released when the cooperative application of the receiver 4 or the receiver connection application of the device 8 is terminated. Therefore, when the device 8 operates as a single task, that is, when the receiver connection application ends with the activation of the terminal application in step S48, the terminal application newly establishes a WebSocket connection with the receiver 4. I do. On the other hand, when the device 8 operates by multitasking and the terminal application and the receiver connection application operate in parallel, the connection is maintained. Therefore, in this case, the terminal application may perform cooperation processing using the connection established by the receiver connection application.

次に、受信機4及び機器8のアプリケーション同士を連携させる動作について説明する。
ここでは、受信機4が接続する機器8が複数存在し(機器8−1、8−2)、機器8−1、受信機4、機器8−2の順番でアプリケーションを実行する例を用いて説明する。
図32は、アプリケーション同士の連携手順を示すシーケンス図である。
まず、上述したステップS41〜ステップS47の手順によって機器8−1、8−2は端末アプリケーションを取得する(ステップS51)。また、受信機4は、上述したステップS42で取得したアプリケーション指定情報とメタデータが示す受信機4が実行すべきアプリケーションの情報に基づいて、受信機アプリケーションサーバ(図示せず)から受信機アプリケーションを取得する(ステップS52)。なお、機器8−1、8−2が実行する端末アプリケーションと、受信機4が実行する受信機アプリケーションは、それぞれ連携するアプリケーションのタイプを示す情報である接続タイプとして、同一の値を有するものとする。
Next, an operation for linking applications of the receiver 4 and the device 8 will be described.
In this example, there are a plurality of devices 8 to which the receiver 4 is connected (devices 8-1 and 8-2), and an application is executed in the order of the device 8-1, the receiver 4, and the device 8-2. explain.
FIG. 32 is a sequence diagram illustrating a cooperation procedure between applications.
First, the devices 8-1 and 8-2 acquire a terminal application according to the procedure of steps S 41 to S 47 described above (step S 51). Further, the receiver 4 receives a receiver application from a receiver application server (not shown) based on the application designation information acquired in step S42 described above and information on the application to be executed by the receiver 4 indicated by the metadata. Obtain (step S52). Note that the terminal application executed by the devices 8-1 and 8-2 and the receiver application executed by the receiver 4 have the same value as the connection type, which is information indicating the type of the application to be linked. To do.

次に、端末8−1は、端末アプリケーションを実行する(ステップS53)。次に、端末8−1は、実行した端末アプリケーションにより、上述したステップS411〜S415の手順により受信機4にハンドシェイク要求を送信する(ステップS54)。
受信機4のコネクト部493が、機器側サーバ部491を介してハンドシェイク要求を取得すると、ブリッジ部494は、アプリケーション実行部435が実行するアプリケーションと機器8が実行するアプリケーションとのブリッジ接続処理を行うか否かを判定するブリッジ判定処理を行う(ステップS55)。
Next, the terminal 8-1 executes a terminal application (step S53). Next, the terminal 8-1 transmits a handshake request to the receiver 4 by the procedure of steps S411 to S415 described above by the executed terminal application (step S54).
When the connection unit 493 of the receiver 4 acquires the handshake request via the device-side server unit 491, the bridge unit 494 performs a bridge connection process between the application executed by the application execution unit 435 and the application executed by the device 8. A bridge determination process for determining whether or not to perform is performed (step S55).

ここで、受信機4によるブリッジ判定処理の詳細な動作について説明する。
図33は、受信機4によるブリッジ判定処理の手順を示すフローチャートである。
まず、外部I/F部417のコネクト部493は、機器側サーバ部491または受信機側サーバ部492からハンドシェイク要求の受信を待機する(ステップS501)。そしてコネクト部493は、アプリケーション実行部435または機器8からハンドシェイク要求を受信する(ステップS502)。なお、当該ハンドシェイク要求には、接続アドレスに加え、ポート番号と接続タイプとが含まれる。
ここで、コネクト部493及びブリッジ部494は、ポート番号を読み取ることで、受信したハンドシェイク要求が、機器8が実行するアプリケーションによるものなのか、アプリケーション実行部435が実行するアプリケーションによるものなのかを特定する。
例えば、ポート1000に対するハンドシェイク要求であれば、アプリケーション実行部435が実行するアプリケーションによるものであり、ポート1001〜1010の何れかに対するハンドシェイク要求であれば、機器8が実行するアプリケーションによるものである。
Here, the detailed operation of the bridge determination process by the receiver 4 will be described.
FIG. 33 is a flowchart illustrating a procedure of bridge determination processing by the receiver 4.
First, the connection unit 493 of the external I / F unit 417 waits for reception of a handshake request from the device-side server unit 491 or the receiver-side server unit 492 (step S501). Then, the connect unit 493 receives a handshake request from the application execution unit 435 or the device 8 (step S502). The handshake request includes a port number and a connection type in addition to the connection address.
Here, the connection unit 493 and the bridge unit 494 read the port number to determine whether the received handshake request is due to an application executed by the device 8 or an application executed by the application execution unit 435. Identify.
For example, a handshake request for the port 1000 is due to an application executed by the application execution unit 435, and a handshake request for any of the ports 1001 to 1010 is due to an application executed by the device 8. .

次に、コネクト部493は、ハンドシェイク要求が示すポートが、他のコネクションによって使用されているか否かを判定する(ステップS503)。コネクト部493は、ポートが既に使用されていると判定した場合(ステップS503:YES)、コネクションの確立を行わずにブリッジ判定処理を終了する。
他方、コネクト部493は、ポートが使用されていないと判定した場合(ステップS503:NO)、ポート番号を参照し、ハンドシェイク要求が機器8からのものであるか否かを判定する(ステップS504)。
Next, the connection unit 493 determines whether or not the port indicated by the handshake request is being used by another connection (step S503). If the connection unit 493 determines that the port is already used (step S503: YES), the connection determination unit 493 ends the bridge determination process without establishing the connection.
On the other hand, when determining that the port is not used (step S503: NO), the connecting unit 493 refers to the port number and determines whether or not the handshake request is from the device 8 (step S504). ).

コネクト部493は、ハンドシェイク要求が機器8からのものであると判定した場合(ステップS504:YES)、機器側サーバ部491と機器8とのWebSocketコネクションを確立する(ステップS505)。次に、ブリッジ部494は、既に受信機側のコネクションが確立されているか否かを判定する(ステップS506)。ブリッジ部494は、受信機側のコネクションがまだ確立されていないと判定した場合(ステップS506:NO)、ブリッジ接続を行わずにブリッジ判定処理を終了する。
他方、ブリッジ部494は、受信機側のコネクションが確立されていると判定した場合(ステップS506:YES)、当該コネクションの接続タイプが、ステップS505で生成したコネクションの接続タイプと一致するか否かを判定する(ステップS507)。
If the connection unit 493 determines that the handshake request is from the device 8 (step S504: YES), the connection unit 493 establishes a WebSocket connection between the device-side server unit 491 and the device 8 (step S505). Next, the bridge unit 494 determines whether or not a connection on the receiver side has already been established (step S506). If the bridge unit 494 determines that the connection on the receiver side has not yet been established (step S506: NO), the bridge determination process is terminated without performing the bridge connection.
On the other hand, if the bridge unit 494 determines that the connection on the receiver side is established (step S506: YES), whether or not the connection type of the connection matches the connection type of the connection generated in step S505. Is determined (step S507).

ブリッジ部494は、受信機側のコネクションの接続タイプとステップS505で生成したコネクションの接続タイプが一致しないと判定した場合(ステップS507:NO)、ブリッジ接続を行わずにブリッジ判定処理を終了する。
他方、ブリッジ部494は、受信機側のコネクションの接続タイプとステップS505で生成したコネクションの接続タイプが一致すると判定した場合(ステップS507:YES)、受信機側のコネクションとステップS505で生成したコネクションとをブリッジ接続する(ステップS508)。ここで、ブリッジ接続とは、受信機側のコネクションを介して受信機側サーバ部492が受け付けた要求を、機器側サーバ部491に転送して機器側のコネクションを介して機器8に送信し、また機器側のコネクションを介して機器側サーバ部491が受け付けた要求を、受信機側サーバ部492に転送して受信機側のコネクションを介してアプリケーション実行部435に送信することである。
When it is determined that the connection type of the connection on the receiver side does not match the connection type of the connection generated in step S505 (step S507: NO), the bridge unit 494 ends the bridge determination process without performing the bridge connection.
On the other hand, if the bridge unit 494 determines that the connection type of the connection on the receiver side matches the connection type of the connection generated in step S505 (step S507: YES), the connection on the receiver side and the connection generated in step S505 Are bridge-connected (step S508). Here, the bridge connection means that the request received by the receiver-side server unit 492 via the receiver-side connection is transferred to the device-side server unit 491 and transmitted to the device 8 via the device-side connection. Further, the request received by the device-side server unit 491 via the device-side connection is transferred to the receiver-side server unit 492 and transmitted to the application execution unit 435 via the receiver-side connection.

ステップS504で、コネクト部493が、ハンドシェイク要求が機器8からのものであると判定した場合(ステップS504:YES)、コネクト部493は、受信機側サーバ部492とアプリケーション実行部435とのWebSocketコネクションを確立する(ステップS509)。次に、ブリッジ部494は、機器側のコネクションが1つ以上確立されているか否かを判定する(ステップS510)。ブリッジ部494は、機器側のコネクションが1つも確立されていないと判定した場合(ステップS510:NO)、ブリッジ接続を行わずにブリッジ判定処理を終了する。
他方、ブリッジ部494は、機器側のコネクションが1つ以上確立されていると判定した場合(ステップS510:YES)、コネクションが確立されている機器側サーバ部491を1つ選択し、機器側サーバ部491毎に、以下に示すステップS512〜S513の処理を実行する(ステップS511)。
If the connect unit 493 determines in step S504 that the handshake request is from the device 8 (step S504: YES), the connect unit 493 performs WebSocket between the receiver-side server unit 492 and the application execution unit 435. A connection is established (step S509). Next, the bridge unit 494 determines whether or not one or more device-side connections are established (step S510). When it is determined that no device-side connection has been established (step S510: NO), the bridge unit 494 ends the bridge determination process without performing bridge connection.
On the other hand, when the bridge unit 494 determines that one or more device-side connections have been established (step S510: YES), the bridge unit 494 selects one device-side server unit 491 with which a connection has been established, and the device-side server The following steps S512 to S513 are performed for each unit 491 (step S511).

まず、ステップS511で選択した機器側サーバ部491におけるコネクションの接続タイプが、ステップS509で生成したコネクションの接続タイプと一致するか否かを判定する(ステップS512)。
ブリッジ部494は、選択した機器側のコネクションの接続タイプとステップS509で生成したコネクションの接続タイプが一致しないと判定した場合(ステップS512:NO)、ブリッジ接続を行わずに次の機器側サーバ部491の選択を行う。
他方、ブリッジ部494は、選択した機器側のコネクションの接続タイプとステップS509で生成したコネクションの接続タイプが一致すると判定した場合(ステップS512:YES)、選択した機器側のコネクションとステップS509で生成したコネクションとをブリッジ接続し(ステップS513)、次の機器側サーバ部491の選択を行う。
以上の処理により、受信機4の外部I/F部417はアプリケーション実行部435または機器8とのコネクションを確立し、またブリッジ接続処理を行う。なお、ブリッジ接続処理を行った場合、ブリッジ部494は、ブリッジ接続毎に、当該接続を特定する識別情報(session_id)を生成し、当該識別情報を端末8及びアプリケーション実行部435に通知する。
First, it is determined whether or not the connection type of the connection in the device-side server unit 491 selected in step S511 matches the connection type of the connection generated in step S509 (step S512).
If the bridge unit 494 determines that the connection type of the connection on the selected device side does not match the connection type of the connection generated in step S509 (step S512: NO), the bridge unit 494 does not perform the bridge connection and the next device side server unit 491 is selected.
On the other hand, when the bridge unit 494 determines that the connection type of the connection on the selected device side matches the connection type of the connection generated in step S509 (step S512: YES), the bridge unit 494 generates the connection on the selected device side in step S509. The connected connection is bridge-connected (step S513), and the next device-side server unit 491 is selected.
Through the above processing, the external I / F unit 417 of the receiver 4 establishes a connection with the application execution unit 435 or the device 8 and performs a bridge connection process. When the bridge connection process is performed, the bridge unit 494 generates identification information (session_id) for specifying the connection for each bridge connection, and notifies the terminal 8 and the application execution unit 435 of the identification information.

図32に戻り、受信機4の外部I/F部417が上述したブリッジ接続処理を行うと、この時点において受信機側サーバ492のコネクションが確立していないため、外部I/F部417は、ブリッジ接続処理を行わずに、端末8−1とのコネクションの確立を行う(ステップS56)。   Returning to FIG. 32, when the external I / F unit 417 of the receiver 4 performs the above-described bridge connection processing, since the connection of the receiver-side server 492 is not established at this time, the external I / F unit 417 The connection with the terminal 8-1 is established without performing the bridge connection process (step S56).

次に、受信機4のアプリケーション実行部435は、ステップS52で取得した受信機アプリケーションを実行する(ステップS56)。次に、アプリケーション実行部435は、実行した受信機アプリケーションにより、上述したステップS411〜S415と同様の手順により外部I/F部417にハンドシェイク要求を出力する(ステップS57)。
外部I/F部417のコネクト部493が、受信機側サーバ部492を介してハンドシェイク要求を取得すると、ブリッジ部494は、上述したブリッジ判定処理を行う(ステップS55)。これにより、コネクト部493は、アプリケーション実行部435と受信機側サーバ部492との間でコネクションを確立する。また、ステップS56において機器8−1と機器側サーバ部491とのコネクションが確立しているため、ブリッジ部494は、機器側サーバ部491と受信機側サーバ部492との間でブリッジ接続処理を行う(ステップS59)。このとき、ブリッジ部494は、アプリケーション実行部435と機器8−1とにブリッジ接続を特定する識別情報(session_id=1)を通知する。
Next, the application execution unit 435 of the receiver 4 executes the receiver application acquired in Step S52 (Step S56). Next, the application execution unit 435 outputs a handshake request to the external I / F unit 417 by the executed receiver application in the same procedure as the above-described steps S411 to S415 (step S57).
When the connection unit 493 of the external I / F unit 417 acquires a handshake request via the receiver-side server unit 492, the bridge unit 494 performs the above-described bridge determination process (step S55). As a result, the connection unit 493 establishes a connection between the application execution unit 435 and the receiver-side server unit 492. In step S56, since the connection between the device 8-1 and the device-side server unit 491 is established, the bridge unit 494 performs a bridge connection process between the device-side server unit 491 and the receiver-side server unit 492. This is performed (step S59). At this time, the bridge unit 494 notifies the application execution unit 435 and the device 8-1 of identification information (session_id = 1) that identifies the bridge connection.

次に、機器8−2は、ステップS51で取得した端末アプリケーションを実行する(ステップS60)。次に、機器8−2は、実行した端末アプリケーションにより、上述したステップS411〜S415の手順により外部I/F部417にハンドシェイク要求を送信する(ステップS61)。
外部I/F部417のコネクト部493が、機器側サーバ部491を介してハンドシェイク要求を取得すると、ブリッジ部494は、上述したブリッジ判定処理を行う(ステップS62)。これにより、コネクト部493は、機器8−2と機器側サーバ部491との間でコネクションを確立する。また、ステップS58においてアプリケーション実行部435と受信機側サーバ部492とのコネクションが確立しているため、ブリッジ部494は、機器側サーバ部491と受信機側サーバ部492との間でブリッジ接続処理を行う(ステップS63)。このとき、ブリッジ部494は、アプリケーション実行部435と機器8−2とにブリッジ接続を特定する識別情報(session_id=2)を通知する。
Next, the device 8-2 executes the terminal application acquired in Step S51 (Step S60). Next, the device 8-2 transmits a handshake request to the external I / F unit 417 by the procedure of steps S411 to S415 described above by the executed terminal application (step S61).
When the connecting unit 493 of the external I / F unit 417 acquires a handshake request via the device-side server unit 491, the bridge unit 494 performs the above-described bridge determination process (step S62). Thereby, the connection unit 493 establishes a connection between the device 8-2 and the device-side server unit 491. In addition, since the connection between the application execution unit 435 and the receiver-side server unit 492 is established in step S58, the bridge unit 494 performs a bridge connection process between the device-side server unit 491 and the receiver-side server unit 492. Is performed (step S63). At this time, the bridge unit 494 notifies the application execution unit 435 and the device 8-2 of identification information (session_id = 2) that identifies the bridge connection.

これにより、受信機4は、実行するアプリケーションの言語の仕様に関わらず、外部I/F部417を介して機器8から要求を受け付けることができる。また、機器8も実行するアプリケーションの言語の仕様に関わらず、外部I/F部417を介して受信機4から要求を受け付けることができる。   Thus, the receiver 4 can accept a request from the device 8 via the external I / F unit 417 regardless of the language specification of the application to be executed. The device 8 can accept a request from the receiver 4 via the external I / F unit 417 regardless of the language specification of the application to be executed.

また、受信機4のアプリケーション実行部435は、以降の処理において、識別情報(session_id)を埋め込んだ要求を外部I/F部417に出力すると、ブリッジ部494は、識別情報が示す機器8に当該要求を出力する。また、ブリッジ部494は、識別情報が割り当てられたブリッジ接続の接続先の機器8から要求を受け付けた場合、当該要求と識別情報の組み合わせをアプリケーション実行部435に出力する。これにより、受信機アプリケーションは、要求の送信先を区別して連携処理を行うことができる。   In addition, when the application execution unit 435 of the receiver 4 outputs a request in which the identification information (session_id) is embedded to the external I / F unit 417 in the subsequent processing, the bridge unit 494 responds to the device 8 indicated by the identification information. Output the request. When the bridge unit 494 receives a request from the connection destination device 8 to which the identification information is assigned, the bridge unit 494 outputs a combination of the request and the identification information to the application execution unit 435. As a result, the receiver application can perform cooperation processing by distinguishing the transmission destination of the request.

以上説明したように、本発明の一実施形態である受信機4は、視聴者による操作にしたがって操作受付部474が送信する操作信号を受信する。操作受付部474には、受信機4に放送通信連携サービスを受け始めさせる放送通信連携サービスボタン475が設けられている。放送通信連携サービスボタン475が押されることによって、操作受付部474は、起動要求信号を送信する。
受信機4は、起動要求信号を取り込むと、所望のメディアにおける所望のチャンネルに対応するTSからAITを取得し、このAITからアプリケーション情報(アプリケーション名、アプリケーション制御コード、およびロケーション情報)を抽出する。
受信機4は、アプリケーション制御コードが、アプリケーションのスタンバイを示すデータである場合に、アプリケーション要求信号を、アプリケーションファイルの要求先である受信機アプリサーバ21またはリポジトリサーバ3に対して送信する。
受信機4は、アプリケーションの要求先からアプリケーションファイルの供給を受けると、このアプリケーションファイルを取り込み、アプリケーションを実行開始する。
受信機4は、アプリケーションの実行処理に伴って必要となるコンテンツデータを取得するために、コンテンツ要求信号をコンテンツ配信サーバ16またはコンテンツ配信サーバ23に対して供給する。
受信機4は、コンテンツデータの要求先からコンテンツデータの供給を受けると、このコンテンツデータを取り込んで提示する。
As described above, the receiver 4 according to the embodiment of the present invention receives the operation signal transmitted from the operation reception unit 474 according to the operation by the viewer. The operation reception unit 474 is provided with a broadcast communication cooperation service button 475 that causes the receiver 4 to start receiving the broadcast communication cooperation service. When the broadcast communication cooperation service button 475 is pressed, the operation reception unit 474 transmits an activation request signal.
When receiving the activation request signal, the receiver 4 acquires an AIT from a TS corresponding to a desired channel in a desired medium, and extracts application information (application name, application control code, and location information) from the AIT.
When the application control code is data indicating the standby of the application, the receiver 4 transmits an application request signal to the receiver application server 21 or the repository server 3 that is a request destination of the application file.
When receiving the application file supplied from the request destination of the application, the receiver 4 takes in the application file and starts executing the application.
The receiver 4 supplies a content request signal to the content distribution server 16 or the content distribution server 23 in order to acquire content data necessary for the application execution process.
When the receiver 4 receives the supply of the content data from the request destination of the content data, the receiver 4 captures and presents the content data.

この構成によれば、受信機4は、視聴者(操作者)による操作受付部474に設けられた放送通信連携サービスボタン475の操作にしたがって、放送サービスを受けている状態から、放送通信連携サービスの一サービス形態であるストリーム従属型サービスを受ける状態に切り替えることができる。
よって、受信機4によれば、放送サービスから放送通信連携サービスに、簡便な操作により切り替えることができる。
According to this configuration, the receiver 4 starts the broadcasting / communication cooperation service from the state in which the broadcasting service is received according to the operation of the broadcasting / communication cooperation service button 475 provided in the operation reception unit 474 by the viewer (operator). It is possible to switch to a state of receiving a stream dependent service which is one service form.
Therefore, according to the receiver 4, it is possible to switch from the broadcast service to the broadcast communication cooperative service by a simple operation.

また、受信機4は、操作受付部474から供給された操作信号が、操作受付部474の操作部に設けられた放送サービス復帰ボタン(例えば、数字ボタンまたはチャンネル切替ボタン)が操作されたことによって送信された操作信号である場合、アプリケーションの実行状態を調べる。
現時点でアプリケーションが実行状態である場合、受信機4は、この実行中であるアプリケーションの実行処理を終了させる。
Further, the receiver 4 receives an operation signal supplied from the operation receiving unit 474 when a broadcast service return button (for example, a numeric button or a channel switching button) provided on the operation unit of the operation receiving unit 474 is operated. When the operation signal is transmitted, the execution state of the application is checked.
If the application is currently in an execution state, the receiver 4 ends the execution process of the application that is being executed.

この構成によれば、受信機4は、視聴者(操作者)による操作受付部474に設けられた数字ボタンおよびチャンネル切替ボタンの操作にしたがって、放送通信連携サービスの一サービス形態であるストリーム従属型サービスを受けている状態から、放送サービスを受ける状態に切り替えることができる。
よって、受信機4によれば、放送通信連携サービスから放送サービスに、簡便な操作により切り替えることができる。
According to this configuration, the receiver 4 is a stream-dependent type that is one service form of the broadcasting / communication cooperation service according to the operation of the numeric buttons and the channel switching button provided in the operation receiving unit 474 by the viewer (operator). It is possible to switch from receiving a service to receiving a broadcast service.
Therefore, according to the receiver 4, it is possible to switch from the broadcasting / communication cooperation service to the broadcasting service by a simple operation.

また、受信機4は、TSから得られるAITに含まれるアプリケーション制御コードがアプリケーションの実行終了を指示するデータであることを識別した場合、このアプリケーション制御コードに対応付けられたアプリケーションIDが示すアプリケーションの実行処理を終了させる。   Further, when the receiver 4 identifies that the application control code included in the AIT obtained from the TS is data instructing the end of execution of the application, the receiver 4 indicates the application ID indicated by the application ID associated with the application control code. The execution process is terminated.

この構成によれば、放送通信連携サービスの供給者側からの制御によって、受信機4は、現在受けている放送通信連携サービスを放送サービスに切り替えることができる。
よって、受信機4によれば、放送通信連携サービスの供給者側からの制御によって、受信者側が受けている放送通信連携サービスを放送サービスに切り替えることができる。
According to this configuration, the receiver 4 can switch the broadcast communication cooperation service currently received to the broadcast service by the control from the provider side of the broadcast communication cooperation service.
Therefore, according to the receiver 4, the broadcast communication cooperation service received on the receiver side can be switched to the broadcast service by the control from the provider side of the broadcast communication cooperation service.

また、この構成によれば、受信機4は、時装置が実行するアプリケーションと、このアプリケーションに関連するコンテンツデータとを、自装置の要求にしたがって外部の供給元から取得することができる。   Moreover, according to this structure, the receiver 4 can acquire the application which a time apparatus performs, and the content data relevant to this application from an external supply source according to the request | requirement of an own apparatus.

また、本実施形態である受信システムでは、受信機4が機器8との連携処理を実行する連携アプリケーションを実行する場合には、その連携アプリケーションに端末連携APIを呼び出させて実行処理する。
受信機4は、機器8との連携を確立させた後、受信中のTSからアプリケーション指定情報とメタデータとを取得する。
受信機4は、連携動作中である機器8を指定する情報と、その機器8に実行させる端末アプリケーションを指定するアプリケーション指定情報と、メタデータとに基づいて、その機器8に対してその端末アプリケーションを指定し起動制御を行う。
機器8は、受信機4の起動制御を受けると、機器8が実行するように指定された端末アプリケーションを内部の端末アプリケーション記憶部または外部の端末アプリケーションサーバから取得する。
機器8は、受信機4から取得したメタデータを用いて、取得した端末アプリケーションを実行処理する。
In the receiving system according to the present embodiment, when the receiver 4 executes a cooperative application that executes a cooperative process with the device 8, the cooperative application calls the terminal cooperative API to execute the cooperative application.
After establishing cooperation with the device 8, the receiver 4 acquires application designation information and metadata from the receiving TS.
The receiver 4 sends the terminal application to the device 8 based on the information specifying the device 8 that is operating in cooperation, the application specifying information specifying the terminal application to be executed by the device 8, and the metadata. Is specified and start control is performed.
Upon receiving activation control of the receiver 4, the device 8 acquires a terminal application designated to be executed by the device 8 from the internal terminal application storage unit or an external terminal application server.
The device 8 executes the acquired terminal application using the metadata acquired from the receiver 4.

この構成によれば、受信機4と連携動作する機器8に実行させるアプリケーションを、放送ストリームから得られるアプリケーション指定情報に基づきリアルタイムに変更することができる。
よって、受信機4と連携動作する機器8は、放送番組またはその内容もしくはその進行状況等に応じて、端末アプリケーションを変えて実行することができる。
According to this configuration, the application to be executed by the device 8 operating in cooperation with the receiver 4 can be changed in real time based on the application designation information obtained from the broadcast stream.
Therefore, the device 8 that operates in cooperation with the receiver 4 can execute the terminal application by changing the terminal application according to the broadcast program or the contents thereof or the progress status thereof.

なお、受信機4の起動制御部473は、操作受付部474の操作に関わらず、取得するAITに含まれるアプリケーション制御コードが、アプリケーションの自動起動を指示するデータであると識別した場合に、アプリケーション要求信号を受信機アプリサーバ21に対して送信するものである。   Note that the activation control unit 473 of the receiver 4 recognizes that the application control code included in the acquired AIT is data for instructing automatic activation of the application, regardless of the operation of the operation reception unit 474. A request signal is transmitted to the receiver application server 21.

また、本実施形態は、受信機4が放送サービスを受けている状態において、操作受付部474に設けられた放送通信連携サービスボタン475が押された場合に、放送サービスのみを受ける状態から放送通信連携サービスを受ける状態に移行する例であった。これ以外にも、例えば、受信機4がいずれのサービスも受けていない状態、例えばスタンバイ状態であるときに、放送通信連携サービスボタン475が押された場合、受信機4が、その状態から一旦、放送サービスを受ける状態となった後に、放送通信連携サービスを受ける状態に移行するようにしてもよい。   Also, in the present embodiment, when the receiver 4 is receiving a broadcast service, when the broadcast communication cooperation service button 475 provided in the operation reception unit 474 is pressed, the broadcast communication is started from the state where only the broadcast service is received. It was an example of transition to a state where a cooperative service is received. In addition to this, for example, when the broadcast communication cooperation service button 475 is pressed when the receiver 4 is not receiving any service, for example, in a standby state, the receiver 4 You may make it transfer to the state which receives broadcast communication cooperation service, after becoming the state which receives broadcast service.

また、本実施形態は、アプリケーション情報取得部472が、放送信号から得られたTSに多重化されたAITのESを取得する例であった。
これ以外にも、放送送出装置11が、AITの情報を含む記述子が設けられたEIT(Event Information Table、イベント情報テーブル)を多重化したTSを放送信号として送信し、放送信号を取り込んだ受信機4において、分離部402がTSに多重化されたEITからAITを抽出し、アプリケーション情報取得部472がそのAITを取得するようにしてもよい。
Further, the present embodiment is an example in which the application information acquisition unit 472 acquires an AIT ES multiplexed on a TS obtained from a broadcast signal.
In addition to this, the broadcast transmission apparatus 11 transmits, as a broadcast signal, a TS in which an EIT (Event Information Table) provided with a descriptor including AIT information is provided, and receives the broadcast signal. In the machine 4, the separation unit 402 may extract the AIT from the EIT multiplexed in the TS, and the application information acquisition unit 472 may acquire the AIT.

図34は、EITのデータ構造を示す図である。
なお、EITのデータ構造についての詳細事項は、例えば、「地上デジタルテレビジョン放送運用規定 技術資料」、ARIB TR−B14、4.4版、第二分冊、社団法人電波産業会、平成23年3月(第四編第3部31.3)に記載されている。
放送送出装置11の信号設定部112は、例えば、同図に示すデータ構造を有するEITの記述子(descriptor())にAITの情報を格納する。そして、信号設定部112は、AITが格納されたEITを多重化したTSを生成し、このTSを放送送出部113に供給する。
FIG. 34 shows the data structure of the EIT.
Details on the data structure of the EIT can be found in, for example, “Technical Data for Digital Terrestrial Television Broadcasting Operation Regulations”, ARIB TR-B14, 4.4 edition, second volume, Japan Radio Industry Association, March 2011. It is described in the month (Part 4, Part 3, 31.3).
For example, the signal setting unit 112 of the broadcast transmission apparatus 11 stores AIT information in an EIT descriptor (descriptor ()) having the data structure shown in FIG. Then, the signal setting unit 112 generates a TS in which the EIT storing the AIT is multiplexed, and supplies this TS to the broadcast transmission unit 113.

または、放送送出装置11が、BML(Broadcast Markup Language)により記述されたAITを、DSM−CC(Digital Storage
Media−Command and Control)データカルーセル伝送方式によるデータ放送によって送信し、放送信号を取り込んだ受信機4において、分離部402がデータ放送コンテンツからAITを抽出し、アプリケーション情報取得部472がそのAITを取得するようにしてもよい。
Alternatively, the broadcast transmission apparatus 11 can convert an AIT described in BML (Broadcast Markup Language) into a DSM-CC (Digital Storage).
Media-Command and Control) In the receiver 4 that transmits the data by the data carousel transmission method and receives the broadcast signal, the separation unit 402 extracts the AIT from the data broadcast content, and the application information acquisition unit 472 acquires the AIT. You may make it do.

DSM−CCデータカルーセル伝送方式についての詳細事項は、例えば、「デジタル放送におけるデータ放送符号化方式と伝送方式 標準規格」、ARIB STD−B24、5.1版、第三分冊、社団法人電波産業会、平成19年3月(第三編第6章)に記載されている。
前述したとおり、信号設定部112は、AITをカルーセル伝送するためのコンポーネントタグとモジュールとを固定とする。信号設定部112は、コンポーネントタグを例えば“AA”(16進数)に、モジュールの識別情報であるモジュールIDを例えば“0”に固定する。そして、信号設定部112は、AITであることを識別させるためのタイプを、モジュールのType記述子に設定する。
一方、分離部402は、TSにおける、モジュールを監視し、モジュールIDが“0”であるモジュールを検出したときに、この検出したモジュールから、Type識別子に対応するAITを抽出する。
For details on the DSM-CC data carousel transmission system, see, for example, “Data Broadcast Coding System and Transmission System Standards in Digital Broadcasting”, ARIB STD-B24, 5.1 Edition, Volume III, Japan Radio Industry Association. , March 2007 (Part 3, Chapter 6).
As described above, the signal setting unit 112 fixes the component tag and module for carousel transmission of the AIT. The signal setting unit 112 fixes the component tag to “AA” (hexadecimal number), for example, and the module ID, which is module identification information, to “0”, for example. Then, the signal setting unit 112 sets a type for identifying the AIT in the type descriptor of the module.
On the other hand, the separation unit 402 monitors the modules in the TS, and when detecting a module whose module ID is “0”, extracts the AIT corresponding to the Type identifier from the detected module.

または、放送局サーバ群12における通知サーバ18またはサービス事業者サーバ群2における通知サーバ24に、放送コンテンツの識別情報と対応付けたAIT、または放送コンテンツの識別情報を含むAITを格納しておき、放送信号を取り込んだ受信機4において、アプリケーション制御部434が分離部402からコンテンツの識別情報を取得して、通信入出力部411を介して通知サーバ18または通知サーバ24からAITを取得するようにしてもよい。   Alternatively, the AIT associated with the broadcast content identification information or the AIT including the broadcast content identification information is stored in the notification server 18 in the broadcast station server group 12 or the notification server 24 in the service provider server group 2. In the receiver 4 that has captured the broadcast signal, the application control unit 434 acquires the content identification information from the separation unit 402 and acquires the AIT from the notification server 18 or the notification server 24 via the communication input / output unit 411. May be.

また、放送通信連携サービスの供給者側からの制御によって、受信者側が受けている放送サービスを放送通信連携サービスに切り替える機能を実現するために、以下のような構成を有してもよい。
すなわち、アプリケーション情報取得部472は、取り込んだAITからアプリケーション制御コードと所定のフラグとを抽出し、これらアプリケーション制御コードとフラグとを起動制御部473に供給する。所定のフラグは、例えば、AITに設けられた、アプリケーション起動とデータ放送提示とのいずれかを指定するデータである。
起動制御部473は、アプリケーション情報取得部472から供給されるアプリケーション制御コードとフラグとを取り込む。
起動制御部473は、アプリケーション制御コードがアプリケーションの自動起動を指示するデータであると識別した場合、フラグに応じて、アプリケーションの実行開始またはデータ放送の提示のいずれかを制御する。
アプリケーションの自動起動を指示するデータは、例えば、前記の表7に示したアプリケーション制御コードにおける“01(16進数)”(識別名:AUTOSTART)である。
Moreover, in order to implement | achieve the function which switches the broadcast service which the receiver side has received to the broadcast communication cooperation service by control from the provider side of the broadcast communication cooperation service, it may have the following configurations.
That is, the application information acquisition unit 472 extracts an application control code and a predetermined flag from the captured AIT, and supplies the application control code and the flag to the activation control unit 473. The predetermined flag is, for example, data provided in the AIT that designates either application activation or data broadcast presentation.
The activation control unit 473 takes in the application control code and flag supplied from the application information acquisition unit 472.
When the activation control unit 473 identifies that the application control code is data for instructing the automatic activation of the application, the activation control unit 473 controls either the execution start of the application or the presentation of data broadcasting according to the flag.
The data for instructing the automatic activation of the application is, for example, “01 (hexadecimal number)” (identification name: AUTOSTART) in the application control code shown in Table 7 above.

また、本実施形態である受信機4の一部の機能をコンピュータで実現するようにしてもよい。この場合、その機能を実現するためのコンピュータプログラムをコンピュータ読み取り可能な記録媒体に記録し、この記録媒体に記録されたコンピュータプログラムをコンピュータシステムに読み込ませて、このコンピュータシステムが実行することによって実現してもよい。なお、ここでいうコンピュータシステムとは、オペレーティング・システム(Operating System;OS)や周辺装置のハードウェアを含むものである。また、コンピュータ読み取り可能な記録媒体とは、フレキシブルディスク、光磁気ディスク、光ディスク、メモリカード等の可搬型記録媒体、コンピュータシステムに内蔵される磁気ハードディスクやソリッドステートドライブ等の記憶装置のことをいう。さらに、コンピュータ読み取り可能な記録媒体とは、インターネット等のコンピュータネットワークや、電話回線や携帯電話網を介してプログラムを送信する場合の通信回線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバ装置やクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持するものを含んでもよい。また上記のプログラムは、前述した機能の一部を実現するためのものであってもよく、さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせにより実現するものであってもよい。   Moreover, you may make it implement | achieve a part of function of the receiver 4 which is this embodiment with a computer. In this case, it is realized by recording a computer program for realizing the function on a computer-readable recording medium, causing the computer system to read the computer program recorded on the recording medium, and executing the computer program. May be. Here, the computer system includes an operating system (OS) and hardware of peripheral devices. The computer-readable recording medium refers to a portable recording medium such as a flexible disk, a magneto-optical disk, an optical disk, and a memory card, and a storage device such as a magnetic hard disk and a solid state drive built in the computer system. Furthermore, a computer-readable recording medium holds a program dynamically for a short period of time, such as a computer network such as the Internet, or a communication line when transmitting a program via a telephone line or a mobile phone network. It is also possible to include one that holds a program for a certain period of time, such as a volatile memory inside a computer system that becomes a server device or a client in that case. Further, the above program may be for realizing a part of the above-described functions, and further, may be realized by combining the above-described functions with a program already recorded in the computer system. Good.

以上、本発明の実施の形態について図面を参照して詳述したが、具体的な構成はその実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計等も含まれる。   As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to that embodiment, The design of the range which does not deviate from the summary of this invention, etc. are included.

なお、本実施形態では、ブリッジ部494は、ハンドシェイク要求に含まれる接続タイプが一致するコネクション同士をブリッジ接続する場合を説明したが、これに限られず、その他の所定の条件を満たす場合にブリッジ接続するようにしても良い。例えば、アプリケーション実行部435が実行するアプリケーションの情報と機器8が実行するアプリケーションの情報とが、それぞれ分離部402が分離した同一の放送ストリームに含まれることを条件とすることが挙げられる。これは、分離部402が放送信号を放送ストリームに分離する毎に、当該放送ストリームからアプリケーションの情報を取得し、これらの情報を記録しておくことで、実現することができる。   In the present embodiment, the bridge unit 494 has described the case where the connections having the same connection type included in the handshake request are bridge-connected. You may make it connect. For example, the condition is that the application information executed by the application execution unit 435 and the application information executed by the device 8 are included in the same broadcast stream separated by the separation unit 402. This can be realized by acquiring application information from the broadcast stream and recording the information every time the separation unit 402 separates the broadcast signal into the broadcast stream.

また、本実施形態では、ポートが既に使用中である場合にコネクションの確立を行わない場合を説明したが、これに限られず、例えば後から指定されたポートを優先的に接続するような処理を行っても良い。   Further, in the present embodiment, the case where the connection is not established when the port is already in use has been described. However, the present invention is not limited to this. For example, a process for preferentially connecting a port specified later is performed. You can go.

また、本実施形態では、1つのポートに1つの端末アプリケーションを割り当てる例を示したが、1つのポートで複数の端末アプリケーションと接続する構成としてもよい。なおその場合は、ステップS503におけるポートが使用中であるか否かの判定が省略される。   In this embodiment, an example in which one terminal application is assigned to one port has been described. However, a configuration in which a single port is connected to a plurality of terminal applications may be employed. In this case, the determination as to whether or not the port is being used in step S503 is omitted.

1…放送事業者装置
11…放送送出装置
111…放送関連データ管理部
112…信号設定部
113…放送送出部
12…放送局サーバ群
13…コンテンツ管理サーバ
14…番組管理サーバ
15…メタデータ管理サーバ
16…コンテンツ配信サーバ
17…放送局サービスサーバ
18…通知サーバ
2…サービス事業者サーバ群
21…受信機アプリサーバ
22…サービスサーバ
23…コンテンツ配信サーバ
24…通知サーバ
3…リポジトリサーバ
4…受信機
401…放送受信部
402…分離部
403…時計
404−1…第1同期用バッファ
404−2…第2同期用バッファ
405−1…第1デコーダ
405−2…第2デコーダ
406…データ放送実行部
407…映像制御部
408…映像表示部
409…音声制御部
410…音声出力部
411…通信入出力部
412…アプリケーション実行制御部
413…提示制御部
414…操作入力部
415…選局部
416…ローカル情報記憶部
417…外部I/F部
431…アプリケーション記憶部
432…アプリケーション認証部
433…アプリケーション管理部
434…アプリケーション制御部
435…アプリケーション実行部
436…受信機API部
437…端末連携API部
438…リソースアクセス制御部
439…リソース制御部
451…ポリシーデータ管理部
452…ポリシーデータ記憶部
453…イベント解釈部
454…ポリシーレベル照合部
455…イベント制御部
456…番組ポリシー記憶部
457…ポリシー調停部
458…ポリシーレベル記憶部
9…通信網
471…起動要求信号取得部
472…アプリケーション情報取得部
473…起動制御部
474…操作受付部
475…放送通信連携サービスボタン
481…終了制御部
491…機器側サーバ部(サーバ部)
492…受信機側サーバ部(サーバ部)
493…コネクト部
494…ブリッジ部
501…接続制御部
502…端末アプリケーション制御部
503…端末アプリケーション実行部
DESCRIPTION OF SYMBOLS 1 ... Broadcast provider apparatus 11 ... Broadcast transmission apparatus 111 ... Broadcast related data management part 112 ... Signal setting part 113 ... Broadcast transmission part 12 ... Broadcasting station server group 13 ... Content management server 14 ... Program management server 15 ... Metadata management server DESCRIPTION OF SYMBOLS 16 ... Content delivery server 17 ... Broadcasting station service server 18 ... Notification server 2 ... Service provider server group 21 ... Receiver application server 22 ... Service server 23 ... Content delivery server 24 ... Notification server 3 ... Repository server 4 ... Receiver 401 ... broadcast receiving unit 402 ... separating unit 403 ... clock 404-1 ... first synchronization buffer 404-2 ... second synchronization buffer 405-1 ... first decoder 405-2 ... second decoder 406 ... data broadcast execution unit 407 ... Video control unit 408 ... Video display unit 409 ... Sound control unit 410 ... Sound output Unit 411 ... communication input / output unit 412 ... application execution control unit 413 ... presentation control unit 414 ... operation input unit 415 ... channel selection unit 416 ... local information storage unit 417 ... external I / F unit 431 ... application storage unit 432 ... application authentication unit 433 ... Application management unit 434 ... Application control unit 435 ... Application execution unit 436 ... Receiver API unit 437 ... Terminal cooperation API unit 438 ... Resource access control unit 439 ... Resource control unit 451 ... Policy data management unit 452 ... Policy data storage unit 453 ... Event interpretation unit 454 ... Policy level collation unit 455 ... Event control unit 456 ... Program policy storage unit 457 ... Policy arbitration unit 458 ... Policy level storage unit 9 ... Communication network 471 ... Activation request signal acquisition unit 472 Application information acquiring unit 473 ... start control unit 474 ... operation accepting unit 475 ... linked digital terrestrial television broadcasting service button 481 ... end control unit 491 ... equipment-side server unit (server unit)
492 .. receiver side server part (server part)
493 ... Connect unit 494 ... Bridge unit 501 ... Connection control unit 502 ... Terminal application control unit 503 ... Terminal application execution unit

Claims (5)

放送信号を受信する放送受信部と、
前記放送受信部が受信した放送信号から放送ストリームを分離する分離部と、
前記分離部が分離した放送ストリームから自装置が実行すべきアプリケーションの情報を取得するアプリケーション情報取得部と、
前記アプリケーション情報取得部が取得した情報が示すアプリケーションを実行するアプリケーション実行部と、
前記アプリケーション実行部、及びアプリケーションを実行する端末が当該アプリケーションの実行により出力した要求を受け付けるサーバ部と、
前記サーバ部と前記アプリケーション実行部及び前記端末とのコネクションを確立するコネクト部と、
前記コネクト部が確立したコネクションを介して、前記サーバ部が前記アプリケーション実行部から受け付けた要求を前記端末に出力し、前記サーバ部が前記端末から受け付けた要求を前記アプリケーション実行部に出力するブリッジ部と
を備えることを特徴とする受信機。
A broadcast receiver for receiving broadcast signals;
A separator for separating a broadcast stream from a broadcast signal received by the broadcast receiver;
An application information acquisition unit that acquires information of an application to be executed by the device from the broadcast stream separated by the separation unit;
An application execution unit that executes an application indicated by the information acquired by the application information acquisition unit;
The application execution unit, and a server unit that receives a request output by execution of the application by a terminal that executes the application;
A connection unit that establishes a connection between the server unit and the application execution unit and the terminal;
Via the connection established by the connection unit, the server unit outputs a request received from the application execution unit to the terminal, and the server unit outputs a request received from the terminal to the application execution unit. And a receiver.
前記ブリッジ部は、前記アプリケーション実行部が実行するアプリケーションと前記端末が実行するアプリケーションとの関係が所定の条件を満たすか否かを判定し、当該条件を満たす場合に、前記コネクト部が確立したコネクションを介して、前記サーバ部が前記アプリケーション実行部から受け付けた要求を前記端末に出力し、前記サーバ部が前記端末から受け付けた要求を前記アプリケーション実行部に出力する
ことを特徴とする請求項1に記載の受信機。
The bridge unit determines whether a relationship between an application executed by the application execution unit and an application executed by the terminal satisfies a predetermined condition, and when the condition is satisfied, the connection established by the connect unit The request received from the application execution unit by the server unit is output to the terminal via the server, and the request received from the terminal by the server unit is output to the application execution unit. The listed receiver.
前記アプリケーション実行部及び前記端末は、前記アプリケーションの実行により、前記サーバ部とのコネクションを確立する際に、連携するアプリケーションのタイプを示すタイプ情報を前記コネクト部に出力し、
前記ブリッジ部における所定の条件は、前記コネクト部が前記アプリケーション実行部から受け付けたタイプ情報と前記端末から受け付けたタイプ情報とが一致することである
ことを特徴とする請求項2に記載の受信機。
When the application execution unit and the terminal establish a connection with the server unit by executing the application, the application execution unit and the terminal output type information indicating the type of application to be linked to the connection unit,
3. The receiver according to claim 2, wherein the predetermined condition in the bridge unit is that the type information received by the connect unit from the application execution unit matches the type information received from the terminal. .
前記ブリッジ部は、前記コネクト部によるコネクションが確立したときに、前記所定の条件の判定を行う
ことを特徴とする請求項2から請求項3の何れか1項に記載の受信機。
The receiver according to any one of claims 2 to 3 , wherein the bridge unit determines the predetermined condition when a connection is established by the connection unit.
前記ブリッジ部は、前記所定の条件を満たすと判定したときに、前記サーバ部と前記端末との間でブリッジ接続処理を行い、当該ブリッジ接続を特定する識別情報を生成して前記アプリケーション実行部に出力し、前記サーバ部が前記アプリケーション実行部から受け付けた要求に前記識別情報が含まれる場合、当該識別情報が割り当てられたブリッジ接続の接続先の前記端末に当該要求を出力し、前記サーバ部が前記識別情報が割り当てられたブリッジ接続の接続先の前記端末から要求を受け付けた場合、当該要求と前記識別情報の組み合わせを前記アプリケーション実行部に出力する
ことを特徴とする請求項2から請求項4の何れか1項に記載の受信機。
When it is determined that the predetermined condition is satisfied, the bridge unit performs a bridge connection process between the server unit and the terminal , generates identification information for specifying the bridge connection, and transmits the identification information to the application execution unit. When the identification information is included in the request received by the server unit from the application execution unit, the request is output to the terminal at the connection destination of the bridge connection to which the identification information is assigned. when the identification information has accepted the request from the terminal of the destination bridge connections assigned, claim 4 claim 2, characterized in that for outputting a combination of the identification information with the request to the application executing unit The receiver according to any one of the above.
JP2012112969A 2011-08-26 2012-05-17 Receiving machine Active JP5978000B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2012112969A JP5978000B2 (en) 2011-08-26 2012-05-17 Receiving machine
EP12828400.7A EP2750309A4 (en) 2011-08-26 2012-08-17 Receiver and reception method
PCT/JP2012/070925 WO2013031556A1 (en) 2011-08-26 2012-08-17 Receiver and reception method
US14/239,598 US20140214967A1 (en) 2011-08-26 2012-08-17 Receiver and reception method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011184565 2011-08-26
JP2011184565 2011-08-26
JP2012112969A JP5978000B2 (en) 2011-08-26 2012-05-17 Receiving machine

Publications (2)

Publication Number Publication Date
JP2013066160A JP2013066160A (en) 2013-04-11
JP5978000B2 true JP5978000B2 (en) 2016-08-24

Family

ID=48189230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012112969A Active JP5978000B2 (en) 2011-08-26 2012-05-17 Receiving machine

Country Status (1)

Country Link
JP (1) JP5978000B2 (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6428610B2 (en) * 2013-06-06 2018-11-28 ソニー株式会社 Reception device, reception method, transmission device, transmission method, and program
JP5802312B2 (en) * 2013-06-20 2015-10-28 シャープ株式会社 Broadcast receiving apparatus, extended function execution apparatus, control method for broadcast receiving apparatus, and information processing apparatus
JP2015050749A (en) * 2013-09-04 2015-03-16 日本放送協会 Receiver, cooperative terminal device and program
KR102324669B1 (en) * 2014-05-26 2021-11-10 삼성전자주식회사 Method and apparatus for executing application program in wireless communication system
RU2678663C2 (en) 2013-09-23 2019-01-30 Самсунг Электроникс Ко., Лтд. Method and device for implementing application in wireless communication system
EP3070955A4 (en) * 2013-11-13 2017-07-19 LG Electronics Inc. Method and apparatus for managing connection between broadcast receiving device and another device connected by network
WO2015072495A1 (en) 2013-11-13 2015-05-21 日立マクセル株式会社 Broadcast receiver and broadcast receiving system
US10638189B2 (en) 2013-11-13 2020-04-28 Maxell, Ltd. Broadcast receiver
JP6355964B2 (en) * 2014-05-12 2018-07-11 マクセル株式会社 Broadcast receiver
JP6336330B2 (en) * 2014-05-12 2018-06-06 マクセル株式会社 Broadcast receiver
JP6370095B2 (en) * 2014-05-12 2018-08-08 マクセル株式会社 Broadcast receiving apparatus and broadcast receiving system
JPWO2015076178A1 (en) * 2013-11-21 2017-03-16 シャープ株式会社 Web application access control system
JP6432525B2 (en) * 2014-01-07 2018-12-05 ソニー株式会社 Information processing apparatus and information processing method
JP5836406B2 (en) * 2014-01-24 2015-12-24 株式会社Jストリーム API providing server and API providing system
JP6455974B2 (en) * 2014-02-21 2019-01-23 日本放送協会 Receiving machine
JP6226791B2 (en) * 2014-03-24 2017-11-08 Kddi株式会社 RECOMMENDATION DEVICE, RECOMMENDATION SYSTEM, AND RECOMMENDATION METHOD
BR102014011263B1 (en) * 2014-05-09 2019-07-02 Tqtvd Software Ltda METHOD FOR ENCLOSURING AUDIOVISUAL CONTENT STREAMS IN MPEG2-PRIVATE-SECTIONS, DEVICE FOR ENCLOSING AUDIOVISUAL CONTENT IN MPEG2-TRANSPORT-STREAM, AUDIO / AUDIO COMMUNICATION PROTOCOL DATA FOR USER DEVICES WITHOUT RESOURCES TO TUNE A DIGITAL TV SIGNAL BROADCAST THROUGH A DIGITAL TV SIGNAL BROADCAST
WO2016068564A1 (en) * 2014-10-29 2016-05-06 엘지전자 주식회사 Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
JP6865548B2 (en) * 2016-09-06 2021-04-28 マクセル株式会社 Broadcast reception system
JP6176764B1 (en) * 2016-11-28 2017-08-09 一般社団法人日本ケーブルラボ Television viewing operation method, set top box, terminal, and program
JP6629790B2 (en) * 2017-05-18 2020-01-15 マクセル株式会社 Broadcast receiver
JP6522208B2 (en) * 2018-06-13 2019-05-29 マクセル株式会社 Broadcast receiver
JP6782797B2 (en) * 2019-01-10 2020-11-11 マクセル株式会社 Broadcast receiver and display method
JP6903711B2 (en) * 2019-03-25 2021-07-14 マクセル株式会社 Broadcast receiver and control method
JP6533023B1 (en) * 2019-03-25 2019-06-19 マクセル株式会社 Broadcast receiver and control method
JP6652672B2 (en) * 2019-04-25 2020-02-26 マクセル株式会社 Broadcast receiving device and application operation control method
JP7270676B2 (en) * 2019-10-31 2023-05-10 マクセル株式会社 Display method
JP2020058051A (en) * 2019-12-05 2020-04-09 マクセル株式会社 Broadcast receiver and application control method
JP6835989B2 (en) * 2020-01-23 2021-02-24 マクセル株式会社 Digital broadcast receiver, application operation control method
JP7092851B2 (en) * 2020-11-18 2022-06-28 マクセル株式会社 Broadcast receiver and control method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0307694D0 (en) * 2003-04-03 2003-05-07 Koninkl Philips Electronics Nv Broadcast delivery to a wireless device
US7873974B2 (en) * 2005-09-19 2011-01-18 Sony Corporation Identification of television programming using a portable wireless device
ES2336121T3 (en) * 2005-11-16 2010-04-08 Alcatel Lucent PROCEDURE AND SYSTEM OF MULTI-USER INTERACTIVE TELEVESION, AND TELEVISION RECEIVER THAT MAKES USE OF THIS PROCEDURE.
JP5433239B2 (en) * 2009-01-15 2014-03-05 日本放送協会 Broadcast application launch system
JP5628296B2 (en) * 2009-05-04 2014-11-19 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Session push transmission
JP4933594B2 (en) * 2009-07-06 2012-05-16 キヤノン株式会社 Television receiver, network system and control method thereof
JP5573202B2 (en) * 2010-01-29 2014-08-20 船井電機株式会社 Portable terminal and information display interlocking system

Also Published As

Publication number Publication date
JP2013066160A (en) 2013-04-11

Similar Documents

Publication Publication Date Title
JP5978000B2 (en) Receiving machine
JP5586770B2 (en) Receiving machine
WO2013031556A1 (en) Receiver and reception method
JP6076248B2 (en) Broadcast communication cooperation system, application management server, and application management method in application management server
WO2012157756A1 (en) Receiver
JP2013066159A (en) Receiver
JP6271065B2 (en) Receiving machine
JP6097443B1 (en) Receiving machine
JP5586657B2 (en) Receiving machine
JPWO2012157718A1 (en) Receiver and receiving method
JP2012257233A (en) Receiver and reception system
JP2012257224A (en) Receiving device
JP2012257225A (en) Receiving device
JP5586658B2 (en) Receiving machine
JP6037656B2 (en) Receiving machine
JP2013009320A (en) Receiver
JP2013009321A (en) Receiver
JP5548726B2 (en) Receiving machine
JP2012257222A (en) Receiver
JP6018797B2 (en) Receiving machine
JP2013009322A (en) Receiver and broadcast transmission device
JP2013009342A (en) Receiver
JP2012257229A (en) Receiver
JP2012257227A (en) Receiver
JP2013009331A (en) Receiver

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160301

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160425

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: 20160628

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160725

R150 Certificate of patent or registration of utility model

Ref document number: 5978000

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

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